Re: [PATCH rc v4 1/5] iommu/arm-smmu-v3: Add arm_smmu_kdump_adopt_strtab() for kdump

From: Jason Gunthorpe

Date: Thu Apr 30 2026 - 08:00:19 EST


On Wed, Apr 29, 2026 at 02:37:50PM -0700, Nicolin Chen wrote:
> On Wed, Apr 29, 2026 at 12:20:49AM -0700, Nicolin Chen wrote:
>
> > +static int arm_smmu_kdump_adopt_strtab_2lvl(struct arm_smmu_device *smmu,
> > + u32 cfg_reg, dma_addr_t dma)
> [...]
> > + for (i = 0; i < num_l1_ents; i++) {
> > + u64 l2ptr = le64_to_cpu(cfg->l2.l1tab[i].l2ptr);
>
> Sashiko pointed out a missing READ_ON here.

??

There is no concurrency at this point?

Jason