All of lore.kernel.org
 help / color / mirror / Atom feed
From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
To: linux-arm-kernel@lists.infradead.org
Subject: v3.12 regression from "ARM: kirkwood: convert to DT irqchip and clocksource" on non-DT kirkwood platforms
Date: Wed, 15 Jan 2014 10:15:57 +0100	[thread overview]
Message-ID: <52D651CD.5020307@gmail.com> (raw)
In-Reply-To: <1389775235.10695.51.camel@dagon.hellion.org.uk>

On 01/15/14 09:40, Ian Campbell wrote:
> Debian kernel's have been suffering a hang on boot on kirkwood platforms
> since 3.12, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735172.
>
> The issue has been seen on various QNAP TS platforms, mine is a TS-419
> but TS-119 and TS-212's have also been seen to fail. In all cases this
> is using the legacy board file based support not the DT support (which
> is only for TS-219 so far in any case AFAIK, I am not using Andrew
> Lunn's DT patches for TS-41x).

Ian,

thanks for the detailed report below. I quickly checked your .config and
saw you have CONFIG_ARCH_KIRKWOOD_DT=y although I understand you are not
booting DT here.

There may be some interference with both non-DT/DT compiled in, I'll
check that later.

> The bootlogs are below or in the bug. It stops after "Console: colour
> dummy device 80x30", I think next would normally be the
> BogoMIPS/calibrate_delay output.

That would indicate the timer (clocksource) or irq (irqchip) is not
running correctly. Again, that could be non-DT and DT fighting for it.
I'll investigate that.

In the meantime, can you recompile your kernel and set
CONFIG_ARCH_KIRKWOOD_DT=n ?

Sebastian

> I bisected it down to:
>          commit 2326f04321a9aec591c1d159b3a9d12c2bf89438
>          Author: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
>          Date:   Tue Jul 2 15:15:07 2013 +0200
>
>              ARM: kirkwood: convert to DT irqchip and clocksource
>
>              With recent support for true irqchip and clocksource drivers for Orion
>              SoCs, now make use of it on DT enabled Kirkwood boards.
>
>              This also introduces a new Kconfig option for legacy (non-DT) Kirkwood
>              where old code is moved out to and polishes DT board file a little bit.
>
>              Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
>              Signed-off-by: Jason Cooper <jason@lakedaemon.net>
>
> and reverting this on top of v3.12 allows the platform to boot
> successfully. I've also reproduced with v3.13-rc8 and the revert was not
> so trivial there, but I think I've done it right and it corrects the
> problem.

  reply	other threads:[~2014-01-15  9:15 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15  8:40 v3.12 regression from "ARM: kirkwood: convert to DT irqchip and clocksource" on non-DT kirkwood platforms Ian Campbell
2014-01-15  9:15 ` Sebastian Hesselbarth [this message]
2014-01-15  9:26   ` Ian Campbell
2014-01-15 19:54     ` Sebastian Hesselbarth
2014-01-15 20:15       ` Ian Campbell
2014-01-16  8:10 ` [PATCH] ARM: orion: provide C-style interrupt handler for MULTI_IRQ_HANDLER Sebastian Hesselbarth
2014-01-16  8:10   ` Sebastian Hesselbarth
2014-01-16 15:19   ` Andrew Lunn
2014-01-16 15:19     ` Andrew Lunn
2014-01-16 16:48   ` Jason Cooper
2014-01-16 16:48     ` Jason Cooper
2014-01-16 16:51     ` Ian Campbell
2014-01-16 16:51       ` Ian Campbell
2014-01-16 16:53       ` Jason Cooper
2014-01-16 16:53         ` Jason Cooper
2014-01-16 18:42         ` Sebastian Hesselbarth
2014-01-16 18:42           ` Sebastian Hesselbarth
2014-01-16 18:49           ` Jason Cooper
2014-01-16 18:49             ` Jason Cooper
2014-01-20 21:53             ` Ian Campbell
2014-01-20 21:53               ` Ian Campbell

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=52D651CD.5020307@gmail.com \
    --to=sebastian.hesselbarth@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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.