Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1378151lqt; Wed, 20 Mar 2024 01:58:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkqFhnPdAFy9EcQRCEJ2AZjNckP9vfVxKoQrY4uXZlEc43CErRLhc8Va0EggyWzMp6F+2P9sAxgKoohsl6aBK9JARSKjLsdiG7GSe5xg== X-Google-Smtp-Source: AGHT+IH9wIfUrBTSHP49pyYgwxm2rQVbLOGt8Xmslc13DujSKhh6scIPWUsc80Ew2qcdmWrObEdM X-Received: by 2002:a05:622a:44cd:b0:430:e71c:4d33 with SMTP id kc13-20020a05622a44cd00b00430e71c4d33mr6456840qtb.3.1710925129235; Wed, 20 Mar 2024 01:58:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710925129; cv=pass; d=google.com; s=arc-20160816; b=kIlHP/KvcdyDCLE46H8/J7AODMpuBq1DPLx1QUfU2b7sqQW99iN6facwDNpF+9p4Lx 8R4+WzPE6C3T1ZujD6obpTgxdNo568O7iMf/zCSV1jvHwHxxWgWyo9V6TL1FQFHcbPoE nsUWBQcWgVZ5d22A9FQ/J3EX/YasT0sb2UDVot0mJ8tfoQeWIjte0sztr7UfYZuea2nz pfq/bvL+Nu42+V08H+9D6bx+5n3GQnK13PEfvlclx3mznvl/8/bchwB9LJq6ibTuwgYc hBP0CbOp6tRRbOlS9TshjMYekgLwgg085Elrs1u2530WbUncChl2DvIsXVYfNP4wPTm2 Hmqg== 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=xuyL91qJfMfVqWzCEdtfHDkyTiSjyVs+sIdO0hiAf+Y=; fh=ylGxeYDzupWRersxMfuRoDdGzjRmuyBko7KC/8yNBnI=; b=yIfmuoKaIER9r2LpCJba8u2o6J+y5vVCU2RP4kIaJylm2viWDefSls/q11YeFUlEfb YwTh7G3LtQ/+D0qVcZqS8dFHvBcWDtWrxKXZh5EEbQbMvuJrei1mCJxavw0RQopTvAw0 biQvDXcXkCoW8pfiP2x67LNTq9m6v+vHTlDW7vBQG6za5DUw/7bp48jWj2UmBBjQzbVx hgzbBwP6Tmwrv9H/kN1PU+FrtpEwV5FOZgqCkyr0icQiqZ9DoKkGe+CjfJMBeBQ5qNuO KoagwjPrZ0Np/0vWvqXVe7m/t/X7lJPrIih07mhM335VVI46tIOMT76llvKSKmml6ORk U2rQ==; 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-108658-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108658-linux.lists.archive=gmail.com@vger.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 g20-20020ac87d14000000b00430c09a979bsi8502463qtb.515.2024.03.20.01.58.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 01:58:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108658-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; arc=pass (i=1 spf=pass spfdomain=inspur.com); spf=pass (google.com: domain of linux-kernel+bounces-108658-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108658-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EC7B51C22E39 for ; Wed, 20 Mar 2024 08:58:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C21163C68C; Wed, 20 Mar 2024 08:57: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 828AB38391 for ; Wed, 20 Mar 2024 08:57:54 +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=1710925077; cv=none; b=PSYmGzZGo8wyCxT3ByxI9OKfYOp2Zo/Z+rlv9bsySJc4wCGcyJQYBwjVo47GzSRj7UbNJpnK0HMPU52+veRJ41OaYg91vXFA73k6Qn/8dtV+9heM0WxJGQKEc0yLeEpIoIcseiX59qWILWkpAhbWVhO7LcRbE1hOZ8WYApGPw8Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710925077; c=relaxed/simple; bh=O6IfF1UtZXEf9WgKf+QQWaMQ0L3kmcAAuTApKltFe2c=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MKGtl4hdWmQO2NFXx/h0QrJUfc2u6lSQUZXF+02EanmAusJplkCcbrZhSP4qPOjnwGU7q+su2L06Ga9NqfLzc5Kg8v0VLckc251QfpMeZfU5IpK5vJqFPlDDOQWQx9RAsjCc8HNPdmrxZ+PswTu1FpBcx2o4maL73tLdbIm8vaM= 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 RDA00148; Wed, 20 Mar 2024 16:57:48 +0800 Received: from localhost.localdomain (10.94.17.92) by jtjnmail201610.home.langchao.com (10.100.2.10) with Microsoft SMTP Server id 15.1.2507.35; Wed, 20 Mar 2024 16:57:49 +0800 From: Bo Liu To: , , , , , CC: , , , Bo Liu Subject: [PATCH v1 03/13] regulator: isl9305: convert to use maple tree register cache Date: Wed, 20 Mar 2024 04:57:30 -0400 Message-ID: <20240320085740.4604-4-liubo03@inspur.com> X-Mailer: git-send-email 2.18.2 In-Reply-To: <20240320085740.4604-1-liubo03@inspur.com> References: <20240320085740.4604-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: 2024320165748010a309a4741b8c4a311e16fbd748384 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/regulator/isl9305.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/isl9305.c b/drivers/regulator/isl9305.c index 0f7560093091..5a234f25e6bb 100644 --- a/drivers/regulator/isl9305.c +++ b/drivers/regulator/isl9305.c @@ -134,7 +134,7 @@ static const struct regmap_config isl9305_regmap = { .val_bits = 8, .max_register = ISL9305_MAX_REG, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, }; static int isl9305_i2c_probe(struct i2c_client *i2c) -- 2.18.2