Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5551959ybv; Mon, 17 Feb 2020 23:04:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzTd5qaHTV+cpGCROgAgKPotjLVaGt+JibTi1QmiDT9QT1tOJ6eoqSWFOr5zQpcRNRtdTLN X-Received: by 2002:a9d:784b:: with SMTP id c11mr14057903otm.246.1582009452854; Mon, 17 Feb 2020 23:04:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582009452; cv=none; d=google.com; s=arc-20160816; b=0Kz3a+FhLKvDJyIo2ZNJOLkN2DXL1FN7i8o33pY/OXZIb5ctlBgwMGqCZNCYu6ztx8 iZM9Xpjc+uC5k3BvwlvR1bIfp0n8wuMfEFI2WVMbnZKbjNlF8+cL0gIupMIjWMBzvHMU EyY1B+4SR4ydXPZIxpif7h8s1/+P3yFgmuMynvLt7ZJqv/0v+OsG/RZcK4DzmaMQJGMK keYP5Xce7Cvxj1TzKFsRHTTkam97+tmSMrSy0PZyVQL2RpdbKympmU5hjalnCnqscWxz gTa+f4ghxA9Ux5zxBqevqpEbdeHWm2mB7Eix0ke5xOFSF8+tG2MOLHLGUXcgZ77slOEY x61w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=3JXZCkQVgpDHoJyWgEoFBC9UmWsL3mDJeg1hJjiqsNU=; b=q+83dov17YbfAPLGZoFWfZwBrNaMWGx3Kdht+HRrP1/23WvvjjugaCsy8SsorqgR+j dD0nu1oixDWvOYup1ur3kzTSIUx7yOu/+Zfj3YOYyetHAt/0X0r6fu9sycl8lPrIchJB Lo/3qqNg91RKQ0AnvJbKqs7vjSxWizseKT7ATPZU01L00j/Dqm2MIhkdyRMBJfOStTx5 kObQ+BU61lNNft0gBwFYnXiUqsALMg2qHFsQjXBxzjqmjo6/Q3o5AhatGCPpAEZnAkEZ unm53qhcCsUVsE+a6/EEAwagsK4VG0z3PSHqVVfT5P78tZtL7SJmp/yY3AevdZxnEVNI BRvw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h17si12762oib.234.2020.02.17.23.03.59; Mon, 17 Feb 2020 23:04:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726363AbgBRHDQ (ORCPT + 99 others); Tue, 18 Feb 2020 02:03:16 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:48427 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726104AbgBRHDQ (ORCPT ); Tue, 18 Feb 2020 02:03:16 -0500 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j3wuV-0007Ym-Hi; Tue, 18 Feb 2020 08:03:11 +0100 Received: from ukl by ptx.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1j3wuU-0005OG-LI; Tue, 18 Feb 2020 08:03:10 +0100 Date: Tue, 18 Feb 2020 08:03:10 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: "gregkh@linuxfoundation.org" Cc: Schrempf Frieder , "stable@vger.kernel.org" , "shawnguo@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-serial@vger.kernel.org" Subject: Re: [PATCH 0/2] serial: imx: Backport fixes for irq handling to v4.14 Message-ID: <20200218070310.ibv2m2f7ihfaevrp@pengutronix.de> References: <20200217140740.29743-1-frieder.schrempf@kontron.de> <20200218045008.GA2049358@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200218045008.GA2049358@kroah.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 18, 2020 at 05:50:08AM +0100, gregkh@linuxfoundation.org wrote: > On Mon, Feb 17, 2020 at 02:08:00PM +0000, Schrempf Frieder wrote: > > From: Frieder Schrempf > > > > A customer of ours has problems with RS485 on i.MX6UL with the latest v4.14 > > kernel. They get an exception like below from time to time (the trace is > > from an older kernel, but the problem also exists in v4.14.170). > > > > As the cpuidle state 2 causes large delays for the interrupt that controls the > > RS485 RTS signal (which can lead to collisions on the bus), cpuidle state 2 was > > disabled on this system. This aspect might cause the exception happening more > > often on this system than on other systems with default cpuidle settings. > > > > Looking for solutions I found Uwe's patches that were applied in v4.17 being > > mentioned here [1] and here [2]. In [1] Uwe notes that backporting these fixes > > to v4.14 might not be trivial, but I tried and in my opinion found it not to be > > too problematic either. > > > > With the backported patches applied, our customer reports that the exceptions > > stopped occuring. Given this and the fact that the problem seems to be known > > and quite common, it would be nice to get this into the v4.14 stable tree. > > Thanks for the backports, both now queued up. To complete these fixes you also want to backport 101aa46bd221 serial: imx: fix a race condition in receive path Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | https://www.pengutronix.de/ |