Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2657068rdb; Mon, 5 Feb 2024 13:22:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHISmu/hcu8yHrq4KprpJzFFLBtNwKtB68sPwUwAvJ8tgaypIo+orufdy2ETBlXq4SITT6m X-Received: by 2002:ac8:4e4b:0:b0:42c:b74:bfbd with SMTP id e11-20020ac84e4b000000b0042c0b74bfbdmr498860qtw.45.1707168177056; Mon, 05 Feb 2024 13:22:57 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUPua2jUm4mcgzSJBG+G6W028tTCTajaakJHi2Ne3NSgPm0VrPzn9h2poMXsrynAtAupOvn723QHdtkxKNcB87BLfspQXbuApDMDPPzkw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w3-20020a05622a190300b0042ab53fb2eesi750734qtc.764.2024.02.05.13.22.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 13:22:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53833-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=neutral (body hash did not verify) header.i=@redhat.com header.s=mimecast20190719 header.b=b+E2+kkc; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-53833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53833-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 8F9AE1C23726 for ; Mon, 5 Feb 2024 21:22:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94B69612D9; Mon, 5 Feb 2024 19:42:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="b+E2+kkc" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 541E660EEF for ; Mon, 5 Feb 2024 19:42:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707162145; cv=none; b=DhtxP8JpqNKzCvIBiZuZq54Qg12I8qrQGKImg3gBIM2LkZeU26xSh0nyCMqcejNw2sAbd3nwPS4skKO0JTRXJXuiSW0K6WFcSXb7BhUtEPHJBz46gt9ZuPE3b9vFsssVJs8JD6SorvRmQot16RI0cNopl5uVzCxFJ5Tia44Md5Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707162145; c=relaxed/simple; bh=jHHhwO4XYFOznV01fWKiZQZMx41O0oaVZ/WUu3ZSsOE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=P8WxBGaPLpqsvnWbiwEbxPfEH7njtNq/UVM5kTxkIkx+9k6f0gcUlXR1Gt/piboCAXu3/5uywK0lZy7TPOecJGgX/2++hZ3A5S1aTKoucdWlBhQPoUKnLT2uFZaqHJ057RYV22rWYN+JLK6BM94YKKQGVXLkQi+DBQ3DALTDuLM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=b+E2+kkc; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707162143; 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=jHHhwO4XYFOznV01fWKiZQZMx41O0oaVZ/WUu3ZSsOE=; b=b+E2+kkcXXkO9cFlc37XLh0ckla5pGINizKWGH+qeKOGqZ21Tozp5E5wmCesx4K4a0JiRu 9zjPo0Ko4Z3/IOpiTon3Wj2FtL/OaqG8VP4jg7QW/Pi5mOkKfs9FUUHI4OWsEp3w3J7lcM h1NYpQJycSmeKZJaqNfMfLopFQIas08= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-638-jN3SojraOZm9mP3k7kobkQ-1; Mon, 05 Feb 2024 14:42:21 -0500 X-MC-Unique: jN3SojraOZm9mP3k7kobkQ-1 Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-55fabc6adefso5217944a12.1 for ; Mon, 05 Feb 2024 11:42:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707162140; x=1707766940; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jHHhwO4XYFOznV01fWKiZQZMx41O0oaVZ/WUu3ZSsOE=; b=RDnSBluSPNqjhkPUXP5U6z8I7tWO0qbvN9dl+5MfN9gr3aRhgROxskUmbSVGPvNW19 5WlQl7Nfny3c+N39wDb7KAiRUIFvqQrxci6s5K2Xz6Ak4Twc+E2/WjpbR6xzd8DwlF1m MG6xlNR0W/TRRmSzlCJZuPkbcmq1jgSJRL4slUeCE+Bag0WRcwedIZmCV9QyCkOmZdTF zNxkmErD557Fn3sDpZCea5V2J/XWaJcl3YQW2gvQWMXARoGmyGtfOVc5Q1JsrmNydDth CPNswbFvBTS99B9lAWhUtcFtp5lrAm6beHxu4yUKuX21+1Ner9C5WkqaAoHGclJfl9xY HvqA== X-Gm-Message-State: AOJu0Yzr2dX1lz157lzqK/ZdsGqJx4itq6HcT9823ShvmY9iiBr4dxU/ vOBXoC49X23MoLROyuto2rabffVo9YMdimqpicb8h0pMI8NoftHLQiUQ3urmwZAibiYWbwSi8sc 3/W6UAAO5gbZUE7glHJv7Uab7IGW5aLqbbROAJ+xKWXJ7Qf5x1NvrffarpkLY3JLyv1JD+nA3bu 2uxdCmB9kFrXsoIli4FC33lgquE+fcQuCHNewvM4uv/Hp1 X-Received: by 2002:aa7:d893:0:b0:55f:e543:b006 with SMTP id u19-20020aa7d893000000b0055fe543b006mr689423edq.13.1707162140578; Mon, 05 Feb 2024 11:42:20 -0800 (PST) X-Received: by 2002:aa7:d893:0:b0:55f:e543:b006 with SMTP id u19-20020aa7d893000000b0055fe543b006mr689407edq.13.1707162140360; Mon, 05 Feb 2024 11:42:20 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240202064512.39259-1-liubo03@inspur.com> <20240202085547.46c81c96@xps-13> In-Reply-To: <20240202085547.46c81c96@xps-13> From: Alexander Aring Date: Mon, 5 Feb 2024 14:42:09 -0500 Message-ID: Subject: Re: [PATCH] net: ieee802154: at86rf230: convert to use maple tree register cache To: Miquel Raynal Cc: Bo Liu , alex.aring@gmail.com, stefan@datenfreihafen.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-wpan@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Fri, Feb 2, 2024 at 2:56=E2=80=AFAM Miquel Raynal wrote: > > Hi Bo, > > liubo03@inspur.com wrote on Fri, 2 Feb 2024 01:45:12 -0500: > > > The maple tree register cache is based on a much more modern data struc= ture > > than the rbtree cache and makes optimisation choices which are probably > > more appropriate for modern systems than those made by the rbtree cache= . > > What are the real intended benefits? Shall we expect any drawbacks? > I doubt it has really any benefits, only the slowpath is using regmap to set some registers. Maybe if you change phy setting frequently it might have an impact, but this isn't even a path considered to run fast. - Alex