From: Cyril H. <ch...@su...> - 2012-02-09 12:55:51
|
Hi! > commit bb43a35ce70ad638f72ae7dcd8c198ca95dac43f > Author: Xu,Anhua <anh...@in...> > Date: Wed Feb 8 11:04:33 2012 +0800 > > Power Management: fix configuration check for sched_domain.py > > Add checking for "sched_debug" in kernel cmdline parameter. > Without this option, power policy change via sched_mc/smt_power_savings > will not cause any output from dmesg that is needed for sched_domain.py The signed-off-by line is missing here. Could you please resend with it. > diff --git a/testcases/kernel/power_management/runpwtests.sh b/testcases/kernel/power_management/runpwtests.sh > index c4a1d39..ab4536f 100755 > --- a/testcases/kernel/power_management/runpwtests.sh > +++ b/testcases/kernel/power_management/runpwtests.sh > @@ -188,8 +188,11 @@ fi > > # sched_domain test > if ! type python > /dev/null ; then > - tst_resm TCONF "Python is not installed, CPU Consoldation\ > + tst_resm TCONF "Python is not installed, CPU Consolidation\ > test cannot run" > +elif ! grep sched_debug -qw /proc/cmdline ; then > + tst_resm TCONF "Kernel cmdline parameter 'sched_debug' needed,\ > +CPU Consolidation test cannot run" > else > if [ -f /sys/devices/system/cpu/sched_mc_power_savings ] ; then > echo "max sched mc $max_sched_mc" > -- Cyril Hrubis ch...@su... |