Re: [PATCH] powerpc/time: Always set decrementer in timer_interrupt()

2022-04-29 Thread Michael Ellerman
Nicholas Piggin writes: > Excerpts from Nicholas Piggin's message of April 21, 2022 12:07 pm: >> Excerpts from Michal Suchánek's message of April 21, 2022 12:28 am: >>> Hello, >>> >>> On Thu, Apr 21, 2022 at 12:16:57AM +1000, Michael Ellerman wrote: This is a partial revert of commit 0faf20a

Re: [PATCH] powerpc/time: Always set decrementer in timer_interrupt()

2022-04-27 Thread Nicholas Piggin
Excerpts from Nicholas Piggin's message of April 21, 2022 12:07 pm: > Excerpts from Michal Suchánek's message of April 21, 2022 12:28 am: >> Hello, >> >> On Thu, Apr 21, 2022 at 12:16:57AM +1000, Michael Ellerman wrote: >>> This is a partial revert of commit 0faf20a1ad16 ("powerpc/64s/interrupt: >

Re: [PATCH] powerpc/time: Always set decrementer in timer_interrupt()

2022-04-24 Thread Michael Ellerman
On Thu, 21 Apr 2022 00:16:57 +1000, Michael Ellerman wrote: > This is a partial revert of commit 0faf20a1ad16 ("powerpc/64s/interrupt: > Don't enable MSR[EE] in irq handlers unless perf is in use"). > > Prior to that commit, we always set the decrementer in > timer_interrupt(), to clear the timer

Re: [PATCH] powerpc/time: Always set decrementer in timer_interrupt()

2022-04-20 Thread Michael Ellerman
Michal Suchánek writes: > Hello, > > On Thu, Apr 21, 2022 at 12:16:57AM +1000, Michael Ellerman wrote: >> This is a partial revert of commit 0faf20a1ad16 ("powerpc/64s/interrupt: >> Don't enable MSR[EE] in irq handlers unless perf is in use"). >> >> Prior to that commit, we always set the decreme

Re: [PATCH] powerpc/time: Always set decrementer in timer_interrupt()

2022-04-20 Thread Nicholas Piggin
Excerpts from Michal Suchánek's message of April 21, 2022 12:28 am: > Hello, > > On Thu, Apr 21, 2022 at 12:16:57AM +1000, Michael Ellerman wrote: >> This is a partial revert of commit 0faf20a1ad16 ("powerpc/64s/interrupt: >> Don't enable MSR[EE] in irq handlers unless perf is in use"). >> >> Pri

Re: [PATCH] powerpc/time: Always set decrementer in timer_interrupt()

2022-04-20 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of April 21, 2022 12:16 am: > This is a partial revert of commit 0faf20a1ad16 ("powerpc/64s/interrupt: > Don't enable MSR[EE] in irq handlers unless perf is in use"). > > Prior to that commit, we always set the decrementer in > timer_interrupt(), to clear t

Re: [PATCH] powerpc/time: Always set decrementer in timer_interrupt()

2022-04-20 Thread Michal Suchánek
Hello, On Thu, Apr 21, 2022 at 12:16:57AM +1000, Michael Ellerman wrote: > This is a partial revert of commit 0faf20a1ad16 ("powerpc/64s/interrupt: > Don't enable MSR[EE] in irq handlers unless perf is in use"). > > Prior to that commit, we always set the decrementer in > timer_interrupt(), to cl

[PATCH] powerpc/time: Always set decrementer in timer_interrupt()

2022-04-20 Thread Michael Ellerman
This is a partial revert of commit 0faf20a1ad16 ("powerpc/64s/interrupt: Don't enable MSR[EE] in irq handlers unless perf is in use"). Prior to that commit, we always set the decrementer in timer_interrupt(), to clear the timer interrupt. Otherwise we could end up continuously taking timer interru