Ross Burton [Thu, 10 Feb 2022 11:52:01 +0000 (11:52 +0000)]
kernel: make kernel-base recommend kernel-image, not depend
As kernel modules depend on the base kernel package, and the base kernel
recipe depends on the kernel image, it's impossible to build file system
images which contain kernel modules but not the kernel itself, such as
an initramfs.
Change the RDEPENDS to RRECOMMENDS so that the disk images can set
PACKAGE_EXCLUDE = "kernel-image-*" to remove the kernel.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oeqa/selftest/bblogging: Add logging tests for bb.build.exec_func with shell/python code
The situation regarding logging is different when a function called by
bb.build.exec_func() fails compared to when the task code fails
directly. There is a recent fix in bitbake to solve that and these
tests will hopefully prevent regressions.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 20 Feb 2022 14:03:39 +0000 (14:03 +0000)]
perl: Improve and update module RPDEPENDS
The perl module RDEPENDS needed refreshing so I updated it with the script. I
also found a ton of issues with missing test2 module dependencies so I've tweaked
the generator script to improve those. For some reason they were previously excluded
but I can't see anything wrong with the generated dependencies so I've added them. A
number of manual dependencies were still needed in addition.
I did notice an issue with trailing ")" characters so the sed is updated to handle
that (it did already handle "(").
This fixes issues seen in the dependecies for libxml-parser-perl's ptest package.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 19 Feb 2022 17:59:07 +0000 (17:59 +0000)]
sstate: Setup fetcher environment in advance
The threading code here can race as the fetcher changes the environment which is
shared between the threads. By setting it up in advance, it isn't changed and
therefore no longer races.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 18 Feb 2022 17:15:36 +0000 (17:15 +0000)]
meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers
An automated conversion using scripts/contrib/convert-spdx-licenses.py to
convert to use the standard SPDX license identifiers. Two recipes in meta-selftest
were not converted as they're that way specifically for testing. A change in
linux-firmware was also skipped and may need a more manual tweak.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 18 Feb 2022 17:09:23 +0000 (17:09 +0000)]
scripts: Add a conversion script to use SPDX license names
We're standardising on SPDX license names so it is overdue to change
the ones in the LICENSE fileds to the SPDX values. Add a conversion
script which makes this straightforward on the most part.
Ultimately this allows the core code to be more efficient and not need
to consult the mappings.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jose Quaresma [Fri, 18 Feb 2022 00:26:59 +0000 (00:26 +0000)]
gstreamer1.0: update licenses of all modules
Since all gstreamer modules uses LGPLv2.1 with exceptions
for some plugins in bad and ugly modules that has GPLv2+.
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hongxu Jia [Wed, 16 Feb 2022 02:54:29 +0000 (18:54 -0800)]
glibc: fix create thread failed in unprivileged process
Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2
and clone3] applied, start a unprivileged container (docker run without
--privileged), it creates a thread failed in container.
In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined. If
__clone3 returns -1 with ENOSYS, fall back to clone or clone2.
As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP,
CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
was specified by an unprivileged process (process without CAP_SYS_ADMIN)
Richard Purdie [Fri, 18 Feb 2022 10:53:25 +0000 (10:53 +0000)]
recipeutils: Add missing get_srcrev() call
Updates within bitbake now require this call to be triggered somewhere with
floating git source revs. Add the missing call. Issue can be reproduced with:
devtool check-upgrade-status dbus-wait
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no other unit in oe-core where watchdog is enabled, and
this feature starts to behave weirdly when test_date is adjusting the clock,
which means weston is restarted without need, so disable for weston
test stability.
The issue won't show up on kvm qemu (x86/x86_64) because it runs
too quickly, but non-kvm qemu (ppc/mips/arm) all fail in the same
way due to slower timings.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 10 Feb 2022 13:44:22 +0000 (13:44 +0000)]
selftest/bbtests: Add tests for git floating tag resolution
This test ensures that where a floating tag is used for a git url, there
aren't a number of different bugs such as inconsistent source revisions
for the tag within a given build and that the recipe is reparsed at each
run to ensure the tag is checked.
A test is also added to ensure that the build fails if SRCPV (get_srcrev())
isn't used yet there is a floating tag.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 14 Feb 2022 23:54:35 +0000 (07:54 +0800)]
mesa: upgrade 21.3.5 -> 21.3.6
Changelog:
=========
Bug fixes
---------
radv: CullDistance fail
i965: Segmentation fault during glinfo context destruction, regression in 21.3.x
Vulkan Wayland WSI returns empty surface formats
[REGRESSION][BISECTED] iris: Qutebrowser/QtWebEngine sporadically flashes the window in white
Flickering Intel Uhd 620 Graphics
Broken Terraria & Glitches in Forza Horizon 4
Changes
-------
Revert "nir/algebraic: distribute fmul(fadd(a, b), c) when b and c are constants"
anv: Fix subgroupSupportedStages physical property
Revert "zink: handle vertex buffer offset overflows"
ir3: Fix copy-paste mistakes in ir3_block_remove_physical_predecessor()
ir3/cp: ir3: Prevent propagating shared regs out of loops harder
ir3: opt_deref in opt loop to remove unnecessary tex casts
crocus: find correct relocation target for the bo.
vulkan: Fix leak of error messages
pick_status.json: Update to cb781fc350108584116280fc597c695d2f476c68
pick_status.json: Mark 15e77504461a30038a054c87cc53a694171c9cf4 as denominated
pick_status.json: Mark 960e72417f3e8885699cf384f690853e14ba44da as denominated
intel/fs: Take into account region strides during SIMD lowering decision of SHUFFLE.
vulkan/wsi/wayland: Fix add_wl_shm_format alpha/opaqueness.
vulkan/wsi/wayland: Convert missing vulkan formats to shm formats.
vulkan/wsi/wayland: Add modifiers for RGB formats.
vulkan/wsi/wayland: Fix add_drm_format_modifier aplha/opaqueness.
anv/pass: Don't set first_subpass_layout for stencil-only attachments
vulkan/wsi: Set MUTABLE_FORMAT_BIT in the prime path
i965: Avoid NULL drawbuffer in brw_flush_front
intel/fs: don't set allow_sample_mask for CS intrinsics
intel/nir: fix shader call lowering
panvk: Fix pointer corruption in panvk_add_wait_event_syncobjs
zink: never use SpvOpImageQuerySizeLod for texel buffers
zink: reorder fbfetch flag-setting to avoid null deref
zink: fix vertex buffer mask computation for null buffers
zink: clamp tbo creation to maxTexelBufferElements
zink: add vertex shader pipeline bit for generated barrier construction
zink: fix waiting on current batch id
zink: cast image atomic op params/results based on image type
zink: use SpvScopeDevice over SpvScopeWorkgroup for atomic shader ops
zink: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
llvmpipe: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
llvmpipe: ci updates
zink: add VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT for query binds
zink: fix PIPE_CAP_TGSI_BALLOT export conditional
zink: reject invalid draws
zink: min/max blit region in coverage functions
anv: Disable CCS_E for some 8/16bpp copies on TGL+
anv: Use ANV_FAST_CLEAR_DEFAULT_VALUE for CCS on TGL+
anv: Re-enable CCS_E on TGL+
iris: implement inter-context busy-tracking
aco: fix neg(abs(mul(a, b))) if the mul is not VOP3
aco: don't encode src2 for v_writelane_b32_e64
radv: fix R_02881C_PA_CL_VS_OUT_CNTL with mixed cull/clip distances
radv/winsys: fix missing buffer_make_resident() for the null winsys
tu: VkExternalImageFormatProperties is optional
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 14 Feb 2022 23:54:36 +0000 (07:54 +0800)]
rng-tools: upgrade 6.14 -> 6.15
0001-Adding-ability-to-detect-non-posix-extensions-for-pt.patch
0002-Allow-for-use-of-either-pthread-affinity-set-methods.patch
removed since they're included in 6.15.
Changelog:
=========
Adjust rngtests for better behavior in travis
fix use of non-posix setaffinity call to allow building on strict posix (musl) systems
Add armv6l to list of detected arches for pkcs11
misc fixes to allow building on libc-musl
fix a deadlock in jitter shutdown sequence
minor warning fixups (unused variables)
improve cpu detection code
improve jitter cpu monopolization on small/single cpu systems
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Christian Eggers [Tue, 15 Feb 2022 12:54:56 +0000 (13:54 +0100)]
curl: configure with '--without-ssl' if ssl is disabled
curl requires that at least one SSL implementation or explicitly
'--without-ssl' is specified. This is particularly the case if
PACKAGECONFIG is empty.
| configure: error: select TLS backend(s) or disable TLS with
--without-ssl.
|
| Select from these:
|
| --with-amissl
| --with-bearssl
| --with-gnutls
| --with-mbedtls
| --with-mesalink
| --with-nss
| --with-openssl (also works for BoringSSL and libressl)
| --with-rustls
| --with-schannel
| --with-secure-transport
| --with-wolfssl
|
Fixes: eef6c45fc6ec ("curl: Rework openssl and random PACKAGECONFIGs") Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Konrad Weihmann [Tue, 15 Feb 2022 12:41:02 +0000 (13:41 +0100)]
gmp: fix EXTRA_OECONF for mipsarchr6
previously used mipsarchr6:append created an empty set for
EXTRA_OECONF and then appended --disable-assembly
while it should be just added to the existing var value.
Without this patch gmp will be configured without
--enable-cxx=detect for mipsarchr6 targets
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Konrad Weihmann [Tue, 15 Feb 2022 10:14:32 +0000 (11:14 +0100)]
ruby: fix DEPENDS append
recent change create a blank scope of DEPENDS for class-target,
basically leaving out all general dependencies, leading to the effect
that ruby will be shipped without the runtime dependencies of zlib,
openssl and libffi, making the corresponding gems unusable at runtime.
As the class-target scope should be appended only the correct override
is append:class-target
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 14 Feb 2022 16:20:18 +0000 (16:20 +0000)]
ltp: Disable proc01 test
This test has history of hanging on arm trying to read from /proc/kmsg and it has
reappeared. Disable the test since hanging autobuilder builds are annoying. I suspect
there is a genuine race on ARM somewhere here in the kernel.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 14 Feb 2022 14:28:42 +0000 (22:28 +0800)]
python3-pathlib2: upgrade 2.3.6 -> 2.3.7
Changelog:
=========
This version will be the last release to support Python 2.7.
Fix bug in samefile on Windows when file does not exist.
Add newline parameter for write_text (see issue #64).
Add many more type annotations.
Continuous integration migrated to github actions.
Project migrated to jazzband.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 14 Feb 2022 14:28:14 +0000 (22:28 +0800)]
harfbuzz: upgrade 3.3.2 -> 3.4.0
Changelog:
=========
*Perform sanity checks on shaping results is now part of "harfbuzz" library
and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY.
*Arabic Mark Transient Reordering Algorithm have been updated to revision 6.
*ISO 15924 code for mathematical notation, 'Zmth', now maps to the OpenType
'math' tag.
*It is now possible to get at once all math kerning values for a given glyph
at a given corner.
*Fix locale_t portability issues on systems the typedef's it to a void pointer
*New API:
+HB_BUFFER_FLAG_VERIFY
+HB_OT_TAG_MATH_SCRIPT
+HB_SCRIPT_MATH
+hb_ot_math_kern_entry_t
+hb_ot_math_get_glyph_kernings
Deprecated API
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for packed images to wic rawcopy handler do minimize disk
usage in deploy directory and reuse of packed images between wic and
swupdate. Add `unpack` to sourceparams to unpack an bz2, gz and xz
archives.
Example:
part / --source rawcopy --sourceparams="file=core-image-minimal-qemu.ext4.gz,unpack"
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Christian Eggers [Mon, 14 Feb 2022 10:18:14 +0000 (11:18 +0100)]
mc: fix build if ncurses have been configured without wide characters
Some distros like poky-tiny set ENABLE_WIDEC=false, which disables wide
character support for ncurses. The new patch fixes the build of mc for
this case.
Since 9000f8033662, NCURSES_WIDECHAR is set explicitly to 1 for musl.
This doesn't work for ENABLE_WIDEC==false. In this case,
NCURSES_WIDECHAR must be set explicitly to 0, as curses.h does not
record whether the ncurses library has actually been built with or
without wide characters.
Fixes: 9000f8033662 ("mc: upgrade 4.8.25 -> 4.8.26") Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 14 Feb 2022 11:47:11 +0000 (11:47 +0000)]
openssl: Add perl functionality test to do_configure
Loading the POSIX module after loading others in perl causes errors to get hidden. The
resulting build failures are obtuse and hard to debug. We see this quite often when
we upgrade glibc but not uninative and there are symbol mismatches.
Add a quick test to the start of configure which tests perl operates correct and shows
a much more obvious error if it isn't since the POSIX module doesn't have to reload.
An example of the new error is:
| Can't load 'XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/auto/POSIX/POSIX.so' for module POSIX:
| XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/sysroots-uninative/x86_64-linux/lib/libm.so.6: version `GLIBC_2.35' not found
| (required by XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/auto/POSIX/POSIX.so) at
| XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/XSLoader.pm line 111.
| at XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/POSIX.pm line 24.
which clearly shows the glibc symbol issue.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Sun, 13 Feb 2022 01:23:42 +0000 (20:23 -0500)]
linux-yocto/5.10: update to v5.10.99
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
fb063a6465f9 Linux 5.10.99 4889d6ee9e48 selftests: nft_concat_range: add test for reload with no element add/del 557727313534 cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning f1f7d1a22fd7 net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY 84b76a509cc3 ext4: fix incorrect type issue during replay_del_range 62e46e0ffc02 ext4: fix error handling in ext4_fc_record_modified_inode() 764793b4a5d0 ext4: fix error handling in ext4_restore_inline_data() 6c5bd55e36d3 ext4: modify the logic of ext4_mb_new_blocks_simple 8d71fc23fcb8 ext4: prevent used blocks from being allocated during fast commit replay ef2053afd71e EDAC/xgene: Fix deferred probing 2a12faf55bae EDAC/altera: Fix deferred probing dd274cf85269 x86/perf: Default set FREEZE_ON_SMI for all 456f041e0359 perf/x86/intel/pt: Fix crash with stop filters in single-range mode 8c0e6a8a630e perf stat: Fix display of grouped aliased events 57e8859acc60 fbcon: Add option to enable legacy hardware acceleration 460f6b1a238d Revert "fbcon: Disable accelerated scrolling" 460aa9d87340 rtc: cmos: Evaluate century appropriate 2324f5fcdf9d tools/resolve_btfids: Do not print any commands when building silently 1536fafa23ac selftests: futex: Use variable MAKE instead of make 8f0fff8b5968 selftests/exec: Remove pipe from TEST_GEN_FILES 6304a613a97d bpf: Use VM_MAP instead of VM_ALLOC for ringbuf f744a064041c gve: fix the wrong AdminQ buffer queue index check 51e88e892273 nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client. ec4334152dae scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe fd482f2d63db pinctrl: bcm2835: Fix a few error paths 752d9eafc64e pinctrl: intel: fix unexpected interrupt 14bc9978b486 pinctrl: intel: Fix a glitch when updating IRQ flags on a preconfigured line 5a45448ac95b ASoC: max9759: fix underflow in speaker_gain_control_put() 02f459719832 ASoC: cpcap: Check for NULL pointer after calling of_get_child_by_name cb5f1fbd1f22 ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes 56e0747d59ac ASoC: fsl: Add missing error handling in pcm030_fabric_probe 3e698375517d drm/i915/overlay: Prevent divide by zero bugs in scaling 9ea018536111 net: stmmac: ensure PTP time register reads are consistent 41df2da2c1f3 net: stmmac: dump gmac4 DMA registers correctly 114bf9350413 net: macsec: Verify that send_sci is on when setting Tx sci explicitly 2e7f5b6ee1a7 net: macsec: Fix offload support for NETDEV_UNREGISTER event 87b1c9fab6fe net: ieee802154: Return meaningful error codes from the netlink helpers 78b3f20c17cb net: ieee802154: ca8210: Stop leaking skb's 0bfe50dc5d91 net: ieee802154: mcr20a: Fix lifs/sifs periods 75bbda318987 net: ieee802154: hwsim: Ensure proper channel selection at probe time e895e067d73e spi: uniphier: fix reference count leak in uniphier_spi_probe() ec942d08e070 spi: meson-spicc: add IRQ check in meson_spicc_probe c2cf65e1008b spi: mediatek: Avoid NULL pointer crash in interrupt 30e05c98b99d spi: bcm-qspi: check for valid cs before applying chip select 6d226e8afe88 iommu/amd: Fix loop timeout issue in iommu_ga_log_enable() 9d9995b0371e iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping() b3958d315163 RDMA/mlx4: Don't continue event handler after memory allocation failure d3f8b927df2f RDMA/siw: Fix broken RDMA Read Fence/Resume logic. c7db20f5be73 IB/rdmavt: Validate remote_addr during loopback atomic tests 75c610212b9f RDMA/ucma: Protect mc during concurrent multicast leaves 371979069a57 RDMA/cma: Use correct address when leaving multicast group aa4ecd995f59 memcg: charge fs_context and legacy_fs_context 080f371d984e Revert "ASoC: mediatek: Check for error clk pointer" 4a9bd1e6780f IB/hfi1: Fix AIP early init panic 5d40f1bdad3d dma-buf: heaps: Fix potential spectre v1 gadget 30de3bc09978 block: bio-integrity: Advance seed correctly for larger interval sizes 352715593e81 mm/kmemleak: avoid scanning potential huge holes 7053188ddba3 mm/pgtable: define pte_index so that preprocessor could recognize it bce7f5d74d74 mm/debug_vm_pgtable: remove pte entry from the page table 2d83a7463d75 nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts() a0c73dbdd197 drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels f071d9fa8575 drm/nouveau: fix off by one in BIOS boundary checking 32747e01436a btrfs: fix deadlock between quota disable and qgroup rescan worker aa5d406153c5 ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after reboot from Windows d4aa3a98596f ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer chipset) 3a8a8072e32b ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220 quirks 532cde962f5f ALSA: hda/realtek: Add quirk for ASUS GU603 410f231fd70c ALSA: hda: realtek: Fix race at concurrent COEF updates a7de1002135c ALSA: hda: Fix UAF of leds class devs at unbinding 470bbb9cbd8f ALSA: usb-audio: Correct quirk for VF0770 6877f87579ed ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx() 038f8b7caa74 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx() a9394f21fba0 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw() 0ff6b8050695 audit: improve audit queue handling when "audit=1" on cmdline f446089a268c selinux: fix double free of cond_list on error paths 12a0a56cbae3 Linux 5.10.98 97a47e25559e Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" again e27042060f81 Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" c8ed22bd97d4 Linux 5.10.97 176356550ced tcp: add missing tcp_skb_can_collapse() test in tcp_shift_skb_data() 32e179971085 af_packet: fix data-race in packet_setsockopt / packet_setsockopt aa9e96db3121 cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask() 3bbe2019dd12 rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink() e7be56926397 net: sched: fix use-after-free in tc_new_tfilter() 7b4741644cf7 fanotify: Fix stale file descriptor in copy_event_to_user() 4d3fcfe84648 net: amd-xgbe: Fix skb data length underflow cadfa7dce526 net: amd-xgbe: ensure to reset the tx_timer_active flag 77534b114f24 ipheth: fix EOVERFLOW in ipheth_rcvbulk_callback b4ced7a46d9f net/mlx5: E-Switch, Fix uninitialized variable modact 502c37b033fa net/mlx5: Use del_timer_sync in fw reset flow of halting poll a01ee1b8165f net/mlx5e: Fix handling of wrong devices during bond netevent 1fc3444cda9a cgroup-v1: Require capabilities to set release_agent ac4ba79bb028 drm/vc4: hdmi: Make sure the device is powered with CEC 46f919c6bdc5 x86/cpu: Add Xeon Icelake-D to list of CPUs that support PPIN fbdbf6743f77 x86/mce: Add Xeon Sapphire Rapids to list of CPUs that support PPIN d4e4e61d4a5b psi: Fix uaf issue when psi trigger is destroyed while being polled 080dbe7e9b86 KVM: x86: Forcibly leave nested virt when SMM state is toggled 063029a8820e Revert "drivers: bus: simple-pm-bus: Add support for probing simple bus only devices" 42fdbf8b7dab net: ipa: prevent concurrent replenish ad81380d3a48 net: ipa: use a bitmap for endpoint replenish_enabled 2ed912e3e057 net: ipa: fix atomic update in ipa_endpoint_replenish() 3b4c966fb156 PCI: pciehp: Fix infinite loop in IRQ handler upon power fault
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Sun, 13 Feb 2022 01:23:41 +0000 (20:23 -0500)]
linux-yocto/5.15: update to v5.15.22
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:
0bf5b7cc9848 Linux 5.15.22 3853c4e27149 selftests: netfilter: check stateless nat udp checksum fixup b84753200e79 selftests: nft_concat_range: add test for reload with no element add/del 7c0ee51fe998 gpio: mpc8xxx: Fix an ignored error return from platform_get_irq() 3d631a1af0d7 gpio: idt3243x: Fix an ignored error return from platform_get_irq() ff43b75eea32 tools include UAPI: Sync sound/asound.h copy with the kernel sources f5afdefe188e cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning e4a7e1418ab7 net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY f187daed64e1 ext4: fix incorrect type issue during replay_del_range 1b6762ecdf3c ext4: fix error handling in ext4_fc_record_modified_inode() ce38bb98cec7 ext4: fix error handling in ext4_restore_inline_data() 869cb287d893 ext4: modify the logic of ext4_mb_new_blocks_simple 0cb4480bc4f4 ext4: prevent used blocks from being allocated during fast commit replay d583cb17ee50 EDAC/xgene: Fix deferred probing c6c04bb32b73 EDAC/altera: Fix deferred probing 587dadb43c9a x86/perf: Default set FREEZE_ON_SMI for all e83d941fd344 perf/x86/intel/pt: Fix crash with stop filters in single-range mode 0f4dcaeaf6ae perf stat: Fix display of grouped aliased events 64e133ce280b perf: Copy perf_event_attr::sig_data on modification 9a60e92b76d6 kvm/arm64: rework guest entry logic 83071e2dad68 kvm: add guest_state_{enter,exit}_irqoff() aba976f96bbc rtc: cmos: Evaluate century appropriate 3b5fcdfab628 e1000e: Separate ADP board type from TGP b3a4d501e91c tools/resolve_btfids: Do not print any commands when building silently 7620887a7779 selftests: futex: Use variable MAKE instead of make c5610494fd45 selftests/exec: Remove pipe from TEST_GEN_FILES 5e457aeab52a bpf: Use VM_MAP instead of VM_ALLOC for ringbuf 62ab929a8f6b gve: fix the wrong AdminQ buffer queue index check 3611f4f91e11 nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client. 2f5a1ac68bdf scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe 0bb4c6b9ecff pinctrl: bcm2835: Fix a few error paths 3cdcfa3c526e pinctrl: intel: fix unexpected interrupt ca63438dc5c4 pinctrl: intel: Fix a glitch when updating IRQ flags on a preconfigured line d4036172ca3b pinctrl: sunxi: Fix H616 I2S3 pin data f00012885e70 ASoC: codecs: wcd938x: fix return value of mixer put function b54ff87a1567 ASoC: codecs: lpass-rx-macro: fix sidetone register offsets aa7152f9f117 ASoC: codecs: wcd938x: fix incorrect used of portid baead410e5db ASoC: max9759: fix underflow in speaker_gain_control_put() 263b947aa4c1 ASoC: cpcap: Check for NULL pointer after calling of_get_child_by_name 841e6a6b831b ASoC: simple-card: fix probe failure on platform component c6cf5b5078db ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes 9d44f73df070 ASoC: fsl: Add missing error handling in pcm030_fabric_probe 8a15ac1786c9 drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled 5cba71707f0a drm/i915/overlay: Prevent divide by zero bugs in scaling b2c91bee7970 drm/kmb: Fix for build errors with Warray-bounds a84854bc230a net: stmmac: ensure PTP time register reads are consistent 27ea34ead54a net: stmmac: dump gmac4 DMA registers correctly 0ced878998f2 net: macsec: Verify that send_sci is on when setting Tx sci explicitly e7a0b3a0806d net: macsec: Fix offload support for NETDEV_UNREGISTER event 2967b08119d5 net: stmmac: properly handle with runtime pm in stmmac_dvr_remove() 6358e093547c net: stmmac: dwmac-visconti: No change to ETHER_CLOCK_SEL for unexpected speed request. 0ef6049f6649 net/smc: Forward wakeup to smc socket waitqueue after fallback ea8ecd2d65b4 net: ieee802154: Return meaningful error codes from the netlink helpers 566bf0e1c761 netfilter: nft_reject_bridge: Fix for missing reply from prerouting 94cd597e20ed net: ieee802154: ca8210: Stop leaking skb's 6c6b19a99131 net: ieee802154: mcr20a: Fix lifs/sifs periods 29e60b77a449 net: ieee802154: hwsim: Ensure proper channel selection at probe time bb7a226780e2 IB/cm: Release previously acquired reference counter in the cm_id_priv 40e20ba90390 IB/hfi1: Fix tstats alloc and dealloc dd00b4f8f768 spi: uniphier: fix reference count leak in uniphier_spi_probe() 66606d329d61 spi: meson-spicc: add IRQ check in meson_spicc_probe 7352f2c26482 spi: mediatek: Avoid NULL pointer crash in interrupt 101a1cf8af55 spi: bcm-qspi: check for valid cs before applying chip select ca1f48c30e5b iommu/amd: Fix loop timeout issue in iommu_ga_log_enable() 336d096b62bd iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping() e4b74b89862c ALSA: hda: Skip codec shutdown in case the codec is not registered 0c5c64335657 ALSA: hda: Fix signedness of sscanf() arguments c2a91f1ef38a ALSA: usb-audio: initialize variables that could ignore errors 63c69c93d978 RDMA/mlx4: Don't continue event handler after memory allocation failure 035ea99c537d RDMA/siw: Fix broken RDMA Read Fence/Resume logic. 7d9ad6f9f38f IB/rdmavt: Validate remote_addr during loopback atomic tests 2989ba9532ba RDMA/siw: Fix refcounting leak in siw_create_qp() 2923948ffe08 RDMA/ucma: Protect mc during concurrent multicast leaves 7715682f357d RDMA/cma: Use correct address when leaving multicast group 0452c3dc851b KVM: arm64: Stop handle_exit() from handling HVC twice when an SError occurs e1e852746997 KVM: arm64: Avoid consuming a stale esr value when SError occur aff6657f5243 Revert "ASoC: mediatek: Check for error clk pointer" 9908c759a17e mptcp: fix msk traversal in mptcp_nl_cmd_set_flags() 778283dc2840 fbcon: Add option to enable legacy hardware acceleration 2a2629db4248 Revert "fbcon: Disable accelerated scrolling" a3dd4d2682f2 IB/hfi1: Fix AIP early init panic 24f8e12d965b dma-buf: heaps: Fix potential spectre v1 gadget f576721152fd block: bio-integrity: Advance seed correctly for larger interval sizes a5389c80992f mm/kmemleak: avoid scanning potential huge holes 65a4863a4ed5 mm/pgtable: define pte_index so that preprocessor could recognize it 120973e64db9 mm/debug_vm_pgtable: remove pte entry from the page table 90391ac6888e nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts() 2093ecf557e7 drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels 7ff0ed88e4eb drm/amd/display: watermark latencies is not enough on DCN31 4f4c77ad5a13 drm/amd/pm: correct the MGpuFanBoost support for Beige Goby 39ac3945d966 drm/i915/adlp: Fix TypeC PHY-ready status readout d877e814a62b drm/nouveau: fix off by one in BIOS boundary checking b9e9f848c82b Revert "fs/9p: search open fids first" a7b717fa1516 btrfs: fix use-after-free after failure to create a snapshot 89d4cca583fc btrfs: fix deadlock between quota disable and qgroup rescan worker f4b2736eeb62 btrfs: don't start transaction for scrub if the fs is mounted read-only 7ccf5849bef7 ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after reboot from Windows 9fc509f806a5 ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer chipset) b3625b0017a4 ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220 quirks 730f823e3c68 ALSA: hda/realtek: Add quirk for ASUS GU603 586d71ddee6c ALSA: hda: realtek: Fix race at concurrent COEF updates 0e629052f013 ALSA: hda: Fix UAF of leds class devs at unbinding 303e89f94b66 ALSA: usb-audio: Correct quirk for VF0770 b0a7836ecf13 ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx() e8e07c5e25a2 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx() 9e8895f1b3d4 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw() 10007bd96b6c ASoC: hdmi-codec: Fix OOB memory accesses 0b8b02903173 spi: stm32-qspi: Update spi registering 45ba0a5fa0a6 ipc/sem: do not sleep with a spin lock held b8d9e0aec158 audit: improve audit queue handling when "audit=1" on cmdline 70caa32e6d81 selinux: fix double free of cond_list on error paths d63d077fc446 drm/i915: Disable DSB usage for now f01ed5defb04 Linux 5.15.21 2b2f53331b3a Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" again a03d2f9f82bd Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" 8deae2f4172c Linux 5.15.20 e6b678c1a367 ovl: fix NULL pointer dereference in copy up warning c3d81231ab84 tcp: add missing tcp_skb_can_collapse() test in tcp_shift_skb_data() 34321180b94d af_packet: fix data-race in packet_setsockopt / packet_setsockopt 03f42c8ef64a e1000e: Handshake with CSME starts from ADL platforms 6be234917788 cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask() def5e7070079 rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink() f36cacd6c933 net: sched: fix use-after-free in tc_new_tfilter() 60765e43e40f fanotify: Fix stale file descriptor in copy_event_to_user() db6fd92316a2 net: amd-xgbe: Fix skb data length underflow 8cb5afa71033 net: amd-xgbe: ensure to reset the tx_timer_active flag b82364abc54b i40e: Fix reset path while removing the driver 047fc3396cc6 i40e: Fix reset bw limit when DCB enabled with 1 TC 86186352e36d ipheth: fix EOVERFLOW in ipheth_rcvbulk_callback 5ca77e0c5080 net/mlx5: E-Switch, Fix uninitialized variable modact 0ca746e2996b net/mlx5: Bridge, Fix devlink deadlock on net namespace deletion 5d575586c4b3 net/mlx5e: Don't treat small ceil values as unlimited in HTB offload f232acbb786f net/mlx5: Fix offloading with ESWITCH_IPV4_TTL_MODIFY_ENABLE 60c48abf62ca net/mlx5e: Fix module EEPROM query f895ebeb44d0 net/mlx5: Use del_timer_sync in fw reset flow of halting poll fe70126da606 net/mlx5e: Fix handling of wrong devices during bond netevent e882123e6e64 net/mlx5: Bridge, ensure dev_name is null-terminated c4e3cf1a8e48 net/mlx5: Bridge, take rtnl lock in init error handler 490292d08946 net/mlx5e: IPsec: Fix tunnel mode crypto offload for non TCP/UDP traffic 6dfc954efb98 lockd: fix failure to cleanup client locks cb5864bf93b2 lockd: fix server crash on reboot of client holding lock 559bc6ec873a ovl: don't fail copy up if no fileattr support on upper 9341457fdd0d Revert "mm/gup: small refactoring: simplify try_grab_page()" 4b1c32bfaa02 cgroup-v1: Require capabilities to set release_agent d5e81e3a3e0b drm/vc4: hdmi: Make sure the device is powered with CEC dffeeca9268b net: ipa: prevent concurrent replenish 5f4ed9829617 net: ipa: use a bitmap for endpoint replenish_enabled ee782b802ee0 selftests: mptcp: fix ipv6 routing setup 1db58c6584a7 PCI: pciehp: Fix infinite loop in IRQ handler upon power fault
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using relative path on the affected host fixes the issue as this is
always short, being in the same work dir. It would be harmless, and
useful to generally use the relative path for sysroot_stage_dir()
Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Beeger [Fri, 11 Feb 2022 12:57:14 +0000 (13:57 +0100)]
cmake: remove bogus CMAKE_LDFLAGS_FLAGS definition from toolchain file
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake. The variable CMAKE_LDFLAGS_FLAGS is spelled incorrectly, cmake expects
CMAKE_SHARED_LINKER_FLAGS, CMAKE_STATIC_LINKER_FLAGS, CMAKE_EXE_LINKER_FLAGS and
CMAKE_MODULE_LINKER_FLAGS to be set instead. As cmake already correctly initializes
these from environment there is no need to specify the linker flags in the toolchain
file at all. So this just removes the variable, as its value was also set wrong.
Signed-off-by: Martin Beeger <martin.beeger@online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 11 Feb 2022 17:42:03 +0000 (17:42 +0000)]
default-distrovars.inc: Switch connectivity check to a yoctoproject.org page
example.com is proving unreliable at present so switch to our own connectivity
page instead. That page is very simple avoiding app overhead on our web server
which was an original reason for switching to example.com.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 11 Feb 2022 17:28:07 +0000 (17:28 +0000)]
scriptutils: Fix handling of srcuri urls
Bitbake is now requiring there be a call to get_srcrev() when urls contain
floating revisions. This breaks some recipetool workflows since it is running
these queries to determine those revisions. Add a PV entry which triggers
that call to avoid the errors.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Marek Vasut [Sat, 29 Jan 2022 00:57:37 +0000 (01:57 +0100)]
kernel-fitimage: Add missing dependency for UBOOT_ENV
For $UBOOT_ENV file to appear in sysroot, virtual/bootloader
must populate sysroot first. Add the missing dependency.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Justin Bronder [Thu, 10 Feb 2022 20:23:22 +0000 (15:23 -0500)]
initramfs-framework: unmount automounts before switch_root
If mounts are left lingering, then after we switch_root, attempts to
modify the block devices will result in an EBUSY with no way to unmount
them. As we're about to switch_root anyways, there isn't much use to
keep anything mounted unless it has the new rootfs.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>