Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp657510rdb; Thu, 1 Feb 2024 22:55:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKPaA/We1soRKfF8wd+M4GJ7VIR4z2TQCw7oaWrOnbqqFLW959CiVkj4U3l1oaywmXJQvF X-Received: by 2002:a17:902:fc4c:b0:1d9:2f6e:92b9 with SMTP id me12-20020a170902fc4c00b001d92f6e92b9mr8138717plb.24.1706856924706; Thu, 01 Feb 2024 22:55:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706856924; cv=pass; d=google.com; s=arc-20160816; b=yKzI5Ry6QM3tvzHvSoc9avDLjNL9hAhT1w3cPMNfqJn27t5SKs50jtTxNKVMiyuaoV kp4l6OHbs13KEW1TV0ISQMUdpLvM0Vcy/UVv7NrVIXxbnQyQelu+1HYr/IMP+6z7KvT6 1FMCU+F66mlCMYtfihFZwYhlfWSbhMQu1+7kX8j04Ky9YDe9WlpmAXqYClV8s0FXTzAT VzXEidPPNUJEY+GVjrSTUjweBjw+8VHZSO6gXuezHISZhdLR4hyGNeZi3oyZ3p6dYrWw lEFAURAKAfQ3px4FmrkBNlkrqm4cfgmQZC5blapHP5vSQL9BF9d11P7J+lASz6h/6nhg bCiA== 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:message-id:date:subject:cc:to:from; bh=0hET957jcBWjbK/dTPBgMr+PwGLp75KJVoMlHYWOEfk=; fh=1+YUzdXUOMI0racc46I00Oz6p+3FMX6xQEp/Exen98M=; b=qKIM/XhyAb0ptIoFTQpWS/LmpAHcU5BhzWGFAmxiTIvTyUD1rWBczoyk4/paBUH4XQ ml6uc0gJ44k6ghpz8jiRCUVC0Jv8Cmp8FP1OvyjrfldG2VP4rDmQJN/6gipwTkYsxr0f +vvMkAC36RGR+hkMncwpeLH0RjvlaBsEZ0ID8UxSTzboUndwO/kMtG7W6FuoTeUrz7Jd OJWuvjNu8vHSF5pXscghNydfu0hPsFbmG4hE4mBOmGEXigp2gCjfcLX6+kgOFdaZbZx0 EVD1FunVpq0CfWp82+yt2vFjVLA1dqoGb9DCKrFq1jPbuXGIN20whTPxHVED1WJBg1dm 0NGQ==; 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-49305-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49305-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUWYtSX9c6wzDEXUM5TARGwv+kHI75ZMNHwxHPFTp0tWy2fbdjmjEq1mHNgD2I9Qk11DhhJHjV3itBKefaSDuPzuuoVHIV+GxQR69C1Cw== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f10-20020a17090274ca00b001d78fd55d38si1217853plt.101.2024.02.01.22.55.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 22:55:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49305-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=inspur.com); spf=pass (google.com: domain of linux-kernel+bounces-49305-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49305-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C588DB216A7 for ; Fri, 2 Feb 2024 06:48:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCE793AC08; Fri, 2 Feb 2024 06:45:30 +0000 (UTC) Received: from ssh247.corpemail.net (ssh247.corpemail.net [210.51.61.247]) (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 C47623F8DA; Fri, 2 Feb 2024 06:45:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.51.61.247 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706856330; cv=none; b=VUOh54d9qz0oKV3lM03KuvkbIMWXp9OXtT5GMyfkELliPORipl5r1Lbe/Xc8Gvnq3ggYjLw/6DKI7qZ0hmTvdv/6MiH44rg92Nni79Zzaf+hgXsnjlfOvcsoxmyovNFD4fX2vA9RcEUagz6Ngt8j/uFRY2+ha1GPGxYgSjFd5NA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706856330; c=relaxed/simple; bh=fmnyRu7Ipc3UYUVl8ETKxQiY9bfbLiiGG4Vcth7QSt8=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=UVEJ3JD4eofASVmSEjpmssb7tWv5lhrSW7/oPEwcoTrUrXPH3vsnwKnvUvJjOoBwBRHouCZVwxMLZjoaafHDGSSZVzA1uZhVGz2znJDhs5p8LXeCwoEBwth2BN3mrr/bqeXzlr2oQne3Uugm6tjrRm9LvEOgxA1fkVD5utuoYns= 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.247 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 ssh247.corpemail.net by ssh247.corpemail.net ((D)) with ASMTP (SSL) id YYV00016; Fri, 02 Feb 2024 14:45:16 +0800 Received: from localhost.localdomain.com (10.73.45.222) by jtjnmail201605.home.langchao.com (10.100.2.5) with Microsoft SMTP Server id 15.1.2507.34; Fri, 2 Feb 2024 14:45:15 +0800 From: Bo Liu To: , , , , , , CC: , , , Bo Liu Subject: [PATCH] net: ieee802154: at86rf230: convert to use maple tree register cache Date: Fri, 2 Feb 2024 01:45:12 -0500 Message-ID: <20240202064512.39259-1-liubo03@inspur.com> X-Mailer: git-send-email 2.18.2 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: 2024202144516f4e2eedd30cd5fdc985ec7023f45e466 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/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, -- 2.31.1