diff options
author | Vasant Hegde <vasant.hegde@amd.com> | 2022-07-06 17:08:01 +0530 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-07-07 09:37:40 +0200 |
commit | b5c852907e0e8a52f8660235390b831ce0a2b50c (patch) | |
tree | 30020eafcb19dbbc409183f320f8b454c2203bcd /drivers/iommu/iommu-sysfs.c | |
parent | 307959008d80cdfd67fb19a146932582bb68a399 (diff) | |
download | linux-b5c852907e0e8a52f8660235390b831ce0a2b50c.tar.bz2 |
iommu/amd: Introduce per PCI segment device table size
With multiple pci segment support, number of BDF supported by each
segment may differ. Hence introduce per segment device table size
which depends on last_bdf. This will replace global
"device_table_size" variable.
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-12-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/iommu-sysfs.c')
0 files changed, 0 insertions, 0 deletions