Re: [PATCH] arm64/cpufeature: Drop redundant define(ID_AA64MMFR0..._SUPPORTED_LPA2)

From: Catalin Marinas

Date: Thu Oct 01 2026 - 12:17:03 EST


On Thu, 17 Sep 2026 08:11:52 +0530, Anshuman Khandual wrote:
> ID_AA64MMFR0_EL1_TGRAN_2_SUPPORTED_LPA2 is always defined as 0x3. Hence any
> defined() test on the macro always going to be evaluated as true. Hence the
> very test itself is redundant and can be dropped off safely.
>
> Although similar defined(ID_AA64MMFR0_EL1_TGRAN_LPA2) test is retained back
> as the macro does depend on the configured granule size.
>
> [...]

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

[1/1] arm64/cpufeature: Drop redundant define(ID_AA64MMFR0..._SUPPORTED_LPA2)
https://git.kernel.org/arm64/c/f73411ae5be6