Thread (12 messages) 12 messages, 3 authors, 2024-09-10

Re: [PATCH v10 4/5] arm64: ptdump: Don't override the level when operating on the stage-2 tables

From: Will Deacon <will@kernel.org>
Date: 2024-09-10 10:05:26
Also in: kvmarm, lkml

On Mon, Sep 09, 2024 at 12:47:20PM +0000, Sebastian Ene wrote:
Ptdump uses the init_mm structure directly to dump the kernel
pagetables. When ptdump is called on the stage-2 pagetables, this mm
argument is not used. Prevent the level from being overwritten by
checking the argument against NULL.

Signed-off-by: Sebastian Ene <redacted>
---
 arch/arm64/mm/ptdump.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Acked-by: Will Deacon <will@kernel.org>

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help