From: Sam Ravnborg
Date: Mon, 8 Apr 2013 19:10:35 +0200
> I think not.
> local_irq_disable writes 0 to the PIL register,
> whereas the above code set the IE (Interrupt enable) bit to 0.
>
> So the implementations differs - and I think there is a good
> reason for being so.
>
> But this is the
> > @@ -52,17 +52,12 @@
> >
> > #include "kstack.h"
> >
> > -static void sparc64_yield(int cpu)
> > +/* Idle loop support on sparc64. */
> > +void arch_cpu_idle(void)
> > {
> > if (tlb_type != hypervisor) {
> > touch_nmi_watchdog();
> > - return;
> > - }
> > -
> > -
Hi Sam,
On 04/01/2013 02:36 PM, Sam Ravnborg wrote:
> Hi Srivatsa,
>
> thanks for the feedback!
>
> @davem - I need you to look at this again. I am not sure about the changes
> I do in sparc64_yield().
>
>>> +/* the idle loop on a Sparc... ;) */
>>> +void arch_cpu_idle(void)
>>> {
>>> + if
Hi Sam,
On 04/01/2013 02:36 PM, Sam Ravnborg wrote:
Hi Srivatsa,
thanks for the feedback!
@davem - I need you to look at this again. I am not sure about the changes
I do in sparc64_yield().
+/* the idle loop on a Sparc... ;) */
+void arch_cpu_idle(void)
{
+ if (sparc_idle)
+
@@ -52,17 +52,12 @@
#include kstack.h
-static void sparc64_yield(int cpu)
+/* Idle loop support on sparc64. */
+void arch_cpu_idle(void)
{
if (tlb_type != hypervisor) {
touch_nmi_watchdog();
- return;
- }
-
-
From: Sam Ravnborg s...@ravnborg.org
Date: Mon, 8 Apr 2013 19:10:35 +0200
I think not.
local_irq_disable writes 0 to the PIL register,
whereas the above code set the IE (Interrupt enable) bit to 0.
So the implementations differs - and I think there is a good
reason for being so.
But
Hi Srivatsa,
thanks for the feedback!
@davem - I need you to look at this again. I am not sure about the changes
I do in sparc64_yield().
> > +/* the idle loop on a Sparc... ;) */
> > +void arch_cpu_idle(void)
> > {
> > + if (sparc_idle)
> > + (*sparc_idle)();
> > + else
> > +
On 03/30/2013 01:59 AM, Sam Ravnborg wrote:
> Add generic cpu_idle support
>
> sparc32:
> - replace call to cpu_idle() with cpu_startup_entry()
> - add arch_cpu_idle()
>
> sparc64:
> - smp_callin() includes cpu_startup_entry() call so we can
> skip calling cpu_idle from assembler
> - add
On 03/30/2013 01:59 AM, Sam Ravnborg wrote:
Add generic cpu_idle support
sparc32:
- replace call to cpu_idle() with cpu_startup_entry()
- add arch_cpu_idle()
sparc64:
- smp_callin() includes cpu_startup_entry() call so we can
skip calling cpu_idle from assembler
- add
Hi Srivatsa,
thanks for the feedback!
@davem - I need you to look at this again. I am not sure about the changes
I do in sparc64_yield().
+/* the idle loop on a Sparc... ;) */
+void arch_cpu_idle(void)
{
+ if (sparc_idle)
+ (*sparc_idle)();
+ else
+
From: Sam Ravnborg
Date: Fri, 29 Mar 2013 21:29:26 +0100
> Add generic cpu_idle support
>
> sparc32:
> - replace call to cpu_idle() with cpu_startup_entry()
> - add arch_cpu_idle()
>
> sparc64:
> - smp_callin() includes cpu_startup_entry() call so we can
> skip calling cpu_idle from
From: Sam Ravnborg s...@ravnborg.org
Date: Fri, 29 Mar 2013 21:29:26 +0100
Add generic cpu_idle support
sparc32:
- replace call to cpu_idle() with cpu_startup_entry()
- add arch_cpu_idle()
sparc64:
- smp_callin() includes cpu_startup_entry() call so we can
skip calling cpu_idle from
Add generic cpu_idle support
sparc32:
- replace call to cpu_idle() with cpu_startup_entry()
- add arch_cpu_idle()
sparc64:
- smp_callin() includes cpu_startup_entry() call so we can
skip calling cpu_idle from assembler
- add arch_cpu_idle_enter() and arch_cpu_idle_dead()
Signed-off-by: Sam
Add generic cpu_idle support
sparc32:
- replace call to cpu_idle() with cpu_startup_entry()
- add arch_cpu_idle()
sparc64:
- smp_callin() includes cpu_startup_entry() call so we can
skip calling cpu_idle from assembler
- add arch_cpu_idle_enter() and arch_cpu_idle_dead()
Signed-off-by: Sam
14 matches
Mail list logo