search for: check_cx

Displaying 2 results from an estimated 2 matches for "check_cx".

Did you mean: check_c
2013 Nov 11
1
[PATCH] x86/idle: reduce contention on ACPI register accesses
...t_register(ACPI_BITREG_ARB_DISABLE, 0); - c3_cpu_status.count--; + if ( c3_cpu_status.count-- == num_online_cpus() ) + acpi_set_register(ACPI_BITREG_ARB_DISABLE, 0); spin_unlock(&c3_cpu_status.lock); } @@ -821,12 +821,10 @@ static int check_cx(struct acpi_processo return -EINVAL; /* All the logic here assumes flags.bm_check is same across all CPUs */ - if ( bm_check_flag == -1 ) + if ( bm_check_flag < 0 ) { /* Determine whether bm_check is needed based on CPU */...
2011 Aug 15
36
expose MWAIT to dom0
There''re basically two methods to enter a given C-state: legacy (hlt + I/O read), and native(using mwait). MWAIT is always preferred when both underlying CPU and OS support, which is a more efficient way to conduct C-state transition. Xen PM relies on Dom0 to parse ACPI Cx/Px information, which involves one step to notify BIOS about a set of capabilities supported by OSPM. One capability