Pavel Zhukov [Thu, 2 Dec 2021 07:56:04 +0000 (08:56 +0100)]
patch.py: Initialize git repo before patching
If PATCHTOOL="git" has been specified but workdir is not git repo
bitbake fails to apply the patches with error message:
Command Error: 'git rev-parse --show-toplevel' exited with 0 Output:
fatal: not a git repository (or any of the parent directories): .git
Fix this by initializing the repo before patching.
This allows binary git patches to be applied.
Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6184b56a7a0fc6f5d19fdfb81e7453667f7da940) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Li Wang [Tue, 30 Nov 2021 06:51:11 +0000 (14:51 +0800)]
libtool: change the default AR_FLAGS from "cru" to "cr"
Backport patch to fix warning:
`u' modifier ignored since `D' is the default (see `U')
Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d5092e7ee63fb8119a22b3d9de1f23e94791b56) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Mon, 25 Oct 2021 18:40:53 +0000 (19:40 +0100)]
libtool: Update patchset to match those submitted upstream
I went through and cleaned up the headers/descriptions on several of the
libtool patchset and submitted (or resubmitted in some cases) them
upstream. This patch updates/renames them to match what I did.
I did fix some whitespace issues in some of the patches and also merged
one case where we had a patch of already patched code.
This makes it clear what was submitted and makes resubmission easier if
ever needed too.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9bb9a4e8bd408c7a42913aa3e1ec541919b59584) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Mon, 22 Nov 2021 15:32:36 +0000 (15:32 +0000)]
buildhistory: Fix srcrevs output
The code was assuming that the a recipe with only one srcrev wouldn't "name"
it. This isn't the case as the glibc or bzip2 recipes show, you can have
a single srcrev which is named.
We can pull the data from the fetcher and in fact we already have it, we just
need to handle the "default" case and make that code the default for all srcrev
regardless of length.
[YOCTO #14017]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 45ae567932ba52b758eb41754453e9828d9533a1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Joshua Watt [Fri, 19 Nov 2021 02:12:49 +0000 (20:12 -0600)]
classes/crate-fetch: Ensure crate fetcher is available
Reworks the crate fetcher class to have it install the fetcher at recipe
finalization so that it is always available before SRC_URI is expanded.
In addition, override the value of SRCPV to also install the fetcher
when SRCPV is expanded so that AUTOREV works.
[YOCTO #10867]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc66c5dd65fb654af5cd91b47f9b4f7a5f53436e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Process all systemd-sysusers configuration files in order to create
users/groups at build time. systemd-sysusers would try to create them at
run-time, but for read-only rootfs that's not possible and results in
warnings from different services:
systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring
systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring
systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:42 Unknown group 'sgx', ignoring
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f86ffdb1b77c6ba32ec250545a40c1c54f983f21) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Pgowda [Mon, 15 Nov 2021 14:03:40 +0000 (06:03 -0800)]
rust-cross: Replace TARGET_ARCH with TUNE_PKGARCH
rust-cross-* imported from meta-rust has incorrect signatures,
depending on MACHINEOVERRIDES making it effectively MACHINE_ARCH
as shown by sstate-diff-machines.sh:
Mingli Yu [Wed, 17 Nov 2021 02:16:23 +0000 (10:16 +0800)]
wic: use shutil.which
Use shutil.which to find the executable instead to silence the below warning:
$ cat tmp/work/intel_x86_64-poky-linux/core-image-base/1.0-r5/temp/log.do_image_wic
[snip]
DEBUG: Executing shell function do_image_wic
/path/layers/oe-core/scripts/wic:27: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils import spawn
INFO: Creating image(s)...
[snip]
[RP: Added conversion for missed function reference] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3966cbf5c8a2dbc3a4f0f3eefdbeeb83f522bf87) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Andres Beltran [Thu, 18 Nov 2021 00:04:02 +0000 (00:04 +0000)]
create-spdx: Fix key errors in do_create_runtime_spdx
Currently, the do_create_runtime_spdx task fails with a Key Error if a
dependency is not contained in the package providers dictionary. Add a
check before using "dep" as a key in "providers".
Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 140ce5ef5e8f10251091660e3ef76f315f409076) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Saul Wold [Wed, 17 Nov 2021 18:08:13 +0000 (10:08 -0800)]
create_spdx: ensure is_work_shared() is unique
There is a function with the same name is_work_shared() in the archiver class
this causes a conflict when both classes are included. Use work-shared as the
check in WORKDIR to allow for other packages beyond the kernel and gcc that
use a common shared-work source directory.
Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 18eab77ee65c73b17225e69c7ba446ab1c69fa92) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Claus Stovgaard [Sat, 13 Nov 2021 21:37:13 +0000 (22:37 +0100)]
cups: Fix missing installation of cups sysv init scripts
The packageconfig needs to be --disable-systemd as documented in
configure file for cups. With the current value "--without-systemd" the
SYSTEM_DIR variable ends up being set to "no"
It is caused by the --without-* section in configure file resulting in
eval with_$ac_useropt=no ;;
$ac_useropt is "systemd" causing the variable $with_systemd to be set
to "no", because of below test
if test ${with_systemd+y}
then :
withval=$with_systemd; SYSTEMD_DIR="$withval"
else $as_nop
SYSTEMD_DIR=""
fi
cups configure test for i if SYSTEMD_DIR is empty to decide if the init
scripts need to be installed. A value of "no" results in that no init
scripts is installed.
With --disable-systemd it works as expected - installing the init files.
Though cups should properly improve their configure script.
Signed-off-by: Claus Stovgaard <clst@ambu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 967fdd2ba12f22d8e46600ff085833993a32cfeb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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.
Compared to the corresponding patch for master, there are two
differences:
* "/var/volatile" is not added to QA_EMPTY_DIRS by default, and
* "empty-dirs" is not enabled in ERROR_QA (nor in WARN_QA).
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit dadba70d6a24d8ebb5576598efffa973151c7218) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit 25a8ec6e2891b71bc280aacaf5f62ecc4b0bd1d1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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:
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a69a53573b1987ee5834a6fc27763f9bbf5fe5a4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit a9ac5a388d682bcf0aad59d1b8ae8334846dfcd9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit ae32a59571abec59cc9f19bf9289ec9472b3923b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Kai Kang [Tue, 9 Nov 2021 02:04:05 +0000 (10:04 +0800)]
squashfs-tools: follow-up fix for CVE-2021-41072
Squash a follow-up fix for CVE-2021-41072 from upstream:
https://github.com/plougher/squashfs-tools/commit/19fcc93
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 70709ff0741ed9fb9c111ef4b7aa2ee7432453f4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit 1833cb0c5841afafb468b963b74b63366b09a134) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit b37b61e9a1e448a34957db9ae39285d21352552e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit e59fe8279b209f67ff79b9d6dbb69389a64db236) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit f26867fe4daec7299f59a82ae4a0d70cceb3e082) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit 858cc6f257e22e39df83f4808ea27c6d12cd1b80) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Tom Hochstein [Sun, 7 Nov 2021 18:50:14 +0000 (12:50 -0600)]
wayland: Fix wayland-tools packaging
There are some packaging problems due to the wayland-tools packaging
implementation. The wayland-tools package currently looks like this:
wayland-tools
└── usr
├── bin
│  └── wayland-scanner
└── share
└── wayland
├── wayland.dtd
├── wayland-scanner.mk
└── wayland.xml
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>
(cherry picked from commit a31fbec45d24df5b74091940d0e0b2daf34d8492) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit b0f30792fd0ea41f1d1590dbe0452c956e018c82) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit 5cd90092e21ad245df40a60feed3598dd9c6b98b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit 446972600ed51ca75a2a4e579cdc3e6dd2e05195) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Jose Quaresma [Sun, 7 Nov 2021 11:36:52 +0000 (11:36 +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.
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>
(cherry picked from commit 61f8f7d18417334e3b13e4447f318107372dcfe0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit 5c2c7e54bf17d28fe8b918ee8f053748b2b13e01) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit bdd4757ae057c7b3bfe27353fa25c4d7807a86ce) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit c2e0e43b7123cf5149833e0072c8edaea3629112) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
qemu.inc: Remove empty egg-info directories before running meson
This is the same solution that has been applied to meson.bbclass to
allow building with meson after it has been updated to a new
version. It needs to be applied here as well since qemu uses meson
without inheriting meson.bbclass.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9d05227e910d3f374ba7a9763ff2584b9e40db61) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meson.bblcass: Remove empty egg-info directories before running meson
sstate.bbclass no longer removes empty directories to avoid a race (see
commit 4f94d929 "sstate/staging: Handle directory creation race issue").
Unfortunately Python apparently treats an empty egg-info directory as if
the version it previously contained still exists and fails if a newer
version is required, which Meson does. To avoid this, make sure there
are no empty egg-info directories from previous versions left behind.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47d9d90b4ec7d04d6f3f1a9b97c0ab7f1264a88e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ahmed Hossam [Tue, 26 Oct 2021 18:56:42 +0000 (20:56 +0200)]
go.bbclass: Allow adding parameters to go ldflags
Currently, there is no clean way to pass extra parameters to the go tool link,
which is passed by the go build ldflags flag, the append needs to happen inside
the quotes of the ldflags parameter
See [YOCTO #14554].
Add a variable to allow adding extra parameters to -ldflags in the GO_LDFLAGS
variable, one of the main usecases is setting the application version.
For example, adding to the recipe something like
GO_EXTRA_LDFLAGS="-X main.Version=v1.0.0"
or
GO_EXTRA_LDFLAGS="-X main.Version=${PV}"
Signed-off-by: Ahmed Hossam <Ahmed.Hossam@opensynergy.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit eaa7a61dab9a1d7bb039f16abdd9aacb44faa595) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Tue, 26 Oct 2021 18:25:22 +0000 (14:25 -0400)]
linux-yocto/5.14: common-pc: enable CONFIG_ATA_PIIX as built-in
Jacob Kroon reported that generic/custom x86 kernels would no
longer boot out of the box since the IDE options were removed
and the PATA migration happened.
To re-enable that use case, we grab the following kernel
configuration change:
common-pc*/qemux86*: set CONFIG_ATA_PIIX as built-in
Since the IDE options were made obselete in the kernel, and the
PATA driver is the replacement, we haven't had one of the commonly
used qemu boot devices enabled in our kernel by default.
We change CONFIG_ATA_PIIX to built-in, to re-enable use cases that
boot from default qemu 'hardware'.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Reported-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 341707513a7c3cfcd797f6631b8daf09ddf5bae8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Tue, 26 Oct 2021 18:25:21 +0000 (14:25 -0400)]
linux-yocto/5.10: update to v5.10.74
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
77434fe5a077 Linux 5.10.74 42b49f012b6a hwmon: (pmbus/ibm-cffps) max_power_out swap changes bb893f075431 sched: Always inline is_percpu_thread() bdae2a083436 perf/core: fix userpage->time_enabled of inactive events 57c7ca3d5592 scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported" d993d1e1c411 scsi: ses: Fix unsigned comparison with less than zero 621ddffb70db drm/amdgpu: fix gart.bo pin_count leak a5ba615fbeb3 net: sun: SUNVNET_COMMON should depend on INET db868b45324d vboxfs: fix broken legacy mount signature checking 42c871d38e3d mac80211: check return value of rhashtable_init bda06aff03a1 net: prevent user from passing illegal stab size 3d68c7b0ab5b hwmon: (ltc2947) Properly handle errors when looking for the external clock 194e8a4f0acd m68k: Handle arrivals of multiple signals correctly 977aee58142a mac80211: Drop frames from invalid MAC address in ad-hoc mode 9ec9a975ea37 netfilter: nf_nat_masquerade: defer conntrack walk to work queue 5182d6db80bb netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic bcb647c1e15d ASoC: SOF: loader: release_firmware() on load failure to avoid batching f6952b1e22c2 HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs ddc4ba737bcb netfilter: ip6_tables: zero-initialize fragment offset ddf026d6ae9a HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS 0bcfa99e8fae ASoC: Intel: sof_sdw: tag SoundWire BEs as non-atomic 14cbfeeee41b ext4: correct the error path of ext4_write_inline_data_end() d7a15e1e4fd7 ext4: check and update i_disksize properly
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8e863e9c57fc26e4158b6c10b04931976c54efb8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>