Re: [PATCH 1/2] powerpc/64s: remplement power4_idle code in C

2020-12-15 Thread Michael Ellerman
On Thu, 11 Jul 2019 12:24:03 +1000, Nicholas Piggin wrote: > This implements the tricky tracing and soft irq handling bits in C, > leaving the low level bit to asm. > > A functional difference is that this redirects the interrupt exit to > a return stub to execute blr, rather than the lr address i

Re: [PATCH 1/2] powerpc/64s: remplement power4_idle code in C

2020-01-28 Thread Michael Ellerman
On Thu, 2019-07-11 at 02:24:03 UTC, Nicholas Piggin wrote: > This implements the tricky tracing and soft irq handling bits in C, > leaving the low level bit to asm. > > A functional difference is that this redirects the interrupt exit to > a return stub to execute blr, rather than the lr address i

Re: [PATCH 1/2] powerpc/64s: remplement power4_idle code in C

2019-08-19 Thread Nicholas Piggin
Michael Ellerman's on August 18, 2019 1:49 pm: > Nicholas Piggin writes: >> diff --git a/arch/powerpc/kernel/exceptions-64s.S >> b/arch/powerpc/kernel/exceptions-64s.S >> index eee5bef736c8..64d5ffbb07d1 100644 >> --- a/arch/powerpc/kernel/exceptions-64s.S >> +++ b/arch/powerpc/kernel/exceptions-

Re: [PATCH 1/2] powerpc/64s: remplement power4_idle code in C

2019-08-17 Thread Michael Ellerman
Nicholas Piggin writes: > diff --git a/arch/powerpc/kernel/exceptions-64s.S > b/arch/powerpc/kernel/exceptions-64s.S > index eee5bef736c8..64d5ffbb07d1 100644 > --- a/arch/powerpc/kernel/exceptions-64s.S > +++ b/arch/powerpc/kernel/exceptions-64s.S > @@ -2286,15 +2286,6 @@ USE_FIXED_SECTION(virt_

[PATCH 1/2] powerpc/64s: remplement power4_idle code in C

2019-07-10 Thread Nicholas Piggin
This implements the tricky tracing and soft irq handling bits in C, leaving the low level bit to asm. A functional difference is that this redirects the interrupt exit to a return stub to execute blr, rather than the lr address itself. This is probably barely measurable on real hardware, but it ke