arm64: kdump: do not map crashkernel region specifically
authorBaoquan He <bhe@redhat.com>
Fri, 7 Apr 2023 01:15:06 +0000 (09:15 +0800)
committerWill Deacon <will@kernel.org>
Tue, 11 Apr 2023 18:24:46 +0000 (19:24 +0100)
commit04a2a7af3d977f5a54aed26ab54cf734b59dcdf3
tree3f1b2480180751901e3e8ef5d69d725761f91f13
parent0d124e96051b1dcee88624efea972c826b3dfc83
arm64: kdump: do not map crashkernel region specifically

After taking off the protection functions on crashkernel memory region,
there's no need to map crashkernel region with page granularity during
linear mapping.

With this change, the system can make use of block or section mapping
on linear region to largely improve perforcemence during system bootup
and running.

Signed-off-by: Baoquan He <bhe@redhat.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Reviewed-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20230407011507.17572-3-bhe@redhat.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/mm/mmu.c