Martin Jansa [Tue, 23 Feb 2021 13:35:53 +0000 (14:35 +0100)]
sstatesig.py: show an error instead of warning when sstate manifest isn't found
* not sure if there are some valid use-cases for missing manifest, but
recently I'm seeing increasing number of build failures where something
from native recipe is missing (seen it with pseudo, autoconf, nodejs
recently) and the only indication that something is wrong (before showing
sometimes misleading error like:
recipe-sysroot-native/usr/bin/node: No such file or directory
is this warning:
NOTE: Running task 7844 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_prepare_recipe_sysroot)
NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Started
WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
NOTE: Running task 7845 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_unpack)
NOTE: recipe nodejs-12.20.2-r0: task do_unpack: Started
WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Succeeded
if I rebuild that native dependency, then it gets fixed and I don't
see these failures in clean builds (as without sstate and with empty
TMPDIR), only in incremental builds
* but if there isn't valid reason for missing manifest file, then I think
it would be better to error early (or even bb.fatal())
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stefan Ghinea [Tue, 23 Feb 2021 19:20:28 +0000 (21:20 +0200)]
wpa-supplicant: fix CVE-2021-0326
In p2p_copy_client_info of p2p.c, there is a possible out of bounds write
due to a missing bounds check. This could lead to remote code execution
if the target device is performing a Wi-Fi Direct search, with no
additional execution privileges needed. User interaction is not needed
for exploitation.Product: AndroidVersions: Android-10 Android-11
Android-8.1 Android-9 Android ID: A-172937525
Richard Purdie [Thu, 25 Feb 2021 21:54:14 +0000 (21:54 +0000)]
fonts: Bump HASHEQUIV_HASH_VERSION after rpmdeps change
After the rpmdeps change, the output didn't change in the correct
case and hence hashes were cross-linked. We bump the hashequiv
version to avoid problems from this.
Also bump PR to force a rebuild.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 24 Feb 2021 21:51:08 +0000 (21:51 +0000)]
package/package_rpm: Disable font_provides configuration for reproducibilty
The host may or may not have fc-cache which is used for find provides
information by rpmdeps. This lead to non-deterministic build output.
Disable the font provides code so we have deterministic builds,
we have nothing using/relying on it at this point.
Need to disable this in both the rpmdeps code and in package_rpm
itself although the latter shouldn't be being used.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Wed, 24 Feb 2021 22:08:46 +0000 (14:08 -0800)]
selftest: Replace building dep tool with direnv
dep tool is now deprecated and its replaced with go modules so using
this as sample for testing is also getting arcane. Replace it with
another project direnv[1] which is quite active and uptodate
[1] https://github.com/direnv/direnv
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 20 Feb 2021 17:52:27 +0000 (17:52 +0000)]
selftest/reproducible: Remove exclusions for recipes which now reproduce
git, libproxy, libcap-ng(-python), babeltrace2, rsync and groff
have their reproducibility issues fixed, remove from the exclusion
list. Also fix whitespace.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure the fallback value if used is written to the SDE file
and hence stored in sstate, reducing any confusion within the
code over '0' values.
Bump the HASHEQUIV_VERSION since we've had a ton of trouble
with ensuring this rolls out correctly on the autobuilder so
others may too, take a clean slate for it.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jan-Simon Möller [Sat, 20 Feb 2021 17:29:33 +0000 (18:29 +0100)]
reproducible_builds: SOURCE_DATE_EPOCH should not be 0
A SOURCE_DATE_EPOCH of 0 might be misinterpreted by namely rpm as no SDE.
e.g.:
char *srcdate = getenv(SOURCE_DATE_EPOCH);
if (srcdate && rpmExpandNumeric(%{?clamp_mtime_to_source_date_epoch}))
Solve this by:
- providing a SOURCE_DATE_EPOCH_FALLBACK variable != 0
- changing defaults to use it
- using SOURCE_DATE_EPOCH_FALLBACK also when reading 0 out of sstate-cache
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 23 Feb 2021 13:34:25 +0000 (13:34 +0000)]
babeltrace2: Fix reproducibility
babeltrace2-ptest was referencing the host's python version in it's
makefiles. Whilst this could be fixed, its easier to correct the
python version being found to the target one which works much
more effectively and solves the issue.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 23 Feb 2021 18:44:22 +0000 (18:44 +0000)]
diffoscope: Ensure the correct magic file is used
diffoscope uses libmagic and it was searching in file-native's sysroot
for the magic file. Wrap it and set MAGIC in the environment to
ensure the file is found correctly and avoid build failures.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Milan Shah [Wed, 6 Jan 2021 13:38:37 +0000 (19:08 +0530)]
report-error.bbclass: Add layer and bitbake version info to error report
Instead of just providing local.conf info, add layer names and their
revisions with bitbake version information into error report
makes it easier to understand and reproduce failed build.
[YOCTO #9700]
Signed-off-by: Milan Shah <mshah@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 22 Feb 2021 18:06:37 +0000 (18:06 +0000)]
grub: shuffle packaging for aarch64 builds
Even in grub-efi platforms we need to build grub for the the common
tools. On x86 this isn't a problem because grub builds legacy boot and
grub-efi builds EFI, but on aarch64 there is no legacy boot supported by
grub.
To ensure that the common tools are built the grub recipe also builds
EFI binaries, but this now means that grub and grub-efi ship the same
binaries.
oe-core 933286 fixed this conflict by deleting the binaries from
grub-efi and putting the aarch64 modules into grub-common (relying on
dependencies to pull grub-common in). This seems backwards: grub-efi no
longer contains the binaries and they're in different packages on arm or
x86. Also, SDK generation is broken as the grub package itself is now
empty as the binaries are in grub-common.
Resolve all of these issues by reversing the logic: grub-efi is the
package which holds the EFI binaries on all platforms. grub only builds
for EFI on aarch64 as a way to build the common binaries, so delete them
in that recipe to avoid conflicts. And finally as the grub recipe is
empty on aarch64 but needed by dependencies, set ALLOW_EMPTY.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mingli Yu [Mon, 22 Feb 2021 01:21:31 +0000 (09:21 +0800)]
python3: Fix python interpreter line length for nativesdk
Make sure the python interpreter is "#!/usr/bin/env python3" for
nativesdk to avoid the shebang path exceeding the limit when install
the sdk under the directory with long path.
Before:
$ cd ${target_sdk_dir}
$ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
#!${target_sdk_dir}/sysroots/${SDK_SYS}/usr/bin/python3.9
[snip]
After:
$ cd ${target_sdk_dir}
$ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
#!/usr/bin/env python3
[snip]
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joel Stanley [Mon, 22 Feb 2021 01:47:10 +0000 (12:17 +1030)]
conf/machine-sdk: Add ppc64le SDK machine
Previously SDKMACHINE would default to x86_64. Commit 539cd4a5fbb9
("bitbake.conf: default SDKMACHINE to the build host architecture")
changed it to default to the build machine, causing the build to
fail on a ppc64le host.
Richard Purdie [Sun, 21 Feb 2021 15:15:19 +0000 (15:15 +0000)]
libpcre: Drop old/stale patch
According to my tests this incorrect symbols resolution at runtime no
longer happens. Ubuntu is still carrying the patch but also probably
doesn't need to, they are also on a much older version. It sounds
like there was once a linkage bug somewhere which has likely been
resolved since.
Drop the patch as it doesn't seem needed anymore. If it were a real
issue it should be submitted upstream too, the status is incorrect.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 22 Feb 2021 12:35:03 +0000 (12:35 +0000)]
rsync: Fix group name determinism issue
configure falls back to inspecting the host#s /etc/group for the
nobody/nogroup naming. Pass the correct value to configure to
ensure host differences don't sneak in.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Sat, 20 Feb 2021 22:52:21 +0000 (14:52 -0800)]
runqemu: Add new option to disable vga emulation
When using nographic, explicitly disabling vga is needed some cases
since some qemu firmware (OpenFirmware ) defaults to std vga, and
when vga is enabled then it disables output to serial and redirects
that to vga which is by design, hwoever we expect the console output
to go to serial when using nographic, therefore its important to
disable vga with nographic especially on qemu based ppc platforms
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>
Vivien Didelot [Sat, 20 Feb 2021 22:59:53 +0000 (17:59 -0500)]
systemd: Fix importd requirements comment
The comment above the importd config states curl, which does not
exist in PACKAGECONFIG. Adding it results in the following error
(and then misleading compilation failures):
While it might be more appropriate to deprecate "journal-upload"
in favor of a "curl" PACKAGECONFIG entry, simply fix the importd
comment for now by stating upload-journal instead of curl.
Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Fri, 19 Feb 2021 11:05:44 +0000 (19:05 +0800)]
util-linux: upgrade 2.36.1 -> 2.36.2
0001-build-sys-do-not-build-plymouth-ctrl.c-w-disabled-pl.patch
0001-hwclock-do-not-assume-__NR_settimeofday_time32.patch
removed since they are included in 2.36.2
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code internally correctly handles canonicalisation of these license
fields, we shouldn't call it manually. The issue is that the fields can
contain wildcards and GPLv3* means something quite different to GPLv3-only*.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 18 Feb 2021 15:07:11 +0000 (15:07 +0000)]
licenses: Update INCOMPATIBLE_LICENSE for 'or-later' handling
Where a user adds "GPLv3" to INCOMPATIBLE_LICENSE they almost certainly
mean both GPLv3-only and GPLv3-or-later. Update the code to handle this
correctly.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 18 Feb 2021 15:05:24 +0000 (15:05 +0000)]
licenses: Fix canonical license for 'or-later' handling
GPLv2 and GPLv2+ are two difference licenses with different meanings
and we can't just pretend they're the same thing. Change the code
to treat them separately.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andrei Gherzan [Thu, 18 Feb 2021 21:14:03 +0000 (21:14 +0000)]
oe/recipeutils: Fix copying patches when BBLAYERS entries are not normalised
`devtool` uses `copy_recipe_files` for the upgrade operation when
creating the new, workspace recipe. Before handling the copy operations,
the function checks the entry in `SRC_URI` against `FILE` while in turn
uses absolute paths. When BBLAYERS contains entries that are not
normalised, this check will fail resulting in having the recipe in the
workspace without the initial patches.
Signef-off-by: Robert Drab <robert.drab@huawei.com> Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Konrad Weihmann [Thu, 18 Feb 2021 19:29:59 +0000 (20:29 +0100)]
cmake: set CMAKE_EXPORT_NO_PACKAGE_REGISTRY
if a cmake file uses export(PACKAGE) command it creates a
folder ~/.cmake/package/<name> in the current user's
home-dir.
fix this host contermination by setting CMAKE_EXPORT_NO_PACKAGE_REGISTRY
to ON by default, which makes the export() command do nothing
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Luca Boccassi [Thu, 18 Feb 2021 18:36:20 +0000 (18:36 +0000)]
systemd: add hostname fallback when polkit is not available
When polkit is not available, networkd will not have permissions
to call hostnamed's dbus methods, as it runs without privileges.
To solve this, when building without polkit, make a new PACKAGECONFIG
'polkit_hostnamed_fallback' available which changes hostnamed so that
it runs as the 'systemd-network' user, the same as networkd, so that
the authorization works (and also with CAP_SYS_ADMIN since it loses
root).
Also run it with a separate 'systemd-hostname' group which also owns
the bus, to avoid giving the 'systemd-network' additional privileges.
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 18 Feb 2021 15:01:03 +0000 (15:01 +0000)]
groff: Fix determinism issue
Sometimes bison would regenerate source files and sometimes it would not
This is likely related to the patching of generated files by on of the
patches.
Drop those changes and force the files to regenerate in all cases since
we depend on bison-native anyway. This ensures the results are always
consistent.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wes Lindauer [Thu, 18 Feb 2021 06:20:55 +0000 (01:20 -0500)]
df.py: Add feature check for read-only-rootfs
If the target is using a read-only rootfs, the available space on '/'
will be zero. This will cause the test to incorrectly fail and skipping
seems appropriate in this case.
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Teoh Jay Shen [Thu, 18 Feb 2021 05:21:01 +0000 (13:21 +0800)]
oeqa/runlevel : add test for runlevels
This test mimic the boot_from_runlevel_3 and boot_from_runlevel_5 test cases from oeqa/manual/bsp-hw.json.
The boot_from_runlevel_3 and boot_from_runlevel_5 manual test cases should be remove from oeqa/manual/bsp-hw.json if this patch get merged.
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 18 Feb 2021 03:59:37 +0000 (22:59 -0500)]
linux-yocto/5.4: update to v5.4.98
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
5b9a4104c902 Linux 5.4.98 3654a0ed0bdc squashfs: add more sanity checks in xattr id lookup d78a70667738 squashfs: add more sanity checks in inode lookup a814355e7057 squashfs: add more sanity checks in id lookup 848bcb0a1d96 Fix unsynchronized access to sev members through svm_register_enc_region 78e2f71b89b2 bpf: Fix 32 bit src register truncation on div/mod 8589eda99cb1 regulator: Fix lockdep warning resolving supplies 513fee2aee13 blk-cgroup: Use cond_resched() when destroy blkgs d1eb41833408 i2c: mediatek: Move suspend and resume handling to NOIRQ phase 618b65dbde7a SUNRPC: Handle 0 length opaque XDR object data properly 19b56e8433e7 SUNRPC: Move simple_get_bytes and simple_get_netobj into private header fa758032a546 iwlwifi: mvm: guard against device removal in reprobe 2fa76f19dc15 iwlwifi: mvm: invalidate IDs of internal stations at mvm start c82793ef4f3b iwlwifi: pcie: fix context info memory leak b301eaf27f86 iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap 01742ade9286 iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time() 8f630ed7e98e iwlwifi: mvm: skip power command when unbinding vif during CSA 589cf152fe47 ASoC: ak4458: correct reset polarity e96d10250227 pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process() a5c70e57c4c1 chtls: Fix potential resource leak 8b6d5013cd70 ASoC: Intel: Skylake: Zero snd_ctl_elem_value db272cd2bc9e mac80211: 160MHz with extended NSS BW in CSA 26548561cb92 regulator: core: avoid regulator_resolve_supply() race condition 03d76df5f164 af_key: relax availability checks for skb size calculation 968b1b034136 tracing/kprobe: Fix to support kretprobe events on unloaded modules 5e1942063dc3 Linux 5.4.97 40af962eb1d4 usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720 76ab33055fbc net: sched: replaced invalid qdisc tree flush helper in qdisc_replace e65d331755de net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add 5d3007b6cc7b net: ip_tunnel: fix mtu calculation 90d7459d24b8 neighbour: Prevent a dead entry from updating gc_list 271ea7072901 igc: Report speed and duplex as unknown when device is runtime suspended 7018edb19a92 md: Set prev_flush_start and flush_bio in an atomic way e857e21eb200 iommu/vt-d: Do not use flush-queue when caching-mode is on 5fdf672759e9 Input: xpad - sync supported devices with fork on GitHub 03d56dab56ae iwlwifi: mvm: don't send RFH_QUEUE_CONFIG_CMD with no queues 2d5705150707 x86/apic: Add extra serialization for non-serializing MSRs bc1a3aeeff0f x86/build: Disable CET instrumentation in the kernel 40d0fff29761 mm: thp: fix MADV_REMOVE deadlock on shmem THP 56d61cd652dd mm, compaction: move high_pfn to the for loop scope 90ef21e5806f mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active af5508b1e862 mm: hugetlb: fix a race between isolating and freeing page 3264a763174f mm: hugetlb: fix a race between freeing and dissolving the page 108f56ed354f mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page 75be4852490f ARM: footbridge: fix dc21285 PCI configuration accessors b2640b08c43c KVM: x86: Update emulator context mode if SYSENTER xfers to 64-bit mode 6d3201c77be5 KVM: SVM: Treat SVM as unsupported when running as an SEV guest f9be9445e494 nvme-pci: avoid the deepest sleep state on Kingston A2000 SSDs f9034fcb27c0 drm/amd/display: Revert "Fix EDID parsing after resume from suspend" 6844143e2198 mmc: core: Limit retries when analyse of SDIO tuples fails 68c825bd2726 smb3: fix crediting for compounding when only one request in flight eaf2f835b52c smb3: Fix out-of-bounds bug in SMB2_negotiate() 00f581964b66 cifs: report error instead of invalid when revalidating a dentry fails fd6dc98f66ef xhci: fix bounce buffer usage for non-sg list case f6a47f2ce090 genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set c9654bbe52b5 libnvdimm/dimm: Avoid race between probe and available_slots_show() d0f36951ead4 kretprobe: Avoid re-registration of the same kretprobe earlier e80f9021d5be fgraph: Initialize tracing_graph_pause at task creation efa17285b338 mac80211: fix station rate table updates on assoc ecdd962c4b9b ovl: fix dentry leak in ovl_get_redirect 6b9a2e5c0c42 usb: host: xhci-plat: add priv quirk for skip PHY initialization ddc682d33024 usb: xhci-mtk: break loop when find the endpoint to drop 32410786279f usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints f4e4f067f94c usb: xhci-mtk: fix unreleased bandwidth data 1f9e9c1048b8 usb: dwc3: fix clock issue during resume in OTG mode 9d058a06149b usb: dwc2: Fix endpoint direction check in ep_from_windex 2a968ab0d2dd usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop() 4d1d959348c1 USB: usblp: don't call usb_set_interface if there's a single alt 522567fe540d USB: gadget: legacy: fix an error code in eth_bind() e57d70c59bb7 memblock: do not start bottom-up allocations with kernel_end 7e6dcaeadc0e nvmet-tcp: fix out-of-bounds access when receiving multiple h2cdata PDUs f1c87b4b2c7b ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode d97a821b2e9c r8169: fix WoL on shutdown if CONFIG_DEBUG_SHIRQ is set c545879e8080 net: mvpp2: TCAM entry enable should be written after SRAM data bf0507fb2073 net: lapb: Copy the skb before sending a packet 1cef1d46add8 net/mlx5: Fix leak upon failure of rule creation 67b7f73bbe3f i40e: Revert "i40e: don't report link up for a VF who hasn't enabled queues" 6380ef64b9eb igc: check return value of ret_val in igc_config_fc_after_link_up ec68581f7479 igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr 5ce999efcaa7 arm64: dts: ls1046a: fix dcfg address range 68e798fa3c0e rxrpc: Fix deadlock around release of dst cached on udp tunnel 98650c3d0e33 um: virtio: free vu_dev only with the contained struct device 02531b5549eb bpf, cgroup: Fix problematic bounds check 9146fffc5d2a bpf, cgroup: Fix optlen WARN_ON_ONCE toctou 4921f81ce65a arm64: dts: rockchip: fix vopl iommu irq on px30 831132b13f0d arm64: dts: amlogic: meson-g12: Set FL-adj property value 829bf438cb39 Input: i8042 - unbreak Pegatron C15B 0d6e0a192e2e arm64: dts: qcom: c630: keep both touchpad devices enabled 96dcfabef504 USB: serial: option: Adding support for Cinterion MV31 5ad95c521fd5 USB: serial: cp210x: add new VID/PID for supporting Teraoka AD2000 dfa820563c67 USB: serial: cp210x: add pid/vid for WSDA-200-USB
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 18 Feb 2021 03:59:36 +0000 (22:59 -0500)]
linux-yocto/5.10: update to v5.10.16
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
de53befa79cf Linux 5.10.16 bddcce15cd1f squashfs: add more sanity checks in xattr id lookup 5e22b39b377e squashfs: add more sanity checks in inode lookup 6634147f5128 squashfs: add more sanity checks in id lookup ff3a75bda722 squashfs: avoid out of bounds writes in decompressors dd0a41bc17bb Revert "mm: memcontrol: avoid workload stalls when lowering memory.high" 237ee28818a9 nilfs2: make splice write available again 4e78c33874e5 drm/i915: Skip vswing programming for TBT 43f39b85e9bd drm/i915: Fix ICL MG PHY vswing handling 67afdc7d95b9 bpf: Fix verifier jsgt branch analysis on max bound 1d16cc210fab bpf: Fix 32 bit src register truncation on div/mod 569033c0825e bpf: Fix verifier jmp32 pruning decision logic bf9e4307920f regulator: Fix lockdep warning resolving supplies fb8f9b2f7d22 blk-cgroup: Use cond_resched() when destroy blkgs 4d00f1bade78 i2c: mediatek: Move suspend and resume handling to NOIRQ phase 518416a75c22 SUNRPC: Handle 0 length opaque XDR object data properly eda725f8cfe0 SUNRPC: Move simple_get_bytes and simple_get_netobj into private header 6fb6d5410e41 iwlwifi: queue: bail out on invalid freeing 38da9b033bec iwlwifi: mvm: guard against device removal in reprobe 2262294d4258 iwlwifi: pcie: add rules to match Qu with Hr2 492f762b9c16 iwlwifi: mvm: invalidate IDs of internal stations at mvm start 05132a72cc1d iwlwifi: pcie: fix context info memory leak fbdf0bf97cb0 iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap cc1d805aa544 iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time() a90e8588f7eb iwlwifi: mvm: skip power command when unbinding vif during CSA 428831e8e9aa ASoC: Intel: sof_sdw: set proper flags for Dell TGL-H SKU 0A5E b579c572d4cf ASoC: ak4458: correct reset polarity f0e3c36a5244 ALSA: hda: intel-dsp-config: add PCI id for TGL-H ff557bf971ad pNFS/NFSv4: Improve rejection of out-of-order layouts 386b142945d3 pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process() 8007199fe372 chtls: Fix potential resource leak 439ac48a33c5 ASoC: Intel: Skylake: Zero snd_ctl_elem_value 4618aea34448 mac80211: 160MHz with extended NSS BW in CSA 676575b93ddf drm/nouveau/nvif: fix method count when pushing an array 4b877845e388 ASoC: wm_adsp: Fix control name parsing for multi-fw 61e97f32fded regulator: core: avoid regulator_resolve_supply() race condition 1c19d6ae581b af_key: relax availability checks for skb size calculation 7f546959b378 powerpc/64/signal: Fix regression in __kernel_sigtramp_rt64() semantics 3cb8393c4143 gpiolib: cdev: clear debounce period if line set to output 5592eae7846c io_uring: drop mm/files between task_work_submit 88dbd085a51e io_uring: reinforce cancel on flush during exit aa435155d396 io_uring: fix sqo ownership false positive warning 8c7febfc919a io_uring: fix list corruption for splice file_get 7250f333ce03 io_uring: fix flush cqring overflow list while TASK_INTERRUPTIBLE d300d03a93a2 io_uring: fix cancellation taking mutex while TASK_UNINTERRUPTIBLE 52382df81d29 io_uring: replace inflight_wait with tctx->wait b462a7beab3f io_uring: fix __io_uring_files_cancel() with TASK_UNINTERRUPTIBLE f0ff1a95bfa8 io_uring: if we see flush on exit, cancel related tasks d16692a34e8e io_uring: account io_uring internal files as REQ_F_INFLIGHT 1e7eb063a0f0 io_uring: fix files cancellation dbdcde4422df io_uring: always batch cancel in *cancel_files() f8fbdbb60793 io_uring: pass files into kill timeouts/poll 49250f33bb43 io_uring: don't iterate io_uring_cancel_files() f6d93f855553 io_uring: add a {task,files} pair matching helper fe9334186a50 io_uring: simplify io_task_match() 2d18b3ee633e Linux 5.10.15 0414bde77968 net: sched: replaced invalid qdisc tree flush helper in qdisc_replace 836f791aba58 net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add 3d6df63a5cbe udp: ipv4: manipulate network header of NATed UDP GRO fraglist f2b30f9f0889 net: ip_tunnel: fix mtu calculation 6e4583ad6df0 neighbour: Prevent a dead entry from updating gc_list 0a8a25d56a63 igc: Report speed and duplex as unknown when device is runtime suspended fe272570d003 md: Set prev_flush_start and flush_bio in an atomic way 3a492e4403ee Input: ili210x - implement pressure reporting for ILI251x 1841be8d0bc6 Input: xpad - sync supported devices with fork on GitHub b442912f678a Input: goodix - add support for Goodix GT9286 chip 2ce5be67d134 x86/apic: Add extra serialization for non-serializing MSRs 3dcf233b5845 x86/debug: Prevent data breakpoints on cpu_dr7 b796770c6db3 x86/debug: Prevent data breakpoints on __per_cpu_offset c000dcfb3aed x86/debug: Fix DR6 handling 2a2dfe6a319a x86/build: Disable CET instrumentation in the kernel 032f8e04c035 mm/filemap: add missing mem_cgroup_uncharge() to __add_to_page_cache_locked() 0a249ac189fc mm: thp: fix MADV_REMOVE deadlock on shmem THP 9abdd2c05b59 mm/vmalloc: separate put pages and flush VM flags 76303d3fab9f mm, compaction: move high_pfn to the for loop scope eca84ebef17f mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active 5b9631cb6f34 mm: hugetlb: fix a race between isolating and freeing page e334b1fec6f4 mm: hugetlb: fix a race between freeing and dissolving the page afe6c31b84f6 mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page 2de0745463e3 ARM: 9043/1: tegra: Fix misplaced tegra_uart_config in decompressor 384cddbee46f ARM: footbridge: fix dc21285 PCI configuration accessors cc7b2fc90916 ARM: dts; gta04: SPI panel chip select is active low 160237c192c4 DTS: ARM: gta04: remove legacy spi-cs-high to make display work again 7159239d2de1 KVM: x86: Set so called 'reserved CR3 bits in LM mask' at vCPU reset d73af5ae22d4 KVM: x86: Update emulator context mode if SYSENTER xfers to 64-bit mode 46add0349ba3 KVM: x86: fix CPUID entries returned by KVM_GET_CPUID2 ioctl 6c0e069ac6e8 KVM: x86: Allow guests to see MSR_IA32_TSX_CTRL even if tsx=off dd7f10523b19 KVM: x86/mmu: Fix TDP MMU zap collapsible SPTEs ff0c437a0e02 KVM: SVM: Treat SVM as unsupported when running as an SEV guest 720639ef01f5 nvme-pci: avoid the deepest sleep state on Kingston A2000 SSDs 4f25d448d947 io_uring: don't modify identity's files uncess identity is cowed 2fd938741a79 drm/amd/display: Revert "Fix EDID parsing after resume from suspend" 09c6d51b16ef drm/i915: Power up combo PHY lanes for for HDMI as well 24946da51ce7 drm/i915: Extract intel_ddi_power_up_lanes() 1f27c7362e2b drm/i915/display: Prevent double YUV range correction on HDR planes 2545b18b9834 drm/i915/gt: Close race between enable_breadcrumbs and cancel_breadcrumbs 1cd8e3ef7f68 drm/i915/gem: Drop lru bumping on display unpinning 0fe98e455784 drm/i915: Fix the MST PBN divider calculation 8ef4cf6abaa7 drm/dp/mst: Export drm_dp_get_vc_payload_bw() 4f627ecde732 Fix unsynchronized access to sev members through svm_register_enc_region a03a8693b1a2 mmc: core: Limit retries when analyse of SDIO tuples fails 57b452c5ab1e mmc: sdhci-pltfm: Fix linking err for sdhci-brcmstb 2502610927ee smb3: fix crediting for compounding when only one request in flight b793e9fca633 smb3: Fix out-of-bounds bug in SMB2_negotiate() e2bb221a16ac iommu: Check dev->iommu in dev_iommu_priv_get() before dereferencing it 7a3361e5ecf1 cifs: report error instead of invalid when revalidating a dentry fails c026844c6156 RISC-V: Define MAXPHYSMEM_1GB only for RV32 57ea7b257a1a xhci: fix bounce buffer usage for non-sg list case ee23b9329ec2 scripts: use pkg-config to locate libcrypto 0fe48a40ac63 genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set d2415fde8cad genirq: Prevent [devm_]irq_alloc_desc from returning irq 0 a80e9eee5003 libnvdimm/dimm: Avoid race between probe and available_slots_show() a2560f88e1c3 libnvdimm/namespace: Fix visibility of namespace resource attribute 059e68da31b0 tracepoint: Fix race between tracing and removing tracepoint 9e4a668f4f0a tracing: Use pause-on-trace with the latency tracers 8ce84b8e8eb3 kretprobe: Avoid re-registration of the same kretprobe earlier fb03f14cc148 tracing/kprobe: Fix to support kretprobe events on unloaded modules 43b5bdbf9644 fgraph: Initialize tracing_graph_pause at task creation 8847a756e1df gpiolib: free device name on error path to fix kmemleak 2ca1ddc32b88 mac80211: fix station rate table updates on assoc 8ccf963c6227 ovl: implement volatile-specific fsync error behaviour a66f82a1de02 ovl: avoid deadlock on directory ioctl fb8caef7c020 ovl: fix dentry leak in ovl_get_redirect 0e5cb872fbbb thunderbolt: Fix possible NULL pointer dereference in tb_acpi_add_link() 19155473f3ba kbuild: fix duplicated flags in DEBUG_CFLAGS 1897a8f0ef20 memblock: do not start bottom-up allocations with kernel_end 346ea7cc27b7 vdpa/mlx5: Restore the hardware used index after change map c1debbaf158d nvmet-tcp: fix out-of-bounds access when receiving multiple h2cdata PDUs b9464c5f4663 ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode 38b83bcec904 net: ipa: pass correct dma_handle to dma_free_coherent() 714c19bc1315 r8169: fix WoL on shutdown if CONFIG_DEBUG_SHIRQ is set 397ae1a24502 net: mvpp2: TCAM entry enable should be written after SRAM data dec629e97261 net: lapb: Copy the skb before sending a packet 6a5c3bac8054 net/mlx5e: Release skb in case of failure in tc update skb c2b2c4d24b40 net/mlx5e: Update max_opened_tc also when channels are closed 11c2c8fb889d net/mlx5: Fix leak upon failure of rule creation ada342012b2d net/mlx5: Fix function calculation for page trees b5802b747596 ibmvnic: device remove has higher precedence over reset cd77dccc122f i40e: Revert "i40e: don't report link up for a VF who hasn't enabled queues" 1ac8bec2205e igc: check return value of ret_val in igc_config_fc_after_link_up 0cda16041858 igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr 8e081627f3a7 SUNRPC: Fix NFS READs that start at non-page-aligned offsets ceca8baed5d8 arm64: dts: ls1046a: fix dcfg address range e5ed4e08d850 rxrpc: Fix deadlock around release of dst cached on udp tunnel 7fc1a5a50e6e r8169: work around RTL8125 UDP hw bug ee1709a311cd arm64: dts: meson: switch TFLASH_VDD_EN pin to open drain on Odroid-C4 6f5ee57a68c7 bpf, preload: Fix build when $(O) points to a relative path 72c8389fc7ff um: virtio: free vu_dev only with the contained struct device 571fe1ba22c2 bpf, inode_storage: Put file handler if no storage was found 9447d0f8a621 bpf, cgroup: Fix problematic bounds check ee3844e61706 bpf, cgroup: Fix optlen WARN_ON_ONCE toctou 28ad17a5e936 vdpa/mlx5: Fix memory key MTT population 636ef657eedf ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02 6ec543da64e1 ARM: dts: stm32: Disable optional TSC2004 on DRC02 board 43019f6f8884 ARM: dts: stm32: Disable WP on DHCOM uSD slot f7a74822c6eb ARM: dts: stm32: Connect card-detect signal on DHCOM 29aebc79169c ARM: dts: stm32: Fix polarity of the DH DRC02 uSD card detect 25af99f88d3e arm64: dts: rockchip: Use only supported PCIe link speed on Pinebook Pro c2947904fbba arm64: dts: rockchip: fix vopl iommu irq on px30 9b1996ae3a27 arm64: dts: amlogic: meson-g12: Set FL-adj property value 4fcaf04963e2 Input: i8042 - unbreak Pegatron C15B bd508a509c2a arm64: dts: qcom: c630: keep both touchpad devices enabled 4bcb395a7f67 ARM: OMAP1: OSK: fix ohci-omap breakage f808da6bc6e4 usb: xhci-mtk: break loop when find the endpoint to drop 85f0409e9ce3 usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints 5139bf6a3455 usb: xhci-mtk: fix unreleased bandwidth data b6609c0a537b usb: dwc3: fix clock issue during resume in OTG mode 750829e1931a usb: dwc2: Fix endpoint direction check in ep_from_windex 039656997da3 usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop() 75582ceb723e USB: usblp: don't call usb_set_interface if there's a single alt 4025244544b8 usb: gadget: aspeed: add missing of_node_put c8e1dabc1e05 USB: gadget: legacy: fix an error code in eth_bind() d56e0ac9a1fc usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720 73b1de6b5ea3 USB: serial: option: Adding support for Cinterion MV31 c43cb08791a2 USB: serial: cp210x: add new VID/PID for supporting Teraoka AD2000 17fb12b4a756 USB: serial: cp210x: add pid/vid for WSDA-200-USB
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 18 Feb 2021 03:59:35 +0000 (22:59 -0500)]
linux-yocto/5.4: update to v5.4.96
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
d4716ee8751b Linux 5.4.96 b1a1c262e4b0 workqueue: Restrict affinity change to rescuer 5b1e4fc2984e kthread: Extract KTHREAD_IS_PER_CPU 2d7ca4a84b58 objtool: Don't fail on missing symbol table 88240f7ac221 drm/amd/display: Change function decide_dp_link_settings to avoid infinite looping 53c10bbf9186 drm/amd/display: Update dram_clock_change_latency for DCN2.1 c6eb3dfdac44 selftests/powerpc: Only test lwm/stmw on big endian 805e9cdb5793 nvme: check the PRINFO bit before deciding the host buffer length 8e59209d53c9 udf: fix the problem that the disc content is not displayed 2d1593543418 ALSA: hda: Add Cometlake-R PCI ID c03ecc192c8e scsi: ibmvfc: Set default timeout to avoid crash during migration 02cc1ee3e8d1 mac80211: fix fast-rx encryption check efd061fc77f3 ASoC: SOF: Intel: hda: Resume codec to do jack detection e0f1ba38f788 scsi: fnic: Fix memleak in vnic_dev_init_devcmd2 935fa0d5a5c5 scsi: libfc: Avoid invoking response handler twice if ep is already completed 335bbffdd90c scsi: scsi_transport_srp: Don't block target in failfast state b1f680ffc25b x86: __always_inline __{rd,wr}msr() d1aed452c05f platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352 c99ac7213638 platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet 6f705e80fb87 phy: cpcap-usb: Fix warning for missing regulator_disable fd4c12f31209 net_sched: gen_estimator: support large ewma log 27afc7128345 btrfs: backref, use correct count to resolve normal data refs 66bcf5f6f989 btrfs: backref, only search backref entries from leaves of the same root c3089b06d6fe btrfs: backref, don't add refs from shared block when resolving normal backref 21a0c97fb27c btrfs: backref, only collect file extent items matching backref offset 1960c3d40b69 tcp: make TCP_USER_TIMEOUT accurate for zero window probes 55cb8e232f9a arm64: Do not pass tagged addresses to __is_lm_address() b28387cf8f1c arm64: Fix kernel address detection of __is_lm_address() 11084836e5fb ACPI: thermal: Do not call acpi_thermal_check() directly 1410d2b68207 Revert "Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT"" 5e8776df14fa ibmvnic: Ensure that CRQ entry read are correctly ordered bc4e7277cc93 net: switchdev: don't set port_obj_info->handled true when -EOPNOTSUPP 9edebe46010c net: dsa: bcm_sf2: put device node before return e89428970c23 Linux 5.4.95 e7aeca61cb9b tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN 3e93b9efc3bb team: protect features update by RCU to avoid deadlock 489e35c6829a ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values() 9a4d367b2783 NFC: fix possible resource leak c929c76e98b0 NFC: fix resource leak when target index is invalid b2f4a59a2216 rxrpc: Fix memory leak in rxrpc_lookup_local 6d25d788efa4 iommu/vt-d: Don't dereference iommu_device if IOMMU_API is not built 66f4f98ee363 iommu/vt-d: Gracefully handle DMAR units with no supported address widths 0551a2fd456c selftests: forwarding: Specify interface when invoking mausezahn e4405451dd6e nvme-multipath: Early exit if no path is available 64a4ec1850f7 can: dev: prevent potential information leak in can_fill_info() 4dc2395d8f14 net/mlx5e: Reduce tc unsupported key print level a66705277baf net/mlx5e: E-switch, Fix rate calculation for overflow dbc13deeec6a net/mlx5: Fix memory leak on flow table creation error flow 02ef126a002d igc: fix link speed advertising 873d1a4740d6 i40e: acquire VSI pointer only after VF is initialized cf9276211563 mac80211: pause TX while changing interface type 46c67a4c1a76 iwlwifi: pcie: reschedule in long-running memory reads 563daf7c0f4a iwlwifi: pcie: use jiffies for memory read spin time limit f39fce916a7b pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process() a3c5fec1e09f ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete 748c2cd57615 RDMA/cxgb4: Fix the reported max_recv_sge value 72797bfc5f77 firmware: imx: select SOC_BUS to fix firmware build 347feca03881 ARM: dts: imx6qdl-kontron-samx6i: fix i2c_lcd/cam default status f7c6e6c9b62c arm64: dts: ls1028a: fix the offset of the reset register 78fc9ef35d18 xfrm: Fix wraparound in xfrm_policy_addr_delta() f5e7db4fcd38 selftests: xfrm: fix test return value override issue in xfrm_policy.sh dac256de1fe2 xfrm: fix disable_xfrm sysctl when used on xfrm interfaces a7edea0fe85a xfrm: Fix oops in xfrm_replay_advance_bmp deb8d5dfeb63 netfilter: nft_dynset: add timeout extension to template 347a1a20b195 ARM: imx: build suspend-imx6.S with arm instruction set 61bdab3d770b xen-blkfront: allow discard-* nodes to be optional 65543408f257 tee: optee: replace might_sleep with cond_resched ad3d896ef55c drm/i915: Check for all subplatform bits 59546420c51b drm/nouveau/svm: fail NOUVEAU_SVM_INIT ioctl on unsupported devices 37ef9b59f479 mt7601u: fix rx buffer refcounting 77771158182f mt7601u: fix kernel crash unplugging the device 2c4f52b9cddf arm64: dts: broadcom: Fix USB DMA address translation for Stingray 6aceac245059 leds: trigger: fix potential deadlock with libata 2c7b4b25293a xen: Fix XenStore initialisation for XS_LOCAL 632a7728da9b KVM: Forbid the use of tagged userspace addresses for memslots ba668a507788 KVM: x86: get smi pending status correctly ff5f6de29faf KVM: nVMX: Sync unsync'd vmcs02 state to vmcs12 on migration 2fc14cafefb3 KVM: x86/pmu: Fix UBSAN shift-out-of-bounds warning in intel_pmu_refresh() c547d39feb65 KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[] e1ae9aab8029 btrfs: fix possible free space tree corruption with online conversion d30cb3d348b8 drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[] 082dc611fdc8 drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs 53fd4e4003a6 PM: hibernate: flush swap writer after marking 7f9a267c67af s390/vfio-ap: No need to disable IRQ after queue reset 9077bc37d2d1 net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family 8aba60ebcfc3 wext: fix NULL-ptr-dereference with cfg80211's lack of commit() 720032d3dc84 ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming b24dc0aa7e9b media: rc: ensure that uevent can be read directly after rc device register 5d6fd0357057 ALSA: hda/via: Apply the workaround generically for Clevo machines f78803928481 ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256 8de2109f4670 kernel: kexec: remove the lock operation of system_transition_mutex 93603a27fc31 ACPI: sysfs: Prefer "compatible" modalias 587c6b75d7fd nbd: freeze the queue while we're adding connections b8fcb8f53995 IPv6: reply ICMP error if the first fragment don't include all headers 1f58e378a17e ICMPv6: Add ICMPv6 Parameter Problem, code 3 definition
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>