diff options
author | Catalin Marinas <[email protected]> | 2020-11-19 17:55:56 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2020-11-20 09:32:46 +0000 |
commit | 2687275a5843d1089687f08fc64eb3f3b026a169 (patch) | |
tree | 4a303f31c0093a0538db41f81b44732b18268ee3 /scripts/clang-tools/gen_compile_commands.py | |
parent | 791ab8b2e3db0c6e4295467d10398800ec29144c (diff) |
arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required
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.
Signed-off-by: Catalin Marinas <[email protected]>
Tested-by: Nicolas Saenz Julienne <[email protected]>
Reviewed-by: Nicolas Saenz Julienne <[email protected]>
Acked-by: James Morse <[email protected]>
Cc: James Morse <[email protected]>
Cc: Nicolas Saenz Julienne <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions