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

Jason Gunthorpe <[email protected]>
Newsgroups dev.linux.lists.iommu,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <178735412599.18212.17979807434141096326.b4-review@b4>
On Tue, 21 Jul 2026 12:48:12 -0700, Nicolin Chen <[email protected]> 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 <[email protected]>

-- 
Jason
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.