]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
6 years agoresulttool/store: Fix missing variable causing testresult corruption
Richard Purdie [Thu, 28 Feb 2019 13:16:47 +0000 (13:16 +0000)]
resulttool/store: Fix missing variable causing testresult corruption

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years ago resulttool/report: Ensure ptest results are sorted
Richard Purdie [Wed, 27 Feb 2019 17:10:19 +0000 (17:10 +0000)]
 resulttool/report: Ensure ptest results are sorted

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool/report: Ensure test suites with no results show up on the report
Richard Purdie [Wed, 27 Feb 2019 17:05:29 +0000 (17:05 +0000)]
resulttool/report: Ensure test suites with no results show up on the report

ptest suites with no results don't show up on the reports even though we have
a duration for them. Fix this so the fact they report no tests is visible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool/report: Handle missing metadata sections more cleanly
Richard Purdie [Wed, 27 Feb 2019 16:51:56 +0000 (16:51 +0000)]
resulttool/report: Handle missing metadata sections more cleanly

Currently some older results files cause the code to give tracebacks.
Handle these missing sections more cleanly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool/store: Handle results files for multiple revisions
Richard Purdie [Wed, 27 Feb 2019 11:59:54 +0000 (11:59 +0000)]
resulttool/store: Handle results files for multiple revisions

Currently we cant store results if the results files span multiple
different build revisons. Remove this limitation by iterating.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool/resultutils: Avoids tracebacks for missing logs
Richard Purdie [Sat, 23 Feb 2019 22:49:11 +0000 (22:49 +0000)]
resulttool/resultutils: Avoids tracebacks for missing logs

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool: Improvements to allow integration to the autobuilder
Richard Purdie [Sat, 16 Feb 2019 18:13:00 +0000 (18:13 +0000)]
resulttool: Improvements to allow integration to the autobuilder

This is a combined patch of the various tweaks and improvements I
made to resulttool:

* Avoid subprocess.run() as its a python 3.6 feature and we
  have autobuilder workers with 3.5.

* Avoid python keywords as variable names

* Simplify dict accesses using .get()

* Rename resultsutils -> resultutils to match the resultstool ->
  resulttool rename

* Formalised the handling of "file_name" to "TESTSERIES" which the code
  will now add into the json configuration data if its not present, based
  on the directory name.

* When we don't have failed test cases, print something saying so
  instead of an empty table

* Tweak the table headers in the report to be more readable (reference
  "Test Series" instead if file_id and ID instead of results_id)

* Improve/simplify the max string length handling

* Merge the counts and percentage data into one table in the report
  since printing two reports of the same data confuses the user

* Removed the confusing header in the regression report

* Show matches, then regressions, then unmatched runs in the regression
  report, also remove chatting unneeded output

* Try harder to "pair" up matching configurations to reduce noise in
  the regressions report

* Abstracted the "mapping" table concept used to pairing in the
  regression code to general code in resultutils

* Created multiple mappings for results analysis, results storage and
  'flattening' results data in a merge

* Simplify the merge command to take a source and a destination,
  letting the destination be a directory or a file, removing the need for
  an output directory parameter

* Add the 'IMAGE_PKGTYPE' and 'DISTRO' config options to the regression
  mappings

* Have the store command place the testresults files in a layout from
  the mapping, making commits into the git repo for results storage more
  useful for simple comparison purposes

* Set the oe-git-archive tag format appropriately for oeqa results
  storage (and simplify the commit messages closer to their defaults)

* Fix oe-git-archive to use the commit/branch data from the results file

* Cleaned up the command option help to match other changes

* Follow the model of git branch/tag processing used by oe-build-perf-report
  and use that to read the data using git show to avoid branch change

* Add ptest summary to the report command

* Update the tests to match the above changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoscripts/resulttool: enable manual execution and result creation
Mazliana [Thu, 14 Feb 2019 05:50:38 +0000 (13:50 +0800)]
scripts/resulttool: enable manual execution and result creation

Integrated “manualexecution” operation to resulttool scripts.
Manual execution script is a helper script to execute all manual
test cases in baseline command, which consists of user guideline
steps and the expected results. The last step will ask user to
provide their input to execute result. The input options are
passed/failed/blocked/skipped status. The result given will be
written in testresults.json including log error from the user
input and configuration if there is any.The output test result
for json file is created by using OEQA library.

The configuration part is manually key-in by the user. The system
allow user to specify how many configuration they want to add and
they need to define the required configuration name and value pair.
In QA perspective, "configuration" means the test environments and
parameters used during QA setup before testing can be carry out.
Example of configurations: image used for boot up, host machine
distro used, poky configurations, etc.

The purpose of adding the configuration is to standardize the
output test result format between automation and manual execution.

To use these scripts, first source oe environment, then run the
entry point script to look for help.
        $ resulttool

To execute manual test cases, execute the below
        $ resulttool manualexecution <manualjsonfile>

By default testresults.json store in <build_dir>/tmp/log/manual/

