Messages in this thread | | | From | Lai Jiangshan <> | Date | Wed, 11 May 2022 20:40:38 +0800 | Subject | Re: [PATCH 2/7] x86/entry: Move PTI_USER_* to arch/x86/include/asm/processor-flags.h |
| |
On Wed, May 11, 2022 at 6:25 PM Thomas Gleixner <tglx@linutronix.de> wrote: > > On Wed, May 11 2022 at 15:27, Lai Jiangshan wrote: > > From: Lai Jiangshan <jiangshan.ljs@antgroup.com> > > > > These constants will be also used in C file. > > > > Move them to arch/x86/include/asm/processor-flags.h which already has > > a kin X86_CR3_PTI_PCID_USER_BIT defined in it. > > > > Remove PTI_PGTABLE_SWITCH_BIT and replace it with PTI_USER_PGTABLE_BIT > > since they are the same in meaning and value. > > Just from looking at the patch it's obvious that it breaks the 32bit > CONFIG_PAGETABLE_ISOLATION=y build. Sigh.
Ahhh. Thank you!
I'm sorry and I will move the "#ifdef CONFIG_X86_64" down a little bit in arch/x86/include/asm/processor-flags.h.
Thanks Lai
| |