]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agogdb: Upgrade to 11.1
Khem Raj [Thu, 4 Nov 2021 01:30:23 +0000 (18:30 -0700)]
gdb: Upgrade to 11.1

Drop backported patches
Changes are here [1]

[1] https://sourceware.org/pipermail/gdb-announce/2021/000129.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpcre/libpcre2: correct SRC_URI
Alexander Kanavin [Fri, 5 Nov 2021 08:48:12 +0000 (09:48 +0100)]
libpcre/libpcre2: correct SRC_URI

http://ftp.pcre.org is down, take sources according to links on
http://www.pcre.org

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: mark patch as non-upstreamable
Alexander Kanavin [Fri, 5 Nov 2021 08:48:11 +0000 (09:48 +0100)]
libxml2: mark patch as non-upstreamable

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibrsvg: set the needed atomic configuration flags directly per-target
Alexander Kanavin [Fri, 5 Nov 2021 08:48:10 +0000 (09:48 +0100)]
librsvg: set the needed atomic configuration flags directly per-target

Do not try to mangle the upstream list of targets;
after discussion with upstream it turns out it's neither
necessary nor upstreamable:
https://github.com/crossbeam-rs/crossbeam/pull/751

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd-bootchart: submit musl patches upstream
Alexander Kanavin [Fri, 5 Nov 2021 08:48:09 +0000 (09:48 +0100)]
systemd-bootchart: submit musl patches upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: mark ptest-specific patch as inappropriate
Alexander Kanavin [Fri, 5 Nov 2021 08:48:08 +0000 (09:48 +0100)]
valgrind: mark ptest-specific patch as inappropriate

I do not think upstream is going to accept this; if you disagree
please do the submission.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-devsrc: Add vdso.lds and other build files for riscv64 as well
Khem Raj [Wed, 3 Nov 2021 21:56:39 +0000 (14:56 -0700)]
kernel-devsrc: Add vdso.lds and other build files for riscv64 as well

These additional bits are needed on riscv64 as well
Fixes
make[1]: *** No rule to make target 'arch/riscv/kernel/vdso/vdso.lds', needed by 'arch/riscv/kernel/vdso/vdso.so.dbg'.  Stop.
make: *** [arch/riscv/Makefile:114: vdso_prepare] Error 2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: set objcopy in the cross and native toolchain files
Ross Burton [Thu, 4 Nov 2021 13:45:29 +0000 (13:45 +0000)]
meson: set objcopy in the cross and native toolchain files

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: another fix for touching files inside pseudo
Jose Quaresma [Thu, 4 Nov 2021 19:12:23 +0000 (19:12 +0000)]
sstate: another fix for touching files inside pseudo

This patch is a fixup for 676757f "sstate: fix touching files inside pseudo"

running the 'id' command inside the sstate_unpack_package
function shows that this funcion run inside the pseudo:

 uid=0(root) gid=0(root) groups=0(root)

The check for [ -w ${SSTATE_PKG} ] and [ -O ${SSTATE_PKG}.siginfo ]
will always return true and the touch can fail when the real user
don't have permission or in readonly filesystem.

As the documentation refers:
- the file test operator "-w" check if the file has write permission
(for the user running the test).
- the file test operator "-O" check if you are owner of file

We can avoid this test running the touch and mask any return errors
that we have.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreate-spdx: Set the Organization field via a variable
Andres Beltran [Thu, 4 Nov 2021 16:48:56 +0000 (16:48 +0000)]
create-spdx: Set the Organization field via a variable

Currently, the "Organization" field for SBOMs is hard-coded in
create-spdx. Create a new variable SPDX_ORG to make this field more
generic.

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostrace: fix build against 5.15 kernel/kernel-headers
Bruce Ashfield [Thu, 4 Nov 2021 19:48:26 +0000 (15:48 -0400)]
strace: fix build against 5.15 kernel/kernel-headers

kernel 5.15 removed ipx.h from the uapi, but strace hasn't adjusted
its tests to the removal.

There is a WIP patch on the esyr/5.15 branch that solves the problem,
so we grab it here, adjust for context and fix our build problem.

When strace updates to 5.15, and we can bump our version and drop
this patch.

Upstream-Status: Backport [commit cca828197c0e16c2599129114]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto-rt/5.10: update to -rt54
Bruce Ashfield [Thu, 4 Nov 2021 19:48:24 +0000 (15:48 -0400)]
linux-yocto-rt/5.10: update to -rt54

