Displaying 1 result from an estimated 1 matches for "default_halt".
Did you mean:
default_call
2012 Mar 01
3
[PATCH v2] x86: Use deep C states for off-lined CPUs
...41 2012 +0100
@@ -566,6 +566,7 @@ static void acpi_dead_idle(void)
struct acpi_processor_power *power;
struct acpi_processor_cx *cx;
void *mwait_ptr;
+ struct cpuinfo_x86 *c = ¤t_cpu_data;
if ( (power = processor_powers[smp_processor_id()]) == NULL )
goto default_halt;
@@ -601,6 +602,23 @@ static void acpi_dead_idle(void)
mb();
__mwait(cx->address, 0);
}
+ }
+ else if ( c->x86_vendor == X86_VENDOR_AMD &&
+ cx->entry_method == ACPI_CSTATE_EM_SYSIO )
+ {
+ /* Intel prefers not to us...