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