Re: [2/4] powerpc/64: do not trace irqs-off at interrupt return to soft-disabled context

2017-12-12 Thread Michael Ellerman
On Thu, 2017-11-16 at 16:00:50 UTC, Nicholas Piggin wrote: > When an interrupt is returning to a soft-disabled context (which can > happen for non-maskable interrupts or synchronous interrupts), it goes > through the motions of soft-disabling again, including calling > TRACE_DISABLE_INTS (i.e., tra

Re: [PATCH 2/4] powerpc/64: do not trace irqs-off at interrupt return to soft-disabled context

2017-12-04 Thread Michael Ellerman
Benjamin Herrenschmidt writes: > On Mon, 2017-12-04 at 16:09 +1100, Michael Ellerman wrote: >> Nicholas Piggin writes: >> >> > When an interrupt is returning to a soft-disabled context (which can >> > happen for non-maskable interrupts or synchronous interrupts), it goes >> > through the motion

Re: [PATCH 2/4] powerpc/64: do not trace irqs-off at interrupt return to soft-disabled context

2017-12-04 Thread Benjamin Herrenschmidt
On Mon, 2017-12-04 at 16:09 +1100, Michael Ellerman wrote: > Nicholas Piggin writes: > > > When an interrupt is returning to a soft-disabled context (which can > > happen for non-maskable interrupts or synchronous interrupts), it goes > > through the motions of soft-disabling again, including cal

Re: [PATCH 2/4] powerpc/64: do not trace irqs-off at interrupt return to soft-disabled context

2017-12-04 Thread Michael Ellerman
Nicholas Piggin writes: > On Mon, 04 Dec 2017 16:09:57 +1100 > Michael Ellerman wrote: > >> Nicholas Piggin writes: >> >> > When an interrupt is returning to a soft-disabled context (which can >> > happen for non-maskable interrupts or synchronous interrupts), it goes >> > through the motions

Re: [PATCH 2/4] powerpc/64: do not trace irqs-off at interrupt return to soft-disabled context

2017-12-03 Thread Nicholas Piggin
On Mon, 04 Dec 2017 16:09:57 +1100 Michael Ellerman wrote: > Nicholas Piggin writes: > > > When an interrupt is returning to a soft-disabled context (which can > > happen for non-maskable interrupts or synchronous interrupts), it goes > > through the motions of soft-disabling again, including c

Re: [PATCH 2/4] powerpc/64: do not trace irqs-off at interrupt return to soft-disabled context

2017-12-03 Thread Michael Ellerman
Nicholas Piggin writes: > When an interrupt is returning to a soft-disabled context (which can > happen for non-maskable interrupts or synchronous interrupts), it goes > through the motions of soft-disabling again, including calling > TRACE_DISABLE_INTS (i.e., trace_hardirqs_off()). > > This is n

[PATCH 2/4] powerpc/64: do not trace irqs-off at interrupt return to soft-disabled context

2017-11-16 Thread Nicholas Piggin
When an interrupt is returning to a soft-disabled context (which can happen for non-maskable interrupts or synchronous interrupts), it goes through the motions of soft-disabling again, including calling TRACE_DISABLE_INTS (i.e., trace_hardirqs_off()). This is not necessary, because we must already