: powerpc: Cpu init cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | powerpc: Rename cpu_setup_power4.S to cpu_setup_ppc970.Sarch/ arch/ arch/ | +226 | 0 replies | |
| 2/2 | : powerpc: Cleanup CPU initsarch/ arch/ arch/ +4 more | +71 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2]: powerpc: Cpu init cleanups
Hi,
Attached are two patches to cleanup the cpu inits a bit. First one just renames cpu_setup_power4.S to cpu_setup_ppc970.S, since that's really what it contains. No functional changes at all in there to simplify review.
Second patch renames some of the setup functions, and make the restore functions come of the cputable instead of being hardcoded. Current setup makes it awkward to add new cpus without editing the ppc970 setup/restore functions or add more PVR checks in the assembly, which would be nice to avoid. Only the really early one is still needed in assembly, since cputables have not yet been setup at that point.
Earlier patch submission was all baked together, which makes it harder to review and tell what is new and not.
Boot tested on PowerMac and POWER5. Please consider for 2.6.19 merge window.
Thanks,
Olof