Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp429689imw; Fri, 15 Jul 2022 06:07:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tIw8vDTRJPqM+AjkwN1FqHtxdI94uXlz4McF3Hp/wo1j2ERE+YZlut0WO3/nKoLQCuf4Ev X-Received: by 2002:a05:6808:14cf:b0:33a:3606:b362 with SMTP id f15-20020a05680814cf00b0033a3606b362mr5313715oiw.195.1657890424506; Fri, 15 Jul 2022 06:07:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657890424; cv=none; d=google.com; s=arc-20160816; b=fENae5WjSqwgX9uUjXDCfkIj/gLb6p0ANGtkT+rPfEpYEBeEXP1bVznzKDPr5ukbQk drU12vMOcDOmTS18YF92aWFjq5YiWuCmEO9Aaw2I90FpO1YxtMx/TrBvu9w7FztDAJT2 lwq6wgZ3yK/Z0WJrUs4VY7K5HZruNw9tsS0D2v+nlJRW49zFXYDI4ZqGrhSYvNlAg0t3 8UoWSSjmeR8phkBEnTAyGz7UsOcjYPLVGLNjylV3Uplb0y4fWkRbxQFfUpdI7oIHM/Wl lTxywzEf/H5sWKOdVmfl6ZkWVVkHHKvGjfGBcN1ugH/b3U7VADm01AnjYveo6PnUfNhx 96AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=DtoALRRgxEEDsBQkleXCfpSZd8r6aW6vYyk+CuIr5DA=; b=MSEPKZeVMiQuiv/GhGYQpAqKGZtS5u5d3t/Pqv/PoIk/I1u0LhVRaG2Uz+24nvPzOq fCMLaENrFvREwoms+hK/jkuG/m4gI+NaItVKVv/45TiDlyINUMu67aqBAg4G9CANPEQR zqTNr7UsN2vjsg1CvbyKvu10h9aBWnykIy3ahnipDVCKUTRLxBuqHPnmigg1ceQREi1g Az9yI43BoP096cIyewhm5LwlUfOsO8/F4/g0KX+6ZmL7hV7f/H29jIA5L7Opuk6tHcw7 YfMyraCFHs9gDqk/umLw3Bs6sPWcEKB9nnLTeiNTumhoaMeV6mhEXg02aSr4dVY765Xw rMeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=jn11NQbV; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r17-20020a056830237100b0061c87944064si619157oth.326.2022.07.15.06.06.48; Fri, 15 Jul 2022 06:07:04 -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=@walle.cc header.s=mail2016061301 header.b=jn11NQbV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233839AbiGOMdv (ORCPT + 99 others); Fri, 15 Jul 2022 08:33:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229782AbiGOMdt (ORCPT ); Fri, 15 Jul 2022 08:33:49 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 564B7BE25; Fri, 15 Jul 2022 05:33:48 -0700 (PDT) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 25E0322175; Fri, 15 Jul 2022 14:33:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1657888426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DtoALRRgxEEDsBQkleXCfpSZd8r6aW6vYyk+CuIr5DA=; b=jn11NQbVP6cZ+XfikQ7Y2sGDyR6oPV0diXN4mJDek6Hk2d4YzrpT+TI80qAFaADwv53T0w 2TuXhslPQ3Iscgh9hPHe5svKCQ0mj5vqk8J9d/tfJPy9O8u4sxySRvZvCAjVq9PS+DHmE9 Y1Iyq9GikC8gQDrPFauUGM9Ad8ROXf8= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 15 Jul 2022 14:33:46 +0200 From: Michael Walle To: Sherry Sun Cc: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: Re: [PATCH 1/2] tty: serial: fsl_lpuart: correct the count of break characters In-Reply-To: <20220715025944.11076-2-sherry.sun@nxp.com> References: <20220715025944.11076-1-sherry.sun@nxp.com> <20220715025944.11076-2-sherry.sun@nxp.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <71eee711668a0a17a7f5a44096f2c398@walle.cc> X-Sender: michael@walle.cc X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 Am 2022-07-15 04:59, schrieb Sherry Sun: > The LPUART can't distinguish between a break signal and a framing > error, > so need to count the break characters if there is a framing error and > received data is zero instead of the parity error. > > Fixes: 5541a9bacfe5 ("serial: fsl_lpuart: handle break and make sysrq > work") > Signed-off-by: Sherry Sun Reviewed-by: Michael Walle -michael