RE: [PATCH v8 08/10] iommu/vt-d: Convert stage-1 cache invalidation to return QI fault

From: Tian, Kevin
Date: Thu Dec 28 2023 - 01:18:39 EST


> From: Liu, Yi L <yi.l.liu@xxxxxxxxx>
> Sent: Thursday, December 28, 2023 12:14 AM
>
> From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
>
> This makes the pasid based cache invalidation and device TLB invalidation
> to return QI faults to callers. This is needed when usersapce invalidates
> cache after modifying the stage-1 page table used in nested translation.
> Hardware errors during invalidation should be reported to user.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>