Re: [Xen-devel] [PATCH] tools:misc:xenpm: set max freq to all cpu with default cpuid

2017-04-13 Thread Wei Liu
On Thu, Apr 13, 2017 at 10:41:06AM +0100, Julien Grall wrote: > Hi Wei, > > On 12/04/17 15:54, Wei Liu wrote: > > On Wed, Apr 12, 2017 at 09:19:34AM +0800, Luwei Kang wrote: > > > User can set max freq to specific cpu by > > > "xenpm set-scaling-maxfreq " > > > or set max freq to all cpu with def

Re: [Xen-devel] [PATCH] tools:misc:xenpm: set max freq to all cpu with default cpuid

2017-04-13 Thread Julien Grall
Hi Wei, On 12/04/17 15:54, Wei Liu wrote: On Wed, Apr 12, 2017 at 09:19:34AM +0800, Luwei Kang wrote: User can set max freq to specific cpu by "xenpm set-scaling-maxfreq " or set max freq to all cpu with default cpuid by "xenpm set-scaling-maxfreq ". Set max freq with defaule cpuid will cause

Re: [Xen-devel] [PATCH] tools:misc:xenpm: set max freq to all cpu with default cpuid

2017-04-12 Thread Wei Liu
On Wed, Apr 12, 2017 at 09:19:34AM +0800, Luwei Kang wrote: > User can set max freq to specific cpu by > "xenpm set-scaling-maxfreq " > or set max freq to all cpu with default cpuid by > "xenpm set-scaling-maxfreq ". > > Set max freq with defaule cpuid will cause default > segmentation fault af

[Xen-devel] [PATCH] tools:misc:xenpm: set max freq to all cpu with default cpuid

2017-04-11 Thread Luwei Kang
User can set max freq to specific cpu by "xenpm set-scaling-maxfreq " or set max freq to all cpu with default cpuid by "xenpm set-scaling-maxfreq ". Set max freq with defaule cpuid will cause segmentation fault after commit id d4906b5d05. This patch will fix this issue and add ability to set max