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 7B6952EF9D5 for ; Fri, 25 Jul 2025 17:06:05 +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=1753463166; cv=none; b=N3u/4YKOYHW/o1bcbovkoKwf3a8+EuDSG292doa+FvFnvdzueG+6s5kdCFv8s+MVm/FA0iadow7XBs06wnRzrump6zmBInN1rAbo8STHpOk3ScgCwNv8XeX643eZWFXWYRZ+xZFCy6fFgK1ArOEqgdAsqOa+3y6yFB1+xIrtRPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753463166; c=relaxed/simple; bh=sUnMmghG3K0XmTiWULZ2zPSu0EwKFFvlidAFa+7DMkM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gPWh1m5IiUV1H7ANXaXDprbSAr0FurU6frJ04gOiwOm/cK12t8BfKWfzKeLsgFA3AigiIO9Ap/olkwhXchRnUKB9v8l3rBZg6BApJupepqwxGpvRh4uhVjYszG4vsqdviq9CRkwgSGEV8dCjEEj0J3MA0t4JgO91KjqMUjjXWm8= 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 01C1E176C; Fri, 25 Jul 2025 10:05:58 -0700 (PDT) Received: from [10.1.197.43] (eglon.cambridge.arm.com [10.1.197.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7A0BC3F66E; Fri, 25 Jul 2025 10:06:00 -0700 (PDT) Message-ID: <1097d0cf-deb7-4247-93eb-2fe8b23dbd6c@arm.com> Date: Fri, 25 Jul 2025 18:05:58 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 05/36] ACPI / PPTT: Add a helper to fill a cpumask from a processor container To: Jonathan Cameron Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring , Ben Horgan , Rohit Mathew , Shanker Donthineni , Zeng Heng , Lecopzer Chen , Carl Worth , shameerali.kolothum.thodi@huawei.com, D Scott Phillips OS , 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 , Rex Nie , Dave Martin , Koba Ko , Sudeep Holla References: <20250711183648.30766-1-james.morse@arm.com> <20250711183648.30766-6-james.morse@arm.com> <20250722152807.000069d3@huawei.com> Content-Language: en-GB From: James Morse In-Reply-To: <20250722152807.000069d3@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Jonathan, On 22/07/2025 15:28, Jonathan Cameron wrote: > On Fri, 11 Jul 2025 18:36:17 +0000 > James Morse wrote: > >> The PPTT describes CPUs and caches, as well as processor containers. >> The ACPI table for MPAM describes the set of CPUs that can access an MSC >> with the UID of a processor container. >> >> 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. >> +/** >> + * acpi_pptt_get_cpus_from_container() - Populate a cpumask with all CPUs in a >> + * processor containers >> + * @acpi_cpu_id: The UID of the processor container. >> + * @cpus The resulting CPU mask. > Missing colon. > > From a W=1 build (and hence kernel-doc warning). Thanks! W=1 spews so much output I tend to rely on the kbuild robot to report if I'm making it worse! James