Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp895731lqt; Fri, 7 Jun 2024 01:45:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW6OnQ7vaXD7J1fqjuY5z8z9a7mU//m6D8fsBxQW/o9myM2BrnKVZkzZOF/2GfNQoaOANRudf5BbRqJUHjZ30+KBGn/2oukS5Yw0AwOZg== X-Google-Smtp-Source: AGHT+IGgV7TNRewAKFYtrzFnCwRFArCCI9u4pYwH7Yi9ZVB3NWzfEaXcEoo2puKLT9+38dLlOwaI X-Received: by 2002:a05:6a00:1387:b0:702:42af:ca18 with SMTP id d2e1a72fcca58-7040a287a0emr2610712b3a.7.1717749920802; Fri, 07 Jun 2024 01:45:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717749920; cv=pass; d=google.com; s=arc-20160816; b=pC9l3phrqyq1IrCNjYaZbEryZqoi4sw9+vPthhq3a1ZTJyDU05UaNqLO9X+0BuJB1+ lMhnCXxgz0QmDc6ZPN1yj1gbAR7SNAMFQYvanvlMz1e6XeVLLHGgc/jYM2KQLKseAPB/ erGsP6+X7meAAOvugiN5c8DJ0xwoROHiXuj/SJtLAOPbmj4CZKfBD9BEdMvUF9fG5YyG rWkJpbPgPd9WXRgJY9+Lh/saWSOxQQ+sYwh5bkeS2KrEvpB/Rf/TOk8zCdOrVW7LjtEJ a4YNGcfB88/RxE6IwxpDI6ZNSEFEZeana4mPkT/dobicC/4rQhBLpMFL/sZuKnLEPohi hYfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=JBhYSibF+a35hxu2YgVd+MGY4jpXCfFZWPQQChFfVoE=; fh=ND+IMzf+dWUn30PLbd7kwHzntei5qBW8QVLmzaHX8NI=; b=Lb4NOPPlxVc7KDg/CQt8YIyXyAD8Dfh3G68xFp/PI90KRAO3UlBuPr4uQU3DwQ6fwl GeZwhRmowhDPNw9arK6tDdRovpo/TKvdaTRQGMp6MLGwf3nVDBRlXkTrx8uMu6+g43vY DoGL4Mzw9cGGt0E/5QcLoRenuGU1e1WA2uopBmbkI6Q8bmiEv8MJSb/ul5AYnr8/MeLp Zf6Mht6dyZajwNnyqCg8AlS229+9Wecv/3Q/4VLeHEvlrK+9Nqc8t9R2HH28lOHF3NT5 8PMPYmZUDtytro1B5UrhFRB8C9n0bHVhSZ6kyhFTAVFnNXP0ZzO2YkSvAMasejJVtpq8 WWMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=kOSKNW0W; 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-205624-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205624-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de2760ab15si2681224a12.542.2024.06.07.01.45.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 01:45:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205624-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=kOSKNW0W; 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-205624-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205624-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D0E6FB239B7 for ; Fri, 7 Jun 2024 08:45:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C45F15B129; Fri, 7 Jun 2024 08:44:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b="kOSKNW0W" Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) (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 AEF4315B135 for ; Fri, 7 Jun 2024 08:44:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717749890; cv=none; b=DbXCZIr0aIxnHFXFx7rCDlxZ6YlyGVl/s0enntVyyQzv2fxBM1ggeT7z0HukvMyABimB86bcfPZzQcQtzyQ19jb+S/fMNoswi4Jvo9FX8r4dvk2hoSAXwjC4YRXzMqAL3uVTBkQbsoZNLsPJYqdHQ1f+SZfFhjrPRyL81Lp6uaw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717749890; c=relaxed/simple; bh=+6hBIEM5DyxzhidynlmsTx8Qt+LbFMnw7Rl6jR3aSWM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Content-Type; b=KiNKtbSHxkAVoXy9+1Nu7BiPHg/6oI3yd0/QMTdw3GMMVA0iu77AVmO4Kp9hitRv94QPr4+HddNT5ffaRaG35Ca4w2sT4qszw8l71kI/SlDjzNuYVNXhOHCypV0Oygx44y3R49wMylrdpxJOiL72DZwaAVolOyMQl5wDkcBLYWM= 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=kOSKNW0W; arc=none smtp.client-ip=209.85.160.43 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-oa1-f43.google.com with SMTP id 586e51a60fabf-2509f93959bso759381fac.1 for ; Fri, 07 Jun 2024 01:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1717749888; x=1718354688; darn=vger.kernel.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JBhYSibF+a35hxu2YgVd+MGY4jpXCfFZWPQQChFfVoE=; b=kOSKNW0WuZplVQ2LUfwSIr//znyUPsshFDZmKwHs68+6AxeUYpWC0vqc6uSG9DHQxl ZE8ybDZSroyDg5KXccseFZIKs4Qj/ADuaUl2MeDqNQdvPlur0O9qHTt7Wfl5DVKksjDh VRjlsDYzsLqJOaRBRaGwpGrzqRLajEHNprasDVw7FGLMGYGJmiPhdH9qUQ/GPMTMLLzh JFUyGIesVQE2if7FJyETRSZjnCmL0zukZKsNkI5FnaEBfodaqZFZIzYPgBsP1MSlJMkD wUzoMEOX6XUqdynXVr9mVKEPZMiWxAhXUiruzWR/ZBKpGn/VJjVWfrW7+6lMnZD+5ase zmkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717749888; x=1718354688; h=content-transfer-encoding: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=JBhYSibF+a35hxu2YgVd+MGY4jpXCfFZWPQQChFfVoE=; b=U3c7Xjz2gkUs/QoFvSuQLNfE9x7bAG6GnzG9O/2WVzSm++atbFKjc1/cwuZZPjGpPn ieXhNFG6KwVkElYSeZ2y7/oNXKDNUcifjfGQrMJGtZGzBhJiuVBFMV4KY5Hkj2pEjEAm A0aXutckamePONBVr/dKkrXVkPUXJukI6uudfeHvQk3phF53dbfsyG9MTJgUZpA3RU/e EmfHBrIyDTfz3NJjqKoUn2cfYmPFPlWEjcZNAG1XZJlz41nV3oscvUw1GVrQ/xkdPODJ 4FrS6tRTMWWxXm4JPTSxpOgbNUQ2dqaXftgzuEfSKSCxN3YugZLzeTiDq5Y/Ha61kzxz yL6g== X-Forwarded-Encrypted: i=1; AJvYcCUB7Hc5WNp4Bql8ejLwEq0KMS4KcBaKQhVk3IASClvrByVlF2MQpRgcpx6IwiMeiIQv5rVGJ8jfwaRYBZuKgxE6285+2QJwJCUcIALp X-Gm-Message-State: AOJu0YxCoMT2lDgriqU/VSHjb8+26EQTmfwPPSv2eU9OxRqpDLjLw2qQ YxeXXzbNJy/meh+2kvYJC8rkzLsHSkF30RounVjrxl2uFwiuu72b0jaSLRiu3Kbq6JvfrEkBNEM DCjX6XQ0o+cpIP8heKRACvlmqxKFr6FCjNQFRqAVXRVwajLO9D+nmro0C X-Received: by 2002:a05:6870:1690:b0:24f:c2c8:4d3e with SMTP id 586e51a60fabf-254402bc340mr2461247fac.3.1717749887788; Fri, 07 Jun 2024 01:44:47 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240523111322.19243-1-cuiyunhui@bytedance.com> <20240523111322.19243-3-cuiyunhui@bytedance.com> In-Reply-To: From: yunhui cui Date: Fri, 7 Jun 2024 16:44:36 +0800 Message-ID: Subject: Re: [PATCH RESEND v5 3/3] RISC-V: Select ACPI PPTT drivers To: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, sunilvl@ventanamicro.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, bhelgaas@google.com, james.morse@arm.com, jeremy.linton@arm.com, Jonathan.Cameron@huawei.com, pierre.gondois@arm.com, sudeep.holla@arm.com, tiantao6@huawei.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Sunilvl, On Mon, May 27, 2024 at 8:51=E2=80=AFPM yunhui cui wrote: > > Hi Palmer, > > Gentle ping ... > > On Thu, May 23, 2024 at 7:13=E2=80=AFPM Yunhui Cui wrote: > > > > After adding ACPI support to populate_cache_leaves(), RISC-V can build > > cacheinfo through the ACPI PPTT table, thus enabling the ACPI_PPTT > > configuration. > > > > Signed-off-by: Yunhui Cui > > Reviewed-by: Jeremy Linton > > Reviewed-by: Sudeep Holla > > --- > > arch/riscv/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > > index f961449ca077..a9ebecd72052 100644 > > --- a/arch/riscv/Kconfig > > +++ b/arch/riscv/Kconfig > > @@ -14,6 +14,7 @@ config RISCV > > def_bool y > > select ACPI_GENERIC_GSI if ACPI > > select ACPI_REDUCED_HARDWARE_ONLY if ACPI > > + select ACPI_PPTT if ACPI > > select ARCH_DMA_DEFAULT_COHERENT > > select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRAT= ION > > select ARCH_ENABLE_SPLIT_PMD_PTLOCK if PGTABLE_LEVELS > 2 > > -- > > 2.20.1 > > > > Thanks, > Yunhui Could you please review or ack this patchset again? Palmer did not respond. Link: https://lore.kernel.org/linux-riscv/20240523111322.19243-3-cuiyunhui@byteda= nce.com/T/ Thanks, Yunhui