mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
c1385c1f0b
Separate code paths, combined with a flag set in acpi_processor.c to indicate a struct acpi_processor was for a hotplugged CPU ensured that per CPU data was only set up the first time that a CPU was initialized. This appears to be unnecessary as the paths can be combined by letting the online logic also handle any CPUs online at the time of driver load. Motivation for this change, beyond simplification, is that ARM64 virtual CPU HP uses the same code paths for hotplug and cold path in acpi_processor.c so had no easy way to set the flag for hotplug only. Removing this necessity will enable ARM64 vCPU HP to reuse the existing code paths. Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Hanjun Guo <guohanjun@huawei.com> Tested-by: Miguel Luis <miguel.luis@oracle.com> Reviewed-by: Gavin Shan <gshan@redhat.com> Reviewed-by: Miguel Luis <miguel.luis@oracle.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20240529133446.28446-2-Jonathan.Cameron@huawei.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> |
||
---|---|---|
.. | ||
platform | ||
acbuffer.h | ||
acconfig.h | ||
acexcep.h | ||
acnames.h | ||
acoutput.h | ||
acpi_bus.h | ||
acpi_drivers.h | ||
acpi_io.h | ||
acpi_lpat.h | ||
acpi_numa.h | ||
acpi.h | ||
acpiosxf.h | ||
acpixf.h | ||
acrestyp.h | ||
actbl1.h | ||
actbl2.h | ||
actbl3.h | ||
actbl.h | ||
actypes.h | ||
acuuid.h | ||
apei.h | ||
battery.h | ||
button.h | ||
cppc_acpi.h | ||
ghes.h | ||
hed.h | ||
nfit.h | ||
nhlt.h | ||
pcc.h | ||
proc_cap_intel.h | ||
processor.h | ||
reboot.h | ||
video.h |