From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Wed, 7 May 2014 18:14:14 +0100 Subject: [PATCH 2/9] arm64: move DBG_MDSCR_* to asm/debug-monitors.h In-Reply-To: <1399476054-21571-3-git-send-email-marc.zyngier@arm.com> References: <1399476054-21571-1-git-send-email-marc.zyngier@arm.com> <1399476054-21571-3-git-send-email-marc.zyngier@arm.com> Message-ID: <20140507171414.GD3694@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, May 07, 2014 at 04:20:47PM +0100, Marc Zyngier wrote: > In order to be able to use the DBG_MDSCR_* macros from the KVM code, > move the relevant definitions to the obvious include file. > > Also move the debug_el enum to a portion of the file that is guarded > by #ifndef __ASSEMBLY__ in order to use that file from assembly code. > > Signed-off-by: Marc Zyngier > --- > arch/arm64/include/asm/debug-monitors.h | 19 ++++++++++++++----- > arch/arm64/kernel/debug-monitors.c | 9 --------- > 2 files changed, 14 insertions(+), 14 deletions(-) Acked-by: Will Deacon Will From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH 2/9] arm64: move DBG_MDSCR_* to asm/debug-monitors.h Date: Wed, 7 May 2014 18:14:14 +0100 Message-ID: <20140507171414.GD3694@arm.com> References: <1399476054-21571-1-git-send-email-marc.zyngier@arm.com> <1399476054-21571-3-git-send-email-marc.zyngier@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "kvmarm@lists.cs.columbia.edu" , "linux-arm-kernel@lists.infradead.org" , "kvm@vger.kernel.org" , Christoffer Dall , Catalin Marinas , Ian Campbell To: Marc Zyngier Return-path: Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:50668 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750768AbaEGROr (ORCPT ); Wed, 7 May 2014 13:14:47 -0400 Content-Disposition: inline In-Reply-To: <1399476054-21571-3-git-send-email-marc.zyngier@arm.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, May 07, 2014 at 04:20:47PM +0100, Marc Zyngier wrote: > In order to be able to use the DBG_MDSCR_* macros from the KVM code, > move the relevant definitions to the obvious include file. > > Also move the debug_el enum to a portion of the file that is guarded > by #ifndef __ASSEMBLY__ in order to use that file from assembly code. > > Signed-off-by: Marc Zyngier > --- > arch/arm64/include/asm/debug-monitors.h | 19 ++++++++++++++----- > arch/arm64/kernel/debug-monitors.c | 9 --------- > 2 files changed, 14 insertions(+), 14 deletions(-) Acked-by: Will Deacon Will