* 3.8+, PL310_ERRATA_769419 and highbank: borked reboot
@ 2013-04-16 16:55 Paolo Pisati
2013-04-17 3:23 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Pisati @ 2013-04-16 16:55 UTC (permalink / raw)
To: linux-arm-kernel
Scenario:
3.9-rc7 kernel, multiplatform support with highbank and imx6 selected, highbank
node -> reboot doesn't work (actually it works 1 out of 10 times)
And playing around with the config i was able to track it down to
PL310_ERRATA_769419.
-a config and kernel that reproduce the issue:
http://people.canonical.com/~ppisati/highbank_769419_reboot/config.brk
http://people.canonical.com/~ppisati/highbank_769419_reboot/zImage.brk
-a config and kernel that don't reproduce it:
http://people.canonical.com/~ppisati/highbank_769419_reboot/0003-highbank-dbg-comment-out-PL310_ERRATA_769419.patch
http://people.canonical.com/~ppisati/highbank_769419_reboot/config.ok
http://people.canonical.com/~ppisati/highbank_769419_reboot/zImage.ok
If you are building pl330 support too, you need a patch like this one:
http://people.canonical.com/~ppisati/highbank_769419_reboot/0001-dma-of-dma-check-OF-pointer-property-before-derefere.patch
to avoid a NULL ptr oops during boot.
Same issue happens on 3.8, and due to my test environment (conserver
on top of ipmi for 'serial over lan') i was unable to sysrq and give you a
stacktrace, sorry.
--
bye,
p.
^ permalink raw reply [flat|nested] 2+ messages in thread
* 3.8+, PL310_ERRATA_769419 and highbank: borked reboot
2013-04-16 16:55 3.8+, PL310_ERRATA_769419 and highbank: borked reboot Paolo Pisati
@ 2013-04-17 3:23 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2013-04-17 3:23 UTC (permalink / raw)
To: linux-arm-kernel
On 04/16/2013 11:55 AM, Paolo Pisati wrote:
> Scenario:
>
> 3.9-rc7 kernel, multiplatform support with highbank and imx6 selected, highbank
> node -> reboot doesn't work (actually it works 1 out of 10 times)
>
> And playing around with the config i was able to track it down to
> PL310_ERRATA_769419.
Thanks for narrowing this down.
I see 3 cores in arch_spin_lock and core 1 is powered off. I suspect
this is the l2x0 spinlock, but don't have a backtrace. If I raise the
printk level to get all the console messages, then the problem goes
away. I'm guessing core 1 is releasing the spinlock and the lock is not
getting flushed out when the core is hotplugged. With some delay the of
the printks, then the other cores have time to shutdown before core 1
exits coherency. I'll try to figure out a fix tomorrow.
Rob
> -a config and kernel that reproduce the issue:
>
> http://people.canonical.com/~ppisati/highbank_769419_reboot/config.brk
>
> http://people.canonical.com/~ppisati/highbank_769419_reboot/zImage.brk
>
> -a config and kernel that don't reproduce it:
>
> http://people.canonical.com/~ppisati/highbank_769419_reboot/0003-highbank-dbg-comment-out-PL310_ERRATA_769419.patch
>
> http://people.canonical.com/~ppisati/highbank_769419_reboot/config.ok
>
> http://people.canonical.com/~ppisati/highbank_769419_reboot/zImage.ok
>
> If you are building pl330 support too, you need a patch like this one:
>
> http://people.canonical.com/~ppisati/highbank_769419_reboot/0001-dma-of-dma-check-OF-pointer-property-before-derefere.patch
>
> to avoid a NULL ptr oops during boot.
>
> Same issue happens on 3.8, and due to my test environment (conserver
> on top of ipmi for 'serial over lan') i was unable to sysrq and give you a
> stacktrace, sorry.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-17 3:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-16 16:55 3.8+, PL310_ERRATA_769419 and highbank: borked reboot Paolo Pisati
2013-04-17 3:23 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).