All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm][PATCH] Only disable perf events for machines using 2.6.35.3 kernels.
@ 2015-01-11 21:31 Alex Gonzalez
  2015-01-11 21:31 ` [meta-fsl-arm][PATCH] perf: Only disable perf events for machines using 2.6.35.3 Alex Gonzalez
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Gonzalez @ 2015-01-11 21:31 UTC (permalink / raw)
  To: meta-freescale

Most supported machines can compile the default perf features, so restrict them
only for machines that currently build on 2.6.35.3.

Note I have not been able to build it for all affected machines. Ideally it
should succesfully build in the build servers for all affected machines before
pushing it.

Alex Gonzalez (1):
  perf: Only disable perf events for machines using 2.6.35.3.

 conf/machine/imx28evk.conf        | 3 +++
 conf/machine/imx51evk.conf        | 3 +++
 conf/machine/imx53ard.conf        | 3 +++
 conf/machine/imx53qsb.conf        | 3 +++
 conf/machine/include/imx-base.inc | 3 ---
 conf/machine/include/mxs-base.inc | 3 ---
 6 files changed, 12 insertions(+), 6 deletions(-)



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [meta-fsl-arm][PATCH] perf: Only disable perf events for machines using 2.6.35.3.
  2015-01-11 21:31 [meta-fsl-arm][PATCH] Only disable perf events for machines using 2.6.35.3 kernels Alex Gonzalez
@ 2015-01-11 21:31 ` Alex Gonzalez
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Gonzalez @ 2015-01-11 21:31 UTC (permalink / raw)
  To: meta-freescale

Newer kernels build fine with the default settings.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
---
 conf/machine/imx28evk.conf        | 3 +++
 conf/machine/imx51evk.conf        | 3 +++
 conf/machine/imx53ard.conf        | 3 +++
 conf/machine/imx53qsb.conf        | 3 +++
 conf/machine/include/imx-base.inc | 3 ---
 conf/machine/include/mxs-base.inc | 3 ---
 6 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/conf/machine/imx28evk.conf b/conf/machine/imx28evk.conf
index 86123c315582..672e4587b5a0 100644
--- a/conf/machine/imx28evk.conf
+++ b/conf/machine/imx28evk.conf
@@ -8,6 +8,9 @@ include conf/machine/include/mxs-base.inc
 
 SOC_FAMILY = "mxs:mx28"
 
+# Disable perf features as 2.6.35.3 fails to build otherwise
+PERF_FEATURES_ENABLE = ""
+
 IMXBOOTLETS_MACHINE = "iMX28_EVK"
 
 UBOOT_CONFIG ??= "sd"
diff --git a/conf/machine/imx51evk.conf b/conf/machine/imx51evk.conf
index d9aea7c0b677..9d7d06ca41fc 100644
--- a/conf/machine/imx51evk.conf
+++ b/conf/machine/imx51evk.conf
@@ -9,6 +9,9 @@ include conf/machine/include/tune-cortexa8.inc
 
 SOC_FAMILY = "mx5:mx51"
 
+# Disable perf features as 2.6.35.3 fails to build otherwise
+PERF_FEATURES_ENABLE = ""
+
 KERNEL_DEVICETREE = "imx51-babbage.dtb"
 
 UBOOT_MACHINE = "mx51evk_config"
diff --git a/conf/machine/imx53ard.conf b/conf/machine/imx53ard.conf
index 8a64e22b48ff..c338d6b5138b 100644
--- a/conf/machine/imx53ard.conf
+++ b/conf/machine/imx53ard.conf
@@ -9,6 +9,9 @@ include conf/machine/include/tune-cortexa8.inc
 
 SOC_FAMILY = "mx5:mx53"
 
+# Disable perf features as 2.6.35.3 fails to build otherwise
+PERF_FEATURES_ENABLE = ""
+
 KERNEL_DEVICETREE = "imx53-ard.dtb"
 
 UBOOT_MACHINE = "mx53ard_config"
diff --git a/conf/machine/imx53qsb.conf b/conf/machine/imx53qsb.conf
index 5df85a9e2c5b..0e7349e82dfe 100644
--- a/conf/machine/imx53qsb.conf
+++ b/conf/machine/imx53qsb.conf
@@ -9,6 +9,9 @@ include conf/machine/include/tune-cortexa8.inc
 
 SOC_FAMILY = "mx5:mx53"
 
+# Disable perf features as 2.6.35.3 fails to build otherwise
+PERF_FEATURES_ENABLE = ""
+
 KERNEL_DEVICETREE = "imx53-qsb.dtb imx53-qsrb.dtb"
 
 UBOOT_MACHINE = "mx53loco_config"
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 301cd5c58848..5c3f618ac409 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -6,9 +6,6 @@ include conf/machine/include/fsl-default-providers.inc
 
 include conf/machine/include/soc-family.inc
 
-# Disable perf features as 2.6.35.3 fail to build otherwise
-PERF_FEATURES_ENABLE = ""
-
 # Set specific make target and binary suffix
 UBOOT_MAKE_TARGET = "u-boot.imx"
 UBOOT_SUFFIX ?= "imx"
diff --git a/conf/machine/include/mxs-base.inc b/conf/machine/include/mxs-base.inc
index 40cfa0f13d02..0314952013d3 100644
--- a/conf/machine/include/mxs-base.inc
+++ b/conf/machine/include/mxs-base.inc
@@ -15,9 +15,6 @@ UBOOT_ENTRYPOINT = "0x40008000"
 UBOOT_MAKE_TARGET = "u-boot.sb"
 UBOOT_SUFFIX = "sb"
 
-# Disable perf features as 2.6.35.3 fail to build otherwise
-PERF_FEATURES_ENABLE_mx28 = ""
-
 XSERVER = "xserver-xorg \
            xf86-input-evdev \
            xf86-video-fbdev"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-11 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-11 21:31 [meta-fsl-arm][PATCH] Only disable perf events for machines using 2.6.35.3 kernels Alex Gonzalez
2015-01-11 21:31 ` [meta-fsl-arm][PATCH] perf: Only disable perf events for machines using 2.6.35.3 Alex Gonzalez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.