From mboxrd@z Thu Jan 1 00:00:00 1970 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 3C9B4EB64DC for ; Wed, 21 Jun 2023 08:44:14 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QTpqsYkgBxu8y+4ZCMe95xmJxnfBBvFh2j9ot05e1ag=; b=rTe0lHRhFmf7/7 r4PY3uksm6GbmBllTKRXiLM6W2gKYZXJfhEPExPZwv0hfJS4zsnCZwoWA735vWj/5ks3qCu+gCMLj DYwQe1cFEyu8FYP1SS47L6uLHka2PTxoI/8B/OFHy2jgjBCN3PtfCrCf1NYHgghxSIOEIlfb91W23 wyZ6+OTzEMWhEfREeF48RuXFr67XimnVmmV5zjg0FHWQ1dssJ+ZyzOIQIee2eFH4wkKupopzu61uM UJndZsNgw9SB6qfgXxyXcCyWumQe/imlUSrjBrDd6B4oeCMX5Ljuag4GD8Evui/R32GONnxVaApy/ Ykq78eOytLtXimvxpoYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBtRQ-00Djku-03; Wed, 21 Jun 2023 08:43:52 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBtRK-00DjiQ-0J for linux-arm-kernel@lists.infradead.org; Wed, 21 Jun 2023 08:43:49 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4B470614AD; Wed, 21 Jun 2023 08:43:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A255C433C0; Wed, 21 Jun 2023 08:43:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1687337024; bh=jPh+cWIIzkVcOdfCDcCnL3RUU3xzOmiv/mpSQR1lbjE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CMcCXp74OoMp9wF9KLI+/cK7HLw2b+mp6smTvz5M36Lwm2Ko0h/jUkjgzsWzZEFEx +v+yjwLIRhUolwuAhljVhXXNmXZit3cU3moVCtkVSbz7286kacn4p9GkS4oC8jWPRZ xR9GQyGXvXOU1Hu5kIIxY4r1Ea7Hk7IE8mtoXRbs= Date: Wed, 21 Jun 2023 10:43:39 +0200 From: Greg Kroah-Hartman To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Linux regressions mailing list , Stefan Wahren , Pengutronix Kernel Team , Jiri Slaby , Stefan Wahren , Sascha Hauer , Shawn Guo , Sergey Organov , NXP Linux Team , linux-serial@vger.kernel.org, Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Fabio Estevam , Tomasz =?utf-8?Q?Mo=C5=84?= , Linux ARM Subject: Re: Regression: serial: imx: overrun errors on debug UART Message-ID: <2023062116-skintight-royal-39d8@gregkh> References: <87mt3ynsa7.fsf@osv.gnss.ru> <87sfcy8ncu.fsf@osv.gnss.ru> <534ac8db-ae8f-1ea3-9aa9-2105db7f7a52@i2se.com> <203ce87f-2898-eb10-2f8c-f237859d75e6@leemhuis.info> <87ttw2vnn0.fsf@osv.gnss.ru> <3853881c-976f-dadc-b64b-4ffd8cc88cf0@leemhuis.info> <2023062046-jersey-facecloth-7a5d@gregkh> <20230620192748.ey4oah22resbblej@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230620192748.ey4oah22resbblej@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230621_014347_336271_FB38EB64 X-CRM114-Status: GOOD ( 29.62 ) 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: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jun 20, 2023 at 09:27:48PM +0200, Uwe Kleine-K=F6nig wrote: > Hello Greg, > = > On Tue, Jun 20, 2023 at 04:59:18PM +0200, Greg Kroah-Hartman wrote: > > On Tue, Jun 20, 2023 at 04:47:10PM +0200, Linux regression tracking (Th= orsten Leemhuis) wrote: > > > On 24.05.23 15:07, Stefan Wahren wrote: > > > > = > > > > Am 23.05.23 um 21:44 schrieb Sergey Organov: > > > >> "Linux regression tracking (Thorsten Leemhuis)" > > > >> writes: > > > >> > > > >> Solving this would need to identify the cause of interrupts being > > > >> disabled for prolonged times, and nobody volunteered to investigat= e this > > > >> further. One suspect, the Linux serial console, has been likely ex= cluded > > > >> already though, as not actually being in use for printk() output. > > > >> > > > > = > > > > I don't think that we can exclude the serial console as a whole, i = never > > > > made such a observation. But at least we can exclude kernel logging= on > > > > the debug UART. > > > = > > > Stefan, just wondering: was this ever addressed upstream? I assume it= 's > > > not, just wanted to be sure. > > > = > > > I'm a bit unsure what to do with this and consider asking Greg for > > > advice, as he applied the patch. On one hand it's *IMHO* clearly a > > > regression (but for the record, some people involved in the discussi= on > > > claim it's not). OTOH the culprit was applied more than a year ago no= w, > > > so reverting it might cause more trouble than it's worth at this poin= t, > > > as that could lead to regressions for other users. > > = > > I'll be glad to revert this, but for some reason I thought that someone > > was working on a "real fix" here. Stefan, is that not the case? > = > Sergey Organov already said something similar, but not very explicit: > With the current understanding reverting said commit is wrong. It is > expected that the commit increases irq latency for imx-serial a bit for > the benefit of less interrupts and so serves the overall system > performance. That this poses a problem only means that on the reporter's > machine there is already an issue that results in a longer period with > disabled irqs. While reverting the imx-serial commit would (maybe) solve > that, the actual problem is the other issue that disables preemption for > a longer timespan. > = > So TL;DR: Please don't revert the imx-serial patch. Ok, will leave this alone, it shouldn't be marked as a regression. greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel