aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorShuah Khan <[email protected]>2020-01-23 22:32:14 +0000
committerJoerg Roedel <[email protected]>2020-01-24 14:28:40 +0000
commit8c17bbf6c8f70058a66305f2e1982552e6ea7f47 (patch)
tree8d9f6685bd20bd711f9f61cb6d892cac47bdd38e /fs/btrfs/dev-replace.c
parentiommu/vt-d: Call __dmar_remove_one_dev_info with valid pointer (diff)
downloadkernel-8c17bbf6c8f70058a66305f2e1982552e6ea7f47.tar.gz
kernel-8c17bbf6c8f70058a66305f2e1982552e6ea7f47.zip
iommu/amd: Fix IOMMU perf counter clobbering during init
init_iommu_perf_ctr() clobbers the register when it checks write access to IOMMU perf counters and fails to restore when they are writable. Add save and restore to fix it. Signed-off-by: Shuah Khan <[email protected]> Fixes: 30861ddc9cca4 ("perf/x86/amd: Add IOMMU Performance Counter resource management") Reviewed-by: Suravee Suthikulpanit <[email protected]> Tested-by: Suravee Suthikulpanit <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions