[PATCH V2] arm64/mm: Drop ARM64_KERNEL_USES_PMD_MAPS
Will Deacon
will at kernel.org
Tue Nov 8 09:38:37 PST 2022
On Tue, 8 Nov 2022 09:14:06 +0530, Anshuman Khandual wrote:
> Currently ARM64_KERNEL_USES_PMD_MAPS is an unnecessary abstraction. Kernel
> mapping at PMD (aka huge page aka block) level, is only applicable with 4K
> base page, which makes it 2MB aligned, a necessary requirement for linear
> mapping and physical memory start address. This can be easily achieved by
> directly checking against base page size itself. This drops off the macro
> ARM64_KERNE_USES_PMD_MAPS which is redundant.
>
> [...]
Applied to arm64 (for-next/trivial), thanks!
[1/1] arm64/mm: Drop ARM64_KERNEL_USES_PMD_MAPS
https://git.kernel.org/arm64/c/38e4b6605e5c
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list