Re: [Xen-devel] [PATCH v5 1/9] x86/intel_pstate: add some calculation related support

2015-10-05 Thread Jan Beulich
>>> On 17.09.15 at 17:19, wrote: > On 14/09/15 03:32, Wei Wang wrote: >> --- a/xen/include/xen/kernel.h >> +++ b/xen/include/xen/kernel.h >> @@ -43,6 +43,29 @@ >> #define MAX(x,y) ((x) > (y) ? (x) : (y)) >> >> /** >> + * clamp - return a value clamped to a given range with strict typechecking

Re: [Xen-devel] [PATCH v5 1/9] x86/intel_pstate: add some calculation related support

2015-09-17 Thread Andrew Cooper
On 14/09/15 03:32, Wei Wang wrote: > The added calculation related functions will be used in the intel_pstate.c. > They are copied from the Linux kernel(commit 2418f4f2, f3002134, eb18cba7). > > Signed-off-by: Wei Wang > --- > xen/arch/x86/oprofile/op_model_athlon.c | 9 > xen/include/asm-x

[Xen-devel] [PATCH v5 1/9] x86/intel_pstate: add some calculation related support

2015-09-13 Thread Wei Wang
The added calculation related functions will be used in the intel_pstate.c. They are copied from the Linux kernel(commit 2418f4f2, f3002134, eb18cba7). Signed-off-by: Wei Wang --- xen/arch/x86/oprofile/op_model_athlon.c | 9 xen/include/asm-x86/div64.h | 79