[RFC/Patch] 4xx idle loop

3 messages, 2 authors, 2002-07-25 · open the first message on its own page

[RFC/Patch] 4xx idle loop

From: akuster <hidden>
Date: 2002-07-24 05:55:17

I was going though some old 4xx kernels I have and found an
implimentation of idle.c that had support for 4xx.  I believe the reason
it never made is out was the hacking we did to make it work.  So I
propose that we modify the kernel/Makefile to use ppc4xx_idel.o instead
of idle.o when 4xx is configured.  That way we have a clean
implimentation for 4xx idle functions and not touch the generic ppc idle
file.  The function names would not change.

Armin


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: [RFC/Patch] 4xx idle loop

From: Matthew Locke <hidden>
Date: 2002-07-24 19:50:15

akuster wrote:
I was going though some old 4xx kernels I have and found an
implimentation of idle.c that had support for 4xx.  I believe the reason
it never made is out was the hacking we did to make it work.  So I
propose that we modify the kernel/Makefile to use ppc4xx_idel.o instead
of idle.o when 4xx is configured.  That way we have a clean
implimentation for 4xx idle functions and not touch the generic ppc idle
file.  The function names would not change.

Rather than replace the whole idle loop, I would allow for
sub-arch/processor specific code in the idle loop.  Perhaps move the
power_save routine into the platform code?
Armin


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: [RFC/Patch] 4xx idle loop

From: akuster <hidden>
Date: 2002-07-25 05:38:17

Matthew Locke wrote:

Rather than replace the whole idle loop, I would allow for
sub-arch/processor specific code in the idle loop.  Perhaps move the
power_save routine into the platform code?
This sounds like a good idea if we could use
  if( ppc_md.powersave != NULL)
       ppc_md.powersave();

If it is determined that calling power_save() which is resides in an
arch/processor specific file then we are talking about many files being
hit.  and the current power_save seems to common for many other ppc
platforms other than 4xx & 8xx

armin


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help