Integrating the following commit(s) to linux-yocto-rt/5.10:

    f01089784fd6 Linux 5.10.73-rt54
    f34df8f3c666 Linux 5.10.65-rt53
    271c5e6e4064 Linux 5.10.59-rt52
    1a4bba4bc32c locking/rwsem-rt: Remove might_sleep() in __up_read()
    ff591a2bdcfb Linux 5.10.59-rt51
    8d185ac23c11 Linux 5.10.58-rt50
    2c0fd44153f5 Linux 5.10.56-rt49
    8b083d3c993c printk: Enhance the condition check of msleep in pr_flush()
    448cd29e3bc9 Linux 5.10.56-rt48

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.76
Bruce Ashfield [Thu, 4 Nov 2021 19:48:22 +0000 (15:48 -0400)]
linux-yocto/5.10: update to v5.10.76

Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    378e85d1aeb5 Linux 5.10.76
    cfa79faf7e1f pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume()
    c56c801391c3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG
    d088db8637bb selftests: bpf: fix backported ASSERT_FALSE
    3a845fa00fd7 e1000e: Separate TGP board type from SPT
    021b6d11e590 tracing: Have all levels of checks prevent recursion
    3a0dc2e35a5d net: mdiobus: Fix memory leak in __mdiobus_register
    cfe9266213c4 bpf, test, cgroup: Use sk_{alloc,free} for test cases
    188907c25218 s390/pci: fix zpci_zdev_put() on reserve
    f18b90e9366f can: isotp: isotp_sendmsg(): fix TX buffer concurrent access in isotp_sendmsg()
    2304dfb548a4 scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma()
    c58654f344dd net: hns3: fix for miscalculation of rx unused desc
    96fe5061291d sched/scs: Reset the shadow stack when idle_task_exit
    96f0aebf29be scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els()
    90c8e8c0829b scsi: iscsi: Fix set_param() handling
    0eb254479685 Input: snvs_pwrkey - add clk handling
    ea9c1f5d8a3a perf/x86/msr: Add Sapphire Rapids CPU support
    7a5a1f09c8b4 libperf tests: Fix test_stat_cpu
    e56a3e7ae353 ALSA: hda: avoid write to STATESTS if controller is in reset
    85c8d8c1609d platform/x86: intel_scu_ipc: Update timeout value in comment
    9f591cbdbed3 isdn: mISDN: Fix sleeping function called from invalid context
    ab4f542b515b ARM: dts: spear3xx: Fix gmac node
    15d3ad79885b net: stmmac: add support for dwmac 3.40a
    f9d16a428489 btrfs: deal with errors when checking if a dir entry exists during log replay
    369db2a91d5c ALSA: hda: intel: Allow repeatedly probing on codec configuration errors
    81d8e70cdce4 gcc-plugins/structleak: add makefile var for disabling structleak
    69078a94365a net: hns3: fix the max tx size according to user manual
    f40c2281d2c0 drm: mxsfb: Fix NULL pointer dereference crash on unload
    96835b68d7b3 net: bridge: mcast: use multicast_membership_interval for IGMPv3
    0e033cb40761 selftests: netfilter: remove stray bash debug line
    f8a6541345c2 netfilter: Kconfig: use 'default y' instead of 'm' for bool config option
    7f221ccbee4e isdn: cpai: check ctr->cnr to avoid array index out of bound
    77c0ef979e32 nfc: nci: fix the UAF of rf_conn_info object
    8f042315fcc4 KVM: nVMX: promptly process interrupts delivered while in guest mode
    b41fd8f5d2ad mm, slub: fix incorrect memcg slab count for bulk free
    568f906340b4 mm, slub: fix potential memoryleak in kmem_cache_open()
    48843dd23c7b mm, slub: fix mismatch between reconstructed freelist depth and cnt
    c5c2a80368e9 powerpc/idle: Don't corrupt back chain when going idle
    197ec50b2df1 KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if it went to guest
    fbd724c49bea KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest()
    9258f58432c5 powerpc64/idle: Fix SP offsets when saving GPRs
    3e16d9d525a7 net: dsa: mt7530: correct ds->num_ports
    16802fa4c33e audit: fix possible null-pointer dereference in audit_filter_rules
    0d867a359979 ASoC: DAPM: Fix missing kctl change notifications
    a2606acf418e ALSA: hda/realtek: Add quirk for Clevo PC50HS
    6411397b6d7a ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset
    b721500c979b vfs: check fd has read access in kernel_read_file_from_fd()
    895ceeff31b1 elfcore: correct reference to CONFIG_UML
    3cda4bfffd4f userfaultfd: fix a race between writeprotect and exit_mmap()
    93be0eeea14c ocfs2: mount fails with buffer overflow in strlen
    f1b98569e81c ocfs2: fix data corruption after conversion from inline format
    1727e8688d2e ceph: fix handling of "meta" errors
    603d4bcc0fcd ceph: skip existing superblocks that are blocklisted or shut down when mounting
    d48db508f911 can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytes
    5abc9b9d3ca5 can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length
    864e77771a24 can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv
    ecfccb1c58c9 can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimer
    053bc12df0d6 can: isotp: isotp_sendmsg(): add result check for wait_event_interruptible()
    0917fb04069a can: isotp: isotp_sendmsg(): fix return error on FC timeout on TX path
    28f28e4bc3a5 can: peak_pci: peak_pci_remove(): fix UAF
    9697ad6395f9 can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification
    4758e92e75ca can: rcar_can: fix suspend/resume
    4a0928c3ebca net: enetc: fix ethtool counter name for PM0_TERR
    00ad7a015409 drm/panel: ilitek-ili9881c: Fix sync for Feixin K101-IM2BYL02 panel
    eccd00728b1a ice: Add missing E810 device ids
    6418508a3ac2 e1000e: Fix packet loss on Tiger Lake and later
    29f1bdcaa3dd net: stmmac: Fix E2E delay mechanism
    d36b15e3e7b5 net: hns3: disable sriov before unload hclge layer
    6a72e1d78a2f net: hns3: fix vf reset workqueue cannot exit
    32b860d364d2 net: hns3: schedule the polling again when allocation fails
    96c013f40c9b net: hns3: add limit ets dwrr bandwidth cannot be 0
    21f61d10435c net: hns3: reset DWRR of unused tc to zero
    53770a411559 powerpc/smp: do not decrement idle task preempt count in CPU offline
    81dbd898fb7b NIOS2: irqflags: rename a redefined register name
    6edf99b000d6 net: dsa: lantiq_gswip: fix register definition
    ef97219d5fec ipv6: When forwarding count rx stats on the orig netdev
    38d984e5e845 tcp: md5: Fix overlap between vrf and non-vrf keys
    c28bea6b876f lan78xx: select CRC32
    9c8943812dac netfilter: ipvs: make global sysctl readonly in non-init netns
    911e01990c70 netfilter: ip6t_rt: fix rt0_hdr parsing in rt_mt6
    69ea08c1b539 ice: fix getting UDP tunnel entry
    842fce43190c ASoC: wm8960: Fix clock configuration on slave mode
    39afed394cc6 dma-debug: fix sg checks in debug_dma_map_sg()
    2a670c323055 netfilter: xt_IDLETIMER: fix panic that occurs when timer_type has garbage value
    0f4308a164a9 NFSD: Keep existing listeners on portlist error
    546c04c85791 xtensa: xtfpga: Try software restart before simulating CPU reset
    bfef5d826276 xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
    d8284c981c1c drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI
    101e1bcb1147 xen/x86: prevent PVH type from getting clobbered
    a6285b1b2212 block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output
    85c1827eeee7 ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default
    5489c1bed5b8 arm: dts: vexpress-v2p-ca9: Fix the SMB unit-address
    f59da9f7efa7 io_uring: fix splice_fd_in checks backport typo
    b6f32897af19 xhci: add quirk for host controllers that don't update endpoint DCS
    b3b7f831a49b parisc: math-emu: Fix fall-through warnings

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.14: update to v5.14.15
Bruce Ashfield [Thu, 4 Nov 2021 19:48:21 +0000 (15:48 -0400)]
linux-yocto/5.14: update to v5.14.15

Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    b46092c7497e Linux 5.14.15
    96e4ea34f6d7 pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume()
    4850e9e3c6a3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG
    80344938e468 e1000e: Separate TGP board type from SPT
    0c4e87ba11eb net: mdiobus: Fix memory leak in __mdiobus_register
    2f4356963624 bpf, test, cgroup: Use sk_{alloc,free} for test cases
    4e5d794a2743 s390/pci: fix zpci_zdev_put() on reserve
    e27170d5f2fc s390/pci: cleanup resources only if necessary
    2be38f02ec89 scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma()
    ff261f9aa654 autofs: fix wait name hash calculation in autofs_wait()
    1009f098dfbe drm/kmb: Limit supported mode to 1080p
    217d42e8b835 drm/kmb: Enable alpha blended second plane
    c1ad040dbea8 net/mlx5: Lag, change multipath and bonding to be mutually exclusive
    d2ec7d208d8e net/mlx5: Lag, move lag destruction to a workqueue
    42b6431f1c17 net: hns3: fix for miscalculation of rx unused desc
    f1972f14f16e sched/scs: Reset the shadow stack when idle_task_exit
    c4813d308517 mm/thp: decrease nr_thps in file's mapping on THP split
    a7fbb56e6c94 scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els()
    c8c1b2183fb8 scsi: mpi3mr: Fix duplicate device entries when scanning through sysfs
    ce527668277c scsi: storvsc: Fix validation for unsolicited incoming packets
    08d82a9b65e7 scsi: iscsi: Fix set_param() handling
    6408a4c8da2f ASoC: codec: wcd938x: Add irq config support
    9eb2aaede632 Input: snvs_pwrkey - add clk handling
    9dd0389d77b9 perf/x86/msr: Add Sapphire Rapids CPU support
    11d6811cbde0 libperf tests: Fix test_stat_cpu
    65eec1fb58c1 libperf test evsel: Fix build error on !x86 architectures
    b6062308c510 spi-mux: Fix false-positive lockdep splats
    722ef19a161c spi: Fix deadlock when adding SPI controllers on SPI buses
    785d69099ef4 ALSA: hda: avoid write to STATESTS if controller is in reset
    3972b03ed085 platform/x86: intel_scu_ipc: Update timeout value in comment
    6659008140b4 platform/x86: intel_scu_ipc: Increase virtual timeout to 10s
    f5966ba53013 isdn: mISDN: Fix sleeping function called from invalid context
    ef24577a52ba ARM: dts: spear3xx: Fix gmac node
    834cc3fc2b99 net: stmmac: add support for dwmac 3.40a
    0c878175dd2f btrfs: deal with errors when checking if a dir entry exists during log replay
    051995bd0f42 ALSA: hda: intel: Allow repeatedly probing on codec configuration errors
    9906da162dc8 objtool: Update section header before relocations
    e73e72be194e objtool: Check for gelf_update_rel[a] failures
    515e03331255 bitfield: build kunit tests without structleak plugin
    3f66b6e01c82 thunderbolt: build kunit tests without structleak plugin
    d9f94a8ec35a device property: build kunit tests without structleak plugin
    2c793a67d71b iio/test-format: build kunit tests without structleak plugin
    930f561aae28 gcc-plugins/structleak: add makefile var for disabling structleak
    1d1af4da1c44 drm/msm/a6xx: Serialize GMU communication
    bbdd158b40b6 kunit: fix reference count leak in kfree_at_end
    dfcc47a1fe36 KVM: MMU: Reset mmu->pkru_mask to avoid stale data
    e647d75565ab net: hns3: fix the max tx size according to user manual
    b0e6db0656dd drm: mxsfb: Fix NULL pointer dereference crash on unload
    56a3d9637b77 KVM: SEV-ES: Set guest_state_protected after VMSA update
    d469678d6b50 net: bridge: mcast: use multicast_membership_interval for IGMPv3
    8f20259f186e selftests: netfilter: remove stray bash debug line
    057aef8df940 netfilter: Kconfig: use 'default y' instead of 'm' for bool config option
    cc20226e218a isdn: cpai: check ctr->cnr to avoid array index out of bound
    6197eb050cfa nfc: nci: fix the UAF of rf_conn_info object
    fb82d4dbee95 KVM: x86: remove unnecessary arguments from complete_emulator_pio_in
    66e46fe3f276 KVM: x86: split the two parts of emulator_pio_in
    9887c1668ada KVM: x86: check for interrupts before deciding whether to exit the fast path
    169577c8840e KVM: x86: leave vcpu->arch.pio.count alone in emulator_pio_in_out
    62a1a254ed83 KVM: SEV-ES: reduce ghcb_sa_len to 32 bits
    3f54362dc7d7 KVM: SEV-ES: go over the sev_pio_data buffer in multiple passes if needed
    4988e000b3a8 KVM: SEV-ES: fix length of string I/O
    727286b23f93 KVM: SEV-ES: keep INS functions together
    98c55c508df0 KVM: SEV-ES: clean up kvm_sev_es_ins/outs
    abcae3cd6272 KVM: SEV-ES: rename guest_ins_data to sev_pio_data
    6697ceb9f6cd KVM: SEV: Flush cache on non-coherent systems before RECEIVE_UPDATE_DATA
    495bd03b6ba5 KVM: nVMX: promptly process interrupts delivered while in guest mode
    dc94b8b3f28a mm, slub: fix incorrect memcg slab count for bulk free
    159d8cfbd042 mm, slub: fix potential use-after-free in slab_debugfs_fops
    42b81946e3ac mm, slub: fix potential memoryleak in kmem_cache_open()
    ec93d4a439c3 mm, slub: fix mismatch between reconstructed freelist depth and cnt
    65ede7bd9713 powerpc/idle: Don't corrupt back chain when going idle
    5a8c22e7fb66 KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if it went to guest
    6d077c37c464 KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest()
    e8735e2e306f ucounts: Fix signal ucount refcounting
    1eb825343d63 ucounts: Proper error handling in set_cred_ucounts
    f7f7e4dbc41c ucounts: Pair inc_rlimit_ucounts with dec_rlimit_ucoutns in commit_creds
    32880dcecb51 ucounts: Move get_ucounts from cred_alloc_blank to key_change_session_keyring
    04b938ff2d2c net: dsa: mt7530: correct ds->num_ports
    4e9e46a70020 audit: fix possible null-pointer dereference in audit_filter_rules
    b1a34f86b41f blk-cgroup: blk_cgroup_bio_start() should use irq-safe operations on blkg->iostat_cpu
    152f35191d12 ASoC: nau8824: Fix headphone vs headset, button-press detection no longer working
    a60ce083dcbf ASoC: DAPM: Fix missing kctl change notifications
    9da68a107d07 ALSA: hda/realtek: Add quirk for Clevo PC50HS
    896fc3ab9fc1 ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset
    b77ba1e02345 mm/secretmem: fix NULL page->mapping dereference in page_is_secretmem()
    abe046ddf311 vfs: check fd has read access in kernel_read_file_from_fd()
    3681e4772c78 elfcore: correct reference to CONFIG_UML
    9ee4e9ae98f1 mm/mempolicy: do not allow illegal MPOL_F_NUMA_BALANCING | MPOL_LOCAL in mbind()
    149958ecd062 userfaultfd: fix a race between writeprotect and exit_mmap()
    6de91691768c mm/userfaultfd: selftests: fix memory corruption with thp enabled
    0e677ea5b739 ocfs2: mount fails with buffer overflow in strlen
    fa9b6b6c953e ocfs2: fix data corruption after conversion from inline format
    909c8482d8ac tracing: Have all levels of checks prevent recursion
    54dc25f4e31e ceph: fix handling of "meta" errors
    0ff7b35631ac ceph: skip existing superblocks that are blocklisted or shut down when mounting
    d832133cf228 can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytes
    03ec23e55e3e can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length
    6e8811707e2d can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv
    fb545be86c53 can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimer
    013e7890663d can: isotp: isotp_sendmsg(): fix TX buffer concurrent access in isotp_sendmsg()
    a76abedd2be3 can: isotp: isotp_sendmsg(): add result check for wait_event_interruptible()
    1d12d110a820 can: isotp: isotp_sendmsg(): fix return error on FC timeout on TX path
    0e5afdc2315b can: peak_pci: peak_pci_remove(): fix UAF
    44c353a14375 can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification
    e18b9f4d62c1 can: rcar_can: fix suspend/resume
    113f7a1f3421 net: enetc: make sure all traffic classes can send large frames
    284c68cae7e0 net: enetc: fix ethtool counter name for PM0_TERR
    eff55ddd240f drm/kmb: Enable ADV bridge after modeset
    c0179dbae96d drm/kmb: Corrected typo in handle_lcd_irq
    566ec004ed8b drm/kmb: Disable change of plane parameters
    2317b45fb3d2 drm/kmb: Remove clearing DPHY regs
    97cfc4b28c4d drm/kmb: Work around for higher system clock
    4dbf3d658540 drm/panel: ilitek-ili9881c: Fix sync for Feixin K101-IM2BYL02 panel
    3b194affe445 net/mlx5e: IPsec: Fix work queue entry ethernet segment checksum flags
    ea7a4d6132ce net/mlx5e: IPsec: Fix a misuse of the software parser's fields
    e867502bc4f6 ice: Add missing E810 device ids
    9b76c3fedb24 igc: Update I226_K device ID
    3300633367b6 e1000e: Fix packet loss on Tiger Lake and later
    95c0a0c5ec88 ptp: Fix possible memory leak in ptp_clock_register()
    d487413c020f net: stmmac: Fix E2E delay mechanism
    9b5a29f0acef net: hns3: disable sriov before unload hclge layer
    82a136c15a77 net: hns3: fix vf reset workqueue cannot exit
    9ee9191d3384 net: hns3: schedule the polling again when allocation fails
    6446be7c9090 net: hns3: add limit ets dwrr bandwidth cannot be 0
    dddafeda454a net: hns3: reset DWRR of unused tc to zero
    93fa0277ea4e net: hns3: Add configuration of TM QCN error event
    3ea0b497a7a2 powerpc/smp: do not decrement idle task preempt count in CPU offline
    0666c4cd67b1 net: dsa: Fix an error handling path in 'dsa_switch_parse_ports_of()'
    9ef9a287aab5 NIOS2: irqflags: rename a redefined register name
    8b523da74a22 net/sched: act_ct: Fix byte count on fragmented packets
    872b836a183d net: dsa: lantiq_gswip: fix register definition
    57deb5ffd8f6 hamradio: baycom_epp: fix build for UML
    c74f3c127e6c ipv6: When forwarding count rx stats on the orig netdev
    1dda424ef5c4 tcp: md5: Fix overlap between vrf and non-vrf keys
    9c281a1006f4 lan78xx: select CRC32
    5220cad0e69e sctp: fix transport encap_port update in sctp_vtag_verify
    ddffcd23d325 netfilter: ipvs: make global sysctl readonly in non-init netns
    cd3d0282dd3d netfilter: ip6t_rt: fix rt0_hdr parsing in rt_mt6
    aabf95dddb45 ice: Print the api_patch as part of the fw.mgmt.api
    75ebc3b08bbd ice: fix getting UDP tunnel entry
    777682e59840 ice: Avoid crash from unnecessary IDA free
    31b4517293bf ice: Fix failure to re-add LAN/RDMA Tx queues
    18b4fcfeab6d ASoC: wm8960: Fix clock configuration on slave mode
    2b7d598b9651 dma-debug: fix sg checks in debug_dma_map_sg()
    90c7c58aa2bd netfilter: nf_tables: skip netdev events generated on netns removal
    cae7cab804c9 netfilter: xt_IDLETIMER: fix panic that occurs when timer_type has garbage value
    78325fcb17f3 KVM: arm64: Release mmap_lock when using VM_SHARED with MTE
    b372264c66ef KVM: arm64: Fix host stage-2 PGD refcount
    649c2e76632d ASoC: cs4341: Add SPI device ID table
    efdcc26785de ASoC: pcm179x: Add missing entries SPI to device ID table
    242ce1c51b69 ASoC: fsl_xcvr: Fix channel swap issue with ARC
    41551810285e ASoC: pcm512x: Mend accesses to the I2S_1 and I2S_2 registers
    c8ecd221db9a powerpc/bpf: Emit stf barrier instruction sequences for BPF_NOSPEC
    663e89b7f4cc powerpc/security: Add a helper to query stf_barrier type
    23d127cf5e66 powerpc/bpf: Validate branch ranges
    e680ab91a034 powerpc/lib: Add helper to check if offset is within conditional branch range
    6fe5d304ca49 NFSD: Keep existing listeners on portlist error
    9ad89fcde18c xtensa: xtfpga: Try software restart before simulating CPU reset
    8287678c20b2 xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
    2602e9cc283a drm/amdgpu: init iommu after amdkfd device init
    68771262aab3 drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI
    537a7189df57 r8152: avoid to resubmit rx immediately
    7d8cdaffc518 xen/x86: prevent PVH type from getting clobbered
    28d084adc22d block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output
    96a37f6acb6a ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default
    470585caf603 arm: dts: vexpress-v2p-ca9: Fix the SMB unit-address
    79e3dc32f14f sh: pgtable-3level: fix cast to pointer from integer of different size
    d3f4c51c2a7f parisc: math-emu: Fix fall-through warnings
    4248f37f6cfc block/mq-deadline: Move dd_queued() to fix defined but not used warning

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopkg: Fix poor operator combination choice
Richard Purdie [Thu, 4 Nov 2021 14:01:41 +0000 (14:01 +0000)]
opkg: Fix poor operator combination choice

