Re: [PATCH v3 2/4] x86/xen: add basic KASAN support for PV kernel
From: Boris Ostrovsky
Date: Mon Feb 10 2020 - 15:29:06 EST
On 2/7/20 9:26 AM, Sergey Dyasli wrote:
> Introduce and use xen_kasan_* functions that are needed to properly
> initialise KASAN for Xen PV domains. Disable instrumentation for files
> that are used by xen_start_kernel() before kasan_early_init() could
> be called.
>
> This enables to use Outline instrumentation for Xen PV kernels.
> KASAN_INLINE and KASAN_VMALLOC options currently lead to boot crashes
> and hence disabled.
>
> Signed-off-by: Sergey Dyasli <sergey.dyasli@xxxxxxxxxx>
Xen bits:
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>