Re: [PATCH v5 29/48] powerpc: add set_dec_or_work API for safely updating decrementer

2021-04-02 Thread Nicholas Piggin
Excerpts from Nicholas Piggin's message of April 2, 2021 1:03 am: > Decrementer updates must always check for new irq work to avoid an > irq work decrementer interrupt being lost. > > Add an API for this in the timer code so callers don't have to care > about details. Oh I forgot to update the ch

[PATCH v5 29/48] powerpc: add set_dec_or_work API for safely updating decrementer

2021-04-01 Thread Nicholas Piggin
Decrementer updates must always check for new irq work to avoid an irq work decrementer interrupt being lost. Add an API for this in the timer code so callers don't have to care about details. Reviewed-by: Alexey Kardashevskiy Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/time.h