Message ID | 20240206071314.8721-15-liubo03@inspur.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 73D1AC4828D for <linux-amlogic@archiver.kernel.org>; Tue, 6 Feb 2024 07:14:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DllEgyQfC8KhvvILREcOGQBtkXhiB9PM1kdDL0W3S4E=; b=znAM4MlcR9Jrb3 OZrOvIIgTOvF1eGLTTSYQVBU1sSVegayP84KfcbfsD2rUgrB1U26rYgXGPFUPfXPJBv110q+t45b1 mrRJgEhA+ow4Uc6ljoayQpbR/P9bigzSNVMRlrDSx19F0bb/IxZam0I1jrvd8xeji5i/GEpfVx5Jq QbeC9SCOEDxFxA2eyk6oJK7jZHXvmqBoZ7Bj1i0osNUZLBYxyxWSUQCNrJdsicCTX4JYNnVUp0yFj f5LmurqQMGFNNblCjgtN3pEMZRJM08ak7iaSYWRRk/WMJI7hLNXs2YisxhRjUohER+6ogWP4oqA8a 5uXDtUcC3mkDlih8+EFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXFel-00000006Fht-3wCH; Tue, 06 Feb 2024 07:14:11 +0000 Received: from ssh248.corpemail.net ([210.51.61.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXFeS-00000006FP7-29Cr; Tue, 06 Feb 2024 07:13:54 +0000 Received: from ssh248.corpemail.net by ssh248.corpemail.net ((D)) with ASMTP (SSL) id CZT00147; Tue, 06 Feb 2024 15:13:47 +0800 Received: from localhost.localdomain.com (10.73.45.222) by jtjnmail201602.home.langchao.com (10.100.2.2) with Microsoft SMTP Server id 15.1.2507.34; Tue, 6 Feb 2024 15:13:47 +0800 From: Bo Liu <liubo03@inspur.com> To: <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> CC: <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>, Bo Liu <liubo03@inspur.com> Subject: [PATCH 14/18] mfd: rsmu_i2c: convert to use maple tree register cache Date: Tue, 6 Feb 2024 02:13:10 -0500 Message-ID: <20240206071314.8721-15-liubo03@inspur.com> X-Mailer: git-send-email 2.18.2 In-Reply-To: <20240206071314.8721-1-liubo03@inspur.com> References: <20240206071314.8721-1-liubo03@inspur.com> MIME-Version: 1.0 X-Originating-IP: [10.73.45.222] tUid: 20242061513483a817558e4ef6f668dac82e845d94b2e X-Abuse-Reports-To: service@corp-email.com Abuse-Reports-To: service@corp-email.com X-Complaints-To: service@corp-email.com X-Report-Abuse-To: service@corp-email.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240205_231352_968545_0DE5AA8E X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org |
Series |
mfd: convert to use maple tree register cache
|
expand
|
diff --git a/drivers/mfd/rsmu_i2c.c b/drivers/mfd/rsmu_i2c.c index 06d78a1cf1cc..5711e512b6a2 100644 --- a/drivers/mfd/rsmu_i2c.c +++ b/drivers/mfd/rsmu_i2c.c @@ -188,7 +188,7 @@ static const struct regmap_config rsmu_sabre_regmap_config = { .ranges = rsmu_sabre_range_cfg, .num_ranges = ARRAY_SIZE(rsmu_sabre_range_cfg), .volatile_reg = rsmu_sabre_volatile_reg, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, .can_multi_write = true, };
The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu <liubo03@inspur.com> --- drivers/mfd/rsmu_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)