search for: acpi_pdc_c_c2c3_ffh

Displaying 1 result from an estimated 1 matches for "acpi_pdc_c_c2c3_ffh".

2011 Aug 15
36
expose MWAIT to dom0
...dc(struct acpi_processor *pr, struct cpuinfo_x86 *c) /* * If mwait/monitor is unsupported, C2/C3_FFH will be disabled */ - if (!cpu_has(c, X86_FEATURE_MWAIT)) + if (!cpu_has(c, X86_FEATURE_MWAIT) && !xen_initial_domain()) buf[2] &= ~(ACPI_PDC_C_C2C3_FFH); obj->type = ACPI_TYPE_BUFFER; Above trick is ugly and error-prone, since it always enable mwait regardless of actual CPU capability. It''s unlikely to make into upstream, and also get lost in into some distro such as SLES11. Instead of enhancing current approach (e.g. add a...