Re: [PATCH] arm64/mm: Validate CONFIG_PGTABLE_LEVELS

From: Will Deacon
Date: Tue May 25 2021 - 14:59:09 EST


On Mon, 10 May 2021 17:52:06 +0530, Anshuman Khandual wrote:
> CONFIG_PGTABLE_LEVELS has been statically defined in (arch/arm64/Kconfig)
> depending on the page size and requested virtual address range. In order to
> validate this page table levels selection this adds a BUILD_BUG_ON() as per
> the existing formula ARM64_HW_PGTABLE_LEVELS(). This would help protect any
> inadvertent changes to CONFIG_PGTABLE_LEVELS selection.

Applied to arm64 (for-next/mm), thanks!

[1/1] arm64/mm: Validate CONFIG_PGTABLE_LEVELS
https://git.kernel.org/arm64/c/7e04cc918954

Cheers,
--
Will

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