Forgot to Cc the list..
11.05.2012 11:37, Andrey Konovalov написал:
> 11.05.2012 02:09, Jon Medhurst (Tixy) написал:
>> On Thu, 2012-05-10 at 23:34 +0400, Andrey Konovalov wrote:
>>> Now it is time to move the focus to the linux-linaro tree. For one week
>>> it will use the mainline tip as the base. Then, on next Thursday the
>>> most recent -rc will be selected as the base, and won't be changed until
>>> 12.05 is released. Most probably it will be v3.4-rc7.
>>
>> I may have misunderstood but....
>>
>> Doesn't this mean on next Wednesday you be tracking Wednesdays tip, then
>> on Thursdays move back in time to this Sundays rc7 release?
>>
>> Or do you mean you are going to create a linux-linaro tree soon from
>> whatever is tip, then leave it unchanged til Thursday when you'll redo
>> it against rc7?
>
> The linux-linaro branch will track the tip until rc7 is out. Then the
> linux-linaro will stick to rc7 (until the 12.05 is out). But if for some
> reason v3.4 release would happen before May 17, linux-linaro would move
> to v3.4.
>
> linux-linaro-core-tracking will continue to track the tip.
>
> Sorry for confusion.
>
> Thanks,
> Andrey
>
A change is needed in the IMX_IO_P2V macro to allow all imx5 platforms
to use common definitions when accessing registers of peripherals on
the AIPS2 bus.
This change was tested for mapping conflicts using the iop2v script
found at git://git.pengutronix.de/git/ukl/imx-iop2v.git and by
performing a bootup of a default build using imx_v6_v7_defconfig
on a imx51 babbage board and imx53 loco board.
Signed-off-by: Robert Lee <rob.lee(a)linaro.org>
---
arch/arm/plat-mxc/include/mach/hardware.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/plat-mxc/include/mach/hardware.h b/arch/arm/plat-mxc/include/mach/hardware.h
index 0630513..065cc04 100644
--- a/arch/arm/plat-mxc/include/mach/hardware.h
+++ b/arch/arm/plat-mxc/include/mach/hardware.h
@@ -96,6 +96,7 @@
*/
#define IMX_IO_P2V(x) ( \
0xf4000000 + \
+ (((x) & 0x80000000) >> 7) + \
(((x) & 0x50000000) >> 6) + \
(((x) & 0x0b000000) >> 4) + \
(((x) & 0x000fffff)))
--
1.7.10
-----Original Message-----
From: Deao, Douglas
Sent: Thursday, May 10, 2012 12:29 PM
To: 'Andy Green'
Cc: 'patches(a)linaro.org'; 'inaro-dev(a)lists.linaro.org'
Subject: FW: STM Drviers update patch
This time without the copy/paste error.
-----Original Message-----
From: Deao, Douglas
Sent: Thursday, May 10, 2012 12:26 PM
To: 'Andy Green'
Cc: 'mailto:patches@linaro.org'; 'mailto:linaro-dev@lists.linaro.org'
Subject: STM Drviers update patch
Andy,
Just found the Linaro "Process/UpstreamPatches" page.
Anything else that's not obvious to a newbie I need to be aware of?
Thanks,
Doug
-----Original Message-----
From: Deao, Douglas
Sent: Tuesday, May 08, 2012 4:40 PM
To: Andy Green
Cc: Loic Pallardy; scott.bambrough(a)linaro.org; Ryan Harkin; Lee Jones; Philippe Langlais
Subject: STM Drviers update patch
Andy,
I have attached a patch for tracking-topic-stm that contains both my latest updates and feedback/patches I merged from Loic Pallardy.
This patch includes:
- Binary data transport
- mmap support for mapping channels to user space
- PID change notification
- Added patched/feedback provided by Loic Pallardy for:
echo support improvement
API improvements
Let me know if there is any additional process for adding patches beyond simply sending you the patch.
P.S Just noticed you have a change to stm_omap_ti1.0.c that I did not manage to update. Let me know if applying the patch causes you any grief.
Thanks,
Doug
From: Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
The updated version of these test scripts are
available in their respective directories.
Signed-off-by: Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
---
run_template | 7 --
testcases.awk | 40 ----------
testcases/Makefile | 39 ----------
testcases/cpufreq/Makefile | 31 --------
testcases/cpufreq/avail_freq01.sh | 56 --------------
testcases/cpufreq/avail_freq02.sh | 68 ----------------
testcases/cpufreq/avail_gov01.sh | 45 -----------
testcases/cpufreq/avail_gov02.sh | 48 ------------
testcases/cpuhotplug/Makefile | 32 --------
testcases/cpuhotplug/cpu_hotplug_latency.sh | 88 ---------------------
testcases/cpuidle/Makefile | 34 --------
testcases/cpuidle/test_usb_cpuidle.c | 102 -------------------------
testcases/proof_o_concept/Makefile | 31 --------
testcases/proof_o_concept/PM-list_c_states.sh | 36 ---------
testcases/proof_o_concept/PM-list_p_states.sh | 32 --------
15 files changed, 0 insertions(+), 689 deletions(-)
delete mode 100644 run_template
delete mode 100644 testcases.awk
delete mode 100644 testcases/Makefile
delete mode 100644 testcases/cpufreq/Makefile
delete mode 100755 testcases/cpufreq/avail_freq01.sh
delete mode 100755 testcases/cpufreq/avail_freq02.sh
delete mode 100755 testcases/cpufreq/avail_gov01.sh
delete mode 100755 testcases/cpufreq/avail_gov02.sh
delete mode 100644 testcases/cpuhotplug/Makefile
delete mode 100755 testcases/cpuhotplug/cpu_hotplug_latency.sh
delete mode 100644 testcases/cpuidle/Makefile
delete mode 100644 testcases/cpuidle/test_usb_cpuidle.c
delete mode 100644 testcases/proof_o_concept/Makefile
delete mode 100755 testcases/proof_o_concept/PM-list_c_states.sh
delete mode 100755 testcases/proof_o_concept/PM-list_p_states.sh
diff --git a/run_template b/run_template
deleted file mode 100644
index 8c866f9..0000000
--- a/run_template
+++ /dev/null
@@ -1,7 +0,0 @@
-pm-qa-cexists proof_o_concept PM-list_c_states.sh
-pm-qa-pexists proof_o_concept PM-list_p_states.sh
-pm-qa-availfreq01 cpufreq avail_freq01.sh
-pm-qa-availfreq02 cpufreq avail_freq02.sh
-pm-qa-availgov01 cpufreq avail_gov01.sh
-pm-qa-availgov02 cpufreq avail_gov02.sh
-pm-qa-cpuidle cpuidle test_usb_cpuidle /dev/sdb 5 10000
diff --git a/testcases.awk b/testcases.awk
deleted file mode 100644
index 71ce9ee..0000000
--- a/testcases.awk
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-###
- # For a series of power management related test, cycle through and
- # execute. Each test to be executed is in file testcases where the
- # following columns make sense....
- # column 1: name of the test case
- # column 2: sub directory housing the test
- # column 3: name of file for the test case
- # column 4: from column 4 onwards, any arguments to pass on to the test
-###
-{
- printf $1 ": "
- cmd = "cd ./testcases/"$2 " ; sudo ./"$3 " " substr($0, length($1 $2 $3) +4)
- system(cmd)
- printf "\n"
-}
-
diff --git a/testcases/Makefile b/testcases/Makefile
deleted file mode 100644
index 08b3233..0000000
--- a/testcases/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-tmp := $(shell find -maxdepth 2 -mindepth 2 -name Makefile)
-paths := $(subst Makefile, ,$(tmp))
-SUBDIRS := $(subst ./, ,$(paths))
-
-.PHONY: $(SUBDIRS)
-
-all:
- @for X in $(SUBDIRS) ; do $(MAKE) -C $$X all ; done;
-
-
-clean:
- @for X in $(SUBDIRS) ; do $(MAKE) -C $$X clean; done;
-
-
-
diff --git a/testcases/cpufreq/Makefile b/testcases/cpufreq/Makefile
deleted file mode 100644
index 65afd9a..0000000
--- a/testcases/cpufreq/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-testcases = avail_freq01.sh avail_freq02.sh avail_gov01.sh avail_gov02.sh
-
-all:
- @for t in $(testcases) ; do chmod +x $$t; done;
-
-clean:
- @for t in $(testcases) ; do chmod -x $$t; done;
diff --git a/testcases/cpufreq/avail_freq01.sh b/testcases/cpufreq/avail_freq01.sh
deleted file mode 100755
index 1809e46..0000000
--- a/testcases/cpufreq/avail_freq01.sh
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/bash
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-# Description : We are checking the frequency scaling file system is
-# available. This test checks we have the framework to run the other
-# tests in order to test the ability to monitor and/or alter cpu
-# frequency on the board, let's assure the basic files are there.
-
-CPU_PATH="/sys/devices/system/cpu"
-
-check_freq() {
- if [ ! -f $CPU_PATH/$1/cpufreq/scaling_available_frequencies ] ; then
- echo "NA no added frequencies"
- return 1;
- fi
-
- if [ ! -f $CPU_PATH/$1/cpufreq/scaling_cur_freq ] ; then
- echo "missing current frequency file"
- return 1;
- fi
-
- if [ ! -f $CPU_PATH/$1/cpufreq/scaling_setspeed ] ; then
- echo "missing file to set frequency speed"
- return 1;
- fi
-
- echo "PASS `cat $CPU_PATH/$1/cpufreq/scaling_available_frequencies `"
- return 0;
-}
-
-for i in $(ls $CPU_PATH | grep "cpu[0-9].*"); do
- check_freq $i
-done
-
diff --git a/testcases/cpufreq/avail_freq02.sh b/testcases/cpufreq/avail_freq02.sh
deleted file mode 100755
index b012317..0000000
--- a/testcases/cpufreq/avail_freq02.sh
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-###
- # Track how much time it takes to cycle through a loop 1000 times at this current frequency
-###
-loop_it() {
- LOOP_LIMIT=1000
- time while ( test $LOOP_LIMIT -ge 1 ); do
- LOOP_LIMIT=$(( $LOOP_LIMIT - 1 ))
- done
-}
-
-
-###
- # set governor to be user space governor which allows you to manually alter the frequency
-###
-echo "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
-if [ $? != 0 ]; then
- echo "FAIL could not change governor to userspace, remained `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`"
- exit -1
-fi
-
-
-###
- # Now loop through, changing the cpu frequency to available frequencies. Sleep for a
- # period of about 5 seconds each time it's set to a new frequency to allow the system
- # to settle down.
-###
-for LOOP_FREQ in `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies`
-do
- echo $LOOP_FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
- if [ $? != 0 ]; then
- echo "FAIL could not write freq for $LOOP_FREQ"
- exit -1
- fi
- sleep 5
- if [ `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq` != $LOOP_FREQ ]; then
- echo "FAIL could not change freq to $LOOP_FREQ remained `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq`"
- exit -1
- fi
- loop_it
-done
-
-echo PASS
-
diff --git a/testcases/cpufreq/avail_gov01.sh b/testcases/cpufreq/avail_gov01.sh
deleted file mode 100755
index d2c8f1c..0000000
--- a/testcases/cpufreq/avail_gov01.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-###
- # Simple test to assure governor support for cpu frequency altering is possible.
- # Assure the files are available that allow you to switch between governors.
-###
-if [ -d /sys/devices/system/cpu/cpu0/cpufreq ] ; then
- if [ ! -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors ] ; then
- echo "NA no added frequencies"
- exit -1;
- fi
- if [ ! -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ] ; then
- echo "FAIL missing scaling governor file"
- exit -1;
- fi
- echo "PASS `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors `"
- exit 0;
-else
- echo "NA no added frequencies"
- exit -1;
-fi
-
diff --git a/testcases/cpufreq/avail_gov02.sh b/testcases/cpufreq/avail_gov02.sh
deleted file mode 100755
index 3e07d80..0000000
--- a/testcases/cpufreq/avail_gov02.sh
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/bash
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-###
- # For each available governor, can we change the cpu governor to
- # that new value? Sleep a few seconds after changing to allow system
- # to settle down.
-###
-
-for i in `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors`
-do
- echo $i > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
- if [ $? != 0 ]; then
- echo "FAIL can not write governor for $i"
- exit -1
- fi
- sleep 5
- if [ `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor` != $i ]; then
- echo "FAIL could not change governor to $i"
- exit -1
- fi
-done
-
-echo PASS
-
-
diff --git a/testcases/cpuhotplug/Makefile b/testcases/cpuhotplug/Makefile
deleted file mode 100644
index ab92602..0000000
--- a/testcases/cpuhotplug/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-testcases = cpu_hotplug_latency.sh
-
-all:
- @for t in $(testcases) ; do chmod +x $$t; done;
-
-clean:
- @for t in $(testcases) ; do chmod -x $$t; done;
- rm -rf test_load.txt
diff --git a/testcases/cpuhotplug/cpu_hotplug_latency.sh b/testcases/cpuhotplug/cpu_hotplug_latency.sh
deleted file mode 100755
index 9fb63f1..0000000
--- a/testcases/cpuhotplug/cpu_hotplug_latency.sh
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-PWD=pwd
-
-echo 0 > /sys/kernel/debug/tracing/tracing_on
-
-echo 1 > /sys/kernel/debug/tracing/events/cpu_hotplug/enable
-
-# echo "**** TEST LOADED CPU*****"
-
-LOOP=10
-MAX_PROCESS=$LOOP
-
-while ( test $LOOP -ge 0 ); do
-
- PROCESS=$LOOP
-
- while ( test $PROCESS -lt $MAX_PROCESS ); do
- # echo "**** Start cyclictest *****"
- cyclictest -D 180 -t 10 -q > /dev/null &
- PROCESS=$(( $PROCESS + 1 ))
- done
-
- ILOOP=20
- echo 1 > /sys/kernel/debug/tracing/tracing_on
-
- while ( test $ILOOP -ge 1 ); do
-
- # echo "**** TEST " $ILOOP " *****"
- # echo ""
-
- sleep 1
-
-# echo -n "Disabling CPU1 ... "
- echo 0 > /sys/devices/system/cpu/cpu1/online
- # echo "Disable"
-
- sleep 1
-
-# echo -n "Enabling CPU1 ... "
- echo 1 > /sys/devices/system/cpu/cpu1/online
- # echo "Enable"
-
- sleep 1
-
- ILOOP=$(( $ILOOP - 1 ))
-
- done
-
- echo 0 > /sys/kernel/debug/tracing/tracing_on
-
- LIST=`ps | grep cyclictest | awk '{ print $1 }'`
-
- for I in $LIST; do
- # echo "**** Kill cyclictest *****"
- kill $I
- done
-
- LOOP=$(( $LOOP - 1 ))
-
-done
-
-cat /sys/kernel/debug/tracing/trace > $PWD/test_load.txt
-
-echo "PASS"
diff --git a/testcases/cpuidle/Makefile b/testcases/cpuidle/Makefile
deleted file mode 100644
index 64a9f79..0000000
--- a/testcases/cpuidle/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-CC=gcc
-CFLAGS=-Wall
-
-all: test_usb_cpuidle
-
-clean:
- rm -f test_usb_cpuidle test_usb_cpuidle.o
-
-
-
diff --git a/testcases/cpuidle/test_usb_cpuidle.c b/testcases/cpuidle/test_usb_cpuidle.c
deleted file mode 100644
index 9f12161..0000000
--- a/testcases/cpuidle/test_usb_cpuidle.c
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * PM-QA validation test suite for the power management on Linux
- *
- * Copyright (C) 2011, Linaro Limited.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * Contributors:
- * Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
- * - initial API and implementation
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <time.h>
-#include <unistd.h>
-//void usleep(unsigned long usec);
-
-
-#define MAX_COUNT 1024
-int main(int argc, char *argv[])
-{
- int err = 0;
- FILE *fp = 0;
- int byteCount = 0;
- int iterCount = 0;
- char dataArray[MAX_COUNT];
-/*
- printf("\nUSB mass storage test: parameters --device_name, byte to read, times to run\n");
-*/
- if(argc!=4) {
- printf("Error: No of argumets not proper\n");
- return 0;
- }
- byteCount = atoi(argv[2]);
- iterCount = atoi(argv[3]);
-/*
- printf("Device to open=%s, bytes read =%d, iteration =%d\n",argv[1], byteCount, iterCount);
-*/
- fp = fopen(argv[1], "r");
- if(fp == NULL)
- {
- printf("Error: Invalid device name passed\n");
- return 0;
- }
-
- /*Init random generator*/
- srand((unsigned int)time(NULL));
- while(iterCount != 0) {
- /*read from the begining*/
- err = fread(dataArray,1,byteCount,fp);
- if(err < 0) {
- printf("Error: Data read failed\n");
- return 0;
- }
- fseek(fp,((iterCount%5)*100*1024), SEEK_SET);
- if(err < 0) {
- printf("Error: Data seek failed\n");
- return 0;
- }
-
- /*read from somewhere in the middle*/
- err = fread(dataArray,1,byteCount,fp);
- if(err < 0) {
- printf("Error: Data read failed\n");
- return 0;
- }
- fseek(fp, byteCount, SEEK_END);
- if(err < 0) {
- printf("Error: Data seek failed\n");
- return 0;
- }
-
- /*read from the end*/
- err = fread(dataArray,1,byteCount,fp);
- if(err < 0) {
- printf("Error: Data read failed\n");
- return 0;
- }
-
- rewind(fp);
- iterCount--;
- fclose(fp);
- /*sleep between 1ms to 50ms*/
- usleep(((rand()%50) + 1)*1000);
- fp = fopen(argv[1], "r");
- }
- fclose(fp);
- return 0;
-}
diff --git a/testcases/proof_o_concept/Makefile b/testcases/proof_o_concept/Makefile
deleted file mode 100644
index 6d54932..0000000
--- a/testcases/proof_o_concept/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-testcases = PM-list_c_states.sh PM-list_p_states.sh
-
-all:
- @for t in $(testcases) ; do chmod +x $$t; done;
-
-clean:
- @for t in $(testcases) ; do chmod -x $$t; done;
diff --git a/testcases/proof_o_concept/PM-list_c_states.sh b/testcases/proof_o_concept/PM-list_c_states.sh
deleted file mode 100755
index f274419..0000000
--- a/testcases/proof_o_concept/PM-list_c_states.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-###
- # Determine which CPUidle C States are defined on this system by
- # cycling through the sysfs files for cpuidle.
-###
-
-for state in `cat /sys/devices/system/cpu/cpu0/cpuidle/state*/name`
-do
- test_case=$test_case' '$state
-done
-
-echo $test_case
diff --git a/testcases/proof_o_concept/PM-list_p_states.sh b/testcases/proof_o_concept/PM-list_p_states.sh
deleted file mode 100755
index 8c592bf..0000000
--- a/testcases/proof_o_concept/PM-list_p_states.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-#
-# PM-QA validation test suite for the power management on Linux
-#
-# Copyright (C) 2011, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contributors:
-# Torez Smith <torez.smith(a)linaro.org> (IBM Corporation)
-# - initial API and implementation
-#
-
-###
- # Determine which CPUidle P States are defined on this system by
- # cycling through the sysfs files for cpufreq.
-###
-
-echo `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies`
-
--
1.7.1
Hello,
The Infrastructure team works on improving disk layout on Jenkins build
systems to avoid common cases of errors which lead to unexpected
downtime. We recently migrated android-build.linaro.org to new
partition setup, and would like to proceed with ci.linaro.org.
This is potentially multi-step process, so we want to start it
ASAP to not risk it protruding into release rush time.
So, we'd like to schedule a downtime at 14:00 UTC today, expected
duration is 1 hr. Please let me know if you have any issues with that
time.
Thanks,
Paul
Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linarohttp://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
Hi Andrew,
This patchset introduces a new generic cooling device based on cpufreq that
can be used on non-ACPI platforms. As a proof of concept, we have drivers for
the following platforms using this mechanism now:
* TI OMAP (git://git.linaro.org/people/amitdanielk/linux.git omap4460_thermal)
* Samsung Exynos (Exynos4 and Exynos5) in the current patchset.
* Freescale i.MX (git://git.linaro.org/people/amitdanielk/linux.git imx6q_thermal)
These patches have been reviewed by Rui Zhang (https://lkml.org/lkml/2012/4/9/448)
who seems to agree with them in principle, but I haven't had any luck getting them
merged, perhaps a lack of maintainer bandwidth.
ACPI platforms currently have such a mechanism but it is wrapped in ACPI'isms
that we don't have on ARM platforms. If this is accepted, I'm proposing to
convert over the ACPI thermal driver to use this common code too.
Can you please merge these patches for 3.5?
Thanks,
Amit Daniel
Changes since V2:
*Added Exynos5 TMU sensor support by enhancing the exynos4 tmu driver. Exynos5 TMU
driver was internally developed by SangWook Ju <sw.ju(a)samsung.com>.
*Removed cpuhotplug cooling code in this patchset.
*Rebased the patches against 3.4-rc6 kernel.
Changes since V1:
*Moved the sensor driver to driver/thermal folder from driver/hwmon folder
as suggested by Mark Brown and Guenter Roeck
*Added notifier support to notify the registered drivers of any cpu cooling
action. The driver can modify the default cooling behaviour(eg set different
max clip frequency).
*The percentage based frequency replaced with absolute clipped frequency.
*Some more conditional checks when setting max frequency.
*Renamed the new trip type THERMAL_TRIP_STATE_ACTIVE to
THERMAL_TRIP_STATE_INSTANCE
*Many review comments from R, Durgadoss <durgadoss.r(a)intel.com> and
eduardo.valentin(a)ti.com implemented.
*Removed cooling stats through debugfs patch
*The V1 based can be found here,
https://lkml.org/lkml/2012/2/22/123http://lkml.org/lkml/2012/3/3/32
Changes since RFC:
*Changed the cpu cooling registration/unregistration API's to instance based
*Changed the STATE_ACTIVE trip type to pass correct instance id
*Adding support to restore back the policy->max_freq after doing frequency
clipping.
*Moved the trip cooling stats from sysfs node to debugfs node as suggested
by Greg KH greg(a)kroah.com
*Incorporated several review comments from eduardo.valentin(a)ti.com
*Moved the Temperature sensor driver from driver/hwmon/ to driver/mfd
as discussed with Guenter Roeck <guenter.roeck(a)ericsson.com> and
Donggeun Kim <dg77.kim(a)samsung.com> (https://lkml.org/lkml/2012/1/5/7)
*Some changes according to the changes in common cpu cooling APIs
*The RFC based patches can be found here,
https://lkml.org/lkml/2011/12/13/186https://lkml.org/lkml/2011/12/21/169
Brief Description:
1) The generic cooling devices code is placed inside driver/thermal/* as
placing inside acpi folder will need un-necessary enabling of acpi code. This
codes is architecture independent.
2) This patchset adds a new trip type THERMAL_TRIP_STATE_INSTANCE which passes
cooling device instance number and may be helpful for cpufreq cooling devices
to take the correct cooling action. This trip type avoids the temperature
comparision check again inside the cooling handler.
3) This patchset adds generic cpu cooling low level implementation through
frequency clipping and cpu hotplug. In future, other cpu related cooling
devices may be added here. An ACPI version of this already exists
(drivers/acpi/processor_thermal.c). But this will be useful for platforms
like ARM using the generic thermal interface along with the generic cpu
cooling devices. The cooling device registration API's return cooling device
pointers which can be easily binded with the thermal zone trip points.
The important APIs exposed are,
a)struct thermal_cooling_device *cpufreq_cooling_register(
struct freq_clip_table *tab_ptr, unsigned int tab_size,
const struct cpumask *mask_val)
b)void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)
4) Samsung exynos platform thermal implementation is done using the generic
cpu cooling APIs and the new trip type. The temperature sensor driver present
in the hwmon folder(registered as hwmon driver) is moved to thermal folder
and registered as a thermal driver.
All this patchset is based on Kernel version 3.4-rc6
A simple data/control flow diagrams is shown below,
Core Linux thermal <-----> Exynos thermal interface <----- Temperature Sensor
| |
\|/ |
Cpufreq cooling device <---------------
TODO:
*Will send the DT enablement patches later after the driver is merged.
Amit Daniel Kachhap (6):
thermal: Add a new trip type to use cooling device instance number
thermal: Add generic cpufreq cooling implementation
hwmon: exynos4: Move thermal sensor driver to driver/thermal
directory
thermal: exynos5: Add exynos5 thermal sensor driver support
thermal: exynos: Register the tmu sensor with the kernel thermal
layer
ARM: exynos: Add thermal sensor driver platform data support
Documentation/hwmon/exynos4_tmu | 81 ---
Documentation/thermal/cpu-cooling-api.txt | 60 ++
Documentation/thermal/exynos_thermal | 52 ++
Documentation/thermal/sysfs-api.txt | 4 +-
drivers/hwmon/Kconfig | 10 -
drivers/hwmon/Makefile | 1 -
drivers/hwmon/exynos4_tmu.c | 514 --------------
drivers/thermal/Kconfig | 20 +
drivers/thermal/Makefile | 4 +-
drivers/thermal/cpu_cooling.c | 359 ++++++++++
drivers/thermal/exynos_thermal.c | 933 ++++++++++++++++++++++++++
drivers/thermal/thermal_sys.c | 62 ++-
include/linux/cpu_cooling.h | 62 ++
include/linux/platform_data/exynos4_tmu.h | 83 ---
include/linux/platform_data/exynos_thermal.h | 100 +++
include/linux/thermal.h | 1 +
16 files changed, 1651 insertions(+), 695 deletions(-)
delete mode 100644 Documentation/hwmon/exynos4_tmu
create mode 100644 Documentation/thermal/cpu-cooling-api.txt
create mode 100644 Documentation/thermal/exynos_thermal
delete mode 100644 drivers/hwmon/exynos4_tmu.c
create mode 100644 drivers/thermal/cpu_cooling.c
create mode 100644 drivers/thermal/exynos_thermal.c
create mode 100644 include/linux/cpu_cooling.h
delete mode 100644 include/linux/platform_data/exynos4_tmu.h
create mode 100644 include/linux/platform_data/exynos_thermal.h
These two patches are coming from the series I previously
sent for the cpuidle OMAP3/4 cleanups.
The first one, move the powerdomain lookup check in the init
function, the second one fix the linkage error, when the
CONFIG_PM is not set while CONFIG_CPU_IDLE is. Omap's Kconfig
has been modified to select CONFIG_PM when CONFIG_CPU_IDLE is
set.
I compiled with different options but I was not able to boot
my board because the kernel panics for another reason.
Daniel Lezcano (2):
ARM: OMAP3: cpuidle - check the powerdomain lookup
ARM: OMAP3/4: consolidate cpuidle Makefile
arch/arm/mach-omap2/Kconfig | 2 ++
arch/arm/mach-omap2/Makefile | 11 +++++++----
arch/arm/mach-omap2/cpuidle34xx.c | 11 +++--------
arch/arm/mach-omap2/cpuidle44xx.c | 8 --------
arch/arm/mach-omap2/pm.h | 17 +++++++++++++++--
5 files changed, 27 insertions(+), 22 deletions(-)
--
1.7.5.4