Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1554902ybp; Fri, 4 Oct 2019 17:15:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfQfDqKd57z+XaFEv7n4rL0nJyn01SxIQZzfrQHzpTzaZ6rGDl++zZ2IKkc1lgQp9lgYO1 X-Received: by 2002:aa7:c34b:: with SMTP id j11mr18211475edr.245.1570234549767; Fri, 04 Oct 2019 17:15:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570234549; cv=none; d=google.com; s=arc-20160816; b=mXl8rYOfPMZW4/0OcY5JnrWlqYkWnUWYVmhhzJQix9/JAWpsZb1YV4fMSxyt4MlEOu p5ixuyt9Kpp8wgl8mrfM451QjnVZYju0s9m8F8lRh/CMNitYHG1sB0bN8MeRcWy+/hac m6Ct5HGvvOEVfwP/PYbhuq0lmx9wIW1t5Y3tzhlF7tXfPxF9J+xZZTJ3tgCMCbhOI2KI Fqx0jGcZTGmS+xesBIEJVV0urRZc3Ax4yIAEU2902oiCwlZYGkF9DOWg+KFnDLGImT5b MO9s0/BV8zNl17FCJWANlSJcJSgbLSWNs/tpNGOiB/Scm12vnheF9VeEYB20+RwinfSs jBtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-disposition:mime-version:references:in-reply-to:subject:cc :to:from:message-id:date:dkim-signature; bh=UB1bvAHKtB8Fu/zPJekZdh4cFOIGI0vJgOHseb20dz4=; b=ZPtbqhiihBPp5Zv2mp4qj5k5Hx6AwfQtkTseK6UT5+OPEn22qxlRTYgIAIK6YzXfdc HuHWJMguQbTrGEmRDB7/U0uojhHUfE6IU9slwMM5HXf3Hepds65WQ3v8tOZL/tSTQAqB SpodsiggmY+q9oOfQwPjfppi7i5d3b2Glbhp28aPgNiEDHnlaOtrBh1gW1MrbGT+dzs/ Ba8kvDTOZ67HIElHbjQvlI8GnMNamCrtxIAQa6bVijlXsdrBcUaT/ONljym2MHHLdvTM 0xJuz1erfeqayyKQUPReydcLwPc2m8LZEagl/XEBC40znOJWJbpa8dcLU1+3biRFIVcb R8dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=F6l7A8HW; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si2528609ejp.430.2019.10.04.17.15.13; Fri, 04 Oct 2019 17:15:49 -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=pass header.i=@gmail.com header.s=20161025 header.b=F6l7A8HW; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730575AbfJEAM7 (ORCPT + 99 others); Fri, 4 Oct 2019 20:12:59 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:37708 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728172AbfJEAM6 (ORCPT ); Fri, 4 Oct 2019 20:12:58 -0400 Received: by mail-qt1-f194.google.com with SMTP id l3so11035841qtr.4; Fri, 04 Oct 2019 17:12:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-disposition:content-transfer-encoding; bh=UB1bvAHKtB8Fu/zPJekZdh4cFOIGI0vJgOHseb20dz4=; b=F6l7A8HWxprwza4dQkT8lMxz7mQHRHhzQMCewXGRc7Qc/CL6Iw4cIB5DMTPdB1dOlX MfthZ6k5vqUn/ELztTIsnTTwYetTee+wNiaYFnD3MaLbxyxW8AHi3sZlM0UdxXraefMR kzBb/4wTtUG45ILORv4+bg/1QKnum/eXkyIbFKwCvJLUmQ1EVo4HtOt3FQxogAvksi+v wrFmyqGbhVgLGPCb5vp6s1KJygxTt+EfkPIWMXJ+Cd7x15Sk9rG3jC3WNeoZghdgcjd5 NpFq0T8csCR5IWatlP6WNBWHQXAXjjrm7qUAmxbVn0y9NaSTJAxCFKHCoM0CF39KnyMX gY6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:cc:subject:in-reply-to :references:mime-version:content-disposition :content-transfer-encoding; bh=UB1bvAHKtB8Fu/zPJekZdh4cFOIGI0vJgOHseb20dz4=; b=S3Y2RkKItfRh1BocbXU3vQPjnZKNzQ5BhUYpOENSuzGVyCNWZb0st11atxKoiEajB5 PLqHbn0nnDfRodJActn0Htk7JfhCBJDob1CvmGGVMz++BC73H8Y/DG29pyGMzLPnBG8K dDowV6iynbQaDryGy51vpdRovXZHDjYOyNm5SMbhVI8mgw4qNEoc554PDAN0foJbYvxk SUxoZuq1WCT4yF1YHF4aiQA7meuNIIFajcF5WW1847k8LiNR6DeryBwzCf0JWsWIui/j RqC53VfHa61LsrcwIATCMk2d+sg1o4B/hDjia2qNutrt48hy8J+Gt0nfbqiwTPlExZmf ghzA== X-Gm-Message-State: APjAAAXPtkpzIVpmeoaFKmIA4G0GZb4tQLpA9bS3zMUArNsoKcZanJcI H2YqDaASWIIPYoBnG6DqLYA= X-Received: by 2002:aed:3e66:: with SMTP id m35mr18462098qtf.325.1570234377602; Fri, 04 Oct 2019 17:12:57 -0700 (PDT) Received: from localhost (modemcable249.105-163-184.mc.videotron.ca. [184.163.105.249]) by smtp.gmail.com with ESMTPSA id w73sm4012016qkb.111.2019.10.04.17.12.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2019 17:12:56 -0700 (PDT) Date: Fri, 4 Oct 2019 20:12:56 -0400 Message-ID: <20191004201256.GB32368@t480s.localdomain> From: Vivien Didelot To: Andrey Smirnov Cc: Greg Kroah-Hartman , Andrey Smirnov , Stefan Agner , Andrew Lunn , 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() In-Reply-To: <20191004215537.5308-1-andrew.smirnov@gmail.com> References: <20191004215537.5308-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrey, On Fri, 4 Oct 2019 14:55:37 -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 This fixes the TTY on my ZII Devel Boards Rev B and C: Reported-by: Vivien Didelot Tested-by: Vivien Didelot Thank you! Vivien