diff options
| author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2022-07-06 17:08:19 +0530 |
|---|---|---|
| committer | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2022-07-13 17:27:22 -0500 |
| commit | e2528db7d306263be0cb4872b2c638d43d808bcb (patch) | |
| tree | 5d43e618b52128ded596949ebe2a0ee63cc80863 /include/linux/timerqueue.h | |
| parent | 933da188e9370365d7032d1362aff77e032f401e (diff) | |
| download | cachepc-linux-e2528db7d306263be0cb4872b2c638d43d808bcb.tar.gz cachepc-linux-e2528db7d306263be0cb4872b2c638d43d808bcb.zip | |
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 <vasant.hegde@amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/20220706113825.25582-30-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
