Re: [PATCH V3 00/14] arm64/mm: Enable 128 bit page table entries

From: Anshuman Khandual

Date: Mon Nov 23 2026 - 22:59:35 EST


On Fri, Nov 20, 2026 at 03:05:25PM -0400, Jason Gunthorpe wrote:
> On Tue, Nov 17, 2026 at 12:35:59PM +0530, Anshuman Khandual wrote:
> > FEAT_D128 is a new arm architecture feature adding support for VMSAv9-128
> > translation system. FEAT_D128 is an optional feature from ARMV9.3 onwards.
> > arm64 platforms with FEAT_D128 enabled will now have two different memory
> > translation systems i.e VMSAv8-64 and VMSAv9-128.
>
> Please don't forget to update arm_smmu_sva_supported()

Sure, thanks for the pointer.

Fow now will disable SVA with CONFIG_ARM_D128 enabled but later it can
be enabled back with SMMU_IDR5.D128 feature. I will probably fold back
the following change in the series.

--- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c
+++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c
@@ -205,6 +205,9 @@ bool arm_smmu_sva_supported(struct arm_smmu_device *smmu)
unsigned long asid_bits;
u32 feat_mask = ARM_SMMU_FEAT_COHERENCY;

+ if (IS_ENABLED(CONFIG_ARM64_D128))
+ return false;
+
if (vabits_actual == 52) {
/* We don't support LPA2 */
if (PAGE_SIZE != SZ_64K)