summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* wic: honor the SOURCE_DATE_EPOCH in case of updated fstabSergei Zhmylev2022-11-103-2/+10
| | | | | | | | | | | | | | | In case user requested to build a binary repeatable package, it's required to honor the SOURCE_DATE_EPOCH environment variable. So forcefully set mtime inside all the routines which modify fstab in case it is updated. (From OE-Core rev: 2671667f33d0eac1425db3fc4dff56d4eed1eb3c) Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 99719a3712a88dce8450994d995803e126e49115) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* create-spdx: Remove ";name=..." for downloadLocationKeiya Nobuta2022-11-101-0/+1
| | | | | | | | | | (From OE-Core rev: 8a13c860338a4b1d7d971760c467f2f2d3ee393a) Signed-off-by: Keiya Nobuta <nobuta.keiya@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit bbecab53d1b27f3bb8c5882cb0ec39b04ef300a3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: move some recommended dependencies in requiredThomas Perrot2022-11-101-3/+3
| | | | | | | | | | | | | Otherwise, xserver will no longer start when NO_RECOMMENDATIONS = “1”, because dependencies in XSERVER_RRECOMMENDS are missing. (From OE-Core rev: a3607a035b4c9ab89232ccb1d0361791e5892b34) Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit bc7bd3953f3896af0db036250cda34bc9ecbb3ac) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: add lfs=0 to SRC_URI to avoid git smudge errors in do_unpackMartin Jansa2022-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * we don't need other_lib/ios/Debug-iphoneos/libSDL2.a from https://github.com/KhronosGroup/KTX-Software.git so we can explicitly disable LFS here to avoid do_unpack error, bitbake will then use GIT_LFS_SKIP_SMUDGE=1 to override smudge setting in gitconfig, otherwise we would need bitbake patch to fetch LFS objects from the submodules as well * do_fetch won't fetch LFS objects without explicitly requesting lfs in SRC_URI then do_unpack might run git smudge when enabled in .gitconfig (or /etc/gitconfig) with: [filter "lfs"] smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true clean = git-lfs clean -- %f and do_unpack fails as in: http://errors.yoctoproject.org/Errors/Details/672888/ The default /etc/gitconfig in ubuntu has this added automatically by git-lfs postinst: root@ljama:~# rm /etc/gitconfig root@ljama:~# git lfs install --skip-repo --system Git LFS initialized. root@ljama:~# cat /etc/gitconfig [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true root@ljama:~# cat /var/lib/dpkg/info/git-lfs.postinst set -e # Set up /etc/gitconfig for git-lfs. The --skip-repo option prevents failure if # / is a Git repository with existing non-git-lfs hooks. git lfs install --skip-repo --system > /dev/null 2>&1 according to https://changelogs.ubuntu.com/changelogs/pool/universe/g/git-lfs/git-lfs_3.0.2-1/changelog it was added in: git-lfs (2.6.0-1) unstable; urgency=medium * New upstream release * Bump standards version to 4.2.1 * Add postinst/prerm to set up/remove git-lfs gitconfig FWIW: vulkan-samples still fail to build with DEBUG_BUILD enabled: http://errors.yoctoproject.org/Errors/Details/672892/ (From OE-Core rev: ef035d9f49c9c974e24709e7824c661e92d819c0) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit b45b1f5dba02a626b7e9040d45198bd17dce4c99) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Clear SYSROOT_DIRS instead of replacing sysroot_stage_allSean Anderson2022-11-101-3/+1
| | | | | | | | | | | | | | Replacing sysroot_stage_all by a no-op recipe makes it difficult for bbappends to stage files intentionally. Instead, just clear SYSROOT_DIRS, allowing other bbappends to easily add new directories. (From OE-Core rev: 45ed53ec09e24956ce3d7d008e254bc759cf5f85) Signed-off-by: Sean Anderson <sean.anderson@seco.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 849791e7086463a4c7c53c2c1ed9603a6c3a080d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: improve fatal error messages of symbol_why.pyJose Quaresma2022-11-101-5/+5
| | | | | | | | | | | | | | Improve the fatal error message of the yocto-kernel-tools symbol_why.py and shows the command that generate the error as it can help understand the root cause of the error. (From OE-Core rev: e09d98cb1f940119600f90045ed4525987f4f481) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 54ae08779071f2e97bff0ff6514ede3124312c3b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: fix relative path processingBruce Ashfield2022-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous fix for processing of paths with relative components, broke uses cases that were a mix of patches and configuration fragments. Updating the SRCREV to include a simplied fix for relative paths, and a cleanup patch from Jose: [ Author: Jose Quaresma <quaresma.jose@gmail.com> Date: Thu Sep 29 16:37:23 2022 +0000 scc: only look for error in scc_output_file if it has valid content When process_file function fails the output of the processed script is show to the user, some parsing is performed as well to look for common errors so we can point to the right input file. This can only be done when the scc_output_file have some valid content otherwise it will show invalid messages to the user. Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Author: Bruce Ashfield <bruce.ashfield@gmail.com> Date: Wed Oct 5 19:13:33 2022 +0000 spp: ensure that prefix check uses absolute paths The previous fix for this issue was too broad, and impacted all calls to the prefix check and removal. With this change, we only expand the input on scc/spp operations that may execute with relative paths. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] (From OE-Core rev: 110bcaf1629ee89d7117ea1d4f860fe9f61ce225) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 533720a1756454447341769c4a0969fce8d6f287) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: package amdgpu firmwareVincent Davis Jr2022-11-101-0/+12
| | | | | | | | | | | | Add packages for the firmware required by amdgpu kernel driver. (From OE-Core rev: 55e74e86a8451decefbe4a9402b36ee4fbf235d8) Signed-off-by: Vincent Davis Jr <vince@underview.tech> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 0d7aa21f120a756d1a4fc4ae0be3527b54a58247) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: split rtl8761 firmwareChristian Eggers2022-11-101-0/+6
| | | | | | | | | | | | | | | | | | Realtek Bluetooth devices require binary firmware files. Package them separately in order to avoid installing the full linux-firmware package on embedded devices. Affected (end user) products (incomplete list): - TP-Link UB500 - Logilink BT0054 (From OE-Core rev: 8d6bb62e03d2c2d63d0d8659028bd8f745a36677) Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit fb44eb4feef54f2343c8186809a65dcb9b58a9b2) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.15: update to v5.15.72Bruce Ashfield2022-11-103-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: c68173b2012b Linux 5.15.72 713fa3e4591f drm/i915/gem: Really move i915_gem_context.link under ref protection a00ed4e5d5ee x86/alternative: Fix race in try_get_desc() c3d4b8970c0d KVM: x86: Hide IA32_PLATFORM_DCA_CAP[31:0] from the guest ab5c5787ab5e clk: iproc: Do not rely on node name for correct PLL setup e748a084b51c clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks 19f4e1636626 fs: split off setxattr_copy and do_setxattr function from setxattr a0e3719e030a vdpa/ifcvf: fix the calculation of queuepair 4755d9d2c9b0 selftests: Fix the if conditions of in test_extra_filter() c83a7606aa65 net: phy: Don't WARN for PHY_UP state in mdio_bus_phy_resume() a8cd7e1bc7cd net: stmmac: power up/down serdes in stmmac_open/release 67c00bcf4231 wifi: mac80211: fix regression with non-QoS drivers 520e434a082d nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices e9d7d809022e net/mlxbf_gige: Fix an IS_ERR() vs NULL bug in mlxbf_gige_mdio_probe 8b1b908507ce cxgb4: fix missing unlock on ETHOFLD desc collect fail path e99c7a61d89e net: sched: act_ct: fix possible refcount leak in tcf_ct_init() 815381aeff95 usbnet: Fix memory leak in usbnet_disconnect() af91321b7372 gpio: mvebu: Fix check for pwm support on non-A8K platforms f592ccddac68 Input: melfas_mip4 - fix return value check in mip4_probe() ff982b1f325d Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time" bde7795794f4 drm/bridge: lt8912b: fix corrupted image output e103b0e83991 drm/bridge: lt8912b: set hdmi or dvi mode 473f653a86ee drm/bridge: lt8912b: add vsync hsync 6a12105d9d4f ASoC: tas2770: Reinit regcache on reset 75ef73d7d2b3 arm64: dts: qcom: sm8350: fix UFS PHY serdes size 5664dc84fc2e ASoC: imx-card: Fix refcount issue with of_node_put 367403bc1cfe soc: sunxi: sram: Fix debugfs info for A64 SRAM C 68d2f42cf4f6 soc: sunxi: sram: Fix probe function ordering issues 2f82b5290078 soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource() 861adc2b2037 soc: sunxi: sram: Prevent the driver from being unbound 8b07378ebe43 soc: sunxi: sram: Actually claim SRAM regions d50e0e2f3d94 ARM: dts: am5748: keep usb4_tm disabled c48e3db1df25 reset: imx7: Fix the iMX8MP PCIe PHY PERST support 606229101290 ARM: dts: am33xx: Fix MMCHS0 dma properties bfe5dc2101ba swiotlb: max mapping size takes min align mask into account a6a3b6b11ac0 media: v4l2-compat-ioctl32.c: zero buffer passed to v4l2_compat_get_array_args() ab9d32844742 media: rkvdec: Disable H.264 error detection 69379139ed78 media: dvb_vb2: fix possible out of bound access 6287c9e00595 mm,hwpoison: check mm when killing accessing process f9aed3d8a029 mm: fix madivse_pageout mishandling on non-LRU page 1299c1198878 mm/migrate_device.c: flush TLB while holding PTL e858f7ac7395 mm: fix dereferencing possible ERR_PTR d75ce115625e mm: prevent page_frag_alloc() from corrupting the memory 23d17e2b04c7 mm/page_alloc: fix race condition between build_all_zonelists and page allocation fec2db7a434a mmc: hsq: Fix data stomping during mmc recovery 4fef6e1fe07c mmc: moxart: fix 4-bit bus width and remove 8-bit bus width 4f75d0cacd65 libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205 dc248ddf41ea vduse: prevent uninitialized memory accesses ea774829699a drm/amdgpu: Add amdgpu suspend-resume code path under SRIOV 25759a7bc1f4 drm/i915/gt: Restrict forced preemption to the active context e0f576335d05 Revert "firmware: arm_scmi: Add clock management to the SCMI power domain" 5de02ab84aec net: mt7531: only do PLL once after the reset 56e3f8d56299 mm/damon/dbgfs: fix memory leak when using debugfs_lookup() 149da9e60b8c ntfs: fix BUG_ON in ntfs_lookup_inode_by_name() dc8cdb988453 ARM: dts: integrator: Tag PCI host with device_type aa5c3aa3f197 x86/sgx: Do not fail on incomplete sanitization on premature stop of ksgxd 476c188b9dbe clk: ingenic-tcu: Properly enable registers before accessing timers d134b0f7a9b9 can: c_can: don't cache TX messages for C_CAN cores 6fff203793cb Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address 006a5085a3a8 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455 81e759d71a6b thunderbolt: Explicitly reset plug events delay back to USB4 spec value 85a70a259916 usb: typec: ucsi: Remove incorrect warning ac12a04c8e08 uas: ignore UAS for Thinkplus chips 528aba78ee01 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS 0a4e8f384e82 uas: add no-uas quirk for Hiksemi usb_disk 8484a356cee8 cgroup: cgroup_get_from_id() must check the looked-up kn is a directory ae04dd5ef180 cgroup: reduce dependency on cgroup_mutex 7a64e6dc6cb7 ALSA: hda/realtek: fix speakers and micmute on HP 855 G8 6a3bee2ead9b ALSA: hda: Fix Nvidia dp infoframe f7392f93a2fb ALSA: hda: Fix hang at HD-audio codec unbinding due to refcount saturation de5deddfa7e7 ALSA: hda: Do disconnect jacks at codec unbind 90c7e9b400c7 Linux 5.15.71 214194610a18 ext4: use locality group preallocation for small closed files 8a1ac4167dda ext4: avoid unnecessary spreading of allocations among groups fd8b82919549 ext4: make mballoc try target group first even with mb_optimize_scan 21dada4ce19c ext4: limit the number of retries after discarding preallocations blocks be4df018c0be ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0 90bc7b630c6c ext4: make directory inode spreading reflect flexbg size 95d714d8ad3d devdax: Fix soft-reservation memory description 27bf7a5d1198 NFSv4: Fixes for nfs4_inode_return_delegation() 21b0301f2234 drm/amdgpu: don't register a dirty callback for non-atomic 6eb08245da51 i2c: mlxbf: Fix frequency calculation dc2a0c587006 i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction() 621c6ab03ac3 i2c: mlxbf: incorrect base address passed during io write c242dbf2e36f i2c: imx: If pm_runtime_get_sync() returned 1 device access is possible c71ec39be45a workqueue: don't skip lockdep work dependency in cancel_work_sync() 929ef155e1da fsdax: Fix infinite loop in dax_iomap_rw() 9aac3819f099 drm/rockchip: Fix return type of cdn_dp_connector_mode_valid 1c26968caf18 drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage 492db4ffcff3 drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule() 9539cfc74493 drm/amd/display: Reduce number of arguments of dml31's CalculateWatermarksAndDRAMSpeedChangeSupport() a541c0111818 drm/amd/display: Limit user regamma to a valid value 33b128f790b6 drm/amdgpu: use dirty framebuffer helper f76d6f309a68 drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards e5ae504c8623 drm/gma500: Fix BUG: sleeping function called from invalid context errors e07d9154bb81 Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region 5f270b61ee8b drm/amd/amdgpu: fixing read wrong pf2vf data in SRIOV d3a67c21b18f s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup faf0e1b5d82b serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting 0aada772fd16 serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting 4c7e17270cab serial: Create uart_xmit_advance() 4199425b1132 serial: fsl_lpuart: Reset prior to registration cc1504f6da2e KVM: x86/mmu: Fold rmap_recycle into rmap_add dddae48eabfb selftests: forwarding: add shebang for sch_red.sh 08483e4c0c83 bnxt: prevent skb UAF after handing over to PTP worker f8162aed962b net: sched: fix possible refcount leak in tc_new_tfilter() bd29ca2b398c net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD ec3a6f4ffe55 bonding: fix NULL deref in bond_rr_gen_slave_id db145b8a04fc net/smc: Stop the CLC flow if no link to map buffers on 5daef0042d2c drm/mediatek: dsi: Move mtk_dsi_stop() call back to mtk_dsi_poweroff() a08cba2f50d7 perf tools: Honor namespace when synthesizing build-ids 1a83f39dc4e1 perf kcore_copy: Do not check /proc/modules is unchanged a3b923f449a3 perf jit: Include program header in ELF files 39dc6ccdd5af perf stat: Fix BPF program section name c6d939639fe0 can: gs_usb: gs_can_open(): fix race dev->can.state condition e1676adedc17 net: sh_eth: Fix PHY state warning splat during system resume 71200518bbbf net: ravb: Fix PHY state warning splat during system resume d5917b7af7ca netfilter: ebtables: fix memory leak when blob is malformed 08d7524f366a netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain() 91aa52652f4b netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain() c721623efd09 net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs f58e43184226 net/sched: taprio: avoid disabling offload when it was never enabled 510e703e4ed0 net: enetc: deny offload of tc-based TSN features on VF interfaces 11eb9ed08856 net: enetc: move enetc_set_psfp() out of the common enetc_set_features() c60801e4e2b5 wireguard: netlink: avoid variable-sized memcpy on sockaddr 3ebf690d1cde wireguard: ratelimiter: disable timings test by default c2dc533a7edb net: ipa: properly limit modem routing table use cbdab7d68f20 of: mdio: Add of_node_put() when breaking out of for_each_xx ca86577c10bc drm/hisilicon: Add depends on MMU 68c4acee6328 drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled 8547c7bfc061 sfc: fix null pointer dereference in efx_hard_start_xmit 360910b88d14 sfc: fix TX channel offset when using legacy interrupts bc750d7127a9 i40e: Fix set max_tx_rate when it is lower than 1 Mbps 53220b99059a i40e: Fix VF set max MTU size 7249a653fe5f iavf: Fix set max MTU size with port VLAN and jumbo frames 030e0688b6b2 mlxbf_gige: clear MDIO gateway lock after read 93859f6878e7 iavf: Fix bad page state e1dbe8a62098 um: fix default console kernel parameter 7400e2edfc9e MIPS: Loongson32: Fix PHY-mode being left unspecified abea65fa7713 MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko 831cf63c043e drm/panel: simple: Fix innolux_g121i1_l01 bus_format 408d5752b60f net: team: Unsync device addresses on ndo_stop f50265a4f3da net: bonding: Unsync device addresses on ndo_stop e6b277f7367e net: bonding: Share lacpdu_mcast_addr definition 8b2ab46b6c63 scsi: mpt3sas: Fix return value check of dma_get_required_mask() 89df49e561b4 scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts() 5826a555f77c net: phy: aquantia: wait for the suspend/resume operations to finish 4d2f1bc9067a net: core: fix flow symmetric hash 8d06006c7eb7 ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header dae9d2abe25b iavf: Fix cached head and tail value for iavf_get_tx_pending 34447d64b8d2 ice: Don't double unplug aux on peer initiated reset 816eab147e5c netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find() dc33ffbc361e netfilter: nf_conntrack_irc: Tighten matching on DCC message 0606c5d5fefd netfilter: nf_conntrack_sip: fix ct_sip_walk_headers 0babb5bc85ee arm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma dd5a6c5a0875 dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get() 1b0e46d970b4 arm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHz e352fea1d0fc drm/mediatek: dsi: Add atomic {destroy,duplicate}_state, reset callbacks 43733b6c9fda arm64: dts: rockchip: Fix typo in lisense text for PX30.Core 2929463a9eff arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob 166a332463b5 firmware: arm_scmi: Fix the asynchronous reset requests 1f08a1b26cfc firmware: arm_scmi: Harden accesses to the reset domains 9ec5a534d77c xfs: validate inode fork size against fork format 5caa3a127953 xfs: fix xfs_ifree() error handling to not leak perag ref 9e7b231687fd xfs: reorder iunlink remove operation in xfs_ifree 28c7ef86b21b vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment 3c3edb82d67b arm64: topology: fix possible overflow in amu_fie_setup() 2427a04bce86 KVM: x86: Inject #UD on emulated XSETBV if XSAVES isn't enabled 61703b248be9 mm: slub: fix flush_cpu_slab()/__free_slab() invocations in task context. 2d6e55e0c038 mm/slub: fix to return errno if kmalloc() fails 71075d7d4632 net: mana: Add rmb after checking owner bits 19aea370fd09 can: flexcan: flexcan_mailbox_read() fix return value for drop = true bf0197aea195 kasan: call kasan_malloc() from __kmalloc_*track_caller() c75288a4902b riscv: fix a nasty sigreturn bug... 97da736cd11a gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully 9b26723e058f gpio: mockup: Fix potential resource leakage when register a chip 18352095a0d5 gpio: mockup: fix NULL pointer dereference when removing debugfs 2279e977405b wifi: mt76: fix reading current per-tid starting sequence number for aggregation b5bc5a274d54 efi: libstub: check Shim mode using MokSBStateRT ef43fee9f211 efi: x86: Wipe setup_data on pure EFI boot b173f1f8ef9e thunderbolt: Add support for Intel Maple Ridge single port controller 65b13f951fe6 usb: dwc3: core: leave default DMA if the controller does not support 64-bit DMA 7143f6cf58db media: flexcop-usb: fix endpoint type check d8a76a2e514f btrfs: fix hang during unmount when stopping a space reclaim worker 46053262b5f5 btrfs: fix hang during unmount when stopping block group reclaim worker b02f86689a5a iommu/vt-d: Check correct capability for sagaw determination a963fe6d0eb6 ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop 4b2fa20da623 ALSA: hda/realtek: Add quirk for ASUS GA503R laptop eb54e457c4ad ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack 0898469913cd ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack c6a746b4fca5 ALSA: hda/realtek: Re-arrange quirk table entries 41e974cd6ecb ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5570 laptop 5421125bbda8 ALSA: hda/realtek: Add quirk for Huawei WRT-WX9 84481d7a59a2 ALSA: hda: add Intel 5 Series / 3400 PCI DID 04b5bd5702ab ALSA: hda/tegra: set depop delay for tegra e10425c5424b ALSA: core: Fix double-free at snd_card_new() 10a8c5d7d393 Revert "ALSA: usb-audio: Split endpoint setups for hw_params and prepare" 06c0204a6e80 USB: serial: option: add Quectel RM520N 6cf9e8b7e67a USB: serial: option: add Quectel BG95 0x0203 composition 369b008bbe36 USB: core: Fix RST error in hub.c d10d1e9d9f1e drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES 6eede01dfd0e Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio" c02431f43e12 Revert "usb: add quirks for Lenovo OneLink+ Dock" 8de5e12f587b usb: gadget: udc-xilinx: replace memcpy with memcpy_toio 2db7a7176c45 usb: add quirks for Lenovo OneLink+ Dock a72eee6d905e usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop f79a57d4091f usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup() 1a9923999459 usb: dwc3: gadget: Refactor pullup() 7604a210acbb usb: dwc3: gadget: Prevent repeat pullup() a0b5d22b0448 usb: dwc3: Issue core soft reset before enabling run/stop 8d583ba79cde usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind 167b18f25b96 staging: r8188eu: Add Rosewill USB-N150 Nano to device tables add40eda8258 staging: r8188eu: Remove support for devices with 8188FU chipset (0bda:f179) 55653c548612 drm/amdgpu: make sure to init common IP before gmc 25a90a11036b drm/amdgpu: Separate vf2pf work item init from virt data exchange 3e98e33d345e Linux 5.15.70 21f948cab866 ALSA: hda/sigmatel: Fix unused variable warning for beep power change 5db17805b6ba cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all() 39b0235284c7 KVM: SEV: add cache flush to solve SEV cache incoherency issues d9bf46e74735 net: Find dst with sk's xfrm policy not ctl_sk ab5140c6ddd7 video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write 9af7af862cb8 mksysmap: Fix the mismatch of 'L0' symbols in System.map 2340f23c770d drm/panfrost: devfreq: set opp to the recommended one to configure regulator 7e8df4920b2a MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping() af88da4c737a afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked 2dd0ae85fb3c net: usb: qmi_wwan: add Quectel RM520N a5e949e088bc ALSA: hda/tegra: Align BDL entry to 4KB boundary 3d25aaf71fe0 ALSA: hda/sigmatel: Keep power up while beep is enabled d582756bfc71 wifi: mac80211_hwsim: check length for virtio packets 17898c3b578a rxrpc: Fix calc of resend age 1bbcd88c3c99 rxrpc: Fix local destruction being repeated 87cd4c02bdb1 scsi: lpfc: Return DID_TRANSPORT_DISRUPTED instead of DID_REQUEUE f08a320b4b60 regulator: pfuze100: Fix the global-out-of-bounds access in pfuze100_regulator_probe() 80c7be217ba7 ASoC: nau8824: Fix semaphore unbalance at error paths f1d57c4c99c2 arm64: dts: juno: Add missing MHU secure-irq 59b756da49bf video: fbdev: i740fb: Error out if 'pixclock' equals zero 899f4160b140 binder: remove inaccurate mmap_assert_locked() 8c2bbfb0ded3 drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega 0a7d86f156fa drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega dcef16f64969 drm/amdgpu: Don't enable LTR if not supported 710ebf8f1a08 tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa 309e9f4a17cf parisc: Allow CONFIG_64BIT with ARCH=parisc 9a72466fb61b cifs: always initialize struct msghdr smb_msg completely 21c47a08f96a cifs: don't send down the destination address to sendmsg for a SOCK_STREAM e1aad8c56090 cifs: revalidate mapping when doing direct writes b04e0208d025 of/device: Fix up of_dma_configure_id() stub 8fd27239ca92 parisc: ccio-dma: Add missing iounmap in error path in ccio_probe() 5f285e4c47c3 block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowait f86092d12fbb drm/meson: Fix OSD1 RGB to YCbCr coefficient d38eb1f37538 drm/meson: Correct OSD1 global alpha value 89cfddd416ba gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx 9a173db71a99 NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0 cd358b2ee56f pinctrl: sunxi: Fix name for A100 R_PIO ca2b798e53d4 pinctrl: rockchip: Enhance support for IRQ_TYPE_EDGE_BOTH 30fccb4fe449 pinctrl: qcom: sc8180x: Fix wrong pin numbers cbafdbb6f6ce pinctrl: qcom: sc8180x: Fix gpio_wakeirq_map ba6b9f7cc110 of: fdt: fix off-by-one error in unflatten_dt_nodes() c23065adf97f tty: serial: atmel: Preserve previous USART mode if RS485 disabled 1d01d7beccba serial: atmel: remove redundant assignment in rs485_config f3450c33411b drm/tegra: vic: Fix build warning when CONFIG_PM=n 820b689b4a7a Linux 5.15.69 277674996dcf Input: goodix - add compatible string for GT1158 b9b39f7332c5 RDMA/irdma: Use s/g array in post send only when its valid 125c3ae8a936 usb: gadget: f_uac2: fix superspeed transfer fa7e0266c239 usb: gadget: f_uac2: clean up some inconsistent indenting 07609e83c1b9 soc: fsl: select FSL_GUTS driver for DPIO 3998dc50ebdc mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region() cd698131ef5d usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS 6087747599ec platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes d4441b810bd8 perf/arm_pmu_platform: fix tests for platform_get_irq() failure 55032fb14d4a net: dsa: hellcreek: Print warning only once 985a5d3d491d drm/amd/amdgpu: skip ucode loading if ucode_size == 0 a1347be8f0ff nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change() 3d380f9d1e2b Input: iforce - add support for Boeder Force Feedback Wheel b9682878abee ieee802154: cc2520: add rc code in cc2520_tx() 3a10e8edee2b gpio: mockup: remove gpio debugfs when remove device b4ebcd6d48bc tg3: Disable tg3 device on system reboot to avoid triggering AER f715188c23fa hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message a86c8d1b36a9 HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo 2e3aeb48995a dt-bindings: iio: gyroscope: bosch,bmg160: correct number of pins 1b80691d5115 drm/msm/rd: Fix FIFO-full deadlock a9687a2dc7e1 platform/surface: aggregator_registry: Add support for Surface Laptop Go 2 49801d5f8b67 Input: goodix - add support for GT1158 709edbac4c45 iommu/vt-d: Fix kdump kernels boot failure with scalable mode 90f922646f57 tracefs: Only clobber mode/uid/gid on remount if asked 3c90af5a773a tracing: hold caller_addr to hardirq_{enable,disable}_ip 64840a4a2d8e task_stack, x86/cea: Force-inline stack helpers 0b009e5fd146 x86/mm: Force-inline __phys_addr_nodebug() f9571a969973 lockdep: Fix -Wunused-parameter for _THIS_IP_ dee782da3937 ARM: dts: at91: sama7g5ek: specify proper regulator output ranges 424ac5929d0a ARM: dts: at91: fix low limit for CPU regulator 8be25fa7cfd6 ARM: dts: imx6qdl-kontron-samx6i: fix spi-flash compatible 78eb5e326a0e ARM: dts: imx: align SPI NOR node name with dtschema 3bb12efc5e4d ACPI: resource: skip IRQ override on AMD Zen platforms a68a734b19af NFS: Fix WARN_ON due to unionization of nfs_inode.nrequests (From OE-Core rev: ce015f3e0d28bec21ba4aedcb489854e51e83735) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit fbc8840580fe008c2deda50c0d2d5a98e9b6c564) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lighttpd: upgrade 1.4.66 -> 1.4.67wangmy2022-11-102-33/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ============= * Update comment about TCP_INFO on OpenBSD * [mod_ajp13] fix crash with bad response headers (fixes #3170) * [core] handle RDHUP when collecting chunked body * [core] tweak streaming request body to backends * [core] handle ENOSPC with pwritev() (#3171) * [core] manually calculate off_t max (fixes #3171) * [autoconf] force large file support (#3171) * [multiple] quiet coverity warnings using casts * [meson] add license keyword to project declaration (From OE-Core rev: da59d2883b8b0af2e6e435c630e74ae3732a6ad0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7a399862bb2e1503fbffa18e7ec0767643f76132) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: upgrade 2.13.4 -> 2.13.5wangmy2022-11-101-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ========== * Fix: bytecode validator: reject specialized load field/context ref instructions * Fix: bytecode validator: reject specialized load instructions * Fix: event notification capture: validate buffer length * Fix: event notification capture error handling * Fix: lttng-ust-comm: wait on wrong child process * fix: 'make dist' without javah (From OE-Core rev: 92408e3a14d7f3a8944131ae0cd24e5f1844aa6d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 569d6c271bf782cb4a524603693adbbe3d020f92) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: upgrade 2.13.3 -> 2.13.4wangmy2022-11-101-1/+1
| | | | | | | | | | | | Bug fix release (From OE-Core rev: 552c17a4c4a9f4efad3d113fe069b2624bcc73b3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 0be632451f4e9a4a6a08d051e6f493715658c23b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libksba: upgrade 1.6.0 -> 1.6.2wangmy2022-11-101-1/+1
| | | | | | | | | | | | | | New upstream release fixing CVE-2022-3515 (From OE-Core rev: b58fa75b4cb0cc75034be5f952224d4bcee9aff6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 4bef6fc673de958dfbab80bcbc2e0159803b97ee) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit 8e453d64255ce6a01b193c3735bb0aefbaa6fb38) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpebackend-fdo: upgrade 1.12.1 -> 1.14.0wangmy2022-11-101-1/+1
| | | | | | | | | | | | | | Changelog: ========== Fixed a crash caused by trying to deallocate already freed graphics buffers in certain situations. (From OE-Core rev: d5269e53d936570c875ef743f4ac198bb3658b6e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 0db4627fe8c6f8a0080248052dc06419774cba4f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* numactl: upgrade 2.0.15 -> 2.0.16wangmy2022-11-101-2/+2
| | | | | | | | | | (From OE-Core rev: 5a51b44967fff256ec298f7c3cfae1c084bf1b32) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 6d9ed8d4b13c2d87dae482bbadef039de050bc9d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* numactl: upgrade 2.0.14 -> 2.0.15Richard Purdie2022-11-101-3/+3
| | | | | | | | | | | | | | | | v2.0.15 changes Various bug fixes and cleanups Supported multiple preferred nodes This release didn't include a release tarball. Furthermore, it had issues such as #135, #136 and #138 that got fixed in the follow up release. Please try to use v2.0.16 instead. License checksum change from a typo fix. (From OE-Core rev: c275a87794027b03fde68ee11fa2f5eddbf3c344) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8829fe6ee093acc6fb990f9ca6cad67c2c7549d5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libical: upgrade 3.0.14 -> 3.0.15wangmy2022-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ========= Add missing property parameters into libical-glib Fix CMake option USE_32BIT_TIME_T actually uses a 32-bit time_t value Fix icaltime_as_timet, which returned incorrect results for years >= 2100, to work properly between years 1902 and 10k. Fix x-property comma handling and escaping Built-in timezones updated to tzdata2022d (now with a VTIMEZONE for each time zone alias) Fix fuzzer issues Handle unreachable-code compile warnings with clang Ensure all vanew_foo() calls finish with (void*)0 (not 0) (From OE-Core rev: d0882397cb37ab19543733535c3d01d09c3845a4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 6092ae3cbe0eaf006db615c6cc3f1692e1cc1df8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap: upgrade 2.65 -> 2.66wangmy2022-11-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | RELEASE NOTES FOR 2.66 Fix documentation typos in cap_from_text.3 (Bug: 216514 reported by Paulo Andrade.) Some getpcaps code clean up and a fix for PID argument parsing from Jakub Wilk. Slightly more robust Makefiles to address an error with make -j48 test observed by Tomasz Kłoczko. Include a simple Go program, captrace, to trace kernel capability validation checks This program can be used to figure out what capabilities a program needs to operate. captrace (a wrapper for bpftrace) uses BPF kprobes to monitor the kernel for capability checks and whether or not they succeed for the system, a specific PID or a program's direct execution. Trim down the default file capabilities for contrib/sucap/su to those actually needed and set USER and HOME environment variables so bash doesn't complain about a sourcing error. (From OE-Core rev: 003a81171366956c899305ca9adc352d3c99c964) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 9040e612084a561b1766bb86c9c002b811eea4c9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: Depend on native setuptools3Khem Raj2022-11-091-1/+1
| | | | | | | | | | | | | | | perf has need for python setuptools when scripting is enabled from 6.0.0 onwards it seems to throw an explicit error (From OE-Core rev: e1c36bdfb3c31f359e58d1644c238b74410d6091) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit da3d00178809bbf7cc453401e0c5937796ebc2c1) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: backport clock_gettime04 fix from upstreamXiangyu Chen2022-11-092-0/+90
| | | | | | | | | | | | | This is to get rid of the intermittent failures in clock_gettime04, which are likely caused by different clock tick rates on platforms. Here give two thresholds (in milliseconds) for comparison, one for COARSE clock and one for the rest. (From OE-Core rev: 9452efd99299a5bf23cc6518e8900e58b3a2fff9) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: Fix host tool contamination (Bug: 14951)Bernhard Rosenkränzer2022-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Trying to build cmake-native on a host system where curl was built with cmake (resulting in CURLConfig.cmake and friends, which do not use the same naming schemes expected by cmake-native's build process, being installed to a system wide cmake directory like /usr/lib64/cmake/CURL) results in undefined references to all libcurl symbols. The problem is that cmake-native sees and uses the system wide /usr/lib64/cmake/CURL/CURLConfig.cmake, which defines CURL::libcurl and CURL::curl as opposed to setting ${CURL_LIBRARIES} as expected by cmake-native. find_package(CURL) (cmake-native's CMakeLists.txt, line 478) succeeds, but incorrectly uses the system wide CURLConfig.cmake, resulting CMAKE_CURL_LIBRARIES to be set to an empty string (cmake-native's CMakeLists.txt, line 484), causing the cmake-native build to miss -lcurl. The simplest fix is to let cmake know the right value for CURL_LIBRARIES. Making it -lcurl should always work with libcurl-native in recipe-sysroot-native. (From OE-Core rev: 0896d76a167dc9a64d69717ba66f12e7e1c41a77) Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* overlayfs: Allow not used mount pointsVyacheslav Yurkov2022-11-092-2/+10
| | | | | | | | | | | | | | | | | When machine configuration defines a mount point, which is not used in any recipe, allow to fall through and only report a note in the logs. This can be expected behavior, when a mount point is defined for several machines, but not used in all of them (From OE-Core rev: 89d83920dc7f80abb20fadde97b47aba9cd992cc) Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit a9c604b5e0d943b5b5f7c8bdd5be730c2abcf866) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit c7c6b273656a3e2b8b959004b996e56d4086ce5e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: Fix gl-es argument from causing other arguments to be ignoredJoshua Watt2022-11-091-1/+1
| | | | | | | | | | | | | | | The code to parse arguments was inadvertently skipping all arguments in the elif block after gl-es if it was specified on the command line. (From OE-Core rev: 45356f2ef90e4b67b890ca745513fafa32a469cf) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 718bb8d56f6a24c86e67830a7d13af54df2ebb4e) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit dd1dcfada1fa46ecb8227c2852769b35026875d3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: Do not perturb script environmentJoshua Watt2022-11-091-12/+14
| | | | | | | | | | | | | | | | | | | | | | | Instead of changing the script environment to affect the child processes, make a copy of the environment with modifications and pass that to subprocess. Specifically, when dri rendering is enabled, LD_PRELOAD was being passed to all processes created by the script which resulted in other commands (e.g. stty) exiting with a failure like: /bin/sh: symbol lookup error: sysroots-uninative/x86_64-linux/lib/librt.so.1: undefined symbol: __libc_unwind_link_get, version GLIBC_PRIVATE Making a copy of the environment fixes this because the LD_PRELOAD is now only passed to qemu itself. (From OE-Core rev: 74911cf7ea703c54920a6c58c344a22a46398b02) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 2232599d330bd5f2a9e206b490196569ad855de8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-native: Add PACKAGECONFIG option for jackJeremy Puhlman2022-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | With libjack-devel or jack-audio-connection-kit-devel, qemu-native detects the library/header and tries to build with it. Since its missing from the sysroot, it fails to build. -O2 -fPIE -D_REENTRANT -Wno-undef -MD -MQ libcommon.fa.p/audio_jackaudio.c.o -MF libcommon.fa.p/audio_jackaudio.c.o.d -o libcommon.fa.p/audio_jackaudio.c.o -c ../qemu-6.2.0/audio/jackaudio.c | ../qemu-6.2.0/audio/jackaudio.c:34:10: fatal error: jack/jack.h: No such file or directory | 34 | #include <jack/jack.h> | | ^~~~~~~~~~~~~ | compilation terminated. (From OE-Core rev: 05eb77bd1e9e1ba59032cbb49953cab8015e37a3) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 27260be388f7f9f324ff405e7d8e254925b4ae90) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: export certificates to python and curlJan-Simon Moeller2022-11-091-0/+2
| | | | | | | | | | | | | | The custom path of the ca-certificates.crt within the buildtools-tarball requires more environment variables to be exported. Namely REQUESTS_CA_BUNDLE for the python requests library and CURL_CA_BUNDLE for curl. (From OE-Core rev: a38eab48fa1ccd6ae3ba0bd8ed30f5a9bdf9b661) Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 5c249db9de8ad8cfe0996ff4fee4c575a5ff1e34) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: make wrapper options sub-command specificLiam Beguin2022-11-091-4/+17
| | | | | | | | | | | | | | | | The meson-wrapper adds setup options to facilitate cross-compilation. The current options are exclusive to the setup sub-command and might cause issues with other sub-commands. Update the wrapper to make options sub-command specific. (From OE-Core rev: 6f4764ae2ef06c54dbbf77bcbf07af9390a565c9) Signed-off-by: Liam Beguin <liambeguin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 7bcda141f2019862b4fb5d8dec7956cd8344b420) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Unified package names to lower-caseKeiya Nobuta2022-11-091-1/+1
| | | | | | | | | | | | | | create-spdx can't detect the license properly if the case doesn't match, so fix it. (From OE-Core rev: a96cd0df052af00215796add25373daf12a0e5ed) Signed-off-by: Keiya Nobuta <nobuta.keiya@fujitsu.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9c87828493784d996910d742006268a626ef0130) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix rare GFileInfo test case failureRoss Burton2022-11-092-0/+52
| | | | | | | | | | | | | | | | If a access or creation timestamp has 0 microseconds, then the test fails as it doesn't expect this to be a valid value. Expand a previous fix for modification times to cover these timestamps too. [ YOCTO #14373 ] (From OE-Core rev: a4e29fe2bd3f834f8253716790fbbf032aad9fcc) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 15715e6ad81c97cd50e288f3745615eb19be90d1) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez5: add dbus to RDEPENDSBartosz Golaszewski2022-11-091-0/+1
| | | | | | | | | | | | | | | Unless we're using systemd, dbus is not pulled into the system automatically. Bluez5 will not work without dbus so add it to RDEPENDS explicitly. (From OE-Core rev: eba53bb6663222d47e14d26a5f22d26ba198f019) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 377ef7009a8638efe688b6b61f67ae399eb1f23d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Remove duplicate inherit of cml1Alex Kiernan2022-11-091-1/+1
| | | | | | | | | | | | | | | Splitting u-boot-configure.inc out of the base left duplicate cml1.bbclass in the base include. Fixes: fc9a17ad386c ("u-boot: Split do_configure logic into separate file") (From OE-Core rev: a6506c2c0563820293031d3312c2405998c25287) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 286f91f7659307bcdf0ba541b8d6b56db5604ceb) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe/packagemanager/rpm: don't leak file objectsRoss Burton2022-11-091-12/+21
| | | | | | | | | | (From OE-Core rev: 406abef218a7e743f7892eff4c13fa0f889aa7f2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 28706c27680745c9f8df27713ce63ef5d611138c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Allow hashlib version that only accepts on parameterMark Hatle2022-11-091-1/+4
| | | | | | | | | | | | | | | Some versions of hashlib don't appear to implement the second FIPS related argument. Detect this and support both versions. (From OE-Core rev: 01af6453baccc926c245c51dda81aba5e15725c5) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2bbabed51e3aca138486d3feef640f5d3249be40) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg-utils: use a git clone, not a dynamic snapshotRoss Burton2022-11-091-3/+3
| | | | | | | | | | | | | | | | | opkg-utils fetches using a cgit snapshot of a tag, which is not reproducible as the tag could move, not reliable as a future dynamic snapshot could have a different checksum, and a waste of CPU load as these tarballs are built on demand. Switch opkg-utils to use a proper git clone of the relevant SHA. (From OE-Core rev: 6ff0464d2fb21dea438e44538195dd9ff464a67c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dafd2631a20ffd94e6f21c46938a010e92b57da4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: add psplash-default in rdependsThomas Perrot2022-11-091-1/+1
| | | | | | | | | | | | | | Otherwise when the installation of recommended packages is prevented (NO_RECOMMENDATIONS = "1"), then splash screen will not be cast. (From OE-Core rev: 15342afa50de81bb882bc879892efa6ba63e75ff) Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2a0928532b8303858980d6df6271669dbb69e224) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-check-sstate: force build to run for all targets, specifically ↵Ross Burton2022-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | populate_sysroot Since the commit "populate_sdk_base/images: Drop use of 'meta' class and hence do_build dependencies"[1], builds of images or SDKs don't recursively depend on the top-level do_build target. This is typically a good thing: images just depend on the packages themselves and those dependencies already exist, but they don't need each recipes sysroot to be populated. However, eSDK generation is partly done via the script oe-check-sstate, which does a 'dry-run' build of the target and collates all of the sstate that is used. With this commit the sstate that is used is a fraction of what would be needed in the SDK, specifically there are no sysroots populated during the build, so there are no sysroots in the SDK. This is obviously a problem, as the entire point of an eSDK is to contain a sysroot. Resolve this problem by forcing bitbake to run the build task for all targets, so that all potentially needed sstate is collated. [YOCTO #14626] [1] https://github.com/openembedded/openembedded-core/commit/41d7f1aa2cc9ef5dba4db38435402d4c9c0a63e1 Tested-by: Andrej Valek <andrej.valek@siemens.com> (From OE-Core rev: c6b8543fbd0e840483cbcdca93116cc9c994a9f2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1b62344f919b5122f048b6409d09386d7d6dd3cd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-check-sstate: cleanupRoss Burton2022-11-091-6/+2
| | | | | | | | | | | | | | The scriptutils import isn't used, there's no need to run bitbake in a shell environment, and invoke bitbake as a list instead of a string. (From OE-Core rev: 4b9946bd3961679048e1460bdfc74b286c386feb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 663aa284adf312eb5c8a471e5dbff2634e87897d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ifupdown: upgrade 0.8.37 -> 0.8.39wangmy2022-11-091-1/+1
| | | | | | | | | | (From OE-Core rev: acd017d7b7af29508212798224ba559bb47ddcae) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit f0462e3336c7134aeeb2684692732c187971b330) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: add timeout to urlopen() callsFrank de Brabander2022-11-091-2/+7
| | | | | | | | | | | | | | | | | | The urlopen() call can block indefinitely under some circumstances. This can result in the bitbake process to run endlessly because of the 'do_fetch' task of cve-update-bb-native to remain active. This adds a default timeout of 60 seconds to avoid this hang, while being large enough to minimize the risk of unwanted timeouts. (From OE-Core rev: 28497b96346a669ba0ed3873cc40bc3ade611251) Signed-off-by: Frank de Brabander <debrabander@gmail.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e5f6652854f544106b40d860de2946954de642f3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: upgrade 9.0.0614 -> 9.0.0820Tim Orling2022-11-041-2/+2
| | | | | | | | | | | | | | | | | Includes fixes for CVE-2022-3705 https://nvd.nist.gov/vuln/detail/CVE-2022-3705 For a short list of important changes, see: https://www.arp242.net/vimlog/ (From OE-Core rev: 555fd2848b970fd38c20651b5e98cabb7f31287c) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f6d917bd0f8810b5ed8d403ad25d59cda2fc9574) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Upgrade 9.0.0598 -> 9.0.0614Teoh Jay Shen2022-11-041-2/+2
| | | | | | | | | | | | Include fixes for CVE-2022-3352. (From OE-Core rev: 1104d02f9bac2fdd540da5ccb5dd6690e025ef33) Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 8aa707f80ae1cfe89d5e20ec1f1632a65149aed4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: fix CVE-2021-3782Narpat Mali2022-11-042-0/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | An internal reference count is held on the buffer pool, incremented every time a new buffer is created from the pool. The reference count is maintained as an int; on LP64 systems this can cause thereference count to overflow if the client creates a large number of wl_shm buffer objects, or if it can coerce the server to create a large number of external references to the buffer storage. With the reference count overflowing, a use-after-free can be constructed on the wl_shm_pool tracking structure, where values may be incremented or decremented; it may also be possible to construct a limited oracle to leak 4 bytes of server-side memory to the attacking client at a time. Reference: https://nvd.nist.gov/vuln/detail/CVE-2021-3782 Upstream patch: https://gitlab.freedesktop.org/wayland/wayland/-/commit/b19488c7154b902354cb26a27f11415d7799b0b2 (From OE-Core rev: 09b8ff8d2361b2db001bc963f481db294ccf2170) Signed-off-by: Narpat Mali <narpat.mali@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: backport the fix for CVE-2022-43680Ross Burton2022-11-042-0/+34
| | | | | | | | (From OE-Core rev: 791fe354e5887af3fa3d3f772fafacc5eaedca21) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: fix CVE-2022-2953Zheng Qiu2022-11-043-0/+698
| | | | | | | | | | | | | | | | | While this does not happen with the tiff 4.3.0 release, it does happen with the series of patches we have, so backport the two simple changes that restrict the tiffcrop options to avoid the vulnerability. CVE-2022-2953.patch was taken from upstream, and a small typo was fixed for the CVE number. The other patch is included in tiff 4.4.0 but not 4.3.0, so add it as well. (From OE-Core rev: cd94ed01214251027d1076b67cf65c3058f51dad) Signed-off-by: Randy MacLeod <randy.macleod@windriver.com> Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lighttpd: fix CVE-2022-41556Ross Burton2022-11-042-0/+32
| | | | | | | | | | | | Backport the fix from upstream to fix this CVE. (From OE-Core rev: 88e1917dbf1e1bce5713c88d97adceb28ac0da05) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 59f69125fb00dc8fd335f32fe6898e7a480141e4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Upgrade 3.0.5 -> 3.0.7Ed Tanous2022-11-042-57/+1
| | | | | | | | | | | | | | | | | | | | | | OpenSSL 3.0.5 includes a HIGH level security vulnerability [1]. Upgrade the recipe to point to 3.0.7. CVE-2022-3358 is reported fixed in 3.0.6, so drop the patch for that as well. [1] https://www.openssl.org/news/vulnerabilities.html Fixes CVE-2022-3786 and CVE-2022-3602: X.509 Email Address Buffer Overflows https://www.openssl.org/blog/blog/2022/11/01/email-address-overflows/ (From OE-Core rev: 78220bd59d98c1713336baf06b4babc6390a07c4) Signed-off-by: Ed Tanous <edtanous@google.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a69ea1f7db96ec8b853573bd581438edd42ad6e0) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: CVE-2022-3358 Using a Custom Cipher with NID_undef may lead to NULL ↵Hitendra Prajapati2022-11-042-0/+56
| | | | | | | | | | | | | | | | | | | encryption Upstream-Status: Backport from https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=5485c56679d7c49b96e8fc8ca708b0b7e7c03c4b] Description: CVE-2022-3358 openssl: Using a Custom Cipher with NID_undef may lead to NULL encryption. Affects "openssl < 3.0.6" (From OE-Core rev: 098e89e89eb58f7d0a6004d4672f3d7365c329dc) Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit f98b2273c6f03f8f6029a7a409600ce290817e27) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit 08b32d2b35c2ba63774d098af467d1c723b1b6e6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Fix SSL_CERT_FILE to match ca-certs locationRichard Purdie2022-11-041-1/+1
| | | | | | | | | | | | | | | | | In OE-Core d6b15d1e70b99185cf245d829ada5b6fb99ec1af, "openssl: export necessary env vars in SDK", the value added for SSL_CERT_FILE was in conflict with the value used elsewhere, such as in buildtools. This makes them match and fixes buildtools testsdk failures. (From OE-Core rev: 850ccc2a303f940f3a13ea6b2581081162f014e4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7d383a7fc6da666c80f2fc037af5f49a3388eb2b) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit a9a50f2216951e26b62ed2f86f341d9ad13acf48) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: export necessary env vars in SDKChen Qi2022-11-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In current SDK, when running the following command in python shell, we get an error. $ python3 >>> from cryptography.hazmat.backends import openssl The error message is as below: cryptography.exceptions.InternalError: Unknown OpenSSL error. We could set OPENSSL_MODULES explicitly in nativesdk-openssl package so that when SDK is set up, it's in environment and we can get rid of the above error. Also, there are other env vars that need to be exported. And we export all of them to keep sync with openssl-native.bbclass. (From OE-Core rev: f51c9af925ab4cf338ec9ba3e4bebdae25113a3a) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d6b15d1e70b99185cf245d829ada5b6fb99ec1af) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit 69030b368773baae65d95e39d3587913b8401bc7) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>