[OE-core] [PATCH v2 0/2] Yocto Bug #6945

2015-07-21 Thread zhe.he
From: He Zhe - To support building packaging and installing multi types of kernel images, such as zImage uImage, at one time define KERNEL_IMAGETYPE as a list. - Modify wherever reference KERNEL_IMAGETYPE accordingly. - Pass mkimage in sysroot to kernel makefile by NATIVE_MKIMAGE to avoi

[OE-core] [PATCH v2 1/2] kernel: Define KERNEL_IMAGETYPE as a list

2015-07-21 Thread zhe.he
From: He Zhe To support building packaging and installing multi types of kernel images, such as zImage uImage, at one time define KERNEL_IMAGETYPE as a list. Modify wherever reference KERNEL_IMAGETYPE accordingly. Fixes [YOCTO #6945]. Signed-off-by: He Zhe --- meta/classes/image_types.bbclass

[OE-core] [PATCH v2 2/2] kernel: Pass sysroot mkimage to kernel makefile

2015-07-21 Thread zhe.he
From: He Zhe Pass mkimage in sysroot to kernel makefile by NATIVE_MKIMAGE to avoid depending on build machine's when KEEPUIMAGE is "yes". Fixes [YOCTO #6945]. Signed-off-by: He Zhe --- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes

[OE-core] [PATCH v3 1/1] kernel: Add KERNEL_IMAGETYPES to build multi types of kernel at one time

2015-08-04 Thread zhe.he
From: He Zhe Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. KERNEL_IMAGETYPE works as it did. Fixes [YOCTO #6945]. Signed-off-by: He Zhe --- meta/classes/kernel-fitimage.bbclass| 21 +++--- meta/classes

[OE-core] [PATCH v3 0/1] Yocto Bug #6945

2015-08-04 Thread zhe.he
From: He Zhe - Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. - KERNEL_IMAGETYPE works as it did. - v2: Update with the latest oe-core - v3: Add KERNEL_IMAGETYPES, leave KERNEL_IMAGETYPE as is. Thank Richar

[OE-core] [PATCH v4 1/1] kernel: Add KERNEL_IMAGETYPES to build multi types of kernel at one time

2015-08-10 Thread zhe.he
From: He Zhe Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. KERNEL_IMAGETYPE works as it did. Fixes [YOCTO #6945]. Signed-off-by: He Zhe --- meta/classes/kernel-fitimage.bbclass| 21 +++--- meta/classes

[OE-core] [PATCH v4 0/1] Yocto Bug #6945

2015-08-10 Thread zhe.he
From: He Zhe - Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. - KERNEL_IMAGETYPE works as it did. - v2: Update with the latest oe-core - v3: Add KERNEL_IMAGETYPES, leave KERNEL_IMAGETYPE as is - v4: Turn pa

[OE-core] [PATCH 0/1] kernel: Correct mishandling of linux.bin for building uImage

2015-08-11 Thread zhe.he
From: He Zhe The following changes since commit a16e0b4014173af46ef80d643bb71055219b0dab: bitbake: toaster: reduced amount of instance attributes (2015-08-10 13:58:02 -0700) are available in the git repository at: git://git.yoctoproject.org/poky-contrib zhe/kernel-uboot http://git.yoct

[OE-core] [PATCH 1/1] kernel: Correct mishandling of linux.bin for building uImage

2015-08-11 Thread zhe.he
From: He Zhe Building uImage fails when KEEPUIMAGE is not "yes". Remove wrong removal of linux.bin before compressing it. Signed-off-by: He Zhe --- meta/classes/kernel-uboot.bbclass | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboo

[OE-core] [PATCH 0/1] meta-yocto-bsp: mpc8315e-rdb: Set KERNEL_DEVICETREE to mpc8315erdb.dtb

2015-08-11 Thread zhe.he
From: He Zhe The following changes since commit a16e0b4014173af46ef80d643bb71055219b0dab: bitbake: toaster: reduced amount of instance attributes (2015-08-10 13:58:02 -0700) are available in the git repository at: git://git.yoctoproject.org/poky-contrib zhe/kernel_devicetree http://git

[OE-core] [PATCH 1/1] meta-yocto-bsp: mpc8315e-rdb: Set KERNEL_DEVICETREE to mpc8315erdb.dtb

2015-08-11 Thread zhe.he
From: He Zhe To avoid warning of "xxx contains the full path to the the dts file, but only the dtb name should be used.", Set KERNEL_DEVICETREE to mpc8315erdb.dtb Signed-off-by: He Zhe --- meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCH v5 1/1] kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time

2015-11-09 Thread zhe.he
From: He Zhe Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. KERNEL_IMAGETYPE works as it did. Fixes [YOCTO #6945]. Signed-off-by: He Zhe --- meta/classes/kernel-fitimage.bbclass| 21 +++-- meta/classes/

[OE-core] [PATCH v5 0/1] Yocto Bug #6945

2015-11-09 Thread zhe.he
From: He Zhe This patch has been discussed previously and modified according to Richard's suggestions, and adjusted against the latest code context. - Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. - KERNEL_I

[OE-core] [PATCH 1/1] kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time

2016-02-17 Thread zhe.he
From: He Zhe Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. KERNEL_IMAGETYPE works as before. Fixes [YOCTO #6945]. Signed-off-by: He Zhe --- meta/classes/kernel-fitimage.bbclass| 20 ++-- meta/classes/k

[OE-core] [PATCH 0/1] Yocto Bug #6945

2016-02-17 Thread zhe.he
From: He Zhe This patch has been discussed previously and modified according to Richard's suggestions, and adjusted against the latest code context. The following changes since commit 152914f2983c5d69001de1d46ce99547fa1e75fe: oeqa/parselogs: Whitelist dmi firmware failure message in 4.4 kerne

[OE-core] [PATCH] kernel.bbclass: Create modules directory even if there is no modules installed

2014-10-21 Thread zhe.he
From: He Zhe During kernel_do_install it needs to make symbol link at ${D}/lib/modules/${KERNEL_VERSION}/build, but there will not be ${D}/lib/modules/${KERNEL_VERSION} if there is no modules installed for current image, which will result in a build failure. Add "mkdir -p ${D}/lib/modules/${KERNE

[OE-core] [PATCH v2 1/2] kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time

2016-02-19 Thread zhe.he
From: He Zhe Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. KERNEL_IMAGETYPE works as before. All KERNEL_ALT_IMAGETYPEs are replaced by KERNEL_IMAGETYPES. Fixes [YOCTO #6945]. Signed-off-by: He Zhe --- docu

[OE-core] [PATCH v2 0/2] Yocto Bug #6945

2016-02-19 Thread zhe.he
From: He Zhe v1 to v2: - Change KERNEL_OUTPUT to KERNEL_OUTPUT_DIR and update comments - Update related doc files - Replace all KERNEL_ALT_IMAGETYPEs with KERNEL_IMAGETYPES - Link built vmlinuz to boot directory for reference The following changes since commit ed20c6ca446a8788615e497bd445219

[OE-core] [PATCH v2 2/2] kernel: Make symbol link to vmlinuz in boot directory

2016-02-19 Thread zhe.he
From: He Zhe Rename do_kernel_link_vmlinux to do_kernel_link_images and make a symbol link to vmlinuz(if exists) for reference in arch/$arch/boot directory. Signed-off-by: He Zhe --- documentation/ref-manual/ref-tasks.xml| 8 meta/classes/kernel.bbclass | 13 +++

[OE-core] [PATCH v3 1/2] kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time

2016-02-24 Thread zhe.he
From: He Zhe Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE work as before. Signed-off-by: He Zhe --- meta/classes/kernel-fitimage.bbclass| 20 ++-- meta/classe

[OE-core] [PATCH v3 0/2] Yocto Bug #6945

2016-02-24 Thread zhe.he
From: He Zhe v1 to v2: - Change KERNEL_OUTPUT to KERNEL_OUTPUT_DIR and update comments - Update related doc files - Replace all KERNEL_ALT_IMAGETYPEs with KERNEL_IMAGETYPES - Link built vmlinuz to boot directory for reference v2 to v3: - Merge existing KERNEL_ALT_IMAGETYPE into KERNEL_IMAGE

[OE-core] [PATCH v3 2/2] kernel: Make symbol link to vmlinuz in boot directory

2016-02-24 Thread zhe.he
From: He Zhe Rename do_kernel_link_vmlinux to do_kernel_link_images and make a symbol link to vmlinuz(if exists) for reference in arch/$arch/boot directory. Signen-off-by: He Zhe --- meta/classes/kernel.bbclass | 13 - meta/conf/documentation.conf | 2 +-

[OE-core] [PATCH] acl: Fix re pattern in test cases

2016-03-02 Thread zhe.he
From: He Zhe ls adds a '.' at the end of the permission field list on SELinux machines, filter this out so root tests work on SELinux machines. And backport one patch for other tests. Signed-off-by: He Zhe --- meta/recipes-support/attr/acl.inc | 2 + .../acl/test-fix-insuffi

[OE-core] [PATCH v4 2/2] kernel: Make symbol link to vmlinuz in boot directory

2016-05-12 Thread zhe.he
From: He Zhe Rename do_kernel_link_vmlinux to do_kernel_link_images and make a symbol link to vmlinuz(if exists) for reference in arch/$arch/boot directory. Signen-off-by: He Zhe --- meta/classes/kernel.bbclass | 13 - meta/conf/documentation.conf | 2 +-

[OE-core] [PATCH v4 0/2] Yocto Bug #6945

2016-05-12 Thread zhe.he
From: He Zhe This has been reviewed several rounds and no more comments are provided so far. Here are the brief history. More details can be found in the previous threads. v1 to v2: - Change KERNEL_OUTPUT to KERNEL_OUTPUT_DIR and update comments - Update related doc files - Replace all KERNEL

[OE-core] [PATCH v4 1/2] kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time

2016-05-12 Thread zhe.he
From: He Zhe Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE work as before. Signed-off-by: He Zhe --- meta/classes/kernel-fitimage.bbclass| 20 ++-- meta/classe

[OE-core] [PATCH 2/2 v4] kernel: Make symbol link to vmlinuz in boot directory

2016-05-25 Thread zhe.he
From: He Zhe Rename do_kernel_link_vmlinux to do_kernel_link_images and make a symbol link to vmlinuz(if exists) for reference in arch/$arch/boot directory. Signen-off-by: He Zhe --- meta/classes/kernel.bbclass | 13 - meta/conf/documentation.conf | 2 +-

[OE-core] [PATCH 1/2 v4] kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time

2016-05-25 Thread zhe.he
From: He Zhe Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE work as before. Signed-off-by: He Zhe --- meta/classes/kernel-fitimage.bbclass| 20 ++-- meta/classe

[OE-core] [PATCH v4 0/2] Yocto Bug #6945

2016-05-25 Thread zhe.he
From: He Zhe This has been reviewed several rounds and no more comments are provided so far. Here is the brief history. More details can be found in the previous threads. Hopefully this can be merged in v2.2 m1. v1 to v2: - Change KERNEL_OUTPUT to KERNEL_OUTPUT_DIR and update comments - Updat

[OE-core] [PATCH] qemu.inc: Change kernel provider assignment to a weaker one

2018-05-22 Thread zhe.he
From: He Zhe Currently we have local.conf included before qemu.inc, and ${DISTRO}.conf after qemu.inc. They both possibly specify their expected kernel providers. To let other config files override it in real use, this commit changes kernel provider assignment to ??= . Signed-off-by: He Zhe ---

[OE-core] [PATCH] lttng-modules: Fix do_compile failure for btrfs related tracepoints

2018-07-10 Thread zhe.he
From: He Zhe Building lttng-modules with linux-yocto-dev will cause do_compile failure: lttng-modules/2.10.6-r0/lttng-modules-2.10.6/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflicting types for 'trace_btrfs_reserve_extent' void trace_##_name(_proto); ^~ The fol

[OE-core] [PATCH] ltp: Fix ftest06 too small file path string

2018-08-22 Thread zhe.he
From: He Zhe The name string is too small to contain normal full path names and causes the following failure. "ftest06 2 TFAIL : ftest06.c:223: Can't chdir(): errno=ENOENT(2): No such file or directory" Signed-off-by: He Zhe --- ...est06.c-Fix-too-small-name-string-and-rel.patch | 34

[OE-core] [PATCH] ltp: Remove unnecessary check from creat08 and open10

2018-08-28 Thread zhe.he
From: He Zhe Issue: LIN1018-1797 At the point of the following failure, the file being checked, setgid, is owned by "nobody" in the "nogroup" and tries to inherit SGID from its parent directory who is in group of "bin". This is forbidden since Linux kernel v4.18-rc4, unless current process is gi

[OE-core] [PATCH] nativesdk-bison: Add to nativesdk-packagegroup-sdk-host and set BISON_PKGDATADIR

2018-09-27 Thread zhe.he
From: He Zhe bison is needed when building kernel. Add it to nativesdk-packagegroup-sdk-host and set BISON_PKGDATADIR for bison to use its components. Signed-off-by: He Zhe --- meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 + meta/recipes-devtools/bison/bison_3.0.4.bb

[OE-core] [PATCH] nativesdk-bison: Add to nativesdk-packagegroup-sdk-host and set BISON_PKGDATADIR

2018-09-27 Thread zhe.he
From: He Zhe bison is needed when building kernel. Add it to nativesdk-packagegroup-sdk-host and set BISON_PKGDATADIR for bison to use its components. Signed-off-by: He Zhe --- meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 + meta/recipes-devtools/bison/bison_3.0.4.bb

[OE-core] [PATCH] lttng-modules: Fix build failure by syncing up with kernel 4.19

2018-10-09 Thread zhe.he
From: He Zhe linux-yocto-dev has been upreved to v4.19. This patch backports a patch from upstream to make lttng-modules sync up with linux-yocto-dev and later linux-yocto, and fix the following do_compile error. | tmp/work/qemux86_64-poky-linux/lttng-modules/2.10.7-r0/lttng-modules-2.10.7/prob

[OE-core] [PATCH] qemu: Fix pci-assign

2016-11-29 Thread zhe.he
From: He Zhe Fix iommu pci device assignment failure. "qemu-system-x86_64: -device pci-assign,host=02:00.0: No IOMMU found. Unable to assign device "(null)"" Signed-off-by: He Zhe --- ...sync-MSI-MSI-X-cap-and-table-with-PCIDevi.patch | 71 ++ meta/recipes-devtools/qemu/qe

[OE-core] [PATCH] kexec-tools: Update to 2.0.14

2016-12-21 Thread zhe.he
From: He Zhe Remove kexec-aarch64.patch since it has been merged upstream Remove kexec-x32.patch since it has been reverted upstream Backport patches for kdump arm64 from: https://git.linaro.org/people/takahiro.akashi/kexec-tools.git Signed-off-by: He Zhe --- ...nd-the-semantics-of-kexec_iomem

[OE-core] [PATCH v2 0/1] kexec-tools: Upgrade to 2.0.14

2016-12-26 Thread zhe.he
From: He Zhe Remove kexec-aarch64.patch since it has been merged upstream Remove kexec-x32.patch since it has been reverted upstream Backport patches for kdump arm64 from: https://git.linaro.org/people/takahiro.akashi/kexec-tools.git v1 to v2: Remove redundant tarball link in SRC_URI He Zhe (1)

[OE-core] [PATCH v2 1/1] kexec-tools: Upgrade to 2.0.14

2016-12-26 Thread zhe.he
From: He Zhe Remove kexec-aarch64.patch since it has been merged upstream Remove kexec-x32.patch since it has been reverted upstream Backport patches for kdump arm64 from: https://git.linaro.org/people/takahiro.akashi/kexec-tools.git Signed-off-by: He Zhe --- ...nd-the-semantics-of-kexec_iomem

[OE-core] [PATCH v3 1/1] kexec-tools: Upgrade to 2.0.14

2016-12-28 Thread zhe.he
From: He Zhe Remove kexec-aarch64.patch since it has been merged upstream Remove kexec-x32.patch since it has been reverted upstream Add patches for kdump arm64 from upstream mailing list: http://lists.infradead.org/pipermail/kexec/2016-November/017555.html Signed-off-by: He Zhe --- ...nd-the-

[OE-core] [PATCH v3 0/1] kexec-tools: Upgrade to 2.0.14

2016-12-28 Thread zhe.he
From: He Zhe v1 to v2: Remove redundant tarball link in SRC_URI v2 to v3: Address Alex's comments: Remove kexec-aarch64.patch and kexec-x32.patch files Correct Upstream-Status Regenerate patch with git's rename detection enabled He Zhe (1): kexec-tools: Upgrade to

[OE-core] [PATCH] ltp: Fix containers/userns05 failure for lib32

2017-02-07 Thread zhe.he
From: He Zhe Backport a patch to fix userns05 case: <<>> user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2 user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2 user_namespace5 0 TINFO : Child process returned TPASS user_namespace5

[OE-core] [PATCH] perl: Correct perl path for ptest

2016-08-24 Thread zhe.he
From: He Zhe Substitute /usr/local with ${bindir} Signed-off-by: He Zhe --- meta/recipes-devtools/perl/perl-ptest.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc index bf6fde6..d136c5c 100644 --- a/m

[OE-core] [PATCH] bash2dash conversion

2016-09-17 Thread zhe.he
From: "Tim K. Chan" Change bash style to dash style Signed-off-by: Tim K. Chan [Adjust context] Signed-off-by: He Zhe --- meta/classes/systemd.bbclass| 4 ++-- meta/classes/update-rc.d.bbclass| 6 +++--- meta/classes/useradd_base.bbclass

[OE-core] [PATCH v2] Remove bashisms

2016-09-22 Thread zhe.he
From: "Tim K. Chan" Signed-off-by: Tim K. Chan [ Adjust context Use Peter Kjellerstedt's simpler guile_cross_config ] Signed-off-by: He Zhe --- meta/classes/systemd.bbclass | 4 +-- meta/classes/update-rc.d.bbclass | 6 ++-- .../resolvconf/resolvconf_1

[OE-core] [PATCH] guile: Remove bashisms

2016-09-25 Thread zhe.he
From: He Zhe Remove bashisms from do_populate_sysroot task Signed-off-by: Peter Kjellerstedt Signed-off-by: He Zhe --- meta/recipes-devtools/guile/guile_2.0.12.bb | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/meta/recipes-devtools/guile/gu

[OE-core] [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

[OE-core] [PATCH] kernel: Add paravirt_kvm support for qemux86-64

2018-01-04 Thread zhe.he
From: He Zhe This feature includes paravirtualized KVM guest support. Signed-off-by: He Zhe --- meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb b/meta/recipes-kernel/linux/lin

[OE-core] [PATCH] qemux86 qemux86-64: Enable pci

2017-07-31 Thread zhe.he
From: He Zhe lspci and some other software require "pci" in MACHINE_FEATURES and PCI is valid in the qemux86* context. Signed-off-by: He Zhe --- meta/conf/machine/qemux86-64.conf | 2 +- meta/conf/machine/qemux86.conf| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/me

[OE-core] [PATCH] qemu: apic: fallthrough to PIC

2017-08-09 Thread zhe.he
From: He Zhe Backport a commit from qemu upstream to fix a protection fault https://lists.gnu.org/archive/html/qemu-devel/2013-04/msg00878.html Signed-off-by: He Zhe --- .../qemu/qemu/apic-fixup-fallthrough-to-PIC.patch | 46 ++ meta/recipes-devtools/qemu/qemu_2.8.1.1.bb

[OE-core] [PATCH] kernel: Fix QA buildpaths warning for kernel modules

2018-02-04 Thread zhe.he
From: He Zhe CFLAGS is unset during kernel_do_compile and thus the default build path substitutions in DEBUG_PREFIX_MAP are missing. To enhance reproducible build for kernel modules, such as lttng-modules and cryptodev-module, this patch appends them, plus substitution of STAGING_KERNEL_DIR, to

[OE-core] [oe-core][PATCH 1/2] ltp: Fix tgkill03 failure

2019-08-19 Thread zhe.he
From: He Zhe Backport a patch to fix the followig failure. tgkill03.c:94: FAIL: Defunct tid should have failed with ESRCH: SUCCESS Signed-off-by: He Zhe --- ...kill03-wait-for-defunct-tid-to-get-detach.patch | 75 ++ meta/recipes-extended/ltp/ltp_20190517.bb | 1 +

[OE-core] [oe-core][PATCH 2/2] ltp: Fix ustat02 failure

2019-08-19 Thread zhe.he
From: He Zhe Backport a patch to fix the following failure. ustat02.c:44: FAIL: ustat(2) failed to produce expected error; 14, errno: EFAULT: EINVAL Signed-off-by: He Zhe --- ...02-Fix-EFAULT-in-32bit-compatibility-mode.patch | 36 ++ meta/recipes-extended/ltp/ltp_20190517

[OE-core] [oe-core] [PATCH] ltp: syscalls: rt_sigwaitinfo01: Fix failure for MIPS arches

2019-08-23 Thread zhe.he
From: He Zhe Add a patch to fix the following failure. rt_sigtimedwait011 TFAIL : .../sigwaitinfo01.c:58: test_empty_set (.../sigwaitinfo01.c: 148): Unexpected failure: TEST_ERRNO=EINVAL(22): Invalid argument Signed-off-by: He Zhe --- ..._sigwaitinfo01-Fix-failure-for-MIPS-arche.patch |

[OE-core] [PATCH] ltp: cve/meltdown.c: Fix kernel symbol finding

2019-08-26 Thread zhe.he
From: He Zhe Backport a patch to fix the following error. safe_file_ops.c:219: BROK: Expected 3 conversions got 2 at meltdown.c:272 Signed-off-by: He Zhe --- ...-cve-meltdown.c-Fix-kernel-symbol-finding.patch | 83 ++ meta/recipes-extended/ltp/ltp_20190517.bb | 1

[OE-core] [PATCH] qemu: Fix build failure with packageconfig libcurl

2019-08-27 Thread zhe.he
From: He Zhe ERROR: Nothing PROVIDES 'libcurl' (but /build/layers/oe-core/meta/recipes-kernel/perf/perf.bb DEPENDS on or otherwise requires it). The name of build dependency of packageconfig libcurl should be curl. Signed-off-by: He Zhe --- meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file c

[OE-core] [PATCH v2] ltp: cve/meltdown.c: Fix kernel symbol finding

2019-08-27 Thread zhe.he
From: He Zhe Backport a patch to fix the following error. safe_file_ops.c:219: BROK: Expected 3 conversions got 2 at meltdown.c:272 Signed-off-by: He Zhe --- v2: Adjust context based on top of ltp in oe-core ...-cve-meltdown.c-Fix-kernel-symbol-finding.patch | 81 ++ meta/

[OE-core] [PATCH 1/2] qemu: Add pkg-config handling for libgcrypt

2019-08-29 Thread zhe.he
From: He Zhe When PACKAGECONFIG libgcrypt is enabled, we would get the following error. ERROR: /usr/bin/libgcrypt-config should not be used, use an alternative such as pkg-config In oe-core, libgcrypt has been turned to be configured with pkg-config instead of libgcrypt-config, but qemu config

[OE-core] [PATCH 2/2] qemu: Fix dependency of PACKAGECONFIG libcurl

2019-08-29 Thread zhe.he
From: He Zhe When PACKAGECONFIG libcurl is enabled, we would get the following build failure. ERROR: Nothing PROVIDES 'libcurl' (but perf.bb DEPENDS on or otherwise requires it). Close matches: The dependency should be curl. Signed-off-by: He Zhe --- meta/recipes-devtools/qemu/qemu.inc | 2 +

[OE-core] [PATCH] lttng: babeltrace: Fix negative clock offset

2019-09-02 Thread zhe.he
From: He Zhe Backport a patch to fix negative clock offset with the following errors, when when using lttng to view traces. [error] ctf_clock_declaration_visit: unexpected unary expression for clock offset [error] ctf_visitor_construct_metadata: clock declaration error [error] Error in CTF metad

[OE-core] [PATCH v2] ltp: syscalls: rt_sigwaitinfo01: Fix failure for MIPS arches

2019-09-03 Thread zhe.he
From: He Zhe Backport a patch to fix the following failure. rt_sigtimedwait011 TFAIL : .../sigwaitinfo01.c:58: test_empty_set (.../sigwaitinfo01.c: 148): Unexpected failure: TEST_ERRNO=EINVAL(22): Invalid argument Signed-off-by: He Zhe --- v2: Rebase ...sigtimedwait01-Fix-wrong-sigset-

[OE-core] [PATCH] ltp: Fix hang of cve test cases

2019-09-29 Thread zhe.he
From: He Zhe Backport a patch to the fix possible hang caused by the case of cve-2017-17052. Signed-off-by: He Zhe --- ...-2017-17052-Avoid-unsafe-exits-in-threads.patch | 62 ++ meta/recipes-extended/ltp/ltp_20190517.bb | 1 + 2 files changed, 63 insertions(+) c

[OE-core] [PATCH v2] ltp: Fix hang of cve test cases

2019-09-29 Thread zhe.he
From: He Zhe Backport a patch to the fix possible hang caused by the case of CVE-2017-17052. CVE: CVE-2017-17052 Signed-off-by: He Zhe --- ...-2017-17052-Avoid-unsafe-exits-in-threads.patch | 62 ++ meta/recipes-extended/ltp/ltp_20190517.bb | 1 + 2 files changed

[OE-core] [PATCH v3] ltp: Fix hang of cve test cases

2019-09-29 Thread zhe.he
From: He Zhe Backport a patch to the fix possible hang caused by the case of CVE-2017-17052. CVE: CVE-2017-17052 Signed-off-by: He Zhe --- ...-2017-17052-Avoid-unsafe-exits-in-threads.patch | 64 ++ meta/recipes-extended/ltp/ltp_20190517.bb | 1 + 2 files changed

[OE-core] [PATCH] ltp: Fix setrlimit03 call succeeded unexpectedly

2019-04-19 Thread zhe.he
From: He Zhe Backport a patch from upstream to fix the following error. "setrlimit03.c:54: FAIL: call succeeded unexpectedly" Signed-off-by: He Zhe --- ...trlimit03.c-read-proc-sys-fs-nr_open-for-.patch | 66 ++ meta/recipes-extended/ltp/ltp_20190115.bb | 1 + 2 f

[OE-core] [PATCH v2] ltp: Fix setrlimit03 call succeeded unexpectedly

2019-04-19 Thread zhe.he
From: He Zhe Backport a patch from upstream to fix the following error. "setrlimit03.c:54: FAIL: call succeeded unexpectedly" Signed-off-by: He Zhe --- ...trlimit03.c-read-proc-sys-fs-nr_open-for-.patch | 67 ++ meta/recipes-extended/ltp/ltp_20190115.bb | 1 + 2 f

[OE-core] [PATCH v3] ltp: Fix setrlimit03 call succeeded unexpectedly

2019-04-19 Thread zhe.he
From: He Zhe Backport a patch from upstream to fix the following error. "setrlimit03.c:54: FAIL: call succeeded unexpectedly" Signed-off-by: He Zhe --- v1 to v3: Add Upstream-Status and Signed-off-by ...trlimit03.c-read-proc-sys-fs-nr_open-for-.patch | 70 ++ meta/recipes-

[OE-core] [PATCH] ltp: file01: Fix in was not recognized

2019-04-22 Thread zhe.he
From: He Zhe Some file has "pie" appending after LSB or MSB, which causes mismatch and the following error. "file01 10 TFAIL: in: was not recognized" ..."ELF 64-bit LSB pie executable"... This patches tunes the regulation expression to include those cases. Upstream-Status: Submitted [http://l

[OE-core] [PATCH v2] ltp: file01: Fix in was not recognized

2019-04-22 Thread zhe.he
From: He Zhe Some file has "pie" appending after LSB or MSB, which causes mismatch and the following error. "file01 10 TFAIL: in: was not recognized" ..."ELF 64-bit LSB pie executable"... This patches tunes the regulation expression to include those cases. Signed-off-by: He Zhe --- v1 to v2:

[OE-core] [PATCH] scripts: Use fixed temporary file instead of pipe for here-doc

2018-11-21 Thread zhe.he
From: He Zhe A workaround for possible "*** Compiler lacks asm-goto support.. Stop." linux-libc-headers is built by gcc on build machine, which could not contain the fix. Signed-off-by: He Zhe --- ...-fixed-temporary-file-instead-of-pipe-for.patch | 60 ++ .../linux-libc-he

[OE-core] [PATCH v2] linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe for here-doc

2018-11-21 Thread zhe.he
From: He Zhe This is a workaround for the following possible build failure. *** Compiler lacks asm-goto support.. Stop. When building linux-libc-headers we need to use binutils on build machine. binutils v2.31 introduces a bug that could cause scripts/gcc-goto.sh to fail when running in an envi

[OE-core] [PATCH v3] linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe for here-doc

2018-11-21 Thread zhe.he
From: He Zhe This is a workaround for the following possible build failure. *** Compiler lacks asm-goto support.. Stop. When building linux-libc-headers we need to use binutils on build machine. binutils v2.31 introduces a bug that could cause scripts/gcc-goto.sh to fail when running in an envi

[OE-core] [PATCH v4] linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe

2018-11-21 Thread zhe.he
From: He Zhe This is a workaround for the following possible build failure. *** Compiler lacks asm-goto support.. Stop. When building linux-libc-headers we need to use binutils on build machine. binutils v2.31 introduces a bug that could cause scripts/gcc-goto.sh to fail when running in an envi

[OE-core] [PATCH] ltp: Fix nm01 faliure

2020-01-18 Thread zhe.he
From: He Zhe Backport a patch from upstream to fix the following runtime failure. The latest nm v2.33.1 outputs symbols addresses without prefix zeros for "nm -f posix", which causes the following error. nm01 5 TFAIL: Got wrong format with -f bsd (From OE-Core rev: 59cb0dd9f8e65b2d398fcaf4d163c

[OE-core] [PATCH] ltp: Fix nm01 faliure

2020-01-19 Thread zhe.he
From: He Zhe Backport a patch from upstream to fix the following runtime failure. The latest nm v2.33.1 outputs symbols addresses without prefix zeros for "nm -f posix", which causes the following error. nm01 5 TFAIL: Got wrong format with -f bsd Signed-off-by: He Zhe --- ...ix-zeros-of-the-a

[OE-core] [PATCH] lttng-modules: update to 2.11.1

2020-02-02 Thread zhe.he
From: He Zhe Fix build failure with kernel v5.5. Remove patch as issues fixed upstream. Signed-off-by: He Zhe --- ...modules_2.11.0.bb => lttng-modules_2.11.1.bb} | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) rename meta/recipes-kernel/lttng/{lttng-modules_2.11.0.bb

[OE-core] [PATCH v2] lttng-modules: update to 2.11.1

2020-02-02 Thread zhe.he
From: He Zhe Fix build failure with kernel v5.5. Remove patches as issues fixed upstream. Signed-off-by: He Zhe --- ...ops-when-trace-sunrpc_task-events-in.patch | 94 - ...rpc_clnt-dereference-in-rpc_task_que.patch | 44 -- ...rpc-use-signed-integer-for-client-id.patch | 105

[OE-core] [PATCH] lttng-modules: update to 2.11.1

2020-02-03 Thread zhe.he
From: He Zhe Fix build failure with kernel v5.5. Remove patch as issues fixed upstream. Signed-off-by: He Zhe --- ...modules_2.11.0.bb => lttng-modules_2.11.1.bb} | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) rename meta/recipes-kernel/lttng/{lttng-modules_2.11.0.bb

[OE-core] [PATCH] lttng-modules: update to 2.11.1

2020-02-03 Thread zhe.he
From: He Zhe Fix build failure with kernel v5.5. Remove patch as issues fixed upstream. Signed-off-by: He Zhe --- ...modules_2.11.0.bb => lttng-modules_2.11.1.bb} | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) rename meta/recipes-kernel/lttng/{lttng-modules_2.11.0.bb

[OE-core] [PATCH] cryptodev-module: Fix build failure with kernel v5.5

2020-02-10 Thread zhe.he
From: He Zhe Backport from upstream to fix the following build failure. cryptlib.c:162:37: error: 'crypto_ablkcipher_type' undeclared (first use in this function); did you mean 'crypto_skcipher_tfm'? 162 | if ((tfm->__crt_alg->cra_type == &crypto_ablkcipher_type) |

[OE-core] [PATCH] linux-yocto-dev: Add paravirt_kvm support for qemux86-64

2020-02-11 Thread zhe.he
From: He Zhe This feature includes paravirtualized KVM guest support, including KVMCLOCK for enhancing clock accuracy of guest OS. With it we can prevent the following error. "clocksource: timekeeping watchdog on CPU3: Marking clocksource 'tsc' as unstable because the skew is too large" Signed-

[OE-core] [PATCH] perf: Correct the substitution of python shebangs

2020-02-13 Thread zhe.he
From: He Zhe To make the native python3 are always used, - Move the substitution of /usr/bin/python3 to first, otherwise the possible original /usr/bin/python3 would be changed to /usr/bin/env python33. - Add substitution for ${S}/scripts/ Signed-off-by: He Zhe --- meta/recipes-kernel/per

[OE-core] [PATCH v2] perf: Correct the substitution of python shebangs

2020-02-13 Thread zhe.he
From: He Zhe To make the native python3 is always used, - Move the substitution of /usr/bin/python3 to first, otherwise the possible original /usr/bin/python3 would be changed to /usr/bin/env python33. - Add substitution for ${S}/scripts/bpf_helpers_doc.py to fix the following warning. Fi

[OE-core] [PATCH v3] perf: Correct the substitution of python shebangs

2020-02-13 Thread zhe.he
From: He Zhe To make the native python3 is always used, - Use sed one-liner instead - Add substitution for ${S}/scripts/bpf_helpers_doc.py to fix the following warning. File "/usr/lib/python3.6/sysconfig.py", line 421, in _init_posix _temp = __import__(name, globals(), locals(), ['build_time_

[OE-core] [PATCH] lttng-modules: Work around yocto bug 13424

2020-02-16 Thread zhe.he
From: He Zhe Before Yocto bug 13424 is fixed, devupstream cannot work with multilib. To provide git based lttng-modules recipe for latest source code, let's just include tarball based recipe and overwrite related variables. Signed-off-by: He Zhe --- meta/recipes-kernel/lttng/lttng-modules_2.11

[OE-core] [PATCH v4] perf: Correct the substitution of python shebangs

2020-02-21 Thread zhe.he
From: He Zhe To make the native python3 always used, - Use sed one-liner instead - Add substitution for ${S}/scripts/bpf_helpers_doc.py to fix the following warning. File "/usr/lib/python3.6/sysconfig.py", line 421, in _init_posix _temp = __import__(name, globals(), locals(), ['build_time_var

[OE-core] Review request 0/1: LIN1019-1252 run 'shutdown -P now' on vm and shutdown failed

2019-05-09 Thread zhe.he
From: zhe...@windriver.com Mon Sep 17 00:00:00 2001 Summary: LIN1019-1252 run 'shutdown -P now' on vm and shutdown failed Tech Review: Qi Chen Gatekeeper: Robert Lockdown Approval (if needed): Branch Tag: wr-10.19-20190505 IP Statement (form link or license statement, usually automated): Crypto

[OE-core] [PATCH] systemd: Bump up SRCREV to systemd-stable top to include the fix for shutdown now hang

2019-05-09 Thread zhe.he
From: He Zhe "shutdown now" makes systemd hang at the following line. [ OK ] Stopped Session c1 of user root. It's already been fixed by 03cb25525423 ("socket-util: make sure flush_accept() doesn't hang on unexpected EOPNOTSUPP") Signed-off-by: He Zhe --- meta/recipes-core/systemd/systemd.

[OE-core] [PATCH] lttng-modules: Backport patches to fix compilation failures since kernel v5.1

2019-06-11 Thread zhe.he
From: He Zhe For the moment, 0001~0004 are on master branch only. 0005~0007 are on stable-2.11 branch, but v2.11 has not been released yet. Signed-off-by: He Zhe --- ...ove-wrapper-definitions-for-obsolete-RCU..patch | 47 ...ix-timer-trace-Improve-timer-tracing-v5.2.patch | 80 +++

[OE-core] [PATCH v2] lttng-modules: Backport patches to fix compilation failures since kernel v5.1

2019-06-11 Thread zhe.he
From: He Zhe For the moment, 0001~0004 are on master branch only. 0005~0007 are on stable-2.11 branch, but v2.11 has not been released yet. Signed-off-by: He Zhe --- v2: Correct a typo in SOB for 0001*.patch ...ove-wrapper-definitions-for-obsolete-RCU..patch | 47 ...ix-timer-trace-Impr

[OE-core] [PATCH] lttng-modules: Add git based recipe

2019-06-12 Thread zhe.he
From: He Zhe This is based on meta/recipes-kernel/lttng/lttng-modules_2.10.9.bb and is for those who want to build lttng-modules with bleeding edge kernel, to avoid regularly backporting patches from upstream. Note that PREFERRED_VERSION needs to be set to select this recipe instead of the tar b

[OE-core] [PATCH v3] lttng-modules: Add git based recipe

2019-06-12 Thread zhe.he
From: He Zhe The git based recipe is for those who want to build lttng-modules with bleeding edge kernel, to avoid regularly backporting patches from upstream. Note that PREFERRED_VERSION needs to be set to select the git recipe instead of the tar ball one. Signed-off-by: He Zhe --- v2: Correc

[OE-core] [PATCH v4] lttng-modules: Add git based recipe

2019-06-17 Thread zhe.he
From: He Zhe The git based recipe is for those who want to build lttng-modules with bleeding edge kernel, to avoid regularly backporting patches from upstream. Note that PREFERRED_VERSION needs to be set to select the git recipe instead of the tar ball one. Signed-off-by: He Zhe --- v2: Correc

[OE-core] [PATCH] kernel: qemuarmv5: Update machine overrides of KERNEL_DEVICETREE

2019-06-18 Thread zhe.he
From: He Zhe The original BSP qemuarm has been renamed to qemuarmv5. Update the machine overrides accordingly to avoid not generating dtb. Signed-off-by: He Zhe --- meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +- meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb | 2 +- meta/recipe

[OE-core] [PATCH] ltp: Fix overcommit_memory failure

2019-10-29 Thread zhe.he
From: He Zhe Backport a patch from upstream to fix the following runtime failure. mem.c:814: INFO: set overcommit_memory to 0 overcommit_memory.c:213: FAIL: alloc passed, expected to fail Signed-off-by: He Zhe --- ...memory-update-for-mm-fix-false-positive-O.patch | 57 ++

[OE-core] [PATCH] linux-dummy: Add package kernel

2019-10-31 Thread zhe.he
From: He Zhe Some package like packagegroup-core-boot may ask for package kernel. Let linux-dummy rprovide package kernel to fix the following build failure. ERROR: Nothing RPROVIDES 'kernel' (but .../meta/recipes-core/packagegroups/packagegroup-core-boot.bb RDEPENDS on or otherwise requires it)

[OE-core] [PATCH] nm01: Remove prefix zeros of the addresses output by nm before comparing

2020-01-06 Thread zhe.he
From: He Zhe The latest nm v2.33.1 outputs symbols addresses without prefix zeros for "nm -f posix", which causes the following error. nm01 5 TFAIL: Got wrong format with -f bsd Backport a patch to fix it. Signed-off-by: He Zhe --- ...ix-zeros-of-the-addresses-output-by-.patch | 43 ++

[OE-core] [PATCH v2] ltp: nm01: Remove prefix zeros of the addresses output by nm before comparing

2020-01-06 Thread zhe.he
From: He Zhe The latest nm v2.33.1 outputs symbols addresses without prefix zeros for "nm -f posix", which causes the following error. nm01 5 TFAIL: Got wrong format with -f bsd Backport a patch to fix it. Signed-off-by: He Zhe --- v2: Add ltp prefix to the patch title ...-prefix-zeros-of-th