Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751548AbdGZM7b (ORCPT ); Wed, 26 Jul 2017 08:59:31 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:45737 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750918AbdGZM7a (ORCPT ); Wed, 26 Jul 2017 08:59:30 -0400 Subject: Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, x86@kernel.org References: <20170724142853.26448-1-jgross@suse.com> Cc: hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, luto@amacapital.net From: Boris Ostrovsky Organization: Oracle Corporation Message-ID: <5978921C.6020605@oracle.com> Date: Wed, 26 Jul 2017 08:59:08 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <20170724142853.26448-1-jgross@suse.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 642 Lines: 16 On 7/24/2017 10:28 AM, Juergen Gross wrote: > When running as Xen pv-guest the exception frame on the stack contains > %r11 and %rcx additional to the other data pushed by the processor. > > Instead of having a paravirt op being called for each exception type > prepend the Xen specific code to each exception entry. When running as > Xen pv-guest just use the exception entry with prepended instructions, > otherwise use the entry without the Xen specific code. > > Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky (I'd s/xen/x86/ in subject to get x86 maintainers' attention ;-))