Re: [PATCH V3 0/6] x86: don't abuse tss.sp1

2021-01-29 Thread Lai Jiangshan
On Sat, Jan 30, 2021 at 12:43 AM Borislav Petkov wrote: > > On Fri, Jan 29, 2021 at 11:35:46PM +0800, Lai Jiangshan wrote: > > Any feedback? > > Yes: be patient please. > > Thx. > > -- > Regards/Gruss, > Boris. > > https://people.kernel.org/tglx/notes-about-netiquette Thank you for your

Re: [PATCH V3 0/6] x86: don't abuse tss.sp1

2021-01-29 Thread Borislav Petkov
On Fri, Jan 29, 2021 at 11:35:46PM +0800, Lai Jiangshan wrote: > Any feedback? Yes: be patient please. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette

[PATCH V3 0/6] x86: don't abuse tss.sp1

2021-01-27 Thread Lai Jiangshan
From: Lai Jiangshan In x86_64, tss.sp1 is reused as cpu_current_top_of_stack. But we can directly use percpu since CR3 and gs_base is correct when it is used. In x86_32, tss.sp1 is resued as thread.sp0 in three places in entry code. We have the correct CR3 and %fs at two of the places. The