Re: [PATCH] arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2020-11-20 11:39:35
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2020-11-20 11:39:35
On Thu, 19 Nov 2020 17:55:56 +0000, Catalin Marinas wrote:
mem_init() currently relies on knowing the boundaries of the crashkernel reservation to map such region with page granularity for later unmapping via set_memory_valid(..., 0). If the crashkernel reservation is deferred, such boundaries are not known when the linear mapping is created. Simply parse the command line for "crashkernel" and, if found, create the linear map with NO_BLOCK_MAPPINGS.
Applied to arm64 (for-next/zone-dma-default-32-bit), thanks for the
review/test!
[1/1] arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required
https://git.kernel.org/arm64/c/2687275a5843
--
Catalin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel