Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1701592

Re: [Xen-devel] [PATCH v2] xen: get rid of paravirt op adjust_exception_frame

From Andrew Cooper <andrew.cooper3@citrix.com>
Newsgroups linux.kernel
Subject Re: [Xen-devel] [PATCH v2] xen: get rid of paravirt op adjust_exception_frame
Date 2017-08-02 02:00 +0200
Message-ID <u9PeV-2br-1@gated-at.bofh.it> (permalink)
References <u9CUr-2Qq-33@gated-at.bofh.it> <u9Ll0-8cw-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?h=x86/entry_syscall&id=14fee348e3e86c994400d68085217d1232a637d6

If the

/* Zero-extending 32-bit regs, do not remove */
movl    %eax, %eax

comments are to be believed, then the entry logic needs reordering
slightly to:

GLOBAL(entry_*_compat_after_hwframe)
    movl    %eax, %eax    /* Zero-extending 32-bit regs, do not remove */
    pushq    %rax                /* pt_regs->orig_ax */

~Andrew

(It is unfortunate this can't be simplified to pushq %eax)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] xen: get rid of paravirt op adjust_exception_frame Juergen Gross <jgross@suse.com> - 2017-08-01 12:50 +0200
  Re: [PATCH v2] xen: get rid of paravirt op adjust_exception_frame Andy Lutomirski <luto@amacapital.net> - 2017-08-01 21:50 +0200
    Re: [Xen-devel] [PATCH v2] xen: get rid of paravirt op  adjust_exception_frame Andrew Cooper <andrew.cooper3@citrix.com> - 2017-08-02 02:00 +0200
      Re: [Xen-devel] [PATCH v2] xen: get rid of paravirt op adjust_exception_frame Andy Lutomirski <luto@amacapital.net> - 2017-08-02 02:00 +0200
        Re: [Xen-devel] [PATCH v2] xen: get rid of paravirt op  adjust_exception_frame Juergen Gross <jgross@suse.com> - 2017-08-03 16:20 +0200
    Re: [PATCH v2] xen: get rid of paravirt op adjust_exception_frame Juergen Gross <jgross@suse.com> - 2017-08-02 13:10 +0200

csiph-web