From patchwork Wed Apr 17 09:03:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13633051 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC1D9C04FFE for ; Wed, 17 Apr 2024 09:05:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Weus1gk/9kUvAvDUJuseeBYed7ju5o5ZZDPkEdXGJ0c=; b=hqlFffYumoms6C rPzBoPcPxk+QWPHyjuHBjBcHNLZJke5FLDB+d8hSZbnuJ9xS1aD3GNVSOleYsfZdZSXxMO1NwZ2Rd lk9/huvXLgIkw3Bvhq19jhZjOsIEnnxhO6ABJ9izuOTFUN4Rp3C7ca6osu9bhoK7koGt7ObCnRxWj N05dhEosJFDnBVCYgRYvc07RLuyKs1kxOtIErXgA64ysebpbwA2cJiF6uaJrc/4xkbZTi0eeNvghQ 5LUNGVor5fX/C0X6Rr1a5BaAcyZnqoKCRw8Ui7QtTfeybyWuWiqzMveaHe+bjyMZ/8p5ex2EMb1tE loYgg074vKmLswJ9el5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rx1Di-0000000FKKj-0QPM; Wed, 17 Apr 2024 09:04:46 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rx1DX-0000000FKIm-2O39 for linux-arm-kernel@lists.infradead.org; Wed, 17 Apr 2024 09:04:37 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rx1DD-0004ol-PA; Wed, 17 Apr 2024 11:04:15 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rx1DB-00ClGE-Q8; Wed, 17 Apr 2024 11:04:13 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rx1DB-002hLw-2J; Wed, 17 Apr 2024 11:04:13 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Greg Kroah-Hartman , Jiri Slaby , Maxime Coquelin Cc: Andy Shevchenko , kernel@pengutronix.de, Alexandre Torgue , Valentin Caron , Lino Sanfilippo , Thomas Gleixner , Erwan Le Ray , Peter Hurley , Vladimir Zapolskiy , linux-serial@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/2] serial: stm32: Two fixes Date: Wed, 17 Apr 2024 11:03:26 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=710; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=Vy9RxpGJFkyUUn1WJcrbkWAi2j1VMThp4FrzwrvO4aY=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmH5BfsTno6WspytFGVGdPtgzDOQ57SnStMVreu xnM2THkVyGJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZh+QXwAKCRCPgPtYfRL+ ThT0B/44IBFxXJkLjJrE/ZG1oW5gVoGKgsjniS6CKQaN3sKpXtV58WnkjbVzW/iQNtUyNH0oVKj CU5w+Uf2f1Ht2+HFLei+OBZKtRczvYGbg03N34JytZkuIw1OOTwcSm180aqgAnRE5tDtX8+Y34t 0OcAyitQ9FFpZWu/mUTFdkg9bzAmq3AckFCC1TH5cChVcTfAjCKybeMY8zO4mcau9DLGik+y/25 uOSzEFI95gj+Z18uL3fend9iOdVqaiXwfs2AxeeZTx8o+dlVjttT/2SYFBWYl4UFxDFg0aQJ7il DA66aUf0nvLSJGXlsz5mywjXv95Hq3AfrGhJ+Mp9ZR2jzwBA X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240417_020435_626650_5FF78E19 X-CRM114-Status: GOOD ( 10.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, this series contains to fixes that target v6.9 and IMHO should also get backported to stable. For that reason I added a Cc: stable line to both patches. The first patch isn't very critical, it only improves the driver's behaviour if another problem pops up in the future that results in an unhandled irq. The second fixes a real problem for me. Best regards Uwe Uwe Kleine-König (2): serial: stm32: Return IRQ_NONE in the ISR if no handling happend serial: stm32: Reset .throttled state in .startup() drivers/tty/serial/stm32-usart.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) base-commit: 4eab358930711bbeb85bf5ee267d0d42d3394c2c