[YOCTO #12651]

Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool: enable merge, store, report and regression analysis
Yeoh Ee Peng [Thu, 14 Feb 2019 05:50:37 +0000 (13:50 +0800)]
resulttool: enable merge, store, report and regression analysis

OEQA outputs test results into json files and these files were
archived by Autobuilder during QA releases. Example: each oe-selftest
run by Autobuilder for different host distro generate a
testresults.json file.

These scripts were developed as a test result tools to manage
these testresults.json file.

Using the "store" operation, user can store multiple testresults.json
files as well as the pre-configured directories used to hold those files.

Using the "merge" operation, user can merge multiple testresults.json
files to a target file.

Using the "report" operation, user can view the test result summary
for all available testresults.json files inside a ordinary directory
or a git repository.

Using the "regression-file" operation, user can perform regression
analysis on testresults.json files specified. Using the "regression-dir"
and "regression-git" operations, user can perform regression analysis
on directory and git accordingly.

These resulttool operations expect the testresults.json file to use
the json format below.
{
    "<testresult_1>": {
        "configuration": {
            "<config_name_1>": "<config_value_1>",
            "<config_name_2>": "<config_value_2>",
            ...
            "<config_name_n>": "<config_value_n>",
        },
        "result": {
            "<testcase_namespace_1>": {
                "status": "<PASSED or FAILED or ERROR or SKIPPED>",
                "log": "<failure or error logging>"
            },
            "<testcase_namespace_2>": {
                "status": "<PASSED or FAILED or ERROR or SKIPPED>",
                "log": "<failure or error logging>"
            },
            ...
            "<testcase_namespace_n>": {
                "status": "<PASSED or FAILED or ERROR or SKIPPED>",
                "log": "<failure or error logging>"
            },
        }
    },
    ...
    "<testresult_n>": {
        "configuration": {
            "<config_name_1>": "<config_value_1>",
            "<config_name_2>": "<config_value_2>",
            ...
            "<config_name_n>": "<config_value_n>",
        },
        "result": {
            "<testcase_namespace_1>": {
                "status": "<PASSED or FAILED or ERROR or SKIPPED>",
                "log": "<failure or error logging>"
            },
            "<testcase_namespace_2>": {
                "status": "<PASSED or FAILED or ERROR or SKIPPED>",
                "log": "<failure or error logging>"
            },
            ...
            "<testcase_namespace_n>": {
                "status": "<PASSED or FAILED or ERROR or SKIPPED>",
                "log": "<failure or error logging>"
            },
        }
    },
}

To use these scripts, first source oe environment, then run the
entry point script to look for help.
    $ resulttool

To store test result from oeqa automated tests, execute the below
    $ resulttool store <source_dir> <git_branch>

To merge multiple testresults.json files, execute the below
    $ resulttool merge <base_result_file> <target_result_file>

To report test report, execute the below
    $ resulttool report <source_dir>

To perform regression file analysis, execute the below
    $ resulttool regression-file <base_result_file> <target_result_file>

To perform regression dir analysis, execute the below
    $ resulttool regression-dir <base_result_dir> <target_result_dir>

To perform regression git analysis, execute the below
    $ resulttool regression-git <source_dir> <base_branch> <target_branch>

[YOCTO# 13012]
[YOCTO# 12654]

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibpam: libpamc is licensed under its own BSD-style licence
Douglas Royds [Wed, 6 Mar 2019 01:59:21 +0000 (14:59 +1300)]
libpam: libpamc is licensed under its own BSD-style licence

Or alternatively GPL, the same as the top-level Linux-PAM COPYING.

(From OE-Core rev: 025c1b384635ef7a85e9f45f048901d6680563ae)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agotarget-sdk-provides-dummy: add more perl modules to avoid populate_sdk failure
Chen Qi [Thu, 10 Jan 2019 02:37:32 +0000 (10:37 +0800)]
target-sdk-provides-dummy: add more perl modules to avoid populate_sdk failure

When 'adduser' package, which is from meta-perl layer, is added to rootfs,
we will get do_populate_sdk failure like below.

Error:
 Problem: package perl-module-cwd-5.24.4-r0.core2_64 requires perl-module-dynaloader, but none of the providers can be installed
   - package perl-module-file-temp-5.24.4-r0.core2_64 requires perl-module-cwd, but none of the providers can be installed
   - package perl-module-dynaloader-5.24.4-r0.core2_64 requires perl-module-config, but none of the providers can be installed
   - package adduser-3.118-r0.core2_64 requires perl-module-file-temp, but none of the providers can be installed
   - package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl provided by perl-5.24.4-r0.core2_64

This is because adduser depends on some perl modules which are not
listed in target-sdk-provides-dummy.

So add these perl modules to avoid such failure.

(From OE-Core rev: 1b12c176827c2d0cbb7867da73efac56826036ed)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolttng-tools: update to 2.9.11
Jonathan Rajotte-Julien [Wed, 13 Mar 2019 20:55:55 +0000 (20:55 +0000)]
lttng-tools: update to 2.9.11

Update 0001-Allow-multiple-attempts-to-connect-to-relayd.patch chunk
accordingly.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolttng-modules: update to 2.10.9
Jonathan Rajotte-Julien [Wed, 13 Mar 2019 20:55:54 +0000 (20:55 +0000)]
lttng-modules: update to 2.10.9

Drop patch [1] since it is part of the 2.10.9 release.

[1] lttng-modules/0001-Fix-net-expose-sk-wmem-in-sock_exceed_buf_limit-trac.patch

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolttng-ust: update to 2.10.3
Jonathan Rajotte-Julien [Wed, 13 Mar 2019 20:55:53 +0000 (20:55 +0000)]
lttng-ust: update to 2.10.3

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agorm_work: sort the value of do_build dependencies
Ming Liu [Thu, 7 Mar 2019 16:56:46 +0000 (17:56 +0100)]
rm_work: sort the value of do_build dependencies

This fixes some 'basehash changed' errors when rm_work is being
inherited.

(From OE-Core rev: e74158b6cc1d683ab14ef5d47ec531f986fc2259)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosend-error-report: Add --no-ssl to use http protocol
Robert Yang [Tue, 5 Mar 2019 03:30:35 +0000 (11:30 +0800)]
send-error-report: Add --no-ssl to use http protocol

The script use https protocol by default, but the error-report-web server's
https connection may not work (e.g., doesn't work with python 2.7.6), so add an
option --no-ssl to make it use http.

(From OE-Core rev: a4c89902a24c0961657c8281425d480097aadfa6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolibpng: fix CVE-2019-7317
Ross Burton [Tue, 5 Mar 2019 16:30:03 +0000 (16:30 +0000)]
libpng: fix CVE-2019-7317

(From OE-Core rev: 983d4757db7d46dcd4116269c4446392e28f16fb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolibsndfile1: Security fix CVE-2018-19432
Changqing Li [Wed, 20 Feb 2019 08:54:20 +0000 (16:54 +0800)]
libsndfile1: Security fix CVE-2018-19432

(From OE-Core rev: 6f010c9b7777aae5ce2108122d0c6d3b1d630a21)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agokernel: Ensure an initramfs is added if configured
Richard Purdie [Thu, 21 Feb 2019 16:00:02 +0000 (16:00 +0000)]
kernel: Ensure an initramfs is added if configured

If ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio does not exist,
nor any of the compressed variants, nothing is copied to kernel build's
./usr directory.

The code does not fail, but silently proceeds without a bundled initramfs.

Change to fail and tell the user something is wrong.

Also, if an initramfs is found, contrary to the comments, it does not stop
at the first uncompressed/compressed cpio image found. Instead it keeps
processing all so the last is used. Fix this to behave as per the comments.

[YOCTO #12909]

(Patch by Leon Woestenberg)

(From OE-Core rev: 5b5604e288af755eb5553a97d26533445b2cf94b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoca-certificates: upgrade 20180409 -> 20190110
Alexander Kanavin [Tue, 19 Feb 2019 17:47:10 +0000 (18:47 +0100)]
ca-certificates: upgrade 20180409 -> 20190110

(From OE-Core rev: 73ebdcaedde460108f98971f037e50e9b15c9f0c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: fix CVE-2019-6454
George McCollister [Fri, 22 Feb 2019 16:54:50 +0000 (10:54 -0600)]
systemd: fix CVE-2019-6454

Apply patches from systemd_239-7ubuntu10.8 to fix CVE-2019-6454.
CVE-2019-6454 is an issue in which systemd (PID1) can be crashed with a
specially formed D-Bus message.

For information see:
https://usn.ubuntu.com/3891-1/
https://git.launchpad.net/ubuntu/+source/systemd/commit/?id=f8e75d5634904c8e672658856508c3a02f349adb

(From OE-Core rev: 9d2ec5970adfc906fcc4581528321a879953fd55)

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: Update recent CVE patches
Richard Purdie [Mon, 28 Jan 2019 13:57:44 +0000 (13:57 +0000)]
systemd: Update recent CVE patches

* Added CVE tag, Upstream-Status tag and Sign-off-by tags.
* Removed the verification of the entry length in the header
* Squashed CVE-2018-16865 patches into one
* CVE-2018-16866 patch now taken from systemd-stable and includes
  an additional heap buffer overflow fix.

(From OE-Core rev: bc79395e2fcb886f224a4ad837fd93c779d2c53d)

Signed-off-by: Marcus Cooper <marcusc@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agotarget-sdk-provides-dummy: Extend to -dev and -src packages
Richard Purdie [Sat, 9 Mar 2019 18:50:07 +0000 (19:50 +0100)]
target-sdk-provides-dummy: Extend to -dev and -src packages

This avoids errors when running populate_sdk under opkg:

 * Problem 1/1:
 *   - package busybox-dev-1.30.1-r0.core2-64 requires busybox = 1.30.1-r0, but none of the providers can be installed
 *
 * Solution 1:
 *   - allow deinstallation of target-sdk-provides-dummy-1.0-r0.sdk-provides-dummy-target

 * Solution 2:
 *   - do not ask to install a package providing busybox-dev

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33d2cde3be4d25389cbea07064ffbc7b2f74273e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: RDEPENDS on util-linux-umount
André Draszik [Thu, 7 Mar 2019 14:27:09 +0000 (16:27 +0200)]
systemd: RDEPENDS on util-linux-umount

It looks like there is an implicit dependency on util-linux'
umount - as otherwise when using busybox' umount we see a
long delay on shutdown / reboot.

[YOCTO #13058]

(From OE-Core rev: 39a3d2c603429865af632fe41b2cf32c3dfdfb1d)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agotarget-sdk-provides-dummy: add perl-module-overload
Oleksandr Kravchuk [Mon, 4 Mar 2019 04:18:22 +0000 (05:18 +0100)]
target-sdk-provides-dummy: add perl-module-overload

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agomesa: ship /etc/drirc in mesa-megadriver thud+ossystems
Ross Burton [Tue, 26 Feb 2019 00:52:21 +0000 (00:52 +0000)]
mesa: ship /etc/drirc in mesa-megadriver

Many years not shipping the stub drirc seemed like a good idea,
but now it has content and is essential for some applications to run.

Following patches in master, ship this file in mesa-megadriver.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoopenssl10: Fix mutliple include assumptions for des.h in opensslconf.h
Denys Dmytriyenko [Mon, 4 Mar 2019 18:11:13 +0000 (13:11 -0500)]
openssl10: Fix mutliple include assumptions for des.h in opensslconf.h

The fix is heavily based on Khem's previous fix for bn.h/BN_LLONG breakage:
https://git.openembedded.org/openembedded-core/commit/?id=f787b0bb9b0626ddbf2ac94cb206c76716a3773d

(From OE-Core rev: 914e1520bf9c45e14bce9993c9131a2c0702b9c9)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agorng-tools: Fix crazy defaults
Hongxu Jia [Fri, 9 Nov 2018 08:54:21 +0000 (16:54 +0800)]
rng-tools: Fix crazy defaults

Since commit [f1dc9ac rng-tools: Fix crazy defaults] fixed
init based on sysvinit, this fix rngd.service based on systemd.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibaio: Extend to native
Peter Kjellerstedt [Sat, 22 Dec 2018 22:13:21 +0000 (23:13 +0100)]
libaio: Extend to native

lvm2 currently requires libaio. So building lvm2-native will result in
the following error.

  ERROR: Required build target 'lvm2-native' has no buildable providers.
  Missing or unbuildable dependency chain was: ['lvm2-native', 'libaio-native']

Extend libaio to native to fix this issue.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooe-build-perf-report/gitarchive: Move common useful functions to library
Richard Purdie [Wed, 20 Feb 2019 17:07:56 +0000 (17:07 +0000)]
oe-build-perf-report/gitarchive: Move common useful functions to library

These functions can be reused by the resulttool code so move to the common
function library for this purpose.

(From OE-Core rev: c66f848938c04e133259c5b6903dc592866ab385)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoscripts/oe-git-archive: Separate out functionality to library function
Richard Purdie [Sun, 17 Feb 2019 22:12:40 +0000 (22:12 +0000)]
scripts/oe-git-archive: Separate out functionality to library function

This turns the core of the script into a library function. Ultimately this
will let us call that code with custom 'keywords' rather than relying
on the data parsed from bitbake metadata which can't be used when archiving
historical results.

(From OE-Core rev: 4820ca2b0850e29b04a4fd5659a6e9837d6714d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolib/buildstats: Improve error message
Richard Purdie [Fri, 15 Feb 2019 11:54:09 +0000 (11:54 +0000)]
lib/buildstats: Improve error message

Just stating the recipe counts are different isn't helpful, showing
the differences makes it much easier to understand what changed.

(From OE-Core rev: 1d84b782e3af6f0e6922d72895c905877cc33739)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agorunqemu: Make QB_MEM easier to set
Robert Yang [Fri, 15 Feb 2019 08:14:52 +0000 (16:14 +0800)]
runqemu: Make QB_MEM easier to set

It only could be set as the following in the past:
QB_MEM = "-m 256"

Now it also can be set as:
QB_MEM = "-m 256M (or m)"
QB_MEM = "256M (or m)"

[YOCTO #11522]

(From OE-Core rev: ad246f5ce0652bd917d85884176baa746e1379ff)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agorunqemu: Let qemuparams override default settings
Robert Yang [Fri, 15 Feb 2019 08:14:51 +0000 (16:14 +0800)]
runqemu: Let qemuparams override default settings

Fixed:
In meta/conf/machine/include/qemuboot-x86.inc:
QB_CPU_x86-64 = "-cpu core2duo"

$ runqemu qemux86-64 qemuparams="-cpu coreduo"
Check /proc/cpuinfo, it should use coreduo rather than core2duo since user
specifies it, but it doesn't, append qemuparams to the last can fix the
problem.

[YOCTO #11773]

(From OE-Core rev: a847dd7202a2c493788c45d11eb86866264af7a4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agowic/engine: Fix missing parted autobuilder failures
Richard Purdie [Fri, 15 Feb 2019 07:57:25 +0000 (07:57 +0000)]
wic/engine: Fix missing parted autobuilder failures

OE-Core rev: a88bcbae850a2e6d182291d3f8e167aabdbe4842 broke the ability
to find parted as it may be in sbin which is not in PATH for some users
on some distros.

Iterate on the original patch to fix this and also fix the original problem.

(From OE-Core rev: af3803e5189d7814f9dbd238fb6dab200f351e1a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agowic/engine.py: Load paths from PATH environment variable
William Bourque [Mon, 11 Feb 2019 20:00:48 +0000 (15:00 -0500)]
wic/engine.py: Load paths from PATH environment variable

Load self.paths from environment variable and
if it fails, fall back to hardcoded list.
This is required for users that would need to load
different e2fsprogs binaries if their system's ones
are not recent enought

(From OE-Core rev: a88bcbae850a2e6d182291d3f8e167aabdbe4842)

Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoscripts/lib/wic/engine: Fix cp's target path for ext* filesystems
Leonardo Augusto [Fri, 8 Feb 2019 16:35:12 +0000 (08:35 -0800)]
scripts/lib/wic/engine: Fix cp's target path for ext* filesystems

Python subprocess' shell=True defaults to /bin/sh[1][2], which
often refers to a POSIX-compliant shell. As the -e flag is
not defined in the POSIX standard[3], some shells may
interpret "-e" as the first argument to the echo command,
causing the rest of the command line to fail.

In this particular case, "echo -e 'cd {}'" is interpreted
as "-e cd {}", which causes the first line of the command
to fail, and causing cp to always place the source file
in the filesystem's root.

Replacing "echo -e" for a printf command makes this
more portable.

This issue only affects "wic cp" for ext* filesystems.

[1] https://docs.python.org/2/library/subprocess.html
[2] https://docs.python.org/3/library/subprocess.html
[3] http://pubs.opengroup.org/onlinepubs/9699919799

(From OE-Core rev: 9a5b703d4e60c3ccdf80b5289b8e6fc91133fcde)

Signed-off-by: Leonardo Augusto <leobsd@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agochecklayer: Avoid adding the layer if it is already present
Robert Yang [Tue, 12 Feb 2019 10:16:42 +0000 (18:16 +0800)]
checklayer: Avoid adding the layer if it is already present

* Rename add_layer() to add_layers() so that add_layer_dependencies() can
  re-use it.

* Avoid adding the layer if it is already present

[YOCTO #13148]

(From OE-Core rev: b9cc18d83f55ff48c3d6e60c56359f6736d5a06a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agochecklayer: generate locked-sigs.inc under builddir
Changqing Li [Thu, 15 Nov 2018 08:16:55 +0000 (16:16 +0800)]
checklayer: generate locked-sigs.inc under builddir

yocto-check-layer will find locked-sigs.inc under builddir,
but locked-sigs.inc is generated under current bitbake working
dir. if run yocto-check-layer outside builddir, we will met error
like "No such file or directory: *locked-sigs.inc". change to
run bitbake -S under builddir to fix this problem.

[YOCTO #12973]

(From OE-Core rev: 2ec0bc0b038bc6413978c8f34ef5c0d22b4bc3e7)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoyocto-check-layer-wrapper: Fix path for oe-init-build-env
Robert Yang [Tue, 12 Feb 2019 10:16:41 +0000 (18:16 +0800)]
yocto-check-layer-wrapper: Fix path for oe-init-build-env

We only could run it in top of oe-core dir since it assumed oe-init-build-env
was in cwd, this patch fixes the problem.

[YOCTO #13148]

(From OE-Core rev: 47d7b5fcad127171243cc95c586c2c7f35cfac3b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooe-build-perf-report: Fix missing buildstats comparisions
Richard Purdie [Mon, 11 Feb 2019 17:45:25 +0000 (17:45 +0000)]
oe-build-perf-report: Fix missing buildstats comparisions

Integers were being compared to strings leading to missing buildstats comparision
data. Fix this.

(From OE-Core rev: 2dbbf598192ae2b3aa488df042f56aa6c6634a00)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooe-build-perf-report: Improve branch comparision handling
Richard Purdie [Sat, 9 Feb 2019 17:18:20 +0000 (17:18 +0000)]
oe-build-perf-report: Improve branch comparision handling

When comparing branches, correctly filter the revisions corresponding
to the specific branch specified.

Also use the commit numbers as a way to gauge spatially related commits
for comparision meaning comparisions for out of order build revisions
becomes meaninful.

This should improve the reporting for autobuilder generated builds.

Also improve the branch option help text.

(From OE-Core rev: 9f6f4ab6eec9dca07af7f53da5f737a6167bfb38)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooe-build-perf-report: Allow commits from different branches
Richard Purdie [Fri, 8 Feb 2019 13:38:22 +0000 (13:38 +0000)]
oe-build-perf-report: Allow commits from different branches

The code won't currently allow comparisions of two commits on different
branches even if the commits are specified by their hashes.

This updates the code to search two branches for any relavent commits,
hence allowing comparisions to be made. A particularly useful case is
master vs. master-next for example.

(From OE-Core rev: 2d835bb1570c515ae501442f3ce19fae8e249b27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooe-build-perf-report: Allow branch without hostname
Richard Purdie [Fri, 8 Feb 2019 13:37:06 +0000 (13:37 +0000)]
oe-build-perf-report: Allow branch without hostname

Allow the branch to be set without the hostname option. Previously
if hostname wasn't set, branch would be overwritten regardless of
whether it was set or not.

(From OE-Core rev: 3ec43bf4c6c8f7730a67f63ad4e14903f289014e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agomultilib_header_wrapper.h: Use #pragma once
Khem Raj [Tue, 5 Feb 2019 00:36:26 +0000 (16:36 -0800)]
multilib_header_wrapper.h: Use #pragma once

Avoid infinite include loops, especially with bits/wordsize.h which is
now possible with the synthesized headers since we now also synthesize
bits/wordsize.h itelf for some arches e.g. arm/aarch64

In cases where extra preprocessing tools are used such as clang-tidy
e.g. and these tools are not passed the knowledge about architecture
then case comes where we enter into header include loop for
bits/wordsize.h, since this template does explicitly include
bits/wordsize.h

To fix this emits the pragma once at beginning of file, this is better
solution than include guards, and pragma once is practically supported
on all compilers except few e.g. cray c/c++ compiler

(From OE-Core rev: 6ab11ac25bb987642d5ca1a07f4bd5f30c66c9c5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosend-error-report: Use https instead of http protocol
Khem Raj [Mon, 4 Feb 2019 18:13:14 +0000 (10:13 -0800)]
send-error-report: Use https instead of http protocol

errors.yp.org can understand https

(From OE-Core rev: f540fed0aec24e28eff8522fddbe3cf7ee45e30b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooe-git-proxy: Avoid resolving NO_PROXY against local files
Jan Kiszka [Tue, 29 Jan 2019 16:48:35 +0000 (17:48 +0100)]
oe-git-proxy: Avoid resolving NO_PROXY against local files

NO_PROXY may contain * elements, and if we are unlucky (or want to match
all hosts with *), we will pick up local files rather than doing the
match in match_host. Quoting helps here.

(From OE-Core rev: 7e216e806ca765152fd874e24785f783a3201284)

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agodevtool: improve git repo checks before check_commits logic
Dan Dedrick [Mon, 21 Jan 2019 20:15:27 +0000 (15:15 -0500)]
devtool: improve git repo checks before check_commits logic

The check_commits logic assumes that both devtool-base and args.branch
exist in the git repo that it is operating on. In order to prevent
errors at that point it's best to first ensure that both of these refs
actually exist. If they don't both exist then the check_commits logic
should just be skipped, as it would be if the repo wasn't originally
checked out by devtool.

Previously if a user removed the args.branch branch from their devtool
cloned repo this code would crash on adding the repo with -n. The crash
would look like this:

Traceback (most recent call last):
  File "/home/ddedrick/src/poky/scripts/devtool", line 344, in <module>
    ret = main()
  File "/home/ddedrick/src/poky/scripts/devtool", line 331, in main
    ret = args.func(args, config, basepath, workspace)
  File "/home/ddedrick/src/poky/scripts/lib/devtool/standard.py", line 812, in modify
    (stdout, _) = bb.process.run('git log devtool-base..%s' % branch, cwd=srctree)
  File "/home/ddedrick/src/poky/bitbake/lib/bb/process.py", line 178, in run
    raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git log devtool-base..devtool' failed with exit code 128:
fatal: ambiguous argument 'devtool-base..devtool': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

(From OE-Core rev: f13a3490fdb404bbd4c77e45b83540d6deec1358)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agodevtool: remove duplicate overrides
Dan Dedrick [Mon, 21 Jan 2019 16:05:02 +0000 (11:05 -0500)]
devtool: remove duplicate overrides

DEVTOOL_EXTRA_OVERRIDES only needs one entry for each instance of
overrides. Previous to these changes it would find every override to
SRC_URI and add it to the list. This would duplicate instances where
SRC_URI is modified multiple times with the same override like:
SRC_URI_append_foo += "file://0001-foo.patch"
SRC_URI_append_foo += "file://0002-bar.patch"

A bbappend might also overwrite a SRC_URI override, which would also
cause multiple instances to occur.

When there are multiple instances of the same override in
DEVTOOL_EXTRA_OVERRIDES it causes devtool modify to fail when creating
override branches. The failure occurs when attempting to create the same
override branch a second time and looks like this:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:devtool_post_patch(d)
     0003:
File: '/build/poky/meta/classes/devtool-source.bbclass', lineno: 202, function: devtool_post_patch
     0198:
     0199:        for override in extra_override_list:
     0200:            localdata = bb.data.createCopy(d)
     0201:            if override in default_overrides:
 *** 0202:                bb.process.run('git branch devtool-override-%s %s' % (override, devbranch), cwd=srcsubdir)
     0203:            else:
     0204:                # Reset back to the initial commit on a new branch
     0205:                bb.process.run('git checkout %s -b devtool-override-%s' % (initial_rev, override), cwd=srcsubdir)
     0206:                # Run do_patch function with the override applied
File: '/build/poky/bitbake/lib/bb/process.py', lineno: 178, function: run
     0174:        if not stderr is None:
     0175:            stderr = stderr.decode("utf-8")
     0176:
     0177:    if pipe.returncode != 0:
 *** 0178:        raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
     0179:    return stdout, stderr
Exception: bb.process.ExecutionError: Execution of 'git branch devtool-override-foo devtool' failed with exit code 128:
fatal: A branch named 'devtool-override-foo' already exists.

(From OE-Core rev: 90f667db2219f04e6d61588cd61056d3d8da6d7d)

Signed-off-by: Dan Dedrick <ddedrick@lexmark.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoscripts/contrib/build-perf-test.sh: Remove it
Richard Purdie [Sun, 20 Jan 2019 12:18:52 +0000 (12:18 +0000)]
scripts/contrib/build-perf-test.sh: Remove it

This is the older script which the code in lib/oeqa/buildperf replaces so
delete the obsolete script to avoid confusion.

(From OE-Core rev: 9908b7955e75e10d6a1384e4c08417ef534464af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoscripts/contrib/build-perf-test-wrapper.sh: Improve interaction with autobuilder...
Richard Purdie [Sun, 20 Jan 2019 11:51:34 +0000 (11:51 +0000)]
scripts/contrib/build-perf-test-wrapper.sh: Improve interaction with autobuilder automation

This tweaks the script to:

* Ensure directories exist and can be written to
* Allow the downloads directory to be specified
* Error early if the phantomjs or optipng dependencies are not installed
* Allow the location of the globalres.log file to be specified

This means that the main build directory can be destroyed and any state
from the script is stored elsewhere allowing it to be triggered
automatically from the autobuilder infrastructure.

(From OE-Core rev: 1de5fbd484e6a747ae6419ccc89d8c2911b9706b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoopenssl10: Fix mutliple include assumptions for bn.h in opensslconf.h
Khem Raj [Thu, 7 Feb 2019 06:25:26 +0000 (22:25 -0800)]
openssl10: Fix mutliple include assumptions for bn.h in opensslconf.h

After adding #pragma once to wrapper header ( opensslconf.h ) this
latent issue got to bite us, where it expect bn.h to be including
openssl.h to define BN_* defines, which is fragile. This patch removes
the contraints for nested includes for bn.h

(From OE-Core rev: f787b0bb9b0626ddbf2ac94cb206c76716a3773d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoopenssl10: update to 1.0.2q
Alexander Kanavin [Thu, 22 Nov 2018 15:41:22 +0000 (16:41 +0100)]
openssl10: update to 1.0.2q

(From OE-Core rev: 03149ca307282c22dd9ceb6fe3224bf586b03f6d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoopenssl: fix multilib file install conflicts
Xulin Sun [Tue, 29 Jan 2019 07:31:22 +0000 (15:31 +0800)]
openssl: fix multilib file install conflicts

To avoid issue like below if run "bitbake lib32-core-image-minimal"
with series userspace packages(LAMP,krb5...) added.

Add multilib_script support for openssl's c_rehash which is a perl script.

Error: Transaction check error:
  file /usr/bin/c_rehash conflicts between attempted installs of
  lib32-openssl-bin-1.1.1-r0.armv7at2hf_neon and openssl-bin-1.1.1-r0.aarch64

(From OE-Core rev: a4032f3cc5de451f0e97eca1f0cbe4a310e1560b)

Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoiw: fix parsing of WEP keys
Liu Haitao [Thu, 3 Jan 2019 05:48:38 +0000 (13:48 +0800)]
iw: fix parsing of WEP keys

The current iw4.14 has a fatal bug that could casue a Segmentation fault
when parsing WEP keys. The issue has been fixed by upstream.
[https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit/?id=0e39f109c4b8155697a12ef090b59cdb304c8c44]

(From OE-Core rev: 6de9eb72f679dd8d8e4de972b1da978522cff8b4)

Signed-off-by: Liu Haitao <haitao.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agobluez5: Fix a race issue for tools
Robert Yang [Fri, 28 Dec 2018 09:01:48 +0000 (01:01 -0800)]
bluez5: Fix a race issue for tools

Fixed:
cp ../bluez-5.50/tools/hid2hci.rules tools/97-hid2hci.rules
cp: cannot create regular file tools/97-hid2hci.rules: No such file or directory
make[1]: *** [tools/97-hid2hci.rules] Error 1

(From OE-Core rev: 5cb2b165cf89a307531e199248bc98fb51541521)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoopenssl: Skip assembler optimized code for powerpc64 with musl
Serhey Popovych [Fri, 14 Dec 2018 17:54:37 +0000 (19:54 +0200)]
openssl: Skip assembler optimized code for powerpc64 with musl

This code is written for elfv1 ABI in mind and linked as such: disable
all optimizations at the moment when building for powerpc64 with musl.

(From OE-Core rev: bee9e807430178426b2a5635b573ae285e889c39)

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoavahi: avoid depending on skipped package
Jens Rehsack [Wed, 28 Nov 2018 08:15:30 +0000 (09:15 +0100)]
avahi: avoid depending on skipped package

When built without D-Bus, libavahi-client is not build:
  Building libavahi-client:           no   (You need avahi-daemon and D-Bus!)
which causes avahi-dev RDEPENDS failing when creating an image
containing development-tools:
 *   - nothing provides libavahi-client = 0.7-r0 needed by avahi-dev-0.7-r0.cortexa8hf-neon

(From OE-Core rev: 319532792435be73e96c8319e90336e1298ac2a1)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoopenssl: Strip perl version from installed ptest configdata.pm file
Douglas Royds [Wed, 28 Nov 2018 04:53:12 +0000 (17:53 +1300)]
openssl: Strip perl version from installed ptest configdata.pm file

(From OE-Core rev: fab0f5162b930f87798be61359a5c287fb13a76c)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoopenssl ptest: Strip build host paths from configdata.pm
Douglas Royds [Wed, 28 Nov 2018 04:53:11 +0000 (17:53 +1300)]
openssl ptest: Strip build host paths from configdata.pm

This file contains CC, CPP, CFLAGS, CXXFLAGS and the like.

(From OE-Core rev: c423cd1070045849c3a5b4e2b53043b28e5194f7)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agokeymaps: tighten package write dependency
Jonas Bonn [Tue, 29 Jan 2019 07:24:42 +0000 (08:24 +0100)]
keymaps: tighten package write dependency

The dependency on systemd-systemctl-native is only needed if _both_
systemd and sysvinit are in play.

(From OE-Core rev: 3ea08f4b24f8a49c3d5039b62b39d6419cfe234c)

Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-firmware: Bump to 710963f revision
Otavio Salvador [Fri, 15 Feb 2019 13:55:03 +0000 (11:55 -0200)]
linux-firmware: Bump to 710963f revision

Following changes are applied:

710963f Merge https://github.com/ajaykuee/linux-firmware
c24aec4 nvidia: add TU10x typec controller firmware
28f5f7d Merge git://git.marvell.com/mwifiex-firmware
f30a319 Merge branch 'ath10k-20190201' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/linux-firmware
8fcf0ec bnx2x: Add FW 7.13.11.0.
8bf607c amdgpu: add firmware for vega20 from 18.50
578aee3 amdgpu: bump year on license
bd72387 linux-firmware: update Marvell PCIe-USB8997 firmware image
6cfdd52 linux-firmware: update Marvell SD8897-B0 firmware image
2206320 linux-firmware: add Marvell SD8977 firmware image
6b5e23a ath10k: QCA9984 hw1.0: update firmware-5.bin to 10.4-3.9.0.2-00021
0eef77d ath10k: QCA988X hw2.0: update firmware-5.bin to 10.2.4-1.0-00043
1bd5312 ath10k: QCA9888 hw2.0: update firmware-5.bin to 10.4-3.9.0.2-00024
97b1f93 ath10k: QCA6174 hw3.0: update board-2.bin
a8b75ca Merge tag 'add-rpi-fw' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux-firmware
56483ad brcm: Add BCM43455 NVRAM for Raspberry Pi 3 B+
638a91a brcm: Fix filename for BCM43430 NVRAM for the Raspberry Pi 3 Model B
bc65650 amdgpu: add raven2 fw for 18.50 release
32201bb amdgpu: add picasso fw for 18.50 release
b1eae29 Revert "brcm: Add BCM43455 NVRAM for Raspberry Pi 3 B+"
89d37c6 linux-firmware: Update firmware file for Intel Bluetooth,8265
f089658 linux-firmware: Update firmware patch for Intel Bluetooth 8260
ae90c3b linux-firmware: Update firmware file for Intel Bluetooth,9260
9723ba4 linux-firmware: Update firmware file for Intel Bluetooth,9560
c7148ed Merge tag 'add-rpi-fw' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux-firmware
128441e Merge tag 'iwlwifi-fw-2018-12-30' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware
56cbf41 Merge git://git.marvell.com/mwifiex-firmware
930f276 brcm: Add BCM43430 NVRAM for the Raspberry Pi 3 Model B
fca5958 brcm: Add BCM43455 NVRAM for Raspberry Pi 3 B+
63ca64a linux-firmware: update Marvell USB8801 B0 firmware image
b727739 iwlwifi: update firmwares for 9000 series
80dee31 cxgb4: update firmware to revision 1.22.9.0
0f22c85 Revert "amdgpu: update vega10 fw for 18.50 release"
117d211 brcm: Add 4330 NVRAM for the Prowise PT301 tablet
912d6a5 brcm: Add 43430 NVRAM for the Chuwi Vi8 Plus tablet
f16cf5e brcm: Add 43340 based AP6234 NVRAM for the Meegopad T08 HDMI stick
5a2766c brcm: Add 43430a0 based AP6212 NVRAM for the Jumper EZpad mini 3 tablet
867ac13 brcm: Add 43430a0 based AP6212 NVRAM for the Onda V80 Plus tablet
a5662fb brcm: Add 4356 based AP6356 NVRAM for the GPD win handheld
f055ceb brcm: Add brcmfmac43362-sdio.lemaker,bananapro.txt symlink
d9430ac brcm: Add 43362 based AP6210 NVRAM for the Cubietech Cubietruck
eb34562 WHENCE: Put quotes around brcmfmac NVRAM filenames
be15035 check_whence.py: Add support for filenames with spaces in them
e6b9001 rtl_bt: Add firmware and configuration files for the Bluetooth part of RTL8723BS
3de2546 Merge git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware
494709e Merge branch 'BXT_HUC' of git://anongit.freedesktop.org/drm/drm-firmware
8707ef3 iwlwifi: update firmwares for 8000 series
156b549 iwlwifi: add -43.ucode for 9000 series
8a396b6 iwlwifi: update -41.ucode for 9000 series
211de16 brcm: provide new firmwares for BCM4366 chipset
813fa1f Mellanox: Add new mlxsw_spectrum firmware 13.1910.622
a330ddb Merge branch 'for-upstream' of https://github.com/crojewsk/linux-firmware
8de1d88 cavium: Update firmware for CNN55XX crypto driver
a7ea5a8 amdgpu: update vega12 fw for 18.50 release
ec4b0cd amdgpu: update vega10 fw for 18.50 release
1abe3c3 amdgpu: update raven fw for 18.50 release
6e38fef amdgpu: update polaris11 fw for 18.50 release
df89864 amdgpu: update polaris10 fw for 18.50 release
a91e850 amdgpu: add firmware for vega12
6cca138 amdgpu: Add new polaris MC firmwares
e8404a6 amdgpu: Add new polaris SMC firmwares
8aa9e3e linux-firmware: Update AMD cpu microcode
f3f6ada Merge branch 'MSCC-PHYs' of https://github.com/QSchulz/linux-firmware
4bbd950 Merge branch 'for-upstream' of git://git.chelsio.net/pub/git/linux-firmware
d9fb2ee nfp: update Agilio SmartNIC flower firmware to rev AOTC-2.10.A.13
57d49d5 microchip: add firmware for VSC8574 and VSC8584 Ethernet PHYs
82f6dbf linux-firmware: intel: Update Cannonlake audio firmware.
69f153b firmware/huc/bxt: Add huC Update for BXT
5904eab nfp: update Agilio SmartNIC firmware to rev 2.1.16
e7cdec4 cxgb4: update firmware to revision 1.21.5.0

License-Update:
  - LICENSE.amdgpu: Copyright year update;
  - WHENCE: New firmware files additions and version updates;

(From OE-Core rev: 4e6d242eb9678430df387c0c106d305df6d2e71b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-firmware: split out liquidio firmware
Ross Burton [Mon, 28 Jan 2019 16:25:28 +0000 (16:25 +0000)]
linux-firmware: split out liquidio firmware

Part of this firmware is a pre-built Linux kernel, so it's both huge (25MB) and
triggers binary security scanners as the kernel is 3.10.87.

(From OE-Core rev: 973befb880094c1d862291be0bdfa74ccdfa0929)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-firmware: recommend split up packages
Ross Burton [Mon, 28 Jan 2019 16:25:27 +0000 (16:25 +0000)]
linux-firmware: recommend split up packages

(From OE-Core rev: 54cd9bd1b7d089169e6d6fe73a77930d736f46f0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-yocto/4.18: update to v4.18.27
Bruce Ashfield [Wed, 6 Feb 2019 19:50:39 +0000 (19:50 +0000)]
linux-yocto/4.18: update to v4.18.27

Integrating the -stable updates from Paul Gortmaker that comprise the
following commits:

   fb957805a800 Linux 4.18.27
   e40e99b6b15d ipmi:ssif: Fix handling of multi-part return messages
   ec5b2f3f897b ipmi: Prevent use-after-free in deliver_response
   d605dfec5314 ipmi: msghandler: Fix potential Spectre v1 vulnerabilities
   6fcd5c67bbed ipmi: fix use-after-free of user->release_barrier.rda
   8978d7c6dec4 Bluetooth: Fix unnecessary error message for HCI request completion
   9aa6a6afdc9d iwlwifi: mvm: Send LQ command as async when necessary
   be293e2c8d5d mm, proc: be more verbose about unstable VMA flags in /proc/<pid>/smaps
   5da1802b5dd9 userfaultfd: clear flag if remap event not enabled
   08861c6db0c1 mm/swap: use nr_node_ids for avail_lists in swap_info_struct
   fbd6851e6d57 mm/page-writeback.c: don't break integrity writeback on ->writepage() error
   42af1b118dec ocfs2: fix panic due to unrecovered local alloc
   e701c6b47b1e scsi: megaraid: fix out-of-bound array accesses
   c2414688a11f scsi: smartpqi: call pqi_free_interrupts() in pqi_shutdown()
   248849ffcee8 ath10k: fix peer stats null pointer dereference
   e6e7a27d9894 scsi: smartpqi: correct lun reset issues
   f82c77b69dd4 scsi: mpt3sas: fix memory ordering on 64bit writes
   7fe3902a1b30 IB/usnic: Fix potential deadlock
   07716336ae4f sysfs: Disable lockdep for driver bind/unbind files
   52223b291461 ALSA: bebob: fix model-id of unit for Apogee Ensemble
   f55b7d8c5747 dm: Check for device sector overflow if CONFIG_LBDAF is not set
   744fb8e55bdc clocksource/drivers/integrator-ap: Add missing of_node_put()
   c7e5ef0fad26 quota: Lock s_umount in exclusive mode for Q_XQUOTA{ON,OFF} quotactls.
   051f86c6e4fe perf tools: Add missing open_memstream() prototype for systems lacking it
   f40cb62ae378 perf tools: Add missing sigqueue() prototype for systems lacking it
   fe10d3ee10ae dm snapshot: Fix excessive memory usage and workqueue stalls
   dbb2e01442dd tools lib subcmd: Don't add the kernel sources to the include path
   9844e0dbc6d0 perf stat: Avoid segfaults caused by negated options
   d8dc75d3d9fc dm kcopyd: Fix bug causing workqueue stalls
   dff3fa1af70f dm crypt: use u64 instead of sector_t to store iv_offset
   26dfea580c42 x86/topology: Use total_cpus for max logical packages calculation
   5f13f97aad1e netfilter: ipt_CLUSTERIP: fix deadlock in netns exit routine
   d5e112ef684d netfilter: ipt_CLUSTERIP: remove wrong WARN_ON_ONCE in netns exit routine
   ed843e0c755b netfilter: ipt_CLUSTERIP: check MAC address when duplicate config is set
   ab68568470d6 perf vendor events intel: Fix Load_Miss_Real_Latency on SKL/SKX
   5ddf63d48c16 perf parse-events: Fix unchecked usage of strncpy()
   882079829dfb perf svghelper: Fix unchecked usage of strncpy()
   e689fb5da3fc perf tests ARM: Disable breakpoint tests 32-bit
   ef3ae9b3e540 perf intel-pt: Fix error with config term "pt=0"
   8639a6aacfd7 tty/serial: do not free trasnmit buffer page under port lock
   80c3cdea380c btrfs: improve error handling of btrfs_add_link
   2202b846b13c btrfs: alloc_chunk: fix more DUP stripe size handling
   ab3a0bbe8b0b mmc: atmel-mci: do not assume idle after atmci_request_end
   32f972da3d3a kconfig: fix memory leak when EOF is encountered in quotation
   10d9a6a992ee kconfig: fix file name and line number of warn_ignored_character()
   f7bcc8b2f7ef bpf: relax verifier restriction on BPF_MOV | BPF_ALU
   eec0856907da arm64: Fix minor issues with the dcache_by_line_op macro
   f2300824da71 clk: imx6q: reset exclusive gates on init
   1604baf07d22 arm64: kasan: Increase stack size for KASAN_EXTRA
   13ba93449b46 selftests: do not macro-expand failed assertion expressions
   3bbd076d9136 scsi: target: use consistent left-aligned ASCII INQUIRY data
   e37db031ef5a net: call sk_dst_reset when set SO_DONTROUTE
   fb614921bc34 media: venus: core: Set dma maximum segment size
   eb2c9c4ca615 ASoC: use dma_ops of parent device for acp_audio_dma
   68a03c142063 media: firewire: Fix app_info parameter type in avc_ca{,_app}_info
   b60c7a6713d5 powerpc/pseries/cpuidle: Fix preempt warning
   df30a1b5d8d2 powerpc/xmon: Fix invocation inside lock region
   4f03e69412ba media: uvcvideo: Refactor teardown of uvc on USB disconnect
   e6b355ae24ba pstore/ram: Do not treat empty buffers as valid
   72d479d16ec9 clk: imx: make mux parent strings const
   277364cbbd21 jffs2: Fix use of uninitialized delayed_work, lockdep breakage
   d206a38109fc efi/libstub: Disable some warnings for x86{,_64}
   643a876a5b01 rxe: IB_WR_REG_MR does not capture MR's iova field
   f5d7d77be0a6 scsi: qedi: Check for session online before getting iSCSI TLV data.
   5c28f6e86aff ASoC: pcm3168a: Don't disable pcm3168a when CONFIG_PM defined
   6ca660928969 selinux: always allow mounting submounts
   128146d4fb71 fpga: altera-cvp: fix probing for multiple FPGAs on the bus
   3e60aeeefaeb usb: gadget: udc: renesas_usb3: add a safety connection way for forced_b_device
   e1c8feafd5fe samples: bpf: fix: error handling regarding kprobe_events
   2b3081b77e3f clk: meson: meson8b: fix incorrect divider mapping in cpu_scale_table
   0bf0163094a9 drm/atomic-helper: Complete fake_commit->flip_done potentially earlier
   21330a217643 arm64: perf: set suppress_bind_attrs flag to true
   066b9fddd721 crypto: ecc - regularize scalar for scalar multiplication
   e26359f1620c MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur
   3afff9e63c8e x86/mce: Fix -Wmissing-prototypes warnings
   9b3a195320ca ALSA: oxfw: add support for APOGEE duet FireWire
   04aba67bbf94 bpf: Allow narrow loads with offset > 0
   f30cc07af44f serial: set suppress_bind_attrs flag only if builtin
   d264a0f394ba writeback: don't decrement wb->refcnt if !wb->bdi
   74691a75e365 of: overlay: add missing of_node_put() after add new node to changeset
   419af4cd1015 selftests/bpf: enable (uncomment) all tests in test_libbpf.sh
   2e3f88e667c6 e1000e: allow non-monotonic SYSTIM readings
   f782c9d1da48 platform/x86: asus-wmi: Tell the EC the OS will handle the display off hotkey
   1261977d0ab4 ixgbe: allow IPsec Tx offload in VEPA mode
   7c73931b7303 drm/amd/display: Guard against null stream_state in set_crc_source
   39d92f35a8dc gpio: pl061: Move irq_chip definition inside struct pl061
   3aec221e313a netfilter: ipset: Allow matching on destination MAC address for mac and ipmac sets
   6a5be9a2ffef ipv6: Take rcu_read_lock in __inet6_bind for mapped addresses
   50d329eca381 r8169: Add support for new Realtek Ethernet
   d1aad26bb964 qmi_wwan: add MTU default to qmap network interface
   62b4f9e777bf net, skbuff: do not prefer skb allocation fails early
   eb5c8d69ea42 net: dsa: mv88x6xxx: mv88e6390 errata
   993bc7d54dac mlxsw: spectrum_switchdev: Set PVID correctly during VLAN deletion
   8fb8533a5309 mlxsw: spectrum: Disable lag port TX before removing it
   75daf3c475df ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address
   73827a8e2e30 nbd: Use set_blocksize() to set device blocksize
   f65d7d5574e1 drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock
   528fa9207170 loop: drop caches if offset or block_size are changed
   3df31feee60d loop: Fix double mutex_unlock(&loop_ctl_mutex) in loop_control_ioctl()
   d4082dc05ac9 loop: Get rid of 'nested' acquisition of loop_ctl_mutex
   78f210acfd34 loop: Avoid circular locking dependency between loop_ctl_mutex and bd_mutex
   3ebf94b079ba loop: Fix deadlock when calling blkdev_reread_part()
   fc4a4583f9f1 loop: Move loop_reread_partitions() out of loop_ctl_mutex
   2c2c3aa3ab1c loop: Move special partition reread handling in loop_clr_fd()
   e2c6ee2931ca loop: Push loop_ctl_mutex down to loop_change_fd()
   b442997a7285 loop: Push loop_ctl_mutex down to loop_set_fd()
   33d682700fb0 loop: Push loop_ctl_mutex down to loop_set_status()
   49f911a6a4c0 loop: Push loop_ctl_mutex down to loop_get_status()
   c3be2cd6ad9e loop: Push loop_ctl_mutex down into loop_clr_fd()
   9a4a7555c177 loop: Split setting of lo_state from loop_clr_fd
   d1f05249099a loop: Push lo_ctl_mutex down into individual ioctls
   50bbdfab99c1 loop: Get rid of loop_index_mutex
   bc40dc95afdc loop: Fold __loop_release into loop_release
   23d5eac305d0 block/loop: Use global lock for ioctl() operation.
   e0d29ef2a8b0 block/loop: Don't grab "struct file" for vfs_getattr() operation.
   8281310f32aa tipc: fix uninit-value in tipc_nl_compat_doit
   95c94c995d8e tipc: fix uninit-value in tipc_nl_compat_name_table_dump
   b099f94e1e4d tipc: fix uninit-value in tipc_nl_compat_link_set
   8e649a4839e0 tipc: fix uninit-value in tipc_nl_compat_bearer_enable
   e54458ac168e tipc: fix uninit-value in tipc_nl_compat_link_reset_stats
   9a8f56b713dc tipc: fix uninit-value in in tipc_conn_rcv_sub
   08ea8e1bfd4b sctp: allocate sctp_sockaddr_entry with kzalloc
   4c02dbac416c blockdev: Fix livelocks on loop device
   af7bec66e3ee selinux: fix GPF on invalid policy
   de9b736152ed block: use rcu_work instead of call_rcu to avoid sleep in softirq
   b232d75be71a netfilter: ebtables: account ebt_table_info to kmemcg
   aa4d1d6641b5 sunrpc: handle ENOMEM in rpcb_getport_async
   ddb29b79dbff media: vb2: be sure to unlock mutex on errors
   b9f0f2f9cf59 media: vb2: vb2_mmap: move lock up
   7308ece86dd0 LSM: Check for NULL cred-security on free
   71ba5763243b ipv6: make icmp6_send() robust against null skb->dev
   05e6bff7e7a6 bpf: in __bpf_redirect_no_mac pull mac only if present
   4181e7d61b1a media: vivid: set min width/height to a value > 0
   cbfc610ae5f2 media: vivid: fix error handling of kthread_run
   05f5b1394483 omap2fb: Fix stack memory disclosure
   28063cb50ed8 fix int_sqrt64() for very large numbers
   37112a960b7f Disable MSI also when pcie-octeon.pcie_disable on
   8fd61f25fcf3 arm64: dts: marvell: armada-ap806: reserve PSCI area
   58c3acda1754 arm64: kaslr: ensure randomized quantities are clean to the PoC
   9a013b991c02 pstore/ram: Avoid allocation and leak of platform data
   1aa9985076dc RDMA/nldev: Don't expose unsafe global rkey to regular user
   b409b102c7d8 media: v4l: ioctl: Validate num_planes for debug messages
   92dd1f93a3c9 mfd: tps6586x: Handle interrupts on suspend
   2e63388cbfdb OF: properties: add missing of_node_put
   1957d16bceca drm/i915/gvt: Fix mmap range check
   f1e756d98a46 MIPS: lantiq: Fix IPI interrupt handling
   ac8f34885340 mips: fix n32 compat_ipc_parse_version
   0830f02f81b3 scsi: sd: Fix cache_type_store()
   f25d687e3d8b scsi: core: Synchronize request queue PM status only on successful resume
   0f7357d9b8e4 Yama: Check for pid death before checking ancestry
   f94e8c0566d0 btrfs: wait on ordered extents on abort cleanup
   4b1129e59323 Revert "btrfs: balance dirty metadata pages in btrfs_finish_ordered_io"
   f9ac2ffa0255 xen: Fix x86 sched_clock() interface for xen
   79ad9eda6689 x86/xen/time: Output xen sched_clock time from 0
   7b3718f98f17 crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK
   c194e944dc98 crypto: talitos - reorder code in talitos_edesc_alloc()
   0b612c90335c crypto: authenc - fix parsing key with misaligned rta_len
   bed3cec44833 crypto: bcm - convert to use crypto_authenc_extractkeys()
   f1daff3d1cb1 crypto: ccree - convert to use crypto_authenc_extractkeys()
   b445d866e2fa crypto: authencesn - Avoid twice completion call in decrypt path
   1d5d8babb9a8 crypto: caam - fix zero-length buffer DMA mapping
   04836f6b86bd crypto: sm3 - fix undefined shift by >= width of value
   42cd579fd790 bonding: update nest level on unlink
   12dff858b935 r8169: don't try to read counters if chip is in a PCI power-save state
   5087c2825807 smc: move unhash as early as possible in smc_release()
   cf652d77ac45 tun: publish tfile after it's fully initialized
   faee48550bf4 tcp: change txhash on SYN-data timeout
   e87c244b11cd net: bridge: fix a bug on using a neighbour cache entry without checking its state
   c499692ded84 ipv6: fix kernel-infoleak in ipv6_local_error()
   a3ab077a3f79 arm64: Don't trap host pointer auth use to EL2
   6f127252fe5f arm64/kvm: consistently handle host HCR_EL2 flags
   e5fed8d49b5b scsi: target: iscsi: cxgbit: fix csk leak
   f1778e1523fa netfilter: nf_conncount: don't skip eviction when age is negative
   df00c2c10e4f can: gw: ensure DLC boundaries after CAN frame modification
   58e9f5227691 tty: Don't hold ldisc lock in tty_reopen() if ldisc present
   c6e522371001 tty: Simplify tty->count math in tty_reopen()
   e3ac534b8aa5 tty: Hold tty_ldisc_lock() during tty_reopen()
   3456ecaf8d34 tty/ldsem: Wake up readers after timed out down_write()
   2b1afc9c3506 Btrfs: use nofs context when initializing security xattrs to avoid deadlock
   403d0f9134a7 Btrfs: fix access to available allocation bits when starting balance
   343ae5df68a2 KVM: arm/arm64: Fix VMID alloc race by reverting to lock-less
   42e3a4424b12 sunrpc: use-after-free in svc_process_common()
   39e372a81d13 mm: page_mapped: don't assume compound page is huge or THP
   845f8457893a ext4: track writeback errors using the generic tracking infrastructure
   a0e9782472b8 ext4: use ext4_write_inode() when fsyncing w/o a journal
   c60e8096cc4d ext4: avoid kernel warning when writing the superblock to a dead device
   3ec6f7792def ext4: fix a potential fiemap/page fault deadlock w/ inline_data
   02d823cdb2a4 ext4: make sure enough credits are reserved for dioread_nolock writes
   154261392771 rbd: don't return 0 on unmap if RBD_DEV_FLAG_REMOVING is set
   98213a9d5ce0 drm/amdgpu: Don't fail resume process if resuming atomic state fails
   dc2660871a4a drm/amdgpu: Don't ignore rc from drm_dp_mst_topology_mgr_resume()
   26089047b42c drm/amd/display: Fix MST dp_blank REG_WAIT timeout
   003d29ca6fba PCI: dwc: Move interrupt acking into the proper callback
   b90e95417c02 PCI: dwc: Take lock when ACKing an interrupt
   d51df9e16301 PCI: dwc: Use interrupt masking instead of disabling
   c122260b25cd drm/amdgpu: Add new VegaM pci id
   789040bc5039 vfio/type1: Fix unmap overflow off-by-one
   86cecca3d93e i2c: dev: prevent adapter retries and timeout being set as minus value
   50558f1ca67b ACPI / PMIC: xpower: Fix TS-pin current-source handling
   4b75905144c7 ACPI: power: Skip duplicate power resource references in _PRx
   c78b2116c9d7 mm, memcg: fix reclaim deadlock with writeback
   8bf6869b4d75 mm/usercopy.c: no check page span for stack objects
   d6c879709135 slab: alien caches must not be initialized if the allocation of the alien cache failed
   bb1c250d55ff USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB
   39fa1b192449 USB: storage: add quirk for SMI SM3350
   4385b42a4cc2 USB: storage: don't insert sane sense for SPC3+ when bad sense specified
   d10e7b64e2b3 usb: cdc-acm: send ZLP for Telit 3G Intel based modems
   af318dc8d1f4 cifs: Fix potential OOB access of lock element array
   4c26d3a072da CIFS: Do not hide EINTR after sending network packets
   50c6b89008ec CIFS: Fix adjustment of credits for MTU requests
   a7eb3c3dc214 ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225
   dcb78b2a6e1c ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225
   26b78760c7ae ALSA: hda/realtek - Support Dell headset mode for New AIO platform
   94ddf9e27eb5 cpufreq: scmi: Fix frequency invariance in slow path
   516c5e5f484f Revert "x86/hyper-v: Check cpumask_to_vpset() return value in hyperv_flush_tlb_others_ex()"

(From OE-Core rev: c05bd600a4200a76513ff5a127f44efe1eab4045)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-yocto/4.18: update to v4.18.26
Bruce Ashfield [Wed, 6 Feb 2019 19:50:38 +0000 (19:50 +0000)]
linux-yocto/4.18: update to v4.18.26

Integrating Paul Gortmaker's stable updates that comprise the following
commits:

   89754c7da63f Linux 4.18.26
   c564abe1908c NFSv4: Fix a tracepoint Oops in initiate_file_draining()
   890d46c677fd net: hns3: fix return value error while hclge_cmd_csq_clean failed
   9cee553eeef0 PCI/AER: Remove duplicate PCI_EXP_AER_FLAGS definition
   5ffe615c7959 fbdev: omap2: omapfb: fix ifnullfree.cocci warnings
   9a2eb194c961 fbdev: omap2: omapfb: fix bugon.cocci warnings
   795731d5307f fbdev: omap2: omapfb: fix boolreturn.cocci warnings
   8c656840a4cc PCI: mobiveil: Add Kconfig/Makefile entries
   0f7c216a5905 pinctrl: mediatek: include chained_irq.h header
   3f240c958d39 m68k/io: Add missing ioremap define guards, fix typo
   3aca0a7960d4 dm writecache: report start_sector in status line
   50de44fbe274 arm64: mm: Export __sync_icache_dcache() for xen-privcmd
   4c521f993bb9 tipc: add missing dev_put() on error in tipc_enable_l2_media
   0a7f5ef06a67 clk: actions: Add missing REGMAP_MMIO dependency
   90cbc3a9021a net: remove redundant input checks in SIOCSIFTXQLEN case of dev_ifsioc
   92b0d2a490ba nvmet: check fileio lba range access boundaries
   95550ccfee82 EVM: fix return value check in evm_write_xattrs()
   9c63338b2ecc multicast: remove useless parameter for group add
   818380e81f55 regulator: qcom_spmi: Do not initialise static to NULL
   80faeb6437d9 netfilter: nft_socket: Break evaluation if no socket found
   7896db3d286a netfilter: nft_tproxy: Move nf_tproxy_assign_sock() to nf_tproxy.h
   6ee2615cbc6c x86/hyper-v: Check cpumask_to_vpset() return value in hyperv_flush_tlb_others_ex()
   b98d573d572f drm/nouveau/kms/nv50-: fix drm-get-put.cocci warnings
   5b4fbedbb14a ASoC: qdsp6: q6routing: off by one in routing_hw_params()
   0ce601464e44 drm/amdgpu: get VCN start to process in the dpm disabled case
   cdb988723c92 net: stmmac: Fix PCI module removal leak
   f014d3b35b9f ip: on queued skb use skb_header_pointer instead of pskb_may_pull
   ee45cb43d804 linux/device.h: fix kernel-doc notation warning
   eb11d9a94de0 regulator: Revert "regulator: pfuze100: add enable/disable for switch"
   26d53be66490 KVM: VMX: hide flexpriority from guest when disabled at the module level
   1c9ebfaf8229 media: omap3isp: fix warning for !CONFIG_PM
   60f30bf144b8 cfg80211: fix wext-compat memory leak
   9685f469611b spi: spi-mem: Add missing description for data.nbytes field
   07b7e110c17b arm64: dts: renesas: r8a77990: Remove non-existing STBE region
   d6e90a26c5bd media: cx231xx: fix RC_CORE dependency
   7a281dbd6967 media: v4l: cadence: add VIDEO_V4L2 dependency
   3b95f46801af perf Documentation: Fix out-of-tree asciidoctor man page generation
   8d927494900d selftests: forwarding: mirror_gre_vlan_bridge_1q: Unset rp_filter
   8359363df5a6 net/mlx5: Use u16 for Work Queue buffer strides offset
   0f85219db2ee kconfig: remove a spurious self-assignment
   40535cf8ca98 netfilter: nf_tables: don't prevent event handler from device cleanup on netns exit
   10d27d084c16 drm/i915: Stop holding a ref to the ppgtt from each vma
   e9c0ce028417 f2fs: wake up gc thread immediately when gc_urgent is set
   b9f47e1e8a61 tcp: avoid resetting ACK timer upon receiving packet with ECN CWR flag
   f1a29b5218b0 tcp: mandate a one-time immediate ACK
   4474fad367bf selftests: rtnetlink: use a local IP address for IPsec tests
   f9229f11713c selftests: rtnetlink: hide complaint from terminated monitor
   2b4cb6ad782d i40iw: Reorganize acquire/release of locks in i40iw_manage_apbvt
   f2aa45e70b9a drm/sun4i: mark PM functions as __maybe_unused
   6c4f9bb9e2c7 drm/v3d: Checking for NULL vs IS_ERR()

(From OE-Core rev: 920440b0406f04963603e54f49527772fb14dacb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agologrotate.py: restore /etc/logrotate.d/wtmp
Mingli Yu [Wed, 13 Feb 2019 05:43:28 +0000 (13:43 +0800)]
logrotate.py: restore /etc/logrotate.d/wtmp

During the test logrotate.LogrotateTest.test_1_logrotate_setup,
there is below logic:
 # mkdir $HOME/logrotate_dir
 # sed -i "s#wtmp {#wtmp {\n    olddir $HOME/logrotate_dir#" /etc/logrotate.d/wtmp

After all logrotate.LogrotateTest finished, only cleanup
$HOME/logrotate_dir as below, but don't restore
the config file /etc/logrotate.d/wtmp.
[snip]
def tearDownClass(cls):
    cls.tc.target.run('rm -rf $HOME/logrotate_dir')
[snip]

That's to say, there is one additional line added
to /etc/logrotate.d/wtmp and will make the logrotate
service start failed when run systemd.SystemdBasicTests.test_systemd_failed

Take an example as below when run test as root:
 # cat /etc/logrotate.d/wtmp
 # no packages own wtmp -- we'll rotate it here
 /var/log/wtmp {
    olddir /root/logrotate_dir
    missingok
    monthly
    create 0664 root utmp
    minsize 1M
    rotate 1
 }

 # ls /root/logrotate_dir
 ls: cannot access '/root/logrotate_dir': No such file or directory

 # systemctl start logrotate
 Job for logrotate.service failed because the control process exited with error code.
 See "systemctl status logrotate.service" and "journalctl -xe" for details.

 # systemctl status logrotate
  logrotate.service - Rotate log files
   Loaded: loaded (/lib/systemd/system/logrotate.service; static; vendor preset>
   Active: failed (Result: exit-code) since Wed 2019-02-13 03:35:19 UTC; 7s ago
     Docs: man:logrotate(8)
           man:logrotate.conf(5)
   Process: 540 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=1/FAILURE)
   Main PID: 540 (code=exited, status=1/FAILURE)

  Feb 13 03:35:18 qemumips systemd[1]: Starting Rotate log files...
  Feb 13 03:35:19 qemumips logrotate[540]: error: wtmp:9 error verifying olddir path /root/logrotate_dir: No such file or directory
  Feb 13 03:35:19 qemumips logrotate[540]: error: found error in file wtmp, skipping
  Feb 13 03:35:19 qemumips systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
  Feb 13 03:35:19 qemumips systemd[1]: logrotate.service: Failed with result 'exit-code'.
  Feb 13 03:35:19 qemumips systemd[1]: Failed to start Rotate log files.

Add the logic to restore /etc/logrotate.d/wtmp to
make the cleanup complete to fix the above issue.

(From OE-Core rev: a2db9320d97d12d87524ff16a329f9c38a8da33f)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooeqa/runtime/ptest: Ensure OOM errors are logged
Richard Purdie [Wed, 30 Jan 2019 22:01:23 +0000 (22:01 +0000)]
oeqa/runtime/ptest: Ensure OOM errors are logged

Currently processed being killed by the OOM killer may not be spotted by
ptest-runner. After we complete the tests, check the logs and report if there
were any. This ensures the user is aware of OOM conditions affecting the
ptest results.

(From OE-Core rev: 20a441d53817f80e0ce1597e77f6e794422ac49a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooeqa/logparser: Various misc cleanups
Richard Purdie [Tue, 29 Jan 2019 16:52:18 +0000 (16:52 +0000)]
oeqa/logparser: Various misc cleanups

Get rid of further unneeded code complications:

* value mappings we could just direct use
* ftools when we can write files easily ourself
* test result status filtering we don't use
* variable overwriting module imports

(From OE-Core rev: d6065f136f6d353c3054cc3f440a4e259509f876)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooeqa/logparser: Improve results handling
Richard Purdie [Tue, 29 Jan 2019 15:08:58 +0000 (15:08 +0000)]
oeqa/logparser: Improve results handling

Merge the results handling into the ptest log parser as a seperate
method.

Drop the weird "pass.skip.fail." prefix to the results filename, its
just bizarre.

Drop the code turning a list into a regex then searching the regex for
an item, "x in y" is perfectly capable.

Use a dict, sort the keys as needed and drop the list sorting code.

(From OE-Core rev: f317800e950b4a37b4034133bc52e0c47f04dc29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooeqa/utils/logparser: Add in support for duration, exitcode and logs by section
Richard Purdie [Tue, 29 Jan 2019 14:22:07 +0000 (14:22 +0000)]
oeqa/utils/logparser: Add in support for duration, exitcode and logs by section

Allow parsing of the ptest duration, exit code and timeout keywords
from the logs, returning data on each section.

Also include the logs broken out per section.

(From OE-Core rev: a9a67dccaa5be0f06eedcab46dcff7cbf9202850)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooeqa/logparser: Reform the ptest results parser
Richard Purdie [Tue, 29 Jan 2019 13:24:45 +0000 (13:24 +0000)]
oeqa/logparser: Reform the ptest results parser

Now we have a dedicated ptest parser, merge in the remaining ptest
specific pieces to further clarify and simplify the code, moving to
a point where we can consider extending/enhancing it.

(From OE-Core rev: 05991bb5bc8018275d03fdeecee3d5a757840c7c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooeqa/logparser: Further simplification/clarification
Richard Purdie [Tue, 29 Jan 2019 13:00:41 +0000 (13:00 +0000)]
oeqa/logparser: Further simplification/clarification

Rename the paster to be ptest specific and apply some further cleanups
to the code to simplify and clarify what its doing.

(From OE-Core rev: 45a5886f1ec458d4c306b8d68fd31d568bc36b47)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooeqa/utils/logparser: Simplify ptest log parsing code
Richard Purdie [Tue, 29 Jan 2019 12:08:26 +0000 (12:08 +0000)]
oeqa/utils/logparser: Simplify ptest log parsing code

logparser is only used by ptest. Its slightly overcomplicated as it was
intended to be reusable but wasn't. Simplify it as a dedicated parser is
likely to me more readable and maintainable.

(From OE-Core rev: c7478345b2b4a85cb1fec40e762633871f0e94cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooeqa/runtime/ptest: Avoid traceback for tests with no section
Richard Purdie [Tue, 29 Jan 2019 11:54:01 +0000 (11:54 +0000)]
oeqa/runtime/ptest: Avoid traceback for tests with no section

Some tests end up without a section, avoid tracebacks trying to use
None as a string in that case.

(From OE-Core rev: 86fb5d898a29761f120c2eaa538a32cf2e078487)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoselftest/wic: update test case test_qemu
Kai Kang [Wed, 16 Jan 2019 07:45:42 +0000 (15:45 +0800)]
selftest/wic: update test case test_qemu

This test case boots the image in qemu and checks for mounted partitions.
But the outputs of mount are different between sysvinit and systemd:

sysvinit:
/dev/root /\r\n/dev/sda1 /boot\r\n/dev/sda3 /media\r\n/dev/sda4 /mnt
systemd:
/dev/sda1 /boot\r\n/dev/sda2 /\r\n/dev/sda3 /media\r\n/dev/sda4 /mnt

So check mounted partitions by egrep rather than check output of runqemu.

(From OE-Core rev: 8e3311d45ec68d74e934e966f67cf5102634981c)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoperl: add testdepends for ssh
Armin Kuster [Wed, 30 Jan 2019 15:16:36 +0000 (07:16 -0800)]
perl: add testdepends for ssh

fixes:

 DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.4 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; perl -e '$_="Uryyb, jbeyq"; tr/a-zA-Z/n-za-mN-ZA-M/;print'
| DEBUG: time: 1548816904.4024463, endtime: 1548817204.397057
| DEBUG: Partial data from SSH call: ssh: connect to host 192.168.7.4 port 22: Connection refused

for master/thud/sumo

(From OE-Core rev: a590e7805e3bec5dd995f7ea0b9e79a21f82b48b)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agomdadm: add init and service scripts
Zheng Ruoqin [Thu, 21 Feb 2019 22:06:42 +0000 (14:06 -0800)]
mdadm: add init and service scripts

Add init script and service file for sysvinit and systemd.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoghostscript: Fix CVE-2019-6116
Ovidiu Panait [Thu, 21 Feb 2019 09:30:57 +0000 (11:30 +0200)]
ghostscript: Fix CVE-2019-6116

It was discovered that the ghostscript /invalidaccess checks fail under
certain conditions. An attacker could possibly exploit this to bypass
the -dSAFER protection and, for example, execute arbitrary shell commands
via a specially crafted PostScript document.

Reference:
https://www.openwall.com/lists/oss-security/2019/01/23/5

Upstream patches:
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=13b0a36f8181db66a91bcc8cea139998b53a8996
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2db98f9c66135601efb103d8db7d020a672308db
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=99f13091a3f309bdc95d275ea9fec10bb9f42d9a
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=59d8f4deef90c1598ff50616519d5576756b4495
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2768d1a6dddb83f5c061207a7ed2813999c1b5c9
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=49c8092da88ef6bb0aa281fe294ae0925a44b5b9
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2ff600a3c4fc169e7c6c1e83874a6bf63a6fb42b

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoicecc-env: don't raise error when icecc not installed
Adam Trhon [Tue, 19 Feb 2019 09:12:22 +0000 (09:12 +0000)]
icecc-env: don't raise error when icecc not installed

When icecc is not installed, the `which icecc` command in icecc-env.sh
returns nonzero. This happens when environment is being sourced. When
the terminal has `set -e`, the whole script fails and terminal is
closed.

Fix this by ignoring errors from the which command.

Signed-off-by: Adam Trhon <adam.trhon@tbs-biometrics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agopackage: Add pkg_postinst_ontarget to PACKAGEVARS
Richard Purdie [Thu, 14 Feb 2019 13:09:55 +0000 (13:09 +0000)]
package: Add pkg_postinst_ontarget to PACKAGEVARS

Changes to pkg_postinst_ontarget were not triggering rebuilds, this fixes
that.

[YOCTO #13127]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoe2fsprogs: fix file system generation with large files
Ross Burton [Thu, 14 Feb 2019 11:49:38 +0000 (11:49 +0000)]
e2fsprogs: fix file system generation with large files

When copying files into the file system the file offset was being truncated to a
signed 32-bit value, so any files that are larger than 2^31 bytes were the right
size, but no content after that point.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agobusybox: update to 1.29.3
Dustin Bain [Tue, 5 Feb 2019 15:31:44 +0000 (09:31 -0600)]
busybox: update to 1.29.3

Updates busybox to version 1.29.3 to fix a bug related to parsing of
config files: 2993551ef ("Revert "libbb: remove unnecessary variable in
xmalloc_fgets"")

Upgrading the recipe was chosen instead of backporting the fix as a
patch because the only difference between version 1.29.2 and 1.29.3 is
this revert.

(From OE-Core rev: 11d4fd16c3d7dad5d7e3b4d44a96724075be7126)

Signed-off-by: Dustin Bain <dustin.bain@garmin.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoeSDK.py: unset BBPATH and BUILDDIR to avoid eSDK failure
Chen Qi [Tue, 22 Jan 2019 09:09:50 +0000 (17:09 +0800)]
eSDK.py: unset BBPATH and BUILDDIR to avoid eSDK failure

When executing eSDK test case, the following error appears.

  WARNING: attempting to use the extensible SDK in an environment
      set up to run bitbake - this may lead to unexpected
   results. Please source this script in a new shell session
   instead.

  FileExistsError: [Errno 17] File exists: '/.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-fcuyzsqu/tmp/sysroots/x86_64/bin/pigz' -> '/.../tmp/hosttools/pigz'

So unset these two vars to avoid messing things up.

(From OE-Core rev: bc07d825ce8bb3b337623c232fef61f2781c82af)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoeSDK.py: avoid error in tearDownClass due to race condistion
Chen Qi [Thu, 24 Jan 2019 09:33:01 +0000 (17:33 +0800)]
eSDK.py: avoid error in tearDownClass due to race condistion

When removing the temporary directory, it's possible that bitbake.lock
file is removed by bitbake during the cleanup. And this leads to the
following error.

  FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.lock'

So add a check to remove this file before cleaning up the temporary
directory.

(From OE-Core rev: 984f56b37bd0014e5bf9509fc8ed181973e61773)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: Security fix CVE-2018-16866
Marcus Cooper [Thu, 24 Jan 2019 12:43:41 +0000 (13:43 +0100)]
systemd: Security fix CVE-2018-16866

Affects < v240

(From OE-Core rev: bdee9122fe67467d1ec17012902a441fecb0cb9b)

Signed-off-by: Marcus Cooper <marcusc@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: Security fix CVE-2018-16865
Marcus Cooper [Thu, 24 Jan 2019 12:43:40 +0000 (13:43 +0100)]
systemd: Security fix CVE-2018-16865

Affects < v240

(From OE-Core rev: 314887a475ae1ac638eb80d973ffee1bd2a31a35)

Signed-off-by: Marcus Cooper <marcusc@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: Security fix CVE-2018-16864
Marcus Cooper [Thu, 24 Jan 2019 12:43:39 +0000 (13:43 +0100)]
systemd: Security fix CVE-2018-16864

Affects < v240

(From OE-Core rev: 6900b9cc2cd3e66469a9561bb478b87c0903b0ea)

Signed-off-by: Marcus Cooper <marcusc@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: Correct a conditional add to SYSTEMD_PACKAGES
Peter Kjellerstedt [Tue, 15 Jan 2019 00:49:06 +0000 (01:49 +0100)]
systemd: Correct a conditional add to SYSTEMD_PACKAGES

The code conditionally adding ${PN}-journal-remote to SYSTEMD_PACKAGE
checked PACKAGECONFIG for an empty string rather than 'microhttpd'...

(From OE-Core rev: 42d52a279a75c94c4deba50b448dd3b6b2ac75df)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: Correct and clean up user/group definitions
Peter Kjellerstedt [Tue, 15 Jan 2019 00:49:05 +0000 (01:49 +0100)]
systemd: Correct and clean up user/group definitions

This makes sure that packages are only added to USERADD_PACKAGES if
they will create users/groups. This avoids the following error:

  ERROR: systemd_239.bb: meta/recipes-core/systemd/systemd_239.bb
  inherits useradd but doesn't set USERADD_PARAM, GROUPADD_PARAM or
  GROUPMEMS_PARAM for package systemd-journal-gateway

Normally this problem is not triggered even if the conditional code that
expands in, e.g., USERADD_PARAM_${PN}-journal-gateway is empty because
it is assigned with += and thus ends up as " ", which fools the check in
useradd.bbclass.

However, if USERADDEXTENSION += "useradd-staticids" and
INHERIT += "extrausers" are used, they cause the problem to occur. The
reason for this is because when useradd-staticids is used, it rewrites
USERADD_PARAM_${PN}-journal-gateway, which strips unnecessary whitespace
and thus USERADD_PARAM_${PN}-journal-gateway becomes empty. And
extrausers is needed, because otherwise the test in useradd.bbclass is
triggered before useradd-staticids has rewritten the variables...

(From OE-Core rev: 63ae444b1dba65ccb1693648914becabd65ac30d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agometa: remove True option to getVar calls (again)
André Draszik [Sun, 13 Jan 2019 11:16:01 +0000 (11:16 +0000)]
meta: remove True option to getVar calls (again)

A couple have still been missed in the past despite multiple
attempts at doing so (or simply have re-appeared?).

Search & replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

(From OE-Core rev: 9f551d588693328e4d99d33be94f26684eafcaba)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: Add PACKAGECONFIG for gnutls
Alex Kiernan [Thu, 10 Jan 2019 09:03:18 +0000 (09:03 +0000)]
systemd: Add PACKAGECONFIG for gnutls

(From OE-Core rev: da0c196cdc4eb74c7517089dc192d6a77227b6e2)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: backport a patch to fix meson 0.49.0 issue
Alexander Kanavin [Tue, 18 Dec 2018 16:29:55 +0000 (17:29 +0100)]
systemd: backport a patch to fix meson 0.49.0 issue

(From OE-Core rev: 81ecfbb19ccb5b5241cfdd871d41459bda3dba4d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: Fix memory use after free errors
Khem Raj [Mon, 17 Dec 2018 05:54:42 +0000 (21:54 -0800)]
systemd: Fix memory use after free errors

Found with gcc trunk

(From OE-Core rev: 381c63ad2a6e004658b0232b6e6763f49f412b2b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: fix compile error for x32
Kai Kang [Thu, 13 Dec 2018 14:14:10 +0000 (09:14 -0500)]
systemd: fix compile error for x32

Backport patch to fix systemd compile error for x32:

| ../git/src/timesync/timesyncd-manager.c:607:19: error: format '%lli'
| expects argument of type 'long long int', but argument 11 has type
| 'long int' [-Werror=format=]

[YOCTO #13074]

(From OE-Core rev: 7201df413616cab8d7f3257f86dd7a0a5c7719ee)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: backport fix to stop enabling ECN
Alex Kiernan [Sun, 18 Nov 2018 07:28:20 +0000 (07:28 +0000)]
systemd: backport fix to stop enabling ECN

>From upstream:

  Turning on ECN still causes slow or broken network on linux. Our tcp
  is not yet ready for wide spread use of ECN.

https://github.com/systemd/systemd/issues/9748

(From OE-Core rev: f951aa6f9fcf318f108ecdc3371498ee2e919e68)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd-systemctl-native: handle Install wildcards
Brad Bishop [Tue, 6 Nov 2018 00:23:07 +0000 (19:23 -0500)]
systemd-systemctl-native: handle Install wildcards

Handle the %i wildcard appearing in a dependency in the Install section
of a template unit, e.g.

  $ cat foo@.service

  [Install]
  WantedBy=bar@%i.target

Using the real systemctl something like:

  $ systemctl enable foo@baz.service

will create a symlink in /etc/systemd/system/bar@baz.target.wants.
Detect wildcards in templates and make the appropriate substitution.

(From OE-Core rev: 22ed19292d160461042d4a2294fe2ec0b953873e)

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-yocto/4.18: update to v4.18.25
Bruce Ashfield [Mon, 21 Jan 2019 17:26:50 +0000 (12:26 -0500)]
linux-yocto/4.18: update to v4.18.25

Integrating the -stable updates from Paul Gortmaker that comprise the
following commits:

   e07895ef36e2 Linux 4.18.25
   735782c616aa drm/rockchip: psr: do not dereference encoder before it is null checked.
   90d4d21063af drm/vc4: Set ->is_yuv to false when num_planes == 1
   5758821188c7 drm/nouveau/drm/nouveau: Check rc from drm_dp_mst_topology_mgr_resume()
   8a79f6e48dc7 lib: fix build failure in CONFIG_DEBUG_VIRTUAL test
   c85e10aa1ea6 of: __of_detach_node() - remove node from phandle cache
   d7ba3e8331c7 of: of_node_get()/of_node_put() nodes held in phandle cache
   9739deeff0bf power: supply: olpc_battery: correct the temperature units
   2e4bfb04a730 intel_th: msu: Fix an off-by-one in attribute store
   233fc3ff6d19 genwqe: Fix size check
   3722e178318e drivers/perf: hisi: Fixup one DDRC PMU register offset
   e7153ded4c17 ceph: don't update importing cap's mseq when handing cap export
   96c39638d19f sched/fair: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b9c
   f73f80f3cff6 iommu/vt-d: Handle domain agaw being less than iommu agaw
   87310c3e7901 RDMA/srpt: Fix a use-after-free in the channel release code
   49cb944dbb54 rxe: fix error completion wr_id and qp_num
   9c1e8e00a232 9p/net: put a lower bound on msize
   595eab91d583 iio: dac: ad5686: fix bit shift read register
   6930d7e4b110 powerpc/tm: Set MSR[TS] just prior to recheckpoint
   da655a6fd9a9 powerpc/tm: Unset MSR[TS] if not recheckpointing
   6c968fff7e66 leds: pwm: silently error out on EPROBE_DEFER
   d92af6def7be arm64: relocatable: fix inconsistencies in linker script and options
   5c7ffec8c4a1 arm64: drop linker script hack to hide __efistub_ symbols
   231c17d7fe6d lockd: Show pid of lockd for remote locks
   bb36bf436ae9 PCI / PM: Allow runtime PM without callback functions
   109e48764a2d selinux: policydb - fix byte order and alignment issues
   a608335e8a1c b43: Fix error in cordic routine
   ce624ec2363b gfs2: Fix loop in gfs2_rbm_find
   7b0eb99a925c gfs2: Get rid of potential double-freeing in gfs2_create_inode
   2e8e0dc1bbff dlm: memory leaks on error path in dlm_user_request()
   20e150ecbb17 dlm: lost put_lkb on error path in receive_convert() and receive_unlock()
   eb1cbd2d152c dlm: possible memory leak on error path in create_lkb()
   700687f3cb98 dlm: fixed memory leaks after failed ls_remove_names allocation
   c45cc3521032 block: mq-deadline: Fix write completion handling
   9d3b67453638 block: deactivate blk_stat timer in wbt_disable_default()
   53a5e3001ad1 Fix failure path in alloc_pid()
   1da2e8ee069f driver core: Add missing dev->bus->need_parent_lock checks
   8fb38bca0d9a srcu: Lock srcu_data structure in srcu_gp_start()
   fabb4446a87b ALSA: usb-audio: Always check descriptor sizes in parser code
   eaf28235170f ALSA: usb-audio: Fix an out-of-bound read in create_composite_quirks
   1a814f226eee ALSA: usb-audio: Check mixer unit descriptors more strictly
   974f484d8ff9 ALSA: usb-audio: Avoid access before bLength check in build_audio_procunit()
   7fac2a4ca7d3 ALSA: cs46xx: Potential NULL dereference in probe
   a489f553dc12 media: cx23885: only reset DMA on problematic CPUs
   4c7d8d7c1308 raid6/ppc: Fix build for clang
   dabfa8988258 powerpc: Disable -Wbuiltin-requires-header when setjmp is used
   71a4448d5e50 powerpc: avoid -mno-sched-epilog on GCC 4.9 and newer
   77355e0e98c6 powerpc: consolidate -mno-sched-epilog into FTRACE flags
   0f5ac11d097d powerpc: remove old GCC version checks
   9fcbfe720a66 sunrpc: use SVC_NET() in svcauth_gss_* functions
   192b590d4aec sunrpc: fix cache_head leak due to queued request
   c7c58f2faee2 mm, swap: fix swapoff with KSM pages
   8289463a7e9d mm, hmm: mark hmm_devmem_{add, add_resource} EXPORT_SYMBOL_GPL
   1a799c400ed1 mm, hmm: use devm semantics for hmm_devmem_{add, remove}
   0c99af45252a mm, devm_memremap_pages: add MEMORY_DEVICE_PRIVATE support
   59333a88f665 kernel/memremap, kasan: make ZONE_DEVICE with work with KASAN
   58bc5ba9a00d mm, devm_memremap_pages: fix shutdown handling
   948d528a2a6f mm, devm_memremap_pages: kill mapping "System RAM" support
   df07b8f0fb0a mm, devm_memremap_pages: mark devm_memremap_pages() EXPORT_SYMBOL_GPL
   ebd7e55e0733 hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined
   959653a9bf73 zram: fix double free backing device
   8b9b4edba3be fork: record start_time late
   b901d884c9e8 scsi: lpfc: do not set queue->page_count to 0 if pc_sli4_params.wqpcnt is invalid
   82485bca00f2 scsi: zfcp: fix posting too many status read buffers leading to adapter shutdown
   773911d8b527 auxdisplay: charlcd: fix x/y command parsing
   49c70d21c358 serial/sunsu: fix refcount leak
   0ec65d840ea3 qmi_wwan: Fix qmap header retrieval in qmimux_rx_fixup
   0438f1ea114b net: netxen: fix a missing check and an uninitialized use
   1567f283e00e Input: synaptics - enable SMBus for HP EliteBook 840 G4
   a3913c9c9c8c gpio: mvebu: only fail on missing clk if pwm is actually to be used
   9e1a572ef0b5 lan743x: Remove MAC Reset from initialization
   3cda7e7e3ecb virtio: fix test build after uio.h change
   09d4f9477813 kbuild: fix false positive warning/error about missing libelf
   02b8b59bea29 mac80211: free skb fraglist before freeing the skb
   6499acbbd54f nl80211: fix memory leak if validate_pae_over_nl80211() fails
   65fbf8702ff9 vxge: ensure data0 is initialized in when fetching firmware version information
   6eee1a4d51f3 lan78xx: Resolve issue with changing MAC address
   a200d52163e4 net: macb: add missing barriers when reading descriptors
   8bbf0bc96ad7 net: macb: fix dropped RX frames due to a race
   acbf1fb508aa net: macb: fix random memory corruption on RX with 64-bit DMA
   02c208c4c6b2 qed: Fix an error code qed_ll2_start_xmit()
   88f38f2f554e SUNRPC: Fix a race with XPRT_CONNECTING
   78f44c6b4abc net: hns: Fix ping failed when use net bridge and send multicast
   028ea5c9d17a net: hns: Add mac pcs config when enable|disable mac
   4f6210aba92c net: hns: Fix ntuple-filters status error.
   02c9ec12dd21 net: hns: Avoid net reset caused by pause frames storm
   1a4c0bc47d5e net: hns: Free irq when exit from abnormal branch
   3153ec7cf997 net: hns: Clean rx fbd when ae stopped.
   716fc005da40 net: hns: Fixed bug that netdev was opened twice
   dd3287b18cf8 net: hns: Some registers use wrong address according to the datasheet.
   23cccfe76598 net: hns: All ports can not work when insmod hns ko after rmmod.
   4982bfce35ef net: hns: Incorrect offset address used for some registers.
   90bd8d1a20b2 w90p910_ether: remove incorrect __init annotation
   c392d1a12520 net/tls: Init routines in create_ctx
   1e623fa0042c drivers: net: xgene: Remove unnecessary forward declarations
   ecd5c4ebb822 x86, hyperv: remove PCI dependency
   81dae7a1df1c mt76: fix potential NULL pointer dereference in mt76_stop_tx_queues
   e28b6d2c57b5 scsi: target: iscsi: cxgbit: add missing spin_lock_init()
   68d361ffeabd scsi: target: iscsi: cxgbit: fix csk leak
   6c1b3803a6e3 bnx2x: Send update-svid ramrod with retry/poll flags enabled
   3acfa2246629 bnx2x: Clear fip MAC when fcoe offload support is disabled
   7e20b7779059 netfilter: nat: can't use dst_hold on noref dst
   e3a08d34d535 netfilter: ipset: do not call ipset_nest_end after nla_nest_cancel
   48f3cb1f4e86 i40e: fix mac filter delete when setting mac address
   5d04bcd6e69e ieee802154: ca8210: fix possible u8 overflow in ca8210_rx_done
   f53ba1853ffd ibmvnic: Fix non-atomic memory allocation in IRQ context
   34bd82d476ad ibmvnic: Convert reset work item mutex to spin lock
   0a597b1ccd73 Input: synaptics - enable RMI on ThinkPad T560
   014633247654 Input: omap-keypad - fix idle configuration to not block SoC idle states
   a284212b45ed scsi: bnx2fc: Fix NULL dereference in error handling
   e639597419e9 Revert "scsi: qla2xxx: Fix NVMe Target discovery"
   cea74ed31970 netfilter: seqadj: re-load tcp header pointer after possible head reallocation
   b139c854a00a xfrm: Fix bucket count reported to userspace
   d3353f400809 checkstack.pl: fix for aarch64
   ca5e170a8f47 drm/amdgpu: Fix DEBUG_LOCKS_WARN_ON(depth <= 0) in amdgpu_ctx.lock
   fe69ecd10177 powerpc/mm: Fallback to RAM if the altmap is unusable
   50a6a1e7140b Input: restore EV_ABS ABS_RESERVED
   495cd33a97d6 ARM: dts: imx7d-nitrogen7: Fix the description of the Wifi clock
   8d8cbaca6ba2 ARM: imx: update the cpu power up timing setting on i.mx6sx
   b930167e8ec5 ARM: dts: imx7d-pico: Describe the Wifi clock
   4ef7a4b98ce3 HID: ite: Add USB id match for another ITE based keyboard rfkill key quirk
   e5a9a47bd51a powerpc/mm: Fix linux page tables build with some configs
   251058825091 powerpc: Fix COFF zImage booting on old powermacs
   d113f206d275 ARM: dts: sun8i: a83t: bananapi-m3: increase vcc-pd voltage to 3.3V
   26068dd8b8cf Linux 4.18.24
   aec6f6bc5108 MIPS: Only include mmzone.h when CONFIG_NEED_MULTIPLE_NODES=y
   edc9f994d18e spi: bcm2835: Unbreak the build of esoteric configs
   7675f3ad41aa tpm: tpm_i2c_nuvoton: use correct command duration for TPM 2.x
   62c528f41b75 arm64: compat: Avoid sending SIGILL for unallocated syscall numbers
   fe9ecf948b3f iommu/arm-smmu-v3: Fix big-endian CMD_SYNC writes
   daf79a7eff57 KVM: arm/arm64: vgic: Fix off-by-one bug in vgic_get_irq()
   4e397462644c KVM: arm/arm64: vgic-v2: Set active_source to 0 when restoring state
   679602791d84 KVM: arm/arm64: vgic: Cap SPIs to the VM-defined maximum
   c48ea7b2f18b KVM: arm/arm64: vgic: Do not cond_resched_lock() with IRQs disabled
   c96e540c5472 rtc: m41t80: Correct alarm month range with RTC reads
   728bdad63d25 ARM: dts: exynos: Specify I2S assigned clocks in proper node
   85157899ecd7 arm/arm64: KVM: vgic: Force VM halt when changing the active state of GICv3 PPIs/SGIs
   61f42110c833 arm64: KVM: Avoid setting the upper 32 bits of VTCR_EL2 to 1
   3b0dec9f506f CIFS: Fix error mapping for SMB2_LOCK command which caused OFD lock problem
   9829db6a18eb MIPS: OCTEON: mark RGMII interface disabled on OCTEON III
   cee82d1ae17b MIPS: Expand MIPS32 ASIDs to 64 bits
   c808d70b9e27 MIPS: Align kernel load address to 64KB
   eb8af7549685 MIPS: Ensure pmd_present() returns false after pmd_mknotpresent()
   45bff3e8e6a5 MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3
   9c6f89bc1709 MIPS: math-emu: Write-protect delay slot emulation pages
   7f7b89296833 tools lib traceevent: Fix processing of dereferenced args in bprintk events
   b8a224716756 media: v4l2-tpg: array index could become negative
   6f9be5d7e3f3 media: vb2: check memory model for VIDIOC_CREATE_BUFS
   11f1d3879a7d media: vivid: free bitmap_cap when updating std/timings/etc.
   cb40fc23227e media: imx274: fix stack corruption in imx274_read_reg
   b64ba5d0b731 media: rc: cec devices do not have a lirc chardev
   4e3ad74d0a78 media: cec-pin: fix broken tx_ignore_nack_until_eom error injection
   2696fefea8a6 media: cec: keep track of outstanding transmits
   fd247353c0f9 serial: uartps: Fix interrupt mask issue to handle the RX interrupts properly
   22fcd1b2f73e f2fs: sanity check of xattr entry size
   29c1ff73b20b f2fs: fix validation of the block count in sanity_check_raw_super
   cb1c54a6a7d5 brcmfmac: Fix out of bounds memory access during fw load
   a9a25c4bd9bb brcmfmac: fix roamoff=1 modparam
   146ef869a043 Btrfs: send, fix race with transaction commits that create snapshots
   ba440c3c4a27 btrfs: run delayed items before dropping the snapshot
   6ba644894048 Btrfs: fix fsync of files with multiple hard links in new directories
   593a1bdf137a btrfs: skip file_extent generation check for free_space_inode in run_delalloc_nocow
   6eb353db8d32 btrfs: dev-replace: go back to suspend state if another EXCL_OP is running
   e113e7d0b41f btrfs: dev-replace: go back to suspended state if target device is missing
   cbf669bb140f cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.
   cdb991cbe9ca cgroup: fix CSS_TASK_ITER_PROCS
   d9d96d8f9665 crypto: cfb - fix decryption
   c29db9d0e70c crypto: testmgr - add AES-CFB tests
   f35387186793 crypto: chcr - small packet Tx stalls the queue
   57d999759174 crypto: cavium/nitrox - fix a DMA pool free failure
   a040dc4c332a clk: sunxi-ng: Use u64 for calculation of NM rate
   25bfefc210fd clk: rockchip: fix typo in rk3188 spdif_frac parent
   78f1e2ce6bec spi: bcm2835: Avoid finishing transfer prematurely in IRQ mode
   ce8fd4553894 spi: bcm2835: Fix book-keeping of DMA termination
   2ed14d56eb9a spi: bcm2835: Fix race on DMA termination
   fdfc740438e4 ext4: fix special inode number checks in __ext4_iget()
   8912afbd5a69 ext4: check for shutdown and r/o file system in ext4_write_inode()
   0fd748f86521 ext4: force inode writes when nfsd calls commit_metadata()
   743da24c6365 ext4: avoid declaring fs inconsistent due to invalid file handles
   5636580f533c ext4: include terminating u32 in size of xattr entries when expanding inodes
   398f2e6ee30e ext4: fix EXT4_IOC_GROUP_ADD ioctl
   f22c319b9afa ext4: missing unlock/put_page() in ext4_try_to_write_inline_data()
   3c6a7b0029a9 ext4: fix possible use after free in ext4_quota_enable
   8ec2e8ccc275 ext4: add ext4_sb_bread() to disambiguate ENOMEM cases
   2253b6438f00 ocxl: Fix endiannes bug in read_afu_name()
   031013077a31 ocxl: Fix endiannes bug in ocxl_link_update_pe()
   bff7ed6c9727 perf pmu: Suppress potential format-truncation warning
   ccd3a28ebefd clocksource/drivers/arc_timer: Utilize generic sched_clock
   a08eae1dccb6 DRM: UDL: get rid of useless vblank initialization
   3b278133c061 drm/v3d: Skip debugfs dumping GCA on platforms without GCA.
   dce6965d4e91 platform-msi: Free descriptors in platform_msi_domain_free()
   26712157a7e8 KVM: nVMX: Free the VMREAD/VMWRITE bitmaps if alloc_kvm_area() fails
   f5a53ddee2a0 arm64: KVM: Make VHE Stage-2 TLB invalidation operations non-interruptible
   4224dc370109 KVM: x86: Use jmp to invoke kvm_spurious_fault() from .fixup
   43df8745c955 Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G
   de2c125b1e40 s390/pci: fix sleeping in atomic during hotplug
   c96a4e056b97 staging: wilc1000: fix missing read_write setting when reading data
   4f30183ffc00 media: dvb-usb-v2: Fix incorrect use of transfer_flags URB_FREE_BUFFER
   af84c969f481 usb: roles: Add a description for the class to Kconfig
   f6019125567c usb: r8a66597: Fix a possible concurrency use-after-free bug in r8a66597_endpoint_disable()
   dadfc9d5b5c4 USB: serial: option: add Fibocom NL678 series
   d589d1192b88 USB: serial: pl2303: add ids for Hewlett-Packard HP POS pole displays
   836492f91017 usb: dwc2: host: use hrtimer for NAK retries
   0c046d05b49c ALSA: hda/tegra: clear pending irq handlers
   03cfeaa90d58 ALSA: firewire-lib: use the same print format for 'without_header' tracepoints
   012b3d3a29f0 ALSA: firewire-lib: fix wrong assignment for 'out_packet_without_header' tracepoint
   852d675f1d0c ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet
   a84e166fe7f2 ALSA: fireface: fix for state to fetch PCM frames
   5e20e79d9939 ALSA: hda: add mute LED support for HP EliteBook 840 G4
   ea84faf00d17 mtd: rawnand: marvell: prevent timeouts on a loaded machine
   a941558bd40c mtd: atmel-quadspi: disallow building on ebsa110
   90a23a9a0a4b ALSA: emux: Fix potential Spectre v1 vulnerabilities
   be9ee86f4eee ALSA: pcm: Fix potential Spectre v1 vulnerability
   4c9cf57302b4 ALSA: emu10k1: Fix potential Spectre v1 vulnerabilities
   48c20b51db1e ALSA: rme9652: Fix potential Spectre v1 vulnerability
   0e48718ccbbc IB/hfi1: Incorrect sizing of sge for PIO will OOPs
   7eff9c1500e1 net/mlx5e: RX, Fix wrong early return in receive queue poll
   4717407dfe21 mlxsw: core: Increase timeout during firmware flash process
   11acf8fbd110 qed: Fix command number mismatch between driver and the mfw
   865270a3cb40 net/mlx5e: RX, Verify MPWQE stride size is in range
   423f90f819f6 net/mlx5e: Cancel DIM work on close SQ
   63e31b4cc7a1 mscc: Configured MAC entries should be locked.
   a6988f6f3fb8 ipv6: route: Fix return value of ip6_neigh_lookup() on neigh_create() error
   20b706e8bf44 nfp: flower: ensure TCP flags can be placed in IPv6 frame
   2d7aa068e5ea net/ipv6: Fix a test against 'ipv6_find_idev()' return value
   9685169f3280 ipv6: frags: Fix bogus skb->sk in reassembled packets
   e3d4855a5aea net/mlx5e: Remove the false indication of software timestamping support
   f28566f8d6c1 tipc: check group dests after tipc_wait_for_cond()
   1e5ef82d6ba3 net/mlx5: Typo fix in del_sw_hw_rule
   afe50f0b53fc xen/netfront: tolerate frags with no data
   51125e14bcd9 VSOCK: Send reset control packet when socket is partially bound
   d99050a5b574 vhost: make sure used idx is seen before log in vhost_add_used_n()
   4ce7430e49b2 tipc: use lock_sock() in tipc_sk_reinit()
   ce57d1d97f83 tipc: fix a double kfree_skb()
   a95f3e4813ba tipc: fix a double free in tipc_enable_bearer()
   813c817626cd tipc: compare remote and local protocols in tipc_udp_enable()
   2d9a3dc2539e tipc: check tsk->group in tipc_wait_for_cond()
   c934db384fcf tcp: fix a race in inet_diag_dump_icsk()
   9c4201f36ac8 sock: Make sock->sk_stamp thread-safe
   3f95e9533d48 sctp: initialize sin6_flowinfo for ipv6 addrs in sctp_inet6addr_event
   e01f35c50eec qmi_wwan: Add support for Fibocom NL678 series
   c4889ffd91f4 qmi_wwan: Added support for Telit LN940 series
   02df72acc8d0 qmi_wwan: Added support for Fibocom NL668 series
   7fdbc7a1e2ae ptr_ring: wrap back ->producer in __ptr_ring_swap_queue()
   5e3a73f0075c net/wan: fix a double free in x25_asy_open_tty()
   01ff438449fe net: stmmac: Fix an error code in probe()
   570725e3eb49 net/smc: fix TCP fallback socket release
   b093b2bcb009 netrom: fix locking in nr_find_socket()
   39eead897120 net: phy: Fix the issue that netif always links up after resuming
   21e87a82fa5c net: macb: restart tx after tx used bit read
   e76b3cc898a3 net/hamradio/6pack: use mod_timer() to rearm timers
   b69120829e6e isdn: fix kernel-infoleak in capi_unlocked_ioctl
   4099e52fdca2 ip: validate header length on virtual device xmit
   5cd2dc4cbf28 ipv6: tunnels: fix two use-after-free
   99b91aad172d ipv6: explicitly initialize udp6_addr in udp_sock_create6()
   dd6292ddd74d ipv4: Fix potential Spectre v1 vulnerability
   5476a3d1c7aa ip6mr: Fix potential Spectre v1 vulnerability
   98b15b0c0f6d ieee802154: lowpan_header_create check must check daddr
   d6025c2f233b ibmveth: fix DMA unmap error in ibmveth_xmit_start error path
   6e2e801ef5e9 gro_cell: add napi_disable in gro_cells_destroy
   d347cc2d0383 ax25: fix a use-after-free in ax25_fillin_cb()
   3ea51578ff5f drm/ioctl: Fix Spectre v1 vulnerabilities
   42ef003d4562 proc/sysctl: don't return ENOMEM on lookup when a table is unregistering
   3a4e7b8d4815 Input: elantech - disable elan-i2c for P52 and P72
   29eb38509a18 mm: don't miss the last page because of round-off error
   0dd101b35dc8 mm, page_alloc: fix has_unmovable_pages for HugePages
   fa9b81a99860 mm: thp: fix flags for pmd migration when split
   2161b228a28e mm, memory_hotplug: initialize struct pages for the full memory section
   567b54213293 iwlwifi: add new cards for 9560, 9462, 9461 and killer series
   a3a2be9932c4 rtlwifi: Fix leak of skb when processing C2H_BT_INFO
   08372e4a8a12 xfrm_user: fix freeing of xfrm states on acquire
   069467d9f4a9 mm: introduce mm_[p4d|pud|pmd]_folded
   eefeffc11188 mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
   a31fff8051df mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
   d50fbd2cbce5 panic: avoid deadlocks in re-entrant console drivers
   06251134c592 x86/mtrr: Don't copy uninitialized gentry fields back to userspace
   bb898527a1c7 futex: Cure exit race
   0bbaf6c392f0 Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels
   303b25349d17 KVM: Fix UAF in nested posted interrupt processing
   1d53c9694d61 kvm: x86: Add AMD's EX_CFG to the list of ignored MSRs
   2b3f1bd62f4a KVM: X86: Fix NULL deref in vcpu_scan_ioapic
   7a773622fc03 posix-timers: Fix division by zero bug
   f14b8859148c gpio: max7301: fix driver for use with CONFIG_VMAP_STACK
   477761b67ccd mmc: omap_hsmmc: fix DMA API warning
   a681b2da2c88 mmc: core: Use a minimum 1600ms timeout when enabling CACHE ctrl
   89f2351adfac mmc: core: Allow BKOPS and CACHE ctrl even if no HPI support
   ddf77476eb50 mmc: core: Reset HPI enabled state during re-init and in case of errors
   a49c12bd3427 scsi: sd: use mempool for discard special page
   80f7b4857185 ubifs: Handle re-linking of inodes correctly while recovery
   a3fa57176fc3 USB: serial: option: add Telit LN940 series
   4079ef6f75e0 USB: serial: option: add Fibocom NL668 series
   dced7dfb270b USB: serial: option: add Simcom SIM7500/SIM7600 (MBIM mode)
   dce4d3b1443f USB: serial: option: add HP lt4132
   551e6023cc86 USB: serial: option: add GosunCn ZTE WeLink ME3630
   66ae0bdde44c USB: hso: Fix OOB memory access in hso_probe/hso_get_config_data
   740745a91e92 Revert "vfs: Allow userns root to call mknod on owned filesystems."
   2c5ca276d2ae nvme: validate controller state before rescheduling keep alive
   fbdd7e1e387f i2c: uniphier-f: fix violation of tLOW requirement for Fast-mode
   bc2fbb452ec1 i2c: uniphier: fix violation of tLOW requirement for Fast-mode
   4a3280619c2a i2c: scmi: Fix probe error on devices with an empty SMB0001 ACPI device node
   5e6e49d9a2dc i2c: axxia: properly handle master timeout
   8546aaab43e0 mlxsw: spectrum_switchdev: Fix VLAN device deletion via ioctl
   abcaa45cfc72 vhost/vsock: fix reset orphans race with close timeout
   8365792328f0 cifs: In Kconfig CONFIG_CIFS_POSIX needs depends on legacy (insecure cifs)
   935b7a30671d drm/ast: Fix connector leak during driver unload
   91ee67721601 tools/testing/nvdimm: Align test resources to 128M
   150d613009a7 drm/amdgpu/vcn: Update vcn.cur_state during suspend
   c999e264b2e8 ethernet: fman: fix wrong of_node_put() in probe function
   2040e90bd48a ARM: 8816/1: dma-mapping: fix potential uninitialized return
   8b1e20a3df5d ARM: 8815/1: V7M: align v7m_dma_inv_range() with v7 counterpart
   c277c0e1b0e7 ARM: 8814/1: mm: improve/fix ARM v7_dma_inv_range() unaligned address handling
   52f34d6d10d4 bpf: check pending signals while verifying programs
   cd17f2d553dc net/mlx4_en: Fix build break when CONFIG_INET is off
   536fca86ba87 mv88e6060: disable hardware level MAC learning
   2d9e565170d7 macvlan: return correct error value
   349c7c7a5880 libata: whitelist all SAMSUNG MZ7KM* solid-state disks
   ee58548c5cd2 Input: omap-keypad - fix keyboard debounce configuration
   47155a7f238a Input: synaptics - enable SMBus for HP 15-ay000
   31b7a055ad25 clk: mmp: Off by one in mmp_clk_add()
   83a71b688529 clk: mvebu: Off by one bugs in cp110_of_clk_get()
   90bcde56db66 drm/amd/powerplay: issue pre-display settings for display change event
   c7d3364fa445 drm/msm: Fix error return checking
   f5e8e639af30 drm/msm/hdmi: Enable HPD after HDMI IRQ is set up
   51c8414a3df7 ide: pmac: add of_node_put()
   1b75425347bf drivers/tty: add missing of_node_put()
   12cdbd02480c drivers/sbus/char: add of_node_put()
   c937d742441c sbus: char: add of_node_put()
   ec06c2365739 SUNRPC: Fix a potential race in xprt_connect()
   9e370ae200de nfs: don't dirty kernel pages read by direct-io
   4e52a4ee3fd4 liquidio: read sc->iq_no before release sc
   d65e4426decd bpf: Fix verifier log string check for bad alignment.
   f75ea663b145 bonding: fix 802.3ad state sent to partner when unbinding slave
   bac2acf174bb net: stmmac: Move debugfs init/exit to ->probe()/->remove()
   3fb715bbd6c1 ARC: io.h: Implement reads{x}()/writes{x}()
   1af56dd937b0 drm/amdgpu: wait for IB test on first device open
   ff3fec41655d drm/msm: Grab a vblank reference when waiting for commit_done
   2f71ee62933d drm/msm/dsi: configure VCO rate for 10nm PLL driver
   e66c684213a9 drm/msm: fix handling of cmdstream offset
   840811d0633f x86/earlyprintk/efi: Fix infinite loop on some screen widths
   66d3d30021bb drm/amd/display: Fix 6x4K displays light-up on Vega20 (v2)
   9bd27a8b616e net: ethernet: ave: Replace NET_IP_ALIGN with AVE_FRAME_HEADROOM
   82de9c06a97b tools/bpf: add addition type tests to test_btf
   277da06f81cd tools/bpf: fix two test_btf unit test cases
   2329fbe32f13 scsi: vmw_pscsi: Rearrange code to avoid multiple calls to free_irq during unload
   475aa44e2e0f scsi: libiscsi: Fix NULL pointer dereference in iscsi_eh_session_reset
   9e957fbd1a9a i2c: rcar: check bus state before reinitializing
   d8245e2588f7 Input: hyper-v - fix wakeup from suspend-to-idle
   02fb6a1529b1 mac80211_hwsim: fix module init error paths for netlink
   14b0e82132c7 IB/hfi1: Remove race conditions in user_sdma send path
   5623e2407bb8 locking/qspinlock, x86: Provide liveness guarantee
   8e02266863b2 locking/qspinlock: Re-order code
   70c590120035 Linux 4.18.23
   9cf5402745e6 dm zoned: Fix target BIO completion handling
   2fa0d692ad6f dm zoned: target: use refcount_t for dm zoned reference counters
   61bfc80fbe52 drm/amdgpu: update SMC firmware image for polaris10 variants
   df1c1bcf1c4e drm/amdgpu: update smu firmware images for VI variants (v2)
   db1207f9310d drm/amdgpu: add some additional vega10 pci ids
   5724922ae4d7 drm/amdkfd: add new vega10 pci ids
   d525e2cdf832 drm/amdgpu/powerplay: Apply avfs cks-off voltages on VI
   53835137f8e7 drm/i915/execlists: Apply a full mb before execution for Braswell
   5f99e72756cd drm/nouveau/kms: Fix memory leak in nv50_mstm_del()
   2c94183dbe89 powerpc: Look for "stdout-path" when setting up legacy consoles
   fb4f2f865a85 powerpc/msi: Fix NULL pointer access in teardown code
   056fb552b47f media: vb2: don't call __vb2_queue_cancel if vb2_start_streaming failed
   2729394ef4d3 tracing: Fix memory leak of instance function hash filters
   3ccaf85e64f0 tracing: Fix memory leak in set_trigger_filter()
   8d2b0c01ecb9 tracing: Fix memory leak in create_filter()
   b5a75238a5ea dm: call blk_queue_split() to impose device limits on bios
   a234ec33c6a3 dm cache metadata: verify cache has blocks in blocks_are_clean_separate_dirty()
   d4921c64ab6f dm thin: send event about thin-pool state change _after_ making it
   696142d867f8 ARM: dts: bcm2837: Fix polarity of wifi reset GPIOs
   a854f226870b ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt
   2fd965e41eeb fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS
   eeb7db93fdc4 mmc: sdhci: fix the timeout check window for clock and reset
   ded687bfc9fc mmc: sdhci-omap: Fix DCRC error handling during tuning
   c40d26e2aebb mmc: core: use mrq->sbc when sending CMD23 for RPMB
   e7e84222759e MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5910/OMAP310
   2ceb08b99848 ovl: fix decode of dir file handle with multi lower layers
   77d91ee8c4a3 arm64: dma-mapping: Fix FORCE_CONTIGUOUS buffer clearing
   ff0ded5c2c54 aio: fix spectre gadget in lookup_ioctx
   011f3bf616f1 pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11
   419b946bd2f3 staging: olpc_dcon: add a missing dependency
   7d8acff1f129 scsi: raid_attrs: fix unused variable warning
   fb9e55d63efa bpf: fix off-by-one error in adjust_subprog_starts
   ef2ec7729026 IB/hfi1: Fix an out-of-bounds access in get_hw_stats
   0defcee2b10f ALSA: hda/realtek - Fixed headphone issue for ALC700
   24c4139a1a7b ALSA: fireface: fix reference to wrong register for clock configuration
   67f2dd243dc6 flexfiles: enforce per-mirror stateid only for v4 DSes
   8d30703d6d56 ocfs2: fix potential use after free
   6f2718bb8624 initramfs: clean old path before creating a hardlink
   23399a09fda4 kernel/kcov.c: mark funcs in __sanitizer_cov_trace_pc() as notrace
   d8979491c9fc proc: fixup map_files test on arm
   ad71ec08f8b1 debugobjects: avoid recursive calls with kmemleak
   8a5ae5ba9bd9 hfsplus: do not free node before using
   1b4d458615cf hfs: do not free node before using
   7bc2546c9a43 mm/page_alloc.c: fix calculation of pgdat->nr_zones
   21bf0b91ba0b ocfs2: fix deadlock caused by ocfs2_defrag_extent()
   a907830b4425 ACPI/IORT: Fix iort_get_platform_device_domain() uninitialized pointer value
   f4bebbf5c1da nvme-rdma: fix double freeing of async event data
   4a26fd2794ef nvme: flush namespace scanning work just before removing namespaces
   5cbbefd895b8 fscache, cachefiles: remove redundant variable 'cache'
   aac96283f143 cachefiles: Explicitly cast enumerated type in put_object
   214b0f7241f4 fscache: fix race between enablement and dropping of object
   2352fd0ff37c afs: Fix validation/callback interaction
   874cc883482c pstore/ram: Correctly calculate usable PRZ bytes
   f7dd088587d8 pvcalls-front: fixes incorrect error handling
   23f5fbe66464 Revert "xen/balloon: Mark unallocated host memory as UNUSABLE"
   60382e03a73f xen: xlate_mmu: add missing header to fix 'W=1' warning
   ee24ad3eedc5 drm/ast: fixed reading monitor EDID not stable issue
   2af2d7794f32 drm/amdgpu: Add delay after enable RLC ucode
   6ca52fbbee20 net: hisilicon: remove unexpected free_netdev
   7501d55624c2 ixgbe: recognize 1000BaseLX SFP modules as 1Gbps
   5a5d699051f2 igb: fix uninitialized variables
   9e42380eab9a cachefiles: Fix page leak in cachefiles_read_backing_file while vmscan is active
   4701317cee0f fscache: Fix race in fscache_op_complete() due to split atomic_sub & read
   7395908ac92d cachefiles: Fix an assertion failure when trying to update a failed object
   689b67edb5f0 ALSA: usb-audio: Add vendor and product name for Dell WD19 Dock
   4b61635fc96f netfilter: nf_tables: deactivate expressions in rule replecement routine
   ae9b39bd26ab usb: gadget: u_ether: fix unsafe list iteration
   866e243e89c4 net: thunderx: fix NULL pointer dereference in nic_remove
   914fa3100245 x86/kvm/vmx: fix old-style function declaration
   4da0cd45e88a KVM: x86: fix empty-body warnings
   7c1ff883a73e netfilter: nat: fix double register in masquerade modules
   6741803da10e netfilter: add missing error handling code for register functions
   f018d5eae708 IB/mlx5: Fix page fault handling for MW
   03f7f8880455 netfilter: ipv6: Preserve link scope traffic original oif
   c465b31ab032 drm/meson: add support for 1080p25 mode
   bb9e268e9d7e USB: omap_udc: fix rejection of out transfers when DMA is used
   8d5bbff94d07 USB: omap_udc: fix USB gadget functionality on Palm Tungsten E
   09ec687795df USB: omap_udc: fix omap_udc_start() on 15xx machines
   88d2c380cc95 USB: omap_udc: fix crashes on probe error and module removal
   1b288004247d USB: omap_udc: use devm_request_irq()
   7872b15dde9d ipvs: call ip_vs_dst_notifier earlier than ipv6_dev_notf
   c78d20b2a104 bpf: fix check of allowed specifiers in bpf_trace_printk
   cd5689673b74 RDMA/hns: Bugfix pbl configuration for rereg mr
   01b473861aa5 exportfs: do not read dentry after free
   9a215042b425 ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE
   e646abb7b69a ASoC: omap-mcpdm: Add pm_qos handling to avoid under/overruns with CPU_IDLE
   c45caaef2252 ASoC: omap-mcbsp: Fix latency value calculation for pm_qos
   b9daf5f65c75 RDMA/rdmavt: Fix rvt_create_ah function signature
   77861b6c5671 RDMA/bnxt_re: Avoid accessing the device structure after it is freed
   eb1f01e4226a RDMA/mlx5: Fix fence type for IB_WR_LOCAL_INV WR
   0d27ad481081 Btrfs: send, fix infinite loop due to directory rename dependencies
   4af31d016230 ARM: dts: at91: sama5d2: use the divided clock for SMC
   d2b8c6a8a1b8 phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845
   ca9eb79073a8 phy: qcom-qusb2: Use HSTX_TRIM fused value as is
   aaab6336eb9c objtool: Fix segfault in .cold detection with -ffunction-sections
   ef2f6bee2159 objtool: Fix double-free in .cold detection error path
   e432cceeb8bd ASoC: acpi: fix: continue searching when machine is ignored
   bba8179fae04 PCI: imx6: Fix link training status detection in link up check
   5362dba7b696 perf tools: Restore proper cwd on return from mnt namespace
   d8c06c8c36b9 hwmon: (w83795) temp4_type has writable permission
   885bf92930f8 netfilter: xt_hashlimit: fix a possible memory leak in htable_create()
   8ae7dfd71f06 aio: fix failure to put the file pointer
   46b5558d5a1a spi: omap2-mcspi: Add missing suspend and resume calls
   5ec9552fc58b ASoC: dapm: Recalculate audio map forcely when card instantiated
   77b10c913a16 ASoC: omap-abe-twl6040: Fix missing audio card caused by deferred probing
   8c6f04133b20 hwmon: (ina2xx) Fix current value calculation
   c18d4263d24a s390/cpum_cf: Reject request for sampling in event initialization
   6b064b5de14f ASoC: wm_adsp: Fix dma-unsafe read of scratch registers
   60e1eccd5fb5 hwmon (ina2xx) Fix NULL id pointer in probe()
   f4b4f286496e s390/cio: Fix cleanup when unsupported IDA format is used
   ded23ec5857c s390/cio: Fix cleanup of pfn_array alloc failure
   4a0d7435b9c2 netfilter: nf_tables: fix use-after-free when deleting compat expressions
   9ce994a65de6 netfilter: xt_RATEEST: remove netns exit routine
   0f94c96587ab perf tools: Fix crash on synthesizing the unit
   255e04f5a250 selftests: add script to stress-test nft packet path vs. control plane
   0a7e0d53afd2 netfilter: nf_tables: don't skip inactive chains during update
   84dae51b3b3b sysv: return 'err' instead of 0 in __sysv_write_inode
   cfd7d86743d4 ASoC: sun8i-codec: fix crash on module removal
   fceaf70e406d tools: bpftool: prevent infinite loop in get_fdinfo()
   dc752d44748a ARM: OMAP1: ams-delta: Fix possible use of uninitialized field
   fa0914f171b6 ARM: dts: logicpd-somlv: Fix interrupt on mmc3_dat1
   5d2ea9832d2e ARM: dts: LogicPD Torpedo: Fix mmc3_dat1 interrupt
   7831d2076244 ARM: dts: am3517: Fix pinmuxing for CD on MMC1
   7d8ee81c2c7e staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()'
   604f01123bc4 ASoC: qdsp6: q6afe: Fix wrong MI2S SD line mask
   ce35cd5ee1e3 ASoC: rsnd: fixup clock start checker
   3ea13a21d07a ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup
   8d42df355212 sctp: update frag_point when stream_interleave is set
   fafdf91a4940 net: phy: sfp: correct store of detected link modes
   524ad2fabf9b virtio-net: keep vnet header zeroed after processing XDP
   b3de25aafea1 tun: forbid iface creation with rtnl ops
   b9e84444a172 tcp: fix NULL ref in tail loss probe
   bfe7b2583c29 sctp: kfree_rcu asoc
   763df95b2195 rtnetlink: ndo_dflt_fdb_dump() only work for ARPHRD_ETHER devices
   13a1ce2ad74f Revert "net/ibm/emac: wrong bit is used for STA control"
   e21d76868b2c net: phy: don't allow __set_phy_supported to add unsupported modes
   ec6cff67dc81 net/mlx4_en: Change min MTU size to ETH_MIN_MTU
   4edc05c73545 net/mlx4_core: Correctly set PFC param if global pause is turned off.
   4c10e8930e85 net: 8139cp: fix a BUG triggered by changing mtu with network traffic
   751c494d491a ipv6: sr: properly initialize flowi6 prior passing to ip6_route_output
   f9c324ce9f08 neighbour: Avoid writing before skb->head in neigh_hh_output()
   612931cc02b5 ipv6: Check available headroom in ip6_xmit() even without options
   552cf47e54a1 ipv4: ipv6: netfilter: Adjust the frag mem limit when truesize changes
   7ec7433c5890 HID: quirks: fix RetroUSB.com devices
   455549628a0b mac80211: ignore NullFunc frames in the duplicate detection
   0c7da0aa7b1c mac80211: fix reordering of buffered broadcast packets
   ba2caf535dc3 mac80211: ignore tx status for PS stations in ieee80211_tx_status_ext
   2545ea1dcdcb mac80211: Clear beacon_int in ieee80211_do_stop
   39ca1b1a5f04 mac80211: fix GFP_KERNEL under tasklet context
   babb30868c1c mac80211_hwsim: Timer should be initialized before device registered
   1f1afa100306 cfg80211: Fix busy loop regression in ieee80211_ie_split_ric()
   3ca6ef9feafa libnvdimm, pfn: Pad pfn namespaces relative to other regions
   60b82363d437 kgdboc: fix KASAN global-out-of-bounds bug in param_set_kgdboc_var()
   3d7dc255fe92 tty: do not set TTY_IO_ERROR flag if console port
   adf103eac922 tty: serial: 8250_mtk: always resume the device in probe.
   9df22addf43b Drivers: hv: vmbus: Offload the handling of channels to two workqueues
   93fd54970c3c kprobes/x86: Fix instruction patching corruption when copying more than one RIP-relative instruction
   5af246208420 drm/i915: Downgrade Gen9 Plane WM latency error
   e8c4ec7a8cb5 drm/amdgpu/gmc8: always load MC firmware in the driver
   b8b88b63975b drm/amdgpu/gmc8: update MC firmware for polaris
   d1569baf730a drm/msm: Move fence put to where failure occurs
   1c2a37eae264 drm/lease: Send a distinct uevent
   f558434b38cc drm/amdgpu: update mc firmware image for polaris12 variants
   50152de6de4f crypto: do not free algorithm before using
   4352e6c016ec Revert commit ef9209b642f "staging: rtl8723bs: Fix indenting errors and an off-by-one mistake in core/rtw_mlme_ext.c"
   4e9e20b3082c staging: rtl8712: Fix possible buffer overrun
   05ae28903d5c cifs: Fix separator when building path from dentry
   f0fd776c02c4 Revert "x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"
   7b1469c3f003 xhci: Prevent U1/U2 link pm states if exit latency is too long
   ac4556802707 USB: xhci: fix 'broken_suspend' placement in struct xchi_hcd
   dc04aae7f67c xhci: workaround CSS timeout on AMD SNPS 3.0 xHC
   d7bad132104f ARM: 8806/1: kprobes: Fix false positive with FORTIFY_SOURCE
   f192f717a29d dmaengine: cppi41: delete channel from pending list when stop channel
   9901c1492367 dmaengine: dw: Fix FIFO size for Intel Merrifield
   e62d2249c68e SUNRPC: Fix leak of krb5p encode pages
   a2a5e2fde8c3 vhost/vsock: fix use-after-free in network stack callers
   ed5a4844a3bd virtio/s390: fix race in ccw_io_helper()
   e956edc8a6c8 virtio/s390: avoid race on vcdev->config
   666ba2ee65fa parisc: Enable -ffunction-sections for modules on 32-bit kernel
   61502a480493 Revert "mfd: cros_ec: Use devm_kzalloc for private data"
   ccb717e43ac1 media: gspca: fix frame overflow error
   bce19403ad9e ALSA: hda/realtek - Fix speaker output regression on Thinkpad T570
   f24c98d59963 ALSA: pcm: Call snd_pcm_unlink() conditionally at closing
   f4be72e0bf8c ALSA: pcm: Fix starvation on down_write_nonblock()
   c93f1f31d1bd ALSA: hda: Add support for AMD Stoney Ridge
   01da3695a290 ALSA: usb-audio: Fix UAF decrement if card has no live interfaces in card.c
   74a5ec298bee ALSA: usb-audio: Add SMSL D1 to quirks for native DSD support
   026947331690 USB: serial: console: fix reported terminal settings
   673238324c4e USB: check usb_get_extra_descriptor for proper size
   3889e33bb1d0 usb: appledisplay: Add 27" Apple Cinema Display
   7a84b5a362e2 usb: quirk: add no-LPM quirk on SanDisk Ultra Flair device
   ca857e5103dd net: amd: add missing of_node_put()
   0da2f98fc745 team: no need to do team_notify_peers or team_mcast_rejoin when disabling port
   e9a722de9249 ibmvnic: Update driver queues after change in ring size support
   3f4134c1db37 ibmvnic: Fix RX queue buffer cleanup
   15604a70011d flexfiles: use per-mirror specified stateid for IO
   8c88fb37b2c9 iommu/vt-d: Use memunmap to free memremap
   7bdd56b674cd net: faraday: ftmac100: remove netif_running(netdev) check before disabling interrupts
   d30aa84cf6de riscv: fix warning in arch/riscv/include/asm/module.h
   2b492d33ce39 net/ibmvnic: Fix RTNL deadlock during device reset
   5aa8e66efe3c net/ibmnvic: Fix deadlock problem in reset
   d15648cc57d6 qed: Fix QM getters to always return a valid pq
   3f44a9e68949 qed: Fix bitmap_weight() check
   121e97d57b63 NFSv4: Fix a NFSv4 state manager deadlock
   176e0f131cbc mtd: spi-nor: Fix Cadence QSPI page fault kernel panic
   a51b12e14de8 HID: multitouch: Add pointstick support for Cirque Touchpad
   61f7e06c559d Revert "HID: uhid: use strlcpy() instead of strncpy()"
   8b26c115fdab cpufreq: ti-cpufreq: Only register platform_device when supported
   bd3ddbff7a21 mtd: rawnand: qcom: Namespace prefix some commands
   8a70c6977ac9 tc-testing: tdc.py: Guard against lack of returncode in executed command
   ab8885c434bc tc-testing: tdc.py: ignore errors when decoding stdout/stderr
   625510a08d3c gpio: mockup: fix indicated direction
   6abc9f8ddae4 gpio: pxa: fix legacy non pinctrl aware builds again
   5e228fca94b5 net/mlx4: Fix UBSAN warning of signed integer overflow
   47a0a222daa6 net/mlx4_core: Fix uninitialized variable compilation warning
   5b53369dbb76 net/mlx4_core: Zero out lkey field in SW2HW_MPT fw command
   596f8d294724 drm/amd/display: Support amdgpu "max bpc" connector property (v2)
   31436df3a605 drm/amdgpu: Add amdgpu "max bpc" connector property (v2)
   021a2a365e35 nvme-fc: resolve io failures during connect
   9dc330320b96 Revert "usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers"
   dbd1e112f822 usb: dwc2: pci: Fix an error code in probe
   88aeb64586df qed: Fix reading wrong value in loop condition
   d7cdbdfa0446 qed: Fix PTT leak in qed_drain()
   b678bf52f8a5 bnx2x: Assign unique DMAE channel number for FW DMAE transactions.
   a88bcdc2f534 amd/iommu: Fix Guest Virtual APIC Log Tail Address Register
   5f3352a721d7 batman-adv: Expand merged fragment buffer for full packet
   77bfec5b5de0 batman-adv: Use explicit tvlv padding for ELP packets
   a934bcb21cd2 HID: input: Ignore battery reported by Symbol DS4308
   e711cc95c600 test_firmware: fix error return getting clobbered
   baa8bdeb4c77 can: rcar_can: Fix erroneous registration
   ae6ed5e2d24a iommu/ipmmu-vmsa: Fix crash on early domain free
   894857cf8a55 mt76: fix building without CONFIG_LEDS_CLASS
   ae5157c74bb4 iommu/vt-d: Fix NULL pointer dereference in prq_event_thread()
   b882f3a05330 media: ipu3-cio2: Unregister device nodes first, then release resources
   d7fe182705df media: omap3isp: Unregister media device as first
   ee69fa8a8dd0 media: cec: check for non-OK/NACK conditions while claiming a LA

(From OE-Core rev: f9afa2bb7fe78a0f2223ce32f908c22f2194adfe)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agokernel.bbclass: Fix incorrect deploying of fitimage.initramfs
Manjukumar Matha [Thu, 3 Jan 2019 16:53:22 +0000 (08:53 -0800)]
kernel.bbclass: Fix incorrect deploying of fitimage.initramfs

When kernel-fitimage and initramfs is enabled using
INITRAMFS_IMAGE_BUNDLE = "1", kernel do_deploy tries to deploy
fitImage.initramfs with following error

| install: cannot stat 'arch/arm64/boot/fitImage.initramfs': No such
file or directory

Skip deploying fitimage.initramfs, since fitimage does not
create fitimage.initramfs

(From OE-Core rev: 0f87f8522a2c1b5a7042738887952b98060fbd9d)

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooeqa/utils/buildproject: Only clean files if we've done something
Richard Purdie [Fri, 9 Nov 2018 12:48:39 +0000 (12:48 +0000)]
oeqa/utils/buildproject: Only clean files if we've done something

We should only be wiping out things on target if the tests have
actually run.

(From OE-Core rev: d38c3eac0a5a1a9b0eb98385832e92f48145655e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>