From: Ian Campbell <ijc@hellion.org.uk>
To: xen-devel@lists.xen.org
Cc: stefano.stabellini@citrix.com, tim@xen.org,
Ian Campbell <ian.campbell@citrix.com>
Subject: [PATCH 9/9] arm: tweak/improve logging for host SMP
Date: Wed, 6 Mar 2013 08:54:36 +0000 [thread overview]
Message-ID: <1362560076-25897-9-git-send-email-ijc@hellion.org.uk> (raw)
In-Reply-To: <1362559920.8941.98.camel@hastur.hellion.org.uk>
From: Ian Campbell <ian.campbell@citrix.com>
Make the "CPU<n> booted" message fit in with the surrounding logging.
Log which CPU is taking an unexpected trap.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
xen/arch/arm/smpboot.c | 2 +-
xen/arch/arm/traps.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/arch/arm/smpboot.c b/xen/arch/arm/smpboot.c
index 1bebf86..bd353c8 100644
--- a/xen/arch/arm/smpboot.c
+++ b/xen/arch/arm/smpboot.c
@@ -178,7 +178,7 @@ void __cpuinit start_secondary(unsigned long boot_phys_offset,
local_irq_enable();
- dprintk(XENLOG_DEBUG, "CPU %u booted.\n", smp_processor_id());
+ printk(XENLOG_DEBUG "CPU %u booted.\n", smp_processor_id());
startup_cpu_idle_loop();
}
diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c
index 2cc31ab..a98a45e 100644
--- a/xen/arch/arm/traps.c
+++ b/xen/arch/arm/traps.c
@@ -578,7 +578,7 @@ void vcpu_show_execution_state(struct vcpu *v)
void do_unexpected_trap(const char *msg, struct cpu_user_regs *regs)
{
- printk("Unexpected Trap: %s\n", msg);
+ printk("CPU%d: Unexpected Trap: %s\n", smp_processor_id(), msg);
show_execution_state(regs);
while(1);
}
--
1.7.10.4
next prev parent reply other threads:[~2013-03-06 8:54 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 8:52 [PATCH 00/09] arm: host SMP support Ian Campbell
2013-03-06 8:54 ` [PATCH 1/9] arm: initialise VCPU SCTLR in vcpu_initialise Ian Campbell
2013-03-19 15:58 ` Stefano Stabellini
2013-04-11 8:58 ` Ian Campbell
2013-03-06 8:54 ` [PATCH 2/9] arm: consolidate setup of hypervisor traps and second stage paging Ian Campbell
2013-03-19 17:34 ` Stefano Stabellini
2013-04-11 8:58 ` Ian Campbell
2013-03-06 8:54 ` [PATCH 3/9] arm: gic: implement IPIs using SGI mechanism Ian Campbell
2013-03-19 17:28 ` Stefano Stabellini
2013-04-09 14:51 ` Ian Campbell
2013-04-11 15:53 ` Ian Campbell
2013-04-11 16:17 ` Ian Campbell
2013-04-11 22:40 ` Julien Grall
2013-04-12 8:00 ` Ian Campbell
2013-03-06 8:54 ` [PATCH 4/9] arm64: correct secondary CPU bringup Ian Campbell
2013-04-11 8:27 ` Ian Campbell
2013-04-18 13:33 ` Stefano Stabellini
2013-03-06 8:54 ` [PATCH 5/9] arm: vgic: typo s/securty/security/ Ian Campbell
2013-03-19 16:06 ` Stefano Stabellini
2013-04-11 8:59 ` Ian Campbell
2013-03-06 8:54 ` [PATCH 6/9] arm: vgic: fix race in vgic_vcpu_inject_irq Ian Campbell
2013-03-19 16:10 ` Stefano Stabellini
2013-04-11 8:59 ` Ian Campbell
2013-03-06 8:54 ` [PATCH 7/9] arm: vgic: fix race between evtchn upcall and evtchnop_send Ian Campbell
2013-03-19 16:18 ` Stefano Stabellini
2013-04-09 14:39 ` Ian Campbell
2013-04-11 8:59 ` Ian Campbell
2013-03-06 8:54 ` [PATCH 8/9] arm: gic: fix build on arm64 Ian Campbell
2013-03-19 16:05 ` Stefano Stabellini
2013-04-11 9:00 ` Ian Campbell
2013-03-06 8:54 ` Ian Campbell [this message]
2013-03-19 16:05 ` [PATCH 9/9] arm: tweak/improve logging for host SMP Stefano Stabellini
2013-04-11 9:00 ` Ian Campbell
2013-03-22 14:50 ` [PATCH 00/09] arm: host SMP support Stefano Stabellini
2013-03-22 15:05 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1362560076-25897-9-git-send-email-ijc@hellion.org.uk \
--to=ijc@hellion.org.uk \
--cc=ian.campbell@citrix.com \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.