Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1484832ybp; Fri, 4 Oct 2019 15:54:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzod9IsSGJqbc32v5M0GRjzRWLakItWQD2ZVxoUJ3eLdQikUlYmAw9vMNnXOpRQ/px0BO1O X-Received: by 2002:a50:f045:: with SMTP id u5mr17897829edl.297.1570229678896; Fri, 04 Oct 2019 15:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570229678; cv=none; d=google.com; s=arc-20160816; b=mIy5SJt9pCHZeKTEZLR/O3ATDz/auwCRF4LnXxVQzYt5DrXTZ6iCBG9q+ys3qsgD5u z9XcoodZMbek7K7BurXhRA9MDS+g8Ggj7M/jXLn/jLxsyVaEK+3HIiqqRnPrMsZizj45 fWnUubtwoOkbZjS65RtQr5gCxMr2t6C+lEbQ7SdbjktV+6QEv82JuvZ2b4Gyy+Kckhrd GZYbsvhvoS1sTRFi1kg/ZYVKIdXJsZayAbNTMjw8l/KLdsJC3ygnyutQRD8nsSD+1XWs F7di22jkXQaJmxku76vnwv30kC6FHDR6Mk6V3nZple18BJzBqWQ5ZKqUOB4KnKNaYXw8 J3oA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=19m7S1ibmLavrZocSRtbIxgDYoEh4ZDgSaklaxr4C+0=; b=t9Sr9/lm7OYnSsA31gfdrfurg457tKUCboVmYMRig0LyFZCuSL7avTcxaPQFec1ltK P9K0MXH326RgEihSN7AzGKpPprw9xym68ojiR7pLyzDXpvYlxUK3A+P0lstGRREWqYGH bLqOAHf9m5AVi2c1o3JOJ3ILy2v12Ap6aLG9N834sVjOiT7SgFQYvGYR+o17Z5F3EjPa 9hyAebsSdwCKLGpnLZT1wRDOZflPX5I7SGRFzcp7YuoKsXYtKziyDIcfEyXVtgmbm3B0 4Bc9fLVwxTbIMp4pL7TXAPekVRXczoQr9qEp6oksft6wvLvfbFQg/g/AY53nT5P0ifI1 VEkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=RoVawQ43; 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 e12si4519239edb.262.2019.10.04.15.54.15; Fri, 04 Oct 2019 15:54:38 -0700 (PDT) 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=fail header.i=@lunn.ch header.s=20171124 header.b=RoVawQ43; 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 S1728773AbfJDWyK (ORCPT + 99 others); Fri, 4 Oct 2019 18:54:10 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:33536 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbfJDWyK (ORCPT ); Fri, 4 Oct 2019 18:54:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=19m7S1ibmLavrZocSRtbIxgDYoEh4ZDgSaklaxr4C+0=; b=RoVawQ43TmYht9G8E0Tv66fR6Q xHjHxAiGrRAUs3kAOD8aXD21+iFFomqFnLF6vsLBntn3iJ7LuQjnFWGs3Q8kNg49BtN0m1Q10bdpN TcaiZlf6mn39RJVZ9+SXInEoRCjdLumAJSzwslKFyYGqN8Qhen3E/6/JtPMXlgVQUy18=; Received: from andrew by vps0.lunn.ch with local (Exim 4.92.2) (envelope-from ) id 1iGWSV-0003ji-5G; Sat, 05 Oct 2019 00:53:59 +0200 Date: Sat, 5 Oct 2019 00:53:59 +0200 From: Andrew Lunn To: Andrey Smirnov Cc: Greg Kroah-Hartman , Stefan Agner , Vivien Didelot , Chris Healy , Cory Tusar , Lucas Stach , Jiri Slaby , linux-imx@nxp.com, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tty: serial: fsl_lpuart: Fix lpuart_flush_buffer() Message-ID: <20191004225359.GE3817@lunn.ch> References: <20191004215537.5308-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191004215537.5308-1-andrew.smirnov@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 04, 2019 at 02:55:37PM -0700, Andrey Smirnov wrote: > Fix incorrect read-modify-write sequence in lpuart_flush_buffer() that > was reading from UARTPFIFO and writing to UARTCFIFO instead of > operating solely on the latter. > > Fixes: 9bc19af9dacb ("tty: serial: fsl_lpuart: Flush HW FIFOs in .flush_buffer") > Signed-off-by: Andrey Smirnov Tested-by: Andrew Lunn Andrew