diff options
author | Vasant Hegde <[email protected]> | 2022-07-06 17:08:00 +0530 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-07-07 09:37:39 +0200 |
commit | 307959008d80cdfd67fb19a146932582bb68a399 (patch) | |
tree | aea6b5ce0b58f9e9b61728c82a4c4494ef31a19b /lib/mpi/mpi-sub-ui.c | |
parent | b618ae6247bbafe0844355bafd948e59ebd77098 (diff) |
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 <[email protected]>
Signed-off-by: Suravee Suthikulpanit <[email protected]>
Signed-off-by: Vasant Hegde <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions