Re: [PATCH] x86/entry: Clarify the RF saving/restoring situation with SYSCALL/SYSRET

From: Borislav Petkov
Date: Wed Aug 03 2016 - 14:03:53 EST


On Wed, Aug 03, 2016 at 10:24:18AM -0700, Andy Lutomirski wrote:
> AFAICT the AMD people didn't think of any use cases involving doing
> anything interesting between SYSCALL and SYSRET. Witness the
> sysret_ss_attrs goof, for example: apparently SYSCALL; context switch;
> IRET; interrupt; context switch; SYSRET didn't occur to AMD as a valid
> use case.

/me hands Andy a time machine to go fix this properly, before so much
silicon ships.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--