Commit 090688f
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: 15b100d ("PCI: Claim ACS support for AMD southbridge devices")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hanjun Guo <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>1 parent 45beb31 commit 090688f
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4409 | 4409 | | |
4410 | 4410 | | |
4411 | 4411 | | |
| 4412 | + | |
| 4413 | + | |
4412 | 4414 | | |
4413 | 4415 | | |
4414 | 4416 | | |
| |||
0 commit comments