linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: khilman@kernel.org (Kevin Hilman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: ux500: add an SMP enablement type and move cpu nodes
Date: Thu, 22 Oct 2015 15:17:58 -0700	[thread overview]
Message-ID: <CAMAWPa86Fkj0QLoLm19NK7rGje1h4si95Q=E-cs7yAdJKXSyxg@mail.gmail.com> (raw)
In-Reply-To: <CAMAWPa9pVRY1evsZmZRyxY0JxRJ0tUhsug+xUDrw6mc8y4W9NQ@mail.gmail.com>

On Thu, Oct 22, 2015 at 3:13 PM, Kevin Hilman <khilman@kernel.org> wrote:
> On Thu, Oct 22, 2015 at 5:24 AM, Linus Walleij <linus.walleij@linaro.org> wrote:
>> On Tue, Oct 20, 2015 at 6:52 AM, Kevin Hilman <khilman@kernel.org> wrote:
>>> On Mon, Aug 3, 2015 at 12:26 AM, Linus Walleij <linus.walleij@linaro.org> wrote:
>>>> The "cpus" node cannot be inside the "soc" node, while this
>>>> works for the CoreSight blocks, the early boot code will look
>>>> for "cpus" directly under the root node, so this is a hard
>>>> convention. So move the CPU nodes.
>>>>
>>>> Augment the "reg" property to match what is actually in the
>>>> hardware: 0x300 and 0x301 respectively.
>>>>
>>>> Then add an SMP enablement type to be used by the SMP init
>>>> code, "ste,dbx500-smp".
>>>>
>>>> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
>>>> ---
>>>> Hi ARM SoC people: please apply this as a fix for v4.2
>>>> as it is prerequisite for 2/2 which is a more proper fix
>>>> for the secondary CPU boot regression addressed by the
>>>> fixed remappings patch.
>>>
>>> kernelci.org has had the ste-snowall failing in v4.2 stable[1] for
>
> Note the failure was for v4.2 stable...
>
>>> awhile, so I finally bisected[2] it down to this patch, which is in
>>> mainline in the form of commit bf64dd262eaa (ARM: ux500: add an SMP
>>> enablement type and move cpu nodes).  I confirmed that reverting that
>>> commit on top of v4.2 gets the snowball booting again.
>>>
>>> Kevin
>>>
>>> [1] http://kernelci.org/boot/all/job/stable/kernel/v4.2.3/
>>> [2] https://ci.linaro.org/view/people/job/tbaker-boot-bisect-bot/102/console
>>
>> OK I tested the u8500_defconfig and it still works fine on
>> Snowball. So I have no clue what is causing this :(
>> (See below for my bootlog.)
>>
>> - I first thought it was a multiplatform issue but it seems
>>   not AFAICT from the logs.
>
> It fails on both mutli_v7_defconfig and u8500_defconfig.
>
>> - Is the CI boot is using the latest device tree from
>>   arch/arm/boot/dts/ste-snowball.dts?
>
> Yes, it always uses the DT from the same tree that the kernel is built from.
>
>> 5070] starting kernel at 0x00008000, machine 3293
>> [    0.000000] Booting Linux on physical CPU 0x300
>> [    0.000000] Linux version 4.3.0-rc6-00001-gdff502ea54cb
>
> Ah, you're using mainline.  The boot failure we found is in stable
> v4.2 (and v4.1) which suggests that there's a patch/fix that's
> upstream but not yet backported to stable.

Minor correction: the failure is only on v4.2 and stable v4.2.y.
stable v4.1.y is fine.

Kevin

  reply	other threads:[~2015-10-22 22:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-03  7:26 [PATCH 1/2] ARM: ux500: add an SMP enablement type and move cpu nodes Linus Walleij
2015-08-06  8:10 ` Olof Johansson
2015-10-20  4:52 ` Kevin Hilman
2015-10-22 12:24   ` Linus Walleij
2015-10-22 22:13     ` Kevin Hilman
2015-10-22 22:17       ` Kevin Hilman [this message]
2015-10-22 22:59   ` Kevin Hilman
  -- strict thread matches above, loose matches on Subject: below --
2015-07-31 12:22 Linus Walleij

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='CAMAWPa86Fkj0QLoLm19NK7rGje1h4si95Q=E-cs7yAdJKXSyxg@mail.gmail.com' \
    --to=khilman@kernel.org \
    --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 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).