diff options
| author | 2026-09-30 22:14:07 +0800 | |
|---|---|---|
| committer | 2026-10-09 10:37:41 +0200 | |
| commit | 07f8807ca978f486243e93aa4e85d20df871cd7f (patch) | |
| tree | ab68ffde6a948d98094ec82f902fb3eef5b6efb2 /scripts/Makefile.thinlto | |
| parent | Drivers: hv: Add logical device ID registry for vPCI devices (diff) | |
iommu/x86: Add architectural MSI reserved region helper
Intel and AMD IOMMU drivers both reserve the x86 architectural MSI
address window from normal IOVA mappings, but each open-codes the range,
allocation attributes, and insertion into the reserved-region list.
Add iommu_add_resv_x86_msi_region() to encapsulate those operations, and
convert the Intel and AMD drivers to use it. Return an error on allocation
failure so callers can preserve their existing error paths.
Signed-off-by: Yu Zhang <zhangyu1@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
