Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2935727rdb; Tue, 6 Feb 2024 02:09:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRuzRaZnkp3WqmAIMlbCXpPavL5ms9J4lAUJQvI+YG6T76iw0Lo0OZTWvuWRVJqoHA5Sh1 X-Received: by 2002:a17:90b:1e47:b0:295:ef2a:d0fb with SMTP id pi7-20020a17090b1e4700b00295ef2ad0fbmr3288794pjb.5.1707214152495; Tue, 06 Feb 2024 02:09:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707214152; cv=pass; d=google.com; s=arc-20160816; b=Id9Yq4cfGGj86ThtYkvWQI9F5k8GD4ct7bsjczCPi0a3AAscGKZ38NcEcwfGtzvP4M WcuCE2jtblSpA9C4Sdni7Qd+VnrpWHJiWC0uicswXTnxhrPn3YCL4Hhs93JYqejQF56n ywth+F3uhenikjv5oVnRmouKSeCSwF1Z8Nkpa3dmBf8kmyg6vBJfOw1CtXvbA2xK/9qz i8Op1T1GjdbZTJTZFYCpLLrkw8ggu3rKii+S5+NACSAI724ZtEQRNS4LgdtRSqlNfE9e PspwXxeirw7Hnv0Hq6trIm8Vwmd4BczWTqZnqgFI1pLqjqMWcyZa3E4rz4qPXzotOK9k ztcA== 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=CpFWNSLd+Jtsb/PRfmKTxf9vz1bBjFykhqQGXBsD5qY=; fh=q6Tc3MhLlevEVgSSH+l9al22RQawA1UYmy+6QZdQCYI=; b=oyZHIuvh8QBKO2fbCFkNzEjIUZ+qZWII2vSoTc0jcP0t5ui+bt57T5bhJnSKyQ8Flw 9bmi1dT0fAi7q32P1xbPBKR3BCDsLERTYPhzz0GglURgoTmqGP/Hi12GR9U8wa0gGyBf 70zodOfVq9kY82zK5HW4Ami8SqMdS6tkkZiU4WsRQLTOZ6Tzrgt7LTMyWBo+IJIaTh41 x7gzVHOxEVZfSIliwz/7j/6647HYvTfgEGa8y9e0gOx0FI0jlxrsZ4lNipi3gMAcuYbp ghkdgD/pez/O3Ls8Y4Ws0keDAjJj4t7DYhVKgdv8Ykw8AxRR6JJzygwV5a9rqC1jfMnQ hpZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B6GlnIVk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-54651-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54651-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCVmWNOqJu77xQGb1xMP96SE+Kl9TnYO0kzvNg9bb6A1BWygQpFuKTHTW3kCUto9CIwnhBYQGcEO001PQthlcFKQBtdU3+L89+9BdoMUAw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 61-20020a17090a09c300b00290f2463cf6si852359pjo.190.2024.02.06.02.09.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 02:09:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54651-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B6GlnIVk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-54651-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54651-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7A8FA282E31 for ; Tue, 6 Feb 2024 10:09:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 040A71E4AE; Tue, 6 Feb 2024 10:09:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="B6GlnIVk" 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 1EC6712D749; Tue, 6 Feb 2024 10:09:02 +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=1707214142; cv=none; b=WORB/FFLAzJ3rcfiBjKrCR/UckQn5MXtxHVxOuxG02OM/qkPv7iDehbdhmTGI9vRFSNxnPuJEwONtMVisDzoXSqb51JTPnyCTxN5CNLs+eQYqM//CHQQ2fT7BbQhECy4j4qZKX7KapHOQ3+8+N4SUZo6TOE4teUVTHjJslCudu8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707214142; c=relaxed/simple; bh=6eh7rugcdTI/j4n4bbvxX9jPn6+zlru65TEB6aU9mAU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UiqSOcYYB+7AvT0BHMPVIqeTFWQ5mK1lTfD8XRpgT2E9hBSfTr/lJijRbB23kLRkuBg7USQb5LrhECt8MG+qMjCV/e80FTaydwxGDuks/kuaaydMkfT3omYHR+kCEOrkGH0KVd9ZRZ+DWkJFgnMlL+BSvZqSkc2pwgAfvyEa9U0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=B6GlnIVk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 491BEC433F1; Tue, 6 Feb 2024 10:08:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707214141; bh=6eh7rugcdTI/j4n4bbvxX9jPn6+zlru65TEB6aU9mAU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B6GlnIVkN55eTnQsnXVV1Si9JIdYeZaBygDWpnXhaezs6c7BhJwZwHqcjdzHvuocJ X1FnvRTTBZX6c6ttOzlVw4itRhxFNPOCpQUmN0QNaiLeH4vQQvGX5nG5AU/LyBSend TViEnaFWX/KpNu7lERTnW/qbWoacNCoLcrNd8RD7g31DXTpAHbJ3VLGlWodRdbnJAS z3eAv9N4JX5MkvD1SHm0z/+1tLxXXHyc/a54hzirjx3iPiq7uP29rhC6F62uwbU9QL s7dksCpA1frqw8e+hDrOd1nquIxZ+D91Cpe3oSfkvHoloeEKy/Pq2KyVitDrezj+bt yjPw0QYmMG5cQ== Date: Tue, 6 Feb 2024 10:07:57 +0000 From: Mark Brown To: Geert Uytterhoeven Cc: Bo Liu , lee@kernel.org, wens@csie.org, marek.vasut+renesas@gmail.com, support.opensource@diasemi.com, neil.armstrong@linaro.org, ckeepax@opensource.cirrus.com, rf@opensource.cirrus.com, mazziesaccount@gmail.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-amlogic@lists.infradead.org, patches@opensource.cirrus.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 00/18] mfd: convert to use maple tree register cache Message-ID: References: <20240206071314.8721-1-liubo03@inspur.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="3tKV0MZVgabPsZSl" Content-Disposition: inline In-Reply-To: X-Cookie: You might have mail. --3tKV0MZVgabPsZSl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 06, 2024 at 10:33:22AM +0100, Geert Uytterhoeven wrote: > If all of this is true, is there any reason to keep REGCACHE_RBTREE > around? If not, perhaps REGCACHE_RBTREE should be treated as > REGCACHE_MAPLE in the regmap core code first, followed by a single > tree-wide patch to replace REGCACHE_RBTREE? There is a very small niche for devices where cache syncs are a particularly important part of the workload where rbtree's choices might give better performance, especially on systems with low end CPUs. --3tKV0MZVgabPsZSl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXCBPwACgkQJNaLcl1U h9AzsQf/fvluGCbAx/aIe1RLZpmbVAXZdaP3edZ9jN+FzV+ub/6qY0iiPxN0esI5 jpGS40Z27yNHgk1JIpJR/ZoCUrjeuLDekUhJmu87yhqnK3p+DsT/zfnbqbeSdKXz FuOUu8Kh+hH4bdbyjTMNvTAzzuPUwgE7DRFGAlu3tPkZXEFtMzpSCImrqxIrsKao Z7quNE+m6pc4MyiQ09p0cOAK8fjnSHuFNn2wjZX2GgAGnLEYkKrpQwYgkrDRlHqc C7Cb1gOefwAx/I8mYuP+2TJNV/XVUKWJ0Od8KZ+MVbxaEslqAJaCvMSXzgkj/dqU ssEshBmXp9EzMJKlUQ967sIEsiM4OQ== =DPIT -----END PGP SIGNATURE----- --3tKV0MZVgabPsZSl--