diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2022-11-08 06:44:06 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-11-08 16:59:36 +0300 |
commit | 38e4b6605e5cde68ba388f3175e7b4962694674c (patch) | |
tree | f96c8c42ea22daf24e45b4323eec4a1b648ac1cd /scripts/gdb/linux/proc.py | |
parent | e8e5104118473ffa23c013da42ae6a9df2867a07 (diff) | |
download | linux-38e4b6605e5cde68ba388f3175e7b4962694674c.tar.xz |
arm64/mm: Drop ARM64_KERNEL_USES_PMD_MAPS
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.
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20221108034406.2950071-1-anshuman.khandual@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions