Skip to content

Hacks to allow booting ARM SMP kernel on UP ARMv7

Tony Lindgren linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchSantosh Shilimkar
SeriesA-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7
Quoted 6 lines · Russell King - ARM Linux

Here's my latest patch (which is combined from two patches.)

Tony, could you follow up with patches for anything which is still required - I think there's two things you've addressed which this currently misses:

Quoted 6 lines

1. not initializing twd_base (I'm not convinced this is safe - rather making smp_prepare_cpus() return early is probably a better idea.)
2. __flush_icache_all()

Note that (2) seems to be complicated by the instruction only being available on ARMv7 and later.

Yeah will check probably on Tuesday, heading to a BBQ as it's a holiday here. Also my laptop cooling fan broke a few days ago, got it patched up temporarily though: An external fan duct taped to the side of the machine until the replacement arrives :)

Quoted 2 lines

Also note that this should only be used for comparing SMP vs UP versions of the same architecture - in other words, not ARMv6 vs ARMv6K.

Right, ARMv6 vs ARMv6K can be dealt with in another patch once this is done.

Quoted 5 lines

Lastly, what's happening about ARMv6 and ARMv7 processor setup functions? Are we going to split them into those which need SMP bits twiddled and those which don't? If we are going to split them, someone needs to follow up on this email with patches to do it (preferably to be slotted in before these changes.)

No need to split them any longer AFAIK. Or do you have some case in mind that's not being handled now, maybe I don't follow you?

Regards,

Tony