Re: [PATCH 00/12] iommu: Remove IOMMU_DEV_FEAT_SVA/_IOPF
From: Zhangfei Gao
Date: Fri Feb 14 2025 - 03:43:34 EST
Hi, Baolu
On Fri, 14 Feb 2025 at 14:11, Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx> wrote:
>
> The new method for driver fault reporting support relies on the domain
> to specify a iopf_handler. The driver should detect this and setup the
> HW when fault capable domains are attached.
>
> Move SMMUv3 to use this method and have VT-D validate support during
> attach so that all three fault capable drivers have a no-op FEAT_SVA and
> _IOPF. Then remove them.
>
> This was initiated by Jason. I'm following up to remove FEAT_IOPF and
> further clean up.
>
> The whole series is also available at github:
> https://github.com/LuBaolu/intel-iommu/commits/iommu_no_feat-v1
I quickly test this branch
1. host test is OK
2. qemu boot one device, test ok,
though reports this when guest bootup.
vfio-pci xxx: resetting
vfio-pci xxx: reset done
3. qemu boot multi device, test fails, host kernel reports [Hardware Error]
qemu can boot no problem
Test fails.
Will do more check without these patches.
Thanks