Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp487121rbb; Sat, 24 Feb 2024 08:57:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX9mGl0GeDvjxFILrbhtRak1AwwGEiewb5kFUWJv967E/zEZbFiBOAqGUa2ROVSxi98kIFMXXRP7xAavgeNrn/ugm31BMKUzHb6EQ3NlQ== X-Google-Smtp-Source: AGHT+IErYpVDyt0uw5tv5SY838Jsp0VVDOclONugOq0zfG6CRc27q8JMfnI5T0vycMFJPFT7/OIH X-Received: by 2002:a9d:7845:0:b0:6e4:85d3:3e65 with SMTP id c5-20020a9d7845000000b006e485d33e65mr3240104otm.8.1708793857013; Sat, 24 Feb 2024 08:57:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708793856; cv=pass; d=google.com; s=arc-20160816; b=ia2gBhyBaVsNbINJNerHTVtE0W1Ndy7YHKSWNwNu0LUD/qajtlCTa5XYu+vcS5XE1E O2+qiMhwqHS4WukMrGCUMLVNKQy4Sfo0bgeEbXybadgekdmVv1ByyfE+W4GpuFdiZKMx JPHsqw7BakcuBey5aaIkisJtEzCgxGyY1heQ5qXxRCEthXEx2MkZfkAIEpJUr5nlwPyJ lUCKRUV6iF8xxw6N6gOkeWqAKBUw3XPHKnlvn5xgEdKPmgvSIGSmtOPpz9uayphd5Ek3 G5yjXZKGMsPhxyXrNsVMMXpDNOS/6GZVFxiucmB2NE2bYTJliIOS1BCz7lbOlTpCC1eS rmNQ== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=AqrSHOJrDR6Gh+m7FknPOH3851L5Py9hwB/WgIAm9fc=; fh=myIfp5tOnTt1AThiPeO8alwqqrU/Bxpzh7s0b6bjsJA=; b=tcHKkt0RHuvHhp95EpYeIcYhaE5GMec1TJU4koGLyh58rgwOGrW84COeu20R0EhKm7 W8GyMcvgGin4UhTe/fveIkKShLByXvnd06wI2Zi9IDPoFtUEffRkl8S2UTue8krWdRFH fWBQ93PMw3NxMFq4rhXIyYn/TdRj9qhm2MkmhW0EN3ZpQtVxrtC/dPzUoQWba+2fy82D 3mpuGnSqZ4X56ge27MmbVIsisaOph9JQYSae+rFgyGFV4CnQyHhjf6rwyO3tHOM8XcXF relrhK8C9JIIpzhBdWGuSTm6CH4Tgv5lvEK/VFZuDEbmcWr2wOqq38UPwobtjOERDEuI Hfpg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o0SNdABS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79749-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79749-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w30-20020a63491e000000b0058556a636dbsi1087513pga.434.2024.02.24.08.57.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 08:57:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79749-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o0SNdABS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79749-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79749-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id AD8A0B21A20 for ; Sat, 24 Feb 2024 16:57:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA69441C6D; Sat, 24 Feb 2024 16:57:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o0SNdABS" 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 071E312B69; Sat, 24 Feb 2024 16:57:23 +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=1708793844; cv=none; b=VGFrogss3SA9J3B2hBjDJ+d0wO3mb33ppJ+ykP6YuQVqHav4+D+bGZBCnFAfaxO76kf3IsY52l+7n4Q7i3i7kCW3GZaCZOeFXoFRZt4ny7lRdj7ur5ckXW85yoBj24YAqvPDMtddm9Mb6leYth/ZCD/H0D3UQuwHHDmvnhg4I1g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708793844; c=relaxed/simple; bh=b1/O19NtIgvo/C+lW8h+C0KQWgkOYejs2p1WPoFlrhQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IEMgUgOO/pGUS9BkRJDVEJ47OrU6I7/VtIczCCIkps6EAHu8FOxSpNGdEyO4rlKKpa+tgLjyrYtiawUUxsKHyqSPogSxitPORzWK2HPFdC3s7Jn2Hd074f+6VAZy2kze7REtoTPbIZ5JXz/sawsQIItCUBMyuqYoaPUayykRTRc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o0SNdABS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E09E2C433C7; Sat, 24 Feb 2024 16:57:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708793843; bh=b1/O19NtIgvo/C+lW8h+C0KQWgkOYejs2p1WPoFlrhQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=o0SNdABSZnstzIU5Tkf/2awpLbq6irmAkpVOB826tfoe+pTjmSkJv7cWfXBql67Cy 2ykl6W0SfHuZQKaM7IDFV4s0rolTsZlDVJD6weRIv1T2x5EEmbpa+ACLQScmDPEYcu YKhO5EHBaxgAeMKVyF788hgYzJIuqnLPfH9frtZS/zJm1jJ59LlFsXXNja5y+60Rlw Dbzo/da4Zum8Sdp/+fuiXvZAkU3ultlDRy0pZMZaWWcCpdfnMGdoJ7ys4tBN1LYXnC NG5yZTgqyODzmpC773fHbt+nCY6qm4yGyx44JMj6nxrI3QXhybydAkPiZhFnnVVrUg GgCeUxwIy2yMg== Date: Sat, 24 Feb 2024 16:57:06 +0000 From: Jonathan Cameron To: David Lechner Cc: Mark Brown , Martin Sperl , David Jander , Michael Hennerich , Nuno =?UTF-8?B?U8Oh?= , Alain Volmat , Maxime Coquelin , Alexandre Torgue , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org, Julien Stephan Subject: Re: [PATCH v2 5/5] iio: adc: ad7380: use spi_optimize_message() Message-ID: <20240224165706.18cc0d7e@jic23-huawei> In-Reply-To: <20240219-mainline-spi-precook-message-v2-5-4a762c6701b9@baylibre.com> References: <20240219-mainline-spi-precook-message-v2-0-4a762c6701b9@baylibre.com> <20240219-mainline-spi-precook-message-v2-5-4a762c6701b9@baylibre.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 19 Feb 2024 16:33:22 -0600 David Lechner wrote: > This modifies the ad7380 ADC driver to use spi_optimize_message() to > optimize the SPI message for the buffered read operation. Since buffered > reads reuse the same SPI message for each read, this can improve > performance by reducing the overhead of setting up some parts the SPI > message in each spi_sync() call. > > Signed-off-by: David Lechner Looks good to me. As this is the driver you asked me to drop earlier this cycle, how do we plan to merge this series? If Mark is fine taking 1-4 with the user following along that's fine by me, if not I guess we are in immutable tree territory for next cycle? Jonathan