From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9225B2FC88C; Fri, 10 Oct 2025 16:54:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760115297; cv=none; b=Hcvhpto33IyG8YfIItjg5pw2/fdPiWr1TTAi7JHrSBHXsKYy/49iMjYiO+zUE+srfI9zdkqDPxFQ0V75e5AYetcW+wzuOCeFr0HKkOdpPSwZQjUqELMnOeK4/UxAhZ028Bi7YCAvi3a10aZyWgB0ZnX+tZnAI75ZMk40FU40aE8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760115297; c=relaxed/simple; bh=rzgS5U3wOAz6i7tHimCpHOWZle7PLS21PkU3v7tYq7s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dy525qFmWZE7WnaU5MAiTZ3EHasT+doEbChPY1S+k12dSoNywc27U+6no6wEY5eTrRpDSFG/NUJ1fU17qpGwJ1Hw9mApHT8mEvSOu15V5Ve8VA4SRNfISG/VH1zqtFfw8Jeo5p9huo7MT+norB9szP10jLfvZ/UW51zNBFUyvNo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F2DCE1713; Fri, 10 Oct 2025 09:54:45 -0700 (PDT) Received: from [10.1.197.69] (eglon.cambridge.arm.com [10.1.197.69]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 912D03F66E; Fri, 10 Oct 2025 09:54:48 -0700 (PDT) Message-ID: Date: Fri, 10 Oct 2025 17:54:25 +0100 Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 01/29] ACPI / PPTT: Add a helper to fill a cpumask from a processor container To: Fenghua Yu , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org Cc: D Scott Phillips OS , carl@os.amperecomputing.com, lcherian@marvell.com, bobo.shaobowang@huawei.com, tan.shaopeng@fujitsu.com, baolin.wang@linux.alibaba.com, Jamie Iles , Xin Hao , peternewman@google.com, dfustini@baylibre.com, amitsinght@marvell.com, David Hildenbrand , Dave Martin , Koba Ko , Shanker Donthineni , baisheng.gao@unisoc.com, Jonathan Cameron , Rob Herring , Rohit Mathew , Rafael Wysocki , Len Brown , Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , Catalin Marinas , Will Deacon , Greg Kroah-Hartman , Danilo Krummrich References: <20250910204309.20751-1-james.morse@arm.com> <20250910204309.20751-2-james.morse@arm.com> <89d5a73c-2a48-4aec-9249-07c71ca214ec@nvidia.com> Content-Language: en-GB From: James Morse In-Reply-To: <89d5a73c-2a48-4aec-9249-07c71ca214ec@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Fenghua, On 02/10/2025 04:35, Fenghua Yu wrote: > On 9/10/25 13:42, James Morse wrote: >> The ACPI MPAM table uses the UID of a processor container specified in >> the PPTT to indicate the subset of CPUs and cache topology that can >> access each MPAM System Component (MSC). >> >> This information is not directly useful to the kernel. The equivalent >> cpumask is needed instead. >> >> Add a helper to find the processor container by its id, then walk >> the possible CPUs to fill a cpumask with the CPUs that have this >> processor container as a parent. >> >> CC: Dave Martin >> Reviewed-by: Sudeep Holla >> Signed-off-by: James Morse > > Reviewed-by: Fenghua Yu Thanks! James