From: Ian Campbell Subject: Re: [PATCH 11/16] xen: arm: Add debug keyhandler to dump the physical GIC state. Date: Thu, 21 Nov 2013 10:35:33 +0000 Message-ID: <1385030133.6071.135.camel@kazak.uk.xensource.com> References: <1384958746.6071.64.camel@kazak.uk.xensource.com> <1384958897-13074-11-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: pranavkumar@linaro.org, julien.grall@linaro.org, tim@xen.org, Anup Patel , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2013-11-20 at 19:17 +0000, Stefano Stabellini wrote: > On Wed, 20 Nov 2013, Ian Campbell wrote: > > Signed-off-by: Ian Campbell > > --- > > xen/arch/arm/gic.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 75 insertions(+) > > > > diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c > > index ab49106..185a6b8 100644 > > --- a/xen/arch/arm/gic.c > > +++ b/xen/arch/arm/gic.c > > @@ -28,6 +28,7 @@ > > #include > > #include > > #include > > +#include > > #include > > #include > > > > @@ -385,6 +386,77 @@ int gic_irq_xlate(const u32 *intspec, unsigned int intsize, > > return 0; > > } > > > > + > > +static void do_dump_gic(unsigned char key) > > It might be worth renaming the current gic_dump_info to > gic_dump_info_guest to avoid confusions. Done although based on Julien's comments about SGI/PPI printing I'm considering putting this patch to one side for the time being.