Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752956AbdHRNXC (ORCPT ); Fri, 18 Aug 2017 09:23:02 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:19800 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752202AbdHRNXA (ORCPT ); Fri, 18 Aug 2017 09:23:00 -0400 Subject: Re: [PATCH v2 1/2] paravirt,xen: remove xen_patch() To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, x86@kernel.org, lguest@lists.ozlabs.org References: <20170816173157.8633-1-jgross@suse.com> <20170816173157.8633-2-jgross@suse.com> Cc: hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, rusty@rustcorp.com.au From: Boris Ostrovsky Message-ID: <0ad4eb2a-7935-e574-9485-638f98613452@oracle.com> Date: Fri, 18 Aug 2017 09:22:31 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170816173157.8633-2-jgross@suse.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 732 Lines: 19 On 08/16/2017 01:31 PM, Juergen Gross wrote: > Xen's paravirt patch function xen_patch() does some special casing for > irq_ops functions to apply relocations when those functions can be > patched inline instead of calls. > > Unfortunately none of the special case function replacements is small > enough to be patched inline, so the special case never applies. > > As xen_patch() will call paravirt_patch_default() in all cases it can > be just dropped. xen-asm.h doesn't seem necessary without xen_patch() > as the only thing left in it would be the definition of XEN_EFLAGS_NMI > used only once. So move that definition and remove xen-asm.h. > > Signed-off-by: Juergen Gross Applied to for-linus-4.14 -boris