Thread (7 messages) 7 messages, 2 authors, 2006-06-28

Re: [PATCH] powerpc: Do a bit more cpu init cleanups

From: Olof Johansson <hidden>
Date: 2006-06-27 22:58:10

On Wed, Jun 28, 2006 at 08:20:48AM +1000, Benjamin Herrenschmidt wrote:
On Tue, 2006-06-27 at 12:22 -0700, Olof Johansson wrote:
quoted
Cleanup CPU inits a bit more, Geoff Levand already did some earlier.

* Rename cpu_setup_power4.S to cpu_setup_ppc970.S
quoted
* Move CPU state save to cpu_setup, since cpu_setup is only ever done
  on cpu 0 on 64-bit.
Nah, keep that one separate, will be needed as soon as we start doing
some sleep/wake stuff for ppc64
Why? I can see having to restore the settings on wake, but not doing a
brand new cpu_setup.
quoted
* Rename __restore_cpu_setup to __restore_cpu_setup_ppc970 since it's
  only actually doing anything there, and check before calling instead
  of in the function (no check needed on powermac).
I'd like to keep a generic save/restore.. that or we put then in
cputable.
Keep? There never was one. :)

Since restore is called very first thing in smp secondary init, we don't
have cputable available.
quoted
* Same for __970_cpu_preinit
* Rename pSeries_secondary_smp_init to generic_secondary_smp_init since
  everyone but powermac and iSeries use it.
Ok.

-Olof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help