diff options
author | Suravee Suthikulpanit <[email protected]> | 2022-07-06 17:08:19 +0530 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-07-07 09:37:50 +0200 |
commit | bf87972ca664863dcfd38ab581589c1d87677cb6 (patch) | |
tree | 0d48c0d94163ab6d534ff4a8e2eb5de3e77355e3 /lib/mpi/mpi-sub-ui.c | |
parent | a3cf6ab35751ea77a2bd47636dca761e835b282d (diff) |
iommu/amd: Introduce get_device_sbdf_id() helper function
Current get_device_id() only provide 16-bit PCI device ID (i.e. BDF).
With multiple PCI segment support, we need to extend the helper function
to include PCI segment ID.
So, introduce a new helper function get_device_sbdf_id() to replace
the current get_pci_device_id().
Co-developed-by: Vasant Hegde <[email protected]>
Signed-off-by: Vasant Hegde <[email protected]>
Signed-off-by: Suravee Suthikulpanit <[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