summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-11-10lib/pyinotify.py: Remove deprecated module asyncorerbt/pyinotify.pyrbt/pyinotifyRobert Yang
When build with nativesdk-python3 (3.10) from buildtools: /path/to/bitbake/lib/pyinotify.py:55: DeprecationWarning: The asyncore module is deprecated. The recommended replacement is asyncio The pyinotify.py's upstream didn't have any update in recent 7 years: https://github.com/seb-m/pyinotify And bitbake doesn't use the asyncore module, so remove the related code. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2021-11-10kernel: provide virtual/kernel for all kernelsBruce Ashfield
Since we allow the kernel package name to be varied, we should allow those packages to provide virtua/kernel, which allows them to be used as primary kernels. This change drops the use of regex, since any regex would enforce naming (and limit what can be a provider) and add complexity./ There are currently no recipes that I found, that inherit kernel that are not kernel recipes (kernel-base, etc, provide other facilities), so making this provides simpler shouldn't cause problems. Multiple kernel providers can be dealt with in the same way as any multiple provider. [YOCTO: #13172] (From OE-Core rev: 365dc1471a1b67c45de58aadf29844a9ff83d30f) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> squash with provider Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10linux-yocto/5.10: update to v5.10.78Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 5040520482a5 Linux 5.10.78 4c7c0243275b ALSA: usb-audio: Add Audient iD14 to mixer map quirk table f3eb44f496ef ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table 68765fc97762 Revert "wcn36xx: Disable bmps when encryption is disabled" f84b791d4c3b ARM: 9120/1: Revert "amba: make use of -1 IRQs warn" bbc920fb320f Revert "drm/ttm: fix memleak in ttm_transfered_destroy" 6d67b2a73b8e mm: khugepaged: skip huge page collapse for special files 5a7957491e31 Revert "usb: core: hcd: Add support for deferring roothub registration" 50f46bd30949 Revert "xhci: Set HCD flag to defer primary roothub registration" d7fc85f61042 media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() b93a70bf2b57 net: ethernet: microchip: lan743x: Fix skb allocation failure b9c85a71e1b4 vrf: Revert "Reset skb conntrack connection..." 0382fdf9ae78 sfc: Fix reading non-legacy supported link modes 748786564a35 Revert "io_uring: reinforce cancel on flush during exit" 7b57c38d12ae scsi: core: Put LLD module refcnt after SCSI device is released (From OE-Core rev: 7a7d1eed8e3d550ac9bfa301b26095100eeba111) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10linux-yocto/5.15: update to v5.15.1Bruce Ashfield
Updating linux-yocto/5.15 to the latest korg -stable release that comprises the following commits: b6abb62daa55 Linux 5.15.1 569fd073a954 ALSA: usb-audio: Add quirk for Audient iD14 fd5f954b690c Revert "drm/i915/gt: Propagate change in error status to children on unhold" 8af3a335b553 drm/amd/display: Revert "Directly retrain link from debugfs" 6ecad8906f05 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8" a273384cf1af Revert "wcn36xx: Disable bmps when encryption is disabled" 57f31b313231 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn" 110d5f4421ed Revert "soc: imx: gpcv2: move reset assert after requesting domain power up" f17dca0ab3f3 drm/amdkfd: fix boot failure when iommu is disabled in Picasso. f5e3b7f0f0b7 Revert "usb: core: hcd: Add support for deferring roothub registration" 421f91bf0451 Revert "xhci: Set HCD flag to defer primary roothub registration" cb667140875a media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() abc558fd0f89 sfc: Fix reading non-legacy supported link modes (From OE-Core rev: 6a5ab16bbbf92ce99fbbd3ac7cb1d2e4e1690feb) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10linux-yocto/5.14: update to v5.14.17Bruce Ashfield
Updating linux-yocto/5.14 to the latest korg -stable release that comprises the following commits: 3dfa869cb79d Linux 5.14.17 b1dbd891bfe5 ALSA: usb-audio: Add Audient iD14 to mixer map quirk table 570b5004f827 ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table db6d7c4acca3 Revert "drm/i915/gt: Propagate change in error status to children on unhold" aac2f6861683 drm/amd/display: Revert "Directly retrain link from debugfs" 77d029e1e218 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8" 9f9e09a59c58 Revert "wcn36xx: Disable bmps when encryption is disabled" b9722a7369f8 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn" e556fca311ce Revert "soc: imx: gpcv2: move reset assert after requesting domain power up" d6a60e6ada49 drm/i915: Remove memory frequency calculation 7883e13c2494 drm/amdkfd: fix boot failure when iommu is disabled in Picasso. a82fa1213d12 Revert "usb: core: hcd: Add support for deferring roothub registration" 0979b923ff3f Revert "xhci: Set HCD flag to defer primary roothub registration" 02a476ca886d media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() ec0c91e2ebb8 vrf: Revert "Reset skb conntrack connection..." 6467b75cf9d1 sfc: Fix reading non-legacy supported link modes f30822c0b4c3 scsi: core: Put LLD module refcnt after SCSI device is released (From OE-Core rev: a9ac5a388d682bcf0aad59d1b8ae8334846dfcd9) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10linux-yocto/5.10: update to v5.10.77Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 09df347cfd18 Linux 5.10.77 fbb91dadb512 perf script: Check session->header.env.arch before using it 6f416815c505 riscv: Fix asan-stack clang build 7a4cf25d8329 riscv: fix misalgned trap vector base address acb8832f6a1c scsi: ufs: ufs-exynos: Correct timeout value setting registers 8ecddaca7942 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu e11a7355fb98 KVM: s390: clear kicked_mask before sleeping again 727e5deca802 lan743x: fix endianness when accessing descriptors a7112b8eeb14 sctp: add vtag check in sctp_sf_ootb c2442f721972 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa 14c1e02b11c2 sctp: add vtag check in sctp_sf_violation dad2486414b5 sctp: fix the processing for COOKIE_ECHO chunk 8c50693d25e4 sctp: fix the processing for INIT_ACK chunk ad111d4435d8 sctp: use init_tag from inithdr for ABORT chunk 4509000a2515 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings 5b88bb9377ee phy: phy_start_aneg: Add an unlocked version 81780b624d1c phy: phy_ethtool_ksettings_set: Move after phy_start_aneg 258c5fea44cf phy: phy_ethtool_ksettings_get: Lock the phy for consistency 58722323d4bc net/tls: Fix flipped sign in async_wait.err assignment 44e8c93e1e49 net: nxp: lpc_eth.c: avoid hang when bringing interface down c2af2092c9bb net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent bfa6fbdb4e39 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails e81bed557fe7 mlxsw: pci: Recycle received packet upon allocation failure be98be1a17e9 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST aead02927af3 gpio: xgs-iproc: fix parsing of ngpios property 863a423ee07b RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string 2b7c5eed19d3 net: Prevent infinite while loop in skb_tx_hash() 04121b10cdf0 cfg80211: correct bridge/4addr mode check aed897e96b19 net-sysfs: initialize uid and gid before calling net_ns_get_ownership b0a2cd38553c net: batman-adv: fix error handling 36e911a16b37 regmap: Fix possible double-free in regcache_rbtree_exit() e51371bd687e reset: brcmstb-rescal: fix incorrect polarity of status bit 2cf7d935d6ba arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node 10e40fb2f508 RDMA/mlx5: Set user priority for DCT 24fd8e2f027d octeontx2-af: Display all enabled PF VF rsrc_alloc entries. c63d7f2ca99a nvme-tcp: fix possible req->offset corruption 32f3db20f126 nvme-tcp: fix data digest pointer calculation 4286c72c5321 nvmet-tcp: fix data digest pointer calculation d98883f6c33e IB/hfi1: Fix abba locking issue with sc_disable() c3e17e58f571 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields ee4908f909b3 bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch() dd2260ec643d bpf: Fix potential race in tail call compatibility check 15dec6d8f864 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function cac6b043cea3 riscv, bpf: Fix potential NULL dereference 01599bf7cc2b cgroup: Fix memory leak caused by missing cgroup_bpf_offline eb3b6805e3e9 drm/amdgpu: fix out of bounds write c21b4002214c drm/ttm: fix memleak in ttm_transfered_destroy 69a7fa5cb0de mm, thp: bail out early in collapse_file for writeback page 8fb858b74ac5 net: lan78xx: fix division by zero in send path 4c22227e39c7 cfg80211: fix management registrations locking fa29cec42c2d cfg80211: scan: fix RCU in cfg80211_add_nontrans_list() db1191a529e4 nvme-tcp: fix H2CData PDU send accounting (again) 5043fbd294f5 ocfs2: fix race between searching chunks and release journal_head from buffer_head 01169a43353d mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit ee3213b117ce mmc: sdhci: Map more voltage level to SDHCI_POWER_330 a95a76fc01a0 mmc: dw_mmc: exynos: fix the finding clock sample value 12a46f72f499 mmc: mediatek: Move cqhci init behind ungate clock 44c2bc2a6bbe mmc: cqhci: clear HALT state after CQE enable efe934629fff mmc: vub300: fix control-message timeouts f3dec7e7ace3 net/tls: Fix flipped sign in tls_err_abort() calls c828115a14ea Revert "net: mdiobus: Fix memory leak in __mdiobus_register" 11c0406b4c33 nfc: port100: fix using -ERRNO as command type mask 0b1b3e086b0a tipc: fix size validations for the MSG_CRYPTO type 5aa5bab57957 ata: sata_mv: Fix the error handling of mv_chip_id() 9a52798dce73 pinctrl: amd: disable and mask interrupts on probe 01c2881bb0e0 Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode" 017718dfbb6f usbnet: fix error return code in usbnet_probe() 693ecbe8f799 usbnet: sanity check for maxpacket b663890d8544 ext4: fix possible UAF when remounting r/o a mmp-protected file system d4d9c065988c arm64: Avoid premature usercopy failure e184a21b5ccc powerpc/bpf: Fix BPF_MOD when imm == 1 3f2c12ec8a3f io_uring: don't take uring_lock during iowq cancel 5a768b4d3e1a ARM: 9141/1: only warn about XIP address when not compile testing 15b278f94bbb ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype c06d7d9bfcf6 ARM: 9138/1: fix link warning with XIP + frame-pointer 8a6af97c31be ARM: 9134/1: remove duplicate memcpy() definition 6ad8bbc9d301 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned 3ceaa85c331d ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images (From OE-Core rev: d57bc7281015d09e2ff7a8a028dbf31559ff7331) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10linux-yocto/5.14: update to v5.14.16Bruce Ashfield
Updating linux-yocto/5.14 to the latest korg -stable release that comprises the following commits: f63179c1e68c Linux 5.14.16 e874c870dfd8 KVM: x86: Take srcu lock in post_kvm_run_save() 9ab39a3d0cec KVM: SEV-ES: fix another issue with string I/O VMGEXITs eb0461c572e9 KVM: x86: switch pvclock_gtod_sync_lock to a raw spinlock 10242cc2ad79 KVM: x86/xen: Fix kvm_xen_has_interrupt() sleeping in kvm_vcpu_block() 669a7e147ee6 perf script: Check session->header.env.arch before using it e914237feb46 riscv: Fix asan-stack clang build 4606bbb6b19c riscv: Do not re-populate shadow memory with kasan_populate_early_shadow 7567abe63797 riscv: fix misalgned trap vector base address 20bd764387ac scsi: ibmvfc: Fix up duplicate response detection f6782c0ca808 perf script: Fix PERF_SAMPLE_WEIGHT_STRUCT support 04ced3822a66 scsi: ufs: ufs-exynos: Correct timeout value setting registers d748da838b21 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu 4faa35ce98c7 KVM: s390: clear kicked_mask before sleeping again ae566351ca18 octeontx2-af: Check whether ipolicers exists 45d9cd363786 virtio-ring: fix DMA metadata flags 52a936b037b5 net: hns3: expand buffer len for some debugfs command efccb66bc917 net: hns3: add more string spaces for dumping packets number of queue info in debugfs e5c6ad377c07 bpf: Move BPF_MAP_TYPE for INODE_STORAGE and TASK_STORAGE outside of CONFIG_NET b341612b659d watchdog: sbsa: only use 32-bit accessors de709ec74f8b bpf: Use kvmalloc for map values in syscall 0717c71deae6 sctp: add vtag check in sctp_sf_ootb 1c255b5f68f4 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa dd82b3a345ab sctp: add vtag check in sctp_sf_violation 44ef3ecbc24a sctp: fix the processing for COOKIE_ECHO chunk 7975f42f1038 sctp: fix the processing for INIT_ACK chunk 6277d424ead2 sctp: fix the processing for INIT chunk 332933f9ae0a sctp: use init_tag from inithdr for ABORT chunk 44d44bf72591 RDMA/irdma: Do not hold qos mutex twice on QP resume 6392f26fbe92 RDMA/irdma: Set VLAN in UD work completion correctly 7762917173cc RDMA/irdma: Process extended CQ entries correctly 7860484eeb90 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings 37a1b9befb73 phy: phy_start_aneg: Add an unlocked version 1f9c99e0bb5b phy: phy_ethtool_ksettings_set: Move after phy_start_aneg 2191b1e8eb3d phy: phy_ethtool_ksettings_get: Lock the phy for consistency e2b4dd261720 net/tls: Fix flipped sign in async_wait.err assignment 373f94d73651 net: ethernet: microchip: lan743x: Fix skb allocation failure 228862acb549 net: hns3: fix data endian problem of some functions of debugfs 20d88211706b net: hns3: fix pause config problem after autoneg disabled 7cc73feb57f6 net: nxp: lpc_eth.c: avoid hang when bringing interface down d8774769d198 net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent 69d3c7785ec4 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails 18bd5e285a78 mlxsw: pci: Recycle received packet upon allocation failure 960f4a54b909 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST 030f05812d81 gpio: xgs-iproc: fix parsing of ngpios property c653c522e521 RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string 5f6995295f65 RDMA/mlx5: Initialize the ODP xarray when creating an ODP MR ed894f5439ab net: Prevent infinite while loop in skb_tx_hash() f435287d719b cfg80211: correct bridge/4addr mode check da279dac227a net-sysfs: initialize uid and gid before calling net_ns_get_ownership a8f7359259dd net: batman-adv: fix error handling 50cc1462a668 regmap: Fix possible double-free in regcache_rbtree_exit() c9e39214fddf reset: brcmstb-rescal: fix incorrect polarity of status bit 86f9394073d8 arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node 63a97a9f95f2 ice: check whether PTP is initialized in ice_ptp_release() ebd0edad1cdf RDMA/mlx5: Set user priority for DCT e83b3cce4722 ice: Respond to a NETDEV_UNREGISTER event for LAG f1e3cd1cc802 octeontx2-af: Fix possible null pointer dereference. 98db2a8c14be octeontx2-af: Display all enabled PF VF rsrc_alloc entries. c7752ec9ad39 nvme-tcp: fix possible req->offset corruption 7258a6eef5be nvme-tcp: fix data digest pointer calculation daa12f0c1d1b nvmet-tcp: fix data digest pointer calculation 5d33bd6b4d4d IB/hfi1: Fix abba locking issue with sc_disable() 0d4395477741 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields 6525bfbd546f bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch() adb17f828177 bpf: Fix potential race in tail call compatibility check 6f226ffe4458 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function e1b80a5ebe54 riscv, bpf: Fix potential NULL dereference b529f88d9388 cgroup: Fix memory leak caused by missing cgroup_bpf_offline b7ca59297fa3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout" 0a8b7eba95a0 drm/amd/display: Fix deadlock when falling back to v2 from v3 a363d80566cc drm/amd/display: Fallback to clocks which meet requested voltage on DCN31 aeadb0662478 drm/amd/display: Moved dccg init to after bios golden init 5a5f1f070c3e drm/amd/display: Increase watermark latencies for DCN3.1 85cf47160d0e drm/amd/display: increase Z9 latency to workaround underflow in Z9 01f39421d590 drm/amd/display: Fix prefetch bandwidth calculation for DCN3.1 b60efcaf5e8b drm/amd/display: Limit display scaling to up to true 4k for DCN 3.1 c3ae5cf3e3ee drm/amdgpu: support B0&B1 external revision id for yellow carp d3ed72495a59 drm/amdgpu: fix out of bounds write 9eb4bdd554fc drm/amdgpu: Fix even more out of bound writes from debugfs d87ac6054e3d drm/i915/dp: Skip the HW readout of DPCD on disabled encoders 7650327e7174 drm/i915: Catch yet another unconditioal clflush 0ed2dfb5f598 drm/i915: Convert unconditional clflush to drm_clflush_virt_range() 132a3d998d67 drm/ttm: fix memleak in ttm_transfered_destroy 15a4f2bdbdfd mac80211: mesh: fix HE operation element length check ce277959d77c arm64: dts: imx8mm-kontron: Make sure SOC and DRAM supply voltages are correct 8c684aaceaf3 arm64: dts: imx8mm-kontron: Set lower limit of VDD_SNVS to 800 mV f5eaf91dd8af arm64: dts: imx8mm-kontron: Fix connection type for VSC8531 RGMII PHY da32086a0203 arm64: dts: imx8mm-kontron: Fix CAN SPI clock frequency d2bdcd23cba9 arm64: dts: imx8mm-kontron: Fix polarity of reg_rst_eth2 5fcb6fce74ff mm: khugepaged: skip huge page collapse for special files 5e669d8ab30a mm, thp: bail out early in collapse_file for writeback page 6ac017254b59 mm: filemap: check if THP has hwpoisoned subpage for PMD page fault 8821fedc7f83 mm: hwpoison: remove the unnecessary THP check 67979d186c51 drm/amd/display: Require immediate flip support for DCN3.1 planes 75b1b172ae5a net: lan78xx: fix division by zero in send path 3c897f39b71f cfg80211: fix management registrations locking 2a000d137589 cfg80211: scan: fix RCU in cfg80211_add_nontrans_list() e6d02b0da2df ftrace/nds32: Update the proto for ftrace_trace_function to match ftrace_stub ea081b13b00e nvme-tcp: fix H2CData PDU send accounting (again) 2e382600e885 ocfs2: fix race between searching chunks and release journal_head from buffer_head 7335acd51f6b block: Fix partition check for host-aware zoned block devices 10bcaafc5753 mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit 78873d5a2717 mmc: sdhci-pci: Read card detect from ACPI for Intel Merrifield b572d6c18511 mmc: sdhci: Map more voltage level to SDHCI_POWER_330 ac6f66f208a1 mmc: dw_mmc: exynos: fix the finding clock sample value b1ad3ecffaac mmc: tmio: reenable card irqs after the reset callback e1b94f0e744f mmc: mediatek: Move cqhci init behind ungate clock 9106d68c8082 mmc: cqhci: clear HALT state after CQE enable aa2f3e425e22 mmc: vub300: fix control-message timeouts e41473543f75 net/tls: Fix flipped sign in tls_err_abort() calls 8ba94a7f7b9f Revert "net: mdiobus: Fix memory leak in __mdiobus_register" 836f40777d58 nfc: port100: fix using -ERRNO as command type mask e029c9828c5b tipc: fix size validations for the MSG_CRYPTO type 43849df432c9 ata: sata_mv: Fix the error handling of mv_chip_id() 66a1c8748068 pinctrl: amd: disable and mask interrupts on probe 18f31a907c9f Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode" b5c410a4af7d usbnet: fix error return code in usbnet_probe() 7e8b6a4f18ed usbnet: sanity check for maxpacket a350df591870 ARM: 9148/1: handle CONFIG_CPU_ENDIAN_BE32 in arch/arm/kernel/head.S 351d0f587b4c ARM: 9141/1: only warn about XIP address when not compile testing a51d78193d21 ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype 4108f38c05bd ARM: 9138/1: fix link warning with XIP + frame-pointer 6aa2d9cf81f9 ARM: 9134/1: remove duplicate memcpy() definition 78a7a2694e69 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned e108afbd38a5 ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images (From OE-Core rev: ae32a59571abec59cc9f19bf9289ec9472b3923b) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10linux-yocto-rt/5.15: update to -rt17Bruce Ashfield
Integrating the following commit(s) to linux-yocto-rt/5.15: 6f51b8d2b7dc Add localversion for -RT release 3c8ff0c09156 sysfs: Add /sys/kernel/realtime entry 828d8f9b903f POWERPC: Allow to enable RT 6db76b613e53 powerpc/stackprotector: work around stack-guard init from atomic 44be16e0180a powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT a5c27dfc178a powerpc/pseries/iommu: Use a locallock instead local_irq_save() dce767609e50 powerpc: traps: Use PREEMPT_RT 9cad1f8c7dd7 ARM64: Allow to enable RT 5bd881944e4f ARM: Allow to enable RT 715792fbbaf7 tty/serial/pl011: Make the locking work on RT 69221f2f5b91 tty/serial/omap: Make the locking RT aware 5fa50218f3e3 arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND. c004c410d380 arm64/sve: Make kernel FPU protection RT friendly 7ffcb4485981 arm64/sve: Delay freeing memory in fpsimd_flush_thread() 322561563b01 KVM: arm/arm64: downgrade preempt_disable()d region to migrate_disable() fe5ed302a1ec ARM: enable irq in translation/section permission fault handlers f17af435c3a3 arch/arm64: Add lazy preempt support 10e096c7a491 powerpc: Add support for lazy preemption 5e15c21804be arm: Add support for lazy preemption abc04080e1b3 entry: Fix the preempt lazy fallout 2fb1741e933b x86: Support for lazy preemption 24b379de7afc x86/entry: Use should_resched() in idtentry_exit_cond_resched() 860dbaa27ad1 sched: Add support for lazy preemption 4d5c9c824eee */softirq: Disable softirq stacks on PREEMPT_RT 2676f33e2cf4 generic/softirq: Disable softirq stacks on PREEMPT_RT 1886700e5658 leds: trigger: Disable CPU trigger on PREEMPT_RT 694e3f263964 drivers/block/zram: Replace bit spinlocks with rtmutex for -rt 97f765c75d6d mm/zsmalloc: Replace bit spinlock and get_cpu_var() usage. 49c7010ff12e tpm_tis: fix stall after iowrite*()s df583a002c38 virt: acrn: Remove unsued acrn_irqfds_mutex. a68737287907 smack: Guard smack_ipv6_lock definition within a SMACK_IPV6_PORT_LABELING block ac9df8459eda ASoC: mediatek: mt8195: Remove unsued irqs_lock. 02bc2e3cbe09 genirq: update irq_set_irqchip_state documentation ac932078b2e6 x86: Enable RT also on 32bit e262f9f76c5b x86: Allow to enable RT fef570ba4596 x86: kvm Require const tsc for RT e5a9202c3535 signal/x86: Delay calling signals in atomic 2c0f317da8b9 drm/i915: Drop the irqs_disabled() check 06b3f43f370b drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock() ac58ec9af512 drm/i915/gt: Queue and wait for the irq_work item. aaa6ddcfd053 drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE 6db29073f209 drm/i915: Disable tracing points on PREEMPT_RT 5d34e949e11c drm/i915: Don't check for atomic context on PREEMPT_RT 0ca85efbe2e9 drm/i915: Don't disable interrupts on PREEMPT_RT during atomic updates 688ce2658570 drm/i915: Use preempt_disable/enable_rt() where recommended 9a76a256848c drm/i915: Don't disable interrupts and pretend a lock as been acquired in __timeline_mark_lock(). 766248132ccf random: Make it work on rt ba411ba63b8e x86: stackprotector: Avoid random pool on rt 3c158aab9acc panic: skip get_random_bytes for RT_FULL in init_oops_id bf099c9ff70f net: dev: always take qdisc's busylock in __dev_xmit_skb() 783862056952 net: Dequeue in dev_cpu_dead() without the lock 61793a50d51d net: Use skbufhead with raw lock 4e369dc108af net/core: use local_bh_disable() in netif_rx_ni() 8056c6bd6380 rcu: Delay RCU-selftests 1372b981252b fs/dcache: disable preemption on i_dir_seq's write side 8f35827f634d fs/dcache: use swait_queue instead of waitqueue dc26bf05c680 ptrace: fix ptrace vs tasklist_lock race 54332013d985 signal: Revert ptrace preempt magic 65309bca8d9c mm/memcontrol: Disable on PREEMPT_RT 5d193966a444 u64_stats: Disable preemption on 32bit-UP/SMP with RT during updates 9e7c9b1a7d21 softirq: Check preemption after reenabling interrupts 0d4e38f0610e crypto: cryptd - add a lock instead preempt_disable/local_bh_disable 4a01578f1878 sunrpc: Make svc_xprt_do_enqueue() use get_cpu_light() 03f8b0f0eedb net: Remove preemption disabling in netif_rx() ddd725b42e48 mm/vmalloc: Another preempt disable region which sucks 28545272667f scsi/fcoe: Make RT aware. dcb042c59ca4 md: raid5: Make raid5_percpu handling RT aware 393999301a85 block/mq: do not invoke preempt_disable() 8485ff82f922 kernel/sched: add {put|get}_cpu_light() 274408c7b291 sched: Make preempt_enable_no_resched() behave like preempt_enable() on PREEMPT_RT 9708837923a7 locking: Allow to include asm/spinlock_types.h from linux/spinlock_types_raw.h b5f1fc042d2f lockdep/selftests: Adapt ww-tests for PREEMPT_RT 3e6dd28f0231 lockdep/selftests: Skip the softirq related tests on PREEMPT_RT 0da6a4f59354 lockdep/selftests: Unbalanced migrate_disable() & rcu_read_lock() b29dc4a9ef20 lockdep/selftests: Add rtmutex to the last column db92f5fc3fb7 lockdep: Make it RT aware fae24609aafa rtmutex: Add rt_mutex_lock_nest_lock() and rt_mutex_lock_killable(). 9d8c380fa819 rtmutex: Add a special case for ww-mutex handling. d6b24f0f2a8a sched: Trigger warning if ->migration_disabled counter underflows. 6e09a284f2a6 lockdep/selftests: Avoid using local_lock_{acquire|release}(). bd833044483a locking: Remove rt_rwlock_is_contended() 36839db14247 jump-label: disable if stop_machine() is used 5a657ef837de tcp: Remove superfluous BH-disable around listening_hash c11095ec78ef mm: workingset: replace IRQ-off check with a lockdep assert. 168e3d8875c7 cgroup: use irqsave in cgroup_rstat_flush_locked() 639d2eb6493f sched: Move mmdrop to RCU on RT 590419b10863 sched: Delay task stack freeing on RT 37860896be2e sched: Move kprobes cleanup out of finish_task_switch() dc3565cd6bbd sched: Disable TTWU_QUEUE on RT 77db91d4d2b5 sched: Limit the number of task migrations per batch on RT 8ea3ab8bb409 locking/rt: Take RCU nesting into account for __might_resched() b2f56dfeab18 sched: Make cond_resched_lock() variants RT aware 9bac73a04b71 sched: Make RCU nest depth distinct in __might_resched() 4f3dd3cb71e5 sched: Make might_sleep() output less confusing b8c4ad5ceaec sched: Cleanup might_sleep() printks 588c973bd55b sched: Remove preempt_offset argument from __might_sleep() 5b8fbf83bb40 sched: Make cond_resched_*lock() variants consistent vs. might_sleep() 8e4b532478f2 sched: Clean up the might_sleep() underscore zoo 3a5e868f92f0 fscache: Use only one fscache_object_cong_wait. 67ba86618a1e fs/namespace: Boost the mount_lock.lock owner instead of spinning on PREEMPT_RT. cad3bedc2a83 smp: Wake ksoftirqd on PREEMPT_RT instead do_softirq(). 394e3bdd3242 irq_poll: Use raise_softirq_irqoff() in cpu_dead notifier 4de8f9d6a1ad irq_work: Also rcuwait for !IRQ_WORK_HARD_IRQ on PREEMPT_RT 87e75faa338d irq_work: Handle some irq_work in a per-CPU thread on PREEMPT_RT d2100f67254d irq_work: Allow irq_work_sync() to sleep if irq_work() no IRQ support. ada60e0098ea sched/rt: Annotate the RT balancing logic irqwork as IRQ_WORK_HARD_IRQ f657de711e15 net: stats: Read the statistics in ___gnet_stats_copy_basic() instead of adding. 0d3a9c303dd9 net: sched: remove one pair of atomic operations 853f1349041a net: sched: fix logic error in qdisc_run_begin() 68f3b93760b7 net: sched: Allow statistics reads from softirq. 86e29a3d2d68 net: sched: Remove Qdisc::running sequence counter 304640d0b862 net: sched: Merge Qdisc::bstats and Qdisc::cpu_bstats data types 1c7a827367ee net: sched: Use _bstats_update/set() instead of raw writes 22701ce1b59f net: sched: Protect Qdisc::bstats with u64_stats 54538aff544a u64_stats: Introduce u64_stats_set() 69534c384086 gen_stats: Move remaining users to gnet_stats_add_queue(). e1f89d46623c mq, mqprio: Use gnet_stats_add_queue(). d3968711bb65 gen_stats: Add gnet_stats_add_queue(). c2b1af791919 gen_stats: Add instead Set the value in __gnet_stats_copy_basic(). 3d38b89d239a net/sched: sch_ets: properly init all active DRR list handles b59a9b759b1a kcov: Replace local_irq_save() with a local_lock_t. 8e2db8a2201a kcov: Avoid enable+disable interrupts if !in_task(). d244291fb820 kcov: Allocate per-CPU memory on the relevant node. 6eec9f99da0e Documentation/kcov: Define `ip' in the example. e619eb9cb198 Documentation/kcov: Include types.h in the example. f002c820156b x86/softirq: Disable softirq stacks on PREEMPT_RT 12b80085754b mm: Disable NUMA_BALANCING_DEFAULT_ENABLED and TRANSPARENT_HUGEPAGE on PREEMPT_RT a1411120989b mm/scatterlist: Replace the !preemptible warning in sg_miter_stop() 56fb69cc8a0b mm: page_alloc: Use migrate_disable() in drain_local_pages_wq() 39d1d6a46eaa mm: Allow only SLUB on PREEMPT_RT bf1b661248f6 crypto: testmgr - Only disable migration in crypto_disable_simd_for_test() ddd1767afd69 samples/kfifo: Rename read_lock/write_lock a6c921dd2368 net/core: disable NET_RX_BUSY_POLL on PREEMPT_RT 96cc6b82ae54 mm: Disable zsmalloc on PREEMPT_RT f77af3465961 efi: Allow efi=runtime 8b3cde535f8f efi: Disable runtime services on RT 7082e94c5405 lockdep: Let lock_is_held_type() detect recursive read as read ffc314d30f16 genirq: Disable irqfixup/poll on PREEMPT_RT. 1ec49f38b6ae genirq: Move prio assignment into the newly created thread e272fc66d6bc kthread: Move prio/affinite change into the newly created thread 468813504d5a rcutorture: Avoid problematic critical section nesting on PREEMPT_RT e6a408241cee sched: Switch wait_task_inactive to HRTIMER_MODE_REL_HARD cd6bda4839a6 printk: Enhance the condition check of msleep in pr_flush() 2ad1282d77e8 printk: add pr_flush() cd582486f3e8 printk: add console handover 25f13bd1d07b printk: remove deferred printing 2d440f3f2ee5 printk: move console printing to kthreads df0a27dbd128 printk: introduce kernel sync mode 4efb519165f1 printk: use seqcount_latch for console_seq 8653ea7d3c45 printk: call boot_delay_msec() in printk_delay() 892cddfada1f printk: relocate printk_delay() e1ac77117990 serial: 8250: implement write_atomic 967b98b7c528 kdb: only use atomic consoles for output mirroring 36422a33e3b3 console: add write_atomic interface 7b9055c4c17d printk: rename printk cpulock API and always disable interrupts 3791dee37847 arm64: mm: Make arch_faults_on_old_pte() check for migratability e5b82790a28d sched: Introduce migratable() 0cf3b776c423 rcu/tree: Protect rcu_rdp_is_offloaded() invocations on RT (From OE-Core rev: a784cd98bb095e19957bc5aeec3c3303bea64def) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10meta: use ln -rs instead of lnrRoss Burton
lnr is a script in oe-core that creates relative symlinks, with the same behaviour as `ln --relative --symlink`. It was added back in 2014[1] as not all of the supported host distributions at the time shipped coreutils 8.16, the first release with --relative. However the oldest coreutils release in the supported distributions is now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln. [1] 6ae3b85eaffd1b0b6914422e8de7c1230723157d (From OE-Core rev: 1ca455a98de4c713f58df0a537d4c982d256cd68) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10vim: add patch number to CVE-2021-3778 patchRoss Burton
(From OE-Core rev: 222be29051a3543ac63a0eb07019e90d44429b16) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10wic: Use os.rename instead of bb.utils.renameKhem Raj
This is not invoked with bitbake context as a result bb.utils is not visible when this function is called during image creation and builds fail e.g. NameError: name 'bb' is not defined (From OE-Core rev: df9dca9fe4dd1abfe5f3986389a8e8ff524da5d7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Joshua Watt <JPEWhacker@gmail.com> Cc: Devendra Tewari <devendra.tewari@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10vim: fix CVE-2021-3796, CVE-2021-3872, and CVE-2021-3875Ross Burton
Backport patches from upstream to fix these CVEs. (From OE-Core rev: b493eb4f9a6bb75a2f01a53b6c70762845bf79f9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10msmtp: upgrade 1.8.18 -> 1.8.19wangmy
(From OE-Core rev: 52b44cb8770097310549aaef9bf014cc30ab83c6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10libpcre2: upgrade 10.37 -> 10.39wangmy
This release is mainly to fix an important JIT bug, but it also contains an update to Unicode 14.0.0 and some code and configuration tidies. License-Update: Add "Retired from" before "University of Cambridge Computing Service" (From OE-Core rev: 928afb0d6faa48dd43cdc2c1a6598ad048a43d36) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10iw: upgrade 5.9 -> 5.16wangmy
(From OE-Core rev: bdc61a7c56d45561aa2441de6e4634962c9b59a9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10iso-codes: upgrade 4.7.0 -> 4.8.0wangmy
- ISO 3166-1: Add flag emoji to countries. Thanks to Pander for the suggestion. Fixes #19 - ISO 639-5: New translation for Chinese (Simplified) - ISO 3166-2: Major update of data. Thanks to the script of Kevin Kaiser, which enables the download of ISO pages and parses the data. Fixes #15, #16, #27 - Rename ChangeLog.md to CHANGELOG.md and follow the suggestions from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Move all CHANGELOG entries from versions before 4.0 to an archive file (CHANGELOG-PRE-4.0.md) in order to reduce the massive size of this CHANGELOG. - Translation updates for ISO 3166-1 - Translation updates for ISO 3166-2 - Translation updates for ISO 639-2 - Translation updates for ISO 639-3 - Translation updates for ISO 639-5 - Translation updates for ISO 15924 (From OE-Core rev: bc2b7decc9a9720500c381ee4839718dd820a15a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10iproute2: upgrade 5.14.0 -> 5.15.0wangmy
(From OE-Core rev: 609fd71c5d132b77072f1eb0cc4fe94370371eff) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10harfbuzz: upgrade 3.0.0 -> 3.1.1wangmy
Work around GCC cast-align error/warning on some platforms. (Behdad Esfahbod) Documentation improvements. (Matthias Clasen) (From OE-Core rev: e1bcaabdf73e995dd01b9c81807c855a2f0ad6bc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10squashfs-tools: follow-up fix for CVE-2021-41072Kai Kang
Squash a follow-up fix for CVE-2021-41072 from upstream: https://github.com/plougher/squashfs-tools/commit/19fcc93 (From OE-Core rev: 70709ff0741ed9fb9c111ef4b7aa2ee7432453f4) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10ell: upgrade 0.44 -> 0.45wangmy
Fix issue with ICMPv6 and handling re-entrantly callbacks. (From OE-Core rev: 2968b9f18e35c2b9393dab666f229ab2419778b3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10diffoscope: upgrade 189 -> 190wangmy
Changelog: [Chris Lamb] Don't raise a traceback if we cannot de-marshal Python bytecode to support Python 3.7 loading newer .pyc files. (Closes: reproducible-builds/diffoscope#284) Fix Python tests under Python 3.7 with file 5.39+. [Vagrant Cascadian] Skip Python bytecode testing when "file" is older than 5.39. [Roland Clobus] Detect whether the GNU_BUILD_ID field has been modified. (From OE-Core rev: b9c59b5d2ac29544c1877f50ec10d2126339d814) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10btrfs-tools: upgrade 5.14.2 -> 5.15wangmy
Changelog v5.15 (Nov 2021) mkfs: new defaults! no-holes free-space-tree DUP for metadata unconditionally libbtrfsutil: add missing profile defines libbtrfs: minimize its impact on the other code, refactor and separate implementation where needed, cleanup afterwards, reduced header exports documentation: introduce sphinx build and RST versions of manual pages, will become the new format and replace asciidoc fixes: fix warning regarding v1 space cache when only v2 (free space tree) is enabled (From OE-Core rev: 77d08d327b9e675109dc95c27ee4910d9047ec49) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10gdb-cross: add dependency on gmp-nativeMartin Jansa
* it was already added for target and cross-canadian gdb in: commit 4643d1eb222151384f77d13a936537aae5ca3fe6 Author: Khem Raj <raj.khem@gmail.com> Date: Fri Nov 5 17:37:33 2021 -0700 gdb: Add dependency on libgmp gdb 11 has added this library as must have * but gdb-cross.inc overwrites DEPENDS from gdb-common.inc and needs the dependency as well as shown in log.do_compile: checking for libgmp... no configure: error: GMP is missing or unusable make[1]: *** [Makefile:9418: configure-gdb] Error 1 and in gdb-cross-i686/11.1-r0/build-i686-oe-linux/gdb/config.log: configure:10402: checking for libgmp configure:10422: gcc -o conftest -isystem/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -I/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -L/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib -L/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib -Wl,-rpath,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/OE/tmp-glibc/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 conftest.c -lncursesw -lm -ldl -lgmp >&5 conftest.c:52:10: fatal error: gmp.h: No such file or directory 52 | #include <gmp.h> | ^~~~~~~ * this fails only when the host OS doesn't have GMP installed otherwise it will use libgmp from host and ignore --with-libgmp-prefix=/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr (From OE-Core rev: 09a7d9d8d83529d82f847e52feac7719efb02a99) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10mirrors: Add uninative mirror on kernel.orgRichard Purdie
At the last nas outage, we realised that we don't have good mirrors of the uninative tarball if our main system can't be accessed. kernel.org mirrors some Yocto Project data so we've ensured uninative is there. Add the appropriate mirror url to make use of that. (From OE-Core rev: 1833cb0c5841afafb468b963b74b63366b09a134) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10qemu: Fix build on aarch64/muslKhem Raj
(From OE-Core rev: 35040bba25bf994fa9e03f2b8f0c49822c41192c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10bitbake: cooker: Handle parsing results queue raceRichard Purdie
The previous fix introduced a race where the queue might not be empty but all the parser processes have exited. Handle this correctly to avoid occasional errors. (Bitbake rev: 8e7f2b6500e26610f52d128b48ca0a09bf6fb2cb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10bitbake: fetch/wget: Add timeout for checkstatus calls (30s)Richard Purdie
We had an issue where a webserver serving sstate had filesystem issues so would accept connections but effectively not do anything with them. This causes bitbake to hang whilst processing things like sstate objects inside the checkstatus() calls. It can be replicated by setting up a server like: socat -u TCP4-LISTEN:NNN,fork OPEN:/dev/null and pointing SSTATE_MIRRORS in OE at that address. Adding a timeout to the checkstatus calls of 15s means that whilst the system will pause, it will then continue and not hang entirely. Since there isn't a large transfer here, 30s should be a reasonable response time after which we should fall back to building things ourselves. [YOCTO #13716] (Bitbake rev: edc3b0c3953cab675e29fe295b58cfa84ba811c3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10bitbake: parse/ast: Show warnings for append/prepend/remove operators ↵Richard Purdie
combined with +=/.= Operations like XXX:append += "YYY" are almost always wrong and this is a common mistake made in the metadata. Show warnings for these usages with a view to making it a fatal error eventually. (Bitbake rev: 8c31e75557dc6a8d8f407b5d24d6327889a3e3b1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10bitbake: cooker: Remove debug code, oops :(Richard Purdie
(Bitbake rev: 19291665fa8b6cc331290f2542af3e8e653203f1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08meson: improve SDK's wrapper to make Wraps workLeif Middelschulte
Meson, as provided by the SDK, would fail to fetch Wraps' sources on bare systems (i.e. systems, that only provide little more than the SDK). This change modifies the wrapper script so that it sets an environment variable (unless it is already set) that is used to determine valid certificates for secured connections. It does not affect bitbake's interaction with meson. The SDK's SSL directory was not searched, so meson would fail when it tried to fetch sources via https, that were specified in wrap files. Specifically `urllib` would fail: ``` <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)> ``` Caution: this patch depends on the underlying C library (i.e. openssl) to consider this environment variable. (From OE-Core rev: afad2f09ebbfe395f8fafce8218e26056479fe39) Signed-off-by: Leif Middelschulte <Leif.Middelschulte@klsmartin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08avahi: update CVE id fixed by local-ping.patchChen Qi
CVE-2021-36217 is treated as a duplicate of CVE-2021-3502. Update the local-ping.patch to mark it resolve both. (From OE-Core rev: 4d75d6c39f1faeb38191b55f1fa9311b63fcfb29) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08qemu: Build on musl targetsKhem Raj
This has been disabled for the given compile error which has been fixed over time, qemu for target builds fine with musl now a days (From OE-Core rev: c8902102a96475d7d292a04f0a2e5564cdab4cfe) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08bitbake.conf: Use wayland distro feature for native buildsTom Hochstein
The wayland-scanner is missing from SDKs with weston, but the weston build requires wayland-scanner. Allow the distro feature in order to include the wayland-scanner packages via nativesdk-packagegroup-sdk-host.bb. (From OE-Core rev: 858cc6f257e22e39df83f4808ea27c6d12cd1b80) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08nativesdk-packagegroup-sdk-host.bb: Update host tools for waylandTom Hochstein
The wayland-scanner host tool required to build weston is moved to the wayland-tools package, so update the SDK host tools list accordingly. Also, the weston build requires wayland-scanner.pc to find wayland-scanner, so add wayland-dev. (From OE-Core rev: 31ed91bdbb0ec05730fb98d7cc523bb46aca50e3) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08wayland: Fix wayland-tools packagingTom Hochstein
There are some packaging problems due to the wayland-tools packaging implementation. The wayland-tools package currently looks like this: wayland-tools └── usr ├── bin │   └── wayland-scanner └── share └── wayland ├── wayland.dtd ├── wayland-scanner.mk └── wayland.xml The files wayland.dtd and wayland.xml belong in the main package, while wayland-scanner.mk belongs in wayland-dev. Fix the wayland.dtd and wayland.xml packaging by prepending the wayland-tools package and dropping the main package FILES variable override. The file wayland-scanner.mk is included in the main package by default, and so must be explicitly added to wayland-dev. (From OE-Core rev: a31fbec45d24df5b74091940d0e0b2daf34d8492) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08bitbake: runqueue: Fix runall option handlingRichard Purdie
The previous fix for runall option handling had a small bug in it, it didn't clear the originally processed task list which meant it was running too many tasks. Fix this so the list is reset and rebuild correctly. (Bitbake rev: 87c9e120897ed04dfc64d4752fc602f9bfcb8645) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08bitbake: fetch2/checksum/siggen: Fix taskhashes not tracking file directoriesRichard Purdie
Currently if you have something like: SRC_URI = "file://foobar;subdir=${S}" and a file like: foobar/1/somefile and then move it to: foobar/2/somefile the task checksums don't reflect/notice this. The file-checksum fields encode two pieces of data, the file path and whether or not the file exists. Changing the code which uses these fields is problematic. We can however add a "/./" path element which means "include the bit after the marker in the checksum" which the path walking code can use to mark which bits of the path are visible to the fetcher. I'm not convinced this is great design but it does appear to work. (Bitbake rev: b4975d2ecf615ac4c240808fbc5a3f879a93846b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08bitbake: cooker: Handle parse threads disappearing to avoid hangsRichard Purdie
If one of the parse threads disappears during parsing for some reason, bitbake currently hangs. Avoid this (and zombie threads hanging around) by joining() threads which have exited. (Bitbake rev: dc86a533d951d13643ce446533370da804782afc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07bitbake: tests/fetch: Update pcre.org address after github changesRichard Purdie
vcs.pcre.org was a redirect to github which we use for subversion testing. With the protocol changes at github and the removal of the redirect, use a direct address for github. (Bitbake rev: 6230ca71eb7eb2a6db162e28a01727d00af5299b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07libx11-compose-data: Update LICENSE to better reflect realityPeter Kjellerstedt
There are no traces of neither the BSD-2-Clause license nor the BSD-4-Clause license being used in the code. There is one occurrence of the BSD-1-Clause license. On the other hand, HPND and HPND-sell-variant are all over the place. (From OE-Core rev: b0f30792fd0ea41f1d1590dbe0452c956e018c82) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07libx11: Update LICENSE to better reflect realityPeter Kjellerstedt
There are no traces of neither the BSD-2-Clause license nor the BSD-4-Clause license being used in the code. There is one occurrence of the BSD-1-Clause license. On the other hand, HPND and HPND-sell-variant are all over the place. (From OE-Core rev: 5cd90092e21ad245df40a60feed3598dd9c6b98b) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07scons: support out-of-tree buildsRoss Burton
SCons has a slightly unusual implementation of out-of-tree builds where there is no standard way of doing it. However, if a recipe sets B to the idiomatic ${WORKDIR}/build and passes the right arguments so that this is used then scons will fail as it is trying to find the SConstruct file in ${B} not ${S}. Always pass --directory=${S} to scons so that the SConstruct file can be found, and don't call --clean if out-of-tree builds are being used as we would have just deleted the entire build tree already. (From OE-Core rev: 88d77d82ee506576988936e06b8d624879a80f2e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07mesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driverJoel Winarske
Enables building the Vulkan 1.1 compliant v3d driver. (From OE-Core rev: 8cc28b231b821bb9669eb3980281d27399f378be) Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07linux-yocto/5.15: introduce recipesBruce Ashfield
The 5.15 kernel will be a LTS release, so we introduce our reference recipes to track the release. We have some configuration tweaks for the final 5.15 release, but this is otherwise the same as the kernel that was tested in linux-yocto-dev. (From OE-Core rev: 9241266d18fc081f570bbb22b45d0875546a2e93) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07linux-libc-headers: update to v5.15Bruce Ashfield
No patches needed refreshing or removal, so we just update the SRC_URI and pick up the latest uapi / kernel headers. (From OE-Core rev: 9cebccedb16919b70198ee26acb8fcb6c4565359) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07ppp: fix build against 5.15 headersBruce Ashfield
The 5.15 kernel has removed ipx support, along with the userspace visible header. The build error was found for muslc, since it doesn't have a fallback header, we disable it for both glibc/muslc. This support wasn't used previously (as it hasn't been very well maintained in the kernel for several years), so we can simply disable it in our build and wait for upstream to do a release that drops the support. Although the tarball we use for our build (versus git), doesn't use the autoconf disable flag to turn off the support, it is included in this patch in case someone is building via git source base. Upstream-Status: Inappropriate [OE-specific configuration/headers] (From OE-Core rev: 2d61b061f52cc8dbed82e2d9547e8b52d3ec9e34) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07librsvg: Disable 64bit atomics on riscv32/mipsel in crossbeamKhem Raj
(From OE-Core rev: d1635d80c2e0c8680c0af9966eb6007700601c39) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07gdb: Add dependency on libgmpKhem Raj
gdb 11 has added this library as must have (From OE-Core rev: 4643d1eb222151384f77d13a936537aae5ca3fe6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07gdb: Upgrade to 11.1Khem Raj
Drop backported patches Changes are here [1] [1] https://sourceware.org/pipermail/gdb-announce/2021/000129.html (From OE-Core rev: e1c421c0450212201ad9737bf203eac2bfcd37db) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07manuals: start of documentation standards documentMichael Opdenacker
This first version specifies how to create consistent SGV graphics (From yocto-docs rev: 370b9e34e9092c9eed22df2e8b2d0bb979487e5c) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>