[PATCH v9 03/12] iommu/arm-smmu-v3: Add strtab parse helpers to a new arm-smmu-v3-kexec.c

Jason Gunthorpe jgg at nvidia.com
Fri Aug 21 16:15:25 PDT 2026


On Tue, 21 Jul 2026 12:48:12 -0700, Nicolin Chen <nicolinc at nvidia.com> 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 at nvidia.com>

-- 
Jason



More information about the linux-arm-kernel mailing list