Re: [PATCH 10/16] x86/cpu: Adjust reset_stack_and_jump() to be shadow stack compatible

2020-05-11 Thread Andrew Cooper
On 07/05/2020 14:17, Jan Beulich wrote: > [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments > unless you have verified the sender and know the content is safe. > > On 02.05.2020 00:58, Andrew Cooper wrote: >> We need to unwind up to the supervisor token. See the comment fo

Re: [PATCH 10/16] x86/cpu: Adjust reset_stack_and_jump() to be shadow stack compatible

2020-05-07 Thread Jan Beulich
On 02.05.2020 00:58, Andrew Cooper wrote: > We need to unwind up to the supervisor token. See the comment for details. > > Signed-off-by: Andrew Cooper > --- > CC: Jan Beulich > CC: Wei Liu > CC: Roger Pau Monné > --- > xen/include/asm-x86/current.h | 42 +

[PATCH 10/16] x86/cpu: Adjust reset_stack_and_jump() to be shadow stack compatible

2020-05-01 Thread Andrew Cooper
We need to unwind up to the supervisor token. See the comment for details. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Wei Liu CC: Roger Pau Monné --- xen/include/asm-x86/current.h | 42 +++--- 1 file changed, 39 insertions(+), 3 deletions(-) dif