[PATCH] iommu/io-pgtable-arm: Fix cfg reading in arm_lpae_concat_mandatory()
Will Deacon
will at kernel.org
Thu Dec 19 11:47:13 PST 2024
On Sun, 15 Dec 2024 20:04:11 +0000, Mostafa Saleh wrote:
> I messed up the newly introduced function arm_lpae_concat_mandatory()
> where ias/oas are read from the io_pgtable_cfg copy in arm_lpae_io_pgtable.
>
> However, this copy is set later in alloc_io_pgtable_ops() after alloc()
> function was called.
>
> I didn’t catch that with my selftesting as arm_lpae_io_pgtable is
> allocated from kmalloc, which was caching old configs.
>
> [...]
Applied to will (for-joerg/arm-smmu/updates), thanks!
[1/1] iommu/io-pgtable-arm: Fix cfg reading in arm_lpae_concat_mandatory()
https://git.kernel.org/will/c/b7b8a6305557
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list