From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Date: Mon, 24 Mar 2014 18:36:54 +0000 Subject: Re: Generic idle causes boot hang on T1000 Message-Id: <20140324.143654.2242726338958297413.davem@davemloft.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org From: Jan Engelhardt Date: Mon, 24 Mar 2014 19:19:44 +0100 (CET) > > On Monday 2014-03-24 17:53, David Miller wrote: >>diff --git a/arch/sparc/kernel/process_64.c b/arch/sparc/kernel/process_64.c >>index 32a280e..d7b4967 100644 >>--- a/arch/sparc/kernel/process_64.c >>+++ b/arch/sparc/kernel/process_64.c >>@@ -58,9 +58,12 @@ void arch_cpu_idle(void) >> { >> if (tlb_type != hypervisor) { >> touch_nmi_watchdog(); >>+ local_irq_enable(); >> } else { >> unsigned long pstate; >> >>+ local_irq_enable(); >>+ >> /* The sun4v sleeping code requires that we have PSTATE.IE cleared over >> * the cpu sleep hypervisor call. >> */ >>@@ -82,7 +85,6 @@ void arch_cpu_idle(void) >> : "=&r" (pstate) >> : "i" (PSTATE_IE)); >> } >>- local_irq_enable(); >> } >> >> #ifdef CONFIG_HOTPLUG_CPU > > With this patch, the boot succeeds. Thanks for testing, I'll get this merged upstream and to -stable.