Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1546632rbb; Mon, 26 Feb 2024 12:56:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVNqGxuvy2EOp3UBEAVdzW7xbB7nobJlL6dLnhfMmCLBvayUu5Jq71tCzLMM9amZs/7muKuiVpra7ZEw19cgevSHP77/OfhXkBHS93n3Q== X-Google-Smtp-Source: AGHT+IEhknygx7KrbTLaiNmLXxpNn2r1lmVK1uZRD6X3N/HHMhUiMLzBJqbc9QMccpt14FzmvIfR X-Received: by 2002:a05:6214:226a:b0:68f:3f98:f695 with SMTP id gs10-20020a056214226a00b0068f3f98f695mr381701qvb.39.1708980966299; Mon, 26 Feb 2024 12:56:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708980966; cv=pass; d=google.com; s=arc-20160816; b=ZUl9KX4esFdsp7hOpVRjCMBwSqv5/Bbf8vxslL26XCfJs2Gh2aZCI6ecOKeJEIANsZ iZ7mLRBHAB3scZ/KgetDBzbk/kJh3XzOwntVFUiS9hAtUPZsOjB7BCx4Kq78tcQ22LCz 0DFDu3jFYYvJRVEJWTSV0NDeacj0z5uTbD687We8nxZ3Rj7wm+cugKTltR4Ay1QNY/9h 2Ts4to8aQ/5caDqSoYdG2pEN5i7ceB3Avi0ZJUFiAaKKsmn0G2wucs4Zs1jvg6ajFajw ORLlzTAIHGoAADCsjqzJVwx17IxMCqHh0ZPvAPWrfNVdm3rl5aEPSd74ZG+KDe7HnheU 264g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=W7OAuuFC+fmZ1nPUbf+yUsQuGL64Qf+7Ju4BkHDCQyU=; fh=XTfWyHwfIuVw3dT6vaaWX4l2wYkg/U792c0IYNumJkw=; b=pDSC5wCsMJ9tVMhJNGbM0yin3LStjjlrbMqPiH2QLKjILyGlsMsxicMXMUMR627Ppb 3zlLr3vl434flAEbfcwcCzDW7ExhvIF8wXfV6H4JRKhEgOrhYWDWgpdLwF4Q5qpAekU8 zJOWReKuWE2jhWCRhj8/yVwGXkFV+A/qhx5Wj8WFwL/EYQRSF1kOCwW8co2SIqms6cPF 4RF92LFmm3szb4ZSX5ultR5VHa0iSeqPqOKtoFaIxvVQSFIhTpmcIgIO2BJlhOa0t5Z2 sJiN3ixg98+l9rHX9dbUZuG/w7Ltp3m+Oi9q/grwBNARV84/aNFrc9dmErg2FPxlQC6c fxKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@datenfreihafen.org header.s=2021 header.b=hbhyWQdG; arc=pass (i=1 spf=pass spfdomain=datenfreihafen.org dkim=pass dkdomain=datenfreihafen.org); spf=pass (google.com: domain of linux-kernel+bounces-82304-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82304-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e14-20020a0562141d0e00b0068fe35db61asi5970557qvd.61.2024.02.26.12.56.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 12:56:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82304-linux.lists.archive=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; dkim=pass header.i=@datenfreihafen.org header.s=2021 header.b=hbhyWQdG; arc=pass (i=1 spf=pass spfdomain=datenfreihafen.org dkim=pass dkdomain=datenfreihafen.org); spf=pass (google.com: domain of linux-kernel+bounces-82304-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82304-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 12E301C23430 for ; Mon, 26 Feb 2024 20:56:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F051131724; Mon, 26 Feb 2024 20:55:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=datenfreihafen.org header.i=@datenfreihafen.org header.b="hbhyWQdG" Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) (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 DFC5D2AD0F; Mon, 26 Feb 2024 20:55:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.47.171.185 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708980957; cv=none; b=XS49tVPjDDruoxZz5951KNH35BGHLqFIL7+43EmAkI9mb7JWybV78PIb5hrR7BrITYEy9RSM9fdeLe3SYuJNtPuJJq1kK5lCPdG7EtbORRgSMHv/s0GWBWuBpeSXrDrwJGTBalxEguJ8kzcl/X/7Mr0yVdpYReB02kp48lDFtss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708980957; c=relaxed/simple; bh=02zprmOhLIbgChsRDiWJHbDY7QAwsInduXqZqDxFSDU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KGpsDy7xIClgjz7O7Fp0sgNfFyykJpOJITX/m90CxLuXUEHe5iWG5q7Ik0bP/FV5la5G5A2M4Z1xmPVwLJsUNjQGe7QVWzxwF2oDWAoiIdFxpXoGagPNl9vkSooS1Jvhuk+8zHSQ5vSC5bk4cGMgs8OniiVPC2cAv59W6OIfVOA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=datenfreihafen.org; spf=pass smtp.mailfrom=datenfreihafen.org; dkim=pass (2048-bit key) header.d=datenfreihafen.org header.i=@datenfreihafen.org header.b=hbhyWQdG; arc=none smtp.client-ip=78.47.171.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=datenfreihafen.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=datenfreihafen.org Received: from [IPV6:2003:e9:d739:bb29:632d:d63:dac0:8169] (p200300e9d739bb29632d0d63dac08169.dip0.t-ipconnect.de [IPv6:2003:e9:d739:bb29:632d:d63:dac0:8169]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: stefan@datenfreihafen.org) by proxima.lasnet.de (Postfix) with ESMTPSA id CA816C0924; Mon, 26 Feb 2024 21:49:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datenfreihafen.org; s=2021; t=1708980590; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=W7OAuuFC+fmZ1nPUbf+yUsQuGL64Qf+7Ju4BkHDCQyU=; b=hbhyWQdGtF1jVC6oFeUWMiEA/2Uib6EkQ9ecEZuw5ktZEAFcoeRjg36hFd+fjGEi1Ry3bg FTfFLjiNkbsHpRnwGCAeDr2kmyJBzchfBRjEvRgYrdFiwHk7DggMh3tsa/+m7nSN1s10XT UhA49YuCE0Ctac11Zadx53QbVWQ5NMcvmHEgLTirVGWm4ne24wyQ8/KjK5uhcl51EVowba 0keODdJYk1JEG8emE9DsER76SyIIPL59ZpukYG29wPjDYuuI83vm4JUFzjJG9/PL2XX32S MtuKOcZmiNQ7oPhMf0kgl5lel3SFTruW3U6U+YmSO4QaY509Mpb708uVTPkURg== Message-ID: <87cc872f-d6f9-47d6-b579-f0412430889c@datenfreihafen.org> Date: Mon, 26 Feb 2024 21:48:40 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net: ieee802154: at86rf230: convert to use maple tree register cache Content-Language: en-US To: Bo Liu , alex.aring@gmail.com, miquel.raynal@bootlin.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: linux-wpan@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240202064512.39259-1-liubo03@inspur.com> From: Stefan Schmidt In-Reply-To: <20240202064512.39259-1-liubo03@inspur.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello, On 02.02.24 07:45, 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 > --- > drivers/net/ieee802154/at86rf230.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c > index 164c7f605af5..6212164ffb36 100644 > --- a/drivers/net/ieee802154/at86rf230.c > +++ b/drivers/net/ieee802154/at86rf230.c > @@ -316,7 +316,7 @@ static const struct regmap_config at86rf230_regmap_spi_config = { > .val_bits = 8, > .write_flag_mask = CMD_REG | CMD_WRITE, > .read_flag_mask = CMD_REG, > - .cache_type = REGCACHE_RBTREE, > + .cache_type = REGCACHE_MAPLE, > .max_register = AT86RF2XX_NUMREGS, > .writeable_reg = at86rf230_reg_writeable, > .readable_reg = at86rf230_reg_readable, This patch has been applied to the wpan-next tree and will be part of the next pull request to net-next. Thanks! regards Stefan Schmidt