Re: [PATCH 2/2] iommu/vt-d: Remove rmrr check in domain attaching device path

From: Jason Gunthorpe
Date: Fri Jun 23 2023 - 12:51:07 EST


On Wed, Jun 07, 2023 at 11:51:45AM +0800, Lu Baolu wrote:
> The core code now prevents devices with RMRR regions from being assigned
> to user space. There is no need to check for this condition in individual
> drivers. Remove it to avoid duplicate code.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> ---
> drivers/iommu/intel/iommu.c | 58 -------------------------------------
> 1 file changed, 58 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

I'm happy to see this leave drive code!

Jason