Commit Graph

68107 Commits

Author SHA1 Message Date
Paulo Neves
ec62e15f12 bitbake: tests/fetch: Add real git lfs tests and decorator
Added tests that verify that git-lfs works with an actual
real git-lfs server. This was not previously the case because
the repo in the test was a simulation of git-lfs but not
a real git lfs repo.

The 2 added tests are almost the same but test that the
git lfs file checkout is successfult with or without the
lfs=1 flag. The lfs=1 URI parameter is a quirk that triggers
2 different code paths for git lfs.

lfs=1, when used on git lfs repositories triggers the git lfs
downloading at the fetch bare stage.

lfs query parameter unset triggers the git lfs downloading only
on checkout as an implicit behavior of git. This leads to possible
network access on the unpack stage and outside the DL_DIR.

lfs=0 actually disables git-lfs functionality even if supported.

(cherry picked from commit d2be7f7f652360f13cd66d0850f3e19ffe2afb0a)

(Bitbake rev: 2a6fd774405a58f3ef2953a0dc3eca063e0cf890)

Signed-off-by: Paulo Neves <paulo@myneves.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 08:00:58 -10:00
Paulo Neves
b67823515e bitbake: tests/fetch: git-lfs restore _find_git_lfs
Not restoring the mocked _find_git_lfs leads to other tests
failing.

(cherry picked from commit 70f848631450bd723c223227c21c60e815ee033d)

(Bitbake rev: 1d5d4a46c772f44ab652f95b37f508b890828e67)

Signed-off-by: Paulo Neves <paulo@myneves.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 08:00:58 -10:00
Adrian Freihofer
d1299791a5 bitbake: bitbake/lib/bs4/tests/test_tree.py: python 3.12 regex
Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(Bitbake rev: 7efed7bc09c56e41d3074a26388581a62f145625)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 08:00:58 -10:00
Alexander Kanavin
d4ad54a401 bitbake: bitbake/codeparser.py: address ast module deprecations in py 3.12
Specifically:
/srv/work/alex/poky/bitbake/lib/bb/codeparser.py:279: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
  if isinstance(node.args[0], ast.Str):
/srv/work/alex/poky/bitbake/lib/bb/codeparser.py:280: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
  value = node.args[0].s

