linux/drivers/iommu/amd
Vasant Hegde 307959008d iommu/amd: Introduce per PCI segment last_bdf
Current code uses global "amd_iommu_last_bdf" to track the last bdf
supported by the system. This value is used for various memory
allocation, device data flushing, etc.

Introduce per PCI segment last_bdf which will be used to track last bdf
supported by the given PCI segment and use this value for all per
segment memory allocations. Eventually it will replace global
"amd_iommu_last_bdf".

Co-developed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Link: https://lore.kernel.org/r/20220706113825.25582-11-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2022-07-07 09:37:39 +02:00
..
amd_iommu_types.h iommu/amd: Introduce per PCI segment last_bdf 2022-07-07 09:37:39 +02:00
amd_iommu.h iommu/amd: Introduce per PCI segment rlookup table 2022-07-07 09:37:34 +02:00
debugfs.c
init.c iommu/amd: Introduce per PCI segment last_bdf 2022-07-07 09:37:39 +02:00
io_pgtable.c iommu/amd: Use try_cmpxchg64 in alloc_pte and free_clear_pte 2022-06-23 09:43:31 +02:00
iommu_v2.c iommu/amd: Do not call sleep while holding spinlock 2022-05-04 10:32:11 +02:00
iommu.c iommu/amd: Introduce per PCI segment unity map list 2022-07-07 09:37:38 +02:00
Kconfig iommu/amd: Prepare for generic IO page table framework 2021-01-28 16:51:17 +01:00
Makefile iommu/amd: Prepare for generic IO page table framework 2021-01-28 16:51:17 +01:00
quirks.c