Re: [Xen-devel] [PATCH v2] x86/cpuidle: prevent out of bounds array access

2015-05-22 Thread Andrew Cooper
On 22/05/15 14:55, Jan Beulich wrote: > ... resulting from fbeef5570c ("x86/cpuidle: get accurate C0 value with > xenpm tool"). For consistency also no longer account an unknown state > to C0 in pmstat_get_cx_stat(). > > Reported-by: Andrew Cooper > Signed-off-by: Jan Beulich Looks plausible. R

[Xen-devel] [PATCH v2] x86/cpuidle: prevent out of bounds array access

2015-05-22 Thread Jan Beulich
... resulting from fbeef5570c ("x86/cpuidle: get accurate C0 value with xenpm tool"). For consistency also no longer account an unknown state to C0 in pmstat_get_cx_stat(). Reported-by: Andrew Cooper Signed-off-by: Jan Beulich --- a/xen/arch/x86/acpi/cpu_idle.c +++ b/xen/arch/x86/acpi/cpu_idle.