Re: [PATCH] powerpc/64: prevent replayed interrupt handlers from running softirqs

2021-01-21 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of January 21, 2021 10:50 pm: > Nicholas Piggin writes: >> Running softirqs enables interrupts, which can then end up recursing >> into the irq soft-mask code we're adjusting, including replaying >> interrupts itself, which might be theoretically

Re: [PATCH] powerpc/64: prevent replayed interrupt handlers from running softirqs

2021-01-21 Thread Michael Ellerman
Nicholas Piggin writes: > Running softirqs enables interrupts, which can then end up recursing > into the irq soft-mask code we're adjusting, including replaying > interrupts itself, which might be theoretically unbounded. > > This abridged trace shows how this can occur: > > ! NIP

Re: [PATCH] powerpc/64: prevent replayed interrupt handlers from running softirqs

2021-01-20 Thread Athira Rajeev
On 20-Jan-2021, at 1:20 PM, Nicholas Piggin wrote:Running softirqs enables interrupts, which can then end up recursinginto the irq soft-mask code we're adjusting, including replayinginterrupts itself, which might be theoretically unbounded.This abridged trace shows how this can occur:! NIP

[PATCH] powerpc/64: prevent replayed interrupt handlers from running softirqs

2021-01-19 Thread Nicholas Piggin
Running softirqs enables interrupts, which can then end up recursing into the irq soft-mask code we're adjusting, including replaying interrupts itself, which might be theoretically unbounded. This abridged trace shows how this can occur: ! NIP replay_soft_interrupts LR