All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: sparclinux@vger.kernel.org
Subject: Re: Generic idle causes boot hang on T1000
Date: Mon, 24 Mar 2014 18:36:54 +0000	[thread overview]
Message-ID: <20140324.143654.2242726338958297413.davem@davemloft.net> (raw)
In-Reply-To: <alpine.LSU.2.11.1403232347380.23553@nerf08.vanv.qr>

From: Jan Engelhardt <jengelh@inai.de>
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.

      parent reply	other threads:[~2014-03-24 18:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-23 22:47 Generic idle causes boot hang on T1000 Jan Engelhardt
2014-03-24  0:38 ` David Miller
2014-03-24 10:33 ` Jan Engelhardt
2014-03-24 16:53 ` David Miller
2014-03-24 18:19 ` Jan Engelhardt
2014-03-24 18:36 ` David Miller [this message]

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=20140324.143654.2242726338958297413.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=sparclinux@vger.kernel.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.