Bruce Ashfield [Wed, 10 Nov 2021 13:08:44 +0000 (08:08 -0500)]
linux-yocto/5.4: update to v5.4.154
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
ce061ef43f1d Linux 5.4.154 291a48871e51 sched: Always inline is_percpu_thread() 3e105ecc4ab7 scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported" 1ff5ee9d3926 scsi: ses: Fix unsigned comparison with less than zero 83d857d6b096 drm/amdgpu: fix gart.bo pin_count leak 1843ae8c4b2b net: sun: SUNVNET_COMMON should depend on INET 6d1d7acb1067 mac80211: check return value of rhashtable_init 2aaf3fd5e109 net: prevent user from passing illegal stab size 1e66a472b51b m68k: Handle arrivals of multiple signals correctly be191c8e68fe mac80211: Drop frames from invalid MAC address in ad-hoc mode fffad5988f28 netfilter: nf_nat_masquerade: defer conntrack walk to work queue b3cb06303419 netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic a9d8aa2d3ca8 HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs 8c6680025b49 netfilter: ip6_tables: zero-initialize fragment offset 744b908a7f3f HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS b6bccc978ec8 ext4: correct the error path of ext4_write_inline_data_end() de4a28b718bb net: phy: bcm7xxx: Fixed indirect MMD operations
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Previously if BUILD_REPRODUCIBLE_BINARIES was set to 0, the system would
fall back and select the default epoch (April 2011), but still perform
the reproducible build actions. This resulted in binaries that had an
unusually old date.
Simplify the functions and remove the anonymous python as no longer
necessary.
Also improve the documentation to better explain what the class is doing
and how a recipe can override the behavior if necessary.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1976013b026cfba94de32a13e994d92d7e9e39e5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Sun, 19 Sep 2021 15:20:28 +0000 (16:20 +0100)]
sstate: Avoid deploy_source_date_epoch sstate when unneeded
This sstate task is only needed when depended upon, it can be skipped
if there are no tasks running that directly depend upon it.
This reduced the number of sstate tasks in something like an image
build.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 601cee016da5c7505915e26641a085714de175ce) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Mon, 13 Sep 2021 22:56:16 +0000 (23:56 +0100)]
sstate: Ensure SDE is accounted for in package task timestamps
When creating packages we build them with --clamp-mtime and use
SOURCE_DATE_EPOCH as the maximum mtime. This makes the end packages
reproducible. The data stored in sstate for do_package and the package
task doesn't benefit from this though and have varying timestamps.
This means their outhash varies and means hash equivalance isn't
effective at all and doesn't work as intended/desired.
We could create the sstate archives with the same clamping however
that would lead to different results depending on whether a task was
installed from sstate or not. Making that differ is a path to madness.
It also wouldn't fix the outhash of the task to be determninistic
without clamping of the date in the hash calculation code.
Instead, iterate over the files in sstate output and clamp them at
the code level. This isn't ideal but does make the file timestamps
determnistic everywhere and means we don't have to change the hash
calculation code.
This issue can be clearly seen looking at the do_package outhash for
a recipe which you then re-run the package task for after adding
something like whitespace to the install task. The outhash shouldn't
change but currently does.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c3b3cc4745811b48b9193f83889946b2e1788932) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Jose Quaresma [Sun, 7 Nov 2021 11:36:52 +0000 (11:36 +0000)]
sstate: another fix for touching files inside pseudo
This patch is a fixup for 676757f "sstate: fix touching files inside pseudo"
running the 'id' command inside the sstate_unpack_package
function shows that this funcion run inside the pseudo:
uid=0(root) gid=0(root) groups=0(root)
The check for [ -w ${SSTATE_PKG} ] and [ -O ${SSTATE_PKG}.siginfo ]
will always return true and the touch can fail when the real user
don't have permission or in readonly filesystem.
As the documentation refers:
- the file test operator "-w" check if the file has write permission
(for the user running the test).
- the file test operator "-O" check if you are owner of file
We can avoid this test running the touch and mask any return errors
that we have.
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b9210d66c78bb3f79056e5586cea7b0edd714a9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Tue, 9 Nov 2021 13:21:31 +0000 (13:21 +0000)]
mirrors: Add uninative mirror on kernel.org
At the last nas outage, we realised that we don't have good mirrors of the
uninative tarball if our main system can't be accessed. kernel.org mirrors
some Yocto Project data so we've ensured uninative is there. Add the appropriate
mirror url to make use of that.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Marek Vasut [Sat, 6 Nov 2021 12:59:15 +0000 (13:59 +0100)]
piglit: upgrade to latest revision
Update piglit to latest git revision and update the branch name,
since the original one is no longer updated. Make sure the VK
tests are only enabled if VK is also enabled in PACKAGECONFIG,
and that this is opt-in, otherwise older systems fail to build.
Cherry picked from squashed commits: eb3a8d4c7b ("piglit: upgrade to latest revision") a27b06f73a ("piglit: upgrade to latest revision") bb091bc0be ("piglit: upgrade to latest revision") 394746d1cb ("piglit: upgrade to latest revision") 5aec8cff94 ("piglit: upgrade to latest revision") fc4c82773d ("piglit: fix reproducibility") 6fbec0f12a ("piglit: update to latest revision") 8d23a0d498 ("piglit: upgrade to latest revision") 5144d515fe ("piglit: upgrade to latest revision") dd085bd577 ("piglit: upgrade to latest revision") 9ba6df1b2c ("piglit: upgrade to latest revision") 1ccd71eb3e ("piglit: upgrade to latest revision")
Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Anuj Mittal <anuj.mittal@intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Steve Sakoman <steve@sakoman.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Fri, 29 Oct 2021 10:14:42 +0000 (11:14 +0100)]
pseudo: Add fcntl64 wrapper
Add fcntl64 wrapper which hopefully fixes issues seen in findutils and the find
command in the libtool removal code when built with LFS compile flags on Gentoo.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f26867fe4daec7299f59a82ae4a0d70cceb3e082) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Sat, 25 Sep 2021 09:37:14 +0000 (10:37 +0100)]
pseudo: Add in ability to flush database with shutdown request
Pulls in:
pseudo_db: Flush DB if there is a shutdown request
fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ (test fix)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0882095d608ce3abbcc9814517434c21ea549063) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Fri, 29 Oct 2021 14:13:28 +0000 (15:13 +0100)]
linunistring: Add missing gperf-native dependency
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 73d3efbaeb2f412ab8d3491d2da3f3124fc009f3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Mingli Yu [Thu, 4 Jun 2020 08:13:39 +0000 (16:13 +0800)]
python3-magic: add the missing rdepends
Add the missing rdepends to fix below error:
# python3
[snip]
>>> import magic
[snip]
ModuleNotFoundError: No module named 'ctypes'
ModuleNotFoundError: No module named 'tempfile'
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 115791844124bdddfbaec9d75bb887ef35c41f20) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Joshua Watt [Sun, 30 Aug 2020 03:00:34 +0000 (22:00 -0500)]
oeqa: reproducible: Fix test not producing diffs
Diffoscope changed the --exclude-directory-metadata option to require an
argument.
Add a test to validate that diffoscope is functioning as
expected to ensure that future upgrades do not unintentionally break
the reproducibility tests.
[YOCTO #14025]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea8fbcb7978ce48d7a9a83143d09402329535f86) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Fri, 29 Oct 2021 12:34:24 +0000 (13:34 +0100)]
meta/scripts: Manual git url branch additions
Following the scripted conversion adding branches to git://
SRC_URI entries, add the remaining references, mainly in the selftests
and recipetool.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5340c0d688036c1be6c938f05d8a8c1e3b49ec38) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This update was made with the convert-scruri.py script in scripts/contrib
This script handles two emerging issues:
1. There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.
2. Github are dropping support for git:// protocol fetching, so remap github
urls as needed. For more details see:
Richard Purdie [Tue, 2 Nov 2021 11:34:21 +0000 (11:34 +0000)]
scripts/convert-srcuri: Backport SRC_URI conversion script from master branch
This script handles two emerging issues:
1. There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.
2. Github are dropping support for git:// protocol fetching, so remap github
urls as needed. For more details see:
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7f4d11e8da6bb79232535c42ad41798a56162ac7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
License-Update: new firmware files, copyright years, file names Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bfceaba4f38771047dfdfdfdbf16b794006dfd78) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Wed, 17 Feb 2021 17:57:13 +0000 (17:57 +0000)]
git: Fix determinism issue
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9ae740939f8315c64fe7571f912404127a29dc89) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Teoh Jay Shen [Thu, 28 Oct 2021 11:15:44 +0000 (19:15 +0800)]
oeqa/runtime/parselogs: modified drm error in common errors list
Changed the following line from:
[drm] Cannot find any crtc or sizes - going 1024x768 > [drm] Cannot find any crtc or sizes
This will expand the coverage of the failure to also cover the case when fallback size is not set.
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0569fa735458512d6e15aa3315218ecbdf8510a3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ross Burton [Wed, 20 Oct 2021 17:30:07 +0000 (18:30 +0100)]
oeqa/runtime: search sys.path explicitly for modules
The controller module loading code needs to be told what directories
to search for modules via the target_modules_path keyword argument, which
is set to BBPATH.
However, as the actual module loading is done via importlib this relies
on the paths being on sys.path, which it is as base.bbclass puts each
layer's lib/ in sys.path.
Simplify the code by removing this indirection, and simply search
sys.path directly.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 570a19581f582f77e04d6892adb647cd649a6943) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ross Burton [Fri, 15 Oct 2021 17:41:20 +0000 (18:41 +0100)]
testimage: fix unclosed testdata file
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c192a97e3e1c015a48667d6903cc07a8b2620e4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Thu, 14 Oct 2021 11:04:46 +0000 (12:04 +0100)]
reproducible_build: Drop obsolete sstate workaround
sstate has been sufficiently invalidated since this change was made, drop
the workaround now.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a497d8f30f21bafc78d0f22f3442a9cc99544cb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ross Burton [Thu, 14 Oct 2021 16:33:18 +0000 (17:33 +0100)]
oe/utils: log exceptions in ThreadedWorker functions
If the function a ThreadedWorker is executing raises an exception, don't
use print() as that mostly disappears. Instead, output it to the logger.
This is done using bb.mainlogger.debug directly instead of bb.debug() as
this allows us to pass the exception instance directly, which is then
incorporated into the log stream.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f1ea25c222b344dd8b784b2bc73a6540ab30274) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant. We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 875a944392a3c93f40081a14af357f70b6b8264f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant. We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit abc93390a3f19bc4cc159c5690a478b9e2270906) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Daniel McGregor [Tue, 12 Oct 2021 15:44:50 +0000 (09:44 -0600)]
bitbake.conf: Add gpg-agent as a host tool
If gpg is used, it will find the first gpg agent in the path, this
may lead to issues where gpg comes from the host, and the agent
comes from a gnupg-native due to package signing. The versions
being out of sync causes gpg to fail.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b59fb9d52a405a32a1d069d4c5320b72fbd35ce) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Sat, 9 Oct 2021 22:33:15 +0000 (23:33 +0100)]
base: Use repr() for printing exceptions
Exceptions print more clearly using repr() instead of str(), fix
in fetch and unpack tasks.
Drop part of the test which no longer makes sense after this change.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c94816259cc1c09746353ad26ca0c811e0c962c2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Sat, 9 Oct 2021 16:46:17 +0000 (17:46 +0100)]
base: Clean up unneeded len() calls
This code pattern isn't very pythonic, improve it to drop the unneeded
len() calls.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69376ac1a6147b26fe1abaa4cf68414024814d63) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ross Burton [Thu, 14 Oct 2021 16:33:19 +0000 (17:33 +0100)]
sstate: don't silently handle all exceptions in sstate_checkhashes
If checkstatus returns an exception we should silently handle
FetchError, as this means the fetch failed for 'normal' reasons such as
file not found. However, other exceptions may be raised, and these
should be made visible.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50d99faf88a1d82cbd939b9bd6e33ebed2b1ffd8) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ross Burton [Thu, 28 Oct 2021 08:05:37 +0000 (10:05 +0200)]
devtool: fix modify with patches in override directories
If a recipe applies patches which are in machine-specific override
directories, devtool will fail to fetch the patches that don't match the
default configuration. For example where there are patches at
qemux86/x86.patch and qemuarm/arm.patch:
The patch apply phase sets OVERRIDES but does not set FILESOVERRIDES, so
it cannot find the patch files as the search path isn't correct. Fix
this by setting FILESOVERRIDES too.
Also when iterating through the overrides we need to be sure that other
overrides that are used are not enabled, so extend no_overrides instead of
simply appending the current override.
Jose Quaresma [Wed, 20 Oct 2021 17:25:46 +0000 (18:25 +0100)]
sstate: fix touching files inside pseudo
running the 'id' command inside the sstate_create_package
function shows that this funcion run inside the pseudo:
uid=0(root) gid=0(root) groups=0(root)
The check for touch files [ ! -w ${SSTATE_PKG} ]
will always return true and the touch can fail
when the real user don't have permission or
in readonly filesystem.
As the documentation refers, the file test operator "-w"
check if the file has write permission (for the user running the test).
We can avoid this test running the touch and mask any return errors
that we have.
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6e7445c94443544e92fda97a017ce93393c5f84) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Joshua Watt [Wed, 2 Jun 2021 02:36:48 +0000 (21:36 -0500)]
classes/reproducible_build: Use atomic rename for SDE file
If an existing source date epoch file was found during do_unpack, it was
deleted and a new one would be written in its place. This causes a race
with check-before-use code in get_source_date_epoch_value. Resolve the
problem by making do_unpack write the new source date epoch to a
temporary file, then do an atomic rename to ensure it's always present,
and change the check-before-use code to use a EAFP exception instead of
checking for file existence.
[YOCTO #14384]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0b5e3b33187bf78a2d62cc886463e4b27d6bd228) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Sun, 3 Oct 2021 19:12:26 +0000 (20:12 +0100)]
reproducible_build: Work around caching issues
SOURCE_DATE_EPOCH can be expanded early in the parsing process before
the class extensions are applied. This can mean the directory pointed
to for the SDE can be incorrect until later in parsing. Cache the file
name in the cached value and allow it to dynamically update.
This isn't ideal but avoding expansion of the variable likely isn't
possible and I'm not sure how else to handle this. This works around
the issue until a better solution can be found.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 44dc97cd1223e4d2b635669627ec5f796838d42d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Thu, 7 Oct 2021 10:14:18 +0000 (11:14 +0100)]
rpm: Deterministically set vendor macro entry
On an aarch64 build host, vendor is found to be "unknown", on x86 systems
it is "pc". This filters through to the PLATFORM tag in target rpms.
We saw reproducibility test failures where the PLATFORM tags in noarch
rpms were changing depending upon which host built them. Forcing the
vendor value to a consistent one makes things deterministic.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6434075b2bdfc23c683d22281b674b1e6abde77) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 06d55ee67ef81a9f9da178b06bb797cc62881643) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Steve Sakoman [Mon, 18 Oct 2021 23:17:29 +0000 (13:17 -1000)]
target/ssh.py: add HostKeyAlgorithms option to test commands
After recent updates to the autobuilder tumbleweed workers there are tests where the client and
server fail to agree on a public key algorithm for host authentication:
DEBUG: [Running]$ ssh -l root -o PubkeyAcceptedKeyTypes=+ssh-rsa -o UserKnownHostsFile=/dev/null
-o StrictHostKeyChecking=no -o LogLevel=VERBOSE 192.168.7.6 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; uname -a
DEBUG: time: 1634578090.4632802, endtime: 1634578390.4592378
DEBUG: Partial data from SSH call: Unable to negotiate with 192.168.7.6 port 22: no matching host key type found. Their offer: ssh-rsa
This appears to be an issue with recent versions of shh. Add -o HostKeyAlgorithms=+ssh-rsa to
command invocation as suggested at:
Richard Purdie [Tue, 13 Jul 2021 22:19:29 +0000 (23:19 +0100)]
python3: Add a fix for a make install race
Add a fix for reproducibility issues where pyc files for python-config.py
may not always be generated.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1c3a87c48b598b6e5624d0affe8bd89320631bf) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Tue, 12 Oct 2021 10:45:26 +0000 (11:45 +0100)]
libnewt: Use python3targetconfig to fix reproducibility issue
We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3fe5101b335384ef83e96ccc58687fd631164075) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Tue, 12 Oct 2021 10:41:41 +0000 (11:41 +0100)]
libxml2: Use python3targetconfig to fix reproducibility issue
We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1bc5378db760963e2ad46542f2907dd6a592eb66) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Tue, 21 Sep 2021 10:55:44 +0000 (11:55 +0100)]
externalsrc: Fix a source date epoch race in reproducible builds
When reproducible builds are enabled and externalsrc is in use, the
source date epoch function is added. The conditions on the conditional
code removing the unpack task need to match the deltask function, else
the source date epoch function can end up running twice and the functions
can race with each other causing build failures or corruption.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e82095c02881410035ca23dc12692f074d8ed39b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Mark Hatle [Fri, 10 Sep 2021 02:22:13 +0000 (21:22 -0500)]
externalsrc: Work with reproducible_build
Externalsrc removes do_fetch, do_unpack, and do_patch. The system normally
discovers the correct reproducible date as a postfuncs of do_unpack, so this
date is never found, so it falls back to the default epoch.
Instead we can move the discovery function to a prefuncs on the epoch
deploy task. This task will run before do_configure, and since the source
is already available can run safely at anytime.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0b7dd711a54e92ce54abe99f59fc67e683d52dfe) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Thu, 30 Sep 2021 10:14:41 +0000 (11:14 +0100)]
gobject-introspection: Don't write $HOME into scripts
Writing an expanded version of $HOME into the wrapper script breaks
reproducibility. We don't need this here so don't.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5df092524e93cd7d0eaa633ec8a5689d4c0d018d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Thu, 30 Sep 2021 10:17:05 +0000 (11:17 +0100)]
libtool: Allow libtool-cross to reproduce
The hostname removal from the script is useful to make libtool-cross
reproduce. Apply the patch everywhere as it doesn't cause any issues.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c61c6f20187154d677085fc9ccdcd762d4cdf3a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Thu, 5 Aug 2021 10:18:20 +0000 (11:18 +0100)]
libtool: Fix lto option passing for reproducible builds
If lto is enabled, we need the prefix-map variables to be passed to the linker.
Add these to the list of options libtool passes through.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c26d2c00b47df856fb2d9c35486b135094d46ac) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Steve Sakoman [Mon, 4 Oct 2021 14:35:55 +0000 (04:35 -1000)]
util-linux: Fix reproducibility
Sort the list of files to ensure the pkgdata output is deterministic.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a55194f90e11da5671b24391a4aaf2b86a8e1e6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Wed, 29 Sep 2021 19:01:12 +0000 (20:01 +0100)]
gnupg: Be deterministic about sendmail
Set a path to where sendmail would exist making the output deterministic
as it no longer depends on the build host and the presense of sendmail
there.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 32e03a430f13960fe07f08c04eaa58017d977f6c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Wed, 29 Sep 2021 23:30:19 +0000 (00:30 +0100)]
mesa: Ensure megadrivers runtime mappings are deterministic
Add a sort to ensure the package dependency output is determnistic.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 693e8d0dfe0b475bc233ccc1ad7674d39de346ce) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Wed, 29 Sep 2021 12:30:59 +0000 (13:30 +0100)]
package: Ensure pclist files are deterministic and don't use full paths
Currently the pkgconfig pclist files contain full paths which are build
host specific and the order of entries is not deterministic.
Fix both these issues so the files are deterministic.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e422e29bca4af3ab4073e04490f38b05cd7c38c0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Michael Halstead [Mon, 16 Aug 2021 23:03:49 +0000 (16:03 -0700)]
uninative: Upgrade to 3.3, support glibc 2.34
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4aa4dcd5f31657073f2207a9a4a43247322c7eb1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Wed, 8 Sep 2021 22:45:54 +0000 (23:45 +0100)]
pseudo: Update with fcntl and glibc 2.34 fixes
Pull in the following changes:
* ports/linux/guts: Add closefrom support for glibc 2.34
* pseudo_client: Make msg static in pseudo_op_client
* ports/linux/guts: Add close_range wrapper for glibc 2.34
* pseudo_client: Do not pass null argument to pseudo_diag()
* test-openat: Consider device as well as inode number
* test: Add missing test-statx test case
* fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 71b549924a7fa7973a8e03e11f3db45fdc29889d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Tue, 17 Aug 2021 14:21:26 +0000 (15:21 +0100)]
pseudo: Fix to work with glibc 2.34 systems
The merge of libdl into libc in glibc 2.34 causes problems for pseudo. Add a fix
that works around this issue.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd3e46a043c81cd4d81731a0f691868d3c059742) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Jose Quaresma [Sun, 3 Oct 2021 21:31:50 +0000 (22:31 +0100)]
patch.bbclass: when the patch fails show more info on the fatal error
There are situations when the user have the 'patchdir' defined
as a parameter on SRC_URI. However he doesn't know that with this
the patch is applied relatively to the receipe source dir 'S'.
- When user have 'patchdir' defined check if this directory exist.
- If the patch fails show addition info to the user:
- Import: show the striplevel
- Resolver: show the expanded 'patchdir' to the user.
The next example is from opencv in meta-oe layer, here the
patch is applied on the target directory ${WORKDIR}/git/contrib.
* When the patch fail there are no message that indicates the real reason.
patchdir=../no-found-on-file-system
ERROR: opencv-4.5.2-r0 do_patch: Command Error: 'quilt --quiltrc /build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
* The check of the patchdir will add a new fatal error
when the user specifies a wrong path than don't exist.
patchdir=../no-found-on-file-system
ERROR: opencv-4.5.2-r0 do_patch: Target directory '/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../no-found-on-file-system' not found, patchdir '../no-found-on-file-system' is incorrect in patch file '0001-sfm-link-with-Glog_LIBS.patch'
* When we can't aplly the patch but the patchdir exist,
show the expanded patchdir on fatal error.
patchdir=../git
ERROR: opencv-4.5.2-r0 do_patch: Applying patch '0001-sfm-link-with-Glog_LIBS.patch' on target directory '/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../git'
Command Error: 'quilt --quiltrc /build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c44bc7c0fb8b7c2e44dd93607a3bfd9733e1df80) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ralph Siemsen [Tue, 14 Sep 2021 19:15:47 +0000 (15:15 -0400)]
tar: filter CVEs using vendor name
Recently a number of CVEs have been logged against a nodejs project
called "node-tar". These appear as false positives against the GNU tar
being built by Yocto. Some of these have been manually excluded using
CVE_CHECK_WHITELIST.
To avoid this problem, use the vendor name (in addition to package name)
for filtering CVEs. The syntax for this is:
CVE_PRODUCT = "vendor:package"
When not specified, the vendor defaults to "%" which matches anything.
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 45d1a0bea0c628f84a00d641a4d323491988106f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Claudius Heine [Fri, 17 Sep 2021 08:08:04 +0000 (10:08 +0200)]
rng-tools: add systemd-udev-settle wants to service
rngd needs to start after `systemd-udev-settle` in order for the kernel
modules of the random source hardware to be loaded before it is started.
However, since the `rngd.service` does not require or want
`systemd-udev-settle.service` it might not be scheduled for start and
the `After=systemd-udev-settle.service` there has no effect.
Adding `Wants=systemd-udev-settle.service` provides a weak requirement
to it, so that the `rngd` is started after it, if possible.
Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9715d4234eb7b45dee8b323799014646f0a1b07) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add a check before deleting path when using recipetool commands to avoid the following type of errors:
Traceback (most recent call last):
File "<workdir>/sources/core/scripts/lib/scriptutils.py", line 218, in fetch_url
shutil.rmtree(path)
File "/usr/local/lib/python3.7/shutil.py", line 476, in rmtree
onerror(os.lstat, path, sys.exc_info())
File "/usr/local/lib/python3.7/shutil.py", line 474, in rmtree
orig_st = os.lstat(path)
FileNotFoundError: [Errno 2] No such file or directory: '<workdir>/build/tmp/work/recipetool-usg7o81n/work/recipe-sysroot'
ERROR: Command 'script -e -q -c "recipetool --color=always create --devtool -o /tmp/devtool5sq_op37 'file:///<SRCTREE>' -x <workdir>/build/workspace/sources/devtoolsrcxc1b9zjq -N test" /dev/null' failed
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b6aa8b47e023004ffd6958d1cec18c2d9c95d77b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Jon Mason [Thu, 7 Oct 2021 15:06:23 +0000 (11:06 -0400)]
oeqa/manual: Fix no longer valid URLs
autobuilder.yoctoproject.org URLS no longer work. Update them to a
working location.
Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56f7bac1f0d1ced41e6908706be27149aa7b87e2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Thu, 7 Oct 2021 14:26:58 +0000 (15:26 +0100)]
multilib: Avoid sysroot race issues when multilib enabled
Multilib changes RECIPE_SYSROOT which can make the value in PSEUDO_IGNORE_PATHS
incorrect. Add the correct value, which fixes races over files in the sysroot.
[YOCTO #14581]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64003e5e1b51c0cd561681b1ac13293546b8182b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Pavel Zhukov [Wed, 6 Oct 2021 11:19:13 +0000 (13:19 +0200)]
weston: Use systemd notify,
Using systemd notify fixes the problem with dependency chain in case
if other services depend on running weston.
This change required more robust handling of weston modules arguments
due to custom argument parser impmentation in weston (only last
--modules argument is accepted) and fixes the bug in modules handling
in the weston-start script (only last argument is actually parsed by
weston). Master branch implements systemd-notify thus backport but
doesn't utilize modules anymore so this change is mostly dunfell
specific.
Upstream-status: Backport
Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Wang Mingyu [Fri, 5 Feb 2021 02:27:50 +0000 (10:27 +0800)]
e2fsprogs: upgrade 1.45.6 -> 1.45.7
0001-fix-up-check-for-hardlinks-always-false-if-inode-0xF.patch
removed since it is included in 1.45.7
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f51835e022731d1c0e8e18209e48f1a718048977) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Drop backports, and also 0001-misc-create_inode.c-set-dir-s-mode-correctly.patch
as upstream code has been refactored.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da9fec8592db913d13af3a936ab518e93496be3e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Wed, 6 Oct 2021 00:13:58 +0000 (20:13 -0400)]
linux-yocto/5.4: update to v5.4.150
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
3a7dc5b4cfbd Linux 5.4.150 27f8c4402c4a qnx4: work around gcc false positive warning bug 3a0f951e3725 xen/balloon: fix balloon kthread freezing f80b6793811d arm64: dts: marvell: armada-37xx: Extend PCIe MEM space 04783de9c0f3 thermal/drivers/int340x: Do not set a wrong tcc offset on resume de1c3506806d EDAC/synopsys: Fix wrong value type assignment for edac_mode 8ede848bc99e spi: Fix tegra20 build with CONFIG_PM=n d193f7dbf4ec net: 6pack: Fix tx timeout and slot time fa56f2c987c7 alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile af4a142ab798 arm64: Mark __stack_chk_guard as __ro_after_init aeb19da46c7d parisc: Use absolute_pointer() to define PAGE0 8cd34eb616d9 qnx4: avoid stringop-overread errors 1214ace61402 sparc: avoid stringop-overread errors 113a8edfb9c9 net: i825xx: Use absolute_pointer for memcpy from fixed memory location 2397ea2db22b compiler.h: Introduce absolute_pointer macro d12ddd843f18 blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd 9d7798823264 sparc32: page align size in arch_dma_alloc ec49f3f7f669 nvme-multipath: fix ANA state updates when a namespace is not present 29917bbb07c3 xen/balloon: use a kernel thread instead a workqueue 93937596e065 bpf: Add oversize check before call kvcalloc() 7273cb182f13 ipv6: delay fib6_sernum increase in fib6_add 7432ecc55fe9 m68k: Double cast io functions to unsigned long 29c70b0d335a net: stmmac: allow CSR clock of 300MHz 1da750d1e214 net: macb: fix use after free on rmmod ebb8d26d93c3 blktrace: Fix uaf in blk_trace access after removing by sysfs 2b5befcd4045 md: fix a lock order reversal in md_alloc 42d3711c2378 irqchip/gic-v3-its: Fix potential VPE leak on error 71f323f60592 irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build 1b59625da697 scsi: lpfc: Use correct scnprintf() limit 30d373dc3501 scsi: qla2xxx: Restore initiator in dual mode d140ccb140c2 cifs: fix a sign extension bug 1c1062c5cf21 thermal/core: Potential buffer overflow in thermal_build_list_of_policies() b869901caba4 fpga: machxo2-spi: Fix missing error code in machxo2_write_complete() 0ebc3e688f54 fpga: machxo2-spi: Return an error on failure 5bcead7cde68 tty: synclink_gt: rename a conflicting function name c5f27aedf6bb tty: synclink_gt, drop unneeded forward declarations 1deb94d37a7e scsi: iscsi: Adjust iface sysfs attr detection d0f4a2eeebbe net/mlx4_en: Don't allow aRFS for encapsulated packets ae7b957ef003 qed: rdma - don't wait for resources under hw error recovery flow 23716d7153fc gpio: uniphier: Fix void functions to remove return value f7fb7dbdfb25 net/smc: add missing error check in smc_clc_prfx_set() 363438ed5de0 bnxt_en: Fix TX timeout when TX ring size is set to the smallest 4c4c3052911b enetc: Fix illegal access when reading affinity_hint cf9138c966dd platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR() a8e8b1481930 afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation acce91ba0d9f net: hso: fix muxed tty registration 494260e20ac2 serial: mvebu-uart: fix driver's tx_empty callback 2d7c20db7220 xhci: Set HCD flag to defer primary roothub registration 381c8ce0abc0 btrfs: prevent __btrfs_dump_space_info() to underflow its free space d4ec140e7158 erofs: fix up erofs_lookup tracepoint 7751f609eadf mcb: fix error handling in mcb_alloc_bus() 406ff5bf727d USB: serial: option: add device id for Foxconn T99W265 4b2cf0faffce USB: serial: option: remove duplicate USB device ID 59564b0183cb USB: serial: option: add Telit LN920 compositions 5cc674a3f18e USB: serial: mos7840: remove duplicated 0xac24 device ID 20c9fdde30fb usb: core: hcd: Add support for deferring roothub registration a6c7d3c2d127 Re-enable UAS for LaCie Rugged USB3-FW with fk quirk 4dc56951a8d9 staging: greybus: uart: fix tty use after free aa2c274c279f binder: make sure fd closes complete 93fa08e9a32f USB: cdc-acm: fix minor-number release 0dc1cfa7b907 USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter 85d3493085ab usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c d4e7647695c9 xen/x86: fix PV trap handling on secondary processors 8b06b0f17f35 cifs: fix incorrect check for null pointer in header_assemble b1f6efa27b24 usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned() b8c806065160 usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA ff275c870e1b usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave f013a5001b4a usb: gadget: r8a66597: fix a loop in set_feature() aa40438c7174 ocfs2: drop acl cache for directories too
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Wed, 6 Oct 2021 00:13:57 +0000 (20:13 -0400)]
linux-yocto/5.4: update to v5.4.149
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e74e2950a0d6 Linux 5.4.149 382526348612 drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV 409cb0b3d45a rtc: rx8010: select REGMAP_I2C 43832bf76363 blk-throttle: fix UAF by deleteing timer in blk_throtl_exit() c37a34d7975f pwm: stm32-lp: Don't modify HW state in .remove() callback 8a29e68ea8e8 pwm: rockchip: Don't modify HW state in .remove() callback ed60d2db3171 pwm: img: Don't modify HW state in .remove() callback b16f4acf6b65 nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group 594addd4369e nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group 237ca37ca5ac nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group 288c8b5ba52d nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group dc70f0c8c3de nilfs2: fix NULL pointer in nilfs_##name##_attr_release 9c3ba404881d nilfs2: fix memory leak in nilfs_sysfs_create_device_group fb4c7d2923de btrfs: fix lockdep warning while mounting sprout fs 3f2d5c11bef8 ceph: lockdep annotations for try_nonblocking_invalidate 3bbb11261a75 ceph: request Fw caps before updating the mtime in ceph_write_iter 2c89a856fa49 dmaengine: xilinx_dma: Set DMA mask for coherent APIs 2f3206199dc9 dmaengine: ioat: depends on !UML 644f1e87fe73 dmaengine: sprd: Add missing MODULE_DEVICE_TABLE 445a3379f6df parisc: Move pci_dev_is_behind_card_dino to where it is used 2f7bfc07e386 drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION() a12743d07249 thermal/core: Fix thermal_cooling_device_register() prototype c7b9a866ee25 Kconfig.debug: drop selecting non-existing HARDLOCKUP_DETECTOR_ARCH 3c1d9b650c08 net: stmmac: reset Tx desc base address before restarting Tx 729f9d5ee374 phy: avoid unnecessary link-up delay in polling mode 81e6b51709da pwm: lpc32xx: Don't modify HW state in .probe() after the PWM chip was registered b94def8a475f profiling: fix shift-out-of-bounds bugs 7e98111cb28e nilfs2: use refcount_dec_and_lock() to fix potential UAF 5607b1bae1c8 prctl: allow to setup brk for et_dyn executables b40301607ca8 9p/trans_virtio: Remove sysfs file on probe failure c3b45ea0a3c8 thermal/drivers/exynos: Fix an error code in exynos_tmu_probe() e1060803039d dmaengine: acpi: Avoid comparison GSI with Linux vIRQ 93f8a98ad89c um: virtio_uml: fix memory leak on init failures 4cd05e390a3b staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb() 2f4b67bceb09 sctp: add param size validation for SCTP_PARAM_SET_PRIMARY cbd10b118902 sctp: validate chunk size in __rcv_asconf_lookup 6a12918e9065 ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without DYNAMIC_FTRACE 2f7974cd7b12 ARM: 9079/1: ftrace: Add MODULE_PLTS support 1b27a03d1292 ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link() 490be340c86c ARM: 9077/1: PLT: Move struct plt_entries definition to header 278df0646003 apparmor: remove duplicate macro list_entry_is_head() f23763ab464f ARM: Qualify enabling of swiotlb_init() 6bfdc3056ca8 s390/pci_mmio: fully validate the VMA before calling follow_pte() bd292c687390 console: consume APC, DM, DCS b0c813fbbf75 KVM: remember position in kvm->vcpus array 5163578e9d0b PCI/ACPI: Add Ampere Altra SOC MCFG quirk ec29e33e5cba PCI: aardvark: Fix reporting CRS value 3f0e275e43f6 PCI: pci-bridge-emul: Add PCIe Root Capabilities Register 296895c4f0c8 PCI: aardvark: Indicate error in 'val' when config read fails 2fcb7b7a1d20 PCI: pci-bridge-emul: Fix big-endian support 07e5f23d3fa6 Linux 5.4.148 54ac8339ae99 s390/bpf: Fix 64-bit subtraction of the -0x80000000 constant a5fc48000b0e s390/bpf: Fix optimizing out zero-extensions f7f1bac8983f net: renesas: sh_eth: Fix freeing wrong tx descriptor 3d32ce5472bb ip_gre: validate csum_start only on pull f9b308f7302e qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom 93f54354ccc8 fq_codel: reject silly quantum parameters d448b240b175 netfilter: socket: icmp6: fix use-after-scope b79204169de5 net: dsa: b53: Fix calculating number of switch ports d5c0f016ae85 perf unwind: Do not overwrite FEATURE_CHECK_LDFLAGS-libunwind-{x86,aarch64} 114bf5776f56 ARC: export clear_user_page() for modules 9b63c27d6b70 mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()' 14e0fdc43ddf PCI: Sync __pci_register_driver() stub for CONFIG_PCI=n 810f9b6f0a40 KVM: arm64: Handle PSCI resets before userspace touches vCPU state 5f289dcf0b02 mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set e1746c27c373 PCI: Fix pci_dev_str_match_path() alloc while atomic bug beaf65f0fe0c mfd: axp20x: Update AXP288 volatile ranges 4a6c7c818bcb NTB: perf: Fix an error code in perf_setup_inbuf() 5a1614194963 NTB: Fix an error code in ntb_msit_probe() 098069796940 ethtool: Fix an error code in cxgb2.c f336aa92b431 PCI: ibmphp: Fix double unmap of io_mem 0f9550c4f40d block, bfq: honor already-setup queue merges b61a99dda392 net: usb: cdc_mbim: avoid altsetting toggling for Telit LN920 79b584d85912 Set fc_nlinfo in nh_create_ipv4, nh_create_ipv6 cf4168c4e0ec PCI: Add ACS quirks for Cavium multi-function devices b3435cd96848 tracing/probes: Reject events which have the same name of existing one 32280649f044 mfd: Don't use irq_create_mapping() to resolve a mapping e904621ae0b7 fuse: fix use after free in fuse_read_interrupt() a1eaaa6b7d88 PCI: Add ACS quirks for NXP LX2xx0 and LX2xx2 platforms 47c4490617d1 mfd: db8500-prcmu: Adjust map to reality 88834a62539f dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation 86565668215f mm/memory_hotplug: use "unsigned long" for PFN in zone_for_pfn_range() d291cca2c4f7 net: hns3: fix the timing issue of VF clearing interrupt sources 65bcb8f73ae3 net: hns3: disable mac in flr process d8fe64c3511e net: hns3: change affinity_mask to numa node range dede0381da0b net: hns3: pad the short tunnel frame before sending to hardware 4bf2c9605dff KVM: PPC: Book3S HV: Tolerate treclaim. in fake-suspend mode changing registers 235f782d5e3b ibmvnic: check failover_pending in login response d3939844ebdc dt-bindings: arm: Fix Toradex compatible typo c642afd17ab5 qed: Handle management FW error 9ebbb8b964f5 tcp: fix tp->undo_retrans accounting in tcp_sacktag_one() baf450477143 net: dsa: destroy the phylink instance on any error in dsa_slave_phy_setup 498e765b8595 net/af_unix: fix a data-race in unix_dgram_poll e7332a1ac14e vhost_net: fix OoB on sendmsg() failure. 172749c879f5 events: Reuse value read using READ_ONCE instead of re-reading it cd78d9c9968f net/mlx5: Fix potential sleeping in atomic context 48e79555c22c net/mlx5: FWTrace, cancel work on alloc pd error flow 4655f8a5afc2 perf machine: Initialize srcline string member in add_location struct 6808e70a77e9 tipc: increase timeout in tipc_sk_enqueue() 678787dcfe92 r6040: Restore MDIO clock frequency after MAC reset efe35db94897 net/l2tp: Fix reference count leak in l2tp_udp_recv_core 5ab04a4ffed0 dccp: don't duplicate ccid when cloning dccp sock 6c4b7a87ba79 ptp: dp83640: don't define PAGE0 faf9d465425b net-caif: avoid user-triggerable WARN_ON(1) 79ab38864d5e tipc: fix an use-after-free issue in tipc_recvmsg 08f33350ed8a x86/mm: Fix kern_addr_valid() to cope with existing but not present entries fde4caf6fe4d s390/sclp: fix Secure-IPL facility detection 15b674b1e581 drm/etnaviv: add missing MMU context put when reaping MMU mapping b2ec1e6f1d6f drm/etnaviv: reference MMU context when setting up hardware state 5827dbac41c7 drm/etnaviv: fix MMU context leak on GPU reset 5e67b3843540 drm/etnaviv: exec and MMU state is lost when resetting the GPU 7068030d5e26 drm/etnaviv: keep MMU context across runtime suspend/resume a7970d4f0039 drm/etnaviv: stop abusing mmu_context as FE running marker ee52ccecfe2c drm/etnaviv: put submit prev MMU context when it exists a9bacefda031 drm/etnaviv: return context from etnaviv_iommu_context_get b56b6c51a919 drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10 c221eb008a98 PCI: Add AMD GPU multi-function power dependencies d180a373a014 PM: base: power: don't try to use non-existing RTC for storing data 484fbe9cc0d9 arm64/sve: Use correct size when reinitialising SVE state 2f725420339e bnx2x: Fix enabling network interfaces without VFs 66c88a479357 xen: reset legacy rtc flag for PV domU c7fab1f53603 btrfs: fix upper limit for max_inline for page size 64K b9cc70e3dcb4 drm/panfrost: Clamp lock region to Bifrost minimum 9a6c88548935 drm/panfrost: Use u64 for size in lock_region 6c635129bf49 drm/panfrost: Simplify lock_region calculation 825ba38dfd6a drm/amdgpu: Fix BUG_ON assert d7a936da6389 drm/msi/mdp4: populate priv->kms in mdp4_kms_init 90358cb02a6c net: dsa: lantiq_gswip: fix maximum frame length c1f12f440c0b lib/test_stackinit: Fix static initializer test 3c232895b835 platform/chrome: cros_ec_proto: Send command again when timeout occurs 0569920e4310 memcg: enable accounting for pids in nested pid namespaces d0ddb80bbf10 mm,vmscan: fix divide by zero in get_scan_count 22b11dbbf94c mm/hugetlb: initialize hugetlb_usage in mm_init 1dc6df795c9f s390/pv: fix the forcing of the swiotlb f3b57cf09012 cpufreq: powernv: Fix init_chip_info initialization in numa=off b5eb54c4a903 scsi: qla2xxx: Sync queue idx with queue_pair_map idx f499a9e9edde scsi: qla2xxx: Changes to support kdump kernel cfa459132875 scsi: BusLogic: Fix missing pr_cont() use a701ae9a0dd6 ovl: fix BUG_ON() in may_delete() when called from ovl_cleanup() 1a2f728b034a parisc: fix crash with signals and alloca 76bebc93e1c9 net: w5100: check return value after calling platform_get_resource() 3179dd79dbcf fix array-index-out-of-bounds in taprio_change ef9a7867b25f net: fix NULL pointer reference in cipso_v4_doi_free 88a4ed85e80f ath9k: fix sleeping in atomic context 99b950d55e59 ath9k: fix OOB read ar9300_eeprom_restore_internal 5f70ea4a5c84 parport: remove non-zero check on count c30ea33b03ff net/mlx5: DR, Enable QP retransmission c9095f788d03 iwlwifi: mvm: fix access to BSS elements f950996d64df iwlwifi: mvm: avoid static queue number aliasing 2db5ae5b28e7 iwlwifi: mvm: fix a memory leak in iwl_mvm_mac_ctxt_beacon_changed 3da13a1e2a45 drm/amdkfd: Account for SH/SE count when setting up cu masks. 2af60889c88e ASoC: rockchip: i2s: Fixup config for DAIFMT_DSP_A/B 98381f840f22 ASoC: rockchip: i2s: Fix regmap_ops hang a1c7bc02e192 usbip:vhci_hcd USB port can get stuck in the disabled state 4f6095b0c9d5 usbip: give back URBs for unsent unlink requests during cleanup 9a4a6805294f usb: musb: musb_dsps: request_irq() after initializing musb d24381e5a73b Revert "USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set" aa40cf19bfa9 cifs: fix wrong release in sess_alloc_buffer() failed path 39111cbb7b7c mmc: core: Return correct emmc response in case of ioctl error 26f55b60f22f selftests/bpf: Enlarge select() timeout for test_maps 48f5a5f0276d mmc: rtsx_pci: Fix long reads when clock is prescaled 4e773c5553b2 mmc: sdhci-of-arasan: Check return value of non-void funtions a73bbfabfe6f of: Don't allow __of_attached_node_sysfs() without CONFIG_SYSFS 2fdf7d38ee86 ASoC: Intel: Skylake: Fix passing loadable flag for module f6ff4d5609ca ASoC: Intel: Skylake: Fix module configuration for KPB and MIXER 736f60bd4883 btrfs: tree-log: check btrfs_lookup_data_extent return value 53a72858bcae m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch 3710cff57d3c drm/exynos: Always initialize mapping in exynos_drm_register_dma() 727c973ffe51 lockd: lockd server-side shouldn't set fl_ops a18cfd715e91 usb: chipidea: host: fix port index underflow and UBSAN complains 8deedce385d2 gfs2: Don't call dlm after protocol is unmounted 50cf8f1b6c39 staging: rts5208: Fix get_ms_information() heap buffer size 8dfd785ae110 rpc: fix gss_svc_init cleanup on failure 0bc818e0231a tcp: enable data-less, empty-cookie SYN with TFO_SERVER_COOKIE_NOT_REQD 2918eca4970a serial: sh-sci: fix break handling for sysrq d02a1c5fd7d9 opp: Don't print an error if required-opps is missing d772d993b072 Bluetooth: Fix handling of LE Enhanced Connection Complete fb8593e8ed36 nvme-tcp: don't check blk_mq_tag_to_rq when receiving pdu data 072660f6c688 arm64: dts: ls1046a: fix eeprom entries 08825a784e56 arm64: tegra: Fix compatible string for Tegra132 CPUs a6b69a76c347 ARM: tegra: tamonten: Fix UART pad setting a66049c5ff74 mac80211: Fix monitor MTU limit so that A-MSDUs get through 1e2842fb7ed3 drm/display: fix possible null-pointer dereference in dcn10_set_clock() cf82fe45bef9 gpu: drm: amd: amdgpu: amdgpu_i2c: fix possible uninitialized-variable access in amdgpu_i2c_router_select_ddc_port() bbaa21da550d net/mlx5: Fix variable type to match 64bit 0d563020b8a3 Bluetooth: avoid circular locks in sco_sock_connect 37d7ae2b0578 Bluetooth: schedule SCO timeouts with delayed_work c408efcb8ae6 selftests/bpf: Fix xdp_tx.c prog section name 350e7501eee8 drm/msm: mdp4: drop vblank get/put from prepare/complete_commit e5450804778a net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe() ed3400f22b58 arm64: dts: qcom: sdm660: use reg value for memory node 52f8a30730ee ARM: dts: imx53-ppd: Fix ACHC entry e15afa6747fa media: tegra-cec: Handle errors of clk_prepare_enable() 53d02b04098b media: TDA1997x: fix tda1997x_query_dv_timings() return value 71de2779e52a media: v4l2-dv-timings.c: fix wrong condition in two for-loops d785cef384f1 media: imx258: Limit the max analogue gain to 480 33bd83fe3ffd media: imx258: Rectify mismatch of VTS value 8d179746b3f3 ASoC: Intel: bytcr_rt5640: Move "Platform Clock" routes to the maps for the matching in-/output 37414bd6ec51 arm64: tegra: Fix Tegra194 PCIe EP compatible string 5a24034ad87f bonding: 3ad: fix the concurrency between __bond_release_one() and bond_3ad_state_machine_handler() b6cee3583930 workqueue: Fix possible memory leaks in wq_numa_init() 9b4f0170e03d Bluetooth: skip invalid hci_sync_conn_complete_evt 7b1718666fb0 ata: sata_dwc_460ex: No need to call phy_exit() befre phy_init() 76cbc142a546 samples: bpf: Fix tracex7 error raised on the missing argument 917eb0bbb8d3 staging: ks7010: Fix the initialization of the 'sleep_status' structure 44fd61a8bd0d serial: 8250_pci: make setup_port() parameters explicitly unsigned 4beadefea857 hvsi: don't panic on tty_register_driver failure af0bd97b9d71 xtensa: ISS: don't panic in rs_init 5418023f81cd serial: 8250: Define RX trigger levels for OxSemi 950 devices b050848bba7d s390: make PCI mio support a machine flag 0dd8da8ad04b s390/jump_label: print real address in a case of a jump label bug 91b4d44c7c4d flow_dissector: Fix out-of-bounds warnings 8076709052e1 ipv4: ip_output.c: Fix out-of-bounds warning in ip_copy_addrs() faf0749c9062 video: fbdev: riva: Error out if 'pixclock' equals zero ae0d210aa717 video: fbdev: kyro: Error out if 'pixclock' equals zero 98551f0a7b57 video: fbdev: asiliantfb: Error out if 'pixclock' equals zero 9dff06c50572 bpf/tests: Do not PASS tests without actually testing the result 58831317c9b1 bpf/tests: Fix copy-and-paste error in double word test a23430e79ef7 drm/amd/amdgpu: Update debugfs link_settings output link_rate field in hex 9baa552b2f76 drm/amd/display: Fix timer_per_pixel unit error 6c78ee1aecb9 tty: serial: jsm: hold port lock when reporting modem line changes 7993ee173378 staging: board: Fix uninitialized spinlock when attaching genpd 995567ded019 usb: gadget: composite: Allow bMaxPower=0 if self-powered 44bbd4e6366f USB: EHCI: ehci-mv: improve error handling in mv_ehci_enable() 7b96de5c3042 usb: gadget: u_ether: fix a potential null pointer dereference e1480bcb407e usb: host: fotg210: fix the actual_length of an iso packet 33109bdf2c41 usb: host: fotg210: fix the endpoint's transactional opportunities calculation b190fdb93a9f igc: Check if num of q_vectors is smaller than max before array access f4bf2fdfe37b drm: avoid blocking in drm_clients_info's rcu section a1d12196c375 Smack: Fix wrong semantics in smk_access_entry() c454b1a2155c netlink: Deal with ESRCH error in nlmsg_notify() 5adbbb27bb7c video: fbdev: kyro: fix a DoS bug by restricting user input 4ee6cc0f52db ARM: dts: qcom: apq8064: correct clock names b9707a950492 iavf: fix locking of critical sections 35429d3aa387 iavf: do not override the adapter state in the watchdog task ab03f15c1db4 iio: dac: ad5624r: Fix incorrect handling of an optional regulator. 0de0c1673927 tipc: keep the skb in rcv queue until the whole data is read fe14f10c07c8 PCI: Use pci_update_current_state() in pci_enable_device_flags() 7d356909744f crypto: mxs-dcp - Use sg_mapping_iter to copy data 80bec14b4e09 media: dib8000: rewrite the init prbs logic 4cab14bcff25 ASoC: atmel: ATMEL drivers don't need HAS_DMA 4a7c6e9159be drm/amdgpu: Fix amdgpu_ras_eeprom_init() d766826eeec4 userfaultfd: prevent concurrent API initialization 7bf2913a5bca kbuild: Fix 'no symbols' warning when CONFIG_TRIM_UNUSD_KSYMS=y 0ac2ecb915e8 MIPS: Malta: fix alignment of the devicetree buffer debdff960034 f2fs: fix to unmap pages from userspace process in punch_hole() 1c28c23dc82e f2fs: fix unexpected ENOENT comes from f2fs_map_blocks() 1ca5b00782df f2fs: fix to account missing .skipped_gc_rwsem ec5cab379832 KVM: PPC: Fix clearing never mapped TCEs in realmode e46ce5a8aba5 clk: at91: clk-generated: Limit the requested rate to our range 557f6445e37f clk: at91: clk-generated: pass the id of changeable parent at registration d93a37889e3a clk: at91: sam9x60: Don't use audio PLL 57188e2cac47 fscache: Fix cookie key hashing e2e3758a2cf9 platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call ba5d4dc003b4 KVM: PPC: Book3S HV Nested: Reflect guest PMU in-use to L0 when guest SPRs are live a02309beb2b8 HID: i2c-hid: Fix Elan touchpad regression f934961bf4e2 scsi: target: avoid per-loop XCOPY buffer allocations 389946024f0e powerpc/config: Renable MTD_PHYSMAP_OF db16408d52a8 scsi: qedf: Fix error codes in qedf_alloc_global_queues() 5e56c8d843fa scsi: qedi: Fix error codes in qedi_alloc_global_queues() a90ef02f012a scsi: smartpqi: Fix an error code in pqi_get_raid_map() 3365d41c0485 pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry() ef476b8d5a9c scsi: fdomain: Fix error return code in fdomain_probe() 9ee7b45eddc4 SUNRPC: Fix potential memory corruption be09cbd6a35f dma-debug: fix debugfs initialization order 9315497b1750 openrisc: don't printk() unconditionally f56ee9af23cc f2fs: reduce the scope of setting fsck tag when de->name_len is zero 2a2afb6d26c6 f2fs: show f2fs instance in printk_ratelimited 25ed0498915a RDMA/efa: Remove double QP type assignment b8bb4b28394a powerpc/stacktrace: Include linux/delay.h 02889ac588bd vfio: Use config not menuconfig for VFIO_NOIOMMU b900cc481618 pinctrl: samsung: Fix pinctrl bank pin count e69c28362116 docs: Fix infiniband uverbs minor number fb42b9801e0a RDMA/iwcm: Release resources if iw_cm module initialization fails 7930b1f98dd8 IB/hfi1: Adjust pkey entry in index 0 2b1addd585a4 scsi: bsg: Remove support for SCSI_IOCTL_SEND_COMMAND a02982545e61 f2fs: quota: fix potential deadlock bd74d6de0b9e HID: input: do not report stylus battery state as "full" 0656eb5e7ed8 PCI: aardvark: Fix masking and unmasking legacy INTx interrupts 2b58db229eb6 PCI: aardvark: Increase polling delay to 1.5s while waiting for PIO response 0f39f8429c82 PCI: aardvark: Fix checking for PIO status d810fa6f5f0f PCI: xilinx-nwl: Enable the clock through CCF d43ad02ad3a8 PCI: Return ~0 data on pciconfig_read() CAP_SYS_ADMIN failure 3aa6d023c6d6 PCI: Restrict ASMedia ASM1062 SATA Max Payload Size Supported 4d2bc69df9fa PCI/portdrv: Enable Bandwidth Notification only if port supports it 0445da50b727 ARM: 9105/1: atags_to_fdt: don't warn about stack size 8ec08f1431ce libata: add ATA_HORKAGE_NO_NCQ_TRIM for Samsung 860 and 870 SSDs 7cfbf391e870 dmaengine: imx-sdma: remove duplicated sdma_load_context 788122c99d85 Revert "dmaengine: imx-sdma: refine to load context only once" 86e1abcd143f media: rc-loopback: return number of emitters rather than error 9d91046f6b4e media: uvc: don't do DMA on stack 1ccb1fa41f4c VMCI: fix NULL pointer dereference when unmapping queue pair 80d167590330 dm crypt: Avoid percpu_counter spinlock contention in crypt_page_alloc() a6d4ac3f861b power: supply: max17042: handle fails of reading status register 668370dd4c90 block: bfq: fix bfq_set_next_ioprio_data() cfdd25cd426d crypto: public_key: fix overflow during implicit conversion 3411b481ed24 arm64: head: avoid over-mapping in map_memory 991b64b89b66 soc: aspeed: p2a-ctrl: Fix boundary check for mmap 2712f29c44f1 soc: aspeed: lpc-ctrl: Fix boundary check for mmap 24c245de17ea soc: qcom: aoss: Fix the out of bound usage of cooling_devs 603dbb1fa272 pinctrl: ingenic: Fix incorrect pull up/down info eda59ca42fde pinctrl: stmfx: Fix hazardous u8[] to unsigned long cast d4acec5e9454 tools/thermal/tmon: Add cross compiling support 8a964aa6ed43 9p/xen: Fix end of loop tests for list_for_each_entry 7d81fcc20316 include/linux/list.h: add a macro to test if entry is pointing to the head 4bc0d1b535da xen: fix setting of max_pfn in shared_info 27f3b7f5c6e0 powerpc/perf/hv-gpci: Fix counter value parsing 7e9e6d0e07ec PCI/MSI: Skip masking MSI-X on Xen PV 2edc06fa381a blk-zoned: allow BLKREPORTZONE without CAP_SYS_ADMIN 8da22cc41ada blk-zoned: allow zone management send operations without CAP_SYS_ADMIN cd7b39e7c475 btrfs: reset replace target device to allocation state on close 8554095328ac btrfs: wake up async_delalloc_pages waiters after submit d609c63a7165 rtc: tps65910: Correct driver module alias 48a24510c328 Linux 5.4.147 1f8ee024498d Revert "time: Handle negative seconds correctly in timespec64_to_ns()" dc15f641c6cc Revert "posix-cpu-timers: Force next expiration recalc after itimer reset" 541e757944aa Revert "block: nbd: add sanity check for first_minor" 5f3ecbf4d586 Revert "Bluetooth: Move shutdown callback before flushing tx and rx queue" 245f15a48cdc Linux 5.4.146 b40facee46db clk: kirkwood: Fix a clocking boot regression 8810c51077b0 backlight: pwm_bl: Improve bootloader/kernel device handover 5de2ee621bc4 fbmem: don't allow too huge resolutions 4a95b04afab5 IMA: remove the dependency on CRYPTO_MD5 c69935f0b0aa IMA: remove -Wmissing-prototypes warning 85b0726d5bd7 fuse: flush extending writes 8a98ced6e1c8 fuse: truncate pagecache on atomic_o_trunc 06dad664d4ea KVM: nVMX: Unconditionally clear nested.pi_pending on nested VM-Enter 1735cec1e83c KVM: x86: Update vCPU's hv_clock before back to guest when tsc_offset is adjusted 20fff3ef33b2 KVM: s390: index kvm->arch.idle_mask by vcpu_idx 0323ab5b254e x86/resctrl: Fix a maybe-uninitialized build warning treated as error 51f4575ca182 perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op 03c3e977eeac tty: Fix data race between tiocsti() and flush_to_ldisc() 7a25a0a94c8b time: Handle negative seconds correctly in timespec64_to_ns() ae968e270f2e bpf: Fix pointer arithmetic mask tightening under state pruning a0a4778feae1 bpf: verifier: Allocate idmap scratch in verifier env f5893af2704e bpf: Fix leakage due to insufficient speculative store bypass mitigation e80c3533c354 bpf: Introduce BPF nospec instruction for mitigating Spectre v4 1c9424a765af ipv4: fix endianness issue in inet_rtm_getroute_build_skb() b3fe6d192126 octeontx2-af: Fix loop in free and unmap counter 8216d7157bcf net: qualcomm: fix QCA7000 checksum handling 4648917e499c net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed e46e23c289f6 ipv4: make exception cache less predictible f73cbdd1b8e7 ipv6: make exception cache less predictible aa167dcde4c7 brcmfmac: pcie: fix oops on failure to resume and reprobe 5debec63a28f bcma: Fix memory leak for internally-handled cores 574e563649ec ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point() d946e685d6b7 ASoC: wcd9335: Disable irq on slave ports in the remove function f3ec07f832bb ASoC: wcd9335: Fix a memory leak in the error handling path of the probe function a6088f4ed3fc ASoC: wcd9335: Fix a double irq free in the remove function 7bfa680f3b47 tty: serial: fsl_lpuart: fix the wrong mapbase value 0f1375fa693b usb: bdc: Fix an error handling path in 'bdc_probe()' when no suitable DMA config is available 06203abb7275 usb: ehci-orion: Handle errors of clk_prepare_enable() in probe a0a9ecca2dc4 i2c: mt65xx: fix IRQ check b444064a0e0e CIFS: Fix a potencially linear read overflow e37eeaf9506c bpf: Fix possible out of bound write in narrow load handling fb8e695e9cfa mmc: moxart: Fix issue with uninitialized dma_slave_config 48b1f117e8d0 mmc: dw_mmc: Fix issue with uninitialized dma_slave_config 57314d8414d1 ASoC: Intel: Skylake: Fix module resource and format selection 92397571c243 ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCs b58cf18e384d rsi: fix an error code in rsi_probe() d82fe3dd0b0f rsi: fix error code in rsi_load_9116_firmware() 4be8deab6f0d i2c: s3c2410: fix IRQ check da3e5f32049a i2c: iop3xx: fix deferred probing 2da3272ae0ea Bluetooth: add timeout sanity check to hci_inquiry 70d71611eb83 mm/swap: consider max pages in iomap_swapfile_add_extent 8f5e26053c46 usb: gadget: mv_u3d: request_irq() after initializing UDC eb3c6a25012f nfsd4: Fix forced-expiry locking 81e69d3fdd9e lockd: Fix invalid lockowner cast after vfs_test_lock e1c02e2e6a7a mac80211: Fix insufficient headroom issue for AMSDU 606668e24a0d usb: phy: tahvo: add IRQ check ecf18ac8ff76 usb: host: ohci-tmio: add IRQ check abbcd61d091f Bluetooth: Move shutdown callback before flushing tx and rx queue 93ec1fd04f0f usb: gadget: udc: renesas_usb3: Fix soc_device_match() abuse 30d9607bcd73 usb: phy: twl6030: add IRQ checks e1473ac28563 usb: phy: fsl-usb: add IRQ check 9535f55d0cba usb: gadget: udc: at91: add IRQ check 05e5b16b79dc drm/msm/dsi: Fix some reference counted resource leaks 5ccb04c6e1fb Bluetooth: fix repeated calls to sco_sock_kill c2451d5439d0 counter: 104-quad-8: Return error when invalid mode during ceiling_write a1194b805c90 arm64: dts: exynos: correct GIC CPU interfaces address range on Exynos7 1b6fcd10375a drm/msm/dpu: make dpu_hw_ctl_clear_all_blendstages clear necessary LMs 156eaacba3d2 PM: EM: Increase energy calculation precision 5537dc810b2a Bluetooth: increase BTNAMSIZ to 21 chars to fix potential buffer overflow c0faa638f016 debugfs: Return error during {full/open}_proxy_open() on rmmod f44714b4eb2a soc: qcom: smsm: Fix missed interrupts if state changes while masked e7997fe3e9ca PCI: PM: Enable PME if it can be signaled from D3cold 9e570f3d4777 PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistently f865b316ccc6 media: venus: venc: Fix potential null pointer dereference on pointer fmt d2ea2f0725cc media: em28xx-input: fix refcount bug in em28xx_usb_disconnect ebf570042b5f leds: trigger: audio: Add an activate callback to ensure the initial brightness is set 0a01dc77662c leds: lt3593: Put fwnode in any case during ->probe() e39c73563a38 i2c: highlander: add IRQ check fba783ddd945 net: cipso: fix warnings in netlbl_cipsov4_add_std 9fdac650c413 cgroup/cpuset: Fix a partition bug with hotplug ffde05819953 net/mlx5e: Prohibit inner indir TIRs in IPoIB 87f817c560e6 ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties e55d7cbe1fe2 ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties 4b0bbc412b51 ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties f7058060c01b ARM: dts: meson8: Use a higher default GPU clock frequency 37ed461b52e9 tcp: seq_file: Avoid skipping sk during tcp_seek_last_pos 952136275367 drm/amdgpu/acp: Make PM domain really work 252fad3d0234 netns: protect netns ID lookups with RCU bd1cd32caa67 6lowpan: iphc: Fix an off-by-one check of array index c4895cf45fd5 Bluetooth: sco: prevent information leak in sco_conn_defer_accept() a96eb96ce4c1 media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats 7163014d7d29 media: go7007: remove redundant initialization 810149287981 media: dvb-usb: Fix error handling in dvb_usb_i2c_init fa8aaa769092 media: dvb-usb: fix uninit-value in vp702x_read_mac_addr 88933f9c93a0 media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init f81c89614ee8 soc: qcom: rpmhpd: Use corner in power_off 5b3987f58325 arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties 6c106c73208a ARM: dts: aspeed-g6: Fix HVI3C function-group in pinctrl dtsi 004778bf390a bpf: Fix potential memleak and UAF in the verifier. fa4802c54e69 bpf: Fix a typo of reuseport map in bpf.h. 9a193caf9d79 media: cxd2880-spi: Fix an error handling path 34106f526015 soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally b92893053003 media: TDA1997x: enable EDID support 43282ca83ace drm/panfrost: Fix missing clk_disable_unprepare() on error in panfrost_clk_init() fc9cf2229087 EDAC/i10nm: Fix NVDIMM detection 32d8a3684bba spi: spi-zynq-qspi: use wait_for_completion_timeout to make zynq_qspi_exec_mem_op not interruptible 4206dbc9857b spi: sprd: Fix the wrong WDG_LOAD_VAL 1f70517eac57 regulator: vctrl: Avoid lockdep warning in enable/disable ops d255d6a6457f regulator: vctrl: Use locked regulator_get_voltage in probe path 013177ccc4c5 certs: Trigger creation of RSA module signing key if it's not an RSA key cc74533a47c9 crypto: qat - use proper type for vf_mask b3fa499d72a0 block: nbd: add sanity check for first_minor c60a31db3990 clocksource/drivers/sh_cmt: Fix wrong setting if don't request IRQ for clock source channel 6b10d3d3a9ff lib/mpi: use kcalloc in mpi_resize 57c8e2ea47bc genirq/timings: Fix error return code in irq_timings_test_irqs() 2d00b22c8b81 spi: spi-pic32: Fix issue with uninitialized dma_slave_config b29593d0696d spi: spi-fsl-dspi: Fix issue with uninitialized dma_slave_config 449884aeb358 sched: Fix UCLAMP_FLAG_IDLE setting 67da2d9c9e99 m68k: emu: Fix invalid free in nfeth_cleanup() c68ba4a708fb s390/debug: fix debug area life cycle 7a67a00ea8a7 s390/kasan: fix large PMD pages address alignment check 98296eb3deca udf_get_extendedattr() had no boundary checks. ae4240d1f4bf fcntl: fix potential deadlock for &fasync_struct.fa_lock a6273c8c2aca crypto: qat - do not export adf_iov_putmsg() 7dfa7bb69e13 crypto: qat - fix naming for init/shutdown VF to PF notifications 843b4e713a80 crypto: qat - fix reuse of completion variable 4a988264556c crypto: qat - handle both source of interrupt in VF ISR c2b3f81125a6 crypto: qat - do not ignore errors from enable_vf2pf_comms() 1c189ccef0cf libata: fix ata_host_start() e55b627d6e1f s390/cio: add dev_busid sysfs entry for each subchannel 0423517520d3 power: supply: max17042_battery: fix typo in MAx17042_TOFF eb45ae88bf10 nvmet: pass back cntlid on successful completion 6cb5d6ae687d nvme-rdma: don't update queue count when failing to set io queues 3073ec7f0642 nvme-tcp: don't update queue count when failing to set io queues 93cf19b4d9b3 bcache: add proper error unwinding in bcache_device_init e55f20798f53 isofs: joliet: Fix iocharset=utf8 mount option 0f5cd92e5eb5 udf: Fix iocharset=utf8 mount option 86987cf0fbd2 udf: Check LVID earlier cc608af36e00 hrtimer: Ensure timerfd notification for HIGHRES=n a8457878307f hrtimer: Avoid double reprogramming in __hrtimer_start_range_ns() c322a963d522 posix-cpu-timers: Force next expiration recalc after itimer reset 28996dbb8a74 rcu/tree: Handle VM stoppage in stall detection b7c560ae51c6 sched/deadline: Fix missing clock update in migrate_task_rq_dl() 40db13e3efce crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop() ebf0f71ae3bd power: supply: axp288_fuel_gauge: Report register-address on readb / writeb errors bba2b82d1b48 sched/deadline: Fix reset_on_fork reporting of DL tasks 53a6ef40c6bc crypto: mxs-dcp - Check for DMA mapping errors 344a38789ab2 regmap: fix the offset of register error log a5e42516a61e locking/mutex: Fix HANDOFF condition a0f68fb55ebc Linux 5.4.145 d83f0b39e72e PCI: Call Max Payload Size-related fixup quirks early 0c8277e334da x86/reboot: Limit Dell Optiplex 990 quirk to early BIOS versions d31a4c35b925 xhci: fix unsafe memory usage in xhci tracing e00d39ca92bb usb: mtu3: fix the wrong HS mult value c3ffd3501470 usb: mtu3: use @mult for HS isoc or intr 00b6325590a4 usb: host: xhci-rcar: Don't reload firmware after the completion 7a74ae301c2c ALSA: usb-audio: Add registration quirk for JBL Quantum 800 c1ea74f64209 Revert "btrfs: compression: don't try to compress if we don't have enough pages" f05c74e10463 x86/events/amd/iommu: Fix invalid Perf result due to IOMMU PMC power-gating b1ca1665e674 Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM" cf1222b877b0 mm/page_alloc: speed up the iteration of max_order 17d409c83e76 net: ll_temac: Remove left-over debug message ccadb9143796 powerpc/boot: Delete unneeded .globl _zimage_start 295501c77c4c ipv4/icmp: l3mdev: Perform icmp error route lookup on source device routing table (v2) 6dec8e17b8db USB: serial: mos7720: improve OOM-handling in read_mos_reg() d84708451d90 igmp: Add ip_mc_list lock in ip_check_mc_rcu cd8ad6ed9ae5 media: stkwebcam: fix memory leak in stk_camera_probe 9febc9153fdb ARC: wireup clone3 syscall 417b11d3255c ALSA: pcm: fix divide error in snd_pcm_lib_ioctl cf28619cd9c6 ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17 a8146f149028 ARM: 8918/2: only build return_address() if needed ebad44b6432e cryptoloop: add a deprecation warning d12526ddf5e3 perf/x86/amd/power: Assign pmu.module be1f76fceec4 perf/x86/amd/ibs: Work around erratum #1197 861118d64e50 perf/x86/intel/pt: Fix mask of num_address_ranges 40d23de514cd qede: Fix memset corruption 468623f69683 net: macb: Add a NULL check on desc_ptp 50f73f31ae63 qed: Fix the VF msix vectors flow 92abb09f7ab7 reset: reset-zynqmp: Fixed the argument data type b820c4c651ea gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats 48051387fa80 xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG 56c77c1b5229 kthread: Fix PF_KTHREAD vs to_kthread() race af3cf928b998 ubifs: report correct st_size for encrypted symlinks aa4e216156e8 f2fs: report correct st_size for encrypted symlinks 52d8e5b0abb9 ext4: report correct st_size for encrypted symlinks 228a4203d8b6 fscrypt: add fscrypt_symlink_getattr() for computing st_size 9b3849ba667a ext4: fix race writing to an inline_data file while its xattrs are changing
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Mon, 27 Sep 2021 09:58:08 +0000 (10:58 +0100)]
glew: Stop polluting /tmp during builds
Currently the glew code creates a new directory in /tmp for each make
invocation. This is a bit ugly, don't do that. The patch does break the
dist targets but we don't use them.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a55194f90e11da5671b24391a4aaf2b86a8e1e6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Sat, 25 Sep 2021 15:14:47 +0000 (16:14 +0100)]
oeqa/buildproject: Ensure temp directories are cleaned up
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d10aff865120a5feecc42c24726bd119364e0188) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Sat, 25 Sep 2021 18:02:15 +0000 (19:02 +0100)]
oeqa/selftest/gotoolchain: Fix temp file cleanup
The go tests leave readonly files and directories behind.
Fix this to allow cleanup.
[YOCTO #14575]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5680e95d7bd9fe00a797b2d0deb8cb4790027508) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This makes it possible to name files starting with a hyphen in the work
directory. Without this change rm will fail due to an unexpected option
being passed.
Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f1a63e0de4921ef970114a16d0827fcddcdaa0e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6a8077317ce12e13018ec4472f728dd24880bda9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Sat, 25 Sep 2021 09:21:58 +0000 (10:21 +0100)]
oeqa/qemurunner: Use oe._exit(), not sys.exit()
sys.exit will cause finally statements and other code to run at exit. Since
we're using os.fork() here, os._exit() is apprioriate in this codepath.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec08498ff29de9ccd23be88b9d7af3dab6bbb81e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Mon, 20 Sep 2021 15:40:32 +0000 (16:40 +0100)]
pybootchart: Avoid divide by zero
Avoid a rare divide by zero error if there isn't data point spread.
[YOCTO #14547]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d7e36d01e87ddf89f76f164a0b7d98f597a53fa5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Tom Pollard [Fri, 24 Sep 2021 12:47:57 +0000 (13:47 +0100)]
libsamplerate0: Set correct soname for 0.1.9
Manually patch SHARED_VERSION_INFO, which was missed in
the 0.1.9 release and later incorrectly fixed until 0.2.1
Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cb2e8efd316d44b9b1453882114856e0eb7b3500) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Tom Pollard [Fri, 24 Sep 2021 11:33:52 +0000 (12:33 +0100)]
bzip2: Update soname for libbz2 1.0.8
Set shared library name as libbz2.so.1.0.8, version in configure.ac
already synced via do_configure PV substitution.
Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07e3abc9d282a54add69a6905ec4248f3104219f) Signed-off-by: Steve Sakoman <steve@sakoman.com>