summaryrefslogtreecommitdiff
path: root/drivers/iommu/amd/amd_iommu_types.h
diff options
context:
space:
mode:
authorVasant Hegde <vasant.hegde@amd.com>2022-07-06 14:38:24 +0300
committerJoerg Roedel <jroedel@suse.de>2022-07-07 10:37:54 +0300
commit196dff712ea2c86f4957ad1a99bc7d65d4b01c5d (patch)
tree1a7ea2912d046e6c167b2feda843ac91c4cb23cd /drivers/iommu/amd/amd_iommu_types.h
parentb36a5b0f1cedbb2de2f527883d4eda8a5025591d (diff)
downloadlinux-196dff712ea2c86f4957ad1a99bc7d65d4b01c5d.tar.xz
iommu/amd: Update device_state structure to include PCI seg ID
Rename struct device_state.devid variable to struct device_state.sbdf and extend it to 32-bit to include the 16-bit PCI segment ID via the helper function get_pci_sbdf_id(). 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-35-vasant.hegde@amd.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd/amd_iommu_types.h')
0 files changed, 0 insertions, 0 deletions