summaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2020-08-19stress-ng: upgrade 0.11.17 -> 0.11.18Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19sqlite3: upgrade 3.32.3 -> 3.33.0Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19harfbuzz: upgrade 2.6.8 -> 2.7.1Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19alsa-ucm-conf: use ${datadir} in do_install()Mikko Rapeli
Fixes build with custom directory structure. Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19alsa-topology-conf: use ${datadir} in do_install()Mikko Rapeli
Fixes build with custom directory structure. Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19libffi: fix multilib header conflictChangqing Li
fix error: file /usr/include/ffitarget.h conflicts between attempted installs of lib32-libffi-dev-3.3-r0.armv7vet2hf_vfp and libffi-dev-3.3-r0.cortexa57 part of diff #ifndef LIBFFI_ASM -typedef unsigned long ffi_arg; -typedef signed long ffi_sarg; - -typedef enum ffi_abi { - FFI_FIRST_ABI = 0, - FFI_SYSV, - FFI_VFP, - FFI_LAST_ABI, -#if defined(__ARM_PCS_VFP) || defined(_M_ARM) - FFI_DEFAULT_ABI = FFI_VFP, +#ifdef __ILP32__ +#define FFI_SIZEOF_ARG 8 +#define FFI_SIZEOF_JAVA_RAW 4 +typedef unsigned long long ffi_arg; +typedef signed long long ffi_sarg; +#elif defined(_M_ARM64) +#define FFI_SIZEOF_ARG 8 +typedef unsigned long long ffi_arg; +typedef signed long long ffi_sarg; #else - FFI_DEFAULT_ABI = FFI_SYSV, -#endif -} ffi_abi; +typedef unsigned long ffi_arg; +typedef signed long ffi_sarg; #endif -#define FFI_EXTRA_CIF_FIELDS \ - int vfp_used; \ - unsigned short vfp_reg_free, vfp_nargs; \ - signed char vfp_args[16] \ - -#define FFI_TARGET_SPECIFIC_VARIADIC -#ifndef _M_ARM -#define FFI_TARGET_HAS_COMPLEX_TYPE +typedef enum ffi_abi + { + FFI_FIRST_ABI = 0, + FFI_SYSV, + FFI_LAST_ABI, + FFI_DEFAULT_ABI = FFI_SYSV + } ffi_abi; #endif /* ---- Definitions for closures ----------------------------------------- */ #define FFI_CLOSURES 1 -#define FFI_GO_CLOSURES 1 #define FFI_NATIVE_RAW_API 0 #if defined (FFI_EXEC_TRAMPOLINE_TABLE) && FFI_EXEC_TRAMPOLINE_TABLE #ifdef __MACH__ -#define FFI_TRAMPOLINE_SIZE 12 -#define FFI_TRAMPOLINE_CLOSURE_OFFSET 8 +#define FFI_TRAMPOLINE_SIZE 16 +#define FFI_TRAMPOLINE_CLOSURE_OFFSET 16 #else #error "No trampoline table implementation" #endif #else -#ifdef _MSC_VER -#define FFI_TRAMPOLINE_SIZE 16 -#define FFI_TRAMPOLINE_CLOSURE_FUNCTION 12 -#else -#define FFI_TRAMPOLINE_SIZE 12 -#endif +#define FFI_TRAMPOLINE_SIZE 24 #define FFI_TRAMPOLINE_CLOSURE_OFFSET FFI_TRAMPOLINE_SIZE #endif +#ifdef _M_ARM64 +#define FFI_EXTRA_CIF_FIELDS unsigned is_variadic +#endif + Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18libubootenv: uprev to v0.3Ming Liu
Update libubootenv to the latest 0.3 release, which comprises the following commits: ``` 1efed83 Increase max length for device name 6f4fc1c uboot_env: Use canonicalized pathname when reading device 23b3086 Fix bug introduced by commit 52a70114 ed1a53e Dont store to device if no value changes 4a0a466 Merge pull request #7 from TomzBench/cmake-fix 6117831 Added Coverity badge 49372a1 Fix coverity #293496 69a6819 Fix coverity #293503 and #293507 258bf52 Fix coverity #293501 aa52e61 Fix coverity #293505 52a7011 Fix coverity #293504 and #293506 e822218 Fix coverity #293495 and #293497 23b305f Fix coverity #293499 25ef1f6 Add coverity setup for Travis 41b5188 fixed install for static target, fixed BUILD_DOC acknowledgement 86bd30a Restore ability to feed script file via stdin, using `-s -`. c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP f4b9cde Allow negative offsets 45bf92a Detect sector size if not found in config 9f59db6 uboot_env: remove unused variables 65d243e README: libubootenv is now in oe-core ba952d0 BUG: variable lists not released in close() 690f868 Variables are not removed when loading from file 9e3586a Make sure there's no file descriptor leakage in case of error 03647c4 Check config file defines a non-zero Sector size 3b2d4f1 Check environment size from fw_env.config 879c073 Do not hardcode path for install d9c639b libubootenv: add pkg-config support cc628ee libuboot: wrap libuboot in extern "C" for C++ ``` Also add u-boot-default-env to RRECOMMENDS since /etc/u-boot-initial-env is being referred in libubootenv source, and turns libubootenv's PACKAGE_ARCH to be MACHINE_ARCH since u-boot-default-env is a machine-arch package. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18multilib.conf: add u-boot to NON_MULTILIB_RECIPESMing Liu
u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18conf/machine: set UBOOT_MACHINE for qemumips and qemumips64Ming Liu
These machines support booting U-Boot, so set the machine appropriately. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18localedef: Update to include floatn.h fixKhem Raj
Currently localedef-native build fails on older hosts which have glibc headers without floatn.h this patch created a local file to avoid this dependency [YOCTO #14004] Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Denys Dmytriyenko <denys@ti.com> Cc: Philip Balister <philip@balister.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18buildgalculator: Patch to fix build with -fno-commonKhem Raj
We need to apply a patch to galculator for it to build with gcc-10+ Remove double definition of 'prefs' variable Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18buildcpio.py: Apply patch to fix build with -fno-commonKhem Raj
This sed expression implements the needed patch to fix compilation with -fno-common, hopefully this patch will get included in 2.14 release and we can remove this operation Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18linux-yocto/5.4: perf cs-etm: Move definition of 'traceid_list' global ↵Bruce Ashfield
variable from header file Integrating the following commit(s) to linux-yocto/5.4: 706efec4c1e2 perf cs-etm: Move definition of 'traceid_list' global variable from header file Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18linux-yocto/5.4: update to v5.4.58Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: cad17feaf0d0 Linux 5.4.58 512570b17807 nfsd: Fix NFSv4 READ on RDMA when using readv df6aeb5235e9 ima: move APPRAISE_BOOTPARAM dependency on ARCH_POLICY to runtime fb264505b395 tcp: apply a floor of 1 for RTT samples from TCP timestamps 848e15a8c8f6 selftests/net: relax cpu affinity requirement in msg_zerocopy test b8f2d34f6bb5 Revert "vxlan: fix tos value before xmit" daff7f09f341 openvswitch: Prevent kernel-infoleak in ovs_ct_put_key() ba729a97ae54 net: thunderx: use spin_lock_bh in nicvf_set_rx_mode_task() 786a9368be8c net: gre: recompute gre csum for sctp over gre tunnels 5d791d36a49b hv_netvsc: do not use VF device if link is down 3a82f4bfd20a dpaa2-eth: Fix passing zero to 'PTR_ERR' warning 5a963aa72107 appletalk: Fix atalk_proc_init() return path 3787b5a3ac67 net: lan78xx: replace bogus endpoint lookup 31489ed8c20c vxlan: Ensure FDB dump is performed under RCU 106b415d5139 rxrpc: Fix race between recvmsg and sendmsg on immediate call failure 6f9354702ca5 net: ethernet: mtk_eth_soc: fix MTU warnings bd68177f26e4 ipv6: Fix nexthop refcnt leak when creating ipv6 route info 89c12bc36262 ipv6: fix memory leaks on IPV6_ADDRFORM path 9b37a7bcdd8a ipv4: Silence suspicious RCU usage warning 4913f71e64ab PCI: tegra: Revert tegra124 raw_violation_fixup ceff42e6c1fc Revert "powerpc/kasan: Fix shadow pages allocation failure" 11e64146dc69 xattr: break delegations in {set,remove}xattr 6059000e145f Drivers: hv: vmbus: Ignore CHANNELMSG_TL_CONNECT_RESULT(23) 3429579045f1 tools lib traceevent: Fix memory leak in process_dynamic_array_len 414f10532c14 atm: fix atm_dev refcnt leaks in atmtcp_remove_persistent 5414f27048e5 igb: reinit_locked() should be called with rtnl_lock 7c8a863ba3cb cfg80211: check vendor command doit pointer before use 83ea63708a29 firmware: Fix a reference count leak. 01fdcb848611 ALSA: hda: fix NULL pointer dereference during suspend eb96e4f71f59 net: ethernet: mtk_eth_soc: Always call mtk_gmac0_rgmii_adjust() for mt7623 fd601f38f59d usb: hso: check for return value in hso_serial_common_create() 871b5a5a3be9 i2c: slave: add sanity check when unregistering fa0195d83a49 i2c: slave: improve sanity check when registering 4bba72b72c36 drm/drm_fb_helper: fix fbdev with sparc64 8e6af828a332 nvme-pci: prevent SK hynix PC400 from using Write Zeroes command 802df1e3f40c drm/nouveau/fbcon: zero-initialise the mode_cmd2 structure 5955ccb5a46d drm/nouveau/fbcon: fix module unload when fbcon init has failed for some reason e0c47a51fc62 net/9p: validate fds in p9_fd_open fe6402e0e66c leds: 88pm860x: fix use-after-free on unbind 3564cddefb5b leds: lm3533: fix use-after-free on unbind 385c1ae9ddb9 leds: da903x: fix use-after-free on unbind bde8f23c030c leds: lm36274: fix use-after-free on unbind 635f8fcc2ee3 leds: wm831x-status: fix use-after-free on unbind 9a53e8bd59d9 mtd: properly check all write ioctls for permissions 8c3215a0426c vgacon: Fix for missing check in scrollback handling 1ae21e97d5d3 scripts: add dummy report mode to add_namespace.cocci 5f5fb7cea828 Smack: fix use-after-free in smk_write_relabel_self() c5665cafbedd binder: Prevent context manager from incrementing ref 0 da47eae4e165 omapfb: dss: Fix max fclk divider for omap36xx b78763e0a247 Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_with_rssi_evt() 70d1e884edc4 Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt() c26eaaf547b7 Bluetooth: Fix slab-out-of-bounds read in hci_extended_inquiry_result_evt() a8b8b535c588 Staging: rtl8188eu: rtw_mlme: Fix uninitialized variable authmode af707d9d7f44 staging: rtl8712: handle firmware load failure 6a7626c4798d staging: android: ashmem: Fix lockdep warning for write operation 4d81a7bdd3b2 ALSA: seq: oss: Serialize ioctls 3ebdc7b61906 ALSA: hda/ca0132 - Fix AE-5 microphone selection commands. b8ce0756b312 ALSA: hda/ca0132 - Fix ZxR Headphone gain control get value. 87775770635a ALSA: hda/ca0132 - Add new quirk ID for Recon3D. 1d05ad79e1dd ALSA: hda/realtek: Add alc269/alc662 pin-tables for Loongson-3 laptops 864468a7a63b Revert "ALSA: hda: call runtime_allow() for all hda controllers" e8053c68337e io_uring: Fix use-after-free in io_sq_wq_submit_work() a4d61e66ee4a io_uring: prevent re-read of sqe->opcode 67afa25456d0 usb: xhci: Fix ASMedia ASM1142 DMA addressing e7ad225ba4ef usb: xhci: define IDs for various ASMedia host controllers 7173ac5c07bb USB: iowarrior: fix up report size handling for some devices 68a2350376b1 perf/core: Fix endless multiplex timer aabba1b10075 USB: serial: qcserial: add EM7305 QDL product ID Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18lttng-tools: upgrade 2.12.1 -> 2.12.2Richard Purdie
Drop patch merged upstream. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18selftest/tinfoil: Increase wait event timeoutRichard Purdie
We're seeing this on the autobuilder when IO load is high. Increase the timeout to give this a better chance of working out ok since there is no particular reason we only need to wait 5s and searching for files is IO sensitive. [YOCTO #14001] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18gcc: Upgrade to 10.2.0Khem Raj
Drop 0036-Enable-CET-in-cross-compiler-if-possible.patch and pr96130.patch they are already in 10.2 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18kexec-tools: Fix additional duplicate symbols on aarch64/x86_64 buildsKhem Raj
Fixes build with -fno-common Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-16qemu: Upgrade 5.0.0 -> 5.1.0Richard Purdie
* Drop backported CVE fixes * Drop cpu backtrace patch from 2015 for debugging an issue which we no longer see (patch throws rejects, files have moved) * Update mips patch to account for file renames * Update chardev patch to match upstream code changes * Update webkitgtk patch, qemumips build works ok but qemux86 musl webkitgtk still fails. Need to figure out the correct fix and upstream it for this, current revert patch is not maintainable. Release notes for 5.1.0 mention slight qemumips performance improvements which would be valuable to us. My tests show no improvement in qemumips testimage execution time for core-image-sato-sdk. Fix a ptest issue for a file looking for /usr/bin/bash when we have /bin/bash. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15fribidi: extend CVE_PRODUCT to include fribidiChen Qi
For example, CVE-2019-18397 uses fribidi instead gnu_fribidi. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15gcc-runtime.inc: fix m32 compile fail with x86-64 compilerChangqing Li
configuration: MACHINE ??= "qemux86-64" require conf/multilib.conf MULTILIBS ?= "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 ?= "core2-32" IMAGE_INSTALL_append = " packagegroup-core-buildessential lib32-libstdc++ lib32-libstdc++-dev" m32 compile failed on target: cmd: gcc -m32 -v test.cpp -o test output: GGC heuristics: --param ggc-min-expand=45 --param ggc-min-heapsize=29590 ignoring nonexistent directory "/usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0/x86_64-poky-linux/32" ignoring nonexistent directory "/usr/lib64/x86_64-poky-linux/10.1.0/include" ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../x86_64-poky-linux/include" /usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0 /usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0/backward /usr/lib64/gcc/x86_64-poky-linux/10.1.0/include /usr/lib64/gcc/x86_64-poky-linux/10.1.0/include-fixed /usr/include End of search list. GNU C++14 (GCC) version 10.1.0 (x86_64-poky-linux) compiled by GNU C version 10.1.0, GMP version 6.2.0, MPFR version 4.1.0, MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=45 --param ggc-min-heapsize=29590 Compiler executable checksum: bc3b2f3a33dad80e30112cf1235bf631 In file included from test.cpp:1: /usr/include/c++/10.1.0/iostream:38:10: fatal error: bits/c++config.h: No such file or directory 38 | #include <bits/c++config.h> | ^~~~~~~~~~~~~~~~~~ cannot find header since /usr/lib64/gcc/x86_64-poky-linux/10.1.0/x86_64-poky-linux/32 is missing fixed by link it to ../i686-poky-linux Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15librsvg: Upgrade 2.40.20 -> 2.40.21Adrian Bunk
This fixes CVE-2019-20446. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15gobject-introspection: disable scanner caching in installJeremy Puhlman
do_compile and the wrapper already disable touching the home cache. Do the same in do_install. [YOCTO #13970] Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15webkitgtk: Upgrade to 2.28.4Khem Raj
backport a patch from master to fix clang11 build error Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15build-compare: Drop recipeRichard Purdie
If we no longer have the packagefeed-stability class, we no longer need need build-compare as it was the only user of it. Therefore drop the recipe too. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15packagefeed-stability: Remove as obsoleteRichard Purdie
This class had great ideas and potential but now we have hash equivalence and reproducibility, its effectively obsolete. I'm not aware of any serious use of the class, we certainly don't get bug reports or patches so remove it and focus on those other areas. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13perl: Add check for non-arch Storable.pm fileJoshua Watt
Under unknown conditions, Storable.pm will be placed in the base library directory instead of under the arch specific one. This causes build issues, see https://bugzilla.yoctoproject.org/show_bug.cgi?id=13946. To try and catch this happening, add an explicit check for the bad file existing and fail the build if it is found. [YOCTO #13946] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13qemu.inc: Use virtual/libgl instead of mesaChandana kalluri
Use virtual/libgl instead of mesa within the recipes to provide users the flexibility to specify providers other than mesa. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13kernel-devsrc: 5.8 + gcc10 require gcc-plugins + libmpc-devBruce Ashfield
In order to execute 'make scripts prepare' on target with the 5.8 kernel and gcc 10, we need to have the gcc-plugins and libmpc-dev on target. Although not strictly required for all kernel versions, they don't do any harm when included. We add them to the RDEPENDS of devsrc to avoid the errors: scripts/gcc-plugins/gcc-common.h:5:10: fatal error: bversion.h: No such file or directory | #include "bversion.h" and /usr/lib/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/builtins.h:23:10: fatal error: mpc.h: No such file or directory Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13kernel-devsrc: fix on target modules prepare for ARMBruce Ashfield
The arm compiler and linker weren't matching the replacement regex's in devsrc. We make the expressions a bit more generic to catch the triplets for ARM. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13make-mod-scripts: add HOSTCXX definitions and gmp-native dependencyBruce Ashfield
With kernel v5.8+ and gcc10 plugins, we can run into the following build error: HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o In file included from /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/gcc-plugin.h:28, from /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/gcc-common.h:7, from /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3: /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/system.h:687:10: fatal error: gmp.h: No such file or directory 687 | #include <gmp.h> | ^~~~~~~ Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13kernel-yocto: split meta data gathering into patch and config phasesBruce Ashfield
do_kernel_metadata gathers and sanitizes the meta-data that is used in later steps of the kernel-yocto build process. The processing takes the form of configuration and patch gathering. The current single pass of both config and patch gathering means that patches can't modify in-tree configuration elements (although this makes tracing configuration changes harder, it is a valid workflow). We can divide the routine into a patch and configuration phase, and call the config variant after patching is done. This keeps the common parts of the gahering intact, but allows us flexibilty in when the stages happen. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13kernel-yocto: make # is not set matching more preciseBruce Ashfield
Integrating the following commit: symbol_why: tighten 'is not set' matching Commented lines that contained CONFIG_FOO ... were being picked up as option lines and reported as invalid. We make the regex more explicit and only match on spaces before CONFIG_ to declare if a 'is not set' line is invalid. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13kernel-yocto: set cwd before querying the meta data dirBruce Ashfield
To aid classifying options and streamling reports, fragments and classification info are consolidated into a kernel meta directory. The name of the meta directory is (somewhat) flexible, and hence is queried by the tools and created if it doesn't exist. The recent enhancements to the .config auditing introduced a new query for the meta directory, but isn't being run in the kernel's source directory .. and is hence creating an unwanted file in $TOPDIR. We set the kernel source directory as the cwd for the call, and everything goes back to where it belongs. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13kernel.bbclass: Configuration for environment with HOSTCXXZhang Qiang
When compiling xilinx-zynq board linux-kernel-dev(v5.8) if "GCC_PLUGINS=y", The following error will appear: "HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o fatal error: gmp.h: No such file or directory" the GCC_PLUGINS depend on return result of gcc-plugin.sh execution however in gcc-plugin.sh use HOSTCC to detect the feature of GNU extension of gcc, this will result that HOSTCC can compile the file successfully, but HOSTCXX is used in the actual compilation process. Signed-off-by: Zhang Qiang <qiang.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13linux-yocto/5.4: update to v5.4.57Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: d9939285fc81 Linux 5.4.57 ca7ace8fd26d bpf: sockmap: Require attach_bpf_fd when detaching a program 9fe975acb53f selftests: bpf: Fix detach from sockmap tests c77610435355 ext4: fix direct I/O read error 6330b0cb2ace arm64: Workaround circular dependency in pointer_auth.h f06d60ff794a random32: move the pseudo-random 32-bit definitions to prandom.h c131009987f2 random32: remove net_rand_state from the latent entropy gcc plugin 7471f3228e7a random: fix circular include dependency on arm64 after addition of percpu.h 50bf89625bba ARM: percpu.h: fix build error c15a77bdda2c random32: update the net random state on interrupt and activity Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13linux-yocto/5.4: update to v5.4.56Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 1b940bbc5c55 Linux 5.4.56 df35e878d0a5 perf bench: Share some global variables to fix build with gcc 10 702d1b287fd2 perf env: Do not return pointers to local variables 73d2d6b421df perf tests bp_account: Make global variable static 39568546706f x86/i8259: Use printk_deferred() to prevent deadlock 01ac46c6baf0 KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled fd412846a6ec KVM: arm64: Don't inherit exec permission across page-table levels 1aff51292ee8 drivers/net/wan: lapb: Corrected the usage of skb_cow f88c909dc28c RISC-V: Set maximum number of mapped pages correctly e3043abb5baa xen-netfront: fix potential deadlock in xennet_remove() a7b488d65d39 cxgb4: add missing release on skb in uld_send() 5f4e6b874b57 x86/stacktrace: Fix reliable check for empty user task stacks 32344d2993b0 x86/unwind/orc: Fix ORC for newly forked tasks a14d6a9ddf33 Revert "i2c: cadence: Fix the hold bit setting" df366abb9c8f net: ethernet: ravb: exit if re-initialization fails in tx timeout ac7c3b8f34ec parisc: add support for cmpxchg on u8 pointers a0ba41317c89 scsi: core: Run queue in case of I/O resource contention failure 0ac155dcf048 nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame 50c5f89637bc selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support 78c7532b80c6 qed: Disable "MFW indication via attention" SPAM every 5 minutes 6e4620df9cbc selftests: fib_nexthop_multiprefix: fix cleanup() netns deletion 5b235c1d9022 usb: hso: Fix debug compile warning on sparc32 cac2b7ad0915 vxlan: fix memleak of fdb 1df0000b30cd perf tools: Fix record failure when mixed with ARM SPE event 568995fb61e7 net/mlx5e: fix bpf_prog reference count leaks in mlx5e_alloc_rq e68b7b9b03fb net: gemini: Fix missing clk_disable_unprepare() in error path of gemini_ethernet_port_probe() 1158aa743a0b net: nixge: fix potential memory leak in nixge_probe() 9acd96f14a49 Bluetooth: fix kernel oops in store_pending_adv_report 3bb2f52ad9e7 arm64: csum: Fix handling of bad packets 8a90b436a0c9 arm64/alternatives: move length validation inside the subsection 4a50753aacb5 mac80211: mesh: Free pending skb when destroying a mpath 3f15e3e62c80 mac80211: mesh: Free ie data when leaving mesh fe58e3dd6e11 bpf: Fix map leak in HASH_OF_MAPS map 43c390b751ba ibmvnic: Fix IRQ mapping disposal in error path ea559138b331 mlxsw: core: Free EMAD transactions using kfree_rcu() 57f498ced731 mlxsw: core: Increase scope of RCU read-side critical section 0f424eda4705 mlx4: disable device on shutdown c3883876d3f1 rhashtable: Fix unprotected RCU dereference in __rht_ptr b1d629d32910 net: lan78xx: fix transfer-buffer memory leak 9db3040eb952 net: lan78xx: add missing endpoint sanity check 32ec4441cca1 net/mlx5e: Fix kernel crash when setting vf VLANID on a VF dev 475cbcef491a net/mlx5e: Modify uplink state on interface up/down 43608372b84d net/mlx5: Verify Hardware supports requested ptp function on a given pin 8901896f69d4 net/mlx5e: Fix error path of device attach 00bedd730d1f net/mlx5: E-switch, Destroy TSAR when fail to enable the mode d70f9a3cc32c net: hns3: fix aRFS FD rules leftover after add a user FD rule 475b8d619268 net: hns3: fix a TX timeout issue 5fc02e8d1bfd sh: Fix validation of system call number 2f2674997dfb sh/tlb: Fix PGTABLE_LEVELS > 2 222dbeca05fb selftests/net: so_txtime: fix clang issues for target arch PowerPC d817b2c8d3cf selftests/net: psock_fanout: fix clang issues for target arch PowerPC 22f84cce9527 selftests/net: rxtimestamp: fix clang issues for target arch PowerPC 831c904a0f68 nvme-tcp: fix possible hang waiting for icresp response 9a1d0084cbe1 ARM: dts: armada-38x: fix NETA lockup when repeatedly switching speeds 731e013e33b3 xfrm: Fix crash when the hold queue is used. a4c902887f1d ARM: dts sunxi: Relax a bit the CMA pool allocation range 0307da686660 xfrm: policy: match with both mark and mask on user interfaces bbb13adb07af net/x25: Fix null-ptr-deref in x25_disconnect 69cd304cfa5c net/x25: Fix x25_neigh refcnt leak when x25 disconnect c2fd34d43110 libtraceevent: Fix build with binutils 2.35 2ec69499b758 rds: Prevent kernel-infoleak in rds_notify_queue_get() 6a9428427da1 drm: hold gem reference until object is no longer accessed 7eef3b463d88 drm/dbi: Fix SPI Type 1 (9-bit) transfer 8ea180f1c7ec drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl() f1b4bdde2bdc drm/amd/display: Clear dm_state for fast updates 22d3202e51a7 Revert "drm/amdgpu: Fix NULL dereference in dpm sysfs handlers" cea6633d5382 virtio_balloon: fix up endian-ness for free cmd id c2f787f904e0 ARM: dts: imx6qdl-icore: Fix OTG_ID pin and sdcard detect b9274613114a ARM: dts: imx6sx-sdb: Fix the phy-mode on fec2 c4738c67a569 ARM: dts: imx6sx-sabreauto: Fix the phy-mode on fec2 3b7e4a5ba95d ARM: 8986/1: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints b8fa0b037047 wireless: Use offsetof instead of custom macro. d3472f74d229 9p/trans_fd: Fix concurrency del of req_list in p9_fd_cancelled/p9_read_work 96f105943cff vhost/scsi: fix up req type endian-ness 951117a2079b IB/rdmavt: Fix RQ counting issues causing use of an invalid RWQE dc731d262811 ALSA: hda/hdmi: Fix keep_power assignment for non-component devices 6a67b05c6f30 ALSA: hda/realtek - Fixed HP right speaker no sound 09832a9e0b76 ALSA: hda/realtek: Fix add a "ultra_low_power" function for intel reference board (alc256) e9f147c937a5 ALSA: hda/realtek: typo_fix: enable headset mic of ASUS ROG Zephyrus G14(GA401) series with ALC289 cd76d30f51fb ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G15(GA502) series with ALC289 6d84a8cf8a02 ALSA: usb-audio: Add implicit feedback quirk for SSL2 47e20933814f mm/filemap.c: don't bother dropping mmap_sem for zero size readahead 140210554274 PCI/ASPM: Disable ASPM on ASMedia ASM1083/1085 PCIe-to-PCI bridge 2ff65580d477 ath10k: enable transmit data ack RSSI for QCA9884 98cef10fbcca sunrpc: check that domain table is empty at module unload. 84da97713b91 media: rc: prevent memory leak in cx23888_ir_probe ecfa7fa198fc crypto: ccp - Release all allocated memory if sha type is invalid 169b93899c7d Linux 5.4.55 909dbf09cd01 Revert "dpaa_eth: fix usage as DSA master, try 3" 4918285a6c7d PM: wakeup: Show statistics for deleted wakeup sources again 59242fa1d2ba regmap: debugfs: check count when read regmap file df89c1ee034c udp: Improve load balancing for SO_REUSEPORT. 6735c126d272 udp: Copy has_conns in reuseport_grow(). 86512c6938a9 sctp: shrink stream outq when fails to do addstream reconf 46e7c7efc30d sctp: shrink stream outq only when new outcnt < old outcnt bbf6af4a938a AX.25: Prevent integer overflows in connect and sendmsg 182ffc66456b tcp: allow at most one TLP probe per flight e2f904fd79a0 rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA 01c928350641 rtnetlink: Fix memory(net_device) leak when ->newlink fails b7d3d6df72a8 qrtr: orphan socket in qrtr_release() 2bf797a8691a net: udp: Fix wrong clean up for IS_UDPLITE macro 274b40b6df6c net-sysfs: add a newline when printing 'tx_timeout' by sysfs 8d9f13dd400c ip6_gre: fix null-ptr-deref in ip6gre_init_net() fbcd85cd11de drivers/net/wan/x25_asy: Fix to make it work d109acd58052 dev: Defer free of skbs in flush_backlog 52aeeec1a635 AX.25: Prevent out-of-bounds read in ax25_sendmsg() 2f1624faf647 AX.25: Fix out-of-bounds read in ax25_connect() Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13linux-yocto-rt/5.4: update to rt32Bruce Ashfield
Integrating the following commit(s) to linux-yocto/5.4: 2739bdb0bfa0 Linux 5.4.54-rt32 0124e412ea96 Linux 5.4.52-rt31 d85676a72421 Linux 5.4.49-rt30 72bbd8083a44 Linux 5.4.48-rt29 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13python3-setuptools: update to 49.3.1Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-12binutils: Remove RISC-V PIE patchAlistair Francis
Remove the out of tree patch that is trying to address a PIE issue. This patch causes RISC-V applications to seg fault when running _dl_relocate_object. This fixes: https://github.com/riscv/meta-riscv/issues/236 Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-12gcc: backport a fix for out-of-line atomics on aarch64Ross Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-12go: Upgrade to 1.14.7Khem Raj
CVE_CHECK_WHITELIST += "CVE-2020-16845" Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Li Zhou <li.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11gcr: Fix patch Upstream-Status from v2 patchRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11maintainers: Update entries for Mark HatleRichard Purdie
db/rpm/depmodwrapper-cross no longer have a maintainer, update his address on prelink. I take pseudo since I'm doing the work there in the absence of anyone else. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11gcr: make sure gcr-oids.h is generatedJoe Slater
Backport, without modification, a patch from mainline after gcr-3-36 branch created. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11python3-manifest.json: UpdatesNathan Rossi
- Regenerate using create_manifest - Fix up some indentation compared to generated - Add "secrets" module into netclient package (introduced in 3.6) - Move "urllib" python package into core package, it is used more commonly than just netclient (e.g. email, xml, mimetypes, pydoc) - Update compression package dependencies due to some modules moving into core package - Update dependencies due to improvements to get_module_deps handling modules of a python package (e.g. ctypes.utils) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11python3: Improve handling of python3 manifest generationNathan Rossi
Specifically cover detection of modules within a python package that do not import anything within their __init__.py. This is at least the case with the xmlrpc package which is only used via its modules xmlrpc.server and xmlrpc.client. Other important corner cases include ctypes.utils which depends on some modules not used by ctypes. This is implemented by generally assuming that importing all the modules of a package (aka *.py within a package, excluding _*.py) will provide enough information. Also due to this change some modules import sysconfig, resulting in sysconfigdata being imported. Handle the conversion of its path to a wildcard based on the platform dependent name being replaced. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-10cmake.bbclass: Rework compiler program variables for allarchNathan Rossi
CMake projects can specify the NONE project type. Projects that do this do not use any C or C++ compiler, this currently works fine with caveat that when changing the machine/arch the compiler is different causing signature hash differences. To avoid the signature hash differences clear the associated C/CXX compiler variables. In order to achieve this with overrides, simplify the existing construction of the values using a python function and variable setting and remove the anonymous variable setup. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-10libexif: Enable native and nativesdkNathan Rossi
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-10libhandy: upstream has moved to gnomeAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>