Re: [Openipmi-developer] [PATCH] ipmi_si: replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-27 Thread Corey Minyard
On Sat, Oct 17, 2020 at 09:40:10AM +0800, Tian Tao wrote: > It is redundant to do irqsave and irqrestore in hardIRQ context. Are ACPI GPEs run in hardirq context? I looked around a bit and couldn't tell. If not, then I can't take this patch. Otherwise, it's ok. -corey > > Signed-off-by: Tian

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

2020-10-16 Thread Tian Tao
It is redundant to do irqsave and irqrestore in hardIRQ context. Signed-off-by: Tian Tao --- drivers/char/ipmi/ipmi_si_intf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 45546ac..97452a8 100644