summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
authorShuah Khan <skhan@linuxfoundation.org>2020-01-23 15:32:14 -0700
committerJoerg Roedel <jroedel@suse.de>2020-01-24 15:28:40 +0100
commit8c17bbf6c8f70058a66305f2e1982552e6ea7f47 (patch)
tree8d9f6685bd20bd711f9f61cb6d892cac47bdd38e /drivers/iommu/Kconfig
parentbf708cfb2f4811d1948a88c41ab96587e84ad344 (diff)
downloadlinux-stable-8c17bbf6c8f70058a66305f2e1982552e6ea7f47.tar.gz
linux-stable-8c17bbf6c8f70058a66305f2e1982552e6ea7f47.tar.bz2
linux-stable-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 <skhan@linuxfoundation.org> Fixes: 30861ddc9cca4 ("perf/x86/amd: Add IOMMU Performance Counter resource management") Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Tested-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
0 files changed, 0 insertions, 0 deletions