Combining :append with += rarely makes sense. Improve it to use the standard
format (and tweak the implied spacing).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperl: backport gdbm 1.2x compatibility fixes
Alexander Kanavin [Tue, 2 Nov 2021 08:43:03 +0000 (09:43 +0100)]
perl: backport gdbm 1.2x compatibility fixes

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdbm: upgrade 1.19 -> 1.22
Alexander Kanavin [Tue, 2 Nov 2021 08:42:47 +0000 (09:42 +0100)]
gdbm: upgrade 1.19 -> 1.22

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinsane.bbclass: Add a check for directories that are expected to be empty
Peter Kjellerstedt [Tue, 2 Nov 2021 19:57:25 +0000 (20:57 +0100)]
insane.bbclass: Add a check for directories that are expected to be empty

The empty-dirs QA check verifies that all directories specified in
QA_EMPTY_DIRS are empty. It is possible to specify why a directory is
expected to be empty by defining QA_EMPTY_DIRS_RECOMMENDATION:<path>,
which will then be included in the error message if the directory is
not empty. If it is not specified for a directory, then "but it is
expected to be empty" will be used.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-docutils: upgrade 0.17.1 -> 0.18
wangmy [Tue, 2 Nov 2021 03:35:12 +0000 (11:35 +0800)]
python3-docutils: upgrade 0.17.1 -> 0.18

