summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>2015-02-04 11:57:41 +0100
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2015-02-05 16:09:22 +0100
commitd2bd9323e2b153bde6acec6c5649c9ee4127d178 (patch)
treed5e7dfc09673e623b94214c938b160d6875c66e5
parent0f656e9276c13d8688207ba7d6face1bca72381a (diff)
downloadkernel-common-d2bd9323e2b153bde6acec6c5649c9ee4127d178.tar.gz
kernel-common-d2bd9323e2b153bde6acec6c5649c9ee4127d178.tar.bz2
kernel-common-d2bd9323e2b153bde6acec6c5649c9ee4127d178.zip
packaging, defconfig: bump to 3.14.28-ltsi
Change-Id: I789149825987f75058b2f806cc4ac905b421433e Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
-rw-r--r--arch/arm/configs/vexpress_defconfig18
-rw-r--r--arch/x86/configs/i386_defconfig27
-rw-r--r--arch/x86/configs/x86_64_defconfig26
-rw-r--r--packaging/README.update_linux-stable46
-rw-r--r--packaging/linux-stable.spec5
5 files changed, 39 insertions, 83 deletions
diff --git a/arch/arm/configs/vexpress_defconfig b/arch/arm/configs/vexpress_defconfig
index d6add58d2604..8efb7dd30b2b 100644
--- a/arch/arm/configs/vexpress_defconfig
+++ b/arch/arm/configs/vexpress_defconfig
@@ -7,22 +7,14 @@ CONFIG_LOG_BUF_SHIFT=14
CONFIG_CGROUPS=y
CONFIG_CPUSETS=y
CONFIG_CGROUP_SCHED=y
-CONFIG_FAIR_GROUP_SCHED=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_PID_NS is not set
-CONFIG_NET_NS=y
-CONFIG_SYSFS_DEPRECATED=n
CONFIG_BLK_DEV_INITRD=y
-CONFIG_EPOLL=y
-CONFIG_SIGNALFD=y
-CONFIG_TIMERFD=y
CONFIG_PROFILING=y
CONFIG_OPROFILE=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
-CONFIG_BLK_DEV_BSG=y
-CONFIG_EFI_PARTITION=y
# CONFIG_IOSCHED_DEADLINE is not set
# CONFIG_IOSCHED_CFQ is not set
CONFIG_CMA=y
@@ -38,13 +30,11 @@ CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
# CONFIG_INET_LRO is not set
-CONFIG_IPV6=m
# CONFIG_WIRELESS is not set
CONFIG_NET_9P=y
CONFIG_NET_9P_VIRTIO=y
-CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
-CONFIG_FW_LOADER_USER_HELPER=n
+# CONFIG_FW_LOADER_USER_HELPER is not set
CONFIG_MTD=y
CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_BLOCK=y
@@ -123,20 +113,15 @@ CONFIG_EXT3_FS=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
-CONFIG_INOTIFY_USER=y
CONFIG_AUTOFS4_FS=y
CONFIG_VFAT_FS=y
-CONFIG_PROC_FS=y
-CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
-CONFIG_TMPFS_XATTR=y
CONFIG_JFFS2_FS=y
CONFIG_UBIFS_FS=y
CONFIG_CRAMFS=y
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_LZO=y
-# CONFIG_EFIVAR_FS is not set
CONFIG_NFS_FS=y
CONFIG_ROOT_NFS=y
CONFIG_9P_FS=y
@@ -147,7 +132,6 @@ CONFIG_DEBUG_FS=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DETECT_HUNG_TASK=y
-CONFIG_SCHED_DEBUG=y
CONFIG_SCHEDSTATS=y
CONFIG_SECURITY=y
CONFIG_SECURITY_SMACK=y
diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig
index a6a44528299d..5ded76aa3c99 100644
--- a/arch/x86/configs/i386_defconfig
+++ b/arch/x86/configs/i386_defconfig
@@ -1,4 +1,3 @@
-# CONFIG_64BIT is not set
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
@@ -19,20 +18,13 @@ CONFIG_CPUSETS=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_RESOURCE_COUNTERS=y
CONFIG_CGROUP_SCHED=y
-CONFIG_FAIR_GROUP_SCHED=y
-CONFIG_NET_NS=y
-CONFIG_SYSFS_DEPRECATED=n
CONFIG_BLK_DEV_INITRD=y
-CONFIG_EPOLL=y
-CONFIG_SIGNALFD=y
-CONFIG_TIMERFD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_PROFILING=y
CONFIG_KPROBES=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
-CONFIG_BLK_DEV_BSG=y
CONFIG_PARTITION_ADVANCED=y
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
@@ -44,7 +36,6 @@ CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_SGI_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
-CONFIG_EFI_PARTITION=y
CONFIG_SMP=y
CONFIG_X86_GENERIC=y
CONFIG_HPET_TIMER=y
@@ -61,7 +52,6 @@ CONFIG_X86_CHECK_BIOS_CORRUPTION=y
# CONFIG_MTRR_SANITIZER is not set
CONFIG_EFI=y
CONFIG_EFI_STUB=y
-CONFIG_SECCOMP=y
CONFIG_HZ_1000=y
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
@@ -110,7 +100,6 @@ CONFIG_TCP_CONG_ADVANCED=y
# CONFIG_TCP_CONG_WESTWOOD is not set
# CONFIG_TCP_CONG_HTCP is not set
CONFIG_TCP_MD5SIG=y
-CONFIG_IPV6=m
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
CONFIG_NETWORK_SECMARK=y
@@ -124,7 +113,6 @@ CONFIG_NF_CT_NETLINK=y
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
CONFIG_NETFILTER_XT_TARGET_SECMARK=y
-CONFIG_NETFILTER_XT_TARGET_TCPMSS=y
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
CONFIG_NETFILTER_XT_MATCH_POLICY=y
CONFIG_NETFILTER_XT_MATCH_STATE=y
@@ -134,24 +122,16 @@ CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_ULOG=y
CONFIG_IP_NF_MANGLE=y
-CONFIG_NF_CONNTRACK_IPV6=y
-CONFIG_IP6_NF_IPTABLES=y
-CONFIG_IP6_NF_MATCH_IPV6HEADER=y
-CONFIG_IP6_NF_FILTER=y
-CONFIG_IP6_NF_TARGET_REJECT=y
-CONFIG_IP6_NF_MANGLE=y
CONFIG_NET_SCHED=y
CONFIG_NET_EMATCH=y
CONFIG_NET_CLS_ACT=y
-CONFIG_HAMRADIO=y
CONFIG_CFG80211=y
CONFIG_MAC80211=y
CONFIG_MAC80211_LEDS=y
CONFIG_RFKILL=y
-CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
-CONFIG_FW_LOADER_USER_HELPER=n
+# CONFIG_FW_LOADER_USER_HELPER is not set
CONFIG_DEBUG_DEVRES=y
CONFIG_CONNECTOR=y
CONFIG_BLK_DEV_LOOP=y
@@ -269,7 +249,6 @@ CONFIG_EFI_VARS=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
-CONFIG_INOTIFY_USER=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not set
@@ -280,11 +259,8 @@ CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
-CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
-CONFIG_SYSFS=y
CONFIG_TMPFS_POSIX_ACL=y
-CONFIG_TMPFS_XATTR=y
CONFIG_HUGETLBFS=y
CONFIG_EFIVAR_FS=y
CONFIG_NFS_FS=y
@@ -304,7 +280,6 @@ CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_STACK_USAGE=y
CONFIG_DEBUG_STACKOVERFLOW=y
-CONFIG_SCHED_DEBUG=y
CONFIG_SCHEDSTATS=y
CONFIG_TIMER_STATS=y
CONFIG_BLK_DEV_IO_TRACE=y
diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig
index caea44f87455..712f15443abc 100644
--- a/arch/x86/configs/x86_64_defconfig
+++ b/arch/x86/configs/x86_64_defconfig
@@ -18,20 +18,13 @@ CONFIG_CPUSETS=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_RESOURCE_COUNTERS=y
CONFIG_CGROUP_SCHED=y
-CONFIG_FAIR_GROUP_SCHED=y
-CONFIG_NET_NS=y
-CONFIG_SYSFS_DEPRECATED=n
CONFIG_BLK_DEV_INITRD=y
-CONFIG_EPOLL=y
-CONFIG_SIGNALFD=y
-CONFIG_TIMERFD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_PROFILING=y
CONFIG_KPROBES=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
-CONFIG_BLK_DEV_BSG=y
CONFIG_PARTITION_ADVANCED=y
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
@@ -43,7 +36,6 @@ CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_SGI_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
-CONFIG_EFI_PARTITION=y
CONFIG_SMP=y
CONFIG_CALGARY_IOMMU=y
CONFIG_NR_CPUS=64
@@ -59,7 +51,6 @@ CONFIG_X86_CHECK_BIOS_CORRUPTION=y
# CONFIG_MTRR_SANITIZER is not set
CONFIG_EFI=y
CONFIG_EFI_STUB=y
-CONFIG_SECCOMP=y
CONFIG_HZ_1000=y
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
@@ -109,7 +100,6 @@ CONFIG_TCP_CONG_ADVANCED=y
# CONFIG_TCP_CONG_WESTWOOD is not set
# CONFIG_TCP_CONG_HTCP is not set
CONFIG_TCP_MD5SIG=y
-CONFIG_IPV6=m
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
CONFIG_NETWORK_SECMARK=y
@@ -123,7 +113,6 @@ CONFIG_NF_CT_NETLINK=y
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
CONFIG_NETFILTER_XT_TARGET_SECMARK=y
-CONFIG_NETFILTER_XT_TARGET_TCPMSS=y
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
CONFIG_NETFILTER_XT_MATCH_POLICY=y
CONFIG_NETFILTER_XT_MATCH_STATE=y
@@ -133,24 +122,16 @@ CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_ULOG=y
CONFIG_IP_NF_MANGLE=y
-CONFIG_NF_CONNTRACK_IPV6=y
-CONFIG_IP6_NF_IPTABLES=y
-CONFIG_IP6_NF_MATCH_IPV6HEADER=y
-CONFIG_IP6_NF_FILTER=y
-CONFIG_IP6_NF_TARGET_REJECT=y
-CONFIG_IP6_NF_MANGLE=y
CONFIG_NET_SCHED=y
CONFIG_NET_EMATCH=y
CONFIG_NET_CLS_ACT=y
-CONFIG_HAMRADIO=y
CONFIG_CFG80211=y
CONFIG_MAC80211=y
CONFIG_MAC80211_LEDS=y
CONFIG_RFKILL=y
-CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
-CONFIG_FW_LOADER_USER_HELPER=n
+# CONFIG_FW_LOADER_USER_HELPER is not set
CONFIG_DEBUG_DEVRES=y
CONFIG_CONNECTOR=y
CONFIG_BLK_DEV_LOOP=y
@@ -267,7 +248,6 @@ CONFIG_EFI_VARS=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
-CONFIG_INOTIFY_USER=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not set
@@ -278,11 +258,8 @@ CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
-CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
-CONFIG_SYSFS=y
CONFIG_TMPFS_POSIX_ACL=y
-CONFIG_TMPFS_XATTR=y
CONFIG_HUGETLBFS=y
CONFIG_EFIVAR_FS=y
CONFIG_NFS_FS=y
@@ -301,7 +278,6 @@ CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_STACK_USAGE=y
CONFIG_DEBUG_STACKOVERFLOW=y
-CONFIG_SCHED_DEBUG=y
CONFIG_SCHEDSTATS=y
CONFIG_TIMER_STATS=y
CONFIG_BLK_DEV_IO_TRACE=y
diff --git a/packaging/README.update_linux-stable b/packaging/README.update_linux-stable
index 9c85735327f8..f7e1863fcf40 100644
--- a/packaging/README.update_linux-stable
+++ b/packaging/README.update_linux-stable
@@ -3,13 +3,11 @@ How to bump kernel version
Parameters:
-----------
-* branch to upgrade to (example: linux-3.14.y as defined on git.kernel.org)
-* tag to upgrade to (example: v3.14.20)
-* kernel version
+* ltsi tag to upgrade to (example: v3.14.28-ltsi)
Define variables:
-# linux_branch=linux-3.14.y
-# linux_tag=v3.14.20
+
+# ltsi_tag=v3.14.28-ltsi
1. Clone linux-stable from tizen.org
@@ -19,32 +17,54 @@ Define variables:
# cd linux-stable
-2. add kernel.org as new origin and fetch it
---------------------------------------------
+2. add kernel.org and LTSI as new remotes and fetch them
+------------------------------------------------------
# git remote add kernel_org git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
# git fetch kernel_org
+# git remote add kernel_ltsi http://git.linuxfoundation.org/ltsi-kernel.git
+# git fetch kernel_ltsi
+
+3. Update LTSI branch
+---------------------
+
+# git checkout -B upstream_ltsi ${ltsi_tag}
+# git push --tags origin HEAD:upstream_ltsi
+
+
+3. import upstream branch, apply LTSI patches and push to tizen.org
+-------------------------------------------------------------------
+
+# tmpdir=/tmp/ltsi ; rm -rf $tmpdir && mkdir -p $tmpdir
+# git archive ${ltsi_tag} | tar Cxvf $tmpdir -
+
+# linux_tag=v$(<$tmpdir/KERNEL_VERSION)
+# linux_branch=linux-$(sed -r 's/v([0-9]+)\.([0-9]+)\.([0-9]+)$/\1.\2/' <<<$linux_tag).y
+# echo $linux_branch $linux_tag
-3. import on upstream branch until given revision and push to tizen.org
------------------------------------------------------------------------
+# git checkout -B ${linux_branch} ${linux_tag}
+# git push --tags origin HEAD:${linux_branch}
-# git checkout upstream
-# git rebase kernel_org/${linux_branch}
+# $tmpdir/scripts/generate_git
+# git tag ${linux_tag}+ltsi
# git push --tags origin HEAD:upstream
+Optional: delete local branch created by generate_git
+# git checkout -B upstream origin/upstream
+# git branch -D ${ltsi_tag/#v/}
4. rebase tizen branch
----------------------
# git checkout -B tizen origin/tizen
-# git rebase -i ${linux_tag}
+# git rebase -i ${linux_tag}+ltsi
5. Bump the kernel version in the spec file
-------------------------------------------
-# sed -ri "s/^(%define upstream_version).*$/\1 $(make kernelversion)/" packaging/*.spec
+# sed -ri "s/^(%define upstream_version).*$/\1 $(make kernelversion | sed 's/-ltsi$/+ltsi/')/" packaging/*.spec
# git commit -sam "packaging: bump to $(make kernelversion)"
diff --git a/packaging/linux-stable.spec b/packaging/linux-stable.spec
index d818c76cb705..99934d274ec0 100644
--- a/packaging/linux-stable.spec
+++ b/packaging/linux-stable.spec
@@ -3,7 +3,8 @@
# from MeeGo/Moblin/Fedora
#
-%define upstream_version 3.14.25
+%define extraversion +ltsi
+%define upstream_version 3.14.28%{extraversion}
%if !%{defined platform}
%define platform default
@@ -171,7 +172,7 @@ counter events as well as various kernel internal events.
###
%build
# Make sure EXTRAVERSION says what we want it to say
-sed -i "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}-%{variant}/" Makefile
+sed -i "s/^EXTRAVERSION.*/EXTRAVERSION = %{extraversion}-%{release}-%{variant}/" Makefile
# Build perf
make -s -C tools/lib/traceevent ARCH=%{kernel_arch} %{?_smp_mflags}