summaryrefslogtreecommitdiff
path: root/rust/macros/zeroable.rs
diff options
context:
space:
mode:
authorGautham R. Shenoy <gautham.shenoy@amd.com>2025-11-07 13:11:44 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-11-07 18:37:42 +0100
commit0fce75870666b46b700cfbd3216380b422f975da (patch)
treed76798faed28be4e1bb81faea78bccd542f8b792 /rust/macros/zeroable.rs
parent8821c8e80a65bc4eb73daf63b34aac6b8ad69461 (diff)
ACPI: CPPC: Limit perf ctrs in PCC check only to online CPUs
per_cpu(cpc_desc_ptr, cpu) object is initialized for only the online CPU via acpi_soft_cpu_online() --> __acpi_processor_start() --> acpi_cppc_processor_probe(). However the function cppc_perf_ctrs_in_pcc() checks if the CPPC perf-ctrs are in a PCC region for all the present CPUs, which breaks when the kernel is booted with "nosmt=force". Hence, limit the check only to the online CPUs. Fixes: ae2df912d1a5 ("ACPI: CPPC: Disable FIE if registers in PCC regions") Reviewed-by: "Mario Limonciello (AMD) (kernel.org)" <superm1@kernel.org> Signed-off-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Link: https://patch.msgid.link/20251107074145.2340-5-gautham.shenoy@amd.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/macros/zeroable.rs')
0 files changed, 0 insertions, 0 deletions