From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932122AbbGJLDG (ORCPT ); Fri, 10 Jul 2015 07:03:06 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:36151 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753181AbbGJLDB (ORCPT ); Fri, 10 Jul 2015 07:03:01 -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> <559D5A8A.4030901@redhat.com> <559D63EC.2090602@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: <559FA660.2050102@redhat.com> Date: Fri, 10 Jul 2015 13:02:56 +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: <559D63EC.2090602@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 On 08/07/2015 19:54, Marc Zyngier wrote: > Alternatively, I could move it to arch/arm64/include/asm (renamed to > kvm_vhe_macros.h?), which would solve this issue. I just gave it a go, > and that seems sensible enough. Yes, that would do. Alternatively: * create kvm_hyp_macros.h and put more stuff in there from kvm_mmu.h * just put it in kvm_host.h Whatever looks better to you. Paolo > Thanks for the suggestion! From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 07/13] arm64: KVM: VHE: Patch out use of HVC Date: Fri, 10 Jul 2015 13:02:56 +0200 Message-ID: <559FA660.2050102@redhat.com> References: <1436372356-30410-1-git-send-email-marc.zyngier@arm.com> <1436372356-30410-8-git-send-email-marc.zyngier@arm.com> <559D5A8A.4030901@redhat.com> <559D63EC.2090602@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" , "kvmarm@lists.cs.columbia.edu" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" To: Marc Zyngier , Catalin Marinas , Will Deacon , Christoffer Dall Return-path: In-Reply-To: <559D63EC.2090602@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu List-Id: kvm.vger.kernel.org On 08/07/2015 19:54, Marc Zyngier wrote: > Alternatively, I could move it to arch/arm64/include/asm (renamed to > kvm_vhe_macros.h?), which would solve this issue. I just gave it a go, > and that seems sensible enough. Yes, that would do. Alternatively: * create kvm_hyp_macros.h and put more stuff in there from kvm_mmu.h * just put it in kvm_host.h Whatever looks better to you. Paolo > Thanks for the suggestion! From mboxrd@z Thu Jan 1 00:00:00 1970 From: pbonzini@redhat.com (Paolo Bonzini) Date: Fri, 10 Jul 2015 13:02:56 +0200 Subject: [PATCH 07/13] arm64: KVM: VHE: Patch out use of HVC In-Reply-To: <559D63EC.2090602@arm.com> References: <1436372356-30410-1-git-send-email-marc.zyngier@arm.com> <1436372356-30410-8-git-send-email-marc.zyngier@arm.com> <559D5A8A.4030901@redhat.com> <559D63EC.2090602@arm.com> Message-ID: <559FA660.2050102@redhat.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 08/07/2015 19:54, Marc Zyngier wrote: > Alternatively, I could move it to arch/arm64/include/asm (renamed to > kvm_vhe_macros.h?), which would solve this issue. I just gave it a go, > and that seems sensible enough. Yes, that would do. Alternatively: * create kvm_hyp_macros.h and put more stuff in there from kvm_mmu.h * just put it in kvm_host.h Whatever looks better to you. Paolo > Thanks for the suggestion!