Tim Orling [Tue, 29 Sep 2020 04:49:05 +0000 (21:49 -0700)]
oeqa/selftest/cases/devtool.py: avoid .pyc race
In certain conditions, most likely under heavy load on the
AutoBuilder, the prebuilt .pyc files are attempting to be
executed before they have been completely copied. Avoid
this by not copying the .pyc files (nor the __pycache__
directory). The impact of python3-native recreating the .pyc
files should hopefully be negligible.
YOCTO#13421
YOCTO#13803
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 29 Sep 2020 22:16:38 +0000 (23:16 +0100)]
boost: move the build directory outside of S
Instead of manually creating and deleting build directories, follow the idioms
by setting B to WORKDIR/build, setting do_configure[cleandirs], and using ${B}
where appropriate.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark Jonas [Tue, 29 Sep 2020 18:06:59 +0000 (20:06 +0200)]
Map license names PSF and PSFv2 to PSF-2.0
According to SDPX.org "Python License 2.0" is the overall Python
license, which is comprised of several licenses. "Python Software
Foundation License 2.0" is part of the complete Python license, but is
also used independently by some projects.
So far the license names PSF and PSFv2 found in LICENSE are mapped to
to Python-2.0. This patch maps PSF and PSFv2 to PSF-2.0 und thus
corrects the impression that Python-2.0 and PSF-2.0 are synonymous.
Signed-off-by: Mark Jonas <toertel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the dump_target support when the ssh command fails with
a 'No route to host'. This is will provide additional data when a
Qemu target fails to respond during autobuilder testing. This does
not fix 14002 [0], but may help track down why qemu looses networking
This passes the list of commands to run on the OEQemuTarget when
the TargetDumper needs to run in a test context due to a failure
on the target.
This is added here as a kwargs because the 'd' dictionary is not
available in the staticmethod getTarget in the
OERuntimeTestContextExecutor class. The OEQemuTarget is different
from the QemuTarget which already uses the list of commands from
testimage_dump_target from 'd'. The create_dir() is needed to
initialize the TargetDumper's dump_dir variable.
Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 28 Sep 2020 18:43:28 +0000 (19:43 +0100)]
rpm: add PACKAGECONFIG for the systemd inhibit plugin
RPM ships a systemd inhibit plugin, that will tell systemd to inhibit a
reboot or sleep during a package upgrades.
For native RPM this is entirely useless, and for target it's only useful
if you're using systemd+logind+rpm.
This plugin uses DBus which means it depends on expat -> cmake-native ->
libarchive-native curl-native, which is quite a dependency tree to need
in early build (required to build packages via rpm-native).
It was previously forcibly disabled for native packages but the build
dependency on DBus remained. Add a PACKAGECONFIG for the plugin that is
only enabled for target builds with systemd and explicitly disabled for
native/nativesdk builds, but also keep the explicit disabling of all
plugins as the prioreset plugin also behaves badly inside a build.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changqing Li [Mon, 28 Sep 2020 05:25:17 +0000 (13:25 +0800)]
sysklogd: fix parallel build issue
fix below errors which caused by race condition:
do_package:
ERROR: dwarfsrcfiles failed with exit code 1 (cmd was ['dwarfsrcfiles', 'TOPDIR/tmp-glibc/work/ppc7400-oe-linux/sysklogd/2.1.2-r0/package/usr/lib/libsyslog.a']):
dwarfsrcfiles: TOPDIR/tmp-glibc/work/ppc7400-oe-linux/sysklogd/2.1.2-r0/package/usr/lib/libsyslog.a: not a valid ELF file
do_compile:
arm-oe-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libsyslog.so.0" && ln -s "libsyslog.so.0.0.0" "libsyslog.so.0")
arm-oe-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libsyslog.so" && ln -s "libsyslog.so.0.0.0" "libsyslog.so")
arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-gcc-ar cru .libs/libsyslog.a libsyslog_la-syslog.o ../lib/pidfile.o ../lib/strlcpy.o ../lib/strlcat.o
TOPDIR/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/sysklogd/2.1.2-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ar: `u' modifier ignored since `D' is the default (see `U')
TOPDIR/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/sysklogd/2.1.2-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ar: ../lib/strlcat.o: No such file or directory
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 28 Sep 2020 16:19:00 +0000 (17:19 +0100)]
sstate: set mode explicitly when creating directories in sstate-cache
When creating directories in the sstate-cache, explicitly set the mode
passed to mkdir to 0775 so that the directories are group writable, as
otherwise they cannot be shared with other users.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 28 Sep 2020 16:18:56 +0000 (17:18 +0100)]
rpm: disable libarchive use
libarchive is only needed for the rpm2archive tool, as this is of
limited use and libarchive is a non-trivial build dependency make this
optional and disabled by default.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 28 Sep 2020 16:18:55 +0000 (17:18 +0100)]
utils: respect scheduler affinity in cpu_count()
cpu_count() returns multiprocessing.cpu_count() but that is simply returns
os.cpu_count() so we could use that directly.
However this returns the number of CPUs on the host, not the number of
usable CPUs on the host. If the user is using scheduler affinity then
the number of usable CPUs may be less, so when determining how many cores
we can use check the affinity instead.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 28 Sep 2020 16:18:54 +0000 (17:18 +0100)]
glibc: make nscd optional
NSCD itself is already packaged into its own package, but if it is never
going to be needed then it can be disabled and it won't be called from
glibc at all. Add a PACKAGECONFIG for NSCD that is enabled by default.
As a side effect if NSCD is disable, glibc with and without systemd is
binary identical, which helps sstate reuse.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 26 Sep 2020 11:00:49 +0000 (12:00 +0100)]
staging: Ensure cleaned dependencies are added
Most recipe-sysroot dependencies are handled by these prefuncs. "configure"
is special with a decidated task, prepare_recipe_sysroot which runs
beforehand.
do_prepare_recipe_sysroot does not have to be run before/after
fetch/unpack/patch, they're independent tasks. If fetch/unpack/patch
have sysroot dependencies and those tasks rerun, stale items from the
sysroot could be uninstalled and since prepare_recipe_sysroot doesn't
re-run, they could be missing by the time configure runs.
Fix this by adding the prefunc for do_configure which would ensure
the sysroot is in a good state.
This issue can be reproduced by modifying do_unpack and watching
binutils-native and vulkan-headers failing due to missing makeinfo
or ninja.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is checking the functionality of the RTC(Real Time Clock). The Check_if_RTC_(Real_Time_Clock)_can_work_correctly manual test case from oeqa/manual/bsp-hw can be replace by this runtime test.
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter A. Bigot [Sat, 26 Sep 2020 10:53:09 +0000 (05:53 -0500)]
go-mod.bbclass: use append to add `modcacherw`
This class provided default build flags but includes the base go class
which also provides default flags. Use a different mechanism to
extend the default flags without discarding `-trimpath` from the base
class.
Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.bbclass: ensure symlink_kernsrc task gets run even with externalsrc
Commit c5dfc2586b41 (kernel.bbclass: run do_symlink_kernsrc before
do_patch) fixed a race between do_symlink_kernsrc and
do_populate_lic. However, I missed the fact that when
externalsrc.bbclass is in use, the do_patch task doesn't exist,
meaning that do_symlink_kernsrc now doesn't get run at all, breaking
the build.
We need this task to run regardless of whether do_patch exists or not,
so reinstate the configure->symlink_kernsrc dependency explicitly.
Fixes: c5dfc2586b41 (kernel.bbclass: run do_symlink_kernsrc before
do_patch) Reported-by: Chanho Park <parkch98@gmail.com> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Norman Stetter [Fri, 25 Sep 2020 11:49:43 +0000 (13:49 +0200)]
sstate.bbclass: Check file ownership before doing 'touch -a'
In contrast to 'touching' a file without parameters 'touch -a' can only be
performed by the file owner. In case of a shared sstate-cache served
locally (e.g. over NFS), where the user running bitbake is not the
owner of sstate-cache files, even if he has write access on group level,
the sstate_unpack_package task will fail.
Checking if the file is owned by the user before attempting to run
'touch -a' on it solves this.
Signed-off-by: Norman Stetter <norman.stetter@garz-fricke.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otavio Salvador [Thu, 24 Sep 2020 19:58:00 +0000 (16:58 -0300)]
openssh: Allow enable/disable of rng-tools recommendation on sshd
We are adding a new PACKAGECONFIG option ('rng-tools') to control if we
wish the openssh-sshd to RRECOMMENDS the 'rng-tools' package. We are
enabling it by default so there is no behavior change.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yi Zhao [Thu, 24 Sep 2020 02:41:14 +0000 (10:41 +0800)]
dhcpcd: set service to conflict with connman
As the default network manager, connman has its own internal DHCP
implement. If run dhcpcd and connman simultaneously, they may conflict
with each other.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andrew Geissler [Wed, 23 Sep 2020 18:14:47 +0000 (13:14 -0500)]
systemd: Upgrade v246.2 -> v246.6
0001-Use-PREFIX-ROOTPREFIX-correctly.patch was fixed fix the following:
https://github.com/systemd/systemd/pull/17009
2ee1c57c4f (tag: v246.6) kernel-install/90-loaderentry: fix when /boot is not mountpoint a2a8802abe homed: make clean that --storage=directory --image-path=/dev/some-block-device is not supported e1df274a76 homed: make sure our worker processes finish before we exit f2763ff6cd nspawn: fix fd leak on failure path 6f9c8af500 nspawn: check return of setsid() 31875b3cb0 dissect: is_loop_device() returns negative on error, don't mistake that is true 418cf0e78c dissect: always invalidate secondary arch partitions if we found primary arch 1d17c00260 util: wireguard is merged into upstream kernel 48a308b76a repart: don't mark image files generated with --empty=create executable 9353607ef3 man: substitute path to rc.local in the man page f2b9345cd2 meson: RC_LOCAL_SCRIPT_PATH_START to RC_LOCAL_PATH b0fff9012a socket-proxy: allow localhost addresses 5e8bf33de1 sd-bus: allow localhost addresses ad77a988f2 fstab-generator: add 'nofail' when NFS 'bg' option is used d08f6fddc0 busctl: add missing shortopt -l 64d58480ac socket-util: reset length argument for second getsockopt call in fd_[gs]et_rcvbuf 0046c58334 test: use pclose() for popen() 689d2e061b core: propagate unit start limit hit state to triggering path unit 2f53d690ea core: propagate triggered unit in more load states a06cf9a5ba bootctl: handle if LoaderSystemToken is invalid for some reason e2c0023dd2 test-fileio: test test strings with shell, too 251b96c9b5 test-env-file: add test that tests our env file read + writer + shell against each other 4d1922d8bb env-file: bring our decoding of double-quoted strings in env files in line with shell 281581cd74 test-fileio: use test strings that are actually valid in shell 366d38d8ed man: document that RemainAfterElapse=no means that also the triggered unit needs to deactivate d0f0f048ec (tag: v246.5) sd-path: use ROOTPREFIX without suffixed slash e662cf6d51 hashmap: make sure to initialize shared hash key atomically da310c6b45 socket: downgrade log warnings about inability to set socket buffer sizes ab6fcd9135 core: fix securebits setting 4f6925484d capability-util: add new function for raising setpcap 771436884d network: do not add prefix to RA if radv is not configured fb2afc5f30 man: document the random delay of persistent timers b2006ddc8f test-network: add test for ENOBUFS issue #17012 8758580ef5 backlight: do not claim that ID_BACKLIGHT_CLAMP= property is not set 57fc184a6c fs-util,tmpfiles: fix error handling of fchmod_opath() db0f031e70 bootctl: don't accidentally propagate errors in "bootctl status" 3e2c806681 ethtool-util: don't pass error value that isn't used to log_syntax b671730edb network: don't fail on various config parse errors 0ad86030c5 man: document that sd_bus_message_close_container() may only be called at end of container f3da018017 cryptsetup: Fix null pointer dereference (#16987) 6f65eaf9c2 core: fix set keep caps for ambient capabilities 08338a234e core: fix comments on ambient capabilities f0e6d9876d network: make log_link_error() or friends return void 35766dc61b core: make log_unit_error() or friends return void 3ed10b2ee8 core/slice: explicitly specify return value 2f6406914b udev: do not discard const qualifier 07671aa4cc sd-device: make log_device_error() or friends return void d4bea73972 udev: explicitly specify return value 7db399be1e udev: return negative errno for invalid EVDEV_ABS_XXX= property 8c8d188e85 udev: make log_rule_error() or friends return void 4921375fd3 socket: fix copy/paste error 0f7fd97749 udev: warn if failed to set buffer size for device monitor fc763d38d8 network: increase receive buffer size for device monitor 3bf7797f1f network: do not start device monitor if /sys is read-only ebc0729c6a network: honor the buffer size specified in networkd.socket ef3d2e178b core/socket: use fd_set_{rcv,snd}buf() 5dd4cc4b10 sd-device-monitor: use fd_set_rcvbuf() fe9b92e566 util: introduce fd_set_{snd,rcv}buf() 4dcae66688 util: try to set with SO_{RCV,SND}BUFFORCE when requested size is larger than the kernel limit 4b6b523946 util: refuse to set too large value for socket buffer size b4be8edb45 network: ignore error on increasing netlink receive buffer size 5ce47fb491 tree-wide: if get_block_device() returns zero devno, check for it in all cases 8ea6ec18e7 btrfs: if BTRFS_IOC_DEV_INFO returns /dev/root generate a friendly error message e1ff4947d2 basic/log: make log_{info,warning,...} return void 8019995e9a tree-wide: correct cases where return log_{error,warning} is used without value 932f4c3e8b test-execute/exec-dynamicuser-statedir.service: fix quoting 16b9426f70 man: fix quickhelp listing in sysusers.d(5) bde903d9e9 network: fix NDisc handling for the case when multiple routers exist c965063b64 network: expose route_{hash,compare}_func() 6d24a40669 network: expose address_{hash,compare}_func() 054838a2e0 util: expose in6_addr_{hash,compare}_func() 58bd4a70de network: fixes gateway assignment through DHCPv4 8ad5382fe3 bash-completion: resolvectl: support 'log-level' command a98bd75072 resolvectl: add 'log-level' to help message 78262fe807 core/socket: we may get ENOTCONN from socket_instantiate_service() fecb3f00c4 homed: remember the secret even when the for_state is FIXATING_FOR_ACQUIRE dc2e82af33 (tag: v246.4) core: create per-user inaccessible node from the service manager 0b3c497347 nspawn,pid1: pass "inaccessible" nodes from cntr mgr to pid1 payload via /run/host 2239965c29 coredump: don't convert s → µs twice 61d29b7f8c firstboot: fill empty color if ansi_color unavailable from os-release 9678a3daf6 varlink: do not parse invalid messages twice 4e516dcbc1 userdbctl: add forgotten --output mode in help aee20dfbd8 shared/{user,group}-record-nss: adjust filtering of "valid" passwords 5933d77afe doc: cross link sd_listen_fd() docs a bit 97fdde3239 Rework how we cache mtime to figure out if units changed 0500968241 core: always try to reload not-found unit 8ae22f0d64 pid1: use the cache mtime not clock to "mark" load attempts 715507c277 core: rename manager_unit_file_maybe_loadable_from_cache() 20ad76d0a7 man: document fd ownership for sd-bus fd marshalling 38ae73fafd resolved: make sure we initialize t->answer_errno before completing the transaction a1ba0fbef6 homed: fix log message to honor real homework path d6b1e659b3 src/shared/dissect-image.c: fix build without blkdid (#16901) e42f9add21 analyze: fix error handling in one case 4804ce1488 units: add missing usb-gadget.target 5ad4e68c37 man: extend on the usec/sec discrepancy 2fb612371d login/logind: Include sys/stat.h for struct stat usage 5e884e7ee0 partition/makefs: Include missing sys/file.h header 7bbc3807da network: dhcp6: logs only new address 2056429e0f Don't run test-repart when loop devices are not available dcbea51c5a man: clarify that several networkctl commands takes device names 16e4cfcc82 networkctl: label command does not take any argument 2352921244 missing: Add new Linux capability 8b29c4a4f9 tty-ask-pw-agent: properly propagate error f7ce2e9839 tty-ask-pw-agent: the message string might not be set 29cba5c9ef tty-ask-pw-agent: make sure "--list" works correctly e1ce367d73 add "list" verb to autocompleted commands 1f4cb5da1e shell-completion/zsh: add missing verbs for networkctl a4236a2764 path: Improve $PATH search directory case b7cef386bd (tag: v246.3) path: Skip directories when finalising $PATH search 122945f315 rules: don't install 80-drivers.rules when kmod is disabled 42fab2d454 zsh: correct journalctl command completion parsing ed3f97f962 basic/missing_syscall: fix syscall numbers for arm64 :( ba6e7f7c46 shared/install: fix preset operations for non-service instantiated units d39f139348 nss-resolve: treat BUS_ERROR_NO_SUCH_UNIT the same as SD_BUS_ERROR_SERVICE_UNKNOWN too 9bb3e64d71 various: treat BUS_ERROR_NO_SUCH_UNIT the same as SD_BUS_ERROR_SERVICE_UNKNOWN 6d802dd596 man: drop reference to long gone .busname unit type a29656804b man: fix a fix of a typo in systemd.service example 21ce0f5b33 network: can: Fix CAN initialization cab5cde8c9 man: update autogenerated dbus api lists 0d8000522b man: fix invalid tag place ea94f218be man: add conditionals to more man pages ef91325349 meson: add ENABLE_ANALYZE conditional 83f7c0a7ec core: add missing conditions/asserts to unit file parsing 716718155d analyze: rework condition testing 5c4c7581bc sd-bus: fix error handling on readv() 6cd058f305 user-runtime-dir: deal gracefully with missing logind properties 6a2d73638d shared/seccomp: do not use ifdef guards around textual syscall names 7355ac9689 machine-id-setup: don't use KVM or container manager supplied uuid if in chroot env 496a71f444 man: Fix typo in systemd-tmpfiles 6c5d216ad8 homework: downgrade chattr failure log message 1708f06a00 homework: explicitly close cryptsetup context, to not keep loopback device busy a21eaa2a3a homework: correct error passed into log message 3a2d169f36 homework: sync everything to disk before we rename LUKS loopback file into place 84e1ab74d2 homed: downgrade quota message in containers 8b62cadf36 analyze-security: do not assign badness to filtered-out syscalls 29854a5437 NEWS: clarify two points 4cb4fb82f7 meson: add min version for libfdisk 76331f86f6 load-fragment: fix grammar in error messages 1e53c2d70f Fix function description in logind man page 669066564d network: do not fail if UseMTU=yes on DHCP lease lost a2a3f16cdc missing_syscall: do not use function name that may conflict with glibc 4091dcd469 missing_syscall: fix pidfd_{send_signal,open} numbers for alpha 7875daf52b network: wait for previous address removal before configuring static addresses 120064b4a1 network: only process non-error message f44ec1de15 test: accept that char device 0/0 can now be created witout privileges
Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
De Huo [Thu, 24 Sep 2020 02:39:44 +0000 (10:39 +0800)]
bash: fix CVE-2019-18276
An issue was discovered in disable_priv_mode in shell.c in GNU Bash
through 5.0 patch 11. By default, if Bash is run with its effective UID
not equal to its real UID, it will drop privileges by setting its
effective UID to its real UID. However, it does so incorrectly. On Linux
and other systems that support "saved UID" functionality, the saved UID
is not dropped. An attacker with command execution in the shell can use
"enable -f" for runtime loading of a new builtin, which can be a shared
object that calls setuid() and therefore regains privileges. However,
binaries running with an effective UID of 0 are unaffected.
Signed-off-by: De Huo <De.Huo@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RNG passthru has been enabled on all qemu machines but its being added
to each one of them, with this patch its turned into QB variables which
defaults to host passthru, yet it can be overridden if needed via
machine or config metadata if needed.
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Christian Eggers [Thu, 24 Sep 2020 09:32:17 +0000 (11:32 +0200)]
packagegroup: rrecommend perf also for musl on ARM
The perf recipe builds fine for musl on ARM.
Fixes: d758a4445a ("packagegroup: Disable packages not available on musl") Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Thu, 24 Sep 2020 14:15:50 +0000 (22:15 +0800)]
maintainers.inc: Add Zang Ruochen and Wang Mingyu for several recipes
Zang Ruochen is responsible for the maintenance as follows:
elfutils
libvorbis
ell
python3-dbus
python3-pbr
python3-pip
python3-pycairo
python3-pygobject
python3-six
Wang Mingyu is responsible for the maintenance as follows:
btrfs-tools
dtc
iso-codes
libpciaccess
libpipeline
librepo
liburcu
libyaml
msmtp
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 23 Sep 2020 11:53:12 +0000 (12:53 +0100)]
ssh-pregen-hostkeys: Add a recipe with pregenerated ssh host keys
Host keys are getting bigger and taking an ever increasing amount of time
to generate. Whilst we do need to test that works, we don't need to test
it in every image. Add a recipe which can be added to images with
pre-generated keys, allowing us to speed up tests on the autobuilder
where it makes sense to.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 23 Sep 2020 17:12:42 +0000 (18:12 +0100)]
oeqa/selftest/containerimage: Update to match assumptions in configuration
Assumptions in the test mean it doesn't work with ssh-pregen-hostkeys.
It also doesn't work with systemd. Update the configuration to make
sure neither of these effect the test.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 22 Sep 2020 22:23:10 +0000 (23:23 +0100)]
buildtools-tarball: Fix conflicts with oe-selftest and other tooling
OECORE_NATIVE_SYSROOT is used by tools like oe-run-native and hence
we were seeing selftest failures when newer buildtools-tarballs that
use this were run on the autobuilder.
Unset the variable after use to avoid these issues.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kai Kang [Tue, 22 Sep 2020 07:02:33 +0000 (15:02 +0800)]
kea: fix conflict between multilibs
There are conflict of config files between kea and lib32-kea:
| Error: Transaction test error:
| file /etc/kea/kea-ctrl-agent.conf conflicts between attempted installs of
lib32-kea-1.7.10-r0.core2_32 and kea-1.7.10-r0.core2_64
| file /etc/kea/kea-dhcp4.conf conflicts between attempted installs of
lib32-kea-1.7.10-r0.core2_32 and kea-1.7.10-r0.core2_64
Because they are all commented out, replace the expanded libdir path with
'$libdir' in the config files to avoid conflict.
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generator outputs unexpect log info on terminal when log in a image
which includes an X desktop such as Xfce. So add an package config and
disable it by default.
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Randy MacLeod [Mon, 21 Sep 2020 18:24:25 +0000 (14:24 -0400)]
curl: Change SRC_URI from http to https
The official links on:
https://curl.haxx.se/download.html
use https now and we're seeing this warning:
WARNING: curl-native-7.72.0-r0 do_fetch: Failed to fetch URL http://curl.haxx.se/download/curl-7.72.0.tar.bz2, attempting MIRRORS if available
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Konrad Weihmann [Mon, 21 Sep 2020 14:29:44 +0000 (16:29 +0200)]
testexport: rename create_tarball method
as otherwise when using it in combination with archiver.bbclass we would
have 2 methods of the same name but with different signatures
leading to various hard to understand exceptions
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The named service fail to start as below:
# systemctl status named.service
named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-09-16 06:07:49 UTC; 9s ago
Process: 134206 ExecStartPre=/usr/sbin/generate-rndc-key.sh (code=exited, status=1/FAILURE)
Sep 16 06:07:49 intel-x86-64 systemd[1]: Starting Berkeley Internet Name Domain (DNS)...
Sep 16 06:07:49 intel-x86-64 generate-rndc-key.sh[134206]: Generating /etc/bind/rndc.key:
Sep 16 06:07:49 intel-x86-64 generate-rndc-key.sh[134207]: rndc-confgen: The -r option has been deprecated.
Sep 16 06:07:49 intel-x86-64 generate-rndc-key.sh[134208]: chown: cannot access '/etc/bind/rndc.key': No such file or directory
Sep 16 06:07:49 intel-x86-64 generate-rndc-key.sh[134209]: chmod: cannot access '/etc/bind/rndc.key': No such file or directory
Sep 16 06:07:49 intel-x86-64 systemd[1]: named.service: Control process exited, code=exited, status=1/FAILURE
Sep 16 06:07:49 intel-x86-64 systemd[1]: named.service: Failed with result 'exit-code'.
Sep 16 06:07:49 intel-x86-64 systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
It is because fail to execute "/usr/sbin/generate-rndc-key.sh" as
-r is deprecated since bind 9.13.x and the random function changes
in [1], so remove -r option to fix the above issue.
DNSSEC validation is now active by default after bind upgrade to 9.16.x,
but it is not in 9.11.x. So disable DNSSEC validation explicitly to
silence below message.
Sep 18 03:21:37 intel-x86-64 named[23272]: managed-keys-zone: Unable to fetch DNSKEY set '.': timed out
Create /var/lib/kea and /var/run/kea folder if they don't
exist to fix below error:
# keactrl start
INFO/keactrl: Starting /usr/sbin/kea-dhcp4 -c /etc/kea/kea-dhcp4.conf
INFO/keactrl: Starting /usr/sbin/kea-dhcp6 -c /etc/kea/kea-dhcp6.conf
INFO/keactrl: Starting /usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf
Unable to use interprocess sync lockfile (No such file or directory): /var/run/kea/logger_lockfile
Service failed: Launch failed: Unable to open PID file '/var/run/kea/kea-ctrl-agent.kea-ctrl-agent.pid' for write
[snip]
ERROR [kea-dhcp4.dhcp4/615.140641792751488] DHCP4_CONFIG_LOAD_FAIL configuration error using file: /etc/kea/kea-dhcp4.conf, reason: Unable to open database: unable to open '/var/lib/kea/kea-leases4.csv'
[snip]
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Chee Yang Lee [Fri, 18 Sep 2020 14:37:21 +0000 (22:37 +0800)]
bash : include patch 17 & 18
patch 17 :-
https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-017
There were cases where patch 16 reaped process substitution file
descriptors (or FIFOs) and processes to early. This is a better
fix for the problem that bash50-016 attempted to solve.
path 18 :-
https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-018
In certain cases, bash does not perform quoted null removal on
patterns that are used as part of word expansions such as
${parameter##pattern}, so empty patterns are treated as non-empty.
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 21 Sep 2020 11:56:53 +0000 (12:56 +0100)]
buildtools-tarball: Add python3-jinja2
This is used by various pieces of the result handling code, particularly the
performance testing and we're seeing autobuilder failures that are
easiest resolved using this.
Acked-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 21 Sep 2020 11:55:28 +0000 (12:55 +0100)]
python3-jinja2: Import from meta-oe/meta-python
This is used by some of the results handling code and needed as part of
buildtools tarball on various autobuilder worker for testing.
ptest is disabled for OE-Core, at least for now since it depends on
python3-pytest which in turn has may other dependencies.
Acked-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 21 Sep 2020 11:54:12 +0000 (12:54 +0100)]
python3-markupsafe: Import from meta-oe/meta-python
Needed as a dependency of python3-jinja2. ptest is disabled for OE-Core, at
least for now since it depends on python3-pytest which in turn has may other
dependencies.
Acked-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 18 Sep 2020 05:57:10 +0000 (06:57 +0100)]
oeqa/qemurunner: Increase serial timeout
Increase the serial login timeout from 60 to 120s. This seems like a
long time, however for a qemumips image with systemd+PAM and openssh,
(e.g. core-image-sato-sdk + DISTRO=poky-altcfg), the getty connects
to systemd's pam module which waits on logind and 45s for all this
to happen at the same time as things like ssh key generation happens
is not unknown.
Increase the timeout to match the longer times we know these things
can take in the worst case scenarios since we're tired of intermittent
issues related to the serial login affecting the autobuilder.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 18 Sep 2020 05:52:57 +0000 (06:52 +0100)]
dropbear/openssh: Lower priority of key generation
Where we have images with PAM+systemd, serial login can be extremely
slow. The load generated by key generation does slow down the rest
of the boot process.
Lower the priority level of these systemd services, since we'd
prefer to have the rest of the system boot more effectively.
This doesn't "solve" the slow systemd boot issues but does help.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the newly introduced image-artifact-names class is inherited at later
processing stage, individual IMAGE_NAME settings are overridden (hopefully
by accident instead on purpose).
Allow derived distributions define their own name schema by setting defaults
iwth question mark.
Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Wed, 16 Sep 2020 13:28:52 +0000 (15:28 +0200)]
bitbake.conf: use ${TCMODE}-${TCLIBC} directory for CACHE
* move TCMODE and TCLIBC from defaultsetup.conf to bitbake.conf
* set CACHE as it was in defaultsetup.conf and drop it from defaultsetup.conf
* most if not all DISTROs are now including defaultsetup.conf and
TCLIBC is pretty much expected to be always set correctly, e.g.:
meta/recipes-core/systemd/systemd_243.2.bb: if d.getVar('TCLIBC') == "musl":
meta/recipes-devtools/gcc/gcc-runtime.inc: if [ "${TCLIBC}" != "glibc" ]; then
meta/recipes-devtools/gcc/libgcc.inc: if [ "${TCLIBC}" != "glibc" ]; then
meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb:ENV_NAME="${DISTRO}-${TCLIBC}-${SDK_ARCH}-@TARGET_PREFIX@${DISTRO_VERSION}.tar.gz"
meta/recipes-devtools/valgrind/valgrind_3.15.0.bb:RRECOMMENDS_${PN} += "${TCLIBC}-dbg"
meta/recipes-kernel/linux/kernel-devsrc.bb:RDEPENDS_${PN} = "bc python3 flex bison ${TCLIBC}-utils"
meta/classes/buildhistory.bbclass:BUILDHISTORY_DIR_IMAGE = "${BUILDHISTORY_DIR}/images/${MACHINE_ARCH}/${TCLIBC}/${IMAGE_BASENAME}"
meta/classes/cross-canadian.bbclass: if d.getVar("TCLIBC") in [ 'baremetal', 'newlib' ]:
meta/classes/kernel.bbclass: tclibc = d.getVar('TCLIBC')
meta/classes/toaster.bbclass: BUILDHISTORY_DIR_IMAGE_BASE = e.data.expand("%s/images/${MACHINE_ARCH}/${TCLIBC}/"% BUILDHISTORY_DIR)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Steve Sakoman [Wed, 16 Sep 2020 16:17:31 +0000 (06:17 -1000)]
xinput-calibrator: change SRC_URI to branch with libinput support
Since "conf: Use xf86-input-libinput by default" [1] there are
reports [2] of xinput-calibrator failing because it expects
xf86-input-evdev and with the above patch xf86-input-libinput
takes precedence.
Fix this issue by using a branch of xinput calibrator which supports
xf86-input-libinput.
Previously in: f75792b28e valgrind: make a few more ptests pass
the vagrind test runner was adjusted to suppress part
of a path that only exists when run in the yocto ptest
environment. Unfortunately this change includes the
valgrind version and when valgrind was last updated,
the patch was not changed. Rather than continually updating
the patch or even generating the version dynamically,
we can simply change the expected output for two tests.
The reason the option: --fullpath-after=foo was
introduced into the effected valgrind ptests was to
deal with builds where ccache is used. Compiling with
ccache enabled sometimes causes the source file absolute
name to be found in a full path that is not the same as $PWD.
Ross Burton [Tue, 15 Sep 2020 12:55:48 +0000 (13:55 +0100)]
buildhistory-diff: use BUILDDIR to know where buildhistory is
Instead of assuming that the buildhistory is stored in ./buildhistory
unless told otherwise, use the environment variable BUILDDIR if present
(which is set by oe-init-build-env) to locate the buildhistory
directory.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the parallel build patch and related fix for parallel
build as the issue have already been fixed in bison 3.7.2
(f7b642cf build: fix incorrect dependencies).
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter Bergin [Tue, 15 Sep 2020 19:33:05 +0000 (21:33 +0200)]
systemd: avoid failing if no udev rules provided
In the case when no udev rules are provided by the recipe the do_install
step of systemd is failing with:
install: cannot stat '<WORKDIR>/*.rules': No such file or directory
By default the systemd recipe provides touchscreen.rules but in the
case this is unwanted on target the install step fails. This solution
is dynamic and search for *.rules files in $WORKDIR. If found they are
installed.
Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Wed, 16 Sep 2020 12:54:49 +0000 (14:54 +0200)]
*-initramfs: don't use .rootfs IMAGE_NAME_SUFFIX
* fixes the issue when image-live.bbclass expects the image
ending with just INITRAMFS_FSTYPES:
image-live.bbclass:INITRD_LIVE ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.${INITRAMFS_FSTYPES}"
while by default it now was with .rootfs suffix:
-rw-r--r-- 2 bitbake bitbake 1.5K Oct 25 16:12 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs.env
-rw-r--r-- 4 bitbake bitbake 11M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.cpio.gz
-rw-r--r-- 4 bitbake bitbake 1.2K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.manifest
-rw-r--r-- 4 bitbake bitbake 1.3K Oct 25 16:12 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.qemuboot.conf
-rw-r--r-- 4 bitbake bitbake 196K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.testdata.json
-rw-r--r-- 4 bitbake bitbake 118M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.wic
-rw-r--r-- 4 bitbake bitbake 3.1K Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.wic.bmap
-rw-r--r-- 4 bitbake bitbake 1.3K Oct 25 16:12 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.qemuboot.conf
-rw-r--r-- 4 bitbake bitbake 11M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.cpio.gz
-rw-r--r-- 4 bitbake bitbake 1.2K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.manifest
-rw-r--r-- 4 bitbake bitbake 118M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.wic
-rw-r--r-- 4 bitbake bitbake 3.1K Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.wic.bmap
-rw-r--r-- 4 bitbake bitbake 196K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.testdata.json
initramfs images aren't normally used for rootfs, so just set
the suffix to empty, people using different artifact names might
still need to set INITRD_LIVE (e.g. when their images don't end
with "-${MACHINE}" as well)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* currently IMAGE_NAME_SUFFIX is used only by image.bbclass,
image_types.bbclass and meta/recipes-core/images/build-appliance-image_15.0.0.bb
but if it's needed by some recipe which isn't itself an image, then
it's useful in bitbake.conf, e.g. we have a recipe for creating
VirtualBox appliances which combines .wic.vmdk with .ovf file to
create .zip with appliance, but for that we need the filename of
.wic.vmdk which now contains IMAGE_NAME_SUFFIX
https://github.com/webOS-ports/meta-webos-ports/blob/4980ce52a43ac6897657602810313af359f0b839/meta-luneos/recipes-core/images/luneos-emulator-appliance.inc#L24
* we were hardcoding .rootfs suffix where needed, but for quite long
time it's configurable with IMAGE_NAME_SUFFIX since:
Override DEBUG_BUILD for qemu as the qemu upstream states it
doesn't work without optimization [1] to fix below build failure
when debug build enabled.
| /usr/lib/gcc/x86_64-wrs-linux/10.1.0/../../../../x86_64-wrs-linux/bin/ld.bfd: /mnt/build/tmp/work/x86_64-linux/qemu-system-native/5.1.0-r0/qemu-5.1.0/fsdev/qemu-fsdev-throttle.c:25: undefined reference to `unknown_lock_type'
| /usr/lib/gcc/x86_64-wrs-linux/10.1.0/../../../../x86_64-wrs-linux/bin/ld.bfd: ../fsdev/qemu-fsdev-throttle.o: in function `fsdev_co_throttle_request':
| /mnt/build/tmp/work/x86_64-linux/qemu-system-native/5.1.0-r0/qemu-5.1.0/fsdev/qemu-fsdev-throttle.c:103: undefined reference to `unknown_lock_type'
| /usr/lib/gcc/x86_64-wrs-linux/10.1.0/../../../../x86_64-wrs-linux/bin/ld.bfd: ../fsdev/qemu-fsdev-throttle.o:/mnt/build/tmp/work/x86_64-linux/qemu-system-native/5.1.0-r0/qemu-5.1.0/fsdev/qemu-fsdev-throttle.c:103: more undefined references to `unknown_lock_type' follow
| collect2: error: ld returned 1 exit status
insane: check for missing update-alternatives inherit
Add a package QA check to test if the recipe sets ALTERNATIVE variable
for any of its packages, and does not inherit update-alternatives class.
This causes the do_rootfs to fail since a proper alternative cannot be
created.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lttng-modules: backport patches from 2.12.x to fix 5.4.64+ and 5.8.9+ builds
Backporting the 10 patches since the lttng 2.12.2 release. We'll drop
them once .3 is released, but for now, we need the fixes to build
against the latest 5.4, 5.8 and 5.9 kernels.
We also bump the devupstream SRCREV to pickup the same changes.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bruce Ashfield [Mon, 14 Sep 2020 16:13:17 +0000 (12:13 -0400)]
linux-yocto/5.4: update to v5.4.65
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
6c3d34dea2fc Linux 5.4.65 ddb279d64b72 net: disable netpoll on fresh napis 09c45065257b tipc: fix shutdown() of connectionless socket b95eb482c288 taprio: Fix using wrong queues in gate mask 20f8c874789a sctp: not disable bh in the whole sctp_get_port_local() 8b61bb0b2d57 net: usb: dm9601: Add USB ID of Keenetic Plus DSL 346fefa82325 netlabel: fix problems with mapping removal 3f73dbf94f8f ipv6: Fix sysctl max for fib_multipath_hash_policy 263e463358d3 ipv4: Silence suspicious RCU usage warning
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bruce Ashfield [Mon, 14 Sep 2020 15:21:07 +0000 (11:21 -0400)]
linux-yocto/5.8: update to v5.8.9
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:
f82f36b2fb1d Linux 5.8.9 cdba995d2f19 mptcp: free acked data before waiting for more memory 655e1af6aecd net: disable netpoll on fresh napis 6f0e276cda3e tipc: fix using smp_processor_id() in preemptible aae250a26893 tipc: fix shutdown() of connectionless socket 44c3fca3de64 taprio: Fix using wrong queues in gate mask db16256c95ac sctp: not disable bh in the whole sctp_get_port_local() 05a8237c08f0 net: usb: dm9601: Add USB ID of Keenetic Plus DSL 6540bd18bf2f netlabel: fix problems with mapping removal 089097476c4c ipv6: Fix sysctl max for fib_multipath_hash_policy d68c3397de48 ipv4: Silence suspicious RCU usage warning bd15d2192261 RDMA/cma: Execute rdma_cm destruction from a handler properly d4794085738d RDMA/cma: Remove unneeded locking for req paths c2064ac30331 RDMA/cma: Using the standard locking pattern when delivering the removal event 5a0c4cbd099b RDMA/cma: Simplify DEVICE_REMOVAL for internal_id 87d8175e9c3d io_uring: fix linked deferred ->files cancellation f5fea75f4ea4 io_uring: fix cancel of deferred reqs with ->files
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bruce Ashfield [Thu, 10 Sep 2020 03:01:48 +0000 (23:01 -0400)]
linux-yocto/5.4: update to v5.4.64
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
6ffabce36fc8 Linux 5.4.64 beaf13ed8e97 net: usb: Fix uninit-was-stored issue in asix_read_phy_addr() 58c3e86d42d2 cfg80211: regulatory: reject invalid hints 08eeec445297 mm/khugepaged.c: fix khugepaged's request size in collapse_file af7786b20c71 mm/hugetlb: fix a race between hugetlb sysctl handlers f2cd86225c89 checkpatch: fix the usage of capture group ( ... ) 59ac5bfa82bc sdhci: tegra: Add missing TMCLK for data timeout e915b3b63dfd perf record: Correct the help info of option "--no-bpf-event" 894a6f0be372 vfio/pci: Fix SR-IOV VF handling with MMIO blocking f4fa8d937edf mm: madvise: fix vma user-after-free 87fb7b0c5266 mm: slub: fix conversion of freelist_corrupted() 291144f1114d dm thin metadata: Fix use-after-free in dm_bm_set_read_only cfe85a4a8552 dm thin metadata: Avoid returning cmd->bm wild pointer on error 392a6afcbf19 dm cache metadata: Avoid returning cmd->bm wild pointer on error 9dd74db0bfd1 dm crypt: Initialize crypto wait structures e6ddb1d45c51 dm integrity: fix error reporting in bitmap mode after creation b30f628beec9 dm mpath: fix racey management of PG initialization 226fb99eb59d dm writecache: handle DAX to partitions on persistent memory correctly 6fb192c06a14 drm/amd/pm: avoid false alarm due to confusing softwareshutdowntemp setting f84804af09c7 dmaengine: dw-edma: Fix scatter-gather address calculation 9f4ab0172e6c blk-iocost: ioc_pd_free() shouldn't assume irq disabled f7880745e91b libata: implement ATA_HORKAGE_MAX_TRIM_128M and apply to Sandisks 5f5f27228195 block: ensure bdi->io_pages is always initialized 84c041c12442 block: allow for_each_bvec to support zero len bvec b6e4827c04b0 affs: fix basic permission bits to actually work 2d89e44dc932 media: rc: uevent sysfs file races with rc_unregister_device() 5925179bbc64 media: rc: do not access device via sysfs after rc_unregister_device() 3d77c12f3040 mmc: sdhci-pci: Fix SDHCI_RESET_ALL for CQHCI for Intel GLK-based controllers ed48704c36a8 mmc: cqhci: Add cqhci_deactivate() a69047c01eb4 mmc: dt-bindings: Add resets/reset-names for Mediatek MMC bindings 5876ee035ba6 mmc: mediatek: add optional module reset property 2816ccd07145 arm64: dts: mt7622: add reset node for mmc device d074d9d52fe0 ALSA: hda/realtek - Improved routing for Thinkpad X1 7th/8th Gen 7de2f56ef51a ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion NT950XCJ-X716A a253fe35666d ALSA; firewire-tascam: exclude Tascam FE-8 from detection 982505615063 ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO cebaed033037 ALSA: firewire-digi00x: exclude Avid Adrenaline from detection 4fa06a43bf9f ALSA: hda/hdmi: always check pin power status in i915 pin fixup 2ebb83a259a8 ALSA: pcm: oss: Remove superfluous WARN_ON() for mulaw sanity check 79124b1b912c ALSA: usb-audio: Add implicit feedback quirk for UR22C a3b94af5117b ALSA: ca0106: fix error code handling 156dd7c73a9b Revert "ALSA: hda: Add support for Loongson 7A1000 controller" 62db427bf8ca Revert "net: dsa: microchip: set the correct number of ports" 4254a4f7988c btrfs: fix potential deadlock in the search ioctl de53545e8d4c net: core: use listified Rx for GRO_NORMAL in napi_gro_receive() df0c47585cea btrfs: tree-checker: fix the error message for transid error 650275310f3b btrfs: set the lockdep class for log tree extent buffers 7e0ffb0d9d9f btrfs: set the correct lockdep class for new nodes c37cc199da2b btrfs: allocate scrub workqueues outside of locks eb29635ba68a btrfs: drop path before adding new uuid tree entry 20b591fd00c0 ARC: perf: don't bail setup if pct irq missing in device-tree ce690fa1d5d0 xfs: don't update mtime on COW faults 12cd8fccc9ed ext2: don't update mtime on COW faults cc6c4d81d6ad tracing/kprobes, x86/ptrace: Fix regs argument order for i386 036a857bb57d iommu/vt-d: Handle 36bit addressing for x86-32 8f747b0149c5 vfio-pci: Invalidate mmaps and block MMIO access on disabled memory b0f5096b281a vfio-pci: Fault mmaps to enable vma tracking 270c35d0723a vfio/type1: Support faulting PFNMAP vmas 5629bb21ce20 include/linux/log2.h: add missing () around n in roundup_pow_of_two() bc846b58fe5c net/packet: fix overflow in tpacket_rcv e3d109c3484e iommu/amd: Restore IRTE.RemapEn bit after programming IRTE 7ce6bc1b549e thermal: qcom-spmi-temp-alarm: Don't suppress negative temp f5b3bd38ae91 thermal: ti-soc-thermal: Fix bogus thermal shutdowns for omap4430 0c21f1bcafc1 iommu/vt-d: Serialize IOMMU GCMD register modifications 920d9ffcd481 x86, fakenuma: Fix invalid starting node ID 1a7e03867a37 tg3: Fix soft lockup when tg3_reset_task() fails. b0c40f8a7a0e perf jevents: Fix suspicious code in fixregex() 6c4ad5444a26 xfs: fix xfs_bmap_validate_extent_raw when checking attr fork of rt files 58591dd6afda MIPS: add missing MSACSR and upper MSA initialization 612e2b7ec962 net: gemini: Fix another missing clk_disable_unprepare() in probe 88405cf0f2bd fix regression in "epoll: Keep a reference on files added to the check list" 901d22c6b6dc net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init() 8e2660c834e3 perf tools: Correct SNOOPX field offset 37f0a08a3a83 cxgb4: fix thermal zone device registration 50d284778427 nvme: fix controller instance leak f4b830c61b5b nvmet-fc: Fix a missed _irqsave version of spin_lock in 'nvmet_fc_fod_op_done()' 9ff9f74ed462 netfilter: nfnetlink: nfnetlink_unicast() reports EAGAIN instead of ENOBUFS 498575898ec4 net: dsa: mt7530: fix advertising unsupported 1000baseT_Half c4a427b71cd7 selftests/bpf: Fix massive output from test_maps e0a1bebc332d media: cedrus: Add missing v4l2_ctrl_request_hdl_put() 3fe12f4be001 media: vicodec: add missing v4l2_ctrl_request_hdl_put() f28f3cffff27 bnxt: don't enable NAPI until rings are ready da7a1676d6c1 xfs: fix boundary test in xfs_attr_shortform_verify 8227199ceafd bnxt_en: fix HWRM error when querying VF temperature 927a7629bedd bnxt_en: Fix possible crash in bnxt_fw_reset_task(). 70699d3cc77c bnxt_en: Fix PCI AER error recovery flow 87547923b6c6 bnxt_en: Check for zero dir entries in NVRAM. e7cbba4db7da bnxt_en: Don't query FW when netif_running() is false. c11510bb8898 net: ethernet: ti: cpsw: fix clean up of vlan mc entries for host port 0bd92cdc04e6 gtp: add GTPA_LINK info to msg sent to userspace 24249fab08c6 dmaengine: pl330: Fix burst length if burst size is smaller than bus width 719f92de3fff net: arc_emac: Fix memleak in arc_mdio_probe 268fe5a4c040 ravb: Fixed to be able to unload modules 8123fa897e65 net: systemport: Fix memleak in bcm_sysport_probe a49c0aebf9c4 net: hns: Fix memleak in hns_nic_dev_probe 210b889fd8ef netfilter: nf_tables: fix destination register zeroing 576fbd4902fb netfilter: nf_tables: incorrect enum nft_list_attributes definition 929d07feb94f netfilter: nf_tables: add NFTA_SET_USERDATA if not null fb1e97674aa8 mmc: sdhci-acpi: Fix HS400 tuning for AMDI0040 da8e3e507d2f MIPS: BMIPS: Also call bmips_cpu_setup() for secondary cores c5e9e36fc2f8 MIPS: mm: BMIPS5000 has inclusive physical caches 5f7798f05311 rxrpc: Make rxrpc_kernel_get_srtt() indicate validity 43cf7e7dfa7b rxrpc: Keep the ACK serial in a var in rxrpc_input_ack() 242a7ab0ac52 dmaengine: at_hdmac: check return value of of_find_device_by_node() in at_dma_xlate() 2f2786bb9d40 batman-adv: bla: use netif_rx_ni when not in interrupt context fd8b3ef644a4 batman-adv: Fix own OGM check in aggregated OGMs 2344f2f186fd batman-adv: Avoid uninitialized chaddr when handling DHCP 89cb604c4226 dmaengine: of-dma: Fix of_dma_router_xlate's of_dma_xlate handling 1a89606baf31 fsldma: fix very broken 32-bit ppc ioread64 functionality 6eb88c42dcc9 xen/xenbus: Fix granting of vmalloc'd memory 0878655a9880 drm/amd/display: Fix memleak in amdgpu_dm_mode_config_init b014f2846e6f drm/amd/display: Retry AUX write when fail occurs 9947928e619a drivers: gpu: amd: Initialize amdgpu_dm_backlight_caps object to 0 in amdgpu_dm_update_backlight_caps 79d31527dfc3 drm/amd/display: Reject overlay plane configurations in multi-display scenarios 29bade8e2fc9 s390: don't trace preemption in percpu macros c756635246e9 nbd: restore default timeout when setting it to zero c1e333e7b8da cpuidle: Fixup IRQ state ad3a4efc8c56 drm/omap: fix incorrect lock state 0a8dcad24424 ceph: don't allow setlease on cephfs 755fd63ae163 drm/msm/a6xx: fix gmu start on newer firmware 7a55cf8a20c7 habanalabs: check correct vmalloc return code c9436de020a4 habanalabs: validate FW file size dddd5003c707 drm/msm: enable vblank during atomic commits 2c9bc7d9600c nvmet: Disable keep-alive timer when kato is cleared to 0h e94a3d76305b hwmon: (applesmc) check status earlier. 19583b280801 drm/msm: add shutdown support for display platform_driver 8bc25dea70fe tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup 28ffe70a2e33 drm/msm/dpu: Fix scale params in plane validation b2fc347e2126 HID: quirks: Always poll three more Lenovo PixArt mice e32f4fa1b24d Linux 5.4.63 5153710a5ecc scsi: target: tcmu: Optimize use of flush_dcache_page bb9949fdfddd scsi: target: tcmu: Fix size in calls to tcmu_flush_dcache_range 6d2e274f60fc sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra186 0176db2f2ad5 sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra210 eda97e9d90db arm64: tegra: Add missing timeout clock to Tegra210 SDMMC 5cd8c5979e72 arm64: tegra: Add missing timeout clock to Tegra186 SDMMC nodes ef8b5f333780 arm64: tegra: Add missing timeout clock to Tegra194 SDMMC nodes 9d806d68bf97 dt-bindings: mmc: tegra: Add tmclk for Tegra210 and later d2ac42e61ecd KVM: arm64: Set HCR_EL2.PTW to prevent AT taking synchronous exception ffad02f9e3ea KVM: arm64: Survive synchronous exceptions caused by AT instructions 1744237ca047 KVM: arm64: Add kvm_extable for vaxorcism code 538caddbe635 drm/etnaviv: fix TS cache flushing on GPUs with BLT engine 80743b4bde09 drm/sched: Fix passing zero to 'PTR_ERR' warning v2 6cadd1e2d8c5 perf record/stat: Explicitly call out event modifiers in the documentation 4bae1afed432 HID: core: Sanitize event code and type when mapping input 667514df10a0 HID: core: Correctly handle ReportSize being zero 933cf1c2c075 Linux 5.4.62 54ee77961e79 io_uring: Fix NULL pointer dereference in io_sq_wq_submit_work() 44cf62d388fb ALSA: usb-audio: Update documentation comment for MS2109 quirk 851d0813ab80 HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage() c98b6ebd9b55 kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables 37432a83faab kbuild: add variables for compression tools 47a41f65afb6 kheaders: explain why include/config/autoconf.h is excluded from md5sum 7caddaa9f88b kheaders: remove the last bashism to allow sh to run it 18f48708c3f5 kheaders: optimize header copy for in-tree builds a1d0c6e2f334 kheaders: optimize md5sum calculation for in-tree builds eb914bae6e17 kheaders: remove unneeded 'cat' command piped to 'head' / 'tail' 376810e5e9e1 fbmem: pull fbcon_update_vcs() out of fb_set_var() 6a862aa31ec3 usb: dwc3: gadget: Handle ZLP for sg requests 7c8b5685662b usb: dwc3: gadget: Fix handling ZLP 4bc5d90a7dce usb: dwc3: gadget: Don't setup more than requested f8e4c5297fcd drm/i915: Fix cmd parser desc matching with masks 73992639ec78 usb: storage: Add unusual_uas entry for Sony PSZ drives 2add73c8c00d USB: cdc-acm: rework notification_buffer resizing e2e02f260496 USB: gadget: u_f: Unbreak offset calculation in VLAs 4f529c4d1e43 USB: gadget: f_ncm: add bounds checks to ncm_unwrap_ntb() f47ab852bea3 USB: gadget: u_f: add overflow checks to VLA macros 2534d3dec376 usb: host: ohci-exynos: Fix error handling in exynos_ohci_probe() de24343880a6 USB: Ignore UAS for JMicron JMS567 ATA/ATAPI Bridge ca29a2a53953 USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D 20b3564c6748 USB: quirks: Add no-lpm quirk for another Raydium touchscreen b32ec919ee37 usb: uas: Add quirk for PNY Pro Elite ad0bc424fc0a USB: yurex: Fix bad gfp argument 3623dab2959e drm/amd/pm: correct the thermal alert temperature limit settings 85ca6f199c77 drm/amd/pm: correct Vega20 swctf limit setting 9afabefd42fc drm/amd/pm: correct Vega12 swctf limit setting 60cffee2d951 drm/amd/pm: correct Vega10 swctf limit setting 2809cf7f6eba drm/amd/powerplay: Fix hardmins not being sent to SMU for RV 20700b352d10 drm/amdgpu/gfx10: refine mgcg setting 8fc7a66619e1 drm/amdgpu: Fix buffer overflow in INFO ioctl 1adf8c19f974 x86/hotplug: Silence APIC only after all interrupts are migrated 47c8387a963e irqchip/stm32-exti: Avoid losing interrupts due to clearing pending bits by mistake 927aa9a10f12 genirq/matrix: Deal with the sillyness of for_each_cpu() on UP 70957a10e1db crypto: af_alg - Work around empty control messages without MSG_MORE aca10ab0568a device property: Fix the secondary firmware node handling in set_primary_fwnode() df2a6a4a9d68 powerpc/perf: Fix crashes with generic_compat_pmu & BHRB b260fb2a02b5 PM: sleep: core: Fix the handling of pending runtime resume requests 7ded78a8c89e arm64: vdso32: make vdso32 install conditional 3b7087e07730 xhci: Always restore EP_SOFT_CLEAR_TOGGLE even if ep reset failed 02166fea639f xhci: Do warm-reset when both CAS and XDEV_RESUME are set 3ac8545b29ae usb: host: xhci: fix ep context print mismatch in debugfs 4d3e2a3a0c64 XEN uses irqdesc::irq_data_common::handler_data to store a per interrupt XEN data pointer which contains XEN specific information. 6623c19042b6 writeback: Fix sync livelock due to b_dirty_time processing cb0c74450072 writeback: Avoid skipping inode writeback 8eab2b531fd3 writeback: Protect inode->i_io_list with inode->i_lock 2e76a3a1667c serial: 8250: change lock order in serial8250_do_startup() f53ebc7c2922 serial: 8250_exar: Fix number of ports for Commtech PCIe cards fbb55ec82dd6 serial: stm32: avoid kernel warning on absence of optional IRQ 64a05aadf936 serial: pl011: Don't leak amba_ports entry on driver register error 0806b49bba20 serial: pl011: Fix oops on -EPROBE_DEFER daae6b962a13 serial: samsung: Removes the IRQ not found warning 7c57237d74a0 vt_ioctl: change VT_RESIZEX ioctl to check for error return from vc_resize() adb76f3f7732 vt: defer kfree() of vc_screenbuf in vc_do_resize() db1bb352cc08 USB: lvtest: return proper error code in probe 96e41fc29e8a fbcon: prevent user font height or width change from causing potential out-of-bounds access cd1d270e3e4f btrfs: detect nocow for swap after snapshot delete eb576fc43a43 btrfs: fix space cache memory leak after transaction abort 1d08edc70154 btrfs: check the right error variable in btrfs_del_dir_entries_in_log 8a3509486f08 btrfs: reset compression level for lzo on remount b1a83ee0cbbf blk-mq: order adding requests to hctx->dispatch and checking SCHED_RESTART c2035d1e55aa HID: i2c-hid: Always sleep 60ms after I2C_HID_PWR_ON commands db4542b6617b block: loop: set discard granularity and alignment for block device backed loop f09dbec9c0c6 block: fix get_max_io_size() 2f4b202eb1b1 arm64: Allow booting of late CPUs affected by erratum 1418040 82b05f0838aa arm64: Move handling of erratum 1418040 into C code 7d44b707aaff powerpc/perf: Fix soft lockups due to missed interrupt accounting 9c0305c0cfa2 net: gianfar: Add of_node_put() before goto statement c656534e5c45 macvlan: validate setting of multiple remote source MAC addresses 19f669a3609c Revert "scsi: qla2xxx: Fix crash on qla2x00_mailbox_command" 48765b780ace scsi: qla2xxx: Fix null pointer access during disconnect from subsystem 36a139cf4146 scsi: qla2xxx: Check if FW supports MQ before enabling 88274626d110 scsi: qla2xxx: Fix login timeout 37528b3ee9e1 scsi: ufs: Clean up completed request without interrupt notification a39ba0fdcdfd scsi: ufs: Improve interrupt handling for shared interrupts d895b0be701c scsi: ufs: Fix possible infinite loop in ufshcd_hold 1778bebd06b4 scsi: fcoe: Fix I/O path allocation a8d26145e112 selftests: disable rp_filter for icmp_redirect.sh 957066143e6c ASoC: wm8994: Avoid attempts to read unreadable registers 1d63737b0777 s390/cio: add cond_resched() in the slow_eval_known_fn() loop 2a8c6149a49a ALSA: hda/realtek: Add model alc298-samsung-headphone 021a98a87864 can: j1939: transport: j1939_xtp_rx_dat_one(): compare own packets to detect corruptions 3803312a3c55 netfilter: avoid ipv6 -> nf_defrag_ipv6 module dependency 35238963c972 drm/amd/display: Switch to immediate mode for updating infopackets b92b415fa7b7 drm/amd/powerplay: correct UVD/VCE PG state on custom pptable uploading 73a0e6280a32 drm/amd/powerplay: correct Vega20 cached smu feature state d2da80e0a3e7 spi: stm32: always perform registers configuration prior to transfer 2844685c661a spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate a6daa863d15e spi: stm32: fix fifo threshold level in case of short transfer 3c15a3c4b155 spi: stm32h7: fix race condition at end of transfer a08e95e83e6f fs: prevent BUG_ON in submit_bh_wbc() 28a56c26a00d ext4: correctly restore system zone info when remount fails 8e63c86f6580 ext4: handle error of ext4_setup_system_zone() on remount e579635669da ext4: handle option set by mount flags correctly 3a53d012bd26 jbd2: abort journal if free a async write error metadata buffer 1b36d4fa4b66 ext4: handle read only external journal device 2e7312ddaf62 ext4: don't BUG on inconsistent journal feature 40827caf954c jbd2: make sure jh have b_transaction set in refile/unfile_buffer e4351ad44d7e spi: stm32: clear only asserted irq flags on interrupt d63728afe947 usb: gadget: f_tcm: Fix some resource leaks in some error paths 262f5fbad941 i2c: rcar: in slave mode, clear NACK earlier 883ed72723ef i2c: core: Don't fail PRP0001 enumeration when no ID table exist 2fc8fa50ebee null_blk: fix passing of REQ_FUA flag in null_handle_rq 88994acafd96 nvme: multipath: round-robin: fix single non-optimized path case 97f30414a2e0 nvme-fc: Fix wrong return value in __nvme_fc_init_request() 05c608f630b9 blkcg: fix memleak for iolatency 872a2b3182ee blk-mq: insert request not through ->queue_rq into sw/scheduler queue 9054d5844092 hwmon: (nct7904) Correct divide by 0 1475314530bb bfq: fix blkio cgroup leakage v4 2295664518c3 block: Fix page_is_mergeable() for compound pages 3e9eb1e893ba drm/msm/adreno: fix updating ring fence effd3b89f7e5 block: virtio_blk: fix handling single range discard request cc3a73f245cb block: respect queue limit of max discard segment 8f409e764c4b media: gpio-ir-tx: improve precision of transmitted signal due to scheduling 6ba04701b801 ALSA: usb-audio: Add capture support for Saffire 6 (USB 1.1) 5861e84d7145 cpufreq: intel_pstate: Fix EPP setting via sysfs in active mode 1b7b2d45b31e PCI: qcom: Add missing reset for ipq806x ea552383a9d5 PCI: qcom: Change duplicate PCI reset to phy reset 29ecf28be997 PCI: qcom: Add missing ipq806x clocks in PCIe driver 6d11320bed41 EDAC/{i7core,sb,pnd2,skx}: Fix error event severity 87cc96bb11b9 EDAC: skx_common: get rid of unused type var 3bf42b2e8d67 EDAC: sb_edac: get rid of unused vars 75aaa8fa7672 mm/vunmap: add cond_resched() in vunmap_pmd_range a2038eb833a5 drm/amd/display: Fix dmesg warning from setting abm level 8522b1bec88e drm/amd/display: Add additional config guards for DCN 992e51ff0e4b drm/amd/display: Trigger modesets on MST DSC connectors b730fb14434f drm/ingenic: Fix incorrect assumption about plane->index 8dc47d858fea gpu/drm: ingenic: Use the plane's src_[x,y] to configure DMA length 302b9e189962 cma: don't quit at first error when activating reserved areas aed14b1b5c0e mm/cma.c: switch to bitmap_zalloc() for cma bitmap allocation 965d3d5ce355 mm: fix kthread_use_mm() vs TLB invalidate 72574434da87 mm/shuffle: don't move pages between zones and don't read garbage memmaps 483b956a16a0 btrfs: only commit delayed items at fsync if we are logging a directory 3eddcc71fe8a btrfs: only commit the delayed inode when doing a full fsync d5f5b15d3ea4 btrfs: factor out inode items copy loop from btrfs_log_inode() a0cfda9cb3a1 s390/numa: set node distance to LOCAL_DISTANCE 67f8b390b15e drm/xen-front: Fix misused IS_ERR_OR_NULL checks 02611bcaafe5 drm/xen: fix passing zero to 'PTR_ERR' warning fe376f1b12d2 PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent b7cca731b486 PM / devfreq: rk3399_dmc: Disable devfreq-event device when fails a0f69c6f5e0b PM / devfreq: rk3399_dmc: Add missing of_node_put() 961bfe1277ae usb: cdns3: gadget: always zeroed TRB buffer when enable endpoint 2c0000f409ec sched/uclamp: Fix a deadlock when enabling uclamp static key 88435320ebc1 sched/uclamp: Protect uclamp fast path code with static key 93709d8ade00 Revert "ath10k: fix DMA related firmware crashes on multiple devices" da56eb03ea94 arm64: Fix __cpu_logical_map undefined issue 12a9bec2bd4e efi: provide empty efi_enter_virtual_mode implementation b2defeb19bff brcmfmac: Set timeout value when configuring power save 7aac56d8b0ee USB: sisusbvga: Fix a potential UB casued by left shifting a negative value e77f71c6341a powerpc/spufs: add CONFIG_COREDUMP dependency 653ae33b030b KVM: arm64: Fix symbol dependency in __hyp_call_panic_nvhe a84a6eb935ba media: davinci: vpif_capture: fix potential double free 6b0010ed7140 hugetlbfs: prevent filesystem stacking of hugetlbfs c67c6e1f54aa EDAC/ie31200: Fallback if host bridge device is already initialized 41191f8c57a1 scsi: fcoe: Memory leak fix in fcoe_sysfs_fcf_del() a002274db527 ceph: do not access the kiocb after aio requests 01540d5e7c1b ceph: fix potential mdsc use-after-free crash 9da791b5410e scsi: iscsi: Do not put host in iscsi_set_flashnode_param() 050292f138a3 btrfs: make btrfs_qgroup_check_reserved_leak take btrfs_inode 1f52b85f6c79 btrfs: file: reserve qgroup space after the hole punch range is locked 7d6689df48de locking/lockdep: Fix overflow in presentation of average lock-time 2adf6ec63db2 drm/nouveau: Fix reference count leak in nouveau_connector_detect 19e81f6325a9 drm/nouveau: fix reference count leak in nv50_disp_atomic_commit d23d52e38cc9 drm/nouveau/drm/noveau: fix reference count leak in nouveau_fbcon_open 45e30390f50f f2fs: fix use-after-free issue 4cba87943046 HID: quirks: add NOGET quirk for Logitech GROUP 6734eeb6c2f0 cec-api: prevent leaking memory through hole in structure bd4593030332 ALSA: hda: Add support for Loongson 7A1000 controller f4107f633a29 mips/vdso: Fix resource leaks in genvdso.c 71e7e02c0590 rtlwifi: rtl8192cu: Prevent leaking urb 3a84491364e1 ARM: dts: ls1021a: output PPS signal on FIPER2 4410fd0c378e PCI: Fix pci_create_slot() reference count leak 201838142c52 omapfb: fix multiple reference count leaks due to pm_runtime_get_sync 22d859fe1bdc f2fs: fix error path in do_recover_data() 110c5a5a6854 selftests/powerpc: Purge extra count_pmc() calls of ebb selftests 0450a50c914e scsi: target: Fix xcopy sess release leak 774cc7c882f8 xfs: Don't allow logging of XFS_ISTALE inodes 40b450375c80 scsi: lpfc: Fix shost refcount mismatch when deleting vport 815060a8ec2a drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails 8290f9d4695f drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config 3753eff4c69a drm/amd/display: fix ref count leak in amdgpu_drm_ioctl c911da7b6673 drm/amdgpu: fix ref count leak in amdgpu_driver_open_kms 40d0bf2b6e99 drm/radeon: fix multiple reference count leak 9c88b27ac444 drm/amdkfd: Fix reference count leaks. 1174ed705dda iommu/iova: Don't BUG on invalid PFNs f0a066af0f37 mfd: intel-lpss: Add Intel Tiger Lake PCH-H PCI IDs d98ea48810e6 scsi: target: tcmu: Fix crash on ARM during cmd completion ab2d90e58ae1 blktrace: ensure our debugfs dir exists fc93c091de22 media: pci: ttpci: av7110: fix possible buffer overflow caused by bad DMA value in debiirq() 1dc0ed18219a powerpc/xive: Ignore kmemleak false positives 88eb00cb39ce arm64: dts: qcom: msm8916: Pull down PDM GPIOs during sleep d8cc881483d8 mfd: intel-lpss: Add Intel Emmitsburg PCH PCI IDs fd5908860a17 ASoC: tegra: Fix reference count leaks. 7d60cd2a6e08 ASoC: img-parallel-out: Fix a reference count leak 8150a0e3d796 ASoC: img: Fix a reference count leak in img_i2s_in_set_fmt a53f67368c98 ALSA: hda/hdmi: Use force connectivity quirk on another HP desktop 348da2f8566b ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged bcf40820b4fd ALSA: pci: delete repeated words in comments b45944e2b39e ALSA: hda/hdmi: Add quirk to force connectivity 266d21a57093 ipvlan: fix device features e1334c4f4aec net/sched: act_ct: Fix skb double-free in tcf_ct_handle_fragments() error flow 97a74349cf82 net: ena: Make missed_tx stat incremental 6c2e795f95cd tipc: fix uninit skb->data in tipc_nl_compat_dumpit() d429362b3de4 net/smc: Prevent kernel-infoleak in __smc_diag_dump() 4d2fe0addc38 net: sctp: Fix negotiation of the number of data streams. 4ef63e365466 net: qrtr: fix usage of idr in port assignment to socket 4ae9ebf9e8ea net: nexthop: don't allow empty NHA_GROUP 6ed89176755c net: Fix potential wrong skb->protocol in skb_vlan_untag() b5e34120b06a gre6: Fix reception with IP6_TNL_F_RCV_DSCP_COPY 730443f4c48a binfmt_flat: revert "binfmt_flat: don't offset the data start" 669fc3b38ce2 powerpc/64s: Don't init FSCR_DSCR in __init_FSCR()
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bruce Ashfield [Thu, 10 Sep 2020 03:00:22 +0000 (23:00 -0400)]
linux-yocto/5.8: update to v5.8.8
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:
4f447bf95fdc Linux 5.8.8 830b08e696f7 net: usb: Fix uninit-was-stored issue in asix_read_phy_addr() 548c1175051d cfg80211: regulatory: reject invalid hints 9206b03e7fc9 mm/khugepaged.c: fix khugepaged's request size in collapse_file 951e290ad85b mm/hugetlb: fix a race between hugetlb sysctl handlers e2d4e423205e mm/hugetlb: try preferred node first when alloc gigantic page from cma 3fd08f78f47a mm/migrate: fixup setting UFFD_WP flag 658e93f1c318 checkpatch: fix the usage of capture group ( ... ) d3498d5e8775 sdhci: tegra: Add missing TMCLK for data timeout 55eb0f42f465 kconfig: streamline_config.pl: check defined(ENV variable) before using it 8c4c56846892 perf record: Correct the help info of option "--no-bpf-event" bf8fe7b755c2 io_uring: no read/write-retry on -EAGAIN error and O_NONBLOCK marked file a8bf40a7538f mm/rmap: fixup copying of soft dirty and uffd ptes 9b4a9e89f6e8 mm: madvise: fix vma user-after-free 98650804fa53 mm: track page table modifications in __apply_to_page_range() 3eba981cffc9 mm: slub: fix conversion of freelist_corrupted() 4469ea5972ab dm thin metadata: Fix use-after-free in dm_bm_set_read_only b3c76fdbb119 dm thin metadata: Avoid returning cmd->bm wild pointer on error d02a33a24825 dm cache metadata: Avoid returning cmd->bm wild pointer on error 0a495d145f59 dm crypt: Initialize crypto wait structures 372236a01bc5 dm integrity: fix error reporting in bitmap mode after creation 2c8ee4951f11 dm mpath: fix racey management of PG initialization cc06bdfc211b dm writecache: handle DAX to partitions on persistent memory correctly 67ba86179fc6 drm/amdgpu: Specify get_argument function for ci_smu_funcs dd8a223d0f58 drm/amd/pm: avoid false alarm due to confusing softwareshutdowntemp setting 696f8cfee025 drm/i915: Fix sha_text population code 1693c125c0a9 dmaengine: dw-edma: Fix scatter-gather address calculation 3c761332597d blk-stat: make q->stats->lock irqsafe 70d22582c3eb blk-iocost: ioc_pd_free() shouldn't assume irq disabled 57fd9f8eb603 mips/oprofile: Fix fallthrough placement dea6f05d372a libata: implement ATA_HORKAGE_MAX_TRIM_128M and apply to Sandisks 3264d781e1ad s390: fix GENERIC_LOCKBREAK dependency typo in Kconfig e37bc36aaff3 io_uring: fix removing the wrong file in __io_sqe_files_update() 329c9ffc81cf io_uring: set table->files[i] to NULL when io_sqe_file_register failed a7a42c1e5023 block: ensure bdi->io_pages is always initialized b7df98a8b7b8 block: allow for_each_bvec to support zero len bvec 2221f41d3fb3 affs: fix basic permission bits to actually work 9af0c46a7612 media: rc: uevent sysfs file races with rc_unregister_device() bff924ee40ae media: rc: do not access device via sysfs after rc_unregister_device() 91994b8489a3 mmc: sdhci-pci: Fix SDHCI_RESET_ALL for CQHCI for Intel GLK-based controllers 88df22892d14 mmc: dt-bindings: Add resets/reset-names for Mediatek MMC bindings 01263d02f5da mmc: mediatek: add optional module reset property f8916b54514e arm64: dts: mt7622: add reset node for mmc device ab90e0d7a985 ALSA: hda/realtek - Improved routing for Thinkpad X1 7th/8th Gen 3695decb7771 ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion NT950XCJ-X716A c1e0aff25b1b ALSA; firewire-tascam: exclude Tascam FE-8 from detection 8e83bd51016a ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO 48510be50e87 ALSA: firewire-digi00x: exclude Avid Adrenaline from detection 7554ad2ffdad ALSA: hda/hdmi: always check pin power status in i915 pin fixup db5d1d51bef1 ALSA: pcm: oss: Remove superfluous WARN_ON() for mulaw sanity check dfcfc358e366 ALSA: usb-audio: Add implicit feedback quirk for UR22C 3284ababd0c4 ALSA: usb-audio: Add basic capture support for Pioneer DJ DJM-250MK2 2c9ba98fec4d ALSA: ca0106: fix error code handling 9aa4e2c3da17 Revert "ALSA: hda: Add support for Loongson 7A1000 controller" df7a51020021 x86/mm/32: Bring back vmalloc faulting on x86_32 98f0b4072c94 Bluetooth: Return NOTIFY_DONE for hci_suspend_notifier 434ed4233877 btrfs: tree-checker: fix the error message for transid error 6b09009a2eae btrfs: block-group: fix free-space bitmap threshold 6d12fbd0c4b7 btrfs: set the lockdep class for log tree extent buffers 7ad3d8ad569c btrfs: set the correct lockdep class for new nodes 42a2fbd05773 btrfs: allocate scrub workqueues outside of locks 26cf893236fd btrfs: fix potential deadlock in the search ioctl 5e85cae6cd52 btrfs: drop path before adding new uuid tree entry be69bb028264 arc: fix memory initialization for systems with two memory banks ec96b4b7514c ARC: perf: don't bail setup if pct irq missing in device-tree 7d5026dcd362 xfs: don't update mtime on COW faults 9c12f371a2ce ext2: don't update mtime on COW faults 4e99722219f4 x86/debug: Allow a single level of #DB recursion 231508fa9a6d x86/entry: Fix AC assertion f76c4eab5ce9 tracing/kprobes, x86/ptrace: Fix regs argument order for i386 98176c9f3a77 iommu/vt-d: Handle 36bit addressing for x86-32 c93d26ef17b4 include/linux/log2.h: add missing () around n in roundup_pow_of_two() 03ca1f09ab1f net/packet: fix overflow in tpacket_rcv 4437dfb7777d iommu/amd: Use cmpxchg_double() when updating 128-bit IRTE 6b0caba52055 iommu/amd: Restore IRTE.RemapEn bit after programming IRTE 2551a138792a thermal: qcom-spmi-temp-alarm: Don't suppress negative temp 7da369acd79f thermal: ti-soc-thermal: Fix bogus thermal shutdowns for omap4430 7583c56d9092 iommu/vt-d: Serialize IOMMU GCMD register modifications a9c41d6214a8 x86, fakenuma: Fix invalid starting node ID abbb183229ac tg3: Fix soft lockup when tg3_reset_task() fails. 594adc1bda7a perf bench: The do_run_multi_threaded() function must use IS_ERR(perf_session__new()) f42f9c0d115e perf stat: Turn off summary for interval mode by default c58ff4b470e8 perf jevents: Fix suspicious code in fixregex() 62a5784285bf xfs: fix xfs_bmap_validate_extent_raw when checking attr fork of rt files c10fa9458aa6 MIPS: SNI: Fix SCSI interrupt b5c901d96a59 MIPS: add missing MSACSR and upper MSA initialization 6aef73907338 net: dp83867: Fix WoL SecureOn password d7983d7b64c4 nfp: flower: fix ABI mismatch between driver and firmware 5c9f765dcd4e net: gemini: Fix another missing clk_disable_unprepare() in probe f555d57c8f1b net: bcmgenet: fix mask check in bcmgenet_validate_flow() 41e233bd6412 fix regression in "epoll: Keep a reference on files added to the check list" 3cdbbaca1681 net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init() 5a48e463f50a perf tools: Correct SNOOPX field offset f4b9594e02d5 perf intel-pt: Fix corrupt data after perf inject from 7ea241e7a0a2 perf cs-etm: Fix corrupt data after perf inject from 8a435d33c261 perf top/report: Fix infinite loop in the TUI for grouped events 692d06265574 block: fix locking in bdev_del_partition bbb1dc4431b0 MIPS: perf: Fix wrong check condition of Loongson event IDs 89639c177d04 net: ethernet: ti: am65-cpsw: fix rmii 100Mbit link mode eec98f743e40 cxgb4: fix thermal zone device registration e5d5c3b4e4a2 opp: Don't drop reference for an OPP table that was never parsed 3484b664521d netfilter: conntrack: do not auto-delete clash entries on reply 4aa6128188fb nvme: fix controller instance leak db8c729bca37 nvmet-fc: Fix a missed _irqsave version of spin_lock in 'nvmet_fc_fod_op_done()' 4b5158a2f6b7 netfilter: nfnetlink: nfnetlink_unicast() reports EAGAIN instead of ENOBUFS e8df547c81d0 net: dsa: mt7530: fix advertising unsupported 1000baseT_Half cbd84d8ef3e9 selftests/bpf: Fix massive output from test_maps 991ca0615902 media: i2c: imx214: select V4L2_FWNODE 404f3f27b087 net: ethernet: ti: cpsw_new: fix error handling in cpsw_ndo_vlan_rx_kill_vid() b3b321d44175 media: cedrus: Add missing v4l2_ctrl_request_hdl_put() 60e9f3f036f3 media: vicodec: add missing v4l2_ctrl_request_hdl_put() 72c7309533b4 bnxt: don't enable NAPI until rings are ready 531c6cb9ad1e xfs: fix boundary test in xfs_attr_shortform_verify 91565765b6de xfs: finish dfops on every insert range shift iteration 81fbc28873ef bnxt_en: fix HWRM error when querying VF temperature e4d07b93a26b bnxt_en: Fix possible crash in bnxt_fw_reset_task(). e0543e56fa62 bnxt_en: Fix PCI AER error recovery flow 214c19832333 bnxt_en: Fix ethtool -S statitics with XDP or TCs enabled. 376326004a42 bnxt_en: Check for zero dir entries in NVRAM. 8fd4262bc8e4 bnxt_en: Don't query FW when netif_running() is false. b12fefddb43f net: ethernet: ti: cpsw_new: fix clean up of vlan mc entries for host port 634b47d46f93 net: ethernet: ti: cpsw: fix clean up of vlan mc entries for host port e4fe6bfddafe gtp: add GTPA_LINK info to msg sent to userspace f276f4e1b743 dmaengine: ti: k3-udma: Fix the TR initialization for prep_slave_sg 1185d129364a dmaengine: pl330: Fix burst length if burst size is smaller than bus width ad32766990e2 bpf: Fix a buffer out-of-bound access when filling raw_tp link_info bb3eebda4e22 net: arc_emac: Fix memleak in arc_mdio_probe 9ea477348bd2 ravb: Fixed to be able to unload modules ab1423e5b4d1 net: systemport: Fix memleak in bcm_sysport_probe 0c14725cb063 net: hns: Fix memleak in hns_nic_dev_probe a949770022f4 netfilter: nf_tables: fix destination register zeroing b7d77de2fe79 netfilter: nf_tables: incorrect enum nft_list_attributes definition e8261af70717 netfilter: nf_tables: add NFTA_SET_USERDATA if not null 20a7ee03beba perf top: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set 06a1d6e334b0 perf sched timehist: Fix use of CPU list with summary option b1c9e29c933e mmc: sdhci-acpi: Fix HS400 tuning for AMDI0040 17c1b210b6ea MIPS: BMIPS: Also call bmips_cpu_setup() for secondary cores f39c875a8eeb MIPS: mm: BMIPS5000 has inclusive physical caches feb72ac627bc rxrpc: Make rxrpc_kernel_get_srtt() indicate validity 26457829b759 rxrpc: Fix loss of RTT samples due to interposed ACK e2674459be67 rxrpc: Keep the ACK serial in a var in rxrpc_input_ack() eff6dcb0c388 dmaengine: at_hdmac: add missing kfree() call in at_dma_xlate() 159db733b2ac dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate() e3149ca07e92 dmaengine: at_hdmac: check return value of of_find_device_by_node() in at_dma_xlate() c6156f0064b1 batman-adv: bla: use netif_rx_ni when not in interrupt context cb6560a41c45 batman-adv: Fix own OGM check in aggregated OGMs 27cc30cdc8f4 batman-adv: Avoid uninitialized chaddr when handling DHCP 4b805451419c dmaengine: of-dma: Fix of_dma_router_xlate's of_dma_xlate handling 6f88924528c8 fsldma: fix very broken 32-bit ppc ioread64 functionality adaa55616567 xen/xenbus: Fix granting of vmalloc'd memory 2c97832bae08 drm/amd/display: Fix memleak in amdgpu_dm_mode_config_init fe4e01212478 drm/amd/display: Retry AUX write when fail occurs a3a943b6f211 drm/amd/display: Keep current gain when ABM disable immediately e7ea08312558 drm/amd/display: Fix passive dongle mistaken as active dongle in EDID emulation 151ed59e03a9 drm/amd/display: Revert HDCP disable sequence change af7dceeda116 drivers: gpu: amd: Initialize amdgpu_dm_backlight_caps object to 0 in amdgpu_dm_update_backlight_caps 47fd4ba5cc95 drm/amd/display: Reject overlay plane configurations in multi-display scenarios 35950cec8547 drm/amd/display: should check error using DC_OK bd5f4d49094c s390: don't trace preemption in percpu macros c3bf0387a0a9 nbd: restore default timeout when setting it to zero 0f6c545bddd3 cpuidle: Fixup IRQ state a3c2bcb3e9e3 irqchip/ingenic: Leave parent IRQ unmasked on suspend 2659c526f928 drm/omap: fix incorrect lock state 01a28ac6e917 i2c: iproc: Fix shifting 31 bits 46653857d015 ceph: don't allow setlease on cephfs 94fd015fe91f hv_utils: drain the timesync packets on onchannelcallback 6a725c83a08d hv_utils: return error if host timesysnc update is stale 4f3ffd5fcbf7 gfs2: add some much needed cleanup for log flushes that fail 2ed484c404e0 drm/msm/a6xx: fix gmu start on newer firmware 2ad613d97f96 habanalabs: check correct vmalloc return code 72038388869b habanalabs: validate FW file size 9a3acad9ae0e habanalabs: set max power according to card type 3a24b9420ee0 habanalabs: proper handling of alloc size in coresight a8d7e5599614 habanalabs: set clock gating according to mask fb8b4592f958 habanalabs: validate packet id during CB parse b18c6071868c habanalabs: unmap PCI bars upon iATU failure 4e2beff0b638 drm/msm: enable vblank during atomic commits 3fe50ada2a56 nvmet: Disable keep-alive timer when kato is cleared to 0h 64c064ba11c6 hwmon: (applesmc) check status earlier. 56ed34ea6cd7 drm/msm: add shutdown support for display platform_driver 87371d858101 tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup c92e690c5e23 drm/msm/dpu: fix unitialized variable error d33d9115be04 drm/msm/dpu: Fix scale params in plane validation 6ea918a6197d drm/msm/dpu: Fix reservation failures in modeset 8ca621939d76 HID: quirks: Always poll three more Lenovo PixArt mice 7cd0d11c6408 hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_1 telemetry for RAA228228 b72c392fa3e5 Linux 5.8.7 839ab6a84a9b scsi: target: tcmu: Optimize use of flush_dcache_page ba1bc48691d4 nl80211: fix NL80211_ATTR_HE_6GHZ_CAPABILITY usage 3def2670934b sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra186 4710fc20adac sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra210 bb8d1ed450ea arm64: tegra: Add missing timeout clock to Tegra210 SDMMC eac502d07d49 arm64: tegra: Add missing timeout clock to Tegra186 SDMMC nodes da2d25c35435 arm64: tegra: Add missing timeout clock to Tegra194 SDMMC nodes 991b02edd133 dt-bindings: mmc: tegra: Add tmclk for Tegra210 and later 495b506743a1 KVM: arm64: Survive synchronous exceptions caused by AT instructions 71e9e3ce6a2c KVM: arm64: Add kvm_extable for vaxorcism code 5b1c0ed9ff3c media: media/v4l2-core: Fix kernel-infoleak in video_put_user() ff95152b14f2 perf record/stat: Explicitly call out event modifiers in the documentation 20257b70d5f1 selftests/x86/test_vsyscall: Improve the process_vm_readv() test e80a7602b405 mm: fix pin vs. gup mismatch with gate pages 331524770431 netfilter: nft_set_rbtree: Handle outcomes of tree rotations in overlap detection e771e63c0cdc HID: core: Sanitize event code and type when mapping input b070b1e20768 HID: core: Correctly handle ReportSize being zero 66534fe2b940 Linux 5.8.6 e54835be930d ALSA: usb-audio: Update documentation comment for MS2109 quirk a34b7526320e dma-pool: Fix an uninitialized variable bug in atomic_pool_expand() f880d69b2810 drm/vmwgfx/ldu: Use drm_mode_config_reset 01736d379ece drm/vmwgfx/sou: Use drm_mode_config_reset 4ba591d72a70 drm/vmwgfx/stdu: Use drm_mode_config_reset 7947e0ba4cca HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage() 9d960a74b43a mm/page_counter: fix various data races at memsw b65258eb82cc fbmem: pull fbcon_update_vcs() out of fb_set_var() d88c0bef7070 drm/atomic-helper: reset vblank on crtc reset e93fd7a49023 io_uring: make offset == -1 consistent with preadv2/pwritev2 9ab83e1c4a31 io_uring: don't use poll handler if file can't be nonblocking read/written b7e397bcba0a io_uring: don't recurse on tsk->sighand->siglock with signalfd b727b92fd33b usb: typec: tcpm: Fix Fix source hard reset response for TDA 2.3.1.1 and TDA 2.3.1.2 failures d597f82cc262 usb: typec: ucsi: Hold con->lock for the entire duration of ucsi_register_port() 3c4cd68799f8 usb: typec: ucsi: Rework ppm_lock handling 84e29c7cf591 usb: typec: ucsi: Fix 2 unlocked ucsi_run_command calls 4b59dabd3170 usb: typec: ucsi: Fix AB BA lock inversion 53965c79c2db USB: Fix device driver race a18d5d456c00 USB: Also match device drivers using the ->match vfunc 0ca26ffe3c1f usb: storage: Add unusual_uas entry for Sony PSZ drives fad19f628f53 USB: cdc-acm: rework notification_buffer resizing afb420486016 usb: dwc3: gadget: Handle ZLP for sg requests 8301e3aa1c8d usb: dwc3: gadget: Fix handling ZLP d884a90cec5a usb: dwc3: gadget: Don't setup more than requested 3b9953fe5723 USB: gadget: u_f: Unbreak offset calculation in VLAs ae6a5394d9fb USB: gadget: f_ncm: add bounds checks to ncm_unwrap_ntb() 480e17846d32 USB: gadget: u_f: add overflow checks to VLA macros ec5c2663d533 usb: host: ohci-exynos: Fix error handling in exynos_ohci_probe() 27cf2e50545a USB: Ignore UAS for JMicron JMS567 ATA/ATAPI Bridge 7eb94ea0e8e9 USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D 155288e45c8d USB: quirks: Add no-lpm quirk for another Raydium touchscreen 2b9be3af1037 usb: uas: Add quirk for PNY Pro Elite 495f2f1b53d7 USB: yurex: Fix bad gfp argument ccc9838fed80 drm/amd/pm: correct the thermal alert temperature limit settings 56ab34c44e85 drm/amd/pm: correct Vega20 swctf limit setting 520e40dcea83 drm/amd/pm: correct Vega12 swctf limit setting b46df9eab0cd drm/amd/pm: correct Vega10 swctf limit setting 686a7f065cd8 drm/amd/powerplay: Fix hardmins not being sent to SMU for RV cd9c79f79dd4 drm/amdgpu/gfx10: refine mgcg setting 54dc92e19008 drm/amd/display: use correct scale for actual_brightness 83ac52039493 drm/amdgpu: Fix buffer overflow in INFO ioctl 5f5bd9002bb1 drm/modeset-lock: Take the modeset BKL for legacy drivers 057423349c34 drm/dp_mst: Don't return error code when crtc is null dd36e041bd51 drm/etnaviv: fix external abort seen on GC600 rev 0x19 74e1bbfb842a drm/i915: Fix cmd parser desc matching with masks f07523a5b09a x86/hotplug: Silence APIC only after all interrupts are migrated bbf423c28efc x86/irq: Unbreak interrupt affinity setting 66e1e9bda022 irqchip/stm32-exti: Avoid losing interrupts due to clearing pending bits by mistake a1b116511aa8 genirq/matrix: Deal with the sillyness of for_each_cpu() on UP 8cb3561d084e usbip: Implement a match function to fix usbip 3c491c441942 crypto: af_alg - Work around empty control messages without MSG_MORE 1d35dfde2a7d device property: Fix the secondary firmware node handling in set_primary_fwnode() 9a9cc8c9b1c7 powerpc/perf: Fix crashes with generic_compat_pmu & BHRB bdae01670694 powerpc/32s: Disable VMAP stack which CONFIG_ADB_PMU 3b555853d736 PM: sleep: core: Fix the handling of pending runtime resume requests 17d66e628058 arm64: vdso32: make vdso32 install conditional d36a6712d9f1 KVM: arm64: Set HCR_EL2.PTW to prevent AT taking synchronous exception 13f35a2c0fd5 io-wq: fix hang after cancelling pending hashed work 96d020ddff6a xhci: Always restore EP_SOFT_CLEAR_TOGGLE even if ep reset failed 7d31eaa7e295 xhci: Do warm-reset when both CAS and XDEV_RESUME are set 50a7c735bc0a usb: host: xhci: fix ep context print mismatch in debugfs 55c0eeabceb7 usb: host: xhci-tegra: fix tegra_xusb_get_phy() c08e590b07e4 usb: host: xhci-tegra: otg usb2/usb3 port init 68adec4646bf usb: renesas-xhci: remove version check 2b32323f966d XEN uses irqdesc::irq_data_common::handler_data to store a per interrupt XEN data pointer which contains XEN specific information. 05ae7cf354b7 writeback: Fix sync livelock due to b_dirty_time processing d74c235bd59f writeback: Avoid skipping inode writeback dd71dd1dc12f writeback: Protect inode->i_io_list with inode->i_lock 1506fdcde864 io_uring: clear req->result on IOPOLL re-issue 116790cfa0b8 serial: 8250: change lock order in serial8250_do_startup() 89171ef86bdc serial: 8250_exar: Fix number of ports for Commtech PCIe cards 0a60539b4cd9 serial: stm32: avoid kernel warning on absence of optional IRQ df26430356bf serial: pl011: Don't leak amba_ports entry on driver register error 6648c599db7f serial: pl011: Fix oops on -EPROBE_DEFER e3f8041d2434 serial: samsung: Removes the IRQ not found warning edc8a4eb10cf vt_ioctl: change VT_RESIZEX ioctl to check for error return from vc_resize() 2392eea66e66 vt: defer kfree() of vc_screenbuf in vc_do_resize() e863ac5f53dc USB: lvtest: return proper error code in probe 34cf1aff169d fbcon: prevent user font height or width change from causing potential out-of-bounds access bb77dd02ba16 btrfs: detect nocow for swap after snapshot delete b40d12b7da66 btrfs: fix space cache memory leak after transaction abort c7e8c6f46869 btrfs: check the right error variable in btrfs_del_dir_entries_in_log 204ed5f3f628 btrfs: reset compression level for lzo on remount b4cbbc1305f0 blk-mq: order adding requests to hctx->dispatch and checking SCHED_RESTART 649b6c86ccf7 HID: i2c-hid: Always sleep 60ms after I2C_HID_PWR_ON commands 7aaaf975dd4c block: loop: set discard granularity and alignment for block device backed loop 7b85140f7060 block: fix get_max_io_size() 8245d79338b7 hwmon: (gsc-hwmon) Scale temperature to millidegrees faf428a8d81c arm64: Allow booting of late CPUs affected by erratum 1418040 e028fa961a3a arm64: Move handling of erratum 1418040 into C code 736d8a6a73be bpf: selftests: global_funcs: Check err_str before strstr d5a4d2f25d77 libbpf: Fix map index used in error message 1c20c32e8a2a powerpc/perf: Fix soft lockups due to missed interrupt accounting d3499d206c5d ext4: limit the length of per-inode prealloc list 61aacc3594c9 bpf: Avoid visit same object multiple times 2d9018e5e6e2 bpf: Fix a rcu_sched stall issue with bpf task/task_file iterator 3636ca3d046f drm/amdkfd: fix the wrong sdma instance query for renoir eb9f5a5bf402 drm/amdgpu: fix NULL pointer access issue when unloading driver 833e41f79c77 net: gianfar: Add of_node_put() before goto statement a8f90da8480c macvlan: validate setting of multiple remote source MAC addresses cd8e4a8c7416 Revert "scsi: qla2xxx: Fix crash on qla2x00_mailbox_command" a36de930485f scsi: qla2xxx: Fix null pointer access during disconnect from subsystem aa6373e5f9d6 scsi: qla2xxx: Check if FW supports MQ before enabling 3d2419958fc5 scsi: qla2xxx: Fix login timeout eb34d23c9473 scsi: qla2xxx: Indicate correct supported speeds for Mezz card 580ffb7fd621 scsi: qla2xxx: Flush I/O on zone disable 2626e3b023ff scsi: qla2xxx: Flush all sessions on zone disable 018360efe867 scsi: scsi_debug: Fix scp is NULL errors 56f13789a05a scsi: ufs: Clean up completed request without interrupt notification 91be3977cc34 scsi: ufs: Improve interrupt handling for shared interrupts 33cf91947c84 scsi: ufs: Fix possible infinite loop in ufshcd_hold 4ef551cd2f8b scsi: fcoe: Fix I/O path allocation 5dd18770d919 selftests: disable rp_filter for icmp_redirect.sh 8e6025686c8a ALSA: usb-audio: ignore broken processing/extension unit ee4dd74d0872 ASoC: wm8994: Avoid attempts to read unreadable registers 42f9f777f953 s390/cio: add cond_resched() in the slow_eval_known_fn() loop f3637a82e1f8 ALSA: hda/realtek: Add model alc298-samsung-headphone effc2c1250cf drivers/net/wan/hdlc_x25: Added needed_headroom and a skb->len check 1ca28e0d9e49 dma-pool: Only allocate from CMA when in same memory zone 47184b9ddf18 dma-pool: fix coherent pool allocations for IOMMU mappings b960e50d6172 can: j1939: transport: j1939_xtp_rx_dat_one(): compare own packets to detect corruptions da9c02c50991 selftests/bpf: Correct various core_reloc 64-bit assumptions 751799b3b2ef selftests/bpf: Fix btf_dump test cases on 32-bit arches daca0c13cb12 selftest/bpf: Fix compilation warnings in 32-bit mode 50bc5a55666e tools/bpftool: Fix compilation warnings in 32-bit mode b97071cc83f8 libbpf: Prevent overriding errno when logging errors e3a5fa63a2e5 netfilter: avoid ipv6 -> nf_defrag_ipv6 module dependency 810b3c8b656a selftests/bpf: Fix segmentation fault in test_progs 4a5e1c465e84 drm/amd/display: Switch to immediate mode for updating infopackets 04e7daa61fd7 drm/amd/display: Fix LFC multiplier changing erratically 757460fe2351 drm/amd/powerplay: correct UVD/VCE PG state on custom pptable uploading eb7eaabb7fb9 drm/amd/powerplay: correct Vega20 cached smu feature state 5a2bc176c13d spi: stm32: always perform registers configuration prior to transfer accab0677047 spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate 0e92f6b422db spi: stm32: fix fifo threshold level in case of short transfer 87fb6c0331bc spi: stm32h7: fix race condition at end of transfer c13fd34bc607 fs: prevent BUG_ON in submit_bh_wbc() e3e46eaa2f33 ext4: correctly restore system zone info when remount fails 6c30edde8a3a ext4: handle error of ext4_setup_system_zone() on remount c27ed2e8d7f8 ext4: handle option set by mount flags correctly 5482fa036756 jbd2: abort journal if free a async write error metadata buffer 1ca3e7d0cc00 ext4: abort the filesystem if failed to async write metadata buffer c8bf676fff3e drm/virtio: fix memory leak in virtio_gpu_cleanup_object() f2fb15e7e037 ext4: skip non-loaded groups at cr=0/1 when scanning for good groups a245fa7062a6 ext4: handle read only external journal device d558851e5ff4 ext4: don't BUG on inconsistent journal feature 55be43c8b123 jbd2: make sure jh have b_transaction set in refile/unfile_buffer 9b04463ab475 spi: stm32: clear only asserted irq flags on interrupt a5d6a17faf19 video: fbdev: controlfb: Fix build for COMPILE_TEST=y && PPC_PMAC=n 7fee32de555b usb: gadget: f_tcm: Fix some resource leaks in some error paths 2813786a5b89 vdpa: ifcvf: free config irq in ifcvf_free_irq() 5bd342db2db7 vdpa: ifcvf: return err when fail to request config irq b9080a8d8237 i2c: rcar: in slave mode, clear NACK earlier f24ffc31709b i2c: core: Don't fail PRP0001 enumeration when no ID table exist a416b1e870b1 drm/etnaviv: always start/stop scheduler in timeout processing 87789f561e39 habanalabs: Fix memory corruption in debugfs 6f43d2f469bf null_blk: fix passing of REQ_FUA flag in null_handle_rq e05f3c879aa8 nvme: multipath: round-robin: fix single non-optimized path case afb511ebb78a nvme-fc: Fix wrong return value in __nvme_fc_init_request() 227064b2ca9e nvmet: fix a memory leak 614b266f69fe blkcg: fix memleak for iolatency b5ce818355a8 blk-mq: insert request not through ->queue_rq into sw/scheduler queue 3cea38246ad4 hwmon: (nct7904) Correct divide by 0 4346396a717d bfq: fix blkio cgroup leakage v4 700d01d85ebb block: Fix page_is_mergeable() for compound pages 103942e19ae4 drm/msm/adreno: fix updating ring fence 58794696d3d8 block: virtio_blk: fix handling single range discard request b31d83181f99 block: respect queue limit of max discard segment e2655c17ee2e nfsd: fix oops on mixed NFSv4/NFSv3 client access ccba36760ca3 ALSA: usb-audio: Add capture support for Saffire 6 (USB 1.1) be85585a0617 cpufreq: intel_pstate: Fix EPP setting via sysfs in active mode ce9d78bce0ef PM / devfreq: Fix the wrong end with semicolon 6eacb4639e22 PCI: qcom: Add missing reset for ipq806x e78ff09ed4c3 PCI: qcom: Change duplicate PCI reset to phy reset ff381a46439a PCI: qcom: Add missing ipq806x clocks in PCIe driver 0b91c538cedb net: openvswitch: introduce common code for flushing flows 2a80aa3a41d4 arm64: Fix __cpu_logical_map undefined issue d91fe6fa0d84 efi: provide empty efi_enter_virtual_mode implementation 14e6b3725ff0 pinctrl: mediatek: fix build for tristate changes 08074471105f pinctrl: mediatek: avoid virtual gpio trying to set reg f02889decdc2 brcmfmac: Set timeout value when configuring power save 1bbd2c5daed7 mmc: sdhci-of-arasan: fix timings allocation code b082d42f1c17 USB: sisusbvga: Fix a potential UB casued by left shifting a negative value 7278a1b0a17f dmaengine: idxd: fix PCI_MSI build errors 2757d46ff9cd powerpc/spufs: add CONFIG_COREDUMP dependency 34f379956e9d KVM: arm64: Fix symbol dependency in __hyp_call_panic_nvhe 22c3762014e2 drm/amd/display: fix compilation error on allmodconfig ad18857f5958 drm/amd/display: change global buffer to local buffer a539e86e8396 media: i2c: imx290: fix reset GPIO pin handling 22dcf9b459e4 media: davinci: vpif_capture: fix potential double free f2231eeadd1b hugetlbfs: prevent filesystem stacking of hugetlbfs a11488640c6f EDAC/ie31200: Fallback if host bridge device is already initialized 3e93d48ee60e i2c: i801: Add support for Intel Tiger Lake PCH-H e805b1ffc9be scsi: fcoe: Memory leak fix in fcoe_sysfs_fcf_del() 3bd5dad493e5 ceph: do not access the kiocb after aio requests e9c34e71a043 ceph: fix potential mdsc use-after-free crash 8ceddd70a682 netfilter: nf_tables: report EEXIST on overlaps 71e86271b49b scsi: iscsi: Do not put host in iscsi_set_flashnode_param() b83f035a0fcc btrfs: make btrfs_qgroup_check_reserved_leak take btrfs_inode 3b616321576e btrfs: file: reserve qgroup space after the hole punch range is locked 4754db363cfd locking/lockdep: Fix overflow in presentation of average lock-time e95673aa1263 drm/nouveau: Fix reference count leak in nouveau_connector_detect 62f9a8747340 drm/nouveau: fix reference count leak in nv50_disp_atomic_commit 84708092d685 drm/nouveau/drm/noveau: fix reference count leak in nouveau_fbcon_open 02465b9d38c9 f2fs: fix use-after-free issue f9bd216ca5bb HID: quirks: add NOGET quirk for Logitech GROUP acae5555c9c1 ASoC: Intel: sof_sdw_rt711: remove properties in card remove 72db989557d9 cec-api: prevent leaking memory through hole in structure 41399a7d4f50 gpu: host1x: Put gather's BO on pinning error 4afc97f8ad5f ALSA: hda: Add support for Loongson 7A1000 controller 674772bf76c9 mips/vdso: Fix resource leaks in genvdso.c 90019585a606 rtlwifi: rtl8192cu: Prevent leaking urb d5d5a10574f8 ARM: dts: ls1021a: output PPS signal on FIPER2 24a3bc57b937 PCI: Fix pci_create_slot() reference count leak 19aa529aabea omapfb: fix multiple reference count leaks due to pm_runtime_get_sync fcd0ea8ff7f8 MIPS: KVM: Limit Trap-and-Emulate to MIPS32R2 only 7fafbbefb758 f2fs: fix error path in do_recover_data() 26bf496cd1b6 f2fs: remove write attribute of main_blkaddr sysfs node c06a07ab8a3d selftests/powerpc: Purge extra count_pmc() calls of ebb selftests cca4669a9768 scsi: target: Fix xcopy sess release leak bce0f660a06a xfs: Don't allow logging of XFS_ISTALE inodes 2b5055b3aa5b scsi: lpfc: Fix shost refcount mismatch when deleting vport 04cde704f329 drm/amdgpu/pm: fix ref count leak when pm_runtime_get_sync fails 4e302836dc79 drm/amdkfd: fix ref count leak when pm_runtime_get_sync fails 2e91283fdb45 drm/amdgpu/fence: fix ref count leak when pm_runtime_get_sync fails e4fdcdb7837c drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails b86657e328b6 drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config c04caca229c4 drm/amd/display: fix ref count leak in amdgpu_drm_ioctl 8b73bed1e964 drm/amdgpu: fix ref count leak in amdgpu_driver_open_kms bedae9feaca9 drm/radeon: fix multiple reference count leak d312f436dd10 drm/amdkfd: Fix reference count leaks. b7850ba6edf0 platform/chrome: cros_ec_sensorhub: Fix EC timestamp overflow c71c249310b5 iommu/iova: Don't BUG on invalid PFNs 8bcd6545f0b4 mfd: intel-lpss: Add Intel Tiger Lake PCH-H PCI IDs d7570375e9f2 scsi: target: tcmu: Fix crash on ARM during cmd completion 4b0badbe3c91 staging: rts5208: fix memleaks on error handling paths in probe 46381f4d0c1a blktrace: ensure our debugfs dir exists 2145297ac316 gcc-plugins/stackleak: Don't instrument itself 27a22e3c1645 media: pci: ttpci: av7110: fix possible buffer overflow caused by bad DMA value in debiirq() d75f8e2c9d6a powerpc/xive: Ignore kmemleak false positives 970f32a28429 arm64: dts: qcom: msm8916: Pull down PDM GPIOs during sleep 6a5bd8b333b8 mfd: intel-lpss: Add Intel Emmitsburg PCH PCI IDs dd80a7201ed7 ASoC: tegra: Fix reference count leaks. d5581a8e323c ASoC: img-parallel-out: Fix a reference count leak c340a3b9da14 ASoC: img: Fix a reference count leak in img_i2s_in_set_fmt 7d60c7760631 EDAC/mc: Call edac_inc_ue_error() before panic ec24c53a4d0c drm/amdgpu: fix RAS memory leak in error case 9cc4449aae8c ALSA: hda/hdmi: Use force connectivity quirk on another HP desktop 3d41fe81e646 ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged 9a87d126b662 ALSA: pci: delete repeated words in comments ed2cdce09912 ALSA: hda/hdmi: Add quirk to force connectivity d4dadf0c5a07 ASoC: intel/skl/hda - fix probe regression on systems without i915 bd331906c61b khugepaged: khugepaged_test_exit() check mmget_still_valid()
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
wic/bootimg-efi: IMAGE_EFI_BOOT_FILES variable added to separate bootimg-efi and bootimg-partition
Due to recent changes in bootimg-efi to include IMAGE_BOOT_FILES,
when both bootimg-partition and bootimg-efi occur in a single .wks
and IMAGE_BOOT_FILES are defined, files listed in IMAGE_BOOT_FILES
will be duplicated in both partition.
Since IMAGE_BOOT_FILES are crucial for bootimg-partition, but
optional for bootimg-efi, hence allowing bootimg-efi to have the option
to ignore it.
The new variable, IMAGE_EFI_BOOT_FILES, was added to help handle this
issue. Its basic usage is the same as IMAGE_BOOT_FILES.
Usage example:
${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext4;rootfs.img \
This commit is also squashed with the updated testcase to cover for
this change.
[YOCTO #14011]
Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Chris Laplante [Mon, 14 Sep 2020 15:33:19 +0000 (11:33 -0400)]
cve-update-db-native: move -journal checking into do_fetch
It was always questionable to do this in an anonymous function, but now
with multiconfig it is a critical mistake and leads to more strange
"Exception: sqlite3.OperationalError: disk I/O error" errors.
Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When use gcc 10.1.0 and debug build is enabled, there comes
below build failure:
| /usr/lib/gcc/x86_64-wrs-linux/10.1.0/../../../../x86_64-wrs-linux/bin/ld.bfd: /mnt/build/tmp/work/x86_64-linux/qemu-system-native/5.1.0-r0/qemu-5.1.0/fsdev/qemu-fsdev-throttle.c:25: undefined reference to `unknown_lock_type'
| /usr/lib/gcc/x86_64-wrs-linux/10.1.0/../../../../x86_64-wrs-linux/bin/ld.bfd: ../fsdev/qemu-fsdev-throttle.o: in function `fsdev_co_throttle_request':
| /mnt/build/tmp/work/x86_64-linux/qemu-system-native/5.1.0-r0/qemu-5.1.0/fsdev/qemu-fsdev-throttle.c:103: undefined reference to `unknown_lock_type'
| /usr/lib/gcc/x86_64-wrs-linux/10.1.0/../../../../x86_64-wrs-linux/bin/ld.bfd: ../fsdev/qemu-fsdev-throttle.o:/mnt/build/tmp/work/x86_64-linux/qemu-system-native/5.1.0-r0/qemu-5.1.0/fsdev/qemu-fsdev-throttle.c:103: more undefined references to `unknown_lock_type' follow
| collect2: error: ld returned 1 exit status
So always define unknown_lock_type to fix the above error.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is checking that the terminal application is able to run. The click_terminal_icon_on_X_desktop manual test case from oeqa/manual/bsp-hw can be replace by this runtime test.
Signed-off-by: TeohJayShen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>