SUPERH platform development
 help / color / mirror / Atom feed
From: Marc Zyngier <marc.zyngier@arm.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] mach-shmobile: r8a7779 SMP TWD boot regression fix
Date: Thu, 10 May 2012 10:13:36 +0000	[thread overview]
Message-ID: <4FAB94D0.4020305@arm.com> (raw)
In-Reply-To: <20120510055722.29862.28709.sendpatchset@w520>

On 10/05/12 11:10, Magnus Damm wrote:
> On Thu, May 10, 2012 at 7:03 PM, Marc Zyngier <marc.zyngier@arm.com> wrote:
>> Hi Magnus,
>>
>> On 10/05/12 06:57, Magnus Damm wrote:
>>> From: Magnus Damm <damm@opensource.se>
>>>
>>> Fix SMP TWD boot regression on r8a7779 based platforms caused by:
>>>
>>> 4200b16 ARM: shmobile: convert to twd_local_timer_register() interface
>>>
>>> After the merge of the above commit it has been impossible to boot
>>> r8a7779 based SoCs with SMP enabled and CONFIG_HAVE_ARM_TWD=y. The
>>> kernel crashes at smp_init_cpus() timing which is before the console
>>> has been initialized, so to the user this looks like a kernel lock up
>>> without any particular error message.
>>>
>>> This patch fixes the regression on r8a7779 by moving the TWD
>>> registration code from smp_init_cpus() to sys_timer->init() time.
>>>
>>> Signed-off-by: Magnus Damm <damm@opensource.se>
>>
>> I'm a bit confused here. Does sh73a0 work OK? If so, why is the behavior
>> any different?
> 
> It doesn't,both are busted I'm afraid. But I fixed the r8a7779 one
> myself and let Morimoto-san deal with sh73a0 to make sure it got fixed
> and tested too.

OK. It would be good to fold these two patches into one, then.

FWIW, Acked-by: Marc Zyngier <marc.zyngier@arm.com>

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...


  parent reply	other threads:[~2012-05-10 10:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-10  5:57 [PATCH] mach-shmobile: r8a7779 SMP TWD boot regression fix Magnus Damm
2012-05-10 10:03 ` Marc Zyngier
2012-05-10 10:10 ` Magnus Damm
2012-05-10 10:13 ` Marc Zyngier [this message]
2012-05-10 10:37 ` Magnus Damm
2012-05-10 21:42 ` Rafael J. Wysocki

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=4FAB94D0.4020305@arm.com \
    --to=marc.zyngier@arm.com \
    --cc=linux-sh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox