Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758989AbbGHRO7 (ORCPT ); Wed, 8 Jul 2015 13:14:59 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:35553 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758955AbbGHROy (ORCPT ); Wed, 8 Jul 2015 13:14:54 -0400 Subject: Re: [PATCH 07/13] arm64: KVM: VHE: Patch out use of HVC To: Marc Zyngier , Catalin Marinas , Will Deacon , Christoffer Dall References: <1436372356-30410-1-git-send-email-marc.zyngier@arm.com> <1436372356-30410-8-git-send-email-marc.zyngier@arm.com> Cc: kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org From: Paolo Bonzini Message-ID: <559D5A8A.4030901@redhat.com> Date: Wed, 8 Jul 2015 19:14:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <1436372356-30410-8-git-send-email-marc.zyngier@arm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 580 Lines: 19 On 08/07/2015 18:19, Marc Zyngier wrote: > +/* Hack to allow stringification of macros... */ > +#define __S__(a,args...) __stringify(a, ##args) > +#define _S_(a,args...) __S__(a, args) > + > +.macro ifnvhe nonvhe vhe > + alternative_insn "\nonvhe", "\vhe", ARM64_HAS_VIRT_HOST_EXTN > +.endm Why not use this in patch 6 too? Paolo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/