linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hechtb@gmail.com (Bastian Hecht)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 05/06] ARM: shmobile: Common shmobile_scu_base in headsmp-scu.S
Date: Mon, 18 Feb 2013 08:56:46 -0600	[thread overview]
Message-ID: <CABYn4sxoFJMsFnrf9bNCAGfram0rADv2TSbp_90BJ31DRT2W3w@mail.gmail.com> (raw)
In-Reply-To: <CANqRtoRtPOjqy+uhWOxpbQMdp=sDaRMAEqZqjMUBcruLB0NuwQ@mail.gmail.com>

Hi,

2013/2/17 Magnus Damm <magnus.damm@gmail.com>:
> Hello Bastian,
>
> On Mon, Feb 18, 2013 at 7:20 AM, Bastian Hecht <hechtb@gmail.com> wrote:
>> Hi,
>>
>> this breaks the secondary CPU startup when I test it. I think you
>> can't access shmobile_scu_address this way with the MMU still turned
>> off.
>>
>> But instead of
>>> +       ldr     r1, =shmobile_scu_base
>>> +       ldr     r1, [r1]                @ SCU base address
>>
>> try
>>
>> +        mrc     p15, 4, r1, c15, c0, 0 @ get SCU base address
>>
>> to get it from the coprocessor.
>
> Thanks. Can you please let us know which platform you see this?
>
> I've executed this on sh73a0 and KZM9G myself without any issues.
>
> Could it be that you are powering down the power domain in your own code?

I saw it on the current HEAD of the next branch using my KZM9G. I
bisected it down to your commit. The problem appears right at boot
time when the 2nd CPU should be brought up.

Thanks,

 Bastian


> Thanks,
>
> / magnus

  reply	other threads:[~2013-02-18 14:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-13 13:46 [PATCH 00/06] ARM: shmobile: SMP Cortex-A9 SCU rework Magnus Damm
2013-02-13 13:46 ` [PATCH 01/06] ARM: shmobile: Kill off sh73a0 scu_base_addr() function Magnus Damm
2013-02-16 12:35   ` Arnd Bergmann
2013-02-18  5:46     ` Magnus Damm
2013-02-13 13:46 ` [PATCH 02/06] ARM: shmobile: Kill off r8a7779 " Magnus Damm
2013-02-13 13:46 ` [PATCH 03/06] ARM: shmobile: Rework EMEV2 scu_base variable Magnus Damm
2013-02-13 13:47 ` [PATCH 04/06] ARM: shmobile: Move headsmp-sh73a0.S to headsmp-scu.S Magnus Damm
2013-02-13 13:47 ` [PATCH 05/06] ARM: shmobile: Common shmobile_scu_base in headsmp-scu.S Magnus Damm
2013-02-17 22:20   ` Bastian Hecht
2013-02-18  5:40     ` Magnus Damm
2013-02-18 14:56       ` Bastian Hecht [this message]
2013-02-13 13:47 ` [PATCH 06/06] ARM: shmobile: Update EMEV2 to use scu_power_mode() Magnus Damm
2013-02-14  3:34 ` [PATCH 00/06] ARM: shmobile: SMP Cortex-A9 SCU rework Simon Horman

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=CABYn4sxoFJMsFnrf9bNCAGfram0rADv2TSbp_90BJ31DRT2W3w@mail.gmail.com \
    --to=hechtb@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 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).