Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751352AbdHCONS (ORCPT ); Thu, 3 Aug 2017 10:13:18 -0400 Received: from mx2.suse.de ([195.135.220.15]:42715 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751010AbdHCONQ (ORCPT ); Thu, 3 Aug 2017 10:13:16 -0400 Subject: Re: [Xen-devel] [PATCH v2] xen: get rid of paravirt op adjust_exception_frame To: Andy Lutomirski , Andrew Cooper Cc: X86 ML , "linux-kernel@vger.kernel.org" , Ingo Molnar , "H. Peter Anvin" , "xen-devel@lists.xenproject.org" , Boris Ostrovsky , Thomas Gleixner References: <20170801103954.23904-1-jgross@suse.com> <5c14a9a9-7b13-50d0-2338-2bccac7b7ac3@citrix.com> From: Juergen Gross Message-ID: Date: Thu, 3 Aug 2017 16:13:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1064 Lines: 31 On 02/08/17 01:52, Andy Lutomirski wrote: > On Tue, Aug 1, 2017 at 4:38 PM, Andrew Cooper wrote: >> 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 */ > > D'oh, right. Juergen, want to make that change? Hmm, I'd prefer you sending an update which I could test and ack then. Juergen