Kernel commit 12dd461ebd19 ("crypto: arm64 - generate *.S by Perl at
build time instead of shipping them") uses perl to generate assembler
files for crypto functionality, which relies on the integer.pm module to
be provided.
Add perl module to package group and export it in SDK.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 31 Aug 2021 13:14:16 +0000 (14:14 +0100)]
oeqa/buildtools-cases: Allow bitbake time to shutdown
bitbake may still be shutting down when the UI exits. Wait for the lock
to disappear before trying to delete the directory to avoid errors.
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/buildtools/build/meta/lib/oeqa/sdk/buildtools-cases/build.py", line 23, in test_libc
self._run('. %s/oe-init-build-env %s && bitbake virtual/libc' % (corebase, testdir))
File "/usr/lib64/python3.7/tempfile.py", line 807, in __exit__
self.cleanup()
File "/usr/lib64/python3.7/tempfile.py", line 811, in cleanup
_shutil.rmtree(self.name)
File "/usr/lib64/python3.7/shutil.py", line 494, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib64/python3.7/shutil.py", line 452, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib64/python3.7/shutil.py", line 450, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.sock'
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trevor Woerner [Tue, 31 Aug 2021 02:50:33 +0000 (22:50 -0400)]
distro_features_check: expand with IMAGE_FEATURES
In addition to checking DISTRO_, MACHINE_, and COMBINED_ FEATURES for required
or conflicting features, extend this functionality in order to check
IMAGE_FEATURES in the same way.
Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andres Beltran [Mon, 30 Aug 2021 22:53:03 +0000 (22:53 +0000)]
buildhistory: Label packages providing per-file dependencies in depends.dot
Currently, depends.dot includes per-file dependencies but not the packages
providing those files. This makes it hard to obtain all package
dependencies by just looking at depends.dot.
Parse the RPROVIDES and FILERPROVIDES fields from pkgdata to map each of
their values to the package providing the component. Include runtime
packages as dependencies in depends.dot, together with the component
provided by the package as a label.
Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Fri, 27 Aug 2021 18:06:55 +0000 (11:06 -0700)]
musl: Update to latest tip of trunk
Drop upstream patch
This brings in following fixes
* 3f701faa (upstream/master, origin/master) fix libc-internal signal blocking on mips archs
* 0fbd7d66 fix broken struct shmid_ds on powerpc (32-bit)
* 4f3d346b math: fix fmaf not to depend on FE_TOWARDZERO
* 937822ab fix TZ parsing logic for identifying POSIX-form strings
* 1f0c7cb1 riscv: rename __NR_fstatat __NR_newfstatat
* d8cb888d remove return with expression in void function
* b7a130e0 remove unnecessary cast for map_library return
* bd3b9c4c add pthread_getname_np function
* e1a51185 fix popen not to leak pipes from one child to another
* e74acd59 remove spurious lock in popen
* 9a40e842 define __STDC_UTF_{16,32}__ macros
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tim Orling [Fri, 27 Aug 2021 15:05:45 +0000 (15:05 +0000)]
rust-common.bbclass: export RUST_TARGET_PATH
Running 'rustc --print <foo>' in -c devshell environment
the target specifications are not known, unless the
RUST_TARGET_PATH (absolute path to rustlib/) is defined.
Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jon Mason [Fri, 27 Aug 2021 13:51:40 +0000 (09:51 -0400)]
tune-*: Use more specific DEFAULTTUNE
These files are using a more generic DEFAULTTUNE in their targeted tune
file. This is contrary to what is being done in other tune files, and
this changes them to match. It is still possible to use the more
generic DEFAULTTUNE in a machine's config file by simply specifying it.
Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 31 Aug 2021 13:29:53 +0000 (14:29 +0100)]
kernel: Use unexpanded EXTENDPKGV
EXTENDPKGV can contain AUTOINC so use an expanded form in the variables allowing
for later expansion during packaging to avoid race issues over the variable and
the build failures that can result.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hongxu Jia [Sun, 29 Aug 2021 13:52:35 +0000 (06:52 -0700)]
glibc: fix create thread failed in unprivileged process
Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2
and clone3] applied, start a unprivileged container (docker run without
--privileged), it creates a thread failed in container.
In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined. If
__clone3 returns -1 with ENOSYS, fall back to clone or clone2.
As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP,
CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
was specified by an unprivileged process (process without CAP_SYS_ADMIN)
Andres Beltran [Thu, 12 Aug 2021 16:58:56 +0000 (16:58 +0000)]
buildhistory: Add output file listing package information
Currently, buildhistory does not produce a single file combining relevant
information of installed packages. Produce an output file
"installed-package-info.txt" listing a package's runtime name, buildtime name,
its recipe, version, and size to avoid having to look up each package externally.
Leave the existing package list files as-is for backwards compatibility.
In order to support this efficiently, extend oe-pkgdata-util to accept multiple keys
for its read-value argument.
Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't use the CD/DVD ROM drive in any of our tests, but it
periodically fails discovery and that leads to a QA error:
[ 6.403477] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
The only way to disable the optical ROM drive in qemu is to use
the '-nodefaults' option, which disables the CDROM (among other things).
We can't be sure that none of our tests, or extended users are relying
on default devices, so using that option is more of a risk than adding
the message to our ignore list.
To date, no one has sent a patch to just disable the optical drive
(either in qemu or the BIOS), but that is something we could consider
in the future.
[YOCTO #14528]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 26 Aug 2021 14:23:41 +0000 (10:23 -0400)]
linux-yocto/5.10: update to v5.10.60
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
2c5bd949b1df Linux 5.10.60 3a24e121304a net: dsa: microchip: ksz8795: Use software untagging on CPU port 1e78179d75fb net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion 5033d5e23155 net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration 60c007b52779 net: dsa: microchip: ksz8795: Fix PVID tag insertion f365d53c8687 net: dsa: microchip: Fix probing KSZ87xx switch with DT node for host port 3dc5666baf2a KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656) c0883f693187 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653) b5f05bdfda28 vmlinux.lds.h: Handle clang's module.{c,d}tor sections 2fe07584a623 ceph: take snap_empty_lock atomically with snaprealm refcount change a23aced54c2c ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm b0efc93271ca ceph: add some lockdep assertions around snaprealm handling dcdb587ac470 vboxsf: Add support for the atomic_open directory-inode op 7cd14c1a7fed vboxsf: Add vboxsf_[create|release]_sf_handle() helpers 433f0b31ebec KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF 0ab67e3dfc4d KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation 4a948c579ed6 efi/libstub: arm64: Double check image alignment at entry fc7da433fa16 powerpc/smp: Fix OOPS in topology_init() 312730cd15e0 PCI/MSI: Protect msi_desc::masked for multi-MSI 724d0a985086 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown() 923368751866 PCI/MSI: Correct misleading comments e42fb8e6161e PCI/MSI: Do not set invalid bits in MSI mask 042e03c9cdab PCI/MSI: Enforce MSI[X] entry updates to be visible 0b2509d7a90c PCI/MSI: Enforce that MSI-X table entry is masked for update aa8092c1d1f1 PCI/MSI: Mask all unused MSI-X entries 7e90e81a4b59 PCI/MSI: Enable and mask MSI-X early 2d2c66848027 genirq/timings: Prevent potential array overflow in __irq_timings_store() 355754194b48 genirq/msi: Ensure deactivation on teardown f0736bed18fb x86/resctrl: Fix default monitoring groups reporting 25216ed97da8 x86/ioapic: Force affinity setup before startup 19fb5dabedca x86/msi: Force affinity setup before startup 4e52a4fe6f44 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP 2a28b52306f2 x86/tools: Fix objdump version check again 4acc0d987141 powerpc/kprobes: Fix kprobe Oops happens in booke 015e2c900b5d efi/libstub: arm64: Relax 2M alignment again for relocatable kernels feb4a01d3ece efi/libstub: arm64: Force Image reallocation if BSS was not reserved afcb84e6cf8c arm64: efi: kaslr: Fix occasional random alloc (and boot) failure e0ee8d9c31b5 nbd: Aovid double completion of a request f5cefe9a52a6 vsock/virtio: avoid potential deadlock when vsock device remove dff830e5e723 xen/events: Fix race in set_evtchn_to_irq 65395b053d03 drm/i915: Only access SFC_DONE when media domain is not fused off 4344440d91b3 net: igmp: increase size of mr_ifc_count 696afe28dc51 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets 8976606ca347 net: linkwatch: fix failure to restore device state across suspend/resume 4c2af90119ea net: bridge: fix memleak in br_add_if() f333a5ca71c3 net: bridge: fix flags interpretation for extern learn fdb entries e3b949b86d09 net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry 1cad01aca1fa net: dsa: sja1105: fix broken backpressure in .port_fdb_dump 56cc3408ff2a net: dsa: lantiq: fix broken backpressure in .port_fdb_dump f7720b35cd32 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump 24e1b7dbb174 net: igmp: fix data-race in igmp_ifc_timer_expire() 69b13167a636 net: Fix memory leak in ieee802154_raw_deliver dbfaf7a6a23a net: dsa: microchip: ksz8795: Fix VLAN filtering ccc1fe82c878 net: dsa: microchip: Fix ksz_read64() 558092b8ed31 drm/meson: fix colour distortion from HDR set during vendor u-boot 6e1886465dea net/mlx5: Fix return value from tracer initialization 303ba011f5e1 net/mlx5: Synchronize correct IRQ when destroying CQ 00a0c11ddd72 bareudp: Fix invalid read beyond skb's linear data 30b1fc47f765 psample: Add a fwd declaration for skbuff b3f0b170842c iavf: Set RSS LUT and key in reset handle path a6192bae12e4 ice: don't remove netdev->dev_addr from uc sync list bae5b521feaa ice: Prevent probing virtual functions 059238c52c61 net: sched: act_mirred: Reset ct info when mirror/redirect skb f15f7716b047 net/smc: fix wait on already cleared link 51f4965d775e ppp: Fix generating ifname when empty IFLA_IFNAME is specified 046579c9fc28 net: phy: micrel: Fix link detection on ksz87xx switch" e95620c3bdff bpf: Fix integer overflow involving bucket_size 1960c3ac5268 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT a3e9a3e22844 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables 53ebbfdd0e37 net: mvvp2: fix short frame size on s390 784320edb6c5 net: dsa: mt7530: add the missing RxUnicast MIB counter 20a80319028c ASoC: cs42l42: Fix LRCLK frame start edge 750503aecf4e pinctrl: tigerlake: Fix GPIO mapping for newer version of software be49d5437d1a netfilter: nf_conntrack_bridge: Fix memory leak when error aa6b17bfefbc ASoC: cs42l42: Remove duplicate control for WNF filter frequency b268f9f6b73f ASoC: cs42l42: Fix inversion of ADC Notch Switch control 2386a8cde18e ASoC: SOF: Intel: hda-ipc: fix reply size checking 0e47f99e8680 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J 576939671f74 ASoC: cs42l42: Correct definition of ADC Volume control a21963c35f16 pinctrl: mediatek: Fix fallback behavior for bias_set_combo 27188a938291 ieee802154: hwsim: fix GPF in hwsim_new_edge_nl 528f17c02db9 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi 95de3592f87e drm/amdgpu: don't enable baco on boco platforms in runpm bd80d11a516c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work ae311a7418f1 drm/amd/display: Remove invalid assert for ODM + MPC case c2351e5faa3e libnvdimm/region: Fix label activation vs errors 366de90ccfa2 ACPI: NFIT: Fix support for virtual SPA ranges f3fcf9d1b759 ceph: reduce contention in ceph_check_delayed_caps() ca6dea44bd8c ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch 4716a2145bbf net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases 561d13128bb8 seccomp: Fix setting loaded filter count during TSYNC 54916988a0fb scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash 3db5cb922800 cifs: create sd context must be a multiple of 8 d1398e3715b1 i2c: dev: zero out array used for i2c reads from userspace b8bceace43dd ASoC: intel: atom: Fix reference to PCM buffer address 261613ef340b ASoC: tlv320aic31xx: Fix jack detection after suspend 7e5a7fa68b27 ASoC: uniphier: Fix reference to PCM buffer address 209eb62b45fe ASoC: xilinx: Fix reference to PCM buffer address c419c4c91b30 ASoC: amd: Fix reference to PCM buffer address 0c9adae11701 iio: adc: Fix incorrect exit of for-loop 632279e5057c iio: humidity: hdc100x: Add margin to the conversion time 45de224b1332 iio: adis: set GPIO reset pin direction d0532ed064d1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 26 Aug 2021 14:23:40 +0000 (10:23 -0400)]
linux-yocto/5.13: update to v5.13.12
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:
f428e49b8cb1 Linux 5.13.12 639a033fd765 KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656) a0949ee63cf9 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653) 874213144352 kasan, slub: reset tag when printing address ac0e79584d41 ceph: take snap_empty_lock atomically with snaprealm refcount change dcd02a1248cc ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm 36b361cb1966 ceph: add some lockdep assertions around snaprealm handling 90d215367156 KVM: x86/mmu: Protect marking SPs unsync when using TDP MMU with spinlock 0f4bf029494d KVM: x86/mmu: Don't leak non-leaf SPTEs when zapping all SPTEs bd043e754f4d KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF 1163cd462e1f KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation a3040e7e9ff2 locking/rtmutex: Use the correct rtmutex debugging config option b636a0d1e5c8 efi/libstub: arm64: Double check image alignment at entry 0e1d1392f381 powerpc/32: Fix critical and debug interrupts on BOOKE 4ce6f022df43 powerpc/xive: Do not skip CPU-less nodes when creating the IPIs 3b1700551dee powerpc/smp: Fix OOPS in topology_init() 115ff78c3a03 powerpc/32s: Fix napping restore in data storage interrupt (DSI) 3eda59bcee6e powerpc/pseries: Fix update of LPAR security flavor after LPM 33971cedf1d9 powerpc/interrupt: Do not call single_step_exception() from other exceptions 11aa5db61e9b PCI/MSI: Protect msi_desc::masked for multi-MSI b82047e5d807 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown() 849b6a5bde32 PCI/MSI: Correct misleading comments ea6cc94e8807 PCI/MSI: Do not set invalid bits in MSI mask 78225ed700df PCI/MSI: Enforce MSI[X] entry updates to be visible 0b51d4c16a27 PCI/MSI: Enforce that MSI-X table entry is masked for update 6c971252f090 PCI/MSI: Mask all unused MSI-X entries f800bb380fea PCI/MSI: Enable and mask MSI-X early 73d8b5769514 powerpc/interrupt: Fix OOPS by not calling do_IRQ() from timer_interrupt() 9dac5f65caaf genirq/timings: Prevent potential array overflow in __irq_timings_store() 0c081d4a6a13 genirq/msi: Ensure deactivation on teardown 0abb63311246 x86/resctrl: Fix default monitoring groups reporting 55cd80f4928c x86/ioapic: Force affinity setup before startup 067ef0204880 x86/msi: Force affinity setup before startup 24ed8f291d59 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP 560051d8f439 x86/tools: Fix objdump version check again d8f9d8c4be6e i2c: iproc: fix race between client unreg and tasklet daf371e74d36 powerpc/kprobes: Fix kprobe Oops happens in booke 2bfb303470e0 efi/libstub: arm64: Relax 2M alignment again for relocatable kernels bfc48d02d915 efi/libstub: arm64: Force Image reallocation if BSS was not reserved f3409e925da2 KVM: arm64: Fix off-by-one in range_is_memory 14034883d058 arm64: efi: kaslr: Fix occasional random alloc (and boot) failure 98f73989055f nbd: Aovid double completion of a request 09625c5badd2 vsock/virtio: avoid potential deadlock when vsock device remove 128e480afe78 xen/events: Fix race in set_evtchn_to_irq 950429a4d346 drm/i915: Only access SFC_DONE when media domain is not fused off 9977d0baadc8 net: igmp: increase size of mr_ifc_count 4391389526a1 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets 53201f2902ee net: linkwatch: fix failure to restore device state across suspend/resume 59cabc513b8a net: bridge: fix memleak in br_add_if() ff6c9aad3599 net: bridge: fix flags interpretation for extern learn fdb entries c7c9cc4a6016 pinctrl: sunxi: Don't underestimate number of functions 735e90f3efa6 net: dsa: sja1105: fix broken backpressure in .port_fdb_dump 8398aab49ba3 net: dsa: lantiq: fix broken backpressure in .port_fdb_dump c6cbf5672cc0 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump 22ecb3423f9c net: dsa: hellcreek: fix broken backpressure in .port_fdb_dump 52133524d807 net: igmp: fix data-race in igmp_ifc_timer_expire() 44c8aa996911 net: Fix memory leak in ieee802154_raw_deliver 74b264b342a5 net: dsa: microchip: ksz8795: Don't use phy_port_cnt in VLAN table lookup 1c4f28207fab net: dsa: microchip: ksz8795: Fix VLAN filtering 3cc015794dab net: dsa: microchip: ksz8795: Use software untagging on CPU port 9674dc6724c5 net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion 159948c423aa net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration 3149f9edddf9 net: dsa: microchip: ksz8795: Fix PVID tag insertion 8154453a4be5 net: dsa: microchip: Fix ksz_read64() 037570c9adab bpf: Fix potentially incorrect results with bpf_get_local_storage() 1d1808fae2e0 ovl: fix deadlock in splice write 75004b47fba4 drm/meson: fix colour distortion from HDR set during vendor u-boot 11e249ce5e3e net/mlx5: Fix return value from tracer initialization 436f4a1c6d17 net/mlx5: Synchronize correct IRQ when destroying CQ 9b0b9c9da810 net/mlx5e: TC, Fix error handling memory leak 89163e392e57 net/mlx5: Block switchdev mode while devlink traps are active 09ab613d4996 net/mlx5e: Destroy page pool after XDP SQ to fix use-after-free c0cb7d8be945 net/mlx5e: Avoid creating tunnel headers for local route 3f20768c9fdc net/mlx5: DR, Add fail on error check on decap df712c5d591a net/mlx5: Don't skip subfunction cleanup in case of error in module init f49d457950b9 io-wq: fix IO_WORKER_F_FIXED issue in create_io_worker() 815a0fe3f415 io-wq: fix bug of creating io-wokers unconditionally 3cedeb691b74 bareudp: Fix invalid read beyond skb's linear data ed277fbd3053 psample: Add a fwd declaration for skbuff 792e7591d308 iavf: Set RSS LUT and key in reset handle path f2b15898012a ice: don't remove netdev->dev_addr from uc sync list 8a0814243362 ice: Stop processing VF messages during teardown e266d4c43b95 ice: Prevent probing virtual functions 00735401c918 net: sched: act_mirred: Reset ct info when mirror/redirect skb e04669e14c5a net/smc: Correct smc link connection counter in case of smc client 9b8f136b88f3 net/smc: fix wait on already cleared link 6a4b92821135 io_uring: clear TIF_NOTIFY_SIGNAL when running task work 1e19d18189fe ppp: Fix generating ifname when empty IFLA_IFNAME is specified 2a4a96afa7b5 net: phy: micrel: Fix link detection on ksz87xx switch" d8431e3fa7b3 net: dsa: qca: ar9331: make proper initial port defaults ada7135e6d99 bpf: Fix integer overflow involving bucket_size 621d81cfbb0c libbpf: Do not close un-owned FD 0 on errors 51f19580f5f4 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT 466f5509f62a drm/amd/pm: Fix a memory leak in an error handling path in 'vangogh_tables_init()' fd0b94e6b1c7 perf/x86/intel: Apply mid ACK for small core 736e0445f921 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables a4de486958ff net: mvvp2: fix short frame size on s390 f67f34a86375 net: dsa: mt7530: add the missing RxUnicast MIB counter 141af64cf768 ASoC: cs42l42: Fix mono playback d57b00645556 ASoC: cs42l42: Fix LRCLK frame start edge 6e61f4d51d38 ASoC: cs42l42: PLL must be running when changing MCLK_SRC_SEL 22af0d2a5e5e pinctrl: tigerlake: Fix GPIO mapping for newer version of software deff14bdcc54 netfilter: nf_conntrack_bridge: Fix memory leak when error 71805c36336a ASoC: cs42l42: Remove duplicate control for WNF filter frequency 9c272596189c ASoC: cs42l42: Fix inversion of ADC Notch Switch control 710490222c69 ASoC: SOF: Intel: hda-ipc: fix reply size checking ba216b210f26 ASoC: SOF: Intel: Kconfig: fix SoundWire dependencies d82c88a44bb6 selftests/sgx: Fix Q1 and Q2 calculation in sigstruct.c 67488f5c9613 ASoC: cs42l42: Fix bclk calculation for mono b4f870447de1 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J 918bbb32c823 ASoC: cs42l42: Correct definition of ADC Volume control 676b96483576 pinctrl: mediatek: Fix fallback behavior for bias_set_combo 73e81f7219aa drm/mediatek: Fix cursor plane no update 30df59b45cac ieee802154: hwsim: fix GPF in hwsim_new_edge_nl bb0c87658dd1 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi 73248a01ae14 drm/amdgpu: handle VCN instances when harvesting (v2) 7e73eac2bd90 drm/amdgpu: don't enable baco on boco platforms in runpm fcd957aa8b32 drm/amdgpu: Add preferred mode in modeset when freesync video mode's enabled. 7b69bee4817c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work 164759f4070e drm/amd/display: Remove invalid assert for ODM + MPC case 3565f42dc8e2 drm/i915/display: Fix the 12 BPC bits for PIPE_MISC reg 01478e251732 drm/i915/gvt: Fix cached atomics setting for Windows VM 21fcf2f1ced4 vmlinux.lds.h: Handle clang's module.{c,d}tor sections 33d2301ad61b riscv: kexec: do not add '-mno-relax' flag if compiler doesn't support it 1579656b0141 libnvdimm/region: Fix label activation vs errors 4debaa9f577a ACPI: NFIT: Fix support for virtual SPA ranges fbe28d4afbda pinctrl: k210: Fix k210_fpioa_probe() 3d33960c8d66 ceph: reduce contention in ceph_check_delayed_caps() 01b2ec534d38 ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch 30a5d06dc3dd net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases 2bb154128d14 net: wwan: mhi_wwan_ctrl: Fix possible deadlock 8610d75c4db6 seccomp: Fix setting loaded filter count during TSYNC bf77f479cd4c cgroup: rstat: fix A-A deadlock on 32bit around u64_stats_sync 5028bdb679c4 scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash 3e35c7dbf706 io_uring: fix ctx-exit io_rsrc_put_work() deadlock e1c5046e341d io_uring: drop ctx->uring_lock before flushing work item 000cb600dabf cifs: use the correct max-length for dentry_path_raw() 0ca6ac8a2691 cifs: Call close synchronously during unlink/rename/lease break. 10290043f377 cifs: create sd context must be a multiple of 8 3c420ec43971 cifs: Handle race conditions during rename cc3a5a27e811 i2c: dev: zero out array used for i2c reads from userspace 2693a747960b ASoC: intel: atom: Fix reference to PCM buffer address 145951900b76 ASoC: kirkwood: Fix reference to PCM buffer address 8e4a0581e288 ASoC: tlv320aic31xx: Fix jack detection after suspend 3380a37484eb ASoC: uniphier: Fix reference to PCM buffer address 4cf1b08e6889 ASoC: xilinx: Fix reference to PCM buffer address c43e0f97f5fc ASoC: amd: Fix reference to PCM buffer address b37adfb2c760 iio: adc: Fix incorrect exit of for-loop 88f5acc1f2af iio: humidity: hdc100x: Add margin to the conversion time 29ccbb4684e9 iio: adis: set GPIO reset pin direction 51289a499dd1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels c7ee0c9854fd Revert "usb: dwc3: gadget: Use list_replace_init() before traversing lists" 95f4fb3ef0b9 lib: use PFN_PHYS() in devmem_is_allowed()
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 26 Aug 2021 14:23:39 +0000 (10:23 -0400)]
linux-yocto/5.10: update to v5.10.59
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
5805e5eec901 Linux 5.10.59 25cff25ec606 net: xilinx_emaclite: Do not print real IOMEM pointer 6a002d48a660 ovl: prevent private clone if bind mount is not allowed bffead8d3648 ppp: Fix generating ppp unit id when ifname is not specified 5df85901fe45 ALSA: hda: Add quirk for ASUS Flow x13 8930f2c60a45 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC 98c3fa3a9d7a ALSA: pcm: Fix mmap breakage without explicit buffer setup cc1a4dff23a4 USB:ehci:fix Kunpeng920 ehci hardware problem bd909fd3878d vboxsf: Make vboxsf_dir_create() return the handle for the created file 971703fc19cf vboxsf: Honor excl flag to the dir-inode create op 96b2232cb7e5 arm64: dts: renesas: beacon: Fix USB ref clock references e0dd4a0ab072 arm64: dts: renesas: beacon: Fix USB extal reference 0f47027d1b9b arm64: dts: renesas: rzg2: Add usb2_clksel to RZ/G2 M/N/H eaa7feecd366 mm: make zone_to_nid() and zone_set_nid() available for DISCONTIGMEM 0e709390372f Revert "selftests/resctrl: Use resctrl/info for feature detection" d8c38598701f bpf: Add lockdown check for probe_write_user helper 5b5064ea9a94 firmware: tee_bnxt: Release TEE shm, session, and context during kexec c5a625c6a4ac tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag 9f105d2d4f6c KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB 132a8267adab Linux 5.10.58 3d7d1b0f5f41 arm64: fix compat syscall return truncation bb65051dcd1f drm/amdgpu/display: only enable aux backlight control for OLED panels c8b7cfa674ee smb3: rc uninitialized in one fallocate path 8cfdd039ca18 net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset fbbb209268e5 alpha: Send stop IPI to send to online CPUs 13d0a9b3b917 net: qede: Fix end of loop tests for list_for_each_entry 1478e902bcbc virt_wifi: fix error on connect ecd8614809eb reiserfs: check directory items on read from disk dbe4f82fedc6 reiserfs: add check for root_inode in reiserfs_fill_super 0f05e0ffa247 libata: fix ata_pio_sector for CONFIG_HIGHMEM 11891adab23d drm/i915: avoid uninitialised var in eb_parse() a3e6bd0c71bb sched/rt: Fix double enqueue caused by rt_effective_prio c797b8872bb9 perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest 2d94cffc94a5 soc: ixp4xx/qmgr: fix invalid __iomem access 7397034905ac drm/i915: Correct SFC_DONE register offset 16aecf1e36d9 interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes 22b4917c85af interconnect: Always call pre_aggregate before aggregate ccfe4f62ff9f interconnect: Zero initial BW after sync-state 05565b469358 spi: meson-spicc: fix memory leak in meson_spicc_remove 1a084e78217d interconnect: Fix undersized devress_alloc allocation dcc23e58511b soc: ixp4xx: fix printing resources 37cbd27ef4b2 arm64: vdso: Avoid ISB after reading from cntvct_el0 7a2b5bb00f54 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds 32f55c25ee29 KVM: Do not leak memory for duplicate debugfs directories 309a31127bef KVM: x86: accept userspace interrupt only if no event is injected a786282b55b4 md/raid10: properly indicate failure when ending a failed write request 3d7d2d2b069b ARM: omap2+: hwmod: fix potential NULL pointer access 9851ad2f7107 Revert "gpio: mpc8xxx: change the gpio interrupt flags." 57c44e7ac788 bus: ti-sysc: AM3: RNG is GP only f4984f60acc7 selinux: correct the return value when loads initial sids 100f8396d154 pcmcia: i82092: fix a null pointer dereference bug afcd5a0e015f net/xfrm/compat: Copy xfrm_spdattr_type_t atributes f08b2d078cbb xfrm: Fix RCU vs hash_resize_mutex lock inversion 23e36a8610ca timers: Move clearing of base::timer_running under base:: Lock 9a69d0d24d69 fpga: dfl: fme: Fix cpu hotplug issue in performance reporting bfb5f1a12325 serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts. 0f30fedced7c serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver 17f3c64f707b MIPS: Malta: Do not byte-swap accesses to the CBUS UART 8a1624f4a8d3 serial: 8250: Mask out floating 16/32-bit bus bits c03cef67157a serial: 8250_mtk: fix uart corruption issue when rx power off a4f8bfc919ee serial: tegra: Only print FIFO error message when an error occurs cc7300776808 ext4: fix potential htree corruption when growing large_dir directories 6b5a3d2c2b89 pipe: increase minimum default pipe size to 2 pages 556e7f204d34 media: rtl28xxu: fix zero-length control request 551e0c5d6b2e drivers core: Fix oops when driver probe fails faec2c68ea5f staging: rtl8712: error handling refactoring e468a357af68 staging: rtl8712: get rid of flush_scheduled_work 369101e39911 staging: rtl8723bs: Fix a resource leak in sd_int_dpc 1628b64efb36 tpm_ftpm_tee: Free and unregister TEE shared memory during kexec 2a879ff9719f optee: fix tee out of memory failure seen during kexec reboot ad80c25987fe optee: Refuse to load the driver under the kdump kernel 1340dc3fb75e optee: Fix memory leak when failing to register shm pages 6b2ded93d35c tee: add tee_shm_alloc_kernel_buf() 5e9d82021425 optee: Clear stale cache entries during initialization e5d8fd87091c arm64: stacktrace: avoid tracing arch_stack_walk() 7799ad4d181f tracepoint: Fix static call function vs data state mismatch 14673e19291c tracepoint: static call: Compare data on transition from 2->1 callees 046e12323ab4 tracing: Fix NULL pointer dereference in start_creating b2aca8daa50e tracing: Reject string operand in the histogram expression b10ccc2c5888 tracing / histogram: Give calculation hist_fields a size f97274528037 scripts/tracing: fix the bug that can't parse raw_trace_func fd3afb81f448 clk: fix leak on devm_clk_bulk_get_all() unwind 948ff2f214fb usb: otg-fsm: Fix hrtimer list corruption 8f8645de092a usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events 5b4318885a43 usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses 1f2015506d9c usb: gadget: f_hid: idle uses the highest byte for duration 825ac3f0bc35 usb: gadget: f_hid: fixed NULL pointer dereference 683702dff7c8 usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers 051518d9cfe3 usb: cdns3: Fixed incorrect gadget state 822bec5cbb05 usb: gadget: remove leaked entry from udc driver list 98c83d72614e usb: dwc3: gadget: Avoid runtime resume if disabling pullup 79e9389038c4 ALSA: usb-audio: Add registration quirk for JBL Quantum 600 b7532db2d458 ALSA: usb-audio: Fix superfluous autosuspend recovery 80b7aa2651bc ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256) de30786fb25a ALSA: hda/realtek: add mic quirk for Acer SF314-42 c0b626f0a29a ALSA: pcm - fix mmap capability check for the snd-dummy driver dd3f7c5c8904 drm/amdgpu/display: fix DMUB firmware version info ecb739cf15a9 firmware_loader: fix use-after-free in firmware_fallback_sysfs 5019f5812bbf firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback aa3b8bc17e2a USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2 d245a76719cf USB: serial: ch341: fix character loss at high transfer rates 0470385e63bb USB: serial: option: add Telit FD980 composition 0x1056 ba4a395668b5 USB: usbtmc: Fix RCU stall warning f2f856b65ac4 Bluetooth: defer cleanup of resources in hci_unregister_dev() 821e6a613354 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit() c5a499b8607a net: vxge: fix use-after-free in vxge_device_unregister fb49d67262ca net: fec: fix use-after-free in fec_drv_remove f12b6b6bc15f net: pegasus: fix uninit-value in get_interrupt_interval c66d273b70fe bnx2x: fix an error code in bnx2x_nic_load() f76f9caccb46 mips: Fix non-POSIX regexp f93b7b000044 MIPS: check return value of pgtable_pmd_page_ctor 9b2b2f07712b net: sched: fix lockdep_set_class() typo error for sch->seqlock d1f2abe57bc1 net: dsa: qca: ar9331: reorder MDIO write sequence a45ee8ed0c7d net: ipv6: fix returned variable type in ip6_skb_dst_mtu f87be69b7fe9 nfp: update ethtool reporting of pauseframe control 44f2e360e784 sctp: move the active_key update after sh_keys is added e74551ba938a RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently 1242ca9369b1 gpio: tqmx86: really make IRQ optional 4ef549dc9c1a net: natsemi: Fix missing pci_disable_device() in probe and remove 1dc3eef381c1 net: phy: micrel: Fix detection of ksz87xx switch e09dba75cafd net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag c0b14a0e61e7 net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too 00bf923dce2a net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones de425f1c3a60 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add 74bcf85ff1e2 net, gro: Set inner transport header offset in tcp/udp GRO hook 80fd533ac3f9 dmaengine: imx-dma: configure the generic DMA type to make it work 163e6d87216d ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM 442f7e04d592 ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM 449991df08d5 media: videobuf2-core: dequeue if start_streaming fails 3e8bba601212 scsi: sr: Return correct event when media event code is 3 aaaf6e6e4174 spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation cd989e119272 spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay 281514da66a4 dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops bbce3c99f622 dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops 84656b4c27bf clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops edf1b7911af2 dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state 4ebd11d1c782 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator 9bf056b99fa0 ARM: dts: am437x-l4: fix typo in can@0 node e79a30f71d95 clk: stm32f4: fix post divisor setup for I2S/SAI PLLs 71f39badc898 ALSA: usb-audio: fix incorrect clock source setting c4fcda128780 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode 8d13f6a0a656 arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers f239369f37d9 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins ee6f7084324d ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init e1011b9c597d ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz c0f61abbefdf arm64: dts: ls1028: sl28: fix networking for variant 2 54555c399668 ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms 3790f940981d ARM: imx: add missing clk_disable_unprepare() a28569b510e5 ARM: imx: add missing iounmap() 9189d77f0e21 arm64: dts: ls1028a: fix node name for the sysclk d61dc8c634bb net: xfrm: fix memory leak in xfrm_user_rcv_msg 8efe3a635f22 bus: ti-sysc: Fix gpt12 system timer issue with reserved status e32a291736fc ALSA: seq: Fix racy deletion of subscriber b917f123b50d Revert "ACPICA: Fix memory leak caused by _CID repair function"
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemurunner.py: print output from runqemu/qemu-system in stop()
This is done when starting up qemu has failed, but is not done
when qemu started ok, but fails later in QMP communication.
Output from runqemu does contain valuable information to find out
why, so rather than fix all the QMP fails to include it, let's just
print it in stop().
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson.bbclass: Make the default buildtype "debug" if DEBUG_BUILD is 1
Setting the Meson buildtype to "debug" will by default only enable the
-g option to the compiler, which should not matter for OE-Core as it is
already enabled by setting DEBUG_BUILD to 1 in the first place. However,
if the package uses get_option('debug') in its meson.build files to
enable package specific debug code, this will now trigger as intended.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andrey Zhizhikin [Thu, 26 Aug 2021 12:56:26 +0000 (12:56 +0000)]
lttng-modules: do not search in non-existing folder during install
When CONFIG_TRACEPOINTS is not enabled in kernel config - module
compilation is skipped, which causes the ${D}/${nonarch_base_libdir} not
to be created.
This fails later in do_install:append() due to the fact that find
command in executed for non-existing folder.
Check for folder existence before find command in executed.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.bbclass: Use full versions for inter-package dependencies
If the kernel configuration enables module signing but no key
is provided, then the kernel generates one during the kernel build.
The current runtime-dependency references (with only package names
without full versions) allow mixed package installations from different
rebuilds of the same kernel version.
This creates an issue because then the modules either don't work
or taint the kernel.
Tighten RDEPENDS with the full package version, i.e. use (= ${EXTENDPKGV})
markers for inter-package dependencies.
The kernel will pull in the kernel-modules subpackage of the same
exact version automatically if KERNEL_SPLIT_MODULES="0" is set.
Otherwise the situation is the same as with the old default with
one subpackage per kernel module where they have to be upgraded
manually.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some use cases, a monolithic kernel-modules package containing
all modules built from the kernel sources may be preferred.
For one, download time is shorter and installation time is faster.
Set KERNEL_SPLIT_MODULES="0" for this in. The default is one subpackage
per module.
Also, adapt kernel.bbclass to KERNEL_SPLIT_MODULES != "1" case
Extra RDEPENDS and other inter-package references are needed in
this case.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kai Kang [Thu, 26 Aug 2021 01:50:31 +0000 (09:50 +0800)]
libcgroup: fix installed-vs-shipped qa issue
When pam is enabled, it complains installed-vs-shipped QA issue:
| ERROR: libcgroup-2.0-r0 do_package: QA Issue: libcgroup:
Files/directories were installed but not shipped in any package:
| /lib/security/pam_cgroup.a
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tim Orling [Wed, 25 Aug 2021 20:28:05 +0000 (20:28 +0000)]
python3-pluggy: upgrade 0.13.1 -> 1.0.0
* All ptests pass on qemux86-64
pluggy 1.0.0 (2021-08-25)
Deprecations and Removals
#116: Remove deprecated implprefix support. Decorate hook
implementations using an instance of HookimplMarker instead.
The deprecation was announced in release 0.7.0.
#120: Remove the deprecated proc argument to call_historic. Use
result_callback instead, which has the same behavior. The
deprecation was announced in release 0.7.0.
#265: Remove the _Result.result property. Use _Result.get_result()
instead. Note that unlike result, get_result() raises the
exception if the hook raised. The deprecation was announced in release
0.6.0.
#267: Remove official support for Python 3.4.
#272: Dropped support for Python 2. Continue to use pluggy 0.13.x
for Python 2 support.
#308: Remove official support for Python 3.5.
#313: The internal pluggy.callers, pluggy.manager and pluggy.hooks
are now explicitly marked private by a _ prefix (e.g.
pluggy._callers). Only API exported by the top-level pluggy module is
considered public.
#59: Remove legacy __multicall__ recursive hook calling system. The
deprecation was announced in release 0.5.0.
Features
#282: When registering a hookimpl which is declared as
hookwrapper=True but whose function is not a generator
function, a PluggyValidationError exception is now raised.
Previously this problem would cause an error only later, when
calling the hook.
In the unlikely case that you have a hookwrapper that returns a
generator instead of yielding directly, for example:
Richard Purdie [Wed, 25 Aug 2021 13:40:51 +0000 (14:40 +0100)]
rust: Avoid buildtools+uninative issues with glibc symbols mismatches
If we use an external buildtools tarball, that combined with uninative results
in build failures with symbol mismatches. This was tracked down to the prebuilt
rust binaries that are downloaded. The libc/loader used to load them is used to
execute target binaries/libraries and therefore anything with built with a newer
libc would fail.
Add code to use patchelf to change the interpreter to our own uninative one if
present which ensures the newer libc and loader are used, hence avoiding the issue.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 23 Aug 2021 15:19:46 +0000 (16:19 +0100)]
oeqa/selftest/distrodata: Fix up rust maintainer testing
Since the target rust recipe is skipped but the native variant is not,
this confuses the test. Add rust to the list of special cases to avoid
test failures as the current code can't handle the skip.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 23 Aug 2021 12:30:48 +0000 (13:30 +0100)]
rust: Skip target recipe since it doesn't work
The target rust recipe is known not to work. Add a SkipRecipe entry for
that so world builds don't include something known to be broken and
hence give users a sensible message if they do try and build it rather
than a build failure.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 23 Aug 2021 12:59:23 +0000 (13:59 +0100)]
rust-native: Avoid stripped warning
Instead of giving the following warning, hide it since we don't plan to change it.
WARNING: rust-native-1.54.0-r0 do_populate_sysroot: File '/media/build1/poky/build/tmp/work/x86_64-linux/rust-native/1.54.0-r0/recipe-sysroot-native/usr/lib/rustlib/x86_64-linux/bin/rust-llvm-dwp' from rust-native was already stripped, this will prevent future debugging!
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 21 Aug 2021 21:36:29 +0000 (22:36 +0100)]
rust-cross*: Fix OVERRRIDE references in task signature computation
The oeqa selftest test:
sstatetests.SStateTests.test_sstate_sametune_samesigs
which checks if the sstate checksums of two identical machines
(using the same tune) are the same, apart from changes within
the machine specific stamps directory, fails on the assertion:
self.assertCountEqual(files1, files2)
due to the signature of various 32 bit package builds such as:
x86_64-linux/lib32-rust-cross-i686
x86_64-linux/rust-cross-i686
x86-pokymllib32-linux/lib32-libstd-rs
x86-pokymllib32-linux/lib32-rust
differing. Jumping down the rabbit hole past all the bitbake-diffsig
outputs that differ due to dependent hashes, you come to a diff of:
-Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}
+Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}:qemux86
in
stamps/x86_64-linux/rust-cross-i686/1.54.0-r0.do_rust_gen_target.<sig>
This is because there are two rust functions referencing OVERRIDES
related variables (target_is_armv7 and llvm_features_from_tune). These
indirectly influnce the build and should be excluded from the signatures
directly as is done in other toolchain recipes, e.g.:
Randy MacLeod [Thu, 19 Aug 2021 22:49:25 +0000 (18:49 -0400)]
cargo_common: remove http_proxy
Fix the test_sstate_noop_samesigs oe-selftest that
produces an error like:
core2-64-poky-linux/libstd-rs/1.54.0-r0.do_configure.sigdata differs:
basehash changed from <hash-a> to <hash-b>
Variable http_proxy value changed from '' to 'http://example.com/'
by simply removing the proxy config option. This may be added back
after merge to oe-core if needed and if the diffsigs check passes.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: formatting Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I have also checked that nothing in binutils needs anything from target
sysroots of flex/bison:
https://lists.openembedded.org/g/openembedded-core/message/155131
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lttng-modules: Make it build when CONFIG_TRACEPOINTS is not enabled again
Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch was updated
with the 2.13.0 update (commit 5dad15af), but unfortunately it no
longer did what it was intended to do. There is also
0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch, which
was based on the former patch, but it too does not solve the problem.
Unify the two patches, and actually disable building of the kernel
module if CONFIG_TRACEPOINTS is not enabled, the way it was intended.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker [Tue, 24 Aug 2021 20:18:15 +0000 (16:18 -0400)]
ltp: backport ioctl_ns05 fix from upstream
This false positive keeps showing up in our testing but the fix isn't
yet a part of a tagged release, and it is probably too late for doing
an uprev for the fall release anyway.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trevor Gamblin [Tue, 24 Aug 2021 18:10:39 +0000 (14:10 -0400)]
bluez: upgrade 5.60 -> 5.61
5.61 includes a fix for CVE-2021-3658 (bluez: adapter incorrectly
restores Discoverable state after powered down), as well as other
fixes.
>From the changelog:
ver 5.61:
Fix issue with A2DP while waiting for command response.
Fix issue with A2DP when SetConfiguration fails.
Fix issue with device removal handling.
Fix issue with storing discoverable setting.
Add support for Central Address Resolution characteristic.
Add support for admin policy plugin.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is probing into what options the /usr/bin/file executable does
and does not support and bakes that into target binaries, so we
need to use a deterministic one we build ourselves.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Scott Murray [Thu, 19 Aug 2021 16:51:55 +0000 (12:51 -0400)]
prservice: remove connection caching
This patch is a follow on of the the PR server rework in bitbake to add
read-only support. The shift to using the bb.asyncrpc code in the PR
server and client brings issues with respect to reuse of the same
asyncio loop in different processes. This patch removes the PR service
connection caching to avoid one source of this problem. It is believed
that in practice this should have little impact on overall performance.
Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu: add a hint on how to enable CPU render nodes when a suitable GPU is absent
This is particularly useful for llvm-accelerated GL rendering from qemu guest to
an offscreen buffer (accessible over vnc or spice) using llvmpipe on the
host, rather than using unaccelerated swrast renderer in the guest.
This is the best that can be done in the absence of a host GPU with render node
support (such as old Matrox cards common in servers, or fully virtualized cloud
environments with no GPU at all).
Note: even though NVidia blob drivers do support render nodes, they do not
support gbm (yet?), and so rendering will fall back to llvmpipe as well even when
the system has a 3000 euro NVidia GPU. Cue Linus picture.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: new firmware files, copyright years, file names Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>