]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
21 months agosanity.bbclass: Check for additional native perl modules.
Philip Balister [Wed, 3 Jan 2024 11:20:07 +0000 (06:20 -0500)] 
sanity.bbclass: Check for additional native perl modules.

Since we use the build systems native perl, we need to check that all
perl modules required for a build are installed. For a default Fedora 39
install, autoconf-native and libxcrypt both fail to build due to missing
perl modules. After taking careful notes, this commits adds checks for
File::Compare, File::Copy, open, and FindBin.

[YOCTO #14691]

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agoscripts/runqemu: fix regex escape sequences
Trevor Gamblin [Tue, 2 Jan 2024 16:52:58 +0000 (11:52 -0500)] 
scripts/runqemu: fix regex escape sequences

When invoking runqemu with Python 3.12, the following warning is
encountered:

|SyntaxWarning: invalid escape sequence '\.'

This is because the interpreter scans the string before it is processed
by the regex module, and it interprets the backslash as part of an
escape sequence, but not a standard one. This will be registered as an
error rather than a warning in future Python versions. To avoid the it,
simply add an extra backslash so that Python doesn't misinterpret the
string, while the regex parser still sees an escaped '.' character.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agodevtool: use straight print in check-upgrade-status output
Chen Qi [Tue, 2 Jan 2024 08:40:02 +0000 (16:40 +0800)] 
devtool: use straight print in check-upgrade-status output

'devtool check-upgrade-status' is for reporting upgradable
status for recipes. The output should always be printed out. So
we should just use 'print' instead of 'logger.info' as the latter
will be suppressed if '-q' parameter is supplied to devtool.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agopatchtest: Add test for deprecated CVE_CHECK_IGNORE
Simone Weiß [Mon, 11 Dec 2023 16:45:53 +0000 (16:45 +0000)] 
patchtest: Add test for deprecated CVE_CHECK_IGNORE

If a recipes was modified recommand the use of `CVE_STATUS` instead if
`CVE_CHECK_IGNORE` is used. This is a depreacted variable and will
result in a warning from the cve-check.class and should hence not be
used anymore. [YOCTO #15311]

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agoaspell: upgrade 0.60.8 -> 0.60.8.1
Wang Mingyu [Fri, 29 Dec 2023 03:25:44 +0000 (11:25 +0800)] 
aspell: upgrade 0.60.8 -> 0.60.8.1

CVE-2019-25051.patch
removed since it's included in 0.60.8.1

Changelog:
============
-Fix memory leak in suggestion code introduced in 0.60.8.
-Various documentation fixes.
-Fix various warnings when compiling with -Wall.
-Fix two buffer overflows found by Google's OSS-Fuzz.
-Other minor updates.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agosystemd-boot: Add recipe to compile native
Viswanath Kraleti [Thu, 28 Dec 2023 15:47:10 +0000 (21:17 +0530)] 
systemd-boot: Add recipe to compile native

systemd-boot native recipe provides ukify tool to build
UKI images for systemd-boot

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agoautoconf: Add missing perl modules to RDEPENDS
Deepthi Hemraj [Thu, 28 Dec 2023 14:08:00 +0000 (06:08 -0800)] 
autoconf: Add missing perl modules to RDEPENDS

In SDK,running "x86_64-poky-linux-gp-display-html --help" fails due to missing perl modules which are required for it to work.

Fixes:Can't locate feature.pm in @INC (you may need to install the feature module).

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agokmscube: Upgrade to latest revision
Fabio Estevam [Tue, 26 Dec 2023 12:38:10 +0000 (09:38 -0300)] 
kmscube: Upgrade to latest revision

Upgrade to the latest kmscube revision.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agorust: Upgrade 1.74.0 -> 1.74.1
Alex Kiernan [Fri, 29 Dec 2023 11:44:35 +0000 (11:44 +0000)] 
rust: Upgrade 1.74.0 -> 1.74.1

https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agorust: Upgrade 1.73.0 -> 1.74.0
Alex Kiernan [Fri, 29 Dec 2023 11:44:34 +0000 (11:44 +0000)] 
rust: Upgrade 1.73.0 -> 1.74.0

Replace musl fixes with backports from upstream.

Add sysconfdir to config.toml to fix:

| thread 'main' panicked at install.rs:92:9:
| User doesn't have write access on `install.sysconfdir` path in `config.toml`.

https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agorust: Upgrade 1.72.1 -> 1.73.0
Alex Kiernan [Fri, 29 Dec 2023 11:44:33 +0000 (11:44 +0000)] 
rust: Upgrade 1.72.1 -> 1.73.0

https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agorust: Upgrade 1.72.0 -> 1.72.1
Alex Kiernan [Fri, 29 Dec 2023 11:44:32 +0000 (11:44 +0000)] 
rust: Upgrade 1.72.0 -> 1.72.1

https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agorust: Upgrade 1.71.1 -> 1.72.0
Alex Kiernan [Fri, 29 Dec 2023 11:44:31 +0000 (11:44 +0000)] 
rust: Upgrade 1.71.1 -> 1.72.0

Drop getrandom-open64.patch (merged upstream).

Revert https://github.com/rust-lang/cc-rs/commit/c4f414f449bb7cffba3bc923f277704d1d08a8ec
("Map source absolute paths to OUT_DIR as relative. (#684)") which
causes hashed versions of the build path to be used as part of the
filename of generated objects and hence reproducibility issues.

https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agozvariant: Drop recipe
Alex Kiernan [Fri, 29 Dec 2023 11:44:30 +0000 (11:44 +0000)] 
zvariant: Drop recipe

This fails to build with newer rust

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agodevtool: selftest: Swap to hello-rs for crates testing
Alex Kiernan [Fri, 29 Dec 2023 11:44:29 +0000 (11:44 +0000)] 
devtool: selftest: Swap to hello-rs for crates testing

zvariant fails to build with newer rust

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agometa-selftest: hello-rs: Simple rust test recipe
Alex Kiernan [Fri, 29 Dec 2023 11:44:28 +0000 (11:44 +0000)] 
meta-selftest: hello-rs: Simple rust test recipe

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agodevtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check
Alex Kiernan [Fri, 29 Dec 2023 11:44:27 +0000 (11:44 +0000)] 
devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check

The recipe being tested is in `testrecipe`, use that rather than the
literal `zvariant`.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agodevtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality
Alex Kiernan [Fri, 29 Dec 2023 11:44:26 +0000 (11:44 +0000)] 
devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality

test_devtool_modify_git_crates_subpath expects 2 or more git URIs,
change the test from Greater to GreateEqual.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agocurl: Disable test 1091 due to intermittent failures
Richard Purdie [Thu, 28 Dec 2023 22:58:36 +0000 (22:58 +0000)] 
curl: Disable test 1091 due to intermittent failures

Disable another test that intermittently fails on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agopython3-lxml: upgrade 4.9.3 -> 4.9.4
Wang Mingyu [Wed, 27 Dec 2023 13:11:43 +0000 (21:11 +0800)] 
python3-lxml: upgrade 4.9.3 -> 4.9.4

Changelog:
===========
* LP#2046398: Inserting/replacing an ancestor into a node's children could loop indefinitely.
* LP#1980767, GH#379: "TreeBuilder.close()" could fail with a "TypeError" after
  parsing incorrect input.
* LP#1522052: A file-system specific test is now optional and should no longer fail
  on systems that don't support it.
* Wheels include zlib 1.3, libxml2 2.10.3 and libxslt 1.1.39
  (zlib 1.2.12, libxml2 2.10.3 and libxslt 1.1.37 on Windows).
* Built with Cython 0.29.37.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agopython3-importlib-metadata: upgrade 7.0.0 -> 7.0.1
Wang Mingyu [Wed, 27 Dec 2023 13:10:53 +0000 (21:10 +0800)] 
python3-importlib-metadata: upgrade 7.0.0 -> 7.0.1

Changelog:
==========
-Corrected the interface for SimplePath to encompass the expectations of
 locate_file and PackagePath.
-Fixed type annotations to allow strings.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agopython3-hatchling: upgrade 1.20.0 -> 1.21.0
Wang Mingyu [Wed, 27 Dec 2023 13:10:05 +0000 (21:10 +0800)] 
python3-hatchling: upgrade 1.20.0 -> 1.21.0

Changelog:
 Add parent context modifier for path fields

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agopython3-dbusmock: upgrade 0.30.0 -> 0.30.1
Wang Mingyu [Wed, 27 Dec 2023 13:09:29 +0000 (21:09 +0800)] 
python3-dbusmock: upgrade 0.30.0 -> 0.30.1

Changelog:
============
-bluez: Clean up static default properties, re-drop PairDevice() class_ parameter
-Add pre-commit rules

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agopython3-setuptools: upgrade 69.0.2 -> 69.0.3
Wang Mingyu [Wed, 27 Dec 2023 13:08:52 +0000 (21:08 +0800)] 
python3-setuptools: upgrade 69.0.2 -> 69.0.3

0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
refreshed for 69.0.3

Changelog:
 Retain valid names with underscores in egg_info.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agofontconfig: upgrade 2.14.2 -> 2.15.0
Wang Mingyu [Wed, 27 Dec 2023 13:08:17 +0000 (21:08 +0800)] 
fontconfig: upgrade 2.14.2 -> 2.15.0

License-Update: Add FC_FONT_WRAPPER

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agodhcpcd: upgrade 10.0.5 -> 10.0.6
Wang Mingyu [Wed, 27 Dec 2023 13:07:30 +0000 (21:07 +0800)] 
dhcpcd: upgrade 10.0.5 -> 10.0.6

0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch
0001-remove-INCLUDEDIR-to-prevent-build-issues.patch
refreshed for 10.0.6

Changelog:
==========
-privsep: Stop proxying stderr to console and fix some detachment issues
-non-privsep: Fix launcher hangup
-DHCP6: Allow the invalid interface name - to mean don't assign an address from a delegated prefix
-DHCP6: Load the configuration for the interface being activated from prefix delegation

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agogstreamer1.0: upgrade 1.22.7 -> 1.22.8
Wang Mingyu [Wed, 27 Dec 2023 13:06:47 +0000 (21:06 +0800)] 
gstreamer1.0: upgrade 1.22.7 -> 1.22.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agoiputils: upgrade 20221126 -> 20231222
Wang Mingyu [Wed, 27 Dec 2023 13:06:10 +0000 (21:06 +0800)] 
iputils: upgrade 20221126 -> 20231222

Changelog:
===========
- fix: Properly fix -Wpedantic warnings
- fix: Set ppoll timeout minimum to 1ms
  #459)
- fix: Revert "ping: use random value for the identifier field" to use PID
  again
- fix: Fix support for DSCP (Traffic Class, option -Q)
- fix: Fix the errno handling for strtod
- fix: Drop redundant setsockopt(IPV6_TCLASS) call
- fix: Fix overflow on negative -i
- fix: Fix sporadically missing DNS record on targets with multiple IP
  addresses
- fix: Handle interval correctly in the first second after booting
- fix: Fix presentation of IPv6 addresses with no reverse DNS
- fix: Add missing whitespace in IPv6 output
- fix: Allow to localize help
- fix: Use print target when empty ai_canonname
- fix: Restore the MTU probing behavior")

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agotzdata: Upgrade to 2023d
Shubham Kulkarni [Tue, 26 Dec 2023 17:00:54 +0000 (22:30 +0530)] 
tzdata: Upgrade to 2023d

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agooeqa/selftest/sstatetests: Update sstate management script tests to python script
Richard Purdie [Sat, 30 Dec 2023 00:35:17 +0000 (00:35 +0000)] 
oeqa/selftest/sstatetests: Update sstate management script tests to python script

Now we've switched to the python script, update the tests to match
that by removing the now unneeded parameter.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agoscripts: Drop shell sstate-cache-management
Richard Purdie [Thu, 28 Dec 2023 10:57:20 +0000 (10:57 +0000)] 
scripts: Drop shell sstate-cache-management

Since there is a faster python version, drop the slower shell one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 months agopackage.py: OEHasPackage: Add MLPREFIX to packagename
Saul Wold [Sun, 24 Dec 2023 01:12:07 +0000 (17:12 -0800)] 
package.py: OEHasPackage: Add MLPREFIX to packagename

FIXES [YOCTO #12342]

When testing a Multilib image, the package manifest list contains
the fully qualified package name which includes the Multilib Prefix.
This patch adds the MLPREFIX to the package names that are passed
into the @OEHasPackage() decorator to ensure the set isdisjoint()
matches correctly.

Signed-off-by: Saul Wold <sgw@bigsur.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
21 months agosstate-cache-management: Rewrite in python
Alex Kiernan [Sat, 23 Dec 2023 14:31:18 +0000 (14:31 +0000)] 
sstate-cache-management: Rewrite in python

This (should be) a drop in replacement for sstate-cache-management.sh.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agooeqa/selftest/prservice: Improve test robustness
Richard Purdie [Fri, 22 Dec 2023 13:47:39 +0000 (13:47 +0000)] 
oeqa/selftest/prservice: Improve test robustness

The tests were not cleaning up after themselves and making assumptions about
memory resident bitbake being stopped by the scripts.

Add cleanup logic to ensure the tests don't break other things and
clean up created files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolib/prservice: Improve lock handling robustness
Richard Purdie [Thu, 21 Dec 2023 15:14:37 +0000 (15:14 +0000)] 
lib/prservice: Improve lock handling robustness

It is possible we could crash holding a lock whilst parsing in this code.
Switch to use utils.fileslocked() in the with expression to avoid this.

This may be causing some of our strange intermittent failures in PRServ
tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoclasses-global/insane: Look up all runtime providers for file-rdeps
Joshua Watt [Wed, 20 Dec 2023 18:02:35 +0000 (11:02 -0700)] 
classes-global/insane: Look up all runtime providers for file-rdeps

Uses the new foreach_runtime_provider_pkgdata() API to look up all
possible runtime providers of a given dependency when resolving
file-rdeps. This allows the check to correctly handle RPROVIDES for
non-virtual dependencies

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolib/packagedata.py: Add API to iterate over rprovides
Joshua Watt [Wed, 20 Dec 2023 18:02:34 +0000 (11:02 -0700)] 
lib/packagedata.py: Add API to iterate over rprovides

Adds an API that makes it easier to iterate over the package data for a
all providers of a runtime dependency.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolibseccomp: remove redundant PV assignment
Ross Burton [Fri, 22 Dec 2023 13:44:54 +0000 (13:44 +0000)] 
libseccomp: remove redundant PV assignment

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoclasses-global/sstate: Fix variable typo
Joshua Watt [Fri, 22 Dec 2023 22:41:09 +0000 (15:41 -0700)] 
classes-global/sstate: Fix variable typo

The vardepsexclude was subtly wrong in that it referenced STATE_MANMACH
when the actual variable name is SSTATE_MANMACH.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agouninative-tarball.xz - reproducibility fix
Robert Berger [Fri, 30 Jun 2023 13:14:30 +0000 (15:14 +0200)] 
uninative-tarball.xz - reproducibility fix

added --clamp-mtime --mtime to the tar command

see:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15148

Signed-off-by: Robert Berger <Robert.Berger@ReliableEmbeddedSystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoarchiver.bbclass: Drop tarfile module to improve performance
Robert Yang [Fri, 22 Dec 2023 07:31:49 +0000 (23:31 -0800)] 
archiver.bbclass: Drop tarfile module to improve performance

* The tarfile module doesn't support xz options or environment varible
  XZ_DEFAULTS, this makes do_ar_patched incrediblely slow when the file is
  large, for example, chromium-x11 is about 3GB:
  - "bitbake chromium-x11 -car_patched" hasn't been done after 3 hours on my
     host, I checked the partial tar.xz file is only 1.5GB, so maybe more than 6
     hours is required to complete the task.

  - Now only less than 4 minutes is needed on the same host.

* Need add xz to HOSTTOOLS when archiver.bbclass is enabled and compression is xz.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-maturin: Add missing space appending to CFLAGS
Renat Khalikov [Thu, 21 Dec 2023 21:57:33 +0000 (14:57 -0700)] 
python3-maturin: Add missing space appending to CFLAGS

When the CFLAGS variable is appended to, the missing space causes build
errors when CFLAGS was set previously.

For example:

  error: unrecognized command-line option '-mno-unaligned-access-fdebug-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home'

Signed-off-by: Renat Khalikov <renat_khalikov@trimble.com>
CC: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolibdrm: Upgrade to 2.4.119
Fabio Estevam [Thu, 21 Dec 2023 17:41:35 +0000 (14:41 -0300)] 
libdrm: Upgrade to 2.4.119

Upgrade to 2.4.119 which has the following changes:

Marek Olšák (2):
      amdgpu: add amdgpu_va_get_start_addr
      meson: bump libdrm version to 2.4.119

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolinux/cve-exclusion6.1: Update to latest kernel point release
Richard Purdie [Sat, 23 Dec 2023 08:45:07 +0000 (08:45 +0000)] 
linux/cve-exclusion6.1: Update to latest kernel point release

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolinux-yocto/6.1: update to v6.1.68
Bruce Ashfield [Thu, 21 Dec 2023 14:25:09 +0000 (09:25 -0500)] 
linux-yocto/6.1: update to v6.1.68

Updating  to the latest korg -stable release that comprises
the following commits:

    ba6f5fb46511 Linux 6.1.68
    f38b4e99e24c drm/i915: Skip some timing checks on BXT/GLK DSI transcoders
    d9ef7b05ccd7 drm/i915/sdvo: stop caching has_hdmi_monitor in struct intel_sdvo
    cf70d62ace90 drm/i915/lvds: Use REG_BIT() & co.
    e6d55cf49399 drm/i915/display: Drop check for doublescan mode in modevalid
    9c322aaf28e8 riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE
    189c2a82933c netfilter: nft_set_pipapo: skip inactive elements during set walk
    b4e440cf600e MIPS: Loongson64: Enable DMA noncoherent support
    d52a5178cbdc MIPS: Loongson64: Handle more memory types passed from firmware
    8d18a0158546 MIPS: Loongson64: Reserve vgabios memory on boot
    2b9b2d28a92a KVM: SVM: Update EFER software model on CR0 trap for SEV-ES
    6d6314c3dbac KVM: s390/mm: Properly reset no-dat
    be297475cabc MIPS: kernel: Clear FPU states when setting up kernel threads
    358bd5f436d8 cifs: Fix flushing, invalidation and file size with FICLONE
    18b02e4343e8 cifs: Fix flushing, invalidation and file size with copy_file_range()
    69540c108d72 USB: gadget: core: adjust uevent timing on gadget unbind
    2467f4f8cb7c x86/CPU/AMD: Check vendor in the AMD microcode callback
    0553d5290879 devcoredump: Send uevent once devcd is ready
    74799b43d856 serial: 8250_omap: Add earlycon support for the AM654 UART controller
    d59dafa9eb12 serial: 8250: 8250_omap: Do not start RX DMA on THRI interrupt
    638a6cbacefd serial: 8250: 8250_omap: Clear UART_HAS_RHR_IT_DIS bit
    f434703fb893 serial: sc16is7xx: address RX timeout interrupt errata
    a8027753ab65 ARM: PL011: Fix DMA support
    c909ce57d055 usb: typec: class: fix typec_altmode_put_partner to put plugs
    b12ccef70545 smb: client: fix potential NULL deref in parse_dfs_referrals()
    f48430635b5e Revert "xhci: Loosen RPM as default policy to cover for AMD xHC 1.1"
    9ce109b74875 cifs: Fix non-availability of dedup breaking generic/304
    8e25331ea560 parport: Add support for Brainboxes IX/UC/PX parallel cards
    bee9affd37b9 serial: 8250_dw: Add ACPI ID for Granite Rapids-D UART
    16da1f84f5ef usb: gadget: f_hid: fix report descriptor allocation
    c8bf22e0d049 drm/amdgpu: Update EEPROM I2C address for smu v13_0_0
    87509778718c drm/amdgpu: Add I2C EEPROM support on smu v13_0_6
    4ccb34d4313b drm/amdgpu: simplify amdgpu_ras_eeprom.c
    af6b1f1156fc drm/amdgpu: Return from switch early for EEPROM I2C address
    a3049c9a3013 drm/amdgpu: Remove second moot switch to set EEPROM I2C address
    30289057ef8f drm/amdgpu: Add support for RAS table at 0x40000
    c67c553b4dd9 drm/amdgpu: Decouple RAS EEPROM addresses from chips
    ee9efcdc76af drm/amdgpu: Remove redundant I2C EEPROM address
    a945568638ac drm/amdgpu: Add EEPROM I2C address support for ip discovery
    f549f837b9ac drm/amdgpu: Update ras eeprom support for smu v13_0_0 and v13_0_10
    458affed0619 drm/amdgpu: correct the amdgpu runtime dereference usage count
    41c5dd545e76 drm/amd/amdgpu: Fix warnings in amdgpu/amdgpu_display.c
    613eaee4459d drm/amdgpu: fix memory overflow in the IB test
    1705927a1073 gpiolib: sysfs: Fix error handling on failed export
    4b716fcacd2a x86/sev: Fix kernel crash due to late update to read-only ghcb_version
    06dec254c59a perf: Fix perf_event_validate_size()
    b0c195a825d4 arm64: dts: mt8183: kukui: Fix underscores in node names
    8a3d746c7ec5 arm64: dts: mediatek: add missing space before {
    5656634ce01e parisc: Fix asm operand number out of range build error in bug table
    f9e9e156dbbb parisc: Reduce size of the bug_table on 64-bit kernel by half
    8479f5ca8b6c tracing: Stop current tracer when resizing buffer
    df4aa7e84d00 tracing: Set actual size after ring buffer resize
    07ad456e1c02 ring-buffer: Force absolute timestamp on discard of event
    40421e0cf34e LoongArch: BPF: Don't sign extend function return value
    ebb09d58dfe7 LoongArch: BPF: Don't sign extend memory load operand
    066dcd87b94c misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
    d78789ba2195 misc: mei: client.c: return negative error code in mei_cl_write
    672976c28e1b hwtracing: hisi_ptt: Add dummy callback pmu::read()
    0b80e6af0d90 coresight: etm4x: Remove bogous __exit annotation for some functions
    766b29f6141a coresight: etm4x: Make etm4_remove_dev() return void
    920f84a6e8e9 binder: fix memory leaks of spam and pending work
    18847b6bba36 arm64: dts: mediatek: mt8183-evb: Fix unit_address_vs_reg warning on ntc
    c428285eab3c arm64: dts: mediatek: mt8183: Move thermal-zones to the root node
    bdd7508661fc arm64: dts: mediatek: mt8183: Fix unit address for scp reserved memory
    66398d18565d arm64: dts: mediatek: mt8195: Fix PM suspend/resume with venc clocks
    e1d4f02a68d3 arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names
    ff566a8d765f arm64: dts: mediatek: cherry: Fix interrupt cells for MT6360 on I2C7
    6d50aa965650 arm64: dts: mediatek: mt8183-kukui-jacuzzi: fix dsi unnecessary cells properties
    c2adea319187 arm64: dts: mediatek: mt7622: fix memory node warning check
    515d971cd26a md/raid6: use valid sector values to determine if an I/O should wait on the reshape
    4132cc3a3aa9 powercap: DTPM: Fix missing cpufreq_cpu_put() calls
    686cc4de099f mm: fix oops when filemap_map_pmd() without prealloc_pte
    574a6db80f3e hugetlb: fix null-ptr-deref in hugetlb_vma_lock_write
    f5e6958919e0 platform/surface: aggregator: fix recv_buf() return value
    bcd50a3bd637 regmap: fix bogus error on regcache_sync success
    1c1c6d5c7e14 r8169: fix rtl8125b PAUSE frames blasting when suspended
    6a71d7785643 packet: Move reference count in packet_sock to atomic_long_t
    15c251f81442 tracing: Fix a possible race when disabling buffered events
    b00b50091693 tracing: Fix incomplete locking when disabling buffered events
    6e0d6c685b1b tracing: Disable snapshot buffer when stopping instance tracers
    20fd56ca2e6d tracing: Always update snapshot buffer size
    f33d663db004 checkstack: fix printed address
    4c00f01832f2 cgroup_freezer: cgroup_freezing: Check if not frozen
    3907e9cc85ff nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
    c344e99dd812 nilfs2: fix missing error check for sb_set_blocksize call
    d2558e726e76 ring-buffer: Test last update in 32bit version of __rb_time_read()
    c4dcc915ea22 ALSA: hda/realtek: Add Framework laptop 16 to quirks
    0675fe3b3234 ALSA: hda/realtek: add new Framework laptop to quirks
    8b23707c8a1e ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5
    dc1141ae5ca2 ALSA: pcm: fix out-of-bounds in snd_pcm_state_names
    bb43c57c3d0b ALSA: usb-audio: Add Pioneer DJM-450 mixer controls
    bfe5a5e2f9e9 io_uring: fix mutex_unlock with unreferenced ctx
    8bba38f7a0d4 nvme-pci: Add sleep quirk for Kingston drives
    f2f57f51b53b io_uring/af_unix: disable sending io_uring over sockets
    515c25be77ba ASoC: amd: yc: Fix non-functional mic on ASUS E1504FA
    0fcfc90c8664 kprobes: consistent rcu api usage for kretprobe holder
    a5325a055f0f rethook: Use __rcu pointer for rethook::handler
    68bc7b200305 iommu: Avoid more races around device probe
    3c796895b4e2 md: don't leave 'MD_RECOVERY_FROZEN' in error path of md_set_readonly()
    5255ded03422 md: introduce md_ro_state
    a38c1e766f4f riscv: fix misaligned access handling of C.SWSP and C.SDSP
    8b41bdcc22da ARM: dts: imx28-xea: Pass the 'model' property
    282b5acd586e ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt
    12ac3b0ab837 ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init
    4d8cc87d1845 scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
    bc5b79df6d54 tracing: Fix a warning when allocating buffered events fails
    fc2d811d3101 ARM: dts: imx6ul-pico: Describe the Ethernet PHY clock
    22143a0e5ac2 arm64: dts: imx8mp: imx8mq: Add parkmode-disable-ss-quirk on DWC3
    8dd0e20b41b1 arm64: dts: imx8mq: drop usb3-resume-missing-cas from usb
    188de9839ff2 drm/bridge: tc358768: select CONFIG_VIDEOMODE_HELPERS
    1ff56298ab32 RDMA/irdma: Avoid free the non-cqp_request scratch
    0a929e837527 RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz
    ebcb4e19d3ef ASoC: wm_adsp: fix memleak in wm_adsp_buffer_populate
    2358e53208c0 hwmon: (nzxt-kraken2) Fix error handling path in kraken2_probe()
    3baaba79088b ASoC: codecs: lpass-tx-macro: set active_decimator correct default value
    c11b7e26d2f0 hwmon: (acpi_power_meter) Fix 4.29 MW bug
    19269741c3e2 RDMA/irdma: Fix UAF in irdma_sc_ccq_get_cqe_info()
    439857e2fe4e RDMA/irdma: Refactor error handling in create CQP
    59a022a869b1 RDMA/bnxt_re: Correct module description string
    7ed498095c6d RDMA/rtrs-clt: Remove the warnings for req in_use check
    03095a6440db RDMA/rtrs-clt: Fix the max_send_wr setting
    233c32bcf069 RDMA/rtrs-srv: Destroy path files after making sure no IOs in-flight
    7be574c34dc7 RDMA/rtrs-srv: Free srv_mr iu only when always_invalidate is true
    9dd976c435be RDMA/rtrs-srv: Check return values while processing info request
    3910ccbf25a7 RDMA/rtrs-clt: Start hb after path_up
    1e46485045cd RDMA/rtrs-srv: Do not unconditionally enable irq
    4a8774a63303 ASoC: fsl_sai: Fix no frame sync clock issue on i.MX8MP
    3166c76d1deb arm64: dts: rockchip: Expand reg size of vdec node for RK3399
    aa9ae3dffc34 arm64: dts: rockchip: Expand reg size of vdec node for RK3328
    945bfe4e0b09 RDMA/irdma: Add wait for suspend on SQD
    0b0afd4e1477 RDMA/irdma: Do not modify to SQD on error
    9d005ea01ed0 RDMA/hns: Fix unnecessary err return when using invalid congest control algorithm
    1c9561b438cb tee: optee: Fix supplicant based device enumeration
    5fd29433b29d mm/damon/sysfs: eliminate potential uninitialized variable warning
    b5ca945612b4 drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group
    07c8229c022b psample: Require 'CAP_NET_ADMIN' when joining "packets" group
    af39b80173e4 bpf: sockmap, updating the sg structure should also update curr
    008b807fe487 tcp: do not accept ACK of bytes we never sent
    7a63521ed041 netfilter: xt_owner: Fix for unsafe access of sk->sk_socket
    3176160c22d9 netfilter: nf_tables: validate family when identifying table via handle
    96f8654b701f netfilter: nf_tables: bail out on mismatching dynset and set expressions
    c9704c26193c netfilter: nf_tables: fix 'exist' matching on bigendian arches
    0bfbfd9423f3 netfilter: nft_exthdr: add boolean DCCP option matching
    9225a4566bc1 dt-bindings: interrupt-controller: Allow #power-domain-cells
    6b9e78d6c6b9 octeontx2-af: Update Tx link register range
    9be8f66ea857 octeontx2-af: Add missing mcs flr handler call
    d54470adfcc7 octeontx2-af: Fix mcs stats register address
    90773de07391 octeontx2-af: Fix mcs sa cam entries size
    0c8baa37bfa5 octeontx2-af: Adjust Tx credits when MCS external bypass is disabled
    d2689aea4f2e net: hns: fix fake link up on xge port
    217cc7f6a6ac net: hns: fix wrong head when modify the tx feature when sending packets
    87559196c316 net: atlantic: Fix NULL dereference of skb pointer in
    64c78c57e307 ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()
    ce3c5acb594e ionic: Fix dim work handling in split interrupt mode
    a92719900fc6 ionic: fix snprintf format length warning
    c91685ac1bce tcp: fix mid stream window clamp.
    9fc81912fcdb net: bnxt: fix a potential use-after-free in bnxt_init_tc
    0d33871b66f9 iavf: validate tx_coalesce_usecs even if rx_coalesce_usecs is zero
    75fd86e54119 i40e: Fix unexpected MFS warning message
    ba6eb3a77a56 octeontx2-af: fix a use-after-free in rvu_npa_register_reporters
    2c0cbb97b118 xsk: Skip polling event check for unbound socket
    ed7e211b6786 net: stmmac: fix FPE events losing
    1a41ffc4dc6a octeontx2-pf: consider both Rx and Tx packet stats for adaptive interrupt coalescing
    8d034da82563 arcnet: restoring support for multiple Sohard Arcnet cards
    3c323796951a platform/mellanox: Check devm_hwmon_device_register_with_groups() return value
    29d82b366a22 platform/mellanox: Add null pointer checks for devm_kasprintf()
    646f1e9c1978 mlxbf-bootctl: correctly identify secure boot with development keys
    ef91309a570a r8152: Add RTL8152_INACCESSIBLE to r8153_aldps_en()
    d11ef4d3dd37 r8152: Add RTL8152_INACCESSIBLE to r8153_pre_firmware_1()
    284cd311bb48 r8152: Add RTL8152_INACCESSIBLE to r8156b_wait_loading_flash()
    0823990da76f r8152: Add RTL8152_INACCESSIBLE checks to more loops
    3759e735562a r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
    ecb5068f55a8 hv_netvsc: rndis_filter needs to select NLS
    80de965ca52c octeontx2-af: Check return value of nix_get_nixlf before using nixlf
    f565044d1d84 octeontx2-pf: Add missing mutex lock in otx2_get_pauseparam
    a3f5de10b5cf ipv6: fix potential NULL deref in fib6_add()
    e2b202821dd8 platform/x86: wmi: Skip blocks with zero instances
    b536601d0520 of: dynamic: Fix of_reconfig_get_state_change() return value documentation
    76b9ea6f54ed platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code
    3453531284cb dt: dt-extract-compatibles: Don't follow symlinks when walking tree
    8a124b9e784b dt: dt-extract-compatibles: Handle cfile arguments in generator function
    cde700ceb0ea x86/tdx: Allow 32-bit emulation by default
    e09d243a518b x86/entry: Do not allow external 0x80 interrupts
    d5f999317e83 x86/entry: Convert INT 0x80 emulation to IDTENTRY
    b8ec27ae221e x86/coco: Disable 32-bit emulation by default on TDX and SEV
    0870f19b54de x86: Introduce ia32_enabled()
    9046665befd6 drm/amdgpu: correct chunk_ptr to a pointer to chunk.
    18209382db64 kconfig: fix memory leak from range properties
    bcc2abaa4095 tg3: Increment tx_dropped in tg3_tso_bug()
    9bbc655e1849 tg3: Move the [rt]x_dropped counters to tg3_napi
    62c6d82bac2b zstd: Fix array-index-out-of-bounds UBSAN warning
    875ee3a09e27 netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test
    6025052bbf3d i2c: designware: Fix corrupted memory seen in the ISR
    75b5016ce325 hrtimers: Push pending hrtimers away from outgoing CPU earlier
    8ea2b4ba9ba2 vdpa/mlx5: preserve CVQ vringh index

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolinux-yocto/6.5: fix AB-INT: QEMU kernel panic: No irq handler for vector
Bruce Ashfield [Thu, 21 Dec 2023 14:25:08 +0000 (09:25 -0500)] 
linux-yocto/6.5: fix AB-INT: QEMU kernel panic: No irq handler for vector

Integrating the following commit(s) to linux-yocto/6.5:

1/2 [
    Author: Thomas Gleixner
    Email: tglx@linutronix.de
    Subject: x86/alternatives: Sync core before enabling interrupts
    Date: Thu, 7 Dec 2023 20:49:24 +0100

    text_poke_early() does:

       local_irq_save(flags);
       memcpy(addr, opcode, len);
       local_irq_restore(flags);
       sync_core();

    That's not really correct because the synchronization should happen before
    interrupts are reenabled to ensure that a pending interrupt observes the
    complete update of the opcodes.

    It's not entirely clear whether the interrupt entry provides enough
    serialization already, but moving the sync_core() invocation into interrupt
    disabled region does no harm and is obviously correct.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/2 [
    Author: Thomas Gleixner
    Email: tglx@linutronix.de
    Subject: x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    Date: Thu, 7 Dec 2023 20:49:26 +0100

    apply_alternatives() treats alternatives with the ALT_FLAG_NOT flag set
    special as it optimizes the existing NOPs in place.

    Unfortunately this happens with interrupts enabled and does not provide any
    form of core synchronization.

    So an interrupt hitting in the middle of the update and using the affected
    code path will observe a half updated NOP and crash and burn. The following
    3 NOP sequence was observed to expose this crash halfways reliably under
    QEMU 32bit:

       0x90 0x90 0x90

    which is replaced by the optimized 3 byte NOP:

       0x8d 0x76 0x00

    So an interrupt can observe:

       1) 0x90 0x90 0x90 nop nop nop
       2) 0x8d 0x90 0x90 undefined
       3) 0x8d 0x76 0x90 lea    -0x70(%esi),%esi
       4) 0x8d 0x76 0x00 lea     0x0(%esi),%esi

    Where only #1 and #4 are true NOPs. The same problem exists for 64bit obviously.

    Disable interrupts around this NOP optimization and invoke sync_core()
    before reenabling them.

Fixes: 270a69c4485d ("x86/alternative: Support relocations in alternatives")
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolinux-yocto/6.1: update to v6.1.67
Bruce Ashfield [Thu, 21 Dec 2023 14:25:07 +0000 (09:25 -0500)] 
linux-yocto/6.1: update to v6.1.67

Updating  to the latest korg -stable release that comprises
the following commits:

    e7cddbb41b63 Linux 6.1.67
    db46c77f3d51 Revert "wifi: cfg80211: fix CQM for non-range use"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolinux-yocto/6.1: update to v6.1.66
Bruce Ashfield [Thu, 21 Dec 2023 14:25:06 +0000 (09:25 -0500)] 
linux-yocto/6.1: update to v6.1.66

Updating  to the latest korg -stable release that comprises
the following commits:

    6c6a6c7e211c Linux 6.1.66
    ea574927fc0b iomap: update ki_pos a little later in iomap_dio_complete
    adf0ecebf00a x86/apic/msi: Fix misconfigured non-maskable MSI quirk
    b3b839fb636b x86/xen: fix percpu vcpu_info allocation
    00bc8b2cf44c xen: simplify evtchn_do_upcall() call maze
    9311a0ff388a xen: Allow platform PCI interrupt to be shared
    402b8323461c r8169: fix deadlock on RTL8125 in jumbo mtu mode
    22ee0ddb2af7 r8169: disable ASPM in case of tx timeout
    10ce6301009f drm/amd/display: Fix MPCC 1DLUT programming
    8332cb6c6339 drm/amd/display: Fix the delta clamping for shaper LUT
    442a4d4d0157 drm/amd/display: clean code-style issues in dcn30_set_mpc_shaper_3dlut
    6cd736272165 drm/amd/display: Expand kernel doc for DC
    8b01195be4a9 mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
    38d3216032c9 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
    0e0a95166882 drm/amd/pm: fix a memleak in aldebaran_tables_init
    59862b869275 iommu/vt-d: Make context clearing consistent with context mapping
    ee2c2247690c iommu/vt-d: Disable PCI ATS in legacy passthrough mode
    8f39d297a26a iommu/vt-d: Add device_block_translation() helper
    3787b3168b6c iommu/vt-d: Allocate pasid table in device probe path
    681aeeda413d iommu/vt-d: Omit devTLB invalidation requests when TES=0
    8aaed5b81d26 cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
    d3788f6e9d5a cpufreq: imx6q: don't warn for disabling a non-existing frequency
    195514bda626 drm/amd/display: Guard against invalid RPTR/WPTR being set
    395a63ca1ad2 drm/amd/display: Restore rptr/wptr for DMCUB as workaround
    4ec4508db975 spi: Fix null dereference on suspend
    b57eebfb80e8 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
    5bc8d96fedce PCI: qcom-ep: Add dedicated callback for writing to DBI2 registers
    10c3d86fea04 octeontx2-af: Initialize 'cntr_val' to fix uninitialized symbol error
    1c8f75ee9233 PCI: Lengthen reset delay for VideoPropulsion Torrent QN16e card
    7545ddda9c98 KVM: x86: Fix lapic timer interrupt lost after loading a snapshot.
    21feaf558f93 net: ravb: Keep reverse order of operations in ravb_remove()
    8d04278ff48b net: ravb: Stop DMA in case of failures on ravb_open()
    52b751686cbf net: ravb: Start TX queues after HW initialization succeeded
    e2db25d16cdd net: ravb: Make write access to CXR35 first before accessing other EMAC registers
    f5c649ce7975 net: ravb: Use pm_runtime_resume_and_get()
    149b2fe12aca net: ravb: Check return value of reset_control_deassert()
    7ed2e4c2d016 ravb: Fix races between ravb_tx_timeout_work() and net related ops
    8b1d088be5f1 r8169: prevent potential deadlock in rtl8169_close
    9c4ac2d98a48 octeontx2-pf: Restore TC ingress police rules when interface is up
    aef2d5b3e56e octeontx2-af: Install TC filter rules in hardware based on priority
    662b88708408 octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64
    5d5bcfb1ca8d net: stmmac: xgmac: Disable FPE MMC interrupts
    334e6378c28c octeontx2-af: Fix possible buffer overflow
    c3e974e9c4bb selftests/net: mptcp: fix uninitialized variable warnings
    12dd4c1bf3bd selftests/net: unix: fix unused variable compiler warning
    4e999af7cf8a selftests/net: fix a char signedness issue
    249ceee95caf selftests/net: ipsec: fix constant out of range
    e01249a83939 uapi: propagate __struct_group() attributes to the container union
    fd91b48f108d dpaa2-eth: increase the needed headroom to account for alignment
    94445d958307 ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
    f89fef7710b2 usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
    9aff7c51b440 USB: core: Change configuration warnings to notices
    c89b34eef336 USB: xhci-plat: fix legacy PHY double init
    307a6525c82a wifi: cfg80211: fix CQM for non-range use
    e8c1105c0ccc serial: sc16is7xx: add missing support for rs485 devicetree properties
    55061c323075 serial: sc16is7xx: Put IOControl register into regmap_volatile
    a491c7be35ed auxdisplay: hd44780: move cursor home after clear display command
    7f2116777541 Input: xpad - add HyperX Clutch Gladiate Support
    7a105de27538 btrfs: fix 64bit compat send ioctl arguments not initializing version member
    32912ee86931 btrfs: make error messages more clear when getting a chunk map
    4fc9c61c02c0 btrfs: send: ensure send_fd is writable
    86742a963fe6 btrfs: fix off-by-one when checking chunk map includes logical address
    9fe447c485ed btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
    3f26d9b257ad btrfs: add dmesg output for first mount and last unmount of a filesystem
    0ad7d59e7901 parisc: Mark altinstructions read-only and 32-bit aligned
    cf2ae6494d1f parisc: Ensure 32-bit alignment on parisc unwind section
    2acfff573042 parisc: Mark jump_table naturally aligned
    3793cd2ded7c parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
    79a1fdf4c212 parisc: Mark lock_aligned variables 16-byte aligned on SMP
    41d7852a0a39 parisc: Use natural CPU alignment for bug_table
    c7c78a4aa60a parisc: Mark ex_table entries 32-bit aligned in uaccess.h
    645e4b693b5e parisc: Mark ex_table entries 32-bit aligned in assembly.h
    c23b9eaca80c powerpc: Don't clobber f0/vs0 during fp|altivec register save
    e6bc42fae6b8 KVM: PPC: Book3S HV: Fix KVM_RUN clobbering FP/VEC user registers
    59419ebcc0a6 iommu/vt-d: Add MTL to quirk list to skip TE disabling
    0b48970ce102 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
    fc98ea2699c0 dma-buf: fix check in dma_resv_add_fence
    4da1556996fa cpufreq/amd-pstate: Fix the return value of amd_pstate_fast_switch()
    9d4c721c1866 powercap: DTPM: Fix unneeded conversions to micro-Watts
    a62ca58bb3cc nvme: check for valid nvme_identify_ns() before using it
    82b5e603edd4 dm verity: don't perform FEC for failed readahead IO
    6f5a9fc94bfc dm verity: initialize fec io before freeing it
    7cfc3884a8bb drm/amd/display: fix ABM disablement
    859a3a9f1e6b drm/amd/display: Update min Z8 residency time to 2100 for DCN314
    6ef7f13c72df drm/amd/display: Use DRAM speed from validation for dummy p-state
    a67c18704706 drm/amd/display: Remove min_dst_y_next_start check for Z8
    33ed892f0cde drm/amd/display: Include udelay when waiting for INBOX0 ACK
    c5cf436c8969 drm/amdgpu: Force order between a read and write to the same address
    c60884296300 drm/amd: Enable PCIe PME from D3
    cebccbe80165 scsi: sd: Fix system start for ATA devices
    181fd67dc5b9 scsi: Change SCSI device boolean fields to single bit flags
    7d2faae81b57 dm-verity: align struct dm_verity_fec_io properly
    da9f55393f69 ALSA: hda/realtek: Add supported ALC257 for ChromeOS
    f4b130213497 ALSA: hda/realtek: Headset Mic VREF to 100%
    65654af4c8a6 ALSA: hda: Disable power-save on KONTRON SinglePC
    ba911edc6c0c mmc: block: Be sure to wait while busy in CQE error recovery
    eab9ec644637 mmc: block: Do not lose cache flush during CQE error recovery
    e121f6d73d2e mmc: block: Retry commands in CQE error recovery
    3a9a9c256f02 mmc: cqhci: Fix task clearing in CQE error recovery
    def67fd8efde mmc: cqhci: Warn of halt or task clear failure
    2ebc8b758c7d mmc: cqhci: Increase recovery halt timeout
    d2fc10e262b5 mmc: sdhci-pci-gli: Disable LPM during initialization
    87ceaa8521fc firewire: core: fix possible memory leak in create_units()
    db0b69e46da6 pinctrl: avoid reload of p state in list iteration
    74820f7406a1 smb: client: report correct st_size for SMB and NFS symlinks
    60fed17ca5b8 cifs: Fix FALLOC_FL_INSERT_RANGE by setting i_size after EOF moved
    6406cce4b22d cifs: Fix FALLOC_FL_ZERO_RANGE by setting i_size if EOF moved

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolinux-yocto-rt/6.1: update to -rt18
Bruce Ashfield [Thu, 21 Dec 2023 14:25:05 +0000 (09:25 -0500)] 
linux-yocto-rt/6.1: update to -rt18

Integrating the following commit(s) to linux-yocto-rt/6.1:

1/17 [
    Author: Tvrtko Ursulin
    Email: tvrtko.ursulin@intel.com
    Subject: drm/i915: Do not disable preemption for resets
    Date: Fri, 18 Aug 2023 22:45:25 -0400

    [commit 40cd2835ced288789a685aa4aa7bc04b492dcd45 in linux-rt-devel]

    Commit ade8a0f59844 ("drm/i915: Make all GPU resets atomic") added a
    preempt disable section over the hardware reset callback to prepare the
    driver for being able to reset from atomic contexts.

    In retrospect I can see that the work item at a time was about removing
    the struct mutex from the reset path. Code base also briefly entertained
    the idea of doing the reset under stop_machine in order to serialize
    userspace mmap and temporary glitch in the fence registers (see
    eb8d0f5af4ec ("drm/i915: Remove GPU reset dependence on struct_mutex"),
    but that never materialized and was soon removed in 2caffbf11762
    ("drm/i915: Revoke mmaps and prevent access to fence registers across
    reset") and replaced with a SRCU based solution.

    As such, as far as I can see, today we still have a requirement that
    resets must not sleep (invoked from submission tasklets), but no need to
    support invoking them from a truly atomic context.

    Given that the preemption section is problematic on RT kernels, since the
    uncore lock becomes a sleeping lock and so is invalid in such section,
    lets try and remove it. Potential downside is that our short waits on GPU
    to complete the reset may get extended if CPU scheduling interferes, but
    in practice that probably isn't a deal breaker.

    In terms of mechanics, since the preemption disabled block is being
    removed we just need to replace a few of the wait_for_atomic macros into
    busy looping versions which will work (and not complain) when called from
    non-atomic sections.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris.p.wilson@intel.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20230705093025.3689748-1-tvrtko.ursulin@linux.intel.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    [PG: backport from v6.4-rt ; minor context fixup caused by b7d70b8b06ed]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Clark Williams <williams@redhat.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/17 [
    Author: Clark Williams
    Email: clrkwllms@kernel.org
    Subject: 'Linux 6.1.33-rt11'
    Date: Mon, 12 Jun 2023 10:40:02 -0500

Signed-off-by: Clark Williams <clrkwllms@kernel.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

5/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: io-mapping: don't disable preempt on RT in io_mapping_map_atomic_wc().
    Date: Fri, 10 Mar 2023 17:29:05 +0100

    io_mapping_map_atomic_wc() disables preemption and pagefaults for
    historical reasons.  The conversion to io_mapping_map_local_wc(), which
    only disables migration, cannot be done wholesale because quite some call
    sites need to be updated to accommodate with the changed semantics.

    On PREEMPT_RT enabled kernels the io_mapping_map_atomic_wc() semantics are
    problematic due to the implicit disabling of preemption which makes it
    impossible to acquire 'sleeping' spinlocks within the mapped atomic
    sections.

    PREEMPT_RT replaces the preempt_disable() with a migrate_disable() for
    more than a decade.  It could be argued that this is a justification to do
    this unconditionally, but PREEMPT_RT covers only a limited number of
    architectures and it disables some functionality which limits the coverage
    further.

    Limit the replacement to PREEMPT_RT for now.  This is also done
    kmap_atomic().

Link: https://lkml.kernel.org/r/20230310162905.O57Pj7hh@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reported-by: Richard Weinberger <richard.weinberger@gmail.com>
Link: https://lore.kernel.org/CAFLxGvw0WMxaMqYqJ5WgvVSbKHq2D2xcXTOgMCpgq9nDC-MWTQ@mail.gmail.com
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    (cherry picked from commit 7eb16f23b9a415f062db22739e59bb144e0b24ab)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

6/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: locking/rwbase: Mitigate indefinite writer starvation
    Date: Tue, 21 Mar 2023 17:11:40 +0100

    On PREEMPT_RT, rw_semaphore and rwlock_t locks are unfair to writers.
    Readers can indefinitely acquire the lock unless the writer fully acquired
    the lock, which might never happen if there is always a reader in the
    critical section owning the lock.

    Mel Gorman reported that since LTP-20220121 the dio_truncate test case
    went from having 1 reader to having 16 readers and that number of readers
    is sufficient to prevent the down_write ever succeeding while readers
    exist. Eventually the test is killed after 30 minutes as a failure.

    Mel proposed a timeout to limit how long a writer can be blocked until
    the reader is forced into the slowpath.

    Thomas argued that there is no added value by providing this timeout.  From
    a PREEMPT_RT point of view, there are no critical rw_semaphore or rwlock_t
    locks left where the reader must be preferred.

    Mitigate indefinite writer starvation by forcing the READER into the
    slowpath once the WRITER attempts to acquire the lock.

Reported-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Link: https://lore.kernel.org/877cwbq4cq.ffs@tglx
Link: https://lore.kernel.org/r/20230321161140.HMcQEhHb@linutronix.de
Cc: Linus Torvalds <torvalds@linux-foundation.org>
    (cherry picked from commit 286deb7ec03d941664ac3ffaff58814b454adf65)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

7/17 [
    Author: Paolo Abeni
    Email: pabeni@redhat.com
    Subject: revert: "softirq: Let ksoftirqd do its job"
    Date: Mon, 8 May 2023 08:17:44 +0200

    Due to the mentioned commit, when the ksoftirqd processes take charge
    of softirq processing, the system can experience high latencies.

    In the past a few workarounds have been implemented for specific
    side-effects of the above:

    commit 1ff688209e2e ("watchdog: core: make sure the watchdog_worker is not deferred")
    commit 8d5755b3f77b ("watchdog: softdog: fire watchdog even if softirqs do not get to run")
    commit 217f69743681 ("net: busy-poll: allow preemption in sk_busy_loop()")
    commit 3c53776e29f8 ("Mark HI and TASKLET softirq synchronous")

    but the latency problem still exists in real-life workloads, see the
    link below.

    The reverted commit intended to solve a live-lock scenario that can now
    be addressed with the NAPI threaded mode, introduced with commit
    29863d41bb6e ("net: implement threaded-able napi poll loop support"),
    and nowadays in a pretty stable status.

    While a complete solution to put softirq processing under nice resource
    control would be preferable, that has proven to be a very hard task. In
    the short term, remove the main pain point, and also simplify a bit the
    current softirq implementation.

    Note that this change also reverts commit 3c53776e29f8 ("Mark HI and
    TASKLET softirq synchronous") and commit 1342d8080f61 ("softirq: Don't
    skip softirq execution when softirq thread is parking"), which are
    direct follow-ups of the feature commit. A single change is preferred to
    avoid known bad intermediate states introduced by a patch series
    reverting them individually.

Link: https://lore.kernel.org/netdev/305d7742212cbe98621b16be782b0562f1012cb6.camel@redhat.com/
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Tested-by: Jason Xing <kerneljasonxing@gmail.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/57e66b364f1b6f09c9bc0316742c3b14f4ce83bd.1683526542.git.pabeni@redhat.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    (cherry picked from commit b8a04a538ed4755dc97c403ee3b8dd882955c98c)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

8/17 [
    Author: Peter Zijlstra
    Email: peterz@infradead.org
    Subject: debugobjects,locking: Annotate debug_object_fill_pool() wait type violation
    Date: Tue, 25 Apr 2023 17:03:13 +0200

    There is an explicit wait-type violation in debug_object_fill_pool()
    for PREEMPT_RT=n kernels which allows them to more easily fill the
    object pool and reduce the chance of allocation failures.

    Lockdep's wait-type checks are designed to check the PREEMPT_RT
    locking rules even for PREEMPT_RT=n kernels and object to this, so
    create a lockdep annotation to allow this to stand.

    Specifically, create a 'lock' type that overrides the inner wait-type
    while it is held -- allowing one to temporarily raise it, such that
    the violation is hidden.

Reported-by: Vlastimil Babka <vbabka@suse.cz>
Reported-by: Qi Zheng <zhengqi.arch@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Qi Zheng <zhengqi.arch@bytedance.com>
Link: https://lkml.kernel.org/r/20230429100614.GA1489784@hirez.programming.kicks-ass.net
    (cherry picked from commit 0cce06ba859a515bd06224085d3addb870608b6d)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

9/17 [
    Author: Wander Lairson Costa
    Email: wander@redhat.com
    Subject: sched: avoid false lockdep splat in put_task_struct()
    Date: Wed, 14 Jun 2023 09:23:22 -0300

    In put_task_struct(), a spin_lock is indirectly acquired under the kernel
    stock. When running the kernel in real-time (RT) configuration, the
    operation is dispatched to a preemptible context call to ensure
    guaranteed preemption. However, if PROVE_RAW_LOCK_NESTING is enabled
    and __put_task_struct() is called while holding a raw_spinlock, lockdep
    incorrectly reports an "Invalid lock context" in the stock kernel.

    This false splat occurs because lockdep is unaware of the different
    route taken under RT. To address this issue, override the inner wait
    type to prevent the false lockdep splat.

Signed-off-by: Wander Lairson Costa <wander@redhat.com>
Suggested-by: Oleg Nesterov <oleg@redhat.com>
Suggested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Luis Goncalves <lgoncalv@redhat.com>
Link: https://lore.kernel.org/r/20230614122323.37957-3-wander@redhat.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    (cherry picked from commit a5e446e728e89d5f5c5e427cc919bc7813c64c28)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

10/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: mm/page_alloc: Use write_seqlock_irqsave() instead write_seqlock() + local_irq_save().
    Date: Fri, 23 Jun 2023 22:15:17 +0200

    __build_all_zonelists() acquires zonelist_update_seq by first disabling
    interrupts via local_irq_save() and then acquiring the seqlock with
    write_seqlock(). This is troublesome and leads to problems on
    PREEMPT_RT. The problem is that the inner spinlock_t becomes a sleeping
    lock on PREEMPT_RT and must not be acquired with disabled interrupts.

    The API provides write_seqlock_irqsave() which does the right thing in
    one step.
    printk_deferred_enter() has to be invoked in non-migrate-able context to
    ensure that deferred printing is enabled and disabled on the same CPU.
    This is the case after zonelist_update_seq has been acquired.

    There was discussion on the first submission that the order should be:
     local_irq_disable();
     printk_deferred_enter();
     write_seqlock();

    to avoid pitfalls like having an unaccounted printk() coming from
    write_seqlock_irqsave() before printk_deferred_enter() is invoked. The
    only origin of such a printk() can be a lockdep splat because the
    lockdep annotation happens after the sequence count is incremented.
    This is exceptional and subject to change.

    It was also pointed that PREEMPT_RT can be affected by the printk
    problem since its write_seqlock_irqsave() does not really disable
    interrupts. This isn't the case because PREEMPT_RT's printk
    implementation differs from the mainline implementation in two important
    aspects:
    - Printing happens in a dedicated threads and not at during the
      invocation of printk().
    - In emergency cases where synchronous printing is used, a different
      driver is used which does not use tty_port::lock.

    Acquire zonelist_update_seq with write_seqlock_irqsave() and then defer
    printk output.

Fixes: 1007843a91909 ("mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock")
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20230623201517.yw286Knb@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    (cherry picked from commit 4d1139baae8bc4fff3728d1d204bdb04c13dbe10)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

11/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: bpf: Remove in_atomic() from bpf_link_put().
    Date: Wed, 14 Jun 2023 10:34:30 +0200

    bpf_free_inode() is invoked as a RCU callback. Usually RCU callbacks are
    invoked within softirq context. By setting rcutree.use_softirq=0 boot
    option the RCU callbacks will be invoked in a per-CPU kthread with
    bottom halves disabled which implies a RCU read section.

    On PREEMPT_RT the context remains fully preemptible. The RCU read
    section however does not allow schedule() invocation. The latter happens
    in mutex_lock() performed by bpf_trampoline_unlink_prog() originated
    from bpf_link_put().

    It was pointed out that the bpf_link_put() invocation should not be
    delayed if originated from close(). It was also pointed out that other
    invocations from within a syscall should also avoid the workqueue.
    Everyone else should use workqueue by default to remain safe in the
    future (while auditing the code, every caller was preemptible except for
    the RCU case).

    Let bpf_link_put() use the worker unconditionally. Add
    bpf_link_put_direct() which will directly free the resources and is used
    by close() and from within __sys_bpf().

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230614083430.oENawF8f@linutronix.de
    (cherry picked from commit ab5d47bd41b1db82c295b0e751e2b822b43a4b5a)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

12/17 [
    Author: Thomas Gleixner
    Email: tglx@linutronix.de
    Subject: posix-timers: Ensure timer ID search-loop limit is valid
    Date: Thu, 1 Jun 2023 20:58:47 +0200

    posix_timer_add() tries to allocate a posix timer ID by starting from the
    cached ID which was stored by the last successful allocation.

    This is done in a loop searching the ID space for a free slot one by
    one. The loop has to terminate when the search wrapped around to the
    starting point.

    But that's racy vs. establishing the starting point. That is read out
    lockless, which leads to the following problem:

    CPU0                    CPU1
    posix_timer_add()
      start = sig->posix_timer_id;
      lock(hash_lock);
      ...    posix_timer_add()
      if (++sig->posix_timer_id < 0)
                        start = sig->posix_timer_id;
         sig->posix_timer_id = 0;

    So CPU1 can observe a negative start value, i.e. -1, and the loop break
    never happens because the condition can never be true:

      if (sig->posix_timer_id == start)
         break;

    While this is unlikely to ever turn into an endless loop as the ID space is
    huge (INT_MAX), the racy read of the start value caught the attention of
    KCSAN and Dmitry unearthed that incorrectness.

    Rewrite it so that all id operations are under the hash lock.

Reported-by: syzbot+5c54bd3eb218bb595aa9@syzkaller.appspotmail.com
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/87bkhzdn6g.ffs@tglx
    (cherry picked from commit 8ce8849dd1e78dadcee0ec9acbd259d239b7069f)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolinux-yocto/6.5: drop removed IMA option
Bruce Ashfield [Thu, 21 Dec 2023 14:25:04 +0000 (09:25 -0500)] 
linux-yocto/6.5: drop removed IMA option

Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: features/ima: drop now retired IMA_TRUSTED_KEYRING option
    Date: Wed, 6 Dec 2023 09:15:38 -0500

    Unfortunately linux-stable backported this:

      Subject: ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig

      From: Nayna Jain <nayna@linux.ibm.com>

      [ Upstream commit 5087fd9e80e539d2163accd045b73da64de7de95 ]

      Time to remove "IMA_TRUSTED_KEYRING".

    ...to all releases still being maintained.

    stable-queue$git grep -l 5087fd9e80e539
    releases/5.10.195/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.15.132/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.4.257/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.1.53/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.4.16/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.5.3/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch

    So now when someone uses the feature, it triggers a do_kernel_configcheck
    warning when the audit runs.

    We added this file way back in 2019 so this fix will be needed on all
    active branches that are using an LTS linux-stable kernel listed above.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolinux-yocto/6.1: drop removed IMA option
Bruce Ashfield [Thu, 21 Dec 2023 14:25:03 +0000 (09:25 -0500)] 
linux-yocto/6.1: drop removed IMA option

Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: features/ima: drop now retired IMA_TRUSTED_KEYRING option
    Date: Wed, 6 Dec 2023 09:15:38 -0500

    Unfortunately linux-stable backported this:

      Subject: ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig

      From: Nayna Jain <nayna@linux.ibm.com>

      [ Upstream commit 5087fd9e80e539d2163accd045b73da64de7de95 ]

      Time to remove "IMA_TRUSTED_KEYRING".

    ...to all releases still being maintained.

    stable-queue$git grep -l 5087fd9e80e539
    releases/5.10.195/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.15.132/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.4.257/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.1.53/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.4.16/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.5.3/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch

    So now when someone uses the feature, it triggers a do_kernel_configcheck
    warning when the audit runs.

    We added this file way back in 2019 so this fix will be needed on all
    active branches that are using an LTS linux-stable kernel listed above.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoimage-live.bbclass: LIVE_ROOTFS_TYPE support compression
Ludovic Jozeau [Thu, 21 Dec 2023 14:24:21 +0000 (15:24 +0100)] 
image-live.bbclass: LIVE_ROOTFS_TYPE support compression

The task for fstypes with compression is the same as the task for the
uncompressed fstypes, e.g. when adding tar.xz to `IMAGE_FSTYPES`, it will
be included into the do_image_tar task and not creating a separate
do_image_tar.xz task.

This commit fixes `LIVE_ROOTFS_TYPE` with compressed fstypes by
depending on the actual task instead of the non-existent
do_image_<fstype>.<compression> task.

Fixes [YOCTO #15331]

Signed-off-by: Ludovic Jozeau <ludovic.jozeau@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoconf/machine-sdk: declare qemu-usermode SDK_MACHINE_FEATURE
Ross Burton [Thu, 21 Dec 2023 17:01:59 +0000 (17:01 +0000)] 
conf/machine-sdk: declare qemu-usermode SDK_MACHINE_FEATURE

All of our defined SDK machines (which are assumed to be Linux) support
qemu-user, so state this explicitly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Link: https://lore.kernel.org/r/20231221170159.1995650-3-ross.burton@arm.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agonativesdk: don't unset MACHINE_FEATURES, let machine-sdk/ set it
Ross Burton [Thu, 21 Dec 2023 17:01:58 +0000 (17:01 +0000)] 
nativesdk: don't unset MACHINE_FEATURES, let machine-sdk/ set it

There is actually a use for nativesdk MACHINE_FEATURES; for example
qemu-usermode being supported, as this is needed to build profile-guided
optimised code.

We shouldn't use the target MACHINE_FEATURES for this because the target
and the SDK can be entirely different, so instead set the
MACHINE_FEATURES in nativesdk.bbclass to SDK_MACHINE_FEATURES (which
defaults to "") and let the conf/machine-sdk/*.conf files set that as
appropriate.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Link: https://lore.kernel.org/r/20231221170159.1995650-2-ross.burton@arm.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agonativesdk: ensure features don't get backfilled
Ross Burton [Thu, 21 Dec 2023 17:01:57 +0000 (17:01 +0000)] 
nativesdk: ensure features don't get backfilled

nativesdk aims to run in a slightly different environment than the
target build, so it resets MACHINE_FEATURES and filters DISTRO_FEATURES
with DISTRO_FEATURES_NATIVESDK.

However, feature backfill happens _after_ these operations:

 $ bitbake-getvar -r nativesdk-glib-2.0 MACHINE_FEATURES
 #
 # $MACHINE_FEATURES [5 operations]
 #   set /home/ross/Yocto/poky/meta/conf/machine/include/qemu.inc:14
 #     "alsa bluetooth usbgadget screen vfat"
 #   set /home/ross/Yocto/poky/meta/conf/documentation.conf:284
 #     [doc] "Specifies the list of hardware features the MACHINE supports."
 #   set? /home/ross/Yocto/poky/meta/conf/bitbake.conf:893
 #     ""
 #   set /home/ross/Yocto/poky/meta/classes-recipe/nativesdk.bbclass:18
 #     ""
 #   append utils.py:132 [features_backfill]
 #     " rtc qemu-usermode"
 # pre-expansion value:
 #   " rtc qemu-usermode"
 MACHINE_FEATURES=" rtc qemu-usermode"

This is not intentional nor desired as the target machine features are
unrelated to the nativesdk environment.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Link: https://lore.kernel.org/r/20231221170159.1995650-1-ross.burton@arm.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoman-pages: remove conflict pages
Changqing Li [Thu, 21 Dec 2023 05:44:15 +0000 (13:44 +0800)] 
man-pages: remove conflict pages

Remove the pages which libxcrypt and shadow already have to avoid
following conflicts during install man-pages and libxcrypt/shadow at the
same time.

Error: Transaction test error:
  file /usr/share/man/man3/crypt.3 from install of
  libcrypt-doc-4.4.33-r0.x86_64 conflicts with file from package
  man-pages-6.04-r0.x86_64

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoappstream: Upgrade 0.16.3 -> 1.0.0
Markus Volk [Fri, 15 Dec 2023 17:30:56 +0000 (18:30 +0100)] 
appstream: Upgrade 0.16.3 -> 1.0.0

- remove backport patch
- update 0001-remove-hardcoded-path.patch
- fix api-documentation

Version 1.0.0
~~~~~~~~~~~~~~
Released: 2023-11-11

Notes:
 * This version breaks API and bumps the SONAME of libappstream!
   Applications using AppStream will have to be ported to the new API.
   The 1.0 release is coinstallable with the stable 0.16.x series.

Features:
 * Autoformat C and C++ sources
 * Remove all deprecated symbols
 * Drop support for many deprecated AppStream XML features
 * Use GPtrArray to expose keywords list
 * Add length argument to raw metadata parsing functions
 * Add component array container class
 * Remove named values for display_length relations
 * Make AsPool only accept/return component boxes
 * Port all API away from per-entity locale overrides
 * Reduce appstream.conf to its essentials, make it work on stateless systems
 * Hide search engine details from public API
 * Wrap release entries in AsReleaseList container class
 * Make AsMetadata handle AsReleaseList objects
 * Refactor is_satisfied result into new RelationCheckResult class
 * Add a method to check all relations of a component and get the result
 * Add algorithm to score compatibility with a system, add chassis templates
 * ascli: Add new check-syscompat command to check chassis compatibility
 * Implement environment property for component screenshots
 * Autogenerate translatable DE and gui-environment-style C arrays
 * Expose more advanced markup conversion function, update function names
 * Allow BLAKE3 and SHA512 checksums for release artifacts
 * Stop supporting mailto: URLs in <url/> tags
 * validator: Improve API and simplify it
 * validator: Parse XML in pedantic mode when validating
 * validator: Check screenshot environment property
 * validator: Only apply summary-has-dot-suffix check to untranslated strings
 * compose: Allow creating metadata with complete URLs and no base URL
 * spdx: Add API to retrieve a translated license name from an SPDX ID
 * qt: Switch to building with Qt6
 * qt: Make it possible to iterate ComponentBox
 * qt: Implement AppStream::ComponentBox::erase
 * qt: Allow concatenating two ComponentBoxes
 * qt: Allow loading Pool asynchronously
 * qt: Use ComponentBox/Releases in Qt bindings as well
 * qt: Add support for the new API to check relation satisfaction
 * qt: Maintenance and namespace fixes, use cPtr() to get C pointers everywhere
 * bundle: Add linglong as a new type of bundle
 * Add GUI environment IDs for macOS and Microsoft Windows
 * validator: Check if Release Description is inside description tag
 * validator: Add validation for content_rating
 * Add support for building on Win32
 * win32: change some file/path-related code for portability
 * Implement the developer element for unique developer IDs
 * Implement scaling factor for screenshots
 * component-box: Allow removal of components by-index
 * Implement support for external references and citations
 * Implement usertags for release data as well
 * Move ValueFlags to the context, instead of tieing them to components
 * pool: search: Add additional weight for exact substring matches on names
 * sysinfo: Add memory size detection support for macOS
 * Add support for Zstd for on-disk data compression
 * utils: Make tar unpacker independent of zstd binary presence
 * Drop Python2 provided tag support
 * data: Add ‘Endless’ to the list of desktops
 * Add NetBSD support

Specification:
 * Drop (most) deprecated information
 * docs: Clarify environment-based screenshot ordering
 * Add new  'snapshot' release kind
 * docs: Build all API documentation with gi-docgen
 * spec: Document the new "developer" element
 * spec: Document the "reference" tag for registry references
 * docs: Add example of YAML for references elements
 * Allow hyphens in the last segment of a component-ID
 * docs: Drop outdated information from l10n quickstart guide

Bugfixes:
 * meson: check for docbook xsl stylesheets
 * Fix tweaking of appstream.pc when building as subproject
 * Fix crash in asc_l10n_search_translations_qt()
 * qt: Make Qt6 dependency a system dependency.
 * meson: do not rely on an exe wrapper
 * meson: do not -I/usr/include when !stemmer
 * meson: Prevent building attempts with MSVC
 * meson: Use an SPDX license indentifier in project(license:)
 * Add meson overrides
 * compose: Set lower-cased CID for synthesized components again
 * compose: Set lower-cased CID in desktop-entry parse function
 * compose: Honor prefix in font search
 * compose: Select the correct default icon glyphs for fonts
 * Don't crash when non-YAML documents are read as YAML
 * Do not override default-priority when parsing multiple metadata files
 * Ensure stemmer always has the right locale and token-search works
 * Require a more recent libxmlb to avoid crashes
 * Rename component get_releases to indicate that releases may not be loaded from the web
 * Prevent string-id validation functions from matching source comments
 * Don't define _POSIX_C_SOURCE when building for NetBSD

Miscellaneous:
 * Explain metainfo-ancient error in more detail
 * Make sed invocation more portable
 * Add FreeBSD CI
 * Allow variable shadowing in C++ code
 * Drop the catchall as-enums unit
 * vapi: Drop unneeded metadata
 * Make AsMetadata return a component box for multiple components
 * apt: Make item descriptions more human-friendly
 * Streamline README

Contributors:
 Aleix Pol, Alessandro Astone, Alexander Wilms, Dan Yeaw, Daniel Drake,
 Gary Wang, Gleb Popov, Ingo Klöcker, JakobDev, Jeremy Whiting, Kai Uwe Broulik,
 Marc-André Lureau, Matthias Klumpp, Philip Withnall, Tao Zuhong,
 Thomas Klausner, Tristan Partin, and thanks to all translators mentioned
 in the respective l10n files!

Version 0.16.4
~~~~~~~~~~~~~~
Released: 2023-11-10

Features:
 * Allow hyphens in the last segment of a component-ID
 * Implement the developer element for unique developer IDs
 * Add meson overrides

Bugfixes:
 * meson: Prevent building attempts with MSVC
 * meson: Avoid potentially bad sed backup filename when fixing .pc file

Miscellaneous:
 * Make sed invocation more portable

Contributors:
 Gleb Popov, Matthias Klumpp, Tristan Partin

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolibadwaita: update 1.4.0 -> 1.4.2
Markus Volk [Fri, 15 Dec 2023 17:30:55 +0000 (18:30 +0100)] 
libadwaita: update 1.4.0 -> 1.4.2

=============
Version 1.4.2
=============

- Really fix build with libappstream 1.0

=============
Version 1.4.1
=============

- Fix build with MSVC
- Fix build with libappstream 1.0
- AdwCarousel
  - Fix carousel scroll behavior with page reordering
- AdwComboRow
  - Fix focus when opening the popover
  - Set the correct state on the selected checkmark
- AdwNavigationView
  - Fix a warning message
- AdwTabOverview
  - Allow child focus on out animations
- AdwTabView
  - Keep view alive during ::page-detached
  - Fix crashes when using :pages
- Docs
  - Fix erroneous <child> use in breakpoints migration guide
- Translation updates
  - Russian
  - Serbian

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolib/packagedata.py: Fix broken symlinks for providers with a '/'
Joshua Watt [Wed, 20 Dec 2023 18:01:02 +0000 (11:01 -0700)] 
lib/packagedata.py: Fix broken symlinks for providers with a '/'

If a package had a provider with a '/' in it (e.g. "/bin/sh",
"/bin/bash", etc.), the generated symlinks were broken due to being at a
hard coded depth. Use oe.path.relsymlink() instead to make a correct
relative symbolic link

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolib/oe/path.py: Add relsymlink()
Joshua Watt [Wed, 20 Dec 2023 18:01:01 +0000 (11:01 -0700)] 
lib/oe/path.py: Add relsymlink()

Adds API to make a relative symbolic link between two directories. The
arguments are the same as oe.path.symlink()

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoncurses: Fix - tty is hung after reset
Soumya Sambu [Wed, 20 Dec 2023 12:12:57 +0000 (12:12 +0000)] 
ncurses: Fix - tty is hung after reset

Serial tty is hung after reset command -
$echo "test " >> /dev/ttyS0
test
$stty -a < /dev/ttyS0
speed 115200 baud; rows 34; columns 153; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon -iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
$reset
$echo "test " >> /dev/ttyS0
^C
$stty -a < /dev/ttyS0
^C

Updating reset_tty_settings API with latest code which fixes tty hung issue

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agodevtool: deploy: provide max_process to strip_execs
Clay Chang [Wed, 20 Dec 2023 07:31:33 +0000 (15:31 +0800)] 
devtool: deploy: provide max_process to strip_execs

Use oe.utils.get_bb_number_threads to get max_process

Signed-off-by: Clay Chang <clayc@hpe.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agodebianutils: upgrade 5.14 -> 5.15
Yi Zhao [Wed, 20 Dec 2023 04:43:26 +0000 (12:43 +0800)] 
debianutils: upgrade 5.14 -> 5.15

ChangeLog:
  * Shellscript compatibility with BSD and Mac, for "which -s"
  * d/tests/smoke: Update to test "which -s"

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agodiffoscope: upgrade 252 -> 253
Wang Mingyu [Tue, 19 Dec 2023 07:39:14 +0000 (15:39 +0800)] 
diffoscope: upgrade 252 -> 253

Changelog:
============
* Improve DOS/MBR extraction by adding support for 7z.
* Process objdump symbol comment filter inputs as the Python "bytes" type
  (and not str).
* Add a missing RequiredToolNotFound import.
* Update copyright years.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoipk: Switch to using zstd compression
Joshua Watt [Wed, 20 Dec 2023 21:31:19 +0000 (14:31 -0700)] 
ipk: Switch to using zstd compression

Converts IPK package generation to use zstd instead of xz. zstd has a
much larger compression/speed tradeoff range allowing users to choose
what suits them best, and fast decompression speeds. It also continues
to support parallel compression as xz did.

A new variable called ZSTD_DEFAULTS is provided to set the defaults for
places that want to use zstd for compression; the zst image conversion
command is also modified to use this.

Finally, in order for this to function properly, opkg must include zstd
support, so it is enabled all the time with no PACKAGECONFIG to turn it
off.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agooeqa: add runtime 'maturin develop' test case
Tim Orling [Sun, 17 Dec 2023 22:58:49 +0000 (14:58 -0800)] 
oeqa: add runtime 'maturin develop' test case

Similar to the sdk test case, build the "guessing-game" example from
https://maturin.rs/tutorial

This test case:
* creates a python3 venv
* echoes "nameserver 8.8.8.8" to /etc/resolv.conf as we need to have
  functional DNS to fetch the crates on target
* fetches crates, builds guessing-game crate and wheel

Put the following in your local.conf:

EXTRA_IMAGE_FEATURES += "tools-sdk"
SDK_INCLUDE_TOOLCHAIN = '1'
SDK_TOOLCHAIN_LANGS += 'rust'

IMAGE_INSTALL:append = " python3-maturin"

IMAGE_CLASSES += "testimage"
TEST_QEMUPARAMS ?= "-m 8192 -smp 4"
IMAGE_ROOTFS_EXTRA_SPACE = "10000000"
NOHDD="1"
NOISO="1"

TEST_SUITES = "ping ssh python maturin"

Test with:

bitbake core-image-full-cmdline
bitbake -c testimage core-image-full-cmdline

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoxwayland: upgrade 23.2.2 -> 23.2.3
Wang Mingyu [Tue, 19 Dec 2023 10:17:18 +0000 (18:17 +0800)] 
xwayland: upgrade 23.2.2 -> 23.2.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agottyrun: upgrade 2.29.0 -> 2.30.0
Wang Mingyu [Tue, 19 Dec 2023 10:16:43 +0000 (18:16 +0800)] 
ttyrun: upgrade 2.29.0 -> 2.30.0

Changelog:
===========
- lspai: Tool to display PAI counter sets
- s390-tools: Provide a ShellCheck configuration
- cpumf/pai: Add command line option for realtime scheduling
- dbginfo.sh: enhance ethtool collection for ROCE
- libutil/util_lockfile: add routine to return owning pid of file lock
- lszcrypt: Improve lszcrypt output on SE guests
- rust: Use a single workspace for all rust tools
- zdev: limit the derivation of ZDEV_SITE_ID
- zdump/df_s390: Update 'zgetdump -i' output with zlib info
- zdump/dfi_s390: Support reading compressed s390_ext dumps
- zipl/boot: Integrate zlib compression to single volume DASD dumper
- zipl/boot: compile the bootloaders only if HOST_ARCH is s390x
- zipl: Add --no-compress option to zipl command
- zkey: Also check for deconfigured and check-stopped cards
- ap_tools/ap-check: handle get-attributes between pre and post event
- libutil: fix util_file_read_*() using wrong format specifiers
- rust/pv: fix Invalid write of size 1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-wcwidth: upgrade 0.2.11 -> 0.2.12
Wang Mingyu [Tue, 19 Dec 2023 10:16:11 +0000 (18:16 +0800)] 
python3-wcwidth: upgrade 0.2.11 -> 0.2.12

Changelog:
 Remove a .pyi file was misplaced in the wheel file distributed on pypi for 0.2.11

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-typing-extensions: upgrade 4.8.0 -> 4.9.0
Wang Mingyu [Tue, 19 Dec 2023 10:15:39 +0000 (18:15 +0800)] 
python3-typing-extensions: upgrade 4.8.0 -> 4.9.0

Changelog:
 https://github.com/python/typing_extensions/blob/main/CHANGELOG.md

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-trove-classifiers: upgrade 2023.11.22 -> 2023.11.29
Wang Mingyu [Tue, 19 Dec 2023 10:02:28 +0000 (18:02 +0800)] 
python3-trove-classifiers: upgrade 2023.11.22 -> 2023.11.29

Changelog:
License :: OSI Approved :: Zero-Clause BSD (0BSD)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-pytest-runner: upgrade 6.0.0 -> 6.0.1
Wang Mingyu [Tue, 19 Dec 2023 10:01:29 +0000 (18:01 +0800)] 
python3-pytest-runner: upgrade 6.0.0 -> 6.0.1

Changelog:
 Updated Trove classifier to indicate this project is inactive.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-psutil: upgrade 5.9.6 -> 5.9.7
Wang Mingyu [Tue, 19 Dec 2023 09:58:58 +0000 (17:58 +0800)] 
python3-psutil: upgrade 5.9.6 -> 5.9.7

Changelog:
===========
-enforce Ruff rule raw-string-in-exception, which helps providing clearer
 tracebacks when exceptions are raised by psutil.
-[PyPy]: psutil did not compile on PyPy due to missing
 PyErr_SetExcFromWindowsErrWithFilenameObject cPython API.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-pip: upgrade 23.3.1 -> 23.3.2
Wang Mingyu [Tue, 19 Dec 2023 09:58:27 +0000 (17:58 +0800)] 
python3-pip: upgrade 23.3.1 -> 23.3.2

no_shebang_mangling.patch
refreshed for 23.3.2

Changelog:
==========
-Fix a bug in extras handling for link requirements
-Fix mercurial revision "parse error": use --rev={ref} instead of -r={ref}

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-pathspec: upgrade 0.11.2 -> 0.12.1
Wang Mingyu [Tue, 19 Dec 2023 09:55:38 +0000 (17:55 +0800)] 
python3-pathspec: upgrade 0.11.2 -> 0.12.1

Changelog:
 https://github.com/cpburnz/python-pathspec/blob/v0.12.1/CHANGES.rst

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-license-expression: upgrade 30.1.1 -> 30.2.0
Wang Mingyu [Tue, 19 Dec 2023 09:42:41 +0000 (17:42 +0800)] 
python3-license-expression: upgrade 30.1.1 -> 30.2.0

Changelog:
============
-Use latest skeleton
-Update license list to latest ScanCode and SPDX 3.22
-Add Python 3.12 support in CI

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-importlib-metadata: upgrade 6.8.0 -> 7.0.0
Wang Mingyu [Tue, 19 Dec 2023 09:42:09 +0000 (17:42 +0800)] 
python3-importlib-metadata: upgrade 6.8.0 -> 7.0.0

Changelog:
============
-Removed EntryPoint access by numeric index
-Added Distribution.origin supplying the direct_url.json in a SimpleNamespace.
-Added diagnose script.
-Added EntryPoints.__repr__

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-hypothesis: upgrade 6.90.0 -> 6.92.1
Wang Mingyu [Tue, 19 Dec 2023 09:41:31 +0000 (17:41 +0800)] 
python3-hypothesis: upgrade 6.90.0 -> 6.92.1

Changelog:
===========
https://hypothesis.readthedocs.io/en/latest/changes.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-hatchling: upgrade 1.18.0 -> 1.20.0
Wang Mingyu [Tue, 19 Dec 2023 09:40:58 +0000 (17:40 +0800)] 
python3-hatchling: upgrade 1.18.0 -> 1.20.0

Changelog:
==========
-Add bypass-selection option to the wheel build target to allow for empty
 (metadata-only) wheels
-Fix regression in 1.19.1 that allowed exclude to count toward inclusion
 selection, thus bypassing the default inclusion selection heuristics
-Fix writing optional dependency core metadata in situations where there
 are multiple environment markers

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-dbusmock: upgrade 0.29.1 -> 0.30.0
Wang Mingyu [Tue, 19 Dec 2023 09:40:22 +0000 (17:40 +0800)] 
python3-dbusmock: upgrade 0.29.1 -> 0.30.0

Changelog:
============
-api: Add pytest support and helpers
-api: Factor the server spawning into a new SpawnedMock object
-doc: generate sphinx docs on https://martinpitt.github.io/python-dbusmock/
-cli: Add support for running custom commands on the mock environment

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopython3-babel: upgrade 2.13.1 -> 2.14.0
Wang Mingyu [Tue, 19 Dec 2023 09:39:06 +0000 (17:39 +0800)] 
python3-babel: upgrade 2.13.1 -> 2.14.0

Changelog:
============
-CLDR/Numbers: Add support of local numbering systems for number symbols
-CLDR: Upgrade to CLDR 43
-Frontend: Allow last_translator to be passed as an option to extract_message
-Frontend: Decouple pybabel CLI frontend from distutils/setuptools
-Numbers: Improve parsing of malformed decimals

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agop11-kit: upgrade 0.25.2 -> 0.25.3
Wang Mingyu [Tue, 19 Dec 2023 09:36:36 +0000 (17:36 +0800)] 
p11-kit: upgrade 0.25.2 -> 0.25.3

Changelog:
============
* rpc: fix serialization of NULL mechanism pointer
* fix meson build failure in macOS (appleframeworks not found)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agosysstat: upgrade 12.7.4 -> 12.7.5
Wang Mingyu [Tue, 19 Dec 2023 09:36:04 +0000 (17:36 +0800)] 
sysstat: upgrade 12.7.4 -> 12.7.5

Changelog:
===========
* [Quan quan Cao]: sar/sadc: Add new metrics pgprom/s and pgdem/s.
* sar: Remove %vmeff metric.
* sadf: Update various output formats to take into account metrics
  that have been added or removed.
* Update DTD and XSD documents.
* Update sar manual page.
* sar: Add a cron entry and a new systemd service and timer to rotate
  daily data file at midnight.
* Option -V with sysstat commands also displays environment contents.
* [Sam Morris]: Use correct encoding to produce hyphen-minus when
  rendering man pages.
* Add UMASK variable definition to sysstat(5) manual page.
* Update non regression tests.
* Add --getenv option to commands that didn't have it.
* Update README file for Debian-based distros.
* Update link to my personal web page in README and manual pages.
* NLS: Translations updated.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agorepo: upgrade 2.39 -> 2.40
Wang Mingyu [Tue, 19 Dec 2023 09:35:31 +0000 (17:35 +0800)] 
repo: upgrade 2.39 -> 2.40

Changelog:
=========
-Don't log spam 'repo sync' by default
-tox: Remove pylint timeout
-Update commit-msg hook
-sync: Fix partial sync false positive
-repo: add repo main script's directory to PYTHONPATH.
-info: Handle undefined mergeBranch
-manifest_xml: support nested submanifests
-repo_logging: Ensure error details are printed
-repo: Use the worktree when checking the repo rev.
-git_superproject: tell git that superproject is bare
-Correctly handle schema-less URIs for remote fetch URL
-main: Log ManifestParseError exception messages
-repo: Remove unreachable code.
-cleanup: Update codebase to expect Python 3.6
-sync: PersistentTransport call parent init
-sync: TeeStringIO write should return int
-Correctly handle schema-less URIs for remote fetch URL
-main: Log ManifestParseError exception messages
-repo: Remove unreachable code.
-cleanup: Update codebase to expect Python 3.6

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoopkg-utils: upgrade 0.6.2 -> 0.6.3
Wang Mingyu [Tue, 19 Dec 2023 09:34:57 +0000 (17:34 +0800)] 
opkg-utils: upgrade 0.6.2 -> 0.6.3

Changelog:
=========
-Add acls and xattrs support
-whitespace and styling
-update markdown styling
-update opkg mailing list
-add SECURITY.md
-refresh document

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agokea: upgrade 2.4.0 -> 2.4.1
Wang Mingyu [Tue, 19 Dec 2023 09:33:46 +0000 (17:33 +0800)] 
kea: upgrade 2.4.0 -> 2.4.1

Changelog:
=========
-The library version numbers have been bumped up for the Kea 2.4.1 stable release.
-Fixed interface redetection which had stopped working since Kea 2.3.6.
-Fixed a race condition in free lease queue allocator

fix-multilib-conflict.patch
fix_pid_keactrl.patch
refreshed for 2.4.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agogpgme: upgrade 1.23.1 -> 1.23.2
Wang Mingyu [Tue, 19 Dec 2023 09:33:12 +0000 (17:33 +0800)] 
gpgme: upgrade 1.23.1 -> 1.23.2

Changelog:
============
 * Preserve more specific existing failure code.
 * qt: Start dirmngr with gpgconf to avoid multiple instances.
 * qt: On Windows, use UTF-8 when logging the error text.
 * qt: Remove left-over partial files more persistently.
 * qt: Use a temporary file name when creating signed or encrypted
   archives.
 * qt: Build Qt 6 bindings with -fPIC if requested or Qt 6 was built with
   this flag.

0001-autogen.sh-remove-unknown-in-version.patch0001-pkgconfig.patch
0001-pkgconfig.patch
0001-use-closefrom-on-linux-and-glibc-2.34.patch
0003-Correctly-install-python-modules.patch
0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch
0006-fix-build-path-issue.patch
0008-do-not-auto-check-var-PYTHON.patch
refreshed for 1.23.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agodnf: upgrade 4.18.1 -> 4.18.2
Wang Mingyu [Tue, 19 Dec 2023 09:32:18 +0000 (17:32 +0800)] 
dnf: upgrade 4.18.1 -> 4.18.2

Changelog:
=========
-automatic: Add feature to allow emitters to invoke on dnf error
-dnssec: Fix parsing PGP keys for DNS validation

0005-Do-not-prepend-installroot-to-logdir.patch
refreshed for new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolibva-utils: upgrade 2.20.0 -> 2.20.1
Wang Mingyu [Tue, 19 Dec 2023 09:31:46 +0000 (17:31 +0800)] 
libva-utils: upgrade 2.20.0 -> 2.20.1

Changelog:
============
-Fix some coverity issues exposed in encode
-Fixed VPP coverity issues

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolibseccomp: upgrade 2.5.4 -> 2.5.5
Wang Mingyu [Tue, 19 Dec 2023 09:29:59 +0000 (17:29 +0800)] 
libseccomp: upgrade 2.5.4 -> 2.5.5

Changelog:
==========
Update the syscall table for Linux v6.7-rc3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolibnl: upgrade 3.8.0 -> 3.9.0
Wang Mingyu [Tue, 19 Dec 2023 09:29:24 +0000 (17:29 +0800)] 
libnl: upgrade 3.8.0 -> 3.9.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolibatomic-ops: upgrade 7.8.0 -> 7.8.2
Wang Mingyu [Tue, 19 Dec 2023 09:28:20 +0000 (17:28 +0800)] 
libatomic-ops: upgrade 7.8.0 -> 7.8.2

Changelog:
=========
* Eliminate 'atomic_thread_fence is unsupported with tsan' gcc-11 warning
* Eliminate 'comparing signed/unsigned values' lcc warning in add_chunk_as
* Fix 'undefined reference to AO_pt_lock' if configure is using clang-16
* Fix 'undefined reference to __atomic_load/store/cas_16' Mingw64-gcc error
* Fix 'undefined reference' linker errors if shared build on OpenBSD (CMake)
* Fix get_chunk for case of mmap area is located before AO_initial_heap
* Fix typo in AO_HAVE_compare_and_swap_double name in atomic_ops_stack.h
* Fix typo in comment of run_one_test of test_stack
* Fix typos in comments of atomic_ops_malloc.c and atomic_ops_stack.c/h
* Update cmake minimum required version to 3.5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agokbd: upgrade 2.6.3 -> 2.6.4
Wang Mingyu [Tue, 19 Dec 2023 09:27:49 +0000 (17:27 +0800)] 
kbd: upgrade 2.6.3 -> 2.6.4

Changelog:
==========
-Use AX_ADD_FORTIFY_SOURCE to avoid redefining _FORTIFY_SOURCE
-Do not look up include files in the current working directory

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agocurl: Disable two intermittently failing tests
Richard Purdie [Thu, 21 Dec 2023 12:37:51 +0000 (12:37 +0000)] 
curl: Disable two intermittently failing tests

These two tests seem to fail semi-regularly so just stop running them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agocurl: update to 8.5.0
Lee Chee Yang [Fri, 15 Dec 2023 09:40:21 +0000 (17:40 +0800)] 
curl: update to 8.5.0

update include fix for CVE-2023-46218.

skip test 1477 which check that libcurl-errors.3 and the public
header files have the same set of error codes.
Notes: This test is not included in the source tarball.
https://github.com/curl/curl/issues/12462

Release Notes:
curl and libcurl 8.5.0

 Public curl releases:         253
 Command line options:         258
 curl_easy_setopt() options:   303
 Public functions in libcurl:  93
 Contributors:                 3039

This release includes the following changes:

 o gnutls: support CURLSSLOPT_NATIVE_CA [31]
 o HTTP3: ngtcp2 builds are no longer experimental [77]

This release includes the following bugfixes:

 o appveyor: make VS2008-built curl tool runnable [93]
 o asyn-thread: use pipe instead of socketpair for IPC when available [4]
 o autotools: accept linker flags via `CURL_LDFLAGS_{LIB,BIN}` [128]
 o autotools: avoid passing `LDFLAGS` twice to libcurl [127]
 o autotools: delete LCC compiler support bits [137]
 o autotools: fix/improve gcc and Apple clang version detection [136]
 o autotools: stop setting `-std=gnu89` with `--enable-warnings` [135]
 o autotools: update references to deleted `crypt-auth` option [46]
 o BINDINGS: add V binding [54]
 o build: add `src/.checksrc` to source tarball [1]
 o build: add more picky warnings and fix them [172]
 o build: always revert `#pragma GCC diagnostic` after use [143]
 o build: delete `HAVE_STDINT_H` and `HAVE_INTTYPES_H` [107]
 o build: delete support bits for obsolete Windows compilers [106]
 o build: fix 'threadsafe' feature detection for older gcc [19]
 o build: fix builds that disable protocols but not digest auth [174]
 o build: fix compiler warning with auths disabled [85]
 o build: fix libssh2 + `CURL_DISABLE_DIGEST_AUTH` + `CURL_DISABLE_AWS` [120]
 o build: picky warning updates [125]
 o build: require Windows XP or newer [86]
 o cfilter: provide call to tell connection to forget a socket [65]
 o checksrc.pl: support #line instructions
 o CI: add autotools, out-of-tree, debug build to distro check job [14]
 o CI: ignore test 286 on Appveyor gcc 9 build [6]
 o cmake: add `CURL_DISABLE_BINDLOCAL` option [146]
 o cmake: add test for `DISABLE` options, add `CURL_DISABLE_HEADERS_API` [138]
 o cmake: dedupe Windows system libs [114]
 o cmake: fix `HAVE_H_ERRNO_ASSIGNABLE` detection [2]
 o cmake: fix CURL_DISABLE_GETOPTIONS [12]
 o cmake: fix multiple include of CURL package [96]
 o cmake: fix OpenSSL quic detection in quiche builds [56]
 o cmake: option to disable install & drop `curlu` target when unused [72]
 o cmake: pre-fill rest of detection values for Windows [50]
 o cmake: replace `check_library_exists_concat()` [23]
 o cmake: speed up threads setup for Windows [68]
 o cmake: speed up zstd detection [69]
 o config-win32: set `HAVE_SNPRINTF` for mingw-w64 [123]
 o configure: better --disable-http [80]
 o configure: check for the fseeko declaration too [55]
 o conncache: use the closure handle when disconnecting surplus connections [173]
 o content_encoding: make Curl_all_content_encodings allocless [101]
 o cookie: lowercase the domain names before PSL checks [160]
 o curl.h: delete Symbian OS references [162]
 o curl.h: on FreeBSD include sys/param.h instead of osreldate.h [21]
 o curl.rc: switch out the copyright symbol for plain ASCII [167]
 o curl: improved IPFS and IPNS URL support [87]
 o curl_easy_duphandle.3: clarify how HSTS and alt-svc are duped [99]
 o Curl_http_body: cleanup properly when Curl_getformdata errors [152]
 o curl_setup: disallow Windows IPv6 builds missing getaddrinfo [57]
 o curl_sspi: support more revocation error names in error messages [95]
 o CURLINFO_PRETRANSFER_TIME_T.3: fix time explanation [181]
 o CURLMOPT_MAX_CONCURRENT_STREAMS: make sure the set value is within range [165]
 o CURLOPT_CAINFO_BLOB.3: explain what CURL_BLOB_COPY does [113]
 o CURLOPT_WRITEFUNCTION.3: clarify libcurl returns for CURL_WRITEFUNC_ERROR [45]
 o CURPOST_POSTFIELDS.3: add CURLOPT_COPYPOSTFIELDS in SEE ALSO
 o docs/example/keepalive.c: show TCP keep-alive options [73]
 o docs/example/localport.c: show off CURLOPT_LOCALPORT [83]
 o docs/examples/interface.c: show CURLOPT_INTERFACE use [84]
 o docs/libcurl: fix three minor man page format mistakes [26]
 o docs/libcurl: SYNSOPSIS cleanup [150]
 o docs: add supported version for the json write-out [92]
 o docs: clarify that curl passes on input unfiltered [47]
 o docs: fix function typo in curl_easy_option_next.3 [36]
 o docs: KNOWN_BUGS cleanup
 o docs: make all examples in all libcurl man pages compile [175]
 o docs: preserve the modification date when copying the prebuilt man page [89]
 o docs: remove bold from some man page SYNOPSIS sections [90]
 o docs: use SOURCE_DATE_EPOCH for generated manpages [16]
 o doh: provide better return code for responses w/o addresses [133]
 o doh: use PIPEWAIT when HTTP/2 is attempted [63]
 o duphandle: also free 'outcurl->cookies' in error path [122]
 o duphandle: make dupset() not return with pointers to old alloced data [109]
 o duphandle: use strdup to clone *COPYPOSTFIELDS if size is not set [132]
 o easy: in duphandle, init the cookies for the new handle [131]
 o easy: remove duplicate wolfSSH init call [37]
 o easy_lock: add a pthread_mutex_t fallback [13]
 o examples/rtsp-options.c: add [157]
 o fopen: create new file using old file's mode [153]
 o fopen: create short(er) temporary file name [155]
 o getenv: PlayStation doesn't have getenv() [41]
 o GHA: move mod_h2 version in CI to v2.0.25 [43]
 o hostip: show the list of IPs when resolving is done [35]
 o hostip: silence compiler warning `-Wparentheses-equality` [62]
 o hsts: skip single-dot hostname [67]
 o HTTP/2, HTTP/3: handle detach of onoing transfers [134]
 o http2: header conversion tightening [33]
 o http2: provide an error callback and failf the message [53]
 o http2: safer invocation of populate_binsettings [8]
 o http: allow longer HTTP/2 request method names [112]
 o http: avoid Expect: 100-continue if Upgrade: is used [15]
 o http: consider resume with CURLOPT_FAILONERRROR and 416 to be fine [81]
 o http: fix `-Wunused-parameter` with no auth and no proxy [149]
 o http: fix `-Wunused-variable` compiler warning [115]
 o http: fix empty-body warning [76]
 o http_aws_sigv4: canonicalise valueless query params [88]
 o hyper: temporarily remove HTTP/2 support [139]
 o INSTALL: update list of ports and CPU archs
 o IPFS: fix IPFS_PATH and file parsing [119]
 o keylog: disable if unused [145]
 o lib: add and use Curl_strndup() [97]
 o lib: apache style infof and trace macros/functions [71]
 o lib: fix gcc warning in printf call [7]
 o libcurl-errors.3: sync with current public headers [156]
 o libcurl-thread.3: simplify the TLS section [79]
 o Makefile.am: drop vc10, vc11 and vc12 projects from dist [103]
 o Makefile.mk: fix `-rtmp` option for non-Windows
 o mime: store "form escape" as a single bit [170]
 o misc: fix -Walloc-size warnings [118]
 o msh3: error when built with CURL_DISABLE_SOCKETPAIR set [61]
 o multi: during ratelimit multi_getsock should return no sockets [182]
 o multi: use pipe instead of socketpair to *wakeup() [18]
 o ngtcp2: fix races in stream handling [178]
 o ngtcp2: ignore errors on unknown streams [158]
 o ntlm_wb: use pipe instead of socketpair when possible [44]
 o openldap: move the alloc of ldapconninfo to *connect() [29]
 o openldap: set the callback argument in oldap_do [30]
 o openssl: avoid BN_num_bits() NULL pointer derefs [9]
 o openssl: fix building with v3 `no-deprecated` + add CI test [161]
 o openssl: fix infof() to avoid compiler warning for %s with null [70]
 o openssl: identify the "quictls" backend correctly [82]
 o openssl: include SIG and KEM algorithms in verbose [52]
 o openssl: make CURLSSLOPT_NATIVE_CA import Windows intermediate CAs [58]
 o openssl: two multi pointer checks should probably rather be asserts [91]
 o openssl: when a session-ID is reused, skip OCSP stapling [142]
 o page-footer: clarify exit code 25 [51]
 o projects: add VC14.20 project files [104]
 o pytest: use lower count in repeat tests [98]
 o quic: make eyeballers connect retries stop at weird replies [140]
 o quic: manage connection idle timeouts [5]
 o quiche: use quiche_conn_peer_transport_params() [116]
 o rand: fix build error with autotools + LibreSSL [111]
 o resolve.d: drop a multi use-sentence [100]
 o RTSP: improved RTP parser [32]
 o rustls: implement connect_blocking [154]
 o sasl: fix `-Wunused-function` compiler warning [124]
 o schannel: add CA cache support for files and memory blobs [121]
 o setopt: check CURLOPT_TFTP_BLKSIZE range on set [171]
 o setopt: remove outdated cookie comment [64]
 o setopt: remove superfluous use of ternary expressions [169]
 o socks: better buffer size checks for socks4a user and hostname [20]
 o socks: make SOCKS5 use the CURLOPT_IPRESOLVE choice [38]
 o symbols-in-versions: the CLOSEPOLICY options are deprecated
 o test1683: remove commented-out check alternatives
 o test3103: add missing quotes around a test tag attribute
 o test613: stop showing an error on missing output file
 o tests/README: SOCKS tests are not using OpenSSH, it has its own server [48]
 o tests/server: add more SOCKS5 handshake error checking [27]
 o tests: Fix Windows test helper tool search & use it for handle64 [17]
 o tidy-up: casing typos, delete unused Windows version aliases [144]
 o tool: fix --capath when proxy support is disabled [28]
 o tool: support bold headers in Windows [117]
 o tool_cb_hdr: add an additional parsing check [129]
 o tool_cb_prg: make the carriage return fit for wide progress bars [159]
 o tool_cb_wrt: fix write output for very old Windows versions [24]
 o tool_getparam: limit --rate to be smaller than number of ms [3]
 o tool_operate: do not mix memory models [108]
 o tool_operate: fix links in ipfs errors [22]
 o tool_parsecfg: make warning output propose double-quoting [164]
 o tool_urlglob: fix build for old gcc versions [25]
 o tool_urlglob: make multiply() bail out on negative values [11]
 o tool_writeout_json: fix JSON encoding of non-ascii bytes [179]
 o transfer: abort pause send when connection is marked for closing [183]
 o transfer: avoid calling the read callback again after EOF [130]
 o transfer: only reset the FTP wildcard engine in CLEAR state [42]
 o url: don't touch the multi handle when closing internal handles [40]
 o url: find scheme with a "perfect hash" [141]
 o url: fix `-Wzero-length-array` with no protocols [147]
 o url: fix builds with `CURL_DISABLE_HTTP` [148]
 o url: protocol handler lookup tidy-up [66]
 o url: proxy ssl connection reuse fix [94]
 o urlapi: avoid null deref if setting blank host to url encode [75]
 o urlapi: skip appending NULL pointer query [74]
 o urlapi: when URL encoding the fragment, pass in the right length [59]
 o urldata: make maxconnects a 32 bit value [166]
 o urldata: move async resolver state from easy handle to connectdata [34]
 o urldata: move cookielist from UserDefined to UrlState [126]
 o urldata: move hstslist from 'set' to 'state' [105]
 o urldata: move the 'internal' boolean to the state struct [39]
 o vssh: remove the #ifdef for Curl_ssh_init, use empty macro
 o vtls: cleanup SSL config management [78]
 o vtls: consistently use typedef names for OpenSSL structs [176]
 o vtls: late clone of connection ssl config [60]
 o vtls: use ALPN "http/1.1" for HTTP/1.x, including HTTP/1.0 [102]
 o VULN-DISCLOSURE-POLICY: escape sequences are not a security flaw [110]
 o windows: use built-in `_WIN32` macro to detect Windows [163]
 o wolfssh: remove redundant static prototypes [168]
 o wolfssl: add default case for wolfssl_connect_step1 switch [49]
 o wolfssl: require WOLFSSL_SYS_CA_CERTS for loading system CA [10]

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoqemurunner: more cleanups for output blocking
Alex Bennée [Wed, 20 Dec 2023 16:14:50 +0000 (16:14 +0000)] 
qemurunner: more cleanups for output blocking

If we are only tracking stdout and are not using self.readsock we end
up throwing an exception blocking further action from the thread. Fix
this by checking self.readsock is not None first.

While we are at it split even into fd, event to make things clearer
and handle the fail path of stringify_event by echoing the hex value
of the unknown flag.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Mikko Rapeli <mikko.rapeli@linaro.org>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoqemu: Ensure pip and the python venv aren't used for meson
Richard Purdie [Tue, 19 Dec 2023 21:24:57 +0000 (21:24 +0000)] 
qemu: Ensure pip and the python venv aren't used for meson

Qemu wants to use a supported python version and a specific meson version
to "help" users and uses pip and creates a venv to do this. This is a nightmare
for us. Our versions stay up to date and should be supported so we don't
really need/want this wrapping. Tweak things to disable it.

There was breakage from the wrapper shown by:

bitbake qemu-system-native
<add DISTRO_FEATURES:remove = "opengl" to local.conf>
bitbake qemu-system-native -c configure

which would crash. The issue is the change in configuration removes pieces
from the sysroot but pyc files remainm as do pieces of pip which causes
problems.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoqemu: Clean up DEPENDS
Richard Purdie [Wed, 20 Dec 2023 10:07:07 +0000 (10:07 +0000)] 
qemu: Clean up DEPENDS

Move the common dependencies to qemu.inc for cleaner entries in the
various recipes. Remove an unneeded inherit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agorust: rustdoc reproducibility issue fix - disable PGO
Sundeep KOKKONDA [Wed, 20 Dec 2023 10:40:20 +0000 (02:40 -0800)] 
rust: rustdoc reproducibility issue fix - disable PGO

The PGO (Profile-guided Optimization) collect data about the typical execution of a program
and then use this data to inform optimizations such as inlining, machine-code layout,
register allocation, etc.

This optimization is by default disabled in rust sources but enabled in Yocto and causing
the reproducibility issue in rustdoc binary. To fix the issue this optimization is set to
it's default 'false'.

More about the optimization: https://doc.rust-lang.org/rustc/profile-guided-optimization.html

With the reproducibility issue fixed, we can enable the reproducibility tests again.

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoopenssl: mark assembler sections as call targets for PAC/BTI support on aarch64
Ross Burton [Wed, 13 Dec 2023 16:14:21 +0000 (16:14 +0000)] 
openssl: mark assembler sections as call targets for PAC/BTI support on aarch64

The assembler sections in OpenSSL were not marked as valid call targets,
so branch protection could not be enabled for libcrypto.so.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>