Re: [PATCH 1/5] x86, pti: fix boot problems from Global-bit setting

2018-04-23 Thread Aaro Koskinen
Hi, On Fri, Apr 20, 2018 at 03:20:19PM -0700, Dave Hansen wrote: > Part of the global bit _setting_ patches also includes clearing the > Global bit when we do not want it. That is done with > set_memory_nonglobal(), which uses change_page_attr_clear() in > pageattr.c under the covers. > > The TL

[PATCH 1/5] x86, pti: fix boot problems from Global-bit setting

2018-04-20 Thread Dave Hansen
From: Dave Hansen Part of the global bit _setting_ patches also includes clearing the Global bit when we do not want it. That is done with set_memory_nonglobal(), which uses change_page_attr_clear() in pageattr.c under the covers. The TLB flushing code inside pageattr.c has has checks like BUG