[PATCH 2/2] ARM: ux500: simplify secondary CPU boot
Olof Johansson
olof at lixom.net
Thu Aug 6 08:18:22 PDT 2015
On Thu, Aug 6, 2015 at 4:40 PM, Linus Walleij <linus.walleij at linaro.org> wrote:
> On Thu, Aug 6, 2015 at 10:11 AM, Olof Johansson <olof at lixom.net> wrote:
>> On Mon, Aug 03, 2015 at 09:26:52AM +0200, Linus Walleij wrote:
>>> This removes a lot of ancient cruft from the Ux500 SMP boot.
>>> Instead of the pen grab/release, just point the ROM to
>>> secondary_boot() and start the second CPU there, then send
>>> the IPI.
>>>
>>> Use our own SMP enable method. This enables us to remove the
>>> last static mapping and get both CPUs booting properly.
>>>
>>> Tested this and it just works.
>>>
>>> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
>>> ---
>>> Hi ARM SoC folks: please apply this to fixes for v4.2. I was
>>> intending it for v4.3 but we might as well just kill off the
>>> legacy boot method right now so we do not need to restore any
>>> static maps and undo the cleanup (which would be just as
>>> invasive).
>>
>> It's a bit late in the cycle for that. I'll apply it in cleanup for 4.3 though.
>
> OK I've got a bunch of cleanups for Ux500, shall I include these
> in the pull request or will you apply this separately?
I've applied it already so just send a pull request with the rest of
it (hopefully not too much conflicts).
-Olof
More information about the linux-arm-kernel
mailing list