]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agorust-common/rust-cross: Clean up target json generation code rpurdie/debugsymbols
Richard Purdie [Sat, 23 Jul 2022 12:25:32 +0000 (13:25 +0100)] 
rust-common/rust-cross: Clean up target json generation code

Some of the subtleties in the different codepaths for target rust json generation
were not easy to spot. Start to simplfy the code to make this clearer.

This patch should not have any functionality change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-cross: Simplfy the rust_gen_target calls
Richard Purdie [Sat, 23 Jul 2022 11:08:07 +0000 (12:08 +0100)] 
rust-cross: Simplfy the rust_gen_target calls

Match the code in rust-cross-canadian so that further simplifications
can be considered in future.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-cross/rust-common: Merge arm target handling code to fix cross-canadian
Richard Purdie [Sat, 23 Jul 2022 11:03:43 +0000 (12:03 +0100)] 
rust-cross/rust-common: Merge arm target handling code to fix cross-canadian

rust-cross had special handling for armv7 targets but we also need this
for cross-canadian. Merge the code into the main function so everything is
consistent.

Also then fix the arm definition to be arm-eabi since ABI is correctly
being looked up.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-cross-canadian: Fix ordering of target json config generation
Richard Purdie [Sat, 23 Jul 2022 10:54:33 +0000 (11:54 +0100)] 
rust-cross-canadian: Fix ordering of target json config generation

Based upon a patch from Otavio Salvador <otavio@ossystems.com.br>,
ensure the target json files are written in the correct order with
the most specific last incase it overwrites earlier files if the prefixes
match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-common: Set llvm-target correctly for cross SDK targets
Richard Purdie [Sat, 23 Jul 2022 10:47:42 +0000 (11:47 +0100)] 
rust-common: Set llvm-target correctly for cross SDK targets

When a 'BUILD' target is requested we shouldn't be looking at TARGET_SYS but
at BUILD_SYS. Due to the way rust mangles triplets, we need the HOST_SYS triplet
to work with existing code - fixing that issue is a separate patch.

Also drop the arch_abi argument, it doens't make any sense to a getVar() call
and was a copy and paste error.

Based on a patch from Otavio Salvador <otavio@ossystems.com.br> but separated out
and tweaked.

Fixes: bd36593ba3 ("rust-common: Drop LLVM_TARGET and simplify")
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-cross: Fix relative links
Richard Purdie [Thu, 21 Jul 2022 14:27:10 +0000 (15:27 +0100)] 
gcc-cross: Fix relative links

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoautotools: Drop relative configure path workaround
Richard Purdie [Thu, 21 Jul 2022 13:47:36 +0000 (14:47 +0100)] 
autotools: Drop relative configure path workaround

Calling configure with a relative path to the build directory was a nice
workaround to remove hardcoded paths from files. We have proper prefix
remapping code now and these relative paths escape that modern code.
Drop the obsolete approach and allow the prefix remapping to handle things.
This ensures the contents of debug source directories is correct as the build
directory from the tarball name may not match the on target debug directory.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobase/reproducible: Change Source Date Epoch generation methods
Richard Purdie [Thu, 21 Jul 2022 09:36:10 +0000 (10:36 +0100)] 
base/reproducible: Change Source Date Epoch generation methods

In bc, we found that there are files newer than Changelog (e.g. scan.l)
which means after install runs, the timestamp is clamped to SDE which means
"bitbake bc -C compile" would then try and regenerate generated files and
complain flex was missing.

Rather than assuming Changelog/NEWS are magic for dates, drop that scan
method and scan all unpacked files. This shouldn't be that slow as they'd
be in the disk cache already after an unpack.

For bc, this changes SDE by about two minutes and avoids the problems
rebuilding.

Add a version comment to the task definition as changes in python library
code won't trigger a rebuild and we need one here.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa: sdk: rust: add basic cargo test
Otavio Salvador [Wed, 20 Jul 2022 19:06:01 +0000 (16:06 -0300)] 
oeqa: sdk: rust: add basic cargo test

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Handle S and B separately for debug mapping
Richard Purdie [Wed, 20 Jul 2022 12:28:03 +0000 (13:28 +0100)] 
bitbake.conf: Handle S and B separately for debug mapping

We don't really need to keep S and B separate for debug source purposes
and there shouldn't be source references in WORKDIR that isn't S and B
either.

Separating these out simplifies the shared-work directory handling for
gcc and should also help fix external source usage. Therefore handle
S and B in DEBUG_PREFIX_MAP separately and clean up other code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgcc/gcc-runtime: Improve source reference handling
Richard Purdie [Wed, 20 Jul 2022 11:29:39 +0000 (12:29 +0100)] 
libgcc/gcc-runtime: Improve source reference handling

This code was some of the earliest reproducible build work we did. To
correctly handle the encoding of file paths, we used relative build
paths to run configure which resulted in relative build paths in the
binaries.

We now have more modern approaches used elsewhere with the prefix remapping
options. These work best with absolute paths, not relative ones. As such,
drop the relative path mangling and switch to using prefix mapping
exclusively on absolute paths.

This makes the code matc the rest of the system and triggers the correct
code to be added in /usr/src/debug.

We have to include both file-prefix and debug-prefix since the assembler
only looks at debug-prefix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage: Switch debug source handling to use prefix map
Richard Purdie [Tue, 19 Jul 2022 16:32:32 +0000 (17:32 +0100)] 
package: Switch debug source handling to use prefix map

Reproducible builds are no longer a configuration option but are required.
We also rely on the prefix mapping capability of the compilers now.

As such, rewrite the source locating code to use the prefix maps instead
of taking a guess about WORKDIR which isn't correct for kernels, gcc,
externalsrc and probably more.

Instead, iterate the maps to locate any matching source code, keeping
in mind that multiple maps may map to one target location.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocargo-cross-canadian: Use SDK's flags during target linking
Otavio Salvador [Sun, 10 Jul 2022 16:43:00 +0000 (13:43 -0300)] 
cargo-cross-canadian: Use SDK's flags during target linking

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogcc-runtime: Pass -nostartfiles when building dummy libstdc++.so
Khem Raj [Tue, 19 Jul 2022 03:00:23 +0000 (20:00 -0700)] 
gcc-runtime: Pass -nostartfiles when building dummy libstdc++.so

This is a dummy shared object therefore reduce dependencies further by
not requiring the C startup files, we wont use this shared library for
anything useful anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/runtime: add test that the kernel has CONFIG_PREEMPT_RT enabled
Ross Burton [Wed, 20 Jul 2022 10:59:52 +0000 (11:59 +0100)] 
oeqa/runtime: add test that the kernel has CONFIG_PREEMPT_RT enabled

