Re: [Xen-devel] [PATCH v2] xen: get rid of paravirt op adjust_exception_frame
From: Andrew Cooper
Date: Tue Aug 01 2017 - 19:55:28 EST
On 01/08/2017 20:45, Andy Lutomirski wrote:
> Also, IMO it would be nice to fully finish the job. Remaining steps are:
> 1. Unsuck the SYSCALL entries on Xen PV.
> 2. Unsuck the SYENTER entry on Xen PV.
> 3. Make a xen_nmi that's actually correct (should be trivial)
> #1 is here:
/* Zero-extending 32-bit regs, do not remove */
movl %eax, %eax
comments are to be believed, then the entry logic needs reordering
movl %eax, %eax /* Zero-extending 32-bit regs, do not remove */
pushq %rax /* pt_regs->orig_ax */
(It is unfortunate this can't be simplified to pushq %eax)