lkml.org 
[lkml]   [2017]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: KASAN vs. boot-time switching between 4- and 5-level paging
From
Date


On 07/10/2017 03:33 PM, Kirill A. Shutemov wrote:

>
> [Sorry for loong delay.]
>
> The patch works for me for legacy boot. But it breaks EFI boot with
> 5-level paging. And I struggle to understand why.
>
> What I see is many page faults at mm/kasan/kasan.c:758 --
> "DEFINE_ASAN_LOAD_STORE(4)". Handling one of them I get double-fault at
> arch/x86/kernel/head_64.S:298 -- "pushq %r14", which ends up with triple
> fault.
>
> Any ideas?
>
> If you want to play with this by yourself, qemu supports la57 -- use
> -cpu "qemu64,+la57".
>

I'll have a look.

\
 
 \ /
  Last update: 2017-07-10 18:56    [W:1.573 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site