From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Bernhard Seibold <mail@bernhard-seibold.de>
Cc: linux-serial <linux-serial@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
stable@vger.kernel.org
Subject: Re: [PATCH] serial: lantiq: add missing interrupt ack
Date: Fri, 2 Jun 2023 17:56:43 +0300 (EEST) [thread overview]
Message-ID: <de21c62d-c8a-ccbd-abbe-45bd1c12847@linux.intel.com> (raw)
In-Reply-To: <20230602133029.546-1-mail@bernhard-seibold.de>
[-- Attachment #1: Type: text/plain, Size: 1204 bytes --]
On Fri, 2 Jun 2023, Bernhard Seibold wrote:
> Currently, the error interrupt is never acknowledged, so once active it
> will stay active indefinitely, causing the handler to be called in an
> infinite loop.
>
> Fixes: 2f0fc4159a6a ("SERIAL: Lantiq: Add driver for MIPS Lantiq SOCs.")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Bernhard Seibold <mail@bernhard-seibold.de>
> ---
> drivers/tty/serial/lantiq.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c
> index a58e9277dfad..f1387f1024db 100644
> --- a/drivers/tty/serial/lantiq.c
> +++ b/drivers/tty/serial/lantiq.c
> @@ -250,6 +250,7 @@ lqasc_err_int(int irq, void *_port)
> struct ltq_uart_port *ltq_port = to_ltq_uart_port(port);
>
> spin_lock_irqsave(<q_port->lock, flags);
> + __raw_writel(ASC_IRNCR_EIR, port->membase + LTQ_ASC_IRNCR);
> /* clear any pending interrupts */
> asc_update_bits(0, ASCWHBSTATE_CLRPE | ASCWHBSTATE_CLRFE |
> ASCWHBSTATE_CLRROE, port->membase + LTQ_ASC_WHBSTATE);
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This has been there since the beginning, it is a bit odd if nobody has hit
this before now.
--
i.
next prev parent reply other threads:[~2023-06-02 14:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-02 13:30 [PATCH] serial: lantiq: add missing interrupt ack Bernhard Seibold
2023-06-02 14:56 ` Ilpo Järvinen [this message]
2023-06-05 11:06 ` Bernhard Seibold
2023-06-06 12:46 ` patch "serial: lantiq: add missing interrupt ack" added to tty-linus gregkh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=de21c62d-c8a-ccbd-abbe-45bd1c12847@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-serial@vger.kernel.org \
--cc=mail@bernhard-seibold.de \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).