Re: [PATCH rc] iommu/tegra241-cmdqv: Fix alignment failure at max_n_shift

From: Will Deacon
Date: Tue Nov 12 2024 - 14:20:30 EST


On Sun, 10 Nov 2024 19:02:26 -0800, Nicolin Chen wrote:
> When configuring a kernel with PAGE_SIZE=4KB, depending on its setting of
> CONFIG_CMA_ALIGNMENT, VCMDQ_LOG2SIZE_MAX=19 could fail the alignment test
> and trigger a WARN_ON:
> WARNING: at drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:3646
> Call trace:
> arm_smmu_init_one_queue+0x15c/0x210
> tegra241_cmdqv_init_structures+0x114/0x338
> arm_smmu_device_probe+0xb48/0x1d90
>
> [...]

Applied to iommu (arm/smmu), thanks!

[1/1] iommu/tegra241-cmdqv: Fix alignment failure at max_n_shift
https://git.kernel.org/iommu/c/a3799717b881

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev