LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2]: powerpc: Cpu init cleanups
@ 2006-08-11  5:01 Olof Johansson
  2006-08-11  5:03 ` [PATCH 1/2] powerpc: Rename cpu_setup_power4.S to cpu_setup_ppc970.S Olof Johansson
  2006-08-11  5:07 ` [PATCH 2/2]: powerpc: Cleanup CPU inits Olof Johansson
  0 siblings, 2 replies; 3+ messages in thread
From: Olof Johansson @ 2006-08-11  5:01 UTC (permalink / raw)
  To: paulus; +Cc: linuxppc-dev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-11  5:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-11  5:01 [PATCH 0/2]: powerpc: Cpu init cleanups Olof Johansson
2006-08-11  5:03 ` [PATCH 1/2] powerpc: Rename cpu_setup_power4.S to cpu_setup_ppc970.S Olof Johansson
2006-08-11  5:07 ` [PATCH 2/2]: powerpc: Cleanup CPU inits Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox