summaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2021-03-11image.bbclass: deltask do_packagedatarbt/imageRobert Yang
This can fix a do_package error when compile with meta-secure-core layer: http://layers.openembedded.org/layerindex/branch/master/layer/meta-secure-core/ $ bitbake kernel-initramfs [snip] WARNING:kernel-initramfs-1.0-r0 do_package: Manifest build/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-secure-core-image-initramfs.packagedata not found in intel_x86_64 corei7-64 core2-64 x86_64 allarch x86_64_x86_64-nativesdk (variant '')? [snip] This is because kernel-initramfs wants to pack an initramfs image into kernel-initramfs.rpm which adds a dependency in kernel-initramfs.bb to do this: d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') This causes kernel-initramfs' do_package depends on ${INITRAMFS_IMAGE}:do_image_complete's do_packagedata, then we will get the error. Delete do_packagedata as other do_package relelated tasks for the image recipe will fix the error. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2021-03-10webkitgtk: Enhance check for atomics to include 1 byte CASKhem Raj
This fixes linking failures Source/WTF/wtf/text/StringImpl.h:1115: undefined reference to `__atomic_compare_exchange_1' Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10perf: fix reproducibility issuesBruce Ashfield
perf has been failing our reproducible testing due to multiple symbols containg build paths. With this commit, we fix the issues: 1) The following line in the Makefle: override PYTHON := $(call get-executable-or-default,PYTHON,$(PYTHON_AUTO)) "PYTHON" / "PYTHON_AUTO" have the full path as part of the variable. We've ensure that the environment is setup and we do not need the full path to be captured, since the symbol gets built into the executable, making it not reproducible. 2) The following line: srcdir_SQ = $(patsubst %tools/perf,tools/perf,$(subst ','\'',$(srcdir))), Captures the full src path of perf, which of course makes it not reproducible. We really only need the relative location 'tools/perf', so we change the Makefile line to remove everything before 'tools/perf' 3) OUTPUT is the full path, we have python on the path so we remove it from the definition. This is captured in the perf binary, so breaks reproducibility PYTHONPATH="BUILD_STR(python) 4) To avoid bison generating #ifdefs that have captured paths, we make sure all the calls have YFLAGS, which contains prefix mapping information. Upstream-status: OE specific to our cross/build environments. Variants will be developed for upstream Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10glibc: Backport patch to fix _SC_LEVEL1_ICACHE_LINESIZEAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10webkitgtk: Use linker options to reduce memory overhead during linkingKhem Raj
Helps builds on machines with less RAM ( 8G ) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10ltp: Fix libswapon issue properlyRichard Purdie
Replace the libswapon reproducibility workaround with the solution preferred by upstream. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10ltp: Fix determinism issueRichard Purdie
There was still a remaining issue with reporoducibility based upon the make version from the host system. Some versions added whitespace for XXX+=<tab> (e.g. 4.1) and some versions do not (e.g. 4.3). Replace the determinism patches with those submitted upstream both for this issue and the previous one. The LC_ALL setting for sort is dropped as it didn't fix an issue as hoped. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10valgrind: Fix nlcontrolc.vgtestYi Fan Yu
Backport a recent upstream patch that redesigned the test. It's now enabled for both x86-64 and arm. [YOCTO #14223] Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10oeqa/selftest: add test to verify that poisoned sysroots are detectedRoss Burton
Add a recipe that explicitly searches /usr/include, and use that in oe-selftest to verify that host include paths are correctly causing build failures. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10gcc-cross: make use of the system include directories fatalRoss Burton
When building the cross GCC, configure it so that including the host system include directories is fatal, not just a warning. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10gcc: add an option for --enable-poison-system-directories to be fatalRoss Burton
Extend --enable-poison-system-directories so that it can be an error instead of a warning by default. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10insane: don't check for a warning string that is never outputRoss Burton
insane has checks that the compiler isn't printing "CROSS COMPILE Badness" during configure/compile/install, but this message hasn't been output by GCC since 2010 (23f522e7). The current warning is "include location [...] is unsafe for cross- compilation" and as that is a proper GCC warning, we can make it fatal in follow-up patches. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10libical: drop the ad hoc native generator buildAlexander Kanavin
With a bit of help from upstream I figured out how to do cross-builds the way upstream intends to. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10libical: update 3.0.8 -> 3.0.9Alexander Kanavin
Upstream attempted to fix cross-compilation, but seems to have broken it, so a new ticket was filed, and patch to un-break it was rewritten. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10librepo: update 1.12.1 -> 1.13.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10libdnf: replace a musl fix with a better oneAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10libdnf: update 0.55.2 -> 0.58.0Alexander Kanavin
Sdd a patch to fix musl builds. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10dnf: upgrade 4.5.2 -> 4.6.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09ltp: Further extend reproducibility patchRichard Purdie
Further issues were highlighted by autobuilder testing, extend the second patch to cover them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09linux-yocto/5.4: update to v5.4.101Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: ef1fcccf6e5f Linux 5.4.101 fe257f47e2c3 scripts/recordmcount.pl: support big endian for ARCH sh a2c5e4a083a7 cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath. e6f7bf29e32d cxgb4: Add new T6 PCI device id 0x6092 aaf830ad624a NET: usb: qmi_wwan: Adding support for Cinterion MV31 5f2093be3627 KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped() 3f9fbe703164 mm: provide a saner PTE walking API for modules 32f070ad274d KVM: do not assume PTE is writable after follow_pfn 78c7b242573a mm: simplify follow_pte{,pmd} 8aeef9c9ac7e mm: unexport follow_pte_pmd 8f869895cf9d scripts: set proper OpenSSL include dir also for sign-file c7ed0a50f20a scripts: use pkg-config to locate libcrypto c8e3bcc6db7c arm64: tegra: Add power-domain for Tegra210 HDA 74c8a6af692a ntfs: check for valid standard information attribute 54a3c25368d9 usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable 96ef50ec7266 USB: quirks: sort quirk entries fce3654c648d HID: make arrays usage and value to be the same 185c2266c1df bpf: Fix truncation handling for mod32 dst reg wrt zero fc944ddc0b4a Linux 5.4.100 38d777aaf2c3 btrfs: fix backport of 2175bf57dc952 in 5.4.95 c6dd8545fe38 media: pwc: Use correct device for DMA 524a77aa5d69 xen-blkback: fix error handling in xen_blkbk_map() be05138a9cdd xen-scsiback: don't "handle" error by BUG() 52e8f43af540 xen-netback: don't "handle" error by BUG() 7109f61d25ff xen-blkback: don't "handle" error by BUG() 55ccf71c0985 xen/arm: don't ignore return errors from set_phys_to_machine feda880969a5 Xen/gntdev: correct error checking in gntdev_map_grant_pages() 0e382682dda4 Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages() da92e41f010e Xen/x86: also check kernel mapping in set_foreign_p2m_mapping() 104eef952314 Xen/x86: don't bail early from clear_foreign_p2m_mapping() 49de0a17e68f net: bridge: Fix a warning when del bridge sysfs c35ce3d38caa net: qrtr: Fix port ID for control messages f49731dfdb20 KVM: SEV: fix double locking due to incorrect backport Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09linux-yocto/5.10: update to v5.10.19Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 7b43ec8a0cc6 Linux 5.10.19 983f361bde5e scripts/recordmcount.pl: support big endian for ARCH sh 6ca89ac39e48 kbuild: fix CONFIG_TRIM_UNUSED_KSYMS build for ppc64 b8b65310e4b9 cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath. ec6504c8a1fc cxgb4: Add new T6 PCI device id 0x6092 b7e51e5ecf39 NET: usb: qmi_wwan: Adding support for Cinterion MV31 1f683fd2c21f drm/xlnx: fix kmemleak by sending vblank_event in atomic_disable 3320aa64c322 KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped() a42150f1c965 mm: provide a saner PTE walking API for modules 83d42c25868d KVM: do not assume PTE is writable after follow_pfn 6d9c9ec0d859 mm: simplify follow_pte{,pmd} f8d8fb7ae86c mm: unexport follow_pte_pmd d2cbae37c3d8 KVM: x86: Zap the oldest MMU pages, not the newest 729fbb8cb276 hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist 956690f5c607 arm64: tegra: Add power-domain for Tegra210 HDA d63699364fa3 Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop working 9f04a05fa1ed ntfs: check for valid standard information attribute 3e81e1db8b50 ceph: downgrade warning from mdsmap decode to debug 92c8c930caa0 usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable f8921ed4d330 USB: quirks: sort quirk entries 95c0528c11b2 nvme-rdma: Use ibdev_to_node instead of dereferencing ->dma_device 225d207da2e1 RDMA: Lift ibdev_to_node from rds to common code 77344e18cf84 HID: make arrays usage and value to be the same 3320bae8c115 bpf: Fix truncation handling for mod32 dst reg wrt zero 63b9d2e001fd Linux 5.10.18 c6152fd3ac2b media: pwc: Use correct device for DMA a6703c711534 btrfs: fix crash after non-aligned direct IO write with O_DSYNC aa0fd921d207 btrfs: fix backport of 2175bf57dc952 in 5.10.13 df443aad518d Bluetooth: btusb: Always fallback to alt 1 for WBS ffec7ee21809 tty: protect tty_write from odd low-level tty disciplines 00805af45a21 xen-blkback: fix error handling in xen_blkbk_map() 9bea436fc3fc xen-scsiback: don't "handle" error by BUG() 2814b3aa38a6 xen-netback: don't "handle" error by BUG() 8f8ebd6b1cb5 xen-blkback: don't "handle" error by BUG() 0462dbbe2cab xen/arm: don't ignore return errors from set_phys_to_machine be89a0300a58 Xen/gntdev: correct error checking in gntdev_map_grant_pages() 1a5c2274349f Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages() 0c08037b56a7 Xen/x86: also check kernel mapping in set_foreign_p2m_mapping() 740f4d9d0c34 Xen/x86: don't bail early from clear_foreign_p2m_mapping() 06ab1e63ec5c net: fix proc_fs init handling in af_packet and tls ba2582cd7f20 net: bridge: Fix a warning when del bridge sysfs 2bce178c254c net: openvswitch: fix TTL decrement exception action execution 78b12034d4c3 net: sched: incorrect Kconfig dependencies on Netfilter modules f9d6533d18fd mt76: mt7615: fix rdd mcu cmd endianness 977060d4ec5b mt76: mt7915: fix endian issues 496ef46dbf6d net/sched: fix miss init the mru in qdisc_skb_cb 40bf5450ba6f mptcp: skip to next candidate if subflow has unacked data 36e4b9383890 net: qrtr: Fix port ID for control messages c313e91b97eb IB/isert: add module param to set sg_tablesize for IO cmd 5840f8687fdf vdpa_sim: add get_config callback in vdpasim_dev_attr 8faf3ea12225 vdpa_sim: make 'config' generic and usable for any device type 0fb67eda6a9c vdpa_sim: store parsed MAC address in a buffer 0ed8181561be vdpa_sim: add struct vdpasim_dev_attr for device attributes c721898723bc vdpa_sim: remove hard-coded virtq count Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09linux-yocto/5.4: update to v5.4.99Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 850e6a95deb5 Linux 5.4.99 e8ffaca0fe27 ovl: expand warning in ovl_d_real() b55528a18e40 net/qrtr: restrict user-controlled length in qrtr_tun_write_iter() 99996cd558ba net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS ac79b1d94a88 vsock: fix locking in vsock_shutdown() c025081b57df vsock/virtio: update credit only if socket is not closed 2545c5bd8316 net: watchdog: hold device global xmit lock during tx disable a5f0b6f7b1c0 net/vmw_vsock: improve locking in vsock_connect_timeout() 611d93fbea54 net: fix iteration for sctp transport seq_files 2085d886630a net: gro: do not keep too many GRO packets in napi->rx_list 5c53956a8da0 net: dsa: call teardown method on probe failure 0b42ab078369 udp: fix skb_copy_and_csum_datagram with odd segment sizes 73bc75fda669 rxrpc: Fix clearance of Tx/Rx ring when releasing a call b90e8d5d28d1 usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one 35834bf0b210 usb: dwc3: ulpi: fix checkpatch warning 0b49b82eeea2 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined 1019015a5dca i2c: stm32f7: fix configuration of the digital filter 546d92a43c94 clk: sunxi-ng: mp: fix parent rate change flag check b02db23d2647 drm/sun4i: dw-hdmi: Fix max. frequency for H6 40db7dba50fe drm/sun4i: Fix H6 HDMI PHY configuration 3063b80b4bdf drm/sun4i: tcon: set sync polarity for tcon1 channel 107cf5eede74 firmware_loader: align .builtin_fw to 8 beb85f4927e8 net: hns3: add a check for queue_id in hclge_reset_vf_queue() a045956a3b41 x86/build: Disable CET instrumentation in the kernel for 32-bit too da1a5442ad2c netfilter: conntrack: skip identical origin tuple in same zone only 0142b957866f ibmvnic: Clear failover_pending if unable to schedule 3f8954cc624c net: stmmac: set TxQ mode back to DCB after disabling CBS c0daa74b8ed7 selftests: txtimestamp: fix compilation issue 6107338c2fa2 net: enetc: initialize the RFS and RSS memories 71d2bd7921db xen/netback: avoid race in xenvif_rx_ring_slots_available() ff758e8a77f3 netfilter: flowtable: fix tcp and udp header checksum update b110391d1e80 netfilter: nftables: fix possible UAF over chains from packet path in netns 35c279e02b7e netfilter: xt_recent: Fix attempt to update deleted entry 7e3a6b820535 bpf: Check for integer overflow when using roundup_pow_of_two() e29126678f65 drm/vc4: hvs: Fix buffer overflow with the dlist handling 69beec4a8b36 mt76: dma: fix a possible memory leak in mt76_add_fragment() 8a5991c8214b lkdtm: don't move ctors to .rodata 4f5416710e13 vmlinux.lds.h: Create section for protection against instrumentation b7f41a7ad444 ARM: kexec: fix oops after TLB are invalidated f49bff85b6db ARM: ensure the signal page contains defined contents 06350c7f7923 ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL e60577e29deb bfq-iosched: Revert "bfq: Fix computation of shallow depth" 91d604ab2a99 riscv: virt_addr_valid must check the address belongs to linear mapping 0db8d192ee57 drm/amd/display: Decrement refcount of dc_sink before reassignment 5c8f63266255 drm/amd/display: Free atomic state after drm_atomic_commit f35da70b516f drm/amd/display: Fix dc_sink kref count in emulated_link_detect 76979956a8af drm/amd/display: Add more Clock Sources to DCN2.1 4516a0a2c087 nvme-pci: ignore the subsysem NQN on Phison E16 335a285aa0f0 ovl: skip getxattr of security labels 43e3cf46afb1 cap: fix conversions on getxattr df094aa0aab0 ovl: perform vfs_getxattr() with mounter creds cc512646b2e7 platform/x86: hp-wmi: Disable tablet-mode reporting by default 2bb22cd4dae4 ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled 2cb208ba0fd1 arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc 92c40ed0abcb arm64: dts: rockchip: Fix PCIe DT properties on rk3399 2407794f2298 cgroup: fix psi monitor for root cgroup 18d691d837b3 arm/xen: Don't probe xenbus as part of an early initcall a0997a86f5c0 tracing: Check length before giving out the filter buffer 74c7bafdd303 tracing: Do not count ftrace events in top level enable output 4851d7b340e9 gpio: ep93xx: Fix single irqchip with multi gpiochips 2c5abe0f8e9c gpio: ep93xx: fix BUG_ON port F usage Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09linux-yocto/5.10: update to v5.10.17 and -rt31Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 13b6016e96f6 Linux 5.10.17 90ac1981acfa kcov, usb: only collect coverage from __usb_hcd_giveback_urb in softirq e5c376c41a57 ovl: expand warning in ovl_d_real() 57068800258f net/qrtr: restrict user-controlled length in qrtr_tun_write_iter() 862d1c0edd21 net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS 69e9fd9de17e vsock: fix locking in vsock_shutdown() afe31701609b vsock/virtio: update credit only if socket is not closed ba3bcb35d783 switchdev: mrp: Remove SWITCHDEV_ATTR_ID_MRP_PORT_STAT 55ad30cb7f73 bridge: mrp: Fix the usage of br_mrp_port_switchdev_set_state e22b963d3ec9 net: watchdog: hold device global xmit lock during tx disable bc21a88465c2 net/vmw_vsock: improve locking in vsock_connect_timeout() fcee53dc03c5 net/vmw_vsock: fix NULL pointer dereference c9013813413e net: fix iteration for sctp transport seq_files 9e6ce473e96b net: gro: do not keep too many GRO packets in napi->rx_list 18193e09834c cpufreq: ACPI: Update arch scale-invariance max perf ratio if CPPC is not there 8a3fc32b322c cpufreq: ACPI: Extend frequency tables to cover boost frequencies c930943a3683 net: dsa: call teardown method on probe failure 46a831d1cc25 udp: fix skb_copy_and_csum_datagram with odd segment sizes 24f5544f76d3 rxrpc: Fix clearance of Tx/Rx ring when releasing a call 975a2396e37c arm64: mte: Allow PTRACE_PEEKMTETAGS access to the zero page 3ed6cc9c2dd0 x86/pci: Create PCI/MSI irqdomain after x86_init.pci.arch_init() 902c6dcbb146 scripts: set proper OpenSSL include dir also for sign-file 4761b1aabcfd h8300: fix PREEMPTION build, TI_PRE_COUNT undefined f6b5e671c6a7 i2c: stm32f7: fix configuration of the digital filter 0c0ddf0dd692 clk: sunxi-ng: mp: fix parent rate change flag check 664b66e3552c drm/sun4i: dw-hdmi: Fix max. frequency for H6 962168c2bc15 drm/sun4i: Fix H6 HDMI PHY configuration e639cb199b8e drm/sun4i: dw-hdmi: always set clock rate 7596c85a8962 drm/sun4i: tcon: set sync polarity for tcon1 channel 39e855fa959e firmware_loader: align .builtin_fw to 8 5ff69431b763 net: hns3: add a check for index in hclge_get_rss_key() 2c0e46258eab net: hns3: add a check for tqp_index in hclge_get_ring_chain_from_mbx() 40389ba14d0e net: hns3: add a check for queue_id in hclge_reset_vf_queue() 6bbc1d5ee0eb net: dsa: felix: implement port flushing on .phylink_mac_link_down 03bf0f163df2 x86/build: Disable CET instrumentation in the kernel for 32-bit too 880b1c2164d1 scsi: scsi_debug: Fix a memory leak d519197b48c1 netfilter: conntrack: skip identical origin tuple in same zone only 4067ace5f119 ibmvnic: Clear failover_pending if unable to schedule 284abe15c17e net: stmmac: set TxQ mode back to DCB after disabling CBS 25c312214d9f selftests: txtimestamp: fix compilation issue 5ed60a17d466 net: enetc: initialize the RFS and RSS memories 8eb3e56fd180 hv_netvsc: Reset the RSC count if NVSP_STAT_FAIL in netvsc_receive() 23b2eac8b76a net: ipa: set error code in gsi_channel_setup() a4595395a915 net: hdlc_x25: Return meaningful error code in x25_open 50ad6fc36aed xen/netback: avoid race in xenvif_rx_ring_slots_available() bbb8c391486b netfilter: flowtable: fix tcp and udp header checksum update 0a0e5d47670b netfilter: nftables: fix possible UAF over chains from packet path in netns ef8f281a6530 selftests: netfilter: fix current year f035e97f331e netfilter: xt_recent: Fix attempt to update deleted entry 8032bf2af9ce bpf: Check for integer overflow when using roundup_pow_of_two() 52d29b478326 bpf: Unbreak BPF_PROG_TYPE_KPROBE when kprobe is called via do_int3 40e3b5c12864 dmaengine: idxd: check device state before issue command 143b87907788 drm/vc4: hvs: Fix buffer overflow with the dlist handling 1d7c14566924 mt76: dma: fix a possible memory leak in mt76_add_fragment() 3ade81db49bd ath9k: fix build error with LEDS_CLASS=m c39cdf559d26 dmaengine: idxd: fix misc interrupt completion 3e53d64e9a4d cgroup-v1: add disabled controller check in cgroup1_parse_param() 2aba53830f5d KVM: x86: cleanup CR3 reserved bits checks e624efe36eb6 lkdtm: don't move ctors to .rodata d070ccc7ad17 x86/efi: Remove EFI PGD build time checks 486c1525eba3 Revert "lib: Restrict cpumask_local_spread to houskeeping CPUs" cf1cab6edb06 ubsan: implement __ubsan_handle_alignment_assumption 249735b01123 ARM: kexec: fix oops after TLB are invalidated 7913ec05fc02 ARM: ensure the signal page contains defined contents 3dc2ba465001 kallsyms: fix nonconverging kallsyms table with lld 11648f26b074 ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL d93178df8f75 bfq-iosched: Revert "bfq: Fix computation of shallow depth" 4fccb50ec95b riscv: virt_addr_valid must check the address belongs to linear mapping cd0604db18d2 drm/amd/display: Decrement refcount of dc_sink before reassignment 8466a0c6bc13 drm/amd/display: Free atomic state after drm_atomic_commit 1898affc717e drm/amd/display: Fix dc_sink kref count in emulated_link_detect b8dc6255bb2d drm/amd/display: Release DSC before acquiring 4d9a5224d507 drm/amd/display: Add more Clock Sources to DCN2.1 7963f3ff8edd drm/amd/display: Fix DPCD translation for LTTPR AUX_RD_INTERVAL 07c8c581d2be nvme-pci: ignore the subsysem NQN on Phison E16 3895bcd96a9e x86/split_lock: Enable the split lock feature on another Alder Lake CPU 020680e36d97 scsi: lpfc: Fix EEH encountering oops with NVMe traffic 116826d615c1 ovl: skip getxattr of security labels 02dee03d4831 cap: fix conversions on getxattr cbb9404a5052 ovl: perform vfs_getxattr() with mounter creds f66fa5ec47e0 arm64: dts: rockchip: Disable display for NanoPi R2S 2a2e911469b5 platform/x86: hp-wmi: Disable tablet-mode reporting by default d33b28e01e5c arm64: dts: rockchip: remove interrupt-names property from rk3399 vdec node 697091f92727 ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled 6c152ac1b687 arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc 413a2353be6b arm64: dts: rockchip: Fix PCIe DT properties on rk3399 8e25e1eef8b9 soc: ti: omap-prm: Fix boot time errors for rst_map_012 bits 0 and 1 8c5864d21e01 tmpfs: disallow CONFIG_TMPFS_INODE64 on alpha b03a0d5cc26d tmpfs: disallow CONFIG_TMPFS_INODE64 on s390 285b57595d40 dmaengine: move channel device_node deletion to driver deae1e6365cd drm/dp_mst: Don't report ports connected if nothing is attached to them 5a36371f8bb5 drm/i915/tgl+: Make sure TypeC FIA is powered up when initializing it e11345ed78b9 Revert "drm/amd/display: Update NV1x SR latency values" e72a65802a3e cgroup: fix psi monitor for root cgroup 89b0c20d80a1 arm/xen: Don't probe xenbus as part of an early initcall bef1f148812d drm/i915: Fix overlay frontbuffer tracking 7c93d8cff582 tracing: Check length before giving out the filter buffer a38c1ee16623 tracing: Do not count ftrace events in top level enable output d9b7ea4c818c gpio: ep93xx: Fix single irqchip with multi gpiochips 10538b869a64 gpio: ep93xx: fix BUG_ON port F usage e072d454faa4 gpio: mxs: GPIO_MXS should not default to y unconditionally 039e0f627397 Revert "dts: phy: add GPIO number and active state used for phy reset" 2b02985bf83e objtool: Fix seg fault with Clang non-section symbols Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09linux-yocto/5.10: fix qemumips testimage failuresBruce Ashfield
Integrating the following commit(s) to linux-yocto/5.10: 513e9332a00 qemumips32: disable CONFIG_COMPACTION As mentioned in yocto bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13992 testimages are failing due to issues with kernel page migration/compaction function that does not work very well with MIPS kernel HIGHMEM that is needed for 512Mb. A valid workaround is to disable CONFIG_COMPACTION and the problematic migration functionality is also disabled. [YOCTO: #13992] Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09linux-yocto/5.10: fix x86 32bit boot warningsBruce Ashfield
Integrating the following commit(s) to linux-yocto/5.10: 34523d7c8476 qemux86: add configuration symbol to select values In recent 5.10 kernels, the following traces have started appearing on boot; [ 1.010513] EIP: free_msi_irqs+0x49/0x180 [ 1.012036] Code: 74 11 8b 47 08 85 c0 0f 85 f4 00 00 00 8b 3f 39 df 75 ef 8b 45 ec 8b 80 c8 01 00 00 85 c0 74 0a f6 40 14 01 0f 85 1c 01 00 00 <0f> 0b 8b 45 ec 8b b8 d0 01 00 00 8b 17 39 fb 75 08 eb 40 8d 74 26 [ 1.016723] EAX: 00000000 EBX: c12199d0 ECX: c12199d0 EDX: 00000000 [ 1.021648] ESI: ffffffed EDI: c12199d0 EBP: c112bc78 ESP: c112bc64 [ 1.023517] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010246 [ 1.025449] CR0: 80050033 CR2: 00000000 CR3: 06cea000 CR4: 000006d0 [ 1.027293] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 1.029115] DR6: fffe0ff0 DR7: 00000400 [ 1.030718] Call Trace: [ 1.031986] msix_capability_init+0x228/0x400 [ 1.033542] pci_alloc_irq_vectors_affinity+0x18c/0x210 [ 1.035216] vp_find_vqs_msix+0xca/0x460 [ 1.036693] vp_find_vqs+0x29/0x190 [ 1.038097] ? setup_vq+0x240/0x240 [ 1.039519] vp_modern_find_vqs+0x21/0x80 [ 1.041014] ? setup_vq+0x240/0x240 [ 1.042444] init_vq+0x164/0x280 [ 1.043813] ? ncpus_cmp_func+0x10/0x10 [ 1.045264] virtblk_probe+0x104/0x770 [ 1.046860] virtio_dev_probe+0x1c0/0x2a0 [ 1.048357] really_probe+0xd5/0x3b0 [ 1.053029] driver_probe_device+0x49/0xa0 [ 1.054539] device_driver_attach+0x99/0xa0 [ 1.056077] __driver_attach+0x60/0xe0 [ 1.057533] ? device_driver_attach+0xa0/0xa0 [ 1.059136] bus_for_each_dev+0x5b/0xa0 [ 1.060600] driver_attach+0x19/0x20 [ 1.062033] ? device_driver_attach+0xa0/0xa0 [ 1.063903] bus_add_driver+0xed/0x1b0 [ 1.065358] driver_register+0x79/0xd0 [ 1.066791] ? loop_init+0x135/0x135 [ 1.068209] register_virtio_driver+0x1b/0x30 [ 1.069742] init+0x49/0x6f [ 1.071040] do_one_initcall+0x49/0x1e0 [ 1.072514] kernel_init_freeable+0x16b/0x1b5 [ 1.074060] ? rest_init+0xad/0xad [ 1.075477] kernel_init+0xd/0xf3 [ 1.076844] ret_from_fork+0x1c/0x28 [ 1.078267] ---[ end trace 4deef4a5c447cb13 ]--- These are due to several changes in the way that MSI interrupts are assigned and their fallbacks if they fail. Our 32bit qemu boot for x86 does not have the right support by default, hence we get the warnings (but boot continues). If we define PCI_MSI_ARCH_FALLBACKS only for the qemux86 platform we can supress the warnings and run without issues. [YOCTO: #14219] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09build-appliance-image: Drop kernel module handlingRichard Purdie
kernel-devsrc is a dependency of the image so we no longer need the symlink creation code or the module-base inherit/dependency as it is included in that recipe. The KERNEL_VERSION usage was broken anyway as the module usage would have needed a: do_image[depends] += "build-appliance-image:do_configure" which wasn't present so it was indeterminate if KERNEL_VERSION was set correctly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09python3-setuptools: update to 54.1.0Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09python3-cython: Check for files before editingKhem Raj
If using debug-without-src policy then usr/src/debug won't exist, therefore the function will fail due to missing files, adding a check for files to exist before editing them fixes it. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06meson: Correctly set uid/gid of installed filesPeter Kjellerstedt
In 0.57.0, the uid and gid arguments passed to os.chown() when using install_mode were accidentally swapped, causing files to end up with incorrect owner/group if the owner and group are not the same. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06python3-jinja2: set CVE_PRODUCTChen Qi
Set CVE_PRODUCT for more accurate CVE scanning. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06meta/recipes-extended: Add HOMEPAGE / DESCRIPTIONDorinda
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06meta/recipes-rt: Add HOMEPAGE / DESCRIPTIONDorinda
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06shadow: whitelist CVE-2013-4235Purushottam Choudhary
This CVE is about TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees which had very low severity problem and marked as closed and won't fix. Therefore whitelisted CVE-2013-4235. Master, gatesgarth and dunfell all have shadow version 4.81. Hence, this is applicable for master, gatesgarth and dunfell. Link: https://bugzilla.redhat.com/show_bug.cgi?id=884658 Signed-off-by: Sana Kazi <Sana.Kazi@kpit.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06vala: upgrade 0.50.3 -> 0.50.4Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06taglib: upgrade 1.11.1 -> 1.12Wang Mingyu
CVE-2017-12678.patch CVE-2018-11439.patch removed since they are included in 1.12 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06stress-ng: upgrade 0.12.03 -> 0.12.04Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06shaderc: upgrade 2020.4 -> 2020.5Wang Mingyu
0003-cmake-add-option-to-skip-build-the-examples.patch removed since it is included in 2020.5 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06ptest-packagelists: remove libinput-ptestRoss Burton
The libinput ptests are very sensitive to system load, and will fail if events from the kernel don't arrive sufficiently fast (from 20ms to 200ms depending on the test). This is by design as input processing is inherently time-sensitive and to avoid code bugs the test suite considers timing problems fatal. As this is causing a large proportion of ptest runs to fail in libinput, disable the execution of these tests for now. [ YOCTO #14164 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06bitbake-bblayers/create: Add optional layerid argumentCharlie Davies
This commit adds an optional layerid argument which can be passed to the bitbake-layers create-layer command. This allows for creation of a layer with a layer id different to that of the layer's name. The default behaviour of the command where the layer's id is set to the layer's name is still retained. Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06bitbake-bblayers/create: Fix incorrect priority help messageCharlie Davies
The help message for the optional argument of setting the priority of the new layer was incorrect. Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06systemd-conf: do not ask for DHCP if configured on kernel command lineStefan Schmidt
In cases where we configure the IP address and more on the kernel command line with ip= we should not ask for DHCP with systemd-networkd later on. We have such a setup with our runqemu script. With this match in place we can also deploy this unit on qemu systems. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06epiphany: Add package configuration for building in developer modeAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06gcr: Add support for building without x11Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06local.conf.sample: fix typoUlrich Ölmann
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06oeqa/weston: correctly run wayland-info when systemd is in useAlexander Kanavin
Under systemd weston's socket is in /run, not in /run/user/0. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06rootfs-postcommands: correctly set systemd target for weston imagesAlexander Kanavin
Otherwise, weston wouldn't actually start when systemd is in use. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06core-image.bbclass: add a weston IMAGE_FEATURE, similar to x11-baseAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06libinput: less parallism to increase chances the test suite worksRoss Burton
Discussion with the libinput maintainer has confirmed that many of the libinput test cases need to run on a relatively unloaded system, because input handling is by definition time-sensitive and any event mismatches are considered a failure to avoid broken code hiding. We can't expect libinput to run on an otherside unloaded machine because the autobuilder ptests execute in a qemu at the same time as builds can be happening. We can however reduce the amount of parallellism happening in the libinput test suite to give it a better chance of succeeding. This may not be enough, but it's worth a go. [ YOCTO #14164 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06rpm: split build and extra functionality into separate packagesDiego Santa Cruz
Having all the rpm build related tools in the main package requires adding runtime dependencies on perl and python3-core, so adding rpm to a target image can pull quite many unneeded packages to satisfy the dependencies. This splits all the build related tools into rpm-build and moves the bash, perl and python3-core runtime dependencies to that package. Also, the rpmsign tool is split into rpm-sign and rpm2archive (only built if archive is in PACKAGECONFIG) into rpm-archive. These are separate packages since they are not really related to building, so do not belong in rpm-build, but are not necessarily wanted in target images when rpm is included. Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06wpa-supplicant: fix CVE-2021-27803Stefan Ghinea
A vulnerability was discovered in how p2p/p2p_pd.c in wpa_supplicant before 2.10 processes P2P (Wi-Fi Direct) provision discovery requests. It could result in denial of service or other impact (potentially execution of arbitrary code), for an attacker within radio range. References: https://nvd.nist.gov/vuln/detail/CVE-2021-27803 Upstream patches: https://w1.fi/cgit/hostap/commit/?id=8460e3230988ef2ec13ce6b69b687e941f6cdb32 Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>