Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2868071rdb; Mon, 5 Feb 2024 23:17:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IG24MN8Ml05IJQHjCFehRs8hqjiPZFZUocqOsqtGGa79D4hPu8I2afVkca7B+uunQfaBT8u X-Received: by 2002:a05:6512:23a3:b0:511:5322:345b with SMTP id c35-20020a05651223a300b005115322345bmr1385518lfv.7.1707203857773; Mon, 05 Feb 2024 23:17:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707203857; cv=pass; d=google.com; s=arc-20160816; b=LrxgtB6sTmPwYF7apeHu+SIyY4Ip14bWzk53Xo+x/hNlpNUDnFlul4DQbFGoazQ0rR uy5QhQC/uLQx2C0Gwm9guMsBZT3eJwkXeIBzViGrCdkxcPgAXIMEsUvCZa9fsAmhVfEG 3VTntvWt0V8lCLmiZtrA6QH4scLcDOb9KNRgy6DvOdriNnr9spw51CmSpFdRk2qlojN6 wcvltKy3w0zLgMIzntRBQtuBUC9Chs9pYpB3BEWnKtdhbQN+Jfv+kdm8NxUd5x2LmRfa OxYkDvkwpjHoXawBrZMuXwH+UF/gWrZeCbBBPiQ1FN0mn7R2e2q0HQ1IPofJmA92k4VT mLcQ== 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=qqAVZ5vstwF4iT5GxUJJMbD3IGXt2uB65hitayVv/ZQ=; b=H4rp8tulUzECGC0VMEYPcWeqGQkBj5NS7abXcN3p/Joz+1oR6FoNAafbgAYh13mPR+ hLq5pjDhECzkgV6Czpb35JoarhN/PpS5YAmlO/QC9NRgp2EGqrdPOOoTHbqROmx60sPi X8BXGsi6yX/rXM5TRvLTUk9CSDcbwmc/XBpD/L5b7Mrnd8FJ5ph6VAqV7HrksTLwvCFk ymsBzqGbmw6stWEayaeAr2vhIPVzxXQ+KBQAwo+MLcBYuLNB3fSaBLjejJBTof3WAHMK Y60W/DqDeHvyz4YbuwRuNBT0hYVeaOxhrTS6dH/x4PBjcfr3ahI8AxTjVIlxqPKSdysH gLuQ==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54403-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUEfWqcpa2VUchglYJvDrowZvkBnxJTypV+2XAyFUbftuN3CO85YflfhEpCeadzFlU2c54xHVzw5+CfT6FA7dTrOoiJXJjJ0utPf412HA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o7-20020a17090611c700b00a377e9daa67si791755eja.510.2024.02.05.23.17.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 23:17:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54403-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=inspur.com); spf=pass (google.com: domain of linux-kernel+bounces-54403-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54403-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 82FAD1F230E9 for ; Tue, 6 Feb 2024 07:17:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B134412D162; Tue, 6 Feb 2024 07:13:57 +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 To: , , , , , , , , , CC: , , , , , , Bo Liu 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: List-Subscribe: List-Unsubscribe: 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 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 --- 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) -- 2.18.2