[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGsJ_4yLruLKnKc6kpr1JZ8BSSS4wAyvxeGm6A+S7-rLAZAVmg@mail.gmail.com>
Date: Tue, 28 Aug 2018 16:36:38 +0800
From: Barry Song <21cnbao@...il.com>
To: hangdianqj@....com
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, jslaby@...e.com,
linux-serial@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] tty:serial:imx: use spin_lock instead of
spin_lock_irqsave in isr
jun qian <hangdianqj@....com> 于2018年8月27日周一 下午10:49写道:
>
> Before the program enters the uart ISR, the local interrupt has been
> disabled by the system, so it's not appropriate to use spin_lock_irqsave
> interface in the ISR.
>
> Signed-off-by: jun qian <hangdianqj@....com>
many discussions have been done with jun in wechat regarding this patch. and
Reviewed-by: Barry Song <21cnbao@...il.com>
> ---
> drivers/tty/serial/imx.c | 21 ++++++++-------------
> 1 file changed, 8 insertions(+), 13 deletions(-)
>
Powered by blists - more mailing lists