summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2014-08-29 11:05:38 +0300
committerRiku Voipio <riku.voipio@linaro.org>2014-08-29 11:05:38 +0300
commit3cefe936b03d49e2302c8d42489595a49e461e56 (patch)
tree7b535153b0af683df7a34e55fb2c2184a72b94ab
parentbf09d3c68f50939645ce807b37247543730a6b35 (diff)
add patch and lava submit
-rw-r--r--BUILD-INFO.txt4
-rw-r--r--configs/gcov-workarounds.patch217
-rwxr-xr-xgcov-arndale6
-rw-r--r--lava/gcov_arndale.json33
4 files changed, 255 insertions, 5 deletions
diff --git a/BUILD-INFO.txt b/BUILD-INFO.txt
deleted file mode 100644
index 231264c..0000000
--- a/BUILD-INFO.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-Format-Version: 0.1
-
-Files-Pattern: *
-License-Type: open
diff --git a/configs/gcov-workarounds.patch b/configs/gcov-workarounds.patch
new file mode 100644
index 0000000..bc24b14
--- /dev/null
+++ b/configs/gcov-workarounds.patch
@@ -0,0 +1,217 @@
+From 6542dead7ee345f106984ffbc52737ddebf356b6 Mon Sep 17 00:00:00 2001
+From: Riku Voipio <riku.voipio@linaro.org>
+Date: Fri, 22 Aug 2014 11:55:57 +0300
+Subject: gcov: Litter drivers/ with disabling gcov
+
+Modern ARM kernel needs multiple subsystems functioning before gcov
+can be started.
+
+Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
+---
+ drivers/clk/samsung/Makefile | 2 ++
+ drivers/clocksource/Makefile | 2 ++
+ drivers/cpufreq/Makefile | 1 +
+ drivers/cpuidle/Makefile | 2 ++
+ drivers/cpuidle/governors/Makefile | 2 ++
+ drivers/devfreq/Makefile | 1 +
+ drivers/devfreq/exynos/Makefile | 1 +
+ drivers/extcon/Makefile | 3 +++
+ drivers/gpio/Makefile | 1 +
+ drivers/i2c/Makefile | 1 +
+ drivers/i2c/algos/Makefile | 1 +
+ drivers/i2c/busses/Makefile | 2 ++
+ drivers/i2c/muxes/Makefile | 1 +
+ drivers/iommu/Makefile | 2 ++
+ drivers/irqchip/Makefile | 3 +++
+ drivers/mfd/Makefile | 4 +++-
+ drivers/of/Makefile | 1 +
+ drivers/regulator/Makefile | 1 +
+ 18 files changed, 30 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/clk/samsung/Makefile b/drivers/clk/samsung/Makefile
+index 69e8177..f7c8ba1 100644
+--- a/drivers/clk/samsung/Makefile
++++ b/drivers/clk/samsung/Makefile
+@@ -2,6 +2,8 @@
+ # Samsung Clock specific Makefile
+ #
+
++GCOV_PROFILE := n
++
+ obj-$(CONFIG_COMMON_CLK) += clk.o clk-pll.o
+ obj-$(CONFIG_SOC_EXYNOS3250) += clk-exynos3250.o
+ obj-$(CONFIG_ARCH_EXYNOS4) += clk-exynos4.o
+diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile
+index 800b130..9f063b3 100644
+--- a/drivers/clocksource/Makefile
++++ b/drivers/clocksource/Makefile
+@@ -41,3 +41,5 @@ obj-$(CONFIG_CLKSRC_METAG_GENERIC) += metag_generic.o
+ obj-$(CONFIG_ARCH_HAS_TICK_BROADCAST) += dummy_timer.o
+ obj-$(CONFIG_ARCH_KEYSTONE) += timer-keystone.o
+ obj-$(CONFIG_CLKSRC_VERSATILE) += versatile.o
++
++GCOV_PROFILE := n
+diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
+index 38bd66f..496dd19 100644
+--- a/drivers/cpufreq/Makefile
++++ b/drivers/cpufreq/Makefile
+@@ -104,3 +104,4 @@ obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
+ obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
+ obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o
+ obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o
++GCOV_PROFILE := n
+diff --git a/drivers/cpuidle/Makefile b/drivers/cpuidle/Makefile
+index d8bb1ff..af8a557 100644
+--- a/drivers/cpuidle/Makefile
++++ b/drivers/cpuidle/Makefile
+@@ -25,3 +25,5 @@ obj-$(CONFIG_MIPS_CPS_CPUIDLE) += cpuidle-cps.o
+ # POWERPC drivers
+ obj-$(CONFIG_PSERIES_CPUIDLE) += cpuidle-pseries.o
+ obj-$(CONFIG_POWERNV_CPUIDLE) += cpuidle-powernv.o
++
++GCOV_PROFILE := n
+diff --git a/drivers/cpuidle/governors/Makefile b/drivers/cpuidle/governors/Makefile
+index 1b51272..8ed53c7 100644
+--- a/drivers/cpuidle/governors/Makefile
++++ b/drivers/cpuidle/governors/Makefile
+@@ -2,5 +2,7 @@
+ # Makefile for cpuidle governors.
+ #
+
++GCOV_PROFILE := n
++
+ obj-$(CONFIG_CPU_IDLE_GOV_LADDER) += ladder.o
+ obj-$(CONFIG_CPU_IDLE_GOV_MENU) += menu.o
+diff --git a/drivers/devfreq/Makefile b/drivers/devfreq/Makefile
+index 16138c9..cfddaa4 100644
+--- a/drivers/devfreq/Makefile
++++ b/drivers/devfreq/Makefile
+@@ -7,3 +7,4 @@ obj-$(CONFIG_DEVFREQ_GOV_USERSPACE) += governor_userspace.o
+ # DEVFREQ Drivers
+ obj-$(CONFIG_ARM_EXYNOS4_BUS_DEVFREQ) += exynos/
+ obj-$(CONFIG_ARM_EXYNOS5_BUS_DEVFREQ) += exynos/
++GCOV_PROFILE := n
+diff --git a/drivers/devfreq/exynos/Makefile b/drivers/devfreq/exynos/Makefile
+index 49bc917..cbe3cba 100644
+--- a/drivers/devfreq/exynos/Makefile
++++ b/drivers/devfreq/exynos/Makefile
+@@ -1,3 +1,4 @@
+ # Exynos DEVFREQ Drivers
+ obj-$(CONFIG_ARM_EXYNOS4_BUS_DEVFREQ) += exynos_ppmu.o exynos4_bus.o
+ obj-$(CONFIG_ARM_EXYNOS5_BUS_DEVFREQ) += exynos_ppmu.o exynos5_bus.o
++GCOV_PROFILE := n
+diff --git a/drivers/extcon/Makefile b/drivers/extcon/Makefile
+index bf7861e..dbb22e3 100644
+--- a/drivers/extcon/Makefile
++++ b/drivers/extcon/Makefile
+@@ -10,3 +10,6 @@ obj-$(CONFIG_EXTCON_MAX77693) += extcon-max77693.o
+ obj-$(CONFIG_EXTCON_MAX8997) += extcon-max8997.o
+ obj-$(CONFIG_EXTCON_ARIZONA) += extcon-arizona.o
+ obj-$(CONFIG_EXTCON_PALMAS) += extcon-palmas.o
++
++GCOV_PROFILE := n
++
+diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
+index d10f6a9..7524e01 100644
+--- a/drivers/gpio/Makefile
++++ b/drivers/gpio/Makefile
+@@ -101,3 +101,4 @@ obj-$(CONFIG_GPIO_WM8994) += gpio-wm8994.o
+ obj-$(CONFIG_GPIO_XILINX) += gpio-xilinx.o
+ obj-$(CONFIG_GPIO_XTENSA) += gpio-xtensa.o
+ obj-$(CONFIG_GPIO_ZEVIO) += gpio-zevio.o
++GCOV_PROFILE := n
+diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
+index 1722f50..8de1671 100644
+--- a/drivers/i2c/Makefile
++++ b/drivers/i2c/Makefile
+@@ -12,3 +12,4 @@ obj-$(CONFIG_I2C_STUB) += i2c-stub.o
+
+ ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG
+ CFLAGS_i2c-core.o := -Wno-deprecated-declarations
++GCOV_PROFILE := n
+diff --git a/drivers/i2c/algos/Makefile b/drivers/i2c/algos/Makefile
+index 215303f..c39d166 100644
+--- a/drivers/i2c/algos/Makefile
++++ b/drivers/i2c/algos/Makefile
+@@ -7,3 +7,4 @@ obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o
+ obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o
+
+ ccflags-$(CONFIG_I2C_DEBUG_ALGO) := -DDEBUG
++GCOV_PROFILE := n
+diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile
+index dd9a7f8..3e394c6 100644
+--- a/drivers/i2c/busses/Makefile
++++ b/drivers/i2c/busses/Makefile
+@@ -104,3 +104,5 @@ obj-$(CONFIG_SCx200_ACB) += scx200_acb.o
+ obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o
+
+ ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG
++
++GCOV_PROFILE := n
+diff --git a/drivers/i2c/muxes/Makefile b/drivers/i2c/muxes/Makefile
+index 465778b..f13be72 100644
+--- a/drivers/i2c/muxes/Makefile
++++ b/drivers/i2c/muxes/Makefile
+@@ -9,3 +9,4 @@ obj-$(CONFIG_I2C_MUX_PCA954x) += i2c-mux-pca954x.o
+ obj-$(CONFIG_I2C_MUX_PINCTRL) += i2c-mux-pinctrl.o
+
+ ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG
++GCOV_PROFILE := n
+diff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile
+index 8893bad..42e456c 100644
+--- a/drivers/iommu/Makefile
++++ b/drivers/iommu/Makefile
+@@ -1,3 +1,5 @@
++GCOV_PROFILE := n
++
+ obj-$(CONFIG_IOMMU_API) += iommu.o
+ obj-$(CONFIG_IOMMU_API) += iommu-traces.o
+ obj-$(CONFIG_OF_IOMMU) += of_iommu.o
+diff --git a/drivers/irqchip/Makefile b/drivers/irqchip/Makefile
+index 62a13e5..256b4d4 100644
+--- a/drivers/irqchip/Makefile
++++ b/drivers/irqchip/Makefile
+@@ -30,3 +30,6 @@ obj-$(CONFIG_XTENSA) += irq-xtensa-pic.o
+ obj-$(CONFIG_XTENSA_MX) += irq-xtensa-mx.o
+ obj-$(CONFIG_IRQ_CROSSBAR) += irq-crossbar.o
+ obj-$(CONFIG_BRCMSTB_L2_IRQ) += irq-brcmstb-l2.o
++
++GCOV_PROFILE := n
++
+diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
+index 4c52a6a6..95575a8 100644
+--- a/drivers/mfd/Makefile
++++ b/drivers/mfd/Makefile
+@@ -2,6 +2,8 @@
+ # Makefile for multifunction miscellaneous devices
+ #
+
++GCOV_PROFILE := n
++
+ 88pm860x-objs := 88pm860x-core.o 88pm860x-i2c.o
+ obj-$(CONFIG_MFD_88PM860X) += 88pm860x.o
+ obj-$(CONFIG_MFD_88PM800) += 88pm800.o 88pm80x.o
+diff --git a/drivers/of/Makefile b/drivers/of/Makefile
+index 099b1fb..d314867 100644
+--- a/drivers/of/Makefile
++++ b/drivers/of/Makefile
+@@ -14,3 +14,4 @@ obj-$(CONFIG_OF_RESERVED_MEM) += of_reserved_mem.o
+
+ CFLAGS_fdt.o = -I$(src)/../../scripts/dtc/libfdt
+ CFLAGS_fdt_address.o = -I$(src)/../../scripts/dtc/libfdt
++GCOV_PROFILE := n
+diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile
+index aede918..7dedd57 100644
+--- a/drivers/regulator/Makefile
++++ b/drivers/regulator/Makefile
+@@ -2,6 +2,7 @@
+ # Makefile for regulator drivers.
+ #
+
++GCOV_PROFILE := n
+
+ obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o helpers.o devres.o
+ obj-$(CONFIG_OF) += of_regulator.o
+--
+2.0.1
+
diff --git a/gcov-arndale b/gcov-arndale
index 1dae130..dbbedc3 100755
--- a/gcov-arndale
+++ b/gcov-arndale
@@ -5,6 +5,11 @@ LAVA_NAME=${BUILD_URL:-"linux-gcov-test"}
rm -rf lci-build-tools builddir-* *gz *deb hwpack*
git clone https://git.linaro.org/ci/lci-build-tools.git
+for patch in configs/*.patch
+do
+ patch -p1 < $patch
+done
+
# jenkins needs a different directory for build due to git juggling
if [ ! -z ${WORKSPACE} ]
then
@@ -31,7 +36,6 @@ sudo $ktree/linaro-image-tools/linaro-media-create --hwpack-force-yes --dev arnd
sudo xz gcovlava-arndale.img
-exit 0
cat <<EOF > post_build_lava_parameters
HWPACK_JOB_NAME=linux-gcov/hwpack=arndale
HWPACK_BUILD_NUMBER=${BUILD_NUMBER}
diff --git a/lava/gcov_arndale.json b/lava/gcov_arndale.json
new file mode 100644
index 0000000..d2c1d15
--- /dev/null
+++ b/lava/gcov_arndale.json
@@ -0,0 +1,33 @@
+{
+ "actions": [
+ {
+ "command": "deploy_linaro_image",
+ "parameters": {
+ "image": "https://ci.linaro.org/job/linux-gcov/ws/hwpack/arndale/label/kernel_cloud/gcovlava-arndale.img.xz"
+ }
+ },
+ {
+ "command": "lava_test_shell",
+ "parameters": {
+ "testdef_repos": [
+ {
+ "git-repo": "git://git.linaro.org/people/riku.voipio/test-definitions.git",
+ "testdef": "ubuntu/gcov-ltp.yaml"
+ }
+ ],
+ "timeout": 18000
+ }
+ },
+ {
+ "command": "submit_results",
+ "parameters": {
+ "stream": "/anonymous/gcov/",
+ "server": "http://validation.linaro.org/RPC2/"
+ }
+ }
+
+ ],
+ "job_name": "Arndale gcov tests",
+ "device_type": "arndale",
+ "timeout": 18000
+}