From patchwork Tue Dec 18 16:51:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 207167 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A9D022C01FB for ; Wed, 19 Dec 2012 04:54:25 +1100 (EST) Received: from localhost ([::1]:32827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl0Ox-0003GV-2M for incoming@patchwork.ozlabs.org; Tue, 18 Dec 2012 11:52:19 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl0OD-0002JC-KY for qemu-devel@nongnu.org; Tue, 18 Dec 2012 11:51:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tl0OA-0005Pt-Rb for qemu-devel@nongnu.org; Tue, 18 Dec 2012 11:51:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl0OA-0005Pm-KZ for qemu-devel@nongnu.org; Tue, 18 Dec 2012 11:51:30 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBIGpTGQ013676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 18 Dec 2012 11:51:30 -0500 Received: from localhost (ovpn-112-27.ams2.redhat.com [10.36.112.27]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qBIGpS0K030583; Tue, 18 Dec 2012 11:51:29 -0500 From: Stefan Hajnoczi To: Date: Tue, 18 Dec 2012 17:51:12 +0100 Message-Id: <1355849477-1226-6-git-send-email-stefanha@redhat.com> In-Reply-To: <1355849477-1226-1-git-send-email-stefanha@redhat.com> References: <1355849477-1226-1-git-send-email-stefanha@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Anthony Liguori Subject: [Qemu-devel] [PATCH 05/10] arm_gic: Add cpu nr to Raised IRQ message X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Peter Crosthwaite Add the relevant CPU nr to this debug message to make IRQ debugging more informative. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Signed-off-by: Stefan Hajnoczi --- hw/arm_gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm_gic.c b/hw/arm_gic.c index 8d769de..b6062c4 100644 --- a/hw/arm_gic.c +++ b/hw/arm_gic.c @@ -76,7 +76,7 @@ void gic_update(GICState *s) if (best_prio < s->priority_mask[cpu]) { s->current_pending[cpu] = best_irq; if (best_prio < s->running_priority[cpu]) { - DPRINTF("Raised pending IRQ %d\n", best_irq); + DPRINTF("Raised pending IRQ %d (cpu %d)\n", best_irq, cpu); level = 1; } }