Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1420169rbb; Mon, 26 Feb 2024 08:42:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW67tPsEG2XNeyc/13CKyPh0efrZsSmYOUzH3GlQw5CGea08Qzc+OyFcu8sPs56pqy8+XEGsXbntCAiYZmLMUY1DuuKQrsRokA+QAW80w== X-Google-Smtp-Source: AGHT+IE90LadQRLaBhN485QY2R2RZ0kE5+r2feMW99iQsSlUig1K8Y1HgLsfToY4zhwCxd354w8e X-Received: by 2002:a05:6214:29e3:b0:68f:6dc5:149c with SMTP id jv3-20020a05621429e300b0068f6dc5149cmr8726509qvb.61.1708965751421; Mon, 26 Feb 2024 08:42:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708965751; cv=pass; d=google.com; s=arc-20160816; b=JTNqBjImQR4lOhWC66eFU1G3Vo/SE8JvbPKoTcJ5iV20+p6fMNwe1tnGnO3KFnjGYK sQxc/bDFpYYzUxQDWNuzXFq32IApEUkyvrm1OQNVqoA1rOhA98Wv0p/3+qQHxJJcGrNX ViAJV/+wtsvpVc6CcTZCssoqtYD/mTVzIDxmxPBGuWoXE+PX35XnNdyPkXkUwvoDo+cE Agovk0oMPTSNJEE6o0OTtcpPFVKW14A3Nj8kFmT5UUuTjhcWq/kao3A8SRTMccFCFLnA XqTAUwe5QAtZjqhWMnAdtcneE1xAW9ypUwa/Q3GmXebdZKzy/T9GWEJSAjguykZ50yPG E3bw== 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:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=QGZPKM9XaPm/M/iwCYjVC3Li8qjoukK1wI/DLowvh0M=; fh=d9PCZiIRgHD/kkVI3NmCotGMk0xq3v+82RyiRNVIuEM=; b=u5BUJzmNLK6lW8LF0ix8abW+HPB/zqZP41ZRP6buSIk+L0D8yZ7ImHOcGLXjk+/66c UU6ygWWxsdbgf//V0wJ2B2VLuOXKczJLwZkkfJ3HK5MqWxFeTAnL7cTX/PMfJYq6JchK nSbK+RtBlIes2zcls4MdTXuq9WCQlB1e+M/QGbNp3iZIjMNcefZ9wxD1MM/J4/WVN7za xLFggvlxB0N2tEyrFSD1eDO0cJcGroAZIBZxz1wVqQCVrJ6OucFf9fsy/MqfXYbChQDD F38JFyDtoWa2XAWel63Kyv27LkCPuy2JPktWJbUqSOu4h1Qeu4w0Rv4rA457plGf0hwn 9Phw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o84UwnpX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-81924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81924-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a4-20020ad45c44000000b0068fc29395e5si5547010qva.573.2024.02.26.08.42.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 08:42:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o84UwnpX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-81924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81924-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 300011C27161 for ; Mon, 26 Feb 2024 16:42:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D4E0712C553; Mon, 26 Feb 2024 16:42:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o84UwnpX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 081E2127B4D; Mon, 26 Feb 2024 16:42:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708965745; cv=none; b=EfdLEfzBUmH2PINshBbmGmofG6/dmM4ZTf7OwgZjxUeQPF2LxTYU83rJSnyec6FU0ISG2EiiZ7uOfxO7eyLhL6fBPyB8J+ZoW5XGrcVsaus3CF1QhTWP4HdID+v6aYqzKY7TLh3F8lCMwfNgy6KrB6uh09ei/+MhyhPWgcaLXo4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708965745; c=relaxed/simple; bh=8AG640OYZqzQ6LxfJTFmsUon+8trCgiaSh3ZzJntRzE=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=OXDVoOgUsNHzgYJDljIDQpopNkTDEiTQZt6G/pWfC0NMmmS+tyqAgqAOiCTvPrW1jdEoYc0Kbkm0C4O7tpjA13jKP9z60bGtswYMfJz9ILE4lDbhVFWdzmdqWTBMEwu5aRPvkcXy7iBnxEqNsjRMhPYntBggSROKixxCgJ6+kLU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o84UwnpX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05532C433C7; Mon, 26 Feb 2024 16:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708965744; bh=8AG640OYZqzQ6LxfJTFmsUon+8trCgiaSh3ZzJntRzE=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=o84UwnpXxDnWwEFrDF5GP6RZqVe7tw+qlz6am4i/lT0tYYJjoIDglsB41Tstm/5JD 080Z6WJdV1zSCjXCOlms18v3gZQCXVpE8M0mE6KTyysSc8SgeI/5l/MkecMbWPIS56 kQkY6b5D9rHDkWLr/DwV3bYqc4V5Jfj5inIqGfrGwYzHShdRkUPujzVRrHyblNTCQO akhVkZoT7spphMgb8vZ9jyk4eiZi97VSn28yYyif/UfpHSCv0Yro9lPviG9HSRweiM oYGSJCWrpjTllp9undabBbksord4JQPtJsN8Czuau7NMdAKB5q6oToeLblOAUKXbxQ VAlTVnSOFcPbQ== From: Mark Brown To: =?utf-8?q?Th=C3=A9o_Lebrun?= Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Dhruva Gole , Gregory CLEMENT , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk In-Reply-To: <20240216-spi-mem-stats-v2-1-9256dfe4887d@bootlin.com> References: <20240216-spi-mem-stats-v2-1-9256dfe4887d@bootlin.com> Subject: Re: [PATCH v2] spi: spi-mem: add statistics support to ->exec_op() calls Message-Id: <170896574275.55258.9342782385435188138.b4-ty@kernel.org> Date: Mon, 26 Feb 2024 16:42:22 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.13-dev-a684c On Fri, 16 Feb 2024 17:42:19 +0100, Théo Lebrun wrote: > Current behavior is that spi-mem operations do not increment statistics, > neither per-controller nor per-device, if ->exec_op() is used. For > operations that do NOT use ->exec_op(), stats are increased as the > usual spi_sync() is called. > > The newly implemented spi_mem_add_op_stats() function is strongly > inspired by spi_statistics_add_transfer_stats(); locking logic and > l2len computation comes from there. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: spi-mem: add statistics support to ->exec_op() calls commit: e63aef9c9121e5061cbf5112d12cadc9da399692 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark