Thread (9 messages) 9 messages, 3 authors, 2021-08-04

Re: [PATCH v2 1/2] arm64: Move .hyp.rodata outside of the _sdata.._edata range

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2021-08-02 16:52:44
Also in: kvm, kvmarm, stable

On Mon, Aug 02, 2021 at 01:38:29PM +0100, Marc Zyngier wrote:
The HYP rodata section is currently lumped together with the BSS,
which isn't exactly what is expected (it gets registered with
kmemleak, for example).

Move it away so that it is actually marked RO. As an added
benefit, it isn't registered with kmemleak anymore.

Fixes: 380e18ade4a5 ("KVM: arm64: Introduce a BSS section for use at Hyp")
Suggested-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: stable@vger.kernel.org #5.13
Acked-by: Catalin Marinas <catalin.marinas@arm.com>

_______________________________________________
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