Advertise that we can handle unified SMP control of processor power

states, idling, etc.  This has been supported since the cpufreq import.
This commit is contained in:
Nate Lawson 2005-04-10 19:21:42 +00:00
parent 25554b1f2b
commit f2d942579b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144878

View File

@ -295,9 +295,11 @@ acpi_cpu_attach(device_t dev)
/*
* Before calling any CPU methods, collect child driver feature hints
* and notify ACPI of them.
* and notify ACPI of them. We support unified SMP power control
* so advertise this ourselves. Note this is not the same as independent
* SMP control where each CPU can have different settings.
*/
sc->cpu_features = 0;
sc->cpu_features = ACPI_CAP_SMP_SAME | ACPI_CAP_SMP_SAME_C3;
if (devclass_get_drivers(acpi_cpu_devclass, &drivers, &drv_count) == 0) {
for (i = 0; i < drv_count; i++) {
if (ACPI_GET_FEATURES(drivers[i], &features) == 0)