Re: [PATCH v5 2/2] x86_64: fix KASan shadow region page tables

From: Andrey Ryabinin
Date: Fri Jun 12 2015 - 13:14:11 EST


2015-06-09 12:42 GMT+03:00 Alexander Popov <alpopov@xxxxxxxxxxxxxx>:
> Physical addresses in KASan shadow region page tables need fixup similarly
> to the other page tables. Current code doesn't do it which causes
> kernel halt if phys_base is not zero.
> So let's initialize KASan shadow region page tables in kasan_early_init()
> using __pa_nodebug() which considers phys_base.
>
> Signed-off-by: Alexander Popov <alpopov@xxxxxxxxxxxxxx>

Acked-by: Andrey Ryabinin <a.ryabinin@xxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/