Re: [PATCH v2 10/18] x86/asm: Remap the TSS into the cpu entry area

2017-11-23 Thread Andy Lutomirski
On Thu, Nov 23, 2017 at 6:40 PM, Andy Lutomirski wrote: > On Thu, Nov 23, 2017 at 12:37 PM, Borislav Petkov wrote: >> On Thu, Nov 23, 2017 at 12:15:14PM -0800, Andy Lutomirski wrote: >>> >> diff --git a/arch/x86/kernel/asm-offsets.c >>> >> b/arch/x86/kernel/asm-offsets.c >>> >> index b275863128e

Re: [PATCH v2 10/18] x86/asm: Remap the TSS into the cpu entry area

2017-11-23 Thread Andy Lutomirski
On Thu, Nov 23, 2017 at 12:37 PM, Borislav Petkov wrote: > On Thu, Nov 23, 2017 at 12:15:14PM -0800, Andy Lutomirski wrote: >> >> diff --git a/arch/x86/kernel/asm-offsets.c b/arch/x86/kernel/asm-offsets.c >> >> index b275863128eb..55858b277cf6 100644 >> >> --- a/arch/x86/kernel/asm-offsets.c >> >>

Re: [PATCH v2 10/18] x86/asm: Remap the TSS into the cpu entry area

2017-11-23 Thread Borislav Petkov
On Thu, Nov 23, 2017 at 12:15:14PM -0800, Andy Lutomirski wrote: > >> diff --git a/arch/x86/kernel/asm-offsets.c b/arch/x86/kernel/asm-offsets.c > >> index b275863128eb..55858b277cf6 100644 > >> --- a/arch/x86/kernel/asm-offsets.c > >> +++ b/arch/x86/kernel/asm-offsets.c > >> @@ -98,4 +98,7 @@ void

Re: [PATCH v2 10/18] x86/asm: Remap the TSS into the cpu entry area

2017-11-23 Thread Andy Lutomirski
On Thu, Nov 23, 2017 at 11:55 AM, Borislav Petkov wrote: > On Tue, Nov 21, 2017 at 08:44:05PM -0800, Andy Lutomirski wrote: >> This has a secondary purpose: it puts the entry stack into a region >> with a well-controlled layout. A subsequent patch will take >> advantage of this to streamline the

Re: [PATCH v2 10/18] x86/asm: Remap the TSS into the cpu entry area

2017-11-23 Thread Borislav Petkov
On Tue, Nov 21, 2017 at 08:44:05PM -0800, Andy Lutomirski wrote: > This has a secondary purpose: it puts the entry stack into a region > with a well-controlled layout. A subsequent patch will take > advantage of this to streamline the SYSCALL entry code to be able to > find it more easily. > > Si

Re: [PATCH v2 10/18] x86/asm: Remap the TSS into the cpu entry area

2017-11-23 Thread Thomas Gleixner
On Tue, 21 Nov 2017, Andy Lutomirski wrote: > This has a secondary purpose: it puts the entry stack into a region > with a well-controlled layout. A subsequent patch will take > advantage of this to streamline the SYSCALL entry code to be able to > find it more easily. > > Signed-off-by: Andy Lu

[PATCH v2 10/18] x86/asm: Remap the TSS into the cpu entry area

2017-11-21 Thread Andy Lutomirski
This has a secondary purpose: it puts the entry stack into a region with a well-controlled layout. A subsequent patch will take advantage of this to streamline the SYSCALL entry code to be able to find it more easily. Signed-off-by: Andy Lutomirski --- arch/x86/entry/entry_32.S | 6 --