Andrej Valek [Thu, 20 Jul 2023 07:19:50 +0000 (09:19 +0200)]
cve_check: convert CVE_CHECK_IGNORE to CVE_STATUS
- Try to add convert and apply statuses for old CVEs
- Drop some obsolete ignores, while they are not relevant for current
version
Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Reviewed-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* Address compatibility with python-libarchive-c version 5.
(Closes: reproducible-builds/diffoscope#344)
* Testsuite changes:
- Mark that test_dex::test_javap_14_differences requires procyon.
- Fix "test skipped" textual reason generation in the case of a required
version being outside of the required range.
- Temporarily mark some Android-related as XFAIL due to Debian bugs
#1040941 and #1040916.
Wang Mingyu [Tue, 18 Jul 2023 11:16:37 +0000 (19:16 +0800)]
libva: upgrade to 2.19.0
Changelog:
===========
* docs: fix references and descriptions snf focyhrn mstkup
* ci: add build docs test
* win: change default driver search path to bindir
* win: rely on compiler to define link names
* add: Add mono_chrome to VAEncSequenceParameterBufferAV1
* add: Enable support for license acquisition of multiple protected playbacks
* fix: year for version 2.18.0 in NEWS
* fix: use secure_getenv instead of getenv
* trace: Improve and add VA trace log for AV1 encode
* trace: Unify va log message, replace va_TracePrint with va_TraceMsg.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Bruce Ashfield [Tue, 18 Jul 2023 03:34:36 +0000 (23:34 -0400)]
linux-yocto/6.4: fix menuconfig
Integrating the following commit(s) to linux-yocto/6.4:
Author: Bruce Ashfield
Email: bruce.ashfield@gmail.com
Subject: mconf: fix output of cflags and libraries
Date: Mon, 17 Jul 2023 17:17:55 -0400
commit 3122c84409d578a5df8bcb1 [kconfig: refactor Makefile to reduce
process forks] changes the way that flags are detected. They are
no longer just echo'd and captured, they are written to a file and
later read.
We adjust our CROSS ncurses patch accordingly.
We'll eventually be able to drop this patch, but not quite yet.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Bruce Ashfield [Tue, 18 Jul 2023 03:34:35 +0000 (23:34 -0400)]
kernel: set HOSTPKG_CONFIG to use pkg-config-native
The 5.19 kernel introduced a variable to specify the pkg-config
command to use for host tools.
Previously to this being introduced, we needed to overrride the
standard PKG_CONFIG* variables to avoid calls to pkg-config using
the target configuration.
While we can't completely drop the PKG_CONFIG workaround, we
should introduce the new variable, and prepare to only use it
once all supported kernels are 5.19+
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Bruce Ashfield [Tue, 18 Jul 2023 03:34:34 +0000 (23:34 -0400)]
linux-yocto/6.4: update to v6.4.3
Updating to the latest korg -stable release that comprises
the following commits:
160f4124ea8b Linux 6.4.3 036666b4163d fork: lock VMAs of the parent process when forking 890ba5c464c2 bootmem: remove the vmemmap pages from kmemleak in free_bootmem_page e83e62fb1f38 mm: call arch_swap_restore() from do_swap_page() 18822d84fd09 mm: lock newly mapped VMA with corrected ordering 406815be903b mm: lock newly mapped VMA which can be modified after it becomes visible 10bef9542ad3 mm: lock a vma before stack expansion
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
HTTP::Tiny before 0.083, a Perl core module since 5.13.9 and available
standalone on CPAN, has an insecure default TLS configuration where
users must opt in to verify certificates.
Wang Mingyu [Mon, 17 Jul 2023 09:10:25 +0000 (17:10 +0800)]
repo: upgrade 2.34.1 -> 2.35
Changelog:
==========
Fixed a couple of bugs in ExitEvent logging:
- log exitcode 130 on KeyboardInterrupt
- log exitcode 1 on unhandled Exception
- log errorevent with specific reason for exit
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Mon, 17 Jul 2023 09:10:23 +0000 (17:10 +0800)]
python3-numpy: upgrade 1.25.0 -> 1.25.1
A total of 14 pull requests were merged for this release.
========================================================
#23968: MAINT: prepare 1.25.x for further development
#24036: BLD: Port long double identification to C for meson
#24037: BUG: Fix reduction return NULL to be goto fail
#24038: BUG: Avoid undefined behavior in array.astype()
#24039: BUG: Ensure __array_ufunc__ works without any kwargs passed
#24117: MAINT: Pin urllib3 to avoid anaconda-client bug.
#24118: TST: Pin pydantic<2 in Pyodide workflow
#24119: MAINT: Bump pypa/cibuildwheel from 2.13.0 to 2.13.1
#24120: MAINT: Bump actions/checkout from 3.5.2 to 3.5.3
#24122: BUG: Multiply or Divides using SIMD without a full vector can...
#24127: MAINT: testing for IS_MUSL closes #24074
#24128: BUG: Only replace dtype temporarily if dimensions changed
#24129: MAINT: Bump actions/setup-node from 3.6.0 to 3.7.0
#24134: BUG: Fix private procedures in f2py modules
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Mon, 17 Jul 2023 09:10:19 +0000 (17:10 +0800)]
python3-git: upgrade 3.1.31 -> 3.1.32
Changelog:
===========
-Block insecure non-multi options in clone/clone_from
-Don't rely on __del__
-fix pypi long description
-Name top-level exceptions as private variables
-commit trailers should be a list instead of a dictionary
-Fix up the commit trailers functionality
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Mon, 17 Jul 2023 09:10:18 +0000 (17:10 +0800)]
python3-editables: upgrade 0.3 -> 0.4
Changelog:
===========
Add a new add_to_subpackage method.
Add type annotations.
Internal admin: Switch to nox for automation
Internal admin: Switch to ruff for linting
Internal admin: Switch from setuptools to flit_core
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Mon, 17 Jul 2023 09:10:15 +0000 (17:10 +0800)]
opkg: upgrade 0.6.1 -> 0.6.2
0001-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
0002-opkg-key-remove-no-options-flag-from-gpg-calls.patch
removed since they're included in 0.6.2.
Changelog:
===========
### Changed
- the project's developer documentation to be more correct and current.
### Fixed
- a bug in the 'opkg-keys' utility script which caused the script to ignore settings in the '/etc/opkg/gpg/gpg.conf' file.
- a compilation error in 'md5.c' when using clang16+ and '-std >= gnu11'.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Mon, 17 Jul 2023 09:10:13 +0000 (17:10 +0800)]
python3-pip: upgrade 23.1.2 -> 23.2
License-Update:
Upgrade setuptools to 68.0.0
Upgrade typing_extensions to 4.7.1
Changelog:
==========
-Fix pip completion --zsh. (#11417)
-Prevent downloading files twice when PEP 658 metadata is present (#11847)
-Add permission check before configuration (#11920)
-Fix deprecation warnings in Python 3.12 for usage of shutil.rmtree (#11957)
-Ignore invalid or unreadable origin.json files in the cache of locally
built wheels. (#11985)
-Fix installation of packages with PEP658 metadata using non-canonicalized
names (#12038)
-Correctly parse dist-info-metadata values from JSON-format index data. (#12042)
-Fail with an error if the --python option is specified after the subcommand
name. (#12067)
-Fix slowness when using importlib.metadata (the default way for pip to read
metadata in Python 3.11+) and there is a large overlap between already
installed and to-be-installed packages. (#12079)
-Pass the -r flag to mercurial to be explicit that a revision is passed and
protect against hg options injection as part of VCS URLs. Users that do not
have control on VCS URLs passed to pip are advised to upgrade. (#12119)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Mon, 17 Jul 2023 09:10:12 +0000 (17:10 +0800)]
glib-2.0: upgrade 2.76.3 -> 2.76.4
Changelog:
=============
* Fix build failure on Android with 'statx()' support (#3039)
* Bugs fixed:
- #3003 glib-compile-schemas failed on directory name with no Latin symbols
- #3039 Build failure due to statx fields with NDK r25.c
- !3447 Backport !3446 "glib-compile-resources: Fix non-ASCII arg parsing on
Windows" to glib-2-76
- !3479 Backport !3473 "glib: reset errno to 0 when futex() returns EAGAIN" to
glib-2-76
- !3480 Backport !3468 "Avoid stack overflow in gspawn on macOS" to glib-2-76
- !3492 Backport !3482 "glocalfileinfo: Fix incorrect use of struct
statx.st_mtimensec on Android" to glib-2-76
Wang Mingyu [Mon, 17 Jul 2023 09:10:10 +0000 (17:10 +0800)]
nghttp2: upgrade 1.54.0 -> 1.55.1
Changelog:
============
doc: Bump boringssl
Fix memory leak
Fix build error without libev
Bump go to 1.20
Bump go package dependencies
mruby: Support cross build for autotools
h2load, nghttpx: Add UDP_GRO support
Bump ngtcp2
nghttpx: Randomize initial QUIC packet number
Bump llhttp to a0e744f850d8101a51284868ffdf745bcfe4fbcc
Bump macos to 12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Mon, 17 Jul 2023 09:10:08 +0000 (17:10 +0800)]
libproxy: upgrade 0.5.2 -> 0.5.3
Changelog:
=========
-Fix crash querying URLs without a host
-Web: Update application page
-Add appplication info about apt and python requests
-Bump version to 0.5.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Mon, 17 Jul 2023 09:10:07 +0000 (17:10 +0800)]
harfbuzz: upgrade 7.3.0 -> 8.0.1
Changelog:
===========
- Build fix on 32-bit arm.
- More speed optimizations.
- New, experimental, WebAssembly (WASM) shaper
- Improvements to
Experimental features introduced in earlier releases.
- New macro HB_ALWAYS_INLINE.
- New API.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Richard Purdie [Thu, 20 Jul 2023 09:27:53 +0000 (10:27 +0100)]
glibc-testsuite: Fix network restrictions causing test failures
The check target for the glibc testsuite uses networking to access
a QEMU in system mode. This was resulting in large numbers of test
failures for the x86 targets that use it.
Enable network access to resolve this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andrej Valek [Fri, 23 Jun 2023 11:14:57 +0000 (13:14 +0200)]
oeqa/selftest/cve_check: rework test to new cve status handling
- After introducing the CVE_STATUS and CVE_CHECK_STATUSMAP flag
variables, CVEs could contain a more information for assigned statuses.
- Add an example conversion in logrotate recipe.
Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andrej Valek [Fri, 23 Jun 2023 11:14:56 +0000 (13:14 +0200)]
cve-check: add option to add additional patched CVEs
- Replace CVE_CHECK_IGNORE with CVE_STATUS to be more flexible.
The CVE_STATUS should contain an information about status wich
is decoded in 3 items:
- generic status: "Ignored", "Patched" or "Unpatched"
- more detailed status enum
- description: free text describing reason for status
Examples of usage:
CVE_STATUS[CVE-1234-0001] = "not-applicable-platform: Issue only applies on Windows"
CVE_STATUS[CVE-1234-0002] = "fixed-version: Fixed externally"
Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Julien Stephan [Wed, 12 Jul 2023 13:57:07 +0000 (15:57 +0200)]
automake: fix buildtest patch
Add check_PROGRAMS as a dependency of buildtest-TESTS target.
This is required because according to the official automake
documentation [1]:
* TESTS: contains all the tests files
* check_PROGRAMS: contains the programs used by the tests
* check_PROGRAMS is not automatically added to TESTS
So, by using only TESTS as a dependency for buildtest-TESTS we may end
up having runtime errors because of missing program required by the
tests.
v3.16.2
* Bugfixes:
- In Path.match, Windows path separators are no longer honored. The fact
that they were was incidental and never supported. (#92)
- Fixed name/suffix/suffixes/stem operations when no filename is present
and the Path is not at the root of the zipfile. (#96)
- Reworked glob utilizing the namelist directly. (#101)
v3.16.1
* Bugfixes:
- Replaced the fnmatch.translate with a fresh glob-to-regex translator
for more correct matching behavior. (#98)
v3.16.0
* Features:
- Require Python 3.8 or later.
License-Update: removed Copyright (see https://github.com/jaraco/skeleton/issues/78)
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>
Jose Quaresma [Fri, 14 Jul 2023 13:34:00 +0000 (13:34 +0000)]
go: update 1.20.5 -> 1.20.6
Upgrade to latest 1.20.x release [1]:
$ git log --oneline go1.20.5..go1.20.6 origin/release-branch.go1.20 2c358ffe97 (tag: go1.20.6, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.6 312920c00a [release-branch.go1.20] net/http: validate Host header before sending 4db13d762b [release-branch.go1.20] runtime: set raceignore to zero when starting a new goroutine 08a58dd8b6 [release-branch.go1.20] runtime: allow for 5 more threads in TestWindowsStackMemory* 65092835c5 [release-branch.go1.20] cmd/go: skip TestScript/gccgo_link_ldflags on aix/ppc64 bca817594c [release-branch.go1.20] crypto/x509: tolerate multiple matching chains in testVerify b8e67d1ddd [release-branch.go1.20] cmd/go/internal/test: don't wait for previous test actions when interrupted 3db4f8146c [release-branch.go1.20] runtime: resolve checkdead panic by refining `startm` lock handling in caller context 6b45fb7b73 [release-branch.go1.20] runtime: fallback to TEB arbitrary pointer when TLS slots are full be30960e58 [release-branch.go1.20] runtime: use 1-byte load for address checking in racecallatomic b59efe6c34 [release-branch.go1.20] net/mail: permit more characters in mail headers c32f1afb41 [release-branch.go1.20] all: make safe for new vet analyzer c7b145655b [release-branch.go1.20] cmd/go: fix tests for new builder environment 03063101a2 [release-branch.go1.20] text/template: set variables correctly in range assignment d51e322a3f [release-branch.go1.20] go/printer: error out of Fprint when it would write a '//line' directive with a multiline file path 49594244d3 [release-branch.go1.20] cmd/cover: error out if a requested source file contains a newline 4719048211 [release-branch.go1.20] cmd/cgo: error out if the source path used in line directives would contain a newline 6c606fc191 [release-branch.go1.20] cmd/go: fix TestScript/build_cwd_newline with CGO_ENABLED=0 63ad2b5811 [release-branch.go1.20] cmd/compile: do not report division by error during typecheck 95f377daad [release-branch.go1.20] cmd/go: retain extra roots to disambiguate imports in 'go mod tidy' a7a48fad7e [release-branch.go1.20] crypto/ecdsa: properly truncate P-521 hashes f5172dcd38 [release-branch.go1.20] go/build: check for invalid import paths again 8b3acefcbe [release-branch.go1.20] cmd/go: omit checksums for go.mod files needed for go version lines more often in pre-1.21 modules 1008486a9f [release-branch.go1.20] cmd/cgo: correct _cgo_flags output
Richard Purdie [Wed, 19 Jul 2023 10:23:20 +0000 (11:23 +0100)]
oeqa/selftest/rust: Various fixes to work correctly
* Ensure the test/class naming doesn't allow the to be triggered
without the toolchain decorator
* Add the toolchain-user decorator so it runs on non-IA targets
* Strip the leading "[XX] " prefix from the test names
* Ensure skipped test counts are passed through correctly (as SKIPPED, not SKIP)
* Avoid duplicate test results and show a warning if any are found (duplicates
were from other sources in the end but the code remains sensible to have)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch implements Rust testing framework similar to other selftest,
specifically the gcc selftest in OE. It uses the client and server
based method to test the binaries for cross-target on the image.
The test framework is a wrapper around the Rust build system as ./x.py
test. It tests many functionalities of Rust distribution like tools,
documentation, libraries, packages, tools, Cargo, Crater etc.
Please refer the following link for detailed description of Rust
testing:-
https://rustc-dev-guide.rust-lang.org/tests/intro.html#tool-tests
To support the rust tests in oe-core, the following functions were
added:-
setup_cargo_environment(): Build bootstrap and some early stage tools.
do_rust_setup_snapshot(): Install the snapshot version of rust binaries.
do_configure(): To generate config.toml
do_compile(): To build "remote-test-server" for qemu target image.
Approximate Number of Tests Run in the Rust Testsuite :- 18000
Approximate Number of Tests that FAIL in bitbake environment :- 100-150
Normally majority of the testcases are present in major folder "test/"
It contributes to more than 80% of the testcases present in Rust test
framework. These tests pass as expected on any Rust versions without
much fuss. The tests that fail are of less important and contribute to
less than 2% of the total testcases. These minor tests are observed to
work on some versions and fail on others. They have to be added, ignored
or excluded for different versions as per the behavior.
These tests have been ignored or excluded in the Rust selftest
environment to generate success of completing the testsuite.
These tests work in parallel mode even in the skipped test mode as
expected. Although the patch to disable tests is large, it is very simple
in that it only disables tests. When updating to a newer version of Rust,
the patch can usually be ported in a day.
Tested for X86, X86-64, ARM, ARM64 and MIPS64 on Ubuntu 22.04. Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com> Signed-off-by: Yash Shinde <yashinde145@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Async generators lost their return value in PyPy. (Github issue :issue:`5465`)
- The outdated C macro _PyGC_FINALIZED() is no longer used in Py3.9+.
- The deprecated Py_OptimizeFlag is no longer used in Python 3.9+. (Github issue :issue:`5343`)
- Using the global __debug__ variable but not assertions could lead to compile errors.
- The broken HTML template support was removed from Tempita. (Github issue :issue:`3309`)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
41.0.2 - 2023-07-10
* Fixed bugs in creating and parsing SSH certificates where critical
options with values were handled incorrectly. Certificates are now
created correctly and parsing accepts correct values as well as the
previously generated invalid forms with a warning. In the next release,
support for parsing these invalid forms will be removed.
Release 4.7.1 (July 2, 2023)
* Fix support for TypedDict, NamedTuple and is_protocol on PyPy-3.7 and
PyPy-3.8. Patch by Alex Waygood. Note that PyPy-3.7 and PyPy-3.8 are
unsupported by the PyPy project. The next feature release of
typing-extensions will drop support for PyPy-3.7 and may also drop
support for PyPy-3.8.
Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 14 Jul 2023 09:51:17 +0000 (10:51 +0100)]
ptest-runner: Pull in parallel test fixes and output handling
Pull in the commits:
Flush stdout and stderr after test
Remove _child_reader singleton
Report test failure on timeout
Only collect system state on timeout
Revert "Change test timeout to be total elapsed time"
Change test timeout to be total elapsed time
Report if child dies from a signal
Recreate pipe for each test
Revert "runner: Correctly handle running parallel tests"
runner: Correctly handle running parallel tests
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Revert "rootfs-postcommands.bbclass: add post func remove_unused_dnf_log_lock"
This was not well researched or explained, and obscures a problem elsewhere:
if dnf leaves lock files around, the problem should be fixed at the source,
and not in an after-the-fact function.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changqing Li [Fri, 30 Jun 2023 09:14:51 +0000 (17:14 +0800)]
rootfs-postcommands.bbclass: add post func remove_unused_dnf_log_lock
Remove log_lock.pid which maybe created during do_rootfs. In commit
[dnf: only write the log lock to root for native dnf],
native dnf changed to write log lock to root, and target dnf still
use /var/log, so log_lock.pid need to be removed post do_rootfs.
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>
When enabling ipcs and ipcrm configuration into busybox, both tools are
built and then deployed during do_rootfs. These operation lead to below
issue (similar behavior happens for ipcs):
do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
update-alternatives: Error: not linking .../build/tmp/work/board-poky-linux/board-image/1.0-r0/rootfs/usr/bin/ipcrm
to /bin/busybox since .../build/tmp/work/board-poky-linux/board-image/1.0-r0/rootfs/usr/bin/ipcrm exists and is not a link
Binaries enter in conflict with same named util-linux utilities during
do_rootfs step.
Adding ALTERNATIVE_LINK_NAME for both tools fix the issue.
Signed-off-by: Benjamin Bouvier <benjamin.bouvier@ekinops.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ptest-cargo.bbclass: fix condition to detect test executable
before that, a test executable at None was picked.
Moreover, use universal_newlines to subprocess call to avoid
being polluted by fancy carriage return characters.
- add PKCS#11 3.0 support
- add support for profile objects
- add ability to adjust module and config paths at run-time via system environmental exports
- make terminal output nicer
- p11-kit: add command to print merged configuration
- p11-kit: add commands to list, add and delete profiles of a token
- trust: add command to check format of .p11-kit files
- virtual: fix libffi type signatures for PKCS#11 3.0 functions
- server: fix umask setting when --group is specified
- server: check SHELL only when neither --sh nor --csh is specified
- rpc: use space string in C_InitToken
- rpc: fix two off-by-one errors identified by asan
- modules: make logging message more translatable
- pkcs11.h: support CRYPTOKI_GNU for IBM vendor mechanisms
- pkcs11.h: add IBM specific mechanism and attributes
- pkcs11.h: add ChaCha20/Salsa20 and Poly1305 mechanisms
- pkcs11.h: add AES-GCM mechanism parameters for message-based encryption
- po: update translations from Transifex
- bug and build fixes
- test fixes
Wang Mingyu [Fri, 7 Jul 2023 03:12:29 +0000 (11:12 +0800)]
msmtp: upgrade 1.8.23 -> 1.8.24
Changelog:
===========
- Added a new configuration command 'from_full_name' to set a full name for the
From header (like -F on the command line)
- Fixed the allow_from_override command
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>
Wang Mingyu [Fri, 7 Jul 2023 03:12:31 +0000 (11:12 +0800)]
taglib: upgrade 1.13 -> 1.13.1
Changelog:
===========
* Fixed parsing of TXXX frames without description.
* Detect MP4 atoms with invalid length or type.
* Do not miss ID3v2 frames when an extended header is present.
* Use property "DISCSUBTITLE" for ID3v2 "TSST" frame.
* Build system improvements: Use absolute path for macOS dylib install name,
support --define-prefix when using pkg-config, fixed minimum required
CppUnit version.
* Code clean up using clang-tidy.
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>
34fd736 (HEAD, tag: v6.8.0) Finalize 97084d8 Remove reliance on typing-extensions, only required for Python 3.7 compatibility. b74d2b2 Merge pull request #460 from Gryfenfer97/main ec7bca0 Disable tests on pypy due to #463 ee4f84a Remove superfluous includes f862e3f Merge branch '2023-handoff' of https://github.com/jaraco/skeleton 23ed6b1 Merge branch 'collapse' into 2023-handoff c29955f Collapse skeleton history. Workaround for jaraco/skeleton#87. cca49a4 Prefer 3.x for Python version (latest stable). 74ba8ac Leverage pytest-enabler 2.2 for the default config. 8e83c3f Expand 'finalize' to commit and tag the change. f5a5617 Merge https://github.com/jaraco/skeleton 3b7d8a9 Require Python 3.8 or later. 07a87ea Remove tox boilerplate, no longer necessary with later versions of tox. cd145f4 Replace workaround for actions/setup-python#508 with 'allow-prereleases' 5ca761c Merge https://github.com/jaraco/skeleton 45c03bd add typing for simple functions 74b0d39 Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83. 2963377 Merge https://github.com/jaraco/skeleton 241541c Remove inclusion of python version for docs e7cd730 Add badge for Ruff. 6f75480 Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401.
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>
Ross Burton [Mon, 10 Jul 2023 13:06:52 +0000 (14:06 +0100)]
libdmx: remove obsolete library
The Xdmx server was removed from the xorg-server sources in xorg-server
21 (released Oct. 2021), so this is only useful for communicating with
Xdmx from the 1.20 and older releases.
Also remove the DEPENDS on libdmx in xdpyinfo for the same reason.
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>
AUH upgrade failed because the LICENSE checksum no longer matched. This
is because the attribution in the file was removed upstream in v67.8.0.
Patch fuzz also needed to be upgraded for
0001-conditionally-do-not-fetch-code-by-easy_install.patch.
Jose Quaresma [Mon, 10 Jul 2023 22:24:20 +0000 (22:24 +0000)]
pybootchartgui: fix width max usage in draw_label_in_box
The function draw_label_in_box chooses the correct side based on
the maximum width length argument 'maxx'.
Currently the labels are always drawn on the left side and this
is because we are inadvertently passing the 'maxx' argument wrong.
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jose Quaresma [Mon, 10 Jul 2023 22:24:18 +0000 (22:24 +0000)]
pybootchartgui: concatenate the elapsed time with the process
The function draw_label_in_box have logic to chose the rigth side
to call the draw_text, so use it instaed of forcing the cordinates
of the right side.
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is based on a previous patch from Alex Kanavin (thanks Alex),
but it retains our use of sed to parse the test output into a usable
form. The intent was to use the test module's --junit-xml feature and
parse the resulting log instead of using sed, but various errors were
encountered when testing this method, so that will need further
investigation before we can consider adopting it. Two missing ptest
dependencies on python3-cgitb and python3-zipapp were already merged
in a previous patch, so only gcc, g++, and binutils were left to add
as ptest RDEPENDS.
Ross Burton [Thu, 13 Jul 2023 19:18:58 +0000 (20:18 +0100)]
qemuarm: pin kernel to 6.1
The 6.4 kernel causes parselog failures when Xorg starts:
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): mode "640x480" test failed
(II) FBDEV(0): mode "640x480" test failed
(II) FBDEV(0): mode "640x480" test failed
(II) FBDEV(0): mode "640x480" test failed
(II) FBDEV(0): mode "640x480" not found
It appears to be specific to qemuarm without GL. Until this is resolved,
pin the qemuarm BSP to 6.1.
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>
Enable branch protection (PAC/BTI) for all aarch64 builds. This was
previously enabled at a global level in the GCC build, but that breaks
the gcc test suite.
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>
By changing the default code generation of GCC we're inadvertently
breaking the GCC test suite, which has ~120K+ more failures when run for
aarch64 compared to x86-64.
This was because the generated code fragments included the BTI
instructions, which the test case wasn't expecting. We can't tell the
tests globally to run without branch protection, as that will break the
tests which also turn it on.
Remove the enabling of branch protection by standard in GCC, we'll
enable it in the tune files instead.
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>
Ross Burton [Tue, 11 Jul 2023 11:54:47 +0000 (12:54 +0100)]
cve-update-nvd2-native: actually use API keys
There were vestigal remains of API key support which could be removed,
but as using an API key - in theory - gives the user larger rate limits
it's probably wise to expose it.
If the user has an API key, then set NVDCVE_API_KEY.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter Marko [Tue, 11 Jul 2023 06:36:29 +0000 (08:36 +0200)]
cve-update-nvd2-native: increase retry count
Current 503 errors seem to last several seconds.
In most cases there are two errors and third request succeeds.
However sometimes the outage takes more than time needed
for two retries and third one also fails.
Extend retry count from 3 to 5 to improve the probablity
that the fetcher succeeds.
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter Marko [Tue, 11 Jul 2023 06:36:28 +0000 (08:36 +0200)]
cve-update-nvd2-native: retry all errors and sleep between retries
Last couple days it is not possible to update NVD DB as servers
are returning lot of errors.
Mostly "HTTP Error 503: Service Unavailable" is observed but
sporadially also some others.
Retrying helps in most cases, so extend retries to all errors.
Additionally add sleep which is recommended by NVD between requests.
These retries are already implemented between successful requests,
but giving servers time between failed ones is important, too.
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 6 Jul 2023 19:26:23 +0000 (15:26 -0400)]
linux-yocto/6.1: update to v6.1.38
Updating to the latest korg -stable release that comprises
the following commits:
61fd484b2cf6 Linux 6.1.38 c50065a39279 drm/amd/display: Ensure vmin and vmax adjust for DCE 9d0b2afadfd7 drm/amdgpu: Validate VM ioctl flags. fe56f507a11a docs: Set minimal gtags / GNU GLOBAL version to 6.6.5 c437b26bc3ae scripts/tags.sh: Resolve gtags empty index generation 50e36c2897ba perf symbols: Symbol lookup with kcore can fail if multiple segments match stext 67e3b5230cef nubus: Partially revert proc_create_single_data() conversion 296927dbae7d execve: always mark stack as growing down during early stack setup d856e6f8a0b4 PCI/ACPI: Call _REG when transitioning D-states 788c76c33df9 PCI/ACPI: Validate acpi_pci_set_power_state() parameter a905b0b318ad drm/amd/display: Do not update DRR while BW optimizations pending dd6d6f9d47ae drm/amd/display: Remove optimization for VRR updates 6b2849b3e05d xtensa: fix lock_mm_and_find_vma in case VMA not found
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Mon, 3 Jul 2023 13:55:42 +0000 (09:55 -0400)]
linux-yocto/6.1: update to v6.1.37
Updating to the latest korg -stable release that comprises
the following commits:
0f4ac6b4c5f0 Linux 6.1.37 323846590c55 xtensa: fix NOMMU build with lock_mm_and_find_vma() conversion c2d89256de75 csky: fix up lock_mm_and_find_vma() conversion 4a1db15878aa parisc: fix expand_stack() conversion 0a1da2dde461 sparc32: fix lock_mm_and_find_vma() conversion 00f04a3385f7 Revert "thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe" a536383ef030 HID: logitech-hidpp: add HIDPP_QUIRK_DELAYED_INIT for the T651. d89750b19681 HID: wacom: Use ktime_t rather than int when dealing with timestamps 879e79c3aead HID: hidraw: fix data race on device refcount cae854249578 fbdev: fix potential OOB read in fast_imageblit() e6bbad75712a mm: always expand the stack with the mmap write lock held c4b31d1b694e execve: expand new process stack manually ahead of time 6a6b5616c3d0 mm: make find_extend_vma() fail if write lock not held 48c232819e77 powerpc/mm: convert coprocessor fault to lock_mm_and_find_vma() 21ee33d51bf9 mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 1f4197f050de arm/mm: Convert to using lock_mm_and_find_vma() ac764deea709 riscv/mm: Convert to using lock_mm_and_find_vma() 7227d70acc78 mips/mm: Convert to using lock_mm_and_find_vma() 82972ea17b47 powerpc/mm: Convert to using lock_mm_and_find_vma() b92cd80e5f0b arm64/mm: Convert to using lock_mm_and_find_vma() 755aa1bc6aaf mm: make the page fault mmap locking killable d6a5c7a1a6e5 mm: introduce new 'lock_mm_and_find_vma()' page fault helper 4e2ad53ababe maple_tree: fix potential out-of-bounds access in mas_wr_end_piv() 31cde3bdadca can: isotp: isotp_sendmsg(): fix return error fix on TX path 0af4750eaaed x86/smp: Cure kexec() vs. mwait_play_dead() breakage 6d3b2e0aef6c x86/smp: Use dedicated cache-line for mwait_play_dead() 50a1abc67702 x86/smp: Remove pointless wmb()s from native_stop_other_cpus() e47037d28b73 x86/smp: Dont access non-existing CPUID leaf edadebb349e8 x86/smp: Make stop_other_cpus() more robust 94a69d699941 x86/microcode/AMD: Load late on both threads too 84f077802e56 mm, hwpoison: when copy-on-write hits poison, take page offline 4af5960d7cd4 mm, hwpoison: try to recover from copy-on write faults 69925a346acb mptcp: ensure listener is unhashed before updating the sk status 42a018a796d1 mm/mmap: Fix error return in do_vmi_align_munmap() a149174ff8bb mm/mmap: Fix error path in do_vmi_align_munmap()
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Mon, 3 Jul 2023 13:50:18 +0000 (09:50 -0400)]
linux-yocto/6.1: update to v6.1.36
Updating to the latest korg -stable release that comprises
the following commits:
a1c449d00ff8 Linux 6.1.36 29429a1f5871 smb: move client and server files to common directory fs/smb 9d3e4bca4b92 i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle 81d4078f7a42 x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys 679354bea008 KVM: arm64: Restore GICv2-on-GICv3 functionality 6ab9468d3eea vhost_net: revert upend_idx only on retriable error 454e4f391a14 vhost_vdpa: tell vqs about the negotiated 1af1cd7be370 drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl 022f2306d94f drm/exynos: fix race condition UAF in exynos_g2d_exec_ioctl aa88042218aa drm/exynos: vidi: fix a wrong error return 711f727f7bab null_blk: Fix: memory release when memory_backed=1 f6076a1386c9 ARM: dts: Fix erroneous ADS touchscreen polarities 1d1baefacdb4 i2c: mchp-pci1xxxx: Avoid cast to incompatible function type 8e3257599409 ALSA: hda/realtek: Add "Intel Reference board" and "NUC 13" SSID in the ALC256 cfa01235b5ed ASoC: fsl_sai: Enable BCI bit if SAI works on synchronous mode with BYP asserted 570583c6251a s390/purgatory: disable branch profiling c2888c460db2 gfs2: Don't get stuck writing page onto itself under direct I/O 878dad66b9b5 ASoC: amd: yc: Add Thinkpad Neo14 to quirks list for acp6x 1c97025d441f ASoC: nau8824: Add quirk to active-high jack-detect 5cc506e9b3e5 soundwire: qcom: add proper error paths in qcom_swrm_startup() 2839e0b64e65 soundwire: dmi-quirks: add new mapping for HP Spectre x360 ee4d36a14d3f ASoC: simple-card: Add missing of_node_put() in case of error e701fb0a5d5b ASoC: codecs: wcd938x-sdw: do not set can_multi_write flag 06b9522ca831 spi: lpspi: disable lpspi module irq in DMA mode 39a77f005f8a s390/cio: unregister device when the only path is gone 552a24eb7168 arm64: dts: qcom: sc7280-qcard: drop incorrect dai-cells from WCD938x SDW 4de58b7c14c0 arm64: dts: qcom: sc7280-idp: drop incorrect dai-cells from WCD938x SDW 2e8ebf1a44cb Input: soc_button_array - add invalid acpi_index DMI quirk handling ba0cc7a2e508 nvme: improve handling of long keep alives 06d9ec407f76 nvme: check IO start time when deciding to defer KA 8a72260619ca nvme: double KA polling frequency to avoid KATO with TBKAS on c8f988c37a6b usb: gadget: udc: fix NULL dereference in remove() 3f6391062d0b btrfs: fix an uninitialized variable warning in btrfs_log_inode a2c3e9bfc02c nfcsim.c: Fix error checking for debugfs_create_dir a05df0643120 media: cec: core: don't set last_initiator if tx in progress f37956a140d1 media: cec: core: disable adapter in cec_devnode_unregister 9d8ac2726cff smb3: missing null check in SMB2_change_notify 3e8458c5b205 arm64: Add missing Set/Way CMO encodings 8428f4c00d8c HID: wacom: Add error check to wacom_parse_and_register() aaa50510adb7 scsi: target: iscsi: Prevent login threads from racing between each other 0357259cb103 gpiolib: Fix irq_domain resource tracking for gpiochip_irqchip_add_domain() 8592ada80ea5 gpio: sifive: add missing check for platform_get_irq cb1108e17493 gpiolib: Fix GPIO chip IRQ initialization restriction 90714f7ed760 arm64: dts: rockchip: fix nEXTRST on SOQuartz e51abd4808f9 arm64: dts: rockchip: Enable GPU on SOQuartz CM4 ec3d0f12e728 revert "net: align SO_RCVMARK required privileges with SO_MARK" b2e2f9c0939f sch_netem: acquire qdisc lock in netem_change() 0434277b72a4 platform/x86/amd/pmf: Register notify handler only if SPS is enabled 2d580c73afdc selftests: forwarding: Fix race condition in mirror installation eff07bf11841 io_uring/net: use the correct msghdr union member in io_sendmsg_copy_hdr 1b7b048c228e bpf: Force kprobe multi expected_attach_type for kprobe_multi link fc3afb337814 bpf/btf: Accept function names that contain dots 22cc989f2b10 Revert "net: phy: dp83867: perform soft reset and retain established link" 3e04743dbacf netfilter: nfnetlink_osf: fix module autoload abd3afddbf9e netfilter: nf_tables: disallow updates of anonymous sets c34b22038543 netfilter: nf_tables: reject unbound chain set before commit phase 46f801ab5fb9 netfilter: nf_tables: reject unbound anonymous set before commit phase b60c0ce0ff31 netfilter: nf_tables: disallow element updates of bound anonymous sets 0d836f917520 netfilter: nft_set_pipapo: .walk does not deal with generations d60be2da67d1 netfilter: nf_tables: drop map element references from preparation phase df27be7c1530 netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain 891cd2edddc7 netfilter: nf_tables: fix chain binding transaction logic f5b6dbec26f1 be2net: Extend xmit workaround to BE3 chip 50f689918db4 net: dsa: mt7530: fix handling of LLDP frames a50f84af215e net: dsa: mt7530: fix handling of BPDUs on MT7530 switch a4e4c7190126 net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switch 7fd2e9a69e83 ipvs: align inner_mac_header for encapsulation 6d1eec1f2dd7 mmc: usdhi60rol0: fix deferred probing 7e10fff13353 mmc: sh_mmcif: fix deferred probing 565b8bd2905d mmc: sdhci-acpi: fix deferred probing 645f89ee3e3e mmc: owl: fix deferred probing 251101c32a01 mmc: omap_hsmmc: fix deferred probing 0057a905de5c mmc: omap: fix deferred probing f73b380518b2 mmc: mvsdio: fix deferred probing 4806f6b6b7a3 mmc: mtk-sd: fix deferred probing d28b7a87332f net: qca_spi: Avoid high load if QCA7000 is not available 1d4dd09f13a9 sfc: use budget for TX completions 0bbb8164ed07 net/mlx5: DR, Fix wrong action data allocation in decap action b062caf4f73b xfrm: Linearize the skb after offloading if needed. fff9a18e0128 selftests: net: fcnal-test: check if FIPS mode is enabled 0793ead2ff2c selftests: net: vrf-xfrm-tests: change authentication and encryption algos 6919634176cd selftests: net: tls: check if FIPS mode is enabled ac5671d10060 bpf: Fix a bpf_jit_dump issue for x86_64 with sysctl bpf_jit_enable. 8bb51cdc4fc2 xfrm: fix inbound ipv4/udp/esp packets to UDPv6 dualstack sockets d9a0b1a53c79 bpf: Fix verifier id tracking of scalars on spill 461fc3391c52 bpf: track immediate values written to stack by BPF_ST instruction b36ba84f09a1 KVM: arm64: PMU: Restore the host's PMUSERENR_EL0 c803e91600be xfrm: Ensure policies always checked on XFRM-I input path 94e81817f080 xfrm: interface: rename xfrm_interface.c to xfrm_interface_core.c 8ea03341f78a xfrm: Treat already-verified secpath entries as optional 43489b2cba5a ieee802154: hwsim: Fix possible memory leaks caddcdf2a999 mmc: meson-gx: fix deferred probing 1a2793a25a60 memfd: check for non-NULL file_seals in memfd_create() syscall 364fdcbb035b x86/mm: Avoid using set_pgd() outside of real PGD pages cbfee3d9d5c0 nilfs2: prevent general protection fault in nilfs_clear_dirty_page() 24f473769e7e io_uring/poll: serialize poll linked timer start with poll removal 2d80c85fa404 arm64: dts: rockchip: Fix rk356x PCIe register and range mappings 277a7c23b590 regmap: spi-avmm: Fix regmap_bus max_raw_write b385b1d28e4e regulator: pca9450: Fix LDO3OUT and LDO4OUT MASK ad5daeaa3d57 spi: spi-geni-qcom: correctly handle -EPROBE_DEFER from dma_request_chan() 21945b7a868f wifi: iwlwifi: pcie: Handle SO-F device for PCI id 0x7AF0 1dfca388fc7c bpf: ensure main program has an extable 03b2149d5aca mmc: sunxi: fix deferred probing 8b8756324c5b mmc: bcm2835: fix deferred probing 1db5a39a904e mmc: sdhci-spear: fix deferred probing f1b17198e45b mmc: mmci: stm32: fix max busy timeout calculation 6c2af0fd8301 mmc: meson-gx: remove redundant mmc_request_done() call from irq context 687d34c57807 mmc: sdhci-msm: Disable broken 64-bit DMA on MSM8916 3dd0041c41da mmc: litex_mmc: set PROBE_PREFER_ASYNCHRONOUS 0d7a4e6589a0 cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex in freezer_css_{online,offline}() 7b162a18d332 cgroup: Do not corrupt task iteration when rebinding subsystem c2c46a70282f mptcp: consolidate fallback and non fallback state machine 1d3127542665 mptcp: fix possible list corruption on passive MPJ b747e755986a mptcp: fix possible divide by zero in recvmsg() b7bb71dfb541 mptcp: handle correctly disconnect() failures 1d9dc9bed999 io_uring/net: disable partial retries for recvmsg with cmsg 4d729cc67b05 io_uring/net: clear msg_controllen on partial sendmsg retry 4db49d59a89c PCI: hv: Add a per-bus mutex state_lock 091d03d19859 PCI: hv: Fix a race condition in hv_irq_unmask() that can cause panic 5c09925b1879 PCI: hv: Remove the useless hv_pcichild_state from struct hv_pci_dev da2fff20d92d Revert "PCI: hv: Fix a timing issue which causes kdump to fail occasionally" a74a9d9b756a PCI: hv: Fix a race condition bug in hv_pci_query_relations() ba803d7ac18a Drivers: hv: vmbus: Fix vmbus_wait_for_unload() to scan present CPUs 191cb913293a Drivers: hv: vmbus: Call hv_synic_free() if hv_synic_alloc() fails 4f7e702b74f7 KVM: Avoid illegal stage2 mapping on invalid memory slot 390aeb5ae7c0 ACPI: sleep: Avoid breaking S3 wakeup due to might_sleep() 8e63b1fd24a8 nilfs2: fix buffer corruption due to concurrent device reads d5d7cde2ad19 scripts: fix the gfp flags header path in gfp-translate 4a89bfb1a142 writeback: fix dereferencing NULL mapping->host on writeback_page_template 1fed1f851346 selftests: mptcp: join: fix "userspace pm add & remove address" 53e096bcaeac selftests: mptcp: join: skip fail tests if not supported f17459121c37 selftests: mptcp: join: skip userspace PM tests if not supported f40a7ded34c9 selftests: mptcp: join: skip test if iptables/tc cmds fail bce23d125434 selftests: mptcp: sockopt: skip TCP_INQ checks if not supported 157dcb20000b selftests: mptcp: diag: skip listen tests if not supported 755c8857abde selftests/mount_setattr: fix redefine struct mount_attr build error 94851666aff4 selftests: mptcp: join: skip MPC backups tests if not supported fe1f28db73f7 selftests: mptcp: join: skip fullmesh flag tests if not supported 6313c493e3c9 selftests: mptcp: join: skip backup if set flag on ID not supported efb4f6c2dd4c selftests: mptcp: join: skip implicit tests if not supported dd6c284a3430 selftests: mptcp: join: support RM_ADDR for used endpoints or not 695cce2f2cf5 selftests: mptcp: join: skip Fastclose tests if not supported 0381f30735e2 selftests: mptcp: join: support local endpoint being tracked or not 1c0d9b4b4745 selftests: mptcp: join: skip check if MIB counter not supported e35edb09e53e selftests: mptcp: join: helpers to skip tests 4d65ec947d24 selftests: mptcp: join: use 'iptables-legacy' if available 44d3366bf4b9 selftests: mptcp: lib: skip if not below kernel version c5bdd8eb8e7d selftests: mptcp: userspace pm: skip if not supported 733bf9d80d95 selftests: mptcp: userspace pm: skip if 'ip' tool is unavailable bfe225dec643 selftests: mptcp: sockopt: skip getsockopt checks if not supported 103b4e62de32 selftests: mptcp: sockopt: relax expected returned size 61c1bf0666a9 selftests: mptcp: pm nl: skip fullmesh flag checks if not supported 41f7f7f6e43e selftests: mptcp: pm nl: remove hardcoded default limits e79e5e7642ad selftests: mptcp: connect: skip disconnect tests if not supported cba0db9c1586 selftests: mptcp: connect: skip transp tests if not supported 9ead68270b29 selftests: mptcp: lib: skip if missing symbol 4bed22c6876b selftests: mptcp: join: fix ShellCheck warnings a032ccca15e1 selftests: mptcp: remove duplicated entries in usage 0c6552f83725 tick/common: Align tick period during sched_timer setup 854156d12caa ksmbd: validate session id and tree id in the compound request c86211159bc3 ksmbd: fix out-of-bound read in smb2_write 9650cf70ec9d ksmbd: validate command payload size 0fd4ac3773c3 tpm_crb: Add support for CRB devices based on Pluton a46fa5696613 tpm, tpm_tis: Claim locality in interrupt handler 2e7ad879e1b0 mm: Fix copy_from_user_nofault(). 4ed740c6482f ata: libata-scsi: Avoid deadlock on rescan after device resume c4465bff4d2f tty: serial: fsl_lpuart: reduce RX watermark to 0 on LS1028A 17732fed852a tty: serial: fsl_lpuart: make rx_watermark configurable for different platforms 9bcac453890b drm/amd/display: fix the system hang while disable PSR e538342002cb drm/amd/display: Add wrapper to call planes and stream update 8d855bc67630 drm/amd/display: Use dc_update_planes_and_stream
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Mon, 10 Jul 2023 16:16:27 +0000 (12:16 -0400)]
linux-yocto/ppc: add elfutils-native to DEPENDS
powerpc joins x86 and ARM requiring elfutils-native in some
configurations.
We already have this dependency in the dev kernel and in devsrc, so we
add it to linux-yocto.inc to ensure that all reference kernels pick up
the requirement.
Without this, objtools fails to build as follows:
kernel-source/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building -tiny for qemux86 on 6.4, CONFIG_HID related warnings
were observed.
[NOTE]: 'CONFIG_HID_WACOM' last val (y) and .config val (n) do not match
[NOTE]: 'CONFIG_USB_HID' last val (y) and .config val (n) do not match
[NOTE]: 'CONFIG_USB_HIDDEV' last val (y) and .config val (n) do not match
This is due to our allnoconfig baseline disabling HID, which dependent
drivers require.
Rather than universally enabling CONFIG_HID in the base tiny ktype, we
can create a fragment and include it from the common-pc tiny kernel
entry point.
252c55e236c common-pc/tiny: enable HID by default 849f920aa1b cfg: add CONFIG_HID base fragment
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 6 Jul 2023 18:50:19 +0000 (14:50 -0400)]
linux-yocto/6.4: update to v6.4.2
Updating to the latest korg -stable release that comprises
the following commits:
d7defc5b8d42 Linux 6.4.2 ba0f198721f4 arch/arm64/mm/fault: Fix undeclared variable error in do_page_fault() 57db8dc02888 drm/amdgpu: Validate VM ioctl flags. cc39da6c58c4 dm ioctl: Avoid double-fetch of version c27c99d4458f docs: Set minimal gtags / GNU GLOBAL version to 6.6.5 16167ccafbb3 scripts/tags.sh: Resolve gtags empty index generation b1c2d0ded4dc hugetlb: revert use of page_cache_next_miss() a03f2f4bd490 nubus: Partially revert proc_create_single_data() conversion 1c70f4df65ac Revert "cxl/port: Enable the HDM decoder capability for switch ports" 5dda60d23104 nfs: don't report STATX_BTIME in ->getattr 926eae6ede9b execve: always mark stack as growing down during early stack setup dfb27a766896 PCI/ACPI: Call _REG when transitioning D-states f933605c1767 PCI/ACPI: Validate acpi_pci_set_power_state() parameter f23cf6986b87 tools/nolibc: x86_64: disable stack protector for _start 8911865ae284 xtensa: fix lock_mm_and_find_vma in case VMA not found 593776794734 Linux 6.4.1 2aad4f30f4e4 xtensa: fix NOMMU build with lock_mm_and_find_vma() conversion 87d780e048bd csky: fix up lock_mm_and_find_vma() conversion 0d98e5325f1f parisc: fix expand_stack() conversion 23d1e960cd12 sparc32: fix lock_mm_and_find_vma() conversion 7a11f6e08edf Revert "thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe" e6d864166aaf HID: logitech-hidpp: add HIDPP_QUIRK_DELAYED_INIT for the T651. 05b47034e248 HID: hidraw: fix data race on device refcount 14fdcf965dc5 fbdev: fix potential OOB read in fast_imageblit() 00d5932e09d7 mm/khugepaged: fix regression in collapse_file() f450d0307644 gup: add warning if some caller would seem to want stack expansion d0198363f910 HID: wacom: Use ktime_t rather than int when dealing with timestamps fb32951c8903 mm: always expand the stack with the mmap write lock held af099fa739b8 execve: expand new process stack manually ahead of time b2d6752dbfe7 mm: make find_extend_vma() fail if write lock not held accf6d0c5832 powerpc/mm: convert coprocessor fault to lock_mm_and_find_vma() 203cfe05efc8 mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 4e3fb74f6050 arm/mm: Convert to using lock_mm_and_find_vma() 7e99b9821acc riscv/mm: Convert to using lock_mm_and_find_vma() 929eb6b2a690 mips/mm: Convert to using lock_mm_and_find_vma() b6f36565369c powerpc/mm: Convert to using lock_mm_and_find_vma() 7a1383601b7c arm64/mm: Convert to using lock_mm_and_find_vma() d939d8c154f1 mm: make the page fault mmap locking killable b11fa3d22ac0 mm: introduce new 'lock_mm_and_find_vma()' page fault helper f5fcf6555a2a maple_tree: fix potential out-of-bounds access in mas_wr_end_piv() b6e1ef3cd6d8 can: isotp: isotp_sendmsg(): fix return error fix on TX path 3f2719a1c382 cpufreq: amd-pstate: Make amd-pstate EPP driver name hyphenated 9e97e46e3210 x86/smp: Cure kexec() vs. mwait_play_dead() breakage cc37b1184236 x86/smp: Use dedicated cache-line for mwait_play_dead() 4726d74f697f x86/smp: Remove pointless wmb()s from native_stop_other_cpus() 8b1b43c42100 x86/smp: Dont access non-existing CPUID leaf f9abe01d5d68 x86/smp: Make stop_other_cpus() more robust 9a500542a1dc x86/microcode/AMD: Load late on both threads too
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 6 Jul 2023 17:43:17 +0000 (13:43 -0400)]
linux-yocto-rt/6.4: integrate -rt6
Integrating the following commit(s) to linux-yocto-rt/6.4:
369f3a1d2f39 Add localversion for -RT release c26c6f8a7def sysfs: Add /sys/kernel/realtime entry 1026252efc14 POWERPC: Allow to enable RT 2be128571d55 powerpc/stackprotector: work around stack-guard init from atomic 55bea7bc53a3 powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT 6d7729893293 powerpc/pseries: Select the generic memory allocator. 4f94b99ce5fa powerpc/imc-pmu: Use the correct spinlock initializer. 4842eac5df59 powerpc/pseries/iommu: Use a locallock instead local_irq_save() 20217d6be82e powerpc: traps: Use PREEMPT_RT caa81a9e214f ARM64: Allow to enable RT e6d8eecd9250 ARM: Allow to enable RT ed8eef71c579 tty/serial/pl011: Make the locking work on RT 579a01d01422 tty/serial/omap: Make the locking RT aware 82c5c842e1a3 ARM: enable irq in translation/section permission fault handlers 40b10f168ff6 arm: Disable jump-label on PREEMPT_RT. a7a1bfa3b88b arch/arm64: Add lazy preempt support be59db8f177b powerpc: Add support for lazy preemption 0143f7261d2e arm: Add support for lazy preemption 27dd55360d61 entry: Fix the preempt lazy fallout 59012496af29 x86: Support for lazy preemption d25ecd17ccbe x86/entry: Use should_resched() in idtentry_exit_cond_resched() beb2483d6b9f sched: Add support for lazy preemption c78e3d4fd185 Revert "drm/i915: Depend on !PREEMPT_RT." bdac43aa952c drm/i915: Drop the irqs_disabled() check 954bab1b75e9 drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock() afcb80571a37 drm/i915/gt: Queue and wait for the irq_work item. 5f8008dab040 drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE da5622b92296 drm/i915: Disable tracing points on PREEMPT_RT 51532f62a857 drm/i915: Don't check for atomic context on PREEMPT_RT 4b1c4c7b4e6c drm/i915: Don't disable interrupts on PREEMPT_RT during atomic updates 459be7df2c2a drm/i915: Use preempt_disable/enable_rt() where recommended 628d1b08d421 printk: Check only for migration in printk_deferred_*(). dfd2770048a6 serial: 8250: implement non-BKL console 9fc96a5c3a19 printk: replace local_irq_save with local_lock for safe mode 061a418efaef printk: Add threaded printing support for BKL consoles. 36ac8599626a printk: only disable if actually unregistered 71669eb2c2da printk: Perform atomic flush in console_flush_on_panic() b0634d6c06d9 rcu: Add atomic write enforcement for rcu stalls 95fdf7b134ab kernel/panic: Add atomic write enforcement to warn/panic c39e30092722 proc: consoles: Add support for non-BKL consoles 70be25f26762 tty: tty_io: Show non-BKL consoles as active c980fcfd9dcb printk: nobkl: Stop threads on shutdown/reboot e372fdfa42c3 printk: nobkl: Provide functions for atomic write enforcement 7c779a16b20c printk: nobkl: Add write context storage for atomic writes 042485b8fa7a printk: nobkl: Add printer thread wakeups a0d1569185ed printk: nobkl: Introduce printer threads 68aa6402e396 printk: nobkl: Add emit function and callback functions for atomic printing ccf51a3743a4 printk: nobkl: Add print state functions e33dfd268d79 printk: nobkl: Add sequence handling 2f0f99a7a004 printk: nobkl: Add buffer management f6cd5cdad5cf printk: nobkl: Add acquire/release logic 6754f4c0d6ee printk: Add non-BKL console basic infrastructure b4568c7fbbfc printk: Add per-console suspended state 1e952ed4d35b printk: Consolidate console deferred printing b12fabcfa9be printk: Add NMI check to console_flush_on_panic() and console_unblank() 9c1bfc2a6f3c kdb: do not assume write() callback available 244f2785c026 preempt: Put preempt_enable() within an instrumentation*() section. 1b61e0ba79ae zram: Replace bit spinlocks with spinlock_t for PREEMPT_RT. 62bf62e9fd6c softirq: Wake ktimers thread also in softirq. a546af0d74af tick: Fix timer storm since introduction of timersd bfd12d9a9dfc rcutorture: Also force sched priority to timersd on boosting test. 8898939cf3b1 softirq: Use a dedicated thread for timer wakeups. 2c8cccade3f1 x86: Enable RT also on 32bit 75a40b356238 x86: Allow to enable RT 126193d32d0c net: Avoid the IPI to free the 931d538b5c85 mm/page_alloc: Use write_seqlock_irqsave() instead write_seqlock() + local_irq_save(). dd90b50f7be9 seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested() 0874a8832dc7 ARM: vfp: Use vfp_lock() in vfp_entry(). 3c69696bd766 ARM: vfp: Use vfp_lock() in vfp_sync_hwstate(). 0fcd7c2cc385 ARM: vfp: Provide vfp_lock() for VFP locking. 67cdd3607ac5 posix-timers: Ensure timer ID search-loop limit is valid d18adb7ffef3 posix-timers: Prevent RT livelock in itimer_delete() 53c35a763a78 signal: Don't disable preemption in ptrace_stop() on PREEMPT_RT. 0acdc7e2e082 signal: Add proper comment about the preempt-disable in ptrace_stop(). ec0ce135acf0 locking/rtmutex: Add a lockdep assert to catch potential nested blocking 5898c4215b40 locking/rtmutex: Avoid pointless blk_flush_plug() invocations 8fbc724cb1c6 locking/rtmutex: Submit/resume work explicitly before/after blocking 3e1028d6c3cc sched/core: Provide sched_rtmutex() and expose sched work helpers 2c4691baa875 bpf: Remove in_atomic() from bpf_link_put(). eb0a0f759f25 revert: "softirq: Let ksoftirqd do its job" 3c160415c46a tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode(). c4d99ee1238f sched: Consider task_struct::saved_state in wait_task_inactive() 587e9609ccd5 sched: Unconditionally use full-fat wait_task_inactive()
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 6 Jul 2023 16:03:05 +0000 (12:03 -0400)]
linux-yocto/6.4: aufs6 integration
We still offer aufs support for some container / virtualization
workloads. The project is still up to date with 6.3+, so we grab
the patches and make them available on v6.4/standard/*
As usual, v6.4/base is pure k.org + -stable if you don't want
things such as aufs.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 5 Jul 2023 14:44:39 +0000 (14:44 +0000)]
kernel: fix localversion in v6.3+
During testing of the v6.4 reference kernel, it was noticed that
on-target modules no longer matched the magic value of the running
kernel.
This was due to a different localversion in the cross built kernel
and the scripts / resources created on target.
This was due to changes in the setlocalversion script introduced
in the v6.3 series.
The .scmversion file is no longer used (or packaged) to inhibit
the addition of a "+" (through querying of the git status of the
kernel) or the setting of a local version.
We recently introduced the KERNEL_LOCALVERSION variable to allow
recipes to place a value in .scmversion, so we extend the use of
that variable to kernel-arch.bbclass and use it to set the
exported variable LOCALVERSION.
We must do it at the kernel-arch level, as the variable must be
exported in any kernel build to ensure that setlocalversion always
correctly sets the localversion.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>