Re: [PATCH] thermal: replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-26 Thread Daniel Lezcano
On 21/10/2020 05:05, Tian Tao wrote: > The code has been in a irq-disabled context since it is hard IRQ. There > is no necessity to do it again. > > Signed-off-by: Tian Tao > --- Whe resending with the log improved, please fix the subject: thermal: rcar: Replace ... Thanks -- Daniel >

Re: [PATCH] thermal: replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-23 Thread Thomas Gleixner
On Thu, Oct 22 2020 at 14:51, Geert Uytterhoeven wrote: > On Wed, Oct 21, 2020 at 2:15 PM Tian Tao wrote: >> The code has been in a irq-disabled context since it is hard IRQ. There >> is no necessity to do it again. >> > Is this also true if CONFIG_PREEMPT_RT=y, and all irq handlers execute > in

Re: [PATCH] thermal: replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-22 Thread Geert Uytterhoeven
Hi Tian, CC tglx On Wed, Oct 21, 2020 at 2:15 PM Tian Tao wrote: > The code has been in a irq-disabled context since it is hard IRQ. There > is no necessity to do it again. > > Signed-off-by: Tian Tao Thanks for your patch! Is this also true if CONFIG_PREEMPT_RT=y, and all irq handlers

Re: [PATCH] thermal: replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-21 Thread Niklas Söderlund
Hi Tian, Thanks for your work. On 2020-10-21 11:05:30 +0800, Tian Tao wrote: > The code has been in a irq-disabled context since it is hard IRQ. There > is no necessity to do it again. > > Signed-off-by: Tian Tao Tested-by: Niklas Söderlund > --- > drivers/thermal/rcar_thermal.c | 5 ++---

[PATCH] thermal: replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-20 Thread Tian Tao
The code has been in a irq-disabled context since it is hard IRQ. There is no necessity to do it again. Signed-off-by: Tian Tao --- drivers/thermal/rcar_thermal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/thermal/rcar_thermal.c