[PATCH] arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required

Catalin Marinas catalin.marinas at arm.com
Fri Nov 20 06:38:53 EST 2020


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




More information about the linux-arm-kernel mailing list