Re: [PATCH v8 04/25] iommu/arm-smmu-v3: Move IDR parsing to common functions

From: Jason Gunthorpe

Date: Wed Sep 23 2026 - 08:38:29 EST


On Wed, Sep 23, 2026 at 12:18:39PM +0000, Mostafa Saleh wrote:
> > But don't you need this FEAT to issue invalidations correctly?
> > pkvm never issues a S1 invalidation?
>
> No, STRW is enforced to zero (NS-EL1) with pKVM as the kernel must be
> running in EL1.

Hmmm. Ok, that is what the iommufd flow ends up doing too, but still,
I would expect the hypervisor to have ARM_SMMU_FEAT_E2H, though it
would never read it.

Jason