Hi robin。
-----Original Message-----We use smmu-v3 for a dpu design,and we set a private region to handle msi region like x86.
From: Robin Murphy <robin.murphy@xxxxxxx>
Sent: Monday, October 21, 2024 7:59 PM
To: Angus Chen <angus.chen@xxxxxxxxxxxxxxx>; joro@xxxxxxxxxx;
will@xxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx; iommu@xxxxxxxxxxxxxxx
Subject: Re: [PATCH] iommu: Distinguish between sw-msi and msi
On 2024-10-21 12:34 pm, Angus Chen wrote:
iommu_group_resv_type_string use the same string of IOMMU_RESV_MSI
and IOMMU_RESV_SW_MSI, Make a distinction for these.
Why? What in userspace needs to know the exact details of how the kernel
and the underlying hardware are routing MSIs?
We set some private iommu register to control this.
If some customer want to use their os like openouler, we use sw-msi mode.
If some customer want to use our customize os ,we will set msi private.
Some customer use openouler and we private smmu-v3 module at the same time,
So I want to use reserve-type to distinguish between sw-msi and msi.