From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 1C78B2C0F8E; Tue, 18 Nov 2025 15:33:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763480024; cv=none; b=R1ljfHW4UJQ5RGr3k3rTyhUkOW9H2B6ysws4k0IgCXznynN99ANgB/fu77Z5fHY3gJ7DWXNCj8DlePaNrlcsw80Sp6Eds7zie0votgTyZs+pbPG/Lo8DJKWW0kXOSz2fPOi1K2ThK7ngfxR/d5kAvzzDzAPWEwgXIx2hygiZRAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763480024; c=relaxed/simple; bh=ssiUtCs0XJtpdtV386Ppxm7lk6cZy6Z1t/bvjbKTNa0=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QUDZsBFWl/xX1UuUcHlz+LYp86iv503HOtbsWsb6sJuJbomK7ufxKWco5SxOEL91tLHOQ1h2m5deGiGktOz5Ok5CS/vdEOeBQbsLzYG7ty9uR/tQjZn8hDwBjAMYI8BRZx3BtWiSSLXxRUMQWDgQaf5vsaQdw7L14T2DnV8ZaEs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4d9pXS0cRwzJ4674; Tue, 18 Nov 2025 23:32:56 +0800 (CST) Received: from dubpeml100005.china.huawei.com (unknown [7.214.146.113]) by mail.maildlp.com (Postfix) with ESMTPS id 7B598140277; Tue, 18 Nov 2025 23:33:38 +0800 (CST) Received: from localhost (10.126.168.5) by dubpeml100005.china.huawei.com (7.214.146.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.36; Tue, 18 Nov 2025 15:33:36 +0000 Date: Tue, 18 Nov 2025 15:33:35 +0000 From: Jonathan Cameron To: Ben Horgan CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , "Zeng Heng" , Shaopeng Tan Subject: Re: [PATCH v5 05/34] ACPI / PPTT: Add a helper to fill a cpumask from a cache_id Message-ID: <20251118153335.000067ed@huawei.com> In-Reply-To: <20251117170014.4113754-6-ben.horgan@arm.com> References: <20251117170014.4113754-1-ben.horgan@arm.com> <20251117170014.4113754-6-ben.horgan@arm.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500010.china.huawei.com (7.191.174.240) To dubpeml100005.china.huawei.com (7.214.146.113) On Mon, 17 Nov 2025 16:59:44 +0000 Ben Horgan wrote: > From: James Morse > > MPAM identifies CPUs by the cache_id in the PPTT cache structure. > > The driver needs to know which CPUs are associated with the cache. > The CPUs may not all be online, so cacheinfo does not have the > information. > > Add a helper to pull this information out of the PPTT. > > CC: Rohit Mathew > Reviewed-by: Gavin Shan > Reviewed-by: Fenghua Yu > Tested-by: Fenghua Yu > Tested-by: Carl Worth > Tested-by: Gavin Shan > Tested-by: Zeng Heng > Tested-by: Shaopeng Tan > Signed-off-by: James Morse > Signed-off-by: Ben Horgan Reviewed-by: Jonathan Cameron