RE: [PATCH][rfc] intel_pstate: Fix user input of min/max to legal policy region

2015-09-08 Thread Chen, Yu C
i; l...@kernel.org > Subject: Re: [PATCH][rfc] intel_pstate: Fix user input of min/max to legal > policy region > > On Wednesday, August 12, 2015 11:49:19 AM Chen Yu wrote: > > In current code, if system is using performance policy, user can > > modify the max_perf_pct to

RE: [PATCH][rfc] intel_pstate: Fix user input of min/max to legal policy region

2015-09-08 Thread Chen, Yu C
i; l...@kernel.org > Subject: Re: [PATCH][rfc] intel_pstate: Fix user input of min/max to legal > policy region > > On Wednesday, August 12, 2015 11:49:19 AM Chen Yu wrote: > > In current code, if system is using performance policy, user can > > modify the max_perf_pct to

Re: [PATCH][rfc] intel_pstate: Fix user input of min/max to legal policy region

2015-09-07 Thread Rafael J. Wysocki
On Wednesday, August 12, 2015 11:49:19 AM Chen Yu wrote: > In current code, if system is using performance policy, user can > modify the max_perf_pct to any values lower than 100: > > $ grep . /sys/devices/system/cpu/intel_pstate/m*_perf_pct > /sys/devices/system/cpu/intel_pstate/max_perf_pct:100

Re: [PATCH][rfc] intel_pstate: Fix user input of min/max to legal policy region

2015-09-07 Thread Rafael J. Wysocki
On Wednesday, August 12, 2015 11:49:19 AM Chen Yu wrote: > In current code, if system is using performance policy, user can > modify the max_perf_pct to any values lower than 100: > > $ grep . /sys/devices/system/cpu/intel_pstate/m*_perf_pct > /sys/devices/system/cpu/intel_pstate/max_perf_pct:100