This is the absolute bare minimum for testing the RT patches, but it
does mean we if we build and boot a RT kernel we can verify that it is
what we expect.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Tue, 19 Jul 2022 10:01:32 +0000 (11:01 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogobject-introspection-data: Disable cache for g-ir-scanner
Tom Hochstein [Mon, 18 Jul 2022 13:50:11 +0000 (08:50 -0500)] 
gobject-introspection-data: Disable cache for g-ir-scanner

An intermittent failure occurs in libical-native do_compile:

| Traceback (most recent call last):
|   File "/.../build/tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/python3.10/shutil.py", line 813, in move
|     os.rename(src, real_dst)
| OSError: [Errno 18] Invalid cross-device link: '/tmp/g-ir-scanner-cache-adxo_2bq' -> '/home/bamboo/.cache/g-ir-scanner/bab9a83d2cd93e62ed005a2c1d4f89ae75c67251'
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/bin/g-ir-scanner", line 99, in <module>
|     sys.exit(scanner_main(sys.argv))
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/scannermain.py", line 590, in scanner_main
|     transformer = create_transformer(namespace, options)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/scannermain.py", line 409, in create_transformer
|     transformer.register_include(include_obj)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/transformer.py", line 140, in register_include
|     self._parse_include(filename)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/transformer.py", line 230, in _parse_include
|     self._parse_include(dep_filename)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/transformer.py", line 225, in _parse_include
|     self._cachestore.store(filename, parser)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/cachestore.py", line 153, in store
|     shutil.move(tmp_filename, store_filename)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/python3.10/shutil.py", line 833, in move
|     copy_function(src, real_dst)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/python3.10/shutil.py", line 435, in copy2
|     copystat(src, dst, follow_symlinks=follow_symlinks)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/python3.10/shutil.py", line 374, in copystat
|     lookup("utime")(dst, ns=(st.st_atime_ns, st.st_mtime_ns),
| FileNotFoundError: [Errno 2] No such file or directory

A similar issue is described in a fix for gobject-introspection-native.

https://github.com/openembedded/openembedded-core/commit/d3c48ff7d19e86b2338b1778f9563969bba3d336

The problem was fixed there by setting the environment variable
GI_SCANNER_DISABLE_CACHE to disable the use of $HOME/.cache.

Extend the fix to users of gobject-instropection by promoting the fix
to the bbclass.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-jsonschema: 4.7.1 -> 4.7.2 + fixed the rdepends
Jan Vermaete [Sun, 17 Jul 2022 08:29:53 +0000 (10:29 +0200)] 
python3-jsonschema: 4.7.1 -> 4.7.2 + fixed the rdepends

And spitted the files for the tests into a -test package

buildhistory:
  images/raspberrypi4_64/glibc/core-image-base: IMAGESIZE changed from 208024 to 183660 (-12%)
  Changes to images/raspberrypi4_64/glibc/core-image-base (installed-package-names.txt):
    python3-pyparsing was removed
    python3-pip was removed
    python3-setuptools-scm was removed
    python3-packaging was removed
    python3-typing-extensions was removed
    python3-pkg-resources was removed
    python3-tomli was removed
    python3-setuptools was removed

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agokernel-fitimage.bbclass: add padding algorithm property in config nodes
LUIS ENRIQUEZ [Sat, 16 Jul 2022 15:52:22 +0000 (17:52 +0200)] 
kernel-fitimage.bbclass: add padding algorithm property in config nodes

This allows choosing padding algorithm when building fitImage. It may be pkcs-1.5 or pss.

Signed-off-by: LUIS ENRIQUEZ <luis.enriquez@se.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorootfs-postcommands.bbclass: move host-user-contaminated.txt to ${S}
Ming Liu [Fri, 15 Jul 2022 11:18:57 +0000 (13:18 +0200)] 
rootfs-postcommands.bbclass: move host-user-contaminated.txt to ${S}

This is to ensure host-user-contaminated.txt would be removed before
do_rootfs runs, since ${S} is in cleandirs of do_rootfs, otherwise, a
host-user-contaminated.txt file that generated from previous builds
could be used which is wrong.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosstatesig: Include all dependencies in SPDX task signatures
Joshua Watt [Fri, 15 Jul 2022 13:47:47 +0000 (08:47 -0500)] 
sstatesig: Include all dependencies in SPDX task signatures

SDPX generation involves looking through BB_TASKDEPDATA for
dependencies, then linking to the generated documents for those
dependencies. These document links use a checksum to validate the
document, which means that if a upstream document changes, all
downstream documents must be regenerated to get the new checksum,
otherwise the compendium of documents produced by the build will have
broken links; therefore all dependent task should be included in the
signature (even from "ABI safe" recipes).

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-docutils: upgrade 0.18.1 -> 0.19
wangmy [Tue, 12 Jul 2022 07:44:56 +0000 (15:44 +0800)] 
python3-docutils: upgrade 0.18.1 -> 0.19

License-Update:
 year updated to 2022
 URLs of documentation and repositories changed
 URLs of license text changed
 List of files covered by the BSD 2-Clause License changed

Changelog:
===========
- Drop support for Python 2.7, 3.5, and 3.6.

- Output changes:
  HTML5:
     Wrap groups of footnotes in an <aside> for easier styling.
     The CSS rule .footnote-list { display: contents; } can be used to restore
     the behaviour of custom CSS styles.
- After package installation, the CLI commands python -m docutils and docutils
  start the generic command line front end tool.
- Support parsing "Markdown" input with 3rd party parsers myst, pycmark, or recommonmark.
- The default values for the "pep-references", "rfc-base-url", and "python-home"
  configuration settings now use the "https:" scheme. The PEP-writer template's
  header is updated to fix links and resemble the header of official PEPs.
- Various bugfixes and improvements (see HISTORY).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-picobuild: upgrade to 0.2
Ross Burton [Fri, 15 Jul 2022 12:32:10 +0000 (13:32 +0100)] 
python3-picobuild: upgrade to 0.2

Major features since 0.1:
- Implement support for legacy source trees
- Add option to loosen dependency checking

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolua: Backport fix for CVE-2022-33099
Khem Raj [Sun, 17 Jul 2022 14:50:27 +0000 (07:50 -0700)] 
lua: Backport fix for CVE-2022-33099

Fixes stack overflow while handling recurring errors in Lua-stack

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage.bbclass: Fix kernel source handling when not using externalsrc
Alejandro Hernandez Samaniego [Fri, 15 Jul 2022 17:46:11 +0000 (11:46 -0600)] 
package.bbclass: Fix kernel source handling when not using externalsrc

Previous commit c725bdb29b266 broke kernel source handling, this was due
to the code expecting the sources to be in a different directory, this did
not happen when using externalsrc since sources were found in the expected
directories.

Pass work-shared to the check to allow sources to be found in the proper
directory, allowing these to be packaged in the next step.

To test this we grabbed a commit where we knew the buildpaths
QA test should flag a file inside the kernel sources, with the previous
commit the QA warning wasnt flagged since no sources where there, with
this fix the buildpaths QA warning gets flagged properly.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconf/local.conf.sample: mention site.conf.sample as well
Alexander Kanavin [Fri, 15 Jul 2022 18:01:04 +0000 (20:01 +0200)] 
conf/local.conf.sample: mention site.conf.sample as well

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopulseaudio: add m4-native to DEPENDS
Ross Burton [Fri, 15 Jul 2022 11:05:33 +0000 (12:05 +0100)] 
pulseaudio: add m4-native to DEPENDS

Normally m4-native ends up in the sysroot via the toolchain, but if a
non-standard toolchain is used them m4-native may not be installed.

However Pulseaudio explicitly checks for m4 in the meson.build, so add
it to DEPENDS.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocurl: Fix determinism issues in ptest package
Richard Purdie [Fri, 15 Jul 2022 17:00:37 +0000 (18:00 +0100)] 
curl: Fix determinism issues in ptest package

NROFF can take different values depending on the filesystem layout of the
host system and this leaks onto the target ptest package through the
Makefiles. Since ptest doesn't use them, delete them to resovle that issue.

Also ensure the task can rerun even if it already deleted configurehelp.pm

[YOCTO #14863]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooe/utils: remove the ThreadedPool
Jose Quaresma [Sat, 16 Apr 2022 22:28:46 +0000 (23:28 +0100)] 
oe/utils: remove the ThreadedPool

The ThreadedPool in OE-core is mainly because python2
doesn't have threaded pools but python2 is dead for
some time now and python3 have a ThreadPoolExecutor.

The only local in OE-core where this ThreadedPool
is in use is on the sstate.bbclass that is ported
to the python3 ThreadPoolExecutor.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: Use the python3 ThreadPoolExecutor instead of the OE ThreadedPool
Jose Quaresma [Sat, 16 Apr 2022 22:28:45 +0000 (23:28 +0100)] 
sstate: Use the python3 ThreadPoolExecutor instead of the OE ThreadedPool

For the FetchConnectionCache use a queue where each thread can
get an unsed connection_cache that is properly initialized before
we fireup the ThreadPoolExecutor.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolocal.conf.sample: Mention other MACHINE options may exist
Richard Purdie [Fri, 15 Jul 2022 16:37:41 +0000 (17:37 +0100)] 
local.conf.sample: Mention other MACHINE options may exist

Mention other MACHINE options exist and where to look for them. Based
on an idea from Robert P. J. Day but adjusted not to use urls but to
refer to the local metadata.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest/runtime_test/virgl: Disable for all almalinux
Richard Purdie [Fri, 15 Jul 2022 15:57:50 +0000 (16:57 +0100)] 
selftest/runtime_test/virgl: Disable for all almalinux

We can't support vgem on RHEL derived distros so disable this test for
all almalinux hosts rather than specific versions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoudev-extraconf:mount.sh: fix path mismatching issues
Ming Liu [Thu, 14 Jul 2022 15:47:53 +0000 (17:47 +0200)] 
udev-extraconf:mount.sh: fix path mismatching issues

Since commit f077befd5f36ad88623aaf6a38b1a837ecb18650:
[ udev-extraconf: let automount base directory configurable ]

the mount base directory was configurable, we need drop 'run-media'
usage as well, change to figure it out from MOUNT_BASE.

Also 'get_label_name' function needs to be called ealier in
automount_systemd before checking '/tmp/.automount-$name', otherwise
they would never match.

(From OE-Core rev: c013b33162546fb5bd4bcc1daac75aa65d0be1a3)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: introduce UBOOT_MKIMAGE_KERNEL_TYPE
Ming Liu [Thu, 14 Jul 2022 15:45:08 +0000 (17:45 +0200)] 
meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE

Sometimes an end user might want to choose another kernel type argument
for uboot-mkimage other than "kernel", for instance: "kernel_noload".

Let's introduce a variable UBOOT_MKIMAGE_KERNEL_TYPE to support that,
and it could be used by BSP layers as well.

(From OE-Core rev: e288686e97de1265eeeaf452141e1473867efb1b)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage.bbclass: Avoid stripping signed kernel modules in splitdebuginfo
Christoph Lauer [Wed, 13 Jul 2022 21:07:23 +0000 (23:07 +0200)] 
package.bbclass: Avoid stripping signed kernel modules in splitdebuginfo

Since commit d756b346f248df47b0540644adb1d0f17bcc4b6e kernel modules are stripped by the functions 'runstrip' and 'splitdebuginfo'. Signed modules must not be stripped. Function 'runstrip' avoids this by running is_kernel_module_signed. Apply the same check to splitdebuginfo.

(From OE-Core rev: 6859226652339b19cbc7bdfec074fe2016cdee60)

Signed-off-by: Christoph Lauer <christoph.lauer@xtronic.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinsane: Drop debug exclusion from buildpaths test
Richard Purdie [Mon, 4 Jul 2022 14:17:31 +0000 (15:17 +0100)] 
insane: Drop debug exclusion from buildpaths test

Once, we didn't have reproducible debug info and weren't sure how we'd get it.
This is long since fixed so we can drop this exclusion as obsolete.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-runtime: Fix missing MLPREFIX in debug mappings
Richard Purdie [Fri, 15 Jul 2022 11:01:25 +0000 (12:01 +0100)] 
gcc-runtime: Fix missing MLPREFIX in debug mappings

This fixes reproducibility issues with multilibs were a different recipe
specific sysroot is used which was leaking into debug symbols in libraries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/sstatetests: Update test to work with bitbake changes
Richard Purdie [Wed, 13 Jul 2022 21:52:21 +0000 (22:52 +0100)] 
oeqa/selftest/sstatetests: Update test to work with bitbake changes

Bitbake is dropping the DL_DIR fallback for local file urls and ensuring
local urls are fetchable. This test fails as it copies the meta directory
of COREBASE but not scripts and nativesdk-qemu-helper references runqemu
from there which doesn't exist in the copied data.

Tweak to symlink scripts into position in the copied metadata which
avoids the now fatal parsing error.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa: test_invalid_recipe_src_uri expect parse time error
Paulo Neves [Thu, 14 Jul 2022 11:29:59 +0000 (13:29 +0200)] 
oeqa: test_invalid_recipe_src_uri expect parse time error

Before this commit the test expected a runtime error but the logic of
the fetcher changed so that files not found for checksumming cause a
fatal interruption of the parse, thuse never reaching the runtime error
this test expected. This commit aligns with the bitbake changes to the
fetcher.

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinsane: Reword staging to refer to populate_sysroot
Richard Purdie [Fri, 1 Jul 2022 11:51:59 +0000 (12:51 +0100)] 
insane: Reword staging to refer to populate_sysroot

'staging' is a term lost in time. This code now operates on the sysroots,
adjust the naming and messages to be more correct/appropriate.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinsane: Add buildpaths to WARN_QA by default
Richard Purdie [Fri, 1 Jul 2022 14:06:15 +0000 (15:06 +0100)] 
insane: Add buildpaths to WARN_QA by default

This was never enabled originally as there were a ton of warnings and
we weren't able to fix them. Now we have reproducibile builds, this can
be enabled by default as there shouldn't be such paths any longer.

This is known to work well for OE-Core, other layers may have variable
quaility but enabling it will start to hint to other layers and maintainers
that these issues need fixing.

It also will give developers early warning of reproducibility issues, rather
than us catching them on the YP autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: fix buildpaths issue with pnmtologo
Bruce Ashfield [Thu, 14 Jul 2022 19:12:51 +0000 (15:12 -0400)] 
linux-yocto/5.10: fix buildpaths issue with pnmtologo

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

    2883e69e202d pnmtologo: use relocatable file name

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.130
Bruce Ashfield [Thu, 14 Jul 2022 19:12:49 +0000 (15:12 -0400)] 
linux-yocto/5.10: update to v5.10.130

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

    26ae9c361414 Linux 5.10.130
    8365b151fd50 dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate
    37147e22cd8d dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
    1be247db203e dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
    7b721f5aec92 dmaengine: pl330: Fix lockdep warning about non-static key
    e23cfb3fdcbb ida: don't use BUG_ON() for debugging
    37995f034ff2 dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
    ca4a91958466 misc: rtsx_usb: set return value in rsp_buf alloc err path
    ff79e0ca2bea misc: rtsx_usb: use separate command and response buffers
    af7d9d4abe84 misc: rtsx_usb: fix use of dma mapped buffer for usb bulk transfer
    86884017bb63 dmaengine: imx-sdma: Allow imx8m for imx7 FW revs
    9b329edd77ca i2c: cadence: Unregister the clk notifier in error path
    26938bd28c0c r8169: fix accessing unset transport header
    904f622ec78e selftests: forwarding: fix error message in learning_test
    9906c223400f selftests: forwarding: fix learning_test when h1 supports IFF_UNICAST_FLT
    859b889029fc selftests: forwarding: fix flood_unicast_test when h2 supports IFF_UNICAST_FLT
    23cdc57d88d1 ibmvnic: Properly dispose of all skbs during a failover.
    2b4659c145ba i40e: Fix dropped jumbo frames statistics
    5561bddd0599 xsk: Clear page contiguity bit when unmapping pool
    87d2bb888259 ARM: dts: at91: sama5d2_icp: fix eeprom compatibles
    9b7d8e28b686 ARM: dts: at91: sam9x60ek: fix eeprom compatible and size
    ade03e5ea778 ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt
    b40ac801cbb1 ARM: at91: pm: use proper compatible for sama5d2's rtc
    4c3e73a66a27 arm64: dts: qcom: msm8992-*: Fix vdd_lvs1_2-supply typo
    1d0c3ced2d1c pinctrl: sunxi: sunxi_pconf_set: use correct offset
    e1cda2a03d81 arm64: dts: imx8mp-evk: correct I2C3 pad settings
    2ade1b1d92f6 arm64: dts: imx8mp-evk: correct gpio-led pad settings
    17b3883ba55f arm64: dts: imx8mp-evk: correct the uart2 pinctl value
    43319ee6a075 arm64: dts: imx8mp-evk: correct mmc pad settings
    6bf74a1e748f arm64: dts: qcom: msm8994: Fix CPU6/7 reg values
    2c0d10ce002a pinctrl: sunxi: a83t: Fix NAND function name for some pins
    3d90607e7e6a ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
    e14930e9f9c6 xfs: remove incorrect ASSERT in xfs_rename
    852952ea0e15 can: kvaser_usb: kvaser_usb_leaf: fix bittiming limits
    a741e762e199 can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression
    f439d08ef1a2 can: kvaser_usb: replace run-time checks with struct kvaser_usb_driver_info
    79af7be44ccb powerpc/powernv: delay rng platform device creation until later in boot
    19104425c962 video: of_display_timing.h: include errno.h
    96fa24eb1a38 memregion: Fix memregion_free() fallback definition
    d6931bff1cc1 PM: runtime: Redefine pm_runtime_release_supplier()
    cecb806c766c fbcon: Prevent that screen size is smaller than font size
    b727561ddc93 fbcon: Disallow setting font bigger than screen size
    b81212828ad1 fbmem: Check virtual screen sizes in fb_set_var()
    d03e8ed72d7d fbdev: fbmem: Fix logo center image dx issue
    963c80f070ed iommu/vt-d: Fix PCI bus rescan device hot add
    0a5e36dbcb44 netfilter: nf_tables: stricter validation of element data
    4a6430b99f67 netfilter: nft_set_pipapo: release elements in clone from abort path
    4f59d12efe30 net: rose: fix UAF bug caused by rose_t0timer_expiry
    0085da9df3dc usbnet: fix memory leak in error case
    e917be1f83ea bpf: Fix insufficient bounds propagation from adjust_scalar_min_max_vals
    9adec7334969 bpf: Fix incorrect verifier simulation around jmp32's jeq/jne
    d0b8e2239988 can: gs_usb: gs_usb_open/close(): fix memory leak
    b6f4b347a1fb can: grcan: grcan_probe(): remove extra of_node_get()
    85cd41070df9 can: bcm: use call_rcu() instead of costly synchronize_rcu()
    b75d4bec85b8 ALSA: hda/realtek: Add quirk for Clevo L140PU
    6c32496964da mm/slub: add missing TID updates on slab deactivation
    7208d1236f72 Linux 5.10.129
    0e21ef18019c clocksource/drivers/ixp4xx: remove EXPORT_SYMBOL_GPL from ixp4xx_timer_setup()
    7055e3446244 net: usb: qmi_wwan: add Telit 0x1070 composition
    f1a53bb27f17 net: usb: qmi_wwan: add Telit 0x1060 composition
    43c8d33ce353 xen/arm: Fix race in RB-tree based P2M accounting
    547b7c640df5 xen-netfront: restore __skb_queue_tail() positioning in xennet_get_responses()
    cbbd2d253153 xen/blkfront: force data bouncing when backend is untrusted
    4923217af574 xen/netfront: force data bouncing when backend is untrusted
    728d68bfe68d xen/netfront: fix leaking data in shared pages
    cfea428030be xen/blkfront: fix leaking data in shared pages
    d341e5a75480 selftests/rseq: Change type of rseq_offset to ptrdiff_t
    7e617278bf3a selftests/rseq: x86-32: use %gs segment selector for accessing rseq thread area
    27f6361cb415 selftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area
    a4312e2d8192 selftests/rseq: Fix: work-around asm goto compiler bugs
    7e1a0a9a4442 selftests/rseq: Remove arm/mips asm goto compiler work-around
    ba4d79af7101 selftests/rseq: Fix warnings about #if checks of undefined tokens
    35c6f5047ff3 selftests/rseq: Fix ppc32 offsets by using long rather than off_t
    dbc1f0ee6044 selftests/rseq: Fix ppc32 missing instruction selection "u" and "x" for load/store
    d4f631ea2dd6 selftests/rseq: Fix ppc32: wrong rseq_cs 32-bit field pointer on big endian
    e85fdae4df72 selftests/rseq: Uplift rseq selftests for compatibility with glibc-2.35
    c79e564535c0 selftests/rseq: Introduce thread pointer getters
    4a78bf83e226 selftests/rseq: Introduce rseq_get_abi() helper
    3c2a416c80cc selftests/rseq: Remove volatile from __rseq_abi
    68e1232c6e93 selftests/rseq: Remove useless assignment to cpu variable
    3e77ed4f9052 selftests/rseq: introduce own copy of rseq uapi header
    54cd556487d4 selftests/rseq: remove ARRAY_SIZE define from individual tests
    14894cf6925c hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails
    f72d410dbf8d ipv6/sit: fix ipip6_tunnel_get_prl return value
    25055da22a0f sit: use min
    652fd40eb01c drivers: cpufreq: Add missing of_node_put() in qoriq-cpufreq.c
    79963021fd71 xen/gntdev: Avoid blocking in unmap_grant_pages()
    5f614f5f70bf tcp: add a missing nf_reset_ct() in 3WHS handling
    9203dfb3ed6b xfs: fix xfs_reflink_unshare usage of filemap_write_and_wait_range
    f874e16870cc xfs: update superblock counters correctly for !lazysbcount
    7ab7458d7af7 xfs: fix xfs_trans slab cache name
    f12968a5a4be xfs: ensure xfs_errortag_random_default matches XFS_ERRTAG_MAX
    da61388f9a75 xfs: Skip repetitive warnings about mount options
    6b7dab812cba xfs: rename variable mp to parsing_mp
    b261cd005ab9 xfs: use current->journal_info for detecting transaction recursion
    c36d41b65e57 net: tun: avoid disabling NAPI twice
    59c51c3b5451 tunnels: do not assume mac header is set in skb_tunnel_check_pmtu()
    c9fc52c1739e io_uring: ensure that send/sendmsg and recv/recvmsg check sqe->ioprio
    b8def021ac70 epic100: fix use after free on rmmod
    456bc338871c tipc: move bc link creation back to tipc_node_create
    09f994623530 NFC: nxp-nci: Don't issue a zero length i2c_master_read()
    7d363362e006 nfc: nfcmrvl: Fix irq_of_parse_and_map() return value
    63b2fe509f69 net: bonding: fix use-after-free after 802.3ad slave unbind
    7597ed348e62 net: bonding: fix possible NULL deref in rlb code
    ac12337229ea net/sched: act_api: Notify user space if any actions were flushed before error
    91d3bb82c43e netfilter: nft_dynset: restore set element counter when failing to update
    4b480a7940ff s390: remove unneeded 'select BUILD_BIN2C'
    e65027fdebba PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
    653bdcd833b7 caif_virtio: fix race between virtio_device_ready() and ndo_open()
    208ff7967534 NFSD: restore EINVAL error translation in nfsd_commit()
    db82bb605404 net: ipv6: unexport __init-annotated seg6_hmac_net_init()
    eb1757ca20b8 usbnet: fix memory allocation in helpers
    fae2a9fb1eaf linux/dim: Fix divide by 0 in RDMA DIM
    b0cab8b517ae RDMA/cm: Fix memory leak in ib_cm_insert_listen
    9de276dfb20c RDMA/qedr: Fix reporting QP timeout attribute
    a42bd00f0035 net: dp83822: disable rx error interrupt
    9c06d84855bd net: dp83822: disable false carrier interrupt
    c70ca16f72b2 net: tun: stop NAPI when detaching queues
    bec1be0a745a net: tun: unlink NAPI from device on destruction
    0b2499c8014f net: dsa: bcm_sf2: force pause link settings
    3f55912a1a98 selftests/net: pass ipv6_args to udpgso_bench's IPv6 TCP test
    f7b8fb458445 virtio-net: fix race between ndo_open() and virtio_device_ready()
    c0a28f2ddf9a net: usb: ax88179_178a: Fix packet receiving
    8f74cb27c2b4 net: rose: fix UAF bugs caused by timer handler
    6a0b9512a6aa SUNRPC: Fix READ_PLUS crasher
    ed03a650fb57 s390/archrandom: simplify back to earlier design and initialize earlier
    d8bca518d527 dm raid: fix KASAN warning in raid5_add_disks
    9bf2b0757b04 dm raid: fix accesses beyond end of raid member array
    213c550deb6b powerpc/bpf: Fix use of user_pt_regs in uapi
    68a34e478ad5 powerpc/book3e: Fix PUD allocation size in map_kernel_page()
    e188bbdb9229 powerpc/prom_init: Fix kernel config grep
    e6a7d30b650a nvdimm: Fix badblocks clear off-by-one error
    0b99c4a18936 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG SX6000LNP (AKA SPECTRIX S40G)
    e77804158b30 ipv6: take care of disable_policy when restoring routes
    03b9e016598f drm/amdgpu: To flush tlb for MMHUB of RAVEN series

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: fix buildpaths issue with pnmtologo
Bruce Ashfield [Thu, 14 Jul 2022 19:14:50 +0000 (15:14 -0400)] 
linux-yocto/5.15: fix buildpaths issue with pnmtologo

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

    a40d2daf2795 pnmtologo: use relocatable file name

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: update to v5.15.54
Bruce Ashfield [Thu, 14 Jul 2022 19:14:48 +0000 (15:14 -0400)] 
linux-yocto/5.15: update to v5.15.54

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

    843dae1756d9 Linux 5.15.54
    c0c041a60cac selftests/net: fix section name when using xdp_dummy.o
    a5fe76328ea5 dmaengine: idxd: force wq context cleanup on device disable path
    568b2bd79b59 dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate
    2f6ded79068c dmaengine: qcom: bam_dma: fix runtime PM underflow
    cb9813d7eae9 dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
    e08ccbaa5fb3 dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
    c787908bee3f dmaengine: lgm: Fix an error handling path in intel_ldma_probe()
    0bbb30d077f2 dmaengine: pl330: Fix lockdep warning about non-static key
    8b07022de2d3 ida: don't use BUG_ON() for debugging
    9839d89112d4 dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
    e99bad0d76cf Revert "serial: 8250_mtk: Make sure to select the right FEATURE_SEL"
    2fa22e7906c1 Revert "mm/memory-failure.c: fix race with changing page compound again"
    c1c98764c3c3 misc: rtsx_usb: set return value in rsp_buf alloc err path
    bab1a05a1141 misc: rtsx_usb: use separate command and response buffers
    378080b7d8dd misc: rtsx_usb: fix use of dma mapped buffer for usb bulk transfer
    d76704f8ccbb dmaengine: imx-sdma: Allow imx8m for imx7 FW revs
    530ee8d3c6a4 i2c: cadence: Unregister the clk notifier in error path
    941d77b795d1 r8169: fix accessing unset transport header
    3abec0b38173 selftests: forwarding: fix error message in learning_test
    1b74fe2e8f5c selftests: forwarding: fix learning_test when h1 supports IFF_UNICAST_FLT
    8e5fcfecd99a selftests: forwarding: fix flood_unicast_test when h2 supports IFF_UNICAST_FLT
    3fdca34e7811 ibmvnic: Properly dispose of all skbs during a failover.
    5912e5e47ac9 ARM: dts: stm32: add missing usbh clock and fix clk order on stm32mp15
    d5670adf5cff ARM: dts: stm32: use usbphyc ck_usbo_48m as USBH OHCI clock on stm32mp151
    ddec6cbbe227 i40e: Fix VF's MAC Address change on VM
    9d1e322a9103 i40e: Fix dropped jumbo frames statistics
    d2bf1a6480e8 i2c: piix4: Fix a memory leak in the EFCH MMIO support
    e7a1d5100921 xsk: Clear page contiguity bit when unmapping pool
    a2b92fffd51b ARM: at91: fix soc detection for SAM9X60 SiPs
    e3ee4ffa3c92 ARM: dts: at91: sama5d2_icp: fix eeprom compatibles
    f5b0e6d7b453 ARM: dts: at91: sam9x60ek: fix eeprom compatible and size
    a65b92628ae0 ARM: at91: pm: use proper compatibles for sama7g5's rtc and rtt
    cfd0e717bd93 ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt
    9ec5fe55ba75 ARM: at91: pm: use proper compatible for sama5d2's rtc
    ec5533b2ce26 arm64: dts: qcom: msm8992-*: Fix vdd_lvs1_2-supply typo
    76292cf4b3bc pinctrl: sunxi: sunxi_pconf_set: use correct offset
    c041165d8f04 arm64: dts: imx8mp-phyboard-pollux-rdk: correct i2c2 & mmc settings
    44826474a39a arm64: dts: imx8mp-phyboard-pollux-rdk: correct eqos pad settings
    ea8dbe870c84 arm64: dts: imx8mp-phyboard-pollux-rdk: correct uart pad settings
    67a21eb8c48e arm64: dts: imx8mp-evk: correct I2C3 pad settings
    b34da817e3fa arm64: dts: imx8mp-evk: correct I2C1 pad settings
    37413a0ea090 arm64: dts: imx8mp-evk: correct eqos pad settings
    ebad4d73ab1c arm64: dts: imx8mp-evk: correct vbus pad settings
    f1571c8c8724 arm64: dts: imx8mp-evk: correct gpio-led pad settings
    637b3dab51f7 arm64: dts: imx8mp-evk: correct the uart2 pinctl value
    401d27fec614 arm64: dts: imx8mp-evk: correct mmc pad settings
    ee1ced3dd863 ARM: mxs_defconfig: Enable the framebuffer
    89a718d1d080 arm64: dts: qcom: sdm845: use dispcc AHB clock for mdss node
    216094007699 arm64: dts: qcom: msm8994: Fix CPU6/7 reg values
    4157343a6a1a ASoC: codecs: rt700/rt711/rt711-sdca: resume bus/codec in .set_jack_detect
    ac80a45ddb62 ASoC: rt711-sdca: Add endianness flag in snd_soc_component_driver
    25e61636a5c3 ASoC: rt711: Add endianness flag in snd_soc_component_driver
    29029ca6eed7 pinctrl: sunxi: a83t: Fix NAND function name for some pins
    7208101ded1e ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
    9c26be2c3e69 tty: n_gsm: fix encoding of command/response bit
    3b9f49138669 btrfs: fix use of uninitialized variable at rm device ioctl
    cb91c0548ff2 virtio-blk: modify the value type of num in virtio_queue_rq()
    d35b78cb053a btrfs: fix error pointer dereference in btrfs_ioctl_rm_dev_v2()
    f88e79727fba Revert "serial: sc16is7xx: Clear RS485 bits in the shutdown"
    83d3449e8ae5 xfs: remove incorrect ASSERT in xfs_rename
    63a3d2377715 can: kvaser_usb: kvaser_usb_leaf: fix bittiming limits
    420b99306b7e can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression
    baffaed7fab3 can: kvaser_usb: replace run-time checks with struct kvaser_usb_driver_info
    188c798f3c25 net: dsa: qca8k: reset cpu port on MTU change
    c79726aba6af powerpc/powernv: delay rng platform device creation until later in boot
    cc409f88e8f7 video: of_display_timing.h: include errno.h
    6c9c8a7a9a54 memregion: Fix memregion_free() fallback definition
    79827e53b069 PM: runtime: Redefine pm_runtime_release_supplier()
    9c9e44bb3dd5 fbcon: Prevent that screen size is smaller than font size
    688632778025 fbcon: Disallow setting font bigger than screen size
    738d06ef99cb fbmem: Check virtual screen sizes in fb_set_var()
    989b2c40322e fbdev: fbmem: Fix logo center image dx issue
    e5fde29135a4 iommu/vt-d: Fix PCI bus rescan device hot add
    09cb6663618a module: fix [e_shstrndx].sh_size=0 OOB access
    e9f331bb5d43 module: change to print useful messages from elf_validity_check()
    82b50219c85d dt-bindings: soc: qcom: smd-rpm: Fix missing MSM8936 compatible
    93dfb9c6deeb dt-bindings: soc: qcom: smd-rpm: Add compatible for MSM8953 SoC
    8371666ef44c rxrpc: Fix locking issue
    d74b09b933b9 irqchip/gic-v3: Refactor ISB + EOIR at ack time
    b82dfacba576 irqchip/gic-v3: Ensure pseudo-NMIs have an ISB between ack and handling
    51ebf1b6a077 io_uring: avoid io-wq -EAGAIN looping for !IOPOLL
    b3cec8a42fcd Bluetooth: btmtksdio: fix use-after-free at btmtksdio_recv_event
    5781bb8a3191 Bluetooth: protect le accept and resolv lists with hdev->lock
    8a2dbdeccef6 drm/mediatek: Add vblank register/unregister callback functions
    2c4396693698 drm/mediatek: Add cmdq_handle in mtk_crtc
    d3f153557045 drm/mediatek: Detect CMDQ execution timeout
    6f77386ddb1c drm/mediatek: Remove the pointer of struct cmdq_client
    d953c679022c drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb
    51a405dea0ae drm/i915: Fix a race between vma / object destruction and unbinding
    7a9e13b86536 drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems
    0a9a60dcedaa drm/amd: Refactor `amdgpu_aspm` to be evaluated per device
    00fa5cbbb6a7 tty: n_gsm: fix invalid gsmtty_write_room() result
    156f2c2378e1 serial: 8250_mtk: Make sure to select the right FEATURE_SEL
    e58094e2b516 tty: n_gsm: fix sometimes uninitialized warning in gsm_dlci_modem_output()
    b952aa508786 tty: n_gsm: fix invalid use of MSC in advanced option
    62d1655b9229 mm/hwpoison: fix race between hugetlb free/demotion and memory_failure_hugetlb()
    5429eb5502fc mm/memory-failure.c: fix race with changing page compound again
    7a07875fabcc mm/hwpoison: avoid the impact of hwpoison_filter() return value on mce handler
    d04b62b64056 mm/hwpoison: mf_mutex for soft offline and unpoison
    a0f4fd486896 KVM: Initialize debugfs_dentry when a VM is created to avoid NULL deref
    70e2e87ea878 btrfs: zoned: use dedicated lock for data relocation
    1519e6e28478 btrfs: zoned: encapsulate inode locking for zoned relocation
    920e849b7d23 tty: n_gsm: fix missing update of modem controls after DLCI open
    4db0a8dd9067 ALSA: usb-audio: add mapping for MSI MAG X570S Torpedo MAX.
    a7fe6934ce7c ALSA: usb-audio: add mapping for MSI MPG X570S Carbon Max Wifi.
    6dcf1e5581b4 tty: n_gsm: fix frame reception handling
    375dfcfca4a1 tty: n_gsm: Save dlci address open status when config requester
    88a4fb1346b3 tty: n_gsm: Modify CR,PF bit when config requester
    e73c0eaf7f35 KVM: Don't create VM debugfs files outside of the VM directory
    f3647c369c17 drm/amd/vcn: fix an error msg on vcn 3.0
    a976456c797c ASoC: rt5682: fix an incorrect NULL check on list iterator
    c0058893a4a9 ASoC: rt5682: move clk related code to rt5682_i2c_probe
    121af0231f82 uapi/linux/stddef.h: Add include guards
    1d9bd723e7b4 stddef: Introduce DECLARE_FLEX_ARRAY() helper
    c2f3dab1ac54 bus: mhi: Fix pm_state conversion to string
    3f6d5cb0a5e5 bus: mhi: core: Use correctly sized arguments for bit field
    170a08ad3d1a serial: sc16is7xx: Clear RS485 bits in the shutdown
    5dce84f475d1 powerpc/tm: Fix more userspace r13 corruption
    ed8a5d63a0da powerpc: flexible GPR range save/restore macros
    0a80e66a10af powerpc/32: Don't use lmw/stmw for saving/restoring non volatile regs
    b342feb49141 scsi: qla2xxx: Fix loss of NVMe namespaces after driver reload test
    31c60d15ccd1 KVM: s390x: fix SCK locking
    83772314e1e0 btrfs: don't access possibly stale fs_info data in device_list_add
    6784b694ecd8 KVM: use __vcalloc for very large allocations
    c33904fd1ef4 mm: vmalloc: introduce array allocation functions
    ff41804632e5 Compiler Attributes: add __alloc_size() for better bounds checking
    a1e69c36de17 mtd: spi-nor: Skip erase logic when SPI_NOR_NO_ERASE is set
    e65d78b12fbc batman-adv: Use netif_rx().
    4c0bb583a444 iio: accel: mma8452: use the correct logic to get mma8452_data
    ffd3e67f0dfb riscv/mm: Add XIP_FIXUP for riscv_pfn_base
    d6f1651ddf91 NFSD: COMMIT operations must not return NFS?ERR_INVAL
    c2a9881bc2ca NFSD: De-duplicate net_generic(nf->nf_net, nfsd_net_id)
    59bf2aca4b1c drm/amd/display: Fix by adding FPU protection for dcn30_internal_validate_bw
    f276634b12fa drm/amd/display: Set min dcfclk if pipe count is 0
    f799df4569c1 drbd: fix an invalid memory access caused by incorrect use of list iterator
    5bb1df0bfd46 drbd: Fix double free problem in drbd_create_device
    dbbcf21ad6a8 drbd: add error handling support for add_disk()
    72fa2ea3e0ab btrfs: remove device item and update super block in the same transaction
    f75534a71abf btrfs: use btrfs_get_dev_args_from_path in dev removal ioctls
    321a81835b4a btrfs: add a btrfs_get_dev_args_from_path helper
    5578b681fbf2 btrfs: handle device lookup with btrfs_dev_lookup_args
    09674bfd8054 vdpa/mlx5: Avoid processing works if workqueue was destroyed
    008e29d172ca gfs2: Fix gfs2_file_buffered_write endless loop workaround
    9b7eb92dac24 scsi: qla2xxx: Fix crash during module load unload test
    72806635ee63 scsi: qla2xxx: edif: Replace list_for_each_safe with list_for_each_entry_safe
    d4510119911c scsi: qla2xxx: Fix laggy FC remote port session recovery
    241afac69b96 scsi: qla2xxx: Move heartbeat handling from DPC thread to workqueue
    1e9d6854951a KVM: x86/mmu: Use common TDP MMU zap helper for MMU notifier unmap hook
    eabbe74e7de5 KVM: x86/mmu: Use yield-safe TDP MMU root iter in MMU notifier unmapping
    0855054fa889 clk: renesas: r9a07g044: Update multiplier and divider values for PLL2/3
    518bb9636712 cxl/port: Hold port reference until decoder release
    8b5ce83872b4 mt76: mt7921: do not always disable fw runtime-pm
    9d721a17505b mt76: mt76_connac: fix MCU_CE_CMD_SET_ROC definition error
    6512c3c39cb6 media: davinci: vpif: fix use-after-free on driver unbind
    2823225fbba0 media: omap3isp: Use struct_group() for memcpy() region
    d57ab893cdf8 stddef: Introduce struct_group() helper macro
    af9452dfdba4 block: fix rq-qos breakage from skipping rq_qos_done_bio()
    13141cceadd0 block: only mark bio as tracked if it really is tracked
    eb79d1353cd0 block: use bdev_get_queue() in bio.c
    df1ec53252d5 io_uring: ensure that fsnotify is always called
    5c82c94b0be7 virtio-blk: avoid preallocating big SGL for data
    32ac44b70e17 ibmvnic: Allow queueing resets during probe
    85996ef17952 ibmvnic: clear fop when retrying probe
    4fe1439ef2e0 ibmvnic: init init_done_rc earlier
    a29c71f3a4b1 s390/setup: preserve memory at OLDMEM_BASE and OLDMEM_SIZE
    06de5cf61538 s390/setup: use physical pointers for memblock_reserve()
    6ed826c949cf s390/boot: allocate amode31 section in decompressor
    aa1f19606558 netfilter: nft_payload: don't allow th access for fragments
    5445819e76a6 netfilter: nft_payload: support for inner header matching / mangling
    0d9bd7e6ac3a netfilter: nf_tables: convert pktinfo->tprot_set to flags field
    25ca15fed4bb ASoC: rt5682: Fix deadlock on resume
    f536e0df64b8 ASoC: rt5682: Re-detect the combo jack after resuming
    4b72179e53bd ASoC: rt5682: Avoid the unexpected IRQ event during going to suspend
    301ebfa578e3 net/mlx5e: TC, Reject rules with forward and drop actions
    6d1ac7f882da net/mlx5e: TC, Reject rules with drop and modify hdr action
    aa944fefb396 net/mlx5e: Split actions_match_supported() into a sub function
    f1c36a47a3b4 net/mlx5e: Check action fwd/drop flag exists also for nic flows
    910349170ac0 RISC-V: defconfigs: Set CONFIG_FB=y, for FB console
    49ae6abd617f riscv: defconfig: enable DRM_NOUVEAU
    feacd73fd8b2 bpf, arm64: Use emit_addr_mov_i64() for BPF_PSEUDO_FUNC
    d53c8fe9ee29 bpf: Stop caching subprog index in the bpf_pseudo_func insn
    d3688bfa5af4 mt76: mt7921: fix a possible race enabling/disabling runtime-pm
    281a194f5a67 mt76: mt7921: introduce mt7921_mcu_set_beacon_filter utility routine
    09aee8375b0c mt76: mt7921: get rid of mt7921_mac_set_beacon_filter
    9846b9e4bba7 platform/x86: wmi: Fix driver->notify() vs ->probe() race
    4b5356231989 platform/x86: wmi: Replace read_takes_no_args with a flags field
    789382ce7359 platform/x86: wmi: introduce helper to convert driver to WMI driver
    a9a101842420 qed: Improve the stack space of filter_config()
    8a29aec244ae ath11k: add hw_param for wakeup_mhi
    16b7cb2803bf memory: renesas-rpc-if: Avoid unaligned bus access for HyperFlash
    a4ac45aff8d3 media: ir_toy: prevent device from hanging during transmit
    e1716b0ff925 PCI: pciehp: Ignore Link Down/Up caused by error-induced Hot Reset
    006d00d826fb PCI/portdrv: Rename pm_iter() to pcie_port_device_iter()
    b33035945b0a drm/i915: Replace the unconditional clflush with drm_clflush_virt_range()
    9cf3a1c1288e drm/i915/gt: Register the migrate contexts with their engines
    d839d15b5074 drm/i915: Disable bonding on gen12+ platforms
    70fc07e30817 btrfs: fix deadlock between chunk allocation and chunk btree modifications
    3fb11d13220d dma-buf/poll: Get a file reference for outstanding fence callbacks
    140395211626 Input: goodix - try not to touch the reset-pin on x86/ACPI devices
    8422a9b306f1 Input: goodix - refactor reset handling
    f5b1c6d526d8 Input: goodix - add a goodix.h header file
    1354ceb1b6bf Input: goodix - change goodix_i2c_write() len parameter type to int
    8d1d6b29baa9 Input: cpcap-pwrbutton - handle errors from platform_get_irq()
    48f8f198a2ab btrfs: fix warning when freeing leaf after subvolume creation failure
    9bc53f5a3932 btrfs: fix invalid delayed ref after subvolume creation failure
    661820504717 btrfs: add additional parameters to btrfs_init_tree_ref/btrfs_init_data_ref
    bb5c24715501 btrfs: rename btrfs_alloc_chunk to btrfs_create_chunk
    c1784d207513 netfilter: nf_tables: stricter validation of element data
    5ccecafc728b netfilter: nft_set_pipapo: release elements in clone from abort path
    75e9009edabc net: rose: fix UAF bug caused by rose_t0timer_expiry
    db89582ff330 usbnet: fix memory leak in error case
    a7de8d436db9 bpf: Fix insufficient bounds propagation from adjust_scalar_min_max_vals
    a703cbdd791b bpf: Fix incorrect verifier simulation around jmp32's jeq/jne
    f7c9b38cc5a2 can: mcp251xfd: mcp251xfd_regmap_crc_read(): update workaround broken CRC on TBC register
    0cab3fb917c5 can: mcp251xfd: mcp251xfd_regmap_crc_read(): improve workaround handling for mcp2517fd
    c7333f798884 can: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits
    f4d90e9c95d4 can: m_can: m_can_chip_config(): actually enable internal timestamping
    0e60230bc643 can: gs_usb: gs_usb_open/close(): fix memory leak
    8cfa1a33b0fb can: grcan: grcan_probe(): remove extra of_node_get()
    f34f2a18e47b can: bcm: use call_rcu() instead of costly synchronize_rcu()
    51aab37a66a2 ALSA: cs46xx: Fix missing snd_card_free() call at probe error
    f768f3ca5f38 ALSA: hda/realtek: Add quirk for Clevo L140PU
    f62c53c6e70d ALSA: usb-audio: Workarounds for Behringer UMC 204/404 HD
    e63b94b8dd5f Revert "selftests/bpf: Add test for bpf_timer overwriting crash"
    066a5b678472 mm/filemap: fix UAF in find_lock_entries
    0515cc9b6b24 mm/slub: add missing TID updates on slab deactivation
    eb18ccd14633 Linux 5.15.53
    6b316eedff44 hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails
    8848842f0a9b hwmon: (occ) Prevent power cap command overwriting poll response
    38920480329f hwmon: (occ) Remove sequence numbering and checksum calculation
    5b458d3de9cf drm/fourcc: fix integer type usage in uapi header
    f2def2643350 platform/x86: panasonic-laptop: filter out duplicate volume up/down/mute keypresses
    b9b7a115dfd1 platform/x86: panasonic-laptop: don't report duplicate brightness key-presses
    6201123ca5bc platform/x86: panasonic-laptop: revert "Resolve hotkey double trigger bug"
    484e10843a74 platform/x86: panasonic-laptop: sort includes alphabetically
    b619348d9d69 platform/x86: panasonic-laptop: de-obfuscate button codes
    8547315c1377 drivers: cpufreq: Add missing of_node_put() in qoriq-cpufreq.c
    68aa6f13dc43 drm/msm/gem: Fix error return on fence id alloc fail
    a13ea254268c drm/i915/gem: add missing else
    4dc036ddf4bf net: fix IFF_TX_SKB_NO_LINEAR definition
    25daf14eacd1 fsi: occ: Force sequence numbering per OCC
    8169198652b9 clocksource/drivers/ixp4xx: remove EXPORT_SYMBOL_GPL from ixp4xx_timer_setup()
    74acf9cc87c7 net: usb: qmi_wwan: add Telit 0x1070 composition
    9f83c8f6ab14 xen/arm: Fix race in RB-tree based P2M accounting
    1052fc2b7391 xen-netfront: restore __skb_queue_tail() positioning in xennet_get_responses()
    6d0a9127279a xen/blkfront: force data bouncing when backend is untrusted
    ed3cfc690675 xen/netfront: force data bouncing when backend is untrusted
    5dd0993c3683 xen/netfront: fix leaking data in shared pages
    7ed65a4ad8fa xen/blkfront: fix leaking data in shared pages
    472863c7b523 selftests/rseq: Change type of rseq_offset to ptrdiff_t
    df2e933a5348 selftests/rseq: x86-32: use %gs segment selector for accessing rseq thread area
    f5a656b4ab48 selftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area
    4633aa6fadc6 selftests/rseq: Fix: work-around asm goto compiler bugs
    786bd3511934 selftests/rseq: Remove arm/mips asm goto compiler work-around
    33307f2afd85 selftests/rseq: Fix warnings about #if checks of undefined tokens
    21199d90428e selftests/rseq: Fix ppc32 offsets by using long rather than off_t
    56cbd6e40e41 selftests/rseq: Fix ppc32 missing instruction selection "u" and "x" for load/store
    1969c5eff964 selftests/rseq: Fix ppc32: wrong rseq_cs 32-bit field pointer on big endian
    b9a8ebe29636 selftests/rseq: Uplift rseq selftests for compatibility with glibc-2.35
    e49d1c413d28 selftests/rseq: Introduce thread pointer getters
    d471088d078b selftests/rseq: Introduce rseq_get_abi() helper
    c9a96b4231c3 selftests/rseq: Remove volatile from __rseq_abi
    3c35d9cbd99b selftests/rseq: Remove useless assignment to cpu variable
    94a913fe6271 selftests/rseq: introduce own copy of rseq uapi header
    58f64962a697 selftests/rseq: remove ARRAY_SIZE define from individual tests
    34ec62bc44b0 selftests/bpf: Add test_verifier support to fixup kfunc call insns
    e11cdd74519e tcp: add a missing nf_reset_ct() in 3WHS handling
    010d7c422296 MAINTAINERS: add Leah as xfs maintainer for 5.15.y
    c28f95515503 net: tun: avoid disabling NAPI twice
    9db9e649f88f mlxsw: spectrum_router: Fix rollback in tunnel next hop init
    2930ee1a166d ipv6: fix lockdep splat in in6_dump_addrs()
    d6371303b4db ipv6/sit: fix ipip6_tunnel_get_prl return value
    674a641e5b67 tunnels: do not assume mac header is set in skb_tunnel_check_pmtu()
    b43a47c1c5c7 ACPI: video: Change how we determine if brightness key-presses are handled
    50fefe57f45e io_uring: ensure that send/sendmsg and recv/recvmsg check sqe->ioprio
    c8fb40fd7bb7 epic100: fix use after free on rmmod
    35fcb2ba35b4 tipc: move bc link creation back to tipc_node_create
    eaf7e6fe4b07 NFC: nxp-nci: Don't issue a zero length i2c_master_read()
    d13a5b86e284 nfc: nfcmrvl: Fix irq_of_parse_and_map() return value
    89296ac435e2 powerpc/memhotplug: Add add_pages override for PPC
    ef0af7d08d26 net: bonding: fix use-after-free after 802.3ad slave unbind
    7227bc7bd103 net: phy: ax88772a: fix lost pause advertisement configuration
    0d139145cc0f net: bonding: fix possible NULL deref in rlb code
    efafb28ff39f net: asix: fix "can't send until first packet is send" issue
    ed303cc7aab9 net/sched: act_api: Notify user space if any actions were flushed before error
    1d776f085006 net/dsa/hirschmann: Add missing of_node_get() in hellcreek_led_setup()
    031561caa38a netfilter: nft_dynset: restore set element counter when failing to update
    a6c5c65f4c37 s390: remove unneeded 'select BUILD_BIN2C'
    10f88306f9f3 vdpa/mlx5: Update Control VQ callback information
    01121e39ef53 PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
    7cf7ed8f23c4 caif_virtio: fix race between virtio_device_ready() and ndo_open()
    4d5055873e24 vfs: fix copy_file_range() regression in cross-fs copies
    115d94191691 NFSD: restore EINVAL error translation in nfsd_commit()
    c9f8f94d3ca9 net: ipv6: unexport __init-annotated seg6_hmac_net_init()
    0b842b9e84cd selftests: mptcp: more stable diag tests
    536d2a6a4fd6 usbnet: fix memory allocation in helpers
    f7eaa228b0fa net: usb: asix: do not force pause frames support
    0b6e0eb5c45e linux/dim: Fix divide by 0 in RDMA DIM
    889000874c12 RDMA/cm: Fix memory leak in ib_cm_insert_listen
    732e73bd81c7 RDMA/qedr: Fix reporting QP timeout attribute
    c16404122a7c net: dp83822: disable rx error interrupt
    7191cecb99b2 net: dp83822: disable false carrier interrupt
    92e4f3ee5831 net: tun: stop NAPI when detaching queues
    8145f77d38de net: tun: unlink NAPI from device on destruction
    1e2327ba0fe9 net: dsa: bcm_sf2: force pause link settings
    cc38c1eaa2e0 selftests/net: pass ipv6_args to udpgso_bench's IPv6 TCP test
    4db9730360ab virtio-net: fix race between ndo_open() and virtio_device_ready()
    aa0806efb8f0 net: usb: ax88179_178a: Fix packet receiving
    659d39545260 net: rose: fix UAF bugs caused by timer handler
    6437d3deee28 SUNRPC: Fix READ_PLUS crasher
    0222575395bd s390/archrandom: simplify back to earlier design and initialize earlier
    d5b06039b195 dm raid: fix KASAN warning in raid5_add_disks
    6352b2f4d8e9 dm raid: fix accesses beyond end of raid member array
    bdb4d98d6d95 powerpc/bpf: Fix use of user_pt_regs in uapi
    e646baf1a4fd powerpc/book3e: Fix PUD allocation size in map_kernel_page()
    0c1d781d6b08 powerpc/prom_init: Fix kernel config grep
    be74e588f1a5 nvdimm: Fix badblocks clear off-by-one error
    526b53192d09 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA IM2P33F8ABR1
    58caf60ce217 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG SX6000LNP (AKA SPECTRIX S40G)
    25fab798784b net: phy: Don't trigger state machine while in suspend
    159f2454ab12 ipv6: take care of disable_policy when restoring routes
    e33f5b581574 ksmbd: use vfs_llseek instead of dereferencing NULL
    9d48194d3e49 ksmbd: check invalid FileOffset and BeyondFinalZero in FSCTL_ZERO_DATA
    6791b57284f5 ksmbd: set the range of bytes to zero without extending file size in FSCTL_ZERO_DATA
    31c371b61d13 drm/amdgpu: To flush tlb for MMHUB of RAVEN series
    990132bebcc8 Revert "drm/amdgpu/display: set vblank_disable_immediate for DC"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-runtime: Fix build when using gold
Richard Purdie [Wed, 13 Jul 2022 22:12:06 +0000 (23:12 +0100)] 
gcc-runtime: Fix build when using gold

If gold is enabled as the default linker, it errors trying to link
to our dummy library empty file and this turns off things which should
be present in libstdc++.

For example, _GLIBCXX_HAVE_S_ISREG isn't defined and HAVE_S_ISREG in
libstdc++-v3/config.h isn't set properly.

Instead of just creating an empty file, create an empty elf binary
instead which addresses the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: fix buildpaths issue with gen-mach-types
Bruce Ashfield [Wed, 13 Jul 2022 18:33:23 +0000 (14:33 -0400)] 
linux-yocto/5.15: fix buildpaths issue with gen-mach-types

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

    6c085baf1838 tools: use basename to identify file in gen-mach-types

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: fix buildpaths issue with gen-mach-types
Bruce Ashfield [Wed, 13 Jul 2022 18:33:22 +0000 (14:33 -0400)] 
linux-yocto/5.10: fix buildpaths issue with gen-mach-types

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

    80f5207b5abd tools: use basename to identify file in gen-mach-types

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hatchling: remove PEP517_BUILD_API
Ross Burton [Wed, 13 Jul 2022 16:28:20 +0000 (17:28 +0100)] 
python3-hatchling: remove PEP517_BUILD_API

Now that we're using picobuild, hatchling can bootstrap itself.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses: remove obsolete PEP517_BUILD_API
Ross Burton [Wed, 13 Jul 2022 16:28:19 +0000 (17:28 +0100)] 
classes: remove obsolete PEP517_BUILD_API

This variable is no longer used, so remove it from the python_* classes.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython_pep517: use picobuild instead of manually calling the API
Ross Burton [Wed, 13 Jul 2022 16:28:18 +0000 (17:28 +0100)] 
python_pep517: use picobuild instead of manually calling the API

Calling the PEP-517 API directly mostly works, but sometimes doesn't.
For example we don't verify build dependencies, which led to the cbor2
ugprade silently failing to actually package anything.

The standard frontend is pypa/build, but for source-based distributions
that can be annoying to build as it depends on the following packages:

- tomli
- pep517
- packaging
- pyparsing

Manually bootstrapping those recipes is possible, but tedious.

Picobuild is another frontend (written by myself) which is designed
explicitly to be used programatically by source-based distributions: it
doesn't support builds inside virtual environments as we're building
distribution packages, and it vendors the dependencies for bootstrapping
if they're not available.

Over time more packages are expected to move to using Flit to build
which makes the bootstrapping process slightly easier, and tomli will be
integrated into Python 3.11, so it's possible that in the future we
drop picobuild and switch to build.

This change means the PEP517_BUILD_API variable is obsolete, so remove
it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-picobuild: add new recipe
Ross Burton [Wed, 13 Jul 2022 16:28:17 +0000 (17:28 +0100)] 
python3-picobuild: add new recipe

Picobuild is a pico-scale Python PEP517 build frontend, designed to have
minimal dependencies (via vendoring) to be well suited for building
source-based distributions, such as OpenEmbedded.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-installer: bootstrap by installing installer with installer
Ross Burton [Wed, 13 Jul 2022 16:28:16 +0000 (17:28 +0100)] 
python3-installer: bootstrap by installing installer with installer

The installer can install itself by simply adding src/ to PYTHONPATH.

As this previously used unzip, we need to disable bytecode as otherwise
the newly packaged .pyc files conflict with the any generated .pyc files
in the sysroot.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-flit-core: bootstrap explicitly
Ross Burton [Wed, 13 Jul 2022 16:28:15 +0000 (17:28 +0100)] 
python3-flit-core: bootstrap explicitly

Add a method to python_flit_core.bbclass that does a manual build with
flit explicitly, and use that to bootstrap python3-flit-core-native which
can build itself.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools-scm: add missing python3-typing-extensions dependency
Ross Burton [Wed, 13 Jul 2022 16:28:14 +0000 (17:28 +0100)] 
python3-setuptools-scm: add missing python3-typing-extensions dependency

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooe-selftest: devtool: test modify git recipe building from a subdir
Paul Eggleton [Wed, 13 Jul 2022 01:41:25 +0000 (18:41 -0700)] 
oe-selftest: devtool: test modify git recipe building from a subdir

Add a test that verifies that devtool modify + devtool finish do the
right thing on a recipe that fetches from git and sets S to point to
a subdirectory of the source tree. We have a few examples among the core
recipes, dos2unix is a convenient one so let's use that. (The test first
verifies that that is still true in case the recipe is changed in
future.)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevtool: finish: handle patching when S points to subdir of a git repo
Paul Eggleton [Wed, 13 Jul 2022 01:41:24 +0000 (18:41 -0700)] 
devtool: finish: handle patching when S points to subdir of a git repo

If devtool finish needs to create a patch and have it applied to the
sources for a recipe where S points to a subdirectory of the sources,
then the patch needs to be applied at the root of the repo i.e. we need
to add a patchdir= parameter to the SRC_URI entry.

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopatch: handle if S points to a subdirectory of a git repo
Paul Eggleton [Wed, 13 Jul 2022 01:41:23 +0000 (18:41 -0700)] 
patch: handle if S points to a subdirectory of a git repo

If PATCHTOOL = "git", SRC_URI fetches from a git repo and S points to
a subdirectory of the checked out sources, then we were erroneously
initialising the subdirectory as its own git repo. Check if the returned
top-level repo directory is a subdirectory of WORKDIR and do not
run initialise the source directory if that is the case.

(This was a regression introduced with OE-Core revision
6184b56a7a0fc6f5d19fdfb81e7453667f7da940, however we didn't have a test
that verified the behaviour.)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoruby: add PACKAGECONFIG for capstone
Steve Sakoman [Thu, 14 Jul 2022 04:35:21 +0000 (18:35 -1000)] 
ruby: add PACKAGECONFIG for capstone

Autobuilder workers were non-deterministically enabling capstone
depending on whether the worker had libcapstone installed.

Add PACKAGECONFIG for capstone with default off, since ruby does not
require capstone support.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: Add PACKAGECONFIG for brlapi
Richard Purdie [Wed, 13 Jul 2022 22:04:33 +0000 (23:04 +0100)] 
qemu: Add PACKAGECONFIG for brlapi

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: Fix slirp determinism issue
Richard Purdie [Wed, 13 Jul 2022 10:45:06 +0000 (11:45 +0100)] 
qemu: Fix slirp determinism issue

Add a PACKAGECONFIG option for slirp, defaulting to internal. This avoids
the presence of libslirp on the host causing qemu to link against that
instead breaking reproducibility and usability of the binary on hosts
where the library isn't present.

We need to add it to PACKAGECONFIG by default since users do expect slirp
to be enabled in the wider community.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: Avoid accidental libvdeplug linkage
Steve Sakoman [Tue, 12 Jul 2022 21:18:30 +0000 (11:18 -1000)] 
qemu: Avoid accidental libvdeplug linkage

Avoid accidentally linking to the vde library from the host by
adding a PACKAGECONFIG for the option.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: fix builds when host ld doesn't know about target ELF formats
Ross Burton [Tue, 12 Jul 2022 14:37:34 +0000 (15:37 +0100)] 
ltp: fix builds when host ld doesn't know about target ELF formats

The kvm tests use the host ld, which doesn't necessarily know about the
target ELF format.  It should be using the cross ld we built, so call
$(LD) instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogcc: Backport a fix for gcc bug 105039
pgowda [Mon, 11 Jul 2022 14:24:25 +0000 (19:54 +0530)] 
gcc: Backport a fix for gcc bug 105039

Backport a fix from:
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9234cdca6ee88badfc00297e72f13dac4e540c79

which fixes rust recursion issues in the demangler.

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: fix build_OID_registry/conmakehash buildpaths warning
Bruce Ashfield [Tue, 12 Jul 2022 14:38:11 +0000 (10:38 -0400)] 
linux-yocto/5.10: fix build_OID_registry/conmakehash buildpaths warning

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

    4d201ec392f1 vt/conmakehash: improve reproducibility
    ae24d013888f lib/build_OID_registry: fix reproducibility issues

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: not adjust script pathnames for native scripts either
Mingli Yu [Fri, 8 Jul 2022 08:00:08 +0000 (16:00 +0800)] 
vim: not adjust script pathnames for native scripts either

After the below commit introduced, the shebang size of native scripts
is also checked, so rework the patch to fix the gap.
377fe11bc0 insane.bbclass: Make do_qa_staging check shebangs

Fixes:
   ERROR: QA Issue: : /work/x86_64-linux/vim-native/9.0.0005-r0/sysroot-destdir/work/x86_64-linux/vim-native/9.0.0005-r0/recipe-sysroot-native/usr/share/vim/vim90/tools/mve.awk maximum shebang size exceeded, the maximum size is 128. [shebang-size]
   ERROR: QA Issue: : /work/x86_64-linux/vim-native/9.0.0005-r0/sysroot-destdir/work/x86_64-linux/vim-native/9.0.0005-r0/recipe-sysroot-native/usr/share/vim/vim90/tools/efm_perl.pl maximum shebang size exceeded, the maximum size is 128. [shebang-size]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodpkg: upgrade 1.21.8 -> 1.21.9
wangmy [Tue, 12 Jul 2022 08:37:03 +0000 (16:37 +0800)] 
dpkg: upgrade 1.21.8 -> 1.21.9

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils : stable 2.38 branch updates
Sundeep KOKKONDA [Tue, 12 Jul 2022 12:00:07 +0000 (05:00 -0700)] 
binutils : stable 2.38 branch updates

Below commits on binutils-2.38 development branch are updated.

e1ea1dafff6 x86: Properly handle IFUNC function pointer reference
ffc7aa903b9 AArch64: Enable FP16 by default for Armv9-A.

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: stable 2.35 branch updates
Sundeep KOKKONDA [Tue, 12 Jul 2022 11:56:44 +0000 (04:56 -0700)] 
glibc: stable 2.35 branch updates

Below commits on glibc-2.35 development branch are updated.

b6aade18a7 nss: handle stat failure in check_reload_and_get (BZ #28752)
ccac2d6d95 nss: add assert to DB_LOOKUP_FCT (BZ #28752)
9d8ae95604 nios2: Remove _dl_skip_args usage (BZ# 29187)
8468be8433 hppa: Remove _dl_skip_args usage (BZ# 29165)
99978cd42c NEWS: Add a bug fix entry for BZ #29225
97dd8b3f70 nptl: Fix __libc_cleanup_pop_restore asynchronous restore (BZ#29214)
0a1572b8bb powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197]
fe9ca732ac socket: Fix mistyped define statement in socket/sys/socket.h (BZ #29225)
d7d1eebd4d iconv: Use 64 bit stat for gconv_parseconfdir (BZ# 29213)
c5a75ecec8 catgets: Use 64 bit stat for __open_catalog (BZ# 29211)
e429695805 inet: Use 64 bit stat for ruserpass (BZ# 29210)
6ea3c0aba4 socket: Use 64 bit stat for isfdtype (BZ# 29209)
9bcf5b12f8 posix: Use 64 bit stat for fpathconf (_PC_ASYNC_IO) (BZ# 29208)
45e5d0f533 posix: Use 64 bit stat for posix_fallocate fallback (BZ# 29207)
37c94dc999 misc: Use 64 bit stat for getusershell (BZ# 29204)
cb49c14183 misc: Use 64 bit stat for daemon (BZ# 29203)
6abb4002df Fix deadlock when pthread_atfork handler calls pthread_atfork or dlclose
ac87df8d75 x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #29127]
478cd506ea string.h: fix __fortified_attr_access macro call [BZ #29162]
2b128a7d30 linux: Add a getauxval test [BZ #23293]
f5f7144dfc rtld: Use generic argv adjustment in ld.so [BZ #23293]
04892c543e S390: Enable static PIE
72d9dcfd16 csu: Implement and use _dl_early_allocate during static startup
b5ddf33c6e Linux: Introduce __brk_call for invoking the brk system call
2d05ba7f8e Linux: Implement a useful version of _startup_fatal
55ee3afa0d ia64: Always define IA64_USE_NEW_STUB as a flag macro
d66cca3fbb Linux: Define MMAP_CALL_INTERNAL
a7b122a7b4 i386: Honor I386_USE_SYSENTER for 6-argument Linux system calls
d1772c9376 i386: Remove OPTIMIZE_FOR_GCC_5 from Linux libc-do-syscall.S
58bb3aeaae elf: Remove __libc_init_secure
0a5c6c9d99 Linux: Consolidate auxiliary vector parsing (redo)
76304dfdaf Linux: Include <dl-auxv.h> in dl-sysdep.c only for SHARED
788eb21ff0 Revert "Linux: Consolidate auxiliary vector parsing"
150039ff07 Linux: Consolidate auxiliary vector parsing
3948c6ca89 Linux: Assume that NEED_DL_SYSINFO_DSO is always defined
29f833f5ab Linux: Remove DL_FIND_ARG_COMPONENTS
1695c5e0f6 Linux: Remove HAVE_AUX_SECURE, HAVE_AUX_XID, HAVE_AUX_PAGESIZE
756d583c9e elf: Merge dl-sysdep.c into the Linux version
2c4fc8e5ca x86: Optimize {str|wcs}rchr-evex
fdbc8439ac x86: Optimize {str|wcs}rchr-avx2
b05c0c8b28 x86: Optimize {str|wcs}rchr-sse2
bc35e22be4 x86-64: Fix SSE2 memcmp and SSSE3 memmove for x32
4d1841deb7 x86: Fix missing __wmemcmp def for disable-multiarch build
cee9939f67 x86: Cleanup page cross code in memcmp-avx2-movbe.S
0909286ffa x86: Remove memcmp-sse4.S
5a8df6485c x86: Optimize memcmp SSE2 in memcmp.S
af0865571a x86: Small improvements for wcslen
3b710e32d8 x86: Remove AVX str{n}casecmp
fc5d42bf82 x86: Add EVEX optimized str{n}casecmp
33fcf8344f x86: Add AVX2 optimized str{n}casecmp
3496d64d69 x86: Optimize str{n}casecmp TOLOWER logic in strcmp-sse42.S
283982b362 x86: Optimize str{n}casecmp TOLOWER logic in strcmp.S
420cd6f155 x86: Remove strspn-sse2.S and use the generic implementation
4b61d76521 x86: Remove strpbrk-sse2.S and use the generic implementation
2fef1961a7 x86: Remove strcspn-sse2.S and use the generic implementation
1ed2813eb1 x86: Optimize strspn in strspn-c.c
3214c878f2 x86: Optimize strcspn and strpbrk in strcspn-c.c
ff9772ac19 x86: Code cleanup in strchr-evex and comment justifying branch
424bbd4d25 x86: Code cleanup in strchr-avx2 and comment justifying branch
0a10b8b181 x86_64: Remove bcopy optimizations
f0a53588da x86-64: Define __memcmpeq in ld.so
a133623048 x86-64: Remove bzero weak alias in SS2 memset
18baf86f51 x86_64/multiarch: Sort sysdep_routines and put one entry per line
d422197a69 x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ))
58947e1fa5 fortify: Ensure that __glibc_fortify condition is a constant [BZ #29141]
28ea43f8d6 dlfcn: Implement the RTLD_DI_PHDR request type for dlinfo
78f82ab4ef manual: Document the dlinfo function
bbb017a2bb NEWS: Add a bug fix entry for BZ #29109
5c0d94d780 linux: Fix posix_spawn return code if clone fails (BZ#29109)
059e36d9ed x86: Fix fallback for wcsncmp_avx2 in strcmp-avx2.S [BZ #28896]
676f7bcf11 x86: Fix bug in strncmp-evex and strncmp-avx2 [BZ #28895]
c394d7e11a x86: Set .text section in memset-vec-unaligned-erms
de0cd691b2 x86-64: Optimize bzero
0bf9c8b5fe x86: Remove SSSE3 instruction for broadcast in memset.S (SSE2 Only)
58596411ad x86: Improve vec generation in memset-vec-unaligned-erms.S
36766c02af x86-64: Fix strcmp-evex.S
250e277797 x86-64: Fix strcmp-avx2.S
34ef810945 x86: Optimize strcmp-evex.S
b68e782f8e x86: Optimize strcmp-avx2.S
ec5b79aac7 manual: Clarify that abbreviations of long options are allowed
0bcba53020 Add HWCAP2_AFP, HWCAP2_RPRES from Linux 5.17 to AArch64 bits/hwcap.h
95759abbf3 Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h
eed29011f9 Update kernel version to 5.17 in tst-mman-consts.py
e72c363a15 Update kernel version to 5.16 in tst-mman-consts.py
edc06fdd62 Update syscall lists for Linux 5.17
dde291ab53 posix/glob.c: update from gnulib
7d96aa2d7d linux: Fix fchmodat with AT_SYMLINK_NOFOLLOW for 64 bit time_t (BZ#29097)
14b1e32a4d i386: Regenerate ulps
ef87599348 linux: Fix missing internal 64 bit time_t stat usage
10fe3cd309 elf: Fix DFS sorting algorithm for LD_TRACE_LOADED_OBJECTS with missing libraries (BZ #28868)
cb4d670d8f scripts/glibcelf.py: Mark as UNSUPPORTED on Python 3.5 and earlier
106b7e0e45 dlfcn: Do not use rtld_active () to determine ld.so state (bug 29078)
e5cf8ccca6 INSTALL: Rephrase -with-default-link documentation
c8ee1c85c0 misc: Fix rare fortify crash on wchar funcs. [BZ 29030]

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinit-system-helpers: upgrade 1.63 -> 1.64
wangmy [Tue, 12 Jul 2022 07:48:08 +0000 (15:48 +0800)] 
init-system-helpers: upgrade 1.63 -> 1.64

License-Update: year updated to 2022

Changelog:
=========
  * Team upload.
  * d-s-h: break infinite recursion on symlinks. (Closes: #1014119)
  * Bump Standards-Version to 4.6.1, no changes
  * Update date ranges in d/copyright

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-urllib3: upgrade 1.26.9 -> 1.26.10
wangmy [Tue, 12 Jul 2022 07:48:07 +0000 (15:48 +0800)] 
python3-urllib3: upgrade 1.26.9 -> 1.26.10

Add dependence python3-logging.

Changelog:
=========
* Removed support for Python 3.5
* Fixed an issue where a "ProxyError" recommending configuring the proxy as HTTP
  instead of HTTPS could appear even when an HTTPS proxy wasn't configured.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-typing-extensions: upgrade 4.2.0 -> 4.3.0
wangmy [Tue, 12 Jul 2022 07:48:06 +0000 (15:48 +0800)] 
python3-typing-extensions: upgrade 4.2.0 -> 4.3.0

Changelog:
=========
- Add typing_extensions.NamedTuple, allowing for generic NamedTuples on Python <3.11
- Adjust typing_extensions.TypedDict to allow for generic TypedDicts on Python <3.11

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-numpy: upgrade 1.23.0 -> 1.23.1
wangmy [Tue, 12 Jul 2022 07:48:05 +0000 (15:48 +0800)] 
python3-numpy: upgrade 1.23.0 -> 1.23.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocurl: Fix build failure for qemuriscv64
He Zhe [Tue, 12 Jul 2022 07:47:57 +0000 (15:47 +0800)] 
curl: Fix build failure for qemuriscv64

Backport a patch from upstream to fix the following build failure.

tmp-glibc/work/riscv64-wrs-linux/curl/7.84.0-r0/recipe-sysroot-native/
usr/bin/riscv64-wrs-linux/../../libexec/riscv64-wrs-linux/gcc/
riscv64-wrs-linux/12.1.0/ld: ../lib/.libs/libcurl.so:
undefined reference to `__atomic_exchange_1'
collect2: error: ld returned 1 exit status

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-jsonschema: upgrade 4.6.1 -> 4.7.1
wangmy [Tue, 12 Jul 2022 07:44:59 +0000 (15:44 +0800)] 
python3-jsonschema: upgrade 4.6.1 -> 4.7.1

Minor tweak of the PyPI hyperlink names

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-imagesize: upgrade 1.3.0 -> 1.4.1
wangmy [Tue, 12 Jul 2022 07:44:58 +0000 (15:44 +0800)] 
python3-imagesize: upgrade 1.3.0 -> 1.4.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hatchling: upgrade 1.3.1 -> 1.5.0
wangmy [Tue, 12 Jul 2022 07:44:57 +0000 (15:44 +0800)] 
python3-hatchling: upgrade 1.3.1 -> 1.5.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cryptography-vectors: upgrade 37.0.3 -> 37.0.4
wangmy [Tue, 12 Jul 2022 07:41:45 +0000 (15:41 +0800)] 
python3-cryptography-vectors: upgrade 37.0.3 -> 37.0.4

Changelog:
==========
Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.5.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cryptography: upgrade 37.0.3 -> 37.0.4
wangmy [Tue, 12 Jul 2022 07:41:44 +0000 (15:41 +0800)] 
python3-cryptography: upgrade 37.0.3 -> 37.0.4

Changelog:
==========
Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.5.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-atomicwrites: upgrade 1.4.0 -> 1.4.1
wangmy [Tue, 12 Jul 2022 07:41:43 +0000 (15:41 +0800)] 
python3-atomicwrites: upgrade 1.4.0 -> 1.4.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinetutils: upgrade 2.2 -> 2.3
wangmy [Tue, 12 Jul 2022 07:41:42 +0000 (15:41 +0800)] 
inetutils: upgrade 2.2 -> 2.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognupg: upgrade to 2.3.7 to fix CVE-2022-34903
Yue Tao [Tue, 12 Jul 2022 06:42:30 +0000 (14:42 +0800)] 
gnupg: upgrade to 2.3.7 to fix CVE-2022-34903

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobin_package: install into base_prefix
Pascal Bach [Tue, 12 Jul 2022 09:24:39 +0000 (11:24 +0200)] 
bin_package: install into base_prefix

This makes the bin_package.bbclass work properly with the native class.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevtool: ignore pn- overrides when determining SRC_URI overrides
Paul Eggleton [Tue, 12 Jul 2022 04:06:56 +0000 (21:06 -0700)] 
devtool: ignore pn- overrides when determining SRC_URI overrides

If (perhaps foolishly) at your configuration level you have e.g.

  SRC_URI_append_pn-recipename = " file://patchname.patch"

and then run devtool modify on a different recipe, an error occurs:

  INFO: SRC_URI contains some conditional appends/prepends - will create branches to represent these
  ...
  ERROR: [Errno 2] No such file or directory: '/path/to/downloads/patchname.patch'

pn- overrides would not constitute an alternative configuration that we
should handle in this context, so just ignore them to avoid the issue.

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-arch: Fix buildpaths leaking into external module compiles
Richard Purdie [Tue, 12 Jul 2022 11:48:02 +0000 (12:48 +0100)] 
kernel-arch: Fix buildpaths leaking into external module compiles

Building external kernel modules like lttng-modules was showing build paths
inside the debug symbols for the modules and breaking build reproducibility.

Fix this by adding in the mapping needed to map the kernel build directory
to something more approriate on target.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoalsa-state: correct license
Peter Marko [Mon, 11 Jul 2022 13:45:04 +0000 (15:45 +0200)] 
alsa-state: correct license

* add GPL license because of alsa-state-init file
* gpl link points to gpl3, but at time of adding this file was actually
  pointing to gpl2, so should correspond to SPDX GPL-2.0-or-later
* remove date as the file was already changed several times since then

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: upgrade to 9.0.0021
Ross Burton [Mon, 11 Jul 2022 13:19:05 +0000 (14:19 +0100)] 
vim: upgrade to 9.0.0021

This fixes the following CVEs:
- CVE-2022-2257
- CVE-2022-2264
- CVE-2022-2284
- CVE-2022-2285
- CVE-2022-2286
- CVE-2022-2287

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperl: don't install Makefile.old into perl-ptest
Ross Burton [Mon, 11 Jul 2022 13:19:04 +0000 (14:19 +0100)] 
perl: don't install Makefile.old into perl-ptest

We already exclude Makefile, makefile, and makefile.old from copy of the
perl source tree that is used by perl-ptest, but Makefile.old is not
being excluded.  In a rebuild of perl with an existing source tree these
files now exist but have build paths in. As they're backup files, they
can just be excluded from the packages.

Use range globs to clean up the expressions, and exclude Makefile.old.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotiff: backport the fix for CVE-2022-2056, CVE-2022-2057, and CVE-2022-2058
Ross Burton [Mon, 11 Jul 2022 13:19:03 +0000 (14:19 +0100)] 
tiff: backport the fix for CVE-2022-2056, CVE-2022-2057, and CVE-2022-2058

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: fix build_OID_registry buildpaths warning
Bruce Ashfield [Mon, 11 Jul 2022 03:04:37 +0000 (23:04 -0400)] 
linux-yocto/5.15: fix build_OID_registry buildpaths warning

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

 Author: Bruce Ashfield <bruce.ashfield@gmail.com>
 Date:   Sun Jul 10 22:56:53 2022 -0400

    lib/build_OID_registry: fix reproducibility issues

    The script build_OID_registry captures the full path of itself
    in the generated data. This causes reproduciblity issues as the
    path is captured and packaged.

    We use the basename of the script instead, and that allows us
    to be reprodicible, with slightly less information captured in
    the output data (but the generating script can still easily
    be found).

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: fix qemuppc buildpaths warning
Bruce Ashfield [Mon, 11 Jul 2022 02:16:50 +0000 (22:16 -0400)] 
linux-yocto/5.15: fix qemuppc buildpaths warning

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

  Author: Bruce Ashfield <bruce.ashfield@gmail.com>
  Date:   Sun Jul 10 21:37:07 2022 -0400

    vt/conmakehash: improve reproducibility

    The file generated by conmakehash capture the application
    path used to generate the file. While that can be informative,
    it varies based on where the kernel was built, as the full
    path is captured.

    We tweak the application to use a second input as the "capture
    name", and then modify the Makefile to pass the basename of
    the source, making it reproducible.

    This could be improved by using some sort of path mapping,
    or the application manipualing argv[1] itself, but for now
    this solves the reprodicibility issue.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-devsrc: ppc32: fix reproducibility
Bruce Ashfield [Mon, 11 Jul 2022 02:11:02 +0000 (22:11 -0400)] 
kernel-devsrc: ppc32: fix reproducibility

In a similar manner to the arm/arm32 reprodicibility fixes,
we can also fix ppc32.

The file .vdso32-offsets.h.cmd has captured paths, but we don't
need it on target or SDKs to regenerate a build enviroment.

We add it to our vdso-offsets list of files to delete and we
no longer have files patckaged with buildpaths.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.128
Bruce Ashfield [Mon, 11 Jul 2022 02:25:42 +0000 (22:25 -0400)] 
linux-yocto/5.10: update to v5.10.128

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

    ea86c1430c83 Linux 5.10.128
    2d10984d99ac net: mscc: ocelot: allow unregistered IP multicast flooding
    6a656280e775 powerpc/ftrace: Remove ftrace init tramp once kernel init is complete
    6b734f7b7071 xfs: check sb_meta_uuid for dabuf buffer recovery
    071e750ffb3d xfs: remove all COW fork extents when remounting readonly
    1e76bd4c6722 xfs: Fix the free logic of state in xfs_attr_node_hasname
    0cdccc05da76 xfs: punch out data fork delalloc blocks on COW writeback failure
    db3f8110c3b0 xfs: use kmem_cache_free() for kmem_cache objects
    09c9902cd80a bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init()
    c4ff3ffe0138 tick/nohz: unexport __init-annotated tick_nohz_full_setup()
    069fff50d400 drm: remove drm_fb_helper_modinit
    52dc7f3f6fa1 MAINTAINERS: add Amir as xfs maintainer for 5.10.y
    deb587b1a48d Linux 5.10.127
    1cca46c20541 powerpc/pseries: wire up rng during setup_arch()
    95d73d510b8a kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS (2nd attempt)
    feb5ab798698 random: update comment from copy_to_user() -> copy_to_iter()
    959bbaf5b7a9 modpost: fix section mismatch check for exported init/exit sections
    c980392af147 ARM: cns3xxx: Fix refcount leak in cns3xxx_init
    889aad2203e0 memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings
    44a5b3a073e5 ARM: Fix refcount leak in axxia_boot_secondary
    30bbfeb480ae soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe
    68f28d52e6cb ARM: exynos: Fix refcount leak in exynos_map_pmu
    59fdf108144c ARM: dts: imx6qdl: correct PU regulator ramp delay
    fb70bd86751a ARM: dts: imx7: Move hsic_phy power domain to HSIC PHY node
    f78acc4288ed powerpc/powernv: wire up rng during setup_arch
    7db1ba660b07 powerpc/rtas: Allow ibm,platform-dump RTAS call with null buffer address
    1f5a9205a3be powerpc: Enable execve syscall exit tracepoint
    ca144919afd4 parisc: Enable ARCH_HAS_STRICT_MODULE_RWX
    a1c902349ad5 parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI
    af0ff2da0152 xtensa: Fix refcount leak bug in time.c
    6c0839cf1b9e xtensa: xtfpga: Fix refcount leak bug in setup
    501652a2ad54 iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client
    d40514d4403a iio: adc: axp288: Override TS pin bias current for some models
    d579c893dd6c iio: adc: stm32: Fix IRQs on STM32F4 by removing custom spurious IRQs message
    62284d45e26d iio: adc: stm32: Fix ADCs iteration in irq handler
    e3ebb9d16ce1 iio: imu: inv_icm42600: Fix broken icm42600 (chip id 0 value)
    3e0af68b99b8 iio: adc: stm32: fix maximum clock rate for stm32mp15x
    b07a30a774b3 iio: trigger: sysfs: fix use-after-free on remove
    399788e819a1 iio: gyro: mpu3050: Fix the error handling in mpu3050_power_up()
    c1ec7d52a218 iio: accel: mma8452: ignore the return value of reset operation
    42caf44906d6 iio:accel:mxc4005: rearrange iio trigger get and register
    e26dcf627971 iio:accel:bma180: rearrange iio trigger get and register
    f26379e19958 iio:chemical:ccs811: rearrange iio trigger get and register
    4b6cdcff7cb8 f2fs: attach inline_data after setting compression
    2d7bdb6a5a37 usb: chipidea: udc: check request status before setting device address
    656eca37aae1 USB: gadget: Fix double-free bug in raw_gadget driver
    54604108be64 usb: gadget: Fix non-unique driver names in raw-gadget driver
    d87dec22fdf5 xhci-pci: Allow host runtime PM as default for Intel Meteor Lake xHCI
    114080d04ae4 xhci-pci: Allow host runtime PM as default for Intel Raptor Lake xHCI
    b8142a84657e xhci: turn off port power in shutdown
    116c3e81b053 usb: typec: wcove: Drop wrong dependency to INTEL_SOC_PMIC
    a547662534ca iio: adc: vf610: fix conversion mode sysfs node name
    58c3a27e9c23 iio: mma8452: fix probe fail when device tree compatible is used.
    5ee016f6120a s390/cpumf: Handle events cycles and instructions identical
    abe487a88a5d gpio: winbond: Fix error code in winbond_gpio_get()
    30531e0d7b5d nvme: move the Samsung X5 quirk entry to the core quirks
    169f7d770552 nvme-pci: add NO APST quirk for Kioxia device
    938f594266a6 nvme-pci: allocate nvme_command within driver pdu
    ba388d4e9a68 nvme: don't check nvme_req flags for new req
    e7ccaa1abacf nvme: mark nvme_setup_passsthru() inline
    3ee62a1f0701 nvme: split nvme_alloc_request()
    fe06c692cd7e nvme: centralize setting the timeout in nvme_alloc_request
    afbc954e7896 Revert "net/tls: fix tls_sk_proto_close executed repeatedly"
    340fbdc8011f virtio_net: fix xdp_rxq_info bug after suspend/resume
    3bccf82169c5 igb: Make DMA faster when CPU is active on the PCIe link
    7d7450363fdf regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips
    40b3815b2c90 ice: ethtool: advertise 1000M speeds properly
    7b564e3254b7 afs: Fix dynamic root getattr
    3c22192db06e MIPS: Remove repetitive increase irq_err_count
    cc649a78654a x86/xen: Remove undefined behavior in setup_features()
    b60c375ad140 selftests: netfilter: correct PKTGEN_SCRIPT_PATHS in nft_concat_range.sh
    20119c1e0fff udmabuf: add back sanity check
    e82376b63247 net/tls: fix tls_sk_proto_close executed repeatedly
    cec9867ee554 erspan: do not assume transport header is always set
    acf76125bb2b drm/msm/dp: fix connect/disconnect handled at irq_hpd
    61f8f4034c04 drm/msm/dp: promote irq_hpd handle to handle link training correctly
    d11cb082151f drm/msm/dp: deinitialize mainlink if link training failed
    3d67cb00cbbb drm/msm/dp: fixes wrong connection state caused by failure of link train
    efb2b6916050 drm/msm/dp: check core_initialized before disable interrupts at dp_display_unbind()
    d16a4339825e drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
    363fd6e34618 net/sched: sch_netem: Fix arithmetic in netem_dump() for 32-bit platforms
    2e3216b929bb bonding: ARP monitor spams NETDEV_NOTIFY_PEERS notifiers
    c12a2c9b1b46 igb: fix a use-after-free issue in igb_clean_tx_ring
    361c5521c1e4 tipc: fix use-after-free Read in tipc_named_reinit
    f299d3fbe431 tipc: simplify the finalize work queue
    ab7f565ac705 phy: aquantia: Fix AN when higher speeds than 1G are not advertised
    a51c199e4d2b bpf, x86: Fix tail call count offset calculation on bpf2bpf call
    4ae116428e81 drm/sun4i: Fix crash during suspend after component bind failure
    516760f1d297 bpf: Fix request_sock leak in sk lookup helpers
    505a375eea11 drm/msm: use for_each_sgtable_sg to iterate over scatterlist
    10eb239e2935 scsi: scsi_debug: Fix zone transition to full condition
    15cc30ac2a8d netfilter: use get_random_u32 instead of prandom
    95f80c88436f netfilter: nftables: add nft_parse_register_store() and use it
    ec9b0a8d307e netfilter: nftables: add nft_parse_register_load() and use it
    8adedb4711dc drm/msm: Fix double pm_runtime_disable() call
    8682335375bd USB: serial: option: add Quectel RM500K module support
    9e6e063e548b USB: serial: option: add Quectel EM05-G modem
    0b3006a862fb USB: serial: option: add Telit LE910Cx 0x1250 composition
    f6a266e0dc6f dm mirror log: clear log bits up to BITS_PER_LONG boundary
    03d1874b8295 dm era: commit metadata in postsuspend after worker stops
    273106c2df43 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
    156427b3123c mtd: rawnand: gpmi: Fix setting busy timeout setting
    07e56884cd95 mmc: sdhci-pci-o2micro: Fix card detect by dealing with debouncing
    0ae82e1ccb66 btrfs: add error messages to all unrecognized mount options
    49e3e449bc4e net: openvswitch: fix parsing of nw_proto for IPv6 fragments
    1508658aec4e ALSA: hda/realtek: Add quirk for Clevo NS50PU
    6e8e5031592d ALSA: hda/realtek: Add quirk for Clevo PD70PNT
    80307458a1ee ALSA: hda/realtek: Apply fixup for Lenovo Yoga Duet 7 properly
    7fcbc89d4722 ALSA: hda/realtek - ALC897 headset MIC no sound
    f5ea433d56d4 ALSA: hda/realtek: Add mute LED quirk for HP Omen laptop
    64373290601f ALSA: hda/conexant: Fix missing beep setup
    12a6be5d11d0 ALSA: hda/via: Fix missing beep setup
    5e80f923b8dd random: quiet urandom warning ratelimit suppression message
    310ebbd9f5cd random: schedule mix_interrupt_randomness() less often
    3acb7dc242ca vt: drop old FONT ioctls
    9cae50bdfafa Linux 5.10.126
    fb2fbb3c10d7 io_uring: use separate list entry for iopoll requests
    6a7c3bcc3c2e Linux 5.10.125
    df3f3bb5059d io_uring: add missing item types for various requests
    1a264b3a6940 arm64: mm: Don't invalidate FROM_DEVICE buffers at start of DMA transfer
    a1508d164e58 serial: core: Initialize rs485 RTS polarity already on probe
    7ccb026ecb99 tcp: drop the hash_32() part from the index calculation
    9429b75bc271 tcp: increase source port perturb table to 2^16
    24b922a5da00 tcp: dynamically allocate the perturb table used by source ports
    d28e64b1c63e tcp: add small random increments to the source port
    dd46a868fcfd tcp: use different parts of the port_offset for index and offset
    743acb520799 tcp: add some entropy in __inet_hash_connect()
    16b1994679a0 usb: gadget: u_ether: fix regression in setting fixed MAC address
    355be6131164 zonefs: fix zonefs_iomap_begin() for reads
    ee4677b78eca s390/mm: use non-quiescing sske for KVM switch to keyed guest
    4f3fee72a74c Linux 5.10.124
    e0b6018894b8 clk: imx8mp: fix usb_root_clk parent
    a3e50506ea0d powerpc/book3e: get rid of #include <generated/compile.h>
    ff4443f3fc53 igc: Enable PCIe PTM
    f0a7adff635a Revert "PCI: Make pci_enable_ptm() private"
    e1513a714de6 net: openvswitch: fix misuse of the cached connection on tuple changes
    09b55dc90b4d net/sched: act_police: more accurate MTU policing
    73bc8a5e8e3a dma-direct: don't over-decrypt memory
    aa9a001efa9c virtio-pci: Remove wrong address verification in vp_del_vqs()
    be9864103408 ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machine
    401bef1f95de KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak
    d6be031a2f5e KVM: x86: Account a variety of miscellaneous allocations
    d74d7865e2a8 KVM: arm64: Don't read a HW interrupt pending state in user context
    bfd004a1d3a0 ext4: add reserved GDT blocks check
    0ca74dacfd47 ext4: make variable "count" signed
    6fdaf31ad5f3 ext4: fix bug_on ext4_mb_use_inode_pa
    e27430c1f1ed drm/amd/display: Cap OLED brightness per max frame-average luminance
    ba751f0d25f0 dm mirror log: round up region bitmap size to BITS_PER_LONG
    33ba36351eec serial: 8250: Store to lsr_save_flags after lsr read
    57901c658f77 usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
    a44a8a762f7f usb: dwc2: Fix memory leak in dwc2_hcd_init
    791da3e6c883 USB: serial: io_ti: add Agilent E5805A support
    0e13274bc642 USB: serial: option: add support for Cinterion MV31 with new baseline
    d721986e967b crypto: memneq - move into lib/
    308b8f31c069 comedi: vmk80xx: fix expression for tx buffer size
    9308be3d9a74 mei: me: add raptor lake point S DID
    9ea9c92275b3 i2c: designware: Use standard optional ref clock implementation
    506a88a5bf26 irqchip/gic-v3: Fix refcount leak in gic_populate_ppi_partitions
    7c9dd9d23f26 irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions
    e52a58b79f11 irqchip/gic/realview: Fix refcount leak in realview_gic_of_init
    716587a57a28 i2c: npcm7xx: Add check for platform_driver_register
    b559ef9dfc8f faddr2line: Fix overlapping text section failures, the sequel
    7fa28a7c3d74 block: Fix handling of offline queues in blk_mq_alloc_request_hctx()
    2d825fb53b9a certs/blacklist_hashes.c: fix const confusion in certs blacklist
    bc28fde90937 arm64: ftrace: consistently handle PLTs.
    e177f17fe46b arm64: ftrace: fix branch range checks
    64072389beb8 net: ax25: Fix deadlock caused by skb_recv_datagram in ax25_recvmsg
    28069e026e64 net: bgmac: Fix an erroneous kfree() in bgmac_remove()
    984793f25573 mlxsw: spectrum_cnt: Reorder counter pools
    b90ae84a8a9c nvme: add device name to warning in uuid_show()
    42f7cbe2c2c9 nvme: use sysfs_emit instead of sprintf
    63b26fe0252f drm/i915/reset: Fix error_state_read ptr + offset use
    2b2180449ae0 misc: atmel-ssc: Fix IRQ check in ssc_probe
    65ca4db68b68 tty: goldfish: Fix free_irq() on remove
    5334455067d5 Drivers: hv: vmbus: Release cpu lock in error case
    814092927a21 i40e: Fix call trace in setup_tx_descriptors
    43dfd1169cc0 i40e: Fix calculating the number of queue pairs
    ef4d73da0a5c i40e: Fix adding ADQ filter to TC0
    db965e2757d9 clocksource: hyper-v: unexport __init-annotated hv_init_clocksource()
    8acc3e228e1c pNFS: Avoid a live lock condition in pnfs_update_layout()
    03ea83324aa0 pNFS: Don't keep retrying if the server replied NFS4ERR_LAYOUTUNAVAILABLE
    4603a37f6eae random: credit cpu and bootloader seeds by default
    9d667348dc33 gpio: dwapb: Don't print error on -EPROBE_DEFER
    f3c8bfd6dc4f MIPS: Loongson-3: fix compile mips cpu_hwmon as module build error.
    85340c063450 mellanox: mlx5: avoid uninitialized variable warning with gcc-12
    38c519df8ecf net: ethernet: mtk_eth_soc: fix misuse of mem alloc interface netdev[napi]_alloc_frag
    b8879ca1fd73 ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg
    0eeec1a8b0cd nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred
    6c18f47f47d4 virtio-mmio: fix missing put_device() when vm_cmdline_parent registration failed
    d539feb6df5e ALSA: hda/realtek - Add HW8326 support
    16dd002eb871 scsi: pmcraid: Fix missing resource cleanup in error case
    410b69262173 scsi: ipr: Fix missing/incorrect resource cleanup in error case
    85acc5bf0515 scsi: lpfc: Allow reduced polling rate for nvme_admin_async_event cmd completion
    916145bf9df7 scsi: lpfc: Fix port stuck in bypassed state after LIP in PT2PT topology
    f416fee125d4 scsi: vmw_pvscsi: Expand vcpuHint to 16 bits
    0e9994b86580 Input: soc_button_array - also add Lenovo Yoga Tablet2 1051F to dmi_use_low_level_irq
    2e640e5e44a7 ASoC: wm_adsp: Fix event generation for wm_adsp_fw_put()
    a572c7440251 ASoC: es8328: Fix event generation for deemphasis control
    c7b8c3758f13 ASoC: wm8962: Fix suspend while playing music
    8656623bdc0d quota: Prevent memory allocation recursion while holding dq_lock
    36cd19e7d4e5 ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()
    440b2a62da2e ASoC: cs42l51: Correct minimum value for SX volume control
    f93d8fe3dce8 ASoC: cs42l56: Correct typo in minimum level for SX volume controls
    13e5b76d3d71 ASoC: cs42l52: Correct TLV for Bypass Volume
    b8a47bcc4d14 ASoC: cs53l30: Correct number of volume levels on SX controls
    70e355867dc2 ASoC: cs35l36: Update digital volume TLV
    cb6a0b83f1bc ASoC: cs42l52: Fix TLV scales for mixer controls
    d7be05aff272 dma-debug: make things less spammy under memory pressure
    1b54c0065763 ASoC: nau8822: Add operation for internal PLL off and on
    2c9548bc2650 powerpc/kasan: Silence KASAN warnings in __get_wchan()
    b5699bff1da6 arm64: dts: imx8mm-beacon: Enable RTS-CTS on UART3
    28bbdca6a7a4 bpf: Fix incorrect memory charge cost calculation in stack_map_alloc()
    f14816f2f928 nfsd: Replace use of rwsem with errseq_t
    56a7f57da5d0 9p: missing chunk of "fs/9p: Don't update file type when updating file attributes"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: update to v5.15.52
Bruce Ashfield [Mon, 11 Jul 2022 02:25:41 +0000 (22:25 -0400)] 
linux-yocto/5.15: update to v5.15.52

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

    545aecd22961 Linux 5.15.52
    ea512d540a55 io_uring: fix not locked access to fixed buf table
    5696f7983d5d net: mscc: ocelot: allow unregistered IP multicast flooding to CPU
    810962c79417 rtw88: rtw8821c: enable rfe 6 devices
    d52f1c588824 rtw88: 8821c: support RFE type4 wifi NIC
    e8d4878dcd00 fs: account for group membership
    dc85bc24fbf1 fs: fix acl translation
    38753e9173a5 fs: support mapped mounts of mapped filesystems
    968e66f8ff70 fs: add i_user_ns() helper
    21c6c720be75 fs: port higher-level mapping helpers
    7d0536a8fab7 fs: remove unused low-level mapping helpers
    f895d0ff47be fs: use low-level mapping helpers
    1c62e0186d94 docs: update mapping documentation
    b20dcf603b8d fs: account for filesystem mappings
    3374eb1b0afc fs: tweak fsuidgid_has_mapping()
    7bc23abcb414 fs: move mapping helpers
    b3679e8b5996 fs: add is_idmapped_mnt() helper
    ab0b6dc5e16b powerpc/ftrace: Remove ftrace init tramp once kernel init is complete
    ce6bfe55237e xfs: only bother with sync_filesystem during readonly remount
    3465b167831e xfs: prevent UAF in xfs_log_item_in_current_chkpt
    4f0c91ab4c7d xfs: check sb_meta_uuid for dabuf buffer recovery
    c4f376ba8be8 xfs: remove all COW fork extents when remounting readonly
    40de647b2bab xfs: Fix the free logic of state in xfs_attr_node_hasname
    0e84e17c16a3 xfs: punch out data fork delalloc blocks on COW writeback failure
    71a218ca4fde xfs: use kmem_cache_free() for kmem_cache objects
    1cdcd496b7ca bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init()
    edbaf6e5e93a x86, kvm: use proper ASM macros for kvm_vcpu_is_preempted
    f4a80ec8c51d tick/nohz: unexport __init-annotated tick_nohz_full_setup()
    37238449af78 Linux 5.15.51
    7fc188a9a9cc powerpc/pseries: wire up rng during setup_arch()
    17aa69b458fd kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS (2nd attempt)
    cced9ce619ef dma-direct: use the correct size for dma_set_encrypted()
    a8bbb4c26460 perf build-id: Fix caching files with a wrong build ID
    46a78d141335 random: update comment from copy_to_user() -> copy_to_iter()
    7a3a4683562e ARM: dts: bcm2711-rpi-400: Fix GPIO line names
    bcf2087ce4de modpost: fix section mismatch check for exported init/exit sections
    da3ee7cd2f15 ARM: cns3xxx: Fix refcount leak in cns3xxx_init
    cde4480b5ab0 memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings
    4d9c60e868f7 ARM: Fix refcount leak in axxia_boot_secondary
    10ba9d499a9f soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe
    d23f76018e17 ARM: exynos: Fix refcount leak in exynos_map_pmu
    5e00d3d4023c arm64: dts: ti: k3-am64-main: Remove support for HS400 speed mode
    4b5047643466 ARM: dts: imx6qdl: correct PU regulator ramp delay
    c845b98be950 ARM: dts: imx7: Move hsic_phy power domain to HSIC PHY node
    93f7d2a7fcf3 drm/msm/dp: Always clear mask bits to disable interrupts at dp_ctrl_reset_irq_ctrl()
    1ad385647bf3 powerpc/powernv: wire up rng during setup_arch
    c1cfae46c5dc powerpc/rtas: Allow ibm,platform-dump RTAS call with null buffer address
    fe643b5afde6 powerpc: Enable execve syscall exit tracepoint
    416d16b7dc0b powerpc/microwatt: wire up rng during setup_arch()
    6b28ca2cf344 parisc: Enable ARCH_HAS_STRICT_MODULE_RWX
    cb4d52085c8b parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI
    0dcc1dd8a5dd xtensa: Fix refcount leak bug in time.c
    016245172317 xtensa: xtfpga: Fix refcount leak bug in setup
    711591bf1dab iio: adc: ti-ads131e08: add missing fwnode_handle_put() in ads131e08_alloc_channels()
    ab7bf025cee8 iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client
    4358bf6b1aad iio: adc: rzg2l_adc: add missing fwnode_handle_put() in rzg2l_adc_parse_properties()
    bb6f853289fe iio: adc: axp288: Override TS pin bias current for some models
    4f89730288ee iio: adc: stm32: Fix IRQs on STM32F4 by removing custom spurious IRQs message
    d361b3cc1cf8 iio: adc: stm32: Fix ADCs iteration in irq handler
    148bab179f04 iio: afe: rescale: Fix boolean logic bug
    80e80577043f iio: imu: inv_icm42600: Fix broken icm42600 (chip id 0 value)
    2a2d448a74ab iio: adc: stm32: fix maximum clock rate for stm32mp15x
    4687c3f95524 iio: trigger: sysfs: fix use-after-free on remove
    f359c4751de1 iio: gyro: mpu3050: Fix the error handling in mpu3050_power_up()
    005cb02224a9 iio: accel: mma8452: ignore the return value of reset operation
    cb0d87f2519d iio:accel:mxc4005: rearrange iio trigger get and register
    3357fb9da21a iio:accel:bma180: rearrange iio trigger get and register
    240fb3913f18 iio:accel:kxcjk-1013: rearrange iio trigger get and register
    a1356318042e iio:chemical:ccs811: rearrange iio trigger get and register
    974e69beebb3 iio:humidity:hts221: rearrange iio trigger get and register
    f650029de357 f2fs: attach inline_data after setting compression
    d98b5032c9d0 btrfs: fix deadlock with fsync+fiemap+transaction commit
    1238f580cd81 btrfs: don't set lock_owner when locking extent buffer for reading
    46336a59a4a7 dt-bindings: usb: ehci: Increase the number of PHYs
    9a0b865d8b4c dt-bindings: usb: ohci: Increase the number of PHYs
    308df8d4e41b usb: chipidea: udc: check request status before setting device address
    07f1d9a6b75d USB: gadget: Fix double-free bug in raw_gadget driver
    61c3a21ba6f6 usb: gadget: Fix non-unique driver names in raw-gadget driver
    da57f113e817 xhci-pci: Allow host runtime PM as default for Intel Meteor Lake xHCI
    cfa16dd21be0 xhci-pci: Allow host runtime PM as default for Intel Raptor Lake xHCI
    c1c78d4d9b0a xhci: turn off port power in shutdown
    9509a175a560 usb: typec: wcove: Drop wrong dependency to INTEL_SOC_PMIC
    288f30e17513 iio: adc: vf610: fix conversion mode sysfs node name
    466e15f845d7 iio: magnetometer: yas530: Fix memchr_inv() misuse
    490dd2dd2a79 iio: mma8452: fix probe fail when device tree compatible is used.
    ff3e50ca9250 s390/cpumf: Handle events cycles and instructions identical
    09dd5630fea6 gpio: winbond: Fix error code in winbond_gpio_get()
    e3ea126c513c nvme: move the Samsung X5 quirk entry to the core quirks
    1057d42602cb nvme-pci: add NO APST quirk for Kioxia device
    72fa0f65b566 sock: redo the psock vs ULP protection check
    eb9399970565 Revert "net/tls: fix tls_sk_proto_close executed repeatedly"
    8d7fe9ad6fdd virtio_net: fix xdp_rxq_info bug after suspend/resume
    8eb0223631f8 igb: Make DMA faster when CPU is active on the PCIe link
    60fd29f1ff46 regmap-irq: Fix offset/index mismatch in read_sub_irq_data()
    b0581f93cf05 regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips
    20229bb99545 ice: ethtool: advertise 1000M speeds properly
    2b2bba96526f afs: Fix dynamic root getattr
    ab150a2bf6c5 MIPS: Remove repetitive increase irq_err_count
    3e2c9ee9c1e6 x86/xen: Remove undefined behavior in setup_features()
    ffa12a326415 xen-blkfront: Handle NULL gendisk
    0315bd8ad0dd selftests: netfilter: correct PKTGEN_SCRIPT_PATHS in nft_concat_range.sh
    5b45535865d6 udmabuf: add back sanity check
    be64f54a0db2 net/tls: fix tls_sk_proto_close executed repeatedly
    a3b2470399f6 erspan: do not assume transport header is always set
    26e70f8989cb perf arm-spe: Don't set data source if it's not a memory operation
    e24709e89b1b drm/msm/dp: force link training for display resolution change
    796d3acd7d9e drm/msm/dp: do not initialize phy until plugin interrupt received
    40e9efdc2ef9 drm/msm/dp: dp_link_parse_sink_count() return immediately if aux read failed
    2ecf5ff9aa14 drm/msm/dp: Drop now unused hpd_high member
    d0b4a61f8713 drm/msm/dp: check core_initialized before disable interrupts at dp_display_unbind()
    3c39a1719773 drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
    45bd293bbcd8 net/sched: sch_netem: Fix arithmetic in netem_dump() for 32-bit platforms
    efb10d2a047d ethtool: Fix get module eeprom fallback
    6386fdde8df0 bonding: ARP monitor spams NETDEV_NOTIFY_PEERS notifiers
    2af944210dc2 igb: fix a use-after-free issue in igb_clean_tx_ring
    cd7789e659e8 tipc: fix use-after-free Read in tipc_named_reinit
    ad10d61c55aa net: fix data-race in dev_isalive()
    f617cef46552 net: Write lock dev_base_lock without disabling bottom halves.
    638be56ae9cc KVM: arm64: Prevent kmemleak from accessing pKVM memory
    d7fe6be43cfa phy: aquantia: Fix AN when higher speeds than 1G are not advertised
    8e74f5ceea52 scsi: storvsc: Correct reporting of Hyper-V I/O size limits
    b28e4e3fd34c bpf, x86: Fix tail call count offset calculation on bpf2bpf call
    0eef1dcb9774 drm/sun4i: Fix crash during suspend after component bind failure
    b03607437ea8 bpf: Fix request_sock leak in sk lookup helpers
    7154e4df56d4 drm/msm: use for_each_sgtable_sg to iterate over scatterlist
    64e6ba7f2d2f xsk: Fix generic transmit when completion queue reservation fails
    54abcc525269 scsi: iscsi: Exclude zero from the endpoint ID range
    0a7a5261705f drm/msm: Switch ordering of runpm put vs devfreq_idle
    7d5fe94333a9 scsi: scsi_debug: Fix zone transition to full condition
    d0906b0fffc9 netfilter: use get_random_u32 instead of prandom
    f7fa3263079c drm/msm: Fix double pm_runtime_disable() call
    c6f6c9668609 drm/msm: Ensure mmap offset is initialized
    45dc151ca0b9 USB: serial: option: add Quectel RM500K module support
    d5eb7d6baed5 USB: serial: option: add Quectel EM05-G modem
    b919ece13b6b USB: serial: option: add Telit LE910Cx 0x1250 composition
    e5b0f42edda2 USB: serial: pl2303: add support for more HXN (G) types
    0895a2235bae drm/i915: Implement w/a 22010492432 for adl-s
    bae4d6a2dd9e tracing/kprobes: Check whether get_kretprobe() returns NULL in kretprobe_dispatcher()
    c3f51b28a8bc dm mirror log: clear log bits up to BITS_PER_LONG boundary
    ac0a5f701f4d dm era: commit metadata in postsuspend after worker stops
    c477de4c7d43 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
    0af674e7a764 mtd: rawnand: gpmi: Fix setting busy timeout setting
    0f6f66b4ef27 MAINTAINERS: Add new IOMMU development mailing list
    87a54feba68f xen/gntdev: Avoid blocking in unmap_grant_pages()
    fe9ba4f29320 mmc: mediatek: wait dma stop bit reset to 0
    7df8c497214b mmc: sdhci-pci-o2micro: Fix card detect by dealing with debouncing
    161ec2a0807d scsi: ibmvfc: Allocate/free queue resource only during probe/remove
    8540f66196ca scsi: ibmvfc: Store vhost pointer during subcrq allocation
    4a19c1cee0de btrfs: add error messages to all unrecognized mount options
    82e3769c0257 btrfs: prevent remounting to v1 space cache for subpage mount
    341d33128a94 btrfs: fix hang during unmount when block group reclaim task is running
    f0126bcaee81 9p: fix fid refcount leak in v9fs_vfs_get_link
    22832ac3eb5b 9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl
    10629c04b3a8 9p: Fix refcounting during full path walks for fid lookups
    cbf585269510 net: openvswitch: fix parsing of nw_proto for IPv6 fragments
    56c6f1fcd594 ALSA: hda/realtek: Add quirk for Clevo NS50PU
    48e3b93cda56 ALSA: hda/realtek: Add quirk for Clevo PD70PNT
    dffaf580c3c2 ALSA: hda/realtek: Apply fixup for Lenovo Yoga Duet 7 properly
    c478ceb4342b ALSA: hda/realtek - ALC897 headset MIC no sound
    82e29e99f2ab ALSA: hda/realtek: Add mute LED quirk for HP Omen laptop
    d12a5d1b5053 ALSA: hda/conexant: Fix missing beep setup
    535abf6207ef ALSA: hda/via: Fix missing beep setup
    eb4c99d089c0 random: quiet urandom warning ratelimit suppression message
    7a42647f7037 random: schedule mix_interrupt_randomness() less often
    18a33c8dabb8 Linux 5.15.50
    f1304f976395 arm64: mm: Don't invalidate FROM_DEVICE buffers at start of DMA transfer
    7c622181faeb serial: core: Initialize rs485 RTS polarity already on probe
    8e57da591f63 selftests/bpf: Add selftest for calling global functions from freplace
    5c0ab17c5360 bpf: Fix calling global functions from BPF_PROG_TYPE_EXT programs
    cfb68b072cbf usb: gadget: u_ether: fix regression in setting fixed MAC address
    c2f71b9bb398 zonefs: fix zonefs_iomap_begin() for reads
    04dcef44f6f4 net: mana: Add handling of CQE_RX_TRUNCATED
    7fd1d002852f drm/amd/display: Don't reinitialize DMCUB on s0ix resume
    48543509f4c5 s390/mm: use non-quiescing sske for KVM switch to keyed guest
    ee039006371a Linux 5.15.49
    c5559147766c clk: imx8mp: fix usb_root_clk parent
    d807e0dfb471 powerpc/book3e: get rid of #include <generated/compile.h>
    870179c053ce virtio-pci: Remove wrong address verification in vp_del_vqs()
    c64dfc63c422 ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machine
    ac0899da0ed1 KVM: arm64: Don't read a HW interrupt pending state in user context
    33b1bba31f4c ext4: add reserved GDT blocks check
    4fadac8c7376 ext4: make variable "count" signed
    90f0f9d45dff ext4: fix bug_on ext4_mb_use_inode_pa
    38db3b696f27 ext4: fix super block checksum incorrect after mount
    75f3a5fa2ad0 cfi: Fix __cfi_slowpath_diag RCU usage with cpuidle
    8720414b51d4 drm/amd/display: Cap OLED brightness per max frame-average luminance
    0d2209b54f1d dm mirror log: round up region bitmap size to BITS_PER_LONG
    ccd175109234 bus: fsl-mc-bus: fix KASAN use-after-free in fsl_mc_bus_remove()
    9b5a3b16c4aa serial: 8250: Store to lsr_save_flags after lsr read
    a567426d1449 tty: n_gsm: Debug output allocation must use GFP_ATOMIC
    4baa493636b6 usb: gadget: f_fs: change ep->ep safe in ffs_epfile_io()
    20ac0adece7b usb: gadget: f_fs: change ep->status safe in ffs_epfile_io()
    46da1e4a8b63 usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
    492d82d5ffcd usb: cdnsp: Fixed setting last_trb incorrectly
    701d8ec01e0f usb: dwc2: Fix memory leak in dwc2_hcd_init
    b71eed408e58 USB: serial: io_ti: add Agilent E5805A support
    79ea90c9588f USB: serial: option: add support for Cinterion MV31 with new baseline
    795aa0cfd38d crypto: memneq - move into lib/
    31ac1cffa76b comedi: vmk80xx: fix expression for tx buffer size
    57199e4ee958 mei: me: add raptor lake point S DID
    2399481a13a7 mei: hbm: drop capability response on early shutdown
    93e6c2cbcd08 i2c: designware: Use standard optional ref clock implementation
    668a1f5e75d5 sched: Fix balance_push() vs __sched_setscheduler()
    e85b1b797de0 irqchip/realtek-rtl: Fix refcount leak in map_interrupts
    cc5984cf270b irqchip/gic-v3: Fix refcount leak in gic_populate_ppi_partitions
    0b325d993995 irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions
    5d38720661a4 irqchip/gic/realview: Fix refcount leak in realview_gic_of_init
    3a72ed60af9d i2c: npcm7xx: Add check for platform_driver_register
    c06ebe20ba9f faddr2line: Fix overlapping text section failures, the sequel
    b5e65ef044d6 block: Fix handling of offline queues in blk_mq_alloc_request_hctx()
    ca67881dcef0 init: Initialize noop_backing_dev_info early
    04cdec418626 certs/blacklist_hashes.c: fix const confusion in certs blacklist
    db73aa946633 arm64: ftrace: consistently handle PLTs.
    a39d42b0f7c9 arm64: ftrace: fix branch range checks
    b764bb8dd474 net: ax25: Fix deadlock caused by skb_recv_datagram in ax25_recvmsg
    ed66c8612bb4 net: bgmac: Fix an erroneous kfree() in bgmac_remove()
    32df93bd9d12 mlxsw: spectrum_cnt: Reorder counter pools
    fce5e847b6ef nvme: add device name to warning in uuid_show()
    21dda97d095c net: hns3: fix tm port shapping of fibre port is incorrect after driver initialization
    36c95d9bd2ad net: hns3: don't push link state to VF if unalive
    384ffa1dee40 net: hns3: set port base vlan tbl_sta to false before removing old vlan
    23de00c1304a net: hns3: split function hclge_update_port_base_vlan_cfg()
    f4c5eba87675 drm/i915/reset: Fix error_state_read ptr + offset use
    91f5a60a8398 io_uring: fix races with buffer table unregister
    b1e7cade3caf io_uring: fix races with file table unregister
    d460a8a3b980 misc: atmel-ssc: Fix IRQ check in ssc_probe
    fb15e79cacdd tty: goldfish: Fix free_irq() on remove
    2cd5117ce64e Drivers: hv: vmbus: Release cpu lock in error case
    0a4e5a3dc5e4 i40e: Fix call trace in setup_tx_descriptors
    f015e9929cca i40e: Fix calculating the number of queue pairs
    e04448d388be i40e: Fix adding ADQ filter to TC0
    0414eab7c78f clocksource: hyper-v: unexport __init-annotated hv_init_clocksource()
    5967a6900873 sunrpc: set cl_max_connect when cloning an rpc_clnt
    ec23a86e060c pNFS: Avoid a live lock condition in pnfs_update_layout()
    b2bb8b6ec81b pNFS: Don't keep retrying if the server replied NFS4ERR_LAYOUTUNAVAILABLE
    9c8fc4b323dd staging: r8188eu: Fix warning of array overflow in ioctl_linux.c
    2595e803130b staging: r8188eu: Use zeroing allocator in wpa_set_encryption()
    d56bc9e8760a staging: r8188eu: fix rtw_alloc_hwxmits error detection for now
    6a816a0b6cc3 platform/x86/intel: hid: Add Surface Go to VGBS allow list
    7f3746461832 platform/x86: gigabyte-wmi: Add support for B450M DS3H-CF
    9352e7f0f06b platform/x86: gigabyte-wmi: Add Z690M AORUS ELITE AX DDR4 support
    76ac3964a22a gpio: dwapb: Don't print error on -EPROBE_DEFER
    eeadd7db8c3f random: credit cpu and bootloader seeds by default
    8be6646cdbe9 MIPS: Loongson-3: fix compile mips cpu_hwmon as module build error.
    5cecc6e56b85 mellanox: mlx5: avoid uninitialized variable warning with gcc-12
    f7d63b508981 gcc-12: disable '-Wdangling-pointer' warning for now
    fcba12a43081 net: ethernet: mtk_eth_soc: fix misuse of mem alloc interface netdev[napi]_alloc_frag
    27a37755ceb4 ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg
    6616872cfe7f nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred
    af6bc0dcb16a virtio-mmio: fix missing put_device() when vm_cmdline_parent registration failed
    6759554f351a ALSA: hda/realtek - Add HW8326 support
    41b2185bcb2f scsi: pmcraid: Fix missing resource cleanup in error case
    d3b3950b00a1 scsi: ipr: Fix missing/incorrect resource cleanup in error case
    cb8aa5b92a31 scsi: mpt3sas: Fix out-of-bounds compiler warning
    4b5020fc23c8 scsi: lpfc: Allow reduced polling rate for nvme_admin_async_event cmd completion
    6782a2ccd56b scsi: lpfc: Fix port stuck in bypassed state after LIP in PT2PT topology
    5e83869e2944 scsi: lpfc: Resolve NULL ptr dereference after an ELS LOGO is aborted
    d152ce4ffecc scsi: vmw_pvscsi: Expand vcpuHint to 16 bits
    332d76dd9a3e Input: soc_button_array - also add Lenovo Yoga Tablet2 1051F to dmi_use_low_level_irq
    d6d1c0990191 ASoC: wm_adsp: Fix event generation for wm_adsp_fw_put()
    606b0226de01 ASoC: es8328: Fix event generation for deemphasis control
    d733ac5e8110 ASoC: wm8962: Fix suspend while playing music
    38ed8ab3171d quota: Prevent memory allocation recursion while holding dq_lock
    ff128fbea720 ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()
    4a0d2797918c drm/amdkfd: add pinned BOs to kfd_bo_list
    6d235ef00d82 ASoC: cs42l51: Correct minimum value for SX volume control
    47fc26b197aa ASoC: cs42l56: Correct typo in minimum level for SX volume controls
    b3ecd030ab28 ASoC: cs42l52: Correct TLV for Bypass Volume
    d5e7be00d128 ASoC: cs53l30: Correct number of volume levels on SX controls
    2bdfe9a32e0f ASoC: cs35l36: Update digital volume TLV
    f53212791602 ASoC: cs42l52: Fix TLV scales for mixer controls
    e4e166f10e70 dma-debug: make things less spammy under memory pressure
    09c5cdbc62d9 drm/amdkfd: Use mmget_not_zero in MMU notifier
    a2010538c9d2 drm/amd/display: Read Golden Settings Table from VBIOS
    96c22385c25b ASoC: nau8822: Add operation for internal PLL off and on
    70d6d6874db3 powerpc/kasan: Silence KASAN warnings in __get_wchan()
    9cada4a06df9 arm64: dts: imx8mn-beacon: Enable RTS-CTS on UART3
    5628b9febd78 arm64: dts: imx8mm-beacon: Enable RTS-CTS on UART3
    3145fe0ebb16 nfsd: Replace use of rwsem with errseq_t
    22fbef00c9a3 Revert "drm/amd/display: Fix DCN3 B0 DP Alt Mapping"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: Avoid accidental librdmacm linkage
Richard Purdie [Mon, 11 Jul 2022 12:23:26 +0000 (13:23 +0100)] 
qemu: Avoid accidental librdmacm linkage

Avoid accidentally linking to the rdma library from the host by
adding a PACKAGECONFIG for the option. This was found on new
Fedora 36 autobuilder workers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: add PACKAGECONFIG for capstone
Steve Sakoman [Sat, 9 Jul 2022 13:53:10 +0000 (03:53 -1000)] 
qemu: add PACKAGECONFIG for capstone

Autobuilder workers were non-deterministically enabling capstone
depending on whether the worker had libcapstone installed.

Add PACKAGECONFIG for capstone with default off, since qemu does not
require capstone support.

Qemu version in dunfell has capstone in the source tree as a submodule
and has configure options to enable it using that source code or using
the system libcapstone.

Qemu versions in master and kirkstone have removed the capstone
submodule and configure options, but added libcapstone autodetection to
meson.

In all cases using PACKAGECONFIG will allow a deterministic build.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogperf: Switch to upstream patch
Richard Purdie [Tue, 5 Jul 2022 14:21:18 +0000 (15:21 +0100)] 
gperf: Switch to upstream patch

Upstream merged a patch to handle the reproducibility issue, switch to
their patch which is functionally equivalent.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogtk-doc: Remove hardcoded buildpath
Richard Purdie [Thu, 7 Jul 2022 12:12:02 +0000 (13:12 +0100)] 
gtk-doc: Remove hardcoded buildpath

When api-documentation is enabled, we see a hardcoded build path to xsltproc in
the target python configuration file. We curate PATH carefully so we don't
need the path there, tweak configure to remove it and solve the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: remove open-posix-testsuite build logs
Ross Burton [Thu, 7 Jul 2022 16:43:13 +0000 (17:43 +0100)] 
ltp: remove open-posix-testsuite build logs

We don't need to package the open-posix-testsuite build logs. Typically
these are just lines of "SUCCESS" but sometimes there will be compile
warnings, which will include build paths.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: Remove -mfpmath=sse on x86
Khem Raj [Thu, 7 Jul 2022 03:59:11 +0000 (20:59 -0700)] 
ltp: Remove -mfpmath=sse on x86

Fixes build errors seen with clang
error: the 'sse' unit is not supported with this instruction set

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>