The parent code currently assumed that any parent branch is locally
checked out which may not be the case.
Use the local branch by default but fall back to the origin. This
also means removing the later saftey check as the branch may not exist
locally.
This fixes the autobuilder resulttool test pushing code.
(From OE-Core rev: 633e024f5d492ba38debf745b59813f6a2f4a3f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This supports glibc 2.29 which is appearing in distros like Ubuntu 19.04
(From OE-Core rev: 661ac7ed164965690a4334d372bf22f04c3bfd3a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixed up for Sumo context; no aarch64]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These functions can be reused by the resulttool code so move to the common
function library for this purpose.
(From OE-Core rev: c66f848938c04e133259c5b6903dc592866ab385)
(From OE-Core rev: 94a3ca85d30fc957f8f01a216a75342be49f9143)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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)
(From OE-Core rev: ab5d49ba8bb02410fb9f3024f98ff19a04acb3ca)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integers were being compared to strings leading to missing buildstats comparision
data. Fix this.
(From OE-Core rev: 2dbbf598192ae2b3aa488df042f56aa6c6634a00)
(From OE-Core rev: e8651b2e01db0777b23a0359f9413c3b27bae77f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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)
(From OE-Core rev: d6645c4c931565d62df85db0fa71f15d51265828)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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)
(From OE-Core rev: c6351550a9bff3e0b0e3d3c0baefed4041c47b33)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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)
(From OE-Core rev: e95277e859adb3e3ca26c8c618954ae52ec3bff4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We found that manualexecution does not capture test suite values
correctly if there are more than one test suite in test cases.
After verification has made we found out we should retrieved
full test cases value <test_module.test_suite.test_case> from
oeqa/manual/ json file rather than split it them into new
variables test_suite and test_cases.
(From OE-Core rev: d1dee26b13dd565bf06307c99b02f6d57ff0ddef)
Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable roll-up all test results belong to a commit
and to provide a roll-up report.
(From OE-Core rev: 8f23018bcb76c1b431f69183f993f08adb660fae)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To enable store for testresults.json file from manualexecution,
add layers metadata to configuration and add "manual" map to
resultutils.store_map.
To enable regression for manual, add "manual" map to
resultutils.regression_map. Also added compulsory configurations
('MACHINE', 'IMAGE_BASENAME') to manualexecution.
(From OE-Core rev: 514a9165790dda2afb412c519cb1444493dff1f9)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sorted regression results to provide friendly viewing of report.
(From OE-Core rev: de222c3c9e3aa34e42e1ad6ba6cbb9e1a18ccd80)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: a61ad19d5f997cb2377ca307c94ca2d53f8c0c49)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently some older results files cause the code to give tracebacks.
Handle these missing sections more cleanly.
(From OE-Core rev: 829754c380ca2b614afa23500e53a8c5b850932f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we cant store results if the results files span multiple
different build revisons. Remove this limitation by iterating.
(From OE-Core rev: 22a5982dbcb624ffcdbacef92b2a235851214663)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: e4195565d2a50046d4378c97f7a593c41bed51bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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]
(From OE-Core rev: cd2ef260569a67907801299b1397db94aa871cb5)
Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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]
(From OE-Core rev: bb0bc6368bb51ac0be77d13fe931601d493951ea)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pertinent fix for OE-Core since 2.10.6:
Fix: out of memory error handling
Fix: access migrate_disable field directly
Prevent allocation of buffers if exceeding available memory
2.10.9 also contains the necessary fix to support kernel up to 5.0.
(From OE-Core rev: 9666e9f6058bfd8294cb4e6b03752f28159a76bc)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the native build on glibc 2.28 hosts, by backporting two
gnulib patches from master.
(From OE-Core rev: fe7c33cd470d7466be48391b11ea703746812014)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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)
(From OE-Core rev: a5dcf0c4bd9a0be2f2484b0b1b3e77f1f2128dfc)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apply patches to fix CVE-2018-6954
NVD description from https://nvd.nist.gov/vuln/detail/CVE-2018-6954
systemd-tmpfiles in systemd through 237 mishandles symlinks present in
non-terminal path components, which allows local users to obtain
ownership of arbitrary files via vectors involving creation of a
directory and a file under that directory, and later replacing that
directory with a symlink. This occurs even if the fs.protected_symlinks
sysctl is turned on.
Patches from systemd_237-3ubuntu10.13.debian.
These patches shouldn't be required on newer OE releases since they use
systemd v239 or higher.
(From OE-Core rev: 607350d98aa4c65b71fe1f10900e205fad81d1ec)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Affects < v240
Based on thud commit d5d2b821fc85b8cf39f683061ac2a45bddd2139f
The second patch in the thud commit doesn't apply against 237. Use the
version of the second patch CVE-2018-16865_2.patch from
systemd_237-3ubuntu10.13.debian.
(From OE-Core rev: da41e48567eb21a47426a6fbe23ea07ce780cd3c)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Affects < v240
Based on thud commit 403e74b07b6f3c4a2444e68c74a8434fb17aee49
The patch in the thud commit doesn't compile against 237. Use the
version of this patch, CVE-2018-16864.patch from
systemd_237-3ubuntu10.13.debian.
(From OE-Core rev: ddbe969d0c9052a3ae17ef8f1cec8da847c722d3)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix the following CVE.
CVE: CVE-2018-15687
Based on thud commit eeb621aa19f690971caf862290a172a115578ba1
The patch in the thud commit doesn't compile against 237. Use the
version of this patch, CVE-2018-15687.patch from
systemd_237-3ubuntu10.13.debian.
(From OE-Core rev: 3e8ba9af58253ed9db0f0376a8e2966e45ee089e)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This regression has been introduced while upgrading to version 237
(commit 906230a73b3ccfa4afd2a19a6b0aa18cd1d5fa08)
and seems to only affect sumo version.
(From OE-Core rev: 665b41d326654235d305649be4be69a1be8dc00b)
Signed-off-by: Matthieu Rogez <matthieu.rogez@fivesgroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test works by excluding curl-dev which curl-staticdev depends upon.
When static libraries aren't disabled, this leads to an odd looking test
failure.
Simply exclude curl-staticdev as well in case its enabled to make sure
the test always works.
(From OE-Core rev: dfded083d9456c8d2bb168dbe8e08b2ffb3e1a26)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Start opkg/dpkg as soon as the respective package managers status
file is present, no matter whether /etc/$pm-postinsts exists. This
decouples the implicit link between postinsts scripts in /etc and
the package manager: Currently the package manager is only started
if those scripts are present, although the package manager does not
use those scripts at all! Package managers install their own set of
postinst scripts.
The behavior when using rpm packages stays the same.
Note that using the package managers capability to execute postinst
scripts is preferred for good reasons: It makes sure that the
package managers database reflects that the packages have been
completely installed and configured.
This change allows to drop installation of the postinsts scripts
when package management is present. This will be done in a separate
change.
Note: Before commit 5aae19959a44 ("rootfs.py: Change logic to
unistall packages") rootfs.py did not install /etc/$pm-postinsts
when package management is installed! The change caused YOCTO #8235
which lead to the behavior change of run-postinsts in first place.
(From OE-Core rev: 85e498a4671426999610d90c87c354d41cfe8443)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update fixes a copy-paste-and-forget-to-update-everything error
in the documentation of the `SRC_URI` entry in the Reference Manual.
The `maxdate` paragraph just repeated what is there for the
neighboring `mindate` paragraph which was incorrect.
(From yocto-docs rev: 26c5549580e108c40aa7c95860d12c675596820c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the warning:
WARNING: lib/bb/data_smart.py:235: DeprecationWarning: generator 'COWDictMeta.iter' raised StopIteration
for k, v in self.variables.iteritems():
by using return from the generator, not raising StopIteration.
(Bitbake rev: c0af6c81f8d5487ea2cef54a78fd1cb1d0dc6520)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 407d6e07b09123c12c382b4a92107f002c314b05)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a callback that lets you modify or remove items in addition to the
current scheme where you can only add or remove. This enables you to for
example replace a layer with a temporary copy (which is what we will use
this for first in OE's oe-selftest).
(Bitbake rev: 4f6ba26e8335f975038d90b9e1c1767160bd5272)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the bitbake server recieved multiple connections, it currently closes
ones it can't handle (while its dealing with another). This is rather
antisocial behaviour which causes clients to quickly run through their
retries and abort.
Instead, queue any other connections until the current one is closed. This
way the client can decide when it wants to stop waiting for the server. If the
client is gone by the time we handle it, we handle that gracefully.
This also fixes a number of bugs in the connection handling where connections
which did drop early were badly handled causing tracebacks in the logs.
Also, handle queue incomming connections in a loop to ensure that the main
client handling doesn't starve that piece of the system.
This code was stress tested by running 50 connection attempts in parallel at
once, ensuring the code correctly handled them.
(Bitbake rev: f675293d86504db66442532258d99b26333742bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we set a timeout for the socket, it can return EWOULDBLOCK
if a signal or other event happens to wake up even if we don't timeout.
If this happens, retry the connection, else we simply see it quickly
loop through the retries and abort the connection in a very short
interval.
(Bitbake rev: f770d6a332812031682dc6bef1a2a84da52a4c32)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current value of 2 seconds has shown to be short in
wider testing.
(Bitbake rev: c4a940991f261959eb08273d2250d3866b868938)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing hangs in oe-selftest where server startup and shutdown are
racing. The assumption was a connect would timeout however no timeout is
set which can leave processes hanging. Set a short timeout for
the connection to avoid this.
(Bitbake rev: e53c1009356cc49c57d3b9af1e3dda6927acd78d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing slow startup in bitbake, add some timeing debug messages so
the logs are more useful for debugging when its slow.
(Bitbake rev: 39548791c84982c44c872a579e5b42d2720af98f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On loaded production systems we've seen bitbake server take over
40s to start up. Increase the timeout to 90s which tries to avoid
failures in selftests.
The delays come from setting up the inotify watches (31s) so can't
really be avoided.
After 5s delay we now warn the user we're waiting for 90s so the
interactive exeperience shouldn't be much changed and its very
unlikely the user would see that anyway.
(Bitbake rev: 64055fdb0d8485b40ba710a762e9a0af5c4540b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Follow dependent hash changes recursively also when specifying two
signature files explicitly. Previously this was only done when using the
--task option.
(Bitbake rev: 65c2a64d6dd5dc85cb14b9e808964c699e890517)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The functionalities of bitbake-diffsigs and bitbake-dumpsig are so
similar that they can be merged into one. Add an option --dump to make
bitbake-diffsigs dump the last signature data instead of comparing it.
Keep bitbake-dumpsig as a symbolic link to bitbake-diffsigs. When it is
called as bitbake-dumpsig, it behaves as if --dump was specified.
Also make -D the short option for --debug again (the way it used to be,
and still was for bitbake-dumpsig), so that -d can be used as the short
option for --dump.
(Bitbake rev: de298ff0b0cfeb29b569f946ab95329be102caa8)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing issues where the server doesn't start with no logs as to why. Allow
the server to print the last 60 log lines just in case this shows us something useful
about what is failing.
(Bitbake rev: da54a3fef9cee308dfa87eea9b9638796d734abd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 log lines may not capture any full traceback, increase the number of
lines to 60 which covers most tracebacks.
(Bitbake rev: 340a7d91b5030e4d62680f427286fc419509879b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #12898]
There might be no bitbake-cookerdaemon.log, print a message for debugging.
(Bitbake rev: cc32e703a8e68107353702edb230296503f5dad0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This simplifies the code and makes it easier to read but has the
same functionality.
(Bitbake rev: 21dcec291d58ab7ac5d2c07186c68e01d85e6f65)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| error: create archive failed on file /media/build1/poky/build/tmp/work/all-poky-linux/xcursor-transparent-theme/0.1.1+gitAUTOINC+23c8af5ba4-r0/deploy-sources/allarch-poky-linux/xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4-r0/xcursor-transparent-theme-0.1.1+git0+23c8af5ba4-r0.src.rpm: cpio: read failed - No such file or directory
| Building target platforms: noarch-poky-linux
| Building for target noarch-poky-linux
This is caused by:
$ cat log.task_order
do_cleansstate (24289): log.do_cleansstate.24289
do_deploy_archives_setscene (24395): log.do_deploy_archives_setscene.24395
do_fetch (24407): log.do_fetch.24407
[..]
do_package_write_rpm (25448): log.do_package_write_rpm.25448
do_package_qa (25451): log.do_package_qa.25451
So do_deploy_archives can run from sstate, created a .src.rpm in WORKDIR/deploy-sources,
then it was removed when rpm was running. This leads to a broken Source line in the
spec file as the original file was found by the os.listdir().
This fix is just a bandaid over much more fundamental problems sadly.
(From OE-Core rev: a10020ace4c3cd863c782760f7cbecea557ec6e7)
(From OE-Core rev: 6d56e912fbbaa22830b4da5ab230586a3d15b23e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package_rpm code is writing outside the task's sstate directory into
the sstate of do_deploy_archives. This is "out of spec" since if the
task is installed from sstate, the files are not restored. This means
the files may appear/disappear, things are not deterministic and there are
races.
Extend the do_package_write_rpm code to handle writing the src.rpm into
place to avoid these issues. There are other problems but this avoids races
around this file.
(From OE-Core rev: c6e151ba7fe0f14044537cf0ab2cac436f1496e3)
(From OE-Core rev: b119872fb794a36b6eb9ef5e9c42a9c6c991e835)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On a system without ccache, f you:
INHERIT += "ccache"
bitbake libtool-cross
<remove INHERIT>
bitbake apmd
then it fails due to being unable to find ccache. The references to ccache are
coded into libtool-cross but the sstate checksum doesn't reflect this due to the
way the class is coded (output should be the same regardless).
The simplest solution is to remove references to ccache from the libtool script.
The output then works regardless of whether ccache is present or not. The
libtool-cross script is only used in a handful of cases (most of the time its
dynamically generated by autoconf) so any performance issue is minor.
(From OE-Core rev: ed550a49d2114c56e5bc033ecd0e83073d2d4067)
(From OE-Core rev: ee6a2e0ccb11e5f5267bc2e406203c78b0443415)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this patch /usr/bin/libtoolize is different for each multilib
since their host-triplets are different, despite there being no difference in
the functionality of libtoolize itself.
This change just patches out the problematic line since its just a comment for the user
in help text. Ugly but solves the problem. This fixes issues where libtool and
libXX-libtool couldn't be installed into the same system.
(From OE-Core rev: f70040fd3ca3508d33ed24c749c0b8095b020dab)
(From OE-Core rev: 8480fff287e660f85a99fcc28119fe80d517e0b2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst the package managers handle multilib ELF binaries well, they don't
handle scripts in the *bindir directories well. This adds support for
marking these up so that they can be handled using update-alternatives.
Its done this way so that non-multilib systems don't see any changes and
there is standardisation amongst the multilibs on how the alternatives are
named and prioritiesd. The priotitisation code needs to be added but this
change means there is somewhere to add it.
Recipe needs to set MULTILIB_SCRIPTS in the form <pkgname>:<scriptname>, e.g.
MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/file1 ${PN}:${base_bindir}/file2"
to indicate which script files to process from which packages.
libtool is used a as a reference to stop the libtool scripts conflicting
in a multilib case and allows the kernel-devsrc change to be merged.
(From OE-Core rev: 18e837433d07cfdce4019c13f682c6676425a2ad)
(From OE-Core rev: 97e2d65d1c406bc58fe693e500fcc939459bac1a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As per the previous commit, upstream cpio has a bug which means it crashes on
append. If the image being built has already had testimage ran then cpio-native
will be in the sysroot. It's also possible that some distributions are shipping
this broken CVE patch too.
Now that our cpio-native is fixed, until we can be sure that the host cpio isn't
broken depend on cpio-native if building a cpio image.
[ YOCTO #13042 ]
(From OE-Core rev: c3b9aedcbe538d7fa74bd814644b4899769dec46)
(From OE-Core rev: a75eba71145efa1c3d206c5e5c00608a50f013bc)
(From OE-Core rev: 9e1c69932add702b9c5bc1faa9ef5db975de0ee3)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream fix for CVE-2016-2037 introduced a read from uninitialized memory
bug when appending to an existing archive, which is an operation we perform when
building an image.
(From OE-Core rev: 046e3e1fca925febf47b3fdd5d4e9ee2e1fad868)
(From OE-Core rev: 2ff6ab2e2944c6a53523b4b1611e1d22f6393500)
(From OE-Core rev: c0a3874799224c9ae0d6d7dc4d0a0acf364ccdab)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-selftest's devtool tests have been broken since commit 2457cd57
(oe-selftest: devtool: avoid parallel races by using temporary copy of
core) if meta is a symbolic link.
(From OE-Core rev: daba6c5a991b370709d17e51305334f55a3858ec)
(From OE-Core rev: 3eb59559ecd2e93fb590a330b47de1db0750fc0b)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the devtool tests make changes to files under meta/ -
legitimately since we want these tests to be working with real recipes
and associated files. Unfortunately with the new oe-selftest
parallelisation this can break other tests if files go missing at the
wrong time (among other scenarios). To avoid this issue, simply take a
copy of the core repository and use that for these tests. (We copy the
entire repository since changing the path of meta/ influences COREBASE
and thus we need to have things like scripts/ alongside as well).
(From OE-Core rev: 2457cd57b4195924ef127f497efa2f34f411e660)
(From OE-Core rev: 9cb8353a4f0137823d6ed3e467db9dd7ead7b3de)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The checksum value is only calculated if the uninative class is
inherited, so check for inherit before adding it to local.conf
(From OE-Core rev: 3b5b832589d943700b273e3a4d83561be0c47f36)
(From OE-Core rev: 8e23a3d59421f34961f39a7db512e93eb9647ec6)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testimage.bbclass installs a SIGTERM handler which conflicts with the
use of multiprocessing here. This is paritcularly problematic if the http
service is terminated before its started and hence before its had a chance
to reset the default signal handler (as the code was written).
Instead, temporarily remove testimage's handler whilst forking the http process
which means the correct handler is installed and won't deadlock.
Also take the opportunity to add in some log messages about the server start
and shutdown so that future debugging is easier and its clearer what the code
is doing.
(From OE-Core rev: cc0471439aa0085ca87deccf061c5b676ef12388)
(From OE-Core rev: 4eac9a5337d93b6cbd3916af97f62bb04881c9cd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During debugging dnf issue, we found that the test_dnf_install
PASSED the testing even though the environment does not allow
dnf install to run successfully. Further debugging had identified
that current test_dnf_install will execute dnf install even when
the package to be installed already exist, thus dnf install
will just skipped and this test will PASSED even though it was
not.
To solve this, added additional logic to check if the package
to be installed already exist, if yes then remove the package
before actually run dnf install. This will make sure dnf install
was tested as expected.
(From OE-Core rev: 4f662b253f7313c4e02bfafb527cdac076b6309a)
(From OE-Core rev: a80498e62898110e2ed6b01cbb9f5dd85995d13b)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As with the Python test, this can be both better and faster. No need to copy a
file, just run a one-liner.
(From OE-Core rev: c6eef46747fe58bb2310be4f06d2fa9b67901d72)
(From OE-Core rev: 9188ef8d1edbba8041a73d3bb8a9bfd194db0e92)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should only be wiping out things on target if the tests have
actually run.
(From OE-Core rev: d38c3eac0a5a1a9b0eb98385832e92f48145655e)
(From OE-Core rev: dab22dc58eabaeb421afa3c7de1cc08c5ec34c61)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Qemu do not use the ip input from external. It will
retrieve ip from QemuRunner instance and assign
ip value.
(From OE-Core rev: 14d99dc6c39c963ba3e0d9a30274846bd5369210)
(From OE-Core rev: e4990ae01c9f3f486b4b745a2602795e9d496109)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark up these tests as needing a compiler, make and kernel source code
as appropriate, the image feature requirements can then be retired.
(From OE-Core rev: 9f64e6c25abdf494fb511e9cd401f8dcaa08be2a)
(From OE-Core rev: 544c56b6950f0598d5eaf62d9ae9d9de5fcb7eaf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the OEHasPackage decorator to a variety of tests so they determine
automatically if they should run against a given image.
To ensure tests can do this we need to move target operations such
as scp commands into the tests and out of the class startup/teardown.
(From OE-Core rev: 60d6580b85714b8960a964e775d76a7f937f5e5a)
(From OE-Core rev: 03b7658369bb7c1c8fbbaac7d9e281617cc16135)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this is three test cases:
1) test_python_exists. Fail if python3 isn't in PATH.
2) test_python_stdout. Run a Python script and check the output is as expected
3) test_python_testfile. Check that a file test_python_stdout wrote to exists.
(1) should be a setup and skip the test module if it isn't present.
(2) and (3) should be merged, there's no point copying over a two line Python
file, and the test doesn't verify that the file doesn't exist in the first
place.
Rewrite the test to check that Python is present in a class setup so the entire
test is skipped if it isn't and do some simple rot13 to verify that bytecode is
being executed correctly.
(From OE-Core rev: a35be5f32b4fe70b18ac1e2eccfd94558cecfbba)
(From OE-Core rev: babdd2f6addb06c23e4882107be07034ca49bcb8)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Then we can get user's UID and GID rather than hardcode to 1000, e.g.:
- Without sudo
$ runqemu-gen-tapdevs --help
[snip]
$ sudo ../poky/scripts/runqemu-gen-tapdevs 15220 100 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
[snip]
- With sudo
$ sudo ../poky/scripts/runqemu-gen-tapdevs --help
[snip]
$ sudo ../poky/scripts/runqemu-gen-tapdevs 15220 100 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
[snip]
(From OE-Core rev: 446e7da7e56f9de3602498b5ef40e9e0f8f71837)
(From OE-Core rev: e5bebaddab47b418013f3d329dbb105ce69118bf)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Where possible pass lists instead of strings, don't use a subshell, and call
check*() instead of using Popen directly.
(From OE-Core rev: d2374623444752af1ad748ed36b68ea58f629bf6)
(From OE-Core rev: a2cbc5954d44b0922136fc3d75f891064a948298)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test cases assume that rpm-doc is built out, as it says it its
comment. This is not always true. And it sometimes results in
following error.
| cls.tc.target.copyTo(test_file, dst)
| UnboundLocalError: local variable 'test_file' referenced before assignment
Change to use base-passwd-doc, as this package is more likely to be
built out than rpm-doc.
(From OE-Core rev: 2e23543b48921182307065c1fa9e8b9d7fbb3cdc)
(From OE-Core rev: 1ce378ce07d2c49f40054893a623456c8471e177)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are failures when multiple users run oe-selftest on the same
host:
PermissionError: [Errno 13] Permission denied: '/tmp/oe-saved-
tests/201812250324_qemu'
This is because /tmp/oe-saved-tests was created by user A, while user B tries
to write data in it, then the error will happen. This patch can fix the
problem.
Move the dumped data to ${LOG_DIR}/runtime-hostdump/ rather than
/tmp/oe-saved-tests/ to fix the problem.
(From OE-Core rev: e219fe5329599cd6c3682f521eaee3852a2c8980)
(From OE-Core rev: 872c6e5101f4f27dcfc63d141d1b6568f46d2b5f)
Signed-off-by: Robert Yang <liezhi.yang@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When use simpleremote target the flash/boot process is executed
manually, the IMAGE_FSTYPES validation is only needed when execute
testimage against qemu.
The supported_fstypes comes from oeqa.core.target.qemu module.
(From OE-Core rev: e7dc5963adbacc091fe8943119262166977623ad)
(From OE-Core rev: 05896e2f83ffef5262ccd3a0fa20b81b2a878957)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Boot parameter systemd.log_target=console affects command journalctl's
output and causes oe selftest case test_systemd_boot_time fail to pass.
| Error at obtaining the boot time from journalctl
| RESULTS:
| RESULTS - systemd.SystemdJournalTests.test_systemd_boot_time - Testcase -1: SKIPPED (0.74s)
systemd.log_target=console was introduced by oe-core commit a0bb649 and
work with parameter systemd.log_level to enable systemd debug.
systemd.log_level has been removed already, so remove systemd.log_target
too to make case test_systemd_boot_time pass.
(From OE-Core rev: caa776bdcf8ea34c857f45970370bf771075f4bc)
(From OE-Core rev: 9d8a97b43c42b87c56d3b2ac318cb5482e86c397)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a variable called TEST_QEMUPARAMS in testimage.bbclass to make it
possible to pass parameters to qemu. This can be useful for e.g.
increasing the amount of RAM available during testimage runs.
(From OE-Core rev: 1a9163f5779d233c884c8fd50e0812eabab4fdf3)
(From OE-Core rev: 643457d350a921379600248f99d73374e6a2f5a2)
Signed-off-by: Erik Botö <erik.boto@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the hangs in httpservice are fixed we can let these tests
auto skip as appropriate.
(From OE-Core rev: 42a0d70291d551578e21f590fcb85ca72a78ccb5)
(From OE-Core rev: d82f2a0a17ecad5fdb2d2450f5048d00cf0448b1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now the test markup of the development tools tests is complete, this
can be further tweaked to auto run the correct tests.
(From OE-Core rev: bd4f8d12fe1f9f2643ee9e68fa2bb981134294fb)
(From OE-Core rev: 4b9641505f39718fe820eb199ed6554662d4d4cf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the tests have correct markup to automatically determine which images
they can run against, clean up the default test suites logic to be simpler
and not image specific.
Some cleanup of the compiler tests still needs to be completed but this
is a good first step.
The only downside to this is more noise during testing as we now see
many skipped messages for simple images like core-image-minimal.
The auto type is being removed since it currently breaks badly due to the
socat mandatory inclusion from the meta-selftest layer which is a problem
which needs to be addressed seperately.
(From OE-Core rev: 4966bc33845752eb0aeae54b72e8ba0146a7ed52)
(From OE-Core rev: eeee75d0a51ab7c15457b89233b7bb5254d7ee0b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fix for sumo context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add test cases to test “exclude” and “installroot“ options, also modify
the logic of filtering packages on the feed to have all the packages
needed by the tests.
[YOCTO #10744]
(From OE-Core rev: 1121806603c6f621d084b692216f3f616a0768dc)
(From OE-Core rev: e1b050f53ece2a31cd6866d2d737d7c67a44cea4)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The KBUILD_BUILD_USER and KBUILD_BUILD_HOST variables were
assigned at the kernel class level, which made it impossible
to override them in the local configuration.
By setting only the default values of those variables in the
kernel class, it is now possible to override them as expected.
(From OE-Core rev: a3e8cdf9c3ba966fa4b5a21235540eb0b00fb487)
(From OE-Core rev: 2fac83ff87d9ad934250f712d2d0fd91fccb8728)
Signed-off-by: Federico Sauter <federico.sauter@ableton.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
MACHINE = "qemux86"
QEMU_USE_KVM = "qemux86"
IMAGE_CLASSES += "testimage"
$ oe-selftest -r runqemu.RunqemuTests.test_boot_rootfs
[snip]
File "/buildarea1/lyang1/poky/meta/lib/oe/types.py", line 122, in boolean
raise ValueError("Invalid boolean value '%s'" % value)
ValueError: Invalid boolean value 'qemux86'
Now QEMU_USE_KVM can only be boolean, can not contain MACHINE any more, kvm
will be enabled if target_arch == build_arch or both of them are x86 archs.
(From OE-Core rev: 7c1a8a624cad8d967635c6cb5f99cf655bde3d44)
(From OE-Core rev: de1b80f7f7b787f6b5b62c576ca6c62d2440031c)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some patch files create entirely new files, so their permissions are subject to
the host umask. If such a file is later installed into a package with no change
in permissions, it breaks the reproducibility of the package.
This was observed on libpam, for instance: The patch file
pam-security-abstract-securetty-handling.patch creates a new file
(tty_secure.c). This file is later copied into the -dbg package with no change
in permissions.
(From OE-Core rev: 2a2bbd755b330cd63f7f6e2f2b374a3ae065b37a)
(From OE-Core rev: ae10351f4aa443fc6df5a674b0aae0731304254d)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without installing gitpython package, oe-git-archive will face error
below, where it was referencing key that was non-existent inside
metadata object.
Traceback (most recent call last):
File "<poky_dir>/scripts/oe-git-archive", line 271, in <module>
sys.exit(main())
File "<poky_dir>/scripts/oe-git-archive", line 229, in main
'commit_count': metadata['layers']['meta']['commit_count'],
KeyError: 'commit_count'
Fix this error by adding exception catch when referencing
non-existent key (based on inputs provided by Richard Purdie).
[YOCTO# 13082]
(From OE-Core rev: 9a3cc9b8523b78dda6c3f3f2e12798b2b907d7e5)
(From OE-Core rev: 89dcc555f57ce13645c3876b42be3846fe3b7863)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I think this lock dates from before we had sstate for do_packagedata.
Since WORKDIR is recipe specific and we write into WORKDIR, we no longer need
any write locks in the do_packagedata code itself, its handled by the sstate
task lock for the final copy in at the end. The final write lock can be simply
removed.
The only time we need read locking is when actually reading data from the
shared directory. We can therefore reduce the window the lock is held
significantly as well, hence improving the speed of packagedata tasks running
in parallel.
(From OE-Core rev: f7106cdf2190d9ec59132a1cb2bb431d653cd9c5)
(From OE-Core rev: 1af1e9c23965637ab4a23b3eaf64192694c5448d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QEMU_USE_KVM can either be a boolean or a whitespace separated list
of kvm supported machines.
For the 'intel-corei7-64' machine, defined in meta-intel, kvm could not be
used as the 'x86' substring is not part of its machine name.
By changing the order of this 'or' statement and setting
the 'QEMU_USE_KVM' variable to 'intel-corei7-64', it is possible to run the
'testimage' task with kvm support successfully.
(From OE-Core rev: a22789253aa653dc50fb159b40910248c2f98dd4)
(From OE-Core rev: 3383b1f9bb4aedfb88e888e88fe316e3f361c7bf)
Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use our own lsb function instead as used elsewhere by the codebase.
(From OE-Core rev: acac45a6fd604d28ef7c23d67482af3d7e8bcfe3)
(From OE-Core rev: 570256a64af5a3fa994a20a5cc4c74d59ffc361f)
(From OE-Core rev: d58fe9d352ae7de857e7f55b88f6e7d35b2cd706)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 5s timeout for non-kvm is too short, especially when the load is high,
which leads to unexpected errors, so set timeout to 60s by default.
(From OE-Core rev: 8197d0f638a760fc03062c7a9009117d083d7ead)
(From OE-Core rev: 6c930a8f5c11947c3b916efe23f33af462701bee)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018i:
Briefly:
São Tomé and Príncipe switches from +01 to +00 on 2019-01-01.
Changes to future timestamps
Due to a change in government, São Tomé and Príncipe switches back
from +01 to +00 on 2019-01-01 at 02:00. (Thanks to Vadim
Nasardinov and Michael Deckers.)
2018h:
Briefly:
Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21.
New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move.
Metlakatla, Alaska observes PST this winter only.
Guess Morocco will continue to adjust clocks around Ramadan.
Add predictions for Iran from 2038 through 2090.
Changes to future timestamps
Guess that Morocco will continue to fall back just before and
spring forward just after Ramadan, the practice since 2012.
(Thanks to Maamar Abdelkader.) This means Morocco will observe
negative DST during Ramadan in main and vanguard formats, and in
rearguard format it stays in the +00 timezone and observes
ordinary DST in all months other than Ramadan. As before, extend
this guesswork to the year 2037. As a consequence, Morocco is
scheduled to observe three DST transitions in some Gregorian years
(e.g., 2033) due to the mismatch between the Gregorian and Islamic
calendars.
The table of exact transitions for Iranian DST has been extended.
It formerly cut off before the year 2038 in a nod to 32-bit time_t.
It now cuts off before 2091 as there is doubt about how the Persian
calendar will treat 2091. This change predicts DST transitions in
2038-9, 2042-3, and 2046-7 to occur one day later than previously
predicted. As before, post-cutoff transitions are approximated.
Changes to past and future timestamps
Qyzylorda (aka Kyzylorda) oblast in Kazakhstan moved from +06 to
+05 on 2018-12-21. This is a zone split as Qostanay (aka
Kostanay) did not switch, so create a zone Asia/Qostanay.
Metlakatla moved from Alaska to Pacific standard time on 2018-11-04.
It did not change clocks that day and remains on -08 this winter.
(Thanks to Ryan Stanley.) It will revert to the usual Alaska
rules next spring, so this change affects only timestamps
from 2018-11-04 through 2019-03-10.
Change to past timestamps
Kwajalein's 1993-08-20 transition from -12 to +12 was at 24:00,
not 00:00. I transcribed the time incorrectly from Shanks.
(Thanks to Phake Nick.)
Nauru's 1979 transition was on 02-10 at 02:00, not 05-01 at 00:00.
(Thanks to Phake Nick.)
Guam observed DST irregularly from 1959 through 1977.
(Thanks to Phake Nick.)
Hong Kong observed DST in 1941 starting 06-15 (not 04-01), then on
10-01 changed standard time to +08:30 (not +08). Its transition
back to +08 after WWII was on 1945-09-15, not the previous day.
Its 1904-10-30 change took effect at 01:00 +08 (not 00:00 LMT).
(Thanks to Phake Nick, Steve Allen, and Joseph Myers.) Also,
its 1952 fallback was on 11-02 (not 10-25).
This release contains many changes to timestamps before 1946 due
to Japanese possession or occupation of Pacific/Chuuk,
Pacific/Guam, Pacific/Kosrae, Pacific/Kwajalein, Pacific/Majuro,
Pacific/Nauru, Pacific/Palau, and Pacific/Pohnpei.
(Thanks to Phake Nick.)
Assume that the Spanish East Indies was like the Philippines and
observed American time until the end of 1844. This affects
Pacific/Chuuk, Pacific/Kosrae, Pacific/Palau, and Pacific/Pohnpei.
Changes to past tm_isdst flags
For the recent Morocco change, the tm_isdst flag should be 1 from
2018-10-27 00:00 to 2018-10-28 03:00. (Thanks to Michael Deckers.)
Give a URL to the official decree. (Thanks to Matt Johnson.)
(From OE-Core rev: 100d0d0f24cabedd1a89b69ac8ffb05d85663761)
(From OE-Core rev: 40679b9ee29b600a514f2fb82865a0fecca70bf7)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
When generating TZif files with leap seconds, zic no longer uses a
format that trips up older 32-bit clients, fixing a bug introduced
in 2018f. (Reported by Daniel Fischer.) Also, the zic workaround
for QTBUG-53071 now also works for TZif files with leap seconds.
The translator to rearguard format now rewrites the line
"Rule Japan 1948 1951 - Sep Sat>=8 25:00 0 S" to
"Rule Japan 1948 1951 - Sep Sun>=9 1:00 0 S".
This caters to zic before 2007 and to Oracle TZUpdater 2.2.0
and earlier. (Reported by Christos Zoulas.)
Changes to past time zone abbreviations
Change HDT to HWT/HPT for WWII-era abbreviations in Hawaii.
This reverts to 2011h, as the abbreviation change in 2011i was
likely inadvertent.
Changes to documentation
tzfile.5 has new sections on interoperability issues.
(From OE-Core rev: a24d0c174411a32a2793c89980ca87c4f9d98bc4)
(From OE-Core rev: fc8a9e3929a6042bd3d68755799138f417413ab3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
When generating TZif files with leap seconds, zic no longer uses a
format that trips up older 32-bit clients, fixing a bug introduced
in 2018f. (Reported by Daniel Fischer.) Also, the zic workaround
for QTBUG-53071 now also works for TZif files with leap seconds.
The translator to rearguard format now rewrites the line
"Rule Japan 1948 1951 - Sep Sat>=8 25:00 0 S" to
"Rule Japan 1948 1951 - Sep Sun>=9 1:00 0 S".
This caters to zic before 2007 and to Oracle TZUpdater 2.2.0
and earlier. (Reported by Christos Zoulas.)
Changes to past time zone abbreviations
Change HDT to HWT/HPT for WWII-era abbreviations in Hawaii.
This reverts to 2011h, as the abbreviation change in 2011i was
likely inadvertent.
Changes to documentation
tzfile.5 has new sections on interoperability issues.
(From OE-Core rev: 32e5dd919a61b1c245fb6a867d0ea4a71d394aca)
(From OE-Core rev: 94c5cc56031b8558cdb75d5d4df05f6715618ab3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently these are in ${PN} and ${PN}-syslog may get replaced by
other packages but update-alternatives would error in the postinst
if other files were installed first. Avoid the problems by putting
the links in the correct package.
(From OE-Core rev: ef11c54ba99af261a70ec31091216cdd1556da24)
(From OE-Core rev: a0afcd457af14c3bf3a74514be0e8a029a4fcf63)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The diagram had a typo in it ".ipd" rather than ".ipk".
Fixed and dropped in the figures folder for each manual.
(From yocto-docs rev: 7047930390d16d0a349ee552969b72de073a7627)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the list of returned branches. That had gone a bit stale
for the exmaple. Updated the tag checkout example to include the
yet-to-be created "yocto-2.5.3" tag.
(From yocto-docs rev: 7d8074e7543dac90d2d6f42bdfba16810ee8dab9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Including the yet-to-be established "yocto-2.5.3" tag.
(From yocto-docs rev: f31fa64c75b8e4c287d94821cd94cf9e15d64639)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
poky-ent: Fixed the variables and set release to March 2019
<manual>.xml: Fixed manual revision tables
(From yocto-docs rev: 16f3ecf054baa4316ab8946681eda353f7c5ece8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The examples in these manuals for checkout of poky by tag need
to be updated immediately after a release. The reason is that the
examples use recent tags. I have updated both the examples
that show how to checkout poky based on a specific tag. This
particular commit makes the YP 2.5.2 release examples correct.
Note, that I use &DISTRO; ENTITY variables to do this but timing
for when they are correct for a release needs to be monitored.
(From yocto-docs rev: 2a3980300465488ef36bf2fc0d034c968ce96e34)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the variable in poky.ent.
(From yocto-docs rev: ae0fb9ef999478e03cd93a9e8e18700e7707c6fd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweak the preceeding commit to:
* Add STARTTIME to the identifier to make it unique
* Add MACHINE to the identifier
* Use LOG_DIR
* Store the layer config in a more natural json format
* Drop '_' function prefixes
(From OE-Core rev: 31f0c5e59c7fb0ae0915de584fbfcf3d95bbb061)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweak the preceeding commit to:
* Add STARTTIME to the identifier to make it unique
* Log DISTRO
* Use LOG_DIR
* Store the layer config in a more natural json format
* Drop '_' function prefixes
(From OE-Core rev: fd07da4d46a8167807f6ce872497fbdc812494ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-06 23:19:24,564 - oe-selftest - INFO - Traceback (most recent call last):
File "/media/build1/poky-sumo/meta/lib/oeqa/core/case.py", line 32, in _oeSetUpClass
clss.setUpClassMethod()
File "/media/build1/poky-sumo/meta/lib/oeqa/selftest/cases/eSDK.py", line 78, in setUpClass
cls.tmpdir_eSDKQA = cls.tempdirobj.name
AttributeError: type object 'oeSDKExtSelfTest' has no attribute 'tempdirobj'
(From OE-Core rev: 2c60908a2039d333a9fe2651622750ff6ed4cce1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
defaultsetup.conf and therefore default-versions.inc is sourced pretty late in bitbake.conf.
default-versions.inc overwrites previous assignments of PREFERRED_VERSION_openssl.
Assigning it with ?= allows other .conf files to assign correctly.
in particular assignment in conf/local.conf and machine config is used instead of default.
(From OE-Core rev: c9786adf81434e2d58247f55cf80fdd3131121e7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
INFO - ======================================================================
INFO - ERROR: setUpClass (eSDK.oeSDKExtSelfTest)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/core/case.py", line 32, in _oeSetUpClass
clss.setUpClassMethod()
File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/eSDK.py", line 76, in setUpClass
cls.tmpdirobj = tempfile.TemporaryDirectory(prefix="selftest-esdk-", dir=bb_vars["WORKDIR"])
File "/usr/lib/python3.5/tempfile.py", line 929, in __init__
self.name = mkdtemp(suffix, prefix, dir)
File "/usr/lib/python3.5/tempfile.py", line 507, in mkdtemp
_os.mkdir(file, 0o700)
FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/oe-selftest-debian/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-q7ln84gc'
(From OE-Core rev: 170a601a99836d13b69e5287bee0d3e71983dd46)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having image-buildinfo enabled causes containerimage.ContainerImageTests.test_expected_files
to fail due to the presence of an unexpected file:
['./',
'./etc/',
- './etc/build',
'./etc/default/',
'./etc/default/postinst',
Tweak the class to allow it to be disabled and disable it from the test just in
case it was enabled.
(From OE-Core rev: af67bf422a4df5b7e07894512ff73a5f493682ab)
(From OE-Core rev: f49ab8b1610c045acaed7b964d12f07f969df856)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python git module may or may not be enabled, allow this code to
function without it, falling back to the same method as metadata_scm.bbclass
uses. This will be cleaned up in the next round of feature development.
(From OE-Core rev: 6350586ba9f4a4107a2d457590824cd4d662d5b9)
(From OE-Core rev: 32c9169b76e13e53b6a9ab4a59932cea7863d992)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently sdk & sdkext will output json file to LOG_DIR, while
selftest will output json file to TOPDIR/log.
Standardize selftest json output file to LOG_DIR.
(From OE-Core rev: 9f2e39684cbbe9f87eeef6a81961e6db783439e3)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweak the preceeding commit to:
* Add STARTTIME to the identifier to make it unique
* Use LOG_DIR
* Store the layer config in a more natural json format
* Drop '_' function prefixes
(From OE-Core rev: 173f59acf9722e2ef27fdd49c20f7d3d664917eb)
(From OE-Core rev: 3b69099edc7db99c11bfb41eab2af50bd0e3d4f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia to store testresult,
OEQA sdk and sdkext need to output testresult into json files, where
these json testresult files will be stored into git repository
by the future test-case-management tools.
By default, json testresult file will be written to "oeqa"
directory under the "WORKDIR" directory.
To configure multiple instances of bitbake to write json testresult
to a single testresult file at custom directory, user will define
the variable "OEQA_JSON_RESULT_DIR" with the custom directory for
json testresult.
(From OE-Core rev: eefb07907873d20f2e66d3784106f6f72030b5b2)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia to store testresult,
OEQA testimage need to output testresult into json files, where
these json testresult files will be stored into git repository
by the future test-case-management tools.
By default, json testresult file will be written to "oeqa"
directory under the "WORKDIR" directory.
To configure multiple instances of bitbake to write json testresult
to a single testresult file at custom directory, user will define
the variable "OEQA_JSON_RESULT_DIR" with the custom directory for
json testresult.
(From OE-Core rev: 2b8b47ec8ee835d2e70cc4ff3ec484f9e4e4d02d)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia to store testresult,
OEQA selftest need to output testresult into json files, where
these json testresult files will be stored into git repository
by the future test-case-management tools.
By default, json testresult file will be written to "oeqa"
directory under the oe-selftest log directory.
To configure multiple instances of bitbake to write json testresult
to a single testresult file at custom directory, user will define
the variable "OEQA_JSON_RESULT_DIR" with the custom directory for
json testresult.
(From OE-Core rev: a95218525a4c8228fff9908ffbda85c6b85e101c)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to see failures/errors listed last since this is the most easily
visible part of the log on consoles or autobuilder output and makes
human processing easier rather than having to scroll up and scan for
a single failure.
(From OE-Core rev: 2cc07ab253f1ba6a1f07a66051c9ba6d98cd2357)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its useful to have the counts of success/failure/error/skipped at the end of the
results to allow for easier human reading of what happened.
(From OE-Core rev: 5942318a261ce7a885f351e214669068ff9d8931)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the ptest results from ptest-runner, run in an image to be
transferred over to the resulting json results output.
Each test is given a pass/skip/fail so individual results can be monitored
and the raw log output from the ptest-runner is also dumped into the
results json file as this means after the fact debugging becomes much easier.
Currently the log output is not split up per test but that would make a good
future enhancement.
I attempted to implement this as python subTests however it failed as the
output was too confusing, subTests don't support any kind of log
output handling, subTest successes aren't logged and it was making things
far more complex than they needed to be.
We mark ptest-runner as "EXPECTEDFAILURE" since its unlikely every ptest
will pass currently and we don't want that to fail the whole image test run.
Its assumed there would be later analysis of the json output to determine
regressions. We do have to change the test runner code so that
'unexpectedsuccess' is not a failure.
Also, the test names are manipuated to remove spaces and brackets with
"_" used as a replacement and any duplicate occurrences truncated.
(From OE-Core rev: a13e088942e2a3c3521e98954a394e61a15234e8)
(From OE-Core rev: 526ceab9d0e43f73635bb92e8dd7763ef75ad33b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia to store testresult,
OEQA need to output testresult into single json file, where json
testresult file will be stored in git repository by the future
test-case-management tools.
The json testresult file will store more than one set of results,
where each set of results was uniquely identified by the result_id.
The result_id would be like "runtime-qemux86-core-image-sato", where
it was a runtime test with target machine equal to qemux86 and running
on core-image-sato image. The json testresult file will only store
the latest test content for a given result_id. The json testresult
file contains the configuration (eg. COMMIT, BRANCH, MACHINE, IMAGE),
result (eg. PASSED, FAILED, ERROR), test log, and result_id.
Based on the destination json testresult file directory provided,
it could have multiple instances of bitbake trying to write json
testresult to a single testresult file, using locking a lockfile
alongside the results file directory to prevent races.
Also the library class inside this patch will be reused by the future
test-case-management tools to write json testresult for manual test
case executed.
(From OE-Core rev: 00e03b5004f1eb6d59295544b3a8620504278f51)
(From OE-Core rev: 045511425577ccbe89d8eb91e2a87e385390cabf)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor the original _getDetailsNotPassed method to return
testresult details (test status and log), which will be reused
by future OEQA code to write json testresult.
Take the opportunity to consolidate and simplify the logic used
to gather test status and log within the TestResult instance.
(From OE-Core rev: 79ee7d1c371a86edeb61c99679985118da657e5d)
(From OE-Core rev: bc444181f9658423856621b2f2c60364642ae5b1)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This isn't present on modern distros by default and doesn't work with
testtools, needing multiple code paths in the code. Remove it in favour
of finding a better replacement for results collection/analysis.
(From OE-Core rev: 8001d933a8dc86004db014777f094d718086687d)
(From OE-Core rev: 02449e89d62a7714d30ab6e2e58c476dc9441f7a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There doesn't appear to be any reason we need this _results indirection
any more so remove it.
(From OE-Core rev: b618261811c48ff3b98eab1b340a8cd09ef183c6)
(From OE-Core rev: ab271b49d9b55ea271d519c3a4da0b639a07f0bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have several options for parallel processing in oeqa, parallel
execution of modules, threading and mulitple processes for the runners.
After much experimentation is appears the most scalable and least
invasive approach is multiple processes using concurrenttestsuite
from testtools. This means we can drop the current threading code
which is only used by the sdk test execution.
oeqa/decorator/depends: Remove threading code
Revert "oeqa/sdk: Enable usage of OEQA thread mode"
This reverts commit adc434c063.
Revert "oeqa/core/tests: Add tests of OEQA Threaded mode"
This reverts commit a4eef558c9.
Revert "oeqa/core/decorator/oetimeout: Add support for OEQA threaded mode"
This reverts commit d3d4ba902d.
(From OE-Core rev: a98ab5e560e73b6988512fbae5cefe9e42ceed53)
(From OE-Core rev: bb9a85e157e669d7a91c3bbefc8d5138e7b8b6ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current code assumes if something isn't a failure of some
kind, it was a pass. When test case IDs weren't matching, this lead
to very confusing output where things would fail, then be listed as
passing.
This adds code to track successes, ensuring we don't end up in this
position again with unmatched entries being listed as UNKNOWN.
(From OE-Core rev: 4374c296d8963e4f6a1aa7bef7983ad0a1c2fcff)
(From OE-Core rev: bcb2948773d76befef2be787be6d25cf544e49a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can directly compare the test case IDs rather than representations,
then if we're using subunit to split the tests, the comparisions still
work as intended.
(From OE-Core rev: 72e5f46f75454ba4c445c65c1cbc616a9e72fc6e)
(From OE-Core rev: 4c53aac5315f9d0a0ed95cbeb48b7704e274e3a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing logfile is simply placed in the current directory. Since the test
changes cwd to BUILDDIR, the symlink to the log can be placed in an invalid
directory. We also see trackbacks if the symlink is invalid.
Improve things by:
* Placing logs in LOG_DIR (or BUILDDIR if unset).
* Using a full path to the log meaning the log and link are placed in the same directory.
* Using lexists instead of exists so invalid symlinks are handled correctly.
(From OE-Core rev: 750ece11bed0e62a11e0003d1d16a81f7c219761)
(From OE-Core rev: 9c4c3c876dd5d224133571fcad1095af1098ae1d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid the warning:
meta/lib/oeqa/selftest/context.py:8: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
In this case importlib is a direct replacement.
(From OE-Core rev: db7a60c36a2d3eefc61ae6e1ede01680dc932035)
(From OE-Core rev: 351a7b75959593922909d7e1929a6429a2bf94a7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clean up the warning:
meta/lib/oeqa/core/loader.py:27: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
_failed_test_args = inspect.getargspec(unittest.loader._make_failed_test).args
(From OE-Core rev: d2deb66830be2d44532fea3d5db763b57778252a)
(From OE-Core rev: f9ab10bb08446052fd6af2a21f38d8454e466d51)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen issues with rootfs size calculations and we've seen systems
like opensuse which have btrfs mounted on /tmp causing selftest failures.
(From OE-Core rev: 61be3cd748d1b7321a1fc4cfe84efa9b26a6aee0)
(From OE-Core rev: d936faabfb29ea377d74e77332a2a91603747ac7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we need to create a temporary directory in targetbuild or buildproject use
tempfile.TemporaryDirectory so that when the test case is finished, the
directory is deleted.
Also synchronise the logic and don't possibly store the temporary directory in
self.tmpdir as nothing uses that.
(From OE-Core rev: db0e658097130d146752785d0d45f46a3e0bad71)
(From OE-Core rev: d39252324a13580cc96f0694b88bc10515e030a0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reorder the shutdown/teardown to avoid:
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/qemurunner.py", line 224, in launch
op = self.getOutput(output)
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/qemurunner.py", line 90, in getOutput
fl = fcntl.fcntl(o, fcntl.F_GETFL)
ValueError: I/O operation on closed file
(From OE-Core rev: 8e7d756862d2a8d62f3c87497d6d65ddb3c1b962)
(From OE-Core rev: 48979ffbe25351f92179021a973207a71bbe7a4e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
assertTrue doesn't give good debug information when things fail. Update
several to use assertIn which gives information upon failure, for the
others print the log information upon failure.
(From OE-Core rev: c29cb75d5ce6b0873a934f4709b0c8824f7164d3)
(From OE-Core rev: 6f2bb2c12289422396deb793ae4b4e99cfa88c7b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
setUp() is used to populate a directory of temporary files, and deleted in
__del__. However setUp() is called once *per test* so __del__ would only be
able to remove the last directory created.
Fix the code by using the natural counterpart to setUp, tearDown(), to clean up.
(From OE-Core rev: 68b4723e6fb11d171869185bccf28f32f6284c18)
(From OE-Core rev: edd2ecbc86d8b02a0467491451306f67e81d9ead)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Heartbeat events default to once a second and we need to ensure we have
enough time in the task to see them.
Add a nostamp delay task 5s long so we can have a consistently timed
task which doesn't need cleanup or have unneeded dependencies. This
ensures we should deterministically see the disk moinitor events
regardless of the state of the build. This is done in a way which
doesn't corrupt build state or need cleanup and is efficient.
(From OE-Core rev: ecc49ee8986929e2429d948000a0ca588fe63959)
(From OE-Core rev: d5ce38168238181423c9dcd1d258253e3515d0a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test occisionally fails as m4 doesn't recompile, meaning the logfile test
then doesn't find mention of ccache.
To ensure m4 does recompile, clean m4 before force compiling it.
(Reading the test is confusing due to the test cleanup also involving a clean)
(From OE-Core rev: 6e0b9214a0d57ed45a5df0ba5c9887a9045b89b1)
(From OE-Core rev: b729a46820cce38b3d500271df19bdaf31973140)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If runqemu fails it would leak an unclosed socket and file. Ensure we
close these in all cases to remove the resource warning.
(From OE-Core rev: ed80e46ccbc8fe8e9148d80723152066fa00ba28)
(From OE-Core rev: baa8313e492cff8c31633a558792500b10493e9e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Each time a runqemu() fails, the log handler would be left behind meaning
messages from any subsequent run would be duplicated (or worse/more).
This ensures we remove the handler regardless and means we no longer
have the duplication.
(From OE-Core rev: 532984708436bdfa3a8cac2c684a425eb249bad0)
(From OE-Core rev: 600e71ede1977c45fed1958dd5356911e4fcf272)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than just referring the user to the logs containing the failure, print
them on the console. This aids debugging with oe-selftest with parallelisation
as the logs may otherwise be lost.
(From OE-Core rev: 36a018e245a232f520ff946f152cc875927a6fb4)
(From OE-Core rev: 0ea441ab6a6fe752cc8820fb371e67eee92353e4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current failure mode doesn't show us what the logs actually looked like
and later cleans can lose them. Show the whole log in case of failure
to aid debugging intermittent problems on the autobuilder.
(From OE-Core rev: 7c3a0dc5978cea898b1ca51decf4d6e7cf9d519f)
(From OE-Core rev: 60b58e976dcc2a45a036e18cfcc87933a8859c9f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids problems where shutil.remove will error with:
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.extra'
when there are races over file deletion (gpg agent may be slow to exit).
We already worked around speed and race issues in bb.utils.
(From OE-Core rev: 00a8fd5b93a5c19ce0b7498e2bc653ce8ad58aaf)
(From OE-Core rev: e7c0d29e063d1a47004acdc07a63996be98c74ef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should speed the test up signficiantly without any loss of functionality
for the purposes of the test.
(From OE-Core rev: 3dde0b749643575878bfbca2f8d2d9ec30bad166)
(From OE-Core rev: 51989db2d9eebd9f190994109c2932dac3f3034b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We ideally don't want to use gpg from the host. This is straightforward for package
management but not for sstate.
For sstate, create a second build directory to run the test in using gnupg-native
from the original build directory.
(From OE-Core rev: 10afa94c3f0d7eb7524a26deda86949073d55fde)
(From OE-Core rev: c5d68a24b0c6df0a16f50075a690b3aab0e273ee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Raising an assertionError in the class setup isn't a particuarly good way to
indicate gpg isn't installed. Instead skip the tests if the required binary
isn't present. For the signing tests we do require it to be present and can't
use a prebuilt one.
(From OE-Core rev: 2d486af97e51b9daa9c40482c31d637c9ab4ae79)
(From OE-Core rev: 65403bb556f7e3132722288a62ef36631af0b557)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On python versions with close_fds=True (python 3.2 onwards), the tap
device lockfile isn't passed to the child process.
Since this guards against use of an active interface, we really want this
here, so pass it in pass_fds. This means if the parent exits early, the child
still holds the lock, avoiding messages like:
runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: could not configure /dev/net/tun (tap0): Device or resource busy
(From OE-Core rev: 17a0a067d597c445c5892ff9914e91a2187f7e09)
(From OE-Core rev: d3b3c55ddc312039380ce8e23e68dd8bb2439388)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various tweaks:
- Balance up the aquire/release functions
- Use debug messge for both acquiring and release message for consistency in logs
- Use None instead of an empty string
- Reset the value of the field if we don't have the lock any more
(From OE-Core rev: d3c052e6ccd81d544b23a3bee80ba00cafaedbbd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
subprocess.run() was introduced in Python 3.5. We currently support down to
Python 3.4 so I've replaced it with subprocess.check_call() which is available
in that version.
(From OE-Core rev: 1c61f3017a6a2d95747883c722c376763ec77c9d)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated poky.ent to use "TBD" for the release date variable.
Updated the mega-manual.sed file to use "2.5.2"
Updated all the <manual>.xml files to include a new entry for
the 2.5.2 release date
Updated poky.ent to have all applicable 2.5.2 variables changed.
(From yocto-docs rev: 189ec469aa8797d75567cfef444b9896d3467e7a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Small tweak to ensure these items are printed into the log since there
is other logging code which looks for the header and this makes it clearer
the server did start but is slow somewhere in startup.
(Bitbake rev: e698ff1817e3536211f40af161c563d15e2ef3b5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if there are no setscene tasks, the disk monitor isn't started.
Move the startup code to somewhere to ensure it always is started. This
issue would partially explain occasional selftest failures.
(Bitbake rev: 9f72f5af7eb04c87be0e11a9c519a3941789bf7e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/bitbake/lib/bb/main.py", line 464, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
if command_chan_recv:
UnboundLocalError: local variable 'command_chan_recv' referenced before assignment
(Bitbake rev: bdffac83bcbd12668d262867f3a6e329327ff1e4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Users are starting to expect OE to work under WSL which it doesn't. Add a warning to
tell them about this up front and manage expectations.
(From OE-Core rev: 4f22710f9a310412f1de0b4e6905c058ec416f25)
(From OE-Core rev: 33a577864123833d7d8182fe90df7069fc583bc6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The busybox.link.* files are generated from autoconf.h and applets.h,
which are both auto-generated by the build system. The contents of the
two files might be in different order, and so the link files are not
reproducble as is.
Fix this by sorting the lists using `sort`.
(From OE-Core rev: bade7cc344c2f0e9316f973c34e9c9dfcbdbe32d)
(From OE-Core rev: 0f70da971e6e01ed9b669137b3ba39b1898a7dfe)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shadow configure script tries really hard to detect the running
shell to make sure it doesn't do unsupported calls.
On my system the shell is detected as /bin/sh, while a build in an
ubuntu docker it resolves to /bin/bash. And since the shell path is
baked into the target binaries through config.h, the build becomes
inreproducible.
Fix reproducibility by hard-coding the shell to be /bin/sh
(From OE-Core rev: 5f4fe91cb6c21cd3ecd0b68d1c6b46a9530c7570)
(From OE-Core rev: 83214b835cd82d5dddb47c418c4e7a20ac433f61)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to both the README and source headers, the LICENSE value for
socat is explicitly GPLv2, not v2 or later, so adjust LICENSE
accordingly (leaving aside whether "GPL-2.0+-with-OpenSSL-exception"
should actually be considered a valid LICENSE string or not).
(From OE-Core rev: 466044a341a8b42159bd9388950c9079e0d7a2c3)
(From OE-Core rev: caa0b85cecf37945d67d5844c772a11ed790f8a5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GnuPG hard-codes $bindir etc and uses them to find the helper binaries, such as
gpg-agent. This breaks if gnupg-native is reused from sstate for a different
build directory and GPG signing of packages is required.
Patch in getenv() checks for gnupg-native when returning the hardcoded paths,
and create a wrapper script which overrides GNUPG_BINDIR. There are more paths
that can be overridden, but this one is sufficient to make GnuPG work.
(From OE-Core rev: dfd69ff889ed78bf137116583d8ae351859ee203)
(From OE-Core rev: ddaf41f210f80556eca1d0acaee1e3f9cbf80122)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates for YOCTO #12891 allowed a user to have a directory
structure different to that of yocto (bitbake isn't inside
oe-core) whereas the definition of OE_ROOT in the main toaster
binary still assumes the same while checking for .templateconf
and hence we see an error on the cmdline in such cases:
bash: <repo-path>/bitbake/bin/../../.templateconf: No such file or directory
The change here now allows the user to provide OE_ROOT through
the environment in such cases and otherwise defaults to the older
mechanism to fix this issue.
(Bitbake rev: 79d01b9fec99cec19156e0ebe05b4f2040bcef05)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a known issue when using ISC DHCP alongside bind 9.10. DHCP uses libraries
provided by bind and there is a bug which results in dhcpd/dhclient not
running in the background and not responding to sigterm.
The issue was first reported in 02/2015 by the fedora team here:
https://lists.isc.org/pipermail/bind-users/2015-February/094636.html
and as of 02/2018 it is still unresolved:
https://bugzilla.redhat.com/show_bug.cgi?id=1457871
Fedora's workaround seems to consist of providing working libraries from the bind 9.9
package just for DHCP.
added 'ext-bind' in PACKACGECONFIG
added notes on how to enable the workaround
refreshed patches too
[ Yocto # 12744 ]
(From OE-Core rev: 1c35c68da07ccca5d80820e2de51c0b6bf51b349)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to a bug in find [1], -ignore_readdir_race does not work correctly with
-delete. This can lead to spurious build failures when files disappear
while such a command is running; specifically this was seen in the case of
do_configure and do_populate_lic running concurrently for packages
with ${B} == ${WORKDIR}:
find: '.../sstate-build-populate_lic': No such file or directory
While the issue is fixed in the findutils git master, the find command of
the host system is called here, so we can't ensure that the used version
contains the fix. Many common distros have not updated to a recent enough
findutils version yet (Ubuntu 18.10 contains the fix, while 18.04 is still
affected).
Work around the issue by passing the output of find to 'rm -f' instead of
using -delete.
[1] https://savannah.gnu.org/bugs/?52981
(From OE-Core rev: 8079e2d62e23f7c274f46185e6dad64fa95394c1)
(From OE-Core rev: 0808fe2c1b465114c16265bea3442e878586a8e6)
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In sources directory we can find patches/ and temp/.
The first one is filled with symbolic link unusable on another
machines.
The second contains yocto logs to create this archives and are
typically copied when 'S = "${WORKDIR}"'
(From OE-Core rev: 3904f98851c6a63dd9377e38f1432be6b1c0a94d)
(From OE-Core rev: f0eebea19ff8d9dfd89d104be04ca3510a546424)
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rationale - excerp from `info chown`
====================================
OWNER‘:’GROUP
If the OWNER is followed by a colon and a GROUP (a group name or
numeric group ID), with no spaces between them, the group ownership
of the files is changed as well (to GROUP).
Some older scripts may still use ‘.’ in place of the ‘:’ separator.
POSIX 1003.1-2001 (*note Standards conformance::) does not require
support for that, but for backward compatibility GNU ‘chown’ supports
‘.’ so long as no ambiguity results. New scripts should avoid the use
of ‘.’ because it is not portable, and because it has undesirable
results if the entire OWNER‘.’GROUP happens to identify a user whose
name contains ‘.’.
(From OE-Core rev: 185918234a07cb506d7d7464a49ac33972c7d963)
(From OE-Core rev: 8105b6384042e04d8bdfaa881370616c6e46acfa)
Signed-off-by: Kosta Zertsekel <zertsekel@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similarlly to OE-Core rev 4b936cde58ca0a6f34092ce82640a02859110411 for
cross.sdk, BUILD_* flags can't be used as TARGET_* flags
gcc-crosssdk buils leaks config.log's through "gcc-stashed-builddir" and
TARGET_* flags to libgcc cross-build through "gcc/libgcc.mvars" file
on "gcc-stashed-builddir". This means that if BUILD_CFLAGS contains
host-specific flags like "-isystem/usr/include" libgcc build will
fail "do_qa_configure" and "do_package_qa" checks.
Remove host-related flags from TARGET_* flags for gcc-crosssdk builds.
[YOCTO #11874]
(From OE-Core rev: 6e162e619b6f5173c073cd9bedbcadf205017e30)
(From OE-Core rev: 702917592ffca04fb1447fca60f6377ef96a57a0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Four unrelated lines were extracted from pixman-matrix.c for the
license information.
License-Update: Only extract the relevant part from pixman-matrix.c
(From OE-Core rev: d0a209e8cf29d982567e3978e1dcbb3871505a39)
(From OE-Core rev: e1c9d4d57aa3ebe9b733241e3f8139551a77d7cb)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two unrelated lines were extracted from apu_version.h for the license
information.
License-Update: Only extract the relevant part from apu_version.h
(From OE-Core rev: 2edb0f24a13f27b2fae94fb447221ad2ddb924a0)
(From OE-Core rev: 6aebc3a4452d1422cf2ba59dd9b381f89e2fefcc)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two unrelated lines were extracted from apr_lib.h for the license
information.
License-Update: Only extract the relevant part from apr_lib.h
(From OE-Core rev: 90ab83ecc509c2fdc1f6083d771031decdcaad63)
(From OE-Core rev: f7883a0fae697eefffccd56a45e013f24e20ba5c)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's really good that OE supports multiple EFI_PROVIDERs and that
commit 9a1709278de87 ("wic: isoimage-isohybrid: use grub-efi from
deploy dir") makes re-use of the grub-efi built image, but we should
still respect the standard otherwise the ISO will not boot, so install
grub images as boot[x64|ia32].efi not ${PN}-boot[x64|ia32].efi.
(From OE-Core rev: 1608129692d92c239b5fb9244b649a32b9009254)
(From OE-Core rev: ce1815374254d1f23556b7fe2e46aa0e676d8d1a)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this can fail with a message like 127 != 0 which is unhelpful.
If we remove the ignore_status=False, the debugging from runCmd is much
more helpful printing status.output.
Also remove the now unneeded exit code check.
(From OE-Core rev: 1aa7471b11aedc68de5116c461fe73152e3985fd)
(From OE-Core rev: d9ad083ee5a1bc8723b01b31a0010128e26375fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
AssertionError: Command 'wic create mkhybridiso --image-name core-image-minimal -o /var/tmp/wic.oe-selftest/' returned non-zero exit status 1:
ERROR: _exec_cmd: gzip -f -9 -c /var/tmp/wic.oe-selftest/tmp.wic.drhn6edm/initrd.cpio > /var/tmp/wic.oe-selftest/tmp.wic.drhn6edm/initrd.cpio.gz returned '1' instead of 0
output: gzip: /var/tmp/wic.oe-selftest/tmp.wic.drhn6edm/initrd.cpio: No such file or directory
This is because in a clean build directory, the initramfs may not be rebuilt.
Add a call to ensure it is built to avoid the error.
(From OE-Core rev: 2a80fa234d31992691a157425e8990db30158fd1)
(From OE-Core rev: cdc226b8d4114ef4ff51d6f13ceb09f8d264bf76)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using /var/ leave wic open to races with other processes on the system, use
a subdir of builddir instead to avoid this.
(From OE-Core rev: e07ec908ce7f26143a7bdf0a07a1230c0fd6ac87)
(From OE-Core rev: 17223b0045896c9f342e9079d2345b730a3048cc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, we see errors if gpg is missing from the host system
for "oe-selftest -r runtime_test.TestImage.test_testimage_dnf".
(From OE-Core rev: e91838b63b506e2969582b2b8511fd3724d6aa3f)
(From OE-Core rev: 40e0b6244c0c6f276de501765daff660d7a44363)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason, the copyright part was left out of the license
information included in LIC_FILES_CHKSUM, preventing it from being
used in, e.g., documentation to satisfy the requirements of the
license.
License-Update: Include the complete license information
(From OE-Core rev: 390becd2dcf4fe791ec3715a74e34a46bd457e7a)
(From OE-Core rev: 015f65b5c391c75fe96f927a007a8be04db70a63)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the latest nasm is 2.14rc16 (not formal release),
so backport a patch to 2.13 to fix CVE-2018-1000667.
(From OE-Core rev: 024b395425c95a08c881d922c310be78ffad483a)
(From OE-Core rev: 4de7f29b8a0a57e14029a630fa7cfd0ef9583a9e)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python uses AC_RUN_IFELSE to determine the byte order for floats and doubles,
and falls back onto "I don't know" if it can't run code. This results in
crippled floating point numbers in Python, and the regression tests fail.
Instead of running code, take a macro from autoconf-archive which compiles C
with a special double in which has an ASCII representation, and then greps the
binary to identify the format.
This is essentially a backport of the Python 3 patch in oe-core 1781b87.
(From OE-Core rev: 94cea72a23a374eb616d5642977b45172537beac)
(From OE-Core rev: ceae3eb0d8a0ee69182cf4f4cfa5a6a3814df1f8)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the manifest handling is done differently now, just inherit ptest with the
other inherits.
test_shutil needs unzip so add to RDEPENDS.
Instead of using a patched Makefile, call test.regrtest directly.
(From OE-Core rev: 84f34ad223b1e3f36cab2ac12246eb90efc919bc)
(From OE-Core rev: c4647674da480c5925178cd821ce2d485c7467b7)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to the latest stable version
License-Update: Copyright year updated to include 2018
Remove the alignment patch that is included upstream
(From OE-Core rev: 855020053906478cea164ed254c08bedce48479d)
(From OE-Core rev: ab2dd15f72a94cce528276e6e3e38c56677e7ba4)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Bug fix update only, drop patches included in update]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
0b46ce3e3423 Linux 4.14.76
c03f0ab15f3b ath10k: fix scan crash due to incorrect length calculation
711b942ae3be virtio_balloon: fix increment of vb->num_pfns in fill_balloon()
7f42eada5e3f virtio_balloon: fix deadlock on OOM
251bc1f44c33 rds: rds_ib_recv_alloc_cache() should call alloc_percpu_gfp() instead
4c925efc2230 ubifs: Check for name being NULL while mounting
5656b7354183 ucma: fix a use-after-free in ucma_resolve_ip()
3a7a9fb68c97 f2fs: fix invalid memory access
dfe96e30b5a5 perf utils: Move is_directory() to path.h
75fc05a20f5f crypto: chelsio - Fix memory corruption in DMA Mapped buffers.
b5dcd4ab8e6c ARC: clone syscall to setp r25 as thread pointer
af1a8101794d powerpc/lib: fix book3s/32 boot failure due to code patching
609fbeddb24c powerpc: Avoid code patching freed init sections
4e43fbc8ef25 powerpc/lib/code-patching: refactor patch_instruction()
0f6e2f4e06be nvme_fc: fix ctrl create failures racing with workq items
1b2ad48a85c4 ath10k: fix kernel panic issue during pci probe
8146256b7dcd ath10k: fix use-after-free in ath10k_wmi_cmd_send_nowait
327400b3a708 perf tools: Fix python extension build for gcc 8
ec727693a9ef perf annotate: Use asprintf when formatting objdump command line
79f87e09bcb2 of: unittest: Disable interrupt node tests for old world MAC systems
171f90d4ae84 tty: Drop tty->count on tty_reopen() failure
c92e73b11ed1 usb: cdc_acm: Do not leak URB buffers
821c42e7d5ea USB: serial: simple: add Motorola Tetra MTP6550 id
35123e64a168 usb: xhci-mtk: resume USB3 roothub first
c096f5c4a8bc xhci: Add missing CAS workaround for Intel Sunrise Point xHCI
ec6ae632e04b dm cache: fix resize crash if user doesn't reload cache table
f11a6abfdb41 dm cache metadata: ignore hints array being too small during resize
1364055c96c5 PM / core: Clear the direct_complete flag on errors
9047696cb3f8 mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys
8ebd65583375 PCI: Reprogram bridge prefetch registers on resume
25bc6e80f9d6 x86/vdso: Fix vDSO syscall fallback asm constraint regression
1194e838b879 x86/vdso: Only enable vDSO retpolines when enabled and supported
64ff5747e2af selftests/x86: Add clock_gettime() tests to test_vdso
30500cc74a36 x86/vdso: Fix asm constraints on vDSO syscall fallbacks
71a0556255de drm/syncobj: Don't leak fences when WAIT_FOR_SUBMIT is set
0c0dd182adae drm/amdgpu: Fix vce work queue was not cancelled when suspend
309a1c5cfc59 xen-netback: fix input validation in xenvif_set_hash_mapping()
f66d89483bb3 fbdev/omapfb: fix omapfb_memory_read infoleak
887361696fb9 clocksource/drivers/timer-atmel-pit: Properly handle error cases
8e2e2192eb35 blk-mq: I/O and timer unplugs are inverted in blktrace
87a9d1cc2e8f KVM: x86: fix L1TF's MMIO GFN calculation
5178716b55c4 mm/vmstat.c: skip NR_TLB_REMOTE_FLUSH* properly
a2e0493f99e6 mm, thp: fix mlocking THP page with migration enabled
5f4f5b1f4491 mm: migration: fix migration of huge PMD shared pages
ab18409cf05f perf/core: Add sanity check to deal with pinned event failure
8e6a9240b191 Linux 4.14.75
4e7ea65127ac dm thin metadata: fix __udivdi3 undefined on 32-bit
07f79b39d474 ixgbe: check return value of napi_complete_done()
de0e2a92ccc5 ocfs2: fix locking for res->tracking and dlm->tracking_list
f8566a92ab75 proc: restrict kernel stack dumps to root
4de0fb95a287 tools: hv: fcopy: set 'error' in case an unknown operation was requested
1d24e2609002 Drivers: hv: vmbus: Use get/put_cpu() in vmbus_connect()
119bf9470be9 gpiolib: Free the last requested descriptor
1df517a4cafd crypto: caam/jr - fix ablkcipher_edesc pointer arithmetic
3b1a8535b8e1 crypto: mxs-dcp - Fix wait logic on chan threads
90ecb700345c crypto: qat - Fix KASAN stack-out-of-bounds bug in adf_probe()
a5bb359c078a ALSA: hda/realtek - Cannot adjust speaker's volume on Dell XPS 27 7760
06f93e40f939 iommu/amd: Clear memory encryption mask from physical address
dcdb2262d389 smb2: fix missing files in root share directory listing
b420b7b7923b sysfs: Do not return POSIX ACL xattrs via listxattr
fa7d75f64b80 ovl: fix format of setxattr debug
8d75ecc13fdc ovl: fix memory leak on unlink of indexed file
be406434737b ovl: fix access beyond unterminated strings
aa41fb9593af xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage
a502165dae09 xen: avoid crash in disable_hotplug_cpu
4e1494794ebc xen/manage: don't complain about an empty value in control/sysrq node
dfb29d69e4d8 cifs: read overflow in is_valid_oplock_break()
7d60f98cde7a s390/qeth: don't dump past end of unknown HW header
d5afd6b6eae5 s390/qeth: use vzalloc for QUERY OAT buffer
ad297898159f r8169: Clear RTL_FLAG_TASK_*_PENDING when clearing RTL_FLAG_TASK_ENABLED
f7b86faf0bd1 drm/amdgpu: fix error handling in amdgpu_cs_user_fence_chunk
f2c9d68ed3c2 arm64: jump_label.h: use asm_volatile_goto macro instead of "asm goto"
7a2df42a5371 hexagon: modify ffs() and fls() to return int
2eb3072b2785 arch/hexagon: fix kernel/dma.c build warning
1484d4ff2770 dm thin metadata: try to avoid ever aborting transactions
1e9054e75d22 perf/x86/intel: Add support/quirk for the MISPREDICT bit on Knights Landing CPUs
36918e899e3c net: ena: fix missing calls to READ_ONCE
3e2cc5bd61fe net: ena: fix driver when PAGE_SIZE == 64kB
a5bdc726e5ff fs/cifs: suppress a string overflow warning
3941dbe190ba dm raid: fix rebuild of specific devices by updating superblock
112d65a51f2b drm/nouveau/disp: fix DP disable race
1a255bf1e749 drm/nouveau/TBDdevinit: don't fail when PMU/PRE_OS is missing from VBIOS
34d54566ae4a net/mlx5: Consider PCI domain in search for next dev
f36f3ebdf1e1 nvmet-rdma: fix possible bogus dereference under heavy load
a90a52c51ad4 USB: yurex: Check for truncation in yurex_read()
2c423318f07c HID: sensor-hub: Restore fixup for Lenovo ThinkPad Helix 2 sensor hub report
d4da71220317 RDMA/ucma: check fd type in ucma_migrate_id()
60ea8815d6e8 Revert "iio: temperature: maxim_thermocouple: add MAX31856 part"
1173678a4f4a netfilter: nf_tables: release chain in flushing set
c00f01c40211 perf probe powerpc: Ignore SyS symbols irrespective of endianness
4095fd29fee7 perf util: Fix bad memory access in trace info.
9d7bc329c123 perf evsel: Fix potential null pointer dereference in perf_evsel__new_idx()
8b98b7eeb45d scsi: qedi: Add the CRC size within iSCSI NVM image
dd44c35cc16c scsi: iscsi: target: Set conn->sess to NULL when iscsi_login_set_conn_values fails
b6515e0f915b HID: hid-saitek: Add device ID for RAT 7 Contagion
81c823c22355 usb: gadget: fotg210-udc: Fix memory leak of fotg210->ep[i]
b6cc0ba2cbf4 HID: add support for Apple Magic Keyboards
b969656b4662 netfilter: xt_cluster: add dependency on conntrack module
10fdfea70d46 bpf: 32-bit RSH verification must truncate input before the ALU op
dcc89aaf5a8d mm: madvise(MADV_DODUMP): allow hugetlbfs pages
ee0516c4a1fe tools/vm/page-types.c: fix "defined but not used" warning
5cbf015b971c tools/vm/slabinfo.c: fix sign-compare warning
27c4ad84fd01 mac80211: shorten the IBSS debug messages
e132eb09fdd2 mac80211: don't Tx a deauth frame if the AP forbade Tx
8788737af389 mac80211: Fix station bandwidth setting after channel switch
37cdc7e35ae4 mac80211: fix a race between restart and CSA flows
4fa55f6d29fd cfg80211: fix a type issue in ieee80211_chandef_to_operating_class()
43a01409ef4c mac80211: fix an off-by-one issue in A-MSDU max_subframe computation
25cb8544342a fs/cifs: don't translate SFM_SLASH (U+F026) to backslash
8590e6fecb5e net: cadence: Fix a sleep-in-atomic-context bug in macb_halt_tx()
b08d15cc921f i2c: uniphier-f: issue STOP only for last message or I2C_M_STOP
82fc9c6b7b9a i2c: uniphier: issue STOP only for last message or I2C_M_STOP
da26e5729c04 RAID10 BUG_ON in raise_barrier when force is true and conf->barrier is 0
36fadeb87be8 md/raid5-cache: disable reshape completely
dc492842b700 ARC: atomics: unbork atomic_fetch_##op()
7e259a0537be gpio: Fix crash due to registration race
3b83a52796cd tools/kvm_stat: fix handling of invalid paths in debugfs provider
52614f7bf1b5 tools/kvm_stat: fix python3 issues
0d66ce687869 mac80211: always account for A-MSDU header changes
2592adfe326b mac80211: do not convert to A-MSDU if frag/subframe limited
b22a5d20aab1 cfg80211: nl80211_update_ft_ies() to validate NL80211_ATTR_IE
e7577a1f1a65 net: hns: add netif_carrier_off before change speed and duplex
7fd11a1ad542 net: hns: add the code for cleaning pkt in chip
bdd29365a74c gpiolib-acpi: Register GpioInt ACPI event handlers from a late_initcall
73bfec0a6bde gpiolib: acpi: Switch to cansleep version of GPIO library call
9a5d353908db mac80211: avoid kernel panic when building AMSDU from non-linear SKB
79448960e3d7 mac80211: mesh: fix HWMP sequence numbering to follow standard
34bec4daf88c gpio: adp5588: Fix sleep-in-atomic-context bug
0081e67083ed mac80211_hwsim: correct use of IEEE80211_VHT_CAP_RXSTBC_X
7c209ebc7f15 mac80211: correct use of IEEE80211_VHT_CAP_RXSTBC_X
6054817c5e07 scsi: csiostor: add a check for NULL pointer after kmalloc()
4e380c50cf12 btrfs: btrfs_shrink_device should call commit transaction at the end
9e685bec07ae KVM: PPC: Book3S HV: Don't truncate HPTE index in xlate function
381538ae75cf mac80211_hwsim: require at least one channel
4ae9a73be7ac mac80211: Run TXQ teardown code before de-registering interfaces
3a738e7f734c tools/power turbostat: fix possible sprintf buffer overflow
cdb2d37d345d serial: mvebu-uart: Fix reporting of effective CSIZE to userspace
a17e2a72e714 drm/amdgpu: add another ATPX quirk for TOPAZ
d9e61345652b drm/amd/pp: initialize result to before or'ing in data
e6abbe80c883 Linux 4.14.74
d61ba3417e4f media: v4l: event: Prevent freeing event subscriptions while accessed
fcaca557760f arm64: KVM: Sanitize PSTATE.M when being set from userspace
4fff53acff15 x86/pti: Fix section mismatch warning/error
23210d92f617 i2c: i801: Allow ACPI AML access I/O ports not reserved for SMBus
647b6d4ff699 arm/arm64: smccc-1.1: Handle function result as parameters
826d8678cde2 arm/arm64: smccc-1.1: Make return values unsigned long
75b3054d6807 ARM: dts: omap4-droid4: Fix emmc errors seen on some devices
d11237bdcf95 nvme-fcloop: Fix dropped LS's to removed target port
516b72e36ded ata: ftide010: Add a quirk for SQ201
46cb720a8a3e drm/amdgpu: Update power state at the end of smu hw_init.
50850b432cc5 drm/amdgpu: Enable/disable gfx PG feature in rlc safe mode
9190a7ea313f Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping"
d3ddd8e16cab hwmon: (adt7475) Make adt7475_read_word() return errors
0647ce03bd48 hwmon: (ina2xx) fix sysfs shunt resistor read access
59f5838cc950 crypto: cavium/nitrox - fix for command corruption in queue full case with backlog submissions.
243af256387c e1000: ensure to free old tx/rx rings in set_ringparam()
716865940461 e1000: check on netif_running() before calling e1000_up()
e8baff89bc3f net: hns: fix skb->truesize underestimation
333f26129fd9 net: hns: fix length and page_offset overflow when CONFIG_ARM64_64K_PAGES
92935e1c2a7e bpf: sockmap: write_space events need to be passed to TCP handler
f0a8c1257fc3 tls: possible hang when do_tcp_sendpages hits sndbuf is full case
97ee8505c637 isofs: reject hardware sector size > 2048 bytes
083be6fbfdcb thermal: of-thermal: disable passive polling when thermal zone is disabled
308206bd2770 qed: Avoid sending mailbox commands when MFW is not responsive
583f866501c1 qed: Prevent a possible deadlock during driver load and unload
73046b822c4c qed: Wait for MCP halt and resume commands to take place
33906ae926e0 qed: Wait for ready indication before rereading the shmem
38d070f9090a arm64: KVM: Tighten guest core register access from userspace
d428e43eb684 serial: imx: restore handshaking irq for imx1
016d4aae9d84 drm/i915: Remove vma from object on destroy, not close
d134e9170417 ovl: hash non-dir by lower inode for fsnotify
105470069de3 RDMA/uverbs: Atomically flush and mark closed the comp event queue
693536a7ce39 IB/hfi1: Fix context recovery when PBC has an UnsupportedVL
412a4b4db1a6 IB/hfi1: Invalid user input can result in crash
d9e49e9ed8d6 IB/hfi1: Fix SL array bounds check
fcbe49c82b82 IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop
3011b91478ff Input: elantech - enable middle button of touchpad on ThinkPad P72
9691f745e17a USB: remove LPM management from usb_driver_claim_interface()
be2360ed2d22 Revert "usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()"
ec6dc4b61c33 USB: usbdevfs: restore warning for nonsensical flags
25a8d4825165 USB: usbdevfs: sanitize flags more
67d8e231759f media: uvcvideo: Support realtek's UVC 1.5 device
1ddc0781c0ce slub: make ->cpu_partial unsigned int
e75c01761a11 usb: musb: dsps: do not disable CPPI41 irq in driver teardown
5b6717c6a3c0 USB: handle NULL config in usb_find_alt_setting()
4253abe6a3aa USB: fix error handling in usb_driver_claim_interface()
5eaaa5e9bd56 regulator: fix crash caused by null driver data
b6adc1f24bb3 spi: rspi: Fix interrupted DMA transfers
082e34f367a5 spi: rspi: Fix invalid SPI use during system suspend
6074b71d617d spi: sh-msiof: Fix handling of write value for SISTR register
d120858fca5f spi: sh-msiof: Fix invalid SPI use during system suspend
429773341c34 spi: tegra20-slink: explicitly enable/disable clock
dc89d37f9098 intel_th: Fix device removal logic
247cc73cd8f5 serial: cpm_uart: return immediately from console poll
2b7ba104769b tty: serial: lpuart: avoid leaking struct tty_struct
4fe780c1baec x86/mm: Expand static page table for fixmap space
04bc4dd86d0f floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl
f88e50ea0300 ARM: dts: dra7: fix DCAN node addresses
99795ed0c62d iio: 104-quad-8: Fix off-by-one error in register selection
a82a772da750 Input: xen-kbdfront - fix multi-touch XenStore node's locations
91e30cae8903 fs/lock: skip lock owner pid translation in case we are in init_pid_ns
0c4439c44416 EDAC: Fix memleak in module init error path
a4f7bea87887 nfsd: fix corrupted reply to badly ordered compound
de6ccdbd7734 gpio: Fix wrong rounding in gpio-menz127
5bcbbadf6ac5 module: exclude SHN_UNDEF symbols from kallsyms api
05f78b1a0e0c ASoC: dapm: Fix potential DAI widget pointer deref when linking DAIs
3fd534a5480e EDAC, i7core: Fix memleaks and use-after-free on probe and remove
c96c2f2b11b6 scsi: megaraid_sas: Update controller info during resume
a56b97a2fc2d iomap: complete partial direct I/O writes synchronously
13ab355240a9 scsi: bnx2i: add error handling for ioremap_nocache
d5963fae7f36 perf/x86/intel/lbr: Fix incomplete LBR call stack
85222eb56f2a MIPS: boot: fix build rule of vmlinux.its.S
b8e30b822d08 HID: hid-ntrig: add error handling for sysfs_create_group
69cb15d6596d arm: dts: mediatek: Add missing cooling device properties for CPUs
5ef7a3782de8 ARM: mvebu: declare asm symbols as character arrays in pmsu.c
e87efc44dd36 wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()
dad01c56989a brcmsmac: fix wrap around in conversion from constant to s16
62bd8064fa88 rndis_wlan: potential buffer overflow in rndis_wlan_auth_indication()
3c7f6b2cf6d6 ath10k: transmit queued frames after processing rx packets
c1283a6270a2 drm/sun4i: Fix releasing node when enumerating enpoints
3f7056e1822d net: phy: xgmiitorgmii: Check phy_driver ready before accessing
accb431813bf ath10k: protect ath10k_htt_rx_ring_free with rx_ring.lock
0f4ca55e441c net: phy: xgmiitorgmii: Check read_status results
8d9fd12b1eef ALSA: hda: Add AZX_DCAPS_PM_RUNTIME for AMD Raven Ridge
0ebe95dee2f2 media: tm6000: add error handling for dvb_register_adapter
0091a4ede783 drivers/tty: add error handling for pcmcia_loop_config
3af342f5ddbd staging: android: ashmem: Fix mmap size validation
1b16d06a9e27 media: omap3isp: zero-initialize the isp cam_xclk{a,b} initial data
daefaacc6e02 media: soc_camera: ov772x: correct setting of banding filter
381f8d235dd8 media: s3c-camif: ignore -ENOIOCTLCMD from v4l2_subdev_call for s_power
85d3dbd8e7f2 ALSA: snd-aoa: add of_node_put() in error path
3e3f075f72bd posix-timers: Sanitize overrun handling
a05bd4ba655f posix-timers: Make forward callback return s64
cf373da10039 iio: accel: adxl345: convert address field usage in iio_chan_spec
8cbb2f74c093 mtd: rawnand: atmel: add module param to avoid using dma
a838008bb11f s390/extmem: fix gcc 8 stringop-overflow warning
33cd135ebc97 s390/scm_blk: correct numa_node in scm_blk_dev_setup
98a34e26d93d s390/dasd: correct numa_node in dasd_alloc_queue
a4dbaf7c2de0 alarmtimer: Prevent overflow for relative nanosleep
9374ffc6f3d3 s390/sysinfo: add missing #ifdef CONFIG_PROC_FS
8deb5801f154 powerpc/powernv/ioda2: Reduce upper limit for DMA window size
45d3d58f9739 ath10k: sdio: set skb len for all rx packets
b31f41e02c80 ath10k: sdio: use same endpoint id for all packets in a bundle
149f530334f0 usb: wusbcore: security: cast sizeof to int for comparison
ebee32dd8f04 scsi: target: Avoid that EXTENDED COPY commands trigger lock inversion
336b73754169 scsi: ibmvscsi: Improve strings handling
1390c37d1670 scsi: klist: Make it safe to use klists in atomic context
bdfc40bc1b09 scsi: target/iscsi: Make iscsit_ta_authentication() respect the output buffer size
2cbead46fd4e ARM: dts: ls1021a: Add missing cooling device properties for CPUs
8430918a04e3 x86/entry/64: Add two more instruction suffixes
8e90c7ef50e2 ARM: hwmod: RTC: Don't assume lock/unlock will be called with irq enabled
0a29ab00339e x86/tsc: Add missing header to tsc_msr.c
23e4ab4069d1 media: staging/imx: fill vb2_v4l2_buffer field entry
6fd38ba41e34 media: fsl-viu: fix error handling in viu_of_probe()
769ae06e4442 powerpc/kdump: Handle crashkernel memory reservation failure
333cb98f393b IB/mlx4: Test port number before querying type.
1f94cf4c81cb media: exynos4-is: Prevent NULL pointer dereference in __isp_video_try_fmt()
0ca45668ecdb IB/core: type promotion bug in rdma_rw_init_one_mr()
eca859882359 RDMA/i40w: Hold read semaphore while looking after VMA
e862ab6b69c4 RDMA/bnxt_re: Fix a couple off by one bugs
e0ccd2360a47 md-cluster: clear another node's suspend_area after the copy is finished
e70f938a605a power: remove possible deadlock when unregistering power_supply
1117e411a46c s390/mm: correct allocate_pgste proc_handler callback
bc4ce060b305 iommu/msm: Don't call iommu_device_{,un}link from atomic context
96e878907c90 6lowpan: iphc: reset mac_header after decompress to fix panic
410534a34315 USB: serial: kobil_sct: fix modem-status error handling
90de5688afc3 Bluetooth: Add a new Realtek 8723DE ID 0bda:b009
834a9ef5f831 iommu/amd: make sure TLB to be flushed before IOVA freed
c7e653a24c18 power: vexpress: fix corruption in notifier registration
c1a630680c8b uwb: hwa-rc: fix memory leak at probe
72bad20e9316 serial: sh-sci: Stop RX FIFO timer during port shutdown
0470189cd9b9 misc: sram: enable clock before registering regions
914b4daa9b6d power: supply: axp288_charger: Fix initial constant_charge_current value
2efa4bd5aa9a staging: rts5208: fix missing error check on call to rtsx_write_register
6ecd10b1aa22 x86/numa_emulation: Fix emulated-to-physical node mapping
127cd4e23323 vmci: type promotion bug in qp_host_get_user_memory()
4804f372b53f tsl2550: fix lux1_input error in low light
db12e7d3e9bc iio: adc: ina2xx: avoid kthread_stop() with stale task_struct
29db2772349d crypto: skcipher - Fix -Wstringop-truncation warnings
3b65f403d7d0 Linux 4.14.73
97513162cd6d spi: Fix double IDR allocation with DT aliases
ed5e9462f661 tick/nohz: Prevent bogus softirq pending warning
3a411a04be4e iw_cxgb4: only allow 1 flush on user qps
956fa50745b3 vmw_balloon: include asm/io.h
23ac2a32b2f8 PCI: aardvark: Size bridges before resources allocation
fe87d18b1471 sched/fair: Fix vruntime_normalized() for remote non-migration wakeup
0d09307bc242 ext4: show test_dummy_encryption mount option in /proc/mounts
3dc006d212e3 ext4: don't mark mmp buffer head dirty
ba48e66e3f53 ext4: fix online resizing for bigalloc file systems with a 1k block size
6a4d7b584d38 ext4: fix online resize's handling of a too-small final block group
22654a3b4a30 ext4: recalucate superblock checksum after updating free blocks/inodes
779af00b3fa3 ext4: avoid arithemetic overflow that can trigger a BUG
3f9eafe8772f ext4: avoid divide by zero fault when deleting corrupted inline directories
31343d27f18f ext4: check to make sure the rename(2)'s destination is not freed
4334a6ae867a tty: vt_ioctl: fix potential Spectre v1
57c806be0160 drm/amdgpu: add new polaris pci id
5575041b09cd drm: udl: Destroy framebuffer only if it was initialized
c70d8a488a41 drm/vc4: Fix the "no scaling" case on multi-planar YUV formats
35e48a086071 drm/nouveau/drm/nouveau: Prevent handling ACPI HPD events too early
0f966da783a3 drm/nouveau/drm/nouveau: Use pm_runtime_get_noresume() in connector_detect()
409af02c200e drm/nouveau/drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement
9ac837e079a0 drm/nouveau/drm/nouveau: Don't forget to cancel hpd_work on suspend/unload
42387d8e4aef drm/nouveau: Fix deadlocks in nouveau_connector_detect()
7c1ca8fb8633 ocfs2: fix ocfs2 read block panic
1d7e23f9068f Revert "ubifs: xattr: Don't operate on deleted inodes"
44383139a39c scsi: target: iscsi: Use bin2hex instead of a re-implementation
755e45f3155c scsi: target: iscsi: Use hex2bin instead of a re-implementation
50ec69edf3f0 Revert "uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name"
13d216167d3d Revert "rpmsg: core: add support to power domains for devices"
6447b34fc270 mm: shmem.c: Correctly annotate new inodes for lockdep
7eba38a3f65d ring-buffer: Allow for rescheduling when removing pages
0e5cdbac0303 Revert "PCI: Add ACS quirk for Intel 300 series"
f3765abb60c7 spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers
5ca87a38202e xen/x86/vpmu: Zero struct pt_regs before calling into sample handling code
7eced4478f4e xen/netfront: don't bug in case of too many frags
e2d5285b98ef platform/x86: alienware-wmi: Correct a memory leak
ff6805037d83 ALSA: oxfw: fix memory leak of private data
08f4f8b93809 ALSA: oxfw: fix memory leak of discovered stream formats at error path
996899a9cbd8 ALSA: oxfw: fix memory leak for model-dependent data at error path
d9929097176d ALSA: fireworks: fix memory leak of response buffer at error path
40e2596f06b0 ALSA: firewire-tascam: fix memory leak of private data
933f20a61e26 ALSA: firewire-digi00x: fix memory leak of private data
70165a445b00 ALSA: fireface: fix memory leak in ff400_switch_fetching_mode()
352701c288c1 ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO
7c4881d64ed7 ALSA: bebob: use address returned by kmalloc() instead of kernel stack for streaming DMA mapping
16b8c03864b7 ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path
c7cf0304d41f ASoC: rsnd: fixup not to call clk_get/set under non-atomic
a388e6d7a822 ASoC: cs4265: fix MMTLR Data switch control
6ead7a8a4ec1 NFC: Fix the number of pipes
4a16b3cd084d NFC: Fix possible memory corruption when handling SHDLC I-Frame commands
18fef87e05d3 tls: clear key material from kernel memory when do_tls_setsockopt_conf fails
0c0334299a7e tls: zero the crypto information from tls_context before freeing
10cacaf13189 tls: don't copy the key out of tls12_crypto_info_aes_gcm_128
ee547ed7dee4 net/sched: act_sample: fix NULL dereference in the data path
b13f721a3409 udp6: add missing checks on edumux packet processing
ff64a1a2ca3d neighbour: confirm neigh entries when ARP packet is received
0f6f77f3b8f4 udp4: fix IP_CMSG_CHECKSUM for connected sockets
6f5ec16ee02b qmi_wwan: set DTR for modems in forced USB2 mode
f3aa1f3a1113 pppoe: fix reception of frames with no mac header
c0f2c063abc8 net: hp100: fix always-true check for link up state
9951e17efd05 net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT
bba90d3686fd ipv6: fix possible use-after-free in ip6_xmit()
13a47054f0b2 gso_segment: Reset skb->mac_len after modifying network header
(From OE-Core rev: 62c7a970de40e8c4d57cb6d3feebbfbcae089b27)
(From OE-Core rev: 17434b9c148d88e33dde7aa901c0a0423827e4e0)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latest -stable updates broke 4.14 -rt with some rtmutex
issues. We sync with the rt-stable tree to pickup the fix.
(From OE-Core rev: 8a172a8ac87cc63d6f89ff0f584a75fe7fcd10dd)
(From OE-Core rev: ff495ab238dc1fe0a669b4405c3b1a466ea2dbdd)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following fixes from 4.18 to 4.14 to remove beaglebone
configuration warnings:
1fb0b0379fb5 beaglebone: Clean up the cfg file
4176e7ded8e1 beaglebone: Drop the needless unsetting of the kernel options
65c209da574d beaglebone: Drop the obsolete kernel options
(From OE-Core rev: 2adec315b44dad0f99ad55e04b4e3b6608613147)
(From OE-Core rev: 1abca8bf4aa854bdf204d0426048c4895090428b)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recent kernels and the latest openssl we observe hangs when there
is not sufficient entropy in the system before crypto is used
(i.e. OpenVSwitch or openssh server).
This was mainly observed on qemuarm64, but can happen elsewhere. So
we enable CRYPTO_DEV_VIRTIO in the main virtio fragment and enable
PCI for qemuarm64 to ensure that entropy is available.
(From OE-Core rev: 8cc08e44cf3e969c124456d459c6c06a76cad018)
(From OE-Core rev: 76a51f21af63b99b71dce4f068a11c9073d0f1b2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Dropped 4.18 changes]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable releases up to v4.14.71 which comprise
the following commits:
1244bbb3e921 Linux 4.14.71
06274364edb4 mm: get rid of vmacache_flush_all() entirely
8b34a7b14ee7 autofs: fix autofs_sbi() does not check super block type
daf0ca743b28 tuntap: fix use after free during release
ab75811f7181 tun: fix use after free for ptr_ring
8626c40a3093 mtd: ubi: wl: Fix error return code in ubi_wl_init()
08fb833b40e3 ip: frags: fix crash in ip_do_fragment()
b3a0c61b7369 ip: process in-order fragments efficiently
c91f27fb5716 ip: add helpers to process in-order fragments faster.
04b28f406e86 ipv4: frags: precedence bug in ip_expire()
6b921536f170 net: sk_buff rbnode reorg
37c7cc80b1d7 net: add rb_to_skb() and other rb tree helpers
6bf32cda46eb net: pskb_trim_rcsum() and CHECKSUM_COMPLETE are friends
5123ffdad659 ipv6: defrag: drop non-last frags smaller than min mtu
3bde783eca23 net: modify skb_rbtree_purge to return the truesize of all purged skbs.
7750c414b89b net: speed up skb_rbtree_purge()
1c44969111cc ip: discard IPv4 datagrams with overlapping segments.
5fff99e88a1f inet: frags: fix ip6frag_low_thresh boundary
48c2afc16888 inet: frags: get rid of ipfrag_skb_cb/FRAG_CB
8291cd943a9b inet: frags: reorganize struct netns_frags
bd946fb5226e rhashtable: reorganize struct rhashtable layout
3226bdcb0448 ipv6: frags: rewrite ip6_expire_frag_queue()
085a0147447a inet: frags: do not clone skb in ip_expire()
990204ddc5f6 inet: frags: break the 2GB limit for frags storage
caa4249eca08 inet: frags: remove inet_frag_maybe_warn_overflow()
5b1b3ad46dd1 inet: frags: get rif of inet_frag_evicting()
bd3df633f17d inet: frags: remove some helpers
9aee41eff751 inet: frags: use rhashtables for reassembly units
33dc9f7c5d12 rhashtable: add schedule points
11be675bf0aa ipv6: export ip6 fragments sysctl to unprivileged users
266da0fb83f3 inet: frags: refactor lowpan_net_frag_init()
eb1686ae5e20 inet: frags: refactor ipv6_frag_init()
0512f7e93504 inet: frags: Convert timers to use timer_setup()
0cbf74b9519d inet: frags: refactor ipfrag_init()
673220d6417d inet: frags: add a pointer to struct netns_frags
6093d5abcf5a inet: frags: change inet_frags_init_net() return value
6f7bf899b92d drm/i915: set DP Main Stream Attribute for color range on DDI platforms
bdbf6e0b9326 RDMA/cma: Do not ignore net namespace for unbound cm_id
0d1d365d1d44 MIPS: WARN_ON invalid DMA cache maintenance, not BUG_ON
1181e8687a8d NFSv4.1: Fix a potential layoutget/layoutrecall deadlock
0983ef553d8f f2fs: fix to do sanity check with {sit,nat}_ver_bitmap_bytesize
7beff543897c mfd: ti_am335x_tscadc: Fix struct clk memory leak
b28c14ae3576 iommu/ipmmu-vmsa: Fix allocation in atomic context
1252c1daa9c3 f2fs: Fix uninitialized return in f2fs_ioc_shutdown()
9d54a48ef296 f2fs: fix to wait on page writeback before updating page
9e850bc7691a media: helene: fix xtal frequency setting at power on
5deea7d63ba1 partitions/aix: fix usage of uninitialized lv_info and lvname structures
f3677a5c7d08 partitions/aix: append null character to print data from disk
758289892a13 media: s5p-mfc: Fix buffer look up in s5p_mfc_handle_frame_{new, copy_time} functions
b0a6faaa6060 Input: atmel_mxt_ts - only use first T9 instance
e85940a5bb5f dm cache: only allow a single io_mode cache feature to be requested
94f885db2a18 net: dcb: For wild-card lookups, use priority -1, not 0
946cf3fe1be6 MIPS: generic: fix missing of_node_put()
e607db7ce984 MIPS: Octeon: add missing of_node_put()
7fb2b50ee596 f2fs: fix to do sanity check with reserved blkaddr of inline inode
ee5067c60606 tpm/tpm_i2c_infineon: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
cf503dbe5c22 tpm_tis_spi: Pass the SPI IRQ down to the driver
894b7c6584ed f2fs: fix to skip GC if type in SSA and SIT is inconsistent
7141f97cdd83 pktcdvd: Fix possible Spectre-v1 for pkt_devs
5f91efc475c8 f2fs: try grabbing node page lock aggressively in sync scenario
fd4e3615936c net: mvneta: fix mtu change on port without link
0cfe17c2a909 pinctrl/amd: only handle irq if it is pending and unmasked
acd73639c38c gpio: ml-ioh: Fix buffer underwrite on probe error path
1fc16c07d63b pinctrl: imx: off by one in imx_pinconf_group_dbg_show()
591ee8d9cd2f x86/mm: Remove in_nmi() warning from vmalloc_fault()
60deae3d9fc9 Bluetooth: hidp: Fix handling of strncpy for hid->name information
1dac27c707c8 ath10k: disable bundle mgmt tx completion event support
6158c2b70a8a tools/testing/nvdimm: kaddr and pfn can be NULL to ->direct_access()
383195f9feca scsi: 3ware: fix return 0 on the error path of probe
62128a8d8489 ata: libahci: Correct setting of DEVSLP register
7cadaaa96c07 ata: libahci: Allow reconfigure of DEVSLP register
3f3d6c0608b7 MIPS: Fix ISA virt/bus conversion for non-zero PHYS_OFFSET
1ed3a9307230 rpmsg: core: add support to power domains for devices
0e890d1cf491 wlcore: Set rx_status boottime_ns field on rx
bd21eb8aa705 ath10k: prevent active scans on potential unusable channels
2dacb8cc67ef ath9k_hw: fix channel maximum power level test
473983f319cc ath9k: report tx status on EOSP
40992419f135 macintosh/via-pmu: Add missing mmio accessors
968f03158db5 perf evlist: Fix error out while applying initial delay and LBR
cc33476b67b8 perf c2c report: Fix crash for empty browser
521aedea92cd NFSv4.0 fix client reference leak in callback
c39273ce0d85 perf tools: Allow overriding MAX_NR_CPUS at compile time
e296ac45b568 f2fs: fix defined but not used build warnings
e04910746abe f2fs: do not set free of current section
d85e49570227 f2fs: fix to active page in lru list for read path
ca21de151016 tty: rocket: Fix possible buffer overwrite on register_PCI
4bb1d3ec658c Drivers: hv: vmbus: Cleanup synic memory free path
eec63d96d0e4 firmware: vpd: Fix section enabled flag on vpd_section_destroy
16c6e01a4a98 uio: potential double frees if __uio_register_device() fails
2458e91302aa misc: ti-st: Fix memory leak in the error path of probe()
8e6ee30ad80f gpu: ipu-v3: default to id 0 on missing OF alias
3b9909896570 media: camss: csid: Configure data type and decode format properly
cb71229f6483 timers: Clear timer_base::must_forward_clk with timer_base::lock held
d1060bfcdc72 md/raid5: fix data corruption of replacements after originals dropped
1f6324f4ea5b scsi: target: fix __transport_register_session locking
3ddbcd49bbb3 blk-mq: fix updating tags depth
47a6917f4b72 net: phy: Fix the register offsets in Broadcom iProc mdio mux driver
6b7c7186c210 media: dw2102: Fix memleak on sequence of probes
cbd5e67820a9 media: davinci: vpif_display: Mix memory leak on probe error path
77e120a9c64a selftests/bpf: fix a typo in map in map test
274977d99c19 powerpc/powernv: Fix concurrency issue with npu->mmio_atsd_usage
16aa222d2293 gpio: tegra: Move driver registration to subsys_init level
fb281ed2e4dc Bluetooth: h5: Fix missing dependency on BT_HCIUART_SERDEV
0455f5d63b3e i2c: aspeed: Add an explicit type casting for *get_clk_reg_val
5ffdd121d0c4 ethtool: Remove trailing semicolon for static inline
96e5b8cc3cfd misc: mic: SCIF Fix scif_get_new_port() error handling
0b2d28449e68 ARC: [plat-axs*]: Enable SWAP
e5d857d5f1fc tpm: separate cmd_ready/go_idle from runtime_pm
64def6f35348 crypto: aes-generic - fix aes-generic regression on powerpc
0fad94cf1016 switchtec: Fix Spectre v1 vulnerability
ff225750dc4e x86/microcode: Update the new microcode revision unconditionally
05104410c9d1 x86/microcode: Make sure boot_cpu_data.microcode is up-to-date
1d92a611db50 cpu/hotplug: Prevent state corruption on error rollback
cb2625854091 cpu/hotplug: Adjust misplaced smb() in cpuhp_thread_fun()
cc4271088619 ALSA: hda - Fix cancel_work_sync() stall from jackpoll work
a709c46fdcd0 KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO instr
d5fca5314c4d KVM: s390: vsie: copy wrapping keys to right place
ae3968b41645 Btrfs: fix data corruption when deduplicating between different files
55bcfe019ac4 smb3: check for and properly advertise directory lease support
b0b69369eecc SMB3: Backup intent flag missing for directory opens with backupuid mounts
9efcaa7c4afb MIPS: VDSO: Match data page cache colouring when D$ aliases
492519107c9d android: binder: fix the race mmap and alloc_new_buf_locked
381992bcccac block: bfq: swap puts in bfqg_and_blkg_put
23ecbbad7bf9 nbd: don't allow invalid blocksize settings
425739151e03 scsi: lpfc: Correct MDS diag and nvmet configuration
d98b67089c0e i2c: i801: fix DNV's SMBCTRL register offset
831223b294f8 i2c: xiic: Make the start and the byte count write atomic
5dfe87ac34e2 Linux 4.14.70
ab088bc2911d arm64: Handle mismatched cache type
469c89aa5d7e arm64: Fix mismatched cache line size detection
0d2e80411a1a ASoC: wm8994: Fix missing break in switch
03717f80cf2c arm64: cpu_errata: include required headers
82a0e0f5cf40 x86: kvm: avoid unused variable warning
e02c9275beea kvm: x86: Set highest physical address bits in non-present/reserved SPTEs
39cff99ba469 Revert "ARM: imx_v6_v7_defconfig: Select ULPI support"
e37957305de3 irda: Only insert new objects into the global database via setsockopt
77be9452d0e5 irda: Fix memory leak caused by repeated binds of irda socket
63fd9d43c018 s390/lib: use expoline for all bcr instructions
9370868fd3ca kbuild: make missing $DEPMOD a Warning instead of an Error
1e0750745bdf drm/i915: Increase LSPCON timeout
13b23ccfa288 x86/xen: don't write ptes directly in 32-bit PV guests
d85c2999a7b5 x86/pae: use 64 bit atomic xchg function in native_ptep_get_and_clear
685a452ce3bf usb: dwc3: core: Fix ULPI PHYs and prevent phy_get/ulpi_init during suspend/resume
44e5d0b6ce63 HID: add quirk for another PIXART OEM mouse used by HP
801fc191bb15 mm: Fix devm_memremap_pages() collision handling
1508043c32a9 lightnvm: pblk: free padded entries in write buffer
fd8cb2e71cdd sched/deadline: Fix switching to -deadline
8d015a362a84 debugobjects: Make stack check warning more informative
448b5498f6c6 uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name
589a8eafc74e drm/amdgpu:add VCN booting with firmware loaded by PSP
4a4afcf76c96 drm/amdgpu:add VCN support in PSP driver
d47d14de2438 drm/amdgpu:add new firmware id for VCN
997157c4eb38 drm/amdgpu:add tmr mc address into amdgpu_firmware_info
65d20e40552f drm/amdgpu: update tmr mc address
f40ecf3fe04a drm/edid: Add 6 bpc quirk for SDC panel in Lenovo B50-80
d991f8ae4071 drm/amd/pp/Polaris12: Fix a chunk of registers missed to program
c46a1b2622fa drm/amdgpu: Fix RLC safe mode test in gfx_v9_0_enter_rlc_safe_mode
7e1a6951ca99 drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"
a35d3352434d ARM: rockchip: Force CONFIG_PM on Rockchip systems
1f62d35cd2e1 arm64: rockchip: Force CONFIG_PM on Rockchip systems
33f4c5c68044 btrfs: Don't remove block group that still has pinned down bytes
0cdbc3faf960 btrfs: relocation: Only remove reloc rb_trees if reloc control has been initialized
2f92584bf1f6 btrfs: replace: Reset on-disk dev stats value after replace
145b1f56b992 btrfs: Exit gracefully when chunk map cannot be inserted to the tree
80f97c79f3e1 kvm: nVMX: Fix fault vector for VMX operation at CPL > 0
1187e0186d81 KVM: vmx: track host_state.loaded using a loaded_vmcs pointer
0aa49a4ddc8e clk: rockchip: Add pclk_rkpwm_pmu to PMU critical clocks in rk3399
92ef9425c6e1 powerpc/pseries: Avoid using the size greater than RTAS_ERROR_LOG_MAX.
f3c124c3077d powerpc/64s: Make rfi_flush_fallback a little more robust
17b1473e6433 powerpc/platforms/85xx: fix t1042rdb_diu.c build errors & warning
e5f0192fe220 SMB3: Number of requests sent should be displayed for SMB3 not just CIFS
f6a01ab96067 smb3: fix reset of bytes read and written stats
9dd38052a3eb cfq: Suppress compiler warnings about comparisons
9b3fa26f0092 RDS: IB: fix 'passing zero to ERR_PTR()' warning
e33c8a2896ec selftests/powerpc: Kill child processes on SIGINT
c861151b1fe9 iommu/omap: Fix cache flushes on L2 table entries
0a65ab39f8b6 ASoC: rt5677: Fix initialization of rt5677_of_match.data
3e86f5157661 staging: comedi: ni_mio_common: fix subdevice flags for PFI subdevice
120130a75724 dm kcopyd: avoid softlockup in run_complete_job
50956ef66cdb PCI: mvebu: Fix I/O space end address calculation
301ae5910648 xen/balloon: fix balloon initialization for PVH Dom0
a333f3f2a255 Input: do not use WARN() in input_alloc_absinfo()
a9fac97e2e50 NFSv4: Fix error handling in nfs4_sp4_select_mode()
8ac6b147534c scsi: aic94xx: fix an error code in aic94xx_init()
24165131bcab ACPI / scan: Initialize status to ACPI_STA_DEFAULT
c953a5038d2d s390/dasd: fix panic for failed online processing
ab16afe8c624 s390/dasd: fix hanging offline processing due to canceled worker
d67c7c9dd14f block: bvec_nr_vecs() returns value for wrong slab
6952b4ed9e42 perf probe powerpc: Fix trace event post-processing
af675a6eefe9 powerpc: Fix size calculation using resource_size()
c20a5e06b750 powerpc/uaccess: Enable get_user(u64, *p) on 32-bit
47425c36d3fb f2fs: fix to clear PG_checked flag in set_page_dirty()
c2842800d6bd net/9p: fix error path of p9_virtio_probe
4cd195263e42 net/9p/trans_fd.c: fix race by holding the lock
5859129cf62e irqchip/bcm7038-l1: Hide cpu offline callback when building for !SMP
5e51aa84f4e8 perf tools: Check for null when copying nsinfo.
800dbcee10cd net: hns3: Fix for phy link issue when using marvell phy driver
a77439e5fb28 net: hns3: Fix for command format parsing error in hclge_is_all_function_id_zero
c16a0727c71a RDMA/hns: Fix usage of bitmap allocation functions return values
0c02e0c3fd13 tcp, ulp: add alias for all ulp modules
58de2cef2b68 netfilter: fix memory leaks on netlink_dump_start error
e4f419133dfa platform/x86: asus-nb-wmi: Add keymap entry for lid flip action on UX360
044e9463ec20 mfd: sm501: Set coherent_dma_mask when creating subdevices
ccf1ae823e4a ipvs: fix race between ip_vs_conn_new() and ip_vs_del_dest()
a2805f40c77e s390/kdump: Fix memleak in nt_vmcoreinfo
2b81b00edba1 netfilter: ip6t_rpfilter: set F_IFACE for linklocal addresses
f95c5cde34e8 platform/x86: intel_punit_ipc: fix build errors
e20c4abf9186 fs/dcache.c: fix kmemcheck splat at take_dentry_name_snapshot()
4570403f6e11 mm/fadvise.c: fix signed overflow UBSAN complaint
2dc61587a103 pwm: meson: Fix mux clock names
52ec8484a7c5 IB/hfi1: Invalid NUMA node information can cause a divide by zero
e5ef973b137f x86/mce: Add notifier_block forward declaration
b7540b6235f0 virtio: pci-legacy: Validate queue pfn
ab4bddc2d032 scripts: modpost: check memory allocation results
7bbf1e8a2471 fat: validate ->i_start before using
305277dae99e fs/proc/kcore.c: use __pa_symbol() for KCORE_TEXT list entries
68e787c3c800 hfsplus: fix NULL dereference in hfsplus_lookup()
003d4c3bf5a5 reiserfs: change j_timestamp type to time64_t
f552f8c28d34 fork: don't copy inconsistent signal handler state to child
8b89affb42ae sunrpc: Don't use stack buffer with scatterlist
ece4ba1c0c90 hfs: prevent crash on exit from failed search
7d6eba211a1a hfsplus: don't return 0 when fill_super() failed
d4e42116f77e cifs: check if SMB2 PDU size has been padded and suppress the warning
c9ba1b82ce96 net: sched: action_ife: take reference to meta module
e54c50709019 act_ife: fix a potential deadlock
cd7330c06195 act_ife: move tcfa_lock down to where necessary
8aa07625eb81 hv_netvsc: Fix a deadlock by getting rtnl lock earlier in netvsc_probe()
dadb0110a49d hv_netvsc: ignore devices that are not PCI
bf82c2cb1450 vhost: correctly check the iova range when waking virtqueue
fe0d111fea19 mlxsw: spectrum_switchdev: Do not leak RIFs when removing bridge
3c035a48e774 sctp: hold transport before accessing its asoc in sctp_transport_get_next
456e46f05b37 nfp: wait for posted reconfigs when disabling the device
8fed734df375 tipc: fix a missing rhashtable_walk_exit()
417b068a6a7a net/sched: act_pedit: fix dump of extended layered op
56af4184d356 vti6: remove !skb->ignore_df check from vti6_xmit()
e4b6c5fd31bd tcp: do not restart timewait timer on rst reception
3eada53de462 r8169: add support for NCube 8168 network card
d19688e347a1 qlge: Fix netdev features configuration.
7f1e6ec4ff12 net: sched: Fix memory exposure from short TCA_U32_SEL
cb765f5c3c5b net: macb: do not disable MDIO bus at open/close time
1ef819e411f8 net: bcmgenet: use MAC link status for fixed phy
a16405ad27f6 ipv4: tcp: send zero IPID for RST and ACK sent in SYN-RECV and TIME-WAIT state
a08d7ea10bc7 act_ife: fix a potential use-after-free
7fe7a0f4c5cf Linux 4.14.69
29245d36680e arm64: mm: always enable CONFIG_HOLES_IN_ZONE
3098933c1213 fs/quota: Fix spectre gadget in do_quotactl
0682e027f39d crypto: caam/qi - fix error path in xts setkey
ccb38942fbe1 crypto: caam/jr - fix descriptor DMA unmapping
be6f98b203d3 crypto: caam - fix DMA mapping direction for RSA forms 2 & 3
9f830cf2d510 crypto: vmx - Fix sleep-in-atomic bugs
300ec47ab8ea perf auxtrace: Fix queue resize
5a842ecca279 cap_inode_getsecurity: use d_find_any_alias() instead of d_find_alias()
d1a265da7b29 bcache: release dc->writeback_lock properly in bch_writeback_thread()
c8d875b471b6 libnvdimm: fix ars_status output length calculation
ff0791f467d0 getxattr: use correct xattr length
19b99719970b udlfb: set optimal write delay
d0f2eb3a419b fb: fix lost console when the user unplugs a USB adapter
9b0dd656d593 pwm: tiehrpwm: Fix disabling of output of PWMs
0ef9c771924d pwm: tiehrpwm: Don't use emulation mode bits to control PWM output
63bbaa1469e6 ubifs: Fix synced_i_size calculation for xattr inodes
8a23348d76a1 ubifs: xattr: Don't operate on deleted inodes
f6d7acc1d9ca ubifs: Check data node size before truncate
3259dd7176e4 Revert "UBIFS: Fix potential integer overflow in allocation"
a230db38a9fd ubifs: Fix memory leak in lprobs self-check
656d6e6f6d23 userns: move user access out of the mutex
b692c405a1ae sys: don't hold uts_sem while accessing userspace memory
c2ea292b1350 iommu/vt-d: Fix dev iotlb pfsid use
eb58c40465f3 iommu/vt-d: Add definitions for PFSID
7cf82f3b7a77 mm/tlb: Remove tlb_remove_table() non-concurrent condition
ddcb92700552 ARM: tegra: Fix Tegra30 Cardhu PCA954x reset
d453f04e813a NFSv4: Fix a sleep in atomic context in nfs4_callback_sequence()
c5759d5a7e6a NFSv4: Fix locking in pnfs_generic_recover_commit_reqs
bf23ba3737e0 NFSv4 client live hangs after live data migration recovery
ec13c53dc59f pnfs/blocklayout: off by one in bl_map_stripe()
ed480f2b9e86 block, bfq: return nbytes and not zero from struct cftype .write() method
fe806eb54bca xtensa: increase ranges in ___invalidate_{i,d}cache_all
0d78efe0412b xtensa: limit offsets in __loop_cache_{all,page}
025cc91f8c52 KVM: PPC: Book3S: Fix guest DMA when guest partially backed by THP pages
58936d4d7b14 KVM: VMX: fixes for vmentry_l1d_flush module parameter
015156f50179 PM / sleep: wakeup: Fix build error caused by missing SRCU support
924383edf44c cpufreq: governor: Avoid accessing invalid governor_data
256f63f52ec3 drivers/block/zram/zram_drv.c: fix bug storing backing_dev
8840ca570f2b ovl: fix wrong use of impure dir cache in ovl_iterate()
aa9ceea20788 mfd: hi655x: Fix regmap area declared size for hi655x
4f6789cad647 uprobes: Use synchronize_rcu() not synchronize_sched()
a36e2aa90576 livepatch: Validate module/old func name length
68a735eb9a16 printk/tracing: Do not trace printk_nmi_enter()
cbde057aa0e7 tracing/blktrace: Fix to allow setting same value
4c9016757e3b tracing: Do not call start/stop() functions when tracing_on does not change
2b4c940dccbe rtc: omap: fix potential crash on power off
bbac5374b537 vmw_balloon: fix VMCI use when balloon built into kernel
89667b269e87 vmw_balloon: VMCI_DOORBELL_SET does not check status
d3b403844db5 vmw_balloon: do not use 2MB without batching
9fd44e90903c vmw_balloon: fix inflation of 64-bit GFNs
c0a8e047734c extcon: Release locking when sending the notification of connector state
3f9481902f0b iio: ad9523: Fix return value for ad952x_store()
e4d3a25111dc iio: ad9523: Fix displayed phase
b86374912fee iio: sca3000: Fix missing return in switch
91b48a9ced06 Drivers: hv: vmbus: Reset the channel callback in vmbus_onoffer_rescind()
d286cfd45277 uart: fix race between uart_put_char() and uart_shutdown()
5044eb05026e dm crypt: don't decrease device limits
f961be894413 dm cache metadata: set dirty on all cache blocks after a crash
b7227e6044be dm cache metadata: save in-core policy_hint_size to on-disk superblock
3bef88257145 dm thin: stop no_space_timeout worker when switching to write-mode
4f4b1c5c4c8a dm integrity: change 'suspending' variable from bool to int
5f04d296f24b net/9p/trans_fd.c: fix race-condition by flushing workqueue before the kfree()
312479e06828 net/9p/client.c: version pointer uninitialized
f92953b0765b 9p/virtio: fix off-by-one error in sg list bounds check
4827a583871a fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed
390671089d62 9p: fix multiple NULL-pointer-dereferences
def89b81ef45 RDMA/rxe: Set wqe->status correctly if an unexpected response is received
bac5c3c122f4 ib_srpt: Fix a use-after-free in srpt_close_ch()
241e62005c74 cxl: Fix wrong comparison in cxl_adapter_context_get()
1eb08e7b192d powerpc/powernv/pci: Work around races in PCI bridge enabling
15677df25afc PCI: Add wrappers for dev_printk()
4bfd910e8fb3 powerpc/pseries: Fix endianness while restoring of r3 in MCE handler.
ed53c0ecc959 powerpc/fadump: handle crash memory ranges array index overflow
259c5122f3a8 Fix kexec forbidding kernels signed with keys in the secondary keyring to boot
f70805bef73e Replace magic for trusting the secondary keyring with #define
9cbb32610233 mailbox: xgene-slimpro: Fix potential NULL pointer dereference
c160382ab064 media: Revert "[media] tvp5150: fix pad format frame height"
fba6b7f4bbe2 libertas: fix suspend and resume for SDIO connected cards
7188f7416438 drm/i915/userptr: reject zero user_size
1e2698976822 block: really disable runtime-pm for blk-mq
0affbaece6d0 block: blk_init_allocated_queue() set q->fq as NULL in the fail case
cf12d0f9c0dc readahead: stricter check for bdi io_pages
8513c01ae15f mmc: renesas_sdhi_internal_dmac: fix #define RST_RESERVED_BITS
e7b6b3699b97 spi: cadence: Change usleep_range() to udelay(), for atomic context
dc9a7dd57f63 spi: spi-fsl-dspi: Fix imprecise abort on VF500 during probe
23554cab1ebd spi: pxa2xx: Add support for Intel Ice Lake
aa1d05c50483 spi: davinci: fix a NULL pointer dereference
4d3016e56c3d 9p/net: Fix zero-copy path in the 9p virtio transport
4a2262972b5d net: mac802154: tx: expand tailroom if necessary
54c0fa829d45 net: 6lowpan: fix reserved space for single frames
ee13f7edca58 Linux 4.14.68
77d1658e5dd1 gcc-plugins: Use dynamic initializers
616d41d1b408 gcc-plugins: Add include required by GCC release 8
73b2e7073b51 cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status
63a0f9de021a watchdog: Mark watchdog touch functions as notrace
f9f67667e0ae power: generic-adc-battery: check for duplicate properties copied from iio channels
54cecb7440bc power: generic-adc-battery: fix out-of-bounds write when copying channel properties
d2a97eba0c4e PM / clk: signedness bug in of_pm_clk_add_clks()
2adc2541a5c4 clk: rockchip: fix clk_i2sout parent selection bits on rk3399
ae302d685162 iscsi target: fix session creation failure handling
5b55b24cec4c scsi: core: Avoid that SCSI device removal through sysfs triggers a deadlock
c984f4d1d40a scsi: sysfs: Introduce sysfs_{un,}break_active_protection()
d071004e0249 scsi: mpt3sas: Fix _transport_smp_handler() error path
61ec14f42c84 tpm: Return the actual size when receiving an unsupported command
ba0797a8016c MIPS: lib: Provide MIPS64r6 __multi3() for GCC < 7
1c40cd97ffe3 MIPS: Change definition of cpu_relax() for Loongson-3
156b5e33ab12 MIPS: Always use -march=<arch>, not -<arch> shortcuts
62c59b1ddbdc MIPS: Correct the 64-bit DSP accumulator register size
4bdf9c175980 kprobes: Make list and blacklist root user read only
6ba27d3e2b4a kprobes/arm: Fix %p uses in error messages
0536c9e41f3f s390/pci: fix out of bounds access during irq setup
2ac8fbd174d7 s390/numa: move initial setup of node_to_cpumask_map
97e3dcc08e4e s390/qdio: reset old sbal_state flags
bcd169a2726a s390: fix br_r1_trampoline for machines without exrl
9fae74e9a441 s390/mm: fix addressing exception after suspend/resume
bbcbaf56ff4b x86/entry/64: Wipe KASAN stack shadow before rewind_stack_do_exit()
cf9fcdd6c2a2 hwmon: (nct6775) Fix potential Spectre v1
ec4034835eaf x86/speculation/l1tf: Increase l1tf memory limit for Nehalem+
f64979512c5e x86/spectre: Add missing family 6 check to microcode check
f822ceb82608 x86/irqflags: Mark native_restore_fl extern inline
53f01e2004ae x86/nmi: Fix NMI uaccess race against CR3 switching
fbd5b82d30d2 x86/vdso: Fix lsl operand order
42228037aa5f pinctrl: freescale: off by one in imx1_pinconf_group_dbg_show()
7806d2ef4904 ASoC: sirf: Fix potential NULL pointer dereference
2ef691428ee3 ASoC: zte: Fix incorrect PCM format bit usages
d1913b9e07e7 ASoC: dpcm: don't merge format from invalid codec dai
e16bbdeccdd7 b43/leds: Ensure NUL-termination of LED name string
f0f3784ee3e9 b43legacy/leds: Ensure NUL-termination of LED name string
f337a54878e2 udl-kms: avoid division
c0357c1895ae udl-kms: fix crash due to uninitialized memory
86c18c5a4bc5 udl-kms: handle allocation failure
29e641a3693a udl-kms: change down_interruptible to down
e8a3f3a03655 fuse: Add missed unlock_page() to fuse_readpages_fill()
ff4a71855d0a fuse: Fix oops at process_init_reply()
973206923812 fuse: umount should wait for all requests
fc17d7519e8e fuse: fix unlocked access to processing queue
cfb6eca6e4bb fuse: fix double request_end()
7d392674443c fuse: fix initial parallel dirops
eaebcf902ae0 fuse: Don't access pipe->buffers without pipe_lock()
c49505f6efb1 x86/kvm/vmx: Remove duplicate l1d flush definitions
933e1ab12051 KVM: x86: SVM: Call x86_spec_ctrl_set_guest/host() with interrupts disabled
cedb8037f069 x86/process: Re-export start_thread()
4587db4c2a95 x86/vdso: Fix vDSO build if a retpoline is emitted
310f2a6e3ad3 x86/speculation/l1tf: Suggest what to do on systems with too much RAM
59463ec29cac x86/speculation/l1tf: Fix off-by-one error when warning that system has too much RAM
7418d7086217 x86/speculation/l1tf: Fix overflow in l1tf_pfn_limit() on 32bit
e9afa7c1ef17 mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE
3e0994616d4a mm: move tlb_table_flush to tlb_flush_mmu_free
7d91aa5717db platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too
0c9bed369889 nvme-pci: add a memory barrier to nvme_dbbuf_update_and_check_event
509c0cdfb438 ext4: reset error code in ext4_find_entry in fallback
5043e05dd571 ext4: sysfs: print ext4_super_block fields as little-endian
7773a6d94896 ext4: check for NUL characters in extended attribute's name
bd0f93a630ff stop_machine: Atomically queue and wake stopper threads
e72107b2d995 stop_machine: Reflow cpu_stop_queue_two_works()
97f76f3bc406 s390/kvm: fix deadlock when killed by oom
4a06fdf2c490 KVM: arm/arm64: Skip updating PTE entry if no change
792a039415dc KVM: arm/arm64: Skip updating PMD entry if no change
75677d72be74 arm64: dts: rockchip: corrected uart1 clock-names for rk3328
5a56b307992e arm64: mm: check for upper PAGE_SHIFT bits in pfn_valid()
a8affa695373 kprobes/arm64: Fix %p uses in error messages
cd71265a8cd6 printk/nmi: Prevent deadlock when accessing the main log buffer in NMI
943276ef14c7 printk: Create helper function to queue deferred console handling
646e7c04803f printk: Split the code for storing a message into the log buffer
b48522b7887a iommu/arm-smmu: Error out only if not enough context interrupts
f91ca31f5379 Btrfs: fix btrfs_write_inode vs delayed iput deadlock
e7457f97d2af btrfs: don't leak ret from do_chunk_alloc
770025cc4b69 btrfs: use correct compare function of dirty_metadata_bytes
758f55f91833 smb3: fill in statfs fsid and correct namelen
66913d23eeda smb3: don't request leases in symlink creation and query
be1210c7758c smb3: Do not send SMB3 SET_INFO if nothing changed
82a856f52733 smb3: enumerating snapshots was leaving part of the data off end
d5f2790a7a1e cifs: check kmalloc before use
cba34b940773 cifs: add missing debug entries for kconfig options
cfcfbe08d298 mei: don't update offset in write
cf7ab2abc524 mm/memory.c: check return value of ioremap_prot
7bb880a11650 scsi: vmw_pvscsi: Return DID_RESET for status SAM_STAT_COMMAND_TERMINATED
4ce46fff750d scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO
a67aef68ef24 scsi: fcoe: drop frames in ELS LOGO error path
95239b2db50f scsi: fcoe: fix use-after-free in fcoe_ctlr_els_send
fbb37b72489d gpiolib-acpi: make sure we trigger edge events at least once on boot
1d7bf02d716d memcg: remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failure
47041cf42a47 drivers: net: lmc: fix case value for target abort error
28013eecf6a0 Squashfs: Compute expected length from inode size rather than block length
249778d9459a mm: delete historical BUG from zap_pmd_range()
8babbc02f893 squashfs metadata 2: electric boogaloo
dfa5c4bf8c94 enic: do not call enic_change_mtu in enic_probe
574a4f3e6173 sparc: use asm-generic version of msi.h
7c841ea7f8f1 sparc/time: Add missing __init to init_tick_ops()
24fab572ae7d arc: fix type warnings in arc/mm/cache.c
391e3007e447 arc: fix build errors in arc/include/asm/delay.h
aca05b1741d3 arc: [plat-eznps] fix printk warning in arc/plat-eznps/mtm.c
79f9c523ca43 arc: [plat-eznps] fix data type errors in platform headers
d267258ee192 ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc
2312e6a802b3 enic: handle mtu change for vf properly
d4f96c0515fc nfp: flower: fix port metadata conversion bug
bc928fdf5d1e bpf: use GFP_ATOMIC instead of GFP_KERNEL in bpf_parse_prog()
331c36cd01d8 ARC: dma [non-IOC] setup SMP_CACHE_BYTES and cache_line_size
49c1fba34589 Revert "MIPS: BCM47XX: Enable 74K Core ExternalSync for PCIe erratum"
9339ea7c92fc tools/power turbostat: Read extended processor family from CPUID
a73b6c4c2601 zswap: re-check zswap_is_full() after do zswap_shrink()
92c159863d8a ipc/sem.c: prevent queue.status tearing in semop
2dd2f7722570 hinic: Link the logical network device to the pci device in sysfs
d00c34f8e205 selftests/ftrace: Add snapshot and tracing_on test case
2c69b0300458 cachefiles: Wait rather than BUG'ing on "Unexpected object collision"
4029dd9fc48b cachefiles: Fix refcounting bug in backing-file read monitoring
819b476c2138 fscache: Allow cancelled operations to be enqueued
165335d4f18e x86/boot: Fix if_changed build flip/flop bug
d35aab9df15a sched/rt: Restore rt_runtime after disabling RT_RUNTIME_SHARE
0ba83f87c3f1 i2c/mux, locking/core: Annotate the nested rt_mutex usage
b3da5df23900 locking/rtmutex: Allow specifying a subclass for nested locking
354e35beb0c5 net: axienet: Fix double deregister of mdio
f63868841a31 qmi_wwan: fix interface number for DW5821e production firmware
637de2c01678 bnx2x: Fix invalid memory access in rss hash config path.
1875957f2ec4 media: staging: omap4iss: Include asm/cacheflush.h after generic includes
00f795e12b8b perf/x86/amd/ibs: Don't access non-started event
385b40b4fc1b i2c: davinci: Avoid zero value of CLKH
562d7bc6c966 can: m_can: Move accessing of message ram to after clocks are enabled
0b14a856f918 can: mpc5xxx_can: check of_iomap return before use
06ab42734529 net: prevent ISA drivers from building on PPC32
5803ce5effc9 atl1c: reserve min skb headroom
ffb34418ca94 qed: Correct Multicast API to reflect existence of 256 approximate buckets.
f4e284f1db9e qed: Fix possible race for the link state value.
77c65d5f40c6 qed: Fix link flap issue due to mismatching EEE capabilities.
b970d8a1c213 net: caif: Add a missing rcu_read_unlock() in caif_flow_cb
a10170d94ed4 tools/power turbostat: fix -S on UP systems
10ca6b3f92d3 KVM: vmx: use local variable for current_vmptr when emulating VMPTRST
123534dbd490 netfilter: nf_tables: don't allow to rename to already-pending name
4a0144a43c52 netfilter: nf_tables: fix memory leaks on chain rename
e3476a6da5d8 bpf, ppc64: fix unexpected r0=0 exit path inside bpf_xadd
a685c4c4d6e8 netfilter: nft_set_hash: add rcu_barrier() in the nft_rhash_destroy()
70e88fef36ec usb: gadget: f_uac2: fix endianness of 'struct cntrl_*_lay3'
7cd80fc138f2 tools: usb: ffs-test: Fix build on big endian systems
645fef5e8dde usb/phy: fix PPC64 build errors in phy-fsl-usb.c
a362655deb0e usb: gadget: u_audio: protect stream runtime fields with stream spinlock
c7d18686e87a usb: gadget: u_audio: remove cached period bytes value
42b09bece176 usb: gadget: u_audio: remove caching of stream buffer parameters
224c0d0894ff usb: gadget: u_audio: update hw_ptr in iso_complete after data copied
dc126a1e5fb8 usb: gadget: u_audio: fix pcm/card naming in g_audio_setup()
fa18ff7edb88 usb: gadget: f_uac2: fix error handling in afunc_bind (again)
43b058dc21cd usb: gadget: r8a66597: Fix a possible sleep-in-atomic-context bugs in r8a66597_queue()
3f41c2d0e618 usb: gadget: r8a66597: Fix two possible sleep-in-atomic-context bugs in init_controller()
05ee6166d702 nbd: handle unexpected replies better
ced413c5ef85 nbd: don't requeue the same request twice.
962ff36dac01 drm/imx: imx-ldb: check if channel is enabled before printing warning
a43eac2d855b drm/imx: imx-ldb: disable LDB on driver bind
9ac1a4644bb8 scsi: libiscsi: fix possible NULL pointer dereference in case of TMF
ca5fc53ad401 scsi: target: iscsi: cxgbit: fix max iso npdu calculation
384f0d9fe4ad drm/bridge: adv7511: Reset registers on hotplug
7cb625dd9ed6 nl80211: Add a missing break in parse_station_flags
147b89c421d0 ext4: clear mmp sequence number when remounting read-only
de044d4ecc65 mac80211: add stations tied to AP_VLANs during hw reconfig
b6f147a2d907 esp6: fix memleak on error path in esp6_input
0118f86d21f1 xfrm: free skb if nlsk pointer is NULL
d35cc7ed2cfe xfrm: fix missing dst_release() after policy blocking lbcast and multicast
d2adc199957f vti6: fix PMTU caching and reporting on xmit
7ff4bf211f3e crypto: vmx - Use skcipher for ctr fallback
(From OE-Core rev: 636ffaec45db57a3eb5ae1ca9a81b763dc1a6a53)
(From OE-Core rev: 02f3fa232c82674c72c03ffce8e6f3ad34e5ead6)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the reference BSPs for 4.14 need fixes that have been done
on 4.18 and master to silence warnings, so we cherry-pick the
following changes:
f991b21d7858 config: flash: drop obselete config values
da7524cf2980 edgerouter: Drop the obsolete kernel options
675c5b0cde65 cfg: drop MACH_VERSATILE_PB and MACH_VERSTAILE_AB
0936b18ed8d5 cfg/timer/rtc: toggle RTC_CLASS instead of GEN_RTC
634d8f2230d1 mpc8315e-rdb: Drop the obsolete kernel options
9beb3a28736e rt: drop obselete configuration options
(From OE-Core rev: bfe6a9b2d1a118791cebcd1019f3e80bced294c6)
(From OE-Core rev: d986ced945462164f7410a4df083b792e0f90cdf)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[
Author: Jens Rehsack <sno@netbsd.org>
Date: Thu Sep 13 19:29:54 2018 +0200
cfg/timer/rtc: toggle RTC_CLASS instead of GEN_RTC
In 2016, the final removal of GEN_RTC happened with commit
6705fdb3 char/genrtc: remove the rest of the driver
What is remaining, is a legacy driver (char/rtc) and the new
RTC_CLASS framework - which supports everything except S390
and Atari. Many platforms automatically support the right
driver for RTC_CLASS framework.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 7ddcba89a3bbed4b582768661585684ffdc85f31)
(From OE-Core rev: 924ce56ab8a957087906c97ffbfcf9a4a96e0d4f)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Drop 4.18 changes]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to address kernel configuration
audit warnings:
856794172e8f features/intel-pinctrl: Fix conflict with configs
397b67321037 bsp/intel-x86: Rename CONFIG_R8723BE to CONFIG_RTL8723BE
fca2a16483f2 features/thermal: Add dependency for kernel option
b6110e2e8e55 features/tpm: fix conflict with configs and add dependency
ee22bc1f8fcd features/mmc: modify dependency
e50eb6bd929b features: drop the obsolete kernel option
f5327047994f features/hostapd: drop obsolete configs
48b54e625876 bsp/intel-x86: Drop configs that has been removed by kernel
(From OE-Core rev: a49c66844c8c3a87f8383085661ff59bfb045452)
(From OE-Core rev: 73a4746a5d37ab4869b0eb17979dc9d8970f2ae3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Dropped 4.18 changes]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kernel mounts /proc and /sys with the mode 555. Fedora explicitly
sets this value in its filesystem setup package. Debian doesn't seem
to set it explictly. Having them be 755 causes permission issues on
upgrades inside a container where the guest does not have the
permission to change the modes of the mount points.
So, just bite the bullet and force them to be 555.
(From OE-Core rev: 7e311b0c7222fa9127a96945c9ded7bee5e40eb3)
(From OE-Core rev: 26d5ceb33425fa85bc84b825609e1b45b13d3ddd)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even on multilib systems, /usr/lib is where systemd expects the
os-release file to live.
(From OE-Core rev: b7b476efee8c959a0227905e40bd9b5ef493632d)
(From OE-Core rev: 0362788144c3eff36099d8812c85cc70e8736859)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly:
Volgograd moves from +03 to +04 on 2018-10-28.
Fiji ends DST 2019-01-13, not 2019-01-20.
Most of Chile changes DST dates, effective 2019-04-06.
Changes to future timestamps
Volgograd moves from +03 to +04 on 2018-10-28 at 02:00.
(Thanks to Alexander Fetisov and Stepan Golosunov.)
Fiji ends DST 2019-01-13 instead of the 2019-01-20 previously
predicted. (Thanks to Raymond Kumar.) Adjust future predictions
accordingly.
Most of Chile will end DST on the first Saturday in April at 24:00 mainland
time, and resume DST on the first Saturday in September at 24:00 mainland
time. The changes are effective from 2019-04-06, and do not affect the
Magallanes region modeled by America/Punta_Arenas. (Thanks to Juan Correa
and Tim Parenti.) Adjust future predictions accordingly.
Changes to past timestamps
The 2018-05-05 North Korea 30-minute time zone change took place
at 23:30 the previous day, not at 00:00 that day.
China's 1988 spring-forward transition was on April 17, not
April 10. Its DST transitions in 1986/91 were at 02:00, not 00:00.
(Thanks to P Chan.)
Fix several issues for Macau before 1992. Macau's pre-1904 LMT
was off by 10 s. Macau switched to +08 in 1904 not 1912, and
temporarily switched to +09/+10 during World War II. Macau
observed DST in 1942/79, not 1961/80, and there were several
errors for transition times and dates. (Thanks to P Chan.)
The 1948-1951 fallback transitions in Japan were at 25:00 on
September's second Saturday, not at 24:00. (Thanks to Phake Nick.)
zic turns this into 01:00 on the day after September's second
Saturday, which is the best that POSIX or C platforms can do.
Incorporate 1940-1949 Asia/Shanghai DST transitions from a 2014
paper by Li Yu, replacing more-questionable data from Shanks.
Changes to time zone abbreviations
Use "PST" and "PDT" for Philippine time. (Thanks to Paul Goyette.)
Changes to documentation
New restrictions: A Rule name must start with a character that
is neither an ASCII digit nor "-" nor "+", and an unquoted name
should not use characters in the set "!$%&'()*,/:;<=>?@[\]^`{|}~".
The latter restriction makes room for future extensions (a
possibility noted by Tom Lane).
tzfile.5 now documents what time types apply before the first and
after the last transition, if any.
Documentation now uses the spelling "timezone" for a TZ setting
that determines timestamp history, and "time zone" for a
geographic region currently sharing the same standard time.
The name "TZif" is now used for the tz binary data format.
tz-link.htm now mentions the A0 TimeZone Migration utilities.
(Thanks to Aldrin Martoq for the link.)
Changes to build procedure
New 'make' target 'rearguard_tarballs' to build the rearguard
tarball only. This is a convenience on platforms that lack lzip
if you want to build the rearguard tarball. (Problem reported by
Deborah Goldsmith.)
tzdata.zi is now more stable from release to release. (Problem
noted by Tom Lane.) It is also a bit shorter.
tzdata.zi now can contain comment lines documenting configuration
information, such as which data format was selected, which input
files were used, and how leap seconds are treated. (Problems
noted by Lester Caine and Brian Inglis.) If the Makefile defaults
are used these comment lines are absent, for backward
compatibility. A redistributor intending to alter its copy of the
files should also append "-LABEL" to the 'version' file's first
line, where "LABEL" identifies the redistributor's change.
(From OE-Core rev: 9d786808fb9471eff46d95dd354f6254e468aa17)
(From OE-Core rev: 7ac4ecb04f02a7df943d1f9f0542e28e8f414cc5)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
zic now always generates TZif files where time type 0 is used for
timestamps before the first transition. This simplifies the
reading of TZif files and should not affect behavior of existing
TZif readers because the same set of time types is used; only
their internal indexes may have changed. This affects only the
legacy zones EST5EDT, CST6CDT, MST7MDT, PST8PDT, CET, MET, and
EET, which previously used nonzero types for these timestamps.
Because of the type 0 change, zic no longer outputs a dummy
transition at time -2**59 (before the Big Bang), as clients should
no longer need this to handle historical timestamps correctly.
This reverts a change introduced in 2013d and shrinks most TZif
files by a few bytes.
zic now supports negative time-of-day in Rule and Leap lines, e.g.,
"Rule X min max - Apr lastSun -6:00 1:00 -" means the transition
occurs at 18:00 on the Saturday before the last Sunday in April.
This behavior was documented in 2018a but the code did not
entirely match the documentation.
localtime.c no longer requires at least one time type in TZif
files that lack transitions or have a POSIX-style TZ string. This
future-proofs the code against possible future extensions to the
format that would allow TZif files with POSIX-style TZ strings and
without transitions or time types.
A read-access subscript error in localtime.c has been fixed.
It could occur only in TZif files with timecnt == 0, something that
does not happen in practice now but could happen in future versions.
localtime.c no longer ignores TZif POSIX-style TZ strings that
specify only standard time. Instead, these TZ strings now
override the default time type for timestamps after the last
transition (or for all time stamps if there are no transitions),
just as DST strings specifying DST have always done.
leapseconds.awk now outputs "#updated" and "#expires" comments,
and supports leap seconds at the ends of months other than June
and December. (Inspired by suggestions from Chris Woodbury.)
(From OE-Core rev: 4670dcdb6e2504469c30ebed828d4702d8c0003c)
(From OE-Core rev: 9702041a732ca062a9899543d05e585c930407f3)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly:
North Korea switches back to +09 on 2018-05-05.
The main format uses negative DST again, for Ireland etc.
'make tarballs' now also builds a rearguard tarball.
New 's' and 'd' suffixes in SAVE columns of Rule and Zone lines.
Changes to past and future time stamps
North Korea switches back from +0830 to +09 on 2018-05-05.
(Thanks to Kang Seonghoon, Arthur David Olson, Seo Sanghyeon,
and Tim Parenti.)
Bring back the negative-DST changes of 2018a, except be more
compatible with data parsers that do not support negative DST.
Also, this now affects historical time stamps in Namibia and the
former Czechoslovakia, not just Ireland. The main format now uses
negative DST to model time stamps in Europe/Dublin (from 1971 on),
Europe/Prague (1946/7), and Africa/Windhoek (1994/2017). This
does not affect UT offsets, only time zone abbreviations and the
tm_isdst flag. Also, this does not affect rearguard or vanguard
formats; effectively the main format now uses vanguard instead of
rearguard format. Data parsers that do not support negative DST
can still use data from the rearguard tarball described below
(From OE-Core rev: f717eeff2d4823163cb72fb79101220cc48b3286)
(From OE-Core rev: 24227750484cca1c1fdf431751247960c19b926f)
Signed-off-by: Armin Kuster <akuster808@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to build procedure
The command 'make tarballs' now also builds the tarball
tzdataVERSION-rearguard.tar.gz, which is like tzdataVERSION.tar.gz
except that it uses rearguard format intended for trailing-edge
data parsers.
Changes to data format and to code
The SAVE column of Rule and Zone lines can now have an 's' or 'd'
suffix, which specifies whether the adjusted time is standard time
or daylight saving time. If no suffix is given, daylight saving
time is used if and only if the SAVE column is nonzero; this is
the longstanding behavior. Although this new feature is not used
in tzdata, it could be used to specify the legal time in Namibia
1994-2017, as opposed to the popular time (see below).
Changes to past time stamps
From 1994 through 2017 Namibia observed DST in winter, not summer.
That is, it used negative DST, as Ireland still does. This change
does not affect UTC offsets; it affects only the tm_isdst flag and
the abbreviation used during summer, which is now CAT, not WAST.
Although (as noted by Michael Deckers) summer and winter time were
both simply called "standard time" in Namibian law, in common
practice winter time was considered to be DST (as noted by Stephen
Colebourne). The full effect of this change is only in vanguard
format; in rearguard and main format, the tm_isdst flag is still
zero in winter and nonzero in summer.
In 1946/7 Czechoslovakia also observed negative DST in winter.
The full effect of this change is only in vanguard format; in
rearguard and main formats, it is modeled as plain GMT without
daylight saving. Also, the dates of some 1944/5 DST transitions
in Czechoslovakia have been changed.
(From OE-Core rev: aeb3d295581908ca9a9d8f1705f70b49b2de32e3)
(From OE-Core rev: a8f643726e991608d5595cd551a4c3e43a254d6a)
Signed-off-by: Armin Kuster <akuster808@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are both "curl" and "libcurl" CPEs in NVD.
All "curl" CVEs are now missed in the reports.
Hence, switch "CVE_PRODUCT" to a space separated list
of the items.
(From OE-Core rev: 69ff709c2450c42139fd9705e3a74464221ad754)
(From OE-Core rev: 5df0d75fe63a0e1ada396f5ecfa953ac63f65354)
Signed-off-by: Grygorii Tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are both "curl" and "libcurl" CPEs in NVD.
All "curl" CVEs are currently missing in the reports.
Hence, switch "CVE_PRODUCT" to a space separated list.
It is useful for recipes generating several packages,
that have different product names in NVD.
(From OE-Core rev: 404f75e026393ddc55da87f6f04fb1201cff4e11)
(From OE-Core rev: 667d5e77e1ce0f0e531ed87f6fc30e1d65b16759)
Signed-off-by: Grygorii Tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to handle distros which contain glibc 2.28 such as
Ubuntu 18.10.
(From OE-Core rev: 5c7d9abcd611d23d4340f9a0aee2564f72158a0b)
(From OE-Core rev: f01153e1782425756a40929ffb3fa72993b7a3b1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixed up for sumo context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recent kernels (i.e. 4.17+) the configuration phase of the kernel
will check for capabilities/options of the compiler for CVE and other
mitigation support.
For a general kernel, we want to ensure that CC is fully defined when
the config targets are invoked (so the proper compiler will be checked).
For linux-yocto, we also need to specify the compiler/tools dependencies
for the configme task since it executes before configure and hence the
main kernel build DEPENDS will not always be in the sysroot before it
executes. Without those dependencies the kernel will be incorrectly
configured (i.e. bison is missing) or the configuration will fail the
mitigation tests.
[YOCTO #12757]
(From OE-Core rev: ff1bdd75d50f0ebac3d599e461685ace29559a82)
(From OE-Core rev: ec5cc387ca6828c5dbb3d36c9a92e2d7654c616a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fix is similar to what was done for PowerPC32.
It solves below error, while compiling for PowerPC64,
-- snip --
| ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c: In function 'usage':
| ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:3: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
| fprintf(stderr,
| ^~~~~~~
| ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:3: warning: incompatible implicit declaration of built-in function 'fprintf'
| ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:3: note: include '<stdio.h>' or provide a declaration of 'fprintf'
| ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:11: error: 'stderr' undeclared (first use in this function)
| fprintf(stderr,
| ^~~~~~
-- snip --
(From OE-Core rev: 9f82bb4bf3d0ded246eb252b3f9b4b618b22fc95)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tests, like the one that compares the hashes for a list of files
against those stored in a .dat file, don't make sense for downstream
distros packaging perl.
Backport a patch from upstream that allows skipping of these tests at
runtime. Also remove the local patch trying to keep hashes up-to-date
for one of those tests.
Fixes [YOCTO #12787]
(From OE-Core rev: 557f4618b75b8739a647e46054ab587ae2bbdc25)
(From OE-Core rev: 7157e7804b21a84ecbd809b6e171106d7ddc86a6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BB_DONT_CACHE was not set for non-virtual recipes where PN != BPN, such
as quilt-native. Recipes that do not set BBCLASSEXTEND should always
have BB_DONT_CACHE set by externalsrc.
(From OE-Core rev: 4eff427a0ee629a1541a420a9591411648569a97)
(From OE-Core rev: 30b055d2296f060a4ca054d042f353a2153fdd4e)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous logic assumed that if $BUILD_IMAGES_FROM_FEEDS=1 then a
complete set of ipk feeds from which to build the image is already
present under $IPK_FEED_URIS at do_rootfs runtime.
$IPK_FEED_URIS usually contains "file://${DEPLOY_DIR_IPK}" which
renders the above assumption bad because some recipes in the current
build can contain code like do_install[nostamp] = "1" which will cause
rebuilds bumping $PR and invalidating the index.
Even when the index is manually re-created before an image build
("bitbake package-index"), the nostamp will cause failures because the
dependency gets rebuilt before do_rootfs in the "bitbake <image>" call.
So make the opkg rootfs index logic the same as for rpm/deb, to always
update the index in $DEPLOY_DIR_IPK to fix the above nostamp failure.
Feeds outside $DEPLOY_DIR_IPK added to $IPK_FEED_URIS continue to work
as usual, for eg. by using a http:// URI.
(From OE-Core rev: bce90f48d1cc136fdfdf98b3830f5d99e381271b)
(From OE-Core rev: 6e03d1d56587d93b9a9ec936ceb69350234c627a)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current handling of SIGTERM is incorrect as the process pid returned
by Popen call with shell setting to True is actualy the shell instead of
the qemu process. So use shlex to split cmd so that we can avoid using
shell=True. This ensures the child process is the actual qemu process.
Also, as we install a SIGTERM handler, we need handle the situation of
qemu terminated by SIGTERM, otherwise we will get ERROR message in such
case.
Besides, we have a problem that after running qemu, the terminal's behavior
is incorrect regarding long lines or long commands. Long commands or long
outputs should appear in multiple lines, but they appear in the same line,
overriding previous output. Use `tput smam' to fix this problem.
(From OE-Core rev: e8acef383767cfd1ef0c3d3c45d9d6eb1c83b3e7)
(From OE-Core rev: a2ee5c8a1ff449250e6f37fccf01b85a7361b24c)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add SIGTERM handler so that runqemu could clean things up correctly
when receving such signal.
This problem was originally observed when running testimage. On
some hosts, after running testimage task, the user has to manually
operate on the tap interface (e.g. `sudo ip link del tap0') in order
for the next runqemu command to launch successfully.
The problem is about runqemu, SIGTERM and network manager on the host.
In testimage task, the runqemu process will receive SIGTERM. In such
situation, its cleanup() function is not run, resulting in tap interface
not cleaned up. On some hosts, the network manager will bring down the
tap interface automatically, thus this problem. I saw this problem on
Fedora21.
I think we'd better just clean up the tap interface ourselves.
So this patch adds to runqemu a SIGTERM handler, in which the actual
qemu process is terminated and other things cleaned up.
(From OE-Core rev: 02709d4709c56f9b9095e3555da35b659b03a8a3)
(From OE-Core rev: 05c2a590980819e31acee29e1e7282d2ed3586b7)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* CVE-2018-1060
Prevent low-grade poplib REDOS:
The regex to test a mail server's timestamp is susceptible to
catastrophic backtracking on long evil responses from the server.
Happily, the maximum length of malicious inputs is 2K thanks
to a limit introduced in the fix for CVE-2013-1752.
* CVE-2018-1061
Prevent difflib REDOS
The default regex for IS_LINE_JUNK is susceptible to
catastrophic backtracking.
This is a potential DOS vector.
Replace it with an equivalent non-vulnerable regex.
Affects < 3.5.6rc1
CVE: CVE-2018-1060
CVE: CVE-2018-1061
Ref: https://access.redhat.com/security/cve/cve-2018-1060
Ref: https://access.redhat.com/security/cve/cve-2018-1061
(From OE-Core rev: 1461bcc72e6649920ecf4226e006e5667c48a21c)
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* CVE-2018-14404
A null pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEval()
function of libxml2 when parsing invalid XPath expression. Applications processing
untrusted XSL format inputs with the use of libxml2 library may be vulnerable to
denial of service attack due to crash of the application.
Affects libxml <= 2.9.8
CVE: CVE-2018-14404
Ref: https://access.redhat.com/security/cve/cve-2018-14404
(From OE-Core rev: 06d7f9039b005c2112e28336ac1c30e5120ec815)
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before this fix it is assumed that the removal of the
remote can only fail because there is not remote to remove. This
is a false assumption. Example error which would be ignored:
git -c core.fsyncobjectfiles=0 remote rm origin failed with exit code 1, output:
Note: A branch outside the refs/remotes/ hierarchy was not removed;
to delete it, use:
git branch -d master
error: could not lock config file config
error: Could not remove config section 'remote.origin'
Due to the masking of this error a stranger error will be
presented to the user, because this time we do not mask the
exception:
git -c core.fsyncobjectfiles=0 remote add --mirror=fetch origin https://github.com/ptsneves/tl-wn722.git failed with exit code 128, output:
fatal: remote origin already exists.
The most likely reason that the remote cannot be removed nor
modified is that the DL_DIR/git2 does not have permissions
compatible with the user running bitbake.
This commit fixes:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12728
(Bitbake rev: 67189588a68b9bcb39421ef12103507b4c8820c3)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When mount command is executed in rootfs module of initrd, eudev creates
a loop0 device node, applies rules and adds a inotify watch to it. Right
after this step, we execute finish which first tries to kill any running
udevd daemon before doing a switch_root.
In some cases, it is possible that switch_root is executed before
inotify_add_watch was actually processed which would lead to errors like:
| inotify_add_watch(6, /dev/loop0, 10) failed: No such file or directory
Make sure that we process all the events in queue before actually trying
to kill udevd to prevent this race.
Fixes [YOCTO #12861]
(From OE-Core rev: a85c34d263fcf1542bbedcaf1634302466bb20cf)
(From OE-Core rev: 196659ca05623996e2b36f7b1e52195a81fd3bdd)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* CVE-2017-7961
The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco has an
"outside the range of representable values of type long" undefined
behavior issue, which might allow remote attackers to cause a denial
of service (application crash) or possibly have unspecified other
impact via a crafted CSS file.
CVE: CVE-2017-7961
Ref: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-7961
(From OE-Core rev: 9b321cf141c3fa18d5b85f17ffe1710f4555ca49)
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* CVE-2018-9234
GnuPG 2.2.4 and 2.2.5 does not enforce a configuration in which key
certification requires an offline master Certify key, which results
in apparently valid certifications that occurred only with access to
a signing subkey.
Affects gnupg <= 2.2.5
CVE: CVE-2018-9234
Ref: https://access.redhat.com/security/cve/cve-2018-9234
(From OE-Core rev: af920831ed1ef607db195372f135cc56e9f53b41)
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove usage of a specific amount of memory and let it be controlled by
users. This was the default behaviour before it was changed by commit
3b79d9a78 that switched the wks file to be used for qemux86.
Also fixes the bitbake parsing issues seen because of memory starvation
using build appliance images.
Fixes [YOCTO #12894]
(From OE-Core rev: 18d6b668c52dc881cff7b107420e0de527eecce4)
(From OE-Core rev: a53026f03a1d07cef1d1590c689e036f3ee21026)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously cmake-dev held some files which should be in cmake.
- cmake.m4 should be in installed in cmake so it can be used out of the box
- nativesdk-specific OEToolchainConfig.cmake file used to be in cmake, but the
change of default packaging rules move it into cmake-dev. This recipe is the
exception and it should be moved back.
Add the extra paths to cmake, and clear FILES for cmake-dev to ensure nothing
else slips in.
(From OE-Core rev: a6ce79b87d3db57033a3d1710cb3292366a0a8f7)
(From OE-Core rev: 5f985f02a932ebce238a6b1c644d2e3179226aab)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kernel image can be 'vmlinuz' for 'bzImage' but the script is written to
support 'vmlinuz' only. When building with meta-intel on sumo branch, the
kernel image is now bzImage and the installation will fail. Add option to
install bzImage as well.
(From OE-Core rev: a702a5efdaece4197ceefec2a3b4c1e872e82f11)
Signed-off-by: Chong Yi Chai <chong.yi.chai@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Static PIE doesn't work entirely right in GCC 7, for example ldconfig on ARM
with the flags enabled will something segfault during initialisation.
To mitigate this until we have GCC 8 integrated, don't enable static PIE.
(From OE-Core rev: 502de6f5db232a104eb269782a690f52fd665ef4)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The environment was being cleared before the UI imports occurred which
caused problems for graphical UIs like taskexp. The full environment was
intended to be available to UI clients and it was only meant to be cleared
for the server/cooker, so tweak the code order so this is the case.
This fixes problems reported for taskexp.
[YOCTO #12670]
(Bitbake rev: 66ac33b6888edb7077b6e94a4d3d1e1d1d53c0c5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 15340edce23e63b060c75114d508e1f76757239c introduced a way which
allowed bitbake to be found from the PATH variable when directory
structures different from poky are used. This just drops a leftover
bitbake definition which made the earlier implementation meaningless
by reassigning the path relative to oe-core/meta.
[YOCTO #12942]
(Bitbake rev: 99321236c516277c9d423b1b355bbce1245d9923)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* CVE-2018-8740
In SQLite through 3.22.0, databases whose schema is corrupted
using a CREATE TABLE AS statement could cause a NULL pointer dereference,
related to build.c and prepare.c.
Affects sqlite3 <= 3.22.0
CVE: CVE-2018-8740
Ref: https://access.redhat.com/security/cve/cve-2018-8740
(From OE-Core rev: 0469c075d904026ec37214fb39397bb1cb07ab43)
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* CVE-2018-13785
In libpng 1.6.34, a wrong calculation of row_factor in the
png_check_chunk_length function (pngrutil.c) may trigger an
integer overflow and resultant divide-by-zero while processing
a crafted PNG file, leading to a denial of service.
(cherry picked from 8a05766cb74af05c04c53e6c9d60c13fc4d59bf2)
Affects libpng <= 1.6.34
CVE: CVE-2018-13785
Ref: https://access.redhat.com/security/cve/cve-2018-13785
(From OE-Core rev: 4cc1862695c6899b61e3900216376c1b2f338a19)
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable downloading of the vulnerability DB in do_check_cves() task.
When invoked in this task, cve-check-tool attempts re-download of the CVE DB
if the latter is older than certain threshold. While reasonable for a
stand-alone CVE checker, this behavior can cause errors in parallel builds
if the build time is longer than this threshold:
* Other tasks might be using the DB.
* Several packages can start the download of the same file at the same time.
This check is not really needed, as the DB has been downloaded by
cve_check_tool:do_populate_cve_db() which is a prerequisite of any do_build().
The DB will be at most (threshold + build_time) old.
(From OE-Core rev: 125789b6ee6d47ab84192230f63971c4e22418ba)
(From OE-Core rev: 2f84939b0e17dfba1fc43bf053871ea930d9a04c)
Signed-off-by: Konstantin Shemyak <konstantin.shemyak@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some backported patches fix multiple CVEs and list the corresponding
identifiers on multiple lines, rather than on a single line.
cve-check.bbclass yields false positive warnings when CVE IDs are
presented on multiple lines because re.search() returns only
the first match.
An example of this behavior may be found when running do_cve_check() on
the wpa-supplicant recipe while in the rocko branch. Only CVE-2017-13077
is reported to be patched by commit de57fd8, despite the patch including
fixes for a total of 9 CVEs.
This is resolved by iterating over all regular expression matches,
rather than just the first.
(From OE-Core rev: 8fb70ce2df66fc8404395ecbe66a75d0038f22dd)
(From OE-Core rev: 1c6ae927ca8acc1e5f362b1424b2c6a5da1e8be9)
Signed-off-by: Jon Szymaniak <jon.szymaniak.foss@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Test suite test_dbm failed after gdbm upgrtade to 13.1,
from 13.1, return value of some function are changed.
* gdbm_fetch, gdbm_firstkey, and gdbm_nextkey behavior
If the requested key was not found, these functions return datum with
dptr pointing to NULL and set gdbm_errno to GDBM_ITEM_NOT_FOUND (in
prior releases, gdbm_errno was set to GDBM_NO_ERROR),
(From OE-Core rev: 0952c190fc6aec333676ce3883e8232fa8595551)
(From OE-Core rev: a8cb9b68e91db42a17bfb54591e3ea91565f9241)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"Integer overflow in src/zm.c:zsdata() causes crash in sz and can leak
information to receiver."
Take a patch from Fedora to resolve CVE-2018-10195.
(From OE-Core rev: a7b50fcee9a295de57f743fa3637905992da722e)
(From OE-Core rev: 0a1ff2a8df4a4033b23ce1513ec02711005d6883)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integratign the korg -stable updates that comprise the following
commits:
1aa1166eface Linux 4.14.62
7d29fb53439c jfs: Fix inconsistency between memory allocation and ea_buf->max_size
59f35b983e8a xfs: don't call xfs_da_shrink_inode with NULL bp
6f021e4ef39a xfs: validate cached inodes are free when allocated
27c41b170183 xfs: catch inode allocation state mismatch corruption
a34399927da1 intel_idle: Graceful probe failure when MWAIT is disabled
d626ac9669f2 nvmet-fc: fix target sgl list on large transfers
4af9c61ad953 nvme-pci: Fix queue double allocations
12c058df8272 nvme-pci: allocate device queues storage space at probe
0ea7fcfc7fe6 Btrfs: fix file data corruption after cloning a range and fsync
ea464580fef7 i2c: imx: Fix reinit_completion() use
60baabc37bc1 ring_buffer: tracing: Inherit the tracing setting to next ring buffer
ff28e5cc58c2 ACPI / PCI: Bail early in acpi_pci_add_bus() if there is no ACPI handle
dd69abaccbf7 ext4: fix false negatives *and* false positives in ext4_check_descriptors()
09901e570c9e netlink: Don't shift on 64 for ngroups
2d898915ccf4 nohz: Fix missing tick reprogram when interrupting an inline softirq
e5bcbedadfd9 nohz: Fix local_timer_softirq_pending()
a6d9dacf4e44 genirq: Make force irq threading setup more robust
a96feef5b071 scsi: qla2xxx: Return error when TMF returns
f70766f1338d scsi: qla2xxx: Fix ISP recovery on unload
01cda405c88b scsi: qla2xxx: Fix NPIV deletion by calling wait_for_sess_deletion
43d7c954b22e scsi: qla2xxx: Fix unintialized List head crash
2ae6c0413b47 Linux 4.14.61
b4653a3ea3d7 scsi: sg: fix minor memory leak in error path
1a08888316d2 drm/vc4: Reset ->{x, y}_scaling[1] when dealing with uniplanar formats
51ef850c78bb crypto: padlock-aes - Fix Nano workaround data corruption
65be9cbe1224 RDMA/uverbs: Expand primary and alt AV port checks
4aa0acf29064 iwlwifi: add more card IDs for 9000 series
0eba9f5d3d48 userfaultfd: remove uffd flags from vma->vm_flags if UFFD_EVENT_FORK fails
a1b5bcffe4a4 audit: fix potential null dereference 'context->module.name'
e5a16c6a6707 kvm: x86: vmx: fix vpid leak
c1a29c2d00c6 x86/entry/64: Remove %ebx handling from error_entry/exit
7cf6b325f554 x86/apic: Future-proof the TSC_DEADLINE quirk for SKX
34a938cd3ad4 virtio_balloon: fix another race between migration and ballooning
45c8178cf69e net: socket: fix potential spectre v1 gadget in socketcall
c8159f9a1ae9 can: ems_usb: Fix memory leak on ems_usb_disconnect()
e7de67165efe squashfs: more metadata hardenings
953f918d548b squashfs: more metadata hardening
a766ccbf1d29 net/mlx5e: E-Switch, Initialize eswitch only if eswitch manager
e0638b6a054c rxrpc: Fix user call ID check in rxrpc_service_prealloc_one
83a46456c983 net: stmmac: Fix WoL for PCI-based setups
1828cb3d10d9 netlink: Fix spectre v1 gadget in netlink_create()
bcbdea137159 net: dsa: Do not suspend/resume closed slave_dev
8721f3608945 ipv4: frags: handle possible skb truesize change
fc63057d5fda inet: frag: enforce memory limits earlier
dc8edd08cd89 bonding: avoid lockdep confusion in bond_get_stats()
deaacd62c217 Linux 4.14.60
0a2f6725115d tcp: add one more quick ack after after ECN events
1f04d750f668 tcp: refactor tcp_ecn_check_ce to remove sk type cast
fd31083cbe05 tcp: do not aggressively quick ack after ECN events
1c005489fa98 tcp: add max_quickacks param to tcp_incr_quickack and tcp_enter_quickack_mode
5a1baf194475 tcp: do not force quickack when receiving out-of-order packets
fffd3058eaf4 netlink: Don't shift with UB on nlk->ngroups
e208cda5f10e netlink: Do not subscribe to non-existent groups
da970765b24c xen-netfront: wait xenbus state change when load module manually
7309441887f6 tcp_bbr: fix bw probing to raise in-flight data for very small BDPs
7f36a065963a NET: stmmac: align DMA stuff to largest cache line length
e071e2fdf45e net: mdio-mux: bcm-iproc: fix wrong getter and setter pair
ccdbe7e2374a net: lan78xx: fix rx handling before first packet is send
112e80ac8285 net: fix amd-xgbe flow-control issue
11b694387ab4 net: ena: Fix use of uninitialized DMA address bits field
1494a3a70ce0 ipv4: remove BUG_ON() from fib_compute_spec_dst
20556dc7f239 net: dsa: qca8k: Allow overwriting CPU port setting
2eda475b0849 net: dsa: qca8k: Add QCA8334 binding documentation
1fbc97b32b7e net: dsa: qca8k: Enable RXMAC when bringing up a port
62310e69f1ae net: dsa: qca8k: Force CPU port to its highest bandwidth
a61b3378b847 RDMA/uverbs: Protect from attempts to create flows on unsupported QP
b8e9dd160ca3 usb: gadget: udc: renesas_usb3: should remove debugfs
6aaaca7b81e4 ovl: Sync upper dirty data when syncing overlayfs
21b5b5e80bcf PCI: xgene: Remove leftover pci_scan_child_bus() call
011626d61a43 PCI: pciehp: Assume NoCompl+ for Thunderbolt ports
f547aa20b4f6 ext4: fix check to prevent initializing reserved inodes
dc1b4b710fbe ext4: check for allocation block validity with block group locked
cdcbe750acd6 ext4: fix inline data updates with checksums enabled
961f9feb4332 squashfs: be more careful about metadata corruption
af41fd042fc1 random: mix rdrand with entropy sent in from userspace
b8088c524ae2 block: reset bi_iter.bi_done after splitting bio
cc5d7097ba8f blkdev: __blkdev_direct_IO_simple: fix leak in error case
2258351cf086 block: bio_iov_iter_get_pages: fix size of last iovec
2488689fe468 drm/dp/mst: Fix off-by-one typo when dump payload table
2aa0e652bce1 drm/atomic-helper: Drop plane->fb references only for drm_atomic_helper_shutdown()
20f01a1b7b6d drm: Add DP PSR2 sink enable bit
a2fdb85a15eb ASoC: topology: Add missing clock gating parameter when parsing hw_configs
b754906cd9c9 ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()
e1d4f1e2856e media: si470x: fix __be16 annotations
98121d665d93 media: atomisp: compat32: fix __user annotations
a5ed99bc6f59 scsi: cxlflash: Avoid clobbering context control register value
bb7cccb01c84 scsi: cxlflash: Synchronize reset and remove ops
07b2a0d00183 scsi: megaraid_sas: Increase timeout by 1 sec for non-RAID fastpath IOs
0b45eb5a340d scsi: scsi_dh: replace too broad "TP9" string with the exact models
fb2b60e27a16 regulator: Don't return or expect -errno from of_map_mode()
4886bf00337f media: omap3isp: fix unbalanced dma_iommu_mapping
09740f513e3f crypto: authenc - don't leak pointers to authenc keys
a07fc8dd2bd4 crypto: authencesn - don't leak pointers to authenc keys
f17d397bfed4 usb: hub: Don't wait for connect state at resume for powered-off ports
d136b7ab24b8 microblaze: Fix simpleImage format generation
6cfd0d3c627f soc: imx: gpcv2: Do not pass static memory as platform data
62079c8371aa serial: core: Make sure compiler barfs for 16-byte earlycon names
41e1f1feee06 staging: lustre: ldlm: free resource when ldlm_lock_create() fails.
e906355a7f96 staging: lustre: llite: correct removexattr detection
fea5a0d87816 staging: vchiq_core: Fix missing semaphore release in error case
06d6d1ad241d audit: allow not equal op for audit by executable
e7cb8f11f6e2 rsi: fix nommu_map_sg overflow kernel panic
0be8aa812cef rsi: Fix 'invalid vdd' warning in mmc
e660508795d6 ipconfig: Correctly initialise ic_nameservers
18a48a7a4418 drm/gma500: fix psb_intel_lvds_mode_valid()'s return type
75d1087174d2 igb: Fix queue selection on MAC filters on i210
c7ab132d7e3d arm64: defconfig: Enable Rockchip io-domain driver
2ee4fbcd27f9 nvme: lightnvm: add granby support
503f22cf7b2a memory: tegra: Apply interrupts mask per SoC
9746d3696de9 memory: tegra: Do not handle spurious interrupts
c06f5a018f71 delayacct: Use raw_spinlocks
da2b62c740de stop_machine: Use raw spinlocks
4531135811a5 backlight: pwm_bl: Don't use GPIOF_* with gpiod_get_direction
232703c9091f dt-bindings: net: meson-dwmac: new compatible name for AXG SoC
c3b540c06954 net: hns3: Fixes the out of bounds access in hclge_map_tqp
17b26041363f spi: meson-spicc: Fix error handling in meson_spicc_probe()
c9e5888ec8ae dt-bindings: pinctrl: meson: add support for the Meson8m2 SoC
d6ce4f1bf79a mmc: pwrseq: Use kmalloc_array instead of stack VLA
f0b0debbb49d mmc: dw_mmc: update actual clock for mmc debugfs
ab76f866c8f0 ALSA: hda/ca0132: fix build failure when a local macro is defined
c6f9830cfb47 drm/atomic: Handling the case when setting old crtc for plane
cf0061396910 media: siano: get rid of __le32/__le16 cast warnings
4bbf1ce3a1e3 f2fs: avoid fsync() failure caused by EAGAIN in writepage()
15239633dc55 bpf: fix references to free_bpf_prog_info() in comments
b62ed0bbbd63 thermal: exynos: fix setting rising_threshold for Exynos5433
66eb9942673a staging: lustre: o2iblnd: Fix FastReg map/unmap for MLX5
52a21fcafa71 staging: lustre: o2iblnd: fix race at kiblnd_connect_peer
de3da42dc775 scsi: qedf: Set the UNLOADING flag when removing a vport
ad1562ae8135 scsi: hisi_sas: config ATA de-reset as an constrained command for v3 hw
13e4e358b94c scsi: megaraid: silence a static checker bug
ca588ff3e7d6 scsi: 3w-xxxx: fix a missing-check bug
a0e86c016bb4 scsi: 3w-9xxx: fix a missing-check bug
112f47373e36 bnxt_en: Check unsupported speeds in bnxt_update_link() on PF only.
c9b5d1519c24 perf: fix invalid bit in diagnostic entry
d5d8223d7c67 s390/cpum_sf: Add data entry sizes to sampling trailer entry
af5e8846a5e9 brcmfmac: Add support for bcm43364 wireless chipset
59d9b120600d mtd: rawnand: fsl_ifc: fix FSL NAND driver to read all ONFI parameter pages
d49f8498042a media: saa7164: Fix driver name in debug output
f3766ad7d325 media: media-device: fix ioctl function types
ce222fb1256b ACPI / LPSS: Only call pwm_add_table() for Bay Trail PWM if PMIC HRV is 2
885d2128ab7f libata: Fix command retry decision
adf9ceabfc16 media: rcar_jpu: Add missing clk_disable_unprepare() on error in jpu_open()
240bc678f726 net: phy: phylink: Release link GPIO
fa57e8d54494 dma-iommu: Fix compilation when !CONFIG_IOMMU_DMA
deb1feaad03a tty: Fix data race in tty_insert_flip_string_fixed_flag
731b918a624c i40e: free the skb after clearing the bitlock
6fdc5235693b nvmem: properly handle returned value nvmem_reg_read
901366594729 ARM: dts: sh73a0: Add missing interrupt-affinity to PMU node
9c552c4e262f ARM: dts: emev2: Add missing interrupt-affinity to PMU node
b565e4e9dd09 ARM: dts: stih407-pinctrl: Fix complain about IRQ_TYPE_NONE usage
d7ed9da96a8a EDAC, altera: Fix ARM64 build warning
d0eca5d32b11 HID: i2c-hid: check if device is there before really probing
83eef34c65f1 powerpc/embedded6xx/hlwd-pic: Prevent interrupts from being handled by Starlet
b42848b2a819 drm/amdgpu: Remove VRAM from shared bo domains.
14bedc05ab2d drm/radeon: fix mode_valid's return type
3ee32f73fc72 arm64: dts: renesas: salvator-common: use audio-graph-card for Sound
d85073283aa7 HID: hid-plantronics: Re-resend Update to map button for PTT products
6a43d5a3ca6c arm64: cmpwait: Clear event register before arming exclusive monitor
62a87c8759f2 media: atomisp: ov2680: don't declare unused vars
25436aa5c184 ALSA: usb-audio: Apply rate limit to warning messages in URB complete callback
d239ee35ddb2 net: ethernet: ti: cpsw-phy-sel: check bus_find_device() ret value
0bd08027bd19 media: smiapp: fix timeout checking in smiapp_read_nvm
41b16e6ec6a8 ixgbevf: fix MAC address changes through ixgbevf_set_mac()
7627ecfc4902 md: fix NULL dereference of mddev->pers in remove_and_add_spares()
1b3433cfa222 md/raid1: add error handling of read error from FailFast device
6192b115c58b regulator: pfuze100: add .is_enable() for pfuze100_swb_regulator_ops
9b56c4151ac2 ALSA: emu10k1: Rate-limit error messages about page errors
9f25b548732c rtc: tps65910: fix possible race condition
8f5e7596fe3a rtc: vr41xx: fix possible race condition
aca6728fa1ed rtc: tps6586x: fix possible race condition
192591ade6ec Bluetooth: btusb: add ID for LiteOn 04ca:301a
33775b07426b drm/nouveau/fifo/gk104-: poll for runlist update completion
fdb5207dc1f1 scsi: zfcp: assert that the ERP lock is held when tracing a recovery trigger
b095b5888eab scsi: ufs: fix exception event handling
c9f744135ad7 scsi: ufs: ufshcd: fix possible unclocked register access
63c7e58dab1e fscrypt: use unbound workqueue for decryption
1d6908ce90b5 net: hns3: Fix the missing client list node initialization
625d1e783375 spi: Add missing pm_runtime_put_noidle() after failed get
d0a963cf845c drivers/perf: arm-ccn: don't log to dmesg in event_init
cffbdb7702ba ima: based on policy verify firmware signatures (pre-allocated buffer)
945e6ce33d80 mwifiex: correct histogram data with appropriate index
a30ff89c34b8 net: dsa: qca8k: Add support for QCA8334 switch
082900a6d567 PCI: pciehp: Request control of native hotplug only if supported
39da0cf774db bpf: powerpc64: pad function address loads with NOPs
cf957ba7c6e8 pinctrl: at91-pio4: add missing of_node_put
210807e92b49 powerpc/8xx: fix invalid register expression in head_8xx.S
56a58a5395ab spi: sh-msiof: Fix setting SIRMDR1.SYNCAC to match SITMDR1.SYNCAC
7eda31872980 powerpc: Add __printf verification to prom_printf
566be4969b83 powerpc/powermac: Mark variable x as unused
d26f8af1a126 powerpc/powermac: Add missing prototype for note_bootable_part()
ee8c480702a6 powerpc/chrp/time: Make some functions static, add missing header include
c0ff32b7e852 powerpc/32: Add a missing include header
935674605cf8 ath: Add regulatory mapping for Bahamas
936058197fbb ath: Add regulatory mapping for Bermuda
c4b93c91bb63 ath: Add regulatory mapping for Serbia
aafbcce424ec ath: Add regulatory mapping for Tanzania
5e895c9cb8ca ath: Add regulatory mapping for Uganda
3c51226005d9 ath: Add regulatory mapping for APL2_FCCA
cdd106451c6a ath: Add regulatory mapping for APL13_WORLD
f198926d6a40 ath: Add regulatory mapping for ETSI8_WORLD
be1c9763cbc7 ath: Add regulatory mapping for FCC3_ETSIC
1afb8720b694 nvme-pci: Fix AER reset handling
4bb1acf80c7f nvme-rdma: stop admin queue before freeing it
2040b0d8c9c0 PCI: Prevent sysfs disable of device while driver is attached
d93663a78783 PM / wakeup: Make s2idle_lock a RAW_SPINLOCK
652b94b72696 x86/microcode: Make the late update update_lock a raw lock for RT
2737a4adec5a btrfs: qgroup: Finish rescan when hit the last leaf of extent tree
31371d2dad49 btrfs: add barriers to btrfs_sync_log before log_commit_wait wakeups
3bf165384e82 Btrfs: don't BUG_ON() in btrfs_truncate_inode_items()
ef61d940cd96 Btrfs: don't return ino to ino cache if inode item removal fails
9aecdc961e6a media: videobuf2-core: don't call memop 'finish' when queueing
b7ffc03574f8 media: tw686x: Fix incorrect vb2_mem_ops GFP flags
1a95962bf210 net: hns3: Fixes the init of the VALID BD info in the descriptor
6f8688bf299b wlcore: sdio: check for valid platform device data before suspend
852feed35dcd mwifiex: handle race during mwifiex_usb_disconnect
6648fdc71138 mfd: cros_ec: Fail early if we cannot identify the EC
3d4837733945 ASoC: dpcm: fix BE dai not hw_free and shutdown
5650a9be9635 Bluetooth: btusb: Add a new Realtek 8723DE ID 2ff8:b011
678e64c63217 Bluetooth: hci_qca: Fix "Sleep inside atomic section" warning
73425f6ad6eb iwlwifi: pcie: fix race in Rx buffer allocator
59b837d5927c btrfs: balance dirty metadata pages in btrfs_finish_ordered_io
233cba023484 PCI: Fix devm_pci_alloc_host_bridge() memory leak
f559bb20c1ae selftests: intel_pstate: return Kselftest Skip code for skipped tests
4312c2df0b7b selftests: memfd: return Kselftest Skip code for skipped tests
9c8f3af66282 selftests/intel_pstate: Improve test, minor fixes
596a9bfe8190 perf/x86/intel/uncore: Correct fixed counter index check for NHM
71b1bf6e9753 perf/x86/intel/uncore: Correct fixed counter index check in generic code
38c8c0a9709d usbip: dynamically allocate idev by nports found in sysfs
bc30588b8e08 usbip: usbip_detach: Fix memory, udev context and udev leak
63019044fb89 block, bfq: remove wrong lock in bfq_requests_merged
67226fb52c23 f2fs: fix race in between GC and atomic open
ad8d61efc9b7 f2fs: fix to detect failure of dquot_initialize
c92d09e35d2d f2fs: Fix deadlock in shutdown ioctl
4f979af7b0ad f2fs: fix to wait page writeback during revoking atomic write
de13b2ac741f f2fs: fix to don't trigger writeback during recovery
f3f029197738 f2fs: fix error path of move_data_page
122031c29202 disable loading f2fs module on PAGE_SIZE > 4KB
1339e2b8eaea pnfs: Don't release the sequence slot until we've processed layoutget on open
20fc8b34c195 netfilter: nf_tables: check msg_type before nft_trans_set(trans)
4f5fd8a1ae16 lightnvm: pblk: warn in case of corrupted write buffer
929e1a3906e1 RDMA/mad: Convert BUG_ONs to error flows
a23e1da9773b powerpc/64s: Fix compiler store ordering to SLB shadow area
0aceed2d7ec1 hvc_opal: don't set tb_ticks_per_usec in udbg_init_opal_common()
bc0b4615cc97 powerpc/eeh: Fix use-after-release of EEH driver
04cda3ac3312 powerpc/64s: Add barrier_nospec
47b356145017 powerpc/lib: Adjust .balign inside string functions for PPC32
e27dad1eb1ac infiniband: fix a possible use-after-free bug
848f260301d0 e1000e: Ignore TSYNCRXCTL when getting I219 clock attributes
4c717e335ae1 ceph: fix alignment of rasize
cdad03c1f21e bpf, arm32: fix inconsistent naming about emit_a32_lsr_{r64,i64}
8dcf2dbf65ef printk: drop in_nmi check from printk_safe_flush_on_panic()
2f6a38b131ab watchdog: da9063: Fix updating timeout value
d90c9b07cb32 irqchip/ls-scfg-msi: Map MSIs in the iommu
ff60eda50453 netfilter: ipset: List timing out entries with "timeout 1" instead of zero
52f072f580e4 netfilter: ipset: forbid family for hash:mac sets
a47ece2b17c2 perf tools: Fix pmu events parsing rule
6a929b97b777 rtc: ensure rtc_set_alarm fails when alarms are not supported
191d00f8c872 mm/slub.c: add __printf verification to slab_err()
b9d1724cf618 mm: vmalloc: avoid racy handling of debugobjects in vunmap
9e1a1fc0cd9b mm: /proc/pid/pagemap: hide swap entries from unprivileged users
9691035cbf72 kernel/hung_task.c: show all hung tasks before panic
827faa4eb566 vfio/type1: Fix task tracking for QEMU vCPU hotplug
8f38152f2ae2 vfio/mdev: Check globally for duplicate devices
ca014df110e9 vfio: platform: Fix reset module leak in error path
5a47fe3efd4d nfsd: fix potential use-after-free in nfsd4_decode_getdeviceinfo
baad2bf44770 NFSv4.1: Fix the client behaviour on NFS4ERR_SEQ_FALSE_RETRY
42b1df406a29 ALSA: fm801: add error handling for snd_ctl_add
40ff9a54dd9b ALSA: emu10k1: add error handling for snd_ctl_add
44a78f7d1757 skip LAYOUTRETURN if layout is invalid
0a84c912f575 hv_netvsc: fix network namespace issues with VF support
51b694070738 xen/netfront: raise max number of slots in xennet_get_responses()
a45f5ee6850b kcov: ensure irq code sees a valid area
73990abb1a04 mlxsw: spectrum_switchdev: Fix port_vlan refcounting
c1550e014135 arm64: fix vmemmap BUILD_BUG_ON() triggering on !vmemmap setups
4681e8820f99 tracing: Quiet gcc warning about maybe unused link variable
86428ec165ee tracing/kprobes: Fix trace_probe flags on enable_trace_kprobe() failure
f957456878eb kthread, tracing: Don't expose half-written comm when creating kthreads
10419b0c16d4 tracing: Fix possible double free in event_enable_trigger_func()
9158a7debe53 tracing: Fix double free of event_trigger_data
a2f85c02810f delayacct: fix crash in delayacct_blkio_end() after delayacct init failure
8eead4f5dea9 kvm, mm: account shadow page tables to kmemcg
ca6427facd96 Input: elan_i2c - add another ACPI ID for Lenovo Ideapad 330-15AST
e0e385e2126e Input: i8042 - add Lenovo LaVie Z to the i8042 reset list
b4667635de2e Input: elan_i2c - add ACPI ID for lenovo ideapad 330
c09032b71fc6 spi: spi-s3c64xx: Fix system resume support
e581f7c590cc drivers/infiniband/ulp/srpt/ib_srpt.c: fix build with gcc-4.4.4
1e8bb2e9c9df IB/srpt: Fix an out-of-bounds stack access in srpt_zerolength_write()
d02c9c8bfef1 drivers/infiniband/core/verbs.c: fix build with gcc-4.4.4
3af618717e71 RDMA/core: Avoid that ib_drain_qp() triggers an out-of-bounds stack access
c0b86d269bf0 i2c: core: decrease reference count of device node in i2c_unregister_device
2d5fc7ffa84b fork: unconditionally clear stack on fork
53208e12faa5 Linux 4.14.59
e94f784fddd5 turn off -Wattribute-alias
08382d3a1be2 can: m_can.c: fix setup of CCCR register: clear CCCR NISO bit before checking can.ctrlmode
a55d3d73d457 can: peak_canfd: fix firmware < v3.3.0: limit allocation to 32-bit DMA addr only
60454a9715df can: xilinx_can: fix RX overflow interrupt not being enabled
19c756e01b09 can: xilinx_can: fix incorrect clear of non-processed interrupts
189c7890f33b can: xilinx_can: keep only 1-2 frames in TX FIFO to fix TX accounting
96bf3257c866 can: xilinx_can: fix device dropping off bus on RX overrun
c5846b2fd57b can: xilinx_can: fix recovery from error states not being propagated
f820de2a08b6 can: xilinx_can: fix power management handling
464a3f9139f4 can: xilinx_can: fix RX loop if RXNEMP is asserted without RXOK
55cb8f40c8d7 driver core: Partially revert "driver core: correct device's shutdown order"
5421694d8cd7 usb: gadget: f_fs: Only return delayed status when len is 0
68fc92a0f391 usb: dwc2: Fix DMA alignment to start at allocated boundary
ac3f65c6b635 usb: core: handle hub C_PORT_OVER_CURRENT condition
e089c305af49 usb: cdc_acm: Add quirk for Castles VEGA3000
ab9489c4db89 staging: speakup: fix wraparound in uaccess length check
22e3d3178b18 tcp: add tcp_ooo_try_coalesce() helper
ec645ae62309 tcp: call tcp_drop() from tcp_data_queue_ofo()
6285a74a536f tcp: detect malicious patterns in tcp_collapse_ofo_queue()
81e6b01d1c10 tcp: avoid collapses in tcp_prune_queue() if possible
f3a5ba6310e1 tcp: free batches of packets in tcp_prune_ofo_queue()
ae70b6153197 tcp: do not delay ACK in DCTCP upon CE status change
78636179f6e6 tcp: do not cancel delay-AcK on DCTCP special ACK
f7f24b369383 tcp: helpers to send special DCTCP ack
68c9bdfc8b42 tcp: fix dctcp delayed ACK schedule
68974d0b9c86 vxlan: fix default fdb entry netlink notify ordering during netdev create
bb0335aacfdd vxlan: make netlink notify in vxlan_fdb_destroy optional
1c345a529258 vxlan: add new fdb alloc and create helpers
23557c5d34b9 rtnetlink: add rtnl_link_state check in rtnl_configure_link
464e2326a7f5 sock: fix sg page frag coalescing in sk_alloc_sg
50b464d33964 net: phy: consider PHY_IGNORE_INTERRUPT in phy_start_aneg_priv
46f9e1d0bd4e multicast: do not restore deleted record source filter mode to new one
6d5b7d68f45b net/ipv6: Fix linklocal to global address with VRF
047af2d8ced3 net/mlx5e: Fix quota counting in aRFS expire flow
c83cd44202b5 net/mlx5e: Don't allow aRFS for encapsulated packets
291d99ac4dc2 net/mlx5: Adjust clock overflow work period
f208fbad98fd net: skb_segment() should not return NULL
6e92f04a4fef net/mlx4_core: Save the qpn from the input modifier in RST2INIT wrapper
df20f746d68b ip: in cmsg IP(V6)_ORIGDSTADDR call pskb_may_pull
c2ce657fd68c ip: hash fragments consistently
f1fb27fc256c bonding: set default miimon value for non-arp modes if not set
7e454c18b76f drm/nouveau: Set DRIVER_ATOMIC cap earlier to fix debugfs
d0bd2c70ffcb drm/nouveau/drm/nouveau: Fix runtime PM leak in nv50_disp_atomic_commit()
58113603a4ea KVM: PPC: Check if IOMMU page is contained in the pinned physical page
14500f14e0b6 xen/PVH: Set up GS segment for stack canary
de019e7857fb MIPS: Fix off-by-one in pci_resource_to_user()
4c686d73bc3e MIPS: ath79: fix register address in ath79_ddr_wb_flush()
4168a8422364 Revert "cifs: Fix slab-out-of-bounds in send_set_info() on SMB2 ACE setting"
f952480a8fc1 Linux 4.14.58
3fcc143edcdd xhci: Fix perceived dead host due to runtime suspend race with event handler
ff42682f21d7 powerpc/powernv: Fix save/restore of SPRG3 on entry/exit from stop (idle)
ea8a50e5f829 cxl_getfile(): fix double-iput() on alloc_file() failures
b12c7d0847e2 alpha: fix osf_wait4() breakage
78cdeb665fb1 net: usb: asix: replace mii_nway_restart in resume path
bbf9b1a46420 ipv6: make DAD fail with enhanced DAD when nonce length differs
7c14cf21867c net: systemport: Fix CRC forwarding check for SYSTEMPORT Lite
65851c6b6d6e net/mlx4_en: Don't reuse RX page when XDP is set
7e7fefde7dec hv_netvsc: Fix napi reschedule while receive completion is busy
c7daaa272dda tg3: Add higher cpu clock for 5762.
c84c7d8383c2 qmi_wwan: add support for Quectel EG91
294dc77bb75e ptp: fix missing break in switch
811ad4b366a6 net: phy: fix flag masking in __set_phy_supported
78382d78bb4a net/ipv4: Set oif in fib_compute_spec_dst
829f4fd66354 skbuff: Unconditionally copy pfmemalloc in __skb_clone()
6403b54a4f7e net: Don't copy pfmemalloc flag in __copy_skb_header()
cc0ab64759c8 net: diag: Don't double-free TCP_NEW_SYN_RECV sockets in tcp_abort
cfb876dc3042 lib/rhashtable: consider param->min_size when setting initial table size
9f7276ce825b ipv6: ila: select CONFIG_DST_CACHE
a5d33d38bd37 ipv6: fix useless rol32 call on hash
0348dcd98af3 ipv4: Return EINVAL when ping_group_range sysctl doesn't map to user ns
c8347d91cfd7 gen_stats: Fix netlink stats dumping in the presence of padding
dd1363ca743e drm/nouveau: Avoid looping through fake MST connectors
22c4488c8649 drm/nouveau: Use drm_connector_list_iter_* for iterating connectors
387362c3ed80 drm/i915: Fix hotplug irq ack on i965/g4x
d21fb63010c4 stop_machine: Disable preemption when waking two stopper threads
9a2e4a01ded2 vfio/spapr: Use IOMMU pageshift rather than pagesize
a5b8eae53672 vfio/pci: Fix potential Spectre v1
dfc328156dde cpufreq: intel_pstate: Register when ACPI PCCH is present
70ef1db1f21d mm/huge_memory.c: fix data loss when splitting a file pmd
be2657752e9e mm: memcg: fix use after free in mem_cgroup_iter()
95c58105bd97 ARC: mm: allow mprotect to make stack mappings executable
3c732b3ab3a5 ARC: configs: Remove CONFIG_INITRAMFS_SOURCE from defconfigs
13e5197d7ef6 ARC: Fix CONFIG_SWAP
edb5e3eeb14a ARCv2: [plat-hsdk]: Save accl reg pair by default
a82d4478337a ALSA: hda: add mute led support for HP ProBook 455 G5
feefc072d10d ALSA: hda/realtek - Add Panasonic CF-SZ6 headset jack quirk
5d251646ab15 ALSA: rawmidi: Change resized buffers atomically
321089a0aa35 fat: fix memory allocation failure handling of match_strdup()
1450a7c5da03 x86/MCE: Remove min interval polling limitation
aa49e48232ee x86/events/intel/ds: Fix bts_interrupt_threshold alignment
b4108288eab8 x86/apm: Don't access __preempt_count with zeroed fs
3a46a033bfa8 KVM/Eventfd: Avoid crash when assign and deassign specific eventfd in parallel.
763ccb4d1980 scsi: sd_zbc: Fix variable type and bogus comment
ecc160ece609 Linux 4.14.57
779128d80cb0 string: drop __must_check from strscpy() and restore strscpy() usages in cgroup
96fd60c8160c arm64: KVM: Add ARCH_WORKAROUND_2 discovery through ARCH_FEATURES_FUNC_ID
1b749f8a2416 arm64: KVM: Handle guest's ARCH_WORKAROUND_2 requests
805357aa65bb arm64: KVM: Add ARCH_WORKAROUND_2 support for guests
0592871918f0 arm64: KVM: Add HYP per-cpu accessors
b769d86ea9d4 arm64: ssbd: Add prctl interface for per-thread mitigation
e7d02797288f arm64: ssbd: Introduce thread flag to control userspace mitigation
c5c89bb4deb8 arm64: ssbd: Restore mitigation status on CPU resume
02e26bd9ad58 arm64: ssbd: Skip apply_ssbd if not using dynamic mitigation
8d6907af4583 arm64: ssbd: Add global mitigation state accessor
45808ab2f924 arm64: Add 'ssbd' command-line option
837c87c233c1 arm64: Add ARCH_WORKAROUND_2 probing
1bffd4869011 arm64: Add per-cpu infrastructure to call ARCH_WORKAROUND_2
5ad09d2abb5a arm64: Call ARCH_WORKAROUND_2 on transitions between EL0 and EL1
1de2719134b5 arm/arm64: smccc: Add SMCCC-specific return codes
2cdc2e62a6ac KVM: arm64: Avoid storing the vcpu pointer on the stack
dca7815605af KVM: arm/arm64: Do not use kern_hyp_va() with kvm_vgic_global_state
e77175fafa7d arm64: alternatives: Add dynamic patching feature
286950e0831b KVM: arm64: Stop save/restoring host tpidr_el1 on VHE
0dac9f10d952 arm64: alternatives: use tpidr_el2 on VHE hosts
6256b86e8519 KVM: arm64: Change hyp_panic()s dependency on tpidr_el2
8ad56472d67c KVM: arm/arm64: Convert kvm_host_cpu_state to a static per-cpu allocation
ed812b882599 KVM: arm64: Store vcpu on the stack during __guest_enter()
115df2a7c5ba net/nfc: Avoid stalls when nfc_alloc_send_skb() returned NULL.
a4b57440d971 rds: avoid unenecessary cong_update in loop transport
1bbe05e27af1 bdi: Fix another oops in wb_workfn()
28c74ff85efd netfilter: ipv6: nf_defrag: drop skb dst before queueing
b124e97f3ef5 nsh: set mac len based on inner packet
00235ab80007 autofs: fix slab out of bounds read in getname_kernel()
30a7a7b04f8b tls: Stricter error checking in zerocopy sendmsg path
d9bb71d76c07 KEYS: DNS: fix parsing multiple options
cba5008502f2 reiserfs: fix buffer overflow with long warning messages
766a7ad6639b netfilter: ebtables: reject non-bridge targets
b5199c61e95c PCI: hv: Disable/enable IRQs rather than BH in hv_compose_msi_msg()
aa6be396714c block: do not use interruptible wait anywhere
f1059632a4fc mtd: rawnand: denali_dt: set clk_x_rate to 200 MHz unconditionally
c4bfed85bae8 crypto: af_alg - Initialize sg_num_bytes in error code path
16b3ae12337e clocksource: Initialize cs->wd_list
a406abeb7416 media: rc: oops in ir_timer_keyup after device unplug
67f7c68a9085 xhci: Fix USB3 NULL pointer dereference at logical disconnect.
2be27d444f61 net: lan78xx: Fix race in tx pending skb size calculation
12c0949a0745 rtlwifi: rtl8821ae: fix firmware is not ready to run
ee8d2e719c1e rtlwifi: Fix kernel Oops "Fw download fail!!"
3caea5150c15 net: cxgb3_main: fix potential Spectre v1
d8530e891edd VSOCK: fix loopback on big-endian systems
7eba6537c3d1 vhost_net: validate sock before trying to put its fd
2dc4696ee6d9 tcp: prevent bogus FRTO undos with non-SACK flows
3373d6d056d7 tcp: fix Fast Open key endianness
4f5f7bce308e strparser: Remove early eaten to fix full tcp receive buffer stall
32761addd300 stmmac: fix DMA channel hang in half-duplex mode
5e90946baa57 r8152: napi hangup fix after disconnect
d8c1603d0bb4 qmi_wwan: add support for the Dell Wireless 5821e module
dd537828bf73 qed: Limit msix vectors in kdump kernel to the minimum required count.
023a2043bc8a qed: Fix use of incorrect size in memcpy call.
4c2849931b23 qed: Fix setting of incorrect eswitch mode.
d725fde81ffc qede: Adverstise software timestamp caps when PHC is not available.
35e324ebeee0 net/tcp: Fix socket lookups with SO_BINDTODEVICE
b3c66b54d8fe net: sungem: fix rx checksum support
b36f997add36 net_sched: blackhole: tell upper qdisc about dropped packets
5e6b4b9b28b7 net/packet: fix use-after-free
ddbbd3e05743 net: mvneta: fix the Rx desc DMA address in the Rx path
7ae129dd6778 net/mlx5: Fix wrong size allocation for QoS ETC TC regitster
46ff2bc7aeb1 net/mlx5: Fix required capability for manipulating MPFS
8b7b5f76693c net/mlx5: Fix incorrect raw command length parsing
075b50381248 net/mlx5: Fix command interface race in polling mode
c3994f4f8bda net/mlx5: E-Switch, Avoid setup attempt if not being e-switch manager
b216867c02ac net/mlx5e: Don't attempt to dereference the ppriv struct if not being eswitch manager
1d8dda4444fa net/mlx5e: Avoid dealing with vport representors if not being e-switch manager
f389c17b8dc5 net: macb: Fix ptp time adjustment for large negative delta
b364a914c499 net: fix use-after-free in GRO with ESP
fb6b14663d56 net: dccp: switch rx_tstamp_last_feedback to monotonic clock
a3225a836e56 net: dccp: avoid crash in ccid3_hc_rx_send_feedback()
a2e53d69f685 ixgbe: split XDP_TX tail and XDP_REDIRECT map flushing
f5a42d63f0d4 ipvlan: fix IFLA_MTU ignored on NEWLINK
d10c0baaae3f ipv6: sr: fix passing wrong flags to crypto_alloc_shash()
e34e92d8b689 hv_netvsc: split sub-channel setup into async and sync
43c9207d0296 atm: zatm: Fix potential Spectre v1
f93d65939a4a atm: Preserve value of skb->truesize when accounting to vcc
c62e2f087af1 alx: take rtnl before calling __alx_open from resume
03bb9187754e crypto: crypto4xx - fix crypto4xx_build_pdr, crypto4xx_build_sdr leak
996a6a393b3f crypto: crypto4xx - remove bad list_del
dc3782a3e9c6 PCI: exynos: Fix a potential init_clk_resources NULL pointer dereference
b1c3ce0cfff2 bcm63xx_enet: do not write to random DMA channel on BCM6345
b913a05ab75e bcm63xx_enet: correct clock usage
1ccab2bf726e ocfs2: ip_alloc_sem should be taken in ocfs2_get_block()
c59a8f13f36b ocfs2: subsystem.su_mutex is required while accessing the item->ci_parent
f5778c2d657e xprtrdma: Fix corner cases when handling device removal
1083a7e8130c cpufreq / CPPC: Set platform specific transition_delay_us
61a9f6b7fe0c Btrfs: fix duplicate extents after fsync of file with prealloc extents
edefb935700c x86/paravirt: Make native_save_fl() extern inline
92e50158fc0a x86/asm: Add _ASM_ARG* constants for argument registers to <asm/asm.h>
779145a6f6ec compiler-gcc.h: Add __attribute__((gnu_inline)) to all inline declarations
cff26c95b24c Linux 4.14.56
eab3a3412215 f2fs: give message and set need_fsck given broken node id
d2c18ad18cc7 loop: remember whether sysfs_create_group() was done
e8484443c9db RDMA/ucm: Mark UCM interface as BROKEN
140eae92cf70 PM / hibernate: Fix oops at snapshot_write()
6f9f5797fc7d loop: add recursion validation to LOOP_CHANGE_FD
348b32aa3a37 netfilter: x_tables: initialise match/target check parameter struct
e5ee20c65b34 netfilter: nf_queue: augment nfqa_cfg_policy
0032322689bb uprobes/x86: Remove incorrect WARN_ON() in uprobe_init_insn()
19f39eff68b4 crypto: x86/salsa20 - remove x86 salsa20 implementations
2a017ea2ea14 nvme-pci: Remap CMB SQ entries on every controller reset
54ca2776fcca xen: setup pv irq ops vector earlier
f47f1f976745 iw_cxgb4: correctly enforce the max reg_mr depth
33beaca902a6 i2c: tegra: Fix NACK error handling
ac5270d4bd46 IB/hfi1: Fix incorrect mixing of ERR_PTR and NULL return values
e61f8cb63ede tools build: fix # escaping in .cmd files for future Make
d8148f732748 arm64: neon: Fix function may_use_simd() return error status
324881805629 kbuild: delete INSTALL_FW_PATH from kbuild documentation
36244e3a60cf tracing: Reorder display of TGID to be after PID
81ebc9decd16 mm: do not bug_on on incorrect length in __mm_populate()
ff62981880d1 fs, elf: make sure to page align bss in load_elf_library
e6f011384c92 fs/proc/task_mmu.c: fix Locked field in /proc/pid/smaps*
684a2d8ed53f mm: do not drop unused pages when userfaultd is running
f329f46764b1 ALSA: hda - Handle pm failure during hotplug
11c6be539e1a ALSA: hda/realtek - two more lenovo models need fixup of MIC_LOCATION
e58114824fa6 scsi: megaraid_sas: fix selection of reply queue
c3aa570dd539 scsi: megaraid_sas: Create separate functions to allocate ctrl memory
fda0eab89ccf scsi: megaraid_sas: replace is_ventura with adapter_type checks
90229163fa6c scsi: megaraid_sas: replace instance->ctrl_context checks with instance->adapter_type
d7e6dcdaa3ea scsi: megaraid_sas: use adapter_type for all gen controllers
ef86f3a72adb genirq/affinity: assign vectors to all possible CPUs
298243a5fb64 Fix up non-directory creation in SGID directories
a6d26649fda0 devpts: resolve devpts bind-mounts
cd360be6488c devpts: hoist out check for DEVPTS_SUPER_MAGIC
7499390b8ba5 xhci: xhci-mem: off by one in xhci_stream_id_to_ring()
55f51e5b4cff usb: quirks: add delay quirks for Corsair Strafe
82b9cb4d3f06 USB: serial: mos7840: fix status-register error handling
90f2a76ccd37 USB: yurex: fix out-of-bounds uaccess in read handler
f24b02c3a081 USB: serial: keyspan_pda: fix modem-status error handling
7aa69d8f50be USB: serial: cp210x: add another USB ID for Qivicon ZigBee stick
7ce4add980f5 USB: serial: ch341: fix type promotion bug in ch341_control_in()
1fb3563fac7e ahci: Disable LPM on Lenovo 50 series laptops with a too old BIOS
1e39eb1bb1c0 vmw_balloon: fix inflation with batching
33b9257a64fe ata: Fix ZBC_OUT all bit handling
aae31a169efb ata: Fix ZBC_OUT command block check
a3bb42c1bc6c staging: r8822be: Fix RTL8822be can't find any wireless AP
e5bb39faedd7 staging: rtl8723bs: Prevent an underflow in rtw_check_beacon_data().
908bfe10dd14 ibmasm: don't write out of bounds in read handler
ccb242ec5020 mmc: dw_mmc: fix card threshold control configuration
2c9fa8ff7045 mmc: sdhci-esdhc-imx: allow 1.8V modes without 100/200MHz pinctrl states
6fce06b68b44 MIPS: Fix ioremap() RAM check
0818c44b8df7 MIPS: Use async IPIs for arch_trigger_cpumask_backtrace()
14ab9902422c MIPS: Call dump_stack() from show_regs()
77f738e84293 ASoC: mediatek: preallocate pages use platform device
99ebaf4f43dd media: rc: mce_kbd decoder: fix stuck keys
1e92e813554a Linux 4.14.55
b3ef356a096e Revert mm/vmstat.c: fix vmstat_update() preemption BUG
7cf346dfdea5 sched, tracing: Fix trace_sched_pi_setprio() for deboosting
32199c810655 staging: comedi: quatech_daqp_cs: fix no-op loop daqp_ao_insn_write()
6d2b458d3d14 netfilter: nf_log: don't hold nf_log_mutex during user access
ac6bfe418e04 mtd: cfi_cmdset_0002: Change erase functions to check chip good only
b76d8aa04240 mtd: cfi_cmdset_0002: Change erase functions to retry for error
eb638a002274 mtd: cfi_cmdset_0002: Change definition naming to retry write operation
74ec37d03a12 dm: prevent DAX mounts if not supported
0605fa6daa66 dm: set QUEUE_FLAG_DAX accordingly in dm_table_set_restrictions()
3729e5561e1e dax: check for QUEUE_FLAG_DAX in bdev_dax_supported()
8214347c260b dax: change bdev_dax_supported() to support boolean returns
a19385766b4f fs: allow per-device dax status checking for filesystems
5941026fc7a5 mtd: rawnand: mxc: set spare area size register explicitly
c4097c64d03a media: cx25840: Use subdev host data for PLL override
e82885490a61 Kbuild: fix # escaping in .cmd files for future Make
3bb6397ba643 Revert "dpaa_eth: fix error in dpaa_remove()"
42dc2a7bb72e f2fs: truncate preallocated blocks in error case
a2c7493c7f31 media: vb2: core: Finish buffers at the end of the stream
b16a6af97461 mm: hwpoison: disable memory error handling on 1GB hugepage
07a1c2d1131b irq/core: Fix boot crash when the irqaffinity= boot parameter is passed on CPUMASK_OFFSTACK=y kernels(v1)
50b4d984f55e HID: debug: check length before copy_to_user()
c1d21fe74c25 HID: hiddev: fix potential Spectre v1
702027291bf5 HID: i2c-hid: Fix "incomplete report" noise
c894755d1bc8 block: cope with WRITE ZEROES failing in blkdev_issue_zeroout()
3e3f1310c606 block: factor out __blkdev_issue_zero_pages()
fba3230595cb ext4: check superblock mapped prior to committing
54bf664ae4fa ext4: add more mount time checks of the superblock
c24aab6d8664 ext4: add more inode number paranoia checks
02945e49dc20 ext4: avoid running out of journal credits when appending to an inline file
8a9ef17c0dc9 ext4: never move the system.data xattr out of the inode body
deb465ec750b ext4: clear i_data in ext4_inode_info when removing inline data
64804502d0e9 ext4: include the illegal physical block in the bad map ext4_error msg
d69a9df614fc ext4: verify the depth of extent tree in ext4_find_extent()
44a4bc970bfa ext4: only look at the bg_flags field if it is valid
ac48bb9bc0a3 ext4: always check block group bounds in ext4_init_block_bitmap()
ac93c718365a ext4: make sure bitmaps and the inode table don't overlap with bg descriptors
3150e8913b95 ext4: always verify the magic number in xattr blocks
0dc148230f38 ext4: add corruption check in ext4_xattr_set_entry()
0321e68838d7 jbd2: don't mark block as modified if the handle is out of credits
b541f470d4bd drm/udl: fix display corruption of the last line
3cb81bce2191 drm: Use kvzalloc for allocating blob property memory
748144f35514 cifs: Fix slab-out-of-bounds in send_set_info() on SMB2 ACE setting
28cada984c0e cifs: Fix infinite loop when using hard mount option
f5f485d888d5 cifs: Fix memory leak in smb2_set_ea()
ff533735af1d cifs: Fix use after free of a mid_q_entry
5d8ddc819c84 vfio: Use get_user_pages_longterm correctly
0ce6c4646371 drbd: fix access after free
2b6eff5923ce s390: Correct register corruption in critical section cleanup
e6cf7e687285 scsi: target: Fix truncated PR-in ReadKeys response
6e51bfa95086 scsi: sg: mitigate read/write abuse
54f1da1ff034 tracing: Fix missing return symbol in function_graph output
48b019a51ab8 mm: hugetlb: yield when prepping struct pages
6fe74fb8af89 userfaultfd: hugetlbfs: fix userfaultfd_huge_must_wait() pte access
5893f4c3fb78 Linux 4.14.54
88b01cac4add net: dsa: b53: Add BCM5389 support
28b64cc7a846 net/sonic: Use dma_mapping_error()
4888ced6b749 platform/x86: asus-wmi: Fix NULL pointer dereference
0d5e04e239ad sched/core: Require cpu_active() in select_task_rq(), for user tasks
e4c55e0e6a75 sched/core: Fix rules for running on online && !active CPUs
93b84462eadf fs: clear writeback errors in inode_init_always
ae14c044587e perf bpf: Fix NULL return handling in bpf__prepare_load()
be5af6bec31a perf test: "Session topology" dumps core on s390
d689ad5c91af net: qmi_wwan: Add Netgear Aircard 779S
d20dcd2f1135 atm: zatm: fix memcmp casting
3ee6bd9411a6 iwlwifi: pcie: compare with number of IRQs requested for, not number of CPUs
4abab5dca723 ipvs: fix buffer overflow with sync daemon and service
27aa533f24e9 netfilter: nft_limit: fix packet ratelimiting
510e1e8020a8 s390/dasd: use blk_mq_rq_from_pdu for per request data
db73501ebc3a netfilter: ebtables: handle string from userspace with care
e36bc9930d85 afs: Fix directory permissions check
4cf1fbcdef7f xfrm6: avoid potential infinite loop in _decode_session6()
693d06dffb43 mtd: rawnand: fix return value check for bad block status
0ed70f206449 ARM: dts: imx6q: Use correct SDMA script for SPI5 core
259cc05cce43 netfilter: nf_tables: use WARN_ON_ONCE instead of BUG_ON in nft_do_chain()
5acd64888e02 netfilter: ip6t_rpfilter: provide input interface for route lookup
3f8e85fbbaa5 netfilter: don't set F_IFACE on ipv6 fib lookups
2fc45ef96287 md: remove special meaning of ->quiesce(.., 2)
ce57466d323b md: allow metadata update while suspending.
7c435e224530 md: use mddev_suspend/resume instead of ->quiesce()
feabea216559 md: move suspend_hi/lo handling into core md code
cc091f3fbbdb md: don't call bitmap_create() while array is quiesced.
e44e4cf3a8db md: always hold reconfig_mutex when calling mddev_suspend()
b8d8cde449fd netfilter: nf_tables: fix NULL-ptr in nf_tables_dump_obj()
44956f98fd8b netfilter: nf_tables: add missing netlink attrs to policies
082711fa3178 netfilter: nf_tables: fix memory leak on error exit return
174757e28b7b netfilter: nf_tables: increase nft_counters_enabled in nft_chain_stats_replace()
d3a9b8a51181 netfilter: nf_tables: disable preemption in nft_update_chain_stats()
491b1a866e4a netfilter: nft_meta: fix wrong value dereference in nft_meta_set_eval
2b93cb2861de netfilter: nf_tables: bogus EBUSY in chain deletions
4ae6a7afae53 netfilter: nf_tables: don't assume chain stats are set when jumplabel is set
365e73e07fba netfilter: nft_compat: fix handling of large matchinfo size
ea200cdd6056 netfilter: nft_compat: prepare for indirect info storage
1ea5ed0cadca netfilter: nf_tables: nft_compat: fix refcount leak on xt module
1d795d1241d3 drm/i915: Enable provoking vertex fix on Gen9 systems.
78e7000fe63f drm/amdgpu: Refactor amdgpu_vram_mgr_bo_invisible_size helper
a1bf87cfb6ea drm/amdgpu: Use kvmalloc_array for allocating VRAM manager nodes array
af597bb61370 drm/atmel-hlcdc: check stride values in the first plane
7d0ed747bc56 drm/qxl: Call qxl_bo_unref outside atomic context
dd19ea36f596 drm/amdgpu: fix the missed vcn fw version report
40e2064b8fc7 drm/amdgpu: Add APU support in vi_set_vce_clocks
ce686c42476e drm/amdgpu: Add APU support in vi_set_uvd_clocks
b141de45e2dc vt: prevent leaking uninitialized data to userspace via /dev/vcs*
b124a1c182fa serdev: fix memleak on module unload
3ff8e558ba7b serial: 8250_pci: Remove stalled entries in blacklist
2a7a8556b3b4 staging: android: ion: Return an ERR_PTR in ion_map_kernel
c034d161fa63 n_tty: Access echo_* variables carefully.
d105fb8c8894 n_tty: Fix stall at n_tty_receive_char_special().
716382f1c1ea xhci: Fix kernel oops in trace_xhci_free_virt_device
0a7db82ed9cc usb: typec: ucsi: Fix for incorrect status data issue
47adbb26373f usb: typec: ucsi: acpi: Workaround for cache mode issue
f2e9a38558d8 acpi: Add helper for deactivating memory region
447294efb995 usb: dwc2: fix the incorrect bitmaps for the ports of multi_tt hub
e80add5223dd USB: serial: cp210x: add Silicon Labs IDs for Windows Update
15e449969537 USB: serial: cp210x: add CESINEL device ids
874f2a7d412e usb: cdc_acm: Add quirk for Uniden UBC125 scanner
fa745a1bd983 Linux 4.14.53
4798e96b7646 xhci: Fix use-after-free in xhci_free_virt_device
0b19825ffa28 dm thin: handle running out of data space vs concurrent discard
fb4d8744a8f9 dm zoned: avoid triggering reclaim from inside dmz_map()
0cfb151b9352 x86/efi: Fix efi_call_phys_epilog() with CONFIG_X86_5LEVEL=y
251141340fd8 block: Fix cloning of requests with a special payload
29413e068b2b block: Fix transfer when chunk sectors exceeds max
804a0db743e0 slub: fix failure when we delete and create a slab cache
cd41a8fac35a ALSA: hda/realtek - Fix the problem of two front mics on more machines
c75f047560cb ALSA: hda/realtek - Add a quirk for FSC ESPRIMO U9210
59bcd69457c7 ALSA: hda/realtek - Fix pop noise on Lenovo P50 & co
69f96e9b570a ALSA: timer: Fix UBSAN warning at SNDRV_TIMER_IOCTL_NEXT_DEVICE ioctl
3d1de95138fb Input: elantech - fix V4 report decoding for module with middle key
524a0c6f2efd Input: elantech - enable middle button of touchpads on ThinkPad P52
ade767642cc7 Input: elan_i2c_smbus - fix more potential stack buffer overflows
8fa052853d48 Input: xpad - fix GPD Win 2 controller name
1b241aa840df udf: Detect incorrect directory size
d08dfdeaf49d xen: Remove unnecessary BUG_ON from __unbind_from_irq()
fff76ff5e2b0 mm: fix devmem_is_allowed() for sub-page System RAM intersections
6f23028480c4 mm/ksm.c: ignore STABLE_FLAG of rmap_item->address in rmap_walk_ksm()
76022230aa64 rbd: flush rbd_dev->watch_dwork after watch is unregistered
3c718460f5a3 pwm: lpss: platform: Save/restore the ctrl register over a suspend/resume
24ab6e6858e7 Input: elan_i2c - add ELAN0618 (Lenovo v330 15IKB) ACPI ID
a7f3c0abac1d ACPI / LPSS: Add missing prv_offset setting for byt/cht PWM devices
9aa818d42bf5 video: uvesafb: Fix integer overflow in allocation
fb7fecb4d90f NFSv4: Fix a typo in nfs41_sequence_process
63715ead82c5 NFSv4: Revert commit 5f83d86cf531d ("NFSv4.x: Fix wraparound issues..")
c92d800fc9c4 NFSv4: Fix possible 1-byte stack overflow in nfs_idmap_read_and_verify_message
89864c2e7506 nfsd: restrict rd_maxcount to svc_max_payload in nfsd_encode_readdir
c508ed236c8b media: dvb_frontend: fix locking issues at dvb_frontend_get_event()
2c40fa51428b media: cx231xx: Add support for AverMedia DVD EZMaker 7
06b846486668 media: v4l2-compat-ioctl32: prevent go past max size
b28f53169c0f media: vsp1: Release buffers for each video node
3564366d5509 perf/x86/intel/uncore: Add event constraint for BDX PCU
5cb6105d2211 perf vendor events: Add Goldmont Plus V1 event file
c3382e70a043 perf intel-pt: Fix packet decoding of CYC packets
4e7b3632eafa perf intel-pt: Fix "Unexpected indirect branch" error
65a163984abe perf intel-pt: Fix MTC timing after overflow
e1587f178eb1 perf intel-pt: Fix decoding to accept CBR between FUP and corresponding TIP
9e9db211cfb9 perf intel-pt: Fix sync_switch INTEL_PT_SS_NOT_TRACING
5009bd5b9321 perf tools: Fix symbol and object code resolution for vdso32 and vdsox32
f810961e06c6 arm: dts: mt7623: fix invalid memory node being generated
18be8bd3aceb mfd: intel-lpss: Fix Intel Cannon Lake LPSS I2C input clock
f79c97198b55 mfd: intel-lpss: Program REMAP register in PIO mode
779d5f71c232 backlight: tps65217_bl: Fix Device Tree node lookup
f893fca0a4b5 backlight: max8925_bl: Fix Device Tree node lookup
3db7c40093f6 backlight: as3711_bl: Fix Device Tree node lookup
b7261fc5f574 UBIFS: Fix potential integer overflow in allocation
a23cf10d9abb ubi: fastmap: Correctly handle interrupted erasures in EBA
b24d90f4d66d ubi: fastmap: Cancel work upon detach
db04f92b6580 rpmsg: smd: do not use mananged resources for endpoints and channels
dfeb333b590c md: fix two problems with setting the "re-add" device state.
88896a963b4e rtc: sun6i: Fix bit_idx value for clk_register_gate
b90f3eccf8aa clk: at91: PLL recalc_rate() now using cached MUL and DIV values
a98f1946ea58 linvdimm, pmem: Preserve read-only setting for pmem devices
a64be479ef08 scsi: zfcp: fix missing REC trigger trace on enqueue without ERP thread
beadcfcca257 scsi: zfcp: fix missing REC trigger trace for all objects in ERP_FAILED
60ed2673986f scsi: zfcp: fix missing REC trigger trace on terminate_rport_io for ERP_FAILED
071f23266c30 scsi: zfcp: fix missing REC trigger trace on terminate_rport_io early return
3d0d31e512f2 scsi: zfcp: fix misleading REC trigger trace where erp_action setup failed
941e8bee351e scsi: zfcp: fix missing SCSI trace for retry of abort / scsi_eh TMF
74da693a03ce scsi: zfcp: fix missing SCSI trace for result of eh_host_reset_handler
9db2ad79b8f0 scsi: qla2xxx: Mask off Scope bits in retry delay
9224583a5ee2 scsi: qla2xxx: Fix setting lower transfer speed if GPSC fails
2829829c3e61 scsi: hpsa: disable device during shutdown
2d329968a883 mm: fix __gup_device_huge vs unmap
5d6ad5a03067 iio: sca3000: Fix an error handling path in 'sca3000_probe()'
d55209eeb121 iio: adc: ad7791: remove sample freq sysfs attributes
6101eea47bf3 Btrfs: fix return value on rename exchange failure
af20e4eccc2d X.509: unpack RSA signatureValue field from BIT STRING
7dfc81992a3e irqchip/gic-v3-its: Don't bind LPI to unavailable NUMA node
88c4318d3633 time: Make sure jiffies_to_msecs() preserves non-zero time periods
0fe95015fb93 MIPS: io: Add barrier after register read in inX()
93e1297f9edc cpufreq: intel_pstate: Fix scaling max/min limits with Turbo 3.0
55be2e6f50ac pinctrl: devicetree: Fix pctldev pointer overwrite
7cc7ae5ce018 pinctrl: samsung: Correct EINTG banks order
9e838b2e5a3c auxdisplay: fix broken menu
226ffbf6135c PCI: pciehp: Clear Presence Detect and Data Link Layer Status Changed on resume
fc0096bceae9 PCI: Add ACS quirk for Intel 300 series
78923ba96779 PCI: Add ACS quirk for Intel 7th & 8th Gen mobile
e4a424c550b6 PCI: hv: Make sure the bus domain is really unique
43f6a09c8c5b MIPS: BCM47XX: Enable 74K Core ExternalSync for PCIe erratum
c375d0bd6684 mtd: cfi_cmdset_0002: Avoid walking all chips when unlocking.
fbbde9343c3e mtd: cfi_cmdset_0002: Fix unlocking requests crossing a chip boudary
2f11a0c8c23a mtd: cfi_cmdset_0002: fix SEGV unlocking multiple chips
80349943d56c mtd: cfi_cmdset_0002: Use right chip in do_ppb_xxlock()
746c1362c434 mtd: cfi_cmdset_0002: Change write buffer to check correct value
d097e5b5a1bc xprtrdma: Return -ENOBUFS when no pages are available
786c8d79f34f RDMA/mlx4: Discard unknown SQP work requests
a33699925122 IB/hfi1: Fix user context tail allocation for DMA_RTAIL
964705c4a691 IB/hfi1: Optimize kthread pointer locking when queuing CQ entries
2bd28cba43bd IB/hfi1: Reorder incorrect send context disable
9e81f9a2cef1 IB/hfi1: Fix fault injection init/exit issues
c32951862c1a IB/isert: fix T10-pi check mask setting
7d4aaca8d093 IB/isert: Fix for lib/dma_debug check_sync warning
c06f8c2173b2 IB/mlx5: Fetch soft WQE's on fatal error state
96fb9b88385f IB/core: Make testing MR flags for writability a static inline function
1c82abc1b26a IB/mlx4: Mark user MR as writable if actual virtual memory is writable
49e1083214c6 IB/{hfi1, qib}: Add handling of kernel restart
e884ed82995a IB/qib: Fix DMA api warning with debug kernel
c41cb9cb5611 tpm: fix race condition in tpm_common_write()
1bf1a5e21798 tpm: fix use after free in tpm2_load_context()
1ed6871464b8 of: platform: stop accessing invalid dev in of_platform_device_destroy
6ba51909693c of: unittest: for strings, account for trailing \0 in property length field
4910cc250b4d of: overlay: validate offset from property fixups
728ea2302acc ARM64: dts: meson: disable sd-uhs modes on the libretech-cc
64df84dcf1e4 arm64: mm: Ensure writes to swapper are ordered wrt subsequent cache maintenance
ee6ae5ac75ab arm64: kpti: Use early_param for kpti= command-line option
cdfa28c29ad4 arm64: Fix syscall restarting around signal suppressed by tracer
14ca7d344e27 ARM: dts: socfpga: Fix NAND controller node compatible for Arria10
ae6647c78ff8 ARM: dts: socfpga: Fix NAND controller clock supply
3482130d8d1e ARM: dts: socfpga: Fix NAND controller node compatible
3db24d2e192f ARM: dts: Fix SPI node for Arria10
eda170a9fe51 ARM: 8764/1: kgdb: fix NUMREGBYTES so that gdb_regs[] is the correct size
c9debbd1a5b8 cxl: Disable prefault_mode in Radix mode
971a55574b47 soc: rockchip: power-domain: Fix wrong value when power up pd with writemask
56fbab60aa47 powerpc/fadump: Unregister fadump on kexec down path.
3b185e667b52 cpuidle: powernv: Fix promotion from snooze if next state disabled
a5d49dfb20c9 powerpc/powernv/cpuidle: Init all present cpus for deep states
134e70c22eb0 powerpc/powernv: copy/paste - Mask SO bit in CR
0e8bb91c6dd6 powerpc/powernv/ioda2: Remove redundant free of TCE pages
919c9b8187bc powerpc/ptrace: Fix enforcement of DAWR constraints
1ab9092356a1 powerpc/perf: Fix memory allocation for core-imc based on num_possible_cpus()
c12d24161611 powerpc/ptrace: Fix setting 512B aligned breakpoints with PTRACE_SET_DEBUGREG
5fefd9a5d97a powerpc/mm/hash: Add missing isync prior to kernel stack SLB switch
69829f749a43 fuse: fix control dir setup and teardown
3a37d85a90da fuse: don't keep dead fuse_conn at fuse_fill_super().
2f7bf369b5f8 fuse: atomic_o_trunc should truncate pagecache
02832578eb9d fuse: fix congested state leak on aborted connections
a47c3c48769a printk: fix possible reuse of va_list variable
affd84024cbe Bluetooth: hci_qca: Avoid missing rampatch failure with userspace fw loader
3ffecef63d09 ipmi:bt: Set the timeout before doing a capabilities check
26e03f8dcd34 branch-check: fix long->int truncation when profiling branches
5eff5dbf3108 mips: ftrace: fix static function graph tracing
5f7a15af646d ftrace/selftest: Have the reset_trigger code be a bit more careful
ea0ac01f68aa lib/vsprintf: Remove atomic-unsafe support for %pCr
9fcc267de242 clk: renesas: cpg-mssr: Stop using printk format %pCr
0cf93821e34d thermal: bcm2835: Stop using printk format %pCr
b2291a435c29 ASoC: cirrus: i2s: Fix {TX|RX}LinCtrlData setup
b5e8118779e5 ASoC: cirrus: i2s: Fix LRCLK configuration
7a1d79de77f5 ASoC: cs35l35: Add use_single_rw to regmap config
040fecfd714a ASoC: dapm: delete dapm_kcontrol_data paths list before freeing it
4e0ce7053a12 1wire: family module autoload fails because of upper/lower case mismatch.
3c22218ed869 usb: do not reset if a low-speed or full-speed device timed out
8b03376580c9 PM / OPP: Update voltage in case freq == old_freq
ba0be5973f9e PM / core: Fix supplier device runtime PM usage counter imbalance
b7ac0389770a PM / Domains: Fix error path during attach in genpd
8ae5d476a3b7 signal/xtensa: Consistenly use SIGBUS in do_unaligned_user
980899da5dc9 serial: sh-sci: Use spin_{try}lock_irqsave instead of open coding version
60711b27c5f5 m68k/mac: Fix SWIM memory resource end address
da9ad89c72d5 m68k/mm: Adjust VM area to be unmapped by gap size for __iounmap()
ab693cc665ca x86: Call fixup_exception() before notify_die() in math_error()
64d44661e220 x86/mce: Do not overwrite MCi_STATUS in mce_no_way_out()
5b8e086891b0 x86/mce: Fix incorrect "Machine check from unknown source" message
d292f33b7494 x86/mce: Check for alternate indication of machine check recovery on Skylake
1d1dd2011adc x86/mce: Improve error message when kernel cannot recover
dbb37d98b93d x86/xen: Add call of speculative_store_bypass_ht_init() to PV paths
3ce79716a9ff x86/spectre_v1: Disable compiler optimizations over array_index_mask_nospec()
a26899e0baa4 Linux 4.14.52
1d26c112959f mm, page_alloc: do not break __GFP_THISNODE by zonelist reset
250edf9580f7 fs/binfmt_misc.c: do not allow offset overflow
7446344baafb vhost: fix info leak due to uninitialized memory
d37c95f52911 HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro large
ab17de60ceaa HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation
e3e6bd6a1476 orangefs: report attributes_mask and attributes for statx
f7e4328c3700 orangefs: set i_size on new symlink
b8511dbff263 iwlwifi: fw: harden page loading code
2d58a9ac892a x86/intel_rdt: Enable CMT and MBM on new Skylake stepping
e6ef46cb8f01 w1: mxc_w1: Enable clock before calling clk_get_rate() on it
0667483adeee libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk
27c0f1e5d94d libata: zpodd: small read overflow in eject_tray()
1404d2e5dd36 cpufreq: governors: Fix long idle detection logic in load calculation
c3c77b5db393 cpufreq: Fix new policy initialization during limits updates via sysfs
67b46304b92b bdi: Move cgroup bdi_writeback to a dedicated low concurrency workqueue
ba502bf2be45 blk-mq: reinit q->tag_set_list entry only after grace period
00946218ffe3 nbd: use bd_set_size when updating disk size
a477d00557f5 nbd: update size when connected
edee2e826640 nbd: fix nbd device deletion
ffb179cfbcf6 cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class
2a8737336dbd CIFS: 511c54a2f69195b28afb9dd119f03787b1625bb4 adds a check for session expiry
ae62f35def75 smb3: on reconnect set PreviousSessionId field
dcde75924f25 smb3: fix various xid leaks
e0b510a4170e x86/MCE: Fix stack out-of-bounds write in mce-inject.c: Flags_read()
c5c00990f75d ALSA: hda: add dock and led support for HP ProBook 640 G4
e6c9fd8cf7d0 ALSA: hda: add dock and led support for HP EliteBook 830 G5
a3eb20df0e23 ALSA: hda - Handle kzalloc() failure in snd_hda_attach_pcm_stream()
03701e42cc19 ALSA: hda/conexant - Add fixup for HP Z2 G4 workstation
ff7eb857eeca ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs
b1cf23c2c8db btrfs: scrub: Don't use inode pages for device replace
4cb8942042bd btrfs: return error value if create_io_em failed in cow_file_range
5f7e3b5b96f8 Btrfs: fix memory and mount leak in btrfs_ioctl_rm_dev_v2()
55d29ff48222 Btrfs: fix clone vs chattr NODATASUM race
c81a6be9da6d driver core: Don't ignore class_dir_create_and_add() failure.
f3233cb2485c ext4: fix fencepost error in check for inode count overflow during resize
21542545990c ext4: correctly handle a zero-length xattr with a non-zero e_value_offs
02d45ec6e770 ext4: bubble errors from ext4_find_inline_data_nolock() up to ext4_iget()
e81d371dac30 ext4: do not allow external inodes for inline data
bd713edfc85d ext4: update mtime in ext4_punch_hole even if no blocks are released
f70af46a52b3 ext4: fix hole length detection in ext4_ind_map_blocks()
84f4d2c6dabe NFSv4.1: Fix up replays of interrupted requests
5e8a5c30546f tls: fix use-after-free in tls_push_record
244c10f9bfa3 hv_netvsc: Fix a network regression after ifdown/ifup
5320e035d7bb net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlan
2e5d3168821d udp: fix rx queue len reported by diag and proc interface
91717ffc9057 socket: close race condition between sock_close() and sockfs_setattr()
39f4ae01c1d6 tcp: verify the checksum of the first data segment in a new connection
81d159444da5 net/sched: act_simple: fix parsing of TCA_DEF_DATA
73c0eab8d215 net: dsa: add error handling for pskb_trim_rcsum
6bcc27abfa62 ipv6: allow PMTU exceptions to local routes
6e48ee025dc9 cdc_ncm: avoid padding beyond end of skb
584b975af0d2 bonding: re-evaluate force_primary when the primary slave name changes
33445c07cd45 Linux 4.14.51
40c809774c69 tcp: do not overshoot window_clamp in tcp_rcv_space_adjust()
7ab8fc065fff Btrfs: make raid6 rebuild retry more
6bf89b7c6b31 Btrfs: fix scrub to repair raid6 corruption
db5f02cc70a8 Revert "Btrfs: fix scrub to repair raid6 corruption"
5e4b5b7194d3 ARM: kexec: fix kdump register saving on panic()
bb7a554ae745 ARM: 8758/1: decompressor: restore r1 and r2 just before jumping to the kernel
c7d7e3f62dbe ARM: 8753/1: decompressor: add a missing parameter to the addruart macro
823e02ea7be5 efi/libstub/arm64: Handle randomized TEXT_OFFSET
3f5c7add0d0f parisc: Move setup_profiling_timer() out of init section
588977742078 sched/deadline: Make the grub_reclaim() function static
fb49d19ed9da sched/debug: Move the print_rt_rq() and print_dl_rq() declarations to kernel/sched/sched.h
96ef5c441494 drm/dumb-buffers: Integer overflow in drm_mode_create_ioctl()
77a60e752ec8 locking/percpu-rwsem: Annotate rwsem ownership transfer by setting RWSEM_OWNER_UNKNOWN
b3f84e48786d locking/rwsem: Add a new RWSEM_ANONYMOUSLY_OWNED flag
c5746752bdbe clk: imx6ull: use OSC clock during AXI rate change
0c5dfa51caf7 ARM: davinci: board-dm646x-evm: set VPIF capture card name
eb6b0d6987fc ARM: davinci: board-dm646x-evm: pass correct I2C adapter id for VPIF
ae7418dd09f9 ARM: davinci: dm646x: fix timer interrupt generation
daf6bdb29d55 i2c: viperboard: return message count on master_xfer success
cbfe697cdba9 i2c: pmcmsp: fix error return from master_xfer
0c1885743a9b i2c: pmcmsp: return message count on master_xfer success
7416dd78ad9a ARM: keystone: fix platform_domain_notifier array overrun
a187b9c72d0c usb: musb: fix remote wakeup racing with suspend
634b9e0aabd9 afs: Fix the non-encryption of calls
a92a28636157 mtd: Fix comparison in map_word_andequal()
9b9ac282bad9 x86/pkeys/selftests: Add a test for pkey 0
b1f192a9e0cd x86/pkeys/selftests: Save off 'prot' for allocations
cdfdffcaa8f9 x86/pkeys/selftests: Fix pointer math
2dd0e5d62a6b x86/pkeys/selftests: Fix pkey exhaustion test off-by-one
63bdea73bd52 x86/pkeys/selftests: Add PROT_EXEC test
1fcd226878b3 x86/pkeys/selftests: Factor out "instruction page"
777d513aaaf6 x86/pkeys/selftests: Allow faults on unknown keys
9545530701c9 x86/pkeys/selftests: Remove dead debugging code, fix dprint_in_signal
8b9f3a7404d7 x86/pkeys/selftests: Stop using assert()
477c024fb33a x86/pkeys/selftests: Give better unexpected fault error messages
4824a6473b85 x86/selftests: Add mov_to_ss test
c25b160c8da6 x86/mpx/selftests: Adjust the self-test to fresh distros that export the MPX ABI
2361f1f4fff2 x86/pkeys/selftests: Adjust the self-test to fresh distros that export the pkeys ABI
847f0cacf21e objtool, kprobes/x86: Sync the latest <asm/insn.h> header with tools/objtool/arch/x86/include/asm/insn.h
5aaee3e9ef32 uprobes/x86: Prohibit probing on MOV SS instruction
ba202cd5a1f0 kprobes/x86: Prohibit probing on exception masking instructions
12ddc2639e31 ocfs2: take inode cluster lock before moving reflinked inode from orphan dir
553495752c82 proc/kcore: don't bounds check against address 0
20e557fb26ca init: fix false positives in W+X checking
86900754306e net sched actions: fix invalid pointer dereferencing if skbedit flags missing
55e95f9ad712 ixgbe: return error on unsupported SFP module when resetting
33d1c29e935e x86: Delay skip of emulated hypercall instruction
ce44a4d5db63 KVM: Extend MAX_IRQ_ROUTES to 4096 for all archs
29475c404b56 rxrpc: Fix the min security level for kernel calls
b2abd2b98afc rxrpc: Fix error reception on AF_INET6 sockets
b5b3188098b3 qede: Fix gfp flags sent to rdma event node allocation
6618d064baca qed: Fix l2 initializations over iWARP personality
dc5af7b0de98 tipc: eliminate KMSAN uninit-value in strcmp complaint
6ca2fa569d65 agp: uninorth: make two functions static
8223298c5075 cifs: smb2ops: Fix listxattr() when there are no EAs
fcc0315abc95 arm64: Add MIDR encoding for NVIDIA CPUs
56068475a7f0 can: dev: increase bus-off message severity
4dc2437cdd6b net: aquantia: driver should correctly declare vlan_features bits
a951cf4da896 x86/xen: Reset VCPU0 info pointer after shared_info remap
ba29f3738e86 mac80211: use timeout from the AddBA response instead of the request
e4bd54eb87c8 ARM: dts: cygnus: fix irq type for arm global timer
36166445a922 driver core: add __printf verification to __ata_ehi_pushv_desc
bc707b2d950b drm/omap: handle alloc failures in omap_connector
771f573cc158 drm/omap: check return value from soc_device_match
a490d0570df2 drm/omap: fix possible NULL ref issue in tiler_reserve_2d
9631f32b61dc drm/omap: fix uninitialized ret variable
ca3c09a74945 drm/omap: silence unititialized variable warning
6ad69952d50d mac80211: Adjust SAE authentication timeout
46d6ee12fa9d tee: check shm references are consistent in offset/size
d40e177f29ab sh: fix build failure for J2 cpu with SMP disabled
0742396317a0 sched/core: Introduce set_special_state()
a614eaa465f7 spi: bcm2835aux: ensure interrupts are enabled for shared handler
373a625cb3c4 RDMA/cma: Do not query GID during QP state transition to RTR
3c54e919bd4f IB/hfi1: Fix memory leak in exception path in get_irq_affinity()
77662d35b8c5 IB/hfi1 Use correct type for num_user_context
194feed06bce smc: fix sendpage() call
9c0f528f6bf0 ARM: OMAP1: ams-delta: fix deferred_fiq handler
ac5e86401fea nvme: Set integrity flag for user passthrough commands
b19122a48f01 nvme: fix potential memory leak in option parsing
665d3c7f1e50 iommu/vt-d: fix shift-out-of-bounds in bug checking
d98905c00c4c arm64: tegra: Make BCM89610 PHY interrupt as active low
61ca60932d52 kthread, sched/wait: Fix kthread_parkme() wait-loop
e7a65e899d52 stop_machine, sched: Fix migrate_swap() vs. active_balance() deadlock
a814d1101042 parisc: drivers.c: Fix section mismatches
609377d79e75 bpf, x64: fix memleak when not converging after image
666776d5f45d scsi: vmw-pvscsi: return DID_BUS_BUSY for adapter-initated aborts
09e12b91d12c hexagon: export csum_partial_copy_nocheck
8794fff6f4d9 hexagon: add memset_io() helper
960fe000b1d3 Input: atmel_mxt_ts - fix the firmware update
f8d7147cb60f ARM: dts: logicpd-som-lv: Fix Audio Mute
8c4511032ac1 ARM: dts: logicpd-som-lv: Fix WL127x Startup Issues
691f0a6b3b09 ARM: OMAP2+: powerdomain: use raw_smp_processor_id() for trace
061a560f3293 dt-bindings: panel: lvds: Fix path to display timing bindings
b1ac1ca7352d ARM: davinci: board-dm355-evm: fix broken networking
034a9e9b235e ARM: davinci: board-omapl138-hawk: fix GPIO numbers for MMC/SD lookup
0bf4a2db2964 ARM: davinci: board-da850-evm: fix GPIO lookup for MMC/SD
38ffd4d581ff ARM: davinci: board-da830-evm: fix GPIO lookup for MMC/SD
13e4a2083d2b IB/core: Make ib_mad_client_id atomic
5cb0ba254fee <linux/stringhash.h>: fix end_name_hash() for 64bit long
3fbbdb44cead IB/rxe: avoid double kfree_skb
b4f6e28c801a IB/rxe: add RXE_START_MASK for rxe_opcode IB_OPCODE_RC_SEND_ONLY_INV
d2be557eef15 RDMA/iwpm: fix memory leak on map_info
019ce25a4ee0 RDMA/cma: Fix use after destroy access to net namespace for IPoIB
84f66378da20 IB/uverbs: Fix validating mandatory attributes
fb019834bf8e IB: make INFINIBAND_ADDR_TRANS configurable
b8500e6e8eb5 ib_srp: depend on INFINIBAND_ADDR_TRANS
08088b8a0793 ib_srpt: depend on INFINIBAND_ADDR_TRANS
4e2b7d1687c4 nvmet-rdma: depend on INFINIBAND_ADDR_TRANS
8e6dba9166ed nvme: depend on INFINIBAND_ADDR_TRANS
5d33c9d0fbd8 tipc: fix bug in function tipc_nl_node_dump_monitor
f1e5bbe86ec1 i2c: sprd: Fix the i2c count issue
201dc1345bfe i2c: sprd: Prevent i2c accesses after suspend is called
40d526e67212 bpf: fix uninitialized variable in bpf tools
09daf2df8db8 x86/cpu/intel: Add missing TLB cpuid values
75b0436b24d6 ata: ahci: mvebu: override ahci_stop_engine for mvebu AHCI
48c0bf9af161 libahci: Allow drivers to override stop_engine
81d27c6ed637 KVM: arm/arm64: vgic: fix possible spectre-v1 in vgic_mmio_read_apr()
e3d1002e14ce arm64: fix possible spectre-v1 in ptrace_hbp_get_event()
06beec871640 blk-mq: fix sysfs inflight counter
11ac08bd73eb HID: intel-ish-hid: use put_device() instead of kfree()
d803d94a3fcd rpmsg: added MODULE_ALIAS for rpmsg_char
bb7894391aad remoteproc: qcom: Fix potential device node leaks
af22d1b7705a perf/x86/intel: Don't enable freeze-on-smi for PerfMon V1
3958294c661e rds: ib: Fix missing call to rds_ib_dev_put in rds_ib_setup_qp
9079946f612b selftests: ftrace: Add a testcase for multiple actions on trigger
27e13b330dd2 HID: wacom: Release device resource data obtained by devres_alloc()
2f3ca3908fc0 HID: lenovo: Add support for IBM/Lenovo Scrollpoint mice
e6ec885f5f4c arm64: ptrace: remove addr_limit manipulation
ef0fa5e6f52b net: ethtool: Add missing kernel doc for FEC parameters
b1d0907c6fed thermal: int3403_thermal: Fix NULL pointer deref on module load / probe
56dfe52e04a2 drm/amdkfd: fix clock counter retrieval for node without GPU
73ea96beb771 ACPI / watchdog: Prefer iTCO_wdt on Lenovo Z50-70
00a85086e51f ARM: dts: da850: fix W=1 warnings with pinmux node
9148e21d7624 net: phy: marvell: clear wol event before setting it
b0471926ceb5 powerpc/powernv/memtrace: Let the arch hotunplug code flush cache
a4fa9189d608 dt-bindings: meson-uart: DT fix s/clocks-names/clock-names/
71c8e7432a2e ACPI / PM: Blacklist Low Power S0 Idle _DSM for ThinkPad X1 Tablet(2016)
d3bd4954286b usb: typec: ucsi: fix tracepoint related build error
6d2707f26892 mm: memcg: add __GFP_NOWARN in __memcg_schedule_kmem_cache_create()
cd2cc6d13170 kexec_file: do not add extra alignment to efi memmap
d497efd805fe proc: revalidate kernel thread inodes to root:root
a20600762300 mm, pagemap: fix swap offset value for PMD migration entry
6385f2da8b3b scsi: isci: Fix infinite loop in while loop
12f9bb1a273e scsi: storvsc: Set up correct queue depth values for IDE devices
fc0d99fde0d2 parisc: time: Convert read_persistent_clock() to read_persistent_clock64()
6bf379f26a54 vfs: Undo an overly zealous MS_RDONLY -> SB_RDONLY conversion
bd595dbfcbd6 net: hns: Avoid action name truncation
ea7246c25892 blkcg: init root blkcg_gq under lock
b6126afd64d0 drm/msm: don't deref error pointer in the msm_fbdev_create error path
5151a0c8d730 drm/msm/dsi: use correct enum in dsi_get_cmd_fmt
be04f7301d8d drm/msm: Fix possible null dereference on failure of get_pages()
625b5b8c76d4 ASoC: msm8916-wcd-analog: use threaded context for mbhc events
705fd605237b netfilter: nf_tables: fix out-of-bounds in nft_chain_commit_update
d11b04c34894 netfilter: nf_tables: NAT chain and extensions require NF_TABLES
348288a2699c scsi: target: fix crash with iscsi target and dvd
4fb7926bba58 scsi: megaraid_sas: Do not log an error if FW successfully initializes.
af2cc1d2e75c scsi: iscsi: respond to netlink with unicast when appropriate
3f64c0c502ef tipc: fix infinite loop when dumping link monitor summary
9d5e2d69705f blkcg: don't hold blkcg lock when deactivating policy
c5b6316c3f51 spi: cadence: Add usleep_range() for cdns_spi_fill_tx_fifo()
5f4bf078e779 ASoC: topology: Check widget kcontrols before deref.
ff3080bab10d xen: xenbus_dev_frontend: Really return response string
d5cf1ed8d3ae ASoC: topology: Fix bugs of freeing soc topology
bd8acfd77dd3 PCI: kirin: Fix reset gpio name
150efd30c3a0 soc: bcm2835: Make !RASPBERRYPI_FIRMWARE dummies return failure
305043739272 soc: bcm: raspberrypi-power: Fix use of __packed
d066fd9d7e9b eCryptfs: don't pass up plaintext names when using filename encryption
3f54483edea2 ASoC: rt5514: Add the missing register in the readable table
9d33f89c40e9 clk: honor CLK_MUX_ROUND_CLOSEST in generic clk mux
dccf9862a7f5 dt-bindings: dmaengine: rcar-dmac: document R8A77965 support
20d681359337 dt-bindings: serial: sh-sci: Add support for r8a77965 (H)SCIF
20d3d7fa75b2 dt-bindings: pinctrl: sunxi: Fix reference to driver
5eeb26c58c0a doc: Add vendor prefix for Kieback & Peter GmbH
3ca7dddaa13f spi: sh-msiof: Fix bit field overflow writes to TSCR/RSCR
b3ccb8a77ed1 MIPS: dts: Boston: Fix PCI bus dtc warnings:
ba041775a9a8 isofs: fix potential memory leak in mount option parsing
d27cd5cb9b38 s390/smsgiucv: disable SMSG on module unload
e7b720ef94d8 MIPS: io: Add barrier after register read in readX()
dc94ac5fc410 fsnotify: fix ignore mask logic in send_to_group()
025e42a5e7a3 perf report: Fix switching to another perf.data file
7bb0c4bd79ab nfp: ignore signals when communicating with management FW
d96da2acac5d MIPS: io: Prevent compiler reordering writeX()
df5524e5483b x86: Add check for APIC access address for vmentry of L2 guests
9b78e9ddc47a KVM: X86: fix incorrect reference of trace_kvm_pi_irte_update
176ebf4df971 Input: synaptics-rmi4 - fix an unchecked out of memory error path
65783949c813 clocksource/drivers/imx-tpm: Correct some registers operation flow
cda6fd4d9382 Linux 4.14.50
87883c89b405 crypto: omap-sham - fix memleak
efc67e746b27 crypto: vmx - Remove overly verbose printk from AES XTS init
1bc36d12a6ed crypto: vmx - Remove overly verbose printk from AES init routines
b9705796e44b crypto: cavium - Limit result reading attempts
072e8b1f58d5 crypto: cavium - Fix fallout from CONFIG_VMAP_STACK
4854c879107c crypto: caam - fix size of RSA prime factor q
f535e1c3b394 crypto: caam/qi - fix IV DMA mapping and updating
9ed3135cab14 crypto: caam - fix IV DMA mapping and updating
635ac89ea764 crypto: caam - fix DMA mapping dir for generated IV
ed0a79561189 crypto: caam - strip input zeros from RSA input buffer
3c42aa03cd6a Input: elan_i2c - add ELAN0612 (Lenovo v330 14IKB) ACPI ID
c4168f192057 Input: goodix - add new ACPI id for GPD Win 2 touch screen
53e4b19fcd0c kvm: x86: use correct privilege level for sgdt/sidt/fxsave/fxrstor access
739ac8f4a516 tty: pl011: Avoid spuriously stuck-off interrupts
5ee296fde55e vmw_balloon: fixing double free when batching mode is off
a64ff0bea051 serial: 8250: omap: Fix idling of clocks for unused uarts
804f09011069 serial: samsung: fix maxburst parameter for DMA transactions
db30b8eb960a tty/serial: atmel: use port->name as name in request_irq()
95b8204b4491 serial: sh-sci: Stop using printk format %pCr
d6a9e699a3c2 usb: gadget: udc: renesas_usb3: disable the controller's irqs for reconnecting
262af4fe6dff usb: gadget: function: printer: avoid wrong list handling in printer_write()
874cb201d511 phy: qcom-qusb2: Fix crash if nvmem cell not specified
cb6b5869658b Input: xpad - add GPD Win 2 Controller USB IDs
5c2e9e9bf444 usb-storage: Add compatibility quirk flags for G-Technologies G-Drive
c839680e8cbf usb-storage: Add support for FL_ALWAYS_SYNC flag in the UAS driver
f31eb7298ba4 usbip: vhci_sysfs: fix potential Spectre v1
1caeb5022449 NFC: pn533: don't send USB data off of the stack
f1769a9ba4bf staging: android: ion: Switch to pr_warn_once in ion_buffer_destroy
bd2742e83660 KVM: x86: pass kvm_vcpu to kvm_read_guest_virt and kvm_write_guest_virt_system
b1bd9caf5e98 kvm: nVMX: Enforce cpl=0 for VMX instructions
3d2f03393267 KVM: x86: introduce linear_{read,write}_system
9791d9d7e2ac KVM: X86: Fix reserved bits check for MOV to CR3
c7a372ddc3db gpio: No NULL owner
7d970250cb8d af_key: Always verify length of provided sadb_key
1cbd5ece0527 blkdev_report_zones_ioctl(): Use vmalloc() to allocate large buffers
d02ae00ab6d0 netfilter: nf_tables: fix NULL pointer dereference on nft_ct_helper_obj_dump()
70d7bbd9b504 Linux 4.14.49
2abd4c3ed20d drm: set FMODE_UNSIGNED_OFFSET for drm files
3fe4b0cf9383 PCI: hv: Do not wait forever on a device that has disappeared
dd4be396b8c5 cls_flower: Fix incorrect idr release when failing to modify rule
c931c9aee2f3 rtnetlink: validate attributes in do_setlink()
fa11d992533b virtio-net: fix leaking page for gso packet during mergeable XDP
2b8b2b26c378 net/mlx5e: When RXFCS is set, add FCS data into checksum calculation
155cd575588b virtio-net: correctly check num_buf during err path
e2d47fa107f9 tun: Fix NULL pointer dereference in XDP redirect
43153f090165 net/mlx4: Fix irq-unsafe spinlock usage
31c1e078e3ca virtio-net: correctly transmit XDP buff after linearizing
0dbd822f6440 net-sysfs: Fix memory leak in XPS configuration
900679988fdf net: phy: broadcom: Fix auxiliary control register reads
8d80a839c179 ipv6: sr: fix memory OOB access in seg6_do_srh_encap/inline
c5e1541ef6fe vrf: check the original netdevice for generating redirect
6d431f6e6880 vhost: synchronize IOTLB message with dev cleanup
f2bb94069f3e team: use netdev_features_t instead of u32
60473d7034ee sctp: not allow transport timeout value less than HZ/5 for hb_timer
0a3608662ff6 qed: Fix mask for physical address in ILT entry
0d751192afde packet: fix reserve calculation
1c2c7767e876 net: usb: cdc_mbim: add flag FLAG_SEND_ZLP
8acb0708ab6d net: phy: broadcom: Fix bcm_write_exp()
c85df6eb6e86 net/packet: refine check for priv area size
95159ad9635a net: metrics: add proper netlink validation
341c03313a9a net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy
be1f1827a89a netdev-FAQ: clarify DaveM's position for stable backports
c6fae49a447c kcm: Fix use-after-free caused by clonned sockets
ebe79f9cf44f isdn: eicon: fix a missing-check bug
3f8f52c5f200 ipv6: omit traffic class when calculating flow hash
ff33a32949c8 ipv4: remove warning in ip_recv_error
f1409a73b6f4 ipmr: properly check rhltable_init() return value
f200de49dff8 ip6_tunnel: remove magic mtu value 0xFFF8
989986db8f66 ip6mr: only set ip6mr_table from setsockopt when ip6mr_new_table succeeds
cbf561634db3 enic: set DMA mask to 47 bit
0d2eb422fe35 dccp: don't free ccid2_hc_tx_sock struct in dccp_disconnect()
d591263c7947 bnx2x: use the right constant
128f0d700569 be2net: Fix error detection logic for BE3
d58cf41924e8 kconfig: Avoid format overflow warning from GCC 8.1
058dd233b559 btrfs: define SUPER_FLAG_METADUMP_V2
af760b568ef1 mmap: relax file size limit for regular files
16d7ceb04b55 mmap: introduce sane default mmap limits
7cb10a4ce724 scsi: sd_zbc: Avoid that resetting a zone fails sporadically
1110636ed2d9 scsi: sd_zbc: Fix potential memory leak
2c6025ebc7fd Linux 4.14.48
1dd9566d9542 powerpc/mm/slice: Fix hugepage allocation at hint address on 8xx
399e039634a4 powerpc/mm/slice: Enhance for supporting PPC32
b8b23e8926b3 powerpc/mm/slice: create header files dedicated to slices
e14db4feb035 powerpc/mm/slice: Remove intermediate bitmap copy
c95c5f419e57 drm/i915: Disable LVDS on Radiant P845
72571f26757e drm/i915/lvds: Move acpi lid notification registration to registration phase
ffedc7ade784 drm/psr: Fix missed entry in PSR setup time table.
5890358c60e5 intel_th: Use correct device when freeing buffers
792be048cf9c Revert "rt2800: use TXOP_BACKOFF for probe frames"
a7027b7d698e mm/huge_memory.c: __split_huge_page() use atomic ClearPageDirty()
4a1b66bcec03 IB/core: Fix error code for invalid GID entry
bdf1daba5f62 hwtracing: stm: fix build error on some arches
1f8c4ed2dba5 stm class: Use vmalloc for the master map
a70f19b29560 scsi: scsi_transport_srp: Fix shost to rport translation
8a6576219da8 MIPS: prctl: Disallow FRE without FR with PR_SET_FP_MODE requests
f7a36d7ac838 MIPS: ptrace: Fix PTRACE_PEEKUSR requests for 64-bit FGRs
ed5bd13bec35 MIPS: lantiq: gphy: Drop reboot/remove reset asserts
6d67a723ef37 iio: adc: select buffer for at91-sama5d2_adc
838f25e3d9f2 iio:kfifo_buf: check for uint overflow
30ab9366f763 iio:buffer: make length types match kfifo types
d30819abd1c4 iio: ad7793: implement IIO_CHAN_INFO_SAMP_FREQ
a6f81fcb2c39 tcp: avoid integer overflows in tcp_rcv_space_adjust()
96b086a7bfe5 kbuild: clang: disable unused variable warnings only when constant
9b6eda5797b1 platform/chrome: cros_ec_lpc: remove redundant pointer request
a81920c73eb0 ASoC: Intel: sst: remove redundant variable dma_dev_name
bcc9c6f03201 rtlwifi: rtl8192cu: Remove variable self-assignment in rf.c
8524af02d132 drm/amd/powerplay: Fix enum mismatch
074e30a3fc09 dma-buf: remove redundant initialization of sg_table
5a92c6e3e2f3 drm/i915: Always sanity check engine state upon idling
151b144bc602 kbuild: clang: remove crufty HOSTCFLAGS
bc342bc02954 cfg80211: further limit wiphy names to 64 bytes
9808c97d3cb4 selinux: KASAN: slab-out-of-bounds in xattr_getsecurity
c6a95f37d3a0 tracing: Make the snapshot trigger work with instances
8441a0014a29 tracing: Fix crash when freeing instances with event triggers
2be683020be4 Input: elan_i2c_smbus - fix corrupted stack
9a85abc79483 Input: synaptics - add Lenovo 80 series ids to SMBus
9c707c93e179 Input: synaptics - add Intertouch support on X1 Carbon 6th and X280
af504c5a88b3 Input: synaptics - Lenovo Thinkpad X1 Carbon G5 (2017) with Elantech trackpoints should use RMI
88859f6cc5c4 Input: synaptics - Lenovo Carbon X1 Gen5 (2017) devices should use RMI
d1db300b8ffc xfs: detect agfl count corruption and reset agfl
d9a59eac3fd6 xfs: convert XFS_AGFL_SIZE to a helper function
54978daa9dc5 PCI: hv: Fix 2 hang issues in hv_compose_msi_msg()
085fc1967b56 Revert "pinctrl: msm: Use dynamic GPIO numbering"
4cbe6caa4c6c x86/MCE/AMD: Cache SMCA MISC block addresses
5df3a1b9f87b x86/mce/AMD: Carve out SMCA get_block_address() code
6bcf3b066c69 objtool: Fix "noreturn" detection for recursive sibling calls
806a730c0b0b objtool: Detect RIP-relative switch table references, part 2
afb5e5c8a125 objtool: Detect RIP-relative switch table references
2c26d5784e71 objtool: Support GCC 8 switch tables
1bea53df12c4 objtool: Support GCC 8's cold subfunctions
b968dd7650c8 mm: fix the NULL mapping case in __isolate_lru_page()
6a19487d5a93 fix io_destroy()/aio_complete() race
(From OE-Core rev: a08dac36a04e7fa1c14c9a770cabe1a0d9386b1a)
(From OE-Core rev: e98edd9d030ca3dcd8c83bb85ec2fd498770d844)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixup for Sumo context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's -stable updates to 4.12 that comprise the
following changes:
f4fd7580487d Linux 4.12.28
d15dfc7d192f net: mvneta: eliminate wrong call to handle rx descriptor error
c7a79cbd2b44 net: mvneta: use proper rxq_number in loop on rx queues
f65f1aed2ef2 net: mvneta: clear interface link status on port disable
402f4ea26693 tcp: add tcp_ooo_try_coalesce() helper
035eddf502ef tcp: call tcp_drop() from tcp_data_queue_ofo()
c224a5920d55 tcp: detect malicious patterns in tcp_collapse_ofo_queue()
7c5d21c36cec tcp: avoid collapses in tcp_prune_queue() if possible
f999a5cfc3eb tcp: free batches of packets in tcp_prune_ofo_queue()
3471d76b1128 net: add rb_to_skb() and other rb tree helpers
fcd212157f50 libnvdimm, pfn: fix start_pad handling for aligned namespaces
d90d61722843 libnvdimm, dax: fix 1GB-aligned namespaces vs physical misalignment
df6a2110169e drm/sun4i: Fix error path handling
d2d90272068d drm/i915: Flush pending GTT writes before unbinding
55e3ba836aee powerpc/perf: Dereference BHRB entries safely
32c5b092ac7e clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
a472f9b5c546 pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems
32f9f01a1b49 spi: a3700: Fix clk prescaling for coefficient over 15
39e2376e2774 spi: xilinx: Detect stall with Unknown commands
104bf43e4653 Revert "parisc: Re-enable interrupts early"
2c6a864363b5 parisc: Hide Diva-built-in serial aux and graphics card
4e92abc4d371 parisc: Align os_hpmc_size on word boundary
8df2ad333664 ALSA: usb-audio: Add native DSD support for Esoteric D-05X
2d7184d7f8b1 ALSA: rawmidi: Avoid racy info ioctl via ctl device
425708ccc413 mfd: twl6040: Fix child-node lookup
d99aacab316b mfd: twl4030-audio: Fix sibling-node lookup
cd2ca561cdd7 mfd: cros ec: spi: Don't send first message too soon
f5d153b69e6a crypto: mcryptd - protect the per-CPU queue with a lock
01b2634b17f4 acpi, nfit: fix health event notification
1170a37d5339 ACPI: APEI / ERST: Fix missing error handling in erst_reader()
0cf5d1f5ce10 bpf: fix incorrect sign extension in check_alu_op()
39cc58874bfc bpf, sparc: fix usage of wrong reg for load_skb_regs after call
8c570303798e bpf, ppc64: do not reload skb pointers in non-skb context
05bd23b36b88 bpf, s390x: do not reload skb pointers in non-skb context
da92e092ffa7 platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes
ab3980511fa0 thermal/drivers/hisi: Fix multiple alarm interrupts firing
ed7ec377cb05 thermal/drivers/hisi: Simplify the temperature/step computation
b4322338048d thermal/drivers/hisi: Fix kernel panic on alarm interrupt
e9b4b6019cc2 thermal/drivers/hisi: Fix missing interrupt enablement
01f1870f5aa8 IB/opa_vnic: Properly return the total MACs in UC MAC list
59522364dab2 IB/opa_vnic: Properly clear Mac Table Digest
84cf0ea1cb2a cpuidle: fix broadcast control when broadcast can not be entered
fdb28a72dafa rtc: set the alarm to the next expiring timer
245a952509f6 tcp: fix under-evaluated ssthresh in TCP Vegas
ebe28298b759 clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
c31c122f7744 staging: greybus: light: Release memory obtained by kasprintf
7900ee86e495 net: ipv6: send NS for DAD when link operationally up
0c8d7ea9c7db ibmvnic: Set state UP
eb3237c59a98 fm10k: ensure we process SM mbx when processing VF mbx
a076534d71b3 vfio/pci: Virtualize Maximum Payload Size
0e8c3cf3f83e i40e: fix client notify of VF reset
2e3bad157461 scsi: lpfc: PLOGI failures during NPIV testing
022e3fe9ac98 scsi: lpfc: Fix secure firmware updates
9e7341570bf9 fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw
af88451b2676 ASoC: codecs: msm8916-wcd-analog: fix module autoload
2fc38deb5bed ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback
4529e660bc83 tracing: Exclude 'generic fields' from histograms
3485fd44f243 PCI/AER: Report non-fatal errors only to the affected endpoint
64e367610786 Bluetooth: BT_HCIUART now depends on SERIAL_DEV_BUS
47663fe61367 Bluetooth: hci_uart_set_flow_control: Fix NULL deref when using serdev
58adf4fe65f8 md: always set THREAD_WAKEUP and wake up wqueue if thread existed
e9f7be0e550e block,bfq: Disable writeback throttling
c09fcc304541 IB/rxe: put the pool on allocation failure
392f4c00adca IB/rxe: check for allocation failure on elem
179099ba0d69 ixgbe: fix use of uninitialized padding
e2e131da3b6b i40e: use the safe hash table iterator when deleting mac filters
757ad831c703 igb: check memory allocation failure
e156a3afb676 PM / OPP: Move error message to debug level
9bd17b3b4bb6 PCI: Create SR-IOV virtfn/physfn links before attaching driver
54da833e63b0 scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
929cc7c94e3b scsi: cxgb4i: fix Tx skb leak
84aa72a81de3 PCI: Avoid bus reset if bridge itself is broken
3932edaebc65 net: phy: at803x: Change error to EINVAL for invalid MAC
e9bd07539e3f rtc: pl031: make interrupt optional
9f77ab2f562c crypto: lrw - Fix an error handling path in 'create()'
59e5a2e7eec9 crypto: crypto4xx - increase context and scatter ring buffer elements
13c0df6a379d clk: sunxi-ng: sun5i: Fix bit offset of audio PLL post-divider
68e13e506d6e clk: sunxi-ng: nm: Check if requested rate is supported by fractional clock
3996734fc715 drm: Add retries for lspcon mode detection
77190a6d2d57 backlight: pwm_bl: Fix overflow condition
d3b4b8043ff7 optee: fix invalid of_node_put() in optee_driver_init()
752218b19686 posix-timer: Properly check sigevent->sigev_notify
16c39a33a5c6 ACPI / APEI: adjust a local variable type in ghes_ioremap_pfn_irq()
ba0b2e6cbb82 Linux 4.12.27
feea4d492d73 usb: musb: da8xx: fix babble condition handling
6d8d83c4ec67 ath10k: fix build errors with !CONFIG_PM
00e875f83a3c ath9k: fix tx99 potential info leak
01cf18e17476 lightnvm: pblk: fix min size for page mempool
4413575d48be lightnvm: pblk: initialize debug stat counter
87135620a06a lightnvm: pblk: fix changing GC group list for a line
3b1abf7d20f6 icmp: don't fail on fragment reassembly time exceeded
4be8ae2da97b IB/ipoib: Fix lockdep issue found on ipoib_ib_dev_heavy_flush
7d284754ed54 IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
634b3e0fefd7 RDMA/cma: Avoid triggering undefined behavior
f9f24086ba42 macvlan: Only deliver one copy of the frame to the macvlan interface
aba3745fc9b0 udf: Avoid overflow when session starts at large offset
4a9bf3983ef9 md-cluster: fix wrong condition check in raid1_write_request
e08da1a3d9d5 raid5-ppl: check recovery_offset when performing ppl recovery
a6b9b60622b0 scsi: bfa: integer overflow in debugfs
a6adc19ff5a4 scsi: sd: change allow_restart to bool in sysfs interface
d23a6641b217 scsi: sd: change manage_start_stop to bool in sysfs interface
be59ef05ed52 rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_disassoc_cmd
9257df5ece69 vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
5d0d0b750520 IB/core: Fix calculation of maximum RoCE MTU
950215a22a7a scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
40dd3da9911d raid5: Set R5_Expanded on parity devices as well as data.
d63147f7712f pinctrl: adi2: Fix Kconfig build problem
b25a34c20291 dev/dax: fix uninitialized variable build warning
3b928d69ed7c tty fix oops when rmmod 8250
6fd73bd5acc5 ipv4: ipv4_default_advmss() should use route mtu
e8552a24db2a soc: mediatek: pwrap: fix compiler errors
023499e5fff8 powerpc/xmon: Check before calling xive functions
7092b9c569ee powerpc/perf/hv-24x7: Fix incorrect comparison in memord
d85bb8676f60 serdev: ttyport: enforce tty-driver open() requirement
dcc2d9b7db19 mfd: mxs-lradc: Fix error handling in mxs_lradc_probe()
d7630ac47698 scsi: hpsa: destroy sas transport properties before scsi_host
a2133c918746 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
37686080a0c8 PCI: Detach driver before procfs & sysfs teardown on device remove
585eb66776b7 RDMA/cxgb4: Declare stag as __be32
06a21042a540 xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
98da748f2c95 xfs: fix log block underflow during recovery cycle verification
9aaebfb38490 l2tp: cleanup l2tp_tunnel_delete calls
4fd806e81bcb nvme: use kref_get_unless_zero in nvme_find_get_ns
377d9449f868 platform/x86: hp_accel: Add quirk for HP ProBook 440 G4
89e9f0fce2a4 liquidio: fix kernel panic in VF driver
85aad298ecc2 samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp1
767f9da42096 ARM64: dts: meson-gxbb-odroidc2: fix usb1 power supply
65743dd02181 mtd: spi-nor: stm32-quadspi: Fix uninitialized error return code
0501313aa697 btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
563e097ec448 btrfs: avoid null pointer dereference on fs_info when calling btrfs_crit
3faadbbe68b1 btrfs: undo writable superblocke when sprouting fails
7028f26c6034 btrfs: Explicitly handle btrfs_update_root failure
3f0a4dfc8eb9 Bluetooth: hci_ldisc: Fix another race when closing the tty.
abb921b20fa0 Ib/hfi1: Return actual operational VLs in port info query
879b18ebb8f4 bcache: fix wrong cache_misses statistics
744eb7bd3386 bcache: explicitly destroy mutex while exiting
653aad5c1702 media: usbtv: fix brightness and contrast controls
c4d5c7940953 GFS2: Take inode off order_write list when setting jdata flag
2e510357e1a6 scsi: scsi_debug: write_same: fix error report
56c755841ee6 misc: pci_endpoint_test: Avoid triggering a BUG()
b55d52393e28 misc: pci_endpoint_test: Fix failure path return values in probe
aeac8e4c0c15 thermal/drivers/step_wise: Fix temperature regulation misbehavior
aaca414203c4 ASoC: rsnd: rsnd_ssi_run_mods() needs to care ssi_parent_mod
0587e5a36d00 ppp: Destroy the mutex when cleanup
4a7735ca4455 clk: tegra: Fix cclk_lp divisor register
0006385aadd0 clk: tegra: Use readl_relaxed_poll_timeout_atomic() in tegra210_clock_init()
6ae2754d991b blk-mq-sched: dispatch from scheduler IFF progress is made in ->dispatch
ec4585cdc959 clk: hi6220: mark clock cs_atb_syspll as critical
f203d6193f5c clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
c9ce9a4d1734 clk: imx: imx7d: Fix parent clock for OCRAM_CLK
5f200f317929 clk: mediatek: add the option for determining PLL source clock
6f7955a0aa2a crypto: tcrypt - fix buffer lengths in test_aead_speed()
40734099baaa xfs: truncate pagecache before writeback in xfs_setattr_size()
165b974bd72a iommu/amd: Limit the IOVA page range to the specified addresses
a2e1fcc04fb6 badblocks: fix wrong return value in badblocks_set if badblocks are disabled
75920b77b802 target/file: Do not return error for UNMAP if length is zero
ca73c042292d target:fix condition return in core_pr_dump_initiator_port()
8e2ee3f5ff33 iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
f1ae60da96df target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
d5adfbee09dc target/iscsi: Detect conn_cmd_list corruption early
edd7fdf83184 platform/x86: intel_punit_ipc: Fix resource ioremap warning
da2aa58cb07b powerpc/pseries/vio: Dispose of virq mapping on vdevice unregister
2ae1d60028ab powerpc/ipic: Fix status get and status clear
1d0cfd6df447 powerpc/opal: Fix EBUSY bug in acquiring tokens
88189efa7ee7 netfilter: ipvs: Fix inappropriate output of procfs
39254860365c iommu/mediatek: Fix driver name
c82f9ea385ab PCI: dwc: Fix enumeration end when reaching root subordinate
5dad0dfd17df PCI: Do not allocate more buses than available in parent
4a917030981d powerpc: Don't preempt_disable() in show_cpuinfo()
0bc0d339ff6c powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
7842177fdc43 PCI/PME: Handle invalid data when reading Root Status
301c44edb5a1 dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
2761bc37b1c2 ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case
c42830902147 PM / s2idle: Clear the events_check_enabled flag
9c70ec2c413d scsi: aacraid: address UBSAN warning regression
3819c3c756b0 scsi: aacraid: use timespec64 instead of timeval
e262d43729be rtc: pcf8563: fix output clock rate
3ecf1bdeb61e video: fbdev: au1200fb: Return an error code if a memory allocation fails
d56242baba22 video: fbdev: au1200fb: Release some resources if a memory allocation fails
3b53b4e4c0ab video: udlfb: Fix read EDID timeout
f50c8ab6dc0d fbdev: controlfb: Add missing modes to fix out of bounds access
bfbfacb318cd sfc: don't warn on successful change of MAC
ae058bf77e63 HID: cp2112: fix broken gpio_direction_input callback
91590951dec1 ext4: fix crash when a directory's i_size is too small
4fae0491c35c ext4: fix fdatasync(2) after fallocate(2) operation
df19eb58d7be dmaengine: dmatest: fix container_of member in dmatest_callback
100cb4506fb4 dmaengine: dmatest: move callback wait queue to thread context
4d873e954ac0 eeprom: at24: change nvmem stride to 1
b90737b239b0 iw_cxgb4: only insert drain cqes if wq is flushed
6b1f48a27656 dm: fix various targets to dm_register_target after module __init resources created
26c2e6fc10f1 scsi: core: Fix a scsi_show_rq() NULL pointer dereference
04039227baf7 nfsd: auth: Fix gid sorting when rootsquash enabled
143fdc512ac6 NFS: Fix unstable write completion
7482c56f758c NFS: Use an atomic_long_t to count the number of commits
3ef4a32040bf nfs: don't wait on commit in nfs_commit_inode() if there were no commit requests
4a70dd38f444 xhci: Don't add a virt_dev to the devs array before it's fully allocated
fa7944fd5601 usb: xhci: fix TDS for MTK xHCI1.1
80aa2eb9b51b ceph: drop negative child dentries before try pruning inode's alias
b9db0ab47687 mmc: core: apply NO_CMD23 quirk to some specific cards
ff1b82c5314c usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
cea2ad71f37b usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input
1e5edda8ccd3 usbip: fix stub_rx: get_pipe() to validate endpoint number
3ac1e4089c48 USB: core: prevent malicious bNumInterfaces overflow
2479ee21bf60 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
b3fd05a19818 tracing: Allocate mask_str buffer dynamically
5eb37713e296 kernel: make groups_sort calling a responsibility group_info allocators
d87a616735d8 cifs: fix NULL deref in SMB2_read
d22121ce1210 crypto: rsa - fix buffer overread when stripping leading zeroes
0ad02bd37731 mfd: fsl-imx25: Clean up irq settings during removal
(From OE-Core rev: 408daaa6d0fb2147a541b0f14d73b362bd848d3c)
(From OE-Core rev: 768051963683a354a80e11c7d792791b160c2f2b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
{Fixup for Sumo context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ignore unauthenticated encrypted EAPOL-Key data in supplicant
processing. When using WPA2, these are frames that have the Encrypted
flag set, but not the MIC flag.
(From OE-Core rev: a5a07887e73ebf0aa6b3b1fa247e44743b39322e)
(From OE-Core rev: 96f69ae45a47a8aeb17b494b128e034fb12a5e98)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
os-release (5) recommends that the os-release file be installed in
/usr/lib/os-release and that /etc/os-release be a relative symlink to it.
(From OE-Core rev: 4feb8614ee25a3d3ceb7f5187120a1256a993155)
(From OE-Core rev: 4e67fa950cd3ca6e44d7f46743904d23a756e498)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes issues mainly seen when mounting eMMC devices:
The wildcard /sys/block/${DEVBASE}/${DEVBASE}*1 matches both "mmcblk0p1"
and "mmcblk0boot1" for example, and this results in syntax errors. Fix this
by searching for a "partition" file instead, which only exists for real
partitions and not 'fakes' like the eMMC extra's.
When mount fails, the mountpoint file is left behind, causing later attempts
at auto-mounting it to fail. If mount fails, remove the mountpoint, leaving
the system in the state as it was before the mount attempt.
(From OE-Core rev: 8645c0419456c1bd3ae15a9a7dd2b2e9a960eaf4)
(From OE-Core rev: 38f1648f1472f70a3e747f270cc3230b5993d94b)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move init related configs to init.cfg.
These config items do not make much sense unless busybox is selected
as the init manager. They should belong to init.cfg.
(From OE-Core rev: 4af10fe67a31368163bb5d468ee2c5a85ce0fff3)
(From OE-Core rev: 996247ba7dfffbeb444f793f7e105fcfb5ffa939)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If CONFIG_KLOGD is not enabled, then the related service file should
not be installed, The error message is below:
Cannot add dependency job for unit busybox-klogd.service,
ignoring: Unit busybox-klogd.service failed to load:
No such file or directory.
So we should first check the configuration before we install these
service files.
(From OE-Core rev: c3cc402df996654bf6f838b1e79e16a8bdd6d4d7)
(From OE-Core rev: df1cd90140456dbed0c1bd29ead7c1c81f498b99)
Signed-off-by: Yadi.hu <yadi.hu@windriver.com>
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use == instead of = when comparing task outcome to OUTCOME_FAILED.
Prior to this fix the recipe template would cause a TemplateSyntaxError
exception.
(Bitbake rev: a53ffec4ed3d0f9221bca398e20e8f480fb2b325)
(Bitbake rev: bef6ef1a79b2d5a3688ae845824f722c332d7f19)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The local layer info (provided through custom fixtures) should
not be hidden. It is better to handle it in the same manner
as an imported layer, otherwise the layer path and dependency
info is not shown. The layer editing fields are handled in the
html side of things appropriately so this does not harm that
implementation.
[YOCTO #12891]
(Bitbake rev: 75918405346abde6055658372c1a954a214001cc)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In a case where the layer source is local only and the recipe
is not yet built, we can search for the path with layer's
local_source_dir, and if available that should be used rather
than just skipping the scenario.
[YOCTO #12891]
(Bitbake rev: 30f622dbd874b800c5bbdbeac992dd7783092928)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change allows the CUSTOM_XML_ONLY toaster setting to be
provided through the environment so the user can do this without
mingling with the settings.xml, for scenarios where modifying
settings.xml is not achievable.
[YOCTO #12891]
(Bitbake rev: 87060a84e74125be10db062da3032e9b01f5dc96)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The release drop down divs are not being closed
appropriately, which showed adverse reactions on
the UI that aligned the "Create project" button
with the left edge of the screen without any
margins. This fixes these divs which in turn
aligns the button appropriately.
[YOCTO #12891]
(Bitbake rev: bc6a137f4f8193cadfa8a8d0e43875991d47a818)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There can be cases where the variables being used
to divide in build percentage expressions can be
zero. For example, a setup consisting of only local
repos will have repos_to_clone=0 and will generate
a divide by zero scenario.
Fix this by checking the divisor in such cases.
[YOCTO #12891]
(Bitbake rev: 30702f29928c3b088f199bf8b1609b2956f8c47a)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
TOASTER_DIR is used for higher level toaster artifacts
such the SQL DB and creating toaster internal build
directories for projects. Prior to this change it was
evaluated as `dirname $BUILDDIR` and user had no control
over it. This change allows to override this variable
from the command line for more flexibility. The variable
defaults to its original setting if the optional argument
is not passed.
[YOCTO #12891]
(Bitbake rev: e073775d3b6980fc8004ae28a3ccc3c5bbf50fb2)
(Bitbake rev: 486e571b1caaf7f86f8f969c512566487bcd9841)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current mechanism for finding the bitbake binary
assumes a directory structure which is identical to
poky, where oe-core's meta and bitbake directories are
at the same level. There can be a case where bitbake
is used from elsewhere and in such cases the above
mentioned assumption fails to hold, whereas this is
totally allowed by the oe-init-build-env script which
can take bitbakedir as an argument.
The better approach is to allow bitbake to be derived
from PATH, while keeping the older mechanism in place so
it can be removed after tests are done in various
environments. This makes more sense as toaster has
also been launched from the same bitbake instance
that is the one in PATH.
[YOCTO #12891]
(Bitbake rev: 15340edce23e63b060c75114d508e1f76757239c)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toaster depends on pokydirname for identifying the location of
the oe-init-build-env script (and there might be other purposes
in the future). The problem with current approach is that it
only checks/sets the variable with git based repos, whereas
toaster provides mechanisms to allow having layers that are all
locally available. The evaluation of the variable fails in such
scenarios, so use a more flexible mechanism in this case and
try to locate poky in the local layers as well, if not already
set.
[YOCTO #12891]
(Bitbake rev: 971c728075af05e71edfd8e5212728c3dd0787b6)
Signed-off-by: Awais Belal <awais.belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case something goes tragically wrong, catch a request to checksum / and
refuse.
(Bitbake rev: 7444419b7fda34e14d653ba8470f5dfabb5da4f3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Opening a file in binary mode and iterating it seems like the simple solution
but will still break on newlines, which for binary files isn't really useful as
the size of the chunks could be huge or tiny.
Instead, let's be a bit more clever: we'll be MD5ing lots of files, but we don't
want to fill up memory: use mmap() to open the file and read the file in 8k
blocks.
(Bitbake rev: 41e6161c8ce8cc90ebc93d72852673ae60fac923)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The actual dependency on native Python and is handled by inheriting
python3native
(From OE-Core rev: 115a6dea664c9b18fd19b79659029afb52b1a660)
(From OE-Core rev: 82b018956763bf85b90d512c8a6bc96d59fa67fd)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(perl #131844) fix various space calculation issues in
pp_pack.c
- for the originally reported case, if the start/cur pointer is in the
top 75% of the address space the add (cur) + glen addition would
overflow, resulting in the condition failing incorrectly.
- the addition of the existing space used to the space needed could
overflow, resulting in too small an allocation and a buffer overflow.
- the scaling for UTF8 could overflow.
- the multiply to calculate the space needed for many items could
overflow.
For the first case, do a space calculation without making new pointers.
For the other cases, detect the overflow and croak if there's an
overflow.
Originally this used Size_t_MAX as the maximum size of a memory
allocation, but for -DDEBUGGING builds realloc() throws a panic for
allocations over half the address space in size, changing the error
reported for the allocation.
For non-DEBUGGING builds the Size_t_MAX limit has the small chance
of finding a system that has 3GB of contiguous space available, and
allocating that space, which could be a denial of servce in some cases.
Unfortunately changing the limit to half the address space means that
the exact case with the original issue can no longer occur, so the
test is no longer testing against the address + length issue that
caused the original problem, since the allocation is failing earlier.
One option would be to change the test so the size request by pack is
just under 2GB, but this has a higher (but still low) probability that
the system has the address space available, and will actually try to
allocate the memory, so let's not do that.
Note: changed
plan tests => 14713;
to
plan tests => 14712;
in a/t/op/pack.t
to apply this patch on perl 5.24.1.
Affects perl < 5.26.2
(From OE-Core rev: 0542779d2f1a8977a732800a8998fd88971c0c1d)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(perl #132227) restart a node if we change to uni rules within the node and encounter...
This could lead to a buffer overflow.
(cherry picked from commit a02c70e35d1313a5f4e245e8f863c810e991172d)
Affects perl >= 5.18 && perl <= 5.26
(From OE-Core rev: 109ffd1b3d10753bfd711a14ad59b194ca3ce831)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* CVE-2018-6798-1
The proximal cause is several instances in regexec.c of the code
assuming that the input was valid UTF-8, whereas the input was too short
for what the start byte claimed it would be.
I grepped through the core for any other similar uses, and did not find
any.
(cherry picked from commit fe7d8ba0a1bf567af8fa8fea128e2b9f4c553e84)
* CVE-2018-6798-2
The first patch for 132063 prevented the buffer read overflow when
dumping the warning but didn't fix the underlying problem.
The next change treats the supplied buffer correctly, preventing the
non-UTF-8 SV from being treated as UTF-8, preventing the warning.
(cherry picked from commit 1e8b61488f195e1396aa801c685340b156104f4f)
Affects perl >= 5.22 && perl <= 5.26
(From OE-Core rev: 4aaf09b9d657b1c2df85bf509008beacd6a00342)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qga: check bytes count read by guest-file-read
While reading file content via 'guest-file-read' command,
'qmp_guest_file_read' routine allocates buffer of count+1
bytes. It could overflow for large values of 'count'.
Add check to avoid it.
Affects qemu < v3.0.0
(From OE-Core rev: a11c8ee86007f7f7a34b9dc29d01acc323b71873)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* CVE-2018-1000030-1
[2.7] bpo-31530: Stop crashes when iterating over a file on multiple threads
* CVE-2018-1000030-2
Multiple threads iterating over a file can corrupt the file's internal readahead
buffer resulting in crashes. To fix this, cache buffer state thread-locally for
the duration of a file_iternext call and only update the file's internal state
after reading completes.
No attempt is made to define or provide "reasonable" semantics for iterating
over a file on multiple threads. (Non-crashing) races are still
present. Duplicated, corrupt, and missing data will happen.
This was originally fixed by 6401e56, which
raised an exception from seek() and next() when concurrent operations were
detected. Alas, this simpler solution breaks legitimate use cases such as
capturing the standard streams when multiple threads are logging.
Affects python <= 2.7.14
(From OE-Core rev: 4b6c84e0f950f839bfb8c40f197197f838d8b733)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
proc/readproc.c: Fix bugs and overflows in file2strvec().
Note: this is by far the most important and complex patch of the whole
series, please review it carefully; thank you very much!
For this patch, we decided to keep the original function's design and
skeleton, to avoid regressions and behavior changes, while fixing the
various bugs and overflows. And like the "Harden file2str()" patch, this
patch does not fail when about to overflow, but truncates instead: there
is information available about this process, so return it to the caller;
also, we used INT_MAX as a limit, but a lower limit could be used.
The easy changes:
- Replace sprintf() with snprintf() (and check for truncation).
- Replace "if (n == 0 && rbuf == 0)" with "if (n <= 0 && tot <= 0)" and
do break instead of return: it simplifies the code (only one place to
handle errors), and also guarantees that in the while loop either n or
tot is > 0 (or both), even if n is reset to 0 when about to overflow.
- Remove the "if (n < 0)" block in the while loop: it is (and was) dead
code, since we enter the while loop only if n >= 0.
- Rewrite the missing-null-terminator detection: in the original
function, if the size of the file is a multiple of 2047, a null-
terminator is appended even if the file is already null-terminated.
- Replace "if (n <= 0 && !end_of_file)" with "if (n < 0 || tot <= 0)":
originally, it was equivalent to "if (n < 0)", but we added "tot <= 0"
to handle the first break of the while loop, and to guarantee that in
the rest of the function tot is > 0.
- Double-force ("belt and suspenders") the null-termination of rbuf:
this is (and was) essential to the correctness of the function.
- Replace the final "while" loop with a "for" loop that behaves just
like the preceding "for" loop: in the original function, this would
lead to unexpected results (for example, if rbuf is |\0|A|\0|, this
would return the array {"",NULL} but should return {"","A",NULL}; and
if rbuf is |A|\0|B| (should never happen because rbuf should be null-
terminated), this would make room for two pointers in ret, but would
write three pointers to ret).
The hard changes:
- Prevent the integer overflow of tot in the while loop, but unlike
file2str(), file2strvec() cannot let tot grow until it almost reaches
INT_MAX, because it needs more space for the pointers: this is why we
introduced ARG_LEN, which also guarantees that we can add "align" and
a few sizeof(char*)s to tot without overflowing.
- Prevent the integer overflow of "tot + c + align": when INT_MAX is
(almost) reached, we write the maximal safe amount of pointers to ret
(ARG_LEN guarantees that there is always space for *ret = rbuf and the
NULL terminator).
Affects procps-ng < 3.3.15
(From OE-Core rev: 82d873a1b73da25ae415afe0e6203693f78b88c9)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
newgidmap: enforce setgroups=deny if self-mapping a group
This is necessary to match the kernel-side policy of "self-mapping in a
user namespace is fine, but you cannot drop groups" -- a policy that was
created in order to stop user namespaces from allowing trivial privilege
escalation by dropping supplementary groups that were "blacklisted" from
certain paths.
This is the simplest fix for the underlying issue, and effectively makes
it so that unless a user has a valid mapping set in /etc/subgid (which
only administrators can modify) -- and they are currently trying to use
that mapping -- then /proc/$pid/setgroups will be set to deny. This
workaround is only partial, because ideally it should be possible to set
an "allow_setgroups" or "deny_setgroups" flag in /etc/subgid to allow
administrators to further restrict newgidmap(1).
We also don't write anything in the "allow" case because "allow" is the
default, and users may have already written "deny" even if they
technically are allowed to use setgroups. And we don't write anything if
the setgroups policy is already "deny".
Ref: https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357
Fixes: CVE-2018-7169
Affects shadow <= 4.5
(From OE-Core rev: a875522540372a4fa6658885692e564dfd729f54)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
submodule-config: verify submodule names as paths
Submodule "names" come from the untrusted .gitmodules file,
but we blindly append them to $GIT_DIR/modules to create our
on-disk repo paths. This means you can do bad things by
putting "../" into the name (among other things).
Let's sanity-check these names to avoid building a path that
can be exploited. There are two main decisions:
1. What should the allowed syntax be?
It's tempting to reuse verify_path(), since submodule
names typically come from in-repo paths. But there are
two reasons not to:
a. It's technically more strict than what we need, as
we really care only about breaking out of the
$GIT_DIR/modules/ hierarchy. E.g., having a
submodule named "foo/.git" isn't actually
dangerous, and it's possible that somebody has
manually given such a funny name.
b. Since we'll eventually use this checking logic in
fsck to prevent downstream repositories, it should
be consistent across platforms. Because
verify_path() relies on is_dir_sep(), it wouldn't
block "foo\..\bar" on a non-Windows machine.
2. Where should we enforce it? These days most of the
.gitmodules reads go through submodule-config.c, so
I've put it there in the reading step. That should
cover all of the C code.
We also construct the name for "git submodule add"
inside the git-submodule.sh script. This is probably
not a big deal for security since the name is coming
from the user anyway, but it would be polite to remind
them if the name they pick is invalid (and we need to
expose the name-checker to the shell anyway for our
test scripts).
This patch issues a warning when reading .gitmodules
and just ignores the related config entry completely.
This will generally end up producing a sensible error,
as it works the same as a .gitmodules file which is
missing a submodule entry (so "submodule update" will
barf, but "git clone --recurse-submodules" will print
an error but not abort the clone.
There is one minor oddity, which is that we print the
warning once per malformed config key (since that's how
the config subsystem gives us the entries). So in the
new test, for example, the user would see three
warnings. That's OK, since the intent is that this case
should never come up outside of malicious repositories
(and then it might even benefit the user to see the
message multiple times).
Credit for finding this vulnerability and the proof of
concept from which the test script was adapted goes to
Etienne Stalmans.
Affects: git < 2.13.7 and git < 2.14.4 and git < 2.15.2 and git < 2.16.4 and
git < 2.17.1
(From OE-Core rev: 229bb7cd70c79944d54696d50f4f34df85a5804a)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2017-18018-1:
doc: clarify chown/chgrp --dereference defaults
* doc/coreutils.texi: the documentation for the --dereference
flag of chown/chgrp states that it is the default mode of
operation. Document that this is only the case when operating
non-recursively.
CVE-2017-18018-2:
doc: warn about following symlinks recursively in chown/chgrp
In both chown and chgrp (which shares its code with chown), operating
on symlinks recursively has a window of vulnerability where the
destination user or group can change the target of the operation.
Warn about combining the --dereference, --recursive, and -L flags.
* doc/coreutils.texi (warnOptDerefWithRec): Add macro.
(node chown invocation): Add it to --dereference and -L.
(node chgrp invocation): Likewise.
Affects coreutils <= 8.29
(From OE-Core rev: a523bc6a2ff7d5b5415a789de02fb055ccd2c077)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
double64_init: Check psf->sf.channels against upper bound
This prevents division by zero later in the code.
While the trivial case to catch this (i.e. sf.channels < 1) has already
been covered, a crafted file may report a number of channels that is
so high (i.e. > INT_MAX/sizeof(double)) that it "somehow" gets
miscalculated to zero (if this makes sense) in the determination of the
blockwidth. Since we only support a limited number of channels anyway,
make sure to check here as well.
CVE-2017-14634
Closes: #318
Affects libsndfile1 = 1.0.28
(From OE-Core rev: 00da7bad24cf78c9dba091b9e480515f25886b48)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sfe_copy_data_fp: check value of "max" variable for being normal
and check elements of the data[] array for being finite.
Both checks use functions provided by the <math.h> header as declared
by the C99 standard.
Fixes#317
CVE-2017-14245
CVE-2017-14246
Affects libsndfile1 = 1.0.28
(From OE-Core rev: 39b1dc89ce2870d1a2630b2319783a6203cbcb08)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patch original c_rehash script with Debian patch instead
of overriding it with own version.
Error output from c_reshah without patching:
Unknown regexp modifier "/b" at ./c_rehash line 15, at end of line
Unknown regexp modifier "/W" at ./c_rehash line 28, at end of line
Unknown regexp modifier "/3" at ./c_rehash line 28, at end of line
Unknown regexp modifier "/2" at ./c_rehash line 28, at end of line
No such class installdir at ./c_rehash line 63, near "Prefix our
installdir"
(Might be a runaway multi-line // string starting on line 28)
syntax error at ./c_rehash line 63, near "Prefix our installdir"
Can't redeclare "my" in "my" at ./c_rehash line 68, near ""
Execution of ./c_rehash aborted due to compilation errors.
(From OE-Core rev: f8a826f497073533a3e4c390255ae197d65d6ef3)
(From OE-Core rev: 4524d1f916b55db6d280ff51a41933b8ec9046b0)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Marko Peter <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The perlpath.pl script is used to patch the #! lines in all perl
scripts in the utils directory. However, as these scripts are run via
e.g. "perl foo.pl", they don't actually rely on the #! path to be
correct (which can be confirmed by the observation that the path is
currently being set to ${STAGING_BINDIR_NATIVE}/perl, which doesn't
exist).
(From OE-Core rev: ba88fe46d47846042518a5a1017d782ba548202c)
(From OE-Core rev: 1b0dcca0f083081295f32f09b408ab6c6c10f66f)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssl Configure script will only select standalone makedepend
(vs running "$CC -M") when building with gcc < 3.x or with an Apple
Xcode version which predates the switch to clang (in approx 2010?).
Neither of these cases are possible when building under OE, therefore
the dependency on makedepend-native can be dropped (ie align the
openssl 1.0 recipe with the 1.1 recipe, which has dropped the
makedepend-native dependency already).
(From OE-Core rev: 4c5bd69e5cb203c8a4c2f3716c941661c0afc830)
(From OE-Core rev: 74524ec2a0f5a4210dd6680afb4b685a69f96a71)
Signed-off-by: Andre McCurdy <armccurdy@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Openssl 1.1 requires perl in order to build (just as openssl 1.0
does). The missing dependency has gone unnoticed up to now since
hostperl-runtime-native is included in ASSUME_PROVIDED.
(From OE-Core rev: ed5f8bb582453e7d8a1636ad1463380076209bd2)
(From OE-Core rev: 33a9519040b6e5cd9e83bb76589f75b00f1cd1c2)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Squash whitespace in CC_INFO to avoid recipe whitespace changes to
CFLAG affecting the final openssl binaries (the value of CC_INFO gets
embedded in libcrypto, via buildinf.h).
(From OE-Core rev: 2227c51896d4399daac9d85f40d7510b7c8ae03f)
(From OE-Core rev: 0bda7fda8ce11b9b8c4c69aee1afbda30c3eadd5)
Signed-off-by: Andre McCurdy <armccurdy@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Creating the openssl manpages, which happens as part of do_install(),
can take a significant amount of time (e.g. ~50 seconds on a quad
core laptop). Provide a PACKAGECONFIG option to allow creation of the
manpages to be skipped completely if not required and inherit the
manpages class to automatically control the PACKAGECONFIG option
(based on the "api-documentation" distro feature).
(From OE-Core rev: 1ddca1872f64c566fd812a6ec44f2d4e4d84f58f)
(From OE-Core rev: 061c17ff22f4df573bccbf4b66f2fdf5501c3617)
Signed-off-by: Andre McCurdy <armccurdy@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fact that the darwin support only appears to consider x86 (and
not x86_64) suggests that it's not maintained or tested. In general
oe-core doesn't support building on darwin.
(From OE-Core rev: 9c7f37bb1345c38211acd137c00b9d07f92601a7)
(From OE-Core rev: ebe53ed0e34b88c7d7fef22e1a5ad4959517fdab)
Signed-off-by: Andre McCurdy <armccurdy@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously (when EXTRA_OEMAKE contained -e) exporting these variables
over-rode default values in the top-level openssl Makefile. However,
since -e was removed from EXTRA_OEMAKE as part of:
http://git.openembedded.org/openembedded-core/commit/?id=537a404cfbb811fcb526cdb5f2e059257de6ef13
exporting these variables does nothing. The comment from that commit
that only AR is affected by removing -e wasn't correct, but the
effects of letting the openssl Makefile also control AS, EX_LIBS and
DIRS seem to be either benign or beneficial.
Since without -e make ignores DIRS from the environment and always
runs for all subdirs (including "test"), adding "test" to DIRS and
calling "make depend" again from do_compile_ptest() can be dropped.
(From OE-Core rev: b3e81e3cf86dd8736b62a6b88d6a6dbe518c9e5e)
(From OE-Core rev: 8aa33c15b7c71cda8de3e3571879a5d39c915adb)
Signed-off-by: Andre McCurdy <armccurdy@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds a second line to the -help output of the CA.pl script
(which lists almost the same command line options as the line above
it but in a slightly different order). Although it's tagged as a
Debian backport, there's no patch like it in recent Debian patch sets
for openssl 1.0.2.
(From OE-Core rev: 9b3af406747a3d565d12d948400d44fb12ab0d96)
(From OE-Core rev: 4a136f8b2cfb6cdd5ba16a2ebbe9b418fead1c76)
Signed-off-by: Andre McCurdy <armccurdy@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix inconsistent indent (and also make the openssl 1.1 recipe more
consistent and consistent with the openssl 1.0 recipe).
(From OE-Core rev: 69844643aa1b829c27f144db634c8223c18c783f)
(From OE-Core rev: 3e0290b51da404761ac6a7d2657fd10693bf21b9)
Signed-off-by: Andre McCurdy <armccurdy@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently target builds call make twice as part of do_compile(). It
appears to be an accidental side effect of needing to only pass
CC_INFO on the make command line for target builds, since CC_INFO is
only referenced by the reproducible build patches.
(From OE-Core rev: 6c4942b5c771876ad0e62e56923f59cc71776157)
(From OE-Core rev: 1aaca6b00c083eba25eb8502bbdffef4e45fafd8)
Signed-off-by: Andre McCurdy <armccurdy@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since openssl isn't an autotools recipe, defining cryptodev-linux
related config options via PACKAGECONFIG hasn't worked correctly
since PACKAGECONFIG_CONFARGS stopped being automatically appended to
EXTRA_OECONF in 2016:
http://git.openembedded.org/openembedded-core/commit/?id=c98fb5f5129e71829ffab4449b3d28082bc95ab4
The issue appears to have been hidden as the flags are also hardcoded
in CFLAG - and therefore always enabled, regardless of the state of
the PACKAGECONFIG option. Fix by passing both EXTRA_OECONF and
PACKAGECONFIG_CONFARGS when running the openssl Configure script.
Although the openssl 1.1 recipe doesn't contain any PACKAGECONFIG
options yet, pre-emptively make the same fix there too.
Also only enable cryptodev-linux by default for target builds (based
on the historical comments in the recipe, that seems to have been the
original intention).
(From OE-Core rev: 6fee11b04b979a5b3237902d947db7118cafca2b)
(From OE-Core rev: 201f4a889c0e4b3d13369e38662bf97ed8a9a8e1)
Signed-off-by: Andre McCurdy <armccurdy@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop redundant setting of S to its default value, fix inconsistent
indent and re-order variables to align more closely to the OE
style-guide.
(From OE-Core rev: c36637a0304551bf2736bb15796947d9aaf00076)
(From OE-Core rev: 67cde33115798b298f7840cad34d8ef91b3b7fa2)
Signed-off-by: Andre McCurdy <armccurdy@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssl10.inc include file only has one user, so we can improve
maintainability by merging the include file into the recipe which
uses it.
(From OE-Core rev: f5568740d5ff72090c3ca894ddfdc3078169da25)
(From OE-Core rev: 5b4ffcbcdc28aec506a21f5abd76848c1de24011)
Signed-off-by: Andre McCurdy <armccurdy@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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop redundant setting of S to its default value and re-order
variables to align more closely to the OE style-guide.
(From OE-Core rev: 4871481e66449dd2b054119b37d0baedb166b72c)
(From OE-Core rev: 5da668175ee7c56067c1272e7a701d5c38e94524)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.
The current usage is incorrect and prevents the aarch64 and musl
specific config options from being active together.
(From OE-Core rev: 2a30a9ecab6465892698f7fc9d14a430d8a26f0c)
(From OE-Core rev: 000da57cc858f5432153be849faba3862e4e9ed5)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When SDK is not installed in the default location, openssl will not be
able to find the the openssl.cnf config file:
"WARNING: can't open config file: XXXX/usr/lib/ssl/openssl.cnf"
To fix this, we need to provide the environment variable $OPENSSL_CONF
pointing to the correct config file location.
(From OE-Core rev: b3f148333515efdb746b78c57d62cfbf3321b21e)
(From OE-Core rev: fcea508efedeb36ca31fe8ad0cbc6d194fcfd1f7)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ccache and openssl don't get on:
| make[1]: Entering directory '/home/prj/yocto/build/tmp/work/core2-64-poky-linux/openssl/1.0.2o-r0/openssl-1.0.2o/crypto'
| ccache: invalid option -- 'D'
Disable the use of ccache in the openssl recipe until someone root-causes this.
[ YOCTO #12810 ]
(From OE-Core rev: 8f9ceebb197dba10f2d08449de2dd64584de06bb)
(From OE-Core rev: e90da34e5667acacd9ad0dd167846a6126fefad2)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleans up the packaging by moving libasound.so.2 back into the alsa-lib
package which was previously empty.
Previously, it was difficult to create an image that had libasound.so.2,
then create an SDK from that image that had the proper development
files, because the only way to get libasound.so.2 was to do:
IMAGE_INSTALL += "libasound"
This however caused a problem because all of the development files that
would be desired in the SDK were located in alsa-lib-dev, which wouldn't
be included because alsa-lib wasn't included, and it was impossible to
include alsa-lib because it was an empty package that was culled.
(From OE-Core rev: 6c3438a62d10f155cd6a391bdb2f1939fc4774ec)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30352f3d84)
Change-Id: I2fb065b7e00569ba3a6aac631ac863999455bfb2
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We assume that LIC_FILES_CHKSUM is a file: URI but don't actually verify this,
which can lead to problems if you have a URI that resolves to a path of / as
Bitbake will then dutifully checksum / recursively.
[ YOCTO #12883 ]
(From OE-Core rev: e2b8a3d5a10868f9c0dec8d7b9f5f89fdd100fc8)
(From OE-Core rev: a5db618986746bf9082c4b3cbdac4e523328432e)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bzip.org domain expired and is now a holding site for adverts, so we can't
trust a tarball that appears on that site (luckily we have source checksums to
detect this).
For now, point SRC_URI at the tarball in the Yocto Project source mirror, but
set HOMEPAGE and UPSTREAM_CHECK_URI to the sourceware.org/bzip2/ page which
apparently will be resurrected as the new canonical home page.
(From OE-Core rev: 9e291d9923efc988abe8689c64bafbb29da06339)
(From OE-Core rev: 1bd48516cc3f65e860a2d8a8a3c6cee56c8332a1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building with `clang -target bpf` using the
multilib_header, a recursion was unavoidable because
bits/wordsize.h would #include itself, still lacking
a definition for __MHWORDSIZE or __WORDSIZE.
(From OE-Core rev: 70b41b3c335a80b4ac243f468f22331d261299db)
(From OE-Core rev: b4738c5cf68a3a5d38dcd42f5b8361378f247db0)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As reported by ChenQi, leaving bits/wordsize.h out of being
multilibbed introduced a problem in building the SDK for
arm64:
Error: Transaction check error:
file /usr/include/bits/wordsize.h conflicts between attempted installs of lib32-libc6-dev-2.27-r0.armv7vet2hf_vfp and libc6-dev-2.27-r0.aarch64
This effectively reverts commit a74c77d6.
(From OE-Core rev: 90ad502bf8faa233e25cf297c1eeefcb0367aea3)
(From OE-Core rev: 056ae940da49b38890c2960651f0fdb5331a5fac)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support for variables suffixed with package names, e.g., PKGV_foo, was
removed in commit 3d2c87c4, which broke support for recipes that set
other versions on their packages than what is in ${PV}.
(From OE-Core rev: 38f8284212370999e1e7b0f6559f7cd786e80d1a)
(From OE-Core rev: b750b310afacf298fc450e71d116ed20eef16428)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package name exists in runtime-rprovides, lookup-recipe and
package-info would finish after printing information about that
package even if more packages were specified.
(From OE-Core rev: 32c2a2ddb1614f978f511dfccb6cc3e9398df841)
(From OE-Core rev: 8ec64f613266987417ca4941b55b988b50af7aff)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible that downloading file from updateserver fails. In
this case, we should error out instead of continue.
We have users reporting unexpected behavior of 'devtool sdk-update'.
When an invalid url is supplied, e.g., `devtool sdk-update http://invalid',
the program reports 'Note: Already up-to-date'.
This is obviously not expected. We should error out in such case.
(From OE-Core rev: 449564783dfb162536a2f772b3a8704973221e0f)
(From OE-Core rev: 61a56f6c5db9a3575a21f0c206f0fa760cf005e0)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
poky.ent - updated variables for 2.5.1
mega-manual.sed - updated string from "2.5" to "2.5.1"
<manual>.xml - updated manual revision tables for 2.5.1
and September 2018 date
(From yocto-docs rev: a47382f00ad1a5a1df02ffa3dead7a0bd597bf45)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Took out an occurrence of PACKAGE_WRITE_DEPENDS
(From yocto-docs rev: e983c3215139b566ea02df6e6160b05fdcbce081)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I made some re-writes for clearity.
(From yocto-docs rev: 45e710923afb45066383877252af79faf3b2f5fc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On second thought, the list I turned into a bullet list from the
previous commit was a bit hasty. That list is order dependent.
Reverted the list.
(From yocto-docs rev: 24a77078af0e7a59dd180bdfe6a29afbaefdffcf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list appears to be not a numbered list. Fixed that. Also, provided
better wording around "exposing" the sstate-cache.
(From yocto-docs rev: e1f8c9bf3ef7028b48b38801557292434c872419)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Step 1 of the "Providing Updates to the Extensible SDK After Installation"
section really did not do much for the reader regarding setting up a
HTTP or HTTPS directory. I added more detail on how to generally do
that.
(From yocto-docs rev: b90de53859545a835629a56eab08fa58479c36ff)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are two sections that deal with this topic. One is from the
standpoint of a user using a 3rd party published and installed
extensible SDK ("Applying Updates to an Installed Extensible SDK").
The other is from the standpoint of a person providing Extensible
SDKs for consumption ("Providing Updates to the Extensible SDK
After Installation"). These sections needed some closer examination
regarding fully describing what was going on. I provided some
re-writes to both.
(From yocto-docs rev: 62028ea4df684e495e78d00a440318d061098f15)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The title for the section on how to effect changes to an installed
extensible SDK is better suited as "Providing Updates to the
Extensible SDK AFter Installation."
(From yocto-docs rev: 382c172fd9a51cd4c650333549210aa760ea9774)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In "Providing Updates After Installing the Extensible SDK" section,
Step 1 had a bit of a grammar error. Not technically, but it
could have been written better. I fixed that.
(From yocto-docs rev: f6710a7047c215f9a1a989b9a009399405770c06)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added more information on how this is done. Still could use a bit
of detail on how you actually do it.
(From yocto-docs rev: 7a035ffb4443f7920521ccd918ec844d1ca118e5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I provided some real detail on this variable. It was woefully brief.
(From yocto-docs rev: 6b40243984b7cc69a291b6f90ed04b45b7ce3ac5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a cross-reference to the "DISTRO_NAME" variable as it is
the long version of the distribution name.
(From yocto-docs rev: c707da8121171cc81e0d07ac14369b0045de5119)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated this section with clearer text.
(From yocto-docs rev: bb0e6613b7dbe7f8c9ca80a64ee9c67a74e01fc1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made improvements to this section and tied the variables together
for the explanation.
(From yocto-docs rev: 592abe8fe11389b58e8c0cf7991a400bdd515b16)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wording did not match that of similar SDK variables.
(From yocto-docs rev: 6fab0bbc62e7f9caf020718a4a8fd047b9fb450f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Put in a cross-reference to the section in the sdk-manual where it
talks about customizing the configuration of the extensible SDK.
(From yocto-docs rev: 23e4a2d0f461a8c672aa3780965ca4e30d1aac50)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added information on the class in which the default is set. Also,
put in a reference for more information on customizing the
extensible SDK configuration.
(From yocto-docs rev: 1ca9f8dd90cccb4692c16d7757b80bfd50237495)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enhanced this description by indicating the class that it is set in
and by including a pointer back into the sdk-manual where filters
are described for extending the extensible SDK.
(From yocto-docs rev: 22dcaf2c75532f45111b79db067edfc92212441e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more detail including the class that sets the default variables
for exclusion and the list of actual variables that are excluded by
default.
(From yocto-docs rev: 7764a54add2911c2da8174e48e4d3166a873d63a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This figure had changed. I updated the file and folder hierarchy.
Also fixed some wording.
(From yocto-docs rev: 40e89997f50fdaecee88c8c98e21cc212bf1ed13)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure was incorrect for the installed file and folder hierarchy
for a standard SDK. I updated it. This figure goes in both the sdk-manual
and the mega-manual.
(From yocto-docs rev: c21d76b885afedafe7b866d9f4997633a776902c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Verified a good example and updated the text to match that example.
(From yocto-docs rev: 8655662b1f031463fafcf11fcd22243a75e817f8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The value of SDKMACHINE must match the architecture of the machine
on which the SDK installer is being built if you are building an
installer for an extensible SDK. I added a note to this effect.
(From yocto-docs rev: 8720b3ea9e7260f891db1be46fb756aba09d5f51)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-15 10:28:11 +01:00
380 changed files with 13397 additions and 2392 deletions
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/dev-manual/dev-manual.html" target="_top">Yocto Project Development Tasks Manual</a>@Yocto Project Development Tasks Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/overview-manual/overview-manual.html" target="_top">Yocto Project Overview and Concepts Manual</a>@Yocto project Overview and Concepts Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/sdk-manual/sdk-manual.html" target="_top">Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</a>@Yocto Project Application Development and the Extensible Software Development Kit (eSDK)@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/bsp-guide/bsp-guide.html" target="_top">Yocto Project Board Support Package (BSP) Developer's Guide</a>@Yocto Project Board Support Package (BSP) Developer's Guide@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/profile-manual/profile-manual.html" target="_top">Yocto Project Profiling and Tracing Manual</a>@Yocto Project Profiling and Tracing Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/kernel-dev/kernel-dev.html" target="_top">Yocto Project Linux Kernel Development Manual</a>@Yocto Project Linux Kernel Development Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/toaster-manual/toaster-manual.html" target="_top">Toaster User Manual</a>@Toaster User Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5.2/dev-manual/dev-manual.html" target="_top">Yocto Project Development Tasks Manual</a>@Yocto Project Development Tasks Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5.2/overview-manual/overview-manual.html" target="_top">Yocto Project Overview and Concepts Manual</a>@Yocto project Overview and Concepts Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5.2/sdk-manual/sdk-manual.html" target="_top">Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</a>@Yocto Project Application Development and the Extensible Software Development Kit (eSDK)@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5.2/bsp-guide/bsp-guide.html" target="_top">Yocto Project Board Support Package (BSP) Developer's Guide</a>@Yocto Project Board Support Package (BSP) Developer's Guide@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5.2/profile-manual/profile-manual.html" target="_top">Yocto Project Profiling and Tracing Manual</a>@Yocto Project Profiling and Tracing Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5.2/kernel-dev/kernel-dev.html" target="_top">Yocto Project Linux Kernel Development Manual</a>@Yocto Project Linux Kernel Development Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5.2/toaster-manual/toaster-manual.html" target="_top">Toaster User Manual</a>@Toaster User Manual@g
# Process a single, rouge occurrence of a linked reference to the Mega-Manual.
# Released under the MIT license (see COPYING.MIT)
inherit metadata_scm
# testimage.bbclass enables testing of qemu images using python unittests.
# Most of the tests are commands run on target image over ssh.
# To use it add testimage to global inherit and call your target image with -c testimage
@@ -26,6 +26,7 @@
# TEST_LOG_DIR contains a command ssh log and may contain infromation about what command is running, output and return codes and for qemu a boot log till login.
# Booting is handled by this class, and it's not a test in itself.
# TEST_QEMUBOOT_TIMEOUT can be used to set the maximum time in seconds the launch code will wait for the login prompt.
# TEST_QEMUPARAMS can be used to pass extra parameters to qemu, e.g. "-m 1024" for setting the amount of ram to 1 GB.
@@ -14,21 +14,19 @@ class BuildLzipTest(OERuntimeTestCase):
cls.project=TargetBuildProject(cls.tc.target,
uri,
dl_dir=cls.tc.td['DL_DIR'])
cls.project.download_archive()
@classmethod
deftearDownClass(cls):
cls.project.clean()
@OETestID(206)
@skipIfNotFeature('tools-sdk',
'Test requires tools-sdk to be in IMAGE_FEATURES')
@OETestDepends(['ssh.SSHTest.test_ssh'])
@OEHasPackage(['gcc'])
@OEHasPackage(['make'])
@OEHasPackage(['autoconf'])
deftest_lzip(self):
self.project.download_archive()
self.project.run_configure()
self.project.run_make()
self.project.run_install()
@classmethod
deftearDownClass(self):
self.project.clean()
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.