Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1215628rdb; Wed, 24 Jan 2024 08:09:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGs0k96dvhgqH8ykP8aRAkEs+VZBrkEXWDT1EBjGeQw9zIK55s4w572Ofl55QFMG9WK2sj1 X-Received: by 2002:a9d:7a42:0:b0:6e0:f903:f7a6 with SMTP id z2-20020a9d7a42000000b006e0f903f7a6mr1506359otm.36.1706112559026; Wed, 24 Jan 2024 08:09:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706112558; cv=pass; d=google.com; s=arc-20160816; b=J1IALwV13v5tlSRVrAFd2H0FwTCuu2/aLmuw9ixSXkKa8mv6S9fBncHEz7UdoQEFdN zTq05ttmP7ZFMaihD3CK33GjSo6KuiW0XYlNR5j1nVT14xz1aWW+cAKZ+aHjfa6MvkPE NCsj1e1SBNPpfBgPod9zOXX9W6HHRuD2TmVMca+ZFgvRGAg40tv8ubRpMYksZ9A57gPy NV3VralTn3xjEWR8uauTT5T4jX+c3Oz0rl+4JQcrRC70WC71ruq/5KH3wUpuSyjhdNo2 1Ur9EDLWhpD7oUDhEcm2XN/ioIZ5D7uQp2rC45mFvfUj63McFtSH1d1HQhIBGD2DOb71 yhZA== 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=CcsWkDlsGKk9/7MGfx93ivIX4MXibiT4O4KxtpCThbo=; fh=jWBqJDqZlhd0w7RYgoI1yhCoJ2Ex4gU0snyqTLeFWtI=; b=SJZrOEb+Pbdzf6K2+6CxpOE1nZDO5a3xXUZSbbVFFOXEUi9jR1fgRKUH3gRJWwE93p JG+xLGAfcsvslBWUsZU06C9Dr9XXXinYxLJu7gFR9Fmfi9tjNzzOteQvpbI+vnca9DP+ G5Mia7Nk/dvg1X0iKlOQGBYa2gKtX2gSPY+VY48DUilZl1nPcG4qpigzaMS/0UnJfsSJ HybFRk1yosPpKx2X54U0IEKTJ7JJH6Y5zf9y+xQ+TPwa4UIDrQ+Pkj29/kU1ZvObxkm9 RVV/2xG6YqQXmXYBIzF7C3dHiUhd1vqPa1J0oeT8AIHd82jXLYYKfRSmGEZRFm0ZtKo3 5cpg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RihsbLcV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37300-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37300-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. [147.75.199.223]) by mx.google.com with ESMTPS id q15-20020a67e9cf000000b00466ff675670si1188830vso.384.2024.01.24.08.09.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 08:09:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37300-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=@kernel.org header.s=k20201202 header.b=RihsbLcV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37300-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37300-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 B92071C2165E for ; Wed, 24 Jan 2024 16:09:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32DE57CF1B; Wed, 24 Jan 2024 16:08:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RihsbLcV" 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 5A9697CF0F; Wed, 24 Jan 2024 16:08:27 +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=1706112507; cv=none; b=sf8dscwkNa6RsScf/86zMCnkioKdgDDaFJiJSTlgU3TxfxLcgqzLPzRe6kr96kICsD3O3bAQukw9tx8baLogKeBKOQZ1oYnvKwbHE+tHq7hyVEQdoSFY8rR2eI+D7T9CfKMmEgC0FKJC8nlYO2ZWRqDIS+Y9zDZpgrEoe7ZjSho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706112507; c=relaxed/simple; bh=DaWdpN7BwW9Rz3N8clEZtNYY2V+QP/urU1Sjx36U/Bk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oAQiOrSyDRqDXh1rvDrskykIG+QVw34qgQOetyPqwUQUvM0cGOUfdqFav0IucDbqrI9vHIKiJF6UenCA0askaBKVAuEvqfzyeAw7EMtliEycwvF5gTPFIeP0RGz6nlGUBqy2kXSWESKXLhM7Q8g28lvLT+a0dINoOFUT6dcbfE8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RihsbLcV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FE91C433C7; Wed, 24 Jan 2024 16:08:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706112507; bh=DaWdpN7BwW9Rz3N8clEZtNYY2V+QP/urU1Sjx36U/Bk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RihsbLcVCC6tH/nJwjn7CCvFgwm8zNWzNMQq6aGrHx04N1lljeiUcNpM8F96CR+JW XbYFOgVdK1D/kSgWO49KB+iQsthwA3p3z/QaQg4NQBvHfT7/0o09sLfHnRzctIwm1D NJf2ErpXMaQMZfZGNtE+fLccoHe+jcP34ol9dTcaFVPU6nfjNGDzu5nsH0pJyGEHYX 79GCzjK4/CY1Q7Jr+XHS5g/FqPATtiu+a0B8eecWxIDqcrjI0K3AlrnZ4E0RHaZCOr qU2PC9fO5iN+EUJOetdXdVvgvxnNuDnriE/uk3FM6IggoE/hKO7HSoV3DTG5DLREvf 7TlGEc9ULeVbw== Date: Wed, 24 Jan 2024 16:08:22 +0000 From: Mark Brown To: Christophe Leroy Cc: Jonas Gorski , Guenter Roeck , Herve Codina , Amit Kumar Mahapatra , "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Thomas Petazzoni Subject: Re: [PATCH] spi: Raise limit on number of chip selects Message-ID: References: <20240122-spi-multi-cs-max-v1-1-a7e98cd5f6c7@kernel.org> <20240123120430.75c7ace0@bootlin.com> <93385fc2-7596-4f66-b0c1-07d7d5c9ed8d@csgroup.eu> <49b52941-6205-48bd-b2ae-e334018ac5cd@sirena.org.uk> <801eecbe-4bf9-4bb8-9de0-1a7ca6673ddf@roeck-us.net> <38630519-733c-4598-97a7-19a5e6306513@sirena.org.uk> 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="La/ghchXRX65G8k0" Content-Disposition: inline In-Reply-To: X-Cookie: To err is human, to moo bovine. --La/ghchXRX65G8k0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 24, 2024 at 03:28:32PM +0000, Christophe Leroy wrote: > Should we revert that commit 4d8ff6b0991d ("spi: Add multi-cs memories=20 > support in SPI core") and implement something simpler ? I really don't want to keep going through the pain with having people constantly adding access for chip select that bypass the helpers if we can avoid it, there's been a constant need for fixups which have just added to the pain with the multi CS stuff. My thinking was to get the API in place and then improve the implementation behind it. --La/ghchXRX65G8k0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmWxNfUACgkQJNaLcl1U h9ANugf/ZmDCYh5tXW2idgNrbFAju9Znmq74ViirQWDW6ezLyn3RTrKW3DErXQFA KZR5lkvczxXmU2MGa3Po06YCvGwkSTbNPydt1k9U2eZJ+J6tS8Rf+wKQFbsbg4IC 8SsYWl4muzcTU12DdIIrNwpb4m6IQNGIaoSlDgC9Nr1k0rX4SGnbLtS1cCKspaDA Gc6VnRxjITw1NxqXbA8lWXT/DR4ESVCcUvIpKfnkhqaceWy26o6lJTkzYBhqx//3 vW6lZZGOqz9BwDNgim/I0RWkus3Rn5rTP5vCwejLvBCuQaki7MS7qfmrCrDfOA1+ uny2FStMImMdPvWqoi79dau1Kc/PdA== =dJ/B -----END PGP SIGNATURE----- --La/ghchXRX65G8k0--