Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1628509rdb; Thu, 25 Jan 2024 01:02:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZpTTlkiMfBxsqmFAirsvCOsXZQIXV+5v15fAeCwt7s4/9+Rseg+SpKw1TvF6sRSZsrX7K X-Received: by 2002:a50:bac5:0:b0:55c:c7f4:4feb with SMTP id x63-20020a50bac5000000b0055cc7f44febmr489099ede.23.1706173364160; Thu, 25 Jan 2024 01:02:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706173364; cv=pass; d=google.com; s=arc-20160816; b=NFpBz8mYnoYnH7ouH5gPY/678sxgpygIyVmmevFzuCM1GaBwWWdM+I1eAHUB7sTnj/ DbSvKdPsrEzACH+K1oD49h4P1YVclJgCikU14fXXZ8/S3YKwX+gays4gN8DsDS7zZ8Fw zzQGbza5tQnpeviE9KROiCxgi56iLZsBvlWd3/GB7xa/fFSZ4ix7uT+KOhYnJrrXIrY5 UOIVbmfLD5ft5XnyLKafrCa80dz6oA8QKkT+4CT66eKBnMWM21gF/H2o8KLSvq0OWBaq Zd2W6NPSqxv9Vdc+TjkAzhONV5OicM8X+T24s+zT2hzMzqZ5a0y5MTdazptD3UJt7STe XyKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :mail-followup-to:message-id:subject:cc:to:from:date; bh=XYCFu3HAgmF6OJbhROv1l9nBtxka/SMsgKAspsjjP/A=; fh=YKKgooeNpNSyX/WMO2AZt/o9Sr68ODH2b6WBIuc8Kkw=; b=WuFXsXYFc7Q78O+hPyrl+kS50+fmxoD7m04mlfoSiBetBp444WL2lOwQ7AWm19zoah XwIyrCERLlkneUNEC2PVXTlJWljF2UZoqTyY5F8MsdxGGPgyjlHA6T2v8po/McN/ZB88 yTBTQMxt3D69xl5TFQzwnwyaZi4F24/8QEhJ9L3gLJq5aWcW7IJg6lHwzP9X9Tz8MypU cXOlM4yW+8vwbjuvVvltLGjLhwsABEApjXT66GHB81xGSMKajQnWG2iCP6zCiOs/zWOs 8QXmB3Sql+bci1U/GQR74bPlAqbD8sa5POLHJQ3jKzVJLiG1goK3oZn84R1g4g3RdAYu 1Q5Q== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-38188-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38188-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cf7-20020a0564020b8700b0055c055e8ac2si5078058edb.368.2024.01.25.01.02.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 01:02:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38188-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-38188-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38188-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 20AD61F2883C for ; Thu, 25 Jan 2024 08:43:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBA2C1B957; Thu, 25 Jan 2024 08:43:32 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 3FE161B945 for ; Thu, 25 Jan 2024 08:43:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706172212; cv=none; b=UEoI8ZQ1660S21fcQdyiC/TUv7PeykZPgKvmVLv5R8qBNS/1qEUj+XL7UohFkaPD1JspAAvonK/pWo6YoUp0ijvDrI9v9JwwU7R9gMdIB2RnFvE0fwHDB9EXGu3gMDcTMH3X0h6HeyXveu4kKS/4/e58pbOF/C386H/alaugzYQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706172212; c=relaxed/simple; bh=oBPYSRRIvuHXxmQlmAGsOhtiu70XaFxR53lewV+BuRw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=V9pmhyx9cv2kcGniS9nf6a/t9b597g2XkeMreLlLzqTuE7EtzTPhP+vahB1X79AzLL81ImtiA521R6TZHqKIrxkh+uaK99btnSUQ+b8Cmtw2mXy/L1HoPKfuFmICuGxFQZ/jSgP1G5w3bhyHxWzgecWXHLaDFDzRRCFJ/kf2XD0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rSvKG-00066k-03; Thu, 25 Jan 2024 09:43:08 +0100 Received: from [2a0a:edc0:2:b01:1d::c0] (helo=ptx.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rSvKA-002FBI-4u; Thu, 25 Jan 2024 09:43:02 +0100 Received: from mtr by ptx.whiteo.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1rSvKA-001iUn-2K; Thu, 25 Jan 2024 09:43:02 +0100 Date: Thu, 25 Jan 2024 09:43:02 +0100 From: Michael Tretter To: Bo Liu Cc: kernel@pengutronix.de, mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: i2c: isl7998x: convert to use maple tree register cache Message-ID: <20240125084302.GA383229@pengutronix.de> Mail-Followup-To: Michael Tretter , Bo Liu , kernel@pengutronix.de, mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240117030910.2790-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; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240117030910.2790-1-liubo03@inspur.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mtr@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org On Tue, 16 Jan 2024 22:09:10 -0500, Bo Liu 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: Bo Liu Reviewed-by: Michael Tretter > --- > drivers/media/i2c/isl7998x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/media/i2c/isl7998x.c b/drivers/media/i2c/isl7998x.c > index 89e13ebbce0c..c7089035bbc1 100644 > --- a/drivers/media/i2c/isl7998x.c > +++ b/drivers/media/i2c/isl7998x.c > @@ -1337,7 +1337,7 @@ static const struct regmap_config isl7998x_regmap = { > .rd_table = &isl7998x_readable_table, > .wr_table = &isl7998x_writeable_table, > .volatile_table = &isl7998x_volatile_table, > - .cache_type = REGCACHE_RBTREE, > + .cache_type = REGCACHE_MAPLE, > }; > > static int isl7998x_mc_init(struct isl7998x *isl7998x) > -- > 2.31.1 > >