(Bitbake rev: 6c19b6cf105ac321ec89da1a876a317020c45ab7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 08:00:58 -10:00
Chris Laplante
8ec4f29e43 bitbake: codeparser: replace deprecated ast.Str and 's'
These have been deprecated since 3.8

(Bitbake rev: 4591011449212c8e494ea42348acb2d27a82a51b)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 08:00:58 -10:00
Michael Opdenacker
0a4530c3ed ref-manual: system-requirements: remove outdated note
To align this document with the version in the master branch

(From yocto-docs rev: 08ce7db2aa3a38deb8f5aa59bafc78542986babb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
05da4fad79 ref-manual: system-requirements.rst: fix AlmaLinux variable name
(From yocto-docs rev: fb0fa6e06df46be6b4e35e5a83252277abcd64d7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
63f7d6897f ref-manual: system-requirements: update packages to build docs
- "git" is now required to run "set_versions.py"

- Fix Ubuntu / Debian packages.
  The previous instructions didn't run on Debian 12
  Tested on Ubuntu 22.04 and Debian 12.

  Reported on https://lists.yoctoproject.org/g/docs/message/4789

(From yocto-docs rev: f2a4799fa1cb6ea406d97e1b47ce888e7f5dd264)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: <mhagans@skyviewsat.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
f51a5fd78d ref-manual: system-requirements.rst: simplify supported distro requirements
- This allows to continue sharing the updated Ubuntu/Debian requirements
  with the brief-yoctoprojectqs/index.rst without indentation mismatches
  (caused by using the same macro in two different contexts: in direct
  text and in a bullet list).

- Update poky.yaml.in to adapt the number of spaces at the beginning
  of lines.

- brief-yoctoprojectqs/index.rst: fix bad number of spaces
  before quote block.

(From yocto-docs rev: 488731c09bf63fadc02ddcdd94fb3374dafce528)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
54321fcec4 manuals: updates for building on Windows (WSL 2)
- Use the Wikipedia naming scheme: WSL 2 instead of WSLv2
- Take into account Windows Server 2019 and 2022 which are
  supported too.
- Improve some explanations

(From yocto-docs rev: e64c1154c358128d76b1b8e3a5809dbaa8dc6881)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
2fb92fb14f ref-manual/system-requirements.rst: recommend buildtools for not supported distros
Also minor correction to supported distribution notes

(From yocto-docs rev: cb417cef74b87b53300eb05c21675b5e24a10ca7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
e5620de355 ref-manual: system-requirements: modify anchor
To align with the "master" branch

(From yocto-docs rev: aaeb061fa8ff73496175eba59f53a19fdcf08f64)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
e0c348b644 manuals: update references to buildtools
Also fix number of corresponding paragraphs

(From yocto-docs rev: 28ee2d91fe4dd0549940dc5df1ff1d59363fcc0f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Paul Eggleton
9e5a9e6f94 ref-manual: add info on buildtools-make-tarball
PENDING ON THIS OE-CORE PATCH:
install-buildtools: support buildtools-make-tarball and update to 4.1
https://lists.openembedded.org/g/openembedded-core/message/171522

Cover the use case and the new provided tarball.

(From yocto-docs rev: 824c075c31650b9b466ac54fdf926043927b7045)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
7b6b03a1eb manuals: add minimum RAM requirements
Measured by generating a "core-image-sato" image for a "qemux86-64"
machine from an Ubuntu 22.04 VM with 4 cores.

Less memory was not enough and caused Out of Memory failures.

(From yocto-docs rev: 5009d3898a1649074d1fc252ed33ecbf3235ed75)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
64778b45ca manuals: update disk space requirements
Tests made on Poky master on March 16, 2023.

Add a "Free Disk Space" section to the "System Requirements" document.

(From yocto-docs rev: 6e88a53c47f15376c4eec8b34d14239dcf285da3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
f59e2c869c dev-manual: packages: need enough free space
Enough free storage space is needed to apply package upgrades.

(From yocto-docs rev: d020b170917a47487ffda3beb0a2ca223c3d37ed)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
70440282af dev-manual: packages: clarify shared PR service constraint
Explicit the problems previous described as "obvious".

(From yocto-docs rev: af3f35801a4360cc9c3ea93a39f88596d5f44fdb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
fa870dfd0f manuals: suppress excess use of "following" word
To simplify the style, replace "Following is" and "Following are"
by "here is" and "here are", sounding more natural.

In some cases, also go further by simplifying "Here are/is xxx"
by "xxx are/is" when the "are" or "is" are not two far at
the end of the sentence.

In some cases too, completely remove the sentence, when
it's redundant with the preceding title.

(From yocto-docs rev: 2539f1b9cbf9bdd40eff93c6522dc76133debed7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Michael Opdenacker
74ebddb921 ref-manual: release-process: grammar fix
(From yocto-docs rev: d1b3e26893f258b1633f8a90cf61456b54c47433)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Simone Weiß
f4356b6716 dev-manual: Rephrase spdx creation
Make the options more clear by providing them in a list instead of plain prosa.
Also add a ref for a presentation wrt spdx 3.0 in the Yocto project.

Fixes [YOCTO 7476]

(From yocto-docs rev: 9e5956736a9b6e6c99967d120303d5142550fdb1)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Bruce Ashfield
26f23535ee kernel: make LOCALVERSION consistent between recipes
The initial fix for localversion setting in 6.3+ broke older
recipes and also broke recipes setting localversion in a kernel
recipe, as make-mod-scripts (and other locations) can trigger
a regeneration of files and don't have access to the variable.

Moving the setting of this variable to the global namespace
doesn't make sense, so we follow the example of the kernel-abiversion
and save a kernel-localversion to the build artifacts.

Recipes that may regenerate scripts/dynamic files, must
depend on the do_shared_workedir of the kernel and use the helper
function to read the file storing the localversion.

(From OE-Core rev: cca0971a7d92d823cc0c2b16cf14a7b2ed8ecb61)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

cherry-picked from master b378eec156998eea55ba61e59103cb34fab0d07c

Signed-off-by: Andreas Helbech Kleist <andreaskleist@gmail.com>
Acked-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Bruce Ashfield
2b7c113459 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.

(From OE-Core rev: 74897e505db19a23a5b864a48a4fa97d657605c8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

cherry-picked from master 765b13b7305c8d2f222cfc66d77c02e6a088c691

Signed-off-by: Andreas Helbech Kleist <andreaskleist@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Ming Liu
57b8a1adb5 kernel.bbclass: introduce KERNEL_LOCALVERSION
Just like UBOOT_LOCALVERSION, an end user can set KERNEL_LOCALVERSION
to append a string to the name of the local version of the kernel
image.

(From OE-Core rev: 29a0d2a49df8e24f3948a2ddf03743f0cb5d09dd)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

cherry-picked from master 229435a52f36ddec5f85fb6d5ccd42044b688397

Signed-off-by: Andreas Helbech Kleist <andreaskleist@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
0269cfc91c scripts: python 3.12 regex
All the regexes throw a warning like this:

WARNING: scripts/lib/recipetool/create_buildsys.py:140:
      SyntaxWarning: invalid escape sequence '\s'
      proj_re = re.compile('project\s*\(([^)]*)\)', re.IGNORECASE)

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(From OE-Core rev: 63998f13d5263ce19a60ed3fba1ac8b6f23558e3)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 24b0ba00d4f0b4d9834f7693ecb6032dfc534a80

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
95b1e23223 meta/recipes: python 3.12 regex
Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(From OE-Core rev: d4e11eebdfe50acc124a87341721a12bc1c15024)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master: f2d80817baea298b953d6e14daad65087b3b50c9

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
b8c9a27f06 meta/lib/oeqa: python 3.12 regex
Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(From OE-Core rev: 939046c5e9ddd71b941c9e389fa4a4687bfcdec0)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master: 9002850f0c2e409d3bc629e36bb360b96326bb64

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
423bb12dcf feature-microblaze-versions.inc: python 3.12 regex
Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(From OE-Core rev: 2331982cf4f4649f1ec271640f8f7d33fa6ea88d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>

feature-microblaze-versions.inc#

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master: 662f52f1713c9f070550fc0c874eb62312218ea4

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
4f6135b350 oeqa/selftest/oelib/buildhistory: git default branch
On hosts with git defaulting to main branch the following exception
occures:

File .../buildhistory.py", line 99, in test_compare_dict_blobs_default
  blob1 = self.repo.heads.master.commit.tree.blobs[0]
          ^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/git/util.py", line 1114, in __getattr__
  return list.__getattribute__(self, attr)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'IterableList' object has no attribute 'master'

Support main and master branch for these test cases.

Note: setting the default branch with --initial-branch requires git
version 2.28 or later. Some of the still supported host distros do not
provide this feature yet.

(From OE-Core rev: 095598eb7c9aa64797c8a41255fa28b695398054)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master: 7df99843d8f31d8e0c2872ff625f4a5abf28f740

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
054ac1ee85 oeqa/selftest/recipetool: expect meson.bb
Latest recipetool from master branch generates a pyhton3-meson.bb recipe
while the older version from kirkstone generates a meson.bb. Change the
test to pass with meson.bb.

(From OE-Core rev: 979b216330b2f4e8ab9d4e615d4e83997d59def0)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Ross Burton
49e5252272 oeqa/selftest/recipetool: downgrade meson version to not use pyproject.toml
recipetool's pyproject.toml parsing needs tomllib (python 3.11+) or
tomli (not a hard dependency), so is prone to failing depending on the
host configuration.

Downgrade the Meson release used for the checks to 0.52.1, which was the
last release before moving to pyproject.toml.

(From OE-Core rev: 24bf7bbd1fb21f84539b7a4263d76a33dbacacde)

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

Backported from master: 6dfe573d83687e5431841f062442b54b9fa22ff3

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Adrian Freihofer
c222adce8e oeqa/selftest/recipetool: fix for python 3.12
test_recipetool_create_github and test_recipetool_create_github_tarball
fail because the old meson version used by these tests cases does not
run on Python 3.12. The issue is in the dependencies.py which comes with
meson:
ERROR: build/tmp/work/recipetool-3z4osyl7/source/git/mesonbuild/
       dependencies.py:777: SyntaxWarning: invalid escape sequence '\.'

Use meson 1.3.1 (what is currently also used on master) as a reference
for these tests.

With this version of meson, recipetool creates recipes named
meson_git.bb or meson_1.3.1.bb. Since this looks more reasonable than
e.g. python3-meson_git.bb the test gets adapted.

(From OE-Core rev: 9c1a1110a317e1d64668badb13e74e474f96a7a9)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 7374a8a2810a6cf027bfefefe87691a3529123ff

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Adrian Freihofer
53705c1c84 oeqa: replace deprecated assertEquals
assertEquals is deprecated since Python 2.7:
https://docs.python.org/2/library/unittest.html#deprecated-aliases
It throws errors at least on Python 3.12. Replace it by assertEqual.

(From OE-Core rev: a20325690a057aa7f71e5a176bfbdc03baac405c)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 68286d0b70cf09a0d2950b48945c9192fb8c8769

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Ross Burton
da694d9d58 runqemu: add qmp socket support
Add support for qmp sockets and defaults to unix:qmp.sock if unspecified

(From OE-Core rev: 31de620e9d899b93c6e982d3a563bbf618ce79c6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 380631797f0d63124a8c21efa93ab672dbd79283
Qemu throws many warnings without qmp and many runtime tests fail
without this patch also on kirkstone.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Ross Burton
e00bde2372 populate_sdk_ext: use ConfigParser instead of SafeConfigParser
SafeConfigParser was renamed to ConfigParser in 3.2, and the
SafeConfigParser alias will be removed in 3.12.

(From OE-Core rev: 50815c328e677ac079d38dc8555a909f049cf5be)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

Cherry-picked from master: 71b3e7f71727137b4b996cc4160c9cc1581824b8

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Trevor Gamblin
1e41c667e6 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.

(From OE-Core rev: 2f8982ef4c903f43867da56fcfd080a6556daa8b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 0e8a4142bb90a92d175df6b2537d24a372356f98

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Chris Laplante
6e8300c5bc recipetool/create_buildsys_python: use importlib instead of imp
'imp' was deprecated in Python 3.4 and removed in 3.12. The
piece of importlib we use has been around since 3.3.

(From OE-Core rev: b9dcdf2346bb24866c5f3db96a3f79eba20e4662)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master: 457f0dad87b4e45a53865b5ad2c150215bd74019

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Alexander Kanavin
6cb27ba537 runqemu: direct mesa to use its own drivers, rather than ones provided by host distro
With mesa 23.0, it is not longer possible to use the host drivers, as
mesa upstream has added strict checks for matching builds between
drivers and libraries that load them.

Add a check and a hint to runqemu so that there is a helpful error when
there is no native/nativesdk opengl/virgl support.

(From OE-Core rev: 5103ce67741782e43612f495bcc851c6509b734b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f0946844df7270fe368858d8929e6b380675b78b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Ross Burton
45ae93668c oeqa/selftest/runtime_test: only run the virgl tests on qemux86-64
These tests should be able to work on qemuarm64, but this is untested
and the runners will need configuration.

(From OE-Core rev: 16a9037d28303af250bd379de53edb7a00a8ce49)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 09b9558e20e58b473154895b93cff16261c7f561)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Fabien Mahot
2e131f08d4 ldconfig-native: Fix to point correctly on the DT_NEEDED entries in an ELF file
When ldconfig-native reads an ELF file, it computes an offset from a LOAD
segment, to point on DT NEEDED entries of dynstr section.
Without this patch, ldconfig-native uses only the first LOAD segment, even if
the offset is incorrect.
This patch adds conditions to compute the offset by parsing all LOAD segments,
one by one.

This is a backport from [0], ported to support endianness and 32/64 bits.

[0]: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=58e8f5fd2ba47b6dc47fd4d0a35e4175c7c87aaa

(From OE-Core rev: 602ccc57360f85e55b1455b93ba9b7e7bf23799e)

Signed-off-by: Fabien Mahot <fabien.mahot@external.desouttertools.com>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Zahir Hussain
3a5e8733ef cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake.

The variable CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES value updates incorrectly
during do_compile the code. Due to this getting sporadic error like below,

fatal error: stdlib.h: No such file or directory
|    75 | #include_next <stdlib.h>
|       |               ^~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.

As cmake already correctly initializes the variable from environment,
So we have to unset it in the toolchain file to avoid overwriting the
variable definition again.

(From OE-Core rev: 2b0b47fd0cafdb9de5025efda4140e11ea447afa)

Signed-off-by: aszh07 <mail2szahir@gmail.com>
Signed-off-by: Zahir Hussain <zahir.basha@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5aeada5793af53e8c93940952d4f314474dca4c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Ross Burton
f517fe8929 curl: don't enable debug builds
In oe-core 27824261 --enable-debug was added to the configure arguments
to turn on debugging symbols.  However, enabling debug mode does more
than turn on debugging symbols and introduces some codepaths that can be
controlled with environment variables.  Bluntly, the curl maintainer
says that --enable-debug should not be used in production:

https://curl.se/mail/lib-2023-01/0039.html

I did a build and verified that the curl-dbg package doesn't massively
shrink, so the debug symbols are still being built.

Remove the debug options and hide them behind a PACKAGECONFIG, with a
comment that it should not be used in production.

(From OE-Core rev: 01440b4968ded30c1970c335fe1598b684527831)

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>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
32e41c2304 linux-yocto/5.15: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 3Feb24
        Date: Sat, 3 Feb 2024 00:42:14 -0500

    ]

(From OE-Core rev: b71eeab71911ab49a8e8b8d78560fdbd66f883e7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
acc4d31297 linux-yocto/5.15: update to v5.15.148
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    6139f2a02fe0 Linux 5.15.148
    84c39986fe6d Revert "Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d""
    c8483a4845a0 arm64: dts: armada-3720-turris-mox: set irq type for RTC
    98052220f174 netfilter: nft_quota: copy content when cloning expression
    3be3c6123275 netfilter: nft_last: copy content when cloning expression
    42d461784889 netfilter: nft_limit: Clone packet limits' cost value
    d80880585128 netfilter: nft_limit: fix stateful object memory leak
    e562d8422555 netfilter: nft_connlimit: memleak if nf_ct_netns_get() fails
    10823cfe8e91 netfilter: nf_tables: typo NULL check in _clone() function
    0f2dca516541 block: Remove special-casing of compound pages
    08bf561118ca i2c: s3c24xx: fix transferring more than one message in polling mode
    38ce342a19ea i2c: s3c24xx: fix read transfers in polling mode
    62b3387beef1 ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work
    58485b95fde6 selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes
    348112522a35 mlxsw: spectrum_acl_tcam: Fix stack corruption
    005f2d10f915 mlxsw: spectrum_acl_tcam: Reorder functions to avoid forward declarations
    077c4776d798 mlxsw: spectrum_acl_tcam: Make fini symmetric to init
    d28048d31975 mlxsw: spectrum_acl_tcam: Add missing mutex_destroy()
    196f3595e869 mlxsw: spectrum: Use 'bitmap_zalloc()' when applicable
    87c54033935b mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure
    3732db294ea3 ethtool: netlink: Add missing ethnl_ops_begin/complete
    7f3d781e0df1 kdb: Fix a potential buffer overflow in kdb_local()
    995d6099d8b1 ipvs: avoid stat macros calls from preemptible context
    27513eff4c0c netfilter: nf_tables: reject NFT_SET_CONCAT with not field length description
    d6420b66ad70 netfilter: nf_tables: skip dead set elements in netlink dump
    77be8c495a3f netfilter: nf_tables: do not allow mismatch field size and set key length
    b8eb65bd13a6 netfilter: nft_limit: do not ignore unsupported flags
    d7b5da4fde7f netfilter: nf_tables: memcg accounting for dynamically allocated objects
    3bb4403d20b7 netfilter: nft_limit: move stateful fields out of expression data
    8a6635074a65 netfilter: nft_limit: rename stateful structure
    e2e8fdd0ad8e netfilter: nft_quota: move stateful fields out of expression data
    b147911d2a7b netfilter: nft_last: move stateful fields out of expression data
    36997eb13d53 netfilter: nft_connlimit: move stateful fields out of expression data
    713a13885579 netfilter: nf_tables: reject invalid set policy
    78e85466460d net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
    29ffa63f21bc bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS
    684290895aa0 net: stmmac: ethtool: Fixed calltrace caused by unbalanced disable_irq_wake calls
    8e481c7f81e2 net: ravb: Fix dma_addr_t truncation in error case
    f05301ad0574 mptcp: use OPTION_MPTCP_MPJ_SYN in subflow_check_req()
    413b91350732 mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()
    9b82d5f5d042 mptcp: strict validation before using mp_opt->hmac
    c99f490a422b mptcp: drop unused sk in mptcp_get_options
    cbe983d0e4d5 mptcp: mptcp_parse_option() fix for MPTCPOPT_MP_JOIN
    4f2c4ba3216d net: phy: micrel: populate .soft_reset for KSZ9131
    890bc96ef147 net: ethernet: ti: am65-cpsw: Fix max mtu to fit ethernet frames
    3b5254862258 net: qualcomm: rmnet: fix global oob in rmnet_policy
    18babcfa365d s390/pci: fix max size calculation in zpci_memcpy_toio()
    bf3304054e45 PCI: keystone: Fix race condition when initializing PHYs
    a300f741f692 nvmet-tcp: Fix the H2C expected PDU len calculation
    b02a005b19bb nvmet: re-fix tracing strncpy() warning
    763c67e96b05 serial: imx: Correct clock error message in function probe()
    1ed3c202051c usb: xhci-mtk: fix a short packet issue of gen1 isoc-in transfer
    0a12db736edb apparmor: avoid crash when parsed profile name is empty
    367d061a1864 perf env: Avoid recursively taking env->bpf_progs.lock
    0613a2fbdf8d nvmet-tcp: fix a crash in nvmet_req_complete()
    4cb3cf7177ae nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length
    013d7878c729 usb: cdc-acm: return correct error code on unsupported break
    c50f88954cd0 tty: use 'if' in send_break() instead of 'goto'
    a222bd01ca5a tty: don't check for signal_pending() in send_break()
    370b18aefe40 tty: early return from send_break() on TTY_DRIVER_HARDWARE_BREAK
    6f98751fa44d tty: change tty_write_lock()'s ndelay parameter to bool
    7ab8ef24fd0f perf genelf: Set ELF program header addresses properly
    08715e4fa58e iio: adc: ad9467: fix scale setting
    d7773702f813 iio: adc: ad9467: don't ignore error codes
    fd1957c706f3 iio: adc: ad9467: fix reset gpio handling
    71204292a722 iio: adc: ad9467: Benefit from devm_clk_get_enabled() to simplify
    fbcc37f4b409 selftests/sgx: Skip non X86_64 platform
    71005a1d9b38 selftests/sgx: Fix uninitialized pointer dereference in error path
    ff168d4fdb0e serial: imx: fix tx statemachine deadlock
    714778c29947 software node: Let args be NULL in software_node_get_reference_args
    c203812b4e89 libapi: Add missing linux/types.h header to get the __u64 type on io.h
    828cd829483f serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed
    96d289b57daf power: supply: bq256xx: fix some problem in bq256xx_hw_init
    435671571ef8 power: supply: cw2015: correct time_to_empty units in sysfs
    07733ca556ad MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()
    4590f46c1551 MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()
    c1669b54c3c0 riscv: Fix module_alloc() that did not reset the linear mapping permissions
    938f70d14618 riscv: Check if the code to patch lies in the exit section
    8e0935435bfd mips: Fix incorrect max_low_pfn adjustment
    4b88c9c83fc0 mips: dmi: Fix early remap on MIPS32
    d1c8c7ef3928 mfd: intel-lpss: Fix the fractional clock divider flags
    6109ff5ad5e9 leds: aw2013: Select missing dependency REGMAP_I2C
    c3e3a2144bf5 mfd: syscon: Fix null pointer dereference in of_syscon_register()
    a004323a384c ARM: 9330/1: davinci: also select PINCTRL
    77c20b4cbcd0 iommu/dma: Trace bounce buffer usage when mapping buffers
    fc7c3be66502 serial: sc16is7xx: set safe default SPI clock frequency
    160ef3fc3561 serial: sc16is7xx: add check for unsupported SPI modes during probe
    b1effdda4f60 HID: wacom: Correct behavior when processing some confidence == false touches
    400ad6fe2436 iio: adc: ad7091r: Pass iio_dev to event handler
    12c2759ab134 KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
    d99976d145b9 KVM: arm64: vgic-v4: Restore pending state on host userspace write
    9bd4c6e6581a x86/kvm: Do not try to disable kvmclock if it was not enabled
    a4563156c353 PCI: mediatek: Clear interrupt status before dispatching handler
    0f59d3772a2d PCI: dwc: endpoint: Fix dw_pcie_ep_raise_msix_irq() alignment support
    25aab84f1a4e wifi: mwifiex: configure BSSID consistently when starting AP
    a61373d32cd3 wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors
    1f0b69791317 wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code
    5600943b0cdc wifi: mt76: fix broken precal loading from MTD for mt7915
    4124a004d55c iommu/arm-smmu-qcom: Add missing GMU entry to match table
    a7b98aa10f89 bpf: Fix re-attachment branch in bpf_tracing_prog_attach
    4c71c01df8ef Bluetooth: Fix atomicity violation in {min,max}_key_size_set
    27e58d3b5253 rootfs: Fix support for rootfstype= when root= is given
    79ea1c6f06be io_uring/rw: ensure io->bytes_done is always initialized
    801c8adb85e0 pwm: jz4740: Don't use dev_err_probe() in .request()
    c9ed30eea4f7 netfilter: nf_tables: check if catch-all set element is active in next generation
    5010c2712096 block: add check that partition length needs to be aligned with block size
    6a73c9fdb78a scsi: mpi3mr: Refresh sdev queue depth after controller reset
    610ca0cadb07 fbdev: flush deferred work in fb_deferred_io_fsync()
    cb32c0e1bdd9 ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq2xxx
    d37d61c07764 ALSA: oxygen: Fix right channel of capture volume mixer
    314cf7c2dd65 serial: imx: Ensure that imx_uart_rs485_config() is called with enabled clock
    ac0c3a2fe7de usb: mon: Fix atomicity violation in mon_bin_vma_fault
    d7ce8ebd50a3 usb: typec: class: fix typec_altmode_put_partner to put plugs
    4212a9ff6533 Revert "usb: typec: class: fix typec_altmode_put_partner to put plugs"
    2c64904a0e63 usb: cdns3: Fix uvc fail when DMA cross 4k boundery since sg enabled
    e1b3be9bab6f usb: cdns3: fix iso transfer error when mult is not zero
    9cdf2c915982 usb: cdns3: fix uvc failure work since sg support enabled
    2e349cf0d0c4 usb: chipidea: wait controller resume finished for wakeup irq
    295b4fa3219c Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only"
    4f5a109b8f80 Revert "usb: dwc3: Soft reset phy on probe for host"
    ea968824c485 usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart
    e3e35301f1d8 usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()
    41e05f246fe4 tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug
    98fee5bee97a binder: fix race between mmput() and do_exit()
    e03023fcdb5e xen-netback: don't produce zero-size SKB frags
    409c30ff6cac virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()
    f97f61286464 dma-mapping: Fix build error unused-value
    72d29dcdf526 Input: atkbd - use ab83 as id when skipping the getid command
    9c1fa9eedc3d binder: fix unused alloc->free_async_space
    c44b276bc151 binder: fix async space check for 0-sized buffers
    0921867f77ea keys, dns: Fix size check of V1 server-list header
    10193a5001d6 selftests/bpf: Add assert for user stacks in test_task_stack
    cc9c60b2537d of: unittest: Fix of_count_phandle_with_args() expected value message
    454100408452 of: Fix double free in of_parse_phandle_with_args_map
    83f5d6c1efe3 ksmbd: validate the zero field of packet header
    4af4674158f7 drm/amd/pm/smu7: fix a memleak in smu7_hwmgr_backend_init
    bf1acc6258aa IB/iser: Prevent invalidating wrong MR
    106136f2099b mmc: sdhci_omap: Fix TI SoC dependencies
    da9eae2c1a45 mmc: sdhci_am654: Fix TI SoC dependencies
    e517645ead5e ALSA: scarlett2: Add clamp() in scarlett2_mixer_ctl_put()
    3a09488f4f67 ALSA: scarlett2: Add missing error checks to *_ctl_get()
    12023666f22d ALSA: scarlett2: Allow passing any output to line_out_remap()
    51d5697e1c03 ALSA: scarlett2: Add missing error check to scarlett2_usb_set_config()
    0ba9386e19a8 ALSA: scarlett2: Add missing error check to scarlett2_config_save()
    c60490b81740 ASoC: rt5645: Drop double EF20 entry from dmi_platform_data[]
    cf55afb5a522 pwm: stm32: Fix enable count for clk in .probe()
    df19bf404437 pwm: stm32: Use hweight32 in stm32_pwm_detect_channels
    c82c21e7d97d pwm: stm32: Use regmap_clear_bits and regmap_set_bits where applicable
    fa019c01db8b clk: fixed-rate: fix clk_hw_register_fixed_rate_with_accuracy_parent_hw
    256d1232c847 clk: fixed-rate: add devm_clk_hw_register_fixed_rate
    a30ca04dde09 clk: asm9260: use parent index to link the reference clock
    c45ca73b0194 clk: si5341: fix an error code problem in si5341_output_clk_set_rate
    347f9d725830 watchdog: rti_wdt: Drop runtime pm reference count when watchdog is unused
    3646d83db836 watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling
    1711bdfe5e13 watchdog/hpwdt: Only claim UNKNOWN NMI if from iLO
    b9bced8ca7b1 watchdog: set cdev owner before adding
    9117fc44fd3a drivers: clk: zynqmp: update divider round rate logic
    8f4941940da2 clk: zynqmp: Add a check for NULL pointer
    f46c0ec5a50e clk: zynqmp: make bestdiv unsigned
    e27660be6f46 drivers: clk: zynqmp: calculate closest mux rate
    8aff5f672358 clk: qcom: videocc-sm8150: Add missing PLL config property
    b31526b8c5dd clk: qcom: videocc-sm8150: Update the videocc resets
    1dd84d5e8303 dt-bindings: clock: Update the videocc resets for sm8150
    c72dbb780d97 gpu/drm/radeon: fix two memleaks in radeon_vm_init
    b6dcba02ee17 drivers/amd/pm: fix a use-after-free in kv_parse_power_table
    2bf47c89bbac drm/amd/pm: fix a double-free in si_dpm_init
    11d1f2d895a4 drm/amdgpu/debugfs: fix error code when smc register accessors are NULL
    720919b58daa media: dvb-frontends: m88ds3103: Fix a memory leak in an error handling path of m88ds3103_probe()
    0a50ca097a6d media: dvbdev: drop refcount on error path in dvb_device_open()
    11e60be4086e f2fs: fix the f2fs_file_write_iter tracepoint
    f3a220d97530 f2fs: fix to update iostat correctly in f2fs_filemap_fault()
    df2571b4d5d1 f2fs: fix to check compress file in f2fs_move_file_range()
    a3316290a83d media: rkisp1: Disable runtime PM in probe error path
    f4176c518546 clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
    d3a8c5c783f2 media: cx231xx: fix a memleak in cx231xx_init_isoc
    9f583fc91c34 drm/bridge: tc358767: Fix return value on error case
    a3cb0b5b1bd4 drm/bridge: cdns-mhdp8546: Fix use of uninitialized variable
    a5934df4dfcd drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table
    1a6cccd7fded drm/radeon/dpm: fix a memleak in sumo_parse_power_table
    14bbfaa5df27 drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()
    929af5cd8ae1 drm/drv: propagate errors from drm_modeset_register_all()
    cbf207b17111 drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks
    6d8dc619857d drm/msm/mdp4: flush vblank event on disable
    d3aa670bbab9 ASoC: cs35l34: Fix GPIO name and drop legacy include
    a0f27f673ebe ASoC: cs35l33: Fix GPIO name and drop legacy include
    528844bb1e15 drm/radeon: check return value of radeon_ring_lock()
    4e57efe03a30 drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check()
    1f7008dd122d drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()
    f100ba617d8b f2fs: fix to avoid dirent corruption
    4c5e6a02dcff drm/bridge: Fix typo in post_disable() description
    ec3634ebe23f media: pvrusb2: fix use after free on context disconnection
    1821c4d1c3c8 drm/tilcdc: Fix irq free on unload
    08ccff6ece35 drm/bridge: tpd12s015: Drop buggy __exit annotation for remove function
    45c4c4b04ae8 drm/nouveau/fence:: fix warning directly dereferencing a rcu pointer
    ab45a15a503d drm/panel-elida-kd35t133: hold panel in reset for unprepare
    a811031da2b5 RDMA/hns: Fix inappropriate err code for unsupported operations
    5245c05cd9cd RDMA/usnic: Silence uninitialized symbol smatch warnings
    ab8038e7bc12 Revert "drm/omapdrm: Annotate dma-fence critical section in commit path"
    d847363bc5d7 Revert "drm/tidss: Annotate dma-fence critical section in commit path"
    13e3dd2df06d ARM: davinci: always select CONFIG_CPU_ARM926T
    4329426cf6b8 ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()
    d0464a7edf5c mlxbf_gige: Enable the GigE port in mlxbf_gige_open
    8d632d0fd203 net: mellanox: mlxbf_gige: Replace non-standard interrupt handling
    86f3df04956c mlxbf_gige: Fix intermittent no ip issue
    172ba7d46c20 net/sched: act_ct: fix skb leak and crash on ooo frags
    c3d8edb17086 null_blk: don't cap max_hw_sectors to BLK_DEF_MAX_SECTORS
    8676b014e49d block: make BLK_DEF_MAX_SECTORS unsigned
    ce3440b6992f Bluetooth: btmtkuart: fix recv_buf() return value
    cede5d0c2957 Bluetooth: Fix bogus check for re-auth no supported with non-ssp
    166d65b0d522 netfilter: nf_tables: mark newset as dead on transaction abort
    e907e9572943 wifi: iwlwifi: mvm: send TX path flush in rfkill
    8d6c61421282 wifi: iwlwifi: mvm: set siso/mimo chains to 1 in FW SMPS request
    5f4ea050bbc1 wifi: rtlwifi: rtl8192se: using calculate_bit_shift()
    aaf4723f5272 wifi: rtlwifi: rtl8192ee: using calculate_bit_shift()
    dbbbd2cc8fe9 wifi: rtlwifi: rtl8192de: using calculate_bit_shift()
    7e0d54f5dc05 wifi: rtlwifi: rtl8192ce: using calculate_bit_shift()
    5dbc5c522208 wifi: rtlwifi: rtl8192cu: using calculate_bit_shift()
    62de5647263a wifi: rtlwifi: rtl8192c: using calculate_bit_shift()
    aec0dee37b49 wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift()
    37871c978d7e wifi: rtlwifi: add calculate_bit_shift()
    493cfed24766 arm64: dts: qcom: sc7280: Mark SDHCI hosts as cache-coherent
    2c97f945003c block: add check of 'minors' and 'first_minor' in device_add_disk()
    df4f5a35c5b9 arm64: dts: qcom: sm8150-hdk: fix SS USB regulators
    6f20058dad79 soc: qcom: llcc: Fix dis_cap_alloc and retain_on_pc configuration
    ccc94806d0e6 dma-mapping: clear dev->dma_mem to NULL after freeing it
    99326214f90c dma-mapping: Add dma_release_coherent_memory to DMA API
    930cd34add1d virtio/vsock: fix logic which reduces credit update messages
    a18eff8ba05e selftests/net: fix grep checking for fib_nexthop_multiprefix
    62c904c472a2 scsi: hisi_sas: Correct the number of global debugfs registers
    6bf21261078f scsi: hisi_sas: Rollback some operations if FLR failed
    84e174afb54f scsi: hisi_sas: Replace with standard error code return value
    0d17931d7e88 scsi: hisi_sas: Prevent parallel FLR and controller reset
    0760d1d6d850 scsi: hisi_sas: Rename HISI_SAS_{RESET -> RESETTING}_BIT
    80b0b7c79f8b block: Set memalloc_noio to false on device_add_disk() error path
    02962684258e bpf: Fix verification of indirect var-off stack access
    8c2127dc936b arm64: dts: qcom: sc7280: fix usb_2 wakeup interrupt types
    97c60adff104 arm64: dts: qcom: sdm845-db845c: correct LED panic indicator
    6211a043abb5 arm64: dts: qcom: qrb5165-rb5: correct LED panic indicator
    609c7d556ccd scsi: fnic: Return error if vmalloc() failed
    67e6707f0735 bpf: fix check for attempt to corrupt spilled pointer
    f40cd60f3f44 arm64: dts: qcom: sm8250: Make watchdog bark interrupt edge triggered
    a413fdd3ea21 arm64: dts: qcom: sm8150: Make watchdog bark interrupt edge triggered
    a78ae1060786 arm64: dts: qcom: sdm845: Make watchdog bark interrupt edge triggered
    06ec7a3961f8 arm64: dts: qcom: sc7280: Make watchdog bark interrupt edge triggered
    0c55ace45d6d arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered
    65b28cad7509 ARM: dts: qcom: sdx65: correct SPMI node name
    bb88e2174a30 bpf: enforce precision of R0 on callback return
    fa5b150abfe4 arm64: dts: ti: k3-am65-main: Fix DSS irq trigger type
    18051358d992 wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior
    bf98ac3288dd firmware: meson_sm: populate platform devices from sm device tree data
    41b3228281c3 firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create()
    7e36646237c7 net/ncsi: Fix netlink major/minor version numbers
    024e24086e14 ARM: dts: qcom: apq8064: correct XOADC register address
    ef2373f31f62 wifi: libertas: stop selecting wext
    69f7c1f5d221 wifi: ath11k: Defer on rproc_get failure
    131afd9a5765 bpf: Add crosstask check to __bpf_get_stack
    1ed921e42a99 bpf, lpm: Fix check prefixlen before walking trie
    2b67863c5b2d wifi: rtw88: fix RX filter in FIF_ALLMULTI flag
    9d4f4dea824a NFSv4.1/pnfs: Ensure we handle the error NFS4ERR_RETURNCONFLICT
    d0e09a7ba33f blocklayoutdriver: Fix reference leak of pnfs_device_node
    a5f2f91b3fd7 crypto: scomp - fix req->dst buffer overflow
    dc6779550fae crypto: sahara - do not resize req->src when doing hash operations
    a5e0e39dac06 crypto: sahara - fix processing hash requests with req->nbytes < sg->length
    2dc0f23ac4c6 crypto: sahara - improve error handling in sahara_sha_process()
    faa25455f738 crypto: sahara - fix wait_for_completion_timeout() error handling
    2104f405af91 crypto: sahara - fix ahash reqsize
    34c6a33567b4 crypto: sahara - handle zero-length aes requests
    a7b435e816a0 crypto: sahara - avoid skcipher fallback code duplication
    b1664c53349c crypto: virtio - Wait for tasklet to complete on device remove
    ee0586d73cba gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
    00e3321c65eb fs: indicate request originates from old mount API
    8fb12524c86b pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()
    8dd9e58c6936 crypto: sahara - fix error handling in sahara_hw_descriptor_create()
    3413d878fd6a crypto: sahara - fix processing requests with cryptlen < sg->length
    a962882a35e5 crypto: sahara - fix ahash selftest failure
    6f31caf8aa10 crypto: sahara - fix cbc selftest failure
    6fb7db05ad39 crypto: sahara - remove FLAGS_NEW_KEY logic
    d2205b9b57b9 crypto: af_alg - Disallow multiple in-flight AIO requests
    088123ddb4d8 crypto: ccp - fix memleak in ccp_init_dm_workarea
    d3ff5362b4e0 crypto: sa2ul - Return crypto_aead_setkey to transfer the error
    75cba72ddb78 crypto: virtio - Handle dataq logic with tasklet
    5e37fa0b4c42 selinux: Fix error priority for bind with AF_UNSPEC on PF_INET6 socket
    d8ac2537763b mtd: Fix gluebi NULL pointer dereference caused by ftl notifier
    a252d5c1ef9d kunit: debugfs: Fix unchecked dereference in debugfs_print_results()
    f23aa841a097 ACPI: extlog: Clear Extended Error Log status when RAS_CEC handled the error
    f5de4ad61da0 ACPI: LPSS: Fix the fractional clock divider flags
    6b15fb99b0b2 spi: sh-msiof: Enforce fixed DTDL for R-Car H3
    2aa141f8bc58 efivarfs: force RO when remounting if SetVariable is not supported
    a4529a08d370 calipso: fix memory leak in netlbl_calipso_add_pass()
    dd645fc8f8e8 cpufreq: scmi: process the result of devm_of_clk_add_hw_provider()
    aead146e8817 cpufreq: Use of_property_present() for testing DT property presence
    435841c1065a of: Add of_property_present() helper
    c5df417936ec of: property: define of_property_read_u{8,16,32,64}_array() unconditionally
    c1814a4ffd01 ACPI: LPIT: Avoid u32 multiplication overflow
    3a370502a568 ACPI: video: check for error while searching for backlight device parent
    45f6080748fa mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response
    9c92f01bb9c3 spi: spi-zynqmp-gqspi: fix driver kconfig dependencies
    f105c2630098 powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
    6b58d1603721 powerpc/powernv: Add a null pointer check in opal_powercap_init()
    c0b111ea786d powerpc/powernv: Add a null pointer check in opal_event_init()
    2a82c4439b90 powerpc/powernv: Add a null pointer check to scom_debug_init_one()
    5daf0ef6268c selftests/powerpc: Fix error handling in FPU/VMX preemption tests
    999a27b3ce9a powerpc/pseries/memhp: Fix access beyond end of drmem array
    5d69c8859e25 powerpc/44x: select I2C for CURRITUCK
    467c9c9dc0a7 powerpc: add crtsavres.o to always-y instead of extra-y
    0b11a145eb00 powerpc: remove checks for binutils older than 2.25
    63ecb08533b5 powerpc/toc: Future proof kernel toc
    2de654d858ee powerpc: Mark .opd section read-only
    700cf4bead80 EDAC/thunderx: Fix possible out-of-bounds string access
    b53730a40ea8 x86/lib: Fix overflow when counting digits
    0a43304cf682 coresight: etm4x: Fix width of CCITMIN field
    b67064bd3723 PCI: Add ACS quirk for more Zhaoxin Root Ports
    e62243b3538d leds: ledtrig-tty: Free allocated ttyname buffer on deactivate
    6c3388c0af3c parport: parport_serial: Add Brainboxes device IDs and geometry
    72095a54301b parport: parport_serial: Add Brainboxes BAR details
    5cf604ee538e uio: Fix use-after-free in uio_open
    659be220e692 binder: fix comment on binder_alloc_new_buf() return value
    2900c0ee59fb binder: fix trivial typo of binder_free_buf_locked()
    8ad4d580e8af binder: fix use-after-free in shinker's callback
    1263bd9e08f5 binder: use EPOLLERR from eventpoll.h
    0ee3ded745ca Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"
    12b07f443d78 kprobes: Fix to handle forcibly unoptimized kprobes on freeing_list
    66cb0868b123 bpf: Add --skip_encoding_btf_inconsistent_proto, --btf_gen_optimized to pahole flags for v1.25
    2a2495b6a32d Revert "ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek"
    313cfcaefa0b ACPI: resource: Add another DMI match for the TongFang GMxXGxx
    dec512974c45 drm/crtc: fix uninitialized variable use
    21eea9b6c4fd ARM: sun9i: smp: fix return code check of of_property_match_string
    dc26b6770450 net: qrtr: ns: Return 0 if server port is not present
    5dbcdaf4dbfe ida: Fix crash in ida_free when the bitmap is empty
    c9f5b801bce6 i2c: rk3x: fix potential spinlock recursion on poll
    3f0dc646b50b ASoC: Intel: bytcr_rt5640: Add quirk for the Medion Lifetab S10346
    adf4616a440d Input: xpad - add Razer Wolverine V2 support
    d66ffc87ba42 wifi: iwlwifi: pcie: avoid a NULL pointer dereference
    fd13543dbbc1 ARC: fix spare error
    b3f44f21d3d4 s390/scm: fix virtual vs physical address confusion
    46445552ed27 Input: i8042 - add nomux quirk for Acer P459-G2-M
    0f0da2d6bd6c Input: atkbd - skip ATKBD_CMD_GETID in translated mode
    274b4c816208 reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
    5d307038fa09 ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI
    a9655e7e4bd5 tracing: Fix uaf issue when open the hist or hist_debug file
    64d81f61ad60 MIPS: dts: loongson: drop incorrect dwmac fallback compatible
    3f483a39e23d stmmac: dwmac-loongson: drop useless check for compatible fallback
    aeb0d506f779 tracing: Add size check when printing trace_marker output
    c3729567de3a tracing: Have large events show up as '[LINE TOO BIG]' instead of nothing
    c8af7ad72968 jbd2: fix soft lockup in journal_finish_inode_data_buffers()
    7b0586ada944 platform/x86: intel-vbtn: Fix missing tablet-mode-switch events
    6511772fc0bc neighbour: Don't let neigh_forced_gc() disable preemption for long
    2e1846b0c044 drm/crtc: Fix uninit-value bug in drm_mode_setcrtc
    c01c44559a8e jbd2: correct the printing of write_flags in jbd2_write_superblock()
    5378fd3c43cf clk: rockchip: rk3128: Fix HCLK_OTG gate register
    a14da83838ef hwmon: (corsair-psu) Fix probe when built-in
    794540520582 drm/exynos: fix a wrong error checking
    e02a2693aed5 drm/exynos: fix a potential error pointer dereference
    10250096f3d5 drm/amdgpu: Add NULL checks for function pointers
    8b985248216f nvme: introduce helper function to get ctrl state
    c11fc224e58e ASoC: ops: add correct range check for limiting volume
    09c0f2814b5a ASoC: da7219: Support low DC impedance headset
    16d3a65eaa60 net/tg3: fix race condition in tg3_reset_task()
    9904379f19ee nouveau/tu102: flush all pdbs on vmm flush
    7a3ff8a2bb26 ASoC: rt5650: add mutex to avoid the jack detection failure
    ebf8d5ec4af3 ASoC: cs43130: Fix incorrect frame delay configuration
    ec52e3e241ff ASoC: cs43130: Fix the position of const qualifier
    ce6cce079948 ASoC: Intel: Skylake: mem leak in skl register function
    cb6b6ff7a79b ASoC: nau8822: Fix incorrect type in assignment and cast to restricted __be16
    4ec0f3b3d8d1 ASoC: Intel: Skylake: Fix mem leak in few functions
    20e23f6b1453 ASoC: wm8974: Correct boost mixer inputs
    05d753d74c3a nvme-core: check for too small lba shift
    9ad8b171c4e6 drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointer
    f8eadbe713a3 debugfs: fix automount d_fsdata usage
    473fb46aa376 wifi: cfg80211: lock wiphy mutex for rfkill poll
    5d520ae3dad0 mptcp: fix uninit-value in mptcp_incoming_options
    8d40e3514a09 ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro
    3dec0bd9c01a pinctrl: lochnagar: Don't build on MIPS
    32a6cfc67675 f2fs: explicitly null-terminate the xattr list

(From OE-Core rev: f1326d008a2a37b3860f25eb082efabdeba7cc32)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
1d6e0003ec linux-yocto/5.15: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 15Jan24
        Date: Mon, 15 Jan 2024 12:48:45 -0500

    ]

(From OE-Core rev: c7c86d97f6a0e1d09eaca999ecec13656655f299)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
4494d072cc linux-yocto/5.15: update to v5.15.147
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    ddcaf4999061 Linux 5.15.147
    231752a0a05d net: usb: ax88179_178a: move priv to driver_priv
    d800d18ba132 net: usb: ax88179_178a: remove redundant init code
    329197033bb0 tracing/kprobes: Fix symbol counting logic by looking at modules as well
    ccb7eef5f2f3 kallsyms: Make module_kallsyms_on_each_symbol generally available
    ab3a3aadb373 netfilter: nf_tables: Reject tables of unsupported family
    0eb556b2386d perf inject: Fix GEN_ELF_TEXT_OFFSET for jit
    b8a5308feedd ipv6: remove max_size check inline with ipv4
    ba5efd8544fa net: tls, update curr on splice as well
    06bb52d2efb3 mmc: sdhci-sprd: Fix eMMC init failure after hw reset
    6722186854a7 mmc: core: Cancel delayed work before releasing host
    edaefc210e10 mmc: rpmb: fixes pause retune on all RPMB partitions.
    41f20ac9bdc4 mmc: meson-mx-sdhc: Fix initialization frozen issue
    91432aebce51 mm: fix unmap_mapping_range high bits shift bug
    5e44f5da1266 i2c: core: Fix atomic xfer check for non-preempt config
    1d5c1617e1e1 x86/kprobes: fix incorrect return address calculation in kprobe_emulate_call_indirect
    10086ff58ce4 firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards
    660b3c3bc8a7 mm/memory-failure: check the mapcount of the precise page
    80eb449f809c selftests: secretmem: floor the memory size to the multiple of page_size
    a58ae5ab714d net: Implement missing SO_TIMESTAMPING_NEW cmsg support
    500c7f32ad43 bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
    fda00eb3cd41 asix: Add check for usbnet_get_endpoints
    0817c1b21561 octeontx2-af: Re-enable MAC TX in otx2_stop processing
    20fce91b4fa0 octeontx2-af: Always configure NIX TX link credits based on max frame size
    6bbbcff3c798 octeontx2-af: Set NIX link credits based on max LMAC
    6ef9a28e1bb2 octeontx2-af: Don't enable Pause frames by default
    bc56ed720e06 net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
    cfcf5490145a igc: Fix hicredit calculation
    6c853b57684e i40e: Restore VF MSI-X state during PCI reset
    9400f854facd ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux
    e08b666e4415 ASoC: meson: g12a-toacodec: Fix event generation
    3a78a57764f0 ASoC: meson: g12a-tohdmitx: Validate written enum values
    f74281f241ff ASoC: meson: g12a-toacodec: Validate written enum values
    947db598acb8 i40e: fix use-after-free in i40e_aqc_add_filters()
    975d6f66f2b6 net: Save and restore msg_namelen in sock_sendmsg
    b2869e7600f4 netfilter: nft_immediate: drop chain reference counter on error
    51976846f202 net: bcmgenet: Fix FCS generation for fragmented skbuffs
    c748c358debe sfc: fix a double-free bug in efx_probe_filters
    5c161f2220f5 ARM: sun9i: smp: Fix array-index-out-of-bounds read in sunxi_mc_smp_init
    fd2e7829239e net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestamps
    dc5643abc1ac can: raw: add support for SO_MARK
    464fb49ca9bb can: raw: add support for SO_TXTIME/SCM_TXTIME
    ba80ff7a85b6 net: Implement missing getsockopt(SO_TIMESTAMPING_NEW)
    5636941e42d5 r8169: Fix PCI error on system resume
    0ce9a244d33b net: sched: em_text: fix possible memory leak in em_text_destroy()
    c0b56aa9d1a6 mlxbf_gige: fix receive packet race condition
    271567afd4c2 ASoC: fsl_rpmsg: Fix error handler with pm_runtime_enable
    1867a9094743 igc: Check VLAN EtherType mask
    f24370ddf75d igc: Check VLAN TCI mask
    4ec5efdb9034 igc: Report VLAN EtherType matching back to user
    b17f8024a5f0 i40e: Fix filter input checks to prevent config with invalid values
    def90597ef5b drm/i915/dp: Fix passing the correct DPCD_REV for drm_dp_set_phy_test_pattern
    a7b67635de1a octeontx2-af: Fix marking couple of structure as __packed
    802af3c88ad1 nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local
    5d3e98ef12f6 drm/bridge: ti-sn65dsi86: Never store more than msg->size bytes in AUX xfer
    2f8cefc8b638 wifi: iwlwifi: pcie: don't synchronize IRQs from IRQ
    1f2f662c8bec Revert "PCI/ASPM: Remove pcie_aspm_pm_state_change()"
    200cecd6ff1e ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP ProBook 440 G6
    90ab9a70f0d8 block: Don't invalidate pagecache for invalid falloc modes
    c496c35310e6 keys, dns: Fix missing size check of V1 server-list header

(From OE-Core rev: f4f1964a7a2922f3253484852b76602af5f31a89)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
8e47c56f41 linux-yocto/5.15: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 27Dec23
        Date: Wed, 27 Dec 2023 19:47:13 -0500

    ]

(From OE-Core rev: 22b1db5362e18ee6c2a90049facc72c3554542dd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
a9b6cbf9e6 linux-yocto/5.15: update to v5.15.146
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    26c690eff0a5 Linux 5.15.146
    13578b4ea461 bpf: Fix prog_array_map_poke_run map poke update
    339add0430e7 device property: Allow const parameter to dev_fwnode()
    4d9dcdb333ca dm-integrity: don't modify bio's immutable bio_vec in integrity_metadata()
    a033bb82a10c ring-buffer: Fix slowpath of interrupted event
    d10f7540c554 netfilter: nf_tables: skip set commit for deleted/destroyed sets
    d739f2b6d8f5 ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
    53bed9b9f431 ring-buffer: Remove useless update to write_stamp in rb_try_to_discard()
    7fb264aedec9 tracing: Fix blocked reader of snapshot buffer
    c73cb01af11f ring-buffer: Fix wake ups when buffer_percent is set to 100
    c0be52181f35 mm/filemap: avoid buffered read/write race to read inconsistent data
    2b16d960c79a Bluetooth: af_bluetooth: Fix Use-After-Free in bt_sock_recvmsg
    ded3cfdefec8 smb: client: fix OOB in smbCalcSize()
    bfd18c0f570e smb: client: fix OOB in SMB2_query_info_init()
    1228354a9889 iio: imu: adis16475: add spi_device_id table
    bd1be85dbbbd spi: Introduce spi_get_device_match_data() helper
    fcf6fce2f147 device property: Add const qualifier to device_get_match_data() parameter
    d63fafd6cc28 net: usb: ax88179_178a: avoid failed operations when device is disconnected
    f860413aa00c net: usb: ax88179_178a: wol optimizations
    2964a0de7526 net: usb: ax88179_178a: clean up pm calls
    597305fd7708 ethernet: constify references to netdev->dev_addr in drivers
    32d9a4ce5240 usb: fotg210-hcd: delete an incorrect bounds test
    d529cc227897 ARM: dts: Fix occasional boot hang for am3 usb
    8bf06286d740 ksmbd: fix wrong allocation size update in smb2_open()
    06208a04a7bd ksmbd: avoid duplicate opinfo_put() call on error of smb21_lease_break_ack()
    9444c47d2c3b ksmbd: lazy v2 lease break on smb2_write()
    f58afd8c7011 ksmbd: send v2 lease break notification for directory
    86967f696586 ksmbd: downgrade RWH lease caching state to RH for directory
    f7c8270be3cb ksmbd: set v2 lease capability
    1bf476d8a89a ksmbd: set epoch in create context v2 lease
    ac385518598f ksmbd: have a dependency on cifs ARC4
    b54b9fbc16a0 fuse: share lookup state between submount and its parent
    1c811b7c83a4 x86/alternatives: Sync core before enabling interrupts
    ccda72aa73c7 KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy
    46bc250b082c lib/vsprintf: Fix %pfwf when current node refcount == 0
    f9dc6e0a0b02 gpio: dwapb: mask/unmask IRQ when disable/enale it
    e4d3534c6818 bus: ti-sysc: Flush posted write only after srst_udelay
    d47b2b6a087a tracing / synthetic: Disable events after testing in synth_event_gen_test_init()
    da95f8b7bc6a scsi: core: Always send batch on reset or error handling command
    686774523f8e dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
    7c25c5d72746 net: ks8851: Fix TX stall caused by TX buffer overrun
    28855385bff1 net: rfkill: gpio: set GPIO direction
    4431cf7c3310 net: 9p: avoid freeing uninit memory in p9pdu_vreadf
    85fd35ce5bc0 Input: soc_button_array - add mapping for airplane mode button
    a346cfc6389a Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE
    916ca52a3e28 Bluetooth: L2CAP: Send reject on command corrupted request
    70db6466c029 Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has been sent
    094ae245f7aa USB: serial: option: add Quectel RM500Q R13 firmware support
    d0adf8fe08b9 USB: serial: option: add Foxconn T99W265 with new baseline
    a67f0b5bc2fa USB: serial: option: add Quectel EG912Y module support
    0e285069fd2a USB: serial: ftdi_sio: update Actisense PIDs constant names
    433889344e82 wifi: cfg80211: fix certs build to not depend on file order
    69fab6dc3748 wifi: cfg80211: Add my certificate
    498f212a774f ALSA: usb-audio: Increase delay in MOTU M quirk
    5a16bb60b8ce iio: triggered-buffer: prevent possible freeing of wrong buffer
    3becd9bc5af3 iio: adc: ti_am335x_adc: Fix return value check of tiadc_request_dma()
    b9ccf18e315f iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table
    f1d9a66e9ce9 scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
    1e3effe67e75 Input: ipaq-micro-keys - add error handling for devm_kmemdup
    25c441a07360 iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
    3cbae23d481b interconnect: Treat xlate() returning NULL node as an error
    f47e3f60f239 smb: client: fix OOB in smb2_query_reparse_point()
    fd3951b798c8 smb: client: fix NULL deref in asn1_ber_decoder()
    6ded9038e4b1 drm/i915: Fix intel_atomic_setup_scalers() plane_state handling
    f9954b18c4fa drm/i915: Relocate intel_atomic_setup_scalers()
    2a4ef0d6e5f0 drm/i915/mtl: limit second scaler vertical scaling in ver >= 14
    6bbeb3960aad ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE
    c0c4e9767e57 gpiolib: cdev: add gpio_device locking wrapper around gpio_ioctl()
    8bdcedfdb026 pinctrl: at91-pio4: use dedicated lock class for IRQ
    f0c52b790a00 i2c: aspeed: Handle the coalesced stop conditions with the start conditions.
    c87ab6e306ba ASoC: hdmi-codec: fix missing report for jack initial status
    98fb5eaade74 afs: Fix use-after-free due to get/remove race in volume tree
    57bf56295068 afs: Use refcount_t rather than atomic_t
    d1fe946cb5b2 afs: Fix overwriting of result of DNS query
    2552b32b0b34 keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry
    a1ab650f1421 net: check dev->gso_max_size in gso_features_check()
    56eaa3ec3140 afs: Fix dynamic root lookup DNS check
    3f85785bc4ac afs: Fix the dynamic root's d_delete to always delete unused dentries
    3739e0a52d4d net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()
    c124a75b2497 net: mana: select PAGE_POOL
    c0e527c532a0 net/rose: fix races in rose_kill_by_device()
    66d2116880e6 ethernet: atheros: fix a memleak in atl1e_setup_ring_resources
    87255af408df net: sched: ife: fix potential use-after-free
    242670aab84b net/mlx5e: Correct snprintf truncation handling for fw_version buffer used by representors
    da2396b54625 net/mlx5: Fix fw tracer first block check
    b0873aa484e9 net/mlx5e: fix a potential double-free in fs_udp_create_groups
    4ddba57b659a net/mlx5e: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list()
    5ae420f65aff Revert "net/mlx5e: fix double free of encap_header"
    135fa6fac9b6 Revert "net/mlx5e: fix double free of encap_header in update funcs"
    b387f06849b4 wifi: mac80211: mesh_plink: fix matches_local logic
    6558f4aa2032 wifi: iwlwifi: pcie: add another missing bh-disable for rxq->lock
    183ea95f7374 s390/vx: fix save/restore of fpu kernel context
    58f3fc833321 reset: Fix crash when freeing non-existent optional resets
    52c69a070b94 ARM: OMAP2+: Fix null pointer dereference and memory leak in omap_soc_device_init
    d3ffbbb0bca5 ARM: dts: dra7: Fix DRA7 L3 NoC node register size

(From OE-Core rev: ee4695138e36155c8e0b173f7952372693c0589a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
665ef9de8d linux-yocto/5.15: update to v5.15.145
Updating  to the latest korg -stable release that comprises
the following commits:

    d93fa2c78854 Linux 5.15.145
    ee41f667aa64 kasan: disable kasan_non_canonical_hook() for HW tags
    f30f893143b9 tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
    7aa33c99b513 Revert "drm/bridge: lt9611uxc: Switch to devm MIPI-DSI helpers"
    4a8350a0ea76 Revert "drm/bridge: lt9611uxc: Register and attach our DSI device at probe"
    e21817ce167e Revert "drm/bridge: lt9611uxc: fix the race in the error path"
    811b5eaee70e ksmbd: don't update ->op_state as OPLOCK_STATE_NONE on error
    bd47f9c8b53b ksmbd: move setting SMB2_FLAGS_ASYNC_COMMAND and AsyncId
    5e1f31378a81 ksmbd: release interim response after sending status pending response
    c21d0445088d ksmbd: move oplock handling after unlock parent dir
    772d81aeecd3 ksmbd: separately allocate ci per dentry
    8ed1118da8c4 ksmbd: fix possible deadlock in smb2_open
    ae3356cbe9ac ksmbd: prevent memory leak on error return
    8dc9eb7d3503 ksmbd: handle malformed smb1 message
    1f50c418d47a ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
    3fecda5d853c ksmbd: no need to wait for binded connection termination at logoff
    841bcade0964 ksmbd: add support for surrogate pair conversion
    0eaeb8aec49f ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev()
    20b4f6bd4cf9 ksmbd: fix recursive locking in vfs helpers
    f30a2ff71561 ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr()
    df79244f7339 ksmbd: reorganize ksmbd_iov_pin_rsp()
    845837fbfe79 ksmbd: Remove unused field in ksmbd_user struct
    fab0175b7f8e ksmbd: fix potential double free on smb2_read_pipe() error path
    ef435dec8a84 ksmbd: fix Null pointer dereferences in ksmbd_update_fstate()
    4b9b7ea1ffb1 ksmbd: fix wrong error response status by using set_smb2_rsp_status()
    dd45db4d9bbc ksmbd: fix race condition between tree conn lookup and disconnect
    0901be8dc6ea ksmbd: fix race condition from parallel smb2 lock requests
    50e13932ba55 ksmbd: fix race condition from parallel smb2 logoff requests
    f99d5d1d2a25 ksmbd: fix race condition with fp
    c77fd3e25a51 ksmbd: fix race condition between session lookup and expire
    b9a3e4549676 ksmbd: check iov vector index in ksmbd_conn_write()
    01df133b1a7d ksmbd: return invalid parameter error response if smb2 request is invalid
    4a67467f1134 ksmbd: fix passing freed memory 'aux_payload_buf'
    fbed0adfe507 ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
    a9128c4134f1 ksmbd: remove experimental warning
    6997fa65bf9e ksmbd: add missing calling smb2_set_err_rsp() on error
    bd554ed4fdc3 ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()
    7019440463df ksmbd: Fix one kernel-doc comment
    c5aa74449a41 ksmbd: reduce descriptor size if remaining bytes is less than request size
    e12b09241693 ksmbd: fix `force create mode' and `force directory mode'
    6f0207218c4c ksmbd: fix wrong interim response on compound
    f2283680a805 ksmbd: add support for read compound
    d7ad0ac5a8f6 ksmbd: switch to use kmemdup_nul() helper
    5c0df9d30c28 ksmbd: fix out of bounds in init_smb2_rsp_hdr()
    017d85c94f02 ksmbd: validate session id and tree id in compound request
    4a027b96515e ksmbd: check if a mount point is crossed during path lookup
    cf63b94fec60 ksmbd: Fix unsigned expression compared with zero
    5f36e22910c2 ksmbd: Replace one-element array with flexible-array member
    d9902ad14f82 ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
    97f5c1e3086c ksmbd: add missing compound request handing in some commands
    676392184785 ksmbd: fix out of bounds read in smb2_sess_setup
    d91ba80185e4 ksmbd: Replace the ternary conditional operator with min()
    2222ada0959b ksmbd: use kvzalloc instead of kvmalloc
    638043bef94a ksmbd: Change the return value of ksmbd_vfs_query_maximal_access to void
    7585898ddf5a ksmbd: return a literal instead of 'err' in ksmbd_vfs_kern_path_locked()
    4910a79a5f61 ksmbd: use kzalloc() instead of __GFP_ZERO
    b657622862ba ksmbd: remove unused ksmbd_tree_conn_share function
    ce95f7d2dcdf ksmbd: add mnt_want_write to ksmbd vfs functions
    0d1a3f97efbe ksmbd: validate smb request protocol id
    df3a4518aee6 ksmbd: check the validation of pdu_size in ksmbd_conn_handler_loop
    ae33f07c87ab ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
    55ceeb4e1c71 ksmbd: fix out-of-bound read in parse_lease_state()
    4adb4fbd7481 ksmbd: fix out-of-bound read in deassemble_neg_contexts()
    049ed0f953da ksmbd: call putname after using the last component
    b423ddab6138 ksmbd: fix UAF issue from opinfo->conn
    19b2b9af315e ksmbd: fix multiple out-of-bounds read during context decoding
    61a306c1cc75 ksmbd: fix uninitialized pointer read in smb2_create_link()
    ea799dd27584 ksmbd: fix uninitialized pointer read in ksmbd_vfs_rename()
    b36295c17fb9 ksmbd: fix racy issue under cocurrent smb2 tree disconnect
    ae06b798f72d ksmbd: fix racy issue from smb2 close and logoff with multichannel
    dff87902d960 ksmbd: block asynchronous requests when making a delay on session setup
    a6a9601ba995 ksmbd: destroy expired sessions
    708c304b583d ksmbd: fix racy issue from session setup and logoff
    019aae488dbc ksmbd: fix racy issue from using ->d_parent and ->d_name
    b31e1ef30107 fs: introduce lock_rename_child() helper
    380a0fe8bd60 ksmbd: remove unused compression negotiate ctx packing
    0dbfcc34efab ksmbd: avoid duplicate negotiate ctx offset increments
    2ca23947df89 ksmbd: set NegotiateContextCount once instead of every inc
    39f5b4b313b4 ksmbd: avoid out of bounds access in decode_preauth_ctxt()
    921536046bd1 ksmbd: fix slab-out-of-bounds in init_smb2_rsp_hdr
    9494242c8e76 ksmbd: delete asynchronous work from list
    427caadf90e9 ksmbd: remove unused is_char_allowed function
    289b46fd11dd ksmbd: fix wrong signingkey creation when encryption is AES256
    bfe8372ef2db ksmbd: fix possible memory leak in smb2_lock()
    d625db885a10 ksmbd: Fix parameter name and comment mismatch
    0d3f06fd65fe ksmbd: Fix spelling mistake "excceed" -> "exceeded"
    1f1aca1d500d ksmbd: update Kconfig to note Kerberos support and fix indentation
    a35ebf658993 ksmbd: Remove duplicated codes
    b15734ec29b6 ksmbd: fix typo, syncronous->synchronous
    1f485b54d04a ksmbd: Implements sess->rpc_handle_list as xarray
    b1caecbf34b8 ksmbd: Implements sess->ksmbd_chann_list as xarray
    d7f088dc2794 ksmbd: send proper error response in smb2_tree_connect()
    bcab5c810544 ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs
    46c517bc0ac6 ksmbd: Fix resource leak in smb2_lock()
    9ea6b43d8a7d ksmbd: use F_SETLK when unlocking a file
    8263acd267f7 ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for this share
    64b4d72c596a ksmbd: replace one-element arrays with flexible-array members
    2bdd995f139c ksmbd: validate share name from share config response
    ef97ccd0fc64 ksmbd: call ib_drain_qp when disconnected
    b3e852bea8a7 ksmbd: make utf-8 file name comparison work in __caseless_lookup()
    131e308593e6 ksmbd: hide socket error message when ipv6 config is disable
    507cb106c3b9 ksmbd: reduce server smbdirect max send/receive segment sizes
    fe4d09792bc6 ksmbd: decrease the number of SMB3 smbdirect server SGEs
    d5a3b1024aab ksmbd: set NTLMSSP_NEGOTIATE_SEAL flag to challenge blob
    4d796ff8995a ksmbd: fix encryption failure issue for session logoff response
    e925de7defff ksmbd: fill sids in SMB_FIND_FILE_POSIX_INFO response
    95b72edca5d2 ksmbd: set file permission mode to match Samba server posix extension behavior
    813ef06ea2a3 ksmbd: change security id to the one samba used for posix extension
    62e6846ee3ba ksmbd: casefold utf-8 share names and fix ascii lowercase conversion
    43e2963be171 ksmbd: remove generic_fillattr use in smb2_open()
    aa77fc81825b ksmbd: constify struct path
    b79a9f991eb9 ksmbd: don't open-code %pD
    d6686d57919d ksmbd: don't open-code file_path()
    a7ddc4951f0f ksmbd: remove unnecessary generic_fillattr in smb2_open
    ebb8c616574a ksmbd: request update to stale share config
    c7aff8b8ffdb ksmbd: use wait_event instead of schedule_timeout()
    1f82ecbc7f1e ksmbd: remove unused ksmbd_share_configs_cleanup function
    8d0f823193f1 ksmbd: remove duplicate flag set in smb2_write
    d4b374ff2a3a ksmbd: smbd: Remove useless license text when SPDX-License-Identifier is already used
    ff403dbe43a1 ksmbd: smbd: relax the count of sges required
    9d609b52f952 ksmbd: smbd: fix connection dropped issue
    32af379e13df ksmbd: Fix some kernel-doc comments
    81602ee1c4fb ksmbd: fix wrong smbd max read/write size check
    918a690d8ab6 ksmbd: smbd: handle multiple Buffer descriptors
    673c186f8105 ksmbd: smbd: change the return value of get_sg_list
    30bd0df6e667 ksmbd: smbd: simplify tracking pending packets
    f17ed7b33899 ksmbd: smbd: introduce read/write credits for RDMA read/write
    982fcdec10ff ksmbd: smbd: change prototypes of RDMA read/write related functions
    6bb439930338 ksmbd: validate length in smb2_write()
    8e32e1584025 ksmbd: remove filename in ksmbd_file
    e9a325124611 smb3: fix ksmbd bigendian bug in oplock break, and move its struct to smbfs_common
    dc232946d108 ksmbd: replace usage of found with dedicated list iterator variable
    a5213868c62b ksmbd: Remove a redundant zeroing of memory
    7ee6f9ba9783 ksmbd: shorten experimental warning on loading the module
    a5a8c9133d97 ksmbd: store fids as opaque u64 integers
    170598b6f354 ksmbd: use netif_is_bridge_port
    c5049d2d73b2 ksmbd: add support for key exchange
    09b4c603831d ksmbd: smbd: validate buffer descriptor structures
    858b9644518f ksmbd: smbd: fix missing client's memory region invalidation
    51d0b879d6f5 ksmbd: add smb-direct shutdown
    d15077ad35af ksmbd: smbd: change the default maximum read/write, receive size
    ba7c3ff9053b ksmbd: smbd: create MR pool
    97b3a08892c0 ksmbd: smbd: call rdma_accept() under CM handler
    8a49ab3e59ed ksmbd: set 445 port to smbdirect port by default
    178ecc325728 ksmbd: register ksmbd ib client with ib_register_client()
    91d730756980 ksmbd: Fix smb2_get_name() kernel-doc comment
    dd56eb361f3a ksmbd: Delete an invalid argument description in smb2_populate_readdir_entry()
    36167446ce68 ksmbd: Fix smb2_set_info_file() kernel-doc comment
    2fa426c9d741 ksmbd: Fix buffer_check_err() kernel-doc comment
    e5b04973e720 ksmbd: set both ipv4 and ipv6 in FSCTL_QUERY_NETWORK_INTERFACE_INFO
    a63256708a99 ksmbd: Remove unused fields from ksmbd_file struct definition
    de203cdf1ee5 ksmbd: Remove unused parameter from smb2_get_name()
    82ae5fe3e629 ksmbd: use oid registry functions to decode OIDs
    7833bd31bc6b ksmbd: change LeaseKey data type to u8 array
    199b8b5ceba3 ksmbd: remove smb2_buf_length in smb2_transform_hdr
    e0c58420570c ksmbd: remove smb2_buf_length in smb2_hdr
    6cd90c01b032 ksmbd: remove md4 leftovers
    84af59bcab8e ksmbd: Remove redundant 'flush_workqueue()' calls
    a33bb607a1b2 ksmdb: use cmd helper variable in smb2_get_ksmbd_tcon()
    5fed9cbbafcb ksmbd: use ksmbd_req_buf_next() in ksmbd_verify_smb_message()
    1d146b1875fc Linux 5.15.144
    4c117984824b r8152: fix the autosuspend doesn't work
    aa3cc80e8eda r8152: remove rtl_vendor_mode function
    07ba21627ebb r8152: avoid to change cfg for all devices
    fa5f992dcf89 powerpc/ftrace: Fix stack teardown in ftrace_no_trace
    4624f5f298e2 powerpc/ftrace: Create a dummy stackframe to fix stack unwind
    410c05b60c1a RDMA/irdma: Prevent zero-length STAG registration
    93e765523b34 USB: gadget: core: adjust uevent timing on gadget unbind
    529f020f7b5f ring-buffer: Do not try to put back write_stamp
    b8d59ea20346 ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs
    fb63b1f99414 ring-buffer: Fix writing to the buffer with max_data_size
    e9587314fd1f ring-buffer: Have saved event hold the entire event
    8ed7d2800fa6 ring-buffer: Do not update before stamp when switching sub-buffers
    547937457fe2 tracing: Update snapshot buffer on resize if it is allocated
    97e70d6698f5 ring-buffer: Fix memory leak of free page
    f94942885e84 drm/amdgpu/sdma5.2: add begin/end_use ring callbacks
    8175dad2ad41 team: Fix use-after-free when an option instance allocation fails
    c2134ed53261 arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify
    1bc91916e8ef ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS
    1a4da77ef61b soundwire: stream: fix NULL pointer dereference for multi_link
    5a95499843e8 btrfs: do not allow non subvolume root targets for snapshot
    7b427d8cb7a8 perf: Fix perf_event_validate_size() lockdep splat
    27714a22a1c2 HID: hid-asus: add const to read-only outgoing usb buffer
    11c17f42765a net: usb: qmi_wwan: claim interface 4 for ZTE MF290
    ca15561c99da asm-generic: qspinlock: fix queued_spin_value_unlocked() implementation
    0a3f27d9ad10 HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad
    41759fab26b4 HID: hid-asus: reset the backlight brightness level on resume
    9f093e15faee HID: add ALWAYS_POLL quirk for Apple kb
    61fc877f7c34 HID: glorious: fix Glorious Model I HID report
    23b08531d8f3 platform/x86: intel_telemetry: Fix kernel doc descriptions
    7020385effce bcache: avoid NULL checking to c->root in run_cache_set()
    f891bbf13a94 bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()
    8758b0532f79 bcache: remove redundant assignment to variable cur_idx
    d38288af6f30 bcache: avoid oversize memory allocation by small stripe_size
    252c2a4795e9 blk-cgroup: bypass blkcg_deactivate_policy after destroying
    8146f7a8809b blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"
    b7d82e5dbe5a stmmac: dwmac-loongson: Add architecture dependency
    46412b2fb1f9 usb: aqc111: check packet for fixup for true limit
    fe13b6a6ddb1 drm/mediatek: Add spinlock for setting vblank event in atomic_begin
    6f709907ea90 PCI: loongson: Limit MRRS to 256
    4f4a9fc6b0cd Revert "PCI: acpiphp: Reassign resources on bridge if necessary"
    2d099b274e43 ALSA: hda/realtek: Apply mute LED quirk for HP15-db
    0239375ecb66 ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants
    d6df72b2f566 ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
    45f53ca3065b fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()
    f21b7610d55f cred: switch to using atomic_long_t
    3a1428640259 net: atlantic: fix double free in ring reinit logic
    5b87ac25e8cf appletalk: Fix Use-After-Free in atalk_ioctl
    de73f41fd658 net: stmmac: Handle disabled MDIO busses from devicetree
    6f3b49a4158c net: stmmac: use dev_err_probe() for reporting mdio bus registration failure
    90715e0a4cbb dpaa2-switch: fix size of the dma_unmap
    444339f3aaff vsock/virtio: Fix unsigned integer wrap around in virtio_transport_has_space()
    a5ab70a9c547 sign-file: Fix incorrect return values check
    8eec2dcc4b83 stmmac: dwmac-loongson: Make sure MDIO is initialized before use
    abb40550adeb net: ena: Fix XDP redirection error
    5d45225702f3 net: ena: Fix xdp drops handling due to multibuf packets
    39082715bd8e net: ena: Destroy correct number of xdp queues upon failure
    e2b48f94802e net: Remove acked SYN flag from packet in the transmit queue correctly
    d3b174db0cd6 qed: Fix a potential use-after-free in qed_cxt_tables_alloc
    3f1f6a94d885 net/rose: Fix Use-After-Free in rose_ioctl
    3bb41dc361bf atm: Fix Use-After-Free in do_vcc_ioctl
    db400b1f8b6e octeontx2-af: Update RSS algorithm index
    e0676d37bb1a octeontx2-pf: Fix promisc mcam entry action
    86f50bb2a487 octeontx2-af: fix a use-after-free in rvu_nix_register_reporters
    af7a77216660 net: fec: correct queue selection
    3c4dcfbff15b net: vlan: introduce skb_vlan_eth_hdr()
    fe779dbb42fb atm: solos-pci: Fix potential deadlock on &tx_queue_lock
    e16f961f8bc5 atm: solos-pci: Fix potential deadlock on &cli_queue_lock
    d525bbd9dd2d qca_spi: Fix reset behavior
    4ec0e0e65bb6 qca_debug: Fix ethtool -G iface tx behavior
    173fc3212c31 qca_debug: Prevent crash on TX ring changes
    9846d8c8c383 net: ipv6: support reporting otherwise unknown prefix flags in RTM_NEWPREFIX
    77443956e635 HID: lenovo: Restrict detection of patched firmware only to USB cptkbd
    d37f44beef92 afs: Fix refcount underflow from error handling race
    a69d8ee03c88 ksmbd: fix memory leak in smb2_lock()
    fd0d9b167459 MIPS: Loongson64: Handle more memory types passed from firmware
    d9a9d8effdb2 memblock: allow to specify flags with memblock_add_node()
    49e0fcb522f3 mm/memory_hotplug: handle memblock_add_node() failures in add_memory_resource()
    5b77f41fb71c netfilter: nf_tables: fix 'exist' matching on bigendian arches
    3d4ad03bf1ee r8152: add vendor/device ID pair for ASUS USB-C2500
    404ce6ee69d3 r8152: add vendor/device ID pair for D-Link DUB-E250
    ca75274b17b8 r8152: add USB device driver for config selection
    f5494d96bcbe perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table
    d0fc081c6241 Linux 5.15.143
    2eba64dcbf26 devcoredump: Send uevent once devcd is ready
    97a9a7cf7f2f devcoredump : Serialize devcd_del work
    e5071ae7d829 smb: client: fix potential NULL deref in parse_dfs_referrals()
    d2bafe84dd7a cifs: Fix non-availability of dedup breaking generic/304
    c7a0a2651831 Revert "btrfs: add dmesg output for first mount and last unmount of a filesystem"
    1ed694fec589 MIPS: Loongson64: Enable DMA noncoherent support
    a71b6a615252 MIPS: Loongson64: Reserve vgabios memory on boot
    72bdf3445012 KVM: SVM: Update EFER software model on CR0 trap for SEV-ES
    15a8088786d1 KVM: s390/mm: Properly reset no-dat
    19e10526460a x86/CPU/AMD: Check vendor in the AMD microcode callback
    e5731380b753 serial: 8250_omap: Add earlycon support for the AM654 UART controller
    17c2ed9a99e4 serial: 8250: 8250_omap: Do not start RX DMA on THRI interrupt
    8718c0ab94e6 serial: 8250: 8250_omap: Clear UART_HAS_RHR_IT_DIS bit
    9bf8bc456f30 serial: sc16is7xx: address RX timeout interrupt errata
    87ac27041255 ARM: PL011: Fix DMA support
    9402252dda0c usb: typec: class: fix typec_altmode_put_partner to put plugs
    e24f2b219f39 Revert "xhci: Loosen RPM as default policy to cover for AMD xHC 1.1"
    742ecc1b1c2d parport: Add support for Brainboxes IX/UC/PX parallel cards
    86240d91ec40 usb: gadget: f_hid: fix report descriptor allocation
    f7a0cab502f5 drm/amdgpu: correct the amdgpu runtime dereference usage count
    091c77c287b4 drm/amd/amdgpu: Fix warnings in amdgpu/amdgpu_display.c
    324df6ecda16 gpiolib: sysfs: Fix error handling on failed export
    ebc7597ce971 perf: Fix perf_event_validate_size()
    00f8c6dc8274 perf/core: Add a new read format to get a number of lost samples
    4aed524081cf arm64: dts: mt8183: kukui: Fix underscores in node names
    1e64d6ddbd9f arm64: dts: mediatek: add missing space before {
    6276d125aa75 arm64: dts: mediatek: mt8183: Move thermal-zones to the root node
    a6b7222bbd3f arm64: dts: mediatek: align thermal zone node names with dtschema
    ab9ac2cb5740 tools headers UAPI: Sync linux/perf_event.h with the kernel sources
    dc52117cd797 docs/process/howto: Replace C89 with C11
    7aed508668ff platform/x86: asus-wmi: Fix kbd_dock_devid tablet-switch reporting
    e65128616faa netfilter: nft_set_pipapo: skip inactive elements during set walk
    bcedd497b3b4 io_uring/af_unix: disable sending io_uring over sockets
    c5a09d163184 mm: fix oops when filemap_map_pmd() without prealloc_pte
    c755e7cdacfe r8169: fix rtl8125b PAUSE frames blasting when suspended
    9234835fcc33 tracing: Stop current tracer when resizing buffer
    5a9cbf824225 tracing: Set actual size after ring buffer resize
    40a36f08a198 ring-buffer: Force absolute timestamp on discard of event
    0ccca12b7dd8 misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
    271b563063e3 misc: mei: client.c: return negative error code in mei_cl_write
    4511b3650e53 coresight: etm4x: Remove bogous __exit annotation for some functions
    192352bd4bbe coresight: etm4x: Make etm4_remove_dev() return void
    318a206633c2 kallsyms: Make kallsyms_on_each_symbol generally available
    61b68b608954 binder: fix memory leaks of spam and pending work
    1665a875add8 arm64: dts: mediatek: mt8183: Fix unit address for scp reserved memory
    dca1bfdb407e arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names
    d052b5ade240 arm64: dts: mediatek: mt8183-kukui-jacuzzi: fix dsi unnecessary cells properties
    e37aa926447f arm64: dts: mediatek: mt7622: fix memory node warning check
    d849cf64c553 platform/surface: aggregator: fix recv_buf() return value
    d91fb1b7b799 regmap: fix bogus error on regcache_sync success
    d08a96e5ffdb packet: Move reference count in packet_sock to atomic_long_t
    c86b76896f6e tracing: Fix a possible race when disabling buffered events
    e733a6f84462 tracing: Fix incomplete locking when disabling buffered events
    fb0219bf9665 tracing: Disable snapshot buffer when stopping instance tracers
    9e41d92e2884 tracing: Always update snapshot buffer size
    ac3ccec33b92 checkstack: fix printed address
    762b0d529c95 nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
    fd85766c7c3e nilfs2: fix missing error check for sb_set_blocksize call
    4bbf011bd6cc ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5
    e5571507a1a4 ALSA: pcm: fix out-of-bounds in snd_pcm_state_names
    f82e39f75c23 ALSA: usb-audio: Add Pioneer DJM-450 mixer controls
    ea3291cb9075 io_uring: fix mutex_unlock with unreferenced ctx
    09f9d1fbaff9 nvme-pci: Add sleep quirk for Kingston drives
    7e765ec2f17c kprobes: consistent rcu api usage for kretprobe holder
    f5311389262d md: don't leave 'MD_RECOVERY_FROZEN' in error path of md_set_readonly()
    4a52acc91015 md: introduce md_ro_state
    940a7bcd4f77 riscv: fix misaligned access handling of C.SWSP and C.SDSP
    6e2f71188f23 ARM: dts: imx28-xea: Pass the 'model' property
    976eb1730717 ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt
    cb2034c02ffa ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init
    800aabe1eda1 scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
    48987eef55b8 tracing: Fix a warning when allocating buffered events fails
    6daed3710c1d ARM: dts: imx6ul-pico: Describe the Ethernet PHY clock
    2ea7438af1f0 arm64: dts: imx8mp: imx8mq: Add parkmode-disable-ss-quirk on DWC3
    8a21980df069 arm64: dts: imx8mq: drop usb3-resume-missing-cas from usb
    0511a9c56e58 RDMA/irdma: Avoid free the non-cqp_request scratch
    b7b24a7ffced RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz
    9d2854cc2554 ASoC: wm_adsp: fix memleak in wm_adsp_buffer_populate
    1d31ea4df805 hwmon: (nzxt-kraken2) Fix error handling path in kraken2_probe()
    9deab0c35ea4 hwmon: (acpi_power_meter) Fix 4.29 MW bug
    8ef49679a2f1 RDMA/bnxt_re: Correct module description string
    0b21a39bf1ad RDMA/rtrs-clt: Remove the warnings for req in_use check
    6cef8ca19140 RDMA/rtrs-clt: Fix the max_send_wr setting
    855b433468a4 RDMA/rtrs-srv: Destroy path files after making sure no IOs in-flight
    7df9d0d06475 RDMA/rtrs-srv: Free srv_mr iu only when always_invalidate is true
    00e54da50bf1 RDMA/rtrs-srv: Check return values while processing info request
    59cab0ae4873 RDMA/rtrs-clt: Start hb after path_up
    7f0460db1b88 RDMA/rtrs-srv: Do not unconditionally enable irq
    18556be80b2b arm64: dts: rockchip: Expand reg size of vdec node for RK3399
    583dec140d39 RDMA/irdma: Add wait for suspend on SQD
    f78b8b7f5bd5 RDMA/irdma: Do not modify to SQD on error
    754797722491 RDMA/hns: Fix unnecessary err return when using invalid congest control algorithm
    01c13d8a95e0 tee: optee: Fix supplicant based device enumeration
    d3d254e63ef4 drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group
    30d4881a757d net: add missing kdoc for struct genl_multicast_group::flags
    5299bca8c64f psample: Require 'CAP_NET_ADMIN' when joining "packets" group
    81b0c3d2824e bpf: sockmap, updating the sg structure should also update curr
    0d4e0afdd665 tcp: do not accept ACK of bytes we never sent
    38bae9cda82d netfilter: xt_owner: Fix for unsafe access of sk->sk_socket
    9de311e5d142 netfilter: nf_tables: validate family when identifying table via handle
    cf5f113c41eb netfilter: nf_tables: bail out on mismatching dynset and set expressions
    219c6b558414 octeontx2-af: Update Tx link register range
    4fe599a7cd7b net: hns: fix fake link up on xge port
    a5c2f9f7f882 ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()
    c8aca57e235d ionic: Fix dim work handling in split interrupt mode
    04022c185e45 ionic: fix snprintf format length warning
    246bc719ef0c net: bnxt: fix a potential use-after-free in bnxt_init_tc
    b14d6d404c22 i40e: Fix unexpected MFS warning message
    6113cba29f2f octeontx2-af: fix a use-after-free in rvu_npa_register_reporters
    e047a1fc12d3 net: stmmac: fix FPE events losing
    75c53a4c4329 arcnet: restoring support for multiple Sohard Arcnet cards
    789fed570205 platform/mellanox: Check devm_hwmon_device_register_with_groups() return value
    a24071448e9b platform/mellanox: Add null pointer checks for devm_kasprintf()
    45171e5eb7d5 mlxbf-bootctl: correctly identify secure boot with development keys
    401d9bab5108 r8152: Add RTL8152_INACCESSIBLE to r8153_aldps_en()
    5b9bf02f1c00 r8152: Add RTL8152_INACCESSIBLE to r8153_pre_firmware_1()
    0a53ed0b0068 r8152: Add RTL8152_INACCESSIBLE to r8156b_wait_loading_flash()
    a637801347e8 r8152: Add RTL8152_INACCESSIBLE checks to more loops
    00beca907a7b r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
    89c619b1b656 hv_netvsc: rndis_filter needs to select NLS
    f258a0bed308 octeontx2-af: Check return value of nix_get_nixlf before using nixlf
    51e7868e5df9 octeontx2-pf: Add missing mutex lock in otx2_get_pauseparam
    a239affd93d3 ipv6: fix potential NULL deref in fib6_add()
    9008af83efa3 platform/x86: wmi: Skip blocks with zero instances
    29783a17a30a platform/x86: wmi: Allow duplicate GUIDs for drivers that use struct wmi_driver
    0f06d9bd2ef8 of: dynamic: Fix of_reconfig_get_state_change() return value documentation
    5dd9a481da29 platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code
    450f8c95a5cb platform/x86: asus-wmi: Simplify tablet-mode-switch handling
    f277c14b6d5f platform/x86: asus-wmi: Simplify tablet-mode-switch probing
    36ede1474698 platform/x86: asus-wmi: Add support for ROG X13 tablet mode
    e8aed5133f6a platform/x86: asus-wmi: Adjust tablet/lidflip handling to use enum
    bfac5cc5a6da drm/amdgpu: correct chunk_ptr to a pointer to chunk.
    94e5ed1620f4 kconfig: fix memory leak from range properties
    c5ab980acfc0 tg3: Increment tx_dropped in tg3_tso_bug()
    d188dcb9db40 tg3: Move the [rt]x_dropped counters to tg3_napi
    8bb930c3a1ea netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test
    89a057818db3 i2c: designware: Fix corrupted memory seen in the ISR
    6fcbcc6c8e52 hrtimers: Push pending hrtimers away from outgoing CPU earlier
    ef93d8853129 vdpa/mlx5: preserve CVQ vringh index

(From OE-Core rev: 03794866c1333113c909ef88dc232bcc47a7c459)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
beb149e56a linux-yocto/5.15: update to v5.15.142
Updating  to the latest korg -stable release that comprises
the following commits:

    8a1d809b0545 Linux 5.15.142
    4d9bd1b108d7 iomap: update ki_pos a little later in iomap_dio_complete
    6ed02493ef14 r8169: fix deadlock on RTL8125 in jumbo mtu mode
    0249024aa48e r8169: disable ASPM in case of tx timeout
    8912dbddb25f mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
    68156ce2527f mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
    9807860f6ad4 iommu/vt-d: Make context clearing consistent with context mapping
    7960f2cf4378 iommu/vt-d: Omit devTLB invalidation requests when TES=0
    cfd842b71db2 cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
    f0b6880658f5 cpufreq: imx6q: don't warn for disabling a non-existing frequency
    bb08df40d451 smb3: fix caching of ctime on setxattr
    15b4158c872d fs: add ctime accessors infrastructure
    db78835b68c6 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
    711ee151a303 ASoC: SOF: sof-pci-dev: Fix community key quirk detection
    81952f82e32b ASoC: SOF: sof-pci-dev: don't use the community key on APL Chromebooks
    fa0a570d84b7 ASoC: SOF: sof-pci-dev: add parameter to override topology filename
    0d38d659a9d2 ASoC: SOF: sof-pci-dev: use community key on all Up boards
    f3db01e4d012 ASoC: Intel: Move soc_intel_is_foo() helpers to a generic header
    b4329a3a93d3 smb3: fix touch -h of symlink
    b60187f610fb selftests/resctrl: Move _GNU_SOURCE define into Makefile
    072c17d4003a selftests/resctrl: Add missing SPDX license to Makefile
    1e9973aea221 perf intel-pt: Fix async branch flags
    0a6b5321dcb0 net: ravb: Stop DMA in case of failures on ravb_open()
    a4515a2f5b1e net: ravb: Start TX queues after HW initialization succeeded
    2ba0a8330dae net: ravb: Use pm_runtime_resume_and_get()
    5823191fb2ba net: ravb: Check return value of reset_control_deassert()
    24681e92e517 ravb: Fix races between ravb_tx_timeout_work() and net related ops
    9750941783a2 r8169: prevent potential deadlock in rtl8169_close
    666250692881 Revert "workqueue: remove unused cancel_work()"
    2587d8fe1484 octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64
    54260f148377 net: stmmac: xgmac: Disable FPE MMC interrupts
    9af4884b8ae6 octeontx2-af: Fix possible buffer overflow
    f4499f0fc1e6 selftests/net: ipsec: fix constant out of range
    8454f0e090d4 uapi: propagate __struct_group() attributes to the container union
    0bf95654e999 dpaa2-eth: increase the needed headroom to account for alignment
    c4a00c47a140 ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
    64c27b7b2357 usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
    e704db8ea64a USB: core: Change configuration warnings to notices
    bec3ae293810 hv_netvsc: fix race of netvsc and VF register_netdevice
    69732d2151b5 rcu: Avoid tracing a few functions executed in stop machine
    02caa78cbc22 vlan: move dev_put into vlan_dev_uninit
    842801181864 vlan: introduce vlan_dev_free_egress_priority
    a8604a90e1db Input: xpad - add HyperX Clutch Gladiate Support
    875eeda48161 btrfs: make error messages more clear when getting a chunk map
    47693835edb1 btrfs: send: ensure send_fd is writable
    36b98806d243 btrfs: fix off-by-one when checking chunk map includes logical address
    0ffd9d356ea0 btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
    a480eb262b17 btrfs: add dmesg output for first mount and last unmount of a filesystem
    2e931b33060c parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
    f0d052223488 powerpc: Don't clobber f0/vs0 during fp|altivec register save
    d48f9008e892 iommu/vt-d: Add MTL to quirk list to skip TE disabling
    0c7fa41e3e74 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
    c986cb72eb41 dm verity: don't perform FEC for failed readahead IO
    9a2590b400d4 dm-verity: align struct dm_verity_fec_io properly
    61a982f9a575 ALSA: hda/realtek: Add supported ALC257 for ChromeOS
    5fe4d96502e8 ALSA: hda/realtek: Headset Mic VREF to 100%
    4ed5ad052286 ALSA: hda: Disable power-save on KONTRON SinglePC
    a75793684734 mmc: block: Be sure to wait while busy in CQE error recovery
    8dfdd6038e32 mmc: block: Do not lose cache flush during CQE error recovery
    129984dc9b1b mmc: block: Retry commands in CQE error recovery
    85afaefa9568 mmc: cqhci: Fix task clearing in CQE error recovery
    ceec82319989 mmc: cqhci: Warn of halt or task clear failure
    9edc063598c9 mmc: cqhci: Increase recovery halt timeout
    443829382220 firewire: core: fix possible memory leak in create_units()
    b20f71c8098b pinctrl: avoid reload of p state in list iteration

(From OE-Core rev: 4deed206f92fc207d18cdb4c8bc35ce1bf0fb0f6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00