Re: [PATCH] arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required
From: James Morse <james.morse@arm.com>
Date: 2020-11-19 18:19:09
From: James Morse <james.morse@arm.com>
Date: 2020-11-19 18:19:09
Hi Catalin, Nicolas, On 19/11/2020 17:55, 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.
Looks good to me! Acked-by: James Morse <james.morse@arm.com> Thanks, James _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel