Commit Graph

70559 Commits

Author SHA1 Message Date
Sakib Sajal
0f9d412d42 go: Upgrade 1.20.4 -> 1.20.5
Upgrade to latest 1.20.x release:
go.git$ git log --oneline go1.20.4..go1.20.5
e827d41c0a (tag: go1.20.5) [release-branch.go1.20] go1.20.5
c0ed873cd8 [release-branch.go1.20] cmd/go: disallow package directories containing newlines
356a419e2f [release-branch.go1.20] cmd/go: enforce flags with non-optional arguments
fa60c381ed [release-branch.go1.20] cmd/go,cmd/cgo: in _cgo_flags use one line per flag
36144ba429 [release-branch.go1.20] runtime: implement SUID/SGID protections
5036ba77eb [release-branch.go1.20] net: skip TestFileFdBlocks if the "unix" network is not supported
b249ec5655 [release-branch.go1.20] cmd/go/internal: update documentation of go test and go generate
4b95fc1e6c [release-branch.go1.20] cmd/go: save checksums for go.mod files needed for go version lines
31a1e19a59 [release-branch.go1.20] net, os: net.Conn.File.Fd should return a blocking descriptor
450c8021a5 [release-branch.go1.20] runtime: change fcntl to return two values
22741120ee [release-branch.go1.20] runtime: consistently define fcntl
9270e3be8f [release-branch.go1.20] os: if descriptor is non-blocking, retain that in Fd method
600636e931 [release-branch.go1.20] crypto/rsa: use BoringCrypto for 4096 bit keys
afbe101950 [release-branch.go1.20] cmd/compile: fix bswap/load rewrite rules

(From OE-Core rev: 3ea1e9e9d7385c78bdd513e44cea5c36444529b2)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-09 13:55:21 +01:00
Vincent Davis Jr
bbec9829b1 vulkan-validation-layers: add new recipe v1.3.243.0
Add a recipe to build the Khronos official Vulkan validation
layers that can assist developers in verifying that their
applications correctly use the Vulkan APIs.

(From OE-Core rev: 35662be85affca2b4d19112d79dfcd9223f573b2)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-09 13:55:20 +01:00
Vincent Davis Jr
9f1711e8fd spirv-tools: fix INTERFACE_LINK_LIBRARIES cmake prop
The output of spirv-tools specifically SPIRV-ToolsTarget.cmake is
utilized in other recipes. If other recipe utilize cmake and include
SPIRV-Tools in target_link_libraries. I leads to errors such as

error: '../recipe-sysroot/usr/lib',
needed by 'layers/libVkLayer_khronos_validation.so',
missing and no known rule to make it

This is due to cmake pulling in the properties set in
SPIRV-ToolsTarget.cmake. Key property being
INTERFACE_LINK_LIBRARIES.

With the current setup do_install:append:class-target updates
SPIRV-ToolsTarget.cmake package installed file to bellow

set_target_properties(SPIRV-Tools PROPERTIES
    INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
    INTERFACE_LINK_LIBRARIES "${_IMPORT_PREFIX}/lib"
)

set_target_properties(SPIRV-Tools-shared PROPERTIES
    INTERFACE_COMPILE_DEFINITIONS "SPIRV_TOOLS_SHAREDLIB"
    INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
    INTERFACE_LINK_LIBRARIES "${_IMPORT_PREFIX}/lib"
)

If base_libdir isn't lib, but lib64 you get the error
described at the being of commit message as lib directory
doesn't exists.

Solution replace hardcoded "lib" with "${base_libdir}".

(From OE-Core rev: 2f959497efbba89a34ac1e15ceff32ab75e16c4a)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-09 13:55:20 +01:00
Anuj Mittal
1008774116 glib-2.0: upgrade 2.76.2 -> 2.76.3
(From OE-Core rev: 260bd5c7e69968eb2f58582f309fcadceca50bd2)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-09 13:55:20 +01:00
Ross Burton
03b693fd48 nettle: inherit lib_package
Nettle is primarily a library that ships some tools, so inherit the
lib_package class to package the tools in nettle-bin, and add a
dependency on it to nettle-ptest.

(From OE-Core rev: eacfc88e0efe534290205ca8e399629623d882aa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-09 13:55:20 +01:00
Ross Burton
098df1bd77 nettle: rewrite ptest integration
Instead of patching a relative path to an unversioned libnettle.so to be
a bare filename which then needs nettle-dev to be installed, create a
symlink in the expected place which points to the actual library. This
means nettle-ptest no longer needs to depend on nettle-dev.

Explicitly skip symbols-test, it has been silently failing as nm isn't
available and also needs a static libnettle.a to run.

Install two rsa-* example binaries that are needed for pkcs1-conv-test
to pass.

(From OE-Core rev: dc5cd169e8b9a0f9d9881f116a8d83706460bb7c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-09 13:55:20 +01:00
Petr Gotthard
5be5b6ee21 lighttpd: upgrade 1.4.69 -> 1.4.71
lighttpd 1.4.70 omits building separate (unused) modules for:
mod_access mod_alias mod_evhost mod_expire mod_fastcgi mod_indexfile
mod_redirect mod_rewrite mod_scgi mod_setenv mod_simple_vhost mod_staticfile
https://www.lighttpd.net/2023/5/10/1.4.70/

Therefore, the lighttpd-module-indexfile, lighttpd-module-staticfile and
lighttpd-module-access no longer exist and must be removed from
RDEPENDS and RRECOMMENDS.

lighttpd 1.4.71 split out the http/2 support into optional separate
module (mod_h2). By default the mod_h2 is not enabled.
https://www.lighttpd.net/2023/5/27/1.4.71/

(From OE-Core rev: ae40fb21a0f85ce02fc137c6e3cce2a90778d75f)

Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-09 13:55:20 +01:00
Richard Purdie
00f3d58064 selftest/reproducible: Allow native/cross reuse in test
We don't compare reproducibility of the native/cross components, only the
target ones. With the long build times of rust-native, the test now takes
crazy lengths of time so this tweak should allow us to reuse native/cross
artefacts from sstate whilst still testing the target output is
reproducible.

(From OE-Core rev: b494d83c639a877cefeb7cbab6d37195e492f059)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-07 23:41:20 +01:00
Trevor Gamblin
ad31564d41 python3-poetry-core: upgrade 1.5.2 -> 1.6.1
Changelog: https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md

Notably, the project replaced its use of tomlkit with tomli, so the
LICENSEs and associated checksums had to be changed.

(From OE-Core rev: 2e26af9c67ba0ceccdda3eb8340fddb95f3864ca)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-07 23:41:20 +01:00
Trevor Gamblin
b970e21017 python3-webcolors: upgrade 1.12 -> 1.13
Replaced the inherit of setuptools3 with python_setuptools_build_meta to
make the new version build.

Changelog (see https://webcolors.readthedocs.io/en/latest/changelog.html):

- Supported Python versions are now 3.7, 3.8, 3.9, 3.10, and 3.11
- The codebase was significantly reorganized and modernized. Public API
  is unchanged. Imports should continue to be directly from the
  top-level webcolors module; attempting to import from submodules is not
  supported.
- Now packaging declaratively via pyproject.toml with PEP 517 support
  from setuptools.

(From OE-Core rev: 434aaf5e02332a54a17a2812969165f6f6b3674b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-07 23:41:19 +01:00
Alex Kiernan
5035a8588b rust: Upgrade 1.69.0 -> 1.70.0
Drop 0035-cmake-Enable-64bit-off_t-on-32bit-glibc-systems.patch as this
is merged upstream in rust-llvm.

https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html

(From OE-Core rev: d1af583c290eb0cff5e36363f7531832a863a1a8)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-07 23:41:19 +01:00
Riyaz Khan
4a02a2a57a openssh: Remove BSD-4-clause contents completely from codebase
Below upstream commit removed BSD-4-Clause from the LICENSE variable,
Link: https://git.yoctoproject.org/poky/commit/?id=2c86f586d55d0f6b99053e3e4d14c9ee36fa8aa8
But actually if we check from the source code of the openssh for this
version (8.9p1), there are some files (openbsd-compat/libressl-api-compat.c)
still affected.

As upstream removed this BSD-4-clause license, there are still some files
has this license. Below file is affected by this BSD-4-clause contents when
the below command is executed
grep -rl "All advertising materials mentioning features or use of this software" *|grep -v \.1|grep -v \.5|grep -v \.8 | sort
openbsd-compat/libressl-api-compat.c

All advertising materials mentioning features or use of this software

Reason for backporting is some of the product restrict the BSD-4-Clause usage and the purpose of this commit is
to completely remove the BSD-4-Clause license from the openssh.

When checked in the master branch, openssh upstream removes the bsd-4 license compeletely from this commit
7280401bdd
Hence Backport this commit completely to remove license of BSD-4-clause contents from code. Hunks are refreshed.

(From OE-Core rev: d9045a7bc6d9acc137c292b60a8ce4d24f359a19)

Signed-off-by: Riyaz Khan <Riyaz.Khan@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-07 23:41:19 +01:00
Richard Purdie
cc97d775cb build-appliance-image: Update to master head revision
(From OE-Core rev: f7ed7ae854e49276750d1895593e0a2033714235)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.3_M1
2023-06-07 11:09:23 +01:00
Richard Purdie
581edf2012 poky: Enable spdx manifests by default
We're now in a position to enable SPDX manifests by default, do this
for poky.

(From meta-yocto rev: 511f2f60cc2637ebc06049f58acb4f68562b2fce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:31 +01:00
Frieder Paape
f7035ce464 image_types: Fix reproducible builds for initramfs and UKI img
I've encountered issues reproducing initramfs and UKI image builds,
which will be fixed with this patch.

1. initramfs
There's a symbolic link to /sbin/init, which is appended to the cpio archive after creation.
The links timestamp needs to be static and the cpio append command needs the '--reproducible' flag to produce deterministic outcomes.

2. Unified Kernel Image
'--preserve-dates' is required for a static 'Time/Date' entry.
I've added '--enable-deterministic-archives' although in my case this
didn't change anything.

(From OE-Core rev: fd027729bafb4e085ba0949e38e724f3a8cad102)

Signed-off-by: Frieder Paape <frieder@konvera.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Richard Purdie
06b5f249ce packagegroup: Handle SPDX signature issues
Packagegroups have "special" sstate signature behaviour in that they don't rebuild
when their dependencies do. This causes problems for SPDX task signatures. Since
packagegroups don't actually have any code in them, we don't need the standard
dependencies anyway so cancel out and allow the sstate signatures to function
correctly.

(From OE-Core rev: 5c4ed243c144e261eae5f2ccf5626371d87a8a43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Richard Purdie
72902feb0e sstatesig: Drop SPDX special casing
Other changes in create-spdx code mean we shouldn't need to do this now. We
need the various exclusions to allow the task hashes to behave correctly
for the SPDX tasks too.

(From OE-Core rev: 5e645ff3d02decba4ed7d082a0e41a2655862039)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Dmitry Baryshkov
e16d16ffa6 openssl: fix building on riscv32
On riscv32 configurations OpenSSL fails to build with "undefined
reference to `__atomic_foo'" kind of errors. Change OpenSSL recipe to
use linux-latomic configuration instead of linux-generic32.

(From OE-Core rev: e8ce80fc6d6579554bca2eba057e65d4b12c0793)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Ross Burton
6e6fdfd542 cve-extra-exclusions: add more linux-yocto CVE ignores
These CVEs have all been fixed <6.1.30, which is the default linux-yocto
kernel version.

(From OE-Core rev: 73f03970f0aadfb053666a1e93f6f6d5b5156ca6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Anuj Mittal
99e9f52216 glib-networking: upgrade 2.74.0 -> 2.76.0
(From OE-Core rev: 43505bcfc09c5951d333085f4cfdaadf2be0a1cf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Anuj Mittal
4570ef68d8 stress-ng: upgrade 0.15.07 -> 0.15.08
(From OE-Core rev: 4c56636b0cbeb7b280cec19283551369e8458284)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Anuj Mittal
93e2a68066 gstreamer1.0: upgrade 1.22.2 -> 1.22.3
(From OE-Core rev: 8ff5c4bfe46bb325535041a9127356ae425dbe5f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Victor Kamensky
207aed036d systemtap: upgrade 4.8 -> 4.9
SystemTap 4.9 release went out with a little hick up: release date was not
set correctly and fix for it was added as ebb424eee5599fcc131901c0d82d0bfc0d2f57ab
commit and tagged as 'release-4.9'. Unfortunately by that time 'master'
branch already has moved on, and it turns out that now 'release-4.9' tag does
not belong to any branch. On other hand OE SRC_URI does complain about git
uri without branch. To deal with it we will use SRCREV set to
418f0a45ca4473491385b5c7eef777607bbdb3b7, commit one that precedes
ebb424eee5599fcc131901c0d82d0bfc0d2f57ab, and add separate patch for
ebb424eee5599fcc131901c0d82d0bfc0d2f57ab as 0001-release-date-fix.patch.

Note for any future version move: please remove 0001-release-date-fix.patch

(From OE-Core rev: 2a10dc2a80a42368b222a7a832dd342a9c2d9d0a)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Richard Purdie
0498637354 v86d: Improve kernel dependency
Working with enabling SPDX, an issue was observerd where v86d wasn't rebuilding
when the kernel was changed from linux-yocto to linux-yocto-rt.

This is due to the code in sstatesig.py which was seeing the RRECOMMENDS on a
kernel module and ignoring the DEPENDS. The v86d is technically a kernel module
since it uses kernel header files.

There are two ways to address this, we could inherit the module-base class and
the dependency code does the correct thing. It appears the code doesn't look into
STAGING_KERNEL_DIR though and doesn't use the kernel sources. We can therefore drop
the DEPENDS and the code will the do the correct thing.

(From OE-Core rev: 37ccd11cb0b89416b8e23160445186269b6c0c8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:12 +01:00
Chen Qi
5eec70a456 qemurunner.py: fix error message about qmp
The error message is a little misleading as the qmp module is a
directory with __init__.py file, not qmp.py file. Also, put the
path where we try to import it from in the error message to make
the message more indicative.

(From OE-Core rev: 08bacbf797f6a50ae8abe8fc3455b3a15a0a94b3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:43 +01:00
Ross Burton
5131819228 binutils: fix CVE-2023-1972
Backport a patch from upstream to fix CVE-2023-1972.

(From OE-Core rev: 10d63933e3a30bfac2f6cec896460c22e04baadd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
83d458d958 git: upgrade to 2.39.3
This minor point release fixes CVE-2023-25652 and CVE-2023-29007.

(From OE-Core rev: 469c28924ab9debe810e3277b27ad936781e7ce5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
bcb0d3f385 ghostscript: upgrade to 10.01.1
Drop the merged fix for CVE-2023-28879.

(From OE-Core rev: 659b0cf41db00420366d0eca103f16922c2c5d72)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
816e0b9b84 pkgconf: upgrade 1.9.4 -> 1.9.5
(From OE-Core rev: fb9e05592e7c1c61a677d9cb842c9adc84689dde)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
ae980b4d65 piglit: upgrade to latest revision
(From OE-Core rev: 9d0cb9bbdddb7029f70a1c1aa9c81ea5f8cbfecd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
1e049e4e7a gtk+3: upgrade 3.24.37 -> 3.24.38
(From OE-Core rev: 7056611ae3bd356908b17201d35879024f2628c2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
a82397c2b9 vulkan-samples: fix build on 32-bit platforms
Backport a patch from upstream to fix the build on 32-bit platforms, and
remove the COMPATIBLE_HOST restriction.

(From OE-Core rev: f4f693ac3ba46373103f749f028ab296e6aeb085)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Bruce Ashfield
492e59b331 linux-yocto/6.1: update to v6.1.32
Updating  to the latest korg -stable release that comprises
the following commits:

    76ba310227d2 Linux 6.1.32
    cd51ba98aeaa tools headers UAPI: Sync the linux/in.h with the kernel sources
    2cd02ae65654 netfilter: ctnetlink: Support offloaded conntrack entry deletion
    55ce796e9b0a cpufreq: amd-pstate: Add ->fast_switch() callback
    c18f6919b4e7 cpufreq: amd-pstate: Update policy->cur in amd_pstate_adjust_perf()
    efc8ec1636fa block: fix bio-cache for passthru IO
    5d08604754e8 Revert "thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function"
    2333dbc88f38 bluetooth: Add cmd validity checks at the start of hci_sock_ioctl()
    6c1fad655b40 drm/amd: Don't allow s0ix on APUs older than Raven
    83a7f27c5b94 octeontx2-af: Add validation for lmac type
    3236221bb8e4 RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task"
    592af07ac0c8 wifi: iwlwifi: mvm: fix potential memory leak
    0c469078bde4 wifi: iwlwifi: mvm: support wowlan info notification version 2
    b5ceb6aac607 wifi: rtw89: correct 5 MHz mask setting
    07c8c1a3cfcf net: phy: mscc: enable VSC8501/2 RGMII RX clock
    7c95f56995c6 page_pool: fix inconsistency for page_pool_ring_[un]lock()
    7dccd5fa7edb net: page_pool: use in_softirq() instead
    cd3c5e4e0d60 vfio/type1: check pfn valid before converting to struct page
    6793a3c6326e blk-mq: fix race condition in active queue accounting
    fe735073a50e bpf, sockmap: Incorrectly handling copied_seq
    dd628fc697ee bpf, sockmap: Wake up polling after data copy
    ab90b68f650e bpf, sockmap: TCP data stall on recv before accept
    3a2129ebae35 bpf, sockmap: Handle fin correctly
    ba4fec5bd6f8 bpf, sockmap: Improved check for empty queue
    1e4e379ccde8 bpf, sockmap: Reschedule is now done through backlog
    9f4d7efb3345 bpf, sockmap: Convert schedule_work into delayed_work
    4ae2af3e59e2 bpf, sockmap: Pass skb ownership through read_skb
    49b5b5bfeef1 gpio-f7188x: fix chip name and pin count on Nuvoton chip
    085f27f48c84 net/mlx5: E-switch, Devcom, sync devcom events and devcom comp register
    3347ac7a8160 tls: rx: strp: preserve decryption status of skbs when needed
    ba93977437e7 tls: rx: strp: factor out copying skb data
    52a89de3e9f2 tls: rx: strp: force mixed decrypted records into copy mode
    c48b8399e430 tls: rx: strp: fix determining record length in copy mode
    ecd9f6ed9ed2 tls: rx: strp: set the skb->len of detached / CoW'ed skbs
    e734a693a24c tls: rx: device: fix checking decryption status
    b3e54fb3a35d platform/x86/amd/pmf: Fix CnQF and auto-mode after resume
    8e8c33cc89a0 selftests/bpf: Fix pkg-config call building sign-file
    ca39992f1048 firmware: arm_ffa: Fix usage of partition info get count flag
    3f5413c95445 ipv{4,6}/raw: fix output xfrm lookup wrt protocol
    6728486447ee inet: Add IP_LOCAL_PORT_RANGE socket option

(From OE-Core rev: 34ba408ca84839e82dba63e2f6b4673e8d5caaa2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Bruce Ashfield
59d6540022 linux-yocto/6.1: update to v6.1.31
Updating  to the latest korg -stable release that comprises
the following commits:

    d2869ace6eeb Linux 6.1.31
    2f32b89d8120 net: phy: mscc: add VSC8502 to MODULE_DEVICE_TABLE
    3bcb97e4241b 3c589_cs: Fix an error handling path in tc589_probe()
    9540765d1882 net/smc: Reset connection when trying to use SMCRv2 fails.
    be4022669e66 regulator: mt6359: add read check for PMIC MT6359
    22157f744581 firmware: arm_ffa: Set reserved/MBZ fields to zero in the memory descriptors
    1ae70faa86fd arm64: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay
    3e8a82fb55a6 net/mlx5: Devcom, serialize devcom registration
    eaa365c10459 net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device
    411e4d6caa7f net/mlx5: Collect command failures data only for known commands
    390aa5c006b3 net/mlx5: Fix error message when failing to allocate device memory
    59dd110ca241 net/mlx5: DR, Check force-loopback RC QP capability independently from RoCE
    b17294e7aa8c net/mlx5: Handle pairing of E-switch via uplink un/load APIs
    e501ab136691 net/mlx5: DR, Fix crc32 calculation to work on big-endian (BE) CPUs
    6f0dce5f7822 net/mlx5e: do as little as possible in napi poll when budget is 0
    00959a1bad58 net/mlx5e: Use correct encap attribute during invalidation
    362063df6cee net/mlx5e: Fix deadlock in tc route query code
    2051f762c508 net/mlx5e: Fix SQ wake logic in ptp napi_poll context
    47b4f741a3f6 platform/mellanox: mlxbf-pmc: fix sscanf() error checking
    04238c23853a forcedeth: Fix an error handling path in nv_probe()
    0392c9185d71 sctp: fix an issue that plpmtu can never go to complete state
    c9e09b070d0b cxl: Wait Memory_Info_Valid before access memory related info
    ad72cb5899ce ASoC: Intel: avs: Access path components under lock
    6ae9cf40b4e0 ASoC: Intel: avs: Fix declaration of enum avs_channel_config
    5eaaad19c82c ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg
    d8cfe5ccc98e x86/show_trace_log_lvl: Ensure stack pointer is aligned, again
    a7edc86e149e xen/pvcalls-back: fix double frees with pvcalls_new_active_socket()
    53384076f743 x86/pci/xen: populate MSI sysfs entries
    84b211b02894 ARM: dts: imx6qdl-mba6: Add missing pvcie-supply regulator
    225a5f394b09 coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet()
    55224690958c platform/x86: ISST: Remove 8 socket limit
    f34428b5a373 regulator: pca9450: Fix BUCK2 enable_mask
    ccc6e9ded63b fs: fix undefined behavior in bit shift for SB_NOUSER
    dfc5aaa57f52 firmware: arm_ffa: Fix FFA device names for logical partitions
    ad73dc7263ea firmware: arm_ffa: Check if ffa_driver remove is present before executing
    06ec5be89118 optee: fix uninited async notif value
    9c744c6ff238 power: supply: sbs-charger: Fix INHIBITED bit for Status reg
    71e60a58d7f6 power: supply: bq24190: Call power_supply_changed() after updating input current
    1f02bfd5d94c power: supply: bq25890: Call power_supply_changed() after updating input current or voltage
    57842035d298 power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize
    221f7cb12285 power: supply: bq27xxx: Ensure power_supply_changed() is called on current sign changes
    3c573e7910c6 power: supply: bq27xxx: Move bq27xxx_battery_update() down
    9108ede08d7a power: supply: bq27xxx: Add cache parameter to bq27xxx_battery_current_and_status()
    d952a1eaafcc power: supply: bq27xxx: Fix poll_interval handling and races on remove
    e65fee45687f power: supply: bq27xxx: Fix I2C IRQ race on remove
    d746fbf4f09c power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition
    e1073f81478f power: supply: mt6360: add a check of devm_work_autocancel in mt6360_charger_probe
    2ac38f130e5b power: supply: leds: Fix blink to LED on transition
    94373413e13d cifs: mapchars mount option ignored
    91dd8aab9c9f ipv6: Fix out-of-bounds access in ipv6_find_tlv()
    9bc1dbfd9158 lan966x: Fix unloading/loading of the driver
    1a9e80f757bb bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps
    177ee41f6162 bpf: Fix mask generation for 32-bit narrow loads of 64-bit fields
    a1d7c357f4dc octeontx2-pf: Fix TSOv6 offload
    4883d9e2a221 selftests: fib_tests: mute cleanup error message
    722af06e6100 drm: fix drmm_mutex_init()
    cc18b4685910 net: fix skb leak in __skb_tstamp_tx()
    8d81d3b0ed36 ASoC: lpass: Fix for KASAN use_after_free out of bounds
    53764a17f5d8 media: radio-shark: Add endpoint checks
    d5dba4b7bf90 USB: sisusbvga: Add endpoint checks
    09e9d1f52f97 USB: core: Add routines for endpoint checks in old drivers
    2a112f04629f udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated().
    ed66e6327a69 net: fix stack overflow when LRO is disabled for virtual interfaces
    c8fdf7feca77 fbdev: udlfb: Fix endpoint check
    d7fff52c99d5 debugobjects: Don't wake up kswapd from fill_pool()
    8694853768e3 irqchip/mips-gic: Use raw spinlock for gic_lock
    dc1b7641a989 irqchip/mips-gic: Don't touch vl_map if a local interrupt is not routable
    4ca6b06e9be2 x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms
    ed0ef89508d2 perf/x86/uncore: Correct the number of CHAs on SPR
    f3078be2febb drm/amd/amdgpu: limit one queue per gang
    34570f85a282 selftests/memfd: Fix unknown type name build failure
    931ea1ed31be binder: fix UAF of alloc->vma in race with munmap()
    e1e198eff1fb binder: fix UAF caused by faulty buffer cleanup
    d7cee853bcb0 binder: add lockless binder_alloc_(set|get)_vma()
    72a94f8c14a1 Revert "android: binder: stop saving a pointer to the VMA"
    7e6b8548549e Revert "binder_alloc: add missing mmap_lock calls when using the VMA"
    8069bcaa5b39 drm/amd/pm: Fix output of pp_od_clk_voltage
    6acfbdda4d06 drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7
    8756863c7fe0 drm/radeon: reintroduce radeon_dp_work_func content
    3897ac532af0 drm/mgag200: Fix gamma lut not initialized.
    3970ee926e7e dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type
    937264cd9aab btrfs: use nofs when cleaning up aborted transactions
    63e12910b7f5 gpio: mockup: Fix mode of debugfs files
    b49706d1799a parisc: Handle kprobes breakpoints only in kernel context
    5596e2ef5f1a parisc: Enable LOCKDEP support
    d935edd510d7 parisc: Allow to reboot machine after system halt
    c49ffd89b66e parisc: Fix flush_dcache_page() for usage from irq context
    c0993b463fe7 parisc: Handle kgdb breakpoints only in kernel context
    e1f14a407140 parisc: Use num_present_cpus() in alternative patching code
    bd90ac0002d1 xtensa: add __bswap{si,di}2 helpers
    522bbbfcb612 xtensa: fix signal delivery to FDPIC process
    084566050891 m68k: Move signal frame following exception on 68020/030
    6147745d43ff net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
    da1e8adab366 ASoC: rt5682: Disable jack detection interrupt during suspend
    72c28207c19c power: supply: bq25890: Fix external_power_changed race
    0456b912121e power: supply: axp288_fuel_gauge: Fix external_power_changed race
    7d5e0150eeec mmc: block: ensure error propagation for non-blk
    a24aec210aa5 mmc: sdhci-esdhc-imx: make "no-mmc-hs400" works
    0d97634ad498 SUNRPC: Don't change task->tk_status after the call to rpc_exit_task
    40599969ff58 ALSA: hda/realtek: Enable headset onLenovo M70/M90
    7d3d306f159e ALSA: hda: Fix unhandled register update during auto-suspend period
    5222e81afa26 ALSA: hda/ca0132: add quirk for EVGA X299 DARK
    688c9af6e5fc platform/x86/intel/ifs: Annotate work queue on stack so object debug does not complain
    c26b9e193172 x86/mm: Avoid incomplete Global INVLPG flushes
    4eb600f386ef arm64: Also reset KASAN tag if page is not PG_mte_tagged
    8bdf47f9dbea ocfs2: Switch to security_inode_init_security()
    28ee628fff1e drm/amd/display: hpd rx irq not working with eDP interface
    7bfd4c0ebcb4 net: dsa: mv88e6xxx: Add RGMII delay to 88E6320
    66ede2e4235f platform/x86: hp-wmi: Fix cast to smaller integer type warning
    0dbc898f5917 skbuff: Proactively round up to kmalloc bucket size
    ac2f5739fdca drm/amdgpu/mes11: enable reg active poll
    a2fe4534bb38 drm/amd/amdgpu: update mes11 api def
    ae9e65319f99 watchdog: sp5100_tco: Immediately trigger upon starting.
    7cd46930b8bf tpm: Prevent hwrng from activating during resume
    25d38d5eaa1f tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM drivers
    e76f61a2c523 tpm, tpm_tis: startup chip before testing for interrupts
    9953dbf65f92 tpm_tis: Use tpm_chip_{start,stop} decoration inside tpm_tis_resume
    c5a5d33886a7 tpm, tpm_tis: Only handle supported interrupts
    5c4c8075bc8a tpm, tpm_tis: Avoid cache incoherency in test for interrupts
    1ec145277a26 usb: dwc3: fix gadget mode suspend interrupt handler issue

(From OE-Core rev: d03ecad7bd2997654d2a623b59b409ff0c0f363b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Richard Purdie
511d007248 oeqa/selftest/wic: Fix host contamination issue
If wic.Wic2.test_gpt_partition_name is run on a system without sfdisk, the test
will currently fail. As done in another test, it needs to use sfdisk from the
wic-tools sysroot. This patch fixes that host contamination issue.

(From OE-Core rev: 6f9200cc30d50888b9b63103824880abaf8b5eea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
9a106486ad ninja: ignore CVE-2021-4336, wrong ninja
(From OE-Core rev: c2dd2c13ff26c3f046e35a2f6b8afeb099ef422a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-05 16:54:10 +01:00
Michael Opdenacker
351aa3ea85 bitbake: bitbake-user-manual: document "network" task flag
This addresses [YOCTO #15127]

(Bitbake rev: 6abdc81dec06a362bfbcc06d69b90b96bd9bef01)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:43:19 +01:00
Michael Opdenacker
dfd7c62834 bitbake: bitbake-user-manual: update releases.rst
- Move "langdale" link to outdated section
- Add link to "mickledore" manual
- Fix typo in "kirkstone" name

(Bitbake rev: 29774ec6e6f08e9ec0dee5e75c97e750ed055d6e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:43:19 +01:00
Tom Isaacson
5be9f4ad77 sdk-manual: fix Makefile example
"module.h" should be part of the dependency line
Space fixes too

(From yocto-docs rev: ad24794b095b17beee8e7bdb0b8c92ae72c6e5b0)

Signed-off-by: Tom Isaacson <tom.isaacson@teknique.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Ulrich Ölmann
9f3a49c3ad ref-manual: classes.rst: fix typo
(From yocto-docs rev: 93db28cda2ea8251735c86aa3edc862846a33642)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Daniel Ammann
53c035e5e3 overview-manual: concepts.rst: Fix a typo
(From yocto-docs rev: 8a940247c32bf24f6b5fdd0c6559d6d9c2708cd6)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Michael Opdenacker
fcaf9c6887 manuals: document SPLASH_IMAGES variable
(From yocto-docs rev: a30204ade74a93077017e3c5e1167102a0213983)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Michael Opdenacker
9c201d951c ref-manual: document SPLASH variable
(From yocto-docs rev: d32029dd3ce4a66e2fb403a778f748f4a1d52bcc)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Lee Chee Yang
df91611f73 migration-guides: add release notes for 4.2.1
(From yocto-docs rev: 55b091c3cf2d9feefe7cf45df14dd50ce1f7baab)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Joshua Watt
034762abbd classes/create-spdx-2.2: Make license errors fatal
Otherwise the task is still put into sstate, which means the error can
effectively be hidden by ignoring it.

(From OE-Core rev: 9d00f3ba4555510cf9525f4f6f186bf8a1371cee)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Richard Purdie
c47ba43785 oeqa/selftest/sstatetests: Add easier debug option
In order to debug these selftest failures you end up having to comment out
the file cleanup. Make this an option at the top of the file to make it
a bit easier, I've had to do this too many times now.

(From OE-Core rev: ae69d48b0e5b58b18553a6b3cd03ffbd3f369aa3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Richard Purdie
e2a71c7d25 selftest/incompatible_lic: Ensure create_sdpx isn't used with the tests
The SPDX class doens't get on well with non-standard licenses. Disable it for
the purposes of this test to avoid errors.

Add a new helper function to the core test code to allow this to be done easily.

(From OE-Core rev: b9fb4c68f2ab5becb0a10418884e09dee93cd247)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Richard Purdie
7c0d6ee5b1 layer.conf: Add missing dependency exclusion
Add a dependency which should have been in this list but wasn't, found
when debugging create-spdx hash issues.

(From OE-Core rev: 1075b9fc5d562dada45b3187cb737511ff8c7376)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Richard Purdie
e16c5bfdc5 create-spdx-2.2: Add missing variable exclusions
Some variables cause issues with taskhashes and are accounted for in the
output in other ways, or don't affect it. Exclude these to improve the
taskhashes with create-spdx and allow the sstate selftests to work better.

(From OE-Core rev: e7daaa50af4ccd5ccb568f7a380ded18c7f74ab0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Richard Purdie
8fa72c0e91 create-spdx-2-2: Fix packagedata usage to work with SDK packages
There are two seperate PKGDATA_DIR directories, one for the target and one for
the SDK. Rather than fail when a package can't be found, try the SDK first.

We use a datastore copy to keep the code simple, rather than havng to parameterise
all the packagedata functions.

(From OE-Core rev: 701d8f975c89dc6753188fbcf9d4883650ba5b58)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00