Compare commits

..

566 Commits

Author SHA1 Message Date
wangmy
95066dde68 repo: upgrade 2.25 -> 2.26
(From OE-Core rev: 18a0c31b3386aa5a04eb8ee8e804c2415a61eaaf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
wangmy
21e0a7c81c dpkg: upgrade 1.21.7 -> 1.21.8
Changelog:
==========
  * dpkg-statoverride: Add support for --force-not-root. Closes: #1009069
  * dpkg: Fix <De-configuring> message to allow configuration to use new
    version.
  * Perl modules:
    - Dpkg::Source::Archive: Prevent directory traversal for in-place extracts.
    - Dpkg::Substvars: Add support for optional substvars assigned with ?=.
  * Documentation:
    - man: Reference deb-substvar(5) from dpkg-source(1) and dpkg-shlibdeps(1).
    - man: Structure and clarify deb-substvars(5).
  * Build system:
    - Unhook dist-cpan from make dist target.
  * Packaging:
    - Silence warning about merged-usr-via-aliased-dirs on Ubuntu.
    - Remove useless [] around tr sets.
  * Localization:
    - Update Dutch translations. Closes: #1010031, #1010032, #1010033
    - Update Portuguese man pages translations. Closes: #1011095
  * Localization:
    - Update German man pages translation.

(From OE-Core rev: 83d530c9cbecf60b94739d582a3cb47e992270ba)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
wangmy
1abf09d4cf logrotate: upgrade 3.19.0 -> 3.20.1
Changelog:
=========
drop world-readable permission on state file even when ACLs are enabled (#446)
fix potential DoS from unprivileged users via the state file (CVE-2022-1348)
fix a misleading debug message with copytruncate and rotate 0 (#443)
add support for unsigned time_t (#438)
do not lock state file /dev/null (#433)

(From OE-Core rev: 391fdcf742c4669c1c4654f9b022b3d277aa0038)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
wangmy
dd6f2f61e0 iw: upgrade 5.16 -> 5.19
(From OE-Core rev: 3e33ed8afa7bb4001ebe40b7a92d776bc4adf61d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
wangmy
e5cb34e50e iproute2: upgrade 5.17.0 -> 5.18.0
(From OE-Core rev: 995c5dc8816eaa07b21ed08c4d6afb7bffd9e368)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
wangmy
ead9e7443f cups: upgrade 2.4.1 -> 2.4.2
Changelog:
==========
- Fixed certificate strings comparison for Local authorization (CVE-2022-26691)
- The cupsFileOpen function no longer opens files for append in read-write
  mode (Issue #291)
- The cupsd daemon removed processing temporary queue (Issue #364)
- Fixed delay in IPP backend if GNUTLS is used and endpoint doesn't confirm
  closing the connection (Issue #365)
- Fixed conditional jump based on uninitialized value in cups/ppd.c (Issue #329)
- Fixed CSS related issues in CUPS Web UI (Issue #344)
- Fixed copyright in CUPS Web UI trailer template (Issue #346)
- mDNS hostname in device uri is not resolved when installaling a permanent
- IPP Everywhere queue (Issues #340, #343)
- The lpstat command now reports when the scheduler is not running
  (Issue #352)
- Updated the man pages concerning the -h option (Issue #357)
- Re-added LibreSSL/OpenSSL support (Issue #362)
- Updated the Solaris smf service file (Issue #368)
- Fixed a regression in lpoptions option support (Issue #370)
- The scheduler now regenerates the PPD cache information after changing the
  "cupsd.conf" file (Issue #371)
- Updated the scheduler to set "auth-info-required" to "username,password" if a
  backend reports it needs authentication info but doesn't set a method for
  authentication (Issue #373)
- Updated the configure script to look for the OpenSSL library the old way if
  pkg-config is not available (Issue #375)
- Fixed the prototype for the httpWriteResponse function (Issue #380)
- Brought back minimal AIX support (Issue #389)
  cupsGetResponse did not always set the last error.
- Fixed a number of old references to the Apple CUPS web page.
- Restored the default/generic printer icon file for the web interface.
- Removed old stylesheet classes that are no longer used by the web
  interface.

(From OE-Core rev: 6f4131e73553f47709e19871c23a411275ab3857)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
wangmy
486b985e64 asciidoc: upgrade 10.1.4 -> 10.2.0
Changelog:
Fix verbose output not working when using a2x or asciidoc entry points

(From OE-Core rev: 2e205c32eca591181df02e11d69e9b553638ea34)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
wangmy
c851a48a7e python3-pytest-subtests: upgrade 0.7.0 -> 0.8.0
Changelog:
=========
Now passing subtests are shown in the test run summary at the end
(for example: 10 failed, 1 passed, 10 subtests passed in 0.10s)

(From OE-Core rev: c271e8e831e91f9d29bf4c6ac62b950860941379)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
wangmy
82b68f8054 python3-webcolors: upgrade 1.11.1 -> 1.12
License-Update: Copyright year updated to 2022

(From OE-Core rev: a286b1abcc19b6d3e905f1adb09674a87763c49d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
wangmy
efd43290ca python3-semantic-version: upgrade 2.9.0 -> 2.10.0
Add dependence python3-pkg-resources

Changelog:
==========
 Ensure sorting a collection of versions is always stable, even with build metadata.

(From OE-Core rev: 70d68ca81fd92140367a832d7fb30963a2cac5c1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
wangmy
d81ed52c78 python3-hypothesis: upgrade 6.46.7 -> 6.46.9
(From OE-Core rev: faa4fbe077ea40e02e4d12c833faaab4a9c922f2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
Martin Jansa
b3b76a984c patch.py: make sure that patches/series file exists before quilt pop
* Since quilt upgrade to 0.67 some recipes sometimes fail in do_patch with
  errors like:

  ERROR: Applying patch 'GPLv2.patch' on target directory '/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31'
  CmdError('quilt --quiltrc /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout:
  stderr: File series fully applied, ends at patch GPLv2.patch
  ')

* It affects only recipes with S = "${WORKDIR}", which wipe only
  ${S}/patches, because in other cases whole ${S} is wiped when
  do_unpack is re-executed.

* It was originally added in:
  https://git.openembedded.org/openembedded-core/commit/?id=5fe5e6a15f26f23f0c5b863fafad7a0d382a55e2

  since then it was extended to wipe whole ${S} when ${S} != ${WORKDIR} in:
  https://git.openembedded.org/openembedded-core/commit/?id=5fe5e6a15f26f23f0c5b863fafad7a0d382a55e2
  https://git.openembedded.org/openembedded-core/commit/?id=eccae514b71394ffaed8fc45dea7942152a334a1

  this is now causing issues to quilt-0.67 because it checks that
  ${S}/patches/series exists during 'quilt pop -a -f' which we call
  from QuiltTree.Clean to undo patches possibly already applied
  in ${S} in previous do_patch execution.

* There are couple recipes affected by this e.g. keymaps (.patch already
  removed in oe-core), makedevs (.patch removal sent to ML yesterday
  https://lists.openembedded.org/g/openembedded-core/message/166172),
  devmem2
  (https://lists.openembedded.org/g/openembedded-devel/message/97270), but
  there are other recipes with S = "${WORKDIR}" where you can trigger this
  e.g. by having a .patch file in DISTRO layer .bbappend (e.g. tzdata with
  webOS
  06e5298d9f/meta-webos/recipes-extended/tzdata/tzdata.bbappend (L10))

  This do_patch issue is caused by:
  https://git.savannah.nongnu.org/cgit/quilt.git/commit/?id=8b39a960afcf45cd4f5804ae62b6b0656bdb191d
  introduced in kirkstone with:
  https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=fa71afcee9ab42198c619333b77a15bd2ae02b20

  The shortest sequence to reproduce this is just
  bitbake keymaps -c patch
  bitbake keymaps -c unpack -f
  bitbake keymaps -c patch
  with
  https://git.openembedded.org/openembedded-core/commit/?id=17d981005a0c0c97702ad88602b7181b69bcc9eb
  reverted.

  And the change in quilt behavior is causing QuiltTree.Clean (quilt pop -a -f) in:
  https://git.openembedded.org/openembedded-core/tree/meta/lib/oe/patch.py?id=17d981005a0c0c97702ad88602b7181b69bcc9eb#n601

  to silently fail with "No series file found" before undoing the
  patches in ${S} and then quilt push failing, because all the
  patches are _still_ applied in ${S}.

  Removing ".pc" doesn't help, because we really
  need quilt's help to undo the patches (in this case to delete COPYING
  file from WORKDIR before applying the .patch which tries to add it
  again), because do_unpack cannot just wipe S and start over (because S
  == WORKDIR) - nor selectively removing the files listed in SRC_URI,
  because COPYING file isn't listed there.

  Using skip_series_check in 'quilt pop' (partially reverting the change
  from upstream) does fix this as well and it's simple one line patch
  (just adding skip_series_check=1 in pop.in), but might be difficult
  to upstream, because it's this strange OE specific behavior that we
  remove 'patches' directory and then still need quilt pop to work.

(From OE-Core rev: c9d36882044b1c633d8611a77df54cd68c9bee25)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
Robert Yang
00400b6357 systemd: Set RebootWatchdogSec to 60s as watchdog
The systemd-shutdown sets watchdog timeout to 10m (600 seconds) which is too
large, and caused errors when reboot on boars such as rpi4:

systemd-shutdown[1]: Failed to set timeout to 10min: Invalid argument

The watchog's default value is 60s, so set RebootWatchdogSec to 60s to fix the
errors. And <machin.conf> can set WATCHDOG_TIMEOUT when needed, for example,
the max timeout of rpi4 is 15 seconds.

(From OE-Core rev: 20a7ab9ff6ed777c6617a338d049ebe03fcc588c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-31 15:24:18 +01:00
Richard Purdie
add49bc7e0 cve-check: Allow warnings to be disabled
When running CVE checks in CI we're usually not interested in warnings on the
console for any CVEs present. Add a configuration option CVE_CHECK_SHOW_WARNINGS
to allow this to be disabled (it is left enabled by default).

(From OE-Core rev: 1054d3366ba528f2ad52585cf951e508958c5c68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-29 23:58:00 +01:00
Ross Burton
4b3b09da47 setuptools3: clean up class
Remove a commented-out B, re-order DEPENDS< and add comments.

(From OE-Core rev: 046db6d8bbcad3962a9585ef7ebd10d428953ccb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-29 23:58:00 +01:00
Markus Volk
cb048ba65b gcr: build with gtk+3 for wayland
Also build with gtk+3 dependency if building for wayland without DISTRO_FEATURE "x11".
This fixes an error of missing gcr dependency for gnome-keyring

(From OE-Core rev: 040bfefb4390e67e0746fb6bdda0e4f383122d01)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-29 23:58:00 +01:00
Ross Burton
4f4a5dc956 lzop: remove recipe from oe-core
There are no users of lzop in oe-core, and there hasn't been a release of
lzop since 2017.

(From OE-Core rev: dea5e8863792dc7bb3324b543e04da4c94a060aa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-29 23:58:00 +01:00
Richard Purdie
a8734a82a1 oeqa/imagefeatures: Disable squashfs-lzo
(From OE-Core rev: c8c8b5265c831a2827a3891c7b326b25eae7f681)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-29 23:58:00 +01:00
Richard Purdie
cf1a4bfe8e oeqa/imagefeatures: Replace lzo with zst
We may remove lzo so switch the test case to zstd.

(From OE-Core rev: f749a8b462b915713912342444f981125938a990)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-29 23:58:00 +01:00
Ross Burton
60cd120920 squashfs-tools: disable LZO by default
LZO is a fairly obsolete compression format these days, so disable it by
default.

(From OE-Core rev: 374756be0e332f625ebf8267a7d2216d9189a4d8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-29 23:58:00 +01:00
Ross Burton
088970fb0b libarchive: disable LZO by default
LZO is a fairly obsolete compression format these days, so disable it by
default.

(From OE-Core rev: d5a484a01caebc71ddc98d04954199c3f4642c77)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-29 23:58:00 +01:00
Richard Purdie
ad63694e6d libxslt: Mark CVE-2022-29824 as not applying
We have libxml2 2.9.14 and we don't link statically against libxml2 anyway
so the CVE doesn't apply to libxslt.

(From OE-Core rev: c6315d8a2a1429a0fb7563b1d6352ceee7bc222c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 18:38:02 +01:00
Richard Purdie
f3046bd853 tiff: Add jbig PACKAGECONFIG and clarify CVE-2022-1210
We never depended upon libjbig so this was never present. Add the
PACKAGECONFIG to make this explict.

CVE-2022-1210 is an issue in libjbig so we don't have a problem there,
mark as such.

(From OE-Core rev: 34e6a19f2430ee2fd0fec4bec1891e898a0d9766)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 18:38:02 +01:00
Richard Purdie
cc27598e57 vim: Upgrade 8.2.4912 -> 8.2.5034 to fix 9 CVEs
Address CVE-2022-1621, CVE-2022-1629, CVE-2022-1674, CVE-2022-1733, CVE-2022-1735
CVE-2022-1769, CVE-2022-1771, CVE-2022-1785, CVE-2022-1796

(From OE-Core rev: fafce97bd440150ac5c586b53b887ee70a5b66bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 18:38:02 +01:00
Dmitry Baryshkov
cf3d4641ee go.bbclass: fix path to linker in native Go builds
Building native Go tools results in the tool pointing to the wrong
location of dynamic linker (see below). The linker is looked up in the
temporary dir, which can be removed if rm_work is inherited. This
results in being unable to execute the program with the 'No such file or
directory' error. Override linker specificiation for native recipes (and
let Go build environment to pick up a correct one on it's own).

The error is observed in case the distro doesn't use uninative.bbclass.

If uninative.bbclass is used, the binary will be patched automatically
to use the uninative loader instead of the system one.

Without this patch:

$ ldd tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man
	linux-vdso.so.1 (0x00007ffe945ec000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3a7490e000)
	/home/lumag/Projects/RPB/build-rpb/tmp-rpb-glibc/work/x86_64-linux/go-md2man-native/1.0.10+gitAUTOINC+f79a8a8ca6-r0/recipe-sysroot-native/usr/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f3a74d13000)
$ tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man  --help
-bash: tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man: No such file or directory

With the patch

$ ldd tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man
	linux-vdso.so.1 (0x00007ffd19dbf000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2d44181000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2d44586000)
$ tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man  --help
Usage of tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man:
  -in string
	Path to file to be processed (default: stdin)
  -out string
	Path to output processed file (default: stdout)

(From OE-Core rev: 44b397daa68b4d0a461225fe9ff7db8b5fcfdb7b)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 18:38:02 +01:00
Martin Jansa
ad946d9ed7 staging.bbclass: process direct dependencies in deterministic order
* this doesn't fix any issue (at least AFAIK),
  just keeps the log files more deterministic to avoid unnecessary churn like in:

  --- /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/temp/log.do_patch.2213051      2022-05-26 11:35:44.110063749 +0200
  +++ /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/temp/log.do_patch.2213372      2022-05-26 11:35:54.553062630 +0200
  @@ -1,7 +1,7 @@
   DEBUG: Executing python function extend_recipe_sysroot
  -NOTE: Direct dependencies are ['virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot']
  +NOTE: Direct dependencies are ['/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot']
   NOTE: Installed into sysroot: []
  -NOTE: Skipping as already exists in sysroot: ['patch-native', 'quilt-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native']
  +NOTE: Skipping as already exists in sysroot: ['quilt-native', 'patch-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native']
   DEBUG: Python function extend_recipe_sysroot finished
   DEBUG: Executing python function do_patch
   DEBUG: Executing python function patch_do_patch

(From OE-Core rev: d3ebb37b97da15166d452bf51f5f7e0c312ae42e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 18:38:02 +01:00
Martin Jansa
2dda445879 insane.bbclass: make sure to close .patch files
* fixes:
  DEBUG: Executing python function do_qa_patch
  /OE/build/oe-core/openembedded-core/meta/classes/insane.bbclass:1189: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/openembedded-core/meta/recipes-bsp/keymaps/files/GPLv2.patch' mode='r' encoding='utf-8'>
    content = open(fullpath, encoding='utf-8', errors='ignore').read()
  ResourceWarning: Enable tracemalloc to get the object allocation traceback
  DEBUG: Python function do_qa_patch finished

(From OE-Core rev: 61be3668d866834adfff688620aee7e29f6d8c44)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 18:38:02 +01:00
Ross Burton
faefe4f7c6 packagegroup-self-hosted: remove lzo
lzo isn't needed to build, so it doesn't need to be in the self-hosted
packagegroup.

(From OE-Core rev: 28beab2c5c90b66269bda89b2c0bed21018a0a61)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 18:38:02 +01:00
Richard Purdie
3ab62518a8 Revert "meson.bblcass: Remove empty egg-info directories before running meson"
This reverts commit 47d9d90b4ec7d04d6f3f1a9b97c0ab7f1264a88e.

This is no longer needed with a patch to fix importlib in python.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 18:38:02 +01:00
Richard Purdie
09cd7bddb4 Revert "qemu.inc: Remove empty egg-info directories before running meson"
This reverts commit 9d05227e910d3f374ba7a9763ff2584b9e40db61.

This is no longer needed with a patch to importlib in python.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 18:38:02 +01:00
Richard Purdie
012f2db86b python3: Ensure stale empty python module directories don't break the build
There are two issues inside importlib. Firstly, the modules are accessed in
on disk order. This means behaviour seen on one system might not reproduce
on another and is a real headache.

Secondly, empty directories left behind by previous modules might be looked
at. This has caused a long string of different issues for us.

As a result, patch this to a behaviour which works for us. Upstream discussion
can follow later, this is breaking builds for too many people to leave unpatched.

[YOCTO #14816]

(From OE-Core rev: e5944a38db513e033c3a3e9313267055f7254be7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 18:38:02 +01:00
Richard Purdie
14256b7670 python3: Remove problematic paths from sysroot files
In the native sysroot we should never have paths to the python3-native
build directory. These may or may not exist at the time some dependency
is building and nothing should rely upon them.

I suspect nothing is relying on this at the moment but clean up
just to be sure.

The various config copies are adjusted to be modified consistently as some
copies were and some were not. The Makefile has the "bad" ${B} paths
replaced with a dummy placeholder too.

(From OE-Core rev: ae9e6249ded8fc063d6333231c391cfa2d594567)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 18:38:02 +01:00
Michael Opdenacker
8ea5e52d75 migration guides: release notes for 4.0.1
(From yocto-docs rev: a17bfe2636c11ce8e3266d9add804d795991e2ea)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:46:00 +01:00
Zach Welch
b60bea0ee9 test-manual/intro: bitbake-selftest needs bitbake
Without adding bitbake/bin to the PATH, some tests will fail when
they cannot find the main bitbake script.

(From yocto-docs rev: 1bbeb83bbff71a670ced81146732f04a947473b5)

Signed-off-by: Zachary T Welch <zach@aquabyte.ai>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:46:00 +01:00
Zach Welch
4624c2ae61 test-manual/intro: reorder bitbake-selftest steps
The addition of the verbose example interrupted the description of the
BB_SKIP_NETTESTS option.

(From yocto-docs rev: 9d94046bdb21671e9281ba725fa3aaf9299d3989)

Signed-off-by: Zachary T Welch <zach@aquabyte.ai>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:46:00 +01:00
Ross Burton
70c2ad9bca tiff: mark CVE-2022-1622 and CVE-2022-1623 as invalid
These issues only affect libtiff post-4.3.0 but before 4.4.0, caused by
3079627e and fixed by b4e79bfa.

(From OE-Core rev: 49e93892a37d1a2af2b0a155117441e978385e4c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:33:49 +01:00
Richard Purdie
bc146eeb8d lzo: Add further info to a patch and mark as Inactive-Upstream
Add some further info to the patch based on upstream changes. Given the last release
in 2017 and glaring issues on at least armv5, it does raise the question on whether
we should drop this. There are probably better compression tools now.

(From OE-Core rev: 241309c6dec364445093fa5973cc8998431cbed9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
Alexander Kanavin
b2a1465d61 zip/unzip: mark all submittable patches as Inactive-Upstream
(From OE-Core rev: df78f7bb461c7d3eccac469fd01a77a3d0b800df)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
Tobias Schmidl
875db2bc9d wic/plugins/images/direct: Allow changes in fstab on rootfs
Allow wic to also manipulate the rootfs entry in fstab, which it
currently refuses to write. Reasons one might want to do that include
using systemd-growfs via --fsoptions on /
With this change / is now handled exactly the same as other
mountpoints, the former exception seemingly was not even documented.

(From OE-Core rev: 20d43a2599d7622b96e2fb0da87a886da1a3794a)

Signed-off-by: Tobias Schmidl <tobiasschmidl@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
Tobias Schmidl
fd255af7de oeqa/selftest/wic.py: Repaired test_qemu()
The grep is too wide, so it falsely fits additional lines that have
a UUID (i.e, `/`).

(From OE-Core rev: f72fdea1c890ddd793aa63bb9c1c0857962161cc)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
Ross Burton
789769b923 btrfs-tools: add a PACKAGECONFIG for lzo
LZO is a fairly obsolete compression format these days, so add an option
to enable/disable LZO to btrfs-progs and disable it by default.

(From OE-Core rev: 26ffb0300cfa365627299a7af2efcb230f5951f0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
Martin Jansa
608ef67baa makedevs: Don't use COPYING.patch just to add license file into ${S}
* as it uses S = "${WORKDIR}" it's another possible reproducer for
  do_patch issue mentioned here:
  https://lists.yoctoproject.org/g/yocto/message/56602

(From OE-Core rev: 4d5c5af4dc69df39934fe54500b3dac2fb7b8ae7)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
Richard Purdie
99473ca0cb cve-extra-exclusions: Add kernel CVEs
For OE-Core our policy is to stay as close to the kernel stable releases
as we can. This should ensure the bulk of the major kernel CVEs are fixed
and we don't dive into each individual issue as the stable maintainers are
much more able to do that.

Rather than just ignore all kernel CVEs which is what we have been doing,
list the ones we ignore on this basis here, allowing new issues to be
visible. If anyone wishes to clean up CPE entries with NIST for these, we'd
welcome than and then entries can likely be removed from here.

(From OE-Core rev: 319d465d44328b5f062d2da0526c0e8b189b4239)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
Joerg Vehlow
f213de05de libseccomp: Add missing files for ptests
pfc files are used e.g. in 38-basic-pfc_coverage.sh
valgrind_test.supp is required, when valgrind is installed, otherwise
all valgrind tests fail

(From OE-Core rev: 32ba67bc37b5ca73f7d29cb6c7de281ab8f824bd)

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
Rusty Howell
9c4a7c99ae oe-depends-dot: Handle new format for task-depends.dot
The .dot file created by `bitbake -g` changed formats a while ago, which
broke oe-depends-dot.

Also add some useful examples to the --help output.

(From OE-Core rev: 7751bc4909f3834e43db020ebb91665a5d7960a9)

Signed-off-by: Rusty Howell <rustyhowell@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
wangmy
cb42fa614a python3-setuptools: upgrade 62.3.1 -> 62.3.2
Changelog:
=========
Misc
-----
#3328: Include a first line summary to some of the existing multi-line warnings.

(From OE-Core rev: a7881dfcd5cb9de175799bb3eadba9ca9864aa4d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
wangmy
4f0e861721 python3-pip: upgrade 22.1 -> 22.1.1
(From OE-Core rev: f8a2540b640eafb5f9390142ae17411aaefc5861)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
wangmy
23e5d48ece python3-magic: upgrade 0.4.25 -> 0.4.26
Changes to 0.4.26:
  - Use tox for all multi-version testing
  - Fix use of pytest, use it via tox

(From OE-Core rev: 4f4483a5e9df585d74071d30a52fd5839d320828)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
wangmy
9a3b056658 python3-importlib-metadata: upgrade 4.11.3 -> 4.11.4
(From OE-Core rev: 372c0db2d7f661317ab57618e4707069450313cb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
wangmy
05be13c595 python3-hypothesis: upgrade 6.46.4 -> 6.46.7
(From OE-Core rev: 082dbb3cb1290ca4cb4bfee207f55c97d12e4277)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:48 +01:00
wangmy
79ae37eedc python3-cython: upgrade 0.29.28 -> 0.29.30
Changelog:
https://github.com/cython/cython/blob/master/CHANGES.rst

(From OE-Core rev: 04943836240dc061875829b8526610bc24969926)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
wangmy
beb93aaaf9 python3-certifi: upgrade 2021.10.8 -> 2022.5.18.1
(From OE-Core rev: 6aad7b790df73bd9c986f5abec497a4e155994b6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
Chen Qi
284486b7cc libsdl2: add back xvm and xinerama options
When building libsdl2-native, and I met a do_configure error as below.

  | CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  | Please set them or make sure they are set and tested correctly in the CMake files:
  | XINERAMA_LIB

This error appears on hosts with libxinerama-dev installed.

Looking at the CMakeLists.txt file, I got:

  set(SDL_X11_OPTIONS Xcursor Xdbe Xinerama XInput Xfixes Xrandr Xscrnsaver XShape Xvm

We an see neither Xinerama nor Xvm is removed. So we should add back
these options removed by a previous commit.

(From OE-Core rev: 2c5d78153614fcdf30dbe3e41d88f18e9ae06684)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
leimaohui
f548200d23 gnutls: Added fips option.
- Added a patch to avoid excute fipshmac command. Because *.hmac
file should be created on target instead of on build environment.
- Added pkg_postinst_ontarget to make sure necessary files are
created on target.

(From OE-Core rev: 1b5c620d10aa678871b6cea46e113c8fe3b79822)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
Naveen Saini
3d41555fdc pciutils: avoid lspci conflict with busybox
if virtualization is enabled as DISTRO_FEATURES, then meta-virtualization layer
enables CONFIG_LSPCI=y for busybox, which in result have conflicts with pciutils

update-alternatives: Error: not linking ..core-image-base/1.0-r0/rootfs/usr/bin/lspci
to /bin/busybox.nosuid since
..core-image-base/1.0-r0/rootfs/usr/bin/lspci exists and is not a link

So marking it as ALTERNATIVE with ALTERNATIVE_PRIORITY set to 100

Ref:
https://git.yoctoproject.org/poky/commit/meta/recipes-bsp/pciutils?id=a81af375dfc51446b21548dce2afa6a77bc02df3
0b307156c9
https://git.yoctoproject.org/meta-virtualization/tree/recipes-core/busybox/busybox/lspci.cfg
https://git.yoctoproject.org/meta-virtualization/tree/recipes-core/busybox/busybox_virtualization.inc#n4
https://git.yoctoproject.org/meta-virtualization/tree/recipes-core/busybox/busybox_%25.bbappend#n1

(From OE-Core rev: 257e7620a79ea50c0c59746ff9a3817d43411e39)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
Alexander Kanavin
24c8886a64 apt: fix upstream version check
(From OE-Core rev: da784aae3014d82039a5404d9b871b44ecd4aa52)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
Alexander Kanavin
b400e67593 valgrind: submit arm patches upstream
(From OE-Core rev: 118a68bbe8c87eac77e87db409ce419749b211bb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
Alexander Kanavin
59a94a7f1b bash: submit patch upstream
(From OE-Core rev: 424f1c24c569afd245463b02ca10c40dad3f8a0c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
Ernst Sjöstrand
c4cabfa755 cve-check: Only include installed packages for rootfs manifest
Before this the rootfs manifest and the summary were identical.
We should separate the summary and rootfs manifest more clearly,
now the summary is for all CVEs and the rootfs manifest is only for
things in that image. This is even more useful if you build multiple
images.

(From OE-Core rev: 3b8cc6fc45f0ea5677729ee2b1819bdc7a441ab1)

Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
Ernst Sjöstrand
fd5a40c013 cve-check: Add helper for symlink handling
(From OE-Core rev: 5046d54df2c3057be2afa4143a2833183fca0d67)

Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
Ross Burton
d595363c31 python3-pluggy: add BBCLASSEXTEND for native/nativesdk
This is a dependency of Hatchling, another Python build tool, so we need
it natively.

(From OE-Core rev: b6b17abaa3b5dcce61f6a5c8bdb397f714dba69d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
wangmy
aed63b0429 ninja: upgrade 1.10.2 -> 1.11.0
(From OE-Core rev: 466fb2e1ec98b0b8b55be7340764dd02967b6761)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
wangmy
f67210f9ed init-system-helpers: upgrade 1.62 -> 1.63
Changelog:
==========
  * Remove constraints unnecessary since buster
    * init-system-helpers: Drop versioned constraint on perl-base in Depends.
    * init: Drop versioned constraint on init-system-helpers in Depends.

  * t/helpers.pm: use installed version of deb-systemd-helper if
    TEST_INSTALLED is set
  * add DPKG_ROOT support (Closes: #983421)

  * Add additional error checking on write operations.
    The 'close()' call can fail on both read and write - while the read is
    usually relatively benign, for the write counter part can include "fun"
    errors. Most of these would most likely be persistent issues, but it makes
    sense to detect errors as early possible.

  * service: use 'grep -F' instead of 'egrep'
    'egrep' and 'fgrep' have been deprecated in GNU grep since 2007, and in
    current post 3.7 Git they have been made to emit obsolescence warnings.
    The occurrence in 'service' uses a non-regex argument, so switch to 'grep
    -F' instead of '-E'.

(From OE-Core rev: abf37e040faf510e6e087d97bf76cf07aef05e18)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
wangmy
536d02e099 ccache: upgrade 4.6 -> 4.6.1
Changelog:
https://ccache.dev/releasenotes.html#_ccache_4_6_1

License-Update:
- Copyright year updated to 2020
- updated version of expected-lite from 0.5.0 to revision
  3abf06821d489d56aa9c60eccf8aab70d67d158b

(From OE-Core rev: 61bea09d7edc116bb7fa30fb37e8a3ad15b5f11e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
wangmy
b55297c679 bind: upgrade 9.18.2 -> 9.18.3
Changelog:
==========
[security]
 Fix a crash in DNS-over-HTTPS (DoH) code caused by
 premature TLS stream socket object deletion.
 (CVE-2022-1183) [GL #3216]

[bug]
 RPZ NSIP and NSDNAME rule processing didn't handle stub
 and static-stub zones at or above the query name.  This
 has now been addressed. [GL #3232]
 Fixed a deadlock that could occur if an rndc
 connection arrived during the shutdown of network
 interfaces. [GL #3272]

 Refactor the fctx_done() function to set fctx to
 NULL after detaching, so that reference counting
 errors will be easier to avoid. [GL #2969]

 udp_recv() in dispatch could trigger an INSIST when the
 callback's result indicated success but the response
 was canceled in the meantime. [GL #3300]

 Work around a jemalloc quirk which could trigger an
 out-of-memory condition in named over time. [GL #3287]

 If there was a pending negative cache DS entry,
 validations depending upon it could fail. [GL #3279]

 dig returned a 0 exit status on UDP connection failure.
 [GL #3235]

 Fix an assertion failure when using dig with +nssearch
 and +tcp options by starting the next query in the
 send_done() callback (like in the UDP mode) instead
 of doing that recursively in start_tcp(). Also
 ensure that queries interrupted while connecting
 are detached properly. [GL #3144]

 Don't remove CDS/CDNSKEY DELETE records on zone sign
 when using 'auto-dnssec maintain;'. [GL #2931]

[contrib]
 Avoid name space collision in dlz modules by prefixing
 functions with 'dlz_'. [GL !5778]

 dlz: Add FALLTHROUGH and UNREACHABLE macros. [GL #3306]

[func]
 Add new named command-line option -C to print built-in
 defaults. [GL #1326]

 Introduce the concept of broken catalog zones described
 in the DNS catalog zones draft version 5 document.
 [GL #3224]

 Add DNS Extended Errors when stale answers are returned
 from cache. [GL #2267]

 Implement support for catalog zones change of ownership
 (coo) mechanism described in the DNS catalog zones draft
 version 5 document. [GL #3223]

 Implement support for catalog zones options new syntax
 based on catalog zones custom properties with "ext"
 suffix described in the DNS catalog zones draft version
 5 document. [GL #3222]

 Implement reference counting for TLS contexts and
 allow reloading of TLS certificates on reconfiguration
 without destroying the underlying TCP listener sockets
 for TLS-based DNS transports. [GL #3122]
 Add support for remote TLS certificates
 verification, both to BIND and dig, making it possible
 to implement Strict and Mutual TLS authentication,
 as described in RFC 9103, Section 9.3. [GL #3163]

[cleanup]
 Remove use of exclusive mode in ns_interfacemgr in
 favor of rwlocked access to localhost and localnets
 members of dns_aclenv_t structure. [GL #3229]

 Remove the task exclusive mode use in ns_clientmgr.
 [GL #3230]

(From OE-Core rev: d2ae8b85c71be2e9e332b1ef0a2d3083b30c63e6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
Davide Gardenal
320c00f24f efivar: add musl libc compatibility
Backport patch to get efivar working with musl.

Upstream issue:
https://github.com/rhboot/efivar/issues/202

After commit meta-oe/1582f81805ee3114bc1a44bd5cf52d21f96702ca
fwupd gives an error when trying to build with musl because
efivar is not compatible. This fixes the issue.

(From OE-Core rev: 005b6aba89eaf1b79fdd7565dd028fdd9bbfcc7d)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27 23:50:47 +01:00
Michael Opdenacker
13d70e57f8 migration guides: release notes for 3.4.3 and 3.4.4
(From yocto-docs rev: dbcc41f2c9fd5b2e52b62a9e12e0129f10565fa9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-24 13:58:47 +01:00
Michael Opdenacker
b192b80593 manuals: add documentation for WKS_FILES
Fixes [YOCTO #14590]

(From yocto-docs rev: e736ff92b5b09f2028f3e8a5152973941d25dae4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-24 13:58:47 +01:00
Thomas Epperson
e8d6e05000 dev-manual: fix documentation for bmaptool usage
(From yocto-docs rev: 4d4e2b023e569bff466a8e7b07f1b7e8e2334df0)

Signed-off-by: Thomas Epperson <tepperson@briskheat.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-24 13:58:47 +01:00
Michael Opdenacker
51cb0db138 manuals: add missing space in appends
(From yocto-docs rev: aa122d28298596a3b91a8f6650163785a3cfa831)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-24 13:58:47 +01:00
Michael Halstead
b4fd38e4d5 releases: include 4.0.1
(From yocto-docs rev: 61293f3e752741a5bb1e7e7c9bd31801e549bee2)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-24 13:58:47 +01:00
Raphael Teller
7b7dbdd48b kernel.bbclass: Do not overwrite recipe's custom postinst
Allow recipe to set a custom postinst for kernel image.
Use prependVar in order to allow custom postinst to be
ran after default postinst, potentially modifying the
installed file/symlink.

(From OE-Core rev: 579906b9f4ea32c8d4e0e11a87ee6c9e27cdf0dc)

Signed-off-by: Raphael Teller <raphael.teller@se.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-23 21:31:31 +01:00
leimaohui
e7b13beb49 cve-check.bbclass: Added do_populate_sdk[recrdeptask].
As product, sdk should do cve check as well as rootfs.

(From OE-Core rev: cc17753935c5f9e08aaa6c5886f059303147c07b)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-23 21:31:31 +01:00
Jiaqing Zhao
80135f1cf2 systemd: Correct path returned in sd_path_lookup()
In oe-core, sysusers.d/sysctl.d/binfmt.d/modules-load.d are still kept
under /usr/lib instead of /lib changed in systemd v246. This patch
corrects the SD_PATH_{SYSUSERS,SYSCTL,BINFMT,MODULES_LOAD} returned
in sd_path_lookup() back to the /usr/lib ones.

Also updates the patch description and upstream status.

(From OE-Core rev: 8d913ab6db3ae4b2786a64a086d519a40dcb8c4d)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-23 21:31:31 +01:00
Jiaqing Zhao
c2dc736f15 systemd: Drop 0002-don-t-use-glibc-specific-qsort_r.patch
musl 1.2.3 implements qsort_r function.

(From OE-Core rev: 0c2bbf66c7a00268457ac10fed4bef3714da8651)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-23 21:31:31 +01:00
Jiaqing Zhao
e50acb6e49 systemd: Remove __compare_fn_t type in musl-specific patch
Since systemd v250, commit d8f16737005e ("sort-util: avoid using
glibc's internal __compar_d_fn_t type"), __compare_fn_t type is no
longer used. This patch removes that type in the musl-specific patch.

(From OE-Core rev: 89c8a3f96dfeb444213fd6c523e1495c49065ccc)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-23 21:31:31 +01:00
Jiaqing Zhao
7961559aa9 systemd: Drop 0001-test-parse-argument-Include-signal.h.patch
This patch has already been upstreamed in commit systemd/850f0008bff7
("test-parse-argument: Include signal.h") since v249 stable release.

(From OE-Core rev: 25d8defc806ed760d371423a7ef99bd872462d1e)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-23 21:31:31 +01:00
Richard Purdie
c9303648f8 scripts/patchreview: Make json output human parsable
Sort dict keys in the json output and use tab spacing. This means
when commited into git, the diffs are human readable but it is more
compact filesize than space indentation.

(From OE-Core rev: bde2ecb203d8a1a29715c70ca3ded382982390cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-23 14:00:38 +01:00
Richard Purdie
a0d120dd56 scripts/patchreview: Add commit to stored json data
Save commit data when writing to the json file so the results can
be copared/extended later.

(From OE-Core rev: da761ac1984ee2a06ded905fc4ad878ef7d613e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-23 14:00:38 +01:00
Martin Jansa
fdda6460c0 bitbake: osc: fix DeprecationWarning
* fixes:
  bitbake/lib/bb/fetch2/osc.py:93: DeprecationWarning: invalid escape sequence '\d'
  match = re.match('<directory ?.* rev="(\d+)".*>', output)

(Bitbake rev: 6a346df51b96a6c0e1ee516df36eb0b6c292b063)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-22 13:13:45 +01:00
Richard Purdie
458c70b912 rust-common: Fix native signature dependency issues
The previous changes cause sstatetests.SStateTests.test_sstate_32_64_same_hash
to fail since RUST_XXX_SYS changes depending on the native architecture. This
is correct but these are accounted for in the layout of paths in TMPDIR so
they should be excluded from the task signatures for the correct behaviour.

(From OE-Core rev: 2b9bb4c07d0ab53f58cbdd8a96896780a90be9a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 22:20:54 +01:00
Richard Purdie
781eaa955d rust-common: Drop LLVM_TARGET and simplify
This all seems over complicated for something which is basically always
one of two values. This might even help cross-canadian work on something
which isn't x86-64.

(From OE-Core rev: bd36593ba3db758b3eacc974e48468a665967961)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 22:20:54 +01:00
Sundeep KOKKONDA
66ff1fb3a1 rust-common: Fix for target definitions returning 'NoneType' for arm
[YOCTO #14742]

The build shows below error while building for arm machines.
Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Detailed error info :

Steps to reproduce:
1. Set MACHINE ?= "qemuarm" in local.conf & add 'TOOLCHAIN_HOST_TASK:append = " packagegroup-rust-cross-canadian-${MACHINE}"'
2. bitbake core-image-minimal -cpopulate_sdk

Complete Error:
ERROR: rust-cross-canadian-arm-1.59.0-r0 do_rust_gen_targets: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_rust_gen_targets(d)
     0003:
File: '/ala-lpggp31/skokkonda/yocto/poky/meta/recipes-devtools/rust/rust-cross-canadian-common.inc', lineno: 31, function: do_rust_gen_targets
     0027:
     0028:LLVM_TARGET[x86_64] = "${RUST_HOST_SYS}"
     0029:python do_rust_gen_targets () {
     0030:    wd = d.getVar('WORKDIR') + '/targets/'
 *** 0031:    rust_gen_target(d, 'TARGET', wd, d.getVar('TARGET_LLVM_FEATURES') or "", d.getVar('TARGET_LLVM_CPU'), d.getVar('TARGET_ARCH'))
     0032:    rust_gen_target(d, 'HOST', wd, "", "generic", d.getVar('HOST_ARCH'))
     0033:    rust_gen_target(d, 'BUILD', wd, "", "generic", d.getVar('BUILD_ARCH'))
     0034:}
     0035:
File: '/ala-lpggp31/skokkonda/yocto/poky/meta/recipes-devtools/rust/rust-common.inc', lineno: 330, function: rust_gen_target
     0326:    # build tspec
     0327:    tspec = {}
     0328:    tspec['llvm-target'] = d.getVarFlag('LLVM_TARGET', arch_abi)
     0329:    tspec['data-layout'] = d.getVarFlag('DATA_LAYOUT', arch_abi)
 *** 0330:    tspec['max-atomic-width'] = int(d.getVarFlag('MAX_ATOMIC_WIDTH', arch_abi))
     0331:    tspec['target-pointer-width'] = d.getVarFlag('TARGET_POINTER_WIDTH', arch_abi)
     0332:    tspec['target-c-int-width'] = d.getVarFlag('TARGET_C_INT_WIDTH', arch_abi)
     0333:    tspec['target-endian'] = d.getVarFlag('TARGET_ENDIAN', arch_abi)
     0334:    tspec['arch'] = arch_to_rust_target_arch(rust_arch)
Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Below are the local variables from rust_gen_target function for arm and
aarch64 targets. Refer below, the tspec varibles for 'arm' generated with NoneType.

(a) Locals at rust_gen_target for arm::
tspec['data-layout'] =  None, Type of tspec['data-layout'] =  <class 'NoneType'>
tspec['data-layout'] =  None, Type of tspec['data-layout'] =  <class 'NoneType'>
DEBUG: Python function do_rust_gen_targets finished
(b) Locals at rust_gen_target  for aarch64::
tspec['data-layout'] =  aarch64-unknown-linux-gnu, Type of tspec['data-layout'] =  <class 'str'>
tspec['max-atomic-width'] =  128, Type of tspec['max-atomic-width'] =  <class 'int'>

Reason for changing arm-eabi to arm: The earlier changes introduced this bug, so reverting the change 'arm-eabi' to 'arm' fixed the issue.

(From OE-Core rev: 8ed000debb026477abd86ea3bf72adaf21d69f39)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 22:20:54 +01:00
Sundeep KOKKONDA
5ad33240d5 rust-common: Ensure sstate signatures have correct dependencues for do_rust_gen_targets
The do_rust_gen_targets task was not rerunning when the configuration variables it
uses were changed. Add the missing variable dependencies to fix this.

[RP: Split to separate patch and add commit message]
(From OE-Core rev: 65ce2d129154d4540cb8ec960971bcf6aa5a9480)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 22:20:54 +01:00
Richard Purdie
21fefaf2b7 rust-common: Fix sstate signatures between arm hf and non-hf
Building with MACHINE=qemuarm and MACHINE=qemux86-64 causes rust-native
to rebuild. The reason is all the ingredients into the RUST_*_SYS
variables are being tracked but that doesn't really make sense in this
case:

$ bitbake-diffsigs tmp/stamps/x86_64-linux/rust-native/1.60.0-r0.do_rust_gen_targets.sigdata.63* tmp/stamps/x86_64-linux/rust-native/1.60.0-r0.do_rust_gen_targets.sigdata.34*
NOTE: Starting bitbake server...
basehash changed from 860b8f11b10182dc5b2737f62cdb697477f714adb63eeb4d4b932d67cac8eec2 to 9379e8b9df9696e8056fec7d1534661f34dda073f6d816e241b09a2dff76ae2d
Variable rust_base_triple value changed:
@@ -36,4 +36,4 @@

 # In some cases uname and the toolchain differ on their idea of the arch name
-TUNE_FEATURES{callconvention-hard} = Set
+TUNE_FEATURES{callconvention-hard} = Unset

Switch to using the final variable value for sstate signature purposes
which avoids this issue.

(From OE-Core rev: 38b61aeaf877f6a34c3c0060c175119975ebd782)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 22:20:54 +01:00
Markus Volk
39ec265ecb libsdl2: add PACKAGECONFIG for libusb1 and remove obsolete options
Support for XVM and Xinerama has been removed

(From OE-Core rev: 09092685fdc8ffe6384bea441394ce02d6ff7e66)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 22:20:54 +01:00
Alex Kiernan
b0aba693de eudev: Use PACKAGE_BEFORE_PN/${PN}, clean up spaces
Use PACKAGE_BEFORE_PN for packages which need to capture files early,
switch to idiomatic ${PN} for additional packages. Swap spaces for tabs
in shell functions.

(From OE-Core rev: b78baf3bb3e6563823246d6583a04cb290bc8576)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 22:20:54 +01:00
Alex Kiernan
be7243a032 eudev: Cleanup redundant configuration
hid2hci moved to bluez4 in 2011. The FILES changes for ${PN} and
${PN}-dev only added existing defaults into the set.

(From OE-Core rev: cfed4e8201727f20103606a048690d571e057cc6)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 22:20:54 +01:00
Alex Kiernan
b4969db127 eudev: Convert dependencies to PACKAGECONFIG
GObject support was dropped in 252150e181c5 ("src/gudev: remove Gobject
libudev support."), drop all g-i-r support which appears to be dead
upstream.

Fill out PACKAGECONFIG options.

(From OE-Core rev: c6e1483009fc67a5b0e192786b58f256a38f62f7)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 22:20:54 +01:00
Gunjan Gupta
b0d39aa3d2 bitbake: fetch2/osc: Add support to query latest revision
Add support to query latest revision. This makes it possble to use
osc fetcher without specifying the rev parameter.

(Bitbake rev: aa4cee1bb7415c498e4dc6af4dbb3d0c841faf2e)

Signed-off-by: Gunjan Gupta <viraniac@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 09:59:31 +01:00
Thomas Perrot
23103d45c0 man-pages: add an alternative link name for crypt_r.3
Because crypt_r.3 is also provided by libxcrypt-doc.

(From OE-Core rev: ae5a8629ea72d6b3567047c7b858deae28623aba)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:37:30 +01:00
Changqing Li
35e9ce18f5 eudev: create static-nodes in init script
dev in modules.devname should be populated in /dev on boot.  remove
create static mode from udevd will make these devices cannot be
populated. Since commit [1], when use sysVinit, devices like
/dev/net/tun will not be created.

more info:
udevd in systemd also remove create static mode in udevd, but using
service kmod-static-nodes.service and systemd-tmpfiles-setup-dev.service
in systemd to create these node, so systemd works well.

For sysV, parse kmod static-nodes and generate the device nodes in init

[1] https://gitweb.gentoo.org/proj/eudev.git/commit/?id=2b7abd5ec9cc47a8b895df6db77fb1537c6f1a39

(From OE-Core rev: 10940ee60864500f037a73d8bde8d74f9917959c)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:37:30 +01:00
Kory Maincent
d14c6c45fc images_types: isolate the write of UBI configuration
Isolate the writing of the UBI configuration in a separate function.
This allows to use a custom configuration easily by overriding the
function.

Replace the echo functions by a cat to have a more readable configuration.

(From OE-Core rev: 601294b35c83faa134e26844c65db59b42d5052f)

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:37:30 +01:00
Khem Raj
bbbe9f0377 systemd: Update patch status
(From OE-Core rev: 2cdfc505ce4e00ae9b4abd962c60c9fec6c3db6c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:37:30 +01:00
Khem Raj
e3e1fd3e69 systemd: Drop 0016-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
This patch was effectively needed when usng gold linker but it has been
fixed in binutils [1], it was seen in systemd as well [2]

This however, should not happen with latest binutils and systemd has
already reverted the fix since it was a tool error

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=18548
[2] https://github.com/systemd/systemd/issues/234

(From OE-Core rev: e57707e820f548b3ad940ee6de9e45b4de869565)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:37:30 +01:00
Khem Raj
18d69129d3 systemd: Document future actions needed for set of musl patches
(From OE-Core rev: 433d51c3840d03623509ce8e3a1b3679f8771164)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:37:30 +01:00
Khem Raj
95b348b337 systemd: Drop redundant musl patches
These patches are no longer needed in version 250, they have been
dragged along rebasing over releases unnessarily. Lets remove them

(From OE-Core rev: 216fe2b8e53640ae5794e9426de56cd87637dde4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:37:30 +01:00
Markus Volk
4c54a716d5 mesa.inc: package 00-radv-defaults.conf
this fixes:

ERROR: mesa-2_22.0.2-r0 do_package: QA Issue: mesa: Files/directories were installed but not shipped in any package:
  /usr/share/drirc.d/00-radv-defaults.conf
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
mesa: 1 installed and not shipped files. [installed-vs-shipped]

(From OE-Core rev: e306dd7d300727852a2794cd78f3097d5999eb58)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:37:30 +01:00
Bruce Ashfield
5eb7f9ca81 lttng-modules: fix build against 5.18-rc7+
lttng-modules fails to build against 5.18-rc7, the details of the fix
are as follows:

   The commit [fix: sched/tracing: Don't re-read p->state when emitting
   sched_switch event (v5.18)] was correct, but the kernel changed their
   mind with the following commit:

      commit 9c2136be0878c88c53dea26943ce40bb03ad8d8d
      Author: Delyan Kratunov <delyank@fb.com>
      Date:   Wed May 11 18:28:36 2022 +0000

          sched/tracing: Append prev_state to tp args instead

          Commit fa2c3254d7cf (sched/tracing: Don't re-read p->state when emitting
          sched_switch event, 2022-01-20) added a new prev_state argument to the
          sched_switch tracepoint, before the prev task_struct pointer.

          This reordering of arguments broke BPF programs that use the raw
          tracepoint (e.g. tp_btf programs). The type of the second argument has
          changed and existing programs that assume a task_struct* argument
          (e.g. for bpf_task_storage access) will now fail to verify.

          If we instead append the new argument to the end, all existing programs
          would continue to work and can conditionally extract the prev_state
          argument on supported kernel versions.

          Fixes: fa2c3254d7cf (sched/tracing: Don't re-read p->state when emitting sched_switch event, 2022-01-20)
          Signed-off-by: Delyan Kratunov <delyank@fb.com>
          Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
          Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
          Link: https://lkml.kernel.org/r/c8a6930dfdd58a4a5755fc01732675472979732b.camel@fb.com

   By reordering the parameters (again) we can get back up and building.

Upstream-Status: Backport

(From OE-Core rev: fb69e5cfb043a15354beb2d613772aa0233d12ae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:34:16 +01:00
Bruce Ashfield
b31f6828a4 linux-yocto/5.10: update to v5.10.114
Updating  to the latest korg -stable release that comprises
the following commits:

    f40e35e79c11 Linux 5.10.114
    2d74f61787e6 perf symbol: Remove arch__symbols__fixup_end()
    bf98302e689d tty: n_gsm: fix software flow control handling
    95b267271a7d tty: n_gsm: fix incorrect UA handling
    70b045d9ae4f tty: n_gsm: fix reset fifo race condition
    320a24c4ef44 tty: n_gsm: fix wrong command frame length field encoding
    935f314b6fdb tty: n_gsm: fix wrong command retry handling
    17b86db43c00 tty: n_gsm: fix missing explicit ldisc flush
    a2baa907c281 tty: n_gsm: fix wrong DLCI release order
    705925e69360 tty: n_gsm: fix insufficient txframe size
    842a9bbbeff1 netfilter: nft_socket: only do sk lookups when indev is available
    7346e54dbf5b tty: n_gsm: fix malformed counter for out of frame data
    d19613895e15 tty: n_gsm: fix wrong signal octet encoding in convergence layer type 2
    26f127f6d938 tty: n_gsm: fix mux cleanup after unregister tty device
    f26c271492b6 tty: n_gsm: fix decoupled mux resource
    47132f9f7f76 tty: n_gsm: fix restart handling via CLD command
    b3c88d46db76 perf symbol: Update symbols__fixup_end()
    3d0a3168a364 perf symbol: Pass is_kallsyms to symbols__fixup_end()
    2ab14625b879 x86/cpu: Load microcode during restore_processor_state()
    795afbe8b40c thermal: int340x: Fix attr.show callback prototype
    11d16498d737 net: ethernet: stmmac: fix write to sgmii_adapter_base
    236dd6223051 drm/i915: Fix SEL_FETCH_PLANE_*(PIPE_B+) register addresses
    78d4dccf1601 kasan: prevent cpu_quarantine corruption when CPU offline and cache shrink occur at same time
    5fef6df2731f zonefs: Clear inode information flags on inode creation
    92ed64a9205b zonefs: Fix management of open zones
    42e8ec3b4be8 powerpc/perf: Fix 32bit compile
    ac3d0770437e drivers: net: hippi: Fix deadlock in rr_close()
    5399e7b80c37 cifs: destage any unwritten data to the server before calling copychunk_write
    80fc45377f41 x86: __memcpy_flushcache: fix wrong alignment if size > 2^32
    585ef03c9e79 ext4: fix bug_on in start_this_handle during umount filesystem
    07da0be58853 ASoC: wm8731: Disable the regulator when probing fails
    1b1747ad7e88 ASoC: Intel: soc-acpi: correct device endpoints for max98373
    aa138efd2bbf tcp: fix F-RTO may not work correctly when receiving DSACK
    9d56e369bd4f Revert "ibmvnic: Add ethtool private flag for driver-defined queue limits"
    96904c828991 ibmvnic: fix miscellaneous checks
    17f71272ef41 ixgbe: ensure IPsec VF<->PF compatibility
    c33d717e064a net: fec: add missing of_node_put() in fec_enet_init_stop_mode()
    9591967ac4d5 bnx2x: fix napi API usage sequence
    1781beb87935 tls: Skip tls_append_frag on zero copy size
    77b922683e9e drm/amd/display: Fix memory leak in dcn21_clock_source_create
    18068e0527d4 drm/amdkfd: Fix GWS queue count
    c0396f5e5bba net: dsa: lantiq_gswip: Don't set GSWIP_MII_CFG_RMII_CLK
    1204386e2657 net: phy: marvell10g: fix return value on error
    e974c730f0af net: bcmgenet: hide status block before TX timestamping
    ee71b47da599 clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
    8dacbef4fe58 bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create()
    9f29f6f8da9e tcp: make sure treq->af_specific is initialized
    8a9d6ca3608f tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWAT
    720b6ced8549 ip_gre, ip6_gre: Fix race condition on o_seqno in collect_md mode
    41661b4c1ab1 ip6_gre: Make o_seqno start from 0 in native mode
    7b187fbd7e38 ip_gre: Make o_seqno start from 0 in native mode
    83d128daff2e net/smc: sync err code when tcp connection was refused
    9eb25e00f59b net: hns3: add return value for mailbox handling in PF
    929c30c02de4 net: hns3: add validity check for message data length
    e3ec78d82d48 net: hns3: modify the return code of hclge_get_ring_chain_from_mbx
    06a40e71053a cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe
    fb172e93f861 pinctrl: pistachio: fix use of irq_of_parse_and_map()
    8f042884aff8 arm64: dts: imx8mn-ddr4-evk: Describe the 32.768 kHz PMIC clock
    73c35379dbdf ARM: dts: imx6ull-colibri: fix vqmmc regulator
    61a89d0a5bce sctp: check asoc strreset_chunk in sctp_generate_reconf_event
    41d6ac687da8 wireguard: device: check for metadata_dst with skb_valid_dst()
    3c464db03c12 tcp: ensure to use the most recently sent skb when filling the rate sample
    ce4c3f708787 pinctrl: stm32: Keep pinctrl block clock enabled when LEVEL IRQ requested
    0c60271df026 tcp: md5: incorrect tcp_header_len for incoming connections
    f4dad5a48db5 pinctrl: rockchip: fix RK3308 pinmux bits
    9ef33d23f86f bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook
    6ac03e6ddde9 netfilter: nft_set_rbtree: overlap detection with element re-addition after deletion
    72ae15d5ce5f net: dsa: Add missing of_node_put() in dsa_port_link_register_of
    14cc2044c17e memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode
    690c1bc4bfcf pinctrl: stm32: Do not call stm32_gpio_get() for edge triggered IRQs in EOI
    6f2bf9c5ddfe mtd: fix 'part' field data corruption in mtd_info
    4da421035baa mtd: rawnand: Fix return value check of wait_for_completion_timeout
    94ca69b70225 pinctrl: mediatek: moore: Fix build error
    123b7e0388e7 ipvs: correctly print the memory size of ip_vs_conn_tab
    f4446f213623 ARM: dts: logicpd-som-lv: Fix wrong pinmuxing on OMAP35
    4a526cc29cba ARM: dts: am3517-evm: Fix misc pinmuxing
    b622bca852f6 ARM: dts: Fix mmc order for omap3-gta04
    9419d27fe142 phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe
    9e00a6e1fd71 phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe
    eb659608e61e ARM: dts: at91: sama5d4_xplained: fix pinctrl phandle name
    bb524f5a95f2 ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek
    4691ce8f28da phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks
    76d1591a38c6 bus: ti-sysc: Make omap3 gpt12 quirk handling SoC specific
    1b9855bf31e2 ARM: OMAP2+: Fix refcount leak in omap_gic_of_init
    93cc8f184e3c phy: samsung: exynos5250-sata: fix missing device put in probe error paths
    3ca74915702e phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe
    8f7644ac24ba ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue
    23b0711fcd3c USB: Fix xhci event ring dequeue pointer ERDP update issue
    712302aed104 mtd: rawnand: fix ecc parameters for mt7622
    207c7af3418f iio:imu:bmi160: disable regulator in error path
    70d2df257eed arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards
    2d320609be49 arm64: dts: meson: remove CPU opps below 1GHz for G12B boards
    c4fb41bdf4d6 video: fbdev: udlfb: properly check endpoint type
    0967830e720d iocost: don't reset the inuse weight of under-weighted debtors
    ad604cbd1d54 x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests
    8fcce58c59dd riscv: patch_text: Fixup last cpu should be master
    51477d3b387b hex2bin: fix access beyond string end
    616d354fb9e8 hex2bin: make the function hex_to_bin constant-time
    1633cb2d4a1d pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config
    bdc3ad925131 arch_topology: Do not set llc_sibling if llc_id is invalid
    aaee3f661799 serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device
    662f945a2091 serial: 8250: Also set sticky MCR bits in console restoration
    8be962c89de6 serial: imx: fix overrun interrupts in DMA mode
    d22d92230ffb usb: phy: generic: Get the vbus supply
    b820764c6450 usb: cdns3: Fix issue for clear halt endpoint
    bd7f84708ea0 usb: dwc3: gadget: Return proper request status
    a633b8c34149 usb: dwc3: core: Only handle soft-reset in DCTL
    5fa59bb867a0 usb: dwc3: core: Fix tx/rx threshold settings
    140801d3fbd3 usb: dwc3: Try usb-role-switch first in dwc3_drd_init
    4dd5feb27939 usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind()
    6c3da0e19c98 usb: gadget: uvc: Fix crash when encoding data for usb request
    fb1fe1a4557a usb: typec: ucsi: Fix role swapping
    06826eb0631c usb: typec: ucsi: Fix reuse of completion structure
    7b510d4bb468 usb: misc: fix improper handling of refcount in uss720_probe()
    bb8ecca2ddf9 iio: imu: inv_icm42600: Fix I2C init possible nack
    ca2b54b6ad69 iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on()
    1060604fc7f2 iio: dac: ad5446: Fix read_raw not returning set value
    6ff33c01befb iio: dac: ad5592r: Fix the missing return value.
    06ada9487f24 xhci: increase usb U3 -> U0 link resume timeout from 100ms to 500ms
    e1be0001664d xhci: stop polling roothubs after shutdown
    2eb6c8689146 xhci: Enable runtime PM on second Alderlake controller
    63eda431b2f7 USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions
    e9971dac69a3 USB: serial: option: add support for Cinterion MV32-WA/MV32-WB
    34ff5455eed2 USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader
    729a81ae101b USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS
    008ba29f339d USB: quirks: add STRING quirk for VCOM device
    ac6ad0ef83cf USB: quirks: add a Realtek card reader
    8ba02cebb734 usb: mtu3: fix USB 3.0 dual-role-switch from device to host
    549209caabc8 lightnvm: disable the subsystem
    54c028cfc496 floppy: disable FDRAWCMD by default

(From OE-Core rev: e222f60784034809b4d81a77fcca54669237915b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:34:16 +01:00
Bruce Ashfield
e308233000 linux-yocto/5.15: update to v5.15.38
Updating  to the latest korg -stable release that comprises
the following commits:

    3fbf24b73f4a Linux 5.15.38
    151322c24e87 powerpc/64: Add UADDR64 relocation support
    ec1bb681eee2 objtool: Fix type of reloc::addend
    19ffee7d6231 objtool: Fix code relocs vs weak symbols
    80c71d76e88a eeprom: at25: Use DMA safe buffers
    7d0010f62840 perf symbol: Remove arch__symbols__fixup_end()
    ea47db3bac7a tty: n_gsm: fix software flow control handling
    ab49c23668ea tty: n_gsm: fix incorrect UA handling
    e0a84ae1c662 tty: n_gsm: fix reset fifo race condition
    f92783b7568e tty: n_gsm: fix missing tty wakeup in convergence layer type 2
    aeacc7e81c71 tty: n_gsm: fix wrong signal octets encoding in MSC
    ef2f08ee00b0 tty: n_gsm: fix wrong command frame length field encoding
    e51f35470383 tty: n_gsm: fix wrong command retry handling
    73defa00a7bc tty: n_gsm: fix missing explicit ldisc flush
    2484787cde3d tty: n_gsm: fix wrong DLCI release order
    0a7fe1a47ca5 tty: n_gsm: fix insufficient txframe size
    87e1b4f90703 netfilter: nft_socket: only do sk lookups when indev is available
    a93d2d3189e8 tty: n_gsm: fix malformed counter for out of frame data
    0d6289c4a0e1 tty: n_gsm: fix wrong signal octet encoding in convergence layer type 2
    4e1beef38c35 tty: n_gsm: fix mux cleanup after unregister tty device
    8b19dfb3e817 tty: n_gsm: fix decoupled mux resource
    7f71387d9f3b tty: n_gsm: fix restart handling via CLD command
    a87a36badd94 perf symbol: Update symbols__fixup_end()
    cf7bf78f10bd perf symbol: Pass is_kallsyms to symbols__fixup_end()
    f858bd6536e1 x86/cpu: Load microcode during restore_processor_state()
    2333d2a72ba1 ARM: dts: imx8mm-venice-gw{71xx,72xx,73xx}: fix OTG controller OC mode
    0dc5cad09e32 ARM: dts: at91: sama7g5ek: enable pull-up on flexcom3 console lines
    cf12ce1bd71d btrfs: fix leaked plug after failure syncing log on zoned filesystems
    65b785cdb397 thermal: int340x: Fix attr.show callback prototype
    f3106b0b0113 ACPI: processor: idle: Avoid falling back to C3 type C-states
    d2bc6fc51e58 net: ethernet: stmmac: fix write to sgmii_adapter_base
    4e308b21bc16 drm/i915: Fix SEL_FETCH_PLANE_*(PIPE_B+) register addresses
    67434e132b8c drm/i915: Check EDID for HDR static metadata when choosing blc
    891883c426b8 netfilter: Update ip6_route_me_harder to consider L3 domain
    c63fbe063ffb mtd: rawnand: qcom: fix memory corruption that causes panic
    30083f049204 kasan: prevent cpu_quarantine corruption when CPU offline and cache shrink occur at same time
    051e78dc1f97 zonefs: Clear inode information flags on inode creation
    534c3f29acdd zonefs: Fix management of open zones
    746140625a0f Revert "ACPI: processor: idle: fix lockup regression on 32-bit ThinkPad T40"
    2688d967ec65 selftest/vm: verify remap destination address in mremap_test
    a17404fcbfd0 selftest/vm: verify mmap addr in mremap_test
    c18b69393b4f powerpc/perf: Fix 32bit compile
    9a90c13f72e7 drivers: net: hippi: Fix deadlock in rr_close()
    3bb73c4cc265 cifs: destage any unwritten data to the server before calling copychunk_write
    4640802e1cd4 x86: __memcpy_flushcache: fix wrong alignment if size > 2^32
    5bf8eda3815a bonding: do not discard lowest hash bit for non layer3+4 hashing
    d276bcc5f72e ksmbd: set fixed sector size to FS_SECTOR_SIZE_INFORMATION
    df30cbfd3d8a ksmbd: increment reference count of parent fp
    50f79a2abb65 arch: xtensa: platforms: Fix deadlock in rs_close()
    52c3a04f9ec2 ext4: fix bug_on in start_this_handle during umount filesystem
    dd2f7fcb2a43 ASoC: wm8731: Disable the regulator when probing fails
    2c5ca9bde710 ASoC: Intel: soc-acpi: correct device endpoints for max98373
    27e724bf7c51 tcp: fix F-RTO may not work correctly when receiving DSACK
    8de15dad3c77 Revert "ibmvnic: Add ethtool private flag for driver-defined queue limits"
    881c48b61fbb ixgbe: ensure IPsec VF<->PF compatibility
    3bc7a1f85d5b perf arm-spe: Fix addresses of synthesized SPE events
    3591293c19df gfs2: No short reads or writes upon glock contention
    b5afb477d2f8 gfs2: Make sure not to return short direct writes
    fe24959a79c9 gfs2: Minor retry logic cleanup
    e4ea3286b1aa gfs2: Prevent endless loops in gfs2_file_buffered_write
    a83ee2d81b34 net: fec: add missing of_node_put() in fec_enet_init_stop_mode()
    925ebcac26e4 bnx2x: fix napi API usage sequence
    87fe5a392d27 tls: Skip tls_append_frag on zero copy size
    815b847af99d drm/amd/display: Fix memory leak in dcn21_clock_source_create
    ce9be3baec9b drm/amdkfd: Fix GWS queue count
    54e0b949bf59 netfilter: conntrack: fix udp offload timeout sysctl
    37811e46a232 io_uring: check reserved fields for recv/recvmsg
    79c10cb18815 io_uring: check reserved fields for send/sendmsg
    ee6d708520b7 net: dsa: lantiq_gswip: Don't set GSWIP_MII_CFG_RMII_CLK
    8a991ba5ddde drm/sun4i: Remove obsolete references to PHYS_OFFSET
    ede22fc0bf7e net: dsa: mv88e6xxx: Fix port_hidden_wait to account for port_base_addr
    9b649f4c5672 net: phy: marvell10g: fix return value on error
    21bf1dc99db4 net: bcmgenet: hide status block before TX timestamping
    abff341ac2f9 cpufreq: qcom-cpufreq-hw: Clear dcvs interrupts
    7356c1f0ae47 clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
    409789e2cec5 bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create()
    45b7fca32bbc tcp: make sure treq->af_specific is initialized
    6c4d4334e573 tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWAT
    6b59df7d4d0a ip_gre, ip6_gre: Fix race condition on o_seqno in collect_md mode
    e5e985dd99d8 ip6_gre: Make o_seqno start from 0 in native mode
    2dec240fb161 ip_gre: Make o_seqno start from 0 in native mode
    479dc5d15316 net/smc: sync err code when tcp connection was refused
    8c59a61ffb11 net: hns3: add return value for mailbox handling in PF
    fc480b465ab6 net: hns3: add validity check for message data length
    cfedc70d3c63 net: hns3: modify the return code of hclge_get_ring_chain_from_mbx
    88c39408187c net: hns3: clear inited state and stop client after failed to register netdev
    ac01adfa7d6d cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe
    cdc350a76925 pinctrl: pistachio: fix use of irq_of_parse_and_map()
    111827dfea31 arm64: dts: imx8mn-ddr4-evk: Describe the 32.768 kHz PMIC clock
    a621f6ce1fb3 ARM: dts: imx6ull-colibri: fix vqmmc regulator
    5a4da2e23351 sctp: check asoc strreset_chunk in sctp_generate_reconf_event
    37a04788c573 wireguard: device: check for metadata_dst with skb_valid_dst()
    d632cba7dee7 tcp: ensure to use the most recently sent skb when filling the rate sample
    e9b1a51c3297 pinctrl: stm32: Keep pinctrl block clock enabled when LEVEL IRQ requested
    eb90a4269c20 tcp: md5: incorrect tcp_header_len for incoming connections
    eea166561f7c pinctrl: rockchip: fix RK3308 pinmux bits
    86d8076e5971 bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook
    c2a69ac00b42 netfilter: nft_set_rbtree: overlap detection with element re-addition after deletion
    9cc897ca03df net: dsa: Add missing of_node_put() in dsa_port_link_register_of
    72e7940b00b5 memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode
    2075f6f8e627 pinctrl: stm32: Do not call stm32_gpio_get() for edge triggered IRQs in EOI
    291ee6787b35 mtd: fix 'part' field data corruption in mtd_info
    6465a2120b23 mtd: rawnand: Fix return value check of wait_for_completion_timeout
    102775603cd9 pinctrl: mediatek: moore: Fix build error
    d3dfa4954e35 phy: amlogic: fix error path in phy_g12a_usb3_pcie_probe()
    b347b850a49f ipvs: correctly print the memory size of ip_vs_conn_tab
    12d3fd4d8c49 ARM: dts: logicpd-som-lv: Fix wrong pinmuxing on OMAP35
    6b4928990b14 ARM: dts: am3517-evm: Fix misc pinmuxing
    6476c49e8e31 ARM: dts: Fix mmc order for omap3-gta04
    4e81598e2122 interconnect: qcom: sdx55: Drop IP0 interconnects
    344558d201bb phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe
    cf6f119f8244 phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe
    49c7d87f19d4 ARM: dts: at91: fix pinctrl phandles
    7ecb2639eb8a ARM: dts: at91: sama5d4_xplained: fix pinctrl phandle name
    1e68040245ad ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek
    555bcbb7d0ff phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks
    d60abf246aa5 ARM: dts: dra7: Fix suspend warning for vpe powerdomain
    127295f86f70 bus: ti-sysc: Make omap3 gpt12 quirk handling SoC specific
    033cac39d0b7 ARM: OMAP2+: Fix refcount leak in omap_gic_of_init
    a933ee691dbd phy: samsung: exynos5250-sata: fix missing device put in probe error paths
    3c8a02347f84 phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe
    bb0f3522cf42 arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO pin labeling for CON1
    0f8e303faf88 arm64: dts: imx8mn: Fix SAI nodes
    f1266c4eba8a ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue
    7596c4576a0e USB: Fix xhci event ring dequeue pointer ERDP update issue
    11baa5edf37d arm64: dts: imx8qm: Correct SCU clock controller's compatible property
    d84f8327af13 xsk: Fix l2fwd for copy mode + busy poll combo
    3ec920d755ae mtd: rawnand: fix ecc parameters for mt7622
    9e4dedb8ec72 iio:imu:bmi160: disable regulator in error path
    d583cd6afc3b arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards
    9f878775fceb arm64: dts: meson: remove CPU opps below 1GHz for G12B boards
    4df1584738f1 video: fbdev: udlfb: properly check endpoint type
    1ad0832e8712 cpufreq: qcom-cpufreq-hw: Fix throttle frequency value on EPSS platforms
    38ac9ca93252 cpufreq: qcom-hw: fix the race between LMH worker and cpuhp
    08b036bac865 virtio_net: fix wrong buf address calculation when using xdp
    10f24144ca48 iocost: don't reset the inuse weight of under-weighted debtors
    559d4f45958b x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests
    95ad6bef5bf1 riscv: patch_text: Fixup last cpu should be master
    3437091fcc2f hex2bin: fix access beyond string end
    4541645b5881 hex2bin: make the function hex_to_bin constant-time
    41dee1832617 pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config
    8f2dac58b39e arm64: dts: imx8mm-venice: fix spi2 pin configuration
    34b5d2aa355a bus: mhi: host: pci_generic: Flush recovery worker during freeze
    b3d21deabcbe bus: mhi: host: pci_generic: Add missing poweroff() PM callback
    732f861dd480 ceph: fix possible NULL pointer dereference for req->r_session
    2b008197a06b arch_topology: Do not set llc_sibling if llc_id is invalid
    03cab849da1a serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device
    9445505273a5 serial: 8250: Also set sticky MCR bits in console restoration
    ac55cac5dcd4 serial: amba-pl011: do not time out prematurely when draining tx fifo
    858d93280e83 serial: imx: fix overrun interrupts in DMA mode
    c0ea202fbc85 usb: phy: generic: Get the vbus supply
    dd2af3ad968f usb: cdns3: Fix issue for clear halt endpoint
    455285db8717 usb: dwc3: pci: add support for the Intel Meteor Lake-P
    0d1c407b1a74 usb: dwc3: gadget: Return proper request status
    7d14c96bff09 usb: dwc3: core: Only handle soft-reset in DCTL
    5d8299ead7c5 usb: dwc3: core: Fix tx/rx threshold settings
    b81be940eaca usb: dwc3: Try usb-role-switch first in dwc3_drd_init
    9f051e510cd2 usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind()
    f9b2660d9c10 usb: gadget: uvc: Fix crash when encoding data for usb request
    e5e7d6c4b305 usb: typec: ucsi: Fix role swapping
    3e5dd4cf30fe usb: typec: ucsi: Fix reuse of completion structure
    6bf55f6b0ebf usb: core: Don't hold the device lock while sleeping in do_proc_control()
    949d422949ee usb: misc: fix improper handling of refcount in uss720_probe()
    a590353a9506 iio: imu: inv_icm42600: Fix I2C init possible nack
    7619f3c498a2 iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on()
    28e1f974e3e7 iio: dac: ad5446: Fix read_raw not returning set value
    cd266c38aaa4 iio: dac: ad5592r: Fix the missing return value.
    48bc03979f30 xhci: increase usb U3 -> U0 link resume timeout from 100ms to 500ms
    9faa311f65b0 xhci: stop polling roothubs after shutdown
    10e0d30f99f4 xhci: Enable runtime PM on second Alderlake controller
    576b40690e91 usb: xhci: tegra:Fix PM usage reference leak of tegra_xusb_unpowergate_partitions
    4ebf2982db15 USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions
    be94d697baab USB: serial: option: add support for Cinterion MV32-WA/MV32-WB
    bb73ae98f086 USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader
    f183708e8ecc USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS
    7f8fc606893c USB: quirks: add STRING quirk for VCOM device
    96a5999e1f62 USB: quirks: add a Realtek card reader
    0da0ac894129 usb: mtu3: fix USB 3.0 dual-role-switch from device to host

(From OE-Core rev: 8017b8b05ad8c071f7fb56bfd8e983d9361b8c46)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:34:16 +01:00
Bruce Ashfield
6d24ca1be7 linux-yocto/5.10: update to v5.10.113
Updating  to the latest korg -stable release that comprises
the following commits:

    54af9dd2b958 Linux 5.10.113
    7992fdb045fb Revert "net: micrel: fix KS8851_MLL Kconfig"
    8bedbc8f7f35 block/compat_ioctl: fix range check in BLKGETSIZE
    fea24b07edfc staging: ion: Prevent incorrect reference counting behavour
    dccee748af17 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
    572761645b88 jbd2: fix a potential race while discarding reserved buffers after an abort
    50aac4427360 can: isotp: stop timeout monitoring when no first frame was sent
    e1e96e372721 ext4: force overhead calculation if the s_overhead_cluster makes no sense
    4789149b9ea2 ext4: fix overhead calculation to account for the reserved gdt blocks
    0c54b093766b ext4, doc: fix incorrect h_reserved size
    22c450d39f89 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
    75ac724684b7 ext4: fix use-after-free in ext4_search_dir
    a46b3d849864 ext4: fix symlink file size not match to file content
    f6038d43b25b ext4: fix fallocate to use file_modified to update permissions consistently
    19590bbc691d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
    e012f9d1af54 powerpc/perf: Fix power9 event alternatives
    0a2cef65b329 drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    f8f8b3124b89 KVM: PPC: Fix TCE handling for VFIO
    405d98427416 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
    231381f52116 drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
    51d9cbbb0f5a perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
    88fcfd6ee6c5 sched/pelt: Fix attach_entity_load_avg() corner case
    c55327bc3712 arm_pmu: Validate single/group leader events
    5580b974a84b ARC: entry: fix syscall_trace_exit argument
    7082650eb826 e1000e: Fix possible overflow in LTR decoding
    43a2a3734aa3 ASoC: soc-dapm: fix two incorrect uses of list iterator
    54e6180c8c2d gpio: Request interrupts after IRQ is initialized
    0837ff17d052 openvswitch: fix OOB access in reserve_sfa_size()
    19f6dcb1f0f0 xtensa: fix a7 clobbering in coprocessor context load/store
    f399ab11dd6c xtensa: patch_text: Fixup last cpu should be master
    ba2716da2336 net: atlantic: invert deep par in pm functions, preventing null derefs
    358a3846f6a9 dma: at_xdmac: fix a missing check on list iterator
    cf23a960c5c6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading
    9ca66d791439 mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
    ed5d4efb4df1 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
    6b932920b96f mm, hugetlb: allow for "high" userspace addresses
    50cbc583fa83 EDAC/synopsys: Read the error count from the correct register
    7ec6e06ee405 nvme-pci: disable namespace identifiers for Qemu controllers
    316bd86c2261 nvme: add a quirk to disable namespace identifiers
    76101c8e0c31 stat: fix inconsistency between struct stat and struct compat_stat
    bf28bba30410 scsi: qedi: Fix failed disconnect handling
    a284cca3d81a net: macb: Restart tx only if queue pointer is lagging
    9581e07b549b drm/msm/mdp5: check the return of kzalloc()
    8d71edabb0ab dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
    b3afe5a7fd75 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
    202748f44148 mt76: Fix undefined behavior due to shift overflowing the constant
    0de9c104d04a net: atlantic: Avoid out-of-bounds indexing
    5bef9fc38ffa cifs: Check the IOCB_DIRECT flag, not O_DIRECT
    e129c55153c8 vxlan: fix error return code in vxlan_fdb_append
    8e7ea1136475 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
    cd227ac03f2a ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
    490815f0b50e platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
    cb17b56a9b4d reset: tegra-bpmp: Restore Handle errors in BPMP response
    d513ea9b7ef8 ARM: vexpress/spc: Avoid negative array index when !SMP
    052e4a661f90 arm64: mm: fix p?d_leaf()
    18ff7a2efa4e arm64/mm: Remove [PUD|PMD]_TABLE_BIT from [pud|pmd]_bad()
    3bf8ca350170 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
    520aab8b723c dmaengine: idxd: add RO check for wq max_transfer_size write
    9a3c026dc3a5 dmaengine: idxd: add RO check for wq max_batch_size write
    f593f49fcd17 net: stmmac: Use readl_poll_timeout_atomic() in atomic state
    3d55b195747c netlink: reset network and mac headers in netlink_dump()
    49516e6ed914 ipv6: make ip6_rt_gc_expire an atomic_t
    078d839f11ac l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
    0ac8f83d8f64 net/sched: cls_u32: fix possible leak in u32_init_knode()
    93366275be72 ip6_gre: Fix skb_under_panic in __gre6_xmit()
    200f96ebb389 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
    8fb76adb89f0 net/packet: fix packet_sock xmit return value checking
    a499cb5f3ef9 net/smc: Fix sock leak when release after smc_shutdown()
    60592f16a456 rxrpc: Restore removed timer deletion
    fc7116a79a86 igc: Fix BUG: scheduling while atomic
    46b0e4f998ce igc: Fix infinite loop in release_swfw_sync
    c075c3ea0317 esp: limit skb_page_frag_refill use to a single page
    3f7914dbeacd spi: spi-mtk-nor: initialize spi controller after resume
    f714abf28f81 dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
    9bc949a181ba dmaengine: imx-sdma: Fix error checking in sdma_event_remap
    12aa8021c7a7 ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
    b6f474cd3097 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
    608fc58858bf ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
    d29c78d3f9c5 dm: fix mempool NULL pointer race when completing IO
    cf9b19546494 ALSA: hda/realtek: Add quirk for Clevo NP70PNP
    8ce3820fc9d4 ALSA: usb-audio: Clear MIDI port active flag after draining
    43ce33a68e2b net/sched: cls_u32: fix netns refcount changes in u32_change()
    04dd45d9776e gfs2: assign rgrp glock before compute_bitstructs
    378061c9b886 perf tools: Fix segfault accessing sample_id xyarray
    5e8446e3820c tracing: Dump stacktrace trigger to the corresponding instance
    69848f9488bc mm: page_alloc: fix building error on -Werror=array-compare
    08ad7a770efa etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead

(From OE-Core rev: 8be43ceaf742c4c1b59522ac75df4846cc271461)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:34:16 +01:00
Bruce Ashfield
cd05fa7593 linux-yocto/5.15: update to v5.15.37
Updating  to the latest korg -stable release that comprises
the following commits:

    4bf7f350c163 Linux 5.15.37
    f59e6886cafb selftests/bpf: Add test for reg2btf_ids out of bounds access
    dcecd95a1357 mm: gup: make fault_in_safe_writeable() use fixup_user_fault()
    4a0123bdb064 btrfs: fallback to blocking mode when doing async dio over multiple extents
    c81c4f566660 btrfs: fix deadlock due to page faults during direct IO reads and writes
    640a6be8e861 gfs2: Fix mmap + page fault deadlocks for direct I/O
    f86f8d27840a iov_iter: Introduce nofault flag to disable page faults
    6e213bc61446 gup: Introduce FOLL_NOFAULT flag to disable page faults
    d3b744791bf0 iomap: Add done_before argument to iomap_dio_rw
    ea7a57858875 iomap: Support partial direct I/O on user copy failures
    a00cc46f97b9 iomap: Fix iomap_dio_rw return value for user copies
    81a7fc397a62 gfs2: Fix mmap + page fault deadlocks for buffered I/O
    38b58498819a gfs2: Eliminate ip->i_gh
    8d363d817353 gfs2: Move the inode glock locking to gfs2_file_buffered_write
    416a705304e5 gfs2: Introduce flag for glock holder auto-demotion
    b25cfbc0e7de gfs2: Clean up function may_grant
    b88b998579ee gfs2: Add wrapper for iomap_file_buffered_write
    1d91c912e7d1 iov_iter: Introduce fault_in_iov_iter_writeable
    30e66b1dfcbb iov_iter: Turn iov_iter_fault_in_readable into fault_in_iov_iter_readable
    923f05a660e6 gup: Turn fault_in_pages_{readable,writeable} into fault_in_{readable,writeable}
    19cbd78fb26a mm: kfence: fix objcgs vector allocation
    10033fa72d41 ARM: dts: socfpga: change qspi to "intel,socfpga-qspi"
    e8749d608847 spi: cadence-quadspi: fix write completion support
    8c39925e98d4 bpf: Fix crash due to out of bounds access into reg2btf_ids.
    379382b347db bpf/selftests: Test PTR_TO_RDONLY_MEM
    2a77c58726ab bpf: Add MEM_RDONLY for helper args that are pointers to rdonly mem.
    15166bb3000f bpf: Make per_cpu_ptr return rdonly PTR_TO_MEM.
    b710f73704d6 bpf: Convert PTR_TO_MEM_OR_NULL to composable types.
    b453361384c2 bpf: Introduce MEM_RDONLY flag
    8d38cde47a7e bpf: Replace PTR_TO_XXX_OR_NULL with PTR_TO_XXX | PTR_MAYBE_NULL
    3c141c82b958 bpf: Replace RET_XXX_OR_NULL with RET_XXX | PTR_MAYBE_NULL
    d58a396fa6c9 bpf: Replace ARG_XXX_OR_NULL with ARG_XXX | PTR_MAYBE_NULL
    a76020980b9f bpf: Introduce composable reg, ret and arg types.
    e52da8e4632f floppy: disable FDRAWCMD by default

(From OE-Core rev: 786e668bdda1181438cbe570fa1155ad3b7f06d9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-21 08:34:15 +01:00
Chanho Park
19081924df cargo_common.bbclass: enable bitbake vendoring for externalsrc
To support crate:// fetcher on externalsrc, we need to remove "-z
${EXTERNALSRC} check of bitbake vendoring. It is possible to disable
vendoring by CARGO_DISABLE_BITBAKE_VENDORING = "1" if externalsrc-ed
project does not want to enablt it.

(From OE-Core rev: 3d8a388ba540598fec83d505d62ac36642bb90c7)

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Chanho Park
c31ee3cb12 externalsrc.bbclass: support crate fetcher on externalsrc
To support crate:// fetcher on externalsrc, we need to make pass-through
the URIs in SRC_URI.

(From OE-Core rev: c55c79507f63a4e758a486537aacfc13009161c7)

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Peter Kjellerstedt
f4fe20322c librsvg: Drop the dependency on libcroco
The dependency on libcroco was removed in version 2.48.0.

(From OE-Core rev: 307c3b1653405f2404853c0420b60f02208175d8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Ross Burton
8346dc9d5d oeqa/selftest/cve_check: add tests for recipe and image reports
Add a test to verify that the JSON reports are generated correctly for
both single recipe builds and image builds.

More tests are needed, but this is better than nothing.

(From OE-Core rev: df0f35555b09c4bc75470eb45ec9c74e6587d460)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
b890fcbd79 python3: use built-in distutils for ptest, rather than setuptools' 'fork'
The setuptools version is now used by default when setuptools is installed,
but it  is incompatible with some of python's own tests.

(From OE-Core rev: c0c1ee33781733d712cd983be460001cd7938014)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
849df6aa26 python3-setuptools-rust: update 1.1.2 -> 1.3.0
Also, make it a proper target recipe with a -native variant.

(From OE-Core rev: 54cc185e9c7b2343c36718102a607f13937c6991)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
fff365d984 stress-ng: upgrade 0.14.00 -> 0.14.01
(From OE-Core rev: 4b86c6f05a6f57b44693bb399df9551981d7b7e4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
0f09c786b4 sqlite3: upgrade 3.38.3 -> 3.38.5
(From OE-Core rev: e1bd414792ae2576685b2a352a5cc93343f06985)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
403f17c5db repo: upgrade 2.24.1 -> 2.25
(From OE-Core rev: b5ea7d33e314a150746febd023ae1154eb5d60ca)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
11cb022bf9 python3-pyparsing: upgrade 3.0.8 -> 3.0.9
(From OE-Core rev: 78da3c7de3c8de793b187b524dd633ee5df09271)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
ce457d2376 python3-pbr: upgrade 5.8.1 -> 5.9.0
(From OE-Core rev: 5809b50bac5e117382a98f69c664efbba41a99bb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
1912afa49d python3-more-itertools: upgrade 8.12.0 -> 8.13.0
Convert from setuptools to flit.

(From OE-Core rev: 88879a3a349a919b5834b2bec517594ffd39b0d2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
39d314fc6e python3-markdown: upgrade 3.3.6 -> 3.3.7
(From OE-Core rev: 4776b243d930d6e821b896ba9ddf32228a9a0fbb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
d5dce72f1a python3-jsonschema: upgrade 4.4.0 -> 4.5.1
(From OE-Core rev: 2e8a684ac783499f24b366b0cefd9f2a3c9b518a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
1d86700318 python3-hypothesis: upgrade 6.46.0 -> 6.46.4
(From OE-Core rev: 77ffaa44ef97e7114762c507f2239a1d5b27ee2c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
d1a168e352 python3-cryptography-vectors: upgrade 37.0.1 -> 37.0.2
(From OE-Core rev: aed9b6d46a3c99c4f7fc62746bd584e85992a35c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
f86aa77e96 python3-cryptography: upgrade 37.0.1 -> 37.0.2
(From OE-Core rev: e3c13aea05a82c6b00fd83323bde9901bea9bc50)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
c995df349d python3-bcrypt: upgrade 3.2.0 -> 3.2.2
(From OE-Core rev: 5368b584f6456116f9d7f567d759d94dfc6c7d22)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
b5c4469818 psmisc: upgrade 23.4 -> 23.5
(From OE-Core rev: 60cb108d5ea025dcedb95dd86c510c46492fb20c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
b692af8460 piglit: upgrade to latest revision
(From OE-Core rev: 6ebec3bbebd6eb8209f0201426b24cebf79c0b4d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
f6820eab09 mobile-broadband-provider-info: upgrade 20220315 -> 20220511
(From OE-Core rev: f14c8094e7a049ac1b04c45b76855d0503559932)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
4b454d0009 mesa: upgrade 22.0.2 -> 22.0.3
(From OE-Core rev: 2f5831ec66c6a7e7b0f21a63cc46307aa68c5b96)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
860af9ab94 librsvg: upgrade 2.54.1 -> 2.54.3
(From OE-Core rev: a1019307e59abf599bb27fe257c3874b0bc6a345)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
64aa52e7a7 libnotify: upgrade 0.7.11 -> 0.7.12
(From OE-Core rev: 4c991d37e77de1d2c4b0c463a2731cec9442d2de)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
4bca6bc5de libcgroup: upgrade 2.0.1 -> 2.0.2
(From OE-Core rev: 2139fd56da0d8e3769bcc0b337c446e7e4b98f90)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00
Alexander Kanavin
56611e54b8 gstreamer1.0-vaapi: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: 423d901d58e7f14d65b657d2cc61245ed9210daa)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
6372293e50 gstreamer1.0: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: bb113caee72db30124f6cf8aa12fbaa14277fab5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
51145a38a2 gstreamer1.0-rtsp-server: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: f6c2cb116bf41312673afbbd71076a2ca8f59cf0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
666dc2c92d gstreamer1.0-python: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: 762c930a49022ee7f56e746d3e768087eafd2ac1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
dd0c5a99d8 gstreamer1.0-plugins-ugly: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: 49c5fdf15c70862c867bf7f17ed1f4ca57de2307)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
cb3d1df6f7 gstreamer1.0-plugins-good: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: 3594cbc054d0f0eb3342282f8100a0285fc9d1fd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
4ba5e40804 gstreamer1.0-plugins-base: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: 905766e63a6159535b9da86c4f0af62956285199)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
ea1d902f97 gstreamer1.0-plugins-bad: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: 70ff1c8f54bfb47307cce4d2cb731cc775cd7e21)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
cdde2ec1b9 gstreamer1.0-omx: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: 2f9b5b0d8274b5a4990c93edb30c3170de3f87a4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
4091d374df gstreamer1.0-libav: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: 208ddca121bb213a9e79d21b448547df58b9a511)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
5aa706e44e gst-devtools: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: b4c976ea07ff276ae705110769c8e9741827615b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
083da55197 gnutls: upgrade 3.7.4 -> 3.7.5
(From OE-Core rev: f1dc9311d4d10ca8a3b8ddfb8a79f335f01f5048)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
0f7791049c git: upgrade 2.36.0 -> 2.36.1
(From OE-Core rev: 4e14cbb7c5ddad3a45cf378c0bb66525413d194f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
aa7fd403df diffoscope: upgrade 211 -> 212
(From OE-Core rev: 47da9da7fdffd66c1d639f10f4d2925331a28ca3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
9e95ffe9b2 curl: upgrade 7.83.0 -> 7.83.1
(From OE-Core rev: d1ea8cb4e18551f542f783cc88e96c6360b3c134)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
da3b1d1953 vulkan-samples: update to latest revision
(From OE-Core rev: 210d4c16cf657d25890ba21f59a42feee099ae03)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
7a3fd4344b systemtap: update 4.6 -> 4.7
Drop backports.

(From OE-Core rev: 589f030dec438ee8ea54991b9e471482285ef4b7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
c8a4ed16d4 xcb-proto: upgrade 1.14.1 -> 1.15
(From OE-Core rev: 62347ad2b266ae18b556ae5f7d0d764ede480e25)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
373984df4d libxcb: update 1.14 -> 1.15
Drop disable-check.patch, with recipe-specific sysroots
it is no longer necessary.

(From OE-Core rev: 300afee4835c451db139aff6d5a2a465ca6b14f5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
ad57d49a4f python3-pip: update 22.0.4 -> 22.1
progress removed from vendored libraries:
2c8e78cb9c

(From OE-Core rev: 082b9ed3ac3826f4b48a1b5e19feb496534356a4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
243c7d8c46 u-boot: upgrade 2022.01 -> 2022.04
Change to a tools-only defconfig.

Add gnutls/util-linux dependency for mkeficapsule.

(From OE-Core rev: a9c5f9033343ad2e26539854ccde2f116528f235)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
58dfb1a126 gnu-config: update to latest version
(From OE-Core rev: 91fe3bb8687e92eadfbbd266823eaa2ade20c4b7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
a221b0566e iptables: upgrade 1.8.7 -> 1.8.8
(From OE-Core rev: b44d6bc7e56121d977a7bc491aec00cf3fb510fb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
8d0e9d055a go: upgrade 1.18.1 -> 1.18.2
(From OE-Core rev: 65bbbfc609c553b7ba54b63b5aab18b827c632f8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Alexander Kanavin
6343a41684 python3-setuptools: upgrade 59.5.0 -> 62.3.1
This was held by numpy rejecting setuptools >= 60.x,
however it got a workaround in recent point releases
and so the upgrade can proceed.

Drop 0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch
as changed code completely removed upstream.

Replicate another distutils/sysconfig.py fix from python recipe via
0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch

Add a tomli build dependency to python3-setuptools-scm as new
setuptools exposes:

|   File "/srv/work/alex/poky/build-64-alt/tmp/work/x86_64-linux/python3-setuptools-scm-native/6.4.2-r0/setuptools_scm-6.4.2/src/setuptools_scm/config.py", line 59, in _lazy_tomli_load
|     from tomli import loads
| ModuleNotFoundError: No module named 'tomli'

(From OE-Core rev: 0907866325fbfb5774e1a3f0ba0cf110d9b9b663)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Peter Kjellerstedt
ff5bead3bc base-passwd: Update the status for two patches
The two patches to disable use of debconf and generation of
documentation have been merged upstream.

(From OE-Core rev: aca8844d7c05b4ba937625e59275d3f7953d3da7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Steve Sakoman
7a7de167c2 python3: fix reproducibility issue with python3-core
traceback.cpython-310.pyc is non-deterministic due to 'frozenset'
being written without strict ordering.  For now let's just not
install the problematic file.

(From OE-Core rev: 4b1f0f7542abcb8606688c974695a6c8a142e7a2)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Richard Purdie
61419000b5 layer.conf: Don't use indirect help2man-native dependencies
Similarly to other tools such as pkgconfig and quilt, don't pull in
help2man-native unless there is a direct DEPENDS. This is generally good
for keeping the recipe sysroots leaner and cleaner and should fix some
issues with squashf-tools in particular.

This will mean any recipe with an indirect dependency will break so
missing recipe dependencies will need to be fixed.

(From OE-Core rev: df4e37ef888ad11f98c2f17ab4bc48dbd5417790)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Richard Purdie
b5c0b44a06 udev-extraconf/initrdscripts/parted: Rename mount.blacklist -> mount.ignorelist
(From OE-Core rev: 69e486ddb3059f80ba538e1f59c2ca8a8df0faf9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Mingli Yu
5553ef8096 python3-cryptography: remove --benchmark-disable option
The new version introduced below change, so remove the option
to avoid python3-pytest-benchmark rdepends to fix the gap.
496703c8 Refs #7079 -- added basic scaffholding for benchmarks (#7087)

Fixes:
  # ./run-ptest
  Free memory: 31.283 GB
  ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
  pytest: error: unrecognized arguments: --benchmark-disable
  inifile: /usr/lib/python3-cryptography/ptest/pyproject.toml
  rootdir: /usr/lib/python3-cryptography/ptest

(From OE-Core rev: 7fdfa8504dcc9c15e957256c97b43eec5291216c)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:22 +01:00
Khem Raj
812ebb0227 musl-locales: Switch SRC_URI to new location
Original repository has been less maintained and thusly adelie linux
community has picked up the package and started to maintain it also
applied long standing bug fixes.

Now we use new fork by Adélie Linux, which includes more supported
locales.

(From OE-Core rev: b6c1e37ed20f636f4f3cdfcef204ea4c072dde58)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 09:25:47 +01:00
Samuli Piippo
bd59737996 binutils: Bump to latest 2.38 release branch
Fixes Qt build with GCC 12.1.

Brings following fixes

 * 3d549e5ccc0 PR29142, segv in ar with empty archive and libdeps specified
 * c473aa1b9d8 M68K: avoid quadratic slowdlow in label alignment check
 * 8d1187516e3 Adjust ld ctf test for 32-bit targets
 * 9c67f6382ac x86: Properly handle function pointer reference
 * 9a01457e02e s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie
 * 82a5bb730a1 s390: Avoid dynamic TLS relocs in PIE
 * d54081c642a LoongArch: Update ABI eflag in elf header.
 * fb4d148004f IBM zSystems: Add support for z16 as CPU name.
 * 975b5540232 libctf, ld: diagnose corrupted CTF header cth_strlen
 * 99852365513 dlltool: Use the output name as basis for deterministic temp prefixes
 * 210bf1d6225 Updated Serbian (for binutils/) and Russian (for gprof/) translations
 * fcf60fe8482 PR28959, obdump doesn't disassemble mftb instruction
 * e4a35c73196 PowerPC64 DT_RELR relative reloc addresses
 * 7183434818e Work around gcc-4 warnings in elf64-ppc.c

(From OE-Core rev: c007a7251e697836a29bd1aebe49d4f2433a5e6e)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 09:25:47 +01:00
wangmy
24b5babb3e librepo: upgrade 1.14.2 -> 1.14.3
(From OE-Core rev: 2b41ae2900dc308e005d3f0e8a4d3912be35bc01)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 09:25:47 +01:00
Marta Rybczynska
6b7b91fa34 cve-check: Fix report generation
The addition of summary output caused two issues: error when building
an image and the fact that JSON output was generated even when
CVE_CHECK_FORMAT_JSON.

When generating an image it caused an error like:
ERROR: core-image-minimal-1.0-r0 do_rootfs: Error executing a python function in exec_func_python() autogenerated:

  The stack trace of python calls that resulted in this exception/failure was:
  File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
       0001:
   *** 0002:cve_check_write_rootfs_manifest(d)
       0003:
  File: '/home/alexk/poky/meta/classes/cve-check.bbclass', lineno: 213, function: cve_check_write_rootfs_manifest
       0209:
       0210:        link_path = os.path.join(deploy_dir, "%s.json" % link_name)
       0211:        manifest_path = d.getVar("CVE_CHECK_MANIFEST_JSON")
       0212:        bb.note("Generating JSON CVE manifest")
   *** 0213:        generate_json_report(json_summary_name, json_summary_link_name)
       0214:        bb.plain("Image CVE JSON report stored in: %s" % link_path)
       0215:}
       0216:
       0217:ROOTFS_POSTPROCESS_COMMAND:prepend = "${@'cve_check_write_rootfs_manifest; ' if d.getVar('CVE_CHECK_CREATE_MANIFEST') == '1' else ''}"
  Exception: NameError: name 'json_summary_name' is not defined

The fix is to pass the d variable to the pure python function generate_json_report
to get correct values of variables and add conditions for the JSON
output where needed.

In addition clarify the message presenting the summary JSON file,
which isn't related to an image.

Uses partial fixes from Alex Kiernan, Ernst Sjöstrand (ernstp),
and Davide Gardenal.

Fixes: f2987891d315 ("cve-check: add JSON format to summary output")

(From OE-Core rev: 9015dec93233c7d45fd0c9885ff5d4ec23ad377d)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-17 09:14:26 +01:00
Peter Kjellerstedt
0dc16dcfff base-passwd: Update to 3.5.52
* Add a patch to allow the use of debconf to be disabled.
* Replace 0007-Disable-generation-of-the-documentation.patch with a new
  patch to disable the generation of the documentation using a
  configuration option.
* Replace 0006-Disable-shell-for-default-users.patch with a sed
  expression that uses a variable, NOLOGIN, to specify what command to
  use for users that are not expected to login. This allows to use some
  other command than "nologin", e.g., "false". Also, by using
  ${base_sbindir}, it adheres to usrmerge being configured.

(From OE-Core rev: e7abf63cc8bdc61c8d978b3c21a38e17716fc292)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-16 23:19:18 +01:00
Peter Kjellerstedt
126e039eef base-passwd: Regenerate the patches
(From OE-Core rev: 6515d96c12b080b9e7f344799e26dba3b98e17e2)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-16 23:19:18 +01:00
Claudius Heine
d5f64c38f1 wic: added fspassno parameter to partition
The `fspassno` parameter allows to overwrite the value of the last
column (`fs_passno`) in the /etc/fstab of the target root file system.
This allows to have periodic file system checks.

(From OE-Core rev: b9b9f71e6f37bfbf954ade518391b242669481e3)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-16 23:19:18 +01:00
Richard Purdie
88c200c751 selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURES
Using += unintentionally removes all other entries from DISTRO_FEATURES
if DISTRO_FEATURES was set by ?= such as by poky.conf. This reduces
sstate reusage on the autobuilder. Fix this to speed up builds.

(From OE-Core rev: 124b82c32c4545bb216a8249954817f692f9795a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-16 23:19:18 +01:00
Richard Purdie
2962cd877b staging: Fix rare sysroot corruption issue
We've seen failures on the autobuilder in oe-selftest where things which should
be in the sysroot aren't. The exact steps to reproduce the exact failure are
elusive and probably hash equivalance dependency but this set of steps does
reproduce corruption which is probably of the same origin:

Add DISTRO_FEATURES += "systemd"

  bitbake dbus

Remove DISTRO_FEATURES += "systemd"

  bitbake dbus
  bitbake dbus -c clean
  bitbake dbus -c configure

Add DISTRO_FEATURES += "systemd"

  bitbake quilt-native
  bitbake dbus -c populate_sysroot

Remove DISTRO_FEATURES += "systemd"

  bitbake dbus -c compile

Where dbus will now fail as the compiler was no longer in the sysroot.

This works by clearing x11 and other values out of DISTRO_FEATURES so the x11
dependencies are removed from the sysroot. The configure stamp remains valid so
when the original configuration is restored, it becomes valid again but a load
of the sysroot disappeared and build failures result.

Fix this by removing stamps when we remove things from the sysroot.

Depends on a change to bitbake build.py to add the clean_stamp API.

[YOCTO #14790]

(From OE-Core rev: f4b1cecc82435b71135d7b65f6ea67be0e4f8c66)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-16 23:19:18 +01:00
Richard Purdie
b8b3413a9c bitbake: build: Add clean_stamp API function to allow removal of task stamps
We currently have no API to be able to remove all the potential stamps of a
task. It is unusual to need to do this, particularly as you could race against
other things happening in the system but we do have a use case for this in
cleaning up sysroots in OE-Core. The alternative is to mess with CLEANMASK in
OE-Core but that is just going to add potential for errors.

We need the first part of the make_stamp() function so separate that out so
it can be called seperately.

(Bitbake rev: 4d671504a25863018ac51c21c005cef0a4d8f05c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-16 23:19:18 +01:00
Tomasz Dziendzielski
76310f35dd bitbake: data: Do not depend on vardepvalueexclude flag
If SRC_URI contains python function that extends vardepvalueexclude its
value is being tracked by sstate-cache, which can lead to rebuilds if
value is set dynamically (for example gerrit replicas).

Return empty string if vardepvalueexclude is checked to fix this
behaviour.

(Bitbake rev: f5f9a7b89a7d8321f03184e61ad6d5ed8d0f840e)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-16 23:19:18 +01:00
Davide Gardenal
bd66a18eaa openssl: minor security upgrade 3.0.2 -> 3.0.3
This minor version include fixes for several CVEs

CVE: CVE-2022-1292
CVE: CVE-2022-1343
CVE: CVE-2022-1434
CVE: CVE-2022-1473

(From OE-Core rev: d63ddc0874da32940be2b802ab31f49286e49f63)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:16 +01:00
Khem Raj
c6827c53f0 elfutils: Disable stringop-overflow warning for build host
Some distributions shipping gcc12 end up with stringop-overflow warnings
e.g.
/usr/include/bits/unistd.h:74:10: error: ‘__pread_alias’ specified size between 9223372036854775813 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
   74 |   return __glibc_fortify (pread, __nbytes, sizeof (char),
      |          ^~~~~~~~~~~~~~~

Until fixed, lets not treat this warning as hard error

(From OE-Core rev: bb76fe2baf00b0874d221445c9fba4481740024f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:16 +01:00
Khem Raj
2f36d912d4 ovmf: Fix native build with gcc-12
Host distros have started deploying gcc12 as well e.g. archlinux
this build failure shows up which has been fixed upstream

In function ‘GetAlignmentFromFile’,
    inlined from ‘main’ at GenFfs.c:816:20:
GenFfs.c:545:5: error: pointer ‘InFileHandle’ used after ‘fclose’ [-Werror=use-after-free]
  545 |     Error(NULL, 0, 4001, "Resource", "memory cannot be allocated  of %s", InFileHandle);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(From OE-Core rev: 7b67f19d353d88107f52cceda3c858730ac1db54)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:16 +01:00
Khem Raj
9353730a6b bash: build with bash_cv_getcwd_malloc=yes on musl too
This fixes bash using its own broken getcwd() during cross compiling
The configure script assumes that your getcwd() function is broken.
Which then makes bash use it's own getcwd() implementation, which
doesn't work if the path to the current directory
contains bind mounts in its paths. This shows up as:

Fixes errors on musl images like
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor

(From OE-Core rev: 2137f68f6e84b669b5aba8f12237f164f710dba2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:16 +01:00
Zoltán Böszörményi
96f4a89d8d npm.bbclass: Don't create /usr/lib/node symlink
When a recipe DEPENDS on multiple other npm based recipes,
the symlink will create a conflict.

(From OE-Core rev: 9896a7e3a9bdbc6bf3bb67b5f5d5c8ae8225ed0f)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:15 +01:00
Zoltán Böszörményi
1d0fc713e8 npm.bbclass: Fix file permissions before opening it for writing
Some node module archives in npmjs.org contain wrong permissions.
I found a case with package.json in the archive being r-xr-xr-x
for which open(..., "w") fails. Modify the manifest file permissions
to add the write bit for the owner.

(From OE-Core rev: c6740091cb7336aaa3bb9b692fe4dc6fc92aa3a8)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:15 +01:00
Leon Anavi
72aa79f61f image_types/runqemu-addptable2image: Fix a minor typo
Fix a minor typo and replace "partion" with "partition".

(From OE-Core rev: 186df231f95096c0ee0f29f1080deb351701374f)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:15 +01:00
Ross Burton
2d03dd4b32 kernel-yocto.bbclass: say what SRC_URI entry is being dropped
If there is a defconfig set by KBUILD_DEFCONFIG and something that looks
like a defconfig in SRC_URI, the SRC_URI is dropped. This happens even
if the entry in SRC_URI is called my_defconfig_frag.cfg.

Arguably, this is a bug and the behaviour should be changed, but for now
if we're going to remove entries from SRC_URI we should make it clear
what entry is being removed.

(From OE-Core rev: c807876507fa0257be9abc15457b312e01368c17)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:15 +01:00
Andrej Valek
8252367023 kernel: add missing path to search for debug files
Since explicit debug package creation via ${KERNEL_PACKAGE_NAME}-dbg has
been added to kernel, it has to cover all PACKAGE_DEBUG_SPLIT_STYLE
options. For ex. when the variable "debug-file-directory" package search
path has to be set explicitly, otherwise it will not find any files.

(From OE-Core rev: 9c39da147683dcaaa244b3ddc4531c4408ad5c9e)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:15 +01:00
Steve Sakoman
eaa61803b1 virgl: skip headless test on alma 8.6
As a centos 8 spinoff, it lacks the same vgem kernel module.

(From OE-Core rev: 451605aa40482516c18cd1534feacb796516a785)

(From OE-Core rev: 8f74418637fbcdd7c68636ec1b9adfffc245f9c1)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:49:22 +01:00
Michael Halstead
fea9e46d39 releases: update to include 3.4.4
(From yocto-docs rev: 251be33f9e0f127586eaf83a8456adb8d9ffd832)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-13 23:16:00 +01:00
Khem Raj
c7cb456075 gdb: Upgrade to 12.1
Release Announcement [1] and Notes [2]

[1] https://lists.gnu.org/archive/html/info-gnu/2022-05/msg00000.html
[2] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-12.1-release

(From OE-Core rev: 8d42315c074a9746df0586136b063ea0e58739db)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-13 17:56:29 +01:00
Khem Raj
b0d6bb477d libstd-rs: Forward port rust libc patches
libstd-rs update also updated the vendored libc to 0.2.116, the rv64
musl patches were applied to 0.2.112 and hence needed forward porting
done with this changeset.

(From OE-Core rev: e3a910af0c0c4e07b15d03e9625760f98c67e874)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-13 17:56:29 +01:00
Michael Halstead
7b48f329ae scripts/autobuilder-worker-prereq-tests: add additional limit testing
Check that open file and user process limits are greater than or equal to what
the autobuilder uses.

(From OE-Core rev: 6149bd4d4e23f69371b645d4c5fc6706e2413130)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-11 19:59:44 +01:00
Michael Halstead
936ed09300 scripts/autobuilder-worker-prereq-tests: update to use yocto 4.0
Use files from the current release to avoid the depreciated -show-cursor
option.

(From OE-Core rev: 53e86ed1af73834be03762eb8ce98aa977a12001)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-11 19:59:44 +01:00
Richard Purdie
c0267bb732 sanity: Don't warn about make 4.2.1 for mint
Whilst not a supported distro, we can exclude this from the warning as it
is debian derived and doesn't have the issue.

(From OE-Core rev: b561e40f906737eec81245c6a12e78501311f667)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-11 17:16:11 +01:00
Dmitry Baryshkov
d4739e930f image.bbclass: allow overriding dependency on virtual/kernel:do_deploy
Since the commit fe26b2379ecd ("image.bbclass: Depend on
virtual/kernel:do_deploy"), the image.bbclass made building images
depend on virtual/kernel. For some images, including small initramfs,
this is not the case. Allow overriding this dependency in case
developers knows what they are doing.

(From OE-Core rev: 55875f68212657167ac6dc26f5fd93eac24b098e)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-11 17:16:11 +01:00
Dmitry Baryshkov
cc90108fb0 linux-firmware: package new Qualcomm firmware
Create separate packages with firmware files for APQ8096 SoC and for
Adreno 2xx/4xx. Include A330 firmware into the 3xx package.

(From OE-Core rev: 1a0cb8f9131d1f238dc150e583a7ff816645765f)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-11 17:16:11 +01:00
Dmitry Baryshkov
f3bc6e0de9 linux-firmware: upgrade 20220411 -> 20220509
License-Update: additional files
(From OE-Core rev: 85b1fef733683be09a1efdb2d8b8ffe543053ace)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-11 17:16:11 +01:00
Claudius Heine
ce65ac2dd1 overlayfs: add docs about skipping QA check & service dependencies
Add some documentation about skipping the QA check related to missing
fstab entries or mount units for base mount points where the overlayfs
is mounted from.

Also add a short paragraph about adding a systemd unit dependency to
services in recipes, so that they are started only after the overlayfs
is mounted and ready.

No functional change.

(From OE-Core rev: 7adc49fa6fdbdf118f74e95193e80ae7ef019e27)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-11 17:16:11 +01:00
Gunjan Gupta
deb81cbb33 bitbake: fetch2/osc: Small fixes for osc fetcher
The current fetcher seemed to have some issues that made it difficult when
trying to use the same. This patch fixes the following

* Make consistent use of the path that needs to be used as oscdir
* The path mentioned in os.access in download function was not same as
  ud.moddir which would result into invoking of fetch command instead of
  update command even if directory already existed
* Before creating oscrc, make sure oscdir exists and create it if it does
  not exist
* Updated the configuration to use apiurl and added a new parameter to
  control whether http or https needs to be used to connect to apiurl

(Bitbake rev: 3ec78686f3c0ea2304097b86a965f9be4b0cb879)

Signed-off-by: Gunjan Gupta <viraniac@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 13:12:42 +01:00
Bruce Ashfield
21053b2d37 yocto-bsps: update to v5.10.113
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    54af9dd2b958 Linux 5.10.113
    7992fdb045fb Revert "net: micrel: fix KS8851_MLL Kconfig"
    8bedbc8f7f35 block/compat_ioctl: fix range check in BLKGETSIZE
    fea24b07edfc staging: ion: Prevent incorrect reference counting behavour
    dccee748af17 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
    572761645b88 jbd2: fix a potential race while discarding reserved buffers after an abort
    50aac4427360 can: isotp: stop timeout monitoring when no first frame was sent
    e1e96e372721 ext4: force overhead calculation if the s_overhead_cluster makes no sense
    4789149b9ea2 ext4: fix overhead calculation to account for the reserved gdt blocks
    0c54b093766b ext4, doc: fix incorrect h_reserved size
    22c450d39f89 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
    75ac724684b7 ext4: fix use-after-free in ext4_search_dir
    a46b3d849864 ext4: fix symlink file size not match to file content
    f6038d43b25b ext4: fix fallocate to use file_modified to update permissions consistently
    19590bbc691d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
    e012f9d1af54 powerpc/perf: Fix power9 event alternatives
    0a2cef65b329 drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    f8f8b3124b89 KVM: PPC: Fix TCE handling for VFIO
    405d98427416 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
    231381f52116 drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
    51d9cbbb0f5a perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
    88fcfd6ee6c5 sched/pelt: Fix attach_entity_load_avg() corner case
    c55327bc3712 arm_pmu: Validate single/group leader events
    5580b974a84b ARC: entry: fix syscall_trace_exit argument
    7082650eb826 e1000e: Fix possible overflow in LTR decoding
    43a2a3734aa3 ASoC: soc-dapm: fix two incorrect uses of list iterator
    54e6180c8c2d gpio: Request interrupts after IRQ is initialized
    0837ff17d052 openvswitch: fix OOB access in reserve_sfa_size()
    19f6dcb1f0f0 xtensa: fix a7 clobbering in coprocessor context load/store
    f399ab11dd6c xtensa: patch_text: Fixup last cpu should be master
    ba2716da2336 net: atlantic: invert deep par in pm functions, preventing null derefs
    358a3846f6a9 dma: at_xdmac: fix a missing check on list iterator
    cf23a960c5c6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading
    9ca66d791439 mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
    ed5d4efb4df1 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
    6b932920b96f mm, hugetlb: allow for "high" userspace addresses
    50cbc583fa83 EDAC/synopsys: Read the error count from the correct register
    7ec6e06ee405 nvme-pci: disable namespace identifiers for Qemu controllers
    316bd86c2261 nvme: add a quirk to disable namespace identifiers
    76101c8e0c31 stat: fix inconsistency between struct stat and struct compat_stat
    bf28bba30410 scsi: qedi: Fix failed disconnect handling
    a284cca3d81a net: macb: Restart tx only if queue pointer is lagging
    9581e07b549b drm/msm/mdp5: check the return of kzalloc()
    8d71edabb0ab dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
    b3afe5a7fd75 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
    202748f44148 mt76: Fix undefined behavior due to shift overflowing the constant
    0de9c104d04a net: atlantic: Avoid out-of-bounds indexing
    5bef9fc38ffa cifs: Check the IOCB_DIRECT flag, not O_DIRECT
    e129c55153c8 vxlan: fix error return code in vxlan_fdb_append
    8e7ea1136475 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
    cd227ac03f2a ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
    490815f0b50e platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
    cb17b56a9b4d reset: tegra-bpmp: Restore Handle errors in BPMP response
    d513ea9b7ef8 ARM: vexpress/spc: Avoid negative array index when !SMP
    052e4a661f90 arm64: mm: fix p?d_leaf()
    18ff7a2efa4e arm64/mm: Remove [PUD|PMD]_TABLE_BIT from [pud|pmd]_bad()
    3bf8ca350170 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
    520aab8b723c dmaengine: idxd: add RO check for wq max_transfer_size write
    9a3c026dc3a5 dmaengine: idxd: add RO check for wq max_batch_size write
    f593f49fcd17 net: stmmac: Use readl_poll_timeout_atomic() in atomic state
    3d55b195747c netlink: reset network and mac headers in netlink_dump()
    49516e6ed914 ipv6: make ip6_rt_gc_expire an atomic_t
    078d839f11ac l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
    0ac8f83d8f64 net/sched: cls_u32: fix possible leak in u32_init_knode()
    93366275be72 ip6_gre: Fix skb_under_panic in __gre6_xmit()
    200f96ebb389 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
    8fb76adb89f0 net/packet: fix packet_sock xmit return value checking
    a499cb5f3ef9 net/smc: Fix sock leak when release after smc_shutdown()
    60592f16a456 rxrpc: Restore removed timer deletion
    fc7116a79a86 igc: Fix BUG: scheduling while atomic
    46b0e4f998ce igc: Fix infinite loop in release_swfw_sync
    c075c3ea0317 esp: limit skb_page_frag_refill use to a single page
    3f7914dbeacd spi: spi-mtk-nor: initialize spi controller after resume
    f714abf28f81 dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
    9bc949a181ba dmaengine: imx-sdma: Fix error checking in sdma_event_remap
    12aa8021c7a7 ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
    b6f474cd3097 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
    608fc58858bf ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
    d29c78d3f9c5 dm: fix mempool NULL pointer race when completing IO
    cf9b19546494 ALSA: hda/realtek: Add quirk for Clevo NP70PNP
    8ce3820fc9d4 ALSA: usb-audio: Clear MIDI port active flag after draining
    43ce33a68e2b net/sched: cls_u32: fix netns refcount changes in u32_change()
    04dd45d9776e gfs2: assign rgrp glock before compute_bitstructs
    378061c9b886 perf tools: Fix segfault accessing sample_id xyarray
    5e8446e3820c tracing: Dump stacktrace trigger to the corresponding instance
    69848f9488bc mm: page_alloc: fix building error on -Werror=array-compare
    08ad7a770efa etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
    1052f9bce629 Linux 5.10.112
    5c62d3bf1410 ax25: Fix UAF bugs in ax25 timers
    f934fa478dd1 ax25: Fix NULL pointer dereferences in ax25 timers
    145ea8d213e8 ax25: fix NPD bug in ax25_disconnect
    a4942c6fea87 ax25: fix UAF bug in ax25_send_control()
    b20a5ab0f5fb ax25: Fix refcount leaks caused by ax25_cb_del()
    57cc15f5fd55 ax25: fix UAF bugs of net_device caused by rebinding operation
    5ddae8d06441 ax25: fix reference count leaks of ax25_dev
    5ea00fc60676 ax25: add refcount in ax25_dev to avoid UAF bugs
    361288633bfa scsi: iscsi: Fix unbound endpoint error handling
    129db30599bc scsi: iscsi: Fix endpoint reuse regression
    26f827e095ab dma-direct: avoid redundant memory sync for swiotlb
    9a5a4d23e24d timers: Fix warning condition in __run_timers()
    84837f43e56f i2c: pasemi: Wait for write xfers to finish
    89496d80bf84 smp: Fix offline cpu check in flush_smp_call_function_queue()
    cd02b2687d66 dm integrity: fix memory corruption when tag_size is less than digest size
    0a312ec66a03 ARM: davinci: da850-evm: Avoid NULL pointer dereference
    0806f1930562 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
    0275c75955d1 genirq/affinity: Consider that CPUs on nodes can be unbalanced
    1fcfe37d170a drm/amdgpu: Enable gfxoff quirk on MacBook Pro
    68ae52efa132 drm/amd/display: don't ignore alpha property on pre-multiplied mode
    a263712ba8c9 ipv6: fix panic when forwarding a pkt with no in6 dev
    659214603bf2 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
    912797e54c99 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
    48d070ca5e7e ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
    163e16247130 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
    5e4dd1799883 btrfs: mark resumed async balance as writing
    1d2eda18f6ff btrfs: fix root ref counts in error handling in btrfs_get_root_ref
    9b7ec35253c9 ath9k: Fix usage of driver-private space in tx_info
    0f65cedae500 ath9k: Properly clear TX status area before reporting to mac80211
    cc21ae932656 gcc-plugins: latent_entropy: use /dev/urandom
    c089ffc846c8 memory: renesas-rpc-if: fix platform-device leak in error path
    342454231ee5 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded
    06c348fde545 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
    20ed94f8181a mm: fix unexpected zeroed page mapping with zram swap
    192e507ef894 mm, page_alloc: fix build_zonerefs_node()
    000b3921b4d5 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
    ca24c5e8f0ac drivers: net: slip: fix NPD bug in sl_tx_timeout()
    e8cf1e4d953d scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
    5b7ce74b6bc8 scsi: mvsas: Add PCI ID of RocketRaid 2640
    4b44cd584057 drm/amd/display: Fix allocate_mst_payload assert on resume
    34ea097fb63d drm/amd/display: Revert FEC check in validation
    fa5ee7c4232c myri10ge: fix an incorrect free for skb in myri10ge_sw_tso
    d90df6da50c5 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
    9c12fcf1d864 net: axienet: setup mdio unconditionally
    b643807a735e tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
    98973d2bdd4a arm64: alternatives: mark patch_alternative() as `noinstr`
    2462faffbfa5 regulator: wm8994: Add an off-on delay for WM8994 variant
    aa8cdedaf760 gpu: ipu-v3: Fix dev_dbg frequency output
    150fe861c57c ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
    1ff5359afa5e net: micrel: fix KS8851_MLL Kconfig
    d3478709edf2 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
    b9a110fa755b scsi: lpfc: Fix queue failures when recovering from PCI parity error
    aec36b98a1bb scsi: target: tcmu: Fix possible page UAF
    43666798059c Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
    1d7a5aae884c drm/amdkfd: Check for potential null return of kmalloc_array()
    e5afacc826a8 drm/amdgpu/vcn: improve vcn dpg stop procedure
    d2e0931e6d84 drm/amdkfd: Fix Incorrect VMIDs passed to HWS
    7fc0610ad818 drm/amd/display: Update VTEM Infopacket definition
    6906e05cf3ad drm/amd/display: FEC check in timing validation
    756c61c1680f drm/amd/display: fix audio format not updated after edid updated
    76e086ce7b2d btrfs: do not warn for free space inode in cow_file_range
    217190dc66ef btrfs: fix fallocate to use file_modified to update permissions consistently
    9b5d1b3413d7 drm/amd: Add USBC connector ID
    6f9c06501d28 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering"
    504c15f07f54 dm mpath: only use ktime_get_ns() in historical selector
    4e166a41180b cifs: potential buffer overflow in handling symlinks
    67677050cecb nfc: nci: add flush_workqueue to prevent uaf
    bfba9722cf2e perf tools: Fix misleading add event PMU debug message
    280f721edc54 testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
    eb8873b324d9 sctp: Initialize daddr on peeled off socket
    45226fac4d31 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
    73805795c99f scsi: iscsi: Fix offload conn cleanup when iscsid restarts
    699bd835c36e scsi: iscsi: Move iscsi_ep_disconnect()
    46f37a34a53d scsi: iscsi: Fix in-kernel conn failure handling
    812573896711 scsi: iscsi: Rel ref after iscsi_lookup_endpoint()
    22608545b834 scsi: iscsi: Use system_unbound_wq for destroy_work
    4029a1e992fc scsi: iscsi: Force immediate failure during shutdown
    17d14456f626 scsi: iscsi: Stop queueing during ep_disconnect
    da9cf24aa739 scsi: pm80xx: Enable upper inbound, outbound queues
    e08d26971237 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
    35b91e49bc80 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
    98a7f6c4ada4 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
    5f78ad93837c drm/msm: Fix range size vs end confusion
    5513f9a0b068 cfg80211: hold bss_lock while updating nontrans_list
    a44938950e5e net/sched: taprio: Check if socket flags are valid
    08d5e3e95453 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
    2ad9d890d850 net: dsa: felix: suppress -EPROBE_DEFER errors
    f2cc341fcc42 net/sched: fix initialization order when updating chain 0 head
    7a7cf8414841 mlxsw: i2c: Fix initialization error flow
    43e58e119a2b net: mdio: Alphabetically sort header inclusion
    9709c8b5cdc8 gpiolib: acpi: use correct format characters
    d67c900f1947 veth: Ensure eth header is in skb's linear part
    845f44ce3d9f net/sched: flower: fix parsing of ethertype following VLAN header
    85ee17ca21cf SUNRPC: Fix the svc_deferred_event trace class
    af12dd71235c media: rockchip/rga: do proper error checking in probe
    563712971202 firmware: arm_scmi: Fix sorting of retrieved clock rates
    16c628b0c6fa memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
    cb66641f8106 drm/msm: Add missing put_task_struct() in debugfs path
    921fdc45a084 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
    5d131318bb87 ACPI: processor idle: Check for architectural support for LPI
    503934df3108 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
    cfa98ffc42f1 hamradio: remove needs_free_netdev to avoid UAF
    80a4df14643f hamradio: defer 6pack kfree after unregister_netdev
    f0c31f192f38 drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu
    6c8e5cb264df Linux 5.10.111
    d36febbcd537 powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
    5c672073bcca mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
    5973f7507a73 irqchip/gic, gic-v3: Prevent GSI to SGI translations
    000e09462f85 Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
    e1f540b752cb arm64: module: remove (NOLOAD) from linker script
    919823bd6738 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
    637eca44b8f7 selftests: cgroup: Test open-time credential usage for migration checks
    9dd39d2c6572 selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
    e74da71e6614 selftests/cgroup: Fix build on older distros
    4665722d36ad cgroup: Use open-time credentials for process migraton perm checks
    f089471d1b75 mm: don't skip swap entry even if zap_details specified
    58823a9b097c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
    03b39bbbec8b dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
    40e00885a61f tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
    75c8558d410f tools build: Filter out options and warnings not supported by clang
    6374faf49e89 perf python: Fix probing for some clang command line options
    79abc219bafd perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
    82e43950143c drm/amdkfd: Create file descriptor after client is added to smi_clients list
    326b408e7ec7 drm/nouveau/pmu: Add missing callbacks for Tegra devices
    786ae8de3a5e drm/amdgpu/smu10: fix SoC/fclk units in auto mode
    ff24114bb08d irqchip/gic-v3: Fix GICR_CTLR.RWP polling
    451214b266e9 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
    fc629224aa62 ata: sata_dwc_460ex: Fix crash due to OOB write
    7e88a50704b0 gpio: Restrict usage of GPIO chip irq members before initialization
    5f54364ff6cf RDMA/hfi1: Fix use-after-free bug for mm struct
    8bb41682911f arm64: patch_text: Fixup last cpu should be master
    a044bca8ef31 btrfs: prevent subvol with swapfile from being deleted
    82ae73ac963c btrfs: fix qgroup reserve overflow the qgroup limit
    fc4bdaed4d4e x86/speculation: Restore speculation related MSRs during S3 resume
    8c9e26c890ba x86/pm: Save the MSR validity status at context setup
    2827328e646d io_uring: fix race between timeout flush and removal
    f7e183b0a713 mm/mempolicy: fix mpol_new leak in shared_policy_replace
    7d659cb1763f mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
    6adc01a7aa37 lz4: fix LZ4_decompress_safe_partial read out of bound
    8b6f04b4c9d9 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
    029b4170737f mmc: mmci: stm32: correctly check all elements of sg list
    41a519c05bee Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
    9de98470db6e arm64: Add part number for Arm Cortex-A78AE
    4604b5738d5b perf session: Remap buf if there is no space for event
    362ced37690d perf tools: Fix perf's libperf_print callback
    65210fac639e perf: arm-spe: Fix perf report --mem-mode
    bd905fed87ce iommu/omap: Fix regression in probe for NULL pointer dereference
    b3c00be2ff8b SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
    9a45e08636bb SUNRPC: Handle low memory situations in call_status()
    132cbe2f182a SUNRPC: Handle ENOMEM in call_transmit_status()
    aed30a205406 io_uring: don't touch scm_fp_list after queueing skb
    594205b49367 drbd: Fix five use after free bugs in get_initial_state
    970a6bb72912 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
    6c17f4ef3c4f spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
    8928239e5e2e qede: confirm skb is allocated before using
    b7893388bb88 net: phy: mscc-miim: reject clause 45 register accesses
    08ff0e74fab5 rxrpc: fix a race in rxrpc_exit_net()
    5ae05b5eb587 net: openvswitch: fix leak of nested actions
    42ab401d22de net: openvswitch: don't send internal clone attribute to the userspace.
    e54ea8fc51ca ice: synchronize_rcu() when terminating rings
    e3dd1202ab2e ipv6: Fix stats accounting in ip6_pkt_drop
    ffce126c952e ice: Do not skip not enabled queues in ice_vc_dis_qs_msg
    b003fc4913ea ice: Set txq_teid to ICE_INVAL_TEID on ring creation
    ebd1e3458dbf dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
    43c2d7890eca IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
    3a57babfb6e9 RDMA/mlx5: Don't remove cache MRs when a delay is needed
    d8992b393f97 sfc: Do not free an empty page_ring
    0ac74169ebc3 bnxt_en: reserve space inside receive page for skb_shared_info
    f8b0ef0a5889 drm/imx: Fix memory leak in imx_pd_connector_get_modes
    25bc9fd4c8d1 drm/imx: imx-ldb: Check for null pointer after calling kmemdup
    02ab4abe5bbf net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
    63ea57478aaa net: ipv4: fix route with nexthop object delete warning
    4be6ed03107b ice: Clear default forwarding VSI during VSI release
    589154d0f189 net/tls: fix slab-out-of-bounds bug in decrypt_internal
    c5f77b595379 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
    45b9932b4daa NFSv4: fix open failure with O_ACCMODE flag
    c688705a3978 Revert "NFSv4: Handle the special Linux file open access mode"
    cf580d2e3884 Drivers: hv: vmbus: Fix potential crash on module unload
    0c122eb3a109 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
    84e5dfc05f37 Revert "hv: utils: add PTP_1588_CLOCK to Kconfig to fix build"
    3c3fbfa6dddb mm: fix race between MADV_FREE reclaim and blkdev direct IO read
    1753a49e266d parisc: Fix patch code locking and flushing
    f7c35220305f parisc: Fix CPU affinity for Lasi, WAX and Dino chips
    c74e2f6ecc51 NFS: Avoid writeback threads getting stuck in mempool_alloc()
    34681aeddcfc NFS: nfsiod should not block forever in mempool_alloc()
    7a506fabcfe1 SUNRPC: Fix socket waits for write buffer space
    b9c5ac0a15f2 jfs: prevent NULL deref in diFree
    c69b442125bf virtio_console: eliminate anonymous module_init & module_exit
    3309b3221711 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
    9cb90f9ad597 x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy
    b3882e78aa0a NFS: swap-out must always use STABLE writes.
    d4170a28217a NFS: swap IO handling is slightly different for O_DIRECT IO
    4b6f122bdfdc SUNRPC: remove scheduling boost for "SWAPPER" tasks.
    f4fc47e71e32 SUNRPC/xprt: async tasks mustn't block waiting for memory
    f9244d31e05a SUNRPC/call_alloc: async tasks mustn't block waiting for memory
    e2b2542f7452 clk: Enforce that disjoints limits are invalid
    1e9b5538cf16 clk: ti: Preserve node in ti_dt_clocks_register()
    a2a0e04f6478 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
    4a2544ce244b NFSv4: Protect the state recovery thread against direct reclaim
    9b9feec97c1f NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
    2e16895d06e6 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
    93498c6e775a staging: wfx: fix an error handling in wfx_init_common()
    8f1d24f85ffd phy: amlogic: meson8b-usb2: Use dev_err_probe()
    aa0b72967853 staging: vchiq_core: handle NULL result of find_service_by_handle
    be4ecca95819 clk: si5341: fix reported clk_rate when output divider is 2
    c9cf6baabf78 minix: fix bug when opening a file with O_DIRECT
    8d9efd4434e3 init/main.c: return 1 from handled __setup() functions
    f44297861296 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
    d745512d54fd netlabel: fix out-of-bounds memory accesses
    2cc803804ec9 Bluetooth: Fix use after free in hci_send_acl
    789621df1963 MIPS: ingenic: correct unit node address
    61e25021e67a xtensa: fix DTC warning unit_address_format
    f6b9550f5367 usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
    a4dd3e9e5ae8 net: sfp: add 2500base-X quirk for Lantech SFP module
    278b652f0ad9 net: limit altnames to 64k total
    423e7107f61f net: account alternate interface name memory
    74c4d5025551 can: isotp: set default value for N_As to 50 micro seconds
    1d7effe5fff9 scsi: libfc: Fix use after free in fc_exch_abts_resp()
    02222bf4f0a2 powerpc/secvar: fix refcount leak in format_show()
    fd416c3f5a4c MIPS: fix fortify panic when copying asm exception handlers
    7c657c0694ff PCI: endpoint: Fix misused goto label
    79cfc0052f39 bnxt_en: Eliminate unintended link toggle during FW reset
    9567d54e70ff Bluetooth: use memset avoid memory leaks
    f9b183f1332a Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
    647b35aaf454 tuntap: add sanity checks about msg_controllen in sendmsg
    797b4ea9515e macvtap: advertise link netns via netlink
    142ae7d4f215 mips: ralink: fix a refcount leak in ill_acc_of_setup()
    f2565cb40e9b net/smc: correct settings of RMB window update limit
    224903cc60d0 scsi: hisi_sas: Free irq vectors in order for v3 HW
    f49ffaa85d2c scsi: aha152x: Fix aha152x_setup() __setup handler return value
    91ee8a14efb6 mt76: mt7615: Fix assigning negative values to unsigned variable
    d83574666bac scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req()
    a0bb65eadbf9 scsi: pm8001: Fix tag leaks on error
    2051044d7901 scsi: pm8001: Fix task leak in pm8001_send_abort_all()
    3bd9a28798ca scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
    ef969095c442 scsi: pm8001: Fix pm80xx_pci_mem_copy() interface
    fe4b6d5a0dd7 drm/amdkfd: make CRAT table missing message informational only
    2f2f017ea873 dm: requeue IO if mapping table not yet available
    71c8df33fd77 dm ioctl: prevent potential spectre v1 gadget
    f655b724b440 ipv4: Invalidate neighbour for broadcast address upon address addition
    bae03957e8ca iwlwifi: mvm: Correctly set fragmented EBS
    9538563d31a2 power: supply: axp288-charger: Set Vhold to 4.4V
    c66cc0404367 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    b1b27b0e8d48 tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.
    b02a1a65023f PCI: endpoint: Fix alignment fault error in copy tests
    4820847e8bc2 usb: ehci: add pci device support for Aspeed platforms
    0b9cf0b59925 iommu/arm-smmu-v3: fix event handling soft lockup
    e07e420a0056 PCI: aardvark: Fix support for MSI interrupts
    6694b8643bde drm/amdgpu: Fix recursive locking warning
    ea21eaea7f5f powerpc: Set crashkernel offset to mid of RMA region
    fb5ac62fbe16 ipv6: make mc_forwarding atomic
    5baf92a2c46c libbpf: Fix build issue with llvm-readelf
    26a1e4739e44 cfg80211: don't add non transmitted BSS to 6GHz scanned channels
    9a56e2b271bc mt76: dma: initialize skip_unmap in mt76_dma_rx_fill
    b42b6d0ec358 power: supply: axp20x_battery: properly report current when discharging
    de9505936c47 scsi: bfa: Replace snprintf() with sysfs_emit()
    ed7db959203e scsi: mvsas: Replace snprintf() with sysfs_emit()
    995f51788868 bpf: Make dst_port field in struct bpf_sock 16-bit wide
    339bd0b55ecd ath11k: mhi: use mhi_sync_power_up()
    c6a815f5abdf ath11k: fix kernel panic during unload/load ath11k modules
    e4d2d7201356 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
    02e2ee861984 ptp: replace snprintf with sysfs_emit
    9ea17b9f1dd0 usb: gadget: tegra-xudc: Fix control endpoint's definitions
    07971b818e18 usb: gadget: tegra-xudc: Do not program SPARAM
    927beb05aaa4 drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    85313d9bc7bd drm/amd/display: Add signal type check when verify stream backends same
    9d7d83d0399e ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
    850c4351e895 drm: Add orientation quirk for GPD Win Max
    a24479c5e9f4 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
    66b0fa6b2218 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
    2e52a294700b rtc: wm8350: Handle error for wm8350_register_irq
    0777fe98a44c gfs2: gfs2_setattr_size error path fix
    f349d7f9ee6d gfs2: Fix gfs2_release for non-writers regression
    3f53715fd55c gfs2: Check for active reservation in gfs2_release
    2dc49f58a29c ubifs: Rectify space amount budget for mkdir/tmpfile operations

(From meta-yocto rev: 184595145167adebf167368639d0258c13c064cc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 13:11:38 +01:00
Khem Raj
fa72b850b1 gcc: upgrade 11.3 -> 12.1
Major gcc release with lot of changes [2]

- Add patch to re-shuffle include of sched.h to fix build on musl
- porting guide to gcc 12 [1]
- Fix version in maintainers entry

[1] https://gcc.gnu.org/gcc-12/porting_to.html
[2] https://gcc.gnu.org/gcc-12/changes.html

(From OE-Core rev: b8878cf0d35cf3d1ac30576d9b9943a7761c011b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 13:11:38 +01:00
Michael Opdenacker
cee443ae75 manuals: add quoting to references to bitbake.conf
(From yocto-docs rev: 3bf6482e15d1bf00e03c030ac89363e467a8cde1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:35 +01:00
Michael Opdenacker
771d574a40 overview-manual: remove confusing and unnecessary paragraph about site.conf
The explanations which precede and follow are sufficient.

The removed text seemed to suggest to use conf/site.conf to specify
the location of another conf/site.conf file.

Another issue was that the way to override conf/site.conf settings
through conf/local.conf was described before explaining that
conf/site.conf is processed before conf/local.conf.

(From yocto-docs rev: d477a2044e7b53977daf4d0c0d45cad29c2006fb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:35 +01:00
Michael Opdenacker
76ae677313 manuals: improve documentation for TEMPLATECONF
Add it to the variable index
Misc improvements to the documentation for this variable

(From yocto-docs rev: fb460a7c7aba1ad5754806f9cfad9ef591420317)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:35 +01:00
Michael Opdenacker
14c7cd24a5 manuals: improve the width of diagrams
Better for EPUB output in particular
- Make some diagrams wider when necessary
- Remove ":align: center" when we have ":width: 100%"
- Update the standards.md files to mention this

(From yocto-docs rev: 848ba7bd8984cc3f4bf6b818259865011cde0476)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:35 +01:00
Michael Opdenacker
6a92d985e5 doc: standards for project and file names
(From yocto-docs rev: 4e658b0f9552462e9168d8598314ed4ddeee7692)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:35 +01:00
Michael Opdenacker
eae7c2a0c2 manuals: fix name capitalization issues
- Using "BitBake" instead of "Bitbake" or "bitbake", aligning with the
  title of the "BitBake User Manual".
- Using "OpenEmbedded" instead of "Openembedded"
- Using "Python" instead of "python"

(From yocto-docs rev: 0b893e2a15aefedd7100445fc9d7eeed07b6afc6)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:34 +01:00
Michael Opdenacker
e3d64415ed doc/Makefile: fix epub and latexpdf targets
Fixing "make clean" followed by "make epub" or "make latexpdf"

(From yocto-docs rev: 0dac10fc3d170fb162f4df6547541071bfa7a94e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:34 +01:00
Michael Opdenacker
739058fc54 dev-manual: further gdb usage simplifications
(From yocto-docs rev: 701d9af89c0de25b84f110ed9f4b627ea339195b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:34 +01:00
Quentin Schulz
4d111eb737 docs: set_versions.py: show release name in switchers.js
Also show release names in the dropdown menu so that people have
knowledge of both the version number and release name of whatever
they're using or planning to use or upgrade to.

This patch will make the dropdown menu show the following entries:
Unstable (dev)
Kirkstone (4.0)
Honister (3.4.3)

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 83867cd979810a023eb7e2d243782e6202873273)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:34 +01:00
Sundeep KOKKONDA
f09f1de84c dev-manual: improvements for gdbserver configuration
[Yocto #13722]
The Yocto bug reports a few improvements in the gdbserver configuration
which makes the configuration of gdb easier for novice users.

(From yocto-docs rev: 48c96378fd5edd587025f3ca138bc5114e927f2f)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:34 +01:00
Arkadiusz Drabczyk
e2a5173806 overview-manual: fix a forgotten link
(From yocto-docs rev: c164ebbb057470130170fd6fedaf8f474abde39d)

Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:34 +01:00
Quentin Schulz
7acf97ad3b docs: set_versions.py: remove hardknott from active releases list
Hardknott 3.3.6 is the last release of the series and the release is now
obsolete.

Let's remove hardknott from the list of active releases.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 4ecce89b6a5d5feb0d31c735a39619e73eeb5e44)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 12:52:34 +01:00
Schmidt, Adriaan
30cc249a8c bitbake: bitbake-diffsigs: break on first dependent task difference
compare_sigfiles() recursively calculates differences on all dependent
tasks with changed hashes. This is done in arbitrary/alphabetical order, and
only the last of those results is returned, while everything else is discarded.

This changes the behavior to instead return the first difference and not calculate
any more, which significantly speeds up diffs of tasks with many dependencies.

(Bitbake rev: ea6a676c9aa2864c2eff40eea41ba09ce903a651)

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 09:47:36 +01:00
Konrad Weihmann
3ccfcc3fcf linux-firmware: replace mkdir by install
if a setup is using RPM for packaging and there are multiple
recipes that install to ${nonarch_base_libdir}/firmware by using
install -d ${nonarch_base_libdir}/firmware, it will create installation
clashes on image install, as linux-firmware in before this patch
used mkdir -p, which creates different file mode bits (depending
on the current user's settings).

In a particular example
linux-fimware created /lib/firmware with 0600
while other-firmware-package created it with 0644
making the combination not installable by rpm backend

(From OE-Core rev: 98bf3f427702687bf81ed759e7cde5d6d15e77eb)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-10 09:46:03 +01:00
Jacob Kroon
75ee46e5d6 Revert "image.bbclass: allow overriding dependency on virtual/kernel:do_deploy"
As pointed out in
https://lists.openembedded.org/g/openembedded-core/message/165058
https://lists.openembedded.org/g/openembedded-core/message/165216
this patch sets KERNELDEPLOYDEPEND but then uses KERNELDEPMODDEPEND.

Revert the changes since no one seems interested enough to fix it.
If someone wants this then make the variable name readable by
adding underscores where appropriate, for example by calling it
KERNEL_DEPLOY_DEPEND.

This reverts commit dcf9dfa4e6305786cd713aa28deda94a50bd6635.

(From OE-Core rev: f0bd9e5d10dc86d7b2639a31ab12728ab67bebd5)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-09 23:40:11 +01:00
Richard Purdie
f1f3c60c4c pciutils: Add make-native dependency
A change in behaviour in make between 4.2.1 and 4.3 on how whitespace
and appends are handled[1] causes changes in lib/libpci.pc and leads
to non-reproducible builds.

Add a dependency on make-native to resovle this as a least invasive
and least worse solution for now.

[1] https://git.savannah.gnu.org/cgit/make.git/commit/?id=b90fabc8d6f34fb37d428dc0fb1b8b1951a9fbed

(From OE-Core rev: c713692fe016eaac036c9b4e8d24c6eb85e177cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-09 23:40:11 +01:00
Richard Purdie
784d17608a bitbake: fetch/git : Use cat as pager
We don't have less in HOSTTOOLS in OE and this can confuse git. Force the
pager to cat to be consistent and minimal everywhere.

(Bitbake rev: d3d406e8552fdd865dc58b419a84411736475ad2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:52:29 +01:00
Richard Purdie
9061e5e0f4 freetype: Upgrade 2.12.0 -> 2.12.1
Includes a fix for CVE-2022-27404.

(From OE-Core rev: 6dd928534d7c1bdd441256229068f3ae8f7d5cf2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:50:34 +01:00
Richard Purdie
e97e69c716 liberror-perl: Update sstate/equiv versions to clean cache
There are cached reproducibility issues on the autobuilder due to the PRServ
sstate checksum issues, flush the bad data out the system by bumping the
versions.

(From OE-Core rev: b12e6cfe3bb34e426c8bb74183d041948cb2ed89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:50:34 +01:00
Richard Purdie
3782ae3992 libgcrypt: Fix reproducibility issues in ptest
The recent ptest addition was causing reproducibility tests to fail.
Remove the problematic files as they clearly aren't needed on target
to run the ptests. Hack the Makefile so that it doesn't try to rerun
configure and similar.

Also add a missing dependency on make.

(From OE-Core rev: 6936e44d10bbad1fae46406943db490791739f87)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:50:34 +01:00
Richard Purdie
122b8e0cea package: Ensure we track whether PRSERV was active or not
Currently the signatures for do_packagedata don't reflect whether PRServ
was active or not. This means that if you have mxiing of PRServ usage and
non PRServ usage against the same sstate cache it can rarely become
corrupted with one referencing the other.

This likely doesn't happen in general but does on the autobuilder as PRServ
is tested. Add in some variables to ensure the binary state of PRServ being
enabled or disabled is tracked (but not the server value). We continue to
assume one PRServ is used per sstate cache.

(From OE-Core rev: dd660e5c3fb74f7c4b7b8e863f7143066ae22813)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:50:34 +01:00
Richard Purdie
a2e3d6c21d vim: Upgrade 8.2.4681 -> 8.2.4912
Includes fixes for CVE-2022-1381, CVE-2022-1420.

(From OE-Core rev: 77d745bd49c979de987c75fd7a3af116e99db82b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:50:34 +01:00
Aryaman Gupta
ddbd7e181b e2fsprogs: update upstream status
Status updated but using the existing patch since it is functionally identical.

(From OE-Core rev: aab854a94e73e5035eb82fe1aafe970aaa296a54)

Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:50:34 +01:00
Felix Moessbauer
c0ae09f355 wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions
This patches makes locating the file database containing the file and
folder usernames and permissions more reliable.
In addition to locating it relative to the partition directory, we also
try to locate it relative to the IMAGE_ROOTFS.

Prior to this patch, the database was not found when using
--rootfs-dir=${IMAGE_ROOTFS}/<x> in the WIC script, leading to erronous file
permissions and ownership.

(From OE-Core rev: 09e18ee246da8b56f446c4db548fb9c7e895142b)

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:50:34 +01:00
Alex Kiernan
41ed7f978e openssh: Add openssh-sftp-server to openssh RDEPENDS
OpenSSH 9.0 uses sftp by default as the transport for scp, add in
sftp-server so that this works as expected for users, rather than being
left with a confusing "scp: Connection closed" message.

(From OE-Core rev: be61b9dac78f0d85c870a0d8304fb4b536ec4bc8)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:50:34 +01:00
Alex Kiernan
5a9006f6de pypi.bbclass: Set CVE_PRODUCT to PYPI_PACKAGE
The CVE product name for PyPI packages is (usually) the same as the PyPI
package name (and not our recipe name), so use that as the default.

(From OE-Core rev: 61f6b0ad09bf87cdc2d3f08770b7c44cad1d0e58)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:50:34 +01:00
Alex Kiernan
4a842c2696 eudev: Add PACKAGECONFIG for manpages & selinux
Drop DEPENDS on libxslt-native which is unused as the tarball includes
the manpages and the build process never invokes the script which
regenerates them (make.sh)

(From OE-Core rev: e6c18c9d9d0e11a6a93cca14dbe622707cf25515)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:50:34 +01:00
Alex Kiernan
363a20327e eudev: Upgrade 3.2.10 -> 3.2.11
The upstream has moved from Gentoo to GitHub and is now maintained by a
new collection of cross-distribution contributors.

Drop the revert of the userspace firmware loading removal patch as these
are only required to support kernels older than 3.7, do not apply
cleanly and will never be merged upstream.

(From OE-Core rev: 31005f24d302082c98bdd33c1fc0fb3db81c74e4)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 23:50:34 +01:00
Roland Hieber
f564bf2bbd bitbake: cache: correctly handle file names containing colons
File names containing colons cause split() to return a list with more
than two elements, which will lead to a stack trace ending in:

    ValueError: too many values to unpack (expected 2)

Split only once at the last colon, thereby making sure that only two
elements are returned.

(Bitbake rev: a70a7376a8708bde07959deb5d5842d7f84ee5f8)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-08 14:20:43 +01:00
Richard Purdie
5b9eb4be12 abi_version/sstate: Bump hashequiv and sstate versions due to git changes
The autobuilder sstate was corrupted via incorrect equiavlences caused by
the security fix to git and the poor interaction that had with SCM version
checks under fakeroot/pseudo. Bump the versions to enable a clean slate
to work off.

(From OE-Core rev: 3b6672730372e130d4d72b683fc3150911964745)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Ross Burton
c0adcdafa4 Revert "bitbake.conf: mark all directories as safe for git to read"
Turns out this doesn't actually work, as git doesn't respect the environment
when reading the safe.directory configuration variable.

This reverts commit d4a5862ce8.

(From OE-Core rev: e28dd48ffb84c8bb4356d889b70a4b876c8bbaf3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Richard Purdie
bf8a1ee202 scripts/git: Ensure we don't have circular references
This is horrible but I'm running out of better ideas. We hit circular reference
issues which we were trying to avoid in the core HOSTTOOLS code. When building
the eSDK, there can be two copies of the script.

Therefore assume git will never be in a directory called scripts. This
fixes eSDK build failures.

(From OE-Core rev: 27de610ac30d4c81352efc794df7e9b1060f7a68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Richard Purdie
4d7383aefb scripts: Make git intercept global
The previous minimially invasive git intercept simply isn't enough. For example,
meson used in the igt-gpu-tools recipe hardcodes the path to git in the configure
step so at install time, changing PATH has no effect.

There are lots of interesting things we could do to try and avoid problems but
making the git intercept and dropping fakeroot privs for git global is probably
the least worst solution at this point. It will add slight overhead to git calls
but we don't make many so the overall impact is likely minimal.

(From OE-Core rev: af27c81eaf68ee681dcd9456a74cca6a9ab40bf6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Richard Purdie
057bd9b772 base: Avoid circular references to our own scripts
We'd like to intercept git calls but we don't want circular references
and HOSTTOOLS currently sets them up. Tweak to avoid them.

(From OE-Core rev: 52c37e133fa55846aca2248ffcf3a10648dbb8d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Ross Burton
f28cca6abc oeqa/selftest: add test for git working correctly inside pseudo
The fix for CVE-2022-24765 in git[1] breaks any use of git inside
pseudo. Add a simple test case to oe-selftest to verify that at least
basic uses of git work fine under pseudo.

[1] 8959555cee

(From OE-Core rev: 46822268040a23dbb81f71fe35aee8c2663a31f6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Alexander Kanavin
1d1b19f2d1 coreutils: update 9.0 -> 9.1
Drop patches:
fix-selinux-flask.patch
(upstream fixed the issue)

e8b56ebd536e82b15542a00c888109471936bfda.patch
(backport)

0001-uname-report-processor-and-hardware-correctly.patch
(upstream explicitly marks the options as non-portable and unreliable[1];
the patch is difficult to rebase, use case for oe unclear)

[1] https://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.24-7-g6d67649

License-Update: copyright years
(From OE-Core rev: c22f81a375b900c71e8ad0f6d13c5aa84b1bdad3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Khem Raj
19af5a1cd9 systemd: Fix build regression with latest update
This happens when ptest is enabled with clang compiler

(From OE-Core rev: a1f51bae8e4717da2375b9a476c368554a795487)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Richard Purdie
042e99d44a libgcrypt: Drop GPLv3 license after upstream changes
Upstream removed the GPLv3 component to the license here:

https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=fbb26c3ac514189f50a31f72dde2a02ef7b41f9f

Update our metadata accordingly as there are now no GPLv3 components.

(From OE-Core rev: c09daf7fdc51d208b1b6789c3fec1a160b02c9a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Richard Purdie
809c7768cc cairo: Add missing GPLv3 license checksum entry
The trace tools are licensed under GPL-3.0-or-later but this wasn't
listed in LIC_FILES_CHKSUM. Fix that.

Ultimately we could disable that license if the trace PACKAGECONFIG is
disabled but I'll leave that to someone else if they're keen.

(From OE-Core rev: f763b906ea10705d519c9eebb5ef1ebe87d49d7c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Alexander Kanavin
c91140ae2c stress-ng: disable apparmor from the correct spot
do_configure uses the base.bbclass version, which can
call 'make clean', negating the disabling.

(From OE-Core rev: 5ab122a79ec3c65c2704b2f47c59b357c425dad0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Michael Opdenacker
6860c248ff MAINTAINERS.md: no more need for a prelink-cross maintainer
Since prelink has been dropped

(From OE-Core rev: 3ea0f248acf60791a25f496e2aff06c68d218ba7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Jiaqing Zhao
ba9470cf9d libxml2: Upgrade 2.9.13 -> 2.9.14
(From OE-Core rev: c4ba21f4012e8859fc793bec7df76e56eb8058ec)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-07 22:31:21 +01:00
Michael Halstead
f9e8cb23e3 releases: update to include 3.1.16
(From yocto-docs rev: e33a626774034a833a92108c2adf6799098685c0)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:23:57 +01:00
Alexander Kanavin
092e092ee5 qemu: update 6.2.0 -> 7.0.0
Drop xfs/libxml2 options no longer offered upstream.

Dropped patches all found their way upstream, particularly
0001-qemu-Add-missing-wacom-HID-descriptor.patch as well.

(From OE-Core rev: ab6bd34a07d10583aeb9377a7fdb9392242b6a8c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
5202d296e8 gnupg: update 2.3.4 -> 2.3.6
Remove 0003-dirmngr-uses-libgpg-error.patch
(upstream addressed the issue).

(From OE-Core rev: be6636267fd3e80c1b7681ba899b8b752b7a39b4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
67ca7229c1 xauth: update 1.1.1 -> 1.1.2
(From OE-Core rev: e070adcdab1d686ecba9ccefde2edca05c4ef8f5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
1519626b3a librsvg: update 2.54.0 -> 2.54.1
Drop patch as issue addressed upstream.

Restore doc generation, as it is now possible to disable/enable.

(From OE-Core rev: 9fb6450a71578a8399eeccf41d2c515543b4aae7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
b66f69b0a4 libhandy: update 1.5.0 -> 1.6.2
Doc generation has been migrated to gi-docgen from gtk-doc.

(From OE-Core rev: b6b3ff25ee3bf22d9b3d873924afb53d3fb59ddc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
bfac997800 lsof: update 4.94.0 -> 4.95.0
(From OE-Core rev: 2bdeb1067a27fc478556bee9d22672be554611db)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
2a39819c39 rsync: update 3.2.3 -> 3.2.4
Drop configure options that have been removed upstream.

License-Update: formatting
(From OE-Core rev: bc9bf4c2ea4230391fc3ee2f55d1f73e1dd39edf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
1d9533d4e7 llvm: update 14.0.1 -> 14.0.3
(From OE-Core rev: 24cad5d1bb422e7d54c571902d53330c1f6514b2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
c3bd8c738f libdnf: update 0.66.0 -> 0.67.0
(From OE-Core rev: a0490d98789efb6b82ba5a7b64f4cc028a53c24d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
1deff80097 git: update 2.35.3 -> 2.36.0
(From OE-Core rev: a892685d3a56a966f54fdfa6d0898912adfdfdb2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
a1e10aea03 elfutils: update 0.186 -> 0.187
Drop backports.

License-Update: copyright years, copyright holders
(From OE-Core rev: d6d64579f1ca08b22cc8e17e61b446283371ce54)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
a81af375df pciutils: update 3.7.0 -> 3.8.0
Rebase configure.patch

Drop symlink creation; make install already does it.

(From OE-Core rev: 8b35bad89eafd51d49438725e781450d7907d0f2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
c8d6305ef5 sysvinit: update 3.02 -> 3.04
(From OE-Core rev: 579cadce9f60e71bd295153476e76f24466a2d83)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
564f5a6d5c xwayland: upgrade 22.1.0 -> 22.1.1
(From OE-Core rev: aa0028e19651665f6671d7c57646cfc97c7ba763)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
e3a04da3c4 xorgproto: upgrade 2021.5 -> 2022.1
(From OE-Core rev: d2530a6f02c22a797e808d63d0ce53479e7985c9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
fa5e53c2a8 webkitgtk: upgrade 2.36.0 -> 2.36.1
(From OE-Core rev: 4ed608d33fe5f38bc172e0cc6d938ffab184a47a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
950f4fd969 vte: upgrade 0.66.2 -> 0.68.0
(From OE-Core rev: 90ae2252569891e87c10d36918051d70632bb716)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
af6bbe8b1f vala: upgrade 0.56.0 -> 0.56.1
(From OE-Core rev: 0d78d6d6122b776f9abac27e3a71a3196999bebd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
7b92062c84 sqlite3: upgrade 3.38.2 -> 3.38.3
(From OE-Core rev: 1efd89a4572bb2f39728fd53a1d4db944b06ff38)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
537b9664d8 repo: upgrade 2.23 -> 2.24.1
(From OE-Core rev: 75dde0e4c9545c5e2df1477ee4f495e431910422)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
5624d2d926 python3-pytest: upgrade 7.1.1 -> 7.1.2
(From OE-Core rev: 3c17d24288bbf8134505c91fb5dccff5f433539d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
a9438b5c04 python3-pygobject: upgrade 3.42.0 -> 3.42.1
(From OE-Core rev: e4f371ea27ec1dba8a59e3e5a56646042427018d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
fae3b44197 python3-jinja2: upgrade 3.1.1 -> 3.1.2
(From OE-Core rev: 1e58fa1fff649a4ab07290d2b0e5a8d69d51ef16)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
41fa031516 python3-hypothesis: upgrade 6.44.0 -> 6.46.0
(From OE-Core rev: fde1be0870cc703375e45a43ba2481765e76c52e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
b5547555c9 python3-dtschema: upgrade 2022.1 -> 2022.4
(From OE-Core rev: 409db81eb1459f67b6803242d027bebab4949e1b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
2484adb501 python3-cryptography-vectors: upgrade 36.0.2 -> 37.0.1
(From OE-Core rev: 043af57a2ee604dd2edf5ffdeee511f5e43e607a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
38fbae03f8 piglit: upgrade to latest revision
(From OE-Core rev: d29f15404eb5903c7023724a03c3c59216435041)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
dc4ac7877c parted: upgrade 3.4 -> 3.5
(From OE-Core rev: 68a3a770b7ecd8b29fa08908d6cef86d90eb6111)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
3704331fc6 pango: upgrade 1.50.6 -> 1.50.7
(From OE-Core rev: 65ff92f7b51bc67806c75c469665ad30d19e2bba)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:38 +01:00
Alexander Kanavin
b59c446a77 neard: upgrade 0.16 -> 0.18
(From OE-Core rev: 663e3646afac8d74ca9ef5619521a517272843e2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
0b78a908a1 mmc-utils: upgrade to latest revision
(From OE-Core rev: 1bbf92da43860d8b181957172e4f93dad61ac797)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
6209fb2747 lttng-tools: upgrade 2.13.4 -> 2.13.7
(From OE-Core rev: c7e2901eacf3dcbd0c5bb91d2cc1d467b4a9aaf7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
a61bcada1c libx11: upgrade 1.7.5 -> 1.8
(From OE-Core rev: 5b8a4afea0c34a410e9efbabc9e3b4dec7ec504d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
ab73f2d0a5 libseccomp: upgrade 2.5.3 -> 2.5.4
(From OE-Core rev: 630a7c184a936503ee4a7155925fb4746a6d93da)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
8f2f0fc8e8 libpipeline: upgrade 1.5.5 -> 1.5.6
(From OE-Core rev: 701e21549e3aff00ed046d2d61dd90d629e006f1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
8974c3e0bf libnotify: upgrade 0.7.9 -> 0.7.11
(From OE-Core rev: 6da214b2a177f9182d8d0518be0d988475bf4675)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
115a669fc9 libmnl: upgrade 1.0.4 -> 1.0.5
(From OE-Core rev: 541dd9554e54244a5e6c43792895c4dd846bd6bf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
e149bbc2ea libinput: upgrade 1.19.3 -> 1.19.4
(From OE-Core rev: d32d51753aadf6c2747c79927dad0c9a044ad5df)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
bc06add124 harfbuzz: upgrade 4.2.0 -> 4.2.1
(From OE-Core rev: e40d68a78c1a0d7e26e6859ede53105463af61f0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
661105b761 fribidi: upgrade 1.0.11 -> 1.0.12
(From OE-Core rev: 5396115fc726f0a9f8a76d1b3ec27ea73062367b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
f023ea5f7d ffmpeg: upgrade 5.0 -> 5.0.1
(From OE-Core rev: 90f35ceb209a51dfe0cd29e1d8646fcc501b7269)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
2758e4448e epiphany: upgrade 42.0 -> 42.2
(From OE-Core rev: 91b53781ee883f5f40d989e398064c294030fa53)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
baee95cb37 ell: upgrade 0.49 -> 0.50
(From OE-Core rev: 9a9c78fb94d04c1b38d8d0f2cb283e19ed513a12)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
bdcc881c6b dnf: upgrade 4.11.1 -> 4.12.0
(From OE-Core rev: be789a90fa494f0513841bc2497fc26ba334a421)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
873f5fd669 diffoscope: upgrade 208 -> 211
(From OE-Core rev: 2cf26abcc36e945417229c0bebb0861e9b343e63)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
808b08a987 cronie: upgrade 1.6.0 -> 1.6.1
(From OE-Core rev: 4bcd528050c01a1e7a3d1a847379833672900ad9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
16fd109587 bind: upgrade 9.18.1 -> 9.18.2
(From OE-Core rev: 5398263c8e070110a045a5f8999712ba4be628de)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
78aad10cb6 at-spi2-core: upgrade 2.44.0 -> 2.44.1
(From OE-Core rev: fd8ece395f17686032218fcc5833a1df93aaf7bf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
583afe5618 python3-pygments: upgrade 2.11.2 -> 2.12.0
License-Update: copyright years
(From OE-Core rev: 986244fa3f61832c7c8807c96423f64fc916c9c2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
8df997d1ed python3-mako: upgrade 1.1.6 -> 1.2.0
License-Update: copyright years
(From OE-Core rev: f273900e846b8ac416c9d579db32a08c2f34141e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
0304ca57cf python3-babel: upgrade 2.9.1 -> 2.10.1
License-Update: copyright years
(From OE-Core rev: 63c3f731e94622648267723591678b114bf070f6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
578c167df3 mesa: upgrade 22.0.0 -> 22.0.2
(From OE-Core rev: f3e9444968fd47b3c8e0b2ee7b1b17f43a6bd56b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
8558c5292a libsdl2: upgrade 2.0.20 -> 2.0.22
(From OE-Core rev: 047f05c7a641db4138cbf3b3ea965873fe75035c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
bf6c662361 libnl: upgrade 3.5.0 -> 3.6.0
(From OE-Core rev: 09bdeeabf03b6ca1c5410dc7573571554cf172ce)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
3d2a3d92fe vulkan: upgrade 1.3.204.1 -> 1.3.211.0
(From OE-Core rev: accb520dbfd1ad073eb5c4c20d43b6c179508085)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
63fb37b1ac util-linux: upgrade 2.37.4 -> 2.38
(From OE-Core rev: 929af31db89bb5540b56d953dee2950833390407)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
f6a029b9de python3-cryptography: upgrade 36.0.2 -> 37.0.1
Drop backported fix-leak-metric.patch.

Adjust versions of crate components.

(From OE-Core rev: 9a9b172da07c719aff3630bd25ec859e57f246f4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Alexander Kanavin
990b071087 systemd: upgrade 250.4 -> 250.5
Drop 0029-network-enable-KeepConfiguration-when-running-on-net.patch as
patch merged upstream.

(From OE-Core rev: e07ba76fc78b44f338e574644a8ae3b6cddc9f08)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Khem Raj
4eba2c38d7 musl: Upgrade to tip of trunk
brings in pre-work for submitting rv32 port

* 6e9d2370 use __fstat instead of __fstatat with AT_EMPTY_PATH in __map_file
* 05a55868 provide an internal namespace-safe __fstat
* fb10dc28 only use fstatat and others legacy stat syscalls if they exist
* 2b754a54 drop direct use of stat syscalls in internal __map_file
* c9ba0769 provide an internal namespace-safe __fstatat
* 7edbcbeb drop direct use of stat syscalls in fchmodat
* 9a937495 drop use of stat operation in temporary file name generation
* 12a757b3 only fallback to gettimeofday/settimeofday syscalls if they exist
* 41149ea8 only use getrlimit/setrlimit syscalls if they exist
* 8910efd0 don't remap internal-use syscall macros to nonexistent time32 syscalls
* 03f71251 remove ARMSUBARCH relic from configure
* 55b727d7 add missing POSIX confstr keys for pthread CFLAGS/LDFLAGS
* 8cf87b30 fix incorrect parameter name in internal netlink.h RTA_OK macro

(From OE-Core rev: e3c2bc571e173e230cd3942888bdcf6423f14a2e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Rouven Czerwinski
10002fa826 kbd: fix pam DISTRO_FEATURES check
The DISTRO_FEATURES check for pam does not have a variable for no set
and has no qouting for strings, in case pam is not contained within
DISTRO_FEATURES, the resulting test in the install routine will not
check against anything and fail with a syntax error:

  […]/build/tmp/work/cortexa9hf-neon-apa-linux-gnueabi/kbd/2.4.0-r0/temp/run.do_install.1052292: 158: [: =: unexpected operator

check within the do_install script:

  if [ = yes ]

Provide the quoting and a proper no value in case the pam distro feature
ist not set.

(From OE-Core rev: 366c657c688270d68b1c688a2446389c8934cd58)

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Trevor Woerner
cb70fcae6b DISTRO_FEATURES: remove uclibc remnants
"argp" was used to tweak a uclibc feature. With uclibc's removal, this
option to DISTRO_FEATURES is no longer required/used.

(From OE-Core rev: 335940ac3efb4589e67453b132c2e50bd6c75639)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:37 +01:00
Jon Mason
0bce62d586 qemuarmv5: use arm-versatile-926ejs KMACHINE
Use the Arm Versatile 926 kernel configs to get this machine working
again.

(From OE-Core rev: 980c0718479198ad94fc1e99a4ed25aea6f6dd96)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Acked-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:36 +01:00
Simone Weiss
abb249841a libgcrypt: Add ptest
Add a ptest for libgcript to core-image-ptest-all. All tests passed on a trial
run.

(From OE-Core rev: 7e101c0231f9593185146770f1496a38fa9c590e)

Signed-off-by: Simone Weiss <simone.weiss@elektrobit.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:36 +01:00
Davide Gardenal
3fe41b9b46 rootfs-postcommands: fix symlinks where link and output path are equal
When creating the manifest and the testdata.json links, if the link
name is equal to the output name the link is not created, otherwise
it is. This prevents a link-to-self in the first case.

(From OE-Core rev: bed63756c56f296ff3d5a7eef66e978bd19f1008)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 21:17:36 +01:00
Richard Purdie
934627728d bitbake: cookerdata: Change emphasis in error message to be clearer to users
Users are misreading this message. Reorder the wording to make
the empahsis clearer on the shell environment.

(Bitbake rev: dd2475e36af470ea47b0841d181444e36aa6e947)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 09:24:00 +01:00
Bruce Ashfield
7d216bcc1e yocto-bsps: update to v5.15.36
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    45451e8015a9 Linux 5.15.36
    bb906d15a99e arm64: dts: qcom: add IPA qcom,qmp property
    1ea01e64632f block/compat_ioctl: fix range check in BLKGETSIZE
    6a3c609feb11 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
    b1b8f39c2475 jbd2: fix a potential race while discarding reserved buffers after an abort
    2e25c46c6eef netfilter: nft_ct: fix use after free when attaching zone template
    2b273d1fd18e ext4: force overhead calculation if the s_overhead_cluster makes no sense
    52ca84a3edd1 ext4: fix overhead calculation to account for the reserved gdt blocks
    6b952563934c ext4, doc: fix incorrect h_reserved size
    9b90003771e5 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
    e3912775b476 ext4: fix use-after-free in ext4_search_dir
    8bb5676b49d3 ext4: fix symlink file size not match to file content
    ba50ea456f49 ext4: fix fallocate to use file_modified to update permissions consistently
    67e4860eeed8 netfilter: conntrack: avoid useless indirection during conntrack destruction
    bcba40bd36d7 netfilter: conntrack: convert to refcount_t api
    4bbd693d9f0a KVM: SVM: Flush when freeing encrypted pages even on SME_COHERENT CPUs
    8b2da9690489 KVM: nVMX: Defer APICv updates while L2 is active until L1 is active
    a41b3243a6de KVM: x86: Pend KVM_REQ_APICV_UPDATE during vCPU creation to fix a race
    2b4417acd3c6 KVM: x86/pmu: Update AMD PMC sample period to fix guest NMI-watchdog
    87d95ff0ca27 arm_pmu: Validate single/group leader events
    4d98fbb26683 ARC: entry: fix syscall_trace_exit argument
    7b69c07beb23 e1000e: Fix possible overflow in LTR decoding
    73a0b4c5c0bd ASoC: soc-dapm: fix two incorrect uses of list iterator
    571a67b0d8a4 gpio: Request interrupts after IRQ is initialized
    e411af98013d openvswitch: fix OOB access in reserve_sfa_size()
    bac4cadeb718 xtensa: fix a7 clobbering in coprocessor context load/store
    91335ca9ebe7 xtensa: patch_text: Fixup last cpu should be master
    49952e31e50d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
    04ecea282b42 perf script: Always allow field 'data_src' for auxtrace
    a92335b4b189 powerpc/perf: Fix power10 event alternatives
    7a56867c5ef3 powerpc/perf: Fix power9 event alternatives
    53c4a9ff225b drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    9dc46d2e3723 KVM: PPC: Fix TCE handling for VFIO
    76614b111867 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
    7981351a916e drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
    56637084e8a5 perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
    b1b929468229 sched/pelt: Fix attach_entity_load_avg() corner case
    914473a07088 scsi: sr: Do not leak information in ioctl
    f0cfae3e0d3a Input: omap4-keypad - fix pm_runtime_get_sync() error checking
    232541989a1a net: atlantic: invert deep par in pm functions, preventing null derefs
    6b8af9f96749 dmaengine: imx-sdma: fix init of uart scripts
    1a8d1665cff1 dma: at_xdmac: fix a missing check on list iterator
    d10a711d4db6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading
    48b2ab1a960a mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
    41ba681c6373 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
    9dcb65cdf312 mm, hugetlb: allow for "high" userspace addresses
    07bdd207774c memcg: sync flush only if periodic flush is delayed
    9c71b29d55d4 mm/memory-failure.c: skip huge_zero_page in memory_failure()
    b81291922f8b EDAC/synopsys: Read the error count from the correct register
    87dd813bd2c3 nvme-pci: disable namespace identifiers for Qemu controllers
    dab2f477e15a nvme-pci: disable namespace identifiers for the MAXIO MAP1002/1202
    25f37ed22a9e nvme: add a quirk to disable namespace identifiers
    4a9f9f1791f3 VFS: filename_create(): fix incorrect intent.
    773ca67ffc96 stat: fix inconsistency between struct stat and struct compat_stat
    80c713a894c3 scsi: qedi: Fix failed disconnect handling
    c7f4f3016fea scsi: iscsi: Fix NOP handling during conn recovery
    e4efe868aa14 scsi: iscsi: Merge suspend fields
    740411ee2f94 scsi: iscsi: Release endpoint ID when its freed
    123a52eb610d net: macb: Restart tx only if queue pointer is lagging
    bc663ff8cae3 drm/msm/mdp5: check the return of kzalloc()
    5fe864539caf dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
    48e1db2c3d42 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
    e25b350e2521 mt76: Fix undefined behavior due to shift overflowing the constant
    a7a651d5a525 net: atlantic: Avoid out-of-bounds indexing
    213330bafd02 cifs: Check the IOCB_DIRECT flag, not O_DIRECT
    6085e24fd972 vxlan: fix error return code in vxlan_fdb_append
    32fe43df71c5 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
    f0ba965e4783 drm/msm/disp: check the return value of kzalloc()
    b78d40339568 ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
    9d441c2e2ad1 platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
    4426116b2e02 reset: tegra-bpmp: Restore Handle errors in BPMP response
    a6ec9d95c205 reset: renesas: Check return value of reset_control_deassert()
    70fa727835f9 ARM: vexpress/spc: Avoid negative array index when !SMP
    d3acd3f9f80e arm64: mm: fix p?d_leaf()
    ec9cb700cbf7 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
    6b9a418d3850 dmaengine: idxd: skip clearing device context when device is read-only
    49047fa486b3 dmaengine: idxd: add RO check for wq max_transfer_size write
    6c30e099b978 dmaengine: idxd: add RO check for wq max_batch_size write
    e83acf93919b net: stmmac: Use readl_poll_timeout_atomic() in atomic state
    79957134ca1d drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in intel_psr2_config_valid() fails
    f3552c37593a netlink: reset network and mac headers in netlink_dump()
    93581ae1f980 net: mscc: ocelot: fix broken IP multicast flooding
    6a5ca57d5acd net: dsa: hellcreek: Calculate checksums in tagger
    40ebaf7365b0 can: isotp: stop timeout monitoring when no first frame was sent
    652a5405396d ipv6: make ip6_rt_gc_expire an atomic_t
    d23fe66eb7b0 l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
    58bdbd121a34 net/sched: cls_u32: fix possible leak in u32_init_knode()
    1b4fb109cc53 net: restore alpha order to Ethernet devices in config
    d5049ef1f671 ip6_gre: Fix skb_under_panic in __gre6_xmit()
    3cc2f6b71eb6 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
    ab26f1136757 net/packet: fix packet_sock xmit return value checking
    b355ca6a915f net/smc: Fix sock leak when release after smc_shutdown()
    8fe1bf23c96b rxrpc: Restore removed timer deletion
    09da8cf94588 ALSA: hda/hdmi: fix warning about PCM count when used with SOF
    c7c71b3e4764 igc: Fix suspending when PTM is active
    da323d0d6aaa igc: Fix BUG: scheduling while atomic
    b3ce7d3a1742 igc: Fix infinite loop in release_swfw_sync
    8920a03a3a15 spi: cadence-quadspi: fix incorrect supports_op() return value
    a583f2f3c878 esp: limit skb_page_frag_refill use to a single page
    76900a136b1a spi: spi-mtk-nor: initialize spi controller after resume
    84e77e72367f dmaengine: dw-edma: Fix unaligned 64bit access
    d18fb19c1c8e dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
    8932d9ee4b9f dmaengine: imx-sdma: Fix error checking in sdma_event_remap
    a8be4586352b dmaengine: idxd: fix device cleanup on disable
    6168532a08ef ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
    053bd9604f05 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
    9a4c63e7332c ASoC: rk817: Use devm_clk_get() in rk817_platform_probe
    bc15442cc99f ASoC: topology: Correct error handling in soc_tplg_dapm_widget_create()
    bc7d0133181e ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
    236785649ad2 ALSA: hda/realtek: Add quirk for Clevo NP70PNP
    aaa22e5b526d ALSA: usb-audio: Clear MIDI port active flag after draining
    ba9e9a794fd1 net/sched: cls_u32: fix netns refcount changes in u32_change()
    8dfec6e0a62d scsi: ufs: core: scsi_get_lba() error fix
    c2d0cdf8ad06 gfs2: assign rgrp glock before compute_bitstructs
    a52e73bef254 mm, kfence: support kmem_dump_obj() for KFENCE objects
    3876c574e4cc perf tools: Fix segfault accessing sample_id xyarray
    77a467983bff mm: page_alloc: fix building error on -Werror=array-compare
    3177d047e58a etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
    3f7b1a87ac75 arm64/mm: drop HAVE_ARCH_PFN_VALID
    c01430cf5b87 dma-mapping: remove bogus test for pfn_valid from dma_map_resource
    155ae0547cb8 xfs: return errors in xfs_fs_sync_fs
    935745abcf4c vfs: make sync_filesystem return errors from ->sync_fs
    6eb927ee189f block: simplify the block device syncing code
    7877e7a5a52e block: remove __sync_blockdev
    4b7617ae04de fs: remove __sync_filesystem
    81d8d30c35ed Linux 5.15.35
    85f25bb9a005 ax25: Fix UAF bugs in ax25 timers
    43c107021d91 ax25: Fix NULL pointer dereferences in ax25 timers
    da6509fba636 ax25: fix NPD bug in ax25_disconnect
    1bf8946d5826 ax25: fix UAF bug in ax25_send_control()
    452ae92b9906 ax25: Fix refcount leaks caused by ax25_cb_del()
    b982492ec3a1 ax25: fix UAF bugs of net_device caused by rebinding operation
    bc706d89199b ax25: fix reference count leaks of ax25_dev
    9af0fd5c4453 ax25: add refcount in ax25_dev to avoid UAF bugs
    de6a76eea645 cpufreq: intel_pstate: ITMT support for overclocked system
    74d23d422556 net: ipa: fix a build dependency
    1648c7b450d8 soc: qcom: aoss: Fix missing put_device call in qmp_get
    d712aea3cd81 cpu/hotplug: Remove the 'cpu' member of cpuhp_cpu_state
    14785927a1d4 drm/i915: Sunset igpu legacy mmap support based on GRAPHICS_VER_FULL
    4ef9951d0252 dma-direct: avoid redundant memory sync for swiotlb
    111becd63e37 timers: Fix warning condition in __run_timers()
    cbdd7a33c533 dt-bindings: net: snps: remove duplicate name
    83a4c1080e09 i2c: pasemi: Wait for write xfers to finish
    44981e4cde68 smp: Fix offline cpu check in flush_smp_call_function_queue()
    2f345bb14ad4 i2c: dev: check return value when calling dev_set_name()
    6b4bf97587ef dm integrity: fix memory corruption when tag_size is less than digest size
    0940795c6834 ARM: davinci: da850-evm: Avoid NULL pointer dereference
    68a38b07f125 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
    c11ef9ded22e genirq/affinity: Consider that CPUs on nodes can be unbalanced
    c61d929944c9 x86/tsx: Disable TSX development mode at boot
    aaf27fcaefc1 x86/tsx: Use MSR_TSX_CTRL to clear CPUID bits
    2dd7d2eddf8e drm/amdgpu: Enable gfxoff quirk on MacBook Pro
    804c096d640e drm/amd/display: don't ignore alpha property on pre-multiplied mode
    adee01bbf6cb ipv6: fix panic when forwarding a pkt with no in6 dev
    cab64cb82fe1 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
    63038f6e96a7 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
    a53062c94b8c ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
    0349df521528 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
    3680b48533ae btrfs: mark resumed async balance as writing
    252db93fd0bd btrfs: fix root ref counts in error handling in btrfs_get_root_ref
    9b81c2c147e1 ath9k: Fix usage of driver-private space in tx_info
    3386927f436e ath9k: Properly clear TX status area before reporting to mac80211
    7a509a9f2bb7 cifs: verify that tcon is valid before dereference in cifs_kill_sb
    bd17422b9b67 gcc-plugins: latent_entropy: use /dev/urandom
    05d1824a7fb4 memory: renesas-rpc-if: fix platform-device leak in error path
    f5e13d700a4d SUNRPC: Fix NFSD's request deferral on RDMA transports
    00715427ea77 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded
    70ea5e7b38c3 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
    12ba1d38115a mm: fix unexpected zeroed page mapping with zram swap
    bb7645c33869 mm, page_alloc: fix build_zonerefs_node()
    b6d17c67885a mm/secretmem: fix panic when growing a memfd_secret
    4cdf0e7a5be8 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
    b8ed0f7531f3 io_uring: use nospec annotation for more indexes
    5218d5cc0283 io_uring: zero tag on rsrc removal
    efb020924a71 drivers: net: slip: fix NPD bug in sl_tx_timeout()
    e455d7510db7 scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
    f1933d9ee745 scsi: mvsas: Add PCI ID of RocketRaid 2640
    389f37e46bdd scsi: mpt3sas: Fail reset operation if config request timed out
    184b4fad0872 drbd: set QUEUE_FLAG_STABLE_WRITES
    6a03581ccffa drm/amd/display: Fix allocate_mst_payload assert on resume
    ac2eb310af05 drm/amd/display: Revert FEC check in validation
    eab8e585840f drm/amd/display: Enable power gating before init_pipes
    d8860f1f9e41 spi: cadence-quadspi: fix protocol setup for non-1-1-X operations
    6d48df738272 myri10ge: fix an incorrect free for skb in myri10ge_sw_tso
    b416898442f2 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
    c3f86aef97cf Drivers: hv: balloon: Disable balloon and hot-add accordingly
    1c9fdb9587e0 net: axienet: setup mdio unconditionally
    61dd8bef80c2 tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
    ed2711c696ce arm64: alternatives: mark patch_alternative() as `noinstr`
    cfd24b14eb2d regulator: wm8994: Add an off-on delay for WM8994 variant
    86d1cdf56fc5 gpu: ipu-v3: Fix dev_dbg frequency output
    4583205048ae ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
    6eecc4811a47 net: micrel: fix KS8851_MLL Kconfig
    9e60a788a3f7 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
    026083cb43a4 scsi: lpfc: Fix queue failures when recovering from PCI parity error
    b7f3b5d70c83 scsi: target: tcmu: Fix possible page UAF
    44f95a5aae99 Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
    92a3499933c1 PCI: hv: Propagate coherence from VMbus device to PCI device
    1b576e81d31b Drivers: hv: vmbus: Deactivate sysctl_record_panic_msg by default in isolated guests
    f2658d5966bc drm/amdkfd: Check for potential null return of kmalloc_array()
    9f0fabf30b48 drm/amdgpu/vcn: improve vcn dpg stop procedure
    25efb191d86b drm/amdkfd: Fix Incorrect VMIDs passed to HWS
    7a3bc11a4034 drm/amd/display: Update VTEM Infopacket definition
    92951699a5f1 drm/amd/display: FEC check in timing validation
    b054e8183fbd drm/amd/display: fix audio format not updated after edid updated
    37bc29a44538 drm/amdgpu/gmc: use PCI BARs for APUs in passthrough
    5a3b56a4a1c7 drm/amdgpu: conduct a proper cleanup of PDB bo
    01dcda701fef btrfs: do not warn for free space inode in cow_file_range
    bb93369f93b5 btrfs: fix fallocate to use file_modified to update permissions consistently
    6dded62e5aa6 drm/amd: Add USBC connector ID
    3e67054c339c block: fix offset/size check in bio_trim()
    279018a01b08 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering"
    b8c0f6d1b04c vfio/pci: Fix vf_token mechanism when device-specific VF drivers are used
    5fda973f0ece dm mpath: only use ktime_get_ns() in historical selector
    9901b07ba42b cifs: potential buffer overflow in handling symlinks
    9ded5ae40f4f nfc: nci: add flush_workqueue to prevent uaf
    331c99ee8dcb net: ftgmac100: access hardware register after clock ready
    8f79ce226ad2 macvlan: Fix leaking skb in source mode with nodst option
    8e86fba13479 perf tools: Fix misleading add event PMU debug message
    1665758b4bfd ALSA: usb-audio: Limit max buffer and period sizes per time
    6b38c5722610 ALSA: usb-audio: Increase max buffer size
    7399ed8e6a8d testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
    9947548d9cef io_uring: verify pad field is 0 in io_get_ext_arg
    7a7c9f9de961 io_uring: verify that resv2 is 0 in io_uring_rsrc_update2
    22aa1597f462 io_uring: move io_uring_rsrc_update2 validation
    cb981d5c7511 ALSA: mtpav: Don't call card private_free at probe error path
    872e5fa0781f ALSA: ad1889: Fix the missing snd_card_free() call at probe error
    96aceacda8d2 netfilter: nf_tables: nft_parse_register can return a negative value
    90c153ca45da sctp: Initialize daddr on peeled off socket
    50d46b5ce004 scsi: iscsi: Fix unbound endpoint error handling
    578616ac3d87 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
    485780af7ef1 scsi: iscsi: Fix endpoint reuse regression
    cbd4f4e40944 scsi: iscsi: Fix offload conn cleanup when iscsid restarts
    cc0082d45de1 scsi: iscsi: Move iscsi_ep_disconnect()
    d6f6f945e850 scsi: pm80xx: Enable upper inbound, outbound queues
    b02c509ceef4 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
    3a523807f014 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
    66b3107a4a06 drm/msm/dp: add fail safe mode outside of event_mutex context
    815006c33391 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
    a6549b364be4 drm/msm: Fix range size vs end confusion
    1c86b7ea63ff netfilter: nft_socket: make cgroup match work in input too
    5a52384a5134 cfg80211: hold bss_lock while updating nontrans_list
    d5be67ecbeff net/sched: taprio: Check if socket flags are valid
    62a48383ebe2 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
    72f9c15854b0 net: dsa: felix: suppress -EPROBE_DEFER errors
    13faa76cf572 net/sched: fix initialization order when updating chain 0 head
    4c979e6fcec8 mlxsw: i2c: Fix initialization error flow
    152b813d8ba5 net: mdio: don't defer probe forever if PHY IRQ provider is missing
    675e7d3086d0 cifs: release cached dentries only if mount is complete
    d40cf3492277 gpiolib: acpi: use correct format characters
    93940fc4cb81 veth: Ensure eth header is in skb's linear part
    de8a332c86a7 net/sched: flower: fix parsing of ethertype following VLAN header
    726ae7300fcc SUNRPC: Fix the svc_deferred_event trace class
    ec2ab59b9e66 media: rockchip/rga: do proper error checking in probe
    b0d8a9eb3239 firmware: arm_scmi: Fix sorting of retrieved clock rates
    e2da8f9ce3ea Revert "ath11k: mesh: add support for 256 bitmap in blockack frames in 11ax"
    9f029cb2c92e memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
    e7b1992b0722 firmware: arm_scmi: Remove clear channel call on the TX channel
    77ffc38e577d drm/msm: Add missing put_task_struct() in debugfs path
    aa4845194b9d ALSA: nm256: Don't call card private_free at probe error path
    425c83e2898d ALSA: usb-audio: Cap upper limits of buffer/period bytes for implicit fb
    3bbd4850d957 ALSA: via82xx: Fix the missing snd_card_free() call at probe error
    56e44ff13d84 ALSA: sonicvibes: Fix the missing snd_card_free() call at probe error
    73229d7cb836 ALSA: sc6000: Fix the missing snd_card_free() call at probe error
    df03ce487e1b ALSA: rme96: Fix the missing snd_card_free() call at probe error
    ef4c35339414 ALSA: rme9652: Fix the missing snd_card_free() call at probe error
    4efa63663c36 ALSA: rme32: Fix the missing snd_card_free() call at probe error
    bb94f5d98511 ALSA: riptide: Fix the missing snd_card_free() call at probe error
    4ecd10217df6 ALSA: oxygen: Fix the missing snd_card_free() call at probe error
    30b86477daaa ALSA: maestro3: Fix the missing snd_card_free() call at probe error
    5fbb73cb1208 ALSA: lx6464es: Fix the missing snd_card_free() call at probe error
    0651442d22e2 ALSA: lola: Fix the missing snd_card_free() call at probe error
    0bec8b8a57de ALSA: korg1212: Fix the missing snd_card_free() call at probe error
    d9ac5256de1f ALSA: intel_hdmi: Fix the missing snd_card_free() call at probe error
    e87b8d0ba455 ALSA: intel8x0: Fix the missing snd_card_free() call at probe error
    547c9af67b4e ALSA: ice1724: Fix the missing snd_card_free() call at probe error
    141abcbf902a ALSA: hdspm: Fix the missing snd_card_free() call at probe error
    f006a4bcf8bb ALSA: hdsp: Fix the missing snd_card_free() call at probe error
    85515309293b ALSA: galaxy: Fix the missing snd_card_free() call at probe error
    841e8f8dd21f ALSA: fm801: Fix the missing snd_card_free() call at probe error
    3a738f1b3ffd ALSA: es1968: Fix the missing snd_card_free() call at probe error
    d3c6ac7a051c ALSA: es1938: Fix the missing snd_card_free() call at probe error
    20b35ba7aa2f ALSA: ens137x: Fix the missing snd_card_free() call at probe error
    0d52c09f0c17 ALSA: emu10k1x: Fix the missing snd_card_free() call at probe error
    2a2a75ebdbd4 ALSA: echoaudio: Fix the missing snd_card_free() call at probe error
    648e89e9de29 ALSA: cs5535audio: Fix the missing snd_card_free() call at probe error
    9decc5bfd173 ALSA: cs4281: Fix the missing snd_card_free() call at probe error
    2dde47610757 ALSA: cmipci: Fix the missing snd_card_free() call at probe error
    f98476228801 ALSA: ca0106: Fix the missing snd_card_free() call at probe error
    e5a54e236f70 ALSA: bt87x: Fix the missing snd_card_free() call at probe error
    935629ba096e ALSA: azt3328: Fix the missing snd_card_free() call at probe error
    3a943321c362 ALSA: aw2: Fix the missing snd_card_free() call at probe error
    811a92b866a0 ALSA: au88x0: Fix the missing snd_card_free() call at probe error
    ea61c1bd582b ALSA: atiixp: Fix the missing snd_card_free() call at probe error
    007a9b5554e1 ALSA: als4000: Fix the missing snd_card_free() call at probe error
    291d9e5e94d0 ALSA: als300: Fix the missing snd_card_free() call at probe error
    5bc156409025 ALSA: ali5451: Fix the missing snd_card_free() call at probe error
    cfa98d6c41e0 ALSA: sis7019: Fix the missing error handling
    1479bdea76dd ALSA: core: Add snd_card_free_on_error() helper
    07cacfd9d9dc btrfs: release correct delalloc amount in direct IO write path
    8ff8bdb8c92d net: ipa: request IPA register values be retained
    587ced6b8cf3 dt-bindings: net: qcom,ipa: add optional qcom,qmp property
    7883df73fd59 soc: qcom: aoss: Expose send for generic usecase
    ec13aa4e0085 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
    ed0e951463ea btrfs: remove no longer used counter when reading data page
    6308ab54c8ec btrfs: remove unused parameter nr_pages in add_ra_bio_pages()
    ff810f85ed3f ACPI: processor: idle: fix lockup regression on 32-bit ThinkPad T40
    7cad1c40ef91 ACPI: processor idle: Allow playing dead in C3 state
    631473adaaef ACPI: processor idle: Check for architectural support for LPI
    5b13295ac584 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
    9873fe0f3857 hamradio: remove needs_free_netdev to avoid UAF
    c799c18a287e hamradio: defer 6pack kfree after unregister_netdev
    8e663865f528 drm/amd/display: Fix p-state allow debug index on dcn31
    685a19fa6ae9 drm/amd/display: Add pstate verification and recovery for DCN31
    1b86fc15ba6d Linux 5.15.34
    c9ea4fb1f3f3 stacktrace: move filter_irq_stacks() to kernel/stacktrace.c
    fddb88bd266f powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
    68cea1e243b8 static_call: Don't make __static_call_return0 static
    429f413ed83f mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
    8fe51495efff irqchip/gic, gic-v3: Prevent GSI to SGI translations
    69943af22a32 powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S
    7b5d60323f90 irqchip/gic-v4: Wait for GICR_VPENDBASER.Dirty to clear before descheduling
    f4f8b6d8490e x86,static_call: Fix __static_call_return0 for i386
    ff6505766565 sched: Teach the forced-newidle balancer about CPU affinity limitation.
    f399f38eda57 x86/bug: Prevent shadowing in __WARN_FLAGS
    469eed08becd Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
    f5e59185b033 mm: don't skip swap entry even if zap_details specified
    4693fce5a5d4 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
    47802775bc11 selftests: cgroup: Test open-time credential usage for migration checks
    e326f218de1f selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
    33db9912ff7c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
    f1607e13ed71 Revert "net/mlx5: Accept devlink user input after driver initialization complete"
    226b4327ef5c KVM: avoid NULL pointer dereference in kvm_dirty_ring_push
    104bfa23a001 dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
    3c3a8e56553e tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
    fbe722d48b8e tools build: Filter out options and warnings not supported by clang
    9b2b01e36741 perf python: Fix probing for some clang command line options
    03044b841406 perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
    3b14aa053181 Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()"
    5d69622eb036 SUNRPC: Don't call connect() more than once on a TCP socket
    22174e8ce8ac rtc: mc146818-lib: fix signedness bug in mc146818_get_time()
    9e46f7319549 selftests/bpf: Fix u8 narrow load checks for bpf_sk_lookup remote_port
    0c64645e6373 bpf: Make remote_port field in struct bpf_sk_lookup 16-bit wide
    e2ff1d653069 Revert "selftests: net: Add tls config dependency for tls selftests"
    7f48521172fb net/smc: send directly on setting TCP_NODELAY
    20633216ded0 KVM: SVM: Allow AVIC support on system w/ physical APIC ID > 255
    b536cf3eb6f9 drm/amdgpu: don't use BACO for reset in S3
    3c8902bbf2ab drm/amdkfd: Create file descriptor after client is added to smi_clients list
    588393cdae7f drm/nouveau/pmu: Add missing callbacks for Tegra devices
    6a5d209898a6 drm/amdgpu/vcn: Fix the register setting for vcn1
    155338be5d90 drm/amdgpu/smu10: fix SoC/fclk units in auto mode
    0115e4f2f6bc drm/amdgpu/display: change pipe policy for DCN 2.1
    28dc1503a9d3 drm/panel: ili9341: fix optional regulator handling
    b911702a0105 SUNRPC: Prevent immediate close+reconnect
    a551e6629247 amd/display: set backlight only if required
    2388f826cdc9 fbdev: Fix unregistering of framebuffers without device
    7218a789abb3 irqchip/gic-v3: Fix GICR_CTLR.RWP polling
    fcf9ccf9d26a perf/core: Inherit event_caps
    0309f053ce47 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
    8a05a6952ecd ata: sata_dwc_460ex: Fix crash due to OOB write
    136c21ce8e01 perf/x86/intel: Don't extend the pseudo-encoding to GP counters
    983a759640bf x86/mm/tlb: Revert retpoline avoidance approach
    2f67341e5bce x86/msi: Fix msi message data shadow struct
    0912cf021fb5 gpio: Restrict usage of GPIO chip irq members before initialization
    9ca11bd8222a RDMA/hfi1: Fix use-after-free bug for mm struct
    fa7cc2df9505 arm64: patch_text: Fixup last cpu should be master
    90012c6748d3 spi: core: add dma_map_dev for __spi_unmap_msg()
    887366faf0c9 btrfs: prevent subvol with swapfile from being deleted
    4b98799e181b btrfs: fix qgroup reserve overflow the qgroup limit
    56c88810466b perf/x86/intel: Update the FRONTEND MSR mask on Sapphire Rapids
    fab4b79e869a x86/speculation: Restore speculation related MSRs during S3 resume
    fcf185f7e03e x86/pm: Save the MSR validity status at context setup
    ba7261af2b03 io_uring: fix race between timeout flush and removal
    fe223dd2f18b io_uring: implement compat handling for IORING_REGISTER_IOWQ_AFF
    ae6cba337cbf io_uring: defer splice/tee file validity check until command issue
    056e1e7c1713 io_uring: don't check req->file in io_fsync_prep()
    198932a14aeb mm/mempolicy: fix mpol_new leak in shared_policy_replace
    a04cb99c5d46 mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
    c21d040de622 highmem: fix checks in __kmap_local_sched_{in,out}
    9fb8bc6cfc58 lz4: fix LZ4_decompress_safe_partial read out of bound
    75cae557bc44 mmc: core: Fixup support for writeback-cache for eMMC and SD
    5d2712b78056 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
    11497ecbda04 mmc: mmci: stm32: correctly check all elements of sg list
    1515d2a466bf mmc: block: Check for errors after write on SPI
    86b5d155fced Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
    dc5e603c247d scsi: ufs: ufs-pci: Add support for Intel MTL
    25c1353dca74 scsi: mpt3sas: Fix use after free in _scsih_expander_node_remove()
    32dd8b63e633 arm64: Add part number for Arm Cortex-A78AE
    159c7db3ccbb perf session: Remap buf if there is no space for event
    58aece34fb7f perf tools: Fix perf's libperf_print callback
    e1f2750e7531 perf: arm-spe: Fix perf report --mem-mode
    47e239117bd9 iommu/omap: Fix regression in probe for NULL pointer dereference
    3fd9be3ec5c8 SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
    3b32dda29f99 SUNRPC: Handle low memory situations in call_status()
    03ac680dacf9 SUNRPC: Handle ENOMEM in call_transmit_status()
    285f5d724005 io_uring: don't touch scm_fp_list after queueing skb
    50c981bd7790 io_uring: nospec index for tags on files update
    685f42de443d scsi: ufs: ufshpb: Fix a NULL check on list iterator
    a972c7687233 drbd: Fix five use after free bugs in get_initial_state
    1816af613e56 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
    88a3bdcb462a spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
    c9bdce2359b5 qede: confirm skb is allocated before using
    fb45e80b2194 net: phy: mscc-miim: reject clause 45 register accesses
    8ba8e1398a66 net: sfc: fix using uninitialized xdp tx_queue
    571d8e1d154c rxrpc: fix a race in rxrpc_exit_net()
    837b96d81039 net: openvswitch: fix leak of nested actions
    42b2e418f9a2 net: ethernet: mv643xx: Fix over zealous checking of_get_mac_address()
    085d002432ac net: openvswitch: don't send internal clone attribute to the userspace.
    70cf0b820e55 ice: xsk: fix VSI state check in ice_xsk_wakeup()
    840cbbdc8bf1 ice: synchronize_rcu() when terminating rings
    070aa68f8fab ipv6: Fix stats accounting in ip6_pkt_drop
    1c0763475401 ice: Do not skip not enabled queues in ice_vc_dis_qs_msg
    5d3e9f71c310 ice: Set txq_teid to ICE_INVAL_TEID on ring creation
    599874bbc4ed dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
    2cb2b3fb20a2 sctp: count singleton chunks in assoc user stats
    92f1947c0d26 IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
    3b5fd693621b IB/cm: Cancel mad on the DREQ event when the state is MRA_REP_RCVD
    34b8ba1cb337 RDMA/mlx5: Add a missing update of cache->last_add
    5b88519b78e8 RDMA/mlx5: Don't remove cache MRs when a delay is needed
    d1c87d36a655 sfc: Do not free an empty page_ring
    917eeb220023 bnxt_en: Prevent XDP redirect from running when stopping TX queue
    154fc224e65e bnxt_en: reserve space inside receive page for skb_shared_info
    6108a8918fd7 bnxt_en: Synchronize tx when xdp redirects happen on same ring
    87f5d66daa5f arch/arm64: Fix topology initialization for core scheduling
    cb713eb793e6 regulator: atc260x: Fix missing active_discharge_on setting
    336942b1682f regulator: rtq2134: Fix missing active_discharge_on setting
    2560fe298e6e drm/imx: dw_hdmi-imx: Fix bailout in error cases of probe
    31e449302ed0 drm/imx: Fix memory leak in imx_pd_connector_get_modes
    c1e96348dbeb drm/imx: imx-ldb: Check for null pointer after calling kmemdup
    47fec6139b5e net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
    907c97986d6f net: ipv4: fix route with nexthop object delete warning
    71d28e5073b8 mctp: Fix check for dev_hard_header() result
    40229b2977f1 ice: Clear default forwarding VSI during VSI release
    ba965e8605ae skbuff: fix coalescing for page_pool fragment recycling
    13bcc6f8efcd vrf: fix packet sniffing for traffic originating from ip tunnels
    6e2f1b033b17 net/tls: fix slab-out-of-bounds bug in decrypt_internal
    ed7a824fda87 net: sfc: add missing xdp queue reinitialization
    69ec350a417d vdpa: mlx5: prevent cvq work from hogging CPU
    893c70f8b8f3 vdpa/mlx5: Propagate link status from device to vdpa driver
    dc872b72d180 vdpa/mlx5: Rename control VQ workqueue to vdpa wq
    aefd755a9605 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
    cd483e17eca2 scsi: core: Fix sbitmap depth in scsi_realloc_sdev_budget_map()
    0610371c768c scsi: sr: Fix typo in CDROM(CLOSETRAY|EJECT) handling
    6f52d4cda0bf NFSv4: fix open failure with O_ACCMODE flag
    9f0c217469e8 Revert "NFSv4: Handle the special Linux file open access mode"
    dcd6b1a624c0 Drivers: hv: vmbus: Fix potential crash on module unload
    5ba9d78a7294 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
    985d87e6a365 rtc: mc146818-lib: fix RTC presence check
    be6c3152d6f6 rtc: Check return value from mc146818_get_time()
    8c6921075222 rtc: mc146818-lib: change return values of mc146818_get_time()
    c9f50e06ca76 mm: fix race between MADV_FREE reclaim and blkdev direct IO read
    93a8347f72c0 parisc: Fix patch code locking and flushing
    f77f482ec31a parisc: Fix CPU affinity for Lasi, WAX and Dino chips
    30dd4af48a9e selftests: net: Add tls config dependency for tls selftests
    ea029e4ce760 NFS: Avoid writeback threads getting stuck in mempool_alloc()
    da747de68599 NFS: nfsiod should not block forever in mempool_alloc()
    e04ef859d6c6 SUNRPC: Fix socket waits for write buffer space
    d925b7e78b62 jfs: prevent NULL deref in diFree
    44c2d5fbe7b2 virtio_console: eliminate anonymous module_init & module_exit
    053bbff873a1 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
    c393a9f4cb3b x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy
    e3c961c56ad5 x86: Annotate call_on_stack()
    6bb2270223a8 NFS: swap-out must always use STABLE writes.
    24d28d9b0fd5 NFS: swap IO handling is slightly different for O_DIRECT IO
    a55386405094 SUNRPC: remove scheduling boost for "SWAPPER" tasks.
    20700aa01bc2 SUNRPC/xprt: async tasks mustn't block waiting for memory
    a19fd1d61797 SUNRPC/call_alloc: async tasks mustn't block waiting for memory
    b07387c476a3 clk: Enforce that disjoints limits are invalid
    15bfec9d8030 clk: ti: Preserve node in ti_dt_clocks_register()
    5c0750cad733 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
    12e49aefda2e habanalabs: fix possible memory leak in MMU DR fini
    a34752aa2397 NFSv4: Protect the state recovery thread against direct reclaim
    b37f482ba9f0 NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
    24acdd5f9c91 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
    86efcb524ae1 staging: wfx: fix an error handling in wfx_init_common()
    7295544bcf56 opp: Expose of-node's name in debugfs
    ea1f29584136 cpufreq: CPPC: Fix performance/frequency conversion
    26f0a9e3d04d clk: rockchip: drop CLK_SET_RATE_PARENT from dclk_vop* on rk3568
    caffa76ded5a phy: amlogic: meson8b-usb2: fix shared reset control use
    ab27675a0fcc phy: amlogic: meson8b-usb2: Use dev_err_probe()
    35df38c4be0c phy: amlogic: phy-meson-gxl-usb2: fix shared reset controller use
    42f2142a337e staging: vchiq_core: handle NULL result of find_service_by_handle
    176df12b38c7 staging: vchiq_arm: Avoid NULL ptr deref in vchiq_dump_platform_instances
    161863aec0e1 clk: si5341: fix reported clk_rate when output divider is 2
    31e027259ce4 minix: fix bug when opening a file with O_DIRECT
    4602b7a8ee0d init/main.c: return 1 from handled __setup() functions
    9d849449d28f lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option
    2fe82d325402 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
    3ae7163598c6 ceph: fix inode reference leakage in ceph_get_snapdir()
    eb0e7173d9cb netlabel: fix out-of-bounds memory accesses
    58d52743ae85 netfilter: conntrack: revisit gc autotuning
    d404765dffdb Bluetooth: Fix use after free in hci_send_acl
    f249bbf3cb9a MIPS: ingenic: correct unit node address
    11ba1aa21280 xtensa: fix DTC warning unit_address_format
    13946d5a68ef mt76: fix monitor mode crash with sdio driver
    ac27808b82db usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
    0616792164d3 net: sfp: add 2500base-X quirk for Lantech SFP module
    459e56859f7a net/mlx5e: Remove overzealous validations in netlink EEPROM query
    1c4561d9b5cb net: limit altnames to 64k total
    601f748029f3 net: account alternate interface name memory
    d804db3dafd1 riscv: Fixed misaligned memory access. Fixed pointer comparison.
    6ca71078a91e can: etas_es58x: es58x_fd_rx_event_msg(): initialize rx_event_msg before calling es58x_check_msg_len()
    db9a140a8585 can: isotp: set default value for N_As to 50 micro seconds
    f581df412bc4 scsi: libfc: Fix use after free in fc_exch_abts_resp()
    2a71e3ecd829 powerpc/secvar: fix refcount leak in format_show()
    5c80ff21c5db powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E
    9b85e31309c2 MIPS: fix fortify panic when copying asm exception handlers
    dc9d33b2d8d0 PCI: endpoint: Fix misused goto label
    b6d4b322da46 bnxt_en: Eliminate unintended link toggle during FW reset
    42b6a39f439b Bluetooth: use memset avoid memory leaks
    0000de40b9f3 Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
    bb78c3b11f4d tuntap: add sanity checks about msg_controllen in sendmsg
    e8d8f1d091e4 macvtap: advertise link netns via netlink
    5fb47ca34908 mips: ralink: fix a refcount leak in ill_acc_of_setup()
    58758110912d net/smc: correct settings of RMB window update limit
    dd111d335cab scsi: hisi_sas: Limit users changing debugfs BIST count value
    f05a0d8de2ea scsi: hisi_sas: Free irq vectors in order for v3 HW
    b8fa10d7c8fc scsi: aha152x: Fix aha152x_setup() __setup handler return value
    556ec5030e57 mt76: mt7615: Fix assigning negative values to unsigned variable
    c3543bac6efa powerpc/64s/hash: Make hash faults work in NMI context
    df467929a040 mt76: mt7915: fix injected MPDU transmission to not use HW A-MSDU
    e5ecdb01952f scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req()
    43c617eefab7 scsi: pm8001: Fix tag leaks on error
    2290dcad6f65 scsi: pm8001: Fix task leak in pm8001_send_abort_all()
    ece79aaec8fc scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
    5e4ac14baebb scsi: pm8001: Fix pm80xx_pci_mem_copy() interface
    5e96bb81eddf vfio/pci: Stub vfio_pci_vga_rw when !CONFIG_VFIO_PCI_VGA
    f325d3e1dcc8 drm/amdkfd: make CRAT table missing message informational only
    da52e8b9dad6 dm: requeue IO if mapping table not yet available
    02cc46f397eb dm ioctl: prevent potential spectre v1 gadget
    049072749a5e ipv4: Invalidate neighbour for broadcast address upon address addition
    e45d1d19a0bb drm/msm/dsi: Remove spurious IRQF_ONESHOT flag
    e1b5aae5b6b0 iwlwifi: mvm: move only to an enabled channel
    6f215801c302 iwlwifi: mvm: Correctly set fragmented EBS
    d353d3b27af4 usb: dwc3: pci: Set the swnode from inside dwc3_pci_quirks()
    c64f3707cdf9 net/mlx5e: Disable TX queues before registering the netdev
    83efc05c8579 power: supply: axp288-charger: Set Vhold to 4.4V
    6def4eaf0391 powerpc/set_memory: Avoid spinlock recursion in change_page_attr()
    5d76a88b8536 scsi: mpi3mr: Fix memory leaks
    248ead78f346 scsi: mpi3mr: Fix reporting of actual data transfer size
    53643a112dd6 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    aa9c9fd0ef9d tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.
    bd21b9607bd7 PCI: endpoint: Fix alignment fault error in copy tests
    2aa10e2fa2ab usb: ehci: add pci device support for Aspeed platforms
    99073052f45b iommu/arm-smmu-v3: fix event handling soft lockup
    60eabd66d17f PCI: aardvark: Fix support for MSI interrupts
    330c4e1b4ec4 scsi: smartpqi: Fix kdump issue when controller is locked up
    0a922366d6d9 drm/amdgpu: Fix recursive locking warning
    06ee48a4fc25 powerpc: Set crashkernel offset to mid of RMA region
    9c1ace066f22 net: initialize init_net earlier
    4790998fdd0d ipv6: make mc_forwarding atomic
    e9da1df2c021 libbpf: Fix build issue with llvm-readelf
    19d067c10b71 cfg80211: don't add non transmitted BSS to 6GHz scanned channels
    55c93a89e31d mt76: dma: initialize skip_unmap in mt76_dma_rx_fill
    38fbe8066450 mt76: mt7921: fix crash when startup fails.
    793a37045893 power: supply: axp20x_battery: properly report current when discharging
    a0f8220ce934 drm/v3d: fix missing unlock
    0f8ec114029a scsi: bfa: Replace snprintf() with sysfs_emit()
    1378075fa5bc scsi: mvsas: Replace snprintf() with sysfs_emit()
    1c6ffdf4cc45 bpf: Make dst_port field in struct bpf_sock 16-bit wide
    ff13c90d7f7a drm/bridge: Add missing pm_runtime_put_sync
    35380262304f net/smc: Send directly when TCP_CORK is cleared
    20d01a11efde ath11k: mhi: use mhi_sync_power_up()
    fed4cef115ab ath11k: pci: fix crash on suspend if board file is not found
    c4b7653af62a ath11k: fix kernel panic during unload/load ath11k modules
    910ee99d47d3 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
    e84b0438010d drm/amdkfd: Don't take process mutex for svm ioctls
    1eb598045326 ptp: replace snprintf with sysfs_emit
    052fb1c9ddfb usb: cdnsp: fix cdnsp_decode_trb function to properly handle ret value
    c27576bbbe77 usb: gadget: tegra-xudc: Fix control endpoint's definitions
    111a63235001 usb: gadget: tegra-xudc: Do not program SPARAM
    6040c99cb1a1 drm/amd/display: Use PSR version selected during set_psr_caps
    7e10369c72db drm/amd/display: Fix memory leak
    3edd8646cb7c drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    c4b64a80554e drm/amd/display: Add signal type check when verify stream backends same
    be2f81024e79 ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
    b3ca02c1ee93 drm: Add orientation quirk for GPD Win Max
    d5f6f44e04c3 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
    a997e0f5aa55 KVM: x86/pmu: Fix and isolate TSX-specific performance event logic
    e7bab9898249 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
    5483640f8efb KVM: SVM: Fix kvm_cache_regs.h inclusions for is_guest_mode()
    a82fe0ba1c52 KVM: x86/pmu: Use different raw event masks for AMD and Intel
    105b50d9bb82 kfence: limit currently covered allocations when pool nearly full
    44b44b64b4da kfence: move saving stack trace of allocations into __kfence_alloc()
    72d2d94a981d kfence: count unexpectedly skipped allocations
    5142720dbe51 nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
    64742cf82dec nbd: Fix hungtask when nbd_config_put
    694b5a32c162 nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_add
    3e526e9ae0e4 nbd: add error handling support for add_disk()
    f8008f42d463 rtc: wm8350: Handle error for wm8350_register_irq
    b257272f5483 um: fix and optimize xor select template for CONFIG64 and timetravel mode
    2be1a7f09635 lib/logic_iomem: correct fallback config references
    06f50ca83ace Linux 5.15.33
    541b7456fc4d PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"
    39fd0cc079c9 coredump: Use the vma snapshot in fill_files_note
    cabd69640957 coredump/elf: Pass coredump_params into fill_note_info
    7ba958df6449 coredump: Remove the WARN_ON in dump_vma_snapshot
    f6ca862806df coredump: Snapshot the vmas in do_coredump
    57c04fac8023 iommu/dma: Account for min_align_mask w/swiotlb
    3e44e136560c swiotlb: Support aligned swiotlb buffers
    52d23f5f0915 iommu/dma: Check CONFIG_SWIOTLB more broadly
    bc05d84824c0 iommu/dma: Fold _swiotlb helpers into callers
    c3841d020b82 iommu/dma: Skip extra sync during unmap w/swiotlb
    8771d9673e0b KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
    b0e8e828acb5 mmc: rtsx: Fix build errors/warnings for unused variable
    8af04b6aa02b mmc: rtsx: Let MMC core handle runtime PM
    a9bbdeef768f n64cart: convert bi_disk to bi_bdev->bd_disk fix build
    2a710a5c59e9 torture: Make torture.sh help message match reality
    acabfc943245 openvswitch: Fixed nd target mask field in the flow dump.
    3fc38521fc30 docs: sysctl/kernel: add missing bit to panic_print
    166abd13eab0 um: Fix uml_mconsole stop/go
    94a53804ec3a arm64: dts: ls1046a: Update i2c node dma properties
    32820c358d1b arm64: dts: ls1043a: Update i2c dma properties
    28a020859c00 ARM: dts: spear13xx: Update SPI dma properties
    7aa9bba18f80 ARM: dts: spear1340: Update serial node properties
    dd8772224c19 spi: mediatek: support tick_delay without enhance_timing
    2a6e0695ddd5 media: ov6650: Fix crop rectangle affected by set format
    3995d4cf529c media: ov6650: Add try support to selection API operations
    8f5e6110e108 perf vendor events: Update metrics for SkyLake Server
    b0e5c18317f7 ASoC: topology: Allow TLV control to be either read or write
    678b6901d00b ASoC: SOF: Intel: Fix build error without SND_SOC_SOF_PCI_DEV
    ba8260872dd5 ubi: fastmap: Return error code if memory allocation fails in add_aeb()
    666176d0f9bb dt-bindings: pinctrl: pinctrl-microchip-sgpio: Fix example
    e918b36600d6 dt-bindings: memory: mtk-smi: No need mediatek,larb-id for mt8167
    b2b85196a31a dt-bindings: spi: mxic: The interrupt property is not mandatory
    c19a9d307844 dt-bindings: mtd: nand-controller: Fix a comment in the examples
    716a77f8460d dt-bindings: mtd: nand-controller: Fix the reg property description
    8ec990990be3 mmc: rtsx: Use pm_runtime_{get,put}() to handle runtime PM
    50c906a6977f bpf: Fix comment for helper bpf_current_task_under_cgroup()
    398ac11f4425 bpf: Adjust BPF stack helper functions to accommodate skip > 0
    21b6b8d43d87 af_unix: Support POLLPRI for OOB.
    260daa256d30 mm/usercopy: return 1 from hardened_usercopy __setup() handler
    c9acbcd636ab mm/memcontrol: return 1 from cgroup.memory __setup() handler
    48ddbd8b4e42 ARM: 9187/1: JIVE: fix return value of __setup handler
    6795b20d4b2c mm/mmap: return 1 from stack_guard_gap __setup() handler
    23629b673b78 net: preserve skb_end_offset() in skb_unclone_keeptruesize()
    51e458fc0ca6 net: add skb_set_end_offset() helper
    14d552ab31ed tracing: Have type enum modifications copy the strings
    7007c894631c Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    63351e2e1362 ASoC: soc-compress: Change the check for codec_dai
    7ed3cce2fe68 arm64: mm: Drop 'const' from conditional arm64_dma_phys_limit definition
    5ab0f5e238b9 staging: mt7621-dts: fix pinctrl-0 items to be size-1 items on ethernet
    0e39097efcb5 scsi: qla2xxx: Add qla2x00_async_done() for async routines
    b9cf1208af36 drm/connector: Fix typo in documentation
    5b422da35c15 proc: bootconfig: Add null pointer check
    f78f56488cd3 can: isotp: restore accidentally removed MSG_PEEK feature
    3fc81968625a platform/chrome: cros_ec_typec: Check for EC device
    8c1c3c00dceb spi: Fix Tegra QSPI example
    7480cc0240eb vhost: handle error while adding split ranges to iotlb
    97b5593fd1b1 ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
    dae252901378 riscv module: remove (NOLOAD)
    0853bd6885c2 io_uring: fix memory leak of uid in files registration
    5b9ac3727e4a block: Fix the maximum minor value is blk_alloc_ext_minor()
    21cfddd5e0f6 ARM: iop32x: offset IRQ numbers by 1
    1a3f1cf87054 ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
    619709f0c608 ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
    d509d41d89c5 pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
    3e51c3023228 pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
    b603cbe08b0b net: sparx5: uses, depends on BRIDGE or !BRIDGE
    84817c83c0e7 watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function
    d02ca80ec735 pinctrl: pinconf-generic: Print arguments for bias-pull-*
    4913daecd04a watch_queue: Free the page array when watch_queue is dismantled
    210891d81b9c crypto: arm/aes-neonbs-cbc - Select generic cbc and aes
    c78d23ea7506 mailbox: imx: fix wakeup failure from freeze mode
    8cbf4ae7a283 rxrpc: Fix call timer start racing with call destruction
    432297011caf rxrpc: fix some null-ptr-deref bugs in server_key.c
    88570bda6e48 net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
    a0817ad3f283 net: hns3: fix the concurrency between functions reading debugfs
    5c3c9bce1c99 gfs2: Make sure FITRIM minlen is rounded up to fs block size
    1d8195349742 gfs2: gfs2_setattr_size error path fix
    50ed32e67c5c rtc: check if __rtc_read_time was successful
    9f20ce95db3d modpost: restore the warning message for missing symbol versions
    7aae60df6782 XArray: Update the LRU list in xas_split()
    be8ebbabac94 can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value
    fa9c1f14002d can: mcba_usb: properly check endpoint type
    37f07ad24866 can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
    7521a97b1929 XArray: Fix xas_create_range() when multi-order entry present
    9af42a4f6d81 wireguard: socket: ignore v6 endpoints when ipv6 is disabled
    402991a97715 wireguard: socket: free skb in send6 when ipv6 is disabled
    6a7245252fdc wireguard: queueing: use CFI-safe ptr_ring cleanup function
    c98f792a1468 nvme: fix the read-only state for zoned namespaces with unsupposed features
    7d18d6c71372 nvme: allow duplicate NSIDs for private namespaces
    578bf41d9443 ubifs: rename_whiteout: correct old_dir size computing
    4f75bab98565 ubifs: Fix to add refcount once page is set private
    a7054aaf1909 ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
    56cf8b26b18e ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
    489c3a2577b3 ubifs: Rectify space amount budget for mkdir/tmpfile operations
    a9662bec5a4d ubifs: Fix 'ui->dirty' race between do_tmpfile() and writeback work
    c67bc98d1f08 ubifs: Rename whiteout atomically
    ff846f2c5d1d ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
    c58af8564a7b ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
    2ad07009c459 ubifs: rename_whiteout: Fix double free for whiteout_ui->data
    3fa2d7479605 KVM: SVM: fix panic on out-of-bounds guest IRQ
    63961ac1359e KVM: x86: fix sending PV IPI
    43637ee17092 KVM: Prevent module exit until all VMs are freed
    ba6e8c2df520 KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
    0e5dbc0540ba KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
    569a229142e9 KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
    81e5b16de862 platform: chrome: Split trace include file
    89dad346c241 scsi: qla2xxx: Use correct feature type field during RFF_ID processing
    f63fde0d16a4 scsi: qla2xxx: Reduce false trigger to login
    20909563bd50 scsi: qla2xxx: Fix stuck session of PRLI reject
    2b612191f9d3 scsi: qla2xxx: Fix N2N inconsistent PLOGI
    c9d6081a5f18 scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
    d6f691a133f0 scsi: qla2xxx: Fix hang due to session stuck
    7ccd6063874d scsi: qla2xxx: Fix incorrect reporting of task management failure
    c0300beb313f scsi: qla2xxx: Fix disk failure to rediscover
    9c33d49ab9f3 scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
    d1b7d23cd462 scsi: qla2xxx: Check for firmware dump already collected
    812afc2b8ec0 scsi: qla2xxx: Add devids and conditionals for 28xx
    d70d86f7a6ea scsi: qla2xxx: Fix T10 PI tag escape and IP guard options for 28XX adapters
    2df59f3bb240 scsi: qla2xxx: edif: Fix clang warning
    fbc1aa41269a scsi: qla2xxx: Fix device reconnect in loop topology
    b6c95db6d2e8 scsi: qla2xxx: Fix warning for missing error code
    67b1be130861 scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
    5ef6319f9882 scsi: qla2xxx: Fix premature hw access after PCI error
    826a9d4a00d1 scsi: qla2xxx: Fix scheduling while atomic
    7a3457777c4f scsi: qla2xxx: Fix warning message due to adisc being flushed
    5fb0a488028e scsi: qla2xxx: Fix stuck session in gpdb
    e17111dd2fda scsi: qla2xxx: Implement ref count for SRB
    24e86eae3f7b scsi: qla2xxx: Refactor asynchronous command initialization
    f5a0cf225f8d drm/i915: Reject unsupported TMDS rates on ICL+
    beeebae6ea82 drm/i915: Fix PSF GV point mask when SAGV is not possible
    102cba6d5ae2 drm/i915: Treat SAGV block time 0 as SAGV disabled
    e912d697400c drm/dp: Fix off-by-one in register cache size
    2d67222b2380 powerpc: Fix build errors with newer binutils
    f4b0b5a0f3c1 powerpc: Add set_memory_{p/np}() and remove set_memory_attr()
    a29341e48601 powerpc/lib/sstep: Fix build errors with newer binutils
    d25efd904271 powerpc/lib/sstep: Fix 'sthcx' instruction
    5a3d8f3192a4 powerpc/kasan: Fix early region not updated correctly
    cb188e07105f KVM: x86: hyper-v: HVCALL_SEND_IPI_EX is an XMM fast hypercall
    5c3d0dbe200f KVM: x86: hyper-v: Fix the maximum number of sparse banks for XMM fast TLB flush hypercalls
    72eae60bfe83 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_flush_tlb()
    dbec906dbef6 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_send_ipi()
    f4fd34eaa767 KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMU
    af47248407c0 KVM: x86/mmu: Zap _all_ roots when unmapping gfn range in TDP MMU
    31a70b170e06 KVM: x86/mmu: Move "invalid" check out of kvm_tdp_mmu_get_root()
    48306afcac2a KVM: x86: Reinitialize context if host userspace toggles EFER.LME
    273ad0cf5684 ALSA: hda/realtek: Add alc256-samsung-headphone fixup
    fe440221ca0f media: atomisp: fix bad usage at error handling logic
    251a11699fe5 mmc: host: Return an error when ->enable_sdio_irq() ops is missing
    7c6bd60999f3 tracing: Have TRACE_DEFINE_ENUM affect trace event types as well
    ae2b93b0a6a7 ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13"
    f90db7cca4d4 media: hdpvr: initialize dev->worker at hdpvr_register_videodev
    deb1f0453198 media: Revert "media: em28xx: add missing em28xx_close_extension"
    96a7522c72c4 media: i2c: ov5648: Fix lockdep error
    eae90015d10f video: fbdev: sm712fb: Fix crash in smtcfb_write()
    a07c7b64eadf ASoC: amd: vg: fix for pm resume callback sequence
    4ab0293c961b ARM: mmp: Fix failure to remove sram device
    f8ef3b979bfa ARM: tegra: tamonten: Fix I2C3 pad setting
    6a1c70de40b5 lib/test_lockup: fix kernel pointer check for separate address spaces
    8b2a6074b981 uaccess: fix type mismatch warnings from access_ok()
    cb5bd93ad218 media: cx88-mpeg: clear interrupt status register before streaming video
    02f9f97d54ff media: imx-jpeg: fix a bug of accessing array out of bounds
    0b620fce5eae ASoC: soc-core: skip zero num_dai component in searching dai name
    80e6bbe4e193 ARM: dts: bcm2711: Add the missing L1/L2 cache information
    2d5c47df8e21 video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
    e7f5b1c56921 video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
    509bc99aba95 video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
    79045b61875d arm64: defconfig: build imx-sdma as a module
    c7129c401f55 ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
    330de92eb10f ARM: ftrace: avoid redundant loads or clobbering IP
    3f887cb763a0 media: atomisp: fix dummy_ptr check to avoid duplicate active_bo
    8b6b38083a29 media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards
    1c17870f26d9 ASoC: madera: Add dependencies on MFD
    35a2aeb70fe6 ARM: dts: bcm2837: Add the missing L1/L2 cache information
    93b85b6e8358 ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
    521796018815 video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
    6fe23ff94e78 video: fbdev: cirrusfb: check pixclock to avoid divide by zero
    9522e11e8636 video: fbdev: w100fb: Reset global state
    9ff2f7294ab0 video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
    77fbe028d5a3 media: iommu/mediatek: Add device_link between the consumer and the larb devices
    4dd3e2d1bd70 media: iommu/mediatek: Return ENODEV if the device is NULL
    1515d1414967 media: iommu/mediatek-v1: Free the existed fwspec if the master dev already has
    eff76b180751 media: imx-jpeg: Prevent decoding NV12M jpegs into single-planar buffers
    47b45e08e5ad ASoC: SOF: Intel: match sdw version on link_slaves_found
    205db54b159f ASoC: sh: rz-ssi: Make the data structures available before registering the handlers
    2011363c1968 media: ir_toy: free before error exiting
    0b2313042634 media: atmel: atmel-isc-base: report frame sizes as full supported range
    3681eb1fd45c media: staging: media: zoran: fix various V4L2 compliance errors
    7e76f3ed7ab2 media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com
    ff3357bffd9f media: staging: media: zoran: move videodev alloc
    24ab2d4ef52c ntfs: add sanity check on allocation size
    9dd6bb11df64 Adjust cifssb maximum read size
    1a55c48bba81 f2fs: compress: fix to print raw data size in error path of lz4 decompression
    2eff60346e7a f2fs: use spin_lock to avoid hang
    c78bada18aa1 btrfs: make search_csum_tree return 0 if we get -EFBIG
    40d006dfedd6 btrfs: harden identification of a stale device
    58d3aa672d13 f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs
    7260793c13e9 NFSD: Fix nfsd_breaker_owns_lease() return values
    f68caedf264a f2fs: fix to do sanity check on curseg->alloc_type
    a0856764dc12 ext4: don't BUG if someone dirty pages without asking ext4 first
    7cca463f1030 sched/tracing: Report TASK_RTLOCK_WAIT tasks as TASK_UNINTERRUPTIBLE
    6a6beb074186 ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit
    572d14e6cec4 ext4: correct cluster len and clusters changed accounting in ext4_mb_mark_bb
    1388c10b3257 locking/lockdep: Iterate lock_classes directly when reading lockdep files
    95bc0ba6bef8 atomics: Fix atomic64_{read_acquire,set_release} fallbacks
    75fe5dcb1653 spi: tegra20: Use of_device_get_match_data()
    ffe0c4916795 nvme-tcp: lockdep: annotate in-kernel sockets
    b3ea76bda7f7 parisc: Fix handling off probe non-access faults
    c29642ba72f8 PM: core: keep irq flags in device_pm_check_callbacks()
    c02f2d420a44 ACPI/APEI: Limit printable size of BERT table data
    65d8a737452e Revert "Revert "block, bfq: honor already-setup queue merges""
    5b8d69c8c107 lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
    33ccf4f81785 ACPICA: Avoid walking the ACPI Namespace if it is not there
    080665e2c3cb bfq: fix use-after-free in bfq_dispatch_request
    e0943c456b60 fs/binfmt_elf: Fix AT_PHDR for unusual ELF files
    757322b5aba9 irqchip/nvic: Release nvic_base upon failure
    dabfc878ef6f irqchip/qcom-pdc: Fix broken locking
    05ba7d0c639f Fix incorrect type in assignment of ipv6 port for audit
    860d36424d1b loop: use sysfs_emit() in the sysfs xxx show()
    55d192691b4b selinux: allow FIOCLEX and FIONCLEX with policy capability
    e48c260b0b2a arm64: module: remove (NOLOAD) from linker script
    15bb7a467b2b selinux: use correct type for context length
    8f34dea99cd7 block, bfq: don't move oom_bfqq
    69d41c77aadf crypto: hisilicon/sec - not need to enable sm4 extra mode at HW V3
    f84b1633004d crypto: xts - Add softdep on ecb
    e11293de5cf6 block/bfq_wf2q: correct weight to ioprio
    e34806c6c29d rcu: Mark writes to the rcu_segcblist structure's ->flags field
    99780fcb5494 pinctrl: npcm: Fix broken references to chip->parent_device
    999ee266531b gcc-plugins/stackleak: Exactly match strings instead of prefixes
    ca97dfbda510 crypto: hisilicon/qm - cleanup warning in qm_vf_read_qos
    4941c21090c3 regulator: rpi-panel: Handle I2C errors/timing to the Atmel
    f3f93a1aaafc LSM: general protection fault in legacy_parse_param
    c331c9d1d2b7 fs: fix fd table size alignment properly
    611170142b42 lib/test: use after free in register_test_dev_kmod()
    136736abcd35 fs: fd tables have to be multiples of BITS_PER_LONG
    fd3f70b90772 net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
    a738ff8143d8 NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
    bcbf4e5c3b5b net/sched: act_ct: fix ref leak when switching zones
    72dd9e61fa31 net: prefer nf_ct_put instead of nf_conntrack_put
    6b663fa23c7e octeontx2-af: initialize action variable
    b375ea083fa6 net: sparx5: switchdev: fix possible NULL pointer dereference
    409570a619c1 net/x25: Fix null-ptr-deref caused by x25_disconnect
    c416e9bb85a6 qlcnic: dcb: default to returning -EOPNOTSUPP
    e87c47df2193 net: sparx5: depends on PTP_1588_CLOCK_OPTIONAL
    34a5c64951c3 net: hns3: clean residual vf config after disable sriov
    c95578235888 NFS: Don't loop forever in nfs_do_recoalesce()
    667760fe01e9 selftests: test_vxlan_under_vrf: Fix broken test case
    2d05a007096e net: phy: broadcom: Fix brcm_fet_config_init()
    2dc73ba93202 net: hns3: refine the process when PF set VF VLAN
    ee7e9a9d73d9 net: hns3: format the output of the MAC address
    30f0ff7176ef net: hns3: add vlan list lock to protect vlan list
    02948e5782ce net: hns3: fix port base vlan add fail when concurrent with reset
    5e528c0e0618 net: hns3: fix bug when PF set the duplicate MAC address for VFs
    be6937a11b1c net: enetc: report software timestamping via SO_TIMESTAMPING
    af884b276b08 xen: fix is_xen_pmu()
    6c17fd7a6f5d clk: Initialize orphan req_rate
    8b320893461c vsock/virtio: enable VQs early on probe
    b64bf5464ad5 vsock/virtio: read the negotiated features before using VQs
    10c6cb867ffa vsock/virtio: initialize vdev->priv before using VQs
    c07a9d2a1d1d clk: qcom: gcc-msm8994: Fix gpll4 width
    e16b5f077980 perf stat: Fix forked applications enablement of counters
    c532caa7df8c kdb: Fix the putarea helper function
    0445609a7ace NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
    4ee7a4b67770 SUNRPC don't resend a task on an offlined transport
    6195af5ad801 netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
    6bbfe9a715ea jfs: fix divide error in dbNextAG
    104852921ff6 driver core: dd: fix return value of __setup handler
    20fab30930f3 firmware: google: Properly state IOMEM dependency
    af6e1b06d0ba kgdbts: fix return value of __setup handler
    1d5103d9bb7d virt: acrn: fix a memory leak in acrn_dev_ioctl()
    b9c43aa0b18d virt: acrn: obtain pa from VMA with PFNMAP flag
    16e323804732 serial: 8250: fix XOFF/XON sending when DMA is used
    a885e17cf5f2 kgdboc: fix return value of __setup handler
    e1338178f35e tty: hvc: fix return value of __setup handler
    e35a555b5a9d pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
    c52703355766 pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
    84940deb8dd3 pinctrl: microchip-sgpio: lock RMW access
    c6f009fe90f1 pinctrl: microchip sgpio: use reset driver
    a843ba2e9c87 pinctrl: mediatek: paris: Skip custom extra pin config dump for virtual GPIOs
    070d46aee151 pinctrl: mediatek: paris: Fix pingroup pin config state readback
    1190c1a5828a pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
    a8d236a32934 pinctrl: mediatek: paris: Fix PIN_CONFIG_BIAS_* readback
    3ddbb9ba7579 pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
    127a5d3e732d staging: mt7621-dts: fix GB-PC2 devicetree
    b24dfa54d6e8 staging: mt7621-dts: fix pinctrl properties for ethernet
    97d01fabee69 staging: mt7621-dts: fix formatting
    1293b7481d73 staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
    75ee75cc360a NFS: remove unneeded check in decode_devicenotify_args()
    8bddc0227e78 mailbox: imx: fix crash in resume on i.mx8ulp
    613e1b253f6d clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
    4be3e4c05d8d clk: Fix clk_hw_get_clk() when dev is NULL
    071c958f8e1b clk: clps711x: Terminate clk_div_table with sentinel element
    0415dce6228c clk: hisilicon: Terminate clk_div_table with sentinel element
    f4aee7714a1c clk: loongson1: Terminate clk_div_table with sentinel element
    7608a654a294 clk: actions: Terminate clk_div_table with sentinel element
    be8ab90a3a77 nvdimm/region: Fix default alignment for small regions
    bd4771ba2cf9 remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
    9c28309d6a5e remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
    9a809b902e1d remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
    95deff8996fb dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma
    2a9b575627fc clk: qcom: clk-rcg2: Update the frac table for pixel clock
    34dca60982e9 clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
    7a778371f9f2 clk: at91: sama7g5: fix parents of PDMCs' GCLK
    4b8a71f206c9 clk: imx: off by one in imx_lpcg_parse_clks_from_dt()
    4bd979ee9927 clk: imx7d: Remove audio_mclk_root_clk
    c39a750b61f7 dma-debug: fix return value of __setup handlers
    872a7b12af43 staging: r8188eu: fix endless loop in recv_func
    18dc19571210 NFS: Return valid errors from nfs2/3_decode_dirent()
    8a842f88d0e2 habanalabs: Add check for pci_enable_device
    82546d91d588 iio: adc: Add check for devm_request_threaded_irq
    3e843460fb42 serial: 8250: Fix race condition in RTS-after-send handling
    ba3a3390c9b1 NFS: Use of mapping_set_error() results in spurious errors
    b59173ff16fb serial: 8250_lpss: Balance reference count for PCI DMA device
    3a1131f7d2a8 serial: 8250_mid: Balance reference count for PCI DMA device
    675216a820ec phy: phy-brcm-usb: fixup BCM4908 support
    d9a3c2949d04 phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
    ca3d7cf53d8f clk: qcom: ipq8074: Use floor ops for SDCC1 clock
    8c54f6c900d1 pinctrl: renesas: checker: Fix miscalculation of number of states
    d19fb1d659ba pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
    157a22ca80c5 staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
    d6c4fc0d903f serial: 8250_aspeed_vuart: add PORT_ASPEED_VUART port type
    011e841cd11b iio: mma8452: Fix probe failing when an i2c_device_id is used
    cad1a3b1f481 dmaengine: idxd: restore traffic class defaults after wq reset
    7bebc9519691 dmaengine: idxd: change bandwidth token to read buffers
    e509584b079a dmaengine: idxd: check GENCAP config support for gencfg register
    41e360fa73a4 clk: qcom: ipq8074: fix PCI-E clock oops
    9a5f4da1ea27 soundwire: intel: fix wrong register name in intel_shim_wake
    251aabcb0b09 cpufreq: qcom-cpufreq-nvmem: fix reading of PVS Valid fuse
    2d7a9c09be64 misc: alcor_pci: Fix an error handling path
    72c4f4200f98 fsi: Aspeed: Fix a potential double free
    8adfd166fb32 pps: clients: gpio: Propagate return value from pps_gpio_probe
    6f4f778f2747 pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
    28a886a308ed fsi: scom: Remove retries in indirect scoms
    9fdc543b0e2a fsi: scom: Fix error handling
    b125b08dbee3 mxser: fix xmit_buf leak in activate when LSR == 0xff
    7a68abde36e1 staging: r8188eu: release_firmware is not called if allocation fails
    1768384f61d1 staging: r8188eu: convert DBG_88E_LEVEL call in hal/rtl8188e_hal_init.c
    a9e88c2618d2 kernel/resource: fix kfree() of bootmem memory again
    585dc196a08f drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool
    eec20eea27a0 ice: don't allow to run ice_send_event_to_aux() in atomic ctx
    9b77c8cf69a4 ice: fix 'scheduling while atomic' on aux critical err interrupt
    c64223a8d188 mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
    21a2b4ab48a4 tipc: fix the timer expires after interval 100ms
    95df5cd5a446 net: dsa: fix panic on shutdown if multi-chip tree failed to probe
    894347d4d29b openvswitch: always update flow key after nat
    862002402333 tcp: ensure PMTU updates are processed during fastopen
    06d836801cd8 net: bcmgenet: Use stronger register read/writes to assure ordering
    40092a8ac089 PCI: Avoid broken MSI on SB600 USB devices
    dd1043342e45 selftests/bpf/test_lirc_mode2.sh: Exit with proper code
    33d39efb61a8 powerpc/pseries: Fix use after free in remove_phb_dynamic()
    226ec1997de7 i2c: mux: demux-pinctrl: do not deactivate a master that is not active
    0ee072f91326 netfilter: conntrack: Add and use nf_ct_set_auto_assign_helper_warned()
    9b2bbf36b9cf i2c: meson: Fix wrong speed use from probe
    7409ff6393a6 af_netlink: Fix shift out of bounds in group mask calculation
    9151982547ee ipv4: Fix route lookups when handling ICMP redirects and PMTU updates
    770a97d3f34b Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
    60283d3ad395 Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed
    7235485433d2 Bluetooth: hci_uart: add missing NULL check in h5_enqueue
    292e8478ae0a selftests/bpf: Fix error reporting from sock_fields programs
    48e785075f9e af_unix: Fix some data-races around unix_sk(sk)->oob_skb.
    1bd58abf595b ibmvnic: fix race between xmit and reset
    3f798111077a bareudp: use ipv6_mod_enabled to check if IPv6 enabled
    b184a8fa7dd4 can: isotp: support MSG_TRUNC flag when reading from socket
    05e4e7d9bbb3 can: isotp: return -EADDRNOTAVAIL when reading from unbound socket
    f343dbe82314 can: isotp: sanitize CAN ID checks in isotp_bind()
    9265c09b2415 mt76: mt7921: fix mt7921_queues_acq implementation
    2a85c4cb3b15 netfilter: flowtable: Fix QinQ and pppoe support for inet table
    7ff346ee019b drm/i915/display: Fix HPD short pulse handling for eDP
    5d48ddbcafdf USB: storage: ums-realtek: fix error code in rts51x_read_mem()
    bc2c4dc5b566 samples/bpf, xdpsock: Fix race when running for fix duration of time
    cb6f141ae705 bpf, sockmap: Fix double uncharge the mem of sk_msg
    168ff181f5b6 bpf, sockmap: Fix more uncharged while msg has more_data
    de3a8d8fab07 bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
    ef9785f42979 bpf, sockmap: Fix memleak in sk_psock_queue_msg
    8dd392e352d3 RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
    b089f7fc89f9 Revert "RDMA/core: Fix ib_qp_usecnt_dec() called when error"
    d52dab6e0355 RDMA/irdma: Prevent some integer underflows
    18e65ab351cf power: ab8500_chargalg: Use CLOCK_MONOTONIC
    fe0e2ce5c87e mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
    d29cda15cab0 MIPS: pgalloc: fix memory leak caused by pgd_free()
    d5e41310bd72 MIPS: RB532: fix return value of __setup handler
    69155dc2e047 mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
    32939187f254 ath10k: Fix error handling in ath10k_setup_msa_resources
    9d04f4a15fe0 vxcan: enable local echo for sent CAN frames
    45962427aca2 powerpc: 8xx: fix a return value error in mpc8xx_pic_init
    88242bd033e2 scsi: mpt3sas: Fix incorrect 4GB boundary check
    ee773b7018d6 platform/x86: huawei-wmi: check the return value of device_create_file()
    fdee6b347cb8 selftests/bpf: Make test_lwt_ip_encap more stable and faster
    adc4a1ed139e libbpf: Unmap rings when umem deleted
    0a0c75ce5e26 mfd: mc13xxx: Add check for mc13xxx_irq_request
    4a852ff9b7be powerpc/64s: Don't use DSISR for SLB faults
    b55697c2a274 powerpc/sysdev: fix incorrect use to determine if list is empty
    804338913d27 MIPS: Sanitise Cavium switch cases in TLB handler synthesizers
    be48780b4dec mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
    f23b4c9c6a5a drm/msm/a6xx: Fix missing ARRAY_SIZE() check
    62f44f554d1c net: axienet: fix RX ring refill allocation failure handling
    e37d269734ee PCI: Reduce warnings on possible RW1C corruption
    4c3c666ecc6a RDMA/core: Fix ib_qp_usecnt_dec() called when error
    c5505076073b IB/hfi1: Allow larger MTU without AIP
    4124966fbd95 power: supply: wm8350-power: Add missing free in free_charger_irq
    1318caf07507 power: supply: wm8350-power: Handle error for wm8350_register_irq
    8659aba5cab3 i2c: xiic: Make bus names unique
    383798d13aea hv_balloon: rate-limit "Unhandled message" warning
    5baa1283d698 KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
    468b136c2ca1 KVM: x86: Fix emulation in writing cr8
    29322cd03678 powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
    451472dc178f powerpc/mm/numa: skip NUMA_NO_NODE onlining in parse_numa_properties()
    6792c0b56252 libbpf: Skip forward declaration when counting duplicated type names
    c06577a80485 gpu: host1x: Fix a memory leak in 'host1x_remove()'
    2154f7cadd88 RDMA/irdma: Remove incorrect masking of PD
    a0051c05312e RDMA/irdma: Fix Passthrough mode in VM
    5e96bb45c936 RDMA/irdma: Fix netdev notifications for vlan's
    ad7219cd8751 xsk: Fix race at socket teardown
    c08f23081c9b bpf, arm64: Feed byte-offset into bpf line info
    c301772c219d bpf, arm64: Call build_prologue() first in first JIT pass
    ffe0526c2e17 drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
    849e6be7d66d scsi: hisi_sas: Change permission of parameter prot_mask
    1003a85d0a30 power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
    852c1f5f3119 drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
    3813591bc046 ext2: correct max file size computing
    0c80fe5ea1b3 power: supply: sbs-charger: Don't cancel work that is not initialized
    c2554b47644f TOMOYO: fix __setup handlers return values
    bd443887ed2a drm/amd/display: Remove vupdate_int_entry definition
    847f8677e367 RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR
    c8db786858d8 scsi: pm8001: Fix abort all task initialization
    c6c95cdd5138 scsi: pm8001: Fix NCQ NON DATA command completion handling
    e4fce9af88ec scsi: pm8001: Fix NCQ NON DATA command task initialization
    03865ae38771 scsi: pm8001: Fix le32 values handling in pm80xx_chip_sata_req()
    b453d71af756 scsi: pm8001: Fix le32 values handling in pm80xx_chip_ssp_io_req()
    d14d1f88d8c2 scsi: pm8001: Fix payload initialization in pm80xx_encrypt_update()
    fc1d7c820287 scsi: pm8001: Fix le32 values handling in pm80xx_set_sas_protocol_timer_config()
    e332a97c4358 scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
    3a9bb3afd0cb scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
    4e878e41e900 scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
    08f0b58e2a5f scsi: fnic: Fix a tracing statement
    aed99c7648cb vfio/pci: wake-up devices around reset functions
    4319f17fb826 vfio/pci: fix memory leak during D3hot to D0 transition
    5f3856f3ba10 dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
    590bc324ac4e drm/msm/dpu: fix dp audio condition
    9b625cee90a9 drm/msm/dpu: add DSPP blocks teardown
    ea009273d0c2 drm/msm/dsi/phy: fix 7nm v4.0 settings for C-PHY mode
    04ed3cd92999 drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent
    47e2060f2366 drm/msm/dp: always add fail-safe mode into connector mode list
    740d2330760e drm/msm/dp: stop link training after link training 2 failed
    9525b8bcae8b drm/msm/dp: populate connector of struct dp_panel
    2c4de9b94227 mtd: rawnand: pl353: Set the nand chip node as the flash node
    a2095c3e0309 iwlwifi: mvm: Fix an error code in iwl_mvm_up()
    01e36bdb95e7 iwlwifi: Fix -EIO error code that is never returned
    a3bb5cda4fed iwlwifi: yoyo: remove DBGI_SRAM address reset writing
    06511eed8177 iwlwifi: mvm: align locking in D3 test debugfs
    ec9b77481aaf iwlwifi: mvm: don't iterate unadded vifs when handling FW SMPS req
    21053d707480 iwlwifi: mvm: Don't call iwl_mvm_sta_from_mac80211() with NULL sta
    2de35ae362f3 selftests: mptcp: add csum mib check for mptcp_connect
    e2951eaa9398 dax: make sure inodes are flushed before destroy cache
    c08208f2635c IB/cma: Allow XRC INI QPs to set their local ACK timeout
    d85baefc858f libbpf: Fix memleak in libbpf_netlink_recv()
    0f47edc22c2b drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
    ac98fdec1114 drm/amd/pm: enable pm sysfs write for one VF mode
    28093e78e0f2 bpftool: Fix the error when lookup in no-btf maps
    64c06df2428b drm/bridge: anx7625: Fix overflow issue on reading EDID
    d6c7f46b8f05 iommu/ipmmu-vmsa: Check for error num after setting mask
    b5b285818754 HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
    ffb8e92b4cef power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
    9dea119df0fa libbpf: Use dynamically allocated buffer when receiving netlink messages
    f2a19db2a941 drm/bridge: dw-hdmi: use safe format when first in bridge chain
    2f0949db6e2c libbpf: Fix compilation warning due to mismatched printf format
    0255e93dce7a net:enetc: allocate CBD ring data memory using DMA coherent methods
    721992163e0c cxl/regs: Fix size of CXL Capability Header Register
    0e348f94787f cxl/core: Fix cxl_probe_component_regs() error message
    855f1c64e21e libbpf: Fix signedness bug in btf_dump_array_data()
    cdb2150050c7 RDMA/rxe: Check the last packet by RXE_END_MASK
    ed750e22e443 PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
    0fe94b84c43c PCI: aardvark: Fix reading MSI interrupt number
    1f0add37ac5c igb: refactor XDP registration
    ab8c107470d1 igc: avoid kernel warning when changing RX ring parameters
    ea6b04796c87 mtd: mchp48l640: Add SPI ID table
    21e78798b206 mtd: mchp23k256: Add SPI ID table
    0eec5e2748f1 i2c: bcm2835: Fix the error handling in 'bcm2835_i2c_probe()'
    0b01811fc193 i2c: bcm2835: Use platform_get_irq() to get the interrupt
    b96a7265f763 net: asix: add proper error handling of usb read errors
    b997cfdc3f98 livepatch: Fix build failure on 32 bits processors
    34bed8dae12a scripts/dtc: Call pkg-config POSIXly correct
    0aec294f2d2f mac80211: limit bandwidth in HE capabilities
    a41efae062bf mac80211: Remove a couple of obsolete TODO
    5ad6b337e4ac net: dsa: mv88e6xxx: Enable port policy support on 6097
    b2dea2a696d0 ptp: unregister virtual clocks when unregistering physical clock.
    a53c147ac496 mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
    fd1fcad5c053 mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
    443cb1bc8a96 mt76: mt7615: fix a leftover race in runtime-pm
    421cb64c91dd mt76: mt7921: fix a leftover race in runtime-pm
    0f3d76144b9c mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv
    60d815fd4338 mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode
    203a1e1230cf mt76: connac: fix sta_rec_wtbl tag len
    94fd8a2a47c8 powerpc/perf: Don't use perf_hw_context for trace IMC PMU
    0dc750479a5f KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
    10686b028059 powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
    9acf7c2f3145 ray_cs: Check ioremap return value
    3a4bcc4cb612 power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
    cb42b6cfc5b0 ixgbe: respect metadata on XSK Rx to skb
    8c072b8e3226 ixgbe: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    6dc18226976c ixgbe: pass bi->xdp to ixgbe_construct_skb_zc() directly
    28e561f3660d igc: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    0e2f6a7f59f1 i40e: respect metadata on XSK Rx to skb
    968c76e96afd i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    7ad4f7729f0e selftests/net: timestamping: Fix bind_phc check
    5bedd66a59e5 KVM: PPC: Fix vmx/vsx mixup in mmio emulation
    72c179f650f6 RDMA/core: Set MR type in ib_reg_user_mr
    0b700f7d0649 ath9k_htc: fix uninit value bugs
    c41832e7dadd selftests/bpf/test_xdp_redirect_multi: use temp netns for testing
    a5c1c0920cf6 selftests/bpf: Normalize XDP section names in selftests
    f00346b30a7c net: phy: at803x: move page selection fix to config_init
    b175bc586410 drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
    bdc7429708a0 drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
    408ab78ca138 drm/nouveau/acr: Fix undefined behavior in nvkm_acr_hsfw_load_bl()
    2e05de23052d ionic: Don't send reset commands if FW isn't running
    4f69a923a388 ionic: start watchdog after all is setup
    76624b5a61c7 ionic: fix type complaint in ionic_dev_cmd_clean()
    da491fc54e4e drm/edid: Split deep color modes between RGB and YUV444
    19da408ab41c drm/edid: Don't clear formats if using deep color
    8480efe815e5 mtd: rawnand: gpmi: fix controller timings setting
    5b1f32593955 mtd: onenand: Check for error irq
    041e5b8a62e6 Bluetooth: hci_serdev: call init_rwsem() before p->open()
    9d42e744685c Bluetooth: btintel: Fix WBS setting for Intel legacy ROM products
    0b96610a7b74 selftests: bpf: Fix bind on used port
    0728ccb66468 drm/selftests/test-drm_dp_mst_helper: Fix memory leak in sideband_msg_req_encode_decode
    51b82141fffa bpf: Fix UAF due to race between btf_try_get_module and load_module
    811b667cefbe udmabuf: validate ubuf->pagecount
    e5f642c55f4c bpftool: Only set obj->skeleton on complete success
    b385ebe91ae9 libbpf: Fix possible NULL pointer dereference when destroying skeleton
    34d0a99fa09a drm/panfrost: Check for error num after setting mask
    2ff993b3daa4 drm/v3d/v3d_drv: Check for error num after setting mask
    982d824a9b27 ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
    66b805b63527 drm: bridge: adv7511: Fix ADV7535 HPD enablement
    c43b4106cfc5 drm/bridge: nwl-dsi: Fix PM disable depth imbalance in nwl_dsi_probe
    4db8e14ce478 drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
    f20a990784ee drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
    461656a5e9be drm/meson: Fix error handling when afbcd.ops->init fails
    1c5439a71612 drm/meson: split out encoder from meson_dw_hdmi
    ffcfa1669316 drm/meson: Make use of the helper function devm_platform_ioremap_resourcexxx()
    d2a0678dff46 drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops
    d81d72b912dc ARM: configs: multi_v5_defconfig: re-enable DRM_PANEL and FB_xxx
    c4d2a100f104 ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
    c2e5f5d23718 ASoC: amd: Fix reference to PCM buffer address
    2f44eca78cc6 ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
    e2aeafc6509c ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
    f589063b585a ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe
    f2b0fc2a46a6 mmc: davinci_mmc: Handle error for clk_enable
    9668c6bca12a ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
    42735eae94ee ASoC: SOF: Intel: enable DMI L1 for playback streams
    b23b524b8bbd ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
    06e6f4ba2534 ASoC: fsl_spdif: Disable TX clock when stop
    44acdaf7acb6 ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
    1ecf9dcf2868 ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
    39c2894dfc08 ASoC: rk817: Fix missing clk_disable_unprepare() in rk817_platform_probe
    87e04a89c31e ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe
    56e0f1696a96 ASoC: mediatek: use of_device_get_match_data()
    5441ab46dd43 ASoC: SOF: Add missing of_node_put() in imx8m_probe
    6724217bfbfd ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe
    f32ac9bf5e3f ASoC: atmel: Fix error handling in snd_proto_probe
    1e77cab218e4 ivtv: fix incorrect device_caps for ivtvfb
    a8523efdc946 media: saa7134: fix incorrect use to determine if list is empty
    a41fc6d02d82 video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
    c19312809931 ASoC: fsi: Add check for clk_enable
    0bdb861b7d1b ASoC: wm8350: Handle error for wm8350_register_irq
    a0bc36b247dc ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
    9dd2fd7a1f84 media: vidtv: Check for null return of vzalloc
    a09e9882800f media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
    ea2258664ffc m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined
    178b32112be1 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
    eab74c416120 ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
    2883fb9838fc memory: emif: check the pointer temp in get_device_details()
    50d934cea574 memory: emif: Add check for setup_interrupts
    fc237b8d624f ASoC: soc-compress: prevent the potentially use of null pointer
    d70d4a3ff5f2 ASoC: dwc-i2s: Handle errors for clk_enable
    58b64ee38637 ASoC: atmel_ssc_dai: Handle errors for clk_enable
    152d62d80960 ASoC: mxs-saif: Handle errors for clk_enable
    f64c5b235b47 printk: fix return value of printk.devkmsg __setup handler
    0fbd610e68c2 arm64: dts: broadcom: Fix sata nodename
    de64846df9fe arm64: dts: ns2: Fix spi-cpol and spi-cpha property
    b98940965daf ALSA: spi: Add check for clk_enable()
    89676d9e8c84 ASoC: ti: davinci-i2s: Add check for clk_enable()
    0a96bff46a5e mmc: sdhci_am654: Fix the driver data of AM64 SoC
    7c31acd9ca79 soc: mediatek: pm-domains: Add wakeup capacity support in power domain
    9db742370304 ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
    3fa8114be4a2 uaccess: fix nios2 and microblaze get_user_8()
    469277ff5ac8 vsprintf: Fix %pK with kptr_restrict == 0
    8611161ea715 lib: uninline simple_strntoull() as well
    34dd193d2329 selftests/lkdtm: Add UBSAN config
    f58159509b62 media: ov5640: Fix set format, v4l2_mbus_pixelcode not updated
    b1b91b31627d media: v4l2-core: Initialize h264 scaling matrix
    7399b9b62277 ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
    c42e96af49ef ASoC: codecs: wcd934x: fix kcontrol max values
    363490abe0be ASoC: codecs: wcd938x: fix kcontrol max values
    adafea71b49e ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
    966408e37d84 ASoC: codecs: va-macro: fix accessing array out of bounds for enum type
    eb15c6ea692f ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type
    9208ecc703b5 ASoC: codecs: rx-macro: fix accessing compander for aux
    56dcb5480687 media: cedrus: h264: Fix neighbour info buffer size
    dd6454742581 media: cedrus: H265: Fix neighbour info buffer size
    895364fa97e6 media: usb: go7007: s2250-board: fix leak in probe()
    332d45fe51d7 media: em28xx: initialize refcount before kref_get
    aa613ac27029 media: ti-vpe: cal: Fix a NULL pointer dereference in cal_ctx_v4l2_init_formats()
    12cb301cc5cb media: video/hdmi: handle short reads of hdmi info frame.
    0d05a58ea3b9 media: mexon-ge2d: fixup frames size in registers
    498ab2d70a9d ARM: dts: imx: Add missing LVDS decoder on M53Menlo
    2305e3460b42 vsprintf: Fix potential unaligned access
    b4c8675a710a ARM: dts: sun8i: v3s: Move the csi1 block to follow address order
    49db8d166d7b soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
    42dab81e9309 firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined
    19e4c3b037ff arm64: dts: qcom: sm8350: Correct TCS configuration for apps rsc
    8026415d7f54 arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
    17790ef9ad1f arm64: dts: broadcom: bcm4908: use proper TWD binding
    cc3a67e4147e arm64: dts: qcom: sm8250: fix PCIe bindings to follow schema
    4514dc92a353 arm64: dts: qcom: sdm845: fix microphone bias properties and values
    15565049d729 soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
    1874365f3c17 soc: qcom: ocmem: Fix missing put_device() call in of_get_ocmem
    724376c30af5 soc: qcom: rpmpd: Check for null return of devm_kcalloc
    d761d62022bb ARM: dts: qcom: ipq4019: fix sleep clock
    b14f6a7d3608 firmware: qcom: scm: Remove reassignment to desc following initializer
    6c4cc4d36966 ARM: dts: Fix OpenBMC flash layout label addresses
    c3364cbc3762 video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
    f3ef254c840d video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
    c420b540db4b video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
    24cfeb466146 video: fbdev: controlfb: Fix COMPILE_TEST build
    02684dd83332 video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen
    96eb48f017cd media: aspeed: Correct value for h-total-pixels
    4a3051977327 media: ov5648: Don't pack controls struct
    26b1865f1fd4 media: v4l: Avoid unaligned access warnings when printing 4cc modifiers
    ef35afc268c5 media: ov6650: Fix set format try processing path
    4ea548312052 media: hantro: Fix overfill bottom register field name
    b0b890dd8df3 media: meson: vdec: potential dereference of null pointer
    c3590ec1161d media: coda: Fix missing put_device() call in coda_get_vdoa_data
    f0344f0aee4d ASoC: simple-card-utils: Set sysclk on all components
    bb0a0e23dd00 ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting
    1179081ba5fa ASoC: codecs: Check for error pointer after calling devm_regmap_init_mmio
    e48b189799d3 ASoC: sh: rz-ssi: Drop calling rz_ssi_pio_recv() recursively
    f7d07ad8bc03 media: atmel: atmel-sama7g5-isc: fix ispck leftover
    25b925f94a36 media: bttv: fix WARNING regression on tunerless devices
    e1854a6c3a68 media: imx: imx8mq-mipi_csi2: fix system resume
    72d79cd3c3ad media: imx: imx8mq-mipi-csi2: remove wrong irq config write operation
    0022dc8cafa5 media: mtk-vcodec: potential dereference of null pointer
    48d00e24822e media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
    1fbc023f8173 media: staging: media: imx: imx7-mipi-csis: Make subdev name unique
    74cbe85fa044 media: camss: vfe-170: fix "VFE halt timeout" error
    9af4e473668a media: camss: csid-170: set the right HALT_CMD when disabled
    a3b104487f74 media: camss: csid-170: don't enable unused irqs
    20d5934825b9 media: camss: csid-170: fix non-10bit formats
    0ac903a7bde9 media: staging: media: zoran: fix usage of vb2_dma_contig_set_max_seg_size
    b84343a9d676 pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios
    9a24d035c5eb kunit: make kunit_test_timeout compatible with comment
    9ca7b59e7877 drivers/base/memory: add memory block to memory group after registration succeeded
    5bed6c2c1ffe selftests, x86: fix how check_cc.sh is being invoked
    0f42a02e4773 f2fs: fix compressed file start atomic write may cause data corruption
    1a97987f76b4 btrfs: fix unexpected error path when reflinking an inline extent
    2911ad0249c5 f2fs: fix to avoid potential deadlock
    1e0e63ad6243 sched/rt: Plug rt_mutex_setprio() vs push_rt_task() race
    b7aec0843e28 sched/cpuacct: Fix charge percpu cpuusage
    cc91880f0417 nfsd: more robust allocation failure handling in nfsd_file_cache_init
    d1eaaf6caded f2fs: fix missing free nid in f2fs_handle_failed_inode
    ec5884cbbfd3 sched/fair: Improve consistency of allowed NUMA balance calculations
    df5e0a0b3a4e perf/x86/intel/pt: Fix address filter config for 32-bit kernel
    929d8a87f709 perf/core: Fix address filter parser for multiple filters
    3bb11f3f6872 rseq: Remove broken uapi field layout on 32-bit little endian
    d2c741290f7e sched/uclamp: Fix iowait boost escaping uclamp restriction
    6c7276622393 sched/core: Export pelt_thermal_tp
    8bc68c44d97f sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
    d8c8dd97bb8c f2fs: fix to enable ATGC correctly via gc_idle sysfs interface
    f69aecb49968 watch_queue: Actually free the watch
    695c47cea02b watch_queue: Fix NULL dereference in error cleanup
    109dda451021 io_uring: terminate manual loop iterator loop correctly for non-vecs
    1323976e9448 io_uring: don't check unrelated req->open.how in accept request
    657edec8987a clocksource: acpi_pm: fix return value of __setup handler
    9b181ad309c6 hwmon: (pmbus) Add Vin unit off handling
    41887c82e76f hwrng: nomadik - Change clk_disable to clk_disable_unprepare
    335bf1fc74f7 crypto: ccree - Fix use after free in cc_cipher_exit()
    20550eb187e8 crypto: ccp - ccp_dmaengine_unregister release dma channels
    166b2478152c ACPI: APEI: fix return value of __setup handlers
    bfa4a733aeaa KEYS: trusted: Avoid calling null function trusted_key_exit
    b0efbe7e88c7 KEYS: trusted: Fix trusted key backends when building as module
    d362998e8df9 arm64: prevent instrumentation of bp hardening callbacks
    df04ef63347f clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
    abc6b2a12a3e clocksource/drivers/timer-microchip-pit64b: Use notrace
    a81de4315ecf clocksource/drivers/exynos_mct: Handle DTS with higher number of interrupts
    e34ba9ff04ee clocksource/drivers/exynos_mct: Refactor resources allocation
    97e3aaace46e clocksource/drivers/timer-ti-dm: Fix regression from errata i940 fix
    58c9d407ce82 crypto: vmx - add missing dependencies
    f9474039df09 crypto: gemini - call finalize with bh disabled
    6ce48276d736 crypto: amlogic - call finalize with bh disabled
    67bc6890b981 crypto: sun8i-ce - call finalize with bh disabled
    05e13c5e4f8e crypto: sun8i-ss - call finalize with bh disabled
    2684f459f919 hwrng: atmel - disable trng on failure path
    f8a1392c099b spi: spi-zynqmp-gqspi: Handle error for dma_set_mask
    7e45fc93dde2 PM: suspend: fix return value of __setup handler
    d0cd9da501f6 PM: hibernate: fix __setup handler error handling
    efaa0e969261 block: don't delete queue kobject before its children
    b9070c866aa3 nvme: fix the check for duplicate unique identifiers
    2340a15d3914 nvme: cleanup __nvme_check_ids
    a015dd1b8a54 hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
    3a70165fc788 hwmon: (pmbus) Add mutex to regulator ops
    f2757af27bf3 spi: pxa2xx-pci: Balance reference count for PCI DMA device
    40dba7c26e89 crypto: hisilicon/sec - fix the aead software fallback for engine
    c71e4d45dcc4 crypto: ccree - don't attempt 0 len DMA mappings
    0c366ade8606 EVM: fix the evm= __setup handler return value
    3a10df731516 audit: log AUDIT_TIME_* records only from rules
    8e8724b87afe crypto: rockchip - ECB does not need IV
    4d6e00474872 selftests/sgx: Treat CC as one argument
    d9172393f0f6 selftests/x86: Add validity check and allow field splitting
    e129fb065106 blk-cgroup: set blkg iostat after percpu stat aggregation
    c17eb1586c94 arm64/mm: avoid fixmap race condition when create pud mapping
    8550c9b846c5 stack: Constrain and fix stack offset randomization with Clang builds
    8effc4dc79a5 spi: tegra210-quad: Fix missin IRQ check in tegra_qspi_probe
    906315cb82d6 spi: tegra114: Add missing IRQ check in tegra_spi_probe
    e6374086f249 crypto: octeontx2 - remove CONFIG_DM_CRYPT check
    9ada174f47b3 thermal: int340x: Check for NULL after calling kmemdup()
    486d4c18f207 selinux: Fix selinux_sb_mnt_opts_compat()
    c111b3c1a257 crypto: mxs-dcp - Fix scatterlist processing
    af3c34eb9410 crypto: authenc - Fix sleep in atomic context in decrypt_tail
    8f10a38c9212 crypto: sun8i-ss - really disable hash on A80
    046f1499aef8 hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER
    7919dfd84b35 hwrng: cavium - Check health status while reading random data
    0e67b3e1f93a crypto: ccp - Ensure psp_ret is always init'd in __sev_platform_init_locked()
    01d508417055 selinux: check return value of sel_make_avc_files
    aeeb944e7f91 selinux: access superblock_security_struct in LSM blob way
    ae2ff8d991b6 regulator: qcom_smd: fix for_each_child.cocci warnings
    9bbe88d1023f PCI: xgene: Revert "PCI: xgene: Fix IB window setup"
    920facf23305 PCI: pciehp: Clear cmd_busy bit in polling mode
    86ca87591870 PCI: imx6: Allow to probe when dw_pcie_wait_for_link() fails
    312d3d4f49e1 drm/i915/gem: add missing boundary check in vm_access
    d8b8bd1d03ee drm/i915/opregion: check port number bounds for SWSCI display power state
    2b08e0189b02 brcmfmac: pcie: Fix crashes due to early IRQs
    a7ea6de3bdd5 brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
    b6957a10747c brcmfmac: pcie: Declare missing firmware files in pcie.c
    a88337a06966 brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
    6e2dfa829026 brcmfmac: firmware: Allocate space for default boardrev in nvram
    51f0af904fb6 drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB
    713f1fefb6c6 drm/nouveau/backlight: Just set all backlight types as RAW
    80de94c4ab4e drm/nouveau/backlight: Fix LVDS backlight detection on some laptops
    7585d0f56f29 drm/syncobj: flatten dma_fence_chains on transfer
    85814e6461b8 xtensa: fix xtensa_wsr always writing 0
    821907e8f516 xtensa: fix stop_machine_cpuslocked call in patch_text
    e28bace5e7dc xtensa: define update_mmu_tlb function
    00c6bb4cea62 btrfs: verify the tranisd of the to-be-written dirty extent buffer
    f85ee0c845fd btrfs: extend locking to all space_info members accesses
    68a8120e1647 btrfs: zoned: mark relocation as writing
    2bd666b0fd28 media: davinci: vpif: fix unbalanced runtime PM enable
    12159871e1b4 media: davinci: vpif: fix unbalanced runtime PM get
    992af22dab9c media: venus: venc: Fix h264 8x8 transform control
    d5fcfc4af806 media: venus: hfi_cmds: List HDR10 property as unsupported for v1 and v3
    0a45148635f8 media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC
    3e3c8d88e0ca DEC: Limit PMAX memory probing to R3k systems
    2039163c30f8 PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove()
    74e2d61e4faa bcache: fixup multiple threads crash
    2221a0f6c90c crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
    dc7cacd209c8 crypto: rsa-pkcs1pad - restore signature length check
    5013dbd89101 crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
    9c8d8f87c213 crypto: rsa-pkcs1pad - only allow with rsa
    1290eb4412aa exec: Force single empty string when argv is empty
    d342786a0e94 lib/raid6/test: fix multiple definition linking error
    137c66d5f915 thermal: int340x: Increase bitmap size
    bc5f440e1c5c pstore: Don't use semaphores in always-atomic-context code
    10a15d91bcba carl9170: fix missing bit-wise or operator for tx_params
    1d89cb2c72d6 mgag200 fix memmapsl configuration in GCTL6 register
    bd0cc79722df ARM: dts: exynos: add missing HDMI supplies on SMDK5420
    661016b895e6 ARM: dts: exynos: add missing HDMI supplies on SMDK5250
    d4577ac55725 ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
    cc7c9d207fce ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
    64b3bc9050d8 ARM: dts: at91: sama7g5: Remove unused properties in i2c nodes
    cdcaec46a6b2 rfkill: make new event layout opt-in
    677a5f6c81b5 video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
    46cdbff26c88 video: fbdev: sm712fb: Fix crash in smtcfb_read()
    c894ac44786c fbdev: Hot-unplug firmware fb devices on forced removal
    6e72980d588e drm/edid: check basic audio support on CEA extension block
    2e76c69c85f9 block: don't merge across cgroup boundaries if blkcg is enabled
    6a11b52b498d block: limit request dispatch loop duration
    f1dd8c1186be mailbox: tegra-hsp: Flush whole channel
    3d4b396a616d landlock: Use square brackets around "landlock-ruleset"
    20fbf100f84b samples/landlock: Fix path_list memory leak
    3eb18f8a1d02 drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
    3c65b7309d2e ext4: make mb_optimize_scan performance mount option work with extents
    597393cde841 ext4: fix fs corruption when tring to remove a non-empty directory with IO error
    73fa1798233c ext4: fix ext4_fc_stats trace point
    6cdb84dd0c8d coredump: Also dump first pages of non-executable ELF libraries
    8a7f9d9c3f6a ACPI: properties: Consistently return -ENOENT if there are no more references
    2e2eb55823df Revert "ACPI: Pass the same capabilities to the _OSC regardless of the query flag"
    b6094744e261 ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
    5e3bd996d2c8 arm64: dts: ti: k3-am64: Fix gic-v3 compatible regs
    96181539a521 arm64: dts: ti: k3-j7200: Fix gic-v3 compatible regs
    e931b8494a51 arm64: dts: ti: k3-j721e: Fix gic-v3 compatible regs
    146ad3e0177d arm64: dts: ti: k3-am65: Fix gic-v3 compatible regs
    393a8a0f971e arm64: dts: qcom: sm8250: Fix MSI IRQ for PCIe1 and PCIe2
    a01e1eaf5407 arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones
    556e8e0a27c8 arm64: signal: nofpsimd: Do not allocate fp/simd context when not available
    e04a1de51cf6 PCI: fu740: Force 2.5GT/s for initial device probe
    ec5ebfd1ce35 powerpc/kvm: Fix kvm_use_magic_page
    024c2a0db53a drbd: fix potential silent data corruption
    39483fd3b2d2 tracing: Have trace event string test handle zero length strings
    12ea1f73690b dm integrity: set journal entry unused when shrinking device
    737d5e25e28d dm: fix double accounting of flush with data
    dc77afd7491e dm: interlock pending dm_io and dm_wait_for_bios_completion
    0987f00a76a1 dm: fix use-after-free in dm_cleanup_zoned_dev()
    d3444138ff0d dm stats: fix too short end duration_ns when using precise_timestamps
    7d3bd683e084 mm/kmemleak: reset tag when compare object pointer
    7d04d6d5c114 mm,hwpoison: unmap poisoned page before invalidation
    d4835551fd9f Revert "mm: madvise: skip unmapped vma holes passed to process_madvise"
    a07a4b75cccb mm: madvise: return correct bytes advised with process_madvise
    27d96f11b0a2 mm: madvise: skip unmapped vma holes passed to process_madvise
    476df5994878 drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels
    7c5312fdb1dc ocfs2: fix crash when mount with quota enabled
    cd2722e411e8 rtc: pl031: fix rtc features null pointer dereference
    8e167fdd4f62 rtc: mc146818-lib: fix locking in mc146818_set_time
    0cc320929ac6 ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
    7777744e92a0 ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
    f9f37a956de1 ALSA: hda: Avoid unsol event during RPM suspending
    cf4cd2a5d0ae ALSA: cs4236: fix an incorrect NULL check on list iterator
    39a4bf7d1a23 cifs: fix NULL ptr dereference in smb2_ioctl_query_info()
    f143f8334fb9 cifs: prevent bad output lengths in smb2_ioctl_query_info()
    665cf5507470 Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
    305a5303d1da riscv: Increase stack size under KASAN
    ee29fe27818e riscv: Fix fill_callchain return value
    3c4a1c81900c riscv: dts: canaan: Fix SPI3 bus width
    876a9bdfd9af qed: validate and restrict untrusted VFs vlan promisc mode
    4d8323922ea9 qed: display VF trust config
    59a4bc52f111 scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
    cbf4e2f4f700 scsi: scsi_transport_fc: Fix FPIN Link Integrity statistics counters
    64b0fe4808bd scsi: ufs: Fix runtime PM messages never-ending cycle
    6ade94e6afc6 scsi: core: sd: Add silence_suspend flag to suppress some PM messages
    5e217aa2c825 mempolicy: mbind_range() set_policy() after vma_merge()
    3bae72c2db69 mm: invalidate hwpoison page cache page in fault path
    a74bb0eeabcd mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
    ab657a29c3e9 mm: fs: fix lru_cache_disabled race in bh_lru
    52ba0ab4f0a6 jffs2: fix memory leak in jffs2_scan_medium
    4392e8aeebc5 jffs2: fix memory leak in jffs2_do_mount_fs
    7a75740206af jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
    f2ce5238904f can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
    f43e64076ff1 can: m_can: m_can_tx_handler(): fix use after free of skb
    459b19f42fd5 can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
    31d7d7f35045 mtd: rawnand: protect access to rawnand devices while in suspend
    7d94d25c7972 spi: mxic: Fix the transmit path
    48254561bd04 net: bnxt_ptp: fix compilation error
    89d369454267 pinctrl: samsung: drop pin banks references on error paths
    1db1639d955b pinctrl: ingenic: Fix regmap on X series SoCs
    025a7ccfb7a5 mm/mlock: fix two bugs in user_shm_lock()
    34afac3c75fa remoteproc: Fix count check in rproc_coredump_write()
    b065f398c860 f2fs: fix to do sanity check on .cp_pack_total_block_count
    f9156db0987f f2fs: quota: fix loop condition at f2fs_quota_sync()
    e98ae961b334 f2fs: fix to unlock page correctly in error path of is_alive()
    303cd6173dce NFSD: prevent integer overflow on 32 bit systems
    614a61e15920 NFSD: prevent underflow in nfssvc_decode_writeargs()
    253a9533941e NFS: NFSv2/v3 clients should never be setting NFS_CAP_XATTR
    518a7d6be1ed SUNRPC: avoid race between mod_timer() and del_timer_sync()
    19c82681db26 HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
    b3e38f939ab4 firmware: sysfb: fix platform-device leak in error path
    0dff5664b867 firmware: stratix10-svc: add missing callback parameter on RSU
    72403d1c04bb Documentation: update stable tree link
    8259235ab46e Documentation: add link to stable release candidate tree
    a1e55db51a88 KEYS: asymmetric: properly validate hash_algo and encoding
    255921f63a9e KEYS: asymmetric: enforce that sig algo matches key algo
    fe8df4489240 KEYS: fix length validation in keyctl_pkey_params_get_2()
    512bde642087 cifs: we do not need a spinlock around the tree access during umount
    2fafbc198613 cifs: fix handlecache and multiuser
    b6d75218ff65 ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
    42606add50f9 clk: uniphier: Fix fixed-rate initialization
    5aa6d84a0b07 clk: rockchip: re-add rational best approximation algorithm to the fractional divider
    ab67122003b1 greybus: svc: fix an error handling bug in gb_svc_hello()
    9e97f6641c87 iio: inkern: make a best effort on offset calculation
    b378d3f585e3 iio: inkern: apply consumer scale when no channel scale is available
    e38582362101 iio: inkern: apply consumer scale on IIO_VAL_INT cases
    1cb35faea3c3 iio: afe: rescale: use s64 for temporary scale calculations
    c61e2fc87f24 coresight: syscfg: Fix memleak on registration failure in cscfg_create_device
    ba81399402b7 coresight: Fix TRCCONFIGR.QE sysfs interface
    f1d936537155 docs: sphinx/requirements: Limit jinja2<3.1
    c1013a5ba4c9 bus: mhi: Fix MHI DMA structure endianness
    fe66a11af28c bus: mhi: pci_generic: Add mru_default for Quectel EM1xx series
    84bb0ac6c86f mei: avoid iterator usage outside of list_for_each_entry
    6d2ec095176c mei: me: add Alder Lake N device id.
    7c2422748463 mei: me: disable driver on the ign firmware
    f6121a746fae xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
    7c2a317703c6 xhci: make xhci_handshake timeout for xhci_reset() adjustable
    4f2ab7e93b37 xhci: fix runtime PM imbalance in USB2 resume
    75bbc2b9748b xhci: fix garbage USBSTS being logged in some cases
    f5dc00496f76 USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
    c94138ae4000 usb: typec: tipd: Forward plug orientation to typec subsystem
    662893b4f6bd tpm: fix reference counting for struct tpm_chip
    5a0735b0bcf9 virtio-blk: Use blk_validate_block_size() to validate block size
    8a4521456b54 iommu/iova: Improve 32-bit free space estimate
    fe953e0f77e5 drm/amdgpu: only check for _PR3 on dGPUs
    0884abb259f1 drm/amdgpu: move PX checking into amdgpu_device_ip_early_init
    03f836fcb655 locking/lockdep: Avoid potential access of invalid memory in lock_class
    9f93d46a63d5 selftests: vm: fix clang build error multiple output files
    2ea395dc1327 net: dsa: microchip: add spi_device_id tables
    d06ee4572fd9 af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
    f868ffd1ead3 Input: zinitix - do not report shadow fingers
    8745973cdfc6 spi: Fix erroneous sgs value with min_t()
    20f46b12162c Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
    13b570f365b8 net:mcf8390: Use platform_get_irq() to get the interrupt
    526a46a5f479 spi: Fix invalid sgs value
    a28571fcc422 gpio: Revert regression in sysfs-gpio (gpiolib.c)
    cd3121310e33 ethernet: sun: Free the coherent when failing in probing
    afffb79a2dd5 tools/virtio: fix virtio_test execution
    f8f8e96048ad vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
    32aef620e650 virtio_console: break out of buf poll on remove
    3d39860bea5e ARM: mstar: Select HAVE_ARM_ARCH_TIMER
    189bdde30b55 xfrm: fix tunnel model fragmentation behavior
    3a2914bc3e62 HID: Add support for open wheel and no attachment to T300
    a3248ecf0724 HID: logitech-dj: add new lightspeed receiver id
    d5aad7d63b1b hv: utils: add PTP_1588_CLOCK to Kconfig to fix build
    dd84d71bcbcb mm: kfence: fix missing objcg housekeeping for SLAB
    3d7df3f83f67 USB: serial: simple: add Nokia phone driver
    33325a62249e USB: serial: pl2303: fix GS type detection
    1dd64317e785 dt-bindings: usb: hcd: correct usb-device path
    2241e42f6c71 USB: serial: pl2303: add IBM device IDs
    890f78e54b74 Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    e29be6724adb Linux 5.15.32
    60981bb5ce18 llc: only change llc->dev when bind() succeeds
    22ac37c53065 nds32: fix access_ok() checks in get/put_user
    110dea31d48f m68k: fix access_ok for coldfire
    cdb96445297b wcn36xx: Differentiate wcn3660 from wcn3620
    476ddd23f818 tpm: use try_get_ops() in tpm-space.c
    12e407a8ef17 mac80211: fix potential double free on mesh join
    e65d28d4e9bf uaccess: fix integer overflow on access_ok()
    058d62a03e7d rcu: Don't deboost before reporting expedited quiescent state
    b094fece3810 drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()
    5023652cc6e4 Revert "ath: add support for special 0x0 regulatory domain"
    4b6a48f87d03 Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE
    cb807cb52a8e crypto: qat - disable registration of algorithms
    57a2b3f8bf1c ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU
    a01ac2411489 ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3
    8942aac69016 ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board
    1bd57dea4561 netfilter: nf_tables: validate registers coming from userspace.
    fafb904156fb netfilter: nf_tables: initialize registers in nft_do_chain()
    3e27eafac659 drivers: net: xgene: Fix regression in CRC stripping
    c2052ad0c74f ALSA: pci: fix reading of swapped values from pcmreg in AC97 codec
    9abaacd6491e ALSA: cmipci: Restore aux vol on suspend/resume
    099a1cc21b16 ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB
    f4827c62b649 ALSA: pcm: Add stream lock during PCM reset ioctl operations
    51fce708ab89 ALSA: pcm: Fix races among concurrent prealloc proc writes
    cb6a39c5ebd0 ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls
    47711ff10c7e ALSA: pcm: Fix races among concurrent read/write and buffer changes
    33061d0fba51 ALSA: pcm: Fix races among concurrent hw_params and hw_free calls
    3b1bacd00ac3 ALSA: hda/realtek: Add quirk for ASUS GA402
    0e7cdc8059a0 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
    8e6ea2176222 ALSA: hda/realtek: Add quirk for Clevo NP50PNJ
    85060f4868db ALSA: hda/realtek: Add quirk for Clevo NP70PNJ
    10cdffd4854a ALSA: usb-audio: add mapping for new Corsair Virtuoso SE
    7a40cbf3579a ALSA: oss: Fix PCM OSS buffer allocation overflow
    5e431799c35b ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call
    e90729961083 llc: fix netdevice reference leaks in llc_ui_bind()
    5b2ca3b8213a Bluetooth: btusb: Add another Realtek 8761BU
    42b9f6d19faa tpm: Fix error handling in async work
    2317fd3b126c net: ipv6: fix skb_over_panic in __ip6_append_data
    a34c47b1ab07 nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION
    96e48ac9a685 Linux 5.15.31
    4c5d94990fa2 btrfs: skip reserved bytes warning on unmount after log cleanup failure
    23775775b9a6 perf symbols: Fix symbol size calculation condition
    e762f57ff255 Input: aiptek - properly check endpoint type
    0cd2dd4bcf4a scsi: mpt3sas: Page fault in reply q processing
    c69aef9db878 usb: usbtmc: Fix bug in pipe direction for control transfers
    2015c23610cd usb: gadget: Fix use-after-free bug by not setting udc->dev.driver
    56b38e3ca406 usb: gadget: rndis: prevent integer overflow in rndis_set_response()
    222f5e2d7f20 arm64: fix clang warning about TRAMP_VALIAS
    80974bb73027 iavf: Fix hang during reboot/shutdown
    800a17adb531 net: mscc: ocelot: fix backwards compatibility with single-chain tc-flower offload
    2d7cff7e1fee net: bcmgenet: skip invalid partial checksums
    6840fdeab423 bnx2x: fix built-in kernel driver load failure
    f07e0b020f7a net: phy: mscc: Add MODULE_FIRMWARE macros
    e396fda10ddf net: dsa: Add missing of_node_put() in dsa_port_parse_of
    11dab4a800a4 drm: Don't make DRM_PANEL_BRIDGE dependent on DRM_KMS_HELPERS
    a1adf00e1728 net: handle ARPHRD_PIMREG in dev_is_mac_header_xmit()
    8ee52c302191 drm/panel: simple: Fix Innolux G070Y2-L01 BPP settings
    43dcd410809e drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check()
    ab0ab1761831 hv_netvsc: Add check for kvmalloc_array
    735f918cc2c8 iavf: Fix double free in iavf_reset_task
    b2bc45327e8c atm: eni: Add check for dma_map_single
    a055f5f2841f net/packet: fix slab-out-of-bounds access in packet_recvmsg()
    a296f3ae8009 net: phy: marvell: Fix invalid comparison in the resume and suspend functions
    b9820bf09f59 esp6: fix check on ipv6_skip_exthdr's return value
    093f11b49609 vsock: each transport cycles only on its own sockets
    1dcc1b888223 alx: acquire mutex for alx_reinit in alx_change_mtu
    4b49ba22a253 efi: fix return value of __setup handlers
    16ac5dca1e13 drm/mgag200: Fix PLL setup for g200wb and g200ew
    d4ad8736ac98 block: release rq qos structures for queue without disk
    6829aa17ca55 mm: swap: get rid of livelock in swapin readahead
    b786b64dcb31 ocfs2: fix crash when initialize filecheck kobj fails
    ab9337c7cb6f crypto: qcom-rng - ensure buffer for generate is completely filled
    0464ab17184b Linux 5.15.30
    a9bbacc53d1f ice: Fix race condition during interface enslave
    df3817ab226f x86/module: Fix the paravirt vs alternative order
    ff2e93a03f8d kselftest/vm: fix tests build with old libc
    d99db3b935b7 bnx2: Fix an error message
    ff7dfcd47a7e sfc: extend the locking on mcdi->seqno
    ff17119dceef tcp: make tcp_read_sock() more robust
    f5a425f5d5fc nl80211: Update bss channel on channel switch for P2P_CLIENT
    3534c5c005ef drm/vrr: Set VRR capable prop only if it is attached to connector
    46c02c5051aa iwlwifi: don't advertise TWT support
    4051516d4b79 atm: firestream: check the return value of ioremap() in fs_init()
    76e0b8e12c64 can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready
    3679ccc09d88 Bluetooth: hci_core: Fix leaking sent_cmd skb
    c2924e9143c2 ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
    be538b764a46 MIPS: smp: fill in sibling and core maps earlier
    c98afa0db3a3 mac80211: refuse aggregations sessions before authorized
    84ecddbc9888 ARM: dts: rockchip: fix a typo on rk3288 crypto-controller
    8ad1b44f2d2e ARM: dts: rockchip: reorder rk322x hmdi clocks
    4744e1df7268 arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg"
    f5743453365b arm64: dts: rockchip: reorder rk3399 hdmi clocks
    f9a510bb024d arm64: dts: rockchip: align pl330 node name with dtschema
    e90da30175cb arm64: dts: rockchip: fix rk3399-puma eMMC HS400 signal integrity
    0f06f953aac5 xfrm: Fix xfrm migrate issues when address family changes
    e6d7e51e1092 xfrm: Check if_id in xfrm_migrate
    8918ae97417a arm64: dts: rockchip: fix rk3399-puma-haikou USB OTG mode
    e901c9212457 Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"
    b9a0208cb3e3 Linux 5.15.29
    f83c85ee73df vhost: allow batching hint without size
    caf18e4da9bf Revert "net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLAN"
    69b80587f650 block: drop unused includes in <linux/genhd.h>
    cd072bf2dcbd riscv: dts: k210: fix broken IRQs on hart1
    074c88751dc1 drm/i915: Workaround broken BIOS DBUF configuration on TGL/RKL
    a1ce40f8aeb1 btrfs: make send work with concurrent block group relocation
    342783ba9c3c drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP
    1fbafa9a5b42 x86/traps: Mark do_int3() NOKPROBE_SYMBOL
    ce91f0f023ad x86/sgx: Free backing memory after faulting the enclave page
    e946556d3665 x86/boot: Add setup_indirect support in early_memremap_is_setup_data()
    19503d381aab x86/boot: Fix memremap of setup_indirect structures
    ffb8fd39c84c watch_queue: Make comment about setting ->defunct more accurate
    eb38c2e9fc74 watch_queue: Fix lack of barrier/sync/lock between post and read
    82ff8a2243f7 watch_queue: Free the alloc bitmap when the watch_queue is torn down
    d453d0e5a15d watch_queue: Fix the alloc bitmap size to reflect notes allocated
    b022b6a0586f watch_queue: Fix to always request a pow-of-2 pipe ring size
    ccd03c30f103 watch_queue: Fix to release page in ->release()
    8275b6699c6d watch_queue, pipe: Free watchqueue state after clearing pipe ring
    1b09f28f70a5 watch_queue: Fix filter limit check
    52445030f135 ARM: fix Thumb2 regression with Spectre BHB
    4a8e7f9dae4a net/mlx5: Fix offloading with ESWITCH_IPV4_TTL_MODIFY_ENABLE
    cbb726e6c652 virtio: acknowledge all features before access
    22823b1a0dc9 virtio: unexport virtio_finalize_features
    a633bc013333 KVM: x86/mmu: kvm_faultin_pfn has to return false if pfh is returned
    2c1f97af38be swiotlb: rework "fix info leak with DMA_FROM_DEVICE"
    0349c79c5508 arm64: kasan: fix include error in MTE functions
    61d32defc00f arm64: Ensure execute-only permissions are not allowed without EPAN
    72ea28d88d30 arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0
    42aaf726c9e9 tracing/osnoise: Force quiescent states while tracing
    eae073d854c5 riscv: Fix auipc+jalr relocation range checks
    b515552d41ee mmc: meson: Fix usage of meson_mmc_post_req()
    9b3cdf5e8ad9 riscv: alternative only works on !XIP_KERNEL
    b5e792187f50 net: macb: Fix lost RX packet wakeup race in NAPI receive
    1fb9dd378749 staging: gdm724x: fix use after free in gdm_lte_rx()
    441bc1e3d7e0 staging: rtl8723bs: Fix access-point mode deadlock
    ca62747b38f5 fuse: fix pipe buffer lifetime for direct_io
    d60d34b4d6d1 fuse: fix fileattr op failure
    64147ce85e2f ARM: Spectre-BHB: provide empty stub for non-config
    5c237251421d selftests/memfd: clean up mapping in mfd_fail_write
    e22807ee679f selftest/vm: fix map_fixed_noreplace test failure
    9d95b7e239a1 tracing/osnoise: Make osnoise_main to sleep for microseconds
    4d2889691570 tracing: Ensure trace buffer is at least 4096 bytes large
    041616a22c40 ipv6: prevent a possible race condition with lifetimes
    2708ceb4e5cc Revert "xen-netback: Check for hotplug-status existence before watching"
    fe39ab30dcc2 Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"
    fcd1d79aa943 drm/amdgpu: bypass tiling flag check in virtual display case (v2)
    5cf4dd01efe0 gpio: Return EPROBE_DEFER if gc->to_irq is NULL
    94b568a9d2a5 PCI: Mark all AMD Navi10 and Navi14 GPU ATS as broken
    bb9795b6da22 hwmon: (pmbus) Clear pmbus fault/warning bits after read
    8d5e69d8fbf3 net-sysfs: add check for netdevice being present to speed_show
    1280c8ae9745 x86/kvm: Don't use pv tlb/ipi/sched_yield if on 1 vCPU
    ee22082c3e2f drm/vc4: hdmi: Unregister codec device on unbind
    5bef4e5089d3 spi: rockchip: terminate dma transmission when slave abort
    1f04bbd2935c spi: rockchip: Fix error in getting num-cs property
    bcd4279b989f kvm: x86: Disable KVM_HC_CLOCK_PAIRING if tsc is in always catchup mode
    e160ee96d03f KVM: Fix lockdep false negative during host resume
    302ce2946160 pinctrl: tigerlake: Revert "Add Alder Lake-M ACPI ID"
    839ddf786772 usb: dwc3: pci: add support for the Intel Raptor Lake-S
    7403f4118ab9 swiotlb: fix info leak with DMA_FROM_DEVICE
    b0028e1cc1fa selftests/bpf: Add test for bpf_timer overwriting crash
    732c7172b79c net: phy: meson-gxl: improve link-up behavior
    6c0d2f348be2 net: bcmgenet: Don't claim WOL when its not available
    1502f15b9f29 sctp: fix kernel-infoleak for SCTP sockets
    9ca50a73c98c net: phy: DP83822: clear MISR2 register to disable interrupts
    f49f646f9ec2 gianfar: ethtool: Fix refcount leak in gfar_get_ts_info
    c7f6accc6795 gpio: ts4900: Do not set DAT and OE together
    c614aad2ee9e selftests: pmtu.sh: Kill nettest processes launched in subshell.
    d4dfc94c4052 selftests: pmtu.sh: Kill tcpdump processes launched by subshell.
    0e721b8f2ee5 NFC: port100: fix use-after-free in port100_send_complete
    a2355333cf18 net/mlx5e: Lag, Only handle events from highest priority multipath entry
    7c519f769f55 net/mlx5: Fix a race on command flush flow
    b3d4a7dcb9ca net/mlx5: Fix size field in bufferx_reg struct
    46ad629e58ce ax25: Fix NULL pointer dereference in ax25_kill_by_device
    b7c2fd1d1263 net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr
    6e294d389023 net: ethernet: lpc_eth: Handle error for clk_enable
    c746fa0f54c9 net: ethernet: ti: cpts: Handle error for clk_enable
    5548c81e97ab tipc: fix incorrect order of state message data sanity check
    5e7c402892e1 ethernet: Fix error handling in xemaclite_of_probe
    06a97a7afa05 ice: Fix curr_link_speed advertised speed
    fd0ca20f1846 ice: Don't use GFP_KERNEL in atomic context
    15d1271d89b8 ice: Fix error with handling of bonding MTU
    9bda6a09e7ef ice: stop disabling VFs due to PF error responses
    49839cb40d6c i40e: stop disabling VFs due to PF error responses
    35f11aba74e2 iavf: Fix handling of vlan strip virtual channel messages
    0716607ad241 ARM: dts: aspeed: Fix AST2600 quad spi group
    9c0686caa822 net: dsa: mt7530: fix incorrect test in mt753x_phylink_validate()
    f9ec15fc3c48 drm/sun4i: mixer: Fix P010 and P210 format numbers
    c5883d38a470 gpiolib: acpi: Convert ACPI value of debounce to microseconds
    c014efbd1c28 smsc95xx: Ignore -ENODEV errors when device is unplugged
    3acc8788febf qed: return status of qed_iov_get_link
    e5d078d21fa0 esp: Fix BEET mode inter address family tunneling on GSO
    4aaabbffc3b0 esp: Fix possible buffer overflow in ESP transformation
    4dfa7d3508bf net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
    92d97017c67c isdn: hfcpci: check the return value of dma_set_mask() in setup_hw()
    4b1743bc715a vdpa: fix use-after-free on vp_vdpa_remove
    8848b0fa9bf1 virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero
    f8d88e86e90e vhost: fix hung thread due to erroneous iotlb entries
    7777b1f795af mISDN: Fix memory leak in dsp_pipeline_build()
    20145e05e497 net: phy: meson-gxl: fix interrupt handling in forced mode
    90a2f4fc5b23 vduse: Fix returning wrong type in vduse_domain_alloc_iova()
    e7e118416465 vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command
    f96dc3adb9a9 tipc: fix kernel panic when enabling bearer
    0a99594d2058 arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias
    e52ecbca254b HID: vivaldi: fix sysfs attributes leak
    ea45b38caf2b clk: qcom: dispcc: Update the transition delay for MDSS GDSC
    ba24eb3cc95c clk: qcom: gdsc: Add support to update GDSC transition delay
    b6c624d07bf2 ARM: boot: dts: bcm2711: Fix HVS register range
    3ffbe85cda7f HID: hid-thrustmaster: fix OOB read in thrustmaster_interrupts
    a5334502f91f HID: elo: Revert USB reference counting
    af4fcf85c88d arm64: dts: qcom: sm8350: Correct UFS symbol clocks
    8fa52df84c58 arm64: dts: qcom: sm8350: Describe GCC dependency clocks
    aa79753319d8 Linux 5.15.28
    39d332de8edb Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE"
    dea18aef2021 xen/netfront: react properly to failing gnttab_end_foreign_access_ref()
    27dc69aa5568 xen/gnttab: fix gnttab_end_foreign_access() without page specified
    5bff1721c8f9 xen/pvcalls: use alloc/free_pages_exact()
    a019d26830e8 xen/9p: use alloc/free_pages_exact()
    90c5f198b923 xen: remove gnttab_query_foreign_access()
    f06e3edaeac1 xen/gntalloc: don't use gnttab_query_foreign_access()
    f1c85942314d xen/scsifront: don't use gnttab_query_foreign_access() for mapped status
    5d5fa1d53a31 xen/netfront: don't use gnttab_query_foreign_access() for mapped status
    f9ade968df79 xen/blkfront: don't use gnttab_query_foreign_access() for mapped status
    1dd5b4b230f6 xen/grant-table: add gnttab_try_end_foreign_access()
    66cb2bbb522b xen/xenbus: don't let xenbus_grant_ring() remove grants in error case
    2b2d2a8ba2e9 ARM: fix build warning in proc-v7-bugs.c
    8836a046ef41 arm64: Do not include __READ_ONCE() block in assembly files
    431b92c3c25e ARM: Do not use NOCROSSREFS directive with ld.lld
    57a65667fbdc ARM: fix co-processor register typo
    49062ec32e79 ARM: fix build error when BPF_SYSCALL is disabled
    3317d21b84e9 arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    8979720ac64c arm64: Use the clearbhb instruction in mitigations
    fb2bb2ec137c KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
    4bbfd0c28025 arm64: Mitigate spectre style branch history side channels
    8e55b9b0e765 arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2
    d7066114dcd6 arm64: Add percpu vectors for EL1
    cfd0c38125aa arm64: entry: Add macro for reading symbol addresses from the trampoline
    50e700a11766 arm64: entry: Add vectors that have the bhb mitigation sequences
    ffb8a34c0fd8 arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
    517f988ee050 arm64: entry: Allow the trampoline text to occupy multiple pages
    6895584a92ee arm64: entry: Make the kpti trampoline's kpti sequence optional
    a40472d463f9 arm64: entry: Move trampoline macros out of ifdef'd section
    be9c5526aad6 arm64: entry: Don't assume tramp_vectors is the start of the vectors
    2e09754a03a7 arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
    e25a9dced2bd arm64: entry: Move the trampoline data page before the text page
    4a691bbf56a1 arm64: entry: Free up another register on kpti's tramp_exit path
    479c9bb741bf arm64: entry: Make the trampoline cleanup optional
    368a1fd8c4a6 KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A
    44adac5908ff arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit
    b7beeab84f02 arm64: entry.S: Add ventry overflow sanity checks
    e38b3c0d245b arm64: cpufeature: add HWCAP for FEAT_RPRES
    a4c234f60269 arm64: cpufeature: add HWCAP for FEAT_AFP
    912961e188dc arm64: add ID_AA64ISAR2_EL1 sys register
    ac7bc62b78de arm64: Add Cortex-X2 CPU part definition
    f0c559c38e98 arm64: Add HWCAP for self-synchronising virtual counter
    d82f489cbbdb arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
    842f2d498ee1 ARM: include unprivileged BPF status in Spectre V2 reporting
    576548846f1e ARM: Spectre-BHB workaround
    2dca61693e6c ARM: use LOADADDR() to get load address of sections
    878ad97f745e ARM: early traps initialisation
    f02cab2bed1a ARM: report Spectre v2 status through sysfs
    bf048d1921b6 x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT
    074d72604639 x86/speculation: Warn about Spectre v2 LFENCE mitigation
    36fbbd78471c x86/speculation: Update link to AMD speculation whitepaper
    a56566d7a957 x86/speculation: Use generic retpoline by default on AMD
    316e4a16524a x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    eb4596417756 Documentation/hw-vuln: Update spectre doc
    d7771f380c90 x86/speculation: Add eIBRS + Retpoline options
    f150b6fccf7f x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
    e94d490a1ad6 x86,bugs: Unconditionally allow spectre_v2=retpoline,amd
    668c821321b4 slip: fix macro redefine warning
    efe3167e52a5 Linux 5.15.27
    ea2bc310250d hamradio: fix macro redefine warning
    8998aa676205 KVM: x86/mmu: Passing up the error state of mmu_alloc_shadow_roots()
    416e3a0e4276 proc: fix documentation and description of pagemap
    8b893496892e Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
    6599d5e8bd75 btrfs: do not start relocation until in progress drops are done
    4aef4c900597 btrfs: add missing run of delayed items after unlink during log replay
    34146bbadcdd btrfs: qgroup: fix deadlock between rescan worker and remove qgroup
    e00077aa439f btrfs: do not WARN_ON() if we have PageError set
    725a6ac389b1 btrfs: fix relocation crash due to premature return from btrfs_commit_transaction()
    5342e9f3dac0 btrfs: fix lost prealloc extents beyond eof after full fsync
    80660a726d47 tracing: Fix return value of __setup handlers
    452f64ee0940 tracing/histogram: Fix sorting on old "cpu" value
    aa6d3eef28f3 HID: add mapping for KEY_ALL_APPLICATIONS
    b355d6a14ba7 HID: add mapping for KEY_DICTATE
    74e9545d9e25 Input: samsung-keypad - properly state IOMEM dependency
    cb19f03e5f65 Input: elan_i2c - fix regulator enable count imbalance after suspend/resume
    f74fc94691f0 Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power()
    7a1ee9934b14 MAINTAINERS: adjust file entry for of_net.c after movement
    7626ab3a3897 iavf: missing unlocks in iavf_watchdog_task()
    d784113217f9 iavf: do not override the adapter state in the watchdog task (again)
    d61f3737c559 net: stmmac: perserve TX and RX coalesce value during XDP setup
    d666d3363845 selftests: mlxsw: resource_scale: Fix return value
    6fe3127d3af1 net: dcb: disable softirqs in dcbnl_flush_dev()
    46eed3a37dee drm/amdgpu: fix suspend/resume hang regression
    a1e603e5f3b2 nl80211: Handle nla_memdup failures in handle_nan_filter
    a30496660634 MIPS: ralink: mt7621: use bitwise NOT instead of logical
    68c4fe2ef0bf e1000e: Fix possible HW unit hang after an s0ix exit
    9dfe6abc6c13 drm/bridge: ti-sn65dsi86: Properly undo autosuspend
    d675c05b792e drm/i915/guc/slpc: Correct the param count for unset param
    6f62bc0fc12b iavf: Fix __IAVF_RESETTING state usage
    598bc8955916 iavf: Fix race in init state
    ddc5db0bcfa2 iavf: Fix locking for VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS
    8c0e4da63385 iavf: Fix init state closure on remove
    85aa76066fef iavf: Add waiting so the port is initialized in remove
    e734c794dea3 iavf: Fix kernel BUG in free_msi_irqs
    200366d1a583 iavf: Add helper function to go from pci_dev to adapter
    23901462c301 iavf: Rework mutexes for better synchronisation
    9fedc4f86ee3 iavf: Add trace while removing device
    b4e0e00a361d iavf: Combine init and watchdog state machines
    57d2f0db2e63 iavf: Add __IAVF_INIT_FAILED state
    7e2d102501e1 iavf: Refactor iavf state machine tracking
    f8ce435f2c81 net: sparx5: Fix add vlan when invalid operation
    50948cea504c net: chelsio: cxgb3: check the return value of pci_find_capability()
    ea3d3c36a4fa ibmvnic: complete init_done on transport events
    13e3b51ffaf8 ibmvnic: define flush_reset_queue helper
    046d933c1b74 ibmvnic: initialize rc before completing wait
    bb20939bc8d1 net: stmmac: only enable DMA interrupts when ready
    e753b639363d net: stmmac: enhance XDP ZC driver level switching performance
    8cdac518eac7 can: etas_es58x: change opened_channel_cnt's type from atomic_t to u8
    04746dbd9593 ARM: tegra: Move panels to AUX bus
    9920d99cc89a netfilter: nf_tables: prefer kfree_rcu(ptr, rcu) variant
    4ed52fbeb967 soc: fsl: qe: Check of ioremap return value
    c2266d20251c soc: fsl: guts: Add a missing memory allocation failure check
    20ff0ff315cd soc: fsl: guts: Revert commit 3c0d64e867ed
    40d763efa5bf ARM: dts: Use 32KiHz oscillator on devkit8000
    50bce7f03e8c ARM: dts: switch timer config to common devkit8000 devicetree
    af143626eb85 MIPS: ralink: mt7621: do memory detection on KSEG1
    378e2fe1eb58 iommu/amd: Fix I/O page table memory leak
    f6cabb721c5b arm64: dts: juno: Remove GICv2m dma-range
    3411613611a5 sched: Fix yet more sched_fork() races
    3d76a995f646 s390/extable: fix exception table sorting
    b7c35587be23 memfd: fix F_SEAL_WRITE after shmem huge page allocated
    39738a2346b2 ibmvnic: free reset-work-item when flushing
    d4706de93cf7 igc: igc_write_phy_reg_gpy: drop premature return
    896d1b8a3612 pinctrl: sunxi: Use unique lockdep classes for IRQs
    09423ff81601 selftests: mlxsw: tc_police_scale: Make test more robust
    0c3f34beb459 mptcp: Correctly set DATA_FIN timeout when number of retransmits is large
    d7a4b54f4fc5 ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions
    a664bd7a0084 mips: setup: fix setnocoherentio() boolean setting
    f14a0244b1ba ARM: Fix kgdb breakpoint for Thumb2
    c9cfcdd111d7 igc: igc_read_phy_reg_gpy: drop premature return
    7c1db4a30e29 arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output
    6be5b626bec1 iommu/tegra-smmu: Fix missing put_device() call in tegra_smmu_find
    2b04bb51a9c1 can: gs_usb: change active_channels's type from atomic_t to u8
    b6149efc57bf auxdisplay: lcd2s: Use proper API to free the instance of charlcd object
    5d53cd33f425 auxdisplay: lcd2s: Fix memory leak in ->remove()
    6d6c139d1e2d ASoC: cs4265: Fix the duplicated control name
    d442f20e6daf firmware: arm_scmi: Remove space in MODULE_ALIAS name
    f9c3aa939c41 auxdisplay: lcd2s: Fix lcd2s_redefine_char() feature
    4efa386ef9e1 efivars: Respect "block" flag in efivar_entry_set_safe()
    61a303971c3c iavf: Fix deadlock in iavf_reset_task
    366f785bbba4 ixgbe: xsk: change !netif_carrier_ok() handling in ixgbe_xmit_zc()
    ea372aab5490 net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()
    1c09774e5ea1 ibmvnic: register netdev after init of adapter
    f58ead21dd6a net: sxgbe: fix return value of __setup handler
    23a6be260d56 iavf: Fix missing check for running netdev
    a83ebad95542 mac80211: treat some SAE auth steps as final
    b85dd0d7a503 net: stmmac: fix return value of __setup handler
    828f75c24ab8 mac80211: fix forwarded mesh frames AC & queue selection
    5afd80c393f4 btrfs: fix ENOSPC failure when attempting direct IO write into NOCOW range
    15cbeeaada70 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by server
    21922d9cde88 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by client
    80895b6f9154 net/smc: fix connection leak
    a559e0598ce6 net: ipa: add an interconnect dependency
    4daaf8816d60 net: dcb: flush lingering app table entries for unregistered devices
    b11781515208 net: ipv6: ensure we call ipv6_mc_down() at most once
    24e49e17cbfc batman-adv: Don't expect inter-netns unique iflink indices
    94355d99ad70 batman-adv: Request iflink once in batadv_get_real_netdevice
    58ea33965a6f batman-adv: Request iflink once in batadv-on-batadv check
    216f3cb587e0 netfilter: nf_queue: handle socket prefetch
    dd648bd1b33a netfilter: nf_queue: fix possible use-after-free
    63291e95e8ae netfilter: nf_queue: don't assume sk is full socket
    3a65b82b1ef2 net: fix up skbs delta_truesize in UDP GRO frag_list
    a47e7ac8851c e1000e: Correct NVM checksum verification flow
    4020d2e14f13 xfrm: enforce validity of offload input flags
    ce0d6bf33c35 xfrm: fix the if_id check in changelink
    00c74b587197 bpf, sockmap: Do not ignore orig_len parameter
    bd61f192a339 netfilter: fix use-after-free in __nf_register_net_hook()
    75cbedd33343 xfrm: fix MTU regression
    261eff11ade9 mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls
    5d7c23d39660 ntb: intel: fix port config status offset for SPR
    78acc7dbd84a blktrace: fix use after free for struct blk_trace
    5f298bf7f337 mac80211: fix EAPoL rekey fail in 802.3 rx path
    3dafbf915c05 thermal: core: Fix TZ_GET_TRIP NULL pointer dereference
    a63eb1e4a2e1 xen/netfront: destroy queues before real_num_tx_queues is zeroed
    dab06be16184 drm/amd/display: Reduce dmesg error to a debug print
    7508ac360d1e drm/i915: s/JSP2/ICP2/ PCH
    a8a86631f4ce iommu/amd: Recover from event log overflow
    2aaa085bd012 iommu/vt-d: Fix double list_add when enabling VMD in scalable mode
    050b1821f27c ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min
    7de1ed755e1a iwlwifi: mvm: check debugfs_dir ptr before use
    728fb555882b riscv: Fix config KASAN && DEBUG_VIRTUAL
    08b22e3f150e riscv: Fix config KASAN && SPARSEMEM && !SPARSE_VMEMMAP
    e64d6a689ec5 riscv/efi_stub: Fix get_boot_hartid_from_fdt() return value
    6c3d4da8e7a9 ucounts: Fix systemd LimitNPROC with private users regression
    3eb418122d12 ALSA: intel_hdmi: Fix reference to PCM buffer address
    9285523b4174 net: of: fix stub of_net helpers for CONFIG_NET=n
    dc75d7968901 PCI: mvebu: Fix device enumeration regression
    35afd8ae1184 drm/amd/display: For vblank_disable_immediate, check PSR is really used
    5f283e64a850 bnxt_en: Fix occasional ethtool -t loopback test failures
    10dd26349edf drm/amd/display: Fix stream->link_enc unassigned during stream removal
    aa280c04da1b cifs: fix confusing unneeded warning message on smb2.1 and earlier
    3d74c2c917e4 cifs: protect session channel fields with chan_lock
    2594dba1cd79 drm/mediatek: mtk_dsi: Reset the dsi0 hardware
    f510d6463949 net: ethernet: litex: Add the dependency on HAS_IOMEM
    3a3aa0881aeb of: net: move of_net under net/
    960dfaf3b578 ibmvnic: don't release napi in __ibmvnic_open()
    1d13e7221035 net: dsa: seville: register the mdiobus under devres
    8bfa27186e29 net: dsa: ocelot: seville: utilize of_mdiobus_register
    68c8e6d16f57 gve: Recording rx queue before sending to napi
    5c66161cceaa drm/i915: Disable DRRS on IVB/HSW port != A
    e2b3d1bf6ec3 drm/i915/display: Move DRRS code its own file
    23eb29281f1e drm/i915/display: split out dpt out of intel_display.c
    fbf6d5f8eef7 riscv/mm: Add XIP_FIXUP for phys_ram_base
    86a337bb8030 drm: mxsfb: Fix NULL pointer dereference
    9bbeba67bbbd drm: mxsfb: Set fallback bus format when the bridge doesn't provide one
    ed4488d8307f drm/amd/display: Update watermark values for DCN301
    07058fb18df8 bpf: Fix possible race in inc_misses_counter
    aa5040691cb7 bpf: Use u64_stats_t in struct bpf_prog_stats
    82a82ad92746 net/mlx5e: IPsec: Fix crypto offload for non TCP/UDP encapsulated traffic
    748438b4e62c net/mlx5e: IPsec: Refactor checksum code in tx data path
    f1c0163bb824 octeontx2-af: Add KPU changes to parse NGIO as separate layer
    63138001c961 octeontx2-af: Adjust LA pointer for cpt parse header
    ab3380a844aa octeontx2-af: cn10k: Use appropriate register for LMAC enable
    fe3eafea3907 octeontx2-af: cn10k: RPM hardware timestamp configuration
    ef33ae74bb9c octeontx2-af: Reset PTP config in FLR handler
    75279de4e392 octeontx2-af: Optimize KPU1 processing for variable-length headers
    462c5e6cb241 ethtool: Fix link extended state for big endian
    27e01f10d183 drm/amd/display: move FPU associated DSC code to DML folder
    691c0030be65 drm/amd/display: Use adjusted DCN301 watermarks
    2157e509e5b2 drm/amdgpu: filter out radeon secondary ids as well
    f724a438d986 drm/amdgpu: filter out radeon PCI device IDs
    48cf33ee6b04 drm/amdgpu/display: Only set vblank_disable_immediate when PSR is not enabled
    3f20cf3cd43f hugetlbfs: fix off-by-one error in hugetlb_vmdelete_list()
    e9737301f0df selftests/vm: make charge_reserved_hugetlb.sh work with existing cgroup setting
    1123c2fb9dc3 kasan: fix quarantine conflicting with init_on_free
    f1675103e0f3 mm: defer kmemleak object creation of module_alloc()
    013c2af6c15c tracing/probes: check the return value of kstrndup() for pbuf
    8a20fed48eb4 tracing/uprobes: Check the return value of kstrdup() for tu->filename
    1a62246c2c60 dma-buf: cma_heap: Fix mutex locking section
    8654464086a1 i3c: master: dw: check return of dw_i3c_master_get_free_pos()
    a80b13642a10 drm/amdgpu: use spin_lock_irqsave to avoid deadlock by local interrupt
    5609b7803947 drm/amdkfd: Check for null pointer after calling kmemdup
    950d17f190a4 ntb_hw_switchtec: Fix bug with more than 32 partitions
    377cbdc92716 ntb_hw_switchtec: Fix pff ioread to read into mmio_part_cfg_all
    cd07b19fbf37 drm/atomic: Check new_crtc_state->active to determine if CRTC needs disable in self refresh mode
    1796d5350cb4 drm/sun4i: dw-hdmi: Fix missing put_device() call in sun8i_hdmi_phy_get
    e209742c13d2 SUNRPC: Fix sockaddr handling in svcsock_accept_class trace points
    bdaa8c7b7189 SUNRPC: Fix sockaddr handling in the svc_xprt_create_error trace point
    d3f67ceaeb3f drm/i915: don't call free_mmap_offset when purging
    e47679c06afc x86/hyperv: Properly deal with empty cpumasks in hyperv_flush_tlb_multi()
    4425ca3677a6 nfsd: fix crash on COPY_NOTIFY with special stateid
    0f84cfb465af Revert "nfsd: skip some unnecessary stats in the v4 case"
    3abe2a70f5b4 NFSD: Fix verifier returned in stable WRITEs
    e7c433270307 PCI: mvebu: Fix support for DEVCAP2, DEVCTL2 and LNKCTL2 registers on emulated bridge
    a24745673304 PCI: mvebu: Fix support for PCI_EXP_RTSTA on emulated bridge
    1d4200e28436 PCI: mvebu: Fix support for PCI_EXP_DEVCTL on emulated bridge
    1ea3f69784ed PCI: mvebu: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
    9c91c755005b PCI: mvebu: Setup PCIe controller to Root Complex mode
    3d394fa375f4 PCI: mvebu: Fix configuring secondary bus of PCIe Root Port via emulated bridge
    4396c507a8f8 PCI: mvebu: Fix support for bus mastering and PCI_COMMAND on emulated bridge
    bc988b126134 PCI: mvebu: Do not modify PCI IO type bits in conf_write
    c1a027629c36 PCI: mvebu: Check for errors from pci_bridge_emul_init() call
    7c93c809e00a Input: ti_am335x_tsc - fix STEPCONFIG setup for Z2
    16ff93557d1e Input: ti_am335x_tsc - set ADCREFM for X configuration
    628761fe0588 tracing: Do not let synth_events block other dyn_event systems during create
    f35bacbb795a i3c/master/mipi-i3c-hci: Fix a potentially infinite loop in 'hci_dat_v1_get_index()'
    e5264d44f732 i3c: fix incorrect address slot lookup on 64-bit
    1adfbfaeb20d KVM: x86: Exit to userspace if emulation prepared a completion callback
    3d8468045e39 KVM: x86: Handle 32-bit wrap of EIP for EMULTYPE_SKIP with flat code seg
    00542cbacf22 KVM: X86: Ensure that dirty PDPTRs are loaded
    723053e16d55 KVM: VMX: Read Posted Interrupt "control" exactly once per loop iteration
    32b758d12c24 KVM: s390: Ensure kvm_arch_no_poll() is read once when blocking vCPU
    b63190d0203f KVM: VMX: Don't unblock vCPU w/ Posted IRQ if IRQs are disabled in guest
    f303196899f1 PCI: aardvark: Fix checking for MEM resource type
    a2f5e9a6f2a0 PCI: dwc: Do not remap invalid res
    d9fc43aab60d PCI: rcar: Check if device is runtime suspended instead of __clk_is_enabled()
    aa805236ed97 PCI: mediatek-gen3: Disable DVFSRC voltage request
    7f361266e981 signal: In get_signal test for signal_group_exit every time through the loop
    f98371d2ac83 MIPS: fix local_{add,sub}_return on MIPS64
    64b487be33b7 mtd: spi-nor: Fix mtd size for s3an flashes
    83ef63535a8a tools/resolve_btf_ids: Close ELF file on error
    1bd12b7aaee0 io_uring: fix no lock protection for ctx->cq_extra
    384d1b11382b NFSD: Fix zero-length NFSv3 WRITEs
    2de88544b3db NFSD: Have legacy NFSD WRITE decoders use xdr_stream_subsegment()
    771aca9bc707 ipv6: fix skb drops in igmp6_event_query() and igmp6_event_report()
    33e22b6c53d0 tracing: Add ustring operation to filtering string pointers
    a9c6e02d223e drm/amdgpu: check vm ready by amdgpu_vm->evicting flag
    b2a3068d5f15 ata: pata_hpt37x: fix PCI clock detection
    e0bcd6b57793 sched/fair: Fix fault in reweight_entity
    6f6ffc717b85 ext4: fast commit may miss file actions
    97abcfedc87c ext4: fast commit may not fallback for ineligible commit
    647b3f1533f4 ext4: simplify updating of fast commit stats
    5abb1d84b6db ext4: drop ineligible txn start stop APIs
    82a99bc85c0e serial: stm32: prevent TDR register overwrite when sending x_char
    1921d1fd0e60 arm64: Mark start_backtrace() notrace and NOKPROBE_SYMBOL
    60e6d58ef921 tracing: Add test for user space strings when filtering on string pointers
    c9f727219f3e exfat: fix i_blocks for files truncated over 4 GiB
    1ffc130388c5 exfat: reuse exfat_inode_info variable instead of calling EXFAT_I()
    ab3656acb7b4 usb: gadget: clear related members when goto fail
    07de9a494b5a usb: gadget: don't release an existing dev->buf
    a1ba98731518 block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern
    1148adac7781 net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990
    f6fbf18d156c i2c: qup: allow COMPILE_TEST
    d65d187b51b6 i2c: imx: allow COMPILE_TEST
    d2327116861c i2c: cadence: allow COMPILE_TEST
    7b22f63b933f dmaengine: shdma: Fix runtime PM imbalance on error
    7d0214c38dca selftests/ftrace: Do not trace do_softirq because of PREEMPT_RT
    4543426cd7b8 drm/amd/pm: correct UMD pstate clocks for Dimgrey Cavefish and Beige Goby
    b628fffce58a selftests/seccomp: Fix seccomp failure by adding missing headers
    54e7951a1988 cifs: modefromsids must add an ACE for authenticated users
    18a9d6b18c2b HID: amd_sfh: Add interrupt handler to process interrupts
    852b6b0411e6 HID: amd_sfh: Add functionality to clear interrupts
    8ba9a2e72584 HID: amd_sfh: Handle amd_sfh work buffer in PM ops
    546d60859ecf cifs: fix double free race when mount fails in cifs_get_root()
    ccf46cb68859 cifs: do not use uninitialized data in the owner/group sid
    5340a0924ea9 tipc: fix a bit overflow in tipc_crypto_key_rcv()
    1ccc12f2240a block: loop:use kstatfs.f_bsize of backing file to set discard granularity
    8694330db9b0 KVM: arm64: vgic: Read HW interrupt pending state from the HW
    850a77c999b8 btrfs: get rid of warning on transaction commit when using flushoncommit
    6279c5263ded Input: clear BTN_RIGHT/MIDDLE on buttonpads
    700485846e12 regulator: core: fix false positive in regulator_late_cleanup()
    fd64f8bc0644 ASoC: rt5682: do not block workqueue if card is unbound
    4235a04ad401 ASoC: rt5668: do not block workqueue if card is unbound
    2ed390555dbc i2c: bcm2835: Avoid clock stretching timeouts
    e03ad1915ccc mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
    2d27a2bd381f mac80211_hwsim: report NOACK frames in tx_status
    8993e6067f26 Linux 5.15.26
    3c805fce07c9 ice: fix concurrent reset and removal of VFs
    26bc7197f9d3 ice: Fix race conditions between virtchnl handling and VF ndo ops
    fd21a0b6da94 memblock: use kfree() to release kmalloced memblock regions
    83f331d1debb gpio: tegra186: Fix chip_data type confusion
    a15769155440 pinctrl: k210: Fix bias-pull-up
    e3a751ee48f9 pinctrl: fix loop in k210_pinconf_get_drive()
    92cab57ea6d7 tty: n_gsm: fix deadlock in gsmtty_open()
    06bce5327b76 tty: n_gsm: fix wrong modem processing in convergence layer type 2
    1bc6f3b19bc6 tty: n_gsm: fix wrong tty control line for flow control
    50cacb783bb3 tty: n_gsm: fix NULL pointer access due to DLCI release
    519d0b389c10 tty: n_gsm: fix proper link termination after failed open
    4f0ab1c8a5a6 tty: n_gsm: fix encoding of control signal octet bit DV
    1851b9a46706 riscv: fix oops caused by irqsoff latency tracer
    e0ff4dffded5 riscv: fix nommu_k210_sdcard_defconfig
    72aa720acacf IB/qib: Fix duplicate sysfs directory name
    7a7e1b3aeef7 tps6598x: clear int mask on probe failure
    bde6a6b111b9 staging: fbtft: fb_st7789v: reset display before initialization
    ba9efbbf6745 thermal: int340x: fix memory leak in int3400_notify()
    00265efbd3e5 RDMA/cma: Do not change route.addr.src_addr outside state checks
    8df508b7a44c btrfs: prevent copying too big compressed lzo segment
    d2bef2cbd3b1 driver core: Free DMA range map when device is released
    453a82127f17 mtd: core: Fix a conflict between MTD and NVMEM on wp-gpios property
    fcd3f5906d64 nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property
    ce94606060d7 xhci: Prevent futile URB re-submissions due to incorrect return value.
    c8b38e557414 xhci: re-initialize the HC during resume if HCE was set
    88f69c64443f usb: dwc3: gadget: Let the interrupt handler disable bottom halves.
    83e0190fb77c usb: dwc3: pci: Fix Bay Trail phy GPIO mappings
    e62f41a6528f usb: dwc3: pci: Add "snps,dis_u2_susphy_quirk" for Intel Bay Trail
    943a914d3dab usb: dwc2: drd: fix soft connect when gadget is unconfigured
    85171fbf714c USB: serial: option: add Telit LE910R1 compositions
    c331aa7e7064 USB: serial: option: add support for DW5829e
    6db927ce66ac tracefs: Set the group ownership in apply_options() not parse_options()
    2c775ad1fd5e USB: gadget: validate endpoint index for xilinx udc
    da514063440b usb: gadget: rndis: add spinlock for rndis response list
    f7c9fd0dff99 Revert "USB: serial: ch341: add new Product ID for CH341A"
    27089f04fac6 ata: pata_hpt37x: disable primary channel on HPT371
    4e508c593573 sc16is7xx: Fix for incorrect data being transmitted
    72b0fba2dd4d iio: Fix error handling for PM
    1f05c7568445 iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot
    c77f4ae7bd43 iio: accel: fxls8962af: add padding to regmap for SPI
    ca9d1799be68 iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
    0cb9b2f73c18 iio: adc: tsc2046: fix memory corruption by preventing array overflow
    fe7347780298 iio: adc: men_z188_adc: Fix a resource leak in an error handling path
    7bdf7d5f0cbd iio:imu:adis16480: fix buffering for devices with no burst mode
    9000406481a5 tracing: Have traceon and traceoff trigger honor the instance
    7e35b31e2cee tracing: Dump stacktrace trigger to the corresponding instance
    c8b56e51aa91 RDMA/ib_srp: Fix a deadlock
    e7a66dd26877 configfs: fix a race in configfs_{,un}register_subsystem()
    a94879d41917 bnxt_en: Increase firmware message response DMA wait time
    27440589551f RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close
    bf2cfad0c6e4 RDMA/rtrs-clt: Fix possible double free in error case
    ff999198ec21 net-timestamp: convert sk->sk_tskey to atomic_t
    d99dcdabc52a regmap-irq: Update interrupt clear register for proper reset
    43221f446c02 gpio: rockchip: Reset int_bothedge when changing trigger
    3c32405d6474 spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op()
    2378f94c8d9b net/mlx5: Update log_max_qp value to be 17 at most
    6e94d2863384 net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets
    95c1867704d0 net/mlx5e: MPLSoUDP decap, fix check for unsupported matches
    d4d188487ddc net/mlx5: DR, Fix the threshold that defines when pool sync is initiated
    9703a9e2f968 net/mlx5: Fix wrong limitation of metadata match on ecpf
    f63548dd05ab net/mlx5: Fix possible deadlock on rule deletion
    837b0d2e69e8 net/mlx5: DR, Don't allow match on IP w/o matching on full ethertype/ip_version
    954997aeb8f2 ibmvnic: schedule failover only if vioctl fails
    117a5a7f019e net/mlx5: DR, Cache STE shadow memory
    6b6094db77e6 udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister()
    4039254acbd4 surface: surface3_power: Fix battery readings on batteries without a serial number
    062772d5cc8c net/smc: Use a mutex for locking "struct smc_pnettable"
    e96e204ee6fa netfilter: nf_tables: fix memory leak during stateful obj update
    7d258451d345 net: mdio-ipq4019: add delay after clock enable
    9d8097caa732 nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
    8ffb8ac34488 netfilter: nf_tables: unregister flowtable hooks on netns exit
    2e15fa8091de net: Force inlining of checksum functions in net/checksum.h
    be2d38247657 net: ll_temac: check the return value of devm_kmalloc()
    a95ea90deb30 net/sched: act_ct: Fix flow table lookup after ct clear or switching zones
    d064d0c39405 drm/i915/dg2: Print PHY name properly on calibration error
    eae86ab32069 drm/vc4: crtc: Fix runtime_pm reference counting
    163e50b00530 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
    143dafa60aa7 drm/edid: Always set RGB444
    f941104aa116 openvswitch: Fix setting ipv6 fields causing hw csum failure
    62ca33976ddc net: mv643xx_eth: process retval from of_get_mac_address
    899e56a1ad43 gso: do not skip outer ip header in case of ipip and net_failover
    0a9bc4179c30 tipc: Fix end of loop tests for list_for_each_entry()
    8270e92a0e42 nvme: also mark passthrough-only namespaces ready in nvme_update_ns_info
    6f2e0ae12aa8 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
    c718ea4e7382 io_uring: add a schedule point in io_add_buffers()
    8628f489b749 bpf: Add schedule points in batch ops
    976406c5cc00 bpf: Fix a bpf_timer initialization issue
    755d4b744056 selftests: bpf: Check bpf_msg_push_data return value
    5d75e374eb77 bpf: Do not try bpf_msg_push_data with len 0
    719d1c2524c8 bpf: Fix crash due to incorrect copy_map_value
    de49b0e1cf62 net/mlx5: Update the list of the PCI supported devices
    9594d817b5eb ice: initialize local variable 'tlv'
    b3615ea66b91 ice: check the return of ice_ptp_gettimex64
    7e8da9964437 net/mlx5: Fix tc max supported prio for nic mode
    7efe8499cb90 hwmon: Handle failure to register sensor with thermal zone correctly
    86da2e4a1284 bnxt_en: Fix incorrect multicast rx mask setting when not requested
    24931b4d199e bnxt_en: Fix offline ethtool selftest with RDMA enabled
    f84bbb9893bd bnxt_en: Fix active FEC reporting to ethtool
    1243861bc002 bnx2x: fix driver load from initrd
    7c844c7af784 selftests: mptcp: be more conservative with cookie MPJ limits
    f76977643339 selftests: mptcp: fix diag instability
    f25ae162f4b3 mptcp: add mibs counter for ignored incoming options
    150d1e06c4f1 mptcp: fix race in incoming ADD_ADDR option processing
    40bbab9d4ed7 perf data: Fix double free in perf_session__delete()
    05ef4f56173e perf evlist: Fix failed to use cpu list for uncore events
    0b92b5f4c50b gpu: host1x: Always return syncpoint value when waiting
    734d80b4365a Revert "i40e: Fix reset bw limit when DCB enabled with 1 TC"
    1cfb33b338fb ping: remove pr_err from ping_lookup
    2922aff43397 optee: use driver internal tee_context for some rpc
    0efdc0360395 tee: export teedev_open() and teedev_close_context()
    6c5d780469d6 netfilter: nf_tables_offload: incorrect flow offload action array size
    144f3008524c netfilter: xt_socket: missing ifdef CONFIG_IP6_NF_IPTABLES dependency
    cb2313b216be netfilter: xt_socket: fix a typo in socket_mt_destroy()
    49909c9f8458 CDC-NCM: avoid overflow in sanity checking
    4b77aab7ada7 USB: zaurus: support another broken Zaurus
    9f2d61477990 sr9700: sanity check for packet length
    0726fca0b6cc drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV
    1b4445e09df8 drm/i915: Correctly populate use_sagv_wm for all pipes
    7782e3c4e539 drm/i915: Widen the QGV point mask
    8840d963e566 drm/amdgpu: do not enable asic reset for raven2
    70b2413ac30c drm/amdgpu: disable MMHUB PG for Picasso
    ea44fcee7e3d drm/amd: Check if ASPM is enabled from PCIe subsystem
    c00e4c01f470 drm/amd/pm: fix some OEM SKU specific stability issues
    211b67fb5a49 drm/amd/display: Protect update_bw_bounding_box FPU code.
    4c3644b6c96c KVM: x86/mmu: make apf token non-zero to fix bug
    759e5dc6554d parisc/unaligned: Fix ldw() and stw() unalignment handlers
    bf0b3d61e002 parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
    960d474e451b vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
    af091cc27e37 selinux: fix misuse of mutex_is_locked()
    0d773aaf5a90 io_uring: disallow modification of rsrc_data during quiesce
    7c83437fb3ae io_uring: don't convert to jiffies for waiting on timeouts
    6d20ff677349 clk: jz4725b: fix mmc0 clock gating
    b80fbc20f334 btrfs: tree-checker: check item_size for dev_item
    7e80846a9927 btrfs: tree-checker: check item_size for inode_item
    a6d9692cadb9 x86/ptrace: Fix xfpregs_set()'s incorrect xmm clearing
    ebeb7b73571e cgroup-v1: Correct privileges check in release_agent writes
    ffed0bf6a63d cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
    f89903ae99bd mm/filemap: Fix handling of THPs in generic_file_buffered_read()
    1e7beca28299 Linux 5.15.25
    5dcc36569734 lockdep: Correct lock_classes index mapping
    c2df4c62a189 i2c: brcmstb: fix support for DSL and CM variants
    ec7d87b64e78 ice: enable parsing IPSEC SPI headers for RSS
    0b4ea5b72b17 scsi: qedi: Fix ABBA deadlock in qedi_process_tmf_resp() and qedi_process_cmd_cleanup_resp()
    795feafb7234 copy_process(): Move fd_install() out of sighand->siglock critical section
    3e41445287af dmaengine: ptdma: Fix the error handling path in pt_core_init()
    8641ceb41f30 i2c: qcom-cci: don't put a device tree node before i2c_add_adapter()
    7512f91bc313 i2c: qcom-cci: don't delete an unregistered adapter
    052707279e70 tests: fix idmapped mount_setattr test
    6b186a23af0d dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size
    4f3a0737992c dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe
    62e228e3e169 dmaengine: sh: rcar-dmac: Check for error num after setting mask
    f4a821b098c5 net: sched: limit TC_ACT_REPEAT loops
    2b2be95b6013 ucounts: Move RLIMIT_NPROC handling after set_user
    b5f949d9a9c3 rlimit: Fix RLIMIT_NPROC enforcement failure caused by capability calls in set_user
    114e9f141822 lib/iov_iter: initialize "flags" in new pipe_buffer
    2d2d92cfcd3b ucounts: Enforce RLIMIT_NPROC not RLIMIT_NPROC+1
    efc853d8ffd5 ucounts: Base set_cred_ucounts changes on the real user
    f418bfabea43 ucounts: In set_cred_ucounts assume new->ucounts is non-NULL
    d464492eb391 ucounts: Handle wrapping in is_ucounts_overlimit
    e1e26697d032 EDAC: Fix calculation of returned address and next offset in edac_align_ptr()
    e6da726eb67d scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop
    3f2bc7f028f6 kconfig: fix failing to generate auto.conf
    88289d56cb28 net: macb: Align the dma and coherent dma masks
    b501b0f4e113 net: usb: qmi_wwan: Add support for Dell DW5829e
    1ddab2ee8829 drm/amd/display: fix yellow carp wm clamping
    929b2eddebc2 drm/amd/display: Cap pflip irqs per max otg number
    3fd92f5be6c4 display/amd: decrease message verbosity about watermarks table failure
    eb61dbb192b1 tracing: Fix tp_printk option related with tp_printk_stop_on_boot
    893297940084 drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
    9921c866dc36 xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create
    b5caba5efbab soc: aspeed: lpc-ctrl: Block error printing on probe defer cases
    71720cae1cad ata: libata-core: Disable TRIM on M88V29
    62542c5f18a1 kconfig: let 'shell' return enough output for deep path names
    004458327695 ACPI: PM: Revert "Only mark EC GPE for wakeup on Intel systems"
    246dfbc12539 mm: io_uring: allow oom-killer from io_uring_setup
    54d69f072d5e selftests: fixup build warnings in pidfd / clone3 tests
    fc6d187f2986 pidfd: fix test failure due to stack overflow on some arches
    9659711c3248 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610
    42b3092ccfb1 arm64: dts: meson-g12: add ATF BL32 reserved-memory region
    de3b10b7ccc6 arm64: dts: meson-gx: add ATF BL32 reserved-memory region
    5644bf688e4a ksmbd: don't align last entry offset in smb2 query directory
    03dd71e0b9d8 ksmbd: fix same UniqueId for dot and dotdot entries
    7afed8b3608e netfilter: conntrack: don't refresh sctp entries in closed state
    f7b95b396700 x86/bug: Merge annotate_reachable() into _BUG_FLAGS() asm
    c4315bffe5d0 irqchip/sifive-plic: Add missing thead,c900-plic match string
    459b97c958c1 phy: phy-mtk-tphy: Fix duplicated argument in phy-mtk-tphy
    993db6da4aec staging: vc04_services: Fix RCU dereference check
    6a469cf7f372 phy: usb: Leave some clocks running during suspend
    9492e1e53e7d ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
    1587d6b1e0b9 ARM: OMAP2+: hwmod: Add of_node_put() before break
    5f45f96f4189 KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW
    0d3b91d4d9f5 KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event
    d8110cb2cf19 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()
    c377e2ba78d3 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
    6936f02d14ed mtd: rawnand: ingenic: Fix missing put_device in ingenic_ecc_get
    de0d102d0c8c HID: elo: fix memory leak in elo_probe
    ffe36e3a991e mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status
    9fd00a568663 mtd: phram: Prevent divide by zero bug in phram_setup()
    3eb5185896a6 mtd: parsers: qcom: Fix missing free for pparts in cleanup
    eb03cb6e03ff mtd: parsers: qcom: Fix kernel panic on skipped partition
    502f86f5168a mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe()
    e65450a12cf4 block: fix surprise removal for drivers calling blk_set_queue_dying
    e1dce8e127fd tty: n_tty: do not look ahead for EOL character past the end of the buffer
    21165833efa6 NFS: Do not report writeback errors in nfs_getattr()
    f1322f10f60c NFS: LOOKUP_DIRECTORY is also ok with symlinks
    f2238b4e83b6 NFS: Remove an incorrect revalidation in nfs4_update_changeattr_locked()
    4b9c861a589e block/wbt: fix negative inflight counter when remove scsi device
    a22b213139e0 ASoC: qcom: Actually clear DMA interrupt register for HDMI
    ce3e1f82da73 ASoC: tas2770: Insert post reset delay
    493c9e850677 scsi: ufs: Fix a deadlock in the error handler
    2af0fdfbfb37 scsi: ufs: Remove dead code
    84c109620fef tipc: fix wrong notification node addresses
    727dd33561d5 smb3: fix snapshot mount option
    4a7ec50298b1 mtd: rawnand: gpmi: don't leak PM reference in error path
    45948a4b1fd0 powerpc/lib/sstep: fix 'ptesync' build error
    0e0b5705640c powerpc/603: Fix boot failure with DEBUG_PAGEALLOC and KFENCE
    68b8924f6038 cifs: fix set of group SID via NTSD xattrs
    b4b8e7ae1346 ASoC: ops: Fix stereo change notifications in snd_soc_put_xr_sx()
    312d8074bc99 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_sx()
    ed1e33f121ea ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()
    edb43ae4ca8d ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()
    900d37d7d8ef ALSA: hda: Fix missing codec probe on Shenker Dock 15
    f9d9574a8ba8 ALSA: hda: Fix regression on forced probe mask option
    3b6134e35a60 ALSA: hda/realtek: Fix deadlock by COEF mutex
    a562de3b700a ALSA: hda/realtek: Add quirk for Legion Y9000X 2019
    2c9a7e11127e ALSA: usb-audio: revert to IMPLICIT_FB_FIXED_DEV for M-Audio FastTrack Ultra
    7285daaca3cd arm64: Correct wrong label in macro __init_el2_gicv3
    b04dcc00ae33 selftests/exec: Add non-regular to TEST_GEN_PROGS
    bf4161eb7e3b perf bpf: Defer freeing string after possible strlen() on it
    e8ba5b039eea net: bridge: multicast: notify switchdev driver whenever MC processing gets disabled
    6b1c9f99c2e6 dpaa2-eth: Initialize mutex used in one step timestamping path
    d3c9dd36ec24 dpaa2-switch: fix default return of dpaa2_switch_flower_parse_mirror_key
    1a16f047946b tipc: fix wrong publisher node address in link publications
    868366d627e4 atl1c: fix tx timeout after link flap on Mikrotik 10/25G NIC
    0e6727589aea net: phy: mediatek: remove PHY mode check on MT7531
    7de7ba7a8bd4 net/smc: Avoid overwriting the copies of clcsock callback functions
    f8ba235c4927 libsubcmd: Fix use-after-free for realloc(..., 0)
    4c9f207810b7 bonding: fix data-races around agg_select_timer
    9bb363ba014f net_sched: add __rcu annotation to netdev->qdisc
    3077976a752a drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit
    bdb6df9bedb3 bonding: force carrier update when releasing slave
    b9ff5667e116 ping: fix the dif and sdif check in ping_lookup
    392c42424ae0 net: ieee802154: ca8210: Fix lifs/sifs periods
    4b27446b538d net: dsa: lan9303: add VLAN IDs to master device
    860c5c275ed2 net: dsa: lan9303: handle hwaccel VLAN tags
    df2495f329b0 net: dsa: lantiq_gswip: fix use after free in gswip_remove()
    2566a89b9e16 net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLAN
    d8905a499af4 net: dsa: lan9303: fix reset on probe
    241e633cb379 cfg80211: fix race in netlink owner interface destruction
    c4caf72a42d3 brcmfmac: firmware: Fix crash in brcm_alt_fw_path
    00fb850c8a1a mac80211: mlme: check for null after calling kmemdup
    61e8fc49a9f8 Revert "net: ethernet: bgmac: Use devm_platform_ioremap_resource_byname"
    d51cd648dbca ipv6: per-netns exclusive flowlabel checks
    3e11ef1903cf ipv6: mcast: use rcu-safe version of ipv6_get_lladdr()
    9ed25183e6d4 ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rt
    db333693b052 ipv4: fix data races in fib_alias_hw_flags_set
    5dc653ef0785 selftests: netfilter: disable rp_filter on router
    2035d13eb12e netfilter: nft_synproxy: unregister hooks on init error path
    a1d9e1f14207 selftests: netfilter: fix exit value for nft_concat_range
    b10f4b00e10a iwlwifi: mvm: don't send SAR GEO command for 3160 devices
    c448b0541abf iwlwifi: pcie: gen2: fix locking when "HW not ready"
    78cd5c0acfed iwlwifi: pcie: fix locking when "HW not ready"
    79bdf56cc55d drm/i915/ttm: tweak priority hint selection
    e4778408c04d drm/i915/gvt: Make DRM_I915_GVT depend on X86
    02f7d38533ba drm/cma-helper: Set VM_DONTEXPAND for mmap
    787468ee7a43 vsock: remove vsock from connected table when connect is interrupted by a signal
    fe802b3fe763 drm/i915: Fix mbus join config lookup
    34f5556ddf2b drm/i915: Fix dbuf slice config lookup
    d006f2fe7d62 drm/i915/opregion: check port number bounds for SWSCI display power state
    960c8a55016b drm/amdgpu: skipping SDMA hw_init and hw_fini for S0ix.
    3851046599c1 drm/amd/pm: correct the sequence of sending gpu reset msg
    a1596e0277ed drm/atomic: Don't pollute crtc_state->mode_blob with error pointers
    68f3a4252e97 drm/radeon: Fix backlight control on iMac 12,1
    ddd46059f7d9 iwlwifi: fix use-after-free
    8209fede7d58 KVM: x86: nSVM: mark vmcb01 as dirty when restoring SMM saved state
    74b426bea4f7 KVM: x86: nSVM: fix potential NULL derefernce on nested migration
    417b87cb2311 KVM: x86: SVM: don't passthrough SMAP/SMEP/PKE bits in !NPT && !gCR0.PG case
    cd14c7342df5 KVM: x86: nSVM/nVMX: set nested_run_pending on VM entry which is a result of RSM
    b5c86e750388 KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU
    b16817a6de31 random: wake up /dev/random writers after zap
    effdcc250584 gcc-plugins/stackleak: Use noinstr in favor of notrace
    0a01326fddf6 Revert "module, async: async_synchronize_full() on module init iff async is used"
    769a6b33ec9f x86/Xen: streamline (and fix) PV CPU enumeration
    0fec53c5dca8 drm/amdgpu: fix logic inversion in check
    38108fd273ac drm/amd: Only run s3 or s0ix if system is configured properly
    72808bb42c87 drm/amd: add support to check whether the system is set to s3
    0ceba4d64fee net: sparx5: do not refer to skb after passing it on
    646952b2210f nvme-rdma: fix possible use-after-free in transport error_recovery work
    5e42fca37ccc nvme-tcp: fix possible use-after-free in transport error_recovery work
    e043fb5a0336 nvme: fix a possible use-after-free in controller reset during load
    64519c9e32ac drm/amd: Warn users about potential s0ix problems
    d9d93f32534a scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task
    3c334cdfd949 scsi: pm8001: Fix use-after-free for aborted TMF sas_task
    f2c58667ffcd scsi: core: Reallocate device's budget map on queue depth change
    46756cc81099 kselftest: Fix vdso_test_abi return status
    3801775a07b5 scsi: pm80xx: Fix double completion for SATA devices
    64d6f76958c5 quota: make dquot_quota_sync return errors from ->sync_fs
    38f22c730c38 vfs: make freeze_super abort when sync_filesystem returns error
    5d3e1af11e07 pinctrl: bcm63xx: fix unmet dependency on REGMAP for GPIO_REGMAP
    4c958f0c5714 ax25: improve the incomplete fix to avoid UAF and NPD bugs
    bced176da6e0 selftests: skip mincore.check_file_mmap when fs lacks needed support
    7d10b671a052 selftests: openat2: Skip testcases that fail with EOPNOTSUPP
    04542fd44dd7 selftests: openat2: Add missing dependency in Makefile
    a613105e07b9 selftests: openat2: Print also errno in failure messages
    16d28de2f361 selftests/zram: Adapt the situation that /dev/zram0 is being used
    9172557bdf13 selftests/zram01.sh: Fix compression ratio calculation
    586ec7c0992a selftests/zram: Skip max_comp_streams interface on newer kernel
    23b2a2538240 net: ieee802154: at86rf230: Stop leaking skb's
    c99068d6839c kselftest: signal all child processes
    eb3b35385558 selftests: rtc: Increase test timeout so that all tests run
    ec1d9bb08850 kunit: tool: Import missing importlib.abc
    fdad28ff1d1d platform/x86: ISST: Fix possible circular locking dependency detected
    54688a550924 platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1
    7e234c47fd2f btrfs: send: in case of IO error log it
    94e76b372817 parisc: Add ioread64_lo_hi() and iowrite64_lo_hi()
    c7a4b1d155d3 PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology
    7da6ba116cdc HID: amd_sfh: Correct the structure field name
    6b75f5c18f38 HID: amd_sfh: Increase sensor command timeout
    bdbc65eb77ee HID: i2c-hid: goodix: Fix a lockdep splat
    6451058f2720 HID: amd_sfh: Add illuminance mask to limit ALS max value
    b3dc4b9d3ca6 mm: don't try to NUMA-migrate COW pages that have other uses
    f3ff5f75d8f6 mmc: block: fix read single on recovery logic
    5b6e29b9306c parisc: Fix sglist access in ccio-dma.c
    8c8e949ae81e parisc: Fix data TLB miss in sba_unmap_sg
    9413b2e2bdb7 parisc: Drop __init from map_pages declaration
    35c955b5a45e serial: parisc: GSC: fix build when IOSAPIC is not set
    7a25d8249971 parisc: Show error if wrong 32/64-bit compiler is being used
    9750d45760c8 Revert "svm: Add warning message for AVIC IPI invalid target"
    65ad2f6191a6 HID:Add support for UGTABLET WP5540
    06bd0f157e70 scsi: lpfc: Fix mailbox command failure during driver initialization
    ae6ca6343929 btrfs: zoned: cache reported zone during mount
    a8dd0cfa3779 fs/proc: task_mmu.c: don't read mapcount for migration entry
    f0a60c7c4ede drm/nouveau/pmu/gm200-: use alternate falcon reset sequence
    a0ebea480bb3 Linux 5.15.24
    65ab30f6a695 iommu: Fix potential use-after-free during probe
    7969fe91c983 perf: Fix list corruption in perf_cgroup_switch()
    8ebcd2c680e1 arm64: dts: imx8mq: fix lcdif port node
    48f54966f7f7 MIPS: octeon: Fix missed PTR->PTR_WD conversion
    cd4494f8685c scsi: lpfc: Reduce log messages seen after firmware download
    6737f9a95a42 scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled
    c8e9c2b52c4c Makefile.extrawarn: Move -Wunaligned-access to W=1
    24645c47880b x86/sgx: Silence softlockup detection when releasing large enclaves
    30de73bebf2b hwmon: (dell-smm) Speed up setting of fan speed
    16cde074b00c bus: mhi: pci_generic: Add mru_default for Cinterion MV31-W
    2c1d20e34669 bus: mhi: pci_generic: Add mru_default for Foxconn SDX55
    fe990b7bf6ac s390/cio: verify the driver availability for path_event call
    56ca18dd5483 signal: HANDLER_EXIT should clear SIGNAL_UNKILLABLE
    f7a56fcca2e4 seccomp: Invalidate seccomp mode to catch death failures
    956cf21cd1ae mm: memcg: synchronize objcg lists with a dedicated spinlock
    b7f54894aa75 iio: buffer: Fix file related error handling in IIO_BUFFER_GET_FD_IOCTL
    7a360e546ad9 phy: ti: Fix missing sentinel for clk_div_table
    12431425c466 speakup-dectlk: Restore pitch setting
    9ae3dad535a9 USB: serial: cp210x: add CPI Bulk Coin Recycler id
    7e5108a22f19 USB: serial: cp210x: add NCR Retail IO box id
    8d226d39d052 USB: serial: ch341: add support for GW Instek USB2.0-Serial devices
    2ea4f4612cb9 USB: serial: option: add ZTE MF286D modem
    24311a9fc426 USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320
    2330b2ba6465 usb: raw-gadget: fix handling of dual-direction-capable endpoints
    33d2a0c1ec20 usb: gadget: f_uac2: Define specific wTerminalType
    2da3b0ab54fb usb: gadget: rndis: check size of RNDIS_MSG_SET command
    3e33e5c67cb9 USB: gadget: validate interface OS descriptor requests
    d3d5bfb3a279 usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition
    8d2b04dad380 usb: dwc3: gadget: Prevent core from processing stale TRBs
    93feb2bdf6d4 usb: ulpi: Call of_node_put correctly
    fc50f42e4616 usb: ulpi: Move of_node_put to ulpi_dev_release
    ffd0393adcdc net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
    f4e72ad027b0 Revert "usb: dwc2: drd: fix soft connect when gadget is unconfigured"
    a6ef1bda0efd usb: dwc2: drd: fix soft connect when gadget is unconfigured
    9a5f471ae380 eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
    decb36e9a9f0 n_tty: wake up poll(POLLRDNORM) on receiving data
    573321db328b vt_ioctl: add array_index_nospec to VT_ACTIVATE
    ffe54289b02e vt_ioctl: fix array_index_nospec in vt_setactivate
    f916181692cb net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister
    d98ba26a4ba9 net: mscc: ocelot: fix mutex lock error during ethtool stats read
    41a8c548d47b ice: Avoid RTNL lock when re-creating auxiliary device
    f9daedc3ab8f ice: Fix KASAN error in LAG NETDEV_UNREGISTER handler
    52eb5c86ede4 ice: fix IPIP and SIT TSO offload
    efd399e12c1b ice: fix an error code in ice_cfg_phy_fec()
    12e067a4d98f dpaa2-eth: unregister the netdev before disconnecting from the PHY
    29b25d5f8f30 mptcp: netlink: process IPv6 addrs in creating listening sockets
    dcd1c4663469 drm/amd/pm: fix hwmon node of power1_label create issue
    4b24ef1d03cf net: amd-xgbe: disable interrupts during pci removal
    489d9fa78e59 tipc: rate limit warning for received illegal binding update
    bb04b5527aff net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
    b8ac37e57044 veth: fix races around rq->rx_notify_masked
    fdcb263fa5cd net: fix a memleak when uncloning an skb dst and its metadata
    f1ab1ba32d36 net: do not keep the dst cache when uncloning an skb dst and its metadata
    6cbe14cc0eb6 nfp: flower: fix ida_idx not being released
    3cab045c99db ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
    b5652bc50dde net: dsa: lantiq_gswip: don't use devres for mdiobus
    46b747232329 net: dsa: mt7530: fix kernel bug in mdiobus_free() when unbinding
    8cda7577a0b4 net: dsa: felix: don't use devres for mdiobus
    caabb5f64f5c net: dsa: bcm_sf2: don't use devres for mdiobus
    aae1c6a1d3d6 net: dsa: ar9331: register the mdiobus under devres
    8b626d45127d net: dsa: mv88e6xxx: don't use devres for mdiobus
    147540cae264 bonding: pair enable_port with slave_arr_updates
    3523167d6658 fbcon: Avoid 'cap' set but not used warning
    ef2cb1fc0365 gpio: sifive: use the correct register to read output values
    d9daa2b76dde gpiolib: Never return internal error codes to user space
    e799974e7cbb ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE
    ab142ea5d502 drm/panel: simple: Assign data from panel_dpi_probe() correctly
    9e3dd49145f3 ixgbevf: Require large buffers for build_skb on 82599VF
    51eece9f8a1d arm64: dts: meson-sm1-odroid: fix boot loop after reboot
    57154c07ed62 arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO domain for GPIOE_2
    162f8057192c arm64: dts: meson-sm1-odroid: use correct enable-gpio pin for tf-io regulator
    006dc5815bb3 arm64: dts: meson-g12b-odroid-n2: fix typo 'dio2133'
    c5ee4cbd0f1b netfilter: ctnetlink: disable helper autoassign
    7f486bed5ec0 net: sparx5: Fix get_stat64 crash in tcpdump
    e4382d0a39f9 misc: fastrpc: avoid double fput() on failed usercopy
    f5e8733d93cf drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd.
    3d2bc21a6768 NFS: Don't skip directory entries when doing uncached readdir
    557302faea9c NFS: Don't overfill uncached readdir pages
    00181d6c9665 gpio: aggregator: Fix calling into sleeping GPIO controllers
    ddcb149ce10a phy: dphy: Correct clk_pre parameter
    72a8aee863af usb: f_fs: Fix use-after-free for epfile
    0ed2f9a97a92 arm64: dts: imx8mq: fix mipi_csi bidirectional port numbers
    af6a1d60a13c ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo
    94b16ca86ab6 phy: stm32: fix a refcount leak in stm32_usbphyc_pll_enable()
    541ec7bfeed3 phy: xilinx: zynqmp: Fix bus width setting for SGMII
    58c42f415b81 ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
    025c6eef1490 staging: fbtft: Fix error path in fbtft_driver_module_init()
    c0ad2c2cac1b phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option
    86cdc3060d41 ARM: dts: meson8b: Fix the UART device-tree schema validation
    5253b083f0a8 ARM: dts: meson8: Fix the UART device-tree schema validation
    00d135070efa ARM: dts: meson: Fix the UART compatible strings
    c22bddf61db0 ARM: dts: Fix timer regression for beagleboard revision c
    ac14a51c3169 drm/i915: Populate pipe dbuf slices more accurately during readout
    8d6a31b83cdd drm/i915: Allow !join_mbus cases for adlp+ dbuf configuration
    05ffa30c99f7 drm/rockchip: vop: Correct RK3399 VOP register fields
    c1af59449d80 drm/amdgpu/display: change pipe policy for DCN 2.0
    0e546bb1324e PM: s2idle: ACPI: Fix wakeup interrupts handling
    65aabd296665 ACPI/IORT: Check node revision for PMCG resources
    64c37c05f7ad nvme-tcp: fix bogus request completion when failing to send AER
    7740eb27c38e ARM: socfpga: fix missing RESET_CONTROLLER
    ccdd7956cd28 ARM: dts: Fix boot regression on Skomer
    14917a884f70 ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group
    4134396f99d2 gfs2: Fix gfs2_release for non-writers regression
    71f46f3d1bf2 riscv: eliminate unreliable __builtin_frame_address(1)
    efe220337181 riscv: cpu-hotplug: clear cpu from numa map when teardown
    7486227fa47a riscv: fix build with binutils 2.38
    67398d2c7b8c KVM: x86: Report deprecated x87 features in supported CPUID
    c09a83ae3b2e KVM: VMX: Set vmcs.PENDING_DBG.BS on #DB in STI/MOVSS blocking shadow
    f7da3276e087 KVM: SVM: Don't kill SEV guest if SMAP erratum triggers in usermode
    11f9427d01a3 KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS
    a3c43649600b KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER
    d44af3ad2a21 KVM: eventfd: Fix false positive RCU usage warning
    a85f3ea1407f net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout()
    a3ba49c129ed MIPS: Fix build error due to PTR used in more places
    96f91a877a5c nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs
    a3486ef99a3b perf: Always wake the parent event
    8981a8fd900e usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend
    a277422a8d97 drm/amd/display: Correct MPC split policy for DCN301
    dc5769c7b063 PM: hibernate: Remove register_nosave_region_late()
    50fe79589c14 net: stmmac: reduce unnecessary wakeups from eee sw timer
    6207f35c213f scsi: myrs: Fix crash in error case
    0c8d27c2aae5 scsi: ufs: Treat link loss as fatal error
    f0a91d892310 scsi: ufs: Use generic error code in ufshcd_set_dev_pwr_mode()
    cb26e94204d7 scsi: pm8001: Fix bogus FW crash for maxcpus=1
    1c22df15cf40 scsi: qedf: Change context reset messages to ratelimited
    6be8eaad75ca scsi: qedf: Fix refcount issue when LOGO is received during TMF
    1f53bbf27a87 scsi: qedf: Add stag_work to all the vports
    83f31dab46b2 scsi: ufs: ufshcd-pltfrm: Check the return value of devm_kstrdup()
    4f786e8f18c3 scsi: target: iscsi: Make sure the np under each tpg is unique
    43ae0ccc4d27 powerpc/fixmap: Fix VM debug warning on unmap
    fa693cfd8fe4 net: sched: Clarify error message when qdisc kind is unknown
    9696125fb3ca drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer
    770d1ba9a820 drm/vc4: Fix deadlock on DSI device attach error
    85008bde411d sched: Avoid double preemption in __cond_resched_*lock*()
    ec903b6daa58 x86/perf: Avoid warning for Arch LBR without XSAVE
    ef5685971abd perf/x86/rapl: fix AMD event handling
    3f4e05eb46ae irqchip/realtek-rtl: Service all pending interrupts
    4403233b8775 sunrpc: Fix potential race conditions in rpc_sysfs_xprt_state_change()
    4b22aa42bd4d net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change
    5ca123c91a64 SUNRPC allow for unspecified transport time in rpc_clnt_add_xprt
    c5ae18fa8d71 NFSv4 handle port presence in fs_location server string
    be67be6a1a8f NFSv4 expose nfs_parse_server_name function
    6f2836341d8a NFSv4.1 query for fs_location attr on a new file system
    2df6a47a131a NFSv4 store server support for fs_location attribute
    0c5d3bfb2967 NFSv4 remove zero number of fs_locations entries error check
    3cb5b317901e NFSv4.1: Fix uninitialised variable in devicenotify
    58967a232ab3 nfs: nfs4clinet: check the return value of kstrdup()
    bbf647ecebc0 NFSv4 only print the label when its queried
    38ae938701e7 NFS: change nfs_access_get_cached to only report the mask
    78c28fdf1685 tracing: Propagate is_signed to expression
    8fdaa9a6ace2 thermal/drivers/int340x: Fix RFIM mailbox write commands
    5abd95ff5d6a thermal: int340x: Limit Kconfig to 64-bit
    786293f61b4b thermal/drivers/int340x: processor_thermal: Suppot 64 bit RFIM responses
    e9b0301939d1 thermal/drivers/int340x: Improve the tcc offset saving for suspend/resume
    c6eff5c42771 NFSD: Fix the behavior of READ near OFFSET_MAX
    c9a8571dd893 NFSD: Fix offset type in I/O trace points
    01c3ae81eef4 NFSD: Clamp WRITE offsets
    8e0ecaf7a7e5 NFSD: Fix ia_size underflow
    37f2d2cd8ead NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes
    535e301ea677 NFS: Fix initialisation of nfs_client cl_flags field
    6b42352bea56 net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs
    9338c17e2c63 net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs
    540dff311c9a can: isotp: fix error path in isotp_sendmsg() to unlock wait queue
    f90cc68f9f4b can: isotp: fix potential CAN frame reception race in isotp_rcv()
    dbe7bf9b6fc8 mmc: core: Wait for command setting 'Power Off Notification' bit to complete
    222c071fadd6 mmc: sdhci-of-esdhc: Check for error num after setting mask
    cf4570ca8ed6 ima: Do not print policy rule with inactive LSM labels
    5389ea64af1e ima: Allow template selection with ima_template[_fmt]= after ima_hash=
    20805cdf95af ima: Remove ima_policy file before directory
    0838d6d68182 ima: fix reference leak in asymmetric_verify()
    739b7bb886b5 integrity: check the return value of audit_log_start()
    c1d3ac0c115f Linux 5.15.23
    1f1788616157 tipc: improve size validations for received domain records
    40eb05e5e72b crypto: api - Move cryptomgr soft dependency into algapi
    ab32ea3ad0d5 ksmbd: fix SMB 3.11 posix extension mount failure
    14f880ea779e KVM: s390: Return error on SIDA memop on normal guest
    c28ee73fea29 arm64: Add Cortex-A510 CPU part definition
    af0e6c49438b moxart: fix potential use-after-free on remove path
    0bf5b7cc9848 Linux 5.15.22
    3853c4e27149 selftests: netfilter: check stateless nat udp checksum fixup
    b84753200e79 selftests: nft_concat_range: add test for reload with no element add/del
    7c0ee51fe998 gpio: mpc8xxx: Fix an ignored error return from platform_get_irq()
    3d631a1af0d7 gpio: idt3243x: Fix an ignored error return from platform_get_irq()
    ff43b75eea32 tools include UAPI: Sync sound/asound.h copy with the kernel sources
    f5afdefe188e cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning
    e4a7e1418ab7 net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY
    f187daed64e1 ext4: fix incorrect type issue during replay_del_range
    1b6762ecdf3c ext4: fix error handling in ext4_fc_record_modified_inode()
    ce38bb98cec7 ext4: fix error handling in ext4_restore_inline_data()
    869cb287d893 ext4: modify the logic of ext4_mb_new_blocks_simple
    0cb4480bc4f4 ext4: prevent used blocks from being allocated during fast commit replay
    d583cb17ee50 EDAC/xgene: Fix deferred probing
    c6c04bb32b73 EDAC/altera: Fix deferred probing
    587dadb43c9a x86/perf: Default set FREEZE_ON_SMI for all
    e83d941fd344 perf/x86/intel/pt: Fix crash with stop filters in single-range mode
    0f4dcaeaf6ae perf stat: Fix display of grouped aliased events
    64e133ce280b perf: Copy perf_event_attr::sig_data on modification
    9a60e92b76d6 kvm/arm64: rework guest entry logic
    83071e2dad68 kvm: add guest_state_{enter,exit}_irqoff()
    aba976f96bbc rtc: cmos: Evaluate century appropriate
    3b5fcdfab628 e1000e: Separate ADP board type from TGP
    b3a4d501e91c tools/resolve_btfids: Do not print any commands when building silently
    7620887a7779 selftests: futex: Use variable MAKE instead of make
    c5610494fd45 selftests/exec: Remove pipe from TEST_GEN_FILES
    5e457aeab52a bpf: Use VM_MAP instead of VM_ALLOC for ringbuf
    62ab929a8f6b gve: fix the wrong AdminQ buffer queue index check
    3611f4f91e11 nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client.
    2f5a1ac68bdf scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
    0bb4c6b9ecff pinctrl: bcm2835: Fix a few error paths
    3cdcfa3c526e pinctrl: intel: fix unexpected interrupt
    ca63438dc5c4 pinctrl: intel: Fix a glitch when updating IRQ flags on a preconfigured line
    d4036172ca3b pinctrl: sunxi: Fix H616 I2S3 pin data
    f00012885e70 ASoC: codecs: wcd938x: fix return value of mixer put function
    b54ff87a1567 ASoC: codecs: lpass-rx-macro: fix sidetone register offsets
    aa7152f9f117 ASoC: codecs: wcd938x: fix incorrect used of portid
    baead410e5db ASoC: max9759: fix underflow in speaker_gain_control_put()
    263b947aa4c1 ASoC: cpcap: Check for NULL pointer after calling of_get_child_by_name
    841e6a6b831b ASoC: simple-card: fix probe failure on platform component
    c6cf5b5078db ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes
    9d44f73df070 ASoC: fsl: Add missing error handling in pcm030_fabric_probe
    8a15ac1786c9 drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled
    5cba71707f0a drm/i915/overlay: Prevent divide by zero bugs in scaling
    b2c91bee7970 drm/kmb: Fix for build errors with Warray-bounds
    a84854bc230a net: stmmac: ensure PTP time register reads are consistent
    27ea34ead54a net: stmmac: dump gmac4 DMA registers correctly
    0ced878998f2 net: macsec: Verify that send_sci is on when setting Tx sci explicitly
    e7a0b3a0806d net: macsec: Fix offload support for NETDEV_UNREGISTER event
    2967b08119d5 net: stmmac: properly handle with runtime pm in stmmac_dvr_remove()
    6358e093547c net: stmmac: dwmac-visconti: No change to ETHER_CLOCK_SEL for unexpected speed request.
    0ef6049f6649 net/smc: Forward wakeup to smc socket waitqueue after fallback
    ea8ecd2d65b4 net: ieee802154: Return meaningful error codes from the netlink helpers
    566bf0e1c761 netfilter: nft_reject_bridge: Fix for missing reply from prerouting
    94cd597e20ed net: ieee802154: ca8210: Stop leaking skb's
    6c6b19a99131 net: ieee802154: mcr20a: Fix lifs/sifs periods
    29e60b77a449 net: ieee802154: hwsim: Ensure proper channel selection at probe time
    bb7a226780e2 IB/cm: Release previously acquired reference counter in the cm_id_priv
    40e20ba90390 IB/hfi1: Fix tstats alloc and dealloc
    dd00b4f8f768 spi: uniphier: fix reference count leak in uniphier_spi_probe()
    66606d329d61 spi: meson-spicc: add IRQ check in meson_spicc_probe
    7352f2c26482 spi: mediatek: Avoid NULL pointer crash in interrupt
    101a1cf8af55 spi: bcm-qspi: check for valid cs before applying chip select
    ca1f48c30e5b iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()
    336d096b62bd iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
    e4b74b89862c ALSA: hda: Skip codec shutdown in case the codec is not registered
    0c5c64335657 ALSA: hda: Fix signedness of sscanf() arguments
    c2a91f1ef38a ALSA: usb-audio: initialize variables that could ignore errors
    63c69c93d978 RDMA/mlx4: Don't continue event handler after memory allocation failure
    035ea99c537d RDMA/siw: Fix broken RDMA Read Fence/Resume logic.
    7d9ad6f9f38f IB/rdmavt: Validate remote_addr during loopback atomic tests
    2989ba9532ba RDMA/siw: Fix refcounting leak in siw_create_qp()
    2923948ffe08 RDMA/ucma: Protect mc during concurrent multicast leaves
    7715682f357d RDMA/cma: Use correct address when leaving multicast group
    0452c3dc851b KVM: arm64: Stop handle_exit() from handling HVC twice when an SError occurs
    e1e852746997 KVM: arm64: Avoid consuming a stale esr value when SError occur
    aff6657f5243 Revert "ASoC: mediatek: Check for error clk pointer"
    9908c759a17e mptcp: fix msk traversal in mptcp_nl_cmd_set_flags()
    778283dc2840 fbcon: Add option to enable legacy hardware acceleration
    2a2629db4248 Revert "fbcon: Disable accelerated scrolling"
    a3dd4d2682f2 IB/hfi1: Fix AIP early init panic
    24f8e12d965b dma-buf: heaps: Fix potential spectre v1 gadget
    f576721152fd block: bio-integrity: Advance seed correctly for larger interval sizes
    a5389c80992f mm/kmemleak: avoid scanning potential huge holes
    65a4863a4ed5 mm/pgtable: define pte_index so that preprocessor could recognize it
    120973e64db9 mm/debug_vm_pgtable: remove pte entry from the page table
    90391ac6888e nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts()
    2093ecf557e7 drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels
    7ff0ed88e4eb drm/amd/display: watermark latencies is not enough on DCN31
    4f4c77ad5a13 drm/amd/pm: correct the MGpuFanBoost support for Beige Goby
    39ac3945d966 drm/i915/adlp: Fix TypeC PHY-ready status readout
    d877e814a62b drm/nouveau: fix off by one in BIOS boundary checking
    b9e9f848c82b Revert "fs/9p: search open fids first"
    a7b717fa1516 btrfs: fix use-after-free after failure to create a snapshot
    89d4cca583fc btrfs: fix deadlock between quota disable and qgroup rescan worker
    f4b2736eeb62 btrfs: don't start transaction for scrub if the fs is mounted read-only
    7ccf5849bef7 ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after reboot from Windows
    9fc509f806a5 ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer chipset)
    b3625b0017a4 ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220 quirks
    730f823e3c68 ALSA: hda/realtek: Add quirk for ASUS GU603
    586d71ddee6c ALSA: hda: realtek: Fix race at concurrent COEF updates
    0e629052f013 ALSA: hda: Fix UAF of leds class devs at unbinding
    303e89f94b66 ALSA: usb-audio: Correct quirk for VF0770
    b0a7836ecf13 ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()
    e8e07c5e25a2 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()
    9e8895f1b3d4 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()
    10007bd96b6c ASoC: hdmi-codec: Fix OOB memory accesses
    0b8b02903173 spi: stm32-qspi: Update spi registering
    45ba0a5fa0a6 ipc/sem: do not sleep with a spin lock held
    b8d9e0aec158 audit: improve audit queue handling when "audit=1" on cmdline
    70caa32e6d81 selinux: fix double free of cond_list on error paths
    d63d077fc446 drm/i915: Disable DSB usage for now
    f01ed5defb04 Linux 5.15.21
    2b2f53331b3a Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" again
    a03d2f9f82bd Revert "drm/vc4: hdmi: Make sure the device is powered with CEC"

(From meta-yocto rev: b608714c3fc60c43cb3dc6d1b1c04ffc5a6c106c)

(From meta-yocto rev: 9abfc74ab404ada55fc058e8bc685e56fa132f0c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05 09:23:20 +01:00
Davide Gardenal
831f237175 cve-check: fix symlinks where link and output path are equal
An if statement now checks if the link and output path are
the same, if they are then the link is not created,
otherwise it is.

(From OE-Core rev: 2f024c0236c4806f0e59e4ce51a42f6b80fdf1b3)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 21:13:29 +01:00
Davide Gardenal
630fb07219 cve-check: add JSON format to summary output
Create generate_json_report including all the code used to generate the JSON
manifest file.
Add to cve_save_summary_handler the ability to create the summary in JSON format.

(From OE-Core rev: f2987891d315466b7ef180ecce81d15320ce8487)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 21:13:29 +01:00
Claudius Heine
78b4102922 classes: rootfs-postcommands: add skip option to overlayfs_qa_check
The overlayfs_qa_check checks if the current root file system has a
mount configured for each overlayfs, when the overlayfs class is used.

However there are certain instances where this mount point is created at
runtime and not static in a fstab entry or systemd mount unit.

One such case would be if overlayfs-etc is used, where the device is
mounted in the preinit script and not via a mount unit or fstab entry.

However there are other possibilities for this as well, like startup
scripts that support a dynamic partition layout. For instance when
systemd-repart is used.

This adds the `OVERLAYFS_QA_SKIP` variable, which allows to define QA
skips via its flags. In principle it supports multiple QA skip flags
separated by whitespace, but only one (`mount-configured`) is
implemented here. To skip this QA check simply add `mount-configured` to
the flag of `OVERLAYFS_QA_SKIP` with the same name. For instance if a
overlayfs is configured as:

	OVERLAYFS_MOUNT_POINT[data] = "/data"

Skipping this QA check can be done by setting:

	OVERLAYFS_QA_SKIP[data] = "mount-configured"

Also add a testcase and fix a typo (fstat -> fstab).

(From OE-Core rev: 2ce9173169a2a86392c4a85fe9be7fbbd7353b7f)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-03 17:49:50 +01:00
Marta Rybczynska
341a7043c1 cve-update-db-native: let the user to drive the update interval
Add a new variable CVE_DB_UPDATE_INTERVAL allowing the user to set
the database update interval.
 - a positive value sets an interval (in seconds)
 - a zero ("0") forces the database update

(From OE-Core rev: fe7bc6f16184d5ebdb1dd914b6dcb75c9e5e0c9c)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-03 17:49:50 +01:00
Marta Rybczynska
0fddde5ded cve-update-db-native: update the CVE database once a day only
The update of the NVD database was expected to happen once per hour.
However, the database file date changes only if the content was actually
updated. In practice, the check worked for the first hour after the
new download.

As the NVD database changes usually only once a day, we can just
update it less frequently.

(From OE-Core rev: 35bccdedadeaba820d58b69fe74ce5e4c1f577e3)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-03 17:49:50 +01:00
Kai Kang
f485f6089a wpa-supplicant: update config for gnutls
It fails to build wpa-supplicant with gnutls by setting PACKAGECONFIG
with 'gnutls':

| wpa_supplicant/../src/eap_common/eap_pwd_common.c:440: undefined
    reference to `crypto_ec_point_deinit'

Disable 3 configure options CONFIG_DPP, CONFIG_EAP_PWD and CONFIG_SAE to
make it work with gnutls.

(From OE-Core rev: 3a43c2a82881688d85238464db371f695e60b572)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-03 17:49:50 +01:00
Bruce Ashfield
2d4923e811 strace: fix ptest failure in landlock
Kernel commit:

  commit 3d4b396a616d0d67bf95d6823ad1197f6247292e
  Author: Christian Brauner <christian.brauner@ubuntu.com>
  Date:   Mon Oct 11 15:37:04 2021 +0200

      landlock: Use square brackets around "landlock-ruleset"

      commit aea0b9f2486da8497f35c7114b764bf55e17c7ea upstream.

      Make the name of the anon inode fd "[landlock-ruleset]" instead of
      "landlock-ruleset". This is minor but most anon inode fds already
      carry square brackets around their name:

          [eventfd]
          [eventpoll]
          [fanotify]
          [fscontext]
          [io_uring]
          [pidfd]
          [signalfd]
          [timerfd]
          [userfaultfd]

      For the sake of consistency lets do the same for the landlock-ruleset anon
      inode fd that comes with landlock. We did the same in
      1cdc415f1083 ("uapi, fsopen: use square brackets around "fscontext" [ver #2]")
      for the new mount api.

      Cc: linux-security-module@vger.kernel.org
      Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
      Link: https://lore.kernel.org/r/20211011133704.1704369-1-brauner@kernel.org
      Cc: stable@vger.kernel.org
      Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
      Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Changed the format of the landlock tracing. We need to update the strace
expected string to match.

Upstream-Status: Submitted [https://lists.strace.io/pipermail/strace-devel/2022-April/011064.html]

(From OE-Core rev: bf7d885aef06f6208533dd5fab45ee8e92d6d6d7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
0d72d8f4b7 linux-yocto/5.15: fix qemuarm graphical boot
During the cleanup/refactoring of qemuarm* we dropped a PCI option
that is required for graphical boot. The configuration is fixed to
create a separate fragment, which just enabled the minimim and we
include it into qemuarma15 standard/preempt-rt.

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

    fcf48627ea5 qemuarma15: include pci-of-generic support

(From OE-Core rev: 375366bd16619b14f718f96a9235d0936cae97ac)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Khem Raj
b6363250a6 linux-yocto: Enable powerpc-debug fragment for ppc64 LE
qemuppc64 is LE by default, this fixes kernel build for qemuppc64 with
gcc12

(From OE-Core rev: f1674f1aeff5d2b3b2e79cc68ce1156f79eed548)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
f76fc2e4b5 linux-yocto/5.15: update to v5.15.36
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    45451e8015a9 Linux 5.15.36
    bb906d15a99e arm64: dts: qcom: add IPA qcom,qmp property
    1ea01e64632f block/compat_ioctl: fix range check in BLKGETSIZE
    6a3c609feb11 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
    b1b8f39c2475 jbd2: fix a potential race while discarding reserved buffers after an abort
    2e25c46c6eef netfilter: nft_ct: fix use after free when attaching zone template
    2b273d1fd18e ext4: force overhead calculation if the s_overhead_cluster makes no sense
    52ca84a3edd1 ext4: fix overhead calculation to account for the reserved gdt blocks
    6b952563934c ext4, doc: fix incorrect h_reserved size
    9b90003771e5 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
    e3912775b476 ext4: fix use-after-free in ext4_search_dir
    8bb5676b49d3 ext4: fix symlink file size not match to file content
    ba50ea456f49 ext4: fix fallocate to use file_modified to update permissions consistently
    67e4860eeed8 netfilter: conntrack: avoid useless indirection during conntrack destruction
    bcba40bd36d7 netfilter: conntrack: convert to refcount_t api
    4bbd693d9f0a KVM: SVM: Flush when freeing encrypted pages even on SME_COHERENT CPUs
    8b2da9690489 KVM: nVMX: Defer APICv updates while L2 is active until L1 is active
    a41b3243a6de KVM: x86: Pend KVM_REQ_APICV_UPDATE during vCPU creation to fix a race
    2b4417acd3c6 KVM: x86/pmu: Update AMD PMC sample period to fix guest NMI-watchdog
    87d95ff0ca27 arm_pmu: Validate single/group leader events
    4d98fbb26683 ARC: entry: fix syscall_trace_exit argument
    7b69c07beb23 e1000e: Fix possible overflow in LTR decoding
    73a0b4c5c0bd ASoC: soc-dapm: fix two incorrect uses of list iterator
    571a67b0d8a4 gpio: Request interrupts after IRQ is initialized
    e411af98013d openvswitch: fix OOB access in reserve_sfa_size()
    bac4cadeb718 xtensa: fix a7 clobbering in coprocessor context load/store
    91335ca9ebe7 xtensa: patch_text: Fixup last cpu should be master
    49952e31e50d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
    04ecea282b42 perf script: Always allow field 'data_src' for auxtrace
    a92335b4b189 powerpc/perf: Fix power10 event alternatives
    7a56867c5ef3 powerpc/perf: Fix power9 event alternatives
    53c4a9ff225b drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    9dc46d2e3723 KVM: PPC: Fix TCE handling for VFIO
    76614b111867 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
    7981351a916e drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
    56637084e8a5 perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
    b1b929468229 sched/pelt: Fix attach_entity_load_avg() corner case
    914473a07088 scsi: sr: Do not leak information in ioctl
    f0cfae3e0d3a Input: omap4-keypad - fix pm_runtime_get_sync() error checking
    232541989a1a net: atlantic: invert deep par in pm functions, preventing null derefs
    6b8af9f96749 dmaengine: imx-sdma: fix init of uart scripts
    1a8d1665cff1 dma: at_xdmac: fix a missing check on list iterator
    d10a711d4db6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading
    48b2ab1a960a mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
    41ba681c6373 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
    9dcb65cdf312 mm, hugetlb: allow for "high" userspace addresses
    07bdd207774c memcg: sync flush only if periodic flush is delayed
    9c71b29d55d4 mm/memory-failure.c: skip huge_zero_page in memory_failure()
    b81291922f8b EDAC/synopsys: Read the error count from the correct register
    87dd813bd2c3 nvme-pci: disable namespace identifiers for Qemu controllers
    dab2f477e15a nvme-pci: disable namespace identifiers for the MAXIO MAP1002/1202
    25f37ed22a9e nvme: add a quirk to disable namespace identifiers
    4a9f9f1791f3 VFS: filename_create(): fix incorrect intent.
    773ca67ffc96 stat: fix inconsistency between struct stat and struct compat_stat
    80c713a894c3 scsi: qedi: Fix failed disconnect handling
    c7f4f3016fea scsi: iscsi: Fix NOP handling during conn recovery
    e4efe868aa14 scsi: iscsi: Merge suspend fields
    740411ee2f94 scsi: iscsi: Release endpoint ID when its freed
    123a52eb610d net: macb: Restart tx only if queue pointer is lagging
    bc663ff8cae3 drm/msm/mdp5: check the return of kzalloc()
    5fe864539caf dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
    48e1db2c3d42 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
    e25b350e2521 mt76: Fix undefined behavior due to shift overflowing the constant
    a7a651d5a525 net: atlantic: Avoid out-of-bounds indexing
    213330bafd02 cifs: Check the IOCB_DIRECT flag, not O_DIRECT
    6085e24fd972 vxlan: fix error return code in vxlan_fdb_append
    32fe43df71c5 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
    f0ba965e4783 drm/msm/disp: check the return value of kzalloc()
    b78d40339568 ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
    9d441c2e2ad1 platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
    4426116b2e02 reset: tegra-bpmp: Restore Handle errors in BPMP response
    a6ec9d95c205 reset: renesas: Check return value of reset_control_deassert()
    70fa727835f9 ARM: vexpress/spc: Avoid negative array index when !SMP
    d3acd3f9f80e arm64: mm: fix p?d_leaf()
    ec9cb700cbf7 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
    6b9a418d3850 dmaengine: idxd: skip clearing device context when device is read-only
    49047fa486b3 dmaengine: idxd: add RO check for wq max_transfer_size write
    6c30e099b978 dmaengine: idxd: add RO check for wq max_batch_size write
    e83acf93919b net: stmmac: Use readl_poll_timeout_atomic() in atomic state
    79957134ca1d drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in intel_psr2_config_valid() fails
    f3552c37593a netlink: reset network and mac headers in netlink_dump()
    93581ae1f980 net: mscc: ocelot: fix broken IP multicast flooding
    6a5ca57d5acd net: dsa: hellcreek: Calculate checksums in tagger
    40ebaf7365b0 can: isotp: stop timeout monitoring when no first frame was sent
    652a5405396d ipv6: make ip6_rt_gc_expire an atomic_t
    d23fe66eb7b0 l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
    58bdbd121a34 net/sched: cls_u32: fix possible leak in u32_init_knode()
    1b4fb109cc53 net: restore alpha order to Ethernet devices in config
    d5049ef1f671 ip6_gre: Fix skb_under_panic in __gre6_xmit()
    3cc2f6b71eb6 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
    ab26f1136757 net/packet: fix packet_sock xmit return value checking
    b355ca6a915f net/smc: Fix sock leak when release after smc_shutdown()
    8fe1bf23c96b rxrpc: Restore removed timer deletion
    09da8cf94588 ALSA: hda/hdmi: fix warning about PCM count when used with SOF
    c7c71b3e4764 igc: Fix suspending when PTM is active
    da323d0d6aaa igc: Fix BUG: scheduling while atomic
    b3ce7d3a1742 igc: Fix infinite loop in release_swfw_sync
    8920a03a3a15 spi: cadence-quadspi: fix incorrect supports_op() return value
    a583f2f3c878 esp: limit skb_page_frag_refill use to a single page
    76900a136b1a spi: spi-mtk-nor: initialize spi controller after resume
    84e77e72367f dmaengine: dw-edma: Fix unaligned 64bit access
    d18fb19c1c8e dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
    8932d9ee4b9f dmaengine: imx-sdma: Fix error checking in sdma_event_remap
    a8be4586352b dmaengine: idxd: fix device cleanup on disable
    6168532a08ef ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
    053bd9604f05 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
    9a4c63e7332c ASoC: rk817: Use devm_clk_get() in rk817_platform_probe
    bc15442cc99f ASoC: topology: Correct error handling in soc_tplg_dapm_widget_create()
    bc7d0133181e ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
    236785649ad2 ALSA: hda/realtek: Add quirk for Clevo NP70PNP
    aaa22e5b526d ALSA: usb-audio: Clear MIDI port active flag after draining
    ba9e9a794fd1 net/sched: cls_u32: fix netns refcount changes in u32_change()
    8dfec6e0a62d scsi: ufs: core: scsi_get_lba() error fix
    c2d0cdf8ad06 gfs2: assign rgrp glock before compute_bitstructs
    a52e73bef254 mm, kfence: support kmem_dump_obj() for KFENCE objects
    3876c574e4cc perf tools: Fix segfault accessing sample_id xyarray
    77a467983bff mm: page_alloc: fix building error on -Werror=array-compare
    3177d047e58a etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
    3f7b1a87ac75 arm64/mm: drop HAVE_ARCH_PFN_VALID
    c01430cf5b87 dma-mapping: remove bogus test for pfn_valid from dma_map_resource
    155ae0547cb8 xfs: return errors in xfs_fs_sync_fs
    935745abcf4c vfs: make sync_filesystem return errors from ->sync_fs
    6eb927ee189f block: simplify the block device syncing code
    7877e7a5a52e block: remove __sync_blockdev
    4b7617ae04de fs: remove __sync_filesystem

(From OE-Core rev: 02149163c8643cec5fd8ef9c7b8a2f5af06519ec)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
1327c52215 linux-yocto/5.15: fix -standard kernel build issue
Integrating the following commit(s) to linux-yocto/5.15:

    4eba9348d3e2 Revert "Revert "fbdev: Hot-unplug firmware fb devices on forced removal""

The revert of commit [fbdev: Hot-unplug firmware fb devices on forced
removal] was done to fix powerpc fbdev issues. Upstream went in a
different direction, which means that our fbdev routines have conflicts
with -stable updates.

The fix for the fbdev is in -stable, so we drob our reverted commit,
such that 5.15 builds again, and fbdev is functional.

(From OE-Core rev: 6da0cde02dd6a315a7eb34cb0bc691cf622eba05)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
d646f2d0ca linux-yocto: enable powerpc debug fragment
gcc12 generates some warnings with arch/powerpc, and we know that
these warnings are understood/non-fatal at runtime.

This fragment allows testing to continue, while upstream powerpc
looks at removing warnings.

We only enable it for 5.10/5.15 standard kernels for now, since
this gets us enough coverage to continue working with gcc12.

(From OE-Core rev: 992d9d41642981152a387fe59733cc6a77ea3528)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
8f3992b16f linux-yocto/5.15: Fix CVE-2022-28796
Integrating the following commit(s) to linux-yocto/5.15:

    5df6d1b00f95 jbd2: fix use-after-free of transaction_t race
    2d83e8196487 jbd2: refactor wait logic for transaction updates into a common function

(From OE-Core rev: 3a0d2acf249717416226c34b6147e5499adbda15)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
326776b3e8 linux-yocto/5.15: update to v5.15.35
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    81d8d30c35ed Linux 5.15.35
    85f25bb9a005 ax25: Fix UAF bugs in ax25 timers
    43c107021d91 ax25: Fix NULL pointer dereferences in ax25 timers
    da6509fba636 ax25: fix NPD bug in ax25_disconnect
    1bf8946d5826 ax25: fix UAF bug in ax25_send_control()
    452ae92b9906 ax25: Fix refcount leaks caused by ax25_cb_del()
    b982492ec3a1 ax25: fix UAF bugs of net_device caused by rebinding operation
    bc706d89199b ax25: fix reference count leaks of ax25_dev
    9af0fd5c4453 ax25: add refcount in ax25_dev to avoid UAF bugs
    de6a76eea645 cpufreq: intel_pstate: ITMT support for overclocked system
    74d23d422556 net: ipa: fix a build dependency
    1648c7b450d8 soc: qcom: aoss: Fix missing put_device call in qmp_get
    d712aea3cd81 cpu/hotplug: Remove the 'cpu' member of cpuhp_cpu_state
    14785927a1d4 drm/i915: Sunset igpu legacy mmap support based on GRAPHICS_VER_FULL
    4ef9951d0252 dma-direct: avoid redundant memory sync for swiotlb
    111becd63e37 timers: Fix warning condition in __run_timers()
    cbdd7a33c533 dt-bindings: net: snps: remove duplicate name
    83a4c1080e09 i2c: pasemi: Wait for write xfers to finish
    44981e4cde68 smp: Fix offline cpu check in flush_smp_call_function_queue()
    2f345bb14ad4 i2c: dev: check return value when calling dev_set_name()
    6b4bf97587ef dm integrity: fix memory corruption when tag_size is less than digest size
    0940795c6834 ARM: davinci: da850-evm: Avoid NULL pointer dereference
    68a38b07f125 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
    c11ef9ded22e genirq/affinity: Consider that CPUs on nodes can be unbalanced
    c61d929944c9 x86/tsx: Disable TSX development mode at boot
    aaf27fcaefc1 x86/tsx: Use MSR_TSX_CTRL to clear CPUID bits
    2dd7d2eddf8e drm/amdgpu: Enable gfxoff quirk on MacBook Pro
    804c096d640e drm/amd/display: don't ignore alpha property on pre-multiplied mode
    adee01bbf6cb ipv6: fix panic when forwarding a pkt with no in6 dev
    cab64cb82fe1 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
    63038f6e96a7 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
    a53062c94b8c ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
    0349df521528 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
    3680b48533ae btrfs: mark resumed async balance as writing
    252db93fd0bd btrfs: fix root ref counts in error handling in btrfs_get_root_ref
    9b81c2c147e1 ath9k: Fix usage of driver-private space in tx_info
    3386927f436e ath9k: Properly clear TX status area before reporting to mac80211
    7a509a9f2bb7 cifs: verify that tcon is valid before dereference in cifs_kill_sb
    bd17422b9b67 gcc-plugins: latent_entropy: use /dev/urandom
    05d1824a7fb4 memory: renesas-rpc-if: fix platform-device leak in error path
    f5e13d700a4d SUNRPC: Fix NFSD's request deferral on RDMA transports
    00715427ea77 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded
    70ea5e7b38c3 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
    12ba1d38115a mm: fix unexpected zeroed page mapping with zram swap
    bb7645c33869 mm, page_alloc: fix build_zonerefs_node()
    b6d17c67885a mm/secretmem: fix panic when growing a memfd_secret
    4cdf0e7a5be8 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
    b8ed0f7531f3 io_uring: use nospec annotation for more indexes
    5218d5cc0283 io_uring: zero tag on rsrc removal
    efb020924a71 drivers: net: slip: fix NPD bug in sl_tx_timeout()
    e455d7510db7 scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
    f1933d9ee745 scsi: mvsas: Add PCI ID of RocketRaid 2640
    389f37e46bdd scsi: mpt3sas: Fail reset operation if config request timed out
    184b4fad0872 drbd: set QUEUE_FLAG_STABLE_WRITES
    6a03581ccffa drm/amd/display: Fix allocate_mst_payload assert on resume
    ac2eb310af05 drm/amd/display: Revert FEC check in validation
    eab8e585840f drm/amd/display: Enable power gating before init_pipes
    d8860f1f9e41 spi: cadence-quadspi: fix protocol setup for non-1-1-X operations
    6d48df738272 myri10ge: fix an incorrect free for skb in myri10ge_sw_tso
    b416898442f2 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
    c3f86aef97cf Drivers: hv: balloon: Disable balloon and hot-add accordingly
    1c9fdb9587e0 net: axienet: setup mdio unconditionally
    61dd8bef80c2 tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
    ed2711c696ce arm64: alternatives: mark patch_alternative() as `noinstr`
    cfd24b14eb2d regulator: wm8994: Add an off-on delay for WM8994 variant
    86d1cdf56fc5 gpu: ipu-v3: Fix dev_dbg frequency output
    4583205048ae ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
    6eecc4811a47 net: micrel: fix KS8851_MLL Kconfig
    9e60a788a3f7 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
    026083cb43a4 scsi: lpfc: Fix queue failures when recovering from PCI parity error
    b7f3b5d70c83 scsi: target: tcmu: Fix possible page UAF
    44f95a5aae99 Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
    92a3499933c1 PCI: hv: Propagate coherence from VMbus device to PCI device
    1b576e81d31b Drivers: hv: vmbus: Deactivate sysctl_record_panic_msg by default in isolated guests
    f2658d5966bc drm/amdkfd: Check for potential null return of kmalloc_array()
    9f0fabf30b48 drm/amdgpu/vcn: improve vcn dpg stop procedure
    25efb191d86b drm/amdkfd: Fix Incorrect VMIDs passed to HWS
    7a3bc11a4034 drm/amd/display: Update VTEM Infopacket definition
    92951699a5f1 drm/amd/display: FEC check in timing validation
    b054e8183fbd drm/amd/display: fix audio format not updated after edid updated
    37bc29a44538 drm/amdgpu/gmc: use PCI BARs for APUs in passthrough
    5a3b56a4a1c7 drm/amdgpu: conduct a proper cleanup of PDB bo
    01dcda701fef btrfs: do not warn for free space inode in cow_file_range
    bb93369f93b5 btrfs: fix fallocate to use file_modified to update permissions consistently
    6dded62e5aa6 drm/amd: Add USBC connector ID
    3e67054c339c block: fix offset/size check in bio_trim()
    279018a01b08 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering"
    b8c0f6d1b04c vfio/pci: Fix vf_token mechanism when device-specific VF drivers are used
    5fda973f0ece dm mpath: only use ktime_get_ns() in historical selector
    9901b07ba42b cifs: potential buffer overflow in handling symlinks
    9ded5ae40f4f nfc: nci: add flush_workqueue to prevent uaf
    331c99ee8dcb net: ftgmac100: access hardware register after clock ready
    8f79ce226ad2 macvlan: Fix leaking skb in source mode with nodst option
    8e86fba13479 perf tools: Fix misleading add event PMU debug message
    1665758b4bfd ALSA: usb-audio: Limit max buffer and period sizes per time
    6b38c5722610 ALSA: usb-audio: Increase max buffer size
    7399ed8e6a8d testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
    9947548d9cef io_uring: verify pad field is 0 in io_get_ext_arg
    7a7c9f9de961 io_uring: verify that resv2 is 0 in io_uring_rsrc_update2
    22aa1597f462 io_uring: move io_uring_rsrc_update2 validation
    cb981d5c7511 ALSA: mtpav: Don't call card private_free at probe error path
    872e5fa0781f ALSA: ad1889: Fix the missing snd_card_free() call at probe error
    96aceacda8d2 netfilter: nf_tables: nft_parse_register can return a negative value
    90c153ca45da sctp: Initialize daddr on peeled off socket
    50d46b5ce004 scsi: iscsi: Fix unbound endpoint error handling
    578616ac3d87 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
    485780af7ef1 scsi: iscsi: Fix endpoint reuse regression
    cbd4f4e40944 scsi: iscsi: Fix offload conn cleanup when iscsid restarts
    cc0082d45de1 scsi: iscsi: Move iscsi_ep_disconnect()
    d6f6f945e850 scsi: pm80xx: Enable upper inbound, outbound queues
    b02c509ceef4 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
    3a523807f014 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
    66b3107a4a06 drm/msm/dp: add fail safe mode outside of event_mutex context
    815006c33391 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
    a6549b364be4 drm/msm: Fix range size vs end confusion
    1c86b7ea63ff netfilter: nft_socket: make cgroup match work in input too
    5a52384a5134 cfg80211: hold bss_lock while updating nontrans_list
    d5be67ecbeff net/sched: taprio: Check if socket flags are valid
    62a48383ebe2 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
    72f9c15854b0 net: dsa: felix: suppress -EPROBE_DEFER errors
    13faa76cf572 net/sched: fix initialization order when updating chain 0 head
    4c979e6fcec8 mlxsw: i2c: Fix initialization error flow
    152b813d8ba5 net: mdio: don't defer probe forever if PHY IRQ provider is missing
    675e7d3086d0 cifs: release cached dentries only if mount is complete
    d40cf3492277 gpiolib: acpi: use correct format characters
    93940fc4cb81 veth: Ensure eth header is in skb's linear part
    de8a332c86a7 net/sched: flower: fix parsing of ethertype following VLAN header
    726ae7300fcc SUNRPC: Fix the svc_deferred_event trace class
    ec2ab59b9e66 media: rockchip/rga: do proper error checking in probe
    b0d8a9eb3239 firmware: arm_scmi: Fix sorting of retrieved clock rates
    e2da8f9ce3ea Revert "ath11k: mesh: add support for 256 bitmap in blockack frames in 11ax"
    9f029cb2c92e memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
    e7b1992b0722 firmware: arm_scmi: Remove clear channel call on the TX channel
    77ffc38e577d drm/msm: Add missing put_task_struct() in debugfs path
    aa4845194b9d ALSA: nm256: Don't call card private_free at probe error path
    425c83e2898d ALSA: usb-audio: Cap upper limits of buffer/period bytes for implicit fb
    3bbd4850d957 ALSA: via82xx: Fix the missing snd_card_free() call at probe error
    56e44ff13d84 ALSA: sonicvibes: Fix the missing snd_card_free() call at probe error
    73229d7cb836 ALSA: sc6000: Fix the missing snd_card_free() call at probe error
    df03ce487e1b ALSA: rme96: Fix the missing snd_card_free() call at probe error
    ef4c35339414 ALSA: rme9652: Fix the missing snd_card_free() call at probe error
    4efa63663c36 ALSA: rme32: Fix the missing snd_card_free() call at probe error
    bb94f5d98511 ALSA: riptide: Fix the missing snd_card_free() call at probe error
    4ecd10217df6 ALSA: oxygen: Fix the missing snd_card_free() call at probe error
    30b86477daaa ALSA: maestro3: Fix the missing snd_card_free() call at probe error
    5fbb73cb1208 ALSA: lx6464es: Fix the missing snd_card_free() call at probe error
    0651442d22e2 ALSA: lola: Fix the missing snd_card_free() call at probe error
    0bec8b8a57de ALSA: korg1212: Fix the missing snd_card_free() call at probe error
    d9ac5256de1f ALSA: intel_hdmi: Fix the missing snd_card_free() call at probe error
    e87b8d0ba455 ALSA: intel8x0: Fix the missing snd_card_free() call at probe error
    547c9af67b4e ALSA: ice1724: Fix the missing snd_card_free() call at probe error
    141abcbf902a ALSA: hdspm: Fix the missing snd_card_free() call at probe error
    f006a4bcf8bb ALSA: hdsp: Fix the missing snd_card_free() call at probe error
    85515309293b ALSA: galaxy: Fix the missing snd_card_free() call at probe error
    841e8f8dd21f ALSA: fm801: Fix the missing snd_card_free() call at probe error
    3a738f1b3ffd ALSA: es1968: Fix the missing snd_card_free() call at probe error
    d3c6ac7a051c ALSA: es1938: Fix the missing snd_card_free() call at probe error
    20b35ba7aa2f ALSA: ens137x: Fix the missing snd_card_free() call at probe error
    0d52c09f0c17 ALSA: emu10k1x: Fix the missing snd_card_free() call at probe error
    2a2a75ebdbd4 ALSA: echoaudio: Fix the missing snd_card_free() call at probe error
    648e89e9de29 ALSA: cs5535audio: Fix the missing snd_card_free() call at probe error
    9decc5bfd173 ALSA: cs4281: Fix the missing snd_card_free() call at probe error
    2dde47610757 ALSA: cmipci: Fix the missing snd_card_free() call at probe error
    f98476228801 ALSA: ca0106: Fix the missing snd_card_free() call at probe error
    e5a54e236f70 ALSA: bt87x: Fix the missing snd_card_free() call at probe error
    935629ba096e ALSA: azt3328: Fix the missing snd_card_free() call at probe error
    3a943321c362 ALSA: aw2: Fix the missing snd_card_free() call at probe error
    811a92b866a0 ALSA: au88x0: Fix the missing snd_card_free() call at probe error
    ea61c1bd582b ALSA: atiixp: Fix the missing snd_card_free() call at probe error
    007a9b5554e1 ALSA: als4000: Fix the missing snd_card_free() call at probe error
    291d9e5e94d0 ALSA: als300: Fix the missing snd_card_free() call at probe error
    5bc156409025 ALSA: ali5451: Fix the missing snd_card_free() call at probe error
    cfa98d6c41e0 ALSA: sis7019: Fix the missing error handling
    1479bdea76dd ALSA: core: Add snd_card_free_on_error() helper
    07cacfd9d9dc btrfs: release correct delalloc amount in direct IO write path
    8ff8bdb8c92d net: ipa: request IPA register values be retained
    587ced6b8cf3 dt-bindings: net: qcom,ipa: add optional qcom,qmp property
    7883df73fd59 soc: qcom: aoss: Expose send for generic usecase
    ec13aa4e0085 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
    ed0e951463ea btrfs: remove no longer used counter when reading data page
    6308ab54c8ec btrfs: remove unused parameter nr_pages in add_ra_bio_pages()
    ff810f85ed3f ACPI: processor: idle: fix lockup regression on 32-bit ThinkPad T40
    7cad1c40ef91 ACPI: processor idle: Allow playing dead in C3 state
    631473adaaef ACPI: processor idle: Check for architectural support for LPI
    5b13295ac584 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
    9873fe0f3857 hamradio: remove needs_free_netdev to avoid UAF
    c799c18a287e hamradio: defer 6pack kfree after unregister_netdev
    8e663865f528 drm/amd/display: Fix p-state allow debug index on dcn31
    685a19fa6ae9 drm/amd/display: Add pstate verification and recovery for DCN31
    1b86fc15ba6d Linux 5.15.34
    c9ea4fb1f3f3 stacktrace: move filter_irq_stacks() to kernel/stacktrace.c
    fddb88bd266f powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
    68cea1e243b8 static_call: Don't make __static_call_return0 static
    429f413ed83f mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
    8fe51495efff irqchip/gic, gic-v3: Prevent GSI to SGI translations
    69943af22a32 powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S
    7b5d60323f90 irqchip/gic-v4: Wait for GICR_VPENDBASER.Dirty to clear before descheduling
    f4f8b6d8490e x86,static_call: Fix __static_call_return0 for i386
    ff6505766565 sched: Teach the forced-newidle balancer about CPU affinity limitation.
    f399f38eda57 x86/bug: Prevent shadowing in __WARN_FLAGS
    469eed08becd Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
    f5e59185b033 mm: don't skip swap entry even if zap_details specified
    4693fce5a5d4 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
    47802775bc11 selftests: cgroup: Test open-time credential usage for migration checks
    e326f218de1f selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
    33db9912ff7c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
    f1607e13ed71 Revert "net/mlx5: Accept devlink user input after driver initialization complete"
    226b4327ef5c KVM: avoid NULL pointer dereference in kvm_dirty_ring_push
    104bfa23a001 dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
    3c3a8e56553e tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
    fbe722d48b8e tools build: Filter out options and warnings not supported by clang
    9b2b01e36741 perf python: Fix probing for some clang command line options
    03044b841406 perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
    3b14aa053181 Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()"
    5d69622eb036 SUNRPC: Don't call connect() more than once on a TCP socket
    22174e8ce8ac rtc: mc146818-lib: fix signedness bug in mc146818_get_time()
    9e46f7319549 selftests/bpf: Fix u8 narrow load checks for bpf_sk_lookup remote_port
    0c64645e6373 bpf: Make remote_port field in struct bpf_sk_lookup 16-bit wide
    e2ff1d653069 Revert "selftests: net: Add tls config dependency for tls selftests"
    7f48521172fb net/smc: send directly on setting TCP_NODELAY
    20633216ded0 KVM: SVM: Allow AVIC support on system w/ physical APIC ID > 255
    b536cf3eb6f9 drm/amdgpu: don't use BACO for reset in S3
    3c8902bbf2ab drm/amdkfd: Create file descriptor after client is added to smi_clients list
    588393cdae7f drm/nouveau/pmu: Add missing callbacks for Tegra devices
    6a5d209898a6 drm/amdgpu/vcn: Fix the register setting for vcn1
    155338be5d90 drm/amdgpu/smu10: fix SoC/fclk units in auto mode
    0115e4f2f6bc drm/amdgpu/display: change pipe policy for DCN 2.1
    28dc1503a9d3 drm/panel: ili9341: fix optional regulator handling
    b911702a0105 SUNRPC: Prevent immediate close+reconnect
    a551e6629247 amd/display: set backlight only if required
    2388f826cdc9 fbdev: Fix unregistering of framebuffers without device
    7218a789abb3 irqchip/gic-v3: Fix GICR_CTLR.RWP polling
    fcf9ccf9d26a perf/core: Inherit event_caps
    0309f053ce47 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
    8a05a6952ecd ata: sata_dwc_460ex: Fix crash due to OOB write
    136c21ce8e01 perf/x86/intel: Don't extend the pseudo-encoding to GP counters
    983a759640bf x86/mm/tlb: Revert retpoline avoidance approach
    2f67341e5bce x86/msi: Fix msi message data shadow struct
    0912cf021fb5 gpio: Restrict usage of GPIO chip irq members before initialization
    9ca11bd8222a RDMA/hfi1: Fix use-after-free bug for mm struct
    fa7cc2df9505 arm64: patch_text: Fixup last cpu should be master
    90012c6748d3 spi: core: add dma_map_dev for __spi_unmap_msg()
    887366faf0c9 btrfs: prevent subvol with swapfile from being deleted
    4b98799e181b btrfs: fix qgroup reserve overflow the qgroup limit
    56c88810466b perf/x86/intel: Update the FRONTEND MSR mask on Sapphire Rapids
    fab4b79e869a x86/speculation: Restore speculation related MSRs during S3 resume
    fcf185f7e03e x86/pm: Save the MSR validity status at context setup
    ba7261af2b03 io_uring: fix race between timeout flush and removal
    fe223dd2f18b io_uring: implement compat handling for IORING_REGISTER_IOWQ_AFF
    ae6cba337cbf io_uring: defer splice/tee file validity check until command issue
    056e1e7c1713 io_uring: don't check req->file in io_fsync_prep()
    198932a14aeb mm/mempolicy: fix mpol_new leak in shared_policy_replace
    a04cb99c5d46 mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
    c21d040de622 highmem: fix checks in __kmap_local_sched_{in,out}
    9fb8bc6cfc58 lz4: fix LZ4_decompress_safe_partial read out of bound
    75cae557bc44 mmc: core: Fixup support for writeback-cache for eMMC and SD
    5d2712b78056 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
    11497ecbda04 mmc: mmci: stm32: correctly check all elements of sg list
    1515d2a466bf mmc: block: Check for errors after write on SPI
    86b5d155fced Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
    dc5e603c247d scsi: ufs: ufs-pci: Add support for Intel MTL
    25c1353dca74 scsi: mpt3sas: Fix use after free in _scsih_expander_node_remove()
    32dd8b63e633 arm64: Add part number for Arm Cortex-A78AE
    159c7db3ccbb perf session: Remap buf if there is no space for event
    58aece34fb7f perf tools: Fix perf's libperf_print callback
    e1f2750e7531 perf: arm-spe: Fix perf report --mem-mode
    47e239117bd9 iommu/omap: Fix regression in probe for NULL pointer dereference
    3fd9be3ec5c8 SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
    3b32dda29f99 SUNRPC: Handle low memory situations in call_status()
    03ac680dacf9 SUNRPC: Handle ENOMEM in call_transmit_status()
    285f5d724005 io_uring: don't touch scm_fp_list after queueing skb
    50c981bd7790 io_uring: nospec index for tags on files update
    685f42de443d scsi: ufs: ufshpb: Fix a NULL check on list iterator
    a972c7687233 drbd: Fix five use after free bugs in get_initial_state
    1816af613e56 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
    88a3bdcb462a spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
    c9bdce2359b5 qede: confirm skb is allocated before using
    fb45e80b2194 net: phy: mscc-miim: reject clause 45 register accesses
    8ba8e1398a66 net: sfc: fix using uninitialized xdp tx_queue
    571d8e1d154c rxrpc: fix a race in rxrpc_exit_net()
    837b96d81039 net: openvswitch: fix leak of nested actions
    42b2e418f9a2 net: ethernet: mv643xx: Fix over zealous checking of_get_mac_address()
    085d002432ac net: openvswitch: don't send internal clone attribute to the userspace.
    70cf0b820e55 ice: xsk: fix VSI state check in ice_xsk_wakeup()
    840cbbdc8bf1 ice: synchronize_rcu() when terminating rings
    070aa68f8fab ipv6: Fix stats accounting in ip6_pkt_drop
    1c0763475401 ice: Do not skip not enabled queues in ice_vc_dis_qs_msg
    5d3e9f71c310 ice: Set txq_teid to ICE_INVAL_TEID on ring creation
    599874bbc4ed dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
    2cb2b3fb20a2 sctp: count singleton chunks in assoc user stats
    92f1947c0d26 IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
    3b5fd693621b IB/cm: Cancel mad on the DREQ event when the state is MRA_REP_RCVD
    34b8ba1cb337 RDMA/mlx5: Add a missing update of cache->last_add
    5b88519b78e8 RDMA/mlx5: Don't remove cache MRs when a delay is needed
    d1c87d36a655 sfc: Do not free an empty page_ring
    917eeb220023 bnxt_en: Prevent XDP redirect from running when stopping TX queue
    154fc224e65e bnxt_en: reserve space inside receive page for skb_shared_info
    6108a8918fd7 bnxt_en: Synchronize tx when xdp redirects happen on same ring
    87f5d66daa5f arch/arm64: Fix topology initialization for core scheduling
    cb713eb793e6 regulator: atc260x: Fix missing active_discharge_on setting
    336942b1682f regulator: rtq2134: Fix missing active_discharge_on setting
    2560fe298e6e drm/imx: dw_hdmi-imx: Fix bailout in error cases of probe
    31e449302ed0 drm/imx: Fix memory leak in imx_pd_connector_get_modes
    c1e96348dbeb drm/imx: imx-ldb: Check for null pointer after calling kmemdup
    47fec6139b5e net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
    907c97986d6f net: ipv4: fix route with nexthop object delete warning
    71d28e5073b8 mctp: Fix check for dev_hard_header() result
    40229b2977f1 ice: Clear default forwarding VSI during VSI release
    ba965e8605ae skbuff: fix coalescing for page_pool fragment recycling
    13bcc6f8efcd vrf: fix packet sniffing for traffic originating from ip tunnels
    6e2f1b033b17 net/tls: fix slab-out-of-bounds bug in decrypt_internal
    ed7a824fda87 net: sfc: add missing xdp queue reinitialization
    69ec350a417d vdpa: mlx5: prevent cvq work from hogging CPU
    893c70f8b8f3 vdpa/mlx5: Propagate link status from device to vdpa driver
    dc872b72d180 vdpa/mlx5: Rename control VQ workqueue to vdpa wq
    aefd755a9605 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
    cd483e17eca2 scsi: core: Fix sbitmap depth in scsi_realloc_sdev_budget_map()
    0610371c768c scsi: sr: Fix typo in CDROM(CLOSETRAY|EJECT) handling
    6f52d4cda0bf NFSv4: fix open failure with O_ACCMODE flag
    9f0c217469e8 Revert "NFSv4: Handle the special Linux file open access mode"
    dcd6b1a624c0 Drivers: hv: vmbus: Fix potential crash on module unload
    5ba9d78a7294 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
    985d87e6a365 rtc: mc146818-lib: fix RTC presence check
    be6c3152d6f6 rtc: Check return value from mc146818_get_time()
    8c6921075222 rtc: mc146818-lib: change return values of mc146818_get_time()
    c9f50e06ca76 mm: fix race between MADV_FREE reclaim and blkdev direct IO read
    93a8347f72c0 parisc: Fix patch code locking and flushing
    f77f482ec31a parisc: Fix CPU affinity for Lasi, WAX and Dino chips
    30dd4af48a9e selftests: net: Add tls config dependency for tls selftests
    ea029e4ce760 NFS: Avoid writeback threads getting stuck in mempool_alloc()
    da747de68599 NFS: nfsiod should not block forever in mempool_alloc()
    e04ef859d6c6 SUNRPC: Fix socket waits for write buffer space
    d925b7e78b62 jfs: prevent NULL deref in diFree
    44c2d5fbe7b2 virtio_console: eliminate anonymous module_init & module_exit
    053bbff873a1 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
    c393a9f4cb3b x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy
    e3c961c56ad5 x86: Annotate call_on_stack()
    6bb2270223a8 NFS: swap-out must always use STABLE writes.
    24d28d9b0fd5 NFS: swap IO handling is slightly different for O_DIRECT IO
    a55386405094 SUNRPC: remove scheduling boost for "SWAPPER" tasks.
    20700aa01bc2 SUNRPC/xprt: async tasks mustn't block waiting for memory
    a19fd1d61797 SUNRPC/call_alloc: async tasks mustn't block waiting for memory
    b07387c476a3 clk: Enforce that disjoints limits are invalid
    15bfec9d8030 clk: ti: Preserve node in ti_dt_clocks_register()
    5c0750cad733 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
    12e49aefda2e habanalabs: fix possible memory leak in MMU DR fini
    a34752aa2397 NFSv4: Protect the state recovery thread against direct reclaim
    b37f482ba9f0 NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
    24acdd5f9c91 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
    86efcb524ae1 staging: wfx: fix an error handling in wfx_init_common()
    7295544bcf56 opp: Expose of-node's name in debugfs
    ea1f29584136 cpufreq: CPPC: Fix performance/frequency conversion
    26f0a9e3d04d clk: rockchip: drop CLK_SET_RATE_PARENT from dclk_vop* on rk3568
    caffa76ded5a phy: amlogic: meson8b-usb2: fix shared reset control use
    ab27675a0fcc phy: amlogic: meson8b-usb2: Use dev_err_probe()
    35df38c4be0c phy: amlogic: phy-meson-gxl-usb2: fix shared reset controller use
    42f2142a337e staging: vchiq_core: handle NULL result of find_service_by_handle
    176df12b38c7 staging: vchiq_arm: Avoid NULL ptr deref in vchiq_dump_platform_instances
    161863aec0e1 clk: si5341: fix reported clk_rate when output divider is 2
    31e027259ce4 minix: fix bug when opening a file with O_DIRECT
    4602b7a8ee0d init/main.c: return 1 from handled __setup() functions
    9d849449d28f lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option
    2fe82d325402 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
    3ae7163598c6 ceph: fix inode reference leakage in ceph_get_snapdir()
    eb0e7173d9cb netlabel: fix out-of-bounds memory accesses
    58d52743ae85 netfilter: conntrack: revisit gc autotuning
    d404765dffdb Bluetooth: Fix use after free in hci_send_acl
    f249bbf3cb9a MIPS: ingenic: correct unit node address
    11ba1aa21280 xtensa: fix DTC warning unit_address_format
    13946d5a68ef mt76: fix monitor mode crash with sdio driver
    ac27808b82db usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
    0616792164d3 net: sfp: add 2500base-X quirk for Lantech SFP module
    459e56859f7a net/mlx5e: Remove overzealous validations in netlink EEPROM query
    1c4561d9b5cb net: limit altnames to 64k total
    601f748029f3 net: account alternate interface name memory
    d804db3dafd1 riscv: Fixed misaligned memory access. Fixed pointer comparison.
    6ca71078a91e can: etas_es58x: es58x_fd_rx_event_msg(): initialize rx_event_msg before calling es58x_check_msg_len()
    db9a140a8585 can: isotp: set default value for N_As to 50 micro seconds
    f581df412bc4 scsi: libfc: Fix use after free in fc_exch_abts_resp()
    2a71e3ecd829 powerpc/secvar: fix refcount leak in format_show()
    5c80ff21c5db powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E
    9b85e31309c2 MIPS: fix fortify panic when copying asm exception handlers
    dc9d33b2d8d0 PCI: endpoint: Fix misused goto label
    b6d4b322da46 bnxt_en: Eliminate unintended link toggle during FW reset
    42b6a39f439b Bluetooth: use memset avoid memory leaks
    0000de40b9f3 Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
    bb78c3b11f4d tuntap: add sanity checks about msg_controllen in sendmsg
    e8d8f1d091e4 macvtap: advertise link netns via netlink
    5fb47ca34908 mips: ralink: fix a refcount leak in ill_acc_of_setup()
    58758110912d net/smc: correct settings of RMB window update limit
    dd111d335cab scsi: hisi_sas: Limit users changing debugfs BIST count value
    f05a0d8de2ea scsi: hisi_sas: Free irq vectors in order for v3 HW
    b8fa10d7c8fc scsi: aha152x: Fix aha152x_setup() __setup handler return value
    556ec5030e57 mt76: mt7615: Fix assigning negative values to unsigned variable
    c3543bac6efa powerpc/64s/hash: Make hash faults work in NMI context
    df467929a040 mt76: mt7915: fix injected MPDU transmission to not use HW A-MSDU
    e5ecdb01952f scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req()
    43c617eefab7 scsi: pm8001: Fix tag leaks on error
    2290dcad6f65 scsi: pm8001: Fix task leak in pm8001_send_abort_all()
    ece79aaec8fc scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
    5e4ac14baebb scsi: pm8001: Fix pm80xx_pci_mem_copy() interface
    5e96bb81eddf vfio/pci: Stub vfio_pci_vga_rw when !CONFIG_VFIO_PCI_VGA
    f325d3e1dcc8 drm/amdkfd: make CRAT table missing message informational only
    da52e8b9dad6 dm: requeue IO if mapping table not yet available
    02cc46f397eb dm ioctl: prevent potential spectre v1 gadget
    049072749a5e ipv4: Invalidate neighbour for broadcast address upon address addition
    e45d1d19a0bb drm/msm/dsi: Remove spurious IRQF_ONESHOT flag
    e1b5aae5b6b0 iwlwifi: mvm: move only to an enabled channel
    6f215801c302 iwlwifi: mvm: Correctly set fragmented EBS
    d353d3b27af4 usb: dwc3: pci: Set the swnode from inside dwc3_pci_quirks()
    c64f3707cdf9 net/mlx5e: Disable TX queues before registering the netdev
    83efc05c8579 power: supply: axp288-charger: Set Vhold to 4.4V
    6def4eaf0391 powerpc/set_memory: Avoid spinlock recursion in change_page_attr()
    5d76a88b8536 scsi: mpi3mr: Fix memory leaks
    248ead78f346 scsi: mpi3mr: Fix reporting of actual data transfer size
    53643a112dd6 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    aa9c9fd0ef9d tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.
    bd21b9607bd7 PCI: endpoint: Fix alignment fault error in copy tests
    2aa10e2fa2ab usb: ehci: add pci device support for Aspeed platforms
    99073052f45b iommu/arm-smmu-v3: fix event handling soft lockup
    60eabd66d17f PCI: aardvark: Fix support for MSI interrupts
    330c4e1b4ec4 scsi: smartpqi: Fix kdump issue when controller is locked up
    0a922366d6d9 drm/amdgpu: Fix recursive locking warning
    06ee48a4fc25 powerpc: Set crashkernel offset to mid of RMA region
    9c1ace066f22 net: initialize init_net earlier
    4790998fdd0d ipv6: make mc_forwarding atomic
    e9da1df2c021 libbpf: Fix build issue with llvm-readelf
    19d067c10b71 cfg80211: don't add non transmitted BSS to 6GHz scanned channels
    55c93a89e31d mt76: dma: initialize skip_unmap in mt76_dma_rx_fill
    38fbe8066450 mt76: mt7921: fix crash when startup fails.
    793a37045893 power: supply: axp20x_battery: properly report current when discharging
    a0f8220ce934 drm/v3d: fix missing unlock
    0f8ec114029a scsi: bfa: Replace snprintf() with sysfs_emit()
    1378075fa5bc scsi: mvsas: Replace snprintf() with sysfs_emit()
    1c6ffdf4cc45 bpf: Make dst_port field in struct bpf_sock 16-bit wide
    ff13c90d7f7a drm/bridge: Add missing pm_runtime_put_sync
    35380262304f net/smc: Send directly when TCP_CORK is cleared
    20d01a11efde ath11k: mhi: use mhi_sync_power_up()
    fed4cef115ab ath11k: pci: fix crash on suspend if board file is not found
    c4b7653af62a ath11k: fix kernel panic during unload/load ath11k modules
    910ee99d47d3 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
    e84b0438010d drm/amdkfd: Don't take process mutex for svm ioctls
    1eb598045326 ptp: replace snprintf with sysfs_emit
    052fb1c9ddfb usb: cdnsp: fix cdnsp_decode_trb function to properly handle ret value
    c27576bbbe77 usb: gadget: tegra-xudc: Fix control endpoint's definitions
    111a63235001 usb: gadget: tegra-xudc: Do not program SPARAM
    6040c99cb1a1 drm/amd/display: Use PSR version selected during set_psr_caps
    7e10369c72db drm/amd/display: Fix memory leak
    3edd8646cb7c drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    c4b64a80554e drm/amd/display: Add signal type check when verify stream backends same
    be2f81024e79 ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
    b3ca02c1ee93 drm: Add orientation quirk for GPD Win Max
    d5f6f44e04c3 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
    a997e0f5aa55 KVM: x86/pmu: Fix and isolate TSX-specific performance event logic
    e7bab9898249 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
    5483640f8efb KVM: SVM: Fix kvm_cache_regs.h inclusions for is_guest_mode()
    a82fe0ba1c52 KVM: x86/pmu: Use different raw event masks for AMD and Intel
    105b50d9bb82 kfence: limit currently covered allocations when pool nearly full
    44b44b64b4da kfence: move saving stack trace of allocations into __kfence_alloc()
    72d2d94a981d kfence: count unexpectedly skipped allocations
    5142720dbe51 nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
    64742cf82dec nbd: Fix hungtask when nbd_config_put
    694b5a32c162 nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_add
    3e526e9ae0e4 nbd: add error handling support for add_disk()
    f8008f42d463 rtc: wm8350: Handle error for wm8350_register_irq
    b257272f5483 um: fix and optimize xor select template for CONFIG64 and timetravel mode
    2be1a7f09635 lib/logic_iomem: correct fallback config references

(From OE-Core rev: 39e9635c34b773f671870dec4c1953daef576b16)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
fa1c71b8fd linux-yocto/5.10: update to v5.10.112
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    1052f9bce629 Linux 5.10.112
    5c62d3bf1410 ax25: Fix UAF bugs in ax25 timers
    f934fa478dd1 ax25: Fix NULL pointer dereferences in ax25 timers
    145ea8d213e8 ax25: fix NPD bug in ax25_disconnect
    a4942c6fea87 ax25: fix UAF bug in ax25_send_control()
    b20a5ab0f5fb ax25: Fix refcount leaks caused by ax25_cb_del()
    57cc15f5fd55 ax25: fix UAF bugs of net_device caused by rebinding operation
    5ddae8d06441 ax25: fix reference count leaks of ax25_dev
    5ea00fc60676 ax25: add refcount in ax25_dev to avoid UAF bugs
    361288633bfa scsi: iscsi: Fix unbound endpoint error handling
    129db30599bc scsi: iscsi: Fix endpoint reuse regression
    26f827e095ab dma-direct: avoid redundant memory sync for swiotlb
    9a5a4d23e24d timers: Fix warning condition in __run_timers()
    84837f43e56f i2c: pasemi: Wait for write xfers to finish
    89496d80bf84 smp: Fix offline cpu check in flush_smp_call_function_queue()
    cd02b2687d66 dm integrity: fix memory corruption when tag_size is less than digest size
    0a312ec66a03 ARM: davinci: da850-evm: Avoid NULL pointer dereference
    0806f1930562 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
    0275c75955d1 genirq/affinity: Consider that CPUs on nodes can be unbalanced
    1fcfe37d170a drm/amdgpu: Enable gfxoff quirk on MacBook Pro
    68ae52efa132 drm/amd/display: don't ignore alpha property on pre-multiplied mode
    a263712ba8c9 ipv6: fix panic when forwarding a pkt with no in6 dev
    659214603bf2 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
    912797e54c99 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
    48d070ca5e7e ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
    163e16247130 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
    5e4dd1799883 btrfs: mark resumed async balance as writing
    1d2eda18f6ff btrfs: fix root ref counts in error handling in btrfs_get_root_ref
    9b7ec35253c9 ath9k: Fix usage of driver-private space in tx_info
    0f65cedae500 ath9k: Properly clear TX status area before reporting to mac80211
    cc21ae932656 gcc-plugins: latent_entropy: use /dev/urandom
    c089ffc846c8 memory: renesas-rpc-if: fix platform-device leak in error path
    342454231ee5 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded
    06c348fde545 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
    20ed94f8181a mm: fix unexpected zeroed page mapping with zram swap
    192e507ef894 mm, page_alloc: fix build_zonerefs_node()
    000b3921b4d5 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
    ca24c5e8f0ac drivers: net: slip: fix NPD bug in sl_tx_timeout()
    e8cf1e4d953d scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
    5b7ce74b6bc8 scsi: mvsas: Add PCI ID of RocketRaid 2640
    4b44cd584057 drm/amd/display: Fix allocate_mst_payload assert on resume
    34ea097fb63d drm/amd/display: Revert FEC check in validation
    fa5ee7c4232c myri10ge: fix an incorrect free for skb in myri10ge_sw_tso
    d90df6da50c5 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
    9c12fcf1d864 net: axienet: setup mdio unconditionally
    b643807a735e tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
    98973d2bdd4a arm64: alternatives: mark patch_alternative() as `noinstr`
    2462faffbfa5 regulator: wm8994: Add an off-on delay for WM8994 variant
    aa8cdedaf760 gpu: ipu-v3: Fix dev_dbg frequency output
    150fe861c57c ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
    1ff5359afa5e net: micrel: fix KS8851_MLL Kconfig
    d3478709edf2 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
    b9a110fa755b scsi: lpfc: Fix queue failures when recovering from PCI parity error
    aec36b98a1bb scsi: target: tcmu: Fix possible page UAF
    43666798059c Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
    1d7a5aae884c drm/amdkfd: Check for potential null return of kmalloc_array()
    e5afacc826a8 drm/amdgpu/vcn: improve vcn dpg stop procedure
    d2e0931e6d84 drm/amdkfd: Fix Incorrect VMIDs passed to HWS
    7fc0610ad818 drm/amd/display: Update VTEM Infopacket definition
    6906e05cf3ad drm/amd/display: FEC check in timing validation
    756c61c1680f drm/amd/display: fix audio format not updated after edid updated
    76e086ce7b2d btrfs: do not warn for free space inode in cow_file_range
    217190dc66ef btrfs: fix fallocate to use file_modified to update permissions consistently
    9b5d1b3413d7 drm/amd: Add USBC connector ID
    6f9c06501d28 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering"
    504c15f07f54 dm mpath: only use ktime_get_ns() in historical selector
    4e166a41180b cifs: potential buffer overflow in handling symlinks
    67677050cecb nfc: nci: add flush_workqueue to prevent uaf
    bfba9722cf2e perf tools: Fix misleading add event PMU debug message
    280f721edc54 testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
    eb8873b324d9 sctp: Initialize daddr on peeled off socket
    45226fac4d31 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
    73805795c99f scsi: iscsi: Fix offload conn cleanup when iscsid restarts
    699bd835c36e scsi: iscsi: Move iscsi_ep_disconnect()
    46f37a34a53d scsi: iscsi: Fix in-kernel conn failure handling
    812573896711 scsi: iscsi: Rel ref after iscsi_lookup_endpoint()
    22608545b834 scsi: iscsi: Use system_unbound_wq for destroy_work
    4029a1e992fc scsi: iscsi: Force immediate failure during shutdown
    17d14456f626 scsi: iscsi: Stop queueing during ep_disconnect
    da9cf24aa739 scsi: pm80xx: Enable upper inbound, outbound queues
    e08d26971237 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
    35b91e49bc80 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
    98a7f6c4ada4 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
    5f78ad93837c drm/msm: Fix range size vs end confusion
    5513f9a0b068 cfg80211: hold bss_lock while updating nontrans_list
    a44938950e5e net/sched: taprio: Check if socket flags are valid
    08d5e3e95453 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
    2ad9d890d850 net: dsa: felix: suppress -EPROBE_DEFER errors
    f2cc341fcc42 net/sched: fix initialization order when updating chain 0 head
    7a7cf8414841 mlxsw: i2c: Fix initialization error flow
    43e58e119a2b net: mdio: Alphabetically sort header inclusion
    9709c8b5cdc8 gpiolib: acpi: use correct format characters
    d67c900f1947 veth: Ensure eth header is in skb's linear part
    845f44ce3d9f net/sched: flower: fix parsing of ethertype following VLAN header
    85ee17ca21cf SUNRPC: Fix the svc_deferred_event trace class
    af12dd71235c media: rockchip/rga: do proper error checking in probe
    563712971202 firmware: arm_scmi: Fix sorting of retrieved clock rates
    16c628b0c6fa memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
    cb66641f8106 drm/msm: Add missing put_task_struct() in debugfs path
    921fdc45a084 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
    5d131318bb87 ACPI: processor idle: Check for architectural support for LPI
    503934df3108 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
    cfa98ffc42f1 hamradio: remove needs_free_netdev to avoid UAF
    80a4df14643f hamradio: defer 6pack kfree after unregister_netdev
    f0c31f192f38 drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu
    6c8e5cb264df Linux 5.10.111
    d36febbcd537 powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
    5c672073bcca mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
    5973f7507a73 irqchip/gic, gic-v3: Prevent GSI to SGI translations
    000e09462f85 Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
    e1f540b752cb arm64: module: remove (NOLOAD) from linker script
    919823bd6738 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
    637eca44b8f7 selftests: cgroup: Test open-time credential usage for migration checks
    9dd39d2c6572 selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
    e74da71e6614 selftests/cgroup: Fix build on older distros
    4665722d36ad cgroup: Use open-time credentials for process migraton perm checks
    f089471d1b75 mm: don't skip swap entry even if zap_details specified
    58823a9b097c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
    03b39bbbec8b dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
    40e00885a61f tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
    75c8558d410f tools build: Filter out options and warnings not supported by clang
    6374faf49e89 perf python: Fix probing for some clang command line options
    79abc219bafd perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
    82e43950143c drm/amdkfd: Create file descriptor after client is added to smi_clients list
    326b408e7ec7 drm/nouveau/pmu: Add missing callbacks for Tegra devices
    786ae8de3a5e drm/amdgpu/smu10: fix SoC/fclk units in auto mode
    ff24114bb08d irqchip/gic-v3: Fix GICR_CTLR.RWP polling
    451214b266e9 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
    fc629224aa62 ata: sata_dwc_460ex: Fix crash due to OOB write
    7e88a50704b0 gpio: Restrict usage of GPIO chip irq members before initialization
    5f54364ff6cf RDMA/hfi1: Fix use-after-free bug for mm struct
    8bb41682911f arm64: patch_text: Fixup last cpu should be master
    a044bca8ef31 btrfs: prevent subvol with swapfile from being deleted
    82ae73ac963c btrfs: fix qgroup reserve overflow the qgroup limit
    fc4bdaed4d4e x86/speculation: Restore speculation related MSRs during S3 resume
    8c9e26c890ba x86/pm: Save the MSR validity status at context setup
    2827328e646d io_uring: fix race between timeout flush and removal
    f7e183b0a713 mm/mempolicy: fix mpol_new leak in shared_policy_replace
    7d659cb1763f mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
    6adc01a7aa37 lz4: fix LZ4_decompress_safe_partial read out of bound
    8b6f04b4c9d9 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
    029b4170737f mmc: mmci: stm32: correctly check all elements of sg list
    41a519c05bee Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
    9de98470db6e arm64: Add part number for Arm Cortex-A78AE
    4604b5738d5b perf session: Remap buf if there is no space for event
    362ced37690d perf tools: Fix perf's libperf_print callback
    65210fac639e perf: arm-spe: Fix perf report --mem-mode
    bd905fed87ce iommu/omap: Fix regression in probe for NULL pointer dereference
    b3c00be2ff8b SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
    9a45e08636bb SUNRPC: Handle low memory situations in call_status()
    132cbe2f182a SUNRPC: Handle ENOMEM in call_transmit_status()
    aed30a205406 io_uring: don't touch scm_fp_list after queueing skb
    594205b49367 drbd: Fix five use after free bugs in get_initial_state
    970a6bb72912 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
    6c17f4ef3c4f spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
    8928239e5e2e qede: confirm skb is allocated before using
    b7893388bb88 net: phy: mscc-miim: reject clause 45 register accesses
    08ff0e74fab5 rxrpc: fix a race in rxrpc_exit_net()
    5ae05b5eb587 net: openvswitch: fix leak of nested actions
    42ab401d22de net: openvswitch: don't send internal clone attribute to the userspace.
    e54ea8fc51ca ice: synchronize_rcu() when terminating rings
    e3dd1202ab2e ipv6: Fix stats accounting in ip6_pkt_drop
    ffce126c952e ice: Do not skip not enabled queues in ice_vc_dis_qs_msg
    b003fc4913ea ice: Set txq_teid to ICE_INVAL_TEID on ring creation
    ebd1e3458dbf dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
    43c2d7890eca IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
    3a57babfb6e9 RDMA/mlx5: Don't remove cache MRs when a delay is needed
    d8992b393f97 sfc: Do not free an empty page_ring
    0ac74169ebc3 bnxt_en: reserve space inside receive page for skb_shared_info
    f8b0ef0a5889 drm/imx: Fix memory leak in imx_pd_connector_get_modes
    25bc9fd4c8d1 drm/imx: imx-ldb: Check for null pointer after calling kmemdup
    02ab4abe5bbf net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
    63ea57478aaa net: ipv4: fix route with nexthop object delete warning
    4be6ed03107b ice: Clear default forwarding VSI during VSI release
    589154d0f189 net/tls: fix slab-out-of-bounds bug in decrypt_internal
    c5f77b595379 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
    45b9932b4daa NFSv4: fix open failure with O_ACCMODE flag
    c688705a3978 Revert "NFSv4: Handle the special Linux file open access mode"
    cf580d2e3884 Drivers: hv: vmbus: Fix potential crash on module unload
    0c122eb3a109 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
    84e5dfc05f37 Revert "hv: utils: add PTP_1588_CLOCK to Kconfig to fix build"
    3c3fbfa6dddb mm: fix race between MADV_FREE reclaim and blkdev direct IO read
    1753a49e266d parisc: Fix patch code locking and flushing
    f7c35220305f parisc: Fix CPU affinity for Lasi, WAX and Dino chips
    c74e2f6ecc51 NFS: Avoid writeback threads getting stuck in mempool_alloc()
    34681aeddcfc NFS: nfsiod should not block forever in mempool_alloc()
    7a506fabcfe1 SUNRPC: Fix socket waits for write buffer space
    b9c5ac0a15f2 jfs: prevent NULL deref in diFree
    c69b442125bf virtio_console: eliminate anonymous module_init & module_exit
    3309b3221711 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
    9cb90f9ad597 x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy
    b3882e78aa0a NFS: swap-out must always use STABLE writes.
    d4170a28217a NFS: swap IO handling is slightly different for O_DIRECT IO
    4b6f122bdfdc SUNRPC: remove scheduling boost for "SWAPPER" tasks.
    f4fc47e71e32 SUNRPC/xprt: async tasks mustn't block waiting for memory
    f9244d31e05a SUNRPC/call_alloc: async tasks mustn't block waiting for memory
    e2b2542f7452 clk: Enforce that disjoints limits are invalid
    1e9b5538cf16 clk: ti: Preserve node in ti_dt_clocks_register()
    a2a0e04f6478 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
    4a2544ce244b NFSv4: Protect the state recovery thread against direct reclaim
    9b9feec97c1f NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
    2e16895d06e6 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
    93498c6e775a staging: wfx: fix an error handling in wfx_init_common()
    8f1d24f85ffd phy: amlogic: meson8b-usb2: Use dev_err_probe()
    aa0b72967853 staging: vchiq_core: handle NULL result of find_service_by_handle
    be4ecca95819 clk: si5341: fix reported clk_rate when output divider is 2
    c9cf6baabf78 minix: fix bug when opening a file with O_DIRECT
    8d9efd4434e3 init/main.c: return 1 from handled __setup() functions
    f44297861296 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
    d745512d54fd netlabel: fix out-of-bounds memory accesses
    2cc803804ec9 Bluetooth: Fix use after free in hci_send_acl
    789621df1963 MIPS: ingenic: correct unit node address
    61e25021e67a xtensa: fix DTC warning unit_address_format
    f6b9550f5367 usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
    a4dd3e9e5ae8 net: sfp: add 2500base-X quirk for Lantech SFP module
    278b652f0ad9 net: limit altnames to 64k total
    423e7107f61f net: account alternate interface name memory
    74c4d5025551 can: isotp: set default value for N_As to 50 micro seconds
    1d7effe5fff9 scsi: libfc: Fix use after free in fc_exch_abts_resp()
    02222bf4f0a2 powerpc/secvar: fix refcount leak in format_show()
    fd416c3f5a4c MIPS: fix fortify panic when copying asm exception handlers
    7c657c0694ff PCI: endpoint: Fix misused goto label
    79cfc0052f39 bnxt_en: Eliminate unintended link toggle during FW reset
    9567d54e70ff Bluetooth: use memset avoid memory leaks
    f9b183f1332a Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
    647b35aaf454 tuntap: add sanity checks about msg_controllen in sendmsg
    797b4ea9515e macvtap: advertise link netns via netlink
    142ae7d4f215 mips: ralink: fix a refcount leak in ill_acc_of_setup()
    f2565cb40e9b net/smc: correct settings of RMB window update limit
    224903cc60d0 scsi: hisi_sas: Free irq vectors in order for v3 HW
    f49ffaa85d2c scsi: aha152x: Fix aha152x_setup() __setup handler return value
    91ee8a14efb6 mt76: mt7615: Fix assigning negative values to unsigned variable
    d83574666bac scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req()
    a0bb65eadbf9 scsi: pm8001: Fix tag leaks on error
    2051044d7901 scsi: pm8001: Fix task leak in pm8001_send_abort_all()
    3bd9a28798ca scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
    ef969095c442 scsi: pm8001: Fix pm80xx_pci_mem_copy() interface
    fe4b6d5a0dd7 drm/amdkfd: make CRAT table missing message informational only
    2f2f017ea873 dm: requeue IO if mapping table not yet available
    71c8df33fd77 dm ioctl: prevent potential spectre v1 gadget
    f655b724b440 ipv4: Invalidate neighbour for broadcast address upon address addition
    bae03957e8ca iwlwifi: mvm: Correctly set fragmented EBS
    9538563d31a2 power: supply: axp288-charger: Set Vhold to 4.4V
    c66cc0404367 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    b1b27b0e8d48 tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.
    b02a1a65023f PCI: endpoint: Fix alignment fault error in copy tests
    4820847e8bc2 usb: ehci: add pci device support for Aspeed platforms
    0b9cf0b59925 iommu/arm-smmu-v3: fix event handling soft lockup
    e07e420a0056 PCI: aardvark: Fix support for MSI interrupts
    6694b8643bde drm/amdgpu: Fix recursive locking warning
    ea21eaea7f5f powerpc: Set crashkernel offset to mid of RMA region
    fb5ac62fbe16 ipv6: make mc_forwarding atomic
    5baf92a2c46c libbpf: Fix build issue with llvm-readelf
    26a1e4739e44 cfg80211: don't add non transmitted BSS to 6GHz scanned channels
    9a56e2b271bc mt76: dma: initialize skip_unmap in mt76_dma_rx_fill
    b42b6d0ec358 power: supply: axp20x_battery: properly report current when discharging
    de9505936c47 scsi: bfa: Replace snprintf() with sysfs_emit()
    ed7db959203e scsi: mvsas: Replace snprintf() with sysfs_emit()
    995f51788868 bpf: Make dst_port field in struct bpf_sock 16-bit wide
    339bd0b55ecd ath11k: mhi: use mhi_sync_power_up()
    c6a815f5abdf ath11k: fix kernel panic during unload/load ath11k modules
    e4d2d7201356 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
    02e2ee861984 ptp: replace snprintf with sysfs_emit
    9ea17b9f1dd0 usb: gadget: tegra-xudc: Fix control endpoint's definitions
    07971b818e18 usb: gadget: tegra-xudc: Do not program SPARAM
    927beb05aaa4 drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    85313d9bc7bd drm/amd/display: Add signal type check when verify stream backends same
    9d7d83d0399e ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
    850c4351e895 drm: Add orientation quirk for GPD Win Max
    a24479c5e9f4 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
    66b0fa6b2218 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
    2e52a294700b rtc: wm8350: Handle error for wm8350_register_irq
    0777fe98a44c gfs2: gfs2_setattr_size error path fix
    f349d7f9ee6d gfs2: Fix gfs2_release for non-writers regression
    3f53715fd55c gfs2: Check for active reservation in gfs2_release
    2dc49f58a29c ubifs: Rectify space amount budget for mkdir/tmpfile operations

(From OE-Core rev: 1a5b51284c28013563bf654aa41287b1288684fb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
47d3c858f5 linux-yocto/5.15: netfilter: conntrack: avoid useless indirection during conntrack destruction
Integrating the following commit(s) to linux-yocto/5.15:

    07a63f760793 netfilter: conntrack: avoid useless indirection during conntrack destruction

(From OE-Core rev: 2aaf2429474da762d305d6fb70996b5502c879c7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
286f6a0c8e linux-yocto/5.15: fix ppc boot
The 5.15-stable series pulled in the following commit:

   commit c894ac44786cfed383a6c6b20c1bfb12eb96018a
   Author: Thomas Zimmermann <tzimmermann@suse.de>
   Date:   Tue Jan 25 10:12:18 2022 +0100

    fbdev: Hot-unplug firmware fb devices on forced removal

    commit 27599aacbaefcbf2af7b06b0029459bbf682000d upstream.

    Hot-unplug all firmware-framebuffer devices as part of removing
    them via remove_conflicting_framebuffers() et al. Releases all
    memory regions to be acquired by native drivers.

    Firmware, such as EFI, install a framebuffer while posting the
    computer. After removing the firmware-framebuffer device from fbdev,
    a native driver takes over the hardware and the firmware framebuffer
    becomes invalid.

    Firmware-framebuffer drivers, specifically simplefb, don't release
    their device from Linux' device hierarchy. It still owns the firmware
    framebuffer and blocks the native drivers from loading. This has been
    observed in the vmwgfx driver. [1]

    Initiating a device removal (i.e., hot unplug) as part of
    remove_conflicting_framebuffers() removes the underlying device and
    returns the memory range to the system.

    [1] https://lore.kernel.org/dri-devel/20220117180359.18114-1-zack@kde.org/

    v2:
            * rename variable 'dev' to 'device' (Javier)

    Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
    Reported-by: Zack Rusin <zackr@vmware.com>
    Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
    Reviewed-by: Zack Rusin <zackr@vmware.com>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    CC: stable@vger.kernel.org # v5.11+
    Link: https://patchwork.freedesktop.org/patch/msgid/20220125091222.21457-2-tzimmermann@suse.de
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

And this is causing qemuppc to panic during boot when manipulating
the fbdev.

Reverting it fixes the problem, and won't cause issues for other
platforms, so we revert it.

(From OE-Core rev: f69fca36ef10f7345bba08c55d8af2628d250a32)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
a5f2e23da8 linux-yocto/5.15: kasan: fix BUG: sleeping function called from invalid context
Integrating the following commit(s) to linux-yocto/5.15:

    7ba4cb36fd4f rcu: Avoid alloc_pages() when recording stack
    f78574dee71e kasan: test: silence intentional read overflow warnings
    d313cb89b6b1 kasan: arm64: fix pcpu_page_first_chunk crash with KASAN_VMALLOC
    5e279d5647cc arm64: support page mapping percpu first chunk allocator
    e5bf16752dca vmalloc: choose a better start address in vm_area_register_early()
    660b3d21b46f kasan: test: bypass __alloc_size checks
    00aa7573e53a kasan: test: add memcpy test that avoids out-of-bounds write
    67becf0b1bd4 kasan: fix tag for large allocations when using CONFIG_SLAB
    bedf1e033213 workqueue, kasan: avoid alloc_pages() when recording stack
    7195b67ce69b kasan: generic: introduce kasan_record_aux_stack_noalloc()
    bdff763f0e29 kasan: common: provide can_alloc in kasan_save_stack()
    51423ebb36ad lib/stackdepot: introduce __stack_depot_save()
    85373e66d847 lib/stackdepot: remove unused function argument
    5b6cc9b251f3 lib/stackdepot: include gfp.h

Link: https://lkml.kernel.org/r/20210913112609.2651084-1-elver@google.com
Link: https://lkml.kernel.org/r/20210913112609.2651084-2-elver@google.com

(From OE-Core rev: a9075595074609c80af3530d4660b88ce0f76744)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
0a1f8737a0 linux-yocto/5.15: base: enable kernel crypto userspace API
Integrating the following commit(s) to linux-yocto/.:

    645b337371e base.cfg: enable kernel crypto userspace API

(From OE-Core rev: c769807e3a150496f62be88bec9678c9f9dce211)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
e8ceda4499 linux-yocto/5.15: update to v5.15.33
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    06f50ca83ace Linux 5.15.33
    541b7456fc4d PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"
    39fd0cc079c9 coredump: Use the vma snapshot in fill_files_note
    cabd69640957 coredump/elf: Pass coredump_params into fill_note_info
    7ba958df6449 coredump: Remove the WARN_ON in dump_vma_snapshot
    f6ca862806df coredump: Snapshot the vmas in do_coredump
    57c04fac8023 iommu/dma: Account for min_align_mask w/swiotlb
    3e44e136560c swiotlb: Support aligned swiotlb buffers
    52d23f5f0915 iommu/dma: Check CONFIG_SWIOTLB more broadly
    bc05d84824c0 iommu/dma: Fold _swiotlb helpers into callers
    c3841d020b82 iommu/dma: Skip extra sync during unmap w/swiotlb
    8771d9673e0b KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
    b0e8e828acb5 mmc: rtsx: Fix build errors/warnings for unused variable
    8af04b6aa02b mmc: rtsx: Let MMC core handle runtime PM
    a9bbdeef768f n64cart: convert bi_disk to bi_bdev->bd_disk fix build
    2a710a5c59e9 torture: Make torture.sh help message match reality
    acabfc943245 openvswitch: Fixed nd target mask field in the flow dump.
    3fc38521fc30 docs: sysctl/kernel: add missing bit to panic_print
    166abd13eab0 um: Fix uml_mconsole stop/go
    94a53804ec3a arm64: dts: ls1046a: Update i2c node dma properties
    32820c358d1b arm64: dts: ls1043a: Update i2c dma properties
    28a020859c00 ARM: dts: spear13xx: Update SPI dma properties
    7aa9bba18f80 ARM: dts: spear1340: Update serial node properties
    dd8772224c19 spi: mediatek: support tick_delay without enhance_timing
    2a6e0695ddd5 media: ov6650: Fix crop rectangle affected by set format
    3995d4cf529c media: ov6650: Add try support to selection API operations
    8f5e6110e108 perf vendor events: Update metrics for SkyLake Server
    b0e5c18317f7 ASoC: topology: Allow TLV control to be either read or write
    678b6901d00b ASoC: SOF: Intel: Fix build error without SND_SOC_SOF_PCI_DEV
    ba8260872dd5 ubi: fastmap: Return error code if memory allocation fails in add_aeb()
    666176d0f9bb dt-bindings: pinctrl: pinctrl-microchip-sgpio: Fix example
    e918b36600d6 dt-bindings: memory: mtk-smi: No need mediatek,larb-id for mt8167
    b2b85196a31a dt-bindings: spi: mxic: The interrupt property is not mandatory
    c19a9d307844 dt-bindings: mtd: nand-controller: Fix a comment in the examples
    716a77f8460d dt-bindings: mtd: nand-controller: Fix the reg property description
    8ec990990be3 mmc: rtsx: Use pm_runtime_{get,put}() to handle runtime PM
    50c906a6977f bpf: Fix comment for helper bpf_current_task_under_cgroup()
    398ac11f4425 bpf: Adjust BPF stack helper functions to accommodate skip > 0
    21b6b8d43d87 af_unix: Support POLLPRI for OOB.
    260daa256d30 mm/usercopy: return 1 from hardened_usercopy __setup() handler
    c9acbcd636ab mm/memcontrol: return 1 from cgroup.memory __setup() handler
    48ddbd8b4e42 ARM: 9187/1: JIVE: fix return value of __setup handler
    6795b20d4b2c mm/mmap: return 1 from stack_guard_gap __setup() handler
    23629b673b78 net: preserve skb_end_offset() in skb_unclone_keeptruesize()
    51e458fc0ca6 net: add skb_set_end_offset() helper
    14d552ab31ed tracing: Have type enum modifications copy the strings
    7007c894631c Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    63351e2e1362 ASoC: soc-compress: Change the check for codec_dai
    7ed3cce2fe68 arm64: mm: Drop 'const' from conditional arm64_dma_phys_limit definition
    5ab0f5e238b9 staging: mt7621-dts: fix pinctrl-0 items to be size-1 items on ethernet
    0e39097efcb5 scsi: qla2xxx: Add qla2x00_async_done() for async routines
    b9cf1208af36 drm/connector: Fix typo in documentation
    5b422da35c15 proc: bootconfig: Add null pointer check
    f78f56488cd3 can: isotp: restore accidentally removed MSG_PEEK feature
    3fc81968625a platform/chrome: cros_ec_typec: Check for EC device
    8c1c3c00dceb spi: Fix Tegra QSPI example
    7480cc0240eb vhost: handle error while adding split ranges to iotlb
    97b5593fd1b1 ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
    dae252901378 riscv module: remove (NOLOAD)
    0853bd6885c2 io_uring: fix memory leak of uid in files registration
    5b9ac3727e4a block: Fix the maximum minor value is blk_alloc_ext_minor()
    21cfddd5e0f6 ARM: iop32x: offset IRQ numbers by 1
    1a3f1cf87054 ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
    619709f0c608 ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
    d509d41d89c5 pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
    3e51c3023228 pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
    b603cbe08b0b net: sparx5: uses, depends on BRIDGE or !BRIDGE
    84817c83c0e7 watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function
    d02ca80ec735 pinctrl: pinconf-generic: Print arguments for bias-pull-*
    4913daecd04a watch_queue: Free the page array when watch_queue is dismantled
    210891d81b9c crypto: arm/aes-neonbs-cbc - Select generic cbc and aes
    c78d23ea7506 mailbox: imx: fix wakeup failure from freeze mode
    8cbf4ae7a283 rxrpc: Fix call timer start racing with call destruction
    432297011caf rxrpc: fix some null-ptr-deref bugs in server_key.c
    88570bda6e48 net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
    a0817ad3f283 net: hns3: fix the concurrency between functions reading debugfs
    5c3c9bce1c99 gfs2: Make sure FITRIM minlen is rounded up to fs block size
    1d8195349742 gfs2: gfs2_setattr_size error path fix
    50ed32e67c5c rtc: check if __rtc_read_time was successful
    9f20ce95db3d modpost: restore the warning message for missing symbol versions
    7aae60df6782 XArray: Update the LRU list in xas_split()
    be8ebbabac94 can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value
    fa9c1f14002d can: mcba_usb: properly check endpoint type
    37f07ad24866 can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
    7521a97b1929 XArray: Fix xas_create_range() when multi-order entry present
    9af42a4f6d81 wireguard: socket: ignore v6 endpoints when ipv6 is disabled
    402991a97715 wireguard: socket: free skb in send6 when ipv6 is disabled
    6a7245252fdc wireguard: queueing: use CFI-safe ptr_ring cleanup function
    c98f792a1468 nvme: fix the read-only state for zoned namespaces with unsupposed features
    7d18d6c71372 nvme: allow duplicate NSIDs for private namespaces
    578bf41d9443 ubifs: rename_whiteout: correct old_dir size computing
    4f75bab98565 ubifs: Fix to add refcount once page is set private
    a7054aaf1909 ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
    56cf8b26b18e ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
    489c3a2577b3 ubifs: Rectify space amount budget for mkdir/tmpfile operations
    a9662bec5a4d ubifs: Fix 'ui->dirty' race between do_tmpfile() and writeback work
    c67bc98d1f08 ubifs: Rename whiteout atomically
    ff846f2c5d1d ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
    c58af8564a7b ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
    2ad07009c459 ubifs: rename_whiteout: Fix double free for whiteout_ui->data
    3fa2d7479605 KVM: SVM: fix panic on out-of-bounds guest IRQ
    63961ac1359e KVM: x86: fix sending PV IPI
    43637ee17092 KVM: Prevent module exit until all VMs are freed
    ba6e8c2df520 KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
    0e5dbc0540ba KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
    569a229142e9 KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
    81e5b16de862 platform: chrome: Split trace include file
    89dad346c241 scsi: qla2xxx: Use correct feature type field during RFF_ID processing
    f63fde0d16a4 scsi: qla2xxx: Reduce false trigger to login
    20909563bd50 scsi: qla2xxx: Fix stuck session of PRLI reject
    2b612191f9d3 scsi: qla2xxx: Fix N2N inconsistent PLOGI
    c9d6081a5f18 scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
    d6f691a133f0 scsi: qla2xxx: Fix hang due to session stuck
    7ccd6063874d scsi: qla2xxx: Fix incorrect reporting of task management failure
    c0300beb313f scsi: qla2xxx: Fix disk failure to rediscover
    9c33d49ab9f3 scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
    d1b7d23cd462 scsi: qla2xxx: Check for firmware dump already collected
    812afc2b8ec0 scsi: qla2xxx: Add devids and conditionals for 28xx
    d70d86f7a6ea scsi: qla2xxx: Fix T10 PI tag escape and IP guard options for 28XX adapters
    2df59f3bb240 scsi: qla2xxx: edif: Fix clang warning
    fbc1aa41269a scsi: qla2xxx: Fix device reconnect in loop topology
    b6c95db6d2e8 scsi: qla2xxx: Fix warning for missing error code
    67b1be130861 scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
    5ef6319f9882 scsi: qla2xxx: Fix premature hw access after PCI error
    826a9d4a00d1 scsi: qla2xxx: Fix scheduling while atomic
    7a3457777c4f scsi: qla2xxx: Fix warning message due to adisc being flushed
    5fb0a488028e scsi: qla2xxx: Fix stuck session in gpdb
    e17111dd2fda scsi: qla2xxx: Implement ref count for SRB
    24e86eae3f7b scsi: qla2xxx: Refactor asynchronous command initialization
    f5a0cf225f8d drm/i915: Reject unsupported TMDS rates on ICL+
    beeebae6ea82 drm/i915: Fix PSF GV point mask when SAGV is not possible
    102cba6d5ae2 drm/i915: Treat SAGV block time 0 as SAGV disabled
    e912d697400c drm/dp: Fix off-by-one in register cache size
    2d67222b2380 powerpc: Fix build errors with newer binutils
    f4b0b5a0f3c1 powerpc: Add set_memory_{p/np}() and remove set_memory_attr()
    a29341e48601 powerpc/lib/sstep: Fix build errors with newer binutils
    d25efd904271 powerpc/lib/sstep: Fix 'sthcx' instruction
    5a3d8f3192a4 powerpc/kasan: Fix early region not updated correctly
    cb188e07105f KVM: x86: hyper-v: HVCALL_SEND_IPI_EX is an XMM fast hypercall
    5c3d0dbe200f KVM: x86: hyper-v: Fix the maximum number of sparse banks for XMM fast TLB flush hypercalls
    72eae60bfe83 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_flush_tlb()
    dbec906dbef6 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_send_ipi()
    f4fd34eaa767 KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMU
    af47248407c0 KVM: x86/mmu: Zap _all_ roots when unmapping gfn range in TDP MMU
    31a70b170e06 KVM: x86/mmu: Move "invalid" check out of kvm_tdp_mmu_get_root()
    48306afcac2a KVM: x86: Reinitialize context if host userspace toggles EFER.LME
    273ad0cf5684 ALSA: hda/realtek: Add alc256-samsung-headphone fixup
    fe440221ca0f media: atomisp: fix bad usage at error handling logic
    251a11699fe5 mmc: host: Return an error when ->enable_sdio_irq() ops is missing
    7c6bd60999f3 tracing: Have TRACE_DEFINE_ENUM affect trace event types as well
    ae2b93b0a6a7 ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13"
    f90db7cca4d4 media: hdpvr: initialize dev->worker at hdpvr_register_videodev
    deb1f0453198 media: Revert "media: em28xx: add missing em28xx_close_extension"
    96a7522c72c4 media: i2c: ov5648: Fix lockdep error
    eae90015d10f video: fbdev: sm712fb: Fix crash in smtcfb_write()
    a07c7b64eadf ASoC: amd: vg: fix for pm resume callback sequence
    4ab0293c961b ARM: mmp: Fix failure to remove sram device
    f8ef3b979bfa ARM: tegra: tamonten: Fix I2C3 pad setting
    6a1c70de40b5 lib/test_lockup: fix kernel pointer check for separate address spaces
    8b2a6074b981 uaccess: fix type mismatch warnings from access_ok()
    cb5bd93ad218 media: cx88-mpeg: clear interrupt status register before streaming video
    02f9f97d54ff media: imx-jpeg: fix a bug of accessing array out of bounds
    0b620fce5eae ASoC: soc-core: skip zero num_dai component in searching dai name
    80e6bbe4e193 ARM: dts: bcm2711: Add the missing L1/L2 cache information
    2d5c47df8e21 video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
    e7f5b1c56921 video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
    509bc99aba95 video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
    79045b61875d arm64: defconfig: build imx-sdma as a module
    c7129c401f55 ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
    330de92eb10f ARM: ftrace: avoid redundant loads or clobbering IP
    3f887cb763a0 media: atomisp: fix dummy_ptr check to avoid duplicate active_bo
    8b6b38083a29 media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards
    1c17870f26d9 ASoC: madera: Add dependencies on MFD
    35a2aeb70fe6 ARM: dts: bcm2837: Add the missing L1/L2 cache information
    93b85b6e8358 ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
    521796018815 video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
    6fe23ff94e78 video: fbdev: cirrusfb: check pixclock to avoid divide by zero
    9522e11e8636 video: fbdev: w100fb: Reset global state
    9ff2f7294ab0 video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
    77fbe028d5a3 media: iommu/mediatek: Add device_link between the consumer and the larb devices
    4dd3e2d1bd70 media: iommu/mediatek: Return ENODEV if the device is NULL
    1515d1414967 media: iommu/mediatek-v1: Free the existed fwspec if the master dev already has
    eff76b180751 media: imx-jpeg: Prevent decoding NV12M jpegs into single-planar buffers
    47b45e08e5ad ASoC: SOF: Intel: match sdw version on link_slaves_found
    205db54b159f ASoC: sh: rz-ssi: Make the data structures available before registering the handlers
    2011363c1968 media: ir_toy: free before error exiting
    0b2313042634 media: atmel: atmel-isc-base: report frame sizes as full supported range
    3681eb1fd45c media: staging: media: zoran: fix various V4L2 compliance errors
    7e76f3ed7ab2 media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com
    ff3357bffd9f media: staging: media: zoran: move videodev alloc
    24ab2d4ef52c ntfs: add sanity check on allocation size
    9dd6bb11df64 Adjust cifssb maximum read size
    1a55c48bba81 f2fs: compress: fix to print raw data size in error path of lz4 decompression
    2eff60346e7a f2fs: use spin_lock to avoid hang
    c78bada18aa1 btrfs: make search_csum_tree return 0 if we get -EFBIG
    40d006dfedd6 btrfs: harden identification of a stale device
    58d3aa672d13 f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs
    7260793c13e9 NFSD: Fix nfsd_breaker_owns_lease() return values
    f68caedf264a f2fs: fix to do sanity check on curseg->alloc_type
    a0856764dc12 ext4: don't BUG if someone dirty pages without asking ext4 first
    7cca463f1030 sched/tracing: Report TASK_RTLOCK_WAIT tasks as TASK_UNINTERRUPTIBLE
    6a6beb074186 ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit
    572d14e6cec4 ext4: correct cluster len and clusters changed accounting in ext4_mb_mark_bb
    1388c10b3257 locking/lockdep: Iterate lock_classes directly when reading lockdep files
    95bc0ba6bef8 atomics: Fix atomic64_{read_acquire,set_release} fallbacks
    75fe5dcb1653 spi: tegra20: Use of_device_get_match_data()
    ffe0c4916795 nvme-tcp: lockdep: annotate in-kernel sockets
    b3ea76bda7f7 parisc: Fix handling off probe non-access faults
    c29642ba72f8 PM: core: keep irq flags in device_pm_check_callbacks()
    c02f2d420a44 ACPI/APEI: Limit printable size of BERT table data
    65d8a737452e Revert "Revert "block, bfq: honor already-setup queue merges""
    5b8d69c8c107 lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
    33ccf4f81785 ACPICA: Avoid walking the ACPI Namespace if it is not there
    080665e2c3cb bfq: fix use-after-free in bfq_dispatch_request
    e0943c456b60 fs/binfmt_elf: Fix AT_PHDR for unusual ELF files
    757322b5aba9 irqchip/nvic: Release nvic_base upon failure
    dabfc878ef6f irqchip/qcom-pdc: Fix broken locking
    05ba7d0c639f Fix incorrect type in assignment of ipv6 port for audit
    860d36424d1b loop: use sysfs_emit() in the sysfs xxx show()
    55d192691b4b selinux: allow FIOCLEX and FIONCLEX with policy capability
    e48c260b0b2a arm64: module: remove (NOLOAD) from linker script
    15bb7a467b2b selinux: use correct type for context length
    8f34dea99cd7 block, bfq: don't move oom_bfqq
    69d41c77aadf crypto: hisilicon/sec - not need to enable sm4 extra mode at HW V3
    f84b1633004d crypto: xts - Add softdep on ecb
    e11293de5cf6 block/bfq_wf2q: correct weight to ioprio
    e34806c6c29d rcu: Mark writes to the rcu_segcblist structure's ->flags field
    99780fcb5494 pinctrl: npcm: Fix broken references to chip->parent_device
    999ee266531b gcc-plugins/stackleak: Exactly match strings instead of prefixes
    ca97dfbda510 crypto: hisilicon/qm - cleanup warning in qm_vf_read_qos
    4941c21090c3 regulator: rpi-panel: Handle I2C errors/timing to the Atmel
    f3f93a1aaafc LSM: general protection fault in legacy_parse_param
    c331c9d1d2b7 fs: fix fd table size alignment properly
    611170142b42 lib/test: use after free in register_test_dev_kmod()
    136736abcd35 fs: fd tables have to be multiples of BITS_PER_LONG
    fd3f70b90772 net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
    a738ff8143d8 NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
    bcbf4e5c3b5b net/sched: act_ct: fix ref leak when switching zones
    72dd9e61fa31 net: prefer nf_ct_put instead of nf_conntrack_put
    6b663fa23c7e octeontx2-af: initialize action variable
    b375ea083fa6 net: sparx5: switchdev: fix possible NULL pointer dereference
    409570a619c1 net/x25: Fix null-ptr-deref caused by x25_disconnect
    c416e9bb85a6 qlcnic: dcb: default to returning -EOPNOTSUPP
    e87c47df2193 net: sparx5: depends on PTP_1588_CLOCK_OPTIONAL
    34a5c64951c3 net: hns3: clean residual vf config after disable sriov
    c95578235888 NFS: Don't loop forever in nfs_do_recoalesce()
    667760fe01e9 selftests: test_vxlan_under_vrf: Fix broken test case
    2d05a007096e net: phy: broadcom: Fix brcm_fet_config_init()
    2dc73ba93202 net: hns3: refine the process when PF set VF VLAN
    ee7e9a9d73d9 net: hns3: format the output of the MAC address
    30f0ff7176ef net: hns3: add vlan list lock to protect vlan list
    02948e5782ce net: hns3: fix port base vlan add fail when concurrent with reset
    5e528c0e0618 net: hns3: fix bug when PF set the duplicate MAC address for VFs
    be6937a11b1c net: enetc: report software timestamping via SO_TIMESTAMPING
    af884b276b08 xen: fix is_xen_pmu()
    6c17fd7a6f5d clk: Initialize orphan req_rate
    8b320893461c vsock/virtio: enable VQs early on probe
    b64bf5464ad5 vsock/virtio: read the negotiated features before using VQs
    10c6cb867ffa vsock/virtio: initialize vdev->priv before using VQs
    c07a9d2a1d1d clk: qcom: gcc-msm8994: Fix gpll4 width
    e16b5f077980 perf stat: Fix forked applications enablement of counters
    c532caa7df8c kdb: Fix the putarea helper function
    0445609a7ace NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
    4ee7a4b67770 SUNRPC don't resend a task on an offlined transport
    6195af5ad801 netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
    6bbfe9a715ea jfs: fix divide error in dbNextAG
    104852921ff6 driver core: dd: fix return value of __setup handler
    20fab30930f3 firmware: google: Properly state IOMEM dependency
    af6e1b06d0ba kgdbts: fix return value of __setup handler
    1d5103d9bb7d virt: acrn: fix a memory leak in acrn_dev_ioctl()
    b9c43aa0b18d virt: acrn: obtain pa from VMA with PFNMAP flag
    16e323804732 serial: 8250: fix XOFF/XON sending when DMA is used
    a885e17cf5f2 kgdboc: fix return value of __setup handler
    e1338178f35e tty: hvc: fix return value of __setup handler
    e35a555b5a9d pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
    c52703355766 pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
    84940deb8dd3 pinctrl: microchip-sgpio: lock RMW access
    c6f009fe90f1 pinctrl: microchip sgpio: use reset driver
    a843ba2e9c87 pinctrl: mediatek: paris: Skip custom extra pin config dump for virtual GPIOs
    070d46aee151 pinctrl: mediatek: paris: Fix pingroup pin config state readback
    1190c1a5828a pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
    a8d236a32934 pinctrl: mediatek: paris: Fix PIN_CONFIG_BIAS_* readback
    3ddbb9ba7579 pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
    127a5d3e732d staging: mt7621-dts: fix GB-PC2 devicetree
    b24dfa54d6e8 staging: mt7621-dts: fix pinctrl properties for ethernet
    97d01fabee69 staging: mt7621-dts: fix formatting
    1293b7481d73 staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
    75ee75cc360a NFS: remove unneeded check in decode_devicenotify_args()
    8bddc0227e78 mailbox: imx: fix crash in resume on i.mx8ulp
    613e1b253f6d clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
    4be3e4c05d8d clk: Fix clk_hw_get_clk() when dev is NULL
    071c958f8e1b clk: clps711x: Terminate clk_div_table with sentinel element
    0415dce6228c clk: hisilicon: Terminate clk_div_table with sentinel element
    f4aee7714a1c clk: loongson1: Terminate clk_div_table with sentinel element
    7608a654a294 clk: actions: Terminate clk_div_table with sentinel element
    be8ab90a3a77 nvdimm/region: Fix default alignment for small regions
    bd4771ba2cf9 remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
    9c28309d6a5e remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
    9a809b902e1d remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
    95deff8996fb dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma
    2a9b575627fc clk: qcom: clk-rcg2: Update the frac table for pixel clock
    34dca60982e9 clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
    7a778371f9f2 clk: at91: sama7g5: fix parents of PDMCs' GCLK
    4b8a71f206c9 clk: imx: off by one in imx_lpcg_parse_clks_from_dt()
    4bd979ee9927 clk: imx7d: Remove audio_mclk_root_clk
    c39a750b61f7 dma-debug: fix return value of __setup handlers
    872a7b12af43 staging: r8188eu: fix endless loop in recv_func
    18dc19571210 NFS: Return valid errors from nfs2/3_decode_dirent()
    8a842f88d0e2 habanalabs: Add check for pci_enable_device
    82546d91d588 iio: adc: Add check for devm_request_threaded_irq
    3e843460fb42 serial: 8250: Fix race condition in RTS-after-send handling
    ba3a3390c9b1 NFS: Use of mapping_set_error() results in spurious errors
    b59173ff16fb serial: 8250_lpss: Balance reference count for PCI DMA device
    3a1131f7d2a8 serial: 8250_mid: Balance reference count for PCI DMA device
    675216a820ec phy: phy-brcm-usb: fixup BCM4908 support
    d9a3c2949d04 phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
    ca3d7cf53d8f clk: qcom: ipq8074: Use floor ops for SDCC1 clock
    8c54f6c900d1 pinctrl: renesas: checker: Fix miscalculation of number of states
    d19fb1d659ba pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
    157a22ca80c5 staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
    d6c4fc0d903f serial: 8250_aspeed_vuart: add PORT_ASPEED_VUART port type
    011e841cd11b iio: mma8452: Fix probe failing when an i2c_device_id is used
    cad1a3b1f481 dmaengine: idxd: restore traffic class defaults after wq reset
    7bebc9519691 dmaengine: idxd: change bandwidth token to read buffers
    e509584b079a dmaengine: idxd: check GENCAP config support for gencfg register
    41e360fa73a4 clk: qcom: ipq8074: fix PCI-E clock oops
    9a5f4da1ea27 soundwire: intel: fix wrong register name in intel_shim_wake
    251aabcb0b09 cpufreq: qcom-cpufreq-nvmem: fix reading of PVS Valid fuse
    2d7a9c09be64 misc: alcor_pci: Fix an error handling path
    72c4f4200f98 fsi: Aspeed: Fix a potential double free
    8adfd166fb32 pps: clients: gpio: Propagate return value from pps_gpio_probe
    6f4f778f2747 pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
    28a886a308ed fsi: scom: Remove retries in indirect scoms
    9fdc543b0e2a fsi: scom: Fix error handling
    b125b08dbee3 mxser: fix xmit_buf leak in activate when LSR == 0xff
    7a68abde36e1 staging: r8188eu: release_firmware is not called if allocation fails
    1768384f61d1 staging: r8188eu: convert DBG_88E_LEVEL call in hal/rtl8188e_hal_init.c
    a9e88c2618d2 kernel/resource: fix kfree() of bootmem memory again
    585dc196a08f drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool
    eec20eea27a0 ice: don't allow to run ice_send_event_to_aux() in atomic ctx
    9b77c8cf69a4 ice: fix 'scheduling while atomic' on aux critical err interrupt
    c64223a8d188 mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
    21a2b4ab48a4 tipc: fix the timer expires after interval 100ms
    95df5cd5a446 net: dsa: fix panic on shutdown if multi-chip tree failed to probe
    894347d4d29b openvswitch: always update flow key after nat
    862002402333 tcp: ensure PMTU updates are processed during fastopen
    06d836801cd8 net: bcmgenet: Use stronger register read/writes to assure ordering
    40092a8ac089 PCI: Avoid broken MSI on SB600 USB devices
    dd1043342e45 selftests/bpf/test_lirc_mode2.sh: Exit with proper code
    33d39efb61a8 powerpc/pseries: Fix use after free in remove_phb_dynamic()
    226ec1997de7 i2c: mux: demux-pinctrl: do not deactivate a master that is not active
    0ee072f91326 netfilter: conntrack: Add and use nf_ct_set_auto_assign_helper_warned()
    9b2bbf36b9cf i2c: meson: Fix wrong speed use from probe
    7409ff6393a6 af_netlink: Fix shift out of bounds in group mask calculation
    9151982547ee ipv4: Fix route lookups when handling ICMP redirects and PMTU updates
    770a97d3f34b Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
    60283d3ad395 Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed
    7235485433d2 Bluetooth: hci_uart: add missing NULL check in h5_enqueue
    292e8478ae0a selftests/bpf: Fix error reporting from sock_fields programs
    48e785075f9e af_unix: Fix some data-races around unix_sk(sk)->oob_skb.
    1bd58abf595b ibmvnic: fix race between xmit and reset
    3f798111077a bareudp: use ipv6_mod_enabled to check if IPv6 enabled
    b184a8fa7dd4 can: isotp: support MSG_TRUNC flag when reading from socket
    05e4e7d9bbb3 can: isotp: return -EADDRNOTAVAIL when reading from unbound socket
    f343dbe82314 can: isotp: sanitize CAN ID checks in isotp_bind()
    9265c09b2415 mt76: mt7921: fix mt7921_queues_acq implementation
    2a85c4cb3b15 netfilter: flowtable: Fix QinQ and pppoe support for inet table
    7ff346ee019b drm/i915/display: Fix HPD short pulse handling for eDP
    5d48ddbcafdf USB: storage: ums-realtek: fix error code in rts51x_read_mem()
    bc2c4dc5b566 samples/bpf, xdpsock: Fix race when running for fix duration of time
    cb6f141ae705 bpf, sockmap: Fix double uncharge the mem of sk_msg
    168ff181f5b6 bpf, sockmap: Fix more uncharged while msg has more_data
    de3a8d8fab07 bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
    ef9785f42979 bpf, sockmap: Fix memleak in sk_psock_queue_msg
    8dd392e352d3 RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
    b089f7fc89f9 Revert "RDMA/core: Fix ib_qp_usecnt_dec() called when error"
    d52dab6e0355 RDMA/irdma: Prevent some integer underflows
    18e65ab351cf power: ab8500_chargalg: Use CLOCK_MONOTONIC
    fe0e2ce5c87e mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
    d29cda15cab0 MIPS: pgalloc: fix memory leak caused by pgd_free()
    d5e41310bd72 MIPS: RB532: fix return value of __setup handler
    69155dc2e047 mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
    32939187f254 ath10k: Fix error handling in ath10k_setup_msa_resources
    9d04f4a15fe0 vxcan: enable local echo for sent CAN frames
    45962427aca2 powerpc: 8xx: fix a return value error in mpc8xx_pic_init
    88242bd033e2 scsi: mpt3sas: Fix incorrect 4GB boundary check
    ee773b7018d6 platform/x86: huawei-wmi: check the return value of device_create_file()
    fdee6b347cb8 selftests/bpf: Make test_lwt_ip_encap more stable and faster
    adc4a1ed139e libbpf: Unmap rings when umem deleted
    0a0c75ce5e26 mfd: mc13xxx: Add check for mc13xxx_irq_request
    4a852ff9b7be powerpc/64s: Don't use DSISR for SLB faults
    b55697c2a274 powerpc/sysdev: fix incorrect use to determine if list is empty
    804338913d27 MIPS: Sanitise Cavium switch cases in TLB handler synthesizers
    be48780b4dec mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
    f23b4c9c6a5a drm/msm/a6xx: Fix missing ARRAY_SIZE() check
    62f44f554d1c net: axienet: fix RX ring refill allocation failure handling
    e37d269734ee PCI: Reduce warnings on possible RW1C corruption
    4c3c666ecc6a RDMA/core: Fix ib_qp_usecnt_dec() called when error
    c5505076073b IB/hfi1: Allow larger MTU without AIP
    4124966fbd95 power: supply: wm8350-power: Add missing free in free_charger_irq
    1318caf07507 power: supply: wm8350-power: Handle error for wm8350_register_irq
    8659aba5cab3 i2c: xiic: Make bus names unique
    383798d13aea hv_balloon: rate-limit "Unhandled message" warning
    5baa1283d698 KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
    468b136c2ca1 KVM: x86: Fix emulation in writing cr8
    29322cd03678 powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
    451472dc178f powerpc/mm/numa: skip NUMA_NO_NODE onlining in parse_numa_properties()
    6792c0b56252 libbpf: Skip forward declaration when counting duplicated type names
    c06577a80485 gpu: host1x: Fix a memory leak in 'host1x_remove()'
    2154f7cadd88 RDMA/irdma: Remove incorrect masking of PD
    a0051c05312e RDMA/irdma: Fix Passthrough mode in VM
    5e96bb45c936 RDMA/irdma: Fix netdev notifications for vlan's
    ad7219cd8751 xsk: Fix race at socket teardown
    c08f23081c9b bpf, arm64: Feed byte-offset into bpf line info
    c301772c219d bpf, arm64: Call build_prologue() first in first JIT pass
    ffe0526c2e17 drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
    849e6be7d66d scsi: hisi_sas: Change permission of parameter prot_mask
    1003a85d0a30 power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
    852c1f5f3119 drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
    3813591bc046 ext2: correct max file size computing
    0c80fe5ea1b3 power: supply: sbs-charger: Don't cancel work that is not initialized
    c2554b47644f TOMOYO: fix __setup handlers return values
    bd443887ed2a drm/amd/display: Remove vupdate_int_entry definition
    847f8677e367 RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR
    c8db786858d8 scsi: pm8001: Fix abort all task initialization
    c6c95cdd5138 scsi: pm8001: Fix NCQ NON DATA command completion handling
    e4fce9af88ec scsi: pm8001: Fix NCQ NON DATA command task initialization
    03865ae38771 scsi: pm8001: Fix le32 values handling in pm80xx_chip_sata_req()
    b453d71af756 scsi: pm8001: Fix le32 values handling in pm80xx_chip_ssp_io_req()
    d14d1f88d8c2 scsi: pm8001: Fix payload initialization in pm80xx_encrypt_update()
    fc1d7c820287 scsi: pm8001: Fix le32 values handling in pm80xx_set_sas_protocol_timer_config()
    e332a97c4358 scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
    3a9bb3afd0cb scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
    4e878e41e900 scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
    08f0b58e2a5f scsi: fnic: Fix a tracing statement
    aed99c7648cb vfio/pci: wake-up devices around reset functions
    4319f17fb826 vfio/pci: fix memory leak during D3hot to D0 transition
    5f3856f3ba10 dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
    590bc324ac4e drm/msm/dpu: fix dp audio condition
    9b625cee90a9 drm/msm/dpu: add DSPP blocks teardown
    ea009273d0c2 drm/msm/dsi/phy: fix 7nm v4.0 settings for C-PHY mode
    04ed3cd92999 drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent
    47e2060f2366 drm/msm/dp: always add fail-safe mode into connector mode list
    740d2330760e drm/msm/dp: stop link training after link training 2 failed
    9525b8bcae8b drm/msm/dp: populate connector of struct dp_panel
    2c4de9b94227 mtd: rawnand: pl353: Set the nand chip node as the flash node
    a2095c3e0309 iwlwifi: mvm: Fix an error code in iwl_mvm_up()
    01e36bdb95e7 iwlwifi: Fix -EIO error code that is never returned
    a3bb5cda4fed iwlwifi: yoyo: remove DBGI_SRAM address reset writing
    06511eed8177 iwlwifi: mvm: align locking in D3 test debugfs
    ec9b77481aaf iwlwifi: mvm: don't iterate unadded vifs when handling FW SMPS req
    21053d707480 iwlwifi: mvm: Don't call iwl_mvm_sta_from_mac80211() with NULL sta
    2de35ae362f3 selftests: mptcp: add csum mib check for mptcp_connect
    e2951eaa9398 dax: make sure inodes are flushed before destroy cache
    c08208f2635c IB/cma: Allow XRC INI QPs to set their local ACK timeout
    d85baefc858f libbpf: Fix memleak in libbpf_netlink_recv()
    0f47edc22c2b drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
    ac98fdec1114 drm/amd/pm: enable pm sysfs write for one VF mode
    28093e78e0f2 bpftool: Fix the error when lookup in no-btf maps
    64c06df2428b drm/bridge: anx7625: Fix overflow issue on reading EDID
    d6c7f46b8f05 iommu/ipmmu-vmsa: Check for error num after setting mask
    b5b285818754 HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
    ffb8e92b4cef power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
    9dea119df0fa libbpf: Use dynamically allocated buffer when receiving netlink messages
    f2a19db2a941 drm/bridge: dw-hdmi: use safe format when first in bridge chain
    2f0949db6e2c libbpf: Fix compilation warning due to mismatched printf format
    0255e93dce7a net:enetc: allocate CBD ring data memory using DMA coherent methods
    721992163e0c cxl/regs: Fix size of CXL Capability Header Register
    0e348f94787f cxl/core: Fix cxl_probe_component_regs() error message
    855f1c64e21e libbpf: Fix signedness bug in btf_dump_array_data()
    cdb2150050c7 RDMA/rxe: Check the last packet by RXE_END_MASK
    ed750e22e443 PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
    0fe94b84c43c PCI: aardvark: Fix reading MSI interrupt number
    1f0add37ac5c igb: refactor XDP registration
    ab8c107470d1 igc: avoid kernel warning when changing RX ring parameters
    ea6b04796c87 mtd: mchp48l640: Add SPI ID table
    21e78798b206 mtd: mchp23k256: Add SPI ID table
    0eec5e2748f1 i2c: bcm2835: Fix the error handling in 'bcm2835_i2c_probe()'
    0b01811fc193 i2c: bcm2835: Use platform_get_irq() to get the interrupt
    b96a7265f763 net: asix: add proper error handling of usb read errors
    b997cfdc3f98 livepatch: Fix build failure on 32 bits processors
    34bed8dae12a scripts/dtc: Call pkg-config POSIXly correct
    0aec294f2d2f mac80211: limit bandwidth in HE capabilities
    a41efae062bf mac80211: Remove a couple of obsolete TODO
    5ad6b337e4ac net: dsa: mv88e6xxx: Enable port policy support on 6097
    b2dea2a696d0 ptp: unregister virtual clocks when unregistering physical clock.
    a53c147ac496 mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
    fd1fcad5c053 mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
    443cb1bc8a96 mt76: mt7615: fix a leftover race in runtime-pm
    421cb64c91dd mt76: mt7921: fix a leftover race in runtime-pm
    0f3d76144b9c mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv
    60d815fd4338 mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode
    203a1e1230cf mt76: connac: fix sta_rec_wtbl tag len
    94fd8a2a47c8 powerpc/perf: Don't use perf_hw_context for trace IMC PMU
    0dc750479a5f KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
    10686b028059 powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
    9acf7c2f3145 ray_cs: Check ioremap return value
    3a4bcc4cb612 power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
    cb42b6cfc5b0 ixgbe: respect metadata on XSK Rx to skb
    8c072b8e3226 ixgbe: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    6dc18226976c ixgbe: pass bi->xdp to ixgbe_construct_skb_zc() directly
    28e561f3660d igc: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    0e2f6a7f59f1 i40e: respect metadata on XSK Rx to skb
    968c76e96afd i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    7ad4f7729f0e selftests/net: timestamping: Fix bind_phc check
    5bedd66a59e5 KVM: PPC: Fix vmx/vsx mixup in mmio emulation
    72c179f650f6 RDMA/core: Set MR type in ib_reg_user_mr
    0b700f7d0649 ath9k_htc: fix uninit value bugs
    c41832e7dadd selftests/bpf/test_xdp_redirect_multi: use temp netns for testing
    a5c1c0920cf6 selftests/bpf: Normalize XDP section names in selftests
    f00346b30a7c net: phy: at803x: move page selection fix to config_init
    b175bc586410 drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
    bdc7429708a0 drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
    408ab78ca138 drm/nouveau/acr: Fix undefined behavior in nvkm_acr_hsfw_load_bl()
    2e05de23052d ionic: Don't send reset commands if FW isn't running
    4f69a923a388 ionic: start watchdog after all is setup
    76624b5a61c7 ionic: fix type complaint in ionic_dev_cmd_clean()
    da491fc54e4e drm/edid: Split deep color modes between RGB and YUV444
    19da408ab41c drm/edid: Don't clear formats if using deep color
    8480efe815e5 mtd: rawnand: gpmi: fix controller timings setting
    5b1f32593955 mtd: onenand: Check for error irq
    041e5b8a62e6 Bluetooth: hci_serdev: call init_rwsem() before p->open()
    9d42e744685c Bluetooth: btintel: Fix WBS setting for Intel legacy ROM products
    0b96610a7b74 selftests: bpf: Fix bind on used port
    0728ccb66468 drm/selftests/test-drm_dp_mst_helper: Fix memory leak in sideband_msg_req_encode_decode
    51b82141fffa bpf: Fix UAF due to race between btf_try_get_module and load_module
    811b667cefbe udmabuf: validate ubuf->pagecount
    e5f642c55f4c bpftool: Only set obj->skeleton on complete success
    b385ebe91ae9 libbpf: Fix possible NULL pointer dereference when destroying skeleton
    34d0a99fa09a drm/panfrost: Check for error num after setting mask
    2ff993b3daa4 drm/v3d/v3d_drv: Check for error num after setting mask
    982d824a9b27 ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
    66b805b63527 drm: bridge: adv7511: Fix ADV7535 HPD enablement
    c43b4106cfc5 drm/bridge: nwl-dsi: Fix PM disable depth imbalance in nwl_dsi_probe
    4db8e14ce478 drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
    f20a990784ee drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
    461656a5e9be drm/meson: Fix error handling when afbcd.ops->init fails
    1c5439a71612 drm/meson: split out encoder from meson_dw_hdmi
    ffcfa1669316 drm/meson: Make use of the helper function devm_platform_ioremap_resourcexxx()
    d2a0678dff46 drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops
    d81d72b912dc ARM: configs: multi_v5_defconfig: re-enable DRM_PANEL and FB_xxx
    c4d2a100f104 ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
    c2e5f5d23718 ASoC: amd: Fix reference to PCM buffer address
    2f44eca78cc6 ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
    e2aeafc6509c ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
    f589063b585a ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe
    f2b0fc2a46a6 mmc: davinci_mmc: Handle error for clk_enable
    9668c6bca12a ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
    42735eae94ee ASoC: SOF: Intel: enable DMI L1 for playback streams
    b23b524b8bbd ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
    06e6f4ba2534 ASoC: fsl_spdif: Disable TX clock when stop
    44acdaf7acb6 ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
    1ecf9dcf2868 ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
    39c2894dfc08 ASoC: rk817: Fix missing clk_disable_unprepare() in rk817_platform_probe
    87e04a89c31e ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe
    56e0f1696a96 ASoC: mediatek: use of_device_get_match_data()
    5441ab46dd43 ASoC: SOF: Add missing of_node_put() in imx8m_probe
    6724217bfbfd ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe
    f32ac9bf5e3f ASoC: atmel: Fix error handling in snd_proto_probe
    1e77cab218e4 ivtv: fix incorrect device_caps for ivtvfb
    a8523efdc946 media: saa7134: fix incorrect use to determine if list is empty
    a41fc6d02d82 video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
    c19312809931 ASoC: fsi: Add check for clk_enable
    0bdb861b7d1b ASoC: wm8350: Handle error for wm8350_register_irq
    a0bc36b247dc ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
    9dd2fd7a1f84 media: vidtv: Check for null return of vzalloc
    a09e9882800f media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
    ea2258664ffc m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined
    178b32112be1 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
    eab74c416120 ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
    2883fb9838fc memory: emif: check the pointer temp in get_device_details()
    50d934cea574 memory: emif: Add check for setup_interrupts
    fc237b8d624f ASoC: soc-compress: prevent the potentially use of null pointer
    d70d4a3ff5f2 ASoC: dwc-i2s: Handle errors for clk_enable
    58b64ee38637 ASoC: atmel_ssc_dai: Handle errors for clk_enable
    152d62d80960 ASoC: mxs-saif: Handle errors for clk_enable
    f64c5b235b47 printk: fix return value of printk.devkmsg __setup handler
    0fbd610e68c2 arm64: dts: broadcom: Fix sata nodename
    de64846df9fe arm64: dts: ns2: Fix spi-cpol and spi-cpha property
    b98940965daf ALSA: spi: Add check for clk_enable()
    89676d9e8c84 ASoC: ti: davinci-i2s: Add check for clk_enable()
    0a96bff46a5e mmc: sdhci_am654: Fix the driver data of AM64 SoC
    7c31acd9ca79 soc: mediatek: pm-domains: Add wakeup capacity support in power domain
    9db742370304 ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
    3fa8114be4a2 uaccess: fix nios2 and microblaze get_user_8()
    469277ff5ac8 vsprintf: Fix %pK with kptr_restrict == 0
    8611161ea715 lib: uninline simple_strntoull() as well
    34dd193d2329 selftests/lkdtm: Add UBSAN config
    f58159509b62 media: ov5640: Fix set format, v4l2_mbus_pixelcode not updated
    b1b91b31627d media: v4l2-core: Initialize h264 scaling matrix
    7399b9b62277 ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
    c42e96af49ef ASoC: codecs: wcd934x: fix kcontrol max values
    363490abe0be ASoC: codecs: wcd938x: fix kcontrol max values
    adafea71b49e ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
    966408e37d84 ASoC: codecs: va-macro: fix accessing array out of bounds for enum type
    eb15c6ea692f ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type
    9208ecc703b5 ASoC: codecs: rx-macro: fix accessing compander for aux
    56dcb5480687 media: cedrus: h264: Fix neighbour info buffer size
    dd6454742581 media: cedrus: H265: Fix neighbour info buffer size
    895364fa97e6 media: usb: go7007: s2250-board: fix leak in probe()
    332d45fe51d7 media: em28xx: initialize refcount before kref_get
    aa613ac27029 media: ti-vpe: cal: Fix a NULL pointer dereference in cal_ctx_v4l2_init_formats()
    12cb301cc5cb media: video/hdmi: handle short reads of hdmi info frame.
    0d05a58ea3b9 media: mexon-ge2d: fixup frames size in registers
    498ab2d70a9d ARM: dts: imx: Add missing LVDS decoder on M53Menlo
    2305e3460b42 vsprintf: Fix potential unaligned access
    b4c8675a710a ARM: dts: sun8i: v3s: Move the csi1 block to follow address order
    49db8d166d7b soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
    42dab81e9309 firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined
    19e4c3b037ff arm64: dts: qcom: sm8350: Correct TCS configuration for apps rsc
    8026415d7f54 arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
    17790ef9ad1f arm64: dts: broadcom: bcm4908: use proper TWD binding
    cc3a67e4147e arm64: dts: qcom: sm8250: fix PCIe bindings to follow schema
    4514dc92a353 arm64: dts: qcom: sdm845: fix microphone bias properties and values
    15565049d729 soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
    1874365f3c17 soc: qcom: ocmem: Fix missing put_device() call in of_get_ocmem
    724376c30af5 soc: qcom: rpmpd: Check for null return of devm_kcalloc
    d761d62022bb ARM: dts: qcom: ipq4019: fix sleep clock
    b14f6a7d3608 firmware: qcom: scm: Remove reassignment to desc following initializer
    6c4cc4d36966 ARM: dts: Fix OpenBMC flash layout label addresses
    c3364cbc3762 video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
    f3ef254c840d video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
    c420b540db4b video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
    24cfeb466146 video: fbdev: controlfb: Fix COMPILE_TEST build
    02684dd83332 video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen
    96eb48f017cd media: aspeed: Correct value for h-total-pixels
    4a3051977327 media: ov5648: Don't pack controls struct
    26b1865f1fd4 media: v4l: Avoid unaligned access warnings when printing 4cc modifiers
    ef35afc268c5 media: ov6650: Fix set format try processing path
    4ea548312052 media: hantro: Fix overfill bottom register field name
    b0b890dd8df3 media: meson: vdec: potential dereference of null pointer
    c3590ec1161d media: coda: Fix missing put_device() call in coda_get_vdoa_data
    f0344f0aee4d ASoC: simple-card-utils: Set sysclk on all components
    bb0a0e23dd00 ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting
    1179081ba5fa ASoC: codecs: Check for error pointer after calling devm_regmap_init_mmio
    e48b189799d3 ASoC: sh: rz-ssi: Drop calling rz_ssi_pio_recv() recursively
    f7d07ad8bc03 media: atmel: atmel-sama7g5-isc: fix ispck leftover
    25b925f94a36 media: bttv: fix WARNING regression on tunerless devices
    e1854a6c3a68 media: imx: imx8mq-mipi_csi2: fix system resume
    72d79cd3c3ad media: imx: imx8mq-mipi-csi2: remove wrong irq config write operation
    0022dc8cafa5 media: mtk-vcodec: potential dereference of null pointer
    48d00e24822e media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
    1fbc023f8173 media: staging: media: imx: imx7-mipi-csis: Make subdev name unique
    74cbe85fa044 media: camss: vfe-170: fix "VFE halt timeout" error
    9af4e473668a media: camss: csid-170: set the right HALT_CMD when disabled
    a3b104487f74 media: camss: csid-170: don't enable unused irqs
    20d5934825b9 media: camss: csid-170: fix non-10bit formats
    0ac903a7bde9 media: staging: media: zoran: fix usage of vb2_dma_contig_set_max_seg_size
    b84343a9d676 pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios
    9a24d035c5eb kunit: make kunit_test_timeout compatible with comment
    9ca7b59e7877 drivers/base/memory: add memory block to memory group after registration succeeded
    5bed6c2c1ffe selftests, x86: fix how check_cc.sh is being invoked
    0f42a02e4773 f2fs: fix compressed file start atomic write may cause data corruption
    1a97987f76b4 btrfs: fix unexpected error path when reflinking an inline extent
    2911ad0249c5 f2fs: fix to avoid potential deadlock
    1e0e63ad6243 sched/rt: Plug rt_mutex_setprio() vs push_rt_task() race
    b7aec0843e28 sched/cpuacct: Fix charge percpu cpuusage
    cc91880f0417 nfsd: more robust allocation failure handling in nfsd_file_cache_init
    d1eaaf6caded f2fs: fix missing free nid in f2fs_handle_failed_inode
    ec5884cbbfd3 sched/fair: Improve consistency of allowed NUMA balance calculations
    df5e0a0b3a4e perf/x86/intel/pt: Fix address filter config for 32-bit kernel
    929d8a87f709 perf/core: Fix address filter parser for multiple filters
    3bb11f3f6872 rseq: Remove broken uapi field layout on 32-bit little endian
    d2c741290f7e sched/uclamp: Fix iowait boost escaping uclamp restriction
    6c7276622393 sched/core: Export pelt_thermal_tp
    8bc68c44d97f sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
    d8c8dd97bb8c f2fs: fix to enable ATGC correctly via gc_idle sysfs interface
    f69aecb49968 watch_queue: Actually free the watch
    695c47cea02b watch_queue: Fix NULL dereference in error cleanup
    109dda451021 io_uring: terminate manual loop iterator loop correctly for non-vecs
    1323976e9448 io_uring: don't check unrelated req->open.how in accept request
    657edec8987a clocksource: acpi_pm: fix return value of __setup handler
    9b181ad309c6 hwmon: (pmbus) Add Vin unit off handling
    41887c82e76f hwrng: nomadik - Change clk_disable to clk_disable_unprepare
    335bf1fc74f7 crypto: ccree - Fix use after free in cc_cipher_exit()
    20550eb187e8 crypto: ccp - ccp_dmaengine_unregister release dma channels
    166b2478152c ACPI: APEI: fix return value of __setup handlers
    bfa4a733aeaa KEYS: trusted: Avoid calling null function trusted_key_exit
    b0efbe7e88c7 KEYS: trusted: Fix trusted key backends when building as module
    d362998e8df9 arm64: prevent instrumentation of bp hardening callbacks
    df04ef63347f clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
    abc6b2a12a3e clocksource/drivers/timer-microchip-pit64b: Use notrace
    a81de4315ecf clocksource/drivers/exynos_mct: Handle DTS with higher number of interrupts
    e34ba9ff04ee clocksource/drivers/exynos_mct: Refactor resources allocation
    97e3aaace46e clocksource/drivers/timer-ti-dm: Fix regression from errata i940 fix
    58c9d407ce82 crypto: vmx - add missing dependencies
    f9474039df09 crypto: gemini - call finalize with bh disabled
    6ce48276d736 crypto: amlogic - call finalize with bh disabled
    67bc6890b981 crypto: sun8i-ce - call finalize with bh disabled
    05e13c5e4f8e crypto: sun8i-ss - call finalize with bh disabled
    2684f459f919 hwrng: atmel - disable trng on failure path
    f8a1392c099b spi: spi-zynqmp-gqspi: Handle error for dma_set_mask
    7e45fc93dde2 PM: suspend: fix return value of __setup handler
    d0cd9da501f6 PM: hibernate: fix __setup handler error handling
    efaa0e969261 block: don't delete queue kobject before its children
    b9070c866aa3 nvme: fix the check for duplicate unique identifiers
    2340a15d3914 nvme: cleanup __nvme_check_ids
    a015dd1b8a54 hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
    3a70165fc788 hwmon: (pmbus) Add mutex to regulator ops
    f2757af27bf3 spi: pxa2xx-pci: Balance reference count for PCI DMA device
    40dba7c26e89 crypto: hisilicon/sec - fix the aead software fallback for engine
    c71e4d45dcc4 crypto: ccree - don't attempt 0 len DMA mappings
    0c366ade8606 EVM: fix the evm= __setup handler return value
    3a10df731516 audit: log AUDIT_TIME_* records only from rules
    8e8724b87afe crypto: rockchip - ECB does not need IV
    4d6e00474872 selftests/sgx: Treat CC as one argument
    d9172393f0f6 selftests/x86: Add validity check and allow field splitting
    e129fb065106 blk-cgroup: set blkg iostat after percpu stat aggregation
    c17eb1586c94 arm64/mm: avoid fixmap race condition when create pud mapping
    8550c9b846c5 stack: Constrain and fix stack offset randomization with Clang builds
    8effc4dc79a5 spi: tegra210-quad: Fix missin IRQ check in tegra_qspi_probe
    906315cb82d6 spi: tegra114: Add missing IRQ check in tegra_spi_probe
    e6374086f249 crypto: octeontx2 - remove CONFIG_DM_CRYPT check
    9ada174f47b3 thermal: int340x: Check for NULL after calling kmemdup()
    486d4c18f207 selinux: Fix selinux_sb_mnt_opts_compat()
    c111b3c1a257 crypto: mxs-dcp - Fix scatterlist processing
    af3c34eb9410 crypto: authenc - Fix sleep in atomic context in decrypt_tail
    8f10a38c9212 crypto: sun8i-ss - really disable hash on A80
    046f1499aef8 hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER
    7919dfd84b35 hwrng: cavium - Check health status while reading random data
    0e67b3e1f93a crypto: ccp - Ensure psp_ret is always init'd in __sev_platform_init_locked()
    01d508417055 selinux: check return value of sel_make_avc_files
    aeeb944e7f91 selinux: access superblock_security_struct in LSM blob way
    ae2ff8d991b6 regulator: qcom_smd: fix for_each_child.cocci warnings
    9bbe88d1023f PCI: xgene: Revert "PCI: xgene: Fix IB window setup"
    920facf23305 PCI: pciehp: Clear cmd_busy bit in polling mode
    86ca87591870 PCI: imx6: Allow to probe when dw_pcie_wait_for_link() fails
    312d3d4f49e1 drm/i915/gem: add missing boundary check in vm_access
    d8b8bd1d03ee drm/i915/opregion: check port number bounds for SWSCI display power state
    2b08e0189b02 brcmfmac: pcie: Fix crashes due to early IRQs
    a7ea6de3bdd5 brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
    b6957a10747c brcmfmac: pcie: Declare missing firmware files in pcie.c
    a88337a06966 brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
    6e2dfa829026 brcmfmac: firmware: Allocate space for default boardrev in nvram
    51f0af904fb6 drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB
    713f1fefb6c6 drm/nouveau/backlight: Just set all backlight types as RAW
    80de94c4ab4e drm/nouveau/backlight: Fix LVDS backlight detection on some laptops
    7585d0f56f29 drm/syncobj: flatten dma_fence_chains on transfer
    85814e6461b8 xtensa: fix xtensa_wsr always writing 0
    821907e8f516 xtensa: fix stop_machine_cpuslocked call in patch_text
    e28bace5e7dc xtensa: define update_mmu_tlb function
    00c6bb4cea62 btrfs: verify the tranisd of the to-be-written dirty extent buffer
    f85ee0c845fd btrfs: extend locking to all space_info members accesses
    68a8120e1647 btrfs: zoned: mark relocation as writing
    2bd666b0fd28 media: davinci: vpif: fix unbalanced runtime PM enable
    12159871e1b4 media: davinci: vpif: fix unbalanced runtime PM get
    992af22dab9c media: venus: venc: Fix h264 8x8 transform control
    d5fcfc4af806 media: venus: hfi_cmds: List HDR10 property as unsupported for v1 and v3
    0a45148635f8 media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC
    3e3c8d88e0ca DEC: Limit PMAX memory probing to R3k systems
    2039163c30f8 PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove()
    74e2d61e4faa bcache: fixup multiple threads crash
    2221a0f6c90c crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
    dc7cacd209c8 crypto: rsa-pkcs1pad - restore signature length check
    5013dbd89101 crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
    9c8d8f87c213 crypto: rsa-pkcs1pad - only allow with rsa
    1290eb4412aa exec: Force single empty string when argv is empty
    d342786a0e94 lib/raid6/test: fix multiple definition linking error
    137c66d5f915 thermal: int340x: Increase bitmap size
    bc5f440e1c5c pstore: Don't use semaphores in always-atomic-context code
    10a15d91bcba carl9170: fix missing bit-wise or operator for tx_params
    1d89cb2c72d6 mgag200 fix memmapsl configuration in GCTL6 register
    bd0cc79722df ARM: dts: exynos: add missing HDMI supplies on SMDK5420
    661016b895e6 ARM: dts: exynos: add missing HDMI supplies on SMDK5250
    d4577ac55725 ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
    cc7c9d207fce ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
    64b3bc9050d8 ARM: dts: at91: sama7g5: Remove unused properties in i2c nodes
    cdcaec46a6b2 rfkill: make new event layout opt-in
    677a5f6c81b5 video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
    46cdbff26c88 video: fbdev: sm712fb: Fix crash in smtcfb_read()
    c894ac44786c fbdev: Hot-unplug firmware fb devices on forced removal
    6e72980d588e drm/edid: check basic audio support on CEA extension block
    2e76c69c85f9 block: don't merge across cgroup boundaries if blkcg is enabled
    6a11b52b498d block: limit request dispatch loop duration
    f1dd8c1186be mailbox: tegra-hsp: Flush whole channel
    3d4b396a616d landlock: Use square brackets around "landlock-ruleset"
    20fbf100f84b samples/landlock: Fix path_list memory leak
    3eb18f8a1d02 drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
    3c65b7309d2e ext4: make mb_optimize_scan performance mount option work with extents
    597393cde841 ext4: fix fs corruption when tring to remove a non-empty directory with IO error
    73fa1798233c ext4: fix ext4_fc_stats trace point
    6cdb84dd0c8d coredump: Also dump first pages of non-executable ELF libraries
    8a7f9d9c3f6a ACPI: properties: Consistently return -ENOENT if there are no more references
    2e2eb55823df Revert "ACPI: Pass the same capabilities to the _OSC regardless of the query flag"
    b6094744e261 ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
    5e3bd996d2c8 arm64: dts: ti: k3-am64: Fix gic-v3 compatible regs
    96181539a521 arm64: dts: ti: k3-j7200: Fix gic-v3 compatible regs
    e931b8494a51 arm64: dts: ti: k3-j721e: Fix gic-v3 compatible regs
    146ad3e0177d arm64: dts: ti: k3-am65: Fix gic-v3 compatible regs
    393a8a0f971e arm64: dts: qcom: sm8250: Fix MSI IRQ for PCIe1 and PCIe2
    a01e1eaf5407 arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones
    556e8e0a27c8 arm64: signal: nofpsimd: Do not allocate fp/simd context when not available
    e04a1de51cf6 PCI: fu740: Force 2.5GT/s for initial device probe
    ec5ebfd1ce35 powerpc/kvm: Fix kvm_use_magic_page
    024c2a0db53a drbd: fix potential silent data corruption
    39483fd3b2d2 tracing: Have trace event string test handle zero length strings
    12ea1f73690b dm integrity: set journal entry unused when shrinking device
    737d5e25e28d dm: fix double accounting of flush with data
    dc77afd7491e dm: interlock pending dm_io and dm_wait_for_bios_completion
    0987f00a76a1 dm: fix use-after-free in dm_cleanup_zoned_dev()
    d3444138ff0d dm stats: fix too short end duration_ns when using precise_timestamps
    7d3bd683e084 mm/kmemleak: reset tag when compare object pointer
    7d04d6d5c114 mm,hwpoison: unmap poisoned page before invalidation
    d4835551fd9f Revert "mm: madvise: skip unmapped vma holes passed to process_madvise"
    a07a4b75cccb mm: madvise: return correct bytes advised with process_madvise
    27d96f11b0a2 mm: madvise: skip unmapped vma holes passed to process_madvise
    476df5994878 drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels
    7c5312fdb1dc ocfs2: fix crash when mount with quota enabled
    cd2722e411e8 rtc: pl031: fix rtc features null pointer dereference
    8e167fdd4f62 rtc: mc146818-lib: fix locking in mc146818_set_time
    0cc320929ac6 ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
    7777744e92a0 ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
    f9f37a956de1 ALSA: hda: Avoid unsol event during RPM suspending
    cf4cd2a5d0ae ALSA: cs4236: fix an incorrect NULL check on list iterator
    39a4bf7d1a23 cifs: fix NULL ptr dereference in smb2_ioctl_query_info()
    f143f8334fb9 cifs: prevent bad output lengths in smb2_ioctl_query_info()
    665cf5507470 Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
    305a5303d1da riscv: Increase stack size under KASAN
    ee29fe27818e riscv: Fix fill_callchain return value
    3c4a1c81900c riscv: dts: canaan: Fix SPI3 bus width
    876a9bdfd9af qed: validate and restrict untrusted VFs vlan promisc mode
    4d8323922ea9 qed: display VF trust config
    59a4bc52f111 scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
    cbf4e2f4f700 scsi: scsi_transport_fc: Fix FPIN Link Integrity statistics counters
    64b0fe4808bd scsi: ufs: Fix runtime PM messages never-ending cycle
    6ade94e6afc6 scsi: core: sd: Add silence_suspend flag to suppress some PM messages
    5e217aa2c825 mempolicy: mbind_range() set_policy() after vma_merge()
    3bae72c2db69 mm: invalidate hwpoison page cache page in fault path
    a74bb0eeabcd mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
    ab657a29c3e9 mm: fs: fix lru_cache_disabled race in bh_lru
    52ba0ab4f0a6 jffs2: fix memory leak in jffs2_scan_medium
    4392e8aeebc5 jffs2: fix memory leak in jffs2_do_mount_fs
    7a75740206af jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
    f2ce5238904f can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
    f43e64076ff1 can: m_can: m_can_tx_handler(): fix use after free of skb
    459b19f42fd5 can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
    31d7d7f35045 mtd: rawnand: protect access to rawnand devices while in suspend
    7d94d25c7972 spi: mxic: Fix the transmit path
    48254561bd04 net: bnxt_ptp: fix compilation error
    89d369454267 pinctrl: samsung: drop pin banks references on error paths
    1db1639d955b pinctrl: ingenic: Fix regmap on X series SoCs
    025a7ccfb7a5 mm/mlock: fix two bugs in user_shm_lock()
    34afac3c75fa remoteproc: Fix count check in rproc_coredump_write()
    b065f398c860 f2fs: fix to do sanity check on .cp_pack_total_block_count
    f9156db0987f f2fs: quota: fix loop condition at f2fs_quota_sync()
    e98ae961b334 f2fs: fix to unlock page correctly in error path of is_alive()
    303cd6173dce NFSD: prevent integer overflow on 32 bit systems
    614a61e15920 NFSD: prevent underflow in nfssvc_decode_writeargs()
    253a9533941e NFS: NFSv2/v3 clients should never be setting NFS_CAP_XATTR
    518a7d6be1ed SUNRPC: avoid race between mod_timer() and del_timer_sync()
    19c82681db26 HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
    b3e38f939ab4 firmware: sysfb: fix platform-device leak in error path
    0dff5664b867 firmware: stratix10-svc: add missing callback parameter on RSU
    72403d1c04bb Documentation: update stable tree link
    8259235ab46e Documentation: add link to stable release candidate tree
    a1e55db51a88 KEYS: asymmetric: properly validate hash_algo and encoding
    255921f63a9e KEYS: asymmetric: enforce that sig algo matches key algo
    fe8df4489240 KEYS: fix length validation in keyctl_pkey_params_get_2()
    512bde642087 cifs: we do not need a spinlock around the tree access during umount
    2fafbc198613 cifs: fix handlecache and multiuser
    b6d75218ff65 ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
    42606add50f9 clk: uniphier: Fix fixed-rate initialization
    5aa6d84a0b07 clk: rockchip: re-add rational best approximation algorithm to the fractional divider
    ab67122003b1 greybus: svc: fix an error handling bug in gb_svc_hello()
    9e97f6641c87 iio: inkern: make a best effort on offset calculation
    b378d3f585e3 iio: inkern: apply consumer scale when no channel scale is available
    e38582362101 iio: inkern: apply consumer scale on IIO_VAL_INT cases
    1cb35faea3c3 iio: afe: rescale: use s64 for temporary scale calculations
    c61e2fc87f24 coresight: syscfg: Fix memleak on registration failure in cscfg_create_device
    ba81399402b7 coresight: Fix TRCCONFIGR.QE sysfs interface
    f1d936537155 docs: sphinx/requirements: Limit jinja2<3.1
    c1013a5ba4c9 bus: mhi: Fix MHI DMA structure endianness
    fe66a11af28c bus: mhi: pci_generic: Add mru_default for Quectel EM1xx series
    84bb0ac6c86f mei: avoid iterator usage outside of list_for_each_entry
    6d2ec095176c mei: me: add Alder Lake N device id.
    7c2422748463 mei: me: disable driver on the ign firmware
    f6121a746fae xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
    7c2a317703c6 xhci: make xhci_handshake timeout for xhci_reset() adjustable
    4f2ab7e93b37 xhci: fix runtime PM imbalance in USB2 resume
    75bbc2b9748b xhci: fix garbage USBSTS being logged in some cases
    f5dc00496f76 USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
    c94138ae4000 usb: typec: tipd: Forward plug orientation to typec subsystem
    662893b4f6bd tpm: fix reference counting for struct tpm_chip
    5a0735b0bcf9 virtio-blk: Use blk_validate_block_size() to validate block size
    8a4521456b54 iommu/iova: Improve 32-bit free space estimate
    fe953e0f77e5 drm/amdgpu: only check for _PR3 on dGPUs
    0884abb259f1 drm/amdgpu: move PX checking into amdgpu_device_ip_early_init
    03f836fcb655 locking/lockdep: Avoid potential access of invalid memory in lock_class
    9f93d46a63d5 selftests: vm: fix clang build error multiple output files
    2ea395dc1327 net: dsa: microchip: add spi_device_id tables
    d06ee4572fd9 af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
    f868ffd1ead3 Input: zinitix - do not report shadow fingers
    8745973cdfc6 spi: Fix erroneous sgs value with min_t()
    20f46b12162c Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
    13b570f365b8 net:mcf8390: Use platform_get_irq() to get the interrupt
    526a46a5f479 spi: Fix invalid sgs value
    a28571fcc422 gpio: Revert regression in sysfs-gpio (gpiolib.c)
    cd3121310e33 ethernet: sun: Free the coherent when failing in probing
    afffb79a2dd5 tools/virtio: fix virtio_test execution
    f8f8e96048ad vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
    32aef620e650 virtio_console: break out of buf poll on remove
    3d39860bea5e ARM: mstar: Select HAVE_ARM_ARCH_TIMER
    189bdde30b55 xfrm: fix tunnel model fragmentation behavior
    3a2914bc3e62 HID: Add support for open wheel and no attachment to T300
    a3248ecf0724 HID: logitech-dj: add new lightspeed receiver id
    d5aad7d63b1b hv: utils: add PTP_1588_CLOCK to Kconfig to fix build
    dd84d71bcbcb mm: kfence: fix missing objcg housekeeping for SLAB
    3d7df3f83f67 USB: serial: simple: add Nokia phone driver
    33325a62249e USB: serial: pl2303: fix GS type detection
    1dd64317e785 dt-bindings: usb: hcd: correct usb-device path
    2241e42f6c71 USB: serial: pl2303: add IBM device IDs
    890f78e54b74 Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""

(From OE-Core rev: 079cf4b9edb0a40f40135b7ae761254823051393)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
207a43bad2 linux-yocto/5.10: base: enable kernel crypto userspace API
Integrating the following commit(s) to linux-yocto/.:

    bddb0e4921f base.cfg: enable kernel crypto userspace API

(From OE-Core rev: a08c1c7dba66a1d12e029906d86f4f84e9166232)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
566f02f489 linux-yocto/5.10: update to v5.10.110
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3238bffaf992 Linux 5.10.110
    cf342cbfb37f PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"
    a25864c5bc20 arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones
    558564db4475 coredump: Use the vma snapshot in fill_files_note
    b7933f145ad3 coredump/elf: Pass coredump_params into fill_note_info
    b043ae637a83 coredump: Remove the WARN_ON in dump_vma_snapshot
    936c8be4d144 coredump: Snapshot the vmas in do_coredump
    5318cdf4fd83 can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
    869016a2938a can: m_can: m_can_tx_handler(): fix use after free of skb
    e90518d10c7d KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
    e36c45263a30 openvswitch: Fixed nd target mask field in the flow dump.
    415edc68b652 docs: sysctl/kernel: add missing bit to panic_print
    272c74323dcc um: Fix uml_mconsole stop/go
    c0a6a547388e ARM: dts: spear13xx: Update SPI dma properties
    ea3912af8b8a ARM: dts: spear1340: Update serial node properties
    74f7971985bd ASoC: topology: Allow TLV control to be either read or write
    3ca47556d920 ubi: fastmap: Return error code if memory allocation fails in add_aeb()
    7704f243cbbd dt-bindings: spi: mxic: The interrupt property is not mandatory
    648ab1dcc119 dt-bindings: mtd: nand-controller: Fix a comment in the examples
    71917e45e1aa dt-bindings: mtd: nand-controller: Fix the reg property description
    73f2f37417b0 bpf: Fix comment for helper bpf_current_task_under_cgroup()
    90805175a206 bpf: Adjust BPF stack helper functions to accommodate skip > 0
    86489492e876 mm/usercopy: return 1 from hardened_usercopy __setup() handler
    81a04b9a32e4 mm/memcontrol: return 1 from cgroup.memory __setup() handler
    f321621f5c84 ARM: 9187/1: JIVE: fix return value of __setup handler
    d57feed3b114 mm/mmap: return 1 from stack_guard_gap __setup() handler
    73f7cbb15191 batman-adv: Check ptr for NULL before reducing its refcnt
    f6da750bfaf4 ASoC: soc-compress: Change the check for codec_dai
    d3f786b7cf81 staging: mt7621-dts: fix pinctrl-0 items to be size-1 items on ethernet
    12e380bb6f16 proc: bootconfig: Add null pointer check
    90ec1b1538d4 can: isotp: restore accidentally removed MSG_PEEK feature
    16960ac92b84 platform/chrome: cros_ec_typec: Check for EC device
    e5b681822cac ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
    785a53373c22 riscv module: remove (NOLOAD)
    b27de7011cb3 io_uring: fix memory leak of uid in files registration
    20499ed3c041 ARM: iop32x: offset IRQ numbers by 1
    432b057f8e84 ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
    f28a857a61eb ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
    ecfc3f8a6350 pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
    503868a7c006 pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
    d9afc5146bd3 watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function
    402b53dc7c46 pinctrl: pinconf-generic: Print arguments for bias-pull-*
    7169f6011091 watch_queue: Free the page array when watch_queue is dismantled
    e64dc94990fd crypto: arm/aes-neonbs-cbc - Select generic cbc and aes
    a16f5ae8ade1 mailbox: imx: fix wakeup failure from freeze mode
    051360e51341 rxrpc: Fix call timer start racing with call destruction
    a94d98e06eba net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
    c73af4bc8a91 gfs2: Make sure FITRIM minlen is rounded up to fs block size
    33c204266c12 rtc: check if __rtc_read_time was successful
    381636f33fe4 XArray: Update the LRU list in xas_split()
    3b9fabe8f6e8 can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value
    ef0acc514123 can: mcba_usb: properly check endpoint type
    0801a51d7938 can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
    1ac49c8fd49f XArray: Fix xas_create_range() when multi-order entry present
    49f77ab50a31 wireguard: socket: ignore v6 endpoints when ipv6 is disabled
    096f9d35cac0 wireguard: socket: free skb in send6 when ipv6 is disabled
    cd032f218c02 wireguard: queueing: use CFI-safe ptr_ring cleanup function
    8a0c70c238c5 ubifs: rename_whiteout: correct old_dir size computing
    c34ae24a2590 ubifs: Fix to add refcount once page is set private
    07a209fadee7 ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
    d07a24216931 ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
    13b2a8151e3b ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
    83e42a78428f ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
    a90e2dbe66d2 ubifs: rename_whiteout: Fix double free for whiteout_ui->data
    0c307349fe06 ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
    0fb470eb4889 KVM: SVM: fix panic on out-of-bounds guest IRQ
    cd8c2d7c7c49 KVM: x86: fix sending PV IPI
    eccfee44949d KVM: Prevent module exit until all VMs are freed
    09c771c45c12 KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
    aea4ffdcf30f platform: chrome: Split trace include file
    d3a913ba1fea scsi: qla2xxx: Use correct feature type field during RFF_ID processing
    633450063c10 scsi: qla2xxx: Reduce false trigger to login
    dd48727cabe5 scsi: qla2xxx: Fix N2N inconsistent PLOGI
    0910a791a6d7 scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
    f296e888e921 scsi: qla2xxx: Fix hang due to session stuck
    edea037716ff scsi: qla2xxx: Fix incorrect reporting of task management failure
    9dc104edd729 scsi: qla2xxx: Fix disk failure to rediscover
    f97316dd393b scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
    0e4a89efc223 scsi: qla2xxx: Check for firmware dump already collected
    ef10a7530c34 scsi: qla2xxx: Add devids and conditionals for 28xx
    bad77c9a47b4 scsi: qla2xxx: Fix device reconnect in loop topology
    8b52e20c22c2 scsi: qla2xxx: Fix warning for missing error code
    7c9745421d43 scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
    7fef50214dd0 scsi: qla2xxx: Fix scheduling while atomic
    c45147018d7e scsi: qla2xxx: Fix stuck session in gpdb
    031547f4c603 powerpc: Fix build errors with newer binutils
    68fa67e939d8 powerpc/lib/sstep: Fix build errors with newer binutils
    ad806b402268 powerpc/lib/sstep: Fix 'sthcx' instruction
    f39a3309393a powerpc/kasan: Fix early region not updated correctly
    89e5a4268760 KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMU
    a3ad4530088d ALSA: hda/realtek: Add alc256-samsung-headphone fixup
    aa2ad067cd74 media: atomisp: fix bad usage at error handling logic
    2412a5d29411 mmc: host: Return an error when ->enable_sdio_irq() ops is missing
    808990afd855 media: hdpvr: initialize dev->worker at hdpvr_register_videodev
    32582f82df2b media: Revert "media: em28xx: add missing em28xx_close_extension"
    b1c28577529c video: fbdev: sm712fb: Fix crash in smtcfb_write()
    e7bb29df2a14 ARM: mmp: Fix failure to remove sram device
    add823a9a5e2 ARM: tegra: tamonten: Fix I2C3 pad setting
    08ec8450f3e5 lib/test_lockup: fix kernel pointer check for separate address spaces
    40a5c93a7473 uaccess: fix type mismatch warnings from access_ok()
    a49b687a75d2 media: cx88-mpeg: clear interrupt status register before streaming video
    460635026801 ASoC: soc-core: skip zero num_dai component in searching dai name
    a840fc067e8c ARM: dts: bcm2711: Add the missing L1/L2 cache information
    681a317034b2 video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
    a7c624abf694 video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
    543dae0a46b0 video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
    910715c4b494 arm64: defconfig: build imx-sdma as a module
    14df2556a190 ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
    c241cfd0a55f ARM: ftrace: avoid redundant loads or clobbering IP
    41082d6432e5 media: atomisp: fix dummy_ptr check to avoid duplicate active_bo
    b554196e6d39 media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards
    370b50492e54 ASoC: madera: Add dependencies on MFD
    0020667edc06 ARM: dts: bcm2837: Add the missing L1/L2 cache information
    f040c0810291 ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
    da210b1b551c video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
    8c7e2141fb89 video: fbdev: cirrusfb: check pixclock to avoid divide by zero
    1e33f197468f video: fbdev: w100fb: Reset global state
    08dff4820127 video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
    99e3f83539ca media: ir_toy: free before error exiting
    d658178b5ac2 media: staging: media: zoran: fix various V4L2 compliance errors
    bafec1a6ba4b media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com
    bd01629315ff media: staging: media: zoran: move videodev alloc
    b230f2d9441a ntfs: add sanity check on allocation size
    f7e8aff06262 f2fs: compress: fix to print raw data size in error path of lz4 decompression
    d91d1e681c99 NFSD: Fix nfsd_breaker_owns_lease() return values
    498b7088db71 f2fs: fix to do sanity check on curseg->alloc_type
    330d0e44fc5a ext4: don't BUG if someone dirty pages without asking ext4 first
    cd6d719534af ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit
    69d2421b5527 ext4: correct cluster len and clusters changed accounting in ext4_mb_mark_bb
    ecd384c436fd locking/lockdep: Iterate lock_classes directly when reading lockdep files
    3ad817f1bd62 spi: tegra20: Use of_device_get_match_data()
    1c200c8bce08 nvme-tcp: lockdep: annotate in-kernel sockets
    7e4967e913ab parisc: Fix handling off probe non-access faults
    ede1ef1a7de9 PM: core: keep irq flags in device_pm_check_callbacks()
    227718c8bbd5 ACPI/APEI: Limit printable size of BERT table data
    cc051f497eac Revert "Revert "block, bfq: honor already-setup queue merges""
    1b69302bfae3 lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
    1b87ce6a778e ACPICA: Avoid walking the ACPI Namespace if it is not there
    df6e00b1a53c bfq: fix use-after-free in bfq_dispatch_request
    dd85ed4af8f5 fs/binfmt_elf: Fix AT_PHDR for unusual ELF files
    9fc899ce5a20 irqchip/nvic: Release nvic_base upon failure
    4bbd910de18b irqchip/qcom-pdc: Fix broken locking
    f038185b6a62 Fix incorrect type in assignment of ipv6 port for audit
    012c572007c2 loop: use sysfs_emit() in the sysfs xxx show()
    448857f58009 selinux: allow FIOCLEX and FIONCLEX with policy capability
    4b9b60b5bfc8 selinux: use correct type for context length
    7507ead1e9d4 block, bfq: don't move oom_bfqq
    79b16d00de17 pinctrl: npcm: Fix broken references to chip->parent_device
    9d1d8e5e4294 gcc-plugins/stackleak: Exactly match strings instead of prefixes
    b0f2f89d741a regulator: rpi-panel: Handle I2C errors/timing to the Atmel
    2784604c8c6f LSM: general protection fault in legacy_parse_param
    e600b5973e80 fs: fix fd table size alignment properly
    327f07e3704c lib/test: use after free in register_test_dev_kmod()
    00d2b9fe5e02 fs: fd tables have to be multiples of BITS_PER_LONG
    1752fcd4045b net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
    edb91a475da5 NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
    5c94b6205e87 net/x25: Fix null-ptr-deref caused by x25_disconnect
    4896c308a57d qlcnic: dcb: default to returning -EOPNOTSUPP
    2165d0ebfbac selftests: test_vxlan_under_vrf: Fix broken test case
    f98dc124a482 net: phy: broadcom: Fix brcm_fet_config_init()
    3e7a483af3bb net: hns3: fix bug when PF set the duplicate MAC address for VFs
    3eb92660e69a net: enetc: report software timestamping via SO_TIMESTAMPING
    e9445a7a59d8 xen: fix is_xen_pmu()
    af0c3ced2468 clk: Initialize orphan req_rate
    845e734f975f clk: qcom: gcc-msm8994: Fix gpll4 width
    e2a262539219 kdb: Fix the putarea helper function
    a9fa7d48a1cd NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
    8cd30d28da01 netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
    fbd56a61ceee jfs: fix divide error in dbNextAG
    acb96e62e690 driver core: dd: fix return value of __setup handler
    89748be18f77 firmware: google: Properly state IOMEM dependency
    3d934d7b9019 kgdbts: fix return value of __setup handler
    f65ba8b98846 serial: 8250: fix XOFF/XON sending when DMA is used
    45e95a7bf8c4 kgdboc: fix return value of __setup handler
    96038b1cf45e tty: hvc: fix return value of __setup handler
    566e30289d04 pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
    669b05ff43bd pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
    9d095fe2fb8a pinctrl: mediatek: paris: Skip custom extra pin config dump for virtual GPIOs
    861946289d4a pinctrl: mediatek: paris: Fix pingroup pin config state readback
    7675fb2aaf88 pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
    901e192ac91e pinctrl: mediatek: paris: Fix PIN_CONFIG_BIAS_* readback
    72ea0fefea18 pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
    fddbfe43bf07 staging: mt7621-dts: fix GB-PC2 devicetree
    00e0739ca126 staging: mt7621-dts: fix pinctrl properties for ethernet
    47c31fe8ca78 staging: mt7621-dts: fix formatting
    59ec187d7c08 staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
    942f68bf2950 NFS: remove unneeded check in decode_devicenotify_args()
    e025c6638720 clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
    54c812829741 clk: clps711x: Terminate clk_div_table with sentinel element
    9ff533033d8e clk: loongson1: Terminate clk_div_table with sentinel element
    bb680cabf242 clk: actions: Terminate clk_div_table with sentinel element
    431f8a9cec07 nvdimm/region: Fix default alignment for small regions
    f7210ca29a78 remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
    7a494580a89b remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
    5c1d484d9661 remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
    f95fd61dd85a dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma
    d047d68ff031 clk: qcom: clk-rcg2: Update the frac table for pixel clock
    334720f418f5 clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
    639744b2429f clk: at91: sama7g5: fix parents of PDMCs' GCLK
    0553ecbce95e clk: imx7d: Remove audio_mclk_root_clk
    867258d3f37d dma-debug: fix return value of __setup handlers
    2f3885514e41 NFS: Return valid errors from nfs2/3_decode_dirent()
    7b59afe84ad9 habanalabs: Add check for pci_enable_device
    afcbc6375233 iio: adc: Add check for devm_request_threaded_irq
    df2dc4cf71fa serial: 8250: Fix race condition in RTS-after-send handling
    469ce5119f22 NFS: Use of mapping_set_error() results in spurious errors
    659fe4d653a2 serial: 8250_lpss: Balance reference count for PCI DMA device
    0aebb3944ab1 serial: 8250_mid: Balance reference count for PCI DMA device
    c92bd51313bf phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
    80805f555e22 clk: qcom: ipq8074: Use floor ops for SDCC1 clock
    fd2601e3665e pinctrl: renesas: checker: Fix miscalculation of number of states
    c5cf977515b5 pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
    b5db33a81ee7 staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
    f5b01abf5f65 iio: mma8452: Fix probe failing when an i2c_device_id is used
    8b89c9e68a01 clk: qcom: ipq8074: fix PCI-E clock oops
    a70d5dbe2e4e soundwire: intel: fix wrong register name in intel_shim_wake
    091704a9a7f4 cpufreq: qcom-cpufreq-nvmem: fix reading of PVS Valid fuse
    f90ad943221a misc: alcor_pci: Fix an error handling path
    553541c4531e fsi: Aspeed: Fix a potential double free
    cb212c3f0de7 fsi: aspeed: convert to devm_platform_ioremap_resource
    c0b3c06414c3 pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
    2cd05c38a27b mxser: fix xmit_buf leak in activate when LSR == 0xff
    8513c93eadc6 mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
    084be6309f4f tipc: fix the timer expires after interval 100ms
    5d8162371ce8 openvswitch: always update flow key after nat
    4593c76a659d tcp: ensure PMTU updates are processed during fastopen
    b26091a02093 net: bcmgenet: Use stronger register read/writes to assure ordering
    9088614323f0 PCI: Avoid broken MSI on SB600 USB devices
    75a4a97b7463 selftests/bpf/test_lirc_mode2.sh: Exit with proper code
    0d3ad6142a05 i2c: mux: demux-pinctrl: do not deactivate a master that is not active
    c483f8002d17 i2c: meson: Fix wrong speed use from probe
    b0898362188e af_netlink: Fix shift out of bounds in group mask calculation
    40f3b8dadae8 ipv4: Fix route lookups when handling ICMP redirects and PMTU updates
    70a6cf749d9f Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
    b441fcdff2eb Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed
    876cfe1380c3 selftests/bpf: Fix error reporting from sock_fields programs
    ac1ec6f319c0 bareudp: use ipv6_mod_enabled to check if IPv6 enabled
    c037e135391c can: isotp: support MSG_TRUNC flag when reading from socket
    f402c4986519 can: isotp: return -EADDRNOTAVAIL when reading from unbound socket
    8a9d996d4edd USB: storage: ums-realtek: fix error code in rts51x_read_mem()
    f9a666100955 samples/bpf, xdpsock: Fix race when running for fix duration of time
    cd84ea3920ae bpf, sockmap: Fix double uncharge the mem of sk_msg
    7b812a369e64 bpf, sockmap: Fix more uncharged while msg has more_data
    bec34a91eba3 bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
    c98d903ff9e7 RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
    a3587259ae55 mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
    fa3d44424579 MIPS: pgalloc: fix memory leak caused by pgd_free()
    8c4808ff9e10 MIPS: RB532: fix return value of __setup handler
    ef1728e3cb9e mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
    315772133a4b ath10k: Fix error handling in ath10k_setup_msa_resources
    71f311b12380 vxcan: enable local echo for sent CAN frames
    3c2a39784974 powerpc: 8xx: fix a return value error in mpc8xx_pic_init
    956fab99ad26 platform/x86: huawei-wmi: check the return value of device_create_file()
    1ba28cb69218 selftests/bpf: Make test_lwt_ip_encap more stable and faster
    08ab4067815e libbpf: Unmap rings when umem deleted
    6fa8edfc9020 mfd: mc13xxx: Add check for mc13xxx_irq_request
    bcf93175ed84 powerpc/sysdev: fix incorrect use to determine if list is empty
    ab0a335b546e mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
    bbd91cdb620e net: axienet: fix RX ring refill allocation failure handling
    9ec698984db2 PCI: Reduce warnings on possible RW1C corruption
    a84cb039d282 IB/hfi1: Allow larger MTU without AIP
    48d23ef90116 power: supply: wm8350-power: Add missing free in free_charger_irq
    9d3dab40af71 power: supply: wm8350-power: Handle error for wm8350_register_irq
    5cf1371628a4 i2c: xiic: Make bus names unique
    f01e08083c94 hv_balloon: rate-limit "Unhandled message" warning
    ba2c6e353b11 KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
    fa9089949dac KVM: x86: Fix emulation in writing cr8
    3e7e73ae2bbd powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
    05abd49972e1 powerpc/mm/numa: skip NUMA_NO_NODE onlining in parse_numa_properties()
    3e04a837dba7 libbpf: Skip forward declaration when counting duplicated type names
    6bb107332db2 gpu: host1x: Fix a memory leak in 'host1x_remove()'
    d1c7759304a1 bpf, arm64: Feed byte-offset into bpf line info
    694398af5fea bpf, arm64: Call build_prologue() first in first JIT pass
    06a0001366ac drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
    a3d53f000561 scsi: hisi_sas: Change permission of parameter prot_mask
    705c70399e06 power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
    1e06710c43a0 drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
    9ffa07c699a7 ext2: correct max file size computing
    60605acf5bf8 TOMOYO: fix __setup handlers return values
    adb7c8d1de05 drm/amd/display: Remove vupdate_int_entry definition
    e462b0f518e9 RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR
    279f318bd7d6 scsi: pm8001: Fix abort all task initialization
    780c668a2dd4 scsi: pm8001: Fix NCQ NON DATA command completion handling
    f7a3f9e4e81b scsi: pm8001: Fix NCQ NON DATA command task initialization
    f76bbee39eda scsi: pm8001: Fix le32 values handling in pm80xx_chip_sata_req()
    6bc86bca3502 scsi: pm8001: Fix le32 values handling in pm80xx_chip_ssp_io_req()
    27ccdcaa015d scsi: pm8001: Fix payload initialization in pm80xx_encrypt_update()
    6c0e850c2289 scsi: pm8001: Fix le32 values handling in pm80xx_set_sas_protocol_timer_config()
    edde1ede761e scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
    257a55622cc6 scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
    f55a7bc38f74 scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
    5349cde1dfaa dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
    d4862bea088c drm/msm/dpu: fix dp audio condition
    7b52fb813cd1 drm/msm/dpu: add DSPP blocks teardown
    413c62697b61 drm/msm/dp: populate connector of struct dp_panel
    441a83ff270e iwlwifi: mvm: Fix an error code in iwl_mvm_up()
    c12692c3e979 iwlwifi: Fix -EIO error code that is never returned
    ec376f5c11c8 dax: make sure inodes are flushed before destroy cache
    5e6b030ac345 IB/cma: Allow XRC INI QPs to set their local ACK timeout
    9c384e1afa55 drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
    80b96ac9d2fb drm/amd/pm: enable pm sysfs write for one VF mode
    06e778d1849d iommu/ipmmu-vmsa: Check for error num after setting mask
    ab63b24ae632 HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
    879356a6a055 power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
    f03ef518c1c1 drm/bridge: dw-hdmi: use safe format when first in bridge chain
    e0e25e131d18 PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
    b1af8b9ec032 livepatch: Fix build failure on 32 bits processors
    6f095441f808 scripts/dtc: Call pkg-config POSIXly correct
    080822563b35 net: dsa: mv88e6xxx: Enable port policy support on 6097
    2ac4f049db6e mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
    2430af124125 mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
    232c1cc98611 mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv
    253cc4aafc21 mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode
    b5d363ff171e powerpc/perf: Don't use perf_hw_context for trace IMC PMU
    c18b53861796 KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
    8b64c158a07b powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
    be703360ed35 ray_cs: Check ioremap return value
    43f2fe2a6995 power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
    da71a1483b6c i40e: respect metadata on XSK Rx to skb
    b2e48cd14110 i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    e8fe653fa7c6 KVM: PPC: Fix vmx/vsx mixup in mmio emulation
    11cb9eba06c8 RDMA/core: Set MR type in ib_reg_user_mr
    11f11ac281f0 ath9k_htc: fix uninit value bugs
    6e669baa3363 drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
    19a7eba28479 drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
    9abee5153411 drm/nouveau/acr: Fix undefined behavior in nvkm_acr_hsfw_load_bl()
    47402eaf888e ionic: fix type complaint in ionic_dev_cmd_clean()
    1ba10e5c39d4 drm/edid: Don't clear formats if using deep color
    d99e7feaed4c mtd: rawnand: gpmi: fix controller timings setting
    364b2eee6233 mtd: onenand: Check for error irq
    96ea88eb9ba3 Bluetooth: hci_serdev: call init_rwsem() before p->open()
    b267a8118c2b udmabuf: validate ubuf->pagecount
    56722aa77b3b libbpf: Fix possible NULL pointer dereference when destroying skeleton
    4a9c268a4044 drm/panfrost: Check for error num after setting mask
    5d1114ede5a1 ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
    fb2be762a49b drm: bridge: adv7511: Fix ADV7535 HPD enablement
    d9d61beb21d7 drm/bridge: nwl-dsi: Fix PM disable depth imbalance in nwl_dsi_probe
    064e7f75325c drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
    d8db734df6e6 drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
    ec3924eab533 drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops
    a1c665f5b7f9 ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
    1f24716e3822 ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
    abefbf602c6a ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
    90ac679aa6a0 ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe
    ec26e3ce3c71 ASoC: atmel: sam9x5_wm8731: use devm_snd_soc_register_card()
    541251b90338 mmc: davinci_mmc: Handle error for clk_enable
    19eb5c7957e6 ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
    42042c7a3ddb ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
    fe4db4ea2104 ASoC: fsl_spdif: Disable TX clock when stop
    86b6cf989437 ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
    c8c981cfc06d ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
    f452cff02531 ASoC: SOF: Add missing of_node_put() in imx8m_probe
    0d82401d4650 ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe
    7e8b0fd0ebe0 ASoC: rockchip: i2s: Use devm_platform_get_and_ioremap_resource()
    b5664a584ea2 ivtv: fix incorrect device_caps for ivtvfb
    ebd4f1501e0b media: saa7134: fix incorrect use to determine if list is empty
    dd67315994c4 media: saa7134: convert list_for_each to entry variant
    066d9b48f949 video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
    20da8404e464 ASoC: fsi: Add check for clk_enable
    db1c00a025c6 ASoC: wm8350: Handle error for wm8350_register_irq
    662ee5ac6b45 ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
    663e7a72871f media: vidtv: Check for null return of vzalloc
    4d68603cc438 media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
    b02752d75300 m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined
    9ca3635a0af4 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
    7e6f5786621d ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
    64eee4127c23 memory: emif: check the pointer temp in get_device_details()
    330a9b0d38e6 memory: emif: Add check for setup_interrupts
    4639c1d97f38 ASoC: soc-compress: prevent the potentially use of null pointer
    a6ee60d4a98f ASoC: dwc-i2s: Handle errors for clk_enable
    39bee81e3083 ASoC: atmel_ssc_dai: Handle errors for clk_enable
    dc947d175c17 ASoC: mxs-saif: Handle errors for clk_enable
    a754ea0de369 printk: fix return value of printk.devkmsg __setup handler
    87a265e292f8 arm64: dts: broadcom: Fix sata nodename
    f63122803d66 arm64: dts: ns2: Fix spi-cpol and spi-cpha property
    5d6a0dc6bad4 ALSA: spi: Add check for clk_enable()
    039fae34f8cd ASoC: ti: davinci-i2s: Add check for clk_enable()
    94cb9fe5d86e ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
    7ce3e6e1036e uaccess: fix nios2 and microblaze get_user_8()
    19894751f657 ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
    f126dcbe7074 media: cedrus: h264: Fix neighbour info buffer size
    c011ae1665f8 media: cedrus: H265: Fix neighbour info buffer size
    44973633b006 media: usb: go7007: s2250-board: fix leak in probe()
    ec8a37b2d9a7 media: em28xx: initialize refcount before kref_get
    1b46f57d516f media: video/hdmi: handle short reads of hdmi info frame.
    170ad3942b7b ARM: dts: imx: Add missing LVDS decoder on M53Menlo
    2a0eb50d9afd ARM: dts: sun8i: v3s: Move the csi1 block to follow address order
    77406ac6efe4 soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
    18b2ec361a68 firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined
    8395a17ef6ba arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
    d19248e23fbe arm64: dts: qcom: sdm845: fix microphone bias properties and values
    2042c6fbfb0f soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
    5a990a65d4a3 soc: qcom: ocmem: Fix missing put_device() call in of_get_ocmem
    b5d6eba71997 soc: qcom: rpmpd: Check for null return of devm_kcalloc
    0c11cb8db49a ARM: dts: qcom: ipq4019: fix sleep clock
    22474dfd0c17 firmware: qcom: scm: Remove reassignment to desc following initializer
    bf4bad1114a3 video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
    6de6a64f23a6 video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
    64ec3e678d76 video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
    0dff86aeb191 video: fbdev: controlfb: Fix COMPILE_TEST build
    ec1c20b02ae0 video: fbdev: controlfb: Fix set but not used warnings
    f8bf19f7f311 video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen
    3187a1d4d5c5 media: aspeed: Correct value for h-total-pixels
    245561612b49 media: hantro: Fix overfill bottom register field name
    032b141a91a8 media: meson: vdec: potential dereference of null pointer
    d3e5106c6768 media: coda: Fix missing put_device() call in coda_get_vdoa_data
    c9f4586d9935 ASoC: generic: simple-card-utils: remove useless assignment
    2c357e027725 ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting
    712dd2ac267a media: bttv: fix WARNING regression on tunerless devices
    bc2573abc691 media: mtk-vcodec: potential dereference of null pointer
    8a83731a09a5 media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
    c76188715dfc media: staging: media: zoran: fix usage of vb2_dma_contig_set_max_seg_size
    f622bd0758bd kunit: make kunit_test_timeout compatible with comment
    9e63bcb71df9 selftests, x86: fix how check_cc.sh is being invoked
    d2c53e77b043 f2fs: fix compressed file start atomic write may cause data corruption
    1c4d94e4f0b1 f2fs: compress: remove unneeded read when rewrite whole cluster
    2c4741d1b0d2 btrfs: fix unexpected error path when reflinking an inline extent
    3ef3bc75cd3e f2fs: fix to avoid potential deadlock
    85cc399b650f nfsd: more robust allocation failure handling in nfsd_file_cache_init
    1a11a873749c f2fs: fix missing free nid in f2fs_handle_failed_inode
    c0cffc1fb38d perf/x86/intel/pt: Fix address filter config for 32-bit kernel
    13c8e37e1faf perf/core: Fix address filter parser for multiple filters
    a9faa5beda6b rseq: Remove broken uapi field layout on 32-bit little endian
    f0250e05e574 rseq: Optimise rseq_get_rseq_cs() and clear_rseq_cs()
    ecc17de4b99a sched/core: Export pelt_thermal_tp
    40732cab515d sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
    2b5d41bcf28f f2fs: fix to enable ATGC correctly via gc_idle sysfs interface
    9d92be1a09fb watch_queue: Actually free the watch
    5ae75b4ed303 watch_queue: Fix NULL dereference in error cleanup
    509565faed7e io_uring: terminate manual loop iterator loop correctly for non-vecs
    44a77e52bd79 clocksource: acpi_pm: fix return value of __setup handler
    d678f002f0bc hwmon: (pmbus) Add Vin unit off handling
    7ca525b4cc65 hwrng: nomadik - Change clk_disable to clk_disable_unprepare
    e4c777fd8c37 amba: Make the remove callback return void
    1c6ac39763bc vfio: platform: simplify device removal
    c93017c8d5eb crypto: ccree - Fix use after free in cc_cipher_exit()
    78622926fe01 crypto: ccp - ccp_dmaengine_unregister release dma channels
    9eeee6f684e0 ACPI: APEI: fix return value of __setup handlers
    0b45bf165932 clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
    b33c753cff6c clocksource/drivers/timer-microchip-pit64b: Use notrace
    db9d00461bdf clocksource/drivers/exynos_mct: Handle DTS with higher number of interrupts
    d4e13c4a6f41 clocksource/drivers/exynos_mct: Refactor resources allocation
    42d331a279d0 clocksource/drivers/timer-ti-dm: Fix regression from errata i940 fix
    aedff03da4a5 crypto: vmx - add missing dependencies
    51939008ca5f crypto: amlogic - call finalize with bh disabled
    24857d87cc74 crypto: sun8i-ce - call finalize with bh disabled
    bf4814d58b1b crypto: sun8i-ss - call finalize with bh disabled
    a4067ccb97e5 hwrng: atmel - disable trng on failure path
    b7940bef6f21 spi: spi-zynqmp-gqspi: Handle error for dma_set_mask
    3928a04bc65a PM: suspend: fix return value of __setup handler
    052a218db0cb PM: hibernate: fix __setup handler error handling
    0b5924a14d64 block: don't delete queue kobject before its children
    40b288a86186 nvme: cleanup __nvme_check_ids
    32c4db2a5296 hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
    ec8536f7012e hwmon: (pmbus) Add mutex to regulator ops
    18a18594ae69 spi: pxa2xx-pci: Balance reference count for PCI DMA device
    55259cb37415 crypto: ccree - don't attempt 0 len DMA mappings
    d788ad472f83 EVM: fix the evm= __setup handler return value
    a137f93ae581 audit: log AUDIT_TIME_* records only from rules
    5e9501e60b8d crypto: rockchip - ECB does not need IV
    8265bea7d8cd selftests/x86: Add validity check and allow field splitting
    f7d9249af33c arm64/mm: avoid fixmap race condition when create pud mapping
    99a8dfce7c0b spi: tegra114: Add missing IRQ check in tegra_spi_probe
    71dba67138f6 thermal: int340x: Check for NULL after calling kmemdup()
    8e57117142bb crypto: mxs-dcp - Fix scatterlist processing
    ec1d372974ec crypto: authenc - Fix sleep in atomic context in decrypt_tail
    fdfaafeb4bf8 crypto: sun8i-ss - really disable hash on A80
    19693838c82f hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER
    bc20294cc8da hwrng: cavium - Check health status while reading random data
    962d1f59d5f7 selinux: check return value of sel_make_avc_files
    1ae9b020ddfc regulator: qcom_smd: fix for_each_child.cocci warnings
    c20975954e96 PCI: xgene: Revert "PCI: xgene: Fix IB window setup"
    0f56f240157d PCI: pciehp: Clear cmd_busy bit in polling mode
    89ddcc81914a drm/i915/gem: add missing boundary check in vm_access
    b84857c06ef9 drm/i915/opregion: check port number bounds for SWSCI display power state
    88975951d4e0 brcmfmac: pcie: Fix crashes due to early IRQs
    1cbcf93a93e5 brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
    f3820ddaf4f3 brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
    daa07f29027c brcmfmac: firmware: Allocate space for default boardrev in nvram
    1dd031eb9910 xtensa: fix xtensa_wsr always writing 0
    dac518bbcebf xtensa: fix stop_machine_cpuslocked call in patch_text
    20f974dce5df media: davinci: vpif: fix unbalanced runtime PM enable
    7c9b915b9463 media: davinci: vpif: fix unbalanced runtime PM get
    cde90e829190 media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC
    785ffce44a1f DEC: Limit PMAX memory probing to R3k systems
    8dde2296eca1 bcache: fixup multiple threads crash
    37d2b4fa5cdd crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
    b89fb8b88242 crypto: rsa-pkcs1pad - restore signature length check
    f38c318068ee crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
    c1db3f44f252 crypto: rsa-pkcs1pad - only allow with rsa
    27a6f495b63a exec: Force single empty string when argv is empty
    b02d33171dfb lib/raid6/test: fix multiple definition linking error
    bf057eac9a34 thermal: int340x: Increase bitmap size
    86a926c3f00e pstore: Don't use semaphores in always-atomic-context code
    b26f400e4fe4 carl9170: fix missing bit-wise or operator for tx_params
    3aef4df6e1cc mgag200 fix memmapsl configuration in GCTL6 register
    ef1df9168532 ARM: dts: exynos: add missing HDMI supplies on SMDK5420
    3cde68a1ebbc ARM: dts: exynos: add missing HDMI supplies on SMDK5250
    5ac205c414c5 ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
    7187c9beb702 ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
    2ca2a5552a83 video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
    72af8810922e video: fbdev: sm712fb: Fix crash in smtcfb_read()
    ba09b0417324 drm/edid: check basic audio support on CEA extension block
    ce1927b8cfed block: don't merge across cgroup boundaries if blkcg is enabled
    6e0d24598ca0 block: limit request dispatch loop duration
    958e9b56de7b mailbox: tegra-hsp: Flush whole channel
    f67a1400788f drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
    b35eb4847182 ext4: fix fs corruption when tring to remove a non-empty directory with IO error
    a1e6884b2d28 ext4: fix ext4_fc_stats trace point
    c119fb65f6ab coredump: Also dump first pages of non-executable ELF libraries
    7ad5ccc3da7a ACPI: properties: Consistently return -ENOENT if there are no more references
    ef3a87e0c4b0 arm64: dts: ti: k3-j7200: Fix gic-v3 compatible regs
    18864e8b837a arm64: dts: ti: k3-j721e: Fix gic-v3 compatible regs
    e85fa9f4e925 arm64: dts: ti: k3-am65: Fix gic-v3 compatible regs
    7ce550a01b83 arm64: signal: nofpsimd: Do not allocate fp/simd context when not available
    210e7b43d4da udp: call udp_encap_enable for v6 sockets when enabling encap
    e1a58498ef91 powerpc/kvm: Fix kvm_use_magic_page
    d72866a7f532 can: isotp: sanitize CAN ID checks in isotp_bind()
    fde8c5cad088 drbd: fix potential silent data corruption
    b101e74f9a72 dm integrity: set journal entry unused when shrinking device
    d5d5804acc16 mm/kmemleak: reset tag when compare object pointer
    bc2f58b8e47c mm,hwpoison: unmap poisoned page before invalidation
    608c501d70bf Revert "mm: madvise: skip unmapped vma holes passed to process_madvise"
    8b354e303260 mm: madvise: return correct bytes advised with process_madvise
    928c06c11408 mm: madvise: skip unmapped vma holes passed to process_madvise
    51f7557c3cb9 ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
    9017201e8d8c ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
    7b7a03d8b5f8 ALSA: hda: Avoid unsol event during RPM suspending
    a55e2d74232f ALSA: cs4236: fix an incorrect NULL check on list iterator
    edefc4b2a8e8 cifs: fix NULL ptr dereference in smb2_ioctl_query_info()
    9963ccea6087 cifs: prevent bad output lengths in smb2_ioctl_query_info()
    b75198eddab1 Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
    34bc1f69bf56 riscv: Increase stack size under KASAN
    24b9b8e95ca1 riscv: Fix fill_callchain return value
    0f8c0bd0a4cb qed: validate and restrict untrusted VFs vlan promisc mode
    a3af3d431920 qed: display VF trust config
    aa28075f06b8 scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
    4bcefc78c874 mempolicy: mbind_range() set_policy() after vma_merge()
    fa37c1714367 mm: invalidate hwpoison page cache page in fault path
    7188e7c96f39 mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
    51dbb5e36d59 jffs2: fix memory leak in jffs2_scan_medium
    607d3aab7349 jffs2: fix memory leak in jffs2_do_mount_fs
    7bb7428dd739 jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
    b417f9c50586 can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
    3a21ee89bc22 mtd: rawnand: protect access to rawnand devices while in suspend
    145a63201d00 spi: mxic: Fix the transmit path
    be22ebe79e64 pinctrl: samsung: drop pin banks references on error paths
    b97b305656a7 remoteproc: Fix count check in rproc_coredump_write()
    784630df174f f2fs: fix to do sanity check on .cp_pack_total_block_count
    e58ee6bd939b f2fs: quota: fix loop condition at f2fs_quota_sync()
    ec67040703c8 f2fs: fix to unlock page correctly in error path of is_alive()
    7af164fa2f1a NFSD: prevent integer overflow on 32 bit systems
    65e21cc042f4 NFSD: prevent underflow in nfssvc_decode_writeargs()
    b7b430104a14 SUNRPC: avoid race between mod_timer() and del_timer_sync()
    f51ab2f60a44 HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
    a1df8e60f25a firmware: stratix10-svc: add missing callback parameter on RSU
    e94f5fbe7ab3 Documentation: update stable tree link
    f4bab992ee25 Documentation: add link to stable release candidate tree
    10ee5662d5a6 KEYS: fix length validation in keyctl_pkey_params_get_2()
    5a41a3033a93 ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
    2775d8e36436 clk: uniphier: Fix fixed-rate initialization
    25cd5872d9a7 greybus: svc: fix an error handling bug in gb_svc_hello()
    9f0cd8117457 iio: inkern: make a best effort on offset calculation
    19e533452fbe iio: inkern: apply consumer scale when no channel scale is available
    e10dbe7f6ac1 iio: inkern: apply consumer scale on IIO_VAL_INT cases
    9f4fffc2ab26 iio: afe: rescale: use s64 for temporary scale calculations
    9cd1b02655c7 coresight: Fix TRCCONFIGR.QE sysfs interface
    7b478cb67b8c mei: avoid iterator usage outside of list_for_each_entry
    ec8975417d71 mei: me: add Alder Lake N device id.
    0a0c61dd071d xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
    811f40351949 xhci: make xhci_handshake timeout for xhci_reset() adjustable
    3a820d1ca123 xhci: fix runtime PM imbalance in USB2 resume
    c41387f96a22 xhci: fix garbage USBSTS being logged in some cases
    1e0f089f70db USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
    39a70732eb52 virtio-blk: Use blk_validate_block_size() to validate block size
    290e05f346d1 tpm: fix reference counting for struct tpm_chip
    fcd3c31dd160 iommu/iova: Improve 32-bit free space estimate
    68c80088f52b locking/lockdep: Avoid potential access of invalid memory in lock_class
    f19d8dfad67b net: dsa: microchip: add spi_device_id tables
    8d3f4ad43054 af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
    ef1a6ab36dc3 Input: zinitix - do not report shadow fingers
    21680aabc4d3 spi: Fix erroneous sgs value with min_t()
    8fb7af1b5a83 Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
    18a4417a192f net:mcf8390: Use platform_get_irq() to get the interrupt
    102d7f6c2eff spi: Fix invalid sgs value
    a4f4ce3deedb gpio: Revert regression in sysfs-gpio (gpiolib.c)
    fc9a35627c3d ethernet: sun: Free the coherent when failing in probing
    3c8447192532 tools/virtio: fix virtio_test execution
    6d98dc2369b1 vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
    c97ffb4184f0 virtio_console: break out of buf poll on remove
    0c00d38337ec ARM: mstar: Select HAVE_ARM_ARCH_TIMER
    a7e75e5ed417 xfrm: fix tunnel model fragmentation behavior
    e05ae08ea82f HID: logitech-dj: add new lightspeed receiver id
    ff919a7ad90c netdevice: add the case if dev is NULL
    c4dc584a2d4c hv: utils: add PTP_1588_CLOCK to Kconfig to fix build
    d136a2574a45 USB: serial: simple: add Nokia phone driver
    38e3d48ffebf USB: serial: pl2303: add IBM device IDs
    d4d975e79210 swiotlb: fix info leak with DMA_FROM_DEVICE

(From OE-Core rev: f7e9526058bec6eafce8b1f62a1af798a0998bf4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Bruce Ashfield
5f2879efd0 linux-yocto/5.15: arm: poky-tiny cleanup and fixes
Integrating the following commit(s) to linux-yocto/.:

    20dcef87913 versatile: restore explicit CONFIG_ARM
    8e63ec2fc66 qemuarm64: cleanup for tiny enablement
    fa720c009a8 arm-versatile-926ejs: reorg for tiny and preempt-rt
    7febff689a8 qemuarma15: fix tiny and preempt-rt
    7720c50d622 tiny: make more generic
    f052e84eafa pci: remove CONFIG_PCI_MMCONFIG
    917043019b4 virtio: Add prereqs for tiny
    da919d67b1a common-pc: add CONFIG_ISA_DMA_API for tiny
    1a3a497c472 x2apic: enable iommu for tiny
    63e25b57177 features/security: Move x86_64 configs to separate file

(From OE-Core rev: 3e966df4f2d3236a259e6057f2deb22823fca173)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Khem Raj
1a4c1c8557 qemu: Add packageconfig for libbpf support
its in auto mode, which is troublesome particularly on native recipe
where it pokes at build host to find this library if its not in native
sysroot and when build host has libbpf installed it enables it silently
otherwise disables the support. so lets make it deterministic, and if
one needs to enable this feature then enable the packageconfig
intentionally, It was found when trying to solve this QA warning

Skipping RPATH /usr/lib64 as is a standard search path for /mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-system-native/6.2.0-
r0/sysroot-destdir/mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-system-native/6.2.0-r0/recipe-sysroot-native/usr/bin/qemu-system-x86_64

This is becasue qemu's build system adds the needed flags to -rpath for
the libraries it needs and in this case it has found libbpf.so in
/usr/lib64 on build host.

(From OE-Core rev: 3d493928b7c98ab11b5d8c50924b1a2c464bf7f5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Robert Joslyn
fc023a69a2 powerpc: Remove invalid GLIBC_EXTRA_OECONF
OE-core previously carried patches to glibc that added optimized sqrt
implementations for various PowerPC chips. These were recently removed,
which now results in errors when compiling glibc with certian PowerPC
machine tunes:

	checking sysdep dirs... configure: error: The 603e subspecies of powerpc is not supported.

Remove setting GLIBC_EXTRA_OECONF with parameters that are no longer
valid. Also remove a commented out setting of the variable that probably
isn't vaild anyway.

Fixes: 2511e937f445 ("glibc: Drop ppc sqrt optimisations")

(From OE-Core rev: 40f15066c24720aae36713c9856ffb4fae146a45)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-01 21:57:34 +01:00
Portia
9e55696042 volatile-binds: Remove TimeoutSec and allow DefaultTimeoutSec to be used
Remove setting TimeoutSec and allow the DefaultTimeSec to be set for the
volatile-binds services.

(From OE-Core rev: 86aea324e423ce5f411a21afa18356339e3545a8)

Signed-off-by: Portia Stephens <stephensportia@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 22:00:20 +01:00
Portia
892b126ef4 volatile-binds: Change DefaultDependencies from false to no
The systemd-unit parameter DefaultDependencies changed from true/false
to yes/no. This changed in systemd in v242.

(From OE-Core rev: add4dcb03dc7b034253db05f0023cb97cab8b26d)

Signed-off-by: Portia Stephens <stephensportia@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 22:00:20 +01:00
Jiaqing Zhao
95b9fc5ddc strace: Don't run ptest as "nobody"
strace ptests can run successfully with root user, there is no need to
run as "nobody". The ptest results are the same.

(From OE-Core rev: 5ab213178c011152e29dfb0a80251c5e5ab79900)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 22:00:20 +01:00
Jiaqing Zhao
b08c60224f base-passwd: Disable shell for default users
Change the shell of all global static users other than root (which
retains /bin/sh) and sync (as /bin/sync is rather harmless) to
/sbin/nologin (as /usr/sbin/nologin does not exist in openembedded)

Upstream-Status: Backport [https://launchpad.net/ubuntu/+source/base-passwd/3.5.30]
(From OE-Core rev: ba3bc4d7a0a39a96f6e8d340e1b2654d47475f07)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 22:00:20 +01:00
Jiaqing Zhao
fc80c5ee16 sed: Specify shell for "nobody" user in run-ptest
ptest testsuite/panic-tests.sh of sed need to be run as a non-root user
so that the expected "sed: couldn't open temporary file <filename>:
Permission denied" error can be generated. After disabling default
shell for "nobody", a shell needs to be specified for running ptest.

(From OE-Core rev: c6d7216772f76af4429fdaaca518858cf014293f)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 22:00:20 +01:00
Alex Kiernan
2af5b0a58e eudev: Remove unused files
These files appear to have been first commented out from do_install in
14cba802f2 ("udev: Add 141") and then removed completely in
54daad852fc3 ("udev: remove commented code from init script (no code
changes)").

(From OE-Core rev: 029821d0053059b967a1b5c66fd96e69ac747bac)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 22:00:20 +01:00
Ross Burton
c81eec622d musl-locales: explicitly depend on gettext-native
The gettext class is designed for use by applications with optional NLS
support: depending on the value of USE_NLS it will either depend on
gettext-minimal-native (just the autoconf macros) or gettext-native, and
will pass --enable-nls/--disable-nls as appropriate.

However, musl-locales specifically needs to run msgfmt at runtime,
so explicitly depend on gettext-native instead.

Also remove the redundant EXTRA_OECMAKE assignment.

(From OE-Core rev: 77ae1fe772f12677f9d86946d09d10534845723f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 22:00:20 +01:00
Peter Kjellerstedt
f2022327f4 license_image.bbclass: Make QA errors fail the build
If, e.g., license-file-missing is added to ERROR_QA, then the build
should fail if any licenses are missing.

(From OE-Core rev: dd91c4bec8335cab2bbd0b33caf50d314ca72bdc)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 22:00:20 +01:00
Robert Joslyn
c9ad977a0b curl: Update to 7.83.0
This is a minor feature and bugfix release. Changes include:

 * curl: add %header{name} experimental support in -w handling
 * curl: add %{header_json} experimental support in -w handling
 * curl: add --no-clobber
 * curl: add --remove-on-error
 * header api: add curl_easy_header and curl_easy_nextheader
 * msh3: add support for QUIC and HTTP/3 using msh3

Full changelog at: https://curl.se/changes.html#7_83_0

(From OE-Core rev: 2e525a64ee945559afaad8b0285ac5d48a2748b4)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 22:00:20 +01:00
Bruce Ashfield
5b5ccb7bce kernel-yocto: allow patch author date to be commit date
In situations where a buid needs to be reproducible, it is
sometimes desireable to use a patches author date, versus the
time when it is applied. This generates a consistent hash
between different patch applications.

We leverage the existing KERNEL_DEBUG_TIMESTAMPS to trigger
the use of a new option to kgit-s2q. This allows us to use
the author date in a reproducible configuration, but disable
it if we need the current time/date.

(From OE-Core rev: ebe2411ce78d5e4ea49b9b4cb732b461ecc32ca6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 22:00:20 +01:00
Steve Sakoman
33df924c00 scripts/contrib/oe-build-perf-report-email.py: remove obsolete check for phantomjs and optipng
Use of those tools was removed in b5c131006e3fad0a15e6cdf81f71dc1e96647028
perf-build-test/report: Drop phantomjs and html email reports support

(From OE-Core rev: 33df447affa7a3a360b1da028e6b12fbcd388db6)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 22:00:20 +01:00
Ross Burton
d9dc50ccff distro/poky-tiny: don't put translations into images
IMAGE_LINGUAS has a default value, "en-us en-gb" in
default-distrovars.inc and "de-de fr-fr en-gb" in image.bbclass. However,
poky-tiny sets USE_NLS=no so IMAGE_LINGUAS can't really be used in a tiny
context, and previously musl hasn't supported locales so this hasn't
been a problem.

However, now that musl-locales exists, poky-tiny images will try to pull
in translations.  As we've disabled NLS these simply take up disk space
and cannot be used, and currently musl-locales fails to build if
USE_NLS=no.

Set IMAGE_LINGUAS to "" in poky-tiny.conf so that images don't have
locales added.

(From meta-yocto rev: 50bb58035f0158e388019e731126e630307b69dc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 07:34:20 +01:00
Richard Purdie
a0b8419a7c bitbake: runqueue: Fix sig file location when using multiconfig
We're using the wrong data store when trying to locate siginfo files,
fix this. Thanks to Gregory Lumen <gregorylumen@microsoft.com> for
spotting.

[YOCTO #14774]

(Bitbake rev: 0ed800e19a3197f8e622c8d3b630aae384e60aba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 07:33:52 +01:00
Chen Qi
1ecaf46815 go-helloworld: remove unused GO_WORKDIR
The GO_WORKDIR is used only in go-mod.bbclass. As this recipe does
not inherit go-mod.bbclass, this variable is useless here.

This go-helloworld recipe was made to inherit go-mod.bbclass and build
in module-aware mode. However, it was found that we need to build go
recipes in GOPATH mode in order to support offline build. As a result,
this recipe was changed back to only inherit go.bbclass. But the GO_WORKDIR
setting was not cleaned up.

(From OE-Core rev: 70bc5b6d40f94bde82415fb87db37fdf2606c2fb)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-29 17:54:25 +01:00
Richard Purdie
e141d586f2 lib/sstatesig: Fix find_siginfo to match sstate filename generation
sstate filename generation was changed a while ago and taskname has to be
passed into core functions for the correct filename to be generated. Update
find_siginfo to match those changes and pass in taskname via SSTATE_CURRTASK.

Thanks to Gregory Lumen <gregorylumen@microsoft.com> for spotting.

[YOCTO #14774]

(From OE-Core rev: 51d7310b6cf8ef9033d461868c07f686656070ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-29 17:54:25 +01:00
Khem Raj
7896b14e4c kmod: Enable xz support by default
RPi kernel has started building compressed kernel modules by default
starting 5.15, currenrly therefore meta-raspberrypi kernels are unable
to load kernel modules since kmod and kmod-native do not entertain xz
compressed modules. There is a fix proposed in meta-raspberrypi [1]
but the fix is needed for native and nativesdk recipes as well, perhaps
its best to enable it here for best out of box experience with
meta-raspberrypi

[1] https://github.com/agherzan/meta-raspberrypi/pull/1056

(From OE-Core rev: 20e9917b8d40f576b3661bc29e13602a24e86b7b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-29 17:54:25 +01:00
Justin Bronder
de067dac1d pulseaudio: conditionally depend on alsa-plugins-pulseaudio-conf
The alsa-plugins-pulseaudio-conf package is only enabled when
DISTRO_FEATURES contains pulseaudio.

(From OE-Core rev: 54e9b8f308f28bb2db37f5ea5b85e6a1608c0516)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-29 17:54:25 +01:00
Dmitry Baryshkov
7a30031f69 image.bbclass: allow overriding dependency on virtual/kernel:do_deploy
Since the commit fe26b2379ecd ("image.bbclass: Depend on
virtual/kernel:do_deploy"), the image.bbclass made building images
depend on virtual/kernel. For some images, including small initramfs,
this is not the case. Allow overriding this dependency in case
developers knows what they are doing.

(From OE-Core rev: dcf9dfa4e6305786cd713aa28deda94a50bd6635)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-29 17:54:25 +01:00
Ross Burton
3168b02b08 poky.conf: set PACKAGE_CLASSES explicitly to package_rpm
Currently, defaultsetup.conf defaults PACKAGE_CLASSES to ipkg, and Poky's
local.conf.template defaults it to rpm.  So in theory Poky uses RPM, but
only if you actually use the local.conf.template: use Poky but write
your own minimal local.conf and you get ipkg being used.

Resolve this by explicitly setting PACKAGE_CLASSES in poky.conf, and
commentting out the assignment in local.conf.sample.  Users with
existing local.conf files won't notice a change of behaviour, and users
who write their own minimal local.conf will get the behaviour that is
expected, that is RPMs.

(From meta-yocto rev: 0615305e26f7e643cdf91e17902ebaa8e7f8faf8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 13:35:35 +01:00
Ross Burton
4e2c92c689 cve-check: no need to depend on the fetch task
The only part of the cve-check task which needs files is the patch
examination, and typically these patches are local so fetch isn't needed.

(From OE-Core rev: 2c9b3186d3b7c18cbea239ab9b06e85b7c243b54)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 13:35:15 +01:00
Alexander Kanavin
ddda3af6a1 llvm: update 14.0.0 -> 14.0.1
(From OE-Core rev: 293638a800aadd59f35b732baa47774fa9d9b6fd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:42 +01:00
Alexander Kanavin
9dcf905034 stress-ng: upgrade 0.13.12 -> 0.14.00
Disable apparmor via empty config file creation.

(From OE-Core rev: 2a80cb997aea02497ef359725b6f72536c904a2b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:42 +01:00
Alexander Kanavin
f33c2104a3 cmake: update 3.23.0 -> 3.23.1
(From OE-Core rev: d3c0edfc460a326b723b8f33be4c54a0475e0c04)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:42 +01:00
Alexander Kanavin
2099f3b1af libgpg-error: 1.44 -> 1.45
(From OE-Core rev: 519fe0b3fbfd7cc5a3b10fa38ef7aac06a76f920)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:42 +01:00
Alexander Kanavin
0284c59c41 libcap-ng: update 0.8.2 -> 0.8.3
Remove upstreamed patch.

(From OE-Core rev: c96a3f3269ecadbb88011acca61902bbdc76522b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:42 +01:00
Alexander Kanavin
d88d5c978d valgrind: update 3.18.1 -> 3.19.0
Dropped patches are either backports, were merged upstream,
or upstream fixed the issue differently.

(From OE-Core rev: 4c9b619eb7cd91e7ffc8db0f5571a4dbe6966ccc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:42 +01:00
Alexander Kanavin
c906750151 icu: update 70.1 -> 71.1
License-Update: copyright years

(From OE-Core rev: 85cbbe2da017b39a985e07bfeefb6aa83ddfea65)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:42 +01:00
Alexander Kanavin
4c775f712f meson: update 0.61.3 -> 0.62.1
Rebase 0001-python-module-do-not-manipulate-the-environment-when.patch

(From OE-Core rev: 65411c5d632adeac5eab322ae1a54ec8b6d3e5af)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:42 +01:00
Alexander Kanavin
b3c193e5d5 go: update 1.18 -> 1.18.1
Do not version patch directories; we carry only one version of go.

(From OE-Core rev: f7a9f330f92d85612196d7a8d77893a1b0a870aa)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:42 +01:00
Alexander Kanavin
0f29986170 glib: upgrade 2.72.0 -> 2.72.1
(From OE-Core rev: e167060bfb105799e0931c06a6aa1275163bf261)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:42 +01:00
Alexander Kanavin
2a791efa59 python3-pyparsing: upgrade 3.0.7 -> 3.0.8
Upstream has transitioned to flit from setuptools.

(From OE-Core rev: 2087d8faa48879277111ab3eff9e01d099a5bb6b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:41 +01:00
Alexander Kanavin
e561c18805 python3-typing-extensions: upgrade 3.10.0.0 -> 4.2.0
Upstream has transitioned to flit from setuptools.

(From OE-Core rev: 2199a1274bf2801fee5e1818f4a57266bfe3025c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:41 +01:00
Alexander Kanavin
00bb4e2a8b vulkan-samples: update to latest revision
(From OE-Core rev: 9b28d9e5bf170586e0c5dcdc3a1107ac3a1c160e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:41 +01:00
Alexander Kanavin
4bcc9c79a8 piglit: update to latest revision
(From OE-Core rev: db60825f4184069675137a29afdc7410c0bcb9f8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:41 +01:00
Alexander Kanavin
220c52e056 go-helloworld: update to latest revision
(From OE-Core rev: 09197f0607e6bbc066110a00cf09fb0d8c7041f1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:41 +01:00
Alexander Kanavin
3121cf14b9 gnu-config: update to latest revision
License-Update: copyright years, formatting

(From OE-Core rev: 884177ce7163f90b7cf4a4f44728528da3a6e028)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:41 +01:00
Alexander Kanavin
10ddcd62cd python3-psutil: submit patch upstream
I had to significantly rework it to make a set that's hopefully
acceptable for the upstream:
https://github.com/giampaolo/psutil/pull/2097

(From OE-Core rev: 4f3fb46645b39d1bf96c1a6d0067a32cd41e8ae8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:41 +01:00
Alexander Kanavin
f461424b52 libxml2: update patch status
(From OE-Core rev: 2e21e1e5e2659b02a771ce986fc3194deeda9f4d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:41 +01:00
Ross Burton
fa553eb643 cve_check: skip remote patches that haven't been fetched when searching for CVE tags
If a remote patch is compressed we need to have run the unpack task for
the file to exist locally.  Currently cve_check only depends on fetch so
instead of erroring out, emit a warning that this file won't be scanned
for CVE references.

Typically, remote compressed patches won't contain our custom tags, so
this is unlikely to be an issue.

(From OE-Core rev: cefc8741438c91f74264da6b59dece2e31f9e5a5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:41 +01:00
Richard Purdie
51f7dfe914 staging: Ensure we filter out ourselves
Adding a dependency on ourselves in this function doesn't make sense, the hash
may change after hash equivalence is applied. Other code using BB_TASKDEPDATA does
handle the self reference correctly (which is there for a reason), update this
code to do likewise.

(From OE-Core rev: d98b06c9c6f480de1e5167bfe8392e39300fc02c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 11:51:41 +01:00
Michael Halstead
f33973e591 releases: update to include 3.3.6
Adding 3.3.6 to release list.

(From yocto-docs rev: 1f845c499bbf78809cb4155c3e72db53b7ed2021)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 23:40:01 +01:00
Khem Raj
0ec65a3eca util-linux: Create u-a symlink for findfs utility
busybox also installs findfs but into base_sbindir which works out to be
ok when sbindir != base_sbindir but with usrmerge distro feature enabled
this starts to cause trouble because busybox's postinst is trying to
create a symlink for findfs applet in base_sbindir which is same as
sbindir now and there already is binary from util-linux and image fails
to build

do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().

The real reason is burried in do_rootfs logs

update-alternatives: Error: not linking /mnt/b/yoe/master/build/tmp/work/beaglebone-yoe-linux-gnueabi/yoe-sdk-image/1.0-r0/rootfs/usr/sbin/findfs to /usr/bin/busybox.suid since /mnt/b/yoe/master/build/tmp/work/beaglebone-yoe-linux-gnueabi/yoe-sdk-image/1.0-r0/rootfs/usr/sbin/findfs exists and is not a link

Creating proper u-a for findfs in util-linux fixes the issue

(From OE-Core rev: 211ae2db1ab8fec1ed678170f9d8cbca2cc27ef3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 23:30:11 +01:00
Nicolas Dechesne
d929898302 sanity: skip make 4.2.1 warning for debian
This is a follow up patch of:
ad5829aa1f8a (sanity: Show a warning that make 4.2.1 is buggy on non-ubuntu systems)

Debian10 has the exact same version/sources for make as Ubuntu
(focal), e.g. https://packages.debian.org/source/buster/make-dfsg and
https://packages.ubuntu.com/source/focal/make-dfsg.

As per the corresponding changelog, the patch mentioned in
ad5829aa1f8a, is included in both Debian and Ubuntu in make
4.2.1-1.1. So it's safe to use make 4.2.1 in Debian10.

(From OE-Core rev: 1d5d5278ff4f620cd786b85e880e8429a04a1548)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 23:30:11 +01:00
Sean Anderson
4e9102a83c wic: Add dependencies for erofs-utils
In order to build erofs filesystems, wic must have the erofs-utils
package installed into its sysroot.

Fixes: 30375ce97 ("Add support for erofs filesystems")
(From OE-Core rev: 68e364340c439a1341d37c3f7a2b0e6aad8e1e56)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 23:30:11 +01:00
Rahul Kumar
ae37e2efd3 neard: Switch SRC_URI to git repo
The tarball (neard-0.16.tar.xz) fetched by the recipe is incomplete.
Few plugins (e.g. tizen) and tests scripts (e.g. Test-channel, test-see,
neard-ui.py, ndef-agent etc) are missing.

Since neard did not release latest tarballs, so as per community
recommendation switching the recipe SRC_URI to git repo.

Community Discussion:
https://lists.openembedded.org/g/openembedded-core/topic/90058043#163681

(From OE-Core rev: b563f40ebf4461d9c35df72bd7599ea11e97da9c)

Signed-off-by: Rahul Kumar <rahul.kumar_3@philips.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 23:30:11 +01:00
Jacob Kroon
936b3f79cd zlib: Add patch to fix building icedtea7-native from meta-java
(From OE-Core rev: e20a382f10df9d975ad0e7a0a1f3f45a7a8d8ae0)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 23:30:11 +01:00
Pgowda
0bd0012264 rust: update 1.59.0 -> 1.60.0
Rust has been upgraded to rust-1.60.0 that uses LLVM 14.

Please refer the following link for more detailed features.
https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html
https://github.com/rust-lang/rust/blob/master/RELEASES.md

(From OE-Core rev: 786a9a66486cf179ee4c9e295569fcd8c37fef78)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 23:30:11 +01:00
Michael Opdenacker
7838c778af migration-guides: release-notes-4.0: mention LTS release
(From yocto-docs rev: ff1fe93313410242eaecf97b84d1214f68fb79fd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 16:02:39 +01:00
Nicolas Dechesne
261f9b5709 migration-guides: stop including documents with ".. include"
This prevented variables from being substituted through the
code in yocto-vars.py, at least in the files included this way.

Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
(From yocto-docs rev: b7375ea4380e716a02c736e4231aaf7c1d868c6b)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 16:02:39 +01:00
Michael Opdenacker
c6445c3aa1 manuals: refer to "YP Compatible" layers instead of "curated" ones
(From yocto-docs rev: dce5dd78d3bc7510e06cf5748033ee9c2888a405)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 16:02:39 +01:00
Michael Opdenacker
a19ee03611 manuals: correct and improve descriptions of Autotools
(From yocto-docs rev: c7cb693673566ec12b95c568945b514ed0e18522)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 16:02:39 +01:00
Michael Opdenacker
8c42eaa2e0 overview-manual: licensing section fixes
Remove the reference to the GPL license, unnecessary
in this part of the manual and pointing to a wrong
link (LGPL instead of GPL).

Anyway, we have no authority to say that the MIT license
is compatible with the GPL.

Also provide details about the MIT license through Wikipedia,
instead of just the raw license text with no explanations
through opensource.org.

(From yocto-docs rev: a09fcd9d850d2b52f40d953b11412c9568a77db7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 16:02:39 +01:00
Robert Yang
98a4a4a613 bitbake: fetch2/ssh.py: decode path back for ssh
The path has been encoded by urllib.parse.quote(), so decode it back for ssh.

Fixed when fetch from PREMIRRORS via ssh:
$ bitbake bonnie++ libsigc++-2.0 -cfetch

scp: /path/to/downloads/libsigc%2B%2B-2.10.7.tar.xz: No such file or directory

(Bitbake rev: c1c8fc678eb4783cea3974328a5fa8d1b79f1266)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 11:21:31 +01:00
Richard Purdie
1bd70f469d bitbake: fetch2/osc: Add missing parameter
This probably means the osc fetcher isn't being used but fix the missing
parameter.

(Bitbake rev: a23c201cb6efc5c0abf763c26f905442f0eebb68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 11:21:31 +01:00
Ross Burton
5bca57859b bitbake.conf: mark all directories as safe for git to read
Recent git releases containing [1] have an ownership check when opening
repositories, and refuse to open a repository if it is owned by a
different user.

This breaks any use of git in do_install, as that is executed by the
(fake) root user. Whilst not common, this does happen.

Setting the git configuration safe.directories=* disables this check, so
that git is usable in fakeroot tasks.  This can be set globally via the
internal environment variable GIT_CONFIG_PARAMETERS, we can't use
GIT_CONFIG_*_KEY/VALUE as that isn't present in all the releases which
have the ownership check.

We already set GIT_CEILING_DIRECTORIES to ensure that git doesn't
recurse up out of the work directory, so this isn't a security issue.

[1] 8959555cee

(From OE-Core rev: 8bed8e6993e7297bdcd68940aa0d47ef47120117)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 11:21:04 +01:00
Richard Purdie
5546a868b5 base: Drop git intercept
We're going to use the environment approach for solving this issue.

(From OE-Core rev: 0982977dc052ad4e65608f6853f930121d08837a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 11:21:04 +01:00
Richard Purdie
0436965a40 layer.conf: Post release codename changes
Post release add langdale to the series names.

(From OE-Core rev: dc3b319a5fc47372bc111da5bc26d7dda1b17598)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-27 11:21:04 +01:00
Michael Opdenacker
c2f2e2e633 meta-poky: update conf-notes.txt
Now suggesting to run 'runqemu qemux86-64',
aligning with conf-notes.txt in openembedded-core

'runqemu qemux86' doesn't work any more.
The "Quick Build" documentation has already been updated
but not this message that we get when sourcing "oe-init-build-env"

(From meta-yocto rev: d0d39a9057b3da3de339b8fa81545be9800478e8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 22:23:02 +01:00
Chen Qi
9c745b6a4c go.bbclass: disable the use of the default configuration file
We need to disable the use the default configuration file. This is
to ensure that user settings do not mess things up when building go
recipes.

For example, if I set 'GOBIN=./relative/path' in $HOME/.config/go/env,
then go-runtime fails to build with error like below:

  cannot install, GOBIN must be an absolute path

According to `go help environment',
"""
Setting GOENV=off in the environment disables the use of the default
configuration file.
"""

We can explicitly disable the configuration file by setting GOENV to off.

(From OE-Core rev: 711b41744ab08ee62c71cdccca335a7828ec0ba1)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 22:23:02 +01:00
Davide Gardenal
284b61d386 create-spdx: delete virtual/kernel dependency to fix FreeRTOS build
When building FreeRTOS this dependency generates an error because
bitbake cannot find any provider for "virtual/kernel".
>From a dependency analysis the task is executed independently from
this so it can be safely removed.

This patch has been discussed in this ML thread:
https://lists.openembedded.org/g/openembedded-core/topic/90602531

(From OE-Core rev: 1c02b768a71ec88bfe1cc0c4443683de8b66056e)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:26:40 +01:00
Richard Purdie
e464cc46bc set_versions: Add a getlatest command to obtain the latest release branch name
This will allow the autobuilder-helper run-docs-build script to obtain
the latest release name.

(From yocto-docs rev: 733b7f301e44010579e1315f19eff737628d635e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Chen Qi
57627d99bd cases/buildepoxy.py: fix typo
(From OE-Core rev: 3a9b6e71d1e7e8e2ebc0ed047841e36f09300387)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Khem Raj
ba14e49759 musl-locales: Add package
This package will provide a limited set of localedata for musl based
systems. It will fill in into images when IMAGE_LINGUAS variable is set
however the choice is limited to the given 13 locales as of now.

e.g.
IMAGE_LINGUAS ?= "de-de fr-fr en-gb"

would work fine

Default locale can be set by exporting LANG=<locale> in /etc/profile or some
such file e.g.

export LANG=de_DE.UTF-8

This will also help in ptest coverage with musl where some test packages
expect locales e.g. pango to name one.

Do not empty out IMAGE_LINGUAS forcibly for musl anymore

(From OE-Core rev: 5643f9722db250ac9eb4f955b02500420cb29556)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Peter Kjellerstedt
d7300f37a3 devshell.bbclass: Allow devshell & pydevshell to use the network
Otherwise it will fail if using OE_TERMINAL = "xterm" with the not so
helpful error:

  xterm: Xt error: Can't open display: localhost:0.0

(From OE-Core rev: ba53fc3bcecfe32401471dc1008c7ead96504150)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Peter Kjellerstedt
1e48a0e438 terminal.py: Restore error output from Terminal
In bitbake commit 1ecc1d94 (process: Do not mix stderr with stdout),
bb.process.Popen() was changed to no longer combine stdout and stderr by
default. However, the Terminal class was not updated to reflect this and
subsequently only output stdout in case of failures.

(From OE-Core rev: 116d0bb07ba044cf8847bf3d5c3996ad7e58b7ae)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Carlos Rafael Giani
490bec3d50 gstreamer1.0: Minor documentation addition
This clears up some confusing packageconfigs.

(From OE-Core rev: b5b682f80fba4a62cb1ff7050c97f5b1e204d5a9)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Carlos Rafael Giani
d70d41b160 gstreamer1.0-plugins-good: Fix libsoup dependency
(From OE-Core rev: 7f66a3123c9ce77e9af538009fc51bf190703433)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Ross Burton
7c46475954 python3: ignore CVE-2015-20107
CVE-2015-20107 describes an arbitrary command execution in the mailcap
module, but this is by design in mailcap and needs to be worked around
by the calling application.

Upstream Python will be documenting this flaw in the library reference,
and it is likely that the mailcap module will be deprecated and removed
in the future.

(From OE-Core rev: 85fac8408baf92d8b71946f5bfea92952b7eab01)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Ross Burton
7bd13c6a08 subversion: upgrade to 1.14.2
This release is primarily to fix two CVEs:
- CVE-2021-28544
- CVE-2022-24070

It also rewrites the macOS autoconf macros to be cross-compile friendly,
so we don't need to delete them anymore.

(From OE-Core rev: ecfbc2ef45a76ab96d215954ca0a109545e6ff02)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Ross Burton
53dca17ec3 e2fsprogs: fix CVE-2022-1304
Backport a submitted patch to fix CVE-2022-1304.

(From OE-Core rev: 31fd4ca6fa85ed1e62faf37e6d7bed5b558cb309)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Khem Raj
5eba125dde busybox: Use base_bindir instead of hardcoding /bin path
This symlink is not valid when using usrmerge and ptest packaging would fail

Exception: FileExistsError: [Errno 17] File exists: '/usr/bin/busybox.suid' -> '/mnt/b/yoe/master/build/tmp/work/ppc64p9le-yoe-linux-musl/busybox/1.35.0-r0/package/usr/lib/busybox/ptest/bin/login'

(From OE-Core rev: 238fd30689054c7b44176dce7180fb6dac4e1b6f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Khem Raj
468b732703 qemu.bbclass: Extend ppc/ppc64 extra options
Some recipes are marked machine specific which need qemu usermode during
build eg. if they use meson build system, which means they wont get
right -cpu settings to run qemu-ppc/qemu-ppc64 and build fails, this
ensures that we set the right options when PACKAGE_ARCH is set to
MACHINE_ARCH on ppc/ppc64 qemu

(From OE-Core rev: 9f71bbe65a458f08cd8ede6522c8b988603202a0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Khem Raj
d32aa383f4 glibc: Update to latest 2.35 tip
Brings in below changes

* 499a601796 Default to --with-default-link=no (bug 25812)
* 70f1eecdc1 scripts: Add glibcelf.py module
* d3feff2232 m68k: Handle fewer relocations for RTLD_BOOTSTRAP (#BZ29071)
* 68d3a9a696 nptl: Fix pthread_cancel cancelhandling atomic operations
* 8e8d46d598 mips: Fix mips64n32 64 bit time_t stat support (BZ#29069)
* bd415684df hurd: Fix arbitrary error code
* ba9c42ac0e nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029)
* 6583d53445 S390: Add new s390 platform z16.
* cc9a4a664f elf: Fix memory leak in _dl_find_object_update (bug 29062)
* db03235895 NEWS: Move PLT tracking slowdown to glibc 2.35.
* 9be62976af hppa: Use END instead of PSEUDO_END in swapcontext.S
* 01d5214bb4 hppa: Implement swapcontext in assembler (bug 28960)
* 123bd1ec66 nss: Protect against errno changes in function lookup (bug 28953)
* c54c5cd8e3 nss: Do not mention NSS test modules in <gnu/lib-names.h>
* 3149f47b80 io: Add fsync call in tst-stat
* e30c1c73da nptl: Fix cleanups for stack grows up [BZ# 28899]
* ca0570fee3 hppa: Fix warnings from _dl_lookup_address
* d82d9cdff4 hppa: Revise gettext trampoline design
* 2631d3b3a6 hppa: Fix swapcontext
* 1f77081178 Fix elf/tst-audit2 on hppa
* c60e6a458b hppa: Fix bind-now audit (BZ #28857)
* 90797f4972 localedef: Handle symbolic links when generating locale-archive
* 732dd3a63d localedata: Do not generate output if warnings were present.
* 3feecd8001 localedef: Update LC_MONETARY handling (Bug 28845)
* a787325e83 NEWS: Add a bug fix entry for BZ #28688
* 264ad5d7d6 resolv: Fix tst-resolv tests for 2.35 ABIs and later
* e247a3b118 elf: Replace tst-audit24bmod2.so with tst-audit24bmod2
* 1dd783fafd elf: Check invalid hole in PT_LOAD segments [BZ #28838]
* 3226ffde07 NEWS: Add a bug fix entry for BZ #28896
* 676f85759c x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c
* d001088e22 x86: Test wcscmp RTM in the wcsncmp overflow case [BZ #28896]
* fd412fff6d x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #28896]
* a30807b7db string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]
* f055faf801 linux: Use socket-constants-time64.h on tst-socket-timestamp-compat
* 491f2ef1f0 linux: fix accuracy of get_nprocs and get_nprocs_conf [BZ #28865]

(From OE-Core rev: f199c89a9b94ba371d3c6b9a9b5afe06d9a7fb9b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Khem Raj
2ef5a649cf libc-glibc: Use libxcrypt to provide virtual/crypt
Fixes
NOTE: Multiple providers are available for virtual/crypt (libxcrypt, musl)
Consider defining a PREFERRED_PROVIDER entry to match virtual/crypt

(From OE-Core rev: 4417dbf6fcb1f067705c8bd2220f4093ba899cc1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 18:25:08 +01:00
Michael Halstead
5639708757 set_versions: update for 4.0 release
Uncomment langdale lines to bump the version.

(From yocto-docs rev: e0016979413ab27f2e5db88ae1de180507c759c2)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 10:56:47 +01:00
Michael Halstead
a3e459ca58 releases: update for yocto 4.0
Bump various versions and names.

(From yocto-docs rev: 7c617e7e956696842c03a7b18baff931b72d70db)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 10:56:47 +01:00
Lee Chee Yang
32cf5343f7 migration-guides: release-notes-4.0: update 'Repositories / Downloads' section
(From yocto-docs rev: e814a998cc0a7c451a77df0304d0a69a27ac08ae)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:09 +01:00
Quentin Schulz
2d951f8f4f docs: migration-guides: release-notes-4.0: replace kernel placeholder with correct recipe name
If I am not mistaken, the only kernel recipe to have a new PACKAGECONFIG
option is linux-yocto-dev, in commit 1bac831fba
"linux-yocto-dev: introduce dt-validation PACKAGECONFIG".

Therefore, let's replace (kernel) by the one kernel recipe that has this
change.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 1882954924cef9f17caad0f83973afe08f4db764)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:09 +01:00
Quentin Schulz
9339b864f3 docs: migration-guides: release-notes-4.0: fix risc-v typo
It's RISC-V and not RiscV, c.f. https://riscv.org/ (yes, no dash in the
domain name...).

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 1a5fd51a50fe39d8095bb5a4f34d6b953e59c58f)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:09 +01:00
Quentin Schulz
ee65af5674 docs: migration-guides: migration-3.4: mention that hardcoded password are supported if hashed
Plaintext/clear passwords are not supported anymore but hashed passwords
still are. Mention that in the migration guide and point to the
appropriate location of documentation.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: f8b9697ec7bcc188db5ce9e5067bc82c023b79d9)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:09 +01:00
Quentin Schulz
78874e0126 docs: ref-manual: variables: add hashed password example in EXTRA_USERS_PARAMS
Add examples for hashed hardcoded passwords from extrausers.bbclass so
that this feature is not hidden away.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 5db73c7c5668144ed4629f95378e44f0bd8c8256)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:09 +01:00
Quentin Schulz
57e245dd09 docs: conf.py: fix cve extlinks caption for sphinx <4.0
extlinks captions support using %s substitution but only from sphinx 4.0
onwards.
c.f. https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html#confval-extlinks

Weirdly enough, on older sphinx versions, the caption is just a prefix
to the actual text passed to the extlink. Therefore, in that specific
case, CVE- or CVE-%s are identical in meaning for sphinx >=4.0 and since
only CVE- caption works on sphinx <4.0, let's go with CVE- caption
prefix.

Fixes: b311070d866cf "manuals: add 3.4 and 3.4.1 release notes after migration information"
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: c9922076f5c1285d9cfd6aff8ce5b6635d88222f)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:09 +01:00
Paul Eggleton
d653a43665 ref-manual: add ZSTD_THREADS
ZSTD_THREADS is new for kirkstone.

(From yocto-docs rev: b970936b89bebb184c82be3a9514a9eba7c04f9b)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:09 +01:00
Richard Purdie
e2cb52612e ref-manual: Add XZ_THREADS and XZ_MEMLIMIT
XZ_THREADS and XZ_MEMLIMIT were introduced in dunfell.

[RP improved an original patch from Paul]
(From yocto-docs rev: 96defb66b775093b5270bd1ebad0461c2bba1e5b)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:09 +01:00
Paul Eggleton
c1496e2268 migration-guides: add release notes for 4.0
Generated from commits in the kirkstone branch, as well as a few entries
from the migration guide.

(Note that the "Repositories / Downloads" section still needs to be
filled in.)

(From yocto-docs rev: 0c66638e61d3e16ac8d4b7ebc4ec6fb35625bf4f)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:09 +01:00
Paul Eggleton
f84b6a775c migration-guides: complete migration guide for 4.0
* Make some corrections to preliminary set of entries
* Move out entries that were more appropriate for the release notes
  (i.e. that are more additions rather than changes that require the
  user to make changes)
* Add new entries based on commits in the kirkstone branch

(From yocto-docs rev: bea2da80e7c5338dc5abefe95ce27b80ed4ee98a)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:09 +01:00
Paul Eggleton
d89fbdfd16 ref-manual: add empty-dirs QA check and QA_EMPTY_DIRS*
This check is new in kirkstone.

(From yocto-docs rev: baa483e75538013be3261f8c115b8a5364b24c60)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:09 +01:00
Paul Eggleton
c3067e46c0 ref-manual: add KERNEL_DEBUG_TIMESTAMPS
New variable in kirkstone.

(From yocto-docs rev: 2c5d4938a09fd35f9e86f682cde89d4693762725)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:08 +01:00
Paul Eggleton
71fafac324 ref-manual: add mention of vendor filtering to CVE_PRODUCT
Mention the vendor filtering functionality - prompted by OE-Core
revision 45d1a0bea0c628f84a00d641a4d323491988106f.

(From yocto-docs rev: 13ff5a49f14a26772b4775d9ecd08627e6becd4d)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:08 +01:00
Paul Eggleton
0dd9a182ac ref-manual: mention wildcarding support in INCOMPATIBLE_LICENSE
Add this since the INCOMPATIBLE_LICENSE wildcard support has changed in
the 4.0 release.

(From yocto-docs rev: c7946863e5a9d62a49131b92cc9549da9b799bbd)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:08 +01:00
Paul Eggleton
30b4b153d6 ref-manual: add a note about hard-coded passwords
It seems prudent to point out that hard-coding passwords in the manner
detailed in the example is not a good idea in production. This type of
mistake has unfortunately been made by many device vendors (outside of
the Yocto Project context) leading to security vulnerabilities.

(From yocto-docs rev: 1d07dba9423ae0a841eccb58c297e31b63c3965d)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:08 +01:00
Paul Eggleton
11025bed13 migration-3.4: add missing entry on EXTRA_USERS_PARAMS
We missed noting this in 3.4 but I noticed the documentation was
recently updated, so note the removal.

(From yocto-docs rev: f661e62d6faf48dbb6c6fd9a61a6448ec339d2bf)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:14:08 +01:00
Henning Schild
5ec6839709 wic: do not use PARTLABEL for msdos partition tables
When using "msdos" partition tables and "--label" but not "--use-uuid"
one can generate images which will not find their root, because
PARTLABEL does not work for "msdos".

Fix that by simply not going the PARTLABEL path in case of "msdos".

Fixes: 2fb247c5ecf0 ("wic: support rootdev identified by partition label")
(From OE-Core rev: 9ea1a838b946020e026edc032039552b723fcaa4)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 23:42:51 +01:00
Alex Kiernan
146bb6b235 wpa-supplicant: Package shared library into wpa-supplicant-lib
When CONFIG_BUILD_WPA_CLIENT_SO is enabled, package the library into
wpa-supplicant-lib.

(From OE-Core rev: 0f96a77c431bba9ae89fb6ee079f460c011b9b36)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 23:42:51 +01:00
Alex Kiernan
8809c23a6b wpa-supplicant: Install wpa_passphrase when not disabled
As part of fixing CONFIG_NO_WPA_PASSPHRASE, whilst wpa_passphrase gets
built, its not installed during `make install`.

(From OE-Core rev: 94c31ba28eb7bc3ab68876b3433cd3534679a3b6)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 23:42:51 +01:00
wangmy
801b8a2970 python3-hypothesis: upgrade 6.41.0 -> 6.44.0
(From OE-Core rev: 13d4b1bef1863b729045af64b8f88ff69e099696)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 23:42:51 +01:00
wangmy
408776f94e apt: upgrade 2.4.4 -> 2.4.5
(From OE-Core rev: 6a6462fd0ab140b554f4bda260e26b938cd44dc2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 23:42:51 +01:00
Khem Raj
a8d664c7a1 gcompat: Fix build when usrmerge distro feature is enabled
(From OE-Core rev: b1154d5fe7e75bb46132165b13ed76ce95413b25)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 23:42:51 +01:00
Khem Raj
fba37dce43 musl: Fix build when usrmerge distro feature is enabled
(From OE-Core rev: 02fd8e760cac1d2e0e25a4e3dbea3f2844b9fd01)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 23:42:51 +01:00
Khem Raj
44a36caa7c gcc: Upgrade to 11.3 release
This is a bugfix release on gcc-11 series, fixes 189 bugs [1]
Drop backported patches already included in 11.3 release

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=11.3

(From OE-Core rev: c6d508157058adae401059e36df7fa778852859b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 23:42:51 +01:00
Richard Purdie
7f89c7f929 xorg-app: Tweak handling of compression changes in SRC_URI
Rather than duplicating SRC_URI, change the compression to a variable.

(From OE-Core rev: 21547dd5319f27a8f7f20a80e39478f816b4bbe0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 08:27:48 +01:00
Richard Purdie
07c627645d poky/meta-yocto-bsp: Post release version/codename updates
(From meta-yocto rev: e6f4a7f76b8a60f365a111e0b38d6d5090a0b003)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 08:27:21 +01:00
Paul Gortmaker
2155919951 install/devshell: Introduce git intercept script due to fakeroot issues
In a devshell, recent versions of git will complain if the repo is owned
by someone other than the current UID - consider this example:

 ------
  bitbake -c devshell linux-yocto

  [...]

  kernel-source#git branch
  fatal: unsafe repository ('/home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source' is owned by someone else)
  To add an exception for this directory, call:

        git config --global --add safe.directory /home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source
  kernel-source#
 ------

Of course the devshell has UID zero and the "real" UID is for "paul" in
this case.  And so recent git versions complain.

As the whole purpose of the devshell is to invoke a shell where development
can take place, having a non-functional git is clearly unacceptable.

Richard suggested we could use PSEUDO_UNLOAD=1 to evade this issue, and I
suggested we probably will see other similar instances like this and should
make use of PATH to intercept via devshell wrappers - conveniently we already
have examples of this.

Here, we copy the existing "ar" example and tune it to the needs of git to
combine Richard's suggestion and mine.

As such we now also can store commit logs and use send-email with our user
specific settings, instead of "root", so in additon to fixing basic
commands like "git branch" it should also increase general usefulness.

RP: Tweaked the patch so the PATH change only applies to the devshell task
and is a generic git intercept rather than devshell specific.

RP: Also apply the PATH change to do_install tasks since that also runs under
fakeroot and several software projects inject "git describe" output into
their binaries (systemd, iputils, llvm, ipt-gpu-tools at least) causing
reproducibility issues from systems with different git versions.

(From OE-Core rev: 3266c327dfa186791e0f1e2ad63c6f5d39714814)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 08:27:21 +01:00
Richard Purdie
cbeda8ee3b bitbake: buildinfohelper: Drop unused variables
(Bitbake rev: d720dfa40620e64a557edef527148d58fcb1d858)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Richard Purdie
6d1d9f3d78 bitbake: runqueue: Drop pointless variable assignment
This is set at the start of the loop anyway so it does nothing. Drop
the pointless code.

(Bitbake rev: e6a3173c9cdf349ccbd4cf612868f92cce8717c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Richard Purdie
d796985f80 bitbake: persist_data: Use a valid exception for missing implementation
(Bitbake rev: 7254eb6b3e8ef504ef2274541dcc55f1d42238c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Richard Purdie
ff9f30b4c6 bitbake: ui/knotty: Drop pointless pass statement
(Bitbake rev: 625565087d8c9e7a6a79b0b4f3e5be2d77d5f100)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Richard Purdie
509090fd3e bitbake: siggen: Drop pointless break statement
(Bitbake rev: 42809f6acb79e39042e81d54c28efb92b7481e44)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Richard Purdie
d2ea881a00 bitbake: fetch2/crate: Drop unused import
(Bitbake rev: 879f17ecd5ba09e217cef74f6a51339b145e8ef5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Richard Purdie
004b0e03e1 bitbake: buildinfohelper: Drop unused function
The function has a loop where the variable is never used which I was going
to fix but the entire function never seems to be called so remove it entirely.

(Bitbake rev: 3bcb20f025907f4e88bbe3d14f5638d5f01010cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Richard Purdie
ebf1e90501 bitbake: msg: Drop unused local variable
(Bitbake rev: 140929b404ee1e2f5e0e1a3a1d3aa49fb3759ade)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Richard Purdie
8a3fe33438 bitbake: cooker: Drop unused loop
(Bitbake rev: 1c811ad6f10560e7a7fb6830cf83707551ba04bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Richard Purdie
4431ad2802 bitbake: ui/buildinfohelper: Drop unused import
(Bitbake rev: aca0ff85109f4b0f3c201c02c3f59cad7ee2e787)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Richard Purdie
a2e0ed2cbf bitbake: server/process: Drop unused import
(Bitbake rev: 543315e6463f15ca7ab2b4ef3e8ed41bb4207ccf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Richard Purdie
d951d478b8 bitbake: tests/parse: Fix one test overwriting another
Fix an issue where two tests have the same name with one overwriting the
other.

(Bitbake rev: da812d938fd79e2cc7bdf355ccf5b0f9ead684c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 21:00:35 +01:00
Dmitry Baryshkov
372ceb2321 arch-armv8-4a.inc: add tune include for armv8.4a
Add tune include for armv8.4a. This adds support only for bare armv8.4a
(and for crypto extension). There is no support for additional
instructions added by architecture extensions (except the main crypto
extension support).

(From OE-Core rev: 39743abada4a2459c74831aa78930de5461adee2)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 20:58:16 +01:00
Dmitry Baryshkov
a9808dfbe9 arch-armv8-2a.inc: fix a typo in TUNEVALID variable
Fix a typo in the TUNEVALID[armv8-2a]: It enables instructions for
ARMv8.2-a, not just ARMv8-a.

(From OE-Core rev: 0a4404c117ef8733713962767c1d2c9f87c2c990)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 20:58:16 +01:00
Dmitry Baryshkov
d00aa3c8d1 linux-firmware: split ath3k firmware
Atheros AR3011 Bluetooth devices require special ath3k-1.fw firmware
file. Package it separately from the main linux-firmware package to
allow deploying this firmware on embedded devices.

(From OE-Core rev: a12a5606f4c7003d9a90c493380c656ee557dea5)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 20:58:15 +01:00
Dmitry Baryshkov
d0fc375250 linux-firmware: correct license for ar3k firmware
According to the WHENCE file, some a3k firmware files are licensed
under the special ar3k license, while others are licensed under the more
generic Atheros license. Document this by adding extending the
LICENSE:${PN}-ar3k and depending on both of them.

(From OE-Core rev: 8e651814af706285d64b532095fcd6f5f02629ba)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 20:58:15 +01:00
Russ Dill
ce94e33aef kernel-yocto.bbclass: Fixup do_kernel_configcheck usage of KMETA
The do_kernel_configcheck task requires a meta directory, normally
set by ${KMETA}. The meta directory is taken as a relative path
from ${S}:

        outfile = "{}/{}/cfg/mismatch.txt".format( s, kmeta )

However, when checking for the presence of ${KMETA} the current
working directory is searched. This will almost always fail and
"kgit --meta" is used instead. If the user does have a path in
their current working directory that matches the ${KMETA}
variable but the path is not present within the kernel source
directory, the build will fail if it tries to write config errors/
warnings to that path.

If ${KMETA} is not set, the same problem exists with the hard-coded
"meta" directory.

Fix these issues by checking for ${KMETA} within ${S} rather than
the current working directory. Additionally, drop the hardcoded
backup directory "meta" as it hasn't been functioning and
probably has no users

(From OE-Core rev: f4a3e80a4a6f4f709d09940dcaf45b2b00654496)

Signed-off-by: Russ Dill <russ.dill@nikolamotor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 20:58:15 +01:00
Russ Dill
f2016af039 package.bbclass: Prevent perform_packagecopy from removing /sysroot-only
The files in /sysroot-only are intended to make it into the
recipes sysroot output, but not into the package. However, if
do_package is run before do_populate_sysroot, the files are
removed.

Use a smaller hammer to avoid copying the files into the package so
they are still around when do_populate_sysroot runs.

(From OE-Core rev: 493145c6f1bc92ab2b7a23e181641b09df87c9ff)

Signed-off-by: Russ Dill <russ.dill@nikolamotor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 20:58:15 +01:00
Andrei Gherzan
9e113e175b automake: Drop redundant 'u' flag in ARFLAGS
(From OE-Core rev: f099e0467599b18f162bc101d2de2fcc3a75b2ec)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 20:58:15 +01:00
Marius Kriegerowski
ab6fce5a33 bitbake: bitbake-diffsigs: Make PEP8 compliant
This ignores flake8 rules:
  * E402 module level import not at top of file
  * E501 line too long

(Bitbake rev: e8b176de448dc387c7a578c92b52aef28591038f)

Signed-off-by: Marius Kriegerowski <marius.kriegerowski@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-21 17:43:21 +01:00
Quentin Schulz
57b80a8a9a docs: sphinx-static: switchers.js.in: do not mark branches as outdated
Branches can never be outdated so let's check the release is not a
branch (branches end with .999).

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 4755961bbb5f674a7532b91cca20ea44a1e22ae7)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 17:25:34 +01:00
Quentin Schulz
ee6718fe08 docs: sphinx-static: switchers.js.in: fix broken switcher for branches
The switcher expects URL subpath to match the "release" used by sphinx
to build the documentation. Branches, however, are put in a subpath
after their name (e.g. dunfell) while sphinx sets the "release" to
X.Y.999. This means the switcher cannot replace correctly the path to
switch between releases/versions.

Let set_versions.py inject the list of release names into the
switchers.js.in file so it can check whether the subpath is one of the
release names in which case it needs to be stripped.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 5ef3d129b8d0d8ae98a694103930988a46285525)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 17:25:33 +01:00
Quentin Schulz
63e717738f docs: sphinx-static: switchers.js.in: rename all_versions to switcher_versions
This array only contains versions that can be selected through the
dropdown menu for switching between supported versions.

Therefore, let's rename it to switcher_versions to make its usecase
clearer.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 5c3d67751bf3f572a0788d3a4734b80e3453d084)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 17:25:33 +01:00
Quentin Schulz
8245b2b1d5 docs: set_versions.py: mark as obsolete only branches and old tags from obsolete releases
Branches are identified by their .999 version suffix which means they
will never be matched in the forloop above this git context. Therefore,
branches will match the condition. However, branches are not necessarily
obsolete (e.g. dunfell, honister and kirkstone today), so let's mark as
obsolete the branches which are from obsolete releases.

Old tags of currently supported releases are not defined as obsolete but
outdated, therefore using the series to which they belong like it is
done for branches is enough for obsolescence detection.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 7181a432da18b47608784363d243ea39b80be1ed)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 17:25:33 +01:00
Quentin Schulz
a041cb4ea5 docs: update Bitbake objects.inv location for master branch
master branch of Bitbake is now located at docs.yoctoproject.org/dev
instead of docs.yoctoproject.org so let's update the switchers and
set_versions.py to reflect that change.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 18338292d99ed236e2bac6e73a5152ef11c4a9e5)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:14:00 +01:00
wangmy
9c4de1482f xdpyinfo: upgrade 1.3.2 -> 1.3.3
temporarily override SRC_URI which is hard-coded in xorg-app-common.inc
since new versions of packages use a new compression format - .tar.xz

(From OE-Core rev: 712552b5cc427d7be1258c45886de9b57f7272c9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:14:00 +01:00
wangmy
4db76e434b mkfontscale: upgrade 1.2.1 -> 1.2.2
temporarily override SRC_URI which is hard-coded in xorg-app-common.inc
since new versions of packages use a new compression format - .tar.xz

(From OE-Core rev: 7ac5e224fe55db17651988435a569a8a25b6b09f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:14:00 +01:00
wangmy
b82be52b5d libxcursor: upgrade 1.2.0 -> 1.2.1
temporarily override SRC_URI which is hard-coded in xorg-lib-common.inc
since new versions of packages use a new compression format - .tar.xz

License-Update:
file type changed from "ISO-8859 text" to "UTF-8 Unicode text".

(From OE-Core rev: 925db25e62341bb2b8d5eded0aa9b220433a93d1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:14:00 +01:00
Naveen Saini
a807ba311d gstreamer1.0-plugins-bad: drop patch
With latest gstreamer version pkg-config able to find header
path with msdk enabled.

Drop this patch as its not require anymore.

(From OE-Core rev: eaa3b31247b4d3cc47428f4d80ae31f232e344d4)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:14:00 +01:00
Khem Raj
e64ee2d2a2 seatd: Disable overflow warning as error on ppc64/musl
Disabling the warning is easier fix then trying to fix it
in musl which results in ABI breakage and disabling the Werror
gets us along by doing minimal change, also see [1]

[1] https://todo.sr.ht/~kennylevinsen/seatd/10

(From OE-Core rev: 381cf11b994d2bf40ac8781e18b5eac17b3b6cb0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:14:00 +01:00
Ross Burton
eccb34f80c qemux86-64: disable legacy i8042 (AT keyboard, PS/2 mouse)
These devices are historical, modern Linux will just use the USB
devices, and occasionally the init of these devices fails:

  atkbd serio0: Failed to deactivate keyboard on isa0060/serio0
  psmouse serio1: Failed to reset mouse on isa0060/serio1: -5

Explicitly add a USB keyboard to go with the USB tablet, and disable the
i8042 entirely.

[ YOCTO #14718 ]
[ YOCTO #14743 ]

(From OE-Core rev: c01f47003f34b9ad2fe3d17e1ead84c27ee1e57d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:14:00 +01:00
Ross Burton
42ed634570 qemu: backport a patch to optionally disable i8042 (AT and PS/2) hardware
Backport a patch from upstream (will be in qemu 7.0) to add an option to
disable the legacy i8042 support (AT keyboard, PS/2 mouse).  These
devices are very historical and modern Linux environments use USB anyway.

(From OE-Core rev: d73e4fcfc9ca4aab25f7751ba17974a839d6340f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:14:00 +01:00
Jasper Orschulko
7a38659443 repo: upgrade 2.22 -> 2.23
(From OE-Core rev: cdee5d8a70e009c532efaa6c403953b905ba67af)

Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:13:59 +01:00
Simone Weiss
f422dabbd7 libgpg-error: Add ptest
Add a ptest for libgpg-error to core-image-ptest-all. Avoid refreshing the
Makefile in qemu as this would fail and is not needed. All tests passed on
a trial run.

(From OE-Core rev: 51dd52604eb73c55fc32a99c3208653f27ba4091)

Signed-off-by: Simone Weiss <simone.weiss@elektrobit.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:13:59 +01:00
Peter Marko
7112e20cd2 openssl: extract legacy provider module to a separate package
This module contains legacy cipher suites from libcrypto.
We should not need to include base package because we want
  to use this part of libcrypto.

(From OE-Core rev: 1537ebc3f6ae2aec9a3864b03704ab4dbc0e971b)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:13:59 +01:00
wangmy
1c688b1049 kexec-tools: upgrade 2.0.23 -> 2.0.24
refresh 0001-arm64-kexec-disabled-check-if-kaslr-seed-dtb-propert.patch

(From OE-Core rev: 633247f8b84aeb2bd109567bb469a4de4cf53804)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:13:59 +01:00
wangmy
2e269144c9 gptfdisk: upgrade 1.0.8 -> 1.0.9
0001-gptcurses-correct-ncurses-6.3-errors.patch
removed since it's included in 1.0.9.

Changelog:
===========
- Added support for aligning partitions' end points. This feature affects the
  default partition size when using n in gdisk; it affects the default
  partition size in cgdisk; and it's activated by the new -I option in sgdisk.
  See the programs' respective man pages for details. This feature is intended
  to help with LUKS2 encryption, which reacts badly to partitions that are not
  sized as exact multiples of the encryption block size.
- Added several new partition type codes:
      FreeBSD nandfs (0xa506)
      Apple APFS Pre-Boot (0xaf0b)
      Apple APFS Recovery (0xaf0c)
      ChromeOS firmware (0x7f03)
      ChromeOS mini-OS (0x7f04)
      ChromeOS hibernate (0x7f05)
      U-Boot boot loader (0xb000)
      27 (!) codes for Fuchsia (0xf100 to 0xf11a)
- Added the ability to build sgdisk and cgdisk for Windows.
- Added a check for too-small disks (most likely to be an issue when trying to
  use a too-small disk image); program now aborts if this happens.
- Removed stray debugging code that caused partNum is x to be printed when
  changing a partition's name with sgdisk.
- Fixed build problems with recent versions of ncurses.
- Fixed bug that caused cgdisk to report incorrect partition attributes.

(From OE-Core rev: a0e6ee2b34ae21764f8a5a649916488902016395)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:13:59 +01:00
wangmy
a4df7ceead dropbear: upgrade 2020.81 -> 2022.82
refresh the following patches for new version:
0001-urandom-xauth-changes-to-options.h.patch
0005-dropbear-enable-pam.patch
dropbear-disable-weak-ciphers.patch

Changelog:
https://github.com/mkj/dropbear/releases/tag/DROPBEAR_2022.82

(From OE-Core rev: d5f9c44ede9babd0f48306cfefe4a16065e8ea30)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:13:59 +01:00
Pgowda
41984559c8 glibc: ptest: Fix glibc-tests package issue
Run glibc-tests only when its enabled in the DISTRO_FEATURES.

(From OE-Core rev: 5555e7cf935b047a3dc3228d26bf0fd52eb425e5)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:13:59 +01:00
wangmy
9e87e26379 python3-sphinx-rtd-theme: upgrade 0.5.0 -> 1.0.0
(From OE-Core rev: 3ecc9de517c136d5ee5c5fbf4ea3a54a73c4cad0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:13:59 +01:00
wangmy
7cbd9f847d python3-jsonpointer: upgrade 2.2 -> 2.3
(From OE-Core rev: 604219028487a60f1f09f7177005e58cf4243c82)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-20 13:13:59 +01:00
Quentin Schulz
b5882ec908 docs: set_versions.py: fix latest version of an active release shown as obsolete
ourseries can be an active release and therefore shouldn't be marked as
obsolete. By adding ourseries to activereleases, it is impossible to
know if ourseries is actually an active release or not. Instead let's
loop on the active releases with ourseries too (only if it's not active
release, otherwise it'd appear twice).

Fixes: 6f40ef56054ec "docs: set_versions.py: add information about obsolescence of a release"
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: f16b633211b97b2cdf2c65d83c99cd3853d2bb5c)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 22:07:52 +01:00
Quentin Schulz
36ccca5cba docs: set_versions.py: fix latest release of a branch being shown twice in switchers.js
versions array is supposed to store the latest version of all active
releases. However, in the loop it is reassigned and therefore, the check
on whether our version is already in the versions array will always
return false (except for the latest version of the last active release)
and write our version again in the list.

By using a local variable for the logic instead of versions array, the
check now works properly.

Fixes: f2b069be8c307 "set_versions: Various improvements"
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 36a088c8c99dd37f5ca07ec8f90f2c51ef8b36f2)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 22:07:52 +01:00
Joerg Vehlow
460012e04a go: Always pass interpreter to linker
When gos internal linker is used, it uses hardcoded paths to the
interpreter (dynamic linker). For x86_64 this hardcoded path is
/lib64/ld-linux-x86-64.so.2, but yocto's default dynamic linker path
is /lib64/ld-linux-x86-64.so.2.
Most of the time, the internal linker is not used and binutils linker
sets the correct path, but sometimes the internal linker is used and
the resulting binary will not work on x86_64.

To ensure the path is always correct, pass  it to the linker.

(From OE-Core rev: 6b54215074d7f3dbba07f096f16b9c0acf51527c)

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:42:20 +01:00
Alexander Kanavin
f991834848 go-helloworld: update to latest revision
(From OE-Core rev: aebf611b2a9f4c3a563b3a636c46ef239fe4daf3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:42:20 +01:00
Khem Raj
4eeb2afd0e go-target: Pass -trimpath to go linker
This is for improving reproducibility to trim absolute paths as these
recipes do not inherit go bbclass where it would be set automatically

(From OE-Core rev: 365dae4e47b956b39fb62d9c6dcb917a11b37cba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:42:20 +01:00
Khem Raj
4e0d6af832 go: Disable pie in cgo for mips
This overcomes the linking errors e.g.
| /usr/lib/go/src/cmd/go/internal/base/base.go:110:(.text+0x60fef8): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC         | /usr/lib/go/src/cmd/go/internal/base/base.go:110:(.text+0x60ff0c): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC

(From OE-Core rev: 4b379e94ea6d5b96245c8724689209b44cace562)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:42:20 +01:00
Khem Raj
ab9be8acf4 go: Drop GOBUILDMODE
This is local invention which is no longer needed, pie-mode works good
now a days to build go for target

(From OE-Core rev: 118411a565fb39df4bbae2a0ef2b25f03607a3a5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:42:20 +01:00
Khem Raj
8dc1f28aa1 go: Upgrade to 1.18
1.18 is a major release brings in long awaited new features e.g.
generics, fuzzing

Detailed list is here [1]

Drop patches to manipulate multiword CC/CXX as go has fixed it
differently [2]

Drop cgo portion of patch to hack hash generation logic
either we should find a way to not use it or redo it,
in current form its not upstreamable and its
altering core features of go compiler, it can not be maintained as is

Do not emit linkinfo into the actionID

Drop ignoring CVE-2021-29923 its already addressed in go >= 1.17

[1] https://go.dev/doc/go1.18
[2] https://groups.google.com/g/golang-codereviews/c/fUhCbpYG7HE

(From OE-Core rev: 1a99cc2eed34434d75b2f53af1616ad79eef0906)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:42:20 +01:00
Richard Purdie
a6ebbe3a10 poky: Use INIT_MANAGER in main distro config
Just to keep things standard and clear, use the new INIT_MANAGER variable
in the main distro config. This matches the default config with the addition
of some DISTRO_FEATURES tweaks.

(From meta-yocto rev: 07556802447a157bfdae842354c064e50ae09d42)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:15:09 +01:00
Jon Mason
ebb14f9530 poky-tiny: add a distro description
(From meta-yocto rev: a2d3b25b2900560bd724731c3d3124a33e608b8c)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:15:09 +01:00
Peter Kjellerstedt
51ed090de1 bitbake: fetch2/git: Simplify the validation of SHA-1 revisions
Also correct two comments, and move slash_re from _revision_key() to
the module top level (together with the new sha1_re).

(Bitbake rev: 98cad8636e9c82bc40a033bb83633ec994758eb0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:15:09 +01:00
Matt Madison
57b11d1724 bitbake: providers: use local variable for packages_dynamic pattern
During parsing, Python raises

   RuntimeError: dictionary changed size during iteration

in getRuntimeProviders, if you happen to have a recipe
with an explicit RDEPENDS on a dynamic package containing a '+'
character, such as 'gtk+3-locale-en'.

This is because we're using the modified pattern as the
key into the packages_dynamic dict to append to rproviders,
and since that key doesn't exist, the dict is getting modified
to add a new, empty, entry for it. So even without the runtime
error, we'd be generating an incorrect result.

Fix this by using a local variable for modifying the pattern
and using the original key to retrieve the value on a match.

(Bitbake rev: 07de375c3e57f17ab7b47569186f24ecd9896825)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:15:09 +01:00
zhengruoqin
20e64650d6 ruby: upgrade 3.1.1 -> 3.1.2
(From OE-Core rev: 1306c732a39070e12306b0b7a393e2a482c8b326)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
zhengruoqin
9917bbee0d wireless-regdb: upgrade 2022.02.18 -> 2022.04.08
(From OE-Core rev: c6ea7450a919f2b571746e7af350c1362e41f8e1)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
zhengruoqin
6d46321a15 openssh: upgrade 8.9p1 -> 9.0p1
(From OE-Core rev: ee2b6da307512beecebc468194d614ba5de33d01)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
zhengruoqin
bab5779e91 git: upgrade 2.35.2 -> 2.35.3
(From OE-Core rev: 457b5d4dad3e6fa77e80bed66666c36caa452380)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
wangmy
258f620ff1 libpcre2: upgrade 10.39 -> 10.40
License-Update: year updated to 2022

Changelog:
==========
1. Merged patch from @carenas (GitHub #35, 7db87842) to fix pcre2grep incorrect
handling of multiple passes.

2. Merged patch from @carenas (GitHub #36, dae47509) to fix portability issue
in pcre2grep with buffered fseek(stdin).

3. Merged patch from @carenas (GitHub #37, acc520924) to fix tests when -S is
not supported.

4. Revert an unintended change in JIT repeat detection.

5. Merged patch from @carenas (GitHub #52, b037bfa1) to fix build on GNU Hurd.

6. Merged documentation and comments patches from @carenas (GitHub #47).

7. Merged patch from @carenas (GitHub #49) to remove obsolete JFriedl test code
from pcre2grep.

8. Merged patch from @carenas (GitHub #48) to fix CMake install issue #46.

9. Merged patch from @carenas (GitHub #53) fixing NULL checks in matching and
substituting.

10. Add null_subject and null_replacement modifiers to pcre2test.

11. Add check for NULL subject to POSIX regexec() function.

12. Add check for NULL replacement to pcre2_substitute().

13. For the subject arguments of pcre2_match(), pcre2_dfa_match(), and
pcre2_substitute(), and the replacement argument of the latter, if the pointer
is NULL and the length is zero, treat as an empty string. Apparently a number
of applications treat NULL/0 in this way.

14. Added support for Bidi_Class and a number of binary Unicode properties,
including Bidi_Control.

15. Fix some minor issues raised by clang sanitize.

16. Very minor code speed up for maximizing character property matches.

17. A number of changes to script matching for \p and \P:

    (a) Script extensions for a character are now coded as a bitmap instead of
        a list of script numbers, which should be faster and does not need a
        loop.

    (b) Added the syntax \p{script:xxx} and \p{script_extensions:xxx} (synonyms
        sc and scx).

    (c) Changed \p{scriptname} from being the same as \p{sc:scriptname} to being
        the same as \p{scx:scriptname} because this change happened in Perl at
        release 5.26.

    (d) The standard Unicode 4-letter abbreviations for script names are now
        recognized.

    (e) In accordance with Unicode and Perl's "loose matching" rules, spaces,
        hyphens, and underscores are ignored in property names, which are then
        matched independent of case.

18. The Python scripts in the maint directory have been refactored. There are
now three scripts that generate pcre2_ucd.c, pcre2_ucp.h, and pcre2_ucptables.c
(which is #included by pcre2_tables.c). The data lists that used to be
duplicated are now held in a single common Python module.

19. On CHERI, and thus Arm's Morello prototype, pointers are represented as
hardware capabilities, which consist of both an integer address and additional
metadata, meaning they are twice the size of the platform's size_t type, i.e.
16 bytes on a 64-bit system. The ovector member of heapframe happens to only be
8 byte aligned, and so computing frame_size ended up with a multiple of 8 but
not 16. Whilst the first frame was always suitably aligned, this then
misaligned the frame that follows, resulting in an alignment fault when storing
a pointer to Fecode at the start of match. Patch to fix this issue by Jessica
Clarke PR#72.

20. Added -LP and -LS listing options to pcre2test.

21. A user discovered that the library names in CMakeLists.txt for MSVC
debugger (PDB) files were incorrect - perhaps never tried for PCRE2?

22. An item such as [Aa] is optimized into a caseless single character match.
When this was quantified (e.g. [Aa]{2}) and was also the last literal item in a
pattern, the optimizing "must be present for a match" character check was not
being flagged as caseless, causing some matches that should have succeeded to
fail.

23. Fixed a unicode properrty matching issue in JIT. The character was not
fully read in caseless matching.

24. Fixed an issue affecting recursions in JIT caused by duplicated data
transfers.

25. Merged patch from @carenas (GitHub #96) which fixes some problems with
pcre2test and readline/readedit:

  * Use the right header for libedit in FreeBSD with autoconf
  * Really allow libedit with cmake
  * Avoid using readline headers with libedit

(From OE-Core rev: a4fed908dbb53f7e03257bf317af534dda6a471c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
wangmy
c5c2373146 mtools: upgrade 4.0.38 -> 4.0.39
Changelog:
==========
Rename strtoi to strosi (string to signed int). The strtoi function
on BSD does something else (returns an intmax, not an int)

(From OE-Core rev: abfd393eb659dcd12d1eee34c62f157336e9fb07)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
wangmy
bb0ec4a2cf linux-firmware: upgrade 20220310 -> 20220411
License-Update:
    Version of driver files updated
    Added files for some drivers

(From OE-Core rev: 01684df3a51be476081ee21eb54c24fef00acb3f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
wangmy
0768ac2101 libcap: upgrade 2.63 -> 2.64
(From OE-Core rev: bfbf8f05d1789b8a8a6826b83a21fd09b8e903ad)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
wangmy
f9774a7178 libgit2: upgrade 1.4.2 -> 1.4.3
Changelog:
=========
Validate repository directory ownership (v1.4)
midx: Fix an undefined behavior (left-shift signed overflow)
fetch: support OID refspec without dst
Fix crash when regenerating a patch with unquoted spaces in filename

(From OE-Core rev: bef09c61ee32df214fb8cf6000e0314ff3a38156)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
wangmy
e143c8f8b2 libusb1: upgrade 1.0.25 -> 1.0.26
Changelog:
==========
* Fix regression with transfer free's after closing device
* Fix regression with destroyed context if API is misused
* Workaround for applications using missing default context
* Fix hotplog enumeration regression
* Fix Windows isochronous transfer regression since 1.0.24
* Fix macOS exit crash in some multi-context cases
* Build fixes for various platforms and configurations
* Fix Windows HID multi-interface product string retrieval
* Update isochronous OUT packet actual lengths on Windows
* Add interface bound checking for broken devices
* Add umockdev tests on Linux

(From OE-Core rev: 7353489980600af07d0771654da6a8a3b0df7572)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
wangmy
bb8996e6b9 libaio: upgrade 0.3.112 -> 0.3.113
refresh 00_arches.patch for new version.

(From OE-Core rev: 8846f78425b123a5afd97d309bd9bd582ee1ea31)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
wangmy
a6886f023a json-c: upgrade 0.15 -> 0.16
Changelog:
==========
Deprecated and removed features:
--------------------------------
* JSON_C_OBJECT_KEY_IS_CONSTANT is deprecated in favor of
  JSON_C_OBJECT_ADD_CONSTANT_KEY
* Direct access to lh_table and lh_entry structure members is deprecated.
  Use access functions instead, lh_table_head(), lh_entry_next(), etc...
* Drop REFCOUNT_DEBUG code.

New features
------------
* The 0.16 release introduces no new features

Build changes
-------------
* Add a DISABLE_EXTRA_LIBS option to skip using libbsd
* Add a DISABLE_JSON_POINTER option to skip compiling in json_pointer support.

Significant changes and bug fixes
---------------------------------
* Cap string length at INT_MAX to avoid various issues with very long strings.
* json_object_deep_copy: fix deep copy of strings containing '\0'
* Fix read past end of buffer in the "json_parse" command
* Avoid out of memory accesses in the locally provided vasprintf() function
  (for those platforms that use it)
* Handle allocation failure in json_tokener_new_ex
* Fix use-after-free in json_tokener_new_ex() in the event of printbuf_new() returning NULL
* printbuf_memset(): set gaps to zero - areas within the print buffer which
  have not been initialized by using printbuf_memset
* printbuf: return -1 on invalid arguments (len < 0 or total buffer > INT_MAX)
* sprintbuf(): propagate printbuf_memappend errors back to the caller

Optimizations
--------------
* Speed up parsing by replacing ctype functions with simplified, faster
  non-locale-sensitive ones in json_tokener and json_object_to_json_string.
* Neither vertical tab nor formfeed are considered whitespace per the JSON spec
* json_object: speed up creation of objects, calloc() -> malloc() + set fields
* Avoid needless extra strlen() call in json_c_shallow_copy_default() and
  json_object_equal() when the object is known to be a json_type_string.

Other changes
-------------
* Validate size arguments in arraylist functions.
* Use getrandom() if available; with GRND_NONBLOCK to allow use of json-c
  very early during boot, such as part of cryptsetup.
* Use arc4random() if it's available.
* random_seed: on error, continue to next method instead of exiting the process
* Close file when unable to read from /dev/urandom in get_dev_random_seed()

(From OE-Core rev: 536251685e6de9d120d79e37ddf9fabd8cbf1c17)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
wangmy
52bee892b5 help2man: upgrade 1.49.1 -> 1.49.2
(From OE-Core rev: 8f015041839b21fd7b0c8edc2aca5492ce6463a8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
wangmy
a79f143684 enchant2: upgrade 2.3.2 -> 2.3.3
Changelog:
==========
Update Nuspell provider, requiring Nuspell 5.1.0. The new provider takes
advantage of recently-added Nuspell APIs to be smaller and simpler.

Fix the C++ API is_added() method to return a boolean rather than void.

Require C99 and POSIX 2008, and as a result use fewer gnulib modules,
which gives a modest build time reduction.

(From OE-Core rev: f7e760c97164c1ad70fb0b88ddf2ffe8b7b0173e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
wangmy
79d8fb1da2 boost: upgrade 1.78.0 -> 1.79.0
0001-futex-fix-build-on-32-bit-architectures-using-64-bit.patch
de657e01635306085488290ea83de541ec393f8b.patch
removed since they're included in 1.79.0

Changelog:
https://www.boost.org/users/history/version_1_79_0.html

(From OE-Core rev: 091d73e893081bf15afa19a71203e941ac46b306)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
Kai Kang
72bb57ed0b update_udev_hwdb: fix multilib issue with systemd
It duplicates udevadm in systemd recipe to make it could run
update_udev_hwdb with multilib enabled. Since systemd last update,
it deploys a shared library libsystemd-shared-250.so in /lib/systemd/.
The library will be overwritten when multilib enabled. Then if both
udev-hwdb and lib32-udev-hwdb are installed, it fails to run the
multilib version postinstall intercept update_udev_hwdb:

| /path/to/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-small/1.0-r1/rootfs/usr/libexec/lib32-udevadm:
    error while loading shared libraries: libsystemd-shared-250.so: wrong ELF class: ELFCLASS64

`udevadm hwdb --update` just concatenates .hwdb files in dirs
/etc/udev/hwdb.d and /lib/udev/hwdb.d. The output file hwdb.bin is
identical with the one created by lib32-udevadm. So do NOT duplicate
lib32-udevadm in systemd and eudev. And update intercept script
update_udev_hwdb that re-run udevadm with same arch qemuwrapper if run
${binprefix}qemuwrapper failed.

(From OE-Core rev: 3dba872a42c2be7d0865a30118984ab013850292)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
Peter Kjellerstedt
73cdd40c9e u-boot: Inherit pkgconfig
pkg-config is used by the Makefiles, and thus pkgconfig needs to be
inherited.

(From OE-Core rev: 6148ac9bc5d3e0d0ffdbbd6695acd96ca1836b78)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
Peter Kjellerstedt
c7e0e7e716 u-boot: Correct the SRC_URI
This avoids a redirect.

(From OE-Core rev: 879bc5098943cf6977c32555ac31cb21be7b46ae)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
Davide Gardenal
41fd30c430 create-spdx: fix error when symlink cannot be created
If IMAGE_NAME and IMAGE_LINK_NAME are the same an
exception is raised in image_combine_spdx because
it cannot create a symlink with the same exact
path of the original file. In that case there is
no point in creating a link in the first place.

Refactor image_combine_spdx to avoid code duplication

(From OE-Core rev: 88f76bba705007a7fcda506c79f743060d8f2e52)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
Stefan Herbrechtsmeier
f72889eb00 recipetool: Do not use mutable default arguments in Python
Remove mutable default arguments in Python because they can lead to all
sorts of nasty and horrible bugs.

https://florimond.dev/en/posts/2018/08/python-mutable-defaults-are-the-source-of-all-evil/

Revert `recipetool: Change default paramter fallback_licenses of
function split_pkg_licenses from None to []` and instead check
fallback_licenses before use.

(From OE-Core rev: 99dee60b8db557f54783bf0f61098587badc683c)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
Alexander Kanavin
e4b2dd51a4 webkitgtk: adjust patch status
(From OE-Core rev: e43558d5357aadf08521e7fb6170ad0bfd69f3f3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Konrad Weihmann
1fa9675441 ncurses: use COPYING file
which has the same info as the in-file header used in before

(From OE-Core rev: 8618589c10f85b7a92de01d93180751a804837ea)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Konrad Weihmann
f98f758c12 git: correct license
by default git pulls in several code fragments not being licensed
under just GPL-2.0-only.

obstack and poll are licensed under GPL-2.0-or-later
reftable being BSD-3-Clause
sha1dc and inet_ntop being MIT
netmalloc being Bosst-1.0 aka BSL-1.0
regex being LGPL-2.1-or-later

(From OE-Core rev: 5184e651651ed949d198882a10f406cef5939b7b)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Ferry Toth
af0655441f package_manager: fix missing dependency on gnupg when signing deb package feeds
When signing the deb package feed gpg tools are a soft requirement. If gnupg-native
is not declared a dependancy the version from hosttools is used. Unfortunately the
gpg-agent version from Ubuntu 16.04 on the autobuilders is incompatible with the package_index task
and fails during oe-selftest. Fix by making gnupg-native a dependency.

Fixes: 0b4231b5 "package_manager: sign DEB package feeds"
Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: c063b658e30a24be9214abc23cd2a16c0260e93e)

Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Ferry Toth
4a3f3f2c34 apt: add apt selftest to test signed package feeds
Since Gatesgarth apt (1.8.2) has become more strict and doesn’t allow unsigned repositories by default.
Currently when building images this requirement is worked around by using [allow-insecure=yes] and
equivalently when performing selftest.

Patches "gpg-sign: Add parameters to gpg signature function" and "package_manager: sign DEB package feeds"
enable signed DEB package feeds. This patch adds a runtime test for apt derived from the test_testimage_dnf
test. It creates a signed deb package feed, runs a qemu image to install the key and performs some package
management. To be able to install the key the gnupg package is added to the testimage.

(From OE-Core rev: 3ec30490d09d6639eea2638cf12a323948f221cc)

Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Khem Raj
b550a21a66 pango: Skip test-layout ptest
This has intermittent behavior, is sensitive to harfbuzz version

(From OE-Core rev: 9c427fd674320253bb99f8885f1667398f59aba4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Khem Raj
29d26db667 pango: Drop using additional cflags with clang
This is no longer needed

(From OE-Core rev: 352f16f9f4af595e4c2c96ed7de60e87055b91be)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Khem Raj
0e1093e048 pango: Upgrade to 1.50.6
Changes in this release [1]

[1] 37a427018c
(From OE-Core rev: e456f25bca39feb9fc42656959cdea179622616c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Khem Raj
6b8101d296 harfbuzz: Upgrade to 4.2.0
Changes in this release [1] [2]

[1] https://github.com/harfbuzz/harfbuzz/releases/tag/4.1.0
[2] https://github.com/harfbuzz/harfbuzz/releases/tag/4.2.0

(From OE-Core rev: e8336c3d08a3609ed8cb7b86c39231f70a74f1a6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Khem Raj
4dea2ee73e mdadm: Drop clang specific cflags
This option is no longer needed

(From OE-Core rev: 8d7130937ea4e47f0fa4d23c1c8394e3ca3f939b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Khem Raj
5d55cebe61 riscv: Add tunes for rv64 without compressed instructions
(From OE-Core rev: 4790eaf98e030ffeecfbde6644137c9d6d1873d7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
wangmy
b66928407a libbsd: upgrade 0.11.5 -> 0.11.6
License-Update:
-  Copyright year updated to 2022
-  License ISC changed as following:
   remove "src/arc4random_openbsd.h" from Files
   add "test/explicit_bzero.c" and "test/strtonum.c" to Files
   add "Copyright © 2004 Otto Moerbeek <otto@drijf.net>"
   add "Copyright © 2014 Google Inc."

(From OE-Core rev: cfe9d0fc049458f893398bfe89359b819d840767)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Xu Huan
0528d1f270 python3-sphinx: upgrade 4.4.0 -> 4.5.0
License-Update:
- The following description added to "License for Sphinx":
  # +Unless otherwise indicated, all code in the Sphinx project is licenced under the
  # +two clause BSD licence below.

(From OE-Core rev: 135f625a4d34a92ba09494d651bad057c32f3352)

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alex Kiernan
46cdb52d7f wpa-supplicant: Package dynamic modules
If CONFIG_DYNAMIC_EAP_METHODS and some modules are set to `dyn` ensure
these are packaged as part of the build.

(From OE-Core rev: 6043e4332beea8073eb1148a59b66f0618c05e96)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alex Kiernan
4f2214775d wpa-supplicant: Simplify build/install flow
The build/install steps for wpa-supplicant support CFLAGS and an install
target, so use these rather than attempting to do it manually (which was
broken by upstream splitting into build.rules and lib.rules).

Note that this installs wpa_passphrase into sbindir rather than bindir.

(From OE-Core rev: d34e00cce8fb7489aaf404d0b2491b3bbb93a0ed)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alex Kiernan
38f46f257f wpa-supplicant: Use upstream defconfig
The copy of defconfig we were carrying was from 2014 and very out of
date; drop it and use the upstream version with appropriate edits for
our PACKAGECONFIG.

Switch PACKAGECONFIG to using a default (?=) rather than weak default
(??=) as per current recommendation.

(From OE-Core rev: d97bedd8bdcc8c5073e8feead72ea5640987125b)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alex Kiernan
e88e746eb2 wpa-supplicant: Build static library if not DISABLE_STATIC
Build the static library if the configuration indicates we should.

(From OE-Core rev: 28e25faf500861c25e50aeb898e5e933b5090916)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alex Kiernan
12f63535bd wpa-supplicant: Backport libwpa/clean build fixes
Enabling CONFIG_BUILD_WPA_CLIENT_SO or CONFIG_NO_WPA_PASSPHRASE do
nothing in the released 2.10 wpa-supplicant; backport the fixes for
this.

Also backport the fixes for `make clean` when `wpa_passphrase` is
built.

(From OE-Core rev: 179fedda2b347b0e9b17642afa4ba752587d4965)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alex Kiernan
3f8f8cb1f6 wpa-supplicant: Use PACKAGE_BEFORE_PN/${PN}
Use PACKAGE_BEFORE_PN for packages which need to capture files early,
switch to idiomatic ${PN} for additional packages.

(From OE-Core rev: c69b90a38203fc9c61f49c33591fbe445074c1ce)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alex Kiernan
254e75728b wpa-supplicant: Avoid changing directory in do_install
Changing directory leads to anyone coming later needing to be explicit
in their directory usage as the working directory is no longer ${B}.

(From OE-Core rev: 36555aa783ffe5420c6da96dfece12931afaefa6)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alex Kiernan
876430f8ac wpa-supplicant: Reorder/group following style guide
(From OE-Core rev: d99436b3c3f38584e3638b4ccaa6a14382e0c3a5)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Khem Raj
996c17eb5b gnupg: Disable FORTIFY_SOURCES on mips
This is a workaround for issue reported with gcc12 [1]

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105234

(From OE-Core rev: 8b8259e070c582d0c566535a3559aa712148efc0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Khem Raj
9b1f6a1998 systemtap: Fix build with gcc-12
Backport a patch to fix
| ../git/util.cxx:1766:56: error: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = int; _Result = int]' is deprecated: use 'std::function' instea
d [-Werror=deprecated-declarations]
|  1766 |                        std::not1(std::ptr_fun<int, int>(std::isspace))));
|       |                                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~

(From OE-Core rev: 0b360d12203aafd8bf96433d11221a6ed910a11f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Khem Raj
ac5477c482 xserver-xorg: Fix build with gcc12
backport patch to silence new array-bounds warnings

(From OE-Core rev: 54fa74e6e60472e10f1a11b3daa8ee9f00f0c9d5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Khem Raj
721a6e44da babeltrace: Disable warnings as errors
These settings are good for developers/maintainers but for distributions
generally disabling them turns out to be better especially when there is
a knob to do so. This fixes build with gcc-12 which find additional
warnings

    inlined from 'bt_ctf_object_set_parent' at ../../../git/src/ctf-writer/object.h:120:6,
    inlined from 'bt_ctf_trace_common_add_stream_class' at ../../../git/src/ctf-writer/trace.c:1243:3:
../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference]
  141 |                 if (child->parent) {
      |                     ~~~~~^~~~~~~~
../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference]
cc1: all warnings being treated as errors

(From OE-Core rev: 1898d10dd4d4372823e6c8b8c4ed28604e692365)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Richard Purdie
e89cdd353a buildtools: Add standalone make tarball
Some versions of make have bugs. Add a way to provide a make tarball
that can be used on it's own in these cases.

(From OE-Core rev: 4f1f6743fa252405075192633e19b9d2b03b7303)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Richard Purdie
6e4dec9910 buildtools-tarball: Only add cert envvars if certs are included
Users may or may not include the certificates in buildtools. Only set the
appropriate variables if they're present.

(From OE-Core rev: 0945a2a5d7c41af22e222a116aafacb4beee54d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alexander Kanavin
abff42ff31 squashfs-tools: update 4.5 -> 4.5.1
Drop backports.

Correctly set source and installation directories.

(From OE-Core rev: feaa1ed77c31a3c7dd8abe17d8d0e6f94157eb61)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Paulo Neves
15df00f0f0 selftest/lic_checksum: Add test for filename containing space
A fix is being added to bitbake to correctly handle spaces inside
checksum filenames. Add a test to oe-selftest to ensure this is
tested and doesn't regress in future.

(From OE-Core rev: 324109f034f069ee3e91a1a705b3449911a448de)

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Xu Huan
caea484eb8 python3-hypothesis: upgrade 6.39.5 -> 6.41.0
Changelog:
=========
This release changes the implementation of "infer" to be an alias for
"Ellipsis". E.g. "@given(a=infer)" is now equivalent to
"@given(a=...)". Furthermore, "@given(...)" can now be specified so
that "@given" will infer the strategies for all arguments of the
decorated function based on its annotations.

(From OE-Core rev: 394fa87b68d6b0030a2d706ce70c2d5c28c4304b)

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Xu Huan
ad529f66b3 python3-zipp: upgrade 3.7.0 -> 3.8.0
Changelog:
=========
Removed compatibility code.

(From OE-Core rev: 7109e72fcf1dd5f6ad35903ded6f2450f8afaf09)

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Jon Mason
b48c0f0317 poky-tiny: enable qemuarmv5/qemuarm64 and cleanups
Add support for qemuarmv5 and qemuarm64, and remove qemuarm specific
entries, as it should be generic now.

(From OE-Core rev: 9bd21e1130155ad1ec704e0151a22e9f84bfaa78)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Jon Mason
d2e51251fa qemuarm64: use virtio pci interfaces
The virtio PCI devices seemed to be required for this machine for some
versions of qemu (based on errors from running qemu saying that the
devices don't exist).  Changes to the entries here is all that is needed
to get it working.

(From OE-Core rev: 217deeb43036d1a046d6c5ea2c1ccdb94d3d605a)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alexander Kanavin
9481976d80 llvm: use default install paths
There was a very brittle sed hack against cpp source code
that allowed installing multiple llvm versions into the same
target/sysroot. Patching with sed is prone to silent
regressions as it can change both too little and too much,
and it indeed it broke with llvm 14. It's also difficult to tell
what the 'right' change should look like.

If this feature is actually needed somewhere, please do it properly:
proper patch and upstream first.

(From OE-Core rev: 974f67b18a2f1a15c76785d69e7234594af97a88)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Alexander Kanavin
cbb01bd465 llvm: update 13.0.1 -> 14.0.0
llvm-config no longer links with libLLVM, so there is no need
to install it in -native (and it isn't built in the first place).
This also significantly speeds up llvm-native build.

(From OE-Core rev: ee06fc2a19665461e143fe3bf7e94b703652e1cf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Xu Huan
d1ecc1ed48 python3-pip: upgrade 22.0.3 -> 22.0.4
Changelog:
=========
- Deprecations and Removals
  Drop the doctype check, that presented a warning for index pages that use
  non-compliant HTML 5.
- Vendored Libraries
  Downgrade distlib to 0.3.3.

(From OE-Core rev: 5cbf04ee8202ad9d90b1e1e527203f34e921916b)

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:11 +01:00
Xu Huan
5ef1642f20 python3-dbusmock: upgrade 0.27.3 -> 0.27.5
Changelog:
=========
bluez and accountsservice templates: Drop default arguments from D-Bus methods

(From OE-Core rev: 96ed2b91d073f861bb1c4b09597260ecd84bf777)

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
becb589ead sysvinit: upgrade 3.01 -> 3.02
pidof-add-m-option.patch
refreshed for new version.

Add 0001-Fixed-compile-error-on-GNU-Hurd.patch
to fix compile error on GNU Hurd due to missing MAX_PATH
definition.

(From OE-Core rev: cd75cb56ef30d68f82ec7406f3529afd163e7f92)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Martin Jansa
1979152eaa systemd-boot: remove outdated EFI_LD comment
* efi-ld meson option was changed in systemd 250:
  fe330f02df

  the value was changed with the systemd upgrade in:
  https://git.openembedded.org/openembedded-core/commit/?id=e22188e47d2fce2406d9db9c95289b3878eda69f
  but the comment originally from:
  https://git.openembedded.org/openembedded-core/commit/?id=603e50f3db224a0e36a65decb9a98df41b9e22b3
  no longer makes any sense, remove it

(From OE-Core rev: c14dbe3d3c1abf5f95310162288f861bfd312900)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Alexander Kanavin
3a86cdd06b libgcrypt: upgrade 1.9.4 -> 1.10.1
License-Update: formatting

Add another chunk to pthread fixing patch.

(From OE-Core rev: 6a82d326f5ebe8a7ae188a02cb440da9830d65b6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Alexander Kanavin
0225e59476 librsvg: upgrade 2.52.7 -> 2.54.0
Upstream has replaced gtk-doc with gi-docgen however it is not possible to
configure. So it's disabled until the merge request to do so lands:
https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/687

(From OE-Core rev: f6c9614397e71751675ca45f8211e66ce76c2b93)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Alexander Kanavin
d61e29347b gdk-pixbuf: upgrade 2.42.6 -> 2.42.8
(From OE-Core rev: d8398c88c6d950781709a112446d6a320e624346)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Alexandre Belloni
639bd14a9c cmake: update license hashes
The cmjsoncpp license changes are only whitespaces while the cmlibuv
license dropped:
"""
  - android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design
    Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement
    n° 289016). Three clause BSD license.
"""

(From OE-Core rev: 5cf3e0bcc2099ef7e352ccbee57b58e21ce965b4)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Alexander Kanavin
56e244abfb cmake: update 3.22.3 -> 3.23.0
License-Update: copyright years, contributors.

(From OE-Core rev: 65af5bf1db73d47ba992070d1e840ef7bad4c36c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Alexander Kanavin
313bdc0846 at-spi2-core: update 2.42.0 -> 2.44.0
(From OE-Core rev: 008aa19a26a20d46c373f9aa302a4240a9c150c0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Alexander Kanavin
2921dfb021 libsndfile1: update 1.0.31 -> 1.1.0
(From OE-Core rev: 808d63cf8a2cc4ee7ce22eb0ac18beab01885a04)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Alexander Kanavin
cd760d4d76 libxvmc: update 1.0.12 -> 1.0.13
(From OE-Core rev: 341434477fbf60597fbe3bf800d927a0396c78a1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Alexander Kanavin
f290c19cc9 vulkan-samples: update to latest revision
(From OE-Core rev: 115e13668d89d2631471643f55a68aff5ade1295)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Alexander Kanavin
cfcbd68683 piglit: update to latest revision
Drop upstreamed patch.

(From OE-Core rev: cf4fc54875df6e98022a455745af0f0f12dda380)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
zhengruoqin
8349e1e81b ethtool: upgrade 5.16 -> 5.17
avoid_parallel_tests.patch
refreshed for new version.

(From OE-Core rev: 043536d1b065418fa880e21a9f5f75d6b9a4e196)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
zhengruoqin
b534c7efd2 expat: upgrade 2.4.7 -> 2.4.8
Changelog:
=========
 Other changes:
     #587  pkg-config: Move "-lm" to section "Libs.private"
     #587  CMake|MSVC: Fix pkg-config section "Libs"
 #55 #582  CMake|macOS: Start using linker arguments
             "-compatibility_version <version>" and
             "-current_version <version>" in a way compatible with
             GNU Libtool
#590 #591  Version info bumped from 9:7:8 to 9:8:8;
             see https://verbump.de/ for what these numbers do

 Infrastructure:
     #589  CI: Upgrade Clang from 13 to 14

 Special thanks to:
     evpobr
     Kai Pastor
     Sam James

(From OE-Core rev: 9c98d47dd5415c3b9428cc85e0a8daed14f2a91f)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
zhengruoqin
2e66ffdd77 createrepo-c: upgrade 0.19.0 -> 0.20.0
(From OE-Core rev: ddacc042c2ef01d461e7e4ab96944097cf9a9c96)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
707c6b830d strace: upgrade 5.16 -> 5.17
(From OE-Core rev: 8ec2ca171ff03f444e7cb8b193a7d64b41f8112b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
4ac64a5453 shared-mime-info: upgrade 2.1 -> 2.2
0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch
removed since it's included in 2.2

Changelog:
=========
* model/3mf: new
* Match shared libraries with version suffix
* model/obj: add mtllib and Blender comment based magic
* model/mtl: add Blender comment magic, increase newmtl range
* model/obj, model/mtl: new types
* Add Electron Archive Format type application/x-asar
* text/x-qml: Lower match priority to avoid conflicts with Python
* Move '*.blend' to top of Blender glob list
* Adding SPARQL media types
* application/zip: Add '*.zipx' glob and test fixture
* Added DSD mime type
* Differentiate comic book archives
* FITS: Add missing 'application/fits' and legacy globs
* Add Godot engine files
* Add FlashForge "xgcode" mime-type
* text/x-objc++src: new type
* image/heif: test .hif extension too
* image/hif: add *.hif glob
* image/heif: add another test case
* image/heif: add magics
* Add a build-tools option to allow installing only the mime data
* Add compressed SVG glob pattern '*.svg.gz'
* Add Apple Wallet pass type application/vnd.apple.pkpass
* migrate from custom itstool to builtin msgfmt for creating translated XML
* Make the remaining plain text types subclasses of text/plain
* audio/mobile-xmf: separate from audio/x-xmf
* Adding ZIM file
* Make text/x-mrml a subclass of application/xml
* image/avif: move acronym and expansion to separate fields from comment
* freedesktop_generate.sh: Don't hardcode ninja
* Add text/x-mpl2
* application/x-apple-systemprofiler+xml: require _SPCommandLineArguments in plist
* image/jpeg: add test case with embedded property list XML
* audio/vnd.dts.hd: include parent type magic in magic match
* model/gltf+json: new type
* model/gltf-binary: new type
* application/x-object: add *.mod and a test case
* application/x-mod: add some ProTracker magics and a test case
* image/jxl: include test files in test list
* tests: add trailing linefeed to mime-detection list
* Make application/x-mswinurl a subclass of text/plain
* Change description for *.desktop files to "desktop entry"
* application/x-x509-ca-cert: add magics and test cases
* application/pkix-cert: add BEGIN/END X509 CERTIFICATE magic
* application/pkix-crl: add magic and test case
* application/pkix-cert: add magic and test case
* image/jxl: new type
* Added .sc filename extension for Scala source code, as it is occasionally used
* application/schema+json: new type
* Add text/x-crystal
* application/x-krita: remove stray period from comment
* adding org-mode
* Add Elixir source code mime type
* Add two new offsets for .kra and .krz
* text/x-python3: add *.pyi glob (Python stub files)
* image/x-canon-cr3: new
* image/x-xpixmap: make XPM3 magic more specific
* image/x-xpixmap: add XPM2 magic
* application/x-troff-man: add *.[1-9] glob
* application/toml: new type
* Lower priority of "BEGIN {" for perl, awk uses that too
* Add Smacker video type video/vnd.radgamettools.smacker
* Clarify database license
* meson: make xmlto optional, build spec only if found
* application/x-7z-compressed: add *.7z.001 glob
* Add Bink video type video/vnd.radgamettools.bink
* image/x-nikon-nrw: add test case
* image/x-nikon-nrw: new type
* application/x-vhdx-disk: improve acronym and its expansion
* application/ovf: new
* application/x-qed-disk: new
* application/x-vdi-disk: new
* application/x-vmdk-disk: new
* application/x-vhd-disk, /x-vhdx-disk: new
* application/vnd.apple.numbers, .pages: add older magics and test cases
* Add text/x-dart
* application/vnd.apple.numbers, /vnd.apple.pages: new types
* xdgmime: configure as submodule

(From OE-Core rev: d82a373862eaf92f0d502e0f9e5ea413c816bfbd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
ecbf60aa99 mc: upgrade 4.8.27 -> 4.8.28
Remove unsupported option of smb

0001-Ticket-4200-fix-FTBFS-with-ncurses-build-with-disabl.patch
removed since it's included in 4.8.28

(From OE-Core rev: c448df46a31c21f156b5b9feb7f513dbb8b62520)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
f528d9878a fontconfig: upgrade 2.13.1 -> 2.14.0
License-Update:
- COPYING:
 *  year updated
 *  the following files added:
     fontconfig/fc-case/CaseFolding.txt
     fontconfig/src/fcatomic.h
     fontconfig/src/fcfoundry.h
     fontconfig/src/fcmd5.h
     fontconfig/src/fcmutex.h
     fontconfig/src/ftglue.[ch]
- fcfreetype.c
 * description of Copyright removed
 * include files added
- fccache.c
 * description of Copyright removed
 * source code changed

(From OE-Core rev: 46f672e952d0670812983fd002ba989c13f93b01)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
350dd07b07 dpkg: upgrade 1.21.4 -> 1.21.7
(From OE-Core rev: 8f6bdb017739f8c12b9b54e450d75d31b4affeb2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
a405b7979e apt: upgrade 2.4.3 -> 2.4.4
(From OE-Core rev: c63741294c6322e6657f485034e434aab9fe2d8d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
099e417005 acpica: upgrade 20211217 -> 20220331
License-Update: year updated to 2022.

(From OE-Core rev: 5e43a92a2dd1c1586f6de8efc90482fe9b9bbc1c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
09ec0a480e libx11: upgrade 1.7.3.1 -> 1.7.5
(From OE-Core rev: a7871c0bf8e4928480e04ce095612c424789ab5d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
26278afbd9 libsoup: upgrade 3.0.5 -> 3.0.6
Changelog:
=========
* Misc HTTP/2 fixes
* Add PUT/POST support to examples/get
* Add `--user-agent` option to examples/get
* Misc meson improvements
* Fix build with Visual Studio

(From OE-Core rev: 0ee1c748af7520f50275b8dfb32f41de7f5e14c7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
6f55b70697 ghostscript: upgrade 9.55.0 -> 9.56.1
(From OE-Core rev: 83a45e8a2532689da6cffe444ad4326ad1b1a4f2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
wangmy
879914ec25 freetype: upgrade 2.11.1 -> 2.12.0
(From OE-Core rev: 2085f53bbcaa5643830f2e2a7c5a70c124e22001)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Ross Burton
399659d2c3 zlib: upgrade to 1.2.12
First upstream release since 2017!
- Fix a deflate bug when using the Z_FIXED strategy that can result in out-of-bound accesses.
- Fix a deflate bug when the window is full in deflate_stored().
- Speed up CRC-32 computations by a factor of 1.5 to 3.
- Use the hardware CRC-32 instruction on ARMv8 processors.
- Speed up crc32_combine() with powers of x tables.
- Add crc32_combine_gen() and crc32_combine_op() for fast combines.

Drop CVE-2018-25032 as this is in the .12 release.

Rebase 0001-configure-Pass-LDFLAGS-to-link-tests.patch to apply cleanly.

Backport cc.patch to fix compilation with our CC.

(From OE-Core rev: 4055d9fc81661d375c1721ffd502536c1ba74e02)

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>
2022-04-19 14:14:10 +01:00
2139 changed files with 24102 additions and 185040 deletions

View File

@@ -53,7 +53,6 @@ Maintainers needed
* wic
* Patchwork
* Patchtest
* Prelink-cross
* Matchbox
* Sato
* Autobuilder

View File

@@ -1,24 +0,0 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
[https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security Security Bugzilla].
If you have a patch ready, submit it following the same procedure as any other
patch as described in README.md.
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
for detailed info regarding the policies and maintenance of Stable branches.
The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
releases of the Yocto Project. Versions in grey are no longer actively maintained with
security patches, but well-tested patches may still be accepted for them for
significant issues.

View File

@@ -1,24 +0,0 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
[https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security Security Bugzilla].
If you have a patch ready, submit it following the same procedure as any other
patch as described in README.md.
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
for detailed info regarding the policies and maintenance of Stable branches.
The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
releases of the Yocto Project. Versions in grey are no longer actively maintained with
security patches, but well-tested patches may still be accepted for them for
significant issues.

View File

@@ -25,7 +25,8 @@ except RuntimeError as exc:
from bb import cookerdata
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
bb.utils.check_system_locale()
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
__version__ = "2.0.0"

View File

@@ -25,7 +25,6 @@ if __name__ == "__main__":
parser.add_argument('-u', '--unexpand', help='Do not expand the value (with --value)', action="store_true")
parser.add_argument('-f', '--flag', help='Specify a variable flag to query (with --value)', default=None)
parser.add_argument('--value', help='Only report the value, no history and no variable name', action="store_true")
parser.add_argument('-q', '--quiet', help='Silence bitbake server logging', action="store_true")
args = parser.parse_args()
if args.unexpand and not args.value:
@@ -36,10 +35,9 @@ if __name__ == "__main__":
print("--flag only makes sense with --value")
sys.exit(1)
quiet = args.quiet
with bb.tinfoil.Tinfoil(tracking=True, setup_logging=not quiet) as tinfoil:
with bb.tinfoil.Tinfoil(tracking=True) as tinfoil:
if args.recipe:
tinfoil.prepare(quiet=3 if quiet else 2)
tinfoil.prepare(quiet=2)
d = tinfoil.parse_recipe(args.recipe)
else:
tinfoil.prepare(quiet=2, config_only=True)

View File

@@ -56,24 +56,25 @@ def main():
nonlocal missed_hashes
nonlocal max_time
with hashserv.create_client(args.address) as client:
for i in range(args.requests):
taskhash = hashlib.sha256()
taskhash.update(args.taskhash_seed.encode('utf-8'))
taskhash.update(str(i).encode('utf-8'))
client = hashserv.create_client(args.address)
start_time = time.perf_counter()
l = client.get_unihash(METHOD, taskhash.hexdigest())
elapsed = time.perf_counter() - start_time
for i in range(args.requests):
taskhash = hashlib.sha256()
taskhash.update(args.taskhash_seed.encode('utf-8'))
taskhash.update(str(i).encode('utf-8'))
with lock:
if l:
found_hashes += 1
else:
missed_hashes += 1
start_time = time.perf_counter()
l = client.get_unihash(METHOD, taskhash.hexdigest())
elapsed = time.perf_counter() - start_time
max_time = max(elapsed, max_time)
pbar.update()
with lock:
if l:
found_hashes += 1
else:
missed_hashes += 1
max_time = max(elapsed, max_time)
pbar.update()
max_time = 0
found_hashes = 0
@@ -151,8 +152,9 @@ def main():
func = getattr(args, 'func', None)
if func:
with hashserv.create_client(args.address) as client:
return func(args, client)
client = hashserv.create_client(args.address)
return func(args, client)
return 0

View File

@@ -68,11 +68,11 @@ def main():
registered = False
for plugin in plugins:
if hasattr(plugin, 'tinfoil_init'):
plugin.tinfoil_init(tinfoil)
if hasattr(plugin, 'register_commands'):
registered = True
plugin.register_commands(subparsers)
if hasattr(plugin, 'tinfoil_init'):
plugin.tinfoil_init(tinfoil)
if not registered:
logger.error("No commands registered - missing plugins?")

View File

@@ -1,7 +1,5 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -12,9 +12,8 @@ warnings.simplefilter("default")
import logging
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
import bb
bb.utils.check_system_locale()
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
# Users shouldn't be running this code directly
if len(sys.argv) != 10 or not sys.argv[1].startswith("decafbad"):

View File

@@ -1,7 +1,5 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
@@ -24,7 +22,8 @@ import subprocess
from multiprocessing import Lock
from threading import Thread
bb.utils.check_system_locale()
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
# Users shouldn't be running this code directly
if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"):
@@ -91,19 +90,19 @@ def worker_fire_prepickled(event):
worker_thread_exit = False
def worker_flush(worker_queue):
worker_queue_int = bytearray()
worker_queue_int = b""
global worker_pipe, worker_thread_exit
while True:
try:
worker_queue_int.extend(worker_queue.get(True, 1))
worker_queue_int = worker_queue_int + worker_queue.get(True, 1)
except queue.Empty:
pass
while (worker_queue_int or not worker_queue.empty()):
try:
(_, ready, _) = select.select([], [worker_pipe], [], 1)
if not worker_queue.empty():
worker_queue_int.extend(worker_queue.get())
worker_queue_int = worker_queue_int + worker_queue.get()
written = os.write(worker_pipe, worker_queue_int)
worker_queue_int = worker_queue_int[written:]
except (IOError, OSError) as e:
@@ -338,12 +337,12 @@ class runQueueWorkerPipe():
if pipeout:
pipeout.close()
bb.utils.nonblockingfd(self.input)
self.queue = bytearray()
self.queue = b""
def read(self):
start = len(self.queue)
try:
self.queue.extend(self.input.read(102400) or b"")
self.queue = self.queue + (self.input.read(102400) or b"")
except (OSError, IOError) as e:
if e.errno != errno.EAGAIN:
raise
@@ -371,7 +370,7 @@ class BitbakeWorker(object):
def __init__(self, din):
self.input = din
bb.utils.nonblockingfd(self.input)
self.queue = bytearray()
self.queue = b""
self.cookercfg = None
self.databuilder = None
self.data = None
@@ -405,7 +404,7 @@ class BitbakeWorker(object):
if len(r) == 0:
# EOF on pipe, server must have terminated
self.sigterm_exception(signal.SIGTERM, None)
self.queue.extend(r)
self.queue = self.queue + r
except (OSError, IOError):
pass
if len(self.queue):

View File

@@ -1,7 +1,5 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -424,8 +424,8 @@ This fetcher supports the following parameters:
- *"nobranch":* Tells the fetcher to not check the SHA validation for
the branch when set to "1". The default is "0". Set this option for
the recipe that refers to the commit that is valid for any namespace
(branch, tag, ...) instead of the branch.
the recipe that refers to the commit that is valid for a tag instead
of the branch.
- *"bareclone":* Tells the fetcher to clone a bare clone into the
destination directory without checking out a working tree. Only the
@@ -688,8 +688,6 @@ Here is an example URL::
It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable.
.. _crate-fetcher:
Crate Fetcher (``crate://``)
----------------------------
@@ -706,80 +704,6 @@ Here is an example URL::
SRC_URI = "crate://crates.io/glob/0.2.11"
.. _npm-fetcher:
NPM Fetcher (``npm://``)
------------------------
This submodule fetches source code from an
`NPM <https://en.wikipedia.org/wiki/Npm_(software)>`__
Javascript package registry.
The format for the :term:`SRC_URI` setting must be::
SRC_URI = "npm://some.registry.url;ParameterA=xxx;ParameterB=xxx;..."
This fetcher supports the following parameters:
- *"package":* The NPM package name. This is a mandatory parameter.
- *"version":* The NPM package version. This is a mandatory parameter.
- *"downloadfilename":* Specifies the filename used when storing the downloaded file.
- *"destsuffix":* Specifies the directory to use to unpack the package (default: ``npm``).
Note that NPM fetcher only fetches the package source itself. The dependencies
can be fetched through the `npmsw-fetcher`_.
Here is an example URL with both fetchers::
SRC_URI = " \
npm://registry.npmjs.org/;package=cute-files;version=${PV} \
npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json \
"
See :yocto_docs:`Creating Node Package Manager (NPM) Packages
</dev-manual/common-tasks.html#creating-node-package-manager-npm-packages>`
in the Yocto Project manual for details about using
:yocto_docs:`devtool <https://docs.yoctoproject.org/ref-manual/devtool-reference.html>`
to automatically create a recipe from an NPM URL.
.. _npmsw-fetcher:
NPM shrinkwrap Fetcher (``npmsw://``)
-------------------------------------
This submodule fetches source code from an
`NPM shrinkwrap <https://docs.npmjs.com/cli/v8/commands/npm-shrinkwrap>`__
description file, which lists the dependencies
of an NPM package while locking their versions.
The format for the :term:`SRC_URI` setting must be::
SRC_URI = "npmsw://some.registry.url;ParameterA=xxx;ParameterB=xxx;..."
This fetcher supports the following parameters:
- *"dev":* Set this parameter to ``1`` to install "devDependencies".
- *"destsuffix":* Specifies the directory to use to unpack the dependencies
(``${S}`` by default).
Note that the shrinkwrap file can also be provided by the recipe for
the package which has such dependencies, for example::
SRC_URI = " \
npm://registry.npmjs.org/;package=cute-files;version=${PV} \
npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json \
"
Such a file can automatically be generated using
:yocto_docs:`devtool <https://docs.yoctoproject.org/ref-manual/devtool-reference.html>`
as described in the :yocto_docs:`Creating Node Package Manager (NPM) Packages
</dev-manual/common-tasks.html#creating-node-package-manager-npm-packages>`
section of the Yocto Project.
Other Fetchers
--------------
@@ -789,6 +713,8 @@ Fetch submodules also exist for the following:
- Mercurial (``hg://``)
- npm (``npm://``)
- OSC (``osc://``)
- Secure FTP (``sftp://``)

View File

@@ -195,45 +195,22 @@ value. However, if ``A`` is not set, the variable is set to "aval".
Setting a weak default value (??=)
----------------------------------
The weak default value of a variable is the value which that variable
will expand to if no value has been assigned to it via any of the other
assignment operators. The "??=" operator takes effect immediately, replacing
any previously defined weak default value. Here is an example::
It is possible to use a "weaker" assignment than in the previous section
by using the "??=" operator. This assignment behaves identical to "?="
except that the assignment is made at the end of the parsing process
rather than immediately. Consequently, when multiple "??=" assignments
exist, the last one is used. Also, any "=" or "?=" assignment will
override the value set with "??=". Here is an example::
W ??= "x"
A := "${W}" # Immediate variable expansion
W ??= "y"
B := "${W}" # Immediate variable expansion
W ??= "z"
C = "${W}"
W ?= "i"
A ??= "somevalue"
A ??= "someothervalue"
After parsing we will have::
If ``A`` is set before the above statements are
parsed, the variable retains its value. If ``A`` is not set, the
variable is set to "someothervalue".
A = "x"
B = "y"
C = "i"
W = "i"
Appending and prepending non-override style will not substitute the weak
default value, which means that after parsing::
W ??= "x"
W += "y"
we will have::
W = " y"
On the other hand, override-style appends/prepends/removes are applied after
any active weak default value has been substituted::
W ??= "x"
W:append = "y"
After parsing we will have::
W = "xy"
Again, this assignment is a "lazy" or "weak" assignment because it does
not occur until the end of the parsing process.
Immediate variable expansion (:=)
---------------------------------

View File

@@ -401,7 +401,7 @@ overview of their function and contents.
Example usage::
BB_HASHSERVE_UPSTREAM = "hashserv.yoctoproject.org:8686"
BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
:term:`BB_INVALIDCONF`
Used in combination with the ``ConfigParsed`` event to trigger

View File

@@ -3,8 +3,6 @@
#
# Copyright (C) 2006 Tim Ansell
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Please Note:
# Be careful when using mutable types (ie Dict and Lists) - operations involving these are SLOW.
# Assign a file to __warn__ to get warnings about slow operations.

View File

@@ -15,13 +15,6 @@ import sys
if sys.version_info < (3, 6, 0):
raise RuntimeError("Sorry, python 3.6.0 or later is required for this version of bitbake")
if sys.version_info < (3, 10, 0):
# With python 3.8 and 3.9, we see errors of "libgcc_s.so.1 must be installed for pthread_cancel to work"
# https://stackoverflow.com/questions/64797838/libgcc-s-so-1-must-be-installed-for-pthread-cancel-to-work
# https://bugs.ams1.psf.io/issue42888
# so ensure libgcc_s is loaded early on
import ctypes
libgcc_s = ctypes.CDLL('libgcc_s.so.1')
class BBHandledException(Exception):
"""

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
@@ -31,17 +29,7 @@ class AsyncClient(object):
async def connect_unix(self, path):
async def connect_sock():
# AF_UNIX has path length issues so chdir here to workaround
cwd = os.getcwd()
try:
os.chdir(os.path.dirname(path))
# The socket must be opened synchronously so that CWD doesn't get
# changed out from underneath us so we pass as a sock into asyncio
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM, 0)
sock.connect(os.path.basename(path))
finally:
os.chdir(cwd)
return await asyncio.open_unix_connection(sock=sock)
return await asyncio.open_unix_connection(path)
self._connect_sock = connect_sock
@@ -126,12 +114,6 @@ class AsyncClient(object):
{'ping': {}}
)
async def __aenter__(self):
return self
async def __aexit__(self, exc_type, exc_value, traceback):
await self.close()
class Client(object):
def __init__(self):
@@ -166,8 +148,14 @@ class Client(object):
setattr(self, m, self._get_downcall_wrapper(downcall))
def connect_unix(self, path):
self.loop.run_until_complete(self.client.connect_unix(path))
self.loop.run_until_complete(self.client.connect())
# AF_UNIX has path length issues so chdir here to workaround
cwd = os.getcwd()
try:
os.chdir(os.path.dirname(path))
self.loop.run_until_complete(self.client.connect_unix(os.path.basename(path)))
self.loop.run_until_complete(self.client.connect())
finally:
os.chdir(cwd)
@property
def max_chunk(self):
@@ -182,10 +170,3 @@ class Client(object):
if sys.version_info >= (3, 6):
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
def __enter__(self):
return self
def __exit__(self, exc_type, exc_value, traceback):
self.close()
return False

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
@@ -201,22 +199,6 @@ class DummyLogger():
def flush(self):
return
# Starting with Python 3.8, the ast module exposes all string nodes as a
# Constant. While earlier versions of the module also have the Constant type
# those use the Str type to encapsulate strings.
if sys.version_info < (3, 8):
def node_str_value(node):
if isinstance(node, ast.Str):
return node.s
return None
else:
def node_str_value(node):
if isinstance(node, ast.Constant) and isinstance(node.value, str):
return node.value
return None
class PythonParser():
getvars = (".getVar", ".appendVar", ".prependVar", "oe.utils.conditional")
getvarflags = (".getVarFlag", ".appendVarFlag", ".prependVarFlag")
@@ -241,22 +223,19 @@ class PythonParser():
def visit_Call(self, node):
name = self.called_node_name(node.func)
if name and (name.endswith(self.getvars) or name.endswith(self.getvarflags) or name in self.containsfuncs or name in self.containsanyfuncs):
varname = node_str_value(node.args[0])
if varname is not None:
arg_str_value = None
if len(node.args) >= 2:
arg_str_value = node_str_value(node.args[1])
if name in self.containsfuncs and arg_str_value is not None:
if isinstance(node.args[0], ast.Str):
varname = node.args[0].s
if name in self.containsfuncs and isinstance(node.args[1], ast.Str):
if varname not in self.contains:
self.contains[varname] = set()
self.contains[varname].add(arg_str_value)
elif name in self.containsanyfuncs and arg_str_value is not None:
self.contains[varname].add(node.args[1].s)
elif name in self.containsanyfuncs and isinstance(node.args[1], ast.Str):
if varname not in self.contains:
self.contains[varname] = set()
self.contains[varname].update(arg_str_value.split())
self.contains[varname].update(node.args[1].s.split())
elif name.endswith(self.getvarflags):
if arg_str_value is not None:
self.references.add('%s[%s]' % (varname, arg_str_value))
if isinstance(node.args[1], ast.Str):
self.references.add('%s[%s]' % (varname, node.args[1].s))
else:
self.warn(node.func, node.args[1])
else:
@@ -264,10 +243,10 @@ class PythonParser():
else:
self.warn(node.func, node.args[0])
elif name and name.endswith(".expand"):
arg_str_value = node_str_value(node.args[0])
if arg_str_value is not None:
if isinstance(node.args[0], ast.Str):
value = node.args[0].s
d = bb.data.init()
parser = d.expandWithRefs(arg_str_value, self.name)
parser = d.expandWithRefs(value, self.name)
self.references |= parser.references
self.execs |= parser.execs
for varname in parser.contains:
@@ -275,9 +254,8 @@ class PythonParser():
self.contains[varname] = set()
self.contains[varname] |= parser.contains[varname]
elif name in self.execfuncs:
arg_str_value = node_str_value(node.args[0])
if arg_str_value is not None:
self.var_execs.add(arg_str_value)
if isinstance(node.args[0], ast.Str):
self.var_execs.add(node.args[0].s)
else:
self.warn(node.func, node.args[0])
elif name and isinstance(node.func, (ast.Name, ast.Attribute)):

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Helper library to implement streaming compression and decompression using an

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -13,6 +13,7 @@ import sys, os, glob, os.path, re, time
import itertools
import logging
import multiprocessing
import sre_constants
import threading
from io import StringIO, UnsupportedOperation
from contextlib import closing
@@ -1906,7 +1907,7 @@ class CookerCollectFiles(object):
try:
re.compile(mask)
bbmasks.append(mask)
except re.error:
except sre_constants.error:
collectlog.critical("BBMASK contains an invalid regular expression, ignoring: %s" % mask)
# Then validate the combined regular expressions. This should never
@@ -1914,7 +1915,7 @@ class CookerCollectFiles(object):
bbmask = "|".join(bbmasks)
try:
bbmask_compiled = re.compile(bbmask)
except re.error:
except sre_constants.error:
collectlog.critical("BBMASK is not a valid regular expression, ignoring: %s" % bbmask)
bbmask = None

View File

@@ -160,7 +160,12 @@ def catch_parse_error(func):
def wrapped(fn, *args):
try:
return func(fn, *args)
except Exception as exc:
except IOError as exc:
import traceback
parselog.critical(traceback.format_exc())
parselog.critical("Unable to parse %s: %s" % (fn, exc))
raise bb.BBHandledException()
except bb.data_smart.ExpansionError as exc:
import traceback
bbdir = os.path.dirname(__file__) + os.sep
@@ -172,6 +177,9 @@ def catch_parse_error(func):
break
parselog.critical("Unable to parse %s" % fn, exc_info=(exc_class, exc, tb))
raise bb.BBHandledException()
except bb.parse.ParseError as exc:
parselog.critical(str(exc))
raise bb.BBHandledException()
return wrapped
@catch_parse_error
@@ -240,7 +248,7 @@ class CookerDataBuilder(object):
for k in cookercfg.env:
self.savedenv.setVar(k, cookercfg.env[k])
if k in bb.data_smart.bitbake_renamed_vars:
bb.error('Variable %s from the shell environment has been renamed to %s' % (k, bb.data_smart.bitbake_renamed_vars[k]))
bb.error('Shell environment variable %s has been renamed to %s' % (k, bb.data_smart.bitbake_renamed_vars[k]))
bb.fatal("Exiting to allow enviroment variables to be corrected")
filtered_keys = bb.utils.approved_variables()
@@ -293,9 +301,14 @@ class CookerDataBuilder(object):
bb.event.fire(bb.event.MultiConfigParsed(self.mcdata), self.data)
self.data_hash = data_hash.hexdigest()
except (SyntaxError, bb.BBHandledException):
raise bb.BBHandledException()
except bb.data_smart.ExpansionError as e:
logger.error(str(e))
raise bb.BBHandledException()
except Exception:
logger.exception("Error parsing configuration files")
raise bb.BBHandledException()
# Handle obsolete variable names
@@ -422,7 +435,7 @@ class CookerDataBuilder(object):
msg += (" and bitbake did not find a conf/bblayers.conf file in"
" the expected location.\nMaybe you accidentally"
" invoked bitbake from the wrong directory?")
bb.fatal(msg)
raise SystemExit(msg)
if not data.getVar("TOPDIR"):
data.setVar("TOPDIR", os.path.abspath(os.getcwd()))

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -310,7 +310,6 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, ignored_vars, d):
value += "\n_remove of %s" % r
deps |= r2.references
deps = deps | (keys & r2.execs)
value = handle_contains(value, r2.contains, exclusions, d)
return value
if "vardepvalue" in varflags:

View File

@@ -261,9 +261,12 @@ class VariableHistory(object):
return
if 'op' not in loginfo or not loginfo['op']:
loginfo['op'] = 'set'
if 'detail' in loginfo:
loginfo['detail'] = str(loginfo['detail'])
if 'variable' not in loginfo or 'file' not in loginfo:
raise ValueError("record() missing variable or file.")
var = loginfo['variable']
if var not in self.variables:
self.variables[var] = []
if not isinstance(self.variables[var], list):
@@ -322,8 +325,7 @@ class VariableHistory(object):
flag = '[%s] ' % (event['flag'])
else:
flag = ''
o.write("# %s %s:%s%s\n# %s\"%s\"\n" % \
(event['op'], event['file'], event['line'], display_func, flag, re.sub('\n', '\n# ', str(event['detail']))))
o.write("# %s %s:%s%s\n# %s\"%s\"\n" % (event['op'], event['file'], event['line'], display_func, flag, re.sub('\n', '\n# ', event['detail'])))
if len(history) > 1:
o.write("# pre-expansion value:\n")
o.write('# "%s"\n' % (commentVal))
@@ -377,7 +379,7 @@ class VariableHistory(object):
if isset and event['op'] == 'set?':
continue
isset = True
items = d.expand(str(event['detail'])).split()
items = d.expand(event['detail']).split()
for item in items:
# This is a little crude but is belt-and-braces to avoid us
# having to handle every possible operation type specifically

View File

@@ -132,14 +132,8 @@ def print_ui_queue():
if not _uiready:
from bb.msg import BBLogFormatter
# Flush any existing buffered content
try:
sys.stdout.flush()
except:
pass
try:
sys.stderr.flush()
except:
pass
sys.stdout.flush()
sys.stderr.flush()
stdout = logging.StreamHandler(sys.stdout)
stderr = logging.StreamHandler(sys.stderr)
formatter = BBLogFormatter("%(levelname)s: %(message)s")

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -498,30 +498,30 @@ def fetcher_init(d):
Calls before this must not hit the cache.
"""
with bb.persist_data.persist('BB_URI_HEADREVS', d) as revs:
try:
# fetcher_init is called multiple times, so make sure we only save the
# revs the first time it is called.
if not bb.fetch2.saved_headrevs:
bb.fetch2.saved_headrevs = dict(revs)
except:
pass
revs = bb.persist_data.persist('BB_URI_HEADREVS', d)
try:
# fetcher_init is called multiple times, so make sure we only save the
# revs the first time it is called.
if not bb.fetch2.saved_headrevs:
bb.fetch2.saved_headrevs = dict(revs)
except:
pass
# When to drop SCM head revisions controlled by user policy
srcrev_policy = d.getVar('BB_SRCREV_POLICY') or "clear"
if srcrev_policy == "cache":
logger.debug("Keeping SRCREV cache due to cache policy of: %s", srcrev_policy)
elif srcrev_policy == "clear":
logger.debug("Clearing SRCREV cache due to cache policy of: %s", srcrev_policy)
revs.clear()
else:
raise FetchError("Invalid SRCREV cache policy of: %s" % srcrev_policy)
# When to drop SCM head revisions controlled by user policy
srcrev_policy = d.getVar('BB_SRCREV_POLICY') or "clear"
if srcrev_policy == "cache":
logger.debug("Keeping SRCREV cache due to cache policy of: %s", srcrev_policy)
elif srcrev_policy == "clear":
logger.debug("Clearing SRCREV cache due to cache policy of: %s", srcrev_policy)
revs.clear()
else:
raise FetchError("Invalid SRCREV cache policy of: %s" % srcrev_policy)
_checksum_cache.init_cache(d)
_checksum_cache.init_cache(d)
for m in methods:
if hasattr(m, "init"):
m.init(d)
for m in methods:
if hasattr(m, "init"):
m.init(d)
def fetcher_parse_save():
_checksum_cache.save_extras()
@@ -535,8 +535,8 @@ def fetcher_compare_revisions(d):
when bitbake was started and return true if they have changed.
"""
with dict(bb.persist_data.persist('BB_URI_HEADREVS', d)) as headrevs:
return headrevs != bb.fetch2.saved_headrevs
headrevs = dict(bb.persist_data.persist('BB_URI_HEADREVS', d))
return headrevs != bb.fetch2.saved_headrevs
def mirror_from_string(data):
mirrors = (data or "").replace('\\n',' ').split()
@@ -1097,8 +1097,6 @@ def try_mirror_url(fetch, origud, ud, ld, check = False):
def ensure_symlink(target, link_name):
if not os.path.exists(link_name):
dirname = os.path.dirname(link_name)
bb.utils.mkdirhier(dirname)
if os.path.islink(link_name):
# Broken symbolic link
os.unlink(link_name)
@@ -1618,13 +1616,13 @@ class FetchMethod(object):
if not hasattr(self, "_latest_revision"):
raise ParameterError("The fetcher for this URL does not support _latest_revision", ud.url)
with bb.persist_data.persist('BB_URI_HEADREVS', d) as revs:
key = self.generate_revision_key(ud, d, name)
try:
return revs[key]
except KeyError:
revs[key] = rev = self._latest_revision(ud, d, name)
return rev
revs = bb.persist_data.persist('BB_URI_HEADREVS', d)
key = self.generate_revision_key(ud, d, name)
try:
return revs[key]
except KeyError:
revs[key] = rev = self._latest_revision(ud, d, name)
return rev
def sortable_revision(self, ud, d, name):
latest_rev = self._build_revision(ud, d, name)

View File

@@ -44,8 +44,7 @@ Supported SRC_URI options are:
- nobranch
Don't check the SHA validation for branch. set this option for the recipe
referring to commit which is valid in any namespace (branch, tag, ...)
instead of branch.
referring to commit which is valid in tag instead of branch.
The default is "0", set nobranch=1 if needed.
- usehead
@@ -75,6 +74,9 @@ from bb.fetch2 import runfetchcmd
from bb.fetch2 import logger
sha1_re = re.compile(r'^[0-9a-f]{40}$')
slash_re = re.compile(r"/+")
class GitProgressHandler(bb.progress.LineFilterProgressHandler):
"""Extract progress information from git output"""
def __init__(self, d):
@@ -250,8 +252,8 @@ class Git(FetchMethod):
ud.setup_revisions(d)
for name in ud.names:
# Ensure anything that doesn't look like a sha256 checksum/revision is translated into one
if not ud.revisions[name] or len(ud.revisions[name]) != 40 or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]):
# Ensure any revision that doesn't look like a SHA-1 is translated into one
if not sha1_re.match(ud.revisions[name] or ''):
if ud.revisions[name]:
ud.unresolvedrev[name] = ud.revisions[name]
ud.revisions[name] = self.latest_revision(ud, d, name)
@@ -260,10 +262,10 @@ class Git(FetchMethod):
if gitsrcname.startswith('.'):
gitsrcname = gitsrcname[1:]
# for rebaseable git repo, it is necessary to keep mirror tar ball
# per revision, so that even the revision disappears from the
# For a rebaseable git repo, it is necessary to keep a mirror tar ball
# per revision, so that even if the revision disappears from the
# upstream repo in the future, the mirror will remain intact and still
# contains the revision
# contain the revision
if ud.rebaseable:
for name in ud.names:
gitsrcname = gitsrcname + '_' + ud.revisions[name]
@@ -307,10 +309,7 @@ class Git(FetchMethod):
return ud.clonedir
def need_update(self, ud, d):
return self.clonedir_need_update(ud, d) \
or self.shallow_tarball_need_update(ud) \
or self.tarball_need_update(ud) \
or self.lfs_need_update(ud, d)
return self.clonedir_need_update(ud, d) or self.shallow_tarball_need_update(ud) or self.tarball_need_update(ud)
def clonedir_need_update(self, ud, d):
if not os.path.exists(ud.clonedir):
@@ -322,15 +321,6 @@ class Git(FetchMethod):
return True
return False
def lfs_need_update(self, ud, d):
if self.clonedir_need_update(ud, d):
return True
for name in ud.names:
if not self._lfs_objects_downloaded(ud, d, name, ud.clonedir):
return True
return False
def clonedir_need_shallow_revs(self, ud, d):
for rev in ud.shallow_revs:
try:
@@ -371,13 +361,9 @@ class Git(FetchMethod):
# If the repo still doesn't exist, fallback to cloning it
if not os.path.exists(ud.clonedir):
# We do this since git will use a "-l" option automatically for local urls where possible,
# but it doesn't work when git/objects is a symlink, only works when it is a directory.
# We do this since git will use a "-l" option automatically for local urls where possible
if repourl.startswith("file://"):
repourl_path = repourl[7:]
objects = os.path.join(repourl_path, 'objects')
if os.path.isdir(objects) and not os.path.islink(objects):
repourl = repourl_path
repourl = repourl[7:]
clone_cmd = "LANG=C %s clone --bare --mirror %s %s --progress" % (ud.basecmd, shlex.quote(repourl), ud.clonedir)
if ud.proto.lower() != 'file':
bb.fetch2.check_network_access(d, clone_cmd, ud.url)
@@ -391,11 +377,7 @@ class Git(FetchMethod):
runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir)
runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, shlex.quote(repourl)), d, workdir=ud.clonedir)
if ud.nobranch:
fetch_cmd = "LANG=C %s fetch -f --progress %s refs/*:refs/*" % (ud.basecmd, shlex.quote(repourl))
else:
fetch_cmd = "LANG=C %s fetch -f --progress %s refs/heads/*:refs/heads/* refs/tags/*:refs/tags/*" % (ud.basecmd, shlex.quote(repourl))
fetch_cmd = "LANG=C %s fetch -f --progress %s refs/*:refs/*" % (ud.basecmd, shlex.quote(repourl))
if ud.proto.lower() != 'file':
bb.fetch2.check_network_access(d, fetch_cmd, ud.url)
progresshandler = GitProgressHandler(d)
@@ -418,7 +400,7 @@ class Git(FetchMethod):
if missing_rev:
raise bb.fetch2.FetchError("Unable to find revision %s even from upstream" % missing_rev)
if self.lfs_need_update(ud, d):
if self._contains_lfs(ud, d, ud.clonedir) and self._need_lfs(ud):
# Unpack temporary working copy, use it to run 'git checkout' to force pre-fetching
# of all LFS blobs needed at the srcrev.
#
@@ -661,35 +643,6 @@ class Git(FetchMethod):
raise bb.fetch2.FetchError("The command '%s' gave output with more then 1 line unexpectedly, output: '%s'" % (cmd, output))
return output.split()[0] != "0"
def _lfs_objects_downloaded(self, ud, d, name, wd):
"""
Verifies whether the LFS objects for requested revisions have already been downloaded
"""
# Bail out early if this repository doesn't use LFS
if not self._need_lfs(ud) or not self._contains_lfs(ud, d, wd):
return True
# The Git LFS specification specifies ([1]) the LFS folder layout so it should be safe to check for file
# existence.
# [1] https://github.com/git-lfs/git-lfs/blob/main/docs/spec.md#intercepting-git
cmd = "%s lfs ls-files -l %s" \
% (ud.basecmd, ud.revisions[name])
output = runfetchcmd(cmd, d, quiet=True, workdir=wd).rstrip()
# Do not do any further matching if no objects are managed by LFS
if not output:
return True
# Match all lines beginning with the hexadecimal OID
oid_regex = re.compile("^(([a-fA-F0-9]{2})([a-fA-F0-9]{2})[A-Fa-f0-9]+)")
for line in output.split("\n"):
oid = re.search(oid_regex, line)
if not oid:
bb.warn("git lfs ls-files output '%s' did not match expected format." % line)
if not os.path.exists(os.path.join(wd, "lfs", "objects", oid.group(2), oid.group(3), oid.group(1))):
return False
return True
def _need_lfs(self, ud):
return ud.parm.get("lfs", "1") == "1"
@@ -747,7 +700,6 @@ class Git(FetchMethod):
Return a unique key for the url
"""
# Collapse adjacent slashes
slash_re = re.compile(r"/+")
return "git:" + ud.host + slash_re.sub(".", ud.path) + ud.unresolvedrev[name]
def _lsremote(self, ud, d, search):
@@ -781,7 +733,7 @@ class Git(FetchMethod):
Compute the HEAD revision for the url
"""
if not d.getVar("__BBSEENSRCREV"):
raise bb.fetch2.FetchError("Recipe uses a floating tag/branch '%s' for repo '%s' without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE)." % (ud.unresolvedrev[name], ud.host+ud.path))
raise bb.fetch2.FetchError("Recipe uses a floating tag/branch without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).")
# Ensure we mark as not cached
bb.fetch2.get_autorev(d)
@@ -861,8 +813,9 @@ class Git(FetchMethod):
commits = None
else:
if not os.path.exists(rev_file) or not os.path.getsize(rev_file):
from pipes import quote
commits = bb.fetch2.runfetchcmd(
"git rev-list %s -- | wc -l" % shlex.quote(rev),
"git rev-list %s -- | wc -l" % quote(rev),
d, quiet=True).strip().lstrip('0')
if commits:
open(rev_file, "w").write("%d\n" % int(commits))

View File

@@ -88,7 +88,7 @@ class GitSM(Git):
subrevision[m] = module_hash.split()[2]
# Convert relative to absolute uri based on parent uri
if uris[m].startswith('..') or uris[m].startswith('./'):
if uris[m].startswith('..'):
newud = copy.copy(ud)
newud.path = os.path.realpath(os.path.join(newud.path, uris[m]))
uris[m] = Git._get_repo_url(self, newud)
@@ -115,9 +115,6 @@ class GitSM(Git):
# This has to be a file reference
proto = "file"
url = "gitsm://" + uris[module]
if url.endswith("{}{}".format(ud.host, ud.path)):
raise bb.fetch2.FetchError("Submodule refers to the parent repository. This will cause deadlock situation in current version of Bitbake." \
"Consider using git fetcher instead.")
url += ';protocol=%s' % proto
url += ";name=%s" % module
@@ -139,19 +136,6 @@ class GitSM(Git):
return submodules != []
def call_process_submodules(self, ud, d, extra_check, subfunc):
# If we're using a shallow mirror tarball it needs to be
# unpacked temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and extra_check:
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
try:
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
self.process_submodules(ud, tmpdir, subfunc, d)
finally:
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, subfunc, d)
def need_update(self, ud, d):
if Git.need_update(self, ud, d):
return True
@@ -169,7 +153,15 @@ class GitSM(Git):
logger.error('gitsm: submodule update check failed: %s %s' % (type(e).__name__, str(e)))
need_update_result = True
self.call_process_submodules(ud, d, not os.path.exists(ud.clonedir), need_update_submodule)
# If we're using a shallow mirror tarball it needs to be unpacked
# temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and not os.path.exists(ud.clonedir):
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
self.process_submodules(ud, tmpdir, need_update_submodule, d)
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, need_update_submodule, d)
if need_update_list:
logger.debug('gitsm: Submodules requiring update: %s' % (' '.join(need_update_list)))
@@ -192,7 +184,16 @@ class GitSM(Git):
raise
Git.download(self, ud, d)
self.call_process_submodules(ud, d, self.need_update(ud, d), download_submodule)
# If we're using a shallow mirror tarball it needs to be unpacked
# temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and self.need_update(ud, d):
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
self.process_submodules(ud, tmpdir, download_submodule, d)
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, download_submodule, d)
def unpack(self, ud, destdir, d):
def unpack_submodules(ud, url, module, modpath, workdir, d):
@@ -245,6 +246,14 @@ class GitSM(Git):
newfetch = Fetch([url], d, cache=False)
urldata.extend(newfetch.expanded_urldata())
self.call_process_submodules(ud, d, ud.method.need_update(ud, d), add_submodule)
# If we're using a shallow mirror tarball it needs to be unpacked
# temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and ud.method.need_update(ud, d):
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
subprocess.check_call("tar -xzf %s" % ud.fullshallow, cwd=tmpdir, shell=True)
self.process_submodules(ud, tmpdir, add_submodule, d)
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, add_submodule, d)
return urldata

View File

@@ -156,7 +156,7 @@ class Npm(FetchMethod):
raise ParameterError("Invalid 'version' parameter", ud.url)
# Extract the 'registry' part of the url
ud.registry = re.sub(r"^npm://", "https://", ud.url.split(";")[0])
ud.registry = re.sub(r"^npm://", "http://", ud.url.split(";")[0])
# Using the 'downloadfilename' parameter as local filename
# or the npm package name.

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""
@@ -11,6 +9,7 @@ Based on the svn "Fetch" implementation.
import logging
import os
import re
import bb
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
@@ -62,26 +61,49 @@ class Osc(FetchMethod):
basecmd = d.getVar("FETCHCMD_osc") or "/usr/bin/env osc"
proto = ud.parm.get('protocol', 'ocs')
proto = ud.parm.get('protocol', 'https')
options = []
config = "-c %s" % self.generate_config(ud, d)
if ud.revision:
if getattr(ud, 'revision', ''):
options.append("-r %s" % ud.revision)
coroot = self._strip_leading_slashes(ud.path)
if command == "fetch":
osccmd = "%s %s co %s/%s %s" % (basecmd, config, coroot, ud.module, " ".join(options))
osccmd = "%s %s -A %s://%s co %s/%s %s" % (basecmd, config, proto, ud.host, coroot, ud.module, " ".join(options))
elif command == "update":
osccmd = "%s %s up %s" % (basecmd, config, " ".join(options))
osccmd = "%s %s -A %s://%s up %s" % (basecmd, config, proto, ud.host, " ".join(options))
elif command == "api_source":
osccmd = "%s %s -A %s://%s api source/%s/%s" % (basecmd, config, proto, ud.host, coroot, ud.module)
else:
raise FetchError("Invalid osc command %s" % command, ud.url)
return osccmd
def _latest_revision(self, ud, d, name):
"""
Fetch latest revision for the given package
"""
api_source_cmd = self._buildosccommand(ud, d, "api_source")
output = runfetchcmd(api_source_cmd, d)
match = re.match(r'<directory ?.* rev="(\d+)".*>', output)
if match is None:
raise FetchError("Unable to parse osc response", ud.url)
return match.groups()[0]
def _revision_key(self, ud, d, name):
"""
Return a unique key for the url
"""
# Collapse adjacent slashes
slash_re = re.compile(r"/+")
rev = getattr(ud, 'revision', "latest")
return "osc:%s%s.%s.%s" % (ud.host, slash_re.sub(".", ud.path), name, rev)
def download(self, ud, d):
"""
Fetch url
@@ -125,7 +147,7 @@ class Osc(FetchMethod):
os.remove(config_path)
f = open(config_path, 'w')
proto = ud.parm.get('proto', 'https')
proto = ud.parm.get('protocol', 'https')
f.write("[general]\n")
f.write("apiurl = %s://%s\n" % (proto, ud.host))
f.write("su-wrapper = su -c\n")

View File

@@ -88,10 +88,7 @@ class Wget(FetchMethod):
if not ud.localfile:
ud.localfile = d.expand(urllib.parse.unquote(ud.host + ud.path).replace("/", "."))
self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 100"
if ud.type == 'ftp' or ud.type == 'ftps':
self.basecmd += " --passive-ftp"
self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 30 --passive-ftp"
if not self.check_certs(d):
self.basecmd += " --no-check-certificate"
@@ -109,10 +106,10 @@ class Wget(FetchMethod):
fetchcmd = self.basecmd
dldir = os.path.realpath(d.getVar("DL_DIR"))
localpath = os.path.join(dldir, ud.localfile) + ".tmp"
bb.utils.mkdirhier(os.path.dirname(localpath))
fetchcmd += " -O %s" % shlex.quote(localpath)
if 'downloadfilename' in ud.parm:
localpath = os.path.join(d.getVar("DL_DIR"), ud.localfile)
bb.utils.mkdirhier(os.path.dirname(localpath))
fetchcmd += " -O %s" % shlex.quote(localpath)
if ud.user and ud.pswd:
fetchcmd += " --auth-no-challenge"
@@ -130,16 +127,12 @@ class Wget(FetchMethod):
uri = ud.url.split(";")[0]
if os.path.exists(ud.localpath):
# file exists, but we didnt complete it.. trying again..
fetchcmd += " -c -P " + dldir + " '" + uri + "'"
fetchcmd += d.expand(" -c -P ${DL_DIR} '%s'" % uri)
else:
fetchcmd += " -P " + dldir + " '" + uri + "'"
fetchcmd += d.expand(" -P ${DL_DIR} '%s'" % uri)
self._runwget(ud, d, fetchcmd, False)
# Remove the ".tmp" and move the file into position atomically
# Our lock prevents multiple writers but mirroring code may grab incomplete files
os.rename(localpath, localpath[:-4])
# Sanity check since wget can pretend it succeed when it didn't
# Also, this used to happen if sourceforge sent us to the mirror page
if not os.path.exists(ud.localpath):
@@ -365,7 +358,7 @@ class Wget(FetchMethod):
except (TypeError, ImportError, IOError, netrc.NetrcParseError):
pass
with opener.open(r, timeout=100) as response:
with opener.open(r, timeout=30) as response:
pass
except urllib.error.URLError as e:
if try_again:

View File

@@ -234,10 +234,9 @@ class diskMonitor:
freeInode = st.f_favail
if minInode and freeInode < minInode:
# Some filesystems use dynamic inodes so can't run out.
# This is reported by the inode count being 0 (btrfs) or the free
# inode count being -1 (cephfs).
if st.f_files == 0 or st.f_favail == -1:
# Some filesystems use dynamic inodes so can't run out
# (e.g. btrfs). This is reported by the inode count being 0.
if st.f_files == 0:
self.devDict[k][2] = None
continue
# Always show warning, the self.checked would always be False if the action is WARN

View File

@@ -49,23 +49,20 @@ class SkipPackage(SkipRecipe):
__mtime_cache = {}
def cached_mtime(f):
if f not in __mtime_cache:
res = os.stat(f)
__mtime_cache[f] = (res.st_mtime_ns, res.st_size, res.st_ino)
__mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
return __mtime_cache[f]
def cached_mtime_noerror(f):
if f not in __mtime_cache:
try:
res = os.stat(f)
__mtime_cache[f] = (res.st_mtime_ns, res.st_size, res.st_ino)
__mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
except OSError:
return 0
return __mtime_cache[f]
def update_mtime(f):
try:
res = os.stat(f)
__mtime_cache[f] = (res.st_mtime_ns, res.st_size, res.st_ino)
__mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
except OSError:
if f in __mtime_cache:
del __mtime_cache[f]

View File

@@ -178,10 +178,10 @@ def feeder(lineno, s, fn, root, statements, eof=False):
if s and s[0] == '#':
if len(__residue__) != 0 and __residue__[0][0] != "#":
bb.fatal("There is a comment on line %s of file %s:\n'''\n%s\n'''\nwhich is in the middle of a multiline expression. This syntax is invalid, please correct it." % (lineno, fn, s))
bb.fatal("There is a comment on line %s of file %s (%s) which is in the middle of a multiline expression.\nBitbake used to ignore these but no longer does so, please fix your metadata as errors are likely as a result of this change." % (lineno, fn, s))
if len(__residue__) != 0 and __residue__[0][0] == "#" and (not s or s[0] != "#"):
bb.fatal("There is a confusing multiline partially commented expression on line %s of file %s:\n%s\nPlease clarify whether this is all a comment or should be parsed." % (lineno - len(__residue__), fn, "\n".join(__residue__)))
bb.fatal("There is a confusing multiline, partially commented expression on line %s of file %s (%s).\nPlease clarify whether this is all a comment or should be parsed." % (lineno, fn, s))
if s and s[-1] == '\\':
__residue__.append(s[:-1])

View File

@@ -125,21 +125,16 @@ def handle(fn, data, include):
s = f.readline()
if not s:
break
origlineno = lineno
origline = s
w = s.strip()
# skip empty lines
if not w:
continue
s = s.rstrip()
while s[-1] == '\\':
line = f.readline()
origline += line
s2 = line.rstrip()
s2 = f.readline().rstrip()
lineno = lineno + 1
if (not s2 or s2 and s2[0] != "#") and s[0] == "#" :
bb.fatal("There is a confusing multiline, partially commented expression starting on line %s of file %s:\n%s\nPlease clarify whether this is all a comment or should be parsed." % (origlineno, fn, origline))
bb.fatal("There is a confusing multiline, partially commented expression on line %s of file %s (%s).\nPlease clarify whether this is all a comment or should be parsed." % (lineno, fn, s))
s = s[:-1] + s2
# skip comments
if s[0] == '#':
@@ -152,6 +147,8 @@ def handle(fn, data, include):
if oldfile:
data.setVar('FILE', oldfile)
f.close()
for f in confFilters:
f(fn, data)

View File

@@ -154,7 +154,6 @@ class SQLTable(collections.abc.MutableMapping):
def __exit__(self, *excinfo):
self.connection.__exit__(*excinfo)
self.connection.close()
@_Decorators.retry()
@_Decorators.transaction

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -24,7 +24,6 @@ import pickle
from multiprocessing import Process
import shlex
import pprint
import time
bblogger = logging.getLogger("BitBake")
logger = logging.getLogger("BitBake.RunQueue")
@@ -160,67 +159,6 @@ class RunQueueScheduler(object):
self.buildable.append(tid)
self.rev_prio_map = None
self.is_pressure_usable()
def is_pressure_usable(self):
"""
If monitoring pressure, return True if pressure files can be open and read. For example
openSUSE /proc/pressure/* files have readable file permissions but when read the error EOPNOTSUPP (Operation not supported)
is returned.
"""
if self.rq.max_cpu_pressure or self.rq.max_io_pressure or self.rq.max_memory_pressure:
try:
with open("/proc/pressure/cpu") as cpu_pressure_fds, \
open("/proc/pressure/io") as io_pressure_fds, \
open("/proc/pressure/memory") as memory_pressure_fds:
self.prev_cpu_pressure = cpu_pressure_fds.readline().split()[4].split("=")[1]
self.prev_io_pressure = io_pressure_fds.readline().split()[4].split("=")[1]
self.prev_memory_pressure = memory_pressure_fds.readline().split()[4].split("=")[1]
self.prev_pressure_time = time.time()
self.check_pressure = True
except:
bb.note("The /proc/pressure files can't be read. Continuing build without monitoring pressure")
self.check_pressure = False
else:
self.check_pressure = False
def exceeds_max_pressure(self):
"""
Monitor the difference in total pressure at least once per second, if
BB_PRESSURE_MAX_{CPU|IO|MEMORY} are set, return True if above threshold.
"""
if self.check_pressure:
with open("/proc/pressure/cpu") as cpu_pressure_fds, \
open("/proc/pressure/io") as io_pressure_fds, \
open("/proc/pressure/memory") as memory_pressure_fds:
# extract "total" from /proc/pressure/{cpu|io}
curr_cpu_pressure = cpu_pressure_fds.readline().split()[4].split("=")[1]
curr_io_pressure = io_pressure_fds.readline().split()[4].split("=")[1]
curr_memory_pressure = memory_pressure_fds.readline().split()[4].split("=")[1]
now = time.time()
tdiff = now - self.prev_pressure_time
psi_accumulation_interval = 1.0
cpu_pressure = (float(curr_cpu_pressure) - float(self.prev_cpu_pressure)) / tdiff
io_pressure = (float(curr_io_pressure) - float(self.prev_io_pressure)) / tdiff
memory_pressure = (float(curr_memory_pressure) - float(self.prev_memory_pressure)) / tdiff
exceeds_cpu_pressure = self.rq.max_cpu_pressure and cpu_pressure > self.rq.max_cpu_pressure
exceeds_io_pressure = self.rq.max_io_pressure and io_pressure > self.rq.max_io_pressure
exceeds_memory_pressure = self.rq.max_memory_pressure and memory_pressure > self.rq.max_memory_pressure
if tdiff > psi_accumulation_interval:
self.prev_cpu_pressure = curr_cpu_pressure
self.prev_io_pressure = curr_io_pressure
self.prev_memory_pressure = curr_memory_pressure
self.prev_pressure_time = now
pressure_state = (exceeds_cpu_pressure, exceeds_io_pressure, exceeds_memory_pressure)
pressure_values = (round(cpu_pressure,1), self.rq.max_cpu_pressure, round(io_pressure,1), self.rq.max_io_pressure, round(memory_pressure,1), self.rq.max_memory_pressure)
if hasattr(self, "pressure_state") and pressure_state != self.pressure_state:
bb.note("Pressure status changed to CPU: %s, IO: %s, Mem: %s (CPU: %s/%s, IO: %s/%s, Mem: %s/%s) - using %s/%s bitbake threads" % (pressure_state + pressure_values + (len(self.rq.runq_running.difference(self.rq.runq_complete)), self.rq.number_tasks)))
self.pressure_state = pressure_state
return (exceeds_cpu_pressure or exceeds_io_pressure or exceeds_memory_pressure)
return False
def next_buildable_task(self):
"""
@@ -234,12 +172,6 @@ class RunQueueScheduler(object):
if not buildable:
return None
# Bitbake requires that at least one task be active. Only check for pressure if
# this is the case, otherwise the pressure limitation could result in no tasks
# being active and no new tasks started thereby, at times, breaking the scheduler.
if self.rq.stats.active and self.exceeds_max_pressure():
return None
# Filter out tasks that have a max number of threads that have been exceeded
skip_buildable = {}
for running in self.rq.runq_running.difference(self.rq.runq_complete):
@@ -1767,9 +1699,6 @@ class RunQueueExecute:
self.number_tasks = int(self.cfgData.getVar("BB_NUMBER_THREADS") or 1)
self.scheduler = self.cfgData.getVar("BB_SCHEDULER") or "speed"
self.max_cpu_pressure = self.cfgData.getVar("BB_PRESSURE_MAX_CPU")
self.max_io_pressure = self.cfgData.getVar("BB_PRESSURE_MAX_IO")
self.max_memory_pressure = self.cfgData.getVar("BB_PRESSURE_MAX_MEMORY")
self.sq_buildable = set()
self.sq_running = set()
@@ -1804,29 +1733,6 @@ class RunQueueExecute:
if self.number_tasks <= 0:
bb.fatal("Invalid BB_NUMBER_THREADS %s" % self.number_tasks)
lower_limit = 1.0
upper_limit = 1000000.0
if self.max_cpu_pressure:
self.max_cpu_pressure = float(self.max_cpu_pressure)
if self.max_cpu_pressure < lower_limit:
bb.fatal("Invalid BB_PRESSURE_MAX_CPU %s, minimum value is %s." % (self.max_cpu_pressure, lower_limit))
if self.max_cpu_pressure > upper_limit:
bb.warn("Your build will be largely unregulated since BB_PRESSURE_MAX_CPU is set to %s. It is very unlikely that such high pressure will be experienced." % (self.max_cpu_pressure))
if self.max_io_pressure:
self.max_io_pressure = float(self.max_io_pressure)
if self.max_io_pressure < lower_limit:
bb.fatal("Invalid BB_PRESSURE_MAX_IO %s, minimum value is %s." % (self.max_io_pressure, lower_limit))
if self.max_io_pressure > upper_limit:
bb.warn("Your build will be largely unregulated since BB_PRESSURE_MAX_IO is set to %s. It is very unlikely that such high pressure will be experienced." % (self.max_io_pressure))
if self.max_memory_pressure:
self.max_memory_pressure = float(self.max_memory_pressure)
if self.max_memory_pressure < lower_limit:
bb.fatal("Invalid BB_PRESSURE_MAX_MEMORY %s, minimum value is %s." % (self.max_memory_pressure, lower_limit))
if self.max_memory_pressure > upper_limit:
bb.warn("Your build will be largely unregulated since BB_PRESSURE_MAX_MEMORY is set to %s. It is very unlikely that such high pressure will be experienced." % (self.max_io_pressure))
# List of setscene tasks which we've covered
self.scenequeue_covered = set()
# List of tasks which are covered (including setscene ones)
@@ -1986,19 +1892,11 @@ class RunQueueExecute:
self.setbuildable(revdep)
logger.debug("Marking task %s as buildable", revdep)
found = None
for t in sorted(self.sq_deferred.copy()):
for t in self.sq_deferred.copy():
if self.sq_deferred[t] == task:
# Allow the next deferred task to run. Any other deferred tasks should be deferred after that task.
# We shouldn't allow all to run at once as it is prone to races.
if not found:
bb.debug(1, "Deferred task %s now buildable" % t)
del self.sq_deferred[t]
update_scenequeue_data([t], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False)
found = t
else:
bb.debug(1, "Deferring %s after %s" % (t, found))
self.sq_deferred[t] = found
logger.debug2("Deferred task %s now buildable" % t)
del self.sq_deferred[t]
update_scenequeue_data([t], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False)
def task_complete(self, task):
self.stats.taskCompleted()
@@ -2274,9 +2172,10 @@ class RunQueueExecute:
# No more tasks can be run. If we have deferred setscene tasks we should run them.
if self.sq_deferred:
deferred_tid = list(self.sq_deferred.keys())[0]
blocking_tid = self.sq_deferred.pop(deferred_tid)
logger.warning("Runqeueue deadlocked on deferred tasks, forcing task %s blocked by %s" % (deferred_tid, blocking_tid))
tid = self.sq_deferred.pop(list(self.sq_deferred.keys())[0])
logger.warning("Runqeueue deadlocked on deferred tasks, forcing task %s" % tid)
if tid not in self.runq_complete:
self.sq_task_failoutright(tid)
return True
if self.failed_tids:
@@ -2400,9 +2299,6 @@ class RunQueueExecute:
self.rqdata.runtaskentries[hashtid].unihash = unihash
bb.parse.siggen.set_unihash(hashtid, unihash)
toprocess.add(hashtid)
if torehash:
# Need to save after set_unihash above
bb.parse.siggen.save_unitaskhashes()
# Work out all tasks which depend upon these
total = set()
@@ -2509,6 +2405,17 @@ class RunQueueExecute:
self.sq_buildable.remove(tid)
if tid in self.sq_running:
self.sq_running.remove(tid)
harddepfail = False
for t in self.sqdata.sq_harddeps:
if tid in self.sqdata.sq_harddeps[t] and t in self.scenequeue_notcovered:
harddepfail = True
break
if not harddepfail and self.sqdata.sq_revdeps[tid].issubset(self.scenequeue_covered | self.scenequeue_notcovered):
if tid not in self.sq_buildable:
self.sq_buildable.add(tid)
if not self.sqdata.sq_revdeps[tid]:
self.sq_buildable.add(tid)
if tid in self.sqdata.outrightfail:
self.sqdata.outrightfail.remove(tid)
if tid in self.scenequeue_notcovered:
@@ -2527,36 +2434,18 @@ class RunQueueExecute:
if tid in self.build_stamps:
del self.build_stamps[tid]
update_tasks.append(tid)
update_tasks.append((tid, harddepfail, tid in self.sqdata.valid))
update_tasks2 = []
for tid in update_tasks:
harddepfail = False
for t in self.sqdata.sq_harddeps:
if tid in self.sqdata.sq_harddeps[t] and t in self.scenequeue_notcovered:
harddepfail = True
break
if not harddepfail and self.sqdata.sq_revdeps[tid].issubset(self.scenequeue_covered | self.scenequeue_notcovered):
if tid not in self.sq_buildable:
self.sq_buildable.add(tid)
if not self.sqdata.sq_revdeps[tid]:
self.sq_buildable.add(tid)
update_tasks2.append((tid, harddepfail, tid in self.sqdata.valid))
if update_tasks2:
if update_tasks:
self.sqdone = False
for mc in sorted(self.sqdata.multiconfigs):
for tid in sorted([t[0] for t in update_tasks2]):
if mc_from_tid(tid) != mc:
continue
h = pending_hash_index(tid, self.rqdata)
if h in self.sqdata.hashes and tid != self.sqdata.hashes[h]:
self.sq_deferred[tid] = self.sqdata.hashes[h]
bb.note("Deferring %s after %s" % (tid, self.sqdata.hashes[h]))
update_scenequeue_data([t[0] for t in update_tasks2], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False)
for tid in [t[0] for t in update_tasks]:
h = pending_hash_index(tid, self.rqdata)
if h in self.sqdata.hashes and tid != self.sqdata.hashes[h]:
self.sq_deferred[tid] = self.sqdata.hashes[h]
bb.note("Deferring %s after %s" % (tid, self.sqdata.hashes[h]))
update_scenequeue_data([t[0] for t in update_tasks], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False)
for (tid, harddepfail, origvalid) in update_tasks2:
for (tid, harddepfail, origvalid) in update_tasks:
if tid in self.sqdata.valid and not origvalid:
hashequiv_logger.verbose("Setscene task %s became valid" % tid)
if harddepfail:
@@ -2904,7 +2793,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
sqdata.hashes[h] = tid
else:
sqrq.sq_deferred[tid] = sqdata.hashes[h]
bb.debug(1, "Deferring %s after %s" % (tid, sqdata.hashes[h]))
bb.note("Deferring %s after %s" % (tid, sqdata.hashes[h]))
update_scenequeue_data(sqdata.sq_revdeps, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True)
@@ -3113,7 +3002,7 @@ class runQueuePipe():
if pipeout:
pipeout.close()
bb.utils.nonblockingfd(self.input)
self.queue = bytearray()
self.queue = b""
self.d = d
self.rq = rq
self.rqexec = rqexec
@@ -3132,7 +3021,7 @@ class runQueuePipe():
start = len(self.queue)
try:
self.queue.extend(self.input.read(102400) or b"")
self.queue = self.queue + (self.input.read(102400) or b"")
except (OSError, IOError) as e:
if e.errno != errno.EAGAIN:
raise

View File

@@ -757,11 +757,8 @@ class ConnectionWriter(object):
process.queue_signals = True
self._send(obj)
process.queue_signals = False
try:
for sig in process.signal_received.pop():
process.handle_sig(sig, None)
except IndexError:
pass
for sig in process.signal_received.pop():
process.handle_sig(sig, None)
else:
self._send(obj)

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
@@ -329,19 +327,19 @@ class SignatureGeneratorBasic(SignatureGenerator):
data = self.basehash[tid]
for dep in self.runtaskdeps[tid]:
data += self.get_unihash(dep)
data = data + self.get_unihash(dep)
for (f, cs) in self.file_checksum_values[tid]:
if cs:
if "/./" in f:
data += "./" + f.split("/./")[1]
data += cs
data = data + "./" + f.split("/./")[1]
data = data + cs
if tid in self.taints:
if self.taints[tid].startswith("nostamp:"):
data += self.taints[tid][8:]
data = data + self.taints[tid][8:]
else:
data += self.taints[tid]
data = data + self.taints[tid]
h = hashlib.sha256(data.encode("utf-8")).hexdigest()
self.taskhash[tid] = h
@@ -421,7 +419,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
bb.error("Taskhash mismatch %s versus %s for %s" % (computed_taskhash, self.taskhash[tid], tid))
sigfile = sigfile.replace(self.taskhash[tid], computed_taskhash)
fd, tmpfile = bb.utils.mkstemp(dir=os.path.dirname(sigfile), prefix="sigtask.")
fd, tmpfile = tempfile.mkstemp(dir=os.path.dirname(sigfile), prefix="sigtask.")
try:
with bb.compress.zstd.open(fd, "wt", encoding="utf-8", num_threads=1) as f:
json.dump(data, f, sort_keys=True, separators=(",", ":"), cls=SetEncoder)

View File

@@ -430,32 +430,6 @@ esac
self.assertEqual(deps, set(["TESTVAR2"]))
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['testval3', 'anothervalue'])
def test_contains_vardeps_override_operators(self):
# Check override operators handle dependencies correctly with the contains functionality
expr_plain = 'testval'
expr_prepend = '${@bb.utils.filter("TESTVAR1", "testval1", d)} '
expr_append = ' ${@bb.utils.filter("TESTVAR2", "testval2", d)}'
expr_remove = '${@bb.utils.contains("TESTVAR3", "no-testval", "testval", "", d)}'
# Check dependencies
self.d.setVar('ANOTHERVAR', expr_plain)
self.d.prependVar('ANOTHERVAR', expr_prepend)
self.d.appendVar('ANOTHERVAR', expr_append)
self.d.setVar('ANOTHERVAR:remove', expr_remove)
self.d.setVar('TESTVAR1', 'blah')
self.d.setVar('TESTVAR2', 'testval2')
self.d.setVar('TESTVAR3', 'no-testval')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(sorted(values.splitlines()),
sorted([
expr_prepend + expr_plain + expr_append,
'_remove of ' + expr_remove,
'TESTVAR1{testval1} = Unset',
'TESTVAR2{testval2} = Set',
'TESTVAR3{no-testval} = Set',
]))
# Check final value
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['testval2'])
#Currently no wildcard support
#def test_vardeps_wildcards(self):
# self.d.setVar("oe_libinstall", "echo test")

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -1,8 +1,6 @@
#
# BitBake Tests for cooker.py
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -6,7 +6,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
import contextlib
import unittest
import hashlib
import tempfile
@@ -1333,12 +1332,12 @@ class FetchLatestVersionTest(FetcherTest):
("dtc", "git://git.yoctoproject.org/bbfetchtests-dtc.git;branch=master", "65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf", "")
: "1.4.0",
# combination version pattern
("sysprof", "git://git.yoctoproject.org/sysprof.git;protocol=https;branch=master", "cd44ee6644c3641507fb53b8a2a69137f2971219", "")
("sysprof", "git://gitlab.gnome.org/GNOME/sysprof.git;protocol=https;branch=master", "cd44ee6644c3641507fb53b8a2a69137f2971219", "")
: "1.2.0",
("u-boot-mkimage", "git://source.denx.de/u-boot/u-boot.git;branch=master;protocol=https", "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c", "")
("u-boot-mkimage", "git://git.denx.de/u-boot.git;branch=master;protocol=git", "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c", "")
: "2014.01",
# version pattern "yyyymmdd"
("mobile-broadband-provider-info", "git://git.yoctoproject.org/mobile-broadband-provider-info.git;protocol=https;branch=master", "4ed19e11c2975105b71b956440acdb25d46a347d", "")
("mobile-broadband-provider-info", "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=master", "4ed19e11c2975105b71b956440acdb25d46a347d", "")
: "20120614",
# packages with a valid UPSTREAM_CHECK_GITTAGREGEX
# mirror of git://anongit.freedesktop.org/xorg/driver/xf86-video-omap since network issues interfered with testing
@@ -1417,7 +1416,7 @@ class FetchLatestVersionTest(FetcherTest):
def test_wget_latest_versionstring(self):
testdata = os.path.dirname(os.path.abspath(__file__)) + "/fetch-testdata"
server = HTTPService(testdata, host="127.0.0.1")
server = HTTPService(testdata)
server.start()
port = server.port
try:
@@ -1425,10 +1424,10 @@ class FetchLatestVersionTest(FetcherTest):
self.d.setVar("PN", k[0])
checkuri = ""
if k[2]:
checkuri = "http://127.0.0.1:%s/" % port + k[2]
checkuri = "http://localhost:%s/" % port + k[2]
self.d.setVar("UPSTREAM_CHECK_URI", checkuri)
self.d.setVar("UPSTREAM_CHECK_REGEX", k[3])
url = "http://127.0.0.1:%s/" % port + k[1]
url = "http://localhost:%s/" % port + k[1]
ud = bb.fetch2.FetchData(url, self.d)
pupver = ud.method.latest_versionstring(ud, self.d)
verstring = pupver[0]
@@ -1835,7 +1834,7 @@ class GitShallowTest(FetcherTest):
self.add_empty_file('bsub', cwd=smdir)
self.git('submodule init', cwd=self.srcdir)
self.git('-c protocol.file.allow=always submodule add file://%s' % smdir, cwd=self.srcdir)
self.git('submodule add file://%s' % smdir, cwd=self.srcdir)
self.git('submodule update', cwd=self.srcdir)
self.git('commit -m submodule -a', cwd=self.srcdir)
@@ -1865,7 +1864,7 @@ class GitShallowTest(FetcherTest):
self.add_empty_file('bsub', cwd=smdir)
self.git('submodule init', cwd=self.srcdir)
self.git('-c protocol.file.allow=always submodule add file://%s' % smdir, cwd=self.srcdir)
self.git('submodule add file://%s' % smdir, cwd=self.srcdir)
self.git('submodule update', cwd=self.srcdir)
self.git('commit -m submodule -a', cwd=self.srcdir)
@@ -2160,12 +2159,6 @@ class GitShallowTest(FetcherTest):
self.assertIn("fstests.doap", dir)
class GitLfsTest(FetcherTest):
def skipIfNoGitLFS():
import shutil
if not shutil.which('git-lfs'):
return unittest.skip('git-lfs not installed')
return lambda f: f
def setUp(self):
FetcherTest.setUp(self)
@@ -2183,14 +2176,10 @@ class GitLfsTest(FetcherTest):
bb.utils.mkdirhier(self.srcdir)
self.git_init(cwd=self.srcdir)
self.commit_file('.gitattributes', '*.mp3 filter=lfs -text')
def commit_file(self, filename, content):
with open(os.path.join(self.srcdir, filename), "w") as f:
f.write(content)
self.git(["add", filename], cwd=self.srcdir)
self.git(["commit", "-m", "Change"], cwd=self.srcdir)
return self.git(["rev-parse", "HEAD"], cwd=self.srcdir).strip()
with open(os.path.join(self.srcdir, '.gitattributes'), 'wt') as attrs:
attrs.write('*.mp3 filter=lfs -text')
self.git(['add', '.gitattributes'], cwd=self.srcdir)
self.git(['commit', '-m', "attributes", '.gitattributes'], cwd=self.srcdir)
def fetch(self, uri=None, download=True):
uris = self.d.getVar('SRC_URI').split()
@@ -2203,82 +2192,6 @@ class GitLfsTest(FetcherTest):
ud = fetcher.ud[uri]
return fetcher, ud
def get_real_git_lfs_file(self):
self.d.setVar('PATH', os.environ.get('PATH'))
fetcher, ud = self.fetch()
fetcher.unpack(self.d.getVar('WORKDIR'))
unpacked_lfs_file = os.path.join(self.d.getVar('WORKDIR'), 'git', "Cat_poster_1.jpg")
return unpacked_lfs_file
@skipIfNoGitLFS()
def test_fetch_lfs_on_srcrev_change(self):
"""Test if fetch downloads missing LFS objects when a different revision within an existing repository is requested"""
self.git(["lfs", "install", "--local"], cwd=self.srcdir)
@contextlib.contextmanager
def hide_upstream_repository():
"""Hide the upstream repository to make sure that git lfs cannot pull from it"""
temp_name = self.srcdir + ".bak"
os.rename(self.srcdir, temp_name)
try:
yield
finally:
os.rename(temp_name, self.srcdir)
def fetch_and_verify(revision, filename, content):
self.d.setVar('SRCREV', revision)
fetcher, ud = self.fetch()
with hide_upstream_repository():
workdir = self.d.getVar('WORKDIR')
fetcher.unpack(workdir)
with open(os.path.join(workdir, "git", filename)) as f:
self.assertEqual(f.read(), content)
commit_1 = self.commit_file("a.mp3", "version 1")
commit_2 = self.commit_file("a.mp3", "version 2")
self.d.setVar('SRC_URI', "git://%s;protocol=file;lfs=1;branch=master" % self.srcdir)
# Seed the local download folder by fetching the latest commit and verifying that the LFS contents are
# available even when the upstream repository disappears.
fetch_and_verify(commit_2, "a.mp3", "version 2")
# Verify that even when an older revision is fetched, the needed LFS objects are fetched into the download
# folder.
fetch_and_verify(commit_1, "a.mp3", "version 1")
@skipIfNoGitLFS()
@skipIfNoNetwork()
def test_real_git_lfs_repo_succeeds_without_lfs_param(self):
self.d.setVar('SRC_URI', "git://gitlab.com/gitlab-examples/lfs.git;protocol=https;branch=master")
f = self.get_real_git_lfs_file()
self.assertTrue(os.path.exists(f))
self.assertEqual("c0baab607a97839c9a328b4310713307", bb.utils.md5_file(f))
@skipIfNoGitLFS()
@skipIfNoNetwork()
def test_real_git_lfs_repo_succeeds(self):
self.d.setVar('SRC_URI', "git://gitlab.com/gitlab-examples/lfs.git;protocol=https;branch=master;lfs=1")
f = self.get_real_git_lfs_file()
self.assertTrue(os.path.exists(f))
self.assertEqual("c0baab607a97839c9a328b4310713307", bb.utils.md5_file(f))
@skipIfNoGitLFS()
@skipIfNoNetwork()
def test_real_git_lfs_repo_succeeds(self):
self.d.setVar('SRC_URI', "git://gitlab.com/gitlab-examples/lfs.git;protocol=https;branch=master;lfs=0")
f = self.get_real_git_lfs_file()
# This is the actual non-smudged placeholder file on the repo if git-lfs does not run
lfs_file = (
'version https://git-lfs.github.com/spec/v1\n'
'oid sha256:34be66b1a39a1955b46a12588df9d5f6fc1da790e05cf01f3c7422f4bbbdc26b\n'
'size 11423554\n'
)
with open(f) as fh:
self.assertEqual(lfs_file, fh.read())
def test_lfs_enabled(self):
import shutil
@@ -2297,16 +2210,12 @@ class GitLfsTest(FetcherTest):
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
old_find_git_lfs = ud.method._find_git_lfs
try:
# If git-lfs cannot be found, the unpack should throw an error
with self.assertRaises(bb.fetch2.FetchError):
fetcher.download()
ud.method._find_git_lfs = lambda d: False
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
finally:
ud.method._find_git_lfs = old_find_git_lfs
# If git-lfs cannot be found, the unpack should throw an error
with self.assertRaises(bb.fetch2.FetchError):
fetcher.download()
ud.method._find_git_lfs = lambda d: False
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
def test_lfs_disabled(self):
import shutil
@@ -2321,21 +2230,17 @@ class GitLfsTest(FetcherTest):
fetcher, ud = self.fetch()
self.assertIsNotNone(ud.method._find_git_lfs)
old_find_git_lfs = ud.method._find_git_lfs
try:
# If git-lfs can be found, the unpack should be successful. A
# live copy of git-lfs is not required for this case, so
# unconditionally forge its presence.
ud.method._find_git_lfs = lambda d: True
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
# If git-lfs cannot be found, the unpack should be successful
# If git-lfs can be found, the unpack should be successful. A
# live copy of git-lfs is not required for this case, so
# unconditionally forge its presence.
ud.method._find_git_lfs = lambda d: True
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
ud.method._find_git_lfs = lambda d: False
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
finally:
ud.method._find_git_lfs = old_find_git_lfs
# If git-lfs cannot be found, the unpack should be successful
ud.method._find_git_lfs = lambda d: False
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
class GitURLWithSpacesTest(FetcherTest):
test_git_urls = {

View File

@@ -194,26 +194,3 @@ deltask ${EMPTYVAR}
self.assertTrue('addtask ignored: " do_patch"' in stdout)
#self.assertTrue('dependent task do_foo for do_patch does not exist' in stdout)
broken_multiline_comment = """
# First line of comment \\
# Second line of comment \\
"""
def test_parse_broken_multiline_comment(self):
f = self.parsehelper(self.broken_multiline_comment)
with self.assertRaises(bb.BBHandledException):
d = bb.parse.handle(f.name, self.d)['']
comment_in_var = """
VAR = " \\
SOMEVAL \\
# some comment \\
SOMEOTHERVAL \\
"
"""
def test_parse_comment_in_var(self):
f = self.parsehelper(self.comment_in_var)
with self.assertRaises(bb.BBHandledException):
d = bb.parse.handle(f.name, self.d)['']

View File

@@ -324,11 +324,11 @@ class Tinfoil:
self.recipes_parsed = False
self.quiet = 0
self.oldhandlers = self.logger.handlers[:]
self.localhandlers = []
if setup_logging:
# This is the *client-side* logger, nothing to do with
# logging messages from the server
bb.msg.logger_create('BitBake', output)
self.localhandlers = []
for handler in self.logger.handlers:
if handler not in self.oldhandlers:
self.localhandlers.append(handler)

View File

@@ -13,7 +13,6 @@ import errno
import logging
import bb
import bb.msg
import locale
import multiprocessing
import fcntl
import importlib
@@ -29,8 +28,6 @@ import signal
import collections
import copy
import ctypes
import random
import tempfile
from subprocess import getstatusoutput
from contextlib import contextmanager
from ctypes import cdll
@@ -432,14 +429,12 @@ def better_eval(source, locals, extraglobals = None):
return eval(source, ctx, locals)
@contextmanager
def fileslocked(files, *args, **kwargs):
def fileslocked(files):
"""Context manager for locking and unlocking file locks."""
locks = []
if files:
for lockfile in files:
l = bb.utils.lockfile(lockfile, *args, **kwargs)
if l is not None:
locks.append(l)
locks.append(bb.utils.lockfile(lockfile))
try:
yield
@@ -546,12 +541,7 @@ def md5_file(filename):
Return the hex string representation of the MD5 checksum of filename.
"""
import hashlib
try:
sig = hashlib.new('MD5', usedforsecurity=False)
except TypeError:
# Some configurations don't appear to support two arguments
sig = hashlib.new('MD5')
return _hasher(sig, filename)
return _hasher(hashlib.new('MD5', usedforsecurity=False), filename)
def sha256_file(filename):
"""
@@ -607,21 +597,6 @@ def preserved_envvars():
]
return v + preserved_envvars_exported()
def check_system_locale():
"""Make sure the required system locale are available and configured"""
default_locale = locale.getlocale(locale.LC_CTYPE)
try:
locale.setlocale(locale.LC_CTYPE, ("en_US", "UTF-8"))
except:
sys.exit("Please make sure locale 'en_US.UTF-8' is available on your system")
else:
locale.setlocale(locale.LC_CTYPE, default_locale)
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\n"
"Python can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
def filter_environment(good_vars):
"""
Create a pristine environment for bitbake. This will remove variables that
@@ -717,8 +692,8 @@ def remove(path, recurse=False, ionice=False):
return
if recurse:
for name in glob.glob(path):
if _check_unsafe_delete_path(name):
raise Exception('bb.utils.remove: called with dangerous path "%s" and recurse=True, refusing to delete!' % name)
if _check_unsafe_delete_path(path):
raise Exception('bb.utils.remove: called with dangerous path "%s" and recurse=True, refusing to delete!' % path)
# shutil.rmtree(name) would be ideal but its too slow
cmd = []
if ionice:
@@ -776,7 +751,7 @@ def movefile(src, dest, newmtime = None, sstat = None):
if not sstat:
sstat = os.lstat(src)
except Exception as e:
logger.warning("movefile: Stating source file failed...", e)
print("movefile: Stating source file failed...", e)
return None
destexists = 1
@@ -804,7 +779,7 @@ def movefile(src, dest, newmtime = None, sstat = None):
os.unlink(src)
return os.lstat(dest)
except Exception as e:
logger.warning("movefile: failed to properly create symlink:", dest, "->", target, e)
print("movefile: failed to properly create symlink:", dest, "->", target, e)
return None
renamefailed = 1
@@ -821,7 +796,7 @@ def movefile(src, dest, newmtime = None, sstat = None):
except Exception as e:
if e.errno != errno.EXDEV:
# Some random error.
logger.warning("movefile: Failed to move", src, "to", dest, e)
print("movefile: Failed to move", src, "to", dest, e)
return None
# Invalid cross-device-link 'bind' mounted or actually Cross-Device
@@ -833,13 +808,13 @@ def movefile(src, dest, newmtime = None, sstat = None):
bb.utils.rename(destpath + "#new", destpath)
didcopy = 1
except Exception as e:
logger.warning('movefile: copy', src, '->', dest, 'failed.', e)
print('movefile: copy', src, '->', dest, 'failed.', e)
return None
else:
#we don't yet handle special, so we need to fall back to /bin/mv
a = getstatusoutput("/bin/mv -f " + "'" + src + "' '" + dest + "'")
if a[0] != 0:
logger.warning("movefile: Failed to move special file:" + src + "' to '" + dest + "'", a)
print("movefile: Failed to move special file:" + src + "' to '" + dest + "'", a)
return None # failure
try:
if didcopy:
@@ -847,7 +822,7 @@ def movefile(src, dest, newmtime = None, sstat = None):
os.chmod(destpath, stat.S_IMODE(sstat[stat.ST_MODE])) # Sticky is reset on chown
os.unlink(src)
except Exception as e:
logger.warning("movefile: Failed to chown/chmod/unlink", dest, e)
print("movefile: Failed to chown/chmod/unlink", dest, e)
return None
if newmtime:
@@ -1006,9 +981,6 @@ def to_boolean(string, default=None):
if not string:
return default
if isinstance(string, int):
return string != 0
normalized = string.lower()
if normalized in ("y", "yes", "1", "true"):
return True
@@ -1659,20 +1631,23 @@ def disable_network(uid=None, gid=None):
def export_proxies(d):
""" export common proxies variables from datastore to environment """
import os
variables = ['http_proxy', 'HTTP_PROXY', 'https_proxy', 'HTTPS_PROXY',
'ftp_proxy', 'FTP_PROXY', 'no_proxy', 'NO_PROXY',
'GIT_PROXY_COMMAND', 'SSL_CERT_FILE', 'SSL_CERT_DIR']
'GIT_PROXY_COMMAND']
exported = False
origenv = d.getVar("BB_ORIGENV")
for name in variables:
value = d.getVar(name)
if not value and origenv:
value = origenv.getVar(name)
if value:
os.environ[name] = value
for v in variables:
if v in os.environ.keys():
exported = True
else:
v_proxy = d.getVar(v)
if v_proxy is not None:
os.environ[v] = v_proxy
exported = True
return exported
def load_plugins(logger, plugins, pluginpath):
@@ -1779,22 +1754,3 @@ def is_local_uid(uid=''):
if str(uid) == line_split[2]:
return True
return False
def mkstemp(suffix=None, prefix=None, dir=None, text=False):
"""
Generates a unique filename, independent of time.
mkstemp() in glibc (at least) generates unique file names based on the
current system time. When combined with highly parallel builds, and
operating over NFS (e.g. shared sstate/downloads) this can result in
conflicts and race conditions.
This function adds additional entropy to the file name so that a collision
is independent of time and thus extremely unlikely.
"""
entropy = "".join(random.choices("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", k=20))
if prefix:
prefix = prefix + entropy
else:
prefix = tempfile.gettempprefix() + entropy
return tempfile.mkstemp(suffix=suffix, prefix=prefix, dir=dir, text=text)

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -585,7 +585,7 @@ class SiblingTest(TreeTest):
</html>'''
# All that whitespace looks good but makes the tests more
# difficult. Get rid of it.
markup = re.compile(r"\n\s*").sub("", markup)
markup = re.compile("\n\s*").sub("", markup)
self.tree = self.soup(markup)

View File

@@ -30,7 +30,7 @@ class HashEquivalenceTestSetup(object):
server_index = 0
def start_server(self, dbpath=None, upstream=None, read_only=False, prefunc=server_prefunc, need_client=True):
def start_server(self, dbpath=None, upstream=None, read_only=False, prefunc=server_prefunc):
self.server_index += 1
if dbpath is None:
dbpath = os.path.join(self.temp_dir.name, "db%d.sqlite" % self.server_index)
@@ -54,11 +54,8 @@ class HashEquivalenceTestSetup(object):
def cleanup_client(client):
client.close()
if need_client:
client = create_client(server.address)
self.addCleanup(cleanup_client, client)
else:
client = None
client = create_client(server.address)
self.addCleanup(cleanup_client, client)
return (client, server)
@@ -344,7 +341,7 @@ class HashEquivalenceCommonTests(object):
old_signal = signal.signal(signal.SIGTERM, do_nothing)
self.addCleanup(signal.signal, signal.SIGTERM, old_signal)
_, server = self.start_server(prefunc=prefunc, need_client=False)
_, server = self.start_server(prefunc=prefunc)
server.process.terminate()
time.sleep(30)
event.set()

View File

@@ -2798,14 +2798,7 @@ class ParserReflect(object):
def signature(self):
try:
import hashlib
except ImportError:
raise RuntimeError("Unable to import hashlib")
try:
sig = hashlib.new('MD5', usedforsecurity=False)
except TypeError:
# Some configurations don't appear to support two arguments
sig = hashlib.new('MD5')
try:
if self.start:
sig.update(self.start.encode('latin-1'))
if self.prec:

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -1,6 +1,4 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
@@ -344,9 +342,9 @@ def auto_shutdown():
def ping(host, port):
from . import client
with client.PRClient() as conn:
conn.connect_tcp(host, port)
return conn.ping()
conn = client.PRClient()
conn.connect_tcp(host, port)
return conn.ping()
def connect(host, port):
from . import client

View File

@@ -1,7 +1,5 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -42,7 +42,7 @@
<!-- Releases available -->
<object model="orm.release" pk="1">
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="description">Yocto Project 4.0 "Kirkstone"</field>
<field type="CharField" name="description">Yocto Project 3.5 "Kirkstone"</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">1</field>
<field type="CharField" name="branch_name">kirkstone</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=kirkstone"&gt;Yocto Project Kirkstone branch&lt;/a&gt;.</field>

View File

@@ -11,7 +11,7 @@ import os
import re
import logging
import json
import glob
import subprocess
from collections import Counter
from orm.models import Project, ProjectTarget, Build, Layer_Version
@@ -227,18 +227,20 @@ class XhrSetDefaultImageUrl(View):
# same logical name
# * Each project that uses a layer will have its own
# LayerVersion and Project Layer for it
# * During the Project delete process, when the last
# * During the Paroject delete process, when the last
# LayerVersion for a 'local_source_dir' layer is deleted
# then the Layer record is deleted to remove orphans
#
def scan_layer_content(layer,layer_version):
# if this is a local layer directory, we can immediately scan its content
if os.path.isdir(layer.local_source_dir):
if layer.local_source_dir:
try:
# recipes-*/*/*.bb
recipes_list = glob.glob(os.path.join(layer.local_source_dir, 'recipes-*/*/*.bb'))
for recipe in recipes_list:
cmd = '%s %s' % ('ls', os.path.join(layer.local_source_dir,'recipes-*/*/*.bb'))
recipes_list = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,stderr=subprocess.STDOUT).stdout.read()
recipes_list = recipes_list.decode("utf-8").strip()
if recipes_list and 'No such' not in recipes_list:
for recipe in recipes_list.split('\n'):
recipe_path = recipe[recipe.rfind('recipes-'):]
recipe_name = recipe[recipe.rfind('/')+1:].replace('.bb','')
@@ -258,9 +260,6 @@ def scan_layer_content(layer,layer_version):
except Exception as e:
logger.warning("ERROR:scan_layer_content: %s" % e)
else:
logger.warning("ERROR: wrong path given")
raise KeyError("local_source_dir")
class XhrLayer(View):
""" Delete, Get, Add and Update Layer information
@@ -457,18 +456,15 @@ class XhrLayer(View):
'layerdetailurl':
layer_dep.get_detailspage_url(project.pk)})
# Only scan_layer_content if layer is local
if layer_data.get('local_source_dir', None):
# Scan the layer's content and update components
scan_layer_content(layer,layer_version)
# Scan the layer's content and update components
scan_layer_content(layer,layer_version)
except Layer_Version.DoesNotExist:
return error_response("layer-dep-not-found")
except Project.DoesNotExist:
return error_response("project-not-found")
except KeyError as e:
_log("KeyError: %s" % e)
return error_response(f"incorrect-parameters")
except KeyError:
return error_response("incorrect-parameters")
return JsonResponse({'error': "ok",
'imported_layer': {

View File

@@ -5,5 +5,3 @@ sphinx-static/switchers.js
.vscode/
*/svg/*.png
*/svg/*.pdf
styles/*
!styles/config

View File

@@ -1,7 +0,0 @@
StylesPath = styles
MinAlertLevel = suggestion
Packages = RedHat, proselint, write-good, alex, Readability, Joblint
Vocab = Yocto, OpenSource
[*.rst]
BasedOnStyles = Vale, RedHat, proselint, write-good, alex, Readability, Joblint

View File

@@ -3,18 +3,14 @@
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -W --keep-going -j auto
SPHINXBUILD ?= sphinx-build
# Release notes are excluded because they contain contributor names and commit messages which can't be modified
VALEOPTS ?= --no-wrap --glob '!migration-guides/release-notes-*.rst'
SOURCEDIR = .
VALEDOCS ?= $(SOURCEDIR)
SPHINXLINTDOCS ?= $(SOURCEDIR)
IMAGEDIRS = */svg
BUILDDIR = _build
DESTDIR = final
SVG2PNG = inkscape
SVG2PDF = inkscape
SPHINXOPTS ?= -W --keep-going -j auto
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
IMAGEDIRS = */svg
BUILDDIR = _build
DESTDIR = final
SVG2PNG = inkscape
SVG2PDF = inkscape
ifeq ($(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then echo 1; else echo 0; fi),0)
$(error "The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed")
@@ -24,7 +20,7 @@ endif
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: all help Makefile clean stylecheck publish epub latexpdf
.PHONY: all help Makefile clean publish epub latexpdf
publish: Makefile html singlehtml
rm -rf $(BUILDDIR)/$(DESTDIR)/
@@ -50,13 +46,6 @@ PNGs := $(foreach dir, $(IMAGEDIRS), $(patsubst %.svg,%.png,$(wildcard $(SOURCED
clean:
@rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js
stylecheck:
vale sync
vale $(VALEOPTS) $(VALEDOCS)
sphinx-lint:
sphinx-lint $(SPHINXLINTDOCS)
epub: $(PNGs)
$(SOURCEDIR)/set_versions.py
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

View File

@@ -34,18 +34,16 @@ Manual Organization
Here the folders corresponding to individual manuals:
* brief-yoctoprojectqs - Yocto Project Quick Start
* overview-manual - Yocto Project Overview and Concepts Manual
* contributor-guide - Yocto Project and OpenEmbedded Contributor Guide
* ref-manual - Yocto Project Reference Manual
* sdk-manual - Yocto Project Software Development Kit (SDK) Developer's Guide.
* bsp-guide - Yocto Project Board Support Package (BSP) Developer's Guide
* dev-manual - Yocto Project Development Tasks Manual
* kernel-dev - Yocto Project Linux Kernel Development Manual
* ref-manual - Yocto Project Reference Manual
* brief-yoctoprojectqs - Yocto Project Quick Start
* profile-manual - Yocto Project Profiling and Tracing Manual
* sdk-manual - Yocto Project Software Development Kit (SDK) Developer's Guide.
* toaster-manual - Toaster User Manual
* test-manual - Yocto Project Test Environment Manual
* migration-guides - Yocto Project Release and Migration Notes
Each folder is self-contained regarding content and figures.
@@ -131,10 +129,6 @@ Also install the "inkscape" package from your distribution.
Inkscape is need to convert SVG graphics to PNG (for EPUB
export) and to PDF (for PDF export).
Additionally install "fncychap.sty" TeX font if you want to build PDFs. Debian
and Ubuntu have it in "texlive-latex-extra" package while RedHat distributions
and OpenSUSE have it in "texlive-fncychap" package for example.
To build the documentation locally, run:
$ cd documentation
@@ -151,50 +145,6 @@ dependencies in a virtual environment:
$ pipenv install
$ pipenv run make html
Style checking the Yocto Project documentation
==============================================
The project is starting to use Vale (https://vale.sh/)
to validate the text style.
To install Vale:
$ pip install vale
To run Vale:
$ make stylecheck
Style checking the whole documentation might take some time and generate a
lot of warnings/errors, thus one can run Vale on a subset of files or
directories:
$ make stylecheck VALEDOCS=<file>
$ make stylecheck VALEDOCS="<file1> <file2>"
$ make stylecheck VALEDOCS=<dir>
Lint checking the Yocto Project documentation
=============================================
To fix errors which are not reported by Sphinx itself,
the project uses sphinx-lint (https://github.com/sphinx-contrib/sphinx-lint).
To install sphinx-lint:
$ pip install sphinx-lint
To run sphinx-lint:
$ make sphinx-lint
Lint checking the whole documentation might take some time and generate a
lot of warnings/errors, thus one can run sphinx-lint on a subset of files
or directories:
$ make sphinx-lint SPHINXLINTDOCS=<file>
$ make sphinx-lint SPHINXLINTDOCS="<file1> <file2>"
$ make sphinx-lint SPHINXLINTDOCS=<dir>
Sphinx theme and CSS customization
==================================
@@ -321,19 +271,6 @@ websites.
More information can be found here:
https://sublime-and-sphinx-guide.readthedocs.io/en/latest/references.html.
For external links, we use this syntax:
`link text <link URL>`__
instead of:
`link text <link URL>`_
Both syntaxes work, but the latter also creates a "link text" reference
target which could conflict with other references with the same name.
So, only use this variant when you wish to make multiple references
to this link, reusing only the target name.
See https://stackoverflow.com/questions/27420317/restructured-text-rst-http-links-underscore-vs-use
Anchor (<#link>) links are forbidden as they are not checked by Sphinx during
the build and may be broken without knowing about it.
@@ -403,16 +340,13 @@ The sphinx.ext.intersphinx extension is enabled by default
so that we can cross reference content from other Sphinx based
documentation projects, such as the BitBake manual.
References to the BitBake manual can directly be done:
References to the BitBake manual can be done:
- With a specific description instead of the section name:
:ref:`Azure Storage fetcher (az://) <bitbake-user-manual/bitbake-user-manual-fetching:fetchers>`
:ref:`Azure Storage fetcher (az://) <bitbake:bitbake-user-manual/bitbake-user-manual-fetching:fetchers>`
- With the section name:
:ref:`bitbake-user-manual/bitbake-user-manual-intro:usage and syntax` option
If you want to refer to an entire document (or chapter) in the BitBake manual,
you have to use the ":doc:" macro with the "bitbake:" prefix:
- :doc:`BitBake User Manual <bitbake:index>`
- :doc:`bitbake:bitbake-user-manual/bitbake-user-manual-metadata`" chapter
:ref:`bitbake:bitbake-user-manual/bitbake-user-manual-intro:usage and syntax` option
- Linking to the entire BitBake manual:
:doc:`BitBake User Manual <bitbake:index>`
Note that a reference to a variable (:term:`VARIABLE`) automatically points to
the BitBake manual if the variable is not described in the Reference Manual's Variable Glossary.
@@ -421,11 +355,6 @@ BitBake manual as follows:
:term:`bitbake:BB_NUMBER_PARSE_THREADS`
This would be the same if we had identical document filenames in
both the Yocto Project and BitBake manuals:
:ref:`bitbake:directory/file:section title`
Submitting documentation changes
================================

View File

@@ -25,11 +25,18 @@ build a reference embedded OS called Poky.
in the Yocto Project Development Tasks Manual for more
information.
- You may use version 2 of Windows Subsystem For Linux (WSL 2) to set
up a build host using Windows 10 or later, Windows Server 2019 or later.
See the :ref:`dev-manual/start:setting up to use windows subsystem for
linux (wsl 2)` section in the Yocto Project Development Tasks Manual
for more information.
- You may use Windows Subsystem For Linux v2 to set up a build host
using Windows 10.
.. note::
The Yocto Project is not compatible with WSLv1, it is
compatible but not officially supported nor validated with
WSLv2, if you still decide to use WSL please upgrade to WSLv2.
See the :ref:`dev-manual/start:setting up to use windows
subsystem for linux (wslv2)` section in the Yocto Project Development
Tasks Manual for more information.
If you want more conceptual or background information on the Yocto
Project, see the :doc:`/overview-manual/index`.
@@ -40,13 +47,7 @@ Compatible Linux Distribution
Make sure your :term:`Build Host` meets the
following requirements:
- At least &MIN_DISK_SPACE; Gbytes of free disk space, though
much more will help to run multiple builds and increase
performance by reusing build artifacts.
- At least &MIN_RAM; Gbytes of RAM, though a modern modern build host with as
much RAM and as many CPU cores as possible is strongly recommended to
maximize build performance.
- 50 Gbytes of free disk space
- Runs a supported Linux distribution (i.e. recent releases of Fedora,
openSUSE, CentOS, Debian, or Ubuntu). For a list of Linux
@@ -63,12 +64,11 @@ following requirements:
- tar &MIN_TAR_VERSION; or greater
- Python &MIN_PYTHON_VERSION; or greater.
- gcc &MIN_GCC_VERSION; or greater.
- GNU make &MIN_MAKE_VERSION; or greater
If your build host does not meet any of these three listed version
requirements, you can take steps to prepare the system so that you
can still use the Yocto Project. See the
:ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions`
:ref:`ref-manual/system-requirements:required git, tar, python and gcc versions`
section in the Yocto Project Reference Manual for information.
Build Host Packages
@@ -76,9 +76,11 @@ Build Host Packages
You must install essential host packages on your build host. The
following command installs the host packages based on an Ubuntu
distribution::
distribution:
$ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_ESSENTIAL;
.. code-block:: shell
$ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
.. note::
@@ -251,10 +253,15 @@ an entire Linux distribution, including the toolchain, from source.
To use such mirrors, uncomment the below lines in your ``conf/local.conf``
file in the :term:`Build Directory`::
BB_HASHSERVE_UPSTREAM = "hashserv.yoctoproject.org:8686"
SSTATE_MIRRORS ?= "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH"
BB_HASHSERVE = "auto"
BB_SIGNATURE_HANDLER = "OEEquivHash"
BB_HASHSERVE = "auto"
BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH"
The above settings assumed the use of Yocto Project &YOCTO_DOC_VERSION;.
If you are using the development version instead, set :term:`SSTATE_MIRRORS` as follows::
SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH"
#. **Start the Build:** Continue with the following command to build an OS
image for the target, which is ``core-image-sato`` in this example:
@@ -367,7 +374,7 @@ Follow these steps to add a hardware layer:
You can find
more information on adding layers in the
:ref:`dev-manual/layers:adding a layer using the \`\`bitbake-layers\`\` script`
:ref:`dev-manual/common-tasks:adding a layer using the \`\`bitbake-layers\`\` script`
section.
Completing these steps has added the ``meta-altera`` layer to your Yocto
@@ -402,7 +409,7 @@ The following commands run the tool to create a layer named
For more information
on layers and how to create them, see the
:ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`
:ref:`dev-manual/common-tasks:creating a general layer using the \`\`bitbake-layers\`\` script`
section in the Yocto Project Development Tasks Manual.
Where To Go Next
@@ -417,9 +424,9 @@ information including the website, wiki pages, and user manuals:
development documentation, and access to a rich Yocto Project
Development Community into which you can tap.
- **Video Seminar:** The `Introduction to the Yocto Project and Bitbake, Part 1
- **Video Seminar:** The `Introduction to the Yocto Project and BitBake, Part 1
<https://youtu.be/yuE7my3KOpo>`__ and
`Introduction to the Yocto Project and Bitbake, Part 2
`Introduction to the Yocto Project and BitBake, Part 2
<https://youtu.be/iZ05TTyzGHk>`__ videos offer a video seminar
introducing you to the most important aspects of developing a
custom embedded Linux distribution with the Yocto Project.

View File

@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
**************************************************
Board Support Packages (BSP) --- Developer's Guide
**************************************************
************************************************
Board Support Packages (BSP) - Developer's Guide
************************************************
A Board Support Package (BSP) is a collection of information that
defines how to support a particular hardware device, set of devices, or
@@ -128,7 +128,7 @@ you want to work with, such as::
and so on.
For more information on layers, see the
":ref:`dev-manual/layers:understanding and creating layers`"
":ref:`dev-manual/common-tasks:understanding and creating layers`"
section of the Yocto Project Development Tasks Manual.
Preparing Your Build Host to Work With BSP Layers
@@ -464,7 +464,7 @@ requirements are handled with the ``COPYING.MIT`` file.
Licensing files can be MIT, BSD, GPLv*, and so forth. These files are
recommended for the BSP but are optional and totally up to the BSP
developer. For information on how to maintain license compliance, see
the ":ref:`dev-manual/licenses:maintaining open source license compliance during your product's lifecycle`"
the ":ref:`dev-manual/common-tasks:maintaining open source license compliance during your product's lifecycle`"
section in the Yocto Project Development Tasks Manual.
README File
@@ -590,7 +590,7 @@ filenames correspond to the values to which users have set the
These files define things such as the kernel package to use
(:term:`PREFERRED_PROVIDER` of
:ref:`virtual/kernel <dev-manual/new-recipe:using virtual providers>`),
:ref:`virtual/kernel <dev-manual/common-tasks:using virtual providers>`),
the hardware drivers to include in different types of images, any
special software components that are needed, any bootloader information,
and also any special image format requirements.
@@ -725,6 +725,7 @@ workflow.
.. image:: figures/bsp-dev-flow.png
:align: center
:width: 70%
#. *Set up Your Host Development System to Support Development Using the
Yocto Project*: See the ":ref:`dev-manual/start:preparing the build host`"
@@ -757,7 +758,7 @@ workflow.
OpenEmbedded build system knows about. For more information on
layers, see the ":ref:`overview-manual/yp-intro:the yocto project layer model`"
section in the Yocto Project Overview and Concepts Manual. You can also
reference the ":ref:`dev-manual/layers:understanding and creating layers`"
reference the ":ref:`dev-manual/common-tasks:understanding and creating layers`"
section in the Yocto Project Development Tasks Manual. For more
information on BSP layers, see the ":ref:`bsp-guide/bsp:bsp layers`"
section.
@@ -774,6 +775,20 @@ workflow.
- Two general IA platforms (``genericx86`` and ``genericx86-64``)
- There are three core Intel BSPs in the Yocto Project
release, in the ``meta-intel`` layer:
- ``intel-core2-32``, which is a BSP optimized for the Core2
family of CPUs as well as all CPUs prior to the Silvermont
core.
- ``intel-corei7-64``, which is a BSP optimized for Nehalem
and later Core and Xeon CPUs as well as Silvermont and later
Atom CPUs, such as the Baytrail SoCs.
- ``intel-quark``, which is a BSP optimized for the Intel
Galileo gen1 & gen2 development boards.
When you set up a layer for a new BSP, you should follow a standard
layout. This layout is described in the ":ref:`bsp-guide/bsp:example filesystem layout`"
section. In the standard layout, notice
@@ -802,7 +817,7 @@ workflow.
key configuration files are configured appropriately: the
``conf/local.conf`` and the ``conf/bblayers.conf`` file. You must
make the OpenEmbedded build system aware of your new layer. See the
":ref:`dev-manual/layers:enabling your layer`"
":ref:`dev-manual/common-tasks:enabling your layer`"
section in the Yocto Project Development Tasks Manual for information
on how to let the build system know about your new layer.
@@ -831,7 +846,7 @@ Before looking at BSP requirements, you should consider the following:
layer that can be added to the Yocto Project. For guidelines on
creating a layer that meets these base requirements, see the
":ref:`bsp-guide/bsp:bsp layers`" section in this manual and the
":ref:`dev-manual/layers:understanding and creating layers`"
":ref:`dev-manual/common-tasks:understanding and creating layers`"
section in the Yocto Project Development Tasks Manual.
- The requirements in this section apply regardless of how you package
@@ -853,7 +868,8 @@ Before looking at BSP requirements, you should consider the following:
dictating that a specific kernel or kernel version be used in a given
BSP.
The requirements for a released BSP that conform to the Yocto Project are:
Following are the requirements for a released BSP that conform to the
Yocto Project:
- *Layer Name:* The BSP must have a layer name that follows the Yocto
Project standards. For information on BSP layer names, see the
@@ -878,8 +894,8 @@ The requirements for a released BSP that conform to the Yocto Project are:
``recipes-*`` subdirectories specific to the recipe's function, or
within a subdirectory containing a set of closely-related recipes.
The recipes themselves should follow the general guidelines for
recipes found in the ":doc:`../contributor-guide/recipe-style-guide`"
in the Yocto Project and OpenEmbedded Contributor Guide.
recipes used in the Yocto Project found in the ":oe_wiki:`OpenEmbedded
Style Guide </Styleguide>`".
- *License File:* You must include a license file in the
``meta-bsp_root_name`` directory. This license covers the BSP
@@ -912,8 +928,8 @@ The requirements for a released BSP that conform to the Yocto Project are:
- The name and contact information for the BSP layer maintainer.
This is the person to whom patches and questions should be sent.
For information on how to find the right person, see the
:doc:`../contributor-guide/submit-changes` section in the Yocto Project and
OpenEmbedded Contributor Guide.
":ref:`dev-manual/common-tasks:submitting a change to the yocto project`"
section in the Yocto Project Development Tasks Manual.
- Instructions on how to build the BSP using the BSP layer.
@@ -957,7 +973,7 @@ The requirements for a released BSP that conform to the Yocto Project are:
Released BSP Recommendations
----------------------------
Here are recommendations for released BSPs that conform to the
Following are recommendations for released BSPs that conform to the
Yocto Project:
- *Bootable Images:* Released BSPs can contain one or more bootable
@@ -998,7 +1014,7 @@ the following:
- Create a ``*.bbappend`` file for the modified recipe. For information on using
append files, see the
":ref:`dev-manual/layers:appending other layers metadata with your layer`"
":ref:`dev-manual/common-tasks:appending other layers metadata with your layer`"
section in the Yocto Project Development Tasks Manual.
- Ensure your directory structure in the BSP layer that supports your
@@ -1019,7 +1035,7 @@ the following:
that additional hierarchy and the files would obviously not be able
to reside in a machine-specific directory.
Here is a specific example to help you better understand the
Following is a specific example to help you better understand the
process. This example customizes a recipe by adding a
BSP-specific configuration file named ``interfaces`` to the
``init-ifupdown_1.0.bb`` recipe for machine "xyz" where the BSP layer
@@ -1102,7 +1118,7 @@ list describes them in order of preference:
Specifying the matching license string signifies that you agree to
the license. Thus, the build system can build the corresponding
recipe and include the component in the image. See the
":ref:`dev-manual/licenses:enabling commercially licensed recipes`"
":ref:`dev-manual/common-tasks:enabling commercially licensed recipes`"
section in the Yocto Project Development Tasks Manual for details on
how to use these variables.
@@ -1154,7 +1170,7 @@ Use these steps to create a BSP layer:
``create-layer`` subcommand to create a new general layer. For
instructions on how to create a general layer using the
``bitbake-layers`` script, see the
":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`"
":ref:`dev-manual/common-tasks:creating a general layer using the \`\`bitbake-layers\`\` script`"
section in the Yocto Project Development Tasks Manual.
- *Create a Layer Configuration File:* Every layer needs a layer
@@ -1164,14 +1180,14 @@ Use these steps to create a BSP layer:
:yocto_git:`Source Repositories <>`. To get examples of what you need
in your configuration file, locate a layer (e.g. "meta-ti") and
examine the
:yocto_git:`local.conf </meta-ti/tree/meta-ti-bsp/conf/layer.conf>`
:yocto_git:`local.conf </meta-ti/tree/conf/layer.conf>`
file.
- *Create a Machine Configuration File:* Create a
``conf/machine/bsp_root_name.conf`` file. See
:yocto_git:`meta-yocto-bsp/conf/machine </poky/tree/meta-yocto-bsp/conf/machine>`
for sample ``bsp_root_name.conf`` files. There are other samples such as
:yocto_git:`meta-ti </meta-ti/tree/meta-ti-bsp/conf/machine>`
:yocto_git:`meta-ti </meta-ti/tree/conf/machine>`
and
:yocto_git:`meta-freescale </meta-freescale/tree/conf/machine>`
from other vendors that have more specific machine and tuning
@@ -1179,7 +1195,7 @@ Use these steps to create a BSP layer:
- *Create a Kernel Recipe:* Create a kernel recipe in
``recipes-kernel/linux`` by either using a kernel append file or a
new custom kernel recipe file (e.g. ``linux-yocto_4.12.bb``). The BSP
new custom kernel recipe file (e.g. ``yocto-linux_4.12.bb``). The BSP
layers mentioned in the previous step also contain different kernel
examples. See the ":ref:`kernel-dev/common:modifying an existing recipe`"
section in the Yocto Project Linux Kernel Development Manual for
@@ -1194,7 +1210,7 @@ BSP Layer Configuration Example
-------------------------------
The layer's ``conf`` directory contains the ``layer.conf`` configuration
file. In this example, the ``conf/layer.conf`` file is the following::
file. In this example, the ``conf/layer.conf`` is the following::
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
@@ -1214,7 +1230,7 @@ configuration files is to examine various files for BSP from the
:yocto_git:`Source Repositories <>`.
For a detailed description of this particular layer configuration file,
see ":ref:`step 3 <dev-manual/layers:creating your own layer>`"
see ":ref:`step 3 <dev-manual/common-tasks:creating your own layer>`"
in the discussion that describes how to create layers in the Yocto
Project Development Tasks Manual.
@@ -1434,39 +1450,39 @@ The kernel recipe used to build the kernel image for the BeagleBone
device was established in the machine configuration::
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "5.15%"
PREFERRED_VERSION_linux-yocto ?= "5.0%"
The ``meta-yocto-bsp/recipes-kernel/linux`` directory in the layer contains
metadata used to build the kernel. In this case, a kernel append file
(i.e. ``linux-yocto_5.15.bbappend``) is used to override an established
kernel recipe (i.e. ``linux-yocto_5.15.bb``), which is located in
:yocto_git:`/poky/tree/meta-yocto-bsp/recipes-kernel/linux`.
(i.e. ``linux-yocto_5.0.bbappend``) is used to override an established
kernel recipe (i.e. ``linux-yocto_5.0.bb``), which is located in
:yocto_git:`/poky/tree/meta/recipes-kernel/linux`.
The contents of the append file are::
Following is the contents of the append file::
KBRANCH:genericx86 = "v5.15/standard/base"
KBRANCH:genericx86-64 = "v5.15/standard/base"
KBRANCH:edgerouter = "v5.15/standard/edgerouter"
KBRANCH:beaglebone-yocto = "v5.15/standard/beaglebone"
KBRANCH:genericx86 = "v5.0/standard/base"
KBRANCH:genericx86-64 = "v5.0/standard/base"
KBRANCH:edgerouter = "v5.0/standard/edgerouter"
KBRANCH:beaglebone-yocto = "v5.0/standard/beaglebone"
KMACHINE:genericx86 ?= "common-pc"
KMACHINE:genericx86-64 ?= "common-pc-64"
KMACHINE:beaglebone-yocto ?= "beaglebone"
SRCREV_machine:genericx86 ?= "0b628306d1f9ea28c0e86369ce9bb87a47893c9c"
SRCREV_machine:genericx86-64 ?= "0b628306d1f9ea28c0e86369ce9bb87a47893c9c"
SRCREV_machine:edgerouter ?= "90f1ee6589264545f548d731c2480b08a007230f"
SRCREV_machine:beaglebone-yocto ?= "9aabbaa89fcb21af7028e814c1f5b61171314d5a"
SRCREV_machine:genericx86 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
SRCREV_machine:genericx86-64 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
SRCREV_machine:edgerouter ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
SRCREV_machine:beaglebone-yocto ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
COMPATIBLE_MACHINE:genericx86 = "genericx86"
COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64"
COMPATIBLE_MACHINE:edgerouter = "edgerouter"
COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto"
LINUX_VERSION:genericx86 = "5.15.72"
LINUX_VERSION:genericx86-64 = "5.15.72"
LINUX_VERSION:edgerouter = "5.15.54"
LINUX_VERSION:beaglebone-yocto = "5.15.54"
LINUX_VERSION:genericx86 = "5.0.3"
LINUX_VERSION:genericx86-64 = "5.0.3"
LINUX_VERSION:edgerouter = "5.0.3"
LINUX_VERSION:beaglebone-yocto = "5.0.3"
This particular append file works for all the machines that are
part of the ``meta-yocto-bsp`` layer. The relevant statements are

View File

@@ -19,7 +19,7 @@ try:
import yaml
except ImportError:
sys.stderr.write("The Yocto Project Sphinx documentation requires PyYAML.\
\nPlease make sure to install pyyaml python package.\n")
\nPlease make sure to install pyyaml Python package.\n")
sys.exit(1)
# current_version = "dev"
@@ -90,9 +90,7 @@ rst_prolog = """
# external links and substitutions
extlinks = {
'bitbake_git': ('https://git.openembedded.org/bitbake%s', None),
'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'),
'cve_nist': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'),
'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-'),
'yocto_home': ('https://www.yoctoproject.org%s', None),
'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None),
'yocto_dl': ('https://downloads.yoctoproject.org%s', None),
@@ -108,10 +106,9 @@ extlinks = {
'oe_wiki': ('https://www.openembedded.org/wiki%s', None),
'oe_layerindex': ('https://layers.openembedded.org%s', None),
'oe_layer': ('https://layers.openembedded.org/layerindex/branch/master/layer%s', None),
'wikipedia': ('https://en.wikipedia.org/wiki/%s', None),
}
# Intersphinx config to use cross reference with Bitbake user manual
# Intersphinx config to use cross reference with BitBake user manual
intersphinx_mapping = {
'bitbake': ('https://docs.yoctoproject.org/bitbake/' + bitbake_version, None)
}
@@ -132,7 +129,7 @@ try:
}
except ImportError:
sys.stderr.write("The Sphinx sphinx_rtd_theme HTML theme was not found.\
\nPlease make sure to install the sphinx_rtd_theme python package.\n")
\nPlease make sure to install the sphinx_rtd_theme Python package.\n")
sys.exit(1)
html_logo = 'sphinx-static/YoctoProject_Logo_RGB.jpg'
@@ -160,8 +157,8 @@ html_last_updated_fmt = '%b %d, %Y'
html_secnumber_suffix = " "
latex_elements = {
'passoptionstopackages': '\\PassOptionsToPackage{bookmarksdepth=5}{hyperref}',
'preamble': '\\setcounter{tocdepth}{2}',
'passoptionstopackages': '\PassOptionsToPackage{bookmarksdepth=5}{hyperref}',
'preamble': '\setcounter{tocdepth}{2}',
}
# Make the EPUB builder prefer PNG to SVG because of issues rendering Inkscape SVG

View File

@@ -1,31 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Identify the component
**********************
The Yocto Project and OpenEmbedded ecosystem is built of :term:`layers <Layer>`
so the first step is to identify the component where the issue likely lies.
For example, if you have a hardware issue, it is likely related to the BSP
you are using and the best place to seek advice would be from the BSP provider
or :term:`layer`. If the issue is a build/configuration one and a distro is in
use, they would likely be the first place to ask questions. If the issue is a
generic one and/or in the core classes or metadata, the core layer or BitBake
might be the appropriate component.
Each metadata layer being used should contain a ``README`` file and that should
explain where to report issues, where to send changes and how to contact the
maintainers.
If the issue is in the core metadata layer (OpenEmbedded-Core) or in BitBake,
issues can be reported in the :yocto_bugs:`Yocto Project Bugzilla <>`. The
:yocto_lists:`yocto </g/yocto>` mailing list is a general “catch-all” location
where questions can be sent if you cant work out where something should go.
:term:`Poky` is a commonly used “combination” repository where multiple
components have been combined (:oe_git:`bitbake </bitbake>`,
:oe_git:`openembedded-core </openembedded-core>`,
:yocto_git:`meta-yocto </meta-yocto>` and
:yocto_git:`yocto-docs </yocto-docs>`). Patches should be submitted against the
appropriate individual component rather than :term:`Poky` itself as detailed in
the appropriate ``README`` file.

View File

@@ -1,26 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
================================================
Yocto Project and OpenEmbedded Contributor Guide
================================================
The Yocto Project and OpenEmbedded are open-source, community-based projects so
contributions are very welcome, it is how the code evolves and everyone can
effect change. Contributions take different forms, if you have a fix for an
issue youve run into, a patch is the most appropriate way to contribute it.
If you run into an issue but dont have a solution, opening a defect in
:yocto_bugs:`Bugzilla <>` or asking questions on the mailing lists might be
more appropriate. This guide intends to point you in the right direction to
this.
.. toctree::
:caption: Table of Contents
:numbered:
identify-component
report-defect
recipe-style-guide
submit-changes
.. include:: /boilerplate.rst

View File

@@ -1,411 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Recipe Style Guide
******************
Recipe Naming Conventions
=========================
In general, most recipes should follow the naming convention
``recipes-category/recipename/recipename_version.bb``. Recipes for related
projects may share the same recipe directory. ``recipename`` and ``category``
may contain hyphens, but hyphens are not allowed in ``version``.
If the recipe is tracking a Git revision that does not correspond to a released
version of the software, ``version`` may be ``git`` (e.g. ``recipename_git.bb``)
and the recipe would set :term:`PV`.
Version Policy
==============
Our versions follow the form ``<epoch>:<version>-<revision>``
or in BitBake variable terms ${:term:`PE`}:${:term:`PV`}-${:term:`PR`}. We
generally follow the `Debian <https://www.debian.org/doc/debian-policy/ch-controlfields.html#version>`__
version policy which defines these terms.
In most cases the version :term:`PV` will be set automatically from the recipe
file name. It is recommended to use released versions of software as these are
revisions that upstream are expecting people to use.
Recipe versions should always compare and sort correctly so that upgrades work
as expected. With conventional versions such as ``1.4`` upgrading ``to 1.5``
this happens naturally, but some versions don't sort. For example,
``1.5 Release Candidate 2`` could be written as ``1.5rc2`` but this sorts after
``1.5``, so upgrades from feeds won't happen correctly.
Instead the tilde (``~``) operator can be used, which sorts before the empty
string so ``1.5~rc2`` comes before ``1.5``. There is a historical syntax which
may be found where :term:`PV` is set as a combination of the prior version
``+`` the pre-release version, for example ``PV=1.4+1.5rc2``. This is a valid
syntax but the tilde form is preferred.
For version comparisons, the ``opkg-compare-versions`` program from
``opkg-utils`` can be useful when attempting to determine how two version
numbers compare to each other. Our definitive version comparison algorithm is
the one within bitbake which aims to match those of the package managers and
Debian policy closely.
When a recipe references a git revision that does not correspond to a released
version of software (e.g. is not a tagged version), the :term:`PV` variable
should include the Git revision using the following to make the
version clear::
PV = "<version>+git${SRCPV}"
In this case, ``<version>`` should be the most recently released version of the
software from the current source revision (``git describe`` can be useful for
determining this). Whilst not recommended for published layers, this format is
also useful when using :term:`AUTOREV` to set the recipe to increment source
control revisions automatically, which can be useful during local development.
Version Number Changes
======================
The :term:`PR` variable is used to indicate different revisions of a recipe
that reference the same upstream source version. It can be used to force a
new version of a recipe to be installed onto a device from a package feed.
These once had to be set manually but in most cases these can now be set and
incremented automatically by a PR Server connected with a package feed.
When :term:`PV` increases, any existing :term:`PR` value can and should be
removed.
If :term:`PV` changes in such a way that it does not increase with respect to
the previous value, you need to increase :term:`PE` to ensure package managers
will upgrade it correctly. If unset you should set :term:`PE` to "1" since
the default of empty is easily confused with "0" depending on the package
manager. :term:`PE` can only have an integer value.
Recipe formatting
=================
Variable Formatting
-------------------
- Variable assignment should a space around each side of the operator, e.g.
``FOO = "bar"``, not ``FOO="bar"``.
- Double quotes should be used on the right-hand side of the assignment,
e.g. ``FOO = "bar"`` not ``FOO = 'bar'``
- Spaces should be used for indenting variables, with 4 spaces per tab
- Long variables should be split over multiple lines when possible by using
the continuation character (``\``)
- When splitting a long variable over multiple lines, all continuation lines
should be indented (with spaces) to align with the start of the quote on the
first line::
FOO = "this line is \
long \
"
Instead of::
FOO = "this line is \
long \
"
Python Function formatting
--------------------------
- Spaces must be used for indenting Python code, with 4 spaces per tab
Shell Function formatting
-------------------------
- The formatting of shell functions should be consistent within layers.
Some use tabs, some use spaces.
Recipe metadata
===============
Required Variables
------------------
The following variables should be included in all recipes:
- :term:`SUMMARY`: a one line description of the upstream project
- :term:`DESCRIPTION`: an extended description of the upstream project,
possibly with multiple lines. If no reasonable description can be written,
this may be omitted as it defaults to :term:`SUMMARY`.
- :term:`HOMEPAGE`: the URL to the upstream projects homepage.
- :term:`BUGTRACKER`: the URL upstream projects bug tracking website,
if applicable.
Recipe Ordering
---------------
When a variable is defined in recipes and classes, variables should follow the
general order when possible:
- :term:`SUMMARY`
- :term:`DESCRIPTION`
- :term:`HOMEPAGE`
- :term:`BUGTRACKER`
- :term:`SECTION`
- :term:`LICENSE`
- :term:`LIC_FILES_CHKSUM`
- :term:`DEPENDS`
- :term:`PROVIDES`
- :term:`PV`
- :term:`SRC_URI`
- :term:`SRCREV`
- :term:`S`
- ``inherit ...``
- :term:`PACKAGECONFIG`
- Build class specific variables such as ``EXTRA_QMAKEVARS_POST`` and :term:`EXTRA_OECONF`
- Tasks such as :ref:`ref-tasks-configure`
- :term:`PACKAGE_ARCH`
- :term:`PACKAGES`
- :term:`FILES`
- :term:`RDEPENDS`
- :term:`RRECOMMENDS`
- :term:`RSUGGESTS`
- :term:`RPROVIDES`
- :term:`RCONFLICTS`
- :term:`BBCLASSEXTEND`
There are some cases where ordering is important and these cases would override
this default order. Examples include:
- :term:`PACKAGE_ARCH` needing to be set before ``inherit packagegroup``
Tasks should be ordered based on the order they generally execute. For commonly
used tasks this would be:
- :ref:`ref-tasks-fetch`
- :ref:`ref-tasks-unpack`
- :ref:`ref-tasks-patch`
- :ref:`ref-tasks-prepare_recipe_sysroot`
- :ref:`ref-tasks-configure`
- :ref:`ref-tasks-compile`
- :ref:`ref-tasks-install`
- :ref:`ref-tasks-populate_sysroot`
- :ref:`ref-tasks-package`
Custom tasks should be sorted similarly.
Package specific variables are typically grouped together, e.g.::
RDEPENDS:${PN} = “foo”
RDEPENDS:${PN}-libs = “bar”
RRECOMMENDS:${PN} = “one”
RRECOMMENDS:${PN}-libs = “two”
Recipe License Fields
---------------------
Recipes need to define both the :term:`LICENSE` and
:term:`LIC_FILES_CHKSUM` variables:
- :term:`LICENSE`: This variable specifies the license for the software.
If you do not know the license under which the software you are
building is distributed, you should go to the source code and look
for that information. Typical files containing this information
include ``COPYING``, :term:`LICENSE`, and ``README`` files. You could
also find the information near the top of a source file. For example,
given a piece of software licensed under the GNU General Public
License version 2, you would set :term:`LICENSE` as follows::
LICENSE = "GPL-2.0-only"
The licenses you specify within :term:`LICENSE` can have any name as long
as you do not use spaces, since spaces are used as separators between
license names. For standard licenses, use the names of the files in
``meta/files/common-licenses/`` or the :term:`SPDXLICENSEMAP` flag names
defined in ``meta/conf/licenses.conf``.
- :term:`LIC_FILES_CHKSUM`: The OpenEmbedded build system uses this
variable to make sure the license text has not changed. If it has,
the build produces an error and it affords you the chance to figure
it out and correct the problem.
You need to specify all applicable licensing files for the software.
At the end of the configuration step, the build process will compare
the checksums of the files to be sure the text has not changed. Any
differences result in an error with the message containing the
current checksum. For more explanation and examples of how to set the
:term:`LIC_FILES_CHKSUM` variable, see the
":ref:`dev-manual/licenses:tracking license changes`" section.
To determine the correct checksum string, you can list the
appropriate files in the :term:`LIC_FILES_CHKSUM` variable with incorrect
md5 strings, attempt to build the software, and then note the
resulting error messages that will report the correct md5 strings.
See the ":ref:`dev-manual/new-recipe:fetching code`" section for
additional information.
Here is an example that assumes the software has a ``COPYING`` file::
LIC_FILES_CHKSUM = "file://COPYING;md5=xxx"
When you try to build the
software, the build system will produce an error and give you the
correct string that you can substitute into the recipe file for a
subsequent build.
License Updates
~~~~~~~~~~~~~~~
When you change the :term:`LICENSE` or :term:`LIC_FILES_CHKSUM` in the recipe
you need to briefly explain the reason for the change via a ``License-Update:``
tag. Often it's quite trivial, such as::
License-Update: copyright years refreshed
Less often, the actual licensing terms themselves will have changed. If so, do
try to link to upstream making/justifying that decision.
Tips and Guidelines for Writing Recipes
---------------------------------------
- Use :term:`BBCLASSEXTEND` instead of creating separate recipes such as ``-native``
and ``-nativesdk`` ones, whenever possible. This avoids having to maintain multiple
recipe files at the same time.
- Recipes should have tasks which are idempotent, i.e. that executing a given task
multiple times shouldn't change the end result. The build environment is built upon
this assumption and breaking it can cause obscure build failures.
- For idempotence when modifying files in tasks, it is usually best to:
- copy a file ``X`` to ``X.orig`` (only if it doesn't exist already)
- then, copy ``X.orig`` back to ``X``,
- and, finally, modify ``X``.
This ensures if rerun the task always has the same end result and the
original file can be preserved to reuse. It also guards against an
interrupted build corrupting the file.
Patch Upstream Status
=====================
In order to keep track of patches applied by recipes and ultimately reduce the
number of patches that need maintaining, the OpenEmbedded build system
requires information about the upstream status of each patch.
In its description, each patch should provide detailed information about the
bug that it addresses, such as the URL in a bug tracking system and links
to relevant mailing list archives.
Then, you should also add an ``Upstream-Status:`` tag containing one of the
following status strings:
``Pending``
No determination has been made yet, or patch has not yet been submitted to
upstream.
Keep in mind that every patch submitted upstream reduces the maintainance
burden in OpenEmbedded and Yocto Project in the long run, so this patch
status should only be used in exceptional cases if there are genuine
obstacles to submitting a patch upstream; the reason for that should be
included in the patch.
``Submitted [where]``
Submitted to upstream, waiting for approval. Optionally include where
it was submitted, such as the author, mailing list, etc.
``Backport [version]``
Accepted upstream and included in the next release, or backported from newer
upstream version, because we are at a fixed version.
Include upstream version info (e.g. commit ID or next expected version).
``Denied``
Not accepted by upstream, include reason in patch.
``Inactive-Upstream [lastcommit: when (and/or) lastrelease: when]``
The upstream is no longer available. This typically means a defunct project
where no activity has happened for a long time --- measured in years. To make
that judgement, it is recommended to look at not only when the last release
happened, but also when the last commit happened, and whether newly made bug
reports and merge requests since that time receive no reaction. It is also
recommended to add to the patch description any relevant links where the
inactivity can be clearly seen.
``Inappropriate [reason]``
The patch is not appropriate for upstream, include a brief reason on the
same line enclosed with ``[]``. In the past, there were several different
reasons not to submit patches upstream, but we have to consider that every
non-upstreamed patch means a maintainance burden for recipe maintainers.
Currently, the only reasons to mark patches as inappropriate for upstream
submission are:
- ``oe specific``: the issue is specific to how OpenEmbedded performs builds
or sets things up at runtime, and can be resolved only with a patch that
is not however relevant or appropriate for general upstream submission.
- ``upstream ticket <link>``: the issue is not specific to Open-Embedded
and should be fixed upstream, but the patch in its current form is not
suitable for merging upstream, and the author lacks sufficient expertise
to develop a proper patch. Instead the issue is handled via a bug report
(include link).
Of course, if another person later takes care of submitting this patch upstream,
the status should be changed to ``Submitted [where]``, and an additional
``Signed-off-by:`` line should be added to the patch by the person claiming
responsibility for upstreaming.
Examples
--------
Here's an example of a patch that has been submitted upstream::
rpm: Adjusted the foo setting in bar
[RPM Ticket #65] -- http://rpm5.org/cvs/tktview?tn=65,5
The foo setting in bar was decreased from X to X-50% in order to
ensure we don't exhaust all system memory with foobar threads.
Upstream-Status: Submitted [rpm5-devel@rpm5.org]
Signed-off-by: Joe Developer <joe.developer@example.com>
A future update can change the value to ``Backport`` or ``Denied`` as
appropriate.
Another example of a patch that is specific to OpenEmbedded::
Do not treat warnings as errors
There are additional warnings found with musl which are
treated as errors and fails the build, we have more combinations
than upstream supports to handle.
Upstream-Status: Inappropriate [oe specific]
Here's a patch that has been backported from an upstream commit::
include missing sys/file.h for LOCK_EX
Upstream-Status: Backport [https://github.com/systemd/systemd/commit/ac8db36cbc26694ee94beecc8dca208ec4b5fd45]
CVE patches
===========
In order to have a better control of vulnerabilities, patches that fix CVEs must
contain a ``CVE:`` tag. This tag list all CVEs fixed by the patch. If more than
one CVE is fixed, separate them using spaces.
CVE Examples
------------
This should be the header of patch that fixes :cve_nist:`2015-8370` in GRUB2::
grub2: Fix CVE-2015-8370
[No upstream tracking] -- https://bugzilla.redhat.com/show_bug.cgi?id=1286966
Back to 28; Grub2 Authentication
Two functions suffer from integer underflow fault; the grub_username_get() and grub_password_get()located in
grub-core/normal/auth.c and lib/crypto.c respectively. This can be exploited to obtain a Grub rescue shell.
Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/grub.git/commit/?id=451d80e52d851432e109771bb8febafca7a5f1f2]
CVE: CVE-2015-8370
Signed-off-by: Joe Developer <joe.developer@example.com>

View File

@@ -1,67 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Reporting a Defect Against the Yocto Project and OpenEmbedded
**************************************************************
You can use the Yocto Project instance of
`Bugzilla <https://www.bugzilla.org/about/>`__ to submit a defect (bug)
against BitBake, OpenEmbedded-Core, against any other Yocto Project component
or for tool issues. For additional information on this implementation of
Bugzilla see the ":ref:`Yocto Project Bugzilla <resources-bugtracker>`" section
in the Yocto Project Reference Manual. For more detail on any of the following
steps, see the Yocto Project
:yocto_wiki:`Bugzilla wiki page </Bugzilla_Configuration_and_Bug_Tracking>`.
Use the following general steps to submit a bug:
#. Open the Yocto Project implementation of :yocto_bugs:`Bugzilla <>`.
#. Click "File a Bug" to enter a new bug.
#. Choose the appropriate "Classification", "Product", and "Component"
for which the bug was found. Bugs for the Yocto Project fall into
one of several classifications, which in turn break down into
several products and components. For example, for a bug against the
``meta-intel`` layer, you would choose "Build System, Metadata &
Runtime", "BSPs", and "bsps-meta-intel", respectively.
#. Choose the "Version" of the Yocto Project for which you found the
bug (e.g. &DISTRO;).
#. Determine and select the "Severity" of the bug. The severity
indicates how the bug impacted your work.
#. Choose the "Hardware" that the bug impacts.
#. Choose the "Architecture" that the bug impacts.
#. Choose a "Documentation change" item for the bug. Fixing a bug might
or might not affect the Yocto Project documentation. If you are
unsure of the impact to the documentation, select "Don't Know".
#. Provide a brief "Summary" of the bug. Try to limit your summary to
just a line or two and be sure to capture the essence of the bug.
#. Provide a detailed "Description" of the bug. You should provide as
much detail as you can about the context, behavior, output, and so
forth that surrounds the bug. You can even attach supporting files
for output from logs by using the "Add an attachment" button.
#. Click the "Submit Bug" button submit the bug. A new Bugzilla number
is assigned to the bug and the defect is logged in the bug tracking
system.
Once you file a bug, the bug is processed by the Yocto Project Bug
Triage Team and further details concerning the bug are assigned (e.g.
priority and owner). You are the "Submitter" of the bug and any further
categorization, progress, or comments on the bug result in Bugzilla
sending you an automated email concerning the particular change or
progress to the bug.
There are no guarantees about if or when a bug might be worked on since an
open-source project has no dedicated engineering resources. However, the
project does have a good track record of resolving common issues over the
medium and long term. We do encourage people to file bugs so issues are
at least known about. It helps other users when they find somebody having
the same issue as they do, and an issue that is unknown is much less likely
to ever be fixed!

View File

@@ -1,793 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Contributing Changes to a Component
************************************
Contributions to the Yocto Project and OpenEmbedded are very welcome.
Because the system is extremely configurable and flexible, we recognize
that developers will want to extend, configure or optimize it for their
specific uses.
.. _ref-why-mailing-lists:
Contributing through mailing lists --- Why not using web-based workflows?
=========================================================================
Both Yocto Project and OpenEmbedded have many key components that are
maintained by patches being submitted on mailing lists. We appreciate this
approach does look a little old fashioned when other workflows are available
through web technology such as GitHub, GitLab and others. Since we are often
asked this question, weve decided to document the reasons for using mailing
lists.
One significant factor is that we value peer review. When a change is proposed
to many of the core pieces of the project, it helps to have many eyes of review
go over them. Whilst there is ultimately one maintainer who needs to make the
final call on accepting or rejecting a patch, the review is made by many eyes
and the exact people reviewing it are likely unknown to the maintainer. It is
often the surprise reviewer that catches the most interesting issues!
This is in contrast to the "GitHub" style workflow where either just a
maintainer makes that review, or review is specifically requested from
nominated people. We believe there is significant value added to the codebase
by this peer review and that moving away from mailing lists would be to the
detriment of our code.
We also need to acknowledge that many of our developers are used to this
mailing list workflow and have worked with it for years, with tools and
processes built around it. Changing away from this would result in a loss
of key people from the project, which would again be to its detriment.
The projects are acutely aware that potential new contributors find the
mailing list approach off-putting and would prefer a web-based GUI.
Since we dont believe that can work for us, the project is aiming to ensure
`patchwork <https://patchwork.yoctoproject.org/>`__ is available to help track
patch status and also looking at how tooling can provide more feedback to users
about patch status. We are looking at improving tools such as ``patchtest`` to
test user contributions before they hit the mailing lists and also at better
documenting how to use such workflows since we recognise that whilst this was
common knowledge a decade ago, it might not be as familiar now.
Preparing Changes for Submission
================================
Set up Git
----------
The first thing to do is to install Git packages. Here is an example
on Debian and Ubuntu::
sudo apt install git-core git-email
Then, you need to set a name and e-mail address that Git will
use to identify your commits::
git config --global user.name "Ada Lovelace"
git config --global user.email "ada.lovelace@gmail.com"
By default, Git adds a signature line at the end of patches containing the Git
version. We suggest to remove it as it doesn't add useful information.
Remove it with the following command::
git config --global format.signature ""
Clone the Git repository for the component to modify
----------------------------------------------------
After identifying the component to modify as described in the
":doc:`../contributor-guide/identify-component`" section, clone the
corresponding Git repository. Here is an example for OpenEmbedded-Core::
git clone https://git.openembedded.org/openembedded-core
cd openembedded-core
Create a new branch
-------------------
Then, create a new branch in your local Git repository
for your changes, starting from the reference branch in the upstream
repository (often called ``master``)::
$ git checkout <ref-branch>
$ git checkout -b my-changes
If you have completely unrelated sets of changes to submit, you should even
create one branch for each set.
Implement and commit changes
----------------------------
In each branch, you should group your changes into small, controlled and
isolated ones. Keeping changes small and isolated aids review, makes
merging/rebasing easier and keeps the change history clean should anyone need
to refer to it in future.
To this purpose, you should create *one Git commit per change*,
corresponding to each of the patches you will eventually submit.
See `further guidance <https://www.kernel.org/doc/html/latest/process/submitting-patches.html#separate-your-changes>`__
in the Linux kernel documentation if needed.
For example, when you intend to add multiple new recipes, each recipe
should be added in a separate commit. For upgrades to existing recipes,
the previous version should usually be deleted as part of the same commit
to add the upgraded version.
#. *Stage Your Changes:* Stage your changes by using the ``git add``
command on each file you modified. If you want to stage all the
files you modified, you can even use the ``git add -A`` command.
#. *Commit Your Changes:* This is when you can create separate commits. For
each commit to create, use the ``git commit -s`` command with the files
or directories you want to include in the commit::
$ git commit -s file1 file2 dir1 dir2 ...
To include **a**\ ll staged files::
$ git commit -sa
- The ``-s`` option of ``git commit`` adds a "Signed-off-by:" line
to your commit message. There is the same requirement for contributing
to the Linux kernel. Adding such a line signifies that you, the
submitter, have agreed to the `Developer's Certificate of Origin 1.1
<https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin>`__
as follows:
.. code-block:: none
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
- Provide a single-line summary of the change and, if more
explanation is needed, provide more detail in the body of the
commit. This summary is typically viewable in the "shortlist" of
changes. Thus, providing something short and descriptive that
gives the reader a summary of the change is useful when viewing a
list of many commits. You should prefix this short description
with the recipe name (if changing a recipe), or else with the
short form path to the file being changed.
.. note::
To find a suitable prefix for the commit summary, a good idea
is to look for prefixes used in previous commits touching the
same files or directories::
git log --oneline <paths>
- For the body of the commit message, provide detailed information
that describes what you changed, why you made the change, and the
approach you used. It might also be helpful if you mention how you
tested the change. Provide as much detail as you can in the body
of the commit message.
.. note::
If the single line summary is enough to describe a simple
change, the body of the commit message can be left empty.
- If the change addresses a specific bug or issue that is associated
with a bug-tracking ID, include a reference to that ID in your
detailed description. For example, the Yocto Project uses a
specific convention for bug references --- any commit that addresses
a specific bug should use the following form for the detailed
description. Be sure to use the actual bug-tracking ID from
Bugzilla for bug-id::
Fixes [YOCTO #bug-id]
detailed description of change
#. *Crediting contributors:* By using the ``git commit --amend`` command,
you can add some tags to the commit description to credit other contributors
to the change:
- ``Reported-by``: name and email of a person reporting a bug
that your commit is trying to fix. This is a good practice
to encourage people to go on reporting bugs and let them
know that their reports are taken into account.
- ``Suggested-by``: name and email of a person to credit for the
idea of making the change.
- ``Tested-by``, ``Reviewed-by``: name and email for people having
tested your changes or reviewed their code. These fields are
usually added by the maintainer accepting a patch, or by
yourself if you submitted your patches to early reviewers,
or are submitting an unmodified patch again as part of a
new iteration of your patch series.
- ``CC:`` Name and email of people you want to send a copy
of your changes to. This field will be used by ``git send-email``.
See `more guidance about using such tags
<https://www.kernel.org/doc/html/latest/process/submitting-patches.html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes>`__
in the Linux kernel documentation.
Test your changes
-----------------
For each contributions you make, you should test your changes as well.
For this the Yocto Project offers several types of tests. Those tests cover
different areas and it depends on your changes which are feasible. For example run:
- For changes that affect the build environment:
- ``bitbake-selftest``: for changes within BitBake
- ``oe-selftest``: to test combinations of BitBake runs
- ``oe-build-perf-test``: to test the performance of common build scenarios
- For changes in a recipe:
- ``ptest``: run package specific tests, if they exist
- ``testimage``: build an image, boot it and run testcases on it
- If applicable, ensure also the ``native`` and ``nativesdk`` variants builds
- For changes relating to the SDK:
- ``testsdk``: to build, install and run tests against a SDK
- ``testsdk_ext``: to build, install and run tests against an extended SDK
Note that this list just gives suggestions and is not exhaustive. More details can
be found here: :ref:`test-manual/intro:Yocto Project Tests --- Types of Testing Overview`.
Creating Patches
================
Here is the general procedure on how to create patches to be sent through email:
#. *Describe the Changes in your Branch:* If you have more than one commit
in your branch, it's recommended to provide a cover letter describing
the series of patches you are about to send.
For this purpose, a good solution is to store the cover letter contents
in the branch itself::
git branch --edit-description
This will open a text editor to fill in the description for your
changes. This description can be updated when necessary and will
be used by Git to create the cover letter together with the patches.
It is recommended to start this description with a title line which
will serve a the subject line for the cover letter.
#. *Generate Patches for your Branch:* The ``git format-patch`` command will
generate patch files for each of the commits in your branch. You need
to pass the reference branch your branch starts from.
If you branch didn't need a description in the previous step::
$ git format-patch <ref-branch>
If you filled a description for your branch, you will want to generate
a cover letter too::
$ git format-patch --cover-letter --cover-from-description=auto <ref-branch>
After the command is run, the current directory contains numbered
``.patch`` files for the commits in your branch. If you have a cover
letter, it will be in the ``0000-cover-letter.patch``.
.. note::
The ``--cover-from-description=auto`` option makes ``git format-patch``
use the first paragraph of the branch description as the cover
letter title. Another possibility, which is easier to remember, is to pass
only the ``--cover-letter`` option, but you will have to edit the
subject line manually every time you generate the patches.
See the `git format-patch manual page <https://git-scm.com/docs/git-format-patch>`__
for details.
#. *Review each of the Patch Files:* This final review of the patches
before sending them often allows to view your changes from a different
perspective and discover defects such as typos, spacing issues or lines
or even files that you didn't intend to modify. This review should
include the cover letter patch too.
If necessary, rework your commits as described in
":ref:`contributor-guide/submit-changes:taking patch review into account`".
Sending the Patches via Email
=============================
Using Git to Send Patches
-------------------------
To submit patches through email, it is very important that you send them
without any whitespace or HTML formatting that either you or your mailer
introduces. The maintainer that receives your patches needs to be able
to save and apply them directly from your emails, using the ``git am``
command.
Using the ``git send-email`` command is the only error-proof way of sending
your patches using email since there is no risk of compromising whitespace
in the body of the message, which can occur when you use your own mail
client. It will also properly include your patches as *inline attachments*,
which is not easy to do with standard e-mail clients without breaking lines.
If you used your regular e-mail client and shared your patches as regular
attachments, reviewers wouldn't be able to quote specific sections of your
changes and make comments about them.
Setting up Git to Send Email
----------------------------
The ``git send-email`` command can send email by using a local or remote
Mail Transport Agent (MTA) such as ``msmtp``, ``sendmail``, or
through a direct SMTP configuration in your Git ``~/.gitconfig`` file.
Here are the settings for letting ``git send-email`` send e-mail through your
regular STMP server, using a Google Mail account as an example::
git config --global sendemail.smtpserver smtp.gmail.com
git config --global sendemail.smtpserverport 587
git config --global sendemail.smtpencryption tls
git config --global sendemail.smtpuser ada.lovelace@gmail.com
git config --global sendemail.smtppass = XXXXXXXX
These settings will appear in the ``.gitconfig`` file in your home directory.
If you neither can use a local MTA nor SMTP, make sure you use an email client
that does not touch the message (turning spaces in tabs, wrapping lines, etc.).
A good mail client to do so is Pine (or Alpine) or Mutt. For more
information about suitable clients, see `Email clients info for Linux
<https://www.kernel.org/doc/html/latest/process/email-clients.html>`__
in the Linux kernel sources.
If you use such clients, just include the patch in the body of your email.
Finding a Suitable Mailing List
-------------------------------
You should send patches to the appropriate mailing list so that they can be
reviewed by the right contributors and merged by the appropriate maintainer.
The specific mailing list you need to use depends on the location of the code
you are changing.
If people have concerns with any of the patches, they will usually voice
their concern over the mailing list. If patches do not receive any negative
reviews, the maintainer of the affected layer typically takes them, tests them,
and then based on successful testing, merges them.
In general, each component (e.g. layer) should have a ``README`` file
that indicates where to send the changes and which process to follow.
The "poky" repository, which is the Yocto Project's reference build
environment, is a hybrid repository that contains several individual
pieces (e.g. BitBake, Metadata, documentation, and so forth) built using
the combo-layer tool. The upstream location used for submitting changes
varies by component:
- *Core Metadata:* Send your patches to the
:oe_lists:`openembedded-core </g/openembedded-core>`
mailing list. For example, a change to anything under the ``meta`` or
``scripts`` directories should be sent to this mailing list.
- *BitBake:* For changes to BitBake (i.e. anything under the
``bitbake`` directory), send your patches to the
:oe_lists:`bitbake-devel </g/bitbake-devel>`
mailing list.
- *meta-poky* and *meta-yocto-bsp* trees: These trees contain Metadata. Use the
:yocto_lists:`poky </g/poky>` mailing list.
- *Documentation*: For changes to the Yocto Project documentation, use the
:yocto_lists:`docs </g/docs>` mailing list.
For changes to other layers and tools hosted in the Yocto Project source
repositories (i.e. :yocto_git:`git.yoctoproject.org <>`), use the
:yocto_lists:`yocto-patches </g/yocto-patches/>` general mailing list.
For changes to other layers hosted in the OpenEmbedded source
repositories (i.e. :oe_git:`git.openembedded.org <>`), use
the :oe_lists:`openembedded-devel </g/openembedded-devel>`
mailing list, unless specified otherwise in the layer's ``README`` file.
If you intend to submit a new recipe that neither fits into the core Metadata,
nor into :oe_git:`meta-openembedded </meta-openembedded/>`, you should
look for a suitable layer in https://layers.openembedded.org. If similar
recipes can be expected, you may consider :ref:`dev-manual/layers:creating your own layer`.
If in doubt, please ask on the :yocto_lists:`yocto </g/yocto/>` general mailing list
or on the :oe_lists:`openembedded-devel </g/openembedded-devel>` mailing list.
Subscribing to the Mailing List
-------------------------------
After identifying the right mailing list to use, you will have to subscribe to
it if you haven't done it yet.
If you attempt to send patches to a list you haven't subscribed to, your email
will be returned as undelivered.
However, if you don't want to be receive all the messages sent to a mailing list,
you can set your subscription to "no email". You will still be a subscriber able
to send messages, but you won't receive any e-mail. If people reply to your message,
their e-mail clients will default to including your email address in the
conversation anyway.
Anyway, you'll also be able to access the new messages on mailing list archives,
either through a web browser, or for the lists archived on https://lore.kernel.org,
through an individual newsgroup feed or a git repository.
Sending Patches via Email
-------------------------
At this stage, you are ready to send your patches via email. Here's the
typical usage of ``git send-email``::
git send-email --to <mailing-list-address> *.patch
Then, review each subject line and list of recipients carefully, and then
allow the command to send each message.
You will see that ``git send-email`` will automatically copy the people listed
in any commit tags such as ``Signed-off-by`` or ``Reported-by``.
In case you are sending patches for :oe_git:`meta-openembedded </meta-openembedded/>`
or any layer other than :oe_git:`openembedded-core </openembedded-core/>`,
please add the appropriate prefix so that it is clear which layer the patch is intended
to be applied to::
git format-patch --subject-prefix="meta-oe][PATCH" ...
.. note::
It is actually possible to send patches without generating them
first. However, make sure you have reviewed your changes carefully
because ``git send-email`` will just show you the title lines of
each patch.
Here's a command you can use if you just have one patch in your
branch::
git send-email --to <mailing-list-address> -1
If you have multiple patches and a cover letter, you can send
patches for all the commits between the reference branch
and the tip of your branch::
git send-email --cover-letter --cover-from-description=auto --to <mailing-list-address> -M <ref-branch>
See the `git send-email manual page <https://git-scm.com/docs/git-send-email>`__
for details.
Troubleshooting Email Issues
----------------------------
Fixing your From identity
~~~~~~~~~~~~~~~~~~~~~~~~~
We have a frequent issue with contributors whose patches are received through
a ``From`` field which doesn't match the ``Signed-off-by`` information. Here is
a typical example for people sending from a domain name with :wikipedia:`DMARC`::
From: "Linus Torvalds via lists.openembedded.org <linus.torvalds=kernel.org@lists.openembedded.org>"
This ``From`` field is used by ``git am`` to recreate commits with the right
author name. The following will ensure that your e-mails have an additional
``From`` field at the beginning of the Email body, and therefore that
maintainers accepting your patches don't have to fix commit author information
manually::
git config --global sendemail.from "linus.torvalds@kernel.org"
The ``sendemail.from`` should match your ``user.email`` setting,
which appears in the ``Signed-off-by`` line of your commits.
Streamlining git send-email usage
---------------------------------
If you want to save time and not be forced to remember the right options to use
with ``git send-email``, you can use Git configuration settings.
- To set the right mailing list address for a given repository::
git config --local sendemail.to openembedded-devel@lists.openembedded.org
- If the mailing list requires a subject prefix for the layer
(this only works when the repository only contains one layer)::
git config --local format.subjectprefix "meta-something][PATCH"
Using Scripts to Push a Change Upstream and Request a Pull
==========================================================
For larger patch series it is preferable to send a pull request which not
only includes the patch but also a pointer to a branch that can be pulled
from. This involves making a local branch for your changes, pushing this
branch to an accessible repository and then using the ``create-pull-request``
and ``send-pull-request`` scripts from openembedded-core to create and send a
patch series with a link to the branch for review.
Follow this procedure to push a change to an upstream "contrib" Git
repository once the steps in
":ref:`contributor-guide/submit-changes:preparing changes for submission`"
have been followed:
.. note::
You can find general Git information on how to push a change upstream
in the
`Git Community Book <https://git-scm.com/book/en/v2/Distributed-Git-Distributed-Workflows>`__.
#. *Request Push Access to an "Upstream" Contrib Repository:* Send an email to
``helpdesk@yoctoproject.org``:
- Attach your SSH public key which usually named ``id_rsa.pub.``.
If you don't have one generate it by running ``ssh-keygen -t rsa -b 4096 -C "your_email@example.com"``.
- List the repositories you're planning to contribute to.
- Include your preferred branch prefix for ``-contrib`` repositories.
#. *Push Your Commits to the "Contrib" Upstream:* Push your
changes to that repository::
$ git push upstream_remote_repo local_branch_name
For example, suppose you have permissions to push
into the upstream ``meta-intel-contrib`` repository and you are
working in a local branch named `your_name`\ ``/README``. The following
command pushes your local commits to the ``meta-intel-contrib``
upstream repository and puts the commit in a branch named
`your_name`\ ``/README``::
$ git push meta-intel-contrib your_name/README
#. *Determine Who to Notify:* Determine the maintainer or the mailing
list that you need to notify for the change.
Before submitting any change, you need to be sure who the maintainer
is or what mailing list that you need to notify. Use either these
methods to find out:
- *Maintenance File:* Examine the ``maintainers.inc`` file, which is
located in the :term:`Source Directory` at
``meta/conf/distro/include``, to see who is responsible for code.
- *Search by File:* Using :ref:`overview-manual/development-environment:git`, you can
enter the following command to bring up a short list of all
commits against a specific file::
git shortlog -- filename
Just provide the name of the file for which you are interested. The
information returned is not ordered by history but does include a
list of everyone who has committed grouped by name. From the list,
you can see who is responsible for the bulk of the changes against
the file.
- *Find the Mailing List to Use:* See the
":ref:`contributor-guide/submit-changes:finding a suitable mailing list`"
section above.
#. *Make a Pull Request:* Notify the maintainer or the mailing list that
you have pushed a change by making a pull request.
The Yocto Project provides two scripts that conveniently let you
generate and send pull requests to the Yocto Project. These scripts
are ``create-pull-request`` and ``send-pull-request``. You can find
these scripts in the ``scripts`` directory within the
:term:`Source Directory` (e.g.
``poky/scripts``).
Using these scripts correctly formats the requests without
introducing any whitespace or HTML formatting. The maintainer that
receives your patches either directly or through the mailing list
needs to be able to save and apply them directly from your emails.
Using these scripts is the preferred method for sending patches.
First, create the pull request. For example, the following command
runs the script, specifies the upstream repository in the contrib
directory into which you pushed the change, and provides a subject
line in the created patch files::
$ poky/scripts/create-pull-request -u meta-intel-contrib -s "Updated Manual Section Reference in README"
Running this script forms ``*.patch`` files in a folder named
``pull-``\ `PID` in the current directory. One of the patch files is a
cover letter.
Before running the ``send-pull-request`` script, you must edit the
cover letter patch to insert information about your change. After
editing the cover letter, send the pull request. For example, the
following command runs the script and specifies the patch directory
and email address. In this example, the email address is a mailing
list::
$ poky/scripts/send-pull-request -p ~/meta-intel/pull-10565 -t meta-intel@lists.yoctoproject.org
You need to follow the prompts as the script is interactive.
.. note::
For help on using these scripts, simply provide the ``-h``
argument as follows::
$ poky/scripts/create-pull-request -h
$ poky/scripts/send-pull-request -h
Submitting Changes to Stable Release Branches
=============================================
The process for proposing changes to a Yocto Project stable branch differs
from the steps described above. Changes to a stable branch must address
identified bugs or CVEs and should be made carefully in order to avoid the
risk of introducing new bugs or breaking backwards compatibility. Typically
bug fixes must already be accepted into the master branch before they can be
backported to a stable branch unless the bug in question does not affect the
master branch or the fix on the master branch is unsuitable for backporting.
The list of stable branches along with the status and maintainer for each
branch can be obtained from the
:yocto_wiki:`Releases wiki page </Releases>`.
.. note::
Changes will not typically be accepted for branches which are marked as
End-Of-Life (EOL).
With this in mind, the steps to submit a change for a stable branch are as
follows:
#. *Identify the bug or CVE to be fixed:* This information should be
collected so that it can be included in your submission.
See :ref:`dev-manual/vulnerabilities:checking for vulnerabilities`
for details about CVE tracking.
#. *Check if the fix is already present in the master branch:* This will
result in the most straightforward path into the stable branch for the
fix.
#. *If the fix is present in the master branch --- submit a backport request
by email:* You should send an email to the relevant stable branch
maintainer and the mailing list with details of the bug or CVE to be
fixed, the commit hash on the master branch that fixes the issue and
the stable branches which you would like this fix to be backported to.
#. *If the fix is not present in the master branch --- submit the fix to the
master branch first:* This will ensure that the fix passes through the
project's usual patch review and test processes before being accepted.
It will also ensure that bugs are not left unresolved in the master
branch itself. Once the fix is accepted in the master branch a backport
request can be submitted as above.
#. *If the fix is unsuitable for the master branch --- submit a patch
directly for the stable branch:* This method should be considered as a
last resort. It is typically necessary when the master branch is using
a newer version of the software which includes an upstream fix for the
issue or when the issue has been fixed on the master branch in a way
that introduces backwards incompatible changes. In this case follow the
steps in ":ref:`contributor-guide/submit-changes:preparing changes for submission`"
and in the following sections but modify the subject header of your patch
email to include the name of the stable branch which you are
targetting. This can be done using the ``--subject-prefix`` argument to
``git format-patch``, for example to submit a patch to the
"&DISTRO_NAME_NO_CAP_MINUS_ONE;" branch use::
git format-patch --subject-prefix='&DISTRO_NAME_NO_CAP_MINUS_ONE;][PATCH' ...
Taking Patch Review into Account
================================
You may get feedback on your submitted patches from other community members
or from the automated patchtest service. If issues are identified in your
patches then it is usually necessary to address these before the patches are
accepted into the project. In this case you should your commits according
to the feedback and submit an updated version to the relevant mailing list.
In any case, never fix reported issues by fixing them in new commits
on the tip of your branch. Always come up with a new series of commits
without the reported issues.
.. note::
It is a good idea to send a copy to the reviewers who provided feedback
to the previous version of the patch. You can make sure this happens
by adding a ``CC`` tag to the commit description::
CC: William Shakespeare <bill@yoctoproject.org>
A single patch can be amended using ``git commit --amend``, and multiple
patches can be easily reworked and reordered through an interactive Git rebase::
git rebase -i <ref-branch>
See `this tutorial <https://hackernoon.com/beginners-guide-to-interactive-rebasing-346a3f9c3a6d>`__
for practical guidance about using Git interactive rebasing.
You should also modify the ``[PATCH]`` tag in the email subject line when
sending the revised patch to mark the new iteration as ``[PATCH v2]``,
``[PATCH v3]``, etc as appropriate. This can be done by passing the ``-v``
argument to ``git format-patch`` with a version number::
git format-patch -v2 <ref-branch>
Lastly please ensure that you also test your revised changes. In particular
please don't just edit the patch file written out by ``git format-patch`` and
resend it.
Tracking the Status of Patches
==============================
The Yocto Project uses a `Patchwork instance <https://patchwork.yoctoproject.org/>`__
to track the status of patches submitted to the various mailing lists and to
support automated patch testing. Each submitted patch is checked for common
mistakes and deviations from the expected patch format and submitters are
notified by ``patchtest`` if such mistakes are found. This process helps to
reduce the burden of patch review on maintainers.
.. note::
This system is imperfect and changes can sometimes get lost in the flow.
Asking about the status of a patch or change is reasonable if the change
has been idle for a while with no feedback.
If your patches have not had any feedback in a few days, they may have already
been merged. You can run ``git pull`` branch to check this. Note that many if
not most layer maintainers do not send out acknowledgement emails when they
accept patches. Alternatively, if there is no response or merge after a few days
the patch may have been missed or the appropriate reviewers may not currently be
around. It is then perfectly fine to reply to it yourself with a reminder asking
for feedback.
.. note::
Patch reviews for feature and recipe upgrade patches are likely be delayed
during a feature freeze because these types of patches aren't merged during
at that time --- you may have to wait until after the freeze is lifted.
Maintainers also commonly use ``-next`` branches to test submissions prior to
merging patches. Thus, you can get an idea of the status of a patch based on
whether the patch has been merged into one of these branches. The commonly
used testing branches for OpenEmbedded-Core are as follows:
- *openembedded-core "master-next" branch:* This branch is part of the
:oe_git:`openembedded-core </openembedded-core/>` repository and contains
proposed changes to the core metadata.
- *poky "master-next" branch:* This branch is part of the
:yocto_git:`poky </poky/>` repository and combines proposed
changes to BitBake, the core metadata and the poky distro.
Similarly, stable branches maintained by the project may have corresponding
``-next`` branches which collect proposed changes. For example,
``&DISTRO_NAME_NO_CAP;-next`` and ``&DISTRO_NAME_NO_CAP_MINUS_ONE;-next``
branches in both the "openembdedded-core" and "poky" repositories.
Other layers may have similar testing branches but there is no formal
requirement or standard for these so please check the documentation for the
layers you are contributing to.

View File

@@ -1,59 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Flashing Images Using ``bmaptool``
**********************************
A fast and easy way to flash an image to a bootable device is to use
Bmaptool, which is integrated into the OpenEmbedded build system.
Bmaptool is a generic tool that creates a file's block map (bmap) and
then uses that map to copy the file. As compared to traditional tools
such as dd or cp, Bmaptool can copy (or flash) large files like raw
system image files much faster.
.. note::
- If you are using Ubuntu or Debian distributions, you can install
the ``bmap-tools`` package using the following command and then
use the tool without specifying ``PATH`` even from the root
account::
$ sudo apt install bmap-tools
- If you are unable to install the ``bmap-tools`` package, you will
need to build Bmaptool before using it. Use the following command::
$ bitbake bmap-tools-native
Following, is an example that shows how to flash a Wic image. Realize
that while this example uses a Wic image, you can use Bmaptool to flash
any type of image. Use these steps to flash an image using Bmaptool:
#. *Update your local.conf File:* You need to have the following set
in your ``local.conf`` file before building your image::
IMAGE_FSTYPES += "wic wic.bmap"
#. *Get Your Image:* Either have your image ready (pre-built with the
:term:`IMAGE_FSTYPES`
setting previously mentioned) or take the step to build the image::
$ bitbake image
#. *Flash the Device:* Flash the device with the image by using Bmaptool
depending on your particular setup. The following commands assume the
image resides in the :term:`Build Directory`'s ``deploy/images/`` area:
- If you have write access to the media, use this command form::
$ oe-run-native bmap-tools-native bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
- If you do not have write access to the media, set your permissions
first and then use the same command form::
$ sudo chmod 666 /dev/sdX
$ oe-run-native bmap-tools-native bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
For help on the ``bmaptool`` command, use the following command::
$ bmaptool --help

View File

@@ -1,409 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Maintaining Build Output Quality
********************************
Many factors can influence the quality of a build. For example, if you
upgrade a recipe to use a new version of an upstream software package or
you experiment with some new configuration options, subtle changes can
occur that you might not detect until later. Consider the case where
your recipe is using a newer version of an upstream package. In this
case, a new version of a piece of software might introduce an optional
dependency on another library, which is auto-detected. If that library
has already been built when the software is building, the software will
link to the built library and that library will be pulled into your
image along with the new software even if you did not want the library.
The :ref:`ref-classes-buildhistory` class helps you maintain the quality of
your build output. You can use the class to highlight unexpected and possibly
unwanted changes in the build output. When you enable build history, it records
information about the contents of each package and image and then commits that
information to a local Git repository where you can examine the information.
The remainder of this section describes the following:
- :ref:`How you can enable and disable build history <dev-manual/build-quality:enabling and disabling build history>`
- :ref:`How to understand what the build history contains <dev-manual/build-quality:understanding what the build history contains>`
- :ref:`How to limit the information used for build history <dev-manual/build-quality:using build history to gather image information only>`
- :ref:`How to examine the build history from both a command-line and web interface <dev-manual/build-quality:examining build history information>`
Enabling and Disabling Build History
====================================
Build history is disabled by default. To enable it, add the following
:term:`INHERIT` statement and set the :term:`BUILDHISTORY_COMMIT` variable to
"1" at the end of your ``conf/local.conf`` file found in the
:term:`Build Directory`::
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"
Enabling build history as
previously described causes the OpenEmbedded build system to collect
build output information and commit it as a single commit to a local
:ref:`overview-manual/development-environment:git` repository.
.. note::
Enabling build history increases your build times slightly,
particularly for images, and increases the amount of disk space used
during the build.
You can disable build history by removing the previous statements from
your ``conf/local.conf`` file.
Understanding What the Build History Contains
=============================================
Build history information is kept in ``${``\ :term:`TOPDIR`\ ``}/buildhistory``
in the :term:`Build Directory` as defined by the :term:`BUILDHISTORY_DIR`
variable. Here is an example abbreviated listing:
.. image:: figures/buildhistory.png
:align: center
:width: 50%
At the top level, there is a ``metadata-revs`` file that lists the
revisions of the repositories for the enabled layers when the build was
produced. The rest of the data splits into separate ``packages``,
``images`` and ``sdk`` directories, the contents of which are described
as follows.
Build History Package Information
---------------------------------
The history for each package contains a text file that has name-value
pairs with information about the package. For example,
``buildhistory/packages/i586-poky-linux/busybox/busybox/latest``
contains the following:
.. code-block:: none
PV = 1.22.1
PR = r32
RPROVIDES =
RDEPENDS = glibc (>= 2.20) update-alternatives-opkg
RRECOMMENDS = busybox-syslog busybox-udhcpc update-rc.d
PKGSIZE = 540168
FILES = /usr/bin/* /usr/sbin/* /usr/lib/busybox/* /usr/lib/lib*.so.* \
/etc /com /var /bin/* /sbin/* /lib/*.so.* /lib/udev/rules.d \
/usr/lib/udev/rules.d /usr/share/busybox /usr/lib/busybox/* \
/usr/share/pixmaps /usr/share/applications /usr/share/idl \
/usr/share/omf /usr/share/sounds /usr/lib/bonobo/servers
FILELIST = /bin/busybox /bin/busybox.nosuid /bin/busybox.suid /bin/sh \
/etc/busybox.links.nosuid /etc/busybox.links.suid
Most of these
name-value pairs correspond to variables used to produce the package.
The exceptions are ``FILELIST``, which is the actual list of files in
the package, and ``PKGSIZE``, which is the total size of files in the
package in bytes.
There is also a file that corresponds to the recipe from which the package
came (e.g. ``buildhistory/packages/i586-poky-linux/busybox/latest``):
.. code-block:: none
PV = 1.22.1
PR = r32
DEPENDS = initscripts kern-tools-native update-rc.d-native \
virtual/i586-poky-linux-compilerlibs virtual/i586-poky-linux-gcc \
virtual/libc virtual/update-alternatives
PACKAGES = busybox-ptest busybox-httpd busybox-udhcpd busybox-udhcpc \
busybox-syslog busybox-mdev busybox-hwclock busybox-dbg \
busybox-staticdev busybox-dev busybox-doc busybox-locale busybox
Finally, for those recipes fetched from a version control system (e.g.,
Git), there is a file that lists source revisions that are specified in
the recipe and the actual revisions used during the build. Listed
and actual revisions might differ when
:term:`SRCREV` is set to
${:term:`AUTOREV`}. Here is an
example assuming
``buildhistory/packages/qemux86-poky-linux/linux-yocto/latest_srcrev``)::
# SRCREV_machine = "38cd560d5022ed2dbd1ab0dca9642e47c98a0aa1"
SRCREV_machine = "38cd560d5022ed2dbd1ab0dca9642e47c98a0aa1"
# SRCREV_meta = "a227f20eff056e511d504b2e490f3774ab260d6f"
SRCREV_meta ="a227f20eff056e511d504b2e490f3774ab260d6f"
You can use the
``buildhistory-collect-srcrevs`` command with the ``-a`` option to
collect the stored :term:`SRCREV` values from build history and report them
in a format suitable for use in global configuration (e.g.,
``local.conf`` or a distro include file) to override floating
:term:`AUTOREV` values to a fixed set of revisions. Here is some example
output from this command::
$ buildhistory-collect-srcrevs -a
# all-poky-linux
SRCREV:pn-ca-certificates = "07de54fdcc5806bde549e1edf60738c6bccf50e8"
SRCREV:pn-update-rc.d = "8636cf478d426b568c1be11dbd9346f67e03adac"
# core2-64-poky-linux
SRCREV:pn-binutils = "87d4632d36323091e731eb07b8aa65f90293da66"
SRCREV:pn-btrfs-tools = "8ad326b2f28c044cb6ed9016d7c3285e23b673c8"
SRCREV_bzip2-tests:pn-bzip2 = "f9061c030a25de5b6829e1abf373057309c734c0"
SRCREV:pn-e2fsprogs = "02540dedd3ddc52c6ae8aaa8a95ce75c3f8be1c0"
SRCREV:pn-file = "504206e53a89fd6eed71aeaf878aa3512418eab1"
SRCREV_glibc:pn-glibc = "24962427071fa532c3c48c918e9d64d719cc8a6c"
SRCREV:pn-gnome-desktop-testing = "e346cd4ed2e2102c9b195b614f3c642d23f5f6e7"
SRCREV:pn-init-system-helpers = "dbd9197569c0935029acd5c9b02b84c68fd937ee"
SRCREV:pn-kmod = "b6ecfc916a17eab8f93be5b09f4e4f845aabd3d1"
SRCREV:pn-libnsl2 = "82245c0c58add79a8e34ab0917358217a70e5100"
SRCREV:pn-libseccomp = "57357d2741a3b3d3e8425889a6b79a130e0fa2f3"
SRCREV:pn-libxcrypt = "50cf2b6dd4fdf04309445f2eec8de7051d953abf"
SRCREV:pn-ncurses = "51d0fd9cc3edb975f04224f29f777f8f448e8ced"
SRCREV:pn-procps = "19a508ea121c0c4ac6d0224575a036de745eaaf8"
SRCREV:pn-psmisc = "5fab6b7ab385080f1db725d6803136ec1841a15f"
SRCREV:pn-ptest-runner = "bcb82804daa8f725b6add259dcef2067e61a75aa"
SRCREV:pn-shared-mime-info = "18e558fa1c8b90b86757ade09a4ba4d6a6cf8f70"
SRCREV:pn-zstd = "e47e674cd09583ff0503f0f6defd6d23d8b718d3"
# qemux86_64-poky-linux
SRCREV_machine:pn-linux-yocto = "20301aeb1a64164b72bc72af58802b315e025c9c"
SRCREV_meta:pn-linux-yocto = "2d38a472b21ae343707c8bd64ac68a9eaca066a0"
# x86_64-linux
SRCREV:pn-binutils-cross-x86_64 = "87d4632d36323091e731eb07b8aa65f90293da66"
SRCREV_glibc:pn-cross-localedef-native = "24962427071fa532c3c48c918e9d64d719cc8a6c"
SRCREV_localedef:pn-cross-localedef-native = "794da69788cbf9bf57b59a852f9f11307663fa87"
SRCREV:pn-debianutils-native = "de14223e5bffe15e374a441302c528ffc1cbed57"
SRCREV:pn-libmodulemd-native = "ee80309bc766d781a144e6879419b29f444d94eb"
SRCREV:pn-virglrenderer-native = "363915595e05fb252e70d6514be2f0c0b5ca312b"
SRCREV:pn-zstd-native = "e47e674cd09583ff0503f0f6defd6d23d8b718d3"
.. note::
Here are some notes on using the ``buildhistory-collect-srcrevs`` command:
- By default, only values where the :term:`SRCREV` was not hardcoded
(usually when :term:`AUTOREV` is used) are reported. Use the ``-a``
option to see all :term:`SRCREV` values.
- The output statements might not have any effect if overrides are
applied elsewhere in the build system configuration. Use the
``-f`` option to add the ``forcevariable`` override to each output
line if you need to work around this restriction.
- The script does apply special handling when building for multiple
machines. However, the script does place a comment before each set
of values that specifies which triplet to which they belong as
previously shown (e.g., ``i586-poky-linux``).
Build History Image Information
-------------------------------
The files produced for each image are as follows:
- ``image-files:`` A directory containing selected files from the root
filesystem. The files are defined by
:term:`BUILDHISTORY_IMAGE_FILES`.
- ``build-id.txt:`` Human-readable information about the build
configuration and metadata source revisions. This file contains the
full build header as printed by BitBake.
- ``*.dot:`` Dependency graphs for the image that are compatible with
``graphviz``.
- ``files-in-image.txt:`` A list of files in the image with
permissions, owner, group, size, and symlink information.
- ``image-info.txt:`` A text file containing name-value pairs with
information about the image. See the following listing example for
more information.
- ``installed-package-names.txt:`` A list of installed packages by name
only.
- ``installed-package-sizes.txt:`` A list of installed packages ordered
by size.
- ``installed-packages.txt:`` A list of installed packages with full
package filenames.
.. note::
Installed package information is able to be gathered and produced
even if package management is disabled for the final image.
Here is an example of ``image-info.txt``:
.. code-block:: none
DISTRO = poky
DISTRO_VERSION = 3.4+snapshot-a0245d7be08f3d24ea1875e9f8872aa6bbff93be
USER_CLASSES = buildstats
IMAGE_CLASSES = qemuboot qemuboot license_image
IMAGE_FEATURES = debug-tweaks
IMAGE_LINGUAS =
IMAGE_INSTALL = packagegroup-core-boot speex speexdsp
BAD_RECOMMENDATIONS =
NO_RECOMMENDATIONS =
PACKAGE_EXCLUDE =
ROOTFS_POSTPROCESS_COMMAND = write_package_manifest; license_create_manifest; cve_check_write_rootfs_manifest; ssh_allow_empty_password; ssh_allow_root_login; postinst_enable_logging; rootfs_update_timestamp; write_image_test_data; empty_var_volatile; sort_passwd; rootfs_reproducible;
IMAGE_POSTPROCESS_COMMAND = buildhistory_get_imageinfo ;
IMAGESIZE = 9265
Other than ``IMAGESIZE``,
which is the total size of the files in the image in Kbytes, the
name-value pairs are variables that may have influenced the content of
the image. This information is often useful when you are trying to
determine why a change in the package or file listings has occurred.
Using Build History to Gather Image Information Only
----------------------------------------------------
As you can see, build history produces image information, including
dependency graphs, so you can see why something was pulled into the
image. If you are just interested in this information and not interested
in collecting specific package or SDK information, you can enable
writing only image information without any history by adding the
following to your ``conf/local.conf`` file found in the
:term:`Build Directory`::
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "0"
BUILDHISTORY_FEATURES = "image"
Here, you set the
:term:`BUILDHISTORY_FEATURES`
variable to use the image feature only.
Build History SDK Information
-----------------------------
Build history collects similar information on the contents of SDKs (e.g.
``bitbake -c populate_sdk imagename``) as compared to information it
collects for images. Furthermore, this information differs depending on
whether an extensible or standard SDK is being produced.
The following list shows the files produced for SDKs:
- ``files-in-sdk.txt:`` A list of files in the SDK with permissions,
owner, group, size, and symlink information. This list includes both
the host and target parts of the SDK.
- ``sdk-info.txt:`` A text file containing name-value pairs with
information about the SDK. See the following listing example for more
information.
- ``sstate-task-sizes.txt:`` A text file containing name-value pairs
with information about task group sizes (e.g. :ref:`ref-tasks-populate_sysroot`
tasks have a total size). The ``sstate-task-sizes.txt`` file exists
only when an extensible SDK is created.
- ``sstate-package-sizes.txt:`` A text file containing name-value pairs
with information for the shared-state packages and sizes in the SDK.
The ``sstate-package-sizes.txt`` file exists only when an extensible
SDK is created.
- ``sdk-files:`` A folder that contains copies of the files mentioned
in ``BUILDHISTORY_SDK_FILES`` if the files are present in the output.
Additionally, the default value of ``BUILDHISTORY_SDK_FILES`` is
specific to the extensible SDK although you can set it differently if
you would like to pull in specific files from the standard SDK.
The default files are ``conf/local.conf``, ``conf/bblayers.conf``,
``conf/auto.conf``, ``conf/locked-sigs.inc``, and
``conf/devtool.conf``. Thus, for an extensible SDK, these files get
copied into the ``sdk-files`` directory.
- The following information appears under each of the ``host`` and
``target`` directories for the portions of the SDK that run on the
host and on the target, respectively:
.. note::
The following files for the most part are empty when producing an
extensible SDK because this type of SDK is not constructed from
packages as is the standard SDK.
- ``depends.dot:`` Dependency graph for the SDK that is compatible
with ``graphviz``.
- ``installed-package-names.txt:`` A list of installed packages by
name only.
- ``installed-package-sizes.txt:`` A list of installed packages
ordered by size.
- ``installed-packages.txt:`` A list of installed packages with full
package filenames.
Here is an example of ``sdk-info.txt``:
.. code-block:: none
DISTRO = poky
DISTRO_VERSION = 1.3+snapshot-20130327
SDK_NAME = poky-glibc-i686-arm
SDK_VERSION = 1.3+snapshot
SDKMACHINE =
SDKIMAGE_FEATURES = dev-pkgs dbg-pkgs
BAD_RECOMMENDATIONS =
SDKSIZE = 352712
Other than ``SDKSIZE``, which is
the total size of the files in the SDK in Kbytes, the name-value pairs
are variables that might have influenced the content of the SDK. This
information is often useful when you are trying to determine why a
change in the package or file listings has occurred.
Examining Build History Information
-----------------------------------
You can examine build history output from the command line or from a web
interface.
To see any changes that have occurred (assuming you have
:term:`BUILDHISTORY_COMMIT` = "1"),
you can simply use any Git command that allows you to view the history
of a repository. Here is one method::
$ git log -p
You need to realize,
however, that this method does show changes that are not significant
(e.g. a package's size changing by a few bytes).
There is a command-line tool called ``buildhistory-diff``, though,
that queries the Git repository and prints just the differences that
might be significant in human-readable form. Here is an example::
$ poky/poky/scripts/buildhistory-diff . HEAD^
Changes to images/qemux86_64/glibc/core-image-minimal (files-in-image.txt):
/etc/anotherpkg.conf was added
/sbin/anotherpkg was added
* (installed-package-names.txt):
* anotherpkg was added
Changes to images/qemux86_64/glibc/core-image-minimal (installed-package-names.txt):
anotherpkg was added
packages/qemux86_64-poky-linux/v86d: PACKAGES: added "v86d-extras"
* PR changed from "r0" to "r1"
* PV changed from "0.1.10" to "0.1.12"
packages/qemux86_64-poky-linux/v86d/v86d: PKGSIZE changed from 110579 to 144381 (+30%)
* PR changed from "r0" to "r1"
* PV changed from "0.1.10" to "0.1.12"
.. note::
The ``buildhistory-diff`` tool requires the ``GitPython``
package. Be sure to install it using Pip3 as follows::
$ pip3 install GitPython --user
Alternatively, you can install ``python3-git`` using the appropriate
distribution package manager (e.g. ``apt``, ``dnf``, or ``zipper``).
To see changes to the build history using a web interface, follow the
instruction in the ``README`` file
:yocto_git:`here </buildhistory-web/>`.
Here is a sample screenshot of the interface:
.. image:: figures/buildhistory-web.png
:width: 100%

View File

@@ -1,942 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Building
********
This section describes various build procedures, such as the steps
needed for a simple build, building a target for multiple configurations,
generating an image for more than one machine, and so forth.
Building a Simple Image
=======================
In the development environment, you need to build an image whenever you
change hardware support, add or change system libraries, or add or
change services that have dependencies. There are several methods that allow
you to build an image within the Yocto Project. This section presents
the basic steps you need to build a simple image using BitBake from a
build host running Linux.
.. note::
- For information on how to build an image using
:term:`Toaster`, see the
:doc:`/toaster-manual/index`.
- For information on how to use ``devtool`` to build images, see the
":ref:`sdk-manual/extensible:using \`\`devtool\`\` in your sdk workflow`"
section in the Yocto Project Application Development and the
Extensible Software Development Kit (eSDK) manual.
- For a quick example on how to build an image using the
OpenEmbedded build system, see the
:doc:`/brief-yoctoprojectqs/index` document.
- You can also use the `Yocto Project BitBake
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__
extension for Visual Studio Code to build images.
The build process creates an entire Linux distribution from source and
places it in your :term:`Build Directory` under ``tmp/deploy/images``. For
detailed information on the build process using BitBake, see the
":ref:`overview-manual/concepts:images`" section in the Yocto Project Overview
and Concepts Manual.
The following figure and list overviews the build process:
.. image:: figures/bitbake-build-flow.png
:width: 100%
#. *Set up Your Host Development System to Support Development Using the
Yocto Project*: See the ":doc:`start`" section for options on how to get a
build host ready to use the Yocto Project.
#. *Initialize the Build Environment:* Initialize the build environment
by sourcing the build environment script (i.e.
:ref:`structure-core-script`)::
$ source oe-init-build-env [build_dir]
When you use the initialization script, the OpenEmbedded build system
uses ``build`` as the default :term:`Build Directory` in your current work
directory. You can use a `build_dir` argument with the script to
specify a different :term:`Build Directory`.
.. note::
A common practice is to use a different :term:`Build Directory` for
different targets; for example, ``~/build/x86`` for a ``qemux86``
target, and ``~/build/arm`` for a ``qemuarm`` target. In any
event, it's typically cleaner to locate the :term:`Build Directory`
somewhere outside of your source directory.
#. *Make Sure Your* ``local.conf`` *File is Correct*: Ensure the
``conf/local.conf`` configuration file, which is found in the
:term:`Build Directory`, is set up how you want it. This file defines many
aspects of the build environment including the target machine architecture
through the :term:`MACHINE` variable, the packaging format used during
the build (:term:`PACKAGE_CLASSES`), and a centralized tarball download
directory through the :term:`DL_DIR` variable.
#. *Build the Image:* Build the image using the ``bitbake`` command::
$ bitbake target
.. note::
For information on BitBake, see the :doc:`bitbake:index`.
The target is the name of the recipe you want to build. Common
targets are the images in ``meta/recipes-core/images``,
``meta/recipes-sato/images``, and so forth all found in the
:term:`Source Directory`. Alternatively, the target
can be the name of a recipe for a specific piece of software such as
BusyBox. For more details about the images the OpenEmbedded build
system supports, see the
":ref:`ref-manual/images:Images`" chapter in the Yocto
Project Reference Manual.
As an example, the following command builds the
``core-image-minimal`` image::
$ bitbake core-image-minimal
Once an
image has been built, it often needs to be installed. The images and
kernels built by the OpenEmbedded build system are placed in the
:term:`Build Directory` in ``tmp/deploy/images``. For information on how to
run pre-built images such as ``qemux86`` and ``qemuarm``, see the
:doc:`/sdk-manual/index` manual. For
information about how to install these images, see the documentation
for your particular board or machine.
Building Images for Multiple Targets Using Multiple Configurations
==================================================================
You can use a single ``bitbake`` command to build multiple images or
packages for different targets where each image or package requires a
different configuration (multiple configuration builds). The builds, in
this scenario, are sometimes referred to as "multiconfigs", and this
section uses that term throughout.
This section describes how to set up for multiple configuration builds
and how to account for cross-build dependencies between the
multiconfigs.
Setting Up and Running a Multiple Configuration Build
-----------------------------------------------------
To accomplish a multiple configuration build, you must define each
target's configuration separately using a parallel configuration file in
the :term:`Build Directory` or configuration directory within a layer, and you
must follow a required file hierarchy. Additionally, you must enable the
multiple configuration builds in your ``local.conf`` file.
Follow these steps to set up and execute multiple configuration builds:
- *Create Separate Configuration Files*: You need to create a single
configuration file for each build target (each multiconfig).
The configuration definitions are implementation dependent but often
each configuration file will define the machine and the
temporary directory BitBake uses for the build. Whether the same
temporary directory (:term:`TMPDIR`) can be shared will depend on what is
similar and what is different between the configurations. Multiple MACHINE
targets can share the same (:term:`TMPDIR`) as long as the rest of the
configuration is the same, multiple :term:`DISTRO` settings would need separate
(:term:`TMPDIR`) directories.
For example, consider a scenario with two different multiconfigs for the same
:term:`MACHINE`: "qemux86" built
for two distributions such as "poky" and "poky-lsb". In this case,
you would need to use the different :term:`TMPDIR`.
Here is an example showing the minimal statements needed in a
configuration file for a "qemux86" target whose temporary build
directory is ``tmpmultix86``::
MACHINE = "qemux86"
TMPDIR = "${TOPDIR}/tmpmultix86"
The location for these multiconfig configuration files is specific.
They must reside in the current :term:`Build Directory` in a sub-directory of
``conf`` named ``multiconfig`` or within a layer's ``conf`` directory
under a directory named ``multiconfig``. Here is an example that defines
two configuration files for the "x86" and "arm" multiconfigs:
.. image:: figures/multiconfig_files.png
:align: center
:width: 50%
The usual :term:`BBPATH` search path is used to locate multiconfig files in
a similar way to other conf files.
- *Add the BitBake Multi-configuration Variable to the Local
Configuration File*: Use the
:term:`BBMULTICONFIG`
variable in your ``conf/local.conf`` configuration file to specify
each multiconfig. Continuing with the example from the previous
figure, the :term:`BBMULTICONFIG` variable needs to enable two
multiconfigs: "x86" and "arm" by specifying each configuration file::
BBMULTICONFIG = "x86 arm"
.. note::
A "default" configuration already exists by definition. This
configuration is named: "" (i.e. empty string) and is defined by
the variables coming from your ``local.conf``
file. Consequently, the previous example actually adds two
additional configurations to your build: "arm" and "x86" along
with "".
- *Launch BitBake*: Use the following BitBake command form to launch
the multiple configuration build::
$ bitbake [mc:multiconfigname:]target [[[mc:multiconfigname:]target] ... ]
For the example in this section, the following command applies::
$ bitbake mc:x86:core-image-minimal mc:arm:core-image-sato mc::core-image-base
The previous BitBake command builds a ``core-image-minimal`` image
that is configured through the ``x86.conf`` configuration file, a
``core-image-sato`` image that is configured through the ``arm.conf``
configuration file and a ``core-image-base`` that is configured
through your ``local.conf`` configuration file.
.. note::
Support for multiple configuration builds in the Yocto Project &DISTRO;
(&DISTRO_NAME;) Release does not include Shared State (sstate)
optimizations. Consequently, if a build uses the same object twice
in, for example, two different :term:`TMPDIR`
directories, the build either loads from an existing sstate cache for
that build at the start or builds the object fresh.
Enabling Multiple Configuration Build Dependencies
--------------------------------------------------
Sometimes dependencies can exist between targets (multiconfigs) in a
multiple configuration build. For example, suppose that in order to
build a ``core-image-sato`` image for an "x86" multiconfig, the root
filesystem of an "arm" multiconfig must exist. This dependency is
essentially that the
:ref:`ref-tasks-image` task in the
``core-image-sato`` recipe depends on the completion of the
:ref:`ref-tasks-rootfs` task of the
``core-image-minimal`` recipe.
To enable dependencies in a multiple configuration build, you must
declare the dependencies in the recipe using the following statement
form::
task_or_package[mcdepends] = "mc:from_multiconfig:to_multiconfig:recipe_name:task_on_which_to_depend"
To better show how to use this statement, consider the example scenario
from the first paragraph of this section. The following statement needs
to be added to the recipe that builds the ``core-image-sato`` image::
do_image[mcdepends] = "mc:x86:arm:core-image-minimal:do_rootfs"
In this example, the `from_multiconfig` is "x86". The `to_multiconfig` is "arm". The
task on which the :ref:`ref-tasks-image` task in the recipe depends is the
:ref:`ref-tasks-rootfs` task from the ``core-image-minimal`` recipe associated
with the "arm" multiconfig.
Once you set up this dependency, you can build the "x86" multiconfig
using a BitBake command as follows::
$ bitbake mc:x86:core-image-sato
This command executes all the tasks needed to create the
``core-image-sato`` image for the "x86" multiconfig. Because of the
dependency, BitBake also executes through the :ref:`ref-tasks-rootfs` task for the
"arm" multiconfig build.
Having a recipe depend on the root filesystem of another build might not
seem that useful. Consider this change to the statement in the
``core-image-sato`` recipe::
do_image[mcdepends] = "mc:x86:arm:core-image-minimal:do_image"
In this case, BitBake must
create the ``core-image-minimal`` image for the "arm" build since the
"x86" build depends on it.
Because "x86" and "arm" are enabled for multiple configuration builds
and have separate configuration files, BitBake places the artifacts for
each build in the respective temporary build directories (i.e.
:term:`TMPDIR`).
Building an Initial RAM Filesystem (Initramfs) Image
====================================================
An initial RAM filesystem (:term:`Initramfs`) image provides a temporary root
filesystem used for early system initialization, typically providing tools and
loading modules needed to locate and mount the final root filesystem.
Follow these steps to create an :term:`Initramfs` image:
#. *Create the Initramfs Image Recipe:* You can reference the
``core-image-minimal-initramfs.bb`` recipe found in the
``meta/recipes-core`` directory of the :term:`Source Directory`
as an example from which to work.
#. *Decide if You Need to Bundle the Initramfs Image Into the Kernel
Image:* If you want the :term:`Initramfs` image that is built to be bundled
in with the kernel image, set the :term:`INITRAMFS_IMAGE_BUNDLE`
variable to ``"1"`` in your ``local.conf`` configuration file and set the
:term:`INITRAMFS_IMAGE` variable in the recipe that builds the kernel image.
Setting the :term:`INITRAMFS_IMAGE_BUNDLE` flag causes the :term:`Initramfs`
image to be unpacked into the ``${B}/usr/`` directory. The unpacked
:term:`Initramfs` image is then passed to the kernel's ``Makefile`` using the
:term:`CONFIG_INITRAMFS_SOURCE` variable, allowing the :term:`Initramfs`
image to be built into the kernel normally.
#. *Optionally Add Items to the Initramfs Image Through the Initramfs
Image Recipe:* If you add items to the :term:`Initramfs` image by way of its
recipe, you should use :term:`PACKAGE_INSTALL` rather than
:term:`IMAGE_INSTALL`. :term:`PACKAGE_INSTALL` gives more direct control of
what is added to the image as compared to the defaults you might not
necessarily want that are set by the :ref:`ref-classes-image`
or :ref:`ref-classes-core-image` classes.
#. *Build the Kernel Image and the Initramfs Image:* Build your kernel
image using BitBake. Because the :term:`Initramfs` image recipe is a
dependency of the kernel image, the :term:`Initramfs` image is built as well
and bundled with the kernel image if you used the
:term:`INITRAMFS_IMAGE_BUNDLE` variable described earlier.
Bundling an Initramfs Image From a Separate Multiconfig
-------------------------------------------------------
There may be a case where we want to build an :term:`Initramfs` image which does not
inherit the same distro policy as our main image, for example, we may want
our main image to use ``TCLIBC="glibc"``, but to use ``TCLIBC="musl"`` in our :term:`Initramfs`
image to keep a smaller footprint. However, by performing the steps mentioned
above the :term:`Initramfs` image will inherit ``TCLIBC="glibc"`` without allowing us
to override it.
To achieve this, you need to perform some additional steps:
#. *Create a multiconfig for your Initramfs image:* You can perform the steps
on ":ref:`dev-manual/building:building images for multiple targets using multiple configurations`" to create a separate multiconfig.
For the sake of simplicity let's assume such multiconfig is called: ``initramfscfg.conf`` and
contains the variables::
TMPDIR="${TOPDIR}/tmp-initramfscfg"
TCLIBC="musl"
#. *Set additional Initramfs variables on your main configuration:*
Additionally, on your main configuration (``local.conf``) you need to set the
variables::
INITRAMFS_MULTICONFIG = "initramfscfg"
INITRAMFS_DEPLOY_DIR_IMAGE = "${TOPDIR}/tmp-initramfscfg/deploy/images/${MACHINE}"
The variables :term:`INITRAMFS_MULTICONFIG` and :term:`INITRAMFS_DEPLOY_DIR_IMAGE`
are used to create a multiconfig dependency from the kernel to the :term:`INITRAMFS_IMAGE`
to be built coming from the ``initramfscfg`` multiconfig, and to let the
buildsystem know where the :term:`INITRAMFS_IMAGE` will be located.
Building a system with such configuration will build the kernel using the
main configuration but the :ref:`ref-tasks-bundle_initramfs` task will grab the
selected :term:`INITRAMFS_IMAGE` from :term:`INITRAMFS_DEPLOY_DIR_IMAGE`
instead, resulting in a musl based :term:`Initramfs` image bundled in the kernel
but a glibc based main image.
The same is applicable to avoid inheriting :term:`DISTRO_FEATURES` on :term:`INITRAMFS_IMAGE`
or to build a different :term:`DISTRO` for it such as ``poky-tiny``.
Building a Tiny System
======================
Very small distributions have some significant advantages such as
requiring less on-die or in-package memory (cheaper), better performance
through efficient cache usage, lower power requirements due to less
memory, faster boot times, and reduced development overhead. Some
real-world examples where a very small distribution gives you distinct
advantages are digital cameras, medical devices, and small headless
systems.
This section presents information that shows you how you can trim your
distribution to even smaller sizes than the ``poky-tiny`` distribution,
which is around 5 Mbytes, that can be built out-of-the-box using the
Yocto Project.
Tiny System Overview
--------------------
The following list presents the overall steps you need to consider and
perform to create distributions with smaller root filesystems, achieve
faster boot times, maintain your critical functionality, and avoid
initial RAM disks:
- :ref:`Determine your goals and guiding principles
<dev-manual/building:goals and guiding principles>`
- :ref:`dev-manual/building:understand what contributes to your image size`
- :ref:`Reduce the size of the root filesystem
<dev-manual/building:trim the root filesystem>`
- :ref:`Reduce the size of the kernel <dev-manual/building:trim the kernel>`
- :ref:`dev-manual/building:remove package management requirements`
- :ref:`dev-manual/building:look for other ways to minimize size`
- :ref:`dev-manual/building:iterate on the process`
Goals and Guiding Principles
----------------------------
Before you can reach your destination, you need to know where you are
going. Here is an example list that you can use as a guide when creating
very small distributions:
- Determine how much space you need (e.g. a kernel that is 1 Mbyte or
less and a root filesystem that is 3 Mbytes or less).
- Find the areas that are currently taking 90% of the space and
concentrate on reducing those areas.
- Do not create any difficult "hacks" to achieve your goals.
- Leverage the device-specific options.
- Work in a separate layer so that you keep changes isolated. For
information on how to create layers, see the
":ref:`dev-manual/layers:understanding and creating layers`" section.
Understand What Contributes to Your Image Size
----------------------------------------------
It is easiest to have something to start with when creating your own
distribution. You can use the Yocto Project out-of-the-box to create the
``poky-tiny`` distribution. Ultimately, you will want to make changes in
your own distribution that are likely modeled after ``poky-tiny``.
.. note::
To use ``poky-tiny`` in your build, set the :term:`DISTRO` variable in your
``local.conf`` file to "poky-tiny" as described in the
":ref:`dev-manual/custom-distribution:creating your own distribution`"
section.
Understanding some memory concepts will help you reduce the system size.
Memory consists of static, dynamic, and temporary memory. Static memory
is the TEXT (code), DATA (initialized data in the code), and BSS
(uninitialized data) sections. Dynamic memory represents memory that is
allocated at runtime: stacks, hash tables, and so forth. Temporary
memory is recovered after the boot process. This memory consists of
memory used for decompressing the kernel and for the ``__init__``
functions.
To help you see where you currently are with kernel and root filesystem
sizes, you can use two tools found in the :term:`Source Directory`
in the
``scripts/tiny/`` directory:
- ``ksize.py``: Reports component sizes for the kernel build objects.
- ``dirsize.py``: Reports component sizes for the root filesystem.
This next tool and command help you organize configuration fragments and
view file dependencies in a human-readable form:
- ``merge_config.sh``: Helps you manage configuration files and
fragments within the kernel. With this tool, you can merge individual
configuration fragments together. The tool allows you to make
overrides and warns you of any missing configuration options. The
tool is ideal for allowing you to iterate on configurations, create
minimal configurations, and create configuration files for different
machines without having to duplicate your process.
The ``merge_config.sh`` script is part of the Linux Yocto kernel Git
repositories (i.e. ``linux-yocto-3.14``, ``linux-yocto-3.10``,
``linux-yocto-3.8``, and so forth) in the ``scripts/kconfig``
directory.
For more information on configuration fragments, see the
":ref:`kernel-dev/common:creating configuration fragments`"
section in the Yocto Project Linux Kernel Development Manual.
- ``bitbake -u taskexp -g bitbake_target``: Using the BitBake command
with these options brings up a Dependency Explorer from which you can
view file dependencies. Understanding these dependencies allows you
to make informed decisions when cutting out various pieces of the
kernel and root filesystem.
Trim the Root Filesystem
------------------------
The root filesystem is made up of packages for booting, libraries, and
applications. To change things, you can configure how the packaging
happens, which changes the way you build them. You can also modify the
filesystem itself or select a different filesystem.
First, find out what is hogging your root filesystem by running the
``dirsize.py`` script from your root directory::
$ cd root-directory-of-image
$ dirsize.py 100000 > dirsize-100k.log
$ cat dirsize-100k.log
You can apply a filter to the script to ignore files
under a certain size. The previous example filters out any files below
100 Kbytes. The sizes reported by the tool are uncompressed, and thus
will be smaller by a relatively constant factor in a compressed root
filesystem. When you examine your log file, you can focus on areas of
the root filesystem that take up large amounts of memory.
You need to be sure that what you eliminate does not cripple the
functionality you need. One way to see how packages relate to each other
is by using the Dependency Explorer UI with the BitBake command::
$ cd image-directory
$ bitbake -u taskexp -g image
Use the interface to
select potential packages you wish to eliminate and see their dependency
relationships.
When deciding how to reduce the size, get rid of packages that result in
minimal impact on the feature set. For example, you might not need a VGA
display. Or, you might be able to get by with ``devtmpfs`` and ``mdev``
instead of ``udev``.
Use your ``local.conf`` file to make changes. For example, to eliminate
``udev`` and ``glib``, set the following in the local configuration
file::
VIRTUAL-RUNTIME_dev_manager = ""
Finally, you should consider exactly the type of root filesystem you
need to meet your needs while also reducing its size. For example,
consider ``cramfs``, ``squashfs``, ``ubifs``, ``ext2``, or an
:term:`Initramfs` using ``initramfs``. Be aware that ``ext3`` requires a 1
Mbyte journal. If you are okay with running read-only, you do not need
this journal.
.. note::
After each round of elimination, you need to rebuild your system and
then use the tools to see the effects of your reductions.
Trim the Kernel
---------------
The kernel is built by including policies for hardware-independent
aspects. What subsystems do you enable? For what architecture are you
building? Which drivers do you build by default?
.. note::
You can modify the kernel source if you want to help with boot time.
Run the ``ksize.py`` script from the top-level Linux build directory to
get an idea of what is making up the kernel::
$ cd top-level-linux-build-directory
$ ksize.py > ksize.log
$ cat ksize.log
When you examine the log, you will see how much space is taken up with
the built-in ``.o`` files for drivers, networking, core kernel files,
filesystem, sound, and so forth. The sizes reported by the tool are
uncompressed, and thus will be smaller by a relatively constant factor
in a compressed kernel image. Look to reduce the areas that are large
and taking up around the "90% rule."
To examine, or drill down, into any particular area, use the ``-d``
option with the script::
$ ksize.py -d > ksize.log
Using this option
breaks out the individual file information for each area of the kernel
(e.g. drivers, networking, and so forth).
Use your log file to see what you can eliminate from the kernel based on
features you can let go. For example, if you are not going to need
sound, you do not need any drivers that support sound.
After figuring out what to eliminate, you need to reconfigure the kernel
to reflect those changes during the next build. You could run
``menuconfig`` and make all your changes at once. However, that makes it
difficult to see the effects of your individual eliminations and also
makes it difficult to replicate the changes for perhaps another target
device. A better method is to start with no configurations using
``allnoconfig``, create configuration fragments for individual changes,
and then manage the fragments into a single configuration file using
``merge_config.sh``. The tool makes it easy for you to iterate using the
configuration change and build cycle.
Each time you make configuration changes, you need to rebuild the kernel
and check to see what impact your changes had on the overall size.
Remove Package Management Requirements
--------------------------------------
Packaging requirements add size to the image. One way to reduce the size
of the image is to remove all the packaging requirements from the image.
This reduction includes both removing the package manager and its unique
dependencies as well as removing the package management data itself.
To eliminate all the packaging requirements for an image, be sure that
"package-management" is not part of your
:term:`IMAGE_FEATURES`
statement for the image. When you remove this feature, you are removing
the package manager as well as its dependencies from the root
filesystem.
Look for Other Ways to Minimize Size
------------------------------------
Depending on your particular circumstances, other areas that you can
trim likely exist. The key to finding these areas is through tools and
methods described here combined with experimentation and iteration. Here
are a couple of areas to experiment with:
- ``glibc``: In general, follow this process:
#. Remove ``glibc`` features from
:term:`DISTRO_FEATURES`
that you think you do not need.
#. Build your distribution.
#. If the build fails due to missing symbols in a package, determine
if you can reconfigure the package to not need those features. For
example, change the configuration to not support wide character
support as is done for ``ncurses``. Or, if support for those
characters is needed, determine what ``glibc`` features provide
the support and restore the configuration.
4. Rebuild and repeat the process.
- ``busybox``: For BusyBox, use a process similar as described for
``glibc``. A difference is you will need to boot the resulting system
to see if you are able to do everything you expect from the running
system. You need to be sure to integrate configuration fragments into
Busybox because BusyBox handles its own core features and then allows
you to add configuration fragments on top.
Iterate on the Process
----------------------
If you have not reached your goals on system size, you need to iterate
on the process. The process is the same. Use the tools and see just what
is taking up 90% of the root filesystem and the kernel. Decide what you
can eliminate without limiting your device beyond what you need.
Depending on your system, a good place to look might be Busybox, which
provides a stripped down version of Unix tools in a single, executable
file. You might be able to drop virtual terminal services or perhaps
ipv6.
Building Images for More than One Machine
=========================================
A common scenario developers face is creating images for several
different machines that use the same software environment. In this
situation, it is tempting to set the tunings and optimization flags for
each build specifically for the targeted hardware (i.e. "maxing out" the
tunings). Doing so can considerably add to build times and package feed
maintenance collectively for the machines. For example, selecting tunes
that are extremely specific to a CPU core used in a system might enable
some micro optimizations in GCC for that particular system but would
otherwise not gain you much of a performance difference across the other
systems as compared to using a more general tuning across all the builds
(e.g. setting :term:`DEFAULTTUNE`
specifically for each machine's build). Rather than "max out" each
build's tunings, you can take steps that cause the OpenEmbedded build
system to reuse software across the various machines where it makes
sense.
If build speed and package feed maintenance are considerations, you
should consider the points in this section that can help you optimize
your tunings to best consider build times and package feed maintenance.
- *Share the :term:`Build Directory`:* If at all possible, share the
:term:`TMPDIR` across builds. The Yocto Project supports switching between
different :term:`MACHINE` values in the same :term:`TMPDIR`. This practice
is well supported and regularly used by developers when building for
multiple machines. When you use the same :term:`TMPDIR` for multiple
machine builds, the OpenEmbedded build system can reuse the existing native
and often cross-recipes for multiple machines. Thus, build time decreases.
.. note::
If :term:`DISTRO` settings change or fundamental configuration settings
such as the filesystem layout, you need to work with a clean :term:`TMPDIR`.
Sharing :term:`TMPDIR` under these circumstances might work but since it is
not guaranteed, you should use a clean :term:`TMPDIR`.
- *Enable the Appropriate Package Architecture:* By default, the
OpenEmbedded build system enables three levels of package
architectures: "all", "tune" or "package", and "machine". Any given
recipe usually selects one of these package architectures (types) for
its output. Depending for what a given recipe creates packages,
making sure you enable the appropriate package architecture can
directly impact the build time.
A recipe that just generates scripts can enable "all" architecture
because there are no binaries to build. To specifically enable "all"
architecture, be sure your recipe inherits the
:ref:`ref-classes-allarch` class.
This class is useful for "all" architectures because it configures
many variables so packages can be used across multiple architectures.
If your recipe needs to generate packages that are machine-specific
or when one of the build or runtime dependencies is already
machine-architecture dependent, which makes your recipe also
machine-architecture dependent, make sure your recipe enables the
"machine" package architecture through the
:term:`MACHINE_ARCH`
variable::
PACKAGE_ARCH = "${MACHINE_ARCH}"
When you do not
specifically enable a package architecture through the
:term:`PACKAGE_ARCH`, The
OpenEmbedded build system defaults to the
:term:`TUNE_PKGARCH` setting::
PACKAGE_ARCH = "${TUNE_PKGARCH}"
- *Choose a Generic Tuning File if Possible:* Some tunes are more
generic and can run on multiple targets (e.g. an ``armv5`` set of
packages could run on ``armv6`` and ``armv7`` processors in most
cases). Similarly, ``i486`` binaries could work on ``i586`` and
higher processors. You should realize, however, that advances on
newer processor versions would not be used.
If you select the same tune for several different machines, the
OpenEmbedded build system reuses software previously built, thus
speeding up the overall build time. Realize that even though a new
sysroot for each machine is generated, the software is not recompiled
and only one package feed exists.
- *Manage Granular Level Packaging:* Sometimes there are cases where
injecting another level of package architecture beyond the three
higher levels noted earlier can be useful. For example, consider how
NXP (formerly Freescale) allows for the easy reuse of binary packages
in their layer
:yocto_git:`meta-freescale </meta-freescale/>`.
In this example, the
:yocto_git:`fsl-dynamic-packagearch </meta-freescale/tree/classes/fsl-dynamic-packagearch.bbclass>`
class shares GPU packages for i.MX53 boards because all boards share
the AMD GPU. The i.MX6-based boards can do the same because all
boards share the Vivante GPU. This class inspects the BitBake
datastore to identify if the package provides or depends on one of
the sub-architecture values. If so, the class sets the
:term:`PACKAGE_ARCH` value
based on the ``MACHINE_SUBARCH`` value. If the package does not
provide or depend on one of the sub-architecture values but it
matches a value in the machine-specific filter, it sets
:term:`MACHINE_ARCH`. This
behavior reduces the number of packages built and saves build time by
reusing binaries.
- *Use Tools to Debug Issues:* Sometimes you can run into situations
where software is being rebuilt when you think it should not be. For
example, the OpenEmbedded build system might not be using shared
state between machines when you think it should be. These types of
situations are usually due to references to machine-specific
variables such as :term:`MACHINE`,
:term:`SERIAL_CONSOLES`,
:term:`XSERVER`,
:term:`MACHINE_FEATURES`,
and so forth in code that is supposed to only be tune-specific or
when the recipe depends
(:term:`DEPENDS`,
:term:`RDEPENDS`,
:term:`RRECOMMENDS`,
:term:`RSUGGESTS`, and so forth)
on some other recipe that already has
:term:`PACKAGE_ARCH` defined
as "${MACHINE_ARCH}".
.. note::
Patches to fix any issues identified are most welcome as these
issues occasionally do occur.
For such cases, you can use some tools to help you sort out the
situation:
- ``state-diff-machines.sh``*:* You can find this tool in the
``scripts`` directory of the Source Repositories. See the comments
in the script for information on how to use the tool.
- *BitBake's "-S printdiff" Option:* Using this option causes
BitBake to try to establish the most recent signature match
(e.g. in the shared state cache) and then compare matched signatures
to determine the stamps and delta where these two stamp trees diverge.
Building Software from an External Source
=========================================
By default, the OpenEmbedded build system uses the :term:`Build Directory`
when building source code. The build process involves fetching the source
files, unpacking them, and then patching them if necessary before the build
takes place.
There are situations where you might want to build software from source
files that are external to and thus outside of the OpenEmbedded build
system. For example, suppose you have a project that includes a new BSP
with a heavily customized kernel. And, you want to minimize exposing the
build system to the development team so that they can focus on their
project and maintain everyone's workflow as much as possible. In this
case, you want a kernel source directory on the development machine
where the development occurs. You want the recipe's
:term:`SRC_URI` variable to point to
the external directory and use it as is, not copy it.
To build from software that comes from an external source, all you need to do
is inherit the :ref:`ref-classes-externalsrc` class and then set
the :term:`EXTERNALSRC` variable to point to your external source code. Here
are the statements to put in your ``local.conf`` file::
INHERIT += "externalsrc"
EXTERNALSRC:pn-myrecipe = "path-to-your-source-tree"
This next example shows how to accomplish the same thing by setting
:term:`EXTERNALSRC` in the recipe itself or in the recipe's append file::
EXTERNALSRC = "path"
EXTERNALSRC_BUILD = "path"
.. note::
In order for these settings to take effect, you must globally or
locally inherit the :ref:`ref-classes-externalsrc` class.
By default, :ref:`ref-classes-externalsrc` builds the source code in a
directory separate from the external source directory as specified by
:term:`EXTERNALSRC`. If you need
to have the source built in the same directory in which it resides, or
some other nominated directory, you can set
:term:`EXTERNALSRC_BUILD`
to point to that directory::
EXTERNALSRC_BUILD:pn-myrecipe = "path-to-your-source-tree"
Replicating a Build Offline
===========================
It can be useful to take a "snapshot" of upstream sources used in a
build and then use that "snapshot" later to replicate the build offline.
To do so, you need to first prepare and populate your downloads
directory your "snapshot" of files. Once your downloads directory is
ready, you can use it at any time and from any machine to replicate your
build.
Follow these steps to populate your Downloads directory:
#. *Create a Clean Downloads Directory:* Start with an empty downloads
directory (:term:`DL_DIR`). You
start with an empty downloads directory by either removing the files
in the existing directory or by setting :term:`DL_DIR` to point to either
an empty location or one that does not yet exist.
#. *Generate Tarballs of the Source Git Repositories:* Edit your
``local.conf`` configuration file as follows::
DL_DIR = "/home/your-download-dir/"
BB_GENERATE_MIRROR_TARBALLS = "1"
During
the fetch process in the next step, BitBake gathers the source files
and creates tarballs in the directory pointed to by :term:`DL_DIR`. See
the
:term:`BB_GENERATE_MIRROR_TARBALLS`
variable for more information.
#. *Populate Your Downloads Directory Without Building:* Use BitBake to
fetch your sources but inhibit the build::
$ bitbake target --runonly=fetch
The downloads directory (i.e. ``${DL_DIR}``) now has
a "snapshot" of the source files in the form of tarballs, which can
be used for the build.
#. *Optionally Remove Any Git or other SCM Subdirectories From the
Downloads Directory:* If you want, you can clean up your downloads
directory by removing any Git or other Source Control Management
(SCM) subdirectories such as ``${DL_DIR}/git2/*``. The tarballs
already contain these subdirectories.
Once your downloads directory has everything it needs regarding source
files, you can create your "own-mirror" and build your target.
Understand that you can use the files to build the target offline from
any machine and at any time.
Follow these steps to build your target using the files in the downloads
directory:
#. *Using Local Files Only:* Inside your ``local.conf`` file, add the
:term:`SOURCE_MIRROR_URL` variable, inherit the
:ref:`ref-classes-own-mirrors` class, and use the
:term:`BB_NO_NETWORK` variable to your ``local.conf``::
SOURCE_MIRROR_URL ?= "file:///home/your-download-dir/"
INHERIT += "own-mirrors"
BB_NO_NETWORK = "1"
The :term:`SOURCE_MIRROR_URL` and :ref:`ref-classes-own-mirrors`
class set up the system to use the downloads directory as your "own
mirror". Using the :term:`BB_NO_NETWORK` variable makes sure that
BitBake's fetching process in step 3 stays local, which means files
from your "own-mirror" are used.
#. *Start With a Clean Build:* You can start with a clean build by
removing the ``${``\ :term:`TMPDIR`\ ``}`` directory or using a new
:term:`Build Directory`.
#. *Build Your Target:* Use BitBake to build your target::
$ bitbake target
The build completes using the known local "snapshot" of source
files from your mirror. The resulting tarballs for your "snapshot" of
source files are in the downloads directory.
.. note::
The offline build does not work if recipes attempt to find the
latest version of software by setting
:term:`SRCREV` to
``${``\ :term:`AUTOREV`\ ``}``::
SRCREV = "${AUTOREV}"
When a recipe sets :term:`SRCREV` to
``${``\ :term:`AUTOREV`\ ``}``, the build system accesses the network in an
attempt to determine the latest version of software from the SCM.
Typically, recipes that use :term:`AUTOREV` are custom or modified
recipes. Recipes that reside in public repositories usually do not
use :term:`AUTOREV`.
If you do have recipes that use :term:`AUTOREV`, you can take steps to
still use the recipes in an offline build. Do the following:
#. Use a configuration generated by enabling :ref:`build
history <dev-manual/build-quality:maintaining build output quality>`.
#. Use the ``buildhistory-collect-srcrevs`` command to collect the
stored :term:`SRCREV` values from the build's history. For more
information on collecting these values, see the
":ref:`dev-manual/build-quality:build history package information`"
section.
#. Once you have the correct source revisions, you can modify
those recipes to set :term:`SRCREV` to specific versions of the
software.

File diff suppressed because it is too large Load Diff

View File

@@ -1,135 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Creating Your Own Distribution
******************************
When you build an image using the Yocto Project and do not alter any
distribution :term:`Metadata`, you are using the Poky distribution.
Poky is explicitly a *reference* distribution for testing and
development purposes. It enables most hardware and software features
so that they can be tested, but this also means that from a security
point of view the attack surface is very large. Additionally, at some
point it is likely that you will want to gain more control over package
alternative selections, compile-time options, and other low-level
configurations. For both of these reasons, if you are using the Yocto
Project for production use then you are strongly encouraged to create
your own distribution.
To create your own distribution, the basic steps consist of creating
your own distribution layer, creating your own distribution
configuration file, and then adding any needed code and Metadata to the
layer. The following steps provide some more detail:
- *Create a layer for your new distro:* Create your distribution layer
so that you can keep your Metadata and code for the distribution
separate. It is strongly recommended that you create and use your own
layer for configuration and code. Using your own layer as compared to
just placing configurations in a ``local.conf`` configuration file
makes it easier to reproduce the same build configuration when using
multiple build machines. See the
":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`"
section for information on how to quickly set up a layer.
- *Create the distribution configuration file:* The distribution
configuration file needs to be created in the ``conf/distro``
directory of your layer. You need to name it using your distribution
name (e.g. ``mydistro.conf``).
.. note::
The :term:`DISTRO` variable in your ``local.conf`` file determines the
name of your distribution.
You can split out parts of your configuration file into include files
and then "require" them from within your distribution configuration
file. Be sure to place the include files in the
``conf/distro/include`` directory of your layer. A common example
usage of include files would be to separate out the selection of
desired version and revisions for individual recipes.
Your configuration file needs to set the following required
variables:
- :term:`DISTRO_NAME`
- :term:`DISTRO_VERSION`
These following variables are optional and you typically set them
from the distribution configuration file:
- :term:`DISTRO_FEATURES`
- :term:`DISTRO_EXTRA_RDEPENDS`
- :term:`DISTRO_EXTRA_RRECOMMENDS`
- :term:`TCLIBC`
.. tip::
If you want to base your distribution configuration file on the
very basic configuration from OE-Core, you can use
``conf/distro/defaultsetup.conf`` as a reference and just include
variables that differ as compared to ``defaultsetup.conf``.
Alternatively, you can create a distribution configuration file
from scratch using the ``defaultsetup.conf`` file or configuration files
from another distribution such as Poky as a reference.
- *Provide miscellaneous variables:* Be sure to define any other
variables for which you want to create a default or enforce as part
of the distribution configuration. You can include nearly any
variable from the ``local.conf`` file. The variables you use are not
limited to the list in the previous bulleted item.
- *Point to Your distribution configuration file:* In your ``local.conf``
file in the :term:`Build Directory`, set your :term:`DISTRO` variable to
point to your distribution's configuration file. For example, if your
distribution's configuration file is named ``mydistro.conf``, then
you point to it as follows::
DISTRO = "mydistro"
- *Add more to the layer if necessary:* Use your layer to hold other
information needed for the distribution:
- Add recipes for installing distro-specific configuration files
that are not already installed by another recipe. If you have
distro-specific configuration files that are included by an
existing recipe, you should add an append file (``.bbappend``) for
those. For general information and recommendations on how to add
recipes to your layer, see the
":ref:`dev-manual/layers:creating your own layer`" and
":ref:`dev-manual/layers:following best practices when creating layers`"
sections.
- Add any image recipes that are specific to your distribution.
- Add a ``psplash`` append file for a branded splash screen, using
the :term:`SPLASH_IMAGES` variable.
- Add any other append files to make custom changes that are
specific to individual recipes.
For information on append files, see the
":ref:`dev-manual/layers:appending other layers metadata with your layer`"
section.
Copying and modifying the Poky distribution
===========================================
Instead of creating a custom distribution from scratch as per above, you may
wish to start your custom distribution configuration by copying the Poky
distribution provided within the ``meta-poky`` layer and then modifying it.
This is fine, however if you do this you should keep the following in mind:
- Every reference to Poky needs to be updated in your copy so that it
will still apply. This includes override usage within files (e.g. ``:poky``)
and in directory names. This is a good opportunity to evaluate each one of
these customizations to see if they are needed for your use case.
- Unless you also intend to use them, the ``poky-tiny``, ``poky-altcfg`` and
``poky-bleeding`` variants and any references to them can be removed.
- More generally, the Poky distribution configuration enables a lot more
than you likely need for your production use case. You should evaluate *every*
configuration choice made in your copy to determine if it is needed.

View File

@@ -1,72 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Creating a Custom Template Configuration Directory
**************************************************
If you are producing your own customized version of the build system for
use by other users, you might want to customize the message shown by the
setup script or you might want to change the template configuration
files (i.e. ``local.conf`` and ``bblayers.conf``) that are created in a
new build directory.
The OpenEmbedded build system uses the environment variable
``TEMPLATECONF`` to locate the directory from which it gathers
configuration information that ultimately ends up in the
:term:`Build Directory` ``conf`` directory.
By default, ``TEMPLATECONF`` is set as follows in the ``poky``
repository::
TEMPLATECONF=${TEMPLATECONF:-meta-poky/conf}
This is the
directory used by the build system to find templates from which to build
some key configuration files. If you look at this directory, you will
see the ``bblayers.conf.sample``, ``local.conf.sample``, and
``conf-notes.txt`` files. The build system uses these files to form the
respective ``bblayers.conf`` file, ``local.conf`` file, and display the
list of BitBake targets when running the setup script.
To override these default configuration files with configurations you
want used within every new Build Directory, simply set the
``TEMPLATECONF`` variable to your directory. The ``TEMPLATECONF``
variable is set in the ``.templateconf`` file, which is in the top-level
:term:`Source Directory` folder
(e.g. ``poky``). Edit the ``.templateconf`` so that it can locate your
directory.
Best practices dictate that you should keep your template configuration
directory in your custom distribution layer. For example, suppose you
have a layer named ``meta-mylayer`` located in your home directory and
you want your template configuration directory named ``myconf``.
Changing the ``.templateconf`` as follows causes the OpenEmbedded build
system to look in your directory and base its configuration files on the
``*.sample`` configuration files it finds. The final configuration files
(i.e. ``local.conf`` and ``bblayers.conf`` ultimately still end up in
your Build Directory, but they are based on your ``*.sample`` files.
::
TEMPLATECONF=${TEMPLATECONF:-meta-mylayer/myconf}
Aside from the ``*.sample`` configuration files, the ``conf-notes.txt``
also resides in the default ``meta-poky/conf`` directory. The script
that sets up the build environment (i.e.
:ref:`structure-core-script`) uses this file to
display BitBake targets as part of the script output. Customizing this
``conf-notes.txt`` file is a good way to make sure your list of custom
targets appears as part of the script's output.
Here is the default list of targets displayed as a result of running
either of the setup scripts::
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-ide-support
Changing the listed common targets is as easy as editing your version of
``conf-notes.txt`` in your custom template configuration directory and
making sure you have ``TEMPLATECONF`` set to your directory.

View File

@@ -1,223 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Customizing Images
******************
You can customize images to satisfy particular requirements. This
section describes several methods and provides guidelines for each.
Customizing Images Using ``local.conf``
=======================================
Probably the easiest way to customize an image is to add a package by
way of the ``local.conf`` configuration file. Because it is limited to
local use, this method generally only allows you to add packages and is
not as flexible as creating your own customized image. When you add
packages using local variables this way, you need to realize that these
variable changes are in effect for every build and consequently affect
all images, which might not be what you require.
To add a package to your image using the local configuration file, use
the :term:`IMAGE_INSTALL` variable with the ``:append`` operator::
IMAGE_INSTALL:append = " strace"
Use of the syntax is important; specifically, the leading space
after the opening quote and before the package name, which is
``strace`` in this example. This space is required since the ``:append``
operator does not add the space.
Furthermore, you must use ``:append`` instead of the ``+=`` operator if
you want to avoid ordering issues. The reason for this is because doing
so unconditionally appends to the variable and avoids ordering problems
due to the variable being set in image recipes and ``.bbclass`` files
with operators like ``?=``. Using ``:append`` ensures the operation
takes effect.
As shown in its simplest use, ``IMAGE_INSTALL:append`` affects all
images. It is possible to extend the syntax so that the variable applies
to a specific image only. Here is an example::
IMAGE_INSTALL:append:pn-core-image-minimal = " strace"
This example adds ``strace`` to the ``core-image-minimal`` image only.
You can add packages using a similar approach through the
:term:`CORE_IMAGE_EXTRA_INSTALL` variable. If you use this variable, only
``core-image-*`` images are affected.
Customizing Images Using Custom ``IMAGE_FEATURES`` and ``EXTRA_IMAGE_FEATURES``
===============================================================================
Another method for customizing your image is to enable or disable
high-level image features by using the
:term:`IMAGE_FEATURES` and
:term:`EXTRA_IMAGE_FEATURES`
variables. Although the functions for both variables are nearly
equivalent, best practices dictate using :term:`IMAGE_FEATURES` from within
a recipe and using :term:`EXTRA_IMAGE_FEATURES` from within your
``local.conf`` file, which is found in the :term:`Build Directory`.
To understand how these features work, the best reference is
:ref:`meta/classes/image.bbclass <ref-classes-image>`.
This class lists out the available
:term:`IMAGE_FEATURES` of which most map to package groups while some, such
as ``debug-tweaks`` and ``read-only-rootfs``, resolve as general
configuration settings.
In summary, the file looks at the contents of the :term:`IMAGE_FEATURES`
variable and then maps or configures the feature accordingly. Based on
this information, the build system automatically adds the appropriate
packages or configurations to the
:term:`IMAGE_INSTALL` variable.
Effectively, you are enabling extra features by extending the class or
creating a custom class for use with specialized image ``.bb`` files.
Use the :term:`EXTRA_IMAGE_FEATURES` variable from within your local
configuration file. Using a separate area from which to enable features
with this variable helps you avoid overwriting the features in the image
recipe that are enabled with :term:`IMAGE_FEATURES`. The value of
:term:`EXTRA_IMAGE_FEATURES` is added to :term:`IMAGE_FEATURES` within
``meta/conf/bitbake.conf``.
To illustrate how you can use these variables to modify your image,
consider an example that selects the SSH server. The Yocto Project ships
with two SSH servers you can use with your images: Dropbear and OpenSSH.
Dropbear is a minimal SSH server appropriate for resource-constrained
environments, while OpenSSH is a well-known standard SSH server
implementation. By default, the ``core-image-sato`` image is configured
to use Dropbear. The ``core-image-full-cmdline`` and ``core-image-lsb``
images both include OpenSSH. The ``core-image-minimal`` image does not
contain an SSH server.
You can customize your image and change these defaults. Edit the
:term:`IMAGE_FEATURES` variable in your recipe or use the
:term:`EXTRA_IMAGE_FEATURES` in your ``local.conf`` file so that it
configures the image you are working with to include
``ssh-server-dropbear`` or ``ssh-server-openssh``.
.. note::
See the ":ref:`ref-manual/features:image features`" section in the Yocto
Project Reference Manual for a complete list of image features that ship
with the Yocto Project.
Customizing Images Using Custom .bb Files
=========================================
You can also customize an image by creating a custom recipe that defines
additional software as part of the image. The following example shows
the form for the two lines you need::
IMAGE_INSTALL = "packagegroup-core-x11-base package1 package2"
inherit core-image
Defining the software using a custom recipe gives you total control over
the contents of the image. It is important to use the correct names of
packages in the :term:`IMAGE_INSTALL` variable. You must use the
OpenEmbedded notation and not the Debian notation for the names (e.g.
``glibc-dev`` instead of ``libc6-dev``).
The other method for creating a custom image is to base it on an
existing image. For example, if you want to create an image based on
``core-image-sato`` but add the additional package ``strace`` to the
image, copy the ``meta/recipes-sato/images/core-image-sato.bb`` to a new
``.bb`` and add the following line to the end of the copy::
IMAGE_INSTALL += "strace"
Customizing Images Using Custom Package Groups
==============================================
For complex custom images, the best approach for customizing an image is
to create a custom package group recipe that is used to build the image
or images. A good example of a package group recipe is
``meta/recipes-core/packagegroups/packagegroup-base.bb``.
If you examine that recipe, you see that the :term:`PACKAGES` variable lists
the package group packages to produce. The ``inherit packagegroup``
statement sets appropriate default values and automatically adds
``-dev``, ``-dbg``, and ``-ptest`` complementary packages for each
package specified in the :term:`PACKAGES` statement.
.. note::
The ``inherit packagegroup`` line should be located near the top of the
recipe, certainly before the :term:`PACKAGES` statement.
For each package you specify in :term:`PACKAGES`, you can use :term:`RDEPENDS`
and :term:`RRECOMMENDS` entries to provide a list of packages the parent
task package should contain. You can see examples of these further down
in the ``packagegroup-base.bb`` recipe.
Here is a short, fabricated example showing the same basic pieces for a
hypothetical packagegroup defined in ``packagegroup-custom.bb``, where
the variable :term:`PN` is the standard way to abbreviate the reference to
the full packagegroup name ``packagegroup-custom``::
DESCRIPTION = "My Custom Package Groups"
inherit packagegroup
PACKAGES = "\
${PN}-apps \
${PN}-tools \
"
RDEPENDS:${PN}-apps = "\
dropbear \
portmap \
psplash"
RDEPENDS:${PN}-tools = "\
oprofile \
oprofileui-server \
lttng-tools"
RRECOMMENDS:${PN}-tools = "\
kernel-module-oprofile"
In the previous example, two package group packages are created with
their dependencies and their recommended package dependencies listed:
``packagegroup-custom-apps``, and ``packagegroup-custom-tools``. To
build an image using these package group packages, you need to add
``packagegroup-custom-apps`` and/or ``packagegroup-custom-tools`` to
:term:`IMAGE_INSTALL`. For other forms of image dependencies see the other
areas of this section.
Customizing an Image Hostname
=============================
By default, the configured hostname (i.e. ``/etc/hostname``) in an image
is the same as the machine name. For example, if
:term:`MACHINE` equals "qemux86", the
configured hostname written to ``/etc/hostname`` is "qemux86".
You can customize this name by altering the value of the "hostname"
variable in the ``base-files`` recipe using either an append file or a
configuration file. Use the following in an append file::
hostname = "myhostname"
Use the following in a configuration file::
hostname:pn-base-files = "myhostname"
Changing the default value of the variable "hostname" can be useful in
certain situations. For example, suppose you need to do extensive
testing on an image and you would like to easily identify the image
under test from existing images with typical default hostnames. In this
situation, you could change the default hostname to "testme", which
results in all the images using the name "testme". Once testing is
complete and you do not need to rebuild the image for test any longer,
you can easily reset the default hostname.
Another point of interest is that if you unset the variable, the image
will have no default hostname in the filesystem. Here is an example that
unsets the variable in a configuration file::
hostname:pn-base-files = ""
Having no default hostname in the filesystem is suitable for
environments that use dynamic hostnames such as virtual machines.

File diff suppressed because it is too large Load Diff

View File

@@ -1,82 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Using a Development Shell
*************************
When debugging certain commands or even when just editing packages,
``devshell`` can be a useful tool. When you invoke ``devshell``, all
tasks up to and including
:ref:`ref-tasks-patch` are run for the
specified target. Then, a new terminal is opened and you are placed in
``${``\ :term:`S`\ ``}``, the source
directory. In the new terminal, all the OpenEmbedded build-related
environment variables are still defined so you can use commands such as
``configure`` and ``make``. The commands execute just as if the
OpenEmbedded build system were executing them. Consequently, working
this way can be helpful when debugging a build or preparing software to
be used with the OpenEmbedded build system.
Here is an example that uses ``devshell`` on a target named
``matchbox-desktop``::
$ bitbake matchbox-desktop -c devshell
This command spawns a terminal with a shell prompt within the
OpenEmbedded build environment. The
:term:`OE_TERMINAL` variable
controls what type of shell is opened.
For spawned terminals, the following occurs:
- The ``PATH`` variable includes the cross-toolchain.
- The ``pkgconfig`` variables find the correct ``.pc`` files.
- The ``configure`` command finds the Yocto Project site files as well
as any other necessary files.
Within this environment, you can run configure or compile commands as if
they were being run by the OpenEmbedded build system itself. As noted
earlier, the working directory also automatically changes to the Source
Directory (:term:`S`).
To manually run a specific task using ``devshell``, run the
corresponding ``run.*`` script in the
``${``\ :term:`WORKDIR`\ ``}/temp``
directory (e.g., ``run.do_configure.``\ `pid`). If a task's script does
not exist, which would be the case if the task was skipped by way of the
sstate cache, you can create the task by first running it outside of the
``devshell``::
$ bitbake -c task
.. note::
- Execution of a task's ``run.*`` script and BitBake's execution of
a task are identical. In other words, running the script re-runs
the task just as it would be run using the ``bitbake -c`` command.
- Any ``run.*`` file that does not have a ``.pid`` extension is a
symbolic link (symlink) to the most recent version of that file.
Remember, that the ``devshell`` is a mechanism that allows you to get
into the BitBake task execution environment. And as such, all commands
must be called just as BitBake would call them. That means you need to
provide the appropriate options for cross-compilation and so forth as
applicable.
When you are finished using ``devshell``, exit the shell or close the
terminal window.
.. note::
- It is worth remembering that when using ``devshell`` you need to
use the full compiler name such as ``arm-poky-linux-gnueabi-gcc``
instead of just using ``gcc``. The same applies to other
applications such as ``binutils``, ``libtool`` and so forth.
BitBake sets up environment variables such as :term:`CC` to assist
applications, such as ``make`` to find the correct tools.
- It is also worth noting that ``devshell`` still works over X11
forwarding and similar situations.

View File

@@ -1,74 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
.. _device-manager:
Selecting a Device Manager
**************************
The Yocto Project provides multiple ways to manage the device manager
(``/dev``):
- Persistent and Pre-Populated ``/dev``: For this case, the ``/dev``
directory is persistent and the required device nodes are created
during the build.
- Use ``devtmpfs`` with a Device Manager: For this case, the ``/dev``
directory is provided by the kernel as an in-memory file system and
is automatically populated by the kernel at runtime. Additional
configuration of device nodes is done in user space by a device
manager like ``udev`` or ``busybox-mdev``.
Using Persistent and Pre-Populated ``/dev``
===========================================
To use the static method for device population, you need to set the
:term:`USE_DEVFS` variable to "0"
as follows::
USE_DEVFS = "0"
The content of the resulting ``/dev`` directory is defined in a Device
Table file. The
:term:`IMAGE_DEVICE_TABLES`
variable defines the Device Table to use and should be set in the
machine or distro configuration file. Alternatively, you can set this
variable in your ``local.conf`` configuration file.
If you do not define the :term:`IMAGE_DEVICE_TABLES` variable, the default
``device_table-minimal.txt`` is used::
IMAGE_DEVICE_TABLES = "device_table-mymachine.txt"
The population is handled by the ``makedevs`` utility during image
creation:
Using ``devtmpfs`` and a Device Manager
=======================================
To use the dynamic method for device population, you need to use (or be
sure to set) the :term:`USE_DEVFS`
variable to "1", which is the default::
USE_DEVFS = "1"
With this
setting, the resulting ``/dev`` directory is populated by the kernel
using ``devtmpfs``. Make sure the corresponding kernel configuration
variable ``CONFIG_DEVTMPFS`` is set when building you build a Linux
kernel.
All devices created by ``devtmpfs`` will be owned by ``root`` and have
permissions ``0600``.
To have more control over the device nodes, you can use a device manager like
``udev`` or ``busybox-mdev``. You choose the device manager by defining the
:term:`VIRTUAL-RUNTIME_dev_manager <VIRTUAL-RUNTIME>` variable in your machine
or distro configuration file. Alternatively, you can set this variable in
your ``local.conf`` configuration file::
VIRTUAL-RUNTIME_dev_manager = "udev"
# Some alternative values
# VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
# VIRTUAL-RUNTIME_dev_manager = "systemd"

View File

@@ -1,61 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Conserving Disk Space
*********************
Conserving Disk Space During Builds
===================================
To help conserve disk space during builds, you can add the following
statement to your project's ``local.conf`` configuration file found in
the :term:`Build Directory`::
INHERIT += "rm_work"
Adding this statement deletes the work directory used for
building a recipe once the recipe is built. For more information on
"rm_work", see the :ref:`ref-classes-rm-work` class in the
Yocto Project Reference Manual.
When you inherit this class and build a ``core-image-sato`` image for a
``qemux86-64`` machine from an Ubuntu 22.04 x86-64 system, you end up with a
final disk usage of 22 Gbytes instead of &MIN_DISK_SPACE; Gbytes. However,
&MIN_DISK_SPACE_RM_WORK; Gbytes of initial free disk space are still needed to
create temporary files before they can be deleted.
Purging Obsolete Shared State Cache Files
=========================================
After multiple build iterations, the Shared State (sstate) cache can contain
multiple cache files for a given package, consuming a substantial amount of
disk space. However, only the most recent ones are likely to be reused.
The following command is a quick way to purge all the cache files which
haven't been used for a least a specified number of days::
find build/sstate-cache -type f -mtime +$DAYS -delete
The above command relies on the fact that BitBake touches the sstate cache
files as it accesses them, when it has write access to the cache.
You could use ``-atime`` instead of ``-mtime`` if the partition isn't mounted
with the ``noatime`` option for a read only cache.
For more advanced needs, OpenEmbedded-Core also offers a more elaborate
command. It has the ability to purge all but the newest cache files on each
architecture, and also to remove files that it considers unreachable by
exploring a set of build configurations. However, this command
requires a full build environment to be available and doesn't work well
covering multiple releases. It won't work either on limited environments
such as BSD based NAS::
sstate-cache-management.sh --remove-duplicated --cache-dir=build/sstate-cache
This command will ask you to confirm the deletions it identifies.
Run ``sstate-cache-management.sh`` for more details about this script.
.. note::
As this command is much more cautious and selective, removing only cache files,
it will execute much slower than the simple ``find`` command described above.
Therefore, it may not be your best option to trim huge cache directories.

View File

@@ -1,68 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Efficiently Fetching Source Files During a Build
================================================
The OpenEmbedded build system works with source files located through
the :term:`SRC_URI` variable. When
you build something using BitBake, a big part of the operation is
locating and downloading all the source tarballs. For images,
downloading all the source for various packages can take a significant
amount of time.
This section shows you how you can use mirrors to speed up fetching
source files and how you can pre-fetch files all of which leads to more
efficient use of resources and time.
Setting up Effective Mirrors
----------------------------
A good deal that goes into a Yocto Project build is simply downloading
all of the source tarballs. Maybe you have been working with another
build system for which you have built up a
sizable directory of source tarballs. Or, perhaps someone else has such
a directory for which you have read access. If so, you can save time by
adding statements to your configuration file so that the build process
checks local directories first for existing tarballs before checking the
Internet.
Here is an efficient way to set it up in your ``local.conf`` file::
SOURCE_MIRROR_URL ?= "file:///home/you/your-download-dir/"
INHERIT += "own-mirrors"
BB_GENERATE_MIRROR_TARBALLS = "1"
# BB_NO_NETWORK = "1"
In the previous example, the
:term:`BB_GENERATE_MIRROR_TARBALLS`
variable causes the OpenEmbedded build system to generate tarballs of
the Git repositories and store them in the
:term:`DL_DIR` directory. Due to
performance reasons, generating and storing these tarballs is not the
build system's default behavior.
You can also use the
:term:`PREMIRRORS` variable. For
an example, see the variable's glossary entry in the Yocto Project
Reference Manual.
Getting Source Files and Suppressing the Build
----------------------------------------------
Another technique you can use to ready yourself for a successive string
of build operations, is to pre-fetch all the source files without
actually starting a build. This technique lets you work through any
download issues and ultimately gathers all the source files into your
download directory :ref:`structure-build-downloads`,
which is located with :term:`DL_DIR`.
Use the following BitBake command form to fetch all the necessary
sources without starting the build::
$ bitbake target --runall=fetch
This
variation of the BitBake command guarantees that you have all the
sources for that BitBake target should you disconnect from the Internet
and want to do the build later offline.

View File

@@ -1,84 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Using the Error Reporting Tool
******************************
The error reporting tool allows you to submit errors encountered during
builds to a central database. Outside of the build environment, you can
use a web interface to browse errors, view statistics, and query for
errors. The tool works using a client-server system where the client
portion is integrated with the installed Yocto Project
:term:`Source Directory` (e.g. ``poky``).
The server receives the information collected and saves it in a
database.
There is a live instance of the error reporting server at
https://errors.yoctoproject.org.
When you want to get help with build failures, you can submit all of the
information on the failure easily and then point to the URL in your bug
report or send an email to the mailing list.
.. note::
If you send error reports to this server, the reports become publicly
visible.
Enabling and Using the Tool
===========================
By default, the error reporting tool is disabled. You can enable it by
inheriting the :ref:`ref-classes-report-error` class by adding the
following statement to the end of your ``local.conf`` file in your
:term:`Build Directory`::
INHERIT += "report-error"
By default, the error reporting feature stores information in
``${``\ :term:`LOG_DIR`\ ``}/error-report``.
However, you can specify a directory to use by adding the following to
your ``local.conf`` file::
ERR_REPORT_DIR = "path"
Enabling error
reporting causes the build process to collect the errors and store them
in a file as previously described. When the build system encounters an
error, it includes a command as part of the console output. You can run
the command to send the error file to the server. For example, the
following command sends the errors to an upstream server::
$ send-error-report /home/brandusa/project/poky/build/tmp/log/error-report/error_report_201403141617.txt
In the previous example, the errors are sent to a public database
available at https://errors.yoctoproject.org, which is used by the
entire community. If you specify a particular server, you can send the
errors to a different database. Use the following command for more
information on available options::
$ send-error-report --help
When sending the error file, you are prompted to review the data being
sent as well as to provide a name and optional email address. Once you
satisfy these prompts, the command returns a link from the server that
corresponds to your entry in the database. For example, here is a
typical link: https://errors.yoctoproject.org/Errors/Details/9522/
Following the link takes you to a web interface where you can browse,
query the errors, and view statistics.
Disabling the Tool
==================
To disable the error reporting feature, simply remove or comment out the
following statement from the end of your ``local.conf`` file in your
:term:`Build Directory`::
INHERIT += "report-error"
Setting Up Your Own Error Reporting Server
==========================================
If you want to set up your own error reporting server, you can obtain
the code from the Git repository at :yocto_git:`/error-report-web/`.
Instructions on how to set it up are in the README document.

View File

@@ -1,67 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Using an External SCM
*********************
If you're working on a recipe that pulls from an external Source Code
Manager (SCM), it is possible to have the OpenEmbedded build system
notice new recipe changes added to the SCM and then build the resulting
packages that depend on the new recipes by using the latest versions.
This only works for SCMs from which it is possible to get a sensible
revision number for changes. Currently, you can do this with Apache
Subversion (SVN), Git, and Bazaar (BZR) repositories.
To enable this behavior, the :term:`PV` of
the recipe needs to reference
:term:`SRCPV`. Here is an example::
PV = "1.2.3+git${SRCPV}"
Then, you can add the following to your
``local.conf``::
SRCREV:pn-PN = "${AUTOREV}"
:term:`PN` is the name of the recipe for
which you want to enable automatic source revision updating.
If you do not want to update your local configuration file, you can add
the following directly to the recipe to finish enabling the feature::
SRCREV = "${AUTOREV}"
The Yocto Project provides a distribution named ``poky-bleeding``, whose
configuration file contains the line::
require conf/distro/include/poky-floating-revisions.inc
This line pulls in the
listed include file that contains numerous lines of exactly that form::
#SRCREV:pn-opkg-native ?= "${AUTOREV}"
#SRCREV:pn-opkg-sdk ?= "${AUTOREV}"
#SRCREV:pn-opkg ?= "${AUTOREV}"
#SRCREV:pn-opkg-utils-native ?= "${AUTOREV}"
#SRCREV:pn-opkg-utils ?= "${AUTOREV}"
SRCREV:pn-gconf-dbus ?= "${AUTOREV}"
SRCREV:pn-matchbox-common ?= "${AUTOREV}"
SRCREV:pn-matchbox-config-gtk ?= "${AUTOREV}"
SRCREV:pn-matchbox-desktop ?= "${AUTOREV}"
SRCREV:pn-matchbox-keyboard ?= "${AUTOREV}"
SRCREV:pn-matchbox-panel-2 ?= "${AUTOREV}"
SRCREV:pn-matchbox-themes-extra ?= "${AUTOREV}"
SRCREV:pn-matchbox-terminal ?= "${AUTOREV}"
SRCREV:pn-matchbox-wm ?= "${AUTOREV}"
SRCREV:pn-settings-daemon ?= "${AUTOREV}"
SRCREV:pn-screenshot ?= "${AUTOREV}"
. . .
These lines allow you to
experiment with building a distribution that tracks the latest
development source for numerous packages.
.. note::
The ``poky-bleeding`` distribution is not tested on a regular basis. Keep
this in mind if you use it.

View File

@@ -1,40 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Optionally Using an External Toolchain
**************************************
You might want to use an external toolchain as part of your development.
If this is the case, the fundamental steps you need to accomplish are as
follows:
- Understand where the installed toolchain resides. For cases where you
need to build the external toolchain, you would need to take separate
steps to build and install the toolchain.
- Make sure you add the layer that contains the toolchain to your
``bblayers.conf`` file through the
:term:`BBLAYERS` variable.
- Set the :term:`EXTERNAL_TOOLCHAIN` variable in your ``local.conf`` file
to the location in which you installed the toolchain.
The toolchain configuration is very flexible and customizable. It
is primarily controlled with the :term:`TCMODE` variable. This variable
controls which ``tcmode-*.inc`` file to include from the
``meta/conf/distro/include`` directory within the :term:`Source Directory`.
The default value of :term:`TCMODE` is "default", which tells the
OpenEmbedded build system to use its internally built toolchain (i.e.
``tcmode-default.inc``). However, other patterns are accepted. In
particular, "external-\*" refers to external toolchains. One example is
the Mentor Graphics Sourcery G++ Toolchain. Support for this toolchain resides
in the separate ``meta-sourcery`` layer at
https://github.com/MentorEmbedded/meta-sourcery/.
See its ``README`` file for details about how to use this layer.
Another example of external toolchain layer is
:yocto_git:`meta-arm-toolchain </meta-arm/tree/meta-arm-toolchain/>`
supporting GNU toolchains released by ARM.
You can find further information by reading about the :term:`TCMODE` variable
in the Yocto Project Reference Manual's variable glossary.

View File

@@ -1,155 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Enabling GObject Introspection Support
**************************************
`GObject introspection <https://gi.readthedocs.io/en/latest/>`__
is the standard mechanism for accessing GObject-based software from
runtime environments. GObject is a feature of the GLib library that
provides an object framework for the GNOME desktop and related software.
GObject Introspection adds information to GObject that allows objects
created within it to be represented across different programming
languages. If you want to construct GStreamer pipelines using Python, or
control UPnP infrastructure using Javascript and GUPnP, GObject
introspection is the only way to do it.
This section describes the Yocto Project support for generating and
packaging GObject introspection data. GObject introspection data is a
description of the API provided by libraries built on top of the GLib
framework, and, in particular, that framework's GObject mechanism.
GObject Introspection Repository (GIR) files go to ``-dev`` packages,
``typelib`` files go to main packages as they are packaged together with
libraries that are introspected.
The data is generated when building such a library, by linking the
library with a small executable binary that asks the library to describe
itself, and then executing the binary and processing its output.
Generating this data in a cross-compilation environment is difficult
because the library is produced for the target architecture, but its
code needs to be executed on the build host. This problem is solved with
the OpenEmbedded build system by running the code through QEMU, which
allows precisely that. Unfortunately, QEMU does not always work
perfectly as mentioned in the ":ref:`dev-manual/gobject-introspection:known issues`"
section.
Enabling the Generation of Introspection Data
=============================================
Enabling the generation of introspection data (GIR files) in your
library package involves the following:
#. Inherit the :ref:`ref-classes-gobject-introspection` class.
#. Make sure introspection is not disabled anywhere in the recipe or
from anything the recipe includes. Also, make sure that
"gobject-introspection-data" is not in
:term:`DISTRO_FEATURES_BACKFILL_CONSIDERED`
and that "qemu-usermode" is not in
:term:`MACHINE_FEATURES_BACKFILL_CONSIDERED`.
In either of these conditions, nothing will happen.
#. Try to build the recipe. If you encounter build errors that look like
something is unable to find ``.so`` libraries, check where these
libraries are located in the source tree and add the following to the
recipe::
GIR_EXTRA_LIBS_PATH = "${B}/something/.libs"
.. note::
See recipes in the ``oe-core`` repository that use that
:term:`GIR_EXTRA_LIBS_PATH` variable as an example.
#. Look for any other errors, which probably mean that introspection
support in a package is not entirely standard, and thus breaks down
in a cross-compilation environment. For such cases, custom-made fixes
are needed. A good place to ask and receive help in these cases is
the :ref:`Yocto Project mailing
lists <resources-mailinglist>`.
.. note::
Using a library that no longer builds against the latest Yocto
Project release and prints introspection related errors is a good
candidate for the previous procedure.
Disabling the Generation of Introspection Data
==============================================
You might find that you do not want to generate introspection data. Or,
perhaps QEMU does not work on your build host and target architecture
combination. If so, you can use either of the following methods to
disable GIR file generations:
- Add the following to your distro configuration::
DISTRO_FEATURES_BACKFILL_CONSIDERED = "gobject-introspection-data"
Adding this statement disables generating introspection data using
QEMU but will still enable building introspection tools and libraries
(i.e. building them does not require the use of QEMU).
- Add the following to your machine configuration::
MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
Adding this statement disables the use of QEMU when building packages for your
machine. Currently, this feature is used only by introspection
recipes and has the same effect as the previously described option.
.. note::
Future releases of the Yocto Project might have other features
affected by this option.
If you disable introspection data, you can still obtain it through other
means such as copying the data from a suitable sysroot, or by generating
it on the target hardware. The OpenEmbedded build system does not
currently provide specific support for these techniques.
Testing that Introspection Works in an Image
============================================
Use the following procedure to test if generating introspection data is
working in an image:
#. Make sure that "gobject-introspection-data" is not in
:term:`DISTRO_FEATURES_BACKFILL_CONSIDERED`
and that "qemu-usermode" is not in
:term:`MACHINE_FEATURES_BACKFILL_CONSIDERED`.
#. Build ``core-image-sato``.
#. Launch a Terminal and then start Python in the terminal.
#. Enter the following in the terminal::
>>> from gi.repository import GLib
>>> GLib.get_host_name()
#. For something a little more advanced, enter the following see:
https://python-gtk-3-tutorial.readthedocs.io/en/latest/introduction.html
Known Issues
============
Here are know issues in GObject Introspection Support:
- ``qemu-ppc64`` immediately crashes. Consequently, you cannot build
introspection data on that architecture.
- x32 is not supported by QEMU. Consequently, introspection data is
disabled.
- musl causes transient GLib binaries to crash on assertion failures.
Consequently, generating introspection data is disabled.
- Because QEMU is not able to run the binaries correctly, introspection
is disabled for some specific packages under specific architectures
(e.g. ``gcr``, ``libsecret``, and ``webkit``).
- QEMU usermode might not work properly when running 64-bit binaries
under 32-bit host machines. In particular, "qemumips64" is known to
not work under i686.

View File

@@ -4,48 +4,15 @@
Yocto Project Development Tasks Manual
======================================
|
.. toctree::
:caption: Table of Contents
:numbered:
intro
start
layers
customizing-images
new-recipe
new-machine
upgrading-recipes
temporary-source-code
quilt.rst
development-shell
python-development-shell
building
speeding-up-build
libraries
prebuilt-libraries
x32-psabi
gobject-introspection
external-toolchain
wic
bmaptool
securing-images
custom-distribution
custom-template-configuration-directory
disk-space
packages
efficiently-fetching-sources
init-manager
device-manager
external-scm
read-only-rootfs
build-quality
debugging
licenses
security-subjects
vulnerabilities
sbom
error-reporting-tool
wayland
common-tasks
qemu
.. include:: /boilerplate.rst

View File

@@ -1,162 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
.. _init-manager:
Selecting an Initialization Manager
***********************************
By default, the Yocto Project uses :wikipedia:`SysVinit <Init#SysV-style>` as
the initialization manager. There is also support for BusyBox init, a simpler
implementation, as well as support for :wikipedia:`systemd <Systemd>`, which
is a full replacement for init with parallel starting of services, reduced
shell overhead, increased security and resource limits for services, and other
features that are used by many distributions.
Within the system, SysVinit and BusyBox init treat system components as
services. These services are maintained as shell scripts stored in the
``/etc/init.d/`` directory.
SysVinit is more elaborate than BusyBox init and organizes services in
different run levels. This organization is maintained by putting links
to the services in the ``/etc/rcN.d/`` directories, where `N/` is one
of the following options: "S", "0", "1", "2", "3", "4", "5", or "6".
.. note::
Each runlevel has a dependency on the previous runlevel. This
dependency allows the services to work properly.
Both SysVinit and BusyBox init are configured through the ``/etc/inittab``
file, with a very similar syntax, though of course BusyBox init features
are more limited.
In comparison, systemd treats components as units. Using units is a
broader concept as compared to using a service. A unit includes several
different types of entities. ``Service`` is one of the types of entities.
The runlevel concept in SysVinit corresponds to the concept of a target
in systemd, where target is also a type of supported unit.
In systems with SysVinit or BusyBox init, services load sequentially (i.e. one
by one) during init and parallelization is not supported. With systemd, services
start in parallel. This method can have an impact on the startup performance
of a given service, though systemd will also provide more services by default,
therefore increasing the total system boot time. systemd also substantially
increases system size because of its multiple components and the extra
dependencies it pulls.
On the contrary, BusyBox init is the simplest and the lightest solution and
also comes with BusyBox mdev as device manager, a lighter replacement to
:wikipedia:`udev <Udev>`, which SysVinit and systemd both use.
The ":ref:`device-manager`" chapter has more details about device managers.
Using SysVinit with udev
=========================
SysVinit with the udev device manager corresponds to the
default setting in Poky. This corresponds to setting::
INIT_MANAGER = "sysvinit"
Using BusyBox init with BusyBox mdev
====================================
BusyBox init with BusyBox mdev is the simplest and lightest solution
for small root filesystems. All you need is BusyBox, which most systems
have anyway::
INIT_MANAGER = "mdev-busybox"
Using systemd
=============
The last option is to use systemd together with the udev device
manager. This is the most powerful and versatile solution, especially
for more complex systems::
INIT_MANAGER = "systemd"
This will enable systemd and remove sysvinit components from the image.
See :yocto_git:`meta/conf/distro/include/init-manager-systemd.inc
</poky/tree/meta/conf/distro/include/init-manager-systemd.inc>` for exact
details on what this does.
Controling systemd from the target command line
-----------------------------------------------
Here is a quick reference for controling systemd from the command line on the
target. Instead of opening and sometimes modifying files, most interaction
happens through the ``systemctl`` and ``journalctl`` commands:
- ``systemctl status``: show the status of all services
- ``systemctl status <service>``: show the status of one service
- ``systemctl [start|stop] <service>``: start or stop a service
- ``systemctl [enable|disable] <service>``: enable or disable a service at boot time
- ``systemctl list-units``: list all available units
- ``journalctl -a``: show all logs for all services
- ``journalctl -f``: show only the last log entries, and keep printing updates as they arrive
- ``journalctl -u``: show only logs from a particular service
Using systemd-journald without a traditional syslog daemon
----------------------------------------------------------
Counter-intuitively, ``systemd-journald`` is not a syslog runtime or provider,
and the proper way to use ``systemd-journald`` as your sole logging mechanism is to
effectively disable syslog entirely by setting these variables in your distribution
configuration file::
VIRTUAL-RUNTIME_syslog = ""
VIRTUAL-RUNTIME_base-utils-syslog = ""
Doing so will prevent ``rsyslog`` / ``busybox-syslog`` from being pulled in by
default, leaving only ``systemd-journald``.
Summary
-------
The Yocto Project supports three different initialization managers, offering
increasing levels of complexity and functionality:
.. list-table::
:widths: 40 20 20 20
:header-rows: 1
* -
- BusyBox init
- SysVinit
- systemd
* - Size
- Small
- Small
- Big [#footnote-systemd-size]_
* - Complexity
- Small
- Medium
- High
* - Support for boot profiles
- No
- Yes ("runlevels")
- Yes ("targets")
* - Services defined as
- Shell scripts
- Shell scripts
- Description files
* - Starting services in parallel
- No
- No
- Yes
* - Setting service resource limits
- No
- No
- Yes
* - Support service isolation
- No
- No
- Yes
* - Integrated logging
- No
- No
- Yes
.. [#footnote-systemd-size] Using systemd increases the ``core-image-minimal``
image size by 160\% for ``qemux86-64`` on Mickledore (4.2), compared to SysVinit.

View File

@@ -1,943 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Understanding and Creating Layers
*********************************
The OpenEmbedded build system supports organizing
:term:`Metadata` into multiple layers.
Layers allow you to isolate different types of customizations from each
other. For introductory information on the Yocto Project Layer Model,
see the
":ref:`overview-manual/yp-intro:the yocto project layer model`"
section in the Yocto Project Overview and Concepts Manual.
Creating Your Own Layer
=======================
.. note::
It is very easy to create your own layers to use with the OpenEmbedded
build system, as the Yocto Project ships with tools that speed up creating
layers. This section describes the steps you perform by hand to create
layers so that you can better understand them. For information about the
layer-creation tools, see the
":ref:`bsp-guide/bsp:creating a new bsp layer using the \`\`bitbake-layers\`\` script`"
section in the Yocto Project Board Support Package (BSP) Developer's
Guide and the ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`"
section further down in this manual.
Follow these general steps to create your layer without using tools:
#. *Check Existing Layers:* Before creating a new layer, you should be
sure someone has not already created a layer containing the Metadata
you need. You can see the :oe_layerindex:`OpenEmbedded Metadata Index <>`
for a list of layers from the OpenEmbedded community that can be used in
the Yocto Project. You could find a layer that is identical or close
to what you need.
#. *Create a Directory:* Create the directory for your layer. When you
create the layer, be sure to create the directory in an area not
associated with the Yocto Project :term:`Source Directory`
(e.g. the cloned ``poky`` repository).
While not strictly required, prepend the name of the directory with
the string "meta-". For example::
meta-mylayer
meta-GUI_xyz
meta-mymachine
With rare exceptions, a layer's name follows this form::
meta-root_name
Following this layer naming convention can save
you trouble later when tools, components, or variables "assume" your
layer name begins with "meta-". A notable example is in configuration
files as shown in the following step where layer names without the
"meta-" string are appended to several variables used in the
configuration.
#. *Create a Layer Configuration File:* Inside your new layer folder,
you need to create a ``conf/layer.conf`` file. It is easiest to take
an existing layer configuration file and copy that to your layer's
``conf`` directory and then modify the file as needed.
The ``meta-yocto-bsp/conf/layer.conf`` file in the Yocto Project
:yocto_git:`Source Repositories </poky/tree/meta-yocto-bsp/conf>`
demonstrates the required syntax. For your layer, you need to replace
"yoctobsp" with a unique identifier for your layer (e.g. "machinexyz"
for a layer named "meta-machinexyz")::
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "yoctobsp"
BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/"
BBFILE_PRIORITY_yoctobsp = "5"
LAYERVERSION_yoctobsp = "4"
LAYERSERIES_COMPAT_yoctobsp = "dunfell"
Here is an explanation of the layer configuration file:
- :term:`BBPATH`: Adds the layer's
root directory to BitBake's search path. Through the use of the
:term:`BBPATH` variable, BitBake locates class files (``.bbclass``),
configuration files, and files that are included with ``include``
and ``require`` statements. For these cases, BitBake uses the
first file that matches the name found in :term:`BBPATH`. This is
similar to the way the ``PATH`` variable is used for binaries. It
is recommended, therefore, that you use unique class and
configuration filenames in your custom layer.
- :term:`BBFILES`: Defines the
location for all recipes in the layer.
- :term:`BBFILE_COLLECTIONS`:
Establishes the current layer through a unique identifier that is
used throughout the OpenEmbedded build system to refer to the
layer. In this example, the identifier "yoctobsp" is the
representation for the container layer named "meta-yocto-bsp".
- :term:`BBFILE_PATTERN`:
Expands immediately during parsing to provide the directory of the
layer.
- :term:`BBFILE_PRIORITY`:
Establishes a priority to use for recipes in the layer when the
OpenEmbedded build finds recipes of the same name in different
layers.
- :term:`LAYERVERSION`:
Establishes a version number for the layer. You can use this
version number to specify this exact version of the layer as a
dependency when using the
:term:`LAYERDEPENDS`
variable.
- :term:`LAYERDEPENDS`:
Lists all layers on which this layer depends (if any).
- :term:`LAYERSERIES_COMPAT`:
Lists the :yocto_wiki:`Yocto Project </Releases>`
releases for which the current version is compatible. This
variable is a good way to indicate if your particular layer is
current.
.. note::
A layer does not have to contain only recipes ``.bb`` or append files
``.bbappend``. Generally, developers create layers using
``bitbake-layers create-layer``.
See ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`",
explaining how the ``layer.conf`` file is created from a template located in
``meta/lib/bblayers/templates/layer.conf``.
In fact, none of the variables set in ``layer.conf`` are mandatory,
except when :term:`BBFILE_COLLECTIONS` is present. In this case
:term:`LAYERSERIES_COMPAT` and :term:`BBFILE_PATTERN` have to be
defined too.
#. *Add Content:* Depending on the type of layer, add the content. If
the layer adds support for a machine, add the machine configuration
in a ``conf/machine/`` file within the layer. If the layer adds
distro policy, add the distro configuration in a ``conf/distro/``
file within the layer. If the layer introduces new recipes, put the
recipes you need in ``recipes-*`` subdirectories within the layer.
.. note::
For an explanation of layer hierarchy that is compliant with the
Yocto Project, see the ":ref:`bsp-guide/bsp:example filesystem layout`"
section in the Yocto Project Board Support Package (BSP) Developer's Guide.
#. *Optionally Test for Compatibility:* If you want permission to use
the Yocto Project Compatibility logo with your layer or application
that uses your layer, perform the steps to apply for compatibility.
See the
":ref:`dev-manual/layers:making sure your layer is compatible with yocto project`"
section for more information.
Following Best Practices When Creating Layers
=============================================
To create layers that are easier to maintain and that will not impact
builds for other machines, you should consider the information in the
following list:
- *Avoid "Overlaying" Entire Recipes from Other Layers in Your
Configuration:* In other words, do not copy an entire recipe into
your layer and then modify it. Rather, use an append file
(``.bbappend``) to override only those parts of the original recipe
you need to modify.
- *Avoid Duplicating Include Files:* Use append files (``.bbappend``)
for each recipe that uses an include file. Or, if you are introducing
a new recipe that requires the included file, use the path relative
to the original layer directory to refer to the file. For example,
use ``require recipes-core/``\ `package`\ ``/``\ `file`\ ``.inc`` instead
of ``require`` `file`\ ``.inc``. If you're finding you have to overlay
the include file, it could indicate a deficiency in the include file
in the layer to which it originally belongs. If this is the case, you
should try to address that deficiency instead of overlaying the
include file. For example, you could address this by getting the
maintainer of the include file to add a variable or variables to make
it easy to override the parts needing to be overridden.
- *Structure Your Layers:* Proper use of overrides within append files
and placement of machine-specific files within your layer can ensure
that a build is not using the wrong Metadata and negatively impacting
a build for a different machine. Here are some examples:
- *Modify Variables to Support a Different Machine:* Suppose you
have a layer named ``meta-one`` that adds support for building
machine "one". To do so, you use an append file named
``base-files.bbappend`` and create a dependency on "foo" by
altering the :term:`DEPENDS`
variable::
DEPENDS = "foo"
The dependency is created during any
build that includes the layer ``meta-one``. However, you might not
want this dependency for all machines. For example, suppose you
are building for machine "two" but your ``bblayers.conf`` file has
the ``meta-one`` layer included. During the build, the
``base-files`` for machine "two" will also have the dependency on
``foo``.
To make sure your changes apply only when building machine "one",
use a machine override with the :term:`DEPENDS` statement::
DEPENDS:one = "foo"
You should follow the same strategy when using ``:append``
and ``:prepend`` operations::
DEPENDS:append:one = " foo"
DEPENDS:prepend:one = "foo "
As an actual example, here's a
snippet from the generic kernel include file ``linux-yocto.inc``,
wherein the kernel compile and link options are adjusted in the
case of a subset of the supported architectures::
DEPENDS:append:aarch64 = " libgcc"
KERNEL_CC:append:aarch64 = " ${TOOLCHAIN_OPTIONS}"
KERNEL_LD:append:aarch64 = " ${TOOLCHAIN_OPTIONS}"
DEPENDS:append:nios2 = " libgcc"
KERNEL_CC:append:nios2 = " ${TOOLCHAIN_OPTIONS}"
KERNEL_LD:append:nios2 = " ${TOOLCHAIN_OPTIONS}"
DEPENDS:append:arc = " libgcc"
KERNEL_CC:append:arc = " ${TOOLCHAIN_OPTIONS}"
KERNEL_LD:append:arc = " ${TOOLCHAIN_OPTIONS}"
KERNEL_FEATURES:append:qemuall=" features/debug/printk.scc"
- *Place Machine-Specific Files in Machine-Specific Locations:* When
you have a base recipe, such as ``base-files.bb``, that contains a
:term:`SRC_URI` statement to a
file, you can use an append file to cause the build to use your
own version of the file. For example, an append file in your layer
at ``meta-one/recipes-core/base-files/base-files.bbappend`` could
extend :term:`FILESPATH` using :term:`FILESEXTRAPATHS` as follows::
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
The build for machine "one" will pick up your machine-specific file as
long as you have the file in
``meta-one/recipes-core/base-files/base-files/``. However, if you
are building for a different machine and the ``bblayers.conf``
file includes the ``meta-one`` layer and the location of your
machine-specific file is the first location where that file is
found according to :term:`FILESPATH`, builds for all machines will
also use that machine-specific file.
You can make sure that a machine-specific file is used for a
particular machine by putting the file in a subdirectory specific
to the machine. For example, rather than placing the file in
``meta-one/recipes-core/base-files/base-files/`` as shown above,
put it in ``meta-one/recipes-core/base-files/base-files/one/``.
Not only does this make sure the file is used only when building
for machine "one", but the build process locates the file more
quickly.
In summary, you need to place all files referenced from
:term:`SRC_URI` in a machine-specific subdirectory within the layer in
order to restrict those files to machine-specific builds.
- *Perform Steps to Apply for Yocto Project Compatibility:* If you want
permission to use the Yocto Project Compatibility logo with your
layer or application that uses your layer, perform the steps to apply
for compatibility. See the
":ref:`dev-manual/layers:making sure your layer is compatible with yocto project`"
section for more information.
- *Follow the Layer Naming Convention:* Store custom layers in a Git
repository that use the ``meta-layer_name`` format.
- *Group Your Layers Locally:* Clone your repository alongside other
cloned ``meta`` directories from the :term:`Source Directory`.
Making Sure Your Layer is Compatible With Yocto Project
=======================================================
When you create a layer used with the Yocto Project, it is advantageous
to make sure that the layer interacts well with existing Yocto Project
layers (i.e. the layer is compatible with the Yocto Project). Ensuring
compatibility makes the layer easy to be consumed by others in the Yocto
Project community and could allow you permission to use the Yocto
Project Compatible Logo.
.. note::
Only Yocto Project member organizations are permitted to use the
Yocto Project Compatible Logo. The logo is not available for general
use. For information on how to become a Yocto Project member
organization, see the :yocto_home:`Yocto Project Website <>`.
The Yocto Project Compatibility Program consists of a layer application
process that requests permission to use the Yocto Project Compatibility
Logo for your layer and application. The process consists of two parts:
#. Successfully passing a script (``yocto-check-layer``) that when run
against your layer, tests it against constraints based on experiences
of how layers have worked in the real world and where pitfalls have
been found. Getting a "PASS" result from the script is required for
successful compatibility registration.
#. Completion of an application acceptance form, which you can find at
:yocto_home:`/compatible-registration/`.
To be granted permission to use the logo, you need to satisfy the
following:
- Be able to check the box indicating that you got a "PASS" when
running the script against your layer.
- Answer "Yes" to the questions on the form or have an acceptable
explanation for any questions answered "No".
- Be a Yocto Project Member Organization.
The remainder of this section presents information on the registration
form and on the ``yocto-check-layer`` script.
Yocto Project Compatible Program Application
--------------------------------------------
Use the form to apply for your layer's approval. Upon successful
application, you can use the Yocto Project Compatibility Logo with your
layer and the application that uses your layer.
To access the form, use this link:
:yocto_home:`/compatible-registration`.
Follow the instructions on the form to complete your application.
The application consists of the following sections:
- *Contact Information:* Provide your contact information as the fields
require. Along with your information, provide the released versions
of the Yocto Project for which your layer is compatible.
- *Acceptance Criteria:* Provide "Yes" or "No" answers for each of the
items in the checklist. There is space at the bottom of the form for
any explanations for items for which you answered "No".
- *Recommendations:* Provide answers for the questions regarding Linux
kernel use and build success.
``yocto-check-layer`` Script
----------------------------
The ``yocto-check-layer`` script provides you a way to assess how
compatible your layer is with the Yocto Project. You should run this
script prior to using the form to apply for compatibility as described
in the previous section. You need to achieve a "PASS" result in order to
have your application form successfully processed.
The script divides tests into three areas: COMMON, BSP, and DISTRO. For
example, given a distribution layer (DISTRO), the layer must pass both
the COMMON and DISTRO related tests. Furthermore, if your layer is a BSP
layer, the layer must pass the COMMON and BSP set of tests.
To execute the script, enter the following commands from your build
directory::
$ source oe-init-build-env
$ yocto-check-layer your_layer_directory
Be sure to provide the actual directory for your
layer as part of the command.
Entering the command causes the script to determine the type of layer
and then to execute a set of specific tests against the layer. The
following list overviews the test:
- ``common.test_readme``: Tests if a ``README`` file exists in the
layer and the file is not empty.
- ``common.test_parse``: Tests to make sure that BitBake can parse the
files without error (i.e. ``bitbake -p``).
- ``common.test_show_environment``: Tests that the global or per-recipe
environment is in order without errors (i.e. ``bitbake -e``).
- ``common.test_world``: Verifies that ``bitbake world`` works.
- ``common.test_signatures``: Tests to be sure that BSP and DISTRO
layers do not come with recipes that change signatures.
- ``common.test_layerseries_compat``: Verifies layer compatibility is
set properly.
- ``bsp.test_bsp_defines_machines``: Tests if a BSP layer has machine
configurations.
- ``bsp.test_bsp_no_set_machine``: Tests to ensure a BSP layer does not
set the machine when the layer is added.
- ``bsp.test_machine_world``: Verifies that ``bitbake world`` works
regardless of which machine is selected.
- ``bsp.test_machine_signatures``: Verifies that building for a
particular machine affects only the signature of tasks specific to
that machine.
- ``distro.test_distro_defines_distros``: Tests if a DISTRO layer has
distro configurations.
- ``distro.test_distro_no_set_distros``: Tests to ensure a DISTRO layer
does not set the distribution when the layer is added.
Enabling Your Layer
===================
Before the OpenEmbedded build system can use your new layer, you need to
enable it. To enable your layer, simply add your layer's path to the
:term:`BBLAYERS` variable in your ``conf/bblayers.conf`` file, which is
found in the :term:`Build Directory`. The following example shows how to
enable your new ``meta-mylayer`` layer (note how your new layer exists
outside of the official ``poky`` repository which you would have checked
out earlier)::
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/user/poky/meta \
/home/user/poky/meta-poky \
/home/user/poky/meta-yocto-bsp \
/home/user/mystuff/meta-mylayer \
"
BitBake parses each ``conf/layer.conf`` file from the top down as
specified in the :term:`BBLAYERS` variable within the ``conf/bblayers.conf``
file. During the processing of each ``conf/layer.conf`` file, BitBake
adds the recipes, classes and configurations contained within the
particular layer to the source directory.
Appending Other Layers Metadata With Your Layer
===============================================
A recipe that appends Metadata to another recipe is called a BitBake
append file. A BitBake append file uses the ``.bbappend`` file type
suffix, while the corresponding recipe to which Metadata is being
appended uses the ``.bb`` file type suffix.
You can use a ``.bbappend`` file in your layer to make additions or
changes to the content of another layer's recipe without having to copy
the other layer's recipe into your layer. Your ``.bbappend`` file
resides in your layer, while the main ``.bb`` recipe file to which you
are appending Metadata resides in a different layer.
Being able to append information to an existing recipe not only avoids
duplication, but also automatically applies recipe changes from a
different layer into your layer. If you were copying recipes, you would
have to manually merge changes as they occur.
When you create an append file, you must use the same root name as the
corresponding recipe file. For example, the append file
``someapp_3.1.bbappend`` must apply to ``someapp_3.1.bb``. This
means the original recipe and append filenames are version
number-specific. If the corresponding recipe is renamed to update to a
newer version, you must also rename and possibly update the
corresponding ``.bbappend`` as well. During the build process, BitBake
displays an error on starting if it detects a ``.bbappend`` file that
does not have a corresponding recipe with a matching name. See the
:term:`BB_DANGLINGAPPENDS_WARNONLY`
variable for information on how to handle this error.
Overlaying a File Using Your Layer
----------------------------------
As an example, consider the main formfactor recipe and a corresponding
formfactor append file both from the :term:`Source Directory`.
Here is the main
formfactor recipe, which is named ``formfactor_0.0.bb`` and located in
the "meta" layer at ``meta/recipes-bsp/formfactor``::
SUMMARY = "Device formfactor information"
DESCRIPTION = "A formfactor configuration file provides information about the \
target hardware for which the image is being built and information that the \
build system cannot obtain from other sources such as the kernel."
SECTION = "base"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r45"
SRC_URI = "file://config file://machconfig"
S = "${WORKDIR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
INHIBIT_DEFAULT_DEPS = "1"
do_install() {
# Install file only if it has contents
install -d ${D}${sysconfdir}/formfactor/
install -m 0644 ${S}/config ${D}${sysconfdir}/formfactor/
if [ -s "${S}/machconfig" ]; then
install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/
fi
}
In the main recipe, note the :term:`SRC_URI`
variable, which tells the OpenEmbedded build system where to find files
during the build.
Here is the append file, which is named ``formfactor_0.0.bbappend``
and is from the Raspberry Pi BSP Layer named ``meta-raspberrypi``. The
file is in the layer at ``recipes-bsp/formfactor``::
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
By default, the build system uses the
:term:`FILESPATH` variable to
locate files. This append file extends the locations by setting the
:term:`FILESEXTRAPATHS`
variable. Setting this variable in the ``.bbappend`` file is the most
reliable and recommended method for adding directories to the search
path used by the build system to find files.
The statement in this example extends the directories to include
``${``\ :term:`THISDIR`\ ``}/${``\ :term:`PN`\ ``}``,
which resolves to a directory named ``formfactor`` in the same directory
in which the append file resides (i.e.
``meta-raspberrypi/recipes-bsp/formfactor``. This implies that you must
have the supporting directory structure set up that will contain any
files or patches you will be including from the layer.
Using the immediate expansion assignment operator ``:=`` is important
because of the reference to :term:`THISDIR`. The trailing colon character is
important as it ensures that items in the list remain colon-separated.
.. note::
BitBake automatically defines the :term:`THISDIR` variable. You should
never set this variable yourself. Using ":prepend" as part of the
:term:`FILESEXTRAPATHS` ensures your path will be searched prior to other
paths in the final list.
Also, not all append files add extra files. Many append files simply
allow to add build options (e.g. ``systemd``). For these cases, your
append file would not even use the :term:`FILESEXTRAPATHS` statement.
The end result of this ``.bbappend`` file is that on a Raspberry Pi, where
``rpi`` will exist in the list of :term:`OVERRIDES`, the file
``meta-raspberrypi/recipes-bsp/formfactor/formfactor/rpi/machconfig`` will be
used during :ref:`ref-tasks-fetch` and the test for a non-zero file size in
:ref:`ref-tasks-install` will return true, and the file will be installed.
Installing Additional Files Using Your Layer
--------------------------------------------
As another example, consider the main ``xserver-xf86-config`` recipe and a
corresponding ``xserver-xf86-config`` append file both from the :term:`Source
Directory`. Here is the main ``xserver-xf86-config`` recipe, which is named
``xserver-xf86-config_0.1.bb`` and located in the "meta" layer at
``meta/recipes-graphics/xorg-xserver``::
SUMMARY = "X.Org X server configuration file"
HOMEPAGE = "http://www.x.org"
SECTION = "x11/base"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r33"
SRC_URI = "file://xorg.conf"
S = "${WORKDIR}"
CONFFILES:${PN} = "${sysconfdir}/X11/xorg.conf"
PACKAGE_ARCH = "${MACHINE_ARCH}"
ALLOW_EMPTY:${PN} = "1"
do_install () {
if test -s ${WORKDIR}/xorg.conf; then
install -d ${D}/${sysconfdir}/X11
install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
fi
}
Here is the append file, which is named ``xserver-xf86-config_%.bbappend``
and is from the Raspberry Pi BSP Layer named ``meta-raspberrypi``. The
file is in the layer at ``recipes-graphics/xorg-xserver``::
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append:rpi = " \
file://xorg.conf.d/98-pitft.conf \
file://xorg.conf.d/99-calibration.conf \
"
do_install:append:rpi () {
PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
if [ "${PITFT}" = "1" ]; then
install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
fi
}
FILES:${PN}:append:rpi = " ${sysconfdir}/X11/xorg.conf.d/*"
Building off of the previous example, we once again are setting the
:term:`FILESEXTRAPATHS` variable. In this case we are also using
:term:`SRC_URI` to list additional source files to use when ``rpi`` is found in
the list of :term:`OVERRIDES`. The :ref:`ref-tasks-install` task will then perform a
check for an additional :term:`MACHINE_FEATURES` that if set will cause these
additional files to be installed. These additional files are listed in
:term:`FILES` so that they will be packaged.
Prioritizing Your Layer
=======================
Each layer is assigned a priority value. Priority values control which
layer takes precedence if there are recipe files with the same name in
multiple layers. For these cases, the recipe file from the layer with a
higher priority number takes precedence. Priority values also affect the
order in which multiple ``.bbappend`` files for the same recipe are
applied. You can either specify the priority manually, or allow the
build system to calculate it based on the layer's dependencies.
To specify the layer's priority manually, use the
:term:`BBFILE_PRIORITY`
variable and append the layer's root name::
BBFILE_PRIORITY_mylayer = "1"
.. note::
It is possible for a recipe with a lower version number
:term:`PV` in a layer that has a higher
priority to take precedence.
Also, the layer priority does not currently affect the precedence
order of ``.conf`` or ``.bbclass`` files. Future versions of BitBake
might address this.
Providing Global-level Configurations With Your Layer
-----------------------------------------------------
When creating a layer, you may need to define configurations that should take
effect globally in your build environment when the layer is part of the build.
The ``layer.conf`` file is a :term:`configuration file` that affects the build
system globally, so it is a candidate for this use-case.
.. warning::
Providing unconditional global level configuration from the ``layer.conf``
file is *not* a good practice, and should be avoided. For this reason, the
section :ref:`ref-conditional-layer-confs` below shows how the ``layer.conf``
file can be used to provide configurations only if a certain condition is
met.
For example, if your layer provides a Linux kernel recipe named
``linux-custom``, you may want to make :term:`PREFERRED_PROVIDER_virtual/kernel
<PREFERRED_PROVIDER>` point to ``linux-custom``::
PREFERRED_PROVIDER_virtual/kernel = "linux-custom"
This can be defined in the ``layer.conf`` file. If your layer is at the last
position in the :term:`BBLAYERS` list, it will take precedence over previous
``PREFERRED_PROVIDER_virtual/kernel`` assignments (unless one is set from a
:term:`configuration file` that is parsed later, such as machine or distro
configuration files).
.. _ref-conditional-layer-confs:
Conditionally Provide Global-level Configurations With Your Layer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
In some cases, your layer may provide global configurations only if some
features it provides are enabled. Since the ``layer.conf`` file is parsed at an
earlier stage in the parsing process, the :term:`DISTRO_FEATURES` and
:term:`MACHINE_FEATURES` variables are not yet available to ``layer.conf``, and
declaring conditional assignments based on these variables is not possible. The
following technique shows a way to bypass this limitation by using the
:term:`USER_CLASSES` variable and a conditional ``require`` command.
In the following steps, let's assume our layer is named ``meta-mylayer`` and
that this layer defines a custom :ref:`distro feature <ref-features-distro>`
named ``mylayer-kernel``. We will set the :term:`PREFERRED_PROVIDER` variable
for the kernel only if our feature ``mylayer-kernel`` is part of the
:term:`DISTRO_FEATURES`:
#. Create an include file in the directory
``meta-mylayer/conf/distro/include/``, for example a file named
``mylayer-kernel-provider.inc`` that sets the kernel provider to
``linux-custom``::
PREFERRED_PROVIDER_virtual/kernel = "linux-custom"
#. Provide a path to this include file in your ``layer.conf``::
META_MYLAYER_KERNEL_PROVIDER_PATH = "${LAYERDIR}/conf/distro/include/mylayer-kernel-provider.inc"
#. Create a new class in ``meta-mylayer/classes-global/``, for example a class
``meta-mylayer-cfg.bbclass``. Make it conditionally require the file
``mylayer-kernel-provider.inc`` defined above, using the variable
``META_MYLAYER_KERNEL_PROVIDER_PATH`` defined in ``layer.conf``::
require ${@bb.utils.contains('DISTRO_FEATURES', 'mylayer-kernel', '${META_MYLAYER_KERNEL_PROVIDER_PATH}', '', d)}
For details on the ``bb.utils.contains`` function, see its definition in
:bitbake_git:`lib/bb/utils.py </tree/lib/bb/utils.py>`.
.. note::
The ``require`` command is designed to not fail if the function
``bb.utils.contains`` returns an empty string.
#. Back to your ``layer.conf`` file, add the class ``meta-mylayer-cfg`` class to
the :term:`USER_CLASSES` variable::
USER_CLASSES:append = " meta-mylayer-cfg"
This will add the class ``meta-mylayer-cfg`` to the list of classes to
globally inherit. Since the ``require`` command is conditional in
``meta-mylayer-cfg.bbclass``, even though inherited the class will have no
effect unless the feature ``mylayer-kernel`` is enabled through
:term:`DISTRO_FEATURES`.
This technique can also be used for :ref:`Machine features
<ref-features-machine>` by following the same steps. Though not mandatory, it is
recommended to put include files for :term:`DISTRO_FEATURES` in your layer's
``conf/distro/include`` and the ones for :term:`MACHINE_FEATURES` in your
layer's ``conf/machine/include``.
Managing Layers
===============
You can use the BitBake layer management tool ``bitbake-layers`` to
provide a view into the structure of recipes across a multi-layer
project. Being able to generate output that reports on configured layers
with their paths and priorities and on ``.bbappend`` files and their
applicable recipes can help to reveal potential problems.
For help on the BitBake layer management tool, use the following
command::
$ bitbake-layers --help
The following list describes the available commands:
- ``help:`` Displays general help or help on a specified command.
- ``show-layers:`` Shows the current configured layers.
- ``show-overlayed:`` Lists overlayed recipes. A recipe is overlayed
when a recipe with the same name exists in another layer that has a
higher layer priority.
- ``show-recipes:`` Lists available recipes and the layers that
provide them.
- ``show-appends:`` Lists ``.bbappend`` files and the recipe files to
which they apply.
- ``show-cross-depends:`` Lists dependency relationships between
recipes that cross layer boundaries.
- ``add-layer:`` Adds a layer to ``bblayers.conf``.
- ``remove-layer:`` Removes a layer from ``bblayers.conf``
- ``flatten:`` Flattens the layer configuration into a separate
output directory. Flattening your layer configuration builds a
"flattened" directory that contains the contents of all layers, with
any overlayed recipes removed and any ``.bbappend`` files appended to
the corresponding recipes. You might have to perform some manual
cleanup of the flattened layer as follows:
- Non-recipe files (such as patches) are overwritten. The flatten
command shows a warning for these files.
- Anything beyond the normal layer setup has been added to the
``layer.conf`` file. Only the lowest priority layer's
``layer.conf`` is used.
- Overridden and appended items from ``.bbappend`` files need to be
cleaned up. The contents of each ``.bbappend`` end up in the
flattened recipe. However, if there are appended or changed
variable values, you need to tidy these up yourself. Consider the
following example. Here, the ``bitbake-layers`` command adds the
line ``#### bbappended ...`` so that you know where the following
lines originate::
...
DESCRIPTION = "A useful utility"
...
EXTRA_OECONF = "--enable-something"
...
#### bbappended from meta-anotherlayer ####
DESCRIPTION = "Customized utility"
EXTRA_OECONF += "--enable-somethingelse"
Ideally, you would tidy up these utilities as follows::
...
DESCRIPTION = "Customized utility"
...
EXTRA_OECONF = "--enable-something --enable-somethingelse"
...
- ``layerindex-fetch``: Fetches a layer from a layer index, along
with its dependent layers, and adds the layers to the
``conf/bblayers.conf`` file.
- ``layerindex-show-depends``: Finds layer dependencies from the
layer index.
- ``create-layer``: Creates a basic layer.
Creating a General Layer Using the ``bitbake-layers`` Script
============================================================
The ``bitbake-layers`` script with the ``create-layer`` subcommand
simplifies creating a new general layer.
.. note::
- For information on BSP layers, see the ":ref:`bsp-guide/bsp:bsp layers`"
section in the Yocto
Project Board Specific (BSP) Developer's Guide.
- In order to use a layer with the OpenEmbedded build system, you
need to add the layer to your ``bblayers.conf`` configuration
file. See the ":ref:`dev-manual/layers:adding a layer using the \`\`bitbake-layers\`\` script`"
section for more information.
The default mode of the script's operation with this subcommand is to
create a layer with the following:
- A layer priority of 6.
- A ``conf`` subdirectory that contains a ``layer.conf`` file.
- A ``recipes-example`` subdirectory that contains a further
subdirectory named ``example``, which contains an ``example.bb``
recipe file.
- A ``COPYING.MIT``, which is the license statement for the layer. The
script assumes you want to use the MIT license, which is typical for
most layers, for the contents of the layer itself.
- A ``README`` file, which is a file describing the contents of your
new layer.
In its simplest form, you can use the following command form to create a
layer. The command creates a layer whose name corresponds to
"your_layer_name" in the current directory::
$ bitbake-layers create-layer your_layer_name
As an example, the following command creates a layer named ``meta-scottrif``
in your home directory::
$ cd /usr/home
$ bitbake-layers create-layer meta-scottrif
NOTE: Starting bitbake server...
Add your new layer with 'bitbake-layers add-layer meta-scottrif'
If you want to set the priority of the layer to other than the default
value of "6", you can either use the ``--priority`` option or you
can edit the
:term:`BBFILE_PRIORITY` value
in the ``conf/layer.conf`` after the script creates it. Furthermore, if
you want to give the example recipe file some name other than the
default, you can use the ``--example-recipe-name`` option.
The easiest way to see how the ``bitbake-layers create-layer`` command
works is to experiment with the script. You can also read the usage
information by entering the following::
$ bitbake-layers create-layer --help
NOTE: Starting bitbake server...
usage: bitbake-layers create-layer [-h] [--priority PRIORITY]
[--example-recipe-name EXAMPLERECIPE]
layerdir
Create a basic layer
positional arguments:
layerdir Layer directory to create
optional arguments:
-h, --help show this help message and exit
--priority PRIORITY, -p PRIORITY
Layer directory to create
--example-recipe-name EXAMPLERECIPE, -e EXAMPLERECIPE
Filename of the example recipe
Adding a Layer Using the ``bitbake-layers`` Script
==================================================
Once you create your general layer, you must add it to your
``bblayers.conf`` file. Adding the layer to this configuration file
makes the OpenEmbedded build system aware of your layer so that it can
search it for metadata.
Add your layer by using the ``bitbake-layers add-layer`` command::
$ bitbake-layers add-layer your_layer_name
Here is an example that adds a
layer named ``meta-scottrif`` to the configuration file. Following the
command that adds the layer is another ``bitbake-layers`` command that
shows the layers that are in your ``bblayers.conf`` file::
$ bitbake-layers add-layer meta-scottrif
NOTE: Starting bitbake server...
Parsing recipes: 100% |##########################################################| Time: 0:00:49
Parsing of 1441 .bb files complete (0 cached, 1441 parsed). 2055 targets, 56 skipped, 0 masked, 0 errors.
$ bitbake-layers show-layers
NOTE: Starting bitbake server...
layer path priority
==========================================================================
meta /home/scottrif/poky/meta 5
meta-poky /home/scottrif/poky/meta-poky 5
meta-yocto-bsp /home/scottrif/poky/meta-yocto-bsp 5
workspace /home/scottrif/poky/build/workspace 99
meta-scottrif /home/scottrif/poky/build/meta-scottrif 6
Adding the layer to this file
enables the build system to locate the layer during the build.
.. note::
During a build, the OpenEmbedded build system looks in the layers
from the top of the list down to the bottom in that order.

View File

@@ -1,267 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Working With Libraries
**********************
Libraries are an integral part of your system. This section describes
some common practices you might find helpful when working with libraries
to build your system:
- :ref:`How to include static library files
<dev-manual/libraries:including static library files>`
- :ref:`How to use the Multilib feature to combine multiple versions of
library files into a single image
<dev-manual/libraries:combining multiple versions of library files into one image>`
- :ref:`How to install multiple versions of the same library in parallel on
the same system
<dev-manual/libraries:installing multiple versions of the same library>`
Including Static Library Files
==============================
If you are building a library and the library offers static linking, you
can control which static library files (``*.a`` files) get included in
the built library.
The :term:`PACKAGES` and
:term:`FILES:* <FILES>` variables in the
``meta/conf/bitbake.conf`` configuration file define how files installed
by the :ref:`ref-tasks-install` task are packaged. By default, the :term:`PACKAGES`
variable includes ``${PN}-staticdev``, which represents all static
library files.
.. note::
Some previously released versions of the Yocto Project defined the
static library files through ``${PN}-dev``.
Here is the part of the BitBake configuration file, where you can see
how the static library files are defined::
PACKAGE_BEFORE_PN ?= ""
PACKAGES = "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
PACKAGES_DYNAMIC = "^${PN}-locale-.*"
FILES = ""
FILES:${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
${sysconfdir} ${sharedstatedir} ${localstatedir} \
${base_bindir}/* ${base_sbindir}/* \
${base_libdir}/*${SOLIBS} \
${base_prefix}/lib/udev ${prefix}/lib/udev \
${base_libdir}/udev ${libdir}/udev \
${datadir}/${BPN} ${libdir}/${BPN}/* \
${datadir}/pixmaps ${datadir}/applications \
${datadir}/idl ${datadir}/omf ${datadir}/sounds \
${libdir}/bonobo/servers"
FILES:${PN}-bin = "${bindir}/* ${sbindir}/*"
FILES:${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \
${datadir}/gnome/help"
SECTION:${PN}-doc = "doc"
FILES_SOLIBSDEV ?= "${base_libdir}/lib*${SOLIBSDEV} ${libdir}/lib*${SOLIBSDEV}"
FILES:${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \
${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \
${datadir}/aclocal ${base_libdir}/*.o \
${libdir}/${BPN}/*.la ${base_libdir}/*.la \
${libdir}/cmake ${datadir}/cmake"
SECTION:${PN}-dev = "devel"
ALLOW_EMPTY:${PN}-dev = "1"
RDEPENDS:${PN}-dev = "${PN} (= ${EXTENDPKGV})"
FILES:${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a"
SECTION:${PN}-staticdev = "devel"
RDEPENDS:${PN}-staticdev = "${PN}-dev (= ${EXTENDPKGV})"
Combining Multiple Versions of Library Files into One Image
===========================================================
The build system offers the ability to build libraries with different
target optimizations or architecture formats and combine these together
into one system image. You can link different binaries in the image
against the different libraries as needed for specific use cases. This
feature is called "Multilib".
An example would be where you have most of a system compiled in 32-bit
mode using 32-bit libraries, but you have something large, like a
database engine, that needs to be a 64-bit application and uses 64-bit
libraries. Multilib allows you to get the best of both 32-bit and 64-bit
libraries.
While the Multilib feature is most commonly used for 32 and 64-bit
differences, the approach the build system uses facilitates different
target optimizations. You could compile some binaries to use one set of
libraries and other binaries to use a different set of libraries. The
libraries could differ in architecture, compiler options, or other
optimizations.
There are several examples in the ``meta-skeleton`` layer found in the
:term:`Source Directory`:
- :oe_git:`conf/multilib-example.conf </openembedded-core/tree/meta-skeleton/conf/multilib-example.conf>`
configuration file.
- :oe_git:`conf/multilib-example2.conf </openembedded-core/tree/meta-skeleton/conf/multilib-example2.conf>`
configuration file.
- :oe_git:`recipes-multilib/images/core-image-multilib-example.bb </openembedded-core/tree/meta-skeleton/recipes-multilib/images/core-image-multilib-example.bb>`
recipe
Preparing to Use Multilib
-------------------------
User-specific requirements drive the Multilib feature. Consequently,
there is no one "out-of-the-box" configuration that would
meet your needs.
In order to enable Multilib, you first need to ensure your recipe is
extended to support multiple libraries. Many standard recipes are
already extended and support multiple libraries. You can check in the
``meta/conf/multilib.conf`` configuration file in the
:term:`Source Directory` to see how this is
done using the
:term:`BBCLASSEXTEND` variable.
Eventually, all recipes will be covered and this list will not be
needed.
For the most part, the :ref:`Multilib <ref-classes-multilib*>`
class extension works automatically to
extend the package name from ``${PN}`` to ``${MLPREFIX}${PN}``, where
:term:`MLPREFIX` is the particular multilib (e.g. "lib32-" or "lib64-").
Standard variables such as
:term:`DEPENDS`,
:term:`RDEPENDS`,
:term:`RPROVIDES`,
:term:`RRECOMMENDS`,
:term:`PACKAGES`, and
:term:`PACKAGES_DYNAMIC` are
automatically extended by the system. If you are extending any manual
code in the recipe, you can use the ``${MLPREFIX}`` variable to ensure
those names are extended correctly.
Using Multilib
--------------
After you have set up the recipes, you need to define the actual
combination of multiple libraries you want to build. You accomplish this
through your ``local.conf`` configuration file in the
:term:`Build Directory`. An example configuration would be as follows::
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL:append = " lib32-glib-2.0"
This example enables an additional library named
``lib32`` alongside the normal target packages. When combining these
"lib32" alternatives, the example uses "x86" for tuning. For information
on this particular tuning, see
``meta/conf/machine/include/ia32/arch-ia32.inc``.
The example then includes ``lib32-glib-2.0`` in all the images, which
illustrates one method of including a multiple library dependency. You
can use a normal image build to include this dependency, for example::
$ bitbake core-image-sato
You can also build Multilib packages
specifically with a command like this::
$ bitbake lib32-glib-2.0
Additional Implementation Details
---------------------------------
There are generic implementation details as well as details that are specific to
package management systems. Here are implementation details
that exist regardless of the package management system:
- The typical convention used for the class extension code as used by
Multilib assumes that all package names specified in
:term:`PACKAGES` that contain
``${PN}`` have ``${PN}`` at the start of the name. When that
convention is not followed and ``${PN}`` appears at the middle or the
end of a name, problems occur.
- The :term:`TARGET_VENDOR`
value under Multilib will be extended to "-vendormlmultilib" (e.g.
"-pokymllib32" for a "lib32" Multilib with Poky). The reason for this
slightly unwieldy contraction is that any "-" characters in the
vendor string presently break Autoconf's ``config.sub``, and other
separators are problematic for different reasons.
Here are the implementation details for the RPM Package Management System:
- A unique architecture is defined for the Multilib packages, along
with creating a unique deploy folder under ``tmp/deploy/rpm`` in the
:term:`Build Directory`. For example, consider ``lib32`` in a
``qemux86-64`` image. The possible architectures in the system are "all",
"qemux86_64", "lib32:qemux86_64", and "lib32:x86".
- The ``${MLPREFIX}`` variable is stripped from ``${PN}`` during RPM
packaging. The naming for a normal RPM package and a Multilib RPM
package in a ``qemux86-64`` system resolves to something similar to
``bash-4.1-r2.x86_64.rpm`` and ``bash-4.1.r2.lib32_x86.rpm``,
respectively.
- When installing a Multilib image, the RPM backend first installs the
base image and then installs the Multilib libraries.
- The build system relies on RPM to resolve the identical files in the
two (or more) Multilib packages.
Here are the implementation details for the IPK Package Management System:
- The ``${MLPREFIX}`` is not stripped from ``${PN}`` during IPK
packaging. The naming for a normal RPM package and a Multilib IPK
package in a ``qemux86-64`` system resolves to something like
``bash_4.1-r2.x86_64.ipk`` and ``lib32-bash_4.1-rw:x86.ipk``,
respectively.
- The IPK deploy folder is not modified with ``${MLPREFIX}`` because
packages with and without the Multilib feature can exist in the same
folder due to the ``${PN}`` differences.
- IPK defines a sanity check for Multilib installation using certain
rules for file comparison, overridden, etc.
Installing Multiple Versions of the Same Library
================================================
There are be situations where you need to install and use multiple versions
of the same library on the same system at the same time. This
almost always happens when a library API changes and you have
multiple pieces of software that depend on the separate versions of the
library. To accommodate these situations, you can install multiple
versions of the same library in parallel on the same system.
The process is straightforward as long as the libraries use proper
versioning. With properly versioned libraries, all you need to do to
individually specify the libraries is create separate, appropriately
named recipes where the :term:`PN` part of
the name includes a portion that differentiates each library version
(e.g. the major part of the version number). Thus, instead of having a
single recipe that loads one version of a library (e.g. ``clutter``),
you provide multiple recipes that result in different versions of the
libraries you want. As an example, the following two recipes would allow
the two separate versions of the ``clutter`` library to co-exist on the
same system:
.. code-block:: none
clutter-1.6_1.6.20.bb
clutter-1.8_1.8.4.bb
Additionally, if
you have other recipes that depend on a given library, you need to use
the :term:`DEPENDS` variable to
create the dependency. Continuing with the same example, if you want to
have a recipe depend on the 1.8 version of the ``clutter`` library, use
the following in your recipe::
DEPENDS = "clutter-1.8"

View File

@@ -1,539 +0,0 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Working With Licenses
*********************
As mentioned in the ":ref:`overview-manual/development-environment:licensing`"
section in the Yocto Project Overview and Concepts Manual, open source
projects are open to the public and they consequently have different
licensing structures in place. This section describes the mechanism by
which the :term:`OpenEmbedded Build System`
tracks changes to
licensing text and covers how to maintain open source license compliance
during your project's lifecycle. The section also describes how to
enable commercially licensed recipes, which by default are disabled.
Tracking License Changes
========================
The license of an upstream project might change in the future. In order
to prevent these changes going unnoticed, the
:term:`LIC_FILES_CHKSUM`
variable tracks changes to the license text. The checksums are validated
at the end of the configure step, and if the checksums do not match, the
build will fail.
Specifying the ``LIC_FILES_CHKSUM`` Variable
--------------------------------------------
The :term:`LIC_FILES_CHKSUM` variable contains checksums of the license text
in the source code for the recipe. Here is an example of how to
specify :term:`LIC_FILES_CHKSUM`::
LIC_FILES_CHKSUM = "file://COPYING;md5=xxxx \
file://licfile1.txt;beginline=5;endline=29;md5=yyyy \
file://licfile2.txt;endline=50;md5=zzzz \
..."
.. note::
- When using "beginline" and "endline", realize that line numbering
begins with one and not zero. Also, the included lines are
inclusive (i.e. lines five through and including 29 in the
previous example for ``licfile1.txt``).
- When a license check fails, the selected license text is included
as part of the QA message. Using this output, you can determine
the exact start and finish for the needed license text.
The build system uses the :term:`S`
variable as the default directory when searching files listed in
:term:`LIC_FILES_CHKSUM`. The previous example employs the default
directory.
Consider this next example::
LIC_FILES_CHKSUM = "file://src/ls.c;beginline=5;endline=16;\
md5=bb14ed3c4cda583abc85401304b5cd4e"
LIC_FILES_CHKSUM = "file://${WORKDIR}/license.html;md5=5c94767cedb5d6987c902ac850ded2c6"
The first line locates a file in ``${S}/src/ls.c`` and isolates lines
five through 16 as license text. The second line refers to a file in
:term:`WORKDIR`.
Note that :term:`LIC_FILES_CHKSUM` variable is mandatory for all recipes,
unless the :term:`LICENSE` variable is set to "CLOSED".
Explanation of Syntax
---------------------
As mentioned in the previous section, the :term:`LIC_FILES_CHKSUM` variable
lists all the important files that contain the license text for the
source code. It is possible to specify a checksum for an entire file, or
a specific section of a file (specified by beginning and ending line
numbers with the "beginline" and "endline" parameters, respectively).
The latter is useful for source files with a license notice header,
README documents, and so forth. If you do not use the "beginline"
parameter, then it is assumed that the text begins on the first line of
the file. Similarly, if you do not use the "endline" parameter, it is
assumed that the license text ends with the last line of the file.
The "md5" parameter stores the md5 checksum of the license text. If the
license text changes in any way as compared to this parameter then a
mismatch occurs. This mismatch triggers a build failure and notifies the
developer. Notification allows the developer to review and address the
license text changes. Also note that if a mismatch occurs during the
build, the correct md5 checksum is placed in the build log and can be
easily copied to the recipe.
There is no limit to how many files you can specify using the
:term:`LIC_FILES_CHKSUM` variable. Generally, however, every project
requires a few specifications for license tracking. Many projects have a
"COPYING" file that stores the license information for all the source
code files. This practice allows you to just track the "COPYING" file as
long as it is kept up to date.
.. note::
- If you specify an empty or invalid "md5" parameter,
:term:`BitBake` returns an md5
mis-match error and displays the correct "md5" parameter value
during the build. The correct parameter is also captured in the
build log.
- If the whole file contains only license text, you do not need to
use the "beginline" and "endline" parameters.
Enabling Commercially Licensed Recipes
======================================
By default, the OpenEmbedded build system disables components that have
commercial or other special licensing requirements. Such requirements
are defined on a recipe-by-recipe basis through the
:term:`LICENSE_FLAGS` variable
definition in the affected recipe. For instance, the
``poky/meta/recipes-multimedia/gstreamer/gst-plugins-ugly`` recipe
contains the following statement::
LICENSE_FLAGS = "commercial"
Here is a
slightly more complicated example that contains both an explicit recipe
name and version (after variable expansion)::
LICENSE_FLAGS = "license_${PN}_${PV}"
In order for a component restricted by a
:term:`LICENSE_FLAGS` definition to be enabled and included in an image, it
needs to have a matching entry in the global
:term:`LICENSE_FLAGS_ACCEPTED`
variable, which is a variable typically defined in your ``local.conf``
file. For example, to enable the
``poky/meta/recipes-multimedia/gstreamer/gst-plugins-ugly`` package, you
could add either the string "commercial_gst-plugins-ugly" or the more
general string "commercial" to :term:`LICENSE_FLAGS_ACCEPTED`. See the
":ref:`dev-manual/licenses:license flag matching`" section for a full
explanation of how :term:`LICENSE_FLAGS` matching works. Here is the
example::
LICENSE_FLAGS_ACCEPTED = "commercial_gst-plugins-ugly"
Likewise, to additionally enable the package built from the recipe
containing ``LICENSE_FLAGS = "license_${PN}_${PV}"``, and assuming that
the actual recipe name was ``emgd_1.10.bb``, the following string would
enable that package as well as the original ``gst-plugins-ugly``
package::
LICENSE_FLAGS_ACCEPTED = "commercial_gst-plugins-ugly license_emgd_1.10"
As a convenience, you do not need to specify the
complete license string for every package. You can use
an abbreviated form, which consists of just the first portion or
portions of the license string before the initial underscore character
or characters. A partial string will match any license that contains the
given string as the first portion of its license. For example, the
following value will also match both of the packages
previously mentioned as well as any other packages that have licenses
starting with "commercial" or "license"::
LICENSE_FLAGS_ACCEPTED = "commercial license"
License Flag Matching
---------------------
License flag matching allows you to control what recipes the
OpenEmbedded build system includes in the build. Fundamentally, the
build system attempts to match :term:`LICENSE_FLAGS` strings found in
recipes against strings found in :term:`LICENSE_FLAGS_ACCEPTED`.
A match causes the build system to include a recipe in the
build, while failure to find a match causes the build system to exclude
a recipe.
In general, license flag matching is simple. However, understanding some
concepts will help you correctly and effectively use matching.
Before a flag defined by a particular recipe is tested against the
entries of :term:`LICENSE_FLAGS_ACCEPTED`, the expanded
string ``_${PN}`` is appended to the flag. This expansion makes each
:term:`LICENSE_FLAGS` value recipe-specific. After expansion, the
string is then matched against the entries. Thus, specifying
``LICENSE_FLAGS = "commercial"`` in recipe "foo", for example, results
in the string ``"commercial_foo"``. And, to create a match, that string
must appear among the entries of :term:`LICENSE_FLAGS_ACCEPTED`.
Judicious use of the :term:`LICENSE_FLAGS` strings and the contents of the
:term:`LICENSE_FLAGS_ACCEPTED` variable allows you a lot of flexibility for
including or excluding recipes based on licensing. For example, you can
broaden the matching capabilities by using license flags string subsets
in :term:`LICENSE_FLAGS_ACCEPTED`.
.. note::
When using a string subset, be sure to use the part of the expanded
string that precedes the appended underscore character (e.g.
``usethispart_1.3``, ``usethispart_1.4``, and so forth).
For example, simply specifying the string "commercial" in the
:term:`LICENSE_FLAGS_ACCEPTED` variable matches any expanded
:term:`LICENSE_FLAGS` definition that starts with the string
"commercial" such as "commercial_foo" and "commercial_bar", which
are the strings the build system automatically generates for
hypothetical recipes named "foo" and "bar" assuming those recipes simply
specify the following::
LICENSE_FLAGS = "commercial"
Thus, you can choose to exhaustively enumerate each license flag in the
list and allow only specific recipes into the image, or you can use a
string subset that causes a broader range of matches to allow a range of
recipes into the image.
This scheme works even if the :term:`LICENSE_FLAGS` string already has
``_${PN}`` appended. For example, the build system turns the license
flag "commercial_1.2_foo" into "commercial_1.2_foo_foo" and would match
both the general "commercial" and the specific "commercial_1.2_foo"
strings found in the :term:`LICENSE_FLAGS_ACCEPTED` variable, as expected.
Here are some other scenarios:
- You can specify a versioned string in the recipe such as
"commercial_foo_1.2" in a "foo" recipe. The build system expands this
string to "commercial_foo_1.2_foo". Combine this license flag with a
:term:`LICENSE_FLAGS_ACCEPTED` variable that has the string
"commercial" and you match the flag along with any other flag that
starts with the string "commercial".
- Under the same circumstances, you can add "commercial_foo" in the
:term:`LICENSE_FLAGS_ACCEPTED` variable and the build system not only
matches "commercial_foo_1.2" but also matches any license flag with
the string "commercial_foo", regardless of the version.
- You can be very specific and use both the package and version parts
in the :term:`LICENSE_FLAGS_ACCEPTED` list (e.g.
"commercial_foo_1.2") to specifically match a versioned recipe.
Other Variables Related to Commercial Licenses
----------------------------------------------
There are other helpful variables related to commercial license handling,
defined in the
``poky/meta/conf/distro/include/default-distrovars.inc`` file::
COMMERCIAL_AUDIO_PLUGINS ?= ""
COMMERCIAL_VIDEO_PLUGINS ?= ""
If you want to enable these components, you can do so by making sure you have
statements similar to the following in your ``local.conf`` configuration file::
COMMERCIAL_AUDIO_PLUGINS = "gst-plugins-ugly-mad \
gst-plugins-ugly-mpegaudioparse"
COMMERCIAL_VIDEO_PLUGINS = "gst-plugins-ugly-mpeg2dec \
gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
LICENSE_FLAGS_ACCEPTED = "commercial_gst-plugins-ugly commercial_gst-plugins-bad commercial_qmmp"
Of course, you could also create a matching list for those components using the
more general "commercial" string in the :term:`LICENSE_FLAGS_ACCEPTED` variable,
but that would also enable all the other packages with :term:`LICENSE_FLAGS`
containing "commercial", which you may or may not want::
LICENSE_FLAGS_ACCEPTED = "commercial"
Specifying audio and video plugins as part of the
:term:`COMMERCIAL_AUDIO_PLUGINS` and :term:`COMMERCIAL_VIDEO_PLUGINS` statements
(along with :term:`LICENSE_FLAGS_ACCEPTED`) includes the plugins or
components into built images, thus adding support for media formats or
components.
.. note::
GStreamer "ugly" and "bad" plugins are actually available through
open source licenses. However, the "ugly" ones can be subject to software
patents in some countries, making it necessary to pay licensing fees
to distribute them. The "bad" ones are just deemed unreliable by the
GStreamer community and should therefore be used with care.
Maintaining Open Source License Compliance During Your Product's Lifecycle
==========================================================================
One of the concerns for a development organization using open source
software is how to maintain compliance with various open source
licensing during the lifecycle of the product. While this section does
not provide legal advice or comprehensively cover all scenarios, it does
present methods that you can use to assist you in meeting the compliance
requirements during a software release.
With hundreds of different open source licenses that the Yocto Project
tracks, it is difficult to know the requirements of each and every
license. However, the requirements of the major FLOSS licenses can begin
to be covered by assuming that there are three main areas of concern:
- Source code must be provided.
- License text for the software must be provided.
- Compilation scripts and modifications to the source code must be
provided.
- spdx files can be provided.
There are other requirements beyond the scope of these three and the
methods described in this section (e.g. the mechanism through which
source code is distributed).
As different organizations have different ways of releasing software,
there can be multiple ways of meeting license obligations. At
least, we describe here two methods for achieving compliance:
- The first method is to use OpenEmbedded's ability to provide
the source code, provide a list of licenses, as well as
compilation scripts and source code modifications.
The remainder of this section describes supported methods to meet
the previously mentioned three requirements.
- The second method is to generate a *Software Bill of Materials*
(:term:`SBoM`), as described in the ":doc:`/dev-manual/sbom`" section.
Not only do you generate :term:`SPDX` output which can be used meet
license compliance requirements (except for sharing the build system
and layers sources for the time being), but this output also includes
component version and patch information which can be used
for vulnerability assessment.
Whatever method you choose, prior to releasing images, sources,
and the build system, you should audit all artifacts to ensure
completeness.
.. note::
The Yocto Project generates a license manifest during image creation
that is located in
``${DEPLOY_DIR}/licenses/<image-name>-<machine>.rootfs-<datestamp>/``
to assist with any audits.
Providing the Source Code
-------------------------
Compliance activities should begin before you generate the final image.
The first thing you should look at is the requirement that tops the list
for most compliance groups --- providing the source. The Yocto Project has
a few ways of meeting this requirement.
One of the easiest ways to meet this requirement is to provide the
entire :term:`DL_DIR` used by the
build. This method, however, has a few issues. The most obvious is the
size of the directory since it includes all sources used in the build
and not just the source used in the released image. It will include
toolchain source, and other artifacts, which you would not generally
release. However, the more serious issue for most companies is
accidental release of proprietary software. The Yocto Project provides
an :ref:`ref-classes-archiver` class to help avoid some of these concerns.
Before you employ :term:`DL_DIR` or the :ref:`ref-classes-archiver` class, you
need to decide how you choose to provide source. The source
:ref:`ref-classes-archiver` class can generate tarballs and SRPMs and can
create them with various levels of compliance in mind.
One way of doing this (but certainly not the only way) is to release
just the source as a tarball. You can do this by adding the following to
the ``local.conf`` file found in the :term:`Build Directory`::
INHERIT += "archiver"
ARCHIVER_MODE[src] = "original"
During the creation of your
image, the source from all recipes that deploy packages to the image is
placed within subdirectories of ``DEPLOY_DIR/sources`` based on the
:term:`LICENSE` for each recipe.
Releasing the entire directory enables you to comply with requirements
concerning providing the unmodified source. It is important to note that
the size of the directory can get large.
A way to help mitigate the size issue is to only release tarballs for
licenses that require the release of source. Let us assume you are only
concerned with GPL code as identified by running the following script:
.. code-block:: shell
# Script to archive a subset of packages matching specific license(s)
# Source and license files are copied into sub folders of package folder
# Must be run from build folder
#!/bin/bash
src_release_dir="source-release"
mkdir -p $src_release_dir
for a in tmp/deploy/sources/*; do
for d in $a/*; do
# Get package name from path
p=`basename $d`
p=${p%-*}
p=${p%-*}
# Only archive GPL packages (update *GPL* regex for your license check)
numfiles=`ls tmp/deploy/licenses/$p/*GPL* 2> /dev/null | wc -l`
if [ $numfiles -ge 1 ]; then
echo Archiving $p
mkdir -p $src_release_dir/$p/source
cp $d/* $src_release_dir/$p/source 2> /dev/null
mkdir -p $src_release_dir/$p/license
cp tmp/deploy/licenses/$p/* $src_release_dir/$p/license 2> /dev/null
fi
done
done
At this point, you
could create a tarball from the ``gpl_source_release`` directory and
provide that to the end user. This method would be a step toward
achieving compliance with section 3a of GPLv2 and with section 6 of
GPLv3.
Providing License Text
~~~~~~~~~~~~~~~~~~~~~~
One requirement that is often overlooked is inclusion of license text.
This requirement also needs to be dealt with prior to generating the
final image. Some licenses require the license text to accompany the
binary. You can achieve this by adding the following to your
``local.conf`` file::
COPY_LIC_MANIFEST = "1"
COPY_LIC_DIRS = "1"
LICENSE_CREATE_PACKAGE = "1"
Adding these statements to the
configuration file ensures that the licenses collected during package
generation are included on your image.
.. note::
Setting all three variables to "1" results in the image having two
copies of the same license file. One copy resides in
``/usr/share/common-licenses`` and the other resides in
``/usr/share/license``.
The reason for this behavior is because
:term:`COPY_LIC_DIRS` and
:term:`COPY_LIC_MANIFEST`
add a copy of the license when the image is built but do not offer a
path for adding licenses for newly installed packages to an image.
:term:`LICENSE_CREATE_PACKAGE`
adds a separate package and an upgrade path for adding licenses to an
image.
As the source :ref:`ref-classes-archiver` class has already archived the
original unmodified source that contains the license files, you would have
already met the requirements for inclusion of the license information
with source as defined by the GPL and other open source licenses.
Providing Compilation Scripts and Source Code Modifications
-----------------------------------------------------------
At this point, we have addressed all we need prior to generating the
image. The next two requirements are addressed during the final
packaging of the release.
By releasing the version of the OpenEmbedded build system and the layers
used during the build, you will be providing both compilation scripts
and the source code modifications in one step.
If the deployment team has a :ref:`overview-manual/concepts:bsp layer`
and a distro layer, and those
those layers are used to patch, compile, package, or modify (in any way)
any open source software included in your released images, you might be
required to release those layers under section 3 of GPLv2 or section 1
of GPLv3. One way of doing that is with a clean checkout of the version
of the Yocto Project and layers used during your build. Here is an
example:
.. code-block:: shell
# We built using the dunfell branch of the poky repo
$ git clone -b dunfell git://git.yoctoproject.org/poky
$ cd poky
# We built using the release_branch for our layers
$ git clone -b release_branch git://git.mycompany.com/meta-my-bsp-layer
$ git clone -b release_branch git://git.mycompany.com/meta-my-software-layer
# clean up the .git repos
$ find . -name ".git" -type d -exec rm -rf {} \;
One
thing a development organization might want to consider for end-user
convenience is to modify ``meta-poky/conf/bblayers.conf.sample`` to
ensure that when the end user utilizes the released build system to
build an image, the development organization's layers are included in
the ``bblayers.conf`` file automatically::
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-yocto-bsp \
##OEROOT##/meta-mylayer \
"
Creating and
providing an archive of the :term:`Metadata`
layers (recipes, configuration files, and so forth) enables you to meet
your requirements to include the scripts to control compilation as well
as any modifications to the original source.
Compliance Limitations with Executables Built from Static Libraries
-------------------------------------------------------------------
When package A is added to an image via the :term:`RDEPENDS` or :term:`RRECOMMENDS`
mechanisms as well as explicitly included in the image recipe with
:term:`IMAGE_INSTALL`, and depends on a static linked library recipe B
(``DEPENDS += "B"``), package B will neither appear in the generated license
manifest nor in the generated source tarballs. This occurs as the
:ref:`ref-classes-license` and :ref:`ref-classes-archiver` classes assume that
only packages included via :term:`RDEPENDS` or :term:`RRECOMMENDS`
end up in the image.
As a result, potential obligations regarding license compliance for package B
may not be met.
The Yocto Project doesn't enable static libraries by default, in part because
of this issue. Before a solution to this limitation is found, you need to
keep in mind that if your root filesystem is built from static libraries,
you will need to manually ensure that your deliveries are compliant
with the licenses of these libraries.
Copying Non Standard Licenses
=============================
Some packages, such as the linux-firmware package, have many licenses
that are not in any way common. You can avoid adding a lot of these
types of common license files, which are only applicable to a specific
package, by using the
:term:`NO_GENERIC_LICENSE`
variable. Using this variable also avoids QA errors when you use a
non-common, non-CLOSED license in a recipe.
Here is an example that uses the ``LICENSE.Abilis.txt`` file as
the license from the fetched source::
NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENSE.Abilis.txt"

Some files were not shown because too many files have changed in this diff Show More