summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/android
diff options
context:
space:
mode:
authorVasant Hegde <vasant.hegde@amd.com>2022-07-06 17:08:00 +0530
committerSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2022-07-13 17:27:20 -0500
commit6fcc65b86755509cefd65911e90d8ada31e99f40 (patch)
tree45cdf7d2ee2224edac2c3360cd8580854c2fc37e /include/uapi/linux/android
parentff06762eac600947f21e727e8496fb58d5471eae (diff)
downloadcachepc-linux-6fcc65b86755509cefd65911e90d8ada31e99f40.tar.gz
cachepc-linux-6fcc65b86755509cefd65911e90d8ada31e99f40.zip
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>
Diffstat (limited to 'include/uapi/linux/android')
0 files changed, 0 insertions, 0 deletions