Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2755706lqz; Wed, 3 Apr 2024 07:47:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtVmGBVS2qzBCHQ5m2Ja14m+8KHKEkgd/6n1T52yD9p7M3wh9PCgSWjJ0zqWUJ06FOK//u2NmQyoyfXQVJ31SeNx18VZa9F4U2dsNnkQ== X-Google-Smtp-Source: AGHT+IGJcq5RqIQKf00XL3U67dONyMt/mwsbHcUSHbX55WVJggW/ZwcJrn9HfzZxEKLg2bQSg9gR X-Received: by 2002:a05:622a:1904:b0:432:2474:feee with SMTP id w4-20020a05622a190400b004322474feeemr20694468qtc.23.1712155672887; Wed, 03 Apr 2024 07:47:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712155672; cv=pass; d=google.com; s=arc-20160816; b=QiRDFaAkQgimv8FrBKjSef0bO2MTKqohRE/i/nb6qhADUQekvz2M7DdL4rv4KLXq1E uHRVc3rbHZEr5xlX1uzea7s17l5GiUf2hQfRfJYmEKeps9cqonnkyOz/2I6rPmsv4ftn uGTMSf6pGbYX8pIGdYhfFxcn6RCmbdj7Z6QTF6Oez8jy2NE+PnU9aSeYCt3eTJVS8HlZ ncSr4QW7AaNFB2gUNC7LhzWWelMbh+OFiCu7uNp2BzJM7FY96RM9toRh7fFGEGUPJ1gA 1bmXCt1Ih6/WmvPH3L4QP5l+/vcicrDqbJ/MFYTvSWuade189l+fSJt6S30zOnJ2bCHU bu+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=cAyBOzgwYb0jYx3hXaabfmF+RZEVzbWT2YKKi7+b48I=; fh=QKgDmNnksEygWIOGmyPEC6/QGoxhDGTtAJU8IHsTnQg=; b=ecou1dY2AKK3KFffJ+c5RGJMTROXBGyHmdextNWGmuweVhS/cuIVKmvqFe6HpKjGf6 0wkHNcOcu38KJuQ2WxG7eRUe2GTzdpBYAEghb1cEs4pnmUO6WotRN4ME2l7KVujBD2K8 Ewc/WPN0AmcenEFvBmRcwvMgq39ltGvIihOixyNnQsLcUvj3dIoGU3wZd0O6RVGoSU2W N5NpcrsdmoBkgyd34Ytm2u8x/EUdFZNeu6fbLzA9si1WfZ/CXl00XFXG65+6Dwy+LWTw ldxvpDyqnmZfcR3re4BIDNIPoUtONzcveHhxz4BRAtMLnKgEDGR5s/tvFNFJq+xszGkk qV/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jWvIwh7D; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-129996-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129996-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m20-20020a05622a119400b00432e25c6e11si8196357qtk.511.2024.04.03.07.47.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:47:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129996-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jWvIwh7D; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-129996-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129996-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 216B61C2328F for ; Wed, 3 Apr 2024 14:47:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C14031494D3; Wed, 3 Apr 2024 14:47:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jWvIwh7D" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AF2C3D96B; Wed, 3 Apr 2024 14:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712155656; cv=none; b=ai4e4uvxEhHJgDuxVrNYhURLIhLqv6dMTs8LXJvR4uuRS1bNWjAWRQGy1F/SA1eXZzazYOWKv2lmRAUig459ZBoAEcKr5L134lc331VT5RSty+RPGpZsRo8HLB4DxWQWXAJnMBOwZsHFd/PjxOCxpKNdVqCqEJhZ0r/t6+0OIgg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712155656; c=relaxed/simple; bh=j+j9gJh9AR/K/6EMcCGKCzoxFBSWKneuP7FZVAR7urU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pdKGFI3KsVuvDMQtFnQwhv8e/SGB6Yj9ikxTQ6NarrzVpcyQBgq2EwBkQFSxz1sRcLdb2I8th+t4cyAmUhYmz6tDeeQobwgSRT45nXkqscJoHN39YKTdpQIZbL0WJy1YPAbgibMMNGXt/BP4IYL3cHeh3DsJuwwD4txQ8FnpbNw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=jWvIwh7D; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712155654; x=1743691654; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=j+j9gJh9AR/K/6EMcCGKCzoxFBSWKneuP7FZVAR7urU=; b=jWvIwh7DnRfiwX9a2vuBmCBqryAhx9PIfgH7zBme+QceQnEc5h7LTmVa n/LjIrBRdGZsQZCA9Bc924ezWH9EHIZ274kwuVjGtqqL4WLiA175rCn16 dXZBv9uSLF8yPDPuDtQnjM/03OMSRRwI89LJPayFeplwmKrpWy3Jpq7C+ sxzZTgJU0pqkE5k2GnMgqGX30WVRiHFZcKuCQUStuJ7RLXjyY5ovIkUyC 9DomxX5nvtgHFpRWtMEhsXJsH14N5BZsBr6ScfnBJv5wM0mi7IlZ/r2BI v6fIHRvLIxbg7PWJGJAkUZlXsRm2pDm7wJgelZeXKEqr7MiZiecMEYYQu A==; X-CSE-ConnectionGUID: phmBKf7YTNKx0ywafCQeAQ== X-CSE-MsgGUID: wY+wciF7Rh2ZiXfiviVLpg== X-IronPort-AV: E=McAfee;i="6600,9927,11033"; a="17963778" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="17963778" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 07:47:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11033"; a="937085162" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="937085162" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 03 Apr 2024 07:47:29 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id D332057D; Wed, 3 Apr 2024 17:47:28 +0300 (EEST) From: Andy Shevchenko To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Jiri Slaby , Orson Zhai , Baolin Wang , Chunyan Zhang , Andy Shevchenko Subject: [PATCH v1 0/3] serial: Do not count XON/XOFF in the statistics Date: Wed, 3 Apr 2024 17:46:14 +0300 Message-ID: <20240403144722.860258-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Some drivers count XON/XOFF in the Tx statistics, some do not. I actually a bit uncertain, but I _think_ the correct way is not to count them, hence this series. Andy Shevchenko (3): serial: core: Don't count XON/XOFF in the statistics serial: fsl_lpuart: Don't count XON/XOFF in the statistics serial: sprd: Don't count XON/XOFF in the statistics drivers/tty/serial/fsl_lpuart.c | 1 - drivers/tty/serial/sprd_serial.c | 1 - include/linux/serial_core.h | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) -- 2.43.0.rc1.1.gbec44491f096