-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks for your answer, Jon, but 11.05 isn't listed anymore on
releases.linaro.org.
With the 12.03 image I had kernel oopses EVERY shutdown, this is
annoying.
Any other suggestions someone???
Steffen
On 07/02/2012 04:27 PM, Jonathan Kunkee wrote:
> Aside from frequent kernel oopsen on shutdown, my personal
> experience has been that 11.05 is pretty stable.
>
> As always, YMMV.
>
> Jon
>
> On Jul 2, 2012 8:12 AM, "Steffen Hemer"
> <s_hemer(a)informatik.uni-kl.de
> <mailto:s_hemer@informatik.uni-kl.de>> wrote:
>
> Hi there,
>
> I'm trying to get a stable version of Linaro on my Gumstix Overo
> board for quite a while now but without success. I started with the
> recommended version 12.03 alip-image (as there is an "official"
> hardware pack linked on the website), but it crashes regularly on
> shutdown, the c/c++ compiler also hangs undeterministically and the
> Xserver crashes too (ok I could live without this) . The problems
> on shutdown and the hardresets seem to make the system more and
> more unstable.
>
> With the latest hardware packs and Linaro 12.06 it doesn't even
> boot because of the following error:
>
> [ 5.774139] omapfb omapfb: no driver for display: dvi [
> 5.780059] omapfb omapfb: cannot parse default modes [ 5.787200]
> Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP
> THUMB2
>
> Why isn't there an "official" hardware pack for the Overo since
> last three releases?
>
> Does anyone have a solution for this? Anyone using a linaro image
> on overo which is stable? Which versions do you recommend?
>
>
> Thank you for answers
>
> Steffen
>
> _______________________________________________ linaro-dev mailing
> list linaro-dev(a)lists.linaro.org
> <mailto:linaro-dev@lists.linaro.org>
> http://lists.linaro.org/mailman/listinfo/linaro-dev
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJP8cwgAAoJED67DoYHAYtjAY0H/2IYkbjTxawxeh1EhJTjM0fW
NXBbrIIde9g2ZMf9LAOdGS8LIFKoP340drIeus//VNqthzaFVEtkXTgP6RQ5pbcQ
uXK06PEJ4TVogr7UOOExeNlgJRDPTTi11rGPQU+P5I78FxpgpabVbc/UsDYMl8sE
UdLCoerrZZuxy8PPaHwe/ZO4s4XNmqMSM/qDXrIZI1U4MFsXHmArLWknAsN3I3A3
4cN6MRnOK7lk+DovNIkhywOWWc7P6KUsC3lqPrm7PBS6A/l9/TOwoXKaSQanyNs7
Hj9HGhKHKZWQDYsk+nV26QS88Wvd3dgO+U1/LLzHLRbUB+5CGQt6eIvsRdvV5ZA=
=XR7i
-----END PGP SIGNATURE-----
run sanity test for each functionality if present.
If functionality enabled, then run all respective
test cases. This patch also adds sanity checks for
cpuidle and sched_mc.
Signed-off-by: Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
---
Test.mk | 17 ++++++++++++++---
cpuidle/cpuidle_sanity.sh | 35 +++++++++++++++++++++++++++++++++++
cpuidle/cpuidle_sanity.txt | 1 +
sched_mc/sched_sanity.sh | 35 +++++++++++++++++++++++++++++++++++
sched_mc/sched_sanity.txt | 1 +
5 files changed, 86 insertions(+), 3 deletions(-)
create mode 100755 cpuidle/cpuidle_sanity.sh
create mode 100644 cpuidle/cpuidle_sanity.txt
create mode 100755 sched_mc/sched_sanity.sh
create mode 100644 sched_mc/sched_sanity.txt
diff --git a/Test.mk b/Test.mk
index 1d69d7a..76f79b5 100644
--- a/Test.mk
+++ b/Test.mk
@@ -21,15 +21,22 @@
# Daniel Lezcano <daniel.lezcano(a)linaro.org> (IBM Corporation)
# - initial API and implementation
#
-
-TST=$(wildcard *.sh)
+SNT=$(wildcard *sanity.sh)
+TST=$(wildcard *[^(sanity)].sh)
LOG=$(TST:.sh=.log)
CFLAGS?=-g -Wall -pthread
CC?=gcc
SRC=$(wildcard *.c)
EXEC=$(SRC:%.c=%)
-check: uncheck $(EXEC) $(LOG)
+check: run_tests
+
+SANITY_STATUS:= $(shell if test $(SNT) && test -f $(SNT); then \
+ ./$(SNT); if test "$$?" -eq 0; then echo 0; else \
+ echo 1; fi; else echo 1; fi)
+
+ifeq "$(SANITY_STATUS)" "1"
+run_tests: uncheck $(EXEC) $(LOG)
%.log: %.sh
@echo "###"
@@ -38,6 +45,10 @@ check: uncheck $(EXEC) $(LOG)
@echo -n "### "; grep "URL :" ./$< | awk '/http/{print $$NF}'
@echo "###"
@./$< 2> $@
+else
+run_tests: $(SNT)
+ @cat $(<:.sh=.txt)
+endif
clean:
rm -f *.o $(EXEC)
diff --git a/cpuidle/cpuidle_sanity.sh b/cpuidle/cpuidle_sanity.sh
new file mode 100755
index 0000000..a8336fa
--- /dev/null
+++ b/cpuidle/cpuidle_sanity.sh
@@ -0,0 +1,35 @@
+#!/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:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+source ../include/functions.sh
+
+check_cpuidle_sysfs_entry() {
+
+ local dirpath=$CPU_PATH/cpuidle
+
+ test -d $dirpath && return 1 || return 0
+}
+
+check_cpuidle_sysfs_entry
diff --git a/cpuidle/cpuidle_sanity.txt b/cpuidle/cpuidle_sanity.txt
new file mode 100644
index 0000000..03d3f7c
--- /dev/null
+++ b/cpuidle/cpuidle_sanity.txt
@@ -0,0 +1 @@
+cpuidle is not enabled. Skipping all cpudile tests...
diff --git a/sched_mc/sched_sanity.sh b/sched_mc/sched_sanity.sh
new file mode 100755
index 0000000..1b1b58b
--- /dev/null
+++ b/sched_mc/sched_sanity.sh
@@ -0,0 +1,35 @@
+#!/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:
+# Daniel Lezcano <daniel.lezcano(a)linaro.org> (IBM Corporation)
+# - initial API and implementation
+#
+
+source ../include/functions.sh
+
+check_sched_mc_sysfs_entry() {
+
+ local filepath=$CPU_PATH/sched_mc_power_savings
+
+ test -f $filepath && return 1 || return 0
+}
+
+check_sched_mc_sysfs_entry
diff --git a/sched_mc/sched_sanity.txt b/sched_mc/sched_sanity.txt
new file mode 100644
index 0000000..c79c23e
--- /dev/null
+++ b/sched_mc/sched_sanity.txt
@@ -0,0 +1 @@
+sched_mc is not enabled. Skipping all sched_mc tests...
--
1.7.9.5
From: root <root(a)linaro-ubuntu-desktop.(none)>
run sanity test for each functionality if present.
If functionality enabled, then run all respective
test cases. This patch also adds sanity checks for
cpuidle and sched_mc.
Signed-off-by: Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
---
Test.mk | 17 ++++++++++++++---
cpuidle/cpuidle_sanity.sh | 35 +++++++++++++++++++++++++++++++++++
cpuidle/cpuidle_sanity.txt | 1 +
sched_mc/sched_sanity.sh | 35 +++++++++++++++++++++++++++++++++++
sched_mc/sched_sanity.txt | 1 +
5 files changed, 86 insertions(+), 3 deletions(-)
create mode 100755 cpuidle/cpuidle_sanity.sh
create mode 100644 cpuidle/cpuidle_sanity.txt
create mode 100755 sched_mc/sched_sanity.sh
create mode 100644 sched_mc/sched_sanity.txt
diff --git a/Test.mk b/Test.mk
index 1d69d7a..76f79b5 100644
--- a/Test.mk
+++ b/Test.mk
@@ -21,15 +21,22 @@
# Daniel Lezcano <daniel.lezcano(a)linaro.org> (IBM Corporation)
# - initial API and implementation
#
-
-TST=$(wildcard *.sh)
+SNT=$(wildcard *sanity.sh)
+TST=$(wildcard *[^(sanity)].sh)
LOG=$(TST:.sh=.log)
CFLAGS?=-g -Wall -pthread
CC?=gcc
SRC=$(wildcard *.c)
EXEC=$(SRC:%.c=%)
-check: uncheck $(EXEC) $(LOG)
+check: run_tests
+
+SANITY_STATUS:= $(shell if test $(SNT) && test -f $(SNT); then \
+ ./$(SNT); if test "$$?" -eq 0; then echo 0; else \
+ echo 1; fi; else echo 1; fi)
+
+ifeq "$(SANITY_STATUS)" "1"
+run_tests: uncheck $(EXEC) $(LOG)
%.log: %.sh
@echo "###"
@@ -38,6 +45,10 @@ check: uncheck $(EXEC) $(LOG)
@echo -n "### "; grep "URL :" ./$< | awk '/http/{print $$NF}'
@echo "###"
@./$< 2> $@
+else
+run_tests: $(SNT)
+ @cat $(<:.sh=.txt)
+endif
clean:
rm -f *.o $(EXEC)
diff --git a/cpuidle/cpuidle_sanity.sh b/cpuidle/cpuidle_sanity.sh
new file mode 100755
index 0000000..a8336fa
--- /dev/null
+++ b/cpuidle/cpuidle_sanity.sh
@@ -0,0 +1,35 @@
+#!/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:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+source ../include/functions.sh
+
+check_cpuidle_sysfs_entry() {
+
+ local dirpath=$CPU_PATH/cpuidle
+
+ test -d $dirpath && return 1 || return 0
+}
+
+check_cpuidle_sysfs_entry
diff --git a/cpuidle/cpuidle_sanity.txt b/cpuidle/cpuidle_sanity.txt
new file mode 100644
index 0000000..03d3f7c
--- /dev/null
+++ b/cpuidle/cpuidle_sanity.txt
@@ -0,0 +1 @@
+cpuidle is not enabled. Skipping all cpudile tests...
diff --git a/sched_mc/sched_sanity.sh b/sched_mc/sched_sanity.sh
new file mode 100755
index 0000000..1b1b58b
--- /dev/null
+++ b/sched_mc/sched_sanity.sh
@@ -0,0 +1,35 @@
+#!/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:
+# Daniel Lezcano <daniel.lezcano(a)linaro.org> (IBM Corporation)
+# - initial API and implementation
+#
+
+source ../include/functions.sh
+
+check_sched_mc_sysfs_entry() {
+
+ local filepath=$CPU_PATH/sched_mc_power_savings
+
+ test -f $filepath && return 1 || return 0
+}
+
+check_sched_mc_sysfs_entry
diff --git a/sched_mc/sched_sanity.txt b/sched_mc/sched_sanity.txt
new file mode 100644
index 0000000..c79c23e
--- /dev/null
+++ b/sched_mc/sched_sanity.txt
@@ -0,0 +1 @@
+sched_mc is not enabled. Skipping all sched_mc tests...
--
1.7.9.5
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
I'm trying to get a stable version of Linaro on my Gumstix Overo board
for quite a while now but without success.
I started with the recommended version 12.03 alip-image (as there is
an "official" hardware pack linked on the website), but it crashes
regularly on shutdown, the c/c++ compiler also hangs
undeterministically and the Xserver crashes too (ok I could live
without this) .
The problems on shutdown and the hardresets seem to make the system
more and more unstable.
With the latest hardware packs and Linaro 12.06 it doesn't even boot
because of the following error:
[ 5.774139] omapfb omapfb: no driver for display: dvi
[ 5.780059] omapfb omapfb: cannot parse default modes
[ 5.787200] Internal error: Oops - undefined instruction: 0 [#1]
PREEMPT SMP THUMB2
Why isn't there an "official" hardware pack for the Overo since last
three releases?
Does anyone have a solution for this? Anyone using a linaro image on
overo which is stable? Which versions do you recommend?
Thank you for answers
Steffen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJP8Zp6AAoJED67DoYHAYtjc7EH/iMe8Prp78xyI4IdduXI1mwU
84x2ZoP6kFeK/pX7XJVopiZhDZcZ4uFyAT83htn1UFHGjLcKCKOZLShxDyotga9v
2TgA00ae98pC7hxSjBqubTueNVhTD0dQfzQMPccmTLzG039ScOBXHNMlymCyzurv
hdfiBEZdZAYv7T4UI1HF2j2ml0llarEwuHieyXy/t/qTgCiKbSEt/+9mEqnoG5Ut
wBpZ4AIPSZKUPUQKkduf4APj12VgDvJQMYhvOF4vPXnpWA344wuJR7mFGNZveOYw
VR5/3KJ+9NKMrY/317Ur0MHUxNdGpUDj1pALV6NCwRn8b7gJs2CyI14SBmdSjuo=
=DZMW
-----END PGP SIGNATURE-----
This patchset creates an arch_scale_freq_power function for ARM, which is used
to set the relative capacity of each core of a big.LITTLE system. It also removes
the broken power estimation of x86.
Modification since v2:
- set_power_scale function becomes static
- Rework loop in update_siblings_masks
- Remove useless code in parse_dt_topology
Modification since v1:
- Add and update explanation about the use of the table and the range of the value
- Remove the use of NR_CPUS and use nr_cpu_ids instead
- Remove broken power estimation of x86
Peter Zijlstra (1):
sched, x86: Remove broken power estimation
Vincent Guittot (4):
ARM: topology: Add arch_scale_freq_power function
ARM: topology: factorize the update of sibling masks
ARM: topology: Update cpu_power according to DT information
sched: cpu_power: enable ARCH_POWER
arch/arm/kernel/topology.c | 209 +++++++++++++++++++++++++++++++++++++-----
arch/x86/kernel/cpu/Makefile | 2 +-
arch/x86/kernel/cpu/sched.c | 55 -----------
kernel/sched/features.h | 2 +-
4 files changed, 189 insertions(+), 79 deletions(-)
delete mode 100644 arch/x86/kernel/cpu/sched.c
--
1.7.9.5