Skip to content

Platform arch_reset changes

Russell King - ARM Linux linux-arm-kernel linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 of 41 patches 0 repliesNew

14 of 41 patches are in this archive. The cover letter announces 41.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/41ARM: restart: remove poodle restart handler+0 -01 reply
4/41ARM: restart: at91: use new restart hook+0 -01 reply
6/41ARM: restart: cns3xxx: use new restart hook+0 -01 reply
14/41ARM: restart: iop3xx: use new restart hook+0 -01 reply
15/41ARM: restart: iop13xx: use new restart hook+0 -01 reply
16/41ARM: restart: ixp2000: use new restart hook+0 -01 reply
17/41ARM: restart: ixp23xx: use new restart hook+0 -01 reply
18/41ARM: restart: ixp4xx: use new restart hook+0 -01 reply
18/41ARM: restart: ixp4xx: use new restart hook+0 -01 reply
23/41ARM: restart: mxc: use new restart hook+0 -01 reply
28/41ARM: restart: pxa: use new restart hook+0 -01 reply
33/41ARM: restart: spear: use new restart hook+0 -01 reply
38/41ARM: restart: w90x900: use new restart hook+0 -00 replies
39/41ARM: restart: lpc32xx & u300: remove unnecessary printk+0 -01 reply

Reviews trailers per patch

11 of 14 patches have a Reviewed-by or Acked-by.

PatchKrzysztof Ha?asaRichard PurdieLennert BuytenhekAnton VorontsovViresh KumarSascha Hauer
2/41A-b
4/41
6/41A-b
14/41A-b
15/41A-b
16/41A-b
17/41A-b
18/41A-b
18/41A-b
23/41A-b
28/41A-b
33/41A-b
38/41
39/41

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [02: PATCH 0/41] Platform arch_reset changes
Quoted 17 lines · Will Deacon

Russell,

Quoted 6 lines · Russell King - ARM Linux

Part 2. These are the platform updates, so far.

The first patch combines the individual files in mach-clps711x which contain one or two functions or data structures before changing the arch_reset stuff.

Quoted 7 lines

The majority of the remaining patches address each group of platforms individually.

The final patch removes the resulting empty arch_reset() functions, its call site and associated code. XXX NOTE XXX This results in anything left with an arch_reset() function having non-functional restart capability.

Quoted 4 lines

I was dreading the thought of having to go digging around in each platform again, so thanks for doing this. Apart from the troublesome platforms (partially addressed in your third series), is there anything else that needs looking at?

In direct connection with this - that said, although I've build-tested a number of these (which is why I found things like the trailing , on the previous initializers - and had to rework some of the patches as a result), I've also boot tested the Versatile Express and OMAP3 but not tried a 'reboot' on them yet.

The final removal of mach/system.h depends on getting rid of the arch_idle thing. While going through these headers, I was dismayed to find these:

arch/arm/mach-s3c2410/include/mach/system.h:void (*s3c24xx_idle)(void); arch/arm/plat-mxc/include/mach/system.h:extern void (*imx_idle)(void);

when we have a perfectly good pm_idle hook already in place - so there's no excuse for these especially when other platforms are already using pm_idle to hook their platform specific idle function into. This is something that better be gone at the next merge window!

Quoted 2 lines

I guess I should also ask whether or not the third series is a blocker for merging the other two (given that it would leave those platforms broken).

That depends on your point of view.

My original plan was to see about merging the ground-work (part 1) in this merge window to avoid a dependency problem - but I think it grew too large to contemplate that (I might have a discussion with Linus in private over this, because not doing this could be quite hairy for us.)

Part 2 is fine up until the final patch - if we can get part 1 in, then the individual patches can be carried in the various maintainer trees independently. In any case, patch 41 would have to be scheduled for the end of the merge window.

As for whether patch 41 goes in with or without the remainder fixed up, that depends what kind of a mood I'm in - over the weekend I was feeling very pissed off with the state of the remaining platforms that I was seriously thinking that I'd push it in anyway at the next merge window and to hell with them. (Just like the Greece holding the eurozone to ransom, I don't want a few platforms holding the rest of the ARM tree to ransom over this change!)

I've moderated a little bit over that - but only to the extent that there's going to be something like 12 weeks for other platforms to get their act together and if they don't show willing to address the concerns, then I'm really not going to care about breaking them at the next merge window.