Richard Purdie [Wed, 26 Aug 2020 07:57:50 +0000 (08:57 +0100)]
runqemu: Show an error for conflicting graphics options
The autobuilder managed to pass the nographic option with "sdl gl" due
to a problem elsewhere. It would have been useful for runqemu to have
errored rather than passing conflicting options to qemu. Add an
error for this invalid usecase.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 377a6ffbcba0d3c5ede470c989756c4d1636873f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Vasyl Vavrychuk [Mon, 17 Aug 2020 13:57:28 +0000 (16:57 +0300)]
runqemu: Check gtk or sdl option is passed together with gl or gl-es options.
runqemu help reports that gtk or sdl option is needed with gl or gl-es
option. But if user forgot to add gtk or sdl option, then gl or gl-es
options were silently skipped.
Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d1e93d4bf013bb0c48032bfda43f77c5aba9ecf) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Mikko Rapeli [Tue, 18 Aug 2020 11:31:43 +0000 (14:31 +0300)]
alsa-ucm-conf: use ${datadir} in do_install()
Fixes build with custom directory structure.
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 710567168eca3d9a580f768a82db033f1cca3cec) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Mikko Rapeli [Tue, 18 Aug 2020 11:31:42 +0000 (14:31 +0300)]
alsa-topology-conf: use ${datadir} in do_install()
Fixes build with custom directory structure.
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9eec98b3842bb046cbd202140b9b5ccf09d20466) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Changqing Li [Tue, 18 Aug 2020 09:59:01 +0000 (17:59 +0800)]
libffi: fix multilib header conflict
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
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit efe8d76810973e7032e729beee106b8acc39b8ed) Signed-off-by: Steve Sakoman <steve@sakoman.com>
David Seifert (1):
Fix building with `-fno-common`
Dor Askayo (1):
xwayland: clear pixmaps after creation in rootless mode
Eric Anholt (1):
glamor: Fix a compiler warning since the recent OOM fixes.
George Matsumura (1):
Restrict 1x1 pixmap filling optimization to GXcopy
Jon Turney (2):
Add xf86OSInputThreadInit to stub os-support as well
Fix old-style definition warning for xf86OSInputThreadInit()
Jonas Ådahl (1):
xwayland/glamor-gbm: Handle DRM_FORMAT_MOD_INVALID gracefully
Kenneth Graunke (1):
configure: Define GLAMOR_HAS_EGL_QUERY_DRIVER when available
Maarten Lankhorst (1):
modesetting: Disable atomic support by default
Matt Turner (1):
xserver 1.20.8
Michel Dänzer (8):
modesetting: Explicitly #include "mi.h"
xfree86/modes: Bail from xf86RotateRedisplay if pScreen->root is NULL
xwayland: Split up xwl_screen_post_damage into two phases
xwayland: Call glamor_block_handler from xwl_screen_post_damage
xwayland: Add xwl_window_create_frame_callback helper
xwayland: Use single frame callback for Present flips and normal updates
xwayland: Use frame callbacks for Present vblank events
xwayland: Delete all frame_callback_list nodes in xwl_unrealize_window
Paul Kocialkowski (4):
glamor: Propagate FBO allocation failure for picture to texture upload
glamor: Error out on out-of-memory when allocating PBO for FBO access
glamor: Propagate glamor_prepare_access failures in copy helpers
glamor: Fallback to system memory for RW PBO buffer allocation
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e06262ee0eafa4aff6dfcd7bd2fdd62820d5f12) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Lee Chee Yang [Tue, 18 Aug 2020 14:06:37 +0000 (22:06 +0800)]
perl: fix CVE-2020-12723
Minor changes to the test cases count in the .patch file to make it
align with current version, so the fixes can be apply.
Changes apply to line:
https://github.com/perl/perl5/commit/66bbb51b93253a3f87d11c2695cfb7bdb782184a#diff-e31ddd69cf47acf02911647c691a0283L28
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Sun, 16 Aug 2020 22:51:13 +0000 (18:51 -0400)]
linux-yocto/5.4: perf cs-etm: Move definition of 'traceid_list' global 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>
(cherry picked from commit 8e1d8c2099f29b45f1e96d4349731db036fb7548) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Sun, 16 Aug 2020 22:51:12 +0000 (18:51 -0400)]
linux-yocto/5.4: update to v5.4.58
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>
(cherry picked from commit 62acf5a876875bf734d53bd526b11b19e7bfcf45) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Sun, 16 Aug 2020 13:44:52 +0000 (14:44 +0100)]
selftest/tinfoil: Increase wait event timeout
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>
(cherry picked from commit c847ed207795bc03f791ee5a3348fa5860c53e70) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Adrian Bunk [Thu, 13 Aug 2020 19:01:42 +0000 (22:01 +0300)]
librsvg: Upgrade 2.40.20 -> 2.40.21
This fixes CVE-2019-20446.
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5c117379dec1e33216fcbaf49d2b6130adf54bc1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Wed, 12 Aug 2020 17:03:24 +0000 (13:03 -0400)]
linux-yocto/5.4: update to v5.4.57
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>
(cherry picked from commit 00ea26a7e535c70998a5b9228185403e3f440042) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Wed, 12 Aug 2020 17:03:23 +0000 (13:03 -0400)]
linux-yocto/5.4: update to v5.4.56
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>
(cherry picked from commit a9b3ecf377a1c01979311dc7082c401c957ca6ff) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b21783c173594e5dac3c437e290b26643382c2e9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Thu, 6 Aug 2020 20:34:21 +0000 (21:34 +0100)]
uninative: Handle PREMIRRORS generically
Currently uninative handles SOURCE_MIRROR_URL but not generic PREMIRRORS.
It can handle this better, attempt to iterate PREMIRRORS entries.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6426c952b5ade48ea94fb647efc464e603989b97) Signed-off-by: Steve Sakoman <steve@sakoman.com>
oeqa: write @OETestTag content into json test reports for each case
This allows using these tags for classification and filtering of test results
according to various organization-specific criteria, such as teams
responsible for the test, internal test ids, feature domains and so on.
Test name itself meanwhile can stay short and human-readable.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Daniel Gomez [Wed, 5 Aug 2020 14:13:00 +0000 (16:13 +0200)]
allarch: Add missing allarch ttf-bitstream-vera
allarch is missing in ttf-bitstream-vera recipe. Add it and include the
recipe in the SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS list.
Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31c02477a4fb91f19f8c3ef3f8bc9a20e416c859) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Tyler Hicks [Wed, 5 Aug 2020 16:56:12 +0000 (11:56 -0500)]
kernel-devicetree: Fix intermittent build failures caused by DTB builds
Fix a build-time race condition that resulted in intermittent build
failures in the do_assemble_fitimage task. The race condition involved
the do_assemble_fitimage task reading the vmlinux file while the
do_compile_kernelmodules task was re-writing the vmlinux file.
This can be seen with an aarch64 image build that uses a 5.4 based
kernel and sets KERNEL_DEVICETREE. The problem is that the do_compile
snippet that the kernel-devicetree class appends did not specify the
full kernel build environment when building the DTB(s) from the kernel
tree. This resulted in CONFIG_CC_CAN_LINK=y being removed from the
kernel config file just before the do_compile task completed. The
CONFIG_CC_CAN_LINK=y line was then re-inserted into the kernel config
file as part of the do_compile_kernelmodules task.
In some cases, this resulted in the do_compile_kernelmodules task to
re-link vmlinux which sometimes occured at the same time that the
do_assemble_fitimage task was attempting to use vmlinux. The
do_assemble_fitimage task would fail with the following error message:
aarch64-poky-linux-objcopy:vmlinux: file format not recognized
We can use the pine-a64-lts machine, from the meta-pine64 layer, to show
that the kernel config file was changed between do_compile and
do_compile_kernelmodules:
With this change, the do_compile snippet appended by the
kernel-devicetree class does not modify the kernel config. The kernel
config is unchanged across the do_compile and do_compile_kernelmodules
tasks and do_compile_kernelmodules will not attempt to re-link vmlinux.
Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74619de0277471f446bf7a719f4c445359c823f6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Wed, 5 Aug 2020 12:47:36 +0000 (08:47 -0400)]
linux-yocto/5.4: update to v5.4.54
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
58a12e3368db Linux 5.4.54 c15d59b94511 ath9k: Fix regression with Atheros 9271 e6eb815beccc ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb 6d4448ca54bc dm integrity: fix integrity recalculation that is improperly skipped 2ca71b807383 ASoC: topology: fix tlvs in error handling for widget_dmixer a4fd00dd8299 ASoC: topology: fix kernel oops on route addition error e60e53e685d9 ASoC: qcom: Drop HAS_DMA dependency to fix link failure 8f64dc9e1d49 ASoC: rt5670: Add new gpio1_is_ext_spk_en quirk and enable it on the Lenovo Miix 2 10 697bd3e4aa4b x86, vmlinux.lds: Page-align end of ..page_aligned sections c89af82f64a0 parisc: Add atomic64_set_release() define to avoid CPU soft lockups d1bab3cf71dd drm/amd/powerplay: fix a crash when overclocking Vega M 33ab3f2dc444 drm/amdgpu: Fix NULL dereference in dpm sysfs handlers c3de96686db9 mmc: sdhci-of-aspeed: Fix clock divider calculation 615f44e04792 io-mapping: indicate mapping failure 40c5836b4a48 khugepaged: fix null-pointer dereference due to race 95750e1edbcd mm: memcg/slab: fix memory leak at non-root kmem_cache destroy db949f60d983 mm/memcg: fix refcount error while moving and swapping 549bfc142706 mm/mmap.c: close race between munmap() and expand_upwards()/downwards() 5835e6d5988f Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation 23e8b741c8a1 vt: Reject zero-sized screen buffer size. 028b478f2231 fbdev: Detect integer underflow at "struct fbcon_ops"->clear_margins. bf331efc8ea4 /dev/mem: Add missing memory barriers for devmem_inode 3c52751df236 serial: 8250_mtk: Fix high-speed baud rates clamping af811869db06 serial: 8250: fix null-ptr-deref in serial8250_start_tx() fb8d832978bb serial: tegra: fix CREAD handling for PIO c76a1dacc28d staging: comedi: addi_apci_1564: check INSN_CONFIG_DIGITAL_TRIG shift 178a09b0fb0d staging: comedi: addi_apci_1500: check INSN_CONFIG_DIGITAL_TRIG shift 7ee8d78bc12b staging: comedi: ni_6527: fix INSN_CONFIG_DIGITAL_TRIG support 747558b1c737 staging: comedi: addi_apci_1032: check INSN_CONFIG_DIGITAL_TRIG shift c9afe420c53a staging: wlan-ng: properly check endpoint types a44c859323c2 tty: xilinx_uartps: Really fix id assignment f32718cfa5db iwlwifi: mvm: don't call iwl_mvm_free_inactive_queue() under RCU 3e84602475f7 Revert "cifs: Fix the target file was deleted when rename failed." 86894c3797ed usb: xhci: Fix ASM2142/ASM3142 DMA addressing 1d91547f2fc8 usb: xhci-mtk: fix the failure of bandwidth allocation 93f1e16af4a5 binder: Don't use mmput() from shrinker function. 35728cac176a RISC-V: Upgrade smp_mb__after_spinlock() to iorw,iorw 5345ede4acde drivers/perf: Prevent forced unbinding of PMU drivers 0821295b23cc asm-generic/mmiowb: Allow mmiowb_set_pending() when preemptible() 90e78ec7d725 x86: math-emu: Fix up 'cmp' insn for clang ias 679fe09188c1 arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP 7fc7942f52cf drivers/perf: Fix kernel panic when rmmod PMU modules during perf sampling 347f735ca82b ALSA: hda/realtek - fixup for yet another Intel reference board 30a17b51d80d hwmon: (scmi) Fix potential buffer overflow in scmi_hwmon_probe() 76361edb5559 platform/x86: asus-wmi: allow BAT1 battery name 41a7fdf90ce2 platform/x86: ISST: Add new PCI device ids ace6e8b448b9 hwmon: (nct6775) Accept PECI Calibration as temperature source for NCT6798D 6627a265c598 drm/amdgpu: fix preemption unit test ffb5604d2043 drm/amdgpu/gfx10: fix race condition for kiq c04a48251314 hwmon: (adm1275) Make sure we are reading enough data for different chips a2a380bd4575 usb: cdns3: trace: fix some endian issues 103a90ad4e64 usb: cdns3: ep0: fix some endian issues 89fe6eba178d usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep_init() 74ec2cc5bfff usb: dwc3: pci: add support for the Intel Jasper Lake c4c6363b8e68 usb: dwc3: pci: add support for the Intel Tiger Lake PCH -H variant 4f5eb2735fa3 Input: elan_i2c - only increment wakeup count on touch 186d3fe73e27 Input: synaptics - enable InterTouch for ThinkPad X1E 1st gen 460c0dafea92 dmaengine: ioat setting ioat timeout as module parameter 493aed3263ca dmaengine: fsl-edma: fix wrong tcd endianness for big-endian cpu 6a3015ae35f5 hwmon: (aspeed-pwm-tacho) Avoid possible buffer overflow 01d7bd8903d8 regmap: dev_get_regmap_match(): fix string comparison bbc0b6e18405 spi: mediatek: use correct SPI_CFG2_REG MACRO 126a0ab6b83b ARM: dts: n900: remove mmc1 card detect gpio 80fed4024c39 Input: add `SW_MACHINE_COVER` db886ec71fe4 dmaengine: tegra210-adma: Fix runtime PM imbalance on error 5cbe437d5968 HID: apple: Disable Fn-key key-re-mapping on clone keyboards 2c179ece3bfb HID: steam: fixes race in handling device list. 5d273c566f7b HID: alps: support devices with report id 2 08696a4ac9f6 HID: i2c-hid: add Mediacom FlexBook edge13 to descriptor override 9ab9cfcc2d8f scripts/gdb: fix lx-symbols 'gdb.error' while loading modules 22508bc315eb scripts/decode_stacktrace: strip basepath from all paths 1e63d569fd2d serial: exar: Fix GPIO configuration for Sealevel cards based on XR17V35X a86abef1558a geneve: fix an uninitialized value in geneve_changelink() 89b4f204ba43 bonding: check return value of register_netdevice() in bond_newlink() 93bb40b79e84 i2c: i2c-qcom-geni: Fix DMA transfer race 58637b3027db i2c: rcar: always clear ICSAR to avoid side effects e8b86b4d87e3 enetc: Remove the mdio bus on PF probe bailout 9f2c2928b939 nfsd4: fix NULL dereference in nfsd/clients display code a44625dc0bd3 Revert "PCI/PM: Assume ports without DLL Link Active train links in 100 ms" 9e3e96aa9a2e net: ethernet: ave: Fix error returns in ave_init eb2c32de1ce6 ipvs: fix the connection sync failed in some cases 592614918431 qed: suppress false-positives interrupt error messages on HW init 641bd96bd0ac qed: suppress "don't support RoCE & iWARP" flooding on HW init 8d416c038a91 netdevsim: fix unbalaced locking in nsim_create() 99a5e865cbe4 net: dsa: microchip: call phy_remove_link_mode during probe 4997b311c01e net: hns3: fix error handling for desc filling 107ea66643bd net: ag71xx: add missed clk_disable_unprepare in error path of probe 34e93385c416 ionic: fix up filter locks and debug msgs 42f5c49f7bbb ionic: use offset for ethtool regs data eac87543368c mlxsw: destroy workqueue when trap_register in mlxsw_emad_init 9b52f23ad648 bonding: check error value of register_netdevice() immediately d11a27411c65 net: smc91x: Fix possible memory leak in smc_drv_probe() a2cdb4ebd84e drm: sun4i: hdmi: Fix inverted HPD result 988e5d2179e4 ieee802154: fix one possible memleak in adf7242_probe 7bf93c95a9b9 net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual configuration e2e31a0bf7a1 ASoC: Intel: bytcht_es8316: Add missed put_device() 613e7c52aaaa RDMA/mlx5: Use xa_lock_irq when access to SRQ table d0d394c71604 ax88172a: fix ax88172a_unbind() failures ad49d766612e vsock/virtio: annotate 'the_virtio_vsock' RCU pointer f826efa1c381 hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path 570b1c92cb48 fpga: dfl: fix bug in port reset handshake c73188295841 fpga: dfl: pci: reduce the scope of variable 'ret' 57393e695a10 bnxt_en: Fix completion ring sizing with TPA enabled. 9cc322773b20 bnxt_en: Fix race when modifying pause settings. 38a66f3cdab4 btrfs: fix page leaks after failure to lock page for delalloc b04805a7e8a5 btrfs: fix mount failure caused by race with umount e333df0e4ac6 btrfs: fix double free on ulist after backref resolution failure f668e822950d ASoC: rt5670: Correct RT5670_LDO_SEL_MASK 0f87dabe4415 ALSA: info: Drop WARN_ON() from buffer NULL sanity check aad343d571ae ALSA: hda/realtek: Fixed ALC298 sound bug by adding quirk for Samsung Notebook Pen S ee2f6a6b39be uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL, to fix GDB regression ee08663380ff btrfs: reloc: clear DEAD_RELOC_TREE bit for orphan roots to prevent runaway balance 044ca910276b btrfs: reloc: fix reloc root leak and NULL pointer dereference cb1225707041 SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direct IO compeletion") 02140e85d8e4 drm/amd/display: Check DMCU Exists Before Loading 722c6e954c90 dmabuf: use spinlock to access dmabuf->name 44838b956304 ARM: dts: imx6qdl-gw551x: fix audio SSI 593221ce16af ARM: dts: imx6qdl-gw551x: Do not use 'simple-audio-card,dai-link' 36f735554572 irqdomain/treewide: Keep firmware node unconditionally allocated 8676732c3337 fuse: fix weird page warning 96002e7485be drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups() d0e40e510aa7 dm: use bio_uninit instead of bio_disassociate_blkg 0ff9fce4abee scsi: dh: Add Fujitsu device to devinfo and dh lists 3959567d870d scsi: mpt3sas: Fix error returns in BRM_status_show 0c1337e94a54 drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout fb50c5cf2105 net: sky2: initialize return of gm_phy_read b4397143da53 ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later e50116e51281 drivers/net/wan/lapbether: Fixed the value of hard_header_len 0eced7636001 scsi: mpt3sas: Fix unlock imbalance 0edfdefc0a9c xtensa: update *pos in cpuinfo_op.next df5b65f5df3e xtensa: fix __sync_fetch_and_{and,or}_4 declarations 806ffec1a93a scsi: scsi_transport_spi: Fix function pointer check 65c835ebe2cd mac80211: allow rx of mesh eapol frames with default rx key f55550d566e4 pinctrl: amd: fix npins for uart0 in kerncz_groups de0d953ee787 gpio: arizona: put pm_runtime in case of failure 52083907ebfa gpio: arizona: handle pm_runtime_get_sync failure case 4f80cb2c787f soc: qcom: rpmh: Dirt can only make you dirtier, not cleaner
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit de8c92604ead0ed00fb035fb0c915ec03f729537) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Mon, 3 Aug 2020 12:30:26 +0000 (08:30 -0400)]
linux-yocto/5.4: fix perf build with binutils 2.35
Integrating the following commit(s) to linux-yocto/5.4:
1fe4ee7f680c libtraceevent: Fix build with binutils 2.35
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69faa62d840330f573101245e0aa3fed17984b70) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Mon, 3 Aug 2020 12:30:25 +0000 (08:30 -0400)]
linux-yocto/5.4: update to v5.4.53
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
d811d29517d1 Linux 5.4.53 e6c19fa5b6c6 gpio: pca953x: disable regmap locking for automatic address incrementing 411c80267541 drm/i915/gvt: Fix two CFL MMIO handling caused by regression. 517708c47c66 iommu/vt-d: Make Intel SVM code 64-bit only 41389f739a5e ionic: export features for vlans to use 5d7e2852d7e6 spi: sprd: switch the sequence of setting WDG_LOAD_LOW and _HIGH 1245a1e0e1c3 rxrpc: Fix trace string 07253d24cda3 libceph: don't omit recovery_deletes in target_copy() d2ccad3c9ce9 block: fix get_max_segment_size() overflow on 32bit arch 310d75f274d5 block: fix splitting segments on boundary masks f2e57ed2f3f8 drm/i915/gt: Ignore irq enabling on the virtual engines 64a17e1da02a drm/amdgpu/sdma5: fix wptr overwritten in ->get_wptr() 9f8d3d2f79ba genirq/affinity: Handle affinity setting on inactive interrupts correctly 6aae92ed2c42 sched/fair: handle case of task_h_load() returning 0 b5b774918816 sched: Fix unreliable rseq cpu_id for new tasks 5c2450ac7c7a arm64: compat: Ensure upper 32 bits of x0 are zero on syscall return ed766e740cc9 arm64: ptrace: Consistently use pseudo-singlestep exceptions bdb71132992b arm64: ptrace: Override SPSR.SS when single-stepping is enabled d3b7bacd1115 thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power 025cec59aa17 thermal: int3403_thermal: Downgrade error message 0ab6b541c6f8 misc: atmel-ssc: lock with mutex instead of spinlock 746930d17d14 dmaengine: fsl-edma-common: correct DSIZE_32BYTE 5f3fcbf5b57f dmaengine: mcf-edma: Fix NULL pointer exception in mcf_edma_tx_handler 9464956544be dmaengine: fsl-edma: Fix NULL pointer exception in fsl_edma_tx_handler 8fd0d8536805 intel_th: Fix a NULL dereference when hub driver is not loaded 55d7092cc8f5 intel_th: pci: Add Emmitsburg PCH support 905f20f4946a intel_th: pci: Add Tiger Lake PCH-H support 5c698cc5b6f4 intel_th: pci: Add Jasper Lake CPU support c5ce2060f487 powerpc/pseries/svm: Fix incorrect check for shared_lppaca_size 93d1e96b98b2 powerpc/book3s64/pkeys: Fix pkey_access_permitted() for execute disable pkey d6a76f8eee21 hwmon: (emc2103) fix unable to change fan pwm1_enable attribute 9125d5762590 riscv: use 16KB kernel stack on 64-bit c28501385945 timer: Fix wheel index calculation on last level 6c2388e2a12b timer: Prevent base->clk from moving backward e9506de7b305 scsi: megaraid_sas: Remove undefined ENABLE_IRQ_POLL macro acd3901a62f6 uio_pdrv_genirq: fix use without device tree and no interrupt 17268122ba5e uio_pdrv_genirq: Remove warning when irq is not specified 97f1aecb80e9 Input: elan_i2c - add more hardware ID for Lenovo laptops 1fb81fe5e180 Input: i8042 - add Lenovo XiaoXin Air 12 to i8042 nomux list 62dd03054918 mei: bus: don't clean driver pointer 72648019cd52 Revert "zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()" 4dd2ad686704 fuse: Fix parameter for FS_IOC_{GET,SET}FLAGS e8f32a9f5aeb fuse: use ->reconfigure() instead of ->remount_fs() f96ce4be463a fuse: ignore 'data' argument of mount(..., MS_REMOUNT) 09b696bd2149 ovl: fix unneeded call to ovl_change_flags() 93f75b0f0d3b ovl: relax WARN_ON() when decoding lower directory file handle 6270654c7de9 ovl: inode reference leak in ovl_is_inuse true case. 4996065307c8 ovl: fix regression with re-formatted lower squashfs 2cd065b91681 serial: mxs-auart: add missed iounmap() in probe failure and remove 752641ba871a virtio: virtio_console: add missing MODULE_DEVICE_TABLE() for rproc serial 8f4c040f45b9 Revert "tty: xilinx_uartps: Fix missing id assignment to the console" 1bc2c30d861c virt: vbox: Fix guest capabilities mask check 78d85ca8300e virt: vbox: Fix VBGL_IOCTL_VMMDEV_REQUEST_BIG and _LOG req numbers to match upstream cc894ec456c1 USB: serial: option: add Quectel EG95 LTE modem 4eaf06c9bd35 USB: serial: option: add GosunCn GM500 series dcc1df3cdb04 USB: serial: ch341: add new Product ID for CH340 dff0a4f024fc USB: serial: cypress_m8: enable Simply Automated UPB PIM 18059e953e1f USB: serial: iuu_phoenix: fix memory corruption 72596d0b2acd usb: gadget: function: fix missing spinlock in f_uac1_legacy 01512075a387 usb: chipidea: core: add wakeup support for extcon 3dd890afedbf usb: dwc2: Fix shutdown callback in platform 4f0addeba0c0 USB: c67x00: fix use after free in c67x00_giveback_urb bd422c7fb477 ALSA: hda/realtek - Enable Speaker for ASUS UX563 63d318f05e67 ALSA: hda/realtek - Enable Speaker for ASUS UX533 and UX534 e7bafe0c94cc ALSA: hda/realtek: Enable headset mic of Acer TravelMate B311R-31 with ALC256 4181b271908a ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G14(G401) series with ALC289 246b9693026a ALSA: hda/realtek - change to suitable link model for ASUS platform 71319db6f3b1 ALSA: usb-audio: Fix race against the error recovery URB submission 25fd7ee3baeb ALSA: line6: Sync the pending work cancel at disconnection 91a6d4049c58 ALSA: line6: Perform sanity check for each URB creation 212425802dc6 HID: quirks: Ignore Simply Automated UPB PIM c0188ab5bc31 HID: quirks: Always poll Obins Anne Pro 2 keyboard e93ab4628452 HID: magicmouse: do not set up autorepeat bc94605df1f9 HID: logitech-hidpp: avoid repeated "multiplier = " log messages 7c4e6cfd922c slimbus: core: Fix mismatch in of_node_get/put 93b57bf835d2 clk: qcom: gcc: Add missing UFS clocks for SM8150 cb7b7928310f clk: qcom: gcc: Add GPU and NPU clocks for SM8150 cc490ea23f33 mtd: rawnand: oxnas: Release all devices in the _remove() path f8a2658d0fd7 mtd: rawnand: oxnas: Unregister all devices on error 4682749ce329 mtd: rawnand: oxnas: Keep track of registered devices 8463054e3d4e mtd: rawnand: brcmnand: fix CS0 layout ee73c81e386d mtd: rawnand: brcmnand: correctly verify erased pages e9f5e16f3228 mtd: rawnand: timings: Fix default tR_max and tCCS_min timings f1ad0fc9de60 mtd: rawnand: marvell: Fix probe error path be953ad71ce9 mtd: rawnand: marvell: Use nand_cleanup() when the device is not yet registered 5f59ce425f78 mtd: rawnand: marvell: Fix the condition on a return code eec70178983f RDMA/mlx5: Verify that QP is created with RQ or SQ 6b1aaceb0dab soc: qcom: rpmh-rsc: Allow using free WAKE TCS for active request e65ee5ad8903 soc: qcom: rpmh-rsc: Clear active mode configuration for wake TCS 9e56b18ca5a3 soc: qcom: rpmh: Invalidate SLEEP and WAKE TCSes before flushing new data 9edb7370f893 soc: qcom: rpmh: Update dirty flag only when data changes 033f56f7d3d6 perf stat: Zero all the 'ena' and 'run' array slot stats for interval mode c2e29cac6d89 PCI/PM: Call .bridge_d3() hook only if non-NULL d950d2e79f0f habanalabs: Align protection bits configuration of all TPCs d79e57db4544 apparmor: ensure that dfa state tables have entries b7d9b78ab901 soc: qcom: socinfo: add missing soc_id sysfs entry 8eeebe37c64e arm: dts: mt7623: add phy-mode property for gmac2 742b79562142 copy_xstate_to_kernel: Fix typo which caused GDB regression 319c3c7980c7 regmap: debugfs: Don't sleep while atomic for fast_io regmaps f62d7f91afa2 keys: asymmetric: fix error return code in software_key_query() c5acd9395d41 arm64: dts: spcfpga: Align GIC, NAND and UART nodenames with dtschema 2e224b5d3149 ARM: dts: socfpga: Align L2 cache-controller nodename with dtschema c8a4452da9f4 xprtrdma: fix incorrect header size calculations a75a8aabb2f4 Revert "thermal: mediatek: fix register index error" cc3188b3bab2 ARM: dts: Fix dcan driver probe failed on am437x platform 408ef501b894 fuse: don't ignore errors from fuse_writepages_fill() 9b810684b1da NFS: Fix interrupted slots by sending a solo SEQUENCE operation dc92d84b371f clk: AST2600: Add mux for EMMC clock 0392f18139aa clk: mvebu: ARMADA_AP_CPU_CLK needs to select ARMADA_AP_CP_HELPER 36e6ac265fc0 staging: comedi: verify array index is correct before using it 62013d49bcf6 usb: gadget: udc: atmel: fix uninitialized read in debug printk e435865c783f spi: spi-sun6i: sun6i_spi_transfer_one(): fix setting of clock rate f979982feb03 dmaengine: dmatest: stop completed threads when running without set channel e6b46f01d995 dmaengine: dw: Initialize channel before each transfer a6fe5dde5343 iio: adc: ad7780: Fix a resource handling path in 'ad7780_probe()' 28be430bbf13 bus: ti-sysc: Do not disable on suspend for no-idle 47ba42786d14 bus: ti-sysc: Fix sleeping function called from invalid context for RTC quirk 5a23897f7a41 bus: ti-sysc: Fix wakeirq sleeping function called from invalid context b2c7d6ce2d5e arm64: dts: meson-gxl-s805x: reduce initial Mali450 core frequency cbd8c92a8d51 arm64: dts: meson: add missing gxl rng clock 1d08f59081e5 phy: sun4i-usb: fix dereference of pointer phy0 before it is null checked 684a5568df11 dmaengine: sh: usb-dmac: set tx_result parameters f5c6ebd5146e soundwire: intel: fix memory leak with devm_kasprintf 7005a4885a29 iio:health:afe4404 Fix timestamp alignment and prevent data leak. ba3788d243cf ALSA: usb-audio: Add registration quirk for Kingston HyperX Cloud Flight S 1510d8ab7bc9 bus: ti-sysc: Use optional clocks on for enable and wait for softreset bit 7637bba4c621 ACPI: video: Use native backlight on Acer TravelMate 5735Z 0a330aa202c9 Input: mms114 - add extra compatible for mms345l 75ff2767e85c ALSA: usb-audio: Add quirk for Focusrite Scarlett 2i2 695fcb612bf1 ALSA: usb-audio: Add registration quirk for Kingston HyperX Cloud Alpha S 18f2cbb28730 ACPI: video: Use native backlight on Acer Aspire 5783z dc1e4db658a6 ALSA: usb-audio: Rewrite registration quirk handling 592b179fa149 mmc: sdhci: do not enable card detect interrupt for gpio cd type e60b02922876 doc: dt: bindings: usb: dwc3: Update entries for disabling SS instances in park mode 54100aa32f66 ALSA: usb-audio: Create a registration quirk for Kingston HyperX Amp (0951:16d8) 35aef79e81a1 Input: goodix - fix touch coordinates on Cube I15-TC 9c16b5e8b5d9 ALSA: usb-audio: Add support for MOTU MicroBook IIc d70a6425a6e2 bus: ti-sysc: Detect EDMA and set quirk flags for tptc d09e12709acd arm64: dts: g12-common: add parkmode_disable_ss_quirk on DWC3 controller 234021eaddcb bus: ti-sysc: Detect display subsystem related devices e7e98dd42aae bus: ti-sysc: Handle module unlock quirk needed for some RTC e2c37939a795 bus: ti-sysc: Consider non-existing registers too when matching quirks f7280837df83 bus: ti-sysc: Rename clk related quirks to pre_reset and post_reset quirks 69fbdbb4fa0c scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 23a609417361 drm/sun4i: tcon: Separate quirks for tcon0 and tcon1 on A20 de6d9aa5f7c1 ARM: at91: pm: add quirk for sam9x60's ulp1 4301497fdc68 HID: quirks: Remove ITE 8595 entry from hid_have_special_driver 1c96af59a904 mmc: mmci: Support any block sizes for ux500v2 and qcom variant cf911ee9f49d ARM: OMAP2+: use separate IOMMU pdata to fix DRA7 IPU1 boot 3ea583b09537 ARM: OMAP2+: Add workaround for DRA7 DSP MStandby errata i879 8d158e3453eb ARM: OMAP4+: remove pdata quirks for omap4+ iommus 370cc95c00ae net: sfp: add some quirks for GPON modules 17918c99abc1 net: sfp: add support for module quirks 11a6ff1df31e Revert "usb/xhci-plat: Set PM runtime as active on resume" 4cf55dcd4fa4 Revert "usb/ehci-platform: Set PM runtime as active on resume" add6b48ad376 Revert "usb/ohci-platform: Fix a warning when hibernating" 267516d7009e net: ethernet: mvneta: Add back interface mode validation beee39d71e87 net: ethernet: mvneta: Do not error out in non serdes modes 131ab7a0cdb8 net: macb: call pm_runtime_put_sync on failure path fefc7580af39 of: of_mdio: Correct loop scanning logic 3f2f3edcc075 net: dsa: bcm_sf2: Fix node reference count cb2801017057 spi: spi-fsl-dspi: Fix lockup if device is shutdown during SPI transfer baf22f66c9cf iio:health:afe4403 Fix timestamp alignment and prevent data leak. 5f8fe8ab4463 iio:pressure:ms5611 Fix buffer element alignment 5a6378911f22 iio:humidity:hts221 Fix alignment and data leak issues 74953efffb3d iio: pressure: zpa2326: handle pm_runtime_get_sync failure 4ecff6ee264f iio: mma8452: Add missed iio_device_unregister() call in mma8452_probe() b4172e024d48 iio: core: add missing IIO_MOD_H2/ETHANOL string identifiers ead750685280 iio: magnetometer: ak8974: Fix runtime PM imbalance on error 0b16921edc61 iio:humidity:hdc100x Fix alignment and data leak issues 7cc8cad2bef9 iio:magnetometer:ak8974: Fix alignment and data leak issues 4c7924060fe0 arm64/alternatives: don't patch up internal branches 77a181fba1e5 i2c: eg20t: Load module automatically if ID matches 27874115b059 gfs2: read-only mounts should grab the sd_freeze_gl glock 827139ad9db5 tpm_tis: extra chip->ops check on error path in tpm_tis_core_init a8f13826f9c6 arm64/alternatives: use subsections for replacement sequences 91e81d2262e7 cifs: prevent truncation from long to int in wait_for_free_credits 43046f786714 dt-bindings: mailbox: zynqmp_ipi: fix unit address ea9d6016b1a4 m68k: mm: fix node memblock init 560dbf34dec8 m68k: nommu: register start of the memory with memblock c3adbd37c054 blk-mq-debugfs: update blk_queue_flag_name[] accordingly for new flags 9025a5589c03 thermal/drivers: imx: Fix missing of_node_put() at probe time c4db485dd3f2 x86/fpu: Reset MXCSR to default in kernel_fpu_begin() d2bfb9eb439c drm/exynos: fix ref count leak in mic_pre_enable f886b67c6b28 drm/exynos: Properly propagate return value in drm_iommu_attach_device() 0885be75f1be drm/msm/dpu: allow initialization of encoder locks during encoder init 5d6891a5a627 drm/msm: fix potential memleak in error branch f608a77e0cc9 arm64: arch_timer: Disable the compat vdso for cores affected by ARM64_WORKAROUND_1418040 86e3c7c70c63 arm64: arch_timer: Allow an workaround descriptor to disable compat vdso 71d65a3fc628 arm64: Introduce a way to disable the 32bit vdso 36d60eba862d ip: Fix SO_MARK in RST, ACK and ICMP packets 38b122c0af04 cgroup: Fix sock_cgroup_data on big-endian. 94886c86e833 cgroup: fix cgroup_sk_alloc() for sk_clone_lock() 171644727abf tcp: md5: allow changing MD5 keys in all socket states 8ee263bd11af tcp: md5: refine tcp_md5_do_add()/tcp_md5_hash_key() barriers 30d015f5ecd9 vlan: consolidate VLAN parsing code and limit max parsing depth f40c3a8438fc tcp: md5: do not send silly options in SYNCOOKIES 1c8bad567b5d tcp: md5: add missing memory barriers in tcp_md5_do_add()/tcp_md5_hash_key() f52293aefe18 tcp: make sure listeners don't initialize congestion-control state 7eec9f331223 tcp: fix SO_RCVLOWAT possible hangs under high mem pressure 9b7fd81cf9b6 sched: consistently handle layer3 header accesses in the presence of VLANs aafe9dd13f42 net: usb: qmi_wwan: add support for Quectel EG95 LTE modem edbde451bf3f net_sched: fix a memory leak in atm_tc_init() d55dad8b1d89 net: dsa: microchip: set the correct number of ports 64d782212646 net: Added pointer check for dst->ops->neigh_lookup in dst_neigh_lookup_skb a70a667736ed llc: make sure applications use ARPHRD_ETHER 73e42f4d2d13 l2tp: remove skb_dst_set() from l2tp_xmit_skb() f8646548ee46 ipv6: Fix use of anycast address with loopback 75270f819666 ipv6: fib6_select_path can not use out path for nexthop objects 1418b60e998b ipv4: fill fl4_icmp_{type,code} in ping_v4_sendmsg 7b42410d3556 genetlink: remove genl_bind aef7a9e21aa6 bridge: mcast: Fix MLD2 Report IPv6 payload length check 587ccf092e28 net: rmnet: fix lower interface leak d06c17fcd7c0 net: atlantic: fix ip dst and ipv6 address filters de93c1c104ac crypto: atmel - Fix build error of CRYPTO_AUTHENC 1f21bb70d7b1 crypto: atmel - Fix selection of CRYPTO_AUTHENC c57b1153a58a Linux 5.4.52 1a70857590f7 s390/maccess: add no DAT mode to kernel_write 627d15eecb61 s390: Change s390_kernel_write() return type to match memcpy() d64dc6118a0f pwm: jz4740: Fix build failure d13a78d13d2c perf scripts python: exported-sql-viewer.py: Fix unexpanded 'Find' result 64e8b913c30b perf scripts python: exported-sql-viewer.py: Fix zero id in call tree 'Find' result 2038998170b0 perf scripts python: exported-sql-viewer.py: Fix zero id in call graph 'Find' result e51a811c242e perf scripts python: export-to-postgresql.py: Fix struct.pack() int argument 299ffecbd530 dm writecache: reject asynchronous pmem devices 49a7ac29f6a0 blk-mq: consider non-idle request as "inflight" in blk_mq_rq_inflight() 2dfd182451d9 s390/mm: fix huge pte soft dirty copying 0d62bc7e960f s390/setup: init jump labels before command line parsing e6de7cbbcacb ARC: elf: use right ELF_ARCH 854827a2697a ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE 37634f502b53 mmc: meson-gx: limit segments to 1 when dram-access-quirk is needed b9fe45efa671 dm: use noio when sending kobject event ede24894e8bf drm/amdgpu: don't do soft recovery if gpu_recovery=0 ef8164f03a86 drm/radeon: fix double free 026f830e0ba3 btrfs: fix double put of block group with nocow 808b2b3ea85a btrfs: fix fatal extent_buffer readahead vs releasepage race 5a046d75acf7 Revert "ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb" baef8d1027b0 bpf: Check correct cred for CAP_SYSLOG in bpf_dump_raw_ok() e5541c6347b7 kprobes: Do not expose probe addresses to non-CAP_SYSLOG 314ac273f005 module: Do not expose section addresses to non-CAP_SYSLOG 0d5d9413a692 module: Refactor section attr into bin attribute 2a6c8d3d0dd0 kallsyms: Refactor kallsyms_show_value() to take cred 79aaeec71271 KVM: arm64: Fix kvm_reset_vcpu() return code being incorrect with SVE a494529add3f KVM: x86: Mark CR4.TSD as being possibly owned by the guest d29a79fa7559 KVM: x86: Inject #GP if guest attempts to toggle CR4.LA57 in 64-bit mode 3f108b168002 KVM: x86: bit 8 of non-leaf PDPEs is not reserved 388429498641 KVM: arm64: Annotate hyp NMI-related functions as __always_inline b956ec9afc2e KVM: arm64: Stop clobbering x0 for HVC_SOFT_RESTART a20aa35b839a KVM: arm64: Fix definition of PAGE_HYP_DEVICE 9b742b6a3b78 ALSA: hda/realtek: Enable headset mic of Acer Veriton N4660G with ALC269VC 8254cddab9a4 ALSA: hda/realtek: Enable headset mic of Acer C20-820 with ALC269VC c6fbfa6dd96b ALSA: hda/realtek - Enable audio jacks of Acer vCopperbox with ALC269VC 615313fe4294 ALSA: hda/realtek - Fix Lenovo Thinkpad X1 Carbon 7th quirk subdevice id 92b598132eec ALSA: usb-audio: Add implicit feedback quirk for RTX6001 caead988fe61 ALSA: usb-audio: add quirk for MacroSilicon MS2109 02b2f10e5c9f ALSA: hda - let hs_mic be picked ahead of hp_mic 3496a18a1c3b ALSA: opl3: fix infoleak in opl3 4a215725dec7 IB/hfi1: Do not destroy link_wq when the device is shut down 607fbc27d75f IB/hfi1: Do not destroy hfi1_wq when the device is shut down 6a882fb7232d mlxsw: pci: Fix use-after-free in case of failed devlink reload c9dcb4929ce2 mlxsw: spectrum_router: Remove inappropriate usage of WARN_ON() f62f896a56a2 net: macb: fix call to pm_runtime in the suspend/resume functions ad396c483dd5 net: macb: mark device wake capable when "magic-packet" property present 5d744ee94b49 net: macb: fix wakeup test in runtime suspend/resume routines 15442ef56405 bnxt_en: fix NULL dereference in case SR-IOV configuration fails 65fb9bbee611 net/mlx5e: Fix 50G per lane indication ce27893535ca net/mlx5: Fix eeprom support for SFP module f277e0be69d4 qed: Populate nvm-file attributes while reading nvm config partition. e89b828ae357 IB/mlx5: Fix 50G per lane indication 97d6855ac57d cxgb4: fix all-mask IP address comparison 2a4c5ff12f42 nbd: Fix memory leak in nbd_add_socket 06cee3572ed5 arm64: kgdb: Fix single-step exception handling oops 9e8f4623e292 RDMA/siw: Fix reporting vendor_part_id 1c54d0d9c4e6 ALSA: compress: fix partial_drain completion state 175b5aa7b964 net: hns3: fix use-after-free when doing self test ab8c4fd863f4 net: hns3: add a missing uninit debugfs when unload driver 5c0192d28513 smsc95xx: avoid memory leak in smsc95xx_bind 81ed1f9fd0b3 smsc95xx: check return value of smsc95xx_reset 3959bf65fe48 perf intel-pt: Fix PEBS sample for XMM registers da4b6eff382b perf intel-pt: Fix recording PEBS-via-PT with registers 9ca67a453273 perf report TUI: Fix segmentation fault in perf_evsel__hists_browse() 2d15663304f5 netfilter: conntrack: refetch conntrack after nf_conntrack_update() d9b8206e5323 net: dsa: microchip: set the correct number of ports fd3a612d9828 IB/sa: Resolv use-after-free in ib_nl_make_request() b0259e7056b1 net: cxgb4: fix return error value in t4_prep_fw 92002d59ecee net: mvneta: fix use of state->speed 4f412ae89e78 netfilter: ipset: call ip_set_free() instead of kfree() b709a08bc4d7 bpf, sockmap: RCU dereferenced psock may be used outside RCU block 2000bb546525 bpf, sockmap: RCU splat with redirect and strparser error or TLS 4625f4d5e4bf drm/mediatek: Check plane visibility in atomic_update a062088e675f nl80211: don't return err unconditionally in nl80211_start_ap() d63806c30706 gpio: pca953x: Fix GPIO resource leak on Intel Galileo Gen 2 137e7782bddd gpio: pca953x: Override IRQ for one of the expanders on Galileo Gen 2 91f8d05b4b56 net: qrtr: Fix an out of bounds read qrtr_endpoint_post() 1128ed7e1dd0 sched/core: Check cpus_mask, not cpus_ptr in __set_cpus_allowed_ptr(), to fix mask corruption 4e9631a90830 x86/entry: Increase entry_stack size to a full page 010f93079a26 nvme-rdma: assign completion vector correctly 074ae0cd8407 block: release bip in a right way in error path b1b252d8d9c5 usb: dwc3: pci: Fix reference count leak in dwc3_pci_resume_work 2485b6afadd7 scsi: mptscsih: Fix read sense data size 10533390da7c ARM: imx6: add missing put_device() call in imx6q_suspend_init() 15fa5dfaa4e8 cifs: update ctime and mtime during truncate 9c732cccb04b s390/kasan: fix early pgm check handler execution a9c816494dc2 drm: panel-orientation-quirks: Use generic orientation-data for Acer S1003 fcab0d2f1b91 drm: panel-orientation-quirks: Add quirk for Asus T101HA panel b7556e7ca381 iommu/vt-d: Don't apply gfx quirks to untrusted devices 1a570b8faea4 powerpc/kvm/book3s64: Fix kernel crash with nested kvm & DEBUG_VIRTUAL 4e4ddeee7aff ibmvnic: continue to init in CRQ reset returns H_CLOSED ce4a93b9e607 i40e: protect ring accesses with READ- and WRITE_ONCE 2e5a3586ca27 ixgbe: protect ring accesses with READ- and WRITE_ONCE 203cfe694e9d net: ethernet: mvneta: Add 2500BaseX support for SoCs without comphy 996bd0778a37 net: ethernet: mvneta: Fix Serdes configuration for SoCs without comphy 8f23c0dcd096 spi: spidev: fix a potential use-after-free in spidev_release() 010de5718162 spi: spidev: fix a race between spidev_release and spidev_remove 44b6e192e05f ALSA: hda: Intel: add missing PCI IDs for ICL-H, TGL-H and EKL 04197a8184e7 ASoC: SOF: Intel: add PCI ID for CometLake-S b1589bb5b04e drm: mcde: Fix display initialization problem 408ddca5c737 gpu: host1x: Detach driver on unregister d78a975525f3 drm/tegra: hub: Do not enable orphaned window group dbe5fef1c2b1 drm/ttm: Fix dma_fence refcnt leak when adding move fence 6bfa3b616c52 ARM: dts: omap4-droid4: Fix spi configuration and increase rate 3965fe7c0a77 perf/x86/rapl: Fix RAPL config variable bug 5f121ba6b625 perf/x86/rapl: Move RAPL support to common x86 code 14e8708fffee regmap: fix alignment issue 2ec3c8329aca spi: spi-fsl-dspi: Fix lockup if device is removed during SPI transfer 6b64220baf4a spi: spi-fsl-dspi: Adding shutdown hook eb676bef0224 KVM: s390: reduce number of IO pins to 1
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 60fec4d1792b8467acb53949c695775c7e7ae037) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 76e8c645cb2568c2dfa014af0eeac36d8f8b60ff) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Steve Sakoman [Mon, 3 Aug 2020 22:26:40 +0000 (12:26 -1000)]
glib-2.0: update 2.62.5 to 2.62.6
Stable branch bug fix and security release.
One patch update, none deleted.
This is expected to be the final release in the 2.62.x stable series
Changes:
Fix SOCKS5 username/password authentication (#1986)
Exception handling fixes on Windows (!1373)
Bugs fixed:
1986 Socks5 Proxy: Authentication seems broken
1988 Socks5 Proxy: Wrong error returned when using no authentication
2049 Crash in g_array_copy
1378 Backport !1373 win32 exception fixes to glib-2-62
1380 Backport !1254 “giomodule: gio modules are no longer installed in bindir on MSVC” to glib-2-62
1393 Backport !1390 “garray: Fix copying an array with reserved elements” to glib-2-62
1394 Backport part of !1375 “tests: Skip g-file-info-filesystem-readonly test if bindfs fails” to glib-2-62
1411 Backport SOCKS5 fixes to glib-2-62
Steve Sakoman [Mon, 3 Aug 2020 16:41:55 +0000 (06:41 -1000)]
glib-2.0: update 2.62.4 to 2.62.5
Stable branch bug fix and security release.
One patch updated, three removed since they are no longer needed
Changes (from release notes):
Fix potential relative read when calling g_printerr(), which could lead to a
denial of service from a setuid-root process being used to block access to the
TTY for another user (#1919)
Fix SOCKS proxy resolver sometimes not being used when resolving addresses
via Happy Eyeballs (CVE-2020-6750) (#1989)
Several other Happy Eyeballs fixes for address resolution (#1871, #1872, #1902)
Fix parsing of full Julian day range from $TZ environment variable (#1999)
Several race condition/crash fixes (!1353, !1357)
Bugs fixed:
1919 read from relative path in g_printerr() in 2.58.3
1995 Tracker issue for Happy Eyeballs regressions
1999 GTimeZone fails to accept full Julian day range when parsing the direct $TZ string format
1323 Backport !1314 “gtimezone: fix parsing of Julian day in POSIX TZ format” to glib-2-62
1331 Backport !1330 “W32: Correctly set st_ino when doing private stat()” to glib-2-62
1352 Backport !1351 “glib.supp: update g-threaded-resolver-getaddrinfo-config” to glib-2-62
1361 Backport !1353 GMainContext source reference fixes to glib-2-62
1365 Refactor g_socket_client_connect_async()
1370 Backport !1369 “build: Rework path construction to reliably add prefix” to glib-2-62
1371 Backport !1357 “gunixmounts: Make GUnixMountMonitor thread-safe” to glib-2-62
Few years ago we switched to using mips32r2 tunings for qemumips however
the default CPU emulation still remained 24Kf which is not optimal for
mips32r2 ISA for qemu [1], therefore switch to recommended 32Kf for CPU
emulation when running qemu in system mode
Boot time to console is ~1s faster with this setting, hopefully this
should speed up qemumips in general
gnutls: Fix krb5 code license to GPLv2.1+ to match the LICENSE file.
This was discussed and accepted upstream by the project so their license is consistent.
Please reference to https://gitlab.com/gnutls/gnutls/-/issues/1018
and https://gitlab.com/gnutls/gnutls/-/merge_requests/1285.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 267d07301c79c24969c169add05284f612c41d77) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd88c81804a4a52b9875f2244c9f35911539be96) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Yi Zhao [Mon, 20 Jul 2020 06:33:03 +0000 (14:33 +0800)]
bind: upgrade 9.11.19 -> 9.11.21
Bug and CVE fixes only
Detailed list of changes at:
https://gitlab.isc.org/isc-projects/bind9/-/blob/v9_11_21/CHANGES
Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6749532f94f435e6771d66d3fa225e676753478) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Viktor Rosendahl [Thu, 30 Jul 2020 10:00:21 +0000 (12:00 +0200)]
boost: backport fix to make async_pipes work with asio
async_pipe is missing the executor_type type, which is expected by
asio in /usr/include/boost/asio/impl/read.hpp. Without this, it's
not possible to even compile code that uses constructs such as:
This is only relevant for Dunfell because master has already moved to
boost-1.73.0 in which this bug has been fixed. The bug is also not
present in Zeus, which uses boost-1.71.0.
Signed-off-by: Viktor Rosendahl <Viktor.Rosendahl@bmw.de> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Matt Madison [Tue, 28 Jul 2020 12:04:40 +0000 (05:04 -0700)]
cogl-1.0: correct X11 dependencies
cogl depends on libxdamage when configured for X11 support.
A dependency was added for this in 2012 with 959a2f6d88d8fa6874fff83b7a1f0e7d4e36b887, but that addition
was lost when the recipe was reworked in 2013 with b508fdd2b19ca30da8d09caf646897dc4cf195c8. That commit also
added a dependency on libxi, which is not actually needed.
The missing dependency doesn't cause problems in most cases,
since mesa also depends on libxdamage, but when an alternative
opengl implementation such as libglvnd is used, cogl fails
to configure.
Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7651a63c508562caf1a3732cb49af50bccc98e8b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Konrad Weihmann [Sun, 26 Jul 2020 14:10:06 +0000 (16:10 +0200)]
cve-update: handle baseMetricV2 as optional
Currently in NVD DB an item popped up, which hasn't set baseMetricV2.
Let the parser handle it as an optional item.
In case use baseMetricV2 before baseMetricV3
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fdcbf3f28289188c5a97664d1421d4a5c4991eda) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Lee Chee Yang [Fri, 24 Jul 2020 04:16:24 +0000 (12:16 +0800)]
checklayer: check layer in BBLAYERS before test
layer under test should absent from BBLAYERS when running
yocto-check-layer. This allow to get signatures before layer
under test. There are existing steps to add the layer under
test to BBLAYERS after getting initial signatures.
add steps to check for layer under test in BBLAYERS before
running any test, skip test for the layer if the layer under
test exist in BBLAYERS.
[YOCTO #13176]
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be02e8dbfb0d1decce125322f9f1e11a649756c0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Andrei Gherzan [Fri, 24 Jul 2020 17:12:05 +0000 (18:12 +0100)]
initscripts: Fix populate-volatile.sh bug when file/dir exists
The blocks which test for entry exitence (file or directory) use a
`A && B || C` syntax. This form is not behaving as a if-then-else block
even the code logic assumes that. C may run when A is true which breaks
the case where VERBOSE is 'no' but the file/directory exists.
Along with fixing these specific issues, this patch fixes the other
instances where blocks of form `A && B || C` are used as if-then-else.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b9ea22acb66554925720e04cf24100664234574) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Andrei Gherzan [Fri, 24 Jul 2020 17:12:04 +0000 (18:12 +0100)]
initscripts: Fix various shellcheck warnings in populate-volatile.sh
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0a128a238f63d52aa82f8c63ee2f84ab528b3346) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Lee Chee Yang [Thu, 23 Jul 2020 01:16:13 +0000 (09:16 +0800)]
buildhistory: use pid for temporary txt file name
buildhistory create .txt file bh_installed_pkgs.txt and
bh_installed_pkgs_deps.txt while listing down installed package.
These file is later removed in buildhistory_get_installed().
when multiple process runs in parellal there are chances to race for
the file where one process created the file while another task remove
the file right after it.
using different file name for each process should avoid the race. So
add PID to the file name to make it unique.
[yocto #13709]
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 214d236d93700abffa2d586cc744a00455818fa4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Changqing Li [Tue, 21 Jul 2020 03:06:03 +0000 (11:06 +0800)]
gtk-immodules-cache.bbclass: fix post install scriptlet error
package libgtk-3.0 don't install dir /usr/lib/gtk-3.0/3.0.0/ by default.
when install package gtk-immodule-xim, it is possible met below error:
/var/tmp/rpm-tmp.tlfoeo: line 17: /usr/lib/gtk-3.0/3.0.0/immodules.cache: No such file or directory
warning: %post(gtk-immodule-xim-2.24.32-r0.0.cortexa72) scriptlet failed, exit status 1
fix by create the dir when try to write to /usr/lib/gtk-3.0/3.0.0/immodules.cache
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c689e120961d9d20386c8b822d71d778d4e6df7b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
settimeofday(2) has been deprecated as of glibc 2.31
which hwclock makes use of. This patch makes hwclock
compatible with glibc v2.31
See patch for more details:
busybox/0001-hwclock-make-glibc-2.31-compatible.patch
Fixes [YOCTO #13981]
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ross Burton [Tue, 21 Jul 2020 15:48:15 +0000 (16:48 +0100)]
startup-notification: add time_t type mismatch patch from upstream
Backport a patch to fix issues where sizeof(time_t) != sizeof(long).
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9c3a6d74765e636a8038fe3aaa5dfc8b550590a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Daniel Ammann [Mon, 20 Jul 2020 11:08:17 +0000 (13:08 +0200)]
image.bbclass: improve wording when image size exceeds the specified limit
Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fcaab9d686a4afe53a4693f3b30634215d682389) Signed-off-by: Steve Sakoman <steve@sakoman.com>
classes/package: Use HOST_OS for runtime dependencies
The code was using TARGET_OS to try and detect what type of OS the
packages would be running on, but this is incorrect. TARGET_OS is the OS
for which the package will generate output (e.g. GCC output target or
GDB debugging target). The OS where the package will run is the HOST_OS.
Note that HOST_OS only differs from TARGET_OS when doing a
canadian cross compile, and even then in our case only when doing so for
a non-Linux host (e.g. MinGW).
Fix the code to use HOST_OS instead.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f284c5b2df220b520b025a59874e04ef4becd829) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Fixes the class to use HOST_OS and HOST_ARCH to set the cmake SYSTEM
variables. The HOST variables should be used instead of
TARGET_OS/TARGET_ARCH because we want to control how cmake compiles for
where the package is going to run (the host), not what it will be
generating output for (the target). The distinction is only really
relevant when building canadian cross recipes.
Also fix up the host OS detection to account for MinGW by setting
CMAKE_SYSTEM_NAME to "Windows". This eliminates the need for meta-mingw
to patch this in all the cmake recipes it builds.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 01245db2893e39ffb5d4a00e4689f048d0698974) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Mon, 20 Jul 2020 10:54:33 +0000 (11:54 +0100)]
oeqa/qemurunner: Add priority/nice information for running processes
We're seeing failures due to system load. In theory we've set process
nice levels which should compensate for this. Add debugging so we can
find out if they're being correctly applied.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e4e345bba8216b9b5623682206a7dae7cad261c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Fri, 17 Jul 2020 12:56:32 +0000 (08:56 -0400)]
linux-yocto-rt/5.4: fix mmdrop stress test issues
Integrating the following commit(s) to linux-yocto/5.4:
508b4e6ada7f sched: Remove unexpected mmdrop on RT
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8500665cb8da792bb92a484e286f3935cf85e2b2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Fri, 17 Jul 2020 12:56:31 +0000 (08:56 -0400)]
linux-yocto/5.4: update to v5.4.51
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
1c54d3c15afa Linux 5.4.51 8ba1913cd6ba efi: Make it possible to disable efivar_ssdt entirely 43986c32ee00 dm zoned: assign max_io_len correctly 215e562251bb x86/resctrl: Fix memory bandwidth counter width for AMD d827fe702e07 mm, compaction: make capture control handling safe wrt interrupts 64a94c550c44 mm, compaction: fully assume capture is not NULL in compact_zone_order() 2a9278ac9c55 irqchip/gic: Atomically update affinity 7ba23593cbc5 dma-buf: Move dma_buf_release() from fops to dentry_ops 4ae695a05516 drm/amdgpu/atomfirmware: fix vram_info fetching for renoir 2b8c0876bf71 drm/amdgpu: use %u rather than %d for sclk/mclk 94de85d16b0c drm/amd/display: Only revalidate bandwidth on medium and fast updates 032343ed6927 MIPS: Add missing EHB in mtc0 -> mfc0 sequence for DSPen 2e859b14da39 MIPS: lantiq: xway: sysctrl: fix the GPHY clock alias names 71a20b798da3 cifs: Fix the target file was deleted when rename failed. 49dae9bed7dd SMB3: Honor 'handletimeout' flag for multiuser mounts 7ab27439fec7 SMB3: Honor lease disabling for multiuser mounts 0d5824aea7a0 SMB3: Honor persistent/resilient handle flags for multiuser mounts d56787683c61 SMB3: Honor 'seal' flag for multiuser mounts e0ed5a36fb3a Revert "ALSA: usb-audio: Improve frames size computation" fe05e114d0fd nfsd: apply umask on fs without ACL support 4ee7f1d2f1c9 spi: spi-fsl-dspi: Fix external abort on interrupt in resume or exit paths 9d60af5c3bb3 i2c: mlxcpld: check correct size of maximum RECV_LEN packet b460fc9d0525 i2c: algo-pca: Add 0x78 as SCL stuck low status for PCA9665 a632f91f7a9c samples/vfs: avoid warning in statx override cd62eeb31512 nvme: fix a crash in nvme_mpath_add_disk c64141c68f72 nvme: fix identify error status silent ignore 7d3f489e61b6 SMB3: Honor 'posix' flag for multiuser mounts 8964c93436ad virtio-blk: free vblk-vqs in error path of virtblk_probe() f795a88eade5 drm: sun4i: hdmi: Remove extra HPD polling c84138b3c162 nfsd: fix nfsdfs inode reference count leak 2571e1735602 nfsd4: fix nfsdfs reference count loop 31ec38ec9cd5 thermal/drivers/rcar_gen3: Fix undefined temperature if negative a65bde001008 thermal/drivers/mediatek: Fix bank number settings on mt8183 c9426817eac7 hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_meter_add() 3e7bd7e10639 hwmon: (max6697) Make sure the OVERT mask is set correctly 0465f54c5cc4 cxgb4: fix SGE queue dump destination buffer context 6bcb00d08361 cxgb4: use correct type for all-mask IP address comparison f68bda772639 cxgb4: fix endian conversions for L4 ports in filters 180fbf10a26d cxgb4: parse TC-U32 key values and masks natively 0dc4dd433b94 cxgb4: use unaligned conversion for fetching timestamp 8a1b8e64204e RDMA/counter: Query a counter before release 53e9b62672f7 rxrpc: Fix afs large storage transmission performance drop 60d7de28e0ca drm/msm/dpu: fix error return code in dpu_encoder_init cc0f67835302 crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock() 5d6b46a94dbb tpm: Fix TIS locality timeout problems 563e9491f0a3 selftests: tpm: Use /bin/sh instead of /bin/bash 1f98a9ed5799 kgdb: Avoid suspicious RCU usage warning e6b2e3b5e16e nvme-multipath: fix bogus request queue reference put 5e9523d7e8cd nvme-multipath: fix deadlock due to head->lock ad69fbe1d262 nvme-multipath: fix deadlock between ana_work and scan_work c4f007d3dbdd nvme-multipath: set bdi capabilities once 8f4aa3a6de24 s390/debug: avoid kernel warning on too large number of pages 517326aaf41e tools lib traceevent: Handle __attribute__((user)) in field names 6f3b8c269d88 tools lib traceevent: Add append() function helper for appending strings 3dca0a299ff4 usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect 0ff5b1b50d5c rxrpc: Fix race between incoming ACK parser and retransmitter fe688b144c14 mm/slub: fix stack overruns with SLUB_STATS f459e8fc7c69 mm/slub.c: fix corrupted freechain in deactivate_slab() 542d541c1edd sched/debug: Make sd->flags sysctl read-only ab9ee18f4646 usbnet: smsc95xx: Fix use-after-free after removal 58ab86e58b55 EDAC/amd64: Read back the scrub rate PCI register on F15h d0e533584a05 mm: fix swap cache node allocation mask 1c4404efcf2c io_uring: make sure async workqueue is canceled on exit
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 60ee8b2bc14af7bf5b69d00c5d6293f09125407c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Robert Yang [Thu, 16 Jul 2020 11:09:21 +0000 (04:09 -0700)]
openssl: openssl-bin requires openssl-conf to run
Fixed:
$ dnf install openssl-bin
$ openssl req -new -x509 -keyout lighttpd.pem -out lighttpd.pem -days 365 -nodes -batch
Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e93cd3b83a255294c9ab728adc7e237eb1321dab) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Kurt Kiefer [Fri, 17 Jul 2020 17:23:02 +0000 (10:23 -0700)]
linux-firmware: add ibt-20 package
Add the firmware packaging for Intel Bluetooth AX200, also known
as Intel CyclonePeak (CcP).
Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a701625a95ccb15a9db1a50a02143ba1ac8e6f1d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
For now, the nativesdk-rpm's %_var in /usr/lib/rpm/macros is
'/var'. This is causing error when running `rpm -qplv A.rpm'.
error: cannot open Packages index using db5 - Permission denied (13)
error: cannot open Packages database in /var/lib/rpm
The rpm in SDK should be using its own database. So we should remove
this configure option, letting the SDK's native sysroot prefix to be
there in %_var. In fact, '%_usr' in macros has already got the prefix.
After this change, we have in the macros file lines like below.
Kevin Hao [Tue, 14 Jul 2020 00:53:23 +0000 (08:53 +0800)]
wic/filemap: Fall back to standard copy when no way to get the block map
For some filesystems, such as aufs which may be used by docker container,
don't support either the SEEK_DATA/HOLE or FIEMAP to get the block
map. So add a FileNobmap class to fall back to standard copy when there
is no way to get the block map.
[Yocto #12988]
Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7934ed49179242f15b413c0275040a3bb6b68876) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Kevin Hao [Tue, 14 Jul 2020 00:53:22 +0000 (08:53 +0800)]
wic/filemap: Drop the unused get_unmapped_ranges()
This method is not used by any code, so drop it.
Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6513fd9302b9989f97fc9d95e76e06ad5d266774) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Kevin Hao [Tue, 14 Jul 2020 00:53:21 +0000 (08:53 +0800)]
wic/filemap: Drop the unused block_is_unmapped()
This method is not used by any code, so drop it.
Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb62a15349597ee026c67a0bb0a6ca2cc9bfe420) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Fri, 17 Jul 2020 12:56:33 +0000 (08:56 -0400)]
kernel-yocto: account for extracted defconfig in elements check
The test for whether or not scc should to invoked to generate a
config.queue was missing the newly created sccs_defconfig variable.
We need to test for that variable as well, or we may miss generating
the config.queue in some cases.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a95e171d3eaa6ab143d4f422c98a0ac7ad31761) Signed-off-by: Steve Sakoman <steve@sakoman.com>
One element of the error message guarded against None as a value
but I missed the other, fix this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dbce6baec68d7658453b8c44159e1d1fef746151) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Fri, 10 Jul 2020 09:00:58 +0000 (10:00 +0100)]
qemurunner: Add extra debug info when qemu fails to start
When qemu fails to start we're struggling to work out why. Add more debug
info which can at least confirm/rule out various things.
This code is only on the error handling path and more info shoudl help
us debug issues.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3001d0d8f3429e5ff0c37ea7192e85e7001cdb32) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Fri, 10 Jul 2020 08:53:39 +0000 (09:53 +0100)]
qemurunner: Ensure pid location is deterministic
The pid location could vary due to changes in cwd as only a filename
is specified, not a full path. This in theory could be resulting in
some of our autobuilder failures. Whilst its difficult to know if this
is causing a problem, Using a full path removes any question of such an
issue.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55c186ff410c99570242478b99ac24ebc40aa6bd) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b9995f8a8f08bbcb1e0915a7420ec7fb5623d604) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Python now expects regex strings to be prepended with r.
Silence pylint/autopep8 and similar warnings by identifying
these regex patterns as... regex patterns.
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0eae98a369d80340e48dc690d09a1364cde97973) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Tim Orling [Sat, 11 Jul 2020 03:48:07 +0000 (20:48 -0700)]
lib/oe/recipeutils.py: add AUTHOR; BBCLASSEXTEND
If you try to create a plugin for recipetool that
adds the AUTHOR field, it is impossible to put it
in the recommended position [1] without adding to the
recipe_progression variable.
While we are at it, also add BBCLASSEXTEND at the
end, as also recommended by [1].
[1] http://www.openembedded.org/wiki/Styleguide
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d687c5b7b10b3decdd80d5c2fd61072a87f061f2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Douglas [Fri, 10 Jul 2020 05:56:20 +0000 (17:56 +1200)]
nativesdk: Set the CXXFLAGS to the BUILDSDK_CXXFLAGS
... which default to the BUILDSDK_CFLAGS in any case.
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9b4bf667bac49131cee382f2f346fc054d5f28b9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Douglas [Fri, 10 Jul 2020 06:36:39 +0000 (18:36 +1200)]
nativesdk: clear MACHINE_FEATURES
Further to 96c20c9df7:
Try to avoid nativesdk recipes accidentally being dependent on MACHINE_FEATURES.
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 956e5bd6862ca898143a234aa85cc83b1f2d1807) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Konrad Weihmann [Wed, 8 Jul 2020 18:44:09 +0000 (20:44 +0200)]
ptest: append to FILES
as ptest FILES could be determined before or after the classes was
inherited, if is much safer to append to the setting of
FILES_${PN}-ptest
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 419ad35ffe7f5199e49a246ef9854f0810ca1d6c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Charlie Davies [Thu, 9 Jul 2020 19:22:08 +0000 (20:22 +0100)]
u-boot: fix condition to allow use of *.cfg
U-boot recipe supports .cfg files in SRC_URI, but bug in conditional
statement meant that the code was unreachable and the .cfg files
were never applied.
Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 766f827df4c3f76b1ef06acaba3c4f160c3791aa) Signed-off-by: Steve Sakoman <steve@sakoman.com>
For SDK environments where people still use subversion, let it easily being
added to buildtools-tarball to invite more developers relying on Yocto
based SDKs without much requirement to setup anything on the development
workplace.
Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 586a15b76f879f49c5224116cbf506b7ccf96cd2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Wed, 8 Jul 2020 21:01:34 +0000 (22:01 +0100)]
oeqa/selftest/sstatetests: Avoid polluting DL_DIR
Every selftest run is currently polluting the autobuilder DL_DIR. Avoid
this by using a temporary directory for the test which is cleaned up.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 002d321e02b3ce4f34c8a54211b109a5416c8a0e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
According to the PACKAGES variable, LICENSE_avahi-client is misspelled.
Additionally, the libavahi-client package actually only includes
LGPLv2.1+ software (as opposed to the global LICENSE variable).
Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8837b4735b5e96ae0f5542319e711dbda8c3849) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Lee Chee Yang [Mon, 11 May 2020 10:57:02 +0000 (18:57 +0800)]
bison: fix Argument list too long error
fix Argument list too long error when len(TMPDIR) = 410
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 73f05ba58dcee57e25712f9aee97535d9a32c982) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Yongxin Liu [Fri, 10 Jul 2020 08:39:22 +0000 (16:39 +0800)]
linux-firmware: move ibt-misc to the end of ibt packages
After commit 3ca1d3fa1d ("linux-firmware: fix the wrong file
path for ibt-misc"), if we don't change the location of ibt-misc
in PACKAGES, ibt-misc will include all ibt files and make other
individual ibt package empty.
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3a5403a9e5d0085d7b2f97a2e44b74a54c84d3f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Yongxin Liu [Wed, 8 Jul 2020 04:05:32 +0000 (12:05 +0800)]
linux-firmware: fix the wrong file path for ibt-misc
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7c1470ea6e337dc1d1e320d33267f06584e9752d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ross Burton [Tue, 7 Jul 2020 20:37:42 +0000 (21:37 +0100)]
insane: consolidate skipping of temporary do_package files
During the course of do_package_rpm and friends the tools create a
top-level CONTROL or DEBIAN directory in the package directory.
do_package_qa needs to be aware of these files and ignore them, this was
previously done in just one check but instead should be done once when
building the file list so all the checks don't see the temporary files.
[ YOCTO #13804 ]
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4b2f45c47a5c8c800626f12c14f216a5ab923512) Signed-off-by: Steve Sakoman <steve@sakoman.com>
coreutils: don't split stdbuf to own package with single-binary
Commit 992cec44 (coreutils: Move stdbuf into an own package
coreutils-stdbuf) breaks package-qa when the single-binary
PACKAGECONFIG is used:
ERROR: coreutils-8.32-r0 do_package_qa: QA Issue: /usr/bin/stdbuf contained in package coreutils-stdbuf requires /usr/bin/coreutils, but no providers found in RDEPENDS_coreutils-stdbuf? [file-rdeps]
ERROR: coreutils-8.32-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
With that PACKAGECONFIG, /usr/bin/stdbuf is just a simple "script"
containing the single line
Since there's no point splitting stdbuf to its own package when all
the functionality is in the single big coreutils binary anyway, fix
this by not creating the separate stdbuf package for the single-binary
case. But also make sure that the coreutils-stdbuf item always exists
so recipes can always RDEPEND on coreutils-stdbuf.
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74d24b5b895198898944260136d05e991a203c11) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Christian Eggers [Mon, 22 Jun 2020 12:53:58 +0000 (14:53 +0200)]
libnl: Extend for native/nativesdk
libnl is required by networkmanager.
Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3c96103a5063eeefb0c537227eab3f77616b9c0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Hannu Lounento [Tue, 7 Jul 2020 11:05:46 +0000 (14:05 +0300)]
openssl: move ${libdir}/[...]/openssl.cnf to ${PN}-conf
Some openssl command line operations like creating an X.509 CSR require
the file /usr/lib/ssl-1.1/openssl.cnf to exist and fail if it doesn't
root@qemux86-64:~# openssl req -out my.csr -new -newkey rsa:2048 -nodes -keyout my.key
Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory 140289168594176:error:02001002:system library:fopen:No such file or directory:../openssl-1.1.1g/crypto/bio/bss_file.c:69:fopen('/usr/lib/ssl-1.1/openssl.cnf','r') 140289168594176:error:2006D080:BIO routines:BIO_new_file:no such file:../openssl-1.1.1g/crypto/bio/bss_file.c:76:
which is the case e.g. in core-image-minimal with just the
package openssl-bin added to the image by declaring
IMAGE_INSTALL_append = " openssl-bin"
e.g. in local.conf.
The file did not exist in the aforementioned image / configuration
because it was packaged to the main openssl package
FILES_${PN} =+ "${libdir}/ssl-1.1/*"
(there is no other FILES specification that would match the file either)
and
Hence move /usr/lib/ssl-1.1/openssl.cnf (and openssl.cnf.dist as it
seems closely related) to the ${PN}-conf package to have it installed
with ${PN}-bin, which already (indirectly) depends on ${PN}-conf.
Note that the openssl recipe has the comment
Add the openssl.cnf file to the openssl-conf package. Make the libcrypto
package RRECOMMENDS on this package. This will enable the configuration
file to be installed for both the openssl-bin package and the libcrypto
package since the openssl-bin package depends on the libcrypto package.
but openssl-conf only contained /etc/ssl/openssl.cnf
/usr/lib/ssl-1.1/openssl.cnf is actually only a symlink that points to
../../../etc/ssl/openssl.cnf.
Other files and directories in /usr/lib/ssl-1.1/ were considered as well
because they seem to be configuration files and / or related to
(symlinks pointing to) /etc. They were not moved though, because based
on our use case and testing moving the openssl.cnf symlink is sufficient
for fixing the immediate problem and we lack knowledge about the other
files in order to make a decision to change their packaging.
Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c1632d7041fe0c18ec61abfa79a9c025af43c033) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Mon, 6 Jul 2020 16:27:04 +0000 (12:27 -0400)]
linux-yocto/5.4: update to v5.4.50
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e75220890bf6 Linux 5.4.50 a160afebd779 Revert "tty: hvc: Fix data abort due to race in hvc_open" ffd40b7962d4 xfs: add agf freeblocks verify in xfs_agf_verify cc66553004f4 dm writecache: add cond_resched to loop in persistent_memory_claim() a51e71cbf6e6 dm writecache: correct uncommitted_block when discarding uncommitted entry de1d70dad6f2 xprtrdma: Fix handling of RDMA_ERROR replies 4d35ca872ac3 NFSv4 fix CLOSE not waiting for direct IO compeletion 02917bef8f1b pNFS/flexfiles: Fix list corruption if the mirror count changes 7b99577ff376 SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment() c27d205baa82 sunrpc: fixed rollback in rpc_gssd_dummy_populate() 60bdb51d44fa Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate() c6f88afa6ae1 drm/amdgpu: add fw release for sdma v5_0 05124abe1fb0 drm/radeon: fix fb_div check in ni_init_smc_spll_table() 834a3aa2ceb4 drm: rcar-du: Fix build error 176a3c488476 drm/amd: fix potential memleak in err branch 0b3cc973f16f ring-buffer: Zero out time extend if it is nested and not absolute 9a59a88b3d31 tracing: Fix event trigger to accept redundant spaces c036eb65fdfc arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 voltage range 90bd9c611f21 arm64: dts: imx8mm-evk: correct ldo1/ldo2 voltage range 73f79b420bd0 arm64: perf: Report the PC value in REGS_ABI_32 mode 7a9e3e25a9d2 mm/memcontrol.c: add missed css_put() ff6aff13a8cf ocfs2: fix panic on nfs server over ocfs2 a8d82ebaee97 ocfs2: fix value of OCFS2_INVALID_SLOT 4685df862c8b ocfs2: load global_inode_alloc 7fa716a594a6 ocfs2: avoid inode removal while nfsd is accessing it fbca1aee1397 mm/slab: use memzero_explicit() in kzfree() a79c3a99ac81 btrfs: fix failure of RWF_NOWAIT write into prealloc extent beyond eof 863a197f7f10 btrfs: check if a log root exists before locking the log_mutex on unlink 53a081661047 btrfs: fix data block group relocation failure due to concurrent scrub 0a4dfc69ea7e btrfs: fix bytes_may_use underflow when running balance and scrub in parallel df13086490db x86/asm/64: Align start of __clear_user() loop to 16-bytes 3ceaf206b706 x86/cpu: Use pinning mask for CR4 bits needing to be 0 96a80133559f KVM: VMX: Stop context switching MSR_IA32_UMWAIT_CONTROL 8ccc6ac51eac KVM: nVMX: Plumb L2 GPA through to PML emulation 5774f9fa563b KVM: X86: Fix MSR range of APIC registers in X2APIC mode 0236040fcf97 erofs: fix partially uninitialized misuse in z_erofs_onlinepage_fixup 824d0b6225f3 ACPI: configfs: Disallow loading ACPI tables when locked down 3c4f9a5541bb ACPI: sysfs: Fix pm_profile_attr type 6ee4d61403d2 ALSA: hda/realtek: Add mute LED and micmute LED support for HP systems 1a1bc3ae6935 ALSA: hda/realtek - Add quirk for MSI GE63 laptop 0211e0d7f185 ALSA: hda: Add NVIDIA codec IDs 9a & 9d through a0 to patch table f06a6294e113 RISC-V: Don't allow write+exec only page mapping request in mmap 26b0956cb374 block: update hctx map when use multiple maps 72647ea37700 blktrace: break out of blktrace setup on concurrent calls d14eb5d8f0f4 kprobes: Suppress the suspicious RCU warning on kprobes 8ed391a3dbc4 recordmcount: support >64k sections 803d114e8f19 kbuild: improve cc-option to clean up all temporary files cbed4eb0a92f arm64: sve: Fix build failure when ARM64_SVE=y and SYSCTL=n a9a3b33b20aa s390/vdso: fix vDSO clock_getres() 68a3cbc44660 s390/vdso: Use $(LD) instead of $(CC) to link vDSO 7c17909a889d s390/ptrace: fix setting syscall number 64f7b10a91a4 s390/ptrace: pass invalid syscall numbers to tracing 453cfe187723 pinctrl: tegra: Use noirq suspend/resume callbacks 7851257375ae pinctrl: qcom: spmi-gpio: fix warning about irq chip reusage 8dba9173a37a test_objagg: Fix potential memory leak in error handling 6fd916e24935 net: alx: fix race condition in alx_remove 855dbf10c9a7 ibmvnic: Harden device login requests 07b8b2d46371 hwrng: ks-sa - Fix runtime PM imbalance on error b8403f7e45e5 riscv/atomic: Fix sign extension for RV64I 81616542adcc drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp() f7f181582f1b ata/libata: Fix usage of page address by page_address in ata_scsi_mode_select_xlat function 4dfc238a2441 sata_rcar: handle pm_runtime_get_sync failure cases 83bdf7f8b712 sched/core: Fix PI boosting between RT and DEADLINE tasks 3dc7138943b1 sched/deadline: Initialize ->dl_boosted bfd4981fe3d6 afs: Fix storage of cell names 5cee9e67596f i2c: core: check returned size of emulated smbus block read 4a6e6413059e i2c: fsi: Fix the port number field in status register 0935afc39797 clk: sifive: allocate sufficient memory for struct __prci_data b78bae5ab399 net: bcmgenet: use hardware padding of runt frames ae6d80f62c73 netfilter: ipset: fix unaligned atomic access 8d93603bf60c nvme: don't protect ns mutation with ns->head->lock f9dc5e708ab8 usb: renesas_usbhs: getting residue from callback_result 56ee0ed97df5 usb: gadget: udc: Potential Oops in error handling code a3a86515d017 scsi: lpfc: Avoid another null dereference in lpfc_sli4_hba_unset() 1e812023f478 ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram() 61f488765dff cxgb4: move handling L2T ARP failures to caller 065f225ef975 net: qede: fix use-after-free on recovery and AER handling f490e70fa7eb net: qede: fix PTP initialization on recovery 7180c8fc4a03 net: qed: fix excessive QM ILT lines consumption 32cf4ff4ec52 net: qed: fix NVMe login fails over VFs d0717a95a06b net: qede: stop adding events on an already destroyed workqueue 164d9a15652f net: qed: fix async event callbacks unregistering 5cf7f0c68405 net: qed: fix left elements count calculation 33104571648b iommu/vt-d: Update scalable mode paging structure coherency ede796e5ac87 iommu/vt-d: Enable PCI ACS for platform opt in hint 67db9e032b6e selftests/net: report etf errors correctly 34f45567462d RDMA/mad: Fix possible memory leak in ib_mad_post_receive_mads() d3edf648f398 s390/qeth: fix error handling for isolation mode cmds 9e89c2d5da87 ASoC: rockchip: Fix a reference count leak. 4aeb21584e55 RDMA/cma: Protect bind_list and listen_list while finding matching cm id f0078dc6750f RDMA/qedr: Fix KASAN: use-after-free in ucma_event_handler+0x532 66143ecb9e3c RDMA/rvt: Fix potential memory leak caused by rvt_alloc_rq d6fb7f457456 rxrpc: Fix handling of rwind from an ACK packet 73cff44e66e3 ARM: dts: NSP: Correct FA2 mailbox node f1ee7d3a2c1a bpf: Don't return EINVAL from {get,set}sockopt when optlen > PAGE_SIZE 0f3aa6c6d6ad devmap: Use bpf_map_area_alloc() for allocating hash buckets b93df0f6d7cd regmap: Fix memory leak from regmap_register_patch 5f6b834e110b x86/resctrl: Fix a NULL vs IS_ERR() static checker warning in rdt_cdp_peer_get() 99ab61cc8b75 ARM: dts: Fix duovero smsc interrupt for suspend 07f7c547698b ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect d909f9db0caa bpf, xdp, samples: Fix null pointer dereference in *_user code 0608288c6caa samples/bpf: xdp_redirect_cpu: Set MAX_CPUS according to NR_CPUS b59ed5668c4e ASoC: fsl_ssi: Fix bclk calculation for mono channel 3947dd237ef5 RDMA/siw: Fix pointer-to-int-cast warning in siw_rx_pbl() 34f105349369 regualtor: pfuze100: correct sw1a/sw2 on pfuze3000 1fa27418054f ASoC: qcom: common: set correct directions for dailinks 47c7ae0ca9d7 ASoc: q6afe: add support to get port direction 92444a57e365 efi/esrt: Fix reference count leak in esre_create_sysfs_entry. 8c236ac4376a efi/tpm: Verify event log header before parsing e50cf858d118 ASoC: q6asm: handle EOS correctly 41b2debf35ef xfrm: Fix double ESP trailer insertion in IPsec crypto offload. 475a7b09b4bb ARM: OMAP2+: Fix legacy mode dss_reset 527ddb339d6b bus: ti-sysc: Ignore clockactivity unless specified as a quirk 1f5197a5ad97 bus: ti-sysc: Flush posted write on enable and disable 21d511c6c9c2 IB/hfi1: Fix module use count flaw due to leftover module put calls 2a4c0bf5c70e IB/mad: Fix use after free when destroying MAD agent 588ad2b29ea3 loop: replace kill_bdev with invalidate_bdev d9a74e455070 cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip d6522bc320d7 xhci: Return if xHCI doesn't support LPM 14d46386226e xhci: Fix enumeration issue when setting max packet size for FS devices. c09be4f57956 xhci: Fix incorrect EP_STATE_MASK e615f58fa86c cifs/smb3: Fix data inconsistent when zero file range bd2f2ac0ab96 cifs/smb3: Fix data inconsistent when punch hole 572a11131ad3 cifs: Fix cached_fid refcnt leak in open_shroot 1f551a056b30 scsi: zfcp: Fix panic on ERP timeout for previously dismissed ERP action d3a251b84797 scsi: qla2xxx: Keep initiator ports after RSCN be8df027079b usb: cdns3: ep0: add spinlock for cdns3_check_new_setup a0668653be26 usb: cdns3: ep0: fix the test mode set incorrectly 79175ae5f996 usb: cdns3: trace: using correct dir value 25e1bb1e6c36 ALSA: usb-audio: Fix OOB access of mixer element list 1cc2d29710c2 ALSA: usb-audio: add quirk for Samsung USBC Headset (AKG) 0c4ff206043e ALSA: usb-audio: add quirk for Denon DCD-1500RE 74a7ad9d975c ALSA: usb-audio: Add implicit feedback quirk for SSL2+. 895ec8c86e13 usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs fe2daefad98a usb: host: ehci-exynos: Fix error check in exynos_ehci_probe() c1e71a51c2f5 xhci: Poll for U0 after disabling USB2 LPM 9d814bd14cff usb: host: xhci-mtk: avoid runtime suspend when removing hcd 9200037a6ab6 USB: ehci: reopen solution for Synopsys HC bug ffeb58a0daf0 usb: add USB_QUIRK_DELAY_INIT for Logitech C922 6b3eb8af48cb usb: dwc2: Postponed gadget registration to the udc class driver 195c1d1dd8cf USB: ohci-sm501: Add missed iounmap() in remove 2274a7421e73 binder: fix null deref of proc->context 3621616af99b ALSA: usb-audio: Fix potential use-after-free of streams 335add4ac891 fix a braino in "sparc32: fix register window handling in genregs32_[gs]et()" 32e5a15f1084 net: sched: export __netdev_watchdog_up() 9d3d40ec7dee btrfs: fix a block group ref counter leak after failure to remove block group 8ae850cddf27 Revert "i2c: tegra: Fix suspending in active runtime PM state" 052a7fdd86fb tcp_cubic: fix spurious HYSTART_DELAY exit upon drop in min RTT 942315134313 sch_cake: fix a few style nits b1aa7e5fa163 sch_cake: don't call diffserv parsing code when it is not needed ea2628dd586d sch_cake: don't try to reallocate or unshare skb unconditionally 3c6208267218 ip_tunnel: fix use-after-free in ip_tunnel_lookup() 9baf076d797f net: phy: Check harder for errors in get_phy_id() 568c5aaf6c2d ip6_gre: fix use-after-free in ip6gre_tunnel_lookup() 35db638692db tg3: driver sleeps indefinitely when EEH errors exceed eeh_max_freezes fe3a5d8fc372 tcp: grow window for OOO packets only for SACK flows cb22ce3346f2 tcp: don't ignore ECN CWR on pure ACK dc43f7e807a8 sctp: Don't advertise IPv4 addresses if ipv6only is set on the socket fea864489c90 rxrpc: Fix notification call on completion of discarded calls 6956830cf981 rocker: fix incorrect error handling in dma_rings_init a908f986ddf7 openvswitch: take into account de-fragmentation/gso_size in execute_check_pkt_len 27b70214fc69 net: usb: ax88179_178a: fix packet alignment padding 67571b1ab296 net: increment xmit_recursion level in dev_direct_xmit() 97a1d2aa6cdd net: Fix the arp error in some cases 742f2358b324 net: fix memleak in register_netdevice() 9e693934cd59 net: Do not clear the sock TX queue in sk_set_socket() 9f217d6dd796 net: core: reduce recursion limit value f32325b100ea net: bridge: enfore alignment for ethernet address 57a976e676e1 mvpp2: ethtool rxtx stats fix fa0d7e09da1d mld: fix memory leak in ipv6_mc_destroy_dev() 009b3e294a90 ibmveth: Fix max MTU limit f060107ccc97 geneve: allow changing DF behavior after creation ce06fcb6a66d enetc: Fix tx rings bitmap iteration range, irq handling b90ca32531bf block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failed
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ed1c289ceebd66f2bbfd9dfc8deae0985fbf239) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Vacek, Patrick [Mon, 6 Jul 2020 10:34:46 +0000 (10:34 +0000)]
oeqa/core/loader: fix regex to include numbers
The previous version only included the numbers 1 and 2 in the allowed characters
for the module name. In the past, this was (\w+) so all numbers were allowed.
Now it explicitly includes all numbers again.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f241fa493536ac953c1dac303917c6e75b459e28) Signed-off-by: Steve Sakoman <steve@sakoman.com>