[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH 3/5] cpufreq/amd-cppc: move driver data into policy


  • To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Penny, Zheng" <penny.zheng@xxxxxxx>
  • Date: Mon, 26 Jan 2026 07:16:12 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qwgyqd+lH+cfCzFk+ov4iAD3iv/TFfNAbBtfRsbuSvM=; b=x+H0FbnLPafzbFtZ4sjaS8Q/9eccCVCBDIS0DoEz/QXrV0JrpLvwEC6bFADm2pVHHm6Kb+PaIpo3BUEq7P+l2qBXrKXjFj5y2It+rfaKIi0sKYyL1brjsUfUiuDfU2ehDNPqN3fr6iafeofa8UU8BD9cVLhkCN54P+NeyxE2XZe7JBUoQxGi+Pi/dGIbXuMugc9fJMBSrtb9g9D99kXy01YeMPgU+vHXzeq+gLQIngDpFiiCYGrVFoDP+MIbjQes7h3+EQqpqFBlSE06d2Fp/5NyVjxw4eJOE2uiys3tMe3GbWlUhaNQzoOw2cJPUsgK5dNbItAg73DqQPVbkCNE9w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Cl5QAU4Vf1ue79bGf/sa4OTH3JqUyGIj44N93G7hc1h6rOtUtbksqEivpQuMbOAawwwokaUwoXBJN2vXblZzLrtgCd5qTYeAzXHYwOj/nouSzNrsMv1uxhdtVDHJS/V6HJDmuKAxMLCAHj/PSAR2ATIPXyZ6dWIAU5zUys+rpoNvplO764x382KYd2JmuRLHNaA+M886yKmEvazJXYHwp1a92DPLY3u0iz+wrcit/ZwYCIrCNAC2Xex8jY5EVy7Qu6YjCW2Lr2lAzrwPzLJw8XhaXlmiFdip4p3+y69LuxrmoPvLHvlfrT0fbVJbf+LBJnCfUB66Rba1fSc1m7t+iA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Mon, 26 Jan 2026 07:16:27 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Msip_labels: MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Enabled=True;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_SetDate=2026-01-26T07:15:33.0000000Z;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Name=Open Source;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_ContentBits=3;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Method=Privileged
  • Thread-index: AQHci4OE/XB6ICRJE06j5TZK0wfV/LVkD9kQ
  • Thread-topic: [PATCH 3/5] cpufreq/amd-cppc: move driver data into policy

[Public]

> -----Original Message-----
> From: Jan Beulich <jbeulich@xxxxxxxx>
> Sent: Thursday, January 22, 2026 5:43 PM
> To: xen-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>; Roger Pau Monné
> <roger.pau@xxxxxxxxxx>; Penny, Zheng <penny.zheng@xxxxxxx>
> Subject: [PATCH 3/5] cpufreq/amd-cppc: move driver data into policy
>
> Share space with the ACPI, powernow, and HWP drivers, avoiding a separate
> allocation for each CPU.
>
> This then also reduces the concern over amd_cppc_cpufreq_cpu_init() being 
> called
> for all CPUs, or a CPU going offline that's recorded in policy->cpu (which 
> would
> result in accesses of per-CPU data of offline CPUs).
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Reviewed-by: Penny Zheng <penny.zheng@xxxxxxx>

Many thanks,
Penny Zheng

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.