summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci
diff options
context:
space:
mode:
authorHanjun Guo <guohanjun@huawei.com>2020-07-22 11:44:28 +0200
committerBjorn Helgaas <bhelgaas@google.com>2020-07-30 01:05:13 +0200
commit090688fa4e448284aaa16136372397d7d10814db (patch)
tree07ca1f2cc6780a39921e8186223f33797fa1313e /arch/x86/pci
parentPCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken (diff)
downloadlinux-090688fa4e448284aaa16136372397d7d10814db.tar.xz
linux-090688fa4e448284aaa16136372397d7d10814db.zip
PCI: Release IVRS table in AMD ACS quirk
The acpi_get_table() should be coupled with acpi_put_table() if the mapped table is not used at runtime to release the table mapping. In pci_quirk_amd_sb_acs(), IVRS table is just used for checking AMD IOMMU is supported, not used at runtime, so put the table after using it. Fixes: 15b100dfd1c9 ("PCI: Claim ACS support for AMD southbridge devices") Link: https://lore.kernel.org/r/1595411068-15440-1-git-send-email-guohanjun@huawei.com Signed-off-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/x86/pci')
0 files changed, 0 insertions, 0 deletions