Per SoC descriptor
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest posting 2/20 of 10 patches 0 repliesNew
- v5 posting 1/20 of 10 patches 0 repliesSuperseded
Patches in v5 posting 2/2 No applies recorded yet
None of the 10 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 00/10] Per SoC descriptor
Quoted 11 lines · Marc Zyngier
Quoted 1 line · Russell King - ARM Linux
On Mon, Oct 10, 2011 at 03:02:12PM +0100, Marc Zyngier wrote:
[...]
Quoted 6 lines
Quoted 1 line
65 files changed, 569 insertions(+), 149 deletions(-)This isn't particularly appealing for something that's supposed to be a clean up - it's introducing 400+ new lines of code. It looks like most of this comes from the platform stuff rather than core stuff.
Quoted 7 lines
Quoted 2 lines
Can't we do any better with this? We really need things to be going in the other direction.
There is definitely room for improvement, by factoring in some common code across platforms. But I see that as a second phase, and started by just moving things to the SoC descriptor, all the code staying mostly the same.
I was meaning without that - what concerns me is the size of increase just to introduce this. It seems needlessly large.
I've also never been convinced by attempts to consolidate the hotplug code - I've said this every time it's been suggested: I believe many platforms just aren't trying to support hotplug CPU properly.
They've just copied the noddy Realview platform version - which is noddy because ARMs platforms tend to have a total lack of power management support on them. The best we can do is put them in a WFI loop waiting to be re-awoken.
Real platforms surely must have better PM support than that, and so copying the Realview implementation does not make sense - it's good to see that _some_ platforms have made an effort, though they still just return from platform_cpu_die(), rather than the intended path of re-awaking via the standard bringup path. The return path from platform_cpu_die() is supposed to be the last-ditch attempt if all else has failed.
Note that doing that _also_ fixes the kexec problem that Will is struggling with - if we can get that sorted we don't need to pen the CPUs in a reserved area of memory while we kexec from one kernel to the next - they can be kept in the boot loader while the kernel is changed.