Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5562759ybv; Mon, 17 Feb 2020 23:18:04 -0800 (PST) X-Google-Smtp-Source: APXvYqySiXo6ntLiq7CqSkibOFifLsAMGCJDcFZ8fpztJVD170qo4G+g3wnO16aIv99t7TeI7iUi X-Received: by 2002:aca:55cc:: with SMTP id j195mr423636oib.22.1582010284778; Mon, 17 Feb 2020 23:18:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582010284; cv=none; d=google.com; s=arc-20160816; b=GD3g+YGZnrK4wtQWz2Ff6MCbmEHaG+KRbGfsJS1z5OtbCfeZsBAHvnFx+H6F/Esndf iMvCcRxRCOLpQWzkM1val/kAaFLl0HNRCDyPJINNrVAOs59Uf5YoUKhoVsfyEGME3oi5 sPZnVIDJFQFMjvaFzbmWwpOC2Oe0FcqYDK6FtavpSXP2ECv+VLVUcE26ujS/2dcKF8Gr xHkp/m/Fu9Y4eKWYUIKdIe/83ptIrSs/FOLz+XpfCcrg1Mv9mdUZdaEGsCw/TpGTZGzf PDlvmMzbYjxm+Od1Xvbuv/N0GoSdMY2DV6EgFXljSx61y12ybXlkTIl3NLfM1cNGoWBT aKZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3yBAujwyiKisG6n+Lp0yKAcOfTX0dlyC/Cfcoftj3NM=; b=EpEo7BiKKP7jrTgq6xsvqTA7oZW73Q07G9LXUKiOOVzvFkJcVRDPTY4T4AVqatlt+V tAdS1p1MtrRXrq9iGRpPpPn+K0wenrD47Rqpw03DNcA+1PE7K6/1fE62bLX21BWKsNMJ 7hcKe99UuWQG7jbDH5uY27XOc2kaGhr12Wsye8J7bXncjRcW1CaEBgix6QQspjH1e6M5 fbGNeJE3001poz0G8T5HyMgb9ihKGdWYNu//8aR7BkYGCt2vBSXij/+R3b9zIaZNUG+O fNIKu1PA21gmJdNitJTITeD711mnzLqNnTorcDX5PZXmgkmChud724S+9QFze0upciNB AN0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JHwm9kzU; 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 c189si6845094oig.74.2020.02.17.23.17.52; Mon, 17 Feb 2020 23:18:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=JHwm9kzU; 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 S1726252AbgBRHRr (ORCPT + 99 others); Tue, 18 Feb 2020 02:17:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:39582 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726072AbgBRHRr (ORCPT ); Tue, 18 Feb 2020 02:17:47 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7B597207FD; Tue, 18 Feb 2020 07:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582010266; bh=TptrOmN9olc77EOFb55S0oGUJ2AnHnCIpyfBD4JXfpk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JHwm9kzUgoWAlTQXwUpdpe6fhpgeX19c3Yxgc1Ga4x20dsQh2iWTkLYidTOBxENUG Sc16GXyFOlBH9qK+efHnhQySjDauwZR4hWaB6hSlvIBKbjJbYUJ+WDX8rvbOiqyII6 pgfBIpVWXe/JLq9FbNOCbv6MPEjohNsSzfgSH5FQ= Date: Tue, 18 Feb 2020 08:17:44 +0100 From: "gregkh@linuxfoundation.org" To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= 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: <20200218071744.GA2087281@kroah.com> References: <20200217140740.29743-1-frieder.schrempf@kontron.de> <20200218045008.GA2049358@kroah.com> <20200218070310.ibv2m2f7ihfaevrp@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200218070310.ibv2m2f7ihfaevrp@pengutronix.de> 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 08:03:10AM +0100, Uwe Kleine-K?nig wrote: > 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 If so, it needs to also go to 4.19.y, and someone needs to provide a working backport for both places :) thanks, greg k-h