Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp28806lqo; Wed, 15 May 2024 19:44:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWA2mEX5f1CwJvNKtTcI71YdkhqxY5NFDaAmvorq2JO/Ioixhw3Akk+DjYOzhFAyShl0tvGvtL5atmXqWEWqTboVogOJ1s4M55+iyHidw== X-Google-Smtp-Source: AGHT+IFVJ30kWV3y99AoweJ+86nEe4dldAqkxMFVlxnYhfal66fJH/tURq5w9++ynrKBkps50/EU X-Received: by 2002:a17:906:70e:b0:a59:a3ad:c3f6 with SMTP id a640c23a62f3a-a5a2d18b03fmr1585687866b.3.1715827494108; Wed, 15 May 2024 19:44:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715827494; cv=pass; d=google.com; s=arc-20160816; b=VywlHM30+ZudfFAwiOcNpftD5fEiwD//7vUu0T5gbMcno2IAY8ZncVlRHTFEIGkR8b zoYWtJaf6+lxJSqFAdNQJRx6uVUIZfX+8qytoKHed/PZrHG5vDun+x0PdQyVuSQ1Tr0N xszJbjreLP5e8qmpe11kiumFG0eSECeF3oUeVJbsmvePUUlt3PvfiRCixGl8QGtHZQnM N8KRwmVypxiBlpweP7q/AjoOTGH0TXfT4KBrmyGG+AqcBuS0UQZ0SWxKm7gbxf9jQ56t zcpfArbsgwqWVmkZbPuI1HYnRWgMSr5HLbld9PlxdDD1lsTQ4HxmDkoxyCBso+DmAXrK jW8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=kGxOV3wnS+g16tgOJzMj1a3n3g/6Jdh9v3a/SW6PknE=; fh=ZPFS00cqvoXTFtfdG/4FL3czM7Qb3P++qm4FlndB3D8=; b=Q9VsZ3XizU+S/1LITsyAJ1Z+EzVkLmryuCTkHuuyzATXs+rXWC0Sa1gKF64a/8WQUC t9jNRFxAO/KM6IKmeQEuBybIsDQy1Cei3KvtFsPc+zvUONmbfnVAVhMHji+CXjqcLSMo XjrWUlbsFmPn/3heJhBOrF+pCdpVKWU/eJoEN2+mlP2DeXVpoltUbpRojlohs+UT8htU xEocEep4+t72mhO7a93YfSFn04IrbWCiDSxBzZDuuZwvp92Q9uq6IWlb8WrnSeEnRUhy SiEjI7+HcNyhYw64KSLmDp1hn+7Wggkkmo1ljjhQe9oSeRxdy+rXC0kTdtYZQ8X4vynt Q9yg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=E3ylK4wl; arc=pass (i=1 spf=pass spfdomain=bytedance.com dkim=pass dkdomain=bytedance.com dmarc=pass fromdomain=bytedance.com); spf=pass (google.com: domain of linux-kernel+bounces-180578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a1797c8f6si792308466b.240.2024.05.15.19.44.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 19:44:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=E3ylK4wl; arc=pass (i=1 spf=pass spfdomain=bytedance.com dkim=pass dkdomain=bytedance.com dmarc=pass fromdomain=bytedance.com); spf=pass (google.com: domain of linux-kernel+bounces-180578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.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 am.mirrors.kernel.org (Postfix) with ESMTPS id D12BA1F2194A for ; Thu, 16 May 2024 02:44:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A3F015C3; Thu, 16 May 2024 02:44:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b="E3ylK4wl" Received: from mail-oo1-f45.google.com (mail-oo1-f45.google.com [209.85.161.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20B0CAD4E for ; Thu, 16 May 2024 02:44:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715827485; cv=none; b=sJkd29OIlJOa/KLypeatf7czB+Ldx7lYPJ2DuziWhL/CV/edfkxnf1wC4mGt3h8pb6j6DQlIYKUvR9tsJffbcagzyD7jwqDFOVL18cpNaEIkhfwtv/GZ1RWi2OHcoy4/PJTVvhPAFkj7Nhw+C68/cn8tDAsxXW8/PwrP4DjpFvE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715827485; c=relaxed/simple; bh=kGxOV3wnS+g16tgOJzMj1a3n3g/6Jdh9v3a/SW6PknE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=pn/kuSbO2RPbJmnTW8hCArBZagLkTl4O5Dv4N/fiYWCwbF0Zt9AW8Cx5a6W8FnVa0kcxjQ+k/Ros6fJ+fNl1PJLSvaXL67n6yp+GiEsAokUcM51T7MhxjVBDuGW8iwMN2kOOFJyzbF8jdE54MtFRpCwzPQkf6ZGhfVJNITgY1IE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com; spf=pass smtp.mailfrom=bytedance.com; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b=E3ylK4wl; arc=none smtp.client-ip=209.85.161.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bytedance.com Received: by mail-oo1-f45.google.com with SMTP id 006d021491bc7-5b296194ac1so3306786eaf.2 for ; Wed, 15 May 2024 19:44:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1715827483; x=1716432283; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kGxOV3wnS+g16tgOJzMj1a3n3g/6Jdh9v3a/SW6PknE=; b=E3ylK4wlMkAJDRK7xCoI1Av6x/shba8g7TrWaNGkNKy6wThCQstM4FMvIa71aheVnI yFULiv2hJ9xJun6Laj9Xa5kKNAt7+k3OJDnR3Xk9UL4i4Bd+iMcdQ/1JrqAAjqtvYyJt bWyogpCt8J3IO2nVOeN4dUSUMSdsnE8JEnjS+s9Nru7Ilxqk6Ry3878N9TodUevRlUjl OvGC0eHCWaIJu5RmA8waJsCir7dBUVZ5eQOXlI1DCGduQ/nWTLRe8wB0wnsXMj4OHeA5 kGfLQ9abG/ncy6+dINvJjJNEez2Yh6BW2pgKyApyY9AAwQsXGTWnv/QN7v7QYAuqHmCV hhSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715827483; x=1716432283; 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=kGxOV3wnS+g16tgOJzMj1a3n3g/6Jdh9v3a/SW6PknE=; b=Kro9LyqP1tErAJrtOU+r/QOVuSoGQzZ8BQAoEymd6pd4AUPIdV1ba97TW8AFcU2ILp ZrddKE5paSUObEhPogkiHr703RyZag0V1UZM5HHI471rs0DtfeN1Di5rZzsrSmwGYGH7 uOO3hmFG7bS8UErMEaHdUQNYpwvEgitLK2voym29szVa9VuCgU6KYvENDIFPa1ftl4Zf 9ZkHJzDEt2ErjPKv/ghTwpeMK55ntlxPd6/aYjwszOtY8AVy6RMFvqED4jGFeZgVm08b UP/JEwz8SlVTObonNooBAfY0LBXx/ZFxowjQTsHg+WjrvismnHaD69rQ4p/Y5XKVdo71 u7zQ== X-Forwarded-Encrypted: i=1; AJvYcCWNw/tlckCbGlfE5P4noos1tLVaJA6fr4SkUz/QNINFj9M3TYHyb2OP+9Wxzi7lHEFkIldLHcUuphmEv3/xsiUH43bHJR8i/HttpTf2 X-Gm-Message-State: AOJu0YzL3x/IR+W3B+M0sqLRKDwaf+dLtTXfsX9VOmOi02DnQdkTf7iw 25W/WERb5oYbjK9PV/i82uHvbJHMX3DifJ8bN1VzX+4fNril04dbEOjgpaB+mUjecXw+Pv48qqx P2FA7l63uZMXfLUbKoukfm7151Dzr9souKY3clg== X-Received: by 2002:a05:6871:1ce:b0:233:60e7:52bf with SMTP id 586e51a60fabf-24172fca296mr22838572fac.50.1715827483168; Wed, 15 May 2024 19:44:43 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240509073300.4968-1-cuiyunhui@bytedance.com> <20240509073300.4968-2-cuiyunhui@bytedance.com> In-Reply-To: From: yunhui cui Date: Thu, 16 May 2024 10:44:31 +0800 Message-ID: Subject: Re: [External] Re: [PATCH v5 2/3] riscv: cacheinfo: initialize cacheinfo's level and type from ACPI PPTT To: Palmer Dabbelt Cc: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, paul.walmsley@sifive.com, sunilvl@ventanamicro.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, bhelgaas@google.com, james.morse@arm.com, jhugo@codeaurora.org, jeremy.linton@arm.com, john.garry@huawei.com, Jonathan.Cameron@huawei.com, pierre.gondois@arm.com, tiantao6@huawei.com, Conor Dooley , Sudeep Holla Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Palmer, Gentle ping ... On Fri, May 10, 2024 at 5:09=E2=80=AFPM yunhui cui wrote: > > Hi Palmer, > > There are already related Reviewed-by, Gentle ping... > > On Thu, May 9, 2024 at 11:27=E2=80=AFPM Sudeep Holla wrote: > > > > On Thu, May 09, 2024 at 03:32:59PM +0800, Yunhui Cui wrote: > > > Before cacheinfo can be built correctly, we need to initialize level > > > and type. Since RISC-V currently does not have a register group that > > > describes cache-related attributes like ARM64, we cannot obtain them > > > directly, so now we obtain cache leaves from the ACPI PPTT table > > > (acpi_get_cache_info()) and set the cache type through split_levels. > > > > > > Suggested-by: Jeremy Linton > > > Suggested-by: Sudeep Holla > > > > I am not sure why you have not added my reviewed-by as I was happy with > > v3 onwards IIRC. Anyways, I will give it again =F0=9F=98=84 > > > > Reviewed-by: Sudeep Holla > > > > -- > > Regards, > > Sudeep > > Thanks=EF=BC=8C > Yunhui Thanks, Yunhui