Bruce Ashfield [Tue, 17 Aug 2021 15:27:32 +0000 (11:27 -0400)]
kernel-devsrc: fix 5.14+ objtool compilation
In v5.14+, x86 requires not just elfutils, but the elf headers
on the target to build objtool (required for 'scripts parepare'),
so we tweak our RDEPENDS to ensure that the right headers are
on the target.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 03ccc234386f753e1b0129ec557e67bcd04cc69e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Tue, 17 Aug 2021 15:27:31 +0000 (11:27 -0400)]
kernel-devsrc: 5.14+ updates
commit 6218d0f6b8dec [x86/syscalls: Switch to generic syscalltbl.sh]
means that x86 no longer has a syscall script to copy, which causes
a build error.
We already copy the generic syscall script (in scripts), so we just
catch errors for the copies to support older and 5.14+ kernels in
the same devsrc recipe.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5debc9bc25110b836b76927c61b2455e5e235a84) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Sun, 15 Aug 2021 15:08:54 +0000 (11:08 -0400)]
linux-yocto/5.4: update to v5.4.139
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e350cd02e293 Linux 5.4.139 03ff8a4f9db6 spi: mediatek: Fix fifo transfer a0f66ddf05c2 bpf, selftests: Adjust few selftest outcomes wrt unreachable code d3796e8f6b3d bpf, selftests: Add a verifier test for assigning 32bit reg states to 64bit ones 8dec99abcd74 bpf: Test_verifier, add alu32 bounds tracking tests fd568de5806f bpf: Fix leakage under speculation on mispredicted branches d2f790327f83 bpf: Do not mark insn as seen under speculative path verification 283d742988f6 bpf: Inherit expanded/patched seen count from old aux data a0a9546aaec3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout" 76f5314d7859 firmware: arm_scmi: Add delayed response status check 1b38f70bbc7c firmware: arm_scmi: Ensure drivers provide a probe function 44f522298c94 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled" 38f54217b423 ACPI: fix NULL pointer dereference 0ea2f55babb7 nvme: fix nvme_setup_command metadata trace event b508b652d4f3 net: Fix zero-copy head len calculation. bf692e7ef657 qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union() 6bc48348eca7 r8152: Fix potential PM refcount imbalance a57c75ff0700 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits e2cccb839a18 spi: stm32h7: fix full duplex irq handler handling b72f2d9e91e1 regulator: rt5033: Fix n_voltages settings for BUCK and LDO 86f2a3e9aae9 btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction b7f0fa2192c5 btrfs: fix race causing unnecessary inode logging during link and rename cb006da62a9e btrfs: do not commit logs and transactions during link and rename operations 174c27d0f9ef btrfs: delete duplicated words + other fixes in comments 7b90d57b09fa Linux 5.4.138 7eef18c0479b can: j1939: j1939_session_deactivate(): clarify lifetime of session object 18b536de3b97 i40e: Add additional info to PHY type error d21eb931109a Revert "perf map: Fix dso->nsinfo refcounting" 16447b2f5c66 powerpc/pseries: Fix regression while building external modules 265883d1d839 PCI: mvebu: Setup BAR0 in order to fix MSI 21734a31c9a0 can: hi311x: fix a signedness bug in hi3110_cmd() f4fa45b0f91e sis900: Fix missing pci_disable_device() in probe and remove dff00ce44891 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove e0310bbeaaa2 sctp: fix return value check in __sctp_rcv_asconf_lookup 408614108abd net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev() ac4983230616 net/mlx5: Fix flow table chaining 527feae56fe6 net: llc: fix skb_over_panic ede4c93860e6 mlx4: Fix missing error code in mlx4_load_one() acb97d4b2d0e net: Set true network header for ECN decapsulation 851946a68136 tipc: fix sleeping in tipc accept routine 194b71d28b26 i40e: Fix log TC creation failure when max num of queues is exceeded 834af62212c7 i40e: Fix queue-to-TC mapping on Tx 74aea4b7159a i40e: Fix firmware LLDP agent related warning b2ab34e862eb i40e: Fix logic of disabling queues 519582e44e6a netfilter: nft_nat: allow to specify layer 4 protocol NAT only 3a7a4cee7bec netfilter: conntrack: adjust stop timestamp to real expiry value 1c043783403c cfg80211: Fix possible memory leak in function cfg80211_bss_update 6cf2abea1018 nfc: nfcsim: fix use after free during module unload 6b313d0ffa71 NIU: fix incorrect error return, missed in previous revert c4663c162778 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT e9e2ce00aeda can: esd_usb2: fix memory leak 43726620b2f6 can: ems_usb: fix memory leak 819867389276 can: usb_8dev: fix memory leak a051dbd17b5b can: mcba_usb_start(): add missing urb->transfer_dma initialization 793581441b5c can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF c621638d0e6d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms a24d87b429a9 ocfs2: issue zeroout to EOF blocks eaaa4284e288 ocfs2: fix zero out valid data 9bd1092148b5 KVM: add missing compat KVM_CLEAR_DIRTY_LOG 7a94dfe5e2a0 x86/kvm: fix vcpu-id indexed array sizes 2dc291582cce Revert "ACPI: resources: Add checks for ACPI IRQ override" a8eec6979734 btrfs: mark compressed range uptodate only if all bio succeed 57429c1ec770 btrfs: fix rw device counting in __btrfs_free_extra_devids 61f2cbc792eb x86/asm: Ensure asm/proto.h can be included stand-alone 99372c38a948 net_sched: check error pointer in tcf_dump_walker()
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d5455d9e201e324b7cf7bb19381bfebb0e892312) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Sun, 15 Aug 2021 15:08:53 +0000 (11:08 -0400)]
linux-yocto/5.4: update to v5.4.137
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
5b1de8e15f0f Linux 5.4.137 ebb1b38be0c9 ipv6: ip6_finish_output2: set sk into newly allocated nskb 6c04123962f0 ARM: dts: versatile: Fix up interrupt controller node names befa900533a9 iomap: remove the length variable in iomap_seek_hole 83fb41b2f6e4 iomap: remove the length variable in iomap_seek_data 302e1acd4c26 cifs: fix the out of range assignment to bit fields in parse_server_interfaces 02a470e3c64a firmware: arm_scmi: Fix range check for the maximum number of pending messages 289dd584319f firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow e3acb292f092 hfs: add lock nesting notation to hfs_find_init af1178296d77 hfs: fix high memory mapping in hfs_bnode_read 89136a47e2e7 hfs: add missing clean-up in hfs_fill_super ded37d03440d ipv6: allocate enough headroom in ip6_finish_output2() f65b7f377cca sctp: move 198 addresses from unusable to private scope c8d32973ee6a net: annotate data race around sk_ll_usec c23b9a5610f9 net/802/garp: fix memleak in garp_request_join() 88c4cae3ed25 net/802/mrp: fix memleak in mrp_request_join() eef99860c677 cgroup1: fix leaked context root causing sporadic NULL deref in LTP 7f0365b4daaa workqueue: fix UAF in pwq_unbound_release_workfn() 85abe0d47fe6 af_unix: fix garbage collect vs MSG_PEEK af45f3527aa0 KVM: x86: determine if an exception has an error code only when injecting it. 828cab3c8c23 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include 525c5513b60d selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c 253dccefb5cb Linux 5.4.136 587f86b7a2a0 xhci: add xhci_get_virt_ep() helper f9d0c35556cd perf inject: Close inject.output on exit a9c103fa91e4 PCI: Mark AMD Navi14 GPU ATS as broken 11561d2f7b9d btrfs: compression: don't try to compress if we don't have enough pages 4980301e1c1f iio: accel: bma180: Fix BMA25x bandwidth register values d04f2582c47e iio: accel: bma180: Use explicit member assignment 4e0afa88954b net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear 2a4865d1547e net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz 7d8c06b8d2d2 drm: Return -ENOTTY for non-drm ioctls b5d7bebd96a3 nds32: fix up stack guard gap ba378b796088 rbd: always kick acquire on "acquired" and "released" notifications 13066d6628f0 rbd: don't hold lock_rwsem while running_list is being drained b12ead825f6c hugetlbfs: fix mount mode command line processing 60dbbd76f110 userfaultfd: do not untag user pointers 540eee8cbb3d selftest: use mmap instead of posix_memalign to allocate memory e706ac3fc82e ixgbe: Fix packet corruption due to missing DMA sync e617fa62f6cf media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf() 77713fb336ca btrfs: check for missing device in btrfs_trim_fs f899f24d34d9 tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop. 59a9f75fb2b6 tracing/histogram: Rename "cpu" to "common_cpu" 379d8da3353e firmware/efi: Tell memblock about EFI iomem reservations 281a94362bbe usb: dwc2: gadget: Fix sending zero length packet in DDMA mode. 167079fbfaa7 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick 811c4cdf2917 USB: serial: cp210x: fix comments for GE CS1000 f54ee7e16d0d USB: serial: option: add support for u-blox LARA-R6 family e28d28eb9be6 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() 863d071dbcd5 usb: max-3421: Prevent corruption of freed memory e4077a90e600 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS da6f6769ee0f usb: hub: Fix link power management max exit latency (MEL) calculations fea6b53e631a usb: hub: Disable USB 3 device initiated lpm if exit latency is too high 962ce043ef92 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state 2b9ffddd70b4 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow c968f563ccde xhci: Fix lost USB 2 remote wake a660ecde5c55 ALSA: hdmi: Expose all pins on MSI MS-7C94 board f73696354d59 ALSA: sb: Fix potential ABBA deadlock in CSP driver 7aa2dfbc6bd0 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets 46d62c3fe2ab ALSA: usb-audio: Add missing proc text entry for BESPOKEN type f1754f96ab41 s390/boot: fix use of expolines in the DMA code 8eb521d19248 s390/ftrace: fix ftrace_update_ftrace_func implementation 268132b070d9 Revert "MIPS: add PMD table accounting into MIPS'pmd_alloc_one" f323809e3108 proc: Avoid mixing integer types in mem_rw() b71a75209f6a drm/panel: raspberrypi-touchscreen: Prevent double-free 2e6ab87f8e63 net: sched: cls_api: Fix the the wrong parameter b60461696a0b sctp: update active_key for asoc when old key is being replaced 9fa89c2caee2 nvme: set the PRACT bit when using Write Zeroes with T10 PI c50141b3d769 r8169: Avoid duplicate sysfs entry creation error f726817d6b42 afs: Fix tracepoint string placement with built-in AFS b22c9e433bb7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem" 69a49e7b5baf nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING 830251361425 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions a88414fb1117 net/sched: act_skbmod: Skip non-Ethernet packets c278b954ccc7 net: hns3: fix rx VLAN offload state inconsistent issue 006ed6f4d00b net/tcp_fastopen: fix data races around tfo_active_disable_stamp 3942ba235693 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition f11f12decd55 bnxt_en: Check abort error state in bnxt_half_open_nic() 16ce6cb78690 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task() c993e7aadc50 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe() 6ee8e6be3067 bnxt_en: Improve bnxt_ulp_stop()/bnxt_ulp_start() call sequence. 35637acc9810 spi: cadence: Correct initialisation of runtime PM again 2f2150bf41c1 scsi: target: Fix protect handling in WRITE SAME(32) a6cb717f8534 scsi: iscsi: Fix iface sysfs attr detection 25df44e90ff5 netrom: Decrease sock refcount when sock timers expire 8d7924ce85ba net: sched: fix memory leak in tcindex_partial_destroy_work f38527f18905 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak b85dadd4347b KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash b3224bd31861 net: decnet: Fix sleeping inside in af_decnet bd2b3b13aa2a efi/tpm: Differentiate missing and invalid final event log table. 9413c0abb57f net: fix uninit-value in caif_seqpkt_sendmsg 6d56299ff911 bpftool: Check malloc return value in mount_bpffs_for_pin edec10098675 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats 58259e8b6e85 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1] cc876a5618bc liquidio: Fix unintentional sign extension issue on left shift of u16 42fe8f433b31 ASoC: rt5631: Fix regcache sync errors on resume d99aaf07365f spi: mediatek: fix fifo rx mode 08cdda8d8972 regulator: hi6421: Fix getting wrong drvdata b25be6bf6419 regulator: hi6421: Use correct variable type for regmap api val argument a1ade24cccb5 spi: stm32: fixes pm_runtime calls in probe/remove 40e203ce74eb spi: stm32: Use dma_request_chan() instead dma_request_slave_channel() 24b78097a837 spi: imx: add a check for speed_hz before calculating the clock 52cff6123aa0 perf data: Close all files in close_dir() 0f63857d1099 perf probe-file: Delete namelist in del_events() on the error path 8b92ea243bbf perf lzma: Close lzma stream on exit 51351c6d5a18 perf script: Fix memory 'threads' and 'cpus' leaks on exit d2bfc3eda914 perf dso: Fix memory leak in dso__new_map() 05804a7d223d perf test event_update: Fix memory leak of evlist d257f3abdc71 perf test session_topology: Delete session->evlist 89d1762a4a21 perf env: Fix sibling_dies memory leak fd335143befb perf probe: Fix dso->nsinfo refcounting 6513dee46f80 perf map: Fix dso->nsinfo refcounting ff9fc81fa884 nvme-pci: do not call nvme_dev_remove_admin from nvme_remove d029df83c61a cxgb4: fix IRQ free race during driver unload ae9b64434441 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped a37ca2a076ec selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect 05364a2794fb selftests: icmp_redirect: remove from checking for IPv6 route get 7f4848229e91 ipv6: fix 'disable_policy' for fwd packets c67fb96f5431 gve: Fix an error handling path in 'gve_probe()' e33da4eeaa35 igb: Fix position of assignment to *ring 7dd897773618 igb: Check if num of q_vectors is smaller than max before array access d3d7cceee841 iavf: Fix an error handling path in 'iavf_probe()' 7a13a8a8a5fb e1000e: Fix an error handling path in 'e1000_probe()' 9fc381db7583 fm10k: Fix an error handling path in 'fm10k_probe()' 5d6a04927b08 igb: Fix an error handling path in 'igb_probe()' cddd53237de8 igc: Fix an error handling path in 'igc_probe()' 47f69d8828e7 igc: Prefer to use the pci_release_mem_regions method 83b2d55a512a ixgbe: Fix an error handling path in 'ixgbe_probe()' ba4fbb68fcfe igc: change default return of igc_read_phy_reg() 88e0720133d4 igb: Fix use-after-free error during reset a9508e0edfe3 igc: Fix use-after-free error during reset
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d308f120891e23c34fa8ae38a7e87aa3810518ae) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Sun, 15 Aug 2021 15:08:52 +0000 (11:08 -0400)]
linux-yocto/5.10: update to v5.10.55
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
11fe69a17195 Linux 5.10.55 984e93b8e207 ipv6: ip6_finish_output2: set sk into newly allocated nskb a74054ca7553 ARM: dts: versatile: Fix up interrupt controller node names 3510b9b41c70 iomap: remove the length variable in iomap_seek_hole 8659186e72d0 iomap: remove the length variable in iomap_seek_data 65039407489c cifs: fix the out of range assignment to bit fields in parse_server_interfaces fe5fe0b1c8b9 firmware: arm_scmi: Fix range check for the maximum number of pending messages 8f8e5475a369 firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow d01328fef6af hfs: add lock nesting notation to hfs_find_init 06b3d9923fa0 hfs: fix high memory mapping in hfs_bnode_read 680b2917e60e hfs: add missing clean-up in hfs_fill_super 5c3d753b872a drm/ttm: add a check against null pointer dereference 2323690eb058 ipv6: allocate enough headroom in ip6_finish_output2() 86cb49e7314e rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader() 55ddab2bfd70 rcu-tasks: Don't delete holdouts within trc_inspect_reader() 4d972881f8d8 sctp: move 198 addresses from unusable to private scope 915226f31fd4 net: annotate data race around sk_ll_usec 92289f58f01d net/802/garp: fix memleak in garp_request_join() 5d93810761b4 net/802/mrp: fix memleak in mrp_request_join() df34f888628e cgroup1: fix leaked context root causing sporadic NULL deref in LTP dcd00801f3d9 workqueue: fix UAF in pwq_unbound_release_workfn() 93c5951e0ce1 af_unix: fix garbage collect vs MSG_PEEK dee8119eaa9e KVM: x86: determine if an exception has an error code only when injecting it. 6f5d7a45f58d io_uring: fix link timeout refs 475312897ea6 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include 08277b9dde63 Linux 5.10.54 c9f8e17990e0 skbuff: Fix build with SKB extensions disabled ba28765d338a xhci: add xhci_get_virt_ep() helper 624290f368af sfc: ensure correct number of XDP queues 1df4fe5a8871 drm/i915/gvt: Clear d3_entered on elsp cmd submission. c938e65768e0 usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI 25af91a806d2 perf inject: Close inject.output on exit fb35426d123e Documentation: Fix intiramfs script name 570341f10ecc skbuff: Release nfct refcount on napi stolen or re-used skbs 31828ffdab19 bonding: fix build issue c9d97b7bb897 PCI: Mark AMD Navi14 GPU ATS as broken f7ee361182e0 net: dsa: mv88e6xxx: enable SerDes PCS register dump via ethtool -d on Topaz 30f1d4d03641 net: dsa: mv88e6xxx: enable SerDes RX stats for Topaz fc31b5be1383 drm/amdgpu: update golden setting for sienna_cichlid 69a603aa170e drm: Return -ENOTTY for non-drm ioctls 2831eeb7bc3d driver core: Prevent warning when removing a device link from unregistered consumer 0e759383236a nds32: fix up stack guard gap 7497f4c91da3 misc: eeprom: at24: Always append device id even if label property is set. 8571daace5a6 rbd: always kick acquire on "acquired" and "released" notifications 2f3731de5e69 rbd: don't hold lock_rwsem while running_list is being drained 92291fa2d144 hugetlbfs: fix mount mode command line processing 1a25c5738d0c memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions 0b591c020d28 userfaultfd: do not untag user pointers fca5343b4892 io_uring: remove double poll entry on arm failure 9eef9029151c io_uring: explicitly count entries for poll reqs 1077e2b15283 selftest: use mmap instead of posix_memalign to allocate memory 6e81e2c38a38 posix-cpu-timers: Fix rearm racing against process tick 3efec3b4b16f bus: mhi: core: Validate channel ID when processing command completions b3f3a58a86c4 ixgbe: Fix packet corruption due to missing DMA sync e991457afdcb media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf() 755971dc7ee8 btrfs: check for missing device in btrfs_trim_fs 552b053f1a53 tracing: Synthetic event field_pos is an index not a boolean 757bdba8026b tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop. a5e1aff58943 tracing/histogram: Rename "cpu" to "common_cpu" 0edad8b9f65d tracepoints: Update static_call before tp_funcs when adding a tracepoint 4ed4074c6c6c firmware/efi: Tell memblock about EFI iomem reservations 647e26b03ee9 usb: typec: stusb160x: register role switch before interrupt registration a206167bd638 usb: dwc2: gadget: Fix sending zero length packet in DDMA mode. f2c04f6b21ef usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode. 7073acb51a3b usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe 1bf7371b9004 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick 45c87a94336f USB: serial: cp210x: fix comments for GE CS1000 f528521c1574 USB: serial: option: add support for u-blox LARA-R6 family 311fd7f7f186 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() 7af54a4e221e usb: max-3421: Prevent corruption of freed memory 69da81a96442 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS e6343aab3ee7 usb: hub: Fix link power management max exit latency (MEL) calculations 8f087b4cf1a3 usb: hub: Disable USB 3 device initiated lpm if exit latency is too high 709137c85327 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state c1fbdf0f3c26 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow e3eb672c169d xhci: Fix lost USB 2 remote wake 02e2e96ba56c usb: xhci: avoid renesas_usb_fw.mem when it's unusable 9e9cf23b77d4 Revert "usb: renesas-xhci: Fix handling of unknown ROM state" ebaa67086fae ALSA: pcm: Fix mmap capability check 431e31105579 ALSA: pcm: Call substream ack() method upon compat mmap commit 3c9afa23f3fc ALSA: hdmi: Expose all pins on MSI MS-7C94 board 253759df8082 ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine 2b3cdf581993 ALSA: sb: Fix potential ABBA deadlock in CSP driver 5858c8a46421 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets 2de518548de1 ALSA: usb-audio: Add missing proc text entry for BESPOKEN type 37a88b41dc29 s390/boot: fix use of expolines in the DMA code d1ab96288061 s390/ftrace: fix ftrace_update_ftrace_func implementation 3b4009b49634 mmc: core: Don't allocate IDA for OF aliases fc6ac92cfcab proc: Avoid mixing integer types in mem_rw() 76f7eae7ec80 cifs: fix fallocate when trying to allocate a hole. c26372b8a8c3 cifs: only write 64kb at a time when fallocating a small region of a file b91e5b63470d drm/panel: raspberrypi-touchscreen: Prevent double-free 9e0373945ed6 net: sched: cls_api: Fix the the wrong parameter c8ebf135c199 net: dsa: sja1105: make VID 4095 a bridge VLAN too 164294d09c47 tcp: disable TFO blackhole logic by default 8eb225873246 sctp: update active_key for asoc when old key is being replaced ef799bd8ff5a nvme: set the PRACT bit when using Write Zeroes with T10 PI 7850f03ed814 r8169: Avoid duplicate sysfs entry creation error 0f5dc3971473 afs: Fix tracepoint string placement with built-in AFS 711057846aa7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem" 8985dc2cabd6 nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING fb28b1592098 ceph: don't WARN if we're still opening a session to an MDS ce8fafb68051 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions 071729150be9 net/sched: act_skbmod: Skip non-Ethernet packets ee36bb471389 spi: spi-bcm2835: Fix deadlock 432738c9740c net: hns3: fix rx VLAN offload state inconsistent issue 3e903e0b578b net: hns3: fix possible mismatches resp of mailbox f4305375f031 ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID 41a839437a07 net/tcp_fastopen: fix data races around tfo_active_disable_stamp ba3336397677 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition 320dcbdec4c6 bnxt_en: Check abort error state in bnxt_half_open_nic() 134a0536f0a4 bnxt_en: Validate vlan protocol ID on RX packets 4f7da0f97beb bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task() 927370485e98 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe() ab830c3bae19 bnxt_en: don't disable an already disabled PCI device 26463689445d ACPI: Kconfig: Fix table override from built-in initrd 113ce8c5043a spi: cadence: Correct initialisation of runtime PM again 3ea448b62b49 scsi: target: Fix protect handling in WRITE SAME(32) b82a1a26aaee scsi: iscsi: Fix iface sysfs attr detection 6811744bd0ef netrom: Decrease sock refcount when sock timers expire 096a8dca8ca5 sctp: trim optlen when it's a huge value in sctp_setsockopt 8e9662fde6d6 net: sched: fix memory leak in tcindex_partial_destroy_work e14ef1095387 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak fcbad8e18d31 KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash 30b830215158 net: decnet: Fix sleeping inside in af_decnet d402c60da0fd efi/tpm: Differentiate missing and invalid final event log table. 898376690310 dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable} 115e4f5b64ae usb: hso: fix error handling code of hso_create_net_device 1582a02fecff net: fix uninit-value in caif_seqpkt_sendmsg 2fc8048265ce bpftool: Check malloc return value in mount_bpffs_for_pin 3b5b0afd8d97 bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats c260442431b4 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats 715f378f4290 bpf, sockmap: Fix potential memory leak on unlikely error case e3a9548ae538 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1] 9264bebe9ef9 liquidio: Fix unintentional sign extension issue on left shift of u16 0ff2ea9d8fa3 timers: Fix get_next_timer_interrupt() with no timers pending ca9ba1de8f09 xdp, net: Fix use-after-free in bpf_xdp_link_release 39f1735c8107 bpf: Fix tail_call_reachable rejection for interpreter when jit failed 2b4046e64f7d bpf, test: fix NULL pointer dereference on invalid expected_attach_type 3dba72d1fc01 ASoC: rt5631: Fix regcache sync errors on resume 2435dcfd16ac spi: mediatek: fix fifo rx mode a9a85bfedd83 regulator: hi6421: Fix getting wrong drvdata 5cdc986aad95 regulator: hi6421: Use correct variable type for regmap api val argument 23811b75fdb8 spi: stm32: fixes pm_runtime calls in probe/remove 844ab04b62a5 spi: imx: add a check for speed_hz before calculating the clock 3b6c430d1248 ASoC: wm_adsp: Correct wm_coeff_tlv_get handling 57efe4f82a76 perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set 61f2e1e79578 perf data: Close all files in close_dir() 7c91e0ce2601 perf probe-file: Delete namelist in del_events() on the error path a6c32317cd3d perf lzma: Close lzma stream on exit 2ae8f40a8fdf perf script: Fix memory 'threads' and 'cpus' leaks on exit 51077d315a46 perf report: Free generated help strings for sort option 2bfa3c53ea8a perf env: Fix memory leak of cpu_pmu_caps a2f0da3af614 perf test maps__merge_in: Fix memory leak of maps b7bfd8aeb956 perf dso: Fix memory leak in dso__new_map() c9c101da3e83 perf test event_update: Fix memory leak of evlist b768db7f8070 perf test session_topology: Delete session->evlist b8892d16a928 perf env: Fix sibling_dies memory leak 306411a8bf75 perf probe: Fix dso->nsinfo refcounting f21987d7bb58 perf map: Fix dso->nsinfo refcounting 7337ff2093e0 perf inject: Fix dso->nsinfo refcounting a87d42ae7f5d KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM b990585f9b7a nvme-pci: do not call nvme_dev_remove_admin from nvme_remove 0fa11e1a20c7 mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join 3714e0bb0dcf cxgb4: fix IRQ free race during driver unload d92337bf54f2 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped f1edbcc47f46 selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect 906bbb18db78 selftests: icmp_redirect: remove from checking for IPv6 route get bb737eceb9a4 stmmac: platform: Fix signedness bug in stmmac_probe_config_dt() 79ec7b5b2f4f ipv6: fix 'disable_policy' for fwd packets 35eaefb44ed7 bonding: fix incorrect return value of bond_ipsec_offload_ok() 13626bad63e8 bonding: fix suspicious RCU usage in bond_ipsec_offload_ok() 56ccdf868ab6 bonding: Add struct bond_ipesc to manage SA b3bd1f5e5037 bonding: disallow setting nested bonding + ipsec offload 43511a6a164a bonding: fix suspicious RCU usage in bond_ipsec_del_sa() 6ca0e55a1310 ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops ba7bfcdff1ad bonding: fix null dereference in bond_ipsec_add_sa() 3ae639af3626 bonding: fix suspicious RCU usage in bond_ipsec_add_sa() 4a31baf55f6a net: add kcov handle to skb extensions 78e4baff950d gve: Fix an error handling path in 'gve_probe()' 813449fb85f6 igb: Fix position of assignment to *ring 44171801d39c igb: Check if num of q_vectors is smaller than max before array access cb9292445d23 iavf: Fix an error handling path in 'iavf_probe()' a6756d637b40 e1000e: Fix an error handling path in 'e1000_probe()' dea695a2ee23 fm10k: Fix an error handling path in 'fm10k_probe()' a099192fe7e1 igb: Fix an error handling path in 'igb_probe()' db4c32c1b926 igc: Fix an error handling path in 'igc_probe()' 7bc9fb1f8019 ixgbe: Fix an error handling path in 'ixgbe_probe()' 02d1af0bee65 igc: change default return of igc_read_phy_reg() f153664d8e70 igb: Fix use-after-free error during reset e15f629036ba igc: Fix use-after-free error during reset
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a56f6566208517e458e5279992abe9664c4ae67) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Joe Slater [Thu, 12 Aug 2021 22:59:31 +0000 (15:59 -0700)]
terminal.bbclass: force bash for devshell
Since shell_trap_code in build.py sets /bin/sh as the interpreter
we will die a silent death if our environment contains things like
"export -f bodilyfunction" and /bin/sh is really /bin/dash.
Fixes this for the case of devshell.
Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23d296b3567aa31bad7b2a8558d4bd3e4505843b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Commit dd9c3d042aa5c2ae0fd80b558ec7e9c793ff36f0 dropped the iwmmxt
disable as part of the meson conversion and said: "we can add this
back again if it fails." It does.
| cc1: warning: switch '-mcpu=arm1176jz-s' conflicts with switch '-march=iwmmxt2'
| FAILED: pixman/libpixman-1.so.0.40.0
| lto1: fatal error: target specific builtin not available
| compilation terminated.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia1278d18543493a3f9eace6c2dd2f84701b9c2b1 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit afa713033a7fc9b7c4ac3d703ea9218b4d775def) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Jose Quaresma [Sun, 8 Aug 2021 13:11:45 +0000 (14:11 +0100)]
sstate.bbclass: fix error handling when sstate mirrors is ro
The commit dd555537fc35c5f934af09d601d70772eb5955ae
'sstate.bbclass: fix errors about read-only sstate mirrors'
adds an additional exception handler to silently mask read
only rootfs errors thrown during the touch.
The exception handler checks the error type with the python module errno
but this module needs to be imported as it don't exist.
Example of the error:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:sstate_task_postfunc(d)
0003:
File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 778, function: sstate_task_postfunc
0774:
0775: omask = os.umask(0o002)
0776: if omask != 0o002:
0777: bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
*** 0778: sstate_package(shared_state, d)
0779: os.umask(omask)
0780:
0781: sstateinst = d.getVar("SSTATE_INSTDIR")
0782: d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 708, function: sstate_package
0704: except PermissionError:
0705: pass
0706: except OSError as e:
0707: # Handle read-only file systems gracefully
*** 0708: if e.errno != errno.EROFS:
0709: raise e
0710:
0711: return
0712:
Exception: NameError: name 'errno' is not defined
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 15f30ad144fbe25e9a5e71bc7e42e746d2039992) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ce850a5ce84f949d3114024c89ae3dd98fcbef41) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This implements various fixes in comments in cve-check.bbclass
In particular, the "whitlisted" typo is important as the "whitelisted"
word is going to be replaced in a near future.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5eecd2bf942254d08c252388594e5ec7ae330f45) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Wed, 2 Jun 2021 21:46:27 +0000 (22:46 +0100)]
oeqa/runtime/cases/ptest: Increase test timeout from 300s to 450s
Some tests such as lttng-tools are marginal and timing out on the autobuilder
with the current 300s default. Increase to avoid this noise in the ptest
failures list.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5fb902a52e35130af6b0735a087c709daa35655f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
hongxu [Wed, 4 Aug 2021 13:08:35 +0000 (21:08 +0800)]
createrepo-c: fix createrepo-c failed in nativesdk
In sdk, call createrepo-c failed with:
...
$ createrepo_c --update ./test_repo/rpm
Directory walk started Critical: Failed to detect compression for file
./test_repo/rpm/cortexa72/hello-2.10-r0.cortexa72.rpm: magic_load() failed: could not find any valid magic files!
...
Since commit [ea666fbc74 createrepo-c: set path to magic database for
native and nativesdk] applied, the MAGIC is incorrectly assigned.
The variable datadir will be expanded automatically for nativesdk,
do not need to add prefix ${SDKPATHNATIVE} to MAGIC
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54368f1b02e1ac4aa068515730a8c8bcd3683eb3) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Lee Chee Yang [Wed, 4 Aug 2021 08:21:46 +0000 (16:21 +0800)]
aspell: fix CVE-2019-25051
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 297f8c4eb4ff209b5ea69910902d216d86dbe2bf) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Sun, 1 Aug 2021 12:47:21 +0000 (13:47 +0100)]
sstate: Fix rebuilds when changing layer config
When adding a layer which changed SSTATE_EXCLUDEDEPS_SYSROOT, the state
hashes were changing when they should not. This was caused by wider use
of setscene_depvalid which means the dependency on the variable was seen
when it was previously not.
Exclude the variable since this should be be included in the hashes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09725a29365c69ccbd603fe3a1de72189f26d5ac) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Jon Mason [Wed, 28 Jul 2021 17:32:26 +0000 (13:32 -0400)]
parselogs.py: qemuarm should be qemuarmv5
All of the errors being masked off for qemuarm are legacy from before
the migration of qemuarm to qemuarmv5. Rename the machine to that to
allow for qemuarmv5 to pass parselog test. Light testing shows no
errors in dmesg for qemuarm.
Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 701a58504de15b244b970908f2de0971a35b5a09) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Marek Vasut [Fri, 9 Jul 2021 18:15:20 +0000 (20:15 +0200)]
update-rc.d: update SRCREV to pull in fix for non-bash shell support
This pulls in non-bash shell fix for enable/disable command, upstream
commit 8636cf4 ("update-rc.d: Fix enable/disable command"). This way
update-rc.d works with e.g. dash shell again.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Changqing Li <changqing.li@windriver.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f697332a3a753898183d7c5d2965dd75db9b0a24) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Nicolas Dechesne [Thu, 22 Jul 2021 12:46:44 +0000 (14:46 +0200)]
yocto-check-layer: ensure that all layer dependencies are tested too
In order to be compliant with the YP compatible status, a layer also
needs to ensure that all its dependencies are compatible
too. Currently yocto-check-layer only checks the requested layer,
without testing any dependencies.
With this change, all dependencies are also checked by default, so the
summary printed at the end will give a clear picture whether all
dependencies pass the script or not.
Using --no-auto-dependency can be used to skip that.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 45d59b774b95c91193a8376b83c05291d555e5c8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Nicolas Dechesne [Thu, 22 Jul 2021 12:46:42 +0000 (14:46 +0200)]
checklayer: new function get_layer_dependencies()
Split add_layer_dependencies() into 2 parts. First search for layer
dependencies, and then add them to the config. That allows us to
call get_layer_dependencies() independently.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 08edf928aac3f2daaa0c256d4c21e56e2db72bff) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Nicolas Dechesne [Thu, 22 Jul 2021 12:46:41 +0000 (14:46 +0200)]
yocto-check-layer: improve missed dependencies
The first 2 calls to add_layer_dependencies() are here to add all
dependencies for the 'layer under test' and the additional layers
provided by the users.
In both cases, we use misssing_dependencies boolean to indicate if any
dependency is missing. But we then never really use
missing_dependencies. Instead the script is calling
add_layer_dependencies() again (for both the layer under test, and the
additional layers) to detect if there are any missing dependency. As a
result, we are trying to add again all dependencies, and we can see
that from the traces:
INFO: Detected layers:
INFO: meta-aws: LayerType.SOFTWARE, /work/oe/sources/meta-aws
INFO: checklayer: Doesn't have conf/layer.conf file, so ignoring
INFO:
INFO: Setting up for meta-aws(LayerType.SOFTWARE), /work/oe/sources/meta-aws
INFO: Adding layer meta-python
INFO: Adding layer meta-oe
INFO: Adding layer meta-networking
-->
INFO: Adding layer meta-python
INFO: meta-python is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
INFO: Adding layer meta-oe
INFO: meta-oe is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
INFO: Adding layer meta-networking
INFO: meta-networking is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
<--
INFO: Getting initial bitbake variables ...
The code appears more complex than it should, and we can simply
replace the complex if statement by using missing_dependencies, and
avoid duplicating the call to add_layer_dependencies().
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fceb84f7bc472731b8f96ee1ebf0f4485943226c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ross Burton [Fri, 16 Jul 2021 11:32:24 +0000 (12:32 +0100)]
parted: skip tests that need vfat support
At the time of writing the qemu kernels don't support vfat filesystems.
There are patches on the list to add that, but as two tests fail without
vfat support, make them skip if vfat isn't available.
[ YOCTO #14470 ]
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 17ecb3552cb7d7e7f82cc8b2e1b83f276525cbda) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ross Burton [Fri, 9 Jul 2021 11:08:47 +0000 (12:08 +0100)]
parted: improve ptest execution
Delete the right log files in run-ptest so the tests can be executed
more than once.
Install config.h so the tests which examine the build configuration will
do the right thing, specifically this causes the tests using libblkid to
execute instead of skip.
Add missing RDEPENDS: mkswap and tune2fs binaries, loop and vfat kernel
modules.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 43bd50cbf902ce92ea613d142fae2524011b8f55) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Thu, 15 Jul 2021 19:30:09 +0000 (15:30 -0400)]
linux-yocto/5.4: update to v5.4.131
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e8d9b740a550 Linux 5.4.131 d2f8a8a07ee3 xen/events: reset active flag for lateeoi events later a05499b29a6e KVM: SVM: Call SEV Guest Decommission if ASID binding fails 58356f448b61 s390/stack: fix possible register corruption with stack switch helper abbd42939db6 KVM: SVM: Periodically schedule when unregistering regions on destroy 8b24c7edc2f2 Linux 5.4.130 5e8519c4083b RDMA/mlx5: Block FDB rules when not in switchdev mode c5fb49e12f2c gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP cf5eb8209723 drm/nouveau: fix dma_address check for CPU/GPU sync 3edfd34f1338 scsi: sr: Return appropriate error code when disk is ejected a6c85a8433e0 x86/efi: remove unused variables
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edfd97ac5a11f46b9f3b905373abe3554f4b85db) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Thu, 15 Jul 2021 19:30:08 +0000 (15:30 -0400)]
linux-yocto/5.10: update to v5.10.49
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
904ad453baa0 Linux 5.10.49 064b57a8da99 xen/events: reset active flag for lateeoi events later a245f6842d21 Hexagon: change jumps to must-extend in futex_atomic_* a7f51048c5a8 Hexagon: add target builtins to kernel 243f325ecc90 Hexagon: fix build errors 8148665cb7fe media: uvcvideo: Support devices that report an OT as an entity source d5737410d2dd KVM: PPC: Book3S HV: Save and restore FSCR in the P9 path a09a52277207 Linux 5.10.48 4dc968042864 Revert "KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57 hack" 4ab869e0289d RDMA/mlx5: Block FDB rules when not in switchdev mode 348143a38012 gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP 45ca6df5df11 drm/nouveau: fix dma_address check for CPU/GPU sync d191c3d6ad33 gpio: mxc: Fix disabled interrupt wake-up support f77f97238496 scsi: sr: Return appropriate error code when disk is ejected
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b203992df8d9866f8cf90a22f39e483376f3912) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Tony Tascioglu [Thu, 15 Jul 2021 00:48:13 +0000 (20:48 -0400)]
valgrind: skip flaky ptest fb_test_amd64
Recently, the none/tests/amd64/fb_test_amd64 test had been flaky and
causing failures on the auto-builder. Until we can get to the root cause
of the issue, we are going to skip the test to reduce the noise from the
ptests.
Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a365cd7a358db96791033e6dc6e45d2e816d3e4c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
devtool: correctly handle non-standard source tree locations in upgrades
When S is set to a sub-directory of upstream source, the license
checks and the bbappend writing (specifically, setting EXTERNALSRC)
need to operate on that sub-directory.
'devtool modify' already has similar logic, and it was copied from there
and adjusted.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fd77e356d4507405fde352c8bba7d3842518bbdd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
As per upstream the license should also include MIT[1]. This is also
what Fedora Linux uses[2].
This should also address the problem with auto-generated scannerparser.h
file which has the following header:
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
Taking advantage of the Bison expcetion, more precisely the following fragment:
"distribute that work under terms of your choice"
it should also be possible to reuse the MIT license tag for redistribution of that
work instead of adding the default GPLv3+ tag (which would otherwise be required
without using the special exception).
Richard Purdie [Sat, 10 Jul 2021 10:04:45 +0000 (11:04 +0100)]
sstate: Drop pseudo exclusion
Now that pseudo-native always includes statx support and we have sanity
checks on pseudo-native to ensure it always contains a minimum feature set,
we no longer need to mark pseudo-native as distro specific. This fixes
eSDK build problems.
[YOCTO #14428]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3279e43fcb469edb63c7c4eb60fdc565d5751f9d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Sat, 10 Jul 2021 22:03:31 +0000 (23:03 +0100)]
pseudo: Update to latest version including statx fix
This updates to the latest pseudo version which includes:
Revert "client: Fix some compiler warnings"
ports/linux: Always build statx support
makewrappers: Handle parameters marked as nonnull
client: Fix some compiler warnings
wrappers: Avoid -Wcast-function-type warning
In particular, this pseudo version always has statx enabled which means
we can then remove the need to make pseudo-native host distro specific
which fixes an eSDK issue.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 58cc70940ff998be49a9b89e1ad0538242cb7998) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Sat, 10 Jul 2021 22:01:30 +0000 (23:01 +0100)]
pseudo: Add uninative configuration sanity check
When building pseudo-native to work with uninative, we need to ensure the
configuration will work on all supported target systems. This means
"new clone" semantics, xattr and statvfs support in particular. It is
extremely unlikely we'd run on a system without any of these but add
a check just to be sure when uninative is enabled.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea5b208ee25752bea6037cd0f3b28da7d2c9905e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Backport the body of a fix for CVE-2021-3572 since hardknott carries
20.0.2, and the delta between it and the latest 21.1.3 is more than just
bugfixes.
Andrej Valek [Fri, 25 Jun 2021 06:10:11 +0000 (08:10 +0200)]
busybox: add tmpdir option into mktemp applet
- Make mktemp applet compatible with --tmpdir option in ca-certificate
update script.
Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d969e482d29da29828d1510f106f161d2b3d3c0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Fri, 2 Jul 2021 15:13:46 +0000 (11:13 -0400)]
kernel-devsrc: fix scripts prepare for powerpc
5.13 introduces some new tweaks required to get on target scripts
and prepare working for powerpc:
- 'nm' is detected as 'nm --synthetic', so we adjust our replacement
- more vdso is required on target, so we copy those files (like arm64
does)
- grep is required during processing, so we add it to the redpends
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c43baf3a0e41b41a64f450fd03810306c8ddd314) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Tue, 6 Jul 2021 10:36:16 +0000 (11:36 +0100)]
dwarfsrcfiles: Avoid races over debug-link files
We use dwarfsrcfiles in package.bbclass to list the source files used by a binary.
This is done before they're stripped and linked to debug symbols in separate files.
It is possible a binary may already have a link to separate debug symbols, e.g.
some of the test binaries in lttng-tools ptest. In those cases, the linked binary
may be changed by package.bbclass code whilst dwarfsrcfiles is reading it. That
would result in a rare SIGBUS race causing the binary to fail.
To avoid this, break the debug file search path so no other binaries are found.
Also fix a segfault if no binary is specified while here.
[YOCTO #14400]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit efef732859e265533acf16f2f4da3b29d50e0df4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Tue, 6 Jul 2021 11:06:24 +0000 (12:06 +0100)]
oeqa/selftest/multiprocesslauch: Fix test race
Having two possible failures in multiprocesslauch creates a race where one failure
may occur and stop processes being lanuched meaning the second failure may not
be seen. Rather than having periodic races appearing on the autobuilder, only
have one failure, making the test much more deterministic.
[YOCTO #13054]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31e9dcda40aae3ce0801580c838928956e1455e3) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Wed, 16 Jun 2021 20:48:49 +0000 (16:48 -0400)]
linux-yocto-dev: base AUTOREV on specified version
linux-yocto-dev tracks the latest mainline kernel, and uses
standard/* for that support.
Archived -dev versions are under v<kernel version>/standard/base.
This policy works, except that a released branch will still follow
the new kernel versions, causing potential breakage with newer
kernels than are supported in that release.
Rather than lock the SRCREVs and update branches in old releases,
we can preserve the AUTOREV nature of -dev, and allow them to
switch automatically to the archived branch based on the LINUX_VERSION
in the -dev recipe (which is unchanged in the release branch).
This is consistent with the other branch switching done for the
kernels and with the -dev workflow.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 84e14b6116a7d1e52051c5c80be2d8e3db67c2d7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Changqing Li [Thu, 8 Jul 2021 04:04:35 +0000 (12:04 +0800)]
boost-build-native: workaround one rarely hang problem on fedora34
Reproduce scenes:
* On fedora34
* autofs.service is started
* test is nis user, which mounted at /nis by autofs
* under /nis/test, there are symlinks point to another nis mount point /nis/yan
Result:
task boost-build-native:do_install hang forever
NOTE: recipe ovmf-edk2-stable202102-r0: task do_package_write_rpm: Succeeded
NOTE: Running noexec task 8124 of 8152 (/layers/oe-core/meta/recipes-core/ovmf/ovmf_git.bb:do_build)
Bitbake still alive (5000s)
Bitbake still alive (10000s)
Bitbake still alive (15000s)
Bitbake still alive (20000s)
Bitbake still alive (25000s)
Bitbake still alive (30000s)
Bitbake still alive (35000s)
Bitbake still alive (40000s)
Bitbake still alive (45000s)
Bitbake still alive (50000s)
$ps aux | grep b2
test 2773444 0.0 0.0 13532 2748 ? D Jul01 0:00 ./b2 install --prefix=/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/recipe-sysroot-native/usr staging-prefix=/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/image/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/recipe-sysroot-native/usr
$ dmesg
[1559743.424610] autofs4:pid:2773444:autofs_mount_wait: waiting for mount name=yan
[1559743.424621] autofs4:pid:2773444:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560001.400440] autofs4:pid:2774530:autofs_mount_wait: waiting for mount name=yan
[1560001.400452] autofs4:pid:2774530:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560022.493282] autofs4:pid:2774537:autofs_mount_wait: waiting for mount name=yan
[1560022.493292] autofs4:pid:2774537:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560122.076589] autofs4:pid:3979116:autofs_mount_wait: mount wait done status=-4
[1560162.222374] autofs4:pid:2774530:autofs_mount_wait: mount wait done status=-4
[1560167.116188] autofs4:pid:2774537:autofs_mount_wait: mount wait done status=-4
[1560188.140532] autofs4:pid:2774671:autofs_mount_wait: waiting for mount name=yan
[1560188.140540] autofs4:pid:2774671:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560189.651905] autofs4:pid:2774671:autofs_mount_wait: mount wait done status=-4
Analyzation:
b2 will walk the HOME dir, when access the symlink point to /nis/yan,
autofs hang at autofs_wait. the process stay at D stat forever. This
maybe caused by abnormal status of autofs.service. The problem cannot
reproduce after restart autofs.service. There should be an autofs bug.
and there is an autofs hang problem bug on fedora34 on it's bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1953390
Workaround:
Since b2 don't actually write something to HOME dir, change HOME dir to
/var/run, a dir not mounted by autofs.
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7ff692d2e9787bb5b36929a208597595473db0c7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Wed, 7 Jul 2021 10:08:41 +0000 (11:08 +0100)]
glibc-testsuite: Fix build failures when directly running recipe
If you try and run the glibc-testsuite's build task, you see failures
as do_populate_sysroot can't work. We don't have a do_install, get
rid of do_populate_sysroot as well.
The recipe is not included in world builds by default which is why
we don't see the issue more widely.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f7de32dfcc2e6b1872fbd5ea61dcba944d5553a8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Wed, 7 Jul 2021 10:08:41 +0000 (11:08 +0100)]
runqemu: Remove potential lock races around tap device handling
The qemu tap device handling is potentially race ridden. We pass the
fd to the main qemu subprocess which is good as it means the lock is held
as long as the qemu process exists. This means we shouldn't unlock it
ourselves though, only close the file. We also can't delete the file
as we have no idea if qemu is still using it. We could try and obtain
an exclusive new lock, then the file would be safe to unlink but it
doesn't seem worth it.
Also fix the same issue in the port lock code.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a87bddabf816d09ec801e33972879e6983627eb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>