Patchwork [kernel/imx_2.6.35_maintain] imx5_defconfig, imx28evk_defconfig: Sync with Freescale Communit BSP settings

login
register
mail settings
Submitter Mahadevan Mahesh-R9AADQ
Date July 16, 2013, 6:14 p.m.
Message ID <6586708B5E10534CB2F1D6F0FBA138DC384283@039-SN1MPN1-005.039d.mgd.msft.net>
Download mbox | patch
Permalink /patch/53775/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Mahadevan Mahesh-R9AADQ - July 16, 2013, 6:14 p.m.
Hi Otavio,
Few questions:
1. Any reason why the below option is enabled for MX28? I don't see it enabled in the yocto defconfig
+CONFIG_MX28_SUSPEND_TO_RAM=y

2. Why are all the below turned on for MX53? I see only FTRACE enabled for MX28.
+CONFIG_PERF_EVENTS=y

+CONFIG_KPROBES=y
+CONFIG_KRETPROBES=y

+CONFIG_HW_PERF_EVENTS=y

+# CONFIG_NET_TCPPROBE is not set

Best regards,
-Mahesh

-----Original Message-----
From: Otavio Salvador [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
Sent: Tuesday, July 02, 2013 2:32 PM
To: meta-freescale Mailing List
Cc: Mahadevan Mahesh-R9AADQ; Otavio Salvador
Subject: [kernel/imx_2.6.35_maintain PATCH] imx5_defconfig, imx28evk_defconfig: Sync with Freescale Communit BSP settings

This syncs the kernel config being used in meta-fsl-arm BSP so people
building from source, directly from GIT, can get same features.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 arch/arm/configs/imx28evk_defconfig | 90 ++++++++++++++++++++++++++++---------
 arch/arm/configs/imx5_defconfig     | 26 ++++++++---
 2 files changed, 90 insertions(+), 26 deletions(-)
Otavio Salvador - July 16, 2013, 6:21 p.m.
On Tue, Jul 16, 2013 at 3:14 PM, Mahadevan Mahesh-R9AADQ
<r9aadq@freescale.com> wrote:
> Hi Otavio,
> Few questions:
> 1. Any reason why the below option is enabled for MX28? I don't see it enabled in the yocto defconfig
> +CONFIG_MX28_SUSPEND_TO_RAM=y

I think this should indeed not be abled by default. I think I removed
it when cleaning the changes and must have forgotten to update the
kernel patch.

> 2. Why are all the below turned on for MX53? I see only FTRACE enabled for MX28.
> +CONFIG_PERF_EVENTS=y
>
> +CONFIG_KPROBES=y
> +CONFIG_KRETPROBES=y
>
> +CONFIG_HW_PERF_EVENTS=y
>
> +# CONFIG_NET_TCPPROBE is not set

I did enabled FTRACE and saved the config; I can clean them if you want.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
Otavio Salvador - July 16, 2013, 9:29 p.m.
On Tue, Jul 16, 2013 at 3:21 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Tue, Jul 16, 2013 at 3:14 PM, Mahadevan Mahesh-R9AADQ
> <r9aadq@freescale.com> wrote:
>> Hi Otavio,
>> Few questions:
>> 1. Any reason why the below option is enabled for MX28? I don't see it enabled in the yocto defconfig
>> +CONFIG_MX28_SUSPEND_TO_RAM=y
>
> I think this should indeed not be abled by default. I think I removed
> it when cleaning the changes and must have forgotten to update the
> kernel patch.

Done, will send it in an updated patch.

>> 2. Why are all the below turned on for MX53? I see only FTRACE enabled for MX28.
>> +CONFIG_PERF_EVENTS=y

Ok, removed.

>> +CONFIG_KPROBES=y

Symbol: HAVE_KPROBES [=y]

                                            |
|   Selected by: ARM [=y] && !XIP_KERNEL [=n]

So it seems I cannot disable this.

>> +CONFIG_KRETPROBES=y

I tried and didn't succeed to remove it. It is just =y in help.

>> +CONFIG_HW_PERF_EVENTS=y

Ok, removed.

>> +# CONFIG_NET_TCPPROBE is not set

Not changed.

I attached the updated patch; please take a look.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
Mahadevan Mahesh-R9AADQ - July 17, 2013, 2:57 p.m.
The patch have been added to the FSL public GIT, it available at the below link:

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/log/?h=imx_2.6.35_maintain

Best regards,
-Mahesh

-----Original Message-----
From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
Sent: Tuesday, July 16, 2013 1:22 PM
To: Mahadevan Mahesh-R9AADQ
Cc: meta-freescale Mailing List
Subject: Re: [kernel/imx_2.6.35_maintain PATCH] imx5_defconfig, imx28evk_defconfig: Sync with Freescale Communit BSP settings

On Tue, Jul 16, 2013 at 3:14 PM, Mahadevan Mahesh-R9AADQ
<r9aadq@freescale.com> wrote:
> Hi Otavio,
> Few questions:
> 1. Any reason why the below option is enabled for MX28? I don't see it enabled in the yocto defconfig
> +CONFIG_MX28_SUSPEND_TO_RAM=y

I think this should indeed not be abled by default. I think I removed
it when cleaning the changes and must have forgotten to update the
kernel patch.

> 2. Why are all the below turned on for MX53? I see only FTRACE enabled for MX28.
> +CONFIG_PERF_EVENTS=y
>
> +CONFIG_KPROBES=y
> +CONFIG_KRETPROBES=y
>
> +CONFIG_HW_PERF_EVENTS=y
>
> +# CONFIG_NET_TCPPROBE is not set

I did enabled FTRACE and saved the config; I can clean them if you want.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

Patch

diff --git a/arch/arm/configs/imx28evk_defconfig b/arch/arm/configs/imx28evk_defconfig
index dbb4eaa..bc1bc06 100644
--- a/arch/arm/configs/imx28evk_defconfig
+++ b/arch/arm/configs/imx28evk_defconfig
@@ -1,7 +1,7 @@ 
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.35.3
-# Mon Dec  6 17:17:47 2010
+# Tue Jul  2 16:27:45 2013
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -102,7 +102,6 @@  CONFIG_SIGNALFD=y
 CONFIG_TIMERFD=y
 CONFIG_EVENTFD=y
 CONFIG_SHMEM=y
-# CONFIG_ASHMEM is not set
 CONFIG_AIO=y
 CONFIG_HAVE_PERF_EVENTS=y
 CONFIG_PERF_USE_VMALLOC=y
@@ -259,6 +258,8 @@  CONFIG_MACH_MX28EVK=y
 CONFIG_VECTORS_PHY_ADDR=0
 CONFIG_MXS_TIMER_WITH_MACH=y
 # CONFIG_MEM_mDDR is not set
+CONFIG_MX28_SUSPEND_TO_RAM=y
+CONFIG_WORKAROUND_ARCUSB_REG_RW=y
 CONFIG_MXS_ICOLL=y
 CONFIG_MXS_EARLY_CONSOLE=y
 CONFIG_MXS_DMA_ENGINE=y
@@ -505,7 +506,6 @@  CONFIG_WIRELESS=y
 CONFIG_WIRELESS_EXT=y
 CONFIG_WEXT_CORE=y
 CONFIG_WEXT_PROC=y
-CONFIG_WEXT_SPY=y
 CONFIG_WEXT_PRIV=y
 # CONFIG_CFG80211 is not set
 CONFIG_WIRELESS_EXT_SYSFS=y
@@ -595,6 +595,7 @@  CONFIG_MTD_CFI_I2=y
 #
 # CONFIG_MTD_DATAFLASH is not set
 # CONFIG_MTD_MXC_DATAFLASH is not set
+# CONFIG_MTD_MXC_M25P80 is not set
 CONFIG_MTD_M25P80=m
 CONFIG_M25PXX_USE_FAST_READ=y
 # CONFIG_MTD_SST25L is not set
@@ -670,10 +671,8 @@  CONFIG_MISC_DEVICES=y
 # CONFIG_DS1682 is not set
 # CONFIG_TI_DAC7512 is not set
 CONFIG_MXS_PERSISTENT=y
-# CONFIG_ANDROID_PMEM is not set
-# CONFIG_UID_STAT is not set
-# CONFIG_C2PORT is not set
 CONFIG_MXS_PERFMON=y
+# CONFIG_C2PORT is not set
 
 #
 # EEPROM support
@@ -781,6 +780,7 @@  CONFIG_MII=y
 # CONFIG_KS8851 is not set
 # CONFIG_KS8851_MLL is not set
 CONFIG_FEC=y
+# CONFIG_FEC_NAPI is not set
 # CONFIG_FEC_1588 is not set
 # CONFIG_FEC2 is not set
 # CONFIG_NETDEV_1000 is not set
@@ -788,17 +788,6 @@  CONFIG_FEC=y
 CONFIG_WLAN=y
 # CONFIG_USB_ZD1201 is not set
 # CONFIG_HOSTAP is not set
-CONFIG_ATH6K_LEGACY=m
-CONFIG_AR600x_SD31_XXX=y
-# CONFIG_AR600x_WB31_XXX is not set
-# CONFIG_AR600x_SD32_XXX is not set
-# CONFIG_AR600x_CUSTOM_XXX is not set
-# CONFIG_ATH6KL_ENABLE_COEXISTENCE is not set
-# CONFIG_ATH6KL_HCI_BRIDGE is not set
-# CONFIG_ATH6KL_CFG80211 is not set
-# CONFIG_ATH6KL_HTC_RAW_INTERFACE is not set
-# CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER is not set
-# CONFIG_ATH6KL_DEBUG is not set
 
 #
 # Enable WiMAX (Networking options) to see the WiMAX drivers
@@ -861,6 +850,7 @@  CONFIG_KEYBOARD_ATKBD=y
 # CONFIG_KEYBOARD_SUNKBD is not set
 # CONFIG_KEYBOARD_XTKBD is not set
 CONFIG_KEYBOARD_MXS=y
+# CONFIG_KEYBOARD_MPR121 is not set
 CONFIG_INPUT_MOUSE=y
 CONFIG_MOUSE_PS2=y
 CONFIG_MOUSE_PS2_ALPS=y
@@ -908,6 +898,7 @@  CONFIG_INPUT_TOUCHSCREEN=y
 # CONFIG_TOUCHSCREEN_DYNAPRO is not set
 # CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
 # CONFIG_TOUCHSCREEN_EETI is not set
+# CONFIG_TOUCHSCREEN_EGALAX is not set
 # CONFIG_TOUCHSCREEN_FUJITSU is not set
 CONFIG_TOUCHSCREEN_GUNZE=m
 # CONFIG_TOUCHSCREEN_ELO is not set
@@ -925,6 +916,8 @@  CONFIG_TOUCHSCREEN_MXS=y
 # CONFIG_TOUCHSCREEN_TSC2007 is not set
 # CONFIG_TOUCHSCREEN_W90X900 is not set
 # CONFIG_TOUCHSCREEN_TPS6507X is not set
+# CONFIG_TOUCHSCREEN_P1003 is not set
+# CONFIG_TOUCHSCREEN_MAX11801 is not set
 CONFIG_INPUT_MISC=y
 # CONFIG_INPUT_AD714X is not set
 # CONFIG_INPUT_ATI_REMOTE is not set
@@ -936,6 +929,7 @@  CONFIG_INPUT_MISC=y
 CONFIG_INPUT_UINPUT=m
 # CONFIG_INPUT_PCF8574 is not set
 # CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
+# CONFIG_INPUT_ISL29023 is not set
 
 #
 # Hardware I/O ports
@@ -1159,6 +1153,7 @@  CONFIG_MFD_SUPPORT=y
 # CONFIG_MFD_LTC3589_I2C is not set
 # CONFIG_MFD_PCF50633 is not set
 # CONFIG_MFD_MC13783 is not set
+# CONFIG_PMIC_DA9052 is not set
 # CONFIG_ABX500_CORE is not set
 # CONFIG_EZX_PCAP is not set
 # CONFIG_AB8500_CORE is not set
@@ -1597,7 +1592,6 @@  CONFIG_USB_GADGET_SELECTED=y
 # CONFIG_USB_GADGET_GOKU is not set
 CONFIG_USB_GADGET_ARC=y
 CONFIG_USB_ARC=y
-CONFIG_WORKAROUND_ARCUSB_REG_RW=y
 # CONFIG_USB_GADGET_LANGWELL is not set
 # CONFIG_USB_GADGET_DUMMY_HCD is not set
 CONFIG_USB_GADGET_DUALSPEED=y
@@ -1744,7 +1738,45 @@  CONFIG_DMADEVICES=y
 # CONFIG_AUXDISPLAY is not set
 # CONFIG_UIO is not set
 CONFIG_STAGING=y
-CONFIG_STAGING_EXCLUDE_BUILD=n
+# CONFIG_STAGING_EXCLUDE_BUILD is not set
+# CONFIG_VIDEO_TM6000 is not set
+# CONFIG_USB_IP_COMMON is not set
+# CONFIG_PRISM2_USB is not set
+# CONFIG_ECHO is not set
+# CONFIG_RT2870 is not set
+# CONFIG_COMEDI is not set
+# CONFIG_ASUS_OLED is not set
+# CONFIG_TRANZPORT is not set
+# CONFIG_POHMELFS is not set
+# CONFIG_LINE6_USB is not set
+# CONFIG_VT6656 is not set
+# CONFIG_FB_UDL is not set
+
+#
+# RAR Register Driver
+#
+# CONFIG_IIO is not set
+# CONFIG_RAMZSWAP is not set
+# CONFIG_BATMAN_ADV is not set
+# CONFIG_FB_SM7XX is not set
+
+#
+# Texas Instruments shared transport line discipline
+#
+# CONFIG_TI_ST is not set
+# CONFIG_ADIS16255 is not set
+CONFIG_ATH6K_LEGACY=m
+CONFIG_AR600x_SD31_XXX=y
+# CONFIG_AR600x_WB31_XXX is not set
+# CONFIG_AR600x_SD32_XXX is not set
+# CONFIG_AR600x_CUSTOM_XXX is not set
+# CONFIG_ATH6KL_ENABLE_COEXISTENCE is not set
+# CONFIG_ATH6KL_HCI_BRIDGE is not set
+# CONFIG_ATH6KL_CFG80211 is not set
+# CONFIG_ATH6KL_HTC_RAW_INTERFACE is not set
+# CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER is not set
+# CONFIG_ATH6KL_SKIP_ABI_VERSION_CHECK is not set
+# CONFIG_ATH6KL_DEBUG is not set
 
 #
 # File systems
@@ -1865,13 +1897,15 @@  CONFIG_NFS_FS=y
 CONFIG_NFS_V3=y
 # CONFIG_NFS_V3_ACL is not set
 CONFIG_NFS_V4=y
+# CONFIG_NFS_V4_1 is not set
 CONFIG_ROOT_NFS=y
 # CONFIG_NFSD is not set
 CONFIG_LOCKD=y
 CONFIG_LOCKD_V4=y
 CONFIG_NFS_COMMON=y
 CONFIG_SUNRPC=y
-# CONFIG_RPCSEC_GSS_KRB5 is not set
+CONFIG_SUNRPC_GSS=y
+CONFIG_RPCSEC_GSS_KRB5=y
 # CONFIG_RPCSEC_GSS_SPKM3 is not set
 # CONFIG_SMB_FS is not set
 # CONFIG_CEPH_FS is not set
@@ -1969,7 +2003,21 @@  CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_RING_BUFFER=y
 CONFIG_RING_BUFFER_ALLOW_SWAP=y
 CONFIG_TRACING_SUPPORT=y
-# CONFIG_FTRACE is not set
+CONFIG_FTRACE=y
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_IRQSOFF_TRACER is not set
+# CONFIG_PREEMPT_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_ENABLE_DEFAULT_TRACERS is not set
+# CONFIG_BOOT_TRACER is not set
+CONFIG_BRANCH_PROFILE_NONE=y
+# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
+# CONFIG_PROFILE_ALL_BRANCHES is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_KMEMTRACE is not set
+# CONFIG_WORKQUEUE_TRACER is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_RING_BUFFER_BENCHMARK is not set
 # CONFIG_DYNAMIC_DEBUG is not set
 # CONFIG_ATOMIC64_SELFTEST is not set
 # CONFIG_SAMPLES is not set
diff --git a/arch/arm/configs/imx5_defconfig b/arch/arm/configs/imx5_defconfig
index a4fd20f..94323bc 100644
--- a/arch/arm/configs/imx5_defconfig
+++ b/arch/arm/configs/imx5_defconfig
@@ -1,7 +1,7 @@ 
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.35.3
-# Tue Sep 11 14:37:32 2012
+# Tue Jul  2 16:23:28 2013
 #
 CONFIG_ARM=y
 CONFIG_HAVE_PWM=y
@@ -121,7 +121,7 @@  CONFIG_PERF_USE_VMALLOC=y
 #
 # Kernel Performance Events And Counters
 #
-# CONFIG_PERF_EVENTS is not set
+CONFIG_PERF_EVENTS=y
 # CONFIG_PERF_COUNTERS is not set
 CONFIG_VM_EVENT_COUNTERS=y
 CONFIG_SLUB_DEBUG=y
@@ -131,7 +131,8 @@  CONFIG_SLUB=y
 # CONFIG_SLOB is not set
 # CONFIG_PROFILING is not set
 CONFIG_HAVE_OPROFILE=y
-# CONFIG_KPROBES is not set
+CONFIG_KPROBES=y
+CONFIG_KRETPROBES=y
 CONFIG_HAVE_KPROBES=y
 CONFIG_HAVE_KRETPROBES=y
 CONFIG_HAVE_CLK=y
@@ -364,6 +365,7 @@  CONFIG_AEABI=y
 # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
 CONFIG_HIGHMEM=y
 # CONFIG_HIGHPTE is not set
+CONFIG_HW_PERF_EVENTS=y
 CONFIG_SELECT_MEMORY_MODEL=y
 CONFIG_FLATMEM_MANUAL=y
 # CONFIG_DISCONTIGMEM_MANUAL is not set
@@ -522,6 +524,7 @@  CONFIG_DEFAULT_TCP_CONG="cubic"
 # Network testing
 #
 # CONFIG_NET_PKTGEN is not set
+# CONFIG_NET_TCPPROBE is not set
 # CONFIG_HAMRADIO is not set
 CONFIG_CAN=y
 CONFIG_CAN_RAW=y
@@ -874,7 +877,7 @@  CONFIG_SMSC911X=y
 # CONFIG_KS8851 is not set
 # CONFIG_KS8851_MLL is not set
 CONFIG_FEC=y
-CONFIG_FEC_NAPI=y
+# CONFIG_FEC_NAPI is not set
 # CONFIG_FEC_1588 is not set
 # CONFIG_FEC2 is not set
 # CONFIG_NETDEV_1000 is not set
@@ -2426,7 +2429,20 @@  CONFIG_DEBUG_BUGVERBOSE=y
 CONFIG_SYSCTL_SYSCALL_CHECK=y
 CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_TRACING_SUPPORT=y
-# CONFIG_FTRACE is not set
+CONFIG_FTRACE=y
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_IRQSOFF_TRACER is not set
+# CONFIG_PREEMPT_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_ENABLE_DEFAULT_TRACERS is not set
+# CONFIG_BOOT_TRACER is not set
+CONFIG_BRANCH_PROFILE_NONE=y
+# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
+# CONFIG_PROFILE_ALL_BRANCHES is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_KMEMTRACE is not set
+# CONFIG_WORKQUEUE_TRACER is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
 # CONFIG_ATOMIC64_SELFTEST is not set
 # CONFIG_SAMPLES is not set
 CONFIG_HAVE_ARCH_KGDB=y