On 9/30/2026 7:44 PM, Yu Zhang wrote:
> 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 <[email protected]>
> Reviewed-by: Michael Kelley <[email protected]>
> Reviewed-by: Jason Gunthorpe <[email protected]>

Reviewed-by: Vasant Hegde <[email protected]>

-Vasant


Reply via email to