Message ID | 20240206071314.8721-16-liubo03@inspur.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-54403-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1370860dyb; Mon, 5 Feb 2024 23:17:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8QBrrmKymcAUY9yWaMCVDI3FbFdi3e2H2QKi/KGrtC9p+S1MEFYXn3Y4qs4QPAJxc2G8O X-Received: by 2002:a05:620a:2982:b0:785:3ffa:68a5 with SMTP id r2-20020a05620a298200b007853ffa68a5mr17583466qkp.5.1707203876678; Mon, 05 Feb 2024 23:17:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707203876; cv=pass; d=google.com; s=arc-20160816; b=rqA1fum2NSco3uunjz0AWBr7T3p97cvCsZCpOuo5SB9lhlMr+hipixnD2se7Ba7lHX 1uwcYp1w3LmwN9bfopchjulmnZaHXh9wueBWKwg83L8SIvlJylRiLrNC5oIIU7/xV09Z TTkc4Kk7fvBGPfoYMR+Vc2gdrudQ3aJCSdJWx2bLjYffxJyAynaCUDieLO52TuMftu6C OPHrdpZ56b5Fp6oeWBv4pnKmvu3YU/IKsCSIloyHnM3BI3XlaGPlDkZ7D+I4NrniDClA BEKKs1Ktqi3bsxXwCBWYOZaYeoYOC1CYsUfbqM7tgqVx6zaU/EPmoHb+3ZsvFxXDCsux lxBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=abuse-reports-to:tuid:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=Ck9iDxwSwil1Ek9DDEmsP1G9FJtEjtC4KBc+c/SoPkg=; fh=++YPtNLr+LD181rDkwuaPJWioAl2gXXEZNec7Q0mf1U=; b=s+eKeRIEXWWO6KUvd0NqP+Ut9FAMiAIl8oxydEfheQ0G7XDT0ohHLLFkJ1Szd5kAfB /ZpivCUam2VAfrkLkIJYuxFj+pwxanjq/4YogrZNKJA5WLDWl4HzjAij28v98kFHdcbi zcfDOX/ZhAsPNdF6HXt8N0GCMGxZNOhdz9A9jXhzMd/V1f5grid7Hzjz38HFMzCwvcBi 0PxrFRAHtTuGk1CdfX+dGeVs5eXD2RYHNCakb2IZlMfmPS7QCZ89neIhrlRHVgTcyQP7 CrvtPhgrql/NackAVbvecfCblvFOR3fba3IiU8RmDZFx2cULktt/cXY27/PCbPIT83p4 8vdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=inspur.com); spf=pass (google.com: domain of linux-kernel+bounces-54403-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54403-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWgOZjWtKH7gyyenZjRp7iSiNK6GYFBZqoMbvbXBA5NkLTI04nkA0FjDvFYtpdiXoT94Tjou0G+k1elBltOn3rxB9mAMg== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s29-20020a05620a081d00b00783ad67e5c2si1650420qks.552.2024.02.05.23.17.56 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 23:17:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54403-ouuuleilei=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; arc=pass (i=1 spf=pass spfdomain=inspur.com); spf=pass (google.com: domain of linux-kernel+bounces-54403-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54403-ouuuleilei=gmail.com@vger.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 6B2301C21823 for <ouuuleilei@gmail.com>; Tue, 6 Feb 2024 07:17:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAEF112D17F; Tue, 6 Feb 2024 07:13:58 +0000 (UTC) Received: from ssh248.corpemail.net (ssh248.corpemail.net [210.51.61.248]) (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 46B2112CDBE; Tue, 6 Feb 2024 07:13:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.51.61.248 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707203637; cv=none; b=KvNq468iEoq7isy4aJMt5+ZpkkqoCee1R+4nVliZYul7mHeKQhhrODwSOxS+93Wm7wh9OQ9p/0kHv/HlO8hQL1uPzXJyTRdOkCwXdwc+TzdSE9z0npg9Y8VqtIvxKCKB+o5MxFiaCNCawGFW6DffF7pRB/mqNXxg6iYFsjXRXGc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707203637; c=relaxed/simple; bh=BCPi3nFvC9rfoIEAoS4Y7/UsjGyJACf+txor8POAEZ8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BWhvO2n2lpV8d8/pibDyqRU05nZwDJ13a9B/cIhX8cepY7vatouM1HQOJVidVQ8l/XP8DjR6EAU74mEqaKYrEf7wEJWEIUK46tv8r3xhSv/6hu29jPBGC/EMl1D1fKW48649Yj9LAnIl255kLMFs0TF3yXb0bVtxRTY89Q3gndo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=inspur.com; spf=pass smtp.mailfrom=inspur.com; arc=none smtp.client-ip=210.51.61.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=inspur.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=inspur.com Received: from ssh248.corpemail.net by ssh248.corpemail.net ((D)) with ASMTP (SSL) id CZT00049; Tue, 06 Feb 2024 15:13:49 +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:48 +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 15/18] mfd: si476x: convert to use maple tree register cache Date: Tue, 6 Feb 2024 02:13:11 -0500 Message-ID: <20240206071314.8721-16-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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain tUid: 202420615134946eb78feda0650ae8772f3dc2b4de901 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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790133012320786417 X-GMAIL-MSGID: 1790133012320786417 |
Series |
mfd: convert to use maple tree register cache
|
|
Commit Message
Bo Liu
Feb. 6, 2024, 7:13 a.m. UTC
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/si476x-prop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/si476x-prop.c b/drivers/mfd/si476x-prop.c index f0608d138f02..3d5c118888b2 100644 --- a/drivers/mfd/si476x-prop.c +++ b/drivers/mfd/si476x-prop.c @@ -222,7 +222,7 @@ static const struct regmap_config si476x_regmap_config = { .reg_read = si476x_core_regmap_read, .reg_write = si476x_core_regmap_write, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, }; struct regmap *devm_regmap_init_si476x(struct si476x_core *core)