summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* u-boot-tools: Fix reproducibility issueRichard Purdie2020-12-211-0/+15
| | | | | | | | | | | | | | | | | | | | | | If you build on a system with git < 2.14 from scratch (e.g. debian9), the tree will be marked as "dirty" and the version will include "-dirty", leading to a reproducibility problem. The issue is the inode count for Licnses/README changing due to do_populate_lic hardlinking a copy of the file. We avoid this by ensuring the index is updated with a "git diff" before the u-boot machinery tries to determine the version. build$ ../git/scripts/setlocalversion ../git "" build$ ln ../git/ build$ ln ../git/README ../foo build$ ../git/scripts/setlocalversion ../git ""-dirty (i.e. creating a hardlink dirties the index) (From OE-Core rev: a4de915af9e2c4d365527ad09286483b2ee904fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: package firmware for Lontium lt9611uxc bridgeDmitry Baryshkov2020-12-201-0/+10
| | | | | | | | | | Package firmware for Lontium lt9611uxc DSI to HDMI bridge, found e.g. on Qualcomm RB5 platform. (From OE-Core rev: 4d16922943ffa6003d611c367b934d199c549c4c) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20201118 -> 20201218Dmitry Baryshkov2020-12-201-2/+2
| | | | | | | | License-Update: firmware versions/filenames (From OE-Core rev: c88129ffef320c16722f40426b0d4560274dca4e) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Fix build reproducibility issueRichard Purdie2020-12-202-0/+25
| | | | | | | | | We're seeing reproducibility issue on the autobuilder due to changing module dependency ordering. Add some sorting to an awk script to fix this. (From OE-Core rev: 925ddd5edccbfec52ff45c1b54ab2ae1bfe0d57c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Ensure uid/gid ranges are set deterministicallyRichard Purdie2020-12-201-0/+4
| | | | | | | | | | | meson.build will fall back to greping /etc/login.defs for values of these if they're not set. Different distros set them (Centos 7/8 does, Ubuntu does not) so output was not deterministic. Avoid this by setting to the default values. We now match the vaules from login.defs from shadow. (From OE-Core rev: 77a6ac0ac266d71e4fe67fd332662081f30cd7bf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa.inc: switch true/enabled false/disabledTrevor Woerner2020-12-201-11/+11
| | | | | | | | | | | | | | | | | | | | | A number of options have been switched from true/false to enabled/disabled and the older usage is deprecated, as is seen in the configuration logs: ../mesa-20.3.1/meson.build:92: WARNING: gles1 option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:100: WARNING: gles2 option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:119: WARNING: shared-glapi option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:381: WARNING: gbm option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:412: WARNING: egl option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:493: WARNING: dri3 option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:516: WARNING: gallium-vdpau option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:570: WARNING: gallium-xvmc option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:691: WARNING: gallium-va option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:727: WARNING: gallium-xa option "false" deprecated, please use "disabled" instead. (From OE-Core rev: acf78fd3d03e4fe07ee4ad677f178d17dc10ac7b) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Sync rcS.default with sysvinitKhem Raj2020-12-201-0/+29
| | | | | | | (From OE-Core rev: b97a18f45ad5166aa3532768c50c0d0b3c952011) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Use initctl on sysvinit onlyKhem Raj2020-12-201-8/+14
| | | | | | | | | | | Check if init system is sysvinit to recreate initctl, this ensures that it can be used with busybox init system as well (From OE-Core rev: 15c467d0206ee30fe708f76b7d5e0033ab687475) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rcS: Define identifier for init system usedKhem Raj2020-12-202-1/+5
| | | | | | | | | | | This will help in defining init system specific portions of initscripts which are shared (From OE-Core rev: 12380bccce7b87b755d1e24620c397641e88f656) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Run mdev as daemonKhem Raj2020-12-202-17/+41
| | | | | | | | | | | | | | | When busybox is used for device management, kernel needs to support older/obsolete mechanism via CONFIG_UEVENT_HELPER and CONFIG_UEVENT_HELPER_PATH to enable /proc/sys/kernel/hotplug but this would require kernel defconfig change and will always be needed when mdev is used, intead run it in daemon mode Update mdev init script to run mdev in daemon mode (From OE-Core rev: f9e84b31ea4afe566c76dcdea25960478cd36ecc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Install /etc/default/rcS when used as init systemKhem Raj2020-12-203-0/+3
| | | | | | | | | This helps in using sysvinit scripts with busybox init system as well (From OE-Core rev: 991394be9e695f9ddb5e2fca167c06f7a56a7449) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: use quotes for shell variable comparisionKhem Raj2020-12-201-1/+1
| | | | | | | | | Helps to execute it with busybox shell (From OE-Core rev: 45ba0ca0352bca46f974d28781ac935d8e9ec3ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/qa: handle the 'no specific instruction set' ELF e_machine valueRoss Burton2020-12-202-1/+2
| | | | | | | | [RP: Update OEQA selftest to match change] (From OE-Core rev: b7cfc0f51cc0b4866f913f6eae4fcc6f72d2578c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add RRECOMMENDS for weak dependencies, if enabledLuca Boccassi2020-12-201-4/+7
| | | | | | | | | | | | Some libraries are now dlopen'ed and skipped at runtime if not available. Add them to the RRECOMMENDS list, to allow users to exclude them for smaller images even if generally enabled at build time. (From OE-Core rev: 0131a794be1a97f9aef3224c7c66fcf27576ce84) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: set -Dmode=release as recommended by NEWSLuca Boccassi2020-12-201-0/+1
| | | | | | | (From OE-Core rev: c101682b75284b9759c692f5cc7daafece0e32e0) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: ship new systemd-dissect in -extra-utilsLuca Boccassi2020-12-201-0/+1
| | | | | | | (From OE-Core rev: 0a154f37e83ba0c46d79b7394c9f716074308bd2) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add package config for systemd-oomdLuca Boccassi2020-12-201-0/+2
| | | | | | | | | Disabled by default (From OE-Core rev: 20aab7078e27e150375c268e3d7a3d2157f0e8ae) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update 246 -> 247Luca Boccassi2020-12-2033-608/+647
| | | | | | | | | | | | | | | | Update systemd to v247.2. Add rule for new oomd dbus conf and for new pam.d conf directory in /usr/lib|lib64. Drop selinux-hook-handling-to-enumerate-nexthop.patch, merged upstream. Drop 0001-meson-Fix-reallocarray-check.patch, merged upstream. Refresh musl patches. (From OE-Core rev: 1e1d26de68ed13fd53c1a16b9662ac9860dca714) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: upgrade to version 0.4.4Alex Stewart2020-12-202-2/+46
| | | | | | | | | | Include an upstream patch for 0.4.4 which fixes a test framework error that occurs on host systems with symlinked /tmp directories (like OE). (From OE-Core rev: 8064abb6664e16c6e0c63df3a466661f9b5b0d10) Signed-off-by: Alex Stewart <alex.stewart@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Make adjtime() for 32 bit support being called with delta == NULLPeter Kjellerstedt2020-12-202-0/+111
| | | | | | | | | | | This backports a fix from glibc's master branch, which solves a regression in 2.32 with adjtime() where it would seg fault if being called with delta == NULL on 32 bit machines. (From OE-Core rev: aeecccf17c45c840c070e2de95c602a3c7e9d30e) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-selftest: fitimage: add test for signing FIT imagesPaul Eggleton2020-12-201-0/+146
| | | | | | | | | | | Add a new test to verify signing FIT images. Also includes testing for the newly introduced FIT_SIGN_INDIVIDUAL, UBOOT_MKIMAGE, UBOOT_MKIMAGE_SIGN, and UBOOT_MKIMAGE_SIGN_ARGS variables. (From OE-Core rev: 3c054762278fd8c5dd827dbac15f4fa066e6c19e) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-selftest: fitimage: Test for FIT_DESCPaul Eggleton2020-12-201-1/+4
| | | | | | | | | Add verification of FIT_DESC to the existing test for kernel-fitimage. (From OE-Core rev: 1d75a67efe968f1d9161b64e2b7b2d3cf482c968) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-selftest: move FIT image tests to their own modulePaul Eggleton2020-12-202-74/+84
| | | | | | | | | | | I'm about to add an additional test, and on the assumption that we might also add more in future it seems reasonable to have the tests in their own module. (From OE-Core rev: 89f620cc142df9b4af6d49a13db96452ec838139) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/kernel-fitimage: add ability to sign individual imagesLuca Boccassi2020-12-201-0/+42
| | | | | | | | | | | | Add the ability to have the kernel, dtb and ramdisk individually signed by setting FIT_SIGN_INDIVIDUAL = "1". This could be useful if you are intending to verify signatures before using kexec for example. (From OE-Core rev: 51b6e87df6babf74e73a6d704f044bd88c277ac9) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/kernel-fitimage: add ability to add additional signing optionsPaul Eggleton2020-12-201-1/+5
| | | | | | | | | | | Add a UBOOT_MKIMAGE_SIGN_ARGS variable to enable passing additional options to uboot-mkimage when it is run the second time to perform signing. (From OE-Core rev: 8fd7ee7414b45a1feeef7982af3583475902a677) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/kernel-fitimage: allow substituting mkimage commandPaul Eggleton2020-12-201-2/+6
| | | | | | | | | | Add a UBOOT_MKIMAGE and UBOOT_MKIMAGE_SIGN variables to allow specifying an alternative uboot-mkimage executable (or wrapper script/function). (From OE-Core rev: aee5bac02eff28a75fa1eee646bc511984013aa4) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/kernel-fitimage: make fitimage_emit_section_config more readableEaswar Hariharan2020-12-201-23/+30
| | | | | | | | | | | fitimage_emit_section_config() has a number of arguments, add named variables to make the function a bit more readable. (From OE-Core rev: a82340eed3165825c129c1f2b1ebf250e0e699c2) Signed-off-by: Easwar Hariharan <eahariha@microsoft.com> Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/kernel-fitimage: add variable for descriptionPaul Eggleton2020-12-201-1/+4
| | | | | | | | | | Add a FIT_DESC variable to make it possible to change how the description is set in the FIT image. (From OE-Core rev: 47c5ea69e1a6c4fd3aa766d5223aff1201a4a1d8) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: switch build system from Autotools to MesonTanu Kaskinen2020-12-203-35/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream is moving from Autotools to Meson, Autotools support will be dropped in 15.0. I dropped some configure options: * --enable-tcpwrap=no doesn't (currently) have a counterpart in Meson, TCP Wrappers support is always disabled. * --disable-esound doesn't have a counterpart in Meson, EsounD support is always disabled. * --disable-gconf doesn't have a counterpart in Meson, GConf support is always disabled. I backported a patch that implements support for the -Dvalgrind=disabled option. I checked with buildhistory what the differences are before and after this patch (with qemuarm with neon removed from TUNE_FEATURES, all PACKAGECONFIGs enabled): * Obvious differences in DEPENDS: Autotools stuff removed and Meson stuff added. There wasn't anything strange here. * Packages have superfluous RDEPENDS removed from them. With Autotools something caused for example X11 libraries to be added to RDEPENDS of packages that don't have anything to do with X11. * The pulseaudio-src package had MMX and SSE related files removed and Neon related files added. I don't know why the ARM build previously had MMX and SSE files included, the addition of Neon files is explained by the fact that with Meson the Neon optimizations can't be disabled if the compiler supports Neon (see below). * libfoo.so symlinks changed to point to libfoo.so.X rather than directly to libfoo.so.X.Y.Z. To my understading that's fine, since libfoo.so.X is a symlink that points to libfoo.so.X.Y.Z. * There were various file size changes, which I didn't investigate. Previously the recipe disabled ARM Neon optimizations when "neon" was not in TUNE_FEATURES. That was originally added in commit 4e7b91b5a2613b957b08aefbee1aac28fdd19598 at a time when PulseAudio's build system didn't check the availability of the arm_neon.h header, causing compilation errors when the header wasn't available. That issue was fixed a long time ago, so there was little need for the TUNE_FEATURES check, although it was still possible to make the build fail if non-neon -mfpu was passed in CFLAGS, so the TUNE_FEATURES check still had some theoretical benefit (theoretical, because generally OE passes -mfpu in CC instead of CFLAGS, so OE's -mfpu option appears very early in the compiler command line, which doesn't trip up PulseAudio's current Autotools build system). With Meson there's no option for disabling Neon optimizations if the compiler supports Neon. If -mfpu is set in CC or CFLAGS, it's ignored, because the build system adds -mfpu=neon at the end of the compiler command line, overriding any earlier -mfpu options. This shouldn't be a problem, because PulseAudio detects at runtime whether the CPU supports Neon instructions. (From OE-Core rev: 80bbea06e706fde3600950ea9ddfc38a1a76b8bb) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: disable GConf supportTanu Kaskinen2020-12-201-2/+1
| | | | | | | | | | | | | | | | | | | The GConf module is only needed for older versions of paprefs, other applications shouldn't be interacting with PulseAudio's GConf settings. Paprefs isn't packaged in OpenEmbedded, so there probably aren't any users of the GConf functionality. My immediate motivation for doing this is that I'm converting the pulseaudio recipe to use Meson, and the GConf module isn't supported by the Meson build system. Adding support for it would be possible, but pretty pointless. The GConf module will be removed in PulseAudio 15.0. (From OE-Core rev: 6e06eb987002031c43f76f908caef240b556e6a1) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: disable EsounD supportTanu Kaskinen2020-12-201-0/+1
| | | | | | | | | | | | This disables PulseAudio's EsounD emulation and the EsounD sink module. EsounD has been obsolete for a long time, and doesn't seem to be packaged for OpenEmbedded, so probably there are no applications around that would need PulseAudio's EsounD support. (From OE-Core rev: ee107217d2deee13d90b737bfb459838f27a94d9) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: Remove OE_LT_RPATH_ALLOWTanu Kaskinen2020-12-201-5/+0
| | | | | | | | | | | | | | | | | I don't know what these variables were supposed to do, but there doesn't seem to be anything that would use these variables, so removing them should be safe. The PulseAudio recipe is the only place where these appear in the repository. These lines were included already in the original PulseAudio recipe that was added in commit d9a4c588ef24e7e4019fbe5a2314addbcd3a6bb8 in 2007, and already at that time there didn't seem to be anything using these variables. (From OE-Core rev: 7a0b9209a366de7a2aed9b23a337b4ffdba61abe) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Prevent pyc file generation in pseudo contextPaul Barker2020-12-202-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | This also effectively reverts commit b6d30c21b0: bitbake.conf: Extend PSEUDO_IGNORE_PATHS to ${COREBASE}/meta The contents of ${COREBASE}/meta were ignored as pyc files could be generated for the contents of the lib subdirectory if python modules were imported within a pseudo context. However this doesn't protect us from pyc files being generated in the lib directories for other layers. It's far better to tell python not to produce pyc files when running under pseudo (by setting the PYTHONDONTWRITEBYTECODE variable) as this will cover any location where pyc files could possibly be created. This variable is set in FAKEROOTBASEENV so that it applies to the bitbake-worker instance for fakeroot tasks, preventing pyc files from being generated for imports in python tasks themselves. Also add a test case to ensure that pyc files are not created in tasks which are executed under pseudo. (From OE-Core rev: 73d538f20743017a44cea4c20dbe09a0327cfc71) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Canonicalize paths in PSEUDO_IGNORE_PATHSPeter Kjellerstedt2020-12-201-2/+2
| | | | | | | | | | | Use oe.path.canonicalize() to canonicalize the paths in PSEUDO_IGNORE_PATHS before passing them to pseudo. This is needed since pseudo will compare them to paths that are canonicalized. (From OE-Core rev: 1f2a497daa09cf3459e27ad6e0e8513938b52c79) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/path: Add canonicalize()Peter Kjellerstedt2020-12-201-0/+21
| | | | | | | | | | | | oe.path.canonicalize() is used to canonicalize paths (i.e., remove symbolic links and "..", and make them absolute). It takes a string with paths separated by commas, and returns the canonicalized path in the same format. (From OE-Core rev: 282b19c0e27488ec119f00fb2542ffdc1af54e2a) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linuxloader: Avoid confusing string concat errorsRichard Purdie2020-12-191-3/+3
| | | | | | | | | | None is a bad choice of return value for functions used in variables (strings) as a failure results in concatination errors. Use a string with a clear meaning that can be searched for instead. (From OE-Core rev: c04f04e714ede5d3904058ec82459139ed5e42fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: add libopcodes package for perfAlan Perry2020-12-181-2/+4
| | | | | | | | | | | Add a package for libopcodes, since, like libbfd, it is needed by perf. Without separate packages for these libraries, all of the binutil tools get added as well. (From OE-Core rev: 514b595bda487ff74ae16539d716628a1d0be8af) Signed-off-by: Alan Perry <alanp@snowmoose.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: add missing descriptions in some support recipesMaxime Roussin-Bélanger2020-12-187-0/+21
| | | | | | | (From OE-Core rev: d2654384db4999c78bc3d98215a4eecdab63541b) Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Drop patches merged into upstream branchRichard Purdie2020-12-183-122/+1
| | | | | | (From OE-Core rev: 7386a116222979e6de60c39d2c094d5f216fb101) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: fix build against v5.10+Bruce Ashfield2020-12-187-2/+707
| | | | | | | | | | | | | | | | | | | lttng-modules doesn't currently build against the lastest 5.10-rc versions. Upstream lttng does have fixes for the issues, but hasn't done a release that contains them yet. There are other patches on the 2.12.x branch, but I've skipped them for now as they aren't necessary for 5.10 builds, and can be picked up with the next full update. We also bump the dev-upstream hash to make them easier to pickup for those building from git. (From OE-Core rev: 47201e98bb293d59c5d41986d066fd7614b914fa) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.80Bruce Ashfield2020-12-183-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 9f4b26f3ea18 Linux 5.4.80 a88f08e78249 sched/fair: Fix overutilized update in enqueue_task_fair() 10ca291c7749 mm, page_alloc: skip ->waternark_boost for atomic order-0 allocations a2761473d50b mm/userfaultfd: do not access vma->vm_mm after calling handle_userfault() 173e37322307 mm: memcg/slab: fix root memcg vmstats fc82fd7f7df9 x86/microcode/intel: Check patch signature before saving microcode for early loading 09652ebd0dc1 seccomp: Set PF_SUPERPRIV when checking capability fa9ccc177754 ptrace: Set PF_SUPERPRIV when checking capability d51481382c74 mmc: sdhci-pci: Prefer SDR25 timing for High Speed mode for BYT-based Intel controllers 5b738014dadc drm/i915: Handle max_bpc==16 51cc709ed961 drm/amd/display: Add missing pflip irq for dcn2.0 1c1add911fd9 Drivers: hv: vmbus: Allow cleanup of VMBUS_CONNECT_CPU if disconnected 7411c05a6eea s390/dasd: fix null pointer dereference for ERP requests e6e76a26fdc8 s390/cpum_sf.c: fix file permission for cpum_sfb_size 89d73a97af5c mac80211: free sta in sta_info_insert_finish() on errors 945c10ad59ca mac80211: minstrel: fix tx status processing corner case 336c331ef01e mac80211: minstrel: remove deferred sampling code 713f903dc4b5 xtensa: disable preemption around cache alias management calls 747467f3625b xtensa: fix TLBTEMP area placement e7ea18de9bb3 regulator: workaround self-referent regulators 0d233d5766eb regulator: avoid resolve_supply() infinite recursion 65205dfe78ff regulator: fix memory leak with repeated set_machine_constraints() 4cab55d65974 regulator: pfuze100: limit pfuze-support-disable-sw to pfuze{100,200} 53a9502d9a69 spi: bcm2835aux: Fix use-after-free on unbind 2737549129ec spi: npcm-fiu: Don't leak SPI master in probe error path 3e04a4976add spi: Introduce device-managed SPI controller allocation 11bb6ae21c81 spi: lpspi: Fix use-after-free on unbind 760d4e3ee879 iio: adc: mediatek: fix unset field d3e27c62334e iio: accel: kxcjk1013: Add support for KIOX010A ACPI DSM for setting tablet-mode 9f99cc38cf1a iio: accel: kxcjk1013: Replace is_smo8500_device with an acpi_type enum 308a06ac9fb8 ext4: fix bogus warning in ext4_update_dx_flag() 7f76c608135e iio: light: fix kconfig dependency bug for VCNL4035 2ba693eea318 staging: rtl8723bs: Add 024c:0627 to the list of SDIO device-ids f59ef9ec20ac efivarfs: fix memory leak in efivarfs_create() d73d0106e354 HID: logitech-dj: Fix an error in mse_bluetooth_descriptor 772ff2c77cce tty: serial: imx: keep console clocks always on 663f70f1f5e7 tty: serial: imx: fix potential deadlock a3ac3d213572 ALSA: hda/realtek: Add some Clove SSID in the ALC293(ALC1220) 659f6731bcf4 ALSA: hda/realtek - Add supported for Lenovo ThinkPad Headset Button c70c1b93f3d1 ALSA: mixart: Fix mutex deadlock b9a69e5d0b37 ALSA: ctl: fix error path at adding user-defined element set 16a5e3748d86 ALSA: usb-audio: Add delay quirk for all Logitech USB devices 090ac65f8c7c ALSA: firewire: Clean up a locking issue in copy_resp_to_buf() 3b78db264675 speakup: Do not let the line discipline be used several times 0da75d37d199 HID: logitech-dj: Fix Dinovo Mini when paired with a MX5x00 receiver 4e23e329ec17 HID: logitech-dj: Handle quad/bluetooth keyboards with a builtin trackpad 770a55072f12 HID: logitech-hidpp: Add PID for MX Anywhere 2 8a411bb0d73f libfs: fix error cast of negative value in simple_attr_write() 9d1b5a8c720e efi/x86: Free efi_pgd with free_pages() 95fafa1cb7a5 bpf, sockmap: Avoid returning unneeded EAGAIN when redirecting to self a9f3670728a0 bpf, sockmap: Use truesize with sk_rmem_schedule() e8b1de6975db bpf, sockmap: On receive programs try to fast track SK_PASS ingress 329c84430a64 bpf, sockmap: Skb verdict SK_PASS to self already checked rmem limits 4983ffd34ffc xfs: revert "xfs: fix rmap key and record comparison functions" 989d275ac592 fail_function: Remove a redundant mutex unlock b9589cb07932 regulator: ti-abb: Fix array out of bound read access on the first transition ad3c4c96bfb7 xfs: return corresponding errcode if xfs_initialize_perag() fail 738ec7670624 xfs: strengthen rmap record flags checking 388ca4a37dcd xfs: fix the minrecs logic when dealing with inode root child blocks 56588c1fdd19 can: m_can: process interrupt only when not runtime suspended a3c94201e0a7 can: flexcan: flexcan_chip_start(): fix erroneous flexcan_transceiver_enable() during bus-off recovery 58f1657c3a58 iommu/vt-d: Avoid panic if iommu init fails in tboot system 964b02d50bab iommu/vt-d: Move intel_iommu_gfx_mapped to Intel IOMMU header 6d184f851182 can: kvaser_usb: kvaser_usb_hydra: Fix KCAN bittiming limits 987bd7901ae3 can: kvaser_pciefd: Fix KCAN bittiming limits 9df3884a4d6a bpf, sockmap: Ensure SO_RCVBUF memory is observed on ingress redirect 58f45daa2d0a bpf, sockmap: Fix partial copy_page_to_iter so progress can still be made 401afa5f5e5e net/mlx5: E-Switch, Fail mlx5_esw_modify_vport_rate if qos disabled a5a1db757da1 drm/sun4i: dw-hdmi: fix error return code in sun8i_dw_hdmi_bind() 5e7f422c3810 MIPS: Alchemy: Fix memleak in alchemy_clk_setup_cpu cb5ad04eeeb6 selftests/bpf: Fix error return code in run_getsockopt_test() 32ebbc84697b ASoC: qcom: lpass-platform: Fix memory leak 24ce39bf0aa2 can: m_can: m_can_stop(): set device to software init mode before closing db2f5579e725 can: m_can: m_can_class_free_dev(): introduce new function 9b0596c07da8 can: m_can: m_can_handle_state_change(): fix state change 69851481b342 can: tcan4x5x: tcan4x5x_can_remove(): fix order of deregistration d527bb8bd577 can: tcan4x5x: tcan4x5x_can_probe(): add missing error checking for devm_regmap_init() 84089205dbd2 can: tcan4x5x: replace depends on REGMAP_SPI with depends on SPI f0c8508bf874 can: flexcan: fix failure handling of pm_runtime_get_sync() 73788e8c3b02 can: peak_usb: fix potential integer overflow on shift of a int 4a6891e169df can: mcba_usb: mcba_usb_start_xmit(): first fill skb, then pass to can_put_echo_skb() 85c48dcd8735 can: ti_hecc: Fix memleak in ti_hecc_probe 85854e4e552e can: dev: can_restart(): post buffer from the right context 247b03eca2fd can: af_can: prevent potential access of uninitialized member in canfd_rcv() 5970c08eed35 can: af_can: prevent potential access of uninitialized member in can_rcv() ef097e93aca2 ip_tunnels: Set tunnel option flag when tunnel metadata is present f5d6b6c2e993 tools, bpftool: Add missing close before bpftool net attach exit 6eadbc3b7ab7 perf lock: Don't free "lock_seq_stat" if read_count isn't zero 4c954fe28af1 RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 1a358c4e9bb2 RDMA/pvrdma: Fix missing kfree() in pvrdma_register_device() 1b1ddde970de rfkill: Fix use-after-free in rfkill_resume() 6490ecdee551 Input: resistive-adc-touch - fix kconfig dependency on IIO_BUFFER 9a4b4a06addf ARM: dts: imx50-evk: Fix the chip select 1 IOMUX 58e4f34f52a4 arm64: dts: imx8mm: fix voltage for 1.6GHz CPU operating point fd278c6359ac swiotlb: using SIZE_MAX needs limits.h included cfee2333791a arm: dts: imx6qdl-udoo: fix rgmii phy-mode for ksz9031 phy a8d6ae10e9fc arm64: dts imx8mn: Remove non-existent USB OTG2 b94479198240 arm64: dts: allwinner: h5: OrangePi Prime: Fix ethernet node cab227c19cd1 MIPS: export has_transparent_hugepage() for modules 93f23689129f Input: adxl34x - clean up a data type in adxl34x_probe() 29dea2b91871 arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY 794a13015fb6 ARM: dts: sunxi: bananapi-m2-plus: Enable RGMII RX/TX delay on Ethernet PHY c6e7f6bdcbaa ARM: dts: sun9i: Enable both RGMII RX/TX delay on Ethernet PHY 6cb50545fe31 ARM: dts: sun8i: a83t: Enable both RGMII RX/TX delay on Ethernet PHY cecaad1d3f48 ARM: dts: sun8i: h3: orangepi-plus2e: Enable RGMII RX/TX delay on Ethernet PHY ec268dd970a5 ARM: dts: sun7i: bananapi-m1-plus: Enable RGMII RX/TX delay on Ethernet PHY 303691562f8f ARM: dts: sun7i: cubietruck: Enable RGMII RX/TX delay on Ethernet PHY b55bc15117d6 ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Ethernet PHY 260ceb0c4aa6 Revert "arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high" 1446255d8600 ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix ethernet node 31c4a413971b arm64: dts: allwinner: h5: OrangePi PC2: Fix ethernet node 345d06f5853f arm64: dts: allwinner: a64: Pine64 Plus: Fix ethernet node 96bde11bf2b2 arm64: dts: allwinner: a64: OrangePi Win: Fix ethernet node ba6ebc22844d arm64: dts: allwinner: Pine H64: Enable both RGMII RX/TX delay 79de663dcb11 arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay 8afc6e00a1d1 hwmon: (pwm-fan) Fix RPM calculation e240b4326887 gfs2: fix possible reference leak in gfs2_check_blk_type 195f9e1a5457 vfs: remove lockdep bogosity in __sb_start_write 54d11983c29c arm64: smp: Tell RCU about CPUs that fail to come online e8df8c25aa05 arm64: psci: Avoid printing in cpu_psci_cpu_die() 71eea3d3df94 arm64: errata: Fix handling of 1418040 with late CPU onlining e6f6e52acb96 ACPI: button: Add DMI quirk for Medion Akoya E2228T 58ced3741789 selftests: kvm: Fix the segment descriptor layout to match the actual layout 8ebc41496f6e scsi: ufs: Fix unbalanced scsi_block_reqs_cnt caused by ufshcd_hold() e06dfd53a42a pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq 9865a26c9620 net: ftgmac100: Fix crash when removing driver 3f0ccca2729b net/ncsi: Fix netlink registration 9a1ac76ab15e net: usb: qmi_wwan: Set DTR quirk for MR400 7204f0be5b5e net/mlx5: Disable QoS when min_rates on all VFs are zero 3f9f112a6329 net/mlx5: Add handling of port type in rule deletion 3d6c81f9c96c tcp: only postpone PROBE_RTT if RTT is < current min_rtt estimate 04b7fd7609b3 sctp: change to hold/put transport for proto_unreach_timer 31790683293b qlcnic: fix error return code in qlcnic_83xx_restart_hw() 5241fa6e7acd qed: fix error return code in qed_iwarp_ll2_start() f8e5578dcaa7 page_frag: Recover from memory pressure f6f751cb315c net: x25: Increase refcnt of "struct x25_neigh" in x25_rx_call_request 9ecfcf48d735 net/tls: fix corrupted data in recvmsg 9e909956d0c7 net/smc: fix direct access to ib_gid_addr->ndev in smc_ib_determine_gid() ab1e4b3c406b net: qualcomm: rmnet: Fix incorrect receive packet handling during cleanup 782a503a369c net/mlx4_core: Fix init_hca fields offset 75b2b0d38068 net: lantiq: Wait for the GPHY firmware to be ready 65a596ec63aa netlabel: fix an uninitialized warning in netlbl_unlabel_staticlist() d9704891f531 netlabel: fix our progress tracking in netlbl_unlabel_staticlist() 99ddc3211653 net: Have netpoll bring-up DSA management interface bd17af3cf314 net: ethernet: ti: cpsw: fix error return code in cpsw_probe() 27e9ca6c82a0 net: dsa: mv88e6xxx: Avoid VTU corruption on 6097 805dfdb26e54 net: bridge: add missing counters to ndo_get_stats64 callback fa03d6177be7 net: b44: fix error return code in b44_init_one() 78b9c4a8e338 mlxsw: core: Use variable timeout for EMAD retries c35a7de217ce lan743x: prevent entire kernel HANG on open, for some platforms 5c7a00aa05d6 lan743x: fix issue causing intermittent kernel log warnings 88a5a3e1530c ipv6: Fix error path to cancel the meseage 0e8b0213dc60 inet_diag: Fix error path to cancel the meseage in inet_req_diag_fill() e5fe052c065d Exempt multicast addresses from five-second neighbor lifetime 2894a07110c6 devlink: Add missing genlmsg_cancel() in devlink_nl_sb_port_pool_fill() bedb089dcbf7 bnxt_en: read EEPROM A2h address using page 0 362bd03af589 atm: nicstar: Unmap DMA on send error b2f95ff764c0 ah6: fix error return code in ah6_input() fc8334619167 Linux 5.4.79 26c7d2883851 ACPI: GED: fix -Wformat 087c857e0131 KVM: x86: clflushopt should be treated as a no-op by emulation 7ae6f2df438d can: proc: can_remove_proc(): silence remove_proc_entry warning 1527ab7859b2 mac80211: always wind down STA state df3305411447 Input: sunkbd - avoid use-after-free in teardown paths cd61f14592df net: lantiq: Add locking for TX DMA channel 8cad37eb129f powerpc/8xx: Always fault when _PAGE_ACCESSED is not set b57c75956e79 net/mlx5: Add retry mechanism to the command entry index allocation 7db82a5a4c15 net/mlx5: Fix a race when moving command interface to events mode 3fa9daaccce8 net/mlx5: poll cmd EQ in case of command timeout 42bb7b7b9654 net/mlx5: Use async EQ setup cleanup helpers for multiple EQs b33905dc1ce5 MIPS: PCI: Fix MIPS build 01474e8cc342 selftests/powerpc: entry flush test eb37345ed224 powerpc: Only include kup-radix.h for 64-bit Book3S 09495b5f7aab powerpc/64s: flush L1D after user accesses b65458b6be80 powerpc/64s: flush L1D on kernel entry bcf7f2d3fcec selftests/powerpc: rfi_flush: disable entry flush if present (From OE-Core rev: f752768d997dad99d518208c1540656b9162d2f3) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt/5.4: update to -rt44Bruce Ashfield2020-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following commit(s): 375e7ee20260 Linux 5.4.78-rt44 c948a34d2755 Linux 5.4.77-rt43 8189406f8f2b Linux 5.4.74-rt42 0856261877e2 timers: Don't block on ->expiry_lock for TIMER_IRQSAFE 416edb155e5d ptrace: fix ptrace_unfreeze_traced() race with rt-lock 6bd85935ab11 mm/memcontrol: Disable preemption in __mod_memcg_lruvec_state() 57ada856a2a8 net: Properly annotate the try-lock for the seqlock 1c80ecf69d2d Linux 5.4.74-rt41 d4318c110dc6 Linux 5.4.70-rt40 bdfc6168388d Linux 5.4.69-rt39 b6e0ef250594 Linux 5.4.66-rt38 151876f794fc Linux 5.4.61-rt37 4bdac3f47b53 Linux 5.4.59-rt36 cf9b41798238 Linux 5.4.58-rt35 631b98ae597b Linux 5.4.55-rt34 77d701a69ebb Linux 5.4.54-rt33 130cf1b82691 rwsem: Provide down_read_non_owner() and up_read_non_owner() for -RT 6ab4141069fc net: phy: fixed_phy: Remove unused seqcount 291d163db65a Bluetooth: Acquire sk_lock.slock without disabling interrupts 4c9f5d78fed4 workqueue: Sync with upstream (From OE-Core rev: dfae903dd2538d57cc75e3b8b731515deb7f5526) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* parted: Make readline dependency optionalMark Jonas2020-12-181-1/+4
| | | | | | | (From OE-Core rev: bb433833d2ae7b87d18dfae5635eac9097ecc9b7) Signed-off-by: Mark Jonas <toertel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox-inittab: Implement SYSVINIT_ENABLED_GETTYS and USE_VTKhem Raj2020-12-181-0/+50
| | | | | | | | | | This ensures that busybox init can generate matching tty's in inittab as system defines, secondly resepcts USE_VT for creating virtual ttys (From OE-Core rev: 7dddda7a00108f9a61da4a869514a32b9f42d16a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuriscv: check serial consoles w.r.t. /proc/consolesKhem Raj2020-12-181-0/+1
| | | | | | | | | | | | | | qemuriscv enables hvc0 along with ttyS0, however its not enabled in /proc/consoles, getty tries to enable it in inittab and erroring out Fixes below message with sysvinit INIT: Id "hvc0" respawning too fast: disabled for 5 minutes (From OE-Core rev: 8a6559f1561ca6b7719bb46fc446db46d8086ea3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: disable more failing ptestsAlexander Kanavin2020-12-181-7/+28
| | | | | | | (From OE-Core rev: 78e2c81d02eb31c04a5ccb562f3524f9d0b7e35c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bzip2: run ptests without valgrindAlexander Kanavin2020-12-181-1/+1
| | | | | | | | | | Otherwise, valgrind significantly slows them down, and actually even causes ptest timeouts on arm64. (From OE-Core rev: 483ca253cc25f928759263f9f3f2b3699e82252b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: exclude bar_bad/bar_bad_xml from ptestsAlexander Kanavin2020-12-184-2/+14
| | | | | | | | | | | | | | The tests' output is non-deterministic and sometimes doesn't match the sample output. This has been reported at https://bugs.kde.org/show_bug.cgi?id=430321 (see also an earlier related bug https://bugs.kde.org/show_bug.cgi?id=358213) Until upstream figures out how to fix this, let's not run the tests. (From OE-Core rev: 7f7d2fa18267090891754d976cbc3e628324d3dd) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kea: upgrade 1.7.10 -> 1.8.1Alexander Kanavin2020-12-181-1/+1
| | | | | | | (From OE-Core rev: 9a694510f60fbaece03215ec6d2379e422b88529) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: Rename patch namezangrc2020-12-182-1/+1
| | | | | | | | | Because the name of CVE patch is wrong, cve-check-tool cannot get the correct CVE result. Rename the patch name. (From OE-Core rev: 422f9af7d0f7de7a2e933154853e7a281f98ab93) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>