Re: [PATCH] x86/pti: unpoison pgd for trusted boot

2018-01-10 Thread Andrea Arcangeli
On Wed, Jan 10, 2018 at 02:49:39PM -0800, Dave Hansen wrote: > > Updated to make this on top of x86/pti. Reviewed-by: Andrea Arcangeli

Re: [PATCH] x86/pti: unpoison pgd for trusted boot

2018-01-10 Thread Andrea Arcangeli
On Wed, Jan 10, 2018 at 02:49:39PM -0800, Dave Hansen wrote: > > Updated to make this on top of x86/pti. Reviewed-by: Andrea Arcangeli

[PATCH] x86/pti: unpoison pgd for trusted boot

2018-01-10 Thread Dave Hansen
Updated to make this on top of x86/pti. -- From: Dave Hansen The code in -tip potentially misses the pgd clearing if pud_alloc() sets a PGD. It would also be nice to have that comment back. Note that the -tip commit probably works in *practice* because for two

[PATCH] x86/pti: unpoison pgd for trusted boot

2018-01-10 Thread Dave Hansen
Updated to make this on top of x86/pti. -- From: Dave Hansen The code in -tip potentially misses the pgd clearing if pud_alloc() sets a PGD. It would also be nice to have that comment back. Note that the -tip commit probably works in *practice* because for two adjacent calls to

[PATCH] x86/pti: unpoison pgd for trusted boot

2018-01-10 Thread Dave Hansen
I believe this should replace 262b6b30087 in -tip. The patch in -tip potentially misses the pgd clearing if pud_alloc() sets a PGD. It would also be nice to have that comment back. Note that the -tip commit probably works in *practice* because for two adjacent calls to map_tboot_page() that

[PATCH] x86/pti: unpoison pgd for trusted boot

2018-01-10 Thread Dave Hansen
I believe this should replace 262b6b30087 in -tip. The patch in -tip potentially misses the pgd clearing if pud_alloc() sets a PGD. It would also be nice to have that comment back. Note that the -tip commit probably works in *practice* because for two adjacent calls to map_tboot_page() that