Re: [patch V2 09/29] x86/exceptions: Add structs for exception stacks

2019-04-05 Thread Thomas Gleixner
On Fri, 5 Apr 2019, Sean Christopherson wrote: > On Fri, Apr 05, 2019 at 05:07:07PM +0200, Thomas Gleixner wrote: > > +#ifdef CONFIG_X86_64 > > + > > +/* Macro to enforce the same ordering and stack sizes */ > > +#define ESTACKS_MEMBERS(guardsize) \ > > + charDF_stack[EXCEPTION_STKSZ]

Re: [patch V2 09/29] x86/exceptions: Add structs for exception stacks

2019-04-05 Thread Sean Christopherson
On Fri, Apr 05, 2019 at 01:48:38PM -0700, Sean Christopherson wrote: > On Fri, Apr 05, 2019 at 05:07:07PM +0200, Thomas Gleixner wrote: > > At the moment everything assumes a full linear mapping of the various > > exception stacks. Adding guard pages to the cpu entry area mapping of the > > excepti

Re: [patch V2 09/29] x86/exceptions: Add structs for exception stacks

2019-04-05 Thread Sean Christopherson
On Fri, Apr 05, 2019 at 05:07:07PM +0200, Thomas Gleixner wrote: > At the moment everything assumes a full linear mapping of the various > exception stacks. Adding guard pages to the cpu entry area mapping of the > exception stacks will break that assumption. > > As a preparatory step convert both

[patch V2 09/29] x86/exceptions: Add structs for exception stacks

2019-04-05 Thread Thomas Gleixner
At the moment everything assumes a full linear mapping of the various exception stacks. Adding guard pages to the cpu entry area mapping of the exception stacks will break that assumption. As a preparatory step convert both the real storage and the effective mapping in the cpu entry area from char