Thread (10 messages) flat view 10 messages, 3 authors, 2021-01-22

Re: [PATCH v2 1/2] arm64: Fix kernel address detection of __is_lm_address()

From: Vincenzo Frascino <vincenzo.frascino@arm.com>
Date: 2021-01-21 17:41:42
Also in: lkml

On 1/21/21 4:02 PM, Vincenzo Frascino wrote:
quoted
I think it'd be worth checking, if we're going to use this in common
code.
Ok, I will run some tests and let you know.
I checked on x86_64 and ppc64 (they both have KASAN implementation):

I added the following:

printk("%s: %d\n", __func__, virt_addr_valid(0));

in x86_64: sounds/last.c
in pp64: arch/powerpc/kernel/setup-common.c

and in both the cases the output is 0 (false) when the same in arm64 is 1
(true). Therefore I think we should proceed with the change.

-- 
Regards,
Vincenzo

_______________________________________________
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