The exceptions to the "Public Domain Dedication" changed.

-License-Update: Copyright year updated to 2021.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dbusmock: upgrade 0.24.0 -> 0.24.1
wangmy [Tue, 2 Nov 2021 03:35:11 +0000 (11:35 +0800)]
python3-dbusmock: upgrade 0.24.0 -> 0.24.1

Do not register standard D-Bus service directories (Thanks Benjamin Berg)
templates: Add IIO Sensors Proxy support (Thanks Marco Trevisan)
Fix importlib module import (Thanks Marco Trevisan)
Clean up code for most recent pylint version

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-2.0: upgrade 2.70.0 -> 2.70.1
wangmy [Tue, 2 Nov 2021 03:35:10 +0000 (11:35 +0800)]
glib-2.0: upgrade 2.70.0 -> 2.70.1

Fix network changes not being signalled from NetworkManager (work by
Julian Andres Klode) (#2505)

Fix build when building with --fatal-meson-warnings (work by Eli Schwartz) (!2304)

Bugs fixed:

2245 gdesktopappinfo: Do not call xterm when it does not exist, inform the caller the launch failed

2253 Backport 2251 "GString: Bump minimum size" to glib-2-70

2256 Backport 2254 "Small optimization for g_object_set" to glib-2-70

2259 Backport 2257 "Fix documentation for g_dbus_object_manager_get_object()." to glib-2-70

2262 Backport 2244 "gutils: Avoid segfault in g_get_user_database_entry" to glib-2-70

2271 Backport 2266 "fix uninitial variable" to glib-2-70

2276 Backport 2274 "Do not try to access errno after calling getpwnam_r." to glib-2-70

2300 Backport 2285 "fix issues found by svace static code analyzer" to glib-2-70

2301 Backport 2293 "glib-private: Fix MSVC build with AddressSanitizer" to glib-2-70

2302 Backport 2291 "gnetworkmonitornm: Stop using removed PropertiesChanged signal" to glib-2-70

2304 meson: fix warnings for extract_all_objects function

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobind: upgrade 9.16.21 -> 9.16.22
wangmy [Tue, 2 Nov 2021 03:35:09 +0000 (11:35 +0800)]
bind: upgrade 9.16.21 -> 9.16.22

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosquashfs-tools: fix CVE-2021-41072
Kai Kang [Tue, 2 Nov 2021 08:17:01 +0000 (16:17 +0800)]
squashfs-tools: fix CVE-2021-41072

Backport patch to fix CVE-2021-41072. And 3 more ancestor commits are
backported too, otherwise it fails to compile.

CVE: CVE-2021-41072

Ref:
* https://nvd.nist.gov/vuln/detail/CVE-2021-41072

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibjitterentropy: upgrade 3.3.0 -> 3.3.1
Alexander Kanavin [Tue, 2 Nov 2021 08:42:48 +0000 (09:42 +0100)]
libjitterentropy: upgrade 3.3.0 -> 3.3.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolrzsz: patch is not upstreamable
Alexander Kanavin [Tue, 2 Nov 2021 08:43:02 +0000 (09:43 +0100)]
lrzsz: patch is not upstreamable

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodocbook-xml: patch is not upstreamable
Alexander Kanavin [Tue, 2 Nov 2021 08:43:01 +0000 (09:43 +0100)]
docbook-xml: patch is not upstreamable

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocracklib: patches submitted upstream
Alexander Kanavin [Tue, 2 Nov 2021 08:43:00 +0000 (09:43 +0100)]
cracklib: patches submitted upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocracklib: update 2.9.5 -> 2.9.7
Alexander Kanavin [Tue, 2 Nov 2021 08:42:59 +0000 (09:42 +0100)]
cracklib: update 2.9.5 -> 2.9.7

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxf86-video-intel: update to latest commit
Alexander Kanavin [Tue, 2 Nov 2021 08:42:58 +0000 (09:42 +0100)]
xf86-video-intel: update to latest commit

Drop patches merged upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibrsvg: update 2.52.2 -> 2.52.3
Alexander Kanavin [Tue, 2 Nov 2021 08:42:55 +0000 (09:42 +0100)]
librsvg: update 2.52.2 -> 2.52.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoicu: update 69.1 -> 70.1
Alexander Kanavin [Tue, 2 Nov 2021 08:42:57 +0000 (09:42 +0100)]
icu: update 69.1 -> 70.1

License-Update: formatting, updated copyright holders

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoffmpeg: update 4.4 -> 4.4.1
Alexander Kanavin [Tue, 2 Nov 2021 08:42:54 +0000 (09:42 +0100)]
ffmpeg: update 4.4 -> 4.4.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: update 3.21.3 -> 3.21.4
Alexander Kanavin [Tue, 2 Nov 2021 08:42:56 +0000 (09:42 +0100)]
cmake: update 3.21.3 -> 3.21.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogawk: update 5.1.0 -> 5.1.1
Alexander Kanavin [Tue, 2 Nov 2021 08:42:53 +0000 (09:42 +0100)]
gawk: update 5.1.0 -> 5.1.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 188 -> 189
Alexander Kanavin [Tue, 2 Nov 2021 08:42:52 +0000 (09:42 +0100)]
diffoscope: upgrade 188 -> 189

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agonghttp2: upgrade 1.45.1 -> 1.46.0
Alexander Kanavin [Tue, 2 Nov 2021 08:42:51 +0000 (09:42 +0100)]
nghttp2: upgrade 1.45.1 -> 1.46.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsoup-2.4: upgrade 2.74.0 -> 2.74.1
Alexander Kanavin [Tue, 2 Nov 2021 08:42:50 +0000 (09:42 +0100)]
libsoup-2.4: upgrade 2.74.0 -> 2.74.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsoup: upgrade 3.0.1 -> 3.0.2
Alexander Kanavin [Tue, 2 Nov 2021 08:42:49 +0000 (09:42 +0100)]
libsoup: upgrade 3.0.1 -> 3.0.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopuzzles: upgrade to latest revision
Alexander Kanavin [Tue, 2 Nov 2021 08:42:46 +0000 (09:42 +0100)]
puzzles: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-firmware: upgrade 20210919 -> 20211027
Alexander Kanavin [Tue, 2 Nov 2021 08:42:45 +0000 (09:42 +0100)]
linux-firmware: upgrade 20210919 -> 20211027

License-Update: additional firmwares listed

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: upgrade 21.2.4 -> 21.2.5
Alexander Kanavin [Tue, 2 Nov 2021 08:42:44 +0000 (09:42 +0100)]
mesa: upgrade 21.2.4 -> 21.2.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostress-ng: upgrade 0.13.00 -> 0.13.06
Alexander Kanavin [Tue, 2 Nov 2021 08:42:43 +0000 (09:42 +0100)]
stress-ng: upgrade 0.13.00 -> 0.13.06

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolighttpd: upgrade 1.4.60 -> 1.4.61
Alexander Kanavin [Tue, 2 Nov 2021 08:42:42 +0000 (09:42 +0100)]
lighttpd: upgrade 1.4.60 -> 1.4.61

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoasciidoc: upgrade 10.0.0 -> 10.0.1
Alexander Kanavin [Tue, 2 Nov 2021 08:42:41 +0000 (09:42 +0100)]
asciidoc: upgrade 10.0.0 -> 10.0.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovala: upgrade 0.54.2 -> 0.54.3
Alexander Kanavin [Tue, 2 Nov 2021 08:42:40 +0000 (09:42 +0100)]
vala: upgrade 0.54.2 -> 0.54.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pyparsing: upgrade 3.0.0 -> 3.0.4
Alexander Kanavin [Tue, 2 Nov 2021 08:42:39 +0000 (09:42 +0100)]
python3-pyparsing: upgrade 3.0.0 -> 3.0.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-gitdb: upgrade 4.0.7 -> 4.0.9
Alexander Kanavin [Tue, 2 Nov 2021 08:42:38 +0000 (09:42 +0100)]
python3-gitdb: upgrade 4.0.7 -> 4.0.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopsplash: upgrade to latest revision
Alexander Kanavin [Tue, 2 Nov 2021 08:42:35 +0000 (09:42 +0100)]
psplash: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodpkg: Install dkpg-perl scripts to versioned perl directory
Manuel Leonhardt [Tue, 2 Nov 2021 19:14:30 +0000 (20:14 +0100)]
dpkg: Install dkpg-perl scripts to versioned perl directory

Install dpkg-perl scripts to versioned perl directory, otherwise the
following traceback happens when running, e.g. dpkg-architecture on the
target:

Can't locate Dpkg.pm in @INC (you may need to install the Dpkg module)
  (@INC contains: /usr/lib/perl5/site_perl/5.30.1/aarch64-linux
  /usr/lib/perl5/site_perl/5.30.1
  /usr/lib/perl5/vendor_perl/5.30.1/aarch64-linux
  /usr/lib/perl5/vendor_perl/5.30.1
  /usr/lib/perl5/5.30.1/aarch64-linux
  /usr/lib/perl5/5.30.1 .) at /usr/bin/dpkg-architecture line 25.

Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: Account for reserved characters when shortening sstate filenames
Manuel Leonhardt [Tue, 2 Nov 2021 18:48:44 +0000 (19:48 +0100)]
sstate: Account for reserved characters when shortening sstate filenames

Previously, when shortening sstate filenames, the reserved
characters for .siginfo were not considered, when siginfo=False,
resulting in differently shortend filenames for the sstate and siginfo
files. With this change, the filenames of the truncated sstate and
siginfo files have the same basename, just as is already the case for
untruncated filenames.

Making sure that the .siginfo files always have the filename of the
corresponding sstate file plus its .siginfo suffix, also when being
truncated, makes it easier to manage the sstate cache and an sstate
mirror outside of Bitbake/Yocto.

Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: silence DeprecationWarnings in python3-config
Ross Burton [Tue, 2 Nov 2021 18:02:33 +0000 (18:02 +0000)]
python3: silence DeprecationWarnings in python3-config

Our patched python3-config uses distutils, but that will emit a
DeprecationWarning when imported.  This isn't useful when using the
output of python3-config to find include paths.

This isn't a huge problem typically as the warning goes to stderr, but
some build systems read both stdout and stderr.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorunqemu: work without SERIAL_CONSOLES being defined
Jon Mason [Tue, 2 Nov 2021 19:59:12 +0000 (15:59 -0400)]
runqemu: work without SERIAL_CONSOLES being defined

Not all machine definitions need to have SERIAL_CONSOLES defined, but
runqemu currently will fail with the following script error if not
present:

Traceback (most recent call last):
  File "/builder/meta-arm/poky/scripts/runqemu", line 1604, in main
    config.setup_final()
  File "/builder/meta-arm/poky/scripts/runqemu", line 1446, in setup_final
    self.setup_serial()
  File "/builder/meta-arm/poky/scripts/runqemu", line 1381, in setup_serial
    self.kernel_cmdline_script += ' console=%s' %entry.split(';')[1]
IndexError: list index out of range

To get around this issue, add a sanity check to runqemu to avoid the
parsing of SERIAL_CONSOLES if empty.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapt: Do not install /var/log/apt for target
Peter Kjellerstedt [Tue, 2 Nov 2021 19:57:24 +0000 (20:57 +0100)]
apt: Do not install /var/log/apt for target

/var/log is normally a link to /var/volatile/log and /var/volatile is a
tmpfs mount. So anything created in /var/log will not be available when
the tmpfs is mounted.

Also some whitespace clean up.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssl: fix builds on ARMv8 targets without Aarch64
Ross Burton [Tue, 2 Nov 2021 16:57:06 +0000 (16:57 +0000)]
openssl: fix builds on ARMv8 targets without Aarch64

ARMv8 doesn't imply Aarch64, so correct a check that was making that
assumption.  This fixes the build on 32-bit ARMv8 targets such as
Cortex-A32.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosanity.bbclass: Update required gcc version to v7.5
Robert Yang [Mon, 1 Nov 2021 15:05:31 +0000 (08:05 -0700)]
sanity.bbclass: Update required gcc version to v7.5

qemu-native 6.1.0 requires at least gcc v7.5:
ERROR: You need at least GCC v7.5 or Clang v6.0 (or XCode Clang v10.0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: submit patch upstream
Alexander Kanavin [Tue, 2 Nov 2021 08:42:32 +0000 (09:42 +0100)]
libxml2: submit patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocurl: submit patch upstream
Alexander Kanavin [Tue, 2 Nov 2021 08:42:31 +0000 (09:42 +0100)]
curl: submit patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopkg: use oe.qa.add_message istead of package_qa_add_message
Chen Qi [Tue, 2 Nov 2021 05:25:28 +0000 (22:25 -0700)]
opkg: use oe.qa.add_message istead of package_qa_add_message

Since the following commit, package_qa_add_message is no longer
available, use oe.qa.add_message instead.

"""
commit f0ad152ef4cc15c042bc9eeefb6af096d054b220
Author: Mike Crowe <mac@mcrowe.com>
Date:   Fri Oct 15 15:39:53 2021 +0100

    lib/oe/qa,insane: Move extra error handling functions to library

    Extract package_qa_write_error, package_qa_handle_error and
    package_qa_add_message functions from insane.bbclass to lib/oe/qa.py and
    drop the package_qa_ prefixes.
...
"""

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo-helloworld/glide: Fix urls
Richard Purdie [Tue, 2 Nov 2021 17:50:57 +0000 (17:50 +0000)]
go-helloworld/glide: Fix urls

Handle github protocol changes not covered by the script due to variable indirection.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorecipes: Update github.com urls to use https
Richard Purdie [Tue, 2 Nov 2021 11:38:56 +0000 (11:38 +0000)]
recipes: Update github.com urls to use https

Github has announced there will be no more git:// fetching from their servers:

https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git

and they're about to start having brownout periods to encourage people
to update. This runs the conversion script over OE-Core to update our
urls to use https instead of git.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/convert-srcuri: Update SRC_URI conversion script to handle github url changes
Richard Purdie [Tue, 2 Nov 2021 11:34:21 +0000 (11:34 +0000)]
scripts/convert-srcuri: Update SRC_URI conversion script to handle github url changes

Github are dropping support for git:// protocol fetching. Update the script
to learn about corner cases found in the previous conversion and
support remapping the github urls as needed too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Fix corruption of GNOME mirror url
Richard Purdie [Tue, 2 Nov 2021 11:19:28 +0000 (11:19 +0000)]
bitbake.conf: Fix corruption of GNOME mirror url

The url changes from the script accidentally corrupted this mirror
url, fix it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobase-files: Ignore the empty-dirs QA error due to files in /var/volatile
Peter Kjellerstedt [Fri, 29 Oct 2021 21:29:17 +0000 (23:29 +0200)]
base-files: Ignore the empty-dirs QA error due to files in /var/volatile

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Do not install anything in /var/volatile
Peter Kjellerstedt [Fri, 29 Oct 2021 21:29:16 +0000 (23:29 +0200)]
systemd: Do not install anything in /var/volatile

/var/log is typically a symbolic link to inside /var/volatile, which
is expected to be empty. Check ${VOLATILE_LOG_DIR} to see if it is ok
to install /var/log.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsolv: Enable correct qsort_r on musl
Khem Raj [Fri, 29 Oct 2021 17:10:22 +0000 (10:10 -0700)]
libsolv: Enable correct qsort_r on musl

Newer musl now has this function implemented and signatures are same as
glibc, current codepaths forces it on BSD path which is wrong for musl
and results in random segfaults in apps using libsolv e.g. opkg

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosite/common-musl: Enable qsort_r in glib
Khem Raj [Fri, 29 Oct 2021 17:10:21 +0000 (10:10 -0700)]
site/common-musl: Enable qsort_r in glib

musl now has qsort_r

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl: Update to tip of trunk
Khem Raj [Fri, 29 Oct 2021 17:10:20 +0000 (10:10 -0700)]
musl: Update to tip of trunk

This brings following fixes

b76f37fd add qsort_r and make qsort a wrapper around it
7be59733 add SPE FPU support to powerpc-sf
e3e7189c fix undefined behavior in getdelim via null pointer arithmetic and memcpy
b713b8b2 fix excessively slow TLS performance on some mips models
3eed6a6f fix error checking in pthread_getname_np

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpebackend-fdo: Add -Wno-c++11-narrowing
Khem Raj [Sat, 30 Oct 2021 19:45:01 +0000 (12:45 -0700)]
wpebackend-fdo: Add -Wno-c++11-narrowing

This commit https://github.com/Igalia/WPEBackend-fdo/commit/e4c578f23359dba4d5abbd14b108f59e1b0701c1
causes this warning due to int to uint conversion without static casts
unless its fixes properly by upstream make behaviour same as g++ where
this is flagged too but only as a warning unlike clang which is pedantic
and enables it as error

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobind: remove -r option from rndc-confgen in initscript
Yi Zhao [Sat, 30 Oct 2021 15:15:05 +0000 (23:15 +0800)]
bind: remove -r option from rndc-confgen in initscript

The -r option has been removed from rndc-confgen since bind 9.13[1].

Fix the bind startup error:
$ /etc/init.d/bind start
Starting domain name service: namedrndc-confgen: The -r option has been deprecated.
chmod: cannot access '/etc/bind/rndc.key': No such file or directory

[1]: https://gitlab.isc.org/isc-projects/bind9/-/commit/3a4f820d625c214cfb21f5e6d18ce9160d2a193b

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgfortran: Set GFORTRAN
Richard Purdie [Sun, 31 Oct 2021 16:37:24 +0000 (16:37 +0000)]
libgfortran: Set GFORTRAN

The libgfortran configure sets FC to be $GFORTRAN. We did used to patch
that out but rather than carry a patch to gcc, just set GFORTRAN as
needed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopseudo: Add fcntl64 wrapper
Richard Purdie [Fri, 29 Oct 2021 10:14:42 +0000 (11:14 +0100)]
pseudo: Add fcntl64 wrapper

Add fcntl64 wrapper which hopefully fixes issues seen in findutils and the find
command in the libtool removal code when built with LFS compile flags on Gentoo.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooverlayfs: add debug information
Vyacheslav Yurkov [Sun, 17 Oct 2021 08:08:59 +0000 (10:08 +0200)]
overlayfs: add debug information

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest: extend overlayfs test
Vyacheslav Yurkov [Sun, 17 Oct 2021 08:08:58 +0000 (10:08 +0200)]
oeqa/selftest: extend overlayfs test

Test that overlayfs.bbclass generates one systemd unit, that
applications can set dependencies on, and that this unit mounts all
required overlays

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooverlayfs: meta-selftest recipe fix
Vyacheslav Yurkov [Sun, 17 Oct 2021 08:08:57 +0000 (10:08 +0200)]
overlayfs: meta-selftest recipe fix

Avoid strict assignment in the recipe to allow overrides in .inc file

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest: refactor common functions
Vyacheslav Yurkov [Sun, 17 Oct 2021 08:08:56 +0000 (10:08 +0200)]
oeqa/selftest: refactor common functions

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooverlayfs: all overlays unit
Vyacheslav Yurkov [Sun, 17 Oct 2021 08:08:55 +0000 (10:08 +0200)]
overlayfs: all overlays unit

Application can depend on several overlayfs mount points. Provide a
systemd unit application can depend on to make sure all overlays are
mounted before it is started to avoid any race conditions

Signed-off-by: Bruno Knittel <Bruno.Knittel@bruker.com>
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Drop libgfortran patch
Richard Purdie [Thu, 28 Oct 2021 23:24:43 +0000 (00:24 +0100)]
gcc: Drop libgfortran patch

As far as I can see, when building libgfortran we don't set GFORTRAN so this
patch does nothing any more. The fortran build and gcc recipes have changed
massively since gcc 4.2.2 so I think this patch is simply obsolete.

I did test building libgfortran with and without this patch and there was
no difference, the correct fortran compiler is found. If it were an issue
we should just set GFORTRAN correctly. Therefore drop the patch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarchiver: Default to xz compresison instead of gz
Richard Purdie [Thu, 28 Oct 2021 13:17:14 +0000 (14:17 +0100)]
archiver: Default to xz compresison instead of gz

We should default to xz or zstd instead of gz, pick xz for now as it is more tested.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinunistring: Add missing gperf-native dependency
Richard Purdie [Fri, 29 Oct 2021 14:13:28 +0000 (15:13 +0100)]
linunistring: Add missing gperf-native dependency

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa/scripts: Manual git url branch additions
Richard Purdie [Fri, 29 Oct 2021 12:34:24 +0000 (13:34 +0100)]
meta/scripts: Manual git url branch additions

Following the scripted conversion adding branches to git://
SRC_URI entries, add the remaining references, mainly in the selftests
and recipetool.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: Add explict branch to git SRC_URIs
Richard Purdie [Fri, 29 Oct 2021 12:20:57 +0000 (13:20 +0100)]
meta: Add explict branch to git SRC_URIs

There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.

This update was made with the script added to contrib in this patch which
aims to help others convert other layers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxcvt: add recipe
Oleksandr Kravchuk [Thu, 28 Oct 2021 18:43:55 +0000 (20:43 +0200)]
libxcvt: add recipe

This library is a dependancy of xserver-xorg 21.1.0.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorunqemu: unbreak non-gl displays
Alexander Kanavin [Wed, 27 Oct 2021 20:18:29 +0000 (22:18 +0200)]
runqemu: unbreak non-gl displays

Correct two issues:
1. Looking for dri.pc is only needed when gl is enabled.
2. virtio-vga-gl works only when gl is enabled via -display,
otherwise virtio-vga needs to be selected.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogcc: Add missing patch Upstream-Status
Richard Purdie [Fri, 29 Oct 2021 09:23:21 +0000 (10:23 +0100)]
gcc: Add missing patch Upstream-Status

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Drop testsuite failure fix patch
Richard Purdie [Thu, 28 Oct 2021 15:41:17 +0000 (16:41 +0100)]
gcc: Drop testsuite failure fix patch

This patch has headers as if it were submitted upstream but I can't find any
record of it. I did try tests with it removed, building the referenced testsuite
files with -Werror and it all works just fine with no warnings or errors (tested
on MACHINE=qemux86). I suspect this was fixed in gcc itself in other ways.

As such I think this patch isn't needed and suggest we drop it. If there is
a reason it is needed, please report along with an example of how to reproduce
issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Update patches submitted/merged upstream
Richard Purdie [Mon, 25 Oct 2021 21:34:53 +0000 (22:34 +0100)]
gcc: Update patches submitted/merged upstream

I took 5 of our patches and submitted to upstream gcc. This highlighted that
patches 0026 and 0018 should be merged together and some tweaks were made to
try and make it acceptable to upstream. The other patches have their headers
updated to match what was submitted.

The libstdc++ option patch was also cleaned up ready for upstream as the
documentation wasn't quite right.

The CXXFLAGS_FOR_BUILD piece of 0026 is separated out into a new patch which
can be submitted separately to upstream.

Two of the patches have been merged, status updated accordinly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/runtime/parselogs: modified drm error in common errors list
Teoh Jay Shen [Thu, 28 Oct 2021 11:15:44 +0000 (19:15 +0800)]
oeqa/runtime/parselogs: modified drm error in common errors list

Changed the following line from:

  [drm] Cannot find any crtc or sizes - going 1024x768  >  [drm] Cannot find any crtc or sizes

This will expand the coverage of the failure to also cover the case when fallback size is not set.

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreate-spdx: cross recipes are native also
Saul Wold [Wed, 27 Oct 2021 01:30:50 +0000 (18:30 -0700)]
create-spdx: cross recipes are native also

Recipes that inherit cross should also be categorized as isNative

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agocreate-spdx: add create_annotation function
Saul Wold [Wed, 27 Oct 2021 01:30:49 +0000 (18:30 -0700)]
create-spdx: add create_annotation function

This allows code reuse and future usage with relationship annotations

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agospdx.py: Add annotation to relationship
Saul Wold [Wed, 27 Oct 2021 01:30:48 +0000 (18:30 -0700)]
spdx.py: Add annotation to relationship

Having annotations on relationship can provide additional information
about the relationship such as how it was derived.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agocups: exclude beta/rc versions from version check
Alexander Kanavin [Wed, 27 Oct 2021 10:02:59 +0000 (12:02 +0200)]
cups: exclude beta/rc versions from version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agowebkitgtk: drop unnecessary SSE disabling patch
Alexander Kanavin [Wed, 27 Oct 2021 09:07:36 +0000 (11:07 +0200)]
webkitgtk: drop unnecessary SSE disabling patch

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-python: do not supply unknown g-i options
Alexander Kanavin [Wed, 27 Oct 2021 09:07:35 +0000 (11:07 +0200)]
gstreamer1.0-python: do not supply unknown g-i options

meson 0.60 turns unknown options into them hard errors, so instead of relying on g-i class
(where the options are mandatory) add g-i dependencies explicitly.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-pygobject: do not supply unknown g-i options
Alexander Kanavin [Wed, 27 Oct 2021 09:07:34 +0000 (11:07 +0200)]
python3-pygobject: do not supply unknown g-i options

meson 0.60 turns unknown options into them hard errors, so instead of relying on g-i class
(where the options are mandatory) add g-i dependencies explicitly.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoigt-gpu-tools: address meson 0.60 compatibility
Alexander Kanavin [Wed, 27 Oct 2021 09:07:33 +0000 (11:07 +0200)]
igt-gpu-tools: address meson 0.60 compatibility

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosystemtap: address ncurses 6.3 compatibility
Alexander Kanavin [Wed, 27 Oct 2021 09:07:32 +0000 (11:07 +0200)]
systemtap: address ncurses 6.3 compatibility

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopowertop: address ncurses 6.3 compatibility
Alexander Kanavin [Wed, 27 Oct 2021 09:07:31 +0000 (11:07 +0200)]
powertop: address ncurses 6.3 compatibility

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogptfdisk: address ncurses 6.3 compatibility
Alexander Kanavin [Wed, 27 Oct 2021 09:07:30 +0000 (11:07 +0200)]
gptfdisk: address ncurses 6.3 compatibility

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agovirgl: skip headless test on specific older distros and fail otherwise
Alexander Kanavin [Wed, 27 Oct 2021 09:07:29 +0000 (11:07 +0200)]
virgl: skip headless test on specific older distros and fail otherwise

This allows catching failures on new build hosts, instead of quietly skipping
the test due to incomplete host setup.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agowaffle: update 1.6.1 -> 1.7.0
Alexander Kanavin [Wed, 27 Oct 2021 09:07:28 +0000 (11:07 +0200)]
waffle: update 1.6.1 -> 1.7.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>