[yocto] [meta-selinux][PATCH v2] kernel: Remove non-existing kernel option

2019-10-24 Thread zhe.he
From: He Zhe CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE has been remove from mainline kernel by the commit be6ec88f41ba ("selinux: Remove SECURITY_SELINUX_BOOTPARAM_VALUE"). Signed-off-by: He Zhe --- recipes-kernel/linux/files/selinux.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes

[yocto] [meta-cgl][PATCH v2] kernel: Remove non-existing kernel option

2019-10-24 Thread zhe.he
From: He Zhe CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE has been removed from mainline kernel by commit be6ec88f41ba ("selinux: Remove SECURITY_SELINUX_BOOTPARAM_VALUE"). Signed-off-by: He Zhe --- meta-cgl-common/recipes-kernel/linux/files/cfg/00014-selinux.cfg | 1 - 1 file changed, 1 deletion(-

[yocto] [meta-cgl][PATCH] kernel: Remove non-existing kernel option

2019-10-24 Thread zhe.he
From: He Zhe CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION has been removed from mainline kernel by commit 4c145dce2601 ("xfrm: make xfrm modes builtin"). Signed-off-by: He Zhe --- meta-cgl-common/recipes-kernel/linux/files/cfg/00014-selinux.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/me

[yocto] [meta-selinux][PATCH] kernel: Remove non-existing kernel option

2019-10-24 Thread zhe.he
From: He Zhe CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION has been remove from mainline kernel by the commit 4c145dce2601 ("xfrm: make xfrm modes builtin"). Signed-off-by: He Zhe --- recipes-kernel/linux/files/selinux.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes-kernel/linux/file

[yocto] [meta-dpdk][PATCH] [RFC] dpdk: Remove v17

2019-09-23 Thread zhe.he
From: He Zhe openvswith used not to be able to work with dpdk v18. That's one of the reasons why we keep v17. Now that openvswitch in meta-virtulization has been upgraded to v2.11, officially claimed support of dpdk18, we can drop dpdk v17. Signed-off-by: He Zhe --- ...dk-16.07-dpdk-fix-for-pa

[yocto] [meta-dpdk][PATCH] dpdk: Skip build if necessary kernel options is not included

2019-09-16 Thread zhe.he
From: He Zhe dpdk depends on some kernel configuration options without which it is not able to successfully build. Signed-off-by: He Zhe --- recipes-extended/dpdk/dpdk.inc | 5 + 1 file changed, 5 insertions(+) diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc i

[yocto] [meta-dpdk][PATCH] dpdk: igb_uio: fix build on Linux 5.3 for fall through

2019-08-05 Thread zhe.he
From: He Zhe Since kernel v5.3 "-Wimplicit-fallthrough=3" gcc flag is enabled by default by a035d552a93b ("Makefile: Globally enable fall-through warning") and would cause the following build failure. x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:248: 6: error: this

[yocto] [meta-dpdk][PATCH] dpdk: igb_uio: fix build on Linux 5.3 for fall through

2019-08-05 Thread zhe.he
From: He Zhe Since kernel v5.3 "-Wimplicit-fallthrough=3" gcc flag is enabled by default by a035d552a93b ("Makefile: Globally enable fall-through warning") and would cause the following build failure. x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:248: 6: error: this

[linux-yocto] [PATCH] btrfs: Fix build error while LIBCRC32C is module

2019-07-25 Thread zhe.he
From: YueHaibing If CONFIG_BTRFS_FS is y and CONFIG_LIBCRC32C is m, building fails: fs/btrfs/super.o: In function `btrfs_mount_root': super.c:(.text+0xb7f9): undefined reference to `crc32c_impl' fs/btrfs/super.o: In function `init_btrfs_fs': super.c:(.init.text+0x3465): undefined referen

[yocto] [meta-dpdk][PATCH] dpdk: Fix exmples and test _FORTIFY_SOURCE build failure

2019-07-10 Thread zhe.he
From: He Zhe When building examples and tests with GCC9, the following errors come up, error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] 382 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) |^~~ cc1: all warnings being

[yocto] [meta-dpdk][PATCH v2] dpdk: Remove 18.05

2019-06-30 Thread zhe.he
From: He Zhe We have already had 18.11 and 18.05 is not a stable version. This patch also removes the patch no longer needed. Signed-off-by: He Zhe --- v2: Remove the patch no longer needed. ...2-dpdk-fix-installation-warning-and-issue.patch | 79 -- recipes-extended/dpdk/

[yocto] [meta-security][PATCH] kernel: Add conditional inclusion of fragments for linux-yocto-dev

2019-06-26 Thread zhe.he
From: He Zhe Signed-off-by: He Zhe --- recipes-kernel/linux/linux-yocto-dev.bbappend | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 recipes-kernel/linux/linux-yocto-dev.bbappend diff --git a/recipes-kernel/linux/linux-yocto-dev.bbappend b/recipes-kernel/linux/linux-yoc

[yocto] [meta-dpdk][PATCH] dpdk: Remove 18.05

2019-06-25 Thread zhe.he
From: He Zhe We have already had 18.11 and 18.05 is not a stable version. Signed-off-by: He Zhe --- recipes-extended/dpdk/dpdk_18.05.bb | 15 --- 1 file changed, 15 deletions(-) delete mode 100644 recipes-extended/dpdk/dpdk_18.05.bb diff --git a/recipes-extended/dpdk/dpdk_18.05.b

[yocto] [meta-dpdk][PATCH] dpdk: mk: disable warning for packed member pointer

2019-06-10 Thread zhe.he
From: He Zhe Backport a patch from upstream to fix the following build failure. x86_64-native-linuxapp-gcc/include/rte_ether.h:178:2: error: converting a packed 'const struct ether_addr' pointer (alignment 1) to a 'unaligned_uint16_t' {aka 'const short unsigned int'} pointer (alignment 2) may

[yocto] [meta-dpdk][PATCH] dpdk: Fix do_compile failure for qemux86 and qemux86-64

2019-06-10 Thread zhe.he
From: He Zhe DPDK_TARGET_MACHINE in bbappend in other layers forms the dpdk-internal variable MACHINE_CFLAGS which is passed to dpdk compilation command line containing the first -march parameter. And EXTRA_CFLAGS in dpdk.inc is passed to dpdk command line containing the second -march parameter.

[yocto] [meta-cgl][PATCH] kernel: Fix config warning for CONFIG_I2C_ALGOBIT

2017-09-28 Thread zhe.he
From: He Zhe CONFIG_DRM in yocto-kernel-cache selects CONFIG_I2C_ALGOBIT as "y". Change CONFIG_I2C_ALGOBIT 00026-lm-sensors.cfg from "m" to "y" to avoid following config conflict. -- CONFIG_I2C_ALGOBIT - Config: CONFIG_I2C_ALGOBIT From: /PATH/TO/i915.cfg /PATH/TO/00026-lm

[yocto] [meta-realtime][PATCH] schedtool-dl: Fix SCHED_DEADLINE value out of range

2017-06-29 Thread zhe.he
From: He Zhe The upstream commit 3ffb479929c31cbae09de08f94f58b8f0f061d91 tries to fix this issue but it's not complete. This patch adds flags at the last necessary place. Signed-off-by: He Zhe --- recipes-tools/schedtool-dl/schedtool-dl.bb | 6 ++- ...-add-flags-to-parameters-of-sch