Khem Raj [Fri, 12 Nov 2021 00:59:23 +0000 (16:59 -0800)]
gobject-introspection: Add -Dintrospection only when GIR_MESON_OPTION is not empty
meson now does not allow unknown options which means we have to be
mindful of adding -Dintrospection unconditionally and provide an option
to recipes to set GIR_MESON_OPTION = "" and when recipe does that then
do not add -D<Dintrospection> option to meson. This will help recipes to
use meson 60.x+ just by adding
GIR_MESON_OPTION = ""
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 12 Nov 2021 17:12:14 +0000 (17:12 +0000)]
packagegroup-core-full-cmdline: Drop compatibility mappings
The task-core namespace was dropped years ago and we've had the compatibility
mappings for a long time. We should no longer need them as everyone should long
since have adapted.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 12 Nov 2021 12:07:49 +0000 (12:07 +0000)]
insane: remove unrecognised option check for Meson
Meson 0.60 onwards no longer simply warns when an unrecognised option is
passed, it errors out instead. This means we can remove the logic in
insane.bbclass to check for the warnings.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 12 Nov 2021 13:51:09 +0000 (13:51 +0000)]
uninative: Add version to uninative tarball name
uninative works via hashes and doesn't need the version in the tarball name but
it does make things easier to inspect in DL_DIR. There were reasons such as
ease of publication of the build tarballs but we can handle those differently
now and the signature issues from the early code aren't an issue now. From 3.4
onwards we can use a version'd name.
[YOCTO #12970]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 11 Nov 2021 15:04:19 +0000 (15:04 +0000)]
scripts/oe-package-browser: Fix after overrides change
After the overrides change, the format of pkgdata changed and this
usage of configparser no longer works. This change is a bandaid to make
things work but the pkgdata format isn't very similar to ini files
so this may need to be reimplmented in a better way in the long run.
[YOCTO #14619]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kai Kang [Thu, 11 Nov 2021 09:57:24 +0000 (17:57 +0800)]
convert-srcuri.py: use regex to check space in SRC_URI
There may be none, one or more spaces including tab before backslash in
SRC_URI. Use regex to check and update. It helps to avoid malformed uri
such as recipe open-iscsi-user in meta-openstack:
testsdk.py: Clean up the additions to PREMIRRORS and SSTATE_MIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS and
SSTATE_MIRRORS with "\n".
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
own-mirrors.bbclass: Clean up the additions to PREMIRRORS
* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
for the type field and instead anchor regexp) the type regexp has
been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS with
"\n".
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mirrors.bbclass: Clean up the additions to MIRRORS
* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
for the type field and instead anchor regexp) the type regexp has
been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in MIRRORS with "\n".
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-bootchart: Revert inappropriate use of ${systemd_system_unitdir}
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-conf: Revert inappropriate use of ${systemd_system_unitdir}
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd: Revert inappropriate use of ${systemd_system_unitdir}
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 10 Nov 2021 13:07:16 +0000 (08:07 -0500)]
kernel: provide virtual/kernel for all kernels
Since we allow the kernel package name to be varied, we should
allow those packages to provide virtua/kernel, which allows them
to be used as primary kernels.
This change drops the use of regex, since any regex would enforce
naming (and limit what can be a provider) and add complexity./
There are currently no recipes that I found, that inherit kernel
that are not kernel recipes (kernel-base, etc, provide other
facilities), so making this provides simpler shouldn't cause
problems.
Multiple kernel providers can be dealt with in the same way as
any multiple provider.
[YOCTO: #13172]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
squash with provider
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 10 Nov 2021 13:07:14 +0000 (08:07 -0500)]
linux-yocto/5.15: update to v5.15.1
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:
b6abb62daa55 Linux 5.15.1 569fd073a954 ALSA: usb-audio: Add quirk for Audient iD14 fd5f954b690c Revert "drm/i915/gt: Propagate change in error status to children on unhold" 8af3a335b553 drm/amd/display: Revert "Directly retrain link from debugfs" 6ecad8906f05 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8" a273384cf1af Revert "wcn36xx: Disable bmps when encryption is disabled" 57f31b313231 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn" 110d5f4421ed Revert "soc: imx: gpcv2: move reset assert after requesting domain power up" f17dca0ab3f3 drm/amdkfd: fix boot failure when iommu is disabled in Picasso. f5e3b7f0f0b7 Revert "usb: core: hcd: Add support for deferring roothub registration" 421f91bf0451 Revert "xhci: Set HCD flag to defer primary roothub registration" cb667140875a media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() abc558fd0f89 sfc: Fix reading non-legacy supported link modes
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 10 Nov 2021 13:07:13 +0000 (08:07 -0500)]
linux-yocto/5.14: update to v5.14.17
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:
3dfa869cb79d Linux 5.14.17 b1dbd891bfe5 ALSA: usb-audio: Add Audient iD14 to mixer map quirk table 570b5004f827 ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table db6d7c4acca3 Revert "drm/i915/gt: Propagate change in error status to children on unhold" aac2f6861683 drm/amd/display: Revert "Directly retrain link from debugfs" 77d029e1e218 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8" 9f9e09a59c58 Revert "wcn36xx: Disable bmps when encryption is disabled" b9722a7369f8 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn" e556fca311ce Revert "soc: imx: gpcv2: move reset assert after requesting domain power up" d6a60e6ada49 drm/i915: Remove memory frequency calculation 7883e13c2494 drm/amdkfd: fix boot failure when iommu is disabled in Picasso. a82fa1213d12 Revert "usb: core: hcd: Add support for deferring roothub registration" 0979b923ff3f Revert "xhci: Set HCD flag to defer primary roothub registration" 02a476ca886d media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() ec0c91e2ebb8 vrf: Revert "Reset skb conntrack connection..." 6467b75cf9d1 sfc: Fix reading non-legacy supported link modes f30822c0b4c3 scsi: core: Put LLD module refcnt after SCSI device is released
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 10 Nov 2021 13:07:11 +0000 (08:07 -0500)]
linux-yocto/5.14: update to v5.14.16
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:
f63179c1e68c Linux 5.14.16 e874c870dfd8 KVM: x86: Take srcu lock in post_kvm_run_save() 9ab39a3d0cec KVM: SEV-ES: fix another issue with string I/O VMGEXITs eb0461c572e9 KVM: x86: switch pvclock_gtod_sync_lock to a raw spinlock 10242cc2ad79 KVM: x86/xen: Fix kvm_xen_has_interrupt() sleeping in kvm_vcpu_block() 669a7e147ee6 perf script: Check session->header.env.arch before using it e914237feb46 riscv: Fix asan-stack clang build 4606bbb6b19c riscv: Do not re-populate shadow memory with kasan_populate_early_shadow 7567abe63797 riscv: fix misalgned trap vector base address 20bd764387ac scsi: ibmvfc: Fix up duplicate response detection f6782c0ca808 perf script: Fix PERF_SAMPLE_WEIGHT_STRUCT support 04ced3822a66 scsi: ufs: ufs-exynos: Correct timeout value setting registers d748da838b21 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu 4faa35ce98c7 KVM: s390: clear kicked_mask before sleeping again ae566351ca18 octeontx2-af: Check whether ipolicers exists 45d9cd363786 virtio-ring: fix DMA metadata flags 52a936b037b5 net: hns3: expand buffer len for some debugfs command efccb66bc917 net: hns3: add more string spaces for dumping packets number of queue info in debugfs e5c6ad377c07 bpf: Move BPF_MAP_TYPE for INODE_STORAGE and TASK_STORAGE outside of CONFIG_NET b341612b659d watchdog: sbsa: only use 32-bit accessors de709ec74f8b bpf: Use kvmalloc for map values in syscall 0717c71deae6 sctp: add vtag check in sctp_sf_ootb 1c255b5f68f4 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa dd82b3a345ab sctp: add vtag check in sctp_sf_violation 44ef3ecbc24a sctp: fix the processing for COOKIE_ECHO chunk 7975f42f1038 sctp: fix the processing for INIT_ACK chunk 6277d424ead2 sctp: fix the processing for INIT chunk 332933f9ae0a sctp: use init_tag from inithdr for ABORT chunk 44d44bf72591 RDMA/irdma: Do not hold qos mutex twice on QP resume 6392f26fbe92 RDMA/irdma: Set VLAN in UD work completion correctly 7762917173cc RDMA/irdma: Process extended CQ entries correctly 7860484eeb90 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings 37a1b9befb73 phy: phy_start_aneg: Add an unlocked version 1f9c99e0bb5b phy: phy_ethtool_ksettings_set: Move after phy_start_aneg 2191b1e8eb3d phy: phy_ethtool_ksettings_get: Lock the phy for consistency e2b4dd261720 net/tls: Fix flipped sign in async_wait.err assignment 373f94d73651 net: ethernet: microchip: lan743x: Fix skb allocation failure 228862acb549 net: hns3: fix data endian problem of some functions of debugfs 20d88211706b net: hns3: fix pause config problem after autoneg disabled 7cc73feb57f6 net: nxp: lpc_eth.c: avoid hang when bringing interface down d8774769d198 net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent 69d3c7785ec4 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails 18bd5e285a78 mlxsw: pci: Recycle received packet upon allocation failure 960f4a54b909 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST 030f05812d81 gpio: xgs-iproc: fix parsing of ngpios property c653c522e521 RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string 5f6995295f65 RDMA/mlx5: Initialize the ODP xarray when creating an ODP MR ed894f5439ab net: Prevent infinite while loop in skb_tx_hash() f435287d719b cfg80211: correct bridge/4addr mode check da279dac227a net-sysfs: initialize uid and gid before calling net_ns_get_ownership a8f7359259dd net: batman-adv: fix error handling 50cc1462a668 regmap: Fix possible double-free in regcache_rbtree_exit() c9e39214fddf reset: brcmstb-rescal: fix incorrect polarity of status bit 86f9394073d8 arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node 63a97a9f95f2 ice: check whether PTP is initialized in ice_ptp_release() ebd0edad1cdf RDMA/mlx5: Set user priority for DCT e83b3cce4722 ice: Respond to a NETDEV_UNREGISTER event for LAG f1e3cd1cc802 octeontx2-af: Fix possible null pointer dereference. 98db2a8c14be octeontx2-af: Display all enabled PF VF rsrc_alloc entries. c7752ec9ad39 nvme-tcp: fix possible req->offset corruption 7258a6eef5be nvme-tcp: fix data digest pointer calculation daa12f0c1d1b nvmet-tcp: fix data digest pointer calculation 5d33bd6b4d4d IB/hfi1: Fix abba locking issue with sc_disable() 0d4395477741 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields 6525bfbd546f bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch() adb17f828177 bpf: Fix potential race in tail call compatibility check 6f226ffe4458 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function e1b80a5ebe54 riscv, bpf: Fix potential NULL dereference b529f88d9388 cgroup: Fix memory leak caused by missing cgroup_bpf_offline b7ca59297fa3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout" 0a8b7eba95a0 drm/amd/display: Fix deadlock when falling back to v2 from v3 a363d80566cc drm/amd/display: Fallback to clocks which meet requested voltage on DCN31 aeadb0662478 drm/amd/display: Moved dccg init to after bios golden init 5a5f1f070c3e drm/amd/display: Increase watermark latencies for DCN3.1 85cf47160d0e drm/amd/display: increase Z9 latency to workaround underflow in Z9 01f39421d590 drm/amd/display: Fix prefetch bandwidth calculation for DCN3.1 b60efcaf5e8b drm/amd/display: Limit display scaling to up to true 4k for DCN 3.1 c3ae5cf3e3ee drm/amdgpu: support B0&B1 external revision id for yellow carp d3ed72495a59 drm/amdgpu: fix out of bounds write 9eb4bdd554fc drm/amdgpu: Fix even more out of bound writes from debugfs d87ac6054e3d drm/i915/dp: Skip the HW readout of DPCD on disabled encoders 7650327e7174 drm/i915: Catch yet another unconditioal clflush 0ed2dfb5f598 drm/i915: Convert unconditional clflush to drm_clflush_virt_range() 132a3d998d67 drm/ttm: fix memleak in ttm_transfered_destroy 15a4f2bdbdfd mac80211: mesh: fix HE operation element length check ce277959d77c arm64: dts: imx8mm-kontron: Make sure SOC and DRAM supply voltages are correct 8c684aaceaf3 arm64: dts: imx8mm-kontron: Set lower limit of VDD_SNVS to 800 mV f5eaf91dd8af arm64: dts: imx8mm-kontron: Fix connection type for VSC8531 RGMII PHY da32086a0203 arm64: dts: imx8mm-kontron: Fix CAN SPI clock frequency d2bdcd23cba9 arm64: dts: imx8mm-kontron: Fix polarity of reg_rst_eth2 5fcb6fce74ff mm: khugepaged: skip huge page collapse for special files 5e669d8ab30a mm, thp: bail out early in collapse_file for writeback page 6ac017254b59 mm: filemap: check if THP has hwpoisoned subpage for PMD page fault 8821fedc7f83 mm: hwpoison: remove the unnecessary THP check 67979d186c51 drm/amd/display: Require immediate flip support for DCN3.1 planes 75b1b172ae5a net: lan78xx: fix division by zero in send path 3c897f39b71f cfg80211: fix management registrations locking 2a000d137589 cfg80211: scan: fix RCU in cfg80211_add_nontrans_list() e6d02b0da2df ftrace/nds32: Update the proto for ftrace_trace_function to match ftrace_stub ea081b13b00e nvme-tcp: fix H2CData PDU send accounting (again) 2e382600e885 ocfs2: fix race between searching chunks and release journal_head from buffer_head 7335acd51f6b block: Fix partition check for host-aware zoned block devices 10bcaafc5753 mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit 78873d5a2717 mmc: sdhci-pci: Read card detect from ACPI for Intel Merrifield b572d6c18511 mmc: sdhci: Map more voltage level to SDHCI_POWER_330 ac6f66f208a1 mmc: dw_mmc: exynos: fix the finding clock sample value b1ad3ecffaac mmc: tmio: reenable card irqs after the reset callback e1b94f0e744f mmc: mediatek: Move cqhci init behind ungate clock 9106d68c8082 mmc: cqhci: clear HALT state after CQE enable aa2f3e425e22 mmc: vub300: fix control-message timeouts e41473543f75 net/tls: Fix flipped sign in tls_err_abort() calls 8ba94a7f7b9f Revert "net: mdiobus: Fix memory leak in __mdiobus_register" 836f40777d58 nfc: port100: fix using -ERRNO as command type mask e029c9828c5b tipc: fix size validations for the MSG_CRYPTO type 43849df432c9 ata: sata_mv: Fix the error handling of mv_chip_id() 66a1c8748068 pinctrl: amd: disable and mask interrupts on probe 18f31a907c9f Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode" b5c410a4af7d usbnet: fix error return code in usbnet_probe() 7e8b6a4f18ed usbnet: sanity check for maxpacket a350df591870 ARM: 9148/1: handle CONFIG_CPU_ENDIAN_BE32 in arch/arm/kernel/head.S 351d0f587b4c ARM: 9141/1: only warn about XIP address when not compile testing a51d78193d21 ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype 4108f38c05bd ARM: 9138/1: fix link warning with XIP + frame-pointer 6aa2d9cf81f9 ARM: 9134/1: remove duplicate memcpy() definition 78a7a2694e69 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned e108afbd38a5 ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 10 Nov 2021 13:07:10 +0000 (08:07 -0500)]
linux-yocto-rt/5.15: update to -rt17
Integrating the following commit(s) to linux-yocto-rt/5.15:
6f51b8d2b7dc Add localversion for -RT release 3c8ff0c09156 sysfs: Add /sys/kernel/realtime entry 828d8f9b903f POWERPC: Allow to enable RT 6db76b613e53 powerpc/stackprotector: work around stack-guard init from atomic 44be16e0180a powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT a5c27dfc178a powerpc/pseries/iommu: Use a locallock instead local_irq_save() dce767609e50 powerpc: traps: Use PREEMPT_RT 9cad1f8c7dd7 ARM64: Allow to enable RT 5bd881944e4f ARM: Allow to enable RT 715792fbbaf7 tty/serial/pl011: Make the locking work on RT 69221f2f5b91 tty/serial/omap: Make the locking RT aware 5fa50218f3e3 arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND. c004c410d380 arm64/sve: Make kernel FPU protection RT friendly 7ffcb4485981 arm64/sve: Delay freeing memory in fpsimd_flush_thread() 322561563b01 KVM: arm/arm64: downgrade preempt_disable()d region to migrate_disable() fe5ed302a1ec ARM: enable irq in translation/section permission fault handlers f17af435c3a3 arch/arm64: Add lazy preempt support 10e096c7a491 powerpc: Add support for lazy preemption 5e15c21804be arm: Add support for lazy preemption abc04080e1b3 entry: Fix the preempt lazy fallout 2fb1741e933b x86: Support for lazy preemption 24b379de7afc x86/entry: Use should_resched() in idtentry_exit_cond_resched() 860dbaa27ad1 sched: Add support for lazy preemption 4d5c9c824eee */softirq: Disable softirq stacks on PREEMPT_RT 2676f33e2cf4 generic/softirq: Disable softirq stacks on PREEMPT_RT 1886700e5658 leds: trigger: Disable CPU trigger on PREEMPT_RT 694e3f263964 drivers/block/zram: Replace bit spinlocks with rtmutex for -rt 97f765c75d6d mm/zsmalloc: Replace bit spinlock and get_cpu_var() usage. 49c7010ff12e tpm_tis: fix stall after iowrite*()s df583a002c38 virt: acrn: Remove unsued acrn_irqfds_mutex. a68737287907 smack: Guard smack_ipv6_lock definition within a SMACK_IPV6_PORT_LABELING block ac9df8459eda ASoC: mediatek: mt8195: Remove unsued irqs_lock. 02bc2e3cbe09 genirq: update irq_set_irqchip_state documentation ac932078b2e6 x86: Enable RT also on 32bit e262f9f76c5b x86: Allow to enable RT fef570ba4596 x86: kvm Require const tsc for RT e5a9202c3535 signal/x86: Delay calling signals in atomic 2c0f317da8b9 drm/i915: Drop the irqs_disabled() check 06b3f43f370b drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock() ac58ec9af512 drm/i915/gt: Queue and wait for the irq_work item. aaa6ddcfd053 drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE 6db29073f209 drm/i915: Disable tracing points on PREEMPT_RT 5d34e949e11c drm/i915: Don't check for atomic context on PREEMPT_RT 0ca85efbe2e9 drm/i915: Don't disable interrupts on PREEMPT_RT during atomic updates 688ce2658570 drm/i915: Use preempt_disable/enable_rt() where recommended 9a76a256848c drm/i915: Don't disable interrupts and pretend a lock as been acquired in __timeline_mark_lock(). 766248132ccf random: Make it work on rt ba411ba63b8e x86: stackprotector: Avoid random pool on rt 3c158aab9acc panic: skip get_random_bytes for RT_FULL in init_oops_id bf099c9ff70f net: dev: always take qdisc's busylock in __dev_xmit_skb() 783862056952 net: Dequeue in dev_cpu_dead() without the lock 61793a50d51d net: Use skbufhead with raw lock 4e369dc108af net/core: use local_bh_disable() in netif_rx_ni() 8056c6bd6380 rcu: Delay RCU-selftests 1372b981252b fs/dcache: disable preemption on i_dir_seq's write side 8f35827f634d fs/dcache: use swait_queue instead of waitqueue dc26bf05c680 ptrace: fix ptrace vs tasklist_lock race 54332013d985 signal: Revert ptrace preempt magic 65309bca8d9c mm/memcontrol: Disable on PREEMPT_RT 5d193966a444 u64_stats: Disable preemption on 32bit-UP/SMP with RT during updates 9e7c9b1a7d21 softirq: Check preemption after reenabling interrupts 0d4e38f0610e crypto: cryptd - add a lock instead preempt_disable/local_bh_disable 4a01578f1878 sunrpc: Make svc_xprt_do_enqueue() use get_cpu_light() 03f8b0f0eedb net: Remove preemption disabling in netif_rx() ddd725b42e48 mm/vmalloc: Another preempt disable region which sucks 28545272667f scsi/fcoe: Make RT aware. dcb042c59ca4 md: raid5: Make raid5_percpu handling RT aware 393999301a85 block/mq: do not invoke preempt_disable() 8485ff82f922 kernel/sched: add {put|get}_cpu_light() 274408c7b291 sched: Make preempt_enable_no_resched() behave like preempt_enable() on PREEMPT_RT 9708837923a7 locking: Allow to include asm/spinlock_types.h from linux/spinlock_types_raw.h b5f1fc042d2f lockdep/selftests: Adapt ww-tests for PREEMPT_RT 3e6dd28f0231 lockdep/selftests: Skip the softirq related tests on PREEMPT_RT 0da6a4f59354 lockdep/selftests: Unbalanced migrate_disable() & rcu_read_lock() b29dc4a9ef20 lockdep/selftests: Add rtmutex to the last column db92f5fc3fb7 lockdep: Make it RT aware fae24609aafa rtmutex: Add rt_mutex_lock_nest_lock() and rt_mutex_lock_killable(). 9d8c380fa819 rtmutex: Add a special case for ww-mutex handling. d6b24f0f2a8a sched: Trigger warning if ->migration_disabled counter underflows. 6e09a284f2a6 lockdep/selftests: Avoid using local_lock_{acquire|release}(). bd833044483a locking: Remove rt_rwlock_is_contended() 36839db14247 jump-label: disable if stop_machine() is used 5a657ef837de tcp: Remove superfluous BH-disable around listening_hash c11095ec78ef mm: workingset: replace IRQ-off check with a lockdep assert. 168e3d8875c7 cgroup: use irqsave in cgroup_rstat_flush_locked() 639d2eb6493f sched: Move mmdrop to RCU on RT 590419b10863 sched: Delay task stack freeing on RT 37860896be2e sched: Move kprobes cleanup out of finish_task_switch() dc3565cd6bbd sched: Disable TTWU_QUEUE on RT 77db91d4d2b5 sched: Limit the number of task migrations per batch on RT 8ea3ab8bb409 locking/rt: Take RCU nesting into account for __might_resched() b2f56dfeab18 sched: Make cond_resched_lock() variants RT aware 9bac73a04b71 sched: Make RCU nest depth distinct in __might_resched() 4f3dd3cb71e5 sched: Make might_sleep() output less confusing b8c4ad5ceaec sched: Cleanup might_sleep() printks 588c973bd55b sched: Remove preempt_offset argument from __might_sleep() 5b8fbf83bb40 sched: Make cond_resched_*lock() variants consistent vs. might_sleep() 8e4b532478f2 sched: Clean up the might_sleep() underscore zoo 3a5e868f92f0 fscache: Use only one fscache_object_cong_wait. 67ba86618a1e fs/namespace: Boost the mount_lock.lock owner instead of spinning on PREEMPT_RT. cad3bedc2a83 smp: Wake ksoftirqd on PREEMPT_RT instead do_softirq(). 394e3bdd3242 irq_poll: Use raise_softirq_irqoff() in cpu_dead notifier 4de8f9d6a1ad irq_work: Also rcuwait for !IRQ_WORK_HARD_IRQ on PREEMPT_RT 87e75faa338d irq_work: Handle some irq_work in a per-CPU thread on PREEMPT_RT d2100f67254d irq_work: Allow irq_work_sync() to sleep if irq_work() no IRQ support. ada60e0098ea sched/rt: Annotate the RT balancing logic irqwork as IRQ_WORK_HARD_IRQ f657de711e15 net: stats: Read the statistics in ___gnet_stats_copy_basic() instead of adding. 0d3a9c303dd9 net: sched: remove one pair of atomic operations 853f1349041a net: sched: fix logic error in qdisc_run_begin() 68f3b93760b7 net: sched: Allow statistics reads from softirq. 86e29a3d2d68 net: sched: Remove Qdisc::running sequence counter 304640d0b862 net: sched: Merge Qdisc::bstats and Qdisc::cpu_bstats data types 1c7a827367ee net: sched: Use _bstats_update/set() instead of raw writes 22701ce1b59f net: sched: Protect Qdisc::bstats with u64_stats 54538aff544a u64_stats: Introduce u64_stats_set() 69534c384086 gen_stats: Move remaining users to gnet_stats_add_queue(). e1f89d46623c mq, mqprio: Use gnet_stats_add_queue(). d3968711bb65 gen_stats: Add gnet_stats_add_queue(). c2b1af791919 gen_stats: Add instead Set the value in __gnet_stats_copy_basic(). 3d38b89d239a net/sched: sch_ets: properly init all active DRR list handles b59a9b759b1a kcov: Replace local_irq_save() with a local_lock_t. 8e2db8a2201a kcov: Avoid enable+disable interrupts if !in_task(). d244291fb820 kcov: Allocate per-CPU memory on the relevant node. 6eec9f99da0e Documentation/kcov: Define `ip' in the example. e619eb9cb198 Documentation/kcov: Include types.h in the example. f002c820156b x86/softirq: Disable softirq stacks on PREEMPT_RT 12b80085754b mm: Disable NUMA_BALANCING_DEFAULT_ENABLED and TRANSPARENT_HUGEPAGE on PREEMPT_RT a1411120989b mm/scatterlist: Replace the !preemptible warning in sg_miter_stop() 56fb69cc8a0b mm: page_alloc: Use migrate_disable() in drain_local_pages_wq() 39d1d6a46eaa mm: Allow only SLUB on PREEMPT_RT bf1b661248f6 crypto: testmgr - Only disable migration in crypto_disable_simd_for_test() ddd1767afd69 samples/kfifo: Rename read_lock/write_lock a6c921dd2368 net/core: disable NET_RX_BUSY_POLL on PREEMPT_RT 96cc6b82ae54 mm: Disable zsmalloc on PREEMPT_RT f77af3465961 efi: Allow efi=runtime 8b3cde535f8f efi: Disable runtime services on RT 7082e94c5405 lockdep: Let lock_is_held_type() detect recursive read as read ffc314d30f16 genirq: Disable irqfixup/poll on PREEMPT_RT. 1ec49f38b6ae genirq: Move prio assignment into the newly created thread e272fc66d6bc kthread: Move prio/affinite change into the newly created thread 468813504d5a rcutorture: Avoid problematic critical section nesting on PREEMPT_RT e6a408241cee sched: Switch wait_task_inactive to HRTIMER_MODE_REL_HARD cd6bda4839a6 printk: Enhance the condition check of msleep in pr_flush() 2ad1282d77e8 printk: add pr_flush() cd582486f3e8 printk: add console handover 25f13bd1d07b printk: remove deferred printing 2d440f3f2ee5 printk: move console printing to kthreads df0a27dbd128 printk: introduce kernel sync mode 4efb519165f1 printk: use seqcount_latch for console_seq 8653ea7d3c45 printk: call boot_delay_msec() in printk_delay() 892cddfada1f printk: relocate printk_delay() e1ac77117990 serial: 8250: implement write_atomic 967b98b7c528 kdb: only use atomic consoles for output mirroring 36422a33e3b3 console: add write_atomic interface 7b9055c4c17d printk: rename printk cpulock API and always disable interrupts 3791dee37847 arm64: mm: Make arch_faults_on_old_pte() check for migratability e5b82790a28d sched: Introduce migratable() 0cf3b776c423 rcu/tree: Protect rcu_rdp_is_offloaded() invocations on RT
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 10 Nov 2021 11:12:34 +0000 (11:12 +0000)]
meta: use ln -rs instead of lnr
lnr is a script in oe-core that creates relative symlinks, with the same
behaviour as `ln --relative --symlink`. It was added back in 2014[1] as
not all of the supported host distributions at the time shipped
coreutils 8.16, the first release with --relative.
However the oldest coreutils release in the supported distributions is
now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln.
wangmy [Tue, 9 Nov 2021 15:02:43 +0000 (23:02 +0800)]
iso-codes: upgrade 4.7.0 -> 4.8.0
- ISO 3166-1: Add flag emoji to countries. Thanks to Pander
for the suggestion. Fixes #19
- ISO 639-5: New translation for Chinese (Simplified)
- ISO 3166-2: Major update of data.
Thanks to the script of Kevin Kaiser, which enables
the download of ISO pages and parses the data.
Fixes #15, #16, #27
- Rename ChangeLog.md to CHANGELOG.md and follow the suggestions
from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Move all CHANGELOG entries from versions before 4.0 to an
archive file (CHANGELOG-PRE-4.0.md) in order to reduce the
massive size of this CHANGELOG.
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 15924
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Tue, 9 Nov 2021 12:09:04 +0000 (20:09 +0800)]
diffoscope: upgrade 189 -> 190
Changelog:
[Chris Lamb]
Don't raise a traceback if we cannot de-marshal Python bytecode to support
Python 3.7 loading newer .pyc files.
(Closes: reproducible-builds/diffoscope#284)
Fix Python tests under Python 3.7 with file 5.39+.
[Vagrant Cascadian]
Skip Python bytecode testing when "file" is older than 5.39.
[Roland Clobus]
Detect whether the GNU_BUILD_ID field has been modified.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Tue, 9 Nov 2021 12:09:03 +0000 (20:09 +0800)]
btrfs-tools: upgrade 5.14.2 -> 5.15
Changelog v5.15 (Nov 2021)
mkfs: new defaults!
no-holes
free-space-tree
DUP for metadata unconditionally
libbtrfsutil: add missing profile defines
libbtrfs: minimize its impact on the other code, refactor and separate implementation where needed, cleanup afterwards, reduced header exports
documentation: introduce sphinx build and RST versions of manual pages, will become the new format and replace asciidoc
fixes: fix warning regarding v1 space cache when only v2 (free space tree) is enabled
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Tue, 9 Nov 2021 10:29:58 +0000 (11:29 +0100)]
gdb-cross: add dependency on gmp-native
* it was already added for target and cross-canadian gdb in:
commit 4643d1eb222151384f77d13a936537aae5ca3fe6
Author: Khem Raj <raj.khem@gmail.com>
Date: Fri Nov 5 17:37:33 2021 -0700
gdb: Add dependency on libgmp
gdb 11 has added this library as must have
* but gdb-cross.inc overwrites DEPENDS from gdb-common.inc
and needs the dependency as well as shown in log.do_compile:
checking for libgmp... no
configure: error: GMP is missing or unusable
make[1]: *** [Makefile:9418: configure-gdb] Error 1
and in gdb-cross-i686/11.1-r0/build-i686-oe-linux/gdb/config.log:
* this fails only when the host OS doesn't have GMP installed
otherwise it will use libgmp from host and ignore
--with-libgmp-prefix=/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 8 Nov 2021 16:00:23 +0000 (16:00 +0000)]
mirrors: Add uninative mirror on kernel.org
At the last nas outage, we realised that we don't have good mirrors of the
uninative tarball if our main system can't be accessed. kernel.org mirrors
some Yocto Project data so we've ensured uninative is there. Add the appropriate
mirror url to make use of that.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson, as provided by the SDK, would fail to fetch Wraps' sources on bare
systems (i.e. systems, that only provide little more than the SDK).
This change modifies the wrapper script so that it sets an environment
variable (unless it is already set) that is used to determine valid
certificates for secured connections.
It does not affect bitbake's interaction with meson.
The SDK's SSL directory was not searched, so meson would fail when it tried
to fetch sources via https, that were specified in wrap files.
Specifically `urllib` would fail:
```
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
```
Caution: this patch depends on the underlying C library (i.e. openssl)
to consider this environment variable.
Signed-off-by: Leif Middelschulte <Leif.Middelschulte@klsmartin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Hochstein [Sun, 7 Nov 2021 18:50:16 +0000 (12:50 -0600)]
bitbake.conf: Use wayland distro feature for native builds
The wayland-scanner is missing from SDKs with weston, but the weston build
requires wayland-scanner. Allow the distro feature in order to include
the wayland-scanner packages via nativesdk-packagegroup-sdk-host.bb.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The files wayland.dtd and wayland.xml belong in the main package,
while wayland-scanner.mk belongs in wayland-dev.
Fix the wayland.dtd and wayland.xml packaging by prepending the
wayland-tools package and dropping the main package FILES variable
override. The file wayland-scanner.mk is included in the main
package by default, and so must be explicitly added to wayland-dev.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libx11-compose-data: Update LICENSE to better reflect reality
There are no traces of neither the BSD-2-Clause license nor the
BSD-4-Clause license being used in the code. There is one occurrence
of the BSD-1-Clause license. On the other hand, HPND and
HPND-sell-variant are all over the place.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are no traces of neither the BSD-2-Clause license nor the
BSD-4-Clause license being used in the code. There is one occurrence
of the BSD-1-Clause license. On the other hand, HPND and
HPND-sell-variant are all over the place.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 5 Nov 2021 16:57:58 +0000 (16:57 +0000)]
scons: support out-of-tree builds
SCons has a slightly unusual implementation of out-of-tree builds where
there is no standard way of doing it. However, if a recipe sets B to
the idiomatic ${WORKDIR}/build and passes the right arguments so that this
is used then scons will fail as it is trying to find the SConstruct file
in ${B} not ${S}.
Always pass --directory=${S} to scons so that the SConstruct file can be
found, and don't call --clean if out-of-tree builds are being used as
we would have just deleted the entire build tree already.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 5 Nov 2021 17:19:54 +0000 (13:19 -0400)]
ppp: fix build against 5.15 headers
The 5.15 kernel has removed ipx support, along with the userspace
visible header.
The build error was found for muslc, since it doesn't have a
fallback header, we disable it for both glibc/muslc.
This support wasn't used previously (as it hasn't been very well
maintained in the kernel for several years), so we can simply
disable it in our build and wait for upstream to do a release that
drops the support.
Although the tarball we use for our build (versus git), doesn't
use the autoconf disable flag to turn off the support, it is included
in this patch in case someone is building via git source base.