Skip to contentSkip to conversation

PATCH: adeos ppc r6c15 oops handling

Adeos-main Applied Heikki Lindholm 2 participants 2 messages Mar 21, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

Adeos prevents (most) oopses from other domains from printing. The attached patch should fix the behaviour.

-- Heikki Lindholm

ppc/kernel/traps.c renamed from ppc/kernel/traps.c.orig +6 -0
@@ -78,6 +78,12 @@
 {
 	static int die_counter;
 	int nl = 0;
+
+#ifdef CONFIG_ADEOS_CORE
+	/* lets us see Oopses from other domains, too */
+	if (adp_current != adp_root)
+		adeos_set_printk_sync(adp_current);
+#endif /* CONFIG_ADEOS_CORE */
 	console_verbose();
 	spin_lock_irq(&die_lock);
 #ifdef CONFIG_PMAC_BACKLIGHT
#1 lore raw
Quoted 3 lines · Heikki Lindholm

Hello,

Adeos prevents (most) oopses from other domains from printing. The attached patch should fix the behaviour.

Applied, thanks.

Quoted 21 lines

-- Heikki Lindholm

------------------------------------------------------------------------

ppc/kernel/traps.c renamed from ppc/kernel/traps.c.orig +6 -0
@@ -78,6 +78,12 @@
 {
 	static int die_counter;
 	int nl = 0;
+
+#ifdef CONFIG_ADEOS_CORE
+	/* lets us see Oopses from other domains, too */
+	if (adp_current != adp_root)
+		adeos_set_printk_sync(adp_current);
+#endif /* CONFIG_ADEOS_CORE */
 	console_verbose();
 	spin_lock_irq(&die_lock);
 #ifdef CONFIG_PMAC_BACKLIGHT
Signature · 1 line
Philippe.