Re: [PATCH v9 03/12] iommu/arm-smmu-v3: Add strtab parse helpers to a new arm-smmu-v3-kexec.c
From: Jason Gunthorpe
Date: Fri Aug 21 2026 - 19:16:22 EST
On Tue, 21 Jul 2026 12:48:12 -0700, Nicolin Chen <nicolinc@xxxxxxxxxx> wrote:
> When booting after a kexec, both the kdump adoption and also the in-flight
> SMMUv3 live-update restoration built on the Kexec Handover (KHO) framework
> need to parse the previous kernel's STRTAB_BASE/STRTAB_BASE_CFG registers,
> in order to retain the stream table translating any in-flight DMAs.
>
> Add a new arm-smmu-v3-kexec.c holding the common read-only helpers:
> - arm_smmu_kexec_parse_strtab_2lvl()
> - arm_smmu_kexec_parse_strtab_linear()
> - arm_smmu_kexec_check_strtab_l1_desc()
>
> [...]
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
--
Jason