Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4622340rwb; Mon, 31 Jul 2023 09:32:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlFxQFCdxG9ke5wo0VIvnQyV8HAbKMTXwB3YXopZc9Op6Tw5/3uR1cdarmfRR6NhdtGbPNpC X-Received: by 2002:a05:6a20:7da1:b0:134:16a3:83ad with SMTP id v33-20020a056a207da100b0013416a383admr10211378pzj.57.1690821148780; Mon, 31 Jul 2023 09:32:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690821148; cv=none; d=google.com; s=arc-20160816; b=LJZDvZMSSSTNnqD9tpKYTDs/ReCt8MW9aDjxaD+/HcSOqzIf8/tCEjy0J3g1dAbibG 2/r7sjCZwM/vRh1zgzgmjlkrYfbMXdIOrPj7HgfH6LSDRjk9nut4L7FljBUwNpoCPDgo QjY82fLRVL3/k5M4zZuKjJFnNGR2jCMQAaqd1MjfA7QGA02eI+Wk5VrcCB3Dod8CP+Ki g3Y2qaxoFKm9ZAtlqFVKnuT1bgqru4sKRAMSGGpzK33V/dP/xrkn52rS/+9O5F6Tec7t RSK0lwzPfvXS+xDax71UuEiGYtpnHmm5JlzBnYAfkng3Io8hXaUXOspwiVv8spisnc1e ioXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QUw8urzaNl1ifwk+ptQ5Dg19fgyhgCR+rSWo9+7Z8/U=; fh=Yt0l+YpZSBRO8omyADSLLWccbpP2iN4t7Vi3MdDi+0Q=; b=Hm4R2m6SHuCdSdLG7HWYEWgAzRpxw8MUAlieyWnhQqcF765+I+mhfKrJMwrFwbVG3M qdW3cJOpotL0H03SOWYEwvheNd+JoJ4vnRGJj2YxL6VAW8ua8e46kNrjRhE0mm3nIKNH WiR+7d6f1JqpgUTKsc4m+QRCll3LVoEAjibzFrzoLy83aPJ5ii6wdlfhof6PSu/DcLk2 6KRjRZX/qUAVuHbi4XzLzFaGLQCHIqveDjhbytb77xj9+UboPtj9Mi0rd+BexO2olhrJ W2o86IF0LCaYatE8cr+2Ogj48lNIp2eI2/zR117mla02v/FBvglOejuV+kYcctoZkdvE SrmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eYuSN8EF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i7-20020a655b87000000b0055c0477e26dsi280010pgr.475.2023.07.31.09.32.15; Mon, 31 Jul 2023 09:32:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eYuSN8EF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231356AbjGaPNV (ORCPT + 99 others); Mon, 31 Jul 2023 11:13:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231166AbjGaPNT (ORCPT ); Mon, 31 Jul 2023 11:13:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 105B21702; Mon, 31 Jul 2023 08:13:19 -0700 (PDT) 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 A238761197; Mon, 31 Jul 2023 15:13:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E584C433C7; Mon, 31 Jul 2023 15:13:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1690816398; bh=MrF8t4t8uZvmRiF8M4pqprmOZSgb4oSYLczB3T4NgPY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eYuSN8EF6dbJJwz5kYvjtRQHEirq5FstpPilnFRsZt1Eh6QBnsOyYNSwMbskHFPyC hAIEAhlQcHT9Chsxo9VdFI1VgjpH0GrUHKRECmuEBvFz7dZHVlX6RIGUEzcBsbEpS8 paqhOgiC2Yxfj+uN/q1+ZAGLqfFJf8t2cHm3l07Y= Date: Mon, 31 Jul 2023 17:13:15 +0200 From: "gregkh@linuxfoundation.org" To: Sherry Sun Cc: Jiri Slaby , "tomonori.sakita@sord.co.jp" , "atsushi.nemoto@sord.co.jp" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH] tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms Message-ID: <2023073106-disallow-sketch-c5cf@gregkh> References: <20230731015053.15150-1-sherry.sun@nxp.com> <51a7f260-59f9-2cd4-9d49-484df00fb3b2@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 31, 2023 at 05:50:46AM +0000, Sherry Sun wrote: > > > > -----Original Message----- > > From: Jiri Slaby > > Sent: 2023年7月31日 13:24 > > To: Sherry Sun ; gregkh@linuxfoundation.org; > > tomonori.sakita@sord.co.jp; atsushi.nemoto@sord.co.jp > > Cc: linux-serial@vger.kernel.org; linux-kernel@vger.kernel.org; dl-linux-imx > > > > Subject: Re: [PATCH] tty: serial: fsl_lpuart: Clear the error flags by writing 1 > > for lpuart32 platforms > > > > On 31. 07. 23, 3:50, Sherry Sun wrote: > > > Do not read the data register to clear the error flags for lpuart32 > > > platforms, the additional read may cause the receive FIFO underflow > > > since the DMA has already read the data register. > > > Now all lpuart32 platforms support write 1 to clear those error bits, > > > > What does this "Now" mean? Will this change break some older platforms? > > Hi Jiri, > > Sorry for the confusion, maybe the "Now" should be removed here. I can > send a V2 to improve the commit message if needed. Please do, thanks! greg k-h