Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1314002rbb; Mon, 26 Feb 2024 05:49:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWt+R361blz7IDd8VAa7c4X+DDsVj6bNoMuEjn7stUNP9L/6WwDvfOCw0YGakK6FTTwenXPz0DmyE0sWiOvBeUfS/R9CDH14sPOMDHJyQ== X-Google-Smtp-Source: AGHT+IG8PND7xQUp2/qsaZCurWqidSxnOaJIcpzv8L6fUpTuGVrwsh/rhE9zNI6/Zlbt58UwBJsW X-Received: by 2002:a05:6870:524f:b0:21e:6d57:81f7 with SMTP id o15-20020a056870524f00b0021e6d5781f7mr8920636oai.17.1708955347748; Mon, 26 Feb 2024 05:49:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708955347; cv=pass; d=google.com; s=arc-20160816; b=yP8B6BK0xVUqBf+BHS/N/OBS4a9W2WEJA/Sb8NnAIjQt2DhWIa+2FkwHp7CVNgfZfF r0w6MEMbK3PDv+Kw313YAN8OZt33ES/kQf5k9ptIdS89AXEd3S7LHGlVgW4GWZ5qQvN/ /w3NBLhftiQ9dVz/Ry5D22DymYnYGbQnfDYC6/mNEv/yoAa56bZjssE/ORX8oBjPgoSj L57CSSI3RtMdAZTmUJ0OGGgdVEUkrj03kzcVpNDIbFuoLbYh/S3i1ifpRQWLJkhYoGhj Ae+I3TIh8Lv2FkGk/WTFuhz1lD3k7Cx8UfRXC7gkeuxUFR0+uU4AvtIPWTejpkxxgHYy 0u5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=L67kHgGCs3Cvh/Ei0DU5lrJ2B7SBYL1CCN3r0aBSxi8=; fh=KXgyLqb1iSkedjfXtlLUfR/OcZydMQtDj98Eshugq2I=; b=M2w3QKVR7kJ0CC8Gi1ho/cUXZanH78if8+/WcCAhQVkelATlFhJC2mBkvSi4TPmuDa iwb52dOxBZwjTn+V29Pq+D4jEN44/bwa6H3YYwHVelO4D3tRXoCKanFey5VNOUWpg3n4 ObcwgcRrfG4+Te278qulDabCsKZhI25BeEgf7rCywRbtWvbgC9L3lSc8DC0W3sSgf61D S5ddcEJpshhdTVuklZc7LSnYcng0A+dftsnRPodu0Gl2hwJJB+BcOZs5uoMrSPoqCe2a OjBuVTZRbiIo1bKStVGTZyCrD5+r3lK3Xq2pgh5RU8z6X8Bh0VYnUaiZ0Zp0AJbVuv59 Xeiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rutwcfwO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-81533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81533-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 i7-20020a37c207000000b00787c0e79d2dsi5221570qkm.572.2024.02.26.05.49.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 05:49:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81533-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=rutwcfwO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-81533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81533-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 7A6F01C298B4 for ; Mon, 26 Feb 2024 13:49:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09A8812B166; Mon, 26 Feb 2024 13:48:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rutwcfwO" 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 258C912AAEA; Mon, 26 Feb 2024 13:48:06 +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=1708955287; cv=none; b=XsyvzOgo56twMHmqqP7UYwT/LGuAKuRUsdG75jH/NXJyjVE3nVIC8GfGLTIjwwXc28K93MgqMyjSagCmIGe3A02AUPz72wt1qYC+DI7ZnWCS7xFduO7o9xgNswUbnVGu67jvNyWi6WOZDSfcW3ZrOOXgBIMQ54I7aoJ5U4M/plg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708955287; c=relaxed/simple; bh=L67kHgGCs3Cvh/Ei0DU5lrJ2B7SBYL1CCN3r0aBSxi8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r0ZANzpe/QpX96eXSAgzCOxvhuLLk87qAaMCDAo/qpnRO8F4FEGaqTCNxfWXIRdcSzjgq/rIDQUcyV6Vfovhof2J+OtaIU5JR2Lp+6p5xXKtsj/SaWjDV6Ck0aSl2+ujkqFq0X0oHVR/o9tbZT04oDWdHHElXwCVkQrOlRnqIec= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rutwcfwO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5260FC433C7; Mon, 26 Feb 2024 13:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708955286; bh=L67kHgGCs3Cvh/Ei0DU5lrJ2B7SBYL1CCN3r0aBSxi8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rutwcfwO+1mZuPVh6Ci4AcY7Ya4wOx1sky29F46LrI2lonSlcnrvFy9RjBONyMTwA k9va0k3b3hBTuoGx/ddvBD3XrePARb3WpZ56M+/YCXPxxQarwpfu/UBwfFU/pUj+RN Uc6barYERG9ipNDYsIp1+Fe/9erC3pLShGA+SyQNP88OYU5XtnMBJXcgRRfZY12fzE 2P3Nur+CTXqYaRgZkNegjaYduiK59Y/Zqgpup2hnN452xKB2281z8LC2Ko0BmhzNZp vrPjbNjMSuXsKrs1H9/yft788udGXbcCLd3MBBmdMZvONR4Zg9RzBC/CGbCGsH6K59 UgHUa1KFYjrDQ== Date: Mon, 26 Feb 2024 13:48:00 +0000 From: Mark Brown To: David Lechner Cc: Martin Sperl , David Jander , Jonathan Cameron , Michael Hennerich , Nuno =?iso-8859-1?Q?S=E1?= , 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 Subject: Re: [PATCH v2 1/5] spi: add spi_optimize_message() APIs Message-ID: <4a593988-52bb-4013-84fb-d1a51c8005c3@sirena.org.uk> References: <20240219-mainline-spi-precook-message-v2-0-4a762c6701b9@baylibre.com> <20240219-mainline-spi-precook-message-v2-1-4a762c6701b9@baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FPOaDaMVfIrc5CmE" Content-Disposition: inline In-Reply-To: <20240219-mainline-spi-precook-message-v2-1-4a762c6701b9@baylibre.com> X-Cookie: Nobody knows the trouble I've been. --FPOaDaMVfIrc5CmE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 19, 2024 at 04:33:18PM -0600, David Lechner wrote: > This adds a new spi_optimize_message() function that can be used to > optimize SPI messages that are used more than once. Peripheral drivers > that use the same message multiple times can use this API to perform SPI > message validation and controller-specific optimizations once and then > reuse the message while avoiding the overhead of revalidating the > message on each spi_(a)sync() call. This doesn't apply against current code, please check and resend. --FPOaDaMVfIrc5CmE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXclo8ACgkQJNaLcl1U h9DzSgf+L8IJqP9QTipdvVCKI4xrZNaK+TzwF6i23M+QYOOAK+4hq0fRRSva44uc kkh1+iGYBYbxuQpN35y3lMkueSvMVPQgUyBSe2q9SOVzykwxfrvIZKwv5I9eULi7 itkQUHeceYVLOoH2nD5dKIA7Jd/p9W5z3tC6yh/xqXwFuldwT9+Y7eqM8SUISwXW d36mL+h1mj+ZerR70EsYYipUH0J8r/dJ035AeZRkWXV5YGicaHna9WJBT8hN5H5v 73vjAsnxohg1/wS6B7KvfXg6NekWfTWcde7eWkgkaJqgz4eKzNgUgBDUdhfGRXNa 4G15gBS0jIs/UHLyXcbalpTOdzH4Uw== =5Wju -----END PGP SIGNATURE----- --FPOaDaMVfIrc5CmE--