Thread (3 messages) 3 messages, 3 authors, 2021-05-25

Re: [PATCH v2] arm64: mm: don't use CON and BLK mapping if KFENCE is enabled

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2021-05-25 14:02:10
Also in: lkml, stable

On Tue, 25 May 2021 10:45:51 +0800, Jisheng Zhang wrote:
When we added KFENCE support for arm64, we intended that it would
force the entire linear map to be mapped at page granularity, but we
only enforced this in arch_add_memory() and not in map_mem(), so
memory mapped at boot time can be mapped at a larger granularity.

When booting a kernel with KFENCE=y and RODATA_FULL=n, this results in
the following WARNING at boot:

[...]
Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: mm: don't use CON and BLK mapping if KFENCE is enabled
      https://git.kernel.org/arm64/c/e69012400b0c

-- 
Catalin


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help