Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1812946rdb; Tue, 3 Oct 2023 01:27:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2C/UTLkpYSPrRQw0lWfEpPI0qsZNmL8rwbpPS7FU09Vd0SFFjFRuBNL5tBJPOZd6XhmAc X-Received: by 2002:a05:6a00:2d17:b0:693:4202:b535 with SMTP id fa23-20020a056a002d1700b006934202b535mr12386255pfb.27.1696321629140; Tue, 03 Oct 2023 01:27:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696321629; cv=none; d=google.com; s=arc-20160816; b=zS73x6UV4fWcPotZ358D9ZlYddcKCj2kiCrT8dwJkFAnvR6ZuPCx3awFJfpKNg1gaK SHPaj3gZVfgkgDxKCbByN9ZEtVnoVCZU6wq78v+ZvDh++11tXTmoWQSP5yyRoVy/oy1h P3M0cW2/MEZjY/IuwzpeQ6fsva4moS3g65zplR7/AJOahkZpaLYEaabWbO6eJS6o5rhN wvDDd9OCN2NaJcImwAtUJfP1dmtnbL7z5CooOHCyvywBO4V8J2VCdBIgB/j0JZffTXDp MDThRIa1PTnZWWP0r2o0TD69ztUnPr8OTBc4rTjVf7KuwUx7rfItWD+l8CkMvf1yMBEO a5Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:from:references:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=y2veOzDcRemkEyImcliLp/bkhYB1AyzAD1kRknt43UQ=; fh=hvwrSu6ADLl2164rT8jx+BZXTlWnq7IA+GVYwTFFylQ=; b=wj1eXJn3fHJ7T/1NlpucS4LUgUB9JZ2P1AqAC6jEr8IXUmBXaOZyWHDOI1FoZSuiHE NW7xhzIiFmNp5FFGh0Bl6IelrFCQy7ZLRK5PaV4VeIKmNOZadp43RdOjh9Hu1ka9MyM9 JV1KIcgcQDG3bjVoSZlp4PVW6FMPRiI4orgtjsRd44Jqbndh6kNtE48cYqkB1ZMDIYCe JEC+b22wGsmBOylNJLOdnd/fW7SSWLZQzXg7nwf0nOCxaR+XNAVttAZPQCxrg8KQfRpv td3N5MD349Rmr13wG4qyeAJu2UZgRdN5jkiaosPWcyRl+qfC2hTuv3+oU4BzQ/fS/RC5 o3dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gVmp0y6z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id fi11-20020a056a00398b00b00690bc21d900si1066224pfb.136.2023.10.03.01.27.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 01:27:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gVmp0y6z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 2513E8085F87; Tue, 3 Oct 2023 01:25:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239413AbjJCIZ5 (ORCPT + 99 others); Tue, 3 Oct 2023 04:25:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230494AbjJCIZz (ORCPT ); Tue, 3 Oct 2023 04:25:55 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1054A9 for ; Tue, 3 Oct 2023 01:25:52 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CCB8C433C9; Tue, 3 Oct 2023 08:25:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696321552; bh=KXtojPedPQ+gz2QcHLNOECeONC8uwhpiha9CkLTHH94=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=gVmp0y6zM/OpiA+ivIdveacXcOe7zYH+/DlLedhxXryQIZ7BnDsKAOnDhX0O75ZA5 MfDH0hmrqjBtKXxwwnbL2mnonUZz6L+i6+t7Ce7YIDc6a/KfvAV1BYoz+DJ1eG8mkf TXPQ9oqzBTzHDVgcZeFGkTRriOKqzcj1q+RvvIKcJjuTb+eh9Sr5aB3juC7UlLcNE2 ATVBdO7C0YLA2vX8v+2gqHi+4aFr44+VnlhwLDat6+2x8aHtJgFBfOv5F2Zi6+qAYT OKnG0FE9nskYsQeDelp5tD+EhTTt2Y79hFqWTLHZWon4MECinn2ttVaWa8L4ai9a5e jt0rvQDb95R/A== Message-ID: <4fe44a5f-9a6f-5259-f14a-d464a7cb8556@kernel.org> Date: Tue, 3 Oct 2023 17:25:49 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 2/3] mfd: max77686: Convert to use maple tree register cache To: Mark Brown , Lee Jones , Chanwoo Choi , Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org References: <20231001-mfd-maxim-maple-v1-0-cdfeb48a4d15@kernel.org> <20231001-mfd-maxim-maple-v1-2-cdfeb48a4d15@kernel.org> From: Chanwoo Choi Content-Language: en-US In-Reply-To: <20231001-mfd-maxim-maple-v1-2-cdfeb48a4d15@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 03 Oct 2023 01:25:58 -0700 (PDT) Hi, On 23. 10. 1. 08:47, Mark Brown wrote: > 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: Mark Brown > --- > drivers/mfd/max77686.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c > index 91c286c4571c..0118a444a68b 100644 > --- a/drivers/mfd/max77686.c > +++ b/drivers/mfd/max77686.c > @@ -108,7 +108,7 @@ static const struct regmap_config max77802_regmap_config = { > .precious_reg = max77802_is_precious_reg, > .volatile_reg = max77802_is_volatile_reg, > .name = "max77802-pmic", > - .cache_type = REGCACHE_RBTREE, > + .cache_type = REGCACHE_MAPLE, > }; > > static const struct regmap_irq max77686_irqs[] = { > Reviewed-by: Chanwoo Choi Thanks. -- Best Regards, Samsung Electronics Chanwoo Choi