github is dropping support for git protocol in Git urls. Add code to remap
this to https in a way that could be used in older bitbake versions.
(Bitbake rev: af479e239d1e4dc93f0162c5936369a94c1c529d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test keeps failing on the autobuilder and is proving extremely
annoying. It works much better in later releases but for zeus and
earlier, lets just stop running it as it doesn't really tell us
anything useful at this point, nobody has any plans to improve
the distro exclusions or otherwise fix it in the older releases.
(From OE-Core rev: 856674d6f75e2b99ae961d5ab869ff071ff5c362)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently in NVD DB an item popped up, which hasn't set baseMetricV2.
Let the parser handle it as an optional item.
In case use baseMetricV2 before baseMetricV3
(From OE-Core rev: 77f119baf6f4b85194a9b26d8442ddc7fb3bb97c)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similarly to 04ee0e8b95cd8ed890374e0007f976684206b630, ensure only full
build paths are replaced in the environment to avoid breaking buildtools.
(From OE-Core rev: be07d93a4f59d4563f2d064be1997b39f05e9f0e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
traceback2 adds traceback for python2. Rather than depend on traceback2, we're
python3 only so just use traceback.
This caused breakage in oe-selftest -j which uses testtools on the autobuilder
using buildtools-tarball.
[YOCTO #13652]
(From OE-Core rev: ee80a06c107375e3cf0d246ea17c09dda4536dab)
(From OE-Core rev: ee82e3c24fe5727ce81e972cadedca431d6086c5)
(From OE-Core rev: be4470c9590183b388d9ff176331d0c50984dec8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_install fails on newer versions of make with interesting and hard to
debug errors. Disablle parallle make install as a workaround. Later verisons
of attr in newer releases don't have the issue.
(From OE-Core rev: 6043b9a2ea879f8960897b11eb947801508a94da)
(From OE-Core rev: f06861bbe402fff3f370687585e43c0270609d00)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the seeing broken replacements like:
oe-selftest-centos/build/build-st-926tools/sysroots/x86_64-pokysdk-linux/etc/ssl/certs/ca-certificates.crt
which understandably break builds.
(From OE-Core rev: 04ee0e8b95cd8ed890374e0007f976684206b630)
(Cherry-picked from f930e2cadb but adjusted for thud)
(From OE-Core rev: b51a8c390714357713e91d828708c85cf5f68971)
(From OE-Core rev: cf51a1e4447010f927a9e3f4ff5a5c305be0c0c9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to test the SDK with PATH from the original host, not with our own
tools injected via HOSTTOOLS. It even uses some tools which aren't in
HOSTTOOLS.
This is necessary after changing the SDK to not reset PATH to the system
default which is bad for other reasons and brings the testing into sync
with that change.
(From OE-Core rev: 87c9602fd0dedc7bcf75b822aaf5f6ebfc17737c)
(From OE-Core rev: de3f405b6cf96311ced86bccf7202370e4d1481a)
(From OE-Core rev: aad4b41c49b1a63a767150a3451e10d15e8bcf31)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This supports glibc upto 2.32 which is now rolling into distributions
(From OE-Core rev: 622371678ddb013fc456eaf75def26fc4e142d15)
(From OE-Core rev: 4543eeacd65eebe74ff3a44182915a732ba26e47)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
virtual/crypt-native is assume provided in bitbake.conf, so
buildtools-extended-tarball shoud provide crypt since it doesn't
use the host's headers/libraries.
[YOCTO #13714]
(From OE-Core rev: da948b25d5ef452fb35275d108e18d2a2829f4fb)
(From OE-Core rev: bc42406d83310398bc4d4db4244252411eff117d)
(From OE-Core rev: 6f6d7278358b042aca3e911aefd0d6128480f32d)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The locale binary reported incorrect locale lists in relocated toolchains
as some path references were not relocated by this patch. Fix this missing
relocations so the locale binary correctly reports the locales.
(From OE-Core rev: f7a6a72880009380ae81bc7fc863921a26811c8c)
(From OE-Core rev: e4c4337e642f565e9988a4a2c50a995090d1f49e)
(From OE-Core rev: c9e8b7a40b2628331c7cb564aa3f3d9e1822fe36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder has been experiencing SSL: CERTIFICATE_VERIFY_FAILED
errors during error report uploads when using buildtools due to looking
for certs in /opt/poky
(From OE-Core rev: 197f1d5d14b8e57295f5a81c03c86abba5328614)
(From OE-Core rev: 35c6ab2501672083cf8b974d8b9c3daa3202de36)
(From OE-Core rev: 0cb479a5e99289b75e89b2ed5058f33605f15936)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Builds like native-openjdk, really wants a to link
some tools against the static version. Since when
using the extended tarball, its the only place to
get it, add the library.
(From OE-Core rev: 59c4a3fdbbfd5a6aaba7e0a1675dcd5866a7f3a4)
(From OE-Core rev: 152709dec03bbac582ca63b65f2efb835e0b33fb)
(From OE-Core rev: 5e3664e5f9a0dde07b0f8a56cdce1321456abaa5)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For buildtools-extended-tarball, where we are adding all of build-essentials
to the nativesdk, we need additional perl modules for autoconf and automake.
(From OE-Core rev: f0f766160663407ea7683d31bbf5f011accc9ba2)
(From OE-Core rev: e7ade58a7da52ebb40120020dd86dd3ae9b2148e)
(From OE-Core rev: ed9d60fb5d471b4ec472088cc9307fd8575b187a)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The eSDK installation code checks installed locales with the locale command which is
from glibc-utils. Add this so that we find the correct locales from the buildtools.
(From OE-Core rev: 7d35e4bc6ff94a2d03c48827d7d60a6855c9029d)
(From OE-Core rev: d99b6432decec0964ac0e08698abc782c9b114f5)
(From OE-Core rev: 3562a6848aa3e866ad8e2d3caed3211971817234)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trying to create a clean PATH breaks cases where we install a buildtools tarball
on hosts to provide newer versions of gcc. Rework the fix for #8698 to clean up
directories in PATH which don't exist isntead. Do it with python as the shell
version was too fraught with corner cases.
(From OE-Core rev: 7674b63819aa7ca95ca5ca5477a5cce32e9691eb)
(From OE-Core rev: 9825236deacf6eb311121d233435a46288c02cdb)
(From OE-Core rev: dac6cc21bbd29e55399b71a3e359a935776118de)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the SDK we need the plain symlinks and don't use alternative providers.
When these are missing the toolchain can work incorrectly so fix this.
(From OE-Core rev: 0c06cfaa016d06cc56d80dc1c244a938f3d38a3c)
(From OE-Core rev: 0d299c5dc04407d2d54574157f4014f50f2d0468)
(From OE-Core rev: aa37b5fe0620122e47f36165f5c7a07d3328dba3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need binutils to look at our ld.so.conf file within the SDK to ensure
we search the SDK's libdirs as well as those from the host system.
There add a patch which passes in the directory to the code using a define,
then add it to a section we relocate in a similar way to the way we relocate
the gcc internal paths. This ensures that ld works correctly in our buildtools
tarball.
Standard sysroot relocation doesn't work since we're not in a sysroot,
we want to use both the host system and SDK libs.
(From OE-Core rev: f6c1089642934ad93056ef19a0888965486ee030)
(From OE-Core rev: 09a2b16ac2bd1e3e415131e46315c851373aa7e0)
(From OE-Core rev: d0b7811b0e8654cf83d1b0f8256c7941fc3d9c41)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to search our own libdirs, then fall back to the system ones as our
customised dynamic loader will. Have ld.so.conf reflect that.
This ensures that binutils finds libraries here when linking too.
(From OE-Core rev: ab729c362684474a8346e5256d636200826feb47)
(From OE-Core rev: 8de0aee6befc0541fa40563f63dfe1cc36f064fe)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For some aging distros, such as CentOS 7, the native version
of gcc is simply too ancient and is a constant source of
headaches for moving forward.
* Add an extended version of buildtools-tarball which adds all
of build-essential, so that the host is now modernized and
capable of compiling the latest versions of components.
Fixes [YOCTO #13714]
(From OE-Core rev: f0377af2325613b63716b0bb4db1ab253d79f388)
(From OE-Core rev: bb4979f0e8367b475cc9a5274933a61bb0eb64b3)
(From OE-Core rev: f492e172e133a4b52dbe818d806cab783204e575)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently these tests rely upon multiple uptream webservers which may change
or be unavailable. Add local copies of the test data, copy the httpserver
from OE-Core (used for testing there) and run these tests against a local
server instead.
(Bitbake rev: b4860b292406698f3c8af9a3708a09df21c96300)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It looks like we're about to see a lot of changes in branch names in repos. If
we have the prune option here, those old names are lost, the changes propagate
to our source mirrors and our old releases break.
We have the force option so any replaced references should be replaced, its only
orphaned branches which will now be preserved.
I believe this behaviour will cause us fewer problems given the changes that
look likely to happen.
(Bitbake rev: 4c7e0352c56dc956fc19439713e8dce9f6248c86)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is unavailable, breaking tests. Switch to a YP mirror since
if we can't reach that there are bigger problems. This should remove
a source of intermittent failures on the autobuilder.
(Bitbake rev: 417f635fca1aa2484c7ccba9ffbbfe9601d41d66)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* with Ubuntu 20.04 which is using python 3.8 I'm seeing a lot of errors like:
ERROR: libxml2-2.9.10-r0 do_package: Can NOT get PRAUTO, exception No module named '_sysconfigdata'
not sure what caused this from python 3.8, but this seems to work
* PRserv is enabled with:
PRSERV_HOST = "localhost:0"
(From OE-Core rev: 4b26eaf7152fb712aba47a0c746333578f58ee8d)
(From OE-Core rev: eaa6de34442906ad6285aa069f17a7cb2a64e970)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CPE version could be '-' to mean no version info.
Current cve_check treat it as not valid and does not report these
CVE but some of these could be a valid vulnerabilities.
Since non-valid CVE can be whitelisted, so treat '-' as all version
and report all these CVE to capture possible vulnerabilities.
Non-valid CVE to be whitelisted separately.
[YOCTO #13617]
(From OE-Core rev: 1d06fedf46c8f67fccde7a00d7199d7052c33b30)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c69ee3594079589d27c10db32bc288566ebde9ef)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also un-breaks python3 ptest which got broken
with 1.1.1e update.
(From OE-Core rev: c74958fe05db584289ee560584190b3a0b25155d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4ddf5b9d8cd769b7026663f93c8bc69b55d8cbf)
[AK: bugfix only update]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a build architecture leaking into the target ptest which
could vary depending upon host. Remove it as its cosmetic.
[YOCTO #13770]
(From OE-Core rev: 37db519eedb7eb5cd4f14d05f30f5d580aa7458d)
(From OE-Core rev: c31c676319812e6fc036741db2ab8e16eccff723)
(From OE-Core rev: 4a8d927dc3ef569830c417d46e5d0a0318a69cde)
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 includes the fixes for CVE-2020-5260 and CVE-2020-11008.
(From OE-Core rev: fe5aee43db25f622f4cbacc69765f94eca51395c)
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow sstate use in Tumbleweed and other distros as they update glibc.
(From OE-Core rev: ae341aed81be28232cc34daf4684bc0922f17699)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ccb374c279b260b1fd3460f6bfd1567240816055)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 2da4ee30335d0b127b79a6eedad68c8559606c57)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
THE LICENSE checksum changed in this update due to copyright notice
added for 2020.
(From OE-Core rev: 2af49cebd669bd2992d57a586e2a06bbad09e945)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit: d336110b94 boost: update to 1.67.0
dropped the patch that ensured boost doesn't over-ride the architecture flags
set by us resulting in errors:
| build/tmp/work/x86_64_x32-poky-linux-gnux32/boost/1.69.0-r0/recipe-sysroot/usr/include/bits/long-double.h:44:10: fatal error: bits/long-double-64.h: No such file or directory
| #include <bits/long-double-64.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
Remove the relevant part from gcc.jam again to ensure we are passing
them correctly again.
Fixes [YOCTO #13598]
(From OE-Core rev: aad28f42b1c8aa1335c040630ebff4a69be07e35)
(From OE-Core rev: 1cfd56ebdbcbab4ded1b0ea3c4bc44d3e83a9288)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ebbfe23acfbc820ad7b71c95539b5af97a8be49d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add new package for bcm4366c and include available NVRAM config files
into the corrent bcm* packages.
(From OE-Core rev: 8063a1277433c58a9df43f0185bb89c79f865aa9)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 957c3d39b63f57d896ee89d727007ac2ce6672e3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update:
- WHENCE: New firmware files additions and version updates
(From OE-Core rev: 34428eca5f845293b648801bf61957afd249b315)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b4c8f2f139d0eeb2ebef3dc5f8309486afdea3d4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly:
Brazil no longer observes DST.
'zic -b slim' outputs smaller TZif files; please try it out.
Palestine's 2019 spring-forward transition was on 03-29, not 03-30.
Changes to future timestamps
Brazil has canceled DST and will stay on standard time indefinitely.
(Thanks to Steffen Thorsen, Marcus Diniz, and Daniel Soares de
Oliveira.)
Predictions for Morocco now go through 2087 instead of 2037, to
work around a problem on newlib when using TZif files output by
zic 2019a or earlier. (Problem reported by David Gauchard.)
Changes to past and future timestamps
Palestine's 2019 spring transition was 03-29 at 00:00, not 03-30
at 01:00. (Thanks to Sharef Mustafa and Even Scharning.) Guess
future transitions to be March's last Friday at 00:00.
Changes to past timestamps
Hong Kong's 1941-06-15 spring-forward transition was at 03:00, not
03:30. Its 1945 transition from JST to HKT was on 11-18 at 02:00,
not 09-15 at 00:00. In 1946 its spring-forward transition was on
04-21 at 00:00, not the previous day at 03:30. From 1946 through
1952 its fall-back transitions occurred at 04:30, not at 03:30.
In 1947 its fall-back transition was on 11-30, not 12-30.
(Thanks to P Chan.)
Changes to past time zone abbreviations
Italy's 1866 transition to Rome Mean Time was on December 12, not
September 22. This affects only the time zone abbreviation for
Europe/Rome between those dates. (Thanks to Stephen Trainor and
Luigi Rosa.)
Changes affecting metadata only
Add info about the Crimea situation in zone1970.tab and zone.tab.
(Problem reported by Serhii Demediuk.)
Changes to code
zic's new -b option supports a way to control data bloat and to
test for year-2038 bugs in software that reads TZif files.
'zic -b fat' and 'zic -b slim' generate larger and smaller output;
for example, changing from fat to slim shrinks the Europe/London
file from 3648 to 1599 bytes, saving about 56%. Fat and slim
files represent the same set of timestamps and use the same TZif
format as documented in tzfile(5) and in Internet RFC 8536.
Fat format attempts to work around bugs or incompatibilities in
older software, notably software that mishandles 64-bit TZif data
or uses obsolete TZ strings like "EET-2EEST" that lack DST rules.
Slim format is more efficient and does not work around 64-bit bugs
or obsolete TZ strings. Currently zic defaults to fat format
unless you compile with -DZIC_BLOAT_DEFAULT=\"slim\"; this
out-of-the-box default is intended to change in future releases
as the buggy software often mishandles timestamps anyway.
zic no longer treats a set of rules ending in 2037 specially.
Previously, zic assumed that such a ruleset meant that future
timestamps could not be predicted, and therefore omitted a
POSIX-like TZ string in the TZif output. The old behavior is no
longer needed for current tzdata, and caused problems with newlib
when used with older tzdata (reported by David Gauchard).
zic no longer generates some artifact transitions. For example,
Europe/London no longer has a no-op transition in January 1996.
Changes to build procedure
tzdata.zi now assumes zic 2017c or later. This shrinks tzdata.zi
by a percent or so.
Changes to documentation and commentary
The Makefile now documents the POSIXRULES macro as being obsolete,
and similarly, zic's -p POSIXRULES option is now documented as
being obsolete. Although the POSIXRULES feature still exists and
works as before, in practice it is rarely used for its intended
purpose, and it does not work either in the default reference
implementation (for timestamps after 2037) or in common
implementations such as GNU/Linux (for contemporary timestamps).
Since POSIXRULES was designed primarily as a temporary transition
facility for System V platforms that died off decades ago, it is
being decommissioned rather than institutionalized.
New info on Bonin Islands and Marcus (thanks to Wakaba and Phake
Nick).
(From OE-Core rev: 1d1dcea1d2de02cb49950235586adbe4593f0eb7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bbbb985808e5c301cdb7fdb1ff677706e99b4785)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/4.19 to the latest korg -stable release that comprises
the following commits:
174651bdf802 Linux 4.19.87
6938a9da7ff8 PM / devfreq: Fix kernel oops on governor module load
345712c95eec KVM: PPC: Book3S HV: Flush link stack on guest exit to host kernel
0a60d4bddc0b powerpc/book3s64: Fix link stack flush on context switch
19d98b4d55b0 powerpc/64s: support nospectre_v2 cmdline option
b7e2a040d9fc staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error
4101916e9f08 USB: serial: option: add support for Foxconn T77W968 LTE modules
62aca6645c08 USB: serial: option: add support for DW5821e with eSIM support
3349ed266ae2 USB: serial: mos7840: fix remote wakeup
abbda35d6a6e USB: serial: mos7720: fix remote wakeup
84743898d60b USB: serial: mos7840: add USB ID to support Moxa UPort 2210
356440a79b6b appledisplay: fix error handling in the scheduled work
0439d6b90187 USB: chaoskey: fix error case of a timeout
a18675e5d5f7 usb-serial: cp201x: support Mark-10 digital force gauge
61f6a3fac394 usbip: Fix uninitialized symbol 'nents' in stub_recv_cmd_submit()
375b26a86481 usbip: tools: fix fd leakage in the function of read_attr_usbip_status
e70448b92253 USBIP: add config dependency for SGL_ALLOC
5d0b56f6725d virtio_ring: fix return code on DMA mapping fails
78260a294c04 media: imon: invalid dereference in imon_touch_event
94a94b605916 media: cxusb: detect cxusb_ctrl_msg error in query
8b42c263ec1a media: b2c2-flexcop-usb: add sanity checking
56be9f1b8733 media: uvcvideo: Fix error path in control parsing failure
61e73cf57ed8 cpufreq: Add NULL checks to show() and store() methods of cpufreq
f217cef919da media: usbvision: Fix races among open, close, and disconnect
467052f6ea5a media: vivid: Fix wrong locking that causes race conditions on streaming stop
b73b28b1b2cb media: vivid: Set vid_cap_streaming and vid_out_streaming to true
af8071f50f46 nfc: port100: handle command failure cleanly
3510fb7947d5 ALSA: usb-audio: Fix NULL dereference at parsing BADD
2819f4030f43 futex: Prevent robust futex exit race
d3f8c58d701c y2038: futex: Move compat implementation into futex.c
344966da99c9 nbd: prevent memory leak
ed7a3dde0aa2 x86/speculation: Fix redundant MDS mitigation message
0af5ae268e24 x86/speculation: Fix incorrect MDS/TAA mitigation status
ed7312096a1f x86/insn: Fix awk regexp warnings
99b933bbc7b0 ARC: perf: Accommodate big-endian CPU
e02f1448282b ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
046f0fcf7397 ocfs2: remove ocfs2_is_o2cb_active()
36bef080b55f net: phy: dp83867: increase SGMII autoneg timer duration
87997a7800a1 net: phy: dp83867: fix speed 10 in sgmii mode
5779cbc98369 mm/memory_hotplug: don't access uninitialized memmaps in shrink_zone_span()
a268d985f089 md/raid10: prevent access of uninitialized resync_pages offset
f8dc0350d32b ath9k_hw: fix uninitialized variable data
f0cfe98332d6 ath10k: Fix a NULL-ptr-deref bug in ath10k_usb_alloc_urb_from_pipe
4ae7392ab6f4 KVM: MMU: Do not treat ZONE_DEVICE pages as being reserved
03bf4876a593 Bluetooth: Fix invalid-free in bcsp_close()
006360ec33d9 mm/page_io.c: do not free shared swap slots
16a300fb1dbb cfg80211: call disconnect_wk when AP stops
2b3541ffdd05 ipv6: Fix handling of LLA with VRF and sockets bound to VRF
091ed093c9c8 mm/memory_hotplug: Do not unlock when fails to take the device_hotplug_lock
896f7398152b i2c: uniphier-f: fix timeout error after reading 8 bytes
1efa17ab9cb8 spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch
1b0f1b2dde06 nvme-pci: fix surprise removal
597a37d01b69 PCI: keystone: Use quirk to limit MRRS for K2G
c0418c4a61aa pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD
0858006cda38 pinctrl: lpc18xx: Use define directive for PIN_CONFIG_GPIO_PIN_INT
5efa36e7f04a pinctrl: bcm2835: Use define directive for BCM2835_PINCONF_PARAM_PULL
bad4da12b797 pinctrl: qcom: spmi-gpio: fix gpio-hog related boot issues
c24fe7807320 cfg80211: Prevent regulatory restore during STA disconnect in concurrent interfaces
ee7d2473812b tools: bpftool: pass an argument to silence open_obj_pinned()
367e64ce11fc of: unittest: initialize args before calling of_*parse_*()
e4547e028547 of: unittest: allow base devicetree to have symbol metadata
1303c938c953 net: bcmgenet: return correct value 'ret' from bcmgenet_power_down
1d6a0dd6aa53 ACPICA: Use %d for signed int print formatting instead of %u
d15b8b691725 clk: tegra20: Turn EMC clock gate into divider
91c5f99d131e vrf: mark skb for multicast or link-local as enslaved to VRF
5c2a3997ae5b dlm: don't leak kernel pointer to userspace
afb4717ab81b dlm: fix invalid free
30fc13ae88b2 usb: typec: tcpm: charge current handling for sink during hard reset
5e989b6cad68 scsi: lpfc: Correct loss of fc4 type on remote port address change
a391709b636e scsi: lpfc: Fix odd recovery in duplicate FLOGIs in point-to-point
05678af01a33 scsi: lpfc: fcoe: Fix link down issue after 1000+ link bounces
e6d0262e1628 scsi: megaraid_sas: Fix goto labels in error handling
83e679606e78 scsi: megaraid_sas: Fix msleep granularity
ff997bf13c1e scsi: mpt3sas: Fix driver modifying persistent data in Manufacturing page11
80224e3b08ff scsi: mpt3sas: Don't modify EEDPTagMode field setting on SAS3.5 HBA devices
5553e2bdcb02 scsi: mpt3sas: Fix Sync cache command failure during driver unload
5f2dc610eb28 net: dsa: bcm_sf2: Turn on PHY to allow successful registration
2ac94b9e902f rtlwifi: rtl8192de: Fix misleading REG_MCUFWDL information
13d434fed1a2 wireless: airo: potential buffer overflow in sprintf()
fad934bb2e47 brcmsmac: never log "tid x is not agg'able" by default
bdb61fa50b70 rtl8xxxu: Fix missing break in switch
06ed77066838 wlcore: Fix the return value in case of error in 'wlcore_vendor_cmd_smart_config_start()'
c68a499448e1 ath10k: snoc: fix unbalanced clock error handling
c262dc0655df wil6210: fix locking in wmi_call
ccb2390e8933 wil6210: fix RGF_CAF_ICR address for Talyn-MB
0e1304ae42c2 wil6210: fix L2 RX status handling
aa2112d57152 wil6210: fix debugfs memory access alignment
ea136e61e4df btrfs: avoid link error with CONFIG_NO_AUTO_INLINE
4a035f2643c6 media: ov13858: Check for possible null pointer
3ee72f30c163 nds32: Fix bug in bitfield.h
e6c6c0439a93 net: bpfilter: fix iptables failure if bpfilter_umh is disabled
811c8141d663 sock_diag: fix autoloading of the raw_diag module
3c69a033b416 audit: print empty EXECVE args
5dc441fbef91 soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL
9cdfff0a5e61 clk: sunxi-ng: enable so-said LDOs for A64 SoC's pll-mipi clock
a2e6fe1f647f ARM: dts: imx6sx-sdb: Fix enet phy regulator
465073e44fda openvswitch: fix linking without CONFIG_NF_CONNTRACK_LABELS
31bced01fe77 sched/fair: Don't increase sd->balance_interval on newidle balance
ed023646c2cf sched/topology: Fix off by one bug
f9fca78e6cf2 net: do not abort bulk send on BQL status
0d3b9ac2844f ocfs2: fix clusters leak in ocfs2_defrag_extent()
6c150df9c2e8 ocfs2: don't put and assigning null to bh allocated outside
6fd469d06eb8 ocfs2: don't use iocb when EIOCBQUEUED returns
abc7968b86b1 ocfs2: without quota support, avoid calling quota recovery
6a2245d828e4 mm: handle no memcg case in memcg_kmem_charge() properly
08f07d9f5b17 tools/power turbosat: fix AMD APIC-id output
b167fee4e45d arm64: makefile fix build of .i file in external module case
fa7f1bce27c0 nvme-pci: fix conflicting p2p resource adds
0bbb8382db4c irq/matrix: Fix memory overallocation
ad8298fccd70 ntb: intel: fix return value for ndev_vec_mask()
3bd4422af874 ntb_netdev: fix sleep time mismatch
8dbecf6c2f17 net: hns3: bugfix for hclge_mdio_write and hclge_mdio_read
12eeb72afac2 net: hns3: bugfix for is_valid_csq_clean_head()
e3345108409c net: hns3: bugfix for reporting unknown vector0 interrupt repeatly problem
b0465d06d4c6 net: hns3: bugfix for buffer not free problem during resetting
3d9bc014c519 fm10k: ensure completer aborts are marked as non-fatal after a resume
2fed73906e97 igb: shorten maximum PHC timecounter update interval
3081ae5e378f powerpc/powernv: hold device_hotplug_lock when calling device_online()
17523d7a1cc8 mm/memory_hotplug: fix online/offline_pages called w.o. mem_hotplug_lock
02735d5987b9 mm/memory_hotplug: make add_memory() take the device_hotplug_lock
023c071f101c kernel/panic.c: do not append newline to the stack protector panic string
1914e5edd811 fs/hfs/extent.c: fix array out of bounds read of array extent
a9f38975eb98 hfs: update timestamp on truncate()
0013adceb521 hfsplus: update timestamps on truncate()
38e7b916daa2 hfs: fix return value of hfs_get_block()
550da9ee35fd hfsplus: fix return value of hfsplus_get_block()
8687d57d247a hfs: prevent btree data loss on ENOSPC
0b54b59d8541 hfsplus: prevent btree data loss on ENOSPC
7beaf6105e2e hfs: fix BUG on bnode parent update
1df96949ebfb hfsplus: fix BUG on bnode parent update
08751e477f0e lib/bitmap.c: fix remaining space computation in bitmap_print_to_pagebuf
1d5834945945 linux/bitmap.h: fix type of nbits in bitmap_shift_right()
8deaaf77ce2e linux/bitmap.h: handle constant zero-size bitmaps correctly
30598425aecc mm/gup_benchmark.c: prevent integer overflow in ioctl
9663d294ae28 block: call rq_qos_exit() after queue is frozen
a125df22d134 selftests/powerpc/cache_shape: Fix out-of-tree build
024cd793bbe1 selftests/powerpc/switch_endian: Fix out-of-tree build
a4a660f7abd9 selftests/powerpc/signal: Fix out-of-tree build
f74f406bbd0b selftests/powerpc/ptrace: Fix out-of-tree build
57aab8f0a33d powerpc/xmon: Relax frame size for clang
32d7474b7a08 ipv4/igmp: fix v1/v2 switchback timeout based on rfc3376, 8.12
691bd94c15b1 vfs: avoid problematic remapping requests into partial EOF block
cdc45f204775 um: Make line/tty semantics use true write IRQ
a17e3bbfb97c i2c: uniphier-f: fix race condition when IRQ is cleared
a118403a5ecc i2c: uniphier-f: fix occasional timeout error
1466eae37a9f i2c: uniphier-f: make driver robust against concurrency
10807b374663 block: fix the DISCARD request merge
b948d56951be macsec: let the administrator set UP state even if lowerdev is down
f5bdad7106fc macsec: update operstate when lower device changes
4291e97c69f6 mm: thp: fix MADV_DONTNEED vs migrate_misplaced_transhuge_page race condition
ac1cad79bcad tools/testing/selftests/vm/gup_benchmark.c: fix 'write' flag usage
2d9d6c099eaf mm/page-writeback.c: fix range_cyclic writeback vs writepages deadlock
bcba80f38a00 fs/ocfs2/dlm/dlmdebug.c: fix a sleep-in-atomic-context bug in dlm_print_one_mle()
99b3146b799a arm64: lib: use C string functions with KASAN enabled
b84e965c7edb sparc64: Rework xchg() definition to avoid warnings.
4e4cad4365e0 powerpc/process: Fix flush_all_to_thread for SPE
54299e1cf379 bpf, btf: fix a missing check bug in btf_parse
8044e741eee4 bpf: devmap: fix wrong interface selection in notifier_call
7b557dbdc519 net: ethernet: cadence: fix socket buffer corruption problem
3681b901e94a thermal: rcar_thermal: Prevent hardware access during system suspend
436e610bf195 thermal: rcar_thermal: fix duplicate IRQ request
51aa1a10fbac selftests: fix warning: "_GNU_SOURCE" redefined
c62be4108883 selftests: kvm: Fix -Wformat warnings
5802cb25de86 selftests: watchdog: Fix error message.
74685702363c selftests: watchdog: fix message when /dev/watchdog open fails
58ceffabad41 selftests/ftrace: Fix to test kprobe $comm arg only if available
adcb6d9ff121 spi: uniphier: fix incorrect property items
6c2075f792c6 fs/cifs: fix uninitialised variable warnings
c5621fbd6560 net: socionext: Stop PHY before resetting netsec
0a6fa6119ab1 mfd: max8997: Enale irq-wakeup unconditionally
5a04242e8c23 mfd: intel_soc_pmic_bxtwc: Chain power button IRQs as well
dd72391c9a53 mfd: mc13xxx-core: Fix PMIC shutdown when reading ADC values
02c9ec11860f mfd: arizona: Correct calling of runtime_put_sync
e79d230832d0 net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode
7c011435110f qlcnic: fix a return in qlcnic_dcb_get_capability()
321c40dce581 mISDN: Fix type of switch control variable in ctrl_teimanager
074af1668038 f2fs: spread f2fs_set_inode_flags()
e7f81efae3b5 f2fs: fix to spread clear_cold_data()
733fddc34651 thermal: armada: fix a test in probe()
bb925b9bece2 RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremap
829aa617bf6e rtc: s35390a: Change buf's type to u8 in s35390a_init
8112f3d4ed03 ceph: only allow punch hole mode in fallocate
146fb4b0d4fe ceph: fix dentry leak in ceph_readdir_prepopulate
083757d84859 tools: bpftool: fix completion for "bpftool map update"
570c05378d97 selftests/bpf: fix return value comparison for tests in test_libbpf.sh
3173e226ca41 powerpc/64s/radix: Fix radix__flush_tlb_collapsed_pmd double flushing pmd
b43c5287f6bc powerpc/mm/radix: Fix small page at boundary when splitting
b499fa070ee4 powerpc/mm/radix: Fix overuse of small pages in splitting logic
434551e9fd44 powerpc/mm/radix: Fix off-by-one in split mapping logic
ee35e01b0f08 powerpc/pseries: Export raw per-CPU VPA data via debugfs
9ed143cf730d scsi: hisi_sas: Fix NULL pointer dereference
ff6618e06cb4 sparc: Fix parport build warnings.
3d02e3bb3cfe x86/intel_rdt: Prevent pseudo-locking from using stale pointers
b6e44f743951 spi: omap2-mcspi: Set FIFO DMA trigger level to word length
ad9a4e963c92 swiotlb: do not panic on mapping failures
9b572e8bc038 s390/perf: Return error when debug_register fails
641f1f798c80 atm: zatm: Fix empty body Clang warnings
f9304c6277ed sunrpc: safely reallow resvport min/max inversion
7983dea8c368 SUNRPC: Fix a compile warning for cmpxchg64()
a0ec7f6eabe8 selftests/bpf: fix file resource leak in load_kallsyms
56b8b1832122 dm raid: avoid bitmap with raid4/5/6 journal device
4de506d51177 sctp: use sk_wmem_queued to check for writable space
1f7f2a0666a3 usbip: tools: fix atoi() on non-null terminated string
283d9618e22b USB: misc: appledisplay: fix backlight update_status return code
80a23f70d546 PCI: vmd: Detach resources after stopping root bus
b0f69ccfff3a macintosh/windfarm_smu_sat: Fix debug output
86f63146f886 ALSA: i2c/cs8427: Fix int to char conversion
46729b27706a PM / Domains: Deal with multiple states but no governor in genpd
cf800f2b630b ACPI / scan: Create platform device for INT33FE ACPI nodes
cb6a3096ec2f kprobes, x86/ptrace.h: Make regs_get_kernel_stack_nth() not fault on bad stack
f0f842a1a9f9 xfs: clear ail delwri queued bufs on unmount of shutdown fs
bb64349b6f56 xfs: fix use-after-free race in xfs_buf_rele
e0e8d83e4878 net: ena: Fix Kconfig dependency on X86
7ac437558e4a net: fix warning in af_unix
5e110ec2d924 net: dsa: mv88e6xxx: Fix 88E6141/6341 2500mbps SERDES speed
274726bcf5ba scsi: zorro_esp: Limit DMA transfers to 65535 bytes
1f13afca914f scsi: dc395x: fix DMA API usage in sg_update_list
e95ec662b126 scsi: dc395x: fix dma API usage in srb_done
95655b10529d ASoC: tegra_sgtl5000: fix device_node refcounting
f1f1002a9987 clk: at91: audio-pll: fix audio pmc type
f15b802890bb clk: mmp2: fix the clock id for sdh2_clk and sdh3_clk
6391dd5eb0ef PCI: mediatek: Fixup MSI enablement logic by enabling MSI before clocks
305c262fb8ee nvme-pci: fix hot removal during error handling
4e4b97f59050 nvmet-fcloop: suppress a compiler warning
2f1e4e65ba41 nvmet: avoid integer overflow in the discard code
30ca1af49481 crypto: ccree - avoid implicit enum conversion
5bbeb4fcf39a scsi: iscsi_tcp: Explicitly cast param in iscsi_sw_tcp_host_get_param
06815ae5e27f scsi: bfa: Avoid implicit enum conversion in bfad_im_post_vendor_event
f4bf2dc77826 scsi: isci: Change sci_controller_start_task's return type to sci_status
3a40068dc831 scsi: isci: Use proper enumerated type in atapi_d2h_reg_frame_handler
6288f52ed258 clk: tegra: Fixes for MBIST work around
5a487f40e717 KVM/x86: Fix invvpid and invept register operand size in 64-bit mode
7392aa08f8a4 KVM: nVMX: move check_vmentry_postreqs() call to nested_vmx_enter_non_root_mode()
9fe573d539a8 KVM: nVMX: reset cache/shadows when switching loaded VMCS
cec14148c1a9 nfp: bpf: protect against mis-initializing atomic counters
bfe01cddb81a scsi: ips: fix missing break in switch
073f454cc28c qed: Align local and global PTT to propagate through the APIs.
45f89cf0f329 amiflop: clean up on errors during setup
4043bc0f634b pwm: lpss: Only set update bit if we are actually changing the settings
ad78a958663a pinctrl: sunxi: Fix a memory leak in 'sunxi_pinctrl_build_state()'
fae3cf8874c3 RDMA/bnxt_re: Avoid resource leak in case the NQ registration fails
b1bf1e424dcb RDMA/bnxt_re: Fix qp async event reporting
2f241e333f7b RDMA/bnxt_re: Avoid NULL check after accessing the pointer
bbeeadb7bab4 scsi: hisi_sas: Free slot later in slot_complete_vx_hw()
628cae51693a scsi: hisi_sas: Fix the race between IO completion and timeout for SMP/internal IO
d10b7dd14a37 scsi: hisi_sas: Feed back linkrate(max/min) when re-attached
92ac0e324974 m68k: fix command-line parsing when passed from u-boot
4ab1594e699e w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
d11d985d0a82 misc: mic: fix a DMA pool free failure
a2204a295554 gsmi: Fix bug in append_to_eventlog sysfs handler
cc08097f2619 btrfs: handle error of get_old_root
1b49c453a564 btrfs: defrag: use btrfs_mod_outstanding_extents in cluster_pages_for_defrag
9325e8f4688c PCI: mediatek: Fix class type for MT7622 to PCI_CLASS_BRIDGE_PCI
dfffae314a02 mmc: mediatek: fix cannot receive new request when msdc_cmd_is_ready fail
e2c158f58522 mmc: mediatek: fill the actual clock for mmc debugfs
e3fa491211c4 spi: sh-msiof: fix deferred probing
2cd0b70c55b0 cdrom: don't attempt to fiddle with cdo->capability
0c5c34c1aaf3 skd: fixup usage of legacy IO API
196b007ac0a6 ath10k: allocate small size dma memory in ath10k_pci_diag_write_mem
17fbe3c91ad4 ath10k: set probe request oui during driver start
8111f99f7c44 brcmsmac: AP mode: update beacon when TIM changes
20e42ddf6c1d mt76x0: phy: fix restore phase in mt76x0_phy_recalibrate_after_assoc
8cb568162524 mt76: do not store aggregation sequence number for null-data frames
b95998fb6c50 EDAC, thunderx: Fix memory leak in thunderx_l2c_threaded_isr()
97aab1a43a2f powerpc/eeh: Fix use of EEH_PE_KEEP on wrong field
bd2a7e53cd6e powerpc/eeh: Fix null deref for devices removed during EEH
16e4657a1d25 powerpc/boot: Disable vector instructions
5346c8403733 powerpc/boot: Fix opal console in boot wrapper
4505cff2ef4a powerpc: Fix signedness bug in update_flash_db()
93b943c0602f synclink_gt(): fix compat_ioctl()
8d67a4ecb473 pty: fix compat ioctls
fa3fe5f442ab gfs2: Fix marking bitmaps non-full
26a4c6a562ce PCI: cadence: Write MSI data with 32bits
ca71f9c8adc2 pinctrl: madera: Fix uninitialized variable bug in madera_mux_set_mux
4465a916eaa7 printk: fix integer overflow in setup_log_buf()
90d73768ddb6 printk: lock/unlock console only for new logbuf entries
8888689bd433 crypto: testmgr - fix sizeof() on COMP_BUF_SIZE
3757657af27e ALSA: isight: fix leak of reference to firewire unit in error path of .probe callback
49a9643b5e8d mwifiex: Fix NL80211_TX_POWER_LIMITED
e80e88ef6057 drm/i915/userptr: Try to acquire the page lock around set_page_dirty()
a0ee03bb5269 drm/i915/pmu: "Frequency" is reported as accumulated cycles
8a67fbf65971 drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICs
e8d355befc42 mm/ksm.c: don't WARN if page is still mapped in remove_stable_node()
b28da9da6e51 Revert "fs: ocfs2: fix possible null-pointer dereferences in ocfs2_xa_prepare_entry()"
67380639dfdb virtio_console: allocate inbufs in add_port() only if it is needed
65d153c8ed65 nbd:fix memory leak in nbd_get_socket()
036588ec6888 tools: gpio: Correctly add make dependencies for gpio_utils
7cb8ee734c18 gpio: max77620: Fixup debounce delays
70d594d17ebb vhost/vsock: split packets to send using multiple buffers
48bc34efbc65 net/mlx5: Fix auto group size calculation
28a4cc2b5d6f net/mlxfw: Verify FSM error code translation doesn't exceed array size
7c1a53817782 net/mlx5e: Fix set vf link state error flow
1ff2a0f8692f sfc: Only cancel the PPS workqueue if it exists
13512a5eb818 net: sched: ensure opts_len <= IP_TUNNEL_OPTS_MAX in act_tunnel_key
2ba6a4f5402e net/sched: act_pedit: fix WARN() in the traffic path
9f6de5cf5390 net: rtnetlink: prevent underflows in do_setvfinfo()
ebcb0840a76b net/mlx4_en: Fix wrong limitation for number of TX rings
5408138df1db net/mlx4_en: fix mlx4 ethtool -N insertion
baa888ca02db mlxsw: spectrum_router: Fix determining underlay for a GRE tunnel
14260788bbb9 Linux 4.19.86
2e1f151cd2d9 x86/resctrl: Fix rdt_find_domain() return value and checks
d64b58520670 mmc: tmio: fix SCC error handling to avoid false positive CRC error
e2a37708cfca powerpc/time: Fix clockevent_decrementer initalisation for PR KVM
ff36ace6c107 tools: PCI: Fix broken pcitest compilation
4039b5dd0f67 PM / devfreq: Fix static checker warning in try_then_request_governor
903cfafe0874 ACPI / LPSS: Use acpi_lpss_* instead of acpi_subsys_* functions for hibernate
6491a2d26c08 tcp: start receiver buffer autotuning sooner
ef0811ef95ea ARM: dts: omap5: Fix dual-role mode on Super-Speed port
183f9ae8c4d2 mlxsw: spectrum_switchdev: Check notification relevance based on upper device
16ad1c43196a spi: rockchip: initialize dma_slave_config properly
f28abe5a3695 mac80211: minstrel: fix sampling/reporting of CCK rates in HT mode
83ea4ccdb9eb mac80211: minstrel: fix CCK rate group streams value
8bbedf4dffe9 mac80211: minstrel: fix using short preamble CCK rates on HT clients
5d017065cec9 misc: cxl: Fix possible null pointer dereference
9089b2f0049e netfilter: nft_compat: do not dump private area
e6c540bf9786 net: sched: avoid writing on noop_qdisc
b80939a47413 selftests: forwarding: Have lldpad_app_wait_set() wait for unknown, too
a119952d4be6 hwmon: (npcm-750-pwm-fan) Change initial pwm target to 255
4bbc8deedd89 hwmon: (ina3221) Fix INA3221_CONFIG_MODE macros
5bdad12ab211 hwmon: (pwm-fan) Silence error on probe deferral
0cb6525b75e1 hwmon: (nct6775) Fix names of DIMM temperature sources
a58d5770493c hwmon: (k10temp) Support all Family 15h Model 6xh and Model 7xh processors
1301b861cf50 scsi: arcmsr: clean up clang warning on extraneous parentheses
b0c75ea8d372 pinctrl: gemini: Fix up TVC clock group
2a6c8fc0af64 orangefs: rate limit the client not running info message
336793832f26 x86/mm: Do not warn about PCI BIOS W+X mappings
1eeb7407d233 ARM: 8802/1: Call syscall_trace_exit even when system call skipped
e616dd603c29 spi: spidev: Fix OF tree warning logic
4fabd2e530ab pinctrl: gemini: Mask and set properly
8aa36b8a7684 spi: fsl-lpspi: Prevent FIFO under/overrun by default
07ed61a0a711 gpio: syscon: Fix possible NULL ptr usage
312de5a09d10 net: fix generic XDP to handle if eth header was mangled
014045888a74 bpf: btf: Fix a missing check bug
85f996c36e15 x86/kexec: Correct KEXEC_BACKUP_SRC_END off-by-one error
3f4f4c639f29 lightnvm: pblk: consider max hw sectors supported for max_write_pgs
d4ab0df8d5dd lightnvm: pblk: fix error handling of pblk_lines_init()
cdf73455471a lightnvm: do no update csecs and sos on 1.2
1fb60da4d736 lightnvm: pblk: guarantee mw_cunits on read buffer
1e9796622bc7 lightnvm: pblk: fix write amplificiation calculation
d56fe8f59a23 lightnvm: pblk: guarantee emeta on line close
c7e49f73152f lightnvm: pblk: fix incorrect min_write_pgs
ced6b5dae1dc lightnvm: pblk: fix rqd.error return value in pblk_blk_erase_sync
e99956093f70 ALSA: hda/ca0132 - Fix input effect controls for desktop cards
9c30ea2dda5d media: venus: vdec: fix decoded data size
5b388c45c3e5 media: cx231xx: fix potential sign-extension overflow on large shift
4d7cf69b77ce GFS2: Flush the GFS2 delete workqueue before stopping the kernel threads
1adde6589b4a media: isif: fix a NULL pointer dereference bug
3404019d6d0f printk: Give error on attempt to set log buffer length to over 2G
b2d6db3e572a mfd: ti_am335x_tscadc: Keep ADC interface on if child is wakeup capable
b0c6a78a8a5a backlight: lm3639: Unconditionally call led_classdev_unregister
94764e3ae569 proc/vmcore: Fix i386 build error of missing copy_oldmem_page_encrypted()
e78c55ad6657 s390/kasan: avoid user access code instrumentation
ef5ad4f11e74 s390/kasan: avoid instrumentation of early C code
5228d07c4f92 s390/kasan: avoid vdso instrumentation
0046af383099 mmc: mmci: expand startbiterr to irqmask and error check
322f530fd959 x86/intel_rdt: CBM overlap should also check for overlap with CDP peer
36cf91317ca9 x86/intel_rdt: Introduce utility to obtain CDP peer
f9a2a8b8a5d4 mtd: devices: m25p80: Make sure WRITE_EN is issued before each write
6664533b4fc1 mtd: spi-nor: cadence-quadspi: Use proper enum for dma_[un]map_single
370dbbc7b5cb media: cx18: Don't check for address of video_dev
76765353043b media: dw9807-vcm: Fix probe error handling
96134bbea649 media: dw9714: Fix error handling in probe function
2103ebde9ac0 platform/x86: mlx-platform: Properly use mlxplat_mlxcpld_msn201x_items
04d38fa8436b bcache: recal cached_dev_sectors on detach
65910055b560 bcache: account size of buckets used in uuid write to ca->meta_sectors_written
16c2d36b1123 reset: Fix potential use-after-free in __of_reset_control_get()
84b787e35482 fbdev: fix broken menu dependencies
21bb43c0dd86 fbdev: sbuslib: integer overflow in sbusfb_ioctl_helper()
e57ba9db8c5f fbdev: sbuslib: use checked version of put_user()
964cd867ef63 atmel_lcdfb: support native-mode display-timings
a3a76b5d22f0 mmc: renesas_sdhi_internal_dmac: set scatter/gather max segment size
e8853ef02e2d mmc: tmio: Fix SCC error detection
01395b5f089b mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1
500c933055e7 x86/fsgsbase/64: Fix ptrace() to read the FS/GS base accurately
b17ddbdc6035 xsk: proper AF_XDP socket teardown ordering
29fda86178fe iwlwifi: mvm: don't send keys when entering D3
d43b7b99fe77 ACPI / SBS: Fix rare oops when removing modules
7f02606367b3 xfrm: use correct size to initialise sp->ovec
6b9c4eddb3be crypto: mxs-dcp - Fix AES issues
70ecd0459d03 crypto: mxs-dcp - Fix SHA null hashes and output length
fef30612e23c dmaengine: rcar-dmac: set scatter/gather max segment size
af23231acaf6 x86/olpc: Fix build error with CONFIG_MFD_CS5535=m
624cd074631a kexec: Allocate decrypted control pages for kdump if SME is enabled
59e5269c692e remoteproc: qcom: q6v5: Fix a race condition on fatal crash
4b8c7bce49ca remoteproc: Check for NULL firmwares in sysfs interface
e4aecc15d7c4 tc-testing: fix build of eBPF programs
d653bd939cb1 net: hns3: Fix for rx vlan id handle to support Rev 0x21 hardware
3bef7420e129 soc: fsl: bman_portals: defer probe after bman's probe
090122baa262 Input: silead - try firmware reload after unsuccessful resume
c13b00c39464 Input: st1232 - set INPUT_PROP_DIRECT property
205ae6b06288 i2c: zx2967: use core to detect 'no zero length' quirk
1698ed9f0e2f i2c: tegra: use core to detect 'no zero length' quirk
d511166558a4 i2c: qup: use core to detect 'no zero length' quirk
e0d9c58c49e6 i2c: omap: use core to detect 'no zero length' quirk
f3afad5d1eff gfs2: slow the deluge of io error messages
35c8125cbea4 media: cec-gpio: select correct Signal Free Time
58d0a3dbad2b media: ov5640: fix framerate update
47dd538e9c44 dmaengine: ioat: fix prototype of ioat_enumerate_channels
90d73c1cadb8 NFSv4.x: fix lock recovery during delegation recall
799c98cba071 printk: Correct wrong casting
e7ff1141b60c i2c: brcmstb: Allow enabling the driver on DSL SoCs
8b3e444fe8d0 clk: samsung: Use clk_hw API for calling clk framework from clk notifiers
599d5350f123 clk: samsung: exynos5420: Define CLK_SECKEY gate clock only or Exynos5420
06da39429640 clk: samsung: Use NOIRQ stage for Exynos5433 clocks suspend/resume
fe46630cd2a1 qtnfmac: drop error reports for out-of-bounds key indexes
4ecc631d975c qtnfmac: inform wireless core about supported extended capabilities
28d5342b2ae4 qtnfmac: pass sgi rate info flag to wireless core
5554e47a2946 qtnfmac: request userspace to do OBSS scanning if FW can not
75a1e8dec421 brcmfmac: fix full timeout waiting for action frame on-channel tx
c01258a2ad7d brcmfmac: reduce timeout for action frame scan
89cf2472a295 cpu/SMT: State SMT is disabled even with nosmt and without "=force"
8fce141f4805 mtd: physmap_of: Release resources on error
d46cd42b4ffa usb: dwc2: disable power_down on rockchip devices
3ad0531dbe0c USB: serial: cypress_m8: fix interrupt-out transfer length
24ce099a5388 KVM: PPC: Book3S PR: Exiting split hack mode needs to fixup both PC and LR
8b6021ca47a3 bnxt_en: return proper error when FW returns HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED
6e454b0ad02d ALSA: hda/sigmatel - Disable automute for Elo VuPoint
6925a5afc148 media: i2c: adv748x: Support probing a single output
a02bad04d110 media: rcar-vin: fix redeclaration of symbol
14dc7aeef3f4 media: pxa_camera: Fix check for pdev->dev.of_node
7672ca60a14a media: rc: ir-rc6-decoder: enable toggle bit for Kathrein RCU-676 remote
01e9e39f4f61 qed: Avoid implicit enum conversion in qed_ooo_submit_tx_buffers
d1dff747758f ata: ep93xx: Use proper enums for directions
6a70c66a84e0 powerpc/64s/radix: Explicitly flush ERAT with local LPID invalidation
9e4649e443e2 powerpc/time: Use clockevents_register_device(), fixing an issue with large decrementer
d7e546d06182 ASoC: qdsp6: q6asm-dai: checking NULL vs IS_ERR()
27ab8f1648ac cpuidle: menu: Fix wakeup statistics updates for polling state
38ad2aa9331b ACPICA: Never run _REG on system_memory and system_IO
216929d15b2c OPP: Return error on error from dev_pm_opp_get_opp_count()
3d0c72f99efc msm/gpu/a6xx: Force of_dma_configure to setup DMA for GMU
674b223d7a48 rpmsg: glink: smem: Support rx peak for size less than 4 bytes
ec9fc981de57 IB/mlx4: Avoid implicit enumerated type conversion
d5d78049b7a4 RDMA/hns: Limit the size of extend sge of sq
010af7a8d0ae RDMA/hns: Bugfix for CM test
5b7064adfb4b RDMA/hns: Submit bad wr when post send wr exception
af76265532a8 RDMA/hns: Bugfix for reserved qp number
350703fae672 IB/rxe: avoid srq memory leak
e3db306d1fda IB/mthca: Fix error return code in __mthca_init_one()
1b86b8ad6e47 ixgbe: Fix crash with VFs and flow director on interface flap
0e1fd69cff75 i40e: Use proper enum in i40e_ndo_set_vf_link_state
22b8d7e3bcb5 ixgbe: Fix ixgbe TX hangs with XDP_TX beyond queue limit
b69cfc4f2665 md: allow metadata updates while suspending an array - fix
4aa110048087 ice: Fix forward to queue group logic
d97a02b84879 clocksource/drivers/sh_cmt: Fix clocksource width for 32-bit machines
31fb5ea6ed1b clocksource/drivers/sh_cmt: Fixup for 64-bit machines
0e8855ba9f9a tools: PCI: Fix compilation warnings
9372023e10ee PM / hibernate: Check the success of generating md5 digest before hibernation
ed896ddfae94 mtd: rawnand: sh_flctl: Use proper enum for flctl_dma_fifo0_transfer
83cda9ea1876 ARM: dts: at91: sama5d2_ptc_ek: fix bootloader env offsets
10551e574d79 ARM: dts: at91: at91sam9x5cm: fix addressable nand flash size
825d176a1049 ARM: dts: at91: sama5d4_xplained: fix addressable nand flash size
ab9928588283 powerpc/xive: Move a dereference below a NULL test
38d7fa28157e powerpc/pseries: Fix how we iterate over the DTL entries
a3576a228404 powerpc/pseries: Fix DTL buffer registration
b28aa87d081c cxgb4: Use proper enum in IEEE_FAUX_SYNC
efdacf2b7aa7 cxgb4: Use proper enum in cxgb4_dcb_handle_fw_update
743ccf759e8e mei: samples: fix a signedness bug in amt_host_if_call()
cc7d996a4428 x86/PCI: Apply VMD's AERSID fixup generically
6cedfaffb4ac sunrpc: Fix connect metrics
7e4602eac666 clk: keystone: Enable TISCI clocks if K3_ARCH
6c487c0e877a ext4: fix build error when DX_DEBUG is defined
f2877a3c332d ALSA: hda: Fix mismatch for register mask and value in ext controller.
ae3765a0a33d dmaengine: timb_dma: Use proper enum in td_prep_slave_sg
0c21aa9b5651 dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction
671ce9f892b9 printk: CON_PRINTBUFFER console registration is a bit racy
cd120df118d7 printk: Do not miss new messages when replaying the log
5a6f7274e67b KVM: PPC: Inform the userspace about TCE update failures
38374aa3c916 watchdog: w83627hf_wdt: Support NCT6796D, NCT6797D, NCT6798D
96505abd2435 watchdog: sama5d4: fix timeout-sec usage
26d6e542dc47 watchdog: renesas_wdt: stop when unregistering
f4cfb7eeae62 watchdog: core: fix null pointer dereference when releasing cdev
a9f36455edc1 irqchip/irq-mvebu-icu: Fix wrong private data retrieval
be4f5457a5fd nl80211: Fix a GET_KEY reply attribute
21ba66937e0d usb: dwc3: gadget: Check ENBLSLPM before sending ep command
639fce0bc8b5 usb: gadget: udc: fotg210-udc: Fix a sleep-in-atomic-context bug in fotg210_get_status()
f22a4d8cf049 selftests/tls: Fix recv(MSG_PEEK) & splice() test cases
475398b72984 ath9k: fix reporting calculated new FFT upper max
f6ec4fccbf9a PM / devfreq: stopping the governor before device_unregister()
fc491a1e77be PM / devfreq: Fix handling of min/max_freq == 0
b5add975c871 PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.
5f5a8d36749f ata: ahci_brcm: Allow using driver or DSL SoCs
4cfcb5379a9c rtlwifi: btcoex: Use proper enumerated types for Wi-Fi only interface
e5895e41aeb3 ath10k: fix vdev-start timeout on error
06cb99e6399d arm64/numa: Report correct memblock range for the dummy node
256a29480733 kvm: arm/arm64: Fix stage2_flush_memslot for 4 level page table
bae080e72e92 iommu/arm-smmu-v3: Fix unexpected CMD_SYNC timeout
2bab3df8f506 iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()
741a445a88e4 mt76: fix handling ps-poll frames
ddb4299f1d78 mt76x2: disable WLAN core before probe
b14825a5c652 mt76x2: fix tx power configuration for VHT mcs 9
449b9ae3504c IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds
e0dee1c839e3 IB/hfi1: Error path MAD response size is incorrect
8d93707e7195 f2fs: keep lazytime on remount
a5f7bf0379d3 ACPI / LPSS: Resume BYT/CHT I2C controllers from resume_noirq
aa39d53f2b89 ACPI / LPSS: Make acpi_lpss_find_device() also find PCI devices
9372a40b54d0 SUNRPC: Fix priority queue fairness
43876b1ce42b tcp: up initial rmem to 128KB and SYN rwin to around 64KB
d2cacb6ac4ff ARM: dts: sun8i: h3: bpi-m2-plus: Fix address for external RGMII Ethernet PHY
ed220d3dcc79 ARM: dts: sun8i: h3-h5: ir register size should be the whole memory block
ac02379889e2 f2fs: return correct errno in f2fs_gc
7cbac9d598a7 net: hns3: Fix loss of coal configuration while doing reset
af98283da9e9 net: hns3: Fix for netdev not up problem when setting mtu
7a1f314e3c80 ARM: dts: omap5: enable OTG role for DWC3 controller
789d29044793 ARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode
6d286faeee74 net: xen-netback: fix return type of ndo_start_xmit function
c234566f1ea0 net: ovs: fix return type of ndo_start_xmit function
d51d9605888d bpf, x32: Fix bug for BPF_JMP | {BPF_JSGT, BPF_JSLE, BPF_JSLT, BPF_JSGE}
f3c40792cf4b bpf, x32: Fix bug with ALU64 {LSH, RSH, ARSH} BPF_K shift by 0
a085f797449e bpf, x32: Fix bug with ALU64 {LSH, RSH, ARSH} BPF_X shift by 0
860a7d18b9e6 bpf, x32: Fix bug for BPF_ALU64 | BPF_NEG
03543b9c5573 fbdev: Ditch fb_edid_add_monspecs
703662598b9c arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault
f8b09a043685 mm/memory_hotplug: fix updating the node span
6631def3ee38 mm/memory_hotplug: don't access uninitialized memmaps in shrink_pgdat_span()
a16a3669273b idr: Fix idr_get_next race with idr_remove
4c62337d8f17 net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size()
17a82bc67728 Revert "OPP: Protect dev_list with opp_table lock"
4f4ab0b49cf2 tee: optee: add missing of_node_put after of_device_is_available
2008d0e3d364 i2c: mediatek: modify threshold passed to i2c_get_dma_safe_msg_buf()
976e944e005f spi: mediatek: use correct mata->xfer_len when in fifo transfer
c63ee2939dc1 Linux 4.19.85
e99d64837815 slcan: Fix memory leak in error path
e4cc9c81e230 memfd: Use radix_tree_deref_slot_protected to avoid the warning.
914834a73b16 net: phy: mdio-bcm-unimac: mark PM functions as __maybe_unused
2ed924f2782f s390/vdso: correct vdso mapping for compat tasks
1b904b2eb9c1 media: ov2680: fix null dereference at power on
0c3e32230bcc IB/iser: Fix possible NULL deref at iser_inv_desc()
d7b412e1448e fuse: use READ_ONCE on congestion_threshold and max_background
2e72489c822e usb: usbtmc: uninitialized symbol 'actual' in usbtmc_ioctl_clear
eb9b6c203870 usb: xhci-mtk: fix ISOC error when interval is zero
8ddec6aaad86 netfilter: masquerade: don't flush all conntracks if only one address deleted on device
ba8c4cc746a5 rtc: armada38x: fix possible race condition
44bb1b1256b5 rtc: tx4939: fixup nvmem name and register size
e7ab2bab7e60 rtc: isl1208: avoid possible sysfs race
70f0ead5c6af ARM: dts: lpc32xx: Fix SPI controller node names
8e359bce724c arm64: dts: lg: Fix SPI controller node names
f52a34b5b111 arm64: dts: amd: Fix SPI bus warnings
b26edaa53496 scsi: NCR5380: Check for bus reset
080b37aacd2b scsi: NCR5380: Handle BUS FREE during reselection
aa45f4ab86a2 scsi: NCR5380: Don't call dsprintk() following reselection interrupt
23635cf271a3 scsi: NCR5380: Don't clear busy flag when abort fails
aeb0ed2e5bb9 scsi: NCR5380: Check for invalid reselection target
98c6d8f8a401 scsi: NCR5380: Use DRIVER_SENSE to indicate valid sense data
1a46e4d3da31 scsi: NCR5380: Withhold disconnect privilege for REQUEST SENSE
624f60251f1a scsi: NCR5380: Have NCR5380_select() return a bool
873506e566ef scsi: NCR5380: Clear all unissued commands on host reset
fe5ef5fe3e19 iwlwifi: mvm: Allow TKIP for AP mode
c4a3dcb0a273 iwlwifi: mvm: use correct FIFO length
d395b6f51cf7 iwlwifi: pcie: fit reclaim msg to MAX_MSG_LEN
08d2000d2162 iwlwifi: pcie: gen2: build A-MSDU only for GSO
f4f0909f3d3f iwlwifi: api: annotate compressed BA notif array sizes
e455ecaf52da iwlwifi: pcie: read correct prph address for newer devices
c5eafde04ad3 iwlwifi: fix non_shared_ant for 22000 devices
f73c75560ffd iwlwifi: dbg: don't crash if the firmware crashes in the middle of a debug dump
98ca4f397feb crypto: fix a memory leak in rsa-kcs1pad's encryption mode
975b3c8dd182 crypto: s5p-sss: Fix Fix argument list alignment
ef089d9b58a7 crypto: s5p-sss: Fix race in error handling
d34465e722e7 x86/hyperv: Suppress "PCI: Fatal: No config space access function found"
23a4059cd6b8 Bluetooth: btrsi: fix bt tx timeout issue
245b2765e87c Bluetooth: L2CAP: Detect if remote is not able to use the whole MPS
2c8946462f07 Bluetooth: hci_serdev: clear HCI_UART_PROTO_READY to avoid closing proto races
f416fe070ec1 firmware: dell_rbu: Make payload memory uncachable
5d3675e3e6d1 ARM: dts: realview: Fix SPI controller node names
57b78e41a397 EDAC: Raise the maximum number of memory controllers
352668d32cd5 RDMA: Fix dependencies for rdma_user_mmap_io
36ffc9a76df9 f2fs: mark inode dirty explicitly in recover_inode()
a4bd303d6774 f2fs: fix to recover inode's project id during POR
7bae8b6b73e4 f2fs: update i_size after DIO completion
9de276a804c7 PCI/ERR: Run error recovery callbacks for all affected devices
8738fd312e63 net: faraday: fix return type of ndo_start_xmit function
8ff333f3f819 net: smsc: fix return type of ndo_start_xmit function
4481669a3a95 ARM: dts: paz00: fix wakeup gpio keycode
4e9cf62e8ffb ARM: tegra: colibri_t30: fix mcp2515 can controller interrupt polarity
63c28c08e485 ARM: tegra: apalis_t30: fix mcp2515 can controller interrupt polarity
2241b82d7b3f ARM: tegra: apalis_t30: fix mmc1 cmd pull-up
1717eca134f2 ARM: dts: tegra20: restore address order
619f46726e66 ARM: dts: tegra30: fix xcvr-setup-use-fuses
70c4b0fb4fd5 arm64: tegra: I2C on Tegra194 is not compatible with Tegra114
e821b710b58d ARM: dts: imx51-zii-rdu1: Fix the rtc compatible string
a09b6731c4dd arm64: dts: fsl: Fix I2C and SPI bus warnings
2d6b885ba741 phy: lantiq: Fix compile warning
6fce50c100c8 f2fs: fix remount problem of option io_bits
c4a33c4ecc1f scsi: libsas: always unregister the old device if going to discover new
2f9d0f703b9c iw_cxgb4: Use proper enumerated type in c4iw_bar2_addrs
1ae5bfee6cff vfio/pci: Mask buggy SR-IOV VF INTx support
dde3433de9a0 vfio/pci: Fix potential memory leak in vfio_msi_cap_len
86f886e91dcf vmbus: keep pointer to ring buffer page
728a7552dc49 misc: genwqe: should return proper error value.
6707b1ba53be misc: kgdbts: Fix restrict error
890bee675729 silmbus: ngd: register controller after power up.
932980ed5b77 slimbus: ngd: return proper error code instead of zero
9874abd5c878 slimbus: ngd: register ngd driver only once.
614744f4e80e coresight: dynamic-replicator: Handle multiple connections
36aa9cd28c59 coresight: tmc: Fix byte-address alignment for RRP
0bb87d413aef coresight: etm4x: Configure EL2 exception level when kernel is running in HYP
a0e0ec0a5544 coresight: tmc-etr: Handle driver mode specific ETR buffers
1099665125ed coresight: perf: Disable trace path upon source error
87e382c3f706 coresight: perf: Fix per cpu path management
25deeb3c1b9f coresight: Fix handling of sinks
59a488998caf coresight: Use ERR_CAST instead of ERR_PTR
240293e02123 usb: gadget: uvc: Only halt video streaming endpoint in bulk mode
bb7c36e91d45 usb: gadget: uvc: Factor out video USB request queueing
c4635c27d3ac ARM: dts: imx6ull: update vdd_soc voltage for 900MHz operating point
a9c11660389c phy: phy-twl4030-usb: fix denied runtime access
6e176dd0e4c2 phy: renesas: rcar-gen3-usb2: fix vbus_ctrl for role sysfs
f0525581df5f phy: brcm-sata: allow PHY_BRCM_SATA driver to be built for DSL SoCs
ff0eabfaf4a4 ARM: at91: pm: call put_device instead of of_node_put in at91_pm_config_ws
1b23c28d87e7 gpiolib: Fix gpio_direction_* for single direction GPIOs
ec0b30347e4a i2c: aspeed: fix invalid clock parameters for very large divisors
de2875336ee8 ARM: dts: exynos: Correct audio subsystem parent clock on Peach Chromebooks
4e6c65624090 usb: gadget: uvc: configfs: Sort frame intervals upon writing
d036103870c6 usb: gadget: uvc: configfs: Prevent format changes after linking header
e6e1ad1e2537 usb: gadget: uvc: configfs: Drop leaked references to config items
b7ffda42d720 ARM: dts: rockchip: explicitly set vcc_sd0 pin to gpio on rk3188-radxarock
0b08daf034cc media: davinci: Fix implicit enum conversion warning
0994d0cb86ec media: au0828: Fix incorrect error messages
0e63f5db54d8 media: pci: ivtv: Fix a sleep-in-atomic-context bug in ivtv_yuv_init()
2dacea472335 media: imx: work around false-positive warning, again
1b73ea8377da mlxsw: Make MLXSW_SP1_FWREV_MINOR a hard requirement
9d2ce0611ad5 arm64: dts: rockchip: Fix microSD in rk3399 sapphire board
46a9bbe9d579 MIPS: kexec: Relax memory restriction
3b9528b302a6 EDAC: Correct DIMM capacity unit symbol
e897dd4cfdde x86/CPU: Change query logic so CPUID is enabled before testing
d26ad73be70f x86/CPU: Use correct macros for Cyrix calls
fd3f592b2af6 net: freescale: fix return type of ndo_start_xmit function
cab175f881c5 net: micrel: fix return type of ndo_start_xmit function
590ee2e0aec7 net: phy: mdio-bcm-unimac: Allow configuring MDIO clock divider
73cb54858021 samples/bpf: fix compilation failure
3536c05af6f4 PCI/ERR: Use slot reset if available
0729c5944eee PCI/AER: Don't read upstream ports below fatal errors
f3f55d83ea0d PCI/AER: Take reference on error devices
40ebd8b31fea bnx2x: Ignore bandwidth attention in single function mode
0769f445afa4 ARM: dts: stm32: Fix SPI controller node names
c6305dfb214b ARM: dts: clearfog: fix sdhci supply property name
b939d8b914d8 ARM: dts: stm32: enable display on stm32mp157c-ev1 board
098e12f385f9 x86/mce-inject: Reset injection struct after injection
aa190837bec5 ARM: dts: marvell: Fix SPI and I2C bus warnings
ccc8bf41dac8 crypto: arm/crc32 - avoid warning when compiling with Clang
9e70da12d01f cpufeature: avoid warning when compiling with clang
ad28c2ba4318 crypto: chacha20 - Fix chacha20_block() keystream alignment (again)
af4749d23d46 spi: pic32: Use proper enum in dmaengine_prep_slave_rg
c2f76a19fbc8 ARM: dts: ste: Fix SPI controller node names
4d22878d5894 ARM: dts: ux500: Fix LCDA clock line muxing
8be4d596d3f2 ARM: dts: ux500: Correct SCU unit address
dfc81686a642 f2fs: fix to recover inode's uid/gid during POR
c783946ea9b1 f2fs: avoid infinite loop in f2fs_alloc_nid
caab324d1b01 ARM: dts: ti: Fix SPI and I2C bus warnings
2cf6352a6d4c ARM: dts: am335x-evm: fix number of cpsw
1eeee2fd2e0c PCI: portdrv: Initialize service drivers directly
38bee3f3f280 mlxsw: spectrum: Init shaper for TCs 8..15
636cbdec5cf4 brcmsmac: Use kvmalloc() for ucode allocations
2980b6a81378 brcmfmac: increase buffer for obtaining firmware capabilities
59d6e59f32cc s390/vdso: correct CFI annotations of vDSO functions
84bfa03445bc s390/vdso: avoid 64-bit vdso mapping for compat tasks
3d510bdf35c2 s390/zcrypt: enable AP bus scan without a valid default domain
5e9923e85e1c usb: usbtmc: Fix ioctl USBTMC_IOCTL_ABORT_BULK_OUT
92aeb3756c43 usb: chipidea: Fix otg event handler
979f541851d9 usb: chipidea: imx: enable OTG overcurrent in case USB subsystem is already started
b39e733da3f8 nfp: provide a better warning when ring allocation fails
883843b5a912 net: hns3: Fix parameter type for q_id in hclge_tm_q_to_qs_map_cfg()
a1b2c39f3ec7 net: hns3: Fix client initialize state issue when roce client initialize failed
20f2b72faff0 net: hns3: Clear client pointer when initialize client failed or unintialize finished
ae95237256de net: hns3: Fix cmdq registers initialization issue for vf
110de23fc502 net: hns3: Fix for setting speed for phy failed problem
bd23121daecf net: sun: fix return type of ndo_start_xmit function
5d52c10c345d net: amd: fix return type of ndo_start_xmit function
0cd3edaf82e6 net: broadcom: fix return type of ndo_start_xmit function
63a0e0512dba net: xilinx: fix return type of ndo_start_xmit function
df9f5c799d85 net: toshiba: fix return type of ndo_start_xmit function
e50d7274104c net: marvell: fix return type of ndo_start_xmit function
28fae2d588be net: mvpp2: fix the number of queues per cpu for PPv2.2
0ede78b3576c power: supply: twl4030_charger: disable eoc interrupt on linear charge
773fb69e4307 power: supply: twl4030_charger: fix charging current out-of-bounds
0729f87b840a libfdt: Ensure INT_MAX is defined in libfdt_env.h
e000de3f01c5 of/unittest: Fix I2C bus unit-address error
4c64ce947cfa OPP: Protect dev_list with opp_table lock
51e509caf5fa ARM: dts: atmel: Fix I2C and SPI bus warnings
7cfb3b04d096 RDMA/i40iw: Fix incorrect iterator type
eb355ccfdf1d powerpc: Fix duplicate const clang warning in user access code
e7b37640916f powerpc/pseries: Disable CPU hotplug across migrations
9271304c26fc powerpc/pseries/memory-hotplug: Only update DT once per memory DLPAR request
0ab2545aa404 powerpc/64s/hash: Fix stab_rr off by one initialization
a3581509e890 selftests/powerpc: Do not fail with reschedule
089b169ceb80 powerpc/iommu: Avoid derefence before pointer check
13d5bc50f405 net: ibm: fix return type of ndo_start_xmit function
efe22c12087d net: cavium: fix return type of ndo_start_xmit function
279a4f77546a net: hns3: fix return type of ndo_start_xmit function
dd4b87a945c1 ipmi: fix return value of ipmi_set_my_LUN
ea944c71360f ipmi:dmi: Ignore IPMI SMBIOS entries with a zero base address
438bf726def0 ipmi_si: fix potential integer overflow on large shift
78538bae1dab ipmi_si_pci: fix NULL device in ipmi_si error message
5ab64c1633f6 ASoC: rt5682: Fix the boost volume at the begining of playback
6237e9d0715a spi: mediatek: Don't modify spi_transfer when transfer.
779c96ef3fac spi/bcm63xx-hsspi: keep pll clk enabled
eaa4d5ac4403 samples/bpf: fix a compilation failure
feb52253d738 arm64: dts: ti: k3-am65: Change #address-cells and #size-cells of interconnect to 2
1ea4603cc812 tty: serial: qcom_geni_serial: Fix serial when not used as console
87153f7a04c9 serial: mxs-auart: Fix potential infinite loop
400caa3d02ea serial: samsung: Enable baud clock for UART reset procedure in resume
30cfa3ebc0ed serial: uartps: Fix suspend functionality
bad4e6d3d40d ARM: dts: xilinx: Fix I2C and SPI bus warnings
d15e5038213e PCI: mediatek: Fix unchecked return value
80ec7fcb04a0 net: socionext: Fix two sleep-in-atomic-context bugs in ave_rxfifo_reset()
176f6203a4f4 PCI/ACPI: Correct error message for ASPM disabling
525552a0e849 media: ov2680: don't register the v4l2 subdevice before checking chip ID
f4683c89808f media: vsp1: Fix YCbCr planar formats pitch calculation
ee5a1460f271 media: vsp1: Fix vsp1_regs.h license header
2d7578285958 s390/qeth: invoke softirqs after napi_schedule()
66fb291b264d s390/qeth: uninstall IRQ handler on device removal
ccc1e600844d ath9k: Fix a locking bug in ath9k_add_interface()
e97d09277b77 netfilter: nf_tables: avoid BUG_ON usage
d1440f1a38eb ACPI / LPSS: Exclude I2C busses shared with PUNIT from pmc_atom_d3_mask
75fd1aec33c6 arm64: dts: rockchip: Fix I2C bus unit-address error on rk3399-puma-haikou
5fc9af407fc5 ARM: dts: rockchip: Fix erroneous SPI bus dtc warnings on rk3036
0592c2178e3c scsi: ufshcd: Fix NULL pointer dereference for in ufshcd_init
6745591c8da9 ip_gre: fix parsing gre header in ipgre_err
ada2a0f1ac54 kernfs: Fix range checks in kernfs_get_target_path
5fba81510697 component: fix loop condition to call unbind() if bind() fails
925c19a8c6bb power: supply: max8998-charger: Fix platform data retrieval
82d8a34470e9 power: reset: at91-poweroff: do not procede if at91_shdwc is allocated
1fb3d279a384 power: supply: ab8500_fg: silence uninitialized variable warnings
c9398259cf85 arm64: dts: meson: Fix erroneous SPI bus warnings
89f4d27c1bcd blok, bfq: do not plug I/O if all queues are weight-raised
6c9a79651bff block, bfq: inject other-queue I/O into seeky idle queues on NCQ flash
6d7757f04866 arm64: fix for bad_mode() handler to always result in panic
7f49a2210e85 cxgb4: Fix endianness issue in t4_fwcache()
b0cb2d8164d0 android: binder: no outgoing transaction when thread todo has transaction
31e470f92d9e ARM: dts: sun9i: Fix I2C bus warnings
0989aa65bc37 pinctrl: at91: don't use the same irqchip with multiple gpiochips
d1b9d321df35 ARM: dts: sunxi: Fix I2C bus warnings
8ac08053744c ARM: dts: socfpga: Fix I2C bus unit-address error
e70ccd8a13a9 powerpc/vdso: Correct call frame information
11d7842812f8 ARM: dts: aspeed: Fix I2C bus warnings
5a8130ed237f ARM: dts: bcm: Fix SPI bus warnings
08ffefc8e7ed arm64: dts: broadcom: Fix I2C and SPI bus warnings
174e8262f08a drivers: qcom: rpmh-rsc: clear wait_for_compl after use
09c8a33ed766 soc: qcom: apr: Avoid string overflow
6651ecf92f3c soc: qcom: wcnss_ctrl: Avoid string overflow
4a2c4d1a0b6b soc: qcom: geni: geni_se_clk_freq_match() should always accept multiples
331ed266987e soc: qcom: geni: Don't ignore clk_round_rate() errors in geni_se_clk_tbl_get()
b0826d4774c2 ARM: dts: qcom: ipq4019: fix cpu0's qcom,saw2 reg value
9a484516a410 llc: avoid blocking in llc_sap_close()
50e40ebcaa32 pinctrl: at91-pio4: fix has_config check in atmel_pctl_dt_subnode_to_map()
3f57f7387db2 arm64: dts: renesas: r8a77965: Fix clock/reset for usb2_phy1
7ed1974d2b03 arm64: dts: renesas: r8a77965: Fix HS-USB compatible
dc521bf8ffda arm64: dts: renesas: r8a77965: Attach the SYS-DMAC to the IPMMU
1badf45f08b3 arm64: dts: renesas: salvator-common: adv748x: Override secondary addresses
20f93eb9194c ALSA: intel8x0m: Register irq handler after register initializations
e80e83fb0106 arm64: dts: meson-axg: use the proper compatible for ethmac
2694107888a5 arm64: dts: meson: libretech: update board model
3804f9dd8f76 net: bcmgenet: Fix speed selection for reverse MII
914282c62ab2 media: dvb: fix compat ioctl translation
03056f8c725a media: fix: media: pci: meye: validate offset to avoid arbitrary access
fe384ab1496c ALSA: hda: Fix implicit definition of pci_iomap() on SH
6281d021bbb3 media: dt-bindings: adv748x: Fix decimal unit addresses
88e9f8198dd5 nvmem: core: return error code instead of NULL from nvmem_device_get
b0d54e40f3c4 Drivers: hv: vmbus: Fix synic per-cpu context initialization
a1d374ea1e95 net: aquantia: fix hw_atl_utils_fw_upload_dwords
a9cab0fe6e26 kprobes: Don't call BUG_ON() if there is a kprobe in use on free list
7aea0bd886ae scsi: pm80xx: Fixed system hang issue during kexec boot
a66a544dca32 scsi: pm80xx: Corrected dma_unmap_sg() parameter
ac892349e21b ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set
86d5ceaea04c scsi: sym53c8xx: fix NULL pointer dereference panic in sym_int_sir()
66b2e4c7afd0 scsi: lpfc: Fix errors in log messages.
87c32dbd7eff scsi: lpfc: Correct invalid EQ doorbell write on if_type=6
8caed6a5d385 scsi: lpfc: Fix GFT_ID and PRLI logic for RSCN
050e019c2d69 scsi: qla2xxx: Fix duplicate switch's Nport ID entries
c7ddd7ba1d05 scsi: qla2xxx: Fix dropped srb resource.
8c32664a6a0d scsi: qla2xxx: Fix port speed display on chip reset
3e3a2c5c4569 scsi: qla2xxx: Check for Register disconnect
3a7ec92a5b2a scsi: qla2xxx: Increase abort timeout value
5320b946687a scsi: qla2xxx: Fix deadlock between ATIO and HW lock
6f6e01ff7413 scsi: qla2xxx: Terminate Plogi/PRLI if WWN is 0
f91811dd9501 scsi: qla2xxx: Defer chip reset until target mode is enabled
667bdc46aa4e scsi: qla2xxx: Fix iIDMA error
ca35c5a1cb21 scsi: qla2xxx: Use correct qpair for ABTS/CMD
a1f14df33c05 f2fs: fix setattr project check upon fssetxattr ioctl
7b55102cdc61 f2fs: fix memory leak of percpu counter in fill_super()
883037308018 f2fs: fix memory leak of write_io in fill_super()
e5b515f56626 signal: Properly deliver SIGSEGV from x86 uprobes
91c3a88054c1 signal: Properly deliver SIGILL from uprobes
3b5681d39fa4 signal: Always ignore SIGKILL and SIGSTOP sent to the global init
93ae4ded2abe IB/hfi1: Missing return value in error path for user sdma
45d0ddf97448 RDMA/hns: Fix an error code in hns_roce_v2_init_eq_table()
8edddc2cf3c1 dmaengine: at_xdmac: remove a stray bottom half unlock
9234fbbd7782 ath9k: add back support for using active monitor interfaces for tx99
82663f99cbdf rtc: pl030: fix possible race condition
5a869e9828e8 rtc: mt6397: fix possible race condition
0773f03aebdd EDAC, sb_edac: Return early on ADDRV bit and address type test
fc7be6308364 dmaengine: dma-jz4780: Further residue status fix
f6d4561cae3a dmaengine: dma-jz4780: Don't depend on MACH_JZ4780
a34ea3ddc763 usb: mtu3: disable vbus rise/fall interrupts of ltssm
a5d1ffee2f2f ARM: dts: exynos: Disable pull control for PMIC IRQ line on Artik5 board
67e477d8eaa0 arm64: dts: rockchip: Fix VCC5V0_HOST_EN on rk3399-sapphire
4c884128b414 firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings
d786bf93f0c5 sched/debug: Use symbolic names for task state constants
e4e522609854 sched/debug: Explicitly cast sched_feat() to bool
0ddcbbf4cd47 failover: Fix error return code in net_failover_create
eca5b74e0080 f2fs: submit bio after shutdown
0f9c9a216288 ARM: dts: omap3-gta04: keep vpll2 always on
d59817b0ca62 ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot
6b268c233df7 ARM: dts: omap3-gta04: fix touchscreen tsc2007
96907aa1ab3c ARM: dts: omap3-gta04: tvout: enable as display1 alias
8f03a5116e9d ARM: dts: omap3-gta04: fixes for tvout / venc
5cacb026fe26 ARM: dts: omap3-gta04: give spi_lcd node a label so that we can overwrite in other DTS files
69116e3bae2b of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC
cc5f462c1b08 ata: Disable AHCI ALPM feature for Ampere Computing eMAG SATA
3d5d2f7806a9 ASoC: Intel: hdac_hdmi: Limit sampling rates at dai creation
0376916b7b2c ASoC: dapm: Avoid uninitialised variable warning
0204720dde67 udf: Fix crash during mount
52cda4c1d9cd mips: txx9: fix iounmap related issue
f63587cbb091 RDMA/core: Follow correct unregister order between sysfs and cgroup
6b827d38cead RDMA/core: Rate limit MAD error messages
a618cca0438b IB/ipoib: Ensure that MTU isn't less than minimum permitted
2543eeba256a IB/mlx5: Don't hold spin lock while checking device state
4d8d651e1c5f i2c: mediatek: Use DMA safe buffers for i2c transactions
d0d8f0efb6bd ath10k: wmi: disable softirq's while calling ieee80211_rx
14c9bc4be084 ARM: dts: exynos: Disable pull control for S5M8767 PMIC
588822fcb313 ath10k: avoid possible memory access violation
34293775f117 ASoC: sgtl5000: avoid division by zero if lo_vag is zero
6cbd0932ab9a rtnetlink: move type calculation out of loop
4b702fdd6e7e net: lan78xx: Bail out if lan78xx_get_endpoints fails
23ad83c399b0 f2fs: avoid wrong decrypted data from disk
b6410b95c224 cfg80211: validate wmm rule when setting
8d705195a9a3 mac80211: fix saving a few HE values
4d146d72687e qxl: fix null-pointer crash during suspend
f5ee703ff92c IB/mlx5: Change TX affinity assignment in RoCE LAG mode
5128ea974c22 mtd: rawnand: qcom: don't include dma-direct.h
d6ebf70120c6 mtd: rawnand: fsl_ifc: fixup SRAM init for newer ctrl versions
29535bafb64b mtd: rawnand: fsl_ifc: check result of SRAM initialization
6ae8c86ee458 mtd: rawnand: marvell: use regmap_update_bits() for syscon access
6c7644ad22ae ARM: dts: meson8b: fix the clock controller register size
e39779f6ea67 ARM: dts: meson8: fix the clock controller register size
6da9a4a98215 net: phy: mscc: read 'vsc8531, edge-slowdown' as an u32
77f9e263e296 net: phy: mscc: read 'vsc8531,vddmac' as an u32
5dc1cbcff700 net/mlx5: Fix atomic_mode enum values
b5f6d6de5b12 net: hns3: Change the dst mac addr of loopback packet
f995b2efa439 net: hns3: Fix for loopback selftest failed problem
d01caf35564c net: hns3: Fix error of checking used vlan id
4aea8f76727e net: hns3: Fix for multicast failure
e5f48f8eff66 ASoC: rsnd: ssi: Fix issue in dma data address assignment
0b8e8bddc5c0 soc: imx: gpc: fix PDN delay
7f88d806443f mt76: Fix comparisons with invalid hardware key index
1f54ec5b3047 brcmfmac: fix wrong strnchr usage
f05f8607622c mwifex: free rx_cmd skb in suspended state
6c27b9267a84 mwifiex: do no submit URB in suspended state
cd554b025c09 rtl8187: Fix warning generated when strncpy() destination length matches the sixe argument
c495a8c78b50 ARM: dts: pxa: fix power i2c base address
72e13203c56d ARM: dts: pxa: fix the rtc controller
fe9048c7bb38 media: ov772x: Disable clk on error path
b489c1e010e4 media: i2c: Fix pm_runtime_get_if_in_use() usage in sensor drivers
5a21c7a0b592 media: vicodec: fix out-of-range values when decoding
17743861edc7 iwlwifi: mvm: avoid sending too many BARs
75de80e11e6b iwlwifi: don't WARN on trying to dump dead firmware
ecedae02e89d iwlwifi: drop packets with bad status in CD
02adbecf542e IB/rxe: fixes for rdma read retry
cad889676bdb IB/rxe: avoid back-to-back retries
ac0ab821c4d5 i40e: Prevent deleting MAC address from VF when set by PF
712d35e0d2c1 i40evf: cancel workqueue sync for adminq when a VF is removed
e5d3afbe3a5c i40e: hold the rtnl lock on clearing interrupt scheme
f9a84bbd3ca6 i40evf: Don't enable vlan stripping when rx offload is turned on
fe301cf64f7e i40e: Check and correct speed values for link on open
8d7e6ab3b5d2 i40evf: set IFF_UNICAST_FLT flag for the VF
015fc5251996 i40e: use correct length for strncpy
a90fcbdb9b22 i40evf: Validate the number of queues a PF sends
2da61f212f4d ARM: dts: exynos: Fix regulators configuration on Peach Pi/Pit Chromebooks
d4e5c8aeb198 arm64: dts: stratix10: i2c clock running out of spec
b0bac46b52a9 liquidio: fix race condition in instruction completion processing
b2e427c268f3 ARM: dts: exynos: Fix sound in Snow-rev5 Chromebook
0b53b56287ab ARM: dts: exynos: Fix HDMI-HPD line handling on Arndale
0baa3fe5805e ARM: dts: exynos: Use i2c-gpio for HDMI-DDC on Arndale
8e6acc5ee14d MIPS: BCM47XX: Enable USB power on Netgear WNDR3400v3
7c68184fced7 pinctrl: ingenic: Probe driver at subsys_initcall
8ddea21d4c0b ASoC: AMD: Change MCLK to 48Mhz
bdb7368ac333 ASoC: meson: axg-fifo: report interrupt request failure
aac9381b2ca8 ASoC: dpcm: Properly initialise hw->rate_max
ac66c0c470a3 ASoC: dapm: Don't fail creating new DAPM control on NULL pinctrl
d3a45d4d6f2d ice: Fix and update driver version string
48b128cddb91 gfs2: Don't set GFS2_RDF_UPTODATE when the lvb is updated
9ca72984d7c0 ice: Prevent control queue operations during reset
a881088f512e ice: Update request resource command to latest specification
f71230e6898e ath10k: limit available channels via DT ieee80211-freq-limit
8cad5d80f8d0 wil6210: fix invalid memory access for rx_buff_mgmt debugfs
bcaabaa75eeb wil6210: prevent usage of tx ring 0 for eDMA
acf041edec0a wil6210: set edma variables only for Talyn-MB devices
be039c973093 wil6210: drop Rx multicast packets that are looped-back to STA
1b0581bf379f ath9k: fix tx99 with monitor mode interface
a618e2069783 ath10k: skip resetting rx filter for WCN3990
f7b2312c68a8 ALSA: seq: Do error checks at creating system ports
c2f459d3340f cfg80211: Avoid regulatory restore when COUNTRY_IE_IGNORE is set
d377d63a9228 extcon: cht-wc: Return from default case to avoid warnings
7575a34ed101 remoteproc/davinci: Use %zx for formating size_t
c2dca83e9e83 rtc: rv8803: fix the rv8803 id in the OF table
5a408693b414 rtc: sysfs: fix NULL check in rtc_add_groups()
a01d6a320440 ARM: dts: at91/trivial: Fix USART1 definition for at91sam9g45
ea6a25cd2d41 ARM: dts: rcar: Correct SATA device sizes to 2 MiB
32d3fe68d20e y2038: make do_gettimeofday() and get_seconds() inline
5a830803b593 arm64: dts: tegra210-p2180: Correct sdmmc4 vqmmc-supply
a124e7f2fecf soc/tegra: pmc: Fix pad voltage configuration for Tegra186
90cfef191a30 ALSA: pcm: signedness bug in snd_pcm_plug_alloc()
e84cb5882da6 arm64: dts: allwinner: a64: NanoPi-A64: Fix DCDC1 voltage
3bbce894d52d arm64: dts: allwinner: a64: Olinuxino: fix DRAM voltage
d304218f959e arm64: dts: allwinner: a64: Orange Pi Win: Fix SD card node
030f6397eb89 soundwire: intel: Fix uninitialized adev deref
4b4153b7d6af soundwire: Initialize completion for defer messages
38d1ecc23e3e clk: sunxi-ng: h6: fix PWM gate/reset offset
6c0fcc727ff0 iio: dac: mcp4922: fix error handling in mcp4922_write_raw
f125d1831402 ath10k: fix kernel panic by moving pci flush after napi_disable
75a600d7f062 tee: optee: take DT status property into account
cd3de5870c80 iio: adc: max9611: explicitly cast gain_selectors
a6bb63183de2 mmc: sdhci-of-at91: fix quirk2 overwrite
b4bc6498c39b mm: hugetlb: switch to css_tryget() in hugetlb_cgroup_charge_cgroup()
bb1bc2d8231c mm: memcg: switch to css_tryget() in get_mem_cgroup_from_mm()
653d9e0c55bf mm: mempolicy: fix the wrong return value and potential pages leak of mbind
5b1c342fc3e0 iommu/vt-d: Fix QI_DEV_IOTLB_PFSID and QI_DEV_EIOTLB_PFSID macros
29dcbbb5ab0a net: ethernet: dwmac-sun8i: Use the correct function in exit path
bdae2f7b2031 ecryptfs_lookup_interpose(): lower_dentry->d_parent is not stable either
beb3860c2e0e ecryptfs_lookup_interpose(): lower_dentry->d_inode is not stable
1a48aaabf1cd i2c: acpi: Force bus speed to 400KHz if a Silead touchscreen is present
9ace24bba657 IB/hfi1: Use a common pad buffer for 9B and 16B packets
6ec4a5498ee5 IB/hfi1: Ensure full Gen3 speed in a Gen4 system
1f3bbf9f0adc Input: synaptics-rmi4 - destroy F54 poller workqueue when removing
5c9fd709c5f5 Input: synaptics-rmi4 - clear IRQ enables for F54
fbe9849f79aa Input: synaptics-rmi4 - do not consume more data than we have (F11, F12)
924a8f2c745a Input: synaptics-rmi4 - disable the relative position IRQ in the F12 driver
8e347aa4e04b Input: synaptics-rmi4 - fix video buffer size
c02230815282 Input: ff-memless - kill timer in destroy()
47d06a15f25a Btrfs: fix log context list corruption after rename exchange operation
f2465526866a ALSA: usb-audio: Fix incorrect size check for processing/extension units
420433f6cf5c ALSA: usb-audio: Fix incorrect NULL check in create_yamaha_midi_quirk()
ab2ee4299b7e ALSA: usb-audio: not submit urb for stopped endpoint
a2c763cd9609 ALSA: usb-audio: Fix missing error check at mixer resolution test
edc471038b48 slip: Fix memory leak in slip_open error path
4cd50a31ac9e net: usb: qmi_wwan: add support for Foxconn T77W968 LTE modules
0a772b2ac696 net: gemini: add missed free_netdev
66daa05750a9 ipmr: Fix skb headroom in ipmr_get_route().
20beeb30083e ax88172a: fix information leak on short answers
c4a0f567e652 scsi: core: Handle drivers which set sg_tablesize to zero
81adf034d5d6 MIPS: BCM63XX: fix switch core reset on BCM6368
dbf1ef2dc0d5 KVM: x86: introduce is_pae_paging
(From OE-Core rev: fca2e866289cec99eaf65db4038d5473a34b7b57)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit 064811c18fe26c7d9bc84f86047325e25e2a1001)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 7e944cca62851689f9ddf8a5308ee3331f763957)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/4.19 to the latest korg -stable release that comprises
the following commits:
c555efaf1402 Linux 4.19.84
46a4a014c48e kvm: x86: mmu: Recovery of shattered NX large pages
6082f2e28887 kvm: Add helper function for creating VM worker threads
5219505fcbb6 kvm: mmu: ITLB_MULTIHIT mitigation
db77548b1652 KVM: vmx, svm: always run with EFER.NXE=1 when shadow paging is active
37dfbc8ba763 KVM: x86: add tracepoints around __direct_map and FNAME(fetch)
9ef1fae24d58 KVM: x86: change kvm_mmu_page_get_gfn BUG_ON to WARN_ON
b182093d1c70 KVM: x86: remove now unneeded hugepage gfn adjustment
e79234ce5765 KVM: x86: make FNAME(fetch) and __direct_map more similar
8aaac3068623 kvm: mmu: Do not release the page inside mmu_set_spte()
30d8d8d6cd92 kvm: Convert kvm_lock to a mutex
a991063ce576 kvm: x86, powerpc: do not allow clearing largepages debugfs entry
580c79e7e3e5 Documentation: Add ITLB_MULTIHIT documentation
db5ae6596ae2 cpu/speculation: Uninline and export CPU mitigations helpers
955607466ace x86/cpu: Add Tremont to the cpu vulnerability whitelist
f9aa6b73a407 x86/bugs: Add ITLB_MULTIHIT bug infrastructure
415bb221a070 x86/speculation/taa: Fix printing of TAA_MSG_SMT on IBRS_ALL CPUs
4ad7466ddf2d x86/tsx: Add config options to set tsx=on|off|auto
e3bf6b3ff55a x86/speculation/taa: Add documentation for TSX Async Abort
2402432d5557 x86/tsx: Add "auto" option to the tsx= cmdline parameter
a0808f06dfa1 kvm/x86: Export MDS_NO=0 to guests when TSX is enabled
15dfa5d706df x86/speculation/taa: Add sysfs reporting for TSX Async Abort
6c58ea8525bf x86/speculation/taa: Add mitigation for TSX Async Abort
b8eb348ae408 x86/cpu: Add a "tsx=" cmdline option with TSX disabled by default
37cf9ef900cc x86/cpu: Add a helper function x86_read_arch_cap_msr()
4002d16a2ae1 x86/msr: Add the IA32_TSX_CTRL MSR
dbf38b17a892 KVM: x86: use Intel speculation bugs and features as derived in generic x86 code
fee619bb8136 drm/i915/cmdparser: Fix jump whitelist clearing
255ed51599de drm/i915/gen8+: Add RC6 CTX corruption WA
011b7173cbdb drm/i915: Lower RM timeout to avoid DSI hard hangs
a7bda639a17f drm/i915/cmdparser: Ignore Length operands during command matching
6e53c71a6913 drm/i915/cmdparser: Add support for backward jumps
f27bc2b5950d drm/i915/cmdparser: Use explicit goto for error paths
cdd77c6b4be4 drm/i915: Add gen9 BCS cmdparsing
fea688c5dd81 drm/i915: Allow parsing of unsized batches
7ce726b61c57 drm/i915: Support ro ppgtt mapped cmdparser shadow buffers
fc3510fe6f6b drm/i915: Add support for mandatory cmdparsing
fba4207cf15e drm/i915: Remove Master tables from cmdparser
f1ff77080fa1 drm/i915: Disable Secure Batches for gen6+
b4b1abdc6b18 drm/i915: Rename gen7 cmdparser tables
e238e05ec2dc vsock/virtio: fix sock refcnt holding during the shutdown
2e7e3f16901d iio: imu: mpu6050: Fix FIFO layout for ICM20602
99ea48af7bd9 net: prevent load/store tearing on sk->sk_stamp
d32629dcd1e5 netfilter: ipset: Copy the right MAC address in hash:ip,mac IPv6 sets
5833560d54fd usbip: Fix free of unallocated memory in vhci tx
6890b4bc3d2b cgroup,writeback: don't switch wbs immediately on dead wbs if the memcg is dead
d3b3c0a14615 mm/filemap.c: don't initiate writeback if mapping has no dirty pages
285eb6af4351 iio: imu: inv_mpu6050: fix no data on MPU6050
d888a80727ab iio: imu: mpu6050: Add support for the ICM 20602 IMU
522128128dec blkcg: make blkcg_print_stat() print stats only for online blkgs
30b969392cf2 pinctrl: cherryview: Fix irq_valid_mask calculation
ca79bb7e1168 ocfs2: protect extent tree in ocfs2_prepare_inode_for_write()
2c655a111968 pinctrl: intel: Avoid potential glitches if pin is in GPIO mode
713adf6dd327 e1000: fix memory leaks
4a05571772cc igb: Fix constant media auto sense switching when no cable is connected
1baab8352d80 net: ethernet: arc: add the missed clk_disable_unprepare
24523745ed41 NFSv4: Don't allow a cached open with a revoked delegation
440a748ed6df usb: dwc3: gadget: fix race when disabling ep with cancelled xfers
e66f52eb3f29 hv_netvsc: Fix error handling in netvsc_attach()
99d5f18cebbf drm/amd/display: Passive DP->HDMI dongle detection fix
e5edbf9c45ce drm/amdgpu: If amdgpu_ib_schedule fails return back the error.
b651ddc15e7a iommu/amd: Apply the same IVRS IOAPIC workaround to Acer Aspire A315-41
214e4f0ecdd1 net: mscc: ocelot: refuse to overwrite the port's native vlan
5aedcc8aa8be net: mscc: ocelot: fix vlan_filtering when enslaving to bridge before link is up
3b956e63e2f3 net: hisilicon: Fix "Trying to free already-free IRQ"
f09b99c883e8 fjes: Handle workqueue allocation failure
6376736d016f nvme-multipath: fix possible io hang after ctrl reconnect
1372527e6876 scsi: qla2xxx: stop timer in shutdown path
f2bab3ed456c RDMA/hns: Prevent memory leaks of eq->buf_list
55ca08347487 RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case
e36be7959326 usbip: tools: Fix read_usb_vudc_device() error path handling
cd9561a53d26 USB: ldusb: use unsigned size format specifiers
c753113ae714 USB: Skip endpoints with 0 maxpacket length
ef38f4d123d0 perf/x86/uncore: Fix event group support
f14751658a01 perf/x86/amd/ibs: Handle erratum #420 only on the affected CPU family (10h)
5b99e97b275a perf/x86/amd/ibs: Fix reading of the IBS OpData register and thus precise RIP validity
45944c4a7743 usb: dwc3: remove the call trace of USBx_GFLADJ
dff38149cec4 usb: gadget: configfs: fix concurrent issue between composite APIs
10eb9abd21ba usb: dwc3: pci: prevent memory leak in dwc3_pci_probe
c73ccf65e169 usb: gadget: composite: Fix possible double free memory bug
26d31e1c3ab2 usb: gadget: udc: atmel: Fix interrupt storm in FIFO mode.
88912019b49c usb: fsl: Check memory resource before releasing it
3a2675a2d97a macsec: fix refcnt leak in module exit routine
0d0ca85ad424 bonding: fix unexpected IFF_BONDING bit unset
50e31318b525 ipvs: move old_secure_tcp into struct netns_ipvs
102f4078fbdd ipvs: don't ignore errors in case refcounting ip_vs module fails
81de0b500baa netfilter: nf_flow_table: set timeout before insertion into hashes
d45fc2ed472b scsi: qla2xxx: Initialized mailbox to prevent driver load failure
b6612a3dbad8 scsi: lpfc: Honor module parameter lpfc_use_adisc
4e80e5614770 net: openvswitch: free vport unless register_netdevice() succeeds
027253315d70 RDMA/uverbs: Prevent potential underflow
d582769add68 scsi: qla2xxx: fixup incorrect usage of host_byte
42de3a902443 net/mlx5: prevent memory leak in mlx5_fpga_conn_create_cq
7dfdcd9407f3 net/mlx5e: TX, Fix consumer index of error cqe dump
48dd71289ca3 RDMA/qedr: Fix reported firmware version
6208c2bfe224 iw_cxgb4: fix ECN check on the passive accept
89aa9e2626f4 RDMA/mlx5: Clear old rate limit when closing QP
d6706b2ec108 HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring()
113a154ef2f2 dmaengine: sprd: Fix the possible memory leak issue
6040f96d5147 dmaengine: xilinx_dma: Fix control reg update in vdma_channel_set_config
78e7e0248eb8 HID: google: add magnemite/masterball USB ids
8181146cd7de PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30
e2dd254bde5c usbip: Implement SG support to vhci-hcd and stub driver
f865ae473c16 usbip: Fix vhci_urb_enqueue() URB null transfer buffer error path
e9c0fc4a7ccd sched/fair: Fix -Wunused-but-set-variable warnings
502bd151448c sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices
4ebee4875eab ALSA: usb-audio: Fix copy&paste error in the validator
e0051889243d ALSA: usb-audio: remove some dead code
4f6c52002699 ALSA: usb-audio: Fix possible NULL dereference at create_yamaha_midi_quirk()
3a0cdf210b94 ALSA: usb-audio: Clean up check_input_term()
9feeaa50e5b4 ALSA: usb-audio: Remove superfluous bLength checks
f0e164f66e75 ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects
dae4d839e549 ALSA: usb-audio: Simplify parse_audio_unit()
17821e2fb167 ALSA: usb-audio: More validations of descriptor units
5e36cf8edb58 configfs: fix a deadlock in configfs_symlink()
0dfc45be875a configfs: provide exclusion between IO and removals
25c118d8d158 configfs: new object reprsenting tree fragments
65524d647e9d configfs_register_group() shouldn't be (and isn't) called in rmdirable parts
2bd63490c1dd configfs: stash the data we need into configfs_buffer at open time
a7be2debb769 can: peak_usb: fix slab info leak
ce9b94da0e04 can: mcba_usb: fix use-after-free on disconnect
5a9e37f2029f can: dev: add missing of_node_put() after calling of_get_child_by_name()
9289226f6982 can: gs_usb: gs_can_open(): prevent memory leak
9f5c59428843 can: rx-offload: can_rx_offload_queue_sorted(): fix error handling, avoid skb mem leak
ef502d5a84d6 can: peak_usb: fix a potential out-of-sync while decoding packets
7ae08111ca70 can: c_can: c_can_poll(): only read status register after status IRQ
0327c7818da2 can: flexcan: disable completely the ECC mechanism
46265660e5ba can: usb_8dev: fix use-after-free on disconnect
d8a76e300e37 SMB3: Fix persistent handles reconnect
caddaf43b024 x86/apic/32: Avoid bogus LDR warnings
dc1a91dc4917 intel_th: pci: Add Jasper Lake PCH support
f9d3aea1dca2 intel_th: pci: Add Comet Lake PCH support
64997ee49c8c netfilter: ipset: Fix an error code in ip_set_sockfn_get()
1b0e60f6a48b netfilter: nf_tables: Align nft_expr private data to 64-bit
2dae80b5b666 ARM: sunxi: Fix CPU powerdown on A83T
20b9e094dcd3 iio: srf04: fix wrong limitation in distance measuring
bee45b44b13e iio: imu: adis16480: make sure provided frequency is positive
a428996147e2 iio: adc: stm32-adc: fix stopping dma
78a1d6cdd302 ceph: add missing check in d_revalidate snapdir handling
6f9657793a6e ceph: fix use-after-free in __ceph_remove_cap()
3840610d60b2 arm64: Do not mask out PTE_RDONLY in pte_same()
56f270a1d72c soundwire: bus: set initial value to port_status
9a06efc745c3 soundwire: depend on ACPI
a81a4637456b HID: wacom: generic: Treat serial number and related fields as unsigned
e3fdd0c1a3d0 drm/radeon: fix si_enable_smc_cac() failed issue
f39fbd05f921 perf tools: Fix time sorting
66d53cd683a8 tools: gpio: Use !building_out_of_srctree to determine srctree
8e358a027611 dump_stack: avoid the livelock of the dump_lock
6c944fc51f0a mm, vmstat: hide /proc/pagetypeinfo from normal users
2686f71fdcc5 mm: thp: handle page cache THP correctly in PageTransCompoundMap
7dfa51beacac mm, meminit: recalculate pcpu batch and high limits after init completes
8e6bf4bc3a88 mm: memcontrol: fix network errors from failing __GFP_ATOMIC charges
6ecc16351a84 ALSA: hda/ca0132 - Fix possible workqueue stall
6921b1609912 ALSA: bebob: fix to detect configured source of sampling clock for Focusrite Saffire Pro i/o series
b85472244b70 ALSA: timer: Fix incorrectly assigned timer instance
107451b87ea5 net: hns: Fix the stray netpoll locks causing deadlock in NAPI path
26e398dcb3f1 ipv6: fixes rt6_probe() and fib6_nh->last_probe init
05b761423d67 net: mscc: ocelot: fix NULL pointer on LAG slave removal
1cfc967ef584 net: mscc: ocelot: don't handle netdev events for other netdevs
a6fdbaeef1f2 qede: fix NULL pointer deref in __qede_remove()
956b38853517 NFC: st21nfca: fix double free
1143496c9632 nfc: netlink: fix double device reference drop
760a1f7f22ee NFC: fdp: fix incorrect free object
5580091ce7d9 net: usb: qmi_wwan: add support for DW5821e with eSIM support
4fd218071f21 net: qualcomm: rmnet: Fix potential UAF when unregistering
b9bda52f8f3e net: fix data-race in neigh_event_send()
2fbfdb2de4a1 net: ethernet: octeon_mgmt: Account for second possible VLAN header
88f8c39912bc ipv4: Fix table id reference in fib_sync_down_addr
0ddabef89067 CDC-NCM: handle incomplete transfer of MTU
27b5f4bf5ba9 bonding: fix state transition issue in link monitoring
7d8dbefc22ff Linux 4.19.83
818c96ac80be usb: gadget: udc: core: Fix segfault if udc_bind_to_driver() for pending driver fails
b06f37eaa2b3 arm64: dts: ti: k3-am65-main: Fix gic-its node unit-address
54ee5ccd0251 ASoC: pcm3168a: The codec does not support S32_LE
3ddf2a70cf6d selftests/powerpc: Fix compile error on tlbie_test due to newer gcc
e7aaa8dd60c5 selftests/powerpc: Add test case for tlbie vs mtpidr ordering issue
ec199b24aa5c powerpc/mm: Fixup tlbie vs mtpidr/mtlpidr ordering issue on POWER9
06e8438eddf8 platform/x86: pmc_atom: Add Siemens SIMATIC IPC227E to critclk_systems DMI table
2d830cf287a5 wireless: Skip directory when generating certificates
558d2bdad5f6 net/flow_dissector: switch to siphash
f6ef35998fb0 r8152: add device id for Lenovo ThinkPad USB-C Dock Gen 2
c33f7efec3b3 net: dsa: fix switch tree list
6b5bf3f37f72 net: usb: lan78xx: Connect PHY before registering MAC
07c62fc7bf28 net: bcmgenet: reset 40nm EPHY on energy detect
6d3ccc2a5b19 net: phy: bcm7xxx: define soft_reset for 40nm EPHY
97cc6827f418 net: bcmgenet: don't set phydev->link from MAC
57e286f67554 net: dsa: b53: Do not clear existing mirrored port mask
db91be8e27c8 net/mlx5e: Fix ethtool self test: link speed
5eb1967bfde3 r8169: fix wrong PHY ID issue with RTL8168dp
9e7c4fa275cf net/mlx5e: Fix handling of compressed CQEs in case of low NAPI budget
0c3355cc8e19 selftests: fib_tests: add more tests for metric update
b166e8838a97 ipv4: fix route update on metric change.
cd3bcb44ee3b net: add READ_ONCE() annotation in __skb_wait_for_more_packets()
4f3df7f1eaa7 net: use skb_queue_empty_lockless() in busy poll contexts
eaf548feaa17 net: use skb_queue_empty_lockless() in poll() handlers
afa1f5e98c11 udp: use skb_queue_empty_lockless()
d5ac4232c376 net: add skb_queue_empty_lockless()
83532eb48049 vxlan: check tun_info options_len properly
a8a5adbbf779 udp: fix data-race in udp_set_dev_scratch()
12fab1634ab1 selftests: net: reuseport_dualstack: fix uninitalized parameter
321c99155f4b net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol()
9da271c1cdc1 net: usb: lan78xx: Disable interrupts before calling generic_handle_irq()
40400fdd312a netns: fix GFP flags in rtnl_net_notifyid()
1d72dbb4ca2f net/mlx4_core: Dynamically set guaranteed amount of counters per VF
f05975d9f393 net: hisilicon: Fix ping latency when deal with high throughput
1d5cb12a2539 net: fix sk_page_frag() recursion from memory reclaim
189982d111c0 net: ethernet: ftgmac100: Fix DMA coherency issue with SW checksum
5536fc891221 net: dsa: bcm_sf2: Fix IMP setup for port different than 8
2c50a36d0b78 net: annotate lockless accesses to sk->sk_napi_id
0cfaf03c5d58 net: annotate accesses to sk->sk_incoming_cpu
07de738901d6 inet: stop leaking jiffies on the wire
163901dc945b erspan: fix the tun_info options_len check for erspan
96df1ec22b97 dccp: do not leak jiffies on the wire
f291613ff140 cxgb4: fix panic when attaching to ULD fail
1f032ca298dd nbd: handle racing with error'ed out commands
82b7c99ee141 nbd: protect cmd->status with cmd->lock
80b42f4381c2 cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs
a7448991fa3e i2c: stm32f7: remove warning when compiling with W=1
86fd9e339ab4 i2c: stm32f7: fix a race in slave mode with arbitration loss irq
d746ce649556 i2c: stm32f7: fix first byte to send in slave mode
18e7fae372a1 irqchip/gic-v3-its: Use the exact ITSList for VMOVP
39637aafa173 MIPS: bmips: mark exception vectors as char arrays
fcc3f7c810c3 of: unittest: fix memory leak in unittest_data_add
c56b9da70d09 ARM: 8926/1: v7m: remove register save to stack before svc
fa18f803d1f7 tracing: Fix "gfp_t" format for synthetic events
63571a1f375e scsi: target: core: Do not overwrite CDB byte 1
1df8da335d40 drm/amdgpu: fix potential VM faults
3cd2b6492cde ARM: davinci: dm365: Fix McBSP dma_slave_map entry
e18bf407ea3f perf kmem: Fix memory leak in compact_gfp_flags()
05dd6283b8fc 8250-men-mcb: fix error checking when get_num_ports returns -ENODEV
81809424cad7 perf c2c: Fix memory leak in build_cl_output()
7a79420034e0 ARM: dts: imx7s: Correct GPT's ipg clock source
e601e103cfed scsi: fix kconfig dependency warning related to 53C700_LE_ON_BE
3dd0be3eeeb0 scsi: sni_53c710: fix compilation error
cf372c60ed13 scsi: scsi_dh_alua: handle RTPG sense code correctly during state transitions
3ee6a8bdae81 scsi: qla2xxx: fix a potential NULL pointer dereference
9d27ba401eca ARM: mm: fix alignment handler faults under memory pressure
f0eabc9e9acb pinctrl: ns2: Fix off by one bugs in ns2_pinmux_enable()
9a5d5ffb3245 ARM: dts: logicpd-torpedo-som: Remove twl_keypad
d7e2a8e271aa ASoc: rockchip: i2s: Fix RPM imbalance
513474f59001 ASoC: wm_adsp: Don't generate kcontrols without READ flags
bab5c14b5c89 regulator: pfuze100-regulator: Variable "val" in pfuze100_regulator_probe() could be uninitialized
6ef17b446081 ASoC: rt5682: add NULL handler to set_jack function
772c18df9f3d regulator: ti-abb: Fix timeout in ti_abb_wait_txdone/ti_abb_clear_all_txdone
c4c0e64deb9a arm64: dts: Fix gpio to pinmux mapping
0d3aef1ea7e8 arm64: dts: allwinner: a64: sopine-baseboard: Add PHY regulator delay
a3a208ac4608 arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay
dc24ac36f304 ASoC: wm8994: Do not register inapplicable controls for WM1811
0f037d0a62b0 regulator: of: fix suspend-min/max-voltage parsing
b17eae5a0e16 kbuild: add -fcf-protection=none when using retpoline flags
5ee93551c703 Linux 4.19.82
914a7d429da5 Revert "ALSA: hda: Flush interrupts on disabling"
8f5603029223 powerpc/powernv: Fix CPU idle to be called with IRQs disabled
92930e922399 ALSA: usb-audio: Add DSD support for Gustard U16/X26 USB Interface
c08182dbf057 ALSA: usb-audio: Update DSD support quirks for Oppo and Rotel
d8808d2e79b5 ALSA: usb-audio: DSD auto-detection for Playback Designs
831317430693 ALSA: timer: Fix mutex deadlock at releasing card
145fadf6d99a ALSA: timer: Simplify error path in snd_timer_open()
a6c91087f5d5 sch_netem: fix rcu splat in netem_enqueue()
3ecf8529d52a net: usb: sr9800: fix uninitialized local variable
14a703ef2dc4 bonding: fix potential NULL deref in bond_update_slave_arr
24aaf7f4528f NFC: pn533: fix use-after-free and memleaks
8d9c4a9b8677 rxrpc: Fix trace-after-put looking at the put peer record
e8e51ce79c15 rxrpc: rxrpc_peer needs to hold a ref on the rxrpc_local record
570ab0dd35f9 rxrpc: Fix call ref leak
d634bd01b3a0 llc: fix sk_buff leak in llc_conn_service()
3f3f7409f028 llc: fix sk_buff leak in llc_sap_state_process()
948e8eba656f batman-adv: Avoid free/alloc race when handling OGM buffer
74001646d47c NFS: Fix an RCU lock leak in nfs4_refresh_delegation_stateid()
fd9a708c7bde drm/amdgpu/powerplay/vega10: allow undervolting in p7
3e285a5c1401 dmaengine: cppi41: Fix cppi41_dma_prep_slave_sg() when idle
a0e406be17e5 dmaengine: qcom: bam_dma: Fix resource leak
64efcbc7a5a3 rtlwifi: Fix potential overflow on P2P code
a81669161528 arm64: Ensure VM_WRITE|VM_SHARED ptes are clean by default
8dd6066066a2 s390/idle: fix cpu idle time calculation
ced8cb0230d0 s390/cmm: fix information leak in cmm_timeout_handler()
be87ee689106 nl80211: fix validation of mesh path nexthop
14e0dd84db60 HID: fix error message in hid_open_report()
8a01c4b908cf HID: Fix assumption that devices have inputs
cf143d65c556 HID: i2c-hid: add Trekstor Primebook C11B to descriptor override
6608702bec70 scsi: target: cxgbit: Fix cxgbit_fw4_ack()
45e7acdff38e USB: serial: whiteheat: fix line-speed endianness
b7ad5aa67058 USB: serial: whiteheat: fix potential slab corruption
36e02e1fba89 usb: xhci: fix __le32/__le64 accessors in debugfs code
8e2cccd6c5d1 USB: ldusb: fix control-message timeout
3f1a7d903b8d USB: ldusb: fix ring-buffer locking
f1b94b60bb1c usb-storage: Revert commit 747668dbc061 ("usb-storage: Set virt_boundary_mask to avoid SG overflows")
d1c188d330ca USB: gadget: Reject endpoints with 0 maxpacket value
ceb6b658f0bd UAS: Revert commit 3ae62a42090f ("UAS: fix alignment of scatter/gather segments")
a58cdc35d3a0 ALSA: hda/realtek - Add support for ALC623
101bb262ba43 ALSA: hda/realtek - Fix 2 front mics of codec 0x623
3ae205d7a0a2 ALSA: bebob: Fix prototype of helper function to return negative value
62e42369de37 fuse: truncate pending writes on O_TRUNC
72c913fdde9d fuse: flush dirty data/metadata before non-truncate setattr
696da0225946 ath6kl: fix a NULL-ptr-deref bug in ath6kl_usb_alloc_urb_from_pipe()
1a124f16b594 thunderbolt: Use 32-bit writes when writing ring producer/consumer
f2cc221b6515 USB: legousbtower: fix a signedness bug in tower_probe()
083322455c67 nbd: verify socket is supported during setup
e0064f8de3f5 iwlwifi: exclude GEO SAR support for 3168
5a445f805afc ALSA: hda/realtek: Reduce the Headphone static noise on XPS 9350/9360
ce005e5d6e9f ARM: 8914/1: NOMMU: Fix exc_ret for XIP
394c90d9ce13 tracing: Initialize iter->seq after zeroing in tracing_read_pipe()
12e132664f92 s390/uaccess: avoid (false positive) compiler warnings
da24be886ff6 NFSv4: Fix leak of clp->cl_acceptor string
cad4448dfc9c nbd: fix possible sysfs duplicate warning
c2ea451f22f1 virt: vbox: fix memory leak in hgcm_call_preprocess_linaddr
5865397db6c3 MIPS: fw: sni: Fix out of bounds init of o32 stack
317b6f68abb1 MIPS: include: Mark __xchg as __always_inline
4a4206a83fc6 iio: imu: adis16400: release allocated memory on failure
f2824a020746 drm/amdgpu: fix memory leak
a1112c465593 perf/x86/amd: Change/fix NMI latency mitigation to use a timestamp
2cd003a820fe sched/vtime: Fix guest/system mis-accounting on task switch
58d33d4a4a1d x86/cpu: Add Comet Lake to the Intel CPU models header
6258745b311b arm64: armv8_deprecated: Checking return value for memory allocation
c3689876f5b9 fs: ocfs2: fix a possible null-pointer dereference in ocfs2_info_scan_inode_alloc()
4de544b42c7a fs: ocfs2: fix a possible null-pointer dereference in ocfs2_write_end_nolock()
c18d86047622 fs: ocfs2: fix possible null-pointer dereferences in ocfs2_xa_prepare_entry()
2141f777e6e1 ocfs2: clear zero in unaligned direct IO
af140367ae66 x86/xen: Return from panic notifier
0169198631e7 MIPS: include: Mark __cmpxchg as __always_inline
9b7591cf6cf6 efi/x86: Do not clean dummy variable in kexec path
318885aa154d efi/cper: Fix endianness of PCIe class code
02c1fb11b6a0 serial: mctrl_gpio: Check for NULL pointer
497fd98a50b2 fs: cifs: mute -Wunused-const-variable message
579249a08348 gpio: max77620: Use correct unit for debounce times
7f3306a3b2df tty: n_hdlc: fix build on SPARC
14a4689f8847 tty: serial: owl: Fix the link time qualifier of 'owl_uart_exit()'
d21a5d4a7339 arm64: ftrace: Ensure synchronisation in PLT setup for Neoverse-N1 #1542419
ca2cc4b47d01 nfs: Fix nfsi->nrequests count error on nfs_inode_remove_request
aeb242943505 HID: hyperv: Use in-place iterator API in the channel callback
9c75c230ded2 RDMA/iwcm: Fix a lock inversion issue
962cff4f3f89 RDMA/hfi1: Prevent memory leak in sdma_init
dfc1daba843b staging: rtl8188eu: fix null dereference when kzalloc fails
3545c018d0c3 perf annotate: Return appropriate error code for allocation failures
f8304a9310c3 perf annotate: Propagate the symbol__annotate() error return
4e2ca0c9143c perf annotate: Fix the signedness of failure returns
ec783e28e72d perf annotate: Propagate perf_env__arch() error
f0ba7ab26bfc perf tools: Propagate get_cpuid() error
c022c7f6171e perf jevents: Fix period for Intel fixed counters
5ecf35ed5d17 perf script brstackinsn: Fix recovery from LBR/binary mismatch
262ed71096ba perf map: Fix overlapped map handling
d975e5970965 perf tests: Avoid raising SEGV using an obvious NULL dereference
e3dc77d662ca libsubcmd: Make _FORTIFY_SOURCE defines dependent on the feature
915eb63dac7b iio: fix center temperature of bmc150-accel-core
78e6415d4f9a iio: adc: meson_saradc: Fix memory allocation order
1b6901f3c600 power: supply: max14656: fix potential use-after-free
a0d8a590d983 drm/amd/display: fix odm combine pipe reset
a897f54e921c PCI/PME: Fix possible use-after-free on remove
0e23eeb0fc58 net: dsa: mv88e6xxx: Release lock while requesting IRQ
646e5c77b418 exec: load_script: Do not exec truncated interpreter path
f251c83d6c08 ext4: disallow files with EXT4_JOURNAL_DATA_FL from EXT4_IOC_SWAP_BOOT
cc4d8283f6e9 media: vimc: Remove unused but set variables
c629fed0347e ALSA: hda/realtek - Apply ALC294 hp init also for S4 resume
b73132b74d25 cifs: add credits from unmatched responses/messages
ee4d28a716e8 CIFS: Respect SMB2 hdr preamble size in read responses
2a2022688a91 scsi: lpfc: Correct localport timeout duration error
1df87fc5e468 mlxsw: spectrum: Set LAG port collector only when active
e32271519bb9 arm64: kpti: Whitelist HiSilicon Taishan v110 CPUs
6021dd86ca38 arm64: Add MIDR encoding for HiSilicon Taishan CPUs
9190141529fb rtc: pcf8523: set xtal load capacitance from DT
961ba81d08d8 usb: handle warm-reset port requests on hub resume
3a77562e18bf ALSA: usb-audio: Cleanup DSD whitelist
a0608eec296d usb: dwc3: gadget: clear DWC3_EP_TRANSFER_STARTED on cmd complete
d0e8b35e915e usb: dwc3: gadget: early giveback if End Transfer already completed
335d4f818246 samples: bpf: fix: seg fault with NULL pointer arg
c41f30e8d233 HID: steam: fix deadlock with input devices.
4c8ae7221bcc HID: steam: fix boot loop with bluetooth firmware
ce05beb3b402 NFSv4: Ensure that the state manager exits the loop on SIGKILL
952b0285826e HID: Add ASUS T100CHI keyboard dock battery quirks
24ec7c1b9b17 staging: mt7621-pinctrl: use pinconf-generic for 'dt_node_to_map' and 'dt_free_map'
b064e272023c scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks
9aafa2996921 clk: boston: unregister clks on failure in clk_boston_setup()
1ba6488775f1 ath10k: assign 'n_cipher_suites = 11' for WCN3990 to enable WPA3
a6af54d4ad0d platform/x86: Fix config space access for intel_atomisp2_pm
8694ceba9338 platform/x86: Add the VLV ISP PCI ID to atomisp2_pm
8c1b1d3c7593 HID: i2c-hid: Add Odys Winbook 13 to descriptor override
3db3961160f6 HID: i2c-hid: Ignore input report if there's no data present on Elan touchpanels
e0bcac994ad8 HID: i2c-hid: Disable runtime PM for LG touchscreen
d8187ff32b23 netfilter: ipset: Make invalid MAC address checks consistent
cb38a17cc880 Btrfs: fix deadlock on tree root leaf when finding free extent
33970cf511c8 PCI: Fix Switchtec DMA aliasing quirk dmesg noise
437de04184bc bcache: fix input overflow to writeback_rate_minimum
be488566ef2f drm/msm/dpu: handle failures while initializing displays
b5b3bb03c372 x86/cpu: Add Atom Tremont (Jacobsville)
ab0888699734 tools/power turbostat: fix goldmont C-state limit decoding
4da8b5f8a71d usb: dwc2: fix unbalanced use of external vbus-supply
649ee6f0c677 HID: i2c-hid: add Direkt-Tek DTLAPY133-1 to descriptor override
ce43554395a3 f2fs: fix to recover inode->i_flags of inode block during POR
b619de076f9c f2fs: fix to recover inode's i_gc_failures during POR
23848022460f powerpc/powernv: hold device_hotplug_lock when calling memtrace_offline_pages()
bff91a961a05 sc16is7xx: Fix for "Unexpected interrupt: 8"
157c391babd7 scsi: lpfc: Fix a duplicate 0711 log message number.
6b2fbfacd74b f2fs: flush quota blocks after turnning it off
e5641f02dc9e wil6210: fix freeing of rx buffers in EDMA mode
d8ab4185ea55 btrfs: tracepoints: Fix wrong parameter order for qgroup events
6bcbe35027e2 btrfs: qgroup: Always free PREALLOC META reserve in btrfs_delalloc_release_extents()
96b9b94647b0 Btrfs: fix memory leak due to concurrent append writes with fiemap
692aa7d55ff8 Btrfs: fix inode cache block reserve leak on failure to allocate data space
a8afda7774a3 dm snapshot: rework COW throttling to fix deadlock
223f1af69da8 dm snapshot: introduce account_start_copy() and account_end_copy()
0ca37291020e zram: fix race between backing_dev_show and backing_dev_store
ef244c308885 Linux 4.19.81
27414f90ff6e RDMA/cxgb4: Do not dma memory off of the stack
054441182b51 blk-rq-qos: fix first node deletion of rq_qos_del()
2ada40308a0d PCI: PM: Fix pci_power_up()
ccb02adf3293 xen/netback: fix error path of xenvif_connect_data()
89ab39da1452 cpufreq: Avoid cpufreq_suspend() deadlock on system shutdown
5f19cbb3ab3f memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()'
0b95aaae783f btrfs: tracepoints: Fix bad entry members of qgroup events
1b921b5bc47f Btrfs: check for the full sync flag while holding the inode lock during fsync
ac6bae2b524d Btrfs: add missing extents release on file extent cluster relocation error
6cd5be9832eb btrfs: block-group: Fix a memory leak due to missing btrfs_put_block_group()
a5a10f7800ed pinctrl: armada-37xx: swap polarity on LED group
e0e489aa5bd0 pinctrl: armada-37xx: fix control of pins 32 and up
5e9d71802ddc pinctrl: cherryview: restore Strago DMI workaround for all versions
4dedaa73c4c4 x86/apic/x2apic: Fix a NULL pointer deref when handling a dying cpu
1709917289cd x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel area
e49c84c51c3a dm cache: fix bugs when a GFP_NOWAIT allocation fails
5ce7528c4d4a tracing: Fix race in perf_trace_buf initialization
96202569b9fe perf/aux: Fix AUX output stopping
01332b037066 CIFS: Fix use after free of file info structures
71cf88165ff0 CIFS: avoid using MID 0xFFFF
4292745536d2 arm64: Enable workaround for Cavium TX2 erratum 219 when running SMT
d97e4a6d2b2f EDAC/ghes: Fix Use after free in ghes_edac remove path
ca65fe21981b parisc: Fix vmap memory leak in ioremap()/iounmap()
19e2ed7bfabe xtensa: drop EXPORT_SYMBOL for outs*/ins*
30cff8ab6ed7 mm/memory-failure: poison read receives SIGKILL instead of SIGBUS if mmaped more than once
91eec7692b94 hugetlbfs: don't access uninitialized memmaps in pfn_range_valid_gigantic()
f712e3066f75 mm/page_owner: don't access uninitialized memmaps when reading /proc/pagetypeinfo
bb6932c5a473 mm/slub: fix a deadlock in show_slab_objects()
9792afbd630b mm/memory-failure.c: don't access uninitialized memmaps in memory_failure()
01a44055a48a mmc: cqhci: Commit descriptors before setting the doorbell
6ea856efef9f fs/proc/page.c: don't access uninitialized memmaps in fs/proc/page.c
43a2a6c2f0fb drivers/base/memory.c: don't access uninitialized memmaps in soft_offline_page_store()
4d5307c099af drm/amdgpu: Bail earlier when amdgpu.cik_/si_support is not set to 1
11377c3e997e drm/ttm: Restore ttm prefaulting
33af2a8ee304 drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50
24ca62892032 mac80211: Reject malformed SSID elements
73c066a9552a cfg80211: wext: avoid copying malformed SSIDs
83dc16707f6d ACPI: CPPC: Set pcc_data[pcc_ss_id] to NULL in acpi_cppc_processor_exit()
8e367b029e61 ASoC: rsnd: Reinitialize bit clock inversion flag for every format setting
b0dd6a24255e Input: synaptics-rmi4 - avoid processing unknown IRQs
aa9402c14df6 Input: da9063 - fix capability and drop KEY_SLEEP
e254d4359259 scsi: ch: Make it possible to open a ch device multiple times again
0c6905197c5b scsi: core: try to get module before removing device
2a675e73dfec scsi: core: save/restore command resid for error handling
0cea86f270e9 scsi: sd: Ignore a failure to sync cache due to lack of authorization
3638ccda1009 scsi: zfcp: fix reaction on bit error threshold notification
d07c028d2bc9 staging: wlan-ng: fix exit return when sme->key_idx >= NUM_WEPKEYS
4034a5030589 MIPS: tlbex: Fix build_restore_pagemask KScratch restore
9f7e157464cd USB: ldusb: fix read info leaks
3b73a0e453bd USB: usblp: fix use-after-free on disconnect
28ab2c5f5899 USB: ldusb: fix memleak on disconnect
edd3e9c71cc8 USB: serial: ti_usb_3410_5052: fix port-close races
068fcbe895cd usb: udc: lpc32xx: fix bad bit shift operation
7ed43d2eb0ec ALSA: hda - Force runtime PM on Nvidia HDMI codecs
7dda74810c9a ALSA: usb-audio: Disable quirks for BOSS Katana amplifiers
6c8a9a46ec57 ALSA: hda/realtek - Enable headset mic on Asus MJ401TA
30a83eb0a09d ALSA: hda/realtek - Add support for ALC711
5366778bf0ed USB: legousbtower: fix memleak on disconnect
99b45e7a1ba1 memfd: Fix locking when tagging pins
2770f80afde7 sctp: change sctp_prot .no_autobind with true
cd8c21ca7022 net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow
da4f0aed87d5 net: ipv6: fix listify ip6_rcv_finish in case of forwarding
cc2d858b3f73 net/ibmvnic: Fix EOI when running in XIVE mode.
3f9d4e3c2954 net: i82596: fix dma_alloc_attr for sni_82596
da0baae9a725 net: bcmgenet: Set phydev->dev_flags only for internal PHYs
c0f5839a483f net: bcmgenet: Fix RGMII_MODE_EN value for GENET v1/2/3
16d67acad815 net: avoid potential infinite loop in tc_ctl_action()
2fa80e64de33 ipv4: Return -ENETUNREACH if we can't create route but saddr is valid
2ec0df4e3fee ipv4: fix race condition between route lookup and invalidation
0d3ad773b445 ocfs2: fix panic due to ocfs2_wq is null
0933b0db7fb2 Revert "drm/radeon: Fix EEH during kexec"
9457994a53d1 md/raid0: fix warning message for parameter default_layout
51f0c10890aa libata/ahci: Fix PCS quirk application
9bc5a4db9aa9 namespace: fix namespace.pl script to support relative paths
6acbcd1429f1 r8152: Set macpassthru in reset_resume callback
0cb5c7b06a0a lib: textsearch: fix escapes in example code
50699af3609c net: hisilicon: Fix usage of uninitialized variable in function mdio_sc_cfg_reg_write()
db1e664e2d80 mips: Loongson: Fix the link time qualifier of 'serial_exit()'
b43bf6b10344 net: dsa: rtl8366rb: add missing of_node_put after calling of_get_child_by_name
a16a9c10b2b0 netfilter: nft_connlimit: disable bh on garbage collection
13104599d07f mac80211: fix txq null pointer dereference
09c5a5bb0f26 nl80211: fix null pointer dereference
90a886b68faa xen/efi: Set nonblocking callbacks
5d880444955e MIPS: dts: ar9331: fix interrupt-controller size
6d0da953bd8e net: dsa: qca8k: Use up to 7 ports for all operations
1cd24f5edab8 ARM: dts: am4372: Set memory bandwidth limit for DISPC
960019214539 ieee802154: ca8210: prevent memory leak
ec3817c62ede ARM: OMAP2+: Fix warnings with broken omap2_set_init_voltage()
a23cd06c2cd2 ARM: OMAP2+: Fix missing reset done flag for am3 and am43
fcff55e25593 scsi: qla2xxx: Fix unbound sleep in fcport delete path.
c3d475c7d9b9 scsi: megaraid: disable device when probe failed after enabled device
c6d91bd3fa35 scsi: ufs: skip shutdown if hba is not powered
db783e05df55 nvme-pci: Fix a race in controller removal
c3038e718a19 Linux 4.19.80
0603d82bcae4 perf/hw_breakpoint: Fix arch_hw_breakpoint use-before-initialization
91849adc9f90 PCI: vmd: Fix config addressing when using bus offsets
cd4b60e57a7a x86/asm: Fix MWAITX C-state hint value
99ada52ce213 hwmon: Fix HWMON_P_MIN_ALARM mask
b9040fab5f36 tracing: Get trace_array reference for available_tracers files
a6c9fb2c2ce4 ftrace: Get a reference counter for the trace_array on filter files
b7f758631d69 tracing/hwlat: Don't ignore outer-loop duration when calculating max_latency
6271cbff9309 tracing/hwlat: Report total time spent in all NMIs during the sample
3766c9d9c47c arm64/sve: Fix wrong free for task->thread.sve_state
6f64aa703c0c media: stkwebcam: fix runtime PM after driver unbind
664ec2db3b1f Fix the locking in dcache_readdir() and friends
a64241ba496c arm64: topology: Use PPTT to determine if PE is a thread
b098a4cd99ff ACPI/PPTT: Add support for ACPI 6.3 thread flag
a73306414fcd ACPICA: ACPI 6.3: PPTT add additional fields in Processor Structure Flags
34ab38cd8098 MIPS: elf_hwcap: Export userspace ASEs
aaa81d9e6523 MIPS: Disable Loongson MMI instructions for kernel build
e9360f393d7b NFS: Fix O_DIRECT accounting of number of bytes read/written
e0805d7f7f1b btrfs: fix uninitialized ret in ref-verify
f7313de46e46 btrfs: fix incorrect updating of log root tree
a8de7090805d cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a panic
f6c715708fb8 iio: adc: stm32-adc: fix a race when using several adcs with dma and irq
a9968a4d6399 iio: adc: stm32-adc: move registers definitions
410ab742a503 gpiolib: don't clear FLAG_IS_OUT when emulating open-drain/open-source
b41013b51870 firmware: google: increment VPD key_len properly
491a39dcee44 mm/vmpressure.c: fix a signedness bug in vmpressure_register_event()
7bbe6eefdbb3 kernel/sysctl.c: do not override max_threads provided by userspace
230b339a7c75 CIFS: Force reval dentry if LOOKUP_REVAL flag is set
0bc78de461b4 CIFS: Force revalidate inode when dentry is stale
d72c2115108f CIFS: Gracefully handle QueryInfo errors during open
345c03a0defb blk-wbt: fix performance regression in wbt scale_up/scale_down
d855a5f2dec7 perf inject jit: Fix JIT_CODE_MOVE filename
47a4e4decddd perf llvm: Don't access out-of-scope array
ee7ee6cfc3af efivar/ssdt: Don't iterate over EFI vars if no SSDT override was specified
c9a182ddf2d4 iio: light: opt3001: fix mutex unlock race
811616a6400d iio: adc: axp288: Override TS pin bias current for some models
99757b1d9c17 iio: adc: ad799x: fix probe error handling
2cb6f0417ee1 iio: adc: hx711: fix bug in sampling of data
2f9a82e2d2e6 staging: vt6655: Fix memory leak in vt6655_probe
df455ed36901 Staging: fbtft: fix memory leak in fbtft_framebuffer_alloc
d58d477c5852 gpio: eic: sprd: Fix the incorrect EIC offset when toggling
ce20fd3e1530 mei: avoid FW version request on Ibex Peak and earlier
d7e57796b6c0 mei: me: add comet point (lake) LP device ids
f931791751d3 USB: legousbtower: fix use-after-free on release
e3f445666f51 USB: legousbtower: fix open after failed reset request
99c0c615ff98 USB: legousbtower: fix potential NULL-deref on disconnect
fe471bf16720 USB: legousbtower: fix deadlock on disconnect
4fde6c982393 USB: legousbtower: fix slab info leak at probe
dff3bc5edcf6 usb: renesas_usbhs: gadget: Fix usb_ep_set_{halt,wedge}() behavior
55efffb294d2 usb: renesas_usbhs: gadget: Do not discard queues in usb_ep_set_{halt,wedge}()
3b089cef3cc1 USB: dummy-hcd: fix power budget for SuperSpeed mode
ab8d87d14d82 USB: microtek: fix info-leak at probe
0f14e44ebc0e USB: usblcd: fix I/O after disconnect
58c2b4c5610d USB: serial: fix runtime PM after driver unbind
8dcda04939fd USB: serial: option: add support for Cinterion CLS8 devices
f7ab1c54c1a4 USB: serial: option: add Telit FN980 compositions
13b0420eb2ea USB: serial: ftdi_sio: add device IDs for Sienna and Echelon PL-20
a463d20a5772 USB: serial: keyspan: fix NULL-derefs on open() and write()
21917fcb05d1 serial: uartlite: fix exit path null pointer
0c999b4b00db USB: ldusb: fix NULL-derefs on driver unbind
39fe586c4069 USB: chaoskey: fix use-after-free on release
2f2b039530ea USB: usblp: fix runtime PM after driver unbind
2095532522d1 USB: iowarrior: fix use-after-free after driver unbind
7f93c8c89541 USB: iowarrior: fix use-after-free on release
2fdcf7e19bde USB: iowarrior: fix use-after-free on disconnect
ab162d331cc1 USB: adutux: fix use-after-free on release
ca9c18c00a95 USB: adutux: fix NULL-derefs on disconnect
316f51d77597 USB: adutux: fix use-after-free on disconnect
ea7255663398 xhci: Increase STS_SAVE timeout in xhci_suspend()
cbc5abaa6f30 xhci: Prevent deadlock when xhci adapter breaks during init
fde058a17c18 usb: xhci: wait for CNR controller not ready bit in xhci resume
13e793da4f70 xhci: Fix USB 3.1 capability detection on early xHCI 1.1 spec based hosts
d6bdd4686ffc xhci: Check all endpoints for LPM timeout
faa0502a5be5 xhci: Prevent device initiated U1/U2 link pm if exit latency is too long
077855ba2df2 xhci: Fix false warning message about wrong bounce buffer write length
31604075ceb4 USB: usb-skeleton: fix NULL-deref on disconnect
dcabc48fe0ac USB: usb-skeleton: fix runtime PM after driver unbind
571a14063619 USB: yurex: fix NULL-derefs on disconnect
a8fe336f20b9 USB: yurex: Don't retry on unexpected errors
86575b7f636f USB: rio500: Remove Rio 500 kernel driver
95bcc0d980ae f2fs: use EINVAL for superblock with invalid magic
7d1688c6731b panic: ensure preemption is disabled during panic()
dafd634415a7 Linux 4.19.79
1bd17a737c9e nl80211: validate beacon head
527ba5d7634b cfg80211: Use const more consistently in for_each_element macros
ad180cace853 cfg80211: add and use strongly typed element iteration macros
3dab5ba6d7ae staging: erofs: detect potential multiref due to corrupted images
8b4341f9b80b staging: erofs: add two missing erofs_workgroup_put for corrupted images
596bbc4e0edf staging: erofs: some compressed cluster should be submitted for corrupted images
e7c44410387c staging: erofs: fix an error handling in erofs_readdir()
1b94c1e80ca8 coresight: etm4x: Use explicit barriers on enable/disable
effad578c23f vfs: Fix EOVERFLOW testing in put_compat_statfs64
d976344d27f7 arm64/speculation: Support 'mitigations=' cmdline option
af33d746286c arm64: Use firmware to detect CPUs that are not affected by Spectre-v2
17d1acc4c61d arm64: Force SSBS on context switch
fe22ea561ce0 arm64: ssbs: Don't treat CPUs with SSBS as unaffected by SSB
dada3a4abb43 arm64: add sysfs vulnerability show for speculative store bypass
f41df38898ec arm64: add sysfs vulnerability show for spectre-v2
9d1bb39cdd96 arm64: Always enable spectre-v2 vulnerability detection
b1a33cfd8034 arm64: Advertise mitigation of Spectre-v2, or lack thereof
59a6dc262c85 arm64: Provide a command line to disable spectre_v2 mitigation
c131623b1e9d arm64: Always enable ssb vulnerability detection
47a11f2eafcc arm64: enable generic CPU vulnerabilites support
512158d0c67e arm64: add sysfs vulnerability show for meltdown
047aac35fd1a arm64: Add sysfs vulnerability show for spectre-v1
edfc026626d6 arm64: fix SSBS sanitization
09c22781dd2c arm64: docs: Document SSBS HWCAP
a59d42ac50a1 KVM: arm64: Set SCTLR_EL2.DSSBS if SSBD is forcefully disabled and !vhe
1eaff33e2441 arm64: ssbd: Add support for PSTATE.SSBS rather than trapping to EL3
d286a37471b6 riscv: Avoid interrupts being erroneously enabled in handle_exception()
5b67a4721ddd perf stat: Reset previous counts on repeat with interval
15c57bf9dcf8 perf tools: Fix segfault in cpu_cache_level__read()
e5331c37c08b tick: broadcast-hrtimer: Fix a race in bc_set_next
140acbb09384 tools lib traceevent: Do not free tep->cmdlines in add_new_comm() on failure
d1e4b4cc3bba powerpc/book3s64/radix: Rename CPU_FTR_P9_TLBIE_BUG feature flag
f5f31a6ea558 powerpc/pseries: Fix cpu_hotplug_lock acquisition in resize_hpt()
c688982ffaeb nbd: fix crash when the blksize is zero
63bb8b76ed62 KVM: nVMX: Fix consistency check on injected exception error code
34b13ff69668 KVM: PPC: Book3S HV: XIVE: Free escalation interrupts before disabling the VP
1b155b4fe8b4 drm/radeon: Bail earlier when radeon.cik_/si_support=0 is passed
04e0c84f137d nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
575a5bb3d372 perf unwind: Fix libunwind build failure on i386 systems
b0aaf65bb16a kernel/elfcore.c: include proper prototypes
bab46480e6f9 perf build: Add detection of java-11-openjdk-devel package
46ff0e2f869f sched/core: Fix migration to invalid CPU in __set_cpus_allowed_ptr()
6cb7aa1b4f94 sched/membarrier: Fix private expedited registration check
e250f2b6aa9e sched/membarrier: Call sync_core only before usermode for same mm
9f33b178cbb2 libnvdimm/nfit_test: Fix acpi_handle redefinition
7b4f541fcd1c fuse: fix memleak in cuse_channel_open
2e93d24ac75e libnvdimm/region: Initialize bad block for volatile namespaces
9025adf37ee8 thermal_hwmon: Sanitize thermal_zone type
c01a9dbec18a thermal: Fix use-after-free when unregistering thermal zone device
55ebeb4e865d ntb: point to right memory window index
9dabade5c197 x86/purgatory: Disable the stackleak GCC plugin for the purgatory
65348659535d pwm: stm32-lp: Add check in case requested period cannot be achieved
19b1c70e911c pNFS: Ensure we do clear the return-on-close layout stateid on fatal errors
1c70ae6a91f9 drm/amdgpu: Check for valid number of registers to read
e0af3b19ad77 drm/amdgpu: Fix KFD-related kernel oops on Hawaii
f7ace7f25214 netfilter: nf_tables: allow lookups in dynamic sets
f217883bbc92 watchdog: aspeed: Add support for AST2600
520c2a64fc78 ceph: reconnect connection if session hang in opening state
0275113fc09a ceph: fix directories inode i_blkbits initialization
2bc2a90a083a xen/pci: reserve MCFG areas earlier
18dd2b05f349 9p: avoid attaching writeback_fid on mmap with type PRIVATE
07f3596ce344 9p: Transport error uninitialized
448deb13ab9e fs: nfs: Fix possible null-pointer dereferences in encode_attrs()
4753e7a824cb ima: fix freeing ongoing ahash_request
b69c3085fcc6 ima: always return negative code for error
6df3c66de09d arm64: cpufeature: Detect SSBS and advertise to userspace
3a0e673305e2 cfg80211: initialize on-stack chandefs
16c75eb13a72 s390/cio: avoid calling strlen on null pointer
3f41e88f4bd4 ieee802154: atusb: fix use-after-free at disconnect
975859bb69b2 xen/xenbus: fix self-deadlock after killing user process
e409b81d9ddb Revert "locking/pvqspinlock: Don't wait if vCPU is preempted"
7ed2867ceb41 mmc: sdhci-of-esdhc: set DMA snooping based on DMA coherence
4509a19d5082 mmc: sdhci: improve ADMA error reporting
873f49d6a4e8 drm/i915/gvt: update vgpu workload head pointer correctly
198bc7040c48 drm/nouveau/kms/nv50-: Don't create MSTMs for eDP connectors
7a85c8673551 drm/msm/dsi: Fix return value check for clk_get_parent
0e45633f49ef drm/omap: fix max fclk divider for omap36xx
90ac4028739c perf stat: Fix a segmentation fault when using repeat forever
22f28afd3d77 watchdog: imx2_wdt: fix min() calculation in imx2_wdt_set_timeout
e7cf8cc79f93 PCI: Restore Resizable BAR size bits correctly for 1MB BARs
956ce989c41f PCI: vmd: Fix shadow offsets to reflect spec changes
06f250215beb timer: Read jiffies once when forwarding base clk
12c6c4a50f66 usercopy: Avoid HIGHMEM pfn warning
e010c9835183 tracing: Make sure variable reference alias has correct var_ref_idx
022ca58f109e power: supply: sbs-battery: only return health when battery present
5cb6dd823127 power: supply: sbs-battery: use correct flags field
fb93ccde081e MIPS: Treat Loongson Extensions as ASEs
a0dc60ac6bef crypto: ccree - use the full crypt length value
f5c087a0d9a0 crypto: ccree - account for TEE not ready to report
561bf9309209 crypto: caam - fix concurrency issue in givencrypt descriptor
3683dd7074dc crypto: cavium/zip - Add missing single_release()
cd8e0a5d94fb crypto: skcipher - Unmap pages after an external error
9349108ae499 crypto: qat - Silence smp_processor_id() warning
532920b26678 tools lib traceevent: Fix "robust" test of do_generate_dynamic_list_file
4aaea17d3c31 can: mcp251x: mcp251x_hw_reset(): allow more time after a reset
9124eac41a67 powerpc/book3s64/mm: Don't do tlbie fixup for some hardware revisions
19c12f12093e powerpc/powernv/ioda: Fix race in TCE level allocation
032ce7d766a9 powerpc/powernv: Restrict OPAL symbol map to only be readable by root
ba3ca9fcb0e7 powerpc/mce: Schedule work from irq_work
ee6eeeb88e79 powerpc/mce: Fix MCE handling for huge pages
1284f2073415 ASoC: sgtl5000: Improve VAG power and mute control
50090b75fa89 ASoC: Define a set of DAPM pre/post-up events
42b888f63333 PM / devfreq: tegra: Fix kHz to Hz conversion
9f0f39c92e4f nbd: fix max number of supported devs
eff3a54aae68 KVM: nVMX: handle page fault in vmread fix
21874027e1de KVM: X86: Fix userspace set invalid CR4
30fbe0d380aa KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9
4faa7f05af75 KVM: PPC: Book3S HV: Check for MMU ready on piggybacked virtual cores
577a5119d7af KVM: PPC: Book3S HV: Fix race in re-enabling XIVE escalation interrupts
46cb14a57088 s390/cio: exclude subchannels with no parent from pseudo check
9aa823b3c0a6 s390/topology: avoid firing events before kobjs are created
ddfef75f877b KVM: s390: Test for bad access register and size at the start of S390_MEM_OP
8b41a30f91db s390/process: avoid potential reading of freed stack
(From OE-Core rev: 69844300d3c547739cb1c3404c7b5ff74ed67d86)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit e23a86fa40be2e1dfe50baeebe787e98f793cc5b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 8a36666265002805134cc3786c0e81bc709d8d10)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/4.19 to the latest korg -stable release that comprises
the following commits:
58fce2064530 Linux 4.19.78
5b0446c8e0a8 9p/cache.c: Fix memory leak in v9fs_cache_session_get_cookie
d85bc11a6894 kexec: bail out upon SIGKILL when allocating memory.
c8a65ec0602a NFC: fix attrs checks in netlink interface
1b42503211ca smack: use GFP_NOFS while holding inode_smack::smk_lock
ef9744a0218f Smack: Don't ignore other bprm->unsafe flags if LSM_UNSAFE_PTRACE is set
4703593498d3 soundwire: fix regmap dependencies and align with other serial links
322753c78d1d soundwire: Kconfig: fix help format
74e2a311a226 sch_cbq: validate TCA_CBQ_WRROPT to avoid crash
ed9420ddce87 tipc: fix unlimited bundling of small messages
a1afd826e549 xen-netfront: do not use ~0U as error return value for xennet_fill_frags()
36a4043c4bb8 net/rds: Fix error handling in rds_ib_add_one()
012363f5ded0 udp: only do GSO if # of segs > 1
5c08d7e4f1ea net: dsa: rtl8366: Check VLAN ID and not ports
3c1f0704401c vsock: Fix a lockdep warning in __vsock_release()
544aee546174 udp: fix gso_segs calculations
79fd59ae7c2f sch_dsmark: fix potential NULL deref in dsmark_init()
76b552775d60 rxrpc: Fix rxrpc_recvmsg tracepoint
7047aae65456 qmi_wwan: add support for Cinterion CLS8 devices
dd9c580a6d9b nfc: fix memory leak in llcp_sock_bind()
d5b1db1c7ce4 net: Unpublish sk from sk_reuseport_cb before call_rcu
9d0995cc268b net: qlogic: Fix memory leak in ql_alloc_large_buffers
124b64feafa9 net: ipv4: avoid mixed n_redirects and rate_tokens usage
6f8564edf8c1 ipv6: Handle missing host route in __ipv6_ifa_notify
658d7ee4da50 ipv6: drop incoming packets having a v4mapped source address
a495fd19cce2 hso: fix NULL-deref on tty open
7f30c44b7ca4 erspan: remove the incorrect mtu limit for erspan
2b8389112292 cxgb4:Fix out-of-bounds MSI-X info array access
ed568ca73601 bpf: fix use after free in prog symbol exposure
dbb7339cfddf block: mq-deadline: Fix queue restart handling
af10ffa69b06 arm: use STACK_TOP when computing mmap base address
f91a9c6591c0 arm: properly account for stack randomization and stack guard gap
53ba8d4358eb mips: properly account for stack randomization and stack guard gap
e1b391abbfce arm64: consider stack randomization for mmap base only when necessary
30ab799e758e kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K
52132ff52cad ocfs2: wait for recovering done after direct unlock request
d4a546452dcc kbuild: clean compressed initramfs image
d983182d4002 crypto: hisilicon - Fix double free in sec_free_hw_sgl()
22c788ba7a52 hypfs: Fix error number left in struct pointer member
bbd76d9514c7 pktcdvd: remove warning on attempting to register non-passthrough dev
0840daeea6cb fat: work around race with userspace's read via blockdev while mounting
297904ea60a3 ARM: 8903/1: ensure that usable memory in bank 0 starts from a PMD-aligned address
9a87ab2b4d60 security: smack: Fix possible null-pointer dereferences in smack_socket_sock_rcv_skb()
69a32a7306dd PCI: exynos: Propagate errors for optional PHYs
1264d2e7b75b PCI: imx6: Propagate errors for optional regulators
403d6c9284f1 PCI: histb: Propagate errors for optional regulators
ac9c0e2ecc49 PCI: rockchip: Propagate errors for optional regulators
709c4841e51f HID: apple: Fix stuck function keys when using FN
31e98cba55ed rtc: pcf85363/pcf85263: fix regmap error in set_time
607f95788fa9 rtc: snvs: fix possible race condition
078937549f47 ARM: 8875/1: Kconfig: default to AEABI w/ Clang
3039c788d648 soundwire: intel: fix channel number reported by hardware
6a684e002561 ARM: 8898/1: mm: Don't treat faults reported from cache maintenance as writes
0f0ced702d53 livepatch: Nullify obj->mod in klp_module_coming()'s error path
78a1138672af HID: wacom: Fix several minor compiler warnings
3b7fbbddeb7a PCI: tegra: Fix OF node reference leak
c74a801ded7d mfd: intel-lpss: Remove D3cold delay
70bb4bf9fdfb i2c-cht-wc: Fix lockdep warning
371077ea2e75 MIPS: tlbex: Explicitly cast _PAGE_NO_EXEC to a boolean
3ed14a8d2fe7 MIPS: Ingenic: Disable broken BTB lookup optimization.
5b400fed74df ext4: fix potential use after free after remounting with noblock_validity
81fbd2327c32 dma-buf/sw_sync: Synchronize signal vs syncpt free
c76e18970d93 scsi: core: Reduce memory required for SCSI logging
c6304d4d7458 clk: sprd: add missing kfree
7cd89b8db60c mbox: qcom: add APCS child device for QCS404
324b0c9efc77 powerpc: dump kernel log before carrying out fadump or kdump
72884423e77f clk: at91: select parent if main oscillator or bypass is enabled
952d1c6d7cf0 arm64: fix unreachable code issue with cmpxchg
b25bd837a637 pinctrl: meson-gxbb: Fix wrong pinning definition for uart_c
b717a47dd913 powerpc/pseries: correctly track irq state in default idle
ae089bf87c57 clk: qcom: gcc-sdm845: Use floor ops for sdcc clks
2c16f72135fb pstore: fs superblock limits
0c09b02842b8 powerpc/64s/exception: machine check use correct cfar for late handler
39b6d05169b2 drm/amdgpu/si: fix ASIC tests
4dcbca872a84 drm/amd/display: support spdif
38dfc974f322 clk: renesas: cpg-mssr: Set GENPD_FLAG_ALWAYS_ON for clock domain
0b5ac607db4b clk: renesas: mstp: Set GENPD_FLAG_ALWAYS_ON for clock domain
2cfb89832179 pinctrl: amd: disable spurious-firing GPIO IRQs
274d7acb0b81 drm/nouveau/volt: Fix for some cards having 0 maximum voltage
9b2d2f2ad003 vfio_pci: Restore original state on release
c1f7b3fb87cf powerpc/eeh: Clear stale EEH_DEV_NO_HANDLER flag
b2df456c83e3 pinctrl: tegra: Fix write barrier placement in pmx_writel
4c91e678d27c powerpc/pseries/mobility: use cond_resched when updating device tree
6d728a172732 powerpc/futex: Fix warning: 'oldval' may be used uninitialized in this function
6aa455b0d0a0 powerpc/rtas: use device model APIs and serialization during LPM
25c501f0f9d9 powerpc/xmon: Check for HV mode when dumping XIVE info from OPAL
2cca24b2cb9a clk: zx296718: Don't reference clk_init_data after registration
efa0fe4cde05 clk: sprd: Don't reference clk_init_data after registration
89dc59fb267d clk: sirf: Don't reference clk_init_data after registration
bd3a445c2717 clk: actions: Don't reference clk_init_data after registration
437399ed906a powerpc/powernv/ioda2: Allocate TCE table levels on demand for default DMA window
782a77f2eb39 drm/amd/display: reprogram VM config when system resume
24ba84ec0016 drm/amd/display: fix issue where 252-255 values are clipped
efb0e1e3d0e1 clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks
a2279550f7be clk: qoriq: Fix -Wunused-const-variable
84038a98b904 ipmi_si: Only schedule continuously in the thread in maintenance mode
b351726bb5be PCI: rpaphp: Avoid a sometimes-uninitialized warning
0936c46139cb gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property()
6e03bca91f8e drm/radeon: Fix EEH during kexec
441c15582338 drm/rockchip: Check for fast link training before enabling psr
f3d62177dee3 drm/panel: check failure cases in the probe func
9cb3698dcc86 drm/stm: attach gem fence to atomic state
043f0229f442 video: ssd1307fb: Start page range at page_offset
bd5b6a7c89ef drm/panel: simple: fix AUO g185han01 horizontal blanking
db472be8b340 drm/bridge: tc358767: Increase AUX transfer length limit
053d0ec61e33 tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations
d598712712e4 tpm: use tpm_try_get_ops() in tpm-sysfs.c.
6cad9d0cf87b Linux 4.19.77
2c60da90ec44 drm/amd/display: Restore backlight brightness after system resume
4d8bdf7f3a86 mm/compaction.c: clear total_{migrate,free}_scanned before scanning a new zone
5bead06b3443 fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock
bbe3e2056d27 md/raid0: avoid RAID0 data corruption due to layout confusion.
4290a9e59323 CIFS: Fix oplock handling for SMB 2.1+ protocols
a3a150895b6f CIFS: fix max ea value size
a0f7fd38acf5 i2c: riic: Clear NACK in tend isr
fec38267a2bf hwrng: core - don't wait on add_early_randomness()
060986096fea quota: fix wrong condition in is_quota_modification()
091c754d5ca9 ext4: fix punch hole for inline_data file systems
775e3e734bd3 ext4: fix warning inside ext4_convert_unwritten_extents_endio
caa6926d94f1 /dev/mem: Bail out upon SIGKILL.
bd3a11af1bde cfg80211: Purge frame registrations on iftype change
5dc86e9574a1 md: only call set_in_sync() when it is expected to succeed.
598a2cda62d3 md: don't report active array_state until after revalidate_disk() completes.
e8323e0ddce1 md/raid6: Set R5_ReadError when there is read failure on parity disk
bacff03bb286 Btrfs: fix race setting up and completing qgroup rescan workers
b5c42ef09df3 btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls
c521bfa8e2dc btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
067f82a05c2f btrfs: Relinquish CPUs in btrfs_compare_trees
b08344be3546 Btrfs: fix use-after-free when using the tree modification log
4874c6fe1c9e btrfs: fix allocation of free space cache v1 bitmap pages
934243a72849 ovl: filter of trusted xattr results in audit
e7265adc0a3c ovl: Fix dereferencing possible ERR_PTR()
2e96c9332595 smb3: allow disabling requesting leases
82652c06f976 block: fix null pointer dereference in blk_mq_rq_timed_out()
db5b2fe4d33c i40e: check __I40E_VF_DISABLE bit in i40e_sync_filters_subtask
b4a734a529b8 memcg, kmem: do not fail __GFP_NOFAIL charges
d40b3eafb52e memcg, oom: don't require __GFP_FS when invoking memcg OOM killer
e0c1e6e55bca gfs2: clear buf_in_tr when ending a transaction in sweep_bh_for_rgrps
3620b06b1db0 efifb: BGRT: Improve efifb_bgrt_sanity_check
c4f65c2fb0f5 regulator: Defer init completion for a while after late_initcall
3784576fc639 alarmtimer: Use EOPNOTSUPP instead of ENOTSUPP
174bbcc560cc arm64: dts: rockchip: limit clock rate of MMC controllers for RK3328
8cfe3b8aa3b6 arm64: tlb: Ensure we execute an ISB following walk cache invalidation
fc7d6bfdd774 Revert "arm64: Remove unnecessary ISBs from set_{pte,pmd,pud}"
881edc165b8e ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up
2209279439a1 ARM: samsung: Fix system restart on S3C6410
ad884155fb9c ASoC: Intel: Fix use of potentially uninitialized variable
7bdab36455f9 ASoC: Intel: Skylake: Use correct function to access iomem space
3c54f463402f ASoC: Intel: NHLT: Fix debug print format
29ecf8cae5f4 binfmt_elf: Do not move brk for INTERP-less ET_EXEC
02ef5c299d15 media: don't drop front-end reference count for ->detach
589ca8ec4c62 media: sn9c20x: Add MSI MS-1039 laptop to flip_dmi_table
496cf984a60e KVM: x86: Manually calculate reserved bits when loading PDPTRS
933e3e2b5070 KVM: x86: set ctxt->have_exception in x86_decode_insn()
9723e4458604 KVM: x86: always stop emulation on page fault
8225db4a70b2 parisc: Disable HP HSC-PCI Cards to prevent kernel crash
ad41162974c6 fuse: fix missing unlock_page in fuse_writepage()
ecfe4b5f70c8 powerpc/imc: Dont create debugfs files for cpu-less nodes
e94443fc7b64 scsi: implement .cleanup_rq callback
4ec3ca2770e7 blk-mq: add callback of .cleanup_rq
4848fb93243e ALSA: hda/realtek - PCI quirk for Medion E4254
e9bcaf82dd37 ceph: use ceph_evict_inode to cleanup inode's resource
72f0fff3c450 Revert "ceph: use ceph_evict_inode to cleanup inode's resource"
98dc6d958bd9 randstruct: Check member structs in is_pure_ops_struct()
ad6819cd68be IB/hfi1: Define variables as unsigned long to fix KASAN warning
a924850c93d4 IB/mlx5: Free mpi in mp_slave mode
40b071992ca5 printk: Do not lose last line in kmsg buffer dump
28f142b940af scsi: qla2xxx: Fix Relogin to prevent modifying scan_state flag
03b75e65ceed scsi: scsi_dh_rdac: zero cdb in send_mode_select()
2e21e5b225ef ALSA: firewire-tascam: check intermediate state of clock status and retry
f5779e4449da ALSA: firewire-tascam: handle error code when getting current source of clock
fdd131eab68f iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36
6437ec272eda PM / devfreq: passive: fix compiler warning
814f7fe56ebb media: omap3isp: Set device on omap3isp subdevs
c5dbd74f8259 btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type
2aeeb0a4b440 iommu/amd: Override wrong IVRS IOAPIC on Raven Ridge systems
291da335040c ALSA: hda/realtek - Blacklist PC beep for Lenovo ThinkCentre M73/93
8630a4d13683 media: ttusb-dec: Fix info-leak in ttusb_dec_send_command()
d47636913bda drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)
5370cf8d90ad ALSA: hda - Drop unsol event handler for Intel HDMI codecs
ac1d43a20a08 e1000e: add workaround for possible stalled packet
35b6cba971f5 libertas: Add missing sentinel at end of if_usb.c fw_table
0a43d5d458d5 raid5: don't increment read_errors on EILSEQ return
da87dfca25aa mmc: dw_mmc: Re-store SDIO IRQs mask at system resume
a0dd3d95fb21 mmc: core: Add helper function to indicate if SDIO IRQs is enabled
8ba99d50cb61 mmc: sdhci: Fix incorrect switch to HS mode
869122775782 mmc: core: Clarify sdio_irq_pending flag for MMC_CAP2_SDIO_IRQ_NOTHREAD
a5443cd24063 raid5: don't set STRIPE_HANDLE to stripe which is in batch list
064fba888e77 ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set
476eda2539bb platform/x86: intel_pmc_core: Do not ioremap RAM
e836cd2917c6 x86/cpu: Add Tiger Lake to Intel family
b21919eeced6 s390/crypto: xts-aes-s390 fix extra run-time crypto self tests finding
fad90d4bfa8d kprobes: Prohibit probing on BUG() and WARN() address
213077da3e7c dmaengine: ti: edma: Do not reset reserved paRAM slots
f1db75622996 md/raid1: fail run raid1 array when active disk less than one
76cf93f04c3d hwmon: (acpi_power_meter) Change log level for 'unsafe software power cap'
f0956418d997 closures: fix a race on wakeup from closure_sync
9fcfdff61f74 ACPI / PCI: fix acpi_pci_irq_enable() memory leak
e4467fb6ef54 ACPI: custom_method: fix memory leaks
6fceb241dc76 ARM: dts: exynos: Mark LDO10 as always-on on Peach Pit/Pi Chromebooks
e4b4280dcd97 libtraceevent: Change users plugin directory
c55659cd1459 iommu/iova: Avoid false sharing on fq_timer_on
223b0481ed4b libata/ahci: Drop PCS quirk for Denverton and beyond
de888e0244cb iommu/amd: Silence warnings under memory pressure
6241c0ac301e ALSA: firewire-motu: add support for MOTU 4pre
ad58ce6cacd1 nvme-multipath: fix ana log nsid lookup when nsid is not found
9edc229b9c90 nvmet: fix data units read and written counters in SMART log
7bbb7a9dd2c3 x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()
5201b4ffc324 ASoC: fsl_ssi: Fix clock control issue in master mode
4b7d9c2a716e x86/mm/pti: Do not invoke PTI functions when PTI is disabled
eb2485e32f90 arm64: kpti: ensure patched kernel text is fetched from PoU
b619496540ba x86/apic/vector: Warn when vector space exhaustion breaks affinity
01e8f487cecb sched/cpufreq: Align trace event behavior of fast switching
2919fa0398ad ACPI / CPPC: do not require the _PSD method
b79922133f9c ASoC: es8316: fix headphone mixer volume table
dd25f76c1f34 media: ov9650: add a sanity check
342a0bee4d94 perf trace beauty ioctl: Fix off-by-one error in cmd->string table
57409ea782e7 media: saa7134: fix terminology around saa7134_i2c_eeprom_md7134_gate()
78550c5cfe6d media: cpia2_usb: fix memory leaks
d796c6c1aab4 media: saa7146: add cleanup in hexium_attach()
ab20f38ce522 media: cec-notifier: clear cec_adap in cec_notifier_unregister
d51268d7574b PM / devfreq: exynos-bus: Correct clock enable sequence
7e19b7e0d640 PM / devfreq: passive: Use non-devm notifiers
f9de170eaf7e EDAC/amd64: Decode syndrome before translating address
6f80e91a66e0 EDAC/amd64: Recognize DRAM device type ECC capability
adb97f18b4e7 libperf: Fix alignment trap with xyarray contents in 'perf stat'
4df2427a5148 media: dvb-core: fix a memory leak bug
8d5fccff7b0c posix-cpu-timers: Sanitize bogus WARNONS
9df9652b7345 media: dvb-frontends: use ida for pll number
006a6065c867 media: mceusb: fix (eliminate) TX IR signal length limit
d093d3183ca2 nbd: add missing config put
e497ec26cc43 led: triggers: Fix a memory leak bug
83c2a42b1b84 ASoC: sun4i-i2s: Don't use the oversample to calculate BCLK
5466c30b11cb tools headers: Fixup bitsperlong per arch includes
b1f1b83e2583 ASoC: uniphier: Fix double reset assersion when transitioning to suspend state
e6bc6e2c0d1f media: hdpvr: add terminating 0 at end of string
4a2cb7600b72 media: radio/si470x: kill urb on error
dfaf60580191 ARM: dts: imx7-colibri: disable HS400
c20ee5d906ec ARM: dts: imx7d: cl-som-imx7: make ethernet work again
21927786df27 m68k: Prevent some compiler warnings in Coldfire builds
ba8f56ffaebf net: lpc-enet: fix printk format strings
aa2d05a9de05 media: imx: mipi csi-2: Don't fail if initial state times-out
1b7df445d881 media: omap3isp: Don't set streaming state on random subdevs
0c3802174754 media: i2c: ov5645: Fix power sequence
3dfbac0add22 media: vsp1: fix memory leak of dl on error return path
c47022e019fe perf record: Support aarch64 random socket_id assignment
482c1d0a7cc4 dmaengine: iop-adma: use correct printk format strings
19a1fa140594 media: rc: imon: Allow iMON RC protocol for ffdc 7e device
a527d3d4b513 media: em28xx: modules workqueue not inited for 2nd device
6a1c59a7603d media: fdp1: Reduce FCP not found message level to debug
e3f5f626e17a media: mtk-mdp: fix reference count on old device tree
066afce8d87d perf test vfs_getname: Disable ~/.perfconfig to get default output
96b61fe7a5f7 perf config: Honour $PERF_CONFIG env var to specify alternate .perfconfig
db751f6d5241 media: gspca: zero usb_buf on error
511110236089 idle: Prevent late-arriving interrupts from disrupting offline
9addfbd40959 sched/fair: Use rq_lock/unlock in online_fair_sched_group
6e9d45022d26 firmware: arm_scmi: Check if platform has released shmem before using
0dbdc1986bb4 efi: cper: print AER info of PCIe fatal error
4410b8517950 EDAC, pnd2: Fix ioremap() size in dnv_rd_reg()
cf8f20a1aacf loop: Add LOOP_SET_DIRECT_IO to compat ioctl
18e5e458c6d8 ACPI / processor: don't print errors for processorIDs == 0xff
465bc6e80fd2 media: media/platform: fsl-viu.c: fix build for MICROBLAZE
371538451c21 md: don't set In_sync if array is frozen
d38aff20c407 md: don't call spare_active in md_reap_sync_thread if all member devices can't work
1cd972e0a107 md/raid1: end bio when the device faulty
7d75275fbfb1 arm64/prefetch: fix a -Wtype-limits warning
829bebdc1ce6 ASoC: rsnd: don't call clk_get_rate() under atomic context
f5bef62df824 EDAC/altera: Use the proper type for the IRQ status bits
87bc43e2a775 ia64:unwind: fix double free for mod->arch.init_unw_table
ca57eca32b3e ALSA: usb-audio: Skip bSynchAddress endpoint check if it is invalid
d76b5ac5016c base: soc: Export soc_device_register/unregister APIs
4a75e77ef1b5 media: iguanair: add sanity checks
fe8fc7d7cb64 EDAC/mc: Fix grain_bits calculation
55a98e872186 ALSA: i2c: ak4xxx-adda: Fix a possible null pointer dereference in build_adc_controls()
1af6822f29d6 ALSA: hda - Show the fatal CORB/RIRB error more clearly
b40c15c20e42 x86/apic: Soft disable APIC before initializing it
ce7fdd5cd83e x86/reboot: Always use NMI fallback when shutdown via reboot vector IPI fails
0f30856944d4 sched/deadline: Fix bandwidth accounting at all levels after offline migration
d29c7b8be599 x86/apic: Make apic_pending_intr_clear() more robust
f381d3d2c39c sched/core: Fix CPU controller for !RT_GROUP_SCHED
417cf53b4b85 sched/fair: Fix imbalance due to CPU affinity
7cebdfa62f22 time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint
64f3fb5d751c media: i2c: ov5640: Check for devm_gpiod_get_optional() error
6cc816dd644e media: hdpvr: Add device num check and handling
8bc254d3e6b8 media: exynos4-is: fix leaked of_node references
7ec720763a20 media: mtk-cir: lower de-glitch counter for rc-mm protocol
920acbff8932 media: dib0700: fix link error for dibx000_i2c_set_speed
8f9dc49928c2 leds: leds-lp5562 allow firmware files up to the maximum length
fdcf06a35bc6 dmaengine: bcm2835: Print error in case setting DMA mask fails
e841313b5731 firmware: qcom_scm: Use proper types for dma mappings
ec4815460d81 ASoC: sgtl5000: Fix charge pump source assignment
84bb4024b358 ASoC: sgtl5000: Fix of unmute outputs on probe
a7ace049bddc ASoC: tlv320aic31xx: suppress error message for EPROBE_DEFER
3657e58405fb regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg
3eec108aa879 ALSA: hda: Flush interrupts on disabling
5b6c791f494d nfp: flower: prevent memory leak in nfp_flower_spawn_phy_reprs
33fe1f517e29 nfc: enforce CAP_NET_RAW for raw sockets
dd651ab7a114 ieee802154: enforce CAP_NET_RAW for raw sockets
6f0f18e53269 ax25: enforce CAP_NET_RAW for raw sockets
6fbf86627608 appletalk: enforce CAP_NET_RAW for raw sockets
50dddec689cb mISDN: enforce CAP_NET_RAW for raw sockets
f06b0b3e5d76 net/mlx5: Add device ID of upcoming BlueField-2
3fdcf6a88ded tcp: better handle TCP_USER_TIMEOUT in SYN_SENT state
a749eea97ac9 net: sched: fix possible crash in tcf_action_destroy()
831d0fcba1cf usbnet: sanity checking of packet sizes and device mtu
b7eeccc1c786 usbnet: ignore endpoints with invalid wMaxPacketSize
ff4419d725c7 skge: fix checksum byte order
9a623e1b1d03 sch_netem: fix a divide by zero in tabledist()
1cd663adcece ppp: Fix memory leak in ppp_write
99952b08537c openvswitch: change type of UPCALL_PID attribute to NLA_UNSPEC
587df35cbf65 nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
195a3ea494d2 net_sched: add max len check for TCA_KIND
c31096dc586e net/sched: act_sample: don't push mac header on ip6gre ingress
abb04d0a9dea net: qrtr: Stop rx_worker before freeing node
6ea3bc412506 net/phy: fix DP83865 10 Mbps HDX loopback disable function
831d082be72c macsec: drop skb sk before calling gro_cells_receive
fd0034688358 cdc_ncm: fix divide-by-zero caused by invalid wMaxPacketSize
0bf79588586c arcnet: provide a buffer big enough to actually receive packets
555161ee1b7a Linux 4.19.76
59a5cea41dd0 f2fs: use generic EFSBADCRC/EFSCORRUPTED
fc3d296491f4 net/rds: Check laddr_check before calling it
3de749d6d7ce net/rds: An rds_sock is added too early to the hash table
07f7ec87b5f6 net_sched: check cops->tcf_block in tc_bind_tclass()
90b0761c1b81 Bluetooth: btrtl: Additional Realtek 8822CE Bluetooth devices
6934809432d2 netfilter: nft_socket: fix erroneous socket assignment
649836fe946c xfs: don't crash on null attr fork xfs_bmapi_read
91ae87240166 drm/nouveau/disp/nv50-: fix center/aspect-corrected scaling
3717f4a49b34 ACPI: video: Add new hw_changes_brightness quirk, set it on PB Easynote MZ35
46beb6eacef5 Bluetooth: btrtl: HCI reset on close for Realtek BT chip
8ffd7ba9ffb1 net: don't warn in inet diag when IPV6 is disabled
ff0fbfacc94f drm: Flush output polling on shutdown
303f6d6bbc0c f2fs: fix to do sanity check on segment bitmap of LFS curseg
dec09554eba9 net/ibmvnic: Fix missing { in __ibmvnic_reset
dc9118feb472 dm zoned: fix invalid memory access
73d90f57fcc2 Revert "f2fs: avoid out-of-range memory access"
40cdc71e1111 blk-mq: move cancel of requeue_work to the front of blk_exit_queue
313efb253d03 blk-mq: change gfp flags to GFP_NOIO in blk_mq_realloc_hw_ctxs
75448f40b9f6 initramfs: don't free a non-existent initrd
ad16dfef4a44 bcache: remove redundant LIST_HEAD(journal) from run_cache_set()
08fdaee2d97b PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it
ef2baa03b7f0 f2fs: check all the data segments against all node ones
ef06c33dc371 irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices
52b4947bac50 bpf: libbpf: retry loading program on EAGAIN
a935d78e54cc Revert "drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD"
288831cba980 scsi: qla2xxx: Return switch command on a timeout
2b983f212c68 scsi: qla2xxx: Remove all rports if fabric scan retry fails
6b449e4cf090 scsi: qla2xxx: Turn off IOCB timeout timer on IOCB completion
9423770eb336 locking/lockdep: Add debug_locks check in __lock_downgrade()
0c23335a2d81 power: supply: sysfs: ratelimit property read error message
1456c40aa906 pinctrl: sprd: Use define directive for sprd_pinconf_params values
037d73a6458e objtool: Clobber user CFLAGS variable
952844f31eb7 ALSA: hda - Apply AMD controller workaround for Raven platform
50c9ccffe041 ALSA: hda - Add laptop imic fixup for ASUS M9V laptop
866a1a7e9f23 ALSA: dice: fix wrong packet parameter for Alesis iO26
9829fd27501e ALSA: usb-audio: Add DSD support for EVGA NU Audio
303921276360 ALSA: usb-audio: Add Hiby device family to quirks for native DSD support
8a845c02e495 ASoC: fsl: Fix of-node refcount unbalance in fsl_ssi_probe_from_dt()
a5e2c65034f8 ASoC: Intel: cht_bsw_max98090_ti: Enable codec clock once and keep it enabled
ec2a3681b30c media: tvp5150: fix switch exit in set control handler
ba6860700d1f iwlwifi: mvm: always init rs_fw with 20MHz bandwidth rates
ced0676fc9c2 iwlwifi: mvm: send BCAST management frames to the right station
b3873e34cbf2 net/mlx5e: Rx, Check ip headers sanity
404f118f2790 net/mlx5e: Rx, Fixup skb checksum for packets with tail padding
c95ebb394d65 net/mlx5e: XDP, Avoid checksum complete when XDP prog is loaded
79e972a89cad net/mlx5e: Allow reporting of checksum unnecessary
8da68f79b3b3 mlx5: fix get_ip_proto()
44da02576b5d net/mlx5e: don't set CHECKSUM_COMPLETE on SCTP packets
6debda97411e net/mlx5e: Set ECN for received packets using CQE indication
e867ef113004 CIFS: fix deadlock in cached root handling
f3160a1d71f7 crypto: talitos - fix missing break in switch statement
c1a7fe486647 mtd: cfi_cmdset_0002: Use chip_good() to retry in do_write_oneword()
5fdefdcb92bb HID: Add quirk for HP X500 PIXART OEM mouse
3d072c272b88 HID: hidraw: Fix invalid read in hidraw_ioctl
acc96be807bb HID: logitech: Fix general protection fault caused by Logitech driver
3e785174fb35 HID: sony: Fix memory corruption issue on cleanup.
eb77929769e3 HID: prodikeys: Fix general protection fault during probe
2661d462aaa9 IB/core: Add an unbound WQ type to the new CQ API
70ec2eecc550 drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines
80fc27953e74 powerpc/xive: Fix bogus error code returned by OPAL
4eb92a114834 RDMA/restrack: Protect from reentry to resource return path
373f9092df95 net/ibmvnic: free reset work of removed device from queue
2af977b0d1db Revert "Bluetooth: validate BLE connection interval updates"
d573e8a79f70 Linux 4.19.75
b841a9f58d9c media: technisat-usb2: break out of loop at end of buffer
f35f5a990a07 arm64: kpti: Whitelist Cortex-A CPUs that don't implement the CSV3 field
c0ccb4da26bc binfmt_elf: move brk out of mmap when doing direct loader exec
c3817ffb1036 floppy: fix usercopy direction
9c13e770cca9 ovl: fix regression caused by overlapping layers detection
5e74396d8beb PCI: kirin: Fix section mismatch warning
0d50f7b1e8c8 iommu/amd: Fix race in increase_address_space()
52f32e4aec50 iommu/amd: Flush old domains in kdump kernel
ca77acdf1ac9 keys: Fix missing null pointer check in request_key_auth_describe()
d73515a17c14 x86/hyper-v: Fix overflow bug in fill_gva_list()
371357770c8b x86/uaccess: Don't leak the AC flags into __get_user() argument evaluation
72c762b01eb0 dmaengine: ti: omap-dma: Add cleanup in omap_dma_probe()
d04b522a65c0 dmaengine: ti: dma-crossbar: Fix a memory leak bug
6bc421d5a04a net: seeq: Fix the function used to release some memory in an error handling path
83360eb798ca net: aquantia: fix out of memory condition on rx side
30c345bd786a tools/power turbostat: fix buffer overrun
d485c65853de tools/power x86_energy_perf_policy: Fix argument parsing
254b9b2971a7 tools/power x86_energy_perf_policy: Fix "uninitialized variable" warnings at -O2
a85a0d9f3796 amd-xgbe: Fix error path in xgbe_mod_init()
7ec11cad3fde perf/x86/amd/ibs: Fix sample bias for dispatched micro-ops
560857de3064 perf/x86/intel: Restrict period on Nehalem
65ad72ce10e7 i2c: designware: Synchronize IRQs when unregistering slave client
5a45b14b03f7 sky2: Disable MSI on yet another ASUS boards (P6Xxxx)
6cce2adae3e1 ibmvnic: Do not process reset during or after device removal
080ca754f5db ARM: 8901/1: add a criteria for pfn_valid of arm
c6d779fd8197 usb: host: xhci-tegra: Set DMA mask correctly
b62946852afa cifs: Use kzfree() to zero out the password
325fa2a6729b cifs: set domainName when a domain-key is used in multiuser
9a74f799b99c kallsyms: Don't let kallsyms_lookup_size_offset() fail on retrieving the first symbol
0f7130177325 NFSv2: Fix write regression
60f0d449601d NFSv2: Fix eof handling
6075729f76da netfilter: nf_conntrack_ftp: Fix debug output
7ac5947f7578 netfilter: xt_physdev: Fix spurious error message in physdev_mt_check
e997c0730520 x86/apic: Fix arch_dynirq_lower_bound() bug for DT enabled machines
688fdaa54a3e r8152: Set memory to all 0xFFs on failed reg reads
d9f79f0ace55 bpf: allow narrow loads of some sk_reuseport_md fields with offset > 0
7d4201ff9f73 batman-adv: Only read OGM2 tvlv_len after buffer len check
5b8b66274183 ARM: 8874/1: mm: only adjust sections of valid mm structures
b870f8afc5a5 qed: Add cleanup in qed_slowpath_start()
30881d79de31 xdp: unpin xdp umem pages in error path
55ed0ad50201 Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105
767877deb25a NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup
4ac4f4716fba NFSv4: Fix return value in nfs_finish_open()
d7565d51af18 NFSv4: Fix return values for nfs4_file_open()
4e5fbcb9a615 netfilter: xt_nfacct: Fix alignment mismatch in xt_nfacct_match_info
a02c676c0f03 netfilter: nft_flow_offload: missing netlink attribute policy
a4fa6c68ecc3 netfilter: ebtables: Fix argument order to ADD_COUNTER
634dd5a48627 fpga: altera-ps-spi: Fix getting of optional confd gpio
0d393f23f18e tools: bpftool: close prog FD before exit on showing a single program
c5bb033529f1 selftests/bpf: fix "bind{4, 6} deny specific IP & port" on s390
48d77ca1497f s390/bpf: use 32-bit index for tail calls
999f33c2438c bus: ti-sysc: Simplify cleanup upon failures in sysc_probe()
1a85d5819ade ARM: OMAP1: ams-delta-fiq: Fix missing irq_ack
a8919f8d352f ARM: dts: dra74x: Fix iodelay configuration for mmc3
2ff2bd2c5526 ARM: OMAP2+: Fix omap4 errata warning on other SoCs
73d003274a42 s390/bpf: fix lcgr instruction encoding
c1e0937ef4d5 bus: ti-sysc: Fix using configured sysc mask value
0aee9e118eee ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss
f696ba6b122d ARM: dts: am57xx: Disable voltage switching for SD card
ac8f26f6a035 ieee802154: hwsim: unregister hw while hwsim_subscribe_all_others fails
c237a050df3b ieee802154: hwsim: Fix error handle path in hwsim_init_module
6a10e87ffca1 nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
941431c491a6 mwifiex: Fix three heap overflow at parsing element in cfg80211_ap_settings
770cee245191 tty/serial: atmel: reschedule TX after RX was started
4c2f60ed8ed8 serial: sprd: correct the wrong sequence of arguments
2871621518ac firmware: google: check if size is valid when decoding VPD data
232a6462f43f KVM: coalesced_mmio: add bounds checking
7a1bad565ceb net_sched: let qdisc_put() accept NULL pointer
47288968eebd xen-netfront: do not assume sk_buff_head list is empty in error handling
fdd60d80c429 udp: correct reuseport selection with connected sockets
97b5f8c95b75 ip6_gre: fix a dst leak in ip6erspan_tunnel_xmit
4fb95f299504 phy: renesas: rcar-gen3-usb2: Disable clearing VBUS in over-current
abf389e0795a media: tm6000: double free if usb disconnect while streaming
77d4e2a05885 USB: usbcore: Fix slab-out-of-bounds bug during device reset
b01b1eb24c04 powerpc/mm/radix: Use the right page size for vmemmap mapping
289f3c82b116 Input: elan_i2c - remove Lenovo Legion Y7000 PnpID
305c3b497662 RDMA/restrack: Release task struct which was hold by CM_ID object
8993c673d6c4 HID: wacom: generic: read HID_DG_CONTACTMAX from any feature report
2a0aa8a06aea netfilter: nf_flow_table: set default timeout after successful insertion
dbc29aff8d04 Linux 4.19.74
9d587fe2cd70 x86/build: Add -Wnoaddress-of-packed-member to REALMODE_CFLAGS, to silence GCC9 build warning
96c08711fc66 nvmem: Use the same permissions for eeprom as for nvmem
3622d621e9be rsi: fix a double free bug in rsi_91x_deinit()
780f3aadee1e platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI table
52bfcc9c8406 modules: fix compile error if don't have strict module rwx
ae415d7a2707 modules: fix BUG when load module with rodata=n
0ae0c43abcbf iio: adc: stm32-dfsdm: fix data type
acf77c411b4e Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
a03ed2891cdb drm/mediatek: mtk_drm_drv.c: Add of_node_put() before goto
d13a836d787d drm: panel-orientation-quirks: Add extra quirk table entry for GPD MicroPC
4b30a0698208 firmware: ti_sci: Always request response from firmware
3dfc787f2f50 crypto: talitos - HMAC SNOOP NO AFEU mode requires SW icv checking.
e89d4cb6fba3 crypto: talitos - Do not modify req->cryptlen on decryption.
9aff4077304b crypto: talitos - fix ECB algs ivsize
c4d7148e2d67 crypto: talitos - check data blocksize in ablkcipher.
02ebbb4f8df8 crypto: talitos - fix CTR alg blocksize
39fa02a36bb3 crypto: talitos - check AES key size
e1666bcbae0c driver core: Fix use-after-free and double free on glue directory
72cd230b3231 ubifs: Correctly use tnc_next() in search_dh_cookie()
a65290083b66 gpio: fix line flag validation in lineevent_create
0f4095f33557 PCI: Always allow probing with driver_override
70facf939ba2 mtd: rawnand: mtk: Fix wrongly assigned OOB buffer pointer issue
6da56f8982bb clk: rockchip: Don't yell about bad mmc phases when getting
a63416f39aaf drm/meson: Add support for XBGR8888 & ABGR8888 formats
d9e8b4ba0397 powerpc: Add barrier_nospec to raw_copy_in_user()
eb020b77b646 x86/purgatory: Change compiler flags from -mcmodel=kernel to -mcmodel=large to fix kexec relocation errors
73c31bd92039 KVM: nVMX: handle page fault in vmread
6e60900cfa3e KVM: x86: work around leak of uninitialized stack contents
09a9f894c65b KVM: s390: Do not leak kernel stack data in the KVM_S390_INTERRUPT ioctl
9f8a2825918c KVM: s390: kvm_s390_vm_start_migration: check dirty_bitmap before using it as target for memset()
991b3458da56 genirq: Prevent NULL pointer dereference in resend_irqs()
5b5f14601e0a ixgbe: Prevent u8 wrapping of ITR value to something less than 10us
7cbd49cf0d62 Btrfs: fix assertion failure during fsync and use of stale transaction
22ed1d472811 gpio: fix line flag validation in linehandle_create
705df757e937 gpiolib: acpi: Add gpiolib_acpi_run_edge_events_on_boot option and blacklist
0f4ceb259493 tun: fix use-after-free when register netdev failed
9a4598424e99 tipc: add NULL pointer check before calling kfree_rcu
67fe3b94a833 tcp: fix tcp_ecn_withdraw_cwr() to clear TCP_ECN_QUEUE_CWR
7c34a29261ee sctp: use transport pf_retrans in sctp_do_8_2_transport_strike
41b624ff83d2 sctp: Fix the link time qualifier of 'sctp_ctrlsock_exit()'
a9e91767b921 sch_hhf: ensure quantum and hhf_non_hh_weight are non-zero
a7f46e18ecfe net: sched: fix reordering issues
3600a311f83d net: phylink: Fix flow control resolution
821302dd0c51 net: gso: Fix skb_segment splat when splitting gso_size mangled skb having linear-headed frag_list
88a46756f016 net: Fix null de-reference of device refcount
b26f489245b3 ixgbe: Fix secpath usage for IPsec TX offload.
2354e925e361 isdn/capi: check message length in capi_write()
ea6ec671c87e ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'
a20c8e4ae48d cdc_ether: fix rndis support for Mediatek based smartphones
f57fd58dda42 bridge/mdb: remove wrong use of NLM_F_MULTI
db2d0b7c1dde Linux 4.19.73
ba03ee62aed0 vhost: make sure log_num < in_num
569775bd5364 powerpc/tm: Fix restoring FP/VMX facility incorrectly on interrupts
052bc385f970 powerpc/tm: Remove msr_tm_active()
f193e02265aa PCI: Reset both NVIDIA GPU and HDA in ThinkPad P50 workaround
ff69322509bb ext4: unsigned int compared against zero
292666d2d868 ext4: fix block validity checks for journal inodes using indirect blocks
97fbf573460e ext4: don't perform block validity checks on the journal inode
1e88a1f874ca drm/atomic_helper: Allow DPMS On<->Off changes for unregistered connectors
b1dd1d06b31d virtio/s390: fix race on airq_areas[]
057cdb6f0f47 drm/i915: Make sure cdclk is high enough for DP audio on VLV/CHV
b113f98432ae bcache: fix race in btree_flush_write()
f73c35d92976 bcache: add comments for mutex_lock(&b->write_lock)
7989a5026fd1 bcache: only clear BTREE_NODE_dirty bit when it is set
652993a5aae5 NFSv4: Fix delegation state recovery
5026932adb1a iio: adc: gyroadc: fix uninitialized return code
2e7e7c8f9423 mm/migrate.c: initialize pud_entry in migrate_vma()
b8ad18a10f70 i2c: at91: fix clk_offset for sama5d2
4c9170b55f3a i2c: at91: disable TXRDY interrupt after sending data
c9c90711ee88 gpio: don't WARN() on NULL descs if gpiolib is disabled
a532a120a5cd iommu/iova: Remove stale cached32_node
c4fc7cb93e0a powerpc/mm: Limit rma_size to 1TB when running without HV mode
5b9a6ba975c0 ALSA: hda - Fix intermittent CORB/RIRB stall on Intel chips
87c3692172da drm/panel: Add support for Armadeus ST0700 Adapt
ecf99cdea02d dm thin metadata: check if in fail_io mode when setting needs_check
5e9a2ce6d3b4 pstore: Fix double-free in pstore_mkfile() failure path
192b9af8caf0 resource: fix locking in find_next_iomem_res()
485bcc29a200 resource: Fix find_next_iomem_res() iteration issue
9a80dfccade1 resource: Include resource end in walk_*() interfaces
1c13c9c40e31 btrfs: correctly validate compression type
0ca2688bd7cd RDMA/srp: Accept again source addresses that do not have a port number
9541604735b2 RDMA/srp: Document srp_parse_in() arguments
bab0ff2d87db ARM: dts: gemini: Set DIR-685 SPI CS as active low
3a1b79ade460 KVM: PPC: Book3S HV: Fix CR0 setting in TM emulation
3ac718069f7c KVM: PPC: Use ccr field in pt_regs struct embedded in vcpu struct
beeeead95b2f KVM: VMX: check CPUID before allowing read/write of IA32_XSS
891011ca564d KVM: VMX: Fix handling of #MC that occurs during VM-Entry
74ce13331db9 KVM: VMX: Always signal #GP on WRMSR to MSR_IA32_CR_PAT with bad value
74fd8aae19d9 KVM: x86: optimize check for valid PAT value
812810399999 ceph: use ceph_evict_inode to cleanup inode's resource
42fa0e35d6e0 ALSA: hda - Don't resume forcibly i915 HDMI/DP codec
987564c28e8a cifs: Properly handle auto disabling of serverino option
d85e830d8534 scsi: zfcp: fix request object use-after-free in send path causing wrong traces
ba8701d2226c staging: wilc1000: fix error path cleanup in wilc_wlan_initialize()
60b856dc1744 scsi: target/iblock: Fix overrun in WRITE SAME emulation
ba52842de1ad scsi: target/core: Use the SECTOR_SHIFT constant
17111037fdf0 apparmor: reset pos on failure to unpack for various functions
90ca4912e55d IB/hfi1: Avoid hardlockup with flushlist_lock
fa717fc442ff clk: tegra210: Fix default rates for HDA clocks
350503c8982b clk: tegra: Fix maximum audio sync clock for Tegra124/210
acc07941e224 cifs: add spinlock for the openFileList to cifsInodeInfo
1d0648767ccf Btrfs: fix race between block group removal and block group allocation
f276beb324cc drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc
7abeffff7bc3 drm/amdgpu: fix ring test failure issue during s3 in vce 3.0 (V2)
d5f6539381c7 kvm: Check irqchip mode before assign irqfd
90772cf58838 drm/amdkfd: Add missing Polaris10 ID
cacbc85376b6 ARC: mm: SIGSEGV userspace trying to access kernel virtual memory
7edfa9c99d21 ARC: mm: fix uninitialised signal code in do_page_fault
0828438e523e signal/arc: Use force_sig_fault where appropriate
fcb2f1e2ea68 dm crypt: move detailed message into debug level
96b44c20e6f0 cifs: smbd: take an array of reqeusts when sending upper layer data
3f27a14b03d8 PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify code
842da8fac182 mmc: sdhci-pci: Add support for Intel CML
e238e6dc222b blk-mq: free hw queue's resource in hctx's release handler
69409854ba08 dm mpath: fix missing call of path selector type->end_io
0fe097012b6c PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary
5659dfca74d0 PCI: Add macro for Switchtec quirk declarations
e4ba157877db dt-bindings: mmc: Add disable-cqe-dcmd property.
eb83f9fa10f7 dt-bindings: mmc: Add supports-cqe property
0a0176f93ea9 ARM: dts: qcom: ipq4019: enlarge PCIe BAR range
445a78ea3f90 ARM: dts: qcom: ipq4019: Fix MSI IRQ type
df1216d8bc86 ARM: dts: qcom: ipq4019: fix PCI range
2fd4629de519 ext4: protect journal inode's blocks using block_validity
f10a92309b83 media: i2c: tda1997x: select V4L2_FWNODE
4061e662c8e9 cifs: Fix lease buffer length error
df5d4ea2d8be KVM: x86: Always use 32-bit SMRAM save state for 32-bit kernels
7a74d806bdaa x86/kvm: move kvm_load/put_guest_xcr0 into atomic context
163b24b1a68c kvm: mmu: Fix overflow on kvm mmu page limit calculation
feced628c068 IB/mlx5: Reset access mask when looping inside page fault handler
37222eaf7eb7 arm64: dts: stratix10: add the sysmgr-syscon property from the gmac's
3cfce8b77aad usb: typec: tcpm: Try PD-2.0 if sink does not respond to 3.0 source-caps
fba4f7c118e4 drm/i915: Sanity check mmap length against object size
6423a2ad5709 drm/i915: Handle vm_mmap error during I915_GEM_MMAP ioctl with WC set
778d626c6af3 CIFS: Fix leaking locked VFS cache pages in writeback retry
fb2dabeabb17 CIFS: Fix error paths in writeback code
e407b58c3576 drm: add __user attribute to ptr_to_compat()
e1a12c3b6f87 PCI: qcom: Don't deassert reset GPIO during probe
be905d0f2330 PCI: qcom: Fix error handling in runtime PM support
476ecc14cfdb btrfs: init csum_list before possible free
936690bdd8e6 btrfs: scrub: fix circular locking dependency warning
ff55333f5c52 btrfs: scrub: move scrub_setup_ctx allocation out of device_list_mutex
8ba3169dceac btrfs: scrub: pass fs_info to scrub_setup_ctx
df7329207870 mmc: renesas_sdhi: Fix card initialization failure in high speed mode
915c9d0a1d68 powerpc/kvm: Save and restore host AMR/IAMR/UAMOR
b3f864b88256 spi: spi-gpio: fix SPI_CS_HIGH capability
1d60902a5448 x86/kvmclock: set offset for kvm unstable clock
716b0cfa88a5 iwlwifi: add new card for 9260 series
213566a9b0de iwlwifi: fix devices with PCI Device ID 0x34F0 and 11ac RF modules
2b76fcb6ba62 drm/nouveau: Don't WARN_ON VCPI allocation failures
173b6557fcbc mt76: fix corrupted software generated tx CCMP PN
0d7f329e2431 iio: adc: exynos-adc: Use proper number of channels for Exynos4x12
4e516b721a50 dt-bindings: iio: adc: exynos-adc: Add S5PV210 variant
7f588a7262b3 iio: adc: exynos-adc: Add S5PV210 variant
cd490d44150d KVM: VMX: Compare only a single byte for VMCS' "launched" in vCPU-run
687e470e9123 bcache: treat stale && dirty keys as bad keys
d1cec665de2c bcache: replace hard coded number with BUCKET_GC_GEN_MAX
ee30121fbd78 tpm: Fix some name collisions with drivers/char/tpm.h
c207ac66848e mfd: Kconfig: Fix I2C_DESIGNWARE_PLATFORM dependencies
6fd5e50add36 drm/i915/ilk: Fix warning when reading emon_status with no output
2b4f567912ad drm/vblank: Allow dynamic per-crtc max_vblank_count
71f719105462 crypto: ccree - add missing inline qualifier
72eec6b303f4 crypto: ccree - fix resume race condition on init
f0e286550af8 IB/uverbs: Fix OOPs upon device disassociation
8c6fb55abf2c ARC: mm: do_page_fault fixes#1: relinquish mmap_sem if signal arrives while handle_mm_fault
96af7d92d8d2 ARC: show_regs: lockdep: re-enable preemption
424b75b79994 media: vim2m: only cancel work if it is for right context
be77686f0369 btrfs: Use real device structure to verify dev extent
a2790b9939ae btrfs: volumes: Make sure no dev extent is beyond device boundary
cfbf227e0591 powerpc/pkeys: Fix handling of pkey state across fork()
2ad95be18995 scsi: megaraid_sas: Use 63-bit DMA addressing
3263f78640cc scsi: megaraid_sas: Add check for reset adapter bit
dc4e3ec9d226 scsi: megaraid_sas: Fix combined reply queue mode detection
eb124aaa2e85 btrfs: Fix error handling in btrfs_cleanup_ordered_extents
1669d1d2e696 btrfs: Remove extent_io_ops::fill_delalloc
338a528b7922 Btrfs: fix deadlock with memory reclaim during scrub
fac803479f60 Btrfs: clean up scrub is_dev_replace parameter
d3984e80d7f2 KVM: PPC: Book3S HV: Fix race between kvm_unmap_hva_range and MMU mode switch
d88b01d04c6a drm/i915: Cleanup gt powerstate from gem
b185bde520d5 drm/i915: Restore sane defaults for KMS on GEM error load
f999485109d1 media: vim2m: use cancel_delayed_work_sync instead of flush_schedule_work
a7b6f95f3ca6 media: vim2m: use workqueue
e432a58d7a0d s390/zcrypt: reinit ap queue state machine during device probe
a4f404af3ca8 ARM: davinci: dm644x: define gpio interrupts as separate resources
8d6b2b24ca85 ARM: davinci: dm355: define gpio interrupts as separate resources
d31f2b61e7f9 ARM: davinci: dm646x: define gpio interrupts as separate resources
4883e9e66f76 ARM: davinci: dm365: define gpio interrupts as separate resources
0a6c3bdae2c9 ARM: davinci: da8xx: define gpio interrupts as separate resources
016218ef6bb0 drm/amd/dm: Understand why attaching path/tile properties are needed
853dc0759586 drm/amd/pp: Fix truncated clock value when set watermark
5faabd22ed64 powerplay: Respect units on max dcfclk watermark
11bedb2e77a0 Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up
74ff258346e4 Drivers: hv: kvp: Fix the indentation of some "break" statements
e352d8eb9394 drm/atomic_helper: Disallow new modesets on unregistered connectors
cff9e1e33151 drm/i915/gen9+: Fix initial readout for Y tiled framebuffers
8ccbb1d24c26 drm/i915: Rename PLANE_CTL_DECOMPRESSION_ENABLE
4b2dfc0e2d44 drm/i915: Fix intel_dp_mst_best_encoder()
796469e361ed x86/kvm/lapic: preserve gfn_to_hva_cache len on cache reinit
cdad0f65050e KVM: hyperv: define VP assist page helpers
b0d9043bdbe6 KVM: x86: hyperv: keep track of mismatched VP indexes
f031fd03e22e KVM: x86: hyperv: consistently use 'hv_vcpu' for 'struct kvm_vcpu_hv' variables
0b535f7b95af KVM: x86: hyperv: enforce vp_index < KVM_MAX_VCPUS
8e91cc7f7f91 drm/amdgpu: Update gc_9_0 golden settings.
bcc3bd761ab5 drm/amdgpu/gfx9: Update gfx9 golden settings.
2c2cf2245ff6 remoteproc: qcom: q6v5-mss: add SCM probe dependency
4d9707586ec7 x86, hibernate: Fix nosave_regions setup for hibernation
805e0e46eb54 Drivers: hv: kvp: Fix two "this statement may fall through" warnings
3f3beae22842 keys: Fix the use of the C++ keyword "private" in uapi/linux/keyctl.h
bac1c4edb5c4 scsi: qla2xxx: Move log messages before issuing command to firmware
6e087eae89df media: cec: remove cec-edid.c
851308450a8f media: cec/v4l2: move V4L2 specific CEC functions to V4L2
c09d675f294b drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse"
3015291b2fb5 kernel/module: Fix mem leak in module_add_modinfo_attrs
9c49f7811f82 modules: always page-align module section allocations
84ba9ae18fbb remoteproc: qcom: q6v5: shore up resource probe handling
56944c0b9774 clk: s2mps11: Add used attribute to s2mps11_dt_match
480101a4aea2 nvme-fc: use separate work queue to avoid warning
5f147150b753 riscv: remove unused variable in ftrace
8d23872c7539 scripts/decode_stacktrace: match basepath using shell prefix operator, not regex
6c550a5db18f arm64: dts: rockchip: enable usb-host regulators at boot on rk3328-rock64
573370113b24 media: stm32-dcmi: fix irq = 0 case
7f8b23600779 powerpc/64: mark start_here_multiplatform as __ref
85a24825b2e6 x86/ftrace: Fix warning and considate ftrace_jmp_replace() and ftrace_call_replace()
b93aed78eb78 selftests: fib_rule_tests: use pre-defined DEV_ADDR
68829256e1f9 timekeeping: Use proper ktime_add when adding nsecs in coarse offset
1aa38eceb6c0 {nl,mac}80211: fix interface combinations on crypto controlled devices
178d1337a527 blk-iolatency: fix STS_AGAIN handling
5f33e81250a6 Blk-iolatency: warn on negative inflight IO counter
91a71a61da8c hv_sock: Fix hang when a connection is closed
86d5ae21d6b8 batman-adv: Only read OGM tvlv_len after buffer len check
4b5fee457723 batman-adv: fix uninit-value in batadv_netlink_get_ifindex()
47a0f70d7d9a powerpc/tm: Fix FP/VMX unavailable exceptions inside a transaction
6e7040d65a71 vhost/test: fix build for vhost test - again
4f45483faadf vhost/test: fix build for vhost test
dcd22e14780a drm/vmwgfx: Fix double free in vmw_recv_msg()
38d38d1e0cc5 sched/fair: Don't assign runtime for throttled cfs_rq
044ab4715585 ALSA: hda/realtek - Fix the problem of two front mics on a ThinkCentre
849f85bfdf12 ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL
a956998ac1c2 ALSA: hda/realtek - Add quirk for HP Pavilion 15
d11ca2d79334 ALSA: hda/realtek - Fix overridden device-specific initialization
2c4d2ce8b799 ALSA: hda - Fix potential endless loop at applying quirks
(From OE-Core rev: bdc7d1a72bc4b095ae9b26ee9cc861e8e9cb05ab)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 611c7d62d67016942323d2fa4f108774c85dce09)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest -korg -stable relase. A summary of the
changes follows:
ee809c7e0895 Linux 4.19.72
991467a47cf2 Revert "x86/apic: Include the LDR when clearing out APIC registers"
0f134f6e722c libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer
5049632bc958 x86/boot/compressed/64: Fix missing initialization in find_trampoline_placement()
b8727dff55f0 KVM: arm/arm64: VGIC: Properly initialise private IRQ affinity
1a31b0d0ddfa afs: Fix leak in afs_lookup_cell_rcu()
111d36b6fb7e KVM: arm/arm64: Only skip MMIO insn once
b84817d96e0f ceph: fix buffer free while holding i_ceph_lock in fill_inode()
5cd1e3552f0e ceph: fix buffer free while holding i_ceph_lock in __ceph_build_xattrs_blob()
dfb8712c7acc ceph: fix buffer free while holding i_ceph_lock in __ceph_setxattr()
ddb55cc39c70 selftests/kvm: make platform_info_test pass on AMD
6cb9f8d60f8f selftests: kvm: fix state save/load on processors without XSAVE
08c2052815e3 infiniband: hfi1: fix memory leaks
d1b7f3252d56 infiniband: hfi1: fix a memory leak bug
adb87027b5ff IB/mlx4: Fix memory leaks
5e416b11b4a9 nvme-multipath: fix possible I/O hang when paths are updated
5bbebceec61d Tools: hv: kvp: eliminate 'may be used uninitialized' warning
1d42e40fe3c5 Input: hyperv-keyboard: Use in-place iterator API in the channel callback
e02aac3edb46 x86/boot/compressed/64: Fix boot on machines with broken E820 table
05d611c4ffb7 HID: cp2112: prevent sleeping function called from invalid context
5e1d50a3eafe kprobes: Fix potential deadlock in kprobe_optimizer()
a5839b6b3a79 ravb: Fix use-after-free ravb_tstamp_skb
54eac3997ee4 wimax/i2400m: fix a memory leak bug
7506e8c4bec8 net: cavium: fix driver name
ea78dc8b5e66 ibmvnic: Unmap DMA address of TX descriptor buffers after use
4fcb9b3f263e net: kalmia: fix memory leaks
1ad45d0f69d2 cx82310_eth: fix a memory leak bug
ac3cc25f380b vfs: fix page locking deadlocks when deduping files
9ea1feadf5e0 lan78xx: Fix memory leaks
375ab446ec76 net: myri10ge: fix memory leaks
f13b7ec5e1c5 liquidio: add cleanup in octeon_setup_iq()
2c3dd20f852a cxgb4: fix a memory leak bug
b8cd0b7b09ed scsi: target: tcmu: avoid use-after-free after command timeout
6c9a1e17d063 scsi: qla2xxx: Fix gnl.l memory leak on adapter init failure
b3496367d9cb drm/mediatek: set DMA max segment size
c9f595453bc3 drm/mediatek: use correct device to import PRIME buffers
a54fa5dff8cd netfilter: nft_flow_offload: skip tcp rst and fin packets
6052090280b8 gpio: Fix build error of function redefinition
cc8aa6155611 ibmveth: Convert multicast list size for little-endian system
32e912b91b5d Bluetooth: btqca: Add a short delay before downloading the NVM
7b7a11549dc1 net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx
752832f2e8c9 hv_netvsc: Fix a warning of suspicious RCU usage
463d87bc13ff tools: bpftool: fix error message (prog -> object)
5776970fb4ec netfilter: nf_tables: use-after-free in failing rule with bound set
d22ed7b72acf net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq in IRQ context
3ddda4f3114b spi: bcm2835aux: fix corruptions for longer spi transfers
fe49c3de7372 spi: bcm2835aux: remove dangerous uncontrolled read of fifo
a4a9ee79036b spi: bcm2835aux: unifying code between polling and interrupt driven code
ee271ead3b61 x86/boot: Preserve boot_params.secure_boot from sanitizing
9484203d254d net/rds: Fix info leak in rds6_inc_info_copy()
5977bc19ce7f tcp: remove empty skb from write queue in error cases
6f3126379879 tcp: inherit timestamp on mtu probe
6f8348f63706 net: stmmac: dwmac-rk: Don't fail if phy regulator is absent
38166934f89c net_sched: fix a NULL pointer deref in ipt action
5ff0ab0c668b net: sched: act_sample: fix psample group handling on overwrite
6a2bd8261630 net: fix skb use after free in netpoll
8a5d27eaba68 mld: fix memory leak in mld_del_delrec()
e7d2672c66e4 Linux 4.19.71
72168ae78629 Revert "Input: elantech - enable SMBus on new (2018+) systems"
0fed55c248d9 Linux 4.19.70
9854d089f790 Revert "ASoC: Fail card instantiation if DAI format setup fails"
e064466cb614 mt76: mt76x0u: do not reset radio on resume
b307f99dca5a x86/ptrace: fix up botched merge of spectrev1 fix
3b26fa9e3ec3 i2c: piix4: Fix port selection for AMD Family 16h Model 30h
4f4be79c9ee7 NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0
b5891b624b9a NFS: Pass error information to the pgio error cleanup routine
812de6dee596 NFSv4/pnfs: Fix a page lock leak in nfs_pageio_resend()
57c491fd844d NFS: Clean up list moves of struct nfs_page
79f1b33c53a0 KVM: arm/arm64: vgic-v2: Handle SGI bits in GICD_I{S,C}PENDR0 as WI
ab8ecc278dc8 KVM: arm/arm64: vgic: Fix potential deadlock when ap_list is long
db1841a2dd4c KVM: PPC: Book3S: Fix incorrect guest-to-user-translation error handling
938e383738d9 mac80211: Correctly set noencrypt for PAE frames
4f139c0376fb mac80211: Don't memset RXCB prior to PAE intercept
58f91aac4dfe mac80211: fix possible sta leak
945b35972803 Revert "cfg80211: fix processing world regdomain when non modular"
690a424838ca crypto: ccp - Ignore unconfigured CCP device on suspend/resume
4e77b2ea941b VMCI: Release resource if the work is already queued
2a964875def7 bus: hisi_lpc: Add .remove method to avoid driver unbind crash
649532efef46 bus: hisi_lpc: Unregister logical PIO range to avoid potential use-after-free
68b58d392464 drm/i915: Call dma_set_max_seg_size() in i915_driver_hw_probe()
c7615333645d drm/i915: Don't deballoon unused ggtt drm_mm_node in linux guest
6d3003f56449 drm/amdgpu: Add APTX quirk for Dell Latitude 5495
c4616a9b3d3f lib: logic_pio: Add logic_pio_unregister_range()
7faef13e6f68 lib: logic_pio: Avoid possible overlap for unregistering regions
b865c2c6e3f2 lib: logic_pio: Fix RCU usage
79829fc4ff33 fsi: scom: Don't abort operations for minor errors
e44840b7320c typec: tcpm: fix a typo in the comparison of pdo_max_voltage
e91c9c119dba intel_th: pci: Add Tiger Lake support
ce1c894e1e89 intel_th: pci: Add support for another Lewisburg PCH
cad1d3bfdd5d stm class: Fix a double free of stm_source_device
abc42341b6c4 mmc: core: Fix init of SD cards reporting an invalid VDD range
1ecc65e1418b mmc: sdhci-of-at91: add quirk for broken HS200
be8e9fa67ea7 mei: me: add Tiger Lake point LP device ID
5ed36421af24 USB: storage: ums-realtek: Whitelist auto-delink support
f79d1598968b USB: storage: ums-realtek: Update module parameter description for auto_delink_en
f46fd68a541f usb: host: xhci: rcar: Fix typo in compatible string matching
7af7737491ce usb: host: ohci: fix a race condition between shutdown and irq
a209827549da usb: chipidea: udc: don't do hardware access if gadget has stopped
97bec7afb98f usb: hcd: use managed device resources
ebad9fd106da USB: cdc-wdm: fix race between write and disconnect due to flag abuse
cbf5a279a22d usb-storage: Add new JMS567 revision to unusual_devs
8ea639525db6 ftrace: Check for empty hash and comment the race with registering probes
9d98e0f4859d ftrace: Check for successful allocation of hash
f184b16748f4 ftrace: Fix NULL pointer dereference in t_probe_next()
edc454cd5a04 x86/apic: Include the LDR when clearing out APIC registers
959832657c03 x86/apic: Do not initialize LDR and DFR for bigsmp
941d875cd44a uprobes/x86: Fix detection of 32-bit user mode
3c2b4827798e KVM: x86: Don't update RIP or do single-step on faulting emulation
3ec35109c80a kvm: x86: skip populating logical dest map if apic is not sw enabled
cbd905dac535 ALSA: usb-audio: Add implicit fb quirk for Behringer UFX1604
b5d1f31d97af ALSA: usb-audio: Fix invalid NULL check in snd_emuusb_set_samplerate()
98a2017c4a17 ALSA: seq: Fix potential concurrent access to the deleted pool
842317de9797 ALSA: hda - Fixes inverted Conexant GPIO mic mute led
5ef43bdc7321 ALSA: line6: Fix memory leak at line6_init_pcm() error path
c94c0bf878bf ALSA: usb-audio: Check mixer unit bitmap yet more strictly
5dd2db1ab006 mm/zsmalloc.c: fix build when CONFIG_COMPACTION=n
9febfd30aede ipv4/icmp: fix rt dst dev null pointer dereference
0a6a9c473080 tcp: make sure EPOLLOUT wont be missed
3e79bd1e4f9a net/smc: make sure EPOLLOUT is raised
ff129837a5f6 ipv6: Default fib6_type to RTN_UNICAST when not set
02127bdfee97 ipv6/addrconf: allow adding multicast addr if IFA_F_MCAUTOJOIN is set
a1407b26a6ed net: tls, fix sk_write_space NULL write when tx disabled
fdc4400e9628 net/tls: swap sk_write_space on close
f7009bbaff54 net/tls: Fixed return value when tls_complete_pending_work() fails
dc066fd0d073 drm/tilcdc: Register cpufreq notifier after we have initialized crtc
eba86f0a909f scsi: ufs: Fix RX_TERMINATION_FORCE_ENABLE define value
edd40f54736d drm/bridge: tfp410: fix memleak in get_modes()
2fa7c944e11f watchdog: bcm2835_wdt: Fix module autoload
a3eb2eba2f79 drm/i915: fix broadwell EU computation
c61c7246dc1f tools: hv: fix KVP and VSS daemons exit code
0c39d818aae4 tools: hv: fixed Python pep8/flake8 warnings for lsvmbus
39ad18a042ab usb: host: fotg2: restart hcd after port reset
37654abed26f drm/ast: Fixed reboot test may cause system hanged
1cc2ef1cfbd8 i2c: emev2: avoid race when unregistering slave client
7048cd814f4e i2c: rcar: avoid race when unregistering slave client
8bd5426889c2 arm64: cpufeature: Don't treat granule sizes as strict
eb535aaf3cd7 xen/blkback: fix memory leaks
339c1572a266 usb: gadget: mass_storage: Fix races between fsg_disable and fsg_set_alt
122ab8ea641c usb: gadget: composite: Clear "suspended" on reset/disconnect
21ec20f62fae iommu/dma: Handle SG length overflow better
7f4b81365e83 omap-dma/omap_vout_vrfb: fix off-by-one fi value
71d24f45f905 dmaengine: stm32-mdma: Fix a possible null-pointer dereference in stm32_mdma_irq_handler()
377ebe613ed8 auxdisplay: panel: need to delete scan_timer when misc_register fails in panel_attach
2f87eb895ebd soundwire: cadence_master: fix definitions for INTSTAT0/1
29b064d300a2 soundwire: cadence_master: fix register definition for SLAVE_STATE
4a9829195d9e nvme-pci: Fix async probe remove race
431f579a5349 nvme: fix a possible deadlock when passthru commands sent to a multipath device
32c0b8f10351 nvmet-loop: Flush nvme_delete_wq when removing the port
9c55dc85d890 afs: Only update d_fsdata if different in afs_d_revalidate()
24e093b96905 fs: afs: Fix a possible null-pointer dereference in afs_put_read()
8e5179f982f9 afs: Fix loop index mixup in afs_deliver_vl_get_entry_by_name_u()
dfc438c0bc6d afs: Fix the CB.ProbeUuid service handler to reply correctly
7436dc2adeff nvme-multipath: revalidate nvme_ns_head gendisk in nvme_validate_ns
2013d6ec0bc0 dmaengine: ste_dma40: fix unneeded variable warning
97ab07e11fbf Linux 4.19.69
6d47174198ac rxrpc: Fix local refcounting
ce3f9e194d25 rxrpc: Fix local endpoint replacement
a05354cbb822 rxrpc: Fix read-after-free in rxrpc_queue_local()
f28023c4eedc rxrpc: Fix local endpoint refcounting
32df8a30b734 powerpc: Allow flush_(inval_)dcache_range to work across ranges >4GB
0d5e34c1e263 dm zoned: fix potential NULL dereference in dmz_do_reclaim()
655bb2c4ace4 xfs: always rejoin held resources during defer roll
83a8e6b2f2e3 xfs: Add attibute remove and helper functions
b21ff6cfcc24 xfs: Add attibute set and helper functions
b3a248f2307c xfs: Add helper function xfs_attr_try_sf_addname
a9912f346bdc xfs: Move fs/xfs/xfs_attr.h to fs/xfs/libxfs/xfs_attr.h
17c2b7af71f2 xfs: don't trip over uninitialized buffer on extent read of corrupted inode
11f85d4d77af xfs: fix missing ILOCK unlock when xfs_setattr_nonsize fails due to EDQUOT
ed11e6003314 mm/zsmalloc.c: fix race condition in zs_destroy_pool
b30a2f608e94 mm/zsmalloc.c: migration can leave pages in ZS_EMPTY indefinitely
db67ac031655 mm, page_owner: handle THP splits correctly
42731deff2ea genirq: Properly pair kobject_del() with kobject_add()
c14fe4e8fd01 dm zoned: properly handle backing device failure
4530f2f1a79a dm zoned: improve error handling in i/o map code
8b7c17bb2753 dm zoned: improve error handling in reclaim
ded8e524cfa6 dm table: fix invalid memory accesses with too high sector number
53e73d1079d7 dm space map metadata: fix missing store of apply_bops() return value
2cff6c87a0dc dm raid: add missing cleanup in raid_ctr()
795b0572729b dm integrity: fix a crash due to BUG_ON in __journal_read_write()
8114012de6c1 dm btree: fix order of block initialization in btree_split_beneath
e0fb8135de9e dm kcopyd: always complete failed jobs
f7d157f33001 x86/boot: Fix boot regression caused by bootparam sanitizing
d955601166f8 x86/boot: Save fields explicitly, zero out everything else
e063b03b451a x86/CPU/AMD: Clear RDRAND CPUID bit on AMD family 15h/16h
685e598e447e x86/apic: Handle missing global clockevent gracefully
f9747104a5c8 x86/retpoline: Don't clobber RFLAGS during CALL_NOSPEC on i386
cf13e30c58d4 userfaultfd_release: always remove uffd flags and clear vm_userfaultfd_ctx
a6f236e1bd97 Drivers: hv: vmbus: Fix virt_to_hvpfn() for X86_PAE
3783c7ee9920 gpiolib: never report open-drain/source lines as 'input' to user-space
f88c31b43bab drm/nouveau: Don't retry infinitely when receiving no data on i2c over AUX
51f6afddb147 libceph: fix PG split vs OSD (re)connect race
f2951720629e ceph: don't try fill file_lock on unsuccessful GETFILELOCK reply
7bed2889cd18 ceph: clear page dirty before invalidate page
a8f7703f2213 clk: socfpga: stratix10: fix rate caclulationg for cnt_clks
b608a5a238d5 Revert "dm bufio: fix deadlock with loop device"
375c6c72f56c HID: wacom: Correct distance scale for 2nd-gen Intuos devices
8317fe4a3906 HID: wacom: correct misreported EKR ring values
3c4b283a0deb selftests: kvm: Adding config fragments
ef61b79017ff KVM: arm: Don't write junk to CP15 registers on reset
d5cb5b493030 KVM: arm64: Don't write junk to sysregs on reset
590549487679 perf pmu-events: Fix missing "cpu_clk_unhalted.core" event
06ed429b9018 perf cpumap: Fix writing to illegal memory in handling cpumap mask
e49cfed0a8cb perf ftrace: Fix failure to set cpumask when only one cpu is present
7aa8dfa450b4 block, bfq: handle NULL return value by bfq_init_rq()
fa6f4687805a drm/vmwgfx: fix memory leak when too many retries have occurred
923de016dc88 x86/lib/cpu: Address missing prototypes warning
3ca013cd63be libata: add SG safety checks in SFF pio transfers
3b84bbef51c4 libata: have ata_scsi_rw_xlat() fail invalid passthrough requests
e0c030221b1f net: hisilicon: Fix dma_map_single failed on arm64
4ab3052568e5 net: hisilicon: fix hip04-xmit never return TX_BUSY
09ec5bf10749 net: hisilicon: make hip04_tx_reclaim non-reentrant
b8d03c79e403 net: stmmac: tc: Do not return a fragment entry
b6cd6d18423e net: stmmac: Fix issues when number of Queues >= 4
45e7e4e66b08 net: cxgb3_main: Fix a resource leak in a error path in 'init_one()'
db106f695414 s390: put _stext and _etext into .text section
33bdea175df0 SMB3: Kernel oops mounting a encryptData share with CONFIG_DEBUG_VIRTUAL
fab5a1fd17a6 SMB3: Fix potential memory leak when processing compound chain
6cb4997861c8 drm/rockchip: Suspend DP late
1c6ca0921705 HID: input: fix a4tech horizontal wheel custom usage
f6f9c4491ec5 HID: quirks: Set the INCREMENT_USAGE_ON_DUPLICATE quirk on Saitek X52
b6fb2f5b33f2 NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts
66daeec347f0 NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim()
d1ba0b81e709 net/ethernet/qlogic/qed: force the string buffer NULL-terminated
35d9e9211baf can: peak_usb: force the string buffer NULL-terminated
895c8fcfedad can: sja1000: force the string buffer NULL-terminated
a3d1263c9b03 perf bench numa: Fix cpu0 binding
4533d08b6528 net: phy: phy_led_triggers: Fix a possible null-pointer dereference in phy_led_trigger_change_speed()
07efe13b95ab isdn: hfcsusb: Fix mISDN driver crash caused by transfer buffer on the stack
4db2043eec46 rxrpc: Fix the lack of notification when sendmsg() fails on a DATA packet
0d68fbc2d07b rxrpc: Fix potential deadlock
63dd147e7af0 netfilter: ipset: Fix rename concurrency with listing
ea08214d8cd0 netfilter: ipset: Copy the right MAC address in bitmap:ip,mac and hash:ip,mac sets
5a072ef6a296 netfilter: ipset: Actually allow destination MAC address for hash:ip,mac sets too
ba42212ac0a0 mac80211_hwsim: Fix possible null-pointer dereferences in hwsim_dump_radio_nl()
32cbe03539ac isdn: mISDN: hfcsusb: Fix possible null-pointer dereferences in start_isoc_chain()
8a24df575c97 qed: RDMA - Fix the hw_ver returned in device attributes
cb64e86ee0d1 net: usb: qmi_wwan: Add the BroadMobi BM818 card
bfa713f5cec5 ASoC: ti: davinci-mcasp: Correct slot_width posed constraint
dd0ff288e344 ASoC: rockchip: Fix mono capture
c5cb10632c0f st_nci_hci_connectivity_event_received: null check the allocation
0d73ba88f466 st21nfca_connectivity_event_received: null check the allocation
714a8438fc8a ASoC: Fail card instantiation if DAI format setup fails
bd2f4c7c2d6a can: gw: Fix error path of cgw_module_init
3257103502cf can: mcp251x: add error check when wq alloc failed
dbf790dcb8a9 can: dev: call netif_carrier_off() in register_candev()
43d31fd9a8f2 selftests: forwarding: gre_multipath: Fix flower filters
ef52e2b9a621 selftests: forwarding: gre_multipath: Enable IPv4 forwarding
192bbe9d57ed net: mvpp2: Don't check for 3 consecutive Idle frames for 10G links
a1e5a76db8dd bonding: Force slave speed check after link state recovery for 802.3ad
b7038c195fd1 selftests/bpf: fix sendmsg6_prog on s390
e6dc6409f474 ASoC: dapm: Fix handling of custom_stop_condition on DAPM graph walks
71305e8ee503 netfilter: ebtables: fix a memory leak bug in compat
70b4edd74b6d mips: fix cacheinfo
326175aa28fd MIPS: kernel: only use i8253 clocksource with periodic clockevent
a6067c6e630f HID: Add 044f:b320 ThrustMaster, Inc. 2 in 1 DT
def4c11b3131 Linux 4.19.68
7c13983a2860 mmc: sdhci-of-arasan: Do now show error message in case of deffered probe
447f5f48f4fa net/mlx5e: Use flow keys dissector to parse packets for ARFS
fbd8ab680675 net/mlx5e: Only support tx/rx pause setting for port owner
b3410f0f8505 xen/netback: Reset nr_frags before freeing skb
cc4ff0f4f564 tipc: initialise addr_trail_end when setting node addresses
e89bb758c030 team: Add vlan tx offload to hw_enc_features
eeb148d20819 sctp: fix the transport error_count check
227f204ad197 sctp: fix memleak in sctp_send_reset_streams
154e6bc497c9 net/packet: fix race in tpacket_snd()
f588dccfc137 net/mlx4_en: fix a memory leak bug
8905a249448c net: dsa: Check existence of .port_mdb_add callback before calling it
d61d8ea9ca12 bonding: Add vlan tx offload to hw_enc_features
40933af400c5 bnx2x: Fix VF's VLAN reconfiguration in reload.
03d54393e3d7 iommu/amd: Move iommu_init_pci() to .init section
62e023ddd01a Input: psmouse - fix build error of multiple definition
28ff7d3b3fda netfilter: conntrack: Use consistent ct id hash calculation
30b9da0ec2a2 arm64: ftrace: Ensure module ftrace trampoline is coherent with I-side
a1cd2f7015bd dm: disable DISCARD if the underlying storage no longer supports it
4af28b2f19b0 drm/i915/cfl: Add a new CFL PCI ID.
3ca5b7b4afee USB: serial: option: Add Motorola modem UARTs
e480d6cf6f79 USB: serial: option: add the BroadMobi BM818 card
8175fa2987a6 USB: serial: option: Add support for ZTE MF871A
afb677b29995 USB: serial: option: add D-Link DWM-222 device ID
487d66ae8f45 USB: CDC: fix sanity checks in CDC union parser
c02c0249ce55 usb: cdc-acm: make sure a refcount is taken early enough
f417f9715f4c usb: gadget: udc: renesas_usb3: Fix sysfs interface of "role"
7f52d6d2a82d USB: core: Fix races in character device registration and deregistraion
367d103a4a93 iio: adc: max9611: Fix temperature reading in probe
dac96992f00a staging: comedi: dt3000: Fix rounding up of timer divisor
2e394bcfdcf3 staging: comedi: dt3000: Fix signed integer overflow 'divider * base'
8c7053d162d9 KVM: arm/arm64: Sync ICH_VMCR_EL2 back when about to block
c8d95668c4ca arm64: KVM: regmap: Fix unexpected switch fall-through
0755b6b152cb asm-generic: fix -Wtype-limits compiler warnings
7113a1bc19fa ocfs2: remove set but not used variable 'last_hash'
01d8d08f4cd4 Revert "kmemleak: allow to coexist with fault injection"
cf9a18d7bcd0 drm/exynos: fix missing decrement of retry counter
c256729f2695 drm: msm: Fix add_gpu_components
b4f0fee7f77c IB/mad: Fix use-after-free in ib mad completion handling
a0258ff4993f IB/mlx5: Fix MR registration flow to use UMR properly
efb742ce4e27 IB/core: Add mitigation for Spectre V1
4a0d2eeea27a arm64/mm: fix variable 'pud' set but not used
6af9263f685d arm64: unwind: Prohibit probing on return_address()
ffb1a76d1c29 arm64/efi: fix variable 'si' set but not used
48522289bf50 kbuild: Check for unknown options with cc-option usage in Kconfig and clang
b3aebdd46d63 kbuild: modpost: handle KBUILD_EXTRA_SYMBOLS only for external modules
23bc01f0d955 ata: libahci: do not complain in case of deferred probe
68340db992f6 drm/amdgpu: fix a potential information leaking bug
02d4fe0193d5 scsi: qla2xxx: Fix possible fcport null-pointer dereferences
3435e025ed71 scsi: hpsa: correct scsi command status issue after reset
f833deae2a06 Btrfs: fix deadlock between fiemap and transaction commits
202aa96f052a drm/bridge: lvds-encoder: Fix build error while CONFIG_DRM_KMS_HELPER=m
f69fd790edf7 libata: zpodd: Fix small read overflow in zpodd_get_mech_type()
0a19fff567a0 perf header: Fix use of unitialized value warning
ab5aa579ca82 perf header: Fix divide by zero error if f_header.attr_size==0
a5e40452c916 irqchip/irq-imx-gpcv2: Forward irq type to parent
dcb73180de61 irqchip/gic-v3-its: Free unused vpt_page when alloc vpe table fail
e72e6ba17ab4 xen/pciback: remove set but not used variable 'old_state'
ca5b26a8f1d8 clk: renesas: cpg-mssr: Fix reset control race condition
af2ed1a05a7a clk: sprd: Select REGMAP_MMIO to avoid compile errors
3e5f29b66675 clk: at91: generated: Truncate divisor to GENERATED_MAX_DIV + 1
28fd9b37b6bb riscv: Make __fstate_clean() work correctly.
cef0e9eb2231 netfilter: ebtables: also count base chain policies
07d92caeb945 net: usb: pegasus: fix improper read if get_registers() fail
f13de3d677d1 Input: iforce - add sanity checks
08b3af00a161 Input: kbtab - sanity check for endpoint type
b545dc9debe6 HID: hiddev: do cleanup in failure of opening a device
0aab1a4653a6 HID: hiddev: avoid opening a disconnected device
537d957b144f HID: holtek: test for sanity of intfdata
9585f4440cec ALSA: hda - Let all conexant codec enter D3 when rebooting
e58ba88d6c60 ALSA: hda - Add a generic reboot_notify
6c4a536ca97b ALSA: hda - Fix a memory leak bug
1bf5f827564c ALSA: hda - Apply workaround for another AMD chip 1022:1487
58b9f19ee438 ALSA: usb-audio: Fix an OOB bug in parse_audio_mixer_unit
46f9a1bc60a4 ALSA: usb-audio: Fix a stack buffer overflow bug in check_input_term
d5bb12402805 ALSA: hda/realtek - Add quirk for HP Envy x360
61f6ecb75845 xtensa: add missing isync to the cpu_reset TLB code
7c001e5aab6d cpufreq: schedutil: Don't skip freq update when limits change
7f68aa2e3e1b Revert "pwm: Set class for exported channels in sysfs"
056368fc3ef7 mm/usercopy: use memory range to be accessed for wraparound check
c8282f1b5653 mm/memcontrol.c: fix use after free in mem_cgroup_iter()
3c0cb90e9212 mm: mempolicy: handle vma with unmovable pages mapped correctly in mbind
cd825d87140d mm: mempolicy: make the behavior consistent when MPOL_MF_MOVE* and MPOL_MF_STRICT were specified
f0fed8283deb mm/hmm: fix bad subpage pointer in try_to_unmap_one
3858cca150c6 seq_file: fix problem when seeking mid-record
50d15197254a sh: kernel: hw_breakpoint: Fix missing break in switch statement
a5aa80588fcd Linux 4.19.67
ac2951114955 iwlwifi: mvm: fix version check for GEO_TX_POWER_LIMIT support
6a81677a2e65 iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT on version < 41
80bac45e3ad8 iwlwifi: mvm: fix an out-of-bound access
7626b510fc77 iwlwifi: don't unmap as page memory that was mapped as single
b38c56b76dcc mwifiex: fix 802.11n/WPA detection
2bc73d914114 KVM: Fix leak vCPU's VMCS value into other pCPU
d1489f0b4de7 NFSv4: Fix an Oops in nfs4_do_setattr
898c19f1b4c8 smb3: send CAP_DFS capability during session setup
50831f1a2f57 SMB3: Fix deadlock in validate negotiate hits reconnect
2afa6c13e498 dax: dax_layout_busy_page() should not unmap cow pages
a566750c3a78 mac80211: don't WARN on short WMM parameters from AP
af9d64f871cf ALSA: hda - Workaround for crackled sound on AMD controller (1022:1457)
06f0bcaceb8c ALSA: hda - Don't override global PCM hw info flag
1c286e4e13f2 ALSA: hiface: fix multiple memory leak bugs
bc972b6b52e2 ALSA: firewire: fix a memory leak bug
edc388566a1d drm/i915: Fix wrong escape clock divisor init for GLK
a73027204ac5 hwmon: (nct7802) Fix wrong detection of in4 presence
9ce1b3eb5489 can: peak_usb: pcan_usb_fd: Fix info-leaks to USB devices
cab569a44a52 can: peak_usb: pcan_usb_pro: Fix info-leaks to USB devices
d4d904e4e258 ALSA: usb-audio: fix a memory leak bug
e0d262a57fc7 x86/purgatory: Do not use __builtin_memcpy and __builtin_memset
118293070096 HID: sony: Fix race condition between rumble and device remove.
5c4689cbe95a s390/dma: provide proper ARCH_ZONE_DMA_BITS value
d768173982ec perf/core: Fix creating kernel counters for PMUs that override event->cpu
06dc92142b5e tty/ldsem, locking/rwsem: Add missing ACQUIRE to read_failed sleep loop
0ba69e96cc62 test_firmware: fix a memory leak bug
cdd92ebe29c2 scsi: scsi_dh_alua: always use a 2 second delay before retrying RTPG
b620c6d5779a scsi: ibmvfc: fix WARN_ON during event pool release
f254faed4153 scsi: megaraid_sas: fix panic on loading firmware crashdump
bb41940c89bd ARM: dts: bcm: bcm47094: add missing #cells for mdio-bus-mux
19e7df3e4fe7 ARM: davinci: fix sleep.S build error on ARMv4
bdce5621e6b0 nvme: fix multipath crash when ANA is deactivated
b1689742ff4a ACPI/IORT: Fix off-by-one check in iort_dev_find_its_id()
38c919ec7b30 drbd: dynamically allocate shash descriptor
f4e2d182d6a6 perf probe: Avoid calling freeing routine multiple times for same pointer
101a155436fe perf tools: Fix proper buffer size for feature processing
b065f404c946 ALSA: compress: Be more restrictive about when a drain is allowed
30dd700da7de ALSA: compress: Don't allow paritial drain operations on capture streams
f1ea9a638770 ALSA: compress: Prevent bypasses of set_params
b9e2fa1e15b7 ALSA: compress: Fix regression on compressed capture streams
77868c0003cc s390/qdio: add sanity checks to the fast-requeue path
8729fe83b0d5 cpufreq/pasemi: fix use-after-free in pas_cpufreq_cpu_init()
991c4756be69 drm: silence variable 'conn' set but not used
ca1b1940a32a hwmon: (nct6775) Fix register address and added missed tolerance for nct6106
56dc57c705ef allocate_flower_entry: should check for null deref
f4cfdd46b356 mac80211: don't warn about CW params when not using them
f2fd89817212 nl80211: fix NL80211_HE_MAX_CAPABILITY_LEN
492c158ab2c0 iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND
8d641499bf96 drm/amd/display: Increase size of audios array
f9420bfa29f9 drm/amd/display: Only enable audio if speaker allocation exists
3998e684463a drm/amd/display: Fix dc_create failure handling and 666 color depths
e7a8a794109c drm/amd/display: use encoder's engine id to find matched free audio device
2a5e21adc71b drm/amd/display: Wait for backlight programming completion in set backlight level
056af94d6e10 scripts/sphinx-pre-install: fix script for RHEL/CentOS
36b6458d8541 netfilter: nft_hash: fix symhash with modulus one
6f1d7f0d6689 netfilter: conntrack: always store window size un-scaled
307b6e5d90dc netfilter: Fix rpfilter dropping vrf packets by mistake
6f9dff8d1d58 vfio-ccw: Set pa_nr to 0 if memory allocation fails for pa_iova_pfn
bb312b4aa8b0 netfilter: nfnetlink: avoid deadlock due to synchronous request_module
f61c4d3a1f18 can: peak_usb: fix potential double kfree_skb()
0e9038a26c9b can: rcar_canfd: fix possible IRQ storm on high load
9479a0589923 usb: typec: tcpm: Ignore unsupported/unknown alternate mode requests
3f524b631db7 usb: typec: tcpm: Add NULL check before dereferencing config
bbc2e8206012 usb: typec: tcpm: remove tcpm dir if no children
2ec5c9b785f4 usb: typec: tcpm: free log buf memory when remove debug file
33f2240acfa8 usb: yurex: Fix use-after-free in yurex_delete
49888a4f0ebc usb: host: xhci-rcar: Fix timeout in xhci_suspend()
21344f0575f0 gfs2: gfs2_walk_metadata fix
b674f7914a64 x86/purgatory: Use CFLAGS_REMOVE rather than reset KBUILD_CFLAGS
0a9e41e27659 perf record: Fix module size on s390
f1f662894361 perf db-export: Fix thread__exec_comm()
532db2b9756a perf annotate: Fix s390 gap between kernel end and module start
46b306f3cd7b mm/vmalloc: Sync unmappings in __purge_vmap_area_lazy()
9935d7ed8406 x86/mm: Sync also unmappings in vmalloc_sync_all()
dd524d488f5b x86/mm: Check for pfn instead of page in vmalloc_sync_one()
b8a2169bcad8 Input: synaptics - enable RMI mode for HP Spectre X360
3d180fe5cd76 Input: elantech - enable SMBus on new (2018+) systems
ce7d4fe4e52b Input: usbtouchscreen - initialize PM mutex before using it
c9a1c10487b9 loop: set PF_MEMALLOC_NOIO for the worker thread
d79d76f2bbb0 mmc: cavium: Add the missing dma unmap when the dma has finished.
fd3f902dd1d5 mmc: cavium: Set the correct dma max segment size for mmc_host
9575ba61ba19 sound: fix a memory leak bug
d397091dbac0 usb: iowarrior: fix deadlock on disconnect
b43611cd762c usb: usbfs: fix double-free of usb memory upon submiturb error
6dbc3b74daeb crypto: ccp - Ignore tag length when decrypting GCM ciphertext
30692edea30d crypto: ccp - Add support for valid authsize values less than 16
1c4393df3622 crypto: ccp - Fix oops by properly managing allocated structures
b9de21575a20 staging: android: ion: Bail out upon SIGKILL when allocating memory.
6b8f93b5a4f7 staging: gasket: apex: fix copy-paste typo
fcab37830177 iio: adc: max9611: Fix misuse of GENMASK macro
805bd34ac269 iio: cros_ec_accel_legacy: Fix incorrect channel setting
893af1c79e42 Linux 4.19.66
48fcdaba7b0d spi: bcm2835: Fix 3-wire mode if DMA is enabled
ebda41dd170f cgroup: Fix css_task_iter_advance_css_set() cset skip condition
0a9abd277819 cgroup: css_task_iter_skip()'d iterators must be advanced before accessed
4340d175b898 cgroup: Include dying leaders with live threads in PROCS iterations
370b9e6399da cgroup: Implement css_task_iter_skip()
7528e95b7519 cgroup: Call cgroup_release() before __exit_signal()
e6e9bcef12ca compat_ioctl: pppoe: fix PPPOEIOCSFWD handling
473430ed6117 r8169: don't use MSI before RTL8168d
0ccf47265e4c net/mlx5e: Prevent encap flow counter update async to user query
cd84a10792f0 net/mlx5: Fix modify_cq_in alignment
f378724e10ce tun: mark small packets as owned by the tap sock
5295d6515485 tipc: compat: allow tipc commands without arguments
eaa34bd4f7b5 ocelot: Cancel delayed work before wq destruction
cd7f02fecac1 NFC: nfcmrvl: fix gpio-handling regression
ce58a3655121 net/smc: do not schedule tx_work in SMC_CLOSED state
51d240a144a5 net: sched: use temporary variable for actions indexes
cb20f74135df net sched: update vlan action for batched events operations
d82dc254b967 net: sched: Fix a possible null-pointer dereference in dequeue_func()
44b96a38c2b5 net: qualcomm: rmnet: Fix incorrect UL checksum offload logic
c8b05980c4bf net: phylink: Fix flow control for fixed-link
4dddd08b571d net/mlx5: Use reversed order when unregister devices
858f82c63667 net/mlx5e: always initialize frag->last_in_page
edb7ad69c439 net: fix ifindex collision during namespace removal
a19d4e34f092 net: bridge: mcast: don't delete permanent entries when fast leave is enabled
639239be11ad net: bridge: delete local fdb on device init failure
b3645a487373 mvpp2: refactor MTU change code
ffab47bf69df mvpp2: fix panic on module removal
3c46905fb182 mlxsw: spectrum: Fix error path in mlxsw_sp_module_init()
f186fb5ccf69 ipip: validate header length in ipip_tunnel_xmit
1bb2dd37cb87 ip6_tunnel: fix possible use-after-free on xmit
fdcefa46c5c2 ip6_gre: reload ipv6h in prepare_ip6gre_xmit_ipv6
c4c8899376c2 ife: error out when nla attributes are empty
774358df88f7 bnx2x: Disable multi-cos feature.
cb4626784f39 atm: iphase: Fix Spectre v1 vulnerability
8440cdc77577 IB: directly cast the sockaddr union to aockaddr
608cfdfa9eb7 HID: Add quirk for HP X1200 PIXART OEM mouse
e830c2c3c174 HID: wacom: fix bit shift for Cintiq Companion 2
2364ed0d8ed1 libnvdimm/bus: Fix wait_nvdimm_bus_probe_idle() ABBA deadlock
7f000e7b4490 libnvdimm/bus: Prepare the nd_ioctl() path to be re-entrant
3248536919c1 libnvdimm/region: Register badblocks before namespaces
d16bbdbbcb50 libnvdimm/bus: Prevent duplicate device_unregister() calls
c23106d4276d drivers/base: Introduce kill_device()
7c43f84efd6d driver core: Establish order of operations for device_add and device_del via bitflag
a152a7b411a5 gcc-9: don't warn about uninitialized variable
93d6f0841eef scsi: fcoe: Embed fc_rport_priv in fcoe_rport structure
cc4c818b2219 Linux 4.19.65
7634b9cd27e8 Documentation: Add swapgs description to the Spectre v1 documentation
b88241aef6f1 x86/speculation/swapgs: Exclude ATOMs from speculation through SWAPGS
931b6bfe8af1 x86/entry/64: Use JMP instead of JMPQ
23e7a7b3a75f x86/speculation: Enable Spectre v1 swapgs mitigations
befb822c062b x86/speculation: Prepare entry code for Spectre v1 swapgs mitigations
b5dd7f61fce4 x86/cpufeatures: Combine word 11 and 12 into a new scattered features word
16ad0b63f382 x86/cpufeatures: Carve out CQM features retrieval
9e034c61951a scsi: mpt3sas: Use 63-bit DMA addressing on SAS35 HBA
3732a473be54 x86/vdso: Prevent segfaults due to hoisted vclock reads
8320768d26aa gcc-9: properly declare the {pv,hv}clock_page storage
354887ae3168 objtool: Support GCC 9 cold subfunction naming scheme
89f3896b658b ARC: enable uboot support unconditionally
8dd376273fb4 eeprom: at24: make spd world-readable again
a7340d31abac drm/i915/gvt: fix incorrect cache entry for guest page mapping
a1c020ce2669 IB/hfi1: Check for error on call to alloc_rsm_map_table
e9cd4962a85b IB/mlx5: Fix RSS Toeplitz setup to be aligned with the HW specification
924308d2a6ea IB/mlx5: Fix clean_mr() to work in the expected order
7e5ce9f3943c IB/mlx5: Move MRs to a kernel PD when freeing them to the MR cache
3cfa1087a172 IB/mlx5: Use direct mkey destroy command upon UMR unreg failure
41be1928053a IB/mlx5: Fix unreg_umr to ignore the mkey state
04fdca1f2f65 xen/swiotlb: fix condition for calling xen_destroy_contiguous_region()
eb828241b491 nbd: replace kill_bdev() with __invalidate_device() again
8dfef0f442c7 arm64: cpufeature: Fix feature comparison for CTR_EL0.{CWG,ERG}
2bddc985656a arm64: compat: Allow single-byte watchpoints on all addresses
c385cda0e70a drivers/perf: arm_pmu: Fix failure path in PM notifier
5f80ac50b98c parisc: Fix build of compressed kernel even with debug enabled
001f93d95d6c cgroup: kselftest: relax fs_spec checks
6cb9e0d9ad3e s390/dasd: fix endless loop after read unit address configuration
beb0cc781b8e mm: vmscan: check if mem cgroup is disabled or not before calling memcg slab shrinker
72651bbdf3d5 ALSA: hda: Fix 1-minute detection delay when i915 module is not available
46650ac2e1d8 selinux: fix memory leak in policydb_init()
e7bb4c81b3c7 mtd: rawnand: micron: handle on-die "ECC-off" devices correctly
fafaeae4d356 IB/hfi1: Fix Spectre v1 vulnerability
fdb0fb56addb gpiolib: fix incorrect IRQ requesting of an active-low lineevent
7e3efb655012 mmc: meson-mx-sdio: Fix misuse of GENMASK macro
29841b5c6ab1 mmc: dw_mmc: Fix occasional hang after tuning on eMMC
50d700408a00 Btrfs: fix race leading to fs corruption after transaction abort
009d7a4eb329 Btrfs: fix incremental send failure after deduplication
4c5a442561e8 kbuild: initialize CLANG_FLAGS correctly in the top Makefile
3736612d2582 kconfig: Clear "written" flag to avoid data loss
4c6500b5328f drm/nouveau: fix memory leak in nouveau_conn_reset()
84ce045222e9 x86, boot: Remove multiple copy of static function sanitize_boot_params()
740e0167a382 x86/paravirt: Fix callee-saved function ELF sizes
ba5c072fbf8b x86/kvm: Don't call kvm_spurious_fault() from .fixup
11cb9f8700c9 xen/pv: Fix a boot up hang revealed by int3 self test
d3e36788d9be mlxsw: spectrum_dcb: Configure DSCP map as the last rule is removed
48c5c4f0a47f ipc/mqueue.c: only perform resource calculation if user valid
f87314225294 drivers/rapidio/devices/rio_mport_cdev.c: NUL terminate some strings
35ee8b844845 uapi linux/coda_psdev.h: move upc_req definition from uapi to kernel side headers
dea2ee496a85 coda: fix build using bare-metal toolchain
cf3ddc00a47d coda: add error handling for fget
93b83005ea87 lib/test_string.c: avoid masking memset16/32/64 failures
8e087a2abaf8 lib/test_overflow.c: avoid tainting the kernel and fix wrap size
439c79ed7718 mm/cma.c: fail if fixed declaration can't be honored
1b84e67496d3 x86: math-emu: Hide clang warnings for 16-bit overflow
242666b2b7e2 x86/apic: Silence -Wtype-limits compiler warnings
ade866ad5aed be2net: Signal that the device cannot transmit during reconfiguration
c0cca0e97ce4 ACPI: fix false-positive -Wuninitialized warning
80f58147da0f x86: kvm: avoid constant-conversion warning
d60e8c0cbccb perf version: Fix segfault due to missing OPT_END()
abfe761a5358 scsi: zfcp: fix GCC compiler warning emitted with -Wmaybe-uninitialized
d5568763dd1d ACPI: blacklist: fix clang warning for unused DMI table
c47e25526071 ceph: return -ERANGE if virtual xattr value didn't fit in buffer
b39c377ea08f ceph: fix improper use of smp_mb__before_atomic()
d29fbf677963 cifs: Fix a race condition with cifs_echo_request
f96c70fa810d btrfs: qgroup: Don't hold qgroup_ioctl_lock in btrfs_qgroup_inherit()
d9245dabfce1 btrfs: fix minimum number of chunk errors for DUP
e7fcc587e076 clk: sprd: Add check for return value of sprd_clk_regmap_init()
a093208b4c73 fs/adfs: super: fix use-after-free bug
85d854b42113 clk: tegra210: fix PLLU and PLLU_OUT1
cf0fcc7fe200 dmaengine: rcar-dmac: Reject zero-length slave DMA requests
a3524486535a MIPS: lantiq: Fix bitfield masking
cdee3f53510a firmware/psci: psci_checker: Park kthreads before stopping them
09ec6c6783ff kernel/module.c: Only return -EEXIST for modules that have finished loading
fd53e45a11e9 arm64: dts: rockchip: fix isp iommu clocks and power domain
d8388cbd4327 dmaengine: tegra-apb: Error out if DMA_PREP_INTERRUPT flag is unset
f486088d38ec ftrace: Enable trampoline when rec count returns back to one
ea26b427cb91 ARM: dts: rockchip: Mark that the rk3288 timer might stop in suspend
22befe671728 ARM: dts: rockchip: Make rk3288-veyron-mickey's emmc work again
8c5a33d34be6 ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200
3c1d1bad8a57 ARM: riscpc: fix DMA
b3060a1a313f Linux 4.19.64
4736bb277744 ip_tunnel: allow not to count pkts on tstats by setting skb's dev to NULL
475f7781a804 scsi: core: Avoid that a kernel warning appears during system resume
c58a6507363b block, scsi: Change the preempt-only flag into a counter
9b17512d9165 ceph: hold i_ceph_lock when removing caps for freeing inode
b6c3b6a2c662 Fix allyesconfig output.
135e7737e21f drivers/pps/pps.c: clear offset flags in PPS_SETPARAMS ioctl
54695343b491 /proc/<pid>/cmdline: add back the setproctitle() special case
54ffaa53e785 /proc/<pid>/cmdline: remove all the special cases
a5a3915f17ab sched/fair: Use RCU accessors consistently for ->numa_group
48046e092ad5 sched/fair: Don't free p->numa_faults with concurrent readers
02cdc166128c vhost: scsi: add weight support
239910101c4e vhost: vsock: add weight support
3af3b843aee4 vhost_net: fix possible infinite loop
ad5fc8953d61 vhost: introduce vhost_exceeds_weight()
56966212e23f Bluetooth: hci_uart: check for missing tty operations
3a0c22cbc5d0 iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA
4fd0eb60bad1 iommu/vt-d: Don't queue_iova() if there is no flush queue
b3836af8560e media: radio-raremono: change devm_k*alloc to k*alloc
afb5340f9438 NFS: Cleanup if nfs_match_client is interrupted
8edcabb2c2e9 media: pvrusb2: use a different format for warnings
8b44cc225e60 media: cpia2_usb: first wake up, then free in disconnect
693019ee7d98 ath10k: Change the warning message string
3cf6a0707088 media: au0828: fix null dereference in error path
f13ee5ae0b2f ISDN: hfcsusb: checking idx of ep configuration
22068d49d09d binder: fix possible UAF when freeing buffer
ba2c247a4515 arm64: compat: Provide definition for COMPAT_SIGMINSTKSZ
b544a6855dfb usb: dwc2: Fix disable all EP's on disconnect
ec58bfa2d412 usb: dwc2: Disable all EP's on disconnect
9e441c7844a6 NFSv4: Fix lookup revalidate of regular files
24acd93f5995 NFS: Refactor nfs_lookup_revalidate()
01eea1cbba9d NFS: Fix dentry revalidation on NFSv4 lookup
8a474bc4e613 vsock: correct removal of socket from the list
9d3586bcdae3 hv_sock: Add support for delayed close
9a9de33a9dfa Linux 4.19.63
408af82309a7 access: avoid the RCU grace period for the temporary subjective credentials
1a547d24ec8a libnvdimm/bus: Stop holding nvdimm_bus_list_mutex over __nd_ioctl()
b993a66d8ddc powerpc/tm: Fix oops on sigreturn on systems without TM
b9310c56fcfb powerpc/xive: Fix loop exit-condition in xive_find_target_in_mask()
c219444254cf ALSA: hda - Add a conexant codec entry to let mute led work
491483ed70f1 ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1
602744097b2e ALSA: ac97: Fix double free of ac97_codec_device
9845fb5a3f90 hpet: Fix division by zero in hpet_time_div()
e4c91583b39c mei: me: add mule creek canyon (EHL) device ids
3d0a6926e610 fpga-manager: altera-ps-spi: Fix build error
e907b1314481 binder: prevent transactions to context manager from its own process.
7d20e3ba7072 x86/speculation/mds: Apply more accurate check on hypervisor platform
5e87e8b4dc0c x86/sysfb_efi: Add quirks for some devices with swapped width and height
e3dc9ea5464e btrfs: inode: Don't compress if NODATASUM or NODATACOW set
1f37bec82f41 usb: pci-quirks: Correct AMD PLL quirk detection
41d3dbb931c0 usb: wusbcore: fix unbalanced get/put cluster_id
148959cc64e1 locking/lockdep: Hide unused 'class' variable
b07687243d4a mm: use down_read_killable for locking mmap_sem in access_remote_vm
4acb04ef5e42 locking/lockdep: Fix lock used or unused stats error
af0883f9dcf6 proc: use down_read_killable mmap_sem for /proc/pid/maps
0d72bb853afc cxgb4: reduce kernel stack usage in cudbg_collect_mem_region()
6ecdcbcd3091 proc: use down_read_killable mmap_sem for /proc/pid/map_files
3d617da8a956 proc: use down_read_killable mmap_sem for /proc/pid/clear_refs
42beb7b3d446 proc: use down_read_killable mmap_sem for /proc/pid/pagemap
1b3042d0d32b proc: use down_read_killable mmap_sem for /proc/pid/smaps_rollup
a8c568fc4832 mm/mmu_notifier: use hlist_add_head_rcu()
3062448e3ee2 memcg, fsnotify: no oom-kill for remote memcg charging
041b127df733 mm/gup.c: remove some BUG_ONs from get_gate_page()
fa099d6ddf68 mm/gup.c: mark undo_dev_pagemap as __maybe_unused
8be4a30e2d34 9p: pass the correct prototype to read_cache_page
071f2135cfec mm/kmemleak.c: fix check for softirq context
7bd5902a1e18 sh: prevent warnings when using iounmap
af50d6a1c245 block/bio-integrity: fix a memory leak bug
7f775a67abe4 powerpc/eeh: Handle hugepages in ioremap space
e7a41b276974 dlm: check if workqueues are NULL before flushing/destroying
5d59e28c3d1b mailbox: handle failed named mailbox channel request
2140a6b03a61 f2fs: avoid out-of-range memory access
8a1a3d383923 block: init flush rq ref count to 1
4b9dc73a0d4a powerpc/boot: add {get, put}_unaligned_be32 to xz_config.h
549f726fb094 PCI: dwc: pci-dra7xx: Fix compilation when !CONFIG_GPIOLIB
367cc371a8e3 RDMA/rxe: Fill in wc byte_len with IB_WC_RECV_RDMA_WITH_IMM
4fe7ea29e4a6 perf hists browser: Fix potential NULL pointer dereference found by the smatch tool
915945f3bdc2 perf annotate: Fix dereferencing freed memory found by the smatch tool
b305dcff1518 perf session: Fix potential NULL pointer dereference found by the smatch tool
19cf571c64b7 perf top: Fix potential NULL pointer dereference detected by the smatch tool
995527db41f6 perf stat: Fix use-after-freed pointer detected by the smatch tool
3b8c4eae5541 perf test mmap-thread-lookup: Initialize variable to suppress memory sanitizer warning
dd0a0c72a10f PCI: mobiveil: Use the 1st inbound window for MEM inbound transactions
270972df68fb PCI: mobiveil: Initialize Primary/Secondary/Subordinate bus numbers
9eb4f2886db3 kallsyms: exclude kasan local symbols on s390
4613f46ef472 PCI: mobiveil: Fix the Class Code field
51308ec525cc PCI: mobiveil: Fix PCI base address in MEM/IO outbound windows
05959ed85e34 arm64: assembler: Switch ESB-instruction with a vanilla nop if !ARM64_HAS_RAS
007b01a27d4d IB/ipoib: Add child to parent list only if device initialized
d48720bafd90 powerpc/mm: Handle page table allocation failures
f14537bb81d1 IB/mlx5: Fixed reporting counters on 2nd port for Dual port RoCE
d03aeb8d6b98 serial: sh-sci: Fix TX DMA buffer flushing and workqueue races
48c73b8ee5c9 serial: sh-sci: Terminate TX DMA during buffer flushing
ca730bf0cd67 RDMA/i40iw: Set queue pair state when being queried
52373ab6a6c7 powerpc/4xx/uic: clear pending interrupt after irq type/pol change
74520144700d um: Silence lockdep complaint about mmap_sem
30edc7c1fed5 mm/swap: fix release_pages() when releasing devmap pages
b4e77006d5a7 mfd: hi655x-pmic: Fix missing return value check for devm_regmap_init_mmio_clk
9b1691c3f660 mfd: arizona: Fix undefined behavior
d9c74176c275 mfd: core: Set fwnode for created devices
7b24a4a363a9 mfd: madera: Add missing of table registration
e00cf1dac30c recordmcount: Fix spurious mcount entries on powerpc
9fac39480e39 powerpc/xmon: Fix disabling tracing while in xmon
a80f67d5560c powerpc/cacheflush: fix variable set but not used
b150423e0d5e iio: iio-utils: Fix possible incorrect mask calculation
fc9c15c4e3ff PCI: xilinx-nwl: Fix Multi MSI data programming
e3e2bb12c8a7 genksyms: Teach parser about 128-bit built-in types
27f2335e1440 kbuild: Add -Werror=unknown-warning-option to CLANG_FLAGS
1fa94381fdeb i2c: stm32f7: fix the get_irq error cases
f930727faef2 PCI: sysfs: Ignore lockdep for remove attribute
9d45fbee76af serial: mctrl_gpio: Check if GPIO property exisits before requesting it
e7f206f42fb6 drm/msm: Depopulate platform on probe failure
216462fa884f powerpc/pci/of: Fix OF flags parsing for 64bit BARs
5d3ad905af43 mmc: sdhci: sdhci-pci-o2micro: Check if controller supports 8-bit width
bf7cf9fb02db usb: gadget: Zero ffs_io_data
ac380eb479de tty: serial_core: Set port active bit in uart_port_activate
785e11c06db3 serial: imx: fix locking in set_termios()
741f8b39b6d4 drm/rockchip: Properly adjust to a true clock in adjusted_mode
fd0d171c7064 powerpc/pseries/mobility: prevent cpu hotplug during DT update
6a7047471073 drm/amd/display: fix compilation error
709ca46f1d46 phy: renesas: rcar-gen2: Fix memory leak at error paths
725c7b781150 drm/virtio: Add memory barriers for capset cache.
11b4e9f3695c drm/amd/display: Always allocate initial connector state state
1a2425b597fa serial: 8250: Fix TX interrupt handling condition
a0e7d6b7fa55 tty: serial: msm_serial: avoid system lockup condition
e40f5a873fc7 tty/serial: digicolor: Fix digicolor-usart already registered warning
5c0e54839d48 memstick: Fix error cleanup path of memstick_init
0a50a272389f drm/crc-debugfs: Also sprinkle irqrestore over early exits
26a66454541c drm/crc-debugfs: User irqsafe spinlock in drm_crtc_add_crc_entry
4d14323a2eb5 gpu: host1x: Increase maximum DMA segment size
f9bfd6bd8223 drm/bridge: sii902x: pixel clock unit is 10kHz instead of 1kHz
7af9abd7d6bd drm/bridge: tc358767: read display_props in get_modes()
49c7230d8f10 PCI: Return error if cannot probe VF
2a18d76592e0 drm/edid: Fix a missing-check bug in drm_load_edid_firmware()
210dfe630911 drm/amdkfd: Fix sdma queue map issue
db64bc139440 drm/amdkfd: Fix a potential memory leak
6b1d2871fe36 drm/amd/display: Disable ABM before destroy ABM struct
c242a531bb06 drm/amdgpu/sriov: Need to initialize the HDP_NONSURFACE_BAStE
147137f86b5b drm/amd/display: Fill prescale_params->scale for RGB565
08b0bcc8076b tty: serial: cpm_uart - fix init when SMC is relocated
c901780d9294 pinctrl: rockchip: fix leaked of_node references
a9dfb6e43677 tty: max310x: Fix invalid baudrate divisors calculator
b0084c1b5058 usb: core: hub: Disable hub-initiated U1/U2
19755a124f4c staging: vt6656: use meaningful error code during buffer allocation
b59f7650a507 iio: adc: stm32-dfsdm: missing error case during probe
302e4cdca1f4 iio: adc: stm32-dfsdm: manage the get_irq error case
586946ce83e4 drm/panel: simple: Fix panel_simple_dsi_probe
49fb03de361d hvsock: fix epollout hang from race condition
64f4694072aa Linux 4.19.62
60e9babfda94 net: sched: verify that q!=NULL before setting q->flags
c1d98b766ebe mm: vmscan: scan anonymous pages on file refaults
7560e33369ed KVM: nVMX: Clear pending KVM_REQ_GET_VMCS12_PAGES when leaving nested
967bc679c596 KVM: nVMX: do not use dangling shadow VMCS after guest reset
3a17ca864baf ext4: allow directory holes
caa4e08253eb ext4: use jbd2_inode dirty range scoping
af3812b65c37 jbd2: introduce jbd2_inode dirty range scoping
4becd6c11e9a mm: add filemap_fdatawait_range_keep_errors()
c9ea4620a37f ext4: enforce the immutable flag on open files
29171e82348c ext4: don't allow any modifications to an immutable file
4a5cc64d8a8a perf/core: Fix race between close() and fork()
75100ec5f079 perf/core: Fix exclusive events' grouping
0e6ef184315d MIPS: lb60: Fix pin mappings
dd5994ab1f00 gpio: davinci: silence error prints in case of EPROBE_DEFER
c947cf3e9583 dma-buf: Discard old fence_excl on retrying get_fences_rcu for realloc
95ee55cab118 dma-buf: balance refcount inbalance
b72fb8dec183 net: bridge: stp: don't cache eth dest pointer before skb pull
78701843ecc4 net: bridge: don't cache ether dest pointer on input
41a8df71809e net: bridge: mcast: fix stale ipv6 hdr pointer when handling v6 query
caf4488fc06e net: bridge: mcast: fix stale nsrcs pointer in igmp3/mld2 report handling
bc9a2f36a7d6 sctp: not bind the socket in sctp_connect
fde351aeff4a net/tls: make sure offload also gets the keys wiped
d9571a9f5ec1 net_sched: unset TCQ_F_CAN_BYPASS when adding filters
69cd58454615 netrom: hold sock when setting skb->destructor
dc59a2abd33e netrom: fix a memory leak in nr_rx_frame()
0c5cb5a12623 macsec: fix checksumming after decryption
21252f49cddf macsec: fix use-after-free of skb during RX
a8ba53da071e net/mlx5e: IPoIB, Add error path in mlx5_rdma_setup_rn
a2aa162a6331 vrf: make sure skb->data contains ip header to make routing
1b200acde418 tcp: Reset bytes_acked and bytes_received when disconnecting
c60f57dfe995 tcp: fix tcp_set_congestion_control() use from bpf hook
6323c238bb43 tcp: be more careful in tcp_fragment()
b640ade07295 sky2: Disable MSI on ASUS P6T
d9ee5afd9165 sctp: fix error handling on stream scheduler initialization
bfa7913575b7 rxrpc: Fix send on a connected, but unbound socket
3e4e6b71ece0 r8169: fix issue with confused RX unit after PHY power-down on RTL8411b
97739e5c9e73 nfc: fix potential illegal memory access
f47f68cc9d33 net: stmmac: Re-work the queue selection for TSO packets
201d7d62a82a net: phy: sfp: hwmon: Fix scaling of RX power
c60bce64615d net: openvswitch: fix csum updates for MPLS actions
257441a07201 net: neigh: fix multiple neigh timer scheduling
832d0ea751a8 net: make skb_dst_force return true when dst is refcounted
6ab30a4cc5c6 net: dsa: mv88e6xxx: wait after reset deactivation
5832ef4afd90 net: bcmgenet: use promisc for unsupported filters
c0f4a6447977 ipv6: Unlink sibling route in case of failure
0bd84505f16f ipv6: rt6_check should return NULL if 'from' is NULL
47ce442783d7 ipv4: don't set IPv6 only flags to IPv4 addresses
aee5dd00341b igmp: fix memory leak in igmpv3_del_delrec()
9770fe1b202f hv_netvsc: Fix extra rcu_read_unlock in netvsc_recv_callback()
d7cdac6dc418 caif-hsi: fix possible deadlock in cfhsi_exit_module()
8fb37be12046 bnx2x: Prevent load reordering in tx completion processing
7250956f6eaf Linux 4.19.61
025eb12bb4b0 dm bufio: fix deadlock with loop device
404f59e265ac dt-bindings: allow up to four clocks for orion-mdio
03e6a668ea1f net: mvmdio: allow up to four clocks to be specified for orion-mdio
dd87cc633ba5 blkcg: update blkcg_print_stat() to handle larger outputs
73efdc5d7d3b blk-iolatency: clear use_delay when io.latency is set to zero
1ab644bd02ab blk-throttle: fix zero wait time for iops throttled group
91da712ff592 usb: Handle USB3 remote wakeup for LPM enabled devices correctly
152ddf9f0458 Bluetooth: Add SMP workaround Microsoft Surface Precision Mouse bug
98318cd31b95 intel_th: msu: Fix single mode with disabled IOMMU
d6328d7c1a71 mtd: spinand: read returns badly if the last page has bitflips
94f1db42a968 mtd: rawnand: mtk: Correct low level time calculation of r/w cycle
30c6b34759f6 eCryptfs: fix a couple type promotion bugs
92e23f5fc049 mmc: sdhci-msm: fix mutex while in spinlock
01982f7bcc9d powerpc/pseries: Fix oops in hotplug memory notifier
e725502b8548 powerpc/powernv/npu: Fix reference leak
1e3b61cbc30d powerpc/watchpoint: Restore NV GPRs while returning from exception
237ac0d73b55 powerpc/32s: fix suspend/resume when IBATs 4-7 are used
7961981718d6 parisc: Fix kernel panic due invalid values in IAOQ0 or IAOQ1
a6a0daa775e8 parisc: Ensure userspace privilege for ptraced processes in regset functions
ef5c2e165ab0 crypto: caam - limit output IV to CBC to work around CTR mode DMA issue
376b80276d84 gpu: ipu-v3: ipu-ic: Fix saturation bit offset in TPMEM
ef30c0739439 xfs: abort unaligned nowait directio early
669c867972c0 xfs: serialize unaligned dio writes against all other dio writes
d61d885b17b0 xfs: fix reporting supported extra file attributes for statx()
f614ef7a34b0 xfs: reserve blocks for ifree transaction during log recovery
424543a53ae0 xfs: don't ever put nlink > 0 inodes on the unlinked list
3a895cc066c0 xfs: rename m_inotbt_nores to m_finobt_nores
2ab62234e823 xfs: don't overflow xattr listent buffer
1dc8b13cc66d xfs: flush removing page cache in xfs_reflink_remap_prep
788920d12b95 xfs: fix pagecache truncation prior to reflink
41f64437f030 include/asm-generic/bug.h: fix "cut here" for WARN_ON for __WARN_TAINT architectures
afa3e571cde3 coda: pass the host file in vma->vm_file on mmap
2c0222b48e77 libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields
656d06dab4d6 HID: wacom: correct touch resolution x/y typo
1c871b4006b2 HID: wacom: generic: Correct pad syncing
46f71a15abe7 HID: wacom: generic: only switch the mode on devices with LEDs
cb4c2b94f629 IB/mlx5: Report correctly tag matching rendezvous capability
4bd953241d81 Btrfs: add missing inode version, ctime and mtime updates when punching hole
fffedf5cf67e Btrfs: fix fsync not persisting dentry deletions due to inode evictions
110850fffeb0 Btrfs: fix data loss after inode eviction, renaming it, and fsync it
6b71c62ea9da PCI: qcom: Ensure that PERST is asserted for at least 100 ms
529e71cae929 PCI: Do not poll for PME if the device is in D3cold
4d8504004c86 PCI: hv: Fix a use-after-free bug in hv_eject_device_work()
f0ff76a42ef5 intel_th: pci: Add Ice Lake NNPI support
66a13b5e4e9c drm/edid: parse CEA blocks embedded in DisplayID
9854e06842bc perf/x86/amd/uncore: Set the thread mask for F17h L3 PMCs
82c46f7b0918 perf/x86/amd/uncore: Do not set 'ThreadMask' and 'SliceMask' for non-L3 PMCs
a847a5225432 perf/x86/intel: Fix spurious NMI on fixed counter
0d4c0bb70665 x86/boot: Fix memory leak in default_get_smp_config()
b52807e607f1 9p/virtio: Add cleanup path in p9_virtio_init
1253882d64d0 9p/xen: Add cleanup path in p9_trans_xen_init
007e5aaf287c xen/events: fix binding user event channels to cpus
e380170b3b3a dm zoned: fix zone state management race
1e4247d7958b padata: use smp_mb in padata_reorder to avoid orphaned padata jobs
0489d808a5f2 drm/nouveau/i2c: Enable i2c pads & busses during preinit
c77cbc873586 kconfig: fix missing choice values in auto.conf
2c7b50c7b1d0 fs/proc/proc_sysctl.c: fix the default values of i_uid/i_gid on /proc/sys inodes.
ba271659ad42 arm64: tegra: Fix AGIC register range
ba27a25df6df KVM: x86/vPMU: refine kvm_pmu err msg when event creation failed
87bae91a0fe9 media: videobuf2-dma-sg: Prevent size from overflowing
cb2e2b0ae554 media: videobuf2-core: Prevent size alignment wrapping buffer size to 0
deb78bd24e0c media: coda: Remove unbalanced and unneeded mutex unlock
fc0232e24541 media: v4l2: Test type instead of cfg->type in v4l2_ctrl_new_custom()
a4c4c06f1755 ALSA: hda/realtek: apply ALC891 headset fixup to one Dell machine
8ba78e4d564e ALSA: hda/realtek - Fixed Headphone Mic can't record on Dell platform
c92212a81617 ALSA: seq: Break too long mutex context in the write loop
eb6c84e4b4f2 raid5-cache: Need to do start() part job after adding journal device
3f42c0000b23 ASoC: dapm: Adapt for debugfs API change
677b2aa3be5c lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZE
0b174bac4e43 pnfs: Fix a problem where we gratuitously start doing I/O through the MDS
f64ff5914f00 pNFS: Fix a typo in pnfs_update_layout
603e7497bf27 pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error
5347e61954fc NFSv4: Handle the special Linux file open access mode
6825ff011c7c iwlwifi: fix RF-Kill interrupt while FW load for gen2 devices
a32e2ceca0ef iwlwifi: don't WARN when calling iwl_get_shared_mem_conf with RF-Kill
d9ce0788da91 iwlwifi: pcie: fix ALIVE interrupt handling for gen2 devices w/o MSI-X
04c52c105a38 iwlwifi: pcie: don't service an interrupt that was masked
7ebddd5fe217 arm64: tegra: Update Jetson TX1 GPU regulator timings
042451b921b1 regulator: s2mps11: Fix buck7 and buck8 wrong voltages
8da63aa46e26 Input: alps - fix a mismatch between a condition check and its comment
81368a9a98d9 Input: synaptics - whitelist Lenovo T580 SMBus intertouch
cfb9250619c8 Input: alps - don't handle ALPS cs19 trackpoint-only device
d657077eda7b Input: gtco - bounds check collection indent level
f11ba9df8eed bcache: destroy dc->writeback_write_wq if failed to create dc->writeback_thread
2ab14861d2eb bcache: fix mistaken sysfs entry for io_error counter
3c466df8fc59 bcache: ignore read-ahead request failure on backing device
4fc48cd21a31 bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free"
ab966241d59a bcache: Revert "bcache: fix high CPU occupancy during journal"
58169c189bd6 Revert "bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()"
c3b7d27f3746 crypto: crypto4xx - fix a potential double free in ppc4xx_trng_probe
a9fd1795fee6 crypto: ccp/gcm - use const time tag comparison.
561c4424f1e3 crypto: ccp - memset structure fields to zero before reuse
13805a5df489 crypto: crypto4xx - block ciphers should only accept complete blocks
17e63172d536 crypto: crypto4xx - fix blocksize for cfb and ofb
4598094d24c7 crypto: crypto4xx - fix AES CTR blocksize value
1c9b0a766513 crypto: chacha20poly1305 - fix atomic sleep when using async algorithm
eb99c084da28 crypto: arm64/sha2-ce - correct digest for empty data in finup
4230e09e61e6 crypto: arm64/sha1-ce - correct digest for empty data in finup
52f07c1ac70e crypto: ccp - Validate the the error value used to index error messages
bed97f646997 crypto: ghash - fix unaligned memory access in ghash_setkey()
ce7ec07abaf7 scsi: mac_scsi: Fix pseudo DMA implementation, take 2
de769c762626 scsi: mac_scsi: Increase PIO/PDMA transfer length threshold
3e9534fa5046 scsi: megaraid_sas: Fix calculation of target ID
1334a3e2d6d0 scsi: core: Fix race on creating sense cache
58f59f6072ab Revert "scsi: ncr5380: Increase register polling limit"
7cfded7a705c scsi: NCR5380: Always re-enable reselection interrupt
d91baba81a6e scsi: NCR5380: Reduce goto statements in NCR5380_select()
e73db096691e xen: let alloc_xenballooned_pages() fail if not enough memory free
ff54c44f1038 floppy: fix out-of-bounds read in copy_buffer
a9444d9d0f6f floppy: fix invalid pointer dereference in drive_name
5b565f3276f3 floppy: fix out-of-bounds read in next_valid_format
6e34fd07484a floppy: fix div-by-zero in setup_format_params
7c16c5eae41a iavf: fix dereference of null rx_buffer pointer
e9896b29d010 net: mvmdio: defer probe of orion-mdio if a clock is not ready
5f6c5f5ae25e gtp: fix use-after-free in gtp_newlink()
141222216438 gtp: fix use-after-free in gtp_encap_destroy()
0a5eca2c949c gtp: fix Illegal context switch in RCU read-side critical section.
e117a04133c6 gtp: fix suspicious RCU usage
202de90df2b7 Bluetooth: validate BLE connection interval updates
ca33af18b5fc gtp: add missing gtp_encap_disable_sock() in gtp_encap_enable()
0fdb922d0ef0 Bluetooth: Check state in l2cap_disconnect_rsp
3b57b7a3a82a perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64
c814f618b799 Bluetooth: 6lowpan: search for destination address in all peers
c82c4910e9e6 Bluetooth: Add new 13d3:3501 QCA_ROME device
1cbce19bd697 Bluetooth: Add new 13d3:3491 QCA_ROME device
578658df21d5 Bluetooth: hci_bcsp: Fix memory leak in rx_skb
9d47bd217539 tools: bpftool: Fix json dump crash on powerpc
2ad04d31bb3e gpiolib: Fix references to gpiod_[gs]et_*value_cansleep() variants
157d1c7a1a00 bonding: validate ip header before check IPPROTO_IGMP
88f751b066f2 selftests: bpf: fix inlines in test_lwt_seg6local
ef5b204336b3 bpf, libbpf, smatch: Fix potential NULL pointer dereference
0f2f2cebe64d rxrpc: Fix oops in tracepoint
ca37b9a74689 net: usb: asix: init MAC address buffers
51216937c319 bnx2x: Prevent ptp_task to be rescheduled indefinitely
e358d2ab42f8 perf stat: Fix group lookup for metric group
a64e018be77a perf stat: Make metric event lookup more robust
7343178ccf7d bpf: fix uapi bpf_prog_info fields alignment
af3790a46a55 iwlwifi: mvm: Drop large non sta frames
036184af23e0 igb: clear out skb->tstamp after reading the txtime
0024b12b776c net: mvpp2: prs: Don't override the sign bit in SRAM parser shift
05592b9b7f25 ath10k: destroy sdio workqueue while remove sdio module
26d86b29e806 net: hns3: add some error checking in hclge_tm module
ddfdbcccd71a net: hns3: fix a -Wformat-nonliteral compile warning
95d084809495 bcache: fix potential deadlock in cached_def_free()
4b7758e9c4ed bcache: check c->gc_thread by IS_ERR_OR_NULL in cache_set_flush()
81b88c05bc45 bcache: acquire bch_register_lock later in cached_dev_free()
d81080a0bcf8 bcache: check CACHE_SET_IO_DISABLE bit in bch_journal()
57cfb755c356 bcache: check CACHE_SET_IO_DISABLE in allocator code
e78d1d234469 EDAC: Fix global-out-of-bounds write when setting edac_mc_poll_msec
e54cc89e6f0a wil6210: drop old event after wmi_call timeout
0388597d0627 crypto: asymmetric_keys - select CRYPTO_HASH where needed
1dea395c9e12 crypto: serpent - mark __serpent_setkey_sbox noinline
b346070c72cd ixgbe: Check DDM existence in transceiver before access
0340c621eca8 rslib: Fix handling of of caller provided syndrome
8ba93c59441a rslib: Fix decoding of shortened codes
dad0b17e4a4e xsk: Properly terminate assignment in xskq_produce_flush_desc
e69fac59c493 clocksource/drivers/exynos_mct: Increase priority over ARM arch timer
12e20eca894b libata: don't request sense data on !ZAC ATA devices
6e6bc34f8570 ASoC: Intel: hdac_hdmi: Set ops to NULL on remove
1182ff224847 perf tools: Increase MAX_NR_CPUS and MAX_CACHES
7201cc227d4a ath10k: fix PCIE device wake up failed
8a808fadc9f7 ath10k: add missing error handling
fe2ceeb4cffc ipvs: fix tinfo memory leak in start_sync_thread
20de38d282b3 mt7601u: fix possible memory leak when the device is disconnected
033577880135 x86/build: Add 'set -e' to mkcapflags.sh to delete broken capflags.c
3f7952b275c8 mt7601u: do not schedule rx_tasklet when the device has been disconnected
6f6e126e1995 rtlwifi: rtl8192cu: fix error handle when usb probe failed
41864adfee2e net: stmmac: sun8i: force select external PHY when no internal one
bce037abc29f media: hdpvr: fix locking and a missing msleep
43b9fdc48377 media: vimc: cap: check v4l2_fill_pixfmt return value
d562537dbf0d media: coda: increment sequence offset for the last returned frame
3697c12c4425 media: coda: fix last buffer handling in V4L2_ENC_CMD_STOP
6fd3e9f65db9 media: coda: fix mpeg2 sequence number handling
c647c00f28af acpi/arm64: ignore 5.1 FADTs that are reported as 5.0
b9f547b7bdd9 timer_list: Guard procfs specific code
d86c0b73f75b ntp: Limit TAI-UTC offset
8d8f0b9009d0 media: i2c: fix warning same module names
6439110fbeee media: s5p-mfc: Make additional clocks optional
57de3c78f0b7 ipvs: defer hook registration to avoid leaks
06a3cd416224 ipsec: select crypto ciphers for xfrm_algo
723ba7938492 arm64: Do not enable IRQs for ct_user_exit
010bfbc93424 lightnvm: pblk: fix freeing of merged pages
762bba1b7ee7 nvme-pci: set the errno on ctrl state change error
c876a66553d7 nvme-pci: properly report state change failure in nvme_reset_work
f0c83dd15ee1 nvme: fix possible io failures when removing multipathed ns
10cc3a65a55b EDAC/sysfs: Fix memory leak when creating a csrow object
f6502ce4f050 ACPICA: Clear status of GPEs on first direct enable
3ae98dc2db1e blk-iolatency: only account submitted bios
a952f7c384aa x86/cacheinfo: Fix a -Wtype-limits warning
3252b29ea41b ipoib: correcly show a VF hardware address
0e2af9b06c00 vhost_net: disable zerocopy by default
4c57957ed6c8 perf evsel: Make perf_evsel__name() accept a NULL argument
9e0bcb59b6c0 x86/atomic: Fix smp_mb__{before,after}_atomic()
dd0260fd1e3a perf/x86/intel/uncore: Handle invalid event coding for free-running counter
7fc96cd2b0de sched/fair: Fix "runnable_avg_yN_inv" not used warnings
d8b7db6c5004 sched/core: Add __sched tag for io_schedule()
930655b01367 xfrm: fix sa selector validation
b7d66bbc8ad3 blkcg, writeback: dead memcgs shouldn't contribute to writeback ownership arbitration
c8f75e753784 block: null_blk: fix race condition for null_del_dev
1a3706d8f800 net: hns3: fix for skb leak when doing selftest
6a47a42f51cf qed: iWARP - Fix tc for MPA ll2 connection
670fb965da03 x86/cpufeatures: Add FDP_EXCPTN_ONLY and ZERO_FCS_FDS
366ae49ed78c rcu: Force inlining of rcu_read_lock()
1fb3ce14f28d ASoC: meson: axg-tdm: fix sample clock inversion
32df4043aed4 x86/cpu: Add Ice Lake NNPI to Intel family
914026d58100 selinux: fix empty write to keycreate file
10e3788e6575 media: s5p-mfc: fix reading min scratch buffer size on MFC v6/v7
7c10f8941b95 bpf: silence warning messages in core
b01bf44c363d regmap: fix bulk writes on paged registers
544cd592ca72 gpio: omap: ensure irq is enabled before wakeup
ddeef7a00050 gpio: omap: fix lack of irqstatus_raw0 for OMAP4
79644b600850 iommu: Fix a leak in iommu_insert_resv_region
f2a4624be8f3 media: fdp1: Support M3N and E3 platforms
63e53991d791 media: uvcvideo: Fix access to uninitialized fields on probe error
c844f4da9b92 irqchip/meson-gpio: Add support for Meson-G12A SoC
eac8b39d089a perf report: Fix OOM error in TUI mode on s390
be32a9dc3f62 perf test 6: Fix missing kvm module load for s390
3662d8bca087 perf cs-etm: Properly set the value of 'old' and 'head' in snapshot mode
ac510285d40b ipset: Fix memory accounting for hash types on resize
c7bf2df45044 net: sfp: add mutex to prevent concurrent state checks
fa4059c5497e RAS/CEC: Fix pfn insertion
99dcd701465f s390/qdio: handle PENDING state for QEBSM devices
a76f32cbd38c net: axienet: Fix race condition causing TX hang
9d643358386d net: fec: Do not use netdev messages too early
403c43921479 crypto: inside-secure - do not rely on the hardware last bit for result descriptors
50331c64f3dd net: stmmac: modify default value of tx-frames
1a0a837afc41 net: stmmac: dwmac4: fix flow control issue
713737cac327 perf jvmti: Address gcc string overflow warning for strncpy()
fb83987cbe6b arm64: mm: make CONFIG_ZONE_DMA32 configurable
c360eb592938 cpupower : frequency-set -r option misses the last cpu in related cpu list
cac3032062e5 net: hns3: set ops to null when unregister ad_dev
35407917b0bc media: wl128x: Fix some error handling in fm_v4l2_init_video_device()
2fbde2746597 locking/lockdep: Fix merging of hlocks with non-zero references
909034b8ac64 batman-adv: Fix duplicated OGMs on NETDEV_UP
aa2ad8b6fb2f tua6100: Avoid build warnings.
9072450736d0 crypto: talitos - Align SEC1 accesses to 32 bits boundaries.
9d25aedef08f crypto: talitos - properly handle split ICV.
fc25cfb03ea2 net: phy: Check against net_device being NULL
ef10d46d04a5 media: staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.
e36f25627362 media: saa7164: fix remove_proc_entry warning
ea904c9f6a33 media: mc-device.c: don't memset __user pointer contents
a6dd4862b98f perf annotate TUI browser: Do not use member from variable within its own initialization
71b029a5d908 fscrypt: clean up some BUG_ON()s in block encryption/decryption
2c6acf7478aa xfrm: Fix xfrm sel prefix length validation
0544b64ceb64 af_key: fix leaks in key_pol_get_resp and dump_sp.
b397462a010d signal/pid_namespace: Fix reboot_pid_ns to use send_sig not force_sig
1c8e736115cd qed: Set the doorbell address correctly
df6680de7a20 net: stmmac: dwmac4/5: Clear unused address entries
d3969670cb5a net: stmmac: dwmac1000: Clear unused address entries
810441651a8a media: media_device_enum_links32: clean a reserved field
6fb470ace862 media: vpss: fix a potential NULL pointer dereference
70da38e80509 media: marvell-ccic: fix DMA s/g desc number calculation
add712b63185 media: ov7740: avoid invalid framesize setting
b0e199e13495 crypto: talitos - fix skcipher failure due to wrong output IV
6452712f95e3 media: spi: IR LED: add missing of table registration
94f2b518a788 media: dvb: usb: fix use after free in dvb_usb_device_exit
8f855c09e2af batman-adv: fix for leaked TVLV handler.
83d133c96aad regmap: debugfs: Fix memory leak in regmap_debugfs_init
2b5b12c0c1b7 ath: DFS JP domain W56 fixed pulse type 3 RADAR detection
da153c0c5746 wil6210: fix spurious interrupts in 3-msi
a4bf4fecff16 ath10k: add peer id check in ath10k_peer_find_by_id
83c911f4bd68 ath6kl: add some bounds checking
42dcbf20e182 ath9k: Check for errors when reading SREV register
7e19e658e535 ath10k: Do not send probe response template for mesh
009edc622bba wil6210: fix potential out-of-bounds read
09593c25b975 dmaengine: imx-sdma: fix use-after-free on probe error path
06e15cf5aead scsi: iscsi: set auth_protocol back to NULL if CHAP_A value is not supported
37cb02da44dc arm64/efi: Mark __efistub_stext_offset as an absolute symbol explicitly
73ebefc814ef MIPS: fix build on non-linux hosts
7202df6be6ec MIPS: ath79: fix ar933x uart parity mode
be9b6782a9eb Linux 4.19.60
d173ce091c1a x86/entry/32: Fix ENDPROC of common_spurious
466bdfc6c4d6 drm/udl: move to embedding drm device inside udl device.
af48f7d79fae drm/udl: Replace drm_dev_unref with drm_dev_put
cfd99eccede5 drm/udl: introduce a macro to convert dev to udl.
8f14cf159e9f regmap-irq: do not write mask register if mask_base is zero
820b010743ee crypto/NX: Set receive window credits to max number of CRBs in RxFIFO
b24c6403633d crypto: talitos - fix hash on SEC1.
ff1ce8ef1f88 crypto: talitos - move struct talitos_edesc into talitos.h
b578b87bcab6 s390/qdio: don't touch the dsci in tiqdio_add_input_queues()
b1d52630b12a s390/qdio: (re-)initialize tiqdio list entries
02eb533e940a s390: fix stfle zero padding
9db915738e40 ARC: hide unused function unw_hdr_alloc
fc6975ee932b x86/irq: Seperate unused system vectors from spurious entry again
9494cd392885 x86/irq: Handle spurious interrupt after shutdown gracefully
7897f5a443fb x86/ioapic: Implement irq_get_irqchip_state() callback
6074f6043c49 genirq: Add optional hardware synchronization for shutdown
3f10ccc29780 genirq: Fix misleading synchronize_irq() documentation
578db1aa595b genirq: Delay deactivation in free_irq()
2656ee5a5ad5 linux/kernel.h: fix overflow for DIV_ROUND_UP_ULL
9c875e8556d4 pinctrl: mediatek: Update cur_mask in mask/mask ops
f6e01328cb0e cpu/hotplug: Fix out-of-bounds read when setting fail state
fa99487a43cf pinctrl: mediatek: Ignore interrupts that are wake only during resume
cd2646e57ec5 HID: multitouch: Add pointstick support for ALPS Touchpad
9ea3b131441e HID: chicony: add another quirk for PixArt mouse
94968c37b6d3 x86/boot/64: Add missing fixup_pointer() for next_early_pgt access
729d25f43b64 x86/boot/64: Fix crash if kernel image crosses page table boundary
136847140cc8 dm verity: use message limit for data block corruption message
042be78692ae dm table: don't copy from a NULL pointer in realloc_argv()
0fc080bc9a72 pinctrl: mcp23s08: Fix add_data and irqchip_add_nested call order
00640eb0eafa ARM: dts: imx6ul: fix PWM[1-4] interrupts
a8cc2a2c2841 sis900: fix TX completion
3232bccddeba ppp: mppe: Add softdep to arc4
5ec7753c7c9e be2net: fix link failure after ethtool offline test
2a6ee36917f0 x86/apic: Fix integer overflow on 10 bit left shift of cpu_khz
fdfff855cd36 afs: Fix uninitialised spinlock afs_volume::cb_break_lock
d47f06ab0c0e ARM: omap2: remove incorrect __init annotation
5d3c45538151 ARM: dts: gemini Fix up DNS-313 compatible string
afda29dc5ac6 perf/core: Fix perf_sample_regs_user() mm check
627fdcc9b718 efi/bgrt: Drop BGRT status field reserved bits check
cf4deb2d4de6 clk: ti: clkctrl: Fix returning uninitialized data
ff232a47567f irqchip/gic-v3-its: Fix command queue pointer comparison bug
244db54441a1 firmware: improve LSM/IMA security behaviour
079d7f16a973 drivers: base: cacheinfo: Ensure cpu hotplug work is done before Intel RDT
68048dce650e nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header
86859ef10d25 Input: synaptics - enable SMBUS on T480 thinkpad trackpad
438a3dc6f2c3 e1000e: start network tx queue only when link is up
8020568b404b Revert "e1000e: fix cyclic resets at link up with active tx"
3bd837bfe431 Linux 4.19.59
70bae382b3dc staging: rtl8712: reduce stack usage, again
b46475ecd930 staging: bcm2835-camera: Handle empty EOS buffers whilst streaming
0ee144effcc3 staging: bcm2835-camera: Remove check of the number of buffers supplied
fcbc6ddcd624 staging: bcm2835-camera: Ensure all buffers are returned on disable
4502c43d7f3b staging: bcm2835-camera: Replace spinlock protecting context_map with mutex
22a20b9f6d9f staging: fsl-dpaa2/ethsw: fix memory leak of switchdev_work
cc396afa1959 MIPS: Remove superfluous check for __linux__
d202b5adccfb VMCI: Fix integer overflow in VMCI handle arrays
486c32325caa carl9170: fix misuse of device driver API
524ad00e80b7 binder: fix memory leak in error path
294b893a41cd lkdtm: support llvm-objcopy
5c90a2ecd08a HID: Add another Primax PIXART OEM mouse quirk
c04c751bef87 staging: comedi: amplc_pci230: fix null pointer deref on interrupt
4e49c6c91c18 staging: comedi: dt282x: fix a null pointer deref on interrupt
8419fd562a09 drivers/usb/typec/tps6598x.c: fix 4CC cmd write
63b3028cd590 drivers/usb/typec/tps6598x.c: fix portinfo width
57e16e0d8c68 usb: renesas_usbhs: add a workaround for a race condition of workqueue
aa9a8038ea8b usb: dwc2: use a longer AHB idle timeout in dwc2_core_reset()
cac4a04202fb usb: gadget: ether: Fix race between gether_disconnect and rx_submit
449a8d08a4bc p54usb: Fix race between disconnect and firmware loading
135d9ba3b285 Revert "serial: 8250: Don't service RX FIFO if interrupts are disabled"
0891268f36a2 USB: serial: option: add support for GosunCn ME3630 RNDIS mode
0a1c811bf033 USB: serial: ftdi_sio: add ID for isodebug v1
bb902b6c87ff mwifiex: Don't abort on small, spec-compliant vendor IEs
ffbbd626e1ce mwifiex: Abort at too short BSS descriptor element
a2a24b57c27a Documentation/admin: Remove the vsyscall=native documentation
8a815007f5fe Documentation: Add section about CPU vulnerabilities for Spectre
bd9604022eb3 x86/tls: Fix possible spectre-v1 in do_get_thread_area()
68ff28291a4f x86/ptrace: Fix possible spectre-v1 in ptrace_get_debugreg()
d8e26651ce8d perf pmu: Fix uncore PMU alias list for ARM64
018524b75852 block, bfq: NULL out the bic when it's no longer valid
ff75e5f41e88 ALSA: hda/realtek - Headphone Mic can't record after S3
87c3262b00d8 ALSA: usb-audio: Fix parse of UAC2 Extension Units
ef374f5a2731 media: stv0297: fix frequency range limit
5db079eb0acd udf: Fix incorrect final NOT_ALLOCATED (hole) extent length
0fc3e9b9b603 fscrypt: don't set policy for a dead directory
e9f76b954336 net :sunrpc :clnt :Fix xps refcount imbalance on the error path
810cfc3d9d2e NFS4: Only set creation opendata if O_CREAT
7075654ce7d0 net: dsa: mv88e6xxx: fix shift of FID bits in mv88e6185_g1_vtu_loadpurge()
606561e16186 quota: fix a problem about transfer quota
5ad566af08c1 scsi: qedi: Check targetname while finding boot target information
37232abb6ea3 net: lio_core: fix potential sign-extension overflow on large shift
740b2ac49518 ip6_tunnel: allow not to count pkts on tstats by passing dev as NULL
a02ac12d2d48 drm: return -EFAULT if copy_to_user() fails
4c938a635fc3 bnx2x: Check if transceiver implements DDM before access
270ae00a0346 md: fix for divide error in status_resync
5533d9ed4112 mmc: core: complete HS400 before checking status
2da80536f629 qmi_wwan: extend permitted QMAP mux_id value range
dc84e98393f7 qmi_wwan: avoid RCU stalls on device disconnect when in QMAP mode
dbc6a83cf2bc qmi_wwan: add support for QMAP padding in the RX path
292ba5b1faf4 bpf, x64: fix stack layout of JITed bpf code
4c2ce7addda8 bpf, devmap: Add missing RCU read lock on flush
ab44f8bcf2e5 bpf, devmap: Add missing bulk queue free
8d09e862103b bpf, devmap: Fix premature entry free on destroying map
ba0afe520ee9 mac80211: do not start any work during reconfigure flow
de8cf2c0bc64 mac80211: only warn once on chanctx_conf being NULL
9c2dd6d47131 ARM: davinci: da8xx: specify dma_coherent_mask for lcdc
3bbcc8b9ad37 ARM: davinci: da850-evm: call regulator_has_full_constraints()
443250665388 mlxsw: spectrum: Disallow prio-tagged packets when PVID is removed
512bbb114b99 KVM: arm/arm64: vgic: Fix kvm_device leak in vgic_its_destroy
41420ac584d7 Input: imx_keypad - make sure keyboard can always wake up system
b71f312e9bf7 riscv: Fix udelay in RV32.
122c6a71c08d drm/vmwgfx: fix a warning due to missing dma_parms
d3861d4ca94c drm/vmwgfx: Honor the sg list segment size limitation
c0b12abd1828 s390/boot: disable address-of-packed-member warning
e71daed5176f ARM: dts: am335x phytec boards: Fix cd-gpios active level
822c2ee81c63 ibmvnic: Fix unchecked return codes of memory allocations
0f06004d16be ibmvnic: Refresh device multicast list after reset
e65dd528bb8e ibmvnic: Do not close unopened driver during reset
374180b11b29 net: phy: rename Asix Electronics PHY driver
473a75c7fab5 can: af_can: Fix error path of can_init()
486954277fc1 can: m_can: implement errata "Needless activation of MRAF irq"
270149f78b9c can: mcp251x: add support for mcp25625
33672c74b484 dt-bindings: can: mcp251x: add mcp25625 support
07c96e8e8021 soundwire: intel: set dai min and max channels correctly
c7e427e28a3a mwifiex: Fix heap overflow in mwifiex_uap_parse_tail_ies()
8e115a079940 iwlwifi: Fix double-free problems in iwl_req_fw_callback()
d4c0f752c1d2 mwifiex: Fix possible buffer overflows at parsing bss descriptor
b8588a0981b7 mac80211: free peer keys before vif down in mesh
acc42e5c2322 mac80211: mesh: fix RCU warning
e3868c1a462f staging:iio:ad7150: fix threshold mode config bit
6b1ce3971e05 soundwire: stream: fix out of boundary access on port properties
6be857082611 bpf: sockmap, fix use after free from sleep in psock backlog workqueue
bc84982f977d mac80211: fix rate reporting inside cfg80211_calculate_bitrate_he()
3c24a931e972 samples, bpf: suppress compiler warning
e7779115bbd9 samples, bpf: fix to change the buffer size for read()
fe01e93c3fd1 Input: elantech - enable middle button support on 2 ThinkPads
2883fc1ece69 soc: bcm: brcmstb: biuctrl: Register writes require a barrier
2f1c962a7416 soc: brcmstb: Fix error path for unsupported CPUs
e8250f730410 crypto: talitos - rename alternative AEAD algos.
7a6bfa08b938 Linux 4.19.58
f37de75cb8eb dmaengine: imx-sdma: remove BD_INTR for channel0
018c968de710 dmaengine: qcom: bam_dma: Fix completed descriptors count
870de1499505 MIPS: have "plain" make calls build dtbs for selected platforms
8957895b35de MIPS: Add missing EHB in mtc0 -> mfc0 sequence.
2b8f8a80ca8b MIPS: Fix bounds check virt_addr_valid
80b25628ff26 svcrdma: Ignore source port when computing DRC hash
8129a10ce78f nfsd: Fix overflow causing non-working mounts on 1 TB machines
f25c06955f8d KVM: LAPIC: Fix pending interrupt in IRR blocked by software disable LAPIC
f6472f50fbfc KVM: x86: degrade WARN to pr_warn_ratelimited
ac0024baf073 netfilter: ipv6: nf_defrag: accept duplicate fragments again
54e8cf41b20b bpf: fix bpf_jit_limit knob for PAGE_SIZE >= 64K
e6c288f7307e net: hns: fix unsigned comparison to less than zero
4f24801ef50b sc16is7xx: move label 'err_spi' to correct section
318244f3641a netfilter: ipv6: nf_defrag: fix leakage of unqueued fragments
a8891c5e2251 ip6: fix skb leak in ip6frag_expire_frag_queue()
382bc84da904 rds: Fix warning.
7e6af1fa80b8 ALSA: hda: Initialize power_state field properly
c8c88293bf72 net: hns: Fixes the missing put_device in positive leg for roce reset
6bf9677300f3 x86/boot/compressed/64: Do not corrupt EDX on EFER.LME=1 setting
b91ec6ae14da selftests: fib_rule_tests: Fix icmp proto with ipv6
e2851c3ee0be scsi: tcmu: fix use after free
04096b3beace mac80211: mesh: fix missing unlock on error in table_path_del()
e2379b044d67 f2fs: don't access node/meta inode mapping after iput
e9fde78c3a4f drm/fb-helper: generic: Don't take module ref for fbcon
7821bcce20aa media: s5p-mfc: fix incorrect bus assignment in virtual child device
3ddc2a100706 net/smc: move unhash before release of clcsock
cd54dc4cd37d mlxsw: spectrum: Handle VLAN device unlinking
a8a296abee36 tty: rocket: fix incorrect forward declaration of 'rp_init()'
fb814f215013 btrfs: Ensure replaced device doesn't have pending chunk allocation
27ce6c2675f6 mm/vmscan.c: prevent useless kswapd loops
c854d9b6ef8d ftrace/x86: Remove possible deadlock between register_kprobe() and ftrace_run_update_code()
2e716c3b562d drm/imx: only send event on crtc disable if kept disabled
8ec242fd431b drm/imx: notify drm core before sending event during crtc disable
d2d061351d64 drm/etnaviv: add missing failure path to destroy suballoc
ec5d99e18d30 drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE
ec6d8c9e6687 drm/amd/powerplay: use hardware fan control if no powerplay fan table
b6d56f4f6a49 arm64: kaslr: keep modules inside module region when KASAN is enabled
7cab3dfa6d74 ARM: dts: armada-xp-98dx3236: Switch to armada-38x-uart serial node
c8790d7f76be tracing/snapshot: Resize spare buffer if size changed
052b31810085 fs/userfaultfd.c: disable irqs for fault_pending and event locks
ea38007107d6 lib/mpi: Fix karactx leak in mpi_powm
7df1e2f59bde ALSA: hda/realtek - Change front mic location for Lenovo M710q
899377c50e60 ALSA: hda/realtek: Add quirks for several Clevo notebook barebones
d9b6936b134e ALSA: usb-audio: fix sign unintended sign extension on left shifts
7f52af5e9baa ALSA: line6: Fix write on zero-sized buffer
3663bf2baa97 ALSA: firewire-lib/fireworks: fix miss detection of received MIDI messages
9d2ac58c1ef9 ALSA: seq: fix incorrect order of dest_client/dest_ports arguments
ae3fa28f0938 crypto: cryptd - Fix skcipher instance memory leak
015c20532ace crypto: user - prevent operating on larval algorithms
54435b7fff7b ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME
600d3712ae12 drm/i915/dmc: protect against reading random memory
2b39351e3844 ftrace: Fix NULL pointer dereference in free_ftrace_func_mapper()
938044171949 module: Fix livepatch/ftrace module text permissions race
220adcc0e0ca tracing: avoid build warning with HAVE_NOP_MCOUNT
79fccb9815db mm/mlock.c: change count_mm_mlocked_page_nr return type
4fce0a79e985 scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE
b7747ecb82be cpuset: restore sanity to cpuset_cpus_allowed_fallback()
e33aeb9a7c0a i2c: pca-platform: Fix GPIO lookup code
7cf431edfb71 platform/mellanox: mlxreg-hotplug: Add devm_free_irq call to remove flow
c241f3fbfa1a platform/x86: mlx-platform: Fix parent device in i2c-mux-reg device registration
f853112772b0 platform/x86: intel-vbtn: Report switch events when event wakes device
2ac96173bee0 platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from asus_nb_wmi
027e043f9c78 drm: panel-orientation-quirks: Add quirk for GPD MicroPC
2446563dd6d7 drm: panel-orientation-quirks: Add quirk for GPD pocket2
8be5629b9622 scsi: hpsa: correct ioaccel2 chaining
c1bef204c70a SoC: rt274: Fix internal jack assignment in set_jack callback
1023af0c069d ALSA: hdac: fix memory release for SST and SOF drivers
26a6acde2a42 usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC
9be058f5dd70 usb: gadget: fusb300_udc: Fix memory leak of fusb300->ep[i]
5284327f4e17 x86/CPU: Add more Icelake model numbers
74929087384f ASoC: sun4i-i2s: Add offset to RX channel select
32475634e8a8 ASoC: sun4i-i2s: Fix sun8i tx channel offset mask
7b7486398a32 ASoC: max98090: remove 24-bit format support if RJ is 0
3b60f98ef496 drm/mediatek: call mtk_dsi_stop() after mtk_drm_crtc_atomic_disable()
34e5e1c4874f drm/mediatek: clear num_pipes when unbind driver
a8a86e9a5533 drm/mediatek: call drm_atomic_helper_shutdown() when unbinding driver
79e095d234bb drm/mediatek: unbind components in mtk_drm_unbind()
319f4699bcaa drm/mediatek: fix unbind functions
dbd94f4938c6 spi: bitbang: Fix NULL pointer dereference in spi_unregister_master
3f8d3c9506a5 ASoC: ak4458: rstn_control - return a non-zero on error only
3c3dd68c48e8 ASoC: soc-pcm: BE dai needs prepare when pause release after resume
4c31b4b4ba65 ASoC: ak4458: add return value for ak4458_probe
0c19bcdb0db9 ASoC : cs4265 : readable register too low
c549680ed59b netfilter: nft_flow_offload: IPCB is only valid for ipv4 family
041c181e6ba0 netfilter: nft_flow_offload: don't offload when sequence numbers need adjustment
48f611ecea0e netfilter: nft_flow_offload: set liberal tracking mode for tcp
3b2734bc839d netfilter: nf_flow_table: ignore DF bit setting
869eec894663 md/raid0: Do not bypass blocking queue entered for raid0 bios
c9d8d3e9d7a0 block: Fix a NULL pointer dereference in generic_make_request()
5dd6139a0aa2 Bluetooth: Fix faulty expression for minimum encryption key size check
(From OE-Core rev: 71edff03db1a508ab9e1a919b5a5b90ee7316609)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 885eeb589ed3150a17a8ac62c44632cb02171478)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When parsing recipes its apparent the memory usage of bitbake rises linearly
with number of recipes parsed. It shouldn't.
Using tracemalloc (thanks for the tip Joshua Lock) it was clear that the
dependency information left behind in siggen was the culprit. Add a new
method to allow us to drop this information. We don't need it after the recipe
has been parsed and hashes calculated (at runtime its different but only the
currently executing task would be in memory).
This should give signficant memory usage improvements for bitbake and that
in turn should help speed on more constrained systems, as well as when used in
multiconfig environments.
(Bitbake rev: d411b097d810c386d35dc561f8812bb3f35c9a36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a few comment lines in Makefile to commemorate Scott's
contributions
(From yocto-docs rev: 2259d897aa996a996656f87d39cafa52c40c652d)
Signed-off-by: Jefro <jefro@jefro.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When there are many watched files, keeping track of them using lists
is suboptimal. Using sets improves the performance considerably.
(Bitbake rev: aa770081d7d3ff678b18117a4b4e9b3da09b72be)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e96df260e47d160dbd36bfc92c31ef06266f662)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since this file is written during recipe parsing, having it in the
${BUILDDIR}/conf directory, which is covered by an inotify watcher,
will trigger a re-parse the next time bitbake is run and the resident
bitbake server is enabled. This causes the sanity_info file to be
updated again, which triggers a new parse the next time bitbake is run
ad infinitum. Moving it to ${BUILDDIR}/cache should avoid this.
(From OE-Core rev: a63d59f64a2d1f450a7639426cae8e0373a2d764)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f98103b548aa7dba6b1be6c8e02ef41858a8e85c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the sanity_info file has moved from the conf directory to the
cache directory, there is no longer any need to clean it away
explicitly in clean_esdk_builddir() since the whole cache directory is
already cleaned away anyway.
(From OE-Core rev: 9b92d5fbfdcf48a17efdd8c1edda4ad26def017f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 40c30990e1be72130819c040fe471e2bdc0c6e7d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with openSSL 1.1.1d we start seeing errors like
Error Generating Key
139979727451584:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:../openssl-1.1.1d/crypto/rand/drbg_lib.c:342:
when using openssl from openssl-native on build hosts, this is due to
limiting the random seed to devrandom, to support older hosts, since the
option allows to have a comma separated list of methods to try, we can
try the default first and if that fails then fallback to devrandom, this
will ensure that it keeps working with build systems which dont support
getrandom()
(From OE-Core rev: b9fb2913c72ec771e4da2931528f6f5425c14913)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bugfix-only changes on the 241 stable branch,
including a fix for a breakage with OpenSSL >= 1.1.1c.
(From OE-Core rev: 9160dc4dbee6fb13f1a46963ced7961505154213)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One does not strictly apply to 241, for the other two a fix
was already backported to the 241 branch.
(From OE-Core rev: d328696acfd4967d19e32680033d9594dd00b92c)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_prepare_recipe_sysroot may perform groupadd, which requires pseudo.
However, do_prepare_recipe_sysroot does not depend on pseudo explicitly,
which sometimes causes a build error when building a recipe that adds
groups.
This issue only occurs when executing do_prepare_recipe_sysroot for a
recipe that adds groups before finishing a task that depends on pseudo
for a recipe that doesn't add groups.
(From OE-Core rev: 86f196dc077de7f3f6664e69703a96245b42ddc0)
Signed-off-by: Mattias Hansson <mattihn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python uses features of glibc that require it to dynamically load (i.e.
dlopen()) libgcc_s at runtime. However, since this isn't a link time
dependency, it doesn't get picked up automatically by bitbake so
manually add it to RDEPENDS.
There is an outstanding bug in Python to make it explicitly link against
libgcc at link time which would remove the need for this. See:
https://bugs.python.org/issue37395
(From OE-Core rev: 04297ee03f5f4e4edafaf332a6648465f52ba1eb)
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>
[ merged the fix to make it glibc only ]
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is not exploitable when glibc has CVE-2016-10739 fixed,
which is fixed in the upstream version since warrior.
(From OE-Core rev: a2507600fecdf815ad80da569c5e8ad65286b812)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One Windows-only CVE that cannot be fixed, and two CVEs
where upstream agreement is that they are not vulnerabilities.
(From OE-Core rev: 1b69d141b73e46cc377f8566868da44dd5b1ea42)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm5.org has been down for about a year now. Use linuxfromscratch.org
as an alternative reliable source instead.
(From OE-Core rev: 2e2fb4e9db2e328dcb771951feb7f7ab5c0c4dd6)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d9224014da9a512b1b8837e4e7a736d465c97be3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to recently released version 1.1 of NVD CVE JSON feed, as in
https://nvd.nist.gov/General/News/JSON-1-1-Vulnerability-Feed-Release
it is mentioned that
Due to changes required to support CVSS v3.1 scoring, the JSON
vulnerability feeds must be modified. This will require the consumers
of this data to update their internal processes. We will be providing
the JSON 1.1 schema on the data feeds page and the information below
to prepare for this transition.
...
The JSON 1.1 data feeds will be available on September 9th, 2019. At
that time the current JSON 1.0 data feeds will no longer available.
This change was tested briefly by issuing 'bitbake core-image-minimal'
with 'cve-check.bbclass' inherited via local.conf, and then comparing
the content between the resulting two
'DEPLOY_DIR_IMAGE/core-image-minimal-qemux86.cve' files, which did not
seem to contain any other change, except total of 167 entries like
CVSS v3 BASE SCORE: 0.0
were replaced with similar 'CVSS v3 BASE SCORE:' entries which had
scores that were greater than '0.0' (up to '9.8').
(From OE-Core rev: cc20e4d8ff2f3aa52a2658404af9a0ff358cc323)
(From OE-Core rev: 72c22b8791707480c380f49305c6d394578b2a4b)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c92b8804d6e59b2707332859957f0e6a46db0a73)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code used to construct a single SQL statement that fetched the NVD data for
every CVE requested. For recipes such as the kernel where there are over 2000
CVEs to report this can hit the variable count limit and the query fails with
"sqlite3.OperationalError: too many SQL variables". The default limit is 999
variables, but some distributions such as Debian set the default to 250000.
As the NVD table has an index on the ID column, whilst requesting the data
CVE-by-CVE is five times slower when working with 2000 CVEs the absolute time
different is insignificant: 0.05s verses 0.01s on my machine.
(From OE-Core rev: 53d0cc1e9b7190fa66d7ff1c59518f91b0128d99)
(From OE-Core rev: 0f5b748a5b7fec41bac16bbc1346230e86bb99e3)
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>
A previous optimisation was premature and resulted in false-negatives in the report.
Rewrite the checking algorithm to first get the list of potential CVEs by
vendor:product, then iterate through every matching CPE for that CVE to
determine if the bounds match or not. By doing this in two stages we can know
if we've checked every CPE, instead of accidentally breaking out of the scan too
early.
(From OE-Core rev: d61aff9e22704ad69df1f7ab0f8784f4e7cc0c69)
(From OE-Core rev: 9948dd86d100bec56e22e6c0bbf4759925a4b306)
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>
urllib handles adding proxy handlers if the proxies are set in the environment,
so call bb.utils.export_proxies() to do that and remove the manual setup.
(From OE-Core rev: 6b73004668b3b71c9c38814b79fbb58c893ed434)
(From OE-Core rev: 2ddf1c0bc4267d38069f9dbb0f716fdac29a49a9)
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>
Create an index on the PRODUCTS table which contains a row for each CPE,
drastically increasing the performance of lookups for a specific CVE.
(From OE-Core rev: b4048b05b3a00d85c40d09961f846eadcebd812e)
(From OE-Core rev: 9abd2b5c4ddfb98f3b8574954e1fd0e95a47ebcc)
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>
Don't hardcode the database filename, there's a variable for this in
cve-check.bbclass.
(From OE-Core rev: 0d188a9dc4ae64c64cd661e9d9c3841e86f226ab)
(From OE-Core rev: f774665ee4dcdc5a1fe1f51384d82fb8e1b219e1)
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 already fetch the yearly CVE metadata and check that for updates before
downloading the full data, but we can speed up CVE checking further by only
checking the CVE metadata once an hour.
(From OE-Core rev: 50d898fd360c58fe85460517d965f62b7654771a)
(From OE-Core rev: fd16e1bb582d3135411e2e3dad46731114d2b955)
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 patch scanner works with patch files in the layer, not in the workdir, so it
doesn't need to unpack.
(From OE-Core rev: 2cba6ada970deb5156e1ba0182f4f372851e3c17)
(From OE-Core rev: 8bfe83d53c39e4a88f808af617db7db091694841)
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>
CVEs that are whitelisted or were not vulnerable when there are version
comparisons were not included in the report, so alter the logic to ensure that
all relevant CVEs are in the report for completeness.
(From OE-Core rev: 98256ff05fcfe9d5ccad360582c36eafb577c264)
(From OE-Core rev: 430e95cd819577d4d71fe6d579a175b8776aa467)
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>
install_locales() here is actually operating on nativesdk and only glibc
is the default library for nativesdk, since thats what most of
desktop/server distros use, therefore bailing out based on TCLIBC is not
needed here, since nativesdk-glibc would be required for all non-glibc
targetting SDKs as well.
Fixes SDK install time error
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Your system needs to support the en_US.UTF-8 locale.
ERROR: SDK preparation failed
(From OE-Core rev: 7b8f6388e0a1e1eab35918a3764e98553a2452f4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-libpcap/0001-pcap-usb-linux.c-add-missing-limits.h-for-musl-syste.patch
Removed since this is included in 1.9.1.
(From OE-Core rev: d0e3d1f9437b2e2c6284d9fad51bb11ebe72a46c)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[CVE-2018-16301 CVE-2019-15161 CVE-2019-15162 CVE-2019-15163 CVE-2019-15164 CVE-2019-15165]
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is about race conditions in 'ps' which make it unsuitable for security
audits. As these race conditions are unavoidable ps shouldn't be used for
security auditing, so this isn't a valid CVE.
(From OE-Core rev: afc529aa689daed18af29ecc64f3dae1fcbdc282)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports, rebase a couple of patches.
This is the second last release of py 2.x; upstream support ends on
1 January 2020, there will be one final 2.x afterwards.
Note that the only thing that still needs python 2.x in oe-core is
u-boot; when the next u-boot update arrives, we should find out
where the py3 migration is for that component before merging the
update.
(From OE-Core rev: 184b60eb905bb75ecc7a0c29a175e624d8555fac)
(From OE-Core rev: 7009d823a0799ce7132bd77329b273a476718c8c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
[Minor fixup for warrior context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patches to fix CVE-2019-6471 and CVE-2018-5743 for bind.
CVE-2019-6471 is fixed by 0001-bind-fix-CVE-2019-6471.patch and the
other 6 patches are for CVE-2018-5743. And backport one more patch to
fix compile error on arm caused by these 6 commits.
(From OE-Core rev: 3c39d4158677b97253df63f23b74c3a9dd5539f6)
(From OE-Core rev: 230a96ddecf940a7caee9e9268b21aa5f65a7f14)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes YOCTO #13553
This bug is where the mega-manual will not build because the
mega-manual.xml file is looking in the wrong directory in a
poky checkout such as a customer would have. It worked in my
local development environment for the manuals. I fixed by
updating mega-manual.xml pathname used to construct the mega-manual
to look in $HOME/yocto-docs/bitbake for the HTML files that
make up the mega-manual. Prior, it was looking in $HOME/bitbake.
This also meant that I changed my production environment to use
$HOME/yocto-docs as the folder in which to keep the local bitbake
repo.
(From yocto-docs rev: ee29f61b92c5ca7dd56393cef5fcd3ff3fe243aa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modern distros (e.g. fedora30) are starting to use the new statx() syscall through
the newly exposed glibc wrapper function in software like coreutils (e.g. the ls
command). Add support to intercept this to pseudo.
(From OE-Core rev: 1c09e45f966d553f1fea3795ef9122dd9957be67)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixup for warrior context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Back in 2010[1] we made pseudo statically link against sqlite3. Since then
the world has changed, pseudo now has separate processes for the database
in the server and the client and they have separate linking commands.
Also, whilst there were concerns about needing specific versions of sqlite3,
in the OE environment, this is always the case.
[1] http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ad0ac0ecd38fc77daf42485489fccc10a5e1e3e7
The static sqlite3-native is causing us problems, in particular:
tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+060058bb29-r0/recipe-sysroot-native/usr/lib/libsqlite3.a(sqlite3.o):(.data.rel+0xb0): undefined reference to `fcntl64'
which occurs if sqlite3-native was built on a machine with glibc 2.28 or later
and pseudo-native is being built on glibc before that. With dyanmical linking,
libc is backwards compatible and works but with static linking it does not.
There appears to be no easy way to avoid this other than adding a copy of
sqlite3 into the pseudo recipe. Given the static linking doesn't seem to
be required any longer due to the separate processes, drop that to fix
those issues.
(From OE-Core rev: c8c13ceafa3b12d2676b86182cb422681d465004)
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>
While working with ostree disk generation in conjunction with wic, I
found a problem with pseudo where it tried to resolve a symlink when
it shouldn't, based on openat() flags. A C program has been
constructed to test pseudo to show that it is working properly with
the correct behavior around openat().
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
#include <fcntl.h>
int main()
{
/*
* Tested with: gcc -Wall -o app app.c ; echo "no pseudo" ;
* ./app ; echo "pseudo"; pseudo ./app
*/
system("rm -rf tdir tlink");
system("mkdir tdir");
system("ln -s tdir tlink");
DIR *dir = opendir(".");
int dfd = dirfd(dir);
int target_dfd = openat (dfd, "tlink", O_RDONLY | O_NONBLOCK |
O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW);
if (target_dfd == -1) {
printf("Test 1 good\n");
} else {
printf("Test 1 failed\n");
close(target_dfd);
}
target_dfd = openat (dfd, "tlink", O_RDONLY | O_NONBLOCK |
O_DIRECTORY | O_CLOEXEC);
if (target_dfd == -1) {
printf("Test 2 failed\n");
} else {
printf("Test 2 good\n");
close(target_dfd);
}
/* Test 3 make sure the owner of the link is root */
struct stat sbuf;
if (!lstat("tlink", &sbuf) && sbuf.st_uid == 0) {
printf("Test 3 good\n");
} else {
printf("Test 3 failed\n");
}
/* Test 4 tests open with the "rb" flag, owner should not change */
int ofd = openat(dfd,"./tlink", O_RDONLY|O_CLOEXEC);
if (ofd >= 0) {
if (fstat(ofd, &sbuf) != 0)
printf("ERROR in fstat test 4\n");
else if (sbuf.st_uid == 0)
printf("Test 4 good\n");
close(ofd);
} else {
printf("Test 4 failed with openat()\n");
}
/* Test pseudo db to see the fstat() above did not delete the DB entry */
if (!lstat("tlink", &sbuf) && sbuf.st_uid == 0)
printf("Test 5 good\n");
else
printf("Test 5 failed... tlink is owned by %i and not 0\n", sbuf.st_uid);
return 0;
}
int main()
{
/* Tested with: gcc -Wall -o app app.c ; echo "no pseudo" ; ./app ; echo "pseudo"; pseudo ./app */
system("rm -rf tdir tlink");
system("mkdir tdir");
system("ln -s tdir tlink");
DIR *dir = opendir(".");
int dfd = dirfd(dir);
int target_dfd = openat (dfd, "tlink", O_RDONLY | O_NONBLOCK | O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW);
if (target_dfd == -1) {
printf("This is right\n");
} else {
printf("This is broken\n");
}
return 0;
}
Many thanks to Peter Seebach for fixing the problem in the pseudo code
to use the same logic which was already there for the
AT_SYMLINK_NOFOLLOW.
Also updated is the license MD5 checksum since the master branch of
pseudo has had the SPDX data updated.
(From OE-Core rev: d1788e865d9bcd70b36d0f239647aeffb0ea8b85)
Signed-off-by: Jason Wessel <jason.wessel@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>
Before this patch:
# python3 -m test -v test_locale
[snip]
test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9') ok
[snip]
After this patch:
# python3 -m test -v test_locale
[snip]
test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9')... ok
[snip]
Make the test ended with "... ok" is common in python
unittest world, we should make it keep consistent
with other test cases in case it may be ignored to
record in the report if we use the common filter
"... ok".
[YOCTO #13298]
(From OE-Core rev: 5b8022db53d9ef50ea35b034a6e27477038a508b)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reformats the sysconfig file when packaging. This file is output by
using the python pprint function. This function will wrap long lines at
80 characters by default, and will even split strings at whitespace
boundaries to do so, e.g.:
'A': 'B is really'
' long'
This causes a problem for reproducibility however because there might be
lines of differing lengths depending on the build path. These
non-reproducible paths are removed, but their effect on string wrapping
from pprint remains.
To correct this, reformat the entire sysconfig file by re-printing using
pprint with an (effectively) unlimited line length.
(From OE-Core rev: 01e4409e81c3d037fcba82fbcb3273dd1118490b)
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>
When building x86->x86 the system will try to execute .so and related items
from the default PYTHONPATH. This will fail if the target CPU contains
instructions that the host CPU does not have, add CROSSPYTHONPATH
into PYTHONPATH so we can prepend the list to find correct libs.
Fixes:
Illegal instruction (core dumped)
Makefile:625: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 132
make: *** Waiting for unfinished jobs....
(From OE-Core rev: 2f8086ce87bbb62ef971be4da80c2c2b9d8c9c66)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.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 originally only meant to correct the python3 build for mips
with softfloat, as the original test only checked for mips hardfloat.
Replaced custom C Program for triplet detection with autotools triplet
detection.
(From OE-Core rev: f3326309c7c22a6034917f6eee21908c61f44a2f)
Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
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 using make -j with the 'install' target, it's possible for altbininstall
(which normally creates BINDIR) and libainstall (which doesn't, though it
installs python-config there) to race, resulting in a failure due to
attempting to install python-config into a nonexistent BINDIR. Ensure it also
exists in the libainstall target.
(From OE-Core rev: dc84f40fd485863fb6c77e641d76135b21867d39)
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>
In commit 8689e561 (lib/oe/lsb: attempt to ensure consistent distro id
regardless of source), the distro ID returned by
oe.lsb.distro_identifier() was lowercased, but only if a release
version is also present.
This changes the code to always lowercase the distro ID, including the
default distro ID "unknown", which is used if no other ID can be
identified.
(From OE-Core rev: c552c9f0fe0f8aaa230a4c6a410a00e8b99a74ae)
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>
During restructuring of the packaging in 2af4d6eb (tzdata: Install
everything by default), these two files remained in the tzdata
package, which is supposed to be empty. Move them to tzdata-core where
they belong.
Also simplify the definition of CONFFILES_tzdata-core. As its value
only takes effect for files that actually exist, there is no need to
complicate its definition by checking if a file is created before
adding it to the list of configuration files.
(From OE-Core rev: 50e64732585e0d3abe0a8e589d2122a7dc06c826)
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 should have been removed in 3db9d865 (classes/package_rpm.bbclass:
Enhance diagnostic messages) when it was split in two new notes.
Also change the casing of two other notes to align them with the other
notes.
(From OE-Core rev: b6ef5f2c84b34622280112c48cb2efbc1467e3d0)
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>
When extracting the sources for a recipe that has S == WORKDIR and no
local files in the SRC_URI (which, e.g., can happen for a recipe with
a URI that has the unpack=false attribute), the extraction fails with
the following backtrace:
Traceback (most recent call last):
File ".../scripts/devtool", line 344, in <module>
ret = main()
File ".../scripts/devtool", line 331, in main
ret = args.func(args, config, basepath, workspace)
File ".../poky/scripts/lib/devtool/standard.py", line 762, in
modify
initial_rev, _ = _extract_source(srctree, args.keep_temp,
args.branch, False, config, basepath, workspace,
args.fixed_setup, rd, tinfoil, no_overrides=args.no_overrides)
File ".../poky/scripts/lib/devtool/standard.py", line 647, in
_extract_source
bb.process.run('git %s commit -a -m "Committing local file
symlinks\n\n%s"' % (' '.join(useroptions),
oe.patch.GitApplyTree.ignore_commit_prefix), cwd=srctree)
File ".../poky/bitbake/lib/bb/process.py", line 178, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git commit -a -m
"Committing local file symlinks
%% ignore"' failed with exit code 1:
On branch devtool
nothing to commit, working tree clean
This is because no files were found in the oe-local-files directory
and consequently no symbolic links were added using `git add`, but the
`git commit` command was still executed.
(From OE-Core rev: 025091692e73b78c36bd4095288b9f3fc7ee1811)
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>
The options in ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} are already passed
via ${CC}/${CXX} and there is no reason to pass them a second time. Thus
we can remove MESON_TOOLCHAIN_ARGS. And when it is removed, the other
MESON_*_ARGS variables revert to the standard CFLAGS, CXXFLAGS and
LDFLAGS, so just use them directly instead.
Apart from the obvious improvement with not passing a lot of options
twice, this also solves a problem where -pie would be passed on the
command line in a way that it would prevent building any dynamic
libraries using meson if using a toolchain that is not built with
--enable-default-pie and if security_flags.inc is used.
(From OE-Core rev: 650aa572f96266ea532666b5896d259ceb0dc1da)
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>
This allows <language>_args and <language>_link_args properties, e.g.,
c_link_args, in meson.cross to be specified as either a string or a
list.
(From OE-Core rev: 1913e688ad95d465e9b9d16ad57f2bdef2b50d93)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a weird error in OE-Core where "devtool modify virtual/kernel"
was showing basehash mismatch errors. This was due to SRCPV sometimes being:
AUTOINC+b867b78b50_47b80ef7bd and sometimes AUTOINC+b867b78b50_255a750d28.
The latter hash comes from KBRANCH and meant sometimes the correct branch
was seen, sometimes it was not. The issue was complicated by the execution
using a remote datastore over tinfoil.
The problem turns out to be a fetcher caching error. If the datastore
changes, the cached url data may not be valid.
We therefore ensure we match cached url data against the datastore that
generated it, which appears to fix this issue.
(Bitbake rev: 4ce50bbd34eefeabfeca89a6a66c71598d3c58f6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitbake-worker child on the SIGTERM signal handling send the SIGTERM to all
processes in it's process group. In cases when the bitbake-worker child got
SIGTERM after registering own SIGTERM handler and before the os.setsid() call
it can send SIGTERM to unwanted processes.
In the worst case during SIGTERM processing the bitbake-worker child can be in
the group of the process that started BitBake itself. As a result it can kill
processes that not related to BitBake at all.
(Bitbake rev: b7483a7738daf69902ef590a8144a557576bbce0)
Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer
account can bypass certain policy blacklists and session PAM modules,
and can cause incorrect logging, by invoking sudo with a crafted user
ID. For example, this allows bypass of !root configuration, and USER=
logging, for a "sudo -u \#$((0xffffffff))" command.
(From OE-Core rev: 650dd9486d6e5410665d5376be30732c7625396d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e11cd561f2bdaa6807cf02ee7c9870881826308)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit b1e0149c41e3c344a0496e64ab3b0c9dd4685ea4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Libgcrypt 1.8.4, the C implementation of AES is vulnerable to a
flush-and-reload side-channel attack because physical addresses are
available to other processes. (The C implementation is used on platforms
where an assembly-language implementation is unavailable.)
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2019-12904
Patches from:
1374254c29daedbbb554a4c561aab1
(From OE-Core rev: a981d9b753a13e100af1f654fb3384f0bcda0b65)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 37e390ff05b6a4509019db358ed496731d80cc51)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 4c207cb1ad46c0d2005ab3eae70d78c937e084b5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set OPENSSL_ENGINES to the path where engines are actually installed.
(From OE-Core rev: 041fb2743a94d7fb065b073efbe5fe5cf46cde53)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 59565fec0b3f3e24eb01c03b671913599cd3134d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 578f41124565a7cda738c7fe3d25702ee41b08ed)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
ERROR: python-2.7.16-r0 do_package_qa: QA Issue:
/usr/lib/python2.7/lib-dynload/_tkinter.so contained in package
python-tkinter requires libtk8.6.so, but no providers found in
RDEPENDS_python-tkinter? [file-rdeps]
(From OE-Core rev: f83ecbabb911c46de77708ede759a0b768928ea2)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit f78248a2380bbbbf271b5bb02c762f5bc7a3a92e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The other active kernel versions have this feature available. To
consistently enable the same video output for qemu, we can cherry
pick the feature to 4.19.
(From OE-Core rev: a777e0f34e106455f963bd58fd8728a16c588c4d)
(From OE-Core rev: 2b7444e41e47e462a8aae0e3e1e95b04cdbaff22)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding the following fragments from meta-security to make them
centrally available and easier to maintain:
283939d5c9e kernel-cache: add yama security fragments
0b86f3fa241 kernel-cache: add ima fragments
731b466654d kernel-cache: add smack
813afe8ff47 kernel-cache: add apparmor fragments
(From OE-Core rev: 3063d64984e993d3e7dc2f4c80fb74005f5d6d7e)
(From OE-Core rev: f5ae4010dd29484627a169b8ab02b1012d1dd1d4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From the kernel patch:
[
It was observed that the kernel embeds the path in the x86 boot
artifacts.
From https://bugzilla.yoctoproject.org/show_bug.cgi?id=13458:
[
If you turn on the buildpaths QA test, or try a reproducible build, you
discover that the kernel image contains build paths.
$ strings bzImage-5.0.19-yocto-standard |grep tmp/
out of pgt_buf in
/data/poky-tmp/reproducible/tmp/work-shared/qemux86-64/kernel-source/arch/x86/boot/compressed/kaslr_64.c!?
But what's this in the top-level Makefile:
$ git grep prefix-map
Makefile:KBUILD_CFLAGS += $(call
cc-option,-fmacro-prefix-map=$(srctree)/=)
So the __FILE__ shouldn't be using the full path. However
arch/x86/boot/compressed/Makefile has this:
KBUILD_CFLAGS := -m$(BITS) -O2
So that clears KBUILD_FLAGS, removing the -fmacro-prefix-map option.
]
Other architectures do not clear the flags, but instead prune before
adding boot or specific options. There's no obvious reason why x86 isn't
doing the same thing (pruning vs clearing) and no build or boot issues
have been observed.
So we make x86 can do the same thing, and we no longer have embedded paths.
]
This issue has been reported upstream, and a patch submission is
pending, but for now, we'll soak the proposed patch in linux-yocto to
see if any issues are found
[YOCTO: #13458]
(From OE-Core rev: 78b0ff5960814af935a8089ec49c51d76f148149)
(From OE-Core rev: a45a6e12d6ce3a531ad924d3e548de8a95055866)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While we don't normally do a dual h/w and virt BSP (since they
tend to have conflicting requirements over time). A minimal overhead
option to do this was submitted to linux-yocto. Since it has no
impact on the h/w reference, has SDK testing value and can serve
as a template on how to do this for other arm boards, it is worth
making the configuration available.
The original commit log follows:
[
If the kernel supports Qemu's virt machine, runqemu works almost for free.
The device tree for machine virt is included in Qemu, which simplifies
everything quite a bit.
This change adds ARCH_VIRT=y and some drivers to the beaglebone kernel
configuration which allows to:
export MACHINE="beaglebone-yocto"
bitbake core-image-minimale
runqemu
This also works out of an eSDK. Whithout this feature usually two
different SDKs need to be compiled and maintained. One SDK is used for development
in Qemu, another one is used to develop for the real target hardware.
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
]
(From OE-Core rev: cc1fca6d464775daa15032f11c02d16b99759407)
(From OE-Core rev: 61eed761a51fcb5ac293b76b4dc6edbd6dbbb32f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the scsi-debug fragment to include the core scsi config
options. This allows standalone use of the fragment, since all
supporting options will be enabled simply by including the top
level config in a BSP.
This also removes a configuration warning on qemuarm, since we
will no longer have missing / unavailable options during the
config audit.
(From OE-Core rev: c65826e96a77928938fef69fc0cbc65ec7431cb2)
(From OE-Core rev: 6c2c6bed0bd5f0a303b9aacfab7db6daec3ee878)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If one has provided external key/certificate for modules signing, Kbuild
will skip creating signing_key.pem and will write only signing_key.x509
certificate. Thus we have to check for .x509 file existence rather than
.pem one.
(From OE-Core rev: 6ab0206b8252755367f2357f49007dd78336fec0)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2527e731eba43bd36d0ea268aca6b03155376134)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Entails all the cover pages for the release date. Used
November 2019 for now. Updated poky.ent and the
mega-manual.sed file. Good to go.
(From yocto-docs rev: f7bf30b96ba7feaf33df544162a713204520b389)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12760]
Updated the cmake.bbclass description to tell what directory
to insall custom CMake toolchain files into. Also, updated
the two areas in the "Writing a New Recipe" section that
mention CMake. Placed a couple notes there concerning the
same directory stuff.
(From yocto-docs rev: cacdedf4e1186a96ce00f94e0f42817dfb724ac7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was in a moving to YP version 1.8 migration section.
(From yocto-docs rev: 76e63455276aff8a03c00e2fd12c728c5aeb6e2c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The variable values that result from parsing multiconfig should be
included in the cooker data hash, otherwise changes to these files won't
be detected, which will allow the parsing cache to be loaded with the
old values for the multiconfigs. This can either manifest as the
variable values simply not updating, or getting basehash changed errors
when building.
This bug was previously undetected because all of the multiconfig base
files were a direct file dependency in all parsed recipes. This was
fixed in 34137a00f60 ("bitbake: bitbake: cooker: Rename __depends in all
multiconfigs"), exposing this bug.
[YOCTO #13541]
(Bitbake rev: 75d6648f232a06b99c54a1e33324a7fc1cd15b38)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the following error:
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
(From OE-Core rev: fbedc2d73ff472c89ba273a890408f93015e8f17)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently systemd 241 does break for kernels 5.2+ with the error described here:
* https://github.com/systemd/systemd/issues/12784
The issue has been fixed in master and will be fixed in the release 243. The
necessary patches have been backported to systemd/systemd-stable in the branch
v241-stable, but currently in warrior an old version of that branch is pulled
in.
This patch updates the SRCREV to the latest commit from that branch and
therefore pulls in the needed fix to run systemd 241 on 5.2+ kernels.
(From OE-Core rev: 8b9703454cb2a8a0aa6b7942498f191935d547ea)
Signed-off-by: Jan Klare <jan.klare@bisdn.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's INITRAMFS_FSTYPES that can be set differently.
(From OE-Core rev: 66c05bb2ca6ecdb621ae1e5bdf28e7aa768d9aba)
Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In recent years AMD CPUs have had various problems with RDRAND
giving either non-random data or no result at all, which is
problematic if either build or target machine has a CPU with
this problem.
The fallback is /dev/urandom, and I'd trust the kernel here.
--enable-rdrand was added in an upgrade to a new upstream
version without mentioning any reason.
[YOCTO #13534]
(From OE-Core rev: 07b19cd9ef127ec87f727e154eda62272a828275)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
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 main issue is to make the x86 checks apply to x86 targets only. We may
end up with better checks on other architectures but this adapts the code to
allow for that and its still controlled by whether QB_CPU_KVM is set.
The code needed minor refactoring so the qemu-system-XXX name is set
earlier so the kvm code can use it.
(From OE-Core rev: acc0f4a6a99fe9367e57a5c2a4f995b6f4db4a9f)
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 kvm acceleration on arm systems that support it. "host" is the
best option I can find right now to attempt to use the acceleration. It
potentially might not be correct but arm systems are sensitive to the
correct values and I don't want to encode the autobuilders CPU type here.
(From OE-Core rev: 20a61476a45d5116dc7081e802b2aaa0bab7e77f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f13788541f64774a586971ed57699e4397b38b32)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As detailed at [1] the XML feeds provided by NIST are being discontinued on
October 9th 2019. As cve-check-tool uses these feeds, cve-check.bbclass will be
inoperable after this date.
To ensure that cve-check continues working, backport the following commits from
master to move away from the unmaintained cve-check-tool to our own Python code
that fetches the JSON:
546d14135c5 cve-update-db: New recipe to update CVE database
bc144b028f6 cve-check: Remove dependency to cve-check-tool-native
7f62a20b32a cve-check: Manage CVE_PRODUCT with more than one name
3bf63bc6084 cve-check: Consider CVE that affects versions with less than operator
c0eabd30d7b cve-update-db: Use std library instead of urllib3
27eb839ee65 cve-check: be idiomatic
09be21f4d17 cve-update-db: Manage proxy if needed.
975793e3825 cve-update-db: do_populate_cve_db depends on do_fetch
0325dd72714 cve-update-db: Catch request.urlopen errors.
4078da92b49 cve-check: Depends on cve-update-db-native
f7676e9a38d cve-update-db: Use NVD CPE data to populate PRODUCTS table
bc0195be1b1 cve-check: Update unpatched CVE matching
c807c2a6409 cve-update-db-native: Skip recipe when cve-check class is not loaded.
07bb8b25e17 cve-check: remove redundant readline CVE whitelisting
5388ed6d137 cve-check-tool: remove
270ac00cb43 cve-check.bbclass: initialize to_append
e6bf9000987 cve-check: allow comparison of Vendor as well as Product
91770338f76 cve-update-db-native: use SQL placeholders instead of format strings
7069302a4cc cve-check: Replace CVE_CHECK_CVE_WHITELIST by CVE_CHECK_WHITELIST
78de2cb39d7 cve-update-db-native: Remove hash column from database.
4b301030cf9 cve-update-db-native: use os.path.join instead of +
f0d822fad2a cve-update-db: actually inherit native
b309840b6aa cve-update-db-native: use executemany() to optimise CPE insertion
bb4e53af33d cve-update-db-native: improve metadata parsing
94227459792 cve-update-db-native: clean up JSON fetching
95438d52b73 cve-update-db-native: fix https proxy issues
1f9a963b9ff glibc: exclude child recipes from CVE scanning
[1] https://nvd.nist.gov/General/News/XML-Vulnerability-Feed-Retirement
(From OE-Core rev: 8c87e78547c598cada1bce92e7b25d85b994e2eb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
AArch64 images are not self-decompressing, thus usually much larger.
Boot times can be reduced by compressing them in FIT and uImages.
This commit is a backport of commit a725d188b5 (kernel-uboot: compress
arm64 kernels) and commit 60bc7e180e (kernel-uboot: remove useless
special casing of arm64 Image) from master. Both commit were melted
into one to avoid some useless churn.
(From OE-Core rev: 91c42f92cd978a922fff87cb1d0f358c7d9747ea)
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The way this class uses overrides to support generation of multiple
sections is subject to two different issues: 1) labels that conflict
with existing override names causing the value for the conflicting label
to be set for all labels, and 2) reusing the override list through each
iteration, prepending each new label to the list of overrides makes
earlier labels' value take precedence over later labels, making later
labels virtually impossible to customize.
The first issue is resolved by removing all label names from overrides
before iterating over labels. The second issue is resolved by
generating a fresh list of overrides with only the current label added.
The current label is also appended to the list of overrides instead of
prepended, which makes it the highest priority override. This is
matches the behavior of devtool-source.bbclass, which similarly
monkey-patches overrides.
Closes https://bugzilla.yoctoproject.org/show_bug.cgi?id=13469 .
(From OE-Core rev: 933a85e45c3edd65cdcc00cb18e17524e0411a09)
Signed-off-by: Will Page <wpage@polysync.io>
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 do_populate_sysroot task doesn't rerun if you change any of the USERADD_PARAM
or GROUPADD_PARAM variables, only do_package will.
If another task depends on the recipe, this means it won't see any updated changes.
This patch adds in the missing vardeps ensuring the code is deterministic.
[YOCTO #13232]
(From OE-Core rev: 7f98309c856e0a54dc9dafda91c9db0a33e57425)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37d0382a3c67f47f8cfdd977a041069bf912b8c3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When mixing aarch64 and x86_64 host builds with common sstate, useradd failures
were found. This was due to references to:
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/sysroots-components/aarch64/pseudo-native/usr/bin/pseudo
or
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo
on the wrong architecture within the useradd postinst files.
Instead of using COMPONENTS_DIR as the FIXME, use PSEUDO_SYSROOT which contains
the arch component as well to avoid this.
Add extra comments to cause the relavent sstate to be rebuilt.
(From OE-Core rev: 441a2b8979e69c20e7ed0178cdb210eecdec91e1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0384622f72a6c0bd8225cf06f692340fdef67d4a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
$ bitbake core-image-minimal
update-alternatives: libtool has multiple providers with the same priority,
please check
/path/to/rootfs/usr/lib/opkg/alternatives/libtool for details
Both libtool and lib32-libtool have the same priority (as they're the same
recipe), so update-alternatives won't deterministically pick a provider. This
means you could end up with an image using a 32-bit pkgconfig and 64-bit
libtool, for example.
Make extended recipes reduce priority by 1 (or 2, 3 ... when there are multiple
variants in MULTILIB_VARIANTS) to fix the problem.
[YOCTO #13418]
(From OE-Core rev: 51730928df4dbecac72b56e9f843885674b4d18a)
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>
| In file included from ../git/lib/alg-des.c:66:
| ../git/lib/alg-des.c: In function '_crypt_des_set_key':
| ../git/lib/byteorder.h:24:1: error: inlining failed in call to 'be32_to_cpu': call is unlikely and code size would grow [-Werror=inline]
| be32_to_cpu (const unsigned char *buf)
| ^~~~~~~~~~~
| ../git/lib/alg-des.c:81:13: note: called from here
| rawkey1 = be32_to_cpu (&key[4]);
| ^~~~~~~~~~~~~~~~~~~~~
(From OE-Core rev: 9a271cf62d7fc7f2f15c3287831383c2cb3b5dd5)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
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 5.3 kernel has two changes that require tweaks to the minimal
kernel-devsrc package.
- 4ce97317f [x86/purgatory: Do not use __builtin_memcpy and __builtin_memset]
This change removes the need for arch/x86/purgatory/string.c and
instead reuses a copy in arch/x86/boot/compressed/, so we can't copy
the file anymore. To support older kernels, we make the copy survive
the non-existence of the file.
- b1663d7e [docs: Kbuild/Makefile: allow check for missing docs at build time]
This change adds the sourceing of Documentation/Kbuild to the top
level Kbuild file. So we now leave the copy of Documention/'s Kbuild
in the devsrc.
(From OE-Core rev: ef7a387c8045af08e5db171e944656b9bf15f598)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot.bin with dtb & signature should be placed in ${B} so that
it can be deployed by u-boot as expected. Otherwise, the version
without signature is installed.
(From OE-Core rev: 6b4c4fbaef8b4655efbc542fb7b97081dbaed8ce)
Signed-off-by: Jun Nie <jun.nie@linaro.org>
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 using sstate, or performing an incremental build any change to
the do_stash_locale() will cause a build failure because
do_stash_locale() was destroying the results obtained from the
do_install() with several mv operations. A recent change to
do_stash_locale() for a different problem illustrated a number of
build failures for users in the community.
To fix the problem, do_stash_locale() must use copy operations instead
of the mv operations. Because this is changed to a copy, the sysroot
and package stage need to remove the files that would have been
previously removed. The correct "fixup" code to deal with the removal
already existed in the previous do_poststash_install_cleanup(). All
that needed change was the path to where to remove the files
from the sysroot and package stages.
In order to force a re-compilation of glibc some unused white space
was removed from do_compile() for glibc. I could not find any other
way around this and we don't want to have all the community folks to
have another iteration where they have to remove their tmp directories
or purge some portion of the sstate. It also makes this change
bisectable. If the change to the glibc is not included, it will fail
with the following message:
=====
| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
=====
After this one time change I tested changing only the
do_stash_locale() function and it now works well because it is
deterministically operating off the sstate data or a local build.
(From OE-Core rev: 7e62ca2a518f1fe6e2f3c7098d17ed0b73ece48c)
Signed-off-by: Jason Wessel <jason.wessel@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 do_stash_locale was not working consistently across the 4 build
configurations and the multilib, usrmerge configuration would fail
entirely with the obscure message:
| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
| WARNING: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/temp/run.do_prep_locale_tree.124690:1 exit 1 from 'gunzip $i'
Here is the 4 build configurations without the patch applied:
A) x86-64 no multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
B) x86-64 no multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
C) x86-64 multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
885
D) x86-64 multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
864
The issue here is that all the moves should be processed first, then a
copy should be made of the lib directories, but only in the case they
are different when using the usrmerge feature. Even though the build
worked for the multilib configuration without usrmerge, the content
was not the same.
After applying the patch the same number of files are in all the
configurations. The list of files was also diffed, after normalizing
the directory names to ensure all the correct files were copied.
Ultimately there are probably additional files that should be pruned
from what is copied to the stated_locale, but the purpose of this
patch is make it 100% consistent between the build types and fix the
builds.
(From OE-Core rev: 36c223ecc5349478821a7a64a4ff14bbeae0a7da)
Signed-off-by: Jason Wessel <jason.wessel@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>
When the PACKAGE_NO_GCONV is set to 1 an empty directory is left behind from the do_install rule:
=====
ERROR: glibc-locale-2.29-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/locale
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
glibc-locale: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: glibc-locale-2.29-r0 do_package: Fatal QA errors found, failing task.
=====
The simple fix is to prune the empty directory.
(From OE-Core rev: f7a581264d0f73f0951253a887e380326ffd6180)
Signed-off-by: Jason Wessel <jason.wessel@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 build of glibc fails when you have multilibs enabled + the distro
feature usrmerge. Here is an example configuration:
===
MACHINE = "qemux86-64"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_append = " systemd "
DISTRO_FEATURES_append += " usrmerge"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
===
This will fail with the following error:
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: glibc-2.28-r0 do_poststash_install_cleanup: Function failed: do_poststash_install_cleanup (log file is located at /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893)
ERROR: Logfile of failure stored in: /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893
The fix is to not perform the rmdir check when using the multilib + usr/merge, namely:
if [ "${libdir}" != "${exec_prefix}/lib" ] && [ "${root_prefix}/lib" != "${exec_prefix}/lib" ]; then
This will evaluate as follows (collecting the output from bitbake -e glibc)
* no multilibs no usrmerge
if [ "/usr/lib" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* no multilibs yes usrmerge
if [ "/usr/lib" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then
* yes multilibs no usrmerge
if [ "/usr/lib64" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* yes multilibs yes user merge
if [ "/usr/lib64" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then
(From OE-Core rev: 273571804567a4520f1e17f5f8a28b85325d0eb2)
Signed-off-by: Jason Wessel <jason.wessel@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 patch incorrectly removes 'mips_elf32_ntrad_le_vec' from the
'targ_selvecs' replacing it with duplicate entries for
'mips_elf32_ntrad_be_vec'. Correct this so that the default binutils can
still handle 'mips_elf32_ntrad_le_vec' binaries.
(From OE-Core rev: 21c59450d1c891dadfe1484337bd0a6007a4aa01)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.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 might be related to:
commit d2fcaeb153fdc3f8d7143ea823139f1537055ff1
Author: Douglas Royds <douglas.royds@taitradio.com>
Date: Thu Dec 20 11:59:47 2018 +1300
icecc: Don't generate recipe-sysroot symlinks at recipe-parsing time
* it's still a bit unclear when and why this happends, but I'm seeing
random tasks sometimes failing with:
WARNING: Exception during build_dependencies for set_icecc_env
WARNING: Error during finalise of /build/meta-oe/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb
ERROR: Traceback (most recent call last):
File "/build/bitbake/lib/bb/data_smart.py", line 411, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/build/bitbake/lib/bb/data_smart.py", line 136, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
File "/build/bitbake/lib/bb/utils.py", line 421, in better_eval
return eval(source, ctx, locals)
File "Var <set_icecc_env>", line 1, in <module>
File "/build/oe-core/meta/classes/icecc.bbclass", line 287, in icecc_get_and_check_tool
link_path = icecc_get_tool_link(t, d)
File "/build/oe-core/meta/classes/icecc.bbclass", line 246, in icecc_get_tool_link
return subprocess.check_output("readlink -f %s" % tool, shell=True).decode("utf-8")[:-1]
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'readlink -f /build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/build/bitbake/bin/bitbake-worker", line 239, in child
the_data = bb_cache.loadDataFull(fn, appends)
File "/build/bitbake/lib/bb/cache.py", line 327, in loadDataFull
bb_data = self.load_bbfile(virtualfn, appends, virtonly=True)
File "/build/bitbake/lib/bb/cache.py", line 340, in load_bbfile
datastores = parse_recipe(bb_data, bbfile, appends, mc)
File "/build/bitbake/lib/bb/cache.py", line 303, in parse_recipe
bb_data = bb.parse.handle(bbfile, bb_data)
File "/build/bitbake/lib/bb/parse/__init__.py", line 107, in handle
return h['handle'](fn, data, include)
File "/build/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 142, in handle
return ast.multi_finalize(fn, d)
File "/build/bitbake/lib/bb/parse/ast.py", line 386, in multi_finalize
finalize(fn, d)
File "/build/bitbake/lib/bb/parse/ast.py", line 351, in finalize
bb.parse.siggen.finalise(fn, d, variant)
File "/build/bitbake/lib/bb/siggen.py", line 147, in finalise
taskdeps = self._build_data(fn, d)
File "/build/bitbake/lib/bb/siggen.py", line 118, in _build_data
tasklist, gendeps, lookupcache = bb.data.generate_dependencies(d)
File "/build/bitbake/lib/bb/data.py", line 388, in generate_dependencies
deps[dep], values[dep] = build_dependencies(dep, keys, shelldeps, varflagsexcl, d)
File "/build/bitbake/lib/bb/data.py", line 317, in build_dependencies
value, parsedvar = d.getVarFlag(key, "_content", False, retparser=True)
File "/build/bitbake/lib/bb/data_smart.py", line 802, in getVarFlag
parser = self.expandWithRefs(value, cachename)
File "/build/bitbake/lib/bb/data_smart.py", line 424, in expandWithRefs
raise ExpansionError(varname, s, exc).with_traceback(tb) from exc
File "/build/bitbake/lib/bb/data_smart.py", line 411, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/build/bitbake/lib/bb/data_smart.py", line 136, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
File "/build/bitbake/lib/bb/utils.py", line 421, in better_eval
return eval(source, ctx, locals)
File "Var <set_icecc_env>", line 1, in <module>
File "/build/oe-core/meta/classes/icecc.bbclass", line 287, in icecc_get_and_check_tool
link_path = icecc_get_tool_link(t, d)
File "/build/oe-core/meta/classes/icecc.bbclass", line 246, in icecc_get_tool_link
return subprocess.check_output("readlink -f %s" % tool, shell=True).decode("utf-8")[:-1]
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
bb.data_smart.ExpansionError: Failure expanding variable set_icecc_env, expression was if [ "${@use_icecc(bb, d)}" = "no" ]
then
return
fi
ICECC_VERSION="${@icecc_version(bb, d)}"
if [ "x${ICECC_VERSION}" = "x" ]
then
bbwarn "Cannot use icecc: could not get ICECC_VERSION"
return
fi
ICE_PATH="${@icecc_path(bb, d)}"
if [ "x${ICE_PATH}" = "x" ]
then
bbwarn "Cannot use icecc: could not get ICE_PATH"
return
fi
ICECC_BIN="${@get_icecc(d)}"
if [ -z "${ICECC_BIN}" ]; then
bbwarn "Cannot use icecc: icecc binary not found"
return
fi
if [ -z "$(which patchelf patchelf-uninative)" ]; then
bbwarn "Cannot use icecc: patchelf not found"
return
fi
# Create symlinks to icecc in the recipe-sysroot directory
mkdir -p ${ICE_PATH}
if [ -n "${KERNEL_CC}" ]; then
compilers="${@get_cross_kernel_cc(bb,d)}"
else
compilers="x86_64-oe-linux-gcc x86_64-oe-linux-g++"
fi
for compiler in $compilers; do
ln -sf ${ICECC_BIN} ${ICE_PATH}/$compiler
done
ICECC_CC="${@icecc_get_and_check_tool(bb, d, "gcc")}"
ICECC_CXX="${@icecc_get_and_check_tool(bb, d, "g++")}"
# cannot use icecc_get_and_check_tool here because it assumes as without target_sys prefix
ICECC_WHICH_AS="${@bb.utils.which(os.getenv('PATH'), 'as')}"
if [ ! -x "${ICECC_CC}" -o ! -x "${ICECC_CXX}" ]
then
bbwarn "Cannot use icecc: could not get ICECC_CC or ICECC_CXX"
return
fi
ICE_VERSION=`$ICECC_CC -dumpversion`
ICECC_VERSION=`echo ${ICECC_VERSION} | sed -e "s/@VERSION@/$ICE_VERSION/g"`
if [ ! -x "/build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/icecc-create-env" ]
then
bbwarn "Cannot use icecc: invalid ICECC_ENV_EXEC"
return
fi
ICECC_AS="`${ICECC_CC} -print-prog-name=as`"
# for target recipes should return something like:
# /OE/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/arm920tt-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.8.2/as
# and just "as" for native, if it returns "as" in current directory (for whatever reason) use "as" from PATH
if [ "`dirname "${ICECC_AS}"`" = "." ]
then
ICECC_AS="${ICECC_WHICH_AS}"
fi
if [ ! -f "${ICECC_VERSION}.done" ]
then
mkdir -p "`dirname "${ICECC_VERSION}"`"
# the ICECC_VERSION generation step must be locked by a mutex
# in order to prevent race conditions
if flock -n "${ICECC_VERSION}.lock" \
/build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/icecc-create-env "${ICECC_CC}" "${ICECC_CXX}" "${ICECC_AS}" "${ICECC_VERSION}"
then
touch "${ICECC_VERSION}.done"
elif ! wait_for_file "${ICECC_VERSION}.done" 30
then
# locking failed so wait for ${ICECC_VERSION}.done to appear
bbwarn "Timeout waiting for ${ICECC_VERSION}.done"
return
fi
fi
# Don't let ccache find the icecream compiler links that have been created, otherwise
# it can end up invoking icecream recursively.
export CCACHE_PATH="$PATH"
export CCACHE_DISABLE="1"
export ICECC_VERSION ICECC_CC ICECC_CXX
export PATH="$ICE_PATH:$PATH"
bbnote "Using icecc path: $ICE_PATH"
bbnote "Using icecc tarball: $ICECC_VERSION"
which triggered exception CalledProcessError: Command 'readlink -f /build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++' returned non-zero exit status 1.
ERROR: Task (virtual:multilib:lib32:/build/meta-oe/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb:do_patch) failed with exit code '1'
(From OE-Core rev: 612a4c4df7e9f2e1039d82d1f55492a904dce91a)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian traditionaly uses /usr/bin/pager as the system pager, which is a
link to the user preferred pager. This is a Debianism.
Without this patch:
root@qt5122:~# dpkg -l
sh: pager: command not found
dpkg-query: error: showing package list on pager subprocess returned error exit status 127
(From OE-Core rev: 51fb10275cd9013e3c5fcb94f88e3529e2b8f069)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Like for ARM bjam need some hints about the ABI to properly build on
aarch64. While at it also enable context and coroutine as these are
supported on aarch64.
(From OE-Core rev: 219befc2dad0c6df171f46725c995ce0038fa4f8)
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable commits that comprise the following
changes:
7250956f6eaf Linux 4.19.61
025eb12bb4b0 dm bufio: fix deadlock with loop device
404f59e265ac dt-bindings: allow up to four clocks for orion-mdio
03e6a668ea1f net: mvmdio: allow up to four clocks to be specified for orion-mdio
dd87cc633ba5 blkcg: update blkcg_print_stat() to handle larger outputs
73efdc5d7d3b blk-iolatency: clear use_delay when io.latency is set to zero
1ab644bd02ab blk-throttle: fix zero wait time for iops throttled group
91da712ff592 usb: Handle USB3 remote wakeup for LPM enabled devices correctly
152ddf9f0458 Bluetooth: Add SMP workaround Microsoft Surface Precision Mouse bug
98318cd31b95 intel_th: msu: Fix single mode with disabled IOMMU
d6328d7c1a71 mtd: spinand: read returns badly if the last page has bitflips
94f1db42a968 mtd: rawnand: mtk: Correct low level time calculation of r/w cycle
30c6b34759f6 eCryptfs: fix a couple type promotion bugs
92e23f5fc049 mmc: sdhci-msm: fix mutex while in spinlock
01982f7bcc9d powerpc/pseries: Fix oops in hotplug memory notifier
e725502b8548 powerpc/powernv/npu: Fix reference leak
1e3b61cbc30d powerpc/watchpoint: Restore NV GPRs while returning from exception
237ac0d73b55 powerpc/32s: fix suspend/resume when IBATs 4-7 are used
7961981718d6 parisc: Fix kernel panic due invalid values in IAOQ0 or IAOQ1
a6a0daa775e8 parisc: Ensure userspace privilege for ptraced processes in regset functions
ef5c2e165ab0 crypto: caam - limit output IV to CBC to work around CTR mode DMA issue
376b80276d84 gpu: ipu-v3: ipu-ic: Fix saturation bit offset in TPMEM
ef30c0739439 xfs: abort unaligned nowait directio early
669c867972c0 xfs: serialize unaligned dio writes against all other dio writes
d61d885b17b0 xfs: fix reporting supported extra file attributes for statx()
f614ef7a34b0 xfs: reserve blocks for ifree transaction during log recovery
424543a53ae0 xfs: don't ever put nlink > 0 inodes on the unlinked list
3a895cc066c0 xfs: rename m_inotbt_nores to m_finobt_nores
2ab62234e823 xfs: don't overflow xattr listent buffer
1dc8b13cc66d xfs: flush removing page cache in xfs_reflink_remap_prep
788920d12b95 xfs: fix pagecache truncation prior to reflink
41f64437f030 include/asm-generic/bug.h: fix "cut here" for WARN_ON for __WARN_TAINT architectures
afa3e571cde3 coda: pass the host file in vma->vm_file on mmap
2c0222b48e77 libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields
656d06dab4d6 HID: wacom: correct touch resolution x/y typo
1c871b4006b2 HID: wacom: generic: Correct pad syncing
46f71a15abe7 HID: wacom: generic: only switch the mode on devices with LEDs
cb4c2b94f629 IB/mlx5: Report correctly tag matching rendezvous capability
4bd953241d81 Btrfs: add missing inode version, ctime and mtime updates when punching hole
fffedf5cf67e Btrfs: fix fsync not persisting dentry deletions due to inode evictions
110850fffeb0 Btrfs: fix data loss after inode eviction, renaming it, and fsync it
6b71c62ea9da PCI: qcom: Ensure that PERST is asserted for at least 100 ms
529e71cae929 PCI: Do not poll for PME if the device is in D3cold
4d8504004c86 PCI: hv: Fix a use-after-free bug in hv_eject_device_work()
f0ff76a42ef5 intel_th: pci: Add Ice Lake NNPI support
66a13b5e4e9c drm/edid: parse CEA blocks embedded in DisplayID
9854e06842bc perf/x86/amd/uncore: Set the thread mask for F17h L3 PMCs
82c46f7b0918 perf/x86/amd/uncore: Do not set 'ThreadMask' and 'SliceMask' for non-L3 PMCs
a847a5225432 perf/x86/intel: Fix spurious NMI on fixed counter
0d4c0bb70665 x86/boot: Fix memory leak in default_get_smp_config()
b52807e607f1 9p/virtio: Add cleanup path in p9_virtio_init
1253882d64d0 9p/xen: Add cleanup path in p9_trans_xen_init
007e5aaf287c xen/events: fix binding user event channels to cpus
e380170b3b3a dm zoned: fix zone state management race
1e4247d7958b padata: use smp_mb in padata_reorder to avoid orphaned padata jobs
0489d808a5f2 drm/nouveau/i2c: Enable i2c pads & busses during preinit
c77cbc873586 kconfig: fix missing choice values in auto.conf
2c7b50c7b1d0 fs/proc/proc_sysctl.c: fix the default values of i_uid/i_gid on /proc/sys inodes.
ba271659ad42 arm64: tegra: Fix AGIC register range
ba27a25df6df KVM: x86/vPMU: refine kvm_pmu err msg when event creation failed
87bae91a0fe9 media: videobuf2-dma-sg: Prevent size from overflowing
cb2e2b0ae554 media: videobuf2-core: Prevent size alignment wrapping buffer size to 0
deb78bd24e0c media: coda: Remove unbalanced and unneeded mutex unlock
fc0232e24541 media: v4l2: Test type instead of cfg->type in v4l2_ctrl_new_custom()
a4c4c06f1755 ALSA: hda/realtek: apply ALC891 headset fixup to one Dell machine
8ba78e4d564e ALSA: hda/realtek - Fixed Headphone Mic can't record on Dell platform
c92212a81617 ALSA: seq: Break too long mutex context in the write loop
eb6c84e4b4f2 raid5-cache: Need to do start() part job after adding journal device
3f42c0000b23 ASoC: dapm: Adapt for debugfs API change
677b2aa3be5c lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZE
0b174bac4e43 pnfs: Fix a problem where we gratuitously start doing I/O through the MDS
f64ff5914f00 pNFS: Fix a typo in pnfs_update_layout
603e7497bf27 pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error
5347e61954fc NFSv4: Handle the special Linux file open access mode
6825ff011c7c iwlwifi: fix RF-Kill interrupt while FW load for gen2 devices
a32e2ceca0ef iwlwifi: don't WARN when calling iwl_get_shared_mem_conf with RF-Kill
d9ce0788da91 iwlwifi: pcie: fix ALIVE interrupt handling for gen2 devices w/o MSI-X
04c52c105a38 iwlwifi: pcie: don't service an interrupt that was masked
7ebddd5fe217 arm64: tegra: Update Jetson TX1 GPU regulator timings
042451b921b1 regulator: s2mps11: Fix buck7 and buck8 wrong voltages
8da63aa46e26 Input: alps - fix a mismatch between a condition check and its comment
81368a9a98d9 Input: synaptics - whitelist Lenovo T580 SMBus intertouch
cfb9250619c8 Input: alps - don't handle ALPS cs19 trackpoint-only device
d657077eda7b Input: gtco - bounds check collection indent level
f11ba9df8eed bcache: destroy dc->writeback_write_wq if failed to create dc->writeback_thread
2ab14861d2eb bcache: fix mistaken sysfs entry for io_error counter
3c466df8fc59 bcache: ignore read-ahead request failure on backing device
4fc48cd21a31 bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free"
ab966241d59a bcache: Revert "bcache: fix high CPU occupancy during journal"
58169c189bd6 Revert "bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()"
c3b7d27f3746 crypto: crypto4xx - fix a potential double free in ppc4xx_trng_probe
a9fd1795fee6 crypto: ccp/gcm - use const time tag comparison.
561c4424f1e3 crypto: ccp - memset structure fields to zero before reuse
13805a5df489 crypto: crypto4xx - block ciphers should only accept complete blocks
17e63172d536 crypto: crypto4xx - fix blocksize for cfb and ofb
4598094d24c7 crypto: crypto4xx - fix AES CTR blocksize value
1c9b0a766513 crypto: chacha20poly1305 - fix atomic sleep when using async algorithm
eb99c084da28 crypto: arm64/sha2-ce - correct digest for empty data in finup
4230e09e61e6 crypto: arm64/sha1-ce - correct digest for empty data in finup
52f07c1ac70e crypto: ccp - Validate the the error value used to index error messages
bed97f646997 crypto: ghash - fix unaligned memory access in ghash_setkey()
ce7ec07abaf7 scsi: mac_scsi: Fix pseudo DMA implementation, take 2
de769c762626 scsi: mac_scsi: Increase PIO/PDMA transfer length threshold
3e9534fa5046 scsi: megaraid_sas: Fix calculation of target ID
1334a3e2d6d0 scsi: core: Fix race on creating sense cache
58f59f6072ab Revert "scsi: ncr5380: Increase register polling limit"
7cfded7a705c scsi: NCR5380: Always re-enable reselection interrupt
d91baba81a6e scsi: NCR5380: Reduce goto statements in NCR5380_select()
e73db096691e xen: let alloc_xenballooned_pages() fail if not enough memory free
ff54c44f1038 floppy: fix out-of-bounds read in copy_buffer
a9444d9d0f6f floppy: fix invalid pointer dereference in drive_name
5b565f3276f3 floppy: fix out-of-bounds read in next_valid_format
6e34fd07484a floppy: fix div-by-zero in setup_format_params
7c16c5eae41a iavf: fix dereference of null rx_buffer pointer
e9896b29d010 net: mvmdio: defer probe of orion-mdio if a clock is not ready
5f6c5f5ae25e gtp: fix use-after-free in gtp_newlink()
141222216438 gtp: fix use-after-free in gtp_encap_destroy()
0a5eca2c949c gtp: fix Illegal context switch in RCU read-side critical section.
e117a04133c6 gtp: fix suspicious RCU usage
202de90df2b7 Bluetooth: validate BLE connection interval updates
ca33af18b5fc gtp: add missing gtp_encap_disable_sock() in gtp_encap_enable()
0fdb922d0ef0 Bluetooth: Check state in l2cap_disconnect_rsp
3b57b7a3a82a perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64
c814f618b799 Bluetooth: 6lowpan: search for destination address in all peers
c82c4910e9e6 Bluetooth: Add new 13d3:3501 QCA_ROME device
1cbce19bd697 Bluetooth: Add new 13d3:3491 QCA_ROME device
578658df21d5 Bluetooth: hci_bcsp: Fix memory leak in rx_skb
9d47bd217539 tools: bpftool: Fix json dump crash on powerpc
2ad04d31bb3e gpiolib: Fix references to gpiod_[gs]et_*value_cansleep() variants
157d1c7a1a00 bonding: validate ip header before check IPPROTO_IGMP
88f751b066f2 selftests: bpf: fix inlines in test_lwt_seg6local
ef5b204336b3 bpf, libbpf, smatch: Fix potential NULL pointer dereference
0f2f2cebe64d rxrpc: Fix oops in tracepoint
ca37b9a74689 net: usb: asix: init MAC address buffers
51216937c319 bnx2x: Prevent ptp_task to be rescheduled indefinitely
e358d2ab42f8 perf stat: Fix group lookup for metric group
a64e018be77a perf stat: Make metric event lookup more robust
7343178ccf7d bpf: fix uapi bpf_prog_info fields alignment
af3790a46a55 iwlwifi: mvm: Drop large non sta frames
036184af23e0 igb: clear out skb->tstamp after reading the txtime
0024b12b776c net: mvpp2: prs: Don't override the sign bit in SRAM parser shift
05592b9b7f25 ath10k: destroy sdio workqueue while remove sdio module
26d86b29e806 net: hns3: add some error checking in hclge_tm module
ddfdbcccd71a net: hns3: fix a -Wformat-nonliteral compile warning
95d084809495 bcache: fix potential deadlock in cached_def_free()
4b7758e9c4ed bcache: check c->gc_thread by IS_ERR_OR_NULL in cache_set_flush()
81b88c05bc45 bcache: acquire bch_register_lock later in cached_dev_free()
d81080a0bcf8 bcache: check CACHE_SET_IO_DISABLE bit in bch_journal()
57cfb755c356 bcache: check CACHE_SET_IO_DISABLE in allocator code
e78d1d234469 EDAC: Fix global-out-of-bounds write when setting edac_mc_poll_msec
e54cc89e6f0a wil6210: drop old event after wmi_call timeout
0388597d0627 crypto: asymmetric_keys - select CRYPTO_HASH where needed
1dea395c9e12 crypto: serpent - mark __serpent_setkey_sbox noinline
b346070c72cd ixgbe: Check DDM existence in transceiver before access
0340c621eca8 rslib: Fix handling of of caller provided syndrome
8ba93c59441a rslib: Fix decoding of shortened codes
dad0b17e4a4e xsk: Properly terminate assignment in xskq_produce_flush_desc
e69fac59c493 clocksource/drivers/exynos_mct: Increase priority over ARM arch timer
12e20eca894b libata: don't request sense data on !ZAC ATA devices
6e6bc34f8570 ASoC: Intel: hdac_hdmi: Set ops to NULL on remove
1182ff224847 perf tools: Increase MAX_NR_CPUS and MAX_CACHES
7201cc227d4a ath10k: fix PCIE device wake up failed
8a808fadc9f7 ath10k: add missing error handling
fe2ceeb4cffc ipvs: fix tinfo memory leak in start_sync_thread
20de38d282b3 mt7601u: fix possible memory leak when the device is disconnected
033577880135 x86/build: Add 'set -e' to mkcapflags.sh to delete broken capflags.c
3f7952b275c8 mt7601u: do not schedule rx_tasklet when the device has been disconnected
6f6e126e1995 rtlwifi: rtl8192cu: fix error handle when usb probe failed
41864adfee2e net: stmmac: sun8i: force select external PHY when no internal one
bce037abc29f media: hdpvr: fix locking and a missing msleep
43b9fdc48377 media: vimc: cap: check v4l2_fill_pixfmt return value
d562537dbf0d media: coda: increment sequence offset for the last returned frame
3697c12c4425 media: coda: fix last buffer handling in V4L2_ENC_CMD_STOP
6fd3e9f65db9 media: coda: fix mpeg2 sequence number handling
c647c00f28af acpi/arm64: ignore 5.1 FADTs that are reported as 5.0
b9f547b7bdd9 timer_list: Guard procfs specific code
d86c0b73f75b ntp: Limit TAI-UTC offset
8d8f0b9009d0 media: i2c: fix warning same module names
6439110fbeee media: s5p-mfc: Make additional clocks optional
57de3c78f0b7 ipvs: defer hook registration to avoid leaks
06a3cd416224 ipsec: select crypto ciphers for xfrm_algo
723ba7938492 arm64: Do not enable IRQs for ct_user_exit
010bfbc93424 lightnvm: pblk: fix freeing of merged pages
762bba1b7ee7 nvme-pci: set the errno on ctrl state change error
c876a66553d7 nvme-pci: properly report state change failure in nvme_reset_work
f0c83dd15ee1 nvme: fix possible io failures when removing multipathed ns
10cc3a65a55b EDAC/sysfs: Fix memory leak when creating a csrow object
f6502ce4f050 ACPICA: Clear status of GPEs on first direct enable
3ae98dc2db1e blk-iolatency: only account submitted bios
a952f7c384aa x86/cacheinfo: Fix a -Wtype-limits warning
3252b29ea41b ipoib: correcly show a VF hardware address
0e2af9b06c00 vhost_net: disable zerocopy by default
4c57957ed6c8 perf evsel: Make perf_evsel__name() accept a NULL argument
9e0bcb59b6c0 x86/atomic: Fix smp_mb__{before,after}_atomic()
dd0260fd1e3a perf/x86/intel/uncore: Handle invalid event coding for free-running counter
7fc96cd2b0de sched/fair: Fix "runnable_avg_yN_inv" not used warnings
d8b7db6c5004 sched/core: Add __sched tag for io_schedule()
930655b01367 xfrm: fix sa selector validation
b7d66bbc8ad3 blkcg, writeback: dead memcgs shouldn't contribute to writeback ownership arbitration
c8f75e753784 block: null_blk: fix race condition for null_del_dev
1a3706d8f800 net: hns3: fix for skb leak when doing selftest
6a47a42f51cf qed: iWARP - Fix tc for MPA ll2 connection
670fb965da03 x86/cpufeatures: Add FDP_EXCPTN_ONLY and ZERO_FCS_FDS
366ae49ed78c rcu: Force inlining of rcu_read_lock()
1fb3ce14f28d ASoC: meson: axg-tdm: fix sample clock inversion
32df4043aed4 x86/cpu: Add Ice Lake NNPI to Intel family
914026d58100 selinux: fix empty write to keycreate file
10e3788e6575 media: s5p-mfc: fix reading min scratch buffer size on MFC v6/v7
7c10f8941b95 bpf: silence warning messages in core
b01bf44c363d regmap: fix bulk writes on paged registers
544cd592ca72 gpio: omap: ensure irq is enabled before wakeup
ddeef7a00050 gpio: omap: fix lack of irqstatus_raw0 for OMAP4
79644b600850 iommu: Fix a leak in iommu_insert_resv_region
f2a4624be8f3 media: fdp1: Support M3N and E3 platforms
63e53991d791 media: uvcvideo: Fix access to uninitialized fields on probe error
c844f4da9b92 irqchip/meson-gpio: Add support for Meson-G12A SoC
eac8b39d089a perf report: Fix OOM error in TUI mode on s390
be32a9dc3f62 perf test 6: Fix missing kvm module load for s390
3662d8bca087 perf cs-etm: Properly set the value of 'old' and 'head' in snapshot mode
ac510285d40b ipset: Fix memory accounting for hash types on resize
c7bf2df45044 net: sfp: add mutex to prevent concurrent state checks
fa4059c5497e RAS/CEC: Fix pfn insertion
99dcd701465f s390/qdio: handle PENDING state for QEBSM devices
a76f32cbd38c net: axienet: Fix race condition causing TX hang
9d643358386d net: fec: Do not use netdev messages too early
403c43921479 crypto: inside-secure - do not rely on the hardware last bit for result descriptors
50331c64f3dd net: stmmac: modify default value of tx-frames
1a0a837afc41 net: stmmac: dwmac4: fix flow control issue
713737cac327 perf jvmti: Address gcc string overflow warning for strncpy()
fb83987cbe6b arm64: mm: make CONFIG_ZONE_DMA32 configurable
c360eb592938 cpupower : frequency-set -r option misses the last cpu in related cpu list
cac3032062e5 net: hns3: set ops to null when unregister ad_dev
35407917b0bc media: wl128x: Fix some error handling in fm_v4l2_init_video_device()
2fbde2746597 locking/lockdep: Fix merging of hlocks with non-zero references
909034b8ac64 batman-adv: Fix duplicated OGMs on NETDEV_UP
aa2ad8b6fb2f tua6100: Avoid build warnings.
9072450736d0 crypto: talitos - Align SEC1 accesses to 32 bits boundaries.
9d25aedef08f crypto: talitos - properly handle split ICV.
fc25cfb03ea2 net: phy: Check against net_device being NULL
ef10d46d04a5 media: staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.
e36f25627362 media: saa7164: fix remove_proc_entry warning
ea904c9f6a33 media: mc-device.c: don't memset __user pointer contents
a6dd4862b98f perf annotate TUI browser: Do not use member from variable within its own initialization
71b029a5d908 fscrypt: clean up some BUG_ON()s in block encryption/decryption
2c6acf7478aa xfrm: Fix xfrm sel prefix length validation
0544b64ceb64 af_key: fix leaks in key_pol_get_resp and dump_sp.
b397462a010d signal/pid_namespace: Fix reboot_pid_ns to use send_sig not force_sig
1c8e736115cd qed: Set the doorbell address correctly
df6680de7a20 net: stmmac: dwmac4/5: Clear unused address entries
d3969670cb5a net: stmmac: dwmac1000: Clear unused address entries
810441651a8a media: media_device_enum_links32: clean a reserved field
6fb470ace862 media: vpss: fix a potential NULL pointer dereference
70da38e80509 media: marvell-ccic: fix DMA s/g desc number calculation
add712b63185 media: ov7740: avoid invalid framesize setting
b0e199e13495 crypto: talitos - fix skcipher failure due to wrong output IV
6452712f95e3 media: spi: IR LED: add missing of table registration
94f2b518a788 media: dvb: usb: fix use after free in dvb_usb_device_exit
8f855c09e2af batman-adv: fix for leaked TVLV handler.
83d133c96aad regmap: debugfs: Fix memory leak in regmap_debugfs_init
2b5b12c0c1b7 ath: DFS JP domain W56 fixed pulse type 3 RADAR detection
da153c0c5746 wil6210: fix spurious interrupts in 3-msi
a4bf4fecff16 ath10k: add peer id check in ath10k_peer_find_by_id
83c911f4bd68 ath6kl: add some bounds checking
42dcbf20e182 ath9k: Check for errors when reading SREV register
7e19e658e535 ath10k: Do not send probe response template for mesh
009edc622bba wil6210: fix potential out-of-bounds read
09593c25b975 dmaengine: imx-sdma: fix use-after-free on probe error path
06e15cf5aead scsi: iscsi: set auth_protocol back to NULL if CHAP_A value is not supported
37cb02da44dc arm64/efi: Mark __efistub_stext_offset as an absolute symbol explicitly
73ebefc814ef MIPS: fix build on non-linux hosts
7202df6be6ec MIPS: ath79: fix ar933x uart parity mode
be9b6782a9eb Linux 4.19.60
d173ce091c1a x86/entry/32: Fix ENDPROC of common_spurious
466bdfc6c4d6 drm/udl: move to embedding drm device inside udl device.
af48f7d79fae drm/udl: Replace drm_dev_unref with drm_dev_put
cfd99eccede5 drm/udl: introduce a macro to convert dev to udl.
8f14cf159e9f regmap-irq: do not write mask register if mask_base is zero
820b010743ee crypto/NX: Set receive window credits to max number of CRBs in RxFIFO
b24c6403633d crypto: talitos - fix hash on SEC1.
ff1ce8ef1f88 crypto: talitos - move struct talitos_edesc into talitos.h
b578b87bcab6 s390/qdio: don't touch the dsci in tiqdio_add_input_queues()
b1d52630b12a s390/qdio: (re-)initialize tiqdio list entries
02eb533e940a s390: fix stfle zero padding
9db915738e40 ARC: hide unused function unw_hdr_alloc
fc6975ee932b x86/irq: Seperate unused system vectors from spurious entry again
9494cd392885 x86/irq: Handle spurious interrupt after shutdown gracefully
7897f5a443fb x86/ioapic: Implement irq_get_irqchip_state() callback
6074f6043c49 genirq: Add optional hardware synchronization for shutdown
3f10ccc29780 genirq: Fix misleading synchronize_irq() documentation
578db1aa595b genirq: Delay deactivation in free_irq()
2656ee5a5ad5 linux/kernel.h: fix overflow for DIV_ROUND_UP_ULL
9c875e8556d4 pinctrl: mediatek: Update cur_mask in mask/mask ops
f6e01328cb0e cpu/hotplug: Fix out-of-bounds read when setting fail state
fa99487a43cf pinctrl: mediatek: Ignore interrupts that are wake only during resume
cd2646e57ec5 HID: multitouch: Add pointstick support for ALPS Touchpad
9ea3b131441e HID: chicony: add another quirk for PixArt mouse
94968c37b6d3 x86/boot/64: Add missing fixup_pointer() for next_early_pgt access
729d25f43b64 x86/boot/64: Fix crash if kernel image crosses page table boundary
136847140cc8 dm verity: use message limit for data block corruption message
042be78692ae dm table: don't copy from a NULL pointer in realloc_argv()
0fc080bc9a72 pinctrl: mcp23s08: Fix add_data and irqchip_add_nested call order
00640eb0eafa ARM: dts: imx6ul: fix PWM[1-4] interrupts
a8cc2a2c2841 sis900: fix TX completion
3232bccddeba ppp: mppe: Add softdep to arc4
5ec7753c7c9e be2net: fix link failure after ethtool offline test
2a6ee36917f0 x86/apic: Fix integer overflow on 10 bit left shift of cpu_khz
fdfff855cd36 afs: Fix uninitialised spinlock afs_volume::cb_break_lock
d47f06ab0c0e ARM: omap2: remove incorrect __init annotation
5d3c45538151 ARM: dts: gemini Fix up DNS-313 compatible string
afda29dc5ac6 perf/core: Fix perf_sample_regs_user() mm check
627fdcc9b718 efi/bgrt: Drop BGRT status field reserved bits check
cf4deb2d4de6 clk: ti: clkctrl: Fix returning uninitialized data
ff232a47567f irqchip/gic-v3-its: Fix command queue pointer comparison bug
244db54441a1 firmware: improve LSM/IMA security behaviour
079d7f16a973 drivers: base: cacheinfo: Ensure cpu hotplug work is done before Intel RDT
68048dce650e nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header
86859ef10d25 Input: synaptics - enable SMBUS on T480 thinkpad trackpad
438a3dc6f2c3 e1000e: start network tx queue only when link is up
8020568b404b Revert "e1000e: fix cyclic resets at link up with active tx"
3bd837bfe431 Linux 4.19.59
70bae382b3dc staging: rtl8712: reduce stack usage, again
b46475ecd930 staging: bcm2835-camera: Handle empty EOS buffers whilst streaming
0ee144effcc3 staging: bcm2835-camera: Remove check of the number of buffers supplied
fcbc6ddcd624 staging: bcm2835-camera: Ensure all buffers are returned on disable
4502c43d7f3b staging: bcm2835-camera: Replace spinlock protecting context_map with mutex
22a20b9f6d9f staging: fsl-dpaa2/ethsw: fix memory leak of switchdev_work
cc396afa1959 MIPS: Remove superfluous check for __linux__
d202b5adccfb VMCI: Fix integer overflow in VMCI handle arrays
486c32325caa carl9170: fix misuse of device driver API
524ad00e80b7 binder: fix memory leak in error path
294b893a41cd lkdtm: support llvm-objcopy
5c90a2ecd08a HID: Add another Primax PIXART OEM mouse quirk
c04c751bef87 staging: comedi: amplc_pci230: fix null pointer deref on interrupt
4e49c6c91c18 staging: comedi: dt282x: fix a null pointer deref on interrupt
8419fd562a09 drivers/usb/typec/tps6598x.c: fix 4CC cmd write
63b3028cd590 drivers/usb/typec/tps6598x.c: fix portinfo width
57e16e0d8c68 usb: renesas_usbhs: add a workaround for a race condition of workqueue
aa9a8038ea8b usb: dwc2: use a longer AHB idle timeout in dwc2_core_reset()
cac4a04202fb usb: gadget: ether: Fix race between gether_disconnect and rx_submit
449a8d08a4bc p54usb: Fix race between disconnect and firmware loading
135d9ba3b285 Revert "serial: 8250: Don't service RX FIFO if interrupts are disabled"
0891268f36a2 USB: serial: option: add support for GosunCn ME3630 RNDIS mode
0a1c811bf033 USB: serial: ftdi_sio: add ID for isodebug v1
bb902b6c87ff mwifiex: Don't abort on small, spec-compliant vendor IEs
ffbbd626e1ce mwifiex: Abort at too short BSS descriptor element
a2a24b57c27a Documentation/admin: Remove the vsyscall=native documentation
8a815007f5fe Documentation: Add section about CPU vulnerabilities for Spectre
bd9604022eb3 x86/tls: Fix possible spectre-v1 in do_get_thread_area()
68ff28291a4f x86/ptrace: Fix possible spectre-v1 in ptrace_get_debugreg()
d8e26651ce8d perf pmu: Fix uncore PMU alias list for ARM64
018524b75852 block, bfq: NULL out the bic when it's no longer valid
ff75e5f41e88 ALSA: hda/realtek - Headphone Mic can't record after S3
87c3262b00d8 ALSA: usb-audio: Fix parse of UAC2 Extension Units
ef374f5a2731 media: stv0297: fix frequency range limit
5db079eb0acd udf: Fix incorrect final NOT_ALLOCATED (hole) extent length
0fc3e9b9b603 fscrypt: don't set policy for a dead directory
e9f76b954336 net :sunrpc :clnt :Fix xps refcount imbalance on the error path
810cfc3d9d2e NFS4: Only set creation opendata if O_CREAT
7075654ce7d0 net: dsa: mv88e6xxx: fix shift of FID bits in mv88e6185_g1_vtu_loadpurge()
606561e16186 quota: fix a problem about transfer quota
5ad566af08c1 scsi: qedi: Check targetname while finding boot target information
37232abb6ea3 net: lio_core: fix potential sign-extension overflow on large shift
740b2ac49518 ip6_tunnel: allow not to count pkts on tstats by passing dev as NULL
a02ac12d2d48 drm: return -EFAULT if copy_to_user() fails
4c938a635fc3 bnx2x: Check if transceiver implements DDM before access
270ae00a0346 md: fix for divide error in status_resync
5533d9ed4112 mmc: core: complete HS400 before checking status
2da80536f629 qmi_wwan: extend permitted QMAP mux_id value range
dc84e98393f7 qmi_wwan: avoid RCU stalls on device disconnect when in QMAP mode
dbc6a83cf2bc qmi_wwan: add support for QMAP padding in the RX path
292ba5b1faf4 bpf, x64: fix stack layout of JITed bpf code
4c2ce7addda8 bpf, devmap: Add missing RCU read lock on flush
ab44f8bcf2e5 bpf, devmap: Add missing bulk queue free
8d09e862103b bpf, devmap: Fix premature entry free on destroying map
ba0afe520ee9 mac80211: do not start any work during reconfigure flow
de8cf2c0bc64 mac80211: only warn once on chanctx_conf being NULL
9c2dd6d47131 ARM: davinci: da8xx: specify dma_coherent_mask for lcdc
3bbcc8b9ad37 ARM: davinci: da850-evm: call regulator_has_full_constraints()
443250665388 mlxsw: spectrum: Disallow prio-tagged packets when PVID is removed
512bbb114b99 KVM: arm/arm64: vgic: Fix kvm_device leak in vgic_its_destroy
41420ac584d7 Input: imx_keypad - make sure keyboard can always wake up system
b71f312e9bf7 riscv: Fix udelay in RV32.
122c6a71c08d drm/vmwgfx: fix a warning due to missing dma_parms
d3861d4ca94c drm/vmwgfx: Honor the sg list segment size limitation
c0b12abd1828 s390/boot: disable address-of-packed-member warning
e71daed5176f ARM: dts: am335x phytec boards: Fix cd-gpios active level
822c2ee81c63 ibmvnic: Fix unchecked return codes of memory allocations
0f06004d16be ibmvnic: Refresh device multicast list after reset
e65dd528bb8e ibmvnic: Do not close unopened driver during reset
374180b11b29 net: phy: rename Asix Electronics PHY driver
473a75c7fab5 can: af_can: Fix error path of can_init()
486954277fc1 can: m_can: implement errata "Needless activation of MRAF irq"
270149f78b9c can: mcp251x: add support for mcp25625
33672c74b484 dt-bindings: can: mcp251x: add mcp25625 support
07c96e8e8021 soundwire: intel: set dai min and max channels correctly
c7e427e28a3a mwifiex: Fix heap overflow in mwifiex_uap_parse_tail_ies()
8e115a079940 iwlwifi: Fix double-free problems in iwl_req_fw_callback()
d4c0f752c1d2 mwifiex: Fix possible buffer overflows at parsing bss descriptor
b8588a0981b7 mac80211: free peer keys before vif down in mesh
acc42e5c2322 mac80211: mesh: fix RCU warning
e3868c1a462f staging:iio:ad7150: fix threshold mode config bit
6b1ce3971e05 soundwire: stream: fix out of boundary access on port properties
6be857082611 bpf: sockmap, fix use after free from sleep in psock backlog workqueue
bc84982f977d mac80211: fix rate reporting inside cfg80211_calculate_bitrate_he()
3c24a931e972 samples, bpf: suppress compiler warning
e7779115bbd9 samples, bpf: fix to change the buffer size for read()
fe01e93c3fd1 Input: elantech - enable middle button support on 2 ThinkPads
2883fc1ece69 soc: bcm: brcmstb: biuctrl: Register writes require a barrier
2f1c962a7416 soc: brcmstb: Fix error path for unsupported CPUs
e8250f730410 crypto: talitos - rename alternative AEAD algos.
7a6bfa08b938 Linux 4.19.58
f37de75cb8eb dmaengine: imx-sdma: remove BD_INTR for channel0
018c968de710 dmaengine: qcom: bam_dma: Fix completed descriptors count
870de1499505 MIPS: have "plain" make calls build dtbs for selected platforms
8957895b35de MIPS: Add missing EHB in mtc0 -> mfc0 sequence.
2b8f8a80ca8b MIPS: Fix bounds check virt_addr_valid
80b25628ff26 svcrdma: Ignore source port when computing DRC hash
8129a10ce78f nfsd: Fix overflow causing non-working mounts on 1 TB machines
f25c06955f8d KVM: LAPIC: Fix pending interrupt in IRR blocked by software disable LAPIC
f6472f50fbfc KVM: x86: degrade WARN to pr_warn_ratelimited
ac0024baf073 netfilter: ipv6: nf_defrag: accept duplicate fragments again
54e8cf41b20b bpf: fix bpf_jit_limit knob for PAGE_SIZE >= 64K
e6c288f7307e net: hns: fix unsigned comparison to less than zero
4f24801ef50b sc16is7xx: move label 'err_spi' to correct section
318244f3641a netfilter: ipv6: nf_defrag: fix leakage of unqueued fragments
a8891c5e2251 ip6: fix skb leak in ip6frag_expire_frag_queue()
382bc84da904 rds: Fix warning.
7e6af1fa80b8 ALSA: hda: Initialize power_state field properly
c8c88293bf72 net: hns: Fixes the missing put_device in positive leg for roce reset
6bf9677300f3 x86/boot/compressed/64: Do not corrupt EDX on EFER.LME=1 setting
b91ec6ae14da selftests: fib_rule_tests: Fix icmp proto with ipv6
e2851c3ee0be scsi: tcmu: fix use after free
04096b3beace mac80211: mesh: fix missing unlock on error in table_path_del()
e2379b044d67 f2fs: don't access node/meta inode mapping after iput
e9fde78c3a4f drm/fb-helper: generic: Don't take module ref for fbcon
7821bcce20aa media: s5p-mfc: fix incorrect bus assignment in virtual child device
3ddc2a100706 net/smc: move unhash before release of clcsock
cd54dc4cd37d mlxsw: spectrum: Handle VLAN device unlinking
a8a296abee36 tty: rocket: fix incorrect forward declaration of 'rp_init()'
fb814f215013 btrfs: Ensure replaced device doesn't have pending chunk allocation
27ce6c2675f6 mm/vmscan.c: prevent useless kswapd loops
c854d9b6ef8d ftrace/x86: Remove possible deadlock between register_kprobe() and ftrace_run_update_code()
2e716c3b562d drm/imx: only send event on crtc disable if kept disabled
8ec242fd431b drm/imx: notify drm core before sending event during crtc disable
d2d061351d64 drm/etnaviv: add missing failure path to destroy suballoc
ec5d99e18d30 drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE
ec6d8c9e6687 drm/amd/powerplay: use hardware fan control if no powerplay fan table
b6d56f4f6a49 arm64: kaslr: keep modules inside module region when KASAN is enabled
7cab3dfa6d74 ARM: dts: armada-xp-98dx3236: Switch to armada-38x-uart serial node
c8790d7f76be tracing/snapshot: Resize spare buffer if size changed
052b31810085 fs/userfaultfd.c: disable irqs for fault_pending and event locks
ea38007107d6 lib/mpi: Fix karactx leak in mpi_powm
7df1e2f59bde ALSA: hda/realtek - Change front mic location for Lenovo M710q
899377c50e60 ALSA: hda/realtek: Add quirks for several Clevo notebook barebones
d9b6936b134e ALSA: usb-audio: fix sign unintended sign extension on left shifts
7f52af5e9baa ALSA: line6: Fix write on zero-sized buffer
3663bf2baa97 ALSA: firewire-lib/fireworks: fix miss detection of received MIDI messages
9d2ac58c1ef9 ALSA: seq: fix incorrect order of dest_client/dest_ports arguments
ae3fa28f0938 crypto: cryptd - Fix skcipher instance memory leak
015c20532ace crypto: user - prevent operating on larval algorithms
54435b7fff7b ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME
600d3712ae12 drm/i915/dmc: protect against reading random memory
2b39351e3844 ftrace: Fix NULL pointer dereference in free_ftrace_func_mapper()
938044171949 module: Fix livepatch/ftrace module text permissions race
220adcc0e0ca tracing: avoid build warning with HAVE_NOP_MCOUNT
79fccb9815db mm/mlock.c: change count_mm_mlocked_page_nr return type
4fce0a79e985 scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE
b7747ecb82be cpuset: restore sanity to cpuset_cpus_allowed_fallback()
e33aeb9a7c0a i2c: pca-platform: Fix GPIO lookup code
7cf431edfb71 platform/mellanox: mlxreg-hotplug: Add devm_free_irq call to remove flow
c241f3fbfa1a platform/x86: mlx-platform: Fix parent device in i2c-mux-reg device registration
f853112772b0 platform/x86: intel-vbtn: Report switch events when event wakes device
2ac96173bee0 platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from asus_nb_wmi
027e043f9c78 drm: panel-orientation-quirks: Add quirk for GPD MicroPC
2446563dd6d7 drm: panel-orientation-quirks: Add quirk for GPD pocket2
8be5629b9622 scsi: hpsa: correct ioaccel2 chaining
c1bef204c70a SoC: rt274: Fix internal jack assignment in set_jack callback
1023af0c069d ALSA: hdac: fix memory release for SST and SOF drivers
26a6acde2a42 usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC
9be058f5dd70 usb: gadget: fusb300_udc: Fix memory leak of fusb300->ep[i]
5284327f4e17 x86/CPU: Add more Icelake model numbers
74929087384f ASoC: sun4i-i2s: Add offset to RX channel select
32475634e8a8 ASoC: sun4i-i2s: Fix sun8i tx channel offset mask
7b7486398a32 ASoC: max98090: remove 24-bit format support if RJ is 0
3b60f98ef496 drm/mediatek: call mtk_dsi_stop() after mtk_drm_crtc_atomic_disable()
34e5e1c4874f drm/mediatek: clear num_pipes when unbind driver
a8a86e9a5533 drm/mediatek: call drm_atomic_helper_shutdown() when unbinding driver
79e095d234bb drm/mediatek: unbind components in mtk_drm_unbind()
319f4699bcaa drm/mediatek: fix unbind functions
dbd94f4938c6 spi: bitbang: Fix NULL pointer dereference in spi_unregister_master
3f8d3c9506a5 ASoC: ak4458: rstn_control - return a non-zero on error only
3c3dd68c48e8 ASoC: soc-pcm: BE dai needs prepare when pause release after resume
4c31b4b4ba65 ASoC: ak4458: add return value for ak4458_probe
0c19bcdb0db9 ASoC : cs4265 : readable register too low
c549680ed59b netfilter: nft_flow_offload: IPCB is only valid for ipv4 family
041c181e6ba0 netfilter: nft_flow_offload: don't offload when sequence numbers need adjustment
48f611ecea0e netfilter: nft_flow_offload: set liberal tracking mode for tcp
3b2734bc839d netfilter: nf_flow_table: ignore DF bit setting
869eec894663 md/raid0: Do not bypass blocking queue entered for raid0 bios
c9d8d3e9d7a0 block: Fix a NULL pointer dereference in generic_make_request()
5dd6139a0aa2 Bluetooth: Fix faulty expression for minimum encryption key size check
(From OE-Core rev: e199538cae5177b5b0ab52b0f6417345cf8dca17)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the linux-yocto 4.19 recipe to the latest -stable and -rt
releases.
We also integrate a configuration change to support ptests on scsci
targets:
scsi-debug: include core scsi support for standalone inclusion
The -stable changes comprise the following commits:
1a0592436669 Linux 4.19.57
3919d91f4d36 arm64: insn: Fix ldadd instruction encoding
9c423fd89a2b usb: dwc3: Reset num_trbs after skipping
2bbb6b547fbe tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb
89c49e7b6b0a RDMA: Directly cast the sockaddr union to sockaddr
a319c8ff4f09 futex: Update comments and docs about return values of arch futex code
4423a82cbde3 bpf, arm64: use more scalable stadd over ldxr / stxr loop in xadd
436869e0cd6d arm64: futex: Avoid copying out uninitialised stack in failed cmpxchg()
ba6340a7297f bpf: udp: ipv6: Avoid running reuseport's bpf_prog from __udp6_lib_err
79c6a8c09978 bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro
613bc37f74c9 bpf: fix unconnected udp hooks
a7177b94aff4 bpf: fix nested bpf tracepoints with per-cpu data
4992d4af5881 bpf: lpm_trie: check left child of last leftmost node for NULL
5e558f9a6d7b bpf: simplify definition of BPF_FIB_LOOKUP related flags
7d2c0ec20cb2 tun: wake up waitqueues after IFF_UP is set
a08b915457d6 tipc: check msg->req data len in tipc_nl_compat_bearer_disable
fdf3e98e1fd9 tipc: change to use register_pernet_device
32b711f57ce7 team: Always enable vlan tx offload
eeb770d6ab77 sctp: change to hold sk after auth shkey is created successfully
9b7b0aab4750 net: stmmac: set IC bit when transmitting frames with HW timestamp
a373bf728188 net: stmmac: fixed new system time seconds value calculation
7d76fc211609 net: remove duplicate fetch in sock_getsockopt
05dceb60e5dd net/packet: fix memory leak in packet_set_ring()
7c92f3efbad0 ipv4: Use return value of inet_iif() for __raw_v4_lookup in the while loop
0f3451723ddc bonding: Always enable vlan tx offload
a4709127e5dd af_packet: Block execution of tasks waiting for transmit to complete in AF_PACKET
64032e2d9ba8 eeprom: at24: fix unexpected timeout under high load
c22cea5a21b2 irqchip/mips-gic: Use the correct local interrupt map registers
dd9f2fb59e01 SUNRPC: Clean up initialisation of the struct rpc_rqst
b78ad2169282 cpu/speculation: Warn on unsupported mitigations= parameter
27380331755f NFS/flexfiles: Use the correct TCP timeout for flexfiles I/O
01a02a98ab1c KVM: x86/mmu: Allocate PAE root array when using SVM's 32-bit NPT
327460322c7c x86/resctrl: Prevent possible overrun during bitmap operations
1746dc529104 x86/microcode: Fix the microcode load on CPU hotplug for real
690049eddb0c x86/speculation: Allow guests to use SSBD even if host does not
ee71e97285c2 scsi: vmw_pscsi: Fix use-after-free in pvscsi_queue_lck()
2ba0a5009607 dm log writes: make sure super sector log updates are written in order
87cf811ab6fb mm/page_idle.c: fix oops because end_pfn is larger than max_pfn
1192fb703d09 mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHuge
aab629188848 mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails
bcfed145e583 clk: socfpga: stratix10: fix divider entry for the emac clocks
75f5d78d9fbe fs/binfmt_flat.c: make load_flat_shared_library() work
49e9b499a34d mm/mempolicy.c: fix an incorrect rebind node in mpol_rebind_nodemask
6a811c099186 fs/proc/array.c: allow reporting eip/esp for all coredumping threads
385cacd953b9 usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup
6edcdd0e6d8f usb: dwc3: gadget: remove wait_end_transfer
d7ff2e3ff0e0 usb: dwc3: gadget: move requests to cancelled_list
bba5f9878f67 usb: dwc3: gadget: introduce cancelled_list
65e1f3403108 usb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs()
56092bd50eb9 usb: dwc3: gadget: use num_trbs when skipping TRBs on ->dequeue()
2a2b1c4dc510 usb: dwc3: gadget: track number of TRBs per request
420b1237c79f usb: dwc3: gadget: combine unaligned and zero flags
62805d31969b Revert "usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup"
3726d8d0b60f qmi_wwan: Fix out-of-bounds read
cfbe930c7142 net/9p: include trans_common.h to fix missing prototype warning.
6518b4126b3f 9p/trans_fd: put worker reqs on destroy
6fad469c84fc 9p/trans_fd: abort p9_read_work if req status changed
39bf142ae0ca 9p: potential NULL dereference
6490cdf9d29d 9p: p9dirent_read: check network-provided name length
e48e7e27e4df 9p/rdma: remove useless check in cm_event_handler
fb0cbbd8dec7 9p: acl: fix uninitialized iattr access
3dc511c9ccb9 9p: Rename req to rreq in trans_fd
04ee7e7b4795 9p/rdma: do not disconnect on down_interruptible EAGAIN
3665a4d9dca1 9p: Add refcount to p9_req_t
fa3625794f1a 9p: rename p9_free_req() function
be87f21e6b25 9p: add a per-client fcall kmem_cache
1555583b63b3 9p: embed fcall in req to round down buffer allocs
3ea4cf422323 9p: Use a slab for allocating requests
f8bc5f1a3aba 9p/xen: fix check for xenbus_read error in front_probe
a8782ce02687 IB/hfi1: Close PSM sdma_progress sleep window
fec1a13bdfa9 Revert "x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP"
85a3b1ef969b arm64: Don't unconditionally add -Wno-psabi to KBUILD_CFLAGS
6461a4543b34 perf header: Fix unchecked usage of strncpy()
0bf5d53b53c8 perf help: Remove needless use of strncpy()
6e75d9272c92 perf ui helpline: Use strlcpy() as a shorter form of strncpy() + explicit set nul
aec3002d07fd Linux 4.19.56
cd3e49394cb0 powerpc/mm/64s/hash: Reallocate context ids on fork
8c4fe20091cd x86/resctrl: Don't stop walking closids when a locksetup group is found
d451b505b676 mac80211: Do not use stack memory with scatterlist for GMAC
72dc6786d77a nl80211: fix station_info pertid memory leak
1e1007ac47d8 mac80211: handle deauthentication/disassociation from TDLS peer
ccf6a155844b {nl,mac}80211: allow 4addr AP operation on crypto controlled devices
0e879ef1cb5b mac80211: drop robust management frames from unknown TA
17d941dc3033 cfg80211: fix memory leak of wiphy device name
5293c79c6f60 SMB3: retry on STATUS_INSUFFICIENT_RESOURCES instead of failing write
db7f1076c0bd Bluetooth: Fix regression with minimum encryption key size alignment
5e9a6c68de0f Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
64e370233a07 staging: erofs: add requirements field in superblock
e6803ce36d49 drm/vmwgfx: Use the backdoor port if the HB port is not available
7499528bb078 arm64: ssbd: explicitly depend on <linux/prctl.h>
3e16b5c25466 arm64/sve: <uapi/asm/ptrace.h> should not depend on <uapi/linux/prctl.h>
2296fd59eb30 ARM: dts: am57xx-idk: Remove support for voltage switching for SD card
cc87ab841bb1 ARM: dts: dra76x: Update MMC2_HS200_MANUAL1 iodelay values
03426208d1f9 ARM: imx: cpuidle-imx6sx: Restrict the SW2ISO increase to i.MX6SX
48ee85dc9c52 powerpc/bpf: use unsigned division instruction for 64-bit operations
a96ac5cb8a56 riscv: mm: synchronize MMU after pte change
5ad9a23e6dae can: purge socket error queue on sock destruct
4ea81cc49c59 can: flexcan: fix timeout when set small bitrate
f6a2c8b3c24a can: xilinx_can: use correct bittiming_const for CAN FD core
c592b1c3a994 btrfs: start readahead also in seed devices
17f1dca21d16 nvme: Fix u32 overflow in the number of namespace list calculation
71d019a6dae9 arm64: Silence gcc warnings about arch ABI drift
d72a4c78c124 hwmon: (pmbus/core) Treat parameters as paged if on multiple pages
6029e5818805 hwmon: (core) add thermal sensors only if dev->of_node is present
153f2d97d0d7 s390/qeth: fix VLAN attribute in bridge_hostnotify udev event
cedb209bfa5a net: ipvlan: Fix ipvlan device tso disabled while NETIF_F_IP_CSUM is set
5327e985e61e scsi: smartpqi: unlock on error in pqi_submit_raid_request_synchronous()
04ceb1348973 scsi: ufs: Check that space was properly alloced in copy_query_response
e1a101a9dae9 scripts/checkstack.pl: Fix arm64 wrong or unknown architecture
1f74977c2740 nvmet: fix data_len to 0 for bdev-backed write_zeroes
8388af891e0e drm/arm/hdlcd: Allow a bit of clock tolerance
7c7c88deb14d drm/arm/hdlcd: Actually validate CRTC modes
1fcb0e389538 drm/arm/mali-dp: Add a loop around the second set CVAL and try 5 times
377958c3ff2c net: ethernet: mediatek: Use NET_IP_ALIGN to judge if HW RX_2BYTE_OFFSET is enabled
ee2f9878bc04 net: ethernet: mediatek: Use hw_feature to judge if HWLRO is supported
16cdab63987c sparc: perf: fix updated event period in response to PERF_EVENT_IOC_PERIOD
7b460a9bb13d mdesc: fix a missing-check bug in get_vdev_port_node_info()
6bf97a6cb6ce net: hns: Fix loopback test failed at copper ports
4336ba249b7d net: dsa: mv88e6xxx: avoid error message on remove from VLAN 0
bf51ec92a35e selftests: vm: install test_vmalloc.sh for run_vmtests
a0e8215eb9f8 kselftest/cgroup: fix incorrect test_core skip
59243d6fb45c kselftest/cgroup: fix unexpected testing failure on test_core
9c2eebe31d75 kselftest/cgroup: fix unexpected testing failure on test_memcontrol
ae0d1c08843d xtensa: Fix section mismatch between memblock_reserve and mem_reserve
3089c0ea8a1f MIPS: uprobes: remove set but not used variable 'epc'
63542eb24ab9 IB/hfi1: Validate page aligned for a given virtual address
4d61fc383bb5 IB/{qib, hfi1, rdmavt}: Correct ibv_devinfo max_mr value
830991121773 IB/hfi1: Insure freeze_work work_struct is canceled on shutdown
3fe551cc9e4e IB/rdmavt: Fix alloc_qpn() WARN_ON()
3333e0409424 parisc: Fix compiler warnings in float emulation code
f9dd0f0928a3 parport: Fix mem leak in parport_register_dev_model
4c950c8bb31a fpga: dfl: Add lockdep classes for pdata->lock
505de32ea952 fpga: dfl: afu: Pass the correct device to dma_mapping_error()
7b2145e22247 ARC: [plat-hsdk]: Add missing FIFO size entry in GMAC node
15004afd9845 ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC node
8f3793bfa3ea dmaengine: sprd: Fix block length overflow
e478abd4ebf7 dmaengine: dw-axi-dmac: fix null dereference when pointer first is null
4c21b761b40e ARC: fix build warnings
d64f99ef010d brcmfmac: sdio: Don't tune while the card is off
0ad82f2eb3f6 brcmfmac: sdio: Disable auto-tuning around commands expected to fail
31c99580687a apparmor: enforce nullbyte at end of tag string
eb2b0bf5c4a4 apparmor: fix PROFILE_MEDIATES for untrusted input
1d08fe254fd6 Input: silead - add MSSL0017 to acpi_device_id
ebd7dda84ec2 Input: uinput - add compat ioctl number translation for UI_*_FF_UPLOAD
9f3559e4f6cd Input: synaptics - enable SMBus on ThinkPad E480 and E580
e61e41ffcfeb iio: temperature: mlx90632 Relax the compatibility check
303386b31bfb IB/hfi1: Silence txreq allocation warnings
7cc9c9930947 IB/hfi1: Validate fault injection opcode user input
17027034a47b usb: xhci: Don't try to recover an endpoint if port is in error state.
d606a82ccc0a xhci: detect USB 3.2 capable host controllers correctly
e6563039674d usb: chipidea: udc: workaround for endpoint conflict issue
0746b2f50142 scsi: ufs: Avoid runtime suspend possibly being blocked forever
98467b8fda41 mmc: core: Prevent processing SDIO IRQs when the card is suspended
0349dbebbb0b mmc: core: Add sdio_retune_hold_now() and sdio_retune_release()
7ed49e1bf5b3 mmc: core: API to temporarily disable retuning for SDIO CRC errors
4b6d290cc1c1 mmc: sdhci: sdhci-pci-o2micro: Correctly set bus width when tuning
4c15ded55979 s390/ap: rework assembler functions to use unions for in/out register variables
fb48fb155e1b s390/jump_label: Use "jdd" constraint on gcc9
0319ef1d40ff ovl: fix bogus -Wmaybe-unitialized warning
639e8c2f0910 ovl: don't fail with disconnected lower NFS
f1c5aa5eda08 ovl: detect overlapping layers
a00f405e133f ovl: make i_ino consistent with st_ino in more cases
d6623379d895 ovl: fix wrong flags check in FS_IOC_FS[SG]ETXATTR ioctls
3cb5d7fa8f7d ovl: support the FS_IOC_FS[SG]ETXATTR ioctls
76343a1363f8 gcc-9: silence 'address-of-packed-member' warning
6a997c3a239a objtool: Support per-function rodata sections
c493ead38adb tracing: Silence GCC 9 array bounds warning
78778071092e Linux 4.19.55
dad3a9314ac9 tcp: refine memory limit test in tcp_fragment()
63bbbcd8ed53 Linux 4.19.54
e8e448b08450 Abort file_remove_privs() for non-reg. files
465ce9a50f8a coredump: fix race condition between collapse_huge_page() and core dumping
c7fb6b75def2 ocfs2: fix error path kobject memory leak
fedb1b9c9191 mlxsw: spectrum: Prevent force of 56G
114e8135ae00 scsi: libsas: delete sas port if expander discover failed
89ede9d8b5b8 scsi: scsi_dh_alua: Fix possible null-ptr-deref
cb7c6c33d3bb scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask
214c5933ffcf scsi: libcxgbi: add a check for NULL pointer in cxgbi_check_route()
7b9e10944f0d net: phy: dp83867: Set up RGMII TX delay
7698ad8c14c7 net: phylink: ensure consistent phy interface mode
8fb2c7969009 net: sh_eth: fix mdio access in sh_eth_close() for R-Car Gen2 and RZ/A1 SoCs
467f902643f5 arm64: use the correct function type for __arm64_sys_ni_syscall
98fd62e0a157 arm64: use the correct function type in SYSCALL_DEFINE0
c5fdfaedecc2 arm64: fix syscall_fn_t type
df6384e0f42e KVM: PPC: Book3S HV: Don't take kvm->lock around kvm_for_each_vcpu
b376683f6ab1 KVM: PPC: Book3S: Use new mutex to synchronize access to rtas token list
4acce744284c xenbus: Avoid deadlock during suspend due to open transactions
66f33b2bd2d8 xen/pvcalls: Remove set but not used variable
d92ebe0c1d26 ia64: fix build errors by exporting paddr_to_nid()
60a3e3b9e5ec perf record: Fix s390 missing module symbol and warning for non-root users
be0e62666da1 perf namespace: Protect reading thread's namespace
7d523e33f4b6 perf data: Fix 'strncat may truncate' build failure with recent gcc
e9fcebe01822 configfs: Fix use-after-free when accessing sd->s_dentry
ab7a3d9accae ALSA: hda - Force polling mode on CNL for fixing codec communication
7bea5618eaf9 i2c: dev: fix potential memory leak in i2cdev_ioctl_rdwr
197501af7ff3 net: aquantia: fix LRO with FCS error
388534d45f04 net: aquantia: tx clean budget logic error
b7ca3f331d57 drm/etnaviv: lock MMU while dumping core
ee61fb4de955 ACPI/PCI: PM: Add missing wakeup.flags.valid checks
bc19b50b80ca net: tulip: de4x5: Drop redundant MODULE_DEVICE_TABLE()
9a3208b66cc1 net: stmmac: update rx tail pointer register to fix rx dma hang issue.
3fbcef3350ab gpio: fix gpio-adp5588 build errors
991ea848a5c9 perf/ring-buffer: Always use {READ,WRITE}_ONCE() for rb->user_page data
c133c9db233d perf/ring_buffer: Add ordering to rb->nest increment
cca19ab29a1a perf/ring_buffer: Fix exposing a temporarily decreased data_head
a35e78220a9f x86/CPU/AMD: Don't force the CPB cap when running under a hypervisor
8e5666cdb36b mISDN: make sure device name is NUL terminated
f3885eecd253 usb: xhci: Fix a potential null pointer dereference in xhci_debugfs_create_endpoint()
930d31a6f344 powerpc/powernv: Return for invalid IMC domain
00ed897d618e clk: ti: clkctrl: Fix clkdm_clk handling
ef4ffa0f0b67 selftests: netfilter: missing error check when setting up veth interface
61c83de6e622 ipvs: Fix use-after-free in ip_vs_in
883ce78cded5 netfilter: nf_queue: fix reinject verdict handling
5a9c29cc2140 perf/x86/intel/ds: Fix EVENT vs. UEVENT PEBS constraints
dd9b6de79b67 Staging: vc04_services: Fix a couple error codes
97605ba68790 net: mvpp2: prs: Use the correct helpers when removing all VID filters
b6a1eabf72a0 net: mvpp2: prs: Fix parser range for VID filtering
4642a659ab96 net/mlx5: Avoid reloading already removed devices
1b201b63b647 vsock/virtio: set SOCK_DONE on peer shutdown
b86a5ccda5c3 tipc: purge deferredq list for each grp member in tipc_group_delete
e1b0c311b790 sunhv: Fix device naming inconsistency between sunhv_console and sunhv_reg
d7fcb54ed2a9 sctp: Free cookie before we memdup a new one
4bb4ba362cc1 nfc: Ensure presence of required attributes in the deactivate_target handler
7530c3f3d5b9 net: openvswitch: do not free vport if register_netdevice() is failed.
fc762c999768 net: dsa: rtl8366: Fix up VLAN filtering
103835df6821 neigh: fix use-after-free read in pneigh_get_next
2980196db6c1 lapb: fixed leak of control-blocks.
7eadfacd2be2 ipv6: flowlabel: fl6_sock_lookup() must use atomic_inc_not_zero
a5ae5920426e hv_netvsc: Set probe mode to sync
674dc77bd3ec be2net: Fix number of Rx queues used for flow hashing
10faaa359b41 ax25: fix inconsistent lock state in ax25_destroy_timer
9f31eb60d7a2 Linux 4.19.53
90fc261d509e rtc: pcf8523: don't return invalid date when battery is low
04757d0e3789 drm: add fallback override/firmware EDID modes workaround
29a6026624cd drm/edid: abstract override/firmware EDID retrieval
e93ce57f60ca x86/resctrl: Prevent NULL pointer dereference when local MBM is disabled
0257fc9aa53f x86/mm/KASLR: Compute the size of the vmemmap section properly
5e3d10d9375d x86/kasan: Fix boot with 5-level paging and KASAN
ecec31ce4f33 x86/microcode, cpuhotplug: Add a microcode loader CPU hotplug callback
fa982c692b2f RAS/CEC: Fix binary search function
e40db40e45cc RAS/CEC: Convert the timer callback to a workqueue
ca4c34037bb9 timekeeping: Repair ktime_get_coarse*() granularity
0fcd1432f8b0 USB: serial: option: add Telit 0x1260 and 0x1261 compositions
5080fb4b3828 USB: serial: option: add support for Simcom SIM7500/SIM7600 RNDIS mode
d5f20ee10ac0 USB: serial: pl2303: add Allied Telesis VT-Kit3
c00cd066a024 USB: usb-storage: Add new ID to ums-realtek
3c7439e2eab9 USB: Fix chipmunk-like voice when using Logitech C270 for recording audio.
f05b0bf073ef usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression)
63feb7e69fdc usb: dwc2: Fix DMA cache alignment issues
15bc8e8d4dad drm/vmwgfx: NULL pointer dereference from vmw_cmd_dx_view_define()
328648ac6aa5 drm/vmwgfx: integer underflow in vmw_cmd_dx_set_shader() leading to an invalid read
2399b2ac2be7 tools/kvm_stat: fix fields filter for child events
f69f5679ff8f KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION
9d8f338c92cc KVM: x86/pmu: do not mask the value that is written to fixed PMUs
04d2a113a283 KVM: x86/pmu: mask the result of rdpmc according to the width of the counters
60b300975e5f KVM: arm/arm64: Move cc/it checks under hyp's Makefile to avoid instrumentation
9366f5dc8409 usbnet: ipheth: fix racing condition
86895090621c tracing: Prevent hist_field_var_ref() from accessing NULL tracing_map_elts
b64df8133c2e selftests/timers: Add missing fflush(stdout) calls
3e1d7417b4d6 selftests: fib_rule_tests: fix local IPv4 address typo
90a564549b4a libnvdimm: Fix compilation warnings with W=1
ccc9ba8d2508 scsi: bnx2fc: fix incorrect cast to u64 on shift operation
d7a32c8a1ce1 platform/x86: pmc_atom: Add several Beckhoff Automation boards to critclk_systems DMI table
1a80d9ff8253 platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table
c0d3e166e16a nvme: fix memory leak for power latency tolerance
ddda7e850bf1 nvme: release namespace SRCU protection before performing controller ioctls
3188fcebbcbd nvme: merge nvme_ns_ioctl into nvme_ioctl
54261634bdf8 nvme: remove the ifdef around nvme_nvm_ioctl
a6515af9b839 nvme: fix srcu locking on error return in nvme_get_ns_from_disk
c4e97af6bff4 arm64/mm: Inhibit huge-vmap with ptdump
0e50da1e7ced scsi: lpfc: add check for loss of ndlp when sending RRQ
334d1a2373af scsi: lpfc: correct rcu unlock issue in lpfc_nvme_info_show
32d3f7d9dec1 scsi: qedi: remove set but not used variables 'cdev' and 'udev'
f3a7a1137ffc scsi: qedi: remove memset/memcpy to nfunc and use func instead
ae3787d433f7 f2fs: fix to avoid accessing xattr across the boundary
32f26da4b769 Drivers: misc: fix out-of-bounds access in function param_set_kgdbts_var
fcc1ce5b4f42 s390/kasan: fix strncpy_from_user kasan checks
eddfe9672ed2 Revert "ALSA: seq: Protect in-kernel ioctl calls with mutex"
731ebeeda51f ALSA: seq: Fix race of get-subscription call vs port-delete ioctls
b52fd8af8db3 ALSA: seq: Protect in-kernel ioctl calls with mutex
82055ad3d3ed x86/uaccess, kcov: Disable stack protector
b08ec06c94fc drm/i915/sdvo: Implement proper HDMI audio support for SDVO
b7398f45e3d6 ASoC: fsl_asrc: Fix the issue about unsupported rate
d7d15ac38ba6 ASoC: cs42xx8: Add regcache mask dirty
c3b85bda41f0 cgroup: Use css_tryget() instead of css_tryget_online() in task_get_css()
e599bfe54305 bcache: only set BCACHE_DEV_WB_RUNNING when cached device attached
973fc2b3434b bcache: fix stack corruption by PRECEDING_KEY()
da3b915a57c3 i2c: acorn: fix i2c warning
d3e58022c017 iommu/arm-smmu: Avoid constant zero in TLBI writes
31e216cf9dc2 ptrace: restore smp_rmb() in __ptrace_may_access()
662b831dde61 signal/ptrace: Don't leak unitialized kernel memory with PTRACE_PEEK_SIGINFO
54a20289cbfb mm/vmscan.c: fix trying to reclaim unevictable LRU page
6b9aa7ac48d7 fs/ocfs2: fix race in ocfs2_dentry_attach_lock()
553a1f0d3c69 mm/list_lru.c: fix memory leak in __memcg_init_list_lru_node
b7f8bbbbb973 libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
88fe03076062 ALSA: firewire-motu: fix destruction of data for isochronous resources
786b1b40dfb9 ALSA: hda/realtek - Update headset mode for ALC256
27effeff4533 ALSA: oxfw: allow PCM capture for Stanton SCS.1m
b59c93226489 Revert "ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops"
9fbd67c56529 HID: wacom: Sync INTUOSP2_BT touch state after each frame if necessary
dd1d71ad57a4 HID: wacom: Correct button numbering 2nd-gen Intuos Pro over Bluetooth
529013533d73 HID: wacom: Send BTN_TOUCH in response to INTUOSP2_BT eraser contact
3e9c0eb15932 HID: wacom: Don't report anything prior to the tool entering range
52a7d604615a HID: wacom: Don't set tool type until we're in range
fa212dd5a604 HID: multitouch: handle faulty Elo touch device
9ae306d8dbc8 nouveau: Fix build with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT disabled
d54e1b848e99 drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
6500aa436df4 Linux 4.19.52
59222807fcc9 tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()
7f9f8a37e563 tcp: add tcp_min_snd_mss sysctl
ec83921899a5 tcp: tcp_fragment() should apply sane memory limits
c09be31461ed tcp: limit payload size of sacked skbs
7aa823a959e1 Linux 4.19.51
b323914cd033 ALSA: seq: Cover unsubscribe_port() in list_mutex
3af96f3497b7 drm/vc4: fix fb references in async update
afec706807cd ovl: support stacked SEEK_HOLE/SEEK_DATA
22dac6cc9549 ovl: check the capability before cred overridden
b616b9dbc5f6 Revert "drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)"
8e5483aeae0d Revert "Bluetooth: Align minimum encryption key size for LE and BR/EDR connections"
526972e95ef9 percpu: do not search past bitmap when allocating an area
d4d5dce6d329 gpio: vf610: Do not share irq_chip
28229df6ad13 soc: renesas: Identify R-Car M3-W ES1.3
db54e08c5832 usb: typec: fusb302: Check vconn is off when we start toggling
ce183fad3aa8 ARM: exynos: Fix undefined instruction during Exynos5422 resume
384642ff6465 pwm: Fix deadlock warning when removing PWM device
7905b2331338 ARM: dts: exynos: Always enable necessary APIO_1V8 and ABB_1V8 regulators on Arndale Octa
78002e383be7 pwm: tiehrpwm: Update shadow register for disabling PWMs
9fdcb04e80e1 dmaengine: idma64: Use actual device for DMA transfers
da00c89fce7a ice: Add missing case in print_link_msg for printing flow control
456e3563725a gpio: gpio-omap: add check for off wake capable gpios
47d281bbbff9 PCI: xilinx: Check for __get_free_pages() failure
b5a185ee30d7 block, bfq: increase idling for weight-raised queues
e06d7a92796c video: imsttfb: fix potential NULL pointer dereferences
1f2611af4581 video: hgafb: fix potential NULL pointer dereference
5957f6f5aaa6 scsi: qla2xxx: Reset the FCF_ASYNC_{SENT|ACTIVE} flags
c2c7b6fee389 PCI: rcar: Fix 64bit MSI message address handling
dd54e70c47de PCI: rcar: Fix a potential NULL pointer dereference
272f8c3ddd31 net: hns3: return 0 and print warning when hit duplicate MAC
5a286ced4911 power: supply: max14656: fix potential use-before-alloc
901daed2f173 platform/x86: intel_pmc_ipc: adding error handling
613752b3a8fb ARM: OMAP2+: pm33xx-core: Do not Turn OFF CEFUSE as PPA may be using it
668440f6ee3f drm/amd/display: Use plane->color_space for dpp if specified
671fc9007c48 PCI: rpadlpar: Fix leaked device_node references in add/remove paths
b531acbd86d2 ARM: dts: imx6qdl: Specify IMX6QDL_CLK_IPG as "ipg" clock to SDMA
584cabc69aee ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ipg" clock to SDMA
02936545fbea ARM: dts: imx6ul: Specify IMX6UL_CLK_IPG as "ipg" clock to SDMA
36a7fda0595b ARM: dts: imx7d: Specify IMX7D_CLK_IPG as "ipg" clock to SDMA
c84911bb39d1 ARM: dts: imx6sll: Specify IMX6SLL_CLK_IPG as "ipg" clock to SDMA
a2e661f99c4d ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ahb" clock to SDMA
461f4183926c ARM: dts: imx53: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
998860d0384d ARM: dts: imx50: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
70465bbbaeae ARM: dts: imx51: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
57f89084a7e1 soc: rockchip: Set the proper PWM for rk3288
b16594860a30 clk: rockchip: Turn on "aclk_dmac1" for suspend on rk3288
8e9dd864d6a7 soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher
f7c0e67054d8 PCI: keystone: Prevent ARM32 specific code to be compiled for ARM64
a357310a5774 platform/chrome: cros_ec_proto: check for NULL transfer function
b78a9b2818d5 i40e: Queues are reserved despite "Invalid argument" error
aeb743dbe936 x86/PCI: Fix PCI IRQ routing table memory leak
47e6a354e248 net: thunderbolt: Unregister ThunderboltIP protocol handler when suspending
31aa2a7a8566 switchtec: Fix unintended mask of MRPC event
4b19a45eed4d iommu/arm-smmu-v3: Don't disable SMMU in kdump kernel
f7883f9b5a67 vfio: Fix WARNING "do not call blocking ops when !TASK_RUNNING"
806e83958482 nfsd: avoid uninitialized variable warning
b4330e4a7c12 nfsd: allow fh_want_write to be called twice
ae35c325d8fd fuse: retrieve: cap requested size to negotiated max_write
1c2e974628d1 nvmem: sunxi_sid: Support SID on A83T and H5
0412a8857198 nvmem: core: fix read buffer in place
962ce4023178 ALSA: hda - Register irq handler after the chip initialization
028b3d8d549e netfilter: nf_flow_table: fix netdev refcnt leak
650a4b7c5d66 netfilter: nf_flow_table: check ttl value in flow offload data path
52d7b067fadf nvme-pci: shutdown on timeout during deletion
6ce2ad24ae9c nvme-pci: unquiesce admin queue on shutdown
e9db931283fd PCI: designware-ep: Use aligned ATU window for raising MSI interrupts
a7f27994b207 misc: pci_endpoint_test: Fix test_reg_bar to be updated in pci_endpoint_test
ed6efdb74438 iommu/vt-d: Set intel_iommu_gfx_mapped correctly
525b5265fd75 blk-mq: move cancel of requeue_work into blk_mq_release
d6c80b609d81 watchdog: fix compile time error of pretimeout governors
0f50c30c8470 watchdog: imx2_wdt: Fix set_timeout for big timeout values
dc58e4027430 netfilter: nf_tables: fix base chain stat rcu_dereference usage
2d433cc9bd31 mips: Make sure dt memory regions are valid
2aed9dfe1e5d netfilter: nf_conntrack_h323: restore boundary check correctness
d0941980fd81 netfilter: nf_flow_table: fix missing error check for rhashtable_insert_fast
217ec4a6e4ef mmc: mmci: Prevent polling for busy detection in IRQ context
06382ad6cf31 ovl: do not generate duplicate fsnotify events for "fake" path
5fbe39bfd1e0 PCI: dwc: Free MSI IRQ page in dw_pcie_free_msi()
a6b79e2c7c02 PCI: dwc: Free MSI in dw_pcie_host_init() error path
a4aa02826701 uml: fix a boot splat wrt use of cpu_all_mask
4dc146d47fea configfs: fix possible use-after-free in configfs_register_group
5329dcafead2 percpu: remove spurious lock dependency between percpu and sched
8d7ebdd109b4 f2fs: fix to do checksum even if inode page is uptodate
640248545436 f2fs: fix to do sanity check on valid block count of segment
101e48feb661 f2fs: fix to use inline space only if inline_xattr is enable
45624f0e8142 f2fs: fix to avoid panic in dec_valid_block_count()
47a92acf9ebf f2fs: fix to clear dirty inode in error path of f2fs_iget()
ca9fcbc5a5f5 f2fs: fix to do sanity check on free nid
f3aa313d0d4f f2fs: fix to avoid panic in f2fs_remove_inode_page()
0325c5cce544 f2fs: fix to avoid panic in f2fs_inplace_write_data()
8490bf2d6176 f2fs: fix to avoid panic in do_recover_data()
0b50d08c5d85 ntp: Allow TAI-UTC offset to be set to zero
102f6e1249fb mailbox: stm32-ipcc: check invalid irq
c5b2c8249ff3 pwm: meson: Use the spin-lock only to protect register modifications
689fe88d51aa EDAC/mpc85xx: Prevent building as a module
f9ee13ce21db bpf: fix undefined behavior in narrow load handling
991b51048c49 drm/nouveau/kms/gv100-: fix spurious window immediate interlocks
20e1a16702d9 objtool: Don't use ignore flag for fake jumps
124c23dca3ac drm/bridge: adv7511: Fix low refresh rate selection
2a3f2b43a9e3 drm/nouveau/kms/gf119-gp10x: push HeadSetControlOutputResource() mthd when encoders change
f9706dd945e9 perf/x86/intel: Allow PEBS multi-entry in watermark mode
5540d0146151 mfd: twl6040: Fix device init errors for ACCCTL register
3b8892bea9eb drm/nouveau/disp/dp: respect sink limits when selecting failsafe link configuration
e9a8c9805f58 mfd: intel-lpss: Set the device in reset state when init
12c57327a128 mfd: tps65912-spi: Add missing of table registration
1196b79a20f7 drivers: thermal: tsens: Don't print error message on -EPROBE_DEFER
fd77a5117721 thermal: rcar_gen3_thermal: disable interrupt in .remove
c50c4fb0cb62 kernel/sys.c: prctl: fix false positive in validate_prctl_map()
515d18ced8e1 mm/slab.c: fix an infinite loop in leaks_show()
13e1ea0881da mm/cma_debug.c: fix the break condition in cma_maxchunk_get()
38c5fce7fc48 mm: page_mkclean vs MADV_DONTNEED race
77a01e33570c mm/cma.c: fix the bitmap status to show failed allocation reason
25511676362d initramfs: free initrd memory if opening /initrd.image fails
e5f8857ea972 mm/cma.c: fix crash on CMA allocation if bitmap allocation fails
5094a85d6d93 mem-hotplug: fix node spanned pages when we have a node with only ZONE_MOVABLE
ffaafd27b067 hugetlbfs: on restore reserve error path retain subpool reservation
85e1a6c4b3e5 mm/hmm: select mmu notifier when selecting HMM
e0c3fc1f8fe3 ARM: prevent tracing IPI_CPU_BACKTRACE
4d3811a60e10 drm/pl111: Initialize clock spinlock early
20de754a7d88 ipc: prevent lockup on alloc_msg and free_msg
91ae202e2c88 sysctl: return -EINVAL if val violates minmax
5b6619b4d206 fs/fat/file.c: issue flush after the writeback of FAT
2a89e4c5ee2e rapidio: fix a NULL pointer dereference when create_workqueue() fails
768292d05361 Linux 4.19.50
51dc284e2a87 ethtool: check the return value of get_regs_len
645fa685bb20 ipv4: Define __ipv4_neigh_lookup_noref when CONFIG_INET is disabled
ec8a9eb2a6c1 TTY: serial_core, add ->install
6bdc692f5c9e drm/i915/gvt: Initialize intel_gvt_gtt_entry in stack
fbb7e114e6e6 drm: don't block fb changes for async plane updates
6600ec2600d6 drm/i915: Maintain consistent documentation subsection ordering
360e00e290a3 drm/i915/fbc: disable framebuffer compression on GeminiLake
554f4253700e drm/i915: Fix I915_EXEC_RING_MASK
f3dcc88d531f drm/amdgpu: remove ATPX_DGPU_REQ_POWER_FOR_DISPLAYS check when hotplug-in
84c82ab8f133 drm/radeon: prefer lower reference dividers
748a97ec6c15 drm/amdgpu/psp: move psp version specific function pointers to early_init
98a8cb0282ab drm: add non-desktop quirks to Sensics and OSVR headsets.
610382337557 drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
490290b0415f drm: add non-desktop quirk for Valve HMDs
ac222e8a50af drm/msm: fix fb references in async update
6470aa05ae15 drm/gma500/cdv: Check vbt config bits when detecting lvds panels
7fbcb7d1031d test_firmware: Use correct snprintf() limit
67bdeb0c6f5c genwqe: Prevent an integer overflow in the ioctl
221c44d2d7fa Revert "MIPS: perf: ath79: Fix perfcount IRQ assignment"
2d9d3ab541a6 MIPS: pistachio: Build uImage.gz by default
eee609635076 MIPS: Bounds check virt_addr_valid
b9b75a460076 xen-blkfront: switch kcalloc to kvcalloc for large array allocation
7aad9269a6e8 s390/mm: fix address space detection in exception handling
7737eff01711 i2c: xiic: Add max_read_len quirk
b598ddc7b9fc x86/insn-eval: Fix use-after-free access to LDT entry
4d166206cf41 x86/power: Fix 'nosmt' vs hibernation triple fault during resume
f4d0227ff170 pstore/ram: Run without kernel crash dump region
aa73a3b205a4 pstore: Set tfm to NULL on free_buf_for_compression
d4128a1b580c pstore: Convert buf_lock to semaphore
c63ce7166daf pstore: Remove needless lock during console writes
a3b8b4ad6db7 fuse: fallocate: fix return with locked inode
56e3f73e838a NFSv4.1: Fix bug only first CB_NOTIFY_LOCK is handled
ea0327b47754 NFSv4.1: Again fix a race where CB_NOTIFY_LOCK fails to wake a waiter
384c1d931b5e parisc: Use implicit space register selection for loading the coherence index of I/O pdirs
6726307d2008 rcu: locking and unlocking need to always be at least barriers
39e597d283b0 mtd: spinand: macronix: Fix ECC Status Read
2488b9f9afde ipv6: fix EFAULT on sendto with icmpv6 and hdrincl
0b16d956ee5b ipv6: use READ_ONCE() for inet->hdrincl as in ipv4
d769853dbdaa Revert "fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied"
396244b6ecf0 pktgen: do not sleep with the thread lock held.
da096fe1a6a4 packet: unconditionally free po->rollover
be0343af1291 net/tls: replace the sleeping lock around RX resync with a bit lock
9740f4ff1a66 net: sfp: read eeprom in maximum 16 byte increments
7700d5afff30 net: rds: fix memory leak in rds_ib_flush_mr_pool
c6a020e0117f net: mvpp2: Use strscpy to handle stat strings
d305d61fcf96 net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query
831d6d077874 net: ethernet: ti: cpsw_ethtool: fix ethtool ring param set
893e2a5f5cf6 neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit
9fd19a3b4f61 ipv6: fix the check before getting the cookie in rt6_get_cookie
daa11cc841d6 ipv4: not do cache for local delivery if bc_forwarding is enabled
05b933f25a83 Fix memory leak in sctp_process_init
d6782b8c5c18 ethtool: fix potential userspace buffer overflow
bb7b450e61a1 Linux 4.19.49
9861e2cd4616 media: uvcvideo: Fix uvc_alloc_entity() allocation alignment
b52ca352489b of: overlay: set node fields from properties when add new overlay node
15151d0013c9 of: overlay: validate overlay properties #address-cells and #size-cells
26dace362e7f scsi: lpfc: Fix backport of faf5a744f4f8 ("scsi: lpfc: avoid uninitialized variable warning")
ca309fef7a69 x86/kprobes: Set instruction page as executable
b49ca4bf1b9c x86/ftrace: Set trampoline pages as executable
6fa953c94882 x86/ftrace: Do not call function graph from dynamic trampolines
9d57cfd4e9d8 binder: fix race between munmap() and direct reclaim
137c838f177b Revert "binder: fix handling of misaligned binder object"
385dab299c8a Revert "x86/build: Move _etext to actual end of .text"
9468870f7cbd include/linux/module.h: copy __init/__exit attrs to init/cleanup_module
2a0f719db71c Compiler Attributes: add support for __copy (gcc >= 9)
390a0fd31b02 drm/lease: Make sure implicit planes are leased
699f0e9d24c8 drm/rockchip: shutdown drm subsystem on shutdown
1ca811507e41 drm/sun4i: Fix sun8i HDMI PHY configuration for > 148.5 MHz
1f1372206e0b drm/sun4i: Fix sun8i HDMI PHY clock initialization
3a20515c3c44 drm/vmwgfx: Don't send drm sysfs hotplug events on initial master set
1715a46322fa drm/tegra: gem: Fix CPU-cache maintenance for BO's allocated using get_pages()
132137d1bfa1 gcc-plugins: Fix build failures under Darwin host
873041930dab Revert "lockd: Show pid of lockd for remote locks"
297a251062c0 CIFS: cifs_read_allocate_pages: don't iterate through whole page array on ENOMEM
32d57c0c063c cifs: fix memory leak of pneg_inbuf on -EOPNOTSUPP ioctl case
f6a39f877feb staging: wlan-ng: fix adapter initialization failure
27a4b6c8c1cf staging: vc04_services: prevent integer overflow in create_pagelist()
3078e80b03c8 serial: sh-sci: disable DMA for uart_console
ff818b449a5b vt/fbcon: deinitialize resources in visual_init() after failed memory allocation
6e322a9e42cd evm: check hash algorithm passed to init_desc()
f85b87a9a2a8 ima: show rules with IMA_INMASK correctly
21158982f6b7 doc: Cope with Sphinx logging deprecations
c0742228bba6 doc: Cope with the deprecation of AutoReporter
301b18edbf56 docs: Fix conf.py for Sphinx 2.0
871953434bd9 arm64: Fix the arm64_personality() syscall wrapper redirection
6f8d26270ce3 kernel/signal.c: trace_signal_deliver when signal_group_exit
8b057ad846c5 memcg: make it work on sparse non-0-node systems
4e29e2ecf186 tty: max310x: Fix external crystal register setup
a071517b85cc tty: serial: msm_serial: Fix XON/XOFF
bb03290431bc i2c: synquacer: fix synquacer_i2c_doxfer() return value
d2d8f6401254 i2c: mlxcpld: Fix wrong initialization order in probe
88ad86b80782 drm/nouveau/i2c: Disable i2c bus access after ->fini()
6a2fbec70766 KVM: s390: Do not report unusabled IDs via KVM_CAP_MAX_VCPU_ID
3834630ef4d3 ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops
9cfd6c36759b ALSA: hda/realtek - Set default power save node to 0
eb2eeec920fb ALSA: line6: Assure canceling delayed work at disconnection
ca221cf9ab6f powerpc/perf: Fix MMCRA corruption by bhrb_filter
55a94d81f536 KVM: PPC: Book3S HV: XIVE: Do not clear IRQ data of passthrough interrupts
badbe1abbd59 s390/crypto: fix possible sleep during spinlock aquired
83c874cf6861 s390/crypto: fix gcm-aes-s390 selftest failures
5dede5c9e605 iio: adc: ti-ads8688: fix timestamp is not updated in buffer
06c5ec6fd0b1 iio: dac: ds4422/ds4424 fix chip verification
8a652fd142c3 Btrfs: incremental send, fix file corruption when no-holes feature is enabled
a81071110d25 Btrfs: fix fsync not persisting changed attributes of a directory
37fe038328a2 Btrfs: fix race updating log root item during fsync
7301bbeae98f Btrfs: fix wrong ctime and mtime of a directory after log replay
da32e0303d5f tracing: Avoid memory leak in predicate_parse()
9756c7e0cdc7 scsi: zfcp: fix to prevent port_remove with pure auto scan LUNs (only sdevs)
e8bd0dffe816 scsi: zfcp: fix missing zfcp_port reference put on -EBUSY from port_remove
c18a0ecc411a brcmfmac: fix NULL pointer derefence during USB disconnect
1f64751af190 media: smsusb: better handle optional alignment
e6df98cafc9c media: usb: siano: Fix false-positive "uninitialized variable" warning
35b104456652 media: usb: siano: Fix general protection fault in smsusb
b4c1b4a61f78 USB: rio500: fix memory leak in close after disconnect
d2d93077bac3 USB: rio500: refuse more than one device at a time
d8c1703932bc USB: Add LPM quirk for Surface Dock GigE adapter
d27ea5e9eb4a USB: sisusbvga: fix oops in error path of sisusb_probe
a43bb9e83155 USB: Fix slab-out-of-bounds write in usb_get_bos_descriptor
2fc485b0008e usbip: usbip_host: fix stub_dev lock context imbalance regression
e3724d69b732 usbip: usbip_host: fix BUG: sleeping function called from invalid context
9690202da222 usb: xhci: avoid null pointer deref when bos field is NULL
8e30ba04a20a xhci: Convert xhci_handshake() to use readl_poll_timeout_atomic()
32adfa3d92e7 xhci: Use %zu for printing size_t type
eebcff780603 xhci: update bounce buffer with correct sg num
759766bf2aec include/linux/bitops.h: sanitize rotate primitives
89156c1005d2 sparc64: Fix regression in non-hypervisor TLB flush xcall
e109a984cf38 Linux 4.19.48
ca75a9fc5ba4 tipc: fix modprobe tipc failed after switch order of device registration
ab69a2304210 Revert "tipc: fix modprobe tipc failed after switch order of device registration"
99dcf4a4dd2e xen/pciback: Don't disable PCI_COMMAND on PCI device reset.
0276ebf16675 jump_label: move 'asm goto' support test to Kconfig
753328727cab compiler.h: give up __compiletime_assert_fallback()
fd45cd4530eb include/linux/compiler*.h: define asm_volatile_goto
2bb9c7e42836 crypto: vmx - ghash: do nosimd fallback manually
fb6cf4f3704b net/tls: don't ignore netdev notifications if no TLS features
fb69403ec2ff net/tls: fix state removal with feature flags off
27d8ad1d8ea9 bnxt_en: Fix aggregation buffer leak under OOM condition.
a1a926fc68c7 net: stmmac: dma channel control register need to be init first
1db0bcc27c78 net/mlx5e: Disable rxhash when CQE compress is enabled
e0d95806b05d net/mlx5: Allocate root ns memory using kzalloc to match kfree
4421d31753ec tipc: Avoid copying bytes beyond the supplied data
06442f45e5cf net/mlx5: Avoid double free in fs init error unwinding path
fb836d014e37 usbnet: fix kernel crash after disconnect
191989817df9 net: stmmac: fix reset gpio free missing
6ab968473140 net: sched: don't use tc_action->order during action dump
33f737a4307d net: phy: marvell10g: report if the PHY fails to boot firmware
c2d4b2feb057 net: mvpp2: fix bad MVPP2_TXQ_SCHED_TOKEN_CNTR_REG queue value
de9d6a730cc0 net: mvneta: Fix err code path of probe
39fd0dc4a556 net-gro: fix use-after-free read in napi_gro_frags()
4294c3475035 net: fec: fix the clk mismatch in failed_reset path
566dc17b993d net: dsa: mv88e6xxx: fix handling of upper half of STATS_TYPE_PORT
2d04f32c8861 llc: fix skb leak in llc_build_and_send_ui_pkt()
442176668ecf ipv6: Fix redirect with VRF
ed753b394321 ipv6: Consider sk_bound_dev_if when binding a raw socket to an address
46702dd5d504 ipv4/igmp: fix build error if !CONFIG_IP_MULTICAST
e9f94e480f3e ipv4/igmp: fix another memory leak in igmpv3_del_delrec()
07480da0c8a1 inet: switch IP ID generator to siphash
9c9144e78996 cxgb4: offload VLAN flows regardless of VLAN ethtype
3cde0a250845 bonding/802.3ad: fix slave link initialization transition states
0df021b2e841 Linux 4.19.47
26433652f0e4 NFS: Fix a double unlock from nfs_match,get_client
1a686177acde drm/sun4i: dsi: Enforce boundaries on the start delay
6956c0e3cf33 vfio-ccw: Prevent quiesce function going into an infinite loop
476e87eb7f78 drm/sun4i: dsi: Change the start delay calculation
00734a9e7329 drm: Wake up next in drm_read() chain if we are forced to putback the event
d6dea92a4862 drm/drv: Hold ref on parent device during drm_device lifetime
473bc1af7a22 drm/v3d: Handle errors from IRQ setup.
b9c8f86f50ac ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM
cc211863ac79 spi: Fix zero length xfer bug
8f7f333af9f6 spi: imx: stop buffer overflow in RX FIFO flush
3ae1817a29e7 spi: rspi: Fix sequencer reset during initialization
676aec9b8f11 drm/omap: dsi: Fix PM for display blank with paired dss_pll calls
bdc095631d50 spi : spi-topcliff-pch: Fix to handle empty DMA buffers
98eb1b80fea7 scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices
755dc83020a5 media: saa7146: avoid high stack usage with clang
584e06c0ed20 scsi: lpfc: Fix fc4type information for FDMI
aecb245fdd90 scsi: lpfc: Fix FDMI manufacturer attribute value
4192c77f50dc media: vimc: zero the media_device on probe
fd1ade15f299 media: go7007: avoid clang frame overflow warning with KASAN
6d16d2e130e4 media: gspca: do not resubmit URBs when streaming has stopped
acf41fb8df45 media: vimc: stream: fix thread state before sleep
aeea87865aa7 scsi: ufs: fix a missing check of devm_reset_control_get
62e79f4c6bc0 drm/amd/display: Set stream->mode_changed when connectors change
fc5293ab6c48 drm/amd/display: Fix Divide by 0 in memory calculations
91435fce9b24 media: staging: davinci_vpfe: disallow building with COMPILE_TEST
f51db48c1220 media: m88ds3103: serialize reset messages in m88ds3103_set_frontend
e93677055a5a media: dvbsky: Avoid leaking dvb frontend
ab934f0ac158 media: si2165: fix a missing check of return value
561bd5615604 igb: Exclude device from suspend direct complete optimization
b6bc20249423 tinydrm/mipi-dbi: Use dma-safe buffers for all SPI transfers
5ec9ba494db2 e1000e: Disable runtime PM on CNP+
495e34e62c3b thunderbolt: property: Fix a NULL pointer dereference
70611b1b81c4 drm/amd/display: fix releasing planes when exiting odm
988dab7f5778 thunderbolt: Fix to check for kmemdup failure
877a202f9b27 thunderbolt: Fix to check return value of ida_simple_get
b9291078edce hwrng: omap - Set default quality
6b2d1934d1f9 dmaengine: tegra210-adma: use devm_clk_*() helpers
25204fe6a3f8 batman-adv: allow updating DAT entry timeouts on incoming ARP Replies
a2ace9b24387 selinux: avoid uninitialized variable warning
c7595096daf9 scsi: lpfc: avoid uninitialized variable warning
ac9149bc1402 scsi: qla4xxx: avoid freeing unallocated dma memory
239156e0c04a usb: core: Add PM runtime calls to usb_hcd_platform_shutdown
506b28fb9982 rcuperf: Fix cleanup path for invalid perf_type strings
75a96196d4c4 x86/mce: Handle varying MCA bank counts
aa7919e37fee rcutorture: Fix cleanup path for invalid torture_type strings
3d036cbaab92 x86/mce: Fix machine_check_poll() tests for error types
3c2b1ae4410c overflow: Fix -Wtype-limits compilation warnings
19ae270d1ce0 tty: ipwireless: fix missing checks for ioremap
3392cc5f3ce3 virtio_console: initialize vtermno value for ports
e819d4a13688 scsi: qedf: Add missing return in qedf_post_io_req() in the fcport offload check
dc0f37b780e9 timekeeping: Force upper bound for setting CLOCK_REALTIME
ee40c8a3efc2 thunderbolt: Fix to check the return value of kmemdup
c8eecd658220 thunderbolt: property: Fix a missing check of kzalloc
1de8f9653585 efifb: Omit memory map check on legacy boot
356f05fdd490 media: gspca: Kill URBs on USB device disconnect
2a9331ced525 media: wl128x: prevent two potential buffer overflows
6b5693f20dd8 media: video-mux: fix null pointer dereferences
bc75207a54dd kobject: Don't trigger kobject_uevent(KOBJ_REMOVE) twice.
ba906246e38b spi: tegra114: reset controller on probe
2cd236c27157 HID: logitech-hidpp: change low battery level threshold from 31 to 30 percent
fb2c65b4a279 cxgb3/l2t: Fix undefined behaviour
71efe4c70afc ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put
b6b7a78cf997 ASoC: eukrea-tlv320: fix a leaked reference by adding missing of_node_put
69f67200cfd6 HID: core: move Usage Page concatenation to Main item
256f63c6806d sh: sh7786: Add explicit I/O cast to sh7786_mm_sel()
8ea279184619 RDMA/hns: Fix bad endianess of port_pd variable
65ec64f28a88 chardev: add additional check for minor range overlap
fc242af86d07 x86/uaccess: Fix up the fixup
5007453c7144 x86/ia32: Fix ia32_restore_sigcontext() AC leak
4614b0bb8f65 x86/uaccess, signal: Fix AC=1 bloat
1a3188d737ce x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP
da30c277c4fd wil6210: fix return code of wmi_mgmt_tx and wmi_mgmt_tx_ext
e667aef54f8a arm64: cpu_ops: fix a leaked reference by adding missing of_node_put
e3980dbef43a drm/panel: otm8009a: Add delay at the end of initialization
cb5946e5c86a scsi: ufs: Avoid configuring regulator with undefined voltage range
31318d4ae3ae scsi: ufs: Fix regulator load and icc-level configuration
c9e44a1a734a rtlwifi: fix potential NULL pointer dereference
bd2ab045df4a rtc: xgene: fix possible race condition
e29aba14e8db brcmfmac: fix Oops when bringing up interface during USB disconnect
8a412ed97184 brcmfmac: fix race during disconnect when USB completion is in progress
ce55a5941ed4 brcmfmac: fix WARNING during USB disconnect in case of unempty psq
4b2f0ebc306b brcmfmac: convert dev_init_lock mutex to completion
59ec3ad30ab8 b43: shut up clang -Wuninitialized variable warning
7c9d97f3b11d brcmfmac: fix missing checks for kmemdup
a27ce4840f89 mwifiex: Fix mem leak in mwifiex_tm_cmd
7be8d4251bf7 rtlwifi: fix a potential NULL pointer dereference
f8f54929bd23 selftests/bpf: ksym_search won't check symbols exists
ef8e5a78406d iio: adc: ti-ads7950: Fix improper use of mlock
36a59a036896 iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_data
dd106d198dee iio: hmc5843: fix potential NULL pointer dereferences
d7c773412f4b iio: ad_sigma_delta: Properly handle SPI bus locking vs CS assertion
ce59174d4e69 drm/pl111: fix possible object reference leak
e758471be038 x86/build: Keep local relocations with ld.lld
2b18febc8cdc block: sed-opal: fix IOC_OPAL_ENABLE_DISABLE_MBR
9d8b1d5db780 cpufreq: kirkwood: fix possible object reference leak
f9ead9f4d145 cpufreq: pmac32: fix possible object reference leak
513a7f8e8929 cpufreq/pasemi: fix possible object reference leak
9612f4040f05 cpufreq: ppc_cbe: fix possible object reference leak
f8a91441b2a1 qmi_wwan: Add quirk for Quectel dynamic config
1b6141cd052b selftests: cgroup: fix cleanup path in test_memcg_subtree_control()
9c594cae285c s390: cio: fix cio_irb declaration
c3c614380548 s390/mm: silence compiler warning when compiling without CONFIG_PGSTE
a07de9b98fbf x86/microcode: Fix the ancient deprecated microcode loading method
a3713f2cebdc s390: zcrypt: initialize variables before_use
e91146984939 clk: rockchip: Make rkpwm a critical clock on rk3288
c9aa87e5f345 extcon: arizona: Disable mic detect if running when driver is removed
822342658459 clk: rockchip: Fix video codec clocks on rk3288
cbaab786ee67 PM / core: Propagate dev->power.wakeup_path when no callbacks
d8a36f841803 drm/amdgpu: fix old fence check in amdgpu_fence_emit
e107bc69cc59 mmc: sdhci-of-esdhc: add erratum eSDHC-A001 and A-008358 support
019ca0bf8d91 mmc: sdhci-of-esdhc: add erratum A-009204 support
80118cba1f78 mmc: sdhci-of-esdhc: add erratum eSDHC5 support
fa291e89997a mmc_spi: add a status check for spi_sync_locked
059c2f5326a0 mmc: core: make pwrseq_emmc (partially) support sleepy GPIO controllers
aa06e61237ab scsi: libsas: Do discovery on empty PHY to update PHY info
4e98f3b11a7a hwmon: (f71805f) Use request_muxed_region for Super-IO accesses
8cfe000d0a69 hwmon: (pc87427) Use request_muxed_region for Super-IO accesses
48b31e8a025f hwmon: (smsc47b397) Use request_muxed_region for Super-IO accesses
e7dbe597ea55 hwmon: (smsc47m1) Use request_muxed_region for Super-IO accesses
fbdce79e7c3b hwmon: (vt1211) Use request_muxed_region for Super-IO accesses
1cd4902d9088 perf/x86/intel/cstate: Add Icelake support
ea6ff1bb3d00 perf/x86/intel/rapl: Add Icelake support
3a9a1fd14b27 perf/x86/msr: Add Icelake support
9754bab2057e RDMA/cxgb4: Fix null pointer dereference on alloc_skb failure
b0f6ac8c81e0 arm64: vdso: Fix clock_getres() for CLOCK_REALTIME
9082058b549a ACPI/IORT: Reject platform device creation on NUMA node mapping failure
4a9c84499e11 i40e: don't allow changes to HW VLAN stripping on active port VLANs
e3e8cdacdcce i40e: Able to add up to 16 MAC filters on an untrusted VF
267b3c6b3f45 phy: mapphone-mdm6600: add gpiolib dependency
3ecda6884660 phy: sun4i-usb: Make sure to disable PHY0 passby for peripheral mode
63b4f89d03c2 drm: etnaviv: avoid DMA API warning when importing buffers
f843f848c567 x86/irq/64: Limit IST stack overflow check to #DB stack
97abdfa81f1c USB: core: Don't unbind interfaces following device reset failure
3711c9885278 s390/qeth: handle error from qeth_update_from_chp_desc()
5d5652b51c87 thunderbolt: Take domain lock in switch sysfs attribute callbacks
afee27f38253 irq_work: Do not raise an IPI when queueing work on the local CPU
dee2faf0ac0c drm/msm: a5xx: fix possible object reference leak
e0b75a798651 staging: vc04_services: handle kzalloc failure
355673f80835 sched/core: Handle overflow in cpu_shares_write_u64
7053046e350f sched/rt: Check integer overflow at usec to nsec conversion
925275d0cc5d sched/core: Check quota and period overflow at usec to nsec conversion
4e4d5cea79a7 cgroup: protect cgroup->nr_(dying_)descendants by css_set_lock
944c58523731 random: add a spinlock_t to struct batched_entropy
6fa6381a2da0 random: fix CRNG initialization when random.trust_cpu=1
fec8a09f79ec powerpc/64: Fix booting large kernels with STRICT_KERNEL_RWX
f488832c2099 powerpc/numa: improve control of topology updates
ad393793794e block: fix use-after-free on gendisk
30f8da71c730 iio: adc: stm32-dfsdm: fix unmet direct dependencies detected
11ad52770a42 media: pvrusb2: Prevent a buffer overflow
a90ce66af211 media: au0828: Fix NULL pointer dereference in au0828_analog_stream_enable()
2096b3ba3274 media: stm32-dcmi: fix crash when subdev do not expose any formats
6c21fa849a5a audit: fix a memory leak bug
9fcfaab61420 media: ov2659: make S_FMT succeed even if requested format doesn't match
e3a9d646ecf2 media: au0828: stop video streaming only when last user stops
3ccd89123b67 media: ov6650: Move v4l2_clk_get() to ov6650_video_probe() helper
81a0b6ff0209 media: coda: clear error return value before picture run
83544b04a406 dmaengine: at_xdmac: remove BUG_ON macro in tasklet
bfb9e836cf26 perf/arm-cci: Remove broken race mitigation
2d1df7fada2d clk: rockchip: undo several noc and special clocks as critical on rk3288
86a1de9c8d76 pinctrl: samsung: fix leaked of_node references
c3933fd4a8ee pinctrl: pistachio: fix leaked of_node references
12e7faac49e2 HID: logitech-hidpp: use RAP instead of FAP to get the protocol version
1eafabe144f4 Bluetooth: hci_qca: Give enough time to ROME controller to bootup.
189b396a2580 mm/uaccess: Use 'unsigned long' to placate UBSAN warnings on older GCC versions
f46ae1cd7cec x86/mm: Remove in_nmi() warning from 64-bit implementation of vmalloc_fault()
3dc1e338ae5f smpboot: Place the __percpu annotation correctly
0fcb3cd5af98 x86/build: Move _etext to actual end of .text
58a0c2194bac vfio-ccw: Release any channel program when releasing/removing vfio-ccw mdev
8c1c78109a74 vfio-ccw: Do not call flush_workqueue while holding the spinlock
e0d25d17841a RDMA/cma: Consider scope_id while binding to ipv6 ll address
06740892db92 bcache: avoid clang -Wunintialized warning
330b67980381 bcache: add failure check to run_cache_set() for journal replay
cd83c78897d5 bcache: fix failure in journal relplay
29b166da7a4e bcache: return error immediately in bch_journal_replay()
8034a6b89990 bcache: avoid potential memleak of list of journal_replay(s) in the CACHE_SYNC branch of run_cache_set
e82df5f1e54a crypto: sun4i-ss - Fix invalid calculation of hash end
213e152316ed nvme-rdma: fix a NULL deref when an admin connect times out
c24860f40b66 nvme: set 0 capacity if namespace block size exceeds PAGE_SIZE
31de7f1d07b5 net: cw1200: fix a NULL pointer dereference
eacec4367998 rsi: Fix NULL pointer dereference in kmalloc
9d54cca8f939 mwifiex: prevent an array overflow
c2582f213897 ASoC: fsl_sai: Update is_slave_mode with correct value
67d812fbe303 slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register
0cbef22f67ba libbpf: fix samples/bpf build failure due to undefined UINT32_MAX
ca5b9d63e9b1 mac80211/cfg80211: update bss channel on channel switch
1d057fefa045 dmaengine: pl330: _stop: clear interrupt status
cadb16d9e0f3 s390: qeth: address type mismatch warning
99079ceefb7c w1: fix the resume command API
07da741d48c4 sched/nohz: Run NOHZ idle load balancer on HK_FLAG_MISC CPUs
216155aab507 s390/kexec_file: Fix detection of text segment in ELF loader
6697d0b3f5b5 scsi: qedi: Abort ep termination if offload not scheduled
bc90af686912 rtc: stm32: manage the get_irq probe defer case
7fd0d9d10e5d rtc: 88pm860x: prevent use-after-free on device remove
0ea8b7cf9436 iwlwifi: pcie: don't crash on invalid RX interrupt
bd3d8f4cb956 btrfs: Don't panic when we can't find a root key
431cbaec1287 btrfs: fix panic during relocation after ENOSPC before writeback happens
1084fc9afbe3 Btrfs: fix data bytes_may_use underflow with fallocate due to failed quota reserve
8715ce033eb3 x86/modules: Avoid breaking W^X while loading modules
34f3a58f06da scsi: qla2xxx: Fix hardirq-unsafe locking
6ce116871011 scsi: qla2xxx: Avoid that lockdep complains about unsafe locking in tcm_qla2xxx_close_session()
55b95ce89ce7 scsi: qla2xxx: Fix abort handling in tcm_qla2xxx_write_pending()
de3cd35f5195 scsi: qla2xxx: Fix a qla24xx_enable_msix() error path
73026db866db sched/cpufreq: Fix kobject memleak
0fe8ed038e88 powerpc/watchdog: Use hrtimers for per-CPU heartbeat
efa336f785df arm64: Fix compiler warning from pte_unmap() with -Wunused-but-set-variable
9152b0815430 ARM: vdso: Remove dependency with the arch_timer driver internals
2d2017675b1a media: stm32-dcmi: return appropriate error codes during probe
5744fd7fa1d1 drm/nouveau/bar/nv50: ensure BAR is mapped
07bb9a71ee27 ACPI / property: fix handling of data_nodes in acpi_get_next_subnode()
c00f0fbd2e85 brcm80211: potential NULL dereference in brcmf_cfg80211_vndr_cmds_dcmd_handler()
57667dc86bef spi: pxa2xx: fix SCR (divisor) calculation
5cf668cf1110 ASoC: imx: fix fiq dependencies
b8bd069f855f powerpc/perf: Fix loop exit condition in nest_imc_event_init
1a6767f5f152 powerpc/boot: Fix missing check of lseek() return value
741853944fea powerpc/perf: Return accordingly on invalid chip-id in
49c0fa1f35c1 ASoC: hdmi-codec: unlock the device on startup errors
663411719895 usb: dwc3: move synchronize_irq() out of the spinlock protected block
1a7be0fe0777 usb: dwc2: gadget: Increase descriptors count for ISOC's
fc8c5907d8fc ASoC: Intel: kbl_da7219_max98357a: Map BTN_0 to KEY_PLAYPAUSE
b676f6c0b552 pinctrl: zte: fix leaked of_node references
8603d49906b2 Bluetooth: Ignore CC events not matching the last HCI command
6d9cfab853ca hv_netvsc: fix race that may miss tx queue wakeup
83eaba87e73e net: ena: gcc 8: fix compilation warning
19c2dd5025bb dmaengine: tegra210-dma: free dma controller in remove()
7ffd692bfce7 bpftool: exclude bash-completion/bpftool from .gitignore pattern
6d9f8909e540 selftests/bpf: set RLIMIT_MEMLOCK properly for test_libbpf_open.c
f3ed010f2bfe tools/bpf: fix perf build error with uClibc (seen on ARC)
d96a6c31e42e mmc: core: Verify SD bus width
c4b51dbcccfc gfs2: Fix occasional glock use-after-free
fa4aaa09d17e IB/hfi1: Fix WQ_MEM_RECLAIM warning
36296b0034ae NFS: make nfs_match_client killable
506961a7a4ef cxgb4: Fix error path in cxgb4_init_module
bac852089281 gfs2: Fix lru_count going negative
06a67c0f4abb Revert "btrfs: Honour FITRIM range constraints during free space trim"
7c2bcb3cca03 acct_on(): don't mess with freeze protection
7d562a90a88b at76c50x-usb: Don't register led_trigger if usb_register_driver failed
363aa80a51c9 batman-adv: mcast: fix multicast tt/tvlv worker locking
003e2d74c554 bpf: devmap: fix use-after-free Read in __dev_map_entry_free
3de79cb0ceb2 ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit
c8275cbe2bd8 media: vivid: use vfree() instead of kfree() for dev->bitmap_cap
0595e0d173f0 media: vb2: add waiting_in_dqbuf flag
aec118ecf579 media: serial_ir: Fix use-after-free in serial_ir_init_module
bdf3da72ae79 media: cpia2: Fix use-after-free in cpia2_exit
de2d09ebff2f fbdev: fix WARNING in __alloc_pages_nodemask bug
86c43c40fe05 ovl: relax WARN_ON() for overlapping layers use case
9c0339dd381d btrfs: honor path->skip_locking in backref code
2eefb4a3894e arm64: errata: Add workaround for Cortex-A76 erratum #1463225
8783c4128c37 brcmfmac: add subtype check for event handling in data path
cc240e057c1d brcmfmac: assure SSID length from firmware is limited
43caa29c99db bpf: add bpf_jit_limit knob to restrict unpriv allocations
cc1afc1050a9 NFSv4.1 fix incorrect return value in copy_file_range
e1eed6928b3e NFSv4.2 fix unnecessary retry in nfs4_copy_file_range
0bad28e92ced fbdev: fix divide error in fb_var_to_videomode
b8304d918c02 udlfb: fix some inconsistent NULL checking
94e1f96667b4 btrfs: sysfs: don't leak memory when failing add fsid
946ad2ecef61 btrfs: sysfs: Fix error path kobject memory leak
92f907d7d63b Btrfs: fix race between ranged fsync and writeback of adjacent ranges
4f9a774dda97 Btrfs: avoid fallback to transaction commit during fsync of files with holes
7ec747c811ab Btrfs: do not abort transaction at btrfs_update_root() after failure to COW path
ce21e6586eec btrfs: don't double unlock on error in btrfs_punch_hole
fdc78eedc54d gfs2: Fix sign extension bug in gfs2_update_stats
53cd8ae3eeb1 arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable
9c15fff28194 arm64/kernel: kaslr: reduce module randomization range to 2 GB
ee6d3eb31112 libnvdimm/pmem: Bypass CONFIG_HARDENED_USERCOPY overhead
709a93054118 kvm: svm/avic: fix off-by-one in checking host APIC ID
5b69ceee2196 mmc: sdhci-iproc: Set NO_HISPD bit to fix HS50 data hold time problem
227e01537baf mmc: sdhci-iproc: cygnus: Set NO_HISPD bit to fix HS50 data hold time problem
792d65fc49a7 crypto: vmx - CTR: always increment IV as quadword
136b8cef4e4f Revert "scsi: sd: Keep disk read-only when re-reading partition"
ac7480a5b504 sbitmap: fix improper use of smp_mb__before_atomic()
b78255d6cffb bio: fix improper use of smp_mb__before_atomic()
432ec4fa6cd2 KVM: x86: fix return value for reserved EFER
70d33cce97f0 f2fs: Fix use of number of devices
5220582c427b ext4: wait for outstanding dio during truncate in nojournal mode
71e430fd593b ext4: do not delete unlinked inode from orphan list on failed truncate
1d84eb87efce x86: Hide the int3_emulate_call/jmp functions from UML
8b2fc0058255 Linux 4.19.46
fcac71697a15 fbdev: sm712fb: fix memory frequency by avoiding a switch/case fallthrough
107e215c2962 bpf, lru: avoid messing with eviction heuristics upon syscall lookup
2bb3c5470aaf bpf: add map_lookup_elem_sys_only for lookups from syscall side
3ded3aaa4aa8 bpf: relax inode permission check for retrieving bpf program
c33563e9ec87 Revert "selftests/bpf: skip verifier tests for unsupported program types"
90110ffd86ae driver core: Postpone DMA tear-down until after devres release for probe failure
430908054540 md/raid: raid5 preserve the writeback action after the parity check
3d25b7f5c3be Revert "Don't jump to compute_result state from check_result state"
a0b1dde1e686 perf/x86/intel: Fix race in intel_pmu_disable_event()
7aea2f94cc64 perf bench numa: Add define for RUSAGE_THREAD if not present
a06fdd99a339 ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
f037116fe05b x86/mm/mem_encrypt: Disable all instrumentation for early SME setup
290da8e79c83 sched/cpufreq: Fix kobject memleak
2da19da7abb8 iwlwifi: mvm: check for length correctness in iwl_mvm_create_skb()
7341daa0548e qmi_wwan: new Wistron, ZTE and D-Link devices
c1528193f643 bpf: Fix preempt_enable_no_resched() abuse
aea54f613534 power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
a1251522a522 KVM: arm/arm64: Ensure vcpu target is unset on reset failure
36ae546a0046 net: ieee802154: fix missing checks for regmap_update_bits
9c045d8c9739 mac80211: Fix kernel panic due to use of txq after free
a0a49d8712de x86: kvm: hyper-v: deal with buggy TLB flush requests from WS2012
a469646862aa PCI: Fix issue with "pci=disable_acs_redir" parameter being ignored
b21ca2769b0f apparmorfs: fix use-after-free on symlink traversal
9a0467e1f671 securityfs: fix use-after-free on symlink traversal
900bf351dd84 power: supply: cpcap-battery: Fix division by zero
b7771cb0143b clk: sunxi-ng: nkmp: Avoid GENMASK(-1, 0)
a654a73de29f xfrm4: Fix uninitialized memory read in _decode_session4
6faa62060624 xfrm: Honor original L3 slave device in xfrmi policy lookup
3716c2625099 esp4: add length check for UDP encapsulation
d410ef75886a xfrm: clean up xfrm protocol checks
159269cc6456 vti4: ipip tunnel deregistration fixes.
64f214ce563f xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module
c9516503fe53 xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
fea685000caf fuse: Add FOPEN_STREAM to use stream_open()
f9eccf6ca1e0 dm mpath: always free attached_handler_name in parse_path()
9407680a7bb7 dm integrity: correctly calculate the size of metadata area
3b92ff729cb3 dm delay: fix a crash when invalid device is specified
90cc71127a3c dm zoned: Fix zone report handling
ff0699a5e5d0 dm cache metadata: Fix loading discard bitset
d5c352305d42 PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
b51a033317cd PCI: Factor out pcie_retrain_link() function
7bc992e215c8 PCI: rcar: Add the initialization of PCIe link in resume_noirq()
2e7574982502 PCI/AER: Change pci_aer_init() stub to return void
8c30e1499335 PCI: Init PCIe feature bits for managed host bridge alloc
29d031402718 PCI: Mark Atheros AR9462 to avoid bus reset
f4be6b7ee294 PCI: Mark AMD Stoney Radeon R7 GPU ATS as broken
2cf1dce1bfa5 fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
27968d821368 fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
f1c97f633375 fbdev: sm712fb: fix support for 1024x768-16 mode
b415308ae49a fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
02f89dd99c83 fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
7e1b9659a43a fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
b0f08070903d fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
d30768975973 fbdev: sm712fb: fix brightness control on reboot, don't set SR30
702156cd1a9a fbdev/efifb: Ignore framebuffer memmap entries that lack any memory types
e738fb38cf2e objtool: Allow AR to be overridden with HOSTAR
9ae0f86ceaa7 MIPS: perf: Fix build with CONFIG_CPU_BMIPS5000 enabled
05fab3457210 perf intel-pt: Fix sample timestamp wrt non-taken branches
ba86f8f84fd5 perf intel-pt: Fix improved sample timestamp
3ed850ab2a9c perf intel-pt: Fix instructions sampling rate
5e011f3319fe memory: tegra: Fix integer overflow on tick value calculation
fb8c9c900d4e tracing: Fix partial reading of trace event's id file
07b487eb5762 ftrace/x86_64: Emulate call function while updating in breakpoint handler
ba246f64b0a5 x86_64: Allow breakpoints to emulate call instructions
01b6fdcecd5a x86_64: Add gap to int3 to allow for call emulation
77ca91441696 ceph: flush dirty inodes before proceeding with remount
b18339bc1d05 iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
a9676c96e7e0 ovl: fix missing upper fs freeze protection on copy up for ioctl
979d2433b873 fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
a452f733f93e fuse: fix writepages on 32bit
42f59b83f0cf udlfb: introduce a rendering mutex
fb36a97654a7 udlfb: fix sleeping inside spinlock
1b8c955691d4 udlfb: delete the unused parameter for dlfb_handle_damage
3487804cf6dc clk: rockchip: fix wrong clock definitions for rk3328
fe082b99d57b clk: mediatek: Disable tuner_en before change PLL rate
5bfba9529cea clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
1a7adc2edb98 clk: hi3660: Mark clk_gate_ufs_subsys as critical
04f34b76368f PNFS fallback to MDS if no deviceid found
d3dd6057d2d6 NFS4: Fix v4.0 client state corruption when mount
5e7f9e905ff8 media: imx: Clear fwnode link struct for each endpoint iteration
ef12f5b54da4 media: imx: csi: Allow unknown nearest upstream entities
77e178708136 media: ov6650: Fix sensor possibly not detected on probe
86d67dbdf0a0 phy: ti-pipe3: fix missing bit-wise or operator when assigning val
939db6fdbea6 cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
a29b8829291e of: fix clang -Wunsequenced for be32_to_cpu()
a36430769ee5 p54: drop device reference count if fails to enable device
88cfd822f9d0 intel_th: msu: Fix single mode with IOMMU
c939121b5435 dcache: sort the freeing-without-RCU-delay mess for good.
10cb519c3e34 md: add mddev->pers to avoid potential NULL pointer dereference
3deaa1dc2f70 md: batch flush requests.
7f6b9285cada Revert "MD: fix lock contention for flush bios"
7928396df91e proc: prevent changes to overridden credentials
bbd559ad3ca7 brd: re-enable __GFP_HIGHMEM in brd_insert_page()
d9ec75d048d7 stm class: Fix channel bitmap on 32-bit systems
44bc4e8815a4 stm class: Fix channel free in stm output free path
85b94de88046 parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
e5621f7e13f6 parisc: Use PA_ASM_LEVEL in boot code
615260c947b4 parisc: Skip registering LED when running in QEMU
9aabffe8c2a6 parisc: Export running_on_qemu symbol for modules
b11efd3262ef net/mlx5e: Fix ethtool rxfh commands when CONFIG_MLX5_EN_RXNFC is disabled
79742133aff2 net/mlx5: Imply MLXFW in mlx5_core
9f12f4c922d4 vsock/virtio: Initialize core virtio vsock before registering the driver
4b900077784f tipc: fix modprobe tipc failed after switch order of device registration
4af8a327aeba vsock/virtio: free packets during the socket release
2f7025b0a3b3 tipc: switch order of device registration to fix a crash
2636da604e76 rtnetlink: always put IFLA_LINK for links with a link-netnsid
c73ed24c385a ppp: deflate: Fix possible crash in deflate_init
e4a6df16b441 nfp: flower: add rcu locks when accessing netdev for tunnels
948cd616504c net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions
3620e546b177 net: test nouarg before dereferencing zerocopy pointers
0495c8b03545 net/mlx4_core: Change the error print to info print
746f8cd570ba net: avoid weird emergency message
466cadba6013 net: Always descend into dsa/
6bc3240adde5 ipv6: prevent possible fib6 leaks
81a61a95812e ipv6: fix src addr routing with the exception table
c3a072597748 Linux 4.19.45
e8816d3bc595 ext4: don't update s_rev_level if not required
6172ae55a187 ext4: fix compile error when using BUFFER_TRACE
953e826e8d0f pstore: Refactor compression initialization
fea8b84765a1 pstore: Allocate compression during late_initcall()
f4bf101be366 pstore: Centralize init/exit routines
627bb2d93b4d iov_iter: optimize page_copy_sane()
866f011181ff libnvdimm/namespace: Fix label tracking error
756eda9bc8b7 xen/pvh: set xen_domain_type to HVM in xen_pvh_init
98bdd33883db kbuild: turn auto.conf.cmd into a mandatory include file
38f114887ca4 KVM: lapic: Busy wait for timer to expire when using hv_timer
3b5ea2df6cf6 KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes
5b8567682489 jbd2: fix potential double free
95482af27161 ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
e0e1dc65bb13 ALSA: hda/realtek - Fixup headphone noise via runtime suspend
ae3155123704 ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)
316063bf7d11 ext4: avoid panic during forced reboot due to aborted journal
c19db366c0a8 ext4: fix use-after-free in dx_release()
0db24122bd7f ext4: fix data corruption caused by overlapping unaligned and aligned IO
25d010f4e0ec ext4: zero out the unused memory region in the extent tree block
c907ce3fd552 tty: Don't force RISCV SBI console as preferred console
986d3453bee4 fs/writeback.c: use rcu_barrier() to wait for inflight wb switches going into workqueue when umount
a80da82d0840 crypto: ccm - fix incompatibility between "ccm" and "ccm_base"
f6de0a3b1e66 ipmi:ssif: compare block number correctly for multi-part return messages
88681649ed8c bcache: never set KEY_PTRS of journal key to 0 in journal_reclaim()
ecfc882f6441 bcache: fix a race between cache register and cacheset unregister
8a8f671b3dad Btrfs: do not start a transaction at iterate_extent_inodes()
0388d45afc50 Btrfs: do not start a transaction during fiemap
74ca0a7671cc Btrfs: send, flush dellaloc in order to avoid data loss
8b13bb911f0c btrfs: Honour FITRIM range constraints during free space trim
87dcf0c61985 btrfs: Correctly free extent buffer in case btree_read_extent_buffer_pages fails
d8925a1fee71 btrfs: Check the first key and level for cached extent buffer
45123ae534e0 ext4: fix ext4_show_options for file systems w/o journal
f795247578aa ext4: actually request zeroing of inode table after grow
2a18c9c76718 ext4: fix use-after-free race with debug_want_extra_isize
b12a8d80a46e ext4: avoid drop reference to iloc.bh twice
f0f805f8b9e7 ext4: ignore e_value_offs for xattrs with value-in-ea-inode
71478ef67d7c ext4: make sanity check in mballoc more strict
001fe0dab4ea jbd2: check superblock mapped prior to committing
0fd2df64f142 tty/vt: fix write/write race in ioctl(KDSKBSENT) handler
d90824ecb887 tty: vt.c: Fix TIOCL_BLANKSCREEN console blanking if blankinterval == 0
6a01793e0763 mtd: spi-nor: intel-spi: Avoid crossing 4K address boundary on read/write
dc6d69bde829 mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
5185672f2acf mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
770e46b38ebe ACPI: PM: Set enable_for_wake for wakeup GPEs during suspend-to-idle
8bae43985571 userfaultfd: use RCU to free the task struct when fork fails
3574bc98e2fe ocfs2: fix ocfs2 read inode data panic in ocfs2_iget
a3ccc156f365 hugetlb: use same fault hash key for shared and private mappings
0b16b09a723e mm/hugetlb.c: don't put_page in lock of hugetlb_lock
58db3813680e mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addresses
f580a54bbd52 mm/mincore.c: make mincore() more conservative
681f3695d514 crypto: ccree - handle tee fips error during power management resume
4fb3d87ee7b7 crypto: ccree - add function to handle cryptocell tee fips error
65f5c14a6011 crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend
1a4fc3d29632 crypto: ccree - pm resume first enable the source clk
120ab825c6fd crypto: ccree - don't map AEAD key and IV on stack
ca687cdb6159 crypto: ccree - use correct internal state sizes for export
766121a0a798 crypto: ccree - don't map MAC key on stack
7560c0adad34 crypto: ccree - fix mem leak on error path
642de1c00a14 crypto: ccree - remove special handling of chained sg
1bfceb375034 bpf, arm64: remove prefetch insn in xadd mapping
f3714257c422 ASoC: codec: hdac_hdmi add device_link to card device
975ef5c2f6ca ASoC: fsl_esai: Fix missing break in switch statement
df9f111db871 ASoC: RT5677-SPI: Disable 16Bit SPI Transfers
7295359bd6ac ASoC: max98090: Fix restore of DAPM Muxes
e13bac4031eb ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)
d33f6063b7c3 ALSA: hda/realtek - EAPD turn on later
4ac6316a7c0f ALSA: hda/hdmi - Consider eld_valid when reporting jack event
8c827cda2864 ALSA: hda/hdmi - Read the pin sense from register when repolling
30dda277333e ALSA: usb-audio: Fix a memory leak bug
741e3efd8174 ALSA: line6: toneport: Fix broken usage of timer for delayed execution
003cf675eb07 mmc: core: Fix tag set memory leak
d42d342022b1 crypto: arm64/aes-neonbs - don't access already-freed walk.iv
69b9d32d5139 crypto: arm/aes-neonbs - don't access already-freed walk.iv
b7d2adfd0512 crypto: rockchip - update IV buffer to contain the next IV
9a61ab689867 crypto: gcm - fix incompatibility between "gcm" and "gcm_base"
63efe31cf544 crypto: arm64/gcm-aes-ce - fix no-NEON fallback code
e7fd8a2862e0 crypto: x86/crct10dif-pcl - fix use via crypto_shash_digest()
7a19a4bef218 crypto: crct10dif-generic - fix use via crypto_shash_digest()
aabf86f24d9f crypto: skcipher - don't WARN on unprocessed data after slow walk step
66f5de68cb61 crypto: vmx - fix copy-paste error in CTR mode
07d677ae4db4 crypto: ccp - Do not free psp_master when PLATFORM_INIT fails
fe632ee5ade8 crypto: chacha20poly1305 - set cra_name correctly
3b5ddd5ea016 crypto: salsa20 - don't access already-freed walk.iv
7a32ad34b889 crypto: crypto4xx - fix cfb and ofb "overran dst buffer" issues
c1ec6beac625 crypto: crypto4xx - fix ctr-aes missing output IV
2ea1a37d0138 sched/x86: Save [ER]FLAGS on context switch
d8d751efec28 arm64: Save and restore OSDLR_EL1 across suspend/resume
f273cd16554a arm64: Clear OSDLR_EL1 on CPU boot
26e7d2ad97b9 arm64: compat: Reduce address limit
6d696ceb15a3 arm64: arch_timer: Ensure counter register reads occur with seqlock held
222abad906ba arm64: mmap: Ensure file offset is treated as unsigned
592127e9c1bb power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist
26eb5e7fa08d power: supply: axp288_charger: Fix unchecked return value
921bc15462e2 ARM: exynos: Fix a leaked reference by adding missing of_node_put
6eaeee1e7845 mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.
e2c436d9268f ARM: dts: exynos: Fix audio (microphone) routing on Odroid XU3
abea1fb53266 ARM: dts: exynos: Fix interrupt for shared EINTs on Exynos5260
8cf1bbca4467 arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
7b72ca6312ab objtool: Fix function fallthrough detection
b185029f5c41 x86/speculation/mds: Improve CPU buffer clear documentation
393ca9ea37fb x86/speculation/mds: Revert CPU buffer clear on double fault exit
7761dbf58d22 locking/rwsem: Prevent decrement of reader count before increment
dafc674bbcb1 Linux 4.19.44
9fa23ea14e8f PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
76888d135c4e PCI: hv: Add hv_pci_remove_slots() when we unload the driver
a47e0054253f PCI: hv: Fix a memory leak in hv_eject_device_work()
4179b8580219 powerpc/booke64: set RI in default MSR
71b20cdb4353 powerpc/powernv/idle: Restore IAMR after idle
69c2b71cb0c1 powerpc/book3s/64: check for NULL pointer in pgd_alloc()
e9ec5073c90d drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
ee3b53d89967 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
afa485dc6f17 tipc: fix hanging clients using poll with EPOLLOUT flag
98652e0b0a1b isdn: bas_gigaset: use usb_fill_int_urb() properly
17d8a9ebaa99 tuntap: synchronize through tfiles array instead of tun->numqueues
9c79732f98a8 tuntap: fix dividing by zero in ebpf queue selection
737713e6d835 vrf: sit mtu should not be updated when vrf netdev is the link
e38406070729 vlan: disable SIOCSHWTSTAMP in container
dfdfad3d188f selinux: do not report error on connect(AF_UNSPEC)
9f51d6f72063 packet: Fix error path in packet_init
2e95eb9c92f7 net: ucc_geth - fix Oops when changing number of buffers in the ring
210057b79e71 net: seeq: fix crash caused by not set dev.parent
dfd919285f27 net: macb: Change interrupt and napi enable order in open
68df8383f3ca net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
9284895b7ee6 net: dsa: Fix error cleanup path in dsa_init_module
da2e770f0c4a ipv4: Fix raw socket lookup for local traffic
947fec630c41 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
c7b5e55be825 dpaa_eth: fix SG frame cleanup
a79feef32392 bridge: Fix error path for kobject_init_and_add()
9c2cda31196a bonding: fix arp_validate toggling in active-backup mode
0dc9ad4e904d powerpc/64s: Include cpu header
db1b4aa651df um: Don't hardcode path as it is architecture dependent
85f347944a6b Don't jump to compute_result state from check_result state
ace28a8efdd4 rtlwifi: rtl8723ae: Fix missing break in switch statement
d756d1dea670 mwl8k: Fix rate_idx underflow
c300c98a94b4 cw1200: fix missing unlock on error in cw1200_hw_scan()
575260507647 x86/kprobes: Avoid kretprobe recursion bug
322a57551d06 nfc: nci: Potential off by one in ->pipes[] array
f5e60565e6bd NFC: nci: Add some bounds checking in nci_hci_cmd_received()
21e9515b7d16 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
85b9e8694f9c net/tls: fix the IV leaks
e38c6748d1cc mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
835ae6cc28d9 mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
880a328e197b mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
a80f62f781c2 mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
fb7c783b3139 net: fec: manage ahb clock in runtime pm
c18731c2786c netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
5014aa937422 netfilter: nf_tables: use-after-free in dynamic operations
9965da064e9a usb: typec: Fix unchecked return value
68321994225d mm/memory.c: fix modifying of page protection by insert_pfn()
bc3361461fcb net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
19f4f94fdb2a powerpc/smp: Fix NMI IPI xmon timeout
f8bd34d1d399 powerpc/smp: Fix NMI IPI timeout
6a60fb62c82a mm/memory_hotplug.c: drop memory device reference after find_memory_block()
fb67c97c4e2f RDMA/hns: Bugfix for mapping user db
afc7cebbbb5e Input: synaptics-rmi4 - fix possible double free
f621bc1bd7f4 drm/sun4i: Unbind components before releasing DRM and memory
21b71e191bd8 spi: ST ST95HF NFC: declare missing of table
09185e359827 spi: Micrel eth switch: declare missing of table
3835cb5a911f ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
521ae4da71cc drm/imx: don't skip DP channel disable for background plane
df3a97d197a3 gpu: ipu-v3: dp: fix CSC handling
3a53fa469d60 netfilter: fix nf_l4proto_log_invalid to log invalid packets
5bc3d4491821 selftests/net: correct the return value for run_netsocktests
24b1c849ce9d drm/sun4i: Fix component unbinding and component master deletion
1973df1ec5bc drm/sun4i: Set device driver data at bind time for use in unbind
005325b7f026 s390: ctcm: fix ctcm_new_device error return code
ca8648816e3d MIPS: perf: ath79: Fix perfcount IRQ assignment
743a5a951d4d netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
7b115755fb9d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
4e1994ef6365 ipvs: do not schedule icmp errors from tunnels
cb9a11d017c6 selftests: netfilter: check icmp pkttoobig errors are set as related
74e9b761fba0 init: initialize jump labels before command line option parsing
6536de8232c8 mm: fix inactive list balancing between NUMA nodes and cgroups
1134736869ef scsi: aic7xxx: fix EISA support
ba87f547b0f7 ocelot: Don't sleep in atomic context (irqs_disabled())
9e4fd5e0b81a ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
7d4d8683e925 tools lib traceevent: Fix missing equality check for strcmp
0c8afd514df0 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
d39f3cc71382 KVM: fix spectrev1 gadgets
4074bc379b1f x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
3b51d71365e0 x86/build/lto: Fix truncated .bss with -fdata-sections
8eb64692d6e2 s390/pkey: add one more argument space for debug feature entry
e360515f41fc drm/amd/display: If one stream full updates, full update all planes
58be7c109cea afs: Unlock pages for __pagevec_release()
08f2c299b38c qede: fix write to free'd pointer error and double free of ptp
090b74020014 vxge: fix return of a free'd memblock on a failed dma mapping
f83beff28048 mISDN: Check address length before reading address family
e4525c9d9ada selftests: fib_tests: Fix 'Command line is not complete' errors
7828986b84ba clocksource/drivers/oxnas: Fix OX820 compatible
6a414ef36840 clocksource/drivers/npcm: select TIMER_OF
068d1cce7801 drm/amd/display: extending AUX SW Timeout
2773e7454f4f s390/3270: fix lockdep false positive on view->lock
4c8c9d514917 libnvdimm/pmem: fix a possible OOB access when read and write pmem
f2565d0e5277 nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
1d918120e37d mac80211: fix memory accounting with A-MSDU aggregation
9d4da01f7d66 cfg80211: Handle WMM rules in regulatory domain intersection
35e2abbaffa2 mac80211: Increase MAX_MSG_LEN
bbe1ab38e1a2 mac80211: fix unaligned access in mesh table hash function
e28e5055eacd s390/dasd: Fix capacity calculation for large volumes
af5b7a150ef8 libnvdimm/btt: Fix a kmemdup failure check
f7ab4818f74e HID: input: add mapping for "Toggle Display" key
bbdccc170adf HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
dc30867da997 HID: input: add mapping for Expose/Overview key
e94f852e2034 libnvdimm/namespace: Fix a potential NULL pointer dereference
5f72e3a021a6 acpi/nfit: Always dump _DSM output payload
f07db1f1f54c iio: adc: xilinx: prevent touching unclocked h/w on remove
6400212ae3b6 iio: adc: xilinx: fix potential use-after-free on probe
06d5ea398e55 iio: adc: xilinx: fix potential use-after-free on remove
5640d0781267 USB: serial: fix unthrottle races
4c416eef65a7 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
e361ccccdd51 kernfs: fix barrier usage in __kernfs_new_node()
f1917f21c8f6 hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
87cc345aefc9 platform/x86: dell-laptop: fix rfkill functionality
381eaca5017f platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
efe6802e812b platform/x86: sony-laptop: Fix unintentional fall-through
824c212908b6 bfq: update internal depth state when queue depth changes
3351e9d39947 Linux 4.19.43
b21bde49d386 x86/speculation/mds: Fix documentation typo
8e65568e9d23 Documentation: Correct the possible MDS sysfs values
2e4c54890226 x86/mds: Add MDSUM variant to the MDS documentation
12a0dad799fb x86/speculation/mds: Add 'mitigations=' support for MDS
59a14fb5832c s390/speculation: Support 'mitigations=' cmdline option
74857f69fec5 powerpc/speculation: Support 'mitigations=' cmdline option
af5332dd991e x86/speculation: Support 'mitigations=' cmdline option
8cb932aca5d6 cpu/speculation: Add 'mitigations=' cmdline option
7ba793ae7b9f x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
e9ae32266605 x86/speculation/mds: Fix comment
b9faa4652867 x86/speculation/mds: Add SMT warning message
b3a63d9c7453 x86/speculation: Move arch_smt_update() call to after mitigation decisions
f7a119a762ef x86/speculation/mds: Add mds=full,nosmt cmdline option
cfaa3d76301e Documentation: Add MDS vulnerability documentation
e3803099d2f4 Documentation: Move L1TF to separate directory
c50e81fe8a13 x86/speculation/mds: Add mitigation mode VMWERV
8230c2028dce x86/speculation/mds: Add sysfs reporting for MDS
2951067089a3 x86/speculation/mds: Add mitigation control for MDS
4df98b3f3161 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
b39dc9a8cced x86/kvm/vmx: Add MDS protection when L1D Flush is not active
e4fa775b5606 x86/speculation/mds: Clear CPU buffers on exit to user
1f7c31be1e04 x86/speculation/mds: Add mds_clear_cpu_buffers()
de89ff6f1674 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
aca9e8d8e2ce x86/speculation/mds: Add BUG_MSBDS_ONLY
2e9104aa2633 x86/speculation/mds: Add basic bug infrastructure for MDS
00b76324bd35 x86/speculation: Consolidate CPU whitelists
e09450ffa980 x86/msr-index: Cleanup bit defines
ca0056d97840 kvm: x86: Report STIBP on GET_SUPPORTED_CPUID
1f1bc8222ce7 x86/cpu: Sanitize FAM6_ATOM naming
34aae15cb179 Documentation/l1tf: Fix small spelling typo
(From OE-Core rev: cd6de424a1f5ca62d87a0d3c8f8547fc087e8276)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build fails on qemu-native if we're using kernels after commit
0768e17073dc527ccd18ed5f96ce85f9985e9115. This adds an upstream
patch that fixes the issue.
(From OE-Core rev: a898245271e8d5c5a5b11041fc0442ac60931ee9)
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.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>
populate_packages relies on ``mkdir`` to both create a directory and set
its permissions. However, ``mkdir`` honors the ``umask`` value.
Therefore, some bits may be lost in the operation. In our case, the
setgid bit on the directories were lost.
This commit fixes this by having a distinct call to create the directory
and to set the permissions.
(From OE-Core rev: fe6546aab208e5fa2e238aa266db0ea66ad520a1)
Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@easymile.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using USE_NLS="no" in the local.conf psmisc will fail to
compile as follows:
| autoreconf: Entering directory `.'
| autoreconf: running: autopoint --force
| autoreconf: failed to run autopoint: No such file or directory
| autoreconf: autopoint is needed because this package uses Gettext
| ERROR: autoreconf execution failed.
This is because the gettext.bbclass returns gettext-minimal-native for
the host dependency which does not include autopoint. The autopoint
utility is required to build psmisc, so it needs to list
gettext-native as a dependency.
(From OE-Core rev: 423115b70a4a2cdef4b3882ad4491446b84a1f1e)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The systemd service file has DefaultDependencies=no but is not
properly configured to also stop the unit. Because of this the unit
keep running after shutdown but systemd still waits for it to finish to
then later resort to a hard kill. All this take 1m30s with the default
configuration.
To fix this problem add the missing Before=shutdown.target and
Conflicts=shutdown.target to have systemd stop the unit on shutdown.
(From OE-Core rev: b6daf8a5755842c0e38b1a88687a18432138a45a)
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible in cases with multiple shlib providers we were not being
deterministic. Add in a couple of sorted() calls to fix the shlibs and
pkgconfig cases with this potential issue.
(From OE-Core rev: bbbd16f96f4db392e0bd38da4c2ef8fbb4883938)
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>
FAIL: test_wget_latest_versionstring (bb.tests.fetch.FetchLatestVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/tests/fetch.py", line 1229, in test_wget_latest_versionstring
self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
AssertionError: '' is not true : Could not find upstream version for db
[YOCTO #13496]
The Oracle UPSTREAM_CHECK_URI used changed and does not work with logic in wget.
Update UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to match the ones used in the
recipe. Also change the version being checked.
(Bitbake rev: 164c0df429fc9be771c54c241b17d7afb8849afc)
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>
* noticed on read-only sshfs premirror
* it was showing the warning about renaming the file:
WARNING: laser-geometry-1.6.4-r0 do_fetch: Renaming /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz to /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz_bad-checksum_1ee7479b8c5914b4ffae996945121441
and then failed because of movefile() issue with python3 (fixed in previous commit):
ERROR: laser-geometry-1.6.4-r0 do_fetch: Error executing a python function in exec_python_func() autogenerated:
with movefile() fixed, it let do_fetch continue and re-fetch locally with the right
checksum, but still the renamed file didn't exist, because of movefile failure - add
another warning when the movefile fails - for whatever reason - unfortunately movefile
prints error messages with just print() so the real error is hidden only in log.do_fetch
in this case:
movefile: Failed to move /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz to /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz_bad-checksum_1ee7479b8c5914b4ffae996945121441 [Errno 30] Read-only file system: '/jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz' -> '/jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz_bad-checksum_1ee7479b8c5914b4ffae996945121441'
(Bitbake rev: 24e44c412ac36987c1f65ced50030064ec58100d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This propogates throughout the manual set's.
"Current" is now 2.7.1.
(From yocto-docs rev: 25fc59f280c6140e44e3f94b666b41b451be57d3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a typo in the BBMULTICONFIG variable description.
It appeared as "BBMULTIFONFIG". I fixed it.
(From yocto-docs rev: 3e00ab7a7b16f3aba5bf78e015b9073d2a79698a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Updated all variables in poky.ent
* Updated all *.xml files for manual history
* Updated the mega-manual.sed file for 2.7.1
(From yocto-docs rev: 7e20c42cbcdab63e02eab4ad316385d18b7beb68)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2.7 release was inadvertantly left out and the date for the
2.6 release was what should have been for the 2.7 release.
(From yocto-docs rev: 67c5c84df5c61c2fa7919b1825e4720f0b0565a6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We keep seeing "cannot allocate memory" errors from rpm when signing packages
on the autobuilder. The following were tried:
* checking locked memory use (isn't hitting limits)
* Restricting RPM_GPG_SIGN_CHUNK to 1
* Limiting to 10 parallel do_package_write_rpm tasks
* Allowing unlimied memory overcommit
* Disabling rpm parallel compression
and the test still failed. Further invetigation showed that the --auto-expand-secmem
wasn't being passed to gpg-agent which meant the secmem couldn't be expanded hence the
errors when there was pressure on the agent.
The reason this happens is that some of the early gpg commands can start the agent
without the option and it sticks around in memory so a version with the correct
option may or may not get started.
We therefore add the option to all the key gpg calls.
(From OE-Core rev: 028475f5b6ae9c9b181812c0c8a6aa382640f4bf)
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 original version of template.py parses the arguments manually. This
fails when looking for the -E option if, e.g., an -I option is specified
without any space before its argument, and that argument contains the
letter 'E'.
A minor difference to the original version is that it parsed the
arguments in the order they were specified on the command line whereas
this version will always handle -E before -o.
(From OE-Core rev: c4949e0109cc823101f56fc192474d3ceaa7d916)
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>
The 2.6 release contains both libcrypt.so.1 and libcrypt.so.2 which fixes
compatibility with recent fedora/suse releases.
The difference is one is built with obsolete APIs enabled and one disabled.
We now ship both in uninative for compatibility regardless of which distro
a binary is built on.
(From OE-Core rev: 683020a6292b4a7fe1bdda16e681fb5074eea2b2)
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 output format for Python and GLib both can be of this form:
FAIL: foobar (Segmentation fault)
In this case the test is called foobar not foobar_segmentation_fault.
(From OE-Core rev: 95031da4f08295ad81efac1c082c48dd5c330fb0)
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 running the run-execscript bash ptest as a user rather than root, a warning:
bash: cannot set terminal process group (16036): Inappropriate ioctl for device
bash: no job control in this shell
contaminates the bash log files causing the test to fail. This happens only
when run under ptest-runner and not when interactively testing!
The changes made to fix this include:
1. Get the process group id (pgid) before forking,
2. Set the pgid in both the parent and child to avoid a race,
3. Find, open and set permission on the child tty, and
4. Allow the child to attach to controlling tty.
(From OE-Core rev: 25121d92f1a4cd70223038e09a719fec94355ee6)
Signed-off-by: Randy MacLeod <Randy.MacLeod@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 current codes to skip test cases are logically correct, but they
do not work correctly in reality. It does skip the tests as the command
line argument specifies, but the related information is wrong.
e.g.
$ oe-selftest -R archiver bblayers runtime_test
2019-06-17 09:24:53,764 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it
2019-06-17 09:25:06,309 - oe-selftest - INFO - Adding layer libraries:
2019-06-17 09:25:06,310 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta/lib
2019-06-17 09:25:06,310 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-yocto-bsp/lib
2019-06-17 09:25:06,310 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-selftest/lib
2019-06-17 09:25:06,312 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2019-06-17 09:25:10,521 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/chenqi/SWAT/poky/build-selftest/conf/local.conf
2019-06-17 09:25:10,521 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-06-17 09:25:10,522 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2019-06-17 09:25:10,522 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "runtime_test"'
2019-06-17 09:25:10,522 - oe-selftest - INFO - Skip by the command line argument "runtime_test"
2019-06-17 09:25:10,523 - oe-selftest - INFO - test_archiver_filters_by_type (archiver.Archiver)
2019-06-17 09:25:10,523 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "runtime_test"'
2019-06-17 09:25:10,523 - oe-selftest - INFO - Skip by the command line argument "runtime_test"
The archiver.Archiver.xxx tests should be skipped by 'archiver' command line
argument, not 'runtime_test'.
Change to use a function generator to achieve the desired effect. After the change,
the effect is as follows.
$ oe-selftest -R archiver bblayers runtime_test
2019-06-17 09:19:06,223 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it
2019-06-17 09:19:19,598 - oe-selftest - INFO - Adding layer libraries:
2019-06-17 09:19:19,599 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta/lib
2019-06-17 09:19:19,599 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-yocto-bsp/lib
2019-06-17 09:19:19,599 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-selftest/lib
2019-06-17 09:19:19,602 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2019-06-17 09:19:24,368 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/chenqi/SWAT/poky/build-selftest/conf/local.conf
2019-06-17 09:19:24,368 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-06-17 09:19:24,369 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2019-06-17 09:19:24,369 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,369 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,369 - oe-selftest - INFO - test_archiver_filters_by_type (archiver.Archiver)
2019-06-17 09:19:24,370 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,370 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,370 - oe-selftest - INFO - test_archiver_filters_by_type_and_name (archiver.Archiver)
2019-06-17 09:19:24,370 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,371 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,371 - oe-selftest - INFO - test_archiver_srpm_mode (archiver.Archiver)
2019-06-17 09:19:24,371 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,372 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,372 - oe-selftest - INFO - test_bitbakelayers_add_remove (bblayers.BitbakeLayers)
2019-06-17 09:19:24,373 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "bblayers"'
2019-06-17 09:19:24,373 - oe-selftest - INFO - Skip by the command line argument "bblayers"
2019-06-17 09:19:24,373 - oe-selftest - INFO - test_bitbakelayers_createlayer (bblayers.BitbakeLayers)
2019-06-17 09:19:24,373 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "bblayers"'
2019-06-17 09:19:24,374 - oe-selftest - INFO - Skip by the command line argument "bblayers"
[snip]
(From OE-Core rev: efdde9ee80f17a302e2b435b6a1103b001c612dc)
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>
Previously the subprocess command to run dtc was not properly displaying
the error on console. Combining stderr into stdout for the dtc subprocess
so the actual error can be seen on console without having to open the
do_compile log.
For example, previously on a dtc error, just the following stack trace
and dtc command was being shown on console:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:devicetree_do_compile(d)
0003:
File:
function: devicetree_do_compile
0127: if not(os.path.isfile(dtspath)) or
not(dts.endswith(".dts") or devicetree_source_is_overlay(dtspath)):
0128: continue # skip non-.dts files and non-overlay
files
0129: except:
0130: continue # skip if can't determine if overlay
*** 0131: devicetree_compile(dtspath, includes, d)
...
Exception: subprocess.CalledProcessError: Command '['dtc', '-R', '8',
'-b', '0', '-p', '0x1000', '-i', '${INCLUDES}, '-o', 'system-top.dtb',
'-I', 'dts', '-O', 'dtb', 'system-top.dts.pp']' returned non-zero exit
status 1
with this patch, the actual error from the dtc command will be appended
like the following:
Subprocess output:
Error: Label or path not found
FATAL ERROR: Syntax error parsing input tree
(From OE-Core rev: a0b7fe6a79932a27d1b6ef4b9122609b9c266676)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.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>
1. Run run-ptest at arbitrary path
2. Fix large-subopt.in1 not found
...
|diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in1:
No such file or directory
|diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in2:
No such file or directory
...
(From OE-Core rev: ba4e54609e80abe12939bc01871d78d1914fdbaf)
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>
The util-linux's ptest uses the SCSI_DEBUG kernel module to create
virtual SCSI disks. The automount feature of udevd will try to mount
these disks by default. Because udevd controls the mount of the disks,
the eject/mount tests will fail or be skipped. This change will stop
udevd before executing the util-linux's ptest and start the daemon
again after all the tests.
This is for eudevd only, systemd-udevd doesn't present this problem
because there are no automount rules.
[YOCTO #13301]
(From OE-Core rev: 3d62aaa8d06387053f98e4156dc8920e2e97feea)
Signed-off-by: Mariano López <just.another.mariano@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>
With the introduction of SPDX-License-Identifier headers, we don't need a ton
of header boilerplate in every file. Simplify the files and rely on the top
level for the full licence text.
(Bitbake rev: 34ed28a412af642a993642c14bd8b95d5ef22cd8)
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 adds the SPDX-License-Identifier license headers to the majority of
our source files to make it clearer exactly which license files are under.
The bulk of the files are under GPL v2.0 with one found to be under V2.0
or later, some under MIT and some have dual license. There are some files
which are potentially harder to classify where we've imported upstream code
and those can be handled specifically in later commits.
The COPYING file is replaced with LICENSE.X files which contain the full
license texts.
(Bitbake rev: ac556588fac55e91b7ce4839a975eb9ebb5aa192)
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 warrior, python3native.bbclass sets _PYTHON_SYSCONFIGDATA_NAME;
unfortunately, this also affects Python scripts run as fetch commands like
git-make-shallow, breaking it with a message like
Failed to import the site module
Traceback (most recent call last):
File "/usr/lib/python3.6/site.py", line 570, in <module>
main()
File "/usr/lib/python3.6/site.py", line 556, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib/python3.6/site.py", line 288, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib/python3.6/site.py", line 264, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/python3.6/site.py", line 254, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/lib/python3.6/sysconfig.py", line 607, in get_config_var
return get_config_vars().get(name)
File "/usr/lib/python3.6/sysconfig.py", line 550, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/usr/lib/python3.6/sysconfig.py", line 421, in _init_posix
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named '_sysconfigdata'
on an Ubuntu 18.04 system (and likely others) when building with
BB_GIT_SHALLOW and BB_GENERATE_SHALLOW_TARBALLS.
Unset _PYTHON_SYSCONFIGDATA_NAME in runfetchcmd() to work around this.
(Bitbake rev: 6783104f18a8a14ddd88932720cd80dffeada63d)
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because we are trying to avoid network activity and use our own fetcher,
the system emulates the behavior of 'git submodule init'.
git submodule init uses the .gitmodules file, where typically the module
name and path are the same. However, in this case the module name and
path (in the tree) were different. i.e.:
[submodule "edgelet/hsm-sys/azure-iot-hsm-c/deps/azure-c-shared-utility"]
path = edgelet/hsm-sys/azure-iot-hsm-c/deps/c-shared
url = https://github.com/Azure/azure-c-shared-utility.git
Previously the code assumed the 'path' was both the checkout location
under .git/modules, as well as the path to extract the components. This
proved to be incorrect as the .git/modules path needs to match the submodule
'name'. This causes the components that were fetched to be initialized in
the wrong location, which later caused the 'git submodule update' process to
skip not properly initialized modules.
A test case was added for this specific case to ensure a regression does
not appear in the future.
(Bitbake rev: 2a823584a5dbc2427060352f3b4798dbb2640cfd)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed in "Selecting an Initialization Manager" section.
Extraneous word needed removed.
(From yocto-docs rev: eb49c13a50fe9ee3554819fb3e65367c450c3814)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
I updated the "Source Control Managers (Optional)" section
to reference the "Fetchers" section in the BB manuual.
(From yocto-docs rev: 3bc281e4092207dc5b757b9da50f7d80cb2f4c6a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I provided a general link to the wiki on npm software.
Also, updated the section to point to the new section on how to
create NPM packages, which is in the dev-manual.
(From yocto-docs rev: 23d1cef7323b1b7ada7a7c8378a42db18b82626e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added the "Creating node package manager (NPM) packages
section link to the list. Also, made some edits to make
the capitalization consistent in the list items.
(From yocto-docs rev: ff2f9c5d5ed680e61b6db1c977b3a70e0d048f0b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newly created section on how to create NPM packages
required a figure. I added the figure to both the dev-manual
and mega-manual tarballs creation areas.
(From yocto-docs rev: 8180e6b1e94431efc9e439386ab227328f7cea21)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
This is a new section in the development tasks manual that describes
how to create Node Package Manager (NPM) packages. I put the
section in the "Working with Packages" section.
(From yocto-docs rev: 18082c8e3d0a7550fd6f0f059bb466bcb26cfba9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I left out the word "not" in a key sentence in the new
"Checking on the Upgrade Status of a Recipe" section.
Little words can make big differences.
(From yocto-docs rev: 2f3995a07eba7e3e3b66aa60bfffcdf9c50077b8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated the section to include more detail on what the user
sees in the returned table.
(From yocto-docs rev: 34b801d6fa61290be51e589c4cc759b59620edf1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I show the "devtool check-upgrade-status" command as part of
the "do_checkpkg" task section. I added a cross-reference
link to the "Checking on the Upgrade Status of a Recipe"
section in the ref-manual.
(From yocto-docs rev: d1bc8b9c3bb6d40fb8401e93b46088e965e2d956)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section "Upgrading Recipes" covers several ways of
upgrading a recipe. I added some stuff in the introductory
area that mentions the fact a user might want to check
the upgrade status of a recipe first.
(From yocto-docs rev: 6747335d429b58251642c6b82d7725b0fe3e686e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a new section showcasing the "devtool check-upgrade-status"
command.
Also, added a note in the "Upgrading a Recipe" section" to tell
the reader they might want to check on a recipe's upgrade
status before upgrading a recipe.
(From yocto-docs rev: ca091498a274b9a7a44b0d6d5ee826c1d2bd6a3c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifically missing was the "devtool check-upgrade-status"
command.
(From yocto-docs rev: 1b6e87598e246806af7908e7d2e17ad579868aa9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class was removed for 2.7 and I took the reference section
out of the class area.
(From yocto-docs rev: b2afcc27571e36c9646755013e2e1e4be56b7268)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The migration section noted this class as becoming obsolete.
I removed it from the class reference section.
(From yocto-docs rev: 2f1040b1e079eb9f661cc643326bd03514747e07)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ousted these since it was noted in the migration section that
the class had been removed. Modified all references to the
removed class as needed.
(From yocto-docs rev: ab63a38340fbbcffb8e02b0cb925c637615f884c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I removed the incorrect "meta-intel" layer for the example
and replaced it with the better "meta-openembedded" layer.
Reported by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 7a819f3d49be651e345661a12b7d97dc25439851)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I left only the single mention of "container layers" and changed
the example from "meta-intel" to OpenEmbedded's meta-openembedded
layer.
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: b12c3937bf729e77e3c54401725807fba5340a73)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was accidently at "22" for the Warrior release. It needed
to be "21".
(From yocto-docs rev: 528d177fc990c216a17e3bcd5267f89320bf095e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I put a new introductory paragraph in the "Viewing Variables"
section that alludes to why you might want to see variables.
Also, I linked to the section "Modifying Variable Values" in
the BB manual.
(From yocto-docs rev: 6e18524ba62d2ff1231184467b0dd24dab33cfe6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the "yocto-2.6.2" tag to the example output since that
will be part of the overal list when 2.7 releases.
(From yocto-docs rev: 4863284811ad459cb0193528d5686a1ec008bb3e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One Neon appendix completely removed. One other chapter
removed that held the latest version of Eclipse use
removed. A figure was also removed.
(From yocto-docs rev: 03524fc363f9232a2ed45d10688ddeb0439b0917)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One figure was removed and files modified.
(From yocto-docs rev: f5d7024c3c38bc7737894a5ad4b750d4d633f173)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I also fixed all linking as needed.
(From yocto-docs rev: f987bc2846a2356a58934164652bb1dc59623b3b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I also fixed all linking as needed.
(From yocto-docs rev: c8d10a924a3a4ae76e8fc26ebcba52ea04f2f267)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two chapters formerly in the sdk-manual were included when
the mega-manual makes. These chapters are no longer
needed.
(From yocto-docs rev: a4e76a30baba5ab1d8f9783bb2a329d136600126)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The index-downloads.png file changes due to "eclipse" no
longer being there. Both the overview-manual and the
mega-manual figures folders hold this figure.
(From yocto-docs rev: ef7b8dd8d636ef0ad563d1fe1ef44227f5f89fbc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Eclipse is no longer supported. We do not need thes figures
as they would no longer exist.
(From yocto-docs rev: efcfb5a62fcacdc606b8485da809bdf6aa19a5f3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The help files for YP manuals used in the Eclipse application
are no longer supported. I removed the individual
*-customization.xsl files for the individual YP manuals.
(From yocto-docs rev: 8c19244298b2c95ac92a398a5b6d3aca788f075e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the file so that Eclipse help for YP manuals is
not generated. Updated comments to remove examples of
Eclipse.
(From yocto-docs rev: db62b107e82a9d6fad619b03d57e807b3a617afd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since version 2.58 the glib-networking TLS database relies on GnuTLS's system
trust store, so not enabling it leads to TLS errors in applications depending on
glib-networking. The raised runtime warning is:
process:500): GLib-Net-WARNING **: 09:14:09.321: Failed to load TLS database: Failed to load system trust store: GnuTLS was not configured with a system trust
(app:490): ... TLS Error: TLS certificate has unknown CA.
(From OE-Core rev: 1d147be584d2f016853edbe9751247d7daa0b5d0)
(From OE-Core rev: 712c78984c891e6357e1b1dc414431fb6c226c49)
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>
systemd upstream only care about glibc. We made musl specific
patches so that systemd could work. But currently these patches
contain potential security issues.
So apply these patches only when the libc is musl.
(From OE-Core rev: 2ebd3398578c339e17b44b3ae5483cec1d0c7e7d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bc can be provided by busybox as well (e.g. if you have your own
defconfig and forget to explicitly disable it:
...
*
* Miscellaneous Utilities
*
adjtimex (4.7 kb) (ADJTIMEX) [N/y/?] n
bbconfig (9.7 kb) (BBCONFIG) [N/y/?] n
bc (45 kb) (BC) [Y/n/?] (NEW) dc (36 kb) (DC) [Y/n/?] y
Use bc code base for dc (larger, more features) (FEATURE_DC_BIG) [Y] (NEW) y
Interactive mode (+4kb) (FEATURE_BC_INTERACTIVE) [Y/n/?] (NEW) Enable bc/dc long options (FEATURE_BC_LONG_OPTIONS) [Y/n] (NEW) beep (2.4 kb) (BEEP) [N/y/?] n
chat (6.3 kb) (CHAT) [N/y/?] n
conspy (10 kb) (CONSPY) [N/y/?] n
...
), causing conflict in u-a:
update-alternatives: Error: not linking /usr/bin/bc to /bin/busybox.nosuid since /usr/bin/bc exists and is not a link
and then whole do_rootfs or do_populate_sdk to fail because busybox postinst is failing:
do_populate_sdk: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} (). Deferring to first boot via 'exit 1' is no longer supported.
(From OE-Core rev: 99df89a2ee7fb4c896224b68ffbe0aad03c39601)
Signed-off-by: Martin Jansa <Martin.Jansa@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>
* both use KERNEL_IMAGETYPE variable which is MACHINE specific
* fixes:
=== Comparing signatures for task do_configure.sigdata between hammerhead and mako ===
ERROR: grub-bootconf different signature for task do_configure.sigdata between hammerhead and mako
basehash changed from 710332f3ec15670302dd690708730c9e418d53790ce36d6a91b049ae4f7069b1 to c9a46e58b4634b5fd47d20683f8320e15f5c4cb7628e3a62ed97d8528d7aabd2
Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'
ERROR: systemd-bootconf different signature for task do_configure.sigdata between hammerhead and mako
basehash changed from 2abbaf6d7760696fbf1ff5df5705239b475ccbf6f0c831fc4031984c0ce0e9f2 to 24f1e7886dee02b04bc180acc1c946ad82ce842655e5a5f4a8006f4a8490f985
Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'
detected with:
openembedded-core/scripts/sstate-diff-machines.sh --targets=world --tmpdir=tmp-glibc/ --analyze --machines="hammerhead mako qemux86"
(From OE-Core rev: 48be24d80989e03ad84f4f9d0c8ff51b1f6c070b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the commit ad522ea6a6 ("runqemu: Let qemuparams override default
settings"), the order of the two "-serial" parameters when running the
qemu have been switched. The effect of this is that the logging thread
will use ttyS1 (of course can't capture the kernel boot message anymore),
and the test command will run on the ttyS0. So the output of the test
command may be mangled by the kernel message (such as call trace), and
let the test command produce a fake timeout error message. We can't fix
it by just adjusting the order of the threadport and serverport, since
it will break some machines such as qemuarm64 which use the virtio
serial. So using the tcpserial to setup both the threadport and
serverport.
[YOCTO Bug 13309]
(From OE-Core rev: 1ffea0c0fb3688f3cee0a5fa741e969581d01bd3)
Signed-off-by: Kevin Hao <kexin.hao@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>
In some cases(such as the oeqa's qemurunner), we need to setup multi
serial devices via the '-serial 127.0.0.1:xx" and the order of them
is significant. The mixing use of "tcpserial" and "-serial 127.0.0.1:xx"
cause ambiguous issues and we can't fix it by only adjusting the order
of them. So add the support to pass multi ports to the tcpserial
parameter, this will make sure that the order of setting up the serial
is really what we want.
[YOCTO Bug 13309]
(From OE-Core rev: db4b0530841d4d1407b48e262b7255b3f5a186ab)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixes qemuppc hang in warrior]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the creation of test case configuration file based on user inputs.
Where this testcase configuration file will be used by the the manual
execution to run selected test cases for a module rather than compulsory
run all test cases in manual json file.
(From OE-Core rev: 2ab748e4d8e4c64571f51d5e090b723b93dd5c5d)
Signed-off-by: sangeeta jain <sangeeta.jain@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, the code will sum all of the different machine results into a
single report of the tests results. This can lead to confusion as to
which machine may be experiencing issues. Modify the code to store the
results in a per machine basis and report them accordingly.
(From OE-Core rev: 7ba5a0af31605eaf91eb75b5f673f4caf81361dc)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
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 adds SPDX license headers in place of the wide assortment of things
currently in our script headers. We default to GPL-2.0-only except for the
oeqa code where it was clearly submitted and marked as MIT on the most part
or some scripts which had the "or later" GPL versioning.
The patch also drops other obsolete bits of file headers where they were
encoountered such as editor modelines, obsolete maintainer information or
the phrase "All rights reserved" which is now obsolete and not required in
copyright headers (in this case its actually confusing for licensing as all
rights were not reserved).
More work is needed for OE-Core but this takes care of the bulk of the scripts
and meta/lib directories.
The top level LICENSE files are tweaked to match the new structure and the
SPDX naming.
(From OE-Core rev: 3248a9e3c5a197321b1c4417509b9309cc3bae97)
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>
Bumping the SRCREVs to pickup the following configuration tweak for
ptest usage:
Author: Mariano López <just.another.mariano@gmail.com>
Date: Sat Jun 1 17:30:46 2019 -0500
Add SCSI debug configuration for util-linux ptest
The ptests from util-linux require the scsi debug module to be installed
for a subset of tests. This patch would allow to build the kernel module
for the linux-yocto kernel.
Signed-off-by: Mariano López <just.another.mariano@gmail.com>
(From OE-Core rev: a071fd05912b80d8cc37d059fb8b245c550d4992)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While pv contains char `+' (such as ncurses 6.1+20181013),
it was incorrectly converted to `6.1'
In this commit:
- Convert [^\+]* to .*?
Support pv to contain char `+' and not greedy match
(Such as ncurses 6.1+20181013)
- Add [^\+] to sfx match
Support sfx contains extra chars between `+' and `git'
(such as asciidoc "8.6.9+py3-gitAUTOINC+618f6e6f6b")
- Make sfx and rev greedy match
Run `devtool check-upgrade-status --all' in poky and compare results,
only one difference on ncurses version:
Without the commit:
INFO: ncurses 6.1 6.1+20181013 Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835
With the commit:
INFO: ncurses 6.1+20181013 MATCH Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835
(From OE-Core rev: 65e2b1a2333a2268f4ee7de6a20cb13ec697b50e)
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>
The following commit is part of 5.0.17+:
ARM: fix function graph tracer and unwinder dependencies
[ Upstream commit 503621628b32782a07b2318e4112bd4372aa3401 ]
Naresh Kamboju recently reported that the function-graph tracer crashes
on ARM. The function-graph tracer assumes that the kernel is built with
frame pointers.
We explicitly disabled the function-graph tracer when building Thumb2,
since the Thumb2 ABI doesn't have frame pointers.
We recently changed the way the unwinder method was selected, which
seems to have made it more likely that we can end up with the function-
graph tracer enabled but without the kernel built with frame pointers.
Fix up the function graph tracer dependencies so the option is not
available when we have no possibility of having frame pointers, and
adjust the dependencies on the unwinder option to hide the non-frame
pointer unwinder options if the function-graph tracer is enabled.
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
As such, we no longer have UNWINDER_ARM enabled in our ARM builds by
default, since we do have FUNCTION_GRAPH_TRACER enabled in the common
ftrace configuration.
We disable FUNCTION_GRAPH_TRACER for ARM, which allows UNWINDER_ARM to
remain enabled and hence systemtap work out of the box for our ARM
reference builds. Obviously, BSPs or other users of the fragments can
make a different decision, but we chose unwinder to be on by default.
(From OE-Core rev: 00eae0b83bc0d30b8164874a534d561190c78362)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the 5.0 -rt to -rt11, which comprises the following commits:
9c1e84c9b81b v5.0.19-rt11
c4258b70deda workqueue: rework
2a0f03c9daff softirq: rework
cb38c9a00313 Revert "drm/i915/fence: Do not use TIMER_IRQSAFE"
0ffa8402bf10 clocksource: TCLIB: Add proper depend
6a2ecc186d9a arm: imx6: cpuidle: Use raw_spinlock_t
c302271409c2 locking/lockdep: Don't complain about incorrect name for no validate class
4042bcac2c90 v5.0.19-rt10
d6ad4a85a911 genirq: Handle missing work_struct in irq_set_affinity_notifier()
(From OE-Core rev: 500d7f5e86d19a70e58924e949b2017ebfbb3396)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
commits:
3f7c1cab1a61 Linux 5.0.19
64d314bd8cc8 fbdev: sm712fb: fix memory frequency by avoiding a switch/case fallthrough
e5c6d75b0f03 bpf, lru: avoid messing with eviction heuristics upon syscall lookup
b5f95aa7a88b bpf: add map_lookup_elem_sys_only for lookups from syscall side
d811930f74ac bpf: relax inode permission check for retrieving bpf program
ca7ef7e3ddfa driver core: Postpone DMA tear-down until after devres release for probe failure
bad4fbe76cfb md/raid: raid5 preserve the writeback action after the parity check
3770eb3721be Revert "Don't jump to compute_result state from check_result state"
07116a6548c8 perf/x86/intel: Fix race in intel_pmu_disable_event()
58d1e074c742 perf cs-etm: Always allocate memory for cs_etm_queue::prev_packet
cd448c27b08e perf bench numa: Add define for RUSAGE_THREAD if not present
7325696ce261 i2c: designware: ratelimit 'transfer when suspended' errors
8258661858d5 ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
5b73764a5d2c KVM: selftests: make hyperv_cpuid test pass on AMD
fb654d0763c8 KVM: fix KVM_CLEAR_DIRTY_LOG for memory slots of unaligned size
497ce5c7f538 x86/mm/mem_encrypt: Disable all instrumentation for early SME setup
96f0be982c8a sched/cpufreq: Fix kobject memleak
2a9605f177f8 iwlwifi: mvm: check for length correctness in iwl_mvm_create_skb()
df5eba5f41be qmi_wwan: new Wistron, ZTE and D-Link devices
bd61ddd3e9fc bpf: Fix preempt_enable_no_resched() abuse
bd3713424a01 tools: bpftool: fix infinite loop in map create
1e61a219090f power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
e6ae43922897 KVM: arm/arm64: Ensure vcpu target is unset on reset failure
5450811a02f5 net: ieee802154: fix missing checks for regmap_update_bits
15f64f420bae mac80211: Fix kernel panic due to use of txq after free
eff6d5429bd2 x86: kvm: hyper-v: deal with buggy TLB flush requests from WS2012
48be4d7ced2c PCI: Fix issue with "pci=disable_acs_redir" parameter being ignored
fa42fde1f8e6 apparmorfs: fix use-after-free on symlink traversal
cf0259f7662a securityfs: fix use-after-free on symlink traversal
04aa8a51e723 power: supply: cpcap-battery: Fix division by zero
38a725dd0be7 KVM: PPC: Book3S: Protect memslots while validating user address
eec0c746757b KVM: PPC: Book3S HV: Perserve PSSCR FAKE_SUSPEND bit on guest exit
f3adb80bb243 clk: sunxi-ng: nkmp: Avoid GENMASK(-1, 0)
791746a758e7 ARC: PAE40: don't panic and instead turn off hw ioc
30bd4585bf14 xfrm4: Fix uninitialized memory read in _decode_session4
79fad8fd2b76 xfrm: Honor original L3 slave device in xfrmi policy lookup
ff7fa2c801bc esp4: add length check for UDP encapsulation
4e8ce2680442 xfrm: clean up xfrm protocol checks
6c0db1cbf772 vti4: ipip tunnel deregistration fixes.
f8a427ca50d6 xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module
70a87327025a xfrm: Reset secpath in xfrm failure
9531aac1ee3e xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
07a573c046c0 fuse: Add FOPEN_STREAM to use stream_open()
560c6fd312c9 dm mpath: always free attached_handler_name in parse_path()
96ecf4c59f08 dm integrity: correctly calculate the size of metadata area
ecff1441aa15 dm crypt: move detailed message into debug level
862a78341ade dm delay: fix a crash when invalid device is specified
fab2e96c6be0 dm zoned: Fix zone report handling
ef3f84246954 dm cache metadata: Fix loading discard bitset
6c412dc3b757 PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
d06a30b1a957 PCI: Factor out pcie_retrain_link() function
4f22ec9f0c28 PCI: rcar: Add the initialization of PCIe link in resume_noirq()
fbd9c6ef0dfc PCI/AER: Change pci_aer_init() stub to return void
be361ee757b8 PCI: Init PCIe feature bits for managed host bridge alloc
adb00a68d2dd PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary
2e4017e3ddfd PCI: Mark Atheros AR9462 to avoid bus reset
4ddfb43373ca PCI: Mark AMD Stoney Radeon R7 GPU ATS as broken
1fbec8aa02f3 fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
620a97786fd6 fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
b2adbace369e fbdev: sm712fb: fix support for 1024x768-16 mode
d119b4a43e53 fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
39045ad5a808 fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
4badede3e74b fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
62463c4661f1 fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
2a5d31230505 fbdev: sm712fb: fix brightness control on reboot, don't set SR30
cfe31930dac8 fbdev/efifb: Ignore framebuffer memmap entries that lack any memory types
a816dc52fe77 x86/mpx, mm/core: Fix recursive munmap() corruption
9d50a05607a7 objtool: Allow AR to be overridden with HOSTAR
93dbb5304b51 MIPS: perf: Fix build with CONFIG_CPU_BMIPS5000 enabled
822e8c43b08a perf intel-pt: Fix sample timestamp wrt non-taken branches
14f3460ed499 perf intel-pt: Fix improved sample timestamp
23abb1eed2ee perf intel-pt: Fix instructions sampling rate
c82da3e43ce1 memory: tegra: Fix integer overflow on tick value calculation
dda71c1663c8 tracing: probeevent: Fix to make the type of $comm string
95142e28042b tracing: Fix partial reading of trace event's id file
9dba717a8156 ftrace/x86_64: Emulate call function while updating in breakpoint handler
2a1069824a5c x86_64: Allow breakpoints to emulate call instructions
16e559791d6b x86_64: Add gap to int3 to allow for call emulation
69fc24195198 ceph: flush dirty inodes before proceeding with remount
43cc8d378ca0 iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
d79e6a726acb gcc-plugins: arm_ssp_per_task_plugin: Fix for older GCC < 6
0e83f9e5ce46 ovl: fix missing upper fs freeze protection on copy up for ioctl
bf076fd44bd6 fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
79d8f6321221 fuse: fix writepages on 32bit
12db517f8a3e udlfb: introduce a rendering mutex
0bd143ed4109 udlfb: fix sleeping inside spinlock
02851943751d udlfb: delete the unused parameter for dlfb_handle_damage
855e2af24ab5 clk: rockchip: fix wrong clock definitions for rk3328
317e574eaf6d clk: mediatek: Disable tuner_en before change PLL rate
b5f7027a6f79 clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
87b083dbdd8f clk: hi3660: Mark clk_gate_ufs_subsys as critical
3c1f44469d83 PNFS fallback to MDS if no deviceid found
73e0d62f16ec NFS4: Fix v4.0 client state corruption when mount
1aa8f89cf5ad RDMA/ipoib: Allow user space differentiate between valid dev_port
90ebb540a7b1 RDMA/mlx5: Use get_zeroed_page() for clock_info
2132baff7e0f media: imx: Clear fwnode link struct for each endpoint iteration
7543aeaf9331 media: imx: csi: Allow unknown nearest upstream entities
8a6a542635fe media: ov6650: Fix sensor possibly not detected on probe
252f74c15935 phy: ti-pipe3: fix missing bit-wise or operator when assigning val
921bb3e9be5b cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
6c65b5a9d829 brcmfmac: Add DMI nvram filename quirk for ACEPC T8 and T11 mini PCs
e15c901c9b1f of: fix clang -Wunsequenced for be32_to_cpu()
a1243cd45745 p54: drop device reference count if fails to enable device
24cb69043d68 intel_th: msu: Fix single mode with IOMMU
86901d0a34ab dcache: sort the freeing-without-RCU-delay mess for good.
cb259d53313c md: add a missing endianness conversion in check_sb_changes
ceaae3df28ef md: add mddev->pers to avoid potential NULL pointer dereference
3d8c54fb4b8f md: batch flush requests.
dfbe4d1af4b3 Revert "MD: fix lock contention for flush bios"
be2bcbeda06b proc: prevent changes to overridden credentials
e2d95e6022f9 brd: re-enable __GFP_HIGHMEM in brd_insert_page()
019da3cf8d2d stm class: Fix channel bitmap on 32-bit systems
e52484d4b315 stm class: Fix channel free in stm output free path
7a76effe2dea parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
e2d87b36a59b parisc: Use PA_ASM_LEVEL in boot code
fac8648ec7ce parisc: Allow live-patching of __meminit functions
62c78938e3ee parisc: Add memory barrier to asm pdc and sync instructions
81641f9c6039 parisc: Skip registering LED when running in QEMU
f4a05c586c3a parisc: Add memory clobber to TLB purges
52b905433b0d parisc: Export running_on_qemu symbol for modules
5b3b51fe5bef regulator: core: fix error path for regulator_set_voltage_unlocked
97346dda2c99 blk-mq: free hw queue's resource in hctx's release handler
860dde8d0962 mm/gup: Remove the 'write' parameter from gup_fast_permitted()
b80fc1eed537 net/mlx5e: Fix ethtool rxfh commands when CONFIG_MLX5_EN_RXNFC is disabled
5125c4d4cfca net/mlx5: Imply MLXFW in mlx5_core
ac5465716ae6 net/mlx5e: Additional check for flow destination comparison
e3e09b07aab6 net/mlx5e: Add missing ethtool driver info for representors
5048d03fa137 vsock/virtio: Initialize core virtio vsock before registering the driver
ac01b87ed3ec tipc: fix modprobe tipc failed after switch order of device registration
51adb8ebe8c1 vsock/virtio: free packets during the socket release
3f48a2fa3d79 tipc: switch order of device registration to fix a crash
0501b80b158a rtnetlink: always put IFLA_LINK for links with a link-netnsid
4d4b20738489 ppp: deflate: Fix possible crash in deflate_init
ebf4338d96e9 nfp: flower: add rcu locks when accessing netdev for tunnels
d818a94975ed net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions
18b3bb2503b4 net: test nouarg before dereferencing zerocopy pointers
4e6d54b16a89 net/mlx4_core: Change the error print to info print
708c22fedf0c net: avoid weird emergency message
145708e7d94c net: Always descend into dsa/
6c8566ebb5f1 ipv6: prevent possible fib6 leaks
aed9be48191f ipv6: fix src addr routing with the exception table
8614793dbb41 Linux 5.0.18
3dacabb35d7f ext4: don't update s_rev_level if not required
18f59db712ce ext4: fix compile error when using BUFFER_TRACE
593ddcbac4a4 s390/mm: convert to the generic get_user_pages_fast code
97249a2034b6 s390/mm: make the pxd_offset functions more robust
4999174b1a77 iov_iter: optimize page_copy_sane()
6e52e4b6cf50 libnvdimm/namespace: Fix label tracking error
63e54af2e570 xen/pvh: correctly setup the PV EFI interface for dom0
a1c5c7476db0 xen/pvh: set xen_domain_type to HVM in xen_pvh_init
9339434bdbb4 kbuild: turn auto.conf.cmd into a mandatory include file
d71c6a4b31db KVM: lapic: Busy wait for timer to expire when using hv_timer
fae3b156b196 KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes
87e61d57ae37 KVM: Fix the bitmap range to copy during clear dirty
295a7bd172d2 jbd2: fix potential double free
a5f8b69097a3 ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
20f6e5999787 ALSA: hda/realtek - Fixup headphone noise via runtime suspend
5ddcddba1be6 ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)
ec9ff0dd9829 ext4: avoid panic during forced reboot due to aborted journal
297a39c6528c ext4: fix use-after-free in dx_release()
256e27da8b62 ext4: fix data corruption caused by overlapping unaligned and aligned IO
7f3b711cbf54 ext4: zero out the unused memory region in the extent tree block
bde5b8473bd3 tty: Don't force RISCV SBI console as preferred console
549b0b8a9479 fs/writeback.c: use rcu_barrier() to wait for inflight wb switches going into workqueue when umount
f7fea7c067fb crypto: ccm - fix incompatibility between "ccm" and "ccm_base"
638fffb11c93 ipmi:ssif: compare block number correctly for multi-part return messages
bfc6980ff235 bcache: never set KEY_PTRS of journal key to 0 in journal_reclaim()
5fa31fabc628 bcache: fix a race between cache register and cacheset unregister
0e56cc24df1a Btrfs: fix race between send and deduplication that lead to failures and crashes
0565f46b75e4 Btrfs: do not start a transaction at iterate_extent_inodes()
d48e71659e07 Btrfs: do not start a transaction during fiemap
e7fb540d6a06 Btrfs: send, flush dellaloc in order to avoid data loss
b9ee62718749 btrfs: Honour FITRIM range constraints during free space trim
4afdd2d2afbb btrfs: Correctly free extent buffer in case btree_read_extent_buffer_pages fails
1a6e5f745b57 btrfs: Check the first key and level for cached extent buffer
f325062756d0 ext4: fix ext4_show_options for file systems w/o journal
91bf9123ce86 ext4: actually request zeroing of inode table after grow
715f547a6299 ext4: fix use-after-free race with debug_want_extra_isize
310aea022196 ext4: avoid drop reference to iloc.bh twice
7db933229f64 ext4: ignore e_value_offs for xattrs with value-in-ea-inode
7dfca4b97693 ext4: make sanity check in mballoc more strict
39108bea309d jbd2: check superblock mapped prior to committing
033b15ff6b92 tty/vt: fix write/write race in ioctl(KDSKBSENT) handler
770e812bbc1d tty: vt.c: Fix TIOCL_BLANKSCREEN console blanking if blankinterval == 0
9537358c9452 mtd: maps: Allow MTD_PHYSMAP with MTD_RAM
969859b87f8b mtd: maps: physmap: Store gpio_values correctly
8a2c3433b51b mtd: spi-nor: intel-spi: Avoid crossing 4K address boundary on read/write
ed824ff290d3 mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
12061d7ce0ee mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
966e7ae49bee ACPI: PM: Set enable_for_wake for wakeup GPEs during suspend-to-idle
09ceb529c4ac userfaultfd: use RCU to free the task struct when fork fails
3f26c01c4001 ocfs2: fix ocfs2 read inode data panic in ocfs2_iget
f989305d02a4 hugetlb: use same fault hash key for shared and private mappings
6720e0bc50e9 mm/hugetlb.c: don't put_page in lock of hugetlb_lock
ff191b1d827d mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addresses
535ca6f75ddb mm/mincore.c: make mincore() more conservative
b5b076649d2e crypto: ccree - handle tee fips error during power management resume
2380a8464ee1 crypto: ccree - add function to handle cryptocell tee fips error
22a44b51f2e0 crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend
f1a7dc5d0e46 crypto: ccree - pm resume first enable the source clk
4a807bab1431 crypto: ccree - don't map AEAD key and IV on stack
a1cb31fd79be crypto: ccree - use correct internal state sizes for export
3ff036422024 crypto: ccree - don't map MAC key on stack
2e1679f6a1d0 crypto: ccree - fix mem leak on error path
23a072df0482 crypto: ccree - remove special handling of chained sg
8efcdb781463 bpf, arm64: remove prefetch insn in xadd mapping
fd049ce703c3 ASoC: codec: hdac_hdmi add device_link to card device
519511e47f79 ASoC: fsl_esai: Fix missing break in switch statement
94748513d811 ASoC: RT5677-SPI: Disable 16Bit SPI Transfers
dccbcc8060c8 ASoC: max98090: Fix restore of DAPM Muxes
b2c90ad71e00 ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)
0a1cf4fdc58b ALSA: hda/realtek - EAPD turn on later
98ffad31068d ALSA: hda/hdmi - Consider eld_valid when reporting jack event
787d1c606f1a ALSA: hda/hdmi - Read the pin sense from register when repolling
bc3c4c9e00b0 ALSA: usb-audio: Fix a memory leak bug
592b655a306b ALSA: line6: toneport: Fix broken usage of timer for delayed execution
978e70ead670 mmc: sdhci-pci: Fix BYT OCP setting
56f590e2e30a mmc: core: Fix tag set memory leak
1ea20c66648a mmc: tegra: fix ddr signaling for non-ddr modes
4ea5e92a20b9 crypto: arm64/aes-neonbs - don't access already-freed walk.iv
b51455e5493a crypto: arm/aes-neonbs - don't access already-freed walk.iv
86d478d06696 crypto: caam/qi2 - generate hash keys in-place
fd2830991e56 crypto: caam/qi2 - fix DMA mapping of stack memory
0eaed393b4ec crypto: caam/qi2 - fix zero-length buffer DMA mapping
86add9b56835 crypto: rockchip - update IV buffer to contain the next IV
8d9cdf34aaf9 crypto: gcm - fix incompatibility between "gcm" and "gcm_base"
246ef445e015 crypto: arm64/gcm-aes-ce - fix no-NEON fallback code
47a9de26eb06 crypto: x86/crct10dif-pcl - fix use via crypto_shash_digest()
8eb6266c8eb1 crypto: crct10dif-generic - fix use via crypto_shash_digest()
043e69dd7fef crypto: skcipher - don't WARN on unprocessed data after slow walk step
2c0f409ba69c crypto: vmx - fix copy-paste error in CTR mode
8d02b83b332b crypto: ccp - Do not free psp_master when PLATFORM_INIT fails
fdcd8b3b745e crypto: chacha20poly1305 - set cra_name correctly
d6d54c7c59c6 crypto: chacha-generic - fix use as arm64 no-NEON fallback
0a348941ad06 crypto: lrw - don't access already-freed walk.iv
25f1509c739f crypto: salsa20 - don't access already-freed walk.iv
fb7261b31a2c crypto: crypto4xx - fix cfb and ofb "overran dst buffer" issues
3149ac3ef4e6 crypto: crypto4xx - fix ctr-aes missing output IV
5404a6ff7458 x86/MCE/AMD: Don't report L1 BTB MCA errors on some family 17h models
ad09c6ef2dcb x86/MCE: Group AMD function prototypes in <asm/mce.h>
b05237350b4a x86/MCE/AMD: Carve out the MC4_MISC thresholding quirk
e6b8b66f965e x86/MCE/AMD: Turn off MC4_MISC thresholding on all family 0x15 models
993a6595b253 x86/MCE: Add an MCE-record filtering function
52176123f9cb sched/x86: Save [ER]FLAGS on context switch
d81b4ae57fe9 arm64: Save and restore OSDLR_EL1 across suspend/resume
bd254f9d1157 arm64: Clear OSDLR_EL1 on CPU boot
a184f8889306 arm64: compat: Reduce address limit
e57320e0177a arm64: arch_timer: Ensure counter register reads occur with seqlock held
32e802d947ca arm64: mmap: Ensure file offset is treated as unsigned
38a6f722c01a power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist
a4e41f047a3e power: supply: axp288_charger: Fix unchecked return value
fe3f22b7084d ARM: exynos: Fix a leaked reference by adding missing of_node_put
a6bc3bfb8206 mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.
bf6cb21717f4 ARM: dts: exynos: Fix audio (microphone) routing on Odroid XU3
de42e519cbee ARM: dts: exynos: Fix interrupt for shared EINTs on Exynos5260
3ea393bb1ca4 ARM: dts: qcom: ipq4019: enlarge PCIe BAR range
5d6fa0370c51 arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
5414a4761988 arm64: dts: rockchip: fix IO domain voltage setting of APIO5 on rockpro64
8c1134ff70df objtool: Fix function fallthrough detection
bc19bb7d8d10 x86/speculation/mds: Improve CPU buffer clear documentation
d2214ccfecb5 x86/speculation/mds: Revert CPU buffer clear on double fault exit
bfcac7872252 locking/rwsem: Prevent decrement of reader count before increment
(From OE-Core rev: 02ee58ba18a0393ce372f4fe9d4860ccaaaa9486)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto-rt to -rt9, which comprises the following commits:
cc66f1b95af7 (HEAD -> v5.0/standard/preempt-rt/base) v5.0.14-rt9
96957f0ca4a4 sched/completion: Fix a lockup in wait_for_completion()
7108dfc6c002 iommu/dma-iommu: Remove iommu_dma_map_msi_msg()
50e9a302a12e irqchip/gic-v3-mbi: Don't map the MSI page in mbi_compose_m{b, s}i_msg()
4a4c41f25d90 irqchip/ls-scfg-msi: Don't map the MSI page in ls_scfg_msi_compose_msg()
e6549dc52874 irqchip/gic-v3-its: Don't map the MSI page in its_irq_compose_msi_msg()
21ab1a505f71 irqchip/gicv2m: Don't map the MSI page in gicv2m_compose_msi_msg()
5c7e7ee1155f iommu/dma-iommu: Split iommu_dma_map_msi_msg() in two parts
ed562a120218 genirq/msi: Add a new field in msi_desc to store an IOMMU cookie
8269017c7c71 x86/fpu: Fault-in user stack if copy_fpstate_to_sigframe() fails
834de13e9df3 v5.0.14-rt8
60a1f2741b0b v5.0.10-rt7
5cbcfdaf619f clocksource: improve Atmel TCB timer driver
dde28bc12270 x86/ima: Check EFI_RUNTIME_SERVICES before using
c02d0b49cf87 printk: kmsg_dump: remove mutex usage
b4ccebf15704 locking/rwsem: Rename rwsem_rt.h to rwsem-rt.h
d5758ba7a93e x86/fpu: Remove unnecessary saving of FPU registers in copy_fpstate_to_sigframe()
e16351073c50 x86/fpu: Fault-in user stack if copy_fpstate_to_sigframe() fails
14ff99cb7d48 v5.0.10-rt6
843445383127 v5.0.7-rt5
e886711e0449 drm/i915: Don't disable interrupts independently of the lock
69e41e29c6ad clocksource: improve Atmel TCB timer driver
c2e266f415d0 x86: load FPU registers on return to userland (Update to v9)
4be2fd56d44f v5.0.7-rt4
6fb29acc8efe (origin/v5.0/standard/preempt-rt/base) genirq: Prevent use-after-free and work list corruption on rt
(From OE-Core rev: ce049f94f31d5b4776c4b41f9c5da716791cc4ac)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable commits that comprise the following
changes:
d59f5a01fa43 Linux 5.0.17
ba686f90778b f2fs: Fix use of number of devices
78b8c59eee72 PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
f20f463b32bc PCI: hv: Add hv_pci_remove_slots() when we unload the driver
d3a9cd23b172 PCI: hv: Fix a memory leak in hv_eject_device_work()
7f9572e798ea virtio_ring: Fix potential mem leak in virtqueue_add_indirect_packed
ba81b50090a4 powerpc/booke64: set RI in default MSR
0da52ad69b37 powerpc/powernv/idle: Restore IAMR after idle
d314437d17ad powerpc/book3s/64: check for NULL pointer in pgd_alloc()
79e981a8503f drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
1a84219f73b2 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
8b8fc62b6c67 isdn: bas_gigaset: use usb_fill_int_urb() properly
12786188dcf3 flow_dissector: disable preemption around BPF calls
39f7b3941969 net: phy: fix phy_validate_pause
4a91e5e4c58f tuntap: synchronize through tfiles array instead of tun->numqueues
e0630246658a tuntap: fix dividing by zero in ebpf queue selection
92edcf205388 vrf: sit mtu should not be updated when vrf netdev is the link
13d54150e746 vlan: disable SIOCSHWTSTAMP in container
83c25477e944 tipc: fix hanging clients using poll with EPOLLOUT flag
be6a9818866d selinux: do not report error on connect(AF_UNSPEC)
c3954f8f5a7e packet: Fix error path in packet_init
7bc936f4f226 net: ucc_geth - fix Oops when changing number of buffers in the ring
57ee33b48190 net: seeq: fix crash caused by not set dev.parent
224b04c9e028 net: macb: Change interrupt and napi enable order in open
a3bf31d7ffb2 net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
261a8958a57e net: dsa: Fix error cleanup path in dsa_init_module
2f679c41821f ipv4: Fix raw socket lookup for local traffic
f8351176aed6 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
e4607de103ba dpaa_eth: fix SG frame cleanup
430a64f6fa2c bridge: Fix error path for kobject_init_and_add()
69798384ba38 bonding: fix arp_validate toggling in active-backup mode
d3ff0184ebd2 Don't jump to compute_result state from check_result state
843135c1ce1e rtlwifi: rtl8723ae: Fix missing break in switch statement
14654a1f2e2b mwl8k: Fix rate_idx underflow
202436fe0810 cw1200: fix missing unlock on error in cw1200_hw_scan()
92a9787bb38c drm/rockchip: fix for mailbox read validation.
5b4ef3c5faf9 net: mvpp2: fix validate for PPv2.1
45e1075e04cb net: sched: fix cleanup NULL pointer exception in act_mirr
4b84cde61ce9 bpf: only test gso type on gso packets
073d8f286f34 mm/page_alloc.c: avoid potential NULL pointer dereference
61fadd8a5000 mm/memory_hotplug.c: drop memory device reference after find_memory_block()
59c58e43e80f RDMA/hns: Bugfix for mapping user db
26f70c4e0aef gpio: Fix gpiochip_add_data_with_key() error path
fb53ebc9eb9a net: vrf: Fix operation not supported when set vrf mac
ec69b3c91b3b Input: synaptics-rmi4 - fix possible double free
6a2abf951ed3 Input: snvs_pwrkey - make it depend on ARCH_MXC
21a3f7c2c76c drm/sun4i: Unbind components before releasing DRM and memory
f79084e5372b Revert "drm/virtio: drop prime import/export callbacks"
2455f6cbd19b ceph: handle the case where a dentry has been renamed on outstanding req
d3a9275364d9 spi: ST ST95HF NFC: declare missing of table
943609acd628 spi: Micrel eth switch: declare missing of table
4c6df58231f8 ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
dc41fe5d6fb5 ARM: fix function graph tracer and unwinder dependencies
0cb06e339cee drm/imx: don't skip DP channel disable for background plane
7680e881fdaa gpu: ipu-v3: dp: fix CSC handling
28e4593bb148 arm64/module: ftrace: deal with place relative nature of PLTs
d0f8faa2f540 dmaengine: bcm2835: Avoid GFP_KERNEL in device_prep_slave_sg
d4dc7d99b111 netfilter: fix nf_l4proto_log_invalid to log invalid packets
ddb632889fae netfilter: never get/set skb->tstamp
226ef4f27a45 selftests/net: correct the return value for run_afpackettests
1a20185157b5 selftests/net: correct the return value for run_netsocktests
2d83e90c2375 of_net: Fix residues after of_get_nvmem_mac_address removal
7ba51c0e84b3 drm/sun4i: Fix component unbinding and component master deletion
3000bdec55c8 drm/sun4i: Set device driver data at bind time for use in unbind
1330679d64f8 s390: ctcm: fix ctcm_new_device error return code
143c8279955e IB/mlx5: Fix scatter to CQE in DCT QP creation
b3a64096c5ee MIPS: perf: ath79: Fix perfcount IRQ assignment
ecef50c35a07 netfilter: nat: fix icmp id randomization
c2987d193f8b netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
b0a90cae081d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
a3a5ad78488b ipvs: do not schedule icmp errors from tunnels
44fbb3db2bde selftests: netfilter: check icmp pkttoobig errors are set as related
16b01614d369 drm: bridge: dw-hdmi: Fix overflow workaround for Rockchip SoCs
5bc0352515ef init: initialize jump labels before command line option parsing
57c2301fc9c9 mm: fix inactive list balancing between NUMA nodes and cgroups
47d1b202e325 mm/hotplug: treat CMA pages as unmovable
247e9fe2f4ad slab: store tagged freelist for off-slab slabmgmt
4176e671a44e scsi: aic7xxx: fix EISA support
e9697ba264c2 perf tools: Fix map reference counting
d39036685e22 ocelot: Don't sleep in atomic context (irqs_disabled())
d7200d0648e5 ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
d2ae8127d693 perf top: Always sample time to satisfy needs of use of ordered queuing
9b2395e2bfec tools lib traceevent: Fix missing equality check for strcmp
b053700b6ce9 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
7cee96602903 KVM: fix spectrev1 gadgets
ac0cd21ff7f3 KVM: nVMX: always use early vmcs check when EPT is disabled
ad0b4845927e x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
47155c33761e x86/mm: Prevent bogus warnings with "noexec=off"
e011d319f736 x86/build/lto: Fix truncated .bss with -fdata-sections
5a8306e3b433 s390/pkey: add one more argument space for debug feature entry
7a96a56eea04 drm/amd/display: If one stream full updates, full update all planes
e3a41f93e337 qed: Fix the DORQ's attentions handling
47ef1bab8d1d qed: Fix missing DORQ attentions
deb2cc51dd52 qed: Fix the doorbell address sanity check
2de1573a5ed9 qed: Delete redundant doorbell recovery types
775e0e613250 afs: Fix in-progess ops to ignore server-level callback invalidation
35d71b00267e afs: Unlock pages for __pagevec_release()
f4faab6c9034 qede: fix write to free'd pointer error and double free of ptp
40990109952a vxge: fix return of a free'd memblock on a failed dma mapping
4230787c0655 mISDN: Check address length before reading address family
2d56b3f53ac8 drm/amdgpu: shadow in shadow_list without tbo.mem.start cause page fault in sriov TDR
bf4b7bc690e3 selftests: fib_tests: Fix 'Command line is not complete' errors
b1e68de7659a clocksource/drivers/oxnas: Fix OX820 compatible
641a9b94456d clocksource/drivers/npcm: select TIMER_OF
44d7638b3934 drm/amd/display: extending AUX SW Timeout
6661203b4210 drm/ttm: fix dma_fence refcount imbalance on error path
1e1bdaca091e s390/3270: fix lockdep false positive on view->lock
adefea883c1f tools/testing/nvdimm: Retain security state after overwrite
40af621fefdb libnvdimm/pmem: fix a possible OOB access when read and write pmem
7547c20fdd1c libnvdimm/security: provide fix for secure-erase to use zero-key
8f2e6b8c9b0b nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
0e36c8ed2d52 mac80211: fix memory accounting with A-MSDU aggregation
c93951de3ecb cfg80211: Handle WMM rules in regulatory domain intersection
7c7345f1cad8 mac80211: Increase MAX_MSG_LEN
0c077b14bdc0 mac80211: fix unaligned access in mesh table hash function
9d02fc4b7789 s390/dasd: Fix capacity calculation for large volumes
181518b8eb4e libnvdimm/btt: Fix a kmemdup failure check
f744a5e31a47 HID: input: add mapping for "Toggle Display" key
0e56b93040c2 HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
c64e4d22342c HID: input: add mapping for Expose/Overview key
e42bcea02b46 libnvdimm/namespace: Fix a potential NULL pointer dereference
469cc616e03c acpi/nfit: Always dump _DSM output payload
a9189a36d66e iio: adc: xilinx: prevent touching unclocked h/w on remove
1fc0aeddc0b7 iio: adc: xilinx: fix potential use-after-free on probe
fc92e97e24df iio: adc: xilinx: fix potential use-after-free on remove
a41382ca99e8 USB: serial: fix unthrottle races
b5f2cb384e11 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
a16532b59cca kernfs: fix barrier usage in __kernfs_new_node()
0748cf2d9d1c selftests/seccomp: Handle namespace failures gracefully
5c3c0ffa9d74 hwmon: (occ) Fix extended status bits
a91e668131ad hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
b9d31180294a platform/x86: dell-laptop: fix rfkill functionality
22c8b3235eb2 platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
8fb172181a29 platform/x86: sony-laptop: Fix unintentional fall-through
54c140c5b614 bfq: update internal depth state when queue depth changes
89e11ec0280b Linux 5.0.16
f8bb2589227b x86/speculation/mds: Fix documentation typo
14e3ad8a1452 Documentation: Correct the possible MDS sysfs values
0acbbdf3e41d x86/mds: Add MDSUM variant to the MDS documentation
4cf168a94fd5 x86/speculation/mds: Add 'mitigations=' support for MDS
394e3d8de828 s390/speculation: Support 'mitigations=' cmdline option
f905727fa11c powerpc/speculation: Support 'mitigations=' cmdline option
bd600de16b82 x86/speculation: Support 'mitigations=' cmdline option
6d7407ef9272 cpu/speculation: Add 'mitigations=' cmdline option
c2b25b6b3582 x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
3f7fe4ad1f62 x86/speculation/mds: Fix comment
9cd62662dd7e x86/speculation/mds: Add SMT warning message
c98b736e763d x86/speculation: Move arch_smt_update() call to after mitigation decisions
fb49e1bb2061 x86/speculation/mds: Add mds=full,nosmt cmdline option
08831a92501f Documentation: Add MDS vulnerability documentation
ab8e3e63f23e Documentation: Move L1TF to separate directory
31fd0223449e x86/speculation/mds: Add mitigation mode VMWERV
3944139ce828 x86/speculation/mds: Add sysfs reporting for MDS
0174e8984c2d x86/speculation/mds: Add mitigation control for MDS
d9117863c521 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
100087c08030 x86/kvm/vmx: Add MDS protection when L1D Flush is not active
481871997e37 x86/speculation/mds: Clear CPU buffers on exit to user
a5a8ef7cd7c9 x86/speculation/mds: Add mds_clear_cpu_buffers()
87f96d5e7525 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
78157c977674 x86/speculation/mds: Add BUG_MSBDS_ONLY
ea3d1b32b86e x86/speculation/mds: Add basic bug infrastructure for MDS
019159aec4b7 x86/speculation: Consolidate CPU whitelists
26c0aff1ad63 x86/msr-index: Cleanup bit defines
7b13756d2c32 Linux 5.0.15
41d7bb19aa31 arm64: futex: Bound number of LDXR/STXR loops in FUTEX_WAKE_OP
3b928b59fae0 locking/futex: Allow low-level atomic operations to return -EAGAIN
be4b9a303a25 i3c: Fix a shift wrap bug in i3c_bus_set_addr_slot_status()
4b1f2ad28fe1 ASoC: Intel: avoid Oops if DMA setup fails
987722984163 UAS: fix alignment of scatter/gather segments
349bb9138b3a Bluetooth: hci_bcm: Fix empty regulator supplies for Intel Macs
41d5f23ef17b Bluetooth: Fix not initializing L2CAP tx_credits
2c93762f4b38 Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
1c1727f4b948 Bluetooth: hidp: fix buffer overflow
69d6687a5c66 scsi: qla2xxx: Fix device staying in blocked state
aee2053554ea scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
45076c8e403a scsi: lpfc: change snprintf to scnprintf for possible overflow
185e58d16ac8 soc: sunxi: Fix missing dependency on REGMAP_MMIO
34ebc8ad2ea4 ACPI / LPSS: Use acpi_lpss_* instead of acpi_subsys_* functions for hibernate
61ae16c4586b cpufreq: armada-37xx: fix frequency calculation for opp
573a935bfb4f iio: adc: qcom-spmi-adc5: Fix of-based module autoloading
284af2788432 intel_th: pci: Add Comet Lake support
704eaf49399f usb-storage: Set virt_boundary_mask to avoid SG overflows
bba2feefcacd USB: cdc-acm: fix unthrottle races
5b1c70f36832 USB: serial: f81232: fix interrupt worker not stop
083a8f69962a usb: dwc3: Fix default lpm_nyet_threshold value
9092861ce665 usb: dwc3: Allow building USB_DWC3_QCOM without EXTCON
70a44a01f8a4 genirq: Prevent use-after-free and work list corruption
b5dbb4058183 iommu/amd: Set exclusion range correctly
6610c1785f70 perf/core: Fix perf_event_disable_inatomic() race
a5f62d2c15a2 NFSv4.1 fix incorrect return value in copy_file_range
a3aa7cab0fc2 platform/x86: pmc_atom: Drop __initconst on dmi table
e6f2733f48cb nvmet: fix discover log page when offsets are used
ea359038ab73 nvme-fc: correct csn initialization and increments on error
407bb38bf3f7 nvme: cancel request synchronously
e62732d12bd9 blk-mq: introduce blk_mq_complete_request_sync()
e81f9ca291ac virtio-blk: limit number of hw queues by nr_cpu_ids
677713b1254f ALSA: hda: Fix racy display power access
7c7450aa9838 ASoC: stm32: sai: fix master clock management
60ec4c3d39be ASoC: Intel: kbl: fix wrong number of channels
c79f5a7a3559 drm/mediatek: no change parent rate in round_rate() for MT2701 hdmi phy
718254750661 drm/mediatek: using new factor for tvdpll for MT2701 hdmi phy
5b82d95ac6fe drm/mediatek: remove flag CLK_SET_RATE_PARENT for MT2701 hdmi phy
273ed6c20cb5 drm/mediatek: make implementation of recalc_rate() for MT2701 hdmi phy
4b112e5e6af9 drm/mediatek: fix the rate and divder of hdmi phy for MT2701
a873474c769a drm/mediatek: fix possible object reference leak
3051b6a1a14a scsi: csiostor: fix missing data copy in csio_scsi_err_handler()
353392e5b9a5 KEYS: trusted: fix -Wvarags warning
6fb3aa5d7307 RDMA/hns: Fix bug that caused srq creation to fail
f4d87f9b027a RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove
3fa40c30fe4c virtio_pci: fix a NULL pointer reference in vp_del_vqs
e0696fe3c10f drm/sun4i: tcon top: Fix NULL/invalid pointer dereference in sun8i_tcon_top_un/bind
09c5ad16c22c slab: fix a crash by reading /proc/slab_allocators
ad74ab443e30 objtool: Add rewind_stack_do_exit() to the noreturn list
fa42760cf276 ASoC: cs35l35: Disable regulators on driver removal
c577757d294e drm/amd/display: fix cursor black issue
4b5f2b0ce17c drm/amdgpu: amdgpu_device_recover_vram always failed if only one node in shadow_list
f528dbeec017 drm/amdgpu: Adjust IB test timeout for XGMI configuration
255063992678 drm/amdkfd: Add picasso pci id
2f0ec100032e ASoC: rockchip: pdm: fix regmap_ops hang issue
dfa9efe42df2 xtensa: fix initialization of pt_regs::syscall in start_thread
9680a806201d iov_iter: Fix build error without CONFIG_CRYPTO
2e94d4e8f2b9 linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()
bae9b6b98342 perf/x86/intel: Initialize TFA MSR
9bd3e66587f5 perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS
83f3ed3b4bde drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()
693d72f920e7 ASoC: tlv320aic32x4: Fix Common Pins
e904a8b14895 MIPS: KGDB: fix kgdb support for SMP platforms.
59188acd0c7d IB/hfi1: Fix the allocation of RSM table
a3270ed43389 IB/hfi1: Eliminate opcode tests on mr deref
1f9f22f6c7d6 IB/hfi1: Clear the IOWAIT pending bits when QP is put into error state
a2fdb5d19477 drm/omap: hdmi4_cec: Fix CEC clock handling for PM
08aa8be65b52 ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol
15d326f9548b ASoC: cs4270: Set auto-increment bit for register writes
1be14f5da0b1 ASoC: stm32: dfsdm: fix debugfs warnings on entry creation
9baa2f8ab758 ASoC: stm32: dfsdm: manage multiple prepare
5bff91d2a18f clk: meson-gxbb: round the vdec dividers to closest
b2b47cecd2ce ASoC: wm_adsp: Add locking to wm_adsp2_bus_error
9fb991d9cf50 ASoC: rt5682: recording has no sound after booting
b2cb6f8f307b ASoC: rt5682: fix jack type detection issue
8425db671440 ASoC: rt5682: Check JD status when system resume
3f60f8813be9 ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate
b44509a152a3 ASoC: nau8810: fix the issue of widget with prefixed name
6c4a8ae4baa6 ASoC: nau8824: fix the issue of the widget with prefix name
f4f4303c6d54 ASoC: dpcm: prevent snd_soc_dpcm use after free
71ec072682ff ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform
ad8af1f8d26e ASoC:hdac_hda:use correct format to setup hda codec
30d948ac01d9 ASoC:soc-pcm:fix a codec fixup issue in TDM case
6872cfa57c42 ASoC: stm32: sai: fix race condition in irq handler
b329de3769b0 ASoC: stm32: sai: fix exposed capabilities in spdif mode
27162c8fdfb9 ASoC: stm32: sai: fix iec958 controls indexation
aba1a357cd90 ASoC: hdmi-codec: fix S/PDIF DAI
045c73ba325d ASoC: tlv320aic3x: fix reset gpio reference counting
ce3a072f275a staging: most: sound: pass correct device when creating a sound card
2dbcc037de1a staging: most: cdev: fix chrdev_region leak in mod_exit
3f57fef02fa7 staging: wilc1000: Avoid GFP_KERNEL allocation from atomic context.
9cccac4ee35f staging: greybus: power_supply: fix prop-descriptor request size
9fe5b8e9d4c2 ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings
7c03a3534d24 Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
634424f63373 net: stmmac: Use bfsize1 in ndesc_init_rx_desc
(From OE-Core rev: 69e6a1b936739db71a4c6ca9d5c1e245b4caf1f0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of commit 898490c010b [moduleparam: Save information about built-in
modules in separate file] (kernels v5.2-rc1+), modules.builtin.modinfo
is generated as part of the kernel build process.
We package it along with the other module artifacts, so it can be used
by scripts/other build steps.
(From OE-Core rev: 3cd5e794dc562eb2cca1592c709886473c233acf)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
commits:
dafc674bbcb1 Linux 4.19.44
9fa23ea14e8f PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
76888d135c4e PCI: hv: Add hv_pci_remove_slots() when we unload the driver
a47e0054253f PCI: hv: Fix a memory leak in hv_eject_device_work()
4179b8580219 powerpc/booke64: set RI in default MSR
71b20cdb4353 powerpc/powernv/idle: Restore IAMR after idle
69c2b71cb0c1 powerpc/book3s/64: check for NULL pointer in pgd_alloc()
e9ec5073c90d drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
ee3b53d89967 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
afa485dc6f17 tipc: fix hanging clients using poll with EPOLLOUT flag
98652e0b0a1b isdn: bas_gigaset: use usb_fill_int_urb() properly
17d8a9ebaa99 tuntap: synchronize through tfiles array instead of tun->numqueues
9c79732f98a8 tuntap: fix dividing by zero in ebpf queue selection
737713e6d835 vrf: sit mtu should not be updated when vrf netdev is the link
e38406070729 vlan: disable SIOCSHWTSTAMP in container
dfdfad3d188f selinux: do not report error on connect(AF_UNSPEC)
9f51d6f72063 packet: Fix error path in packet_init
2e95eb9c92f7 net: ucc_geth - fix Oops when changing number of buffers in the ring
210057b79e71 net: seeq: fix crash caused by not set dev.parent
dfd919285f27 net: macb: Change interrupt and napi enable order in open
68df8383f3ca net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
9284895b7ee6 net: dsa: Fix error cleanup path in dsa_init_module
da2e770f0c4a ipv4: Fix raw socket lookup for local traffic
947fec630c41 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
c7b5e55be825 dpaa_eth: fix SG frame cleanup
a79feef32392 bridge: Fix error path for kobject_init_and_add()
9c2cda31196a bonding: fix arp_validate toggling in active-backup mode
0dc9ad4e904d powerpc/64s: Include cpu header
db1b4aa651df um: Don't hardcode path as it is architecture dependent
85f347944a6b Don't jump to compute_result state from check_result state
ace28a8efdd4 rtlwifi: rtl8723ae: Fix missing break in switch statement
d756d1dea670 mwl8k: Fix rate_idx underflow
c300c98a94b4 cw1200: fix missing unlock on error in cw1200_hw_scan()
575260507647 x86/kprobes: Avoid kretprobe recursion bug
322a57551d06 nfc: nci: Potential off by one in ->pipes[] array
f5e60565e6bd NFC: nci: Add some bounds checking in nci_hci_cmd_received()
21e9515b7d16 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
85b9e8694f9c net/tls: fix the IV leaks
e38c6748d1cc mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
835ae6cc28d9 mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
880a328e197b mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
a80f62f781c2 mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
fb7c783b3139 net: fec: manage ahb clock in runtime pm
c18731c2786c netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
5014aa937422 netfilter: nf_tables: use-after-free in dynamic operations
9965da064e9a usb: typec: Fix unchecked return value
68321994225d mm/memory.c: fix modifying of page protection by insert_pfn()
bc3361461fcb net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
19f4f94fdb2a powerpc/smp: Fix NMI IPI xmon timeout
f8bd34d1d399 powerpc/smp: Fix NMI IPI timeout
6a60fb62c82a mm/memory_hotplug.c: drop memory device reference after find_memory_block()
fb67c97c4e2f RDMA/hns: Bugfix for mapping user db
afc7cebbbb5e Input: synaptics-rmi4 - fix possible double free
f621bc1bd7f4 drm/sun4i: Unbind components before releasing DRM and memory
21b71e191bd8 spi: ST ST95HF NFC: declare missing of table
09185e359827 spi: Micrel eth switch: declare missing of table
3835cb5a911f ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
521ae4da71cc drm/imx: don't skip DP channel disable for background plane
df3a97d197a3 gpu: ipu-v3: dp: fix CSC handling
3a53fa469d60 netfilter: fix nf_l4proto_log_invalid to log invalid packets
5bc3d4491821 selftests/net: correct the return value for run_netsocktests
24b1c849ce9d drm/sun4i: Fix component unbinding and component master deletion
1973df1ec5bc drm/sun4i: Set device driver data at bind time for use in unbind
005325b7f026 s390: ctcm: fix ctcm_new_device error return code
ca8648816e3d MIPS: perf: ath79: Fix perfcount IRQ assignment
743a5a951d4d netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
7b115755fb9d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
4e1994ef6365 ipvs: do not schedule icmp errors from tunnels
cb9a11d017c6 selftests: netfilter: check icmp pkttoobig errors are set as related
74e9b761fba0 init: initialize jump labels before command line option parsing
6536de8232c8 mm: fix inactive list balancing between NUMA nodes and cgroups
1134736869ef scsi: aic7xxx: fix EISA support
ba87f547b0f7 ocelot: Don't sleep in atomic context (irqs_disabled())
9e4fd5e0b81a ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
7d4d8683e925 tools lib traceevent: Fix missing equality check for strcmp
0c8afd514df0 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
d39f3cc71382 KVM: fix spectrev1 gadgets
4074bc379b1f x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
3b51d71365e0 x86/build/lto: Fix truncated .bss with -fdata-sections
8eb64692d6e2 s390/pkey: add one more argument space for debug feature entry
e360515f41fc drm/amd/display: If one stream full updates, full update all planes
58be7c109cea afs: Unlock pages for __pagevec_release()
08f2c299b38c qede: fix write to free'd pointer error and double free of ptp
090b74020014 vxge: fix return of a free'd memblock on a failed dma mapping
f83beff28048 mISDN: Check address length before reading address family
e4525c9d9ada selftests: fib_tests: Fix 'Command line is not complete' errors
7828986b84ba clocksource/drivers/oxnas: Fix OX820 compatible
6a414ef36840 clocksource/drivers/npcm: select TIMER_OF
068d1cce7801 drm/amd/display: extending AUX SW Timeout
2773e7454f4f s390/3270: fix lockdep false positive on view->lock
4c8c9d514917 libnvdimm/pmem: fix a possible OOB access when read and write pmem
f2565d0e5277 nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
1d918120e37d mac80211: fix memory accounting with A-MSDU aggregation
9d4da01f7d66 cfg80211: Handle WMM rules in regulatory domain intersection
35e2abbaffa2 mac80211: Increase MAX_MSG_LEN
bbe1ab38e1a2 mac80211: fix unaligned access in mesh table hash function
e28e5055eacd s390/dasd: Fix capacity calculation for large volumes
af5b7a150ef8 libnvdimm/btt: Fix a kmemdup failure check
f7ab4818f74e HID: input: add mapping for "Toggle Display" key
bbdccc170adf HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
dc30867da997 HID: input: add mapping for Expose/Overview key
e94f852e2034 libnvdimm/namespace: Fix a potential NULL pointer dereference
5f72e3a021a6 acpi/nfit: Always dump _DSM output payload
f07db1f1f54c iio: adc: xilinx: prevent touching unclocked h/w on remove
6400212ae3b6 iio: adc: xilinx: fix potential use-after-free on probe
06d5ea398e55 iio: adc: xilinx: fix potential use-after-free on remove
5640d0781267 USB: serial: fix unthrottle races
4c416eef65a7 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
e361ccccdd51 kernfs: fix barrier usage in __kernfs_new_node()
f1917f21c8f6 hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
87cc345aefc9 platform/x86: dell-laptop: fix rfkill functionality
381eaca5017f platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
efe6802e812b platform/x86: sony-laptop: Fix unintentional fall-through
824c212908b6 bfq: update internal depth state when queue depth changes
3351e9d39947 Linux 4.19.43
b21bde49d386 x86/speculation/mds: Fix documentation typo
8e65568e9d23 Documentation: Correct the possible MDS sysfs values
2e4c54890226 x86/mds: Add MDSUM variant to the MDS documentation
12a0dad799fb x86/speculation/mds: Add 'mitigations=' support for MDS
59a14fb5832c s390/speculation: Support 'mitigations=' cmdline option
74857f69fec5 powerpc/speculation: Support 'mitigations=' cmdline option
af5332dd991e x86/speculation: Support 'mitigations=' cmdline option
8cb932aca5d6 cpu/speculation: Add 'mitigations=' cmdline option
7ba793ae7b9f x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
e9ae32266605 x86/speculation/mds: Fix comment
b9faa4652867 x86/speculation/mds: Add SMT warning message
b3a63d9c7453 x86/speculation: Move arch_smt_update() call to after mitigation decisions
f7a119a762ef x86/speculation/mds: Add mds=full,nosmt cmdline option
cfaa3d76301e Documentation: Add MDS vulnerability documentation
e3803099d2f4 Documentation: Move L1TF to separate directory
c50e81fe8a13 x86/speculation/mds: Add mitigation mode VMWERV
8230c2028dce x86/speculation/mds: Add sysfs reporting for MDS
2951067089a3 x86/speculation/mds: Add mitigation control for MDS
4df98b3f3161 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
b39dc9a8cced x86/kvm/vmx: Add MDS protection when L1D Flush is not active
e4fa775b5606 x86/speculation/mds: Clear CPU buffers on exit to user
1f7c31be1e04 x86/speculation/mds: Add mds_clear_cpu_buffers()
de89ff6f1674 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
aca9e8d8e2ce x86/speculation/mds: Add BUG_MSBDS_ONLY
2e9104aa2633 x86/speculation/mds: Add basic bug infrastructure for MDS
00b76324bd35 x86/speculation: Consolidate CPU whitelists
e09450ffa980 x86/msr-index: Cleanup bit defines
ca0056d97840 kvm: x86: Report STIBP on GET_SUPPORTED_CPUID
1f1bc8222ce7 x86/cpu: Sanitize FAM6_ATOM naming
34aae15cb179 Documentation/l1tf: Fix small spelling typo
9c2556f428cf Linux 4.19.42
9ccdbde1850c arm64: futex: Bound number of LDXR/STXR loops in FUTEX_WAKE_OP
0f4ef8fb1dae locking/futex: Allow low-level atomic operations to return -EAGAIN
6fee39874d1f ASoC: Intel: avoid Oops if DMA setup fails
c3b3955f0250 UAS: fix alignment of scatter/gather segments
38f092c41ceb Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
c6d1f9b4b2cb Bluetooth: hidp: fix buffer overflow
de7fe08b92dc scsi: qla2xxx: Fix device staying in blocked state
ef7014d76361 scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
7a793ca17357 scsi: lpfc: change snprintf to scnprintf for possible overflow
8b330b3efa91 soc: sunxi: Fix missing dependency on REGMAP_MMIO
557be5771563 cpufreq: armada-37xx: fix frequency calculation for opp
6b7daf1ff8bf intel_th: pci: Add Comet Lake support
5b2ba94386eb usb-storage: Set virt_boundary_mask to avoid SG overflows
18e6f3027642 USB: cdc-acm: fix unthrottle races
bce2b9d63786 USB: serial: f81232: fix interrupt worker not stop
caa5680dc05a usb: dwc3: Fix default lpm_nyet_threshold value
33f2aa87c294 genirq: Prevent use-after-free and work list corruption
29184cbaaec0 iommu/amd: Set exclusion range correctly
42638d6aae06 perf/core: Fix perf_event_disable_inatomic() race
c1189d68be7d platform/x86: pmc_atom: Drop __initconst on dmi table
777943cd6c5f nvme-fc: correct csn initialization and increments on error
0e8e67b8147f virtio-blk: limit number of hw queues by nr_cpu_ids
d955bb0b3189 ASoC: Intel: kbl: fix wrong number of channels
e5c749ad6d7f drm/mediatek: fix possible object reference leak
8f4dbd17777f scsi: csiostor: fix missing data copy in csio_scsi_err_handler()
fb357b9eb47d RDMA/hns: Fix bug that caused srq creation to fail
8dfb2896d8c7 RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove
5984fd687600 virtio_pci: fix a NULL pointer reference in vp_del_vqs
a8f5c1bceb25 drm/sun4i: tcon top: Fix NULL/invalid pointer dereference in sun8i_tcon_top_un/bind
78bc98235e84 slab: fix a crash by reading /proc/slab_allocators
cf6cb79d57b0 objtool: Add rewind_stack_do_exit() to the noreturn list
e66e72710962 ASoC: cs35l35: Disable regulators on driver removal
dd015a3b072a drm/amd/display: fix cursor black issue
88294658ddbe ASoC: rockchip: pdm: fix regmap_ops hang issue
95587274e9d5 linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()
7d10436ca569 perf/x86/intel: Initialize TFA MSR
2b791e8ee7b2 perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS
929d019d6d44 drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()
0fb785e28833 ASoC: tlv320aic32x4: Fix Common Pins
e6efcbf3cbce MIPS: KGDB: fix kgdb support for SMP platforms.
09c6954e83e8 IB/hfi1: Fix the allocation of RSM table
3abd4aef917f IB/hfi1: Eliminate opcode tests on mr deref
1ed91af83a45 drm/omap: hdmi4_cec: Fix CEC clock handling for PM
d356db088333 ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol
6f69661f6ebe ASoC: cs4270: Set auto-increment bit for register writes
8f5077ceee5f ASoC: stm32: dfsdm: fix debugfs warnings on entry creation
33ffe0807d52 ASoC: stm32: dfsdm: manage multiple prepare
74f5898f660d clk: meson-gxbb: round the vdec dividers to closest
8aa62dc731e5 ASoC: wm_adsp: Add locking to wm_adsp2_bus_error
2ece73fe079b ASoC: rt5682: recording has no sound after booting
afcbb3c755c9 ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate
7525d6104ca4 ASoC: nau8810: fix the issue of widget with prefixed name
c2119de4ed41 ASoC: nau8824: fix the issue of the widget with prefix name
29f1b9761520 ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform
581a8bd9fa8b ASoC:soc-pcm:fix a codec fixup issue in TDM case
c37f7344075a ASoC: stm32: sai: fix exposed capabilities in spdif mode
2aeceaaff09b ASoC: stm32: sai: fix iec958 controls indexation
6544b4966193 ASoC: hdmi-codec: fix S/PDIF DAI
98a80393b82a ASoC: tlv320aic3x: fix reset gpio reference counting
34ae4c6a3609 staging: most: cdev: fix chrdev_region leak in mod_exit
2197e11bb624 staging: greybus: power_supply: fix prop-descriptor request size
35d2c86db2d4 ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings
eb7b8d1afb92 Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
0f18e433b97b scsi: libsas: fix a race condition when smp task timeout
e629cabe34ed net: stmmac: Use bfsize1 in ndesc_init_rx_desc
21de7eb67cff Linux 4.19.41
e7c2d066566b mm/kmemleak.c: fix unused-function warning
5b94768bd07c ASoC: wm_adsp: Check for buffer in trigger stop
c5c74e63985f media: v4l2: i2c: ov7670: Fix PLL bypass register values
5f18c95d2964 i2c: i2c-stm32f7: Fix SDADEL minimum formula
7a32cbf1720b x86/mm/tlb: Revert "x86/mm: Align TLB invalidation info"
c48b027f2aa3 x86/mm: Fix a crash with kmemleak_scan()
052c78f5cfe2 x86/mm/KASLR: Fix the size of the direct mapping section
d572a3a03f63 clk: x86: Add system specific quirk to mark clocks as critical
61ff44069f5b x86/mce: Improve error message when kernel cannot recover, p2
c7e220eff874 powerpc/mm/hash: Handle mmap_min_addr correctly in get_unmapped_area topdown search
a78c3898de59 mac80211: Honor SW_CRYPTO_CONTROL for unicast keys in AP VLAN mode
574be221407e selinux: never allow relabeling on context mounts
6b13ae52ac75 selinux: avoid silent denials in permissive mode under RCU walk
53ffa56456fb gpio: mxc: add check to return defer probe if clock tree NOT ready
a10c88bf365a Input: stmfts - acknowledge that setting brightness is a blocking call
a99b9c82bde6 Input: snvs_pwrkey - initialize necessary driver data before enabling IRQ
8d5c1c039708 IB/core: Destroy QP if XRC QP fails
841487432d11 IB/core: Fix potential memory leak while creating MAD agents
dabcbe58d8bc IB/core: Unregister notifier before freeing MAD security
d1698f74bdbd platform/x86: intel_pmc_core: Handle CFL regmap properly
51e777c795ce platform/x86: intel_pmc_core: Fix PCH IP name
d4f1e3ef9586 ASoC: stm32: fix sai driver name initialisation
7d3f7107079b ASoC: wm_adsp: Correct handling of compressed streams that restart
3b958d5e6972 ASoC: Intel: bytcr_rt5651: Revert "Fix DMIC map headsetmic mapping"
9d696f405e6d scsi: RDMA/srpt: Fix a credit leak for aborted commands
f16e83170e25 staging: iio: adt7316: fix the dac write calculation
ad774285beee staging: iio: adt7316: fix the dac read calculation
7041e3d6b81f staging: iio: adt7316: allow adt751x to use internal vref for all dacs
2ccaef716388 clk: qcom: Add missing freq for usb30_master_clk on 8998
8897bf03ec30 Bluetooth: mediatek: fix up an error path to restore bdev->tx_state
f5ad05e680aa Bluetooth: btusb: request wake pin with NOAUTOEN
3f8497cfff3b perf/x86/amd: Update generic hardware cache events for Family 17h
96e4471d3881 block: pass no-op callback to INIT_WORK().
14f3c36b47ed ARM: iop: don't use using 64-bit DMA masks
39839f3ec616 ARM: orion: don't use using 64-bit DMA masks
04b4d5f75ab0 fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock
a82cfd770651 xsysace: Fix error handling in ace_setup
54ad0956ef93 sh: fix multiple function definition build errors
b51fdcbe45d1 hugetlbfs: fix memory leak for resv_map
6a62bbe82343 kmemleak: powerpc: skip scanning holes in the .bss section
82e8da1f1a91 KVM: SVM: prevent DBG_DECRYPT and DBG_ENCRYPT overflow
57186663b3a1 libcxgb: fix incorrect ppmax calculation
5c5e9f23df7a net: hns: Fix WARNING when remove HNS driver with SMMU enabled
c9f431017617 net: hns: fix ICMP6 neighbor solicitation messages discard problem
1ff38d33d7c4 net: hns: Fix probabilistic memory overwrite when HNS driver initialized
7713ee691767 net: hns: Use NAPI_POLL_WEIGHT for hns driver
7e7befd8dee2 net: hns: fix KASAN: use-after-free in hns_nic_net_xmit_hw()
98d6651f1878 arm64: fix wrong check of on_sdei_stack in nmi context
69da58b7386c arm/mach-at91/pm : fix possible object reference leak
8052c066e6d0 scsi: storvsc: Fix calculation of sub-channel count
03260f46f2d1 scsi: core: add new RDAC LENOVO/DE_Series device
4d043d3d2be1 vfio/pci: use correct format characters
7ce0b428c046 HID: input: add mapping for Assistant key
ce9e2dc03f63 rtc: da9063: set uie_unsupported when relevant
e5be04ee1766 block: use blk_free_flush_queue() to free hctx->fq in blk_mq_init_hctx
177edf25706a mfd: twl-core: Disable IRQ while suspended
f0112b649525 debugfs: fix use-after-free on symlink traversal
e22c11da0a86 jffs2: fix use-after-free on symlink traversal
7cce2543cbcd net: stmmac: don't log oversized frames
f86c1d3f10a2 net: stmmac: fix dropping of multi-descriptor RX frames
0ab012e3df48 net: stmmac: don't overwrite discard_frame status
2170bbf19f6e net: stmmac: don't stop NAPI processing when dropping a packet
cd50daabf5ee net: stmmac: ratelimit RX error logs
c13a936f46e3 net: stmmac: use correct DMA buffer size in the RX descriptor
824451fdcfc2 bonding: show full hw address in sysfs for slave entries
f91bb70a3616 net/mlx5: E-Switch, Fix esw manager vport indication for more vport commands
7e0548e111e5 net: hns3: fix compile error
6869dd570f10 HID: quirks: Fix keyboard + touchpad on Lenovo Miix 630
bc031095828b riscv: fix accessing 8-byte variable from RV32
0424b0b35793 igb: Fix WARN_ONCE on runtime suspend
cc04b5b3314a reset: meson-audio-arb: Fix missing .owner setting of reset_controller_dev
ef9533481c11 ARM: dts: rockchip: Fix gpu opp node names for rk3288
894b4fc04387 batman-adv: fix warning in function batadv_v_elp_get_throughput
7afe374cc718 batman-adv: Reduce tt_global hash refcnt only for removed entry
6957021da735 batman-adv: Reduce tt_local hash refcnt only for removed entry
be807f9b4fc4 batman-adv: Reduce claim hash refcnt only for removed entry
8a734e251c0c rtc: sh: Fix invalid alarm warning for non-enabled alarm
5b5c653ddf91 rtc: cros-ec: Fail suspend/resume if wake IRQ can't be configured
2f4052ffd9be HID: debug: fix race condition with between rdesc_show() and device removal
61effc648fe4 HID: logitech: check the return value of create_singlethread_workqueue
dbfef4bd8836 arm64: dts: rockchip: fix rk3328-roc-cc gmac2io tx/rx_delay
3e6b472f474a efi: Fix debugobjects warning on 'efi_rts_work'
30673786f906 nvme-loop: init nvmet_ctrl fatal_err_work when allocate
83c6688d679c USB: core: Fix bug caused by duplicate interface PM usage counter
7b73c2a056b3 USB: core: Fix unterminated string returned by usb_string()
7df0d2c7d092 usb: usbip: fix isoc packet num validation in get_pipe
512ce15023a8 USB: dummy-hcd: Fix failure to give back unlinked URBs
508954883054 USB: w1 ds2490: Fix bug caused by improper use of altsetting array
9f632afe4f39 USB: yurex: Fix protection fault after device removal
f02c6460a5b6 ALSA: hda/realtek - Apply the fixup for ASUS Q325UAR
347411f9aded ALSA: hda/realtek - Fixed Dell AIO speaker noise
f937634b6626 ALSA: hda/realtek - Add new Dell platform for headset mode
b19c230648b5 i2c: Prevent runtime suspend of adapter when Host Notify is required
04e07919f7da i2c: Allow recovery of the initial IRQ by an I2C client device.
1e031ab31843 i2c: Clear client->irq in i2c_device_remove
63eab25ed1cc i2c: Remove unnecessary call to irq_find_mapping
e89ba70e10b2 i2c: imx: correct the method of getting private data in notifier_call
d1493c5cbbad i2c: synquacer: fix enumeration of slave devices
ec30811209e4 mac80211: don't attempt to rename ERR_PTR() debugfs dirs
be7df63d3680 mwifiex: Make resume actually do something useful again on SDIO cards
81a7534f9ef4 iwlwifi: fix driver operation for 5350
(From OE-Core rev: 25e25a0c7399f7a8c353f66c6a80f5e8723ee810)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest -stable release which comprises the following
changes:
1656b1457209 Linux 4.19.40
cc313d405b0c ath10k: Drop WARN_ON()s that always trigger during system resume
d0a5000f10e7 ALSA: line6: use dynamic buffers
68d49ff47789 KVM: nVMX: Fix size checks in vmx_set_nested_state
499bbe739d5a KVM: x86: Whitelist port 0x7e for pre-incrementing %rip
d0771bd41c27 net/tls: fix copy to fragments in reencrypt
dd424182bc2d net/tls: don't copy negative amounts of data in reencrypt
f1fd68e93409 bnxt_en: Fix uninitialized variable usage in bnxt_rx_pkt().
396350737326 bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
09a921361353 bnxt_en: Improve multicast address setup logic.
6a57fa6fa7d5 packet: validate msg_namelen in send directly
7a42cf4dfa43 selftests: fib_rule_tests: print the result and return 1 if any tests failed
b563e9bbabfe sctp: avoid running the sctp state machine recursively
fdd36abd9d09 rxrpc: Fix net namespace cleanup
a976384b9553 net/tls: avoid NULL pointer deref on nskb->sk in fallback
1d412d873a12 net: phy: marvell: Fix buffer overrun with stats counters
b48a0a1207e9 net: dsa: bcm_sf2: fix buffer overflow doing set_rxnfc
485f382f2c6d l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()
e571a33963f4 l2ip: fix possible use-after-free
f78ec0cd0664 ipv6: invert flowlabel sharing check in process and user mode
39eddbb7cab3 ipv6/flowlabel: wait rcu grace period before put_pid()
1a9e0134af40 ipv6: fix races in ip6_dst_destroy()
7ea4f000c41f ipv6: A few fixes on dereferencing rt->from
3f611a479962 ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
ad119c970bbe Linux 4.19.39
ee096f0dc4a4 leds: trigger: netdev: use memcpy in device_name_store
2663959af22c leds: pca9532: fix a potential NULL pointer dereference
13a6a6dd3c11 ptrace: take into account saved_sigmask in PTRACE{GET,SET}SIGMASK
71f3397a1c31 iommu/amd: Reserve exclusion range in iova-domain
75a5e3e6340c kconfig/[mn]conf: handle backspace (^H) key
458a65c71029 perf machine: Update kernel map address and re-order properly
60d3b51d05a7 nvme-multipath: relax ANA state check
a918af5b6fd8 gpio: of: Fix of_gpiochip_add() error path
43dba153d52b libata: fix using DMA buffers on stack
6a364b2e47a6 x86/mm: Don't exceed the valid physical address space
a138f995ab84 scsi: zfcp: reduce flood of fcrscn1 trace records on multi-element RSCN
97c4f3a8853c ceph: fix use-after-free on symlink traversal
90ce58d457c2 usb: u132-hcd: fix resource leak
fe71e625e23f x86/realmode: Don't leak the trampoline kernel address
04cac1dce923 leds: trigger: netdev: fix refcnt leak on interface rename
0018c21f34d6 usb: usb251xb: fix to avoid potential NULL pointer dereference
4135e588274e scsi: qla4xxx: fix a potential NULL pointer dereference
a2b302e4f2fb scsi: aacraid: Insure we don't access PCIe space during AER/EEH
2c8c8ef8d3b4 scsi: mpt3sas: Fix kernel panic during expander reset
6222f1c6ed97 ARM: davinci: fix build failure with allnoconfig
5d545dde8d9d drm/meson: Uninstall IRQ handler
efa69a66697c drm/meson: Fix invalid pointer in meson_drv_unbind()
c87a5086d354 gpio: aspeed: fix a potential NULL pointer dereference
c5eb9a424ebd drm: Fix drm_release() and device unplug
11242181f52f net: ethernet: ti: fix possible object reference leak
ae6e6bbc1741 net: ibm: fix possible object reference leak
b9c8db41912f net: xilinx: fix possible object reference leak
b989a3e9d260 NFS: Fix a typo in nfs_init_timeout_values()
e0c34051669c drm/tegra: hub: Fix dereference before check
abd76731f899 ARM: dts: imx6qdl: Fix typo in imx6qdl-icore-rqs.dtsi
2b0e6d6bf088 net/sched: don't dereference a->goto_chain to read the chain index
b435a79e5a87 net: macb: Add null check for PCLK and HCLK
f85682bc594a staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc
c5750b45e406 staging: rtl8712: uninitialized memory in read_bbreg_hdl()
5a5f1decd6fc staging: rtlwifi: rtl8822b: fix to avoid potential NULL pointer dereference
d55bfd0746ae staging: rtl8188eu: Fix potential NULL pointer dereference of kcalloc
bfa4cd06a902 net: ks8851: Set initial carrier state to down
3796ab4828ed net: ks8851: Delay requesting IRQ until opened
3005509f88e3 net: ks8851: Reassert reset pin if chip ID check fails
fb6ca157d738 net: ks8851: Dequeue RX packets explicitly
cdef35e83c3f i2c: i801: Add support for Intel Comet Lake
c6694e7c8bf6 ARM: dts: pfla02: increase phy reset duration
41be4abfb04d usb: gadget: net2272: Fix net2272_dequeue()
edaebfe7721c usb: gadget: net2280: Fix net2280_dequeue()
346eab0d1559 usb: gadget: net2280: Fix overrun of OUT messages
710d4f29fe38 usb: dwc3: pci: add support for Comet Lake PCH ID
e4705ae72736 KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots
0371fa033741 KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory
51a5d70a59ee KVM: arm64: Reset the PMU in preemptible context
2ba0421f2b77 serial: ar933x_uart: Fix build failure with disabled console
1d815c5a9434 sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()
2cbb465e526a ARM: imx51: fix a leaked reference by adding missing of_node_put
f67021192cc1 s390/qeth: fix race when initializing the IP address table
e634fc48661f netfilter: ip6t_srh: fix NULL pointer dereferences
506375f509b8 netfilter: fix NETFILTER_XT_TARGET_TEE dependencies
a5374a3086d6 netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING
5f7e5b9bba19 netfilter: nft_set_rbtree: check for inactive element after flag mismatch
2fbb4c48f138 staging, mt7621-pci: fix build without pci support
99f1ba88d7f8 staging: axis-fifo: add CONFIG_OF dependency
947bd0d9bdbc xsk: fix umem memory leak on cleanup
fc055dffa575 qlcnic: Avoid potential NULL pointer dereference
98650508a9d0 net: stmmac: don't set own bit too early for jumbo frames
24a46cad0e18 ieee802154: hwsim: propagate genlmsg_reply return code
f722b7789afa net: ieee802154: fix a potential NULL pointer dereference
a1e34e289e15 s390: limit brk randomization to 32MB
d52dfdf1845d ARM: dts: bcm283x: Fix hdmi hpd gpio pull
0311ff82b70f fs: prevent page refcount overflow in pipe_buf_get
d972ebbf42ba mm: prevent get_user_pages() from overflowing page refcount
0612cae7ec6b mm: add 'try_get_page()' helper function
9f6da5fd0557 mm: make page ref count overflow check tighter and more explicit
99ae2bd0772f Revert "ACPICA: Clear status of GPEs before enabling them"
145f6a70bb9b selinux: use kernel linux/socket.h for genheaders and mdp
a03957ab0fd5 Linux 4.19.38
5cb299c80651 powerpc/fsl: Add FSL_PPC_BOOK3E as supported arch for nospectre_v2 boot arg
53db65232428 net/tls: don't leak IV and record seq when offload fails
d3bdd359fa53 net/tls: avoid potential deadlock in tls_set_device_offload_rx()
041b3224e8f8 net/mlx5e: Fix use-after-free after xdp_return_frame
ae6b07107458 net/mlx5e: Fix the max MTU check in case of XDP
b08774d38882 mlxsw: spectrum: Put MC TCs into DWRR mode
21e47998d959 mlxsw: pci: Reincrease PCI reset timeout
e875a409594b net: hns: Fix WARNING when hns modules installed
7ce836e8a963 team: fix possible recursive locking when add slaves
1f78e75e85bb stmmac: pci: Adjust IOT2000 matching
e97f0bc7be88 net/tls: fix refcount adjustment in fallback
b02f8aa85604 net: stmmac: move stmmac_check_ether_addr() to driver probe
d7b10dfe6c31 net/rose: fix unbound loop in rose_loopback_timer()
ed1866aa608a net: rds: exchange of 8K and 1M pool
7da11d6a5d85 net/mlx5e: ethtool, Remove unsupported SFP EEPROM high pages query
829fd9849e44 mlxsw: spectrum: Fix autoneg status in ethtool
250e51f856e1 ipv4: set the tcp_min_rtt_wlen range from 0 to one day
07445fea9575 ipv4: add sanity checks in ipv4_link_failure()
d4ff57d0320b x86/fpu: Don't export __kernel_fpu_{begin,end}()
423497a96d4a mm: Fix warning in insert_pfn()
e923c6b70ce2 x86/retpolines: Disable switch jump tables when retpolines are enabled
6cfcff3cfb0e x86, retpolines: Raise limit for generating indirect calls from switch-case
e9e47779aaa7 Fix aio_poll() races
aab66dfb757a aio: store event at final iocb_put()
c20202c51d2b aio: keep io_event in aio_kiocb
592ea630b081 aio: fold lookup_kiocb() into its sole caller
c7f2525abfec pin iocb through aio.
d6b2615f7d31 aio: simplify - and fix - fget/fput for io_submit()
2afa01cd9186 aio: initialize kiocb private in case any filesystems expect it.
a812f7b68a39 aio: abstract out io_event filler helper
d384f8b855a5 aio: split out iocb copy from io_submit_one()
4d677689742a aio: use iocb_put() instead of open coding it
ef529eead8cf aio: don't zero entire aio_kiocb aio_get_req()
730198c889d8 aio: separate out ring reservation from req allocation
b3373253f0ba aio: use assigned completion handler
9101cbe70ef6 aio: clear IOCB_HIPRI
920ecc72093d rxrpc: fix race condition in rxrpc_input_packet()
5a228d5ddca2 net/rds: Check address length before reading address family
e30203e4f94d net: netrom: Fix error cleanup path of nr_proto_init
a0cb0faa15f3 tipc: check link name with right length in tipc_nl_compat_link_set
f21fae8049cd tipc: check bearer name with right length in tipc_nl_compat_bearer_enable
9b9b0df4e788 fm10k: Fix a potential NULL pointer dereference
f7dc13d6e4a2 netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON
94ad68a6e570 NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.
245a94a0ffab sched/deadline: Correctly handle active 0-lag timers
6bf7d3c5c0c5 binder: fix handling of misaligned binder object
8c37f7c23c02 workqueue: Try to catch flush_work() without INIT_WORK().
4d476a00b3f9 fs/proc/proc_sysctl.c: Fix a NULL pointer dereference
bce00f419c9d intel_th: gth: Fix an off-by-one in output unassigning
9c8c39bae89a slip: make slhc_free() silently accept an error pointer
f41d2de67101 USB: Consolidate LPM checks to avoid enabling LPM twice
50cda8891818 USB: Add new USB LPM helpers
8c700e902ceb drm/vc4: Fix compilation error reported by kbuild test bot
2bc7ce32eb21 Revert "drm/i915/fbdev: Actually configure untiled displays"
2c892ef09435 drm/vc4: Fix memory leak during gpu reset.
087341c0f40d powerpc/mm/radix: Make Radix require HUGETLB_PAGE
478afe341d29 ARM: 8857/1: efi: enable CP15 DMB instructions before cleaning the cache
129c337c6659 dmaengine: sh: rcar-dmac: Fix glitch in dmaengine_tx_status
0f00e1c599b3 dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid
f7b467ad1be0 vfio/type1: Limit DMA mappings per container
ac9e2bece112 Input: synaptics-rmi4 - write config register values to the right offset
37ecf31a3e5e perf/x86/intel: Update KBL Package C-state events to also include PC8/PC9/PC10 counters
c0309570a5f1 sunrpc: don't mark uninitialised items as VALID.
b4d4b5e4b839 nfsd: Don't release the callback slot unless it was actually held
950eec812600 ceph: fix ci->i_head_snapc leak
246d2bf32da1 ceph: ensure d_name stability in ceph_dentry_hash()
8d693ef0141c ceph: only use d_name directly when parent is locked
9b8c07129ddf sched/numa: Fix a possible divide-by-zero
1af34bf97eca RDMA/mlx5: Do not allow the user to write to the clock page
8ac57d1bdc25 IB/rdmavt: Fix frwr memory registration
d0264d10ae6a trace: Fix preempt_enable_no_resched() abuse
7f9c9d1d79fd MIPS: scall64-o32: Fix indirect syscall number load
ce900ddd660d lib/Kconfig.debug: fix build error without CONFIG_BLOCK
710733e539d1 zram: pass down the bvec we need to read into in the work struct
a19e4a1b4c63 gpio: eic: sprd: Fix incorrect irq type setting for the sync EIC
cffeb9c84d20 tracing: Fix buffer_ref pipe ops
0e78e92da2d8 tracing: Fix a memory leak by early error exit in trace_pid_write()
ee231063ff95 cifs: do not attempt cifs operation on smb2+ rename error
d5bf783a09a0 cifs: fix memory leak in SMB2_read
15e978391577 net: dsa: mv88e6xxx: add call to mv88e6xxx_ports_cmode_init to probe for new DSA framework
984c4e00c387 ALSA: hda/ca0132 - Fix build error without CONFIG_PCI
1e0cab1bce57 powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64
ae5e0c773ca6 ipvs: fix warning on unused variable
8e59639791f2 vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock
416699b9bb90 drm/rockchip: fix for mailbox read validation.
1832b1517c2b loop: do not print warn message if partition scan is successful
070e34b627f4 tipc: handle the err returned from cmd header function
8766cc7d0d1d ext4: fix some error pointer dereferences
816e3e2258e8 net: mvpp2: fix validate for PPv2.1
e7ddd6af17e4 net/ibmvnic: Fix RTNL deadlock during device reset
ffc1d85e8c5f netfilter: nf_tables: bogus EBUSY in helper removal from transaction
e313d5da057b netfilter: nf_tables: bogus EBUSY when deleting set after flush
25ddad73070c netfilter: nf_tables: fix set double-free in abort path
8906234c5015 netfilter: nft_compat: use .release_ops and remove list of extension
4f67e8976f7b netfilter: nft_compat: don't use refcount_inc on newly allocated entry
af26f3e2903b netfilter: nf_tables: unbind set in rule from commit path
27458b5457d3 netfilter: nf_tables: warn when expr implements only one of activate/deactivate
cb2e343d1d85 netfilter: nft_compat: destroy function must not have side effects
3dbba8ebb066 netfilter: nf_tables: split set destruction in deactivate and destroy phase
7693bae6b314 netfilter: nft_compat: make lists per netns
db99f122cbf8 netfilter: nft_compat: use refcnt_t type for nft_xt reference count
19bb613acb9a Linux 4.19.37
cdd369fe0f98 kernel/sysctl.c: fix out-of-bounds access when setting file-max
ac54bc121e1f Revert "locking/lockdep: Add debug_locks check in __lock_downgrade()"
9c1862566176 i2c-hid: properly terminate i2c_hid_dmi_desc_override_table[] array
52dde1160f17 ASoC: rockchip: add missing INTERLEAVED PCM attribute
a782f8475715 tools include: Adopt linux/bits.h
6580376fe810 percpu: stop printing kernel addresses
8a6f2ea0c3dd ALSA: info: Fix racy addition/deletion of nodes
1343fd8f9629 mm/vmstat.c: fix /proc/vmstat format for CONFIG_DEBUG_TLBFLUSH=y CONFIG_SMP=n
628c99a836dd device_cgroup: fix RCU imbalance in error case
c3edd427d538 sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup
c21bcc2352e9 Revert "kbuild: use -Oz instead of -Os when using clang"
1c36862e8be8 tpm: Fix the type of the return value in calc_tpm2_event_size()
18af9b7b9138 tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete
7de43cb71116 modpost: file2alias: check prototype of handler
aa0e8cc9d7a8 modpost: file2alias: go back to simple devtable lookup
87eadc0b8c2a mmc: sdhci: Handle auto-command errors
ba8a6c055677 mmc: sdhci: Rename SDHCI_ACMD12_ERR and SDHCI_INT_ACMD12ERR
b2be40b73b29 mmc: sdhci: Fix data command CRC error handling
be608583d9c4 nfit/ars: Avoid stale ARS results
40221d56ae28 nfit/ars: Allow root to busy-poll the ARS state machine
bc18c2593635 nfit/ars: Introduce scrub_flags
82a13a006ed5 nfit/ars: Remove ars_start_flags
cd37fd46b485 timers/sched_clock: Prevent generic sched_clock wrap caused by tick_freeze()
5680b0635cda x86/speculation: Prevent deadlock on ssb_state::lock
90e17512f1e4 perf/x86: Fix incorrect PEBS_REGS
293926b37013 x86/cpu/bugs: Use __initconst for 'const' init data
f45829e6250a perf/x86/amd: Add event map for AMD Family 17h
ba407222f563 drm/amdgpu/gmc9: fix VM_L2_CNTL3 programming
39cad03c4360 mac80211: do not call driver wake_tx_queue op during reconfig
852de0d53d14 rt2x00: do not increment sequence number while re-transmitting
23a926e5edd9 kprobes: Fix error check when reusing optimized probes
426e2a8024c2 kprobes: Mark ftrace mcount handler functions nokprobe
1fab567a270b x86/kprobes: Verify stack frame on kretprobe
5105fc758bdc arm64: futex: Restore oldval initialization to work around buggy compilers
96800ba9e565 drm/ttm: fix out-of-bounds read in ttm_put_pages() v2
fbe5cff93229 crypto: x86/poly1305 - fix overflow during partial reduction
dacdbc115d23 ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier
6ff17bc5936e coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
3e1b3e4d3c83 Revert "svm: Fix AVIC incomplete IPI emulation"
ee4b8e266229 Revert "scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO"
1aa2682d0a98 scsi: core: set result when the command cannot be dispatched
8f2ef0e8f967 vt: fix cursor when clearing the screen
38b7f09a9e83 serial: sh-sci: Fix HSCIF RX sampling point calculation
de6d6b8902fb serial: sh-sci: Fix HSCIF RX sampling point adjustment
ec96f65e1214 Input: elan_i2c - add hardware ID for multiple Lenovo laptops
b50e435df2d8 ALSA: core: Fix card races between register and disconnect
4171b6ee9328 ALSA: hda/realtek - add two more pin configuration sets to quirk table
4e78a1fb8d1d staging: comedi: ni_usb6501: Fix possible double-free of ->usb_rx_buf
09f9bacae118 staging: comedi: ni_usb6501: Fix use of uninitialized mutex
edf2f548baa9 staging: comedi: vmk80xx: Fix possible double-free of ->usb_rx_buf
1f01a970b8c2 staging: comedi: vmk80xx: Fix use of uninitialized semaphore
a1da981f6643 staging: most: core: use device description as name
b007c64d860f io: accel: kxcjk1013: restore the range after resume.
bbe0bed4647c iio: core: fix a possible circular locking dependency
98171e1947b6 iio: adc: at91: disable adc channel interrupt in timeout case
36971130bb2f iio: Fix scan mask selection
0e47edde9132 iio: dac: mcp4725: add missing powerdown bits in store eeprom
5ad173ea6c3a iio: ad_sigma_delta: select channel when reading register
42eae0cff22a iio: cros_ec: Fix the maths for gyro scale calculation
adfb0f0b17a3 iio:chemical:bme680: Fix SPI read interface
a3117576a73f iio:chemical:bme680: Fix, report temperature in millidegrees
f7ee6890caa5 iio/gyro/bmg160: Use millidegrees for temperature scale
8bd3fd46ec23 iio: gyro: mpu3050: fix chip ID reading
6f3e66b155f0 staging: iio: ad7192: Fix ad7193 channel address
c54d1258c637 Staging: iio: meter: fixed typo
c9e34935a351 KVM: x86: svm: make sure NMI is injected after nmi_singlestep
18cf09a81771 KVM: x86: Don't clear EFER during SMM transitions for 32-bit vCPU
2fcee5eaae6e cifs: fix handle leak in smb2_query_symlink()
c69330a855ab cifs: Fix use-after-free in SMB2_read
8fb89b43b65f cifs: Fix use-after-free in SMB2_write
8092ecc306d8 CIFS: keep FileInfo handle live during oplock break
6e2081f29392 net: IP6 defrag: use rbtrees in nf_conntrack_reasm.c
684685326ab0 net: IP6 defrag: use rbtrees for IPv6 defrag
702ddf862d9d net: IP defrag: encapsulate rbtree defrag code into callable functions
e24be8e38cd7 sch_cake: Simplify logic in cake_select_tin()
8d9051a4680a nfp: flower: remove vlan CFI bit from push vlan action
06f7d2182f9d nfp: flower: replace CFI with vlan present
cbce0413f783 sch_cake: Make sure we can write the IP header before changing DSCP bits
490532225e20 sch_cake: Use tc_skb_protocol() helper for getting packet protocol
5f72cb2ab51d route: Avoid crash from dereferencing NULL rt->from
1d2499b08600 net/mlx5: FPGA, tls, idr remove on flow delete
785833b9eee0 net/tls: prevent bad memory access in tls_is_sk_tx_device_offloaded()
7cfddb81a817 net/mlx5: FPGA, tls, hold rcu read lock a bit longer
d1785bea2f34 net: thunderx: don't allow jumbo frames with XDP
9de22b997fe4 net: thunderx: raise XDP MTU to 1508
7ba5ec69e1a7 ipv4: ensure rcu_read_lock() in ipv4_link_failure()
8a430e56a648 ipv4: recompile ip options in ipv4_link_failure
b82df42059fb vhost: reject zero size iova range
242e5746cb47 tipc: missing entries in name table of publications
a60a47206a31 team: set slave to promisc if team is already in promisc mode
6728c6174a47 tcp: tcp_grow_window() needs to respect tcp_space()
1cd878836822 net: fou: do not use guehdr after iptunnel_pull_offloads in gue_udp_recv
2804598764f9 net: Fix missing meta data in skb with vlan packet
97fd88e04c8d net: bridge: multicast: use rcu to access port list from br_multicast_start_querier
08b0b4f28008 net: bridge: fix per-port af_packet sockets
bcb964012d1b net: atm: Fix potential Spectre v1 vulnerabilities
fae6053d7611 failover: allow name change on IFF_UP slave interfaces
2a458eddc4c2 bonding: fix event handling for stacked bonds
c98875d930e9 Linux 4.19.36
0c00f71e7d7c appletalk: Fix compile regression
9e91db59e3b9 mm: hide incomplete nr_indirectly_reclaimable in sysfs
d49dea545af4 mm: hide incomplete nr_indirectly_reclaimable in /proc/zoneinfo
7a4626798276 IB/hfi1: Failed to drain send queue when QP is put into error state
e8eef7ad9841 bpf: fix use after free in bpf_evict_inode
40c6d718d78c include/linux/swap.h: use offsetof() instead of custom __swapoffset macro
48b0309f85ae f2fs: fix to dirty inode for i_mode recovery
11582064271d rxrpc: Fix client call connect/disconnect race
a7e90c1892d9 lib/div64.c: off by one in shift
6c42507f426b appletalk: Fix use-after-free in atalk_proc_exit
539282e9cd9b drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI)
91583411b5d1 ARM: 8839/1: kprobe: make patch_lock a raw_spinlock_t
1b871f39097a drm/nouveau/volt/gf117: fix speedo readout register
ad854fa3c8dc PCI: Blacklist power management of Gigabyte X299 DESIGNARE EX PCIe ports
4984d918cd46 coresight: cpu-debug: Support for CA73 CPUs
2a3c322d46e0 Revert "ACPI / EC: Remove old CLEAR_ON_RESUME quirk"
5f516d0ba082 crypto: axis - fix for recursive locking from bottom half
862adb5b0da6 drm/panel: panel-innolux: set display off in innolux_panel_unprepare
2be8987a076f lkdtm: Add tests for NULL pointer dereference
55588aebde38 lkdtm: Print real addresses
8387c1455d34 soc/tegra: pmc: Drop locking from tegra_powergate_is_powered()
29b934dd5fa0 scsi: core: Avoid that system resume triggers a kernel warning
38855a84d891 iommu/dmar: Fix buffer overflow during PCI bus notification
8c5e9ea11730 net: ip6_gre: fix possible NULL pointer dereference in ip6erspan_set_version
d7a90ee5aadd crypto: sha512/arm - fix crash bug in Thumb2 build
1f52fa127898 crypto: sha256/arm - fix crash bug in Thumb2 build
bbbe47463da9 xfrm: destroy xfrm_state synchronously on net exit path
5be4bb315de2 net/rds: fix warn in rds_message_alloc_sgs
d801282dfd2a ACPI: EC / PM: Disable non-wakeup GPEs for suspend-to-idle
e434fbf4f049 ALSA: hda: fix front speakers on Huawei MBXP
b10cc0837472 drm/ttm: Fix bo_global and mem_global kfree error
cb09e99b9ad3 platform/x86: Add Intel AtomISP2 dummy / power-management driver
491dee743d6b kernel: hung_task.c: disable on suspend
e9603cffb1ca cifs: fallback to older infolevels on findfirst queryinfo retry
fc34758d4af6 net: stmmac: Set OWN bit for jumbo frames
8722566b7870 f2fs: cleanup dirty pages if recover failed
263ed7e66b17 netfilter: nf_flow_table: remove flowtable hook flush routine in netns exit routine
19e6ff0146ef compiler.h: update definition of unreachable()
f35e2a685c81 KVM: nVMX: restore host state in nested_vmx_vmexit for VMFail
3d11fc93aa28 HID: usbhid: Add quirk for Redragon/Dragonrise Seymur 2
1424b7fefd6b ACPI / SBS: Fix GPE storm on recent MacBookPro's
0d41c7b3860e usbip: fix vhci_hcd controller counting
360186d8ab02 ARM: samsung: Limit SAMSUNG_PM_CHECK config option to non-Exynos platforms
1475ce4ff957 pinctrl: core: make sure strcmp() doesn't get a null parameter
8e271100efa6 HID: i2c-hid: override HID descriptors for certain devices
09b6c08061bb Bluetooth: Fix debugfs NULL pointer dereference
6496b9636f74 media: au0828: cannot kfree dev before usb disconnect
6947d853be19 powerpc/pseries: Remove prrn_work workqueue
7863304bc00f serial: uartps: console_setup() can't be placed to init section
1f2b1c6ab353 netfilter: xt_cgroup: shrink size of v2 path
14b183214c08 f2fs: fix to do sanity check with current segment number
7fcce1828e5f ASoC: Fix UBSAN warning at snd_soc_get/put_volsw_sx()
4369f8a38085 9p locks: add mount option for lock retry interval
db77c7890ed7 9p: do not trust pdu content for stat item size
f9368366b4d1 f2fs: fix to avoid NULL pointer dereference on se->discard_map
de1fd69b6541 rsi: improve kernel thread handling to fix kernel panic
93b7c722637c gpio: pxa: handle corner case of unprobed device
13cc3e6b2a18 drm/cirrus: Use drm_framebuffer_put to avoid kernel oops in clean-up
6fd66bec6d6a ext4: prohibit fstrim in norecovery mode
83e3e89d6639 x86/gart: Exclude GART aperture from kcore
40276e4e2fd0 fix incorrect error code mapping for OBJECTID_NOT_FOUND
777cd2681b2d x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error
cff04fad89b9 iommu/vt-d: Check capability before disabling protected memory
181117a1b4f3 drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
276084f0e017 x86/cpu/cyrix: Use correct macros for Cyrix calls on Geode processors
16dab2916615 x86/hyperv: Prevent potential NULL pointer dereference
30d9b740e201 x86/hpet: Prevent potential NULL pointer dereference
ac0343a48e7e irqchip/mbigen: Don't clear eventid when freeing an MSI
f3c3b0f1fae5 irqchip/stm32: Don't clear rising/falling config registers at init
41b1234677bd drm/exynos/mixer: fix MIXER shadow registry synchronisation code
bde271d1ad0e blk-iolatency: #include "blk.h"
b63df738ce7d PM / Domains: Avoid a potential deadlock
19302c51c043 ACPI / utils: Drop reference in test for device presence
00059edd3121 perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test()
2c843ae984a8 perf tests: Fix memory leak by expr__find_other() in test__expr()
a077618a3af8 perf tests: Fix a memory leak of cpu_map object in the openat_syscall_event_on_all_cpus test
cf050670d092 perf evsel: Free evsel->counts in perf_evsel__exit()
28848061d882 perf hist: Add missing map__put() in error case
bb644ded9e6d perf top: Fix error handling in cmd_top()
df894a047f37 perf build-id: Fix memory leak in print_sdt_events()
871aa38e9525 perf config: Fix a memory leak in collect_config()
9007d724cb08 perf config: Fix an error in the config template documentation
93d449bd6552 perf list: Don't forget to drop the reference to the allocated thread_map
c5d9104281b9 tools/power turbostat: return the exit status of a command
ada35b525486 x86/mm: Don't leak kernel addresses
52466ab20393 sched/core: Fix buffer overflow in cgroup2 property cpu.max
a8c1de3ab8b6 sched/cpufreq: Fix 32-bit math overflow
a629c32ac2d1 scsi: iscsi: flush running unbind operations when removing a session
5b67d518eaaf thermal/intel_powerclamp: fix truncated kthread name
193dd213bebd thermal/int340x_thermal: fix mode setting
10313672b3f0 thermal/int340x_thermal: Add additional UUIDs
c5161c689e81 thermal: bcm2835: Fix crash in bcm2835_thermal_debugfs
8fd403fc2a8e thermal: samsung: Fix incorrect check after code merge
0644ee713c00 thermal/intel_powerclamp: fix __percpu declaration of worker_data
a803600c5b90 ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration
94a6f47a5ecb mmc: davinci: remove extraneous __init annotation
f596ad9ea8a4 i40iw: Avoid panic when handling the inetdev event
74ed2226e65a IB/mlx4: Fix race condition between catas error reset and aliasguid flows
5e4dc4b6fc10 drm/udl: use drm_gem_object_put_unlocked.
cbba1f554b4f auxdisplay: hd44780: Fix memory leak on ->remove()
317e716a8ad9 ALSA: sb8: add a check for request_region
17829309ec00 ALSA: echoaudio: add a check for ioremap_nocache
a793860c0f52 ext4: report real fs size after failed resize
f5a94fd3b375 ext4: add missing brelse() in add_new_gdb_meta_bg()
90a1327e4ed3 ext4: avoid panic during forced reboot
673e23ce80a6 perf/core: Restore mmap record type correctly
ca306c17d2ed inotify: Fix fsnotify_mark refcount leak in inotify_update_existing_watch()
618490ba5841 arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM
2296eedef0c5 ARC: u-boot args: check that magic number is correct
4b0e041c9dad Linux 4.19.35
59bf185ae6b7 KVM: x86: nVMX: fix x2APIC VTPR read intercept
119031be7b0a KVM: x86: nVMX: close leak of L0's x2APIC MSRs (CVE-2019-3887)
f8053df634d4 ACPICA: AML interpreter: add region addresses in global list during initialization
fad502a9439e arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on rk3328-rock64
c963475972f6 arm64: dts: rockchip: fix vcc_host1_5v pin assign on rk3328-rock64
aa9ee4b1ed46 dm integrity: fix deadlock with overlapping I/O
469b40a429c5 dm table: propagate BDI_CAP_STABLE_WRITES to fix sporadic checksum errors
4f5c99e0421c dm: revert 8f50e358153d ("dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE")
30dc4d7b299d dm integrity: change memcmp to strncmp in dm_integrity_ctr
5be6e02cfbdf PCI: pciehp: Ignore Link State Changes after powering off a slot
250fef8de77c PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller
056264656a67 x86/perf/amd: Remove need to check "running" bit in NMI handler
23d39b0af08e x86/perf/amd: Resolve NMI latency issues for active PMCs
e5a791b4ab56 x86/perf/amd: Resolve race condition when disabling PMC
4b004504bfcc x86/asm: Use stricter assembly constraints in bitops
356ae4deab4b x86/asm: Remove dead __GNUC__ conditionals
f7b778b9007e xtensa: fix return_address
cb75a0c5d381 sched/fair: Do not re-read ->h_load_next during hierarchical load calculation
ed3adb562fc8 xen: Prevent buffer overflow in privcmd ioctl
84c6c2af4c53 arm64: backtrace: Don't bother trying to unwind the userspace stack
1ec54cee6333 arm64: dts: rockchip: fix rk3328 rgmii high tx error rate
82a30a5d60e3 arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value
4362ff977bc6 ARM: dts: at91: Fix typo in ISC_D0 on PC9
627a7d5a4422 ARM: dts: am335x-evm: Correct the regulators for the audio codec
57a9c1f40f5b ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
3ba48b3cf850 ARM: dts: rockchip: fix rk3288 cpu opp node reference
32fdac09765d virtio: Honour 'may_reduce_num' in vring_create_virtqueue
8b4f68b47448 genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
cd5b06a93997 genirq: Respect IRQCHIP_SKIP_SET_WAKE in irq_chip_set_wake_parent()
543bb48dc48b block: fix the return errno for direct IO
2591bfc68282 block: do not leak memory in bio_copy_user_iov()
7af20b60f6db riscv: Fix syscall_get_arguments() and syscall_set_arguments()
54fb5c9da6cd btrfs: prop: fix vanished compression property after failed set
fbfbb996d58e btrfs: prop: fix zstd compression parameter validation
16515acd5bc3 Btrfs: do not allow trimming when a fs is mounted with the nologreplay option
e6265e368022 ASoC: fsl_esai: fix channel swap issue when stream starts
19b0a7f5a083 ASoC: intel: Fix crash at suspend/resume after failed codec registration
43f47331a4ce mm: writeback: use exact memcg dirty counts
576f22ac47ba include/linux/bitrev.h: fix constant bitrev
c4f103f6ac3a kvm: svm: fix potential get_num_contig_pages overflow
93d60348edcb drm/udl: add a release method and delay modeset teardown
df4106f23d0b drm/i915/gvt: do not deliver a workload if its creation fails
a5277bcc1b7d alarmtimer: Return correct remaining time
5db86e2a9b36 parisc: also set iaoq_b in instruction_pointer_set()
53bb8444eab2 parisc: regs_return_value() should return gpr28
41cf8111f3cb parisc: Detect QEMU earlier in boot process
ba5765a243ed arm64: dts: rockchip: fix rk3328 sdmmc0 write errors
9a62d69114d7 mm/huge_memory.c: fix modifying of page protection by insert_pfn_pmd()
b3a8a3728d7e ALSA: hda - Add two more machines to the power_save_blacklist
bfea74941d6d ALSA: hda/realtek - Add quirk for Tuxedo XC 1509
c6d25f0b3653 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate B114-21 with ALC233
73b50a56e51e ALSA: seq: Fix OOB-reads from strlcpy
d4b4aeea5506 ACPICA: Namespace: remove address node from global list after method termination
ed52b07bd698 ACPICA: Clear status of GPEs before enabling them
370004024aec hwmon: (w83773g) Select REGMAP_I2C to fix build error
4ebab60d6561 tty: ldisc: add sysctl to prevent autoloading of ldiscs
894dc8495898 tty: mark Siemens R3964 line discipline as BROKEN
902eaef7781c arm64: kaslr: Reserve size of ARM64_MEMSTART_ALIGN in linear region
40177a7931e0 netfilter: nfnetlink_cttimeout: fetch timeouts for udplite and gre, too
c2d27b330a98 netfilter: nfnetlink_cttimeout: pass default timeout policy to obj_to_nlattr
564f0391b783 Revert "clk: meson: clean-up clock registration"
3412671a781b lib/string.c: implement a basic bcmp
c7415f2a3ad6 x86/vdso: Drop implicit common-page-size linker flag
f66a52d991de kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
23605a4664ae kbuild: deb-pkg: fix bindeb-pkg breakage when O= is used
da9b353c78b8 net/mlx5e: Update xon formula
e2d92a74a353 net/mlx5e: Update xoff formula
eab86503fec0 net: mlx5: Add a missing check on idr_find, free buf
b787544dc5e7 r8169: disable default rx interrupt coalescing on RTL8168
55a7f7b20c40 net: core: netif_receive_skb_list: unlist skb before passing to pt->func
a2ef7723a13c net: ip6_gre: fix possible use-after-free in ip6erspan_rcv
5c6f2f4c0e9f net: ip_gre: fix possible use-after-free in erspan_rcv
ecee513a5273 bnxt_en: Reset device on RX buffer errors.
d2d055a55403 bnxt_en: Improve RX consumer index validity check.
a333fcc41075 nfp: disable netpoll on representors
81da1314596c nfp: validate the return code from dev_queue_xmit()
c297e8814578 net/mlx5e: Add a lock on tir list
9441317513b7 net/mlx5e: Fix error handling when refreshing TIRs
0516ef27ddba vrf: check accept_source_route on the original netdevice
7243e3520956 tcp: fix a potential NULL pointer dereference in tcp_sk_exit
0e0afb06e11c tcp: Ensure DCTCP reacts to losses
87349583e517 sctp: initialize _pad of sockaddr_in before copying to user memory
1e4a7e7869ac r8169: disable ASPM again
84dc2f872d2d qmi_wwan: add Olicard 600
ec0e32da41a6 openvswitch: fix flow actions reallocation
eeedfa94c195 net/sched: fix ->get helper of the matchall cls
15c0770e2e83 net/sched: act_sample: fix divide by zero in the traffic path
78b4bf26a8a7 net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock().
a1c2f3229734 netns: provide pure entropy for net_hash_mix()
53a1906859a2 net/mlx5: Decrease default mr cache size
b87ec81362ac net-gro: Fix GRO flush when receiving a GSO packet.
80c205813d3f net: ethtool: not call vzalloc for zero sized memory request
b7b058315577 kcm: switch order of device registration to fix a crash
42f1fa0fcf55 ipv6: sit: reset ip header pointer in ipip6_rcv
ea06796f8857 ipv6: Fix dangling pointer when ipv6 fragment
8e4b4da3d3d9 ip6_tunnel: Match to ARPHRD_TUNNEL6 for dev type
167019572ca8 ibmvnic: Fix completion structure initialization
9a7c4f5acc0e hv_netvsc: Fix unwanted wakeup after tx_disable
902eca1a0ccf powerpc/tm: Limit TM code inside PPC_TRANSACTIONAL_MEM
8ad895bf4b8b drm/i915/gvt: do not let pin count of shadow mm go negative
646f8e01fc37 kvm: nVMX: NMI-window and interrupt-window exiting should wake L2 from HLT
(From OE-Core rev: 259ae0fe60d78862878f150d3e5468a33aa9026a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable commits that comprise the following
changes:
e5b9547b1aa3 Linux 5.0.13
d467f3acebc5 ath10k: Drop WARN_ON()s that always trigger during system resume
3c13f6cd254d iwlwifi: mvm: properly check debugfs dentry before using it
c391e6198768 ALSA: line6: use dynamic buffers
4c38bd0d4cd6 KVM: nVMX: Fix size checks in vmx_set_nested_state
119ac69c0772 KVM: x86: Whitelist port 0x7e for pre-incrementing %rip
a31a8f55c8e8 net/tls: fix copy to fragments in reencrypt
f7f4d4b85b83 net/tls: don't copy negative amounts of data in reencrypt
126255f1ef2b bnxt_en: Fix uninitialized variable usage in bnxt_rx_pkt().
95fc8b4b4367 bnxt_en: Fix statistics context reservation logic.
1c38ed7b5ef6 bnxt_en: Pass correct extended TX port statistics size to firmware.
4348cae3a6e1 bnxt_en: Fix possible crash in bnxt_hwrm_ring_free() under error conditions.
76dba4d8d0db bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
4aaaa658466a bnxt_en: Improve multicast address setup logic.
7a0d81d12f62 udp: fix GRO packet of death
8858d7234542 udp: fix GRO reception in case of length mismatch
b58d12d306ae tcp: add sanity tests in tcp_add_backlog()
4d5aaae5fa0e selftests: fib_rule_tests: Fix icmp proto with ipv6
3362ece2719c packet: in recvmsg msg_name return at least sizeof sockaddr_ll
3a0701b8d93a packet: validate msg_namelen in send directly
02694885a2be selftests: fib_rule_tests: print the result and return 1 if any tests failed
484d404fdc2a sctp: avoid running the sctp state machine recursively
f8970584f08c rxrpc: Fix net namespace cleanup
90cb17d3df6f net/tls: avoid NULL pointer deref on nskb->sk in fallback
52c89e455b5c net: phy: marvell: Fix buffer overrun with stats counters
801038cca48c net: dsa: bcm_sf2: fix buffer overflow doing set_rxnfc
31f4cb2730d8 l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()
f86adc57e7db l2ip: fix possible use-after-free
d1fa4f8784bb ipv6: invert flowlabel sharing check in process and user mode
787a77cccb18 ipv6/flowlabel: wait rcu grace period before put_pid()
d0aa794674e5 ipv6: fix races in ip6_dst_destroy()
c61a4beb31f0 ipv6: A few fixes on dereferencing rt->from
5a06ba5ed2ae ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
6006d5b02522 Linux 5.0.12
310f9b1e52c0 leds: trigger: netdev: use memcpy in device_name_store
004ec01370bc leds: pca9532: fix a potential NULL pointer dereference
107cfb99c81f ptrace: take into account saved_sigmask in PTRACE{GET,SET}SIGMASK
87eaf3d8ac51 kasan: fix variable 'tag' set but not used warning
514860ee6633 iommu/amd: Reserve exclusion range in iova-domain
8bd7d23a4a76 kconfig/[mn]conf: handle backspace (^H) key
44fe72aeaae8 perf machine: Update kernel map address and re-order properly
441d23c87644 perf cs-etm: Add missing case value
b8bc52cd62e8 nvmet: fix error flow during ns enable
163719bdcd9c nvmet: fix building bvec from sg list
2e7d5b2e1fa0 nvme-multipath: relax ANA state check
a72f60dbb557 gpio: of: Fix of_gpiochip_add() error path
41a94b1909a4 KVM: selftests: complete IO before migrating guest state
a312d0eaf90d KVM: selftests: disable stack protector for all KVM tests
77507936fea3 KVM: selftests: explicitly disable PIE for tests
e478d1c9b585 KVM: selftests: assert on exit reason in CR4/cpuid sync test
02a7fc6c77d5 x86/kvm/hyper-v: avoid spurious pending stimer on vCPU init
e10edda577cc kvm/x86: Move MSR_IA32_ARCH_CAPABILITIES to array emulated_msrs
3d714ded80f6 KVM: SVM: Workaround errata#1096 (insn_len maybe zero on SMAP violation)
5369433777ec KVM: nVMX: Do not inherit quadrant and invalid for the root shadow EPT
e8b8dde69f81 gpio: of: Check for "spi-cs-high" in child instead of parent node
0e48494c0edf gpio: of: Check propname before applying "cs-gpios" quirks
fb853a4a7748 afs: Fix StoreData op marshalling
c6d02b1ea4d7 kbuild: skip parsing pre sub-make code for recursion
479e1afd232e libata: fix using DMA buffers on stack
8d3c7282cec4 x86/mm: Don't exceed the valid physical address space
ab4a5df699b5 scsi: zfcp: reduce flood of fcrscn1 trace records on multi-element RSCN
b0921da055f1 ceph: fix use-after-free on symlink traversal
1ab2566c5329 usb: u132-hcd: fix resource leak
4f5d11bf2eca x86/realmode: Don't leak the trampoline kernel address
89ae17728a98 SUNRPC: fix uninitialized variable warning
ec44e4273006 leds: trigger: netdev: fix refcnt leak on interface rename
facfcac8357d usb: usb251xb: fix to avoid potential NULL pointer dereference
3ce3290dee84 scsi: qla4xxx: fix a potential NULL pointer dereference
ab602d0043a4 scsi: aacraid: Insure we don't access PCIe space during AER/EEH
9a5795520b91 scsi: mpt3sas: Fix kernel panic during expander reset
08dd1acccb43 staging: vc04_services: Fix an error code in vchiq_probe()
b2814ce32d47 sbitmap: order READ/WRITE freed instance and setting clear bit
44a7849ecbd2 ARM: davinci: fix build failure with allnoconfig
e24c5428060f drm/meson: Uninstall IRQ handler
da9c64dc934a drm/meson: Fix invalid pointer in meson_drv_unbind()
55a5c46268ff gpio: aspeed: fix a potential NULL pointer dereference
e9917fd844ec drm: Fix drm_release() and device unplug
c4cdbd4075a6 net: ethernet: ti: fix possible object reference leak
6e4f7c129b24 net: ibm: fix possible object reference leak
3da122192cde net: xilinx: fix possible object reference leak
8dcf6dce4023 NFS: Fix a typo in nfs_init_timeout_values()
4d88134c2f7c drm/tegra: hub: Fix dereference before check
ec44a9a47e7e ARM: dts: imx6qdl: Fix typo in imx6qdl-icore-rqs.dtsi
4da511ff427b net/sched: don't dereference a->goto_chain to read the chain index
fe9fae9c5bff net: macb: Add null check for PCLK and HCLK
ead946dc3824 net: phy: Add DP83825I to the DP83822 driver
9bd87bbd2988 staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc
62d91f5a1ea4 staging: rtl8712: uninitialized memory in read_bbreg_hdl()
6300a60f50b9 staging: rtlwifi: rtl8822b: fix to avoid potential NULL pointer dereference
5fad07771fb8 staging: rtl8188eu: Fix potential NULL pointer dereference of kcalloc
fe4e7a03c742 net: ks8851: Set initial carrier state to down
372b41d6efe3 net: ks8851: Delay requesting IRQ until opened
860fd08630a6 net: ks8851: Reassert reset pin if chip ID check fails
75e3e76a45c6 net: ks8851: Dequeue RX packets explicitly
07c5093a04f8 KVM: arm/arm64: Fix handling of stage2 huge mappings
e68cc902c624 i2c: i801: Add support for Intel Comet Lake
bcc78b63f0b4 ARM: dts: pfla02: increase phy reset duration
2af87002a5e4 usb: gadget: net2272: Fix net2272_dequeue()
202db3b5c17c usb: gadget: net2280: Fix net2280_dequeue()
ad7be5bfe969 usb: gadget: net2280: Fix overrun of OUT messages
e5a7f0905664 usb: dwc3: pci: add support for Comet Lake PCH ID
7f482404c11e KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots
d2eecdbc6eca KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory
d6d23d335672 arm64: KVM: Always set ICH_HCR_EL2.EN if GICv4 is enabled
e38694c6b9a8 KVM: arm64: Reset the PMU in preemptible context
4343cbf52e36 serial: ar933x_uart: Fix build failure with disabled console
d25b0c89b3b9 sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()
0bb1f79a1427 ARM: imx51: fix a leaked reference by adding missing of_node_put
42ed22a8b969 s390/qeth: fix race when initializing the IP address table
f0028f723428 netfilter: ip6t_srh: fix NULL pointer dereferences
21fde4fcbbd2 netfilter: fix NETFILTER_XT_TARGET_TEE dependencies
eb213c54aaac netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING
0f9c88c5ccc9 netfilter: nft_set_rbtree: check for inactive element after flag mismatch
7f0d096410af staging, mt7621-pci: fix build without pci support
6c41d389904c staging: axis-fifo: add CONFIG_OF dependency
5227fe96b107 xsk: fix umem memory leak on cleanup
9fc5c6e8fce8 qlcnic: Avoid potential NULL pointer dereference
2e75be8dd6fa net: stmmac: fix jumbo frame sending with non-linear skbs
53485ee41fc3 net: stmmac: don't set own bit too early for jumbo frames
099a26557db9 Btrfs: fix file corruption after snapshotting due to mix of buffered/DIO writes
61a9e0f4cc86 ieee802154: hwsim: propagate genlmsg_reply return code
645dc42f97d8 net: ieee802154: fix a potential NULL pointer dereference
edb616838408 mt76: mt76x2: fix 2.4 GHz channel gain settings
63019ec07c61 mt76: mt76x2: fix external LNA gain settings
a495f4c9afbf mt76x02: fix hdr pointer in write txwi for USB
1d568d7476da s390: limit brk randomization to 32MB
87240adabb46 ARM: dts: bcm283x: Fix hdmi hpd gpio pull
9979cd3953b9 arm64: dts: renesas: r8a77990: Fix SCIF5 DMA channels
27f651142eec fs: prevent page refcount overflow in pipe_buf_get
ad73e3a19906 mm: prevent get_user_pages() from overflowing page refcount
bdc8dfd65873 mm: add 'try_get_page()' helper function
258fc3baeb4b mm: make page ref count overflow check tighter and more explicit
cc37cb69fbdc drm/i915: Do not enable FEC without DSC
742c556944e1 Revert "ACPICA: Clear status of GPEs before enabling them"
635e82b9bdc8 selinux: use kernel linux/socket.h for genheaders and mdp
d5a2675b207d Linux 5.0.11
bcf0c1f4d564 net/tls: don't leak IV and record seq when offload fails
2adb99038ae4 net/tls: avoid potential deadlock in tls_set_device_offload_rx()
c01e42fdccf5 net/mlx5e: Fix use-after-free after xdp_return_frame
f9444b6aaa01 net/mlx5e: Fix the max MTU check in case of XDP
a7b71fc253e8 mlxsw: spectrum: Put MC TCs into DWRR mode
a3964a683ca1 mlxsw: pci: Reincrease PCI reset timeout
72f71005903d net/ncsi: handle overflow when incrementing mac address
19f6d3f49b28 net: socionext: replace napi_alloc_frag with the netdev variant on init
af31849700e4 team: fix possible recursive locking when add slaves
dc2b8b627802 stmmac: pci: Adjust IOT2000 matching
3fd3574106de net/tls: fix refcount adjustment in fallback
e39643c12d3f net: stmmac: move stmmac_check_ether_addr() to driver probe
8de6f5e5b90d net/rose: fix unbound loop in rose_loopback_timer()
b225e518109b net: rds: exchange of 8K and 1M pool
283882b045ad net/mlx5e: ethtool, Remove unsupported SFP EEPROM high pages query
f37782f2d708 mlxsw: spectrum: Fix autoneg status in ethtool
d69b7c8c8ab5 ipv4: set the tcp_min_rtt_wlen range from 0 to one day
617d24036564 ipv4: add sanity checks in ipv4_link_failure()
7f909f520742 rdma: fix build errors on s390 and MIPS due to bad ZERO_PAGE use
dee438745d74 x86/retpolines: Disable switch jump tables when retpolines are enabled
6bd5637a3ebb x86, retpolines: Raise limit for generating indirect calls from switch-case
b6dd51f041fa Fix aio_poll() races
f6408361ded7 aio: store event at final iocb_put()
a8a538aed4f9 aio: keep io_event in aio_kiocb
636fa71ed5f7 aio: fold lookup_kiocb() into its sole caller
199f34c1355b pin iocb through aio.
e2f0a96eeb50 rxrpc: fix race condition in rxrpc_input_packet()
4f2c07441634 net/rds: Check address length before reading address family
d0d184559cb4 net: netrom: Fix error cleanup path of nr_proto_init
d0cf85f49505 tipc: check link name with right length in tipc_nl_compat_link_set
4ee29a10021f tipc: check bearer name with right length in tipc_nl_compat_bearer_enable
a92526e257a5 fm10k: Fix a potential NULL pointer dereference
0d41789ad820 netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON
becfa96eaecd NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.
b5db8ea57de5 mac80211_hwsim: calculate if_combination.max_interfaces
16de5d9b8f6b sched/deadline: Correctly handle active 0-lag timers
bbb19ca082ce binder: fix handling of misaligned binder object
8fe1600c91f9 workqueue: Try to catch flush_work() without INIT_WORK().
abcbf3078130 slip: make slhc_free() silently accept an error pointer
ba965c2c9808 tipc: handle the err returned from cmd header function
2501b17f4f72 loop: do not print warn message if partition scan is successful
acaec7f6e25d ext4: fix some error pointer dereferences
2cd705091e36 USB: Consolidate LPM checks to avoid enabling LPM twice
30d57be1f6eb USB: Add new USB LPM helpers
6ec39721f131 drm/vc4: Fix compilation error reported by kbuild test bot
3e869fd34856 Revert "drm/i915/fbdev: Actually configure untiled displays"
6dca846c920d drm/ttm: fix re-init of global structures
0b029ce3f4ee drm/vc4: Fix memory leak during gpu reset.
aaceebbb71c5 powerpc/mm/radix: Make Radix require HUGETLB_PAGE
b9a5bc4bb079 ARM: 8857/1: efi: enable CP15 DMB instructions before cleaning the cache
aa5f016ba785 dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start
9476c3ad5ee2 dmaengine: sh: rcar-dmac: Fix glitch in dmaengine_tx_status
c46e14be004a dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid
16df9424ffaa vfio/type1: Limit DMA mappings per container
4898e9b99795 Input: synaptics-rmi4 - write config register values to the right offset
c704bba6dd36 perf/x86/intel: Update KBL Package C-state events to also include PC8/PC9/PC10 counters
b2eeeb49027e sunrpc: don't mark uninitialised items as VALID.
6d29f7c720c6 nfsd: wake blocked file lock waiters before sending callback
6569ae328aa3 nfsd: wake waiters blocked on file_lock before deleting it
5e4a20e631a7 nfsd: Don't release the callback slot unless it was actually held
870588487197 ceph: fix ci->i_head_snapc leak
d9061ef0ab17 ceph: ensure d_name stability in ceph_dentry_hash()
bcd9cbffb98f ceph: only use d_name directly when parent is locked
e548c9702d46 sched/numa: Fix a possible divide-by-zero
c3e4c555ac86 RDMA/ucontext: Fix regression with disassociate
52c44c4e81b3 RDMA/mlx5: Use rdma_user_map_io for mapping BAR pages
92d6731e6a6f RDMA/mlx5: Do not allow the user to write to the clock page
f4dba6bf743e IB/rdmavt: Fix frwr memory registration
e7e378ed703e arm64: mm: Ensure tail of unaligned initrd is reserved
e5f06bf8f46c mm: do not boost watermarks to avoid fragmentation for the DISCONTIG memory model
655b464eeaa8 trace: Fix preempt_enable_no_resched() abuse
0f73358dff40 MIPS: scall64-o32: Fix indirect syscall number load
928962e99694 lib/Kconfig.debug: fix build error without CONFIG_BLOCK
f4ab3de10c84 zram: pass down the bvec we need to read into in the work struct
e6093c0212d0 gpio: eic: sprd: Fix incorrect irq type setting for the sync EIC
0bb4e85bbd34 crypto: lrw - Fix atomic sleep when walking skcipher
6506cdd4205b crypto: xts - Fix atomic sleep when walking skcipher
8659a04c77e2 tracing: Fix buffer_ref pipe ops
68ab802fb8cc tracing: Fix a memory leak by early error exit in trace_pid_write()
90b70b3ed31b cifs: do not attempt cifs operation on smb2+ rename error
e6302b845f2d cifs: fix page reference leak with readv/writev
62cf691cdf74 cifs: fix memory leak in SMB2_read
34fb6f5eb2cd block, bfq: fix use after free in bfq_bfqq_expire
41e09d7eab07 fs/proc/proc_sysctl.c: Fix a NULL pointer dereference
685550ad1192 ALSA: hda/realtek - Move to ACT_INIT state
b6f3aa978866 powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64
92d4af2766a1 intel_th: gth: Fix an off-by-one in output unassigning
0ccd99339030 netfilter: nf_tables: bogus EBUSY in helper removal from transaction
5b3124548062 netfilter: nf_tables: bogus EBUSY when deleting set after flush
d3da1f09fff2 Linux 5.0.10
c735a988a9ca kernel/sysctl.c: fix out-of-bounds access when setting file-max
822482bff7c5 percpu: stop printing kernel addresses
b2c65593ea62 ALSA: info: Fix racy addition/deletion of nodes
c3d0cf332bcd mm/vmstat.c: fix /proc/vmstat format for CONFIG_DEBUG_TLBFLUSH=y CONFIG_SMP=n
4ae522890cc1 mm/memory_hotplug: do not unlock after failing to take the device_hotplug_lock
c138ed72186a perf/ring_buffer: Fix AUX record suppression
65fce15dbd87 device_cgroup: fix RCU imbalance in error case
74b4ef5df590 mt76x02: avoid status_list.lock and sta->rate_ctrl_lock dependency
edc94cb2c13b tpm: fix an invalid condition in tpm_common_poll
6799f32fff63 sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup
fb9693679feb Revert "kbuild: use -Oz instead of -Os when using clang"
18636692a1b4 tpm: Fix the type of the return value in calc_tpm2_event_size()
03c1d8f8afd8 tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete
4a96e63f8f7d nfit/ars: Avoid stale ARS results
33dcadf02c1f nfit/ars: Allow root to busy-poll the ARS state machine
b49a9157c3ec nfit/ars: Introduce scrub_flags
2cc8e8c230e8 nfit/ars: Remove ars_start_flags
451fd88f62b9 timers/sched_clock: Prevent generic sched_clock wrap caused by tick_freeze()
205c53cbe553 x86/speculation: Prevent deadlock on ssb_state::lock
19867049334b perf/x86: Fix incorrect PEBS_REGS
5e34d62b59dd x86/cpu/bugs: Use __initconst for 'const' init data
35f288b72f64 perf/x86/amd: Add event map for AMD Family 17h
22cc6e1b4fc0 drm/amdgpu/gmc9: fix VM_L2_CNTL3 programming
5b05d7d6fd5b s390/mem_detect: Use IS_ENABLED(CONFIG_BLK_DEV_INITRD)
b1db090fb046 mac80211: do not call driver wake_tx_queue op during reconfig
9a0748c55188 rt2x00: do not increment sequence number while re-transmitting
44aa331f99b4 kprobes: Fix error check when reusing optimized probes
ca61e51567a7 x86/kprobes: Avoid kretprobe recursion bug
7b91f26c45b6 kprobes: Mark ftrace mcount handler functions nokprobe
fbe6f067a3ad x86/kprobes: Verify stack frame on kretprobe
f89f9d9636f0 arm64: futex: Restore oldval initialization to work around buggy compilers
508b773175c7 drm/ttm: fix out-of-bounds read in ttm_put_pages() v2
8223263d7c44 crypto: x86/poly1305 - fix overflow during partial reduction
46c4f2375638 ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier
2f6919fdc23b x86/kvm: move kvm_load/put_guest_xcr0 into atomic context
1eb719f09f7e coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
e58a114d0746 Revert "svm: Fix AVIC incomplete IPI emulation"
922270b4f018 i3c: Fix the verification of random PID
33a3fff44a0f i3c: dw: Fix dw_i3c_master_disable controller by using correct mask
e6200707e648 Revert "scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO"
ad1deea5c4c9 scsi: core: set result when the command cannot be dispatched
c2116717884c vt: fix cursor when clearing the screen
5ae77c340c52 serial: sh-sci: Fix HSCIF RX sampling point calculation
333a81c16e4f serial: sh-sci: Fix HSCIF RX sampling point adjustment
95df599f95f3 Input: elan_i2c - add hardware ID for multiple Lenovo laptops
6ef122eb7956 ALSA: core: Fix card races between register and disconnect
ffd87f87a9c1 ALSA: hda/realtek - add two more pin configuration sets to quirk table
8834139083cd staging: comedi: ni_usb6501: Fix possible double-free of ->usb_rx_buf
16b235e81d9d staging: comedi: ni_usb6501: Fix use of uninitialized mutex
a47fd7121627 staging: comedi: vmk80xx: Fix possible double-free of ->usb_rx_buf
bd3011021447 staging: comedi: vmk80xx: Fix use of uninitialized semaphore
dcff1b3c1a1d staging: most: core: use device description as name
68bbd7524a6f io: accel: kxcjk1013: restore the range after resume.
3e13bb9782f5 iio: core: fix a possible circular locking dependency
1f6b63285e2f iio: adc: at91: disable adc channel interrupt in timeout case
2b70088e1509 iio: Fix scan mask selection
5c526f27861f iio: dac: mcp4725: add missing powerdown bits in store eeprom
50bc2c022b6e iio: ad_sigma_delta: select channel when reading register
f65207cfee33 iio: cros_ec: Fix the maths for gyro scale calculation
b4dd709ada6d iio:chemical:bme680: Fix SPI read interface
fd3c6ad2a934 iio:chemical:bme680: Fix, report temperature in millidegrees
5527e1e58007 iio/gyro/bmg160: Use millidegrees for temperature scale
9efe152f769c iio: gyro: mpu3050: fix chip ID reading
25a91f7b9810 staging: iio: ad7192: Fix ad7193 channel address
80c1486b7e20 Staging: iio: meter: fixed typo
739969f56e4f KVM: x86: svm: make sure NMI is injected after nmi_singlestep
935fef82120f KVM: x86: Don't clear EFER during SMM transitions for 32-bit vCPU
d12bcf87e6ff fs/dax: Deposit pagetable even when installing zero page
f6846161e203 cifs: fix handle leak in smb2_query_symlink()
76dbd554c273 cifs: Fix use-after-free in SMB2_read
e8ac406c749e cifs: Fix use-after-free in SMB2_write
9582ba401ef0 cifs: Fix lease buffer length error
ebac4d0adf68 CIFS: keep FileInfo handle live during oplock break
2cf17769d6b5 sch_cake: Simplify logic in cake_select_tin()
5aa94a5b5641 nfc: nci: Potential off by one in ->pipes[] array
a023c1a245a7 NFC: nci: Add some bounds checking in nci_hci_cmd_received()
d58923dac952 sch_cake: Make sure we can write the IP header before changing DSCP bits
064290d0f6c7 sch_cake: Use tc_skb_protocol() helper for getting packet protocol
116ac142d2c6 nfp: flower: remove vlan CFI bit from push vlan action
51db0d068057 nfp: flower: replace CFI with vlan present
da86299fcccb route: Avoid crash from dereferencing NULL rt->from
6ad8c35a70cc net/mlx5: FPGA, tls, idr remove on flow delete
d3697f88a271 net/tls: prevent bad memory access in tls_is_sk_tx_device_offloaded()
1d9005b96dce net/mlx5: FPGA, tls, hold rcu read lock a bit longer
abe4a1328a78 Revert "net/mlx5e: Enable reporting checksum unnecessary also for L3 packets"
acf4d270942a net/mlx5e: Rx, Check ip headers sanity
3ce8793e03cd net/mlx5e: Rx, Fixup skb checksum for packets with tail padding
af294d42d43e net/mlx5e: Switch to Toeplitz RSS hash by default
6daad2e30e0b net/mlx5e: Protect against non-uplink representor for encap
58f682514cb5 net/mlx5e: XDP, Avoid checksum complete when XDP prog is loaded
0e4b3800c069 net: bridge: fix netlink export of vlan_stats_per_port option
adfc12451123 net/tls: fix build without CONFIG_TLS_DEVICE
5e7171bf8db7 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
96418eaa8e6a net/tls: don't leak partially sent record in device mode
b30d9457b1dc net/tls: fix the IV leaks
ae924f4e1c45 net: thunderx: don't allow jumbo frames with XDP
a902fe6dd585 net: thunderx: raise XDP MTU to 1508
9be4e8224cd6 mlxsw: spectrum_router: Do not check VRF MAC address
61647856f32a mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
87ffb893490a mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
565e18a0be10 mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
6f180e411c3e mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
ed112abe6795 ipv4: ensure rcu_read_lock() in ipv4_link_failure()
6bd1ee0a993f ipv4: recompile ip options in ipv4_link_failure
8cc6c4767e49 vhost: reject zero size iova range
e35fa0016788 tipc: missing entries in name table of publications
aad7db2b23c1 team: set slave to promisc if team is already in promisc mode
8aa965e92750 tcp: tcp_grow_window() needs to respect tcp_space()
1274905c8e1b net: fou: do not use guehdr after iptunnel_pull_offloads in gue_udp_recv
49f472ba481b net: Fix missing meta data in skb with vlan packet
a7a3382b1564 net: fec: manage ahb clock in runtime pm
88f561ab1bd4 net: bridge: multicast: use rcu to access port list from br_multicast_start_querier
88c58435304b net: bridge: fix per-port af_packet sockets
11ba95c4503b net: atm: Fix potential Spectre v1 vulnerabilities
b633f6580b62 failover: allow name change on IFF_UP slave interfaces
7e2c712830d6 bonding: fix event handling for stacked bonds
e4abcebedac3 Linux 5.0.9
2db9f8d63d74 paride/pcd: Fix potential NULL pointer dereference and mem leak
e78434f4dcd2 paride/pf: Fix potential NULL pointer dereference
b59d92ac8a32 IB/hfi1: Failed to drain send queue when QP is put into error state
b05baa9f19d0 bpf: fix use after free in bpf_evict_inode
d05fb50b3d0c include/linux/swap.h: use offsetof() instead of custom __swapoffset macro
1c108a1b6459 f2fs: fix to add refcount once page is tagged PG_private
b5f51f7abb43 f2fs: fix to use kvfree instead of kzfree
c55d13d94f8c f2fs: fix to dirty inode for i_mode recovery
4fb70c2107e9 rxrpc: Fix client call connect/disconnect race
78154e319888 lib/div64.c: off by one in shift
f0f1c97f38b8 cifs: return -ENODATA when deleting an xattr that does not exist
2fbb0171b13a appletalk: Fix use-after-free in atalk_proc_exit
a33383757975 drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI)
3835c46e6ff5 ARM: 8839/1: kprobe: make patch_lock a raw_spinlock_t
ed3a6901a3d7 platform/x86: intel_pmc_core: Quirk to ignore XTAL shutdown
36f268740bce drm/nouveau/volt/gf117: fix speedo readout register
3b2457ce9997 f2fs: sync filesystem after roll-forward recovery
b851a25507e2 PCI/ASPM: Save LTR Capability for suspend/resume
75e3256e2309 PCI: Blacklist power management of Gigabyte X299 DESIGNARE EX PCIe ports
dce48c5878ab coresight: cpu-debug: Support for CA73 CPUs
cf56bb03ffa3 RDMA/hns: Fix the Oops during rmmod or insmod ko when reset occurs
5ada4de03943 Revert "ACPI / EC: Remove old CLEAR_ON_RESUME quirk"
41c3883dfadb crypto: axis - fix for recursive locking from bottom half
b9563b52e802 net: hns3: Fix NULL deref when unloading driver
f1a2397542f6 drm/panel: panel-innolux: set display off in innolux_panel_unprepare
3fcb02749530 drm/amdgpu: psp_ring_destroy cause psp->km_ring.ring_mem NULL
e7ab5c78e516 lkdtm: Add tests for NULL pointer dereference
8167ea40725d lkdtm: Print real addresses
8bc6ef890c86 ext4: prohibit fstrim in norecovery mode
642530739f19 x86/gart: Exclude GART aperture from kcore
14bec2dda7a0 cifs: Fix slab-out-of-bounds when tracing SMB tcon
a419571b2da5 fix incorrect error code mapping for OBJECTID_NOT_FOUND
21edc981053f cifs: fix that return -EINVAL when do dedupe operation
92b646e27677 x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error
aca4bd1a1cc6 iommu/vt-d: Save the right domain ID used by hardware
d96516127498 iommu/vt-d: Check capability before disabling protected memory
d9fb98c921a8 drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
f0a085e99ff7 x86/cpu/cyrix: Use correct macros for Cyrix calls on Geode processors
aaddd952f3db x86/hyperv: Prevent potential NULL pointer dereference
105d043fedcb x86/hpet: Prevent potential NULL pointer dereference
1512c986c578 irqchip/mbigen: Don't clear eventid when freeing an MSI
dc60ac49b040 irqchip/stm32: Don't set rising configuration registers at init
d79220ee57b8 irqchip/stm32: Don't clear rising/falling config registers at init
c24b1f67cea0 drm/exynos/mixer: fix MIXER shadow registry synchronisation code
c43003451a01 blk-iolatency: #include "blk.h"
8bd30e5e0ec5 PM / Domains: Avoid a potential deadlock
66495ebfd4df ACPI / utils: Drop reference in test for device presence
fd9f338db867 perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test()
26980cd03ea6 perf tests: Fix memory leak by expr__find_other() in test__expr()
5ffefcfe9764 perf tests: Fix a memory leak of cpu_map object in the openat_syscall_event_on_all_cpus test
ece1fd3f4023 perf evsel: Free evsel->counts in perf_evsel__exit()
05fe1d5b6ed1 perf top: Fix global-buffer-overflow issue
940df86f505d perf maps: Purge all maps from the 'names' tree
60b7f41c4aea perf map: Remove map from 'names' tree in __maps__remove()
d86bf97d119d perf hist: Add missing map__put() in error case
4a66a027c1ba perf top: Fix error handling in cmd_top()
29dddb32f56b perf build-id: Fix memory leak in print_sdt_events()
86cb58f1a12f perf config: Fix a memory leak in collect_config()
5bb92662f2f1 perf config: Fix an error in the config template documentation
d41f87ee413f perf tools: Fix errors under optimization level '-Og'
84b2a2ca6d41 perf list: Don't forget to drop the reference to the allocated thread_map
0c6568492019 perf stat: Fix --no-scale
c957d798c11c scsi: qla2xxx: Fix NULL pointer crash due to stale CPUID
9ec3c84936f7 scsi: core: Also call destroy_rcu_head() for passthrough requests
638bf55940b9 tools/power turbostat: return the exit status of a command
4a45137bb2eb x86/mm: Don't leak kernel addresses
8764542aa21c sched/core: Fix buffer overflow in cgroup2 property cpu.max
02abd369fa77 sched/cpufreq: Fix 32-bit math overflow
7aa9be519579 scsi: iscsi: flush running unbind operations when removing a session
b0b05ab719c3 thermal/intel_powerclamp: fix truncated kthread name
800e3fd7bfce thermal/int340x_thermal: fix mode setting
891fea677cca thermal/int340x_thermal: Add additional UUIDs
f1a315ca06be thermal: bcm2835: Fix crash in bcm2835_thermal_debugfs
481c8a89e89a thermal: samsung: Fix incorrect check after code merge
74920ee161d4 thermal/intel_powerclamp: fix __percpu declaration of worker_data
6e684bd65a5c paride/pcd: cleanup queues when detection fails
77323732005a paride/pf: cleanup queues when detection fails
1f208b0adaee ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration
bdb43acc8858 mmc: davinci: remove extraneous __init annotation
e52431f7547c i40iw: Avoid panic when handling the inetdev event
221b45319d05 IB/mlx4: Fix race condition between catas error reset and aliasguid flows
b21723eda4cc drm/udl: use drm_gem_object_put_unlocked.
33550275bbcf auxdisplay: hd44780: Fix memory leak on ->remove()
4c12b50fc86a ALSA: sb8: add a check for request_region
b3a964aea086 ALSA: echoaudio: add a check for ioremap_nocache
2c20533ea602 ext4: report real fs size after failed resize
d45fc2ba0e39 ext4: add missing brelse() in add_new_gdb_meta_bg()
e23981104716 ext4: avoid panic during forced reboot
0a7ef6820970 mips: bcm47xx: Enable USB power on Netgear WNDR3400v2
c5d7b6089be5 perf/core: Restore mmap record type correctly
7f434180c880 inotify: Fix fsnotify_mark refcount leak in inotify_update_existing_watch()
9005b534c2ba arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM
48de44356e07 ARC: u-boot args: check that magic number is correct
0b9132ee7429 Linux 5.0.8
eaa06ac5d1c1 drm/virtio: do NOT reuse resource ids
7af79a36d188 KVM: x86: nVMX: fix x2APIC VTPR read intercept
b564364f22ac KVM: x86: nVMX: close leak of L0's x2APIC MSRs (CVE-2019-3887)
63bec9219c39 dm integrity: fix deadlock with overlapping I/O
de022a3453e6 dm: disable DISCARD if the underlying storage no longer supports it
ca7671084384 dm table: propagate BDI_CAP_STABLE_WRITES to fix sporadic checksum errors
50b2e5c3b0a8 dm: revert 8f50e358153d ("dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE")
556b7d910d5d dm integrity: change memcmp to strncmp in dm_integrity_ctr
78dbc2482a78 powerpc/64s/radix: Fix radix segment exception handling
49558542e0eb xprtrdma: Fix helper that drains the transport
8af91139a0a8 PCI: pciehp: Ignore Link State Changes after powering off a slot
9b63917c6a4c PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller
025768c171b8 x86/perf/amd: Remove need to check "running" bit in NMI handler
ecb09f75a9b9 x86/perf/amd: Resolve NMI latency issues for active PMCs
c583b4d08f3a x86/perf/amd: Resolve race condition when disabling PMC
8b866ffe3d31 x86/asm: Use stricter assembly constraints in bitops
3783a3b1e218 x86/asm: Remove dead __GNUC__ conditionals
5866b5fc2b8a csky: Fix syscall_get_arguments() and syscall_set_arguments()
b66f9a1ea65a xtensa: fix return_address
e09deff8f8f4 sched/fair: Do not re-read ->h_load_next during hierarchical load calculation
05acf6f5b81c xen: Prevent buffer overflow in privcmd ioctl
e0e77b23a73d IB/mlx5: Reset access mask when looping inside page fault handler
6b3b09cd4daa arm64/ftrace: fix inadvertent BUG() in trampoline check
36078cae3790 arm64: backtrace: Don't bother trying to unwind the userspace stack
de2e5ed04711 arm64: dts: rockchip: fix rk3328 rgmii high tx error rate
7fcf2d915fa0 arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on rk3328-rock64
68a6a619ebd7 arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value
b0266ece310d ARM: dts: at91: Fix typo in ISC_D0 on PC9
a005242834ac ARM: dts: rockchip: Fix SD card detection on rk3288-tinker
e74aa76752f4 ARM: dts: am335x-evm: Correct the regulators for the audio codec
724d26349abf ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
4e34e23d5708 ARM: dts: rockchip: fix rk3288 cpu opp node reference
f04200259be8 ARM: OMAP1: ams-delta: Fix broken GPIO ID allocation
4e6f0d588cd2 drm/i915/dp: revert back to max link rate and lane count on eDP
88fa815395e3 virtio: Honour 'may_reduce_num' in vring_create_virtqueue
ec64558908d7 genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
b8ad5278c4d3 genirq: Respect IRQCHIP_SKIP_SET_WAKE in irq_chip_set_wake_parent()
fffb3e8b5920 block: fix the return errno for direct IO
b4af1b3cb545 block: do not leak memory in bio_copy_user_iov()
43d15c041ad7 block: Revert v5.0 blk_mq_request_issue_directly() changes
6a184be78d3f riscv: Fix syscall_get_arguments() and syscall_set_arguments()
ee02ae76d069 btrfs: prop: fix vanished compression property after failed set
41cd8693bfcc btrfs: prop: fix zstd compression parameter validation
ddb27d3b30f7 Btrfs: do not allow trimming when a fs is mounted with the nologreplay option
4badea79434d ASoC: fsl_esai: fix channel swap issue when stream starts
7c394c70a394 ASoC: intel: Fix crash at suspend/resume after failed codec registration
3859d8fae2d8 mm: writeback: use exact memcg dirty counts
c4727317b4e5 include/linux/bitrev.h: fix constant bitrev
a1428aee0c69 kvm: svm: fix potential get_num_contig_pages overflow
d2c5c9ea9a09 drm/udl: add a release method and delay modeset teardown
7029188253fc drm/sun4i: DW HDMI: Lower max. supported rate for H6
3e05b13e52e5 drm/i915/gvt: do not deliver a workload if its creation fails
56487f7b8330 alarmtimer: Return correct remaining time
b4dfbd47a494 parisc: also set iaoq_b in instruction_pointer_set()
97ba69f22665 parisc: regs_return_value() should return gpr28
d347bbea0668 parisc: Detect QEMU earlier in boot process
af2abcc62e64 mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning
13771e12fb7d mmc: alcor: don't write data before command has completed
8a3bb1553d5b arm64: dts: rockchip: fix rk3328 sdmmc0 write errors
9e77cd4a9922 mm/huge_memory.c: fix modifying of page protection by insert_pfn_pmd()
89944d7e95e3 ALSA: hda - Add two more machines to the power_save_blacklist
3c20e6c50e03 ALSA: xen-front: Do not use stream buffer size before it is set
97bf09839964 ALSA: hda/realtek - Add quirk for Tuxedo XC 1509
acaf3a112008 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate B114-21 with ALC233
df828c33163f ALSA: seq: Fix OOB-reads from strlcpy
cb11af93e626 ACPICA: Namespace: remove address node from global list after method termination
da6a87fb0ad4 ACPICA: Clear status of GPEs before enabling them
bee8b4b4c79b HID: logitech: Handle 0 scroll events for the m560
0601ac3b4925 SMB3: Allow persistent handle timeout to be configurable on mount
4d4ec04ed77e hwmon: (occ) Fix power sensor indexing
026f98a1d51d hwmon: (w83773g) Select REGMAP_I2C to fix build error
c231b6b0064d tty: ldisc: add sysctl to prevent autoloading of ldiscs
e4ebae16792a tty: mark Siemens R3964 line discipline as BROKEN
e2a0237494ce Revert "clk: meson: clean-up clock registration"
62a23bbaee09 lib/string.c: implement a basic bcmp
622902df9eba kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
396f116f6d0a net/mlx5e: Update xon formula
29b4db4176da net/mlx5e: Update xoff formula
68ef6f3e1a70 net: mlx5: Add a missing check on idr_find, free buf
4fe853723d57 r8169: disable default rx interrupt coalescing on RTL8168
4b780e0fc986 net: core: netif_receive_skb_list: unlist skb before passing to pt->func
b5f69a5648b0 net: vrf: Fix ping failed when vrf mtu is set to 0
c83447096390 net: thunderx: fix NULL pointer dereference in nicvf_open/nicvf_stop
502de75b3b34 net: bridge: always clear mcast matching struct on reports and leaves
f4473ccd883c net: ip6_gre: fix possible use-after-free in ip6erspan_rcv
b49e1837b15e net: ip_gre: fix possible use-after-free in erspan_rcv
eefa6c2464c8 bnxt_en: Reset device on RX buffer errors.
aecbbae850ed bnxt_en: Improve RX consumer index validity check.
c43bbe6d49f4 nfp: disable netpoll on representors
c974a681e996 nfp: validate the return code from dev_queue_xmit()
6fc42565470a net/mlx5e: Add a lock on tir list
44bd84f1b5a5 net/mlx5e: Fix error handling when refreshing TIRs
59c5f595a120 vrf: check accept_source_route on the original netdevice
71707cc55c39 tcp: fix a potential NULL pointer dereference in tcp_sk_exit
bc7167651e30 tcp: Ensure DCTCP reacts to losses
cd1b7376d8a3 sctp: initialize _pad of sockaddr_in before copying to user memory
3c36cc5bdf89 r8169: disable ASPM again
cdeed1e0f47e qmi_wwan: add Olicard 600
3bcad39f08ca openvswitch: fix flow actions reallocation
48a1cd79cc7e net/sched: fix ->get helper of the matchall cls
4edf174b821e net/sched: act_sample: fix divide by zero in the traffic path
4e8d8e767f11 net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock().
ec7aeb6a0709 netns: provide pure entropy for net_hash_mix()
6ced07adaead net/mlx5: Decrease default mr cache size
67b0fbfaf828 net-gro: Fix GRO flush when receiving a GSO packet.
88b9d6f6aff8 net: ethtool: not call vzalloc for zero sized memory request
351ddbdf532c kcm: switch order of device registration to fix a crash
472a290314f0 ipv6: sit: reset ip header pointer in ipip6_rcv
ccec3a09c429 ipv6: Fix dangling pointer when ipv6 fragment
fd4ecb124730 ip6_tunnel: Match to ARPHRD_TUNNEL6 for dev type
4f90b9ca3cb2 ibmvnic: Fix completion structure initialization
b68b3427a2a2 hv_netvsc: Fix unwanted wakeup after tx_disable
5160fb3353f5 netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
19589530ec6d netfilter: nf_tables: use-after-free in dynamic operations
43154d5c868c netfilter: nft_compat: use .release_ops and remove list of extension
93f7f61ed079 kbuild: pkg: use -f $(srctree)/Makefile to recurse to top Makefile
118003351916 drm/i915/gvt: do not let pin count of shadow mm go negative
(From OE-Core rev: 0ff62f812decc752d97a1d7bc377e959bf06753a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The renaming of the __depends variable to __base_depends and file
watches needs to occurs for all multiconfigs, not just the base config.
Failing to do this for all multiconfigs will result in a huge increase
in the size of the parsing cache (about 5x for a single mulitconfig)
because all multiconfig caches will still depend on the base config
files. This will also seen a similar jump in the amount of time required
to load the parsing cache from memory, both because the cache is larger
and because of explosion of additional existence checks that must be
done for the base files.
[YOCTO #13359]
(Bitbake rev: 2ea1e6720c66841baa5e01c523c86f8ecb03eb7d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have no BBMULTICONFIG set but set mcdepends, they're currently
ignored. We can handle them correctly with this small tweak.
(Bitbake rev: 2aaea2f72e0c37451e7c7851b3a32abd733b38e1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dbus-test package is empty, move its dependencies to the ${PN}-ptest
package. Also ensure that it doesn't depend on the empty ${PN} package
which is about to start causing image failures in the following commit.
In this case the correct dependency is dbus itself.
(From OE-Core rev: a2915db76d6a2007b22b20f945498c84e7fa8132)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should append to the ptest RDEPENDS and RRECOMMENDS otherwise the bbclass
defaults are overwritten. This leads to ptest-runner not being installed in
minimal images. Also drop the duplicate ${PN} value which is unneeded once
we do this.
(From OE-Core rev: db0ebefad601034a017f536a92c04aa83479cf55)
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 the test is successful, remove the log and exp files. This stops strace
using around 600MB of disk space and running our ptest images out of space.
(From OE-Core rev: 4b1e917ed4e9921d9f165722c6cd33c9b1c08e20)
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 not complete, this resolves some module dependency failures being seen
by various lib*-perl ptests and in quilt.
(From OE-Core rev: 3f5f91a2a1f3ebb8151834ce4223dcd33f363803)
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>
Bash's ptest needs glibc-utils (for locale), some extra locales for various tests
it uses options busybox doesn't support for some tools, hence coreutils and also runs
perl for some tests.
(From OE-Core rev: ea2fdbd84da199c89081a824ecb0b97cf5a56bdf)
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 some missing dependencies for the util-linux-ptest package
that causes inconsistencies in the package tests run in different images.
The kernel module in RRECOMMENDS is not build at this time, it needs
more testing and check if the configuration change can be part of the
yocto-kernel-cache repository.
(From OE-Core rev: b684728304cc6a4bee03c1233022258d8b53f78c)
Signed-off-by: Mariano López <just.another.mariano@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>
Fixes [YOCTO #11028]
When dealing with node modules which use "node-gyp" [1] to build native
addons to node. Some temporary build files stay in the image: object
files, static library files, dependency files, ...
This commit does not keep only the required files, but remove the files
which can leads to QA issues (staticdev with static library files).
[1]: https://github.com/nodejs/node-gyp
(From OE-Core rev: b03743b0f843736c6ebe8077e1e03bc03ac39410)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.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>
Fixes [YOCTO #13349]
When dealing with node modules which have declared "bin" files [1], npm
will create a link in '/usr/bin' with a relative link to
'../lib/node_modules/<module bin file>'.
The commits e9270af429 and
2713d9bcc3 explicitely use
'/usr/lib/node/' as install directory, but does not care about the "bin"
symbolic linked files.
In order to keep valid links, and to keep it as simple as possible, the
path '/usr/lib/node_modules/' is used as install directory for npm. And
a symbolic link is created to have a valid '/usr/lib/node/' path, needed
for node.
[1]: https://docs.npmjs.com/files/package.json#bin
(From OE-Core rev: 67846b3b2d2d45401d500bff5cf3d4d71c003f7a)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.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>
Fixes [YOCTO #12534]
When using npm packages with exotic names, like "JSONSelect" (with
uppercase) or "@angular/cli" (with at sign and slash), there are three
different names:
- the recipe name ("jsonselect" or "angular-cli")
- the npm module name ("JSONSelect" or "@angular/cli")
- the npm pack name ("JSONSelect" or "angular-cli")
The commit fa9c077068 allow to have
different recipe name and npm module name by setting the NPMPN variable.
This commit allows to have yet another npm pack name. The pack filename
is now dynamically retrieved from the 'npm pack' command.
(From OE-Core rev: 86c9f25d4535663606326e53c33a8927f79e8f52)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.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 solves ptest runtime errors where make was missing causing the ptests
to fail.
(From OE-Core rev: 47bcd4dec32e87b7353b079f63931d11cd0568e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixup for warrior context]
[Dropped ptest fixes for pkg w/o ptests in warrior]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many different ptests are breaking as they assume that ${PN}-ptest
depends on ${PN}. It doesn't currently but should. If we fix this, many
different ptests start passing when they previously failed.
It does depend on fixing an issue in the dbus-test recipe which is done
in the preceeding patch (mentioned in case this gets backported).
(From OE-Core rev: 1ad805984c8c9c9a505b6b0e8ad870b8233b13b2)
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 reverts commit c3a325b5c2d9315629d014e5ebba552fe045171c.
This seems to be causing:
WARNING: acpica-20180508-r0 do_package: acpica: alternative target (/usr/bin/acpidump or /usr/bin/acpidump.acpica) does not exist, skipping...
WARNING: acpica-20180508-r0 do_package: acpica: NOT adding alternative provide /usr/bin/acpidump: /usr/bin/acpidump.acpica does not exist
WARNING: acpica-20180508-r0 do_package: acpica: alt_link == alt_target: /usr/bin/acpidump == /usr/bin/acpidump
because the 20180508 version in warrior unlike the 20190405 in master doesn't install acpidump binary.
(From OE-Core rev: ba36b0c5c1db632dd849f3f28f83c272530f67b6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding the valgrind debug symbol information caused the genericx86-64 image to
overflow the 4GB boundary. Tweak the sizes to avoid autobuilder failures yet
leave enough space all the tests still run successfully.
(From OE-Core rev: 63c332093f1f5d3fbf9cbcd62886993724aa87f9)
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>
* before trying to copy unistd.h into it
* older kernels don't have uapi in tools/include and do_configure fails
with:
DEBUG: Executing shell function do_configure
cp: cannot create regular file '.../perf/1.0-r9/perf-1.0/tools/include/uapi/asm-generic/unistd.h':
No such file or directory
WARNING: exit code 1 from a shell command.
* tools/include/uapi was added in kernel 4.8 with
c4b6014e8b
tools: Add copy of perf_event.h to tools/include/linux/
(From OE-Core rev: 5d35f27f8db102f2cb63c86c163c9952352dbb1d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls from meta-gplv2 isn't new enough for this version of glib-networking:
meson.build:74:0: ERROR: Invalid version of dependency, need 'gnutls' ['>= 3.4.6'] found '3.3.30'
* disabling gnutls PACKAGECONFIG isn't an option either:
meson.build:131:2: ERROR: Problem encountered: No TLS backends enabled. Please enable at least one TLS backend
* add an option to replace gnutls with openssl
(From OE-Core rev: d6d588f560d644546d01d52935dfe7a27ba64859)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As runqemu with launch_cmd means directly run the command, don't need set
rootfs or env vars.
Since commit [a847dd7202 runqemu: Let qemuparams override default settings]
applied in oe-core, if launch_cmd contains "qemuparams='***'", it does not
work, which is overridden by latter qemuparams="-serial tcp:127.0.0.1" in
QemuRunner.launch();
So we set qemuparams as a parameter in runqemu, the fix makes it work
(From OE-Core rev: 00c58ae552d7414116f13f43d4df2f6e57c0d1ba)
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>
run-postinsts runs a given set of scripts during the first boot of the
device, when one of these scripts prints something to stdout (isnt
daemonized correctly), since stdout is not available at that time,
the script execution immediately returns with an error (exit_group()),
this error causes the script to terminate all threads within the process,
causing undesired behavior since the script might still had to execute
some other code.
Replace eval built-in with (), since () executes in a subshell,
even if one of the scripts exits, all threads of that process will only
be within that session, this ensures other scripts meant to be run are
still run afterwards.
[YOCTO #13266]
(From OE-Core rev: 9d1cb1b38f22cb3ab93ac8b431601df12f76dc22)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.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 commands only work with with bash. If /bin/sh is
dash like in Debian, the command execution fails with
errors like:
Standard Output: /bin/sh: 5: export: --sysroot: bad variable name
and all SDK tests fail.
(From OE-Core rev: 0423d5049492516a6df6caf3404ddaa1734ff1d9)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
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 setupClass errors were not being mapped back to the failing tests
and they were hence being marked as UNKNOWN and the test statistics were
inaccurate.
This is because whilst the errors were being encoded into the test results
stream, the decoder doesn't cope with an error outside a testStart event.
We patch in an addError handler to the outsideTest parser so that this
does get handled in a way similar to the non-concurrent case.
It would be nice if we didn't have to do this but there doesn't seem
to be any other way to fix this other than forking subunit.
We also make a minor change so another of our changes can cope with
tests without a start time.
(From OE-Core rev: 741cf82d0e7f9e797ba35157a1466fadbf74dc64)
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 string format for subunit setupClass/setupModule failures is slightly
different, tweak the regex to correctly handle both cases.
(From OE-Core rev: 3c645ecdb884ecafa7c492bdd8a952cce96d3906)
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 third field in the /etc/shadow file (sp_lstchg) contains the date of
the last password change expressed as the number of days since Jan 1,
1970.
Backport the upstream changes to honour SOURCE_DATE_EPOCH for build
reproducibility.
(From OE-Core rev: 807a2f76e86d34fa69b0b2b369287985cc9eff78)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We continued to see encoding problems with ssh commands run in oeqa. After much
research the conclusion was we should use ignore the errors since some occasional bad
locale encoding is better than the unicode decoding issues we were seeing which crashed
large parts of tests.
(From OE-Core rev: e4037c6911592700799d207ca8c3976afba18e25)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of showing:
RESULTS - ptest.PtestRunnerTest.test_ptestrunner - Testcase 1600: UNKNOWN (32.30s)
map unexpectedSuccesses to PASSED and improve the way they're displayed. We
expect/allow ptest runner to fail but if it passes we should handle it correctly.
(From OE-Core rev: 21079473e0cbd0e43682dc0d15a651e7e64db747)
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>
These IDs refer to testopia which we're no longer using. We would now use the test
names to definitively reference tests and the IDs can be dropped, along with their
supporting code.
(From OE-Core rev: 551153b0bd1ebbc05582f6014e3d88b9ce4a46d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Backported to keep in-sync with future qa changes]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
acpidump is both provided by acpica and pmtools, so use
update-alternatives to fix conflicts:
...
|Error: Transaction check error:
| file /usr/bin/acpidump conflicts between attempted installs of
pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20190405-r0.i586
...
(From OE-Core rev: c3a325b5c2d9315629d014e5ebba552fe045171c)
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>
This code really needs to be rewritten to not split potential
multibyte characters, for now work around it to avoid exceptions like:
File "/home/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oeqa/core/target/ssh.py", line 211, in run
data = reader.read(1024, 4096)
File "/usr/lib64/python3.6/codecs.py", line 503, in read
newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
(From OE-Core rev: 918e15e22c797d52d33c3399324e480aa1a2cc7f)
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 UBOOT_DTB_BINARY is empty and because the code now changes
directory into ${B}, the test for the existence becomes `[ -f ]` which
succeeds and subsequently the install fails.
Reorder the code so it's clear that UBOOT_DTB_BINARY empty is an
expected configuration and then quote UBOOT_DTB_BINARY everywhere so
no one trips over this again.
Fixes: bacb59079eb6 ("uboot-sign: add support for different u-boot configurations")
(From OE-Core rev: a0ecd3b56b86fa47ae0b051548bdf6cb08fc2d98)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
there is small issue with ptest packaging in cases where
OPKGLIBDIR is set to /usr/lib.
Then all ptest files get packaged in libopkg instead of opkg-ptest and correct QA error is triggered:
ERROR: QA Issue: /usr/lib/opkg/ptest/tests/opkgcl.py contained in package libopkg requires /usr/bin/python3, but no providers found in RDEPENDS_libopkg? [file-rdeps]
# $FILES_libopkg
# set /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:62
# "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/"
FILES_libopkg="/usr/lib/*.so.* /usr/lib/opkg/"
# $FILES_opkg-ptest [2 operations]
# set /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:9
# "${PTEST_PATH}"
# rename from FILES_${PN}-ptest data.py:117 [expandKeys]
# "${PTEST_PATH}"
# pre-expansion value:
# "${PTEST_PATH}"
FILES_opkg-ptest="/usr/lib/opkg/ptest"
# $PACKAGES [4 operations]
# set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/bitbake.conf:292
# "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
# set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/documentation.conf:314
# [doc] "The list of packages to be created from the recipe."
# prepend /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:20
# "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}"
# prepend /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:60
# "libopkg"
# pre-expansion value:
# "libopkg ${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)} ${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
PACKAGES="libopkg opkg-ptest opkg-src opkg-dbg opkg-staticdev opkg-dev opkg-doc opkg-locale opkg"
The easiest fix should be to reorder PACKAGES (the _prepends) so that ${PN}-ptest is prepended later -> ends before libopkg).
(From OE-Core rev: 6bc286d2bdf00e042261e9d3d6b7e25b382d171e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option to dump all the ptest logs to individual files in a
specified directory. If multiple test runs are present, the
'--prepend-run' argument will create separate directories for each test
run under the target directory and put the logs there to prevent each
test run from clobbering the others.
[YOCTO #13331]
(From OE-Core rev: bb5a0fedda2817b9d71186a90a1f77bff3cbecaf)
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>
Whenever cml1 do_configure is used with a defconfig, oldconfig waits for
input. This silently fails on recent kconfig projects with:
"Error in reading or end of file."
We cannot use a more up to date kconfig target such as olddefconfig,
because busybox does not support it.
(From OE-Core rev: bbce28b31e2d575fec0ffe8c94d6ffcb76849810)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
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 python distutils generate a python wrapper script for each package,
containing shebang lines pointing to the python executable.
In our case, this is a fully-qualified path to python-native in the
recipe-sysroot-native.
Ubuntu 18.04 restricts the useful length of the shebang line to 125
characters, and Ubuntu 16.04 restricts it to 77. In both cases, the
staged python script fails to run due to the length of the path to
the python-native executable.
Replace the shebang line with nativepython or nativepython3 as appropriate.
The nativepython symlink is installed by the python-native recipe:
#!/usr/bin/env nativepython
We were already doing this for on-target distutils components.
This change applies the sed-line to -native distutils components as well.
In this way, -native clients of these components can invoke the wrapper scripts
directly, without themselves needing to inherit pythonnative.
This works around a known setuptools issue:
https://github.com/pypa/setuptools/issues/494
Even once this issue has been resolved upstream,
we will still need to replace `python` with `nativepython`
(From OE-Core rev: d32cd33b5aeaa8859cfd68b9167a3ab3b892e710)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The documentation says that --expand takes a comma-separated list of
partition:size pairs, but the code was splitting on hyphens.
Hyphens are not a transitional separator for a list of items, so change the code
to reflect the documentation.
(From OE-Core rev: 6d86d126121cd15c7e9832b24106332ab439beeb)
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>
If attempting to find a fixed SRCREV fails because the directory doesn't exit,
avoid failing with:
Traceback (most recent call last):
File "/home/vagrant/poky/scripts/recipetool", line 121, in <module>
ret = main()
File "/home/vagrant/poky/scripts/recipetool", line 110, in main
ret = args.func(args)
File "/home/vagrant/poky/scripts/lib/recipetool/create.py", line 707, in create_recipe
srcrev = stdout.rstrip()
UnboundLocalError: local variable 'stdout' referenced before assignment
Fixes: 000480c42797 ("recipetool / devtool: set a fixed SRCREV by default when fetching from git")
(From OE-Core rev: 326188e1e2424bdabe9cf83a8087b5ee046aa7f6)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because our clones use the host git, on (say) Ubuntu 18.04, the local
git directories acquire perl scripts such as fsmonitor-watchman.sample.
During packaging, this leads to failures:
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA Issue: /usr/lib/go/pkg/dep/sources/https---github.com-nsf-termbox--go/.git/hooks/fsmonitor-watchman.sample contained in package go-hsperfdata-staticdev requires /usr/bin/perl, but no providers found in RDEPENDS_go-hsperfdata-staticdev? [file-rdeps]
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa:
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: Function failed: do_package_qa
(From OE-Core rev: 0da5f86e05ff63e9362cc9b216c7e6007c0de26f)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The rmt in cpio-native and tar-native is clashing, since
tar-native has set var-NATIVE_PACKAGE_PATH_SUFFIX, we move rmt
to sbindir, and add suffix NATIVE_PACKAGE_PATH_SUFFIX to sbindir
could avoid the clashing.
And in Ubuntu, rmt is in sbindir
$ which rmt
/usr/sbin/rmt
(From OE-Core rev: 9f47cea3c58a53db8599f1be4ff4401406c00928)
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>
Older versions of bitbake (prior to 1.42) don't expose the BB_UNIHASH
variable which is being used by sstate. For compatibility with these
older versions of bitbake, set BB_UNIHASH to BB_TASKHASH (which is the
value it should be for non-hash equivalent aware signature generators).
if bitbake hasn't already set it.
[YOCTO #13314]
(From OE-Core rev: ca38b2f88f640579703486645b0c4d9ecef78e47)
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>
The commit[8ac8fa8ee1 nettle: update to 3.4.1]
add CFLAGS_append = " -std=c99" to silence the
below error for native build:
| ../nettle-3.4.1/rsa-sign-tr.c: In function 'sec_equal':
| ../nettle-3.4.1/rsa-sign-tr.c:243:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < limbs; i++)
^
| ../nettle-3.4.1/rsa-sign-tr.c:243:3: note: use option -std=c99 or -std=gnu99 to compile your code
| Makefile:263: recipe for target 'rsa-sign-tr.o' failed
But the above change will trigger below Segmentation
fault:
# echo -n passwd| nettle-pbkdf2 -i 1 -l 16 salt
[65534.886509] nettle-pbkdf2[708]: segfault at 1f594260 ip 00007f3332256998 sp 00007fff60d44410 error 4 in libnettle.so.6.5[7f3332244000+1d00]
[65534.887525] Code: e8 6d db fe ff 44 01 6d 68 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 dc e9 68 ff f
Segmentation fault
So update the logic to CFLAGS_append = " -std=gnu99"
to fix the issue.
(From OE-Core rev: 91359a91b8c89dc5e1f3a946137204156c47a3af)
(From OE-Core rev: cccf000f07eb8b60874c66c60a47c46d546e5ca0)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build will fail if repository has lfs contents in absense of git-lfs tool on host.
Build will pass if repository may or may not contains lfs content if host has git-lfs installed.
[YOCTO #13198]
(Bitbake rev: 7107c1953b4c949b81491295e03736beb085b055)
Signed-off-by: Naveen Saini <naveen.kumar.saini@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>
Updating the SRCREVs to drop our temporary workaround for TCP
timeout issues and switch to the mainline version:
tcp: add sanity tests in tcp_add_backlog()
Revert "tcp: fix issues relaed to implement coalescing on backlog queue"
(From OE-Core rev: fdc068de3c493dea3a22bb8f91273f7b7978c639)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the kernel TCP backlog queue coalescing bug fixed in the 5.0 kernels
we don't need this patch anymore and can run the tests.
(From OE-Core rev: 058d613af39a24cffe6053e0ff98b503c73e920e)
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>
Integrating the following fix:
[
tcp: fix issues relaed to implement coalescing on backlog queue
As was discussed on -netdev, there's an issue with TCP timeouts and
hangs due to new features introduced in the 5.0 kernel:
https://www.spinics.net/lists/netdev/msg562928.html
This is a temporary commit to widely test the proposed solution. It
will be dropped when an official patch makes mainline.
]
(From OE-Core rev: 5a8eee4b5f4f40e615510f509e2e17fd46b19da0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Porting the following three RAID config changes from master to
the 5.0 branch:
ffd8cf5baf8 intel-x86: add Intel VMD support
8edf951a15c cfg/efi.cfg: built-in CONFIG_EFIVAR_FS to support Intel VROC
041a6c04244 intel-x86: built-in nvme driver to support boot from nvme disk
(From OE-Core rev: 8a0b045e8c31a706f8254db971b0348c6f144758)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker sent along the following fixup for 4.19-rt:
[
Author: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Mon Apr 15 12:01:31 2019 -0400
Revert "mm: handle lru_add_drain_all for UP properly"
This reverts commit e6e9d6e290028b0a6b83b563fad9fafa7f1d515e.
It was a 4.19.31 backport of commit 6ea183d60c46 ("mm: handle
lru_add_drain_all for UP properly"). In summary, what that did
was to fix a possible harmless WARN_ON on non-SMP, introduced at
commit 4d43d395fed1 ("workqueue: Try to catch flush_work() without
INIT_WORK().") by adding non-SMP variants of lru functions.
The combination of that, with the -rt commit 473f14a9f234 ("mm:
perform lru_add_drain_all() remotely") at the merge of the two
results in the following build failure:
mm/swap.c:736:2: error: #endif without #if
since the -rt change wants RT specific lru and the stable backport
wants non-SMP specific lru, and a chunk of the backport with
an #ifdef CONFIG_SMP is missing.
However, before we add a four way cluster of ifdeffery to handle all
cases, we note 4d43d395fed1 was added to the v5.1 release, and it
was not (currently) backported to any 4.19.x stable release - so it is
unclear to me why this commit was ever backported to 4.19.31 at all.
Further, we note this change was to mm/swap.c -- and by definition,
any preempt-rt deployment that uses swap for anything other than a
failure contingency mitigation is broken by design.
Given all that, I decided that the best path forward was to revert
the two of the three chunks of the backport that remain in the -rt
branch, and return us to the pre-4.19.31 merge behaviour for -rt.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
]
(From OE-Core rev: e3898996665591c2909208a629a14603941b6c28)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding back the python wrapper and adding a patch to use OEPYTHON3HOME
instead of PYTHONHOME if set, for python3.
If we add back the wrapper as is, we would see the following error that
we also see in Thud:
ImportError: No module named site
OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python
v3.
Please upgrade your python v2
This is because python3 would've set PYTHONHOME to use nativesdk
python3 libraries but when the oe-buildenv-internal script tries to call
python2 for the py_v27_check, there will be no python2 libraries in the
PYTHONHOME directory.
In other words, bitbake needs host python2 and the env variable set from
the wrapper contaminates the env and host python2 won't be able to find
its libraries
Creating another variable OEPYTHON3HOME and using this in the python3
wrapper to allow for a way to set a different paths for python3 and
python2
[YOCTO #13208]
(From OE-Core rev: 5ae52eb8508c0ba5713489dc4661649c19dceeed)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.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>
Output before this patch:
ERROR: bash-4.4.18-r0 do_package_write_ipk: Fatal errors occurred in subprocesses:
Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.: Traceback (most recent call last):
File "/media/build1/poky/meta/lib/oe/utils.py", line 272, in run
ret = self._target(*self._args, **self._kwargs)
File "/media/build1/poky/meta/classes/package_ipk.bbclass", line 230, in ipk_write_pkg
shell=True)
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.
Note how stdout/stderr from the failing command isn't shown.
After this patch:
ERROR: bash-4.4.18-r0 do_package_write_ipk: Fatal errors occurred in subprocesses:
Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.
Subprocess output:Foobar
*** Error: Package name Foobar contains illegal characters, (other than [a-z0-9.+-])
opkg-build: Please fix the above errors and try again.
We suddenly get a much more usable error message. The traceback is supressed
as its distracting from the real problem in this case.
Ideally python itself would handle this but it doesn't so we have to
wrap the exception. We already do this in bitbake itself for the same reason.
(From OE-Core rev: c27cc2355d331e063f170b45728671988a967deb)
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 case, kernel config enables compressed modules, support of
splitting via split_kernel_module_packages won't find any module.
So, first expand module pattern regex to recognize compressed
modules and then objcopy on temporary extacted to extract module
information.
(From OE-Core rev: 499e830fad1c109f6c009d6ceb2256ced19e4452)
Signed-off-by: Jens Rehsack <sno@netbsd.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>
Current manualexecution required user to exceute all test cases defined inside a "modulename.json" file in oeqa/manual
There are cases when all test cases all not required to run for a module on specific DUT.
Enable manualexecution to have the optional feature where it will use pre-defined json format test case configuration file
where user will be able to select test cases from the "modulename.json" instead of running all of them. This will help
in reducing testing time and reporting unneccesary skip or failures.
Example pre-defined json format test case configuration file (for build-applince):
{
"testcases" : [
"build-appliance.build-appliance.Create_core-image-sato-sdk_using_build_appliance",
"build-appliance.build-appliance.Build_a_image_without_error_(added_recipe)"
]
}
(From OE-Core rev: d35de5383275a5d83317160ce3dc09a20661a572)
Signed-off-by: sangeeta jain <sangeeta.jain@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 also fix postinst intercept hook 'update_gio_module_cache' failed warnings
that are now flagged as errors after the recent chagnes at lib/oe/package_manager.py
(From OE-Core rev: 6ba5f32333e9ed6be980ca2b71b547f795e83497)
Signed-off-by: Naveen Saini <naveen.kumar.saini@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 also fix postinst intercept hook 'update_gio_module_cache' failed warnings
that are now flagged as errors after the recent chagnes at lib/oe/package_manager.py
(From OE-Core rev: 732fb99d458926d2267ba39088472d62acc8f3a2)
Signed-off-by: Naveen Saini <naveen.kumar.saini@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>
Some CI pipelines might perform further processing of the test output
(for instance, to plot some metrics into a chart). However, Since `thud`
we switched away from the XML-based jUnit reporting, and at the same
time we lost the ability of collecting the stdout and stderr of the
various tests.
We now restore this functionality by adding `stdout` and `stderr` keys
to the JSON reports. This behavior is off by default; in order to enable
it, one must set the `TESTREPORT_FULLLOGS` variable in the bitbake
configuration.
(From OE-Core rev: fd57b34d7c8a120273d65cd361be208fbdaeff50)
Signed-off-by: Alberto Mardegan <amardegan@luxoft.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 this change:
commit d2fcaeb153fdc3f8d7143ea823139f1537055ff1
Author: Douglas Royds <douglas.royds@taitradio.com>
Date: Thu Dec 20 11:59:47 2018 +1300
icecc: Don't generate recipe-sysroot symlinks at recipe-parsing time
the set_icecc_env function depends on KERNEL_CC variable even for recipes
like linux-libc-headers
* KERNEL_CC variable depends on STAGING_KERNEL_DIR:
Variable KERNEL_CC value is ${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH}
List of dependencies for variable KERNEL_CC is {'STAGING_KERNEL_DIR', 'HOST_PREFIX', 'DEBUG_PREFIX_MAP', 'HOST_CC_KERNEL_ARCH', 'KERNEL_SRC_PATH'}
which depends on MACHINE:
Variable STAGING_KERNEL_DIR value is ${TMPDIR}/work-shared/${MACHINE}/kernel-source
List of dependencies for variable STAGING_KERNEL_DIR is {'MACHINE'}
* as detected with:
openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc --machines="qemux86 qemux86copy qemuarm" --targets=glibc --analyze
ERROR: linux-libc-headers different signature for task do_configure.sigdata between qemux86 and qemux86copy
NOTE: Starting bitbake server...
basehash changed from 3146f4ffeb002bd69fed7656a4b896365b2e2a00071c69e1afbb672889e754ee to f1a5160e39912e61389b6f9fe68d61146a2be91716ac37e4a32ecf4c09b2b5fa
Variable MACHINE value changed from 'qemux86' to 'qemux86copy'
$ bitbake-diffsigs /OE/build/oe-core/tmp-glibc/sstate-diff/1556122458/qemux86*/*/linux-libc-headers/*do_configure.sigdata*
NOTE: Starting bitbake server...
basehash changed from f1a5160e39912e61389b6f9fe68d61146a2be91716ac37e4a32ecf4c09b2b5fa to 3146f4ffeb002bd69fed7656a4b896365b2e2a00071c69e1afbb672889e754ee
Variable MACHINE value changed from 'qemux86copy' to 'qemux86'
(From OE-Core rev: e30cd19250c14112a96a2e89327fd75933016469)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[commit in warrior]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The function do_install_basefilesissue is meant to deal with
/etc/issue* files and the following setting could actually be
overridden.
BASEFILESISSUEINSTALL ?= "do_install_basefilesissue"
So move the hostname operations out of this function.
(From OE-Core rev: 2eab107e88800a62f7cb8d7f9f01e77214e9dcee)
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>
Fix the following two failure of busybox ptest:
FAIL: dc read
FAIL: dc read string
These two test cases relies on the functionalities enabled by
CONFIG_FEATURE_DC_BIG.
(From OE-Core rev: fe8ecc3796db9b70e27d5caecc858b82bde790f0)
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>
Integrating the korg -stable releases that comprise the following
commits:
4d552acf3370 Linux 4.19.34
d5813e77363c kprobes/x86: Blacklist non-attachable interrupt functions
e7d26616c92b bcache: fix potential div-zero error of writeback_rate_p_term_inverse
09abe130820b ACPI / video: Extend chassis-type detection with a "Lunch Box" check
d1d2ca98b78f net: stmmac: Avoid one more sometimes uninitialized Clang warning
972e31ba4bc2 drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
986a2bb54a31 Input: soc_button_array - fix mapping of the 5th GPIO in a PNP0C40 device
6d2817e2ab8c dmaengine: tegra: avoid overflow of byte tracking
7386f095b709 clk: rockchip: fix frac settings of GPLL clock for rk3328
c8e4f8406842 clk: meson: clean-up clock registration
6251c1db04f2 drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup
648b949b7870 x86/build: Mark per-CPU symbols as absolute explicitly for LLD
52cd9e0e43c7 wlcore: Fix memory leak in case wl12xx_fetch_firmware failure
05b23c66bb6e brcmfmac: Use firmware_request_nowarn for the clm_blob
e30e0b0915b6 selinux: do not override context on context mounts
d2053718e087 x86/build: Specify elf_i386 linker emulation explicitly for i386 objects
e0662d00c98a drm/nouveau: Stop using drm_crtc_force_disable
1d377200482b drm: Auto-set allow_fb_modifiers when given modifiers at plane init
27d6de370cdc pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins
61174e34611f regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting
bcdd4a5ee1c5 media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration
9bfd4ab5e8e4 media: rcar-vin: Allow independent VIN link enablement
2e6bcc327b0b netfilter: physdev: relax br_netfilter dependency
24296fbc5445 dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*
c55f4a6e798d dmaengine: qcom_hidma: assign channel cookie correctly
afacaf85543b dmaengine: imx-dma: fix warning comparison of distinct pointer types
fba4c61e9888 cpu/hotplug: Mute hotplug lockdep during init
a6c671e23168 hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable
dbeca415575f f2fs: UBSAN: set boolean value iostat_enable correctly
16b06b15dd53 HID: intel-ish: ipc: handle PIMR before ish_wakeup also clear PISR busy_clear bit
67c2be160519 soc/tegra: fuse: Fix illegal free of IO base address
a3aa9d93b9ab hwrng: virtio - Avoid repeated init of completion
7aaa76e8a6ab media: mt9m111: set initial frame size other than 0x0
fd400e96c599 perf script python: Add trace_context extension module to sys.modules
d90a375b786c perf script python: Use PyBytes for attr in trace-event-python
f94e369fe7a8 platform/x86: intel-hid: Missing power button release on some Dell models
1e55e3f6c735 usb: dwc3: gadget: Fix OTG events when gadget driver isn't loaded
2b20c29bcdf6 ALSA: dice: add support for Solid State Logic Duende Classic/Mini
3abb3d0418e1 drm/amd/display: Enable vblank interrupt during CRC capture
06af7dda05b3 powerpc/pseries: Perform full re-add of CPU for topology update post-migration
57f03bbd4236 tty: increase the default flip buffer limit to 2*640K
2142eba848a1 backlight: pwm_bl: Use gpiod_get_value_cansleep() to get initial state
d0bc74c5632f cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix the accounting
b52681e6e623 powerpc/64s: Clear on-stack exception marker upon exception return
118d38a3577f selftests/bpf: skip verifier tests for unsupported program types
ae92cf4760f8 bpf: fix missing prototype warnings
06666a19d5a5 block, bfq: fix in-service-queue check for queue merging
30d503bae967 ARM: avoid Cortex-A9 livelock on tight dmb loops
d8945878ded6 ARM: 8830/1: NOMMU: Toggle only bits in EXC_RETURN we are really care of
668713493a19 mt7601u: bump supported EEPROM version
a2479c401054 soc: qcom: gsbi: Fix error handling in gsbi_probe()
ce80ebf7a04e efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted
240a9050a3d8 ARM: dts: lpc32xx: Remove leading 0x and 0s from bindings notation
b5c1dc9d8fa4 drm/vkms: Bugfix extra vblank frame
e8e0bd4915ec sched/core: Use READ_ONCE()/WRITE_ONCE() in move_queued_task()/task_rq_lock()
b12a060a0bd2 efi/memattr: Don't bail on zero VA if it equals the region's PA
f056c90f079a sched/debug: Initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK
442caac9fce9 ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe
b4410c7d731d iwlwifi: mvm: fix RFH config command with >=10 CPUs
080e00c8f6f9 staging: spi: mt7621: Add return code check on device_reset()
f0eb935c50b9 i2c: of: Try to find an I2C adapter matching the parent
7c114e8605a9 platform/x86: intel_pmc_core: Fix PCH IP sts reading
b9f257e27890 e1000e: Exclude device from suspend direct complete optimization
c23242c36bdd e1000e: fix cyclic resets at link up with active tx
efd85d83ac0f perf/aux: Make perf_event accessible to setup_aux()
355ffe6cc2a1 drm/amd/display: Disconnect mpcc when changing tg
6c68d1654c27 drm/amd/display: Don't re-program planes for DPMS changes
322a55a56a2a drm: rcar-du: add missing of_node_put
924af49998c2 cdrom: Fix race condition in cdrom_sysctl_register
6d293647f8d9 fbdev: fbmem: fix memory access if logo is bigger than the screen
2dd699432958 net: phy: consider latched link-down status in polling mode
5203cf8e29e5 iw_cxgb4: fix srqidx leak during connection abort
a78aae93ba9c net: marvell: mvpp2: fix stuck in-band SGMII negotiation
1f3694865d56 genirq: Avoid summation loops for /proc/stat
98eddc19f9e9 bcache: improve sysfs_strtoul_clamp()
b468e0007435 bcache: fix potential div-zero error of writeback_rate_i_term_inverse
c7b687ebe0fb bcache: fix input overflow to sequential_cutoff
16975f04f2ca bcache: fix input overflow to cache set sysfs file io_error_halflife
845d4849b60c sched/topology: Fix percpu data types in struct sd_data & struct s_data
ad02fb6a6cc8 usb: f_fs: Avoid crash due to out-of-scope stack ptr access
126f2f6af291 ath10k: fix shadow register implementation for WCN3990
ccce764322d8 ALSA: PCM: check if ops are defined before suspending PCM
d21a63fc1e53 ARM: dts: meson8b: fix the Ethernet data line signals in eth_rgmii_pins
d93fe5e6c9d9 ARM: 8833/1: Ensure that NEON code always compiles with Clang
3a1ce9793855 netfilter: conntrack: fix cloned unconfirmed skb->_nfct race in __nf_conntrack_confirm
d53b295f7805 kprobes: Prohibit probing on RCU debug routine
bc9d714395e2 kprobes: Prohibit probing on bsearch()
c63cc8d1487c selftests: skip seccomp get_metadata test if not real root
2df541d0a665 ACPI / video: Refactor and fix dmi_is_desktop()
d63105845ac5 iwlwifi: pcie: fix emergency path
5cdd025907b8 perf report: Add s390 diagnosic sampling descriptor size
5658279f50ea leds: lp55xx: fix null deref on firmware load failure
9154420173d5 jbd2: fix race when writing superblock
a74ebf047e4f cgroup, rstat: Don't flush subtree root unless necessary
b13eb5245f9f HID: intel-ish-hid: avoid binding wrong ishtp_cl_device
c26d61ea90db vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1
7273c2b1e79c xen/gntdev: Do not destroy context while dma-bufs are in use
e9cd7f543764 mt76: usb: do not run mt76u_queues_deinit twice
5cde7721dd05 media: mtk-jpeg: Correct return type for mem2mem buffer helpers
745cdc344f97 media: mx2_emmaprp: Correct return type for mem2mem buffer helpers
73a4cc59054e media: s5p-g2d: Correct return type for mem2mem buffer helpers
3c6cd079058e media: rockchip/rga: Correct return type for mem2mem buffer helpers
55919fc28419 media: s5p-jpeg: Correct return type for mem2mem buffer helpers
a23fd268fdbb media: sh_veu: Correct return type for mem2mem buffer helpers
635fabdd8202 media: ov7740: fix runtime pm initialization
1d836ce73a10 SoC: imx-sgtl5000: add missing put_device()
d41687c82a70 perf report: Don't shadow inlined symbol with different addr range
801b8d8c7729 mwifiex: don't advertise IBSS features without FW support
d323e59f58bb perf test: Fix failure of 'evsel-tp-sched' test on s390
345c7757fd54 drm/amd/display: Clear stream->mode_changed after commit
1ef1b20f8711 scsi: fcoe: make use of fip_mode enum complete
8032fc9120c2 scsi: megaraid_sas: return error when create DMA pool failed
2c6e3ec8a906 s390/ism: ignore some errors during deregistration
d60f458e4c4d efi: cper: Fix possible out-of-bounds access
e57f4676b92f cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies
eb70531a95c8 ASoC: qcom: Fix of-node refcount unbalance in qcom_snd_parse_of()
e6786f8686ef perf annotate: Fix getting source line failure
763a895aa49c clk: fractional-divider: check parent rate only if flag is set
d3ec442d609b IB/mlx4: Increase the timeout for CM cache
61584032c4d6 loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part()
07a31820b241 platform/mellanox: mlxreg-hotplug: Fix KASAN warning
0bacfb4adc1b platform/x86: ideapad-laptop: Fix no_hw_rfkill_list for Lenovo RESCUER R720-15IKBN
a64ffbaf7056 mlxsw: spectrum: Avoid -Wformat-truncation warnings
49dd86f0f5ec e1000e: Fix -Wformat-truncation warnings
c6fb45d895e0 net: dsa: mv88e6xxx: Add lockdep classes to fix false positive splat
194b888af85e mmc: omap: fix the maximum timeout setting
dcedd37957de btrfs: qgroup: Make qgroup async transaction commit more aggressive
6cf5f631bad0 powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback
fc96b44c05c2 iommu/io-pgtable-arm-v7s: Only kmemleak_ignore L2 tables
d81bdb3c17f1 ARM: 8840/1: use a raw_spinlock_t in unwind
951307172652 serial: 8250_pxa: honor the port number from devicetree
2636ccec991e coresight: etm4x: Add support to enable ETMv4.2
c70214d519ed powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc
638ecaf58369 kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing
5db107484403 scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.c
4acf797458ce powerpc/powernv/ioda: Fix locked_vm counting for memory used by IOMMU tables
6030bcc04735 usb: chipidea: Grab the (legacy) USB PHY by phandle first
b142c7973338 crypto: cavium/zip - fix collision with generic cra_driver_name
d401d121113e crypto: crypto4xx - add missing of_node_put after of_device_is_available
241ebd2ea44b mt76: fix a leaked reference by adding a missing of_node_put
6115055b4efe wil6210: check null pointer in _wil_cfg80211_merge_extra_ies
9546c3662dc5 PCI/PME: Fix hotplug/sysfs remove deadlock in pcie_pme_remove()
224c996e48be tools lib traceevent: Fix buffer overflow in arg_eval
83c395332fdf fs: fix guard_bio_eod to check for real EOD errors
6a817a7aed1c jbd2: fix invalid descriptor block checksum
ca66f667189c netfilter: conntrack: tcp: only close if RST matches exact sequence
709aaa09b200 netfilter: nf_tables: check the result of dereferencing base_chain->stats
36a3219e617a cifs: Fix NULL pointer dereference of devname
d579b4eae836 cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED
4ab78f4d75c6 f2fs: fix to check inline_xattr_size boundary correctly
8c81fcd3d5c1 dm thin: add sanity checks to thin-pool and external snapshot creation
626d98bbdb30 cifs: use correct format characters
a6c56bf63e87 page_poison: play nicely with KASAN
d609ecd887f8 fs/file.c: initialize init_files.resize_wait
9b4f27667402 f2fs: do not use mutex lock in atomic context
20141feb9bde ocfs2: fix a panic problem caused by o2cb_ctl
f09c424cea9f mm/slab.c: kmemleak no scan alien caches
8a0fc62e331e mm/vmalloc.c: fix kernel BUG at mm/vmalloc.c:512!
67abbb9c5422 mm, mempolicy: fix uninit memory access
9d785b92cf0d memcg: killed threads should not invoke memcg OOM killer
eed3ca0a66cf mm,oom: don't kill global init via memory.oom.group
ed3345a6607b mm, swap: bounds check swap_info array accesses to avoid NULL derefs
4c6d7dc741cb mm/page_ext.c: fix an imbalance with kmemleak
f555b008c576 mm/cma.c: cma_declare_contiguous: correct err handling
7b287c47e452 mm/sparse: fix a bad comparison
aea8c971b9c5 perf c2c: Fix c2c report for empty numa node
c3f28d59c1a5 x86/hyperv: Fix kernel panic when kexec on HyperV
3e8d62218aa4 iio: adc: fix warning in Qualcomm PM8xxx HK/XOADC driver
e27cced35a4b scsi: hisi_sas: Fix a timeout race of driver internal and SMP IO
fce6aeaf913e scsi: hisi_sas: Set PHY linkrate when disconnected
e21f655c60fa libbpf: force fixdep compilation at the start of the build
6048330675cc enic: fix build warning without CONFIG_CPUMASK_OFFSTACK
9ec4860de95a net: stmmac: Avoid sometimes uninitialized Clang warnings
b227f1571269 sysctl: handle overflow for file-max
d6ad08aa3467 include/linux/relay.h: fix percpu annotation in struct rchan
4c96500e3658 gpio: gpio-omap: fix level interrupt idling
8c50ab86e288 net/mlx5: Avoid panic when setting vport mac, getting vport config
3bddc6149f02 net/mlx5: Avoid panic when setting vport rate
b73c7d020452 tracing: kdb: Fix ftdump to not sleep
d7391962d723 f2fs: fix to avoid deadlock in f2fs_read_inline_dir()
198c99857b30 f2fs: fix to adapt small inline xattr space in __find_inline_xattr()
56bb66c50296 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux-
2938651d36ca CIFS: fix POSIX lock leak and invalid ptr deref
442d5d171cd8 tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped
b6b4bcb40be0 tty/serial: atmel: Add is_half_duplex helper
2dbc7c66d6da ext4: cleanup bh release code in ext4_ind_remove_space()
bd62f1fe736e arm64: debug: Don't propagate UNKNOWN FAR into si_code for debug signals
4b3a3ab00fa7 Linux 4.19.33
11008a9b0fc7 platform: x86: intel_cht_int33fe: Remove the old connections for the muxes
056cda45cfed usb: typec: class: Don't use port parent for getting mux handles
6875404a12f8 platform: x86: intel_cht_int33fe: Add connections for the USB Type-C port
681a9fc184b3 platform: x86: intel_cht_int33fe: Add connection for the DP alt mode
3bb446a3fe87 platform: x86: intel_cht_int33fe: Register all connections at once
e99d90ce7750 drivers: base: Helpers for adding device connection descriptions
f5959dec081a bpf: do not restore dst_reg when cur_state is freed
738dda85d181 staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
83bbd66b3753 staging: erofs: fix error handling when failed to read compresssed data
3a18eabaa712 KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
b9733a74350d KVM: x86: update %rip after emulating IO
7ceedcefc2d2 KVM: Reject device ioctls from processes other than the VM's creator
a0713e8103d1 x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
a56aa02e6f15 cpu/hotplug: Prevent crash when CPU bringup fails on CONFIG_HOTPLUG_CPU=n
336f6b23b5b8 watchdog: Respect watchdog cpumask on CPU hotplug
c91d07ad34d7 powerpc/64: Fix memcmp reading past the end of src/dest
d7c00bbbfac4 powerpc/pseries/energy: Use OF accessor functions to read ibm,drc-indexes
0603e3a9281d objtool: Query pkg-config for libelf location
a436cf6479c0 perf intel-pt: Fix TSC slip
5f9366330950 perf pmu: Fix parser error for uncore event alias
f70ddae24bdf mm/migrate.c: add missing flush_dcache_page for non-mapped page migrate
5966777dd807 mm: mempolicy: make mbind() return -EIO when MPOL_MF_STRICT is specified
c9874d397807 iommu/io-pgtable-arm-v7s: request DMA32 memory, and improve debugging
62d342d67060 mm: add support for kmem caches in DMA32 zone
2392ffab085a usb: cdc-acm: fix race during wakeup blocking TX traffic
82a5090aad84 xhci: Don't let USB3 ports stuck in polling state prevent suspend
20a09a2e8703 usb: xhci: dbc: Don't free all memory with spinlock held
c81b872281a1 xhci: Fix port resume done detection for SS ports with LPM enabled
093ccda1a041 usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk
015e5c17617a usb: common: Consider only available nodes for dr_mode
ef4df134e77e USB: gadget: f_hid: fix deadlock in f_hidg_write()
614ac345bfec usb: mtu3: fix EXTCON dependency
66e44981de0e phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
6ebe03734361 gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
b26f7e86d3cc gpio: exar: add a check for the return value of ida_simple_get fails
df74e70ffec6 drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check
75f9e994b9fd drm/vkms: fix use-after-free when drm_gem_handle_create() fails
eb1e552524b4 drm/vgem: fix use-after-free when drm_gem_handle_create() fails
07d0d2bd957a fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
c956914f1efa Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
1c992ea006ce USB: serial: option: add Olicard 600
19151c645d0c USB: serial: option: add support for Quectel EM12
002795b0d9b3 USB: serial: option: set driver_info for SIM5218 and compatibles
d7dfccfd3c4b USB: serial: mos7720: fix mos_parport refcount imbalance on error path
1f46db3cc133 USB: serial: ftdi_sio: add additional NovaTech products
2a63003545d0 USB: serial: cp210x: add new device id
59203f078cc6 serial: sh-sci: Fix setting SCSCR_TIE while transferring data
b1e660c6f802 serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference
f34ec64b3f6c serial: max310x: Fix to avoid potential NULL pointer dereference
a090ed15420a staging: erofs: fix to handle error path of erofs_vmap()
3b6b76644ba5 staging: vt6655: Fix interrupt race condition on device start up.
b9ddff2a41cd staging: vt6655: Remove vif check from vnt_interrupt
86092f2d5ccb staging: speakup_soft: Fix alternate speech with other synths
d0360bf48143 staging: comedi: ni_mio_common: Fix divide-by-zero for DIO cmdtest
668ba38d8950 tty: serial: qcom_geni_serial: Initialize baud in qcom_geni_console_setup
b9bbd1edddf7 tty: atmel_serial: fix a potential NULL pointer dereference
124e42064c0d tty: mxs-auart: fix a potential NULL pointer dereference
7fb7414da97e drm/rockchip: vop: reset scale mode when win is disabled
a93cd9137fea scsi: zfcp: fix scsi_eh host reset with port_forced ERP for non-NPIV FCP devices
983a543de13a scsi: zfcp: fix rport unblock if deleted SCSI devices on Scsi_Host
a52eb223a6ee scsi: sd: Quiesce warning if device does not report optimal I/O size
d72658775c4b scsi: sd: Fix a race between closing an sd device and sd I/O
3b3fcc3d4ffd ocfs2: fix inode bh swapping mixup in ocfs2_reflink_inodes_lock
72b790c417b9 fs/open.c: allow opening only regular files during execve()
aa7f29f87027 kbuild: modversions: Fix relative CRC byte order interpretation
4dfae837ceaf ALSA: hda/realtek - Fix speakers on Acer Predator Helios 500 Ryzen laptops
6f3dbb71085c ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
633d5db40280 ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
fd4000c77a5a ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256
48e8e6a736b6 ALSA: hda/realtek - Add support for Acer Aspire E5-523G/ES1-432 headset mic
5fa5a8679b92 ALSA: hda/realtek: Enable headset MIC of Acer Aspire Z24-890 with ALC286
5ec67684be9e ALSA: hda/realtek: Enable headset MIC of Acer AIO with ALC286
89ec6d400b5d ALSA: hda/realtek - Add support headset mode for New DELL WYSE NB
522f06c9c00d ALSA: hda/realtek - Add support headset mode for DELL WYSE AIO
5b93302bbc4e ALSA: pcm: Don't suspend stream in unrecoverable PCM state
7fc6064dc3b2 ALSA: pcm: Fix possible OOB access in PCM oss plugins
b425f45295dd ALSA: seq: oss: Fix Spectre v1 vulnerability
bd55e6727a33 ALSA: rawmidi: Fix potential Spectre v1 vulnerability
a485919fe4cc net: dsa: qca8k: remove leftover phy accessors
64751542d3f3 NFSv4.1 don't free interrupted slot on open
da57cba4f3f1 NFS: fix mount/umount race in nlmclnt.
0f273f0c3064 vfio: ccw: only free cp on final interrupt
92d4ee2e8276 powerpc: bpf: Fix generation of load/store DW instructions
9397f0d9948c ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time
fd1b25364fef Btrfs: fix assertion failure on fsync with NO_HOLES enabled
0ae3b84b3fa6 btrfs: Avoid possible qgroup_rsv_size overflow in btrfs_calculate_inode_block_rsv_size
1cf4ab01eb5a btrfs: raid56: properly unmap parity page in finish_parity_scrub()
d952c337b25d btrfs: don't report readahead errors and don't update statistics
b57220cc9820 btrfs: remove WARN_ON in log_dir_items
22dcb30fb9d8 Btrfs: fix incorrect file size after shrinking truncate and fsync
a1df5db3a9f1 powerpc/security: Fix spectre_v2 reporting
986f0c656749 powerpc/fsl: Fix the flush of branch predictor.
b848d19c483a powerpc/fsl: Fixed warning: orphan section `__btb_flush_fixup'
632d839296bd powerpc/fsl: Update Spectre v2 reporting
43f40620d7a5 powerpc/fsl: Enable runtime patching if nospectre_v2 boot arg is used
a46a50382639 powerpc/fsl: Flush branch predictor when entering KVM
3cb931c709d0 powerpc/fsl: Flush the branch predictor at each kernel entry (32 bit)
cf72dad924cb powerpc/fsl: Flush the branch predictor at each kernel entry (64bit)
020e5f13805b powerpc/fsl: Add nospectre_v2 command line argument
4a6a2287e0e6 powerpc/fsl: Emulate SPRN_BUCSR register
4944f1d48d71 powerpc/fsl: Add macro to flush the branch predictor
d67ab3d9a1b7 powerpc/fsl: Add infrastructure to fixup branch predictor flush
e044d21c2999 tun: add a missing rcu_read_unlock() in error path
6bdb5fdc4787 thunderx: eliminate extra calls to put_page() for pages held for recycling
ac8411d75962 thunderx: enable page recycling for non-XDP case
a491de9041b4 net: sched: fix cleanup NULL pointer exception in act_mirr
7254ad094f4a ila: Fix rhashtable walker list corruption
979f8a675d3b vxlan: Don't call gro_cells_destroy() before device is unregistered
3b1386beeef4 vrf: prevent adding upper devices
8ea78da1aa3e tun: properly test for IFF_UP
52a7505c91a1 tipc: fix cancellation of topology subscriptions
1be6c0c737e4 tipc: change to check tipc_own_id to return in tipc_net_stop
24d1a6259706 tipc: allow service ranges to be connect()'ed on RDM/DGRAM
7115df614b09 tcp: do not use ipv6 header for ipv4 flow
cab576f1b00f sctp: use memdup_user instead of vmemdup_user
97265479d7ca sctp: get sctphdr by offset in sctp_compute_cksum
cf86f7a97561 rhashtable: Still do rehash when we get EEXIST
69cea7cf3170 packets: Always register packet sk in the same order
d9d215be3a3a net-sysfs: call dev_hold if kobject_init_and_add success
8dcf078d92ae net: stmmac: fix memory corruption with large MTUs
7eeb12edf637 net: rose: fix a possible stack overflow
a6f0168e6681 net: phy: meson-gxl: fix interrupt support
85ef72d829eb net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec
88c64f9c7d3f net: datagram: fix unbounded loop in __skb_try_recv_datagram()
e4ff39e1ba80 net: aquantia: fix rx checksum offload for UDP/TCP over IPv6
c408426292ee mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
e0f8c06f45c3 mac8390: Fix mmio access size probe
be09211384c2 ipv6: make ip6_create_rt_rcu return ip6_null_entry instead of NULL
53adaacbbadb gtp: change NET_UDP_TUNNEL dependency to select
9b8ef421b481 genetlink: Fix a memory leak on error path
321461f2497f dccp: do not use ipv6 header for ipv4 flow
6bba17f6bce3 ipmi_si: Fix crash when using hard-coded device
15d6538a0d6e Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer
2318c0e4b87e Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt
3a2156c839c7 Linux 4.19.32
33bd347fee01 power: supply: charger-manager: Fix incorrect return value
19184190b029 ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
156ba57f4ba6 ALSA: hda - Record the current power state before suspend/resume calls
0e0f7b307212 locking/lockdep: Add debug_locks check in __lock_downgrade()
206a76a684a7 x86/unwind: Add hardcoded ORC entry for NULL
367ccafbcbfe x86/unwind: Handle NULL pointer calls better in frame unwinder
3254dd301f80 loop: access lo_backing_file only when the loop device is Lo_bound
35cdcdc5c49d netfilter: ebtables: remove BUGPRINT messages
1fd916e879a9 f2fs: fix to avoid deadlock of atomic file operations
9dd5053c8cd5 RDMA/cma: Rollback source IP address if failing to acquire device
015b828bd66d drm: Reorder set_property_atomic to avoid returning with an active ww_ctx
e365b94086f9 Bluetooth: hci_ldisc: Postpone HCI_UART_PROTO_READY bit set in hci_uart_set_proto()
f67202f78fe3 Bluetooth: hci_ldisc: Initialize hci_dev before open()
4b39051363a0 Bluetooth: Fix decrementing reference count twice in releasing socket
4e0ca4bfa2bc Bluetooth: hci_uart: Check if socket buffer is ERR_PTR in h4_recv_buf()
6bef442eea18 media: v4l2-ctrls.c/uvc: zero v4l2_event
d12d86411c03 ext4: brelse all indirect buffer in ext4_ind_remove_space()
76c9ee6bd5d2 ext4: fix data corruption caused by unaligned direct AIO
558331d0205b ext4: fix NULL pointer dereference while journal is aborted
ff7a1f81c20e ALSA: ac97: Fix of-node refcount unbalance
c8e91d756703 ALSA: hda/ca0132 - make pci_iounmap() call conditional
4a767459389a ALSA: x86: Fix runtime PM for hdmi-lpe-audio
38bd575b9aef SMB3: Fix SMB3.1.1 guest mounts to Samba
aacf2cc814c2 irqchip/gic-v3-its: Fix comparison logic in lpi_range_cmp
daaeeca918e7 objtool: Move objtool_file struct off the stack
37c6f8089806 perf probe: Fix getting the kernel map
14c52acaac86 cifs: allow guest mounts to work for smb3.11
36d52f5bcd57 futex: Ensure that futex address is aligned in handle_futex_death()
837becb30c3b scsi: ibmvscsi: Fix empty event pool access during host removal
04809b226e79 scsi: ibmvscsi: Protect ibmvscsi_head from concurrent modificaiton
b8ea151a7ab5 powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038
9d91069f48cc MIPS: Fix kernel crash for R6 in jump label branch function
6e74961bd67d MIPS: Ensure ELF appended dtb is relocated
56bcf3df2552 mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
c72e90d94a14 udf: Fix crash on IO error during truncate
9cae232a8706 libceph: wait for latest osdmap in ceph_monc_blacklist_add()
869157135003 iommu/amd: fix sg->dma_address for sg->offset bigger than PAGE_SIZE
69e26237ed1e drm/vmwgfx: Return 0 when gmrid::get_node runs out of ID's
ab483d1ca7ae drm/vmwgfx: Don't double-free the mode stored in par->set_mode
42f358b2d48c mmc: renesas_sdhi: limit block count to 16 bit for old revisions
65a5c93687b7 mmc: mxcmmc: "Revert mmc: mxcmmc: handle highmem pages"
3b6870159e2e mmc: pxamci: fix enum type confusion
6339cc5181c0 ALSA: firewire-motu: use 'version' field of unit directory to identify model
023a1b28cf72 ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist
a2cddfe2ce6e Linux 4.19.31
3053cb9701cd s390/setup: fix boot crash for machine without EDAT-1
e578f90d8a9c bcache: use (REQ_META|REQ_PRIO) to indicate bio for metadata
5ffb710b03d5 KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
29b515c27c0a KVM: nVMX: Apply addr size mask to effective address for VMX instructions
9ce0ffeb68b6 KVM: nVMX: Sign extend displacements of VMX instr's mem operands
c235af5a10f2 KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
656e9e5d5529 KVM: x86/mmu: Detect MMIO generation wrap in any address space
23ad135ae66f KVM: Call kvm_arch_memslots_updated() before updating memslots
585715ef18bf drm/amd/display: don't call dm_pp_ function from an fpu block
17982c6a649b drm/amd/powerplay: correct power reading on fiji
808b1c1e28e8 drm/radeon/evergreen_cs: fix missing break in switch statement
9bc6e5673949 drm/fb-helper: generic: Fix drm_fbdev_client_restore()
87bfc7b695bd media: imx: csi: Stop upstream before disabling IDMA channel
54b941202391 media: imx: csi: Disable CSI immediately after last EOF
73236bf581e9 media: vimc: Add vimc-streamer for stream control
29e8c9ae99c7 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
77b4e7454bbd media: lgdt330x: fix lock status reporting
6039128dc6bf media: imx: prpencvf: Stop upstream before disabling IDMA channel
e97a32a5a3bc rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
bce45a547546 tpm: Unify the send callback behaviour
af0c1bd0c5e9 tpm/tpm_crb: Avoid unaligned reads in crb_recv()
cc3b79d487e8 md: Fix failed allocation of md_register_thread
01088750f25e perf intel-pt: Fix divide by zero when TSC is not available
30cedf18d1e2 perf/x86/intel/uncore: Fix client IMC events return huge result
a46a8cdfea3c perf intel-pt: Fix overlap calculation for padding
fa592fc0bde5 perf auxtrace: Define auxtrace record alignment
d8f691f29d91 perf tools: Fix split_kallsyms_for_kcore() for trampoline symbols
e25353a0ac44 perf intel-pt: Fix CYC timestamp calculation after OVF
3e5a054b0f70 x86/unwind/orc: Fix ORC unwind table alignment
b05581b8ba9c vt: perform safe console erase in the right order
2ca85aac1213 stable-kernel-rules.rst: add link to networking patch queue
622afe5c7449 bcache: never writeback a discard operation
cd73824636cb PM / wakeup: Rework wakeup source timer cancellation
43bceddcd7e2 svcrpc: fix UDP on servers with lots of threads
4af185feb9df NFSv4.1: Reinitialise sequence results before retransmitting a request
ecab6ab1c227 nfsd: fix wrong check in write_v4_end_grace()
8056912c1c75 nfsd: fix memory corruption caused by readdir
10a68cdf1035 nfsd: fix performance-limiting session calculation
2c648caf630d NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
63b0ee126f7e NFS: Fix an I/O request leakage in nfs_do_recoalesce
be74fddc976e NFS: Fix I/O request leakages
4ea4f347662c cpcap-charger: generate events for userspace
ce02d82c4e1a mfd: sm501: Fix potential NULL pointer dereference
5579d97e92f7 dm integrity: limit the rate of error messages
7668d6e45f3a dm: fix to_sector() for 32bit
a441fdaf8c30 ipmi_si: fix use-after-free of resource->name
3cbae9fa85ce arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2
c113a7fb017b arm64: debug: Ensure debug handlers check triggering exception level
85c8ea220f89 arm64: Fix HCR.TGE status for NMI contexts
58691e6a93d8 ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
d6d004b3dd70 powerpc/traps: Fix the message printed when stack overflows
461a52a44893 powerpc/traps: fix recoverability of machine check handling on book3s/32
baed68a953ac powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration
9d2e929c3bae powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
344996a835d4 powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
3bf8ff7bc667 powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit
f6f03d6078b1 powerpc/83xx: Also save/restore SPRG4-7 during suspend
b0934990125a powerpc/powernv: Make opal log only readable by root
9b5305504709 powerpc/wii: properly disable use of BATs when requested.
40b97853c200 powerpc/32: Clear on-stack exception marker upon exception return
c7dad095f35a security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
e4f6f82c9edc selinux: add the missing walk_size + len check in selinux_sctp_bind_connect
584f390d1039 jbd2: fix compile warning when using JBUFFER_TRACE
dbe4bc993836 jbd2: clear dirty flag when revoking a buffer from an older transaction
3545324fba52 serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
8225bb965f29 serial: 8250_pci: Fix number of ports for ACCES serial cards
9d0b55bb2aec serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
a4b021ec4b5a serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
9920eb4003c5 bpf: only test gso type on gso packets
206fa92c9d52 drm/i915: Relax mmap VMA check
116a9e31237c can: flexcan: FLEXCAN_IFLAG_MB: add () around macro argument
6f29e4c2dbb1 gpio: pca953x: Fix dereference of irq data in shutdown
e86a57ecdfac media: i2c: ov5640: Fix post-reset delay
5f9614d0540b i2c: tegra: fix maximum transfer size
25970b517db1 parport_pc: fix find_superio io compare code, should use equal test.
57c29a08c4cf intel_th: Don't reference unassigned outputs
c835b4417c18 device property: Fix the length used in PROPERTY_ENTRY_STRING()
93c8a44a8297 kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
09417dd35e37 mm/memory.c: do_fault: avoid usage of stale vm_area_struct
c1ddc7b785b4 mm/vmalloc: fix size check for remap_vmalloc_range_partial()
234c0cc98221 mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
c7fd1a968c5d dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit
822e21853439 usb: typec: tps6598x: handle block writes separately with plain-I2C adapters
8415e718a06b usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
b1c1ef7b4d63 clk: ingenic: Fix doc of ingenic_cgu_div_info
4a04611fc266 clk: ingenic: Fix round_rate misbehaving with non-integer dividers
33e7604ac8fd clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
4d1de1e6d266 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
9aba7a8fd163 clk: clk-twl6040: Fix imprecise external abort for pdmclk
6e02a5f5aba3 clk: uniphier: Fix update register for CPU-gear
62600af3a7cb ext2: Fix underflow in ext2_max_size()
c335b49379b5 cxl: Wrap iterations over afu slices inside 'afu_list_lock'
54674984d478 IB/hfi1: Close race condition on user context disable and close
09bc2f5a16a9 PCI: dwc: skip MSI init if MSIs have been explicitly disabled
13a9d14fbf1b PCI/DPC: Fix print AER status in DPC event handling
c733cf4abfba PCI/ASPM: Use LTR if already enabled by platform
8a4fdc649ca9 ext4: fix crash during online resizing
a0d876c77705 ext4: add mask of ext4 flags to swap
048bfb5bc05f ext4: update quota information while swapping boot loader inode
071f68163cc0 ext4: cleanup pagecache before swap i_data
cdf9941b7707 ext4: fix check of inode in swap_inode_boot_loader
ae228aca576d cpufreq: pxa2xx: remove incorrect __init annotation
f65b34d0f979 cpufreq: tegra124: add missing of_node_put()
33565a76a7b2 cpufreq: kryo: Release OPP tables on module removal
ee7d297fba24 x86/kprobes: Prohibit probing on optprobe template code
a477075ebab3 irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code
c8666ede18ec irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
b92fad6995c3 libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
02c55be588b1 soc: qcom: rpmh: Avoid accessing freed memory from batch API
898488e2988c Btrfs: fix corruption reading shared and compressed extents after hole punching
1a00f7fd0fbf btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
6e24f5a1ebb1 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
61f9209676e8 Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
fcbf12e23d99 m68k: Add -ffreestanding to CFLAGS
205f149f1a35 ovl: Do not lose security.capability xattr over metadata file copy-up
6f048ae2d25f ovl: During copy up, first copy up data and then xattrs
2af926fd52fc splice: don't merge into linked buffers
1c2123ff4312 fs/devpts: always delete dcache dentry-s in dput()
d8ae662b400f scsi: qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware
f4a9fd5652d5 scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
852a4ab292bb scsi: sd: Optimal I/O size should be a multiple of physical block size
e6e738e2b5ff scsi: aacraid: Fix performance issue on logical drives
bd8a0e656935 scsi: virtio_scsi: don't send sc payload with tmfs
1653307cf0e7 s390/virtio: handle find on invalid queue gracefully
b52bdf53130a s390/setup: fix early warning messages
e19ca3fe6cf2 clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability
ef8062e20614 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
c1f45c10df2e clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
06607b1b6cc9 regulator: s2mpa01: Fix step values for some LDOs
c288e34df128 regulator: max77620: Initialize values for DT properties
462aee48a8a2 regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
15ead7e2a11e spi: pxa2xx: Setup maximum supported DMA transfer length
e51c5ec99597 spi: ti-qspi: Fix mmap read when more than one CS in use
0d98ecb141a6 netfilter: ipt_CLUSTERIP: fix warning unused variable cn
6bd9959aa110 mmc:fix a bug when max_discard is 0
2946910ed837 mmc: sdhci-esdhc-imx: fix HS400 timing issue
c19b9673487e ACPI / device_sysfs: Avoid OF modalias creation for removed device
468ff43f6274 xen: fix dom0 boot on huge systems
24d5097655eb tracing/perf: Use strndup_user() instead of buggy open-coded version
f27077e5f5c5 tracing: Do not free iter->trace in fail path of tracing_open_pipe()
ebca08d7e862 tracing: Use strncpy instead of memcpy for string keys in hist triggers
43eaa6cc1775 CIFS: Fix read after write for files with read caching
dc8e8ad962a8 CIFS: Do not skip SMB2 message IDs on send failures
3ed9f22e28dd CIFS: Do not reset lease state to NONE on lease break
41e2d1c43c87 crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
d5a5bded80a6 crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
66700c89f0ab crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP
8a9fcf4a9f1f crypto: x86/aesni-gcm - fix crash on empty plaintext
5d2a5172caa4 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
574c19d97e6b crypto: testmgr - skip crc32c context test for ahash algorithms
e6c703f15872 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
bb1ae0aadbf1 crypto: pcbc - remove bogus memcpy()s with src == dest
c0bfdac6a471 crypto: morus - fix handling chunked inputs
dc410d2d8405 crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
76f21678d64f crypto: arm64/crct10dif - revert to C code for short inputs
4bca5a9a5dcd crypto: arm64/aes-neonbs - fix returning final keystream block
0beb34b865e3 crypto: arm/crct10dif - revert to C code for short inputs
4c152af938ce crypto: aegis - fix handling chunked inputs
736807d69157 crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
7a8b048430c1 fix cgroup_do_mount() handling of failure exits
3b8da135a4cc libnvdimm: Fix altmap reservation size calculation
696c37524beb libnvdimm/pmem: Honor force_raw for legacy pmem regions
6a89ed7aa140 libnvdimm, pfn: Fix over-trim in trim_pfn_device()
2b88d92ea9d2 libnvdimm/label: Clear 'updating' flag after label-set update
f4dfb94a0754 nfit/ars: Attempt short-ARS even in the no_init_ars case
e6defe76600b nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
f5878c4f084d acpi/nfit: Fix bus command validation
8df25eb903c5 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
eabd7d248e21 stm class: Prevent division by zero
b3139fbb3b00 tmpfs: fix uninitialized return value in shmem_link
d3f62d3eab0b selftests: fib_tests: sleep after changing carrier. again.
8cd89bf632b2 net: set static variable an initial value in atl2_probe()
29e4bfbc79b4 bnxt_en: Wait longer for the firmware message response to complete.
b4baeab7e084 bnxt_en: Fix typo in firmware message timeout logic.
a40fa9498707 nfp: bpf: fix ALU32 high bits clearance bug
7ca1faa52be7 nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K
4523507c52b8 net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task
17bc53e73d0c net: thunderx: make CFG_DONE message to run through generic send-ack sequence
02f8211b75c9 bpf, lpm: fix lookup bug in map_delete_elem
c5f37906ecb7 mac80211_hwsim: propagate genlmsg_reply return code
ee01ac61d1d4 phonet: fix building with clang
8b9187e7df64 ARCv2: don't assume core 0x54 has dual issue
3220aa9b0065 ARCv2: support manual regfile save on interrupts
74b4dcea6756 ARC: uacces: remove lp_start, lp_end from clobber list
2fc69e55f370 ARCv2: lib: memcpy: fix doing prefetchw outside of buffer
2c049f195787 ixgbe: fix older devices that do not support IXGBE_MRQC_L3L4TXSWEN
064a61d3e7b5 tmpfs: fix link accounting when a tmpfile is linked in
e6e9d6e29002 mm: handle lru_add_drain_all for UP properly
f3a9c9be0eb4 net: marvell: mvneta: fix DMA debug warning
e52578889c8e ARM: tegra: Restore DT ABI on Tegra124 Chromebooks
f715466a3f23 arm64: Relax GIC version check during early boot
2f97f7125237 ARM: dts: armada-xp: fix Armada XP boards NAND description
e4d14f616050 qed: Fix iWARP syn packet mac address validation.
821c67748623 qed: Fix iWARP buffer size provided for syn packet processing.
90fc2f95c418 ASoC: topology: free created components in tplg load error
edd7b6b9be97 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue
6ac400b7c5e8 xfrm: Fix inbound traffic via XFRM interfaces across network namespaces
3a5321342361 net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe()
a139d6a318de qmi_wwan: apply SET_DTR quirk to Sierra WP7607
13cb60c3c915 pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins
90a86d00af1a net: dsa: bcm_sf2: Do not assume DSA master supports WoL
d33f5a0febfa net: systemport: Fix reception of BPDUs
3491857f4292 scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task
726832821903 keys: Fix dependency loop between construction record and auth key
fac71ac37634 assoc_array: Fix shortcut creation
84657a1ba9bd ARM: 8835/1: dma-mapping: Clear DMA ops on teardown
978e0388c22b af_key: unconditionally clone on broadcast
c7c68a1b9a16 bpf: fix lockdep false positive in stackmap
413e39852082 bpf: only adjust gso_size on bytestream protocols
da3495301cda ARM: 8824/1: fix a migrating irq bug when hotplug cpu
b92eaed36c4b esp: Skip TX bytes accounting when sending from a request socket
2f3b4f968619 clk: sunxi: A31: Fix wrong AHB gate number
cacf3c0d8288 kallsyms: Handle too long symbols in kallsyms.c
980f44f8dd8a clk: sunxi-ng: v3s: Fix TCON reset de-assert bit
5050f03ff0b1 Input: st-keyscan - fix potential zalloc NULL dereference
bf26feccf99c auxdisplay: ht16k33: fix potential user-after-free on module unload
8e770d996ea4 i2c: bcm2835: Clear current buffer pointers and counts after a transfer
d9ce9aea3f63 i2c: cadence: Fix the hold bit setting
8f622a7d512c net: hns: Fix object reference leaks in hns_dsaf_roce_reset()
33e83ea302c0 mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs
a9503ade1bf7 x86/CPU: Add Icelake model number
388f3adb2729 net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend()
8ab49fd5b072 scsi: qla2xxx: Fix panic from use after free in qla2x00_async_tm_cmd
53dcaeeff145 Revert "mm: use early_pfn_to_nid in page_ext_init"
8b1a7762e0da mm/gup: fix gup_pmd_range() for dax
6c023d86b364 NFS: Don't use page_file_mapping after removing the page
d84bc704b91e xprtrdma: Make sure Send CQ is allocated on an existing compvec
e01f2b0821ea floppy: check_events callback should not return a negative number
5ca2ef674d74 ipvs: fix dependency on nf_defrag_ipv6
29452f665c2f blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue
e0e6b0d7e09c netfilter: compat: initialize all fields in xt_init
a5a244451145 mac80211: Fix Tx aggregation session tear down with ITXQs
bff33ba4f9ca mac80211: call drv_ibss_join() on restart
134891e124da Input: matrix_keypad - use flush_delayed_work()
e91dc2092f7f Input: ps2-gpio - flush TX work when closing port
4fe714b750cb Input: cap11xx - switch to using set_brightness_blocking()
f49f7007de59 ARM: OMAP2+: fix lack of timer interrupts on CPU1 after hotplug
8f07d76481d5 ASoC: samsung: Prevent clk_get_rate() calls in atomic context
459058f0e329 KVM: arm64: Forbid kprobing of the VHE world-switch code
04131dfcb910 KVM: arm/arm64: vgic: Always initialize the group of private IRQs
c831293622b2 arm/arm64: KVM: Don't panic on failure to properly reset system registers
b78379c33723 arm/arm64: KVM: Allow a VCPU to fully reset itself
dfe9b4d992ca KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded
20604435e2f4 ASoC: rsnd: fixup rsnd_ssi_master_clk_start() user count check
e07aaaa7013e ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables
f3f7a8b6faf8 ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized
ad4507bd2bf1 ARM: dts: Configure clock parent for pwm vibra
bac70a89419a Input: pwm-vibra - stop regulator after disabling pwm, not before
0ed72d3f6f1d Input: pwm-vibra - prevent unbalanced regulator
98a137cd0484 s390/dasd: fix using offset into zero size array error
cdaf89ab8f77 arm64: dts: rockchip: fix graph_port warning on rk3399 bob kevin and excavator
5f4a64b040c9 KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock
ac696b0176b4 clocksource: timer-ti-dm: Fix pwm dmtimer usage of fck reparenting
b2c642a1a618 ASoC: rt5682: Correct the setting while select ASRC clk for AD/DA filter
35ad2e6d7e46 gpu: ipu-v3: Fix CSI offsets for imx53
04c5c4c47c31 drm/imx: imx-ldb: add missing of_node_puts
1640b5288615 gpu: ipu-v3: Fix i.MX51 CSI control registers offset
a308622febe1 drm/imx: ignore plane updates on disabled crtcs
2e0e1f9a1e41 crypto: rockchip - update new iv to device in multiple operations
5aabf06712c2 crypto: rockchip - fix scatterlist nents error
3c5d7703bbd0 crypto: ahash - fix another early termination in hash walk
1a10e6b5bb34 crypto: cfb - remove bogus memcpy() with src == dest
0b1871d041d3 crypto: cfb - add missing 'chunksize' property
6ed42ccca59d crypto: ccree - don't copy zero size ciphertext
0bdd345a3848 crypto: ccree - unmap buffer before copying IV
009eeb9878b4 crypto: ccree - fix free of unallocated mlli buffer
6f4c11b09770 crypto: caam - fix DMA mapping of stack memory
74fd74e1fc8d crypto: caam - fixed handling of sg list
ce36d9fafb43 crypto: ccree - fix missing break in switch statement
32eeecf7ac87 crypto: caam - fix hash context DMA unmap size
dd6ce0316e70 stm class: Fix an endless loop in channel allocation
a253d1f3e490 mei: bus: move hw module get/put to probe/release
02c0c70fb36e mei: hbm: clean the feature flags on link reset
dbcb0a590ecb iio: adc: exynos-adc: Fix NULL pointer exception on unbind
3f44122e065c ASoC: codecs: pcm186x: Fix energysense SLEEP bit
7d9e07582a7f ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
098e0f89a341 ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
85bdc9daff40 9p/net: fix memory leak in p9_client_create
e08ba890dc29 9p: use inode->i_lock to protect i_size_write() under 32-bit
573d423a9bd7 media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()
(From OE-Core rev: bfb471e1557d8e3bf504668b38384388f0e8969e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases which comprise the following
commits:
8b298d3a0bd5 Linux 5.0.7
e73f145543fa kbuild: skip sub-make for in-tree build with GNU Make 4.x
d972d1c0d76d kbuild: add workaround for Debian make-kpkg
38d2286e52ea bcache: fix potential div-zero error of writeback_rate_p_term_inverse
ae050638bc97 ACPI / video: Extend chassis-type detection with a "Lunch Box" check
3e033b1b435a gpio: of: Restrict enable-gpio quirk to regulator-gpio
ae42fc868cd5 appletalk: Fix compile regression
a84b7c68966a net: stmmac: Avoid one more sometimes uninitialized Clang warning
36b39631cc85 drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
8826838f43fe drm: Reorder set_property_atomic to avoid returning with an active ww_ctx
0a2e1a5b583b ASoC: simple-card-utils: check "reg" property on asoc_simple_card_get_dai_id()
45040e92500c Input: soc_button_array - fix mapping of the 5th GPIO in a PNP0C40 device
1ad62489b25a staging: iio: adt7316: fix dac_bits assignment
2bece1d313aa dmaengine: tegra: avoid overflow of byte tracking
e84e0a8c3f22 clk: rockchip: fix frac settings of GPLL clock for rk3328
25fb6c323b55 ARM: shmobile: Fix R-Car Gen2 regulator quirk
9b0f430450cf clk: meson: clean-up clock registration
a644d2d28baf drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup
c8a8dd1d85ca x86/build: Mark per-CPU symbols as absolute explicitly for LLD
38af5462fa51 wlcore: Fix memory leak in case wl12xx_fetch_firmware failure
ab79dc3ef024 brcmfmac: Use firmware_request_nowarn for the clm_blob
f836093a2eeb selinux: do not override context on context mounts
993f96415a72 x86/build: Specify elf_i386 linker emulation explicitly for i386 objects
16d4d75d8b6e drm/nouveau: Stop using drm_crtc_force_disable
bfb59eabe2c9 drm: Auto-set allow_fb_modifiers when given modifiers at plane init
778c82db727a pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins
1048bfd8bf67 regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting
e78d5e16f1d6 audit: hand taken context to audit_kill_trees for syscall logging
a43ea8ca1865 PCI: pciehp: Assign ctrl->slot_ctrl before writing it to hardware
e5d1f1c0148d media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration
68ec6a13ef0d media: rcar-vin: Allow independent VIN link enablement
ebd0f3066c35 netfilter: physdev: relax br_netfilter dependency
d7e6e93b95f2 dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*
1bac8b82d95c dmaengine: qcom_hidma: assign channel cookie correctly
56d276b53614 dmaengine: imx-dma: fix warning comparison of distinct pointer types
964065d234c7 cpu/hotplug: Mute hotplug lockdep during init
8376acca6f18 pinctrl: sh-pfc: r8a77995: Fix MOD_SEL bit numbering
e848354f28b7 pinctrl: sh-pfc: r8a77990: Fix MOD_SEL bit numbering
9d7ff2ae8fd6 pinctrl: meson: fix G12A ao pull registers base address
e17a340f9598 hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable
283a29de66c3 f2fs: fix to initialize variable to avoid UBSAN/smatch warning
3d1a731bcec7 f2fs: UBSAN: set boolean value iostat_enable correctly
d9f59ff251b4 HID: intel-ish: ipc: handle PIMR before ish_wakeup also clear PISR busy_clear bit
931480457bb3 selftests/bpf: suppress readelf stderr when probing for BTF support
e01bc8baa867 soc/tegra: fuse: Fix illegal free of IO base address
bf381e06af42 hwrng: virtio - Avoid repeated init of completion
64ef5941a6f8 media: mt9m111: set initial frame size other than 0x0
9acd16abab23 perf script python: Add trace_context extension module to sys.modules
8febc5d31032 perf script python: Use PyBytes for attr in trace-event-python
8f4264f58eb8 perf trace: Fixup etcsnoop example
631e6859c9ac platform/x86: intel-hid: Missing power button release on some Dell models
3ea0a48aa080 usb: dwc3: gadget: Fix OTG events when gadget driver isn't loaded
bce56838a25d regulator: mcp16502: Include linux/gpio/consumer.h to fix build error
f8d78138dd55 ALSA: dice: add support for Solid State Logic Duende Classic/Mini
504dfdea9c39 drm/amd/display: Enable vblank interrupt during CRC capture
b32cff3dd086 powerpc/pseries: Perform full re-add of CPU for topology update post-migration
9ee0088f920b tty: increase the default flip buffer limit to 2*640K
d9c61474aa77 backlight: pwm_bl: Use gpiod_get_value_cansleep() to get initial state
b8498a26ffdb cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix the accounting
07232db69580 powerpc/64s: Clear on-stack exception marker upon exception return
cf651d7007c1 selftests/bpf: skip verifier tests for unsupported program types
08619450dbfe bpf: fix missing prototype warnings
8b3b22aa7c55 block, bfq: fix queue removal from weights tree
c581587af717 block, bfq: fix in-service-queue check for queue merging
721360c972a3 ARM: avoid Cortex-A9 livelock on tight dmb loops
34164dfc56a4 ARM: 8830/1: NOMMU: Toggle only bits in EXC_RETURN we are really care of
f7a2659378e7 mt7601u: bump supported EEPROM version
a1fc32156354 drm/msm/dpu: Convert to a chained irq chip
e0442dc492e5 soc: qcom: gsbi: Fix error handling in gsbi_probe()
65ae5c0808c7 efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted
6416e05b8190 ARM: dts: lpc32xx: Remove leading 0x and 0s from bindings notation
897a3b9ef31d drm/vkms: Bugfix extra vblank frame
1c76c3cf3060 drm/vkms: Bugfix racing hrtimer vblank handle
5ca05ecd2954 sched/core: Use READ_ONCE()/WRITE_ONCE() in move_queued_task()/task_rq_lock()
4e634952fe74 efi/memattr: Don't bail on zero VA if it equals the region's PA
dd288d329d17 sched/debug: Initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK
0da521452109 ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe
8a838b44f70f iwlwifi: mvm: fix RFH config command with >=10 CPUs
9bd4debdd544 staging: spi: mt7621: Add return code check on device_reset()
3aa0518aacaa i2c: of: Try to find an I2C adapter matching the parent
c1ac30ee10cf platform/x86: intel_pmc_core: Fix PCH IP sts reading
b503ea08fe0d e1000e: Exclude device from suspend direct complete optimization
7f0a3a436e88 e1000e: fix cyclic resets at link up with active tx
4e4fba6d30f8 perf/aux: Make perf_event accessible to setup_aux()
81ee4eab3117 drm/amd/display: Disconnect mpcc when changing tg
c730d6c156c6 powerpc/ptrace: Mitigate potential Spectre v1
8e74000fd656 x86/kexec: Fill in acpi_rsdp_addr from the first kernel
90c93fbede11 bpf: test_maps: fix possible out of bound access warning
c60bf6e7594c drm/amd/display: Don't re-program planes for DPMS changes
ada81ebc5f35 drm: rcar-du: add missing of_node_put
7208136a41f9 cdrom: Fix race condition in cdrom_sysctl_register
e00ff3abfaaf fbdev: fbmem: fix memory access if logo is bigger than the screen
8e48664da19f net: phy: consider latched link-down status in polling mode
c230484a3767 iw_cxgb4: fix srqidx leak during connection abort
3e45ebf5a16c net: marvell: mvpp2: fix stuck in-band SGMII negotiation
c0ed04868506 genirq: Avoid summation loops for /proc/stat
c984b1e68b0c bcache: improve sysfs_strtoul_clamp()
5db086d7c05f bcache: fix potential div-zero error of writeback_rate_i_term_inverse
d4db0c5ee0b4 bcache: fix input overflow to sequential_cutoff
f48bb10d7615 bcache: fix input overflow to cache set sysfs file io_error_halflife
83a6f919bbb7 sched/topology: Fix percpu data types in struct sd_data & struct s_data
9738742e4e38 usb: f_fs: Avoid crash due to out-of-scope stack ptr access
db5177729062 ath10k: fix shadow register implementation for WCN3990
31f3d84c6d9f ALSA: PCM: check if ops are defined before suspending PCM
6c896df369d1 ARM: dts: meson8b: fix the Ethernet data line signals in eth_rgmii_pins
c716b08e06ca ARM: 8833/1: Ensure that NEON code always compiles with Clang
f74b0a4bf14c netfilter: conntrack: fix cloned unconfirmed skb->_nfct race in __nf_conntrack_confirm
c4ea4a79f8b2 kprobes: Prohibit probing on RCU debug routine
170d42947604 kprobes: Prohibit probing on bsearch()
34968a446c4e selftests: skip seccomp get_metadata test if not real root
7981a5b4df77 selftests: ir: fix warning: "%s" directive output may be truncated ’ directive output may be truncated
7b27cb19942e ACPI / video: Refactor and fix dmi_is_desktop()
4f9f04ca4f83 iwlwifi: pcie: fix emergency path
2392dcb54ad2 perf coresight: Do not test for libopencsd by default
528033f554c8 perf report: Add s390 diagnosic sampling descriptor size
59c09689808e perf trace: Check if the 'fd' is negative when mapping it to pathname
8b4fdbce8ca4 perf beauty waitid options: Fix up prefix showing logic
336eb093ba16 tools build: Add test-reallocarray.c to test-all.c to fix the build
17e987679232 tools build: Add -lrt to FEATURE_CHECK_LDFLAGS-libaio
1cbdd2401798 leds: lp55xx: fix null deref on firmware load failure
34cbc429c56d jbd2: fix race when writing superblock
9489ac42680c regulator: core: Take lock before applying system load
7440c206c38f drm/sched: Fix entities with 0 rqs.
aa6c9fcac011 efi: Fix build error due to enum collision between efi.h and ima.h
55d7152d37dc cgroup, rstat: Don't flush subtree root unless necessary
2fe8be270932 HID: intel-ish-hid: avoid binding wrong ishtp_cl_device
e6eef5240054 vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1
a8254b01ca21 xen/gntdev: Do not destroy context while dma-bufs are in use
d6318df6b0cc gpio: of: Apply regulator-gpio quirk only to enable-gpios
7d361b8dbafe mt76: usb: do not run mt76u_queues_deinit twice
af1ef012b95f media: rockchip/vpu: Correct return type for mem2mem buffer helpers
d544b0856f3f media: mtk-jpeg: Correct return type for mem2mem buffer helpers
569ce17b4cd9 media: mx2_emmaprp: Correct return type for mem2mem buffer helpers
76499752191f media: s5p-g2d: Correct return type for mem2mem buffer helpers
8852dab94f04 media: rockchip/rga: Correct return type for mem2mem buffer helpers
9f31e32fd5a5 media: s5p-jpeg: Correct return type for mem2mem buffer helpers
21ad47c39835 media: sh_veu: Correct return type for mem2mem buffer helpers
a6d9661c5d16 media: ov7740: fix runtime pm initialization
ed83655ce8c2 SoC: imx-sgtl5000: add missing put_device()
a75ad663203b perf report: Don't shadow inlined symbol with different addr range
c3a8705881cc mwifiex: don't advertise IBSS features without FW support
aa8c73c8682f perf test: Fix failure of 'evsel-tp-sched' test on s390
16a94480fb03 drm/amd/display: Clear stream->mode_changed after commit
456736ab1b78 scsi: fcoe: make use of fip_mode enum complete
952613125def scsi: megaraid_sas: return error when create DMA pool failed
a3c1a668a014 s390/ism: ignore some errors during deregistration
5d1db4825e3c efi: cper: Fix possible out-of-bounds access
99bb2d19853a cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies
4e7b5f9dc7a7 ASoC: qcom: Fix of-node refcount unbalance in qcom_snd_parse_of()
a332ad5f006f powerpc/44x: Force PCI on for CURRITUCK
4974ca47f15c perf annotate: Fix getting source line failure
1a4faefc4680 clk: fractional-divider: check parent rate only if flag is set
869a72e08b86 IB/mlx4: Increase the timeout for CM cache
55bbe8fa7bfd i2c: designware: Do not allow i2c_dw_xfer() calls while suspended
600c30ca6124 loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part()
540f120998df platform/mellanox: mlxreg-hotplug: Fix KASAN warning
a21f5c44cb8e platform/x86: ideapad-laptop: Fix no_hw_rfkill_list for Lenovo RESCUER R720-15IKBN
e2427570b374 i2c: Allow recovery of the initial IRQ by an I2C client device.
6f93033d93d1 mlxsw: spectrum: Avoid -Wformat-truncation warnings
a782956c2a30 e1000e: Fix -Wformat-truncation warnings
cae3c93ad96b veth: Fix -Wformat-truncation
dd8ab7cdbcda net: hns3: fix setting of the hns reset_type for rdma hw errors
660b8b783aed net: dsa: mv88e6xxx: Add lockdep classes to fix false positive splat
f9cf94eca1be mmc: omap: fix the maximum timeout setting
895927dc1c6a btrfs: don't enospc all tickets on flush failure
8f6019b404c8 btrfs: qgroup: Make qgroup async transaction commit more aggressive
9a27e9ef2338 perf script: Handle missing fields with -F +..
565e4ecefeae ice: fix ice_remove_rule_internal vsi_list handling
b3425e19f614 net: dsa: mv88e6xxx: Default CMODE to 1000BaseX only on 6390X
13fe58e28c21 powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback
957b2d2317e9 iommu/io-pgtable-arm-v7s: Only kmemleak_ignore L2 tables
af6366bb82e6 ARM: 8845/1: use unified assembler in c files
dbda5b6625bd ARM: 8840/1: use a raw_spinlock_t in unwind
8cada074059f serial: 8250_pxa: honor the port number from devicetree
1e084b9e2037 coresight: etm4x: Add support to enable ETMv4.2
8e28ed0b7b8d powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc
5e91baea2c1f ath10k: don't report unset rssi values to mac80211
33cb50fa0930 drm/amd/display: Fix reference counting for struct dc_sink.
29b55af8a429 btrfs: save drop_progress if we drop refs at all
e3e9d97396cd kbuild: make -r/-R effective in top Makefile for old Make versions
366a5ee958d0 kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing
22efb9f2aeff scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.c
b17b4bd79afc powerpc/powernv/ioda: Fix locked_vm counting for memory used by IOMMU tables
7fe45a018fb3 usb: chipidea: Grab the (legacy) USB PHY by phandle first
a133f9f7f96a tools/bpf: selftests: add map lookup to test_map_in_map bpf prog
547272b44afa crypto: cavium/zip - fix collision with generic cra_driver_name
1ee9d34d6861 crypto: crypto4xx - add missing of_node_put after of_device_is_available
2b52034346cd lockdep/lib/tests: Fix run_tests.sh
a73713e53323 ath10k: Fix the wrong updation of BW in tx_stats debugfs entry
e486c95f5d50 mt76: fix a leaked reference by adding a missing of_node_put
96e2fec0fd8c wil6210: check null pointer in _wil_cfg80211_merge_extra_ies
d8f775092499 PCI/PME: Fix hotplug/sysfs remove deadlock in pcie_pme_remove()
88f0ced0d75f mm/resource: Return real error codes from walk failures
6e33632946e4 tools lib traceevent: Fix buffer overflow in arg_eval
a1d9d2145c50 fs: fix guard_bio_eod to check for real EOD errors
dee200aba7dc ext4: fix bigalloc cluster freeing when hole punching under load
1d62e75a00bb jbd2: fix invalid descriptor block checksum
87f8ad583c79 iommu/vt-d: Disable ATS support on untrusted devices
b39898beee9d netfilter: conntrack: tcp: only close if RST matches exact sequence
8a0f1351bac1 PCI: mediatek: Fix memory mapped IO range size computation
fdb08cf7dbee netfilter: nf_tables: check the result of dereferencing base_chain->stats
dc8d8f83ea52 perf beauty msg_flags: Add missing %s lost when adding prefix suppression logic
d6dd80425f5d cifs: Fix NULL pointer dereference of devname
bcb99efab248 cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED
88596e78dae4 f2fs: fix to check inline_xattr_size boundary correctly
e3eea74f61a8 dm thin: add sanity checks to thin-pool and external snapshot creation
f2e34b4ff47e cifs: use correct format characters
64f336255228 kasan: fix kasan_check_read/write definitions
326ce03840eb page_poison: play nicely with KASAN
0326696a6769 fs/file.c: initialize init_files.resize_wait
902507dada43 f2fs: fix to data block override node segment by mistake
3667215198eb f2fs: do not use mutex lock in atomic context
e92a6db09700 ocfs2: fix a panic problem caused by o2cb_ctl
8783c35917b6 mm/slab.c: kmemleak no scan alien caches
f67cd526ce1d mm/vmalloc.c: fix kernel BUG at mm/vmalloc.c:512!
03bccbc025ed mm, mempolicy: fix uninit memory access
c59c60824a9a memcg: killed threads should not invoke memcg OOM killer
db5d8675b14a mm,oom: don't kill global init via memory.oom.group
66a4d4d03b7e docs/core-api/mm: fix user memory accessors formatting
34fa723765cf mm, swap: bounds check swap_info array accesses to avoid NULL derefs
57f5b77e9f46 mm/page_ext.c: fix an imbalance with kmemleak
93b7ebef7ee3 mm/cma.c: cma_declare_contiguous: correct err handling
90a70109697c mm/sparse: fix a bad comparison
60c86431ca4c perf c2c: Fix c2c report for empty numa node
11304c4b4ee4 x86/hyperv: Fix kernel panic when kexec on HyperV
34555ccacf94 iio: adc: fix warning in Qualcomm PM8xxx HK/XOADC driver
86aad65625cf scsi: hisi_sas: Fix a timeout race of driver internal and SMP IO
776de12b9f8f scsi: hisi_sas: Set PHY linkrate when disconnected
c5021aa17b05 libbpf: force fixdep compilation at the start of the build
267f65c94fb7 enic: fix build warning without CONFIG_CPUMASK_OFFSTACK
aaad69802e17 net: stmmac: Avoid sometimes uninitialized Clang warnings
4e4d49798d86 sysctl: handle overflow for file-max
fd9317a3e2a0 include/linux/relay.h: fix percpu annotation in struct rchan
c7c82cea6985 gpio: gpio-omap: fix level interrupt idling
90833d08ffa5 clk: ti: clkctrl: Fix clkdm_name regression for TI_CLK_CLKCTRL_COMPAT
b48475a66ef5 xsk: fix to reject invalid flags in xsk_bind
3cac5ce088c2 net/mlx5: Avoid panic when setting vport mac, getting vport config
a1126c2008a3 net/mlx5: Avoid panic when setting vport rate
d1e83bda0c30 net/mlx5e: Fix access to non-existing receive queue
043a440018e3 tracing: kdb: Fix ftdump to not sleep
4c6df358aa87 apparmor: fix double free when unpack of secmark rules fails
a98984da006b f2fs: fix to avoid deadlock in f2fs_read_inline_dir()
8d661a663048 f2fs: fix to adapt small inline xattr space in __find_inline_xattr()
e56d6fa7acf3 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux-
1eaf6713c5b3 nvme-loop: init nvmet_ctrl fatal_err_work when allocate
32b73dc525a1 nvme-fc: fix numa_node when dev is null
fae38f280334 CIFS: fix POSIX lock leak and invalid ptr deref
dc2b4d4ab0ae ext4: cleanup bh release code in ext4_ind_remove_space()
820c1fa51501 Linux 5.0.6
debaa517c16c mt76x02u: use usb_bulk_msg to upload firmware
046098f056e2 bpf: do not restore dst_reg when cur_state is freed
b54f0c4976e7 KVM: x86: update %rip after emulating IO
cc3f680dd076 KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
d50d46e303d4 KVM: Reject device ioctls from processes other than the VM's creator
8c0823aa123b x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
c3bcf0314665 cpu/hotplug: Prevent crash when CPU bringup fails on CONFIG_HOTPLUG_CPU=n
53464ca9130b watchdog: Respect watchdog cpumask on CPU hotplug
1a0ecfd4e633 powerpc/pseries/mce: Fix misleading print for TLB mutlihit
4a2b2d5dc8fa powerpc/64: Fix memcmp reading past the end of src/dest
e92932ef2862 powerpc/pseries/energy: Use OF accessor functions to read ibm,drc-indexes
8f84f7daabb2 objtool: Query pkg-config for libelf location
a0de19f1c307 perf intel-pt: Fix TSC slip
c9418d0addb0 perf pmu: Fix parser error for uncore event alias
8ad454a831e0 mm/migrate.c: add missing flush_dcache_page for non-mapped page migrate
8a86a416c948 mm/page_isolation.c: fix a wrong flag in set_migratetype_isolate()
77a5258a57e7 mm/memory_hotplug.c: fix notification in offline error path
2b57282beb60 mm/debug.c: fix __dump_page when mapping->host is not set
8b2f31de5d15 mm: mempolicy: make mbind() return -EIO when MPOL_MF_STRICT is specified
467c01f2deea iommu/io-pgtable-arm-v7s: request DMA32 memory, and improve debugging
ed3886c7d9f2 mm: add support for kmem caches in DMA32 zone
eef9dbbad03f mm/hotplug: fix offline undo_isolate_page_range()
d26254c4e7ca usb: typec: Fix unchecked return value
a3bed8b549ec usb: typec: tcpm: Try PD-2.0 if sink does not respond to 3.0 source-caps
402f57808b9a usb: cdc-acm: fix race during wakeup blocking TX traffic
c7a5ef0d64f4 xhci: Don't let USB3 ports stuck in polling state prevent suspend
448c39c360ef usb: xhci: dbc: Don't free all memory with spinlock held
c08a998dec55 xhci: Fix port resume done detection for SS ports with LPM enabled
8e70eae1816b usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk
40b8282f9009 mm/memory.c: fix modifying of page protection by insert_pfn()
08213ad7465f usb: common: Consider only available nodes for dr_mode
80ff12631ba5 USB: gadget: f_hid: fix deadlock in f_hidg_write()
8f00b32d3991 usb: mtu3: fix EXTCON dependency
dbc206874d67 phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
494d26aa3915 gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
aa2250dec6ee gpio: exar: add a check for the return value of ida_simple_get fails
673bc99a6708 drm/i915/icl: Fix the TRANS_DDI_FUNC_CTL2 bitfield macro
25c939a9a594 drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check
9241bd9b6401 drm/i915: Mark AML 0x87CA as ULX
0baddc2099dd drm/vkms: fix use-after-free when drm_gem_handle_create() fails
18e8f0f379a5 drm/vgem: fix use-after-free when drm_gem_handle_create() fails
5f0bf5cd357d cpufreq: scpi: Fix use after free
7466a2abe757 cpufreq: intel_pstate: Also use CPPC nominal_perf for base_frequency
0dcb45879a5f blk-mq: fix sbitmap ws_active for shared tags
50076360f4a0 drivers/block/zram/zram_drv.c: fix idle/writeback string compare
79d8bdf334d6 fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
e44461a50380 Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
c6ed8bf0ad03 ACPI / CPPC: Fix guaranteed performance handling
72c1487ea0a4 USB: serial: option: add Olicard 600
623533deabb1 USB: serial: option: add support for Quectel EM12
b7a0e2163e0d USB: serial: option: set driver_info for SIM5218 and compatibles
4503b17ed496 USB: serial: mos7720: fix mos_parport refcount imbalance on error path
639f52d29012 USB: serial: ftdi_sio: add additional NovaTech products
7790bb1039fb USB: serial: cp210x: add new device id
4fc867dd92cb serial: sh-sci: Fix setting SCSCR_TIE while transferring data
e39ecf48678e serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference
763eafe0dbf5 serial: max310x: Fix to avoid potential NULL pointer dereference
198b7b7fb6b6 staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
22a76cf6a5eb staging: erofs: fix error handling when failed to read compresssed data
a0fdd9036176 staging: erofs: fix to handle error path of erofs_vmap()
be3d49395af0 staging: vt6655: Fix interrupt race condition on device start up.
37fc532d4d58 staging: vt6655: Remove vif check from vnt_interrupt
7d9cd1961a50 staging: speakup_soft: Fix alternate speech with other synths
de6283bc5caf staging: olpc_dcon_xo_1: add missing 'const' qualifier
da418a0b0963 staging: comedi: ni_mio_common: Fix divide-by-zero for DIO cmdtest
5bff7cb2bc89 tty: serial: qcom_geni_serial: Initialize baud in qcom_geni_console_setup
36e47853d0e9 tty: atmel_serial: fix a potential NULL pointer dereference
ade797815046 tty: mxs-auart: fix a potential NULL pointer dereference
35070431105f tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped
70691073d296 tty/serial: atmel: Add is_half_duplex helper
d5845d77e9e1 drm/rockchip: vop: reset scale mode when win is disabled
631d09fd0856 scsi: zfcp: fix scsi_eh host reset with port_forced ERP for non-NPIV FCP devices
e188df764406 scsi: zfcp: fix rport unblock if deleted SCSI devices on Scsi_Host
143982417ad3 scsi: sd: Quiesce warning if device does not report optimal I/O size
98163d192bc5 scsi: sd: Fix a race between closing an sd device and sd I/O
310891a84396 ocfs2: fix inode bh swapping mixup in ocfs2_reflink_inodes_lock
f2391e6767a6 fs/open.c: allow opening only regular files during execve()
95d78fc93943 kbuild: modversions: Fix relative CRC byte order interpretation
a6c74dcb5909 ALSA: hda/realtek - Fix speakers on Acer Predator Helios 500 Ryzen laptops
f2b1bfbc173a ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
c03c547b07d9 ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
dd1774f3d0cd ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256
c672af11fbb0 ALSA: hda/realtek - Add support for Acer Aspire E5-523G/ES1-432 headset mic
12af8b3d94eb ALSA: hda/realtek: Enable headset MIC of Acer Aspire Z24-890 with ALC286
9635b3bf1a5f ALSA: hda/realtek: Enable headset MIC of Acer AIO with ALC286
b6de98dcc02e ALSA: hda/realtek - Add support headset mode for New DELL WYSE NB
8da540f343aa ALSA: hda/realtek - Add support headset mode for DELL WYSE AIO
545d1fe70648 ALSA: hda/realtek: merge alc_fixup_headset_jack to alc295_fixup_chromebook
c87a0bb99b83 ALSA: hda/realtek - Fixed Headset Mic JD not stable
56e3785b579b ALSA: pcm: Don't suspend stream in unrecoverable PCM state
94176d2a1d2b ALSA: pcm: Fix possible OOB access in PCM oss plugins
a30c0ff829c6 ALSA: seq: oss: Fix Spectre v1 vulnerability
abe5b0a76de9 ALSA: rawmidi: Fix potential Spectre v1 vulnerability
ce1ae80cacf7 net: dsa: qca8k: remove leftover phy accessors
0110524398bb NFSv4.1 don't free interrupted slot on open
e37c15d77d68 NFS: fix mount/umount race in nlmclnt.
7a4cdaf977c2 NFS: Fix nfs4_lock_state refcounting in nfs4_alloc_{lock,unlock}data()
bd01ab90e8a5 vfio: ccw: only free cp on final interrupt
73d6cb884532 powerpc: bpf: Fix generation of load/store DW instructions
a2216e2d0751 ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time
8bf47766a9f9 tracing: initialize variable in create_dyn_event()
7bcb002431ba locks: wake any locks blocked on request before deadlock check
3ba84d2d7581 Btrfs: fix assertion failure on fsync with NO_HOLES enabled
84104398e6f3 btrfs: Avoid possible qgroup_rsv_size overflow in btrfs_calculate_inode_block_rsv_size
e3a605636a80 btrfs: Fix bound checking in qgroup_trace_new_subtree_blocks
4a0584a21542 btrfs: raid56: properly unmap parity page in finish_parity_scrub()
da2dea634c22 btrfs: don't report readahead errors and don't update statistics
70c88bf99441 btrfs: remove WARN_ON in log_dir_items
ab0600d45dd9 Btrfs: fix incorrect file size after shrinking truncate and fsync
0253563b8be5 powerpc/fsl: Fix the flush of branch predictor.
bb06073a9cad tun: add a missing rcu_read_unlock() in error path
d01bf3762e29 ila: Fix rhashtable walker list corruption
4951fc65d915 r8169: fix cable re-plugging issue
fc8f36de7711 net: phy: don't clear BMCR in genphy_soft_reset
aa3f1b029e4b net: mii: Fix PAUSE cap advertisement from linkmode_adv_to_lcl_adv_t() helper
d9c13ecbf7c5 net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
98bfc778c5d9 thunderx: eliminate extra calls to put_page() for pages held for recycling
10792c33d060 thunderx: enable page recycling for non-XDP case
0c421524c1f1 vxlan: Don't call gro_cells_destroy() before device is unregistered
1a44391e1d03 vrf: prevent adding upper devices
e269f5f55c06 tun: properly test for IFF_UP
9868ffd44b25 tipc: fix cancellation of topology subscriptions
e13fbdf6e872 tipc: change to check tipc_own_id to return in tipc_net_stop
30e2a9a38d0c tipc: allow service ranges to be connect()'ed on RDM/DGRAM
632f3ed848bc tcp: do not use ipv6 header for ipv4 flow
118ad2c7de1d sctp: use memdup_user instead of vmemdup_user
d2af0ce54b1c sctp: get sctphdr by offset in sctp_compute_cksum
5a336f69cfa0 rhashtable: Still do rehash when we get EEXIST
278c7d7e4ecb packets: Always register packet sk in the same order
970d4fb2a231 net: usb: aqc111: Extend HWID table by QNAP device
566e793d051f net-sysfs: call dev_hold if kobject_init_and_add success
1b925f484028 net: stmmac: fix memory corruption with large MTUs
8cf288b55da9 net: rose: fix a possible stack overflow
baa14468e57d net: phy: meson-gxl: fix interrupt support
3ca86ad4e57a net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec
475af63497f8 net: datagram: fix unbounded loop in __skb_try_recv_datagram()
017c90da5d8f net: aquantia: fix rx checksum offload for UDP/TCP over IPv6
3e5c1acf0637 mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
780e62a6a021 mac8390: Fix mmio access size probe
282c70c23454 ipv6: make ip6_create_rt_rcu return ip6_null_entry instead of NULL
8122233e877a gtp: change NET_UDP_TUNNEL dependency to select
bd60a788b10b genetlink: Fix a memory leak on error path
3b58f24bdfec dccp: do not use ipv6 header for ipv4 flow
400dded59397 netfilter: nf_tables: fix set double-free in abort path
a556547bae00 Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer
8dac9b8d27b5 Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt
(From OE-Core rev: 96019b71a8df233f9f75b042a1111b1a48f8c9f7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -r3 release, which has the following rt specific
fixes:
printk: An all-in-one commit to fix build failures
powerpc/stackprotector: work around stack-guard init from atomic
powerpc/pseries/iommu: Use a locallock instead local_irq_save()
powerpc: reshuffle TIF bits
tty/sysrq: Convert show_lock to raw_spinlock_t
(From OE-Core rev: dd2529b7874f895f671c6a016cc0819a2f9e2846)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the latest korg -stable releases which comprise the
following commits:
1f6f316a537d Linux 5.0.5
a57af6d07512 ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
6c77789fb46e ALSA: hda - Record the current power state before suspend/resume calls
8bc3816d6566 locking/lockdep: Add debug_locks check in __lock_downgrade()
0830cf62f529 x86/unwind: Add hardcoded ORC entry for NULL
0312f3032e35 x86/unwind: Handle NULL pointer calls better in frame unwinder
1e641e63fe0c loop: access lo_backing_file only when the loop device is Lo_bound
da75d3775401 netfilter: ebtables: remove BUGPRINT messages
a179695eddd9 aio: simplify - and fix - fget/fput for io_submit()
1c0fc5e9cb40 f2fs: fix to avoid deadlock of atomic file operations
648562c0a958 RDMA/cma: Rollback source IP address if failing to acquire device
244594c5f5c8 drm/vkms: Fix flush_work() without INIT_WORK().
35228ce61a81 Bluetooth: hci_ldisc: Postpone HCI_UART_PROTO_READY bit set in hci_uart_set_proto()
c8d311117c3e Bluetooth: hci_ldisc: Initialize hci_dev before open()
4d18023ade55 Bluetooth: Fix decrementing reference count twice in releasing socket
572ae5c7646b Bluetooth: hci_uart: Check if socket buffer is ERR_PTR in h4_recv_buf()
c35a32eb2339 media: v4l2-ctrls.c/uvc: zero v4l2_event
c29313c07f2d ext4: brelse all indirect buffer in ext4_ind_remove_space()
f1902fd02d56 ext4: fix data corruption caused by unaligned direct AIO
635218fee409 ext4: fix NULL pointer dereference while journal is aborted
5b099547f29d ALSA: ac97: Fix of-node refcount unbalance
1fa1bfef5f4c ALSA: hda - Don't trigger jackpoll_work in azx_resume
2b1cf1a17a41 SMB3: Fix SMB3.1.1 guest mounts to Samba
809ecabb6d41 clocksource/drivers/riscv: Fix clocksource mask
70c1b15faf8b irqchip/gic-v3-its: Fix comparison logic in lpi_range_cmp
dfa011546d27 objtool: Move objtool_file struct off the stack
198092b82db3 perf probe: Fix getting the kernel map
3bff3aabd586 cifs: allow guest mounts to work for smb3.11
8dfb1e702caa futex: Ensure that futex address is aligned in handle_futex_death()
72b8c5492f48 scsi: ibmvscsi: Fix empty event pool access during host removal
bc1bf16d7def scsi: ibmvscsi: Protect ibmvscsi_head from concurrent modificaiton
e109bf21f4c6 scsi: qla2xxx: Fix FC-AL connection target discovery
abe481cfe983 scsi: core: Avoid that a kernel warning appears during system resume
e846d79bc1ba net/mlx5: Fix DCT creation bad flow
62362ccdd45c powerpc/security: Fix spectre_v2 reporting
7f5ffb4c7a71 powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038
9e063d979422 MIPS: Fix kernel crash for R6 in jump label branch function
de21552cc848 MIPS: Ensure ELF appended dtb is relocated
63703e8fd2af mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
e88f693e6e8d udf: Fix crash on IO error during truncate
48cce130d485 libceph: wait for latest osdmap in ceph_monc_blacklist_add()
027584c8ef01 iommu/iova: Fix tracking of recently failed iova address
98e2c51c1ac3 iommu/amd: fix sg->dma_address for sg->offset bigger than PAGE_SIZE
0c113ec08d71 drm/vmwgfx: Return 0 when gmrid::get_node runs out of ID's
5618b16763ce drm/vmwgfx: Don't double-free the mode stored in par->set_mode
109f5f9dff14 drm/amdgpu: fix invalid use of change_bit
cdb57f82a4bc mmc: renesas_sdhi: limit block count to 16 bit for old revisions
1494408bf863 mmc: mxcmmc: "Revert mmc: mxcmmc: handle highmem pages"
7e682a01b111 mmc: alcor: fix DMA reads
cc8cd197411b mmc: pxamci: fix enum type confusion
ae833c3eefaf ALSA: firewire-motu: use 'version' field of unit directory to identify model
3c09233b5dee ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist
239cc2c5a3c8 Linux 5.0.4
87e728e85559 SUNRPC: Respect RPC call timeouts when retrying transmission
f6716abfd12b SUNRPC: Fix up RPC back channel transmission
aed54941cf9e SUNRPC: Prevent thundering herd when the socket is not connected
1b2f5d715bbc s390/setup: fix boot crash for machine without EDAT-1
09bfb45ed842 net: dsa: lantiq_gswip: fix OF child-node lookups
8d244127d25f net: dsa: lantiq_gswip: fix use-after-free on failed probe
4e126cbd4f06 KVM: nVMX: Check a single byte for VMCS "launched" in nested early checks
5de7f6cd6aeb KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
f88f29f81d59 KVM: nVMX: Apply addr size mask to effective address for VMX instructions
64d259a70642 KVM: nVMX: Sign extend displacements of VMX instr's mem operands
1e42327adb8d KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
c173d5417a11 KVM: x86/mmu: Detect MMIO generation wrap in any address space
5221117cd414 KVM: VMX: Zero out *all* general purpose registers after VM-Exit
cf8d03a4fe59 KVM: VMX: Compare only a single byte for VMCS' "launched" in vCPU-run
e1bdcf061b48 KVM: Call kvm_arch_memslots_updated() before updating memslots
c61d88f39491 drm/amd/display: don't call dm_pp_ function from an fpu block
ea7da9ef23a0 drm/amd/powerplay: correct power reading on fiji
3bc65d729765 drm/radeon/evergreen_cs: fix missing break in switch statement
b78ee0965f86 drm/fb-helper: generic: Fix drm_fbdev_client_restore()
c7a35a9877b8 media: imx: csi: Stop upstream before disabling IDMA channel
145cab144d75 media: imx: csi: Disable CSI immediately after last EOF
e7a06193c52c media: imx-csi: Input connections to CSI should be optional
e7ae48ae4722 media: vimc: Add vimc-streamer for stream control
6932b9b4e677 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
202ed62dea70 media: sun6i: Fix CSI regmap's max_register
1d433d48516e media: lgdt330x: fix lock status reporting
f55d0cb10f5b media: imx: prpencvf: Stop upstream before disabling IDMA channel
9d032911a36c rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
5d6f031fa782 tpm: Unify the send callback behaviour
65a2af7599c6 tpm/tpm_crb: Avoid unaligned reads in crb_recv()
f484e220df15 x86/ftrace: Fix warning and considate ftrace_jmp_replace() and ftrace_call_replace()
384dada74d37 x86/kvmclock: set offset for kvm unstable clock
9b236e3f79d9 md: Fix failed allocation of md_register_thread
99e5abb7b895 perf intel-pt: Fix divide by zero when TSC is not available
85c9f1fb8a81 perf/x86/intel/uncore: Fix client IMC events return huge result
6228a6e3516f perf intel-pt: Fix overlap calculation for padding
2354deae355b perf auxtrace: Define auxtrace record alignment
0f43fd4bdb74 perf tools: Fix split_kallsyms_for_kcore() for trampoline symbols
99c7a8ec4387 perf intel-pt: Fix CYC timestamp calculation after OVF
a0203d4e717e x86/unwind/orc: Fix ORC unwind table alignment
194f1ecd4906 vt: perform safe console erase in the right order
c8d3a581742f stable-kernel-rules.rst: add link to networking patch queue
0b60b354b33a bcache: use (REQ_META|REQ_PRIO) to indicate bio for metadata
dddd539dc325 bcache: treat stale && dirty keys as bad keys
97cf758e172c bcache: never writeback a discard operation
a8ce88427a9b PM / OPP: Update performance state when freq == old_freq
c9c0e5f01245 PM / wakeup: Rework wakeup source timer cancellation
f03f5295caf0 svcrpc: fix UDP on servers with lots of threads
1363f37fbd24 NFSv4.1: Reinitialise sequence results before retransmitting a request
867ae74fb190 nfsd: fix wrong check in write_v4_end_grace()
f5bed084b482 nfsd: fix memory corruption caused by readdir
2ececa64d67a nfsd: fix performance-limiting session calculation
88f786a8e78a NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
4fe2a7fda78a NFS: Fix an I/O request leakage in nfs_do_recoalesce
e83b6ac7deed NFS: Fix I/O request leakages
b41991d86722 cpuidle: governor: Add new governors to cpuidle_governors again
6eea03f8c368 cpcap-charger: generate events for userspace
9cc42d068f57 mfd: sm501: Fix potential NULL pointer dereference
83df21c731e6 media: cx25840: mark pad sig_types to fix cx231xx init
b6246ffae5a0 dm integrity: limit the rate of error messages
dca22c59e47e dm: fix to_sector() for 32bit
a8964a63780c ipmi_si: fix use-after-free of resource->name
d3432e5d0831 ipmi_si: Fix crash when using hard-coded device
98ab3b877400 Revert "KVM/MMU: Flush tlb directly in the kvm_zap_gfn_range()"
bf5615991a91 arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2
4b6d75b38664 arm64: debug: Ensure debug handlers check triggering exception level
4f771d8acc74 arm64: debug: Don't propagate UNKNOWN FAR into si_code for debug signals
9afab3b6b9c5 arm64: Fix HCR.TGE status for NMI contexts
8f67dd8570ac ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
6a4c3ab2d53e powerpc/traps: Fix the message printed when stack overflows
24bf608e7438 powerpc/traps: fix recoverability of machine check handling on book3s/32
71bb4d024416 powerpc/smp: Fix NMI IPI xmon timeout
850a95bf2a46 powerpc/smp: Fix NMI IPI timeout
fcf1ca937f59 powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration
4ca936a49360 powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
55b852a06fe1 powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
651db1461793 powerpc/64s/hash: Fix assert_slb_presence() use of the slbfee. instruction
702c1ab420ab powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit
f7d68a102ad4 powerpc/kvm: Save and restore host AMR/IAMR/UAMOR
3b218d244482 powerpc/83xx: Also save/restore SPRG4-7 during suspend
16ee62368aaa powerpc/powernv: Make opal log only readable by root
8d2cc8c1c4fe powerpc/wii: properly disable use of BATs when requested.
d0d33e87d143 powerpc/32: Clear on-stack exception marker upon exception return
232aa30f16b9 security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
7e30471146d2 selinux: add the missing walk_size + len check in selinux_sctp_bind_connect
f9897a30deb7 jbd2: fix compile warning when using JBUFFER_TRACE
8c343062c8fa jbd2: clear dirty flag when revoking a buffer from an older transaction
bb47633ab15e serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
7271438208b6 serial: 8250_pci: Fix number of ports for ACCES serial cards
c7388ba10902 serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
fa4d0361304f serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
37fe1d56aa2c dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit
39367147f046 usb: typec: tps6598x: handle block writes separately with plain-I2C adapters
07e326fd07d7 usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
f11fa22a7a5f clk: ingenic: Fix doc of ingenic_cgu_div_info
7d4966247a99 clk: ingenic: Fix round_rate misbehaving with non-integer dividers
1a29715073a1 clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
7da58ad824b1 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
d9d7760c1e45 clk: clk-twl6040: Fix imprecise external abort for pdmclk
a712a38100b5 clk: uniphier: Fix update register for CPU-gear
e1ac00773456 ext2: Fix underflow in ext2_max_size()
96728f35572e cxl: Wrap iterations over afu slices inside 'afu_list_lock'
25636de95557 IB/rdmavt: Fix concurrency panics in QP post_send and modify to error
ada60723d7cd IB/rdmavt: Fix loopback send with invalidate ordering
c8a23dfeb2d6 IB/hfi1: Close race condition on user context disable and close
2b9ef0bedaac PCI: pci-bridge-emul: Extend pci_bridge_emul_init() with flags
d011c7871d16 PCI: pci-bridge-emul: Create per-bridge copy of register behavior
ee0bf8d6e7fc PCI: pciehp: Disable Data Link Layer State Changed event on suspend
0d5bc50f524a PCI: dwc: skip MSI init if MSIs have been explicitly disabled
63a9e7ce6624 PCI: qcom: Don't deassert reset GPIO during probe
eafa704de27b PCI/DPC: Fix print AER status in DPC event handling
bae1cf68370d PCI/ASPM: Use LTR if already enabled by platform
4e9f8e86d6c7 swiotlb: Add is_swiotlb_active() function
a4eeaa9cc9da swiotlb: Introduce swiotlb_max_mapping_size()
38c3a86a8226 dma: Introduce dma_max_mapping_size()
db8913b46d74 ext4: fix crash during online resizing
edc0bf6532ba ext4: add mask of ext4 flags to swap
7c2cfdf99ae9 ext4: update quota information while swapping boot loader inode
ef2dfe6f8c82 gpio: pca953x: Fix dereference of irq data in shutdown
13cef9edc45b media: i2c: ov5640: Fix post-reset delay
8b82d499df87 i2c: tegra: update maximum transfer size
986d964baaaa i2c: tegra: fix maximum transfer size
775bd984147e parport_pc: fix find_superio io compare code, should use equal test.
d91315e99c55 intel_th: Don't reference unassigned outputs
1a1d6860c539 device property: Fix the length used in PROPERTY_ENTRY_STRING()
9a638bb82ff5 nvmem: core: don't check the return value of notifier chain call
d09e7041330b kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
9a842b43e4b8 mm/memory.c: do_fault: avoid usage of stale vm_area_struct
8df6ab770e20 mm/vmalloc: fix size check for remap_vmalloc_range_partial()
84fe80428739 mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
7a34997043f1 ext4: cleanup pagecache before swap i_data
a0f6f657ac44 ext4: fix check of inode in swap_inode_boot_loader
f9308e46e02b cpufreq: pxa2xx: remove incorrect __init annotation
272b28097c30 cpufreq: tegra124: add missing of_node_put()
144c3557b1e1 cpufreq: kryo: Release OPP tables on module removal
737f4ead9606 x86/kprobes: Prohibit probing on optprobe template code
dbbb26db8938 irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code
830d66c95e02 irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
bd05a30753eb libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
028cbca07ab5 soc: qcom: rpmh: Avoid accessing freed memory from batch API
1098803b8cb7 Btrfs: fix deadlock between clone/dedupe and rename
3486142a68e3 Btrfs: fix corruption reading shared and compressed extents after hole punching
ebbb48419e8a btrfs: init csum_list before possible free
88e610ae4c3a btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
9c58f2ada4fa btrfs: drop the lock on error in btrfs_dev_replace_cancel
fb9c36acfab1 btrfs: scrub: fix circular locking dependency warning
9d7b327affb8 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
80dcd07c27df Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
98bb142aaff2 m68k: Add -ffreestanding to CFLAGS
3381b362f74c ovl: Do not lose security.capability xattr over metadata file copy-up
0fa6688a2882 ovl: During copy up, first copy up data and then xattrs
ef02f9fe5148 splice: don't merge into linked buffers
61d06e123502 fs/devpts: always delete dcache dentry-s in dput()
a15cf4d9a622 scsi: qla2xxx: Use complete switch scan for RSCN events
f54e2394acf7 scsi: qla2xxx: Avoid PCI IRQ affinity mapping when multiqueue is not supported
54e834ee7a6e scsi: qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware
7d6d14a119c8 scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
6c922faf889a scsi: sd: Optimal I/O size should be a multiple of physical block size
1ba35e5a3c5c scsi: aacraid: Fix performance issue on logical drives
bd1558978695 scsi: virtio_scsi: don't send sc payload with tmfs
ffd4a428a54e s390/virtio: handle find on invalid queue gracefully
39fdc16138b7 s390/setup: fix early warning messages
2aa8ab08c82c s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem
4b280a0bfc6d clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability
773b445425d6 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
de90b88a20de clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
9d67c5e995da mt76: fix corrupted software generated tx CCMP PN
6b65a01d2dcc regulator: s2mpa01: Fix step values for some LDOs
60cb8b444fbf regulator: max77620: Initialize values for DT properties
4527a24a8f51 regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
a34758ac6ad4 spi: spi-gpio: fix SPI_CS_HIGH capability
618491014846 spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch
7406a055c507 spi: pxa2xx: Setup maximum supported DMA transfer length
5d919139baf9 spi: ti-qspi: Fix mmap read when more than one CS in use
4a9932c94626 mmc:fix a bug when max_discard is 0
aaf1e755f8f9 mmc: renesas_sdhi: Fix card initialization failure in high speed mode
351062f08fc1 mmc: sdhci-esdhc-imx: fix HS400 timing issue
cb1c7a9d2897 ACPI / device_sysfs: Avoid OF modalias creation for removed device
050b87cb66c6 xen: fix dom0 boot on huge systems
c0b8e1d95cbf vmw_balloon: release lock on error in vmballoon_reset()
020c90c694dc tracing/perf: Use strndup_user() instead of buggy open-coded version
aca126f4a451 tracing: Do not free iter->trace in fail path of tracing_open_pipe()
e5cde571ee5f tracing: Use strncpy instead of memcpy for string keys in hist triggers
c892f4ee3db2 smb3: make default i/o size for smb3 mounts larger
3eb2412dd9da CIFS: Fix read after write for files with read caching
c73a769b63fb CIFS: Do not skip SMB2 message IDs on send failures
a992916a9c89 CIFS: Do not reset lease state to NONE on lease break
75bbb83e80c7 CIFS: Fix leaking locked VFS cache pages in writeback retry
afaf9d664b0f crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
741ae3caa62f crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
d78c34dfc288 crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP
814ec1461901 crypto: x86/aesni-gcm - fix crash on empty plaintext
2e0e52c3d618 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
c9e34c3c34b9 crypto: testmgr - skip crc32c context test for ahash algorithms
c58580801420 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
0173f7ca0e22 crypto: pcbc - remove bogus memcpy()s with src == dest
9cbfb0a8d1af crypto: morus - fix handling chunked inputs
c850ff289c4e crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
7007b2645f6e crypto: arm64/crct10dif - revert to C code for short inputs
d78abd635e6c crypto: arm64/aes-neonbs - fix returning final keystream block
844351fc03b0 crypto: arm/crct10dif - revert to C code for short inputs
e414d9bc86a7 crypto: aegis - fix handling chunked inputs
650b7246d460 crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
781bcac5b199 fix cgroup_do_mount() handling of failure exits
2ac714d69197 libnvdimm: Fix altmap reservation size calculation
fefd9f16efc3 libnvdimm/pmem: Honor force_raw for legacy pmem regions
4b9d1f8b61e8 libnvdimm, pfn: Fix over-trim in trim_pfn_device()
dd40489f6751 libnvdimm/label: Clear 'updating' flag after label-set update
5fa9cb709adc nfit/ars: Attempt short-ARS even in the no_init_ars case
b3971c932d0d nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
0c7979447489 acpi/nfit: Fix bus command validation
a2690301c976 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
59a0e57f0cd3 nfit: Fix nfit_intel_shutdown_status() command submission
9cd805133b84 dax: Flush partial PMDs correctly
c2ca8161971a crypto: rockchip - update new iv to device in multiple operations
e400988e1dae crypto: rockchip - fix scatterlist nents error
20af3634022b crypto: ahash - fix another early termination in hash walk
b03aa2833d56 crypto: ofb - fix handling partial blocks and make thread-safe
5d894501d423 crypto: cfb - remove bogus memcpy() with src == dest
64ae3c3d0c16 crypto: cfb - add missing 'chunksize' property
ded8d6308ffd crypto: ccree - don't copy zero size ciphertext
4fc9f0e1c9ff crypto: ccree - unmap buffer before copying IV
37ff06fd9cb5 crypto: ccree - fix free of unallocated mlli buffer
6e905e258c50 crypto: caam - fix DMA mapping of stack memory
e86dc780320e crypto: caam - fixed handling of sg list
4a18213573b8 crypto: ccree - fix missing break in switch statement
fce3d391401a crypto: caam - fix hash context DMA unmap size
9b2fdbdce1fb stm class: Fix an endless loop in channel allocation
2adb36ff325d stm class: Prevent division by zero
1cfec5613090 mei: bus: move hw module get/put to probe/release
55ced4559dbf mei: hbm: clean the feature flags on link reset
f644d56fe1d7 iio: adc: exynos-adc: Use proper number of channels for Exynos4x12
a52251155bab iio: adc: exynos-adc: Fix NULL pointer exception on unbind
61328520e0b6 ASoC: codecs: pcm186x: Fix energysense SLEEP bit
5bd4f972e594 ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
a7abca8506b5 ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
5ababa4e34db 9p/net: fix memory leak in p9_client_create
3cccba9a38d5 9p: use inode->i_lock to protect i_size_write() under 32-bit
(From OE-Core rev: 2bebb5ca0e52944560c6d4b89ce06fc0512f97b5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a new upstream release from the same stable branch
bringing new features and bugfixes (including CVE fixes).
COPYING changed http -> https.
configure no longer has a --without-libunistring-prefix option.
(From OE-Core rev: 93993fe8ffd31e3e94946023b2cd8927ae595fc3)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[includes: CVE-2019-3836 CVE-2019-3829]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12548]
I created a new section titled "Modifying Variable Values" that
provides instruction on how to use the "bitbake -e" command to
be sure your configuration and variable values are as expected.
(Bitbake rev: cd8d4ec8ec6650b756dafe750436528f736b3938)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 83faaf7b2a5f4fc4ae504b300134409e90389770.
This should never have merged as the change was rejected upstream and adding a library
to the ptest package resulted in it providing that SONAME which led to being
included in images like core-image-sato.
This in turn led to a ton of ptest failures in the 2.7 r1 QA report.
(From OE-Core rev: 039e7b25f0018e6923d14b40c35252f99e1d3ea3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These have never been used in the BB manual and were an
artifact from copy-and-pasting the poky.ent file from
the main yocto-docs repo to this bb repo when the BB
manual was origially created. They are useless. I have
removed them.
(Bitbake rev: cb185efe9e88cfb12b7a3fd08f3086ca0b69c8e2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let mkdirhier fail if existing path is not a folder instead of assuming a
directory hierarchy already exists.
(Bitbake rev: a8d9b82ccf93dcb74258693f62d88be380b1c0b7)
Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support RISC-V kernel image, using the "Image" target.
This change allows RISC-V support for fitImage via the following
flow: OpenSBI -> u-boot (as payload) -> Linux kernel (as fitImage
with ramdisk and dtb).
This was tested using QEMU RISC-V 64-bit.
(From OE-Core rev: 35d0842c637b7d7ce0ab01f43b594c19a964872f)
Signed-off-by: Michael Scott <mike@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove dlopen-test.patch which originally used
to fix the test dlopen-test, but autually the
patch didn't resolve the issue as dlopen-test.patch
supposes the file /usr/lib/libnettle.so exists.
Instead deploy ${D}${PTEST_PATH}/libnettle.so to
fix the dlopen-test failure.
Update the initialization for the salt to fix
below Segmentation fault and also nettle-pbkdf2-test
failure.
# echo -n passwd| nettle-pbkdf2 -i 1 -l 16 salt
[65534.886509] nettle-pbkdf2[708]: segfault at 1f594260 ip 00007f3332256998 sp 00007fff60d44410 error 4 in libnettle.so.6.5[7f3332244000+1d00]
[65534.887525] Code: e8 6d db fe ff 44 01 6d 68 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 dc e9 68 ff f
Segmentation fault
(From OE-Core rev: 83faaf7b2a5f4fc4ae504b300134409e90389770)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The subprocess.run was replaced by subprocess.check_call because
of compatibility support down to python 3.4. But we really don't
care about whether that command succeeds. Some user reports that
in some tmux environment, this command fails and gives some
unpleasant traceback output. So we use 'call' instead of 'check_call'
to avoid such problem.
(From OE-Core rev: c574aaf30c82ad397c0a6567b3cb52e7fb5d5829)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ubi, ubifs and multiubi FSTYPES calls `mkfs.ubifs' to create UBIFS
images.
In do_image_ubi, $vname is empty, the name of UBIFS image conflicts with
the one in do_image_ubifs, and it's a race risk.
[do_image_ubi]
mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${vname}${IMAGE_NAME_SUFFIX}.ubifs ${mkubifs_args}
[do_image_ubi]
[do_image_ubifs]
mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ubifs ${MKUBIFS_ARGS}
[do_image_ubifs]
In do_image_multiubi, $vname is not empty, the UBIFS image name does
not conflict with others.
So do not call mkfs.ubifs in do_image_ubi and depend on do_image_ubifs
to create UBIFS images.
The fix does not affect do_image_multiubi which still call mkfs.ubifs to
create multiple UBIFS images and symlinks.
[YOCTO #13272]
(From OE-Core rev: 3e5f075184d91dd99cf25cfe84bba1c946ed0c7c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The slow tests run unreliably with our current setup/infrsstructure/timeouts.
There are only five slow ones and having the other ~250 run reliably without timeouts
is the priority right now. We can revisit the slow tests at some later date if wanted.
(From OE-Core rev: 7469c2a5595337fc4407fa7a2ad06b5bf2347545)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this change, the ptests do not fail anymore,
except for the three failures caused by the 5.0 kernel regression:
- test_ssl and test_httplib lock up, and are skipped
(there is a separate patch for it)
- test_asyncio fails but does not lock up
(From OE-Core rev: 49720e6d680d0041850c00ce6dc859d557825595)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enable DEBUG_BUILD, the perf build failed by the following error:
libbpf.c:727:36: error: 'data' may be used uninitialized in this function [-Werror=maybe-uninitialized]
This is ok until Khem commit a patch in oe-core:
16643b03227466e2c80a24c2d079fe36e89553c1
This commit import "-Og" option to "DEBUG_OPTIMIZATION", result in this error.
Actually, the warning was misinformation. We explore the code in libbpf.c:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/lib/bpf/libbpf.c#n640
--------------------------------------------------------------------------
if (scn)
data = elf_getdata(scn, NULL);
if (!scn || !data) {
pr_warning("failed to get Elf_Data from map section %d\n",
obj->efile.maps_shndx);
return -EINVAL;
}
......
using data...
......
--------------------------------------------------------------------------
If the 'scn' was not null, the data will be initialized. if the data was null,
the function will return -EINVAL, so the data must be not null, but compiler
can't see it in 'if' code block, so treat it as 'maybe-uninitialized'.
(From OE-Core rev: 0eb4048bc5865579327f5a88086e3e3241b012cb)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove duplicate codes. Replace unnecessary class variables with
local variables. Rename variables and arguments with simple and
standard name.
(From OE-Core rev: 6bef61d36f3328fad003c0dc9c010d3f76ba96d8)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The quotes should be generated in the output to match the expected cmake
syntax for setting cache variables.
(From OE-Core rev: a19a6201c8cc255583bd014534b4a6ec2524070f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enable DEBUG_BUILD, cogl compile failed with error:
| ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:217:17: error: 'gltype' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| *out_gltype = gltype;
| ~~~~~~~~~~~~^~~~~~~~
| ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:213:22: error: 'glintformat' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| *out_glintformat = glintformat;
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
Source: https://gitlab.gnome.org/GNOME/cogl/blob/master/cogl/driver/gl/gles/cogl-driver-gles.c
it can handle correctly, so fix with -Wnoerror
(From OE-Core rev: 72aace12a499db8d1340c8705b177e6f191d853d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kernel-devsrc rework doesn't take into account localversion
files in the kernel source tree. This might result in modules with an
incomplete version magic when building out-of-tree using the SDK.
Before:
root@qemux86:~# insmod hello.ko
[ 42.000212] hello: version magic '5.0.3-yocto-standard SMP preempt
mod_unload PENTIUMM ' should be '5.0.3-my-custom-release-yocto-standard
SMP preempt mod_unload PENTIUMM '
[ 42.008200] hello: version magic '5.0.3-yocto-standard SMP preempt
mod_unload PENTIUMM ' should be '5.0.3-my-custom-release-yocto-standard
SMP preempt mod_unload PENTIUMM '
insmod: can't insert 'hello.ko': invalid module format
After:
root@qemux86:~# insmod hello.ko
[ 39.094288] hello: loading out-of-tree module taints kernel.
[ 39.108044] Hello World!
(From OE-Core rev: 68b9243729ac1982c9f1d30980cf979267bbc7c3)
Signed-off-by: Beniamin Sandu <beniamin.sandu@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ext module fiddle depend on libffi, in ruby source tree,
there is in internal libffi in case target platfrom don't
install libffi, but autotools.bbclass delete configure
under libffi and not run autoreconf to regenerate one.so
we met this error:
ruby-2.5.3/ext/fiddle/libffi-3.2.1/configure: No such file or directory
the fix is add depend and extra_oeconf to use libffi in the system
(From OE-Core rev: 55acc9b477919208d91781dbe9a03136f895a94b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the follow issue, the cause is that net-tools needs
libnss-myhostname.so when run "hostname -s".
root@qemuarm64:~# hostname -s
hostname: Unknown host
(From OE-Core rev: 5bad5eb5f41053e4963fb26972f56dbf67349378)
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When I use recipetool to add a new recipe, it says:
[snip]
sys.exit(14)
NameError: name 'sys' is not defined
[snip]
(From OE-Core rev: 051e1c27bbf6a5898f2cf13b78dd3d8d1ec31586)
Signed-off-by: Lei Yang <Lei.Yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix Python3 TypeError error in check_perl_modules:
Executing bitbake, the following error message will be throwed:
File ".../poky/meta/classes/sanity.bbclass", line
979, in check_sanity_eventhandler
check_sanity(sanity_data)
File ".../poky/meta/classes/sanity.bbclass", line
943, in check_sanity
check_sanity_version_change(status, sanity_data)
File ".../poky/meta/classes/sanity.bbclass", line
637, in check_sanity_version_change
status.addresult(check_perl_modules(d))
File ".../poky/meta/classes/sanity.bbclass", line
563, in check_perl_modules
errresult += e.output
TypeError: must be str, not bytes
So here, transfer e.output from bytes to str.
(From OE-Core rev: 2c6fff3fe315357d65d082679856615afc367d90)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gobject-introspection is mandatory for gstreamer1.0-python - there is no
configure option to enable or disable it.
To handle properly, this patch does:
* Make 'gobject-introspection-data' a required distro feature
* Add
'UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"'
- it was removed in gobject-introspection.bbclass to avoid
| ERROR: libgee-0.18.0-r0 do_configure: QA Issue: libgee: configure was passed unrecognised options: --disable-schemas-install [unknown-configure-option]
(From OE-Core rev: bcc560134ebfbeeb0c1cc7b6c96e2da629df67a2)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that whitelisting for unknown configure options was removed in
gobject-introspection.bbclass gstreamer1.0-plugins-ugly/-good start complaining
| ERROR: gstreamer1.0-plugins-ugly-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-plugins-ugly: configure was passed unrecognised options: --enable-introspection [unknown-configure-option]
| ERROR: gstreamer1.0-plugins-good-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-plugins-good: configure was passed unrecognised options: --enable-introspection [unknown-configure-option]
So let only those gst-plugin recipes inherit gobject-introspection whose sources
support GI.
(From OE-Core rev: b6138d28f750f4306bc8b9c9baa047d9971dcb17)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this version support gnutls option again - it was mandatory for 2.58.0
(From OE-Core rev: 1638c56a5e38969b07d368176ae30d241199eb36)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A previous fix to python added -W and removed -v. This reverts that part of the change
since we're no longer getting ptest results at all. This change back to more
verbose output means we start getting test results again.
(From OE-Core rev: d70c77e4d5ec1d7cb4f134377df11e6475f31062)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are python tests which hang with recent kernels, 5.0 onwards. This causes
ptest to timeout for python3. Disable the problematic test until we better understand
the real cause and fix of the issue (discussions are happening with upstream).
See the patch for details/links.
(From OE-Core rev: 2a48df02a2871635f8235645bfd7f7a3ff0aef31)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer distros are using new versions of glibc and coreutils which use the new glibc
renameat2 function. We need to intercept this for correct functioning of pseudo. This
is essential to ensure new distros continue to work with the project.
Also, this version has a fix for path/inode cross corruption problems which
may explain our mysterious locale permissions issues.
Many thanks to Otavio and Peter Seebach for the help in figuring this out and
fixing it.
(From OE-Core rev: 0fb257121b68f38b40c078150db8f7d0979b7ea5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will generate the symlinks in the ptest binary directory using the
ptest class functionality instead of generating them manually. Because
the ptest class uses update-alternatives to get the metadata for the
symlinks it will respect the use of BUSYBOX_SPLIT_SUID automatically.
[YOCTO #12597]
(From OE-Core rev: a3923085d1cad7de7e644ff57d05c4a8955b5b00)
Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some binaries generated by util-linux will be replaced by core-utils
in the final image by update-alternatives, so use a dedicated directory
with symlinks to avoid using a binary generated by another package.
This will solve the issue with the ptest runner timing out when
running the kill ptests for util-linux.
[YOCTO #13238]
(From OE-Core rev: 1a8fd875f0b171e25a5ac8a32cc81ff3887935bd)
Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the functionality to create a binary directory within
PTEST_PATH directory. This directory will be populated with
symlinks pointing to the binaries installed by the package and
then renamed by update-alternatives. This way the ptest only needs
to source this binary directory in order to use the expected
binaries.
To enable this feature just add PTEST_BINDIR = "1" to the recipe.
[YOCTO #12597]
[YOCTO #13238]
(From OE-Core rev: bca35319b89ce668927728c4e2094f6e10cef298)
Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds update_alternatives_alt_targets function to get the metadata
for a package. This is for code reuse because the metadata would help
other classes that needs to be aware of how update-alternatives modify
the final package.
[YOCTO #12597]
[YOCTO #13238]
(From OE-Core rev: 04d966c0a91c5e16555bba827969a0a2fd96bb96)
Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Per https://github.com/golang/go/wiki/GoArm we need to set GOARM when
cross building for ARMv5, ARMv6 and ARMv7. The current approach of
using TUNE_FEATURES can be error prone, as we can see today when
attempting to build for Cortex-A7 which results in GOARM=''.
Since the value of MACHINEOVERRIDES already consolidates the values of
TUNE_FEATURES into something more consistent we can use the overrides
mechanism to set GOARM, leaving just a little bit of logic in
go_map_arm() to trigger off the arch (basically target vs host)
for the setting of GOARM.
(From OE-Core rev: 5f48939e26402b77fc3343f326765137f9570f40)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we are not doing a good job of consolidating GO environment
variables used by the go build system in the go.bbclass, instead we
are relying on the individual GO recipe authors to perform the
exports. This can result in inconsistent build results and often
binaries that are not properly cross compiled, resulting in segfaults
when the applications are run on the target.
For example the GO documentation recommends that the environment
include a value assigned to GOARM when cross building for ARMv5, ARMv6
and ARMv7 (https://github.com/golang/go/wiki/GoArm).
In order to avoid polluting the build scripts with unnecessary
exports, such as run.do_compile, we attempt to only export variables
when they apply to a specific arch.
(From OE-Core rev: 6300c4a83f7c8fc88702798ffe25bd6d57091673)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This message was using %s markers but nothing was being passed in.
(From OE-Core rev: d204398d40cbbea5a6b58a36fc289d569f2eb304)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the creation of configuration option file based on user inputs.
Where this configuration option file will be used by the the manual
execution to display options for configuration rather than user
need to inputs configuration manually.
(From OE-Core rev: 23c7a037a85a825aa088bfac3a144c14087a9f49)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current manualexecution required user to input configuration manually
where there were inconsistent inputs and human typo issues.
Enable manualexecution to have the optional feature where it
will use pre-compiled configuration options file where user will
be able to select configuration from the pre-compiled list instead
of manual key-in the configuration. This will eliminate human error.
Expect the pre-compiled configuration options file in json format below
{
"bsps-hw": {
"IMAGE_BASENAME": {
"1": "core-image-sato-sdk"
},
"MACHINE": {
"1": "beaglebone-yocto",
"2": "edgerouter",
"3": "mpc8315e-rdb",
"4": "genericx86",
"5": "genericx86-64"
}
},
"bsps-qemu": {
"IMAGE_BASENAME": {
"1": "core-image-sato-sdk"
},
"MACHINE": {
"1": "qemuarm",
"2": "qemuarm64",
"3": "qemumips",
"4": "qemumips64",
"5": "qemuppc",
"6": "qemux86",
"7": "qemux86-64"
}
}
}
(From OE-Core rev: 1af7e04223b415a64e100a9f91d60f5e9b0f789a)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support project-file generators such as CodeBlocks, CodeLite,
Eclipse, Sublime, and Kate for both make and Ninja build systems.
The following generators are listed in cmake --help:
Unix Makefiles = Generates standard UNIX makefiles.
Ninja = Generates build.ninja files.
Watcom WMake = Generates Watcom WMake makefiles.
CodeBlocks - Ninja = Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
CodeLite - Ninja = Generates CodeLite project files.
CodeLite - Unix Makefiles = Generates CodeLite project files.
Sublime Text 2 - Ninja = Generates Sublime Text 2 project files.
Sublime Text 2 - Unix Makefiles
= Generates Sublime Text 2 project files.
Kate - Ninja = Generates Kate project files.
Kate - Unix Makefiles = Generates Kate project files.
Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
All but one of these contain one of the strings, "Unix Makefiles" or "Ninja".
In each of these cases, cmake generates the Makefiles (or ninja files respectively),
and also the appropriate project files, eg. .project and .cproject for Eclipse.
A user can set OECMAKE_GENERATOR in their local.conf to any
one of these strings, except "Watcom WMake" (not supported).
(From OE-Core rev: 256e8b5deae66b1463c359db12af396702912139)
Signed-off-by: Nikhil Pal Singh <nikhilpal.singh@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch tried to address a gcc problem when -Og is used, but it did
cause regressions on normal compiles when using clang e.g. the real
problem is to fix the compiler until then disable the warning in
DEBUG_FLAGS
This reverts commit 630281663893cdcfa9c4323b717b415d87d5510f.
(From OE-Core rev: 949961cdf7d4639da538045dc83c2a354e16ea80)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 4.18 kernel has been replaced by 4.19 and 5.0 in master.
poky-tiny has been tested against 5.0, so we can now remove
the 4.18 recipes.
The 4.18 branches will continue to be maintained, but we only
want two active kernels in the master/releases branches.
(From OE-Core rev: 9251cec30ff77b526363bed7299238e33b68feb4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweaking the qemuarm -tiny configuration so it will boot to a
prompt. There are still some remaining issues (like hvc console
warnings), but this is much better than a silent boot, or boot
hang like we previously had.
(From OE-Core rev: 12a5d50e65cd3510ba790cd7867b5319ef5028f4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration change:
Author: Kevin Hao <kexin.hao@windriver.com>
Date: Wed Apr 3 19:30:58 2019 +0800
mips: Enable the poweroff driver for the qemumips/qemumips64
As Indicated by Richard Purdie, in order to shutdown the machine we have
to explicitly enable the PIIX4 poweroff driver for the
qemumips/qemumips64 after the kernel commit dd129c6374e9 ("MIPS: Malta:
Use PIIX4 poweroff driver to power down") is merged.
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
(From OE-Core rev: a166e005eb02e2486d59404938ff639bb4860bdf)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's -stable ports to 4.18 which comprise the
following commits:
56f9fe35a4c5 Linux 4.18.33
bf44ff79b855 net: hns: Fixes the missing put_device in positive leg for roce reset
81614c514f4e mm: Use fixed constant in page_frag_alloc instead of size + 1
035b5a7a3e3f ipvs: fix warning on unused variable
58ab04e46d92 intel_th: gth: Fix an off-by-one in output unassigning
8cb600d53c6c ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4
f11b815f39bf s390/setup: fix boot crash for machine without EDAT-1
4059d23a36a6 KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
d94637dc73e5 KVM: nVMX: Apply addr size mask to effective address for VMX instructions
ee356457f2a3 KVM: nVMX: Sign extend displacements of VMX instr's mem operands
b4485d9eb039 KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
fe7d69927661 KVM: x86/mmu: Detect MMIO generation wrap in any address space
c34cae89374b KVM: Call kvm_arch_memslots_updated() before updating memslots
9fb8b858d552 drm/amd/display: don't call dm_pp_ function from an fpu block
d4302b79ffbd drm/amd/powerplay: correct power reading on fiji
5f8c51055244 drm/radeon/evergreen_cs: fix missing break in switch statement
3fc39cdce701 media: imx: csi: Stop upstream before disabling IDMA channel
5c008f7971b8 media: imx: csi: Disable CSI immediately after last EOF
74a5ff7db3b2 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
142a9bd66395 media: lgdt330x: fix lock status reporting
465204a0c772 media: imx: prpencvf: Stop upstream before disabling IDMA channel
42a2c1a40db0 rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
f9480ca4fb29 tpm: Unify the send callback behaviour
5f28509f81ad tpm/tpm_crb: Avoid unaligned reads in crb_recv()
ea37270d4c87 md: Fix failed allocation of md_register_thread
bd77b69a20ba perf intel-pt: Fix divide by zero when TSC is not available
c9a63c17458f perf/x86/intel/uncore: Fix client IMC events return huge result
63a25bdd4227 perf intel-pt: Fix overlap calculation for padding
66a57e3b95b5 perf auxtrace: Define auxtrace record alignment
76650254e18e perf intel-pt: Fix CYC timestamp calculation after OVF
274ef4840d79 x86/unwind/orc: Fix ORC unwind table alignment
3928a903e185 vt: perform safe console erase in the right order
645a7ca69855 stable-kernel-rules.rst: add link to networking patch queue
1c14622adb15 bcache: never writeback a discard operation
261aad0b3ea7 PM / wakeup: Rework wakeup source timer cancellation
ee610ce938cd svcrpc: fix UDP on servers with lots of threads
0530b66bfd53 NFSv4.1: Reinitialise sequence results before retransmitting a request
9a1d7090b36e nfsd: fix wrong check in write_v4_end_grace()
e7edb30fd6b7 nfsd: fix memory corruption caused by readdir
672f2e600d21 nfsd: fix performance-limiting session calculation
624865483faa NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
2b5fef7c9927 NFS: Fix an I/O request leakage in nfs_do_recoalesce
63adecfe53e9 NFS: Fix I/O request leakages
0b0545dd7e6e cpcap-charger: generate events for userspace
8f27f8570fa7 mfd: sm501: Fix potential NULL pointer dereference
f964d308797d dm integrity: limit the rate of error messages
1ed46c0c4f65 dm: fix to_sector() for 32bit
ea77e999f649 ipmi_si: fix use-after-free of resource->name
5a0bc68e9a0d arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2
9dc4a1a6447e arm64: debug: Ensure debug handlers check triggering exception level
c33e96f8ddb2 arm64: Fix HCR.TGE status for NMI contexts
bb7edb8a409a ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
e8d7edd36a92 powerpc/traps: Fix the message printed when stack overflows
fbea0579063f powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration
88d0042148f0 powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
b0fc119506bf powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
6e975dad4a8e powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit
fcf2d15a0a32 powerpc/83xx: Also save/restore SPRG4-7 during suspend
87481c65c805 powerpc/powernv: Make opal log only readable by root
12319dcc9a80 powerpc/wii: properly disable use of BATs when requested.
be851891b1c9 powerpc/32: Clear on-stack exception marker upon exception return
24d0b4b51dd1 security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
3ea70bdc892f selinux: add the missing walk_size + len check in selinux_sctp_bind_connect
00d550a195f2 jbd2: fix compile warning when using JBUFFER_TRACE
b18848cc624a jbd2: clear dirty flag when revoking a buffer from an older transaction
108ba9f62780 serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
a79bc3e5fb7c serial: 8250_pci: Fix number of ports for ACCES serial cards
78e39f8bb56e serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
04eb2755b4e9 serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
9007ccc01a91 bpf: only test gso type on gso packets
ef5b4e1f5735 drm/i915: Relax mmap VMA check
23ca68189393 can: flexcan: FLEXCAN_IFLAG_MB: add () around macro argument
8529fecb481e gpio: pca953x: Fix dereference of irq data in shutdown
31e04ac8a8ba media: i2c: ov5640: Fix post-reset delay
1855d8c9e6c4 i2c: tegra: fix maximum transfer size
8bc3433b216d parport_pc: fix find_superio io compare code, should use equal test.
2c0542dbb267 intel_th: Don't reference unassigned outputs
c64422307c34 device property: Fix the length used in PROPERTY_ENTRY_STRING()
c88db9c0d127 kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
5374924c9332 mm/memory.c: do_fault: avoid usage of stale vm_area_struct
db693b432779 mm/vmalloc: fix size check for remap_vmalloc_range_partial()
1811478753e3 mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
492ea426ddce dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit
f1bb88d5cee1 usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
9377917b523a clk: ingenic: Fix doc of ingenic_cgu_div_info
f0412cfc06af clk: ingenic: Fix round_rate misbehaving with non-integer dividers
b6b4011ce7d1 clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
715fe29adfd1 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
eb9aa4ebf835 clk: clk-twl6040: Fix imprecise external abort for pdmclk
917fa829bbf5 clk: uniphier: Fix update register for CPU-gear
80d526380136 ext2: Fix underflow in ext2_max_size()
bbf30be02326 cxl: Wrap iterations over afu slices inside 'afu_list_lock'
94f31d712f26 IB/hfi1: Close race condition on user context disable and close
a80eceacf85c PCI: dwc: skip MSI init if MSIs have been explicitly disabled
084005af4966 PCI/ASPM: Use LTR if already enabled by platform
821934eb7e75 ext4: fix crash during online resizing
01767d409537 ext4: add mask of ext4 flags to swap
f21830e67d5d ext4: update quota information while swapping boot loader inode
4de71f7481a7 ext4: cleanup pagecache before swap i_data
4821bf3c61bb ext4: fix check of inode in swap_inode_boot_loader
3cd2f1153739 cpufreq: pxa2xx: remove incorrect __init annotation
dc4443928ee2 cpufreq: tegra124: add missing of_node_put()
a0e15a764318 cpufreq: kryo: Release OPP tables on module removal
d28564a8e60e x86/kprobes: Prohibit probing on optprobe template code
56955276ba2e irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code
14dda7949f82 irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
3a8560230470 libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
7e7e5728d161 Btrfs: fix corruption reading shared and compressed extents after hole punching
be1ee0e2fd42 btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
cb292a678ee2 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
f1f0ee2859e6 Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
0e6de290666f m68k: Add -ffreestanding to CFLAGS
f78f0d35d43a splice: don't merge into linked buffers
433cbc2d30f3 fs/devpts: always delete dcache dentry-s in dput()
dbb3e594eecd scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
528af139ff6b scsi: sd: Optimal I/O size should be a multiple of physical block size
ee579fc4e875 scsi: aacraid: Fix performance issue on logical drives
818838eea45d scsi: virtio_scsi: don't send sc payload with tmfs
478bd6b7f170 s390/virtio: handle find on invalid queue gracefully
47c6ea331f58 s390/setup: fix early warning messages
69304bcf9021 clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability
947a053a6d47 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
084c1f5522f1 clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
95d7c41e448f regulator: s2mpa01: Fix step values for some LDOs
69913dbd2d55 regulator: max77620: Initialize values for DT properties
060c4f4e5d0c regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
9a215e43276c spi: pxa2xx: Setup maximum supported DMA transfer length
913cb6579c9a spi: ti-qspi: Fix mmap read when more than one CS in use
bb427df35f34 netfilter: ipt_CLUSTERIP: fix warning unused variable cn
8fb8fb9b67bb mmc:fix a bug when max_discard is 0
85d7e5a8000a mmc: sdhci-esdhc-imx: fix HS400 timing issue
882b6b31ea55 ACPI / device_sysfs: Avoid OF modalias creation for removed device
b3a0dfcfdd64 tracing/perf: Use strndup_user() instead of buggy open-coded version
054dec51d4e6 tracing: Do not free iter->trace in fail path of tracing_open_pipe()
9031822970ed tracing: Use strncpy instead of memcpy for string keys in hist triggers
9367b21da22c CIFS: Fix read after write for files with read caching
db6a6106224d CIFS: Do not reset lease state to NONE on lease break
aef1cf600f41 crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
134135d884be crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
6779d6bdf611 crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP
2dc6214860a1 crypto: x86/aesni-gcm - fix crash on empty plaintext
a6e83e8b0777 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
f62b08c81429 crypto: testmgr - skip crc32c context test for ahash algorithms
817cbacff744 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
bc647ef1085e crypto: pcbc - remove bogus memcpy()s with src == dest
9fb0d7b8f9c2 crypto: morus - fix handling chunked inputs
76bc71692818 crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
67a69738546d crypto: arm64/crct10dif - revert to C code for short inputs
e1369ad2e0fc crypto: arm64/aes-neonbs - fix returning final keystream block
7807003aab85 crypto: arm/crct10dif - revert to C code for short inputs
f54fbb0e595b crypto: aegis - fix handling chunked inputs
1e1f858caf7d crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
c81bf050b880 fix cgroup_do_mount() handling of failure exits
638f4fb4ec67 libnvdimm: Fix altmap reservation size calculation
5ebf4aa4cf6b libnvdimm/pmem: Honor force_raw for legacy pmem regions
8f42d7ac37af libnvdimm, pfn: Fix over-trim in trim_pfn_device()
68ab49b299fb libnvdimm/label: Clear 'updating' flag after label-set update
063d65ab9fdd nfit/ars: Attempt short-ARS even in the no_init_ars case
387b9f01ac16 nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
b4a1581c801d acpi/nfit: Fix bus command validation
0c27d62e5752 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
fd8e9cd85f26 stm class: Prevent division by zero
dd1250b50c61 tmpfs: fix uninitialized return value in shmem_link
f4cadb1ec900 selftests: fib_tests: sleep after changing carrier. again.
7d856eb21fd5 net: set static variable an initial value in atl2_probe()
193e19cdf7a0 bnxt_en: Wait longer for the firmware message response to complete.
36ca3daa9b6a bnxt_en: Fix typo in firmware message timeout logic.
aae48df6d81b nfp: bpf: fix ALU32 high bits clearance bug
9fbe31fda762 nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K
a58be12de08d net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task
76320607b755 net: thunderx: make CFG_DONE message to run through generic send-ack sequence
6d0ebfc3fd3c bpf, lpm: fix lookup bug in map_delete_elem
4e9c4ca54607 mac80211_hwsim: propagate genlmsg_reply return code
ce8e30135705 phonet: fix building with clang
92f628f3c945 ARCv2: don't assume core 0x54 has dual issue
1faac2e0838b ARCv2: support manual regfile save on interrupts
53fc181c111c ARC: uacces: remove lp_start, lp_end from clobber list
515122c2d88a ARCv2: lib: memcpy: fix doing prefetchw outside of buffer
b1ba6184493e ixgbe: fix older devices that do not support IXGBE_MRQC_L3L4TXSWEN
a7bc4915f286 tmpfs: fix link accounting when a tmpfile is linked in
5beffa8382a9 mm: handle lru_add_drain_all for UP properly
7bd326b49004 net: marvell: mvneta: fix DMA debug warning
70e79b53dd95 arm64: Relax GIC version check during early boot
e3ca5da971e0 ARM: dts: armada-xp: fix Armada XP boards NAND description
2ac1b780dae0 qed: Fix iWARP syn packet mac address validation.
9e1395d75177 qed: Fix iWARP buffer size provided for syn packet processing.
5db253fa68bf ASoC: topology: free created components in tplg load error
31983c568574 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue
98b9e4e542eb net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe()
d19e6c11ca1f qmi_wwan: apply SET_DTR quirk to Sierra WP7607
59e3fdbb9d45 pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins
63c87ecf5134 net: dsa: bcm_sf2: Do not assume DSA master supports WoL
a2e5d18914c1 net: systemport: Fix reception of BPDUs
8d33e97da9c5 scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task
1c976b2c9f19 keys: Fix dependency loop between construction record and auth key
590d6228f163 assoc_array: Fix shortcut creation
5aa6e4f891a2 af_key: unconditionally clone on broadcast
8cae27e41068 bpf: fix lockdep false positive in stackmap
c16b543d92ee bpf: only adjust gso_size on bytestream protocols
908e6fda5d7d ARM: 8824/1: fix a migrating irq bug when hotplug cpu
d6fb8e0d9e7d esp: Skip TX bytes accounting when sending from a request socket
2dd0beec5a84 clk: sunxi: A31: Fix wrong AHB gate number
48db12b60b5b kallsyms: Handle too long symbols in kallsyms.c
882dbe3d5c03 clk: sunxi-ng: v3s: Fix TCON reset de-assert bit
1ab0225d6786 Input: st-keyscan - fix potential zalloc NULL dereference
8a6ef92721b7 auxdisplay: ht16k33: fix potential user-after-free on module unload
53f4d6948b35 i2c: bcm2835: Clear current buffer pointers and counts after a transfer
60bc9292260f i2c: cadence: Fix the hold bit setting
e6e2c6c26a58 net: hns: Fix object reference leaks in hns_dsaf_roce_reset()
bf6be978fece mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs
7f72a70062d7 x86/CPU: Add Icelake model number
4342d099969c net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend()
6093401c933b scsi: qla2xxx: Fix panic from use after free in qla2x00_async_tm_cmd
09f4a1b6edf1 Revert "mm: use early_pfn_to_nid in page_ext_init"
7b9dd6a4976b mm/gup: fix gup_pmd_range() for dax
3cd584b00e50 NFS: Don't use page_file_mapping after removing the page
7d8cf3eb1dc7 xprtrdma: Make sure Send CQ is allocated on an existing compvec
5c64b19db5ce floppy: check_events callback should not return a negative number
1cae395dd7c0 ipvs: fix dependency on nf_defrag_ipv6
d05d4feda816 blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue
0af0889613a8 netfilter: compat: initialize all fields in xt_init
f2883b8eb0a9 mac80211: Fix Tx aggregation session tear down with ITXQs
665cb8ebf0f3 mac80211: call drv_ibss_join() on restart
0a1d76449997 Input: matrix_keypad - use flush_delayed_work()
375152e09de2 Input: ps2-gpio - flush TX work when closing port
b15599627bd0 Input: cap11xx - switch to using set_brightness_blocking()
a1e0fb446a4b ARM: OMAP2+: fix lack of timer interrupts on CPU1 after hotplug
7a587d77b211 ASoC: samsung: Prevent clk_get_rate() calls in atomic context
bf74076b7dd3 KVM: arm64: Forbid kprobing of the VHE world-switch code
d74df61de605 arm/arm64: KVM: Don't panic on failure to properly reset system registers
58d6ec80a286 arm/arm64: KVM: Allow a VCPU to fully reset itself
c05c5a6e1f0e KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded
ba274486de32 ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables
a3d8ea1f2555 ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized
237e6c308062 Input: pwm-vibra - stop regulator after disabling pwm, not before
6a48d09a77a1 Input: pwm-vibra - prevent unbalanced regulator
fcae9decbc8f s390/dasd: fix using offset into zero size array error
f98a25dc02b7 KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock
74b6b1e49d06 gpu: ipu-v3: Fix CSI offsets for imx53
1c0723cba9a9 drm/imx: imx-ldb: add missing of_node_puts
321e0fbdae09 gpu: ipu-v3: Fix i.MX51 CSI control registers offset
f0e52962b9f2 drm/imx: ignore plane updates on disabled crtcs
38fc637ca52e crypto: rockchip - update new iv to device in multiple operations
5d89757429b3 crypto: rockchip - fix scatterlist nents error
2365ae3a03c9 crypto: ahash - fix another early termination in hash walk
512b0d76c2c9 crypto: cfb - remove bogus memcpy() with src == dest
66b1348939de crypto: cfb - add missing 'chunksize' property
40c76d76e11f crypto: ccree - don't copy zero size ciphertext
2ff9501c582f crypto: ccree - fix free of unallocated mlli buffer
ba3c72efd404 crypto: caam - fixed handling of sg list
5d9cee322faf crypto: ccree - fix missing break in switch statement
e0ea8deb72db stm class: Fix an endless loop in channel allocation
95b10e2f6a61 mei: bus: move hw module get/put to probe/release
1af8d0304685 iio: adc: exynos-adc: Fix NULL pointer exception on unbind
513052a27dab ASoC: codecs: pcm186x: Fix energysense SLEEP bit
d5f37b5d7009 ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
da21c5d9bacf ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
b3e4f70db4f3 9p/net: fix memory leak in p9_client_create
4b84eeface08 9p: use inode->i_lock to protect i_size_write() under 32-bit
4441736404a3 media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()
3f7de80a22c6 perf/core: Fix impossible ring-buffer sizes warning
(From OE-Core rev: ed4cc3a801445e873eac92d7b686a2956e1355c2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The other kernel versions had the -tiny KBRANCH typo of 4.15
fixed, but 4.18 was missed. So we update the kbranch to the right
version for 4.18 as well.
[YOCTO #13247]
(From OE-Core rev: f3d3f320b846a56d52d8f5f073db5b37e6f3ba50)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the follow config tweak:
cgl: audit: Remove CONFIG_AUDIT_WATCH and CONFIG_AUDIT_WATCH
In the following commits, these two options have been replaced by
CONFIG_AUDITSYSCALL which is in audit.cfg.
c8fc5d49c341 ("audit: remove WATCH and TREE config options")
cb74ed278f80 ("audit: always enable syscall auditing when supported and audit is enabled")
Signed-off-by: He Zhe <zhe.he@windriver.com>
(From OE-Core rev: 2fff1900a580d592acc22dd095b226b3830c36ff)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Kevin's patch that cleans up a build warning:
x86: Drop the duplicate define of TIF_NEED_RESCHED_LAZY
The two merge commits 107b161b1cbaf ("Merge branch 'v4.19/standard/base'
into v4.19/standard/preempt-rt/base") and dc37b7080cd55 ("Merge tag
'v4.19.8' into linux-4.19.y-rt") almost have the same content, but
introduce two define of TIF_NEED_RESCHED_LAZY for x86 arch. Drop one of
them to fix the build warning.
(From OE-Core rev: d8d339afd2f0e2873a1a782c05aaaa810fff72be)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating poky-tiny to prefer 5.0 as the kernel version. Boot
tested against qemux86 and qemuarm. This removes the last user
of the 4.18 kernel, so we can queue it for removal from master.
(From meta-yocto rev: 2d44e7ab1a7f85092b5c20287663448b7d784f39)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link has disappeared. I am no longer using it and am using
the article to "Why Fakeroot" to cover both Fakeroot and
Pseudo "extra information" stuff.
(From yocto-docs rev: 679c6a48a8e4bcc51bb8e97f2ba80123bdba6a5c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
unify the spacing for questions in various places
e.g. before the [Y/n] there should be a space, and before
"?" there should be none. Unify the questions where the
system expect an answer from the end user
(From yocto-docs rev: 0643b2e22273a798b96f126931885efd733e5f89)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the description to tell the user they can safely
clean up the DL_DIR after creating tarballs of the source
files from downloaded repos.
(From yocto-docs rev: 6aff69632ea3102b6389ea510e1e3fa5bf1c2123)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make prune_suffix prune a suffix instead of replacing a substring that could
happen more than once and not only when it ends with it.
(Bitbake rev: 57e765e38c6382a9b36d5ee2a6f3fa96ac905b82)
Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change adds three patches to improve the handling of stdout/stderr and child
processes to try and improve logging reliability in ptest-runner.
(From OE-Core rev: 1c0fffc401cdb581a93d16d225f53c83359ff209)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to run sed with the -u option to ensure the output is unbuffered else
ptest-runner may timeout thinkig things were idle. Busybox doesn't have the -u
option so we need to RDEPEND on sed (which is a good thing to do if we use it
anyway).
Alex Kanavin should get credit for discovering the problem.
(From OE-Core rev: d3ffbebf43c23faa43af81c9ecf6fcaef36d675b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This option is enabled by default in Busybox and becomes
useful in networks with internal resources becasue allows
to use much shorter names.
E.g. instead of "server.internal.company.com" it's possible
to use just "server" if DHCP server is configured with:
---------------------------->8-----------------------
option domain-search "internal.company.com";
---------------------------->8-----------------------
(From OE-Core rev: 06a726141ef24bea2d17d2adfcb870e9cccacb74)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there are three issues which can be enhanced:
1. Fuzz warnings cannot be configured as errors for hardening. It happened
often to me that these warnings were overseen and detected after commits
were already out.
2. The output is too verbose - particularly when more than one file is
affected. Meanwhile all users should know why patch fuzz check is performed.
So move links with background information to insane.bbclass.
3. Reduce copy & paste effort slightly by printing PN (nit: <recipe> was not
a correct suggestion e.g for native extended recipe - see example below)
To achieve patch.py drops patch-fuzz info encapsulated by a header- and footer-
string into log.do_patch. With this insane.bbclass can drop warnings/errors
depending on 'patch-fuzz' in ERROR_QA or WARN_QA. Default remains unchanged:
Spit out warnings only.
A message for two fuzzed patches and 'pact-fuzz' in ERROR_QA now looks like:
| ERROR: autoconf-native-2.69-r11 do_patch: Fuzz detected:
|
| Applying patch autoreconf-exclude.patch
| patching file bin/autoreconf.in
| Hunk #1 succeeded at 73 with fuzz 1 (offset -3 lines).
| Hunk #2 succeeded at 143 (offset 6 lines).
| Hunk #3 succeeded at 167 (offset 6 lines).
| Hunk #4 succeeded at 177 (offset 6 lines).
| Hunk #5 succeeded at 281 (offset 15 lines).
| Hunk #6 succeeded at 399 (offset 15 lines).
| Hunk #7 succeeded at 571 (offset 20 lines).
| Hunk #8 succeeded at 612 (offset 20 lines).
| Hunk #9 succeeded at 636 (offset 20 lines).
| Hunk #10 succeeded at 656 (offset 20 lines).
| Hunk #11 succeeded at 683 (offset 20 lines).
|
| Applying patch autoreconf-gnuconfigize.patch
| patching file bin/autoreconf.in
| Hunk #1 succeeded at 55 with fuzz 1 (offset -3 lines).
| Hunk #3 succeeded at 663 (offset 18 lines).
|
| The context lines in the patches can be updated with devtool:
|
| devtool modify autoconf-native
| devtool finish --force-patch-refresh autoconf-native <layer_path>
|
| Don't forget to review changes done by devtool!
|
| ERROR: autoconf-native-2.69-r11 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz]
(From OE-Core rev: c762c0be43a3854a43cb4b9db559b03126d50706)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
... instead of replacing a substring that could happen more than once and not only when it ends with it. Do the same for the prefix.
See related https://github.com/openembedded/bitbake/pull/24 . There it stops replacing sufixes once first one is matched but not here.
(From OE-Core rev: 610ac84170f8a91cc3321edfc336a9e39f24ebe3)
Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running:
# autoreconf -if
on target for prelink-cross was failing due to missing perl modules:
Can't locate File/Spec.pm in @INC ...
Add the required perl modules and duplicate them for the SDK.
(From OE-Core rev: 52657215bcffc022821395950cf3236250370223)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If TMPDIR is moved the error message says "move it back or rebuild" but the
obvious rebuild method of running 'bitbake [recipe]] -cclean' fails with the
same error.
Make it clear what we mean by adding "delete and".
(From OE-Core rev: 36805a628f8208ff6d7fba9955c5fb1ed6396395)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we have hard-float ABI enabled, certain tools e.g. llvm/clang
expects the hf version of tuples for crt files from libgcc, therefore
create a symlink to help the cause.
This makes clang work with hard-float defaults on target
(From OE-Core rev: f58cf0d0ff05636a70330c54f7e537f9480674c4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cml1 and ccmake bbclasses generate configuration fragment source
files that must be exported from the WORKDIR as a source file to be
preserved across builds. This change adds detection of the current
recipes inherited classes and for cml1 and ccmake classes checks for the
specific generated configuration fragment files. These files are then
exported by devtool and included as SRC_URI files from within the target
layer.
(From OE-Core rev: 7a1fabe4a24552ce8a50c8d6009969ca52a5fd27)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ccmake bbclass implements two tasks. The first task 'ccmake'
preserves the configured state of CMakeCache.txt (generated from the
configure task) and invokes the 'ccmake' program within a oe_terminal
execution. The user can then review, select and modify configuration
options and once satisfied with the configuration exit ccmake. Once
ccmake has exited the build can be run and the updated configuration
should be reflected in the output build.
The ccmake bbclass has a second task 'ccmake_diffconfig' to compute the
differences in configuration which was modified by ccmake. Since there
are many ways to persist the configuration changes within recipes and
layer configuration, the differences are emitted as a bitbake recipe
fragment (configuration.inc) using EXTRA_OECMAKE as well as a CMake
script file which can be used as a input to cmake via the '-C' argument.
Both files are generated in the WORKDIR of the build and the paths to
the files are written as output from the build. It is then up to the
user to take this configuration and apply it to the desired location.
(From OE-Core rev: 091c46a8ecba6b6b7c44078ae2b567a2ef6e72e9)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable the building of the curses based ui for cmake. This depends on
ncurses.
(From OE-Core rev: a8397def4eebacb8876d021129309a6903b71b2f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The XML catalogue is now at the canonical path, ${sysconfdir}/xml/catalog.
(From OE-Core rev: d7c0e9d1800912a0f35fb554d54945b728a04a6f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because of differences in how RDEPENDS works for native/target, add libxml2 and
libxslt to RDEPENDS (so that native dependencies work), but also add
libxml2-utils (for xmllint) and libxslt-bin (for xsltproc) to target RDEPENDS.
Also add libxml2-native to DEPENDS as that is needed for the
docbook-(xml,xsl)-native catalog to be generated.
(From OE-Core rev: b571315acb59f61335c20849d2ce7f5059258c1a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that docbook-xml and docbook-xsl use the xmlcatalog class, xmlto can stop
shipping a hand-coded catalogue.
It still needs to keep the wrapper so that the sysroot catalog is used instead
of /etc/xml/catalog. The wrapper is native-specific so mark it as such.
Note that this does effectively break xmlto on the target as the xmlcatalog
class doesn't write a catalog for the target yet, but I'm hoping that nobody
actually uses it on target.
(From OE-Core rev: b12686ecdd0b0bdb36c8d1a2baeeb66aadff1b8c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that docbook-xml and docbook-xsl are writing catalog files, tell
xmllint/xsltproc where the catalog is.
(From OE-Core rev: e60ec1dc23df918a7ec2e4572233ee12e73f4aff)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The XML catalogue is now at the canonical path, ${sysconfdir}/xml/catalog.
(From OE-Core rev: 2c91c3ef14269b7b329b3008e5b3a8e65ea4f494)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no need to ship a static catalog that we have to patch, as upstream
comes with a catalog fragment.
Use the xmlcatalog class to register this catalog.
(From OE-Core rev: c4638117142b4e516755161bf35b29c82f41cfc7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tidy up the install task and don't version the directory under ${docdir}.
(From OE-Core rev: 4bf256602add685f86058aced1b8ebe0d1413b5d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of shipping a static catalog and patching it for native builds, use
libxml2-native to generate a catalog with the correct paths.
Use the xmlcatalog class to register this catalog automatically.
(From OE-Core rev: 62a264df8806c48bfd8e96bec6faf6675b873e35)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a new class to handle recipes that need to add/remove entries in the XML
Catalog(ue)[1]. In the future it will handle updating the catalogue on the
target, but the immediate requirement is during the build so currently this only
works with native recipes.
Note that as this is a new class and target use hasn't been implemented yet, it
is possible that the behaviour of this class will change.
[1] https://en.wikipedia.org/wiki/XML_catalog
(From OE-Core rev: 28c58cff76b24cea2745352c6557a81c04d85138)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multiple patches are to be applied to improve the current ptest suite.
0001-Fix-tests-link-libpause_consumer-on-liblttng-ctl.patch
0002-Fix-test-skip-test_getcpu_override-on-single-thread-.patch
0003-Fix-test-unit-the-tree-origin-can-be-a-symlink-itsel.patch
0006-Tests-check-for-lttng-modules-presence.patch
All deal with problem in the test suite. Most of these are already
accepted upstream and will be removed on the next recipe update.
0004-Skip-when-testapp-is-not-present.patch
Is a OE specific fix that make sure that we skip the test if
the test util application (event generator) is not present. We are
still unsure on how (upstream) we are going to solve this problem. We
already have this problem if a user build lttng without lttng-ust
(--without-lttng-ust). We will most probably end up splitting each test
into kernel and userspace tests and adjust the makefile accordingly.
Another option is to probe lttng for enabled function at runtime.
0005-Tests-use-modprobe-to-test-for-the-presence-of-lttng.patch
Is a requirement for 0006 that should be accepted upstream shorlty.
0007-Fix-getgrnam-is-not-MT-Safe-use-getgrnam_r.patch
Fixes a race found while testing OE built with musl. This is a legit
bug. The fixes or a variant should be accepted soon.
(From OE-Core rev: 57db7be54b9ee21b2be33b83782f0636d0702168)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been unused in OE-Core since the introduction of recipe specific
sysroots. Its not so useful since it only runs once upon sstate installation,
not per installation per sysroot.
Remove the weird looking comment left behind in pixbufcache too.
(From OE-Core rev: 2af49716504f65be0cb01f609ea9bfa334926589)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the manual execution display step by sorting
the step as string, where steps were not being sorted
correctly when there are more than 9 steps.
Fixed the step sorting by sorting step as integer.
(From OE-Core rev: 192c255d9f597b3526a5b94fcf3eedc4527189ed)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current manualexecution required pressing enter button to show each step
information, where this was wasting execution time. Enable display
full steps without needing to any press enter button.
(From OE-Core rev: e44c9a018c13208fef0dcef4479ce71977628cd4)
Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current input checking does not match the standard input practiced
by QA team. Change the input checking to match the standard
input practiced by the QA team.
(From OE-Core rev: 630a93c740359a65249a198f314f15040042f8d3)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libsecret 0.18.7 removed intltool and now uses pure gettext.
(From OE-Core rev: 5b8b1a27dff07c616eb62522c5a2ea15ebca3d1b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is a wrapper around "shlex.quote()" and can be used in
"${@...}" context where shlex (or pipes, which provides similar
functionality) is unavailable.
(From OE-Core rev: 127141f5023a7e3fc3963dc7d76cfce9067a9e8a)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tests such as strace-ptest require more than the current 500MB of free
space. Increase the amount available, staying under the 4GB limit. We have more
flexibility now since we shrank kernel-devsrc and the comments are out of date
due to that.
This should improve the strace-ptest results and the util-linux ones since
those sort after strace and also hit the space issues as strace-ptest didn't
clean up after itself when failing.
(From OE-Core rev: 5c1b2459e2d5651b02bdfdf6cb93b7f9ce32df0a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than simply discarding the ptest data, change the code to discard
it when writing out the new testresult files, or optionally either preserve
it, or write it as seperate discrete logs.
This means the autobuilder should start writing out individual ptest log
files as well as allowing ueers to extract these manually.
(From OE-Core rev: a1e0944bf260ef50dd7dfcb10db248fdd7f45bc9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Store operations using a single file as a source weren't working as the os.walk
command didn't like being given a single file. Fix the store operation to
work for single files.
(From OE-Core rev: eb5bbe613d8c7cbcd8b74d8ac0073c2217970410)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The FindFontconfig module added by 3.14.0 accidentally used uppercase
FONTCONFIG_* variable names that do not match our conventions.
3.14.1 revises the module to use Fontconfig_* variable names.
This is incompatible with 3.14.0 but since the module is new in the
3.14 series usage should not yet be widespread.
(From OE-Core rev: 6c85363eea0278a6952e80edb549e80e1fcbdba7)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
unify the spacing for questions in various places e.g. before the [Y/n]
there should be a space, and before "?" there should be none. Unify the
questions where the system expect an answer from the end user.
(From OE-Core rev: 7a3f128b19e55b751e81bc676e5946544b0c8735)
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libxml-native by default uses a XML catalogue at /etc/xml/catalog, instead of
the one in the sysroot. Until this is fixed (#13260) override the XML catalogue
manually in the recipe to point explicitly at the docbook-xml and docbook-xsl
catalogues.
This fixes either complete build failures (where the host doesn't have
docbook-xml installed) or slow builds (where the host doesn't have docbook-xsl
installed).
(From OE-Core rev: efb6168e41797ad6ed00ede6f3d9141b90eff4b5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes sure, e.g., ${SOC_FAMILY} and ${MACHINE} have higher
priorities than aarch64.
(From OE-Core rev: 4d1339af88543d85930139dbcb87a669f285ea66)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Platforms like powerpc64le have different variants of the same target.
Perl guesses that the target should be called powerpc64le-linux, while
TARGET_ARCH think it is called ppc64le-linux. If we use TARGET_ARCH
for perl-native on powerpc64le this build will fail since the
post-install rm command won't reference and existing file.
We know that there is only one arch existing per build, so use a
wildcard for finding the path instead of trying to guess the correct
architecture name.
(From OE-Core rev: 6eadd9f5ac2887311ae9ed133b389ae4d64a8181)
Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The armv8a tune specific PACKAGE_EXTRA_ARCHS contained tune feature
names like "crc" and "crypto" rather than package architecture names
like "armv8a-crc" and "armv8a-crypto".
(From OE-Core rev: 1756f2354745ee709886683422887efed4e10dba)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below link error for powerpc
lib/libLLVMSupport.a(CommandLine.cpp.o): in function `llvm:🆑:opt_storage<(anonymous namespace):
:HelpPrinterWrapper, true, true>::setLocation(llvm:🆑:Option&, (anonymous namespace)::HelpPrinterWrapper&) [clone .isra.189]':
/usr/src/debug/llvm/8.0-r0/git/llvm/include/llvm/Support/CommandLine.h:1218:(.text.startup+0x5c):
relocation truncated to fit: R_PPC_PLTREL24 against symbol `llvm::errs()' defined in .text section in lib/libLLVMSupport.a(raw_ostream.cpp.o)+8000
lib/libLLVMSupport.a(CommandLine.cpp.o): in function `setLocation':
(From OE-Core rev: 5302047be6bcdae85a43f9b09778a91dcd03b191)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current validation check function inside resulttool disallow the
report for single result file although the underlying library
was able to handle both directory and file as source input to report.
Removed the validation check as it was no longer needed and to
enable report for single result file.
(From OE-Core rev: a85a8febf04d763dd5b3d20487d528731105afab)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the default POSIX sh instead of relying of var-SHELL being set to a
compatible shell. Such that in cases where SHELL is set to a
incompatible shell (e.g. csh, zsh, fish, etc.) the terminal command does
not just silently fail.
(From OE-Core rev: 50d3ec1ac994fb5968d8edf82823a7e3d1d67d21)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the runfile that is generated to have the same behaviour as
bitbake with regards to emitting the shebang and trap code. The existing
implementation used 'env' with the current var-SHELL. This means that if
the user has configured there system/environment with a alternate shell
(e.g. csh, zsh, fish, etc.) the do_terminal function would attempt to
execute with the wrong/incompatible shell and fail silently.
With this change devshell and other classes that rely on terminal can
now run when the var-SHELL is not set to a sh compatible shell. For
devshell, it will launch the devshell with the users configured shell.
(From OE-Core rev: 53724281eb486847bc3be824aa4513a8688ec296)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix CVE-2017-6519.
CVE: CVE-2017-6519
(From OE-Core rev: 979e3f4ac1e12228d368315169a32d5ab0209e91)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move prepare_recipe_sysroot's task dependency on populate_sysroot from
base.bbclass (where it was specified in the middle of do_configure's
definition) to staging.bbclass (where the rest of
do_prepare_recipe_sysroot is defined). This was a left-over from when
recipe specific sysroots were introduced in commit 809746f5 and the
task dependency on populate_sysroot was moved from do_configure to
do_prepare_recipe_sysroot.
(From OE-Core rev: fe6d020dd609fbde7e4413cef9bbdd4e3962c82c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tzdata is converted to an empty meta package which pulls in all
subpackages. The subpackages are defined in a TZ_PACKAGES variable so
that we don't have to repeat ourselves.
The timezones and conffiles which were in the tzdata package are moved
to a new 'tzdata-core' package.
(From OE-Core rev: 2af4d6eb2526d60b26bc5128068541ff3350fb58)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently CONFIG_RFKILL is enabled only if both bluetooth *and* wifi
distro features are present. It should be enabled when either feature
is present. Fix this by switching to use of bb.utils.contains_any().
(From OE-Core rev: 5e6d7760c599b09b9417aa8d044084f4c5123762)
Signed-off-by: Matt Porter <mporter@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing runtime dependencies: the test suite needs proper chmod from
coreutils, and the Europe/Minsk timezone.
Also change run-ptest to use -W (run verbosely on failure) instead of -v (always
verbose) to hopefully reduce the noise in the ptest reports.
(From OE-Core rev: 7574f6850797fb7556d2f8077860b7c1d26ae8ec)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If kernel-devsrc is used in a SDK context, the symlink from usr/src/kernel
points to an absolute path '/lib/modules/${KERNEL_VERSION}/build',
which ends up pointing to the local machine's build directory.
To address this issue change the symlink to be realtive to
${D}/lib/modules/${KERNEL_VERSION}/build.
(From OE-Core rev: 95bc738e7f10d492f5db33fc581e9796e52a9d3f)
Signed-off-by: Henrik Nymann Jensen <hnje@triax.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to use GNUInstallDirs instead of hand-coded path
logic, so we have proper control over where files end up.
(From OE-Core rev: 7c7d8ce6fe54e239374a6a04c007b4aa0712ba33)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
adwaita-icon-theme uses gtk-encode-symbolic-svg to generate icons, so DEPEND on
librsvg-native (and gtk+3-native, via gtk-icon-cache.bbclass) so that this tool
exists and can load SVG files.
(From OE-Core rev: f109bb56f48103a7a2b9f77af72e860c6e994b2b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added so that adwaita-icon-theme can find the SVG loader for icon
generation, but the fix is in the wrong place. GTK+ does not depend on librsvg
at all, the tool in GTK+ which loads the icons uses gdk-pixbuf which uses
loadable modules.
This reverts commit 66828ff04d.
(From OE-Core rev: 57c112338068b6e8582480b50b025590fef51052)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Beautify the machine config files by making the names and descriptions
more uniform and verbose
(From meta-yocto rev: 159a8c9080af125c657558b4789f4aa8410e4fa2)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the system had previously fetched a source repository for use by gitsm,
and then the SRCREV was updated and the new commit already existed, the system
would not re-evaluate the submodules and update them accordingly.
The cause of this issue was that need_update was being used, unmodified, from
the base git fetcher. It did not have any knowledge, nor did it care if we
were moving commits and needed to re-evaluate what was happening due to this
switch.
To fix the issue, during the download process we add all processed (by
gitsm) srcrevs to the git config file, as bitbake.srcrev. This allows us to
use a new need_update function that not only checks if the git commit is
present, but if we have previously processed this commit to ensure all of the
submodule components are also present.
This approach is used, instead of iterating over the submodules in need_update
to avoid a potential race condition that has affected us in the past. The
need_update is called only with the parent locking. Any time we need to dive
into the submodules, we need to lock, and unlock them, at each stage. This
opens the possibility of errors in either the code, or unintended race
conditions with rm_work.
This issue was discovered by William A. Kennington III <wak@google.com>. The
included test case was also written by him, and included unmodified.
(Bitbake rev: 30fe86d22c239afa75168cc5eb262b880886ef8a)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lzip is pretty niche: people are typically either sticking with that they know
(gzip, bzip) or using xz. Data point: only one recipe in oe-core is shipped as
a .lz file.
(From OE-Core rev: 80b0ac3bdbaee50d0023b7c869dd204485903dfe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So that it says '8.0.0' to reflect the recent PV change.
(From OE-Core rev: 3b4049157a72bcd984f93405a75946a39c045f2d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PV is 2.32.0 even though the actual release upstream is 2.32. To a human this
is insignificant, but to automated tooling it matters. Specifically,
cve-check-tool can't identify CVEs that are in 2.32.
Set CVE_VERSION for now, which should be removed when PV and the upstream
version match again.
(From OE-Core rev: 487c8356c22deb29867baf3da74f6d86502d5b3b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Beautify the machine config files by making the names and descriptions
more uniform and verbose
(From OE-Core rev: 1108a24e2c58794163c8cf35154f8be5c1d06c29)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LLVM is now warning if your host compiler is gcc <5.1, and some of our supported
operating systems still only have 4.8.5. Set
LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN so those builds continue to work, hopefully
we retire the old operating systems before LLVM requires 5.1+.
(From OE-Core rev: 0e7d761b1360f603a4cc0de15c67f4e182e5a6a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also, update PV to match the version scheme used by upstream
to tag releases (e.g. major.minor.patch).
(From OE-Core rev: 4405a1793a42aecd7923ab2b18df296ed8c32dc1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The copyright date changed in the license file, thus the hash change.
CMake 3.14 fixes some issues with implicit include path that lead to
errors with gcc not finding "stdlib.h" etc in include_next.
(From OE-Core rev: ec2764aa4957b802ed2612dd7633aed5b941bfb0)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's a sort-of-official port of asciidoc to Python 3. Whilst the official
replacement is asciidoctor which is rewritten in Ruby, this is a fairly trivial
swap and removes Python 2 from core-image-sato builds entirely.
Moving forward we should evaluate asciidoctor, but that can wait.
Change the RDEPENDS so that python3 is only a dependency for target and
nativesdk builds, for native this can use the host python3.
Remove redundant DESTDIR export that isn't needed.
(From OE-Core rev: 266a13139ea45e28deb167f077917f04c3bdb7e6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't appear to be required at all.
(From OE-Core rev: d8269db061c471d230dfd27e158f1aa5ce188e5a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LLVM doesn't actually need pythonnative, the host Python2 is sufficient but
cmake's executable searching currently isn't reliable in cross-compilations.
Convince cmake by setting PYTHON_EXECUTABLE to point at python2 in the HOSTTOOLS
directory. Note that currently LLVM *needs* python2 currently:
https://github.com/llvm-mirror/llvm/blob/master/CMakeLists.txt#L670
(From OE-Core rev: 1587475e45edc995b7643844594abc94160a5549)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous SRC_URI seems to be gone, and sysklogd hasn't received
any updates there for a long time.
The new location says:
Origin & References
This is the continuation of the original sysklogd by Martin Schulze.
Now maintained by Joachim Nilsson. Please file bug reports, or send
pull requests for bug fixes and proposed extensions at GitHub.
and generally seems credible: http://troglobit.com/
(From OE-Core rev: 22a4a6fe24c26dd5ae4a82a742c9bdf41c6bf2b7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
blktool-gnulib-makedev.patch is actually doing the same
thing as 0004-fix-ftbfs-glibc-2.28.patch, so we end up
including the same file twice.
(From OE-Core rev: 8de82c63fe49917c80d1b634819ae2001625a645)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This update adds a patch from Debian to match the latest version there.
(From OE-Core rev: 11fdad15c2c8f4b4be696008bac0841a271aa161)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2019a release of the tz code and data is available. It reflects the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes:
Briefly:
Palestine "springs forward" on 2019-03-30 instead of 2019-03-23.
Metlakatla "fell back" to rejoin Alaska Time on 2019-01-20 at 02:00.
Changes to past and future timestamps
Palestine will not start DST until 2019-03-30, instead of 2019-03-23 as
previously predicted. Adjust our prediction by guessing that spring
transitions will be between 24 and 30 March, which matches recent practice
since 2016. (Thanks to Even Scharning and Tim Parenti.)
Metlakatla ended its observance of Pacific standard time,
rejoining Alaska Time, on 2019-01-20 at 02:00. (Thanks to Ryan
Stanley and Tim Parenti.)
Changes to past timestamps
Israel observed DST in 1980 (08-02/09-13) and 1984 (05-05/08-25).
(Thanks to Alois Treindl and Isaac Starkman.)
Changes to time zone abbreviations
Etc/UCT is now a backward-compatibility link to Etc/UTC, instead
of being a separate zone that generates the abbreviation "UCT",
which nowadays is typically a typo. (Problem reported by Isiah
Meadows.)
Changes to code
zic now has an -r option to limit the time range of output data.
For example, 'zic -r @1000000000' limits the output data to
timestamps starting 1000000000 seconds after the Epoch.
This helps shrink output size and can be useful for applications
not needing the full timestamp history, such as TZDIST truncation;
see Internet RFC 8536 section 5.1. (Inspired by a feature request
from Christopher Wong, helped along by bug reports from Wong and
from Tim Parenti.)
Changes to documentation
Mention Internet RFC 8536 (February 2019), which documents TZif.
tz-link.html now cites tzdata-meta
<https://tzdata-meta.timtimeonline.com/>.
(From OE-Core rev: f51df4809be08fa7e137467a386637ebe7b57175)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Test case:
* open xfce4-terminal
* run 'echo | less'
* press arrow up/down few times
* exit less with 'q'
=> From now on all mouse(wheel) buttons create strange inputs on terminal
Release note says [1]: "Sometimes the terminal was left in mouse-reporting mode
after exiting less."
http://www.greenwoodsoftware.com/less/index.html
(From OE-Core rev: 4cefbf492d98ec14b8bb323c92d987b795addaf2)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
adwaita-icon-themes failes to create symbolic icons. In log.do_install when
calling gtk-encode-symbolic-svg there many complaints
| Can't load file: Unrecognized image file format
We fail her now due to:
commit 7f6c57635ff4e1edf7a46c49af34846ad0a4bf73
Author: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Wed Jan 30 11:59:25 2019 +0100
gtk+3: remove the gtk-icon-utils-native recipe
gtk-icon-utils-native had librsvg in its DEPENDS. We do not add librsvg-native
because same issue would occure for gtk-encode-symbolic-svg on target.
(From OE-Core rev: d85f4e8fdffe180b54eb7e35a24a2620e5dc8d62)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of patching and sedding the makefile, just install test/example and
execute it in run-ptest. example is the bulk of the test suite, as minimal as
it is.
(From OE-Core rev: ea86bdb8935668d41e142676815af38911ee0faa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to do a runtime check for the behaviour of strlcpy if it doesn't
even exist.
(From OE-Core rev: 2b6c855737afbf2b0f2baa1b14029f8ddc37e9ed)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GLib wants to execute code to identify several properties of the system, for
example is vsprintf() broken and what direction does the stack grow. In
cross-compiled environments these fallback to the default values which are not
always correct (our vsprintf() is fine, but the test assumes it isn't) so set
these properties explicitly.
Ideally this happens magically by meson.bbclass using the same logic as
siteinfo.bbclass, but we need to fix glib now.
(From OE-Core rev: e04e0a20cab04966698c50dc79195a8f159248d3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fetch2/__init__.py checks whether "BB_FETCH_PREMIRRORONLY" == "1", but
fetch2/git.py and hg.py checks whether it is None, this makes it discontinuous,
and BB_FETCH_PREMIRRORONLY = "0" doens't work as expected in the later case,
so unify it to the previous one. (As BB_NO_NETWORK does).
And also use bb.utils.to_boolean() to make them consistent.
(Bitbake rev: 85a0d22835588e9ad8ec29d88a8115227e88420c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous fix for CVE-2018-19758 wasn't complete, so backport another patch
to solve it properly.
(From OE-Core rev: aeaca9bb1b1c8bf44818945dc4b2cbd6d4b5cef2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix this CVE (Bluetooth discoverability may be enabled with no agents to handle
requests) by backporting a number of patches from upstream.
(From OE-Core rev: 7bdf9581e807b978b92f29e11ab2a9e69e08410f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error handling in shell scripts is too easy to forget and
get wrong. It is possible to check every external command
for return values but it is better to use a generic setting
which halts execution of the script on any failures.
Upstream-Status: Pending
(From OE-Core rev: 4868de2e67bd304e41ac2158ccfcb166cfe16242)
Signed-off-by: Aditya Tayade <Aditya.Tayade@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Convert existing EXTRA_OECONF and DEPENDS to PACKAGECONFIG, fill out
remaining PACKAGECONFIG options. When building without libpsl we pass in
--without-libpsl, which we didn't previously, but all this actually ends
up doing is silencing a warning from the configure script, the code
still uses an internal implemention when using this option.
(From OE-Core rev: 6472261c7dba1ecc67d639d13b7cf04258f13c7c)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
self.msg is a str(), bootlog is b'' so this code clearly doesn't work. Add
in a decode since its being used as a string.
(From OE-Core rev: e7546759d3102b576974bbab52594796f084721e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when compile with DEBUG_OPTIMIZATION(-Og), compile failed with below
error, fix by add -Wno-error:
[snip]
| Incremental.c: In function 'Incremental_container':
| Incremental.c:1593:3: error: 'mdfd' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| close(mdfd);
| ^~~~~~~~~~~
[snip]
super-intel.c: In function 'apply_takeover_update':
| super-intel.c:9615:15: error: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Werror=format-overflow=]
| " MISSING_%d", du->index);
| ^~
...
(From OE-Core rev: 1e0dbc9e320b200b948abaae418f640f9f65fe06)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To allow wget with libpsl to build native/nativesdk versions we need
those variants here.
(From OE-Core rev: e2df6087694af09715141c5cb38af3e7db4ad758)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- update dropbear to version 2019.77
- drop obsolete patch
(From OE-Core rev: c0f2e6f74119538a33095c27a8d9e92084741672)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the latest 4.19-rt to the preempt-rt branches, the -rt
release announcements summarize the changes:
Changes since v4.19.25-rt15:
- The "preserve task state" change in cpu_chill() in the previous
release is responsible for missing a wake up. Reported by Mike
Galbraith.
- The x86-32 lazy preempt code was broken. Reported by Andri Yngvason.
Changes since v4.19.23-rt13:
- Use the specified preempt mask in should_resched() on x86. Otherwise
a scheduling opportunity of non RT tasks could be missed.
- Preserve the task state in cpu_chill()
- Add two more cases to consider before warning about pending
softirqs.
(From OE-Core rev: 3efbde7738efd3b69f86d4cb4b08e4e11190f75d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following upstream commits have renamed INTEL_RDT to RESCTRL.
6fe07ce35e8a ("x86/resctrl: Rename the config option INTEL_RDT to RESCTRL")
e6d429313ea5 ("x86/resctrl: Avoid confusion over the new X86_RESCTRL config")
(From OE-Core rev: 7c33bfc37b154efce28c359f527ad32063479122)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 5.0 release of preempt-rt is available, so we import the
patches to the standard/preempt-rt/* branches.
(From OE-Core rev: 3af366d0f14d3d0a4cfbd9600f753f5ad2752551)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases that comprise the following
commits:
449959917f0c Linux 5.0.3
847c02bcb48a drm: Block fb changes for async plane updates
a51603120204 It's wrong to add len to sector_nr in raid10 reshape twice
0912fa3dfcea perf/x86/intel: Make dev_attr_allow_tsx_force_abort static
c075798c05d9 perf/x86/intel: Fix memory corruption
291ad91aad03 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate X514-51T with ALC255
843a9a5b5675 ALSA: hda/realtek - Reduce click noise on Dell Precision 5820 headphone
6f63adaf8881 ALSA: hda/realtek: Enable audio jacks of ASUS UX362FA with ALC294
19fcfe5ad57c ALSA: hda - add more quirks for HP Z2 G4 and HP Z240
f36b6691acdd ALSA: hda: Extend i915 component bind timeout
69bf155eec9e ALSA: firewire-motu: fix construction of PCM frame for capture direction
b072cb42f01e ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56
9826a60a2aca perf/x86: Fixup typo in stub functions
94f93c5900e3 f2fs: wait on atomic writes to count F2FS_CP_WB_DATA
15c5945f83c1 net: sched: flower: insert new filter to idr after setting its mask
882e7866ad28 vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock
c7bc9d62033a net: hns3: fix to stop multiple HNS reset due to the AER changes
b31539bd3595 net: dsa: mv88e6xxx: Set correct interface mode for CPU/DSA ports
7e30fd0627db net/mlx4_core: Fix qp mtt size calculation
979785bea346 net/mlx4_core: Fix locking in SRIOV mode when switching between events and polling
f1ac81bb23a4 net/mlx4_core: Fix reset flow when in command polling mode
11e457c165d0 vxlan: test dev->flags & IFF_UP before calling gro_cells_receive()
854b83c7493c vxlan: Fix GRO cells race condition between receive and link delete
3460bb198560 tcp: handle inet_csk_reqsk_queue_add() failures
dfcf44d29a7f tcp: Don't access TCP_SKB_CB before initializing it
75c9b039f9bd tcp: do not report TCP_CM_INQ of 0 for closed connections
05ad31a85e96 sctp: remove sched init from sctp_stream_init
3aca89318497 rxrpc: Fix client call queueing, waiting for channel
ed98b01c0523 route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a race
cfa5b557d9d0 ravb: Decrease TxFIFO depth of Q3 and Q2 to one
41b802e6f2a8 pptp: dst_release sk_dst_cache in pptp_sock_destruct
a6e37802e050 net/x25: reset state in x25_connect()
391c4c5228d8 net/x25: fix use-after-free in x25_device_event()
0f27e8de5678 net: sit: fix UBSAN Undefined behaviour in check_6rd
bfca8925f758 net/hsr: fix possible crash in add_timer()
251eb21781bf net: hsr: fix memory leak in hsr_dev_finalize()
4b7730375855 net: hns3: add dma_rmb() for rx description
93a96dc0a610 lan743x: Fix TX Stall Issue
8c223fee4ad4 lan743x: Fix RX Kernel Panic
a53dc7db54c7 l2tp: fix infoleak in l2tp_ip6_recvmsg()
b41988c24100 ipv4/route: fail early when inet dev is missing
ab62510ac2ea gro_cells: make sure device is up in gro_cells_receive()
a9b0ebbf75c3 fou, fou6: avoid uninit-value in gue_err() and gue6_err()
c4b5717a0168 connector: fix unsafe usage of ->real_parent
9e6fdea016e4 Linux 5.0.2
84ff8f265a91 perf/x86/intel: Implement support for TSX Force Abort
9870cd07a132 x86: Add TSX Force Abort CPUID/MSR
93c2f72c7933 perf/x86/intel: Generalize dynamic constraint creation
3ad8e57560d7 perf/x86/intel: Make cpuc allocations consistent
3dfe7538f80a ath9k: Avoid OF no-EEPROM quirks without qca,no-eeprom
72bc954e8a5f scripts/gdb: replace flags (MS_xyz -> SB_xyz)
e7b0b71c22e7 staging: erofs: compressed_pages should not be accessed again after freed
a56c9e263786 staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()
66ad3d56ab62 gfs2: Fix missed wakeups in find_insert_glock
97e5d51f123a bpf: Stop the psock parser before canceling its work
5b31a61305cd Revert "PCI/PME: Implement runtime PM callbacks"
fd0b578b41c6 media: Revert "media: rc: some events are dropped by userspace"
e3f5c3cbe163 drm: disable uncached DMA optimization for ARM and arm64
b7ea06838d14 ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4
cc637b0563f7 ARM: dts: exynos: Add minimal clkout parameters to Exynos3250 PMU
6eb775cb560d ARM: dts: exynos: Fix pinctrl definition for eMMC RTSN line on Odroid X2/U3
d2370201967a arm64: dts: hikey: Revert "Enable HS200 mode on eMMC"
34294e187622 arm64: dts: hikey: Give wifi some time after power-on
bab3cf9d1531 arm64: dts: zcu100-revC: Give wifi some time after power-on
39ab777e42ec x86/PCI: Fixup RTIT_BAR of Intel Denverton Trace Hub
1830d0d33dcd scsi: aacraid: Fix missing break in switch statement
d4f05a4aaf98 iscsi_ibft: Fix missing break in switch statement
61f7963e347d Input: elan_i2c - add id for touchpad found in Lenovo s21e-20
4a33538bd425 Input: wacom_serial4 - add support for Wacom ArtPad II tablet
e83b05c4c17e media: uvcvideo: Fix 'type' check leading to overflow
283506fcd65d Linux 5.0.1
a9bda122bd77 exec: Fix mem leak in kernel_read_file
bc60931448e7 Bluetooth: Fix locking in bt_accept_enqueue() for BH context
95b6840860ee Bluetooth: btrtl: Restore old logic to assume firmware is already loaded
302f4908d4f9 selftests: firmware: fix verify_reqs() return value
5e73c19ca66e Revert "selftests: firmware: remove use of non-standard diff -Z option"
66da661f94eb Revert "selftests: firmware: add CONFIG_FW_LOADER_USER_HELPER_FALLBACK to config"
44c81a482310 USB: serial: cp210x: fix GPIO in autosuspend
02c66213c80a gnss: sirf: fix premature wakeup interrupt enable
ff204bb4c71b xtensa: fix get_wchan
c9255e2479ef aio: Fix locking in aio_poll()
2ac0fa7f3373 MIPS: irq: Allocate accurate order pages for irq stack
a8cc62bd8806 alpha: wire up io_pgetevents system call
46ce9ec42b78 applicom: Fix potential Spectre v1 vulnerabilities
92424a683915 usb: xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI
511ba5f2287c xhci: tegra: Prevent error pointer dereference
1eadda06dcda tracing: Fix event filters and triggers to handle negative numbers
ad0051c0d6da x86/boot/compressed/64: Do not read legacy ROM on EFI system
b8907034edaf x86/CPU/AMD: Set the CPB bit unconditionally on F17h
258c4bfcea44 tipc: fix RDM/DGRAM connect() regression
b0c649843a76 team: Free BPF filter when unregistering netdev
3445d44b8330 sky2: Disable MSI on Dell Inspiron 1545 and Gateway P-79
9dc9563fbb38 sctp: call iov_iter_revert() after sending ABORT
43610748b73d qmi_wwan: Add support for Quectel EG12/EM12
1ba288215704 net-sysfs: Fix mem leak in netdev_register_kobject
cd267ea6a70c net: sched: put back q.qlen into a single location
e1c9e3fe2d34 net: mscc: Enable all ports in QSGMII
050c7ff6f46c net: dsa: mv8e6xxx: fix number of internal PHYs for 88E6x90 family
c2e346e38c2a net: dsa: mv88e6xxx: handle unknown duplex modes gracefully in mv88e6xxx_port_set_duplex
9590cdffe8c4 net: dsa: mv88e6xxx: add call to mv88e6xxx_ports_cmode_init to probe for new DSA framework
9b3149338ace ip6mr: Do not call __IP6_INC_STATS() from preemptible context
b592247edd6b staging: android: ashmem: Avoid range_alloc() allocation with ashmem_mutex held.
6a6b0c1b4731 staging: android: ashmem: Don't call fallocate() with ashmem_mutex held.
6e2cda2e854b staging: android: ion: fix sys heap pool's gfp_flags
f14ab1e367d2 staging: wilc1000: fix to set correct value for 'vif_num'
e872d586158c staging: comedi: ni_660x: fix missing break in switch statement
116ad909da64 staging: erofs: fix illegal address access under memory pressure
fa42199d9dab staging: erofs: fix race of initializing xattrs of a inode at the same time
6df0b3ebdade staging: erofs: fix memleak of inode's shared xattr array
27f2f4877a00 staging: erofs: fix fast symlink w/o xattr when fs xattr is on
091520a14086 driver core: Postpone DMA tear-down until after devres release
0e14eb6e3f42 USB: serial: ftdi_sio: add ID for Hjelmslund Electronics USB485
eefd31d3c9af USB: serial: cp210x: add ID for Ingenico 3070
8510d6a23c3d USB: serial: option: add Telit ME910 ECM composition
ed1776bb5d0b binder: create node flag to request sender's security context
e93cd6500ff9 staging: erofs: fix mis-acted TAIL merging behavior
e36e066ffa78 cpufreq: Use struct kobj_attribute instead of struct global_attr
(From OE-Core rev: c7042659b192be96d42dbaef5c5b08d1d25cb88e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases that comprise the following
commits:
7794d3522606 Linux 4.19.30
842bdbe83ccc vhost/vsock: fix vhost vsock cid hashing inconsistent
090ce34b7832 i40e: report correct statistics when XDP is enabled
eab8018fd289 staging: erofs: fix race when the managed cache is enabled
96ce54b24c38 drm: Block fb changes for async plane updates
27143c71d68b It's wrong to add len to sector_nr in raid10 reshape twice
d6b577c6201f perf/x86/intel: Make dev_attr_allow_tsx_force_abort static
92c9a3897a4c perf/x86/intel: Fix memory corruption
835bc1e2a904 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate X514-51T with ALC255
be888d9a0ed3 ALSA: hda/realtek - Reduce click noise on Dell Precision 5820 headphone
8f6cf57ebe5d ALSA: hda/realtek: Enable audio jacks of ASUS UX362FA with ALC294
5da055b1ca56 ALSA: hda - add more quirks for HP Z2 G4 and HP Z240
2191cd581f46 ALSA: hda: Extend i915 component bind timeout
8b2d66397541 ALSA: firewire-motu: fix construction of PCM frame for capture direction
bb2dde7c9edc ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56
a8eae05f8dbf perf/x86: Fixup typo in stub functions
2835c059726a f2fs: wait on atomic writes to count F2FS_CP_WB_DATA
275a2c08c313 net: sched: flower: insert new filter to idr after setting its mask
345af5abca67 missing barriers in some of unix_sock ->addr and ->path accesses
f56b3c297ca7 net/smc: fix smc_poll in SMC_INIT state
795cb33c32d2 bonding: fix PACKET_ORIGDEV regression
2e4b2aeb0209 ipv6: route: enforce RCU protection in ip6_route_check_nh_onlink()
96dd4ef3c0ce ipv6: route: enforce RCU protection in rt6_update_exception_stamp_rt()
1856bbbea652 ipvlan: disallow userns cap_net_admin to change global mode/flags
e5c31b5a6854 team: use operstate consistently for linkup
b9d0cb758145 ipv6: route: purge exception on removal
fe38cbc9e38a net: Set rtm_table to RT_TABLE_COMPAT for ipv6 for tables > 255
96a3b14450af mdio_bus: Fix use-after-free on device_register fails
13b430574e61 net/x25: fix a race in x25_bind()
c3bdcd9dd2fe net/mlx4_core: Fix qp mtt size calculation
c3bcf8cb401d net/mlx4_core: Fix locking in SRIOV mode when switching between events and polling
1f34d8d2e513 net/mlx4_core: Fix reset flow when in command polling mode
f09a656b68ef vxlan: test dev->flags & IFF_UP before calling gro_cells_receive()
9f7aeee6542e vxlan: Fix GRO cells race condition between receive and link delete
173e9023a068 tcp: handle inet_csk_reqsk_queue_add() failures
fba43f49fdf7 tcp: Don't access TCP_SKB_CB before initializing it
8accd04eb9a4 tcp: do not report TCP_CM_INQ of 0 for closed connections
0e6b33fa9ae1 sctp: remove sched init from sctp_stream_init
c5952168e9da rxrpc: Fix client call queueing, waiting for channel
eaa0962e1eb2 route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a race
ec61b95340f8 ravb: Decrease TxFIFO depth of Q3 and Q2 to one
34dc08b9e916 pptp: dst_release sk_dst_cache in pptp_sock_destruct
14d5e73b01ba net/x25: reset state in x25_connect()
b5c109075aca net/x25: fix use-after-free in x25_device_event()
7cfb97ba8396 net: sit: fix UBSAN Undefined behaviour in check_6rd
86a71f00f9f5 net/hsr: fix possible crash in add_timer()
996ee1aca7de net: hsr: fix memory leak in hsr_dev_finalize()
ab13fe32a01a lan743x: Fix TX Stall Issue
223264734865 lan743x: Fix RX Kernel Panic
96d58cd882ed l2tp: fix infoleak in l2tp_ip6_recvmsg()
7760937dc278 ipv4/route: fail early when inet dev is missing
df737fd03391 gro_cells: make sure device is up in gro_cells_receive()
ef9ef4adb85c connector: fix unsafe usage of ->real_parent
ce194fa2b267 Linux 4.19.29
26b6e018e558 perf/x86/intel: Implement support for TSX Force Abort
fdd820949a74 x86: Add TSX Force Abort CPUID/MSR
9e071aa6c28c perf/x86/intel: Generalize dynamic constraint creation
f99f7dae782e perf/x86/intel: Make cpuc allocations consistent
7053a6faf019 driver core: Postpone DMA tear-down until after devres release
adaa310f8a01 ath9k: Avoid OF no-EEPROM quirks without qca,no-eeprom
b4d965a37d89 cifs: allow calling SMB2_xxx_free(NULL)
e5d7b94cc435 staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()
28b8f234edaf staging: erofs: fix race of initializing xattrs of a inode at the same time
53a989a95a09 staging: erofs: fix memleak of inode's shared xattr array
9dc84155425c staging: erofs: fix fast symlink w/o xattr when fs xattr is on
f581642c8a2c staging: erofs: add error handling for xattr submodule
4f5a4c888106 gfs2: Fix missed wakeups in find_insert_glock
e6e00017910c netfilter: xt_TEE: add missing code to get interface index in checkentry.
02d86085cac6 netfilter: xt_TEE: fix wrong interface selection
f9a0a08d9c99 drm: disable uncached DMA optimization for ARM and arm64
bb2c205cd3a0 ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4
bfc341b61f5c ARM: dts: exynos: Add minimal clkout parameters to Exynos3250 PMU
cd10bc8261eb ARM: dts: exynos: Fix pinctrl definition for eMMC RTSN line on Odroid X2/U3
103ec440943e arm64: dts: hikey: Revert "Enable HS200 mode on eMMC"
e6eb5e3561ca arm64: dts: hikey: Give wifi some time after power-on
271c5a5d546b arm64: dts: zcu100-revC: Give wifi some time after power-on
36e3673d01af x86/PCI: Fixup RTIT_BAR of Intel Denverton Trace Hub
917f943781a9 scsi: aacraid: Fix missing break in switch statement
dcdd1bcbc099 iscsi_ibft: Fix missing break in switch statement
fe34541ab930 Input: elan_i2c - add id for touchpad found in Lenovo s21e-20
b3b29dc53104 Input: wacom_serial4 - add support for Wacom ArtPad II tablet
7066774e60e4 nvme-pci: add missing unlock for reset error
6d482bc56977 blk-iolatency: fix IO hang due to negative inflight counter
1781ae6f0eac qede: Fix system crash on configuring channels.
84828dd2ba92 qed: Consider TX tcs while deriving the max num_queues for PF.
d727c0edf646 qed: Fix EQ full firmware assert.
72426ed2a149 fs: ratelimit __find_get_block_slow() failure message.
3cc6703d43f9 nvme-pci: fix rapid add remove sequence
e3aabe4c2467 nvme: lock NS list changes while handling command effects
25aa5c8b063a drm/amdgpu: use spin_lock_irqsave to protect vm_manager.pasid_idr
ee84b62fba23 i2c: omap: Use noirq system sleep pm ops to idle device for suspend
29f7b376d399 Revert "scsi: libfc: Add WARN_ON() when deleting rports"
cd8520a283c4 MIPS: Remove function size check in get_frame_info()
738f9e2774d6 perf trace: Support multiple "vfs_getname" probes
47e3f3c08605 perf symbols: Filter out hidden symbols from labels
825e58bc9800 s390/qeth: cancel close_dev work before removing a card
5327c5530c9b s390/qeth: fix use-after-free in error path
575a2461e50b s390/qeth: release cmd buffer in error paths
5058447bf760 netfilter: nf_nat: skip nat clash resolution for same-origin entries
5c39e08fc417 selftests: netfilter: add simple masq/redirect test cases
974ed365b164 selftests: netfilter: fix config fragment CONFIG_NF_TABLES_INET
0203f0c963e9 dmaengine: dmatest: Abort test in case of mapping error
5eae58996b7e vsock/virtio: reset connected sockets on device removal
cd2013568dd5 vsock/virtio: fix kernel panic after device hot-unplug
f3ffd4559de2 dmaengine: at_xdmac: Fix wrongfull report of a channel as in use
7cf4466df6ca drm/sun4i: tcon: Prepare and enable TCON channel 0 clock at init
ae26a7109c15 bpf: Fix syscall's stackmap lookup potential deadlock
3bbe6a421280 bpf: fix potential deadlock in bpf_prog_register
e3bc64c9aa50 bpf: fix lockdep false positive in percpu_freelist
0ace0d28941b bpf, selftests: fix handling of sparse CPU allocations
232bd90cf238 relay: check return of create_buf_file() properly
2a5c84e164d2 irqchip/gic-v3-its: Fix ITT_entry_size accessor
fbdbb19457ce net: stmmac: Disable EEE mode earlier in XMIT callback
496eaed7fe94 net: stmmac: Send TSO packets always from Queue 0
46ba03c591d9 net: stmmac: Fallback to Platform Data clock in Watchdog conversion
8096bc39c63e drm/amdgpu: Transfer fences to dmabuf importer
4ec880d7c199 drm/radeon: check if device is root before getting pci speed caps
094392380989 drm/amdgpu: Add missing power attribute to APU check
1bf791023315 irqchip/mmp: Only touch the PJ4 IRQ & FIQ bits on enable/disable
423869f8871d irqchip/gic-v3-its: Gracefully fail on LPI exhaustion
dc81cfafb4b9 irqchip/gic-v4: Fix occasional VLPI drop
377ffe354dc0 usb: phy: fix link errors
fbc3ed1339ec DTS: CI20: Fix bugs in ci20's device tree.
f7e3fb0a6f9d batman-adv: release station info tidstats
90f0a75be8eb arm64: dts: add msm8996 compatible to gicv3
ac0997349142 ARM: pxa: ssp: unneeded to free devm_ allocated data
a8795ba8995a bpf: sock recvbuff must be limited by rmem_max in bpf_setsockopt()
7e2b2e24e356 bpftool: fix percpu maps updating
1da961de4ad4 bpftool: Fix prog dump by tag
9a0f0bbac9a0 wlcore: sdio: Fixup power on/off sequence
2634448683d3 pinctrl: mcp23s08: spi: Fix regmap allocation for mcp23s18
a50434de0cfe soc: fsl: qbman: avoid race in clearing QMan interrupt
959773138ac9 arm64: dts: renesas: r8a77965: Enable DMA for SCIF2
4dc8b2e57ee4 arm64: dts: renesas: r8a7796: Enable DMA for SCIF2
f02070cb4b60 ARM: dts: imx6sx: correct backward compatible of gpt
3edbed0dd13f ARM: dts: meson8m2: mxiii-plus: mark the SD card detection GPIO active-low
ab2f85e59693 ARM: dts: meson8b: odroidc1: mark the SD card detection GPIO active-low
94f31b4c9780 arm: dts: meson: Fix IRQ trigger type for macirq
094ed50726a2 ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2
ec27bcd3f688 ARM: dts: omap4-droid4: Fix typo in cpcap IRQ flags
b510051c73a7 ARM: OMAP: dts: N950/N9: fix onenand timings
2cc84e2ea68d mm, memory_hotplug: fix off-by-one in is_pageblock_removable
929278903367 autofs: fix error return in autofs_fill_super()
1efb234ec251 autofs: drop dentry reference only when it is never used
3d0acc076f5f fs/drop_caches.c: avoid softlockups in drop_pagecache_sb()
f1524fd049de lib/test_kmod.c: potential double free in error handling
71df1c8bc771 mm, memory_hotplug: test_pages_in_a_zone do not pass the end of zone
6027792d6aa8 mm, memory_hotplug: is_mem_section_removable do not pass the end of a zone
5edeae210cb8 x86_64: increase stack size for KASAN_EXTRA
845d73be1b4c proc: fix /proc/net/* after setns(2)
e2b45446c34f x86/kexec: Don't setup EFI info if EFI runtime is not enabled
d7807b62276e apparmor: Fix aa_label_build() error handling for failed merges
d92d3caf818d arm64: kprobe: Always blacklist the KVM world-switch code
f964a4d2bb68 x86/microcode/amd: Don't falsely trick the late loading mechanism
6efd69d63339 cifs: fix computation for MAX_SMB2_HDR_SIZE
15fb5d73e47e x86/boot/compressed/64: Set EFER.LME=1 in 32-bit trampoline before returning to long mode
bd13a72a537a net: macb: Apply RXUBR workaround only to versions with errata
38be5d445c5b platform/x86: Fix unmet dependency warning for SAMSUNG_Q10
25f37d15f080 platform/x86: Fix unmet dependency warning for ACPI_CMPC
bdf1bd01327d scsi: 53c700: pass correct "dev" to dma_alloc_attrs()
59411d98fb10 scsi: bnx2fc: Fix error handling in probe()
8d27f830b615 scsi: scsi_debug: fix write_same with virtual_gb problem
e546c8787e7b scsi: libfc: free skb when receiving invalid flogi resp
40e35210abeb qed: Fix stack out of bounds bug
9414e0854bbc qed: Fix system crash in ll2 xmit
fac238779b14 qed: Fix VF probe failure while FLR
1ba3511006f1 qed: Fix LACP pdu drops for VFs
88bce339de23 qed: Fix bug in tx promiscuous mode settings
5c72ca3bf625 nfs: Fix NULL pointer dereference of dev_name
daf04674d08a selftests: timers: use LDLIBS instead of LDFLAGS
c68cf0831b25 selftests: net: use LDLIBS instead of LDFLAGS
eda52fa18e4f gpio: vf610: Mask all GPIO interrupts
3355d641269f netfilter: ebtables: compat: un-break 32bit setsockopt when no rules are present
1f4ccda30391 net: stmmac: dwmac-rk: fix error handling in rk_gmac_powerup()
4a22084f6bbc net: hns: Fix wrong read accesses via Clause 45 MDIO protocol
3e640b2cdc6e net: hns: Restart autoneg need return failed when autoneg off
6b7d35440955 net: hns: Fix for missing of_node_put() after of_parse_phandle()
c91f641625a7 net: altera_tse: fix msgdma_tx_completion on non-zero fill_level case
419bb616e9ea xtensa: SMP: limit number of possible CPUs by NR_CPUS
d9ba842efdf0 iomap: fix a use after free in iomap_dio_rw
d23792f53f0d iomap: get/put the page in iomap_page_create/release()
38f47557ae49 xtensa: SMP: mark each possible CPU as present
c1327f9a1248 xtensa: smp_lx200_defconfig: fix vectors clash
8655802aa155 xtensa: SMP: fix secondary CPU initialization
0165df14095b selftests: cpu-hotplug: fix case where CPUs offline > CPUs present
1ee82160e2ef IB/ipoib: Fix for use-after-free in ipoib_cm_tx_start
dc04a00b3cbb riscv: Adjust mmap base address at a third of task size
f43e42f46aa8 xtensa: SMP: fix ccount_timer_shutdown
aad4dc749ed5 clk: qcom: gcc: Use active only source for CPUSS clocks
cf872189c804 clk: ti: Fix error handling in ti_clk_parse_divider_data()
a038ed686aa6 iommu/amd: Fix IOMMU page flush when detach device from a domain
e0b03a6bad1a ipvs: Fix signed integer overflow when setsockopt timeout
ffabf74c6796 riscv: fixup max_low_pfn with PFN_DOWN.
9e1f977d82ec iommu/amd: Unmap all mapped pages in error path of map_sg
697863bf7d72 iommu/amd: Call free_iova_fast with pfn in map_sg
43b0c93918a0 IB/{hfi1, qib}: Fix WC.byte_len calculation for UD_SEND_WITH_IMM
d5f05016b0e1 perf script: Fix crash when processing recorded stat data
1e4b75416682 perf tools: Handle TOPOLOGY headers with no CPU
6ec0698f1c40 perf core: Fix perf_proc_update_handler() bug
5d1dc10ba3ac perf script: Fix crash with printing mixed trace point and other events
8ce41db0dcfc vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel
ac8befb6dd60 media: uvcvideo: Fix 'type' check leading to overflow
6a31767f84ad Linux 4.19.28
ca490a987365 bpf: fix sanitation rewrite in case of non-pointers
ebfb07e8c23e scsi: core: reset host byte in DID_NEXUS_FAILURE case
b60d90b2d3d1 exec: Fix mem leak in kernel_read_file
8d368fc58e7a Bluetooth: Fix locking in bt_accept_enqueue() for BH context
43593a30a068 Bluetooth: btrtl: Restore old logic to assume firmware is already loaded
cd61d473f71f selftests: firmware: fix verify_reqs() return value
9765ec7f7a02 USB: serial: cp210x: fix GPIO in autosuspend
09675c2f84bc gnss: sirf: fix premature wakeup interrupt enable
c426de69ded0 xtensa: fix get_wchan
f5e66cdb51fd aio: Fix locking in aio_poll()
88793c034edf MIPS: irq: Allocate accurate order pages for irq stack
5691b93f686e applicom: Fix potential Spectre v1 vulnerabilities
9d53e36c8c09 usb: xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI
690e939da71d tracing: Fix event filters and triggers to handle negative numbers
51c531805801 x86/boot/compressed/64: Do not read legacy ROM on EFI system
eab5ea25ebee x86/CPU/AMD: Set the CPB bit unconditionally on F17h
3846080998b9 net: sched: act_tunnel_key: fix NULL pointer dereference during init
69e6fb1804cf net/sched: act_skbedit: fix refcount leak when replace fails
f1446b164925 net/sched: act_ipt: fix refcount leak when replace fails
4d8f5df0cbe9 net: dsa: mv88e6xxx: prevent interrupt storm caused by mv88e6390x_port_set_cmode
457c1190c65c net: dsa: mv88e6xxx: power serdes on/off for 10G interfaces on 6390X
cc211561d126 ipv4: Pass original device to ip_rcv_finish_core
4f3221dee1e1 mpls: Return error for RTA_GATEWAY attribute
a68d31cc5306 ipv6: Return error for RTA_VIA attribute
8c0aa3f6908c ipv4: Return error for RTA_VIA attribute
125bc1e67eee net: avoid use IPCB in cipso_v4_error
f2397468fbd7 net: Add __icmp_send helper.
e6620defc483 tun: remove unnecessary memory barrier
947fc52b6bf4 xen-netback: fix occasional leak of grant ref mappings under memory pressure
e5e5840183de xen-netback: don't populate the hash cache on XenBus disconnect
488b940719b7 tun: fix blocking read
ab04570d82b1 tipc: fix race condition causing hung sendto
5fdb551fd6a6 net: socket: set sock->sk to NULL after calling proto_ops::release()
d0bedaac932f net: sit: fix memory leak in sit_init_net()
ed7a54419ef2 net: phy: phylink: fix uninitialized variable in phylink_get_mac_state
d06816899758 net: phy: Micrel KSZ8061: link failure after cable connect
f132b3f5f1ad net: nfc: Fix NULL dereference on nfc_llcp_build_tlv fails
d1dd2e15c85e net: netem: fix skb length BUG_ON in __skb_to_sgvec
e3713abc4248 netlabel: fix out-of-bounds memory accesses
4afc9831f895 net: dsa: mv88e6xxx: Fix u64 statistics
05d9f554b713 net: dsa: mv88e6xxx: Fix statistics on mv88e6161
ceb7c2498695 lan743x: Fix TX Stall Issue
99ed94582126 ipv4: Add ICMPv6 support when parse route ipproto
d61918a5e401 hv_netvsc: Fix IP header checksum for coalesced packets
36bd44bcb4b2 geneve: correctly handle ipv6.disable module parameter
1713c8e18b44 bnxt_en: Drop oversize TX packets to prevent errors.
8d1b9800c1ea tipc: fix RDM/DGRAM connect() regression
089100d5fb43 team: Free BPF filter when unregistering netdev
5e311e537e63 sky2: Disable MSI on Dell Inspiron 1545 and Gateway P-79
8085d6d03fe3 sctp: call iov_iter_revert() after sending ABORT
16a006d72f33 qmi_wwan: Add support for Quectel EG12/EM12
7ce2a517fd8b net-sysfs: Fix mem leak in netdev_register_kobject
3043bfe024e8 net: sched: put back q.qlen into a single location
0429c9ef94c6 net: dsa: mv8e6xxx: fix number of internal PHYs for 88E6x90 family
dea818999a1e net: dsa: mv88e6xxx: handle unknown duplex modes gracefully in mv88e6xxx_port_set_duplex
b5ff77ddd96f ip6mr: Do not call __IP6_INC_STATS() from preemptible context
de40920f3694 staging: android: ashmem: Avoid range_alloc() allocation with ashmem_mutex held.
b8d048b73900 staging: android: ashmem: Don't call fallocate() with ashmem_mutex held.
271800f564db staging: android: ion: fix sys heap pool's gfp_flags
14af4eff14c2 staging: wilc1000: fix to set correct value for 'vif_num'
63efda29f359 staging: comedi: ni_660x: fix missing break in switch statement
40245f24133c staging: erofs: compressed_pages should not be accessed again after freed
1fa7c9b4226f staging: erofs: fix illegal address access under memory pressure
b46e1fc6ccee USB: serial: ftdi_sio: add ID for Hjelmslund Electronics USB485
da20be9991d8 USB: serial: cp210x: add ID for Ingenico 3070
965e716001c9 USB: serial: option: add Telit ME910 ECM composition
cbace523cbaa staging: erofs: fix mis-acted TAIL merging behavior
464b4279d34f cpufreq: Use struct kobj_attribute instead of struct global_attr
adc2a008ae56 Linux 4.19.27
7371994d6cfa x86/uaccess: Don't leak the AC flag into __put_user() value evaluation
9f77e4cb12d4 MIPS: eBPF: Fix icache flush end address
4a418a3d94f2 MIPS: BCM63XX: provide DMA masks for ethernet devices
3bfa6413b03a MIPS: fix truncation in __cmpxchg_small for short values
527cabfffbc5 hugetlbfs: fix races and page leaks during migration
f0233ca89ce2 drm: Block fb changes for async plane updates
de04d2973a62 mm: enforce min addr even if capable() in expand_downwards()
ff86bb4dc656 mmc: sdhci-esdhc-imx: correct the fix of ERR004536
d612d7b4ff4d mmc: cqhci: Fix a tiny potential memory leak on error condition
e446ae40dc33 mmc: cqhci: fix space allocated for transfer descriptor
17bf96122472 mmc: core: Fix NULL ptr crash from mmc_should_fail_request
85d9ad404676 mmc: tmio: fix access width of Block Count Register
5b716bc54e47 mmc: tmio_mmc_core: don't claim spurious interrupts
c69e07a84d8f mmc: spi: Fix card detection during probe
b246986a1fc0 kvm: selftests: Fix region overlap check in kvm_util
60a4b3f7c867 KVM: nSVM: clear events pending from svm_complete_interrupts() when exiting to L1
0149b03ec269 svm: Fix AVIC incomplete IPI emulation
99b1dbe6ba17 cfg80211: extend range deviation for DMG
7a27cb609f03 mac80211: Add attribute aligned(2) to struct 'action'
0a7c92826f79 mac80211: don't initiate TDLS connection if station is not associated to AP
e91cbe1de3b3 ibmveth: Do not process frames after calling napi_reschedule
61fe1005f334 net: dev_is_mac_header_xmit() true for ARPHRD_RAWIP
f7901f15d6f3 net: usb: asix: ax88772_bind return error when hw_reset fail
156a43cc8986 drm/msm: Fix A6XX support for opp-level
9f260d76b474 nvme-multipath: drop optimization for static ANA group IDs
550e0ea7e7e4 nvme-rdma: fix timeout handler
bbbb9874a9fe hv_netvsc: Fix hash key value reset after other ops
d2ce8e1bd338 hv_netvsc: Refactor assignments of struct netvsc_device_info
51b547f2a445 hv_netvsc: Fix ethtool change hash key error
ad74456b500c net: altera_tse: fix connect_local_phy error path
9de388112c63 scsi: csiostor: fix NULL pointer dereference in csio_vport_set_state()
ee2a02a66821 scsi: lpfc: nvmet: avoid hang / use-after-free when destroying targetport
30b62656690d scsi: lpfc: nvme: avoid hang / use-after-free when destroying localport
edca54b897bb writeback: synchronize sync(2) against cgroup writeback membership switches
c5a1dc256cc2 direct-io: allow direct writes to empty inodes
bcb8e0a23698 staging: android: ion: Support cpu access during dma_buf_detach
f73577353256 drm/sun4i: hdmi: Fix usage of TMDS clock
89d9a53346b2 serial: fsl_lpuart: fix maximum acceptable baud rate with over-sampling
1ed436cd1690 tty: serial: qcom_geni_serial: Allow mctrl when flow control is disabled
8c5571b9df10 drm/amd/powerplay: OD setting fix on Vega10
9ad6216e8c3c locking/rwsem: Fix (possible) missed wakeup
2368e6d3bcf4 futex: Fix (possible) missed wakeup
653a1dbcb011 sched/wake_q: Fix wakeup ordering for wake_q
5024f0a29a8f sched/wait: Fix rcuwait_wake_up() ordering
a2887f6fab98 mac80211: fix miscounting of ttl-dropped frames
bbc300c8c75e staging: rtl8723bs: Fix build error with Clang when inlining is disabled
a99e0377cca4 drivers: thermal: int340x_thermal: Fix sysfs race condition
4749ffdfbb09 ARC: show_regs: lockdep: avoid page allocator...
4e34dd37943d ARC: fix __ffs return value to avoid build warnings
0655618dd92d irqchip/gic-v3-mbi: Fix uninitialized mbi_lock
f352e84e6e3c selftests: gpio-mockup-chardev: Check asprintf() for error
357d9c7a01c6 selftests: seccomp: use LDLIBS instead of LDFLAGS
eecde0a099af phy: ath79-usb: Fix the main reset name to match the DT binding
e55af638c4f4 phy: ath79-usb: Fix the power on error path
fc8176da28b5 selftests/vm/gup_benchmark.c: match gup struct to kernel
7bba7aff51ea ASoC: imx-audmux: change snprintf to scnprintf for possible overflow
9500ecb9ad01 ASoC: dapm: change snprintf to scnprintf for possible overflow
375a9673264c ASoC: rt5682: Fix PLL source register definitions
7ff778648947 x86/mm/mem_encrypt: Fix erroneous sizeof()
17fab8914f86 genirq: Make sure the initial affinity is not empty
7746dd64c2c9 selftests: rtc: rtctest: add alarm test on minute boundary
2409a869dad3 selftests: rtc: rtctest: fix alarm tests
4670e8391710 usb: gadget: Potential NULL dereference on allocation error
08c937f9a3db usb: dwc3: gadget: Fix the uninitialized link_state when udc starts
03a5d4d55335 usb: dwc3: gadget: synchronize_irq dwc irq in suspend
f29024c0e9a7 thermal: int340x_thermal: Fix a NULL vs IS_ERR() check
fc1073dfc4e0 clk: vc5: Abort clock configuration without upstream clock
71943c38620d clk: sysfs: fix invalid JSON in clk_dump
acc934f57691 clk: tegra: dfll: Fix a potential Oop in remove()
651023ed93ab ASoC: Variable "val" in function rt274_i2c_probe() could be uninitialized
e7b2f9f2bce2 ALSA: compress: prevent potential divide by zero bugs
a4964959ee83 ASoC: Intel: Haswell/Broadwell: fix setting for .dynamic field
5a7005337c2a drm/msm: Unblock writer if reader closes file
0f978ec3ed3e scsi: libsas: Fix rphy phy_identifier for PHYs with end devices attached
a7c6cf3bdf33 mac80211: Change default tx_sk_pacing_shift to 7
765c30b31849 genirq/matrix: Improve target CPU selection for managed interrupts.
8cae7757e862 irq/matrix: Spread managed interrupts on allocation
2948b8875df4 irq/matrix: Split out the CPU selection code into a helper
51ea85abe794 Linux 4.19.26
101e19726552 net: phylink: avoid resolving link state too early
c80bf03569af pinctrl: max77620: Use define directive for max77620_pinconf_param values
c014cae8e196 udlfb: handle unplug properly
6546e1150c9b netfilter: ipt_CLUSTERIP: fix sleep-in-atomic bug in clusterip_config_entry_put()
0c1054e0e5fd netfilter: nfnetlink_osf: add missing fmatch check
783359cf762c netfilter: ipv6: Don't preserve original oif for loopback address
a905b82e1ea3 netfilter: nft_compat: use-after-free when deleting targets
1500d94e33d8 netfilter: nf_tables: fix flush after rule deletion in the same batch
6ecc7407187c Revert "bridge: do not add port to router list when receives query with source 0.0.0.0"
bff97255bb29 staging: erofs: unzip_vle_lz4.c,utils.c: rectify BUG_ONs
9a6a676e16eb staging: erofs: unzip_{pagevec.h,vle.c}: rectify BUG_ONs
bea01ea032a6 staging: erofs: {dir,inode,super}.c: rectify BUG_ONs
60ce4b529797 staging: erofs: add a full barrier in erofs_workgroup_unfreeze
08ec9e6892cc staging: erofs: fix `erofs_workgroup_{try_to_freeze, unfreeze}'
b0a18cab6aeb staging: erofs: atomic_cond_read_relaxed on ref-locked workgroup
398102f64acd staging: erofs: remove the redundant d_rehash() for the root dentry
017f7fd75b24 staging: erofs: drop multiref support temporarily
eb5913dfa5c1 staging: erofs: replace BUG_ON with DBG_BUGON in data.c
34ac4c14f5d5 staging: erofs: complete error handing of z_erofs_do_read_page
1c9d5a47c681 staging: erofs: fix a bug when appling cache strategy
c375152be9dd net: avoid false positives in untrusted gso validation
e93384b12443 net: validate untrusted gso packets without csum offload
311722240ca6 kvm: x86: Return LA57 feature based on hardware capability
6bab27b60c1a mac80211: allocate tailroom for forwarded mesh packets
0329973ec999 drm/amd/display: Fix MST reboot/poweroff sequence
d8a648cae347 drm/i915/fbdev: Actually configure untiled displays
06fa18685411 gpu: drm: radeon: Set DPM_FLAG_NEVER_SKIP when enabling PM-runtime
6834afab4bec drm/amdgpu: Set DPM_FLAG_NEVER_SKIP when enabling PM-runtime
95aed87b9e2e ARC: define ARCH_SLAB_MINALIGN = 8
7779566abb68 ARC: U-boot: check arguments paranoidly
5f7814c0ae6f ARCv2: Enable unaligned access in early ASM code
ebe390b42e60 parisc: Fix ptrace syscall number modification
8b4b1d7cc4d0 KEYS: always initialize keyring_index_key::desc_len
390c76534de1 KEYS: user: Align the payload buffer
293f2dcd0d07 RDMA/srp: Rework SCSI device reset handling
fdfd723e99e6 net/mlx5e: XDP, fix redirect resources availability check
d569cb5ac0c4 net_sched: fix two more memory leaks in cls_tcindex
dcd62aa6f895 net_sched: fix a memory leak in cls_tcindex
056a17982adb net_sched: fix a race condition in tcindex_destroy()
862600971c47 sit: check if IPv6 enabled before calling ip6_err_gen_icmpv6_unreach()
c647233ea046 geneve: should not call rt6_lookup() when ipv6 was disabled
7aab1e6d9edb net: socket: make bond ioctls go through compat_ifreq_ioctl()
e37c96c11175 net: socket: fix SIOCGIFNAME in compat
50021ba98fbd Revert "kill dev_ifsioc()"
99f3c89669d9 Revert "socket: fix struct ifreq size in compat ioctl"
c031b433801f team: avoid complex list operations in team_nl_cmd_options_set()
5716864df7c4 sctp: set stream ext to NULL after freeing it in sctp_stream_outq_migrate
e8eff9f4fc6a sctp: call gso_reset_checksum when computing checksum in sctp_gso_segment
9e5cc54ea086 net: sfp: do not probe SFP module before we're attached
c2ee2c708aae net/packet: fix 4gb buffer limit due to overflow check
f3ec82db191b net/mlx5e: Don't overwrite pedit action when multiple pedit used
4190a7bcd2af net/mlx4_en: Force CHECKSUM_NONE for short ethernet frames
198198d5ae59 net: ena: fix race between link up and device initalization
fd49ffa383b9 ipv6: propagate genlmsg_reply return code
589503cb2486 inet_diag: fix reporting cgroup classid and fallback to priority
c580bb3120cb batman-adv: fix uninit-value in batadv_interface_tx()
ab125bd3caaf isdn: avm: Fix string plus integer warning from Clang
6ed281fd85b6 net/mlx5e: Fix wrong (zero) TX drop counter indication for representor
7f5491b9875a selftests: forwarding: Add a test case for externally learned FDB entries
e26772f056b5 mlxsw: spectrum_switchdev: Do not treat static FDB entries as sticky
4799417bb641 net: bridge: Mark FDB entries that were added by user as such
d7ac3d3135ff mlxsw: pci: Return error on PCI reset timeout
0aafea5d4b22 dpaa_eth: NETIF_F_LLTX requires to do our own update of trans_start
8b92162f4e8b bpf: bpf_setsockopt: reset sock dst on SO_MARK changes
0761f58c62d7 leds: lp5523: fix a missing check of return value of lp55xx_read
ddb8d7c9d460 hwmon: (tmp421) Correct the misspelling of the tmp442 compatible attribute in OF device ID table
e0d7b0a2a57a atm: he: fix sign-extension overflow on large shift
22b304bfcb00 selftests/bpf: retry tests that expect build-id
5c6fdd877eff bpf: zero out build_id for BPF_STACK_BUILD_ID_IP
c4555b9f2807 bpf: don't assume build-id length is always 20 bytes
5d6af6f9dd2f afs: Fix key refcounting in file locking code
dc4ec1bad9e2 afs: Don't set vnode->cb_s_break in afs_validate()
a45b037edae3 selftests: tc-testing: fix parsing of ife type
2c69ea7f0c11 selftests: tc-testing: fix tunnel_key failure if dst_port is unspecified
38a27ee2ea03 selftests: tc-testing: drop test on missing tunnel key id
642e26628cf9 pvcalls-front: fix potential null dereference
b4c5be499ba3 drm/sun4i: backend: add missing of_node_puts
5604fdcfcfdc vhost: return EINVAL if iovecs size does not match the message size
096a3170575f drm/amd/display: fix PME notification not working in RV desktop
bf846e9035b5 drm/amdkfd: Don't assign dGPUs to APU topology devices
6d09976cca02 drm/meson: add missing of_node_put
c818b5b47181 always clear the X2APIC_ENABLE bit for PV guest
73aa8292caba netfilter: nft_flow_offload: fix checking method of conntrack helper
4c3b23e90307 scsi: cxgb4i: add wait_for_completion()
b2ae824798e1 scsi: ufs: Fix geometry descriptor size
a7ff8ada154d scsi: qedi: Add ep_state for login completion on un-reachable targets
5641d2f8cdf2 scsi: ufs: Fix system suspend status
2c3c854b56c6 scsi: tcmu: avoid cmd/qfull timers updated whenever a new cmd comes
3dd0ce706e0b isdn: i4l: isdn_tty: Fix some concurrency double-free bugs
1b8742ba98a5 net: stmmac: Prevent RX starvation in stmmac_napi_poll()
2406055411ed net: stmmac: Fix the logic of checking if RX Watchdog must be enabled
e8fbb5c98b04 net: stmmac: Check if CBS is supported before configuring
fcfdb4022c82 net: stmmac: dwxgmac2: Only clear interrupts that are active
4ef0d67c281f net: stmmac: Fix PCI module removal leak
752f0bcb5d4d acpi/nfit: Fix race accessing memdev in nfit_get_smbios_id()
99b490e3a0f3 powerpc/8xx: fix setting of pagetable for Abatron BDI debug tool.
eeb370eaee98 RDMA/mthca: Clear QP objects during their allocation
6d26c375a483 netfilter: nft_flow_offload: fix interaction with vrf slave device
2f3480e34079 bpf: fix panic in stack_map_get_build_id() on i386 and arm32
06b919a51772 pvcalls-front: Avoid get_free_pages(GFP_KERNEL) under spinlock
26354d538df3 bpf: correctly set initial window on active Fast Open sender
535be4692ffc netfilter: nft_flow_offload: Fix reverse route lookup
703f4f653723 MIPS: jazz: fix 64bit build
4047a7ad3b2e include/linux/compiler*.h: fix OPTIMIZER_HIDE_VAR
93f3f4c0fdeb scsi: isci: initialize shost fully before calling scsi_add_host()
14285a4a8487 scsi: qla4xxx: check return code of qla4xxx_copy_from_fwddb_param
95d4f951e7bb netfilter: nf_tables: fix leaking object reference count
e9255c284270 selftests: forwarding: Add a test for VLAN deletion
0c596ab039d3 mlxsw: spectrum_acl: Add cleanup after C-TCAM update error condition
7169938b07db xprtrdma: Double free in rpcrdma_sendctxs_create()
ac3be9eb875f MIPS: ath79: Enable OF serial ports in the default config
2ac1c6e71ee7 net/mlx4: Get rid of page operation after dma_alloc_coherent
b5f7ead81de3 watchdog: mt7621_wdt/rt2880_wdt: Fix compilation problem
fc396828a4e6 selftests/bpf: Test [::] -> [::1] rewrite in sys_sendmsg in test_sock_addr
8b0d641e6152 bpf: Fix [::] -> [::1] rewrite in sys_sendmsg
6bcf4e0703b1 net: hns: Fix use after free identified by SLUB debug
08eb17ec3c1b qed: Fix qed_ll2_post_rx_buffer_notify_fw() by adding a write memory barrier
1fa0cf450c88 qed: Fix qed_chain_set_prod() for PBL chains with non power of 2 page count
bc4e383da82b xen/pvcalls: remove set but not used variable 'intf'
7fc59021c1f5 mfd: mc13xxx: Fix a missing check of a register-read failure
e42296ae45a6 mfd: tps65218: Use devm_regmap_add_irq_chip and clean up error path in probe()
beaf260ec820 mfd: cros_ec_dev: Add missing mfd_remove_devices() call in remove
ef1dc506cb50 mfd: axp20x: Add supported cells for AXP803
48d17f5f9d74 mfd: axp20x: Re-align MFD cell entries
49542ac0c460 mfd: axp20x: Add AC power supply cell for AXP813
45acbfa661bb mfd: wm5110: Add missing ASRC rate register
467829cc83a5 mfd: qcom_rpm: write fw_version to CTRL_REG
eb617dc67878 mfd: bd9571mwv: Add volatile register to make DVFS work
2990096c88cb mfd: ab8500-core: Return zero in get_register_interruptible()
14da7f159711 mfd: mt6397: Do not call irq_domain_remove if PMIC unsupported
9bf045ff761a mfd: db8500-prcmu: Fix some section annotations
232860c51e78 mfd: twl-core: Fix section annotations on {,un}protect_pm_master
1a4c9c4e0107 pvcalls-back: set -ENOTCONN in pvcalls_conn_back_read
05ac8a683962 pvcalls-front: properly allocate sk
81b8519de1b4 pvcalls-front: don't try to free unallocated rings
9699f7a70eb8 pvcalls-front: read all data before closing the connection
6bdf535f4aaf mfd: ti_am335x_tscadc: Use PLATFORM_DEVID_AUTO while registering mfd cells
d87fa3f7711b backlight: pwm_bl: Fix devicetree parsing with auto-generated brightness tables
f812bec554d0 KEYS: allow reaching the keys quotas exactly
cbe43c3d35f5 ALSA: hda/realtek: Disable PC beep in passthrough on alc285
c607b6d19859 ALSA: hda/realtek - Headset microphone and internal speaker support for System76 oryp5
a89e0d5c603a proc, oom: do not report alien mms when setting oom_score_adj
c7ddb2689d7a numa: change get_mempolicy() to use nr_node_ids instead of MAX_NUMNODES
b8d7fb1efb96 ceph: avoid repeatedly adding inode to mdsc->snap_flush_list
c74260710e62 libceph: handle an empty authorize reply
a35b18616a73 mac80211: Free mpath object when rhashtable insertion fails
007719caa958 mac80211: Use linked list instead of rhashtable walk for mesh tables
af900ac68bb7 mac80211: Restore vif beacon interval if start ap fails
cd10b02afb7c gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2
a83243a85827 gpio: MT7621: use a per instance irq_chip structure
4db02ac96841 MIPS: eBPF: Always return sign extended 32b values
b5e57dbb5a0e tracing: Fix number of entries in trace header
775ab7d3d12b ARM: 8834/1: Fix: kprobes: optimized kprobes illegal instruction
eb1e5b1a64ee Linux 4.19.25
eed11c69d275 ax25: fix possible use-after-free
0137890a4a8f mISDN: fix a race in dev_expire_timer()
74e1493e00f2 net/x25: do not hold the cpu too long in x25_new_lci()
6a3f7237871c netfilter: nf_nat_snmp_basic: add missing length checks in ASN.1 cbs
a7e0b9680aec sunrpc: fix 4 more call sites that were using stack memory with a scatterlist
bc5d97268c0c PCI: Fix __initdata issue with "pci=disable_acs_redir" parameter
f9e6a18a44de mmc: meson-gx: fix interrupt name
88bfdab618df scsi: target/core: Use kmem_cache_free() instead of kfree()
82f39f021944 hwmon: (lm80) Fix missing unlock on error in set_fan_div()
718ccdb3ea31 net: Do not allocate page fragments that are not skb aligned
1bdb1675f33f tcp: tcp_v4_err() should be more careful
df1b583c1654 tcp: clear icsk_backoff in tcp_write_queue_purge()
56e97e70f7e3 net: Add header for usage of fls64()
a3b6fa373adc vxlan: test dev->flags & IFF_UP before calling netif_rx()
03a6fc5712e8 vsock: cope with memory allocation failure at socket creation time
9a752d37292b vhost: correctly check the return value of translate_desc() in log_used()
1e3300eb2189 sky2: Increase D3 delay again
6e04b8210f96 net: stmmac: handle endianness in dwmac4_get_timestamp
176ab70112c5 net: stmmac: Fix a race in EEE enable callback
618bd2c202b4 net: phy: xgmiitorgmii: Support generic PHY status read
1764111c9972 net: ipv4: use a dedicated counter for icmp_v4 redirect packets
4523bc864077 net: ip6_gre: initialize erspan_ver just for erspan tunnels
4c1b91b82c43 net: fix IPv6 prefix route residue
b2975c2e8342 net: Fix for_each_netdev_feature on Big endian
eb5e6869125f net: crypto set sk to NULL when af_alg_release.
bd1488b8d476 mlxsw: __mlxsw_sp_port_headroom_set(): Fix a use of local variable
017d511085a3 dsa: mv88e6xxx: Ensure all pending interrupts are handled prior to exit
bbbefe815f50 af_packet: fix raw sockets over 6in4 tunnel
f287634fe321 Linux 4.19.24
dd5f4d067a2c mm: proc: smaps_rollup: fix pss_locked calculation
6a204bd5f1e6 drm/i915: Prevent a race during I915_GEM_MMAP ioctl with WC set
4631e0b4cf46 drm/i915: Block fbdev HPD processing during suspend
de48b5f3d0ef drm/vkms: Fix license inconsistent
3312e0ae2faf drm: Use array_size() when creating lease
029a38f8211f dm thin: fix bug where bio that overwrites thin block ignores FUA
3ec93eb3808f dm crypt: don't overallocate the integrity tag space
b2778ef8b906 x86/a.out: Clear the dump structure initially
ddf966410ace md/raid1: don't clear bitmap bits on interrupted recovery.
a2b3e2c0f576 signal: Restore the stop PTRACE_EVENT_EXIT
0396cf55657c scsi: sd: fix entropy gathering for most rotational disks
cdc356855685 x86/platform/UV: Use efi_runtime_lock to serialise BIOS calls
45649b999632 tracing/uprobes: Fix output for multiple string arguments
88e1e66a2a1a s390/zcrypt: fix specification exception on z196 during ap probe
a3fadeff7122 alpha: Fix Eiger NR_IRQS to 128
c56eef69ba24 alpha: fix page fault handling for r16-r18 targets
657fbf79a880 Revert "mm: slowly shrink slabs with a relatively small number of objects"
8d485d3a628b Revert "mm: don't reclaim inodes with many attached pages"
93769fef8d61 Revert "nfsd4: return default lease period"
17f4ddaa71f7 Input: elantech - enable 3rd button support on Fujitsu CELSIUS H780
3bd120956db2 Input: bma150 - register input device after setting private data
c4609e81e0b7 mmc: block: handle complete_work on separate workqueue
248a2f3cbebe mmc: sunxi: Filter out unsupported modes declared in the device tree
0d41c03c41ec kvm: vmx: Fix entry number check for add_atomic_switch_msr()
c58f010bebfd x86/kvm/nVMX: read from MSR_IA32_VMX_PROCBASED_CTLS2 only when it is available
2ab1483852b3 riscv: Add pte bit to distinguish swap from invalid
22d6e72bb566 tools uapi: fix Alpha support
49720ef58e89 ASoC: hdmi-codec: fix oops on re-probe
bdd448108d85 ALSA: usb-audio: Fix implicit fb endpoint setup by quirk
8715ba45d008 ALSA: hda - Add quirk for HP EliteBook 840 G5
74cbb754d63f perf/x86: Add check_period PMU callback
d10e77c26022 perf/core: Fix impossible ring-buffer sizes warning
1b1de8b95b97 ARM: OMAP5+: Fix inverted nirq pin interrupts with irq_set_type
d9a974fdaaa3 Input: elan_i2c - add ACPI ID for touchpad in Lenovo V330-15ISK
2abf1ce44e28 Revert "Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G"
ede7fb452221 gpio: mxc: move gpio noirq suspend/resume to syscore phase
b1765ebd9d12 CIFS: Do not assume one credit for async responses
6804b3ecbe20 kvm: sev: Fail KVM_SEV_INIT if already initialized
63715c1f0a67 cifs: Limit memory used by lock request calls to a page
4b709998564b drm/nouveau/falcon: avoid touching registers if engine is off
85a088cc4c8e drm/nouveau: Don't disable polling in fallback mode
0a87c5333c90 gpio: pl061: handle failed allocations
5cf199f8d03f ARM: dts: kirkwood: Fix polarity of GPIO fan lines
6e7136c1c79f ARM: dts: da850-lcdk: Correct the sound card name
8bea93c89bc8 ARM: dts: da850-lcdk: Correct the audio codec regulators
f3b61cba316a ARM: dts: da850-evm: Correct the sound card name
7c06896ea134 ARM: dts: da850-evm: Correct the audio codec regulators
46bf9a8c8bb0 drm/amdgpu: set WRITE_BURST_LENGTH to 64B to workaround SDMA1 hang
2f5581e82fe4 nvme: pad fake subsys NQN vid and ssvid with zeros
6c27b5230e35 nvme-multipath: zero out ANA log buffer
095cfdf857a3 nvme-pci: fix out of bounds access in nvme_cqe_pending
1e746fe215eb nvme-pci: use the same attributes when freeing host_mem_desc_bufs.
9e4a7beedf43 drm/bridge: tc358767: fix output H/V syncs
0c13400bc743 drm/bridge: tc358767: reject modes which require too much BW
ad9675e47b49 drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value
9ac48b301c2a drm/bridge: tc358767: fix single lane configuration
32f833a85c9a drm/bridge: tc358767: add defines for DP1_SRCCTRL & PHY_2LANE
d180c28698a1 drm/bridge: tc358767: add bus flags
c6f27cdd4fca cpufreq: check if policy is inactive early in __cpufreq_get()
fa92c4e6b244 riscv: fix trace_sys_exit hook
da78c8cda5b9 tools uapi: fix RISC-V 64-bit support
46f0e6984c84 perf test shell: Use a fallback to get the pathname in vfs_getname
d20bfcb55003 perf report: Fix wrong iteration count in --branch-history
db8c9ab3f47f ACPI: NUMA: Use correct type for printing addresses on i386-PAE
f749f9702c98 drm/amdgpu/sriov:Correct pfvf exchange logic
bdd8fd8a2efe ARM: fix the cockup in the previous patch
e7a8dabe92f1 ARM: ensure that processor vtables is not lost after boot
4645c6ccbd7a ARM: spectre-v2: per-CPU vtables to work around big.Little systems
b11fd96c0eca ARM: add PROC_VTABLE and PROC_TABLE macros
06b5ec99f2ee ARM: clean up per-processor check_bugs method call
8a4cf73fed23 ARM: split out processor lookup
e3e1b2a20ad3 ARM: make lookup_processor_type() non-__init
19c186ab4ea7 ARM: 8810/1: vfp: Fix wrong assignement to ufp_exc
042b172201a8 ARM: 8797/1: spectre-v1.1: harden __copy_to_user
b7a95704e922 ARM: 8796/1: spectre-v1,v1.1: provide helpers for address sanitization
beaf90b2d280 ARM: 8795/1: spectre-v1.1: use put_user() for __put_user()
39b282ade6d0 ARM: 8794/1: uaccess: Prevent speculative use of the current addr_limit
ba22d5941823 ARM: 8793/1: signal: replace __put_user_error with __put_user
73dad6efbe31 ARM: 8792/1: oabi-compat: copy oabi events using __copy_to_user()
9cad5755b6e2 ARM: 8791/1: vfp: use __copy_to_user() when saving VFP state
3a59b35c3cb8 ARM: 8790/1: signal: always use __copy_to_user to save iwmmxt context
ec4842816f04 ARM: 8789/1: signal: copy registers using __copy_to_user()
80c8452ad45f blk-mq: fix a hung issue when fsync
d4aaa45f2d98 eeprom: at24: add support for 24c2048
57e85c67d033 dt-bindings: eeprom: at24: add "atmel,24c2048" compatible string
67d52fae61c1 Linux 4.19.23
c2109f05b7fd Revert "exec: load_script: don't blindly truncate shebang string"
6f8c14ee7b6f Linux 4.19.22
9b65b18f817d svcrdma: Remove max_sge check at connect time
4d376ab80483 svcrdma: Reduce max_send_sges
4dd911f1e38e batman-adv: Force mac header to start of data on xmit
a21222305015 batman-adv: Avoid WARN on net_device without parent in netns
9d84284cc83b xfrm: refine validation of template and selector families
f7fb58a78a63 libceph: avoid KEEPALIVE_PENDING races in ceph_con_keepalive()
28f49e768d21 Revert "ext4: use ext4_write_inode() when fsyncing w/o a journal"
8b8f7b04f868 xfrm: Make set-mark default behavior backward compatible
2440f3cebcb0 SUNRPC: Always drop the XPRT_LOCK on XPRT_CLOSE_WAIT
8274c3d4895b drm/vmwgfx: Return error code from vmw_execbuf_copy_fence_user
d74ff5f67849 drm/vmwgfx: Fix setting of dma masks
c2a354ce5458 drm/i915: always return something on DDI clock selection
b81afe37ff55 drm/amd/powerplay: Fix missing break in switch
56d3178666fb drm/modes: Prevent division by zero htotal
a4c77aac0d5c mac80211: ensure that mgmt tx skbs have tailroom for encryption
1ce0fcebff24 mic: vop: Fix use-after-free on remove
49c473e1237e powerpc/radix: Fix kernel crash with mremap()
d4e7c9420edd firmware: arm_scmi: provide the mandatory device release callback
fe3dabb6a4b1 ARM: dts: da850: fix interrupt numbers for clocksource
33bd0949212b ARM: tango: Improve ARCH_MULTIPLATFORM compatibility
569051e12220 ARM: iop32x/n2100: fix PCI IRQ mapping
f5b4de051294 MIPS: VDSO: Include $(ccflags-vdso) in o32,n32 .lds builds
814e44507f96 mips: loongson64: remove unreachable(), fix loongson_poweroff().
e32ba28eddad MIPS: VDSO: Use same -m%-float cflag as the kernel proper
264b26201a22 MIPS: OCTEON: don't set octeon_dma_bar_type if PCI is disabled
384cc5fd6727 mips: cm: reprime error cause
7e44aab92783 tracing: uprobes: Fix typo in pr_fmt string
9b66753c68a0 pinctrl: cherryview: fix Strago DMI workaround
93f6fb609874 pinctrl: sunxi: Correct number of IRQ banks on H6 main pin controller
c619140d4843 debugfs: fix debugfs_rename parameter checking
0c548bab17c2 samples: mei: use /dev/mei0 instead of /dev/mei
edd8fb55d7f1 mei: me: add ice lake point device id.
db5f65bfc1fa misc: vexpress: Off by one in vexpress_syscfg_exec()
959e46afeca1 signal: Better detection of synchronous signals
f681f2684f14 signal: Always notice exiting tasks
3e17af253e62 iio: ti-ads8688: Update buffer allocation for timestamps
af770a1558c4 iio: chemical: atlas-ph-sensor: correct IIO_TEMP values to millicelsius
38d28640db5a iio: adc: axp288: Fix TS-pin handling
5b9ebf5bdf0a tools: iio: iio_generic_buffer: make num_loops signed
88ff6a0b9975 libata: Add NOLPM quirk for SAMSUNG MZ7TE512HMHP-000L1 SSD
7c5d650ad5a2 mtd: rawnand: gpmi: fix MX28 bus master lockup problem
a72040a9d929 mtd: spinand: Fix the error/cleanup path in spinand_init()
b3ce77578374 mtd: spinand: Handle the case where PROGRAM LOAD does not reset the cache
3ca59bf1fb7c mtd: Make sure mtd->erasesize is valid even if the partition is of size 0
43d3d5141515 Linux 4.19.21
b00d9ff756b6 ath9k: dynack: check da->enabled first in sampling routines
14acca60aee4 ath9k: dynack: make ewma estimation faster
8b71aa1a3bb8 perf/x86/intel: Delay memory deallocation until x86_pmu_dead_cpu()
fc3f15c672f6 IB/hfi1: Add limit test for RC/UC send via loopback
29706d59abdf cacheinfo: Keep the old value if of_property_read_u32 fails
c287265bfa65 serial: sh-sci: Do not free irqs that have already been freed
57a3ef4dd520 serial: 8250_pci: Make PCI class test non fatal
f50a8b34d7e4 serial: fix race between flush_to_ldisc and tty_open
d5cb494b9613 perf tests evsel-tp-sched: Fix bitwise operator
1aeeb176683d perf/core: Don't WARN() for impossible ring-buffer sizes
5b27e3bc5a2b x86/MCE: Initialize mce.bank in the case of a fatal error in mce_no_way_out()
4e6bfd756f8e perf/x86/intel/uncore: Add Node ID mask
97a7fa90eae9 cpu/hotplug: Fix "SMT disabled by BIOS" detection for KVM
236fd677125f KVM: nVMX: unconditionally cancel preemption timer in free_nested (CVE-2019-7221)
24b027d2b138 kvm: fix kvm_ioctl_create_device() reference counting (CVE-2019-6974)
5a45d3720b54 KVM: x86: work around leak of uninitialized stack contents (CVE-2019-7222)
4cf73d54792b scsi: aic94xx: fix module loading
5e91ba179a86 scsi: cxlflash: Prevent deadlock when adapter probe fails
bbd5d7adde3b staging: speakup: fix tty-operation NULL derefs
bc4162577c1a usb: gadget: musb: fix short isoc packets with inventra dma
77541a0b0413 usb: gadget: udc: net2272: Fix bitwise and boolean operations
19bc535e3729 usb: dwc3: gadget: Handle 0 xfer length for OUT EP
a8438c38d7ce usb: phy: am335x: fix race condition in _probe
8459f1d6ff62 irqchip/gic-v3-its: Plug allocation race for devices sharing a DevID
ee73954d9a21 futex: Handle early deadlock return correctly
4a9e4bcda782 dmaengine: imx-dma: fix wrong callback invoke
84c1d5627597 dmaengine: bcm2835: Fix abort of transactions
916eb6bd8da3 dmaengine: bcm2835: Fix interrupt race on RT
c70374ce418e HID: debug: fix the ring buffer implementation
6ccc9e1128e5 fuse: handle zero sized retrieve correctly
f99027ab63be fuse: decrement NR_WRITEBACK_TEMP on the right page
48be0eb05e7e fuse: call pipe_buf_release() under pipe lock
a57ab2e71098 ALSA: hda/realtek - Headset microphone support for System76 darp5
7cb468772a10 ALSA: hda/realtek - Use a common helper for hp pin reference
65c9a62822f6 ALSA: hda/realtek - Fix lose hp_pins for disable auto mute
7fd6d8193b85 ALSA: hda - Serialize codec registrations
2a0aba551610 ALSA: usb-audio: Add support for new T+A USB DAC
93e7d51029bd ALSA: compress: Fix stop handling on compressed capture streams
1f78052b0991 xfs: eof trim writeback mapping as soon as it is cached
1f1eb00c6ebb net/mlx5e: FPGA, fix Innova IPsec TX offload data path performance
9143e1dcad36 virtio_net: Account for tx bytes and packets on sending xdp_frames
c8ba1f7989c6 skge: potential memory corruption in skge_get_regs()
7c2361308e17 sctp: walk the list of asoc safely
7cd4e833761f sctp: check and update stream->out_curr when allocating stream_out
21b8697e605a rxrpc: bad unlock balance in rxrpc_recvmsg
7c1a5ce672f7 Revert "net: phy: marvell: avoid pause mode on SGMII-to-Copper for 88e151x"
f2f054c485db rds: fix refcount bug in rds_sock_addref
2c24ed77a8c0 net: systemport: Fix WoL with password after deep sleep
b72ea6ec83be net/mlx5e: Force CHECKSUM_UNNECESSARY for short ethernet frames
8104a5e73f1f net: dsa: slave: Don't propagate flag changes on down slave interfaces
27a2fa009817 net: dsa: mv88e6xxx: Fix counting of ATU violations
c8dfab5c610f net: dsa: Fix NULL checking in dsa_slave_set_eee()
98cedccb8654 net: dsa: Fix lockdep false positive splat
8e1428c9b39f net: dp83640: expire old TX-skb
81733c642df8 lib/test_rhashtable: Make test_insert_dup() allocate its hash table dynamically
cedc42f5d1e1 enic: fix checksum validation for IPv6
15ed55e3b1a5 dccp: fool proof ccid_hc_[rt]x_parse_options()
56ea9164467b thermal: hwmon: inline helpers when CONFIG_THERMAL_HWMON is not set
0c802cbaa6db xfs: fix inverted return from xfs_btree_sblock_verify_crc
c6c20af69c61 xfs: fix PAGE_MASK usage in xfs_free_file_space
757332c643ca fs/xfs: fix f_ffree value for statfs when project quota is set
886f0de16239 xfs: delalloc -> unwritten COW fork allocation can go wrong
5a7455e922b4 xfs: fix transient reference count error in xfs_buf_resubmit_failed_buffers
c3a66bf4ce40 xfs: fix shared extent data corruption due to missing cow reservation
a96f3a55143a xfs: fix overflow in xfs_attr3_leaf_verify
b6095cbd7841 xfs: Fix error code in 'xfs_ioc_getbmap()'
a585ac0e767b xfs: cancel COW blocks before swapext
62c7c0a8709b xfs: Fix xqmstats offsets in /proc/fs/xfs/xqmstat
aacb2ab111c5 scripts/gdb: fix lx-version string output
58e57bcbc1fb kernel/kcov.c: mark write_comp_data() as notrace
ab5f74071257 exec: load_script: don't blindly truncate shebang string
9cb8f8088d9a fs/epoll: drop ovflist branch prediction
f0d32c54ff53 kernel/hung_task.c: force console verbose before panic
9beb84c027f1 proc/sysctl: fix return error for proc_doulongvec_minmax()
9c8939b03bac kernel/hung_task.c: break RCU locks based on jiffies
d69ad39ad5d3 arm64/sve: ptrace: Fix SVE_PT_REGS_OFFSET definition
d921bb16259e HID: lenovo: Add checks to fix of_led_classdev_register
ec8f73c268a5 thermal: generic-adc: Fix adc to temp interpolation
89c183580b4f PCI: imx: Enable MSI from downstream components
3818c29a65d6 kdb: Don't back trace on a cpu that didn't round up
6a7c0215d28c thermal: bcm2835: enable hwmon explicitly
295b3e2af87c block/swim3: Fix -EBUSY error when re-opening device after unmount
d579abcacb0b fsl/fman: Use GFP_ATOMIC in {memac,tgec}_add_hash_mac_address()
711b2e7fc02f gdrom: fix a memory leak bug
b67e3130a9ba isdn: hisax: hfc_pci: Fix a possible concurrency use-after-free bug in HFCPCI_l1hw()
3b3ee499c4b5 zram: fix lockdep warning of free block handling
f73c77535f67 mm/page_alloc.c: don't call kasan_free_pages() at deferred mem init
066206bc6e9e ocfs2: improve ocfs2 Makefile
69e63b49ddf9 ocfs2: don't clear bh uptodate for block read
dc8bd7ed080d arch/sh/boards/mach-kfr2r09/setup.c: fix struct mtd_oob_ops build warning
fa3c7c098c6a scripts/decode_stacktrace: only strip base path when a prefix of the path
395cbb9a52ba perf python: Do not force closing original perf descriptor in evlist.get_pollfd()
4b5abffd63eb cgroup: fix parsing empty mount option string
df13b0369bc0 f2fs: fix sbi->extent_list corruption issue
4d6b5b08f19f niu: fix missing checks of niu_pci_eeprom_read
1e480ee6c0eb um: Avoid marking pages with "changed protection"
69e7f87745e7 f2fs: fix use-after-free issue when accessing sbi->stat_info
5d3b4cd8734b cifs: check ntwrk_buf_start for NULL before dereferencing it
2cdf5246df0e MIPS: ralink: Select CONFIG_CPU_MIPSR2_IRQ_VI on MT7620/8
1dc571ff4da2 crypto: ux500 - Use proper enum in hash_set_dma_transfer
2b020c09a8c9 crypto: ux500 - Use proper enum in cryp_set_dma_transfer
6201e8add97a seq_buf: Make seq_buf_puts() null-terminate the buffer
040f76976ec5 hwmon: (lm80) fix a missing check of bus read in lm80 probe
8dcf84789e31 hwmon: (lm80) fix a missing check of the status of SMBus read
303d29d8f0cf perf build: Don't unconditionally link the libbfd feature test to -liberty and -lz
8c642d71906b NFS: nfs_compare_mount_options always compare auth flavors.
ad9241f24f15 kvm: Change offset in kvm_write_guest_offset_cached to unsigned
fc090081d76a powerpc/fadump: Do not allow hot-remove memory from fadump reserved area.
84a4572bf277 KVM: x86: svm: report MSR_IA32_MCG_EXT_CTL as unsupported
a41cd69e4408 pinctrl: meson: meson8b: fix the GPIO function for the GPIOAO pins
098fa4897213 pinctrl: meson: meson8: fix the GPIO function for the GPIOAO pins
279eb1d94044 powerpc/mm: Fix reporting of kernel execute faults on the 8xx
9e9435bc0bd4 fbdev: fbcon: Fix unregister crash when more than one framebuffer
00e391ec584f ACPI/APEI: Clear GHES block_status before panic()
d657e82f4e67 igb: Fix an issue that PME is not enabled during runtime suspend
d01b26e77af8 ice: Do not enable NAPI on q_vectors that have no rings
8a35f678e603 i40e: define proper net_device::neigh_priv_len
6584e6c00435 fbdev: fbmem: behave better with small rotated displays and many CPUs
54541a75bfb6 md: fix raid10 hang issue caused by barrier
8d1385653698 video: clps711x-fb: release disp device node in probe()
8f0132db09ad drm/amd/display: validate extended dongle caps
bd9218ab042a drbd: Avoid Clang warning about pointless switch statment
66345d5392a7 drbd: skip spurious timeout (ping-timeo) when failing promote
af70af5b69a2 drbd: disconnect, if the wrong UUIDs are attached on a connected peer
3d67b428ab20 drbd: narrow rcu_read_lock in drbd_sync_handshake
8d317b0aae25 mlx5: update timecounter at least twice per counter overflow
49f182e6be8d powerpc/powernv/ioda: Allocate indirect TCE levels of cached userspace addresses on demand
394f925664bd iwlwifi: mvm: fix setting HE ppe FW config
5a0c7fb5332a powerpc/perf: Fix thresholding counter data for unknown type
d5e2df9ff507 net: hns3: add max vector number check for pf
86760e0dfe36 cw1200: Fix concurrency use-after-free bugs in cw1200_hw_scan()
993ba5d2b6c6 scsi: smartpqi: increase fw status register read timeout
32ab5d8a7def scsi: smartpqi: correct volume status
8b6f057f6f55 scsi: smartpqi: correct host serial num for ssa
b124f08677c9 mlxsw: spectrum: Properly cleanup LAG uppers when removing port from LAG
1552557b300b xfrm6_tunnel: Fix spi check in __xfrm6_tunnel_alloc_spi
e5af9ce365ad mac80211: fix radiotap vendor presence bitmap handling
e12194317d17 powerpc/uaccess: fix warning/error with access_ok()
3564fa62a8d7 drm/amd/display: fix YCbCr420 blank color
38f18b370546 Bluetooth: hci_bcm: Handle deferred probing for the clock supply
1baca23ade65 drm/amd/display: Add retry to read ddc_clock pin
a756020008e8 net: hns3: fix incomplete uninitialization of IRQ in the hns3_nic_uninit_vector_data()
7c54ba4a5fd9 percpu: convert spin_lock_irq to spin_lock_irqsave.
34f82d19c24b perf tools: Cast off_t to s64 to avoid warning on bionic libc
7a311dca7708 perf header: Fix up argument to ctime()
05bc28a1f991 usb: musb: dsps: fix runtime pm for peripheral mode
2a86649dce14 usb: musb: dsps: fix otg state machine
c709eeb02c04 arm64: KVM: Skip MMIO insn after emulation
086ed19ecf79 livepatch: check kzalloc return values
1157c2683c5b tools/power/x86/intel_pstate_tracer: Fix non root execution for post processing a trace file
4cd197bfa6e1 bnxt_en: Disable MSIX before re-reserving NQs/CMPL rings.
ae93f5f803ae i2c: sh_mobile: Add support for r8a774c0 (RZ/G2E)
19d4c0fd85ac perf probe: Fix unchecked usage of strncpy()
f5d5b5434912 btrfs: use tagged writepage to mitigate livelock of snapshot
4d5410609151 perf header: Fix unchecked usage of strncpy()
d177e25c9c3a perf dso: Fix unchecked usage of strncpy()
630e972bc405 perf test: Fix perf_event_attr test failure
283d0464734e tty: serial: samsung: Properly set flags in autoCTS mode
193de9820598 serial: sh-sci: Resume PIO in sci_rx_interrupt() on DMA failure
d71126505dba serial: sh-sci: Fix locking in sci_submit_rx()
3733632e8bc0 btrfs: harden agaist duplicate fsid on scanned devices
9790abdf8856 usb: renesas_usbhs: add support for RZ/G2E
33d127eae60d mmc: jz4740: Get CD/WP GPIOs from descriptors
3d49c3d76df7 mmc: sdhci-xenon: Fix timeout checks
8ee43469ce6e mmc: sdhci-omap: Fix timeout checks
1b2b6ce63058 mmc: sdhci-of-esdhc: Fix timeout checks
759e641acdd9 memstick: Prevent memstick host from getting runtime suspended during card detection
35e580cb6bc4 mmc: meson-mx-sdio: check devm_kasprintf for failure
ffc1770245c7 mmc: bcm2835: reset host on timeout
3d71a02198ac mmc: bcm2835: Recover from MMC_SEND_EXT_CSD
43b7fa3b31b9 KVM: PPC: Book3S: Only report KVM_CAP_SPAPR_TCE_VFIO on powernv machines
c4621bec5e0d ASoC: fsl: Fix SND_SOC_EUKREA_TLV320 build error on i.MX8M
8b4116f08988 ARM: pxa: avoid section mismatch warning
1a2500177b13 selftests/bpf: use __bpf_constant_htons in test_prog.c
3332bf15bfde switchtec: Fix SWITCHTEC_IOCTL_EVENT_IDX_ALL flags overwrite
6a1d712b4381 udf: Fix BUG on corrupted inode
702286d3bd6e mlxsw: spectrum_acl: Limit priority value
e640039aeeff phy: sun4i-usb: add support for missing USB PHY index
b5c21b7e3130 i2c-axxia: check for error conditions first
ccb7b328361a lightnvm: pblk: add lock protection to list operations
10014ff04a4e lightnvm: pblk: fix resubmission of overwritten write err lbas
3d786b91cd59 drm/msm: dpu: Only check flush register against pending flushes
ba833ec5b0c8 drm/msm/dsi: fix dsi clock names in DSI 10nm PLL driver
39d4c1c0dd76 tee: optee: avoid possible double list_del()
a1ea1fb46fbf OPP: Use opp_table->regulators to verify no regulator case
4c67633d4756 cpuidle: big.LITTLE: fix refcount leak
c443284c0d7b platform/x86: mlx-platform: Fix tachometer registers
ea225de3bd66 clk: imx6sl: ensure MMDC CH0 handshake is bypassed
1f16ac59e7e5 sata_rcar: fix deferred probing
710e1e561630 iommu/arm-smmu-v3: Use explicit mb() when moving cons pointer
61010bd9811d iommu/arm-smmu: Add support for qcom,smmu-v2 variant
00b0fbb8f0e3 iommu/arm-smmu-v3: Avoid memory corruption from Hisilicon MSI payloads
b59d70c07ab7 usb: dwc3: gadget: Disable CSP for stream OUT ep
dfb22b6810c7 ARM: dts: imx51-zii-rdu1: Do not specify "power-gpio" for hpa1
b5bb2cad5264 watchdog: renesas_wdt: don't set divider while watchdog is running
f06d48b0a4b9 ARM: dts: Fix up the D-Link DIR-685 MTD partition info
72d18db66d85 media: coda: fix H.264 deblocking filter controls
8cc0518a49b3 mips: bpf: fix encoding bug for mm_srlv32_op
463499c27cf9 ARM: dts: Fix OMAP4430 SDP Ethernet startup
3a6f1afa7be1 iommu/amd: Fix amd_iommu=force_isolation
389de86c1045 pinctrl: sx150x: handle failure case of devm_kstrdup
26e62a227324 gpio: mt7621: pass mediatek_gpio_bank_probe() failure up the stack
6c95c2eebead gpio: mt7621: report failure of devm_kasprintf()
7eff52c36cfb usb: dwc3: trace: add missing break statement to make compiler happy
91e46947d02f IB/hfi1: Unreserve a reserved request when it is completed
f7debeebcdeb kobject: return error code if writing /sys/.../uevent fails
80eac1847950 driver core: Move async_synchronize_full call
1de47c06b3a3 tipc: fix node keep alive interval calculation
a42bbdcf538d drm/amdgpu/powerplay: fix clock stretcher limits on polaris (v2)
fb1ab6ac62b9 media: imx274: select REGMAP_I2C
1bf188456312 clk: sunxi-ng: a33: Set CLK_SET_RATE_PARENT for all audio module clocks
322a53b8f9b0 usb: mtu3: fix the issue about SetFeature(U1/U2_Enable)
0105d80dd157 timekeeping: Use proper seqcount initializer
263b0f92be96 usb: hub: delay hub autosuspend if USB3 port is still link training
272e858c2293 usb: dwc2: Disable power down feature on Samsung SoCs
93a6d3464023 usb: dwc3: Correct the logic for checking TRB full in __dwc3_prepare_one_trb()
64257468feed xtensa: xtfpga.dtsi: fix dtc warnings about SPI
54e71cb05054 smack: fix access permissions for keyring
60d803577519 media: DaVinci-VPBE: fix error handling in vpbe_initialize()
832819d11d4a media: i2c: TDA1997x: select CONFIG_HDMI
c91ff9ab06eb x86/fpu: Add might_fault() to user_insn()
9d79635b6267 ARM: dts: aspeed: add missing memory unit-address
4f770b4ba564 ARM: dts: mmp2: fix TWSI2
5214c28b688a drm/v3d: Fix prime imports of buffers from other drivers.
14743f8591a7 arm64: ftrace: don't adjust the LR value
5f4161ae9a75 mt76x0: dfs: fix IBI_R11 configuration on non-radar channels
87ae793221cc s390/zcrypt: improve special ap message cmd handling
eca31fc35afb firmware/efi: Add NULL pointer checks in efivars API functions
9c74cd4afbd3 thermal: Fix locking in cooling device sysfs update cur_state
f8a33ec5367e Thermal: do not clear passive state during system sleep
ed0526b271b9 arm64: io: Ensure value passed to __iormb() is held in a 64-bit register
68b4512ca6fc perf: arm_spe: handle devm_kasprintf() failure
af6db7e751ff drm: Clear state->acquire_ctx before leaving drm_atomic_helper_commit_duplicated_state()
2f0fb76b3e41 nfsd4: fix crash on writing v4_end_grace before nfsd startup
50d4088c003b soc: bcm: brcmstb: Don't leak device tree node reference
3fbba4e55051 sunvdc: Do not spin in an infinite loop when vio_ldc_send() returns EAGAIN
d65fbc4fe9a9 net: aquantia: return 'err' if set MPI_DEINIT state fails
dd46de15d830 arm64: io: Ensure calls to delay routines are ordered against prior readX()
8543f5fce30f i2c: sh_mobile: add support for r8a77990 (R-Car E3)
d54d612a73a6 f2fs: fix wrong return value of f2fs_acl_create
ddab3d0a38a5 f2fs: fix race between write_checkpoint and write_begin
c96d2b9d35b9 f2fs: move dir data flush to write checkpoint process
4acd5adecf20 staging: pi433: fix potential null dereference
6eaf5b9e6e7c ACPI: SPCR: Consider baud rate 0 as preconfigured state
b945ddacf4ab media: adv*/tc358743/ths8200: fill in min width/height/pixelclock
9c0403537ece iio: accel: kxcjk1013: Add KIOX010A ACPI Hardware-ID
687901c64686 iio: adc: meson-saradc: fix internal clock names
050f7e22f6a5 iio: adc: meson-saradc: check for devm_kasprintf failure
0f9dff37d027 powerpc/32: Add .data..Lubsan_data*/.data..Lubsan_type* sections explicitly
cefe8d2c0863 dmaengine: xilinx_dma: Remove __aligned attribute on zynqmp_dma_desc_ll
3b07abf1cedf ptp: Fix pass zero to ERR_PTR() in ptp_clock_register
2dbfc1cdb68a clk: meson: meson8b: mark the CPU clock as CLK_IS_CRITICAL
43cf81c200cd clk: meson: meson8b: fix the width of the cpu_scale_div clock
c36d06457afc clk: meson: meson8b: do not use cpu_div3 for cpu_scale_out_sel
73e933de8935 staging: erofs: fix the definition of DBG_BUGON
9eb74335f6be media: mtk-vcodec: Release device nodes in mtk_vcodec_init_enc_pm()
580d8b2f6e76 media: video-i2c: avoid accessing released memory area when removing driver
da77b546055c media: rc: ensure close() is called on rc_unregister_device
b0b10168d1b3 soc/tegra: Don't leak device tree node reference
504dcc424d28 perf tools: Add Hygon Dhyana support
b6293e6c9000 modpost: validate symbol names also in find_elf_symbol
1b63e37679cb net/mlx5: EQ, Use the right place to store/read IRQ affinity hint
f6d66139f887 bpf: libbpf: retry map creation without the name
0857b8439b6b drm/amd/display: calculate stream->phy_pix_clk before clock mapping
d43f6c2ea4c0 drm/amd/display: fix gamma not being applied correctly
8218fcf4666c ARM: OMAP2+: hwmod: Fix some section annotations
d57b35f44fed drm/rockchip: fix for mailbox read size
ab96959699fd usbnet: smsc95xx: fix rx packet alignment
5ca33f7980c9 staging: iio: ad7780: update voltage on read
39561eee9c57 scsi: hisi_sas: change the time of SAS SSP connection
aa422af6d3dd i40e: prevent overlapping tx_timeout recover
5a6b7e1b19ca platform/chrome: don't report EC_MKBP_EVENT_SENSOR_FIFO as wakeup
922fd2d04644 vbox: fix link error with 'gcc -Og'
f060c825c455 fpga: altera-cvp: fix 'bad IO access' on x86_64
42e19f5664f0 Tools: hv: kvp: Fix a warning of buffer overflow with gcc 8.0.1
9f941e80e679 fpga: altera-cvp: Fix registration for CvP incapable devices
0edcb650bfe3 staging:iio:ad2s90: Make probe handle spi_setup failure
76707e34f477 iwlwifi: fw: do not set sgi bits for HE connection
3a11ec548c5b dpaa2-ptp: defer probe when portal allocation failed
4ee24ae83ccb MIPS: Boston: Disable EG20T prefetch
ab143302b0b2 ptp: check gettime64 return code in PTP_SYS_OFFSET ioctl
49796c356187 serial: fsl_lpuart: clear parity enable bit when disable parity
7543c3cf17c6 drm/vc4: ->x_scaling[1] should never be set to VC4_SCALING_NONE
99eed8a29f9f crypto: aes_ti - disable interrupts while accessing S-box
22ccd257add3 powerpc/pseries: add of_node_put() in dlpar_detach_node()
534a0c21119b x86/PCI: Fix Broadcom CNB20LE unintended sign extension (redux)
ee9268a9b55b dlm: Don't swamp the CPU with callbacks queued during recovery
0d041add1ba0 clk: boston: fix possible memory leak in clk_boston_setup()
4660207706ca ARM: 8808/1: kexec:offline panic_smp_self_stop CPU
433f2f810291 scsi: lpfc: Fix LOGO/PLOGI handling when triggerd by ABTS Timeout event
83430596d497 scsi: mpt3sas: Call sas_remove_host before removing the target devices
3d08cdeb4486 scsi: lpfc: Correct LCB RJT handling
3bfb1ba39cac ath9k: dynack: use authentication messages for 'late' ack
f2dd96e607c6 ath10k: assign 'n_cipher_suites' for WCN3990
3e5bffa5371d wil6210: fix memory leak in wil_find_tx_bcast_2
8edf1df19ca1 wil6210: fix reset flow for Talyn-mb
752abfadcb8b nds32: Fix gcc 8.0 compiler option incompatible.
a6eccfac8393 gpu: ipu-v3: image-convert: Prevent race between run and unprepare
46ed4f4fa1cf genirq/affinity: Spread IRQs to all available NUMA nodes
2198c2c15eee drm/sun4i: Initialize registers in tcon-top driver
3555de57dca4 gpiolib: Fix possible use after free on label
9e4b0f771735 ASoC: Intel: mrfld: fix uninitialized variable access
9d9fcc11b860 pinctrl: bcm2835: Use raw spinlock for RT compatibility
8095fe603e16 drm/vgem: Fix vgem_init to get drm device available.
2ca14d0d2576 staging: iio: adc: ad7280a: handle error from __ad7280_read32()
a8b9f4f627c3 drm/bufs: Fix Spectre v1 vulnerability
26d074199730 devres: Align data[] to ARCH_KMALLOC_MINALIGN
323e0195e63f Linux 4.19.20
c0be624777ba cifs: Always resolve hostname before reconnecting
e7f11c55ad60 md/raid5: fix 'out of memory' during raid cache recovery
5b3109eb89dd of: overlay: do not duplicate properties from overlay for new nodes
7251e4b835ea of: overlay: use prop add changeset entry for property in new nodes
9af27fab0061 of: overlay: add missing of_node_get() in __of_attach_node_sysfs
5006496fb2c8 of: overlay: add tests to validate kfrees from overlay removal
3edc2fac969a of: Convert to using %pOFn instead of device_node.name
214dea147ffa mm: migrate: don't rely on __PageMovable() of newpage after unlocking it
ced41d9d6a1b mm: hwpoison: use do_send_sig_info() instead of force_sig()
b6f534ab695b mm, oom: fix use-after-free in oom_kill_process
d9f4d88d567e mm,memory_hotplug: fix scan_movable_pages() for gigantic hugepages
7e70ddc33279 oom, oom_reaper: do not enqueue same task twice
15033ca6bd13 mm/hugetlb.c: teach follow_hugetlb_page() to handle FOLL_NOWAIT
c7122344f915 kernel/exit.c: release ptraced tasks before zap_pid_ns_processes
9ee5987f311f btrfs: On error always free subvol_name in btrfs_mount
5bce143671f3 Btrfs: fix deadlock when allocating tree block during leaf/node split
50a874a4aa28 mmc: sdhci-iproc: handle mmc_of_parse() errors during probe
8a32f086ff7e platform/x86: asus-nb-wmi: Drop mapping of 0x33 and 0x34 scan codes
734f06f5a701 platform/x86: asus-nb-wmi: Map 0x35 to KEY_SCREENLOCK
71ff3384d1fb IB/hfi1: Remove overly conservative VM_EXEC flag check
1ac48dafac4b ALSA: hda/realtek - Fixed hp_pin no value
eaf53ee6fba7 ALSA: usb-audio: Add Opus #3 to quirks for native DSD support
9f753f62f6fa mmc: mediatek: fix incorrect register setting of hs400_cmd_int_delay
65be3226f0e5 mmc: bcm2835: Fix DMA channel leak on probe error
8b9be9db8a2a gfs2: Revert "Fix loop in gfs2_rbm_find"
83c22cd104b2 gpio: sprd: Fix incorrect irq type setting for the async EIC
3a4a800bf519 gpio: sprd: Fix the incorrect data register
95fcc1427d7f gpio: pcf857x: Fix interrupts on multiple instances
452ad274c926 gpiolib: fix line event timestamps for nested irqs
ade5ad6b4ad6 gpio: altera-a10sr: Set proper output level for direction_output
ad6615b15537 arm64: hibernate: Clean the __hyp_text to PoC after resume
f40ebe14b971 arm64: hyp-stub: Forbid kprobing of the hyp-stub
520036320530 arm64: Do not issue IPIs for user executable ptes
a4f42f7b0121 arm64: kaslr: ensure randomized quantities are clean also when kaslr is off
26d15be4abc0 ARM: cns3xxx: Fix writing to wrong PCI config registers after alignment
0a3275d78585 NFS: Fix up return value on fatal errors in nfs_page_async_flush()
0fb0acc0dd86 selftests/seccomp: Enhance per-arch ptrace syscall skip tests
7e3251667a1f iommu/vt-d: Fix memory leak in intel_iommu_put_resv_regions()
bb4e1ff5a8dd fs/dcache: Fix incorrect nr_dentry_unused accounting in shrink_dcache_sb()
e9d56f920bb2 CIFS: Do not consider -ENODATA as stat failure for reads
6e7045ec336b CIFS: Fix trace command logging for SMB2 reads and writes
c6961288a5f4 CIFS: Do not count -ENODATA as failure for query directory
fbb49172cd4f virtio_net: Differentiate sk_buff and xdp_frame on freeing
ed6a5fc89e48 virtio_net: Use xdp_return_frame to free xdp_frames on destroying vqs
05e260f9d02a virtio_net: Don't process redirected XDP frames when XDP is disabled
0921dd505d30 virtio_net: Fix out of bounds access of sq
d97117bd077d virtio_net: Fix not restoring real_num_rx_queues
4c2e63dc6452 virtio_net: Don't call free_old_xmit_skbs for xdp_frames
b6862baa3c88 virtio_net: Don't enable NAPI when interface is down
37b34a91f346 sctp: set flow sport from saddr only when it's 0
cbf23d40cece sctp: set chunk transport correctly when it's a new asoc
a188f5685965 Revert "net/mlx5e: E-Switch, Initialize eswitch only if eswitch manager"
505e5f3d4623 ip6mr: Fix notifiers call on mroute_clean_tables()
50990a4085f2 net/mlx5e: Allow MAC invalidation while spoofchk is ON
4ec13999d363 sctp: improve the events for sctp stream adding
9f7d849beaae net: ip6_gre: always reports o_key to userspace
aafe74b72689 vhost: fix OOB in get_rx_bufs()
d0773852a7a3 ucc_geth: Reset BQL queue when stopping device
dace52749243 tun: move the call to tun_set_real_num_queues
e569927a1375 sctp: improve the events for sctp stream reset
4fae696cdad1 ravb: expand rx descriptor data to accommodate hw checksum
5f1a18e05b07 net: set default network namespace in init_dummy_netdev()
fc4154c7a39e net/rose: fix NULL ax25_cb kernel panic
2c6b572458a9 netrom: switch to sock timer API
00865891898e net/mlx4_core: Add masking for a few queries on HCA caps
0a198e0bb8be net: ip_gre: use erspan key field for tunnel lookup
897ea28bd2f9 net: ip_gre: always reports o_key to userspace
8de676664e59 l2tp: fix reading optional fields of L2TPv3
3d418a254df1 l2tp: copy 4 more bytes to linear part if necessary
fcc9c69a6ed7 ipvlan, l3mdev: fix broken l3s mode wrt local routes
2f704348c93f ipv6: sr: clear IP6CB(skb) on SRH ip4ip6 encapsulation
7e9a6476aaf5 ipv6: Consider sk_bound_dev_if when binding a socket to an address
8877843b3b9f drm/msm/gpu: fix building without debugfs
8c763a3cf502 Fix "net: ipv4: do not handle duplicate fragments as overlapping"
(From OE-Core rev: 77cc4e2aa092734a8ee97b1ee97753b46aa19a5e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard had pushed an explicit patch to fix systemtap for arm
on the 4.19 kernel in time for M3.
The patch has now been integrated into the repo itself and can
be dropped from the recipe.
(From OE-Core rev: 552b3cd0e0d442d867b4432e5b81019cadd2f4fa)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit:
[
Author: Tom Rini <trini@konsulko.com>
Date: Tue Mar 12 11:40:33 2019 -0400
sound: Re-enable ENS1370 support
Both the qemux86 and qemux86-64 targets RRECOMMEND the ens1370 kernel
module and set QB_AUDIO_OPT to support that as one of the audio cards as
well.
Fixes: daadaf7fd7d5 ("yocto-kernel-cache: [PATCH] Update audio support v2")
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
(From OE-Core rev: 26aa9ed853e6b4a7e36bc0a523e924c47e8c954a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dumpimage and fit_check_sign can be used to extract kernel and ramdisk from
a FIT file, verify them and kexec for a faster reboot.
(From OE-Core rev: c99255d688a2578f1391a34915942210cf069d64)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lvm module will initial lvm volume to support boot from
Logical Volume.
(From OE-Core rev: 3a4213f014fc4aa5be05dfc0722d87e01e5ff10c)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
efivafs contain some meta data about Intel VROC, which will be
used by mdadm to create raid device.
These are preparation work to support boot from Intel VROC RAID
disk.
(From OE-Core rev: b25869c76975bbcec8d2f22f680e58976ec4de5c)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Install mdmon@.service to make Intel VROC work well.
mdmon@.service called from udev is used to update Intel VROC metadata,
with it the VROC raid is operational to read or write under user space.
(From OE-Core rev: 5b2610ee3935d12ab73164aa8716c068dc8f7f56)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allows for mips32 multilib to be mips32r2, like qemumips.
(From OE-Core rev: 9713e8a5460ae81a33c6a727664f4cdb54fb1f0a)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mesa 19.0.0 release requires RTTI to allow the build of Nouveau
driver, which is enabled by default when building for x86 and x86-64
target.
This commit enables RTTI support so it prepares the toolchain for the
upcoming change.
(From OE-Core rev: 8e24164606185e1d8b8eb293a30bb22760218f06)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Patch 0005-egl-add-missing-include-stddef.h-in-egldevice.h.patch
was applied on commit e68777c87ceed02ab199b32f941778c3cf97c794.
- Refresh all patches
- mesa 19.0.0 deprecated the use of autotools and we need to add
--enable-autotools flag. For details see mesa commit:
e68777c87ceed02ab199b32f941778c3cf97c794
The complete change log can be found here:
https://www.mesa3d.org/relnotes/19.0.0.html
(From OE-Core rev: 50b7418869b7d2f40adbfbb0844f710d9aa5c396)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it easier to debug, especially when multipe SCMs like gitsm,
otherwise we don't know why there are multiple SCMs.
(Bitbake rev: 313fe5e86b254eadfdead706be4bd7b274d5e3c0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The localpath is a symlink to clonedir when it is cloned from a mirror, for
example:
$ bitbake systemtap-native -cfetch
$ ls downloads/git2
sourceware.org.git.systemtap.git -> /path/to/downloads/git2/mirror.path.git.sourceware.org.git.systemtap.git
mirror.path.git.sourceware.org.git.systemtap.git
There are both sourceware.org.git.systemtap.git and
mirror.path.git.sourceware.org.git.systemtap.git in DL_DIR/git2, the symlink
sourceware.org.git.systemtap.git is created by try_mirror_url(), but
do_cleanall" only removed the symlink, didn't remove the real dir
mirror.path.git.sourceware.org.git.systemtap.git, this may cause confusions,
for example, I assumed that do_cleanall removed everything, but it didn't, and
it would the re-used next time when do_fetch. This patch fixes the problem.
(Bitbake rev: 452e2200ad2c29dec3753f5f7a8cbc9183ec7dd8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The layer was not in bbfile_config_priorities when BBFILE_PATTERN is empty,
this caused "bitbake-layers show-layers" can't show these layers, this was
incorrect since these layer did exist. Add these layer to
bbfile_config_priorities can fix the problem.
Fixed:
Add BBFILE_PATTERN_core = "" in oe-core/meta/conf/layer.conf
$ bitbake show-layers | grep oe-core
There was nothing, now the layer is shown
(Bitbake rev: 0ff5cdb0cca9266ca29127639494bcfd95e36831)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The workdir is an important message when run git command, for exmample, before the patch:
Running git -c core.fsyncobjectfiles=0 branch --contains [snip]
We don't know where it is running, now it is:
Running 'git -c core.fsyncobjectfiles=0 branch --contains [snip]' in /path/to/git.opensvc.com.multipath-tools..git
Which is easier to debug.
(Bitbake rev: f25c05b73218d0e8edf2dd63b36bc09e547c5455)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Devtool creates a git repository for extracted sources in a temporary
directory and then moves it to a final destination after patching is
done. Unfortunately devtool is not aware that some of its git operations
may have caused git garbage collector to start in background. If timing
is just right a repository move fails because GC is removing git objects
while they are being moved.
The issue was hit on Krogoth release, but the code that moves created
git repository is still the same.
Disable gc.autodetach to make GC run synchronously and block git until
it is done.
Traceback (most recent call last):
File "<snip>/openembedded-core/scripts/devtool", line 342, in <module>
ret = main()
File "<snip>/openembedded-core/scripts/devtool", line 329, in main
ret = args.func(args, config, basepath, workspace)
File "<snip>/openembedded-core/scripts/lib/devtool/standard.py", line 352, in extract
initial_rev = _extract_source(srctree, args.keep_temp, args.branch, False, rd)
File "<snip>/openembedded-core/scripts/lib/devtool/standard.py", line 644, in _extract_source
shutil.move(srcsubdir, srctree)
File "/usr/lib/python2.7/shutil.py", line 299, in move
copytree(src, real_dst, symlinks=True)
File "/usr/lib/python2.7/shutil.py", line 208, in copytree
raise Error, errors
Error: [('/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/5e', '<snip>/build/grpc/grpc_src/.git/objects/5e', "[Errno 2] No such file or directory: '/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/5e'"), ('/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/57', '<snip>/build/grpc/grpc_src/.git/objects/57', "[Errno 2] No such file or directory: '/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/57'"), many git objects ... ]
(From OE-Core rev: 3da578a79195a63fb6d4bbd68d8f1548defd205f)
Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 6fc70eb4f3494bee2be10ee24fe3ea1c8b5ff988 changes "qemuarm" machine from
old ARMv5 to a newer Cortex-A15, moving the old platform under "qemuarmv5" name.
When adding this new "old" platform name to COMPATIBLE_MACHINE in linux-yocto
recipes, mistakes were made referring it by "qemuarma15", as discussed in [1].
This change fixes those mistakes.
[1]http://lists.openembedded.org/pipermail/openembedded-core/2019-March/280292.html
(From OE-Core rev: 4babf396a91ba375fad9c4dc610cfbdef8d17d4f)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For historical reasons Meson supports only a single cross configuration file but
multiple native configuration files. Add support for multiple cross files, so
that recipes such as glib can use the toolchain cross file and extend it with a
recipe-specific cross file containing values needed to build.
(From OE-Core rev: 3d97cddeec8635988e414e6854d850cea20bcb36)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Projects such as glib have tests that execute code to check their behaviour, and
in cross-compilation environments where they can't execute code fall back on
meson.get_cross_property() with a default value. These default values may not
be appropriate: for example if glib can't verify that vsprintf() isn't broken it
assumes that it is, and embeds the gnulib copy of vsprintf() instead of using
glibc's implementation.
Add a warning whenever the default value for get_cross_property() is used so
that we can tell this is happening and set the value appropriately.
(From OE-Core rev: 669ddafcc9f363cbb81d4b71649241257785a840)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to sed the Makefile as we can just pass --disable-docs.
(From OE-Core rev: 72e8597562fa7d8b0f19ed5c8727ebdf172c96a9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of opening files as bytes and battling decoding to UTF-8 which can throw
exceptions, open directly as strings and replace invalid codepoints. This
handles licenses in encodings which are not UTF-8 but are based on ASCII much
better.
Also instead of extracting the license lines, writing them to a file, and then
hashing the file, hash the lines directly.
(From OE-Core rev: 63ef9d342277c4ba541b78cbb45ef181f071f495)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although RISC-V 64-bit doesn't have official golang support there are
forks that now exist with at least some support and work is ongoing in
the upstream tree. In order to be able to use the goarch class add
support for RISC-V.
For more details see here:
https://github.com/golang/go/issues/27532
(From OE-Core rev: 91e3b2a762124bf5cf923654ef3a7c871b84c82f)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the repository to use the systemd-stable, and update to
the latest release from v241-stable branch.
Following changes are included:
c1f8ff8d0d login: mark nomodeset fb devices as master-of-seat
59f2213e45 login: HyperV requires master-of-seat to be set
a09c170122 Allocate temporary strings to hold dbus paths on the heap
4f54afd5a1 Refuse dbus message paths longer than BUS_PATH_SIZE_MAX limit.
b22a96ef2f NEWS: add entry about 'udevadm trigger --wait-daemon'
bada94eb3e NEWS: fix release date
e9f930b2f5 udev-event: make subst_format_var() always provide null-terminated string on success
66320aec80 sd-device: also store properties read from udev database to sd_device::properties_db
dffc22c833 udev-rules: update log messages about OWNER= or GROUP= settings on --resolve=names=never
(From OE-Core rev: 0111855d2c5029c93844e08fcd48592137bfb68a)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change fixes a build problem introduced in the recent CVE patches.
(From OE-Core rev: a6882408f5c63d2434d5c1622406c2c212c9bec7)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various refactors have left hanging variables, often in debug messages, hence
why they haven't been spotted. Fix them (pylint spotted the issues).
(Bitbake rev: e1f252408982a62485bbf874a01fd30a02aeed32)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clean up the whitespace and comments style, keep pylint happy.
(Bitbake rev: ee59fdaae68543ade03cacfdbbf14fdc7e469412)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a typo in a variable which would affect proxy handling spotted by
pylint.
(Bitbake rev: 19f4ca0119e33df64da629253d5002fcdb385f4f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some final corrections for the section on how to replicate
a build offline.
(From yocto-docs rev: 3b4ffa131684f824b7bc6c37ddfd02bb9b17b08c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated the section with some feedback from Richard. This
version is much clearer and brings the concepts out a lot
better.
(From yocto-docs rev: 9790482b9937308bee6aa00a892f50d026187342)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a new section in the tasks chapter of the
dev-manual titled "Replicating a Build Offline".
It is in response to multiple hits in the
yocto@yoctoproject.org list asking how to do something
like this.
(From yocto-docs rev: 61b091be49517548e639808f6b6de4bf07e2a300)
Signed-off-by: Scott Rifenbark <srifenbark@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: bbeb096222d42a31adcb358a85f8fe6c4120416a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to the lists resulted in the testing and graphics &
Eclipse Plug-in lists going away. Also, I added several packages
based on some testing requirements to the "Essentials" list.
(From yocto-docs rev: cbc9a595bef3dd80f5eef1376e466627248f9fda)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13196]
The set of host packages for the testing has been merged into
the essential set of packages for all supported distros. I
updated the variables defined in "poky.ent" so that these
packages are now part of the essentials. I also removed the
section on the required packages for testing.
(From yocto-docs rev: 9b19661d21a14966eac162ee063fca46d6403323)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Took this out of the glossary. After eglibc was merged
into glibc, Kconfig support was also dropped so
these libc features therefore are not effective anymore
and can be removed.
(From yocto-docs rev: cfdd02864f004fc48b0353ec0f007ca24b06d29e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SIMD instructions are a mandatory part of armv8a
(they were optional in armv7a), and the gcc docs
also say that they are always enabled.
(From OE-Core rev: 02288c94e99e9dd444d8c1af186b6d89085b7b8b)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had a c_rehash shell re-implementation being used for the native
package however the ca-certificates now uses the openssl rehash
internal application so there is no use for the c_rehash anymore.
(From OE-Core rev: 672b076158247f823a518b7c33b50c82272d6388)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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: 44fac788b4ba3614439d7329f645bfffeee7a2bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE: CVE-2018-16872
CVE: CVE-2018-20124
CVE: CVE-2018-20125
CVE: CVE-2018-20126
CVE: CVE-2018-20191
CVE: CVE-2018-20216
Patches 0015-fix-CVE-2018-20124.patch and 0017-fix-CVE-2018-20126.patch
are rebased on current source code. Others are not modified.
(From OE-Core rev: 489ece1aa90d8f76b4c1f009d837f82e38e11ba9)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All test id (eg. @alias) inside manual testcase file shall follow the same
test id naming convention from oeqa automated tests (eg. selftest,
runtime, sdk, etc), where the test id consists of
<test_module>.<test_suite>.<test_function>. Furthermore, there shall be
only 1 unique test_module per each manual testcases file, where
test_module match the file name itself.
This file was using test_module name that does not match the file name
itself. Fixed test_module name as well as the test_suite name.
(From OE-Core rev: f24178993e7b0830510900e80e879c7f9f8e28f0)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In tree234.c, change a while() loop to a for() loop so
that the compiler will realize we loop at least once.
(From OE-Core rev: 631cd6f9144fa5dd3a36480905d6edc9b5e81520)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor revisions
go1.12.1 (released 2019/03/14) includes fixes to cgo, the compiler, the go command, and the fmt, net/smtp, os, path/filepath, sync, and text/template packages. See the Go 1.12.1 milestone on our issue tracker for details.
Details
https://github.com/golang/go/issues?q=milestone%3AGo1.12.1
(From OE-Core rev: 3e04ae7283fd3cb914e4528ca1e980a07a3bb85f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
armv5 is not a specific tune feature anymore, there is no need to check
it, since having dsp will define if 'e' should be added or not
(From OE-Core rev: 1d6d5bb30a83f9136b7c33e297d48564ae61b50e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop remove.ldconfig.call.patch, as it's easier to just set LDCONFIG=true.
Pass uname=GNU via the documented configure option instead of undocumented
environment variable.
Rename zlib-1.2.11/ to just zlib/ as we don't ship multiple versions.
Send ldflags-tests.patch upstream and update Upstream-Status.
(From OE-Core rev: 344090a549284d0a1af065ff4cc3038bff8ecfea)
Signed-off-by: Ross Burton <ross.burton@intel.com>
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: db08ec5f48badd5be2fa24cc0d89a4386ab44a59)
Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia, manual test cases
need to be migrated to OEQA. These manual test case json files
will serve two use cases.
Use case#1: as input to the future commandline-based manual test
runner script, where this script will display actions and expected
result information in user friendly text, then it will capture
user input for test result and log, finally it will write test
result and log into existing standardize test result json format
from OEQA framework for automated tests.
Use case#2: QA will open and read these json file manually for
planning manual test execution. Any reader interested in
understanding manual test cases will open and read these files.
(From OE-Core rev: fbeecb059d9c006f50a2a11bed5a42740722e3e8)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All test id (eg. @alias) inside manual testcase file shall follow the same test id
naming convention from oeqa automated tests (eg. selftest, runtime, sdk, etc), where
the test id consists of <test_module>.<test_suite>.<test_function>. Furthermore,
there shall be only 1 unique test_module per each manual testcases file.
This file was using more than 1 unique test_module for testcases. Furthermore,
some of the testcases were defined using different test_suite where it was not needed.
This patch fix the manual testcases file to have only 1 unique test_module
as well as test_suite to simplify test id naming.
(From OE-Core rev: be7cbe86f046bf29082c3da574377f9828aff5f4)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two changes made in oeqa/manual/compliance-test.json:
1. All test id (eg. @alias) inside manual testcase file shall follow the same test id
naming convention from oeqa automated tests (eg. selftest, runtime, sdk, etc), where
the test id consists of <test_module>.<test_suite>.<test_function>. Furthermore,
there shall be only 1 unique test_module per each manual testcases file.
This file was using more than 1 unique test_module for testcases. Furthermore, some of
the testcases were defined using different test_suite where it was not needed. This patch
fix the manual testcases file to have only 1 unique test_module as well as test_suite to
simplify test id naming.
2. Added 2 missing test cases for Beaglebone Stress Test.
(From OE-Core rev: 5c5402bc6e6505da0203ca9245a3599bd4940dad)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two changes made in oeqa/manual/bsp-hw.json:
1. All test id (eg. @alias) inside manual testcase file shall follow the same test id naming
convention from oeqa automated tests (eg. selftest, runtime, sdk, etc), where the
test id consists of <test_module>.<test_suite>.<test_function>. Furthermore,
there shall be only 1 unique test_module per each manual testcases file.
This file was using more than 1 unique test_module for testcases.
Furthermore, some of the testcases were defined using different test_suite where it was not
needed. This patch fix the manual testcases file to have only 1 unique
test_module as well as test_suite to simplify test id naming.
2. As per review by Intel and Windriver team, 7 testcases were found obsolete. Removed 7 testcases.
(From OE-Core rev: e1136bae81672894a277512d7084d27f4e3416b9)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tc command is provided both by busybox and iproute2.
(From OE-Core rev: db83d6860aef4a0bd15fca251c994ae8d3384931)
Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original fix was deleted when systemd was bumped from v239 to v241,
however not all of the patches have made it into the latest version.
Refactor the original patch to contain the missing changes.
(From OE-Core rev: 400a0468a0f12f7f92f5287053a5fee0bb257fc1)
Signed-off-by: Marcus Cooper <marcusc@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 0001-useradd-copy-extended-attributes-of-home.patch (oe-core commit:
eed66e85af5ca6bbdd80cc3d5cf8453e8d8880bc) introduced a runtime failure
when enable SELinux.
When enable SELinux, The directory /home/user will get the extended
attributes of /etc/skel. However, the SELinux lable for /etc/skel is
etc_t which is also copied to /home/user. It will cause the user can not
write their home directory because the SELinux lable for /home/user
should be user_home_dir_t.
See discussion: http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146039.html
The solution at the moment is to drop this patch.
(From OE-Core rev: 2a8b35226edde4cd49cb5ba68c5b47aa8379eca1)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This option isn't used and was dropped upstream in v240.
(From OE-Core rev: 57154e8f8e65db82c5b75dc10635db308b525820)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of spreading the ptest enabling over the recipe, just add a
PACKAGECONFIG to enable the installed tests. Whether this is enabled respects
PTEST_ENABLED by default, so it always disabled in native and nativesdk builds.
This means we can remove the conditional dependency on dbus, all the conditional
enabling of installed tests, and clean up EXTRA_OEMESON.
(From OE-Core rev: 1e7c83c67c4a6e1ba61da5ffbf66dc0980624948)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
virglrenderer depends on 2 packages:
* mesa: requires one of distro features opengl or vulkan
* libepoxy: requires distro feature opengl
So make virglrenderer requires distro feature opengl. Otherwise it fails
to build world if 'opengl' doesn't exist in DISTRO_FEATURES.
(From OE-Core rev: 63c98d10231271135013e04749ac351247bd6546)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is long since past time for rsh and company to be retired from the
world. Disable building these now.
Suggested-by: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 9e13dad6ea76dd036098ef62427804e4138bf83b)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- We cannot build rsh, rshd, rlogind and rcp on musl. This is handled
gracefully in the configure scripts and spelled out with EXTRA_OECONF.
Expand this to include rexec to cover all of the related functionality.
- Rework adding in the xinetd.d files for these services to only do so
when we even have the services being built. This leads to no rsh/rshd
sub-packages on musl at all.
- If we use the normal alternatives mechanism to allow for this or
netkit-rsh to provide rsh/rshd functionality we end up with QA issues
on musl as we have unused ALTERNATIVES logic. Switch to making use of
RPROVIDES / RCONFLICTS logic instead and make it match the netkit-rsh
packaging names.
Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 4bd1a09c47de49d78cc85d849e53d4661831870b)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are no alternative provides of these packages anymore. To avoid
QA issues when building with musl, don't put these under an alternative
at all.
Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 314a1b64a629cf072ceb12925518ceac8beea126)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
while compiled with -Werror=maybe-uninitialized/-Werror=format-overflow=,
it failed
[snip]
| Incremental.c: In function 'Incremental_container':
| Incremental.c:1593:3: error: 'mdfd' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| close(mdfd);
| ^~~~~~~~~~~
[snip]
super-intel.c: In function 'apply_takeover_update':
| super-intel.c:9615:15: error: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Werror=format-overflow=]
| " MISSING_%d", du->index);
| ^~
(From OE-Core rev: 630281663893cdcfa9c4323b717b415d87d5510f)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below error:
file /usr/include/bits/procfs-id.h conflicts between attempted installs of lib32-libc6-dev-2.29-r0.armv7vet2hf_vfp and libc6-dev-2.29-r0.aarch64
file /usr/include/bits/procfs.h conflicts between attempted installs of lib32-libc6-dev-2.29-r0.armv7vet2hf_vfp and libc6-dev-2.29-r0.aarch64
file /usr/include/bits/shmlba.h conflicts between attempted installs of lib32-libc6-dev-2.29-r0.armv7vet2hf_vfp and libc6-dev-2.29-r0.aarch64
(From OE-Core rev: 1e9120096da81171e9213b0b78df0aff7002de15)
Signed-off-by: Changqing Li <changqing.li@windriver.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: a98a75a3db1fe9d327fd21919fb8ea09e76fb1e3)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multiple tests are failing due to missing dependencies on a bare
core-image-minimal build with only lttng-tools ptest present.
"getconf LONG_BIT" is used to get the bitness of the host to run the
correct consumerd. Depend on glibc-utils.
perl-module-overloading is needed to validate trace. babelstats.pl
"head -c" is used to generate a random string. It is easier to depends
on coreutils to get a feature complete "head" than to enable to "fancy
head" feature of busybox. See utils.sh randstring.
"taskset" is used in a couple of scripts to ensure that events generated
finish in the same buffer. Depend on util-linux.
[RP: Tweak for glibc/musl handling]
(From OE-Core rev: a266788c0037173b41e5e7a4b39b38b80333b87b)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building and running SELinux with musl works fine these days,
so don't disable it in the systemd bitbake file.
(From OE-Core rev: afea472cdc5e72e2794b30b00f68e59ffb1e104c)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_patch rule of SDK's workspace/appends/linux-*.bbhappend may fail if script are not written in Python
that was the case with Phytec's BSP, the fix was to replace the do_patch rule with :
do_patch[noexec]="1" when the file was generated in scripts/lib/devtool/standard.py
(From OE-Core rev: e51cb385e5573c7069de6e8308b9b68eb4a3a162)
Signed-off-by: Yann CARDAILLAC <yann.cardaillac@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ubuntu's /bin/sh symlinks to /bin/dash by default, so
subprocess.check_call(oe-init-build-env, cwd=builddir) would be failed since
pwd is builddir, and there is no $builddir/oe-init-build-env, this would
lead to other confusing errors, check and error it out earlier to make it
easier to locate the problem.
We don't meet the problem when manually run ". oe-init-build-env" is because
Ubuntu's default login shell is bash, but subprocess.check_call() doesn't
respect to login shell, so the error only happens in situations like
subprocess.check_call().
And also print errors to stderr as oe-buildenv-internal does.
(From OE-Core rev: 632c54b7686e60ee320ed1a7ac7d889790599d27)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We backported a patch to fix parallel build failure about version.h. But
that is not enough. We need one more patch to really fix this issue.
(From OE-Core rev: 9ed1dd6329b393e4f780fb88fea98bc930138a57)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the dawn of time, we have set CMAKE_VERBOSE_MAKEFILE=1 in cmake.bbclass.
Back in 2016, we also explicitly set VERBOSE=1 in cmake_do_compile(),
to ensure that make (and ninja) output were verbose in log.do_compile.
Turning off CMAKE_VERBOSE_MAKEFILE=1 means that make (or ninja)
invocations from the command-line are non-verbose,
giving CMake's default human-readable output on the terminal instead.
The user can still invoke VERBOSE=1 make if they do want verbose output.
This has no effect on the verbose output that goes into the logs.
(From OE-Core rev: 75c4b61513d8b089e835fb8d5923d8749fed7880)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure we turn on edid for the VGA display which fixes a hang with the
5.0 kernel for qemuarm64.
Thanks to Jon Mason for the fix.
(From OE-Core rev: c112be9643f9031964be4068feeb5e2f8528c107)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add new QEMU BSP for a Arm Cortex-A15 system and use this as qemuarm,
moving the old armv5te Versatile PB based machine to qemuarmv5.
The new machine uses the QEMU virt machine type, which should be
faster to emulate and updates the qemuarm support to a modern
architecture.
(From OE-Core rev: 6fc70eb4f3494bee2be10ee24fe3ea1c8b5ff988)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As reported by Paul Barker, my attempt to allow the patching
of kernel meta data broke other repository configurations, since
the meta data patch routing was matching too broadly and the
same repo would end up being patched twice.
Using his suggested fix, we are up and running with both types
of repos again.
(From OE-Core rev: 0fd09633e3c2fb4668c7700516d288f8c5356ff6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Richard Purdie's kernel patch to fix systemtap on arm:
[
arm/Makefile: Fix systemtap
Currently systemtap fails to operate correctly on armv7 systems such as beaglebone and
soon, qemuarm.
root@qemuarm:/usr/src/kernel# env -uARCH -uKBUILD_EXTMOD -uCROSS_COMPILE -uKBUILD_IMAGE -uKCONFIG_CONFIG -uINSTALL_PATH -uLD_LIBRARY_PATH PATH=/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin make -C /lib/modules/4.19.19-yocto-standard/build M=/tmp/staptcNU6M modules CONFIG_DEBUG_INFO= CONFIG_STACK_VALIDATION= ARCH=arm stap_4321_src.i --no-print-directory -j2 V=1
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /tmp/staptcNU6M/.tmp_versions ; rm -f /tmp/staptcNU6M/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/staptcNU6M
(cat /dev/null; echo kernel//tmp/staptcNU6M/stap_4321.ko;) > /tmp/staptcNU6M/modules.order
gcc -Wp,-MD,/tmp/staptcNU6M/.stap_4321_src.o.d -nostdinc -isystem /usr/lib/gcc/arm-poky-linux-gnueabi/8.3.0/include -I./arch/arm/include -I./arch/arm/include/generated -I./include -I./arch/arm/include/uapi -I./arch/arm/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfp -funwind-tables -marm -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -Iinclude2/asm/mach-default -I/lib/modules/4.19.19-yocto-standard/build -include /tmp/staptcNU6M/stapconf_4321.h -D "STP_NO_VELREL_CHECK" -freorder-blocks -fasynchronous-unwind-tables -Wframe-larger-than=512 -fno-ipa-icf -Wno-unused -Wno-tautological-compare -Werror -I/usr/share/systemtap/runtime -DMODULE -DKBUILD_BASENAME='"stap_4321_src"' -DKBUILD_MODNAME='"stap_4321"' -c -o /tmp/staptcNU6M/stap_4321_src.o /tmp/staptcNU6M/stap_4321_src.c
/tmp/ccaE9CMG.s: Assembler messages:
/tmp/ccaE9CMG.s:49: Error: selected processor does not support `dmb ish' in ARM mode
/tmp/ccaE9CMG.s:52: Error: architectural extension `mp' is not allowed for the current b
(which was from running the stap command with -v -v -v -k and then being able to run the command individually)
Note that it says armv5t above.
That comes from the code this patch changes
root@qemuarm:/usr/src/kernel# gcc -march=armv7-a /tmp/staptcNU6M/stap_4321_aux_0.c
cc1: error: -mfloat-abi=hard: selected processor lacks an FPU
which makes me wonder if cc-option fails unless -mfpu-vfp is on the commandline too.
Since we have a gcc which accepts the armv7-a arch, just remove the cc-option
wrapper unconditionally here.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
]
(From OE-Core rev: 8c446ac6c1bba1502ac0a710a39b90c78fff41a3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add temporary patch to fix the systemtap issue on armv7 with the 4.19 kernel
until Bruce is able to merge this into the repos, similarly to the fix for
5.0 kernel.
Alternative patches are being discussed upstream but this fixes the issue for
us for now in a simple way since we know the gcc versions we use.
(From OE-Core rev: 491f72a2fd8053c4f54fa9b261c65cb394880d02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the hardware reference boards are not using the 5.x
kernel yet, we generate a baseline bbappend for future work.
(From meta-yocto rev: c3b875dcc01de567ba0320bcba5922000cfb2e2f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For multilib to work correctly, BASE_LIB overrides must be provided.
(From OE-Core rev: b32ec63e48a3552f2e7f3cc5caf61432af716283)
Signed-off-by: teven Hung (洪于玉) <Steven.Hung@mediatek.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test does not work on centos7 so diable it (as was done in the
original series before we thought it was working).
(From OE-Core rev: c27cdf83bc2b8ff802a5c4e0b49f18174af8e34a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
import time
time.tzset()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'time' has no attribute 'tzset'
enable tzset in both python versions
(From OE-Core rev: 28e631d6dbc0a126253c0a072b8f39ff683bfa3a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of this library was removed in 2012.
(From OE-Core rev: 807a9361d0b00fb884ac9fc1aae227f613808913)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_patch() doesn't apply files called .dpatch, so rename it to .patch.
Fixes CVE-2004-2779.
(From OE-Core rev: 6e5dcb4027fbf3e65c0aad2ded36ce387ca7f917)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to enable the arm unwinder for systemtap to work out of the
box:
root@qemuarm:~# stap --disable-cache -DSTP_NO_VERREL_CHECK ./hello.stp
[ 1600.955262] stap_2097: loading out-of-tree module taints kernel.
hello world
This option is useful for much more than systemtap, so it is a good
idea to have on in the base configs. It make the image slightly larger,
but has no performance impacts.
(From OE-Core rev: 8a3cc10c2deb933866e384b326d730d17a49a269)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the build for some architectures, perf generates a program
which executes on the host to dump the syscall table.
The generation of that program uses the cross compiler + sysroot
to expand unistd.h. As such, we are getting the contents of that
file from linux-libc-headers.
The compilation of that generated program uses the host compiler
and a restricted include path to the perf source code. In the
perf source there is a captured unistd.h, as such it will be used
when compiling the host executable. The perf source code is copied
from the kernel version that is being built .. so we have a
mismatch between the generation and the compilation of the host
program.
Normally this mismatch is fine, but if the libc-headers are
newer than the kernel, we'll have syscalls (and their syscall
numbers) that are not defined in the perf source code. This
leads to a compiler error and a cascading failure of the perf
build due to a missing generated file.
To fix this, we can copy unistd.h from the recipe-sysroot
into the perf source code and they will always be in sync.
(From OE-Core rev: 3a23e094c4189af878e467f1636aea63955e250d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path containing the symlinks to icecc itself.
The path to the build env tarball.
(From OE-Core rev: 4b1f421ab5c7e5a3ee7bad5744149d331c6e0511)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes some 'basehash changed' errors when rm_work is being
inherited.
(From OE-Core rev: e74158b6cc1d683ab14ef5d47ec531f986fc2259)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently only dts files are considered when looping through files to
compile. Modifying the loop to compile other files that are overlays.
Also surrounding this check with a try block as the function to find
overlays parses the file for a '/plugin/' tag, and there may be files in
the DT_FILES_PATH directory that are not parseable.
(From OE-Core rev: bb1629820443bfedc72378a7c88f0656a2f3f7f1)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The additions done to devsrc to support the 5.0 kernel should have
had a graceful failure mode, since the files/directories won't be
present on older (or different) kernel versions.
(From OE-Core rev: 3f0cada40a9f70704a3dc78daddb4a8cbd7dee80)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.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: 7521834f8557565d3898605257c7fd9505ea22bb)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So that the errors can be controlled by ERROR_QA or WARN_QA, and make them work
with INSANE_SKIP.
(From OE-Core rev: 4b86ebb6a87f75421a1d12d9d5dde303938c2e9f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The INSANE_SKIP = "pkgconfig" or "la" didn't work, this patch fixes the problem.
[YOCTO #13087]
(From OE-Core rev: 756d6419f10d388c5daa63b7607e580d8b5079f1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix parallel build failure like below.
In file included from ../git/src/core/dbus-manager.c:10:
../git/src/basic/build.h:4:10: fatal error: version.h: No such file or directory
#include "version.h"
^~~~~~~~~~~
compilation terminated.
(From OE-Core rev: 89712946c10f1c762175053e1945b7d0f330c446)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If python3 git module is not installed, we fall back to some git
command to get info. A previous commit (b8d22ed6) accidently deleted
the return statement, causing errors like below.
Exception: UnboundLocalError: local variable 'InvalidGitRepositoryError' referenced before assignment
(From OE-Core rev: cd8aedc408afa4f8589f79e4d85befc7cac76ac6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both powerpc and mips require a few new files for the scripts
and prepare targets to work with a 5.0 kernel. We add the required
files to the architecture specific blocks, with appropriate
backwards compatibility considerations.
(From OE-Core rev: 124c6bf5a0a5cc20d2ebbf04dc7b577cb4f5153a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To allow the kernel-dev image to test systemtap, we add the userspace
and required image configuration.
(From OE-Core rev: 317f95ad38d2d24f4ee40eb737e4f0d6ace6e3f0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the systemtap 4.0 SRCREV to pick up changes that have been
made to support newer kernels (and in particular 5.0).
root@qemux86-64:~# stap --disable-cache -DSTP_NO_VERREL_CHECK ./hello.stp
[ 246.303263] stap_4843: loading out-of-tree module taints kernel.
hello world
root@qemux86-64:~#
The following commits are included in this update:
90ff34ac0 If available, use kernel's save_stack_trace_regs() for fallback stack unwind
a9b0aa4db testsuite/systemtap.bpf :: tests should return, not exit 0
83f229abb cachestat.stp: workaround the current limitations of trace_printk
f912d520f Newer kernels tapsets may use the kprobe.function("*") adjust alias_tapset.exp.
fe569f964 Handle name change of do_brk to do_brk_flags in the newer kernels
71dbdc9f9 Newer kernels tapsets may use the kprobe.function("*") adjust pp.exp check.
20d23f97a Correct at_register.stp test arch name for arm64.
e0bcc2f92 cachestat.stp: new example based on a bpftrace script by David Valin
18d1baceb session.cxx diagnostics: don't dump kernel_functions below verbose=6
25b181ae4 Add __NR_chmod for missing defines on aarch64
2276b109e Add more __NR_* for missing defines on aarch64 (and ppc64)
e34d66dee PR24239: avoid symbol/type resolution of unused globals/functions
49d74d4fa Correct the at_register.exp test
c77884dcd Turn on guru mode for at_deref1.stp use of @kderef
a9a15a3f8 RHBZ1689180: correct group name typos in staprun.8
e7146dbfe Regenerate syscall_num.stp grouped by syscall name.
6bcf09813 Group initialization using the same string literal together in syscall_num.stp
3752574dc Regenerate the syscall mapping information to add aarch32 to aarch64 syscalls
af74da7b7 Update dump-syscalls.sh to generate 32-bit syscalls for aarch64
60144c0fa Match arm64 non-dwarf syscall probe points
d36f6fee8 PR24199: don't use exceptions to signal type-resolution failures
5e50524ff PR24199: at pass-2 verbosity > 3, trace $var error-chaining events
40f855fd5 PR24199: loc2stap: propagate dwarf DIE() source locations better
af9ef3369 Adjust noptrace.stp to avoid modifying ptrace syscall arguments
ca3946e62 Update pfiles.stp to work with Linux 4.17 and newer
9d3a1cd66 PR24217: stap -p2 speedup, condition-expression processing
ba7b83ec1 Conditionally define __NR_bdflush in systemtap runtime.
cdf77a210 testsuite/systemtap.bpf :: couple of bpf_tests clarifications
d6b529c43 fix embedded-c tag memoization thinko
d81a001ad pass-2 optimization: embedded-c code pragma searching
1832b8f51 Set up a BPF related testcase blacklist for regression testsing purposes.
4e7686951 linux api update: compat_time* structs
1ac5a4499 linux api update: FAN_ALL_CLASS_BITS
17c2d352a unwinder: increase MAX_CFI to 8192 after a census of CFI sizes on Fedora 29
2e373d294 runtime: adapt to uapi/linux/mount.h changes
6b0430b6b dummy commit to force buildbot rebuilds
d3964067f buildrun.cxx: older g++ compatibility: no std::string.back()
6b2838df5 Handle installation without stapusr group
f90ca3096 Simplify creation of groups during installation
38184abcd Fix get_user_pages() autoconf test for 4.4.y kernel
e2e13220f lkm-runtime time.c: prefer 4.15+ ktime_get_real_fast_ns
eb8c8de94 linux 5.0-rc3 adaptations
de5061899 parser: allow larger arrays
0fc1a5019 stap man page: document histogram per-bucket access/iteration
905865da1 PR16406 fixup :: correct comparison in _stp_module_check
c8084763b PR10280 initial fix: force vermagic for guru-mode scripts
3a29a2eef Make testcase at_var.exp work with stap-4.1+ and kernel-4.17+
53ff2b5df stap-prep: switch typo ($NEEDED => $package)
68bd23fd0 PR16596: add support for DW_OP_GNU_entry_value in location expressions
aacee6563 Make sysc_bdflush.stp compatible with 4.17+ kernels.
891810c24 configury: tolerate dyninst10's need for -lboost_system
ec3b46eb9 RHBZ1655631: systemtap.spec: use Recommends: for kernel-*-devel
eef17e743 runtime/unwind: Allow to increase MAX_CFI
47ce37a14 systemtap.spec: merge unbotch - missing %changelog
f082df49d systemtap.spec: importing fedora rawhide changes
c9a393275 staprun/mainloop.c :: fix for loop initial decls
266c72bd0 PR23866 part: expose raw syscall tracepoint to bpf
ab368ac2a PR23891: Make sure stap and staprun respond to SIGTERM when stderr/stdout are blocked
0a0595509 Fix segfaults in dwarf array pointer subscripting when -vvv is specified
4a8652800 Make opeartor @var() no longer assume @entry() in return probes.
f5c19712c Add the ucalls.stp to the systemtap examples.
7d82f1bdc Adjust tcp_trace.stp example to work with newer Linux kernel's timers
f6d683666 Adjust the vfs_open to provide cred variable with 4.18 kernels
008a0cbfd Userspace_probing.xml: change '-ldd' to '--ldd' command line option.
e6227e5df bpf-translate.cxx: don't clobber any earlier value of c
cbf3b6e6a bpf-translate.cxx: quiet a compiler warning
824e9ab80 PR23890 bonus: show nicer messages upon a buildid mismatch
fba365b4d PR23890: tolerate f29+ style ELF files
6c94b6d42 PR23747: tolerate symbols with odd section#s
d60dac71a systemtap.bpf/asm_tests :: fix documentation / expected result
0eaf4f196 PR23875 bpf_unparser::visit_foreach_loop(): temporarily disable string key iteration
8c1452d10 PR23875: another testcase that loops indefinitely
584d61dc0 PR23875 bpf.exp: fail testcase on 'stack smashing'
0128e1daf PR23860 bpf_interpret() :: NEG should not fall through to DIV
75640f70d Adjust the periodic.stp example to work with newer Linux kernels
ca225a1cc stap -vv: also print kernel build-tree path name
28cf23f8e testcase for PR23875
3733caeba PR23860: reduce stack pressure from format strings
7a5716bb8 PR23860: additional ugly stack/clobber protection for strings
021f906e5 PR23860: additional stack protection for strings
02861e63c PR23860 bugfix: incorrect comparison direction in string_copy()
e428db474 PR23507: add new command-line option to disable automatic unread global variable display
b2ba3af9a pr23860 verifier workaround :: be sure to delete all mov rN,rN
08861a20f PR23507: add underscores to global @this variables
4ee1ae49a PR23761: generalized @entry
cc6e13e62 standardize ktime_get_ns() across lkm, bpf runtimes
fbee58bda bpf behind-the-scenes :: useful DEBUG_CODEGEN diagnostic
7209427d4 Always use nssInit for http and nss server.
72ef87bba PR23860 partial fix: fix BPF_NEG opcode generation.
8fb0cb4a7 PR23829 :: fallback defines __BPF_FUNC_MAPPER and BPF_J{LT,LE,SLT,SLE} for older kernels
686ba2980 tapset/bpf/task.stp :: rudiment of task tapset
0e6a26ff4 PR23849 -- temporarily disable stapbpf script caching
c0002c5ad prometheus-exporter samples: change reported metric name
1b50200ff stap-exporter: drop initial demo scripts under .examples; not used
3582845f5 powerpc64: add missing system call defines
57550d39d aarch64: add missing system call defines
856ddcedb tapset/bpf/context.stp :: add execname(), triage other functions
61b00f37d tapset/bpf/conversions.stp bugfix :: helper name in kernel_string(addr, err_msg)
a47bc40eb bpf-asm.exp bugfix :: bad_output does occur
14e5ff4e6 bpf-translate.cxx :: fix segfault with malformed register
b530b0193 Fix miscellaneous errors/typos in syscall tapset
ae51c4d99 On aarch64 Linux system calls related SystemTap scripts compilation fail with "__NR_compat_[exit|read|write] redefined" errors after following two commits:
3d9e0d2a5 Adjust the BPF translate error report formatting to work on 32-bit architectures
0a4d384a8 session.cxx :: enable caching for bpf backend
5ada58a9f bpf-translate.cxx :: plug an exception gap in is_numeric()
c009fe88d Merge branch 'serhei/bpf_asm' -- kernel_string() tapset and experimental bpf assembler
0b3a813f5 testsuite/systemtap.bpf :: diagnose a bug in print_format("%s%s", ...)
110f739b3 stapbpf assembler WIP #8 :: bpf-asm.exp driver and more testcases
4d68a526b stapbpf assembler WIP #7 :: fixed kernel_string() tapset and testcase
da6c4aef4 stapbpf assembler WIP #6 :: other call functions ({s}printf and tapset)
e534cf2a7 PR21080: support added for new pkey_* syscalls
0e0f0e386 stap-exporter examples: use symlinks rather than copies
fddf715d1 Use NSS_InitContext instead of NSS_Init.
6a3a804e4 prometheus tapset: add dump_array_*_unquoted variants
4e81610ae nfsd tapset: adapt nfsd.proc4.commit probe to different kernel versions
4cd50f30a PR23799 - sprint_ustack() always returns empty string values
8bc640345 nfsd tapset: adapt nfsd.proc4.read probe to different kernel versions
7b76b6b60 step-prep: on debian/ubuntu machines, attempt "apt-get -y install"
10b3f049e Use cast to make c->cycles_sum aways match the %lld format.
d95f81630 Add more quantitative data to error message when probes exceed threshold
f4d49b79b Avoid using target variable in target_set.stp for syscall.* probes.
5aafdc55e Avoid using target variables for syscall.write in print_user_buffer.stp.
bb93c70a1 Avoid using target variables in signal.stp for syscall.* based probe points.
784d4fc04 Add buildok/syscall_any.stp to list of tests dyninst will not run.
910395ba0 kprocess.exec_complete should avoid using $return from syscall.execve.return
d4550e6c0 stapbpf assembler WIP #5 :: basic kernel_string() implementation
9ae578690 stapbpf assembler WIP #4 :: alloc and (helper) call operations
f12e7d8eb stapbpf assembler WIP #3 :: additional assembly test cases
f3fdcc936 Fix searching of kernel_source_tree for kernel built with O option
dd57c7387 postrelease version bump for future version 4.1
2881d9d95 stapbpf assembler WIP #2 :: testcases (no driver so far)
db79925e5 stapbpf assembler WIP #1 :: basic parser and control flow
(From OE-Core rev: 18e1f2859ad213febb3438618e7d7ee57f401ff4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lack of be32toh() is handled upstream since 2014.
Linux 2.6.23 was released 2007, distributions with kernels
older than that are far outside the host distributions
still supported today.
(From OE-Core rev: c4d77ddd13ad43b52f22a32dc7a3d34cc2692dce)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an oe-pylint wrapper around pylint3 to run static analysis on our python
codebase. For now display errors and exclude common warnings which are not
applicable to our codebase.
The aim is to start generating this report on the autobuilder and to
improve our score over time.
(From OE-Core rev: 0a306d4f706b55f64228c7a0a14ff1ad127d7df9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If systemd has EFI enabled it uses readlink.
(From OE-Core rev: ace3c0fff40604450ea8f0a669aaa37fbe730069)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wrappers generated by create_wrapper do not work properly:
python, for example, looks at argv[0] to know if it is
running from a virtualenv. Because the wrapper replaces
argv[0] with python's canonical path, python cannot tell
whether it has been invoked directly or from a virtualenv
symlink.
This change makes the wrapper pass the original argv[0] down
to the real command.
(From OE-Core rev: 791e5bfcb449024f295a4f8f507c1012cff76f9d)
Signed-off-by: Achille Fouilleul <achille.fouilleul@gadz.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have a packagegroup that can be used to replace the overall
functionality of busybox as base-utils, add a test that we can continue
to build a fairly complex image without busybox being available. This
also doubles as documentation-by-test of how to do this.
(From OE-Core rev: 6319a59c1d30eeb8ad4871d43641e3469fb543ba)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This packagegroup is intended to provide all of the functionality found
in other VIRTUAL-RUNTIME_base-utils providers through full packages
rather than an all-on-one package. Document how to make use of this
in local.conf.sample.extended. Introduce VIRTUAL-RUNTIME-vim and
default this to vim-tiny to allow for a differently features vim to be
used instead.
(From OE-Core rev: c4df63dc705c3d8594517af2c2d5eddb36c176f7)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to have more robust stand-alone network tools in oe-core, bring
in inetutils from meta-openembedded/meta-networking. This imports the
recipes as of git commit:
commit 408204073e6bdcd8ac586e05d5b75213417673f2
Author: Martin Jansa <martin.jansa@gmail.com>
Date: Thu Aug 16 20:39:15 2018 +0000
inetutils: fix build with glibc-2.28
(From OE-Core rev: ace6911e663709f07ca73aa72f6bb4f4111b2749)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to have a stand-alone editor in oe-core, bring in vim from
meta-openembedded/meta-oe. This imports the recipes as of git commit:
commit 41f3f8165bde3eb4f8bcf6dddbaca0d3b760c70b
Author: Mark Hatle <mark.hatle@windriver.com>
Date: Thu Feb 28 09:39:19 2019 +0800
vim: remove xfce vim bbappend
Changing the behavior of a recipe by including a layer is not allowed
by the yocto-check-layer script.
(From OE-Core rev: cc2022ad369a74ee3f60c345778e4fe206f5df36)
Signed-off-by: Tom Rini <trini@konsulko.com>
--
Changes in v3:
- Catch vim-tiny too (thanks Richard!)
Changes in v2:
- List self as maintainer
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Permanently adds the -src source package to ${PACKAGES} instead of
relying on creating it dynamically at packaging time. The source package
is now defined in bitbake.conf, just like -dev and -dbg packages.
For compatibility, the -src package is still added dynamically if it was
missing, since some recipes have a tendency to completely override
PACKAGES and do so without manually adding back the -src package.
This allows RDEPENDS on the -src packages, which wasn't previously
possible.
[YOCTO #13203]
(From OE-Core rev: b25e1edf0204fc2f64aa8d66e09b8e2d67b90e17)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating configuration changes from Kevin Hao for the reference
boards on the 5.0 kernel:
be627e4e386 beaglebone: Switch to the 8250 omap driver
957f6060c25 beaglebone: Update the audio options
ab5298a6983 mpc8315e-rdb: Enable the CONFIG_MTD_PHYSMAP
(From OE-Core rev: 6aec31d1ca35ab1aa1cfe8f10381ad7dfd49218e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lttng hasn't released 2.10.9, but the stable/2.10 branch
contains changes that we need to build against the 5.0
kernel.
We add them here as patches, and we can drop them in the
future when lttng is updated.
(From OE-Core rev: f8bcf3486d44ebd867e9089d4dbd3b56726c9075)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introducing the 5.0 linux-yocto reference kernel, which will become
the "latest" kernel as part of the spring yocto release.
qemu* has been built and sanity tested against this kernel, and it
is suitable to become the default build for the emulated references.
Some minor configuration cleanup was performed, but otherwise, things
are very similar to the 4.19 kernel config:
7fdb966db86 (HEAD -> yocto-5.0) aufs4: kbuild patch
c76b027a8b2 iosched: remove configs for removed legacy io schedules
5d1f8102244 netfilter: drop removed config options
8ff16f508f5 kernel-yocto: 5.0 kernel prep
Feature wise, this is a match for 4.19, with yaffs2 and aufs4 being
kept around for another release. Aufs is scheduled for removal in
the fall release.
(From OE-Core rev: c802c355f02e808b29d396fcc286da6f18ce6a78)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the linux-libc-headers to the 5.x kernel variant to match
the latest reference kernel in the 2.7 release.
We have two patches refreshed for context changes, and three patches
dropped since they have been merged to the mainline kernel and are
no longer necessary.
(From OE-Core rev: f6c825c41e3d4c14ae4ba0b2a07cc41d538e0d61)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For testing purposes, it is often easier to patch a fragment
in a kernel-meta repository versus needing to make a copy or
modify the source repository.
We can allow this sort of patching when a patchdir of kernel-meta
is passed (to indicate the nested kernel-meta repository).
Also note that we must patch the meta data before they are
processed/gathered, since migrated copies to the kernel source
directory will be used later.
(From OE-Core rev: 324f9c8181150c23e3ce1ace4c45794cc8894167)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nslookup was undeprecated 15 years ago,
and installing bind-utils should replace the busybox version.
(From OE-Core rev: 6d594e2a466a75f88fe8ab454e58ae20e3bdee05)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream already fixed this properly by using pkg-config.
(From OE-Core rev: d37396c48cd44a6036677ea47c249efbf9a91472)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Downloading your randomness directly from the US government
is a rare usecase but adds heavy dependencies.
Make it optional and non-default.
(From OE-Core rev: aecf7673095b2338ae4617900e8300b9601ca483)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGECONFIG[libgcrypt] already adds it when necessary.
(From OE-Core rev: 6417d29ece333ee2b78e6e723201336cc17c41f6)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Or alternatively GPL, the same as the top-level Linux-PAM COPYING.
(From OE-Core rev: 025c1b384635ef7a85e9f45f048901d6680563ae)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the necessary parts to qemuarm64.conf for graphics to be shown in
the SDL window, and USB so that it is possible to interact with it.
(From OE-Core rev: 7098a0e9115416b2cc1234e86893f8b9337e7849)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add comments describing what is going on, remove an unnecessary space,
remove a duplicate comment, and increase the serial speed.
(From OE-Core rev: d1071579e3896f68b1e4970c1fc9a97b043091e9)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches were applied, hoping that they will eventually be accepted
upstream but they have been rejected, I think its best that they are
dropped so we can avoid novel unintended behaviours that no other
distros will be seeing
(From OE-Core rev: 54550aa42378ce4b215bccbfd95e5e650b0d2efa)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2018-19876 is a backport from upstream.
CVE-2019-6461 and CVE-2019-6462 are patches taken from Clear Linux.
(From OE-Core rev: 078e4d5c2114d942806cd0d5ad501805a011e841)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The script use https protocol by default, but the error-report-web server's
https connection may not work (e.g., doesn't work with python 2.7.6), so add an
option --no-ssl to make it use http.
(From OE-Core rev: a4c89902a24c0961657c8281425d480097aadfa6)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to 5.36.
Drop debian-742262.patch, this appears to have been fixed properly upstream some
releases ago.
(From OE-Core rev: cf6a32debcde5bfde94126c3b4200800d672e605)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove CVE-2017-14245-14246.patch, fix rejected upstream as it doesn't solve the
underlying issue.
Instead 0001-a-ulaw-fix-multiple-buffer-overflows-432 also solves CVE-2017-14245
and CVE-2017-14246 properly.
Add patches for CVE-2017-12562 and CVE-2018-19758.
Refresh CVE-2018-13139.patch.
(From OE-Core rev: a5625df8031985e9c60c34068a4a01c36da40eec)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than recreating handlers and forcing them, iterate over the handlers
and enable color on ones we can handle. This makes it easier to handle color
properly when we introduce the bb.msg default log filters.
(From OE-Core rev: 713f44e0e0cde9b818c214002fd8b730d422fafa)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using Kmeta directories, devtool finish will add every single file
in the directory to the bbappend. This is because in the current
implementation, the get_recipe_local_files function treats the kmeta
directory like a file. Modifying the function to loop through the
provided directories and return all included files instead of just the
top level directory. This will enable correct file to file comparison
when determing which files are new/changed and need to be added to the
bbappend.
Adding an extra check in devtool-source.bbclass to not copy the cfg file
if its already included somewhere in the kmeta directory
Also during 'modify', when moving necessary files in the kmeta directory
from the workdir to oe-local-files, the dangling parent directories are
left behind. This in itself is not an issue as the temporary devtool
workspace is automatically deleted, but this causes an incorrect include
directory to be added in kernel-yocto.bbclass. Changing the order of
the if statements to catch the correct conditional. This is safe to do
as when not in the devtool context, there will be no oe-local-files
directory.
(From OE-Core rev: 4671011b5b02d0989aa0fdcb50e18cb385a0e95e)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Quiet builds are nice for interactive builds, but hide information we'd like in
the logs.
(From OE-Core rev: 623b1e59f752c6bdd4e7e46a007191ee13405830)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch was to use BUILD_CC instead of CC when building mktables, a binary
used to generate tables.c.
However due to cross-compilation problems such as this, upstream since 4.12.1
(f929b62 specifically) avoids the entire issue and ships tables.c in the
repository, updating it as required.
(From OE-Core rev: 7b5d022e8dd19ee39e084444a32600dc54a3ccc3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream lets you control what compression algorithms are used, so add
PACKAGECONFIGs for them all.
Instead of bundling a copy of the SevenZIP SDK from 2009 (!), reuse XZ. This
means we can drop Public Domain from the license list.
Also -e was removed from EXTRA_OEMAKE in 2016 (oe-core aeb653) so the fiddling
to work around that can be removed.
(From OE-Core rev: e37a1ecc292b684daa49f2da2e19e0aa975f0959)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added with no explanation in 2010 (17f3c548c) and doesn't appear to be
needed.
(From OE-Core rev: 6683a29cfd10c3796943ae8485310521ca55c446)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LZO support is optional so add a PACKAGECONFIG to control this.
Also clean up the xattr PACKAGECONFIG to explicitly enable/disable.
(From OE-Core rev: 69a4dd839b0659c1a04728cf2edd744bd20c012a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can assume that modern boards don't need X/Y/ZMODEM transfer tools for
testing purposes. The few users that need this tool for testing can add it
themselves.
(From OE-Core rev: 7b3e49915ac7caa2e2ca96c44aaad71882e3db16)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A X/Y/ZMODEM transfer tool is not a required package for self-hosted builds.
(From OE-Core rev: b37a0558f325312029207c9f3c368d8b5c7afeca)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source /etc/default/timestamp if present. This allows the rootfs to be
read-only / store the file in a persistant location if the whole rootfs
is updated.
(From OE-Core rev: b4de37b7176630d9585b12c50d537cd561c7aeb9)
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two identical classes exist for SystemdbootTarget,
introduced in commit f9a61d3400ad
("gummiboot: Remove/change gummiboot references with systemd-boot")
poky commit 2dce2648e3
Remove the duplicated copy.
(From OE-Core rev: a59562c7ddbda1a266f0ea22ab78fb86de4861a3)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test case expects that printf(0x0) is (null) but for us this it is (NULL).
Use case-insensitive diff as the rest of the tests don't care about case.
(From OE-Core rev: b19a6501599ba7567c7c7d1456b62a8702a7e82a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building with musl currently fails. The fix has been committed
upstream, so backport it.
Note that it requires running yacc again to regenerate the parser file,
so a bison-native dependency is needed. Also the upstream's configure
step creates the directory where the parser file is generated at
make-dist time, and for some reason running through bitbake does not
create it, so do it manually. All of this can be reverted once a new
swig version that includes the fix is released and rebased onto.
(From OE-Core rev: 92d23674587fb9c6634b9ba88b8399b0ec40bd1c)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was not compiled for x86_64 when previously testing aarch64
so some tests were missed.
(From OE-Core rev: c2cb8827dc5bdeadd78f462398630c05e5a9ebb7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_create_extlinux_config performs its own override processing
for several variables, so we have to explicitly add the label-
suffixed variable names to its vardeps to make sure that changes
get detected.
(From OE-Core rev: ad792edf61157f6cd63a2c6aa8e53edc134301d0)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need export XDG_DATA_DIRS to be ${STAGING_DATADIR} for gdk-pixbuf*
wrappers or else they will try to load mime from /usr/share/mime of the
host machine.
(From OE-Core rev: de2848be1b04cf1ff1e0147114f5214be8225877)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that the tests require that the host machine has a X display,
has mesa development files installed and is able to create OpenGL contexts.
(From OE-Core rev: 2868e8dfb9e62b49cd06f6c2d010405079d3a71c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If in the future GL is enabled for SDL frontend, or some other
frontend, it would be useful to be able to differentiate.
(From OE-Core rev: 36fd0a334cd6ed309cf96e445af83447070412a3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When Gtk+ and SDL are both enabled, qemu defaults to Gtk+.
This option allows to revert to the 'classic' frontend.
(From OE-Core rev: 34ee1d8b11ecc9bb7acaf9d61b8b7c954306f1ae)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use devtool to refresh the patches. This avoids fuzz warnings.
(From OE-Core rev: 60031b012ef0de3650628b24db7d3470a34d637b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test for a multiconfig build which mixes tiny and musl builds
along with using the mcextend class to combine and package multiple images
into another image. This gives the multiconfig a decent test in a scenario
users may use.
(From OE-Core rev: 0c7fa15a7350808242754944243f01155bc6784c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class allows users to easily create multiconfig BBCLASSEXTEND recipes
and is generally useful. It will be used by new tests so add as a general
feature.
(From OE-Core rev: 9ad19eb12c24d1ddc967215af0ebafd2cd2cb665)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following two patches are added because I cannot figure
out how to pass parameter to efi-cc if it's changed to be
an array value.
systemd/0001-Revert-meson-print-EFI-CC-configuration-nicely.patch
systemd/0001-Revert-meson-use-an-array-option-for-efi-cc.patch
(From OE-Core rev: 42ec27489135f5c2dbe708dacb5dadb0f5d9df5b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PATCH REBASED:
==============
0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0004-rules-whitelist-hd-devices.patch
0007-rules-watch-metadata-changes-in-ide-devices.patch
0001-Use-getenv-when-secure-versions-are-not-available.patch
0002-don-t-use-glibc-specific-qsort_r.patch
0004-add-fallback-parse_printf_format-implementation.patch
0006-src-basic-missing.h-check-for-missing-strndupa.patch
0007-Include-netinet-if_ether.h.patch
0008-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch
0009-add-missing-FTW_-macros-for-musl.patch
0012-fix-missing-of-__register_atfork-for-non-glibc-build.patch
0013-Use-uintmax_t-for-handling-rlim_t.patch
0014-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch
0021-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
PATCH DROPPED:
==============
0005-Make-root-s-home-directory-configurable.patch
systemd has its hardcoded assumption about /home and /, and it also respects
$HOME environment var, so this patch is somehow useless. This patch was originally
added but in fact had no real runtime effect except messing up some hardcoded assumptions,
and it was accidently manipulated during systemd upgrade. We have in fact not
used the orignal patch for more than two releases and things were working out
well.
0006-remove-nobody-user-group-checking.patch
The issue has been fixed upstream by the following commit.
"check nobody user/group validity only when not cross compiling"
0008-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch
0009-nss-mymachines-Build-conditionally-when-ENABLE_MYHOS.patch
The issue has been fixed upstream by the following commit.
"meson: allow building resolved and machined without nss modules"
0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch
0001-sd-bus-make-BUS_DEFAULT_TIMEOUT-configurable.patch
Backport
0022-build-sys-Detect-whether-struct-statx-is-defined-in-.patch
Merged
0023-resolvconf-fixes-for-the-compatibility-interface.patch
0001-core-when-deserializing-state-always-use-read_line-L.patch
0001-chown-recursive-let-s-rework-the-recursive-logic-to-.patch
0001-dhcp6-make-sure-we-have-enough-space-for-the-DHCP6-o.patch
0001-Revert-sysctl.d-request-ECN-on-both-in-and-outgoing-.patch
0001-timesync-changes-type-of-drift_freq-to-int64_t.patch
Backport
0001-sysctl-Don-t-pass-null-directive-argument-to-s.patch
0002-core-Fix-use-after-free-case-in-load_from_path.patch
Merged
0001-meson-rename-Ddebug-to-Ddebug-extra.patch
0024-journald-do-not-store-the-iovec-entry-for-process-co.patch
0025-journald-set-a-limit-on-the-number-of-fields.patch
0026-journal-fix-out-of-bounds-read-CVE-2018-16866.patch
CVE-2019-6454.patch
sd-bus-if-we-receive-an-invalid-dbus-message-ignore-.patch
0005-basic-user-util-properly-protect-use-of-gshadow.patch
0022-Use-if-instead-of-ifdef-for-ENABLE_GSHADOW.patch
Backport
0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch
No build failure for qemux86/qemuppc + musl
PATCH ADDED:
============
0020-missing_type.h-add-__compar_d_fn_t-definition.patch
0021-avoid-redefinition-of-prctl_mm_map-structure.patch
0022-include-sys-wait.h-to-avoid-compile-failure.patch
0023-socket-util.h-include-string.h.patch
0024-test-json.c-define-M_PIl.patch
0001-do-not-disable-buffer-in-writing-files.patch
PATCH OTHERS:
=============
0003-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch
0011-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch
are combined into one patch:
0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch
Add two more PACKAGECONFIG, nss-mymachines and nss-resolve which are introduced
by the following commit.
meson: allow building resolved and machined without nss modules
(From OE-Core rev: 816e08c18dbcf6e84dedc7a4bd96ddfbf2f86ebc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With 2.38.0 gdk-pixbuf dopped the enable_ prefix from the Meson
build options.
(From OE-Core rev: e11e4ebb521882ec64296e65b901ff1d9bccc23a)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Simplify make-image-header.sh call and make sure it gets called in
the current working directory. Also check the return value of the
function call.
(From OE-Core rev: d4c55e2448053b51eb217c61328a2ca25bec0461)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the commit ec6d61cbdd ("mesa: enable native and nativesdk
variants"), the gallium is enabled for the mesa. Since we use the
modesetting driver for the Xorg on the beagleboard and the glamor
acceleration method is enabled by the modesetting driver, the gallium
DRI driver will be used after this commit. But the gallium DRI driver
only support 32bpp and we choose to use 16bpp on beaglebone in commit
e7434c17b4 ("meta-yocto-bsp: workaround the X malfunction on
beaglebone"), the mismatch between them causes the malfunction of the
Xorg. I have hacked the kernel to enable the 32bpp for the beagllebone,
but it has the following issues:
1. The color is abnormal.
2. The Xorg hang occasionally.
3. The performance of using glamor acceleration based on gallium is
pretty bad.
So I choose to disable the glamor on this board.
(From meta-yocto rev: b7a995856c58b507a521a55dcf94bee75804e81c)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps it find the unwind library in sysroot always and not
look around and confuse with host
(From OE-Core rev: e914c03964c540493523b18660f8a4eaeec78e3d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let -Og decide the best debugging experience
(From OE-Core rev: e9a6f67e12864d59bb9178e87635eed2d2785a2a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since compiler does not optimize away a lot of stuff we end up with
Werrors e.g.
./sysdeps/ieee754/flt-32/s_log1pf.c: In function '__log1pf':
../sysdeps/ieee754/flt-32/s_log1pf.c:114:22: error: 'c' may be used uninitialized in this function [-Werror=maybe-uninitialized]
114 | + (k * ln2_lo + c))) - f);
| ~~~~~~~~~~~~^~~~
which otherwise wont happen, so lets build with warnings-as-errors
disabled in debug mode
given we disable werror, now we don't have to restrict user to compile
without -O0
(From OE-Core rev: 9772eaafc1cb5957661d43e8f76c6f9b07b854dc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Og is for optimized debugging experience.
this makes this consistent across different compilers especially gcc and
clang, -O in clang is equal to -O2 where as in gcc its similar to -O1
so it was not giving consistent debugging experience across compilers
(From OE-Core rev: 16643b03227466e2c80a24c2d079fe36e89553c1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the configuration changes from Jon Mason <jdmason@kudzu.us>
to enable graphics for qemuarm/qemuarm64.
Note2: This requires the machine/configuration changes also sent by
John to have working graphics.
(From OE-Core rev: b62c48039834990a9265e6a7ef081a6dbdc489b9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on: https://patchwork.openembedded.org/patch/148047/
When x86_64 enables CONFIG_UNWINDER_ORC [ORC (Oops Rewind Capability)
unwinder for unwinding kernel stack traces], objtool is required to
generate the required information.
If we don't copy objtool to the shared workdir, out-of-tree modules
cannot generate object files.
For instance, meta-skeleton/hello-mod fails with:
| make[3]: *** No rule to make target 'tools/objtool/objtool', needed by ...
(From OE-Core rev: 7d4fdd3b95c949277f77df90bb2e8120b8d167ae)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration tweaks (which were already
on yocto-4.18):
9bddc4aa1eb bsp/intel-x86: Rename CONFIG_R8723BE to CONFIG_RTL8723BE
6504b0ed616 features: drop the obsolete kernel option
5d18756a7fc features/hostapd: drop obsolete configs
bdf91f835b9 bsp/intel-x86: Drop configs that has been removed by kernel
0f8bb536c22 intel-x86: Drop configs which are not defined in kernel
(From OE-Core rev: 5c1c1f223c6618d033ea23abb33dacc230e754de)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[
In order for logging to work, as for example seen with the default
configuration of 'ufw' we need to have logging support enabled. This is
currently gated on the CONFIG_NETFILTER_XT_TARGET_LOG option, so enable
it here.
Fixes: f56608b405f0 ("meta: cleanup invalid/obselete 3.4 CONFIG options")
Signed-off-by: Tom Rini <trini@konsulko.com>
]
(From OE-Core rev: 4f3371b06d878800d2f759e00f7d5f4b244e7bf6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if python3-git isn't installed we can get odd behaviours when the
commit_count is absent. Avoid this set of bugs by adding a fallback here.
(From OE-Core rev: b8d22ed681141ce360d742a96cec5f2925a20222)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst its tempting to call bitbake_main(), the script also directly executes
bitbake. By doing both this creates all kinds of races. Therefore
change to use subprocess execution in all cases.
(From OE-Core rev: 0507ec4c6069490c9a503e9e2b65f0e7b1962d34)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When do world buid, there comes below error:
| ERROR: Nothing PROVIDES 'gtk+3' (but /build/layers/oe-core/meta/recipes-gnome/libdazzle/libdazzle_3.30.2.bb DEPENDS on or otherwise requires it)
| gtk+3 was skipped: one of 'x11 wayland' needs to be in DISTRO_FEATURES
Add the check for GTK3DISTROFEATURES to make
the world build work even without GTK3DISTROFEATURES.
(From OE-Core rev: 5e66a6b4540e5e29f401f7490e9b3b2029ea94a5)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix:
WARNING: python should use 4 spaces indentation, but found tabs in kernel-fitimage.bbclass, line 33
(From OE-Core rev: 00716a795f10e223150b0f9b214d185d654f4cc1)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sorted regression results to provide friendly viewing of report.
(From OE-Core rev: 59d827889dd8b790a7c9323c69565d6bba3041bd)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have been duplicating few variables in glibc recipes which could
actually be defined once, therefore move them to glibc-common.inc which is
included by all glibc family of recipes
(From OE-Core rev: 41093cb6c6d5edccebf41e62ed537779b1ee47bf)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PCRE has an optional JIT for performance.
Add a PACKAGECONFIG for this, enabled by default.
Also add a patch so that auto-detection of JIT availablity, which is required to
enable the JIT by default, works with out-of-tree builds.
(From OE-Core rev: 9421abbbf8fd6ff7c67ac8186a17d1c26583be6f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following options are the defaults, so remove them:
--enable-newline-is-lf
--with-match-size=2
--with-match-limit=10000000
We don't appear to need to pass -D_REENTRANT anymore (added with no explanation
to oe-classic in 2006).
Explicitly adding -lstdc++ doesn't appear to be required anymore (added for
PowerPC in 2008).
This recipe has always rebuilt the character tables but back in PCRE 4.4 (first
added to OE) a copy of the tables wasn't distributed with the tarball so this
was required. Since 2007 the tarball includes the tables for ASCII and
regeneration is only required if we wish to use EBCDIC, which we do not. Drop
the patch adding CC_FOR_BUILD support and remove --enable-rebuild-chartables
(From OE-Core rev: ba84fbf2e59cdaae203b013125817155cb5aa41f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As they are not supported, and would lead to build failures.
(From OE-Core rev: ca3b44760b1a56269d9ba0ec814a2aad4b7640f7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mesa.inc uses PACKAGECONFIG_class-target override to setup default
packageconfigs, which means that when we build mesa-gl for target then
it does no honor the ??= setting we have in mesa-gl recipe, and ends up
compiling egl, gles2 as well, which is not intended.
(From OE-Core rev: e6e6254eb8bee12f830b3848b8e96aafcf1ca918)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is only needed by 95-test_external_pyca_data which is
actually skipped on the target.
[YOCTO #13204]
(From OE-Core rev: 3ccbce74942853fb1dd5b73378f089ad8cd428a3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After eglibc was merged into glibc, Kconfig support was also dropped so
these libc features therefore are not effective anymore and can be
removed
(From OE-Core rev: c62b1cc06613a4cdddf53290e6203559f43fc62d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu-helper-native would erroneously pull in the qemu system
parts, where we only want usermode parts for pgo.
(From OE-Core rev: 9e1f7ebe2529fb7f4728dd67ae60341a61861a50)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The rationale is to streamline the overall build.
The system parts are only needed to run target images, and so can be
built towards the end of the build process. At the same time, the
system parts may need gtk+-native and mesa-native which add significantly
to the build time.
On the other hand, the usermode parts have almost no dependencies
and can be built quickly. They are needed at recipes build time to
run target binaries, and so are required quite early in the typical
build process.
(From OE-Core rev: 4a558a5f2db68538e0edad798ddf48eb9510a7d6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the extrausers class is only useful for image recipes, it is
better to suggest adding it via IMAGE_CLASSES instead of INHERIT in the
example.
Also make the example a bit more readable by indenting the variable
values.
(From meta-yocto rev: 7905aa1ff174e66c5c520b2a4fcc1f0d3863baad)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.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: 58268151704246a81ec8dae46c26346023057554)
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: f778c191dbd5740173b3be07f4c1655d85a07bb2)
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: 4da12c00963b02508056b87ce9b972528ce3a1be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
openssl-ptest was recording now results, despite most tests passing. Fix
so that the successes/skips/failures are reported correctly.
(From OE-Core rev: a4565d62297af62ff86a83685f8d55194cd4db48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes:
Error: Transaction check error:
file /usr/share/man/man8/rmt.8 conflicts between attempted installs of
cpio-doc-2.12-r0.core2_64 and tar-doc-1.31-r0.core2_64
Prior to commit 348a96a5b401 [tar: upgrade to 1.31] the copies of
rmt.8 found in the tar(-doc) and cpio(-doc) packages were the same and
thus no conflict was seen. After the upgrade there were small changes
in the manpage header which results in the conflict quoted above. The
applications themselves make use of the 'update-alternatives'
mechanism to allow a user to select which version of 'rmt' to use but
since the man pages are essentially the same we disambiguate the
source of the man pages and make them both available should both
cpio-doc and tar-doc are both installed. And as such we avoid the
conflict.
(From OE-Core rev: 692d5b1025450bf1c33fb6aa041603f082e2ba4d)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable some tests which hang, blocking many other ptests.
Also add missing test artefacts to improve test pass rate and
fix failures.
(From OE-Core rev: e6f1d15e307a8d2f5f05c9ec9dd8163e9072ad07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently kernel-fitimage gets the dtb from KERNEL_DEVICETREE, however
there are instances when the DTB file can be generated using other
recipes, provide a way to include the DTB instead of inkernel device
tree.
Add support for external device tree during the creation of fitimage. If
virtual/dtb is set using PREFERRED_PROVIDER_virtual/dtb = "devicetree", which
inherits the devicetree.bbclass then use the path provided in
EXTERNAL_KERNEL_DEVICETREE else use KERNEL_DEVICETREE during fitimage process
(From OE-Core rev: 084f4de4dbaf9821516fc0254d35f4fb04311d27)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The AArch64 little-endian ABI requires that the dynamic loader is always
available at /lib/ld-linux-aarch64.so.1. Similarly, the big-endian ABI
requires that the dynamic loader is always available at
/lib/ld-linux-aarch64_be.so.1.
glibc-package.inc contains code that tries to ensure this, but
unfortunately it is defeated by the combination of multilib and usrmerge
because it does not take into account that /lib is the same as /usr/lib
with usrmerge when it adds the loader path to libc_baselibs and when it
attempts to show that /usr/lib is empty in do_poststash_install_cleanup.
This results in the symlink not being included in the package and a build
failure due to rmdir failing.
Richard Purdie also suggested[1] that ${nonarch_base_libdir} should not be
used as a synonym for /lib in this case.
This hopefully-fixed version always sets ARCH_DYNAMIC_LOADER and then uses
${root_prefix}/lib/${ARCH_DYNAMIC_LOADER} to refer to the dynamic loader
which works with both multilib and usrmerge. Since ARCH_DYNAMIC_LOADER is
only non-empty if the symlink is required, the code to create it can move
to do_install_append. Then do_poststash_install_cleanup needs to be taught
that ${exec_prefix}/lib may not be empty if the dynamic loader symlink is
there.
It appears not to be possible to specify the name of the loader via a
variable with an override, since the _aarch64 override is applied even for
_aarch64-be, so I've set the loader name using ${TARGET_ARCH} instead.
Build-tested and inspected core-image-minimal rootfs with:
* AArch64 no multilib (real loader in correct place)
MACHINE = "qemuarm64"
* AArch64 multilib (symlink in correct place)
MACHINE = "qemuarm64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon"
require conf/multilib.conf
* AArch64 usrmerge (real loader in correct place)
DISTRO_FEATURES += "usrmerge"
MACHINE = "qemuarm64"
* AArch64 multilib usrmerge (symlink in correct place)
DISTRO_FEATURES += "usrmerge"
MACHINE = "qemuarm64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon"
require conf/multilib.conf
* big-endian versions of all of the above by also setting
DEFAULTTUNE = "aarch64_be".
(building glibc only.)
* x86_64 (real loader in /lib as before)[2]
MACHINE = "qemux86"
* x86_64 multilib (real loader in /lib64 as before)
MACHINE="qemux86-64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
require conf/multilib.conf
I also tested leaving an unwanted file in ${exec_prefix}/lib for
do_poststash_install_cleanup to detect, and I believe the detection always
worked correctly.
[1] http://lists.openembedded.org/pipermail/openembedded-core/2018-November/276120.html
(From OE-Core rev: a705c0782c863ee960d65b5109168a4587a0a7b7)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For multilib to work correctly, BASE_LIB overrides must be provided for
each new tune added in this file.
(From OE-Core rev: e39c5ec90ebbc37064c9cd59eba12603317740cd)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7
The two patches have now been upstreamed. Apart from those changes, the
only thing that changed was the hwmixvolume tool, which got ported from
PyGTK to PyGObject, and from GTK 2 to GTK 3.
When testing hwmixvolume, I found that it depends on pyalsa, which has
not been packaged for OE. I believe hwmixvolume has never worked on OE.
It certainly didn't work before this patch, trying to build it failed
due to python-pygtk not being available. Even if python-pygtk was
available at some point in the past, hwmixvolume has always used pyalsa,
but the alsa-tools recipe has never had that dependency declared.
(From OE-Core rev: b1426844235a64246d46d71cf826e871c92d7ed4)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A revamp of the syscalls/setregid tests made to use a new
library [LTP:7a1b4427] required a conversion to test messages.
This test in particular did not include a formatted string,
but a just a string element:
testcases/kernel/syscalls/setregid/setregid01.c
This patch allows LTP to be built with -Wformat,
-Wformat-security, and -Werror=format-security.
(From OE-Core rev: ecee899dec53d324053112ed8764268fef930408)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid conflicts with other forks of glibc remove the diff from the
ChangeLog.
(From OE-Core rev: 695d79af1edcc76a01055b01922f0d106c8291ca)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds documentation to explain that src-pkgs can be added to
EXTRA_IMAGE_FEATURES
(From meta-yocto rev: 9b00dcb40b7b8a1aeb57fa8447900cf1fe832e2e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While not strictly required, list shadow-base as the example to use for
VIRTUAL-RUNTIME_login_manager when configuring for systemd. This
provider matches what is found in for example Debian and is also one of
the non-intuitive VIRTUAL-RUNTIME alternatives, so it's good to have an
example in use somewhere.
(From meta-yocto rev: 7a75d20f1361a64bebfd2ad228ebde1a823fd239)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is now in default-distrovars, so remove it from poky.conf.
(From meta-yocto rev: 4da8ef338252667696b82141ae67d0b426255fbe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mirrors.bbclass already adds downloads.yoctoproject.org/mirror/sources for FTP
and HTTP to ${MIRRORS} so there's no need to do it again.
(From meta-yocto rev: 67b79df4fbffcf677f8d127c00672f0d7c6c434b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This overrides the default assignment in qemu.inc and in doing so removes
RISC-V.
(From meta-yocto rev: 8cc9423649b2702c0ded721244a017b371b3a244)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, this would happen:
======================================================================
ERROR: test_vercmpstring (bb.tests.utils.VerCmpString)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/alexander/development/poky/bitbake/lib/bb/tests/utils.py", line 45, in test_vercmpstring
result = bb.utils.vercmp_string('1.', '1.1')
File "/home/alexander/development/poky/bitbake/lib/bb/utils.py", line 143, in vercmp_string
return vercmp(ta, tb)
File "/home/alexander/development/poky/bitbake/lib/bb/utils.py", line 135, in vercmp
r = vercmp_part(va, vb)
File "/home/alexander/development/poky/bitbake/lib/bb/utils.py", line 124, in vercmp_part
elif ca < cb:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
----------------------------------------------------------------------
(Bitbake rev: fef56d28c3efec4876c379898cbc4d4c65303aee)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perl and its dependencies have a decent footprint impact. On my
xz compressed filesystem:
634880: /usr/lib/libperl.so.5.24.4
Put c_rehash in the openssl-misc package so the dependency can be
avoided where it isn't needed.
Change-Id: Iae9bccabfb1c8cfa1401ca6785abc39713d3fdf0
(From OE-Core rev: d2b1a889ef8fb9e6a2fa3d9bfc3eaf6113db9b1f)
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Ubuntu 16.04 LTS userspace is build for PowerPC 32-bit while kernel
selected by the installer depending on PowerPC machine type:
* 32-bit for PowerMac G4 (ppc7400) and below
* 64-bit for PowerMac G5 and above
Thus uname(2) returns ppc64 for 64-bit kernels and 32-bit userspace
making build impossible due to missing some of lib64 multilib
equivalents in Ubuntu repository.
Using setarch(8) override to make whole host look as PowerPC 32-bit
can actually help with build but requires mapping for ppc target to
their libgpg-error equivalent to fix native build.
Build tested on Ubuntu 16.04 LTS host on PowerMac G5 with command:
MACHINE=qemuppc setarch ppc bitbake core-image-full-cmdline
(From OE-Core rev: e81a5a640a2a00c43796cd47e168c93bb389a6c8)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building musl for powerpc64 enforces elfv2 ABI since commit 68c964185519
("arch-powerpc64.inc: Use elfv2 ABI when building with musl") that is
not compatible with valgrind.
(From OE-Core rev: d4eb90b5a4bc5fd8619120f783bc78b0e7dc829e)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use commit 4f07ffa8f5ab ("Use #if instead of #ifdef for ENABLE_GSHADOW")
from upstream to check ENABLE_GSHADOW correctly that is defined as 0
in case of musl.
While there replace specific patch with one from upstream that does
exactly the same commit 66a5b5ce9b99 ("basic/user-util: properly protect
use of gshadow").
(From OE-Core rev: c9580ef0810196f6703567d9db458b73dbbfb35f)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Licence checksum updated because the copyright dates were changed.
(From OE-Core rev: f3896b69c78abeaefc1c60e7a6d7b2ed85eb7015)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson has been found to set it erroneously.
(From OE-Core rev: 920824125eb87928a329a072fa6c5a839efc932b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PRINTF settings no longer seem necessary (tested with mingw).
Add meson-specific bits to Enable-more-tests-while-cross-compiling.patch and
0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
Add 0001-Set-host_machine-correctly-when-building-with-mingw3.patch
to allow 'mingw32' as target machine in addition to 'windows'.
Add 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch to
correct ARM build errors.
Drop configure-libtool.patch (autotools-specific).
Fix API docs generation
(From OE-Core rev: e185235dd97510bfdc621cef9c18d8d13b16006d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Disable-tests-in-native-builds.patch as upstream has fixed the issue.
Rework 0001-Fix-a-couple-of-decisions-around-cross-compilation.patch to
enable generation of loaders.cache in target builds (using a native tool),
because otherwise building tests becomes impossible.
Rework 0002-Work-around-thumbnailer-cross-compile-failure.patch into
0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch
(which deals with substituting native tools in cross builds) and
0004-Do-not-run-tests-when-building.patch (which avoids running
test binaries during cross builds).
Rebase fatal-loader.patch.
License checksum updates as COPYING file had 2.0 version of LGPL and
has been replaced with 2.1 version.
Take meson's x11 and installed_tests options into use.
Install gdk-pixbuf-query-loaders also into $bindir, as we need the native
version during cross compile.
(From OE-Core rev: 8fb16df2e6977bb3508239eb8d447b8c5401d5ed)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu has been using libepoxy for a long time, and libepoxy loads GL via dlopen()
only when instructed to.
(From OE-Core rev: d974e0e9a290d66b702e5ca1d01873282763437b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ltp doesn't build cleanly with the stringformat security flags, work around
this until upstream sorts out the issues.
(From OE-Core rev: ce0e5719c9b10121c32be67237b88b0289499f2f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch has been refreshed:
* 0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
These patches have been dropped as they have been merged:
* 0001-netns_helper.sh-use-ping-6-when-ping6-is-not-avaliab.patch
* 0001-setrlimit05-Use-another-method-to-get-bad-address.patch
* 0001-sigwaitinfo01-recent-glibc-calls-syscall-directly.patch
* 0001-statx-fix-compile-errors.patch
* 0001-syscalls-fcntl-make-OFD-command-use-fcntl64-syscall-.patch
* 0001-getcpu01-Rename-getcpu-to-avoid-conflict-with-glibc-.patch
This patch has been added:
* define-sigrtmin-and-sigrtmax-for-musl.patch
Added these rdependencies:
* file: for ld01, file01 and logrotate
* quota: for quota_remount_test01
(From OE-Core rev: d198364c1007aab6523787f9e1bb6bb274cc89ad)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GTK_THEME instructs gtk to use its built-in theme. Otherwise
gtk attempts to use the theme from the host, which may be from
a totally mismatching gtk version.
On the other hand FONTCONFIG_PATH tells it to use the host fonts,
as providing fonts in the native sysroot and instructing the components
to use them is a lot more tricky.
GDK_PIXBUF_MODULE_FILE is set, because otherwise qemu works but
fills stdout with error messages, which eventually fill the pipe
they go into. That pipe is read from only when qemu exits (to
collect any error messages) by runqemu script. The pipe fill-up
causes the qemu process to lock up.
(From OE-Core rev: d5b8a65861adba298a9dc2c4e9a7a7da5490073a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| In file included from /home/alexander/development/poky/build-virgl-gtk-64/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/3.1.0-r0/qemu-3.1.0/include/ui/egl-context.h:5,
| from /home/alexander/development/poky/build-virgl-gtk-64/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/3.1.0-r0/qemu-3.1.0/ui/egl-context.c:3:
| /home/alexander/development/poky/build-virgl-gtk-64/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/3.1.0-r0/qemu-3.1.0/include/ui/egl-helpers.h:46:55: error: unknown type name 'Window'; did you mean 'minor'?
| EGLSurface qemu_egl_init_surface_x11(EGLContext ectx, Window win);
| ^~~~~~
| minor
(From OE-Core rev: 01324f5e741a106cdb4b2989379f71b0b727a224)
Signed-off-by: Alexander Kanavin <alex.kanavin@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: d39d196713a68df8d298f6ed0f40899bc148a323)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13146]
I added some information to the "Using menuconfig" section to
indicate two host packages that must be installed in order for
menuconfig to run.
(From yocto-docs rev: 4f5b12ebe8f8c0ab23001b8fc770295dc585429c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to have a predictive number of tags and branches
in the example commands that assume a released 2.7 version.
(From yocto-docs rev: b9f302cf819dbe759b560f4586edaedfae13e3d9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13112]
Added a reference in the FILESOVERRIDES variable description
to the FILESPATH description to see an example of how automatic
overrides work.
(From yocto-docs rev: e78fc3468de3d9b9935f0e4f4aa4117b6805e631)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were a couple of problems with the multiconfig dependency resolution:
- the "if mc" condition triggering this code wasn't correct, it needs
to be "if more than one multiconfig" configured
- after adding providers we need to call add_unresolved again
and rebuild mcdeps within the "while new" loop
By fixing these issues we allow various other combinations of multiconfig
builds to work which previously didn't.
[YOCTO #13090]
[YOCTO #13130]
(Bitbake rev: 4359b037de578095db2595f119dfb8e3340e1414)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was already a fix to ignore some multiconfig dependencies but its
'opposite' case wasn't covered. Cover that combination to so as to avoid
tracebacks in multiconfig builds.
[YOCTO #13090]
[YOCTO #13130]
(Bitbake rev: c883dfe378af9dfc192a8e392e84325d68648806)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The consumers of BB_TASKDEPDATA in OE metadata can't cope with multiconfig
dependencies. The choice is either to start adding code to each of them to
filter out multiconfig dependencies, or do this at source.
After consideration we've decided to do this at source as doing otherwise
is code duplication and error prone and in any case we've looked at, they
don't make sense.
[YOCTO #13090]
[YOCTO #13130]
(Bitbake rev: 531dcd221a10853f45cc057b52bb2d5083e0ee42)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The warnings deal with two specific cases of failure:
1) unable to execute nativesdk postinsts for mingw SDKs because
they need to be run under wine
2) unable to execute target postinsts when there is no qemu
usermode support for the target
Neither of these should be a big problem as mingw issue was never
found to problematic, and target postinsts deal with things that
are needed at runtime and not at build time which is the purpose
of SDKs.
The specific reason to do this is to reduce the amount of warnings
shown by the Yocto autobuilder, to zero eventually.
(From OE-Core rev: cbc32fcd9b52e750600cce9dd84b33e3ce612eae)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade dpkg from 1.18.25 to 1.19.4:
* update SRC_URI which DEBIAN_MIRROR
* un-export PERL which causes script scripts/dpkg-architecture.pl fails
to get cpu type and package arch
* add configure option '--disable-update-alternatives' which causes
installed-vs-shipped issue
* add patch for dpkg-native to resolve host tar may not support
options --owner=NAME:ID and --group=NAME:ID
* update context of patches
* drop dpkg-configure.service that apt provides a systemd timer to do it
(From OE-Core rev: 5185b6fe3d4fa9b53baffa6ee419da60ac056da2)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the use of an alternate SSH executable for deploy-target and
undeploy-target. The command can be specified with -e / --ssh-exec.
(From OE-Core rev: c2684740d7fd3aeb60b3ec7888000097effe82f4)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license checksum changed due to a change in copyright years.
(From OE-Core rev: ee3057bf109b2d11ecb0089c2c424e9b6033932e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using a native specific packageconfig option, we now set
the swrast as the supported driver.
Currently the native version does not build any dri drivers at all.
This is intentional: mesa-native is used only by virgl, so was made
the most minimal possible configuration for mesa-native so that a)
virgl works; and b) build time is as short as possible.
There are two swrast drivers, one dri-based, another gallium-based.
Autotools lets you build both, meson forces you to choose.
Thus DRIDRIVERS = "swrast" is only set for _native, as for _target
we get the gallium driver instead.
See discussion here [1]
Based on https://patchwork.openembedded.org/patch/158748/
[1] https://patchwork.openembedded.org/patch/158806/
(From OE-Core rev: 223ee432b908180932bf70e77d4058964d7f0786)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The perl-cross uses PERL_API_VERSION but not PERL_VERSION to define
libperl soname: libperl.so.$PERL_API_REVISION.$PERL_API_VERSION.$PERL_API_SUBVERSION.
For perl stable releases, the PERL_API_SUBVERSION is always 0. Specify
the so version for libperl to make sure the libperl.so can be linked to
the correct library.
(From OE-Core rev: 6257fcd86e63fe533aeaadbc65a54213b4885c16)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake gdk-pixbuf gdk-pixbuf-native
bitbake build-sysroots -c build_target_sysroot
can lead to tracebacks as gdk-pixbuf-native is being installed into the
target sysroot. The issue is that the x86_64 (common BUILD_ARCH) sysroot
components directory can contain a mix of native and target artefacts.
Differentiate by the "-native" in the recipe names. Should also trim
down the size of the sysroot used in eSDK.
(From OE-Core rev: 57f32836060bba0eaa6b36f53146dd6fd07b77ed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When you install the eSDK in publish mode and then try to build a
derivative sdk using devtool build-sdk, the following error happens
| NOTE: Generating sstate task list...
| NOTE: Generating sstate-cache...
| NOTE: Generating sstate-cache...
| DEBUG: Python function copy_buildsystem finished
| NOTE: Executing install_tools ...
| DEBUG: Executing shell function install_tools
| install: cannot stat /core/meta/files/ext-sdk-prepare.py':
No such file or directory
This patch will fix the error by installing ext-sdk-prepare.py in
publish mode, so that derivative sdk can be generated.
(From OE-Core rev: aab4089a57a655ca5a7792f05eb5d8dcdb934ae1)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add virtual provider for dtb. This class can be used to generate dtb
from static devicetree, for reference see meta-xilinx layer
meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb
By providing a virtual provider we can use it to differentiate between
in-kernel dtb or an external one. This can be set in local.conf as
PREFERRED_PROVIDER_virtual/dtb = "devicetree"
(From OE-Core rev: a7d52dbffd0da95de82d910c595a6c27d9b2ad0d)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We shipped an old version that was missing several fixes.
A minor incompatibility is that this moves
/etc/lighttpd.conf -> /etc/lighttpd/lighttpd.conf
(From OE-Core rev: bd46eeee09e99ae4646a92f5bf5bc3c619e63cde)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 1.29.3 -> 1.30.1 upgrade lost support for sleep with
float values (e.g. "sleep 0.1") since this replacement for
CONFIG_FEATURE_FLOAT_SLEEP (enabled in thud) was missing.
(From OE-Core rev: 3f6021e8b444e9b8f7aae0c564bef1d3c9634198)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ftp server has been flaky recently.
(From OE-Core rev: 9257ba3cdadc0721fad7d57a5fd75e7cd45fd53c)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelogs:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8
There's a new program, axfer, which is a reimplementation of aplay (and
arecord). The purpose of the rewrite is to have code that is easier to
maintain. For now both implementations exist, and I decided to put both
in the aplay package.
The new 89-alsa-ucm.rules udev file initializes the mixer settings for
certain hardware. It's needed for making the hardware usable at boot, in
case there's no higher level software (such as PulseAudio) managing the
mixer settings. Shipping hardware specific configuration in alsa-utils
seems wrong, but I don't know what else to do. I added it to the alsaucm
package, because it's kind of tied to the alsaucm utility (the udev
rules execute the alsaucm program, and the build system installs the
rules file only when alsaucm is enabled). Ideally the UCM configuration
in alsa-lib would define the default UCM verb for each hardware, then
the udev rules file could just enable the default verb, and there would
be no hardware specific configuration in alsa-utils. But that requires
upstream development effort.
SRC_URI was changed to a more reliable source (at least currently the
ftp server is flaky).
(From OE-Core rev: f78e2fc921093cdd279f4245760b5e0a7adbe85c)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelogs:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8
The --enable-avcodec configure option was renamed to --enable-libav, and
I renamed the respective packageconfig item too.
There's a new pcm plugin: aaf (AVTP Audio Format). I added a
packageconfig item for it, but I didn't test it, because libavtp doesn't
seem to be currently packaged for OpenEmbedded.
There are now configuration files for most of the plugins. I removed the
symlink creation for 50-pulseaudio.conf, because upstream now creates
the symlinks for us. 99-pulseaudio-default.conf is an exception, because
upstream ships it only as an example, and upstream doesn't install a
symlink for it (upstream actually installs it directly under /etc, but I
moved it back to /usr/share), so for that file we still have to create
the symlink ourselves.
The lavcrate plugin was converted to use libavresample (and renamed to
lavrate). Libavresample is provided by ffmpeg, but ffmpeg was by default
built with libavresample disabled. This patch now enables libavresample
by default in the ffmpeg recipe in order to not cause a regression in
alsa-plugins.
SRC_URI was changed to a more reliable source (at least currently the
ftp server is flaky).
(From OE-Core rev: ddf5421331180bc45697511b44cdd4a4e6dda6ff)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelogs:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8
One significant change was that the search path of add-on configuration
files was changed from /usr/share/alsa/alsa.conf.d to /etc/alsa/conf.d.
Packages that install such files should still use the /usr/share
location, though. Symlinks need to be created from /etc to /usr/share.
The rationale for using /etc is that the system administrator can better
control the configuration that way, and the rationale for installing
files under /usr/share is that configuration snippets that are installed
by packages are not meant to be directly edited by the administrator.
alsa-plugins had to be modified to add symlinks for the configuration
snippets that it installs. I also added FILES_${PN} = "", because the
alsa-plugins package is supposed to be empty, but also because for some
reason that I don't understand the symlinks would otherwise go to the
alsa-plugins package rather than alsa-plugins-pulseaudio-conf.
SRC_URI was changed to a more reliable source (at least currently the
ftp server is flaky).
(From OE-Core rev: 91f506958e4b7e9b8e8f1dcfe4a8aa4bdac7c5d1)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio does not exist,
nor any of the compressed variants, nothing is copied to kernel build's
./usr directory.
The code does not fail, but silently proceeds without a bundled initramfs.
Change to fail and tell the user something is wrong.
Also, if an initramfs is found, contrary to the comments, it does not stop
at the first uncompressed/compressed cpio image found. Instead it keeps
processing all so the last is used. Fix this to behave as per the comments.
[YOCTO #12909]
(Patch by Leon Woestenberg)
(From OE-Core rev: 5b5604e288af755eb5553a97d26533445b2cf94b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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: 0ee636bc89d93282cb3d3cd747b3dd046f6e5a9c)
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: ff2c029b568f70aa9960dde04ddd207829812ea0)
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: f24dc9e87085a8fe5410feee10c7a3591fe9d816)
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: 78a322d7be402a5b9b5abf26ad35670a8535408a)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license checksum changed due to a change in copyright years only.
(From OE-Core rev: f45e890838544bcb77cf2e8503994ef894d3071e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license checksum changed due to copyright year changes.
(From OE-Core rev: a50aa22a229e8c13d36528a9e5a776688a5133a7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following two patches are removed as they are not needed anymore.
0001-Unset-need_charset_alias-when-building-for-musl.patch
0001-explicitly-disable-replacing-getopt.patch
(From OE-Core rev: cc8c9b36258d0bb1635b2d4644d7fc64357c5110)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meant to fix this pre merge, the git revision is the PV so no need to
add SRCPV.
(From OE-Core rev: 3233096f0dbada97d9d71c98044150a641bfb0a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the musl specific do_install, as it's not suitable for this
version.
(From OE-Core rev: 348a96a5b4016a7615f8d22c03ec1ced60367c3b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.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)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for gobject-introspection.
Add v2 API fixes to the gtkdoc/gi disabling patch.
Add a dependency on glib-native to allow use of glib-mkenums.
Disable v2 API/library for now as libdnf is not compatible with it,
yet is erroneously linked against it (if it's enabled).
(From OE-Core rev: 3db1883a109b520909b12e91028ce8a79923e8f5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport the CVE patch from the upstream
commit 3f635fb43389b54f682fc9ed2acc0b2aaf4a923d
(From OE-Core rev: 518be39ac82593c539144ac83acc459a45b7a81d)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recipe glade do_configure failed after python upgrade
to 3.7.2, it will do runtime check of python headers
with native python3 under recipe-sysroot-native, it will check under
path INCLDIRSTOMAKE, but this value is '/usr/include /usr/include
/usr/include/python3.7m /usr/include/python3.7m', which will cause
below error:
ERROR: This autoconf log indicates errors, it looked at host include and/or
library paths while determining system capabilities.
fix it by replace /usr/include to STAGING_INCDIR
(From OE-Core rev: 4975a283478ec3cbde813a1b27ab318de4aa8051)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License checksum changed due to cleanup, all URLs converted to https.
need_charset_alias is no longer being used, drop the patch.
(From OE-Core rev: 867a70ebbefcddae21f0668248fa22e2c4d3f849)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gnulib.patch for glibc-2.28+ has been upstreamed.
(From OE-Core rev: 4242c5bce21e723b22bd1dc59b911ed536c8e526)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License checksum changed due to updated copyright year and cleanup.
3 patches for miniacc.h were incorporated upstream.
Build-tested on qemu targets, including x32.
(From OE-Core rev: e243edc0456858d26b21a5b643ea9c0ae143fa4b)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Volatiles processing now handles bind mounts, so update the comment in
the core file to indicate this.
(From OE-Core rev: 520e8f5721aab90815186533038c2f9f834546d5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package task for glibc-locale takes a very long time to execute,
especially if using qemu. In that case, a progress meter helps a lot to
show the progress of the task.
(From OE-Core rev: bd2f9b2785779ef65c0c3664dae03b01ced59f6d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
prep_locale_tree() predates the usrmerge DISTRO_FEATURE, which meant it
was not prepared for the case when ${base_libdir} == ${libdir}. This
lead to it extracting files and directories where it shouldn't.
(From OE-Core rev: 0bfc4dd0a9acc305b78fe9d5c2a7fb9afe708684)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise it matches versions for 'rcairo' as well.
(From OE-Core rev: 699623d01f34c061260e98d3d9f0c9cae37edbe6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This required adding an option to control gobject introspection
via a custom patch, and tweaking clutter.bbclass to not enforce
autotools.
(From OE-Core rev: 9b9c12268bf9365101da4a985f70c06740dfeb8f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This cleans up the handling of the dependency and gets rid of a use of
remove which should never be needed in OE-Core.
(From OE-Core rev: 93c6e5023d74bf6fae8e3a70afd9dca6b1ab555a)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building fitimage_initramfs, the correct depedency is to build
after do_bundle_initramfs. We can run into the following dependency
issue
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_assemble_fitimage_initramfs
aarch64-xilinx-linux-objcopy: 'vmlinux': No such file
This happens because initramfs renames vmlinux to vmlinux.bak while
generating vmlinux.initramfs, there is a chance that fitimage_initramfs
can also start during this process and create the above issue.
This patch resolve the dependency issue by running fitimage_initramfs
task after do_bundle_initramfs
(From OE-Core rev: 8f0bece39a634fce5bd882cbd9e289ea905a0b17)
Signed-off-by: Varalaxmi Bingi<varalaxm@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- update to last stable version 1.30.1
- remove and refresh already merged patches
- re-generate defconfig
(From OE-Core rev: 11b46b846899b294c496c94659c0c3cef35e0557)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the mechanism for breaking out of the dependnecy loop analysis
code is broken and doesn't work leading to bitbake appearing to hang.
Add in a custom exception for this purpose and fix the code to exit
as intended, fixing the hang and making the dependency loop code
usable again.
(Bitbake rev: 8756e4ade67c16e35269ea0659e10b9ebaa6117f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe is special and recursively references poky, the AUH should
ignore it.
(From OE-Core rev: 4e3876d86139e25b234456f09c14095a58eef585)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bmap-tools 3.5 was released August 2018 but has no release tarball, so
switch to using the git fetcher. Also pull in the fix for StopIteration
being transformed into RuntimeError for Python 3.7.
(From OE-Core rev: 3fbee26af2f3263180f75652b5dd6e50adb1d8fe)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The style of this recipe is dated, move most of the code into the main
shared include file, making some of the configuration much clearer using
modern overrides to do so.
(From OE-Core rev: b422d94b1b42fd3be42fd1ba95dbcab10e2ab4ef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Native recipes don't currently honour their RDEPENDS. In the case of
some python scripts this has started causing problems since whilst they're
not needed at build time (DEPENDS), they are needed at runtime.
We put off making this change due to circular dependency issues. I believe
the three such problems in OE-Core are now fixed, as is the dependency loop
identfication code in bitbake so its time to improve this situation.
[YOCTO #10113]
(From OE-Core rev: c62520b63284927e177831c351fafa4d2768cb1f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These previously didn't do much and now we're fixing them we have a circular
dependency problem in the native case we need to break.
(From OE-Core rev: 5cf10dcfe36c2c32c149292d0f86e943f23268a3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we fix native RDEPENDS handling, it exposes a problem where there
is a circular dependency between shared-mime-utils and glib-2.0-native.
Break this dependency in the -native case.
(From OE-Core rev: d2616aa222e98fa1bc6f0b7892ad358642144be1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is actually inactive and inaccurate. If we fix other code to
enable native RDEPENDS handling, this then breaks.
quilt-native is early in the dependency tree and can't depend on
util-linux-native which may need to applu patches. The pieces of
util-linux which quilt needs are long established as part of HOSTTOOLS.
The other RDEPENDS are already part of ASSUME_PROVIDED. util-linux-native
doesn't belong there since it has multiple components and is used as a valid
dependency elsewhere in the codebase.
(From OE-Core rev: 1b627ab06351bccdb0886b92a5a6610cbe36faf4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If large results values are returned by the subprocesses, we can hit a deadlock
where the subprocess is trying to write data back to the parent, the pipe is full
and the parent is waiting for the child to exit.
Avoid this by calling the update() method which would trigger reading a result
from the child, avoiding the deadlock. The issue is described in
https://bugs.python.org/issue8426
(From OE-Core rev: 0035e8066ecbbff94d6a1994a9f72b1368d660d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we parallel process the files we install running dwarfsrcfiles over
each one in parallel threads but requiring a lock to write the results to one
file. This is not ideal for performance and means we can't then use per file
data for other purposes such as source code license processing.
Rework the code so that the list of source files is generated per installed
file and is reusable.
The code still generates a null separated debugsources.list file since this
is used by a shell pipeline but it no longer needs locking.
(From OE-Core rev: 95de93988eb725c14102f642ebabff3920ae194f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13112]
Did some paragraph re-ordering based on reviewer feedback.
Also, added a bit in the FILESOVERRIDES variable description
about out it uses overrides to help with automatic overriding
of the FILESPATH variable. Added some better links into the
BitBake User Manual as well.
(From yocto-docs rev: 6ad5c6f030501cda9bc8ea648d9d7c0e991f55cf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When icecc is not installed, the `which icecc` command in icecc-env.sh
returns nonzero. This happens when environment is being sourced. When
the terminal has `set -e`, the whole script fails and terminal is
closed.
Fix this by ignoring errors from the which command.
(From OE-Core rev: 27a8c14039970105238b66b9f3025435cb7e8a58)
Signed-off-by: Adam Trhon <adam.trhon@tbs-biometrics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tools were built with CC_FOR_BUILD which points to the target
compiler. The current patch avoided issues by deleting some of the
binaries during install.
This patch replaces the CC_FOR_BUILD with CC so the tools are built with
the target compiler. This means the binaries no longer need to be
deleted.
I stumbled upon this by trying to globally add "--ffile-prefix-map", which
is not supported by my host GCC, to get rid of some "buildpaths" QA Warnings.
Cc: Robert Yang <liezhi.yang@windriver.com>
(From OE-Core rev: ea98fd17ae38efca13ce97c2e0eaacb8cfde597d)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QA team found that 10 manual bsp test cases from Testopia for
Beaglebone, EdgeRouter, and MPC need to be up streamed
[YOCTO #12650]
(From OE-Core rev: f47410899eb97cfd7db428f45b7ba354c609b4d5)
Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Following changes are applied:
710963f Merge https://github.com/ajaykuee/linux-firmware
c24aec4 nvidia: add TU10x typec controller firmware
28f5f7d Merge git://git.marvell.com/mwifiex-firmware
f30a319 Merge branch 'ath10k-20190201' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/linux-firmware
8fcf0ec bnx2x: Add FW 7.13.11.0.
8bf607c amdgpu: add firmware for vega20 from 18.50
578aee3 amdgpu: bump year on license
bd72387 linux-firmware: update Marvell PCIe-USB8997 firmware image
6cfdd52 linux-firmware: update Marvell SD8897-B0 firmware image
2206320 linux-firmware: add Marvell SD8977 firmware image
6b5e23a ath10k: QCA9984 hw1.0: update firmware-5.bin to 10.4-3.9.0.2-00021
0eef77d ath10k: QCA988X hw2.0: update firmware-5.bin to 10.2.4-1.0-00043
1bd5312 ath10k: QCA9888 hw2.0: update firmware-5.bin to 10.4-3.9.0.2-00024
97b1f93 ath10k: QCA6174 hw3.0: update board-2.bin
a8b75ca Merge tag 'add-rpi-fw' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux-firmware
56483ad brcm: Add BCM43455 NVRAM for Raspberry Pi 3 B+
638a91a brcm: Fix filename for BCM43430 NVRAM for the Raspberry Pi 3 Model B
bc65650 amdgpu: add raven2 fw for 18.50 release
32201bb amdgpu: add picasso fw for 18.50 release
b1eae29 Revert "brcm: Add BCM43455 NVRAM for Raspberry Pi 3 B+"
89d37c6 linux-firmware: Update firmware file for Intel Bluetooth,8265
f089658 linux-firmware: Update firmware patch for Intel Bluetooth 8260
ae90c3b linux-firmware: Update firmware file for Intel Bluetooth,9260
9723ba4 linux-firmware: Update firmware file for Intel Bluetooth,9560
c7148ed Merge tag 'add-rpi-fw' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux-firmware
128441e Merge tag 'iwlwifi-fw-2018-12-30' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware
56cbf41 Merge git://git.marvell.com/mwifiex-firmware
930f276 brcm: Add BCM43430 NVRAM for the Raspberry Pi 3 Model B
fca5958 brcm: Add BCM43455 NVRAM for Raspberry Pi 3 B+
63ca64a linux-firmware: update Marvell USB8801 B0 firmware image
b727739 iwlwifi: update firmwares for 9000 series
80dee31 cxgb4: update firmware to revision 1.22.9.0
0f22c85 Revert "amdgpu: update vega10 fw for 18.50 release"
117d211 brcm: Add 4330 NVRAM for the Prowise PT301 tablet
912d6a5 brcm: Add 43430 NVRAM for the Chuwi Vi8 Plus tablet
f16cf5e brcm: Add 43340 based AP6234 NVRAM for the Meegopad T08 HDMI stick
5a2766c brcm: Add 43430a0 based AP6212 NVRAM for the Jumper EZpad mini 3 tablet
867ac13 brcm: Add 43430a0 based AP6212 NVRAM for the Onda V80 Plus tablet
a5662fb brcm: Add 4356 based AP6356 NVRAM for the GPD win handheld
f055ceb brcm: Add brcmfmac43362-sdio.lemaker,bananapro.txt symlink
d9430ac brcm: Add 43362 based AP6210 NVRAM for the Cubietech Cubietruck
eb34562 WHENCE: Put quotes around brcmfmac NVRAM filenames
be15035 check_whence.py: Add support for filenames with spaces in them
e6b9001 rtl_bt: Add firmware and configuration files for the Bluetooth part of RTL8723BS
3de2546 Merge git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware
494709e Merge branch 'BXT_HUC' of git://anongit.freedesktop.org/drm/drm-firmware
8707ef3 iwlwifi: update firmwares for 8000 series
156b549 iwlwifi: add -43.ucode for 9000 series
8a396b6 iwlwifi: update -41.ucode for 9000 series
211de16 brcm: provide new firmwares for BCM4366 chipset
813fa1f Mellanox: Add new mlxsw_spectrum firmware 13.1910.622
a330ddb Merge branch 'for-upstream' of https://github.com/crojewsk/linux-firmware
8de1d88 cavium: Update firmware for CNN55XX crypto driver
a7ea5a8 amdgpu: update vega12 fw for 18.50 release
ec4b0cd amdgpu: update vega10 fw for 18.50 release
1abe3c3 amdgpu: update raven fw for 18.50 release
6e38fef amdgpu: update polaris11 fw for 18.50 release
df89864 amdgpu: update polaris10 fw for 18.50 release
a91e850 amdgpu: add firmware for vega12
6cca138 amdgpu: Add new polaris MC firmwares
e8404a6 amdgpu: Add new polaris SMC firmwares
8aa9e3e linux-firmware: Update AMD cpu microcode
f3f6ada Merge branch 'MSCC-PHYs' of https://github.com/QSchulz/linux-firmware
4bbd950 Merge branch 'for-upstream' of git://git.chelsio.net/pub/git/linux-firmware
d9fb2ee nfp: update Agilio SmartNIC flower firmware to rev AOTC-2.10.A.13
57d49d5 microchip: add firmware for VSC8574 and VSC8584 Ethernet PHYs
82f6dbf linux-firmware: intel: Update Cannonlake audio firmware.
69f153b firmware/huc/bxt: Add huC Update for BXT
5904eab nfp: update Agilio SmartNIC firmware to rev 2.1.16
e7cdec4 cxgb4: update firmware to revision 1.21.5.0
License-Update:
- LICENSE.amdgpu: Copyright year update;
- WHENCE: New firmware files additions and version updates;
(From OE-Core rev: 4e6d242eb9678430df387c0c106d305df6d2e71b)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perf's jvmti support builds libperf-jvmti.so that needs to be packaged
as part of the main package, not a developer package. Given there's no
files in the developer package, override FILES_SOLIBSDEV so it's not
gobbled by FILES_${PN}-dev, and then add just that file to FILES_${PN}
so that if in the future there other files which would be added to the
dev package we'll fail then.
(From OE-Core rev: 284763fcf188a497f15a1c69a50ceeee99d546f8)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix another load of regex escape sequence warnings for newer
python versions.
(From OE-Core rev: bd2c125bb9c362b6122e99dfdf4e1cfe12c26a90)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Just stating the recipe counts are different isn't helpful, showing
the differences makes it much easier to understand what changed.
(From OE-Core rev: 1d84b782e3af6f0e6922d72895c905877cc33739)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids errors when running populate_sdk under opkg:
* Problem 1/1:
* - package busybox-dev-1.30.1-r0.core2-64 requires busybox = 1.30.1-r0, but none of the providers can be installed
*
* Solution 1:
* - allow deinstallation of target-sdk-provides-dummy-1.0-r0.sdk-provides-dummy-target
* Solution 2:
* - do not ask to install a package providing busybox-dev
(From OE-Core rev: 8517cf2ac73277d606cc82b73cd4ae64c6bd0faa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For changes, see:
https://gitlab.gnome.org/GNOME/glib/blob/glib-2-58/NEWS
* Upstreamed patch removed: date-lt.patch
* Tweaked another to remove a hunk trying to find a binary from
glib-2.0-native which isn't needed anymore as the code is in python
now.
* Add locale-base-pl-pl to RDEPENDS for ptest as the fix has been
resolved and merged.
* Remove libdir INSANE_SKIP for ptest package. The only libs present
here are in libexecdir which is allowed by the check.
* Revert an upstream patch for now that had changed the behavior of
pkg-config files to use absolute paths which results in build failures.
(From OE-Core rev: cb624e18851af2e2e2bf48c46f0571bce53c25f6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gcc option '-fmacro-prefix-map' is added to DEBUG_PREFIX_MAP. It has a
patch to deal option '-fdebug-prefix-map' already. Update the patch
0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch to fix
buildpaths qa issue for '-fmacro-prefix-map' too.
(From OE-Core rev: 0851e03daebeeb7e0579baa3aa195c228652d97b)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It uses gcc on build machine during go-cross-canadian bootstrap, but the
gcc version may be old and not support option '-fmacro-prefix-map' which
is one of default values of DEBUG_PREFIX_MAP.
So set default value of DEBUG_PREFIX_MAP for go-cross-canadian.
(From OE-Core rev: bd19d2b138e1a7fbfdf0b7a7dec0bc04a3aaa219)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add option '-fmacro-prefix-map' to DEBUG_PREFIX_MAP. It could resolve
buildpaths qa warnings which caused by macros '__FILE__' and
'__BASE_FILE__'.
Though option '-ffile-prefix-map' could cover '-fdebug-prefix-map' and
'-fdebug-prefix-map' both, it is not supported by 'as' and causes
buildpaths qa warnings of glibc:
| QA Issue: File
| /work/i586-poky-linux/glibc/2.29-r0/packages-split/glibc-dev/usr/lib/crti.o
| in package contained reference to tmpdir
So only add '-fmacro-prefix-map' to DEBUG_PREFIX_MAP rather than replace
'-fdebug-prefix-map' with '-ffile-prefix-map'.
(From OE-Core rev: c62ac539e58b028b7508385c2c9be3561261f2e8)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It only could be set as the following in the past:
QB_MEM = "-m 256"
Now it also can be set as:
QB_MEM = "-m 256M (or m)"
QB_MEM = "256M (or m)"
[YOCTO #11522]
(From OE-Core rev: ad246f5ce0652bd917d85884176baa746e1379ff)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
In meta/conf/machine/include/qemuboot-x86.inc:
QB_CPU_x86-64 = "-cpu core2duo"
$ runqemu qemux86-64 qemuparams="-cpu coreduo"
Check /proc/cpuinfo, it should use coreduo rather than core2duo since user
specifies it, but it doesn't, append qemuparams to the last can fix the
problem.
[YOCTO #11773]
(From OE-Core rev: a847dd7202a2c493788c45d11eb86866264af7a4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow packages using llvm-config to find it using meson's dependency
interface.
(From OE-Core rev: e2e733c813e1eabaaff795a30b82e703dfeecfe7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes FAKEROOTCMD so that it can accept additional arguments to pass
to the fakeroot implementation instead of being treated as a simple
command
(Bitbake rev: 4fa51afb56b090cf1f746842acd602c9536715d5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core rev: a88bcbae850a2e6d182291d3f8e167aabdbe4842 broke the ability
to find parted as it may be in sbin which is not in PATH for some users
on some distros.
Iterate on the original patch to fix this and also fix the original problem.
(From OE-Core rev: af3803e5189d7814f9dbd238fb6dab200f351e1a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes up the permissions on the license files when they are put on the
target file system so that they are readable by everyone. Previously,
they would have inherited whatever permissions the file had in the
recipe, which may not have been appropriate.
[YOCTO #13175]
(From OE-Core rev: 8190d192fceb9b0969385507d3d4bca7be75c810)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Connectivity checking is useful, so set a default value of https://example.com/.
This checks both that we have connectivity and HTTPS makes it through any
proxies.
(From OE-Core rev: 1cd9e258a4a7db98e6cb79ab13450cbb1eb94ba7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a client tool that is usually not used one the same
machine as the DNS server.
(From OE-Core rev: 3f114fb51ca315db0f7cb73b450a508a0477ab88)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There might be no bb.event.ConfigParsed event if bitbake server is running, so
check bb.event.BuildStarted too to make sure HOSTTOOLS_DIR exists.
Fixed:
$ export BB_SERVER_TIMEOUT=-1
$ bitbake quilt-native
$ rm -fr tmp
$ bitbake quilt-native
ERROR: Error running gcc --version: /bin/sh: gcc: command not found
This error is caused by enable_uninative(), it runs twice (ConfigParsed and
BuildStarted), the error would happen when there is no ConfigParsed event
(no hosttools is created), but BuildStarted. This patch can fix the problem.
[YOCTO #13022]
(From OE-Core rev: da798db0a48282e3d4f58890a7aec42c3deff0b8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of maintaining its own copy of the 'system' packages, reuse
oe.utils.packages_filter_out_system().
This stops ${PN}-src being added to the meta package, which meant anything
depending on the meta package was also pulling in the sources.
(From OE-Core rev: 32dc827dae50d818477c299d7adee9f444f6afb7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe.utils.packages_filter_out_system() returns PACKAGES after removing "system"
packages but it doesn't handle ${PN}-src as generated by
PACKAGE_DEBUG_SPLIT_STYLE=debug-with-srcpkg.
(From OE-Core rev: 162632d3d1e40c83ed9c5d49a026edf3912860a0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It shouldn't work when there are duplicated BBFILE_COLLECTIONS.
(Bitbake rev: a1f251e5ab859d6d4a2cb908408d4ddcab5a5de1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this information was simply discarded, which in some cases
resulted in generic, unhelpful failures.
With this change the user would see what the exception is, but
without ugly tracebacks or bulky, irrelevant information from the log file.
(Bitbake rev: 8da9242702fbef8cf3156b95a1076802e0f653c7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Load self.paths from environment variable and
if it fails, fall back to hardcoded list.
This is required for users that would need to load
different e2fsprogs binaries if their system's ones
are not recent enought
(From OE-Core rev: a88bcbae850a2e6d182291d3f8e167aabdbe4842)
Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It looks like there is an implicit dependency on util-linux'
umount - as otherwise when using busybox' umount we see a
long delay on shutdown / reboot.
[YOCTO #13058]
(From OE-Core rev: 39a3d2c603429865af632fe41b2cf32c3dfdfb1d)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when building with opkg backend and huge packages e.g. chromium/llvm all
going in parallel, memory pressure causes xz to catapult with
do_package_write_ipk: Failed to create package, opkg-build failed with: xz: (stdin): Cannot allocate memory
since there are many tasks going on in parallel, xz adds to memory pressure
and it wants it all, put an upper limit for memory xz can use
We add a variable XZ_MAXRAM with 30% of RAM limit and can be customized
if builders have more memory one can set it like
XZ_DEFAULTS = "-M 0 -T 0"
(From OE-Core rev: 28b277a93a34bba033d9d0d9f3227c9453efd384)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All patches have been rebased on top of the 3.13.4 release.
I successfully built all CMake recipes in oe-core and meta-oe.
(From OE-Core rev: f40a5da14ec688f751d6394ce9a997578904fd8d)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Cc: Otavio Salvador <otavio.salvador@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Latest LxQt requires recent version of menu-cache.
(From OE-Core rev: d52d1d92618bfda6f4206eb81e6d81c431d45227)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python subprocess' shell=True defaults to /bin/sh[1][2], which
often refers to a POSIX-compliant shell. As the -e flag is
not defined in the POSIX standard[3], some shells may
interpret "-e" as the first argument to the echo command,
causing the rest of the command line to fail.
In this particular case, "echo -e 'cd {}'" is interpreted
as "-e cd {}", which causes the first line of the command
to fail, and causing cp to always place the source file
in the filesystem's root.
Replacing "echo -e" for a printf command makes this
more portable.
This issue only affects "wic cp" for ext* filesystems.
[1] https://docs.python.org/2/library/subprocess.html
[2] https://docs.python.org/3/library/subprocess.html
[3] http://pubs.opengroup.org/onlinepubs/9699919799
(From OE-Core rev: 9a5b703d4e60c3ccdf80b5289b8e6fc91133fcde)
Signed-off-by: Leonardo Augusto <leobsd@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rename add_layer() to add_layers() so that add_layer_dependencies() can
re-use it.
* Avoid adding the layer if it is already present
[YOCTO #13148]
(From OE-Core rev: b9cc18d83f55ff48c3d6e60c56359f6736d5a06a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We only could run it in top of oe-core dir since it assumed oe-init-build-env
was in cwd, this patch fixes the problem.
[YOCTO #13148]
(From OE-Core rev: 47d7b5fcad127171243cc95c586c2c7f35cfac3b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libgfortran did not have the GCC exception in the same manner as
libgcc had.
Change-Id: If48ab6e6775da235c8fdd0ca4e835acf1e831252
(From OE-Core rev: 0b4a4b37260e719ae12fb9a8e6556759422bfc92)
Signed-off-by: Santhosh Nadig <santhosn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of calling 'ar' and 'ranlib' directly, set AR=gcc-ar and
RANLIB=gcc-ranlib. This fixes builds with link-time optimisation where more
arguments would need to be passed to ranlib but gcc-ranlib will do that
automatically.
(From OE-Core rev: d9f37a25adba8d6638abbe7bc0503b09f696c2fc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.
Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
(Bitbake rev: 3bba0dbd524cf72176a765957adff544ae5c255a)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No indentation was being used for the example.
(From yocto-docs rev: e5d13181546d19772fede972b20518103d897eaa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new default is "debug-with-srcpkg"
(From yocto-docs rev: b427e7c2d9f6efca7e0867cc8e508d4e941c5a09)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is now in the default HOSTTOOLS so can be removed from here.
(From meta-yocto rev: 74bd707f129975a74c3b99a6744681da96f39f75)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are very old, unmaintained, and there are better benchmarking
systems available now.
(From meta-yocto rev: 48b446fe7ee6601e8927a2f6663c98e6c42e9064)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding both the required toolchain options (libgcc) and baseline
BSP definitions for arc support.
Author: Alexey Brodkin <alexey.brodkin@synopsys.com>
Date: Fri Feb 8 18:32:21 2019 +0300
linux-yocto: Add dependency on libgcc for ARC
As of now in case of ARC there's no in-kernel implementation of basic libgcc
functions used for millicode, multiplication, division etc instead we simply
link with libgcc.a which provides everything used by the compiler.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Author: Alexey Brodkin <alexey.brodkin@synopsys.com>
Date: Fri Feb 8 17:29:40 2019 +0300
ARC: Add nsimhs- and hsdk-standard configs
With ARC support ramping-up in upstream OE we're ready to
build more complicated distributions and linux-yocto is
a nice and configurable base for that.
This commit adds support of 1 simulated board (nSIM) and
the mast affordable and powerful to date development board (HSDK).
Once Qemu port for ARC is functional (it's being actively developed now)
we'll switch from nSIM to Qemu.
Still it would be really good to keep nSIM support in linux-yocto for now
as it allows for simpler testing as compared to real HW.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(From OE-Core rev: 430bd28093fb743ba3bd032e11e40b4dd8e5bd1f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of now in case of ARC there's no in-kernel implementation of basic libgcc
functions used for millicode, multiplication, division etc instead we simply
link with libgcc.a which provides everything used by the compiler.
(From OE-Core rev: 4f582a1123be0cc56abab324c5eb16ad03906857)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
boot/main: don't check console device file on fs when booting with
initrd/initramfs
In case of initrd/initramfs /dev/console might not exist that early
as devtmpfs is mounted a bit later by /init process so disable this
check in that case.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(From OE-Core rev: b5bd54b1640c1e59960c260dd6521ba2500df204)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rubygems 2.7.6 which is in ruby 2.5.3 has this fix and as currently
applied all gem extraction fails as the realpath check is done against
the full path including the file to be extracted which will always fail
as the file hasnt been extracted yet
(From OE-Core rev: 479620023aa0af9467ca1d2807cf7bedd73327f6)
Signed-off-by: Brett Grandbois <brett.grandbois@opengear.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop upstreamed patch to enable/disable tests
- Forward port rest of patches to new version
(From OE-Core rev: 0471307da8d1e0df27df115c47d05e7b64dea080)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are very old, unmaintained, and there are far better tools to
exercise video codepaths now.
(From OE-Core rev: 210506e79f1f251347981c11722f5a16c708d480)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes it is useful to have a base64 representation of an image.
(From OE-Core rev: 9d00b146c4125b195fac5a0743fe7d8e59edef7f)
Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* use ${PN} instead of util-linux
* use PACKAGESPLITFUNCS for creating util-linux-lib* packages
rather than an _append OVERRIDE
* sort ALTERNATIVE_LINK_NAME alphabetically
* use systemd_system_unitdir instead of open-coding
* inherit manpages so as to benefit from man-db processing (note
that manpages are not generated here, we just want the
automatic update of the package index caches
* use EXTRA_OEMAKE instead of duplicating command line arguments
[YOCTO #13058]
(From OE-Core rev: 6b71a118debb841b7507fc7830712197480a8661)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ptest executes all the binaries, so they really need to be available
in the file system.
[YOCTO #13058]
(From OE-Core rev: 66637b33a8a153d8c1f509e9493bc4bee953f6cb)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should probably be there and now the main package is a real
meta-package only.
[YOCTO #13058]
(From OE-Core rev: e38c06db5be8c15c0764e3450d3ef9e43911bf8c)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The util-linux meta-package now simply RRECOMMENDS all
subpackages created. There is no distinction between what
it previously recommended or depended on for existing
packages.
This is to streamline the dependencies and to make things
less surprising.
It also stops the -dev package from depending on non-existing
packages like util-linux-losetup-dev etc.
[YOCTO #13058]
(From OE-Core rev: d0d6cc9ee59ed7a017e1b31404603a135a8717e8)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to the previous patch.
Existing packages (and current dependency by main package):
* ionice <- RRECOMMENDS
* lsblk <- RDEPENDS
* lscpu
* mcookie
* prlimit <- RRECOMMENDS
* unshare
* uuidgen
New packages:
* too many to list
To avoid breaking existing users, all the new packages
are added to the main package as RRECOMMENDS_${PN}, so
they are pulled into existing images etc.
The existing RDEPENDS_${PN} will need some further
clean-up in the future, as it appears a bit random which
packages the main package depends on vs. recommends.
Nevertheless, all existing packages have been added to
RRECOMMENDS this time, even if they weren't in RDEPENDS /
RRECOMMENDS before.
Unfortunately, we need to add explicit ALTERNATIVE_LINK_NAME[]
for a few cases, as previously they were implied using
defaults by being specified in ALTERNATIVE_${PN}. We can't
easily automate that using do_split_packages(), so we
simply add them explicitly.
[YOCTO #13058]
(From OE-Core rev: 7b66185c447453640f26e2563e85b6422a3e6118)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to the previous patch.
Existing packages (and current dependency by main package):
* blkdiscard <- RRECOMMENDS
* findfs
* fsck.cramfs
* mkfs <- RRECOMMENDS
* mkfs.cramfs
* partx
* readprofile <- RRECOMMENDS
* rfkill
* runuser <- RDEPENDS
* sfdisk <- RRECOMMENDS
* uuidd
New packages:
* too many to list
To avoid breaking existing users, all the new packages
are added to the main package as RRECOMMENDS_${PN}, so
they are pulled into existing images etc.
The existing RDEPENDS_${PN} will need some further
clean-up in the future, as it appears a bit random which
packages the main package depends on vs. recommends.
Nevertheless, all existing packages have been added to
RRECOMMENDS this time, even if they weren't in RDEPENDS /
RRECOMMENDS before.
[YOCTO #13058]
(From OE-Core rev: 19f63aa911ff9d8bea62102c3f3f54cf6dccd6d8)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to the previous patch.
Existing packages (and current dependency by main package):
* mount <- RRECOMMENDS
* umount <- RDEPENDS
* mountpoint <- RRECOMMENDS
* getopt
* su <- RDEPENDS
New packages:
* dmesg
* kill
* more
To avoid breaking existing users, all the new packages
are added to the main package as RRECOMMENDS_${PN}, so
they are pulled into existing images etc.
The existing RDEPENDS_${PN} will need some further
clean-up in the future, as it appears a bit random which
packages the main package depends on vs. recommends.
Existing packages that aren't in RDEPENDS / RRECOMMENDS
haven't been added to RRECOMMENDS for that reason.
[YOCTO #13058]
(From OE-Core rev: aea97fe48de5e983b938718d861dceb9f0084339)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the binaries have symlinks. Add them to the
package owning the binary they are pointing to.
(From OE-Core rev: fc709be54fee06801446774ff1a434294c2eda9b)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have required infrastructure in place, we
can start creating one package per binary.
To make this process easier to follow, this is done
in steps, starting with binaries from base_sbindir.
Existing packages (and current dependency by main package):
* agetty
* blkid
* cfdisk <- RRECOMMENDS
* fdisk <- RRECOMMENDS
* fsck
* fstrim
* losetup <- RDEPENDS
* hwclock
* sulogin <- RDEPENDS
* swaponoff <- RDEPENDS
* switch-root <- RRECOMMENDS
New packages:
* blockdev
* ctrlaltdel
* mkswap
* nologin
* pivot-root
* swapon
* swapoff
swaponoff is empty now and simply depends on swapon swapoff
To avoid breaking existing users, all the new packages
are added to the main package as RRECOMMENDS_${PN}, so
they are pulled into existing images etc.
The existing RDEPENDS_${PN} will need some further
clean-up in the future, as it appears a bit random which
packages the main package depends on vs. recommends.
Existing packages that aren't in RDEPENDS / RRECOMMENDS
haven't been added to RRECOMMENDS for that reason.
[YOCTO #13058]
(From OE-Core rev: 97554a56f7d9fa82294b1316f143de3f37506fc7)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
util-linux is configured with --libdir=${base_libdir} for -target builds,
but with the default --libdir=${libdir} for all other builds. Furthermore,
dynamic util-linux-lib* packages are unconditionally being generated from
${base_libdir}, which is the right location for -target builds, only.
IOW, in the nativesdk case, util-linux-lib* packages are empty, and all
the shared libraries implicitly become part of the main package again.
While this surely wasn't intended, this also is going to cause problems as
upcoming changes are explicitly making util-linux an empty meta-package,
which then is going to cause packaging failures.
While fixing this, clean up the existing use of EXTRA_OECONF as it is a
bit confusing, hard to follow, and needlessly duplicates information:
target: ${SHARED_EXTRA_OECONF} --libdir=${base_libdir}
native/nativesdk: ${SHARED_EXTRA_OECONF} --disable-use-tty-group
where ${SHARED_EXTRA_OECONF} already contains --disable-use-tty-group.
This can be simplified by completely dropping the duplicated EXTRA_OECONF
assignments and simply using a new variable UTIL_LINUX_LIBDIR with a
_class-target override.
Additionally, this allows to easily fix packaging of the util-linux-lib*
packages, as we can now simply inspect UTIL_LINUX_LIBDIR where and as
needed to get to the right directories.
Lastly, all this can be moved from the .bb file into the .inc file as none
of that appears to actually be version specific, and we can sort the
configure options alphabetically for clarity.
[YOCTO #13058]
(From OE-Core rev: e2a6b316651412054af1dbddfb25ab980249f85d)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The packages get an automatic RDEPENDS via shlibs, no
need to explicitly state it, so we can drop those
useless explicit assignments.
su is moved into ${base_bindir} in do_install(), so
because of a mismatched FILES specification su is
actually packaged into the main package at the moment,
not into the -su package as likely originally intended.
runuser needs the pam configuration files, so they should
be in the -runuser package, not in the main package.
While fixing this, we can simplify the update alternatives
processing for su.
[YOCTO #13058]
(From OE-Core rev: d8f4ffdc6db5484de97186586a7f39da32205c7b)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Just using a wildcard leaves the reader wondering
what is meant here.
By being explicit we can describe exactly what is
intended, i.e. the file name as resulting from
the ALTERNATIVE and ALTERNATIVE_LINK_NAME mechanism.
(From OE-Core rev: 1892acab58884aa3b94b49da2854299a6db22af7)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Busybox' getty has code to try to make itself a session leader,
whereas util-linux' agetty doesn't. It expects this to happen
from outside.
When getty is not a session leader, many things don't work on
the serial console, e.g. setting the terminal process group,
job control doesn't work, etc.
Executing image tests also fails with AssertionErrors, because
Feb 5 16:12:55 qemuarm getty[590]: /dev/ttyAMA1: cannot get controlling tty: Operation not permitted
Feb 5 16:12:55 qemuarm getty[590]: /dev/ttyAMA1: cannot set process group: Inappropriate ioctl for device
Update the start_getty script to invoke getty via the setsid
utility if needed, i.e. if /sbin/getty is not busybox getty.
[YOCTO #13058]
(From OE-Core rev: 37be77565d323fc543427ad47399996119f59ab1)
Signed-off-by: André Draszik <andre.draszik@jci.com>
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)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some ARM Cortex devices have the VFPv4-D16, but no NEON.
(From OE-Core rev: 594f8584268d5179c18512beada2bae4a21325de)
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
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)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been a constant source of trouble for build failures due to host-user-contaminated QA
errors of sort
ERROR: QA Issue: glibc-locale: /glibc-binary-localedata-ca-es+valencia/usr/lib/locale/ca_ES@valencia/LC_MONETARY is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
So far we have tried to mould cp command into not carrying the build
user permissions into install area but it is never entirely fixed since
the issue keeps popping up in various scenes
This patch replaces use of cp with install utility and specifies install
mode for files explcitly
(From OE-Core rev: 92fdb64ac9689b9cac8a1229b1928b50338969be)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I goofed up the scissor line on the last attempt. Not sure how much it matters,
but here it is correct this time.
Here it is, updated to work with wpa-supplicant_2.6.bb.
-- >8 --
https://www.freedesktop.org/software/systemd/man/systemd.unit.html#WantedBy=
When building root filesystems with any of the wpa_supplicant systemd
template service files enabled (current default is to have them disabled) the
systemd-native-fake script would not process the line:
Alias=multi-user.target.wants/wpa_supplicant@%i.service
appropriately due the the use of "%i."
According to the systemd documentation "WantedBy=foo.service in a service
bar.service is mostly equivalent to Alias=foo.service.wants/bar.service in
the same file." However, this is not really the intended purpose of install
Aliases.
All lines of the form:
Alias=multi-user.target.wants/*%i.service
Were replaced with the following lines:
WantedBy=multi-user.target
(From OE-Core rev: 85f82e94849f1c1b5e150c2e38c03eae19a2b370)
Signed-off-by: Joshua DeWeese <jdeweese@hennypenny.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As I will leaving LGE, this address will no longer be valid,
so swap it for my person one for now.
(From OE-Core rev: 06ffe905aa8a707cc4845e012ca555eeed5c0e50)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, BAD_RECOMMENDATIONS on the opkg backed relies on editing the
opkg status file (it sets BAD_RECOMMENDATIONS pkg want state to
deinstalled and pinned). This is brittle, and not consistent across the
different solver backends. Use new --add-ignore-recommends flag instead.
(From OE-Core rev: 0d11e813ba9b4e8de9e6e5099ff85f5d914243bc)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Opkg --add-ignore-recommends use the flag SOLVER_DISFAVOR. If a package
is set to be ignored as a recommendee, but there are not other
recommends on the package graph, libsolv segfaults.
(From OE-Core rev: d3ee06845e18ecf94770ff0970c2a0d6631ed214)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After adding #pragma once to wrapper header ( opensslconf.h ) this
latent issue got to bite us, where it expect bn.h to be including
openssl.h to define BN_* defines, which is fragile. This patch removes
the contraints for nested includes for bn.h
(From OE-Core rev: f787b0bb9b0626ddbf2ac94cb206c76716a3773d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I took the same approach as the recent perl upgrade: write recipe from scratch,
taking the pieces from the old recipe only when they were proven to be necessary.
The pgo, manifest and ptest features are all preserved.
New features:
- native and target recipes are now unified into one recipe
- check_build_completeness.py runs right after do_compile() and verifies that
all optional modules have been built (a notorious source of regressions)
- a new approach to sysconfig.py and distutils/sysconfig.py returning values
appropriate for native or target builds: we copy the configuration file to a
separate folder, add that folder to sys.path (through environment variable
that differs between native and target builds), and point python to the file
through another environment variable.
There were a few other patches where it was difficult to decide if the patch
is still relevant, and how to test that it works correctly; please add those
as-needed by testing the new python.
(From OE-Core rev: 02714c105426b0d687620913c1a7401b386428b6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating my email address to match where I'll be doing my maintainer
activities.
(From OE-Core rev: 59986a8c678cc7b5eb840323986bdc3513f76b55)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
commits:
dffbba4348e9 Linux 4.19.19
3a3b6a6b15db Input: input_event - fix the CONFIG_SPARC64 mixup
d4a6ac28d44a ide: fix a typo in the settings proc file name
25ad17d692ad usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup
6bab957396ce Revert "mm, memory_hotplug: initialize struct pages for the full memory section"
7dbf12973d53 nvmet-rdma: fix null dereference under heavy load
fa9184be67a6 nvmet-rdma: Add unlikely for response allocated check
48046a0177e6 s390/smp: Fix calling smp_call_ipl_cpu() from ipl CPU
37c9e3ee4239 bpf: fix inner map masking to prevent oob under speculation
eed84f94ff8d bpf: fix sanitation of alu op with pointer / scalar type from different paths
f92a819b4cbe bpf: prevent out of bounds speculation on pointer arithmetic
4f7f708d0e6c bpf: fix check_map_access smin_value test when pointer contains offset
44f8fc649980 bpf: restrict unknown scalars of mixed signed bounds for unprivileged
5332dda94f63 bpf: restrict stack pointer arithmetic for unprivileged
9e57b2969d4a bpf: restrict map value pointer arithmetic for unprivileged
232ac70dd38b bpf: enable access to ax register also from verifier rewrite
b855e3103740 bpf: move tmp variable into ax register in interpreter
333a31c89ae2 bpf: move {prev_,}insn_idx into verifier env
437112946263 bpf: add per-insn complexity limit
7da6cd690c43 bpf: improve verifier branch analysis
ce8d0581ae33 drm/meson: Fix atomic mode switching regression
8b4dffe8261a vt: invoke notifier on screen size change
18ef43def81c vt: always call notifier with the console lock held
855f7e64169f vt: make vt_console_print() compatible with the unicode screen buffer
6f4f2a443d87 can: flexcan: fix NULL pointer exception during bringup
576f474fb2d3 can: bcm: check timer values before ktime conversion
8d85aa96c54b can: dev: __can_get_echo_skb(): fix bogous check for non-existing skb by removing it
bdcf74e735b1 irqchip/gic-v3-its: Align PCI Multi-MSI allocation on their size
6f4db68ab5ce net: sun: cassini: Cleanup license conflict
21c0d1621b8d posix-cpu-timers: Unbreak timer rearming
dd085f9b1dc1 x86/entry/64/compat: Fix stack switching for XEN PV
ed334be9c2ed x86/kaslr: Fix incorrect i8254 outb() parameters
334c0e1b3cdd x86/selftests/pkeys: Fork() to check for state being preserved
db01b8d40feb x86/pkeys: Properly copy pkey state at fork()
f9203cd03125 KVM/nVMX: Do not validate that posted_intr_desc_addr is page aligned
d58f5e638b18 kvm: x86/vmx: Use kzalloc for cached_vmcs12
bbb8c5c75f6e KVM: x86: WARN_ONCE if sending a PV IPI returns a fatal error
b2598858ac21 KVM: x86: Fix PV IPIs for 32-bit KVM host
6d3dabbdf46e KVM: x86: Fix single-step debugging
c1bfae340367 drm/amdgpu: Add APTX quirk for Lenovo laptop
b911f1dcb60d dm crypt: fix parsing of extended IV arguments
5b779f841773 dm thin: fix passdown_double_checking_shared_status()
eba68bd45672 scsi: ufs: Use explicit access size in ufshcd_dump_regs
b18931c5fe0d acpi/nfit: Fix command-supported detection
3cb00cfa3d37 acpi/nfit: Block function zero DSMs
92fbac528fd0 Input: uinput - fix undefined behavior in uinput_validate_absinfo()
71b1af87749b Input: input_event - provide override for sparc64
865a07956db5 Input: xpad - add support for SteelSeries Stratus Duo
06d9f987201f smb3: add credits we receive from oplock/break PDUs
779c65bb7739 CIFS: Do not reconnect TCP session in add_credits()
2ae6fedbd5cb CIFS: Fix credit calculation for encrypted reads with errors
0380ed9b1cd3 CIFS: Fix credits calculations for reads with errors
07b9e5e35e8f CIFS: Fix possible hang during async MTU reads and writes
f4abbb16ed9a vgacon: unconfuse vc_origin when using soft scrollback
a912e16faeda Drivers: hv: vmbus: Check for ring when getting debug info
bfe482b9b299 hv_balloon: avoid touching uninitialized struct page during tail onlining
71d1a74f36a7 tty/n_hdlc: fix __might_sleep warning
6d15ef2c912a uart: Fix crash in uart_write and uart_put_char
80250b48803a tty: Handle problem if line discipline does not have receive_buf
3209eeded863 staging: rtl8188eu: Add device code for D-Link DWA-121 rev B1
75a08b9a0fcb mmc: meson-gx: Free irq in release() callback
4a559dfe6603 mmc: dw_mmc-bluefield: : Fix the license information
d3faea2d152e char/mwave: fix potential Spectre v1 vulnerability
0479bdbf55d8 misc: ibmvsm: Fix potential NULL pointer dereference
049c7b068dd1 s390/smp: fix CPU hotplug deadlock with CPU rescan
e0d573a08f23 s390/early: improve machine detection
b563764443a3 s390/mm: always force a load of the primary ASCE on context switch
8cbca17381ac ARC: perf: map generic branches to correct hardware condition
2f0d2f3ace1f ARC: adjust memblock_reserve of kernel memory
7bb78e62f712 ARCv2: lib: memeset: fix doing prefetchw outside of buffer
cf662d989425 ALSA: hda - Add mute LED support for HP ProBook 470 G5
2173f5a1b0d7 ALSA: hda/realtek - Fix typo for ALC225 model
a719cbe07847 inotify: Fix fd refcount leak in inotify_add_watch().
afb4a7ca7818 clk: socfpga: stratix10: fix naming convention for the fixed-clocks
cf8ea8d536a4 clk: socfpga: stratix10: fix rate calculation for pll clocks
0af64fda917d ASoC: tlv320aic32x4: Kernel OOPS while entering DAPM standby mode
4fedd516d554 ASoC: rt5514-spi: Fix potential NULL pointer dereference
d6847f539bd6 ASoC: atom: fix a missing check of snd_pcm_lib_malloc_pages
3e05ceedf143 ceph: clear inode pointer when snap realm gets dropped by its inode
8e7320b9f551 USB: serial: pl2303: add new PID to support PL2303TB
4d984aab54a6 USB: serial: simple: add Motorola Tetra TPG2200 device id
a70e5cd09361 USB: leds: fix regression in usbport led trigger
f8982204cbea mei: me: add denverton innovation engine device IDs
adfda26bdf47 mei: me: mark LBG devices as having dma support
2cade15d58ca tcp: allow MSG_ZEROCOPY transmission also in CLOSE_WAIT state
6c4d069aec0f ip6_gre: update version related info when changing link
c9fe9d194d45 net: phy: marvell: Fix deadlock from wrong locking
552cd931b483 erspan: build the header with the right proto according to erspan_ver
0449da6fc203 ip6_gre: fix tunnel list corruption for x-netns
e3fa624ee7af udp: with udp_segment release on error path
84bf74307c88 net/sched: cls_flower: allocate mask dynamically in fl_change()
bdafc159ac8c mlxsw: pci: Ring CQ's doorbell before RDQ's
c82f4684d330 mlxsw: spectrum_fid: Update dummy FID index
adbf7e580994 net: ipv4: Fix memory leak in network namespace dismantle
bc4e2300e44a mlxsw: pci: Increase PCI SW reset timeout
1688e75cae7d vhost: log dirty page correctly
3d997bf0074e openvswitch: Avoid OOB read when parsing flow nlattrs
916c27c8cf88 net_sched: refetch skb protocol for each filter
02239e797ac7 net/sched: act_tunnel_key: fix memory leak in case of action replace
3e4cd0677715 net: phy: mdio_bus: add missing device_del() in mdiobus_register() error handling
1a864e38b39e net: phy: marvell: Errata for mv88e6390 internal PHYs
40f2f08030fa net: Fix usage of pskb_trim_rcsum
e287968a3837 net: bridge: Fix ethernet header pointer before check skb forwardable
779a5077d9cf amd-xgbe: Fix mdio access for non-zero ports and clause 45 PHYs
34ae65724615 Linux 4.19.18
b40aec33eeb5 ipmi: Don't initialize anything in the core until something uses it
031a94ff8ac4 ipmi:ssif: Fix handling of multi-part return messages
821a003d8e81 ipmi: Prevent use-after-free in deliver_response
753abe2a6339 ipmi: msghandler: Fix potential Spectre v1 vulnerabilities
1c393ca118cf ipmi: fix use-after-free of user->release_barrier.rda
7557895b3dda Bluetooth: Fix unnecessary error message for HCI request completion
d9bcbcb7d77c iwlwifi: mvm: Send LQ command as async when necessary
0d73e773edc9 mm, proc: be more verbose about unstable VMA flags in /proc/<pid>/smaps
2011eb741803 userfaultfd: clear flag if remap event not enabled
b0cd52e644ef mm/swap: use nr_node_ids for avail_lists in swap_info_struct
dc15e3fd3fbe mm/page-writeback.c: don't break integrity writeback on ->writepage() error
5a404f39f8fa ocfs2: fix panic due to unrecovered local alloc
c9dcb871b1a9 iomap: don't search past page end in iomap_is_partially_uptodate
00886cebcce5 scsi: megaraid: fix out-of-bound array accesses
d640fb10cab4 scsi: smartpqi: call pqi_free_interrupts() in pqi_shutdown()
dd619b90dd71 ath10k: fix peer stats null pointer dereference
ca8ad9bcbebd scsi: smartpqi: correct lun reset issues
868152e4ca97 scsi: mpt3sas: fix memory ordering on 64bit writes
6fa75685aa3a IB/usnic: Fix potential deadlock
a13daf038b49 sysfs: Disable lockdep for driver bind/unbind files
959bf5c190ea ALSA: bebob: fix model-id of unit for Apogee Ensemble
c5e68453be0c Bluetooth: btusb: Add support for Intel bluetooth device 8087:0029
887b1c9a7d17 dm: Check for device sector overflow if CONFIG_LBDAF is not set
decca9bc2116 clocksource/drivers/integrator-ap: Add missing of_node_put()
876b79b973f2 quota: Lock s_umount in exclusive mode for Q_XQUOTA{ON,OFF} quotactls.
77f14a495530 perf tools: Add missing open_memstream() prototype for systems lacking it
e2a1f8d695c2 perf tools: Add missing sigqueue() prototype for systems lacking it
4bc4b575131f perf cs-etm: Correct packets swapping in cs_etm__flush()
9e5be33b1061 dm snapshot: Fix excessive memory usage and workqueue stalls
d9513fdbeb62 tools lib subcmd: Don't add the kernel sources to the include path
8603cac28a78 perf stat: Avoid segfaults caused by negated options
cbd257f3bbc9 dm kcopyd: Fix bug causing workqueue stalls
4e26ee3149e4 dm crypt: use u64 instead of sector_t to store iv_offset
a4772e8b3e60 x86/topology: Use total_cpus for max logical packages calculation
9d51378a6893 netfilter: ipt_CLUSTERIP: fix deadlock in netns exit routine
bb7b6c49cc34 netfilter: ipt_CLUSTERIP: remove wrong WARN_ON_ONCE in netns exit routine
744383c88e2e netfilter: ipt_CLUSTERIP: check MAC address when duplicate config is set
bd1040e646d6 perf vendor events intel: Fix Load_Miss_Real_Latency on SKL/SKX
58c67a0b06a7 perf parse-events: Fix unchecked usage of strncpy()
b332b4cd25e7 perf svghelper: Fix unchecked usage of strncpy()
f54fc4c23eea perf tests ARM: Disable breakpoint tests 32-bit
c3e8c335e788 perf intel-pt: Fix error with config term "pt=0"
f74fc96e32ab tty/serial: do not free trasnmit buffer page under port lock
310f8296d630 btrfs: improve error handling of btrfs_add_link
38b17eee7074 btrfs: fix use-after-free due to race between replace start and cancel
720b86a53a10 btrfs: alloc_chunk: fix more DUP stripe size handling
bb5717a4a165 btrfs: volumes: Make sure there is no overlap of dev extents at mount time
c21991ed17e9 mmc: atmel-mci: do not assume idle after atmci_request_end
461991104dcb kconfig: fix memory leak when EOF is encountered in quotation
ba8efcdc5779 kconfig: fix file name and line number of warn_ignored_character()
344b51e7ce13 bpf: relax verifier restriction on BPF_MOV | BPF_ALU
dfbf8c981f83 arm64: Fix minor issues with the dcache_by_line_op macro
73f0b2e36e40 clk: imx6q: reset exclusive gates on init
8f183b332398 arm64: kasan: Increase stack size for KASAN_EXTRA
656257cf1cbd selftests: do not macro-expand failed assertion expressions
3ad8148ce042 scsi: target/core: Make sure that target_wait_for_sess_cmds() waits long enough
25d3546acd60 scsi: target: use consistent left-aligned ASCII INQUIRY data
50deccdceb59 net: call sk_dst_reset when set SO_DONTROUTE
fd4c7fe100fc staging: erofs: fix use-after-free of on-stack `z_erofs_vle_unzip_io'
38be2cbae300 media: venus: core: Set dma maximum segment size
9df6861a35d1 ASoC: use dma_ops of parent device for acp_audio_dma
597a09e0ce2c media: firewire: Fix app_info parameter type in avc_ca{,_app}_info
3049cdc28409 powerpc/pseries/cpuidle: Fix preempt warning
115a0d668793 powerpc/xmon: Fix invocation inside lock region
819e2e0760f3 media: uvcvideo: Refactor teardown of uvc on USB disconnect
265242d82a3c pstore/ram: Do not treat empty buffers as valid
ed99d79a158c clk: imx: make mux parent strings const
c356972f27cc jffs2: Fix use of uninitialized delayed_work, lockdep breakage
50063ba9dd51 efi/libstub: Disable some warnings for x86{,_64}
fded1b0e0c89 rxe: IB_WR_REG_MR does not capture MR's iova field
e34e54f925e2 drm/amdgpu: Reorder uvd ring init before uvd resume
4614fe394c55 scsi: qedi: Check for session online before getting iSCSI TLV data.
22e568af3989 ASoC: pcm3168a: Don't disable pcm3168a when CONFIG_PM defined
34ea589d97d7 selinux: always allow mounting submounts
e4c04fd44157 fpga: altera-cvp: fix probing for multiple FPGAs on the bus
7cae65dbc7b4 usb: gadget: udc: renesas_usb3: add a safety connection way for forced_b_device
7187ac3e3c4d samples: bpf: fix: error handling regarding kprobe_events
5e1be9c72310 clk: meson: meson8b: fix incorrect divider mapping in cpu_scale_table
6ebffc54843b drm/atomic-helper: Complete fake_commit->flip_done potentially earlier
6f88ff119205 arm64: perf: set suppress_bind_attrs flag to true
dbb97f7663c0 crypto: ecc - regularize scalar for scalar multiplication
6e5be6e3f56a MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur
1d839c72fc13 x86/mce: Fix -Wmissing-prototypes warnings
3945c33a608e ALSA: oxfw: add support for APOGEE duet FireWire
464b01e4406e bpf: Allow narrow loads with offset > 0
4c7c36a7f348 serial: set suppress_bind_attrs flag only if builtin
e7a5f0073533 writeback: don't decrement wb->refcnt if !wb->bdi
b6d75422462a of: overlay: add missing of_node_put() after add new node to changeset
d216d503a0b2 selftests/bpf: enable (uncomment) all tests in test_libbpf.sh
579f3fc1f46f usb: typec: tcpm: Do not disconnect link for self powered devices
88f3beae5836 e1000e: allow non-monotonic SYSTIM readings
e5090418fbb0 platform/x86: asus-wmi: Tell the EC the OS will handle the display off hotkey
3dc1bc575e75 ixgbe: allow IPsec Tx offload in VEPA mode
bd240b1182da drm/amdkfd: fix interrupt spin lock
07f4cf9547d9 drm/amd/display: Guard against null stream_state in set_crc_source
414dbd6c00b9 gpio: pl061: Move irq_chip definition inside struct pl061
ad7013cd6d6a netfilter: ipset: Allow matching on destination MAC address for mac and ipmac sets
183144815e34 net: clear skb->tstamp in bridge forwarding path
c1fa98a5748f ipv6: Take rcu_read_lock in __inet6_bind for mapped addresses
19ad57e220a1 r8169: Add support for new Realtek Ethernet
8bb38336b721 qmi_wwan: add MTU default to qmap network interface
598e57e02929 net, skbuff: do not prefer skb allocation fails early
e10411389248 net: dsa: mv88x6xxx: mv88e6390 errata
07348a7ebb58 mlxsw: spectrum_switchdev: Set PVID correctly during VLAN deletion
cac1bffc77e9 mlxsw: spectrum: Disable lag port TX before removing it
9b25d7b69d61 ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address
23b6b8bf9011 Linux 4.19.17
9a9c3c02eace nbd: Use set_blocksize() to set device blocksize
685cc9c3ee48 media: vb2: be sure to unlock mutex on errors
7696248f9b5a selftests: Fix test errors related to lib.mk khdr target
241e514850a1 drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock
8868a72d4201 loop: drop caches if offset or block_size are changed
30805ece5068 loop: Fix double mutex_unlock(&loop_ctl_mutex) in loop_control_ioctl()
b42e24aa3b88 loop: Get rid of 'nested' acquisition of loop_ctl_mutex
5c684c250bf3 loop: Avoid circular locking dependency between loop_ctl_mutex and bd_mutex
5f0db37d916b loop: Fix deadlock when calling blkdev_reread_part()
6e0d69353095 loop: Move loop_reread_partitions() out of loop_ctl_mutex
ed281a7230c9 loop: Move special partition reread handling in loop_clr_fd()
dc717408cef0 loop: Push loop_ctl_mutex down to loop_change_fd()
9218b108062e loop: Push loop_ctl_mutex down to loop_set_fd()
90386ad72fcf loop: Push loop_ctl_mutex down to loop_set_status()
8de64127b2aa loop: Push loop_ctl_mutex down to loop_get_status()
ed87dc660171 loop: Push loop_ctl_mutex down into loop_clr_fd()
18974320825e loop: Split setting of lo_state from loop_clr_fd
b8463897a294 loop: Push lo_ctl_mutex down into individual ioctls
ea5df5077091 loop: Get rid of loop_index_mutex
38d9cce3d61f loop: Fold __loop_release into loop_release
342b3360aeb1 block/loop: Use global lock for ioctl() operation.
f5d3c785c1d3 block/loop: Don't grab "struct file" for vfs_getattr() operation.
21172412a727 tipc: fix uninit-value in tipc_nl_compat_doit
2d5fc1d492d1 tipc: fix uninit-value in tipc_nl_compat_name_table_dump
04d87429738a tipc: fix uninit-value in tipc_nl_compat_link_set
7960fb71aad9 tipc: fix uninit-value in tipc_nl_compat_bearer_enable
1d61caf05721 tipc: fix uninit-value in tipc_nl_compat_link_reset_stats
927733365214 tipc: fix uninit-value in in tipc_conn_rcv_sub
7f902f7c146c sctp: allocate sctp_sockaddr_entry with kzalloc
1e11b1d630f8 blockdev: Fix livelocks on loop device
5a79e71e0bc8 selinux: fix GPF on invalid policy
4cc66cc4f81f block: use rcu_work instead of call_rcu to avoid sleep in softirq
2663bcba075f netfilter: ebtables: account ebt_table_info to kmemcg
61b29bed9010 sunrpc: handle ENOMEM in rpcb_getport_async
c4f39cba6fd0 media: vb2: vb2_mmap: move lock up
a19aedf1a77c LSM: Check for NULL cred-security on free
a72e572f8a2d ipv6: make icmp6_send() robust against null skb->dev
341906cb25f9 bpf: in __bpf_redirect_no_mac pull mac only if present
d9c249a302cb media: vivid: set min width/height to a value > 0
4497ce43a5d0 media: vivid: fix error handling of kthread_run
4190c5fd8a7f omap2fb: Fix stack memory disclosure
328f3de2ef76 fix int_sqrt64() for very large numbers
89a9f049f8b9 Disable MSI also when pcie-octeon.pcie_disable on
3832c115bf80 arm64: dts: marvell: armada-ap806: reserve PSCI area
ca8080c308f4 arm64: kaslr: ensure randomized quantities are clean to the PoC
483ac8e65a8a pstore/ram: Avoid allocation and leak of platform data
a10cabbf7a76 net: dsa: realtek-smi: fix OF child-node lookup
0098f2e791d7 kbuild: Disable LD_DEAD_CODE_DATA_ELIMINATION with ftrace & GCC <= 4.7
ec485378a4c4 RDMA/vmw_pvrdma: Return the correct opcode when creating WR
836edf22ffd1 RDMA/nldev: Don't expose unsafe global rkey to regular user
8f4a0e7d8bef media: v4l: ioctl: Validate num_planes for debug messages
d846f48c1dd5 mfd: tps6586x: Handle interrupts on suspend
a752c6d6de80 OF: properties: add missing of_node_put
ac8b9e8e7ddd drm/i915/gvt: Fix mmap range check
434b1b91573c MIPS: lantiq: Fix IPI interrupt handling
19f41f32a4b4 MIPS: BCM47XX: Setup struct device for the SoC
8f469dc0e6dc mips: fix n32 compat_ipc_parse_version
9d37f4a046c2 scsi: sd: Fix cache_type_store()
d368f540ac3e scsi: core: Synchronize request queue PM status only on successful resume
b955a2c75675 Yama: Check for pid death before checking ancestry
01634ac56393 btrfs: wait on ordered extents on abort cleanup
4675f90ef892 Revert "btrfs: balance dirty metadata pages in btrfs_finish_ordered_io"
4432362af3a3 xen: Fix x86 sched_clock() interface for xen
64e986444138 crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK
c6578f509312 crypto: talitos - reorder code in talitos_edesc_alloc()
44c67402c3f7 crypto: authenc - fix parsing key with misaligned rta_len
97a6662b035c crypto: bcm - convert to use crypto_authenc_extractkeys()
93242fa04d87 crypto: ccree - convert to use crypto_authenc_extractkeys()
659080376639 crypto: authencesn - Avoid twice completion call in decrypt path
9107b2f43432 crypto: caam - fix zero-length buffer DMA mapping
68afc7c36461 crypto: sm3 - fix undefined shift by >= width of value
6e09bef3cbe2 r8169: load Realtek PHY driver module before r8169
eb02c17fcce5 ip: on queued skb use skb_header_pointer instead of pskb_may_pull
d2898aae0da6 bonding: update nest level on unlink
d976151a51c8 r8169: don't try to read counters if chip is in a PCI power-save state
8dc262df0c6f smc: move unhash as early as possible in smc_release()
f352903d5d78 lan743x: Remove phy_read from link status change function
08be4b72f362 tun: publish tfile after it's fully initialized
d7fe54c17aa3 tcp: change txhash on SYN-data timeout
3dc241b8fa94 packet: Do not leak dev refcounts on error exit
54cbcff82d5e net: bridge: fix a bug on using a neighbour cache entry without checking its state
c0e1392e37e1 ipv6: fix kernel-infoleak in ipv6_local_error()
d29d3891c009 arm64: Don't trap host pointer auth use to EL2
a31edd1c1b7b arm64/kvm: consistently handle host HCR_EL2 flags
a200574da87b scsi: target: iscsi: cxgbit: fix csk leak
25c0f7a24a4c scsi: target: iscsi: cxgbit: fix csk leak
ec98b3f39feb Revert "scsi: target: iscsi: cxgbit: fix csk leak"
e276420e4828 mmc: sdhci-msm: Disable CDR function on TX
6567515e4a7c netfilter: nf_conncount: fix argument order to find_next_bit
b01b92417d09 netfilter: nf_conncount: speculative garbage collection on empty lists
aea1d19594e6 netfilter: nf_conncount: move all list iterations under spinlock
bdc6c893ba37 netfilter: nf_conncount: merge lookup and add functions
13c639424bc2 netfilter: nf_conncount: restart search when nodes have been erased
d6b3ff0222fb netfilter: nf_conncount: split gc in two phases
ef68fdb5179c netfilter: nf_conncount: don't skip eviction when age is negative
c5cbe95a4ba8 netfilter: nf_conncount: replace CONNCOUNT_LOCK_SLOTS with CONNCOUNT_SLOTS
8db82a6f2b76 can: gw: ensure DLC boundaries after CAN frame modification
a13520e0d5f5 tty: Don't hold ldisc lock in tty_reopen() if ldisc present
a42c97862837 tty: Simplify tty->count math in tty_reopen()
e6a4caa0b4dd tty: Hold tty_ldisc_lock() during tty_reopen()
028c13f7caf2 tty/ldsem: Wake up readers after timed out down_write()
9c5931b65a7b Linux 4.19.16
7a1b9b76bac7 Btrfs: use nofs context when initializing security xattrs to avoid deadlock
79aa5c0daa5c Btrfs: fix deadlock when enabling quotas due to concurrent snapshot creation
829431a2a5a8 Btrfs: fix access to available allocation bits when starting balance
6c9a2046297f arm64: compat: Don't pull syscall number from regs in arm_compat_syscall
4f14f446d115 KVM: arm/arm64: Fix VMID alloc race by reverting to lock-less
44e7bab39f87 sunrpc: use-after-free in svc_process_common()
160f79c0a039 mm: page_mapped: don't assume compound page is huge or THP
5dc41af3d19e ext4: fix special inode number checks in __ext4_iget()
bb80ad0dc392 ext4: track writeback errors using the generic tracking infrastructure
da38a1b47b02 ext4: use ext4_write_inode() when fsyncing w/o a journal
01db6e5cf81f ext4: avoid kernel warning when writing the superblock to a dead device
926cdac10439 ext4: fix a potential fiemap/page fault deadlock w/ inline_data
7c2ea25e1364 ext4: make sure enough credits are reserved for dioread_nolock writes
997255351a29 rbd: don't return 0 on unmap if RBD_DEV_FLAG_REMOVING is set
c7ca8e94dbb5 drm/amdgpu: Don't fail resume process if resuming atomic state fails
f05d02b3b4c8 drm/amdgpu: Don't ignore rc from drm_dp_mst_topology_mgr_resume()
d1a5113cf41b drm/i915: Unwind failure on pinning the gen7 ppgtt
f57bef95d6f8 drm/fb-helper: Partially bring back workaround for bugs of SDL 1.2
7398668b3110 drm/fb_helper: Allow leaking fbdev smem_start
b7c3696f68ad drm/amd/display: Fix MST dp_blank REG_WAIT timeout
857af87dcdce PCI: dwc: Move interrupt acking into the proper callback
c408aac37787 PCI: dwc: Take lock when ACKing an interrupt
11637a3a383b PCI: dwc: Use interrupt masking instead of disabling
c051be2b2621 drm/amdgpu: Add new VegaM pci id
719aee2c5ba1 vfio/type1: Fix unmap overflow off-by-one
1e235ec00be0 mtd: rawnand: qcom: fix memory corruption that causes panic
fca4eb31e096 i2c: dev: prevent adapter retries and timeout being set as minus value
3fdb8121e90a ACPI/IORT: Fix rc_dma_get_range()
6fd3d1975105 ACPI / PMIC: xpower: Fix TS-pin current-source handling
fec7361193b4 ACPI: power: Skip duplicate power resource references in _PRx
97b02b632466 mm, memcg: fix reclaim deadlock with writeback
8a4b6e8cb796 mm/usercopy.c: no check page span for stack objects
f928ca391747 slab: alien caches must not be initialized if the allocation of the alien cache failed
33c96bc68ff3 USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB
12388881ce0d USB: storage: add quirk for SMI SM3350
621ecb93578a USB: storage: don't insert sane sense for SPC3+ when bad sense specified
51b2a8e263cb usb: cdc-acm: send ZLP for Telit 3G Intel based modems
2a71a47e03ff cifs: Fix potential OOB access of lock element array
7dcc5b36ea7f CIFS: Fix credit computation for compounded requests
d2f76f6f9fa9 CIFS: Do not hide EINTR after sending network packets
c3606c646783 CIFS: Do not set credits to 1 if the server didn't grant anything
d1130682d127 CIFS: Fix adjustment of credits for MTU requests
045e3d2f1216 ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225
0fd36f024a70 ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225
50a67b1a85b9 ALSA: hda/realtek - Support Dell headset mode for New AIO platform
4bef2bacb1c5 x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINE
4ecbd88bf994 cpufreq: scmi: Fix frequency invariance in slow path
f64231cb4f13 staging: rtl8188eu: Fix module loading from tasklet for WEP encryption
ce588054801d staging: rtl8188eu: Fix module loading from tasklet for CCMP encryption
d7068618ae1f Btrfs: fix deadlock when using free space tree due to block group creation
e31851235412 Linux 4.19.15
6384c67c64b5 bnx2x: Fix NULL pointer dereference in bnx2x_del_all_vlans() on some hw
8e3a1c500288 drm/amd/display: Fix unintialized max_bpc state values
5f0ab980de1a drm/rockchip: psr: do not dereference encoder before it is null checked.
05a0177d84d9 drm/vc4: Set ->is_yuv to false when num_planes == 1
85c8c61007dd drm/nouveau/drm/nouveau: Check rc from drm_dp_mst_topology_mgr_resume()
4f44e58a5614 lib: fix build failure in CONFIG_DEBUG_VIRTUAL test
8dbea64423dc of: __of_detach_node() - remove node from phandle cache
1cb5a0333a5d of: of_node_get()/of_node_put() nodes held in phandle cache
daa67bd5d1ec power: supply: olpc_battery: correct the temperature units
f65b4d4ff3aa intel_th: msu: Fix an off-by-one in attribute store
998c3537af41 genwqe: Fix size check
86dcb94392f7 drivers/perf: hisi: Fixup one DDRC PMU register offset
c1aa0c845c36 video: fbdev: pxafb: Fix "WARNING: invalid free of devm_ allocated data"
9797226bf661 ceph: don't update importing cap's mseq when handing cap export
dc8408ea0b22 sched/fair: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b9c
87b868070f41 iommu/vt-d: Handle domain agaw being less than iommu agaw
f408aac3104c RDMA/srpt: Fix a use-after-free in the channel release code
c03d6b0f9a95 rxe: fix error completion wr_id and qp_num
6bf97c01b948 9p/net: put a lower bound on msize
af7cc8ebab4a iio: dac: ad5686: fix bit shift read register
a854ab8f6446 powerpc/tm: Set MSR[TS] just prior to recheckpoint
6d9e96f37d38 Revert "powerpc/tm: Unset MSR[TS] if not recheckpointing"
eb05c02903a7 leds: pwm: silently error out on EPROBE_DEFER
ae5c75e660e2 arm64: relocatable: fix inconsistencies in linker script and options
9873efe708bb arm64: drop linker script hack to hide __efistub_ symbols
3f26e68af5c0 nfsd4: zero-length WRITE should succeed
0b6001b941af lockd: Show pid of lockd for remote locks
b541ebbe0cf0 PCI / PM: Allow runtime PM without callback functions
b37fdd941036 selinux: policydb - fix byte order and alignment issues
c6c59adbc19a b43: Fix error in cordic routine
6ef56c9ad7f1 gfs2: Fix loop in gfs2_rbm_find
310486107d41 gfs2: Get rid of potential double-freeing in gfs2_create_inode
30d3dfd4c420 dlm: memory leaks on error path in dlm_user_request()
c5fa01a0153f dlm: lost put_lkb on error path in receive_convert() and receive_unlock()
294776562f96 dlm: possible memory leak on error path in create_lkb()
03acbec28a24 dlm: fixed memory leaks after failed ls_remove_names allocation
6353c0a03791 block: mq-deadline: Fix write completion handling
69e9b2858b20 block: deactivate blk_stat timer in wbt_disable_default()
a85449199539 Fix failure path in alloc_pid()
5781b53dd89c driver core: Add missing dev->bus->need_parent_lock checks
b57b3b008284 srcu: Lock srcu_data structure in srcu_gp_start()
378f9dfa495a ALSA: usb-audio: Always check descriptor sizes in parser code
6c8c16479b23 ALSA: usb-audio: Fix an out-of-bound read in create_composite_quirks
b389f9c4c97a ALSA: usb-audio: Check mixer unit descriptors more strictly
8ee6f180d56f ALSA: usb-audio: Avoid access before bLength check in build_audio_procunit()
281a9e46a94c ALSA: cs46xx: Potential NULL dereference in probe
6584ae39fa60 media: cx23885: only reset DMA on problematic CPUs
b6f66e8b227f mt76x0: init hw capabilities
13e554feddbd dma-direct: do not include SME mask in the DMA supported check
439022e0c2ec raid6/ppc: Fix build for clang
7dfb22b5abaa powerpc/boot: Set target when cross-compiling for clang
f4c27d53b15d Makefile: Export clang toolchain variables
1637d5d2e299 kbuild: consolidate Clang compiler flags
dcaab8b5d745 kbuild: add -no-integrated-as Clang option unconditionally
28e1d143b868 powerpc: Disable -Wbuiltin-requires-header when setjmp is used
ba1fe90be68f powerpc: avoid -mno-sched-epilog on GCC 4.9 and newer
24e26062b90e powerpc: consolidate -mno-sched-epilog into FTRACE flags
5b59eeba6b00 powerpc: remove old GCC version checks
668ecd6b17b9 sunrpc: use SVC_NET() in svcauth_gss_* functions
807957cecdc7 sunrpc: fix cache_head leak due to queued request
1c5e0be35de1 memcg, oom: notify on oom killer invocation from the charge path
8da70752f5fa mm, swap: fix swapoff with KSM pages
0f1a62e0737a mm, hmm: mark hmm_devmem_{add, add_resource} EXPORT_SYMBOL_GPL
e890a867060b mm, hmm: use devm semantics for hmm_devmem_{add, remove}
c215c66ceab5 mm, devm_memremap_pages: add MEMORY_DEVICE_PRIVATE support
ec5471c92fb2 mm, devm_memremap_pages: fix shutdown handling
0a38f2e4a4c7 mm, devm_memremap_pages: kill mapping "System RAM" support
b30ea244cf3e mm, devm_memremap_pages: mark devm_memremap_pages() EXPORT_SYMBOL_GPL
2c87072a3bf9 hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined
e3af83bd44ec zram: fix double free backing device
bc999b5099d7 fork: record start_time late
d257d4299ae7 scsi: lpfc: do not set queue->page_count to 0 if pc_sli4_params.wqpcnt is invalid
06fd6847c4a1 scsi: zfcp: fix posting too many status read buffers leading to adapter shutdown
218c81851f11 auxdisplay: charlcd: fix x/y command parsing
dc68052427be serial/sunsu: fix refcount leak
08e7661cdd56 qmi_wwan: Fix qmap header retrieval in qmimux_rx_fixup
2fb13e2004e8 net: netxen: fix a missing check and an uninitialized use
8bb68ed82f01 Input: synaptics - enable SMBus for HP EliteBook 840 G4
ae247d60588c gpio: mvebu: only fail on missing clk if pwm is actually to be used
332fc66790d6 lan743x: Remove MAC Reset from initialization
e1b3575c474e virtio: fix test build after uio.h change
e46d5bd8fd89 m68k: Fix memblock-related crashes
ae206a1a5e3a kbuild: fix false positive warning/error about missing libelf
ff014712e5d3 mac80211: free skb fraglist before freeing the skb
366fc5858720 nl80211: fix memory leak if validate_pae_over_nl80211() fails
098143bfc29e vxge: ensure data0 is initialized in when fetching firmware version information
945b416a973b lan78xx: Resolve issue with changing MAC address
c26419f3574e lan743x: Expand phy search for LAN7431
98876c46efd0 net: macb: add missing barriers when reading descriptors
6e48c0fc14af net: macb: fix dropped RX frames due to a race
873f9a559bcb net: macb: fix random memory corruption on RX with 64-bit DMA
12024f4fc118 qed: Fix an error code qed_ll2_start_xmit()
233ba13db681 SUNRPC: Fix a race with XPRT_CONNECTING
4f784484bd96 mac80211: fix a kernel panic when TXing after TXQ teardown
97fd4c7f6ddf net: hns: Fix ping failed when use net bridge and send multicast
1f89e4e8b54d net: hns: Add mac pcs config when enable|disable mac
b686b8c073c0 net: hns: Fix ntuple-filters status error.
db2ca348c80c net: hns: Avoid net reset caused by pause frames storm
c8e78cbcde24 net: hns: Free irq when exit from abnormal branch
ac9ae1930a1b net: hns: Clean rx fbd when ae stopped.
1b2f8d7cc1b2 net: hns: Fixed bug that netdev was opened twice
17eeca6e3d9b net: hns: Some registers use wrong address according to the datasheet.
341b8840435a net: hns: All ports can not work when insmod hns ko after rmmod.
41d54657e34b net: hns: Incorrect offset address used for some registers.
2cd0c6f8d050 w90p910_ether: remove incorrect __init annotation
997cb5039dba net/tls: Init routines in create_ctx
7a2b5258682f drivers: net: xgene: Remove unnecessary forward declarations
37fc22c6cf22 x86, hyperv: remove PCI dependency
2e2127508297 mt76: fix potential NULL pointer dereference in mt76_stop_tx_queues
131366ebda88 scsi: target: iscsi: cxgbit: add missing spin_lock_init()
c9cef2c71a89 scsi: target: iscsi: cxgbit: fix csk leak
a01345407c43 bnx2x: Send update-svid ramrod with retry/poll flags enabled
53471f0d893d bnx2x: Remove configured vlans as part of unload sequence.
096795d4ccc7 bnx2x: Clear fip MAC when fcoe offload support is disabled
7fd995d3b444 netfilter: nf_conncount: use rb_link_node_rcu() instead of rb_link_node()
ba364929ff0c netfilter: nat: can't use dst_hold on noref dst
9e4041016015 netfilter: ipset: do not call ipset_nest_end after nla_nest_cancel
27f59f342f7c ixgbe: Fix race when the VF driver does a reset
3bfed541c3ee i40e: fix mac filter delete when setting mac address
56769ef90b83 x86/dump_pagetables: Fix LDT remap address marker
62075c982bf7 x86/mm: Fix guard hole handling
af03a980e86f ieee802154: ca8210: fix possible u8 overflow in ca8210_rx_done
e4bcb09d3b48 ibmvnic: Fix non-atomic memory allocation in IRQ context
733f5216eb54 ibmvnic: Convert reset work item mutex to spin lock
b7e2af3fdf8a Input: synaptics - enable RMI on ThinkPad T560
c5dabddc2ccc Input: omap-keypad - fix idle configuration to not block SoC idle states
c0c14b758c0c scsi: bnx2fc: Fix NULL dereference in error handling
98ce676bea96 Revert "scsi: qla2xxx: Fix NVMe Target discovery"
6bcf9ef86c86 netfilter: seqadj: re-load tcp header pointer after possible head reallocation
cee05c0371a6 netfilter: nf_tables: fix suspicious RCU usage in nft_chain_stats_replace()
537e9a8c301d ieee802154: hwsim: fix off-by-one in parse nested
083d552a890c xfrm: Fix NULL pointer dereference in xfrm_input when skb_dst_force clears the dst_entry.
00eff089dfb7 xfrm: Fix bucket count reported to userspace
34a2f36c0115 xfrm: Fix error return code in xfrm_output_one()
7519ffa9118c checkstack.pl: fix for aarch64
8c9c3747750a IB/core: Fix oops in netdev_next_upper_dev_rcu()
a8d16017db2e drm/amdgpu: Fix DEBUG_LOCKS_WARN_ON(depth <= 0) in amdgpu_ctx.lock
54568ab2e11f powerpc/mm: Fallback to RAM if the altmap is unusable
52e1f29e8bcf Input: restore EV_ABS ABS_RESERVED
b4592b838322 IB/mlx5: Block DEVX umem from the non applicable cases
aad142a61ebb ARM: dts: imx7d-nitrogen7: Fix the description of the Wifi clock
eab3109e1547 ARM: imx: update the cpu power up timing setting on i.mx6sx
94541b595ad4 ARM: dts: imx7d-pico: Describe the Wifi clock
270a08ffa1b9 HID: ite: Add USB id match for another ITE based keyboard rfkill key quirk
d4fdc5e82357 powerpc/mm: Fix linux page tables build with some configs
4642a5c58299 powerpc: Fix COFF zImage booting on old powermacs
a294de739535 arm64: dts: mt7622: fix no more console output on rfb1
cd9ff62bad88 pinctrl: meson: fix pull enable register calculation
0dc2ffac869c ARM: dts: sun8i: a83t: bananapi-m3: increase vcc-pd voltage to 3.3V
(From OE-Core rev: 29d4b668e2ecba2ea263d448ac32505d953ad1d1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable updates from Paul Gortmaker that comprise the
following commits:
fb957805a800 Linux 4.18.27
e40e99b6b15d ipmi:ssif: Fix handling of multi-part return messages
ec5b2f3f897b ipmi: Prevent use-after-free in deliver_response
d605dfec5314 ipmi: msghandler: Fix potential Spectre v1 vulnerabilities
6fcd5c67bbed ipmi: fix use-after-free of user->release_barrier.rda
8978d7c6dec4 Bluetooth: Fix unnecessary error message for HCI request completion
9aa6a6afdc9d iwlwifi: mvm: Send LQ command as async when necessary
be293e2c8d5d mm, proc: be more verbose about unstable VMA flags in /proc/<pid>/smaps
5da1802b5dd9 userfaultfd: clear flag if remap event not enabled
08861c6db0c1 mm/swap: use nr_node_ids for avail_lists in swap_info_struct
fbd6851e6d57 mm/page-writeback.c: don't break integrity writeback on ->writepage() error
42af1b118dec ocfs2: fix panic due to unrecovered local alloc
e701c6b47b1e scsi: megaraid: fix out-of-bound array accesses
c2414688a11f scsi: smartpqi: call pqi_free_interrupts() in pqi_shutdown()
248849ffcee8 ath10k: fix peer stats null pointer dereference
e6e7a27d9894 scsi: smartpqi: correct lun reset issues
f82c77b69dd4 scsi: mpt3sas: fix memory ordering on 64bit writes
7fe3902a1b30 IB/usnic: Fix potential deadlock
07716336ae4f sysfs: Disable lockdep for driver bind/unbind files
52223b291461 ALSA: bebob: fix model-id of unit for Apogee Ensemble
f55b7d8c5747 dm: Check for device sector overflow if CONFIG_LBDAF is not set
744fb8e55bdc clocksource/drivers/integrator-ap: Add missing of_node_put()
c7e5ef0fad26 quota: Lock s_umount in exclusive mode for Q_XQUOTA{ON,OFF} quotactls.
051f86c6e4fe perf tools: Add missing open_memstream() prototype for systems lacking it
f40cb62ae378 perf tools: Add missing sigqueue() prototype for systems lacking it
fe10d3ee10ae dm snapshot: Fix excessive memory usage and workqueue stalls
dbb2e01442dd tools lib subcmd: Don't add the kernel sources to the include path
9844e0dbc6d0 perf stat: Avoid segfaults caused by negated options
d8dc75d3d9fc dm kcopyd: Fix bug causing workqueue stalls
dff3fa1af70f dm crypt: use u64 instead of sector_t to store iv_offset
26dfea580c42 x86/topology: Use total_cpus for max logical packages calculation
5f13f97aad1e netfilter: ipt_CLUSTERIP: fix deadlock in netns exit routine
d5e112ef684d netfilter: ipt_CLUSTERIP: remove wrong WARN_ON_ONCE in netns exit routine
ed843e0c755b netfilter: ipt_CLUSTERIP: check MAC address when duplicate config is set
ab68568470d6 perf vendor events intel: Fix Load_Miss_Real_Latency on SKL/SKX
5ddf63d48c16 perf parse-events: Fix unchecked usage of strncpy()
882079829dfb perf svghelper: Fix unchecked usage of strncpy()
e689fb5da3fc perf tests ARM: Disable breakpoint tests 32-bit
ef3ae9b3e540 perf intel-pt: Fix error with config term "pt=0"
8639a6aacfd7 tty/serial: do not free trasnmit buffer page under port lock
80c3cdea380c btrfs: improve error handling of btrfs_add_link
2202b846b13c btrfs: alloc_chunk: fix more DUP stripe size handling
ab3a0bbe8b0b mmc: atmel-mci: do not assume idle after atmci_request_end
32f972da3d3a kconfig: fix memory leak when EOF is encountered in quotation
10d9a6a992ee kconfig: fix file name and line number of warn_ignored_character()
f7bcc8b2f7ef bpf: relax verifier restriction on BPF_MOV | BPF_ALU
eec0856907da arm64: Fix minor issues with the dcache_by_line_op macro
f2300824da71 clk: imx6q: reset exclusive gates on init
1604baf07d22 arm64: kasan: Increase stack size for KASAN_EXTRA
13ba93449b46 selftests: do not macro-expand failed assertion expressions
3bbd076d9136 scsi: target: use consistent left-aligned ASCII INQUIRY data
e37db031ef5a net: call sk_dst_reset when set SO_DONTROUTE
fb614921bc34 media: venus: core: Set dma maximum segment size
eb2c9c4ca615 ASoC: use dma_ops of parent device for acp_audio_dma
68a03c142063 media: firewire: Fix app_info parameter type in avc_ca{,_app}_info
b60c7a6713d5 powerpc/pseries/cpuidle: Fix preempt warning
df30a1b5d8d2 powerpc/xmon: Fix invocation inside lock region
4f03e69412ba media: uvcvideo: Refactor teardown of uvc on USB disconnect
e6b355ae24ba pstore/ram: Do not treat empty buffers as valid
72d479d16ec9 clk: imx: make mux parent strings const
277364cbbd21 jffs2: Fix use of uninitialized delayed_work, lockdep breakage
d206a38109fc efi/libstub: Disable some warnings for x86{,_64}
643a876a5b01 rxe: IB_WR_REG_MR does not capture MR's iova field
f5d7d77be0a6 scsi: qedi: Check for session online before getting iSCSI TLV data.
5c28f6e86aff ASoC: pcm3168a: Don't disable pcm3168a when CONFIG_PM defined
6ca660928969 selinux: always allow mounting submounts
128146d4fb71 fpga: altera-cvp: fix probing for multiple FPGAs on the bus
3e60aeeefaeb usb: gadget: udc: renesas_usb3: add a safety connection way for forced_b_device
e1c8feafd5fe samples: bpf: fix: error handling regarding kprobe_events
2b3081b77e3f clk: meson: meson8b: fix incorrect divider mapping in cpu_scale_table
0bf0163094a9 drm/atomic-helper: Complete fake_commit->flip_done potentially earlier
21330a217643 arm64: perf: set suppress_bind_attrs flag to true
066b9fddd721 crypto: ecc - regularize scalar for scalar multiplication
e26359f1620c MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur
3afff9e63c8e x86/mce: Fix -Wmissing-prototypes warnings
9b3a195320ca ALSA: oxfw: add support for APOGEE duet FireWire
04aba67bbf94 bpf: Allow narrow loads with offset > 0
f30cc07af44f serial: set suppress_bind_attrs flag only if builtin
d264a0f394ba writeback: don't decrement wb->refcnt if !wb->bdi
74691a75e365 of: overlay: add missing of_node_put() after add new node to changeset
419af4cd1015 selftests/bpf: enable (uncomment) all tests in test_libbpf.sh
2e3f88e667c6 e1000e: allow non-monotonic SYSTIM readings
f782c9d1da48 platform/x86: asus-wmi: Tell the EC the OS will handle the display off hotkey
1261977d0ab4 ixgbe: allow IPsec Tx offload in VEPA mode
7c73931b7303 drm/amd/display: Guard against null stream_state in set_crc_source
39d92f35a8dc gpio: pl061: Move irq_chip definition inside struct pl061
3aec221e313a netfilter: ipset: Allow matching on destination MAC address for mac and ipmac sets
6a5be9a2ffef ipv6: Take rcu_read_lock in __inet6_bind for mapped addresses
50d329eca381 r8169: Add support for new Realtek Ethernet
d1aad26bb964 qmi_wwan: add MTU default to qmap network interface
62b4f9e777bf net, skbuff: do not prefer skb allocation fails early
eb5c8d69ea42 net: dsa: mv88x6xxx: mv88e6390 errata
993bc7d54dac mlxsw: spectrum_switchdev: Set PVID correctly during VLAN deletion
8fb8533a5309 mlxsw: spectrum: Disable lag port TX before removing it
75daf3c475df ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address
73827a8e2e30 nbd: Use set_blocksize() to set device blocksize
f65d7d5574e1 drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock
528fa9207170 loop: drop caches if offset or block_size are changed
3df31feee60d loop: Fix double mutex_unlock(&loop_ctl_mutex) in loop_control_ioctl()
d4082dc05ac9 loop: Get rid of 'nested' acquisition of loop_ctl_mutex
78f210acfd34 loop: Avoid circular locking dependency between loop_ctl_mutex and bd_mutex
3ebf94b079ba loop: Fix deadlock when calling blkdev_reread_part()
fc4a4583f9f1 loop: Move loop_reread_partitions() out of loop_ctl_mutex
2c2c3aa3ab1c loop: Move special partition reread handling in loop_clr_fd()
e2c6ee2931ca loop: Push loop_ctl_mutex down to loop_change_fd()
b442997a7285 loop: Push loop_ctl_mutex down to loop_set_fd()
33d682700fb0 loop: Push loop_ctl_mutex down to loop_set_status()
49f911a6a4c0 loop: Push loop_ctl_mutex down to loop_get_status()
c3be2cd6ad9e loop: Push loop_ctl_mutex down into loop_clr_fd()
9a4a7555c177 loop: Split setting of lo_state from loop_clr_fd
d1f05249099a loop: Push lo_ctl_mutex down into individual ioctls
50bbdfab99c1 loop: Get rid of loop_index_mutex
bc40dc95afdc loop: Fold __loop_release into loop_release
23d5eac305d0 block/loop: Use global lock for ioctl() operation.
e0d29ef2a8b0 block/loop: Don't grab "struct file" for vfs_getattr() operation.
8281310f32aa tipc: fix uninit-value in tipc_nl_compat_doit
95c94c995d8e tipc: fix uninit-value in tipc_nl_compat_name_table_dump
b099f94e1e4d tipc: fix uninit-value in tipc_nl_compat_link_set
8e649a4839e0 tipc: fix uninit-value in tipc_nl_compat_bearer_enable
e54458ac168e tipc: fix uninit-value in tipc_nl_compat_link_reset_stats
9a8f56b713dc tipc: fix uninit-value in in tipc_conn_rcv_sub
08ea8e1bfd4b sctp: allocate sctp_sockaddr_entry with kzalloc
4c02dbac416c blockdev: Fix livelocks on loop device
af7bec66e3ee selinux: fix GPF on invalid policy
de9b736152ed block: use rcu_work instead of call_rcu to avoid sleep in softirq
b232d75be71a netfilter: ebtables: account ebt_table_info to kmemcg
aa4d1d6641b5 sunrpc: handle ENOMEM in rpcb_getport_async
ddb29b79dbff media: vb2: be sure to unlock mutex on errors
b9f0f2f9cf59 media: vb2: vb2_mmap: move lock up
7308ece86dd0 LSM: Check for NULL cred-security on free
71ba5763243b ipv6: make icmp6_send() robust against null skb->dev
05e6bff7e7a6 bpf: in __bpf_redirect_no_mac pull mac only if present
4181e7d61b1a media: vivid: set min width/height to a value > 0
cbfc610ae5f2 media: vivid: fix error handling of kthread_run
05f5b1394483 omap2fb: Fix stack memory disclosure
28063cb50ed8 fix int_sqrt64() for very large numbers
37112a960b7f Disable MSI also when pcie-octeon.pcie_disable on
8fd61f25fcf3 arm64: dts: marvell: armada-ap806: reserve PSCI area
58c3acda1754 arm64: kaslr: ensure randomized quantities are clean to the PoC
9a013b991c02 pstore/ram: Avoid allocation and leak of platform data
1aa9985076dc RDMA/nldev: Don't expose unsafe global rkey to regular user
b409b102c7d8 media: v4l: ioctl: Validate num_planes for debug messages
92dd1f93a3c9 mfd: tps6586x: Handle interrupts on suspend
2e63388cbfdb OF: properties: add missing of_node_put
1957d16bceca drm/i915/gvt: Fix mmap range check
f1e756d98a46 MIPS: lantiq: Fix IPI interrupt handling
ac8f34885340 mips: fix n32 compat_ipc_parse_version
0830f02f81b3 scsi: sd: Fix cache_type_store()
f25d687e3d8b scsi: core: Synchronize request queue PM status only on successful resume
0f7357d9b8e4 Yama: Check for pid death before checking ancestry
f94e8c0566d0 btrfs: wait on ordered extents on abort cleanup
4b1129e59323 Revert "btrfs: balance dirty metadata pages in btrfs_finish_ordered_io"
f9ac2ffa0255 xen: Fix x86 sched_clock() interface for xen
79ad9eda6689 x86/xen/time: Output xen sched_clock time from 0
7b3718f98f17 crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK
c194e944dc98 crypto: talitos - reorder code in talitos_edesc_alloc()
0b612c90335c crypto: authenc - fix parsing key with misaligned rta_len
bed3cec44833 crypto: bcm - convert to use crypto_authenc_extractkeys()
f1daff3d1cb1 crypto: ccree - convert to use crypto_authenc_extractkeys()
b445d866e2fa crypto: authencesn - Avoid twice completion call in decrypt path
1d5d8babb9a8 crypto: caam - fix zero-length buffer DMA mapping
04836f6b86bd crypto: sm3 - fix undefined shift by >= width of value
42cd579fd790 bonding: update nest level on unlink
12dff858b935 r8169: don't try to read counters if chip is in a PCI power-save state
5087c2825807 smc: move unhash as early as possible in smc_release()
cf652d77ac45 tun: publish tfile after it's fully initialized
faee48550bf4 tcp: change txhash on SYN-data timeout
e87c244b11cd net: bridge: fix a bug on using a neighbour cache entry without checking its state
c499692ded84 ipv6: fix kernel-infoleak in ipv6_local_error()
a3ab077a3f79 arm64: Don't trap host pointer auth use to EL2
6f127252fe5f arm64/kvm: consistently handle host HCR_EL2 flags
e5fed8d49b5b scsi: target: iscsi: cxgbit: fix csk leak
f1778e1523fa netfilter: nf_conncount: don't skip eviction when age is negative
df00c2c10e4f can: gw: ensure DLC boundaries after CAN frame modification
58e9f5227691 tty: Don't hold ldisc lock in tty_reopen() if ldisc present
c6e522371001 tty: Simplify tty->count math in tty_reopen()
e3ac534b8aa5 tty: Hold tty_ldisc_lock() during tty_reopen()
3456ecaf8d34 tty/ldsem: Wake up readers after timed out down_write()
2b1afc9c3506 Btrfs: use nofs context when initializing security xattrs to avoid deadlock
403d0f9134a7 Btrfs: fix access to available allocation bits when starting balance
343ae5df68a2 KVM: arm/arm64: Fix VMID alloc race by reverting to lock-less
42e3a4424b12 sunrpc: use-after-free in svc_process_common()
39e372a81d13 mm: page_mapped: don't assume compound page is huge or THP
845f8457893a ext4: track writeback errors using the generic tracking infrastructure
a0e9782472b8 ext4: use ext4_write_inode() when fsyncing w/o a journal
c60e8096cc4d ext4: avoid kernel warning when writing the superblock to a dead device
3ec6f7792def ext4: fix a potential fiemap/page fault deadlock w/ inline_data
02d823cdb2a4 ext4: make sure enough credits are reserved for dioread_nolock writes
154261392771 rbd: don't return 0 on unmap if RBD_DEV_FLAG_REMOVING is set
98213a9d5ce0 drm/amdgpu: Don't fail resume process if resuming atomic state fails
dc2660871a4a drm/amdgpu: Don't ignore rc from drm_dp_mst_topology_mgr_resume()
26089047b42c drm/amd/display: Fix MST dp_blank REG_WAIT timeout
003d29ca6fba PCI: dwc: Move interrupt acking into the proper callback
b90e95417c02 PCI: dwc: Take lock when ACKing an interrupt
d51df9e16301 PCI: dwc: Use interrupt masking instead of disabling
c122260b25cd drm/amdgpu: Add new VegaM pci id
789040bc5039 vfio/type1: Fix unmap overflow off-by-one
86cecca3d93e i2c: dev: prevent adapter retries and timeout being set as minus value
50558f1ca67b ACPI / PMIC: xpower: Fix TS-pin current-source handling
4b75905144c7 ACPI: power: Skip duplicate power resource references in _PRx
c78b2116c9d7 mm, memcg: fix reclaim deadlock with writeback
8bf6869b4d75 mm/usercopy.c: no check page span for stack objects
d6c879709135 slab: alien caches must not be initialized if the allocation of the alien cache failed
bb1c250d55ff USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB
39fa1b192449 USB: storage: add quirk for SMI SM3350
4385b42a4cc2 USB: storage: don't insert sane sense for SPC3+ when bad sense specified
d10e7b64e2b3 usb: cdc-acm: send ZLP for Telit 3G Intel based modems
af318dc8d1f4 cifs: Fix potential OOB access of lock element array
4c26d3a072da CIFS: Do not hide EINTR after sending network packets
50c6b89008ec CIFS: Fix adjustment of credits for MTU requests
a7eb3c3dc214 ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225
dcb78b2a6e1c ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225
26b78760c7ae ALSA: hda/realtek - Support Dell headset mode for New AIO platform
94ddf9e27eb5 cpufreq: scmi: Fix frequency invariance in slow path
516c5e5f484f Revert "x86/hyper-v: Check cpumask_to_vpset() return value in hyperv_flush_tlb_others_ex()"
(From OE-Core rev: c05bd600a4200a76513ff5a127f44efe1eab4045)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's stable updates that comprise the following
commits:
89754c7da63f Linux 4.18.26
c564abe1908c NFSv4: Fix a tracepoint Oops in initiate_file_draining()
890d46c677fd net: hns3: fix return value error while hclge_cmd_csq_clean failed
9cee553eeef0 PCI/AER: Remove duplicate PCI_EXP_AER_FLAGS definition
5ffe615c7959 fbdev: omap2: omapfb: fix ifnullfree.cocci warnings
9a2eb194c961 fbdev: omap2: omapfb: fix bugon.cocci warnings
795731d5307f fbdev: omap2: omapfb: fix boolreturn.cocci warnings
8c656840a4cc PCI: mobiveil: Add Kconfig/Makefile entries
0f7c216a5905 pinctrl: mediatek: include chained_irq.h header
3f240c958d39 m68k/io: Add missing ioremap define guards, fix typo
3aca0a7960d4 dm writecache: report start_sector in status line
50de44fbe274 arm64: mm: Export __sync_icache_dcache() for xen-privcmd
4c521f993bb9 tipc: add missing dev_put() on error in tipc_enable_l2_media
0a7f5ef06a67 clk: actions: Add missing REGMAP_MMIO dependency
90cbc3a9021a net: remove redundant input checks in SIOCSIFTXQLEN case of dev_ifsioc
92b0d2a490ba nvmet: check fileio lba range access boundaries
95550ccfee82 EVM: fix return value check in evm_write_xattrs()
9c63338b2ecc multicast: remove useless parameter for group add
818380e81f55 regulator: qcom_spmi: Do not initialise static to NULL
80faeb6437d9 netfilter: nft_socket: Break evaluation if no socket found
7896db3d286a netfilter: nft_tproxy: Move nf_tproxy_assign_sock() to nf_tproxy.h
6ee2615cbc6c x86/hyper-v: Check cpumask_to_vpset() return value in hyperv_flush_tlb_others_ex()
b98d573d572f drm/nouveau/kms/nv50-: fix drm-get-put.cocci warnings
5b4fbedbb14a ASoC: qdsp6: q6routing: off by one in routing_hw_params()
0ce601464e44 drm/amdgpu: get VCN start to process in the dpm disabled case
cdb988723c92 net: stmmac: Fix PCI module removal leak
f014d3b35b9f ip: on queued skb use skb_header_pointer instead of pskb_may_pull
ee45cb43d804 linux/device.h: fix kernel-doc notation warning
eb11d9a94de0 regulator: Revert "regulator: pfuze100: add enable/disable for switch"
26d53be66490 KVM: VMX: hide flexpriority from guest when disabled at the module level
1c9ebfaf8229 media: omap3isp: fix warning for !CONFIG_PM
60f30bf144b8 cfg80211: fix wext-compat memory leak
9685f469611b spi: spi-mem: Add missing description for data.nbytes field
07b7e110c17b arm64: dts: renesas: r8a77990: Remove non-existing STBE region
d6e90a26c5bd media: cx231xx: fix RC_CORE dependency
7a281dbd6967 media: v4l: cadence: add VIDEO_V4L2 dependency
3b95f46801af perf Documentation: Fix out-of-tree asciidoctor man page generation
8d927494900d selftests: forwarding: mirror_gre_vlan_bridge_1q: Unset rp_filter
8359363df5a6 net/mlx5: Use u16 for Work Queue buffer strides offset
0f85219db2ee kconfig: remove a spurious self-assignment
40535cf8ca98 netfilter: nf_tables: don't prevent event handler from device cleanup on netns exit
10d27d084c16 drm/i915: Stop holding a ref to the ppgtt from each vma
e9c0ce028417 f2fs: wake up gc thread immediately when gc_urgent is set
b9f47e1e8a61 tcp: avoid resetting ACK timer upon receiving packet with ECN CWR flag
f1a29b5218b0 tcp: mandate a one-time immediate ACK
4474fad367bf selftests: rtnetlink: use a local IP address for IPsec tests
f9229f11713c selftests: rtnetlink: hide complaint from terminated monitor
2b4cb6ad782d i40iw: Reorganize acquire/release of locks in i40iw_manage_apbvt
f2aa45e70b9a drm/sun4i: mark PM functions as __maybe_unused
6c4f9bb9e2c7 drm/v3d: Checking for NULL vs IS_ERR()
(From OE-Core rev: 920440b0406f04963603e54f49527772fb14dacb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Formatting changes and replace http with https in urls.
Drop backported patch which is now applied upstream in 4.0.2
(From OE-Core rev: f54688e272cbe33157951bda2efc206f14815974)
Signed-off-by: Khem Raj <raj.khem@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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates busybox to version 1.29.3 to fix a bug related to parsing of
config files: 2993551ef ("Revert "libbb: remove unnecessary variable in
xmalloc_fgets"")
Upgrading the recipe was chosen instead of backporting the fix as a
patch because the only difference between version 1.29.2 and 1.29.3 is
this revert.
(From OE-Core rev: 11d4fd16c3d7dad5d7e3b4d44a96724075be7126)
Signed-off-by: Dustin Bain <dustin.bain@garmin.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream dropped support for GTK2 (in v3.1.0) and this flag was dropped.
Relevant upstream commit ID: 89d85cde75143325205e332dd97bf1bb8402d7c1
(From OE-Core rev: 90f5cf92c88d17ee976498a7f2b1d3514acb118b)
Signed-off-by: Chris Patterson <pattersonc@ainfosec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use prelink only when image-prelink class is inherited. Inheriting this
class adds prelink-native as dependency to do_rootfs, which makes prelink
binary and configuration available.
|Exception: FileNotFoundError: [Errno 2] No such file or directory:
|'/home/.../1.0-r0/recipe-sysroot-native/etc/prelink.conf'
|
| if not os.path.exists(prelink_cfg):
| shutil.copy(self.d.expand('${STAGING_DIR_NATIVE}${sysconfdir_native}/prelink.conf'),prelink_cfg)
(From OE-Core rev: 9e30e72920b3c661279499f2e94d5dc0087a1a8e)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recently added support for updating FILES based on the file renames
that are happening here is using a regex replace, but failed to
properly escape the search pattern (the full path). This manifests itself
in FILES not being updated as soon as the full path contains any
character that has a special meaning, e.g. '+'.
In other words an original path (alt_target in the code) like
/opt/poky/2.6+snapshot/sysroots/i686-pokysdk-linux/sbin/losetup
can't be matched, and hence we fail to update FILES with the new value,
causing packaging errors.
Fix by using re.escape() on the original path before passing into re.sub()
Fixes: 5c23fe378732 ("update-alternatives: try to update FILES_${PN} when
renaming a file"), or bcb3e7b7f8 in poky.git
[YOCTO #13058]
(From OE-Core rev: 126743162397e4145902b3f127f2dafd80a8a49b)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I am not familiar with the big endian, so I don't update it.
I don't have much information about the Cavium ThunderX,
it looks like it supports all the ARM instructions.
(From OE-Core rev: b6c6fa72bdffd5d8995058e8e0e21d5561cc16c6)
Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
arch-armv8 does not have many real-world implementations
(From OE-Core rev: 6719de403620dded075dc74f2976669d95bffd7a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some addtional instructions apart from bare armv8,
also there is armv8.1, armv8.2.
Most the processor would support crc, except X-gene 1.
(From OE-Core rev: d1db78b0e284e1a1f370e71183ded0cbdc1475db)
Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit b95b6ba1a2959e2294a8848fa35f20163388eb06 changed package_ipk.bbclass
to xz when building packages. This updates OpkgDpkgPM.extract() accordingly.
(From OE-Core rev: c09a22c421a57701f6b943eb50b9bae1545e5b39)
Signed-off-by: Angus Lees <gus@inodes.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kernel commit that added the syscall table generation tools
for ARM platform (ARM: convert to generated system call tables)
wasn't merged until kernel release v4.10.
Current assumption in kernel-devsrc recipe is that these syscall
scripts exist, which breaks the build for external board layers that are
still using 4.9.x kernels:
cp: cannot stat ‘arch/arm/tools/syscall*’: No such file or directory
so only try to install the scripts when they actually exist.
(From OE-Core rev: 7b4d77d7f909c0ae27553fd9c480f069f12e468f)
Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid infinite include loops, especially with bits/wordsize.h which is
now possible with the synthesized headers since we now also synthesize
bits/wordsize.h itelf for some arches e.g. arm/aarch64
In cases where extra preprocessing tools are used such as clang-tidy
e.g. and these tools are not passed the knowledge about architecture
then case comes where we enter into header include loop for
bits/wordsize.h, since this template does explicitly include
bits/wordsize.h
To fix this emits the pragma once at beginning of file, this is better
solution than include guards, and pragma once is practically supported
on all compilers except few e.g. cray c/c++ compiler
(From OE-Core rev: 6ab11ac25bb987642d5ca1a07f4bd5f30c66c9c5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intent of the code was to catch one kind of error, it was actually swallowing
all exceptions and looping indefinitely. Fix it to work as intended.
This explains some mystery hangs we've been seeing.
(Bitbake rev: d73dbc3580faa1225d95ae4cefac4879ca3c1b2f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
- Add the following lines to conf/local.conf:
FOO = "BAR1"
FOO_append = "\
BAR2"
$ bitbake -e | grep '^FOO'
FOO="BAR1BAR2"
The leading spaces in the second line have been removed.
- But if add the previous two lines to base.bbclass:
$ bitbake -e | grep '^FOO'
FOO="BAR1 BAR2"
The leading spaces in the second line are preserved, this is inconsistent, now
fix ConfHandler to preserve leading spaces.
[YOCTO #12380]
(Bitbake rev: 8c3bc15a7b5e0a81d7b6c9d3fe43fbff63207156)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are typos in the fixture files that need to be fixed to correctly
check out the 'thud' branch.
[YOCTO #13064]
(Bitbake rev: 649a304b4d0a35553f665f0a748a7f21fcab51ba)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
move tzcode and tzdata-native into new dir
Updates are now limited to the common include file.
[v2]
Fix UMMARY typ0 in timezone.inc
(From OE-Core rev: 60c30127df63b75d70a61d90c9f9afe0f938dc71)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes
https://sourceware.org/ml/binutils/2019-02/msg00010.html
0007-Add-the-armv5e-architecture-to-binutils.patch is dropped since we
armv5 is not a used option anymore in OE armv5te is default, and gcc9
will drop it completely anyway
CVE patches were backports from master which is already past of 2.32
release
Other dropped patches were partial or full backports as well
(From OE-Core rev: b71294c4decf35d544a2c8adb4e67d141841fc68)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent version of tmux seems to use PWD from the environment instead of the
actual working directory. Help it use the correct path.
Fixes setting the correct working directory when running
devshell and menuconfig tasks.
(From OE-Core rev: 938a089b52e7bf5f67406f55234ab2d22236e9b6)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Copyright year updates from 2017-2019
Refresh patches to apply on new version
mesa move dep to the llvm release to 8.0
Needs to happen along with llvm upgrade always
(From OE-Core rev: 96631d53becca8408758b405adc670ad7e2ea2f3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the musl specific fopencookie patches since musl
added support for fopencookie in:
06184334 implement the fopencookie extension to stdio
in December 2017 so it has been in musl since v1.1.19.
There was no change in libsolv's configure log when building
with musl and these patches dropped.
(From OE-Core rev: 8eeb5bae02331cec3bea98adef784357c6e3c910)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default behaviour is to show just recipes needing upgrades, but for
automated reports showing all recipes can be useful.
(From OE-Core rev: 29e064ac6bd8d1ef74c280bf85bf8428c37ba014)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
from NEWS:
- selected bug fixes:
* fixed a couple of null pointer derefs and potential memory
leaks
* made disfavoring recommended packages work if strong recommends
is enabled
* no longer disable infarch rules when they don't conflict with
the job
- new features:
* do favor evaluation before pruning allowing to (dis)favor
specific package versions
(From OE-Core rev: a0f78447a14cf17ce4ae03a97ed4f703cbe1af2b)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly the LSB test suite was failing due to missing crypt() support.
[YOCTO #13160]
(From OE-Core rev: 966b245a3a4fda1dc1333194e88fdbac34331b6a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to drop the build race fixes.
(From OE-Core rev: c869560c25223dd336ce84847ddbdbe44e4c391c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When copying files into the file system the file offset was being truncated to a
signed 32-bit value, so any files that are larger than 2^31 bytes were the right
size, but no content after that point.
(From OE-Core rev: b2ffd2228f0d68d096f8003975f0f7ec28bd4313)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With newest Python, the following is printed:
PyGIDeprecationWarning: GObject.markup_escape_text is deprecated; use GLib.markup_escape_text instead)
(From OE-Core rev: 7b4302d84e6c9833089bd575c1083fe826082387)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following error when launching sysprof:
$ sysprof
GLib-GIO-ERROR **: Settings schema 'org.gnome.sysprof2' is not installed
(From OE-Core rev: 808dde537333b6aa788c393d1e1d70aa2e3b8f68)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add dependency on readline-native to fix the following issue
uninitialized constant Logfile
| Check ext/fiddle/mkmf.log for more details.
| readline:
| Could not be configured. It will not be installed.
|
build/tmp/work/x86_64-linux/ruby-native/2.5.1-r0/ruby-2.5.1/ext/readline/extconf.rb:62:
Neither readline nor libedit was found
| Check ext/readline/mkmf.log for more details.
| *** Fix the problems, then remove these directories and try again if
you want.
(From OE-Core rev: b25acc546b6fc684da9cc8a3a01e44cd195e209b)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite the public symbol check to verify the shared libraries, to check for
more things, and to avoid duplication; fixes make check on ARM
(From OE-Core rev: 31e02216c94cc49f90052c82982dec0be7d3133b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using update-alternatives, FILES_${PN} must be
referencing the new name after update-alternatives has
renamed files.
This is more or less OK when having static lists of files to
be packaged into a package, but makes it quite hard to
dynamically generate FILES_${PN}, e.g. using do_split_packages(),
as in that case we can not easily modify what goes into
FILES_${PN}, because that list is based on filenames as seen
at the time do_split_packages() is executing.
Of couse one could explicitly specify the (renamed) file(s)
in the recipe, but that contradicts the intended usage of
do_split_packages().
Instead, if FILES_${PN} contains the file name as it was pre
renaming, we here modify this to reflect the new name.
This will allow usage of do_split_packages() to populate
FILES_${PN}.
[YOCTO #13058]
(From OE-Core rev: 5c23fe378732038643a450cbf916334d24764b70)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At the moment, the update-alternatives file renaming is
happening right after copying into PKGD during packaging
time using an _append OVERRIDE to the copy function
perform_packagecopy().
This is not really readable and hard to maintain.
Additionally, this makes it impossible to e.g. populate
PACKAGES dynamically using do_split_packages() and still
do update-alternatives - update-alternatives file renaming
requires the PACKAGES variable to have been fully populated
to work correctly. On the other hand, do_split_packages()
can only execute after perform_packagecopy(), as it needs
PKGD populated; so it's impossible to insert
do_split_packages() early enough in a deterministic way in
this use-case.
As there doesn't seem to be a reason not to, convert
this to a proper function and use PACKAGE_PREPROCESS_FUNCS
instead - after all, that's what this is meant for.
No other classes or recipes in oe-core or meta-openembededd
seem to have a hard requirement on update-alterantives
executing before any other PACKAGE_PREPROCESS_FUNCS, so
this should be perfectly fine.
The only implication is that if compress_doc is inherited,
compressed man-page file names will end up being, e.g.
eject.1.util-linux.gz
or
eject.1.gz.util-linux
based on the include of compress_doc.bbclass vs.
update-alternatives.bbclass order, but the symlink created
(alternative name) will always be correct.
This solves both problems:
* the code is easier to read / follow
* the above described use-case can be accomodated easily
[YOCTO #13058]
(From OE-Core rev: 8c3db2fa735e5933f842f80321bb3ed38753812d)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While commit fc66762d7c11 ("util-linux: Disable minix support.")
(or e88cee8cc3 in poky) removed most of the bits, there are
still references to minix remaining.
Remove them.
(From OE-Core rev: 577a3723052c4465a7858cd2de05292e67a93cce)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch in question is patching the code to use
qsort() instead of qsort_r(), without adopting the
compare function. This is a major issue, because
the compare function as written is evaluating /
accessing a third argument, which is not passed
with this OE patch, causing access to random
memory.
Given this patch was added so as to support (old)
linux (host) distros which might not provide
qsort_r(), according to the git history, and given
these days util-linux detects availability of
qsort_r() during configure phase, and given musl
builds (which doesn't provide qsort_r() either)
work without problem, the right solution is to
simply drop this invalid patch.
Do so.
(From OE-Core rev: a85f93b4265a20b269085d12326e32915c561e62)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There doesn't appear to be a need to manually and
explicitly specificy the major version (for the
download URL), it can be deduced easily from PV.
Do so.
(From OE-Core rev: e07272491e9f4d81a4c3797c585958163657bf9c)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently processed being killed by the OOM killer may not be spotted by
ptest-runner. After we complete the tests, check the logs and report if there
were any. This ensures the user is aware of OOM conditions affecting the
ptest results.
(From OE-Core rev: 20a441d53817f80e0ce1597e77f6e794422ac49a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manifest creation bug that was masking this file was fixed, rerun and add
the missing file to fix:
File "/usr/lib64/python2.7/SimpleXMLRPCServer.py", line 102, in <module>
import xmlrpclib
ImportError: No module named xmlrpclib
[YOCTO #12814]
(From OE-Core rev: e203b71b06df1e7d73fa300d45c428008a190d00)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I don't see circular dependencies anymore between libusb1 and udev, so
enable udev support for libusb1.
(From OE-Core rev: e585076ed752e67bb5fd1888da7a738a34f3048a)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file src/gpg-error.h.in SHA changed as some new funtion definitions
were added to the header file and the copyright year was updated to
include 2019.
(From OE-Core rev: 9dbc82afb90034aa229591dd41fe25ef83dcf521)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We do not support g-i for nativesdk, neverthless atk tries and fails.
(From OE-Core rev: 023d2b25f19489af0ee527876789e3bce5674712)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we are now build native gtk+3, it already provides the necessary utilities.
(From OE-Core rev: 7f6c57635ff4e1edf7a46c49af34846ad0a4bf73)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Host-assisted GL in Qemu in theory works with both SDL
and GTK; in practice SDL shows an empty screen. This
prepares the switchover of graphical qemu to use
native gtk, which also provides a neat set of menus to
control the emulator.
(From OE-Core rev: 67819a4d88b7f54b3645628865cbd44376c5d1a7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The alternative is mesa-gl, but it lacks all of the bits that make
accelerated qemu possible.
(From OE-Core rev: 25e835f5681572c4e8ab414adc02fccfd9d7da0c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that only the most minimal necessary subset of mesa is built;
particularly we don't build any drivers as that is offloaded
to the GL implementation provided by the host.
(From OE-Core rev: 621e9872ffd680e659d307a19ef5f65ef3bb36d0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid issue like below if run "bitbake lib32-core-image-minimal"
with series userspace packages(LAMP,krb5...) added.
Add multilib_script support for openssl's c_rehash which is a perl script.
Error: Transaction check error:
file /usr/bin/c_rehash conflicts between attempted installs of
lib32-openssl-bin-1.1.1-r0.armv7at2hf_neon and openssl-bin-1.1.1-r0.aarch64
(From OE-Core rev: a4032f3cc5de451f0e97eca1f0cbe4a310e1560b)
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency on systemd-systemctl-native is only needed if _both_
systemd and sysvinit are in play.
(From OE-Core rev: 3ea08f4b24f8a49c3d5039b62b39d6419cfe234c)
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mount can generally figure out the filesystem type from the superblock;
otherwise, /proc/filesystems is a more correct fallback than
/etc/filesystems and presumably always available.
(From OE-Core rev: 4199676383ce50b81c05a4d2b2610c9cdb49342e)
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NO_PROXY may contain * elements, and if we are unlucky (or want to match
all hosts with *), we will pick up local files rather than doing the
match in match_host. Quoting helps here.
(From OE-Core rev: 7e216e806ca765152fd874e24785f783a3201284)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes we meet the following failure for the test_lookup_recipe
test case.
AssertionError: 'zlib\nbusybox is in the RPROVIDES of target-sdk-provid[32 chars]ummy' != 'zlib\nbusybox'
zlib
+ busybox- busybox is in the RPROVIDES of target-sdk-provides-dummy:
- target-sdk-provides-dummy
This is because target-sdk-provides-dummy rprovides busybox.
So clean things up to avoid failure.
(From OE-Core rev: b3001770df6640549270361bfaa449cb3e79a0b7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes detecting available signals when configuring perl.
(cnf/configure_sigs.sh)
Without this, running aclocal prints warnings about missing signals,
which can be further demonstraded by running
perl -le 'print for keys %SIG'
(From OE-Core rev: ec638ae0775c79a00b364bc59e099edc8f1f201e)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changeset,
05b112b utils.c: Print DURATION after ERROR
acb5efb utils.c: run_child redirect stderr to stdout
e1062f7 ptest-runner: make DEFAULT_DIRECTORY be able to be defined when compiling
(From OE-Core rev: f0b3fa049e0395ffc56237404f79975852ce4e4e)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Get rid of further unneeded code complications:
* value mappings we could just direct use
* ftools when we can write files easily ourself
* test result status filtering we don't use
* variable overwriting module imports
(From OE-Core rev: d6065f136f6d353c3054cc3f440a4e259509f876)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merge the results handling into the ptest log parser as a seperate
method.
Drop the weird "pass.skip.fail." prefix to the results filename, its
just bizarre.
Drop the code turning a list into a regex then searching the regex for
an item, "x in y" is perfectly capable.
Use a dict, sort the keys as needed and drop the list sorting code.
(From OE-Core rev: f317800e950b4a37b4034133bc52e0c47f04dc29)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow parsing of the ptest duration, exit code and timeout keywords
from the logs, returning data on each section.
Also include the logs broken out per section.
(From OE-Core rev: a9a67dccaa5be0f06eedcab46dcff7cbf9202850)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now we have a dedicated ptest parser, merge in the remaining ptest
specific pieces to further clarify and simplify the code, moving to
a point where we can consider extending/enhancing it.
(From OE-Core rev: 05991bb5bc8018275d03fdeecee3d5a757840c7c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rename the paster to be ptest specific and apply some further cleanups
to the code to simplify and clarify what its doing.
(From OE-Core rev: 45a5886f1ec458d4c306b8d68fd31d568bc36b47)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
logparser is only used by ptest. Its slightly overcomplicated as it was
intended to be reusable but wasn't. Simplify it as a dedicated parser is
likely to me more readable and maintainable.
(From OE-Core rev: c7478345b2b4a85cb1fec40e762633871f0e94cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tests end up without a section, avoid tracebacks trying to use
None as a string in that case.
(From OE-Core rev: 86fb5d898a29761f120c2eaa538a32cf2e078487)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the submodule processing outside of the if statement to avoid any
optimizations that may happen.
Update the test cases to include the additional case, and split the other
test cases into individual tests to make it easier to figure out what
the failure may be.
(Bitbake rev: 0ec98c01ae50f95c9c74acf53013ac59e0e72b08)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise glib-compile-resources fails when building gtk+3-native.
(From OE-Core rev: 06451327a777e481d5328c3eeb6b9225c8724ac1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libepoxy is a requirement of virglrenderer. Note that we strip
RPATH from the library, as this allows fall-through to the host
GL implementation, instead of attempting (and failing) to use
mesa-native.
(From OE-Core rev: 0070b508259bb187a369a522f2884921b0c4e2fa)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Part of this firmware is a pre-built Linux kernel, so it's both huge (25MB) and
triggers binary security scanners as the kernel is 3.10.87.
(From OE-Core rev: 973befb880094c1d862291be0bdfa74ccdfa0929)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer versions of Icecream (1.2) add support for remotely pre-processing
files, controllable with the ICECC_REMOTE_CPP environment variable.
(From OE-Core rev: 8fe6728536bbee814c421afbbaa2022e0da0f65c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manual test step for SDK is updated. Previously toolchain was "poky-glibc-x86_64-core-image-sato-sdk<type-arch>-toolchain-<release-version>.sh"
But toochain for core-image-sato-sdk is not available in releases after 2.1, hence changed it to "poky-glibc-x86_64-core-image-sato-<type-arch>-toolchain-<release-version>.sh
Other less significant update is to add exepcted result in intermediate test steps.
(From OE-Core rev: f5083ba27e667789c32dcd00bc1b883f4b76bd4f)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
"poky-glibc-x86_64-core-image-sato-<type-arch>-toolchain-<release-version>.sh"
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added json file for compliance test cases to the manual runtime tests
(From OE-Core rev: 946f37d57f7b23c7875089ed98be9148ccc05890)
Signed-off-by: Sudhir Sharma <sudhirx.sharma@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Added CVE tag, Upstream-Status tag and Sign-off-by tags.
* Removed the verification of the entry length in the header
* Squashed CVE-2018-16865 patches into one
* CVE-2018-16866 patch now taken from systemd-stable and includes
an additional heap buffer overflow fix.
(From OE-Core rev: bc79395e2fcb886f224a4ad837fd93c779d2c53d)
Signed-off-by: Marcus Cooper <marcusc@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Defsault armtunes do not include -march any longer we habe -mcpu
only, therefore to select right ISA we need to keep mcpu
(From OE-Core rev: a8ab78824575bdfcdb9efe89378951d734c1cfa9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tune files which inherit the arch definitions already define appropriate
-mcpu option, which is equivalent of right -march and -mtune combination
and is preferred since gcc is getting stricter and stricter with option
check semantics and can now find incompatible -march and -mcpu options
better with every release. It does internal feature consistency check
and if it finds out discrepency between what -mcpu would expand to as
compared to -march it will flag the options to be incompatible, for
naked eye it sounds wrong but gcc would translate -mcpu to a given
-march internally and it might not match to what we set in these arch
files.
The effects are quite subtle, where this can result in configure test
failing to compile due to these incompatible options and a feature
option getting disabled for a recipe for no reason.
e.g. with gcc9 which can now detect that -mcpu=cortex-a5 and
-march=armv7-a are incompatible, many features in libstdc++ ends up
disabled due to configure check failures e.g. size_t size, ptrdiff_t
sizes, which inturn results in compiling libstdc++ with unwanted
disabled features.
(From OE-Core rev: ac83d22eb5031f7fdd09d34a1a46d92fd3e39a3c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes the default PACKAGE_DEBUG_SPLIT_STYLE to generate separate
source and debug packages. SDKIMAGE_FEATURES is updated to include the
source packages so that there is not change for the SDK contents.
[YOCTO #12931]
(From OE-Core rev: 8df14b678e44cc749b361224af05ccbcfa9ae9b5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a limitation of libtool where it is not aware of compiler-rt
being a compiler internal library, this patch fixes it
(From OE-Core rev: ebc96f2f612ebc1b7aefb06935bb308fc2e40cfd)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 68552c353255 "perl: remove the previous version of the recipe"
dropped 0001-Makefile.SH-Pod-Simple-requires-Getopt-Long.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
(From OE-Core rev: 87a646cf3115bff10bbc6a85e9d79b93fde2379f)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 5bb47984af79 "subversion: 1.9.7 -> 1.10.0" dropped
serf.m4-Regex-modified-to-allow-D-in-paths.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 803d834780cb9380e19209f2bb93953ac3cb6165)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 85b76e52d206 "connman: update to 1.36" dropped
0001-inet-Add-prefixlen-to-iproute_default_function.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Oleksandr Kravchuk <dev@sashko.rv.ua>
(From OE-Core rev: 484411dda6e0c56fffc5db8a4daaeee5c79ab17c)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 7cb42ae87ef9 "dhcp: update 4.4.1" dropped
0008-tweak-to-support-external-bind.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Armin Kuster <akuster808@gmail.com>
(From OE-Core rev: 92a2a320294e38fbed2bf9c557fb099f392d8a54)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit "c37207d0aca5 bind: update to ESV version 9.11.3" dropped
0001-build-use-pkg-config-to-find-libxml2.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Armin Kuster <akuster808@gmail.com>
(From OE-Core rev: 6d624b57397fce4ac98b98e8f47cd95336e44122)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit "f63965c0f9fc lttng: uprev to 2.10.7" dropped
0001-Fix-btrfs-Remove-unnecessary-fs_info-parameter.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: 918c67a3fafbe4b77bab379ff652a986044b7a79)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a SRC_URI content ends with '.patch' bitbake is
trying to apply it as it's a patch file.
It causes that if we use git repository for 'patch' package
the bare clone is extracted to a directory
(i.e. build/downloads/git2/git.mirror.org.patch/) which is considered
to be a patch file, so patch.py tries to apply that directory as a patch
which ends up with a failure.
(From OE-Core rev: 1e38d74a2ca7638b1f54e2bb5617903c2683e484)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to pkg_postinst_ontarget were not triggering rebuilds, this fixes
that.
[YOCTO #13127]
(From OE-Core rev: 432d5a5481bd8efb848b95fbe6500a72fba9ac65)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch is now a backport as it was merged upstream.
(From OE-Core rev: 5c7322145efdf465ed91f7b9c693bdf7e8bfb25d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise the recipe would not be rebuilt when enable/disable DEBUG_BUILD.
(From OE-Core rev: e9b21f586980f6d4fbb213845f5e788b6c8d3813)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes dbg work for native tools, and makes debug native tools problem
easier, otherwise, there is no symbol since trippped.
(From OE-Core rev: 1d903485da26fec991b4a940182e32934220e19b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake-native requires --enable-ccache to enable ccache, target recipe doesn't
need this since it is already handled by cmake.bbclass.
(From OE-Core rev: 815056cb595c0f57b4d8867387420fe3bb28bdb2)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ export CCACHE_DEBUG=1
$ ccache gcc -c hello.c -o /dev/null
Segmentation fault (core dumped)
This is because failed to open /dev/null.foo (Permission denied), check file
stream before write to it can fix the problem.
(From OE-Core rev: 78a24b3a1eae04e5f4744f320e4ccbb8bfe17b9a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rebased 0002-dev.mk.in-fix-file-name-too-long.patch and sent it to upstream,
and got merged.
* The LIC_FILES_CHKSUM is changed because of year updated.
(From OE-Core rev: c2e17047b99a0d445dbe91b43d0744bfaa54c580)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this was done via bitbake tasks, and when this
was rewritten to a for loop, performance sufered significantly:
from 90 seconds to about 12 minutes for oe-core. This change
restores the previous run time, and makes it possible
to perform such checks with command line utilities in an
interactive way.
Implementation note: we have to create a copy of the recipe
data, as Tinfoil API can't be used from multiple threads
and only allows one process to access the data at a time.
(From OE-Core rev: b1d01911fa2a0a4945da071d66fb50e9f14ded81)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This in particular saves build times for virgl oe-selftest.
(From OE-Core rev: 7f1f3b45329ea3f43d0ede003e8daa9866bf9f6e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is particularly useful when setting up GL tests.
(From OE-Core rev: 167a46775059b782c6f82ce8c5a47b27262e95d4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I am not sure why we do this in the first place, but it is causing
cmake to erroneously pick up items from the native sysroot
when building for the target and the target item is missing, for example:
https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/198/steps/7/logs/step2c
Note that for executable programs this variable is not referred to,
as set by
set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER )
in the same file.
(From OE-Core rev: cd1c0a0631ad128b25e97f047750579caead051a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The few cases where they failed should be now all fixed. The only allowed
exception is when building mingw32 SDKs, as there is currently no support for running
postinst_intercepts through wine.
(From OE-Core rev: 3dd2fea51110950ec3d8c444f599ff855b4b936c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building nativesdk- package, MACHINE_FEATURES do not apply as they are
specified only for target machines, not ones hosting the sdk.
(From OE-Core rev: 3ae634853a034a322593d318502ea2ee799556f7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both installing the binary into the correct place, and passing that place
to postinst_intercept were missing.
(From OE-Core rev: 9ac7415464b7817aa5cc0c2167ff61f4344660dd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the submodule is in a subdirectory, it needs to have that structure
preserved. This means the unpack path needs to be in the 'dirname' of the
final path -- since the unpack directory name is specified in the URI.
Additional specific test cases were added to ensure this is working properly
based on two recent error reports.
(Bitbake rev: 8c8ecec2a722bc2885e2648d41ac8df07bdf660d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prior code happened to work with relative URLs, when the code was recently
restructured it caused all relative urls to no longer work. Restore the prior
code flow for relative support and better comment why that code is there.
(Bitbake rev: 14bb383af0ca98e0e04ec217e537b6a899f3658e)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration change for riscv serial:
Author: Alistair Francis <Alistair.Francis@wdc.com>
Date: Tue Jan 22 18:55:04 2019 +0000
qemuriscv64: Enable the 8250 serial driver
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
(From OE-Core rev: d85d529e967a8f092fb2085d1d3c24370d751309)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ptest data are installed to PTEST_PATH ?= "${libdir}/${BPN}/ptest".
When libdir isn't "/usr/lib", it will cause "No ptests found" error
when running "ptest-runner" command. Here pass libdir to
DEFAULT_DIRECTORY when compiling to avoid that error.
Need update ptest-runner source code to get the new commit:
<ptest-runner: make DEFAULT_DIRECTORY be able to be defined when compiling>
(From OE-Core rev: 1447afd62035f42344a32a487bec408e6563d5f6)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When executing eSDK test case, the following error appears.
WARNING: attempting to use the extensible SDK in an environment
set up to run bitbake - this may lead to unexpected
results. Please source this script in a new shell session
instead.
FileExistsError: [Errno 17] File exists: '/.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-fcuyzsqu/tmp/sysroots/x86_64/bin/pigz' -> '/.../tmp/hosttools/pigz'
So unset these two vars to avoid messing things up.
(From OE-Core rev: bc07d825ce8bb3b337623c232fef61f2781c82af)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When removing the temporary directory, it's possible that bitbake.lock
file is removed by bitbake during the cleanup. And this leads to the
following error.
FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.lock'
So add a check to remove this file before cleaning up the temporary
directory.
(From OE-Core rev: 984f56b37bd0014e5bf9509fc8ed181973e61773)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, there would be build errors in the following 2 cases:
* define HAVE_POSIX_FADVISE
Or:
* undef HAVE_POSIX_FADVISE
(From OE-Core rev: 6452ccd1f0a2b114fca70d587cb8ed26b189baf3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can save configure time since it runs configure multiple times:
$ time bitbake gcc-runtime -cconfigure
60s -> 54s
Saved 6s
(From OE-Core rev: 48cc7179ffeb89adf1ba5212338b958684e43962)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can save configure time since it runs configure multiple times:
$ time bitbake ncurses-native -cconfigure
35s -> 25s
Saved 10s
(From OE-Core rev: 5607ae1ca59fa899ba7507ecfda7c7b0e6bf022f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can save configure time since it runs configure multiple times:
$ time bitbake gettext-native -cconfigure
2m22s -> 2m2s
Saved 20s
(From OE-Core rev: d1d96f3a0247c9adef8c388f18d655fcb17c5ad5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a race issue when do_install:
Generating wrapper script for
/path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1
mv: cannot stat
/path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1:
No such file or directory
(From OE-Core rev: 70859e12a1ea17a6b924f720f3677adcb7e87e0a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When changing the SSTATE_SCAN_FILES variable in a recipe it doesn't cause a rebuild,
so if there's a sstate-cache available with "bad" sstate data in it that will still
be used even though the recipe is updated to address this.
[YOCTO #13144]
(From OE-Core rev: ea3526961920a229e0bb5fb459952be89fce2255)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* As far as I can see nothing uses it
* From commit history it seems distutils-tools came in accidentally
(From OE-Core rev: a4edfa4cf451bf412525887b5b24b9db6486ae97)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Until qemuarma15 is a drop in replacement for the existing versatile
qemuarm emulation, it shouldn't match on qemuarm as a machine
definition. Since the difference in capabilities will cause unexpected
issues at runtime.
(From OE-Core rev: a56298f2d0f6590774e4e1454b85d7be301dfb44)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If DISTRO_VERSION is defined using an override, e.g., by defining it
in auto.conf as DISTRO_VERSION_forcevariable, then the unoverridden
value was still used in SDK_VERSION since it was defined using the :=
operator. However, there should be no reason to define SDK_VERSION
this way.
Also use getVar to access the variable to ensure tracebacks from problems
are less confusing.
[RP: Tweaked commit message]
(From meta-yocto rev: 74f43fb82a93eecfe7519a87fdf1cb0152d56b48)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a COMPLEMENTARY_GLOB for source packages (*-src) so that they can be
included when PACKAGE_DEBUG_SPLIT_STYLE is "debug-with-srcpkg"
[YOCTO #12931]
(From OE-Core rev: d6d2175032c6c950a0d8d63dad0734e1a9f80e12)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The check_commits logic assumes that both devtool-base and args.branch
exist in the git repo that it is operating on. In order to prevent
errors at that point it's best to first ensure that both of these refs
actually exist. If they don't both exist then the check_commits logic
should just be skipped, as it would be if the repo wasn't originally
checked out by devtool.
Previously if a user removed the args.branch branch from their devtool
cloned repo this code would crash on adding the repo with -n. The crash
would look like this:
Traceback (most recent call last):
File "/home/ddedrick/src/poky/scripts/devtool", line 344, in <module>
ret = main()
File "/home/ddedrick/src/poky/scripts/devtool", line 331, in main
ret = args.func(args, config, basepath, workspace)
File "/home/ddedrick/src/poky/scripts/lib/devtool/standard.py", line 812, in modify
(stdout, _) = bb.process.run('git log devtool-base..%s' % branch, cwd=srctree)
File "/home/ddedrick/src/poky/bitbake/lib/bb/process.py", line 178, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git log devtool-base..devtool' failed with exit code 128:
fatal: ambiguous argument 'devtool-base..devtool': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
(From OE-Core rev: f13a3490fdb404bbd4c77e45b83540d6deec1358)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DEVTOOL_EXTRA_OVERRIDES only needs one entry for each instance of
overrides. Previous to these changes it would find every override to
SRC_URI and add it to the list. This would duplicate instances where
SRC_URI is modified multiple times with the same override like:
SRC_URI_append_foo += "file://0001-foo.patch"
SRC_URI_append_foo += "file://0002-bar.patch"
A bbappend might also overwrite a SRC_URI override, which would also
cause multiple instances to occur.
When there are multiple instances of the same override in
DEVTOOL_EXTRA_OVERRIDES it causes devtool modify to fail when creating
override branches. The failure occurs when attempting to create the same
override branch a second time and looks like this:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:devtool_post_patch(d)
0003:
File: '/build/poky/meta/classes/devtool-source.bbclass', lineno: 202, function: devtool_post_patch
0198:
0199: for override in extra_override_list:
0200: localdata = bb.data.createCopy(d)
0201: if override in default_overrides:
*** 0202: bb.process.run('git branch devtool-override-%s %s' % (override, devbranch), cwd=srcsubdir)
0203: else:
0204: # Reset back to the initial commit on a new branch
0205: bb.process.run('git checkout %s -b devtool-override-%s' % (initial_rev, override), cwd=srcsubdir)
0206: # Run do_patch function with the override applied
File: '/build/poky/bitbake/lib/bb/process.py', lineno: 178, function: run
0174: if not stderr is None:
0175: stderr = stderr.decode("utf-8")
0176:
0177: if pipe.returncode != 0:
*** 0178: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0179: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of 'git branch devtool-override-foo devtool' failed with exit code 128:
fatal: A branch named 'devtool-override-foo' already exists.
(From OE-Core rev: 90f667db2219f04e6d61588cd61056d3d8da6d7d)
Signed-off-by: Dan Dedrick <ddedrick@lexmark.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perl-native checks xlocale.h on build machine. But xlocale.h has been
removed by glibc already. When use share state caches between machines
that one has xlocale.h but the other one doesn't, it causes packages
which depend on perl-native such as libdbi-perl-native fails to compile:
| In file included from DBIXS.h:23,
| from Perl.xs:7:
| .../tmp-glibc/work/x86_64-linux/libdbi-perl-native/1.642-r0/recipe-sysroot-native/usr/lib/perl5/5.28.1/x86_64-linux/CORE/perl.h:723:13:
| fatal error: xlocale.h: No such file or directory
| # include <xlocale.h>
| ^~~~~~~~~~~
| compilation terminated.
Unset configure symbol i_xlocale for perl-native to fix the issue.
(From OE-Core rev: ad6a8fae67acd291b9d7f554ae1a8c621b51fded)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates the output hash calculation for determining if tasks are
equivalent. The new algorithm does the following based on feedback:
1) The output hash function was moved to the OE library.
2) All files are printed in a single line tabular format
3) Prints the file type and mode in a user-friendly ls-like format
4) Includes the file owner and group (by name, not ID). These are only
included if the task is run under pseudo since that is the only time
they can be consistently determined.
5) File size is included for regular files
(From OE-Core rev: 4bd297dfe92851f3b44f6b5560bac9d8f9ccf9f2)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't want references including shell parameter expansion modifiers
(i.e. `:-`, `#`, `%%`, etc) to be added to our vardeps, so add a test to
ensure this.
YOCTO #12987
(Bitbake rev: be022085fe1ea1b9a9d519f0455883e2da363d2c)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This aligns the behavior of expansion with the recipe parser, only
attempting to expand references to valid variable names. This avoids
adding references for things like `${foo#${TOPDIR}}` to our vardeps
without imposing much additional processing overhead beyond the change
to the expansion regexp.
YOCTO #12987
(Bitbake rev: df2ac65370aa86cdbc1574fdede25e3519410e45)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following two commits that prepare for an update of
'qemuarm' to an a15 based emulation.
[
Author: Jon Mason <jdmason@kudzu.us>
Date: Fri Jan 18 16:45:28 2019 -0500
qemuarma15: Add Real-Time and Tiny configs
Add tiny and Real-Time configs. Also, add kmachine name to standard
config to allow for BSP renaming.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Author: Jon Mason <jdmason@kudzu.us>
Date: Fri Jan 18 16:45:27 2019 -0500
qemuarm: Add qemuarmv5 kmachine name
Add alternative kmachine name to allow for the configs to be used by
soon-to-be-renamed BSPs.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 10aae50df0febb83fe1570405ac2b8b265365052)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The arm-tiny reference picked up a cut and paste error from 4.15.
While the SRCREV is correct, the KBRANCH is not. We fix that by
making it match the 4.19 reality.
(From OE-Core rev: a105af42640a1d022ba43fab37ecb27ceb800183)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable updates from Paul Gortmaker that comprise the
following commits:
e07895ef36e2 Linux 4.18.25
735782c616aa drm/rockchip: psr: do not dereference encoder before it is null checked.
90d4d21063af drm/vc4: Set ->is_yuv to false when num_planes == 1
5758821188c7 drm/nouveau/drm/nouveau: Check rc from drm_dp_mst_topology_mgr_resume()
8a79f6e48dc7 lib: fix build failure in CONFIG_DEBUG_VIRTUAL test
c85e10aa1ea6 of: __of_detach_node() - remove node from phandle cache
d7ba3e8331c7 of: of_node_get()/of_node_put() nodes held in phandle cache
9739deeff0bf power: supply: olpc_battery: correct the temperature units
2e4bfb04a730 intel_th: msu: Fix an off-by-one in attribute store
233fc3ff6d19 genwqe: Fix size check
3722e178318e drivers/perf: hisi: Fixup one DDRC PMU register offset
e7153ded4c17 ceph: don't update importing cap's mseq when handing cap export
96c39638d19f sched/fair: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b9c
f73f80f3cff6 iommu/vt-d: Handle domain agaw being less than iommu agaw
87310c3e7901 RDMA/srpt: Fix a use-after-free in the channel release code
49cb944dbb54 rxe: fix error completion wr_id and qp_num
9c1e8e00a232 9p/net: put a lower bound on msize
595eab91d583 iio: dac: ad5686: fix bit shift read register
6930d7e4b110 powerpc/tm: Set MSR[TS] just prior to recheckpoint
da655a6fd9a9 powerpc/tm: Unset MSR[TS] if not recheckpointing
6c968fff7e66 leds: pwm: silently error out on EPROBE_DEFER
d92af6def7be arm64: relocatable: fix inconsistencies in linker script and options
5c7ffec8c4a1 arm64: drop linker script hack to hide __efistub_ symbols
231c17d7fe6d lockd: Show pid of lockd for remote locks
bb36bf436ae9 PCI / PM: Allow runtime PM without callback functions
109e48764a2d selinux: policydb - fix byte order and alignment issues
a608335e8a1c b43: Fix error in cordic routine
ce624ec2363b gfs2: Fix loop in gfs2_rbm_find
7b0eb99a925c gfs2: Get rid of potential double-freeing in gfs2_create_inode
2e8e0dc1bbff dlm: memory leaks on error path in dlm_user_request()
20e150ecbb17 dlm: lost put_lkb on error path in receive_convert() and receive_unlock()
eb1cbd2d152c dlm: possible memory leak on error path in create_lkb()
700687f3cb98 dlm: fixed memory leaks after failed ls_remove_names allocation
c45cc3521032 block: mq-deadline: Fix write completion handling
9d3b67453638 block: deactivate blk_stat timer in wbt_disable_default()
53a5e3001ad1 Fix failure path in alloc_pid()
1da2e8ee069f driver core: Add missing dev->bus->need_parent_lock checks
8fb38bca0d9a srcu: Lock srcu_data structure in srcu_gp_start()
fabb4446a87b ALSA: usb-audio: Always check descriptor sizes in parser code
eaf28235170f ALSA: usb-audio: Fix an out-of-bound read in create_composite_quirks
1a814f226eee ALSA: usb-audio: Check mixer unit descriptors more strictly
974f484d8ff9 ALSA: usb-audio: Avoid access before bLength check in build_audio_procunit()
7fac2a4ca7d3 ALSA: cs46xx: Potential NULL dereference in probe
a489f553dc12 media: cx23885: only reset DMA on problematic CPUs
4c7d8d7c1308 raid6/ppc: Fix build for clang
dabfa8988258 powerpc: Disable -Wbuiltin-requires-header when setjmp is used
71a4448d5e50 powerpc: avoid -mno-sched-epilog on GCC 4.9 and newer
77355e0e98c6 powerpc: consolidate -mno-sched-epilog into FTRACE flags
0f5ac11d097d powerpc: remove old GCC version checks
9fcbfe720a66 sunrpc: use SVC_NET() in svcauth_gss_* functions
192b590d4aec sunrpc: fix cache_head leak due to queued request
c7c58f2faee2 mm, swap: fix swapoff with KSM pages
8289463a7e9d mm, hmm: mark hmm_devmem_{add, add_resource} EXPORT_SYMBOL_GPL
1a799c400ed1 mm, hmm: use devm semantics for hmm_devmem_{add, remove}
0c99af45252a mm, devm_memremap_pages: add MEMORY_DEVICE_PRIVATE support
59333a88f665 kernel/memremap, kasan: make ZONE_DEVICE with work with KASAN
58bc5ba9a00d mm, devm_memremap_pages: fix shutdown handling
948d528a2a6f mm, devm_memremap_pages: kill mapping "System RAM" support
df07b8f0fb0a mm, devm_memremap_pages: mark devm_memremap_pages() EXPORT_SYMBOL_GPL
ebd7e55e0733 hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined
959653a9bf73 zram: fix double free backing device
8b9b4edba3be fork: record start_time late
b901d884c9e8 scsi: lpfc: do not set queue->page_count to 0 if pc_sli4_params.wqpcnt is invalid
82485bca00f2 scsi: zfcp: fix posting too many status read buffers leading to adapter shutdown
773911d8b527 auxdisplay: charlcd: fix x/y command parsing
49c70d21c358 serial/sunsu: fix refcount leak
0ec65d840ea3 qmi_wwan: Fix qmap header retrieval in qmimux_rx_fixup
0438f1ea114b net: netxen: fix a missing check and an uninitialized use
1567f283e00e Input: synaptics - enable SMBus for HP EliteBook 840 G4
a3913c9c9c8c gpio: mvebu: only fail on missing clk if pwm is actually to be used
9e1a572ef0b5 lan743x: Remove MAC Reset from initialization
3cda7e7e3ecb virtio: fix test build after uio.h change
09d4f9477813 kbuild: fix false positive warning/error about missing libelf
02b8b59bea29 mac80211: free skb fraglist before freeing the skb
6499acbbd54f nl80211: fix memory leak if validate_pae_over_nl80211() fails
65fbf8702ff9 vxge: ensure data0 is initialized in when fetching firmware version information
6eee1a4d51f3 lan78xx: Resolve issue with changing MAC address
a200d52163e4 net: macb: add missing barriers when reading descriptors
8bbf0bc96ad7 net: macb: fix dropped RX frames due to a race
acbf1fb508aa net: macb: fix random memory corruption on RX with 64-bit DMA
02c208c4c6b2 qed: Fix an error code qed_ll2_start_xmit()
88f38f2f554e SUNRPC: Fix a race with XPRT_CONNECTING
78f44c6b4abc net: hns: Fix ping failed when use net bridge and send multicast
028ea5c9d17a net: hns: Add mac pcs config when enable|disable mac
4f6210aba92c net: hns: Fix ntuple-filters status error.
02c9ec12dd21 net: hns: Avoid net reset caused by pause frames storm
1a4c0bc47d5e net: hns: Free irq when exit from abnormal branch
3153ec7cf997 net: hns: Clean rx fbd when ae stopped.
716fc005da40 net: hns: Fixed bug that netdev was opened twice
dd3287b18cf8 net: hns: Some registers use wrong address according to the datasheet.
23cccfe76598 net: hns: All ports can not work when insmod hns ko after rmmod.
4982bfce35ef net: hns: Incorrect offset address used for some registers.
90bd8d1a20b2 w90p910_ether: remove incorrect __init annotation
c392d1a12520 net/tls: Init routines in create_ctx
1e623fa0042c drivers: net: xgene: Remove unnecessary forward declarations
ecd5c4ebb822 x86, hyperv: remove PCI dependency
81dae7a1df1c mt76: fix potential NULL pointer dereference in mt76_stop_tx_queues
e28b6d2c57b5 scsi: target: iscsi: cxgbit: add missing spin_lock_init()
68d361ffeabd scsi: target: iscsi: cxgbit: fix csk leak
6c1b3803a6e3 bnx2x: Send update-svid ramrod with retry/poll flags enabled
3acfa2246629 bnx2x: Clear fip MAC when fcoe offload support is disabled
7e20b7779059 netfilter: nat: can't use dst_hold on noref dst
e3a08d34d535 netfilter: ipset: do not call ipset_nest_end after nla_nest_cancel
48f3cb1f4e86 i40e: fix mac filter delete when setting mac address
5d04bcd6e69e ieee802154: ca8210: fix possible u8 overflow in ca8210_rx_done
f53ba1853ffd ibmvnic: Fix non-atomic memory allocation in IRQ context
34bd82d476ad ibmvnic: Convert reset work item mutex to spin lock
0a597b1ccd73 Input: synaptics - enable RMI on ThinkPad T560
014633247654 Input: omap-keypad - fix idle configuration to not block SoC idle states
a284212b45ed scsi: bnx2fc: Fix NULL dereference in error handling
e639597419e9 Revert "scsi: qla2xxx: Fix NVMe Target discovery"
cea74ed31970 netfilter: seqadj: re-load tcp header pointer after possible head reallocation
b139c854a00a xfrm: Fix bucket count reported to userspace
d3353f400809 checkstack.pl: fix for aarch64
ca5e170a8f47 drm/amdgpu: Fix DEBUG_LOCKS_WARN_ON(depth <= 0) in amdgpu_ctx.lock
fe69ecd10177 powerpc/mm: Fallback to RAM if the altmap is unusable
50a6a1e7140b Input: restore EV_ABS ABS_RESERVED
495cd33a97d6 ARM: dts: imx7d-nitrogen7: Fix the description of the Wifi clock
8d8cbaca6ba2 ARM: imx: update the cpu power up timing setting on i.mx6sx
b930167e8ec5 ARM: dts: imx7d-pico: Describe the Wifi clock
4ef7a4b98ce3 HID: ite: Add USB id match for another ITE based keyboard rfkill key quirk
e5a9a47bd51a powerpc/mm: Fix linux page tables build with some configs
251058825091 powerpc: Fix COFF zImage booting on old powermacs
d113f206d275 ARM: dts: sun8i: a83t: bananapi-m3: increase vcc-pd voltage to 3.3V
26068dd8b8cf Linux 4.18.24
aec6f6bc5108 MIPS: Only include mmzone.h when CONFIG_NEED_MULTIPLE_NODES=y
edc9f994d18e spi: bcm2835: Unbreak the build of esoteric configs
7675f3ad41aa tpm: tpm_i2c_nuvoton: use correct command duration for TPM 2.x
62c528f41b75 arm64: compat: Avoid sending SIGILL for unallocated syscall numbers
fe9ecf948b3f iommu/arm-smmu-v3: Fix big-endian CMD_SYNC writes
daf79a7eff57 KVM: arm/arm64: vgic: Fix off-by-one bug in vgic_get_irq()
4e397462644c KVM: arm/arm64: vgic-v2: Set active_source to 0 when restoring state
679602791d84 KVM: arm/arm64: vgic: Cap SPIs to the VM-defined maximum
c48ea7b2f18b KVM: arm/arm64: vgic: Do not cond_resched_lock() with IRQs disabled
c96e540c5472 rtc: m41t80: Correct alarm month range with RTC reads
728bdad63d25 ARM: dts: exynos: Specify I2S assigned clocks in proper node
85157899ecd7 arm/arm64: KVM: vgic: Force VM halt when changing the active state of GICv3 PPIs/SGIs
61f42110c833 arm64: KVM: Avoid setting the upper 32 bits of VTCR_EL2 to 1
3b0dec9f506f CIFS: Fix error mapping for SMB2_LOCK command which caused OFD lock problem
9829db6a18eb MIPS: OCTEON: mark RGMII interface disabled on OCTEON III
cee82d1ae17b MIPS: Expand MIPS32 ASIDs to 64 bits
c808d70b9e27 MIPS: Align kernel load address to 64KB
eb8af7549685 MIPS: Ensure pmd_present() returns false after pmd_mknotpresent()
45bff3e8e6a5 MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3
9c6f89bc1709 MIPS: math-emu: Write-protect delay slot emulation pages
7f7b89296833 tools lib traceevent: Fix processing of dereferenced args in bprintk events
b8a224716756 media: v4l2-tpg: array index could become negative
6f9be5d7e3f3 media: vb2: check memory model for VIDIOC_CREATE_BUFS
11f1d3879a7d media: vivid: free bitmap_cap when updating std/timings/etc.
cb40fc23227e media: imx274: fix stack corruption in imx274_read_reg
b64ba5d0b731 media: rc: cec devices do not have a lirc chardev
4e3ad74d0a78 media: cec-pin: fix broken tx_ignore_nack_until_eom error injection
2696fefea8a6 media: cec: keep track of outstanding transmits
fd247353c0f9 serial: uartps: Fix interrupt mask issue to handle the RX interrupts properly
22fcd1b2f73e f2fs: sanity check of xattr entry size
29c1ff73b20b f2fs: fix validation of the block count in sanity_check_raw_super
cb1c54a6a7d5 brcmfmac: Fix out of bounds memory access during fw load
a9a25c4bd9bb brcmfmac: fix roamoff=1 modparam
146ef869a043 Btrfs: send, fix race with transaction commits that create snapshots
ba440c3c4a27 btrfs: run delayed items before dropping the snapshot
6ba644894048 Btrfs: fix fsync of files with multiple hard links in new directories
593a1bdf137a btrfs: skip file_extent generation check for free_space_inode in run_delalloc_nocow
6eb353db8d32 btrfs: dev-replace: go back to suspend state if another EXCL_OP is running
e113e7d0b41f btrfs: dev-replace: go back to suspended state if target device is missing
cbf669bb140f cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.
cdb991cbe9ca cgroup: fix CSS_TASK_ITER_PROCS
d9d96d8f9665 crypto: cfb - fix decryption
c29db9d0e70c crypto: testmgr - add AES-CFB tests
f35387186793 crypto: chcr - small packet Tx stalls the queue
57d999759174 crypto: cavium/nitrox - fix a DMA pool free failure
a040dc4c332a clk: sunxi-ng: Use u64 for calculation of NM rate
25bfefc210fd clk: rockchip: fix typo in rk3188 spdif_frac parent
78f1e2ce6bec spi: bcm2835: Avoid finishing transfer prematurely in IRQ mode
ce8fd4553894 spi: bcm2835: Fix book-keeping of DMA termination
2ed14d56eb9a spi: bcm2835: Fix race on DMA termination
fdfc740438e4 ext4: fix special inode number checks in __ext4_iget()
8912afbd5a69 ext4: check for shutdown and r/o file system in ext4_write_inode()
0fd748f86521 ext4: force inode writes when nfsd calls commit_metadata()
743da24c6365 ext4: avoid declaring fs inconsistent due to invalid file handles
5636580f533c ext4: include terminating u32 in size of xattr entries when expanding inodes
398f2e6ee30e ext4: fix EXT4_IOC_GROUP_ADD ioctl
f22c319b9afa ext4: missing unlock/put_page() in ext4_try_to_write_inline_data()
3c6a7b0029a9 ext4: fix possible use after free in ext4_quota_enable
8ec2e8ccc275 ext4: add ext4_sb_bread() to disambiguate ENOMEM cases
2253b6438f00 ocxl: Fix endiannes bug in read_afu_name()
031013077a31 ocxl: Fix endiannes bug in ocxl_link_update_pe()
bff7ed6c9727 perf pmu: Suppress potential format-truncation warning
ccd3a28ebefd clocksource/drivers/arc_timer: Utilize generic sched_clock
a08eae1dccb6 DRM: UDL: get rid of useless vblank initialization
3b278133c061 drm/v3d: Skip debugfs dumping GCA on platforms without GCA.
dce6965d4e91 platform-msi: Free descriptors in platform_msi_domain_free()
26712157a7e8 KVM: nVMX: Free the VMREAD/VMWRITE bitmaps if alloc_kvm_area() fails
f5a53ddee2a0 arm64: KVM: Make VHE Stage-2 TLB invalidation operations non-interruptible
4224dc370109 KVM: x86: Use jmp to invoke kvm_spurious_fault() from .fixup
43df8745c955 Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G
de2c125b1e40 s390/pci: fix sleeping in atomic during hotplug
c96a4e056b97 staging: wilc1000: fix missing read_write setting when reading data
4f30183ffc00 media: dvb-usb-v2: Fix incorrect use of transfer_flags URB_FREE_BUFFER
af84c969f481 usb: roles: Add a description for the class to Kconfig
f6019125567c usb: r8a66597: Fix a possible concurrency use-after-free bug in r8a66597_endpoint_disable()
dadfc9d5b5c4 USB: serial: option: add Fibocom NL678 series
d589d1192b88 USB: serial: pl2303: add ids for Hewlett-Packard HP POS pole displays
836492f91017 usb: dwc2: host: use hrtimer for NAK retries
0c046d05b49c ALSA: hda/tegra: clear pending irq handlers
03cfeaa90d58 ALSA: firewire-lib: use the same print format for 'without_header' tracepoints
012b3d3a29f0 ALSA: firewire-lib: fix wrong assignment for 'out_packet_without_header' tracepoint
852d675f1d0c ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet
a84e166fe7f2 ALSA: fireface: fix for state to fetch PCM frames
5e20e79d9939 ALSA: hda: add mute LED support for HP EliteBook 840 G4
ea84faf00d17 mtd: rawnand: marvell: prevent timeouts on a loaded machine
a941558bd40c mtd: atmel-quadspi: disallow building on ebsa110
90a23a9a0a4b ALSA: emux: Fix potential Spectre v1 vulnerabilities
be9ee86f4eee ALSA: pcm: Fix potential Spectre v1 vulnerability
4c9cf57302b4 ALSA: emu10k1: Fix potential Spectre v1 vulnerabilities
48c20b51db1e ALSA: rme9652: Fix potential Spectre v1 vulnerability
0e48718ccbbc IB/hfi1: Incorrect sizing of sge for PIO will OOPs
7eff9c1500e1 net/mlx5e: RX, Fix wrong early return in receive queue poll
4717407dfe21 mlxsw: core: Increase timeout during firmware flash process
11acf8fbd110 qed: Fix command number mismatch between driver and the mfw
865270a3cb40 net/mlx5e: RX, Verify MPWQE stride size is in range
423f90f819f6 net/mlx5e: Cancel DIM work on close SQ
63e31b4cc7a1 mscc: Configured MAC entries should be locked.
a6988f6f3fb8 ipv6: route: Fix return value of ip6_neigh_lookup() on neigh_create() error
20b706e8bf44 nfp: flower: ensure TCP flags can be placed in IPv6 frame
2d7aa068e5ea net/ipv6: Fix a test against 'ipv6_find_idev()' return value
9685169f3280 ipv6: frags: Fix bogus skb->sk in reassembled packets
e3d4855a5aea net/mlx5e: Remove the false indication of software timestamping support
f28566f8d6c1 tipc: check group dests after tipc_wait_for_cond()
1e5ef82d6ba3 net/mlx5: Typo fix in del_sw_hw_rule
afe50f0b53fc xen/netfront: tolerate frags with no data
51125e14bcd9 VSOCK: Send reset control packet when socket is partially bound
d99050a5b574 vhost: make sure used idx is seen before log in vhost_add_used_n()
4ce7430e49b2 tipc: use lock_sock() in tipc_sk_reinit()
ce57d1d97f83 tipc: fix a double kfree_skb()
a95f3e4813ba tipc: fix a double free in tipc_enable_bearer()
813c817626cd tipc: compare remote and local protocols in tipc_udp_enable()
2d9a3dc2539e tipc: check tsk->group in tipc_wait_for_cond()
c934db384fcf tcp: fix a race in inet_diag_dump_icsk()
9c4201f36ac8 sock: Make sock->sk_stamp thread-safe
3f95e9533d48 sctp: initialize sin6_flowinfo for ipv6 addrs in sctp_inet6addr_event
e01f35c50eec qmi_wwan: Add support for Fibocom NL678 series
c4889ffd91f4 qmi_wwan: Added support for Telit LN940 series
02df72acc8d0 qmi_wwan: Added support for Fibocom NL668 series
7fdbc7a1e2ae ptr_ring: wrap back ->producer in __ptr_ring_swap_queue()
5e3a73f0075c net/wan: fix a double free in x25_asy_open_tty()
01ff438449fe net: stmmac: Fix an error code in probe()
570725e3eb49 net/smc: fix TCP fallback socket release
b093b2bcb009 netrom: fix locking in nr_find_socket()
39eead897120 net: phy: Fix the issue that netif always links up after resuming
21e87a82fa5c net: macb: restart tx after tx used bit read
e76b3cc898a3 net/hamradio/6pack: use mod_timer() to rearm timers
b69120829e6e isdn: fix kernel-infoleak in capi_unlocked_ioctl
4099e52fdca2 ip: validate header length on virtual device xmit
5cd2dc4cbf28 ipv6: tunnels: fix two use-after-free
99b91aad172d ipv6: explicitly initialize udp6_addr in udp_sock_create6()
dd6292ddd74d ipv4: Fix potential Spectre v1 vulnerability
5476a3d1c7aa ip6mr: Fix potential Spectre v1 vulnerability
98b15b0c0f6d ieee802154: lowpan_header_create check must check daddr
d6025c2f233b ibmveth: fix DMA unmap error in ibmveth_xmit_start error path
6e2e801ef5e9 gro_cell: add napi_disable in gro_cells_destroy
d347cc2d0383 ax25: fix a use-after-free in ax25_fillin_cb()
3ea51578ff5f drm/ioctl: Fix Spectre v1 vulnerabilities
42ef003d4562 proc/sysctl: don't return ENOMEM on lookup when a table is unregistering
3a4e7b8d4815 Input: elantech - disable elan-i2c for P52 and P72
29eb38509a18 mm: don't miss the last page because of round-off error
0dd101b35dc8 mm, page_alloc: fix has_unmovable_pages for HugePages
fa9b81a99860 mm: thp: fix flags for pmd migration when split
2161b228a28e mm, memory_hotplug: initialize struct pages for the full memory section
567b54213293 iwlwifi: add new cards for 9560, 9462, 9461 and killer series
a3a2be9932c4 rtlwifi: Fix leak of skb when processing C2H_BT_INFO
08372e4a8a12 xfrm_user: fix freeing of xfrm states on acquire
069467d9f4a9 mm: introduce mm_[p4d|pud|pmd]_folded
eefeffc11188 mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
a31fff8051df mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
d50fbd2cbce5 panic: avoid deadlocks in re-entrant console drivers
06251134c592 x86/mtrr: Don't copy uninitialized gentry fields back to userspace
bb898527a1c7 futex: Cure exit race
0bbaf6c392f0 Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels
303b25349d17 KVM: Fix UAF in nested posted interrupt processing
1d53c9694d61 kvm: x86: Add AMD's EX_CFG to the list of ignored MSRs
2b3f1bd62f4a KVM: X86: Fix NULL deref in vcpu_scan_ioapic
7a773622fc03 posix-timers: Fix division by zero bug
f14b8859148c gpio: max7301: fix driver for use with CONFIG_VMAP_STACK
477761b67ccd mmc: omap_hsmmc: fix DMA API warning
a681b2da2c88 mmc: core: Use a minimum 1600ms timeout when enabling CACHE ctrl
89f2351adfac mmc: core: Allow BKOPS and CACHE ctrl even if no HPI support
ddf77476eb50 mmc: core: Reset HPI enabled state during re-init and in case of errors
a49c12bd3427 scsi: sd: use mempool for discard special page
80f7b4857185 ubifs: Handle re-linking of inodes correctly while recovery
a3fa57176fc3 USB: serial: option: add Telit LN940 series
4079ef6f75e0 USB: serial: option: add Fibocom NL668 series
dced7dfb270b USB: serial: option: add Simcom SIM7500/SIM7600 (MBIM mode)
dce4d3b1443f USB: serial: option: add HP lt4132
551e6023cc86 USB: serial: option: add GosunCn ZTE WeLink ME3630
66ae0bdde44c USB: hso: Fix OOB memory access in hso_probe/hso_get_config_data
740745a91e92 Revert "vfs: Allow userns root to call mknod on owned filesystems."
2c5ca276d2ae nvme: validate controller state before rescheduling keep alive
fbdd7e1e387f i2c: uniphier-f: fix violation of tLOW requirement for Fast-mode
bc2fbb452ec1 i2c: uniphier: fix violation of tLOW requirement for Fast-mode
4a3280619c2a i2c: scmi: Fix probe error on devices with an empty SMB0001 ACPI device node
5e6e49d9a2dc i2c: axxia: properly handle master timeout
8546aaab43e0 mlxsw: spectrum_switchdev: Fix VLAN device deletion via ioctl
abcaa45cfc72 vhost/vsock: fix reset orphans race with close timeout
8365792328f0 cifs: In Kconfig CONFIG_CIFS_POSIX needs depends on legacy (insecure cifs)
935b7a30671d drm/ast: Fix connector leak during driver unload
91ee67721601 tools/testing/nvdimm: Align test resources to 128M
150d613009a7 drm/amdgpu/vcn: Update vcn.cur_state during suspend
c999e264b2e8 ethernet: fman: fix wrong of_node_put() in probe function
2040e90bd48a ARM: 8816/1: dma-mapping: fix potential uninitialized return
8b1e20a3df5d ARM: 8815/1: V7M: align v7m_dma_inv_range() with v7 counterpart
c277c0e1b0e7 ARM: 8814/1: mm: improve/fix ARM v7_dma_inv_range() unaligned address handling
52f34d6d10d4 bpf: check pending signals while verifying programs
cd17f2d553dc net/mlx4_en: Fix build break when CONFIG_INET is off
536fca86ba87 mv88e6060: disable hardware level MAC learning
2d9e565170d7 macvlan: return correct error value
349c7c7a5880 libata: whitelist all SAMSUNG MZ7KM* solid-state disks
ee58548c5cd2 Input: omap-keypad - fix keyboard debounce configuration
47155a7f238a Input: synaptics - enable SMBus for HP 15-ay000
31b7a055ad25 clk: mmp: Off by one in mmp_clk_add()
83a71b688529 clk: mvebu: Off by one bugs in cp110_of_clk_get()
90bcde56db66 drm/amd/powerplay: issue pre-display settings for display change event
c7d3364fa445 drm/msm: Fix error return checking
f5e8e639af30 drm/msm/hdmi: Enable HPD after HDMI IRQ is set up
51c8414a3df7 ide: pmac: add of_node_put()
1b75425347bf drivers/tty: add missing of_node_put()
12cdbd02480c drivers/sbus/char: add of_node_put()
c937d742441c sbus: char: add of_node_put()
ec06c2365739 SUNRPC: Fix a potential race in xprt_connect()
9e370ae200de nfs: don't dirty kernel pages read by direct-io
4e52a4ee3fd4 liquidio: read sc->iq_no before release sc
d65e4426decd bpf: Fix verifier log string check for bad alignment.
f75ea663b145 bonding: fix 802.3ad state sent to partner when unbinding slave
bac2acf174bb net: stmmac: Move debugfs init/exit to ->probe()/->remove()
3fb715bbd6c1 ARC: io.h: Implement reads{x}()/writes{x}()
1af56dd937b0 drm/amdgpu: wait for IB test on first device open
ff3fec41655d drm/msm: Grab a vblank reference when waiting for commit_done
2f71ee62933d drm/msm/dsi: configure VCO rate for 10nm PLL driver
e66c684213a9 drm/msm: fix handling of cmdstream offset
840811d0633f x86/earlyprintk/efi: Fix infinite loop on some screen widths
66d3d30021bb drm/amd/display: Fix 6x4K displays light-up on Vega20 (v2)
9bd27a8b616e net: ethernet: ave: Replace NET_IP_ALIGN with AVE_FRAME_HEADROOM
82de9c06a97b tools/bpf: add addition type tests to test_btf
277da06f81cd tools/bpf: fix two test_btf unit test cases
2329fbe32f13 scsi: vmw_pscsi: Rearrange code to avoid multiple calls to free_irq during unload
475aa44e2e0f scsi: libiscsi: Fix NULL pointer dereference in iscsi_eh_session_reset
9e957fbd1a9a i2c: rcar: check bus state before reinitializing
d8245e2588f7 Input: hyper-v - fix wakeup from suspend-to-idle
02fb6a1529b1 mac80211_hwsim: fix module init error paths for netlink
14b0e82132c7 IB/hfi1: Remove race conditions in user_sdma send path
5623e2407bb8 locking/qspinlock, x86: Provide liveness guarantee
8e02266863b2 locking/qspinlock: Re-order code
70c590120035 Linux 4.18.23
9cf5402745e6 dm zoned: Fix target BIO completion handling
2fa0d692ad6f dm zoned: target: use refcount_t for dm zoned reference counters
61bfc80fbe52 drm/amdgpu: update SMC firmware image for polaris10 variants
df1c1bcf1c4e drm/amdgpu: update smu firmware images for VI variants (v2)
db1207f9310d drm/amdgpu: add some additional vega10 pci ids
5724922ae4d7 drm/amdkfd: add new vega10 pci ids
d525e2cdf832 drm/amdgpu/powerplay: Apply avfs cks-off voltages on VI
53835137f8e7 drm/i915/execlists: Apply a full mb before execution for Braswell
5f99e72756cd drm/nouveau/kms: Fix memory leak in nv50_mstm_del()
2c94183dbe89 powerpc: Look for "stdout-path" when setting up legacy consoles
fb4f2f865a85 powerpc/msi: Fix NULL pointer access in teardown code
056fb552b47f media: vb2: don't call __vb2_queue_cancel if vb2_start_streaming failed
2729394ef4d3 tracing: Fix memory leak of instance function hash filters
3ccaf85e64f0 tracing: Fix memory leak in set_trigger_filter()
8d2b0c01ecb9 tracing: Fix memory leak in create_filter()
b5a75238a5ea dm: call blk_queue_split() to impose device limits on bios
a234ec33c6a3 dm cache metadata: verify cache has blocks in blocks_are_clean_separate_dirty()
d4921c64ab6f dm thin: send event about thin-pool state change _after_ making it
696142d867f8 ARM: dts: bcm2837: Fix polarity of wifi reset GPIOs
a854f226870b ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt
2fd965e41eeb fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS
eeb7db93fdc4 mmc: sdhci: fix the timeout check window for clock and reset
ded687bfc9fc mmc: sdhci-omap: Fix DCRC error handling during tuning
c40d26e2aebb mmc: core: use mrq->sbc when sending CMD23 for RPMB
e7e84222759e MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5910/OMAP310
2ceb08b99848 ovl: fix decode of dir file handle with multi lower layers
77d91ee8c4a3 arm64: dma-mapping: Fix FORCE_CONTIGUOUS buffer clearing
ff0ded5c2c54 aio: fix spectre gadget in lookup_ioctx
011f3bf616f1 pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11
419b946bd2f3 staging: olpc_dcon: add a missing dependency
7d8acff1f129 scsi: raid_attrs: fix unused variable warning
fb9e55d63efa bpf: fix off-by-one error in adjust_subprog_starts
ef2ec7729026 IB/hfi1: Fix an out-of-bounds access in get_hw_stats
0defcee2b10f ALSA: hda/realtek - Fixed headphone issue for ALC700
24c4139a1a7b ALSA: fireface: fix reference to wrong register for clock configuration
67f2dd243dc6 flexfiles: enforce per-mirror stateid only for v4 DSes
8d30703d6d56 ocfs2: fix potential use after free
6f2718bb8624 initramfs: clean old path before creating a hardlink
23399a09fda4 kernel/kcov.c: mark funcs in __sanitizer_cov_trace_pc() as notrace
d8979491c9fc proc: fixup map_files test on arm
ad71ec08f8b1 debugobjects: avoid recursive calls with kmemleak
8a5ae5ba9bd9 hfsplus: do not free node before using
1b4d458615cf hfs: do not free node before using
7bc2546c9a43 mm/page_alloc.c: fix calculation of pgdat->nr_zones
21bf0b91ba0b ocfs2: fix deadlock caused by ocfs2_defrag_extent()
a907830b4425 ACPI/IORT: Fix iort_get_platform_device_domain() uninitialized pointer value
f4bebbf5c1da nvme-rdma: fix double freeing of async event data
4a26fd2794ef nvme: flush namespace scanning work just before removing namespaces
5cbbefd895b8 fscache, cachefiles: remove redundant variable 'cache'
aac96283f143 cachefiles: Explicitly cast enumerated type in put_object
214b0f7241f4 fscache: fix race between enablement and dropping of object
2352fd0ff37c afs: Fix validation/callback interaction
874cc883482c pstore/ram: Correctly calculate usable PRZ bytes
f7dd088587d8 pvcalls-front: fixes incorrect error handling
23f5fbe66464 Revert "xen/balloon: Mark unallocated host memory as UNUSABLE"
60382e03a73f xen: xlate_mmu: add missing header to fix 'W=1' warning
ee24ad3eedc5 drm/ast: fixed reading monitor EDID not stable issue
2af2d7794f32 drm/amdgpu: Add delay after enable RLC ucode
6ca52fbbee20 net: hisilicon: remove unexpected free_netdev
7501d55624c2 ixgbe: recognize 1000BaseLX SFP modules as 1Gbps
5a5d699051f2 igb: fix uninitialized variables
9e42380eab9a cachefiles: Fix page leak in cachefiles_read_backing_file while vmscan is active
4701317cee0f fscache: Fix race in fscache_op_complete() due to split atomic_sub & read
7395908ac92d cachefiles: Fix an assertion failure when trying to update a failed object
689b67edb5f0 ALSA: usb-audio: Add vendor and product name for Dell WD19 Dock
4b61635fc96f netfilter: nf_tables: deactivate expressions in rule replecement routine
ae9b39bd26ab usb: gadget: u_ether: fix unsafe list iteration
866e243e89c4 net: thunderx: fix NULL pointer dereference in nic_remove
914fa3100245 x86/kvm/vmx: fix old-style function declaration
4da0cd45e88a KVM: x86: fix empty-body warnings
7c1ff883a73e netfilter: nat: fix double register in masquerade modules
6741803da10e netfilter: add missing error handling code for register functions
f018d5eae708 IB/mlx5: Fix page fault handling for MW
03f7f8880455 netfilter: ipv6: Preserve link scope traffic original oif
c465b31ab032 drm/meson: add support for 1080p25 mode
bb9e268e9d7e USB: omap_udc: fix rejection of out transfers when DMA is used
8d5bbff94d07 USB: omap_udc: fix USB gadget functionality on Palm Tungsten E
09ec687795df USB: omap_udc: fix omap_udc_start() on 15xx machines
88d2c380cc95 USB: omap_udc: fix crashes on probe error and module removal
1b288004247d USB: omap_udc: use devm_request_irq()
7872b15dde9d ipvs: call ip_vs_dst_notifier earlier than ipv6_dev_notf
c78d20b2a104 bpf: fix check of allowed specifiers in bpf_trace_printk
cd5689673b74 RDMA/hns: Bugfix pbl configuration for rereg mr
01b473861aa5 exportfs: do not read dentry after free
9a215042b425 ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE
e646abb7b69a ASoC: omap-mcpdm: Add pm_qos handling to avoid under/overruns with CPU_IDLE
c45caaef2252 ASoC: omap-mcbsp: Fix latency value calculation for pm_qos
b9daf5f65c75 RDMA/rdmavt: Fix rvt_create_ah function signature
77861b6c5671 RDMA/bnxt_re: Avoid accessing the device structure after it is freed
eb1f01e4226a RDMA/mlx5: Fix fence type for IB_WR_LOCAL_INV WR
0d27ad481081 Btrfs: send, fix infinite loop due to directory rename dependencies
4af31d016230 ARM: dts: at91: sama5d2: use the divided clock for SMC
d2b8c6a8a1b8 phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845
ca9eb79073a8 phy: qcom-qusb2: Use HSTX_TRIM fused value as is
aaab6336eb9c objtool: Fix segfault in .cold detection with -ffunction-sections
ef2f6bee2159 objtool: Fix double-free in .cold detection error path
e432cceeb8bd ASoC: acpi: fix: continue searching when machine is ignored
bba8179fae04 PCI: imx6: Fix link training status detection in link up check
5362dba7b696 perf tools: Restore proper cwd on return from mnt namespace
d8c06c8c36b9 hwmon: (w83795) temp4_type has writable permission
885bf92930f8 netfilter: xt_hashlimit: fix a possible memory leak in htable_create()
8ae7dfd71f06 aio: fix failure to put the file pointer
46b5558d5a1a spi: omap2-mcspi: Add missing suspend and resume calls
5ec9552fc58b ASoC: dapm: Recalculate audio map forcely when card instantiated
77b10c913a16 ASoC: omap-abe-twl6040: Fix missing audio card caused by deferred probing
8c6f04133b20 hwmon: (ina2xx) Fix current value calculation
c18d4263d24a s390/cpum_cf: Reject request for sampling in event initialization
6b064b5de14f ASoC: wm_adsp: Fix dma-unsafe read of scratch registers
60e1eccd5fb5 hwmon (ina2xx) Fix NULL id pointer in probe()
f4b4f286496e s390/cio: Fix cleanup when unsupported IDA format is used
ded23ec5857c s390/cio: Fix cleanup of pfn_array alloc failure
4a0d7435b9c2 netfilter: nf_tables: fix use-after-free when deleting compat expressions
9ce994a65de6 netfilter: xt_RATEEST: remove netns exit routine
0f94c96587ab perf tools: Fix crash on synthesizing the unit
255e04f5a250 selftests: add script to stress-test nft packet path vs. control plane
0a7e0d53afd2 netfilter: nf_tables: don't skip inactive chains during update
84dae51b3b3b sysv: return 'err' instead of 0 in __sysv_write_inode
cfd7d86743d4 ASoC: sun8i-codec: fix crash on module removal
fceaf70e406d tools: bpftool: prevent infinite loop in get_fdinfo()
dc752d44748a ARM: OMAP1: ams-delta: Fix possible use of uninitialized field
fa0914f171b6 ARM: dts: logicpd-somlv: Fix interrupt on mmc3_dat1
5d2ea9832d2e ARM: dts: LogicPD Torpedo: Fix mmc3_dat1 interrupt
7831d2076244 ARM: dts: am3517: Fix pinmuxing for CD on MMC1
7d8ee81c2c7e staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()'
604f01123bc4 ASoC: qdsp6: q6afe: Fix wrong MI2S SD line mask
ce35cd5ee1e3 ASoC: rsnd: fixup clock start checker
3ea13a21d07a ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup
8d42df355212 sctp: update frag_point when stream_interleave is set
fafdf91a4940 net: phy: sfp: correct store of detected link modes
524ad2fabf9b virtio-net: keep vnet header zeroed after processing XDP
b3de25aafea1 tun: forbid iface creation with rtnl ops
b9e84444a172 tcp: fix NULL ref in tail loss probe
bfe7b2583c29 sctp: kfree_rcu asoc
763df95b2195 rtnetlink: ndo_dflt_fdb_dump() only work for ARPHRD_ETHER devices
13a1ce2ad74f Revert "net/ibm/emac: wrong bit is used for STA control"
e21d76868b2c net: phy: don't allow __set_phy_supported to add unsupported modes
ec6cff67dc81 net/mlx4_en: Change min MTU size to ETH_MIN_MTU
4edc05c73545 net/mlx4_core: Correctly set PFC param if global pause is turned off.
4c10e8930e85 net: 8139cp: fix a BUG triggered by changing mtu with network traffic
751c494d491a ipv6: sr: properly initialize flowi6 prior passing to ip6_route_output
f9c324ce9f08 neighbour: Avoid writing before skb->head in neigh_hh_output()
612931cc02b5 ipv6: Check available headroom in ip6_xmit() even without options
552cf47e54a1 ipv4: ipv6: netfilter: Adjust the frag mem limit when truesize changes
7ec7433c5890 HID: quirks: fix RetroUSB.com devices
455549628a0b mac80211: ignore NullFunc frames in the duplicate detection
0c7da0aa7b1c mac80211: fix reordering of buffered broadcast packets
ba2caf535dc3 mac80211: ignore tx status for PS stations in ieee80211_tx_status_ext
2545ea1dcdcb mac80211: Clear beacon_int in ieee80211_do_stop
39ca1b1a5f04 mac80211: fix GFP_KERNEL under tasklet context
babb30868c1c mac80211_hwsim: Timer should be initialized before device registered
1f1afa100306 cfg80211: Fix busy loop regression in ieee80211_ie_split_ric()
3ca6ef9feafa libnvdimm, pfn: Pad pfn namespaces relative to other regions
60b82363d437 kgdboc: fix KASAN global-out-of-bounds bug in param_set_kgdboc_var()
3d7dc255fe92 tty: do not set TTY_IO_ERROR flag if console port
adf103eac922 tty: serial: 8250_mtk: always resume the device in probe.
9df22addf43b Drivers: hv: vmbus: Offload the handling of channels to two workqueues
93fd54970c3c kprobes/x86: Fix instruction patching corruption when copying more than one RIP-relative instruction
5af246208420 drm/i915: Downgrade Gen9 Plane WM latency error
e8c4ec7a8cb5 drm/amdgpu/gmc8: always load MC firmware in the driver
b8b88b63975b drm/amdgpu/gmc8: update MC firmware for polaris
d1569baf730a drm/msm: Move fence put to where failure occurs
1c2a37eae264 drm/lease: Send a distinct uevent
f558434b38cc drm/amdgpu: update mc firmware image for polaris12 variants
50152de6de4f crypto: do not free algorithm before using
4352e6c016ec Revert commit ef9209b642f "staging: rtl8723bs: Fix indenting errors and an off-by-one mistake in core/rtw_mlme_ext.c"
4e9e20b3082c staging: rtl8712: Fix possible buffer overrun
05ae28903d5c cifs: Fix separator when building path from dentry
f0fd776c02c4 Revert "x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"
7b1469c3f003 xhci: Prevent U1/U2 link pm states if exit latency is too long
ac4556802707 USB: xhci: fix 'broken_suspend' placement in struct xchi_hcd
dc04aae7f67c xhci: workaround CSS timeout on AMD SNPS 3.0 xHC
d7bad132104f ARM: 8806/1: kprobes: Fix false positive with FORTIFY_SOURCE
f192f717a29d dmaengine: cppi41: delete channel from pending list when stop channel
9901c1492367 dmaengine: dw: Fix FIFO size for Intel Merrifield
e62d2249c68e SUNRPC: Fix leak of krb5p encode pages
a2a5e2fde8c3 vhost/vsock: fix use-after-free in network stack callers
ed5a4844a3bd virtio/s390: fix race in ccw_io_helper()
e956edc8a6c8 virtio/s390: avoid race on vcdev->config
666ba2ee65fa parisc: Enable -ffunction-sections for modules on 32-bit kernel
61502a480493 Revert "mfd: cros_ec: Use devm_kzalloc for private data"
ccb717e43ac1 media: gspca: fix frame overflow error
bce19403ad9e ALSA: hda/realtek - Fix speaker output regression on Thinkpad T570
f24c98d59963 ALSA: pcm: Call snd_pcm_unlink() conditionally at closing
f4be72e0bf8c ALSA: pcm: Fix starvation on down_write_nonblock()
c93f1f31d1bd ALSA: hda: Add support for AMD Stoney Ridge
01da3695a290 ALSA: usb-audio: Fix UAF decrement if card has no live interfaces in card.c
74a5ec298bee ALSA: usb-audio: Add SMSL D1 to quirks for native DSD support
026947331690 USB: serial: console: fix reported terminal settings
673238324c4e USB: check usb_get_extra_descriptor for proper size
3889e33bb1d0 usb: appledisplay: Add 27" Apple Cinema Display
7a84b5a362e2 usb: quirk: add no-LPM quirk on SanDisk Ultra Flair device
ca857e5103dd net: amd: add missing of_node_put()
0da2f98fc745 team: no need to do team_notify_peers or team_mcast_rejoin when disabling port
e9a722de9249 ibmvnic: Update driver queues after change in ring size support
3f4134c1db37 ibmvnic: Fix RX queue buffer cleanup
15604a70011d flexfiles: use per-mirror specified stateid for IO
8c88fb37b2c9 iommu/vt-d: Use memunmap to free memremap
7bdd56b674cd net: faraday: ftmac100: remove netif_running(netdev) check before disabling interrupts
d30aa84cf6de riscv: fix warning in arch/riscv/include/asm/module.h
2b492d33ce39 net/ibmvnic: Fix RTNL deadlock during device reset
5aa8e66efe3c net/ibmnvic: Fix deadlock problem in reset
d15648cc57d6 qed: Fix QM getters to always return a valid pq
3f44a9e68949 qed: Fix bitmap_weight() check
121e97d57b63 NFSv4: Fix a NFSv4 state manager deadlock
176e0f131cbc mtd: spi-nor: Fix Cadence QSPI page fault kernel panic
a51b12e14de8 HID: multitouch: Add pointstick support for Cirque Touchpad
61f7e06c559d Revert "HID: uhid: use strlcpy() instead of strncpy()"
8b26c115fdab cpufreq: ti-cpufreq: Only register platform_device when supported
bd3ddbff7a21 mtd: rawnand: qcom: Namespace prefix some commands
8a70c6977ac9 tc-testing: tdc.py: Guard against lack of returncode in executed command
ab8885c434bc tc-testing: tdc.py: ignore errors when decoding stdout/stderr
625510a08d3c gpio: mockup: fix indicated direction
6abc9f8ddae4 gpio: pxa: fix legacy non pinctrl aware builds again
5e228fca94b5 net/mlx4: Fix UBSAN warning of signed integer overflow
47a0a222daa6 net/mlx4_core: Fix uninitialized variable compilation warning
5b53369dbb76 net/mlx4_core: Zero out lkey field in SW2HW_MPT fw command
596f8d294724 drm/amd/display: Support amdgpu "max bpc" connector property (v2)
31436df3a605 drm/amdgpu: Add amdgpu "max bpc" connector property (v2)
021a2a365e35 nvme-fc: resolve io failures during connect
9dc330320b96 Revert "usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers"
dbd1e112f822 usb: dwc2: pci: Fix an error code in probe
88aeb64586df qed: Fix reading wrong value in loop condition
d7cdbdfa0446 qed: Fix PTT leak in qed_drain()
b678bf52f8a5 bnx2x: Assign unique DMAE channel number for FW DMAE transactions.
a88bcdc2f534 amd/iommu: Fix Guest Virtual APIC Log Tail Address Register
5f3352a721d7 batman-adv: Expand merged fragment buffer for full packet
77bfec5b5de0 batman-adv: Use explicit tvlv padding for ELP packets
a934bcb21cd2 HID: input: Ignore battery reported by Symbol DS4308
e711cc95c600 test_firmware: fix error return getting clobbered
baa8bdeb4c77 can: rcar_can: Fix erroneous registration
ae6ed5e2d24a iommu/ipmmu-vmsa: Fix crash on early domain free
894857cf8a55 mt76: fix building without CONFIG_LEDS_CLASS
ae5157c74bb4 iommu/vt-d: Fix NULL pointer dereference in prq_event_thread()
b882f3a05330 media: ipu3-cio2: Unregister device nodes first, then release resources
d7fe182705df media: omap3isp: Unregister media device as first
ee69fa8a8dd0 media: cec: check for non-OK/NACK conditions while claiming a LA
(From OE-Core rev: f9afa2bb7fe78a0f2223ce32f908c22f2194adfe)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build system for at-spi2-core package have auto detection
of x11 dependency since version 2.26.1. Remove the hardcoded
dependency in the recipe and let DISTRO_FEATURES decide.
(From OE-Core rev: e80bfa6bdfc1ad97c6232f8387d1bf8a8c7a8b20)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will let AUH test-build the proposed upgrades made by devtool.
(From OE-Core rev: 4f93e037357be63253bdf060afedb2f35afc4bfa)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a genuine error that is discovered when using libc++ runtime
(From OE-Core rev: e4aa17ddc2ea623de2803efa9ab2fca498c99e19)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We do not have initial phase of bootstrapping toolchains anymore
(From OE-Core rev: 75a2c15bbabf4df14631c822b20ce6d31098a5c8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If DISTRO_VERSION is defined to some undefined variable, e.g.,
DISTRO_VERSION = "${FOO_VERSION}", and /bin/sh is dash, then
do_install() would fail with an error such as:
run.do_install.2945:193: run.do_install.2945: Syntax error:
Unterminated quoted string
This was due to unexpanded Python code making it into the shell code,
confusing the shell parser.
Reported-by: srinivasan <srinivasan.rns@gmail.com>
(From OE-Core rev: fdd0b9e26ef11fa287692848ea3add64ba623433)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The version number isn't useful in /usr/share/doc as we can only install one
copy of libxslt, and this reduces noise in buildhistory-diff reports.
(From OE-Core rev: f9290f37b6dcaa18b09929ca3c18a4c8d0876364)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the definition to match that of poky.conf.
(From yocto-docs rev: 09c73c227c6949ed3f1287ce063aa96967ed2fda)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the older script which the code in lib/oeqa/buildperf replaces so
delete the obsolete script to avoid confusion.
(From OE-Core rev: 9908b7955e75e10d6a1384e4c08417ef534464af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This tweaks the script to:
* Ensure directories exist and can be written to
* Allow the downloads directory to be specified
* Error early if the phantomjs or optipng dependencies are not installed
* Allow the location of the globalres.log file to be specified
This means that the main build directory can be destroyed and any state
from the script is stored elsewhere allowing it to be triggered
automatically from the autobuilder infrastructure.
(From OE-Core rev: 1de5fbd484e6a747ae6419ccc89d8c2911b9706b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since this class is only useful for image recipes, it is better to
suggest adding it via IMAGE_CLASSES instead of INHERIT in the example.
Also make the example a bit more readable by indenting the variable
values.
(From OE-Core rev: ee91a464f2cad6b3801e18fee28e639e1c957d41)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In an issue similar to "atk: add explicit gettext-native dependency"
(964ea8bfc455f6017dc834104d96b8f5aa40a5bc) we need to add gettext-native
to DEPENDS explicitly as the gettext class reduces dependencies in
native builds.
(From OE-Core rev: 1946898d858bf783efcb3313fa84e9c4ce3e217e)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The r600 DRI driver does not require LLVM, so remove it from the LLVM
dependency PACKAGE_CONFIG.
Also remove the x86 requirement on the drivers as they are work on
non-x86 systems. This was tested on a RISC-V board.
(From OE-Core rev: 001b544db55101ab7a3f5f5910de6548542b6e2a)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A new commit was introduced to kernel, which caused kprobe sample case
failed on arm.
[kernel commit: e46daee53bb50b, ARM: 8806/1: kprobes: Fix false positive
with FORTIFY_SOURCE]
And according to author, the case just works on x86 and powerpc.
So we just promise that the case can pass on x86 and powerpc.
(From OE-Core rev: 1a5b14bc3fe29618beea016ab2b32f55c19dd6ad)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport RISC-V support from master Gstreamer.
(From OE-Core rev: 2417a4e9f5b79815e5dcaf6b836a9239bd168c15)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() examples with a regex search and replace.
Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
Note that there are are several other examples of getVar()
usage which already don't explicitly add the True option,
this patch just align some stray remainders.
(From yocto-docs rev: 9824280085c4164c614c5ef2bc1e69ffac1732dd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Turns out I had some hard-coded stuff in these examples.
Furthermore, I did not have good enough detail in the
brief-yoctoprojectqs manual. I added more detail on how to get
that sato example going.
(From yocto-docs rev: 3dd6217be5e6f73ba3927431105096aec1445e10)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13112]
Fixes [YOCTO #13115]
* FILESPATH: Added a detailed example of how to use the variable
to set machine-specific configurations. Also, noted the default
behavior of using FILESOVERRIDES to automatically extend
FILESPATH. Did some rewriting as well.
* IMAGE_FSTYPES: Updated the note to not be exclusive to "live"
images. The behavior applies to many images.
(From yocto-docs rev: 46e3f2545c45ba5391603f9ffa1c87896d472df6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update_submodules and unpack_submodules functions were nearly indentical,
so we made a common function where the different behavior could be passed
in by the download and unpack users. The new function is process_submodules.
Moved the parse_gitmodules function under the new process_submodules, since
there are no external callers.
Refactor the file relative path processing to the URL translation code.
We also add a warning to the translation if a relative ssh URL has been
detected. Since this can cause a problem.
In the case of a relative URL that does not work after being translated,
it should be possible to use the MIRROR functions to manual translate the
generated relative URL into one that works properly.
Remove 'git config' processing on download contents. It turns out this is not
necessary since all of the later components work using the git fetcher.
Limit the 'git submodule update' call to only when unpacking a non-bare
repository. Submodules are always loaded as bare, so this prevents
intermediate unpacks from being attempted.
Finally, the test cases were updated and the new commit ids in the test
repository were updates as well.
(Bitbake rev: 610dbee5634677f5055e2b36a3043cd197fb8c51)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A custom shallow submodule is no longer necessary, as the regular git
fetcher is used and shallow handling works with the same code.
The only general difference between the regular change is simply declaring a
clone as shallow, when appropriate.
This also removes a potential race condition in copying repositories
vs cloning them.
The gitsm shallow fetcher test was revised to verify that the submodule
is shallow cloned along with the primary repository.
The first step of this change was to be sure to clean the gitsubmodule download
directory, as was previously done with the may gitsource directory.
Additional test components were added to verify commit counts, and an
obsolete (and likely incorrect) test for the .git/modules directory to be
empty was also removed.
(Bitbake rev: f9cc4684dcf4281acc557cda8cb35602354ac3d6)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Greatly simply the unpack rule by copying the general functionality of
update_submodules as unpack_submodules. This will recursively construct
a set of urls and unpack them using the standard system behaviors.
The overall code may be slightly bigger, but this ensures that all of the
standard locks are inplace, ensuring the code doesn't change out from
under the unpack function. (This could have happened before due to using
'cp' instead of further unpacks on submodules. This may still happen in
shallow clones.)
(Bitbake rev: 7d7ee630f1c65e7dd234f945edf5e3b3bcb0fc30)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that a race condition on a shared download directory could
occur with the gitsm fetcher, the result happened with a call to
git config
that occured within the update_submodules. Since the fetch is locked by the
upper level, it was probably the prior need_update(...) function causing this
because of some old code.
The gitsm class inherits the git class. The need_update was overridding the
version in gitsm, so that it forceably checked the submodules.
It's clear we can optimize the code by only updating if the primary repository
needs updating. Since we don't care if the submodule repository has changed
because if the primary hasn't, references to the submodule won't change.
(Bitbake rev: 346338667edca1f58ace769ad417548da2b8d981)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to test the ssh processing in gitsm, we add an alternative
testcase that can be downloaded from git.yoctoproject.org. However,
this test case requries (read) access, via ssh, to git.yoctoproject.org.
(Bitbake rev: c8554cdc1287620fe8e8960561e614567879a010)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following appear to be the git supported formats:
proto://user:pass@host/path (URI format)
user@host:path (SSH format)
/path or ./path or ../path (local file format)
We adjust the parsing to find out if we have a URI format or not.
When we are NOT in URI format, we do our best to determine SSH or
file format by looking for a ':' in the overall string. If we find
a ':' we assume SSH format and adjust accordingly.
Note, in SSH format we simply replace the ':' with a '/' when constructing
the URL. However, if the original path was ":/...", we don't want '//' so
we deal with this corner case as well.
(Bitbake rev: dcac05e7dc6b0c5f8e63d36ad105b7eab41f0016)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible for a submodule to be defined in the .gitmodules file, but
never initialized in the repository itself. This shows itself when searching
for the defined module hash you will get back a empty value.
Similarly we need to identify and skip defined but not initialized submodules
during the unpack stages as well.
Thanks to raphael.lisicki@siemens.com for their help is figuring out how
to resolve this issue.
Additionally a problem was found where, while unlikely, it may be possible
for the wrong revision to have been searched using ls-tree. This has been
resolved in the update_submodules function by keeping the correct revision
along with the submodule path.
(Bitbake rev: 49e1ff920143dcd4e7f73933d7ab8a84b8ffa1a3)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix handling of escape characters in regexs and hence fix python
Deprecation warnings which will be problematic in python 3.8.
(Bitbake rev: c1fcc46e2498ddd41425d8756754f814d682aba3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apparently either nobody ever used sdimage-bootpart.wks
or fstab was kept untouched due to "--no-fstab-update" usage as
some boards like IMX may have, see [1].
Otherwise addition of the following line to the target's fstab:
---------------------->8-----------------
/dev/mmcblkp1 /boot vfat defaults 0 0
---------------------->8-----------------
gets us unusable target:
---------------------->8-----------------
[* ] A start job is running for dev-mmcblkp1.device (23s / 1min 30s)
[ TIME ] Timed out waiting for device dev-mmcblkp1.device.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local File Systems.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.
Press Enter for maintenance
---------------------->8-----------------
Fix it with use of "mmcblk0" device name.
[1] https://lists.yoctoproject.org/pipermail/meta-freescale/2018-February/022156.html
(From OE-Core rev: 57a925dbd949e488980b02896106efd82bf47ed2)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Cc: Maciek Borzecki <maciek.borzecki@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case boots the image in qemu and checks for mounted partitions.
But the outputs of mount are different between sysvinit and systemd:
sysvinit:
/dev/root /\r\n/dev/sda1 /boot\r\n/dev/sda3 /media\r\n/dev/sda4 /mnt
systemd:
/dev/sda1 /boot\r\n/dev/sda2 /\r\n/dev/sda3 /media\r\n/dev/sda4 /mnt
So check mounted partitions by egrep rather than check output of runqemu.
(From OE-Core rev: 8e3311d45ec68d74e934e966f67cf5102634981c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There might be do_cleansstate errors sometimes:
ERROR: When reparsing
/path/to/meta/recipes-devtools/quilt/quilt-native_0.65.bb.do_cleansstate,
the basehash value changed from
b4dbcb956a32ed4c3f58b7971717907bfc03bb21f3b140fa97f7765ee695f4d0 to
c8307418a671686349b73efbd51c5c82c897a88707a759ddb22fd95baa5df2ba. The metadata
is not deterministic and this needs to be fixed.
The stable reproducer is:
- Initial a fresh build, this is a must, otherwise we may can't reproduce it
$ . oe-init-build-env build
$ bitbake quilt-native -ccleansstate
This is because uninative.bbclass resets NATIVELSBSTRING from distro (e.g.,
ubuntu) to universal, remove dependencies of SSTATE_EXTRAPATHWILDCARD as
SSTATE_EXTRAPATH did can fix the problem.
(From OE-Core rev: 781117f9f02c0080dadc8797a8f8f9377a99b164)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using linux-yocto-dev, we will have one more amba error message
for qemuarm, so ignore it too.
(From OE-Core rev: 37cb293cf0f4194ec923d3bc4ebb9645f07536c0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code conditionally adding ${PN}-journal-remote to SYSTEMD_PACKAGE
checked PACKAGECONFIG for an empty string rather than 'microhttpd'...
(From OE-Core rev: 42d52a279a75c94c4deba50b448dd3b6b2ac75df)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes sure that packages are only added to USERADD_PACKAGES if
they will create users/groups. This avoids the following error:
ERROR: systemd_239.bb: meta/recipes-core/systemd/systemd_239.bb
inherits useradd but doesn't set USERADD_PARAM, GROUPADD_PARAM or
GROUPMEMS_PARAM for package systemd-journal-gateway
Normally this problem is not triggered even if the conditional code that
expands in, e.g., USERADD_PARAM_${PN}-journal-gateway is empty because
it is assigned with += and thus ends up as " ", which fools the check in
useradd.bbclass.
However, if USERADDEXTENSION += "useradd-staticids" and
INHERIT += "extrausers" are used, they cause the problem to occur. The
reason for this is because when useradd-staticids is used, it rewrites
USERADD_PARAM_${PN}-journal-gateway, which strips unnecessary whitespace
and thus USERADD_PARAM_${PN}-journal-gateway becomes empty. And
extrausers is needed, because otherwise the test in useradd.bbclass is
triggered before useradd-staticids has rewritten the variables...
(From OE-Core rev: 63ae444b1dba65ccb1693648914becabd65ac30d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PolicyKit has been renamed to Polkit since quite a while. Rename
the PACKAGECONFIG accordingly.
(From OE-Core rev: ec1a0e79e61090d71dc2ee2ea273f1880009d94c)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PolicyKit has been renamed to Polkit since quite a while. Rename
the PACKAGECONFIG accordingly.
(From OE-Core rev: 35679293c42ef1ed717d455a9cfec82bf528bed2)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only add polkit to PACKAGECONFIG if polkit is in DISTRO_FEATURES.
(From OE-Core rev: 1cde1b68d29da119ca290fd39acf3184499e2f34)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python 3.8 will be stricter about python quoting. Fix up several misquoted
expressions and fix Deprecation warnings like:
Var <do_compile>:1: DeprecationWarning: invalid escape sequence \$
(From OE-Core rev: 3ba6cee84de89f8eb200e4c93d446f6cdeeaa4be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix handling of escape characters in regexs and hence fix python
Deprecation warnings which will be problematic in python 3.8.
Note that some show up as:
"""
meta/classes/package.bbclass:1293: DeprecationWarning: invalid escape sequence \.
"""
where the problem isn't on 1293 in package.bbclass but in some _prepend to a
package.bbclass function in a different file like mesa.inc, often from
do_package_split() calls.
(From OE-Core rev: 4b1c0c7d5525fc4cea9e0f02ec54e92a6fbc6199)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When collecting the git revision of repositories, also take
note of whether or not that repository has uncommited
changes.
This makes it a bit clearer what went on when looking at
diffs.
(From OE-Core rev: b9d780c7eeda0fefb13edde8bdba4f1d91e7823c)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
./lib/bs4/element.py:1565: DeprecationWarning: Using or importing the
ABCs from 'collections' instead of from 'collections.abc' is deprecated,
and in 3.8 it will stop working
(Bitbake rev: 52a144a7daa94b2bd239d582cb71d1f03119918f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A couple have still been missed in the past despite multiple
attempts at doing so (or simply have re-appeared?).
Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
(From OE-Core rev: 9f551d588693328e4d99d33be94f26684eafcaba)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python2 version of pbr is in meta-python and uses the same inc file but
is not updated synchronously, which ends up breaking it, either we move
py2 version into OE-core as well and then ensure that both recipes are
updated atomically, or we move the checksums into recipe files
Fixes errors like
http://errors.yoctoproject.org/Errors/Details/216253/
(From OE-Core rev: b020a7139a6fd9efd052a3dc3c02a41f621ae952)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
f630d3cc771e Linux 4.19.14
a4a929aa46b4 MIPS: Only include mmzone.h when CONFIG_NEED_MULTIPLE_NODES=y
feb0be15ee8b spi: bcm2835: Unbreak the build of esoteric configs
62977aad0a52 tpm: tpm_i2c_nuvoton: use correct command duration for TPM 2.x
7f4a7b1badcf tpm: tpm_try_transmit() refactor error flow.
920735c63d8a arm64: compat: Avoid sending SIGILL for unallocated syscall numbers
1817b2ccbd11 iommu/arm-smmu-v3: Fix big-endian CMD_SYNC writes
f318d0cf26b1 KVM: arm/arm64: vgic: Fix off-by-one bug in vgic_get_irq()
47ffaa7decc5 KVM: arm/arm64: vgic-v2: Set active_source to 0 when restoring state
6318b1b7c90c KVM: arm/arm64: vgic: Cap SPIs to the VM-defined maximum
f0fcc4d17cf4 KVM: arm/arm64: vgic: Do not cond_resched_lock() with IRQs disabled
ce866af60e90 rtc: m41t80: Correct alarm month range with RTC reads
badd5690661b ARM: dts: exynos: Specify I2S assigned clocks in proper node
0fa68518047b arm/arm64: KVM: vgic: Force VM halt when changing the active state of GICv3 PPIs/SGIs
7ec9ea679c96 arm64: KVM: Avoid setting the upper 32 bits of VTCR_EL2 to 1
ba77e8c7f704 smb3: fix large reads on encrypted connections
1827d1c439bc CIFS: Fix error mapping for SMB2_LOCK command which caused OFD lock problem
db825a79e07a MIPS: Fix a R10000_LLSC_WAR logic in atomic.h
34c512d883b3 MIPS: OCTEON: mark RGMII interface disabled on OCTEON III
fb38b12e0b2b MIPS: Expand MIPS32 ASIDs to 64 bits
88c61f5cb67d MIPS: Align kernel load address to 64KB
76a9f7b4be28 MIPS: Ensure pmd_present() returns false after pmd_mknotpresent()
e8ae2ae2aae5 MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3
62452b351195 MIPS: math-emu: Write-protect delay slot emulation pages
d642e0b630b0 tools lib traceevent: Fix processing of dereferenced args in bprintk events
47af3cecd561 media: v4l2-tpg: array index could become negative
245fc1c7f688 media: vb2: check memory model for VIDIOC_CREATE_BUFS
845c7f6cbc98 media: vivid: free bitmap_cap when updating std/timings/etc.
257ad26e7e98 media: imx274: fix stack corruption in imx274_read_reg
7ce31f635b23 media: rc: cec devices do not have a lirc chardev
2f8cff22960b media: cec-pin: fix broken tx_ignore_nack_until_eom error injection
465153038583 media: cec: keep track of outstanding transmits
e534754ffd93 serial: uartps: Fix interrupt mask issue to handle the RX interrupts properly
5036fcd9b145 f2fs: sanity check of xattr entry size
58d7ab7163d9 f2fs: fix validation of the block count in sanity_check_raw_super
ce5b0057f768 f2fs: read page index before freeing
9621ea6b9c4c dax: Use non-exclusive wait in wait_entry_unlocked()
c555772c2a4e dax: Don't access a freed inode
a9935a127688 powerpc/tm: Unset MSR[TS] if not recheckpointing
71cda0af3670 brcmfmac: Fix out of bounds memory access during fw load
fad6c183e20b brcmfmac: fix roamoff=1 modparam
9eec74b48477 Btrfs: send, fix race with transaction commits that create snapshots
6911b074a005 btrfs: run delayed items before dropping the snapshot
10b04210aabf Btrfs: fix fsync of files with multiple hard links in new directories
7708a83090ba btrfs: skip file_extent generation check for free_space_inode in run_delalloc_nocow
c1f90eb01971 btrfs: dev-replace: go back to suspend state if another EXCL_OP is running
28867a52e48d btrfs: dev-replace: go back to suspended state if target device is missing
326ca6bd0fae cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.
8a2fbdd5b020 cgroup: fix CSS_TASK_ITER_PROCS
99dcd45f274e crypto: cfb - fix decryption
d8e4b24ffbbb crypto: testmgr - add AES-CFB tests
cc43a8afa8e3 crypto: chcr - small packet Tx stalls the queue
0fa6bead41ba crypto: cavium/nitrox - fix a DMA pool free failure
d095e1ba4165 clk: sunxi-ng: Use u64 for calculation of NM rate
36ef9d14fdda clk: rockchip: fix typo in rk3188 spdif_frac parent
9e9c669859f6 spi: bcm2835: Avoid finishing transfer prematurely in IRQ mode
cc8b83ff6a69 spi: bcm2835: Fix book-keeping of DMA termination
63f97d305aed spi: bcm2835: Fix race on DMA termination
0cb4f6559087 ext4: check for shutdown and r/o file system in ext4_write_inode()
bf2fd1f97040 ext4: force inode writes when nfsd calls commit_metadata()
263663888d2f ext4: avoid declaring fs inconsistent due to invalid file handles
6633fcb231a0 ext4: include terminating u32 in size of xattr entries when expanding inodes
11bb168baef2 ext4: fix EXT4_IOC_GROUP_ADD ioctl
0d078853b87a ext4: missing unlock/put_page() in ext4_try_to_write_inline_data()
0a1c177dd903 ext4: fix possible use after free in ext4_quota_enable
b878c8a7f08f ext4: add ext4_sb_bread() to disambiguate ENOMEM cases
6665481e1c21 ocxl: Fix endiannes bug in read_afu_name()
3fbf78b25268 ocxl: Fix endiannes bug in ocxl_link_update_pe()
65e4e67de33d perf env: Also consider env->arch == NULL as local operation
d124dd5c6ace perf pmu: Suppress potential format-truncation warning
307dbd383650 perf script: Use fallbacks for branch stacks
39dad822b785 perf tools: Use fallback for sample_addr_correlates_sym() cases
0ada27a74438 perf thread: Add fallback functions for cases where cpumode is insufficient
62977a9ba8dd perf machine: Record if a arch has a single user/kernel address space
bf75d9382bc4 clocksource/drivers/arc_timer: Utilize generic sched_clock
ca3a6fd272bb DRM: UDL: get rid of useless vblank initialization
29ac2218a9f8 drm/v3d: Skip debugfs dumping GCA on platforms without GCA.
6c56e89e4ebe platform-msi: Free descriptors in platform_msi_domain_free()
c9dae887cf64 KVM: nVMX: Free the VMREAD/VMWRITE bitmaps if alloc_kvm_area() fails
07cbcfc33fc9 arm64: KVM: Make VHE Stage-2 TLB invalidation operations non-interruptible
edcf33b155fe KVM: x86: Use jmp to invoke kvm_spurious_fault() from .fixup
4910271928c2 x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()
86ba6f66c9c1 x86/speculation/l1tf: Drop the swap storage limit restriction when l1tf=off
aeb5e5341696 Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G
f1680565304c Input: atmel_mxt_ts - don't try to free unallocated kernel memory
d648a9bdac4b s390/pci: fix sleeping in atomic during hotplug
47148001ae12 ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Gnawty
c4b6173e54ca ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Clapper
6cd208cb934f staging: wilc1000: fix missing read_write setting when reading data
80562cf3b188 media: dvb-usb-v2: Fix incorrect use of transfer_flags URB_FREE_BUFFER
f295bc9b8c9c usb: roles: Add a description for the class to Kconfig
9c1f18773406 Revert "usb: dwc3: pci: Use devm functions to get the phy GPIOs"
b1ab9f3d69f6 usb: dwc2: disable power_down on Amlogic devices
5e4dbeba2add usb: r8a66597: Fix a possible concurrency use-after-free bug in r8a66597_endpoint_disable()
8a5d034b5e86 USB: serial: option: add Fibocom NL678 series
f37b8b18b54f USB: serial: pl2303: add ids for Hewlett-Packard HP POS pole displays
9339eaf7ff4f usb: dwc2: host: use hrtimer for NAK retries
2c7882957c12 ALSA: hda/tegra: clear pending irq handlers
22bc89a31109 ALSA: hda/realtek: Enable the headset mic auto detection for ASUS laptops
302d9834ef29 ALSA: firewire-lib: use the same print format for 'without_header' tracepoints
ec7334b5ad18 ALSA: firewire-lib: fix wrong assignment for 'out_packet_without_header' tracepoint
438b26705896 ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet
a8be7cd59d37 ALSA: fireface: fix for state to fetch PCM frames
9ded351759d0 ALSA: hda/realtek: Enable audio jacks of ASUS UX391UA with ALC294
691d06e60d9d ALSA: hda: add mute LED support for HP EliteBook 840 G4
cec876b46e19 mtd: rawnand: omap2: Pass the parent of pdev to dma_request_chan()
5cad883fd612 mtd: rawnand: marvell: prevent timeouts on a loaded machine
586209404782 mtd: atmel-quadspi: disallow building on ebsa110
34fc09193486 powerpc/fsl: Fix spectre_v2 mitigations reporting
eb734900aa83 ALSA: emux: Fix potential Spectre v1 vulnerabilities
56971d62c759 ALSA: pcm: Fix potential Spectre v1 vulnerability
0d2270496891 ALSA: emu10k1: Fix potential Spectre v1 vulnerabilities
67b6a811a5f0 ALSA: rme9652: Fix potential Spectre v1 vulnerability
91dea490a4e1 IB/hfi1: Incorrect sizing of sge for PIO will OOPs
648458fe97b5 r8169: fix WoL device wakeup enable
e4a2ffe9029f net: Use __kernel_clockid_t in uapi net_stamp.h
e15413d61d4e net: mvneta: fix operation for 64K PAGE_SIZE
e97ecb19fee9 net/mlx5e: RX, Fix wrong early return in receive queue poll
e72e92914387 net/mlx5e: Remove unused UDP GSO remaining counter
af93ac090110 mlxsw: core: Increase timeout during firmware flash process
a8b01caff7d4 qed: Fix command number mismatch between driver and the mfw
5696ca93120b net: mvpp2: fix the phylink mode validation
fe65dfcca1b9 net/mlx5e: RX, Verify MPWQE stride size is in range
78512e346836 net/mlx5e: Cancel DIM work on close SQ
935bc9ddd774 mscc: Configured MAC entries should be locked.
ccc8b3747327 ipv6: route: Fix return value of ip6_neigh_lookup() on neigh_create() error
2210c2737e19 nfp: flower: ensure TCP flags can be placed in IPv6 frame
fe3f820c18b0 net/ipv6: Fix a test against 'ipv6_find_idev()' return value
5ac4cc331bca ipv6: frags: Fix bogus skb->sk in reassembled packets
9ed77be31e95 net/mlx5e: Remove the false indication of software timestamping support
7942d5be4922 tipc: check group dests after tipc_wait_for_cond()
71e848bd5e1d net/mlx5: Typo fix in del_sw_hw_rule
3a1cbcf4f3ae xen/netfront: tolerate frags with no data
d7c2162d5ab6 VSOCK: Send reset control packet when socket is partially bound
2b23a3651749 vhost: make sure used idx is seen before log in vhost_add_used_n()
2ce6d5aeafba tipc: use lock_sock() in tipc_sk_reinit()
b66ecc4f0b36 tipc: fix a double kfree_skb()
f404723deb69 tipc: fix a double free in tipc_enable_bearer()
a2ee6fb9c675 tipc: compare remote and local protocols in tipc_udp_enable()
dc6c13d5d5b4 tipc: check tsk->group in tipc_wait_for_cond()
e52170348715 tcp: fix a race in inet_diag_dump_icsk()
60f05dddf1eb sock: Make sock->sk_stamp thread-safe
fff7f7178630 sctp: initialize sin6_flowinfo for ipv6 addrs in sctp_inet6addr_event
2ec3976e29f2 qmi_wwan: Add support for Fibocom NL678 series
b7934b17b8f8 qmi_wwan: Added support for Telit LN940 series
a47e4db747f6 qmi_wwan: Added support for Fibocom NL668 series
6e36567284cf ptr_ring: wrap back ->producer in __ptr_ring_swap_queue()
4037ce1b28ca packet: validate address length if non-zero
a35c9c1712df packet: validate address length
781e26adfdea net/wan: fix a double free in x25_asy_open_tty()
f624d95c9937 net/tls: allocate tls context using GFP_ATOMIC
42e8bf856838 net: stmmac: Fix an error code in probe()
e028017380f0 net/smc: fix TCP fallback socket release
a1bce7196b72 netrom: fix locking in nr_find_socket()
4d1edda006a5 net: phy: Fix the issue that netif always links up after resuming
e3ba5b266e6b net: mvpp2: 10G modes aren't supported on all ports
5ea9c08a8692 net: macb: restart tx after tx used bit read
d5f9565c8d5a net: ipv4: do not handle duplicate fragments as overlapping
acb70d28fe63 net/hamradio/6pack: use mod_timer() to rearm timers
281731c8170a net: clear skb->tstamp in forwarding paths
ec820972c543 isdn: fix kernel-infoleak in capi_unlocked_ioctl
cde81154f86e ip: validate header length on virtual device xmit
0d2b652b0732 ipv6: tunnels: fix two use-after-free
cae3c9cf9d7d ipv6: explicitly initialize udp6_addr in udp_sock_create6()
360fb1db92df ipv4: Fix potential Spectre v1 vulnerability
32403fd3b529 ip6mr: Fix potential Spectre v1 vulnerability
110c877da975 ieee802154: lowpan_header_create check must check daddr
42b676c72e04 ibmveth: fix DMA unmap error in ibmveth_xmit_start error path
3c859adedd52 gro_cell: add napi_disable in gro_cells_destroy
3e881d8764ed ax25: fix a use-after-free in ax25_fillin_cb()
c04c050f5bf9 Linux 4.19.13
7f3ebea19795 drm/ioctl: Fix Spectre v1 vulnerabilities
6bb41321166f proc/sysctl: don't return ENOMEM on lookup when a table is unregistering
488f2c66dd46 Input: elantech - disable elan-i2c for P52 and P72
a5e880969713 mm: don't miss the last page because of round-off error
e27666dd8ffa mm, page_alloc: fix has_unmovable_pages for HugePages
161a5654cf06 mm: thp: fix flags for pmd migration when split
7592dbfaf3ef mm, memory_hotplug: initialize struct pages for the full memory section
3fbd4d87f1d1 media: ov5640: Fix set format regression
7f30924b488f iwlwifi: add new cards for 9560, 9462, 9461 and killer series
9007fba734d0 Revert "mwifiex: restructure rx_reorder_tbl_lock usage"
c151740ff107 iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT to old firmwares
fed44d6cb15f rtlwifi: Fix leak of skb when processing C2H_BT_INFO
5ecdfbb0d9f0 xfrm_user: fix freeing of xfrm states on acquire
89d6fff0747f mm: introduce mm_[p4d|pud|pmd]_folded
ba38c3e78838 mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
28a3b553dd31 mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
384221cbb918 panic: avoid deadlocks in re-entrant console drivers
0a95cba52bf2 x86/intel_rdt: Ensure a CPU remains online for the region's pseudo-locking sequence
56f7bfac531a x86/vdso: Pass --eh-frame-hdr to the linker
1e3b98b28c0d x86/mm: Fix decoy address handling vs 32-bit builds
c623326a3398 x86/mtrr: Don't copy uninitialized gentry fields back to userspace
9933bfb6d3f2 futex: Cure exit race
c1f8e7acb0c2 Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels
1972ca047083 KVM: Fix UAF in nested posted interrupt processing
229468c62942 kvm: x86: Add AMD's EX_CFG to the list of ignored MSRs
76281d12dac9 KVM: X86: Fix NULL deref in vcpu_scan_ioapic
82c8dbb376b9 posix-timers: Fix division by zero bug
1f51527d020e gpiolib-acpi: Only defer request_irq for GpioInt ACPI event handlers
85ac860a5fdf gpio: max7301: fix driver for use with CONFIG_VMAP_STACK
0867cfaabcf7 mmc: omap_hsmmc: fix DMA API warning
b38f6898b60c mmc: core: Use a minimum 1600ms timeout when enabling CACHE ctrl
12df9797d98c mmc: core: Allow BKOPS and CACHE ctrl even if no HPI support
f465300aab0d mmc: core: Reset HPI enabled state during re-init and in case of errors
024d515aab9b scsi: sd: use mempool for discard special page
690699b27185 scsi: t10-pi: Return correct ref tag when queue has no integrity profile
073645885686 ubifs: Handle re-linking of inodes correctly while recovery
507a953af925 USB: serial: option: add Telit LN940 series
81dfcd0b2c17 USB: serial: option: add Fibocom NL668 series
4e0f50024696 USB: serial: option: add Simcom SIM7500/SIM7600 (MBIM mode)
cc0667b533a9 USB: serial: option: add HP lt4132
7a37019379d6 USB: serial: option: add GosunCn ZTE WeLink ME3630
a67fb441decd USB: xhci: fix 'broken_suspend' placement in struct xchi_hcd
e13bfb357f5b xhci: Don't prevent USB2 bus suspend in state check intended for USB3 only
8f980122236c USB: hso: Fix OOB memory access in hso_probe/hso_get_config_data
9c5ccadb7b42 Revert "vfs: Allow userns root to call mknod on owned filesystems."
38d072a4a717 iomap: Revert "fs/iomap.c: get/put the page in iomap_page_create/release()"
2a7cb228d29c Linux 4.19.12
b4c7c826709b Btrfs: fix missing delayed iputs on unmount
5f286ec243d3 nvmet-rdma: fix response use after free
b2d587568588 nvme: validate controller state before rescheduling keep alive
cab9d27671db i2c: uniphier-f: fix violation of tLOW requirement for Fast-mode
eb296b2d315b i2c: uniphier: fix violation of tLOW requirement for Fast-mode
9d5db5becd74 i2c: scmi: Fix probe error on devices with an empty SMB0001 ACPI device node
9be9c23a507a i2c: axxia: properly handle master timeout
8175f9d39789 mlxsw: spectrum_switchdev: Fix VLAN device deletion via ioctl
50dc13e2b3c6 vhost/vsock: fix reset orphans race with close timeout
b5a8028c25f3 cifs: In Kconfig CONFIG_CIFS_POSIX needs depends on legacy (insecure cifs)
e6a5c4948c2c drm/ast: Fix connector leak during driver unload
10197442f1fb acpi/nfit: Fix user-initiated ARS to be "ARS-long" rather than "ARS-short"
d689c1371d18 tools/testing/nvdimm: Align test resources to 128M
878275fa3e75 drm/amdgpu/vcn: Update vcn.cur_state during suspend
e6a57a90b371 net: mvpp2: fix phylink handling of invalid PHY modes
f124acc92c83 net: mvpp2: fix detection of 10G SFP modules
42d040e2c7b9 thermal: armada: fix legacy validity test sense
4c2efd8cf5d9 ethernet: fman: fix wrong of_node_put() in probe function
80eaec9b94bc ARM: 8816/1: dma-mapping: fix potential uninitialized return
5cb9667104e8 ARM: 8815/1: V7M: align v7m_dma_inv_range() with v7 counterpart
b3d52556794c ARM: 8814/1: mm: improve/fix ARM v7_dma_inv_range() unaligned address handling
6ffd9f25c0e9 bpf: check pending signals while verifying programs
efda3b1d90e5 net/mlx4_en: Fix build break when CONFIG_INET is off
4ae4046a1246 mv88e6060: disable hardware level MAC learning
2ef6e0fe383f macvlan: return correct error value
2ed4392b0bb3 libata: whitelist all SAMSUNG MZ7KM* solid-state disks
62a866ed4c48 Input: omap-keypad - fix keyboard debounce configuration
65905f7b9033 Input: synaptics - enable SMBus for HP 15-ay000
8e09f402321e clk: mmp: Off by one in mmp_clk_add()
70c883946441 clk: mvebu: Off by one bugs in cp110_of_clk_get()
92bc065001a6 drm/amd/powerplay: issue pre-display settings for display change event
ee404810e01e drm/msm: Fix error return checking
38b579de0b9a drm/msm: dpu: Fix "WARNING: invalid free of devm_ allocated data"
b7c819a03ae8 drm/msm: dpu: Don't set legacy plane->crtc pointer
80f68af97440 drm/msm/hdmi: Enable HPD after HDMI IRQ is set up
580fd7b5452c ide: pmac: add of_node_put()
b37b7d5b9086 drivers/tty: add missing of_node_put()
78e974363bbc drivers/sbus/char: add of_node_put()
90d62a36352a sbus: char: add of_node_put()
20595815b058 SUNRPC: Fix a potential race in xprt_connect()
de956d407811 nfs: don't dirty kernel pages read by direct-io
b0cf59188ec2 liquidio: read sc->iq_no before release sc
85099bea9743 bpf: Fix verifier log string check for bad alignment.
aa4540d8cc87 bonding: fix 802.3ad state sent to partner when unbinding slave
43f5afa3eaae net: aquantia: fix rx checksum offload bits
0df6d609c5d2 net: stmmac: Move debugfs init/exit to ->probe()/->remove()
bf69dc3cb1b8 ARC: io.h: Implement reads{x}()/writes{x}()
dbb0f9e74655 drm/amdgpu: wait for IB test on first device open
546486c5b196 drm/ttm: fix LRU handling in ttm_buffer_object_transfer
01ba4fd98947 drm/msm: Grab a vblank reference when waiting for commit_done
801f12d991bc drm/msm/dsi: configure VCO rate for 10nm PLL driver
d60ec2e70298 drm/msm: fix handling of cmdstream offset
7de8218615d3 drm/msm/gpu: Fix a couple memory leaks in debugfs
35516413ae5a drm/msm: Fix task dump in gpu recovery
985dea32ba57 x86/earlyprintk/efi: Fix infinite loop on some screen widths
3965b4f0c37f drm/amd/display: Fix 6x4K displays light-up on Vega20 (v2)
bdf7c4c84bea net: ethernet: ave: Replace NET_IP_ALIGN with AVE_FRAME_HEADROOM
112a7f8e0540 tools/bpf: add addition type tests to test_btf
8b26fd26d69f tools/bpf: fix two test_btf unit test cases
a58fb8346d3c scsi: vmw_pscsi: Rearrange code to avoid multiple calls to free_irq during unload
13b968d59bb5 scsi: libiscsi: Fix NULL pointer dereference in iscsi_eh_session_reset
b288daf8e1da i2c: rcar: check bus state before reinitializing
53e0d8ecc83f Input: hyper-v - fix wakeup from suspend-to-idle
ff7d99c424ae mac80211_hwsim: fix module init error paths for netlink
70b0baddd09b IB/hfi1: Remove race conditions in user_sdma send path
2658687568cd locking/qspinlock, x86: Provide liveness guarantee
150f038c9382 locking/qspinlock: Re-order code
2a5f80c5bd72 Linux 4.19.11
d92c66b30f93 x86/build: Fix compiler support check for CONFIG_RETPOLINE
228f6f28d478 dm zoned: Fix target BIO completion handling
7b942bad3818 drm/amdgpu: update SMC firmware image for polaris10 variants
3ae86cfbbbf6 drm/amdgpu: update smu firmware images for VI variants (v2)
2732df872c63 drm/amdgpu: add some additional vega10 pci ids
95baf54676a8 drm/amdkfd: add new vega10 pci ids
d68d2ad54474 drm/amdgpu/powerplay: Apply avfs cks-off voltages on VI
f0e9995f7eed drm/i915/execlists: Apply a full mb before execution for Braswell
d6ebe485da3d drm/i915/gvt: Fix tiled memory decoding bug on BDW
683ef526234f Revert "drm/rockchip: Allow driver to be shutdown on reboot/kexec"
4d5907f70ec1 drm/nouveau/kms/nv50-: also flush fb writes when rewinding push buffer
d7fde95b7f3f drm/nouveau/kms: Fix memory leak in nv50_mstm_del()
c97c353e5f29 powerpc: Look for "stdout-path" when setting up legacy consoles
73732de1579f powerpc/msi: Fix NULL pointer access in teardown code
13e318b8680e media: vb2: don't call __vb2_queue_cancel if vb2_start_streaming failed
ee310e8ebb9e tracing: Fix memory leak of instance function hash filters
8f01f990b19f tracing: Fix memory leak in set_trigger_filter()
470cc678a12b tracing: Fix memory leak in create_filter()
b543b5c0ac1c dm: call blk_queue_split() to impose device limits on bios
09bc666fb411 dm cache metadata: verify cache has blocks in blocks_are_clean_separate_dirty()
809c692c665d dm thin: send event about thin-pool state change _after_ making it
bea8a160c621 ARM: dts: bcm2837: Fix polarity of wifi reset GPIOs
0017698d34b0 ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt
d9267e136044 fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS
113fe99d6376 mmc: sdhci: fix the timeout check window for clock and reset
661feb2fc993 mmc: sdhci-omap: Fix DCRC error handling during tuning
105819c8a545 mmc: core: use mrq->sbc when sending CMD23 for RPMB
e1e99fea907a MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5910/OMAP310
2a335229946e ovl: fix missing override creds in link of a metacopy upper
3faf68a42f97 ovl: fix decode of dir file handle with multi lower layers
7290c71ded83 block/bio: Do not zero user pages
beb98fda1853 arm64: dma-mapping: Fix FORCE_CONTIGUOUS buffer clearing
d41c49daf259 userfaultfd: check VM_MAYWRITE was set after verifying the uffd is registered
498a6e6be0de fs/iomap.c: get/put the page in iomap_page_create/release()
b11d5c025d8e scripts/spdxcheck.py: always open files in binary mode
a6136922d905 aio: fix spectre gadget in lookup_ioctx
4c74d5f1836e pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11
67e255bf2f34 drm/msm: fix address space warning
26527312c519 ARM: dts: qcom-apq8064-arrow-sd-600eval fix graph_endpoint warning
cd50eeeb6646 i2c: aspeed: fix build warning
340a904a1944 slimbus: ngd: mark PM functions as __maybe_unused
14e8b9ec43c9 staging: olpc_dcon: add a missing dependency
cda8e63c89d7 scsi: raid_attrs: fix unused variable warning
dc5350715915 sched/pelt: Fix warning and clean up IRQ PELT config
b23de3254f8c Linux 4.19.10
d265655ae46b tcp: lack of available data can also cause TSO defer
bddeb44981c1 bpf: fix off-by-one error in adjust_subprog_starts
1fd99ac175e6 IB/hfi1: Fix an out-of-bounds access in get_hw_stats
2a493d8ef5b9 ALSA: hda/realtek - Fix the mute LED regresion on Lenovo X1 Carbon
178b1a584e7f ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN/UX333FA with ALC294
1be8246777c5 ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294
487b6512d881 ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN
c8461d87716b ALSA: hda/realtek - Fixed headphone issue for ALC700
03e8b38c5177 ALSA: fireface: fix reference to wrong register for clock configuration
384f18115267 dax: Check page->mapping isn't NULL
111758f73595 flexfiles: enforce per-mirror stateid only for v4 DSes
a31da26a15e9 ocfs2: fix potential use after free
2a5d5f5f47b9 initramfs: clean old path before creating a hardlink
c6900015132a kernel/kcov.c: mark funcs in __sanitizer_cov_trace_pc() as notrace
359c0c4aefa1 proc: fixup map_files test on arm
53f1c27ac5d5 debugobjects: avoid recursive calls with kmemleak
ab31765ef4dd hfsplus: do not free node before using
f7cbec75fb0b hfs: do not free node before using
505bc9f38996 mm/page_alloc.c: fix calculation of pgdat->nr_zones
6aab48ae8ab5 ocfs2: fix deadlock caused by ocfs2_defrag_extent()
126afacf7a8f ACPI/IORT: Fix iort_get_platform_device_domain() uninitialized pointer value
992a773cb9bb nvme-rdma: fix double freeing of async event data
5893e48f8f8a nvme: flush namespace scanning work just before removing namespaces
1bda8b799665 nvme: warn when finding multi-port subsystems without multipathing enabled
1f925643315d fscache, cachefiles: remove redundant variable 'cache'
d8bf97a0a489 cachefiles: Explicitly cast enumerated type in put_object
02bd7b740cbb fscache: fix race between enablement and dropping of object
52da87f0e2e8 afs: Fix validation/callback interaction
ce469db0943b pstore/ram: Correctly calculate usable PRZ bytes
ff5ac9bd16ef pvcalls-front: fixes incorrect error handling
a9d79a0751a2 Revert "xen/balloon: Mark unallocated host memory as UNUSABLE"
c1a21086bbbd xen: xlate_mmu: add missing header to fix 'W=1' warning
f3c73ae453ed drm/ast: fixed reading monitor EDID not stable issue
cbd6a7ea6068 drm/amdgpu: Add delay after enable RLC ucode
3b54558a73d0 net: hisilicon: remove unexpected free_netdev
e3fb9d84fdd1 ixgbe: recognize 1000BaseLX SFP modules as 1Gbps
4b0f9f881bc1 igb: fix uninitialized variables
eee2269fd04f cachefiles: Fix page leak in cachefiles_read_backing_file while vmscan is active
a4a7a0d729c0 fscache: Fix race in fscache_op_complete() due to split atomic_sub & read
5132f91318ed cachefiles: Fix an assertion failure when trying to update a failed object
815899cf26f6 ALSA: usb-audio: Add vendor and product name for Dell WD19 Dock
e5f42e061789 netfilter: nf_tables: deactivate expressions in rule replecement routine
6d665dab42e7 usb: gadget: u_ether: fix unsafe list iteration
227b1745cd97 net: thunderx: fix NULL pointer dereference in nic_remove
bf1b47f33cb1 x86/kvm/vmx: fix old-style function declaration
d6b1692d9b9e KVM: x86: fix empty-body warnings
3c7670d56ac6 KVM: VMX: Update shared MSRs to be saved/restored on MSR_EFER.LMA changes
8038f92df3eb netfilter: nf_conncount: remove wrong condition check routine
5517d4c6dcbb netfilter: nat: fix double register in masquerade modules
18218f827e3c netfilter: add missing error handling code for register functions
4f03e063a554 IB/mlx5: Fix page fault handling for MW
9838090d9859 netfilter: ipv6: Preserve link scope traffic original oif
bf6f1276768f drm/meson: add support for 1080p25 mode
5dda1e7d7ce4 thunderbolt: Prevent root port runtime suspend during NVM upgrade
9ca88f3c4cb5 USB: omap_udc: fix rejection of out transfers when DMA is used
b58128138f06 USB: omap_udc: fix USB gadget functionality on Palm Tungsten E
634395d20d7d USB: omap_udc: fix omap_udc_start() on 15xx machines
27b61cbaa809 USB: omap_udc: fix crashes on probe error and module removal
66d73a4ef37e USB: omap_udc: use devm_request_irq()
28ad9091e186 ipvs: call ip_vs_dst_notifier earlier than ipv6_dev_notf
2aad202fcd4c fsi: master-ast-cf: select GENERIC_ALLOCATOR
6bfebedaa810 bpf: fix check of allowed specifiers in bpf_trace_printk
4c7d50c23a88 RDMA/hns: Bugfix pbl configuration for rereg mr
ad374d10b78e exportfs: do not read dentry after free
0aeda30045b6 ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE
38f3a0f01052 ASoC: omap-mcpdm: Add pm_qos handling to avoid under/overruns with CPU_IDLE
abf7201316a3 ASoC: omap-mcbsp: Fix latency value calculation for pm_qos
1f1aedd6b19a tools: bpftool: fix potential NULL pointer dereference in do_load
8653ffc34cee RDMA/rdmavt: Fix rvt_create_ah function signature
59315d0ca4fa RDMA/bnxt_re: Avoid accessing the device structure after it is freed
f4515855b7a1 RDMA/bnxt_re: Fix system hang when registration with L2 driver fails
5a49ef9832e5 RDMA/core: Add GIDs while changing MAC addr only for registered ndev
7c736fee5a5d RDMA/mlx5: Fix fence type for IB_WR_LOCAL_INV WR
91f6a9aa7952 Btrfs: send, fix infinite loop due to directory rename dependencies
b3159470aa8f ARM: dts: at91: sama5d2: use the divided clock for SMC
4724b50f9e09 phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845
d801a3eff554 phy: qcom-qusb2: Use HSTX_TRIM fused value as is
3d2d2ba0c296 objtool: Fix segfault in .cold detection with -ffunction-sections
79cd7b0e114d objtool: Fix double-free in .cold detection error path
a8657e682427 ASoC: acpi: fix: continue searching when machine is ignored
2a031cab71cd PCI: imx6: Fix link training status detection in link up check
67707627c2f2 perf tools: Restore proper cwd on return from mnt namespace
f3ff2ac4169e hwmon: (w83795) temp4_type has writable permission
fb0fc90cc20f netfilter: xt_hashlimit: fix a possible memory leak in htable_create()
df66ef67c334 aio: fix failure to put the file pointer
5689666aa134 bpf: allocate local storage buffers using GFP_ATOMIC
0d4ff09997f3 hwmon: (mlxreg-fan) Fix macros for tacho fault reading
842aeeac335e spi: omap2-mcspi: Add missing suspend and resume calls
fa3ceb3b59e5 ASoC: dapm: Recalculate audio map forcely when card instantiated
abbd01b77987 ASoC: omap-abe-twl6040: Fix missing audio card caused by deferred probing
3ef0d19cd815 hwmon: (ina2xx) Fix current value calculation
d70a6605fe94 s390/cpum_cf: Reject request for sampling in event initialization
2309636dc474 ASoC: qcom: Set dai_link id to each dai_link
88e8e3c710b1 ASoC: Intel: Power down links before turning off display audio power
737f3bb3e4be ASoC: wm_adsp: Fix dma-unsafe read of scratch registers
e4777c2e40f0 ASoC: rockchip: add missing slave_config setting for I2S
dbc62bd3b05b hwmon: (raspberrypi) Fix initial notify
08cff35113e5 hwmon (ina2xx) Fix NULL id pointer in probe()
61170596e1c0 s390/cio: Fix cleanup when unsupported IDA format is used
a4f21114d83e s390/cio: Fix cleanup of pfn_array alloc failure
00bac44c9991 netfilter: nf_tables: fix use-after-free when deleting compat expressions
e947f9aa9a61 netfilter: xt_RATEEST: remove netns exit routine
f8328abb8782 perf tools: Fix crash on synthesizing the unit
d15443a19d41 selftests: add script to stress-test nft packet path vs. control plane
8fe8940ffcf6 netfilter: nf_tables: don't skip inactive chains during update
4a3b49f0ced5 netfilter: nf_conncount: fix unexpected permanent node of list.
ae60f4705f95 netfilter: nf_conncount: fix list_del corruption in conn_free
08c7e68ab261 netfilter: nf_conncount: use spin_lock_bh instead of spin_lock
f6168a800b6b sysv: return 'err' instead of 0 in __sysv_write_inode
1eb8dd51887b arm64: dts: sdm845-mtp: Reserve reserved gpios
411b321f0ff5 ASoC: sun8i-codec: fix crash on module removal
b42ab5284412 tools: bpftool: prevent infinite loop in get_fdinfo()
136c52373429 ARM: OMAP1: ams-delta: Fix possible use of uninitialized field
28f3050b13ab ARM: dts: am3517-som: Fix WL127x Wifi interrupt
9f7df2a39ab8 ARM: dts: logicpd-somlv: Fix interrupt on mmc3_dat1
09372f3cbeed ARM: dts: LogicPD Torpedo: Fix mmc3_dat1 interrupt
886e00c5fe3d ARM: dts: am3517: Fix pinmuxing for CD on MMC1
de7e3f88dd5c staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()'
748b7861bce5 ASoC: qdsp6: q6afe-dai: Fix the dai widgets
32d28e247da7 ASoC: qdsp6: q6afe: Fix wrong MI2S SD line mask
8ec3e5552e4e ASoC: rsnd: fixup clock start checker
5a8fbba77bf8 ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup
9ac607494a5d net: fix XPS static_key accounting
b4b8a71c72ba net: restore call to netdev_queue_numa_node_write when resetting XPS
a275c66b4d81 sctp: update frag_point when stream_interleave is set
4aa6d46d1711 net: phy: sfp: correct store of detected link modes
a7dba859ca58 virtio-net: keep vnet header zeroed after processing XDP
36206419989d tun: forbid iface creation with rtnl ops
bbc83e8d08cb tcp: fix NULL ref in tail loss probe
03b271cb9175 tcp: Do not underestimate rwnd_limited
5148726f2c27 sctp: kfree_rcu asoc
a482f800169c rtnetlink: ndo_dflt_fdb_dump() only work for ARPHRD_ETHER devices
f5c9c30da730 Revert "net/ibm/emac: wrong bit is used for STA control"
7fafda16bb64 net: use skb_list_del_init() to remove from RX sublists
16218638a239 net: Prevent invalid access to skb->prev in __qdisc_drop_all
ac1fb97e9136 net: phy: don't allow __set_phy_supported to add unsupported modes
70727c00cbb7 net/mlx4_en: Change min MTU size to ETH_MIN_MTU
1fa276e92009 net/mlx4_core: Correctly set PFC param if global pause is turned off.
ec5d7ceda60a net: 8139cp: fix a BUG triggered by changing mtu with network traffic
c4ec6a9a788a ipv6: sr: properly initialize flowi6 prior passing to ip6_route_output
0e96b90351f4 neighbour: Avoid writing before skb->head in neigh_hh_output()
fd018cb37ea0 ipv6: Check available headroom in ip6_xmit() even without options
ffe5754d2823 ipv4: ipv6: netfilter: Adjust the frag mem limit when truesize changes
be53d23e68c2 Linux 4.19.9
0fc19a8881e6 HID: quirks: fix RetroUSB.com devices
b74a078e48a9 mac80211: ignore NullFunc frames in the duplicate detection
e9f8baa38c2a mac80211: fix reordering of buffered broadcast packets
50749911b1cc mac80211: ignore tx status for PS stations in ieee80211_tx_status_ext
a75ac4e15e9c mac80211: Clear beacon_int in ieee80211_do_stop
e08ab93325bb mac80211: fix GFP_KERNEL under tasklet context
daac338a9e7b mac80211_hwsim: Timer should be initialized before device registered
d66c1b9280d1 cfg80211: Fix busy loop regression in ieee80211_ie_split_ric()
98206f340033 libnvdimm, pfn: Pad pfn namespaces relative to other regions
beb68a727fb9 kgdboc: fix KASAN global-out-of-bounds bug in param_set_kgdboc_var()
3c1773b0275e gnss: sirf: fix activation retry handling
41867ab9b0d3 tty: do not set TTY_IO_ERROR flag if console port
ecbfb178c75c tty: serial: 8250_mtk: always resume the device in probe.
b02b86bc74c3 Drivers: hv: vmbus: Offload the handling of channels to two workqueues
e88ebc06bd53 x86/efi: Allocate e820 buffer before calling efi_exit_boot_service
ce74d11a3794 kprobes/x86: Fix instruction patching corruption when copying more than one RIP-relative instruction
1a9056407808 drm/i915: Downgrade Gen9 Plane WM latency error
e8a7f59e3643 drm/amdgpu/gmc8: always load MC firmware in the driver
39bdb32876df drm/amdgpu/gmc8: update MC firmware for polaris
2abdfe248369 drm/msm: Move fence put to where failure occurs
318f6e599dcd drm/lease: Send a distinct uevent
fcf5d0dbfb7f drm/amdgpu: update mc firmware image for polaris12 variants
2f94605195ab crypto: do not free algorithm before using
35929281460b Revert commit ef9209b642f "staging: rtl8723bs: Fix indenting errors and an off-by-one mistake in core/rtw_mlme_ext.c"
9138ce0a8011 staging: rtl8712: Fix possible buffer overrun
99c694081ba2 cifs: Fix separator when building path from dentry
bd5d1c273cce Revert "x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"
e92cc52ee5e7 arm64: dts: rockchip: remove vdd_log from rock960 to fix a stability issues
33f310e09388 xhci: Prevent U1/U2 link pm states if exit latency is too long
5d3b10677bf8 xhci: workaround CSS timeout on AMD SNPS 3.0 xHC
3fe0c68aea21 ARM: 8806/1: kprobes: Fix false positive with FORTIFY_SOURCE
37e74076f3cb dmaengine: cppi41: delete channel from pending list when stop channel
374f384bc66f dmaengine: imx-sdma: use GFP_NOWAIT for dma descriptor allocations
9063f5a99ea7 dmaengine: imx-sdma: implement channel termination via worker
228bee887467 Revert "dmaengine: imx-sdma: alloclate bd memory from dma pool"
2f79476548d8 Revert "dmaengine: imx-sdma: Use GFP_NOWAIT for dma allocations"
37aefa023734 dmaengine: dw: Fix FIFO size for Intel Merrifield
33154a299890 SUNRPC: Fix leak of krb5p encode pages
1d9ca56698ad arm64: hibernate: Avoid sending cross-calling with interrupts disabled
f9cd25b1e5e5 vhost/vsock: fix use-after-free in network stack callers
2a622040a8bc virtio/s390: fix race in ccw_io_helper()
79f6e9facb8b virtio/s390: avoid race on vcdev->config
6c9ac388c6c8 parisc: Enable -ffunction-sections for modules on 32-bit kernel
c91ec2c4eb65 Revert "mfd: cros_ec: Use devm_kzalloc for private data"
24a776e398e9 media: dvb-pll: don't re-validate tuner frequencies
d7db76065041 media: dvb-pll: fix tuner frequency ranges
663bfc44d1a0 media: vicodec: fix memchr() kernel oops
c4dabf370838 media: gspca: fix frame overflow error
fbb982c6ad97 ALSA: hda/realtek: Fix mic issue on Acer AIO Veriton Z4860G/Z6860G
ba3ce1bf275c ALSA: hda/realtek: Fix mic issue on Acer AIO Veriton Z4660G
bf03eb5e297f ALSA: hda/realtek - Add support for Acer Aspire C24-860 headset mic
642314e11ade ALSA: hda/realtek: ALC286 mic and headset-mode fixups for Acer Aspire U27-880
071b34a1a5ed ALSA: hda/realtek - Fix speaker output regression on Thinkpad T570
a2928e749812 ALSA: pcm: Fix interval evaluation with openmin/max
19054c18846e ALSA: pcm: Call snd_pcm_unlink() conditionally at closing
026fdecbc3d7 ALSA: pcm: Fix starvation on down_write_nonblock()
2ea30d9d5fa1 ALSA: hda: Add support for AMD Stoney Ridge
a7e719ace75e ALSA: usb-audio: Fix UAF decrement if card has no live interfaces in card.c
86c257e05223 ALSA: usb-audio: Add SMSL D1 to quirks for native DSD support
9d9026afc36b USB: serial: console: fix reported terminal settings
1b2e742bf723 USB: check usb_get_extra_descriptor for proper size
24e09d7a52ae usb: appledisplay: Add 27" Apple Cinema Display
f025aa79bda0 usb: quirk: add no-LPM quirk on SanDisk Ultra Flair device
c34678d4c155 net: amd: add missing of_node_put()
ebc4b790103d team: no need to do team_notify_peers or team_mcast_rejoin when disabling port
f1c4022ab268 ibmvnic: Update driver queues after change in ring size support
a13220e6817c ibmvnic: Fix RX queue buffer cleanup
0a98c7c5dc62 flexfiles: use per-mirror specified stateid for IO
07b92c224d5c NFSv4.2 copy do not allocate memory under the lock
d1862827f41a iommu/vt-d: Use memunmap to free memremap
549e3c24ac34 net: faraday: ftmac100: remove netif_running(netdev) check before disabling interrupts
d69eb98a86c0 riscv: fix warning in arch/riscv/include/asm/module.h
bfa634ba505a net/ibmnvic: Fix deadlock problem in reset
07f745f9a6d6 qed: Fix QM getters to always return a valid pq
b63de4413656 qed: Fix bitmap_weight() check
e359a17143ef NFSv4: Fix a NFSv4 state manager deadlock
4a9ad460a07b net: ena: fix crash during failed resume from hibernation
d7dace92d040 mtd: spi-nor: Fix Cadence QSPI page fault kernel panic
d861fe2fd5b1 HID: multitouch: Add pointstick support for Cirque Touchpad
699faa9cf00c Revert "HID: uhid: use strlcpy() instead of strncpy()"
0799feafeb1b cpufreq: ti-cpufreq: Only register platform_device when supported
1a488242d942 mtd: rawnand: qcom: Namespace prefix some commands
4ef9e48c9c8f tc-testing: tdc.py: Guard against lack of returncode in executed command
9806e7473d10 tc-testing: tdc.py: ignore errors when decoding stdout/stderr
b8c51924b4e1 gpio: mockup: fix indicated direction
b9284d6c30cb gpio: pxa: fix legacy non pinctrl aware builds again
9ebacc1a8754 drivers/net/ethernet/qlogic/qed/qed_rdma.h: fix typo
b53fa368dd8e net/mlx4: Fix UBSAN warning of signed integer overflow
034f7ad3f706 net/mlx4_core: Fix uninitialized variable compilation warning
5110c0406c8c net/mlx4_core: Zero out lkey field in SW2HW_MPT fw command
3374518d4d1a drm/amd/display: Support amdgpu "max bpc" connector property (v2)
a0c25b4098b8 drm/amdgpu: Add amdgpu "max bpc" connector property (v2)
12163e3e6902 bnxt_en: Fix filling time in bnxt_fill_coredump_record()
0e79e30e6121 nvme-fc: resolve io failures during connect
b65fa443e56e s390/ism: clear dmbe_mask bit before SMC IRQ handling
8b87305f816c Revert "usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers"
3355199746b8 usb: dwc2: pci: Fix an error code in probe
4f22a32f555d qed: Fix reading wrong value in loop condition
d4105c836c13 qed: Fix rdma_info structure allocation
52da24907e6e qed: Fix overriding offload_tc by protocols without APP TLV
631ebe93bdcb qed: Fix PTT leak in qed_drain()
147bcca117b8 bnx2x: Assign unique DMAE channel number for FW DMAE transactions.
821d0b9afa8d amd/iommu: Fix Guest Virtual APIC Log Tail Address Register
2e959f250949 batman-adv: Expand merged fragment buffer for full packet
25683accf7c7 batman-adv: Use explicit tvlv padding for ELP packets
92724c1deaf9 HID: input: Ignore battery reported by Symbol DS4308
27b504af882b test_firmware: fix error return getting clobbered
0e3e8e31877a can: rcar_can: Fix erroneous registration
1f329e64e1f1 can: ucan: remove set but not used variable 'udev'
f2e78c08e844 scsi: ufs: Fix hynix ufs bug with quirk on hi36xx SoC
c97a2a726cef iommu/ipmmu-vmsa: Fix crash on early domain free
e2807327b562 mt76: fix building without CONFIG_LEDS_CLASS
4a4c9b29a0c1 brcmutil: really fix decoding channel info for 160 MHz bandwidth
093255da5688 iommu/vt-d: Fix NULL pointer dereference in prq_event_thread()
f84263bfd801 media: ipu3-cio2: Unregister device nodes first, then release resources
61880fb56851 media: omap3isp: Unregister media device as first
cd7b7f509cd0 media: cec: check for non-OK/NACK conditions while claiming a LA
35eaa0ee4e69 media: vicodec: lower minimum height to 360
(From OE-Core rev: 969049ede5353c1a5a808b284e5bba81ccb47df6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the code to match the recent switch to sha256 hashes
(From OE-Core rev: 910a8f3e8e350ff5d316faf5e07fb40c6c51f45e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh patches using devtool.
Update license since the main code is now covered by
LGPL-2.1+ and the tests under GPL-2.
Fix a MIPS build error with an upstream patch.
(From OE-Core rev: 874c5d4cd4902545b0fb924d0313488521fb91e2)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For that we need 2 things:
1. Disable JIT in JS as it's not supported for ARC.
2. Compile with "-mlong-calls" so relocations with
offsets larger than 25 bits are used, otherwise
linker fails to link final binaries.
(From OE-Core rev: 463f10fde9f72d26e89db324ca675bfe597fcc5e)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
image_types_wic.bbclass has a mechanism for doing variable substitution
on .wks files by simply letting the input file be called
.wks.in. However, that doesn't allow using variables in files included
via the include directive. This is unfortunate, because lacking either
the ability to include other files or variable substitution leads to
fragile and error-prone duplication between kickstarter files and
recipes/configuration files used for various boards.
This adds (somewhat naive) support for variable substitution in all
files parsed by wic. The user should add all required variables to
WICVARS to get them exported appropriately.
(From OE-Core rev: 8a75d614a8a1ff72c4af448ac3e1292d0e1d1a79)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When 'adduser' package, which is from meta-perl layer, is added to rootfs,
we will get do_populate_sdk failure like below.
Error:
Problem: package perl-module-cwd-5.24.4-r0.core2_64 requires perl-module-dynaloader, but none of the providers can be installed
- package perl-module-file-temp-5.24.4-r0.core2_64 requires perl-module-cwd, but none of the providers can be installed
- package perl-module-dynaloader-5.24.4-r0.core2_64 requires perl-module-config, but none of the providers can be installed
- package adduser-3.118-r0.core2_64 requires perl-module-file-temp, but none of the providers can be installed
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl provided by perl-5.24.4-r0.core2_64
This is because adduser depends on some perl modules which are not
listed in target-sdk-provides-dummy.
So add these perl modules to avoid such failure.
(From OE-Core rev: 1b12c176827c2d0cbb7867da73efac56826036ed)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the bluez5 init script to resolve an issue where the status
subcommand would exit without printing any message if bluez was not
running. The early exit was caused by the fact that the init script has
"set -e". When "pidof ${DAEMON} >/dev/null" is executed, the script
terminates immediately if bluez isn't running because pidof returns a
non-zero result. The fixed version does not suffer from this issue and
makes use of the "status" function from the functions library.
(From OE-Core rev: f6e03a43ee71c406fa8e68309624efd5384f437a)
Signed-off-by: David Frey <dpfrey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Observing depsig.do_package for packages inbetween rebuilds indicated
that the following variables/files content was changing order randomly.
Make them deterministic by sorting the output:
RDEPENDS_<pkg>
RRECOMMENDS_<pkg>
FILERDEPENDSFLIST_<pkg>
packages-split/<pkg>.shlibdeps
The following variable was not observed to change, but it is
assumed that the same situation can occur, so do the same
sorting for consistency:
FILERPROVIDESFLIST_<pkg>
(From OE-Core rev: c99cb0bbb78089d1d15c4c8563a71db0df1cb0da)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The maintainer lost access to the smmap PyPi account so as with gitdb, set the
PyPi name to smmap2.
(From OE-Core rev: c526576a319307388b31521ff560f1a93066188c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously there was lots of irrelevant noise in the logs,
because we also wanted to be able to debug postinst issues
easily. I have adjusted the logging levels so that
postinst info is still written to the logs, but other
things are not.
[YOCTO #13119]
(From OE-Core rev: ffb7b8f70937a7d95814c1a99527d5ea7cbf7cee)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now we can compile m4-native rather than target m4, this can save a lot of
build time.
(From OE-Core rev: 8e33cef647f4e8a104da61aecab4ac6c6b9bfd3b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can make the following recipes work with cmake:
cmake libdnf libcomps librepo createrepo-c llvm dnf libsolv assimp waffle
libjpeg-turbo taglib libproxy libical
And the following 3 recipes don't:
webkitgtk vulkan piglit
Now cmake.bbclass doesn't disble ccache any more, disable it in the recipes if
needed.
(From OE-Core rev: d014c8c11fb663f131d3a860ddeda17d604b2dd3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Files like lib/.debug/libgcc_s.so.1 from nativesdk-libgcc-dbg contains
buildpath without -fdebug-prefix-map, the root cause is object files (.o)
contain buildpath, and then ccache can't use them correctly.
(From OE-Core rev: b0b4d1b32203bb74fc3aec9b9a0d14bf7a52a0af)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed race issues when parallel build:
ccache: error: /path/to/ccache/i586-poky-linux/mmc-utils/ccache.conf: No such file or directory
ccache: error: /path/to/ccache/i586-poky-linux/mmc-utils/ccache.conf: No such file or directory
This is because we set CCACHE_DIR for earch recipe, and ccache will create a
ccache.conf for each CCACHE_DIR when CCACHE_CONFIGPATH is not set, but there
might be a race issue in parallel build:
ccache gcc file1.c
ccache gcc file2.c
If the two ccache processes use fopen(path, "w") to create ccache.conf at the
same time, the error would happen. Set CCACHE_CONFIGPATH to
meta/conf/ccache.conf can fix the problem, and we can add other configs to the
file when needed.
And also set cache_dir_levels to 1 (default is 2) since each recipe has a cache
dir, thus we don't have too many files in one dir.
(From OE-Core rev: 2abbc4d0cd571e82ed6188d3b2d84b4cd6be25e8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CCACHE_BASEDIR: ccache removes this from file path, so that hashes will be
the same in different build dirs.
CCACHE_TOP_DIR: Set it to a shared location for different builds.
(From OE-Core rev: 35d7fe73bba15de16d2eb0a4b12ef03b57b23306)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous ccache.bbclass has the following problems:
- It uses host's ccache for native recipes, but this may not work on some
hosts, for example, it nerver works on my Ubuntu 14.04.4, there are always
build failures (m4-native failed at do_configure, and others will also be
failed if I disable CCACHE for m4-native)
- native/nativesdk/cross/crosssdk recipes use host's ccache, but target uses
ccache-native, this may confuse user.
- The target recipes may use both host's ccache and ccache-native, this may
cause unexpected problems and be hard to debug. This is because ccache-native is
in SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS, so ccache-native may not be present when
rebuild target recipes, and then it would use hosttools/ccache, but the
previous ccache files were generated by ccache-native.
- Target recipes can't use ccache when no ccache is installed on the host:
CCACHE = "${@bb.utils.which(d.getVar('PATH'), 'ccache') and 'ccache '}"
After refactored:
All types recipes (native, target and others) will use ccache-native except
ccache-native itself, host's cache won't be used any more. It is more
reliable now, which will work everywhere when ccache-native can be built.
And now we need use "CCACHE_DISABLE = '1'" to disable ccache for the recipe
rather than "CCACHE = ''" since we set CCACHE in anonymous function, and
d.getVar('CCACHE') works after "CCACHE ??=" which is set in bitbake.conf, so we
can't check whether CCACHE is set or not in anonymous function since it is
always set. Use CCACHE_DISABLE to disable it would be more clear.
(From OE-Core rev: b25271b65262f70d849a4861da216c9be6c54d53)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Copyright year and zlib version are changed, others are the
same.
This version supports CCACHE_DEBUG which will make the debug easier.
(From OE-Core rev: ae600d77a33e15737672120c2c1fe1074940f1fb)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove ccache-native's dependencies so that all native recipes can depend on
ccache-native and use it except ccache-native itself.
It has the following 4 dependencies:
- xz-native: It is intruduced by ccache-3.4.2.tar.xz, use ccache-3.4.2.tar.gz
to replace of it can fix the problem.
- zlib-native: Use --with-bundled-zlib to fix it.
- autotools-native: Set INHIBIT_AUTOTOOLS_DEPS and add a do_configure() to fix
the problem.
- quilt-native: Set PATCHTOOL = "patch" to fix it.
(From OE-Core rev: f3d8bda91ee186dae8847d6438c1dfd6f6d8ee4f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Redefine the reference path of libnfs.a to
../support/nfs/.libs/libnfs.a to fix below
error when run "make -C tests statdb_dump".
| make: *** No rule to make target '../support/nfs/libnfs.a', needed by 'statdb_dump'. Stop.
| make: *** No rule to make target '../../support/nfs/libnfs.a', needed by 'nsm_client'. Stop.
* The function generic_make_pathname is introduced in
nfs-utils 2.3.1.
Add the source file which defines function generic_make_pathname to
libnsm_a_SOURCES of libnsm.a to fix the undefined reference
when run "make -C tests statdb_dump"
| ../support/nsm/libnsm.a(file.o): In function `nsm_make_pathname':
| /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:175: undefined reference to `generic_make_pathname'
| /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:175: undefined reference to `generic_make_pathname'
| /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:175: undefined reference to `generic_make_pathname'
| ../support/nsm/libnsm.a(file.o): In function `nsm_setup_pathnames':
| /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:280: undefined reference to `generic_setup_basedir'
| collect2: error: ld returned 1 exit status
* After the logic of commit[dbb643e Removed missing-prototypes warnings.]
introduced, there comes below error when run
"make -C tests/nsm_client nsm_client"
| nlm_sm_inter_svc.c:20:1: error: no previous prototype for 'nlm_sm_prog_3' [-Werror=missing-prototypes]
It is because rpcgen doesn't generate -Wmissing-prototypes
free code for nlm_sm_inter_svc.c with below logic
in tests/nsm_client/Makefile.am
[snip]
GENFILES_SVC = nlm_sm_inter_svc.c
[snip]
$(GENFILES_SVC): %_svc.c: %.x $(RPCGEN)
test -f $@ && rm -rf $@ || true
$(RPCGEN) -m -o $@ $<
So add the patch to not fatalize -Wmissing-prototypes.
(From OE-Core rev: 18947cd4782934e9bc3ec5507db8db51258d9b2c)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The unihash should be fetched using the task filename that includes the
multiconfig prefixes.
[YOCTO #13124]
(Bitbake rev: 5e7f4e77e27bceaf6c68137cacb4f8d7d7de49dd)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The only user of the configuration module is paprefs, which as of 1.0 uses GSettings not GConf.
Also GConf is unmaintained, so one less recipe using it is good.
(From OE-Core rev: 463e064a4f4a664ae1b871b98f26b561d1cbe98b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of assuming that the schemas are located in ${PN}, add a
GSETTINGS_PACKAGE variable for the package name and default it to ${PN}.
For recipe that can conditionally ship schemas, support GSETTINGS_PACKAGE being
empty gracefully by doing nothing.
(From OE-Core rev: c2b9c34ce4af151cc0422e14af775c6c962de051)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The magic multilibisation doesn't quite catch every instance, so replace
'pulseaudio' with ${PN} where needed to ensure the packaging is as intended.
(From OE-Core rev: 65de45912facaede0c40a3b881f4e095590ca205)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intention is that PN is empty, enforce that so new files don't end up in PN
silently.
(From OE-Core rev: b302e1556535601dbb5a18d02e6988a17fda5fbc)
Signed-off-by: Ross Burton <ross.burton@intel.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)
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>
Currently SDKIMAGE_LINGUAS is broken for any inputs except "all".
In the non-"all" case, each enabled language package is installed via
pm.install("nativesdk-glibc-binary-localedata-%s.utf-8" % lang)
This will throw a python exception since pm.install() expects a list of
strings and not a string.
Fix the problem by constructing a list.
That way it is now also possible to call the package installer just
once.
Cc: "Burton, Ross" <ross.burton@intel.com>
Fixes: 67615e0175 ("rootfs_rpm.bbclass: migrate image creation to dnf")
(From OE-Core rev: 475a5d9ec21a329be973691734f9e8bcb332338c)
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The icecc setup for the SDK was broken in multilib configurations now
that each multilib environment runs the post-relocate scripts
separately. Including $TARGET_PREFIX in the icecc shim path and in the
toolchain environment name prevents the various multilib setups from
conflicting.
[YOCTO #13128]
(From OE-Core rev: 13704d7a9d147382169d0c4bd77cb4f5577c65b1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a given PN is listed in the icecream blacklist, there is a very good
chance that the native, nativesdk, and multilib variants should also be
skipped. Check the blacklist entries against BPN to cover them.
[YOCTO #13128]
(From OE-Core rev: 1863f695a1411e95e7e547a3eb3e7ef6604a93bf)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed by some init system services and if
init system is not sysvinit then we dont have it, therefore
its useful to have it provided via busybox as a backup
Enable CONFIG_SETSID to get setsid, needed by runit
(From OE-Core rev: 456010a042e17d2f5f1314248e2b9f1a3a1a8d93)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Yocto kernel expects a proper /dev/console to exist before running init,
otherwise booting will fail with the message:
Kernel panic - not syncing: /dev/console is missing or not a character device!
Please ensure your rootfs is properly configured
Add similar fix as was done for initramfs-framework and initramfs-live-boot
in commits
0352841cd92f6316bcac092e2fff9d28c352b36b
1b64664f0c388f41084f5db6e46e3e68c53fb6d9
(From OE-Core rev: 490d6fbd14805b6c72b525fbe8c9c6e08d796597)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We use subprocess.check_output() to run the command, which means that we need care
about the error, so the 2>/dev/null should not be used, otherwise it is hard to
debug when the error happens.
I guess it was copied from previous lines, but that command's error can be
ignored (excpet: pass):
try:
subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
except subprocess.CalledProcessError:
# Can "fail" if internal headers/transient sources are attempted
pass
But we don't do this in the current location, so remove "2>/dev/null"
(From OE-Core rev: 017a53d2743be2b5d4965a39b4e126fb74f700ad)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"dbus_daemon" is supposed to be set to the full dbus-daemon file
path, not just its directory.
(From OE-Core rev: fa95b51b4c867fdb8011881097a0160d7d3e4e71)
Signed-off-by: Jed <jed.openxt@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While compiling with `-Werror=format-truncation=', it failed
[snip]
|super0.c:236:32: error: 'snprintf' output may be truncated
before the last format character [-Werror=format-truncation=]
| snprintf(nb, sizeof(nb), "%4d", d);
| ^
|super0.c:236:3: note: 'snprintf' output between 5 and 12 bytes
into a destination of size 11
| snprintf(nb, sizeof(nb), "%4d", d);
[snip]
(From OE-Core rev: cd5013a94609ef2f3e0d621339e22e4137d649d3)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When UBOOT_DTB_BINARY is set to "", the keys for signed booting are
expected to be already present in U-Boot's DTB, so don't issue warnings
for this.
(From OE-Core rev: 04656f5df326a72747fc5878ce201b636a2a419c)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In distro_features_check.bbclass it checks whether items in
REQUIRED_DISTRO_FEATURES and CONFLICT_DISTRO_FEATURES exist in
DISTRO_FEATURES. But it only shows one required or conflict distro
feature when error occurs. Update to show them all at one time.
(From OE-Core rev: d0441c40afdba119a65189d6a5aca5c533f68279)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG[manpages] for generating man pages.
(From OE-Core rev: 078b2389a76ca3eba2307c7aa20be095cf96e060)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Unset-need_charset_alias-when-building-for-musl.patch as it
had been fixed upstream.
(From OE-Core rev: 491c0ee55e7c6aa71ef5590cc38f866d9098bfe0)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-GLES2-Get-sin-cos-out-of-vertex-shader.patch as it had been
merged upstream.
(From OE-Core rev: b46dbcad31c990b5556d61357e0a976948a5dede)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Fix-build-with-gperf-3.1.patch as it had been fixed upstream.
(From OE-Core rev: 0baf6799ae40461fbf3f18e098a3db448fec037b)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The project pages and wiki has been moved to GitHub.
(From OE-Core rev: 45a5129663bd6f9e94fd5c674d8ce1dcc99195e0)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Observing depsig.do_package for a package inbetween rebuilds indicated
that FILES_INFO was changing content order randomly. Force it to be
deterministic by sorting with respect to the keys when serializing.
Suggested-by: Joshua Watt <jpewhacker@gmail.com>
(From OE-Core rev: b0364be65bf0b3dee44f81379f4062e9f707c128)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perl-cross is a build system overlay from buildroot project that aims to bring
a bit of sanity to cross-building perl. The advantage of using that is that we
can drop a lot of custom patches (that no one really understands), and simplify
the perl recipe as well. Also the build time goes down from several minutes to
about 30 seconds. The whole thing becomes maintainable again, in my opinion.
When rewriting the recipe I had two goals in mind:
1. Stay with upstream defaults as much as possible
2. Add custom patches only when their necessity was proven through testing.
http://arsv.github.io/perl-cross/
(From OE-Core rev: 52f2828314f851263ca3a6beb41ec936fab4d3ab)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was change to git recently to obtain openssl 1.1 compatible pre-release code
(before 7.9 was out), however tarballs are preferred, and with them upstream version
checks work (openssh uses a weird git tag scheme).
(From OE-Core rev: a921a96e84f4d0b3f3d29a571981de08eb148e15)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
And fix the reported upstream check failures.
(From OE-Core rev: 63af0edcd954fac530ba17b04e5df5837cddc0a4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various versions of ld have different defaults for this
(even between e.g. Ubuntu 16.04 and 18.04). This has the
consequence of putting either RPATH or RUNPATH into the binary,
depending on the linker, which have different priorities
vs LD_LIBRARY_PATH env var. Also, I think, the original
executable binary is looked up for the tags when resolving
a dependency of a shared library when using RPATH, but not
RUNPATH.
Let's make this deterministic.
(From OE-Core rev: 661d700ab7428b0ad982bfd2714cca134bad85a2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.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)
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>
* For changes, see:
https://www.tcpdump.org/libpcap-changes.txt
* Merge inc and bb and remove unnecessary flags.
* Remove all patches, they have either been upstreamed or fixed
differently.
* Compilation with bluez5 works just fine, enable it and remove bluez4
config.
* Backport a commit to fix musl builds.
(From OE-Core rev: 23fa5d49667c16f6b2763f4da4de63afa632e83d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From NEWS:
- bug fixes:
* do not autouninstall packages because of forcebest updates
- new features:
* support rpm's new '^' version separator
* support set/get_considered_list in bindings
* new experimental SOLVER_FLAG_ONLY_NAMESPACE_RECOMMENDED flag
(From OE-Core rev: 5b0d21e4b369821235d5b1d00a578b2dca5c5d09)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move /etc/hosts to base-files, and also add entry to it according
to hostname setting. This fixes the problem of commands like
`hostname -f' failing due to lack of such entry.
(From OE-Core rev: 31e6d08f20a804fccb958e19045d8f9e9806071a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson doesn't ignore this but will emit a warning, so write the correct value.
(From OE-Core rev: 1239157805a4c363da853de6db05c53083b01189)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multilib SDKs differ only in the environment variables set, so nativesdk-meson's
setup script needs to write a cross file for each environment.
Rename the shipped meson.cross to meson.cross.template, as it cannot be used
directly. Now that post-relocate scripts are called once for each environment,
the generated meson.cross can be prefixed with TARGET_PREFIX to ensure it is
unique.
Finally rewrite the setup script to use string.Template to perform the expansion
instead of hand-coding the logic.
(From OE-Core rev: 8596f871ef834a38e3375443f7eb08e43816347a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If --libdir isn't passed to Meson a default is used, but as this default value
changes depending on the host (whether it is Debian-like, or has /usr/lib64)
this isn't appropriate for cross builds.
(From OE-Core rev: fdb5a8b3d437537aee53380091dabe6258667a49)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SDKs for multilib configurations have multiple environment scripts, so
re-arrange the post-relocate hook invocation so that it runs the post-relocate
hooks after sourcing each environment script.
(From OE-Core rev: c4897001cb3eeda1f4f11197b28c09c950bdcf02)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the swig build failure by calling the default do_configure from autotools.
(From OE-Core rev: 95c78d2166d3f8f47146ad7542569b25794dab6b)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a different STAMPS_DIR and SSTATE_DIR in test_yocto_source_mirror.
Otherwise, when executing `oe-selftest -a', we will get a lot of failures
due to do_unpack failure.
(From OE-Core rev: f8502c68163ec288cf6fb6754829b455501b4a05)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now QEMU_USE_KVM can only be boolean, can not contain MACHINE any more.
(From OE-Core rev: 37e5035a2ba27595eeef22062580a5b04a73ba15)
Signed-off-by: Robert Yang <liezhi.yang@windriver.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)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fix only release
Include:
CVE-2018-16868 gnutls: Bleichenbacher-like side channel leakage in
PKCS#1 1.5 verification and padding oracle verification
CVE-2018-16869 nettle: Leaky data conversion exposing a manager oracle
For full details see:
http://lists.lysator.liu.se/pipermail/nettle-bugs/2018/007369.html
[V2]
Add -std=c99 to cflags
(From OE-Core rev: 8ac8fa8ee10c59a081d368a5429e0eced8dd5d3c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable commits from Paul Gortmaker:
24ed0744622e Linux 4.18.22
8266951957ab tipc: use destination length for copy string
2f2b82e7b4f8 arc: [devboards] Add support of NFSv3 ACL
047e43ba5173 ARC: change defconfig defaults to ARCv2
f8d102775911 Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15ARR
91dfecd75ee7 Input: elan_i2c - add support for ELAN0621 touchpad
7c63af1039aa Input: elan_i2c - add ELAN0620 to the ACPI table
673d11935f70 Input: cros_ec_keyb - fix button/switch capability reports
39f1f992639d Input: matrix_keypad - check for errors from of_get_named_gpio()
b3cda161024f Input: synaptics - add PNP ID for ThinkPad P50 to SMBus
3e533ca9eb5d Input: xpad - quirk all PDP Xbox One gamepads
1c42a30f4824 i40e: Fix deletion of MAC filters
0f2cbfeff18f svm: Add mutex_lock to protect apic_access_page_done on AMD systems
af2cd1276d57 kgdboc: Fix warning with module build
c72ba0c17cce kgdboc: Fix restrict error
6571f7ba5f6a userfaultfd: shmem: UFFDIO_COPY: set the page dirty if VM_WRITE is not set
3876646cbe3a userfaultfd: shmem: add i_size checks
c8a600a72f36 userfaultfd: shmem: allocate anonymous memory for MAP_PRIVATE shmem
bc43472443ee userfaultfd: use ENOENT instead of EFAULT if the atomic copy user fails
34bfc624bb6b drm/meson: Fix OOB memory accesses in meson_viu_set_osd_lut()
a5fdd876d4f9 drm/meson: Enable fast_io in meson_dw_hdmi_regmap_config
c98737cc98c1 drm/meson: Fixes for drm_crtc_vblank_on/off support
b6ba7cf72463 drm: set is_master to 0 upon drm_new_set_master() failure
f5551d7db284 drm/ast: Fix incorrect free on ioregs
f43ce49c718d tracing/fgraph: Fix set_graph_function from showing interrupts
c31675335d18 IB/mlx5: Avoid load failure due to unknown link width
339fc991ac42 mips: fix mips_get_syscall_arg o32 check
ba720f00b540 MIPS: ralink: Fix mt7620 nd_sd pinmux
87b2d7eda8cc sched, trace: Fix prev_state output in sched_switch tracepoint
52338737ea2c mtd: nand: Fix memory allocation in nanddev_bbt_init()
fa8d131f585a uprobes: Fix handle_swbp() vs. unregister() + register() race once more
f895888ad58f iser: set sector for ambiguous mr status errors
62613ca14469 unifdef: use memcpy instead of strncpy
8a4fd8949897 test_hexdump: use memcpy instead of strncpy
f68e638adaa5 misc: mic/scif: fix copy-paste error in scif_create_remote_lookup
021b5e5a42e3 Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl()
f6167c3770f1 mm: use swp_offset as key in shmem_replace_page()
d7044875a946 mm: cleancache: fix corruption on missed inode invalidation
b14c4a131d36 lib/test_kmod.c: fix rmmod double free
1b42a6def46d iio:st_magn: Fix enable device after trigger
f6bd7b8e4dbc iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers
a7cf14d6bbf0 Revert "usb: dwc3: gadget: skip Set/Clear Halt when invalid"
b9be70d82cf4 usb: core: quirks: add RESET_RESUME quirk for Cherry G230 Stream series
c233ce9ca873 USB: usb-storage: Add new IDs to ums-realtek
726cd6bbfb4f staging: rtl8723bs: Add missing return for cfg80211_rtw_get_station
cc91a66f70cd staging: rtl8723bs: Fix incorrect sense of ether_addr_equal
a4827072018e staging: mt7621-dma: fix potentially dereferencing uninitialized 'tx_desc'
3278d1121784 staging: vchiq_arm: fix compat VCHIQ_IOC_AWAIT_COMPLETION
4871268b9733 staging: most: use format specifier "%s" in snprintf
f52619fef6f3 dmaengine: at_hdmac: fix module unloading
55a2c785818e dmaengine: at_hdmac: fix memory leak in at_dma_xlate()
7def2114f963 ARM: dts: rockchip: Remove @0 from the veyron memory node
d66e9553bb93 ASoC: pcm186x: Fix device reset-registers trigger value
f28e4296150d ext2: fix potential use after free
13cd83a3fdc6 ext2: initialize opts.s_mount_opt as zero before using it
715877236823 binder: fix race that allows malicious free of live buffer
4c80a994e1c3 function_graph: Reverse the order of pushing the ret_stack and the callback
401bacb8a999 function_graph: Move return callback before update of curr_ret_stack
5a45629359d8 function_graph: Have profiler use curr_ret_stack and not depth
cdf8638a4a78 function_graph: Use new curr_ret_depth to manage depth instead of curr_ret_stack
f54f3a8c164c function_graph: Make ftrace_push_return_trace() static
19ebfe10ab9d MIPS: function_graph: Simplify with function_graph_enter()
be7bcea6943b arm64: function_graph: Simplify with function_graph_enter()
25465f3e0f89 s390/function_graph: Simplify with function_graph_enter()
212fd6ab8b90 riscv/function_graph: Simplify with function_graph_enter()
7845921e7845 parisc: function_graph: Simplify with function_graph_enter()
02c3b2f09537 sparc/function_graph: Simplify with function_graph_enter()
fadb32957bd3 sh/function_graph: Simplify with function_graph_enter()
e8dab372f22f powerpc/function_graph: Simplify with function_graph_enter()
06e04113d8ee x86/function_graph: Simplify with function_graph_enter()
8974d9ddee8c microblaze: function_graph: Simplify with function_graph_enter()
2ed3d836c186 ARM: function_graph: Simplify with function_graph_enter()
a46f2a2ab8f7 function_graph: Create function_graph_enter() to consolidate architecture code
0c23df1fb2ee ALSA: hda/realtek - fix headset mic detection for MSI MS-B171
d33625c9ad99 ALSA: hda/realtek - Support ALC300
d3736fa6a629 ALSA: hda: Add ASRock N68C-S UCC the power_save blacklist
ac3d401ca588 ALSA: sparc: Fix invalid snd_free_pages() at error path
5f8920cbdf8b ALSA: control: Fix race between adding and removing a user element
68d40bdae9e1 ALSA: ac97: Fix incorrect bit shift at AC97-SPSA control write
8a066b939728 ALSA: wss: Fix invalid snd_free_pages() at error path
4e153baac165 fs: fix lost error code in dio_complete
b3a80504fc6b perf/x86/intel: Disallow precise_ip on BTS events
ef7ffa5edebb perf/x86/intel: Add generic branch tracing check to intel_pmu_has_bts()
f273d7b0f5ea perf/x86/intel: Move branch tracing setup to the Intel-specific source file
920db419fad5 x86/fpu: Disable bottom halves while loading FPU registers
01ae1b649cc4 x86/MCE/AMD: Fix the thresholding machinery initialization order
598ab7f4e75e arm64: dts: rockchip: Fix PCIe reset polarity for rk3399-puma-haikou.
39b75abd266e PCI: layerscape: Fix wrong invocation of outbound window disable accessor
aede037397ca btrfs: relocation: set trans to be NULL after ending transaction
2fa66c494021 Btrfs: fix race between enabling quotas and subvolume creation
050f755e1050 Btrfs: ensure path name is null terminated at btrfs_control_ioctl
8640e4eba7a1 btrfs: Always try all copies when reading extent buffers
d57b922c1fc6 udf: Allow mounting volumes with incorrect identification strings
633f035c73f8 xtensa: fix coprocessor part of ptrace_{get,set}xregs
e3b5970eae2a xtensa: fix coprocessor context offset definitions
7123932c3463 xtensa: enable coprocessors that are being flushed
4fea3a135968 KVM: VMX: re-add ple_gap module parameter
2eda497b4155 KVM: X86: Fix scan ioapic use-before-initialization
8c896ea1f95d KVM: x86: Fix kernel info-leak in KVM_HC_CLOCK_PAIRING hypercall
cee09b048c40 KVM: nVMX/nSVM: Fix bug which sets vcpu->arch.tsc_offset to L1 tsc_offset
60fa1976cc5a kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb
151d0990d8c6 kvm: mmu: Fix race in emulated page table writes
e7f4a4ecf899 userfaultfd: shmem/hugetlbfs: only allow to register VM_MAYWRITE vmas
d04ea8a3e52b x86/speculation: Provide IBPB always command line options
ba6fd92d9dde x86/speculation: Add seccomp Spectre v2 user space protection mode
e162e0cb9f48 x86/speculation: Enable prctl mode for spectre_v2_user
4fe877ade966 x86/speculation: Add prctl() control for indirect branch speculation
26a22284be5b x86/speculation: Prepare arch_smt_update() for PRCTL mode
3380e40c38d1 x86/speculation: Prevent stale SPEC_CTRL msr content
dafcdc4d3ef4 x86/speculation: Split out TIF update
b34c1d1e20ff ptrace: Remove unused ptrace_may_access_sched() and MODE_IBRS
2f191447843d x86/speculation: Prepare for conditional IBPB in switch_mm()
3c4a52665935 x86/speculation: Avoid __switch_to_xtra() calls
9a02cf2b59f7 x86/process: Consolidate and simplify switch_to_xtra() code
e45f1bf477c2 x86/speculation: Prepare for per task indirect branch speculation control
40e17356647d x86/speculation: Add command line control for indirect branch speculation
34ca30f6ebb2 x86/speculation: Unify conditional spectre v2 print functions
8cf2abe5a48d x86/speculataion: Mark command line parser data __initdata
b2e49f57b3d3 x86/speculation: Mark string arrays const correctly
a951ec1282ca x86/speculation: Reorder the spec_v2 code
f6e97c269fdf x86/l1tf: Show actual SMT state
124f1934f087 x86/speculation: Rework SMT state change
0db58041bd88 sched/smt: Expose sched_smt_present static key
9b76ef59f198 x86/Kconfig: Select SCHED_SMT if SMP enabled
74c0d392f4d2 sched/smt: Make sched_smt_present track topology
4b44044665b7 x86/speculation: Reorganize speculation control MSRs update
9d35dc0b1975 x86/speculation: Rename SSBD update functions
ae5c861d44a2 x86/speculation: Disable STIBP when enhanced IBRS is in use
9fdce9f0d6f6 x86/speculation: Move STIPB/IBPB string conditionals out of cpu_show_common()
d9e0d122ae45 x86/speculation: Remove unnecessary ret variable in cpu_show_common()
9ca44b34145e x86/speculation: Clean up spectre_v2_parse_cmdline()
f472b112c142 x86/speculation: Update the TIF_SSBD comment
4fe817e5f922 x86/retpoline: Remove minimal retpoline support
cdda9afbdbcb x86/build: Fix compiler support check for CONFIG_RETPOLINE
80420a04a82c x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support
e338c91ae9bb x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variant
dd970c7bb37c x86/speculation: Propagate information about RSB filling mitigation to sysfs
1a42c7686198 x86/speculation: Apply IBPB more strictly to avoid cross-process data leak
3fafe253622e tcp: defer SACK compression after DupThresh
973b2d8edb37 net/dim: Update DIM start sample after each DIM iteration
0541a4ad4c11 virtio-net: fail XDP set if guest csum is negotiated
326888b906c0 virtio-net: disable guest csum during XDP set
ce853ea2a2e1 net: skb_scrub_packet(): Scrub offload_fwd_mark
497d616f9ef9 net: thunderx: set xdp_prog to NULL if bpf_prog_add fails
32978c0d13b0 usbnet: ipheth: fix potential recvmsg bug and recvmsg bug 2
303b14516da0 s390/qeth: fix length check in SNMP processing
beedfff965e4 rapidio/rionet: do not free skb before reading its length
9bde4bd658b6 packet: copy user buffers before orphan or clone
8240b24014e5 net: thunderx: set tso_hdrs pointer to NULL in nicvf_free_snd_queue
f4b7bf2f7824 net: gemini: Fix copy/paste error
1a57f5e05433 net: don't keep lonely packets forever in the gro hash
fa9f95c537f2 lan743x: fix return value for lan743x_tx_napi_poll
e7ef14941113 lan743x: Enable driver to work with LAN7431
a7a42d6ae23e mm/khugepaged: collapse_shmem() do not crash on Compound
219f7f003c6b mm/khugepaged: collapse_shmem() without freezing new_page
a5df6e4dd710 mm/khugepaged: minor reorderings in collapse_shmem()
1d0476b09ae2 mm/khugepaged: collapse_shmem() remember to clear holes
ba76e023cbcd mm/khugepaged: fix crashes due to misaccounted holes
4ee51871be50 mm/khugepaged: collapse_shmem() stop if punched or truncated
4b7da0a23ab7 mm/huge_memory: fix lockdep complaint on 32-bit i_size_read()
4ea44ec50a87 mm/huge_memory: splitting set mapping+index before unfreeze
9385e2751953 mm/huge_memory: rename freeze_page() to unmap_page()
cfe3f465651c media: ov5640: fix auto controls values when switching to manual mode
ce92e4309a8f media: ov5640: fix wrong binning value in exposure calculation
797f0d9cdb19 media: ov5640: fix auto gain & exposure when changing mode
09dd7d55020c media: ov5640: fix exposure regression
d081f6351a54 media: ov5640: Fix timings setup code
e27220212028 media: ov5640: Re-work MIPI startup sequence
1941b77cf04d rcu: Make need_resched() respond to urgent RCU-QS needs
2d694e55c1a8 tty: wipe buffer if not echoing data
ff91ad4b37b6 tty: wipe buffer.
c9a2097b5bca include/linux/pfn_t.h: force '~' to be parsed as an unary operator
69adf873d6b7 mm, page_alloc: check for max order in hot path
4cf135795c19 tmpfs: make lseek(SEEK_DATA/SEK_HOLE) return ENXIO with a negative offset
5056621d3d82 mm, memory_hotplug: check zone_movable in has_unmovable_pages
dfa625fbef30 z3fold: fix possible reclaim races
32536aab2f6d powerpc/numa: Suppress "VPHN is not supported" messages
41d104c27a25 NFSv4: Fix an Oops during delegation callbacks
7d1687dde51a kdb: Use strscpy with destination buffer size
32fe7d4fb78e drm/amdgpu: fix bug with IH ring setup
f93e575d397a RISC-V: Silence some module warnings on 32-bit
8e1136c5aff5 riscv: add missing vdso_install target
48182b646f13 SUNRPC: Fix a bogus get/put in generic_key_to_expire()
11e0046dcfea perf/x86/intel/uncore: Add more IMC PCI IDs for KabyLake and CoffeeLake CPUs
73141f3f7b4f sched/fair: Fix cpu_util_wake() for 'execl' type workloads
757ebe2cf812 powerpc/io: Fix the IO workarounds code to work with Radix
cf650c21904c floppy: fix race condition in __floppy_read_block_0()
7e04a587b960 crypto: simd - correctly take reqsize of wrapped skcipher into account
eeb7ebec5993 rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write
1a7a12521b42 rtc: cmos: Do not export alarm rtc_ops when we do not support alarms
06200773ff6b cpufreq: imx6q: add return value check for voltage scale
8bc2418df6ef KVM: PPC: Move and undef TRACE_INCLUDE_PATH/FILE
c2d490ff84be scsi: hisi_sas: Remove set but not used variable 'dq_list'
7fa1b9068daf pinctrl: meson: fix meson8b ao pull register bits
c3faa93f65aa pinctrl: meson: fix meson8 ao pull register bits
539eae5c2efb pinctrl: meson: fix gxl ao pull register bits
81e6fb4d21c9 pinctrl: meson: fix gxbb ao pull register bits
23980899fd33 pinctrl: meson: fix pinconf bias disable
2acf52e0d024 fsnotify: generalize handling of extra event flags
70804a2395f9 IB/hfi1: Eliminate races in the SDMA send error path
36f0ce79eea5 ACPICA: AML interpreter: add region addresses in global list during initialization
98a7ff363966 can: flexcan: remove not needed struct flexcan_priv::tx_mb and struct flexcan_priv::tx_mb_idx
7e6c6e8f96a3 can: flexcan: Always use last mailbox for TX
09c695304ced can: hi311x: Use level-triggered interrupt
d5f1bed61e87 can: raw: check for CAN FD capable netdev in raw_sendmsg()
5dbbeea479ba can: flexcan: handle tx-complete CAN frames via rx-offload infrastructure
9d698b0e8c60 can: flexcan: use can_rx_offload_queue_sorted() for flexcan_irq_bus_*()
3ca38586737b can: rx-offload: rename can_rx_offload_irq_queue_err_skb() to can_rx_offload_queue_tail()
b564520dc84a can: rx-offload: introduce can_rx_offload_get_echo_skb() and can_rx_offload_queue_sorted() functions
ba4d601f11da can: dev: __can_get_echo_skb(): print error message, if trying to echo non existing skb
14daeee327c0 can: dev: __can_get_echo_skb(): Don't crash the kernel if can_priv::echo_skb is accessed out of bounds
bd8f43390a6e can: dev: __can_get_echo_skb(): replace struct can_frame by canfd_frame to access frame length
ec51a36d40ba can: dev: can_get_echo_skb(): factor out non sending code to __can_get_echo_skb()
17afd6b2f539 can: flexcan: Unlock the MB unconditionally
4e10eaf14115 drm/ast: Remove existing framebuffers before loading driver
2059f682eac4 drm/ast: fixed cursor may disappear sometimes
47d28426881e drm/ast: change resolution may cause screen blurred
231220ffbd0c drm/i915: Disable LP3 watermarks on all SNB machines
0ca629caa428 tcp: do not release socket ownership in tcp_close()
235bb14bb504 mm/memory.c: recheck page table entry with page table lock held
700d687423ce mm: don't warn about large allocations for slab
3deb594eb9cc llc: do not use sk_eat_skb()
d62cdc16c019 gfs2: Don't leave s_fs_info pointing to freed memory in init_sbd
91aa78f105a0 sctp: clear the transport of some out_chunk_list chunks in sctp_assoc_rm_peer
1ffe2390eec3 bfs: add sanity check at bfs_fill_super()
609b2f88baa9 Input: synaptics - avoid using uninitialized variable when probing
1c3712cd9ec5 selinux: Add __GFP_NOWARN to allocation at str_read()
f4dd907859f6 v9fs_dir_readdir: fix double-free on p9stat_read error
43fb0f750bf5 tools/power/cpupower: fix compilation with STATIC=true
7b18c23b8a15 opp: ti-opp-supply: Correct the supply in _get_optimal_vdd_voltage call
cdcc687a7c0f opp: ti-opp-supply: Dynamically update u_volt_min
adf820e7040b brcmfmac: fix reporting support for 160 MHz channels
77260dca90d8 iwlwifi: mvm: don't use SAR Geo if basic SAR is not used
230956227e0f iwlwifi: mvm: fix regulatory domain update when the firmware starts
34c26e7ff77e iwlwifi: mvm: support sta_statistics() even on older firmware
4e7059a1ef08 iwlwifi: fix wrong WGDS_WIFI_DATA_SIZE
00db19541478 gpio: don't free unallocated ida on gpiochip_add_data_with_key() error path
1c65bc42b0b6 mmc: sdhci-pci: Workaround GLK firmware failing to restore the tuning value
e670f3c0bd7f mmc: sdhci-pci: Try "cd" for card-detect lookup before using NULL
0279a3e8c9a3 Documentation/security-bugs: Postpone fix publication in exceptional cases
bea263a4d369 Documentation/security-bugs: Clarify treatment of embargoed information
85225e451366 MAINTAINERS: Add Sasha as a stable branch maintainer
a820ce4d4189 ALSA: oss: Use kvzalloc() for local buffer allocations
7ca1b0cfd1f5 usb: xhci: Prevent bus suspend if a port connect change or polling state is detected
6dc2234cfc3d xhci: Add quirk to workaround the errata seen on Cavium Thunder-X2 Soc
e23d44bfb180 usb: xhci: fix timeout for transition from RExit to U0
794e4eca3eb8 usb: xhci: fix uninitialized completion when USB3 port got wrong status
e705be077247 xhci: Add check for invalid byte size error when UAS devices are connected.
a065ce744fcb xhci: handle port status events for removed USB3 hcd
d0ab048de951 xhci: Fix leaking USB3 shared_hcd at xhci removal
c191d670df6c usb: dwc3: core: Clean up ULPI device
baae5ac1953b usb: dwc3: gadget: Properly check last unaligned/zero chain TRB
a3c907510737 usb: dwc3: gadget: fix ISOC TRB type on unaligned transfers
2b5d953d4120 usb: core: Fix hub port connection events lost
015ca0f92560 efi/libstub: arm: support building with clang
7972aba9b9a0 HID: steam: remove input device when a hid client is running.
(From OE-Core rev: d288dc17d6fe6e88d6a490f258e8d2502d661aad)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the linux-libc-headers to match the latest reference
kernel in oe-core.
We addtionally add three patches (identified by Khem) to fix muslc
aarch64 build issues.
(From OE-Core rev: 11f02b7c6f9854eecd3a49ea47833c8cbffb1581)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is an amendment for
2322dc4 "linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe"
which moves just the temporary input file from /tmp to build directory. But the
build directory may not in the same file system with the output file,
/dev/null, either and thus make it possible to trigger that bug, 67f846b, in
binutil v2.31.
This patch puts both the input and output files into build directory for good.
(From OE-Core rev: 0d836013e43f29cb7d4a1f8bb9ef04dd8d9132df)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Converts sstate so that it can use a hash equivalence server to
determine if a task really needs to be rebuilt, or if it can be restored
from a different (equivalent) sstate object.
The unique hashes are cached persistently using persist_data. This has
a number of advantages:
1) Unique hashes can be cached between invocations of bitbake to
prevent needing to contact the server every time (which is slow)
2) The value of each tasks unique hash can easily be synchronized
between different threads, which will be useful if bitbake is
updated to do on the fly task re-hashing.
[YOCTO #13030]
(From OE-Core rev: d889acb4f8f06f09cece80fa12661725e6e5f037)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handles the argument that passes task unique hash in the hash check
function, as it is now required by bitbake
[YOCTO #13030]
(From OE-Core rev: 1c14b6969e58b51a325c1c1acf9c96e55675035c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similarly to the codeparser change, change to sha256 hashes due to worries
over collisions. The main impact of this change is slightly slower parsing
time as well as longer sstate file names.
(Bitbake rev: 66f1b766997d53b4375fdd25719b1175f3828903)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've reports of hash collision with codeparser. Looking at the way collision
problems occur with md5 and the way our function templating works, I can believe
we may run into issues.
This patch therefore switches to sha256.
Performance wise, parse time could appear to rise by 4s in 374s
Before:
384329 in 2.966s (md5)
After:
349743 in 2.340s (sha256)
34723 in 1.245s (md5)
since we still have md5 used elsewhere in the code, something we should look at
next (using sha256 everywhere is around 5.3s in total)
Unfortunately this does nearly double the size of the codeparser cache file
due to the hash size change.
(Bitbake rev: 4bed7a97198176503fe8c72d8dd7c36b28fc9dd1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have two choices, split the recipes amongst the parsing threads in
blocks ahead of time, or have a queue which parsers pull from when idle.
The optimum approach depends on how similar the pieces are. For the single
recipe reparse case, there is currently a significant wait for the feeder
thread to start (around 0.25s in a 2s command).
Its possible splitting into blocks in advance may be unluckly for some other
workloads but experimentally it seems to work better overall for me at least.
(Bitbake rev: ae79868861568d673a70472e85a4bde9e2d84a8f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There used to be many bugs in multiprocessing and we implemented our own
feeder process to avoid them. Now that we have python 3.x, these are fixed
and just using the standard Queue mechanism appears to work fine. We can
therefore drop the unneeded code and simplify.
(Bitbake rev: b2d39fc37fcf3c81a562ec1ef4f8b4c1a493fc57)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test for x86_64 in overrides where is was being incorrectly handled.
There was a previous fix (3a3be518536acc868c7eeb3c1111ad1b321480b7) but
this ensures we don't regress.
(Bitbake rev: 08c314eac231ac9292c8c95f1c5a6fc2023fe749)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implements a reference implementation of the hash equivalence server.
This server has minimal dependencies (and no dependencies outside of the
standard Python library), and implements the minimum required to be a
conforming hash equivalence server.
[YOCTO #13030]
(Bitbake rev: 1bb2ad0b44b94ee04870bf3f7dac4e663bed6e4d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Under heavy load with process delays, sqlite can issues a "locking
protocol" error (SQLITE_PROTOCOL). Unfortunately, it is impossible to
distinguish between actual locking protocol errors and this race
condition, so they best that can be done is to retry the operation when
the error is detected.
[YOCTO #13108]
(Bitbake rev: 93cd15644f9d12b38abea276fee7b5bade0276df)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix below warning:
WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
usr/lib/python2.7/lib-dynload/_bsddb.so
setup.py will check db.h under include_dirs, for native build,
/usr/lib64 will be insert to postion 0 of include_dirs, so
it's priority is higher then our sysroot, cause db.h sysroot
is ignored, and rpath set to /usr/lib64. and this cause warning
when do_populate_sysroot. use append to fix it.
(From OE-Core rev: cf994752b69083aaa4f0b873357d6c873b32d7be)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When working path contains "clang"/"gcc"/"icc", it might be part of $CC
because of the "--sysroot" parameter. That could cause judgement error
about clang/gcc/icc compilers.
eg: if build under /yocto/builds/xicc/, bitbake python, $CC will contains
xicc, will make $CC match *icc, but actuall xicc just folder name.
When "*icc" is matched, below errors are reported when
compiling python/python3:
x86_64-wrs-linux-gcc: error: strict: No such file or directory
x86_64-wrs-linux-gcc: error: unrecognized command line option '-fp-model'
Here use cc_basename to replace CC for checking compiler to avoid such
kind of issue.
(From OE-Core rev: 96383efa2726ed1bf7893332d726112a8552fc24)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When kernel-fitimage and initramfs is enabled using
INITRAMFS_IMAGE_BUNDLE = "1", kernel do_deploy tries to deploy
fitImage.initramfs with following error
| install: cannot stat 'arch/arm64/boot/fitImage.initramfs': No such
file or directory
Skip deploying fitimage.initramfs, since fitimage does not
create fitimage.initramfs
(From OE-Core rev: 0f87f8522a2c1b5a7042738887952b98060fbd9d)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of a dictionary for link_rename causes problems for higher-order
alternatives, i.e. when an alternative link points to another
alternative link, since these links must be processed in the order in
which they were originally added for symlink correction to work.
Switch from a dict to a list of tuples to ensure processing happens in
the original order.
(From OE-Core rev: 326220267ffc43ec1f507ad0cc47ac59caafd5b7)
Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot mainline supports menuconfig, this patch enables menuconfig for
u-boot using cml1.
u-boot recipe in OE-core handles multi configuration of u-boot using
UBOOT_CONFIG. Since we cannot determine on which u-boot config the
menuconfig should run, the patch limits when UBOOT_CONFIG is not
defined.
(From OE-Core rev: 11278e3b2c75be80645b9841763a97dbb35daadc)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sort 'srcrevs' and 'tag_srcrevs' before iterating over them in order
to avoid unnecessary changes in the build history.
(From OE-Core rev: 031d708aedda11d65ba9746af4f01b91264a1f86)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-march=armv5't'e means that CPU can execute thumb ISA, we do not need to
tie this to exclusively generating thumb ISA, this change means that
when we have thumb in tune features then it can use 't' in -march
options irrespective of ISA being thumb or arm.
This fixes derivative of armv5 tunes and paves way for gcc9 where e.g.
armv5e is dropped and minimum arch supported is armv5te
(From OE-Core rev: 49bc3eab2897307a92b538a045e3d4dce245b0e0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the unique hash is being used to track task dependencies, the hash
validation function needs to know about it in order to properly validate
the hash.
[YOCTO #13030]
(Bitbake rev: 9a529bb2658a4046dafbf32e1eb503d84e64e947)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The unique hash is now passed to the task in the BB_UNIHASH variable
[YOCTO #13030]
(Bitbake rev: aab80b099f6f259e4b57cba2c26dd385d07c5947)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Requests the task unique hash from siggen and tracks it
[YOCTO #13030]
(Bitbake rev: 1ecc47f0831b35c8c92b37a81cef4e43ff9f67b2)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Abstracts the function to get the unique hash for a task. This hash is
used as in place of the taskhash for the purpose of determine how other
tasks depend on this one. Unless overridden, the taskhash is the same as
the unique hash, preserving the original behavior.
[YOCTO #13030]
(Bitbake rev: d0065b34cea81fcadff14b0383779e9559d94508)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can save do_configure's time from 330s to 60s on my host.
(From OE-Core rev: c22b0bf66a28324da66caf0660f171cc279a1f2b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson is growing in popularity, so add it to the SDK packagegroup.
(From OE-Core rev: e2f863e13d33b193b1b5b1ba08f574776a210ac1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson uses pkg_resources, which is part of setuptools.
(From OE-Core rev: 30a9dbc8a13928541ce6ff270801b8fd1c8af37e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix:
Error: Transaction check error:
file /usr/share/man/man3/crypt.3 conflicts between attempted installs
of libcrypt-doc-4.4.1-r0.core2_64 and man-pages-4.16-r0.core2_64
This issue came about after commit 59be9254df9f [libxcrypt: Upgrade to
4.4.1 release].
(From OE-Core rev: c4e0034cd1f020cfb074c7c80af281683752afeb)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patches now included in the update
refactoered pkgconfig.patch
(From OE-Core rev: cb38ff242cf3e1a9cda726703bd12778bde38f93)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fix only update.
Bug 1252891 - Implemented EKU handling for IPsec IKE.
Bug 1423043 - Enable half-closed states for TLS.
Bug 1493215 - Enabled the following ciphersuites by default:
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
TLS_RSA_WITH_AES_256_GCM_SHA384
Bug 1412829, Reject empty supported_signature_algorithms in Certificate Request in TLS 1.2
Bug 1485864 - Cache side-channel variant of the Bleichenbacher attack (CVE-2018-12404)
Bug 1481271 - Resend the same ticket in ClientHello after HelloRetryRequest
Bug 1493769 - Set session_id for external resumption tokens
Bug 1507179 - Reject CCS after handshake is complete in TLS 1.3
(From OE-Core rev: e0e6b80d76efbe044ce9b8923897195b28c2680c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SRCREV upgraded to 223817ee3798 ("Add Wayland support")
Additional patches rebased to this version
(From OE-Core rev: 50691151e916b1cdb9291f0f0bd913f2f79acfcd)
Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sstate bbclass uses workdir as a hardcoded string in path
manipulations. This means that the sstate caching mechanism does
not work for the work-shared directory which the kernel uses to
share its build configuration and source files for out of tree
kernel modules.
This commit modifies the path manipulation mechanism to use the
work-shared directory if detected in the paths when handling the
sstate cache packages.
(From OE-Core rev: 27642449f95e38598f9c83948ce109c5891e5877)
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When an indirect multiconfig dependency exists, such as:
A depends on B, B has a multiconfig dependency to C,and our build
target is A, the multiconfig dependency to C is not processed on
time, hence no providers are added for it, causing an exception in
the runqueue because the dependency does exist in it.
Call add_unresolved() for all available multiconfigs before processing
providers for multiconfig dependencies, detecting mcdepends on time so
providers for them can be added correctly.
(Bitbake rev: 8a6bc7584ad61b4de98af92a86066602006262f9)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
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: 353f0f3c77c3cdd75c1be2a565234a5e53dba3ef)
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: 3635b829e4eb940ada2b52bfb5b5e5be93a3b0aa)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg needs the replaces/conflicts/provides in order for this package
to function as intended. When enabled, this code caused failures for
core-image-sato -c populate_sdk.
The reason is that nativesdk-autoconf has several perl dependencies. We
need to list more of the things which this package provides/conflicts
with in order for it to function correctly. Therefore add the missing
entries.
(From OE-Core rev: 27412b377dda47daa87bfcb3a41babe53ff8b0a3)
(From OE-Core rev: e0db1beb6db624b3b743e780c298c63a1e177cfb)
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)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes:
curl: add %{stderr} and %{stdout} for --write-out
curl: add undocumented option --dump-module-paths for win32
setopt: add CURLOPT_CURLU
For full list of changes see:
https://curl.haxx.se/changes.html
(From OE-Core rev: 2837266edbe097dcd9ff5fcdf29bb56f38bf564d)
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)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Correctly-install-the-shared-library.patch as upstream fixed the issue.
(From OE-Core rev: c9447be6efc89b2d6259bcd4237af482d47b389f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed gi-flags.patch and gtkdoc-flags.patch, rebase the rest.
(From OE-Core rev: 6cc5c57c38d2da37b4f15dea6e1fb97e3a0bae73)
Signed-off-by: Alexander Kanavin <alex.kanavin@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)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libnolto_coregrind_a_OBJECTS is in libcoregrind_a_LIBADD, so the objects
should be ready before generate libcoregrind.a, otherwise there would be
failures:
i586-poky-linux-ar: libnolto_coregrind_x86_linux_a-m_libcsetjmp.o: No such file or directory
make[3]: *** [libcoregrind-x86-linux.a] Error 1
Add libnolto_coregrind_a_OBJECTS to EXTRA_libcoregrind_DEPENDENCIES to fix the
problem.
This is a race issue during parallel build.
(From OE-Core rev: 713d6978894269e5b463c3731c03da7e83956743)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The line was added in
os-release: add the public package-signing key
f7359ad6bec82d4aa761287a6c6d53cbc25adab3
but the actual usage was removed in
signing-keys: Make signing keys the only publisher of keys
1e38068ac38dfd067655dfd41464e28439179306
(From OE-Core rev: 05aeb9de239beff4bfdb3cd7dc39d484ecb69190)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* in some rare cases the file format might be broken, e.g. when you run
out of disk space while writing to it (hint: make sure to use
BB_DISKMON_DIRS on _all_ the builds, to make sure that they can stop
gracefully before this happens).
* will show error like this:
ERROR: Invalid line '/OE/build/luneos-thud/webos-ports' in sstate manifest '/OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/index-allarch'
when the file isn't complete, like in my case:
$ tail -n 2 /OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/index-allarch
/OE/build/luneos-thud/webos-ports/tmp-glibc/stamps/all-webos-linux/org.webosports.app.calculator/0.1.1+gitrAUTOINC+9e9eb67c28-r0 /OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/manifest-allarch-org.webosports.app.calculator /OE/build/luneos-thud/webos-ports/tmp-glibc/work/all-webos-linux/org.webosports.app.calculator/0.1.1+gitrAUTOINC+9e9eb67c28-r0
/OE/build/luneos-thud/webos-ports
* instead of much longer exception which doesn't really show what's
wrong to selectively fix that (other than removing while TMPDIR):
ERROR: Command execution failed: Traceback (most recent call last):
File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/command.py", line 113, in runAsyncCommand
self.cooker.updateCache()
File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/cooker.py", line 1562, in updateCache
bb.event.fire(event, self.databuilder.mcdata[mc])
File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 225, in fire
fire_class_handlers(event, d)
File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 134, in fire_class_handlers
execute_handler(name, handler, event, d)
File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 106, in execute_handler
ret = handler(event)
File "/OE/build/luneos-thud/webos-ports/openembedded-core/meta/classes/sstate.bbclass", line 1083, in sstate_eventhandler2
(stamp, manifest, workdir) = l.split()
ValueError: not enough values to unpack (expected 3, got 1)
(From OE-Core rev: 870ba5d80e76e0f989971532fc2adc0ebe811ab6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before linux commit d36b691077dc59c74efec0d54ed21b86f7a2a21a, some
strings contained invalid utf-8 character which made
split_kernel_module_packages unhappy when parsing ums-isd200.ko:
Exception: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 21: invalid start byte
(From OE-Core rev: 503b977acf6984120818cbc5cfd35ff2cffb39cd)
Signed-off-by: Pau Espin Pedrol <pespin@sysmocom.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In OE we do not build mutlib like gcc does it by default, this ensures
that mutlilib is virtually disabled for OE, since we hardly use same gcc
to build for multiple ABIs
This fixes cases in SDK where g++ is not able to find standard c++
include headers
(From OE-Core rev: badbeb01dd642d9d647d3760a3ce2aa39c3567da)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When pam PACKAGECONFIG is enabled a cups "pam.d" configuration file is
installed. The default configuration file uses a non-existing "pam_unknown.so",
but a different existing module can be selected by passing the
--with-pam-module parameter. Use the unix pam module when pam is enabled.
(From OE-Core rev: a7fb921e16e2eb4fa5a799b556d23d79801720b0)
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12399]
Fixes made to have the BitBake User Manual included in the build
of the mega-manual. I placed this manual at the end of the
mega-manual. Following changes made:
* Makefile - Modified to include two PNG files. All PNG files
in a given manual are listed in the area that makes
the mega-manual so that the tarfile is complete.
* mega-manual.xml - Updated the front wording to tell the user
that the BitBake User Manual is included in the
Mega-Manual. Also, added a last section to actually
include the bitbake-title.png file and the *.xml
files. Note that I could not add the title figure
from the same figures folder of the local "bitbake"
folder. Would not include in the build. So, I
pulled the file from the figures folder of the
mega-manual, which is what I do for all the other
book titles used in the mega-manual.
* mega-manual.sed - Modified to clean out the old stuff that
had been carried along for older books not
supported for the release. Modified to include
link processing for the newly included BitBake
User Manual.
* New Figures - Moved copies of the "bb_multiconfig_files.png"
and "bitbake-title.png" figures into the
figures folder of the mega-manual.
(From yocto-docs rev: 78a1ae0ca92bb7f8a9d3a32a320299371d0ed361)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some occurrences of links to the BitBake User Manual were using
a target (i.e. &YOCTO_DOCS_BB_URL;#bitbake-user-manual). Using
this form causes the mega-manual.sed file to not process the link
correctly for the mega-manual. These are subtle errors and have
probably existed for some time. I removed the target ID to fix
the problem.
(From yocto-docs rev: 701f61fd80e5103ee02efbe5eed9a8607ac9a336)
Signed-off-by: Scott Rifenbark <srifenbark@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)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Append minor version to PV so recipe checker is happy
* Drop upstreamed patches
* Remove changelog from CVE patches, they dont apply and are in patch
log anyway
(From OE-Core rev: 550085bc092d773c8c481e238d0d3210466166dc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Licence-Update: Copyright Alexander Peslyak; 0-clause BSD added
see e07290ec7c
Rename recipe to ve versionless and add PV in recipe itself, makes it
easy to traverse git history
Drop upstreamed patch
(From OE-Core rev: 2eae2d53df739acc2f89599a9296ccacbafebb60)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These warnings are intricate and we can ignore that for now as they are
being found by gcc 9, eventually this should be not needed when code
upstream is fixed
(From OE-Core rev: 42176d26e5c893e86ab5d8a2e5b8a3d021e03a69)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch that helps with this error which is found
by gcc9
(From OE-Core rev: 93419fb569b827056a422614d3dc29cd41b2b6bb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before, threading was enabled via a patch to opkg-build. Now that
opkg-build provides a hook for extra arguments, use that.
(From OE-Core rev: b288f4e825a036b9cc15b27301d264fe695dba65)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12399]
The bug was to get the BitBake User Manual into the YP Mega-manual.
All the changes here create unique tags used with variables in the
BitBake Manual. Prior to the fix, tags were identical between like
variables in the YP reference manual and the BitBake User Manual.
The reason for this is because when I created the BitBake manual's
glossary, it was a cut-and-paste operation to get the bulk of
the work started. At the time, the BitBake User Manual was not
a part of the Mega-manual. Once we decided to include the
BitBake User Manual as part of the Mega-Manual, building the
mega-manual produced warnings for all these duplicate links.
To fix, I have updated the variable tags in the BitBake User
Manual to use the following form:
'var-bb-<variable_name>'
The tags used in the YP ref-manual follow this form (original):
'var-<variable_name>'
(Bitbake rev: fb6de2057aae3fbdf37f007d2e47794b332020e1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This lets linker to use its internal linker script for shared objects
Fixes with when gold is default linker
(From OE-Core rev: 7bbc453ac2b8d63680855789948a145fc448017f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its not needed anymore and it can depend on gcc-cross instead
(From OE-Core rev: 9dc6fcd492d41d6a65a8f5ab562830ba9372937a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We no longer have special "libc" for gcc so we can rely on plain
virtual/libc and reduce the complexity in the dependencies.
(From OE-Core rev: 122217b421f749b5fef52bea44ad6e04bc8f8d3a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Separated out from the previous commit for clarity, this simply drops
all the -inital pieces of gcc which are no longer needed after the
previous commit.
(From OE-Core rev: d84971928b68efddbdb6344b1021d998c9e26adb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need a libgcc to build glibc. Tranditionally we therefore build
a non-threaded and non-shared compiler (gcc-cross-initial), then use
that to build libgcc-initial which is used to build glibc which we can
then build gcc-cross and libgcc against.
Firstly, we can drop the glibc dependency from gcc-cross, *if* we make
two changes:
a) specify the minimum glibc version to support in a configure option
b) create a dummy limits.h file so that later when glibc creates one,
the headers structure has support for it. We can do this with a simple
empty file
Once gcc-cross is libc independent, we can use it to build both
libgcc-initial and then later libgcc.
libgcc-initial is tricky as we need to imitate the non-threaded and
non-shared case. We can do that by hacking the threading mode back to
"single" even if gcc reports "posix" and disable libc presence for the
libgcc-intial build. We have to create the dummy limits.h to avoid
compiler errors from a missing header.
glibc will fail to link with libgcc-initial due to a missing "exception
handler" capable libgcc (libgcc_eh.a). Since we know glibc doesn't need
any exception handler, we can safely symlink to libgcc.a.
With those changes, gcc-cross can be used in all places and we only need
one build of gcc for each architecture.
For some reason ifunc was being disabled on mips prior to these changes
but afterwards became enabled but caused assertion failures. This is
therefore disabled until we can debug that.
(From OE-Core rev: 62b7308b8c4d2b439a15a4f7cbc6f823077bb0be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The only reason we appear to need glibc-initial at this time is to support
the site_config code. The site_config code compiles and therefore needs
at least some level of working C library to link against.
This isn't a good reason to keep the complexity of glibc-initial around
so remove it, and the site_config support which then breaks.
Performance benchmarks suggest the time spent just rerunning configure
for site_config just about equals any performance benefit for OE-Core
image builds excluding the time spent adding glibc-initial to the
dependency chain.
I'm not opposed to readding some other form of site_config support
but it needs to be rethought.
(From OE-Core rev: c5df105e7583e43da9b682f739bebaf873dcd2f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous code assumed builddir and meta-selftest are in the same dir, but
this isn't always true, builddir can be anywhere, use get_test_layer() to
locate meta-selftest can fix the problem.
(From OE-Core rev: 56d2493a9adfcc47ae7e265439e05ff42cdbbbbf)
Signed-off-by: Robert Yang <liezhi.yang@windriver.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: 02845a561b38658ac3edf5cc9c34625ed860d34f)
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: d5b0a9a302ac0eafa4f797ac15ea77db87e82b3c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current bitbake output makes it hard to know which retry is being
attempted. Add this information to the output to make it clearer.
(Bitbake rev: 0774e6e03d27adb7aca6fa9c47ab6ad426c937de)
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: 8a1f2fcf35d61d83bbafa8fa3ae215fd5f51728b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a test suite for testing the persistent data cache
[YOCTO #13030]
(Bitbake rev: 96a4155049e834af17069d981cc2215e50d18c1a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros use site.conf to emit certain variables which are important
for eSDK e.g. DISTRO with out which eSDK will not be able to ger right
metadata when it tries to build
(From OE-Core rev: 95659bed3f6f3216b346f70cfc9ffae9788c0fc1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new libpng license comprises the terms and conditions from the zlib
license, and the disclaimer from the Boost license. The legacy libpng
license license, used until libpng-1.6.35, is appended to the
new license, following the precedent established in the Python Software
Foundation License version 2.
See for details:
https://sourceforge.net/projects/libpng/files/libpng16/1.6.36/
(From OE-Core rev: 673c2dcf1045f7264570f81e2880d7a03befd2af)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For changes, see:
https://sourceforge.net/p/libpng/code/ci/libpng16/tree/CHANGES
License-Update: Added authors to license, formatting, version changes,
export classification clarification and a new libpng2 license with
clarification:
The new libpng license comprises the terms and conditions from the zlib
license, and the disclaimer from the Boost license. The legacy libpng
license license, used until libpng-1.6.35, is appended to the
new license, following the precedent established in the Python Software
Foundation License version 2.
(From OE-Core rev: 099aecfaa3baf6b24c2b751da92d7d2fa0266bf9)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes from release notes:
- Set default background image for screen lock to an existing one
- Translation updates
(From OE-Core rev: 6a10ff0bcd6e00660a419ca535239af55e30d5aa)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although we could potentially build patchelf and all its dependencies,
they would all have to be blacklisted to avoid trying to build them with
icecc. We use the host patchelf instead.
(From OE-Core rev: 0860216a81092fba084d29696db6d0c65a226c85)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python function icecc_path() was being invoked inline by set_icecc_env(),
meaning that it was being invoked at recipe-parsing time.
As a side-effect, icecc_path() was creating the recipe-sysroot directory and
symlinking icecc into it. Because this was done at parsing time (rather than
configure time), we were generating otherwise-empty WORKDIRs for *all* parsed
recipes, and for all virtual classes (-native, -nativesdk).
In my build, this generated more than 800 of these otherwise-empty WORKDIRs.
I have simplified icecc_path() to return only the intended path to the icecc
symlinks in the recipe-sysroot, with no side-effect.
We then create the directory and the icecc symlinks at configure time.
Because get_cross_kernel_cc() is still invoked at parse-time,
it needs a guard-clause for the non-kernel case.
We are now finding the host icecc at do_configure time,
so icecc needs to be in the HOSTTOOLS. I have made this non-fatal,
so that we can still inherit icecc without icecc installed.
(From OE-Core rev: d2fcaeb153fdc3f8d7143ea823139f1537055ff1)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If two bitbake processes try to generate the ICECC_VERSION tarball at the same
time, the thread that fails to get the lock will wait 30 sec for the first to
finish. A syntax error meant that this was not happening, and in particular, if
tarball generation failed (eg. for lack of patchelf), it did so silently.
(From OE-Core rev: 4455c46bf7f49c2b44f250aa89b63b342368e2e3)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were accidentally doing a readlink -f on simply 'gcc', for instance
(From OE-Core rev: 6d6788a3ea45d9693743d9b3319fb0368a4d5d33)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libmpx is not supported any longer and infact has been removed
completely from gcc-9, see
1e42d5c637
(From OE-Core rev: 547174fc834273af67a2f7e50a3cf6c8e3b900f4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For reasons lost in the depths of time, perhaps performane related,
we only have a dependency on libc at packaging time. This is too late,
as demonstrated by a recent build failure on non-IA builds where
the glibc 2.29 upgrade had been removed from the build:
ld: recipe-sysroot/usr/lib/../lib/libstdc++.so: undefined reference to `log@GLIBC_2.29'
libstdc++ should have been rebuilt but had not as the dependency
wasn't present.
Add the missing dependency to avoid this problem (and drop the other
form of dependency which is no longer needed).
(From OE-Core rev: 14c291e1fb6324da46885b69fbd7f01b3c6b053e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in the tasks within this class are old and there are much better
ways to do these things now such as through tinfoil rather than writing csv
files incrementally with start/stop events and lock files.
Existing users of the code (mainly the do_checkpkg task) have been ported
over to tinfoil. Drop the class, any other users should also make use
of the tinfoil functionality.
(From OE-Core rev: 6e2a488f01e5e8bc6f06b6fac1d336bf5372a82b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is little harm in including this file rather than having a
rather obscure and soon to be obsolete bbclass adding this information.
(From OE-Core rev: 98536be8d1a5dcf620ee6d07135f23126a09d98f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: New files added to existing list
Add -Wno-error=missing-attributes to compiler flags, this helps in
compiling with gcc 9.0, eventually, the code should be fixed
Add a patch to fix x32 build
(From OE-Core rev: 59be9254df9ffeda594b21af8be433564c898474)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update /lib to $nonarch_base_libdir to fix package QA errors when
usermerge is enabled in DISTRO_FEATURES.
ERROR: kernel-devsrc-1.0-r0 do_package_qa: QA Issue: kernel-devsrc
package is not obeying usrmerge distro feature. /lib should be relocated
to /usr. [usrmerge]
(From OE-Core rev: a62085b5047e7943bdcc9d4ce3480d100618eeb1)
Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The big endian mips definition was used as the basis for the little
endian machine. Unfortunatey, the KMACHINE definitions were not fully
cleared, so big endian builds will match on the 'le' variant .. and
break.
We drop the BE machine definitions from the LE variant and we are fixed.
(From OE-Core rev: 863e520059cdc96817ec87983d1e036f291bf37c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kern tools patch:
The cmd line, <grep '^[ ]*\(menu\)*config '>, can't
match all expect config options.
This is because that it is not always a single space after 'config'
in kernel-source/*/.../Kconfig. e.g. "config IP_VS_IPV6" in
net/netfilter/ipvs/Kconfig
So we should change the cmd to grep '^[ ]*\(menu\)*config\s'.
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
(From OE-Core rev: b476d1cddefb9468c41a4c1c08b4fae66d03b52f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's 4.18.x -stable queue that comprises the
following commits:
7791d9ae24f8 Linux 4.18.21
a80801badd68 libceph: fall back to sendmsg for slab pages
fa1d15db0676 HID: Add quirk for Microsoft PIXART OEM mouse
539bf8a221c2 HID: Add quirk for Primax PIXART OEM mice
e5cfd0902404 HID: uhid: forbid UHID_CREATE under KERNEL_DS or elevated privileges
c2d5a17480e1 ACPI / platform: Add SMB0001 HID to forbidden_id_list
a6f05874e5e4 drivers/misc/sgi-gru: fix Spectre v1 vulnerability
a2106abb1311 mtd: rawnand: atmel: fix OF child-node lookup
852707bdc43c USB: misc: appledisplay: add 20" Apple Cinema Display
025b1def8764 misc: atmel-ssc: Fix section annotation on atmel_ssc_get_driver_data
9e7b23298a7e usb: quirks: Add delay-init quirk for Corsair K70 LUX RGB
013de23dac1c USB: Wait for extra delay time after USB_PORT_FEAT_RESET for quirky hub
3f514468061f USB: quirks: Add no-lpm quirk for Raydium touchscreens
bbcc56d2f095 usb: cdc-acm: add entry for Hiro (Conexant) modem
97e2f24e1a83 ALSA: hda/ca0132 - Call pci_iounmap() instead of iounmap()
745bb5e7cfeb ALSA: hda/realtek - Add quirk entry for HP Pavilion 15
1c6195c1d07e RISC-V: Fix raw_copy_{to,from}_user()
58d333dec778 MIPS: OCTEON: cavium_octeon_defconfig: re-enable OCTEON USB driver
574cddd586ad x86/ldt: Unmap PTEs for the slot before freeing LDT pages
e5992ad333bb x86/ldt: Split out sanity check in map_ldt_struct()
4fec0315cc99 x86/mm: Move LDT remap out of KASLR region on 5-level paging
06e06217b513 x86/mm/doc: Enhance the x86-64 virtual memory layout descriptions
afddf2bc08b8 x86/mm/doc: Clean up the x86-64 virtual memory layout descriptions
251fe62f9fbd SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer()
39cc3a6bf7a4 kbuild: deb-pkg: fix too low build version number
4cbf9bb5d870 net: aquantia: invalid checksumm offload implementation
7efe7160032f net: aquantia: fixed enable unicast on 32 macvlan
3dcebf4e0021 net: aquantia: fix potential IOMMU fault after driver unbind
7ab68bbd45e5 net: stmmac: Fix RX packet size > 8191
13cf931db889 qed: Fix potential memory corruption
edc856a3748d qed: Fix SPQ entries not returned to pool in error flows
85423a9f1925 qed: Fix blocking/unlimited SPQ entries leak
98e7cd88b52b qed: Fix memory/entry leak in qed_init_sp_request()
82f212b802a0 i40e: restore NETIF_F_GSO_IPXIP[46] to netdev features
85f5e5f14d5a ice: Change req_speeds to be u16
da1d12c17f9f ice: Fix the bytecount sent to netdev_tx_sent_queue
2a7e71e87d96 ice: Fix dead device link issue with flow control
14e275bde8d7 perf tools: Do not zero sample_id_all for group members
76cc23113132 perf tools: Fix undefined symbol scnprintf in libperf-jvmti.so
2d21e584e738 sched/core: Take the hotplug lock in sched_init_smp()
2ada9a15c672 i2c: omap: Enable for ARCH_K3
53d22ae3d66e nvme: make sure ns head inherits underlying device limits
446c01fb4f92 ceph: quota: fix null pointer dereference in quota check
9e10f7374c41 s390/perf: Change CPUM_CF return code in event init function
9de8b1448395 drm/amd/amdgpu/dm: Fix dm_dp_create_fake_mst_encoder()
f360a418cccb drm/amd/display: Drop reusing drm connector for MST
7f7cef0bfc2f block: Clear kernel memory before copying to user
f9e5bd7ff2eb drm/amd/display: Stop leaking planes
4239764e6ba8 lib/raid6: Fix arm64 test build
7c5fe0f1b003 mtd: nand: Fix nanddev_pos_next_page() kernel-doc header
c3c978e03a0b clk: fixed-factor: fix of_node_get-put imbalance
1e6a626e9a85 arm64: dts: renesas: r8a7795: add missing dma-names on hscif2
8904df27645c Revert "drm/exynos/decon5433: implement frame counter"
bc80947ec235 ARM: dts: fsl: Fix improperly quoted stdout-path values
0256a4666ccc hwmon: (ibmpowernv) Remove bogus __init annotations
7cce145bb0bc net: hns3: Fix for out-of-bounds access when setting pfc back pressure
49ca763b85a3 s390/qeth: fix HiperSockets sniffer
2a5adbb88317 netfilter: nft_compat: ebtables 'nat' table is normal chain type
b1045a2ed7d0 netfilter: ipset: Fix calling ip_set() macro at dumping
6339fe77369f netfilter: xt_IDLETIMER: add sysfs filename checking routine
5f53cf58e657 netfilter: ipset: Correct rcu_dereference() call in ip_set_put_comment()
ac802253a7f6 bpf: fix bpf_prog_get_info_by_fd to return 0 func_lens for unpriv
38dd3dd00b30 s390/mm: Fix ERROR: "__node_distance" undefined!
da97e4fe8be9 s390/mm: fix mis-accounting of pgtable_bytes
8d30ef7ca397 netfilter: ipset: fix ip_set_list allocation failure
61c4117c1a74 netfilter: ipset: actually allow allowable CIDR 0 in hash:net,port,net
969721e7b329 netfilter: ipset: list:set: Decrease refcount synchronously on deletion and replace
429746904248 Revert "netfilter: nft_numgen: add map lookups for numgen random operations"
a5e3863ac044 netfilter: use PTR_ERR_OR_ZERO()
0ae8e99ec8cd HID: alps: allow incoming reports when only the trackstick is opened
15b457203750 Revert "HID: add NOGET quirk for Eaton Ellipse MAX UPS"
b031d919f5a3 HID: i2c-hid: Add a small delay after sleep command for Raydium touchpanel
6e7506e7ffa1 netfilter: ipv6: fix oops when defragmenting locally generated fragments
ffe4bc3d6f34 netfilter: ipv6: nf_defrag: drop skb dst before queueing
9b1f3e55b288 clk: ti: fix OF child-node lookup
dd638be4185f clk: meson: clk-pll: drop CLK_GET_RATE_NOCACHE where unnecessary
0d6b6e708bc7 arm64: percpu: Initialize ret in the default case
bbc36472de49 platform/x86: acerhdf: Add BIOS entry for Gateway LT31 v1.3307
1a256be39690 x86/earlyprintk: Add a force option for pciserial device
f7554181a88f apparmor: Fix uninitialized value in aa_split_fqname
012871d08c0d clk: samsung: exynos5420: Enable PERIS clocks for suspend
064e571701ce fs/exofs: fix potential memory leak in mount option parsing
831690c6459c perf symbols: Set PLT entry/header sizes properly on Sparc
0f9ecdb3bd83 clk: fixed-rate: fix of_node_get-put imbalance
ede1c4fcdde1 platform/x86: intel_telemetry: report debugfs failure
ee66e4013b23 afs: Handle EIO from delivery function
aef20e808b30 drm/edid: Add 6 bpc quirk for BOE panel.
24bb4410cef8 um: Give start_idle_thread() a return code
2d40d681ae35 perf unwind: Take pgoff into account when reporting elf to libdwfl
cb3e550391e9 hfsplus: prevent btree data loss on root split
fa5cc3040873 hfs: prevent btree data loss on root split
ee916b4885a5 reiserfs: propagate errors from fill_with_dentries() properly
ef40ee9ed9ae ixgbe: fix MAC anti-spoofing filter after VFLR
c0fee8923e4f net: hns3: bugfix for the initialization of command queue's spin lock
8d77763100a2 net: hns3: bugfix for handling mailbox while the command queue reinitialized
2fb7315d2cf8 net: hns3: Prevent sending command during global or core reset
ab0b26b06885 net: hns3: bugfix for rtnl_lock's range in the hclgevf_reset()
cd72d052e2e0 block: brd: associate with queue until adding disk
0d11623a80f2 arm64: kprobe: make page to RO mode when allocate it
a52826b7b283 cifs: fix return value for cifs_listxattr
875f9a25fe16 cifs: don't dereference smb_file_target before null check
726e26c18837 usbnet: smsc95xx: disable carrier check while suspending
1b02f8a0f99a net: smsc95xx: Fix MTU range
43ec8ff9d9d1 mlxsw: spectrum: Fix IP2ME CPU policer configuration
5084168f4ddb sctp: not increase stream's incnt before sending addstrm_in request
2d3ba28f6872 net: phy: mdio-gpio: Fix working over slow can_sleep GPIOs
fbe671bf4640 sctp: fix strchange_flags name for Stream Change Event
1071eded0415 net: dsa: microchip: initialize mutex before use
92df935ee5bd net: qualcomm: rmnet: Fix incorrect assignment of real_dev
8524e5f23056 sctp: define SCTP_SS_DEFAULT for Stream schedulers
839c08b2e53f net: phy: realtek: fix RTL8201F sysfs name
511ac11522c8 net: dsa: mv88e6xxx: Fix clearing of stats counters
4166d97c8114 net/mlx5e: IPoIB, Reset QP after channels are closed
057174ecf7c3 net/mlx5: IPSec, Fix the SA context hash key
776d3005c370 l2tp: fix a sock refcnt leak in l2tp_tunnel_register
5b7d8593e89d inet: frags: better deal with smp races
38cdb31946c1 net/mlx5e: Removed unnecessary warnings in FEC caps query
0fa0336430a4 net/mlx5e: Fix selftest for small MTUs
35f08cfda6e4 net/mlx5e: Always use the match level enum when parsing TC rule match
81dff097d4f1 Revert "sctp: remove sctp_transport_pmtu_check"
956f3384ec99 net/mlx5e: Adjust to max number of channles when re-attaching
e717c85edd16 net/mlx5e: Claim TC hw offloads support only under a proper build config
73965525b4a5 net: systemport: Protect stop from timeout
0c6765847a3e tuntap: fix multiqueue rx
1f1f1f9f5c04 tipc: fix lockdep warning when reinitilaizing sockets
4882b7bfa4f4 tipc: don't assume linear buffer when reading ancillary data
8ee89a1dba58 tg3: Add PHY reset for 5717/5719/5720 in change ring and flow control paths
29939b28474d tcp: Fix SOF_TIMESTAMPING_RX_HARDWARE to use the latest timestamp during TCP coalescing
2d02df9e00f6 sctp: not allow to set asoc prsctp_enable by sockopt
f8079b5a352d net-gro: reset skb->pkt_type in napi_reuse_skb()
893ebde4310f net: bcmgenet: protect stop from timeout
d50e12a49aa0 ipv6: Fix PMTU updates for UDP/raw sockets in presence of VRF
a72cc86b5f1b ipv6: fix a dst leak when removing its exception
05b6cf8bd43b ip_tunnel: don't force DF when MTU is locked
9de9dc5fac67 ibmvnic: fix accelerated VLAN handling
67485ab94ea6 flow_dissector: do not dissect l4 ports for fragments
(From OE-Core rev: 39afea5282fed75a4f70d8f8b1af767620923828)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
178574b66509 Linux 4.19.8
55cbeea76e76 blk-mq: punt failed direct issue to dispatch list
6235c229fea4 tipc: use destination length for copy string
4e84cccacb12 arc: [devboards] Add support of NFSv3 ACL
41e0254d32bd ARC: change defconfig defaults to ARCv2
b0234f15d2e2 btrfs: tree-checker: Don't check max block group size as current max chunk size limit is unreliable
280d652e0dd2 Input: elan_i2c - add support for ELAN0621 touchpad
77dd91caddfe Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15ARR
08a7e486a19d Input: elan_i2c - add ELAN0620 to the ACPI table
918cd7d1dfac Input: cros_ec_keyb - fix button/switch capability reports
25e78d0557e1 Input: matrix_keypad - check for errors from of_get_named_gpio()
167390050068 Input: synaptics - add PNP ID for ThinkPad P50 to SMBus
58a99d3722fe Input: xpad - quirk all PDP Xbox One gamepads
c47bb7af582a scsi: lpfc: fix block guard enablement on SLI3 adapters
2cb8d55be86c i40e: Fix deletion of MAC filters
4c202ade1e74 selinux: add support for RTM_NEWCHAIN, RTM_DELCHAIN, and RTM_GETCHAIN
85bb1e8b7013 svm: Add mutex_lock to protect apic_access_page_done on AMD systems
e762e1407bc8 kgdboc: Fix warning with module build
5eede3d09625 kgdboc: Fix restrict error
8f193a716e56 userfaultfd: shmem: UFFDIO_COPY: set the page dirty if VM_WRITE is not set
4ce337622f2b userfaultfd: shmem: add i_size checks
6e44dd02c955 userfaultfd: shmem: allocate anonymous memory for MAP_PRIVATE shmem
10f98c134b02 userfaultfd: use ENOENT instead of EFAULT if the atomic copy user fails
212ad3d70222 drm/meson: Fix OOB memory accesses in meson_viu_set_osd_lut()
ea6bb077bff2 drm/meson: Enable fast_io in meson_dw_hdmi_regmap_config
736f04212a28 drm/meson: Fixes for drm_crtc_vblank_on/off support
c952979ad95b drm: set is_master to 0 upon drm_new_set_master() failure
8a8effbe56b1 drm/amd/dm: Don't forget to attach MST encoders
94be4764b4bb drm/ast: Fix incorrect free on ioregs
81f966235412 tracing/fgraph: Fix set_graph_function from showing interrupts
a99075642666 IB/mlx5: Avoid load failure due to unknown link width
a41e946e9380 mips: fix mips_get_syscall_arg o32 check
8e847e8c7456 MIPS: ralink: Fix mt7620 nd_sd pinmux
d49297b5c77a tracepoint: Use __idx instead of idx in DO_TRACE macro to make it unique
fd8152818f11 sched, trace: Fix prev_state output in sched_switch tracepoint
2858d1891eb5 arm64: ftrace: Fix to enable syscall events on arm64
86e429241603 mtd: nand: Fix memory allocation in nanddev_bbt_init()
ac8edc62e813 uprobes: Fix handle_swbp() vs. unregister() + register() race once more
61c963ab59fd iser: set sector for ambiguous mr status errors
0448ad42d6a1 unifdef: use memcpy instead of strncpy
f2d12a0ba143 test_hexdump: use memcpy instead of strncpy
724ff9cbfe1f blk-mq: fix corruption with direct issue
61c68f2a2af0 Linux 4.19.7
842c4c22ea2b misc: mic/scif: fix copy-paste error in scif_create_remote_lookup
5e4b30d68a02 Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl()
b66375b599bf mm: use swp_offset as key in shmem_replace_page()
16a2d602244f mm: cleancache: fix corruption on missed inode invalidation
91a514788356 lib/test_kmod.c: fix rmmod double free
855f9dc87160 iio:st_magn: Fix enable device after trigger
ec800c8b028e iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers
91f1c5c65d73 Revert "usb: dwc3: gadget: skip Set/Clear Halt when invalid"
c7d370712e72 usb: core: quirks: add RESET_RESUME quirk for Cherry G230 Stream series
d4f924e359ad USB: usb-storage: Add new IDs to ums-realtek
b73301b7db4a staging: rtl8723bs: Add missing return for cfg80211_rtw_get_station
6d956674dfc5 staging: rtl8723bs: Fix incorrect sense of ether_addr_equal
fa299861aeeb staging: mt7621-pinctrl: fix uninitialized variable ngroups
bea52e4d1e42 staging: mt7621-dma: fix potentially dereferencing uninitialized 'tx_desc'
6df2b837939a staging: vchiq_arm: fix compat VCHIQ_IOC_AWAIT_COMPLETION
053b783d3da3 staging: most: use format specifier "%s" in snprintf
0d04d450fe0d dmaengine: at_hdmac: fix module unloading
9983a5bba09e dmaengine: at_hdmac: fix memory leak in at_dma_xlate()
6e74fc22db9c ARM: dts: rockchip: Remove @0 from the veyron memory node
b16c2b78f13c ASoC: pcm186x: Fix device reset-registers trigger value
f35f68c68ce4 ASoC: intel: cht_bsw_max98090_ti: Add quirk for boards using pmc_plt_clk_0
ffaaaf68be1e ext2: fix potential use after free
1666cf8c492d ext2: initialize opts.s_mount_opt as zero before using it
553927d6aab9 binder: fix race that allows malicious free of live buffer
a22ff9df71aa function_graph: Reverse the order of pushing the ret_stack and the callback
d2bcf809e838 function_graph: Move return callback before update of curr_ret_stack
aec14c812ba8 function_graph: Have profiler use curr_ret_stack and not depth
392374326d29 function_graph: Use new curr_ret_depth to manage depth instead of curr_ret_stack
72c33b233f05 function_graph: Make ftrace_push_return_trace() static
35aa93cbb04c MIPS: function_graph: Simplify with function_graph_enter()
bdfd01cfd1e7 arm64: function_graph: Simplify with function_graph_enter()
ef9326a145cd s390/function_graph: Simplify with function_graph_enter()
84d2023c14ea riscv/function_graph: Simplify with function_graph_enter()
87352d621bd3 parisc: function_graph: Simplify with function_graph_enter()
34773b2f57ae sparc/function_graph: Simplify with function_graph_enter()
56c1dd92c0fc sh/function_graph: Simplify with function_graph_enter()
5478648ee825 powerpc/function_graph: Simplify with function_graph_enter()
25ac02d0ed5e nds32: function_graph: Simplify with function_graph_enter()
217614993ace x86/function_graph: Simplify with function_graph_enter()
e7deeabe9aa3 microblaze: function_graph: Simplify with function_graph_enter()
fbbee0cfba5f ARM: function_graph: Simplify with function_graph_enter()
67d7bec3fc6c function_graph: Create function_graph_enter() to consolidate architecture code
b72fc1c3cce4 ALSA: hda/realtek - Add auto-mute quirk for HP Spectre x360 laptop
dcd51305cd41 ALSA: hda/realtek - fix the pop noise on headphone for lenovo laptops
524841156bbe ALSA: hda/realtek - fix headset mic detection for MSI MS-B171
094c00891be8 ALSA: hda/realtek - Support ALC300
bb951d8d965c ALSA: hda: Add ASRock N68C-S UCC the power_save blacklist
15c5fb33cda9 ALSA: sparc: Fix invalid snd_free_pages() at error path
d8a2dca04064 ALSA: control: Fix race between adding and removing a user element
b77c35ef8e38 ALSA: ac97: Fix incorrect bit shift at AC97-SPSA control write
e83c4405ebf0 ALSA: wss: Fix invalid snd_free_pages() at error path
adcd35a38cde fs: fix lost error code in dio_complete
205af59e7011 perf/x86/intel: Disallow precise_ip on BTS events
be0e2e2436cc perf/x86/intel: Add generic branch tracing check to intel_pmu_has_bts()
ad65b548409c perf/x86/intel: Move branch tracing setup to the Intel-specific source file
33448a8b577d x86/fpu: Disable bottom halves while loading FPU registers
00f91adf52af x86/MCE/AMD: Fix the thresholding machinery initialization order
8af02415638e arm64: dts: rockchip: Fix PCIe reset polarity for rk3399-puma-haikou.
ab7702162bbc PCI: Fix incorrect value returned from pcie_get_speed_cap()
1ce69ec307fd PCI: dwc: Fix MSI-X EP framework address calculation bug
b391ed731b39 PCI: layerscape: Fix wrong invocation of outbound window disable accessor
590657656bdc btrfs: relocation: set trans to be NULL after ending transaction
172a94eb2df2 Btrfs: fix race between enabling quotas and subvolume creation
715608dbf756 Btrfs: fix rare chances for data loss when doing a fast fsync
78a2890fcda1 Btrfs: ensure path name is null terminated at btrfs_control_ioctl
aaf249e36785 btrfs: Always try all copies when reading extent buffers
949ddf8039bf udf: Allow mounting volumes with incorrect identification strings
01fb21bf2424 xtensa: fix coprocessor part of ptrace_{get,set}xregs
5f84a996a0cb xtensa: fix coprocessor context offset definitions
4ec1039f474b xtensa: enable coprocessors that are being flushed
bbe23c4b948f KVM: VMX: re-add ple_gap module parameter
61c42d657c85 KVM: X86: Fix scan ioapic use-before-initialization
ffb01e73737b KVM: LAPIC: Fix pv ipis use-before-initialization
6d772df4038e KVM: x86: Fix kernel info-leak in KVM_HC_CLOCK_PAIRING hypercall
76c8476cc720 KVM: nVMX/nSVM: Fix bug which sets vcpu->arch.tsc_offset to L1 tsc_offset
b8b0c871640f kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb
471aca572529 kvm: mmu: Fix race in emulated page table writes
34b7a7cc5321 userfaultfd: shmem/hugetlbfs: only allow to register VM_MAYWRITE vmas
9f3baacee183 x86/speculation: Provide IBPB always command line options
d1ec2354787a x86/speculation: Add seccomp Spectre v2 user space protection mode
7b62ef142c11 x86/speculation: Enable prctl mode for spectre_v2_user
238ba6e75855 x86/speculation: Add prctl() control for indirect branch speculation
f67fafb88c46 x86/speculation: Prepare arch_smt_update() for PRCTL mode
e84124017450 x86/speculation: Prevent stale SPEC_CTRL msr content
59028be13385 x86/speculation: Split out TIF update
aecb99692a4d ptrace: Remove unused ptrace_may_access_sched() and MODE_IBRS
a17888154cf2 x86/speculation: Prepare for conditional IBPB in switch_mm()
dd73e15ea213 x86/speculation: Avoid __switch_to_xtra() calls
a87c81f0de3d x86/process: Consolidate and simplify switch_to_xtra() code
69985a2cae82 x86/speculation: Prepare for per task indirect branch speculation control
711875432218 x86/speculation: Add command line control for indirect branch speculation
8a34c70686e0 x86/speculation: Unify conditional spectre v2 print functions
507ac84e159b x86/speculataion: Mark command line parser data __initdata
275d90f0fa5d x86/speculation: Mark string arrays const correctly
10c24dc62a3a x86/speculation: Reorder the spec_v2 code
1572793b498d x86/l1tf: Show actual SMT state
f55e301ec4d5 x86/speculation: Rework SMT state change
340693ee912e sched/smt: Expose sched_smt_present static key
f98bf1640e06 x86/Kconfig: Select SCHED_SMT if SMP enabled
a2c094816f89 sched/smt: Make sched_smt_present track topology
6308dde50fcc x86/speculation: Reorganize speculation control MSRs update
39402a5e5a29 x86/speculation: Rename SSBD update functions
ca41d792a230 x86/speculation: Disable STIBP when enhanced IBRS is in use
f37b55ab8d84 x86/speculation: Move STIPB/IBPB string conditionals out of cpu_show_common()
30a8e214606d x86/speculation: Remove unnecessary ret variable in cpu_show_common()
2ee44e2d761a x86/speculation: Clean up spectre_v2_parse_cmdline()
e8494e5df78e x86/speculation: Update the TIF_SSBD comment
90d2c53fa196 x86/retpoline: Remove minimal retpoline support
8c4ad5d39144 x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support
cbc93677ef08 x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variant
44a076100a7b x86/speculation: Propagate information about RSB filling mitigation to sysfs
cacd9385b78d x86/speculation: Apply IBPB more strictly to avoid cross-process data leak
b07fc04c94e3 x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation
4e3fbd7433d7 tipc: fix lockdep warning during node delete
38af4b903210 net: phy: add workaround for issue where PHY driver doesn't bind to the device
aaa7e45c00d6 tcp: defer SACK compression after DupThresh
b8e076958a09 net/dim: Update DIM start sample after each DIM iteration
b06510bf095b virtio-net: fail XDP set if guest csum is negotiated
1af400beef4a virtio-net: disable guest csum during XDP set
4aaa233c79f6 net: skb_scrub_packet(): Scrub offload_fwd_mark
2f6cfb8e9f5c net: thunderx: set xdp_prog to NULL if bpf_prog_add fails
535b494a4fa5 usbnet: ipheth: fix potential recvmsg bug and recvmsg bug 2
711e3d37275c s390/qeth: fix length check in SNMP processing
720e0d05af0f rapidio/rionet: do not free skb before reading its length
f2a67e68dbae packet: copy user buffers before orphan or clone
abc963e459fd net: thunderx: set tso_hdrs pointer to NULL in nicvf_free_snd_queue
cfbee9e96d79 net: gemini: Fix copy/paste error
b24a813e792d net: don't keep lonely packets forever in the gro hash
18dd9bf51325 lan743x: fix return value for lan743x_tx_napi_poll
767d890331ea lan743x: Enable driver to work with LAN7431
8b37c40503ea mm/khugepaged: collapse_shmem() do not crash on Compound
af24c01831e4 mm/khugepaged: collapse_shmem() without freezing new_page
3e9646c76cb9 mm/khugepaged: minor reorderings in collapse_shmem()
ee13d69bc1e8 mm/khugepaged: collapse_shmem() remember to clear holes
78141aabfbb9 mm/khugepaged: fix crashes due to misaccounted holes
8797f2f4fe0d mm/khugepaged: collapse_shmem() stop if punched or truncated
d31ff4722f45 mm/huge_memory: fix lockdep complaint on 32-bit i_size_read()
7e18656c9a2c mm/huge_memory: splitting set mapping+index before unfreeze
69697e6a61c7 mm/huge_memory: rename freeze_page() to unmap_page()
96db90800c06 Linux 4.19.6
d873e63e0a01 media: ov5640: fix auto controls values when switching to manual mode
5724c6ad1c4c media: ov5640: fix wrong binning value in exposure calculation
644fefe4c6a7 media: ov5640: fix auto gain & exposure when changing mode
f8248ad512b6 media: ov5640: fix exposure regression
905fa2f2ffad media: ov5640: Fix timings setup code
c59dc6cf4fd9 media: ov5640: Re-work MIPI startup sequence
016a8fc59d14 rcu: Make need_resched() respond to urgent RCU-QS needs
38084377af4f gfs2: Fix iomap buffer head reference counting bug
9365cdf8db51 tty: wipe buffer if not echoing data
5a2261ed3a29 tty: wipe buffer.
5e8c28f4fd64 include/linux/pfn_t.h: force '~' to be parsed as an unary operator
e7a121e34c79 dax: Avoid losing wakeup in dax_lock_mapping_entry
9dec38554aa8 mm, page_alloc: check for max order in hot path
db89fc007b23 tmpfs: make lseek(SEEK_DATA/SEK_HOLE) return ENXIO with a negative offset
b44fd1268bd2 mm, memory_hotplug: check zone_movable in has_unmovable_pages
510066729ba4 z3fold: fix possible reclaim races
43b2ceb0d4e0 efi/arm: Revert deferred unmap of early memmap mapping
f5c632cfc424 powerpc/numa: Suppress "VPHN is not supported" messages
b5ccf0038f34 NFSv4: Fix an Oops during delegation callbacks
2bc40f89f47e kdb: Use strscpy with destination buffer size
4dc843906873 drm/amdgpu: fix bug with IH ring setup
021e2f3fc985 RISC-V: Silence some module warnings on 32-bit
fc9b1d7f791f riscv: add missing vdso_install target
ab1a52066938 SUNRPC: Fix a bogus get/put in generic_key_to_expire()
487d58a9c3e5 block: copy ioprio in __bio_clone_fast() and bounce
08f94d0628c3 perf/x86/intel/uncore: Add more IMC PCI IDs for KabyLake and CoffeeLake CPUs
08fbd4e011ef sched/fair: Fix cpu_util_wake() for 'execl' type workloads
b771863247e8 powerpc/io: Fix the IO workarounds code to work with Radix
73fd491d7708 floppy: fix race condition in __floppy_read_block_0()
c587ba480e12 crypto: simd - correctly take reqsize of wrapped skcipher into account
49bcb0415da9 rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write
b411f9463a78 rtc: cmos: Do not export alarm rtc_ops when we do not support alarms
121f89dd7024 cpufreq: imx6q: add return value check for voltage scale
8d976d7a883c KVM: PPC: Move and undef TRACE_INCLUDE_PATH/FILE
c7ae5115e32a scsi: hisi_sas: Remove set but not used variable 'dq_list'
3d57a04fbd6d scsi: lpfc: fix remoteport access
08609aace6bb tools/testing/nvdimm: Fix the array size for dimm devices.
c4b25ef590f5 pinctrl: meson: fix meson8b ao pull register bits
93620bc4de8a pinctrl: meson: fix meson8 ao pull register bits
c74e3fc6d0c3 pinctrl: meson: fix gxl ao pull register bits
5922ab4adc13 pinctrl: meson: fix gxbb ao pull register bits
71ab26e917de pinctrl: meson: fix pinconf bias disable
20663629f6ae fanotify: fix handling of events on child sub-directory
1dc3c17cdb9f fsnotify: generalize handling of extra event flags
6763372b816c IB/hfi1: Eliminate races in the SDMA send error path
87403e35bc56 ACPICA: AML interpreter: add region addresses in global list during initialization
d5a9ba4324d5 can: flexcan: remove not needed struct flexcan_priv::tx_mb and struct flexcan_priv::tx_mb_idx
24e5589791d0 can: flexcan: Always use last mailbox for TX
50d94ac1da74 can: hi311x: Use level-triggered interrupt
bf8295faed73 can: raw: check for CAN FD capable netdev in raw_sendmsg()
04f985776f04 can: flexcan: handle tx-complete CAN frames via rx-offload infrastructure
f699c3222635 can: flexcan: use can_rx_offload_queue_sorted() for flexcan_irq_bus_*()
6ce9d61a6537 can: rx-offload: rename can_rx_offload_irq_queue_err_skb() to can_rx_offload_queue_tail()
169130c87a88 can: rx-offload: introduce can_rx_offload_get_echo_skb() and can_rx_offload_queue_sorted() functions
474673a94f17 can: dev: __can_get_echo_skb(): print error message, if trying to echo non existing skb
e3b8d98e3758 can: dev: __can_get_echo_skb(): Don't crash the kernel if can_priv::echo_skb is accessed out of bounds
cfc8ed910312 can: dev: __can_get_echo_skb(): replace struct can_frame by canfd_frame to access frame length
5877d2c0eac8 can: dev: can_get_echo_skb(): factor out non sending code to __can_get_echo_skb()
8d2aed6439cf can: flexcan: Unlock the MB unconditionally
09132a6b01a7 drm/ast: Remove existing framebuffers before loading driver
80142af39bd9 drm/ast: fixed cursor may disappear sometimes
e9d2c0fbe161 drm/ast: change resolution may cause screen blurred
382debd2fe42 drm/i915: Disable LP3 watermarks on all SNB machines
e3290a5e24df drm/amdgpu: Fix oops when pp_funcs->switch_power_profile is unset
d9ea911e2b90 drm/vc4: Set ->legacy_cursor_update to false when doing non-async updates
7841a545f8bd drm/amdgpu: Add missing firmware entry for HAINAN
d543f583e3af drm/fb-helper: Blacklist writeback when adding connectors to fbdev
cddcc9959a32 tcp: do not release socket ownership in tcp_close()
5999609a93a4 mm/memory.c: recheck page table entry with page table lock held
3996e891ec97 mm: don't warn about large allocations for slab
292c48e2971e llc: do not use sk_eat_skb()
331bd738eb17 gfs2: Don't leave s_fs_info pointing to freed memory in init_sbd
cd947138e8c3 sctp: clear the transport of some out_chunk_list chunks in sctp_assoc_rm_peer
8380cbfe4eab bfs: add sanity check at bfs_fill_super()
9891b528f91d Input: synaptics - avoid using uninitialized variable when probing
3962e78a9fcb selinux: Add __GFP_NOWARN to allocation at str_read()
829567dd9196 v9fs_dir_readdir: fix double-free on p9stat_read error
9f9e2bd0bbcf tools/power/cpupower: fix compilation with STATIC=true
b7d5ef6af8eb opp: ti-opp-supply: Correct the supply in _get_optimal_vdd_voltage call
50f4a3b8eb62 opp: ti-opp-supply: Dynamically update u_volt_min
54923bc74beb brcmfmac: fix reporting support for 160 MHz channels
c74c926ffa0a iwlwifi: mvm: don't use SAR Geo if basic SAR is not used
4969751575c8 iwlwifi: mvm: fix regulatory domain update when the firmware starts
b643d705441c iwlwifi: mvm: support sta_statistics() even on older firmware
29d920ba59c3 iwlwifi: fix wrong WGDS_WIFI_DATA_SIZE
602162dce8a4 gpio: don't free unallocated ida on gpiochip_add_data_with_key() error path
6d24302acc10 mmc: sdhci-pci: Workaround GLK firmware failing to restore the tuning value
52f4036282f7 mmc: sdhci-pci: Try "cd" for card-detect lookup before using NULL
bcec3b858057 Documentation/security-bugs: Postpone fix publication in exceptional cases
160a390a9d53 Documentation/security-bugs: Clarify treatment of embargoed information
fc0f90849a45 MAINTAINERS: Add Sasha as a stable branch maintainer
27d6abfb99c8 ALSA: oss: Use kvzalloc() for local buffer allocations
cc8b329fef53 usb: xhci: Prevent bus suspend if a port connect change or polling state is detected
b6cc7f9c6461 xhci: Add quirk to workaround the errata seen on Cavium Thunder-X2 Soc
cad3876cd23d usb: xhci: fix timeout for transition from RExit to U0
60ac01c60ba9 usb: xhci: fix uninitialized completion when USB3 port got wrong status
3e8886bd158f xhci: Add check for invalid byte size error when UAS devices are connected.
a237717dfdbc xhci: handle port status events for removed USB3 hcd
82c1b66894fd xhci: Fix leaking USB3 shared_hcd at xhci removal
2ff85eaf165f usb: dwc3: Fix NULL pointer exception in dwc3_pci_remove()
c4d1e71e5613 usb: dwc3: core: Clean up ULPI device
4b977515da48 usb: dwc3: gadget: Properly check last unaligned/zero chain TRB
47cb27191f6c usb: dwc3: gadget: fix ISOC TRB type on unaligned transfers
269c01eb49ed usb: core: Fix hub port connection events lost
711bd5d290da efi/libstub: arm: support building with clang
fb87a92b4396 HID: steam: remove input device when a hid client is running.
(From OE-Core rev: 40d6b10ebed9355b5c6eea4fab222c96fba3a3ac)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.19 will replace 4.14 as the LTS kernel, so we drop the 4.14
recipes to enforce this update.
(From OE-Core rev: 275a2bb2570e5c4ee53228c5d2783d9044c24413)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce the 4.19 linux kernel as the reference for LTS and eventually
LSB distros. For now, we keep the other versions around until the h/w
reference BSPs are updated and 4.20+ are available as the "latest"
kernel. This avoid updating qemu* to 4.19 as the default for a small
transition window.
(From OE-Core rev: d52d68adff8fc2b9b2a98405f57fb06d2ed26c24)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg releases that comprise the following commits:
a9da8725b7a7 Linux 4.18.20
55eac9e85dea Revert "ACPICA: AML interpreter: add region addresses in global list during initialization"
770271829fbe CONFIG_XEN_PV breaks xen_create_contiguous_region on ARM
355c0d23ff88 drm/i915: Fix possible race in intel_dp_add_mst_connector()
0400eb06d37c drm/i915/execlists: Force write serialisation into context image vs execution
06e562e7f515 drm/i915/ringbuffer: Delay after EMIT_INVALIDATE for gen4/gen5
41a2334c224e drm/i915: Mark pin flags as u64
a4820798a2ed drm/i915: Don't oops during modeset shutdown after lpe audio deinit
d0baf6ac9fcc drm/i915: Compare user's 64b GTT offset even on 32b
b9d3cae0b451 drm/i915: Fix ilk+ watermarks when disabling pipes
877e75bc93ec drm/i915: Fix error handling for the NV12 fb dimensions check
63f4972b9b22 drm/i915/hdmi: Add HDMI 2.0 audio clock recovery N values
df00d4ac7d26 drm/i915/dp: Restrict link retrain workaround to external monitors
6440b1a7f8f2 drm/i915/dp: Fix link retraining comment in intel_dp_long_pulse()
f28285d10021 drm/i915: Large page offsets for pread/pwrite
874d2275ee94 drm/i915: Skip vcpi allocation for MSTB ports that are gone
0cf4813b215f drm/i915: Don't unset intel_connector->mst_port
6aba99c55748 drm/i915: Restore vblank interrupts earlier
68b4918e7072 drm/i915/dp: Link train Fallback on eDP only if fallback link BW can fit panel's native mode
a90d6f083b7a drm: panel-orientation-quirks: Add quirk for Acer One 10 (S1003)
4a7daecdaab9 drm/dp_mst: Check if primary mstb is null
fbea4573dc0b drm/etnaviv: fix bogus fence complete check in timeout handler
13b3707bafea drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD
1cca6c472fcc drm/nouveau: Fix nv50_mstc->best_encoder()
699242cf4aca drm/nouveau: Check backlight IDs are >= 0, not > 0
bbf40af9c2d8 drm/amdgpu: add missing CHIP_HAINAN in amdgpu_ucode_get_load_type
842b99a831c5 drm/amdgpu: Fix typo in amdgpu_vmid_mgr_init
5b231a7b3326 drm/msm: fix OF child-node lookup
0ad256e8ed36 drm/rockchip: Allow driver to be shutdown on reboot/kexec
6f680252dc25 efi/arm/libstub: Pack FDT after populating it
e47645d9b0fb mm/swapfile.c: use kvzalloc for swap_info_struct allocation
82743f44a420 hugetlbfs: fix kernel BUG at fs/hugetlbfs/inode.c:444!
2ca904bea902 lib/ubsan.c: don't mark __ubsan_handle_builtin_unreachable as noreturn
f4ae32cf2589 crypto: user - fix leaking uninitialized memory to userspace
f784bb167d5f libata: blacklist SAMSUNG MZ7TD256HAFV-000L9 SSD
08f382aeba0c gfs2: Fix metadata read-ahead during truncate (2)
47e7c3fc9b8b gfs2: Put bitmap buffers in put_super
bd9568c3484b configfs: replace strncpy with memcpy
5fe5a24a8cc8 selinux: check length properly in SCTP bind hook
a80cb9b67334 fuse: fix leaked notify reply
e6fed825e0eb fuse: fix use-after-free in fuse_direct_IO()
693a06b52aab rtc: hctosys: Add missing range error reporting
651c5d16f3a9 nfsd: COPY and CLONE operations require the saved filehandle to be set
f194756edd6c NFSv4: Don't exit the state manager without clearing NFS4CLNT_MANAGER_RUNNING
7142f0dcc2c8 sunrpc: correct the computation for page_ptr when truncating
13c70ef5b3c7 kdb: print real address of pointers instead of hashed addresses
6514d22a21ad kdb: use correct pointer when 'btc' calls 'btt'
6520fe938946 mnt: fix __detach_mounts infinite loop
d1a5f8e4d27e mount: Prevent MNT_DETACH from disconnecting locked mounts
376732709e5d mount: Don't allow copying MNT_UNBINDABLE|MNT_LOCKED mounts
afae7f7336d5 mount: Retest MNT_LOCKED in do_umount
e1d8594f10d1 ext4: fix buffer leak in __ext4_read_dirblock() on error path
4f1e87322991 ext4: fix buffer leak in ext4_expand_extra_isize_ea() on error path
73b05bc9cfdc ext4: fix buffer leak in ext4_xattr_move_to_block() on error path
93b0fc8e9005 ext4: release bs.bh before re-using in ext4_xattr_block_find()
ef3af4ee5b81 ext4: fix buffer leak in ext4_xattr_get_block() on error path
2efa77a4df20 ext4: fix possible leak of s_journal_flag_rwsem in error path
891dd04dc1cc ext4: fix possible leak of sbi->s_group_desc_leak in error path
0ff14c16afc8 ext4: avoid possible double brelse() in add_new_gdb() on error path
84d88fc7e751 ext4: fix missing cleanup if ext4_alloc_flex_bg_array() fails while resizing
78805335fb17 ext4: avoid buffer leak in ext4_orphan_add() after prior errors
aac055dfa4ee ext4: avoid buffer leak on shutdown in ext4_mark_iloc_dirty()
d61417997e50 ext4: fix possible inode leak in the retry loop of ext4_resize_fs()
dd6d368f6f18 ext4: missing !bh check in ext4_xattr_inode_write()
c802502a2e80 ext4: avoid potential extra brelse in setup_new_flex_group_blocks()
56415293423b ext4: add missing brelse() add_new_gdb_meta_bg()'s error path
ab88f38df803 ext4: add missing brelse() in set_flexbg_block_bitmap()'s error path
5ee0b3985aec ext4: add missing brelse() update_backups()'s error path
d4b97e20c7ea clockevents/drivers/i8253: Add support for PIT shutdown quirk
a77da38bfda3 Btrfs: fix data corruption due to cloning of eof block
0c4fb98c8f6f Btrfs: fix infinite loop on inode eviction after deduplication of eof block
1064b11af79d Btrfs: fix cur_offset in the error case for nocow
383ceb87733b btrfs: fix pinned underflow after transaction aborted
57da76a94a8a watchdog/core: Add missing prototypes for weak functions
11cf9be2e473 arch/alpha, termios: implement BOTHER, IBSHIFT and termios2
7d7a750eabf2 termios, tty/tty_baudrate.c: fix buffer overrun
d74a4fc841cf x86/hyper-v: Enable PIT shutdown quirk
bcdff99a9348 x86/cpu/vmware: Do not trace vmware_sched_clock()
9eaed9022502 of, numa: Validate some distance map rules
688995faeb6f perf stat: Handle different PMU names with common prefix
b66ad9290fbf hwmon: (core) Fix double-free in __hwmon_device_register()
1ef2d80cb3da mtd: docg3: don't set conflicting BCH_CONST_PARAMS option
ca589cb08cd6 mtd: nand: Fix nanddev_neraseblocks()
98f1ce39c92c mtd: spi-nor: cadence-quadspi: Return error code in cqspi_direct_read_execute()
ab2b363733ac bonding/802.3ad: fix link_failure_count tracking
e36798fc10e2 ARM: 8809/1: proc-v7: fix Thumb annotation of cpu_v7_hvc_switch_mm
5d64390cff09 netfilter: conntrack: fix calculation of next bucket number in early_drop
ca1c5698fa94 memory_hotplug: cond_resched in __remove_pages
a01e1536fc68 mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings
b74b152e9442 ocfs2: free up write context when direct IO failed
8362d09a7ff3 ocfs2: fix a misuse a of brelse after failing ocfs2_check_dir_entry
f458499f2c96 soc: ti: QMSS: Fix usage of irq_set_affinity_hint
dd4f21dfb81d Revert "powerpc/8xx: Use L1 entry APG to handle _PAGE_ACCESSED for CONFIG_SWAP"
094e5a111d0e SCSI: fix queue cleanup race before queue initialization is done
aef93deeff58 scsi: qla2xxx: Initialize port speed to avoid setting lower speed
3fb039d37f96 vhost/scsi: truncate T10 PI iov_iter to prot_bytes
543c52975eb8 reset: hisilicon: fix potential NULL pointer dereference
84d1d9cc1c0c acpi, nfit: Fix ARS overflow continuation
13bb0de8e25c acpi/nfit, x86/mce: Validate a MCE's address before using it
cdd219834f93 acpi/nfit, x86/mce: Handle only uncorrectable machine checks
69df28065f30 mach64: fix image corruption due to reading accelerator registers
7f6c07f5402e mach64: fix display corruption on big endian machines
c5a924179783 thermal: core: Fix use-after-free in thermal_cooling_device_destroy_sysfs
bb34fbacd90c Revert "ceph: fix dentry leak in splice_dentry()"
e5d8d13800ca libceph: bump CEPH_MSG_MAX_DATA_LEN
1189a2216800 clk: rockchip: Fix static checker warning in rockchip_ddrclk_get_parent call
91a17b82ae41 clk: rockchip: fix wrong mmc sample phase shift for rk3328
7b659a3e5116 clk: sunxi-ng: h6: fix bus clocks' divider position
3a6f7116bf57 clk: at91: Fix division by zero in PLL recalc_rate()
b4972d19dbf8 clk: s2mps11: Fix matching when built as module and DT node contains compatible
7b8b07a696c2 um: Drop own definition of PTRACE_SYSEMU/_SINGLESTEP
8e81ecdcbaaf xtensa: fix boot parameters address translation
b9474cabc3c4 xtensa: make sure bFLT stack is 16 byte aligned
8501e03baaf2 xtensa: add NOTES section to the linker script
454dd3e93e38 MIPS: Loongson-3: Fix BRIDGE irq delivery problem
099ef76d3dd9 MIPS: Loongson-3: Fix CPU UART irq delivery problem
22f185cf0272 zram: close udev startup race condition as default groups
b2405b2330d3 clk: meson: axg: mark fdiv2 and fdiv3 as critical
b7dcf0d3a8f1 clk: meson-gxbb: set fclk_div3 as CLK_IS_CRITICAL
74cd739ed987 arm64: dts: stratix10: fix multicast filtering
f0ef4cf3d407 arm64: dts: stratix10: Support Ethernet Jumbo frame
f8c835816ad4 scsi: qla2xxx: Fix NVMe session hang on unload
318cb27e7fa0 scsi: qla2xxx: Fix re-using LoopID when handle is in use
aa67028ac422 ovl: fix recursive oi->lock in ovl_link()
1b8ca12ee8af fuse: set FR_SENT while locked
10b6b5d193b6 fuse: fix blocked_waitq wakeup
8b71920c90c3 fuse: Fix use-after-free in fuse_dev_do_write()
f7e709c59e58 fuse: Fix use-after-free in fuse_dev_do_read()
38d3f7b2e20f scsi: qla2xxx: Fix driver hang when FC-NVMe LUNs are configured
f05744c0277c scsi: qla2xxx: Fix duplicate switch database entries
792b70b674bf scsi: qla2xxx: shutdown chip if reset fail
187dc52ddacb scsi: qla2xxx: Remove stale debug trace message from tcm_qla2xxx
008bab2eb77d scsi: qla2xxx: Fix process response queue for ISP26XX and above
7e9178071fb1 scsi: qla2xxx: Fix incorrect port speed being set for FC adapters
c1d44176f2c3 serial: sh-sci: Fix could not remove dev_attr_rx_fifo_timeout
6fcbb25da516 ovl: check whiteout in ovl_create_over_whiteout()
6915a20df5f8 ovl: fix error handling in ovl_verify_set_fh()
1dffd49a92dd cdrom: fix improper type cast, which can leat to information leak.
09901a24c215 9p: clear dangling pointers in p9stat_free
ab5b8371449b ARM: dts: imx6ull: keep IMX6UL_ prefix for signals on both i.MX6UL and i.MX6ULL
8515b9edf7a0 udf: Prevent write-unsupported filesystem to be remounted read-write
a9dbfcffbfba 9p locks: fix glock.client_id leak in do_lock
b710256edba8 staging: most: video: fix registration of an empty comp core_component
938e30c56446 drm/amdgpu: Fix SDMA TO after GPU reset v3
35c37a531fa0 drm: rcar-du: Update Gen3 output limitations
e6b5db61b2d6 staging:iio:ad7606: fix voltage scales
3136e7a31323 powerpc/selftests: Wait all threads to join
e7bce56063ac media: tvp5150: fix width alignment during set_selection()
2139f23fd233 sc16is7xx: Fix for multi-channel stall
809923bfbf77 MIPS/PCI: Call pcie_bus_configure_settings() to set MPS/MRRS
0305be8f74fb powerpc/memtrace: Remove memory in chunks
439f5244a9f4 powerpc/boot: Ensure _zimage_start is a weak symbol
c6e2ae7ca034 MIPS: kexec: Mark CPU offline before disabling local IRQ
09249888b1ad media: coda: don't overwrite h.264 profile_idc on decoder instance
56a738841c49 media: pci: cx23885: handle adding to list failure
ae2a9a2cebf3 drm/hisilicon: hibmc: Do not carry error code in HiBMC framebuffer pointer
7cb3b831fea3 drm/amd/display: fix gamma not being applied
7657b5bd3475 drm/omap: fix memory barrier bug in DMM driver
56b14ace2cda powerpc/mm: Don't report hugepage tables as memory leaks when using kmemleak
905119e2ea85 powerpc/nohash: fix undefined behaviour when testing page size support
c89005fa57cc ARM: imx_v6_v7_defconfig: Select CONFIG_TMPFS_POSIX_ACL
fab609de31de drm/amdgpu/powerplay: fix missing break in switch statements
50513ecaf5f8 tracing/kprobes: Check the probe on unloaded module correctly
39abc57fe589 tty: check name length in tty_find_polling_driver()
45394cc9a3c4 powerpc/eeh: Fix possible null deref in eeh_dump_dev_log()
6fc2ea857297 powerpc/Makefile: Fix PPC_BOOK3S_64 ASFLAGS
9cfe21c38e5b Input: wm97xx-ts - fix exit path
f813b2981fc3 drm/amd/display: fix bug of accessing invalid memory
d74680a91a15 powerpc/mm: fix always true/false warning in slice.c
7bd05ac862e2 powerpc/mm: Fix page table dump to work on Radix
c467bb652d44 powerpc/64/module: REL32 relocation range check
8d16dd049428 powerpc/traps: restore recoverability of machine_check interrupts
6559b2338d96 Linux 4.18.19
5c4f8ea1f313 MD: fix invalid stored role for a disk - try2
ddf734ede053 bpf: wait for running BPF programs when updating map-in-map
bbfed258eb08 userns: also map extents in the reverse map to kernel IDs
46aa7eb182c9 net: sched: Remove TCA_OPTIONS from policy
928b261cfbe6 Btrfs: fix use-after-free when dumping free space
b7edab6df938 Btrfs: fix use-after-free during inode eviction
4fbcf14ceb4c btrfs: move the dio_sem higher up the callchain
904c7dc9dec1 btrfs: don't run delayed_iputs in commit
13d6628c019d btrfs: fix insert_reserved error handling
68c7db7c8f76 btrfs: only free reserved extent if we didn't insert it
3e9205b1d619 btrfs: don't use ctl->free_space for max_extent_size
171d45102ea8 btrfs: set max_extent_size properly
17a7240a9508 btrfs: reset max_extent_size properly
645dd2f9feab Btrfs: fix deadlock when writing out free space caches
d7c7d298a76f Btrfs: fix assertion on fsync of regular file when using no-holes feature
191597b15b24 Btrfs: fix null pointer dereference on compressed write path error
07cf04229031 btrfs: qgroup: Dirty all qgroups before rescan
96437af32b61 Btrfs: fix wrong dentries after fsync of file that got its parent replaced
41bdbc9ea1ec Btrfs: fix warning when replaying log after fsync of a tmpfile
09cbc39c1b7f btrfs: make sure we create all new block groups
302e6eaa09d8 btrfs: reset max_extent_size on clear in a bitmap
6078b6126651 btrfs: protect space cache inode alloc with GFP_NOFS
ff9e68fd136b btrfs: release metadata before running delayed refs
07ddb36eb150 Btrfs: don't clean dirty pages during buffered writes
0efba7a66329 btrfs: wait on caching when putting the bg cache
112249f4f379 btrfs: keep trim from interfering with transaction commits
74a0609298dc btrfs: don't attempt to trim devices that don't support it
599c6e4376cb btrfs: iterate all devices during trim, instead of fs_devices::alloc_list
d12a47554ea9 btrfs: Ensure btrfs_trim_fs can trim the whole filesystem
89dbabf7e2c3 btrfs: Enhance btrfs_trim_fs function to handle error better
449f9b8dcf15 btrfs: fix error handling in btrfs_dev_replace_start
e7e2afa8f83c btrfs: fix error handling in free_log_tree
9fc2295c6ce8 btrfs: locking: Add extra check in btrfs_init_new_buffer() to avoid deadlock
a0d7061e2905 btrfs: Handle owner mismatch gracefully when walking up tree
68b0e1cae6f3 btrfs: qgroup: Avoid calling qgroup functions if qgroup is not enabled
3734cce8cf6c tracing: Return -ENOENT if there is no target synthetic event
7d3714bb7abe selftests/powerpc: Fix ptrace tm failure
4bd6237fc951 selftests/ftrace: Fix synthetic event test to delete event correctly
efd03258cc5c soc/tegra: pmc: Fix child-node lookup
d4d1e7a2b1c8 soc: qcom: rmtfs-mem: Validate that scm is available
4bfdd88d22a1 arm64: dts: stratix10: Correct System Manager register size
09242a77726c ARM: dts: socfpga: Fix SDRAM node address for Arria10
29b85eacc07a Cramfs: fix abad comparison when wrap-arounds occur
cb3de273d7a3 rpmsg: smd: fix memory leak on channel create
fd376dc39890 arm64: lse: remove -fcall-used-x0 flag
391d6f13307e media: hdmi.h: rename ADOBE_RGB to OPRGB and ADOBE_YCC to OPYCC
11e879dd4a6d media: replace ADOBERGB by OPRGB
aff52a2f431b media: media colorspaces*.rst: rename AdobeRGB to opRGB
2b33dfe74c2a drm/mediatek: fix OF sibling-node lookup
795449cb0c51 media: adv7842: when the EDID is cleared, unconfigure CEC as well
feb3a39a17ab media: adv7604: when the EDID is cleared, unconfigure CEC as well
5df5d951c107 media: em28xx: fix handler for vidioc_s_input()
634eb3c8780a media: em28xx: make v4l2-compliance happier by starting sequence on zero
be91657a304c media: em28xx: fix input name for Terratec AV 350
95dfd1d5aad4 media: tvp5150: avoid going past array on v4l2_querymenu()
1ac7a4b394ad media: em28xx: use a default format if TRY_FMT fails
e448dfd6d3ec media: cec: forgot to cancel delayed work
b8ee0bd5b099 media: cec: fix the Signal Free Time calculation
11f9f361470d media: cec: add new tx/rx status bits to detect aborts/timeouts
6b92b55fd2cf xen-blkfront: fix kernel panic with negotiate_mq error path
6bc564ec5682 xen: remove size limit of privcmd-buf mapping interface
905632c2e61d xen: fix xen_qlock_wait()
dbcbbbbf5aa3 media: cec: integrate cec_validate_phys_addr() in cec-api.c
e4e97d13dd13 media: cec: make cec_get_edid_spa_location() an inline function
239efda32abd kgdboc: Passing ekgdboc to command line causes panic
e589ba2d14ad Revert "media: dvbsky: use just one mutex for serializing device R/W ops"
d661c89b177d media: v4l2-tpg: fix kernel oops when enabling HFLIP and OSD
ebc14b2ad1e7 net: bcmgenet: fix OF child-node lookup
0f664bdc5f98 TC: Set DMA masks for devices
eddf6140dbea iommu/arm-smmu: Ensure that page-table updates are visible before TLBI
220720a431bf ocxl: Fix access to the AFU Descriptor Data
02eabf6ac681 power: supply: twl4030-charger: fix OF sibling-node lookup
8631b7bd98b9 rtc: cmos: Remove the `use_acpi_alarm' module parameter for !ACPI
5b6bdf14357c rtc: cmos: Fix non-ACPI undefined reference to `hpet_rtc_interrupt'
e0e518677149 rtc: ds1307: fix ds1339 wakealarm support
1145e2b587d7 MIPS: OCTEON: fix out of bounds array access on CN68XX
5cd5e22d5b1d MIPS: memset: Fix CPU_DADDI_WORKAROUNDS `small_fixup' regression
163121109386 powerpc/64s/hash: Do not use PPC_INVALIDATE_ERAT on CPUs before POWER9
ba5a3866a609 powerpc/tm: Fix HFSCR bit for no suspend case
c0668860758e powerpc/msi: Fix compile error on mpc83xx
a0bac51733c0 fsnotify: Fix busy inodes during unmount
ddb75410b6a6 media: ov7670: make "xclk" clock optional
933833d56e3c dm zoned: fix various dmz_get_mblock() issues
8acae84c058c dm zoned: fix metadata block ref counting
58963dc60bb5 dm ioctl: harden copy_params()'s copy_from_user() from malicious users
1bc549827094 lockd: fix access beyond unterminated strings in prints
7b4718d2d53d nfsd: Fix an Oops in free_session()
04868067e324 nfsd: correctly decrement odstate refcount in error path
209502944483 nfs: Fix a missed page unlock after pg_doio()
006a1e6a2d9e NFSv4.1: Fix the r/wsize checking
8fb746ed8e0c NFC: nfcmrvl_uart: fix OF child-node lookup
193e214685dd genirq: Fix race on spurious interrupt detection
06cbcf582caf printk: Fix panic caused by passing log_buf_len to command line
fa4aec4d1e65 smb3: on kerberos mount if server doesn't specify auth type use krb5
e8c4202e4b16 smb3: do not attempt cifs operation in smb3 query info error path
278223e1fa26 smb3: allow stats which track session and share reconnects to be reset
418f8bfb26e9 w1: omap-hdq: fix missing bus unregister at removal
9cdbf32ae7d2 iio: adc: at91: fix wrong channel number in triggered buffer mode
b4c1120e3182 iio: adc: at91: fix acking DRDY irq on simple conversions
8221ff37fbb8 iio: adc: imx25-gcq: Fix leak of device_node in mx25_gcq_setup_cfgs()
bcd4f42d000c iio: ad5064: Fix regulator handling
33af6b490a1b kbuild: fix kernel/bounds.c 'W=1' warning
dad142caf8b3 KVM: arm64: Fix caching of host MDCR_EL2 value
a665c4ab7796 KVM: arm/arm64: Ensure only THP is candidate for adjustment
d09d8eaa1806 mm/hmm: fix race between hmm_mirror_unregister() and mmu_notifier callback
7bf8e1e365ba mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly
6d2ac8dbfd92 hugetlbfs: dirty pages as they are added to pagecache
e484e62bc857 ima: fix showing large 'violations' or 'runtime_measurements_count'
6f3691794c1a mm: /proc/pid/smaps_rollup: fix NULL pointer deref in smaps_pte_range()
2016e63b7692 crypto: speck - remove Speck
d4c47d9cf347 crypto: aegis/generic - fix for big endian systems
805fd900bda2 crypto: morus/generic - fix for big endian systems
9899e0e4528e crypto: aesni - don't use GFP_ATOMIC allocation if the request doesn't cross a page in gcm
c00600a96550 crypto: tcrypt - fix ghash-generic speed test
6aa3369f1768 crypto: lrw - Fix out-of bounds access on counter overflow
9f0654d9a878 signal: Guard against negative signal numbers in copy_siginfo_from_user32
071161f0cce4 signal/GenWQE: Fix sending of SIGKILL
a5d415583c30 PCI: vmd: White list for fast interrupt handlers
a06dfc8d5e18 PCI: Add Device IDs for Intel GPU "spurious interrupt" quirk
c34f34ce93bb PCI/ASPM: Fix link_state teardown on device removal
2e952918d04a ARM: dts: dra7: Fix up unaligned access setting for PCIe EP
5074cd8b9936 EDAC, skx_edac: Fix logical channel intermediate decoding
b0fc82d940a5 EDAC, {i7core,sb,skx}_edac: Fix uncorrected error counting
6ba33971125c EDAC, amd64: Add Family 17h, models 10h-2fh support
d08463386852 HID: hiddev: fix potential Spectre v1
fafa54248a2f HID: wacom: Work around HID descriptor bug in DTK-2451 and DTH-2452
6f076021ce7e selinux: fix mounting of cgroup2 under older policies
dabb79bd2602 ext4: fix use-after-free race in ext4_remount()'s error path
798d9a4c4d37 ext4: propagate error from dquot_initialize() in EXT4_IOC_FSSETXATTR
c68737e3e4c3 ext4: fix setattr project check in fssetxattr ioctl
5dd65242be71 ext4: initialize retries variable in ext4_da_write_inline_data_begin()
34e60cb2f8ea ext4: fix EXT4_IOC_SWAP_BOOT
d543195430fa gfs2_meta: ->mount() can get NULL dev_name
08a394fe1c04 jbd2: fix use after free in jbd2_log_do_checkpoint()
54baa22b41dc IB/rxe: Revise the ib_wr_opcode enum
5855f2051298 IB/mlx5: Fix MR cache initialization
2a270b59969a ASoC: sta32x: set ->component pointer in private struct
31a02dd4ee74 ASoC: intel: skylake: Add missing break in skl_tplg_get_token()
db1af9641867 libnvdimm, pmem: Fix badblocks population for 'raw' namespaces
847179b1261a libnvdimm, region: Fail badblocks listing for inactive regions
e31a8418c8df libnvdimm: Hold reference on parent while scheduling async init
1ebefc8202c8 dmaengine: ppc4xx: fix off-by-one build failure
389d46234082 net/ipv4: defensive cipso option parsing
a11eb1510617 iwlwifi: mvm: check return value of rs_rate_from_ucode_rate()
255768cf1b57 mt76: mt76x2: fix multi-interface beacon configuration
7ea2dd519f59 usb: gadget: udc: renesas_usb3: Fix b-device mode for "workaround"
4d5f0d220a29 usb: typec: tcpm: Fix APDO PPS order checking to be based on voltage
d0e02f4b273b usbip:vudc: BUG kmalloc-2048 (Not tainted): Poison overwritten
fc988a353d59 libertas: don't set URB_ZERO_PACKET on IN USB transfer
9c47f44d0a93 xen/pvh: don't try to unplug emulated devices
9006cb392293 xen/pvh: increase early stack size
f91721a7895e xen: make xen_qlock_wait() nestable
2c2395aaa9ba xen: fix race in xen_qlock_wait()
726a8d0ae0f9 xen/balloon: Support xend-based toolstack
a49e27c0efe5 xen/blkfront: avoid NULL blkfront_info dereference on device removal
a76ef635cb22 tpm: Restore functionality to xen vtpm driver.
2c400cb65dc4 xen-swiotlb: use actually allocated size on check physical continuous
884f8f6e1b41 ARM: dts: exynos: Mark 1 GHz CPU OPP as suspend OPP on Exynos5250
feb08c3f3916 ARM: dts: exynos: Convert exynos5250.dtsi to opp-v2 bindings
4d5dd7609a88 arm: dts: exynos: Add missing cooling device properties for CPUs
e552bb9a21fd OPP: Free OPP table properly on performance state irregularities
d07c6c437300 f2fs: fix to account IO correctly
16eb8add5ee9 f2fs: fix to recover cold bit of inode block during POR
e8683288c629 Revert "f2fs: fix to clear PG_checked flag in set_page_dirty()"
e602d368b007 cpupower: Fix AMD Family 0x17 msr_pstate size
1511aba32429 ALSA: hda: Check the non-cached stream buffers more explicitly
050d782641c2 IB/rxe: fix for duplicate request processing and ack psns
8efbd111471e dmaengine: dma-jz4780: Return error if not probed from DT
faef9773f48a mfd: menelaus: Fix possible race condition and leak
2dc063e47362 signal: Always deliver the kernel's SIGKILL and SIGSTOP to a pid namespace init
6d5b9f9d3ec3 f2fs: report error if quota off error during umount
b41c30c5acc9 f2fs: avoid sleeping under spin_lock
ec8eb8b57057 scsi: lpfc: Correct race with abort on completion path
051b5fa2890b scsi: lpfc: Correct soft lockup when running mds diagnostics
e30cf6a23808 uio: ensure class is registered before devices
6a5975e8383c IB/mlx5: Allow transition of DCI QP to reset
12142fb13d30 firmware: coreboot: Unmap ioregion after device population
0470ae4236d0 driver/dma/ioat: Call del_timer_sync() without holding prep_lock
fbb33dd581b3 Smack: ptrace capability use fixes
6ae6cf2975fe usb: chipidea: Prevent unbalanced IRQ disable
c4b86b1461f0 crypto: caam - fix implicit casts in endianness helpers
d7f59eb8ae0d PCI: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode
0cf50920c081 coresight: etb10: Fix handling of perf mode
c259506c8a79 PCI/MSI: Warn and return error if driver enables MSI/MSI-X twice
14bbbe74bc3e f2fs: fix to recover inode's i_flags during POR
9e40e1123323 f2fs: fix to recover inode's crtime during POR
60e562bb965a xhci: Avoid USB autosuspend when resuming USB2 ports.
2c5e9a93e478 nvmem: check the return value of nvmem_add_cells()
40cdac6bfb73 MD: fix invalid stored role for a disk
175d020db6cf ext4: fix argument checking in EXT4_IOC_MOVE_EXT
f41d070e9fcb usb: gadget: udc: atmel: handle at91sam9rl PMC
3162e793c743 usb: dwc2: fix a race with external vbus supply
bcb003c30ac3 irqchip/pdc: Setup all edge interrupts as rising edge at GIC
10be774a8d44 xprtrdma: Reset credit grant properly after a disconnect
5f8ffba0789c PCI / ACPI: Enable wake automatically for power managed bridges
eedd2de8dc72 VMCI: Resource wildcard match fixed
fe0f3e9e6830 Drivers: hv: vmbus: Use cpumask_var_t for on-stack cpu mask
0e264876d8a6 f2fs: clear PageError on the read path
fbc88d502e81 tpm: suppress transmit cmd error logs when TPM 1.2 is disabled/deactivated
47b1c864123a usb: typec: tcpm: Report back negotiated PPS voltage and current
b88a5dd150a5 PCI: cadence: Use AXI region 0 to signal interrupts from EP
979fbe4045c8 PCI: mediatek: Fix mtk_pcie_find_port() endpoint/port matching logic
f91a686192f6 usb: host: ohci-at91: fix request of irq for optional gpio
fd4049585f15 RDMA/bnxt_re: Fix recursive lock warning in debug kernel
12100249f2be RDMA/bnxt_re: Avoid accessing nq->bar_reg_iomem in failure case
255cecf2a5eb IB/ipoib: Clear IPCB before icmp_send
086b1e14c525 RDMA/core: Do not expose unsupported counters
9b7b9aead186 scsi: megaraid_sas: fix a missing-check bug
4b4ae263d7d5 KVM: nVMX: Clear reserved bits of #DB exit qualification
58d06d2dbea7 UAPI: ndctl: Fix g++-unsupported initialisation in headers
97f21a6b942c scsi: ufs: Schedule clk gating work on correct queue
34fb187df0d0 scsi: esp_scsi: Track residual for PIO transfers
9b9dd8af6dd5 md: fix memleak for mempool
99c08e1dd146 MD: Memory leak when flush bio size is zero
e2065558bfab f2fs: fix to account IO correctly for cgroup writeback
8eadae7951d5 net: stmmac: dwmac-sun8i: fix OF child-node lookup
35df1a8080ab cgroup, netclassid: add a preemption point to write_classid
477fa78844c3 thermal: da9062/61: Prevent hardware access during system suspend
2ba7c7660bed thermal: rcar_thermal: Prevent doing work after unbind
363e948fcc3a libata: Apply NOLPM quirk for SAMSUNG MZ7TD256HAFV-000L9
043b60105fc2 ath10k: schedule hardware restart if WMI command times out
c0368ed155a2 ixgbevf: VF2VF TCP RSS
0cfe42772c1d ixgbe: disallow IPsec Tx offload when in SR-IOV mode
253b526d998b gpio: brcmstb: allow 0 width GPIO banks
ab9a0e99bf29 iwlwifi: mvm: fix BAR seq ctrl reporting
dec405826694 rsi: fix memory alignment issue in ARM32 platforms
d8b03c1e7663 net: dsa: mv88e6xxx: Fix writing to a PHY page.
ba0885680af7 net: hns3: Fix for vf vlan delete failed problem
ff80ed73b6cf net: hns3: Fix ping exited problem when doing lp selftest
65187c05f489 net: hns3: Preserve vlan 0 in hardware table
23c98b4d9fbd pinctrl: ssbi-gpio: Fix pm8xxx_pin_config_get() to be compliant
f5ba8363907c pinctrl: spmi-mpp: Fix pmic_mpp_config_get() to be compliant
f0ff16f0402a perf tests: Fix record+probe_libc_inet_pton.sh without ping's debuginfo
baef398e5dea failover: Add missing check to validate 'slave_dev' in net_failover_slave_unregister
f47ceb5f3a08 bpf/verifier: fix verifier instability
c0222ea97aa1 pinctrl: qcom: spmi-mpp: Fix drive strength setting
64b74ae515f7 ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers
d70f08ad0162 spi: gpio: No MISO does not imply no RX
e67ec9ef7925 kprobes: Return error if we fail to reuse kprobe instead of BUG_ON()
7a035a98f1b3 arm64: entry: Allow handling of undefined instructions from EL1
ae9fc312a6d8 block, bfq: correctly charge and reset entity service in all cases
3f353034eaf7 net: phy: phylink: ensure the carrier is off when starting phylink
4ac72411c7b4 net: hns3: Set STATE_DOWN bit of hdev state when stopping net
110bdc652904 net: hns3: Check hdev state when getting link status
a0f6b282ca78 brcmfmac: fix for proper support of 160MHz bandwidth
2cd3b487ff72 pinctrl: qcom: spmi-mpp: Fix err handling of pmic_mpp_set_mux
fae41efdcdb6 pinctrl: sunxi: fix 'pctrl->functions' allocation in sunxi_pinctrl_build_state
7458126fbbf3 net: hns3: Fix ets validate issue
e0d9799dffb1 net: hns3: Add nic state check before calling netif_tx_wake_queue
9fae4092be8b x86: boot: Fix EFI stub alignment
249af5d52486 Bluetooth: btbcm: Add entry for BCM4335C0 UART bluetooth
f8ec431379a5 net: hns3: Fix for packet buffer setting bug
9ffa5136a36b ice: update fw version check logic
345e47a7dfc2 ice: fix changing of ring descriptor size (ethtool -G)
e7a23fd7c189 signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstack
0f1f59872204 mtd: rawnand: atmel: Fix potential NULL pointer dereference
e8c9540b02ce x86/intel_rdt: Show missing resctrl mount options
0efa31256ace cpufreq: dt: Try freeing static OPPs only if we have added them
17b8bb13ac9d ACPI / processor: Fix the return value of acpi_processor_ids_walk()
dcb2a7c21469 ACPI / PM: LPIT: Register sysfs attributes based on FADT
9c7247b6f6a9 ACPI/PPTT: Handle architecturally unknown cache types
ef9c7ed4de60 x86/olpc: Indicate that legacy PC XO-1 platform should not register RTC
f7121de89b55 iwlwifi: mvm: check for n_profiles validity in EWRD ACPI
af0d1438f4e2 iwlwifi: mvm: clear HW_RESTART_REQUESTED when stopping the interface
e364a986fe41 iwlwifi: pcie: avoid empty free RB queue
ba4a1b62a2d7 mtd: rawnand: denali: set SPARE_AREA_SKIP_BYTES register to 8 if unset
8c9e66266a16 sdhci: acpi: add free_slot callback
8be558fb46df mmc: sdhci-pci-o2micro: Add quirk for O2 Micro dev 0x8620 rev 0x01
f9fa6d72d149 bcache: Populate writeback_rate_minimum attribute
46b8a8d2f33a cpupower: Fix coredump on VMWare
3d8b0617b2a5 perf strbuf: Match va_{add,copy} with va_end
74a5a6e86f82 perf tools: Cleanup trace-event-info 'tdata' leak
6b6ed6f4c33b perf tools: Free temporary 'sys' string in read_event_files()
91747a58abc5 spi: spi-ep93xx: Use dma_data_direction for ep93xx_spi_dma_{finish,prepare}
feea46d8f5b0 lightnvm: pblk: fix race condition on metadata I/O
afa8688bd3bf lightnvm: pblk: fix two sleep-in-atomic-context bugs
beaff0a07547 lightnvm: pblk: fix race on sysfs line state
fd524f47ecc5 hwmon: (pwm-fan) Set fan speed to 0 on suspend
340029579377 s390/sthyi: Fix machine name validity indication
034d29a7ef6a tun: Consistently configure generic netdev params via rtnetlink
dcaa9d656d10 nfp: devlink port split support for 1x100G CXP NIC
4db6211a5bda arm64: cpufeature: ctr: Fix cpu capability check for late CPUs
ddb265c32880 swim: fix cleanup on setup error
140a8e218463 ataflop: fix error handling during setup
3967f93cb91b netfilter: xt_nat: fix DNAT target for shifted portmap ranges
0713bef08f09 locking/lockdep: Fix debug_locks off performance problem
92cc2f9792aa net: socionext: Reset tx queue in ndo_stop
9da20df2fbf6 i2c: rcar: cleanup DMA for all kinds of failure
4f7381656228 selftests: ftrace: Add synthetic event syntax testcase
89c678ab4908 drm: Get ref on CRTC commit object when waiting for flip_done
9fdd80c2ef12 r8169: re-enable MSI-X on RTL8168g
6b78ea67151b net: qla3xxx: Remove overflowing shift statement
8a5805bcc603 x86/fpu: Remove second definition of fpu in __fpu__restore_sig()
027622eacae7 perf report: Don't crash on invalid inline debug information
a34b5a9d90b1 perf cpu_map: Align cpu map synthesized events properly.
632f9277621b perf tools: Fix use of alternatives to find JDIR
71797bf860be perf evsel: Store ids for events with their own cpus perf_event__synthesize_event_update_cpus
f8148d7cea1f sched/fair: Fix the min_vruntime update logic in dequeue_entity()
e0d017fe2a43 nfp: flower: use offsets provided by pedit instead of index for ipv6
d8e7c3329332 nfp: flower: fix pedit set actions for multiple partial masks
23ef37c73bd7 r8169: Enable MSI-X on RTL8106e
1810feb860b1 perf vendor events intel: Fix wrong filter_band* values for uncore events
4e670a32d242 xfrm: policy: use hlist rcu variants on insert
2b0cdfb29439 xsk: do not call synchronize_net() under RCU read lock
d1d394e201f0 selftests: usbip: add wait after attach and before checking port status
c714f12f60ba Revert "perf tools: Fix PMU term format max value calculation"
7ceb3d05aff5 nvme: remove ns sibling before clearing path
c5849e9bf203 bpf: do not blindly change rlimit in reuseport net selftest
6dd0eaf03c0a drm: fix use of freed memory in drm_mode_setcrtc
c9493729df39 ARM: dts: exynos: Disable pull control for MAX8997 interrupts on Origen
db611db0ee15 x86/speculation: Support Enhanced IBRS on future CPUs
178ecd621450 x86/mm/pat: Disable preemption around __flush_tlb_all()
d601f8c2e0b0 x86/corruption-check: Fix panic in memory_corruption_check() when boot option without value is provided
1a359f8f8ec8 x86/xen: Fix boot loader version reported for PVH guests
02fb68711ba6 x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation
e5e99bd18db3 ALSA: ca0106: Disable IZD on SB0570 DAC to fix audio pops
9c30febb7383 ALSA: hda: Add 2 more models to the power_save blacklist
0cfca999ee94 ALSA: hda - Add mic quirk for the Lenovo G50-30 (17aa:3905)
43a57738232c ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo M715
9580bd128c3b ALSA: hda - Fix headphone pin config for ASUS G751
618ad7fe0e41 ALSA: hda - Add quirk for ASUS G751 laptop
1396c159647a parisc: Fix exported address of os_hpmc handler
5e3efb6ff698 parisc: Fix map_pages() to not overwrite existing pte entries
d9ad0ecfd503 parisc: Fix address in HPMC IVA
acf2f1783055 acpi, nfit: Fix Address Range Scrub completion tracking
cf7d33fa2dd3 mailbox: PCC: handle parse error
f703cf73a0cd ipmi: Fix timer race with module unload
13b8c2e55d7b kprobes/x86: Use preempt_enable() in optimized_callback()
5ef3e6e8d3e6 ACPICA: AML Parser: fix parse loop to correctly skip erroneous extended opcodes
7876d54ad642 ACPICA: AML interpreter: add region addresses in global list during initialization
165ec328038d ACPI / OSL: Use 'jiffies' as the time bassis for acpi_os_get_timer()
9c869687da7c pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges
6457bbfb62d8 dma-mapping: fix panic caused by passing empty cma command line argument
6995a939af68 cpufreq: conservative: Take limits changes into account properly
f793bede6a92 block: make sure writesame bio is aligned with logical block size
1e660a354aaa block: make sure discard bio is aligned with logical block size
5d7cc07a4a09 block: don't deal with discard limit in blkdev_issue_discard()
9acb7e6aa615 block: setup bounce bio_sets properly
22315bd1693b jffs2: free jffs2_sb_info through jffs2_kill_sb()
4e0b30d87323 hwmon: (pmbus) Fix page count auto-detection.
79e8dc743d12 bcache: fix miss key refill->end in writeback
c483d0e293af bcache: correct dirty data statistics
0d0bac807a44 bcache: trace missed reading by cache_missed
4588df8e529c spi: bcm-qspi: fix calculation of address length
af70ba70b95e spi: bcm-qspi: switch back to reading flash using smaller chunks
9b86e6f06127 spi: spi-mem: Adjust op len based on message/transfer size limitations
056a4dd50034 mtd: spi-nor: fsl-quadspi: Don't let -EINVAL on the bus
0368e0a3ab70 mtd: spi-nor: intel-spi: Add support for Intel Ice Lake SPI serial flash
82a401cad1be mtd: spi-nor: fsl-quadspi: fix read error for flash size larger than 16MB
57459faa2fbe mtd: rawnand: marvell: fix the IRQ handler complete() condition
99661278215d Linux 4.18.18
afc1e5e54138 x86/fpu: Fix i486 + no387 boot crash by only saving FPU registers on context switch if there is an FPU
5581e4eed999 x86/swiotlb: Enable swiotlb for > 4GiG RAM on 32-bit kernels
022601efef9e x86/time: Correct the attribute on jiffies' definition
5d59cf0b1833 x86/percpu: Fix this_cpu_read()
d1c0e525c430 x86, hibernate: Fix nosave_regions setup for hibernation
227db93beac0 x86/tsc: Force inlining of cyc2ns bits
dfc1a81b0143 sched/fair: Fix throttle_list starvation with low CFS quota
962bc4202bf0 drm/sun4i: Fix an ulong overflow in the dotclock driver
05d586677df0 Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15IGM
ea6b10f79dd3 tracing: Fix synthetic event to allow semicolon at end
762472aec1f9 tracing: Fix synthetic event to accept unsigned modifier
e6b8e426bf8f USB: fix the usbfs flag sanitization for control transfers
a790c9e4d51f usb: xhci: pci: Enable Intel USB role mux on Apollo Lake platforms
06a70c3f60b6 usb: roles: intel_xhci: Fix Unbalanced pm_runtime_enable
ebe34fdc10ad usb: gadget: storage: Fix Spectre v1 vulnerability
8ae5849083f4 usb: usbip: Fix BUG: KASAN: slab-out-of-bounds in vhci_hub_control()
b69c7f45b2d3 cdc-acm: fix race between reset and control messaging
ffc3136034c3 cdc-acm: correct counting of UART states in serial state notification
e4e6a27f3786 cdc-acm: do not reset notification buffer index upon urb unlinking
1d375e3b4663 IB/ucm: Fix Spectre v1 vulnerability
7f99af5c5510 RDMA/ucma: Fix Spectre v1 vulnerability
a69c03dca8c1 drm: fb-helper: Reject all pixel format changing requests
c6dd29d7a92d drm/edid: VSDB yCBCr420 Deep Color mode bit definitions
1ef7c81f8d5f drm/edid: Add 6 bpc quirk for BOE panel in HP Pavilion 15-n233sl
32c95444f91b ptp: fix Spectre v1 vulnerability
fc7f79df0f2a fscache: Fix out of bound read in long cookie keys
4bdc50b060ca cachefiles: fix the race between cachefiles_bury_object() and rmdir(2)
9ccc817d3fb0 fscache: Fix incomplete initialisation of inline key space
e65c5ffc44ad clk: sunxi-ng: sun4i: Set VCO and PLL bias current to lowest setting
cfb0622c2d95 gpio: mxs: Get rid of external API call
c6259258b48b bpf: fix partial copy of map_ptr when dst is scalar
1d15a9f08704 vfs: swap names of {do,vfs}_clone_file_range()
de1341b7a671 eeprom: at24: Add support for address-width property
(From OE-Core rev: 77939f82e29dccd170c4f0a1d63dba89d5320ded)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following CVE fixes into the 4.18 tree:
e78a46f375fe cdrom: fix improper type cast, which can leat to information leak.
4815231b9b65 btrfs: tree-checker: Verify block_group_item
6dfe2fe5dd52 btrfs: Introduce mount time chunk <-> dev extent mapping check
ccd06dcdc11b btrfs: Verify that every chunk has corresponding block group at mount time
7cf70b1e759a btrfs: Check that each block group has corresponding chunk at mount time
166bbd6ff86b btrfs: validate type when reading a chunk
ecf31c809599 ip: frags: fix crash in ip_do_fragment()
02fc22c5eb30 ip: use rb trees for IP frag queue.
72dd075ee367 net: modify skb_rbtree_purge to return the truesize of all purged skbs.
7a9f904c49aa ip: discard IPv4 datagrams with overlapping segments.
abea198657b7 f2fs: fix to do sanity check with i_extra_isize
408c425c41e4 f2fs: fix to do sanity check with node footer and iblocks
5e4ccef734c3 f2fs: fix to do sanity check with user_block_count
(From OE-Core rev: e09309a50dd5f4d8fc75915a5f2e97a16603aa9a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable releases the comprise the following changes:
50961e4888a1 Linux 4.14.79
fe54a7c4f0d1 net/mlx5: Fix build break when CONFIG_SMP=n
b0ee9bd40d74 net/sched: cls_api: add missing validation of netlink attributes
c8c2df18eedf net: bcmgenet: Poll internal PHY for GENETv5
71944eb54288 net: ipmr: fix unresolved entry dumps
4ca72d6336df rtnetlink: Disallow FDB configuration for non-Ethernet device
ac65fd7094ac net/mlx5e: fix csum adjustments caused by RXFCS
855cb69f4e6d net: fix pskb_trim_rcsum_slow() with odd trim offset
623670a9f207 net: drop skb on failure in ip_check_defrag()
fd090ba395fb net: sched: Fix for duplicate class dump
bc4787003687 net/mlx5: Take only bit 24-26 of wqe.pftype_wq for page fault type
1d50b74a33d0 openvswitch: Fix push/pop ethernet validation
f288424ea85e ip6_tunnel: Fix encapsulation layout
8a865095d399 bonding: fix length of actor system
95c337646585 ethtool: fix a privilege escalation bug
574af67123c3 virtio_net: avoid using netif_tx_disable() for serializing tx routine
b522f279f91b vhost: Fix Spectre V1 vulnerability
189771d69e14 udp6: fix encap return code for resubmitting
606694e5ec81 sctp: fix race on sctp_id2asoc
aa8d067c8547 r8169: fix NAPI handling under high load
0ecebdfb2e3a net: udp: fix handling of CHECKSUM_COMPLETE packets
441d0e754082 net: stmmac: Fix stmmac_mdio_reset() when building stmmac as modules
7d58456872c4 net: socket: fix a missing-check bug
29d871195e9e net: sched: gred: pass the right attribute to gred_change_table_def()
e581e28f9dcb net/ipv6: Fix index counter for unicast addresses in in6_dump_addrs
ff96a3977440 net: fec: don't dump RX FIFO register when not available
6bb1381cc865 llc: set SOCK_RCU_FREE in llc_sap_add_socket()
1e42e97af983 ipv6/ndisc: Preserve IPv6 control buffer if protocol error handlers are called
5d4c5861211f ipv6: mcast: fix a use-after-free in inet6_mc_check
c3cf86dac56d net: bridge: remove ipv6 zero address check in mcast queries
1bd68d5612af bridge: do not add port to router list when receives query with source 0.0.0.0
b6534b3e08e8 drm/i915/gvt: fix memory leak of a cmd_entry struct on error exit path
2980235974cd perf tools: Disable parallelism for 'make clean'
ac7c2bb59870 Revert "netfilter: ipv6: nf_defrag: drop skb dst before queueing"
ee66ad5896ae ALSA: usx2y: Fix invalid stream URBs
e75194d29442 media: uvcvideo: Fix driver reference counting
cdb44bdafc3a ARM: dts: r8a7790: Correct critical CPU temperature
871424f0c3cf kvm: x86: fix WARN due to uninitialized guest FPU state
3642e3544749 mtd: spi-nor: Add support for is25wp series chips
bd6df7a19559 sch_netem: restore skb->dev after dequeuing from the rbtree
3d69b85e14be fs/fat/fatent.c: add cond_resched() to fat_count_free_clusters()
5309191ec049 selftests: rtnetlink.sh explicitly requires bash.
1e4f8315a5c8 net: ena: fix NULL dereference due to untimely napi initialization
ba4cf1eefd54 net: ena: fix warning in rmmod caused by double iounmap
252869e5fb49 rxrpc: Fix connection-level abort handling
f1d27ff6e027 rxrpc: Only take the rwind and mtu values from latest ACK
9a6d45700adf rxrpc: Don't check RXRPC_CALL_TX_LAST after calling rxrpc_rotate_tx_window()
4fdaadbce403 perf python: Use -Wno-redundant-decls to build with PYTHON=python3
c005e014fbc6 ARM: dts: imx53-qsb: disable 1.2GHz OPP
3c3bec81e267 compiler.h: Allow arch-specific asm/compiler.h
b8f4d375cd1e perf tests: Fix indexing when invoking subtests
543f1084b67f libertas: call into generic suspend code before turning off power
48f1b3b56ee4 kconfig: fix the rule of mainmenu_stmt symbol
cbc38304947e net: stmmac: mark PM functions as __maybe_unused
726f05951941 x86/paravirt: Fix some warning messages
aa3aff5b469b net: phy: phylink: Don't release NULL GPIO
f72388e3670e btrfs: quota: Set rescan progress to (u64)-1 if we hit last leaf
3c92c7e96fc4 scsi: sd: Remember that READ CAPACITY(16) succeeded
5aa0d86363b2 scsi: ibmvfc: Avoid unnecessary port relogin
07e2121f4f2b selftests/powerpc: Add ptrace hw breakpoint test
672fdbd5966e iio: buffer: fix the function signature to match implementation
1bee5f3d9530 enic: do not overwrite error code
b9627a218e2b lan78xx: Don't reset the interface on open
f18ed65d70f0 MIPS: Workaround GCC __builtin_unreachable reordering bug
f274c57f0479 mmc: dw_mmc-rockchip: correct property names in debug
e6df57b60b86 IB/usnic: Update with bug fixes from core code
d29f27192a2d xen-netfront: Fix mismatched rtnl_unlock
a0fcefb70022 xen-netfront: Update features after registering netdev
9de255666ce3 tpm: tpm_crb: relinquish locality on error path.
3c0cff34e91e bpf: sockmap, map_release does not hold refcnt for pinned maps
db9d15988afb tpm: move the delay_msec increment after sleep in tpm_transmit()
c1fdafea627c sparc64: Fix regression in pmdp_invalidate().
090246ff5f6c KVM: x86: Update the exit_qualification access bits while walking an address
7d768c84ec31 test_bpf: Fix testing with CONFIG_BPF_JIT_ALWAYS_ON=y on other arches
8f041940aaf2 cifs: Use ULL suffix for 64-bit constant
5c097f55e980 l2tp: remove configurable payload offset
b39ac5421519 ARM: tegra: Fix ULPI regression on Tegra20
579493b9f689 IB/mlx5: Avoid passing an invalid QP type to firmware
6cfb67394a42 kbuild: set no-integrated-as before incl. arch Makefile
a972222a6a30 scsi: qla2xxx: Avoid double completion of abort command
651f11a83af3 net/mlx5e: Refine ets validation function
8b882dbba717 net: phy: Add general dummy stubs for MMD register access
8d9d7f018464 net: phy: realtek: Use the dummy stubs for MMD register access for rtl8211b
4fbd26a1484c dm integrity: fail early if required HMAC key is not available
aa2a0c23c9b7 powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n
71a9d1240a30 net/mlx5: Fix mlx5_get_vector_affinity function
049fee28bba3 s390/qeth: fix error handling in adapter command callbacks
18addd960fe8 IB/rxe: put the pool on allocation failure
8c954368de69 IB/ipoib: Fix lockdep issue found on ipoib_ib_dev_heavy_flush
c750773f3942 scsi: aacraid: address UBSAN warning regression
3b6c6d9cbdea usbip: vhci_hcd: update 'status' file header and format
e37e383a4e66 tools/testing/nvdimm: unit test clear-error commands
18a83c013392 iwlwifi: fix the ALIVE notification layout
4187fbd60c39 iwlwifi: dbg: allow wrt collection before ALIVE
d1efab095c20 iwlwifi: mvm: check for short GI only for OFDM
f83f38fcf17f ocfs2: fix crash in ocfs2_duplicate_clusters_by_page()
d0539c56391d yam: fix a missing-check bug
ec4e9618d1fd net: cxgb3_main: fix a missing-check bug
049b662eeadd be2net: don't flip hw_features when VXLANs are added/deleted
45894023bee9 locking/ww_mutex: Fix runtime warning in the WW mutex selftest
a0ab962b674d net: qualcomm: rmnet: Skip processing loopback packets
3095f0c98c6a declance: Fix continuation with the adapter identification message
1837dbb25cc5 net: fec: fix rare tx timeout
784f8395895f perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events
40568f21f235 perf/x86/intel/uncore: Fix PCI BDF address of M3UPI on SKX
a18e2159c3ff perf/ring_buffer: Prevent concurent ring buffer access
ffc3cb561ece perf/core: Fix perf_pmu_unregister() locking
492a81318e8c cfg80211: fix use-after-free in reg_process_hint()
35ffbd523797 smsc95xx: Check for Wake-on-LAN modes
9e3a0366365b smsc75xx: Check for Wake-on-LAN modes
9eaabc0a7779 r8152: Check for supported Wake-on-LAN Modes
4301fb3391ed sr9800: Check for supported Wake-on-LAN modes
9f0962c0f6f7 lan78xx: Check for supported Wake-on-LAN modes
a0fc06335530 ax88179_178a: Check for supported Wake-on-LAN modes
eef5935c2d7a asix: Check for supported Wake-on-LAN modes
915670c48eb3 nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
b93393d63d8f qed: Avoid implicit enum conversion in qed_iwarp_parse_rx_pkt
ee86b4d659c2 qed: Avoid constant logical operation warning in qed_vf_pf_acquire
935d441968b1 qed: Avoid implicit enum conversion in qed_roce_mode_to_flavor
ab7998abfea2 qed: Fix mask parameter in qed_vf_prep_tunn_req_tlv
76f86190774e qed: Avoid implicit enum conversion in qed_set_tunn_cls_info
865741554925 pxa168fb: prepare the clock
0f8a689c6a2f Bluetooth: SMP: fix crash in unpairing
db2a11e706bf mac80211_hwsim: do not omit multicast announce of first added radio
c7b66583c9ed nl80211: Fix possible Spectre-v1 for NL80211_TXRATE_HT
fa1578ec411d soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift()
795b13034224 soc: fsl: qbman: qman: avoid allocating from non existing gen_pool
d9e742766c76 net: macb: Clean 64b dma addresses if they are not detected
a5bdfc6892b5 ARM: dts: BCM63xx: Fix incorrect interrupt specifiers
1241679ce248 arm64: hugetlb: Fix handling of young ptes
1157713407a6 netfilter: bridge: Don't sabotage nf_hook calls from an l3mdev
26c6b9da7a00 xfrm: validate template mode
5d7bf7b4d022 ARM: 8799/1: mm: fix pci_ioremap_io() offset check
73c6f8606070 xfrm: Fix NULL pointer dereference when skb_dst_force clears the dst_entry.
35507aabf0e5 mac80211: fix TX status reporting for ieee80211s
ebec37ed21a2 mac80211: TDLS: fix skb queue/priority assignment
9da59d2e283d cfg80211: Address some corner cases in scan result channel updating
574be53ab82c mac80211: fix pending queue hang due to TX_DROP
d46c334f07f5 cfg80211: reg: Init wiphy_idx in regulatory_hint_core()
b0be0d83fc68 mac80211: Always report TX status
64f38286c7be xfrm: reset crypto_done when iterating over multiple input xfrms
a95d9004fbde xfrm: reset transport header back to network header after all input transforms ahave been applied
2a55e64d5c5e xfrm6: call kfree_skb when skb is toobig
3b5d512831af xfrm: Validate address prefix lengths in the xfrm selector.
e7405910ca55 Linux 4.14.78
6edd85a7870a IB/hfi1: Fix destroy_qp hang after a link down
4d5af836674f i2c: rcar: handle RXDMA HW behaviour on Gen3
faf578e3593e drm/i915/glk: Add Quirk for GLK NUC HDMI port issues.
2a797fd8f8ae mm: disallow mappings that conflict for devm_memremap_pages()
8e6173c12467 staging: ccree: check DMA pool buf !NULL before free
61377bc80861 drm/i915: Nuke the LVDS lid notifier
e896a2adba93 HID: quirks: fix support for Apple Magic Keyboards
7b9f716d5550 ARC: build: Don't set CROSS_COMPILE in arch's Makefile
b6d06b180ff8 ARC: build: Get rid of toolchain check
541500abfe9e mremap: properly flush TLB before releasing the page
f473bf921696 Revert "vfs: fix freeze protection in mnt_want_write_file() for overlayfs"
e261faa2eccb powerpc/lib/feature-fixups: use raw_patch_instruction()
f78ae314c6e3 iommu/amd: Return devid as alias for ACPI HID devices
62c15d061f5f powerpc/tm: Avoid possible userspace r1 corruption on reclaim
256707d3b89b powerpc/tm: Fix userspace r13 corruption
4f5dbf26a1bd clocksource/drivers/fttmr010: Fix set_next_event handler
f75ad0441a0a net/mlx4: Use cpumask_available for eq->affinity_mask
4c0e2e4a4b54 scsi: sd: don't crash the host on invalid commands
b6b5bc245dc2 scsi: ipr: System hung while dlpar adding primary ipr adapter back
26377fe2f7b0 drm: mali-dp: Call drm_crtc_vblank_reset on device init
940d35f3a572 PCI: dwc: Fix scheduling while atomic issues
48047b847808 ravb: do not write 1 to reserved bits
997cdc46f436 net: emac: fix fixed-link setup for the RTL8363SB switch
1c22d2cbd9f2 Input: atakbd - fix Atari CapsLock behaviour
8b8ab47a093d Input: atakbd - fix Atari keymap
2b8b339c53d2 intel_th: pci: Add Ice Lake PCH support
3353c04dd4d7 scsi: ibmvscsis: Ensure partition name is properly NUL terminated
40e49c155313 scsi: ibmvscsis: Fix a stringop-overflow warning
89450e431a63 clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs
498c536f5931 batman-adv: fix hardif_neigh refcount on queue_work() failure
3e9f714fb58b batman-adv: fix backbone_gw refcount on queue_work() failure
2b1c4897f256 batman-adv: Prevent duplicated tvlv handler
b46fd722b7bc batman-adv: Prevent duplicated global TT entry
2a544b2da44b batman-adv: Prevent duplicated softif_vlan entry
18733cfe4126 batman-adv: Prevent duplicated nc_node entry
3b38bed3304d batman-adv: Prevent duplicated gateway_node entry
c553f7e514b9 batman-adv: Fix segfault when writing to sysfs elp_interval
acdaf28d8cf5 batman-adv: Fix segfault when writing to throughput_override
fa04cc5e7b81 batman-adv: Avoid probe ELP information leak
88be243901ff media: af9035: prevent buffer overflow on write
8263087bf627 Linux 4.14.77
d0c9f9f9fb44 perf tools: Fix snprint warnings for gcc 8
57bff812c4e2 ARM: spectre-v1: mitigate user accesses
4a1948d692f1 ARM: spectre-v1: use get_user() for __get_user()
f64824a3d475 ARM: use __inttype() in get_user()
70b96be10d15 ARM: oabi-compat: copy semops using __copy_from_user()
38752f417487 ARM: vfp: use __copy_from_user() when restoring VFP state
faac72dc9150 ARM: signal: copy registers using __copy_from_user()
b690ec0dc735 ARM: spectre-v1: fix syscall entry
4186f7cfa1d6 ARM: spectre-v1: add array_index_mask_nospec() implementation
f6909113ad1f ARM: spectre-v1: add speculation barrier (csdb) macros
e7fc401a8800 ARM: KVM: report support for SMCCC_ARCH_WORKAROUND_1
8502541ee216 ARM: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling
ee4e537d3aa1 ARM: spectre-v2: KVM: invalidate icache on guest exit for Brahma B15
1df9a0a8201b ARM: KVM: invalidate icache on guest exit for Cortex-A15
75e48eff8aae ARM: KVM: invalidate BTB on guest exit for Cortex-A12/A17
6d75fe7ed2f6 ARM: spectre-v2: warn about incorrect context switching functions
510155b2d95b ARM: spectre-v2: add firmware based hardening
5ab8c6e8879c ARM: spectre-v2: harden user aborts in kernel space
81b215a5b80b ARM: spectre-v2: add Cortex A8 and A15 validation of the IBE bit
3e52aff79d5e ARM: spectre-v2: harden branch predictor on context switches
c0f64070a310 ARM: spectre: add Kconfig symbol for CPUs vulnerable to Spectre
0d5360ee15e9 ARM: bugs: add support for per-processor bug checking
c7825c277bad ARM: bugs: hook processor bug checking into SMP and suspend paths
9a42b70744b1 ARM: bugs: prepare processor bug infrastructure
1789de335428 ARM: add more CPU part numbers for Cortex and Brahma B15 CPUs
d62b8ac8cd54 mm: don't show nr_indirectly_reclaimable in /proc/vmstat
5de69d648a09 mm: treat indirectly reclaimable memory as free in overcommit logic
6d7942377c88 dcache: account external names as indirectly reclaimable memory
dc09a5b68d83 mm: treat indirectly reclaimable memory as available in MemAvailable
c605894c84b9 mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES
7a4f9efdb213 xhci: Don't print a warning when setting link state for disabled ports
74a960430a8d i2c: i2c-scmi: fix for i2c_smbus_write_block_data
1b7ff5208d2f mm: Preserve _PAGE_DEVMAP across mprotect() calls
68ba0bdfe494 mm/thp: fix call to mmu_notifier in set_pmd_migration_entry() v2
3e6275d940a4 arm64: perf: Reject stand-alone CHAIN events for PMUv3
b3e4b3c70a0a pinctrl: mcp23s08: fix irq and irqchip setup order
d5833a50c6a3 mmc: block: avoid multiblock reads for the last sector in SPI mode
bc183079ddfd cgroup: Fix dom_cgrp propagation when enabling threaded mode
c339fab172a9 dm linear: fix linear_end_io conditional definition
efd6537984d5 dm linear: eliminate linear_end_io call if CONFIG_DM_ZONED disabled
261f2cba100b dm: fix report zone remapping to account for partition offset
6c8faa19e9cc dm cache: destroy migration_cache if cache target registration failed
8d2f62cb2d46 s390/cio: Fix how vfio-ccw checks pinned pages
e3f725f5c46a perf script python: Fix export-to-sqlite.py sample columns
82ac2740aa74 perf script python: Fix export-to-postgresql.py occasional failure
54886c978397 percpu: stop leaking bitmap metadata blocks
6c8f4babb57b mach64: detect the dot clock divider correctly on sparc
86717a97f921 MIPS: VDSO: Always map near top of user memory
8676e0b4a28f mm/vmstat.c: fix outdated vmstat_text
059726864271 drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7
e4865b46e195 x86/kvm/lapic: always disable MMIO interface in x2APIC mode
88659387b9d5 clk: x86: Stop marking clocks as CLK_IS_CRITICAL
ba54417f8d01 clk: x86: add "ether_clk" alias for Bay Trail / Cherry Trail
cac34c122cf3 PCI: hv: support reporting serial number as slot information
18918ed70db9 ARM: dts: at91: add new compatibility string for macb on sama5d3
c77295d6fa1c net: macb: disable scatter-gather for macb on sama5d3
3265bda5bd9f stmmac: fix valid numbers of unicast filter entries
1826e5562516 hv_netvsc: fix schedule in RCU context
37ca1cc8d4c0 sound: don't call skl_init_chip() to reset intel skl soc
2af2b70c107b sound: enable interrupt after dma buffer initialization
a5733703e38c scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()
254cc00e53d7 scsi: iscsi: target: Don't use stack buffer for scatterlist
5d53f0d897c3 mfd: omap-usb-host: Fix dts probe of children
e3583d7b1bd9 Bluetooth: hci_ldisc: Free rw_semaphore on close
bac561137155 ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER
ad9ad950a37b ASoC: rsnd: adg: care clock-frequency size
6d52f3e1e729 selftests: memory-hotplug: add required configs
e121efd796c9 selftests/efivarfs: add required kernel configs
c5f7b0d2ce9e ASoC: sigmadsp: safeload should not have lower byte limit
c08a99325a56 ASoC: wm8804: Add ACPI support
a15fac93a3e6 ASoC: rt5514: Fix the issue of the delay volume applied again
c5df58138946 inet: make sure to grab rcu_read_lock before using ireq->ireq_opt
17af5475aef3 tcp/dccp: fix lockdep issue when SYN is backlogged
4b7b26024f52 net-ethtool: ETHTOOL_GUFO did not and should not require CAP_NET_ADMIN
98c77f2eef29 bnxt_en: don't try to offload VLAN 'modify' action
eb79c31aac15 nfp: avoid soft lockups under control message storm
f578e5b34c38 bonding: fix warning message
90a3d8afe1f4 bonding: pass link-local packets to bonding master also.
83eb2fdd0483 net/mlx5: E-Switch, Fix out of bound access when setting vport rate
7aa339e90994 net: aquantia: memory corruption on jumbo frames
7ba8867fb3a7 net/mlx5e: Set vlan masks for all offloaded TC rules
431a4fee7114 net: dsa: bcm_sf2: Fix unbind ordering
5150140b4ea7 net/packet: fix packet drop as of virtio gso
5e7bb38dc696 net: stmmac: Fixup the tail addr setting in xmit path
7976e6b70ecf udp: Unbreak modules that rely on external __skb_recv_udp() availability
49984ca4e60e tipc: fix flow control accounting for implicit connect
66c1b9cfa07d team: Forbid enslaving team device to itself
d63d3995d7db sctp: update dst pmtu with the correct daddr
a8b0f004eb90 rtnl: limit IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES to 4096
5f999abba33f rtnetlink: fix rtnl_fdb_dump() for ndmsg header
72675512fb1a qmi_wwan: Added support for Gemalto's Cinterion ALASxx WWAN interface
0d5b9edea995 qlcnic: fix Tx descriptor corruption on 82xx devices
133aea0f2108 net/usb: cancel pending work when unbinding smsc75xx
3e80ad8cbf22 net: systemport: Fix wake-up interrupt race during resume
d9057423312e net: sched: Add policy validation for tc attributes
85ebbc5a2543 net: mvpp2: fix a txq_done race condition
d9bf6699aee8 net: mvpp2: Extract the correct ethtype from the skb for tx csum offload
19c5e73c745c netlabel: check for IPV4MASK in addrinfo_get
335c37612f9f net/ipv6: Display all addresses in output of /proc/net/if_inet6
9b4869cf385a net: ipv4: update fnhe_pmtu when first hop's MTU changes
6c61dae979ae net: hns: fix for unmapping problem when SMMU is on
8193b775247a net: dsa: bcm_sf2: Call setup during switch resume
48c14f2ea5c5 ipv6: take rcu lock in rawv6_send_hdrinc()
32b193216e18 ipv4: fix use-after-free in ip_cmsg_recv_dstaddr()
deb33b68f40e ip_tunnel: be careful when accessing the inner header
18bf9a724362 ip6_tunnel: be careful when accessing the inner header
94402f23659f bonding: avoid possible dead-lock
e73b51a995ac bnxt_en: free hwrm resources, if driver probe fails.
67d1ee6c7b76 bnxt_en: Fix TX timeout during netpoll.
(From OE-Core rev: 01a2f1ca3d06f0b2a4eb1cf4c8450352031296ff)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
commits:
2237effd7edc Linux 4.18.17
1757ec69500e net: bridge: remove ipv6 zero address check in mcast queries
2ec673dbb0cd sparc: Throttle perf events properly.
12176be9fc14 sparc: Fix syscall fallback bugs in VDSO.
366187ea2b33 sparc: Fix single-pcr perf event counter management.
4ce6adbc410a sparc64: Wire up compat getpeername and getsockname.
a756494fb7bd sparc64: Set %l4 properly on trap return after handling signals.
1a47e59c4471 sparc64: Make proc_id signed.
f64ff34d414e sparc64: Make corrupted user stacks more debuggable.
69e6b8f41fbf sparc64: Export __node_distance.
6a84bdb84df3 mlxsw: core: Fix devlink unregister flow
2d484ce0a878 net/mlx5: WQ, fixes for fragmented WQ buffers API
f8e70fa84f76 net: fix pskb_trim_rcsum_slow() with odd trim offset
4eb937395873 net: drop skb on failure in ip_check_defrag()
dc4526d3bfeb net: bpfilter: use get_pid_task instead of pid_task
79a6dd1cb8e3 mlxsw: spectrum_switchdev: Don't ignore deletions of learned MACs
f235cdcf4fc4 net/smc: fix smc_buf_unuse to use the lgr pointer
d09a8fb16103 net/mlx5: Fix memory leak when setting fpga ipsec caps
63f8939f793b sctp: not free the new asoc when sctp_wait_for_connect returns err
c1b1e96cffd2 sctp: fix the data size calculation in sctp_data_size
81e31abfa81d net/ipv6: Allow onlink routes to have a device mismatch if it is the default route
c5038b492cb1 net/sched: cls_api: add missing validation of netlink attributes
45675e6e6344 net: sched: Fix for duplicate class dump
11681b07d320 net: bcmgenet: Poll internal PHY for GENETv5
b9a30ce087b4 net/mlx5: Take only bit 24-26 of wqe.pftype_wq for page fault type
739b2449f0cf net: ipmr: fix unresolved entry dumps
f8c96597387e openvswitch: Fix push/pop ethernet validation
0b73d75ab52f ip6_tunnel: Fix encapsulation layout
2f75b5a2c832 bonding: fix length of actor system
03e00d0609eb ethtool: fix a privilege escalation bug
e30293d0a03a virtio_net: avoid using netif_tx_disable() for serializing tx routine
c75d697c8197 vhost: Fix Spectre V1 vulnerability
886de7239b16 udp6: fix encap return code for resubmitting
b3c2e8e106df tipc: fix unsafe rcu locking when accessing publication list
721933262ef7 sctp: fix race on sctp_id2asoc
2645237c90e7 rtnetlink: Disallow FDB configuration for non-Ethernet device
9ae97da02a54 r8169: fix NAPI handling under high load
6c5f9c2de021 net: udp: fix handling of CHECKSUM_COMPLETE packets
cbfb26f3eb03 net: stmmac: Fix stmmac_mdio_reset() when building stmmac as modules
a04092cebd73 net: socket: fix a missing-check bug
ea824d70d673 net: sched: gred: pass the right attribute to gred_change_table_def()
7344adab32c7 net/mlx5e: fix csum adjustments caused by RXFCS
60a2c3b4a991 net/ipv6: Fix index counter for unicast addresses in in6_dump_addrs
4dcde3a4c5ea net: fec: don't dump RX FIFO register when not available
cc30c16a04cb llc: set SOCK_RCU_FREE in llc_sap_add_socket()
23b5d05d9114 ipv6: rate-limit probes for neighbourless routes
9198d01eb02d ipv6/ndisc: Preserve IPv6 control buffer if protocol error handlers are called
558af64846ca ipv6: mcast: fix a use-after-free in inet6_mc_check
9801a672beb6 bridge: do not add port to router list when receives query with source 0.0.0.0
b13411edcf71 perf tools: Disable parallelism for 'make clean'
f1f040bf29b7 Revert "netfilter: ipv6: nf_defrag: drop skb dst before queueing"
d496cdeede28 Revert "mm: slowly shrink slabs with a relatively small number of objects"
4afb03f48e7e fs/fat/fatent.c: add cond_resched() to fat_count_free_clusters()
9721f5af4d23 afs: Fix cell proc list
9277b65e04d6 vmlinux.lds.h: Fix linker warnings about orphan .LPBX sections
e266c397e724 vmlinux.lds.h: Fix incomplete .text.exit discards
c4659254b987 selftests: udpgso_bench.sh explicitly requires bash
92e648292600 selftests: rtnetlink.sh explicitly requires bash.
941a8d0b8409 rds: RDS (tcp) hangs on sendto() to unresponding address
87113db1242c IB/mlx5: Unmap DMA addr from HCA before IOMMU
e14b8b11ac50 gpio: Assign gpio_irq_chip::parents to non-stack pointer
e7579cb736ec net: ena: fix NULL dereference due to untimely napi initialization
2abc117c9799 net: ena: fix rare bug when failed restart/resume is followed by driver removal
b0af327d145f net: ena: fix warning in rmmod caused by double iounmap
6be48d8274ef KVM: x86: support CONFIG_KVM_AMD=y with CONFIG_CRYPTO_DEV_CCP_DD=m
98154205f7a9 rxrpc: Fix connection-level abort handling
47af9661cc87 rxrpc: Only take the rwind and mtu values from latest ACK
54776c736d41 rxrpc: Carry call state out of locked section in rxrpc_rotate_tx_window()
e3dcbf121240 rxrpc: Don't check RXRPC_CALL_TX_LAST after calling rxrpc_rotate_tx_window()
903fb78f7436 perf record: Use unmapped IP for inline callchain cursors
37e241d14094 perf python: Use -Wno-redundant-decls to build with PYTHON=python3
2b401f26406f ARM: dts: imx53-qsb: disable 1.2GHz OPP
755b72711bbc compiler.h: Allow arch-specific asm/compiler.h
ff78e12f6587 HID: i2c-hid: Remove RESEND_REPORT_DESCR quirk and its handling
e911f46c0cc5 tls: Fix improper revert in zerocopy_from_iter
2033959b7421 perf report: Don't try to map ip to invalid map
15ea940bc3fb libertas: call into generic suspend code before turning off power
d33c4297bac5 clk: mvebu: armada-37xx-periph: Remove unused var num_parents
e7f8508aca5e x86/paravirt: Fix some warning messages
3b917cecac61 mm/migrate.c: split only transparent huge pages when allocation fails
28d6d2236564 mm/gup_benchmark: fix unsigned comparison to zero in __gup_benchmark_ioctl
203711a8820b ocfs2: fix crash in ocfs2_duplicate_clusters_by_page()
72c25b9bf77d yam: fix a missing-check bug
4c8345b62cfe net: cxgb3_main: fix a missing-check bug
3397d28b3e27 powerpc/numa: Skip onlining a offline node in kdump path
a7af3a2ae488 be2net: don't flip hw_features when VXLANs are added/deleted
43cb734246c0 drm/amd/display: Signal hw_done() after waiting for flip_done()
76c84d0a2313 locking/ww_mutex: Fix runtime warning in the WW mutex selftest
1ac18a1dbc3f Revert "serial: 8250_dw: Fix runtime PM handling"
0cf9edba8270 RISCV: Fix end PFN for low memory
5278d9550d4d declance: Fix continuation with the adapter identification message
c770ce978ac2 net: fec: fix rare tx timeout
5613fc70844b thunderbolt: Initialize after IOMMUs
1699207e9c7c thunderbolt: Do not handle ICM events after domain is stopped
14ad1e0af45f perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events
9f1aaaae92ff perf/x86/intel/uncore: Fix PCI BDF address of M3UPI on SKX
8764955cc03e perf/ring_buffer: Prevent concurent ring buffer access
3617d16a5744 perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded physical package ID 0
d318ef466d5f perf/core: Fix perf_pmu_unregister() locking
2f56f220a61e KVM: nVMX: Fix emulation of VM_ENTRY_LOAD_BNDCFGS
3c81fff77cfd KVM: x86: Do not use kvm_x86_ops->mpx_supported() directly
82ba86c25383 KVM: nVMX: Do not expose MPX VMX controls when guest MPX disabled
2dbf48f8ffb3 cfg80211: fix use-after-free in reg_process_hint()
9069c847f3fe smsc95xx: Check for Wake-on-LAN modes
4f1268db2975 smsc75xx: Check for Wake-on-LAN modes
e3935fa141b8 r8152: Check for supported Wake-on-LAN Modes
e8f4ce7df75e sr9800: Check for supported Wake-on-LAN modes
35c636108bc4 lan78xx: Check for supported Wake-on-LAN modes
58d2f3f743a1 ax88179_178a: Check for supported Wake-on-LAN modes
afc7b1940200 asix: Check for supported Wake-on-LAN modes
723b7d86877d netfilter: avoid erronous array bounds warning
8d3156b3c109 netfilter: nft_set_rbtree: add missing rb_erase() in GC routine
18cb92701a5d rxrpc: Fix error distribution
4ca2cf672c5b rxrpc: Fix transport sockopts to get IPv4 errors on an IPv6 socket
1a75026c857a rxrpc: Fix RTT gathering
6a14d1c9336f rxrpc: Fix checks as to whether we should set up a new call
605c374d8d70 scsi: qedi: Initialize the stats mutex lock
aa1945964a7c nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
7a9bda693628 qed: Avoid implicit enum conversion in qed_iwarp_parse_rx_pkt
d627d3b8bed3 qed: Avoid constant logical operation warning in qed_vf_pf_acquire
02e2aef498f7 qed: Avoid implicit enum conversion in qed_roce_mode_to_flavor
b65e69499980 qed: Fix mask parameter in qed_vf_prep_tunn_req_tlv
a2b1a38ad02b qed: Avoid implicit enum conversion in qed_set_tunn_cls_info
b9e005da34ff pxa168fb: prepare the clock
6c2222c8f039 Bluetooth: SMP: fix crash in unpairing
68fd462426c4 mac80211_hwsim: do not omit multicast announce of first added radio
5b79f65376d3 mac80211_hwsim: fix race in radio destruction from netlink notifier
a245a12394fe mac80211_hwsim: fix locking when iterating radios during ns exit
de835e3911a3 nl80211: Fix possible Spectre-v1 for NL80211_TXRATE_HT
4417f9e05c28 soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift()
d87e83a55f4b soc: fsl: qbman: qman: avoid allocating from non existing gen_pool
da5e35d2f776 net: macb: Clean 64b dma addresses if they are not detected
5499ce65ff9c ARM: dts: BCM63xx: Fix incorrect interrupt specifiers
a958dc5482c1 arm64: hugetlb: Fix handling of young ptes
eaab185b06cd netfilter: conntrack: get rid of double sizeof
044c43754741 netfilter: bridge: Don't sabotage nf_hook calls from an l3mdev
6b7174a50fb2 drm/i2c: tda9950: set MAX_RETRIES for errors only
4abac4cf573a drm/i2c: tda9950: fix timeout counter check
9981ca44ae4b xfrm: validate template mode
3dc70478360e ARM: 8799/1: mm: fix pci_ioremap_io() offset check
c473a489d409 xfrm: Fix NULL pointer dereference when skb_dst_force clears the dst_entry.
53d617654c50 mac80211: fix TX status reporting for ieee80211s
fd6b693e1d94 mac80211: TDLS: fix skb queue/priority assignment
a9489521a39c cfg80211: Address some corner cases in scan result channel updating
2c4739102f0e mac80211: fix pending queue hang due to TX_DROP
2953d28476c3 cfg80211: reg: Init wiphy_idx in regulatory_hint_core()
e20c2a6a7144 mac80211: Always report TX status
c3767729df27 xfrm: reset crypto_done when iterating over multiple input xfrms
fdb06c787b34 xfrm: reset transport header back to network header after all input transforms ahave been applied
401979de6e8b xfrm6: call kfree_skb when skb is toobig
36ad133bf987 xfrm: Validate address prefix lengths in the xfrm selector.
6b3252287aa2 Linux 4.18.16
645ad2d5cccc ARC: build: Don't set CROSS_COMPILE in arch's Makefile
dfed0698a22e ARC: build: Get rid of toolchain check
d80183541e60 mremap: properly flush TLB before releasing the page
94d2da5ba1dd Revert "vfs: fix freeze protection in mnt_want_write_file() for overlayfs"
7fde798123ef x86/boot: Fix kexec booting failure in the SEV bit detection code
44e564aa4525 iommu/amd: Return devid as alias for ACPI HID devices
0e963ecefb72 powerpc/numa: Use associativity if VPHN hcall is successful
4a079f0a5398 powerpc/tm: Avoid possible userspace r1 corruption on reclaim
8725b910e72d powerpc/tm: Fix userspace r13 corruption
b0b901600550 pinctrl/amd: poll InterruptEnable bits in amd_gpio_irq_set_type
0fe04d27b5e3 iommu/rockchip: Free irqs in shutdown handler
1e23af485f89 RISC-V: include linux/ftrace.h in asm-prototypes.h
086906d90bae RDMA/bnxt_re: Fix system crash during RDMA resource initialization
87e75317fe81 clocksource/drivers/fttmr010: Fix set_next_event handler
323ad7436184 net/mlx4: Use cpumask_available for eq->affinity_mask
bcb2acdf27b3 bpf: test_maps, only support ESTABLISHED socks
19e43942cbb7 bpf: sockmap, fix transition through disconnect without close
60c302b7aea5 bpf: sockmap only allow ESTABLISHED sock state
019a15f9bd44 scsi: sd: don't crash the host on invalid commands
6dba1e338b6e scsi: ipr: System hung while dlpar adding primary ipr adapter back
ce32caf41e53 drm: mali-dp: Call drm_crtc_vblank_reset on device init
fab5471586f4 scsi: lpfc: Synchronize access to remoteport via rport
7dc74b2622c2 RDMA/uverbs: Fix validity check for modify QP
2c93f6f118ad PCI: dwc: Fix scheduling while atomic issues
1093a05b5828 qed: Do not add VLAN 0 tag to untagged frames in multi-function mode.
c23f22169cac qed: Fix populating the invalid stag value in multi function mode.
9bdac39234d0 net/smc: fix sizeof to int comparison
4b238ea05476 net/smc: fix non-blocking connect problem
6b7d727a2d18 ravb: do not write 1 to reserved bits
14bbe1ab20ac net: emac: fix fixed-link setup for the RTL8363SB switch
66acb86c0905 selftests: pmtu: properly redirect stderr to /dev/null
6a08cbb10aac Input: atakbd - fix Atari CapsLock behaviour
ef17628c07da Input: atakbd - fix Atari keymap
462809659a39 intel_th: pci: Add Ice Lake PCH support
ee43eeb4d1b9 scsi: ibmvscsis: Ensure partition name is properly NUL terminated
10ad9dcade4b scsi: ibmvscsis: Fix a stringop-overflow warning
bb59249268cf clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs
385ce0611598 cxgb4: fix abort_req_rss6 struct
413baacefef9 batman-adv: fix hardif_neigh refcount on queue_work() failure
04125a63ea54 batman-adv: fix backbone_gw refcount on queue_work() failure
39b0e1c4c79f batman-adv: Prevent duplicated tvlv handler
c25ae7c479af batman-adv: Prevent duplicated global TT entry
71d6d75e5801 batman-adv: Prevent duplicated softif_vlan entry
2d1749b0fab0 batman-adv: Prevent duplicated nc_node entry
d8ed2b187456 batman-adv: Prevent duplicated gateway_node entry
eddab21dd463 batman-adv: Fix segfault when writing to sysfs elp_interval
54231bb59a9a batman-adv: Fix segfault when writing to throughput_override
52406f34bbb6 batman-adv: Avoid probe ELP information leak
26c0bac0c117 spi: gpio: Fix copy-and-paste error
affb1840c578 media: af9035: prevent buffer overflow on write
1228a75335e0 soundwire: Fix acquiring bus lock twice during master release
ad9107d7e1c7 soundwire: Fix incorrect exit after configuring stream
b1bafbe4ff2d soundwire: Fix duplicate stream state assignment
2724bf10255a Linux 4.18.15
4a15f8a1de59 KVM: PPC: Book3S HV: Avoid crash from THP collapse during radix page fault
726c11216e33 i2c: i2c-scmi: fix for i2c_smbus_write_block_data
a249cdf8fc74 mm: Preserve _PAGE_DEVMAP across mprotect() calls
7230bb7c98c1 filesystem-dax: Fix dax_layout_busy_page() livelock
3c3bb028a3b7 mm/thp: fix call to mmu_notifier in set_pmd_migration_entry() v2
ffa4d6624e1a mm/mmap.c: don't clobber partially overlapping VMA with MAP_FIXED_NOREPLACE
53abe5164894 arm64: perf: Reject stand-alone CHAIN events for PMUv3
59d9c7cba4ba pinctrl: mcp23s08: fix irq and irqchip setup order
3df1331f63cd mmc: block: avoid multiblock reads for the last sector in SPI mode
7088776eb06a drm/nouveau/drm/nouveau: Grab runtime PM ref in nv50_mstc_detect()
ca45da09bc32 Input: xpad - add support for Xbox1 PDP Camo series gamepad
d8408e8fc720 cgroup: Fix dom_cgrp propagation when enabling threaded mode
012e6bceab53 dm linear: fix linear_end_io conditional definition
996a427d8683 dm linear: eliminate linear_end_io call if CONFIG_DM_ZONED disabled
689ba84574c2 dm: fix report zone remapping to account for partition offset
e725141c0f4e dm cache: destroy migration_cache if cache target registration failed
d8e15b143e4d s390/cio: Fix how vfio-ccw checks pinned pages
b51943f088e5 perf script python: Fix export-to-sqlite.py sample columns
cfb08fb1815f perf script python: Fix export-to-postgresql.py occasional failure
37e64cb69f0f percpu: stop leaking bitmap metadata blocks
71cfcc667ffa vsprintf: Fix off-by-one bug in bstr_printf() processing dereferenced pointers
254754169d9d mach64: detect the dot clock divider correctly on sparc
e4882348eaa9 MIPS: VDSO: Always map near top of user memory
baa63c6a5b11 MIPS: Fix CONFIG_CMDLINE handling
84a397478153 afs: Fix clearance of reply
b28b1a5f8653 afs: Fix afs_server struct leak
04473bb7793b mm/vmstat.c: fix outdated vmstat_text
62aad93f09c1 mm: slowly shrink slabs with a relatively small number of objects
3792c002b9ff drm/amdkfd: Fix ATS capablity was not reported correctly on some APUs
c2fd5b21cbd9 drm/amdkfd: Change the control stack MTYPE from UC to NC on GFX9
2d3966dd95dc drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7
1c9f357d3ebb x86/kvm/lapic: always disable MMIO interface in x2APIC mode
5d85d4e0e105 pinctrl: cannonlake: Fix gpio base for GPP-E
9f8318a1c50c clk: x86: Stop marking clocks as CLK_IS_CRITICAL
81b8b9dffca8 clk: x86: add "ether_clk" alias for Bay Trail / Cherry Trail
b25a8dd9895b PCI: hv: support reporting serial number as slot information
aed5429279f8 ARM: dts: at91: add new compatibility string for macb on sama5d3
ee62a5d3ea8a net: macb: disable scatter-gather for macb on sama5d3
53035808c294 net: ethernet: ti: add missing GENERIC_ALLOCATOR dependency
8be050c4011b hwmon: (nct6775) Use different register to get fan RPM for fan7
1d753e689276 stmmac: fix valid numbers of unicast filter entries
d8eeee24ced8 hwmon: (nct6775) Fix RPM output for fan7 on NCT6796D
510dc356ff2c hwmon: (nct6775) Fix virtual temperature sources for NCT6796D
4dc76c13f297 bpf: use __GFP_COMP while allocating page
d2440a0b0672 bpf: btf: Fix end boundary calculation for type section
aeaca3563bea sound: don't call skl_init_chip() to reset intel skl soc
9761976f8e01 sound: enable interrupt after dma buffer initialization
a1d77f9cd10a scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()
9ac4572a7374 scsi: iscsi: target: Don't use stack buffer for scatterlist
970f5df113b1 KVM: PPC: Book3S HV: Don't use compound_order to determine host mapping size
ba73c6ed5010 mfd: omap-usb-host: Fix dts probe of children
e7c4c41389ff Bluetooth: hci_ldisc: Free rw_semaphore on close
0d95a3d1fcf6 Bluetooth: Use correct tfm to generate OOB data
3194c412f471 Bluetooth: SMP: Fix trying to use non-existent local OOB data
5421ce8b59bc drm/pl111: Make sure of_device_id tables are NULL terminated
d0200873bc9c ASoC: AMD: Ensure reset bit is cleared before configuring
5d1a5a5eed92 Fix cg_read_strcmp()
636dd4536009 hwmon: (nct6775) Fix access to fan pulse registers
59fcb2491ca0 ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER
ee3953f7b81c ASoC: rsnd: adg: care clock-frequency size
b7bad669da54 selftests: memory-hotplug: add required configs
9a90b9e380c5 selftests/efivarfs: add required kernel configs
40299ec565fa selftests: add headers_install to lib.mk
36a89768d19f ASoC: q6routing: initialize data correctly
64458ca97124 ASoC: sigmadsp: safeload should not have lower byte limit
4a7f15b6d5fa ASoC: wm8804: Add ACPI support
55261a2cddb5 ASoC: max98373: Added 10ms sleep after amp software reset
686da99baa28 selftests: kselftest: Remove outdated comment
6a4d1b70e323 selftests: android: move config up a level
334411face5a ASoC: rt5514: Fix the issue of the delay volume applied again
e4c577698c7c ASoC: max98373: Added speaker FS gain cotnrol register to volatile.
6e6b32ed0413 ASoC: dapm: Fix NULL pointer deference on CODEC to CODEC DAIs
ffac8fa2bee5 vxlan: fill ttl inherit info
241e5a13a5ad r8169: set RX_MULTI_EN bit in RxConfig for 8168F-family chips
87441df1e19e r8169: fix network stalls due to missing bit TXCFG_AUTO_FIFO
761ea5beff71 qed: Fix shmem structure inconsistency between driver and the mfw.
6133d8e499e6 net: mscc: fix the frame extraction into the skb
d29a558b56ee net/ipv6: stop leaking percpu memory in fib6 info
e3827b9bc3ba net/ipv6: Remove extra call to ip6_convert_metrics for multipath case
47049f54f89d bnxt_en: get the reduced max_irqs by the ones used by RDMA
dce53396b52d bnxt_en: Fix enables field in HWRM_QUEUE_COS2BW_CFG request
23631aa634ef net/mlx5: Check for SQ and not RQ state when modifying hairpin SQ
6691a126ed63 net: ipv4: don't let PMTU updates increase route MTU
530a9463cbe6 bnxt_en: Fix VNIC reservations on the PF.
5d4fe8e6344b rtnetlink: Fail dump if target netnsid is invalid
36298c66d8dc net: dsa: b53: Keep CPU port as tagged in all VLANs
efef3f2073d1 inet: make sure to grab rcu_read_lock before using ireq->ireq_opt
9fd4b0122ac3 tcp/dccp: fix lockdep issue when SYN is backlogged
54d72415f8b2 sfp: fix oops with ethtool -m
24205e4e62dd net: phy: phylink: fix SFP interface autodetection
37b309773a67 net-ethtool: ETHTOOL_GUFO did not and should not require CAP_NET_ADMIN
2402fbb7aa01 bnxt_en: don't try to offload VLAN 'modify' action
f219cd971281 nfp: avoid soft lockups under control message storm
2b4588d75b89 net: stmmac: Rework coalesce timer and fix multi-queue races
8f389cd37d10 bonding: fix warning message
5fb48fe95e41 bonding: pass link-local packets to bonding master also.
92a2a40c876f net/mlx5: E-Switch, Fix out of bound access when setting vport rate
02e16d375ee6 net: aquantia: memory corruption on jumbo frames
6db3fc2839be net/mlx5e: Set vlan masks for all offloaded TC rules
42296a164196 net: dsa: bcm_sf2: Fix unbind ordering
53afeb0b222b net/packet: fix packet drop as of virtio gso
75ebeb2e6a60 net: stmmac: Fixup the tail addr setting in xmit path
0c5eff9c2cf2 tun: napi flags belong to tfile
d013c6b952f0 tun: initialize napi_mutex unconditionally
7d96410f397b tun: remove unused parameters
095a5309c6c6 net: qualcomm: rmnet: Fix incorrect allocation flag in receive path
9db5df4c92dd net: qualcomm: rmnet: Fix incorrect allocation flag in transmit
3283c92e91f7 net: qualcomm: rmnet: Skip processing loopback packets
3ab83c6a1fb4 udp: Unbreak modules that rely on external __skb_recv_udp() availability
4f6017d6ef53 tipc: fix flow control accounting for implicit connect
0240ca1b11d3 team: Forbid enslaving team device to itself
375c63d4a70c sctp: update dst pmtu with the correct daddr
2ac4b03c0fcc rtnl: limit IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES to 4096
5369306f960f rtnetlink: fix rtnl_fdb_dump() for ndmsg header
7f4a4fa5fa58 qmi_wwan: Added support for Gemalto's Cinterion ALASxx WWAN interface
cbf2e16dd724 qlcnic: fix Tx descriptor corruption on 82xx devices
0993dc028ed2 net/usb: cancel pending work when unbinding smsc75xx
a308452e12c0 net: systemport: Fix wake-up interrupt race during resume
6da1bd2d008f net: sched: cls_u32: fix hnode refcounting
57ad6586fd57 net: sched: Add policy validation for tc attributes
94d93e549eb1 net: mvpp2: fix a txq_done race condition
ac521a40054c net: mvpp2: Extract the correct ethtype from the skb for tx csum offload
dbbae2c07809 netlabel: check for IPV4MASK in addrinfo_get
e4a00db35924 net/ipv6: Display all addresses in output of /proc/net/if_inet6
ff34695ced21 net: ipv4: update fnhe_pmtu when first hop's MTU changes
87d57bb87dd8 net: hns: fix for unmapping problem when SMMU is on
1ae21378ab43 net: dsa: bcm_sf2: Call setup during switch resume
08e8e22b6d3a ipv6: take rcu lock in rawv6_send_hdrinc()
18ea575f665d ipv4: fix use-after-free in ip_cmsg_recv_dstaddr()
fa111ec2d2c5 ip_tunnel: be careful when accessing the inner header
84b262a5a008 ip6_tunnel: be careful when accessing the inner header
1b420a9999f0 bonding: avoid possible dead-lock
2fc26dfba49d bnxt_en: free hwrm resources, if driver probe fails.
f462adcb0638 bnxt_en: Fix TX timeout during netpoll.
(From OE-Core rev: 9c7770cf622571b7e8ba0f3447323bcf777b5486)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits:
2ba9a28434f8 netfilter: use kvmalloc_array to allocate memory for hashtable
6e1fae5d233a ipv4: net namespace does not inherit network configurations
As well as the following configuration changes:
ed1978c99214 features/module-signing: add new feature
a28fd4843381 edac: Drop CONFIG_EDAC_MM_EDAC and add dependency
8ae63963256e xfs: add xfs support
(From OE-Core rev: d88ce948ff2c910e796b78be388bec9578f6eb9c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemuarm-tiny support was added to the 4.15 linux-yocto kernel, and
was incorrectly dropped from 4.18.
This restores the support for out of the box builds in 4.18+.
(From OE-Core rev: bd066bf4aa47b6ca37fbeb4ac4909d75a8a1e285)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default KBRANCH for building -tiny should not be machine specific.
In fact, the SRCREVs that have been in place for -tiny have been using
the hashes from tiny/base for some time, but since the machine specific
branches all contain that hash, the mismatch hasn't been spotted.
Setting the default branch to standard/tiny/base makes sure that the
default branch and SRCREVs always match.
(From OE-Core rev: dc11aab60e7561d764c56808277b47e7bb40c6c0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following -rt patches:
cab37ca8426b rt: update localversion to match latest content
186274b2b6dc tty: serial: pl011: explicitly initialize the flags variable
ac121b7124a0 mm/kasan: make quarantine_lock a raw_spinlock_t
6100773500e7 watchdog: prevent deferral of watchdogd wakeup on RT
ce594291c4eb kthread: convert worker lock to raw spinlock
And the following configuration tweaks:
e39413ec2bdd sound.cfg: enable SND_SOC_INTEL_SKYLAKE
(From OE-Core rev: a757e0638e8411fe6b4c58f3840ee27d49feb97e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lxc config fragments have some options that are no long valid. So we
can safely drop them.
721f3cfcb199 lxc: drop CONFIG_MM_OWNER
3b5f717d0311 vfio: drop CONFIG_KVM_DEVICE_ASSIGNMENT
(From OE-Core rev: b7ddaeab2c48b68e2be24c8f810ac9e84c6bb171)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had gcc 8.2 around for long enough that 7.3 can be removed now.
(From OE-Core rev: 20aea61385e1a53ac245353899277ba20104ed2f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While parsing opkg package status, last package status was not
properly handled, resulting in final image without postinst and
pkg depends
(From OE-Core rev: 0d3ca08347eb0c8b9615a0197c213a32f52033c8)
Signed-off-by: Raul Martins <raul.martins@alta-rt.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are four functions using TFmode type (128bit) that isn't
available when building with musl. Move each of them from common
ppc64-fp.c to individual files referenced from t-float128 that used
when ldbl 128 enabled at configure time.
For gcc-7.3 if -mfloat128 is given -mfloat128-type must be given too.
Exclude ibm-ldouble.c when ldbl 128 isn't enabled at config time.
Build and boot tested with musl (no float128) and glibc (float128
and ibm128 on PowerPC64).
(From OE-Core rev: dec8e566810525563b33c2877d10db0a70965d6d)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building for powerpc64 using musl as C library we get preprocessor
macro redefinition errors since gcc-configure-common.inc adds #define
of STANDARD_STARTFILE_PREFIX_1 and STANDARD_STARTFILE_PREFIX_2 to
gcc/defaults.h after ones added by a patch that ensures target gcc
headers included.
Since gcc-configure-common.inc included in every gcc recipe either
directly or indirectly, do_configure task is not disabled/deleted for
any of them (except gcc-source.inc) and there is no precondition that
skips gcc/defaults.h patching in
gcc-configure-common.inc::do_configure_prepend() we can just remove
conflicting parts of mentioned above patch to have single place where
start files prefixes defined in do_configure() task.
(From OE-Core rev: 0622a4168aac627b44547f72fe93589cf1050e42)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building for powerpc 32bit with musl following error triggered
from do_configure:
checking for the platform triplet based on compiler characteristics... powerpc-linux-gnu
configure: error: internal configure error for the platform triplet, please file a bug report
This is caused by PLATFORM_TRIPLET != MULTIARCH mismatch since MULTIARCH
in case of musl is powerpc-linux-musl. Since triplet is used as part
module name as described in PEP-3149 to make fix less intrusive alias
powerpc-linux-musl to powerpc-linux-gnu to avoid possible runtime
(e.g. tests) incompatibilities later.
Fix was inspired by commit cda0ef61d373 ("python3: fix do_configure
check platform triplet error").
(From OE-Core rev: b2ec91e12088afa0560aecede587d0970fc64110)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is written for elfv1 ABI in mind and linked as such: disable
all optimizations at the moment when building for powerpc64 with musl.
(From OE-Core rev: bee9e807430178426b2a5635b573ae285e889c39)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In absence of /etc/ld-musl-$(ARCH).path file musl uses hardcoded default
search path "/lib:/usr/local/lib:/usr/lib". This works for cases when
system libraries installed in one of these pathes.
However if lib64 or libx32 used as system library directories and no
usr merge functionality enabled for distro musl dynamic loader cannot
find libraries and finally execute binaries.
Found while working on support for musl on powerpc64 builds where
lib64 variant is used regardless of multilib being on or off.
Fix by creating default search path based on configuration time values
for syslibdir and libdir.
(From OE-Core rev: 2da79f021b5525ea5b56a86563905a67fc958fa5)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Historically first PowerPC ABI was big-endian only (elfv1 currently). It
is standard ABI for both 32-bit ppc and 64-bit ppc64 architectures.
With PowerPC little-endian support new ABI was introduced (elfv2) and it
is used primarily with ppc64le target only. While it has support for
big-endian it is not commonly used and elfv1 still preferred.
Musl does support only elfv2 ABI for both LE and BE and does not have
any plans to support elfv1.
Since then to build for powerpc64 with musl new ABI should be used. As
expected it is not compatible with elfv1 but that isn't problem as long
as there is no binary distributed software or assembly code written for
elfv1 ABI.
(From OE-Core rev: 68c9641855199f34aabe1050e863c21830116fe1)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running qemu for userspace code on unsupported target binaries might
be bad idea because qemu could say running in endless loop instead
of crashing due to illegal instruction or unsupported binary format.
While this is qemu bug we should avoid hitting it by explicitly exiting
from the wrapper when qemu backfill considered for machine.
Behaviour was observed in do_rootfs stage when building on IBM Power 8
host for PowerPC e7400 target.
(From OE-Core rev: a0ebc77ee0b461fc30e704f7dd9e9c2061ef4193)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The QEMU usermode fails with invalid instruction error when
used with those tunes.
(From OE-Core rev: c1c881ef7f4faf94f385ae742030382122ee5816)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is ppcpX, not ppcprX, where X is 6 or 7. While there select 32bit
tune for P5 machine to bring it inline with P6 and P7.
(From OE-Core rev: 220eee184a4f510cdf7c55e2aed00330abee1553)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the ELF definition for the powerpc64 architecture when building
with musl as libc.
(From OE-Core rev: 2c09ab40fd92a49d16352639331db9c7e5171515)
Signed-off-by: Serhey Popovych <serhe.popovych@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)
Signed-off-by: Erik Botö <erik.boto@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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated poky.ent to have variables for 2.7.
Updated mega-manual.sed file to use "2.7" string.
Updated all <manual>.xml Manual History Tables to use "TBD"
(From yocto-docs rev: d6f8bbd6e107913265ea1ac95ab8817e199ff60b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I cleaned up the terminology used for the CMake build system.
I provided some meaningful links to a good overview page for CMake.
I also built in some cross-referencing as needed.
(From yocto-docs rev: 7c38add39b97a7a8786a1be53f9ff549e4727fad)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
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: f02114cb70e8f6f1d32e19c02b758fe0aadecd19)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump QEMU to the latest 3.1 and update the patches.
(From OE-Core rev: eeb918fc9b67a5d252b9d5ad5f3674cc1a45aa7f)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a test fails the log has useful information, so include that in the output.
(From OE-Core rev: f66f533eb9974cdefaacfee00d019c65e0d80b9e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Go back to use rpm5.org, as it's the canonical host for popt. The host is back up now.
This reverts commit 347ee336dcc94e6fa4e4788117013615b90abd70.
(From OE-Core rev: 691e540e724c609cceeb9379e1252a05abebd5b1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A Public Suffix List is a collection of Top Level Domains (TLDs) suffixes. TLDs
include Global Top Level Domains (gTLDs) like .com and .net; Country Top Level
Domains (ccTLDs) like .de and .cn; and Brand Top Level Domains like .apple and
.google. Brand TLDs allows users to register their own top level domain that
exist at the same level as ICANN's gTLDs. Brand TLDs are sometimes referred to
as Vanity Domains.
(From OE-Core rev: 30f4c433e3b205648c70b154debdea9eb9e668d7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid uninative checksum warnings when building on aarch64 hardware.
(From OE-Core rev: 3ccc2de5f08fb2023abeeed39e23c68dbc75725b)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than use the obsolete do_checkpkg function, use the new recipeutils
function which uses tinfoil to get the data rather than needing csv file
manipulation.
(From OE-Core rev: 3f3f80b00cd999f1b2aef8f5c0ce0900aa4dcbcb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in distrodata.bbclass related to the do_checkpkg task is rather
dated, has holes in it (ignoring some recipes) and has horrible locking
and csv related issues.
We should use modern APIs such as tinfoil to make the calls we need directly
against bitbake, cutting out the middleman and clarifing the code.
This change imports the bits of distrodata.bbclass that are needed by the
automated upgrade helper (AUH) into a standalone function which uses the
tinfoil API. This can then be used by AUH and by the tests in
oeqa/selftest/distrodata as well as by any other standalone script that needs
this functionality. Its likely it can be further improved from here but this is a
good start and appears to function as before, with slightly wider recipe
coverage as some things skipped by distrodata are not skipped here (images,
pieces of gcc, nativesdk only recipes).
(From OE-Core rev: 92e33277b1b7892bae9cc0801ab379bd1c57c0f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With aarch64 hosts coming into use, set the syscall number to
avoid ioprio warnings on that platform.
(Bitbake rev: 5eaf9e7b26f09f5f106e1c3c6976d517b289450a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing problems due to the way x86-64 is handled (or not handled)
as an override. Relax the containts on overrides from being lowercase
to being lowercase or numeric. This fixes problem where MACHINE=qemux86
would work but MACHINE=qemux86-64 would fail the same tests.
(Bitbake rev: 3a3be518536acc868c7eeb3c1111ad1b321480b7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix some further python3 warnings about unescaped regexs.
(Bitbake rev: 8667605d016e82add95638fcb15c2bbc1b489ecc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Images were previously missing but are added, this also corrects the names
used for gcc/go/bintuils/gdb recipes and adds a few other misc missing ones
to ensure we have complete coverage of the recipes in OE-Core.
(From OE-Core rev: 6408b4b90833706dd1307f845266dcf9fccdbcaf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The crosssdk dependencies are handled using the virtual/ namespace so
this name doesn't matter in the general sense. We want to be able to provide
recipe maintainer information through overrides though, so this standardises it
with the behaviour from gcc-crosssdk and ensures the maintainer overrides work.
(From OE-Core rev: da8c3728bf8bb4d4ae71e15626fc10976802185d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix systemd compile error for x32:
| ../git/src/timesync/timesyncd-manager.c:607:19: error: format '%lli'
| expects argument of type 'long long int', but argument 11 has type
| 'long int' [-Werror=format=]
[YOCTO #13074]
(From OE-Core rev: 7201df413616cab8d7f3257f86dd7a0a5c7719ee)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use tinfoil to enumerate recipes and get the value of RECIPE_MAINTAINER
to make it a bit more reliable in the face of do_checkpkg issues we are
currently seeing on the Yocto Project autobuilder. This also makes it a
little less painful to re-execute test_maintainers() since you don't
have to wait for bitbake -c checkpkg to complete every time.
Note that the new test has been written in such a way that it will still
function if RECIPE_MAINTAINER values are ever moved to the recipes.
Also, the test still currently fails as there are recipes that don't
have an assigned maintainer.
(From OE-Core rev: 47282a2f6f12acebf58961ea9410cfbc335d560b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ ln -s /usr/bin/ccache /folk/lyang1/bin/gcc
$ rm -fr tmp/hosttools/ && bitbake -p
[snip]
ERROR: Error running gcc --version:
It didn't print the error message, now it is:
ERROR: Error running gcc --version: ccache: error: Could not find compiler "gcc" in PATH
For the error itself, it is because ccache is not in my HOSTTOOLS, so this is
an expected error.
(From OE-Core rev: 91955caae584b4f75118e04411851b1a3d783fec)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bbclass currently adds INSANE_SKIP to the sstate hash dependencies
however the package specific skips such as INSANE_SKIP_${PN} are
not added automatically because of how the class references them.
This causes the problem that modifying INSANE_SKIP_${PN} does not
invalidate the sstate cache and can mask build breaking warnings.
Add an anonymous python snippet to explicitly include these additional
relevant skips to the sstate hash.
Singed-off-by: Michael Ho <Michael.Ho@bmw.de>
(From OE-Core rev: 8690332183f10a5e5689da7ec030567dfd1ac091)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This resolves issues with paths being marked as system includes that
differ from /usr/include but are considered implicit by the toolchain.
This enables developers to add directories to system includes
to supress compiler compiler warnings from them.
(From OE-Core rev: 9c2227d5d960f93e00791157354f0c920fbecf39)
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Cc: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't use the helper class as it gets in the way more than it helps, exercise
the out-of-tree paths, and verify the installed files match the expected
architecture.
(From OE-Core rev: 6d666b0413336de2e556b2722c5be97ae5cd40ad)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't use the helper class as it gets in the way more than it helps, exercise
the out-of-tree paths, and verify the installed files match the expected
architecture.
(From OE-Core rev: 920ae8c6537c2469f21ab9439587fd094ecc40f6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop redundant imports and variables, and use os.makedirs() instead of
bb.utils.mkdirhier().
(From OE-Core rev: 2de9b1e611e5047afb540f98756994925c22e446)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use oeqa.utils.subprocesstweak to monkey-patch the subprocess exception so that
any output is shown, and remove any explicit try/catch handling that would have
hidden this.
(From OE-Core rev: 55964b33b561397287779ee474170790dfd03e85)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For example, instead of saying "3 != 62", say "Binary was x86-64 but expected
i586".
(From OE-Core rev: 9ab94cea589fca4394ec1fd8dc06b23fd8e990b9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a workaround for the following possible build failure.
*** Compiler lacks asm-goto support.. Stop.
When building linux-libc-headers we need to use binutils on build machine.
binutils v2.31 introduces a bug that could cause scripts/gcc-goto.sh to fail
when running in an environment where /tmp is rarely used, e.g. in docker.
(From OE-Core rev: 2322dc4f414da0281fdaffa7bc2205fb82a63d12)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using clang, its increasingly using its own runtime which means
libgcc is not enough to find all primitives its using.
Fixes errors like
recipe-sysroot/usr/lib/libwebkit2gtk-4.0.so: undefined reference to
`__mulodi4'
(From OE-Core rev: 9584fc5ff7e07bb38c6ab115a216d9d28d1632d9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that bitness and endianness is ignored for BPF objects
Fixes QA issues like
Bit size did not match (32 to 64) kernel-selftest on
/work/qemumips-yoe-linux/kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/bpf/test_btf_nokv.o
(From OE-Core rev: 26722e59ca5df14bd90fc09306d97ff0fd078f32)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use cleandirs to ensure ${B} is always empty, and remove redundant assignment of
EXTRA_OEMAKE (presumably from when it had a non-empty default).
(From OE-Core rev: 326e183479f9cae12f2219a2bf9112b322832daa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a new python2 manifest, there is a corner case on which
the filepath for a certain dependency that was found, could contain
the path of an existing folder, e.g. ${libdir}/python2.7/xmlrpclib.py
module path contains ${libdir}/python2.7/xml, this causes an issue where
the dependency doesnt get eventually added on FILES for that module.
This patch checks if the dependency that was found is a directory, if it
is, it checks if it matches one of the existing directories on the
manifest, if it is not, then it checks if the dependency's path (without
the filename) matches one of the directories.
Also some misc indentation fixes.
(From OE-Core rev: a1c1253b44eb2000de55b7fa3836e5cdaa28a508)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several patches were being applied unnecessarily, the purpose they
served at one point has either been fixed differently, or accepted
upstream.
Add a new patch to make clang's diagnostics happy
(From OE-Core rev: 8bc0d2f2197430723f8b2d0785169e48c883eedb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a new python3 manifest, there is a corner case on which
the filepath for a certain dependency that was found, could contain
the path of an existing folder, e.g. ${libdir}/python3/xmlrpclib.py
module path contains ${libdir}/python3/xml, this causes an issue where
the dependency doesnt get eventually added on FILES for that module.
This patch checks if the dependency that was found is a directory, if it
is, it checks if it matches one of the existing directories on the
manifest, if it is not, then it checks if the dependency's path (without
the filename) matches one of the directories.
(From OE-Core rev: 59db12fdf294cfab5c1730337d092a75867658f7)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The p_error() is used for printing errors when parse shell code, but it can't
the EOF error correctly
- Add the following lines to quilt.inc
do_configure_prepend () {
find ${s} -name "*.in" -exec sed -i -e "1s,^#\!.*@perl@ -w$,#\! @perl@\nuse warnings;," {} \;
if [ hello ]; then
}
- Before the patch:
$ rm -fr cache/ tmp/cache/; bitbake -p
[snip]
WARNING: /path/to/quilt/quilt-native_0.65.bb: Error during finalise of /path/to/quilt/quilt-native_0.65.bb
[snip]
bb.pysh.sherrors.ShellSyntaxError: None
followed by:
We can see that this isn't easy to debug, let p_error() check wheter it is EOF
and print appropriate errors can improve the error message. And don't let
codeparser.py except pyshlex.NeedMore (in fact, it never worked since p_error()
only raise ShellSyntaxError), but make it print the last 5 lines which might be
useful for debuging.
- After the patch
$ rm -fr cache/ tmp/cache/; bitbake -p
[snip]
ERROR: /path/to/quilt/quilt_0.65.bb: Error during parse shell code, the last 5 lines are:
find /path/to/quilt/0.65-r0/quilt-0.65 -name "*.in" -exec sed -i -e "1s,^#\!.*@PERL@ -w$,#\! @PERL@\nuse warnings;," {} \;
if [ hello ]; then
autotools_do_configure
sed -e 's,^COMPAT_SYMLINKS.*:=.*,COMPAT_SYMLINKS :=,' -i /path/to/quilt/0.65-r0/quilt-0.65/Makefile
[snip]
File "/path/to/bb/pysh/pyshyacc.py", line 649, in p_error(p=None):
w('Unexpected EOF')
> raise sherrors.ShellSyntaxError(''.join(msg))
bb.pysh.sherrors.ShellSyntaxError: Unexpected EOF
(Bitbake rev: 44790597951638e32eb1672de2e40bd5a603326b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>> from Set import Set
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'Set'
So remove related code.
(Bitbake rev: 118e9d8894e64d102543562314b318676006e710)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The only two that we need are ShellSyntaxError and ShellError, others are not
used, so remove them.
(Bitbake rev: abee2ff5ee71bf8c3221cd9d3cd4243ebb4ca273)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration of the sqlite database can timeout due to locking
under heavy load and should be subject to the same retry logic as the
other statements.
[YOCTO #13069]
(Bitbake rev: 5a2a95b0396e39662968690b3065d2f88167a71c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've already tweaked remove() for speed and not to error if it
races for deletion. Therefore use this for prunedir() which was
starting to show the same bug reports.
[YOCTO #13003]
(Bitbake rev: 47f359f9b017f8d99d0bb2161ac0dcefcbd915de)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
os.errno used to happen to work but is invalid. Correct to use errno.
[YOCTO #13068]
(Bitbake rev: 03aae96a8859409b1ce7e3d5c1197371fa96bd14)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This could clearly never have worked since the python3 migration
but as its in an error path, it doesn't get tested/used much.
(Bitbake rev: 704f27dc28d50a6dc02c8b64274ee4ecb3058c4a)
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: 8d1fc115b8a176009f1f3a8ce840b422e7e0b45e)
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: 7a4e105093c3080c1087cd06abc2883852a23e28)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson uses 'mips64' for both big- and little-endian MIPS64 machines,
so map mips64el to mips64.
(From OE-Core rev: 8d1023f222f32ef64d37c3cb15b7dcf9c3e5990d)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When built without D-Bus, libavahi-client is not build:
Building libavahi-client: no (You need avahi-daemon and D-Bus!)
which causes avahi-dev RDEPENDS failing when creating an image
containing development-tools:
* - nothing provides libavahi-client = 0.7-r0 needed by avahi-dev-0.7-r0.cortexa8hf-neon
(From OE-Core rev: 319532792435be73e96c8319e90336e1298ac2a1)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
MACHINE = "beaglebone-yocto"
KERNEL_CLASSES += "kernel-fitimage"
KERNEL_IMAGETYPE_beaglebone-yocto = "fitImage"
UBOOT_MACHINE_beaglebone-yocto = "am335x_boneblack_vboot_config"
UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000"
UBOOT_SIGN_KEYDIR = "${TOPDIR}/conf"
UBOOT_SIGN_KEYNAME = "dev"
UBOOT_SIGN_ENABLE = "1"
IMAGE_INSTALL_remove = "kernel-image-zimage"
$ cd conf
$ openssl genrsa -F4 -out dev.key 2048
$ openssl req -batch -new -x509 -key dev.key -out dev.crt
$ cd ../
$ bitbake u-boot linux-yocto
$ grep signature tmp/deploy/images/beaglebone-yocto/*.dtb
Binary file tmp/deploy/images/beaglebone-yocto/u-boot-beaglebone-yocto-2018.07-r0.dtb matches
Binary file tmp/deploy/images/beaglebone-yocto/u-boot-beaglebone-yocto.dtb matches
Binary file tmp/deploy/images/beaglebone-yocto/u-boot.dtb matches
And there would be no signature info when rebuild from sstate:
$ bitbake u-boot linux-yocto -cclean
$ bitbake u-boot linux-yocto
$ grep signature tmp/deploy/images/beaglebone-yocto/*.dtb
No result
This s because kernel directly edit ${DEPLOY_DIR_IMAGE}/u-boot.dtb, (Note, it
is global ${DEPLOY_DIR_IMAGE}, not recipe's DEPLOYDIR), so that the modified
info is not in sstate, and would be lost when rebuild from sstate.
There are other problems in previouse code:
- The u-boot.dtb is provided by u-boot, but edited by kernel during signing, so
it should be deployed by kernel rather than u-boot.
- The u-boot.do_concat_dtb directly install files to global ${DEPLOY_DIR_IMAGE},
this is incorrect, the ${DEPLOY_DIR_IMAGE} should be installed by do_deploy.
- It seems that it assumes do_deploy depends on do_install according the comments,
but they have no relationships:
# do_concat_dtb is scheduled _before_ do_install as it overwrite the
# u-boot.bin in both DEPLOYDIR and DEPLOY_IMAGE_DIR.
- The do_concat_dtb should be run after do_compile, but it doesn't have this
dependency.
Make u-boot install u-boot.dtb to ${datadir}, kernel copies u-boot.dtb from
${STAGING_DATADIR} to ${B} and deploy it can fix the problem.
[YOCTO #12112]
Reported-by: Christian Andersen <c.andersen@kostal.com>
(From OE-Core rev: 493f70cfb177f1d452a13329647a38642bf2b161)
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>
It uses sandbox_defconfig to produce u-boot tools. But EFI is only
supported by arm and x86, then it fails to run task do_compile on other
arches:
| include/config_distro_bootcmd.h:267:3: error: #error "sandbox EFI
| support is only supported on ARM and x86"
Only enable EFI support for u-boot-tools on x86 and arm to fix the issue.
(From OE-Core rev: f79039497a6bb8521d5dc076924b6eb2626607c5)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multilib builds specify several loaders which will end up embedded in
some binaries or script files. To support reproducible builds, we must
ensure the loaders are always in deterministic order.
[YOCTO #2655]
[YOCTO #12478]
[YOCTO #12480]
(From OE-Core rev: 3f839c0cdfe253677ebee47838fe476a0939e0aa)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Improve the fix and rebase it to 2.28
Here is the log of lib32-glibc
[log.do_compile]
|Adjust ldd script
|ldd "/lib64/ld-linux-x86-64.so.2 /lib/ld-linux.so.2 /lib/ld-linux.so.2
/lib64/ld-linux-x86-64.so.2" -> "/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2"
[log.do_compile]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
ERROR: QA Issue: recipeutils-test: Recipe file fetches files and does
not have license file information (LIC_FILES_CHKSUM) [license-checksum]
(From OE-Core rev: ee65f7ab11302982124bcd1974a05c87342ab28e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that we have .a for libunwind on musl targets, this is used
for stack unwinding infra e.g. in rust
Help compiling rust compiler and standard library from meta-rust
(From OE-Core rev: 37ddab09f0ed9b532fb9ac57f622c8609121aa65)
Signed-off-by: Khem Raj <raj.khem@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)
Signed-off-by: Federico Sauter <federico.sauter@ableton.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expecting 1s accuracy on a 2s timeout on a heavily loaded system has proven to be
unreliable. Update this to a 5s timeout with a 3s delta which should be achievable.
(From OE-Core rev: 5feecb639d49d72d8a6abc589b937e07ee72f252)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removes the listvars argument to image_buildinfo_outputvars(). It
doesn't appear that this argument ever did anything.
(From OE-Core rev: 66ff9408291f3df98e8a6cb3e6e348d7ec8f401d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix:
WARNING: python should use 4 spaces indentation, but found tabs in kernel-fitimage.bbclass, line 24
(From OE-Core rev: 4ec42465e9df8cef20a97be11243726aa7dfb8c1)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure log directory exists to avoid the following error.
FileNotFoundError: [Errno 2] No such file or directory: '/.../build-selftest/tmp/log/oe-selftest-results-20181207043431.log'
(From OE-Core rev: 6c41de48db76087fee596d9440d8f05346ab1094)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is very dead, and nothing in oe-core or meta-oe depends on it anymore.
(From OE-Core rev: 508746e28d971952b1153a4c24ee3c5a020f9ee9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function was moved in bitbake a long time ago, use the
preferred version to avoid a Deprecation warning.
(From OE-Core rev: aeb189ac8bc6625ec936fd69f18974ebde758946)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are various escape characters in these stings which python warns
about so use the correct regex markup for them.
(From OE-Core rev: 252b69c9f2abe3258366c540f56b156ed63e5437)
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: 48719bc4d108df7e357e7f22f9f356cd72b3ebbd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove a deprecated warning and stop using our own deprecated API!
(Bitbake rev: 83ece2c6f4b000e906fec9148f25bd1dff66cfb0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mechanism used to get the hash for a stamp file is split out so that
it can be overridden by derived classes
[YOCTO #13030]
(Bitbake rev: ce241534d19b2f1c51dbdb3b92419676d234e464)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass the task hash as a parameter to the 'runtask' message instead of
passing the entire dictionary of hashes when the worker is setup. This
is possible less efficient, but prevents the worker taskhashes from
being out of sync with the runqueue in the event that the taskhashes in
the runqueue change.
[YOCTO #13030]
(Bitbake rev: 1e86d8c1bec7ea5d016a5ad2097f999362e29033)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Turns off the shared cache. It isn't a significant factor in performance
(now that WAL is enabled), and is a really bad idea to have enabled in
processes that fork() (as bitbake it prone to do).
[YOCTO #13030]
(Bitbake rev: 71b427bf01374973a971c10cb64024c8ef2a11eb)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling the write ahead log improves database reliability, speeds up
writes (since they mostly happen sequentially), and speeds up readers
(since they are no longer blocked by most write operations). The
persistent database is very read heavy, so the auto-checkpoint size is
reduced from the default (usually 1000) to 100 so that reads remain
fast.
[YOCTO #13030]
(Bitbake rev: 79100fa67539f9654af9bf6d3e6842eb5c12e989)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Constructs the "key" column in the persistent database as a non-NULL
primary key. This significantly speeds up lookup operations in large
databases.
[YOCTO #13030]
(Bitbake rev: f5ba7775cfcb90401522d977cc66fe0f5aeb7a66)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original implementation of persistent data executed all SQL
statements via sqlite3.Connection.execute(). Behind the scenes, this
function created a sqlite3 Cursor object, executed the statement, then
returned the cursor. However, the implementation did not account for
this and failed to close the cursor object when it was done. The cursor
would eventually be closed when the garbage collector got around to
destroying it. However, sqlite has a limit on the number of cursors that
can exist at any given time, and once this limit is reached it will
block a query to wait for a cursor to be destroyed. Under heavy database
queries, this can result in Python deadlocking with itself, since the
SQL query will block waiting for a free cursor, but Python can no longer
run garbage collection (as it is blocked) to free one.
This restructures the SQLTable class to use two decorators to aid in
performing actions correctly. The first decorator (@retry) wraps a
member function in the retry logic that automatically restarts the
function in the event that the database is locked.
The second decorator (@transaction) wraps the function so that it occurs
in a database transaction, which will automatically COMMIT the changes
on success and ROLLBACK on failure. This function additionally creates
an explicit cursor, passes it to the wrapped function, and cleans it up
when the function is finished.
Note that it is still possible to leak cursors when iterating. This is
much less frequent, but can still be mitigated by wrapping the iteration
in a `with` statement:
with db.iteritems() as it:
for (k, v) in it:
...
As a side effect, since most statements are wrapped in a transaction,
setting the isolation_level when the connection is created is no longer
necessary.
[YOCTO #13030]
(Bitbake rev: e8b9d3f534ef404780be23b601d5a4bb9cec928a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
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: c6de27c2f6f598849dcb8036ee849f449ba7f327)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following patches are rebased.
fix_parallel_build_error.patch
pam.conf.patch
(From OE-Core rev: 30fa97ec4c9d0553f1566bc26a6949e93cb6da90)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following patch is rebased.
0001-don-t-try-to-run-generated-binaries.patch
(From OE-Core rev: ee57d79aec06e9b160cf2713636cda650ba68d5a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: include more files to check, but license remains the same.
(From OE-Core rev: ad0f26263eb51cda4cf96cd2fe7f6e7f950b9e8e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGE_NO_GCONV is set in libc-package.bbclass if not all of
'libc-charsets libc-locale-code libc-locales' included in
DISTRO_FEATURES. And then no packages glibc-gconv-* glibc-charmap-* and
glibc-localedata-* is created. Update recipes and conf file which depend
on these packages to check required distro features.
(From OE-Core rev: 58446992de0f16a345f1f55b66d0d34d31dc341b)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It installs locale-base-* packages according to var IMAGE_LINGUAS.
Packages locale-base-* are split in libc-package.bbclass if variable
PACKAGE_NO_GCONV is not set. When none of ditro features libc-charsets
libc-locales and libc-locale-code is set, PACKAGE_NO_GCONV is set. Then
no locale-base-* is created and fails to create image.
Clear IMAGE_LINGUAS in such situation.
(From OE-Core rev: 85240094175a8ea726bfba19c00d4556a62862fc)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Variable PACKAGE_NO_GCONV is set in libc-package.bbclass when none of
libc-charsets, libc-locales and libc-locale-code set in DISTRO_FEATURES.
Then it causes installed-vs-shipped qa issue of glibc-locale:
| ERROR: glibc-locale-2.28-r0 do_package: QA Issue: glibc-locale:
| Files/directories were installed but not shipped in any package:
| /usr/share/i18n
| /usr/share/i18n/charmaps
| /usr/share/i18n/locales
| /usr/share/i18n/charmaps/CP737.gz
| ...
| /usr/share/i18n/locales/ru_RU
| ...
| /usr/lib64/gconv/gconv-modules
| Please set FILES such that these items are packaged. Alternatively if they
| are unneeded, avoid installing them or delete them within do_install.
| glibc-locale: 843 installed and not shipped files. [installed-vs-shipped]
So check PACKAGE_NO_GCONV during do_install and not copy those files if
PACKAGE_NO_GCONV has been set.
Simplify call of bb.utils.contains() in libc-package.bbclass as well.
(From OE-Core rev: 39840ed10af559bbcc306b378baa4723921668f5)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoconf-doc package contains autoconf.info.
This file contains date when this file was created, i.e:
"This manual (31 January 2018) .."
Therefore, two builds done on two different days will show different dates for
otherwise identical files, hence breaking reproducibility.
The date is obtained from mtime of "autoconf.texi", unfortunately we patch this
file and change the mtime as a consequence.
We restore reproducibility by removing the patch modifying "autoconf.texi".
As a consequence certain supplemental information will be not added to the documentation.
In particular: more details on usage, and on workarounds for non-updated projects.
[YOCTO #12524]
(From OE-Core rev: 1eaa918ae3663e3f863c025744a9ced0300b6b78)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
With applying this fix:
"This manual (24 April 2012) .."
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Waf requires that the current working directory be ${S} (the location of
the wscript) when building. Most of the time, this was true only because
B defaults to S. However, anything that changed that behavior (notably,
using externalsrc) would break the recipe. Remedy this by explicitly
changing cwd to ${S} when running waf commands. As a happy side effect,
B can be set up for "out of tree" builds to keep the source directory
clean.
(From OE-Core rev: 62dffb71ce22222c635bd90eaa47dd01f70f9c0f)
Signed-off-by: Joshua Watt <JPEWhacker@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: 7c0b84cac892744225fa0462f918ea9a79b356cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible the read may return a smaller number of characters. Remove
the possibility by using a single character to signal the server is ready.
(Bitbake rev: 767c9596d129d21ddf5d2e00c55f0a0525c641dc)
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: a0b9cfaf2d03fd047a79d32e668001718d02c4bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous check was in data.py which only can check code like "python
funcname()" in the dependency chain, but there are 3 kinds of python functions:
- python()
- def py_funcname()
- python funcname()
Add the checking to BBHandler to check and warn for all of them.
The warning looks like:
WARNING: /path/to/recipes-core/busybox/busybox_1.29.2.bb: python should use 4 spaces indentation, but found tabs in busybox.inc, line 75
(Bitbake rev: 0cdc5b81fc1f5e5281a525a657e420ebc3bb9e90)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
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)
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)
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)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen a cryptic:
"ERROR: Fatal errors occurred in subprocesses, tracebacks printed above"
message from oe-selftest with no other traceback information. Improve the
traceback logging to try and give a better indication of any errors that is
ocurring.
(From OE-Core rev: 521dd3d00979a27b6932e58d5497de68abac26e1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch altered the clean target's behaviour to skip the ipkg-install
directory. However this directory isn't created by opkg, opkg-utils, or the
package_ipk class; and we don't invoke the clean target as we perform
out-of-tree builds.
(From OE-Core rev: 9f8bd475701e5d797d3ffc1ba97647101ba0b9b0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We stop distutils for *native* Python from rewriting hashbangs when installing
(so installed scripts don't have a hashbang that refers to sysroot paths), but
this isn't needed nor desirable for the *target* Python.
(From OE-Core rev: 52e128619803907c804d42815ea979b1848529c4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rpm use nss as digest crypto library and which will cause an error as follows:
error: test-manual-1.2.3-20181012.noarch.rpm: Header SHA1 digest: BAD (Expected
f1deb7dc4a10742d88ccd1e967dbc62ae45095a5 !=4ad9d7dad6d70d6086eefec62612ad5d77f2fe81) => this value is wrong
error: test-manual-1.2.3-20181012.noarch.rpm: not an rpm package (or package manifest)
The error is caused by SHA_HTONL in nss, for there is no need to reverse the host value for arm 32be, so fix it.
(From OE-Core rev: 50a554a8ffff0bb34f844fb6cb9dd69362caafa5)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a special library for memcheck tool, where it needs to have the
symbols intact for the stack traces to work on target, current option is
to install valgrind-dbg ( 151 MB uncompressed ) is quite big for some
systems which may not have space to install it all. Leaving it
unstripped adds about 200KB to image which is much better, this alone
gets memcheck working, as an aside we might need same solution for other
tools e.g. helgrind etc. when needed, they also have leading libraries
installed
(From OE-Core rev: 23da8f50b1e0a74777035c9f7b65b81456908f9f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ccache disable flag was misspelled, preventing it from being
disabled.
(From OE-Core rev: 33fba601a7365aced9f4b206c1fadda997076d4c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For systems that don't otherwise depend on the full
util-linux package, blkdiscard is a mere 18k (on
cortexa7t2hf-neon).
(From OE-Core rev: 96bfdea8e0ec891b44fc4b0c69120669954426ad)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add various fixes and improvements including the ability to export
patch statsitics as json data.
(From OE-Core rev: aa4a4b3ca799948047337e006ee9bf482be7b409)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have a fatal error if ELF objects don't have GNU_HASH segments but it
doesn't explain what the problem is. At least give a hint to users by
suggesting that LDFLAGS wasn't passed to the compiler.
(From OE-Core rev: 5d4da6713b40e10e853eb746f700096307ffe158)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, the linux-firmware-wl12xx contains all wl12xx and
wl18xx firmwares, except for the wl18xx compatibility symlinks
for old kernels and the linux-firmware-wl18xx contains just
those compatibility symlinks and nothing else. This doesn't
make sense...
Be more specific about what to package into each package, in
particular because the existing wl12xx package is specific
about symlinks already.
At the same time, we split the common bits into a -wlcommon
package, so that the wl18xx package doesn't need to depend
on all the wl12xx firmwares, saving several MiB in the file
system.
(From OE-Core rev: e4423eef71c463efe7a1cdf1a426cc9619c78b8a)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of SDK generation, /usr/bin/ path are not correct
and must be replaced by ${bindir}.
(From OE-Core rev: 0fa7d99444763192914e798d8bc9dba1d9cdae42)
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe doesn't ship a *-config binary, so don't inherit binconfig.
(From OE-Core rev: acfcebec2d0849cc52abed31663da888e2a230f9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported and obsolete patches.
Respect systemd DISTRO_FEATURE when enabling/disabling journal support.
(From OE-Core rev: 33d2cee29758d2a827baa2dda98b10c993101be2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise .gir files installed in the sysroot will not be found when multilib is in use
(multilib configurations use libdir rather than datadir).
(From OE-Core rev: cfae171964ba85298d883e70635324a33b8539ac)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should also fix Rygel builds in meta-oe
(From OE-Core rev: 8332fe551f018339b93841609625121145e97684)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The segfault on append was fixed upstream with a different patch, so apply that
instead.
(From OE-Core rev: 24000d1fdba2684202e15371f80bb385722c9d91)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a backported patch to fix big endian compilation.
(From OE-Core rev: 9f5f4b31df01a29fd07ce27efc7534b4ea29a778)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
enhance the musl-only patch to degrade certain Werros into Warnings
which helps in compiling on musl, since its checking for __GLIBC__
defines which are undefined on musl.
fix build on x32 ABI
(From OE-Core rev: 61290f91e6667e1e494f6d9cb8c19ebecda122b5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a Python 2 form to exercise that if present, and fix the setUp() so it
actually looks for a package that exists (nativesdk-python3 is a virtual
package, the interpretter is in nativesdk-python3-core).
(From OE-Core rev: d286c2ad3eec24978557e16a8fa599476791109f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Skips the update alternative steps for recipes that shouldn't have them
enabled.
Fixes errors like:
nativesdk-bzip2-1.0.6-r5 do_package: bzip2: alternative target
(/opt/poky/2.5+snapshot/sysroots/i686-pokysdk-mingw32/usr/bin/bunzip2
or
/opt/poky/2.5+snapshot/sysroots/i686-pokysdk-mingw32/usr/bin/bunzip2.bzip2)
does not exist, skipping...
When building mingw SDKs
[YOCTO #12962]
(From OE-Core rev: d11576f569ee618a8e638eee3b1f17bf8a9d4264)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using the new PTEST_BUILD_HOST_FILES mechanism.
Specifically remove reference to build host rpm version, if any.
(From OE-Core rev: 2664926ff154aacfb274e3055e81ba41190fa403)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adopt the PTEST_BUILD_HOST_FILES mechanism to strip build host paths from the
installed builddefs file. Also strip the record of the build host rpm version.
(From OE-Core rev: 800953bcd4ce9c4e4f768bc0de504b91d5be99cb)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This file contains CC, CPP, CFLAGS, CXXFLAGS and the like.
(From OE-Core rev: c423cd1070045849c3a5b4e2b53043b28e5194f7)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several packages (eg. acl, attr, openssl) install Makefiles or other build host
configuration files for ptest so that they can run `make check`, for instance.
These build host files commonly include paths and versions of build host tools,
(eg. rpm or perl) whose presence and version depends on the build host distro.
Optionally strip lines from installed PTEST_BUILD_HOST_FILES using an
extended regex pattern defined in PTEST_BUILD_HOST_PATTERN. This has no
effect on the on-target ptest.
(From OE-Core rev: a3b657470eeea9f1954bc3a3e593a5c4907b6f17)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A common pattern for ptest is to install a Makefile that provides a make check
target. These generated Makefiles are normally full of build host paths, to
hosttools, and to files and scripts within the source or build tree. They also
commonly include the CFLAGS and CPPFLAGS. None of these build host paths
can possibly work on-target, so stripping them has no effect on the success of
the resulting ptests.
Stripping the HOSTTOOLS_DIR has this effect, for instance:
-MKDIR_P = /home/douglas/workspace/upstream/build/tmp/hosttools/mkdir -p
+MKDIR_P = mkdir -p
The curious WORKDIR/*= pattern avoids non-parseable -fdebug-prefix-map patterns
in the CFLAGS by adding an arbitrary ".", eg:
-fdebug-prefix-map=.=/usr/src/debug/rsyslog/8.37.0-r0
In all other cases, we simply remove the WORKDIR, eg:
CPP = arm-tait-linux-gnueabi-gcc -E --sysroot=recipe-sysroot ...
(From OE-Core rev: 137e38dbae42e9d4d413cd2f9460fb707ca77f9c)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some tests for functions in meta/lib/oe/recipeutils.py, in
particular for a few issues I've just fixed. I haven't added tests for
all of the functions - some of them are already being tested via devtool
in any case.
(From OE-Core rev: 72d0cb3f8f1e69aeef93ea0bc90db3e8b8d6f94c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These date from the time before Tinfoil's API covered this functionality
(back when you could actually access cooker from a tinfoil-based
script).
(From OE-Core rev: fc8098756e8d1d995e3c68e4addc1a5e3596d2ae)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code here wasn't correctly getting the variable history for
varflags, so for example if you did a devtool upgrade on a recipe where
the SRC_URI checksums were in the .inc file (typical for python recipes
in order to support both python 2 and 3) then after the upgrade the
new values would be set in the recipe and the old values were left in
the .inc, which is not right. Teach the code here how to get the history
for varflags so it works properly.
(From OE-Core rev: f077ab3ad67b2f3eb4aa8882fe2e7aef2d09a26c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we were setting a variable and part of the variable's value was being
set in a class or a .inc file, we were still just setting the value
outright on the assumption that it was too hard to do otherwise. With
some careful use of the variable history we can do better for certain
situations i.e. when the recipe does not currently set the value
outright.
Additionally, correctly remove _appends for variables we are changing if
we're trying to remove the value added in the _append.
Fixes [YOCTO #12623] and partially fixes [YOCTO #9360].
(From OE-Core rev: f798d963db77db66a2a5a4b8d4c157d46ede417f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The value to SRC_URI_append_class-native was not prefixed with a space.
This was not noticed as the SRC_URI before applying the _append contains
trailing spaces. However, if one, e.g., has a .bbappend and adds to the
SRC_URI using SRC_URI += "file://foo.patch", then there no longer is any
trailing space and the _append concatenates the two URIs together,
leading to a build failue.
(From OE-Core rev: c07ee11e99dfe28405a7225903a541b33aeb1de6)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sanity test uses wflinfo, so depend on waffle-bin.
(From OE-Core rev: 0f5c8ce010a296904f767f38e262eef251417c4e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a file matches the glob that is an absolute symlink then sed will try to
alter files on the host, so restrict the search to just actual files.
(From OE-Core rev: 5556b5ca9efac132754bd82af52a0f68bc4ce85a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using vaapisink (which doesn't supports DRI3 [1] and uses DRI2) with
default poky configuration currently results in an unresponsive display
because DRI2 rendering doesn't work (as of xserver 1.20.3) in non-composited
environments [2].
Downgrade vaapisink to marginal for now so playbin (and in turn gst-play
and gtk-play examples) uses next best sink element and works out of box.
[1] https://github.com/intel/libva/issues/122
[2] https://gitlab.freedesktop.org/xorg/xserver/issues/13
(From OE-Core rev: 7911039a3a82a29166f3be2ff5bdd719430e5a80)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While there is a bit of documentation regarding building a new
manifest file for python, it seems that users usually only read
the manifest file.
The manifest file is in JSON format which doesn't allow comments,
hence why instructions were initially put elsewhere.
This patch hacks the call to open the JSON manifest file by using a
marker to trick it into reading only part of the file as the manifest
itself, and keep the other part as comments, which contain instructions
for the user to run the create_manifest task after an upgrade or
when adding a new package.
(From OE-Core rev: 5641a24a70b54544012c04c6a082514d9a5aa49a)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While there is a bit of documentation regarding building a new
manifest file for python, it seems that users usually only read
the manifest file.
The manifest file is in JSON format which doesn't allow comments,
hence why instructions were initially put elsewhere.
This patch hacks the call to open the JSON manifest file by using a
marker to trick it into reading only part of the file as the manifest
itself, and keep the other part as comments, which contain instructions
for the user to run the create_manifest task after an upgrade or when
adding a new package.
(From OE-Core rev: 3eab24c6dc095fd2305b9be8467aab1191141e35)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe doesn't ship a *-config binary, so don't inherit binconfig.
(From OE-Core rev: 8b7d74aa7bb73daf84593fafde3eef4595918b63)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
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)
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)
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)
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)
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: 58e48211f7cb44d959b571d449a94291c27535a5)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MACHINE=qemux86-64 oe-selftest -r runqemu.RunqemuTests.test_boot_machine_slirp_qcow2
fails yet
oe-selftest -r runqemu.RunqemuTests.test_boot_machine_slirp_qcow2
with MACHINE in local.conf would work.
It turns out that:
runqemu slirp wic.qcow2 qemux86-64
works but:
MACHINE=qemux86-64 runqemu slirp wic.qcow2 qemux86-64
does not.
The reason are the misplaced return statements in runqemu, its skipping a block
of logic when MACHINE is set in the environment when it shouldn't. Fix this.
(From OE-Core rev: 98d113ae52cbbc88773a81a17b0933412a8e463b)
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)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ${DL_DIR}/svn directory is used by BitBake to keep checked-out SVN
repositories from which tarballs are generated. These repositories were
protected from concurrent update with a lock on the tarballs. However,
the tarballs are specific to the SRCREV and module checked out (many
tarballs can come from the same repository), meaning a repository could
be modified concurrently if two recipes checked out two different
SRCREVs or modules from it in parallel. This caused errors like the
following:
ERROR: Fetcher failure: Fetch command failed with exit code 1, output:
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Working copy '/home/foo/downloads/svn/repo/trunk' locked.
svn: E155004: '/home/foo/downloads/svn/repo/trunk' is already locked.
Fix it by adding a per-repository lock that's independent of the module
and SRCREV.
(Bitbake rev: 3f1f183a17bf3580da8a4ffd6dab30b62c2654a8)
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@bmw.de>
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
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: 5ba83ee25c1c9cba349edb68a22476b1d5fca6ce)
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: b8538c2088c199157404712a60a6740c926ce312)
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: c8c80b404e38fe96f65d6314cd95f4069319f3d6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a fixup for: e1ba46109e
devtool deploy-target --strip foo root@192.168.7.2
ended up with:
Traceback (most recent call last):
File "/home/user/bar_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/
devtool", line 344, in <module>
ret = main()
File "/home/user/bar_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/
devtool", line 331, in main
ret = args.func(args, config, basepath, workspace)
File "/home/user/bar_sdk/layers/poky/scripts/lib/devtool/
deploy.py", line 187, in deploy
rd.getVar('base_libdir'))
TypeError: strip_exbar() missing 1 required positional argument: 'd'
(From OE-Core rev: bc349b2d99d74f6d7fb590fd97750e5ff8d6e6c4)
Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multilib_script.bbclass it renames script file which listed in
MULTILIB_SCRIPTS. It may mix up packages split. Take package curl as
example, ${bindir}/curl-config is packaged to curl-dev originally. But
it is renamed to curl-config-${MULTILIB_SUFFIX} and packaged to curl
when multilib is enabled.
And expand 'pkg' to fix QA warning:
| WARNING: Variable key FILES_${PN}-dev (
| ${bindir}/curl-config-${MULTILIB_SUFFIX}) replaces original key
| FILES_curl-dev (${includedir} ${FILES_SOLIBSDEV} ... ${bindir}/*-config)
Insert a necessary space to the argument 'value' of d.appendVar() as well.
(From OE-Core rev: 841bcbe429dcab54de3b89a927394750f9ccae60)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Fix package splitting for services installed with
systemd-container. Some files have been installed with systemd
package instead of systemd-container package. (*.service,
*.socket, *.html...)
- Split journal-upload, journal-remote, journal-gatewayd into
separate packages. These services are not strictly related to
nspawn containers. Remote logging is now possible without
installing all the container stuff.
- systemd-container package rrecommends journal-upload, journal-
remote, journal-gatewayd packages.
(From OE-Core rev: d31ff84a5f4723700ed48fd14ace81d3c707065e)
Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting them to empty before inheriting copyleft_filter
made them not getting their documented values there.
(From OE-Core rev: ee1f86ca7affc65265f219f0718f89406c9181a5)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
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)
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)
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)
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)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was introduced by commit c5fa6034:
[ image.bbclass: use prependVarFlag for postfuncs ]
it changed to use prependVarFlag instead of appendVarFlag, then the
blank also needs change to adapt it.
(From OE-Core rev: 6085023158ffbfbaf0f3d65ef18054c003d3f463)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* There are 120+ cases under ${libdir}/mdadm/ptest/tests,
but the test will break if one test fails as
below logic in run-ptest.
./test &>./test.log
That's to say, the tests after the failed test
have no chance to run with the current logic.
To guarantee all the tests can run even one
of the tests fails, the option --keep-going
should be added.
* Refactor the test report to make the report
more detailed and more common
(From OE-Core rev: 80d17497b719efb2ca9f36b8a730815547e93aa7)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrades U-Boot to 2018.11 release and drop the backported
security fixes which are now included upstream.
(From OE-Core rev: 04469ab5b7f0446404b4cb55a15595678581ab26)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As discussed in https://github.com/mesonbuild/meson/issues/2567 there
needs to be a way to allow our rpath options passed to the linker to be
preserved, else we run into weird build failures.
(e.g. libmodulemd-native used by libdnf can't find libyaml)
Disable this for now until upstream come up with a better way of handling
this.
(From OE-Core rev: b4e36281631e0b59d1058f5cf391eb8b15e605cf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support to enable tk via PACKGECONFIG.
before the patch:
# python
Python 2.7.15 (default, Nov 8 2018, 04:53:50)
[GCC 8.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 39, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
>>>
After the patch, if enable tk in PACKGECONFIG, then
# python
Python 2.7.15 (default, Oct 25 2018, 08:12:45)
[GCC 8.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
>>>
(From OE-Core rev: 26b2702475697c123937d237e00c34eb2216b5ea)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support to enable tk via PACKAGECONFIG.
before this patch:
# python3
Python 3.5.6 (default, Nov 8 2018, 04:53:45)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.5/tkinter/__init__.py", line 35, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named '_tkinter'
>>>
After this patch, if enable tk in PACKAGECONFIG, then
# python3
Python 3.5.6 (default, Nov 8 2018, 03:15:52)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
>>>
(From OE-Core rev: 4b781d545e7e0b084201cd6a8fad953b0f231513)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
busybox's unzip test case requires zip command. However, busybox
itself does not provide one. So add zip as a runtime dependency.
(From OE-Core rev: 223e5c3e1f7cb4001961347c85505d88a52d221f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ship a symlink farm for busybox, which correctly considers SUID
split. This ensures that all utilities used in busybox's test cases
will first use that ones that are provided by busybox.
Modify run-ptest to prepend the directory to PATH, and also change
variable name from current_dir to current_path, as the former is
a little misleading. `readlink -f $0' gets a path to the current
script instead of the current directory.
(From OE-Core rev: 7ef8f96941ed52b2a00cbe8f57511a8891b39698)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The '-t' option support for 'od' is enabled by CONFIG_DESKTOP.
So check it before using it in test cases.
(From OE-Core rev: c89fa1992987fa3c12616d2d379f524188310a2e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check uudecode before using it in test case to avoid unexpected failure.
(From OE-Core rev: 32ff819233024f23af1caa889691ccc3b0dadc50)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bzip2 could also be provided by busybox. So extend the alternatives
list to include bzip2.
(From OE-Core rev: 832ce25879d5e3df2d443bdf4362bf4af1377e87)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bunzip2 is enabled by default, but bzip2 is not. This is kind of
strange, and it also causes busybox's ptest failure regarding
bunzip2, as bunzip2's test case needs bzip2 command.
(From OE-Core rev: b54717b06e52970b3547cc5cb89424d824a4ef6a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can improve the performance a lot for "bitbake <recipe-native/cross/crosssdk>
-ccleansstate" when there are a lot of sstate files.
For example:
* Before
$ bitbake quilt-native -ccleansstate
- Check log.do_cleansstate:
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package_qa.tgz*
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package_write_rpm.tgz*
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_packagedata.tgz*
Removing /sstate-cache/*/sstate:quilt-native::0.65:r0::3:*_populate_lic.tgz*
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*
There are no package tasks for quilt-native, so the first 4 lines doesn't
make any sense, but the glob pattern "sstate-cache/*/*" is very time
consuming when there are no disk caches. E.g., I have more than 600,000
sstate files:
- Without disk caches
# echo 3 >/proc/sys/vm/drop_caches
$ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*")'
real 4m32.583s
user 0m5.768s
sys 0m12.892s
- With disk caches (e.g., run it in the second time)
$ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*")'
real 0m5.128s
user 0m2.772s
sys 0m2.308s
So the 4 removing *package* commands cost more than 20s or 272s in theory.
* After
$ bitbake quilt-native -ccleansstate
- Check log.do_cleansstate:
Removing /sstate-cache/*/sstate:quilt-native::0.65:r0::3:*_populate_lic.tgz*
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*
We can see that it saved 20s or 272s in theory.
(From OE-Core rev: bb2d6349ea87f090c58001f0d4348b24c2982cde)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is a still python2 bbclass, so it has been broken since bitbake changed to
python3 which was 2 years ago. No one reported/fixed it for python3 in recent 2
years. So we can assume that no one uses it anymore.
(From OE-Core rev: 7f6da5fb54cbcf8e358e988382f45839a8b80019)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop backport CVE patches
0001-libdwfl-Sanity-check-partial-core-file-data-reads.patch
0001-size-Handle-recursive-ELF-ar-files.patch
0001-arlib-Check-that-sh_entsize-isn-t-zero.patch
- Drop patches that upstream has fixed
0005-fix-a-stack-usage-warning.patch [9a74c19 backends: ppc use define
instead of const for size of dwarf_regs array.]
- Update debian patches to 0.175
- Rebase local patch to 0.175
0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch
(From OE-Core rev: 8748de4df5a4ece303f07f8bbb248920a199478a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build host umask was leaking into the thing-ptest packages
at do_install_ptest() time.
(From OE-Core rev: 891343e8ba6490ca3e1876c892269b611ddc7877)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LTTng depends on liburcu which is not yet ported to ARC
so disable LTTng on ARC for now.
(From OE-Core rev: 701e63154c727522704aee6e890dd7d2b5615c6d)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some packages (eg. init-ifupdown) take their source files entirely from
openembedded-core, that is, they download no source tarball.
These recipes either don't use S at all (ie. it is empty at unpack time),
or they set S = WORKDIR (as in init-ifupdown).
Looking at the file timestamps in the WORKDIR causes a non-reproducible
SOURCE_DATE_EPOCH, as files taken from file:// URIs do not have
reproducible timestamps.
If S == WORKDIR, we are better to assume that there is no source tarball,
and to fall back to a fixed timestamp for the SOURCE_DATE_EPOCH.
This makes the init-ifupdown build reproducible.
(From OE-Core rev: d395bad0179037eb5d0fa4d921985c87ae13f3a4)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a .file directive explicitly for all *_elf_gas.S files to prevent the linker
adding a host build-system path as a FILE symbol to the object file.
This replaces the existing patch that added the .file directive to a small
subset of these files.
Upstream-Status: Submitted [https://github.com/boostorg/context/issues/91]
(From OE-Core rev: 5ff5f89f2db079a6baf0275ebf1333b4b9642504)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.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)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also, replace a sed hack with a proper patch.
(From OE-Core rev: bdde940c05490d3128721e4f5eb67d456e7cc323)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also, change default meson option to building introspection files
(previously they were not built by default).
(From OE-Core rev: 44e5bbbbed500553d1ddf451eba02e826a91e4cc)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whether the AFALG engine (use of hardware crypto via AF_ALG) is enable or
disable depends on whether the host kernel is 4.1 or above, which has no bearing
on whether the target system supports it.
Remove the complicated logic and simply enable/disable as requested.
(From OE-Core rev: 4b6c566c0540fe8e560d0feeb9c765c0eb6e5182)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To aid debugging configure, dump the configdata in do_configure.
(From OE-Core rev: a385e6c47663854a375d061033efc856361f3dba)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
TCBLIC can be set to 'newlib' now, document this.
[YOCTO #13032]
(From OE-Core rev: d06271500c485686536352f1202a74d21c51a406)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default GCC for ARC is configured with ARC700 CPU.
This means when we don't pass "-mcpu=xxx":
a) Code will be compiled for ARC700
b) Libs will used for ARC700
And if we happen to run on ARCv2 core like ARC HSxx we
won't be able to use target gcc w/o "-mcpu=xxx" which
is not very convenient as we want to build "target" toolchain
but not canadian-cross.
Note the trick here is we set TUNE_PKGARCH in just 2 values,
it is either "arc700" for all ARCompact cores (ARC750 & ARC770)
and "archs" for all ARCv2 cores (ARC HS38 & HS48), see [1].
This gives us usable defaults.
For cross-compilation we use TUNE_CCARGS for fine-tuning depending
on which HW features we have on the current target so that
we may have HW feature A & B or B & C or A & B & C, see [2].
[1] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/conf/machine/include/tune-arcv2.inc#L4
[2] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/conf/machine/include/tune-arcv2.inc#L34
(From OE-Core rev: 6d2e44db7ebada41ad1cfc1c98ce9012242ced11)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The glob.glob("/sstate/*/*/") is very time consuming, set
SSTATE_EXTRAPATHWILDCARD explicity to avoid that. This can save a lot of time
when there are many sstate files.
For example, I have more than 600,000 sstate files:
* Before
- Without disk caches
$ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
real 4m32.583s
user 0m5.768s
sys 0m12.892s
- With disk caches
$ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
real 0m4.111s
user 0m2.348s
sys 0m1.756s
* After
$ time python3 -c 'import glob; glob.glob("/sstate-cache.bak/universal/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
- Without disk caches:
real 0m7.928s
user 0m0.172s
sys 0m0.124s
- With disk caches:
real 0m0.131s
user 0m0.088s
sys 0m0.044s
We can see that it saves about 3.8s with disk caches, and saves about 264s
without disk caches.
(From OE-Core rev: 8b31c919814b8bdf25b3381053656523c001ae0d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When tmux is built from a non-release Git version, its version number is
"next-X" where X appears to be the expected version number for the next
release. For example, when built from the current state of master, running
"tmux -V" yields:
tmux next-2.9
Currently check_tmux_pane_size only checks for the version being less than
1.9, so it seems unfair to fail with an obscure Python error in this case.
Let's just use the version number after the "next-" prefix if it is
present.
(From OE-Core rev: 07b59afd52244410d8d833e6dfe262d952e5e344)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable qemu for slirp. Initialize Qemurunner with slirp. Setup ip
and port attribute to enable connection with qemu running with slirp.
[YOCTO#10713]
(From OE-Core rev: 815e05ac4abb42238d6fdeb15d7426759e059ce1)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable qemurunner for slirp. Retrieved the ip & port from host machine
to connect to qemu from host machine.
[YOCTO#10713]
(From OE-Core rev: 1db6a6fc9cde28d0a29bcf6d24a8bfbe51d120b1)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.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)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates for the "thud" release.
(From yocto-docs rev: ccd2d2c7b062627a3fd1961ab23ee6fff714428a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Windows Subsystem for Linux is not supported. Added a note
in the section on setting up the build host.
(From yocto-docs rev: e6c3b0acd77569e0422cf86e7dc56433e76bdf20)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Windows Subsystem for Linux (WSL) is not supported with the
Yocto Project.
(From yocto-docs rev: 0898d7fb7166da91598854f385cd574004098ac3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Windows Subsystem for Linux (WSL) is not compatible with the
Yocto Project. Added information in the beginning to note this
fact to the user.
(From yocto-docs rev: d8fcc0e3dc609086ca82a3419a337350f4e5c529)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "image_types" class is now inherited mandatorily in
image.bbclass through the variable IMGCLASSES. Users do not
have to inherit it in their customized image type bbclass.
They also do not have to put it in IMAGE_CLASSES.
(From yocto-docs rev: bd391092b216e39dad317dc1aae5c715371766ef)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a better, more up-to-date description of the way to defer
a post-installation script past the boot.
(From yocto-docs rev: 1bcec14eed720fd05e81fbe7ecaa2f95174c0fbf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two areas in the migration chapter discuss the post-installation
behavior when you defer the scripts to after boot. I added a
couple references to each of those migration note sections that
go into the dev-manual's section.
(From yocto-docs rev: eeb09b5fa208499f37be4e5aafcf55db82715fd1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed reference to "python-modules" to "python-modules /
python3-modules".
(From yocto-docs rev: 49d66f928366dda19b6afd1e9ac6431f0f66ab21)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the completed first draft.
(From yocto-docs rev: 45d39b7655ea5b515c8dda91249a84ee19387099)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The KERNEL_ARTIFACT_NAME variable is used throughout to set the names
of build artifacts. Rather than repeat informaiton about
KERNEL_ARTIFACT_NAME in the many variables that use it, I added
a new entry for the variable. This also impacted the descriptions
of the variables that were repeating information. I updated those
variable descriptions as well.
(From yocto-docs rev: 5750d30be21e17fe21d89254925dc0e773c08e66)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed the wording "post 2.6" to state "2.6 and
forward". It was incorrect as the changes are inclusive
of YP release 2.6.
(From yocto-docs rev: fb3f3db17ea416cd829a291df3933cc3597392b8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The KERNEL_IMAGE_NAME variable is new and is effectively
a renamed KERNEL_IMAGE_BASE_NAME variable now. I provided a
new glossary description for the new variable. I updated the
existing KERNEL_IMAGE_BASE_NAME description to note it has
changed. We can't just delete the old variable as there are
migration notes for previous releases of YP.
(From yocto-docs rev: e5a38711342f88ded4368521a70e9d117b6d991c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made two minor corrections from reviewer feedback.
(From yocto-docs rev: 765e44127f52e1d9d4d1c365b0574ca73364add2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided more explanation and also a link into the BB manual
for a detailed example.
(From yocto-docs rev: ca1e113dc837f5104f765b655880a87d1fbd66ac)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided some new sections on the information for migrating from the
2.5 release to the 2.6 release.
(From yocto-docs rev: dd721a31594c753d7229c45ebad0ce11640a0704)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added notes indicating that the best practice for automated testing
is to inherit these classes by using the IMAGE_CLASSES variable instead
of the INHERIT variable.
(From yocto-docs rev: 8f4765db897c20f0011ea65f62d6b45495d313d2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The TEST_IMAGE variable went away and was replaced with the
TESTIMAGE_AUTO variable. Fixed all related/affected areas.
(From yocto-docs rev: 660da40b4fcdc05666e1877037fa63eb1dfe7227)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a new requirement of epiphany web browser.
(From OE-Core rev: 7bce6eb66749b7f773c24868cf85ebfcda8d636b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove upstreamed patches.
Add a tweak to 0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
for Javascriptcore gir file (previously it was pre-compiled in tarballs).
Rebase 0001-Fix-build-with-musl.patch
(From OE-Core rev: 7cd49245249f5c20579d1bb3992d60f3ed40708c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
expat dependency has been replaced by libxml
(From OE-Core rev: 6eeda04126009d5ab216d8178d8cbb0a22318bc5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also use assetIn instead of assertTrue which aids debugging failures.
(Bitbake rev: 19dee675bb9ad012d28e1e57a888931355a831cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code checks to see if shallow is either disabled or the tarball is
missing, but the else block tries to print the tarball filename, and
this attribute doesn't exist at all when shallow is disabled. Handle the
two cases separately to give sane errors for both cases without the
exception:
Exception: AttributeError: 'FetchData' object has no attribute 'fullshallow'
(Bitbake rev: bdbb558342ebb4e64384c9838d2485d9299d91a6)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When multiconfig is enabled the cooker adds providers
for all the targets to be built on all the multiconfig
variables that were set, regardless if there is a dependency
to it or not.
This causes an issue when a certain target is incompatible
with one or more of the multiconfigs, e.g. the target is not
in COMPATIBLE_MACHINE for one of the MACHINEs being built,
causing the cooker to error out since no providers can be
found for that certain target on that multiconfig.
This patch modifies the behavior to only look for PROVIDERS
for a target on the multiconfig that was selected to be built,
PROVIDERS are then looked for in other multiconfigs only when
there is a defined dependency to them.
[YOCTO #12985]
(Bitbake rev: f2106a3a767542359fdde238abcf5fe35ab3a144)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace SDK_ARCH with SDKMACHINE so that SDK targeting different
development machines but having the same architecture don't cause
similar errors as found in '3614dd4aee9 ("poky.conf: Add MACHINE to
SDK_NAME")'
This doesn't have any effect on the SDK machines provided in oe-core,
since SDK_ARCH is the same as SDKMACHINE for all of them.
(From meta-yocto rev: 951184fd62b3ab14266f300defd47d3c5c09ad9b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid errors from:
MACHINE=qemux86-64 bitbake core-image-sato:do_populate_sdk
then:
MACHINE=genericx86-64 bitbake core-image-sato:do_populate_sdk
which gives:
ERROR: core-image-sato-1.0-r0 do_populate_sdk: The recipe core-image-sato is trying
to install files into a shared area when those files already exist. Those files and
their manifest location are:
deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.host.manifest
(matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.testdata.json
(matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.target.manifest
(matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.sh
(matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
Please verify which recipe should provide the above files.
Adding MACHINE to the artefact name will avoid this. The issue was highlighted by
changes to the autobuilder configuration.
(From meta-yocto rev: 3614dd4aee9d19f1024edb6a36b2862c2d726c04)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shrinkwrap resolved relative URL can start with http. For example,
"resolved: http-proxy/-/http-proxy-${PV}.tgz" is still relative URL
to npm registry, but starts with http.
Current if statement compares the startswith 'resolved' to 'http',
which makes impossible to use npm download. Condtional comparison
now strictly checks for "http://" and "https://"
(Bitbake rev: f76075aa1a5159fd4d62949cb588346888b9fe60)
Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates the system blacklists to include packages that are known to have
problems compiling under icecream
(From OE-Core rev: fc5418e7bbdecfb27bafe595084e0fd0f991a388)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The system blacklists are moved to variables which are ignore when
hashing. This prevents changes to the blacklists from causing all
taskhashes to change (and thus rebuild).
(From OE-Core rev: f5be9f6e9180ace3362bba52c7ced3b039441d7d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This testcase fails on mips32. The process is killed by SIGBUS which
is not as expect.
This is because:
((void *)-1) is not a legal bad address which causes the process
killed by SIGBUG on mips.
'tst_get_bad_addr()' returns an address that should works on mips
and other arches.
(From OE-Core rev: e45948d4be14c14eff0a5c8c8597a7523f2edff1)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch in question was reworked, merged and released by
upstream version 20180926, as commit 822ad2043379.
(From OE-Core rev: 6ad99f3eabe359d5be98d63d4781063b63c83eea)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a hard requirement of the new libdnf versions.
(From OE-Core rev: 4b53d713523f56994beb4a7b5dbb3347c8713e42)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Splits the SDK test implementation into configurable Python classes. The
classes used for the normal and extensible SDKs are
${TESTSDK_CLASS_NAME} and ${TESTSDKEXT_CLASS_NAME} respectively.
This allows SDK machines to override the classes used to implement the
tests. For the traditional SDK, a common "run()" function is provided by
the class (oeqa.sdk.testsdk.TestSDK), with several hook member functions
that can be overridden in child classes, making it easier to have
consistent behavior. The extensible SDK class
(oeqa.sdkext.testsdk.TestSDKEXT) also has a common "run()" function, but
no hooks have yet been added as there is not currently a known use case
for create derived classes.
These changes should be purely organizational; no functional changes
have been made to either the standard SDK or extensible SDK tests.
[YOCTO #13020]
(From OE-Core rev: a06d53928b22d5f88276023c4d57b206db2f27f9)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use PV and BPN in SRC_URI as a minor improvement.
(From OE-Core rev: 19c9842644b7b0a599437fd394111f161c8b1f1e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If sqlite3 is built with FTS5 it uses log() from libm, it sqlite3 is built
with READLINE it uses tgetent from a curses lib and readline from libreadline,
if it is built using deflate from libz ... , but all that linkage is lost
if we manually statically link so explicitely extract extra static linking
options from pkg-config and force them into pseudo as well.
This commit obsoletes (so include the implicit revert)
e39fec613d pseudo: fix link with new sqlite3
(From OE-Core rev: 042af406583acc091ef82c3d1dcedd41315046de)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update SQLite3 from 3.25.2 to 3.25.3 to fix following issues:
* Disallow the use of window functions in the recursive part of a CTE.
* Fix the behavior of typeof() and length() on virtual tables.
* Strengthen defenses against deliberately corrupted database files.
* Fix a problem in the query planner that results when a row-value
expression is used with a PRIMARY KEY with redundant columns.
* Fix the query planner so that it works correctly for IS NOT NULL
operators in the ON clause of a LEFT JOIN with the
SQLITE_ENABLE_STAT4 compile-time option.
Also introduce PACKAGECONFIG tunables to enable/disable e.g. index
and search functions to allow shrinking the library for very small
targets.
(From OE-Core rev: d533ad9b93383a8d721b72b4030b112a3799d559)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Go binaries were installed to ${libdir}/go/bin, and create symlink
in ${bindir}, while enabling multilib, libdir was extended (such as
/usr/lib64), but BASELIB was not (still /lib), so use
baselib (such as /lib64)) to replace
(From OE-Core rev: 8b69af74c377bc9342f631d7e6b90fe05876216c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also add a missing libdl dependency to the native relocation patch,
which was not necessary with autotools.
(From OE-Core rev: ff3f8d4fde8a1d07f5b5381546e740efa14fd483)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson does it in a way that breaks oe builds (they export a bunch of PKG_CONFIG_ variables)
(From OE-Core rev: f071c5eb0a46b8ac5424c5baeb471a8080d4a078)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should help keep libx11 and libx11-diet in sync
by throwing an error when building
(From OE-Core rev: 5d5434e77c60faa78f15c99714e34221d154617b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A backported patch was removed.
The kmod option changed format in the new version so was adjusted accordingly.
The ptest package was improved to resolve failures in the tests/unit/
directory but disabling attempts to rebuild the binaries on target.
Various ptest libtool script wrappers are now replaced with real binaries
and since the test suite knows about these paths for dymanic libraries,
we put links in place for those.
A data file needed by one of the tests is also copied in.
(From OE-Core rev: fbafcd9a0101a637181d0aa9ec14579309a9bddf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some fatal make errors that occur from the current ptest
for lttng-tools however since other tests are successful, those make
build failures were being ignored.
When upgrading, the order of test execution changed and the ptest failed
fatally straight away with the same errors.
Passing -k to make means it will try and run all the tests making the
test suite run more consistently over all lttng-tools versions.
(From OE-Core rev: 3113fb0812aba96df59fca58fe68b751d1d886e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_install now matches that from autotools.bbclass.
Document that brokensep is still needed.
Use a better form of handling of aclocal.m4
(From OE-Core rev: ef25d9bb18b3a26eefe7fc0c2d7003578c55f416)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patches are all backports or have equivalent changes in the new
release so can be dropped.
Upstream reworked the install handling to use DESTDIR instead of INSTALLROOT
and we no longer need to create directories.
(From OE-Core rev: ac9b892f06237a384a60d0404e6ed0afd63c1005)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
- Add a comment in base.bbclass:
def oe_import(d):
import sys
# Comment
bbpath = d.getVar("BBPATH").split(":")
[snip]
Note, '# Comment' is started with '#', it is legal in python's syntax
(though maybe not a good style), but bitbake reported errors:
$ bitbake -p
ERROR: ParseError at /path/to/base.bbclass:20: unparsed line: ' bbpath = d.getVar("BBPATH").split(":")'
This error report would mislead people, the real problem is that '# Comment'
is not supported, but it reports the next line, this may make it hard to debug
the code are complicated.
We can make __python_func_regexp__ handle '^#' to fix the problem, since it
already can handle blank line "^$" in a python function, so it would be pretty
safe to handle "^#" as well.
(Bitbake rev: 79e62eef1c93f742bf71e9f25db57fdd2ffedd02)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
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: 4adc582d2df7fdb9e51c4ebb5e66bbd21165b4dc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
Add the following two lines to conf/local.conf:
FOO = "${@foo = 5}"
HOSTTOOLS += "${FOO}"
* Before the patch
$ bitbake -p
Check the first lines of bitbake bitbake-cookerdaemon.log
[snip]
File "/buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py", line 125, in python_sub
codeobj = compile(code.strip(), self.varname or "<expansion>", "eval")
File "FOO", line 1
[snip]
There isn't a file named 'FOO', but a variable name.
* After the patch
$ bitbake -p
[snip]
File "/buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py", line 129, in python_sub
codeobj = compile(code.strip(), varname, "eval")
File "Var <FOO>", line 1
foo = 5
(Bitbake rev: 540b546be55e0f5f5d91695956da3a7732b2f90a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can make it print clearer errors, for exmaple:
Add Runtime_error to 'def oe_import(d)"
16 def oe_import(d):
17 import sys
18 Runtime_error
[snip]
* Before the patch:
$ bitbake -p
ERROR: Unable to parse /buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py
Traceback (most recent call last):
File "/buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py", line 430, in DataSmart.expandWithRefs(s='${@oe_import(d)}', varname='OE_IMPORTED[:=]'):
except Exception as exc:
> raise ExpansionError(varname, s, exc) from exc
bb.data_smart.ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was ${@oe_import(d)} which triggered exception NameError: name 'Runtime_error' is not defined
This error message has two problems:
- "Unable to parse data_smart.py": This isn't the real cause.
- It pionts to "raise ExpansionError(varname, s, exc) from exc" which isn't clear enough.
* After the patch:
$ bitbake -p
ERROR: Unable to parse OE_IMPORTED[:=]
Traceback (most recent call last):
File "OE_IMPORTED[:=]", line 1, in <module>
File "/buildarea1/lyang1/poky/meta/classes/base.bbclass", line 18, in oe_import(d=<bb.data_smart.DataSmart object at 0x7f9257e7a0b8>):
import sys
> Runtime_error
bb.data_smart.ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was ${@oe_import(d)} which triggered exception NameError: name 'Runtime_error' is not defined
This one is more clearer than before.
(Bitbake rev: c0fe524c1aeccb24ddd2e1f7bf235c00fdbf79a7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
- Define an error anonymous function in base.bbclass:
15
16 python() {
17 Compile error
18 }
$ bitbake -p
ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 18:
The code lines resulting in this error were:
0001:def __anon_18__buildarea1_lyang1_poky_meta_classes_base_bbclass(d):
*** 0002: Compile error
0003:
SyntaxError: invalid syntax (base.bbclass, line 18)
The lineno should be 17, but it reported 18, this would mislead people a lot
when there more lines.
- Now fix it to:
ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 17:
The code lines resulting in this error were:
0001:def __anon_18__buildarea1_lyang1_poky_meta_classes_base_bbclass(d):
*** 0002: Compile error
0003:
SyntaxError: invalid syntax (base.bbclass, line 17)
This is because the anonymous function is constructed by:
text = "def %s(d):\n" % (funcname) + text
The len(self.body) doesn't include the "def " line, the length of the function
should be "len(self.body) + 1", so we need pass "self.lineno - (len(self.body) + 1)"
which is the same as 'self.lineno - len(self.body) - 1' to
bb.methodpool.insert_method() as we already had done to named function. Otherwise, the
lineno is wrong, and would cause other problems such as report which line is
wrong, but the line is not what we want since it reports incorrect line.
(Bitbake rev: 7466c8765fcc792e5ea3daefda3c5895e782d6c4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
- Add an error line in base.bbclass, e.g.:
15
16 def oe_import(d):
17 import sys
18 Compile error
19 bbpath = d.getVar("BBPATH").split(":")
[snip]
Note the "Compile error" line, I added it for reporting errors.
$ bitbake -p
ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 15:
The code lines resulting in this error were:
0014: import oe.data
0015: for toimport in oe.data.typed_value("OE_IMPORTS", d):
0016: imported = __import__(toimport)
0017: inject(toimport.split(".", 1)[0], imported)
*** 0018:
0019: return ""
0020:
SyntaxError: invalid syntax (base.bbclass, line 18)
There are 2 problems:
- The "line 15" is incorrect, it is a blank line, not the error line.
- The "*** 0018" points to incorrect position.
These two problems would mislead people a lot sometimes.
- Now fix it to:
$ bitbake -p
ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 18:
The code lines resulting in this error were:
0001:def oe_import(d):
0002: import sys
*** 0003: Compile error
0004: bbpath = d.getVar("BBPATH").split(":")
[snip]
SyntaxError: invalid syntax (base.bbclass, line 18)
Please see comments in the code for more details on how it is fixed.
(Bitbake rev: bbb3d87d171da38fd8e9bce011d109fba28a75c0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The colors specified for use with bitbake-diffsigs were adapted for a
dark theme, e.g., by setting the background color to black, which made
it look very bad when used with a light theme.
To make it look good both with a dark or a light theme, it is better
to drop the background color. It is also better to leave out the color
altogether for the title and just use bold. Finally, dropping bold for
the red and green texts indicating removed/added values better matches
other colorized diff implementations as, e.g., git diff.
(Bitbake rev: f1a2c23520832ee91e85338c1ad8af1fec0d0b19)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From release notes:
Bump VA-API version to 1.3.0 and libva to 2.3.0
Add max frame size parameters for multiple pass case in legacy mode
Add new BRC mode AVBR
Add new interface for High Dynamic Range tone mapping
Add missing enum to string conversions
Add hevc subsets parameters structure
Add Customized Noise Reduction (HVS) interfaces
Add new BRC mode definition QVBR
Add more complete colour properties for use in VPP
(From OE-Core rev: 8825a6e7c5c0d1e1d17e2bb8ed23dc8b3c9ce8ab)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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: 62fe04c2451f612b9ee5eba469c7724b63484499)
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)
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: 0762b6021b87ceb1f37952f3a6d64a36e99ae6a5)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid an unclosed file per thread warning when running selftests concurrently
by closing the result stream.
(From OE-Core rev: 33a4a076e8aa72a872807332501e7f5ae1cee0e2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The imp module is deprecated, port the code over to use importlib
as recently done for bb.utils as well.
(From OE-Core rev: 24809582d4850190d87cd8eb8180d0dce215dbdf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set SKIP_KNOWN_BUGS in run-ptest script to skip ptest cases which
are known to relate to some known bugs.
(From OE-Core rev: b7ab8de1e5767593d1933cf1a86b91ec2fb9d607)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two recent patches are now marked as reported in the
valgrind bugzilla.
(From OE-Core rev: 0f8608dbdf150470f1b4e882515fe9f78f82b43a)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes the users might want to change the title showing on UEFI
booting screen, so far it's hard-coded to 'boot'.
There is not a easy way to customize it in current design, I tried
firstly with '--configfile', but that does not work with --use-uuid,
since the later option will generate a UUID and write it to boot
config, only when the former option is not enabled.
So a new source parameter 'titile' is added in this patch, it defaults
to 'boot' to be consistent with the original title.
(From OE-Core rev: 37e16188ef3b1b328eb18b3e459c051c9c9f0332)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When calling d.appendVarFlag, a blank is needed or else it could mess
up the later appended variables.
Reported-by: Stefan Agner <stefan.agner@toradex.com>
(From OE-Core rev: 8b2df6e5874b932b356847c5bde10d5b31d67213)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
list_pkgs() for rpm calls RpmPM() which would try and create a copy of the
package feed. This can be called for example from buildhistory whilst some
other task may be working on an SDK or image construction, causing the package
feed to disappear part way through an operation.
Avoid the need to copy the package index just to list the installed
packages, avoiding the race.
(From OE-Core rev: d05fa49e06034913e22c223803c98cb265e2ae58)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below problem:
pydevshell raises exception when maximize the python shell window.
when click maximize, rlist of select return ready object, but the
pty.read is None, so throw exception of 'NoneType' object has no
attribute 'decode', change to only decode when readdata is valid.
[YOCTO #11875]
(From OE-Core rev: d598f8d48e9b094af99effa7471d613b16ffa817)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This same variable was added to the make line in kernel.bbclass in
0decf1cc1c. With the addition of the
usrmerge feature, out-of-tree modules could use this same variable.
(From OE-Core rev: 1d24d1ac5b9c772d84104396438e5d1308332785)
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When usrmerge is enabled, scripts that were explicitly using #!/bin/ash
will cause a QA Error like the following:
QA Issue: bar.sh contained in package foo requires /bin/ash,
but no providers found in RDEPENDS_foo? [file-rdeps].
It seems perfectly acceptable for scripts to use /bin/ash so provide
it along with /bin/sh.
(From OE-Core rev: cc8d54521aa79c1ca88c801e89c3ade6c17ae7a2)
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
yocto-check-layer will find locked-sigs.inc under builddir,
but locked-sigs.inc is generated under current bitbake working
dir. if run yocto-check-layer outside builddir, we will met error
like "No such file or directory: *locked-sigs.inc". change to
run bitbake -S under builddir to fix this problem.
[YOCTO #12973]
(From OE-Core rev: 2ec0bc0b038bc6413978c8f34ef5c0d22b4bc3e7)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix CVE-2018-18751 for gettext. Because po-gram-gen.y
has been modified by fix-CVE-2018-18751.patch, it requires yacc which
provided by bison-native to re-create po-gram-gen.c. Please remove
bison-native from DEPENDS* when next upgrade.
Ref:
https://security-tracker.debian.org/tracker/CVE-2018-18751
(From OE-Core rev: 4b3a085d6c63fd8459bb084aaa277dd2e8949594)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
it is possible to use the beagleboneblack with the 8250 serial
driver or with the deprecated omap serial driver.
Unfortunately serial console get different names (ttyS0 with
8250 driver and ttyO0 with omap driver)
So set SERIAL_CONSOLES to
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0"
(intentionally with "?=" so it is overwriteable)
and activate
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
with that on the first boot the correct value is picked up
automatically.
(From meta-yocto rev: ffd224382af6fe1f5eeae32d7b28cc975acdde05)
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The imp module is deprecated, port the code over to use importlib.
bitbake/lib/bb/utils.py:30: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
(Bitbake rev: 3c2cb35588e91fbd7b136e5e2c78eeb77e126c84)
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: ad79fadd855f5c10242ed17e9e0f3eb0274f26d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous commit as below only fixes the
textrel issue with musl on x86, update it also to
fix the issue such as with glibc on x86.
74ea4f280c x264: Disable asm on musl/x86
[YOCTO #11770]
(From OE-Core rev: 521af79d1d7635b4bd0ee2cc45b96729285bf469)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduced at or before 5.50.
(From OE-Core rev: aec2020cec8a21ac85797cb049961d9cfcf8b4f1)
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
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)
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: 7954b19020c28a4120bc1671aa81b9e1e2b05fa2)
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: 080d8900d470a8e7f929b0c5c2765ad461744fbb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to set ownership of the license files after copying into the rootfs.
We also need to ensure we don't overwrite the rootfs files outside rootfs
generation, hence only write there when the new rootfs function parameter
is True.
[YOCTO #12961]
(From OE-Core rev: 6aa0eeaa4d31a440700f7695174de2a1dcc54866)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this it's possible to build locale data for ARC
and not do it instead on the first boot.
(From OE-Core rev: f13c303491dc8850126ea14baedc7b63b7b5ecf4)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sanitizers are not yet supported on ARC.
(From OE-Core rev: 1b7b2d2ab887f1c169bb4d3298404549948d1b32)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recently Debian-style support for link relocation was added to
'update-alternatives' script, but it fails under circumstances where
host rootfs root directory differs from target rootfs root directory
and two alternative packages provide a symbolic link with source
located in different directories.
An example of the case is busybox provided /bin/rev (symlinking to
/bin/busybox.nosuid) and util-linux provided /usr/bin/rev (symlinking
to /usr/bin/rev.util-linux) in which case following failure occurs
during image recipe's do_rootfs() task:
ERROR: core-image-minimal-1.0-r0 do_rootfs: Postinstall scriptlets of ['util-linux'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in .../tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.
ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
Looking in log.do_rootfs file, following relevant lines can be observed:
update-alternatives: renaming rev link from /bin/rev to /usr/bin/rev
mv: cannot stat '/bin/rev': No such file or directory
Mitigate issue by applying patch which adds target root filesystem root
directory path prefix to failing 'mv' calls relevant variable references
(From OE-Core rev: f0912e23629758fe4303284e7db8f4089bb7b4cb)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
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)
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)
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)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Fix typo of `--disable-jitterntropy' in both of PACKAGECONFIG and configure --help
- Enable jitterntropy for musl
(From OE-Core rev: c3b96aaa40413d66d8fc4252235e6fa27dd8db53)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Just adding `-device virtio-rng-pci' to the QEMU invocation will
add the device with a default host backend. As of QEMU 1.3+,
the default backend is to use the host's /dev/random as a
source of entropy. [1]
When the entropy pool is empty, reads from /dev/random will
block until additional environmental noise is gathered. [2]
For Yocto, if call runqemu frequently, it will consume lots
of host's /dev/random, and kernel finish crng init in guest get
more and more slowly.
Here are 4 times runqemu boot test:
[ 3.464432] random: crng init done
[ 20.874030] random: crng init done
[ 23.583589] random: crng init done
[ 23.858945] random: crng init done
Modify entropy source to /dev/urandom device on the host which
returns random bytes using a pseudorandom number generator seeded
from the entropy pool. Reads from this device do not block and
kernel finish crng init in guest will not delay.
Of course, the side effect is obviously, we lost the quality of
randomness, but the modification is only on runqemu script
rather than real embedded device, and it benefits oeqa efficiency
in which many cases call runqemu especially multiple oeqa builds
on one host.
After apply the fix:
[ 3.364670] random: crng init done
[ 4.619061] random: crng init done
[ 3.403897] random: crng init done
[ 3.450717] random: crng init done
[1] https://wiki.qemu.org/Features/VirtIORNG
[2] http://man7.org/linux/man-pages/man4/random.4.html
(From OE-Core rev: 853644f82eb3205ef3efc1ea3959c7225dfacf61)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [f1dc9ac rng-tools: Fix crazy defaults] fixed
init based on sysvinit, this fix rngd.service based on systemd.
(From OE-Core rev: 078630b7bf8599ea2b3717ce33d2da0f7f26b0e2)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Usually skipped testcase output "SKIPPED"
[snip serial execution]
|RESULTS - buildgalculator.GalculatorTest.test_galculator - Testcase -1: SKIPPED (0.01s)
|RESULTS - python.PythonTest.test_python3 - Testcase -1: SKIPPED (0.01s)
[snip serial execution]
But if enable multiprocess execution, skipped testcase output "UNKNOWN" status
[snip enable multiprocess execution]
|RESULTS - buildgalculator.GalculatorTest.test_galculator - Testcase -1: UNKNOWN
|RESULTS - python.PythonTest.test_python3 - Testcase -1: UNKNOWN
[snip enable multiprocess execution]
Here is my investigation:
There is a class pairs TestProtocolClient and TestProtocolServer
provided by python3-subunit. The TestProtocolClient generates a
subunit stream of TestResult from a test run, and TestProtocolServer
parses the stream of subunit TestResult.
The class ProtocolTestCase is a unittest.TestCase adapter and it
uses TestProtocolServer to parse the stream of subunit TestResult.
In Yocto testsdk, it forks multiple processes to execute testcases
and use TestProtocolClient to generate TestResult stream; and then
it creates multiple threads to use ProtocolTestCase to parse stream
of subunit TestResult through pipe; finally it passes multiple
ProtocolTestCase as TestCase instance to main process and output
status result.
The problem point is TestProtocolServer parses `skip:' directive
after reading a `test:' directive. Without `test:' directive,
`skip:' directive will be ignored. All above requires SkipTest should
be raised inside a test method rather than setUpClass method.
Throwing SkipTest inside setUp works correctly
(From OE-Core rev: 4828a88556d59e4d06933164c2ebeb9361b7450e)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lvm2 currently requires libaio. So building lvm2-native will result in
the following error.
ERROR: Required build target 'lvm2-native' has no buildable providers.
Missing or unbuildable dependency chain was: ['lvm2-native', 'libaio-native']
Extend libaio to native to fix this issue.
(From OE-Core rev: fe871d23c2714e66a1f5e2428a16e742ca40fc62)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After enable tk via PACKAGECONFIG for python3,
there comes below error:
Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-testtools', 'nativesdk-python3-pbr', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt', 'nativesdk-libsm']
Extend libsm to nativesdk to fix this issue.
(From OE-Core rev: 5a527e381705ed8a3e2caba98205c8c8172a347a)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After enable tk via PACKAGECONFIG for python3,
there comes below error:
Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-git', 'nativesdk-python3-gitdb', 'nativesdk-python3-async', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt', 'nativesdk-libsm', 'nativesdk-libice']
Extend libice to nativesdk to fix this issue.
(From OE-Core rev: 46f39d402fbf5487d7a1036fbeec6726ba49334b)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After enable tk via PACKAGECONFIG for python3,
there comes below error:
Missing or unbuildable dependency chain was: ['nativesdk-packagegroup-sdk-host', 'nativesdk-opkg', 'nativesdk-libsolv', 'nativesdk-rpm', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-xft', 'nativesdk-fontconfig']
Extend fontconfig to nativesdk to fix this issue.
(From OE-Core rev: f15120430914582f0889ddc442de1055e6c5dca9)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After enable tk via PACKAGECONFIG for python3,
there comes below error:
Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-testtools', 'nativesdk-python3-pbr', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-xft']
Extend libxft to nativesdk to fix this issue as
PROVIDES = "xft" in libxft recipe.
(From OE-Core rev: 2709062a47b86bb86b2768f04f97f00af1bb9b47)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After enable tk via PACKAGECONFIG for python3,
there comes below error:
Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-pytz', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt']
Extend libxt to nativesdk to fix this issue.
(From OE-Core rev: 2ed08a6c467202504737040b83a8b9fd6481f62b)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without doing this, the code can and sometimes does try and do "rm ~/"
which I think we'd all prefer it didn't.
(From OE-Core rev: 9dc1de59330c366783ea043c68c1b59b1b49e707)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
distcc upstream dropped the 3.2 branch which we reference in older project releases
the revisions are there, just the branch is not. In order to be able to continue
to build those old releases, adjust any mirror tarball to contain the missing branch.
We have updated the newer point releases but the previous tags were failing to build.
(From OE-Core rev: 5a1a322cfca2a514707eeb48f4c3dce5e4c1ad48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Display the name of the restricted licenses which caused the recipe to
be skipped. This makes it easy to determine which license or licenses
are missing and need to be checked and whitelisted.
(From OE-Core rev: b71cd1ec45e247db688b784697829c1b485ca9ca)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssl build system generates buildinf.h containing the full
compiler command line used to compile objects. This breaks
reproducibility, as the compile command is baked into libcrypto, where
it is used when running `openssl version -f`.
Add stripped build variables for the compiler and cflags lines, and use
those when generating buildinfo.h.
This is based on a similar patch for older openssl versions:
https://patchwork.openembedded.org/patch/147229/
(From OE-Core rev: cbc9b743a711f07c04cf9f5b2fc3f83da6d28913)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In newer versions of ExtUtils::MakeMaker, the location of the perl
binary to run is determined differently which results in finding
${bindir}/perl.real instead of ${bindir}/perl
(From OE-Core rev: 362bd36cbec052d2a37710498c901b699dcf5ca7)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
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: e2450857d898238b0b719a5400e2340c65c80ada)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should not be finding GStreamer issues right around
release time but that's what we seem to do.
Port gstreamer tests from Intel Ref Kit.
https://github.com/intel/intel-iot-refkit/blob/master/meta-iotqa/
lib/oeqa/runtime/multimedia/gstreamer/gstreamer_cli.py
Add tests for gstreamer commandline tools (gst-inspect-1.0
& gst-launch-1.0).
[YOCTO #11418]
(From OE-Core rev: 3e77f845b517e3f4b3e7d09d088a9a80bf171653)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check that yocto-autobuilder-helper has been cloned to the correct location.
Check that vnc is running using the same script the autobuilder does.
Set the DISPLAY enviroment variable to :1 the same way we do when building
normally.
Make the VM's serial console available so we can log in and power off allowing
the tests to continue.
(From OE-Core rev: 5fb26ff0b56eebb864fd8f74c015e414476eec43)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
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: 3a09cee5994ce65079dab1042e47e5eed4540bb9)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its currently not possible to have a console available whilst using qemu in graphics
mode. This is causing some issues for testing autobuilder bringup so all a "serialstdio"
mode to runqemu to accomodate this.
The existing serialstdio internal variable is renamed to allow the new user visible option.
(From OE-Core rev: 101b70d3c6a0a5a022d96dfdd21500b757c8fada)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handle the %i wildcard appearing in a dependency in the Install section
of a template unit, e.g.
$ cat foo@.service
[Install]
WantedBy=bar@%i.target
Using the real systemctl something like:
$ systemctl enable foo@baz.service
will create a symlink in /etc/systemd/system/bar@baz.target.wants.
Detect wildcards in templates and make the appropriate substitution.
(From OE-Core rev: 22ed19292d160461042d4a2294fe2ec0b953873e)
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If sqlite3 is built with FTS5 it uses log() from libm, but that linkage is lost
if we manually statically link so explicitly link to libm.
(From OE-Core rev: b24a67217d82f225e76fbc2dfb70dd8e1a6ea215)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to run task compile_ptest_base of glide on mips:
| vet config not found
The root cause is that go lang lacks '-buildmode=pie' support for mips.
So disable glide ptest on mips for now.
(From OE-Core rev: b8a1a5a5d8fe376e9015b0406881bcee0658f1a0)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that additional packages in IMAGE_INSTALL_DEBUGFS are available
before installation.
(From OE-Core rev: 06a1bbea67a7233deff80ebe3681b4e0cca6817a)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its been 'a while' since we used monotone, drop these revision
function remnants.
(From OE-Core rev: f1c77ab87b3c16d14deff801f48292ed348da637)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous code looks strange because of historical reason, simply return
base_get_metadata_git_revision/branch() is enough, the later functions has
handled everything like '<unknown>' and strip().
(From OE-Core rev: 8a6e70960e021e10a1d02e20e0519fdbdeac8616)
Signed-off-by: Robert Yang <liezhi.yang@windriver.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: 5e3e30446b6abd98d1d3e9bee818203a6a206634)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While building go itself, the go build system does not support
to set `-buildmode=pie' from environment.
Add GOBUILDMODE to support it which make PIE executables the default
build mode, as PIE executables are required as of Yocto
But mips doesn't support -buildmode=pie, so skip the QA checking for
mips and its variants
(From OE-Core rev: d11cb2ea0abfca4a5958ff4647f22a5b203113e5)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Export the PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR variables in case the
parent shell hasn't done so.
(From OE-Core rev: 42f33bb5a480324b81c875fbb28872c734860253)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
*The PowerPC SPE support is split off to a separate powerpcspe port
(From OE-Core rev: c67bc9bdcbcf46ed54dfbafd1bb6e405ed77f86a)
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase 0007-qt-python-Add-variables-to-tests.patch
Rework 0007-qt-python-Add-variables-to-tests.patch -> 0007-python-Add-variables-to-tests.patch
Drop newly added option --disable-lang-qt-test which is merged to --disable-gpg-test by
upstream commit [26820ba qt: Respect --disable-gpg-test for tests]
(From OE-Core rev: 9457163b2c4982a64814c6b38c292d7bc61ff643)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For changes, please see:
https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/log/?qt=range&q=e4fe79cf0d9a05ee3f3a027148ef0aeb2b1b34e1...0932a6b37ba6d5c9e916a1cb6ab89c3205b81a0c
Enable sna by default and remove upstreamed patches.
Also include a patch from fedora to fix compile issues when using
qemux86 which doesn't enable sse2 leading to gcc refusing to
inline vertex_emit_2s in emit_vertex because they are defined as:
static __attribute__((always_inline)) void
vertex_emit_2s(struct sna *sna, int16_t x, int16_t y)
__attribute__((target("sse2,fpmath=sse"))) __attribute__((always_inline))
static void emit_vertex(/* omitted */)
leading to errors like:
| In file included from ../../../git/src/sna/gen4_vertex.c:34:
| ../../../git/src/sna/gen4_vertex.c: In function 'emit_vertex':
| ../../../git/src/sna/sna_render_inline.h:40:26: error: inlining failed in call to always_inline 'vertex_emit_2s': target specific option mismatch
| static force_inline void vertex_emit_2s(struct sna *sna, int16_t x, int16_t y)
| ^~~~~~~~~~~~~~
| ../../../git/src/sna/gen4_vertex.c:308:25: note: called from here
| #define OUT_VERTEX(x,y) vertex_emit_2s(sna, x,y) /* XXX assert(!too_large(x, y)); */
| ^~~~~~~~~~~~~~~~~~~~~~~~
| ../../../git/src/sna/gen4_vertex.c:360:2: note: in expansion of macro 'OUT_VERTEX'
| OUT_VERTEX(dstX, dstY);
| ^~~~~~~~~~
(From OE-Core rev: a181b36bf2357c5f7d5835df2f828ff1e0007dc6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- updated connman to v1.36
- removed mainstreamed patches
- includes.patch has been rabased and transformed into git format
(From OE-Core rev: 85b76e52d2060e197435606eb6316c8833b46361)
Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As was warned by commit 312ee68752fa [kconfig: announce removal of
oldnoconfig if used], oldnoconfig has been removed from the 4.20 kernel.
So we switch our default mode to olddefconfig.
commit fb16d8912 [kconfig: replace 'oldnoconfig' with 'olddefconfig',
and keep the old name as an alias] introduced olddefconfig in the 3.10
kernel, we shuffle oldnoconfig to the fallback target.
The fallback mode allows kernels between 3.10 and the currently listed
oldest kernel of 3.2 to continue to configure.
(From OE-Core rev: 8593dcb7e8c938530ff00ffedf7f3d02d26c3bad)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RISC-v support now included in this release so drop patch.
and refresh patches
(From OE-Core rev: 800f4bd6f9fa18ed68f14f5e6e12be3499fb8038)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream source tarball checksums changed. Use the copy from our source
mirror to avoid failures.
[YOCTO #12979]
(From OE-Core rev: e97a31e6bbaec5cb56d4750bf5171dbba510ee33)
Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
valgrind for qemumips64 multilib builds fails to configure
for libn32 with the error:
configure:6190: checking for 32 bit build support
...
fatal error: bits/long-double-32.h: No such file or directory
It seems that the toolchain is producing:
tmp-glibc/sysroots-components/mips64-n32/libn32-glibc/usr/include/bits/long-double-n32.h
Until the toolchain problem is resolved, skip valgrind for libn32.
(From OE-Core rev: 17d5574f05384edeb5c80ada2724fff4a1c3c94b)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
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: 2012d6b076fc833864a0254d56d78536314a6799)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Play the whack-a-mole game and add the .file directive to another
assembly file that otherwise shows itself in ld-2.28.so debug file,
which in turns alters the build-id of ld-2.28.so on target.
(From OE-Core rev: 4cbf901b3a127ed039371e614946002d26d56997)
Signed-off-by: Martin Hundebøll <martin@geanix.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)
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use % operator to ensure that the dependency is substituted into the error
message correctly.
(Bitbake rev: 8e587386b0b3a0ed11edf71dfbe9fb508f60d0b3)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support users who want to specify a custom ssh to Git using an environment
variable. (This lets build systems work without requiring users to
configure Git explicitly.)
(Bitbake rev: db46fb2755a4b1033ab60051ce511cc9dd7e34fb)
Signed-off-by: Mike Crowe <mac@mcrowe.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: 9cc6fe4be797e106899d2448797a4b3af8eace4e)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Git does not require the module and target path to be the same in the
.gitmodules file. This incorrect assumption was being made previously
causing various unpack failures.
An example .gitmodule showing this issue:
[submodule "plugins/WaveShaper/Libs/inih"]
path = plugins/wolf-shaper/Libs/inih
url = https://github.com/pdesaulniers/inih.git
The unpack function also needed to work in a loop on the overall
submodules_queue. Before it could have missed items that were not in the
primary repository.
(Bitbake rev: 5a7009c204f4d2254e3b2d83ad9319ac23f1cf4d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Submodules by definition refer to a specific commit, not branch. If we don't
ignore the branch, then any commits on a submodule on a branch different then
the original module will trigger a failure that the commit is not on the
branch.
(Bitbake rev: fdc1dbf96f153b496de52acd8263366a1ff303ad)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libunwind is not yet ported for ARC & RISCV64 and on attempt
to build it for those arches we just get an error message.
If we explicitly disable libunwind it is gracefully handled by
perf build system and it just gets configured to not use it
so perf is still usable even on those arches.
(From OE-Core rev: bb06900a1f29fdd4066f6d7e7a961d230c2e9438)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Temporarily modify path to run as non-privileged user on more distros.
Change the recommended value to match what we use on the autobuilder.
(From OE-Core rev: 2f86c3f1180ba8bf77301a0bc29c3b290bc28d91)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
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)
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>
os.errno doesn't work in Python 3.7 and shouldn't have ever worked, so use
import errno explicitly.
(From OE-Core rev: 82f9157e84dcaf0ad4292053b09be68c2290d197)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had a number of occasions where the Yocto Project source mirrors have not
been complete or functioning correctly. This adds a test so that if this happens
we find out out it sooner.
It also only works over http meaning we should be able to test that anyone behind
an http only proxy (no git protocol) also has functional fetches for OE-Core and
layers built by the core of the project.
(From OE-Core rev: 9a25b2eb9cc13dd77a774dad83067ea5f9bf9716)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both RHEL and SLES uses ppc64/ppc64le for powerpc 64 bit big/little
endian targets instead of powerpc64/powerpc64le in libgpg-error.
Also libgpg-error provides common target system names in form like
<arch>-unknown-linux-gnu.
Add mapping for ppc64/ppc64le targets to their libgpg-error equivalents
to fix native builds.
Cross build for arm64 tested on IBM Power 8 machine with RHEL7 for
ppc64le variant only, but should work for ppc64 as well.
(From OE-Core rev: f1af780769477f06eb925fd87c844baba04ada2d)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit 709c603dec19 ("v86d: Accept aarch64 as build host") we
support cross compilation on aarch64 host in addition to x86 host.
However building on hosts different than two above will fail.
Make cross compilation support more generic by checking for TARGET_ARCH
in v86d configure script with fallback to `uname -m` when not present in
environment and pass TARGET_ARCH explicitly in do_configure().
Cross build for x86 tested on IBM Power 8 machine with RHEL7. Should
work on aarch64 and rest too.
(From OE-Core rev: 69f7579eb36c00b557225377e1a3cc61b103be23)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several distros are now shipping "python" as python v3 contra to the original
python guidelines. This causes users confusion/pain in trying to use our tools.
We can just force "python" to "python2" within HOSTTOOLS to avoid this issue
and hide the complexity from the user.
(From OE-Core rev: b06a6cde5c5503f456f260c773cf126085e18c8d)
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)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Right now go-cross is changing signatures when you change TUNE for a given
architecture. In particular this breaks layer tests like:
yocto-check-layer ../meta-yocto-bsp/ --machines qemuarm beaglebone-yocto
This changes the PN addtion to something containing the tune rather than
the arch which avoids these kinds of errors. If go-cross can be tune
independent that would be nice but currently that isn't the case.
[YOCTO #12586]
(From OE-Core rev: e3c7e1703499e6a5332d9ab8a941671ec8235c4f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current go-dep does not compile ptest successfully on mips
and mips64. So as a workaround, disable PTEST_ENABLED explicitly
to avoid error like below.
| vet config not found
(From OE-Core rev: 786322ec408e2ef5cd6fb809456e0453e5f5e162)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pyvenv is just a small script that uses venv to create virtual
environments.
https://www.python.org/dev/peps/pep-0405/#creating-virtual-environments
This patch adds the python3-venv module as a self-contained package which
python3-pyvenv must depend on at run-time.
The patch also provides the package python3-pyvenv from the pyhton3-venv
package.This is good for future-proofing since python3-pyvenv has been
deprecated and only python3-venv is now available in Python 3.6.
https://docs.python.org/3/library/venv.html.
Without this patch python3-pyvenv is broken because it is missing the
venv module at run-time. This patch specifies the newly created
python3-venv as a run-time dependency of python3-pyvenv.
(From OE-Core rev: effa141bfce55aab25142ee578c95383c755ad73)
Signed-off-by: Hugues Kamba <hugues.kamba@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of gdbm's ptest cases require gdbmtool, which is packaged into
${PN}-bin. So extend the RDEPENDS_${PN}-ptest to include the package.
(From OE-Core rev: e188a75aa882efc98b8390f43f18279c3707314a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.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)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Only extract relevant parts from init.c & gpg-error.h.in
(From OE-Core rev: a5c1ff6deb6393666745889eee8297112848ba28)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.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)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.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)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Once the value of SOURCE_DATE_EPOCH is determined, it is stored in the recipe's SDE_FILE.
If none of the existing mechanisms are suitable, replace the do_deploy_source_date_epoch task
with recipe-specific functionality to write the appropriate SOURCE_DATE_EPOCH into the SDE_FILE.
(From OE-Core rev: e7b891b76954c784f5a93bd0a1c91315673ce40d)
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>
Backport patch to fix CVE-2018-0735 for openssl 1.1.1.
(From OE-Core rev: 78e751e33d3ec4394d96391e737cc39cad960ebe)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patches to fix CVE-2018-0734 for both openssl 1.0.2p and 1.1.1
versions.
(From OE-Core rev: 9d5c6a87eb72a8b8b8d417126a831565982ca9a6)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Artifex Ghostscript allows attackers to bypass a sandbox protection
mechanism by leveraging exposure of system operators in the saved
execution stack in an error object.
(From OE-Core rev: 6098c19e1f179896af7013c4b5db3081549c97bc)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Artifex Ghostscript 9.25 and earlier allows attackers to bypass a
sandbox protection mechanism via vectors involving errorhandler
setup. NOTE: this issue exists because of an incomplete fix for
CVE-2018-17183.
(From OE-Core rev: 6c32ea184941d292cd8f0eb898e6cc90120ada40)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These CVE fixes come from upstream master branch and no
new version released, so backport rather than upgrade.
(From OE-Core rev: bd8d2c25f595e30a3fdcad8a2409913bb8af7c5c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.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)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.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)
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)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Incorrect command-line parameter validation in the Xorg X server can lead to
privilege elevation and/or arbitrary files overwrite, when the X server is
running with elevated privileges (ie when Xorg is installed with the setuid bit
set and started by a non-root user). The -modulepath argument can be used to
specify an insecure path to modules that are going to be loaded in the X server,
allowing to execute unprivileged code in the privileged process. The -logfile
argument can be used to overwrite arbitrary files in the file system, due to
incorrect checks in the parsing of the option.
(From OE-Core rev: 14b5854d50c38e94fc0d1ce6af36698fc69f52b4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rendering the manual to its HTML form was collapsing the two
leading and four trailing whitespace characters into single
whitespace characters. I inserted multiple " " strings
to force the spacing to come through.
(Bitbake rev: 701f76f773a6e77258f307a4f8e2ec1a8552f6f3)
Signed-off-by: Scott Rifenbark <srifenbark@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)
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)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson uses 'ppc64' for 64 bit powerpc. Issue came up while
building systemd for MACHINE that uses ppc64e5500 tune.
(From OE-Core rev: eccd5414c37be26df63a90154c1808f6f5618b7d)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The master branch does not exist any more, use develop to replace.
(From OE-Core rev: 6db5e994ed9179eb6174ace1fd60c007f11deadd)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
groff searches fonts on build host which are provided by ghostscript.
The number of font files installed by groff are different according to
whether ghostscript fonts are installed on build host. Fix it by not
search font dirs on the host.
(From OE-Core rev: 01bce5fada48ecc7bd76c3d7fbade3c034518573)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no point in adding empty log entries to the json result files, only
add them if there is log data.
(From OE-Core rev: da6aef0b6bd4655805f7f743858d4e04341f75ed)
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: c272079d662237b1b9f87940c88cbadaeda9a9d1)
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: cdbedba7da9c3f97a642d79a5e8ec363ba938e35)
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
* Log DISTRO
* Use LOG_DIR
* Store the layer config in a more natural json format
* Drop '_' function prefixes
(From OE-Core rev: dda94cfa708cf3c6e5408d6dbcece360b4e8cd27)
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: 5d135d4769b6bb60d575eb6ed196367f9e077cc4)
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)
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: 10697165c832e3dbb2913b6215164ea75e23ec23)
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 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)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.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)
Signed-off-by: Grygorii Tertychnyi <gtertych@cisco.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)
Signed-off-by: Grygorii Tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12390]
Updated three variables: BB_ALLOWED_NETWORKS, BBMASK, and BBFILES.
Fixed some linking to be sure to use Python3 links instead of
Python 2. Fixed a note to clarify use of the "*" wildcard
restrictions in the BB_ALLOWED_NETWORKS variable.
(From yocto-docs rev: 6f880d10d0830d80cc2d4d1d5b7ea141dad6d4af)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11107]
Updated the SSTATE_MIRRORS variable description to include
explanation of how to use regular expressions to map file locations
to server-provided URLs to share sstate information.
(From yocto-docs rev: 1357095864ee919f576de8df36f4e177b24fdd22)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12390]
Applied some fixes to the variable wildcard support documentation
in the BitBake manual. Wording changes and changes to make links
referencing Python syntax go to version 3 rather than version 2.
(Bitbake rev: 0cfc71d1a342b82781b0ba547421e41f6340902a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12390]
Added specific descriptions for how wildcarding works for a variety
of variables and files (e.g. append files).
(Bitbake rev: 0a4377cb1837ede213d9640344f4908de3689d91)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
stap-exporter runs a set of systemtap scripts and relays
their procfs outputs to remote HTTP clients on demand.
systemtap-exporter is not supposed to run in untrusted
environment. It starts HTTP server on some port. It does
not look safe enough to be included by default along with
the rest of systemtap.
Move systemtap-exporter, its systemd unit, configuration
files and examples scripts into separate package. So if one
needs it and understand its implication, he/she can include
it explicitely.
(From OE-Core rev: 03e01c26a297642dbe4b0e1c7cf2cbe3c225140e)
Signed-off-by: Victor Kamensky <kamensky@cisco.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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After create_packages_dir added in below commit:
85e72e1 package_manager: Filter to only rpms we depend upon
When add below line into conf/local.conf
INHERIT += "packagefeed-stability"
There comes below error when do_rootfs
Exception: FileExistsError: [Errno 17] File exists: '/$Prj/tmp/deploy/rpm-prediff/i586/initscripts-1.0-r155.i586.rpm' -> '/$Prj/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm-prediff/i586/initscripts-1.0-r155.i586.rpm'
def create_packages_dir(d, subrepo_dir, deploydir, taskname, filterbydependencies):
[snip]
bb.utils.remove(subrepo_dir, recurse=True)
[snip]
In create_packages_dir function, there is a logic
as bb.utils.remove(subrepo_dir, recurse=True) to
clean subrepo_dir which is actually as example is
/$Prj/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm.
But currently when inherit packagefeed-stability class,
the deploydir should be /$Prj/tmp/deploy/rpm-prediff,
not the default /$Prj/tmp/deploy/rpm.
If use /$Prj/tmp/deploy/rpm, then result in the
logic as below:
os.link("/$Prj/tmp/deploy/rpm-prediff/i586/initscripts-1.0-r155.i586.rpm", "/$Prj/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm-prediff/i586/initscripts-1.0-r155.i586.rpm")
Update to the actual deploydir to guarantee the logic
as below:
os.link("/$Prj/tmp/deploy/rpm-prediff/i586/initscripts-1.0-r155.i586.rpm", "/$Prj/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm/i586/initscripts-1.0-r155.i586.rpm")
(From OE-Core rev: 3b17052611e640fb3db5d03c06ab87185a12be58)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add back alternatives for init utilities to avoid regression.
These alternatives were removed when upgradeing systemd to 239.
They were removed out of the logic that init utitilies should be
bound to init manager. However, it turned out that two use cases
were not covered.
1) initramfs using commands like 'reboot' from busybox.
2) Users use customized busybox defconfig which enables init utilities.
The first use case caused a regression bug in yocto.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12914
Patches were sent to fix the reboot problem.
But this is not enough. As we may have the second use case. In such
situation, users will find themselves having regression error when
using 'busybox + systemd' (and busybox is installed after systemd,
overriding the systemd symlinks).
So in order to avoid regression, add back these alternatives.
(From OE-Core rev: 43ef422d80e0544232a9361187ac1c608304c969)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Weston needs to be configured to load the fbdev driver when run on a QEMU system.
Other MACHINEs may want to also provider their own configuration as well..
Adding a new RRECOMMEND configuration package will allow this, but avoid
installing empty packages/files in the majority case where it is not needed.
Add maintainer entry as well.
(From OE-Core rev: 0f43ea8510ae6148a49eb25accac407b6b301b43)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ptest has dependencies on other tests so contain them in a
variable. This allows layers to not worry about maintaining the depends
themselves.
(From OE-Core rev: c5c5ad9030ec7ddaa6387e2ba52e9e37b9ea76a2)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If CONFIG_SECURITY_SELINUX=y is enabled in kernel configuration, then
'make scripts' command in /usr/src/kernel fails to build
utilities under scripts/selinux that would be pulled in by this config:
HOSTCC scripts/selinux/genheaders/genheaders
scripts/selinux/genheaders/genheaders.c:19:10: fatal error: classmap.h: No such file or directory
#include "classmap.h"
To address this issue add security/selinux/include files into
kernel-devsrc.
(From OE-Core rev: 8dce789ae1a2c11521ebe895fd3bd636cff64261)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lvm2 currently requires libaio. So building nativesdk-lvm2 will
result in the following error.
ERROR: Required build target 'nativesdk-lvm2' has no buildable providers.
Missing or unbuildable dependency chain was: ['nativesdk-lvm2', 'nativesdk-libaio']
Extend libaio to nativesdk to fix this issue.
(From OE-Core rev: 5f56ce58360320d7ef9526b3bdcc7e26a647b6de)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros want to install the kernel in a custom location other
than /boot and have it properly packaged, so it's useful to use a
weaker assignment.
(From OE-Core rev: cadd91655a336eb6d65ca43dc1231bbe5271e1cf)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed ptest issue
vet config not found
(From OE-Core rev: 735430db632bcb1a1a5e7fe85b56408396881894)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using systemd, the systemd-fstab-generator would parse the
/etc/fstab and create the corresponding unit dynamically. So we don't
need to handle the ADD action for the partitions in /etc/fstab.
(From OE-Core rev: 6104109ceba1a1323e42d67a632921fb91184ab6)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 4ca9402c37 ("udev-extraconf: Add systemd-mount to
udev-extraconf/mount.sh") uses the systemd-mount to mount the new added
disk partitions if systemd is used. But it forgot to move the codes
which tries to mount the partition by using the configuration in
/etc/fstab to the non-systemd function. And it will cause the
systemd-mount try to mount the partition synchronously and trigger a
recursively dependency like the following:
dev-sda1.device -> run-media-sda1.mount -> dev-sda1.device
(From OE-Core rev: fcf6a4d629c05048cbb7298e285d84ff73a320d2)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new version of systemd has changed the symbolic link between
/sbin/init and /lib/systemd/systemd to relative. So the output of
the command 'readlink /sbin/init' become:
../lib/systemd/systemd
Then it causes the following check of "/lib/systemd/systemd" to return
false. Fix this issue by using the canonical file name of the systemd.
(From OE-Core rev: 352b3f0b07370d8df7d6ae13c0bac0697f7751ba)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The automount udev rule in udev-extraconf is likely to cause conflicts
or failures in case of systemd. We are seeing errors like below for
qemu bsps.
run-media-hdc.mount loaded failed failed /run/media/hdc
So do not install udev-extraconf in case of systemd in these two
packagegroups.
(From OE-Core rev: ecf1e696a03f11e19247c4f37e17de7084d0056c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit b1f10b18ea added the NPM_INSTALL_DEV
variable. But due to the use of simple assignment, a recipe can't override its
value.
(From OE-Core rev: b53d5094d5e05f9c1955c8565d777ad74f668f7e)
Signed-off-by: Jef Driesen <jef.driesen@niko.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The node binary searches for packages in a number of locations, the last
of which is $PREFIX/lib/node (here: /usr/lib/node) from the list of
GLOBAL_FOLDERS [1]. So change the installation directory for all
packages depending on npm.bbclass to that location. This removes the
need to define the NODE_PATH variable to the non-standard
/usr/lib/node_modules value.
While the Tips for Package Managers [2] discusses installing packages to
/usr/lib/node_modules/<name>/<version>, this has several drawbacks:
* it does not work for the REPL as mentioned in the documentation
* it also does not work for any code _not_ installed as a global
package under /usr/lib/node_modules (e.g. /usr/share/foo.js will not
find any packages below /usr/lib)
* using the non-default location and then having to set NODE_PATH
barely saves any time: there are only two file-system lookups (to the
legacy $HOME/.node_modules and $HOME/.node_libraries) directories
before the library would be found
And the suggestion was made in the context of deduping the node_modules
tree by installing all packages in a flat hierarchy and using symlinks
to the correct version of each dependency. This is not what OpenEmbedded
does, so none of those benefits (deduping, cleaner packages) are being
had by shifting the installation directory to /usr/lib/node_modules.
The choice of a "proper" installation path is not helped by npm
installing to /usr/lib/node_modules if asked to install globally. Still,
using the location expected by nodejs (/usr/lib/node) seems the right
choice.
[1]: https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders
[2]: https://nodejs.org/api/modules.html#modules_addenda_package_manager_tips
(From OE-Core rev: c73bc49038effd64f2c2542c1f4da8b6a4168477)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid mips32 x-compiler warnings such as:
| ../../../valgrind-3.14.0/helgrind/tests/annotate_hbefore.c:360:6: warning: no previous prototype for 'do_signal' [-Wmissing-prototypes]
| void do_signal ( UWord* w )
| ^~~~~~~~~
by making functions and global variables that are file scope be static
and more importantly also avoid an assembler error:
/tmp/cce22iiw.s: Assembler messages:
/tmp/cce22iiw.s:446: Error: symbol `exit_0' is already defined
/tmp/cce22iiw.s:448: Error: symbol `exit' is already defined
/tmp/cce22iiw.s:915: Error: symbol `exit_0' is already defined
/tmp/cce22iiw.s:917: Error: symbol `exit' is already defined
(From OE-Core rev: 5fface331c46b809c10b4f3d65904534d6933896)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When multilib is enabled and both udev-hwdb and ${MLPREFIX}udev-hwdb are
installed to image, it fails to run one of their postinstall scripts
that they both call ${base_bindir}/udevadm with same user mode qemu.
Duplicate udevadm and add postinst-intercept update_udev_hwdb to fix the
failures.
(From OE-Core rev: d6b737a31a8842cdc770b05e28503c81a691d10d)
Signed-off-by: Kai Kang <kai.kang@windriver.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)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that we default to latest go recipes
1.9 is not supported anymore
(From OE-Core rev: d48c8148eae41e613448d78c26516538244cd9c9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a new systemd-conf recipe to contain the specific system/machine
configuration items. This new package is now machine specific.
Without doing this trying to create a single system with multiple BSPs,
one of which was qemu based, would result in the systemd -and- everything that
dependend upon systemd to have their hash changed. The hash changing means
lots of rebuilds, but worse if it's a package based system each different
machine ends with a new PR value and a newly generated package.
(From OE-Core rev: d3395418758ed414eee3e95e13d2d8bc5dca88cc)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The removed patches are all upstream.
Adjusted two patches due to rebase.
Guard against __GLIBC_PREREQ for musl libc
(From OE-Core rev: 37841ec56d7756ec9ee00e2a2005681b220f6f5d)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Copying files from the read-only root filesystem to the tmpfs
providing the volatile directories can be slow and waste memory.
If the kernel supports the overlay filesystem, use it to mount
a writable tmpfs on top of the read-only directory from the
rootfs and avoid copies.
Analogous to the modification made to initscripts's
read-only-rootfs-hook in 370fda1b2e8d5dc011522131bba4106de26bfb19.
(From OE-Core rev: b4976f3cf8cd028f165100b67867adb862da4d7f)
Signed-off-by: Matt Hoosier <matt.hoosier@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenSSL supports out-of-tree builds so we should use them. This makes builds
more reliable, and makes it easier to reduce the size of the ptest package.
(From OE-Core rev: e028b4457781f60d8491a99a23011996fa913013)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the ptest installation was simply a copy of the entire build tree,
which is terribly ugly.
Instead copy just the pieces we need, symlink to /usr as appropriate, and add
missing dependencies. Remove PRIVATE_LIBS as we don't ship copies of the
libraries now.
Also remember to do 'set -x' in run-ptest, so if the tests fail the runner
knows!
[ YOCTO #12965 ]
[ YOCTO #12967 ]
(From OE-Core rev: 7831d2d3a1069b9d3a8d32e41f0a292e1add56ba)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The node binary searches for packages in a number of locations, the last
of which is $PREFIX/lib/node (here: /usr/lib/node) from the list of
GLOBAL_FOLDERS [1]. Change the installation directory for all packages
depending on npm.bbclass to that location. This removes the need to
define the NODE_PATH variable to the non-standard /usr/lib/node_modules
value.
While the Tips for Package Managers [2] discusses installing packages to
/usr/lib/node_modules/<name>/<version>, this has several drawbacks:
* it does not work for the REPL as mentioned in the documentation
* it also does not work for any code _not_ installed as a global
package under /usr/lib/node_modules (e.g. /usr/share/foo.js will not
find any packages below /usr/lib)
* using the non-default location and then having to set NODE_PATH
barely saves any time: there are only two file-system lookups (to the
legacy $HOME/.node_modules and $HOME/.node_libraries) directories
before the library would be found
And the suggestion was made in the context of deduping the node_modules
tree by installing all packages in a flat hierarchy and using symlinks
to the correct version of each dependency. This is not what OpenEmbedded
does, so none of those benefits (deduping, cleaner packages) are being
had by shifting the installation directory to /usr/lib/node_modules.
[1]: https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders
[2]: https://nodejs.org/api/modules.html#modules_addenda_package_manager_tips
(From OE-Core rev: 2036137151929b541293154ff529475071cd92b0)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For conditonally applied patches based on SRC_URI overrides, the
devtool-source class would try to create a new branch for each override
assignment as a postfunc to do_patch, but if the same override was used
multiple times, it would try to create the same branch multiple times,
causing errors like
> Exception: bb.process.ExecutionError: Execution of
\ 'git checkout f0f0f0f0f0ff0f0f0f0f0f0f0f0f0f0f0ff0f0f0 -b devtool-override-foo'
\ failed with exit code 128:
> fatal: A branch named 'devtool-override-foo' already exists.
This change makes sure that the devtool-source bbclass will only create
one branch per override.
(From OE-Core rev: 95a921959d340f74b5604df57737c1eeaad0023e)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Reviewed-by: Peter Kjellerstedt <pkj@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fedora28 repackages rpcgen program to rpcgen
package and the program will no longer be
part of the glibc-common package.
fedora 28:
$ rpm -qf /usr/bin/rpcgen
rpcgen-1.3.1-4.fc28.x86_64
fedora 27:
$ rpm -qf /usr/bin/rpcgen
glibc-common-2.26-27.fc27.x86_64
Once build a project on fedora28 host without
installing the extra rpcgen package, there
comes below error:
ERROR: Unable to start bitbake server
ERROR: Last 10 lines of server log for this session (/yocto/builds/upgrade2/bitbake-cookerdaemon.log):
self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
File "/yocto/poky/bitbake/lib/bb/cooker.py", line 197, in __init__
self.initConfigurationData()
File "/yocto/poky/bitbake/lib/bb/cooker.py", line 356, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/yocto/poky/bitbake/lib/bb/cookerdata.py", line 317, in parseBaseConfiguration
raise bb.BBHandledException
bb.BBHandledException
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
rpcgen
So add nativesdk-rpcsvc-proto to provide the
program rpcgen to fix the gap.
(From OE-Core rev: 52fbf46a32f03266e31811fde7d4466e7ef85fc8)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 1.10 recipes in favor of 1.11
we have had reports of 1.10 not being quite
functional wth OE
(From OE-Core rev: 1cf3aee0ba0fb0c2e8b82f403384a1928a9b03f4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix the following CVE.
CVE: CVE-2018-1000802
(From OE-Core rev: c0343f1035af98cb451eea0de94c16fe89ffdf48)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of today there's no port of Valgrind for ARC so disabling it.
(From OE-Core rev: c1a98853f90857a735bacf75ccbdd6f2f7094ccf)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.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)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are also provided by toybox in its default configuration,
and can be turned on in busybox.
(From OE-Core rev: 33c8dc08c9b160a0bb1d71d8b421a99de6e6eeee)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On a builder which has /tmp mounted nexec, the ARM64 generation of
the sycall table will fail:
[snip]
|perf-1.0/tools/perf/arch/arm64/entry/syscalls//mksyscalltbl:
/tmp/create-table-6VGPSt: Permission denied
[snip]
To avoid the permission denied error, we must instruct the perf build
to place temporary files in an appropriate directory (versus always
using /tmp). To do this, we need both a kernel source change to perf,
and a recipe change to pass the temp directory in by a TMPDIR variable.
The linux-yocto has a reference kernel change: [perf arm64: Fix generate
system call table failed with /tmp mounted with noexec], that has also
been submitted upstream mailing list linux-perf-users@vger.kernel.org
(From OE-Core rev: d819e7fa76e2b732aa7c33ab0e9a834781090824)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added specific wildcarding support descriptions for all related
variables and file panthnames.
(From yocto-docs rev: 543e398c4ae1bce38517a88cd91c957a583a2892)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a variable has a _remove applied to it but that variable is in turn
'renamed' through OVERRIDES, the removal gets lost with the current code.
TEST = "foo"
TEST_someval = "bar"
TEST_someval_remove = "bar"
OVERRIDES = "someval"
currently gives "bar" for TEST but should give "".
This fixes the code to track the removal and adds a test case to ensure this
doesn't regress again.
(Bitbake rev: 8f55010c18057be040f073d8bcb4c5c2c311d809)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you try to build a system with multiple BSPs, one of which is qemux86
or qemux86-64, the gstreamer package will change. This will trigger
anything using gstream to also be rebuilt.
For a package based system, the PR values will also be incremented each
time. The end result will be an ever growing set of PR values as well as
being unable to tell which configured version of the multimedia components
are really being deployed.
These therefore belong in the machine configuration.
(From OE-Core rev: 112775995158cf6c504fd6beef345ee446f4f11d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use dhcpd6.conf for DHCP IPv6 and dhpcd.conf for DHCP IPv4.
(From OE-Core rev: 0772ed9acf96c53b05e6ac19e1af78bbb1192a3b)
Signed-off-by: Yi Zhao <yi.zhao@windriver.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)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
toybox by default has a priority of 60, and busybox of 50. Bump kmod's
priority so that it beats both toybox and busybox.
(From OE-Core rev: b17ae3e13dea4b12f1720170237142e04d5ab578)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MPFR has a couple of things implemented in assembly and in case of
ARC those parts were written long ago when ARC GCC port was not yet
upstreamed. On upstreaming of GCC some constraints were changed and
so we can no longer build MPFR for ARC with up-to-date tools seeing
something like that:
| In file included from ../../mpfr-4.0.1/src/mpfr-impl.h:112,
| from ../../mpfr-4.0.1/src/mul.c:24:
| ../../mpfr-4.0.1/src/mul.c: In function 'mpfr_mul':
| ../../mpfr-4.0.1/src/mpfr-longlong.h:415:3: error: impossible constraint in 'asm'
| __asm__ ("add.f\t%1, %4, %5\n\tadc\t%0, %2, %3" \
| ^~~~~~~
(From OE-Core rev: 887a062ca139014ae6dfd1919e0ff9a5ef4db35e)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you try to build a system with multiple BSPs, one of which is qemux86
or qemux86-64, the overall system configuration will change and all of the
graphics packages will end up being rebuilt each time.
For a package based system, the PR values will also be incremented each
time. The end result will be an ever growing set of PR values as well as
being unable to tell which configured version of the graphics components
are really being deployed.
The solution was to always include the virgl gallium driver when an x86
based target is used. This may end up wasting some space, but solves the
hash issue.
(From OE-Core rev: 37e9465b342f6075ce13479dfed59cd2a7cc46ae)
Signed-off-by: Mark Hatle <mark.hatle@windriver.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)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The __pycache__ is created based on python3 version in the build machine
and isn't a garantee to be useful on the system that runs exported tests.
(From OE-Core rev: 405e822e9da4b53ec9ee8019364fdcb13ccc2587)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the situation where the task do_package_write_rpm ends up in
"liblzma: memory allocation failed". This happens if the host
environment has set a limit on virtual_memory for the user with
'ulimit -v' for packages with a lot of binary packages, e.g. glibc-locale.
(From OE-Core rev: a937cff2746073d1dea37d85e7305d8d6705ff28)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If remove() is called with an empty package list, ensure we do nothing instead
of calling the underlying package manager with an invalid command line.
[ YOCTO #12900 ]
(From OE-Core rev: 715ec20c433cb4ed5fde938c33a42b2a296e4e56)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds some basic tests for task checksums to ensure that the
checksums:
* change when variables change
* change when active _remove operators are present
* don't change when the _remove operators are not active
* change when an active contains() expression is present
* dont' change a contains() expression isn't active
There is a lot of other functionality which should be added to this
test but its a start.
(Bitbake rev: 5463c16e3619d324aed137f47f93f0997a227d29)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By creating a standalone function, we can add better functional testing
of this code.
(Bitbake rev: 796a20d24dc18479de1975a37b9e52a5ac75c73f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently remove operations are not being accounted for in the task
checksums. This is a fairly serious oversight and needs to be fixed.
To do so, we need internal data from getVarFlag combined with the
expanded variable data so that only "active" remove operators are
accounted for in the task checksum. We can get this from the new
optional removes attribute in the returned parser object.
The code can then use the data on active remove operators to account
for the removals in task checksum but only when the removal is active.
We have to be careful here not to reference any expanded data since this
may for example contain build paths. This means we can only map back
and reference the unsplit (and hence unexpanded) remove string which may
expand to multiple removal values.
[YOCTO #12913]
(Bitbake rev: 57d2ee17ae83a139a37081eb082e6184fa883581)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The contents of the expand_cache is meant to match the return value of
getVarFlag() but the implementation was mostly in expandWithRefs(). If
an incorrect key was passed to expandWithRefs(), or a variable was only
partially expanded with no remove processing, the cache could become
corrupted.
Move the code to getVarFlag making the data lifecycle very clear, meaning
other calls to expandWithRefs() cannot corrupt the cache.
The expand_cache reset code needs to be moved ahead of any remote data
connectors too, since the expand_cache is now on the local side of the
connection.
(Bitbake rev: a039052f9b680eae53f3f12b7381b945f1d69253)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This brings _remove handling into line with _append/_prepend with regard
to the parsing flag to getVarFlag.
This is an internal flag and the only times this is used is through getVar
during renameVar operations and when processing ?= operations to see if
a variable is set. In either case we don't need to process remove operations.
Therefore take the minor speedup and skip processing for parsing=True.
[YOCTO #10945]
(Bitbake rev: 6d19eb3226b59922c0f888e33b28443635151501)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Calling getVarFlag with flag=None makes no sense, don't do it. Bitbake
used to silently ignore this, it now warns so avoid the warning.
(Bitbake rev: a68de8ace62eaba23856bfb301efbbe1824322aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Contrary to what the manual said, BB_RUNTASK does include the do_
prefix, unlike BB_CURRENTTASK.
(Bitbake rev: 3f4968c77129252e8d0833fbd683372fca243a90)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provide more information in the case the sources are not found in the
unpack step.
(Bitbake rev: 27a2214bf6f2e7c61bfc422a20959a55f7e0d25d)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A user friendly error is throw when neither the clonedir nor
fullshallow exist. Without the check, a difficult to interpret error
is throw from within the fetch command.
(Bitbake rev: 30cf2506007d25162f0805051212f54c39034ff3)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For better readability and future use, we extract the function which
ensures that a given symlink exists.
(Bitbake rev: 5e69ca56533666a097bb23d09ab673e5c862051c)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mapping of the URLs to the local shallow tarballs is not obvious. For
easier understanding, we add this tests to explicitly showing the mapping.
(Bitbake rev: 05f2ac8e19a027d103921b5ae0070db609a83042)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mapping of the URLs to the local tarballs is not obvious. For easier
understanding, we add this tests to explicitly showing the mapping.
(Bitbake rev: c604d9402b4c9ad7eb5c794ab24f2f348d9719a9)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mapping of the URLs to the local directory is not obvious. For easier
understanding, we add this tests to explicitly showing the mapping.
(Bitbake rev: 5f92682389fee437d6df2ff7718c571b7444e179)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some recent changes broke SRCPV and workaround was introduced
to avoid circular dependency if SRCPV is in PV.
However there is still the same error if SRCPV is in PR.
(Bitbake rev: 05ee4845f925b8528a7ce9cffb4bae425b8fa1e9)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Searching in the task explorer requires one to focus the task list. A
readily visible and focused search bar makes searching intuitive.
(Bitbake rev: 43f8a23d56995f552f98a666e86b6cc124e235a4)
Signed-off-by: Tobias Olausson <tol@hms.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the list_obj function, we can't check if the requested object is 'in',
the index data -- as it's actually an attribute of the object. Move to hasattr.
The remaining items were incorrect usages of 'type' for class type comparison.
Instead move to 'isinstance'. Remaing 'type' comparisons are still valid. The
code was also reordered slightly to avoid a lot of:
if not isinstance(x, y):
...
else:
...
reordering it removes the not and makes the code slightly easier to read.
(Bitbake rev: cddea4282820ef10ad4863d87327891ea9383916)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "buildimport.py" script is missing the "import shutil" line,
which causes a project import page failure.
[YOCTO #12959]
(Bitbake rev: 0bfbcc786fd67bd40153160db7fcd41cd9295234)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The version of django in the 2.6 release got bumped to 1.11.14.
The toaster requirements file needs to be updated to accept it.
[YOCTO #12958]
(Bitbake rev: b081b78a330fee30b172c2c8bdc9c196a65be9af)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The distro source path link is missing "conf/distro/", and the
display is using the machine link instead of the distro link.
[YOCTO #12957]
(Bitbake rev: e43ff061b03878057e49c44aa3ee2e4c7a5d5503)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have some slightly odd behaviours with the current implementation of
_remove operations. For example:
TEST = " A B"
TEST_remove = "C"
would trigger TEST to become "A B" even thought it doesn't contain "C".
In particular, this means that an inactive remove operator added in a
bbappend could change the task checksum which is not desireable.
Fix the operation to preserve whitespace, adding new tests to make this
explict and test further corner cases. Also update the manual to match.
(Bitbake rev: c0a23dd9155c50a6b7df796980bc7b612cac7994)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently when a variable is renamed, all the variable history is lost.
This makes it hard for users to understand/debug where values came from.
Improve the code so that history is preserved across renamed variables.
(Expanded variable key names are a special case of variable renaming)
(Bitbake rev: 11722c989077a8751a5d0653c523760bf91e6efa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: systemtap-4.0-r0 do_package: QA Issue: systemtap:
Files/directories were installed but not shipped in any package:
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/stap-exporter.service
Please set FILES such that these items are packaged. Alternatively if
they are unneeded, avoid installing them or delete them within
do_install.
systemtap: 4 installed and not shipped files. [installed-vs-shipped]
(From OE-Core rev: d31212bcfe9232e7f6ac9efb4fad0be175a9ca00)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg has supported the --add-exclude option to install since 0.3.0, so use it to
implement support for PACKAGE_EXCLUDE.
(From OE-Core rev: 6cc99d48c57cb22104980d0d758540e06cb7b80d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Static libraries are not included in rootfs, it means, that sources are
not going into debug rootfs. This option enables to install additional
packages even if the standard package is not installed.
(From OE-Core rev: 708fe1df3d3e22dd693ae7bbfdd3e5af1a1b0bdc)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The alternative setting for switch_root belongs to the util-linux-switch-root
package instead of the util-linux package. Fix this problem to avoid
a dangling symlink:
/usr/bin/switch_root-> /usr/bin/switch_root.util-linux
on target and in the sdk.
(From OE-Core rev: b8366a7057da8b880ca36c38999ef658594f4fde)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.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)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
e7d199e92956 Linux 4.18.14
91da9ba7bbbd ath10k: fix scan crash due to incorrect length calculation
7903dacfc64e rds: rds_ib_recv_alloc_cache() should call alloc_percpu_gfp() instead
ef37df3b8284 ubifs: Check for name being NULL while mounting
09fbdca26741 ucma: fix a use-after-free in ucma_resolve_ip()
9753a6f7497d tipc: call start and done ops directly in __tipc_nl_compat_dumpit()
4a04224bbd1a f2fs: fix invalid memory access
50231468deda ARC: clone syscall to setp r25 as thread pointer
f4a856d4ca30 powerpc/lib: fix book3s/32 boot failure due to code patching
2025ef74e8c4 powerpc: Avoid code patching freed init sections
e4f71e6ae0cb of: unittest: Disable interrupt node tests for old world MAC systems
a09a553b1693 tty: Drop tty->count on tty_reopen() failure
274a367121ae usb: cdc_acm: Do not leak URB buffers
6f0a2f6649b7 USB: serial: option: add two-endpoints device-id flag
0fcb2fb9731a USB: serial: option: improve Quectel EP06 detection
883f14f7302a USB: serial: simple: add Motorola Tetra MTP6550 id
7cea0a2e8c59 usb: xhci-mtk: resume USB3 roothub first
67c8b9c6c59c xhci: Add missing CAS workaround for Intel Sunrise Point xHCI
226c5c8a540a dm cache: fix resize crash if user doesn't reload cache table
f10b1cdb6190 dm cache metadata: ignore hints array being too small during resize
75e4e2fae0fe dm mpath: fix attached_handler_name leak and dangling hw_handler_name pointer
a92f4488357e PM / core: Clear the direct_complete flag on errors
3561037582ae mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys
e9d0ba506ea8 PCI: Reprogram bridge prefetch registers on resume
db68b064bb73 x86/vdso: Fix vDSO syscall fallback asm constraint regression
54f54a2b7fb3 x86/vdso: Only enable vDSO retpolines when enabled and supported
1af2998c34e1 selftests/x86: Add clock_gettime() tests to test_vdso
e7e1889390a4 x86/vdso: Fix asm constraints on vDSO syscall fallbacks
7ac2c7dcc1a0 drm: fix use-after-free read in drm_mode_create_lease_ioctl()
a2cef7d049f0 drm/syncobj: Don't leak fences when WAIT_FOR_SUBMIT is set
3361789e57ec drm/amdgpu: Fix vce work queue was not cancelled when suspend
b67f9b6ab232 mac80211: allocate TXQs for active monitor interfaces
6b1adad3348a mmc: slot-gpio: Fix debounce time to use miliseconds again
7cf3272144b9 mmc: core: Fix debounce time to use microseconds
7e62c2fbc1fe xen-netback: fix input validation in xenvif_set_hash_mapping()
9b01f16ed9b9 fbdev/omapfb: fix omapfb_memory_read infoleak
771df4eea402 clocksource/drivers/timer-atmel-pit: Properly handle error cases
45a156123ce4 pstore/ram: Fix failure-path memory leak in ramoops_init
b82610b5bad9 blk-mq: I/O and timer unplugs are inverted in blktrace
fe65bf7b541f KVM: VMX: check for existence of secondary exec controls before accessing
fe7790c37cf1 KVM: x86: fix L1TF's MMIO GFN calculation
7d7e3202b7ef mm/vmstat.c: skip NR_TLB_REMOTE_FLUSH* properly
6b9c2cc710f5 mm, thp: fix mlocking THP page with migration enabled
0af5b07d2e62 mm: migration: fix migration of huge PMD shared pages
f5a6974616b4 perf/core: Add sanity check to deal with pinned event failure
04a3fbba60ae Linux 4.18.13
d9ef158adf04 Revert "drm/amd/pp: Send khz clock values to DC for smu7/8"
aad46f77ece0 dm thin metadata: fix __udivdi3 undefined on 32-bit
5319425024ab ixgbe: check return value of napi_complete_done()
2083ef10dedd HID: i2c-hid: disable runtime PM operations on hantick touchpad
f52ab5277368 ocfs2: fix locking for res->tracking and dlm->tracking_list
2b89f7ad519d proc: restrict kernel stack dumps to root
6a2cfcdd7b6e tools: hv: fcopy: set 'error' in case an unknown operation was requested
549498802024 Drivers: hv: vmbus: Use get/put_cpu() in vmbus_connect()
116337deb270 gpiolib: Free the last requested descriptor
277f800a2186 crypto: caam/jr - fix ablkcipher_edesc pointer arithmetic
b6479a45bd29 crypto: mxs-dcp - Fix wait logic on chan threads
27dff727876e crypto: chelsio - Fix memory corruption in DMA Mapped buffers.
18b4a538497d crypto: qat - Fix KASAN stack-out-of-bounds bug in adf_probe()
23b043d513e3 ALSA: hda/realtek - Cannot adjust speaker's volume on Dell XPS 27 7760
6abd14f40148 iommu/amd: Clear memory encryption mask from physical address
8cdcd02d9985 smb2: fix missing files in root share directory listing
17e5fb7f93f8 cpufreq: qcom-kryo: Fix section annotations
5105f039ef26 firmware: Always initialize the fw_priv list object
aa26105b73b0 firmware: Fix security issue with request_firmware_into_buf()
8b84e8d275d8 b43: fix DMA error related regression with proprietary firmware
23917913b671 sysfs: Do not return POSIX ACL xattrs via listxattr
51da3fc5cbce ovl: fix format of setxattr debug
1c7949a5f637 ovl: fix memory leak on unlink of indexed file
c33def1bb3aa ovl: fix access beyond unterminated strings
a6aa74c2ad61 ovl: set I_CREATING on inode being created
90f06e1b81b9 vfs: don't evict uninitialized inode
d08d1bb535f4 new primitive: discard_new_inode()
87a50a5e94e3 x86/APM: Fix build warning when PROC_FS is not enabled
dd618fe2ffa1 xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage
b207598b0abe xen: avoid crash in disable_hotplug_cpu
58d77fd26f83 xen/manage: don't complain about an empty value in control/sysrq node
20d06facfd2f asm-generic: io: Fix ioport_map() for !CONFIG_GENERIC_IOMAP && CONFIG_INDIRECT_PIO
80e4d9a51376 cifs: read overflow in is_valid_oplock_break()
e8dcd7866638 s390/qeth: don't dump past end of unknown HW header
31ae67ad9ed6 s390/qeth: use vzalloc for QUERY OAT buffer
d3a7c76eb490 r8169: Clear RTL_FLAG_TASK_*_PENDING when clearing RTL_FLAG_TASK_ENABLED
5113d730a1ee drm/amdgpu: fix error handling in amdgpu_cs_user_fence_chunk
e76f7b7df846 arm64: jump_label.h: use asm_volatile_goto macro instead of "asm goto"
ed14acd316ba drm/amdgpu: Fix SDMA hang in prt mode v2
7389051d3c63 hexagon: modify ffs() and fls() to return int
cbbb852e4556 arch/hexagon: fix kernel/dma.c build warning
41b2bc509cda netfilter: xt_hashlimit: use s->file instead of s->private
419033c32a82 netfilter: nfnetlink_queue: Solve the NFQUEUE/conntrack clash for NF_REPEAT
e63d53f2835d dm thin metadata: try to avoid ever aborting transactions
7c995133d035 sched/topology: Set correct NUMA topology type
52017328fa15 perf/x86/intel: Add support/quirk for the MISPREDICT bit on Knights Landing CPUs
1080c0f57e00 net: ena: fix missing calls to READ_ONCE
968759747e95 net: ena: fix missing lock during device destruction
cfa70f3c46f1 net: ena: fix potential double ena_destroy_device()
023ae1b4c025 net: ena: fix device destruction to gracefully free resources
3953e192748f net: ena: fix driver when PAGE_SIZE == 64kB
0728c271d518 net: ena: fix surprise unplug NULL dereference kernel crash
3a035b70eb92 fs/cifs: suppress a string overflow warning
07d1b1058aea r8169: set TxConfig register after TX / RX is enabled, just like RxConfig
8a100be2813a dm raid: fix RAID leg rebuild errors
659cd50c8ace dm raid: fix rebuild of specific devices by updating superblock
895fe22aa4d6 dm raid: fix stripe adding reshape deadlock
00063fa09bc1 drm/nouveau/disp/gm200-: enforce identity-mapped SOR assignment for LVDS/eDP panels
6978b0eb61c0 drm/nouveau/disp: fix DP disable race
c65768326592 drm/nouveau/TBDdevinit: don't fail when PMU/PRE_OS is missing from VBIOS
e4a75379e8eb drm/nouveau/mmu: don't attempt to dereference vmm without valid instance pointer
5f0e9912e82c drm/nouveau: fix oops in client init failure path
d097790cec56 dm raid: fix reshape race on small devices
816f7c26eee3 HID: i2c-hid: Don't reset device upon system resume
bfe18751bf8a net/mlx5: Consider PCI domain in search for next dev
3029f6d6608d bnxt_re: Fix couple of memory leaks that could lead to IOMMU call traces
80b6e9d53846 nvmet-rdma: fix possible bogus dereference under heavy load
1d44f7f5bc07 USB: yurex: Check for truncation in yurex_read()
e6ecfa261ae6 usb: host: xhci-plat: Iterate over parent nodes for finding quirks
3f97eca3c822 HID: sensor-hub: Restore fixup for Lenovo ThinkPad Helix 2 sensor hub report
027f315487ef riscv: Do not overwrite initrd_start and initrd_end
59db47dd566b RDMA/ucma: check fd type in ucma_migrate_id()
d77c7de489ff iio: imu: st_lsm6dsx: take into account ts samples in wm configuration
86716fd6b985 Revert "iio: temperature: maxim_thermocouple: add MAX31856 part"
c296c887f743 netfilter: nf_tables: release chain in flushing set
7e8fc7dcb4d6 netfilter: kconfig: nat related expression depend on nftables core
c3501b899ff9 perf annotate: Fix parsing aarch64 branch instructions after objdump update
3cc1b441a4b9 perf probe powerpc: Ignore SyS symbols irrespective of endianness
6f8073072f7b perf util: Fix bad memory access in trace info.
56b4732271c7 perf evsel: Fix potential null pointer dereference in perf_evsel__new_idx()
4ac14f4b3179 perf annotate: Properly interpret indirect call
dbd0ea4cfa2a scsi: qedi: Add the CRC size within iSCSI NVM image
319949c5e4a8 scsi: iscsi: target: Fix conn_ops double free
27fbee89e119 scsi: iscsi: target: Set conn->sess to NULL when iscsi_login_set_conn_values fails
820c01bcca82 HID: hid-saitek: Add device ID for RAT 7 Contagion
3f2822e4dadd usb: gadget: fotg210-udc: Fix memory leak of fotg210->ep[i]
386562cba8c2 HID: add support for Apple Magic Keyboards
11c069b7eb84 HID: intel-ish-hid: Enable Sunrise Point-H ish driver
3403eaa94cfc netfilter: xt_checksum: ignore gso skbs
1d569211070e netfilter: xt_cluster: add dependency on conntrack module
11b165210c72 bpf: 32-bit RSH verification must truncate input before the ALU op
f69ad066fb2b mm: madvise(MADV_DODUMP): allow hugetlbfs pages
53df63ddc599 afs: Fix cell specification to permit an empty address list
784ce43a54fa firmware: arm_scmi: fix divide by zero when sustained_perf_level is zero
131a6926fa4d ceph: avoid a use-after-free in ceph_destroy_options()
e5f09c519ea0 nds32: linker script: GCOV kernel may refers data in __exit
20107ca73afe tools/vm/page-types.c: fix "defined but not used" warning
9f62a57c6670 tools/vm/slabinfo.c: fix sign-compare warning
8474b701d459 nds32: fix build error because of wrong semicolon
392a9a4a1c1e nds32: Fix get_user/put_user macro expand pointer problem
447ec6add595 nds32: Fix empty call trace
76d9688fbebb nds32: add NULL entry to the end of_device_id array
2b847f91abb8 nds32: fix logic for module
5bdcac88df0b net/ibm/emac: wrong emac_calc_base call was used by typo
a06e07ce6f61 fsnotify: fix ignore mask logic in fsnotify()
5ce55b0915e7 mac80211: shorten the IBSS debug messages
3bcf74fdbd50 mac80211: don't Tx a deauth frame if the AP forbade Tx
7cd6df93a292 mac80211: Fix station bandwidth setting after channel switch
07715e528d18 mac80211: fix a race between restart and CSA flows
040695971ce1 mac80211: fix WMM TXOP calculation
71f1b196fb29 cfg80211: fix a type issue in ieee80211_chandef_to_operating_class()
39bcc4406f83 mac80211: fix an off-by-one issue in A-MSDU max_subframe computation
05166cf09a6e fs/cifs: don't translate SFM_SLASH (U+F026) to backslash
43160392b3eb net: cadence: Fix a sleep-in-atomic-context bug in macb_halt_tx()
26c9b6f0c196 i2c: uniphier-f: issue STOP only for last message or I2C_M_STOP
182ae0d8643f i2c: uniphier: issue STOP only for last message or I2C_M_STOP
abb518640aaf bpf: avoid misuse of psock when TCP_ULP_BPF collides with another ULP
23fa01c0fcb5 bpf: Fix bpf_msg_pull_data()
7e2069153a58 ibmvnic: Include missing return code checks in reset function
005caa1288d9 selftests: pmtu: detect correct binary to ping ipv6 addresses
ec0029c2aca1 selftests: pmtu: maximum MTU for vti4 is 2^16-1-20
d65d1dd8be05 RAID10 BUG_ON in raise_barrier when force is true and conf->barrier is 0
34ff707ac863 md/raid5-cache: disable reshape completely
561deb108ca4 Revert "blk-throttle: fix race between blkcg_bio_issue_check() and cgroup_rmdir()"
8dbbc215f2ba ARC: atomics: unbork atomic_fetch_##op()
29c9e7e73dda gpio: Fix crash due to registration race
e8f38e4e2216 tools/kvm_stat: fix updates for dead guests
52ff1e423ec9 tools/kvm_stat: fix handling of invalid paths in debugfs provider
a9ffbadacc94 tools/kvm_stat: fix python3 issues
58ec0839af0d mac80211: always account for A-MSDU header changes
511edc415c6c mac80211: do not convert to A-MSDU if frag/subframe limited
6f01b1a3c4ad cfg80211: nl80211_update_ft_ies() to validate NL80211_ATTR_IE
aadc5d1ee02d tc-testing: add test-cases for numeric and invalid control action
468bcedcd850 net: mvpp2: initialize port of_node pointer
4abef73b0770 sh_eth: Add R7S9210 support
4440af5a7e45 net: hns: add netif_carrier_off before change speed and duplex
f97a366fdbad net: hns: add the code for cleaning pkt in chip
7d3acb1372f6 tipc: switch to rhashtable iterator
cf09d1f5a507 bpf: fix sg shift repair start offset in bpf_msg_pull_data
89826ce1bbca bpf: fix shift upon scatterlist ring wrap-around in bpf_msg_pull_data
0920815e24f0 bpf: fix msg->data/data_end after sg shift repair in bpf_msg_pull_data
34930327c610 gpio: dwapb: Fix error handling in dwapb_gpio_probe()
6c5cdd4730b1 gpiolib-acpi: Register GpioInt ACPI event handlers from a late_initcall
13db4478a11e gpiolib: acpi: Switch to cansleep version of GPIO library call
06a62b7a0c5e mac80211: avoid kernel panic when building AMSDU from non-linear SKB
d935ea54dbd8 mac80211: mesh: fix HWMP sequence numbering to follow standard
a1f9ac32509a gpio: adp5588: Fix sleep-in-atomic-context bug
3f84a6c18fce bpf: fix several offset tests in bpf_msg_pull_data
bd266daa9fe1 nl80211: Pass center frequency in kHz instead of MHz
5955b8ec20d7 nl80211: Fix nla_put_u8 to u16 for NL80211_WMMR_TXOP
03950ebc945c mac80211_hwsim: Fix possible Spectre-v1 for hwsim_world_regdom_custom
bfcb6097e5f3 cfg80211: make wmm_rule part of the reg_rule structure
9df4febf5e91 mac80211_hwsim: correct use of IEEE80211_VHT_CAP_RXSTBC_X
3d0d794ca9ef mac80211: correct use of IEEE80211_VHT_CAP_RXSTBC_X
36de3d48270d bpf: sockmap, decrement copied count correctly in redirect error case
7feb1f2b5d8d bpf, sockmap: fix psock refcount leak in bpf_tcp_recvmsg
427e7707d932 bpf, sockmap: fix potential use after free in bpf_tcp_close
0dcf1bcde827 scsi: aacraid: fix a signedness bug
c08d2054307f scsi: libata: Add missing newline at end of file
4f3e708120f3 scsi: csiostor: fix incorrect port capabilities
74a301701659 scsi: csiostor: add a check for NULL pointer after kmalloc()
c31c8008c757 btrfs: btrfs_shrink_device should call commit transaction at the end
0d6ba1ecba26 cfg80211: remove division by size of sizeof(struct ieee80211_wmm_rule)
1f0f925f98b4 KVM: PPC: Book3S HV: Don't truncate HPTE index in xlate function
9e07d06651bc Btrfs: fix unexpected failure of nocow buffered writes after snapshotting when low on space
32c7667fbcbd mac80211_hwsim: require at least one channel
2466b26094bc mac80211: Run TXQ teardown code before de-registering interfaces
3964f22686a6 rseq/selftests: fix parametrized test with -fpie
7da07a3216a0 Linux 4.18.12
c483061d4610 media: v4l: event: Prevent freeing event subscriptions while accessed
926415e1e4c9 arm64: KVM: Sanitize PSTATE.M when being set from userspace
5fddc4cd7aec powerpc/pseries: Fix unitialized timer reset on migration
7f3a5baeacdf powerpc/pkeys: Fix reading of ibm, processor-storage-keys property
4faeadc4f7b5 powerpc: fix csum_ipv6_magic() on little endian platforms
31d2bff9f696 KVM: PPC: Book3S HV: Fix guest r11 corruption with POWER9 TM workarounds
8379aa480e95 x86/pti: Fix section mismatch warning/error
0f40f4a21a10 clk: x86: Set default parent to 48Mhz
d948acce9a0c i2c: i801: Allow ACPI AML access I/O ports not reserved for SMBus
31b5f66e90b2 arm/arm64: smccc-1.1: Handle function result as parameters
c1baf3699d84 arm/arm64: smccc-1.1: Make return values unsigned long
8ad1f551f802 drm/amdgpu: Need to set moved to true when evict bo
68327465ccdb ARM: dts: omap4-droid4: Fix emmc errors seen on some devices
b32e647a8375 nvme-fcloop: Fix dropped LS's to removed target port
22670e847f7c ata: ftide010: Add a quirk for SQ201
65c96da9c684 drm/amdgpu: Update power state at the end of smu hw_init.
21a73b809735 drm/amdgpu: Enable/disable gfx PG feature in rlc safe mode
4adf34c33950 Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping"
78dabdae8108 hwmon: (adt7475) Make adt7475_read_word() return errors
e41ea7c77cb2 hwmon: (ina2xx) fix sysfs shunt resistor read access
aada57693e81 crypto: cavium/nitrox - fix for command corruption in queue full case with backlog submissions.
19f2fedf4f43 crypto: chtls - fix null dereference chtls_free_uld()
ff53d5051675 i40e: fix condition of WARN_ONCE for stat strings
be97150c4a54 i40e: Fix for Tx timeouts when interface is brought up if DCB is enabled
4ef71783033a ixgbe: fix driver behaviour after issuing VFLR
3e8566205e04 e1000: ensure to free old tx/rx rings in set_ringparam()
f9b0af8f9ad5 e1000: check on netif_running() before calling e1000_up()
1ca43c80d80f ice: Fix potential return of uninitialized value
0753c86efc6c ice: Fix a few null pointer dereference issues
939817cd00d2 tools: bpftool: return from do_event_pipe() on bad arguments
1dec7a1e6a54 ice: Set VLAN flags correctly
1c83a5aa0f26 ice: Use order_base_2 to calculate higher power of 2
1dd0b6ce76ee ice: Fix bugs in control queue processing
9289b179fc4e ice: Clean control queues only when they are initialized
32d99e3e63c7 ice: Report stats for allocated queues via ethtool stats
c0f20df3b1fc ice: Fix multiple static analyser warnings
1801431dc7aa net: hns3: fix page_offset overflow when CONFIG_ARM64_64K_PAGES
374eb417162b net: hns: fix skb->truesize underestimation
2d4a79238686 net: hns: fix length and page_offset overflow when CONFIG_ARM64_64K_PAGES
d96820d46bc3 tcp_bbr: in restart from idle, see if we should exit PROBE_RTT
e5e63d2bb9b2 tcp_bbr: add bbr_check_probe_rtt_done() helper
a66193f585eb net/ncsi: Fixup .dumpit message flags and ID check in Netlink handler
9d028c09d1cf amdgpu: fix multi-process hang issue
8824ceb2580c drm/amdgpu: fix preamble handling
8483f3b7f424 drm/amdgpu: fix VM clearing for the root PD
a5c7547b45b4 bpf: sockmap: write_space events need to be passed to TCP handler
9c3d97879505 tls: possible hang when do_tcp_sendpages hits sndbuf is full case
a0be77d6d940 bpf, sockmap: fix sock hash count in alloc_sock_hash_elem
efed642bc585 bpf, sockmap: fix sock_hash_alloc and reject zero-sized keys
0a9fd2a9875b ARM: dts: omap4-droid4: fix vibrations on Droid 4
f7468a7160e1 bus: ti-sysc: Fix no_console_suspend handling
b8f4b96768c0 mmc: android-goldfish: fix bad logic of sg_copy_{from,to}_buffer conversion
d02aee5cf4ea mmc: atmel-mci: fix bad logic of sg_copy_{from,to}_buffer conversion
1a7a1ad290d4 isofs: reject hardware sector size > 2048 bytes
2da832f43da5 thermal: of-thermal: disable passive polling when thermal zone is disabled
6a3f378b7614 qed: Avoid sending mailbox commands when MFW is not responsive
c36724c64780 qed: Prevent a possible deadlock during driver load and unload
1e85fc417c11 qed: Wait for MCP halt and resume commands to take place
c91ab927a8b7 qed: Wait for ready indication before rereading the shmem
67eb28b0f832 bus: ti-sysc: Fix module register ioremap for larger offsets
3609bd6105c1 ARM: OMAP2+: Fix module address for modules using mpu_rt_idx
1fcd5e01d26e ARM: OMAP2+: Fix null hwmod for ti-sysc debug
4435064439c6 arm64: KVM: Tighten guest core register access from userspace
12a7e915c506 RDMA/uverbs: Atomically flush and mark closed the comp event queue
cbbb9f08566e ACPI / hotplug / PCI: Don't scan for non-hotplug bridges if slot is not bridge
0c7898792c9a IB/hfi1: Fix destroy_qp hang after a link down
b34ba9e02408 IB/hfi1: Fix context recovery when PBC has an UnsupportedVL
bcc5f9f5e11e IB/hfi1: Invalid user input can result in crash
2cced23e5483 IB/hfi1: Fix SL array bounds check
fa22f4874e94 IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop
ebc51114fa51 Input: elantech - enable middle button of touchpad on ThinkPad P72
f44f3d0a9e9f filesystem-dax: Fix use of zero page
7ebfc8f69a37 ext2, dax: set ext2_dax_aops for dax files
2436ce1bad9e uaccess: Fix is_source param for check_copy_size() in copy_to_iter_mcsafe()
dc38ebde8a52 USB: remove LPM management from usb_driver_claim_interface()
de425c9ae7bf Revert "usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()"
8badb9b1af73 USB: usbdevfs: restore warning for nonsensical flags
b5376ef73d33 USB: usbdevfs: sanitize flags more
8e2842a2e175 usb: musb: dsps: do not disable CPPI41 irq in driver teardown
608677656ac2 usb: core: safely deal with the dynamic quirk lists
7b169e33a3bc usb: roles: Take care of driver module reference counting
95b273c4038c USB: handle NULL config in usb_find_alt_setting()
f3a6a40b3793 USB: fix error handling in usb_driver_claim_interface()
2c2860d0e876 regulator: Fix 'do-nothing' value for regulators without suspend state
ad023c0c3613 regulator: fix crash caused by null driver data
bc9f63756ac8 spi: rspi: Fix interrupted DMA transfers
f9ca5597ab70 spi: rspi: Fix invalid SPI use during system suspend
2469b01fa514 spi: sh-msiof: Fix handling of write value for SISTR register
38274415d118 spi: sh-msiof: Fix invalid SPI use during system suspend
a2b928011352 spi: tegra20-slink: explicitly enable/disable clock
825e12a2ed63 intel_th: Fix resource handling for ACPI glue layer
c3b92e93b23a intel_th: Fix device removal logic
98e1a83c338e serial: cpm_uart: return immediately from console poll
e91bf9073b44 serial: mvebu-uart: Fix reporting of effective CSIZE to userspace
5d554763aaac serial: imx: restore handshaking irq for imx1
98ecfdf49ff7 tty: serial: lpuart: avoid leaking struct tty_struct
fdbbdfeeb699 x86/mm: Expand static page table for fixmap space
41a770d90b88 block: fix deadline elevator drain for zoned block devices
0051646c2cc2 floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl
acee207b7cc9 gpio: tegra: Fix tegra_gpio_irq_set_type()
dbb2a1e3bb37 perf tests: Fix indexing when invoking subtests
6b07342e2596 drm/vc4: plane: Expand the lower bits by repeating the higher bits
c94ce4bf1aff ARM: dts: dra7: fix DCAN node addresses
e80225d36dca drm/vc4: Add missing formats to vc4_format_mod_supported().
70b914929ad7 iio: 104-quad-8: Fix off-by-one error in register selection
b6b75c81c31a Input: xen-kbdfront - fix multi-touch XenStore node's locations
31a92226a5d5 ath10k: fix memory leak of tpc_stats
5f2391032c06 fs/lock: skip lock owner pid translation in case we are in init_pid_ns
00b438869cbe ath10k: snoc: use correct bus-specific pointer in RX retry
06c21f7423e7 ath10k: fix incorrect size of dma_free_coherent in ath10k_ce_alloc_src_ring_64
10db0e22fb8c staging: pi433: fix race condition in pi433_ioctl
fff64d9fb381 EDAC, altera: Fix an error handling path in altr_s10_sdram_probe()
0855e6e1ac14 EDAC: Fix memleak in module init error path
6e67b33dbe43 nfsd: fix corrupted reply to badly ordered compound
af4b12c54b3b gpio: Fix wrong rounding in gpio-menz127
8463cd689be0 module: exclude SHN_UNDEF symbols from kallsyms api
163ac07ff0b2 ASoC: dapm: Fix potential DAI widget pointer deref when linking DAIs
2edaabf0e58d EDAC, i7core: Fix memleaks and use-after-free on probe and remove
1e4b176959fb ASoC: rsnd: SSI parent cares SWSP bit
8d07efbdf84f ASoC: rt1305: Use ULL suffixes for 64-bit constants
3e28a96b87f6 ASoC: Intel: bytcr_rt5640: Fix Acer Iconia 8 over-current detect threshold
ebce61bb2c86 scsi: megaraid_sas: Update controller info during resume
b38977a36625 spi: orion: fix CS GPIO handling again
d731684c4496 scsi: hisi_sas: Fix the conflict between dev gone and host reset
2f7b94ebaa19 iomap: complete partial direct I/O writes synchronously
939dd916dc25 scsi: bnx2i: add error handling for ioremap_nocache
074e4687846e perf/x86/intel/lbr: Fix incomplete LBR call stack
09468e65ec7d drm/v3d: Take a lock across GPU scheduler job creation and queuing.
dbdef3dff35b arm64: dts: renesas: Fix VSPD registers range
56984081650a MIPS: boot: fix build rule of vmlinux.its.S
d0f7fbdb1cf9 HID: i2c-hid: Use devm to allocate i2c_hid struct
46066a10dd7a HID: hid-ntrig: add error handling for sysfs_create_group
d79cdff57285 arm: dts: mediatek: Add missing cooling device properties for CPUs
65470af8b10d perf/hw_breakpoint: Split attribute parse and commit
7f22023170f7 Documentation/process: fix reST table border error
53b56e401d93 RDMA/uverbs: Don't overwrite NULL pointer with ZERO_SIZE_PTR
1da59841eea9 ARM: mvebu: declare asm symbols as character arrays in pmsu.c
3fc862c26744 drm/omap: gem: Fix mm_list locking
f7867f358bfe wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()
13c4f14d8cf2 bitfield: fix *_encode_bits()
1ae0268dc54e brcmsmac: fix wrap around in conversion from constant to s16
af1c6a743c98 rndis_wlan: potential buffer overflow in rndis_wlan_auth_indication()
35ba78548948 mt76x2: fix mrr idx/count estimation in mt76x2_mac_fill_tx_status()
882791abd11d ath10k: transmit queued frames after processing rx packets
9f81b08ad8ea drm/sun4i: Fix releasing node when enumerating enpoints
900812a0d318 net: phy: xgmiitorgmii: Check phy_driver ready before accessing
d0a4b7b3792f drm/sun4i: Enable DW HDMI PHY clock
c247a4bf53b6 ath10k: protect ath10k_htt_rx_ring_free with rx_ring.lock
fcd12823cd57 net: phy: xgmiitorgmii: Check read_status results
6cdfe3ed6c9d ALSA: hda: Add AZX_DCAPS_PM_RUNTIME for AMD Raven Ridge
3dc220c5253e ASoC: qdsp6: qdafe: fix some off by one bugs
49fc6188cdb6 media: tm6000: add error handling for dvb_register_adapter
6c695a374b0b staging: mt7621-dts: Fix remaining pcie warnings
7a887d2a1f91 serial: pxa: Fix an error handling path in 'serial_pxa_probe()'
e8db58e3d80b arm64: dts: renesas: salvator-common: Fix adv7482 decimal unit addresses
e65f712ea936 drivers/tty: add error handling for pcmcia_loop_config
5208cebb4ca3 staging: mt7621-eth: Fix memory leak in mtk_add_mac() error path
6cbaed5c50ac media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING
47da213433ae staging: android: ashmem: Fix mmap size validation
20d705e92eb7 media: ov772x: add checks for register read errors
eab10433598a media: omap3isp: zero-initialize the isp cam_xclk{a,b} initial data
870878d2c941 media: soc_camera: ov772x: correct setting of banding filter
39a372355b5a media: s3c-camif: ignore -ENOIOCTLCMD from v4l2_subdev_call for s_power
8086828bed84 ath10k: use locked skb_dequeue for rx completions
11750fe66e26 selftests: forwarding: Tweak tc filters for mirror-to-gretap tests
a4c7557bc547 ALSA: snd-aoa: add of_node_put() in error path
5f6b9cd5c5f2 posix-timers: Sanitize overrun handling
c0d08296a291 posix-timers: Make forward callback return s64
90f955af43fe iio: accel: adxl345: convert address field usage in iio_chan_spec
f1915d5162a9 mtd: rawnand: atmel: add module param to avoid using dma
ff9ac7d9bdda s390/extmem: fix gcc 8 stringop-overflow warning
6143a4525c3e s390/scm_blk: correct numa_node in scm_blk_dev_setup
0c6df6d17ab4 s390/dasd: correct numa_node in dasd_alloc_queue
04937aaaf8c7 alarmtimer: Prevent overflow for relative nanosleep
4add6942e51e s390/sysinfo: add missing #ifdef CONFIG_PROC_FS
ab0fd80d8747 ACPI / button: increment wakeup count only when notified
f2514c04f556 platform/x86: asus-wireless: Fix uninitialized symbol usage
677b34aa38ed powerpc/powernv/ioda2: Reduce upper limit for DMA window size
ee1df10ae020 ath10k: sdio: set skb len for all rx packets
bd9b4e606902 ath10k: sdio: use same endpoint id for all packets in a bundle
420c37a784a7 usb: wusbcore: security: cast sizeof to int for comparison
90c00dd1798d scsi: target: Avoid that EXTENDED COPY commands trigger lock inversion
d08b7218cea0 scsi: ibmvscsi: Improve strings handling
7369c88b59a9 scsi: klist: Make it safe to use klists in atomic context
9d6b653c0509 thermal: i.MX: Allow thermal probe to fail gracefully in case of bad calibration.
92e96ad168ea scsi: target/iscsi: Make iscsit_ta_authentication() respect the output buffer size
6cf7be0267f7 ARM: dts: ls1021a: Add missing cooling device properties for CPUs
f0c6c6ec02a1 x86/entry/64: Add two more instruction suffixes
06f91031931a ARM: hwmod: RTC: Don't assume lock/unlock will be called with irq enabled
11a88b9218e7 x86/tsc: Add missing header to tsc_msr.c
2bffdc28ee60 include/rdma/opa_addr.h: Fix an endianness issue
b40f2ec52bf5 IB/mlx5: Fix GRE flow specification
c26fc717b13b media: staging/imx: fill vb2_v4l2_buffer field entry
0bd77cd5c2da vhost_net: Avoid tx vring kicks during busyloop
af58a41db9cc media: fsl-viu: fix error handling in viu_of_probe()
ec0e373a6214 powerpc/kdump: Handle crashkernel memory reservation failure
4fd56423854c IB/mlx4: Test port number before querying type.
76e2bf1d322a media: exynos4-is: Prevent NULL pointer dereference in __isp_video_try_fmt()
203ae10a4713 IB/core: type promotion bug in rdma_rw_init_one_mr()
16fc25226707 RDMA/bnxt_re: Fix a bunch of off by one bugs in qplib_fp.c
6a4d21a7664b RDMA/i40w: Hold read semaphore while looking after VMA
5ae7031fea6a RDMA/bnxt_re: Fix a couple off by one bugs
be853349a4a9 cxgb4: Fix the condition to check if the card is T5
69b921bdab4b md-cluster: clear another node's suspend_area after the copy is finished
dd5ac3dcb22e drm/amd/display: fix use of uninitialized memory
e21238f1be65 drm/amd/display/dc/dce: Fix multiple potential integer overflows
9fa1c8f4b9b2 power: remove possible deadlock when unregistering power_supply
ff8aa171ef8c s390/mm: correct allocate_pgste proc_handler callback
596ee3e366eb iommu/msm: Don't call iommu_device_{,un}link from atomic context
c4ea4d6928bd 6lowpan: iphc: reset mac_header after decompress to fix panic
d3f86dceb54c USB: serial: kobil_sct: fix modem-status error handling
41086956a32b Bluetooth: Add a new Realtek 8723DE ID 0bda:b009
9032c7d6d57f iommu/amd: make sure TLB to be flushed before IOVA freed
8ae46971d69e power: vexpress: fix corruption in notifier registration
3c8527e5a6e4 uwb: hwa-rc: fix memory leak at probe
cb39b07bf5f9 serial: sh-sci: Stop RX FIFO timer during port shutdown
741b2c3b62cf misc: sram: enable clock before registering regions
919618d23234 power: supply: axp288_charger: Fix initial constant_charge_current value
df09a796560a staging: rts5208: fix missing error check on call to rtsx_write_register
e3deb9b3c252 x86/numa_emulation: Fix emulated-to-physical node mapping
bb2ca3d777d9 net: hns3: Fix get_vector ops in hclgevf_main module
6739fc895c80 net: hns3: Fix warning bug when doing lp selftest
87dbcb1ce9c2 net: hns3: Fix for mac pause not disable in pfc mode
4a659cb2f0fd net: hns3: Fix for mailbox message truncated problem
1bb1252b4e78 siox: don't create a thread without starting it
e83bd606a14e vmci: type promotion bug in qp_host_get_user_memory()
46ba8d1156e7 misc: ibmvmc: Use GFP_ATOMIC under spin lock
1d3de3d5e274 tsl2550: fix lux1_input error in low light
c9bcfbebca40 iio: adc: ina2xx: avoid kthread_stop() with stale task_struct
d08aa810ddd1 crypto: skcipher - Fix -Wstringop-truncation warnings
2f411a0873a9 Linux 4.18.11
e5bd6aca70ef spi: Fix double IDR allocation with DT aliases
4fda8face67c iw_cxgb4: only allow 1 flush on user qps
61b5194808f4 vmw_balloon: include asm/io.h
ac586a2ffe31 sched/fair: Fix vruntime_normalized() for remote non-migration wakeup
ec215095ac28 ext4, dax: set ext4_dax_aops for dax files
e2dd3371bfd1 ext4, dax: add ext4_bmap to ext4_dax_aops
d60e0a56ac37 ext4: show test_dummy_encryption mount option in /proc/mounts
da7a6e25fe8e ext4: don't mark mmp buffer head dirty
705bcb551648 ext4: fix online resizing for bigalloc file systems with a 1k block size
d47e119158ec ext4: fix online resize's handling of a too-small final block group
2d0cd272e096 ext4: recalucate superblock checksum after updating free blocks/inodes
a4cb1bf267a6 ext4: avoid arithemetic overflow that can trigger a BUG
976eeff67a3a ext4: avoid divide by zero fault when deleting corrupted inline directories
fdad4e17dc61 ext4: check to make sure the rename(2)'s destination is not freed
52ef74c21c27 tty: vt_ioctl: fix potential Spectre v1
5a5338e45009 drm/amdgpu: add new polaris pci id
4cd5d680d815 drm: udl: Destroy framebuffer only if it was initialized
934df3d13fc6 drm/vc4: Fix the "no scaling" case on multi-planar YUV formats
21fb862e0e3c drm/nouveau/drm/nouveau: Prevent handling ACPI HPD events too early
99aa61fb35ed drm/nouveau/drm/nouveau: Use pm_runtime_get_noresume() in connector_detect()
9c7443a7aa64 drm/nouveau/drm/nouveau: Fix deadlock with fb_helper with async RPM requests
563f482029d4 drm/nouveau/drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement
0f756495557c drm/nouveau/drm/nouveau: Don't forget to cancel hpd_work on suspend/unload
86393a7e3315 drm/nouveau: Fix deadlocks in nouveau_connector_detect()
573eeddd4538 drm/nouveau: Remove duplicate poll_enable() in pmops_runtime_suspend()
aed4ca2690c2 drm/nouveau: Only write DP_MSTM_CTRL when needed
04393d257207 drm/nouveau: Reset MST branching unit before enabling
1f4401ece98b drm/i915/bdw: Increase IPS disable timeout to 100ms
1e0be23859b9 ocfs2: fix ocfs2 read block panic
23fe9688228c libata: mask swap internal and hardware tag
f8b35f82a252 Revert "ubifs: xattr: Don't operate on deleted inodes"
94403d71bb9e scsi: target: iscsi: Use bin2hex instead of a re-implementation
8e31c95fe085 scsi: target: iscsi: Use hex2bin instead of a re-implementation
31426b50594c Revert "uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name"
bc35488686c3 bpf/verifier: disallow pointer subtraction
909828a2920b Revert "rpmsg: core: add support to power domains for devices"
946f8052f7ee mm: shmem.c: Correctly annotate new inodes for lockdep
4cdb6f01e9e5 mm: disable deferred struct page for 32-bit arches
3299a0eead68 fork: report pid exhaustion correctly
30938d20eb1a crypto: x86/aegis,morus - Do not require OSXSAVE for SSE2
d73ccd8bb732 ring-buffer: Allow for rescheduling when removing pages
6bed4f10277b Revert "PCI: Add ACS quirk for Intel 300 series"
6d8911403d99 spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers
1318b2c26b78 xen/x86/vpmu: Zero struct pt_regs before calling into sample handling code
b73a161e9bef xen/netfront: don't bug in case of too many frags
5e17a1ecc44b platform/x86: alienware-wmi: Correct a memory leak
8879342a67a4 platform/x86: dell-smbios-wmi: Correct a memory leak
0639ddca2c8c mtd: rawnand: denali: fix a race condition when DMA is kicked
f11b8aad34fa mtd: devices: m25p80: Make sure the buffer passed in op is DMA-able
1501a0f2e14e ALSA: oxfw: fix memory leak of private data
9d07f491db95 ALSA: oxfw: fix memory leak of discovered stream formats at error path
82567fb09846 ALSA: oxfw: fix memory leak for model-dependent data at error path
8e54fc8910f3 ALSA: fireworks: fix memory leak of response buffer at error path
e5301d45d01c ALSA: firewire-tascam: fix memory leak of private data
7c57a806be78 ALSA: firewire-digi00x: fix memory leak of private data
e9355495975d ALSA: fireface: fix memory leak in ff400_switch_fetching_mode()
cedfb9f8a588 ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO
c143935a34a5 ALSA: bebob: use address returned by kmalloc() instead of kernel stack for streaming DMA mapping
28114caeb0ab ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path
30100a475167 ASoC: uapi: fix sound/skl-tplg-interface.h userspace compilation errors
341ff629a2e9 ASoC: rsnd: fixup not to call clk_get/set under non-atomic
9e6a69b06575 ASoC: tas6424: Save last fault register even when clear
df231dbe93eb ASoC: cs4265: fix MMTLR Data switch control
401e975e5950 ASoC: wm9712: fix replace codec to component
58be75ff0878 NFC: Fix the number of pipes
0ad778eeee6d NFC: Fix possible memory corruption when handling SHDLC I-Frame commands
18b8a9c5dab3 net: rtnl_configure_link: fix dev flags changes arg to __dev_notify_flags
1b46979978c0 net: mvpp2: let phylink manage the carrier state
001e4e5537d8 net/ipv6: do not copy dst flags on rt init
1328a5a40fde ipv6: use rt6_info members when dst is set in rt6_fill_node
b5fc7f300cdb bnxt_en: Fix VF mac address regression.
8ac22b327cc2 tls: fix currently broken MSG_PEEK behavior
17eef150f66b socket: fix struct ifreq size in compat ioctl
263baf63bdfb net: dsa: mv88e6xxx: Fix ATU Miss Violation
4188aa049107 hv_netvsc: fix schedule in RCU context
9f2489640a57 net/sched: act_sample: fix NULL dereference in the data path
1708cc7ed059 udp6: add missing checks on edumux packet processing
c0d10c5d5d71 neighbour: confirm neigh entries when ARP packet is received
77971ea816ba tls: clear key material from kernel memory when do_tls_setsockopt_conf fails
13d1bdc70bc2 tls: zero the crypto information from tls_context before freeing
d8e6fc73d2eb tls: don't copy the key out of tls12_crypto_info_aes_gcm_128
6d7a3fd5cfae udp4: fix IP_CMSG_CHECKSUM for connected sockets
a02ff7df6a3b qmi_wwan: set DTR for modems in forced USB2 mode
89721b836972 pppoe: fix reception of frames with no mac header
b411479d5268 net: hp100: fix always-true check for link up state
6a9c934f04e6 net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT
6b4d14c57381 ipv6: fix possible use-after-free in ip6_xmit()
288942f4a669 gso_segment: Reset skb->mac_len after modifying network header
183348489d36 Linux 4.18.10
52b732648371 crypto: ccp - add timeout support in the SEV command
d6c9bc664918 mei: bus: type promotion bug in mei_nfc_if_version()
920b0e3c5e24 clk: tegra: bpmp: Don't crash when a clock fails to register
fdf0d6477376 pinctrl: qcom: spmi-gpio: Fix pmic_gpio_config_get() to be compliant
5d10592e292f pinctrl: msm: Fix msm_config_group_get() to be compliant
bbcdd75166d9 blk-mq: avoid to synchronize rcu inside blk_cleanup_queue()
864e90ed4a8f blk-mq: only attempt to merge bio if there is rq in sw queue
83459da8e319 IB/mlx5: fix uaccess beyond "count" in debugfs read/write handlers
53a1ee238c84 block/DAC960.c: fix defined but not used build warnings
dc78a980f995 staging: fsl-dpaa2/eth: Fix DMA mapping direction
8d425fae2cf6 dmaengine: sh: rcar-dmac: avoid to write CHCR.TE to 1 if TCR is set to 0
93b100ddda3b drm/amd/pp: Send khz clock values to DC for smu7/8
0cbb058be904 arm64: perf: Disable PMU while processing counter overflows
b89c077eff7c drm/panel: type promotion bug in s6e8aa0_read_mtp_id()
252cdf1f5db5 ASoC: rt5651: Fix workqueue cancel vs irq free race on remove
6c9e72d66dbf selftest: timers: Tweak raw_skew to SKIP when ADJ_OFFSET/other clock adjustments are in progress
6e36e98ecb0a remoteproc: qcom: q6v5-pil: fix modem hang on SDM845 after axis2 clk unvote
435962f3beaa scsi: lpfc: Fix panic if driver unloaded when port is offline
074263d61eed scsi: lpfc: Fix NVME Target crash in defer rcv logic
84159b84f331 scsi: libfc: fixup 'sleeping function called from invalid context'
f7ee7f7b0618 ALSA: pcm: Fix snd_interval_refine first/last with open min/max
0fce3c91ba68 selftests/android: initialize heap_type to avoid compiling warning
330e11b03099 selftests: vDSO - fix to return KSFT_SKIP when test couldn't be run
04ea31a181d3 rtc: bq4802: add error handling for devm_ioremap
1950f800faa1 drm/amdkfd: Fix error codes in kfd_get_process
4841f051b32c drm/amdkfd: Fix kernel queue 64 bit doorbell offset calculation
b1373b80f9ec input: rohm_bu21023: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
ae8247766d56 mfd: 88pm860x-i2c: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
f40d90dd5567 rcutorture: Use monotonic timestamp for stall detection
7961182ace13 net: mvpp2: make sure we use single queue mode on PPv2.1
466ec0c2ba2d net: gemini: Allow multiple ports to instantiate
382ca1b7ca79 gpiolib: Mark gpio_suffixes array with __maybe_unused
a35951e982eb gpio: pxa: Fix potential NULL dereference
c6bc7c725409 staging: bcm2835-audio: Don't leak workqueue if open fails
28929ceced7d lightnvm: pblk: enable line minor version detection
7785ada57436 lightnvm: pblk: assume that chunks are closed on 1.2 devices
070b164edc30 ASoC: qdsp6: q6afe-dai: fix a range check in of_q6afe_parse_dai_data()
b0442208f62f drm/amd/display: support access ddc for mst branch
67a281a8bee9 tools/testing/nvdimm: Fix support for emulating controller temperature
22df0497e104 f2fs: do checkpoint in kill_sb
6e530bf7d202 coresight: ETM: Add support for Arm Cortex-A73 and Cortex-A35
8da6cd501998 coresight: tpiu: Fix disabling timeouts
d0fb01bb8ed9 coresight: Handle errors in finding input/output ports
b3cf69dd8a2b sched/fair: Fix util_avg of new tasks for asymmetric systems
a9093ae70197 parport: sunbpp: fix error return code
cc55678dd2f8 tls: Fix zerocopy_from_iter iov handling
88b8d17d3ab0 drm/nouveau: tegra: Detach from ARM DMA/IOMMU mapping
e293c3e0e60b drm/nouveau/debugfs: Wake up GPU before doing any reclocking
3c266a692dda drm/nouveau: Fix runtime PM leak in drm_open()
5d421dae2364 mmc: sdhci: do not try to use 3.3V signaling if not supported
566b4caf1143 mmc: tegra: prevent HS200 on Tegra 3
5f366ee1f1ff mmc: sdhci-of-esdhc: set proper dma mask for ls104x chips
442f4d1e9aa6 tty: fix termios input-speed encoding
859a99742a95 tty: fix termios input-speed encoding when using BOTHER
24d7347116ba serial: 8250: of: Correct of_platform_serial_setup() error handling
cc04d14157b8 ASoC: hdmi-codec: fix routing
179dbd5fc4f1 gpu: ipu-v3: csi: pass back mbus_code_to_bus_cfg error codes
b720a10bf407 liquidio: fix hang when re-binding VF host drv after running DPDK VF driver
af62ca55dc1f ARM: hisi: check of_iomap and fix missing of_node_put
c55e49df5371 net: hns3: Fix return value error in hns3_reset_notify_down_enet
7c3197ac7034 ARM: hisi: fix error handling and missing of_node_put
34330aee6948 ARM: hisi: handle of_iomap and fix missing of_node_put
cef4231adf55 net: hns3: Fix for reset_level default assignment probelm
4d23263a5a8e net: hns3: Reset net device with rtnl_lock
ddf5261f9068 efi/esrt: Only call efi_mem_reserve() for boot services memory
c1424ee6462b sched/core: Use smp_mb() in wake_woken_function()
5c4a6af4c694 arm64: dts: mt7622: update a clock property for UART0
5471c19b92f8 pinctrl: rza1: Fix selector use for groups and functions
cb5b08a8ec5f pinctrl: mt7622: Fix probe fail by misuse the selector
b07bfd045c5f configfs: fix registered group removal
e75b2324e385 MIPS: loongson64: cs5536: Fix PCI_OHCI_INT_REG reads
d5d7da805a06 KVM: PPC: Book3S: Fix matching of hardware and emulated TCE tables
7974b0c64934 PM / devfreq: use put_device() instead of kfree()
81ce15b06c0f security: check for kstrdup() failure in lsm_append()
91c26cb2293f KVM: PPC: Book3S HV: Add of_node_put() in success path
6a69ccd2ec68 evm: Don't deadlock if a crypto algorithm is unavailable
f4a6c71481e3 Bluetooth: Use lock_sock_nested in bt_accept_enqueue
b4a9422266f2 spi: dw: fix possible race condition
f90ccc03b438 bpf: fix rcu annotations in compute_effective_progs()
5e1002ab5c9b vfs: fix freeze protection in mnt_want_write_file() for overlayfs
d466b2d4e4e7 mtdchar: fix overflows in adjustment of `count`
babc65c641b1 audit: fix use-after-free in audit_add_watch
a9fb28b40a36 arm64: dts: uniphier: Add missing cooling device properties for CPUs
f48256986e0f net/mlx5: Add missing SET_DRIVER_VERSION command translation
3caf6c73c0b4 binfmt_elf: Respect error return from `regset->active'
6eb8c64e9afd mmc: meson-mx-sdio: fix OF child-node lookup
0c6e2a79715a of: add helper to lookup compatible child node
8bfbd71c1146 NFSv4.1 fix infinite loop on I/O.
a12ad4f33e6f NFSv4: Fix a tracepoint Oops in initiate_file_draining()
afaef9ba4486 x86/EISA: Don't probe EISA bus for Xen PV guests
05a993198ded of: fix phandle cache creation for DTs with no phandles
1f3cb0604f0f perf tools: Fix maps__find_symbol_by_name()
a543f61a2775 perf/core: Force USER_DS when recording user stack data
b205f931b0c0 xtensa: ISS: don't allocate memory in platform_setup
f63dbd23e8a7 cifs: integer overflow in in SMB2_ioctl()
6565bd3e63d3 CIFS: fix wrapping bugs in num_entries()
bf1c05755d45 cifs: prevent integer overflow in nxt_dir_entry()
8c7488864bdf Revert "cdc-acm: implement put_char() and flush_chars()"
c705bfe3c3d6 usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()
cb55532b9e64 USB: yurex: Fix buffer over-read in yurex_write()
48f17ac733c6 USB: serial: ti_usb_3410_5052: fix array underflow in completion handler
8a74265c0a05 usb: misc: uss720: Fix two sleep-in-atomic-context bugs
9bf71499046e USB: serial: io_ti: fix array underflow in completion handler
97180428d24b USB: net2280: Fix erroneous synchronization change
bfe24fcf1fb0 usb: gadget: udc: renesas_usb3: fix maxpacket size of ep0
23256d450acc USB: add quirk for WORLDE Controller KS49 or Prodipe MIDI 49C USB controller
c6346e3fbb18 usb: host: u132-hcd: Fix a sleep-in-atomic-context bug in u132_get_frame()
066bfee7ec75 usb: Avoid use-after-free by flushing endpoints early in usb_set_interface()
13b6b8a90cab usb: uas: add support for more quirk flags
cba0cba54741 USB: Add quirk to support DJI CineSSD
59efbbc9a611 dm verity: fix crash on bufio buffer that was allocated with vmalloc
f5f0f2ad7099 mei: bus: need to unlink client before freeing
a1a8326f891c mei: bus: fix hw module get/put balance
93f03d6dcbb6 mei: ignore not found client in the enumeration
4c3af2149535 usb: mtu3: fix error of xhci port id when enable U3 dual role
3f081e53ccd0 usb: xhci: fix interrupt transfer error happened on MTK platforms
3d7a00c4f0aa usb: Don't die twice if PCI xhci host is not responding in resume
87d948fe3a27 xhci: Fix use after free for URB cancellation on a reallocated endpoint
9ed3ad68de71 misc: hmc6352: fix potential Spectre v1
094302a07e89 misc: ibmvsm: Fix wrong assignment of return code
662b1033af66 Tools: hv: Fix a bug in the key delete code
d5995b9a926e vmbus: don't return values for uninitalized channels
4585b79971f7 ovl: fix oopses in ovl_fill_super() failure paths
617afda7f5d9 ipmi: Fix I2C client removal in the SSIF driver
31364b2e1fb1 ipmi: Move BT capabilities detection to the detect call
288bd736c8a0 ipmi: Rework SMI registration failure
53c7bb8b93d0 mmc: omap_hsmmc: fix wakeirq handling on removal
8cddf23b74d6 s390/crypto: Fix return code checking in cbc_paes_crypt()
3e6bba18b8ef IB/ipoib: Avoid a race condition between start_xmit and cm_rep_handler
9c58e39e3736 xen/netfront: fix waiting for xenbus state change
d0028f48b330 pstore: Fix incorrect persistent ram buffer mapping
40a31b8c9b90 RDMA/cma: Protect cma dev list with lock
367c9cb26e65 xen-netfront: fix warn message as irq device name has '/'
08012969004d PCI/AER: Honor "pcie_ports=native" even if HEST sets FIRMWARE_FIRST
12f21ddaf49d x86/mm/pti: Add an overflow check to pti_clone_pmds()
19700e6c1d40 x86/pti: Check the return value of pti_user_pagetable_walk_pmd()
a9edba8f5f3c x86/pti: Check the return value of pti_user_pagetable_walk_p4d()
7763d301d75d crypto: sharah - Unregister correct algorithms for SAHARA 3
4d18bcc6ec97 dmaengine: mv_xor_v2: kill the tasklets upon exit
7c14a171825c iommu/ipmmu-vmsa: IMUCTRn.TTSEL needs a special usage on R-Car Gen3
d655b0e7d1a5 regulator: qcom_spmi: Fix warning Bad of_node_put()
9611efe67019 regulator: qcom_spmi: Use correct regmap when checking for error
4a5dfbca3e03 drm/amd/pp: Set Max clock level to display by default
283ca5fd5b94 i2c: aspeed: Fix initial values of master and slave state
ee4fa1801dfb drivers/base: stop new probing during shutdown
8a1df288fc7d KVM: arm/arm64: Fix vgic init race
77a7d97a4aad platform/x86: toshiba_acpi: Fix defined but not used build warnings
dacc647eb982 s390/qeth: reset layer2 attribute on layer switch
8f93a540b618 s390/qeth: fix race in used-buffer accounting
b72b40d5dacf soc: qcom: smem: Correct check for global partition
ed3ee622cda9 ARM: dts: qcom: msm8974-hammerhead: increase load on l20 for sdhci
3679b8e9af6d arm64: dts: qcom: db410c: Fix Bluetooth LED trigger
9ac72cec7e58 xen-netfront: fix queue name setting
87fe89ddbf57 nfp: avoid buffer leak when FW communication fails
6da3c7c96e0a ALSA: usb-audio: Generic DSD detection for Thesycon-based implementations
78fcf13d0235 efi/arm: preserve early mapping of UEFI memory map longer for BGRT
e505be5d53e0 reset: imx7: Fix always writing bits as 0
cf29c5b3d339 arm64: fix possible spectre-v1 write in ptrace_hbp_set_event()
e635ed205ad8 wan/fsl_ucc_hdlc: use IS_ERR_VALUE() to check return value of qe_muram_alloc
5573ec7a7114 Smack: Fix handling of IPv4 traffic received by PF_INET6 sockets
f5b4d1cce4a2 mac80211: restrict delayed tailroom needed decrement
e19f90c90555 MIPS: jz4740: Bump zload address
4105a80d60c0 ASoC: rt5514: Fix the issue of the delay volume applied
ad60f993f3ec staging: bcm2835-camera: handle wait_for_completion_timeout return properly
3360648a723d staging: bcm2835-camera: fix timeout handling in wait_for_completion_timeout
acd8e75056b8 perf script: Show correct offsets for DWARF-based unwinding
41870d0faa92 powerpc/powernv: opal_put_chars partial write fix
575f58226b31 KVM: arm/arm64: vgic: Fix possible spectre-v1 write in vgic_mmio_write_apr()
3e8433730a7c nvme-rdma: unquiesce queues when deleting the controller
ab79cc228cce nvmet: fix file discard return status
b42c221e6c6f perf powerpc: Fix callchain ip filtering
7871bdd93e26 ARM: exynos: Clear global variable on init error path
01a16afcdd8e omapfb: rename omap2 module to omap2fb.ko
8c448f47bf01 fbdev: Distinguish between interlaced and progressive modes
8fc18a9186d1 video: fbdev: pxafb: clear allocated memory for video modes
0c664f04c204 perf powerpc: Fix callchain ip filtering when return address is in a register
e04ab6fae461 fbdev/via: fix defined but not used warning
4cecf931f72e video: goldfishfb: fix memory leak on driver remove
6619761e5594 perf tools: Fix struct comm_str removal crash
3bc6debeee75 fbdev: omapfb: off by one in omapfb_register_client()
3340ab9770ee perf tests: Fix record+probe_libc_inet_pton.sh to ensure cleanups
a036a42625e5 perf tests: Fix record+probe_libc_inet_pton.sh when event exists
7909633281bf perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64
aee426d18f8b perf tools: Synthesize GROUP_DESC feature in pipe mode
6779c908d67a gfs2: Don't reject a supposedly full bitmap if we have blocks reserved
4d63cecf086c perf test: Fix subtest number when showing results
2bcb521130c6 media: ov5645: Supported external clock is 24MHz
105b0d0e07c5 mtd/maps: fix solutionengine.c printk format warnings
10edff95113a IB/ipoib: Fix error return code in ipoib_dev_init()
b5781a323ac8 block: allow max_discard_segments to be stacked
ded17a42ebf5 IB/rxe: Drop QP0 silently
e41669ba0dcf media: videobuf2-core: check for q->error in vb2_core_qbuf()
b37f1ffead9a MIPS: ath79: fix system restart
11091b725238 dmaengine: pl330: fix irq race with terminate_all
7549795df383 media: tw686x: Fix oops on buffer alloc failure
e8b53e57272c kbuild: do not update config when running install targets
69383cdcb314 kbuild: add .DELETE_ON_ERROR special target
d3847b6449a0 clk: clk-fixed-factor: Clear OF_POPULATED flag in case of failure
825568027a58 clk: core: Potentially free connection id
36c234a7d639 Input: pxrc - fix freeing URB on device teardown
10acffe4e6af clk: mvebu: armada-37xx-periph: Fix wrong return value in get_parent
62d658666e16 clk: imx6sll: fix missing of_node_put()
404280dc8655 clk: imx6ul: fix missing of_node_put()
3ace27266f11 gfs2: Special-case rindex for gfs2_grow
cffab62aa38c iwlwifi: cancel the injective function between hw pointers to tfd entry index
aca7943ece90 nfp: don't fail probe on pci_sriov_set_totalvfs() errors
38c65d4ed86c amd-xgbe: use dma_mapping_error to check map errors
7ac07ffd7a1d xfrm: fix 'passing zero to ERR_PTR()' warning
912e58471dc4 ALSA: usb-audio: Fix multiple definitions in AU0828_DEVICE() macro
e87ce12cce31 ALSA: usb-audio: Add support for Encore mDSD USB DAC
14b41aea20aa ALSA: msnd: Fix the default sample sizes
071929af7183 iommu/io-pgtable-arm: Fix pgtable allocation in selftest
6bd162fc88d2 iommu/io-pgtable-arm-v7s: Abort allocation when table address overflows the PTE
129a7aebd133 iommu/arm-smmu-v3: sync the OVACKFLG to PRIQ consumer register
602b80704322 usb: dwc3: change stream event enable bit back to 13
9739856df45d net/mlx5: Use u16 for Work Queue buffer fragment size
032fcd76b6b1 net/mlx5: Fix possible deadlock from lockdep when adding fte to fg
7da7294ce303 net/mlx5: Fix not releasing read lock when adding flow rules
60486fee29bb tcp: really ignore MSG_ZEROCOPY if no SO_ZEROCOPY
87754d1856ac erspan: return PACKET_REJECT when the appropriate tunnel is not found
a4eae12522a5 erspan: fix error handling for erspan tunnel
17c7263eea85 net/mlx5: Fix debugfs cleanup in the device init/remove flow
645e035edefe net/mlx5: Check for error in mlx5_attach_interface
b800b7ef44b5 net/tls: Set count of SG entries if sk_alloc_sg returns -ENOSPC
c73238573dea net/mlx5: E-Switch, Fix memory leak when creating switchdev mode FDB tables
73da60476f94 tipc: orphan sock in tipc_release()
de83178fddfb rds: fix two RCU related problems
d34b61509c18 net: qca_spi: Fix race condition in spi transfers
9a22310f122b net/mlx5: Fix use-after-free in self-healing flow
da0e36fa0942 be2net: Fix memory leak in be_cmd_get_profile_config()
(From OE-Core rev: d81dd54365838ab63615c241adf3bef207ff8843)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kernel config cleanups:
2c4eb01d57fd media-radio.cfg: change CONFIG_RADIO_SI470X to m
3d38c0dbb0f4 usb-typec: enable CONFIF_TYPEC
ae6272d621dd iio: rename CONFIG_TSL2x7x to CONFIG_TSL2772
10c18d643dea iio: change CONFIG_AD5686 to CONFIG_AD5686_SPI
f06703a4c55e media-rc: CONFIG_LIRC is now a bool
a8cbad4a0533 media-i2c: remove configs selected by zoran drivers
9c43f6157a44 media-pci-capture: remove zoran configs
(From OE-Core rev: 72e9ad0f24a31693b5f06df6d1e6da23e30e1627)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.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)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was one missing fixup in the recent -rt referesh of 4.18,
this SRCREV bump picks up the gic changes that were missing.
(From OE-Core rev: b23f6e12b1a0809e0fb89bc7a77350c37beaeffc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this the build fails for armv6t targets due to invalid
assembler instructions in thumb mode.
[YOCTO #12929]
(From OE-Core rev: 801141be68e5c754f2cd1d80d13982f037fc03e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.0 adds systemd support but installs the unit files in the wrong location.
Fix this in do_install and inherit systemd to package them correctly.
Also fix ownership of files manually copied in to root:root to avoid QA warnings.
(From OE-Core rev: 74833a612cc383679bb5516e98c7508da47b0767)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemtap from 3.3 to 4.0: Removed backported patch.
Very short summary of major changes from SystemTap 4.0
announcement by Frank Ch. Eigler <fche@redhat.com>:
> prometheus exporter network service; ebpf support extensions including
> strings and implementation of traditional log(), sprintf() functions;
> rebuilt rich tapset coverage for 4.17+ syscalls and for
> tracepoint-based syscalls; script language tweaks for supporting
> machine-generated scripts
Fixes [YOCTO #12950]
(From OE-Core rev: d7f828223f3fabdadcff974c1ed6f8f74e438405)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only look in recipes-* folders for patches, to stop finding patches in
e.g. meta/lib/oeqa/manual.
(From OE-Core rev: ed912e10c61ea9d45ca648e03eebafeebcf7e9b0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit aa6def606f which I
posted myself.
The Problem is rtmpdump, not the gstreamer1.0-plugins-bad recipe.
The correct to fix this is to patch rtmpdump to work with OpenSSL 1.1.
(From OE-Core rev: 9b7c1d7ac9b2cbd3744776328386bfb4c90c1afc)
Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add -f into postinst OPT to fix run postinst scriptlet fail
problem during do rootfs, while INITSCRIPT_PARAMS set to remove.
+ type update-rc.d
+ '[' -n qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs ']'
+ OPT='-r qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs'
+ update-rc.d -r work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs keepalived remove
update-rc.d: work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs/etc/init.d/keepalived exists during rc.d purge (use -f to force)
D: %post(keepalived-1.4.2-r0.core2_64): waitpid(305974) rc 305974 status 100
(From OE-Core rev: 45224526edbe65012a846c066d2b539a360f0c51)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It appends TCLIBCAPPEND to TMPDIR in meta/conf/distro/defaultsetup.conf:
TMPDIR .= "${TCLIBCAPPEND}"
It affects some oe selftest cases in sstatetests.py. Reset TCLIBCAPPEND
for these cases.
(From OE-Core rev: 4549c9dd96be8db69d520f66f4507939df9e9587)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The comment here stated that openssl is dual-licensed, but that would
mean that either of the two licenses could be used which is *not* the
case [1]. However LICENSE = "openssl" *is* correct because in OE that
maps to a generic license file which includes both licenses, which
makes sense because there isn't really any such thing as OpenSSL that
would be covered by the "OpenSSL license" and not the "SSLeay license".
Correct the comment to avoid any confusion.
[1] https://www.openssl.org/source/license.html
(From OE-Core rev: 6c821ce6ecae789320b31ec55c83907d6dd78359)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mips will return EINVAL instead of ENOMEM as expected
if the range [addr + len) exceeds TASK_SIZE.
Linux kernel code: arch/mips/mm/mmap.c
if (flags & MAP_FIXED) {
/* Even MAP_FIXED mappings must reside within TASK_SIZE */
if (TASK_SIZE - len < addr)
return -EINVAL;
Relax the condition and accept both ENOMEM and EINVAL
as expected outcome.
(From OE-Core rev: ff1d158fb15f7a8bc7bca542baac6f9873a58f68)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.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)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [9524330 gobject-introspection: fix multilib install
file conflicts] applied in oe-core, while multilib enabled, gir
files will be installed to `${libdir}'.
Refer above commit, modify gobject-introspection.bbclass to
split gir to package correctly.
(From OE-Core rev: e0cc1dc6f1c14babe29a29a7211dc1c69d782b95)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to build multilib image such as lib32-core-image-minimal with
wic by set 'IMAGE_FSTYPES = "wic"':
| ERROR: Couldn't find correct bootimg_dir, exiting
When multilib is enabled, STAGING_DATADIR is expanded with MLPREFIX. But
dependencies of images such as syslinux is still populated to nonarch
STAGING_DATADIR.
Search nonarch STAGING_DATADIR to fix the error.
(From OE-Core rev: dbae9a6f9a1c6cc7d4dd680d7bbda3dfa40f3491)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the name of the last user being part of the group had a name that
was a prefix of the user being added, then perform_groupmems() would
treat it as if the user already existed in the list of users and not
add it.
Reported-by: Peter Henricsson <peter.henricsson@axis.com>
(From OE-Core rev: 3bab0416f20366e75444be9b65fb1369643f103a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing should be in this package, so remove it entirely to be sure nothing does
end up in there.
(From OE-Core rev: b4ea23adf58d664f3cc5abe6d04b507fc000426e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to allow the main recipe to extend RDEPENDS directly, so don't wipe
RDEPENDS when reading the manifest.
This fixes the missing python-misc dependency from python-modules.
As the wiping was having the good side-effect of removing the PN-dev dependency
on PN (which doesn't exist), clear RDEPENDS_${PN}-dev.
(From OE-Core rev: fe3727af217dce4488f1fc6aab3f66232cf11fea)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generated key file should try to have bind group so that if
the named daemon is started via '-u bind' option, which is the
default in OE core, we will not get startup failure because of
'permission denied' error.
(From OE-Core rev: fc4c4f40dbcf558a48058d944eef21e588d64aa0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does not work and is unsupported so lets compile glibc in ARM mode
always on armv6 SOCs
Fixes [YOCTO #12929]
(From OE-Core rev: de01490695c70ae29b4f2f82aecbffaf5667449e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Checking the requirements for each volatiles file in the
populate-volatiles script can be very slow when there are a large number
of volatiles files, easily consuming over 80% of the processing time.
These checks don't usually uncover any problems so concatenate all the
volatiles files together and process them as one large file for a "fast
path" option. This ensures that the penalty for checking the
requirements is only incurred once. In the event that checking the
requirements for the unified file fails, fall back to the slow process
of checking each one individually so that the offending one can be
skipped.
The core file is handled separately because it is responsible for
creating the temp directory used by check_requirements and thus must
always run first and without having its requirements checked.
[YOCTO #12949]
(From OE-Core rev: f380fac8a43a75861f3157777b12a317b985a5e1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the tests need perl, so add it to the RDEPENDS.
(From OE-Core rev: 3095fbee4b46e9bb2aa9c7355bdb554331df201c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Copy the Python 2 run-ptest script to execute the Python 3 test suite.
(From OE-Core rev: d371ff04628bdf7bac66341aeb9a66d145f66416)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit c5629268b0f8ae0a425c98337d13e8dc83107e13:
[
python: set PYTHONHOME for nativesdk
This ensures that the nativesdk python functions correctly without needing to
set PYTHONHOME in the sdk environment setup script.
]
it's also needed for python3.
(From OE-Core rev: b0cbd9efc30289bb4838dcaa43beba2c0c372ab2)
Signed-off-by: Cheuk Wing Leung <cwleung@kth.se>
Signed-off-by: Ming Liu <liu.ming50@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)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. The building openssl requires to install perl Text::Template module(>=1.46),
but Text::Template is a non core Perl module, openssl chooses to bundle
Text::Template 1.46 into the source, for convenience.
8ff2af5483
2. While Text::Template < 1.46, the produced build files are gravely faulty.
https://github.com/openssl/openssl/pull/6682
3. If host has installed Text::Template < 1.46 (such as CentOS-7.5 has Text::
Template 1.45). The mismatched old module was used although the right one in
openssl source.
So set PERL5LIB to use deterministic perl Text::Template module bundled
by openssl source and ignore the one of host
(From OE-Core rev: 5e7a75c226d4df0c066f04eaea014b8888c6bed2)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It uses certutil from nss to create a blank certificate. But the
checksum of database file key4.db changes every time:
$ certutil -N -d sql:. --empty-password
$ md5sum *
f9dac2cfcb07cc8ca6db442a9a570906 cert9.db
b892c5ff7c1977d4728240b0cf628377 key4.db
7b9136cb03f07ae62eb213a5239fda71 pkcs11.txt
$ rm *
$ certutil -N -d sql:. --empty-password
$ md5sum *
f9dac2cfcb07cc8ca6db442a9a570906 cert9.db
405d55178e866a115c1aa975fccfa764 key4.db
7b9136cb03f07ae62eb213a5239fda71 pkcs11.txt
Provide pre-created databases with a blank certificate to fix
non-determinism issue. And these database files are from nss qemux86-64
build.
(From OE-Core rev: e64a30f7af87fa960b012ace92c51b88e8abae68)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
unfs3 has an old defect that it can not change the timestamps of a
symlink file because it only uses utime(), which will follow the
symlink. This will not cause an error if the symlink points to an
existent file but can be triggered with rpm workflows.
Making unfs3 support lutimes() addresses this problem.
(From OE-Core rev: 244a5be0eab31310b8717ab6b713c2902def4e0c)
Signed-off-by: Rui Wang <rui.wang@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-flex is needed for kernel development inside traidtional
SDK environment, more particularly, `make scripts' under /usr/src/kernel.
So add it to nativesdk-packagegroup-sdk-host.
(From OE-Core rev: 6f8b2a9e03f4e54befe4df0fcfca24e676aef7b5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are having the following error when using 'tar' from tar
recipe to decompress .tar.bz2 files.
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
The tar package is introduced by these two packagegroups into image.
>From the README file from tar's source codes:
"""
** gzip and bzip2.
GNU tar uses the gzip and bzip2 programs to read and write compressed
archives. If you don't have these programs already, you need to
install them.
"""
So we'd better cluster gzip and bzip2 with tar. These two packagegroups
already get 'gzip', so we also add 'bzip2'.
(From OE-Core rev: ca69d793e4b987bd5202e1359ff82c515ad65a5a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current error message is like:
kobject-example.kodoesn't exist
Add a space so that it looks like:
kobject-example.ko doesn't exist
(From OE-Core rev: 30f2cdd0a3ee0874bebd135e35ab591f630e8adc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test need to check config.h, so install it
to fix below err msg:
grep: ../lib/config.h: No such file or directory
./test/f_detect_junk/script: line 3: [: : integer expression expected
f_detect_junk: detect non-fs file data: ok
(From OE-Core rev: 53f2ad2ec54fd69d91c2445c4ae20585b836e2ea)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running wic commands on Debian 10 systems fail in
scripts/lib/wic/engine.py:get_partitions() due to new stderr output captured
when trying to parse the output from /sbin/parted as a non-root user.
The parted command calls the dmidecode utility, which produces this error
as a non-root user:
/sys/firmware/dmi/tables/smbios_entry_point: Permission denied
/dev/mem: Permission denied
scripts/lib/wic/engine.py:get_partitions() calls misc.py:exec_cmd(),
a subprocess wrapper which returns a combined stderr and sdtdout.
These messages to stderr confuse the partition table parser in
get_partitions().
This patch has the partition table parser ignore lines before the expected
"BYT;" header string.
Running wic in Debian 9 does not have this issue.
(From OE-Core rev: d6936301d7598b7a783beaae95109555faf6cc17)
Signed-off-by: Geoff Parker <geoffhp@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Copying files from the read-only /var/lib to tmpfs can be slow and waste
memory. If the kernel supports the overlay file system, use it to mount
a writable tmpfs on top of the read-only /var/lib and avoid the file
copy.
(From OE-Core rev: 370fda1b2e8d5dc011522131bba4106de26bfb19)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit d297f7ebf3f6 [fribidi: use Meson instead of autotools]
build failures have been observed with this package. The immediate
issue was related to improperly named #defines per
https://github.com/fribidi/fribidi/commit/46f52d588ab5, however, the
root cause was FRIBIDI_SIZEOF_INT getting a value of "-1".
After searching the meson logs the following was found:
Could not run: /tmp/tmp2fxe6ha1/output.exe (error: [Errno 13] Permission denied)
Checking for size of "int": -1
Which pointed to the real root cause being /tmp mounted with noexec, a
common configuration on Redhat and other distros. This issues has been
raised in the meson community:
https://github.com/mesonbuild/meson/issues/2972 but is yet to be
addressed.
Using the discussion from issue#2972 and the fact that the underlying
code makes use of python 'tempfile' we can simply create a 'tmp'
directory and make use of TMPDIR to avoid this issue.
(From OE-Core rev: 9800daf59d2235bc492d1aeb600e46ad62303510)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
without diffutils, diff from busybox will be used, diff of
busybox cause diff result different with expect file under test.
The diff result generated by 2 /usr/bin/diff is different.
change to use diff under diffutils to fix it
(From OE-Core rev: 35baffb28a4598f385a6ab7765427db683146c1b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The alternative setting for unshare belongs to the util-linux-unshare
package instead of the util-linux package. Fix this problem to avoid
a dead symlink /usr/bin/unshare -> /usr/bin/unshare.util-linux on target.
(From OE-Core rev: 5c4922d5a3bc4a5aaa807d9e65210d0c01c9bdef)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
reboot is provided by busybox too. Add ALTERNATIVE to ensure that there
are no conflicts when both are installed.
(From OE-Core rev: a27a197ad4bb32fa93aa95e685e9e70ffe755811)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
reboot is needed for initramfs where no init manager is set. This
partially reverts:
commit b6fbb3f3d4
Author: Chen Qi <Qi.Chen@windriver.com>
Date: Mon Jul 30 17:41:57 2018 +0800
busybox: move init related configs to init.cfg
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.
We would need to set up ALTERNATIVES for reboot in this case.
(From OE-Core rev: 239a4fc1db530f201e1f7069b2045135699a85a7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let users know that the installation was successful and that pressing
Enter would lead to a reboot.
(From OE-Core rev: a5993d9afab060d07213c14c0188422c9e258693)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The info->resolvetls might be NULL according to src/prelink.c:
[snip]
/* Dynamic linker does not depend on any other library,
all symbols resolve to themselves with the exception
of SHN_UNDEF symbols which resolve to 0. */
if (info->symtab[r_sym].st_shndx == SHN_UNDEF)
{
info->resolveent = NULL;
info->resolvetls = NULL;
[snip]
So we must check it before use its members, otherwise, there might be
Segmentation fault error.
Fixed:
MACHINE = "qemumips"
IMAGE_INSTALL_append = " qemu"
$ bitbake core-image-minimal
[snip]
| /path/to/qemumips-poky-linux/core-image-minimal/1.0-r0/temp/run.prelink_image.1000: line 111: 1010 Segmentation fault (core dumped)
[snip]
(From OE-Core rev: 7f5d6f6b70cb1eb486d3ff5c029fc3c6202fc826)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The iputils-ping6 was dropped since the 'ping6' command had been merged
into ping command. Backport patch from upstream to let both 'ping6' and
'ping -6' work.
(From OE-Core rev: 7257f209e317db62f92279fc2ff7d6d1e5eddf75)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The .gir files from gobject-introspection are configured to install to
${libdir}/gir-1.0 when multilib is enabled. Update vapigen-wrapper accordingly.
(From OE-Core rev: 78df4225cc12ba59466ae398b3860b207758e652)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix multilib isntall file conflicts for gobject-introspection.
* use multilib_script.bbclass to handle ${bindir}/g-ir-annotation-tool
and ${bindir}/g-ir-scanner
* add configure option to install .gir files to an alternative path and
only set it when multilib is enabled
(From OE-Core rev: efd91da5230ea27f5c554c3fe51d4c009b85705d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to run g-ir-scanner from package gobject-introspection that
missing python modules 'xml' and 'pickle'. Add them to rdepends.
(From OE-Core rev: fa1bad8d96f7f0b8bf5fd2b85ad10b783ff2d303)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently only the dnf package manager tests are automatically added to the
list of tests to run. Improve the code to handle automatic addition of
the apt and opkg tests too.
(From OE-Core rev: c9169e4d1fa67289d5beb0e1f8fb5c54153c4242)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building an image takes time and isn't necessary to test taskexp,
we can drop this step.
(From OE-Core rev: 298eb27037172925a83b37541e5955bbf3b7d2fb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder runs bitbake-selftest already so we don't need
to execute this manually.
(From OE-Core rev: f223f49b7e3d3f6ef07915edea1a6233ae9869e2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia, manual test cases
need to be migrated to OEQA. These manual test case json files
will serve two use cases.
Use case#1: as input to the future commandline-based manual test
runner script, where this script will display actions and expected
result information in user friendly text, then it will capture
user input for test result and log, finally it will write test
result and log into existing standardize test result json format
from OEQA framework for automated tests.
Use case#2: QA will open and read these json file manually for
planning manual test execution. Any reader interested in
understanding manual test cases will open and read these files.
(From OE-Core rev: dcaf843878e9adcb3fab025d54cd5d9ceb6c2fce)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After allarch was disabled in multilib, this test broke. Fix the test to account
for that change.
(From OE-Core rev: 6f692d86c2c6742c67aba93fa24b930af02d8e85)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the opkg/apt tests are run without a package-index they will fail.
Trigger this here for now as a dependency until the code can be improved.
(From OE-Core rev: 7805eec0f522da2d2b6a08c8a07a9243e26c014a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current qemuall override overwrites other dependencies unintentionally.
Tweak the code to avoid this by appending to the variable.
(From OE-Core rev: fc8df45e6b27dd7a26b7bf88a06ffa831fcf075c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Append '\n' to the non-empty formatted string before return. If you
write it to the (manifest) file, it will ensure file ends with a newline.
Many GNU utilities have problems processing the last line of a file
if it is not '\n' terminated. E.g. if the last line is not terminated
by a newline character, then "read" will read it but return false,
leaving the broken partial line in the read variable(s).
It can also break or adversely affect some text processing tools,
that operate on the file.
(From OE-Core rev: ee4d0c879713ba50dc6cc3300f44647faebee2e0)
Signed-off-by: grygorii tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration option is WITH_KDE now, as it supports both KDE4 and KDE5.
(From OE-Core rev: 2a5d1db6643482dd06a456e303c6f6bc88059813)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix out of bounds read on empty string filename for guntar, pax and v7tar
(From OE-Core rev: 459506272b8800604886f6bd3bc32ee09d7bb906)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fetch the test tar ball to a subdirectory in ${S}. This avoids the
following error after having done `devtool modify libxml2`:
| DEBUG: Executing shell function do_configure
| find: ‘.../build/tmp/work/mips32r2el-nf-poky-linux/libxml2/2.9.4-r0/xmlconf/’: No such file or directory
(From OE-Core rev: d0d55add6cb01252a46d829ade75666920b676fa)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the unpack task do nothing if externalsrc is in use. This avoids
the following error after having done `devtool modify lsof`:
ERROR: lsof-4.91-r0 do_unpack: Unpack failure for URL:
'file://.../builds/qemux86-64/tmp/work/core2-64-poky-linux/lsof/4.91-r0/lsof_4.91/lsof_4.91_src.tar'.
Unpack command PATH="..." tar x --no-same-owner -f
.../builds/qemux86-64/tmp/work/core2-64-poky-linux/lsof/4.91-r0/lsof_4.91/lsof_4.91_src.tar
failed with return value 2
(From OE-Core rev: 51f9a0e58d7b996c4589566963a5853ed93814f7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the subdir fetch path for configure.ac relative. This avoids the
following error after having done `devtool modify acl`:
ERROR: acl-2.2.52-r0 do_unpack: Unpack failure for URL:
'file://configure.ac;subdir=.../builds/qemux86-64/workspace/sources/acl'.
subdir argument isn't a subdirectory of unpack root
.../builds/qemux86-64/tmp/work/core2-64-poky-linux/acl/2.2.52-r0
(From OE-Core rev: 8a12bb7349bce29403077e18875563a9b0770838)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test suite skips several tests if the required locales are not found, so add
them as dependencies of glib-2.0-ptest.
(From OE-Core rev: b9317997bd4527b7873eb4f903cc4890b5b3580f)
(From OE-Core rev: f1c122fdc14624a659f8d4b07e1ff1f21e472e50)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test suite has hard-coded strings which don't match the new translations in
glibc 2.28, so update the test suite.
(From OE-Core rev: e1fa8611de2df3a1a15ae795c34f32e4e7fdbc79)
(From OE-Core rev: fe3eb823cded89acb123308e56a5c888ffa1409b)
Signed-off-by: Ross Burton <ross.burton@intel.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: ac15028391fdcc3fec2dd0e64a4f763ce63e5449)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They can't be built without opengl in DISTRO_FEATURES.
[snip]
|webkitgtk-2.20.3/Source/WebCore/platform/graphics/OpenGLShims.h:23:10:
fatal error: GL/gl.h: No such file or directory
[snip]
Some sort of GL is needed yes. We indicate that with opengl loosely in OE
The epiphany depends on webkitgtk, add opengl to REQUIRED_DISTRO_FEATURES also.
(From OE-Core rev: 059af47ecd75d6b733ba893e000749bf3d89d413)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let users to use custom toolchain template files instead of overloading
the whole function.
(From OE-Core rev: d4d5fdadaf2f671559326ab594fb596995846ca4)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the remaining hardcoded '/lib' in kernel firmware installation
path with ${nonarch_base_libdir}.
(From OE-Core rev: b5d01558cfb5e65ef8f08eef70fa64ea6782dda5)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gptfdisk uses a simple Makefile with no automatic detection of
external library support. Use PACKAGECONFIG_CONFARGS and pass
the make targets in EXTRA_OEMAKE.
(From OE-Core rev: 9bed9927ef92f5fbd17aacf3c4bd56bec7bf023e)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make grep quiet for prevent to write information into logs.
(From OE-Core rev: f9f150fa38b188b279b65886cad187b15bae0ce6)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-yocto-dev has been upreved to v4.19. This patch backports a patch from
upstream to make lttng-modules sync up with linux-yocto-dev and later
linux-yocto, and fix the following do_compile error.
| tmp/work/qemux86_64-poky-linux/lttng-modules/2.10.7-r0/lttng-modules-2.10.7/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflict
ing types for 'trace_sock_exceed_buf_limit'
| void trace_##_name(_proto);
| ^~~~~~
(From OE-Core rev: d06b7fd291076a423a83b9630471baeaef9d4f43)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sigchld handler in runqemu can raise a SystemExit when qemu shuts down.
Rather than backtracing, accept this as a successful test result.
ERROR: runqemu.QemuTest.test_qemu_can_shutdown (subunit.RemotedTestCase)
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 183, in test_qemu_can_shutdown
qemu_shutdown_succeeded = self._start_qemu_shutdown_check_if_shutdown_succeeded(qemu, shutdown_timeout)
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 175, in _start_qemu_shutdown_check_if_shutdown_succeeded
time.sleep(1)
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/qemurunner.py", line 100, in handleSIGCHLD
raise SystemExit
SystemExit
(From OE-Core rev: 417245923c1c2c35a60d6db29cbe5a78548860d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The qemu shutdown can race with the signal handler removal leading to
confusing tracebacks on slower/loaded systems.
Remove the signal handler first before shutting down.
(From OE-Core rev: 1b63ce7bb83134f84bf07d1075d5ca0d5466ed3d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Let automake use parallel test harness which ensures that appropriate
environment variables are actually used.
* Copy generated config.h as part of ptest package and define a variable
in tests Makefile to control the name of target that we'd like to
invoke for tests instead of relying on default value.
* configure relies on tools that are not available in release tarballs
resulting in warnings and failed tests. Get the required information
from available files instead.
* Reduces the count of failing tests to 18 from 35. The rest of
tests fail or get skipped mostly because of missing syscalls. Number of
tests getting skipped can probably be reduced further.
Fixes [YOCTO #12948]
(From OE-Core rev: dcd674181f31a12c100f91cf6a1c3f3d52b775a2)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
busybox may also provide a fsfreeze and nsenter implementation,
so use u-a to allow installing them side by side.
If one installs both, busybox and util-linux, one gets the following error
(seen on a populate-sdk run):
| ERROR: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
| then please place them into pkg_postinst_ontarget_${PN} ().
| Deferring to first boot via 'exit 1' is no longer supported.
And the coresponding do_populate_sdk extract:
| ...
| update-alternatives: Error: not linking ...sdk/image/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/sbin/fsfreeze
| to /bin/busybox.nosuid /bin/busybox.nosuid since ...sdk/image/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/sbin/fsfreeze
| exists and is not a link
| ...
(From OE-Core rev: 94e3fdff76452d3acde42b164d3ffa6b72540a40)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
busybox may also provide a partprobe implementation, so use u-a to allow
installing them side by side.
If one installs both, busybox and parted, one gets the following error:
| ERROR: image do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
| then please place them into pkg_postinst_ontarget_${PN} ().
| Deferring to first boot via 'exit 1' is no longer supported.
And the coresponding log.do_rootfs extract:
| ...
| update-alternatives: Error: not linking ...image/rootfs/usr/sbin/partprobe to /bin/busybox.nosuid since ...image/rootfs/usr/sbin/partprobe exists and is not a link
| ...
(From OE-Core rev: 99b74d1ff23ef91c84dc81ecf6437ad3bc37fb64)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Passing --with-mpfr and --with-mpc when compiling the cross compiler
appears to be at best unnecessary, and at worst can cause build failures.
Firstly, the paths passed in gcc-cross-canadian are using the undefined
${layout_exec_prefix}. This results in configure passing
-I${STAGING_DIR_HOST}/include twice to the compiler when it's doing its
test builds. This is mostly pointless since that directory doesn't exist
with the default oe-core configuration - the correct path would be
-I${STAGING_DIR_HOST}/usr/include.
The path for mpfr passed in gcc-cross is correct, but unnecessary since it
is just the sysroot default.
I've gone back through the history, and it seems that these lines (or
similar ones) were originally added way back in
8800d8be25 for GCC 4.1.1 in 2006! I asked[1]
if anyone knew why this was necessary but received no response, so I can
only assume that no-one knows.
I've successfully built for various targets with this patch applied and
observed no problems.
[1] http://lists.openembedded.org/pipermail/openembedded-core/2018-September/155971.html
(From OE-Core rev: 2f9f02d5fda9884ccf9ae22ceb00d59b99036a49)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that we don't create images that have QA problems with their
package files by adding do_package_qa to do_rootfs[recrdeptask].
(From OE-Core rev: 4ee2f87f0c9540c7e2c866dbc9739e21a618bddf)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support explicit use of pigz when compressing the package contents by
setting:
OPKGBUILDCMD = "opkg-build -Z pigz"
(From OE-Core rev: 631e7bb7d02ca9cb9cb66e6b8395b197525cda55)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LICENSES file contains references to source files with other
licenses than GPL/LGPL that stipulate that they shall be mentioned in
any documentation accompanying a product including this library.
License-Update: Add missing LICENSES file
(From OE-Core rev: 67bc0b3babd922c800a03c1370d6d33a75f273c1)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason, the copyright part was left out of the license
information for pcre in LIC_FILES_CHKSUM, preventing it from being
used in, e.g., documentation to satisfy the requirements of the
license.
Also drop pcre/COPYING from LIC_FILES_CHKSUM as it does not really
contain any licensing information, it only refers to a LICENSE file
that does not exist.
License-Update: Include the complete license information for pcre
(From OE-Core rev: 2f5a7e7a04cbdc75d1b9607903889b1fd6c5e1ba)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.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: ec3eb678b15d91a450adf82f38e1c1d6d81fed9b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.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)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For nativesdk, symlinks created by do_install contain ${SDKPATHNATIVE}.
This is a problem with SDKs that include nativesdk-binutils and nativesdk-gcc.
When extracting such an SDK dangling symlinks are created, because
relocate_sdk.py does not adjust symlinks. As a result gcc ends up calling the
host binutils.
Use the os.path.relpath function to obtain shorter relative paths, which do not
contain ${SDKPATHNATIVE}.
(From OE-Core rev: 3d6372aa2d9f752eac0e4943d1bde04f0f1924a0)
Signed-off-by: Achille Fouilleul <achille.fouilleul@gadz.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gold crashes when linking, so use bfd linker here, another option is to
use --disable-asm but then we loose performance.
(From OE-Core rev: 4015f3279aaced1c5d9ae8a6e666c9fba42558df)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The case of sigwaitinfo related to sigwaitinfo API failed.
glibc commit
8b0e795aaa44 ("Simplify Linux sig{timed}wait{info} implementations")
changed sigwaitinfo to call sigtimedwait, which calls rt_sigtimedwait
syscall directly.
So, an invalid pointer no longer crashes child process and test
reports failure. Fix it by accepting either crash or EFAULT.
(From OE-Core rev: bfd32c0d1c335e9c9cf8340f999e15054917577e)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's likely that the certificate root chain is needed if python3-crypt is
installed, so recommend it.
Also remove the redundant nativesdk-python3-crypt assignment, as the general
form is sufficient when class-extended.
(From OE-Core rev: dd644ee9991e953474d41dbbf713a7e33b4c9141)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Freeze-breaking upgrade for a security bug fix involving cookie URLs, and a
number of static analysis fixes.
Drop CVE-2018-12910.patch as this is merged in 2.62.3.
(From OE-Core rev: a8098782fab87498026a09c06716b631c77c5ad6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool doesn't like patches without subjects, so add meaningful subjects.
(From OE-Core rev: 3056a2e5d8b7e7285fd9680073a5ab613a4066e4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches are all upstream now, so mark as Backport.
(From OE-Core rev: 9a84114a279000329c2878a35f197a09217cd1fc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current run-ptest script prints nothing, when stress tests fail.
Fix it in new implementation, discarding external dependency on sed.
Also leave in place all stress output, just add standard ptest result.
Fixes: 3f0106bf2e41 ("libusb: Add ptest")
(From OE-Core rev: cd05029c78dea48c20f9acb2c5fee56b19193f22)
Signed-off-by: Maksym Kokhan <maksym.kokhan@globallogic.com>
Reviewed-by: Andrii Bordunov <andrii.bordunov@globallogic.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)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CMakeLists.txt of piglit uses pkgconfig internally.
This makes sure pkgconfig-native is available in any case.
(From OE-Core rev: ac8f27b441b9e8cee969e06e22759d49e05e1b11)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Builds include host /usr/include as the wrong wayland variable was used.
The issue only surfaces if CMAKE_SYSROOT is properly set.
(From OE-Core rev: d4b942c97831f6717b34caaaf2402efdffa227ba)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport two and pick some other in-review patches from Ubuntu to fix
ssl test failures because of OpenSSL 1.1.x changes.
Fixes [YOCTO #12788]
(From OE-Core rev: 4f4bbb936231dd30c3745ef573993f1062937ffd)
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>
The patch associated with the CVE-2017-8872 report was never merged into
libxml2, but a slightly different patch for the same problem was. Cherry-pick
that as a backport, which also fixes the failing test suite.
(From OE-Core rev: 512869aea6dde1bb2374601f7c4d793ac9edaa42)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some repositories may specify a relative submodule path. If this happens,
it is our responsibility to use the parents URL (ud) and handle any relative
processing ourselves.
(Bitbake rev: fd9893c338df7828b2c01f1d548aa86dfcf7c50a)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new fetcher did not run 'git submodule update' recursively.
(Bitbake rev: 377ed943357b6d47d41d84edbf971741f44affa9)
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new gitsm fetcher assumed that submodules were living directly in
the 'modules' directory, whereas they can be arbitrarily nested inside
subdirectories.
Solve it by first creating the parent of the destination directory for
the symlink and copy steps.
(Bitbake rev: 3dbc84e9c572f43209b79f3656d7dc35a6d982ba)
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating custom image recipes, the layer add for new layers
needs missing xhrLayerUrl data. Also, code is needed to check
and inform user if the newly added layer has not been cloned yet,
and provide helpful error message instead of the current frozen
dialog.
[YOCTO #12887]
(Bitbake rev: b310031972a53d0881a87a627f07bdcf7d9c6b79)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toaster users behind firewalls that block "git" access usually
require developers to add remap rules in their "~/.gitconfig"
to remap GIT accesses to HTTP* access. However, there is a
"git remote" test in Toaster that is not aware of such remaps,
resulting in a false error.
For now, disable this nice-to-have check to support this release,
and re-enable when we can add remapping accommodations for this
test.
[YOCTO #12944]
(Bitbake rev: abccd40536b366a418802c5ba8427454c2e3bb2c)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The method 'store_log_event' in 'buildinfohelper.py' always puts log
messages from CLI builds into the backlog but never takes them out.
The "close" method now forces all backlogged CLI events to be registered.
[YOCTO #12813]
(Bitbake rev: 6458cc4234337f551dfe189b6f8800d8da886c24)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shallow_tarball check is never true due a check on the caller side.
The tarball check is not related to the code on the caller side.
(Bitbake rev: 086eddcf8c7520ff5c52ce2a11ca9bf5b5fe5d7e)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To improve the readability we extract the different scenarios of why
the clonedir needs an update.
(Bitbake rev: 9038e029f4f0ab413727de76c74248cbb3cdc9ea)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12924]
Naming convention does not apply to the second recipe-creation
method described in this class. I have moved the note about that
to be under the applicable method (i.e. the first bullet).
Fixed the syntax reversal of the sample name in the example.
(From yocto-docs rev: f7f1a89043156527fa4b426c0322ad225a9f2ff1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bullet item describing what the LAYERSERIES_COMPAT variable was
written poorly (ending in a preposition). I fixed the sentence to
read more clearly.
(From yocto-docs rev: 35d09727ab527df7d54ac1316c8e825f586ebc9a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the "debug-with-srcpkg" option for the PACKAGE_DEBUG_SPLIT_STYLE
variable.
(From yocto-docs rev: 05c51e53059bf7c999a448402d60d0b16d62341b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created a new section to show how to handle dependencies when
you are doing a multiple configuration build. Put it in the
"Examples" section.
(Bitbake rev: fa42212a6cb7b64add4d6ca0f723a95c908c6b87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The BBMULTICONFIG variable is a variable used for BitBake and was
not documented in the BitBake Manual glossary. I added the
definition. I also added the variable to the example in the section
describing how to execute builds for multiple configurations.
(Bitbake rev: 836f994ec530ba82c935cb41e006d1f128885dc2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created a new example. Also added a figure for the separate
configuration file hierarchy
(Bitbake rev: f2d432674b187685591f60cec3b2980b377c63fe)
Signed-off-by: Scott Rifenbark <srifenbark@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)
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>
GitLab returns a redirect from /foo to /foo.git which older releases of Git
don't handle when cloning. These tests don't clone so the redirect works, but
let's be consistant with the structure of these URLs and add the .git suffix.
(Bitbake rev: d47febbae4ff24be259037f12bafbc14b9e2d6a8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add os-release to NON_MULTILIB_RECIPES in multilib.conf that do not do
multilib expand for os-release.
(From OE-Core rev: 361382ca16c276e1e404eab58c0956a2b6d23d7e)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The first line of output of '$CC --version' is written to check_stdint.h
as a comment line. It causes multilib install file conflict.
Do not echo compiler version info to check_stdint.h to fix the issue.
(From OE-Core rev: f9db6ac8044495f9299fb0e962d3d6838bbce08f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The first line of config file man_db.conf is the package name. It causes
multilib install file conflict. So add a patch to remove the line.
(From OE-Core rev: d138b1ec4aef88a3b0c4f1d698ed2a224c93b889)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A comment line of conf file cups-files.conf refers to var @CUPS_SERVERBIN@
is ${libdir} related and then it causes multilib install file conflict.
Remove @CUPS_SERVERBIN@ from the comment line to avoid the conflict.
(From OE-Core rev: ac4df3f83fccfa7dd75d6a913b7ab75e49a7b986)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When execute in multiple layers like meta-openembedded the execution is
aborted when some sublayer fails to get world signatures, so mark it as
an error and continue the execution in the remaining sublayers.
(From OE-Core rev: c8ab558b4fdc77ab54fbb130078c78d43740b4b8)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Musl started blocking dlopen of libs with initial-exec references into
dynamic TLS area, via
5c2f46a214
prior to that commit, musl was loading it and silently letting
subsequent TLS accesses via the miscompiled code clobber memory that
didn't belong to them
This was wrong behavior and it relied on additional space reserved by
libc in TLS space to adjust fo such broken libs, but it also fails
with glibc if the reserved space was already used up
Right fix is that mesa should be patched to remove all the
initial-exec hacks and use real TLS, and -mtls-dialect=gnu2 (TLSDESC)
should be used on archs it's supported on (i386, x86_64, and aarch64)
to make up for the lost performance, but mesa hardcodes the initial-exec,
so there must be a reason that probably is better known to mesa devs.
but we 'fixed' it for musl by adding --disable-glx-tls for mesa in OE,
which uses pthread_getspecific instead and makes is lot slower.
this caused additional problems with security flags on, it get textrels
in .text segment. Therefore this is 'second fix' to get us through this
warning.
Cause is some unknown part of mesa's x86 assembly code is broken by
readonly text segments
[ YOCTO #12918 ]
(From OE-Core rev: 27c25de38aacc98fe376422bbbee417b2b45a98e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't use the 'ptest' DISTRO_FEATURE because whilst that can be on,
PTEST_ENABLED could have been overwritten.
(From OE-Core rev: 57e41b6178bf1d88a901cda862e3e054148e86ac)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By explicitly disabling debugging we get *no* safety checks: the GLib asserts
and checks are all disabled. This is fine for absolute performance but
something that should be opt-in.
This also breaks the test suite, which relies upon the asserts to work.
(From OE-Core rev: 191f7e2b2fe09ff3276efb68ca91c853291d41f8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstreamable include-tweaking patches contained fragments that should be in
the not-upstreamable musl-specific res_ninit replacement, so move them to the
right patch.
(From OE-Core rev: 18fd5bc97e6b061eec4be0738f20fcbace6bdafe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the dnf command inside SDK does not work. We will
get error message like below:
ImportError: No module named 'dnf'
So remove it from nativesdk-packagegroup-sdk-host, otherwise,
users will get unpleasant experience if they are working inside
SDK environment on some distros like Fedora.
(From OE-Core rev: a7005a4fc5f29db796b1d258b7c259b9433848ce)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The case in ptest use `nm -Pg libcrypto.so' to check symbol presence,
if library is stripped or debug split, the case will fail.
The test case needs debug symbols then we just disable that test.
(From OE-Core rev: 28d3a4cb1ffb508018faebf088eabfd14bcf3113)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bison is needed when building kernel. Add it to nativesdk-packagegroup-sdk-host
and set BISON_PKGDATADIR for bison to use its components.
(From OE-Core rev: 8aa27e4eb2f08281329ca1a1da421c6fc376bc8d)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fix from gitlab.com/libtiff/libtiff.
nvd.nist.gov does not yet reference this patch.
(From OE-Core rev: f72c8af3f2c1ec9e4d9ffcf0cc6e7fdf572b21b9)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently for non-IA platforms, glibc is not reproducible as host system
paths are being injected into target binaries. These spread through
all target binaries on the system which link to the libc.
Add a patch which injects .file directives into the assembly pieces
and works around this issue until a better solution can be found.
(From OE-Core rev: 4d6fd8178da75f9a1870db290bbe24de5af752c9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Include cmake as part of build tree toolchain so that it is populated
into meta-ide-support's recipe-sysroot-native which is prepended to
$PATH, this ensures cmake-native is picked up first before host cmake.
(From OE-Core rev: 0b51e0b2ac6f3cc95af4061253dc76a91df91349)
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* drop one patch already applied in upstream
* this is still only partial fix for issues with -O0 and the bigger
issue might be detected in runtime as described in:
https://sourceware.org/glibc/wiki/FAQ#Why_do_I_get:.60.23error_.22glibc_cannot_be_compiled_without_optimization.22.27.2C_when_trying_to_compile_GNU_libc_with_GNU_CC.3Fhttps://sourceware.org/bugzilla/show_bug.cgi?id=19444
and tested in glibc build:
https://sourceware.org/git/?p=glibc.git;a=blob;f=include/libc-symbols.h;h=8b9273c13a19f2658105c7997267d9086adae716;hb=HEAD#l74
* restore the anonymous python to trigger fatal error when -O0 is
used (but don't restore the notes for -O, -O1, -Os
* git log --oneline 3c03baca37fdcb52c3881e653ca392bba7a99c2b..044c96f0d5595aeb0bb4e79355081c5a7f4faca5 | tee
044c96f0d5 Fix misreported errno on preadv2/pwritev2 (BZ#23579)
3a67c72c15 Fix stack overflow in tst-setcontext9 (bug 23717)
2339d6a55e i386: Use ENTRY and END in start.S [BZ #23606]
0ef2f4400c Fix strstr bug with huge needles (bug 23637)
a55e109709 Fix tst-setcontext9 for optimized small stacks.
307d04334d misc: New test misc/tst-gethostid
e7d22db29c Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679]
1fe2b9ca8a Fix segfault in maybe_script_execute.
0b79004569 regex: Add test tst-regcomp-truncated [BZ #23578]
58559f1443 regex: fix uninitialized memory access
aa8a3e4cde pthread_cond_broadcast: Fix waiters-after-spinning case [BZ #23538]
c87b5bab24 Improve ChangeLog message.
66fdfd57fe Regen RISC-V rvd ULPs
b0aa03dfff RISC-V: Fix rounding save/restore bug.
2f498f3d14 nss_files: Fix file stream leak in aliases lookup [BZ #23521]
bfcfa22589 nscd: Deallocate existing user names in file parser
d05b05d157 error, error_at_line: Add missing va_end calls
4b25485f03 Linux: Rewrite __old_getdents64 [BZ #23497]
726e1554ce hurd: Avoid PLTs for __pthread_get/setspecific
7f11842e74 hurd: Add missing symbols for proper libc_get/setspecific
* update 0031-sysdeps-ieee754-prevent-maybe-uninitialized-errors-w.patch
based on review comments in upstream and extend it to cover PPC based
on:
http://lists.openembedded.org/pipermail/openembedded-core/2018-September/156258.html
* update 0032-sysdeps-ieee754-soft-fp-ignore-maybe-uninitialized-w.patch
based on review comments in upstream
* add 0033-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch
with a fix for aarch64 build with -Os
* build tested with qemuarm, qemuarm64, qemux86, qemux86-64, qemuppc,
qemumips, qemumips64 with -O, -O1, -Os.
(From OE-Core rev: f1f38df91975f9b53933c2d2fbdca291d1872d5f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When in configured mode the archive will re-run configure itself, but that
doesn't work if there are other tasks that need to run such as cmake's
generate_toolchain_file.
Instead of hard-coding a list of classes and tasks, obtain the list of tasks
preceeding do_configure, filter out ones we don't want to re-run such as
do_patch and do_prepare_recipe_sysroot, and run those too.
(From OE-Core rev: fe26382f94d8cb7d2453d9937aee451b757252b8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some recipes don't have do_configure, or have them but are marked as noexec.
Check for their existance before hooking up dependencies.
[ YOCTO #12868 ]
(From OE-Core rev: 5c8aa1f41f04519a8ba3997c0d8e3a71fe270fae)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It doesn't make much sense to expand them to multilib, and there is an error on
qemuarm64 since grub-efi supports arm64, but doesn't support armv7a or armv7ve:
* Fixed:
MACHINE = "qemuarm64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7a"
MACHINE_FEATURES_append = " efi"
$ bitbake lib32-core-image-minimal
Also introduced a variable NON_MULTILIB_RECIPES in multilib.conf, so that we
can easily add other recipes, such as syslinux if needed.
(From OE-Core rev: 25f7c6c329038b443d36074fff45a30ba3712f7a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly disable sndio to avoid inconsistent result on different
hosts having or not having libsndio.
This must be done if we take into consideration of eSDK.
I built eSDK on Ubuntu 14.04 which has libsndio installed, and then
installed the eSDK on Fedora 27, which does not have libsndio. In
fact, on Fedora 27, I even cannot find libsndio in its repo.
The problem happens when trying to use `devtool runqemu'. The qemu
binary built on Ubuntu 14.04 needs to link to libsndio, and thus
the following error.
runqemu - ERROR - Failed to run qemu: /path/to/qemu-system-x86_64:
error while loading shared libraries: libsndio.so.6.1:
cannot open shared object file: No such file or directory
So explicitly disable sndio for libsdl2 to avoid the above problem.
(From OE-Core rev: 72c37b06b034e97e7dd7e1a20fb0ff5f96088440)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib32-packagegroup-anaconda-support have RDEPENDS to kernel-image,
but kernel-image don't have lib32, so skip it.
ERROR: QA Issue: lib32-packagegroup-anaconda-support package
lib32-packagegroup-anaconda-support - suspicious values 'kernel-image'
in RDEPENDS [multilib]
(From OE-Core rev: 24b8c61bf7dd13f7f371d3a910947a1fac062c6b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It adds ${libdir} to linker options in scripts bind9-config and
isc-config.sh. And then causes install file conflicts when install bind
andl ib32-bind both.
Inherit multilib_script.bbclass to fix this issue.
(From OE-Core rev: d3baeaf09d5d3e7548e5b2ea1b565880ea6ce994)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perl scripts ${bindir}/{gpinyin, groffer, grog} are ${libdir} related
and cause multilib install file conflicts:
| Error: Transaction check error:
| file /usr/bin/gpinyin conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
| file /usr/bin/groffer conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
| file /usr/bin/grog conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
Inherit multilib_script.bbclass to fix the errors.
(From OE-Core rev: df90cb1f4ee8918b0bc2a281b2d77444a0d037e7)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The module was accidentally included in python-misc.
Also re-run create_manifest to update the dependencies of python-sqlite3,
causing some whitespace changes.
[ YOCTO #12933 ]
(From OE-Core rev: 9c2b1a0bfc8783052b5dda344cc334b9c13736f5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We manually maintain the tests package's content and dependencies, so mark is as
special (matching create_manifest3.py).
(From OE-Core rev: b4bd4e7e26bb79223129abb9fb6e22e9045e3707)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sqlite3/__init__.py was accidentally included in python3-misc.
(From OE-Core rev: 4e397e16996662bce51608cf5e20448b9803c476)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Other recipes, such as meta-networking inetutils may also provide a man page
for syslogd.8. Use the alternatives mechanism to select the man page to
display.
This is a partial revert of commit: 988aad01b20c18a8850db0ad6dc547525d94116c
The syslogd tool itself is provided by both recipes in their respective runtime
packages. In the inet case, it is inetutils-syslogd, which has an appropriate
RCONFLICTS with the syslogd version. Only one or the other will be installed.
This is the conflict resolution the original commit of
"988aad01b20c18a8850db0ad6dc547525d94116c" was referring to.
HOWEVER, both syslogd and inetutils each only have a singular 'doc' package.
(As do most packages it seems.) Since this is the case, if both syslogd and
inetutils (not syslogd part) is requested for a configuration -- AND ---
doc-pkgs are configured in, you get an error of conflicting files.
Now does the documentation match whichever package was installed, maybe not...
but this isn't a big deal as it turns out, since most syslogd share a common set
of arguments and those are the things a run-time user would query from the man
pages.
The only alternative is to start spliting up the docs into their relevant
subpackages, as we have the runtime items. But this then complicates the
doc-pkgs processing and related...
(From OE-Core rev: 55ba9dc1f8698e23d6f59937c1494a91057b165d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prepare for release and drop sumo for the compatible list of layer names.
This will mean other layers need updating to continue to indicate compatibility
with master but that is intentional at this part of the release cycle, we want
layers to indicate compatibility and show they're up to date.
(From OE-Core rev: 9ec5a8a0f86510f7aae572dfb79e8bda73d4e0fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case the baselib is lib64 we would want to delete /usr/lib
after removing the /usr/lib/locale dir and the implementation
wanted to do that earlier as well but the fault was checking
an already removed dir (/usr/lib/locale) before trying to
remove /usr/lib as that check would always fail.
Now we simply try to delete /usr/lib after deleting
/usr/lib/locale to make sure it deletes cleanly and is empty
at the time of deletion.
(From OE-Core rev: 4dad1568f8f84ec9de4bf7235822f77a8ee6a413)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apply point release patches from upstream which includes a fix for
indefinitely spinning process and a zombie by a simple $() statement
in a long running script.
(From OE-Core rev: eb39670fb2fe9735a1a0434c63b64ec66599f850)
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For now, the RECIPE_SYSROOT of nativesdk recipes is ${WORKDIR}/recipe-sysroot
if multilib is disabled and ${WORKDIR}/nativesdk-recipe-sysroot if multilib
is enabled. And it's causing chaos. Problems I've met include:
1) 'File Exists' error when doing extend_recipe_sysroot
2) Rebuilding failure about cmake based nativesdk recipes if toggling multilib
In nativesdk.bbclass, We've set MULTILIBS to be "", and we've changed MLPREFIX
to be 'nativesdk-', I think we should also set consistent RECIPE_SYSROOT to be
${WORKDIR}/recipe-sysroot.
Below is an example showing why previous settings will cause do_prepare_recipe_sysroot
failure.
e.g.
A -> C
B -> C
A's RECIPE_SYSROOT is .../recipe-sysroot and B's RECIPE_SYSROOT is
.../nativesdk-recipe-sysroot.
As extend_recipe_sysroot function uses shared manifest, i.e., the same
manifest of C for both A and B, then there must be one of them having
the wrong manifest. And the wrong manifest results in RECIPE_SYSROOT
not cleaned up before installing new components, thus the following error.
Exception: FileExistsError: [Errno 17] File exists: xxx -> xxx
This happens when toggling multilib and also between nativesdk recipes and
crosssdk, cross-canadian recipes. The latter situation also explains
why choosing ${WORKDIR}/recipe-sysroot instead of ${WORKDIR}/nativesdk-recipe-sysroot.
If we use 'nativesdk-recipe-sysroot', we still need to modify the extend_recipe_sysroot
function to treat crosssdk and cross-canadian as special cases. Using
'recipe-sysroot' does not have this problem.
(From OE-Core rev: 665934a506cc560bfbc469f5ed095e7d54e353a5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even if the do_populate_sysroot have had set-up noexec flag, populate_sdk's
tasks were trying to find .populate_sysroot manifest file. Change noexec
flag settings to delete appreciated task.
WARNING: core-image-minimal-1.0-r0 do_sdk_depends: Manifest
build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-kernel-devsrc.populate_sysroot
not found in qemuarm armv5te armv5e armv5t armv5 armv4t armv4 arm allarch x86_64_x86_64-nativesdk (variant '')?
WARNING: core-image-minimal-1.0-r0 do_populate_sdk_ext: Manifest
build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-kernel-devsrc.populate_sysroot
not found in qemuarm armv5te armv5e armv5t armv5 armv4t armv4 arm allarch x86_64_x86_64-nativesdk (variant '')?
(From OE-Core rev: fd74848c3c06901a77057ca03f7c01aff08ee34a)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Below commit has added the unshare to alternatives but did not fix the
packaging of the changed file.
,----[ Offending commit ]
| commit 147da8fe7458a38598845958cb358bb094eba57b
| Author: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
| Date: Thu Jul 5 11:57:19 2018 +0300
|
| util-linux.inc: add fallocate & unshare to alternatives
|
| These binaries can be provided by busybox triggering a conflict in
| do_rootfs so update-alternatives needs to know about them to properly
| create the symlinks.
|
| Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
| Signed-off-by: Ross Burton <ross.burton@intel.com>
`----
(From OE-Core rev: a68f1cacb560632382f8f8ff0c7e03e39a891b29)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The prior fetcher did not know how to work with MIRRORS, and did not
honor BB_NO_NETWORK and similar.
The new fetcher approach recursively calls 'gitsm' download on each
submodule detected. This ensures that it will go throug the
standard download process.
Each downloaded submodule is then 'attached' to the original download in
the 'modules' directory. This mimics the behavior of:
git submodule init
but there is no chance it will contact the network without permission.
It then corrects upstream reference URIs.
The unpack steps simply copies the items from the downloads to the destdir.
Once copied the submodules are connected and we then run:
git submodule update
According to the git documentation, git submodule init can and will modify
the project configuration and may connect to the network. Doing the
work manually prevents this. (This manual process is allowed based
on my reading of the documentation.)
See: https://git-scm.com/book/en/v2/Git-Tools-Submodules
The small change to the existing test is due to this new code always assuming
the code is from a remote system, and not a 'local' repository. If this
assumption proves to be incorrect -- code will need to be added to deal
with local repositories without an upstream URI.
(Bitbake rev: 9c6b39adf9781fa6745f48913a97c859fa37eb5b)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the way the network related tests are skipped, based on how the
fetch tests are handled. We introduce a 'skipIfNoNetwork()' function that
will report skipped tests through the standard unit test reporting system.
[YOCTO #12928]
(Bitbake rev: 7d5af23d560b38fb5558d4ac51c3c9611d6d904f)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test case was changing the current directory, but was never restoring it
to the original location. This causes occasional failures in later test cases.
(Bitbake rev: 8c222c45148d1f21c2390d66ddd9d3e33b397f05)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test case needs to access test case files. Different versions of python
may return absolute or relative locations in __file__. Use the same approach
as other test cases in determining the location of the test files.
(Bitbake rev: 80fe44889a858bddaca230c2d49ccabfcbc236a3)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When cross-compiling for arm architecture, bjam fails to properly
detect the abi, which causes a failed conditional to omit the
assembly code that supports the platform.
(From OE-Core rev: 920f2c479c3cf30d92f79dc9098e5915c05cc5e1)
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.14 and 4.18.
(From meta-yocto rev: f7d36129adfeb0d0d5fe26675e2668c49573a32d)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A nasty corner case leads to a hang when utils.lockfile is called from
oe-core's package-manager:deploy_dir_lock (in turn called from
rootfs:_create further up the call stack) with "name" owned by root
and the user running bitbake has no write access.
Because this code runs under pseudo, the UID and EUID of the bitbake
worker process are 0, so the os.access(dirname, os.W_OK) returns True
i.e. it thinks the path is writable when in fact it's not writable.
Only later when trying to open the file an Exception it thrown because
the OS prohibits writing, but the Exception is ignored and the open is
retried leading to an infinite loop.
So this fix is to not ignore the "Permission Denied" exception.
An alternative fix would be to replace the os.access() call with an
try: open() except() at the beginning of the function.
(Bitbake rev: 0cb64d0f85b41b2fa764baf6ff7ea1b13f95004e)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the source packages are created, they need to be included in the
debug image created when IMAGE_GEN_DEBUGFS = "1" for it to be usable for
debugging.
[YOCTO #12930]
(From OE-Core rev: 5fc7fbc10bbd3a54df16db275ecd6080bc58f19e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a function siteinfo_data_for_machine to look up the data for any arch/os
pair, not just HOST_ARCH-HOST_OS.
(From OE-Core rev: 7429ed8d2a6e48cb3415113ef62348ae211aa189)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These two patches are only relevant for builds inside OpenEmbedded, so make them
native-specific.
(From OE-Core rev: 63c89efde45b4aef873e2086b201cad538e42044)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the previous attempt at this from
0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch as it wasn't quite
right, and the rest of the patch is adding the currently not upstreamable runner
option.
Add two new patches to fix both gobject-introspection and gtk-doc using native
flags for target compiles.
(From OE-Core rev: bf41247f52ffd40d91d94d1fc983f8a831b80e48)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the goal of autoconf-compatibility Meson respects $CFLAGS et al in builds.
In cross-compiled build the cross file is the one true source of flags and the
environment isn't used, but in a native build the environment will still be
respected.
As this can lead to target flags being used in the build for native binaries
(including a single native binary inside a target recipe), export
CFLAGS=${BUILD_CFLAGS) et al.
(From OE-Core rev: 4ca0002860dca771836c0ce1c7a92b79a5f2db3f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson doesn't care for the value of the endian field, but packages may want to
use it and Meson master now validates the value.
Use siteinfo to obtain the endianism and write the correct value.
(From OE-Core rev: 2f9adf05efdddf8dae9c58976ae56cf32d9e57f0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of one patch to change a warning into an exception and another to change
the message, squash the patches together as neither of the are acceptable
upstream.
(From OE-Core rev: d9e5308ebfe376814f383d61ed00b50e8bad526b)
Signed-off-by: Ross Burton <ross.burton@intel.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)
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>
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)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configure script ended up creating Makefile with
LIBDIR=/lib
which got leaked into various places including all
pkg-config .pc files where lines like (note the
double slash //):
libdir=${exec_prefix}//lib
...
Libs: -L${libdir} -lcrypto
which causes pkg-config --libs to include the full absolute path
to the recipe specific sysroot. This isn't a big problem
until something like CMake projects start generating
their own .cmake modules using this absolute path and exposing
them to sysroots of other bitbake recipes thus escaping
their recipe specific sysroots.
Then the fun begins when these users of the .cmake module start
to randomly fail builds with error messages like:
/home/builder/src/base/build/tmp/work/corei7-64-linux/package/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-linux/../../libexec/x86_64-linux/gcc/x86_64-linux/7.3.0/ld: cannot find /lib/libpthread.so.0
/home/builder/src/base/build/tmp/work/corei7-64-linux/package/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-linux/../../libexec/x86_64-linux/gcc/x86_64-linux/7.3.0/ld: cannot find /usr/lib/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.
As luck has it, this problem goes away by recompiling the recipes
alone but repeats with multiple recipes here and there when full
images are build.
A careful inspection of multi page linker command lines shows
that some linker paramaters point to libraries in a different
recipes sysroot than what bitbake was building when the task
failed.
So, fix is to remove this one extra slash from openssl
library path configuration option. This changes openssl
Makefile to have:
LIBDIR=lib
and all users of LIBDIR variable in the Makefile are already
adding slashes as path separators if that is needed.
With this the generated .pc files have:
libdir=${exec_prefix}/lib
and pkg-config --libs knows to strip the already default
sysroot path away.
This then fixes the generated .cmake files to not include
these absolute paths and fixes the random build failures
when building images.
Thanks to Thomas, Michael and Ross for debugging support!
(From OE-Core rev: d286e91bbdcecef16153313fe5e1e0e0cb469612)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Cc: Thomas Witt <thomas.witt@bmw.de>
Cc: Michael Ho <michael.ho@bmw.de>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream implemented an equivalent fix in:
c672fcc0a8d6 ("gunixmounts: Allow root to display mounts under /run/media/$username")
As a result, this change is completely broken when running as root, as
user_name is unitialised when testing strcmp(user_name, "root") so just
segfaults.
(From OE-Core rev: 547e81b678a616ebbdf2e5cc86e918966fafb894)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a race issue when compile libhtml-parser-perl and others who use MakeMaker:
[snip]
chmod 755 blib/arch/auto/HTML/Parser/Parser.so
chmod 644 "Parser.bs"
[snip]
The rule INST_DYNAMIC removes '.bs' file which are generated by BOOTSTRAP, but
the have no dependencies, so there is a race issue:
BOOTSTRAP:
touch foo.bs
chmod 755 foo.bs
INST_DYNAMIC:
rm -fr foo.bs
The error would happen when INST_DYNAMIC removes foo.bs after BOOTSTRAP touched
it but before chmod on it.
(From OE-Core rev: f33d7124cd07f776e8b05a26703f6d551357ae09)
Signed-off-by: Robert Yang <liezhi.yang@windriver.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)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note further tests needed after encountering issues.
(From OE-Core rev: ab7b7e222b88e40f2a5011fc16bbd784e6be55e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the release approaching, add thud to LAYERSERIES_CORENAMES and update
oe-core to use this release series. "sumo" will be removed during M4 in
the next couple of weeks so people need to start updating their master
layers in preperation for release.
(From OE-Core rev: 986792481fa005fe136fd4b4e388042492b1ad8a)
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: 407d6e07b09123c12c382b4a92107f002c314b05)
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)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.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)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable commits for 4.18.8/9, that comprise
the following commits:
86e014f514f9 Linux 4.18.9
175ad0cbd818 mm: get rid of vmacache_flush_all() entirely
39998fd58036 autofs: fix autofs_sbi() does not check super block type
51d34e94c470 clocksource: Revert "Remove kthread"
777c7b8464de RDMA/cma: Do not ignore net namespace for unbound cm_id
9daa1d751d51 MIPS: mscc: ocelot: fix length of memory address space for MIIM
20452f8f04a2 MIPS: WARN_ON invalid DMA cache maintenance, not BUG_ON
1c7b8cf2a76a RDMA/hns: Update the data type of immediate data
137fee538bb0 NFSv4.1: Fix a potential layoutget/layoutrecall deadlock
1256eeb12678 RDMA/hns: Add illegal hop_num judgement
b6f493453c78 f2fs: fix to do sanity check with extra_attr feature
059311916fbb f2fs: fix to propagate return value of scan_nat_page()
8d65ffb36708 f2fs: fix to do sanity check with {sit,nat}_ver_bitmap_bytesize
ea08014059c6 mfd: ti_am335x_tscadc: Fix struct clk memory leak
ff418359bfcb iommu/ipmmu-vmsa: Fix allocation in atomic context
3ca5bae4d2d8 mfd: rave-sp: Initialize flow control and parity of the port
0342426f2bf7 f2fs: fix to do sanity check with secs_per_zone
ee0b97e19865 f2fs: avoid potential deadlock in f2fs_sbi_store
d92dadb83be8 media: em28xx: Fix DualHD disconnect oops
aba03a8b544a f2fs: Fix uninitialized return in f2fs_ioc_shutdown()
eade994be5e6 f2fs: fix to wait on page writeback before updating page
f9ce9240ebbe iommu/arm-smmu-v3: Abort all transactions if SMMU is enabled in kdump kernel
1b210d52abf5 media: em28xx: Fix dual transport stream operation
088ce054c745 drm/amd/display: Prevent PSR from being enabled if initialization fails
fdc340f5a710 media: helene: fix xtal frequency setting at power on
18f4b79efb40 media: rcar-csi2: update stream start for V3M
e681be2362e8 partitions/aix: fix usage of uninitialized lv_info and lvname structures
06a557d12a90 partitions/aix: append null character to print data from disk
c57525ab6f77 media: s5p-mfc: Fix buffer look up in s5p_mfc_handle_frame_{new, copy_time} functions
3f6592445cbe Input: atmel_mxt_ts - only use first T9 instance
5864b9e06e17 dm cache: only allow a single io_mode cache feature to be requested
24983c8101c9 net: dcb: For wild-card lookups, use priority -1, not 0
e66813955581 thermal_hwmon: Sanitize attribute name passed to hwmon
8cc36414d815 thermal: rcar_thermal: avoid NULL dereference in absence of IRQ resources
273234f22e95 MIPS: generic: fix missing of_node_put()
9449bd8ff770 MIPS: Octeon: add missing of_node_put()
235fd393825b f2fs: fix to do sanity check with reserved blkaddr of inline inode
d44e0ddb577d tpm/tpm_i2c_infineon: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
d229e7ecc0cb tpm_tis_spi: Pass the SPI IRQ down to the driver
4f268d981258 f2fs: fix to skip GC if type in SSA and SIT is inconsistent
2cf9708981e7 pktcdvd: Fix possible Spectre-v1 for pkt_devs
bf5cde3c685b f2fs: try grabbing node page lock aggressively in sync scenario
b493d05c0402 net: mvneta: fix mtu change on port without link
d35bf0a213ec pinctrl/amd: only handle irq if it is pending and unmasked
d288d8163c97 gpio: ml-ioh: Fix buffer underwrite on probe error path
9b9ceea29ad2 gpio: pxa: disable pinctrl calls for PXA3xx
6871146498a7 pinctrl: imx: off by one in imx_pinconf_group_dbg_show()
9d8c6300d158 regulator: tps65217: Fix NULL pointer dereference on probe
0d268eaecd3d x86/mm: Remove in_nmi() warning from vmalloc_fault()
73941b28bcdd Bluetooth: hidp: Fix handling of strncpy for hid->name information
dc00dc4ccf8b powerpc/mm: Don't report PUDs as memory leaks when using kmemleak
81a4ff2429e7 PCI: mobiveil: Fix struct mobiveil_pcie.pcie_reg_base address type
94ee251c1ed4 PCI: mobiveil: Add missing ../pci.h include
1f1e9c39a6a7 media: em28xx: explicitly disable TS packet filter
ddd0ae7f02d4 ath10k: disable bundle mgmt tx completion event support
0bf7bf9931ad tools/testing/nvdimm: kaddr and pfn can be NULL to ->direct_access()
83d9430bd43b scsi: 3ware: fix return 0 on the error path of probe
0a964871ccea nfs: Referrals not inheriting proto setting from parent
0c8b7991f40d ata: libahci: Correct setting of DEVSLP register
d12d3336fe95 ata: libahci: Allow reconfigure of DEVSLP register
b0f09f787d38 MIPS: Fix ISA virt/bus conversion for non-zero PHYS_OFFSET
2916355cbc9c scsi: tcmu: do not set max_blocks if data_bitmap has been setup
15ce90b8346f mtd: rawnand: make subop helpers return unsigned values
e5d9ae0077a5 rpmsg: core: add support to power domains for devices
d397e7c9d663 wlcore: Set rx_status boottime_ns field on rx
b19c6e698558 ath10k: prevent active scans on potential unusable channels
23aa633d564b ath9k_hw: fix channel maximum power level test
ce5127257d99 ath9k: report tx status on EOSP
1e83b3b9c60e perf build: Fix installation directory for eBPF
e01f7c77ce21 macintosh/via-pmu: Add missing mmio accessors
14335f6beb3f powerpc/pseries: fix EEH recovery of some IOV devices
d8551bc50c57 perf evlist: Fix error out while applying initial delay and LBR
96e8b14b1f42 perf c2c report: Fix crash for empty browser
3ce0566333dd NFSv4.0 fix client reference leak in callback
aa405740d359 device-dax: avoid hang on error before devm_memremap_pages()
f2d46f40bb92 perf tools: Allow overriding MAX_NR_CPUS at compile time
528000132554 ASoC: soc-pcm: Use delay set in component pointer function
9590fe082ac4 f2fs: fix to detect looped node chain correctly
7d2914dac206 f2fs: fix defined but not used build warnings
86750bef4029 f2fs: issue discard align to section in LFS mode
14580e8d9655 f2fs: Keep alloc_valid_block_count in sync
2ab744266b20 f2fs: do not set free of current section
9a83044805f9 f2fs: fix to active page in lru list for read path
b70fdc0ffc14 IB/IPoIB: Set ah valid flag in multicast send flow
17732e7759e8 iwlwifi: pcie: don't access periphery registers when not available
a1354f0d718a uio: fix possible circular locking dependency
40dc1eb129a5 tty: rocket: Fix possible buffer overwrite on register_PCI
e951163fb87c Drivers: hv: vmbus: Cleanup synic memory free path
15e5a96b1e1a firmware: vpd: Fix section enabled flag on vpd_section_destroy
386b28c2de45 uio: potential double frees if __uio_register_device() fails
baec9ce83ad5 misc: ti-st: Fix memory leak in the error path of probe()
7fef1a4f376a gpu: ipu-v3: default to id 0 on missing OF alias
0bbd7344b42a media: camss: csid: Configure data type and decode format properly
b3f70869623d timers: Clear timer_base::must_forward_clk with timer_base::lock held
5a149d67afa9 md/raid5: fix data corruption of replacements after originals dropped
b54ac5fd6d6a scsi: target: fix __transport_register_session locking
9db9eb8c4e30 scsi: lpfc: Fix driver crash when re-registering NVME rports.
abe0bde4dd8c blk-mq: fix updating tags depth
a73a10b78563 clk: scmi: Fix the rounding of clock rate
846f4edf32b6 scsi: qla2xxx: Silent erroneous message
8e2b7c2c14f5 scsi: qla2xxx: Fix session state stuck in Get Port DB
549f85194379 scsi: qla2xxx: Fix unintended Logout
8246055b5c6b net: phy: Fix the register offsets in Broadcom iProc mdio mux driver
e78e5a975500 media: dw2102: Fix memleak on sequence of probes
e88a48b70c31 media: davinci: vpif_display: Mix memory leak on probe error path
c3b51c11c836 selftests/bpf: fix a typo in map in map test
c9feebab869c powerpc/4xx: Fix error return path in ppc4xx_msi_probe()
35fa5df6c79a powerpc/powernv: Fix concurrency issue with npu->mmio_atsd_usage
7e3d17181c13 gpio: tegra: Move driver registration to subsys_init level
9a5cbf5c84a1 pinctrl: berlin: fix 'pctrl->functions' allocation in berlin_pinctrl_build_state
074f319a5c13 Bluetooth: h5: Fix missing dependency on BT_HCIUART_SERDEV
516771283149 i2c: aspeed: Add an explicit type casting for *get_clk_reg_val
e6ab983acd1b ethtool: Remove trailing semicolon for static inline
0906eb972eea ALSA: hda/realtek - Add mute LED quirk for HP Spectre x360
c6fe80156828 misc: mic: SCIF Fix scif_get_new_port() error handling
40b9d96cea9f tc-testing: remove duplicate spaces in connmark match patterns
86bebb604160 tc-testing: flush gact actions on test teardown
e114758826f5 ARC: [plat-axs*]: Enable SWAP
f688bf1511c9 switchtec: Fix Spectre v1 vulnerability
5b7497c02dac x86/apic/vector: Make error return value negative
0d07d02abd58 x86/process: Don't mix user/kernel regs in 64bit __show_regs()
c6f8e398c10e x86/microcode: Update the new microcode revision unconditionally
e0a8f85b0aee x86/microcode: Make sure boot_cpu_data.microcode is up-to-date
875872547357 cpu/hotplug: Prevent state corruption on error rollback
6b7b020bef06 cpu/hotplug: Adjust misplaced smb() in cpuhp_thread_fun()
a4db12abb871 ALSA: hda - Fix cancel_work_sync() stall from jackpoll work
ce987db2b52f memory: ti-aemif: fix a potential NULL-pointer dereference
8bf0dc8d0a67 ACPI / LPSS: Force LPSS quirks on boot
e8cc3b38a0b6 ARC: [plat-axs*/plat-hsdk]: Allow U-Boot to pass MAC-address to the kernel
18d40b7836d4 KVM: x86: Do not re-{try,execute} after failed emulation in L2
4ff64069721a KVM: x86: Default to not allowing emulation retry in kvm_mmu_page_fault
3e88f92cd118 KVM: x86: Merge EMULTYPE_RETRY and EMULTYPE_ALLOW_REEXECUTE
172c718af8b2 KVM: x86: Invert emulation re-execute behavior to make it opt-in
9a89243cb1c7 KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO instr
a7e360b1086b KVM: x86: SVM: Set EMULTYPE_NO_REEXECUTE for RSM emulation
625a6bcb11a2 KVM: s390: vsie: copy wrapping keys to right place
33cd6d44e8c6 KVM: PPC: Book3S HV: Use correct pagesize in kvm_unmap_radix()
9e7e9f25ef3e KVM: arm/arm64: Clean dcache to PoC when changing PTE due to CoW
a2359d3d80fe arm64: KVM: Only force FPEXC32_EL2.EN if trapping FPSIMD
e9773e97f502 Btrfs: fix data corruption when deduplicating between different files
29d76c9853a2 btrfs: fix qgroup_free wrong num_bytes in btrfs_subvolume_reserve_metadata
15c4b1902f0e cifs: connect to servername instead of IP for IPC$ share
dc0416dcd3ab smb3: check for and properly advertise directory lease support
d88717b6ce78 SMB3: Backup intent flag missing for directory opens with backupuid mounts
521983976c38 MIPS: VDSO: Match data page cache colouring when D$ aliases
67b987648258 android: binder: fix the race mmap and alloc_new_buf_locked
c583d8956d83 block: bfq: swap puts in bfqg_and_blkg_put
d927dea6392d block: don't warn when doing fsync on read-only devices
56935391aba9 nbd: don't allow invalid blocksize settings
e847a545edae scsi: lpfc: Correct MDS diag and nvmet configuration
faeb7c279e48 mac80211: don't update the PM state of a peer upon a multicast frame
15a6f8974a8c memory_hotplug: fix kernel_panic on offline page processing
f1549c67f23f mm/hugetlb: filter out hugetlb pages if HUGEPAGE migration is not supported.
c0cbb9e5d448 HID: input: fix leaking custom input node name
81bb35902b63 HID: i2c-hid: Fix flooded incomplete report after S3 on Rayd touchscreen
7bc3f187fd30 HID: core: fix grouping by application
e114a409eef6 HID: multitouch: fix Elan panels with 2 input modes declaration
b94023f1ab51 i2c: i801: fix DNV's SMBCTRL register offset
824ca3763057 i2c: xiic: Make the start and the byte count write atomic
dfba61ec760e Linux 4.18.8
d27f3eb84d52 ASoC: wm8994: Fix missing break in switch
e496c9a4c17d HID: redragon: fix num lock and caps lock LEDs
838ddbf08cc7 x86: kvm: avoid unused variable warning
d9b47449c1a1 kvm: x86: Set highest physical address bits in non-present/reserved SPTEs
f9acfbec6652 kbuild: make missing $DEPMOD a Warning instead of an Error
30566a3520bb x86/xen: don't write ptes directly in 32-bit PV guests
22b734b0c850 x86/pae: use 64 bit atomic xchg function in native_ptep_get_and_clear
9fdac0148450 debugobjects: Make stack check warning more informative
977f362a1f7b drm/amdgpu: Don't warn on destroying a pinned BO
ff9ac76caaee drm/amdgpu: Warn and update pin_size values when destroying a pinned BO
e2a81121f62a drm/amdgpu: Make pin_size values atomic
df058ec846fe drm/amdgpu: Keep track of amount of pinned CPU visible VRAM
dd458c42c28a x86/tsc: Prevent result truncation on 32bit
009a091aae1c drm/i915: set DP Main Stream Attribute for color range on DDI platforms
7a5d47d5faa3 mm: respect arch_dup_mmap() return value
153fedc6ba32 uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name
97cdbf04a052 drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse"
15ca3cf67c18 drm/amdgpu: fix incorrect use of drm_file->pid
dd4a6ffb5bc1 drm/amdgpu: fix incorrect use of fcheck
0d34ba1b3d33 drm/amdgpu:add VCN booting with firmware loaded by PSP
e765455ea299 drm/amdgpu:add VCN support in PSP driver
56c8d038c465 drm/amdgpu:add new firmware id for VCN
467fce24d137 drm/amdgpu:add tmr mc address into amdgpu_firmware_info
9eba3ada1217 drm/amdgpu: update tmr mc address
1e7e7a541e08 drm/amd/display: Check if clock source in use before disabling
dfe84b71296f drm/amd/display: Pass connector id when executing VBIOS CT
433009dc1b81 drm/rockchip: vop: fix irq disabled after vop driver probed
5e1f742d4bbb drm/rockchip: vop: split out core clock enablement into separate functions
2781b277d589 drm/rockchip: lvds: add missing of_node_put
590eda32ee42 drm/amd/display: Report non-DP display as disconnected without EDID
823057fc0a2c drm/amd/display: Use requested HDMI aspect ratio
691f2d763d07 drm/amd/display: update clk for various HDMI color depths
b31d6596d7d2 drm/amd/display: Don't share clk source between DP and HDMI
a74410c9d4e4 drm/amd/display: fix type of variable
401a86f73216 drm/edid: Add 6 bpc quirk for SDC panel in Lenovo B50-80
fd0f192ab66c drm/edid: Quirk Vive Pro VR headset non-desktop.
ef78d745f0fd drm/amd/pp/Polaris12: Fix a chunk of registers missed to program
e32774810036 drm/amd/powerplay: fixed uninitialized value
8ec9ca91819f drm/amd/pp: Convert voltage unit in mV*4 to mV on CZ/ST
4c518d5abdf4 drm/amdgpu: Fix RLC safe mode test in gfx_v9_0_enter_rlc_safe_mode
7acffde7a949 drm/amdgpu: fix a reversed condition
c8fe7d36e49b drm/amdgpu: update uvd_v6_0_ring_vm_funcs to use new nop packet
7ddb29b09517 drm/i915: Free write_buf that we allocated with kzalloc.
087ed76cb538 drm/i915: Increase LSPCON timeout
cfc7d9e0064b drm/i915: Nuke the LVDS lid notifier
a23feb39586a drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"
760d0077abc1 btrfs: fix mount and ioctl device scan ioctl race
49db06e7f366 btrfs: reorder initialization before the mount locks uuid_mutex
1ef9a3009ba9 btrfs: lift uuid_mutex to callers of btrfs_parse_early_options
71ddab54bee5 btrfs: lift uuid_mutex to callers of btrfs_scan_one_device
40ce21951aab btrfs: use device_list_mutex when removing stale devices
b57a7b0d4122 btrfs: rename local devices for fs_devices in btrfs_free_stale_devices(
0b40d58d469f btrfs: extend locked section when adding a new device in device_list_add
2d4bbb81bac6 btrfs: do btrfs_free_stale_devices outside of device_list_add
8515518d6365 ARM: rockchip: Force CONFIG_PM on Rockchip systems
c4e3acea0ebc arm64: rockchip: Force CONFIG_PM on Rockchip systems
3ffbbcafe9a5 btrfs: Fix a C compliance issue
c8c9b6c07166 btrfs: Don't remove block group that still has pinned down bytes
122fe306d072 btrfs: lift uuid_mutex to callers of btrfs_open_devices
f88b40c1472a btrfs: check-integrity: Fix NULL pointer dereference for degraded mount
4fb2799b05c2 btrfs: tree-checker: Detect invalid and empty essential trees
13b0dbef7dd5 btrfs: relocation: Only remove reloc rb_trees if reloc control has been initialized
4c8415cf5b5a btrfs: fix in-memory value of total_devices after seed device deletion
32455d96e3ee btrfs: replace: Reset on-disk dev stats value after replace
464a90e380f2 btrfs: Exit gracefully when chunk map cannot be inserted to the tree
f5cf5b0383e3 drm/etnaviv: fix crash in GPU suspend when init failed due to buffer placement
fc73680f9cf7 kvm: nVMX: Fix fault vector for VMX operation at CPL > 0
68b0ce42a7f4 KVM: vmx: track host_state.loaded using a loaded_vmcs pointer
ac5395827d48 drm/amd/display: Read back max backlight value at boot
5bd634167f2f clk: rockchip: Add pclk_rkpwm_pmu to PMU critical clocks in rk3399
214d87aee3af powerpc/pseries: Avoid using the size greater than RTAS_ERROR_LOG_MAX.
b070664de855 um: fix parallel building with O= option
d7e16ec6ee19 powerpc/64s: Make rfi_flush_fallback a little more robust
a4b8adb73ba1 powerpc/platforms/85xx: fix t1042rdb_diu.c build errors & warning
813cbe22dc04 smb3: if server does not support posix do not allow posix mount option
c2704b5e4688 SMB3: Number of requests sent should be displayed for SMB3 not just CIFS
31bd39126330 CIFS: fix memory leak and remove dead code
b91052f95055 smb3: fix reset of bytes read and written stats
0cf56c159d64 cfq: Suppress compiler warnings about comparisons
8b59b7c743dc RDS: IB: fix 'passing zero to ERR_PTR()' warning
fe5e418c6bc3 selinux: cleanup dentry and inodes on error in selinuxfs
c3fb1a354ccf selftests/powerpc: Kill child processes on SIGINT
0510985d1460 iommu/omap: Fix cache flushes on L2 table entries
8041b94f4eda ASoC: rt5677: Fix initialization of rt5677_of_match.data
3fb096cdad59 staging: comedi: ni_mio_common: fix subdevice flags for PFI subdevice
aee3d110a104 dm kcopyd: avoid softlockup in run_complete_job
ab131d7f7a9c PCI: mvebu: Fix I/O space end address calculation
00bb59025eaf xen/balloon: fix balloon initialization for PVH Dom0
19f2289b4ec9 Input: do not use WARN() in input_alloc_absinfo()
4d89c871694a NFSv4: Fix error handling in nfs4_sp4_select_mode()
12af4639cfe2 scsi: aic94xx: fix an error code in aic94xx_init()
d5fed61a3d2e blk-mq: count the hctx as active before allocating tag
e904dff96e84 ACPI / scan: Initialize status to ACPI_STA_DEFAULT
e1d82ba3d835 s390/dasd: fix panic for failed online processing
70866799dd6f s390/dasd: fix hanging offline processing due to canceled worker
151751ec48a2 brcmfmac: fix brcmf_wiphy_wowl_params() NULL pointer dereference
d0e21e43cd3e block: bvec_nr_vecs() returns value for wrong slab
c728031a3535 perf probe powerpc: Fix trace event post-processing
6f3bddbfb636 powerpc: Fix size calculation using resource_size()
118522ed5fa7 powerpc/uaccess: Enable get_user(u64, *p) on 32-bit
c565269d06e9 bpf: fix bpffs non-array map seq_show issue
77197f8d9628 pinctrl: axp209: Fix NULL pointer dereference after allocation
0fbcbc408cec f2fs: fix to clear PG_checked flag in set_page_dirty()
ec3fb9172b86 net/9p: fix error path of p9_virtio_probe
91ca7c5644c3 net/9p/trans_fd.c: fix race by holding the lock
8542647689ad irqchip/bcm7038-l1: Hide cpu offline callback when building for !SMP
e51977e08ef0 irqchip/stm32: Fix init error handling
e71ea647e9ae RISC-V: Use KBUILD_CFLAGS instead of KCFLAGS when building the vDSO
bd2b9872d3cb f2fs: fix avoid race between truncate and background GC
7038712b79a1 f2fs: avoid race between zero_range and background GC
aa8ce04f531f perf tools: Check for null when copying nsinfo.
6d39ab3401ff coccicheck: return proper error code on fail
243b6c6a90cc drm/amd/display: Guard against null crtc in CRC IRQ
1e0892195475 PCI: Match Root Port's MPS to endpoint's MPSS as necessary
0472229e385c net: hns3: Fix for phy link issue when using marvell phy driver
b02fd8a8dc25 block: don't warn for flush on read-only device
534dde34bb7d net: hns3: Fix for command format parsing error in hclge_is_all_function_id_zero
faba3f032e96 perf arm spe: Fix uninitialized record error variable
7da94d53075d ACPICA: ACPICA: add status check for acpi_hw_read before assigning return value
08100b285966 RDMA/hns: Fix usage of bitmap allocation functions return values
59e8e46ada76 ubi: Initialize Fastmap checkmapping correctly
58d705bdcd85 tcp, ulp: add alias for all ulp modules
30d2d473b6c2 netfilter: fix memory leaks on netlink_dump_start error
2d24a4ca6204 platform/x86: asus-nb-wmi: Add keymap entry for lid flip action on UX360
3bf9fa21774a netfilter: x_tables: do not fail xt_alloc_table_info too easilly
8dea99cf8b43 mfd: sm501: Set coherent_dma_mask when creating subdevices
c63f900720ba ipvs: fix race between ip_vs_conn_new() and ip_vs_del_dest()
df1ce63447ea s390/kdump: Fix memleak in nt_vmcoreinfo
875fefda91d4 netfilter: ip6t_rpfilter: set F_IFACE for linklocal addresses
bdcdbe6e48f0 samples/bpf: all XDP samples should unload xdp/bpf prog on SIGTERM
2262b26d750d bpf, sockmap: fix leakage of smap_psock_map_entry
ea775b698008 net/xdp: Fix suspicious RCU usage warning
7fb58bc7549d bpf, sockmap: fix sock_map_ctx_update_elem race with exist/noexist
4cd728b4b50a tcp, ulp: fix leftover icsk_ulp_ops preventing sock from reattach
98d30c6ae96a bpf, sockmap: fix map elem deletion race with smap_stop_sock
af160422460e platform/x86: intel_punit_ipc: fix build errors
56d0f1c6d4d2 fs/dcache.c: fix kmemcheck splat at take_dentry_name_snapshot()
8bca1a92d8b8 mm: make DEFERRED_STRUCT_PAGE_INIT explicitly depend on SPARSEMEM
b9f9fc3844d8 mm/fadvise.c: fix signed overflow UBSAN complaint
dfb5ad65ca17 powerpc/topology: Get topology for shared processors at boot
3940236559d1 pwm: meson: Fix mux clock names
216011668891 IB/hfi1: Invalid NUMA node information can cause a divide by zero
8fb30bf797fe i2c: core: ACPI: Make acpi_gsb_i2c_read_bytes() check i2c_transfer return value
106fabc844a1 x86/mce: Add notifier_block forward declaration
34f91b3d0e55 virtio: pci-legacy: Validate queue pfn
cad3dc0a4563 apparmor: fix an error code in __aa_create_ns()
fb6fc1b6a408 scripts: modpost: check memory allocation results
13892551c76f workqueue: re-add lockdep dependencies for flushing
b7a3d36d6c32 workqueue: skip lockdep wq dependency in cancel_work_sync()
798d80a612dd fat: validate ->i_start before using
739956488c79 fs/proc/kcore.c: use __pa_symbol() for KCORE_TEXT list entries
69177abd89a5 iommu/rockchip: Move irq request past pm_runtime_enable
d30de7347e29 hfsplus: fix NULL dereference in hfsplus_lookup()
5a476ca109bc iommu/rockchip: Handle errors returned from PM framework
9f0114724473 reiserfs: change j_timestamp type to time64_t
df67ae0bd579 fs/proc/vmcore.c: hide vmcoredd_mmap_dumps() for nommu builds
0de1a99801ff fork: don't copy inconsistent signal handler state to child
19ca1a2830e9 sunrpc: Don't use stack buffer with scatterlist
3d872bd5ae87 hfs: prevent crash on exit from failed search
84ac254ed287 hfsplus: don't return 0 when fill_super() failed
8043c90bada1 cifs: check if SMB2 PDU size has been padded and suppress the warning
ded39314abc0 hv_netvsc: ignore devices that are not PCI
c56a2888ac2b vhost: correctly check the iova range when waking virtqueue
a6fddbba3e63 mlxsw: spectrum_switchdev: Do not leak RIFs when removing bridge
98c4cc4c81e8 sctp: hold transport before accessing its asoc in sctp_transport_get_next
eb4f28d8f9e0 nfp: wait for posted reconfigs when disabling the device
ade76212f72a ip6_vti: fix a null pointer deference when destroy vti6 tunnel
b7f172c4b692 ip6_vti: fix creating fallback tunnel device for vti6
aff760646722 Revert "net: stmmac: Do not keep rearming the coalesce timer in stmmac_xmit"
e366979eb8f0 r8169: set RxConfig after tx/rx is enabled for RTL8169sb/8110sb devices
0981fb60a006 net/mlx5: Fix SQ offset in QPs with small RQ
2ff8354c2317 net/ipv6: Put lwtstate when destroying fib6_info
b24b39afa411 net/ipv6: Only update MTU metric if it set
6568eedbe939 net/ipv6: init ip6 anycast rt->dst.input as ip6_input
078e7d112fbc ipv6: don't get lwtstate twice in ip6_rt_copy_init()
23f64bad173c net: macb: Fix regression breaking non-MDIO fixed-link PHYs
630403ba9183 erspan: set erspan_ver to 1 by default when adding an erspan dev
0f6387a1087d sctp: remove useless start_fail from sctp_ht_iter in proc
b68d53c36108 tipc: fix the big/little endian issue in tipc_dest
78d378ed13e8 hv_netvsc: Fix a deadlock by getting rtnl lock earlier in netvsc_probe()
36b59c8e48e4 tipc: fix a missing rhashtable_walk_exit()
f6fb6b2993ab net/sched: act_pedit: fix dump of extended layered op
a2cea09396bd bnxt_en: Do not adjust max_cp_rings by the ones used by RDMA.
e779d52e66d1 bnxt_en: Clean up unused functions.
510fd03c5231 net: sched: action_ife: take reference to meta module
e57d65cf4692 act_ife: fix a potential deadlock
5c1dfc425994 act_ife: move tcfa_lock down to where necessary
8563554006c5 vti6: remove !skb->ignore_df check from vti6_xmit()
028d57cc5e44 tcp: do not restart timewait timer on rst reception
ad99830d972c r8169: add support for NCube 8168 network card
2b3b1f121306 r8152: disable RX aggregation on new Dell TB16 dock
5379200c84c2 qlge: Fix netdev features configuration.
9c03cfa220c1 net: sched: Fix memory exposure from short TCA_U32_SEL
716fc5ce90cf net: macb: do not disable MDIO bus at open/close time
5b47db7fa7b1 net: bcmgenet: use MAC link status for fixed phy
e242b5c405b9 ipv4: tcp: send zero IPID for RST and ACK sent in SYN-RECV and TIME-WAIT state
f5c34c4a092e act_ife: fix a potential use-after-free
(From OE-Core rev: 0f455c8a37223617fffb3aac06325bf0a79cbe2a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.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)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.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)
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>
Updating the 4.18 kernel with the latest -stable releases that comprise
the following commits:
8ea7eadbef2f Linux 4.18.7
239043b876b8 arm64: mm: always enable CONFIG_HOLES_IN_ZONE
a70bc6c6a621 cpuidle: menu: Retain tick when shallow state is selected
7f401f160a9c udf: Fix mounting of Win7 created UDF filesystems
c1ef3feca667 fs/quota: Fix spectre gadget in do_quotactl
7ab1035b3fc6 crypto: caam/qi - fix error path in xts setkey
3290dec64398 crypto: caam/jr - fix descriptor DMA unmapping
f39f1f81c74e crypto: caam - fix DMA mapping direction for RSA forms 2 & 3
26b165edc3e4 crypto: arm64/sm4-ce - check for the right CPU feature bit
dce1a2c6f339 crypto: aesni - Use unaligned loads from gcm_context_data
61c8901dbf43 crypto: vmx - Fix sleep-in-atomic bugs
8d02bd8d4a6c perf auxtrace: Fix queue resize
5ad671c8520d mm, dev_pagemap: Do not clear ->mapping on final put
ff1663fc9483 cap_inode_getsecurity: use d_find_any_alias() instead of d_find_alias()
476738bbc962 kconfig: fix "Can't open ..." in parallel build
a0725910f3e2 bcache: release dc->writeback_lock properly in bch_writeback_thread()
437d23a6792a libnvdimm: fix ars_status output length calculation
54ce46aa9870 libnvdimm: Use max contiguous area for namespace size
118cb27721f9 getxattr: use correct xattr length
fd13ae7e102a udlfb: set line_length in dlfb_ops_set_par
f551b193299b udlfb: handle allocation failure
0b5373ea7298 udlfb: make a local copy of fb_ops
af0890aa4565 udlfb: set optimal write delay
76aab4b1d804 udlfb: don't switch if we are switching to the same videomode
1a5656245bd6 udlfb: fix display corruption of the last line
27f6b46dd248 udlfb: fix semaphore value leak
1a9ec6296e18 fb: fix lost console when the user unplugs a USB adapter
f72831f9cbb6 pwm: tiehrpwm: Fix disabling of output of PWMs
e0e08ede24c9 pwm: tiehrpwm: Don't use emulation mode bits to control PWM output
3ce08627b3e3 ubifs: Fix synced_i_size calculation for xattr inodes
f9b28f9a2b7f ubifs: Fix directory size calculation for symlinks
cef393ce9aea ubifs: xattr: Don't operate on deleted inodes
ce0504b74d04 ubifs: Check data node size before truncate
aa8298662e52 Revert "UBIFS: Fix potential integer overflow in allocation"
3863ba26f271 ubifs: Fix memory leak in lprobs self-check
7131c193fcc3 userns: move user access out of the mutex
1497f1e0714a sys: don't hold uts_sem while accessing userspace memory
11f44063756f iommu/vt-d: Fix dev iotlb pfsid use
e7feba89574d iommu/vt-d: Add definitions for PFSID
3245925a8e9c iommu/ipmmu-vmsa: Don't register as BUS IOMMU if machine doesn't have IPMMU-VMSA
2d0363ffc0ab mm/tlb: Remove tlb_remove_table() non-concurrent condition
6bdfc65b5062 pwm: omap-dmtimer: Return -EPROBE_DEFER if no dmtimer platform data
1ba930714d12 ARM: dts: am57xx-idk: Enable dual role for USB2 port
da43c1c103c8 ARM: tegra: Fix Tegra30 Cardhu PCA954x reset
1750f49b26c2 NFSv4: Fix a sleep in atomic context in nfs4_callback_sequence()
c8f825303e49 NFSv4: Fix locking in pnfs_generic_recover_commit_reqs
b8cbfd88d132 NFSv4 client live hangs after live data migration recovery
e16dac834b32 nfsd: fix leaked file lock with nfs exported overlayfs
f7169718defc pnfs/blocklayout: off by one in bl_map_stripe()
6ee996baf1ab block, bfq: return nbytes and not zero from struct cftype .write() method
fbd0c9d27ccb xtensa: increase ranges in ___invalidate_{i,d}cache_all
27077422f951 xtensa: limit offsets in __loop_cache_{all,page}
3bb34bba5624 KVM: PPC: Book3S: Fix guest DMA when guest partially backed by THP pages
f90625c7172b KVM: VMX: fixes for vmentry_l1d_flush module parameter
09747f7004ab i2c: designware: Re-init controllers with pm_disabled set on resume
7bb7ef09b3db ALSA: ac97: fix unbalanced pm_runtime_enable
d7cff0016036 ALSA: ac97: fix check of pm_runtime_get_sync failure
52977303d997 ALSA: ac97: fix device initialization in the compat layer
cd67823c9d34 PM / sleep: wakeup: Fix build error caused by missing SRCU support
00e4955e677b cpufreq: governor: Avoid accessing invalid governor_data
f83952c64769 cpuidle: menu: Handle stopped tick more aggressively
cc8ea9dd0c24 sched: idle: Avoid retaining the tick when it has been stopped
fe759487ee98 drivers/block/zram/zram_drv.c: fix bug storing backing_dev
1cc1c4e06562 ACPICA: Clear status of all events when entering sleep states
ab08867f08e4 ACPICA: AML Parser: skip opcodes that open a scope upon parse failure
0c3339c82b9e ovl: fix wrong use of impure dir cache in ovl_iterate()
8856ca57dcb1 mfd: hi655x: Fix regmap area declared size for hi655x
f8d649720924 uprobes: Use synchronize_rcu() not synchronize_sched()
ee20433f60ae livepatch: Validate module/old func name length
640d29c1236e printk/tracing: Do not trace printk_nmi_enter()
cfe603dd4e39 tracing/blktrace: Fix to allow setting same value
b0d32c7b0cda tracing: Do not call start/stop() functions when tracing_on does not change
187bee9b94fb rtc: omap: fix potential crash on power off
949d4ca049eb rtc: omap: fix resource leak in registration error path
ad7a3f8c456f vmw_balloon: fix VMCI use when balloon built into kernel
32b5be5b44e9 vmw_balloon: VMCI_DOORBELL_SET does not check status
45696b968345 vmw_balloon: do not use 2MB without batching
f288edefc2c6 vmw_balloon: fix inflation of 64-bit GFNs
a5e6360c4322 eventpoll.h: wrap casts in () properly
5f4a5b6fed24 extcon: Release locking when sending the notification of connector state
cbdfa40c8187 iio: ad9523: Fix return value for ad952x_store()
10508adb4df0 iio: ad9523: Fix displayed phase
5ef899676e25 iio: sca3000: Fix missing return in switch
35949ad3f2d7 Drivers: hv: vmbus: Reset the channel callback in vmbus_onoffer_rescind()
4f8eac4396c7 Drivers: hv: vmbus: Fix the offer_in_progress in vmbus_process_offer()
d7b108aae76c uart: fix race between uart_put_char() and uart_shutdown()
6cdc67be3e12 dm writecache: fix a crash due to reading past end of dirty_bitmap
d94cf7087099 dm crypt: don't decrease device limits
25b25e552439 dm cache metadata: set dirty on all cache blocks after a crash
7bbb3231d6f7 dm cache metadata: save in-core policy_hint_size to on-disk superblock
f308e9fbe04f dm thin: stop no_space_timeout worker when switching to write-mode
0da098366e8c dm integrity: change 'suspending' variable from bool to int
6d7bd0a68a4a net/9p/trans_fd.c: fix race-condition by flushing workqueue before the kfree()
fe7e153d9564 net/9p/client.c: version pointer uninitialized
372ed5efc933 9p/virtio: fix off-by-one error in sg list bounds check
ba74c64c00a5 fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed
db6cb8a7c458 9p: fix multiple NULL-pointer-dereferences
a34932007267 RDMA/rxe: Set wqe->status correctly if an unexpected response is received
8a3f37b0da74 ib_srpt: Fix a use-after-free in __srpt_close_all_ch()
41cc5e9aff78 ib_srpt: Fix a use-after-free in srpt_close_ch()
2ea037fe87b1 RDMA/mlx5: Fix shift overflow in mlx5_ib_create_wq
c34579cc3ea7 overflow.h: Add arithmetic shift helper
74d835f7fdf7 IB/srpt: Support HCAs with more than two ports
32a46b60c50e IB/srpt: Fix srpt_cm_req_recv() error path (2/2)
e46df54477b4 IB/srpt: Fix srpt_cm_req_recv() error path (1/2)
103a3a62e0fb IB/mlx5: Fix leaking stack memory to userspace
e48fd87e93e1 IB/mlx5: Honor cnt_set_id_valid flag instead of set_id
7ab793382972 ocxl: Fix page fault handler in case of fault on dying process
9833940072b3 cxl: Fix wrong comparison in cxl_adapter_context_get()
6757519a48ca powerpc/powernv/pci: Work around races in PCI bridge enabling
96f829b77bf1 powerpc64/ftrace: Include ftrace.h needed for enable/disable calls
d4e41dc984f2 powerpc/nohash: fix pte_access_permitted()
bb691eafb6df powerpc/pkeys: Preallocate execute-only key
44d146b99b08 powerpc/pkeys: Fix calculation of total pkeys.
5e2727bf84c5 powerpc/pkeys: Save the pkey registers before fork
0d86f5345672 powerpc/pkeys: key allocation/deallocation must not change pkey registers
72ebe30452ef powerpc/pkeys: Deny read/write/execute by default
8ed3d6a90178 powerpc/pkeys: Give all threads control of their key permissions
174f12c1f3ef powerpc/pseries: Fix endianness while restoring of r3 in MCE handler.
8bfd9029bc79 powerpc/64s: Fix page table fragment refcount race vs speculative references
7c0850fb2b60 powerpc/fadump: handle crash memory ranges array index overflow
ec4ad94be6ce Fix kexec forbidding kernels signed with keys in the secondary keyring to boot
54fb49e87c23 Replace magic for trusting the secondary keyring with #define
686baf538b8c mailbox: xgene-slimpro: Fix potential NULL pointer dereference
71849f9c7c55 media: Revert "[media] tvp5150: fix pad format frame height"
a0e70000075e libertas: fix suspend and resume for SDIO connected cards
9be8dc35bceb dma-buf: Move BUG_ON from _add_shared_fence to _add_shared_inplace
e561eea4a424 apparmor: fix bad debug check in apparmor_secid_to_secctx()
ac89e9c33de3 block: Ensure that a request queue is dissociated from the cgroup controller
d367a6927ffd block: Introduce blk_exit_queue()
d9ef3176a398 blkcg: Introduce blkg_root_lookup()
0c2e7eb1a4c3 block: really disable runtime-pm for blk-mq
cde67159df4d block: blk_init_allocated_queue() set q->fq as NULL in the fail case
4bc567311980 block: fix infinite loop if the device loses discard capability
d3949a0a1341 readahead: stricter check for bdi io_pages
3a9bc441b671 mmc: renesas_sdhi_internal_dmac: fix #define RST_RESERVED_BITS
74b83d076cdf mmc: renesas_sdhi_internal_dmac: mask DMAC interrupts
cf8871c4121c mmc: block: Fix unsupported parallel dispatch of requests
e27421b3b394 spi: cadence: Change usleep_range() to udelay(), for atomic context
db597647506d spi: spi-fsl-dspi: Fix imprecise abort on VF500 during probe
3b45f480496c spi: pxa2xx: Add support for Intel Ice Lake
e52c91662cef spi: davinci: fix a NULL pointer dereference
b84ea5862258 9p/net: Fix zero-copy path in the 9p virtio transport
8c37a4ca229d net: mac802154: tx: expand tailroom if necessary
6ce27549cc14 net: 6lowpan: fix reserved space for single frames
832fa8183637 rcu: Make expedited GPs handle CPU 0 being offline
3a2c23838bc5 Linux 4.18.6
8e6d15678656 x86/dumpstack: Don't dump kernel memory based on usermode RIP
6575b15002bf cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status
f90252556e1a watchdog: Mark watchdog touch functions as notrace
0f9bf062f1f1 power: generic-adc-battery: check for duplicate properties copied from iio channels
7ffb7b7e8348 power: generic-adc-battery: fix out-of-bounds write when copying channel properties
86b0dd9d0ebc PM / clk: signedness bug in of_pm_clk_add_clks()
350192f495ae clk: npcm7xx: fix memory allocation
a8b0c3c7c494 clk: rockchip: fix clk_i2sout parent selection bits on rk3399
f905fc199d7d mtd: rawnand: qcom: wait for desc completion in all BAM channels
21ab6022cb67 mtd: rawnand: marvell: add suspend and resume hooks
f05cb63dc0dc mtd: rawnand: fsmc: Stop using chip->read_buf()
307b0cf42c9b mtd: rawnand: hynix: Use ->exec_op() in hynix_nand_reg_write_op()
d47b35b84da5 iscsi target: fix session creation failure handling
9558fc1bab40 scsi: core: Avoid that SCSI device removal through sysfs triggers a deadlock
807d1d299a04 scsi: sysfs: Introduce sysfs_{un,}break_active_protection()
373a1411a103 scsi: mpt3sas: Fix _transport_smp_handler() error path
8039fa72ff4d scsi: mpt3sas: Fix calltrace observed while running IO & reset
7624ac8705f5 tpm: separate cmd_ready/go_idle from runtime_pm
b64b3b46074e tpm: Return the actual size when receiving an unsupported command
d07d4e8b68fd MIPS: lib: Provide MIPS64r6 __multi3() for GCC < 7
8f55e1f507d6 MIPS: Change definition of cpu_relax() for Loongson-3
9238ea28869e MIPS: Always use -march=<arch>, not -<arch> shortcuts
8d6a4b45018c MIPS: memset.S: Fix byte_fixup for MIPSr6
d06e5e4a8a28 MIPS: Correct the 64-bit DSP accumulator register size
968a9a4a8a97 kprobes: Make list and blacklist root user read only
2f56c8af315b kprobes/arm: Fix %p uses in error messages
10334e1ad3d0 kprobes: Replace %p with other pointer types
b143efb4242c kprobes: Show blacklist addresses as same as kallsyms does
d6c96d240daa s390/purgatory: Add missing FORCE to Makefile targets
5a2e51f95908 s390/purgatory: Fix crash with expoline enabled
87509861a989 s390/pci: fix out of bounds access during irq setup
b51627dc7fdb s390/numa: move initial setup of node_to_cpumask_map
d695333c5de6 s390/qdio: reset old sbal_state flags
dacf5e594708 s390: fix br_r1_trampoline for machines without exrl
6a32f6f857af s390/lib: use expoline for all bcr instructions
120c776a2ab1 s390/mm: fix addressing exception after suspend/resume
77207a7ee4b6 x86: Allow generating user-space headers without a compiler
3fef5c2f4d9c x86/entry/64: Wipe KASAN stack shadow before rewind_stack_do_exit()
b1491daecd6e hwmon: (nct6775) Fix potential Spectre v1
2ff13cec042e x86/speculation/l1tf: Increase l1tf memory limit for Nehalem+
084c0d5b4cf5 x86/spectre: Add missing family 6 check to microcode check
c6941f12e9e4 x86/irqflags: Mark native_restore_fl extern inline
20a103149aa5 x86/nmi: Fix NMI uaccess race against CR3 switching
aa3ad4314551 x86/vdso: Fix lsl operand order
306f625c2231 scsi: qla2xxx: Fix stalled relogin
82964fac7ac2 pinctrl: freescale: off by one in imx1_pinconf_group_dbg_show()
f8fa13e1f53a soc: qcom: rmtfs-mem: fix memleak in probe error paths
e550a74a7d12 ASoC: wm_adsp: Correct DSP pointer for preloader control
00bdd9bfd3eb ASoC: sirf: Fix potential NULL pointer dereference
cde7486adce1 ASoC: zte: Fix incorrect PCM format bit usages
aeb4906d3222 ASoC: dpcm: don't merge format from invalid codec dai
a8d156323e5b b43/leds: Ensure NUL-termination of LED name string
579cdda6ba4c b43legacy/leds: Ensure NUL-termination of LED name string
dccaa28ec448 udl-kms: avoid division
930e10ea2156 udl-kms: fix crash due to uninitialized memory
723119f9aab5 udl-kms: handle allocation failure
69900129d68f udl-kms: change down_interruptible to down
684ca9975c53 lib/vsprintf: Do not handle %pO[^F] as %px
15b584de9ab1 fuse: Add missed unlock_page() to fuse_readpages_fill()
c00f07a1f66c fuse: Fix oops at process_init_reply()
e4631745286f fuse: umount should wait for all requests
19e0fafd9e68 fuse: fix unlocked access to processing queue
bcdb9bd38da6 fuse: fix double request_end()
6ffb58d4f74e fuse: fix initial parallel dirops
8bebc8585fab fuse: Don't access pipe->buffers without pipe_lock()
9b4b6acf0280 KVM: x86: SVM: Call x86_spec_ctrl_set_guest/host() with interrupts disabled
150b420a2959 KVM: x86: ensure all MSRs can always be KVM_GET/SET_MSR'd
1e227ae17f08 x86/process: Re-export start_thread()
e0fb4e0e375e x86/vdso: Fix vDSO build if a retpoline is emitted
0ea75fa0f6bd x86/speculation/l1tf: Suggest what to do on systems with too much RAM
ed1fa683e01b x86/speculation/l1tf: Fix off-by-one error when warning that system has too much RAM
63da8b8a387b x86/speculation/l1tf: Fix overflow in l1tf_pfn_limit() on 32bit
e43594dabdc8 mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE
575a66cbe443 mm: move tlb_table_flush to tlb_flush_mmu_free
8c7181608026 platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too
6ef37c5f0142 platform/x86: wmi: Do not mix pages and kmalloc
6bdd19331fc6 x86/gpu: reserve ICL's graphics stolen memory
4debdc1d06a7 nvme-pci: add a memory barrier to nvme_dbbuf_update_and_check_event
7036ab018947 ext4: fix race when setting the bitmap corrupted flag
eafb2d82ca7e ext4: reset error code in ext4_find_entry in fallback
3f2541a7e58c ext4: sysfs: print ext4_super_block fields as little-endian
6891c3c114fc ext4: use ext4_warning() for sb_getblk failure
f34a0bc19575 ext4: check for NUL characters in extended attribute's name
55472d881c48 stop_machine: Atomically queue and wake stopper threads
3fc7316acc67 stop_machine: Reflow cpu_stop_queue_two_works()
19a5808f8b73 perf kvm: Fix subcommands on s390
32a52f0bded3 s390/kvm: fix deadlock when killed by oom
1d0bd8c92361 KVM: arm/arm64: Skip updating PTE entry if no change
c7bcb09e4e35 KVM: arm/arm64: Skip updating PMD entry if no change
166b04aee70e KVM: arm/arm64: Fix lost IRQs from emulated physcial timer when blocked
52df41f653bb KVM: arm/arm64: Fix potential loss of ptimer interrupts
5c2fd3598fb8 arm64: dts: rockchip: corrected uart1 clock-names for rk3328
88e798da7c29 arm64: mm: check for upper PAGE_SHIFT bits in pfn_valid()
ca41d82d4e66 arm64: Handle mismatched cache type
faed5cb96b91 arm64: Fix mismatched cache line size detection
bc10c237ecd8 kprobes/arm64: Fix %p uses in error messages
a4ed70a386c0 printk/nmi: Prevent deadlock when accessing the main log buffer in NMI
50631d1b2613 printk: Create helper function to queue deferred console handling
b0eea4d14b94 printk: Split the code for storing a message into the log buffer
2297091c7a6c iommu/arm-smmu: Error out only if not enough context interrupts
b5563064b99e regulator: arizona-ldo1: Use correct device to get enable GPIO
29ac604e627b bpf, arm32: fix stack var offset in jit
6289b80699af hwmon: (k10temp) 27C Offset needed for Threadripper2
df5c4d19606d Btrfs: send, fix incorrect file layout after hole punching beyond eof
23dd2c5d90a1 Btrfs: fix send failure when root has deleted files still open
7ecc8a106c53 Btrfs: fix btrfs_write_inode vs delayed iput deadlock
84717fb63dad Btrfs: fix mount failure after fsync due to hard link recreation
8b08e816f47a btrfs: don't leak ret from do_chunk_alloc
258c1eb7cde6 btrfs: use correct compare function of dirty_metadata_bytes
fb35368feb7f smb3: fill in statfs fsid and correct namelen
107d9ee2e080 smb3: don't request leases in symlink creation and query
1316a0cc27d1 smb3: Do not send SMB3 SET_INFO if nothing changed
25b981bfe192 smb3: enumerating snapshots was leaving part of the data off end
a66f62737197 cifs: check kmalloc before use
a1ac808c81a6 cifs: use a refcount to protect open/closing the cached file handle
5ba293d099ce cifs: add missing debug entries for kconfig options
52b9e2a58be2 CIFS: fix uninitialized ptr deref in smb2 signing
a673044fbe8b cifs: add missing support for ACLs in SMB 3.11
08aee5c2c26f mei: don't update offset in write
6bdbaa2fdd48 xprtrdma: Fix disconnect regression
84342771f595 scsi: libsas: dynamically allocate and free ata host
16edb8e6d472 scripts/kernel-doc: Escape all literal braces in regexes
10bb2648f16c PATCH scripts/kernel-doc
(From OE-Core rev: db4c334fc376d7f7eab46fa956195020a1d3aee7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.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)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During deploy we iterate over KERNEL_IMAGETYPES twice, with no consumer
of our changes in the interim. Collapse these two loops into one.
(From OE-Core rev: 8d3139640ed4cd4e196dc2d1f6ae02d612fb9564)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When usrmerge is enabled the kernel modules aren't under /lib, but /usr/lib;
ensure we fetch the modules from the correct location so we don't have a
tarball which consists of a single symlink.
(From OE-Core rev: 62d2d7d12dda69d6019a1a2d5492450487e41bfd)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When deploying the its file, the target of the symlink is missing the its
extension, add it here.
(From OE-Core rev: df72761760d453b2dfc7cc2fa1344bb016df9712)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 65cded55fa96b1ba72149a31689c081ac27af7f7.
The fitImage deployed here is the one generated in kernel-fitimage.bbclass,
whereas the one deployed by kernel-fitimage.bbclass is a raw image, so we
need the one deployed here keeping.
(From OE-Core rev: 798d2acc0141b13da7ddd18875a417b2df9d57b3)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot-mkimage-native is needed to build any type of uImages, be it
the uImage target itself or for example uImage.lzma. The dependency
however gets only added when at least one of KERNEL_IMAGETYPE and
KERNEL_ALT_IMAGETYPE is exactly uImage. Building uImage.bin and uImage.lzma is
not possible this way.
This patch adds a dependency to u-boot-mkimage-native for all imagetypes which
contains the string uImage.
(From OE-Core rev: ac4ce0b07b2742c64d44f988ecb27e7200b5a0bc)
Signed-off-by: Reto Schneider <code@reto-schneider.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCC's built-in spec for LD is missing a space after
"--eh-frame-hdr" thus with the next option merged together they
are not understood by LD and so LD fails.
Back-port from upstream GCC, see:
892142379c
(From OE-Core rev: 0757187bdbed3025b022a82dd85ee35dc7b71f1f)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679]
A NULL value can happen with certain gethostbyname_r failures.
Before this patch, there is a Segmentation fault
as below:
# /mybuild/hostid
Segmentation fault
# gdb /mybuild/hostid
GNU gdb (GDB) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-wrs-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /mybuild/hostid...done.
(gdb) r
Starting program: /mybuild/hostid
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7f0330e in gethostid () at ../sysdeps/unix/sysv/linux/gethostid.c:125
125 memcpy (&in, hp->h_addr,
(gdb) bt
#0 0x00007ffff7f0330e in gethostid () at ../sysdeps/unix/sysv/linux/gethostid.c:125
#1 0x0000555555555159 in main ()
# cat /mybuild/hostid.c
#include <stdio.h>
#include <unistd.h>
int
main(int argc, char *argv[])
{
long hostid;
hostid = gethostid();
printf("the hostid is %ld\n", hostid);
}
(From OE-Core rev: 92c266fd9b1c4034a13bd5b102d1817df388a7b5)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the basic architecture site info targets for the LatticeMico32
architecture. This architecture does not target Linux.
(From OE-Core rev: 216f8ea907c8ac7e580e33dcbd12c0f30608bf74)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lm32 architecture does not support linux-user within QEMU as it is
not a Linux supported target.
(From OE-Core rev: 2f6c85da5202cdd0d2da2ce53e0a62b09a711b16)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the ELF definition for the LaticeMico32 architecture. This
architecture is 'elf' OS only as it does not target Linux.
(From OE-Core rev: d14f86f39a25649c923deecc24a283ba968b13f5)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some targets do not populate any content into libdir, so make sure it is
created before attempting to move files/directories into it.
(From OE-Core rev: f8d7394f314041de7bcbf06ccb6405f64c68fad0)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add trust-paths PACKAGECONFIG item which enables support for default
trust-paths in /etc/ssl/certs/ca-certificates.crt
(From OE-Core rev: d63f16f03ad60ab77fd5c78de1bbf1f248c51c6e)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
p11-kit is no longer doing odd/even for development/stable releases, so
drop the custom UPSTREAM_CHECK_GITTAGREGEX.
(From OE-Core rev: 1a38f27342c5a40f81e579b2d0feb7b6e9880ac7)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Clutter class's ability to switch between tarballs and git isn't really
useful, so remove it. If it comes back, it should use the devupstream class.
(From OE-Core rev: 6150ec737bad895b9fb62f711449a259887ebd1b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes build for older versions of git which don't follow redirects
properly if the .git suffix is missing.
(From OE-Core rev: 77c353cc9bdfbf1b6453b2579b72726db05eb69c)
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>
virgl driver should be enabled for qemux86/qemux86-64 machines, or else
it will cause runtime issue due to virtio_gpu driver missing.
(From OE-Core rev: 5f143ceb1fac06ac84370ceb0cf0fba656effdf8)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This incorporates two fixes for large inodes, which hopefully solves some of the
rare mysterious behaviour.
(From OE-Core rev: 6921e7f91eb646a2b7b865eccd91552825a4ab78)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of having a patch that upstream won't accept, rewrite it in a
upstreamable way and <gasp> submit it upstream.
The fundamental problem is that pkg-config --variable=sdkdir will return the
value of sdkdir literally, whereas --cflags will return -I${sdkdir} *but* will
do sysroot relocation magic on the path so it is usable.
(From OE-Core rev: 4af34cb1193fe86b862566becfb560b3d19155f4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is forcing input to use SIGIO, despite the fact that since 2015
xserver has used an input thread.
(From OE-Core rev: cde11398e6d74ad8f27334199b4bd99cdf1f0ff7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This package doesn't exist anymore so the manifest tool doesn't need to handle
it specially.
(From OE-Core rev: 30eadb119a64d8561b946d5b8ee30244caeaf134)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the bulk of the tests in python3-tests, some more in
python3-sqlite3-tests, and others in their parent module (such as
python3-ctypes). This is pointless space usage if we're not planning on running
the tests, so consolidate all the tests into python3-tests.
(From OE-Core rev: 554d3690dab49fee3c93b6b677eb3ef58cff64c1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't sort the manifest when using it to generate packaging rules, so ordering
can be used to have complex packaging rules.
(From OE-Core rev: 80dae6218efd25c92b9c43360e0846bb0af56c7e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of sorting the entire manifest when it is updated, use OrderedDict to
preserve the order of fields. This means that packages can be ordered in the
manifest to allow non-trivial FILES assignments (such as a package that picks up
pieces of other packages)
The manifest has been regenerated with the new stable ordering, and
distutils-staticdev moved above distutils so the packaging rules work as
expected.
(From OE-Core rev: 1c67c2146e3644a26367a32885d27a4378f17ac6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the bulk of the tests in python-tests, some more in
python-sqlite3-tests, and others in their parent module (such as
python-ctypes). This is pointless space usage if we're not planning on
running the tests, so consolidate all the tests into python-tests.
This is a backport of the same changes done by Ross Burton for python3
Changes since v1:
- Rebase
(From OE-Core rev: 0e94737e7124f689c3697d4227bfcd228cc04295)
Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't sort the manifest when using it to generate packaging rules, so
ordering can be used to have complex packaging rules.
This is a backport of the same changes done by Ross Burton for python3
Changes since v1:
- Rebase
(From OE-Core rev: 5a5a97b1c3914ad4a3e94981bf53897d0a3f4fb3)
Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of sorting the entire manifest when it is updated, use
OrderedDict to preserve the order of fields.This means that
packages can be ordered in the manifest to allow non-trivial
FILES assignments (such as a package that picks up pieces of
other packages)
The manifest has been regenerated with the new stable ordering, and
distutils-staticdev moved above distutils so the packaging rules work as
expected.
This is a backport of the same changes done by Ross Burton for python3
Changes since v1:
- Moved distutils-staticdev above distutils so packaging rules work
as expected.
Changes since v2:
- Rebase
(From OE-Core rev: 3c62c42ebde9dd4acdc74c56160d6ce8639b497c)
Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For non-python developers it's difficult to identify where start
searching in case of errors. Fixing and marking the string to
grep for might help finding some root causes of issues slightly
quicker.
(From OE-Core rev: 44fff749ee7bfe47e88286aec1e8a22e63079ca7)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-fsck expects util-linux-fsck passing a number of options that
busybox fsck doesn't interpret. It then continues silently when run, so
disks end up not having fsck run at all.
Move util-linux-fsck from RRECOMMENDS to RDEPENDS to ensure we have the
fsck which systemd expects.
(From OE-Core rev: 409c3424250d55d1c5549841ddae22288aaa4859)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The linking/copying of the package files failes if the deploy dir is set
in a non normalized way e.g. like this DEPLOY_DIR = "${TOPDIR}/../deploy"
Then the simple string replacement which is used to calculated the link
destination from the link source fails, as the link source is normalized
but the deploydir prefix is not.
Normalizing deploydir fixes this.
(From OE-Core rev: e0ebfaa92bbfd3158b48e28dfb6435890c73bef3)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrades to 3.3.3 release and drop the backported patches when
doing the recipe update.
(From OE-Core rev: 60d99a4e64fdddbbe5863fa5879c813fa004600b)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
44d4fca Merge https://github.com/pmachata/linux-firmware
253a573 brcm: update firmware for bcm43362 sdio
3cee728 Mellanox: Add new mlxsw_spectrum firmware 13.1703.4
ccab6c7 rtl_bt: Add firmware and configuration files for the Bluetooth part of RTL8822CU
75d2b12 Mellanox: Add new mlxsw_spectrum firmware 13.1703.4
85c5d90 nvidia: switch GP10[2467] to newer scrubber/ACR firmware (from GP108)
License-Update: new firmware files additions
(From OE-Core rev: f82738fd14f18fab368b397faac2f70167b16b8a)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The testcases of fcntl fail on 32-bit arch
To cope with glibc commit:
06ab719d30b0 ("Fix Linux fcntl OFD locks for non-LFS architectures
(BZ#20251)")
Make OFD command use fcntl64() syscall on 32-bit.
(From OE-Core rev: 67fca07c9487ccd1a28357da32c9987c00d1ba77)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Consolidate the rmdir of multiple directories with the use of -p to
delete the leaf empty directory and any empty ancestor directories.
(From OE-Core rev: ba2f5ad890ecf94f541d84cc04669a6b02990d39)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Log both the source of the source_date_epoch and the resulting
source_date_epoch in all cases.
Also, now that we are determining the source_date_epoch successfully for both
yocto and non-yocto kernels, remove the inherits_class('kernel') exception.
We will log a failure to find a source_date_epoch for kernels as well.
(From OE-Core rev: 48fe0e83435f9fb53b1e5b37d5d9f1c2caccd22d)
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>
Change the search regime for find_git_folder():
1. WORKDIR/git: This is the default git fetcher unpack path
2. ${S}
3. Go looking for .git/ under the WORKDIR as a last resort.
linux-yocto:
We had an existing (silent) defect. The linux-yocto recipes all specify
two git SRC_URIs, one for the kernel source itself, the other for the
kmeta data (config fragments and friends). find_git_folder() was finding
the git checkout for the kmeta data, but due to a typo in the git log -1
--pretty=%ct line, we were (silently) reading the source_date_epoch from
the ${S} directory = STAGING_KERNEL_DIR, which is empty. If your
build/ happened to be inside a git checkout, git would walk up the
directory tree, and silently read the commit timestamp from this other
git checkout. The correct path to read the git commit timestamp from is
the "gitpath", being that found by find_git_folder(), though this
function was incorrectly finding the kmeta data checkout, not the kernel
source tree.
Non-kernel git recipes:
The default git fetcher clones and checks out the sources at
WORKDIR/git/ regardless of the setting of S (unless subpath or
destsuffix is set). find_git_folder() now looks for the
WORKDIR/git/.git/ directory first.
Non-yocto linux kernels:
Kernel recipes that don't inherit kernel-yocto should always set
S = ${WORKDIR}/git, so that when base_do_unpack_append() in
kernel.bbclass moves the checkout down to the STAGING_KERNEL_DIR and
symlinks it as WORKDIR/git, the build can still work by following the
symlink. We were previously failing to follow the symlink in the
os.walk(), but we now look first for WORKDIR/git/.git/, and find it due
to the symlink.
If none of the above mechanisms work for finding the git checkout,
perhaps there was a subpath or destsuffix specified in the SRC_URI.
We go looking for the git checkout under the WORKDIR as a last resort.
(From OE-Core rev: b0ddb141d36853447f85ecaac07dbc9c5779627f)
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>
Upstream is moving to Meson, so backport a patch to use that instead of
autotools.
(From OE-Core rev: d297f7ebf3f62528d055e1938a9693d6f3a61935)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix some failed info like:
| ./test/test-bus: relocation error: ./test/test-bus: symbol
| _dbus_threads_init_debug, version LIBDBUS_PRIVATE_1.10.10 not defined
| in file libdbus-1.so.3 with link time reference
| FAIL: test/test-bus
In run-ptest, LD_LIBRARY_PATH is set to /usr/lib, but when multilib
is enabled, /usr/lib64 will be used. fix by replace with correct path.
(From OE-Core rev: d1bdf962dc3f121066bd7efb451dd9072b881718)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rtmpdump is not a build dependency for gstreamer1.0-plugins-bad even if
rtmp is enabled. This wouldn't compile anyway due to the
openssl/openssl10 incompatibility because rtmpdump requires openssl10.
(From OE-Core rev: f9b7de219ae03b48843f65a49d90822b33d34534)
Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream doesn't assume a monotonic clock isn't available anymore, so we can
remove this patch.
(From OE-Core rev: 25e034b4c3854a7a9190c4deee7fbca6ba4a8c47)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a step towards running pebuilt applications for glibc on musl
There are many realworld applications which are not always built from
source, especially provided by third party
Package the glibc symlinks into new package musl-glibc-compat
(From OE-Core rev: 8ea0680462c506e01244d3fd3d35e6b2f805ada6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this makes it possible to use this for musl where we are trying to
create a glibc compat package
Add missing aarch64 loader definition for glibc function
(From OE-Core rev: 0a02ea79ec522582b46138a027eb166819e5647d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed below patches, as v9.25 source already has those
changes/security fixes:
0001-Bug-699665-memory-corruption-in-aesdecode.patch
0001-pdfwrite-Guard-against-trying-to-output-an-infinite-.patch
0002-Bug-699656-Handle-LockDistillerParams-not-being-a-bo.patch
0003-Fix-Bug-699660-shading_param-incomplete-type-checkin.patch
0004-Hide-the-.shfill-operator.patch
0005-Bug-699657-properly-apply-file-permissions-to-.tempf.patch
remove-direct-symlink.patch
Re-worked ghostscript-9.21-native-fix-disable-system-libtiff.patch
and ghostscript-9.21-prevent_recompiling.patch
to fix warnings in do_patch task of ghostscript v9.25 recipe.
Highlights of ghostscript v9.25 release:
---------------------------------------
- This release fixes problems with argument handling, some unintended results
of the security fixes to the SAFER file access restrictions
(specifically accessing ICC profile files), and some additional security
issues over the recent 9.24 release.
- Note: The ps2epsi utility does not, and cannot call Ghostscript with
the -dSAFER command line option. It should never be called with input
from untrusted sources.
- Security issues have been the primary focus of this release, including
solving several (well publicised) real and potential exploits.
- As well as Ghostscript itself, jbig2dec has had a significant amount of work
improving its robustness in the face of out specification files.
- IMPORTANT: We are in the process of forking LittleCMS. LCMS2 is not thread
safe, and cannot be made thread safe without breaking the ABI.
Our fork will be thread safe, and include performance enhancements
(these changes have all be been offered and rejected upstream). We will
maintain compatibility between Ghostscript and LCMS2 for a time, but not in
perpetuity. Our fork will be available as its own package separately from
Ghostscript (and MuPDF).
- The usual round of bug fixes, compatibility changes, and incremental
improvements.
(From OE-Core rev: 4340928b8878b91b5a2750eb6bc87918740511ca)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A) gdbserver sends SIGINT not to the process, but to the process
group (-signal_pid). But the attached process is not always a
process group leader. If not, "kill (-signal_pid, SIGINT)" returns
error and fails to interrupt the attached process. We cannot interrupt
the process attached with gdbserver who is not a process group leader.
This problem was created by the gdb upstream commit 78708b7c8c
The commit fixed the following case B) bug.
B) We cannot interrupt the process attached with gdbserver whose
main thread exits (pthread_exit()).
Now this patch can solve both A) and B).
(From OE-Core rev: 435f671981a090bd06e8f3bf3436d58d531afd49)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current configuration for debian-mips64 is not correct,
'SIXTY_FOUR_BIT_LONG' need to be specified. otherwise,
it will cause other recipe like crda compile failed since
use default THIRTY_TWO_BIT mode.
(From OE-Core rev: 68f82ceb289149885eb0b04547cb4f79a680183b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since following change:
allarch: only enable allarch when multilib is not used
the sstate-diff-machines.sh reports different signature for target-sdk-provides-dummy
when multilib is enabled
=== Comparing signatures for task do_populate_sysroot.sigdata between qemux86 and qemux86copy ===
ERROR: lib32-target-sdk-provides-dummy different signature for task do_populate_sysroot.sigdata between qemux86 and qemux86copy
basehash changed from b0a44b2c7003b6b4aa3a023d9cb9fe82 to 3a59fa25ddb6a95aff079d477ebf3457
Variable SSTATE_MANMACH value changed from 'qemux86' to 'qemux86copy'
ERROR: target-sdk-provides-dummy different signature for task do_populate_sysroot.sigdata between qemux86 and qemux86copy
basehash changed from 9e44f1deb3d15886ee96db1a3332764c to 6b417d08a5113c9b06d13b3681f5ab4f
Variable SSTATE_MANMACH value changed from 'qemux86' to 'qemux86copy'
It's using:
inherit allarch
python() {
# Put the package somewhere separate to ensure it's never used except
# when we want it
# (note that we have to do this in anonymous python here to avoid
# allarch.bbclass disabling itself)
d.setVar('PACKAGE_ARCH', '${DUMMYARCH}')
}
and DUMMYARCH = "sdk-provides-dummy-target"
The difference as shown with bitbake -e before and after reverting allarch.bbclass commit:
before revert:
$SSTATE_MANMACH [2 operations]
set? oe-core/meta/classes/sstate.bbclass:61
"${SSTATE_PKGARCH}"
set sstate.bbclass:100 [__anon_111_oe_core_meta_classes_sstate_bbclass]
"machineName"
pre-expansion value:
"machineName"
SSTATE_MANMACH="machineName"
$SSTATE_PKGARCH
set oe-core/meta/classes/sstate.bbclass:11
"${PACKAGE_ARCH}"
SSTATE_PKGARCH="sdk-provides-dummy-target"
$PACKAGE_ARCH [3 operations]
set oe-core/meta/conf/bitbake.conf:150
[_defaultval] "${TUNE_PKGARCH}"
set oe-core/meta/conf/documentation.conf:304
[doc] "The architecture of the resulting package or packages."
set dummy-sdk-package.inc:12 [__anon_12_oe_core_meta_recipes_core_meta_dummy_sdk_package_inc]
"${DUMMYARCH}"
pre-expansion value:
"${DUMMYARCH}"
PACKAGE_ARCH="sdk-provides-dummy-target"
after revert:
$SSTATE_MANMACH
set? oe-core/meta/classes/sstate.bbclass:61
"${SSTATE_PKGARCH}"
SSTATE_MANMACH="allarch"
$SSTATE_PKGARCH [2 operations]
set oe-core/meta/classes/sstate.bbclass:11
"${PACKAGE_ARCH}"
set sstate.bbclass:98 [__anon_111__oe_core_meta_classes_sstate_bbclass]
"allarch"
pre-expansion value:
"allarch"
SSTATE_PKGARCH="allarch"
$PACKAGE_ARCH [4 operations]
set oe-core/meta/conf/bitbake.conf:150
[_defaultval] "${TUNE_PKGARCH}"
set oe-core/meta/conf/documentation.conf:304
[doc] "The architecture of the resulting package or packages."
set oe-core/meta/classes/allarch.bbclass:5
"all"
set dummy-sdk-package.inc:12 [__anon_12_oe_core_meta_recipes_core_meta_dummy_sdk_package_inc]
"${DUMMYARCH}"
pre-expansion value:
"${DUMMYARCH}"
PACKAGE_ARCH="sdk-provides-dummy-target"
the relevant part of the anonymous python in sstate.bbclass:
elif bb.data.inherits_class('allarch', d) and d.getVar("PACKAGE_ARCH") == "all":
d.setVar('SSTATE_PKGARCH', "allarch")
else:
d.setVar('SSTATE_MANMACH', d.expand("${PACKAGE_ARCH}"))
So with allarch.bbclass change, the PACKAGE_ARCH isn't set to "all" because multilib is enabled,
but that causes sstate.bbclass to set SSTATE_MANMACH to MACHINE instead of SSTATE_PKGARCH
allarch, where it got MACHINE is still a bit of mystery to me.
(From OE-Core rev: f25cc92cfd692fd23f21fd736243b81f116fd37a)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* use base_bindir like busybox does to prevent conflicting u-a configs
(From OE-Core rev: ae947ffd0c1531b6a3df250199bff38cce2f5533)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tested for qemuarm, qemux86 with -O, -O0, -Os, with gcc
* to build with -O0 I had to remove restriction from systemtap first
(From OE-Core rev: be3d12c6b1003348f1dabec9d2253f22b42f0387)
Signed-off-by: Martin Jansa <Martin.Jansa@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)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because the find | cpio processes execute in parallel connected via
the pipe, and the cpio outputs in the same dir find searches for
source files, the cpio will be included in itself partially, depending
on how fast the build machine creates the cpio file before cpio
gobbles it up.
This bloats the ISO image, though compression reduces the .iso file size,
once the kernel decompresses the cpio image and boots it live, it uses
up to double the RAM memory.
Fix this by creating the initrd.cpio file directly inside cr_workdir.
(From OE-Core rev: 7a7b29f5f1392f4f87af4f20cda99c66b4789fde)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since openssh support oepnssl 1.1.x, there is no reason
to keep libressl.
(From OE-Core rev: 30121a78555574f49b321566fcab172417bdf3e3)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Convert from tarball to git repository which support
openssl 1.1.x
- There is no specific minor version that contains the
openssl fix (it was merged to master a few days agao),
rename recipe version to `7.8p1+git'
- Fix regression test binaries missing
In commit `1f7aaf7 openssh: build regression test binaries', it build
regression test binaries, since upstream add two binaries in commits
`c59aca8 Create control sockets in clean temp directories' and
`1acc058 Disable tests where fs perms are incorrect', we should update
do_compile_ptest.
[ptest log]
|/usr/lib/openssh/ptest/regress/test-exec.sh: line 330: /usr/lib/openssh/
ptest/regress/mkdtemp: No such file or directory
[ptest log]
(From OE-Core rev: 9d48cb3da696add33315cf129fe60102bd9756c9)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When updating to xorg-xserver 1.20+, mips64 would not work correctly and
cause the xorg test to fail.
Changing the DefaultDepth fixed that.
[Yocto # 12845]
(From OE-Core rev: 46c72077a79ec7a37daefe78ba0f6230ee36bfbf)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
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>
Udev-extraconf works correctly with sysvinit in the aspect of automounting
block devices. But it has a serious problem in case of systemd. Block devices
automounted by udev is unaccessible to host space(out of udevd's private
namespace). For example, we cannot format those block devices.
e.g.
root@qemux86:~# mkfs.ext4 /dev/sda1
mke2fs 1.43.8 (1-Jan-2018)
/dev/sda1 contains a ext4 file system
last mounted on Tue Apr 3 06:22:41 2018
Proceed anyway? (y,N) y
/dev/sda1 is apparently in use by the system; will not make a filesystem here!
Other distributions has no such problem, because they use a series of rules to
manager block devices. Different types of block devices match different rules.
But udev-extraconf just use one rule, automount.rules, which results in this
problem.
The 'systemd-mount' command is recommended by the systemd community to solve such
problems.
This patch makes use of 'systemd-mount' to solve the above problem.
[YOCTO #12644]
(From OE-Core rev: a0b3389c5afc23f622f793cbad8b4135093e6f08)
(From OE-Core rev: 4af22800a7af4fcb80cafe08d982a4850d9dd2ad)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Navit recipe can depend on fribidi which is now part of oe-core. Since the
pkgconfig lookup is based on pkgdata the results can change depending on what
has been built, which leads to occasional failures.
Build gtk+ before the test to ensure that the pkgdata is populated with more of
the dependencies, and add fribidi to the generated DEPENDS checklist.
(From OE-Core rev: d180dc758710c7259d45eeb9304e7284a8fd8825)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kdump.service only needs filesystems to be up, for which sysinit.target
is sufficeint. basic.target pulls in networking and other services which
are unnecessary for kdump. This is also useful for when kdump.service is
used as the boot target (e.g. for the kdump kernel) and only a minimal
system needs to be brought up.
(From OE-Core rev: 6f709f0c5a4ce57e522a65774fd567013b95d82e)
Signed-off-by: Andrew Bresticker <abrestic@waymo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set SYSTEMD_PACKAGES and SYSTEMD_SERVICE so that kdump.service actually
gets installed.
(From OE-Core rev: 0e9cafe732b7f4e47f4e9b32ffbc2ebf9715d18d)
Signed-off-by: Andrew Bresticker <abrestic@waymo.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)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BPF Linux ELF objects are generated with kernel-selftests with
>= 4.18 kernel and when clang is enabled which packages BPF objects
into packages, therefore recongnise this as a valid ELF target
Add a selftest for BPF
Do not flag BPF objects in target, since they pretty much will be ok for
most of kernels architectures we care do support BPF
(From OE-Core rev: 3667a8ec016bae3f8026ef7b4c895546804f6368)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tr is available in busybox, but not in toybox. Just use sed instead.
(From OE-Core rev: 518cca6711f737f44ff74a5ac1308de8c9b49e78)
Signed-off-by: Andrew Bresticker <abrestic@waymo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid coreutils conflicts with nice from other recipes, like
busybox - even if that's not enabled by default.
In situations, where coreutils is a dependency for -dev images
and small busybox nice is available always, it avoids extra
effort for coreutils for those users.
(From OE-Core rev: 57b1b20abca7d6821e99802147b93f4f577cfad0)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to human error an older revision of the SSL patch was merged.
(From OE-Core rev: 325af0f4a821971a7aeeca35b10e3558f86029e0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables instead of hard-coding to remove another variation between
releases.
(From OE-Core rev: 6f6b384799bf093fabac90230dcdef1541ea9c75)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of forcibly disabling Bluetooth (support for Bluetooth sockets in the
socket module), add a PACKAGECONFIG. The default remains disabled for
consistency.
(From OE-Core rev: fd5b497cc8a2f9f93f732070123b073bfb6d2eca)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For target Python we use the libffi that we build, so we don't need to
autoreconf the in-tree libffi.
(From OE-Core rev: 12626b26aca281d0d5ee90dc15627083a517fa3b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
_PYTHON_PROJECT_BASE and _PYTHON_PROJECT_SRC appear to be set in setup.py from
the source directory and build directory correctly, so this is redundant.
(From OE-Core rev: 983206d4ccab2b27adba2776f73c0c711d3ec98e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of including the Py2 python.inc and having to undo some of the
assignments, create a new python3.inc to hold the common configuration.
Over time we can move more from the recipes into this file to unify the target
and native recipes.
(From OE-Core rev: fc4767113adbdfbf4aeaaf6dd8605e7fd4bbaa46)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can use this parameter to make the wic use the label to name a
partition in /etc/fstab.
(From OE-Core rev: 51638edaa00befaed58e2def255d46ae44d9234f)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Match it to definitions in
arch/<ARCH>/include/uapi/asm/termbits.h
(From OE-Core rev: 3e222bf3e0631b385dc46b02b6ba890451c291b2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set configure option '--with-rootlibexecdir' for eudev to fix udev.pc file conflict:
| file /usr/share/pkgconfig/udev.pc conflicts between attempted installs of eudev-dev-3.2.5-r0.core2_64 and lib32-eudev-dev-3.2.5-r0.x86
It alway sets 'udevdir' in udev.pc with value '/lib/udev' that systemd
does the same thing.
(From OE-Core rev: 2585f4252a3831bf9c5e6ab69d9da2c1325e6bc0)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix install files conflicts between multlib packages by inherit multilib_script:
| file /usr/bin/cairo-trace conflicts between attempted installs of lib32-libcairo-perf-utils-1.14.12-r0.x86 and libcairo-perf-utils-1.14.12-r0.core2_64
| file /usr/bin/icu-config conflicts between attempted installs of lib32-icu-dev-62.1-r0.x86 and icu-dev-62.1-r0.core2_64
| file /usr/bin/gpgrt-config conflicts between attempted installs of lib32-libgpg-error-dev-1.32-r0.x86 and libgpg-error-dev-1.32-r0.core2_64
(From OE-Core rev: 52f2dd97e9dd20dea0f3cdeb2df490d1a4c646aa)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The rprovides of target-sdk-provides-dummy don't be updated with
multilib, so it fails package_qa_multilib check. Because
target-sdk-provides-dummy doesn't install any file to sysroot, it is
safe to skip package_qa_multilib check for target-sdk-provides-dummy.
Remove ${MLPREFIX}target-sdk-provides-dummy from TOOLCHAIN_TARGET_TASK
at same time in populate_sdk_base.bbclass.
(From OE-Core rev: 3197c086269a4b21fb807a9c552b56f23c5b86dc)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
allarch is disabled when multilib is used, so sstate oeqa case
test_sstate_allarch_samesigs_multilib is useless. Remove check for
allarch part and rename to test_sstate_nativesdk_samesigs_multilib.
(From OE-Core rev: 32fe47ea0aea791357d3045c202cdad86b16f2ff)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Postinstall script update_gtk_immodules_cache calls
${bindir}/gtk-query-immodules-${version}. When multilib is enabled, both
packages foo and lib32-foo call ${bindir}/gtk-query-immodules-${version}
and one of them will fail to run obviously.
Duplicate install files gtk-query-immodules-${version} to ${libexecdir}
with ${MLPREFIX}. And update update_gtk_immodules_cache calls proper
binary.
(From OE-Core rev: cad28bd74438d8edbdb02a2d56169e2a55260ca8)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Packages which inherit fontcache.bbclass call postinstall script
update_font_cache. And in update_font_cache, it calls ${bindir}/fc-cache
by qemuwrapper. When multilib is enabled, both packages foo and lib32-foo
will call ${bindir}/fc-cache and one of them will fail to run obviously.
Duplicate install file fc-cache to ${libexecdir} with ${MLPREFIX} and
call proper fc-cache in update_font_cache.
(From OE-Core rev: 53d8625732b0c8416e367d5eef43863ec2065433)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update SSTATE_DUPWHITELIST in sstate.bbclass.
* remove ${DEPLOY_DIR_RPM}/noarch/ which is not overwritten any more
* add directories for package target-sdk-provides-dummy
(From OE-Core rev: 6d3ca476dbc2059f4b7fa3dfd73de6bbfed49198)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some allarch packages rdepends non-allarch packages. when multilib is
used, it doesn't expand the dependency chain correctly, e.g.
core-image-sato -> ca-certificates(allarch) -> openssl
we expect dependency chain for lib32-core-image-sato:
lib32-core-image-sato -> ca-certificates(allarch) -> lib32-openssl
it should install lib32-openssl for ca-certificates but openssl is still
wrongly required.
Only enable allarch when multilib is not used to fix the issue.
(From OE-Core rev: a23c482cab4f874f4a6a6889716123569eb5ece9)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel-fitimage.bbclass replaces an occurance of "fitImage" in
KERNEL_IMAGETYPE_FOR_MAKE by an image type that is buildable for the
architecture (such as zImage). The kernel-fitimage.bbclass packs that
image as sub-image in a flattened image tree image (fitImage) and
deploys this fitImage along with the image tree source file (.its).
kernel-fitimage.bbclass does not alter KERNEL_IMAGETYPES, which thus
also contains "fitImage", which kernel.bbclass will also deploy
redundantly with different naming.
The result is a dual deployment with slightly different naming,
each with a set of symlinks.
The solution chosen is to have fitImage deployment be handled by
kernel-fitimage.bbclass, and have kernel.bbclass ignore fitImage
types during deployment.
(From OE-Core rev: 65cded55fa96b1ba72149a31689c081ac27af7f7)
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default the devicetree class adds padding to the generated .dtb
files, which can be needed by the bootloader. However it also pads
.dtbo files, which is not useful.
Don't apply padding to the overlay devicetrees.
To achieve this:
* move "-p ${DT_PADDING_SIZE}" to a new variable, DTB_BFLAGS (B for
"base")
* add "-p 0" to DTC_OFLAGS to disable padding for overlays
Cc: Nathan Rossi <nathan@nathanrossi.com>
(From OE-Core rev: 678fe8c66b19f141f6869859cf365aec037e89d9)
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We may also need debug native tools, so make BUILD_OPTIMIZATION respect to
DEBUG_BUILD, otherwise, we need set CFLAGS in the recipe which isn't
convenient.
(From OE-Core rev: 5db09f7ad007d1def009a60d7d9bf9c13c0faa4e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can be used to simplify code like:
"${@['iffalse', 'iftrue'][var]}"
(From OE-Core rev: fc5a5af7bc3619f575988a75efc0c4fe15478b2d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc 2.28 slightly changed the behaviour of sigaddset() which broke
multiprocessing. Backport a patch from Python 3.6 to solve this.
(From OE-Core rev: df1874eda517070dab86270ffafd5fe9a307e76b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch dates back to the addition of the Python 3 recipe to oe-core, and as
listxattr is never added to supports_follow_symlinks the extended attribute
support will never be enabled.
(From OE-Core rev: 9806e141e85b4e4c38eb7b45e6f2fbc2d2aed29d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
None of the Python invocations that this changes are actually called, and
there's no need to provide a HOSTPGEN variable when the recipe can just override
PGEN directly.
(From OE-Core rev: 47a8602171428b7ce5d897f7e2c2f26b203b8b63)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With OpenSSL 1.1.x TLS 1.3 can be used, so backport a patch from Python 3.6 to
fix the ftplib unit test.
(From OE-Core rev: a31047bec6b7c368674d4620e70e526ac211b936)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in oe-core is using yasm now that gstreamer-libav and ffmpeg are using
nasm, so remove it from oe-core.
(From OE-Core rev: b7f3f7ecfdf26129c5df2d3ee14e73c4633ea5a3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to do alternatives as pkgconf and pkg-config won't be installed
at the same time, and pkg-config doesn't do alternatives either.
(From OE-Core rev: d638fe0cc84b72b9159767a862ad37550469eae8)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
harfbuzz shipped an old pkg.m4 which overruled the pkg.m4 from the sysroot.
This is now fixed upstream, but until another release is made delete it from the
source tree.
(From OE-Core rev: 44d826327e9336d7490745d5721d79809556b177)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added "baremetal" as an argument.
(From yocto-docs rev: 34cb39334d0af43f3c184adbfc53270def394154)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some re-wordings and also ran through the examples to produce
updated output.
(From yocto-docs rev: 306baeb24d2c6b45d09f44e8c8d5f55b9aef1b8d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, this is a QA warning by default, howver its a useful
check to catch configuration errors, where we might have forgotten
to update or adapt configure options on updates/upgrades to a package
(From meta-yocto rev: a75ad2e4227f715146fc1e07f9abef4e80c1aa12)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License checksum for compositor.c has changed due to extra copyright line
and year being updated - the license itself hasn't changed.
(From OE-Core rev: eed00380c95eebbd36cf66628ed7ef6e15678f10)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without a libc the gcc-runtime provider of compilerlibs does not
compile. As such avoid the default dependence on the
virtual/${TARGET_PREFIX}compilerlibs provider.
(From OE-Core rev: 61eead0cdd1f44d8c850f8e4c7389ef444bcd591)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With GCCPIE being enabled by default with security_flags.inc the
compiler will by default attempt to compile and link programs as PIE.
The targets that use newlib and baremetal in general do not support PIE
or are otherwise unable to use it due to how embedded targets are
compiled and executed. As such it makes sense to disable PIE by default
for these libc's in order to prevent build failures.
For baremetal tclibc there are no libc features or implementation as
such there is no implementation for the strong stack protector by
default.
(From OE-Core rev: dfe434b793c156a87b5ead5cb85fe60d920d69d3)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing libgloss libraries handle the ${TARGET_SYS}/lib contents
so that it is placed in ${libdir} instead of ${libdir}/lib. This
resolves a packaging QA issue.
ERROR: libgloss-3.0.0-r0 do_package: QA Issue: libgloss:
Files/directories were installed but not shipped in any package:
/usr/lib/lib
/usr/lib/lib/libnosys.a
/usr/lib/lib/nosys.specs
Please set FILES such that these items are packaged. Alternatively
if they are unneeded, avoid installing them or delete them within
do_install.
libgloss: 3 installed and not shipped files. [installed-vs-shipped]
(From OE-Core rev: 69ce8ba6cc610f310ae28d988d487918906e6ef9)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
setfattr is now provided also by busybox since 1.29.2 upgrade and
do_rootfs is failing with:
update-alternatives: Error: not linking usr/bin/setfattr to /bin/busybox.nosuid since
usr/bin/setfattr exists and is not a link
(From OE-Core rev: d633633f3d83467fe1f946c57e2e75e0e774ec7e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not doing so will make meson chose where to install init binary
based on irrelevant features of the build machine.
PACKAGECONFIG option is defined to override this behavior.
(From OE-Core rev: 4ff2282a7dc421c3ea6578c73fbbba768eeed146)
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic allows the user to create disk image and reference each created
partitions via its partition UUID.
squashfs does not support filesystem UUID but it does offer support for
partition UUID.
$ lsblk -o NAME,FSTYPE,UUID,PARTUUID
NAME FSTYPE UUID PARTUUID
sda
|-sda1 vfat 6078-ACD0 95aa4ffb-741d-4d99-adf6-0358bc890046
|-sda2 squashfs 7d46da2d-29cc-4d5a-9e39-d0381c4abb0c
|-sda3 squashfs d4a3e24e-410a-4f2c-8ad5-8f8321de177b
|-sda4 ext4 d72ec529-78e4-4cd3-b39b-781b6b1cb47c f3edc990-f4f6-4536-9587-44dae4ceb99f
`-sda5 ext4 a0b265aa-e935-40b8-9c6b-e9e58ad3890f 6e72ebaa-29ed-41cd-844c-3f76976cf41d
Modifying this constrain allows a user to create squashfs-based rootfs and boot
from them with such kernel argument 'root=PARTUUID=7d46da2d-29cc-4d5a-9e39-d0381c4abb0c'
Fixes: 2fbdcf4e59c8 ("wic: kparser.py: Check for SquashFS and use-uuid")
(From OE-Core rev: a8787bbfdf088b0ef9feb8e6b4230b743bb4086f)
Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the tui (Terminal User Interface) option to be set via a PACKAGECONFIG.
(From OE-Core rev: b4dd830e3407e1ebfbb13387fa359e356fd12ab9)
Signed-off-by: Trevor Woerner <trevor@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Asus EEEpc hardware hasn't been produced for a long time;
upstream repo is now gone.
(From meta-yocto rev: 76cd3a475ebce4ae26fc3aae0f2b43628926f7b0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running "bitbake gconf-native -c cleansstate; bitbake core-image-sato:do_populate_sdk"
results in a build where it fails to find gconf-native and fails to build it,
merrily trying to build the SDK without gconf being present.
The issue is the missing setscene tasks are effectively ignored as the later
code in runqueue thinks that since other sstate tasks are present, these
'cover' the missing one. In reality we need to call BB_SETSCENE_DEPVALID
to make that decision. To do that we need a "reduced" setscene dependency
graph which we don't have in main task graph context.
Since that was already done in setscene, we should just assume anything
in the non-covered list needs to be built.
(Bitbake rev: 464d0339add15bc8b4344ddd1e4c49706e3c0a02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user puts universe on the commandline, they don't really want warnings
so use the new verbnote level instead.
(Bitbake rev: 0c87ade5678e503899e3a6cdda5329f6fc212b63)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It has become apparant we need a log level which reaches the console but
isn't a warning/error. Add "verbnote" as a way of doing this, behaves as
a note but with a higher priority.
(Bitbake rev: 2076f12cc2f809345108b1606bd6201f41287505)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst turning on the LLVM drivers is a honourable goal, the performance impact
is *huge*. Instead let specific BSPs turn it on as required.
(From OE-Core rev: 882d31bc0dbe20434d2b89aa92901374bb5e5666)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Making the following commits available to address kernel configuration
warnings:
734172039130 preempt-rt: remove entry for aufs
7a6753341309 common_pc: remove config audit warnings
dea9c6aa7ddd common-pc/tiny: mask configuration warnings
(From OE-Core rev: cc3fa85467c0423b06e78b3e775d5358c422ee4e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent kernels broke the ability of kconfiglib to parse the Kconfig
files and offer reasons why a symbol may not be set. To address this
issue, we update to Kconfiglib2 and adjust the symbol_why script to
work with the new API.
We also tweak the kconf_check script to allow the specification of
a list of option as "non-hardware". This allows a BSP to inhibit
warnings on options that it knows are mismatched for a valid reason
(i.e. -tiny kernels using common fragments with known missing
dependencies).
(From OE-Core rev: 6acfe7d9e431923124c5c4e743f39f9d7aea97c5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable is otherwise unset leading to missing dependency warnings. Give
it the same default as used elsewhere in other recipes.
(From OE-Core rev: 0a1265f4dd90ad9524005ce91b3d0564ce2215e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoids warnings from libdrm which has nativesdk/native variants and depends upon this.
(From OE-Core rev: 7b604e6a8f800e779f368244b0fa94c219c93df0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The busybox-syslog rrecomends is proving tricky as it gets pulled in early and
there are conflicts between its use of update-alternatives and busybox needing
to provide those things.
We already have recipes using BAD_RRECOMMENDS to remove this dependency, it probably
makes sense to spell it out explicitly and allow it to be overridden more easily.
This patch does this, dropping the now unneeded BAD_RRECOMMENDS. It preserves
the dependency as a recommendation for now, further cleanup may allow simplication
of that.
This unbreaks certain build failures on the autobuilder, more as a workaround but
is a change we probably want to make anyway.
(From OE-Core rev: 544ade2d78f1375d9e93d6bf5842d857ddaf3530)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code currently only prints a single depchain due to overwriting data
instead of appending. Fix this.
(From OE-Core rev: 48af19cdfa92aa9d336da50afe4ed3dde92daecc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Occasionally we see warnings like:
WARNING: core-image-sato-1.0-r0 do_populate_sdk: Manifest /home/pokybuild/yocto-worker/nightly-qa-extras/build/build/tmp/sstate-control/manifest-allarch-nativesdk-linux-libc-headers.populate_sysroot not found in i686_linux allarch (variant '')?
which occur when do_populate_sdk is run in an otherwise empty TMPDIR.
It occurs because do_stash_locale is not recognised as a setscene task
and is removed from the taskgraph meaning the dependency chains fed
through setscene_depvalid don't match what was actually setscene'd.
That task is recipe specific and not in the global SSTATETASKS so we
hardcode the value for now to stop the build warnings. This is going to
need to be revisited for a more generic solution.
(From OE-Core rev: d8d5b624058920113f9d297f7f711d6d3249ae39)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2018-11439: The TagLib::Ogg::FLAC::File::scan function in
oggflacfile.cpp in TagLib 1.11.1 allows remote attackers to cause
information disclosure (heap-based buffer over-read) via a crafted audio
file.
References:
https://nvd.nist.gov/vuln/detail/CVE-2018-11439
Patch from:
272648ccfc
(From OE-Core rev: a300c4917b6c22ef039158be7ae92055c35658d4)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we don't do this, busybox-syslog can install before busybox
which clearly doesn't make sense and can trigger postinst failures
(missing sed which u-a depends upon).
(From OE-Core rev: 7080711849347c7fff55f925c33e6ea69d7c46bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was only needed with old pkg-config, but we have 0.29.2 so this can be
dropped.
(From OE-Core rev: 27605fc88d0dc8021abeccc38bab286f56a92736)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I pushed this upstream, so mark the patch as such.
(From OE-Core rev: d1cae876c68b5b4ab666f1860d2935634a1f69dd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The options are still called yasm and there's some cleanup to be done, but as
libav can use both yasm and nasm let's unify on nasm (last release six months
ago, fifteen RCs since) instead of yasm (last release 2014).
(From OE-Core rev: 9343c02cc12aa210a1b7ae7696c83a5501c91ceb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As ffmpeg can use both yasm and nasm let's unify on nasm (last release six
months ago, fifteen RCs since) instead of yasm (last release 2014).
(From OE-Core rev: fe204ba16068c518a15c946c3d370dff8a2171c7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PyBench takes a long time to run, also upstream have removed it from Python and
instead use test.regrtest —pgo to profile the interpreter.
The results are good: not only does Python compile faster (~300s vs ~600s on my
machine) but Phoronix’s PyBench test runs in 2130ms compared to 2229ms when
using PyBench to train (and 2345ms with PGO disabled).
(From OE-Core rev: 98b2b6c3eae15d9b84c97c6a1495040f6b7e389a)
Signed-off-by: Ross Burton <ross.burton@intel.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.
(From OE-Core rev: 1781b87ae0765c1867da2fa8c56bf988b4e84405)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to delete the line that removes the profile data, as we're not
using it after the build. This reduces the size of the patch, making it easier
to maintain.
(From OE-Core rev: 561577add4b935d9bfb7b7dd6abdc3e26c1d9143)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG for profile-guided-optimisation, and default to whether
qemu-usermode is available.
Move --enable-optimizations to the pgo optimisation as all this currently does
is use the PGO rules, causing a performance hit if PGO isn't actually used.
(From OE-Core rev: 231e13c76d3ca7beebfbc8d8a856f72fa3780601)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're repeating the same make invocation over and over, twice without setting
OPT=${CFLAGS} which doesn't seem right.
Centralise the make invocation to clean up the tasks.
(From OE-Core rev: d2b5bf97eedc67f77d87a44bab86ab086176b8db)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: clarification of what parts of g-i are licensed under which license.
Actual terms are the same.
Add a patch to deal with prelink-rtld returning 127 in some cases despite there being no error.
(From OE-Core rev: 50b2187ed8b54317e953882034ba5648e0a4b764)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed patches, refresh the rest.
Add an explicit dependency on gettext-native, as glib is no longer
fooled by setting msgfmt to /bin/false.
(From OE-Core rev: 79d229e8be892cc0bd36fe9f71ac4671cc34aa82)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patches, refresh the rest.
(From OE-Core rev: 6c09949663a02015dc8a7b80f581e4867afdd7e3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In response to a change in binutils, commit b21ebf2fb4c
(x86: Treat R_X86_64_PLT32 as R_X86_64_PC32) was applied to
the linux kernel during the 4.16 development cycle and has
since been backported to earlier stable kernel series. The
change results in the failure message as below when rebooting
via kexec.
# kexec -l /boot/bzImage --append="console=ttyS0,115200 root=/dev/sda1"
Unhandled rela relocation: R_X86_64_PLT32
Fix this by replicating the change in kexec.
(From OE-Core rev: 734a1bb8944caef1336f3a9cc98ea104d6be1f57)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add -c (--clean) optiont to 'devtool build' command so that users
could easily clean things up when using devtool.
I encountered a problem about do_prepare_recipe_sysroot failure
when using `devtool build' command and I found myself in a situation
where I either have to use `bitbake' command to clean things up or
use `rm' to remove the directories under ${WORKDIR}.
So add a clean option as it would be helpful when users want to clean
things up to prepare an environment for a clean build.
(From OE-Core rev: 29d790cdeff19e520a35ec5902d6deaae8665492)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop --disable-dbus option and patch: --disable-plugins is sufficient.
Drop upstreamed patches.
Drop a chunk of 0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch, as upstream fixed the issue.
(From OE-Core rev: 4e4fc46589762914f10ae2fa41b614bcb32f9bb9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, latest version is reported as 1.0.2 which is less than 1.0.6.
Hopefully some kind of official homepage will exist at some point.
(From OE-Core rev: 12baebac49ab774935f1f71eaaf22ed696366d10)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Asus EEEPc hardware is well obsolete, upstream repo is now gone.
(From OE-Core rev: 2ac9d94a4d9b88d56ac6af1dd4d7f3d383439a12)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit bd8470dcaebddf37bf889d3dffd3dcb53d367f23.
It breaks prelink since its using the master branch which doesn't contain
the cross changes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During removal, opkg is using globs to select which metadata files to
remove. The glob is too broad and sometimes can result in a package
removing the metadata from a package with a close name. Make the
matching more strict.
Fixes bugzilla 12905
(From OE-Core rev: 715180e41884393d4f2f234dd557df61a21c4745)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since `229f4e9 package.bbclass: add support for
pkg_postinst_ontarget()' applied in oe-core, use
pkg_postinst_ontarget to run postinst at first boot.
(From OE-Core rev: a6e62aae8f83696755828631e5ff67a579a6462f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a bug where modules were being added twice to the
core package, this patches the manifest to reflect the fix on
the create_manifest script.
(From OE-Core rev: 9ddbff824052751b4d0bb30c453ecb5098d728c9)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch intends to clean up the whole create_manifest script/task
for python3.
This is an effort to make the code more human friendly and facilitate
adoption, it not only cleans up the code but it also improves comments,
it should also be easier to upgrade the manifest after each python3
upgrade now, with these fixes the transition to python 3.7 should be
seamless.
It fixes a rather harmless bug where module dependencies were being
added twice to the core package and adds tests and sqlite3-tests
as special packages since we want specific dependencies on those.
It also fixes a bug that happened on a few packages that
contained a directory with the same name as the module itself
e.g. asyncio, where the script avoided checking that module for
dependencies.
Lastly, it improves the output, it errors out if a module is found
on more than one package, which is what usually happens when
python upstream introduces a new file, hence why the current
manifest is unaware of, it is better to exit with an error because
otherwise the user wouldnt know if anything went wrong unless the output
of the script was checked manually.
(From OE-Core rev: 658042073cb58c58ac4db4ff13689d1ffd89b72e)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch improves the create_manifest script by making it
use PYTHON_MAJMIN instead of hard coded paths containing the
version number when looking at the necessary modules for
every package, the script should now be independent of the
python(3) version on which were working
(From OE-Core rev: b94af33b5ffdd62617cf69fca4d99e927447740a)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the manifest contains hard coded paths with the version number,
e.g. python3.5, this patch changes the paths to use the variable
PYTHON_MAJMIN instead, this should make the python upgrades easier
(From OE-Core rev: a6fab3ca81e3dc6ee226840ed7e9f1cd21ecbc2a)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new version of prelink includes the fix for a segmentation fault due to
using e_shnum vs e_shstrndx.
In addition the following changes are incorporated:
2018-08-29 Khem Raj <raj.khem@gmail.com>
* src/elf.h: Add RISC-V defines
* src/rtld/dl-tls.c: Add RISC-V support
* src/rtld/rtld.c: Add RISC-V support
2018-08-29 Robert Yang <liezhi.yang@windriver.com>
* src/dso.c: use ehdr.e_shstrndx as index
2017-06-20 Andrew Stubbs <ams@codesourcery.com>
* src/arch-x86_64.c (x86_64_prelink_conflict_rela): Also convert
R_X86_64_32 conflicts to R_X86_64_IRELATIVE for ifuncs.
* src/arch-x86_64.c (PL_ARCH(x32)): Set mmap_end to 0x60000000.
2017-06-20 Joseph Myers <joseph@codesourcery.com>
* src/rtld/rtld.c (load_ld_so_conf): Add argument use_x32.
(main): Update call to load_ld_so_conf.
2017-06-20 Kyle Russell <bkylerussell@gmail.com>
* src/rtld/rtld.c: Add missing DT_NEEDED DSOs to needed_list
(From OE-Core rev: 1f0568c6b8982f814f630193fb5114db489afcaf)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches will be needed to build serf on hosts with
python 3.7+
(From OE-Core rev: ab0be544b392bbd6cb1dc91edd5fe8563d7de393)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were various problems in the server startup loggin:
a) stdout/stderr were not being flushed before forking which could potentially
duplicate output
b) there were separate buffers for stdout/stderr leading to confusing logs
where the entries could be reordered. This was particularly confusing
due to the separator the logs use to idendify new messages
c) an fd wasn't being closed during server startup meaning if the
server failed to start, the closed fd wasn't detected as it was held
open by the other reference
d) If the pipe was detected as being closed, the code incorrectly retried
server startup
e) The event code would remap stdout/stderr without flushing them, leading
to lose log messages
(Bitbake rev: 0594faa0b52ce5dbd948d836d88617d38d9862d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the case of a sublayer of an existing layer, where the sublayer and
main layer share a path, the system may not match the paths properly resulting
in:
No bb files matched BBFILE_PATTERN_sublayer '^/path/main/sublayer'
because it has already matched the main layer.
Fix this issue by sorting the collection items based on the pattern, using
longest to shortest. Obviously regex wildcards could still be an issue
but these are typically not used, so this simply fix should work in the
existing cases.
(Bitbake rev: 1787cef7221b88f6920ea70fadaffc117d84c7aa)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running 'gcc --version' for every image recipe is slow and increases parsing
time/resource usage for no good reason. Only compute the value in when we're
really running the task/function.
(From OE-Core rev: bf49316bb9913b7c89de64d6a194be31aa66e16b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recent binutils patch added the LDGOLD variable but its already used
for controlling EXTRA_OECONF options for gold. Separate the two variables
to different names to avoid build warnings and confusion.
(From OE-Core rev: 713c83fd00ab16250f05b0c3933f0c8178b8a33e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches may as well be merged together as they affect the same code
and things are clearer this way.
(From OE-Core rev: 7533c000183a2b447cbabd6ce1b8b75de55b63e7)
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)
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>
There is no good reason to loop 10 times on the test since the profile
optimisation won't change between runs, we don't need/want a statistical
average. This is just burning cpu cycles, just make 1 run.
(From OE-Core rev: 78af3a3e6865cac8bc9fd881af6158ce5e21d4e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a couple of missing items to the TODO list that this script needs to handle.
(From OE-Core rev: c6bc6d874ae43eb2808508b935f837c670c1d15e)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
coreutils installs these into bindir, folllow its lead to avoid postinst
failures when installing coreutils and busybox together.
(From OE-Core rev: ed6e039bf9b16ea882995780425b33b84f9356cf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- refresh busybox-udhcpc-no_deconfig.patch
- remove obsolete patches which are included in this update
- update defconfig
- Add newly required virtual/crypt depends [RB]
(From OE-Core rev: b9c7fdd4b204ab1c2466e9ec5d933bbc635fcc4f)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gstreamer is not _yet_ ported to risc-v
(From OE-Core rev: 597b253c766013c5328f95ac226ef855926f7784)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to run rpmbuild to build a noarch package on target when it
contains 'BuildArch: noarch' in the spec file:
| error: No compatible architectures found for build
Add 'noarch' to buildarch_compat in configure file rpmrc to fix it.
(From OE-Core rev: 2bdddb458bcc779d595e972f60a719aeb1c1b6d5)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add systemd service file of lttng-tools from Fedora
ftp://fr2.rpmfind.net/linux/fedora/linux/development/rawhide
/Everything/source/tree/Packages/l/lttng-tools-2.10.5-1.fc29.src.rpm
It requires kernel configs CONFIG_STAGING and CONFIG_LTTNG2 to be set.
But linux-yocto doesn't meet the requirement. So disable the service by
default.
(From OE-Core rev: 29bc046d705beb9dac2e70fa31358da7719ba7a4)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates CMake to the 3.12.1 stable release. All patches were
rebase on top of the new source file and all them applied without
changes.
The number of patches has changed as all them were applied on the Git
tree and re-exported, to avoid any fuzzy warnings.
License-Update: new contributor added in Copyright.txt
(From OE-Core rev: 439be401cd642937b45796489e8c10aa5238a963)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Originally this was fribidi 0.19.7 from meta-oe, with the following changes:
- Upgrade to latest release (1.0.5)
- Drop GLib and PCRE build-dependencies (removed upstream)
- License is *or newer*
- Upstream has moved to Github
- Remove the historical PROVIDES (patches for meta-oe sent)
(From OE-Core rev: d1feb75be77816efdb00149acef4815a8c97d844)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this was done with the generic autotools support, but CMake doesn't
have a standard option so set it explicitly.
(From OE-Core rev: 47bd456c1be169fc86788edf0173847b9b0d255b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade webkitgtk from 2.20.3 to 2.20.5.
* include fix of CVE-2018-12911
* backport patch for fix CVE-2017-17821
(From OE-Core rev: b77193ca8fd362d7b711574aa0b6eb07f7cc605f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All other functions in this class use TAB for indentation while
the do_compile function uses '4 spaces'. Adjust it for consistency.
(From OE-Core rev: c2829b74892633c554a5f8262d4cafbe0fa6c3a7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is often useful to run lookup-recipe on a list of packages and get
notifications that there were failures, instead of a fatal error on the first
failure.
This makes it possible to pass long lists of packages to oe-pkgdata-util and
process the output.
(From OE-Core rev: 8439565a009bb72d63bb3be6230832811b04cf6e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure we have virtual/crypt even if building without PAM; fixes:
sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: unable to load /usr/libexec/sudo/sudoers.so: /usr/libexec/sudo/sudoers.so: undefined symbol: crypt
sudo: fatal error, unable to load plugins
(From OE-Core rev: f863713ae255bf5b6619c98ecd36aacbda352bbb)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.18 is replacing 4.12 as the latest kernel in the upcoming
release, so we drop this dangling bbappend.
(From meta-yocto rev: 6686fbad03d8de5d29d58aae149e253474336d5f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.18 is replacing 4.15 as the latest kernel in the upcoming
release, so we drop this dangling bbappend.
(From meta-yocto rev: 14e89c34cc0cb9e74075cd5a86500426701b1c8d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.18 will be the newest kernel in the upcoming release, so we bump
our default to it in preparation of 4.15 being dropped.
(From meta-yocto rev: 698c1edd9a258a891b7f1373c3468218e6440856)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration files from 1.0 and 1.1 conflict:
"""
file /etc/ssl/openssl.cnf conflicts between attempted installs of openssl10-conf-1.0.2p-r0.i586 and openssl-conf-1.1.1+pre9-r0.i586
"""
Ensure that if 1.1 is present, it will overwrite the config file
from 1.0.
(From OE-Core rev: bd92ff5759809df2542ce1bcba2c45bbd11d1e10)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test installs socat and expects it to run but assumes all its dependencies
are already installed (which includes libssl).
Recent changes mean this isn't the case so force libssl into the image in advance
to work around this issue for now.
(From OE-Core rev: 13b82380abb273e6575b1e74870d3fe8249ebbc1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It includes following changes:
fea76a0 amdgpu: sync up polaris10 firmware with 18.30 release
ffca603 amdgpu: sync up vega10 firmware with 18.30 release
2ed60eb amdgpu: sync up raven firmware with 18.30 release
02cc45f amdgpu: sync up polaris12 firmware with 18.30 release
b860e58 amdgpu: sync up tonga firmware with 18.30 release
15ed096 amdgpu: sync up polaris11 firmware with 18.30 release
005a9fe amdgpu: sync up fiji firmware with 18.30 release
1d17c18 linux-firmware: add firmware for mhdp8546
c2e0d14 qed: Add firmware 8.37.7.0
f1b95fe linux-firmware:Update firmware patch for Intel Bluetooth 7265 (D1)
8813230 linux-firmware: Update firmware file for Intel Bluetooth,9560
c2d8f1b linux-firmware: Update firmware file for Intel Bluetooth,9260
9767096 linux-firmware: Update firmware file for Intel Bluetooth,8265
41bdd3b linux-firmware: Update firmware patch for Intel Bluetooth 8260
fdd3468 linux-firmware: add firmware for mt76x0
eee8208 Merge commit 'c4883661c7eeedd061eb3b483135b47dab39a88d' of https://github.com/Netronome/linux-firmware
6ae7a5b qcom: update venus firmware files for v5.2
c488366 nfp: update Agilio SmartNIC flower firmware to rev AOTC-2.9.A.31
7b5835f linux-firmware: add firmware for mt76x2u
3a5103f wl18xx: update firmware file 8.9.0.0.79
b01151b Mellanox: Add new mlxsw_spectrum firmware 13.1702.6
0ff06f2 WHENCE: Remove reference to amdgpu/vegam_me_2.bin
3fcf221 linux-firmware: mediatek: add MT7622 Bluetooth firmwares and license file
c8d6903 brcm: add 43430 based AP6212 and 1DX NVRAM
fad829d Merge git://git.marvell.com/mwifiex-firmware
0ced724 linux-firmware: update Marvell USB8801 B0 firmware image
8d69bab amdgpu: update copyright date
153a51e amdgpu: add initial VegaM firmware
10e2971 amdgpu: sync up vega10 firmware with 18.20 release
4b05dee amdgpu: sync up raven firmware with 18.20 release
aeec108 amdgpu: sync up polaris12 firmware with 18.20 release
5408150 amdgpu: sync up polaris11 firmware with 18.20 release
34116bf amdgpu: sync up polaris10 firmware with 18.20 release
a8a2884 amdgpu: sync up verde firmware with 18.20 release
bea8c7f amdgpu: sync up pitcairn firmware with 18.20 release
d47f956 amdgpu: sync up tahiti firmware with 18.20 release
1f92e00 amdgpu: sync up oland firmware with 18.20 release
effed45 amdgpu: sync up hainan firmware with 18.20 release
d50a667 amdgpu: sync up kaveri firmware with 18.20 release
5b8eca3 amdgpu: sync up mullins firmware with 18.20 release
b4b5726 amdgpu: sync up kabini firmware with 18.20 release
fc80838 amdgpu: sync up hawaii firmware with 18.20 release
5350953 amdgpu: sync up bonaire firmware with 18.20 release
8c96b0d WHENCE: Fix typo Version
6213586 cxgb4: update firmware to revision 1.20.8.0
License-Update:
- LICENSE.amdgpu has a copyright year bump
- LICENCE.cadence is new
- LICENCE.mediatek is new
- WHENCE list the version bumps as well as the new Cadence and
MediaTek license files and its respective firmware files.
(From OE-Core rev: 1b980f95112f83f713de9c70f3e1d64996dcade0)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NEW FEATURES:
- Add CI tests against go1.10. Drop support for go1.8. (#1620).
- Added install.sh script. (#1533).
- List out of date projects in dep status (#1553).
- Enabled opt-in persistent caching via DEPCACHEAGE env var. (#1711).
- Allow DEPPROJECTROOT environment variable to supersede GOPATH
deduction and explicitly set the current project's root (#1883).
- dep ensure now explains what changes to the code or Gopkg.toml have
induced solving (#1912).
- Hash digests of vendor contents are now stored in Gopkg.lock, and
the contents of vendor are only rewritten on change or hash
mismatch (#1912).
- Added support for ppc64/ppc64le.
- New subcommand dep check quickly reports if imports, Gopkg.toml,
Gopkg.lock, and vendor are out of sync (#1932).
BUG FIXES:
- Excise certain git-related environment variables. (#1872)
IMPROVEMENTS:
- Add template operations support in dep status template output (#1549).
- Reduce network access by trusting local source information and only
pulling from upstream when necessary (#1250).
- Update our dependency on Masterminds/semver to follow upstream again
now that Masterminds/semver#67 is merged(#1792).
- inputs-digest was removed from Gopkg.lock (#1912).
- Hash digests of vendor contents are now stored in Gopkg.lock, and
the contents of vendor are only rewritten on change or hash
mismatch (#1912).
- Don't exclude Godeps folder (#1822).
- Add project-package relationship graph support in graphviz (#1588).
- Limit concurrency of dep status to avoid hitting open file
limits (#1923).
(From OE-Core rev: 165da89292f81d236e4e8e652500b8879c2ad9be)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tweaking was not sufficient to prevent package dependency issues,
but there is a standard mechanism to do exactly that kind of prevention
which I wasn't aware of.
(From OE-Core rev: 1e75fead42f27723e720686f5a5233dc5acbe5b3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At the moment 1.1.1 is in pre-release stage, however the final release
should be available within a few weeks. The major selling point is that
it supports the new TLS 1.3 specification. It will also be the new long
term support version. More information:
https://www.openssl.org/policies/releasestrat.html
(From OE-Core rev: 9f14a32a3b47b83877fe4fa58b13caeeb38f183a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This leaves openssh as the only recipe that requires openssl 1.0 (or libressl).
(From OE-Core rev: 8b3711f32f0e25961762cbc77ae2e10628ecdf07)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I believe the time has come to do this: openssl 1.0 upstream support stops at the end
of 2019, and we do not want a situation where a supported YP release contains an
unsupported version of a critical security component.
Openssl 1.0 can still be utilized by depending on 'openssl10' recipe.
(From OE-Core rev: 876466145f2da93757ba3f92177d0f959f5fe975)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible that the perms conf file specified by FILESYSTEM_PERMS_TABLES
does not exist. Currently, this situation is silently ignored, which
is likely to lead to further do_rootfs failures.
So fix to output a warning, telling user that the specified file
in FILESYSTEM_PERMS_TABLES cannot be found.
(From OE-Core rev: e14b9f2a667889092251053933dc2f3c51f01ef0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the disable-ciphers patch since it has been integrated:
cec33896 Omit 3des-cbc if OpenSSL built without DES.
(From OE-Core rev: 7d35f5bb7b1700ae4bb7f55af8db7357a851c15a)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for riscv64 to build target binutils fixes alternatives
creation
(From OE-Core rev: 81a8e7addadcffc322735f3a30369d382334590b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This support is there using cross-localedef but was not enabled, this
caused the post-install for locales to be emitted which delays the boot
significantly.
emitted postints for locales contain exit 1 which is flagged now and was
causing image generation to fail.
(From OE-Core rev: c67298f3af9cbb8c7596e4fb20b652a8f2582add)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was otherwise being deferred until boot time
(From OE-Core rev: f8a4ce9b2d59a380d35305a2cd7f73b279bbd8f5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have an rt BSP definition for preempt-rt and qemuarm, and it boots
with 4.18, so we add it to the compatible machines:
qemuarm64 login: root
root@qemuarm64:~# uname -a
Linux qemuarm64 4.18.3-rt1-yocto-preempt-rt #1 SMP PREEMPT RT Tue Aug 28
14:10:55 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
(From OE-Core rev: a99ff5415b587fdeb3212ba1c95c5c366a7c362b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to remove kernel config audit warnings:
3ea2052ace1 common-pc: Drop the x2apic feature
1fec700ec479 beaglebone: Clean up the cfg file
1b97e53dcd11 beaglebone: Drop the needless unsetting of the kernel options
c6c68c3622d0 beaglebone: Drop the obsolete kernel options
552c9a3f3023 edgerouter: Drop the obsolete kernel options
3a62e42dfb89 mpc8315e-rdb: Drop the obsolete kernel options
(From OE-Core rev: a06cc553d3f33f51272cd7c2f6860f41a06eb0e3)
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>
While the 4.12 kernel will continue to get updates, that will happen
in maintenance branches. So we drop the 4.12 versioned recipes to make
it clear that 4.14 and 4.18 are the active kernels.
(From OE-Core rev: a528cf2a783b940f44d52cae4ec8c20c5763e624)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.15 was part of the release as the 'newest' kernel. It is no longer
supported upstream, so there's no need to carry it into newer releases
since it will be replaced by 4.18.
(From OE-Core rev: a49f3d846594f7e81bc9389bd842c289109d2b72)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
module.lds is required for arch/arm* to build modules out of tree, but
isn't required for scripts/prepare, so it was missed in the initial
devsrc rework:
root@qemuarm64:/tmp# make -C /usr/src/kernel M=/tmp modules
make: Entering directory '/lib/modules/4.18.3-yocto-standard/build'
CC [M] /tmp/hellomod.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/hellomod.mod.o
LD [M] /tmp/hellomod.ko
make: Leaving directory '/lib/modules/4.18.3-yocto-standard/build'
root@qemuarm64:/tmp# insmod hellomod.ko
[ 675.743628] hellomod: loading out-of-tree module taints kernel.
[ 675.794959] Hello world!
(From OE-Core rev: a37979a19ee16dc1e01243175fce24683f6ced83)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After uprade to 2.0.0, build system change from
autotools to cmake, wrong usage of #cmakedefine
cause wrongly defined HAVE_STDLIB_H, which cause
some other package compile failed.
(From OE-Core rev: d1e09cb2521ccb9d02ced2d61abb4034cb04836d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch should increase performance for libsdl2 on GLES2 too.
(From OE-Core rev: 52f9659f2bb44affec2f67935df01f13b6ff3e02)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
its building a module therefore its important to provide correct cross
build environment, distutils3-base automatically inherits python3native
this is seen when using clang where it tried to link with gcc since the
environment falls back to builtin LDSHARED variable
(From OE-Core rev: 8bfb54edc6fafda2301aece91ec6b55905e2a418)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
clang is fussy and complains that a valueless return is used from a
function which should return a value
(From OE-Core rev: 301d9801a43b2173c83a2296553abd53f152a145)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are var-SECURITY_PIE_CFLAGS, var-lcl_maybe_fortify and
var-SECURITY_STRINGFORMAT which are helpful for OVERRIDES.
Also add var-SECURITY_STACK_PROTECTOR, and drop hardcoded `_remove'
overrides. Such as `4ca946c security_flags: use -fstack-protector-strong',
it s/-fstack-protector-all/-fstack-protector-strong/, only tweak
var-SECURITY_STACK_PROTECTOR is sufficient.
The fix does not have any side affect on SECURITY_CFLAGS of glibc/
glibc-initial/gcc-runtime, these three directly assigned with "".
...
SECURITY_CFLAGS_pn-glibc = ""
SECURITY_CFLAGS_pn-glibc-initial = ""
SECURITY_CFLAGS_pn-gcc-runtime = ""
...
(From OE-Core rev: 0ed4a6233bdcb25cbdce698504611541420d92d0)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Since poky enable security flags+pie by default, tweak comments
to sync with it.
[poky commit]
491082c poky.conf: Enable security flags+pie by default
29d76b3 poky-lsb: Remove including security_flags.inc
[poky commit]
- Use `?=' to set a default lcl_maybe_fortify, it is helpful for
variable OVERRIDES.
(From OE-Core rev: 38c410bb7d1688cd952da9f19269c2a65a92ab45)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patch
0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
fixed segmentation fault error on other arches except mips and mips64, now
update it to fix mips and mips64 too, also submitted to upstream.
(From OE-Core rev: 8e280aff908b980d641c762946f691a6d376b87b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.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)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current _hasPackage does a regex match when checking for the
existence of packages. This will sometimes result in unexpected
result. For example, the condition hasTargetPackage('gcc') is likely
to be always true as it matches libgcc1.
For most of the time, we should do exact match instead of regex match.
So change _hasPackage function to do that. For the current sdk test
cases, the only place that needs regex match is '^gcc-'. This is because
there's no easy way to get multilib tune arch (e.g. i686) from testdata.json
file.
Besides, packagegroup-cross-canadian-xxx and gcc-xxx should be check in
host manifest instead of the target one. So fix to use hasHostPackage.
Also, as we are doing exact match, there's no need to use r'gtk\+3',
just 'gtk+3' is enough.
(From OE-Core rev: 595e9922cdbacf84cf35cc83f0d03cace042e302)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When determining whether to skip the test case, the check should be
done with consideration of multilib. Otherwise, we will meet the
following error when testing against lib32 environment.
No package 'gtk+-3.0' found
(From OE-Core rev: ce82ee46f4a7beb5663238b276e779e5c9657777)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a named argument 'multilib' for the hasTargetPackage function. Its default
value is False. When setting to True, it will try to get the correct multilib
prefix from the sdk_env, the environment setup script.
We need this because we don't want unexpected run of some sdk test cases.
The following steps will generate error.
1. Enable multilib for qemux86-64
require conf/multilib.conf
MULTILIBS ?= "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "core2-32"
2. bitbake core-image-sato -c populate_sdk
3. bitbake core-image-sato -c testsdk
The error message is like below.
No package 'gtk+-3.0' found
RESULTS - buildgalculator.GalculatorTest.test_galculator - Testcase -1: FAILED
As we don't have lib32-gtk+3 installed, the test case should be skipped when
testing against the lib32 environment setup script.
(From OE-Core rev: 163764ad4760a5fabf65640df5f968be98ad13d2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sumo release provides a transition period so that deferrals to first boot
via 'exit 1' can be converted to pkg_postinst_ontarget(). For the next release
however, postinst script failures should be treated as such.
[YOCTO #12607]
(From OE-Core rev: 42acb0ebde4e88bcdf34a541b700f19d8607abb0)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Find out rbconfig.rb and created.rid from ${B}/.installed.list
and remove build host directories
- For rbconfig.rb, parse it like python's _sysconfigdata.py
[snip rbconfig.rb]
26 CONFIG["INSTALL"] = 'install -c'
[snip rbconfig.rb]
- For created.rid, it records file created time, just strip ${WORKDIR} prefix.
[snip created.rid]
840 /ruby-2.5.1/doc/maintainers.rdoc Fri, 22 Dec 2017 23:08:05 +0000
[snip created.rid]
(From OE-Core rev: 853e0499be449c71378c087e08b1926be8e2ac87)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Explicitly requests the newer database `sql:' rather than
retrieved from NSS_DEFAULT_DB_TYPE
- Removes build path prefix from pkcs11.txt
Refers certutil manual:
[certutil manual]
-d [prefix]directory
Specify the database directory containing the certificate and key database files.
certutil supports two types of databases: the legacy security databases (cert8.db,
key3.db, and secmod.db) and new SQLite databases (cert9.db, key4.db, and pkcs11.txt).
NSS recognizes the following prefixes:
sql: requests the newer database
dbm: requests the legacy database
If no prefix is specified the default type is retrieved from NSS_DEFAULT_DB_TYPE.
If NSS_DEFAULT_DB_TYPE is not set then dbm: is the default.
[certutil manual]
(From OE-Core rev: e9b99efe4b5cf7e810156f7bb55736e01be36a45)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Release notes for 12.0:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/12.0/
12.1 contains a few regression fixes:
https://lists.freedesktop.org/archives/pulseaudio-discuss/2018-July/030259.html
12.2 is just a fixup for the configure script brokenness in the 12.1 tarball.
qpaeq changed license from AGPL to LGPL, so now there's no AGPL licensed
code any more. This removes the excuse to not enable fftw support (i.e.
module-equalizer-sink and qpaeq). I'll enable fftw in a separate patch.
There's a new gsettings module that should be enabled, but I'll do
that in a separate patch. It's not particularly important, because the
module is only used by the paprefs GUI application that doesn't seem to
be packaged for OE at the moment.
Removed upstreamed patches:
0001-padsp-Make-it-compile-on-musl.patch
0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch
License-Update: qpaeq changed license from AGPL to LGPL:
61217528a1
(From OE-Core rev: 9bc3a8ec4a007fe75dc8f44faf6357517b1fb020)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Copyright Year Update
1. Upgrade from 1.5.3 -> 2.0.0, change from autools to cmake
2. Add a patch for fix package qa error
3. remove --with-build-date since 2.0.0 not support config build date
(From OE-Core rev: 83f206d68e9ae9ed21398f5cfde6f911065fbce6)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
initrd.cpio is created in initrd_dir, not in cr_workdir. Gzip will
let initrd.cpio uncompressed if the path is not found.
Also, grub_image variable doesn't exist, grub_src_image should
be used instead.
(From OE-Core rev: c88875b568a66297b1d3df380c590f20796c57f6)
Signed-off-by: Alexandru Vasiu <alexandru.vasiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only bsdcpio works with numbers for option -R to specify user:group,
while GNU cpio doesn't. Debian use GNU cpio so without this change,
you cannot create ISO images without installing bsdcpio.
(From OE-Core rev: 7c6ba368006ca94ecc0daac7b1c5e0fbe4236daf)
Signed-off-by: Alexandru Vasiu <alexandru.vasiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was causing issues with classes that use $bindir to find
already installed binaries in rootfs (manpages class in particular).
$bindir needs to be the same for all recipes.
(From OE-Core rev: 3d92bce5a8e021c03e509e8ee6ead064e97bfcec)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue: LIN1018-1797
At the point of the following failure, the file being checked, setgid,
is owned by "nobody" in the "nogroup" and tries to inherit SGID from
its parent directory who is in group of "bin". This is forbidden since
Linux kernel v4.18-rc4, unless current process is given CAP_FSETID
beforehand. See "Fix up non-directory creation in SGID directories" in
the kernel. The check in Block3 succeeds since it becomes root again
then.
creat08 3 TFAIL : creat08.c:368: testdir.B.1026/setgid: Incorrect modes, setgid bit should be set
creat08 4 TFAIL : creat08.c:376: Test failed in block2.
open10 3 TFAIL : open10.c:352: open10.testdir.B.1045/setgid: Incorrect modes, setgid bit not set
open10 4 TFAIL : open10.c:359: Test failed in block2.
open10 6 TFAIL : open10.c:443: Test failed because of above failures.
Backport a patch from upstream.
(From OE-Core rev: 5f3ab95b0ed964e08c65ae3159606f27485dbec7)
Signed-off-by: He Zhe <zhe.he@windriver.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: 9c86c582a10c9b23abad7d34b6cbf12f7086294d)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable the ability to select an existing build directory into Toaster.
This opens to the user the backend features of 12823, for command line
user compatibility.
Enable the ability to select saving Toaster settings in the regular
"bblayers.conf" and "local.conf" instead of the default
"toaster_bblayers.conf" and "toaster.conf". This opens to the user the
backend features of 12821, for command line user compatibility.
[YOCTO #12902]
(Bitbake rev: 8ce51fbd92ab42365a38e0c1c260bb4979377a89)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
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: aa79967920b2617ce007f66c89f3343f1a7f34b4)
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: 59f3e04122fca43835603779ac2d201464fbaebf)
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: 55333f1c3ded1c53120e6cb32b440cc707521e2b)
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: a6e20bddddd083fbecb5ed8d5f4824da640fdd44)
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: 679c70aa32d23e9247f8a68efcb579ad733af84b)
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)
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: 365d8d94ae3e4e0f95e0806dbcb7c77c20a55d2d)
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: 6c3c196b28603591371ec7e62871fbb4296f2c71)
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>
Bump the kernel to v4.18 for all the boards in meta-yocto-bsp layer.
(From meta-yocto rev: 1e672581cc3fc695570f1ae9f951efbe4b05733a)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-wrote section to provide more accurate step-by-step
instructions.
(From yocto-docs rev: dd1b5918d32b6272100fb59562de37f9a191e7ab)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A task or package can only depend on a task... not a task
or package.
(From yocto-docs rev: 63f14e131ebf2bb8379a07f8958bf69a06af1124)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Added qualifying text indicating that you can build images or
packages. In other words, the multiconfig does not necessarily
have to be an image. It can be a package as well.
* Added qualifying text describing that it is not a requirement
to have separate TMPDIRs for each multiconfig. I used a build
for two multiconfigs of "qemux86" for different DISTROs as
a case.
(From yocto-docs rev: 6e5ed0d1ab305c3382fea55fc1a2deaac0b7d518)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some edits for clarity and fixes to the procedures regarding
the DOWNLOADS page.
(From yocto-docs rev: 98ee61f7797c9352a1eff060b98a3e2e74a1da6f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrote the section on setting up and executing multi-config builds.
Broke the section into two sub-sections. One is for the standard
information that was there for setting up a multi-config build. A
new section was for the cross-build dependencies in multi-config
builds.
Part of the re-write included creating a new figure that shows
the configuration file hierarchy needed for these types of builds.
So, new figure added to both the dev-manual and the mega-manual
figures directories.
Finally, the Makefile needed updated to account for the new figures.
(From yocto-docs rev: dc158e97c216aa6e7fa3755164409d581f8569c5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed the section heading in the dev-manual for building images for
multiple targets useing multiple configurations. This wording is
more accurate. I updated the link from the BBMULTI_CONFIG variable
description as well.
(From yocto-docs rev: 3b2f95c3c54bed7ab8b4673ba7a254d31bea811b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extract a general version of RPATH fix for libxml-parser-perl_2.44.bb
from
292471701 libxml-parser-perl: fix "...contains bad RPATH"
into cpan.bbclass to catch most errors reported by Khem Raj via
http://errors.yoctoproject.org/Errors/Build/66538/
Genrally, Perl 5 toolchain deals with cross-compile sysroots
as if a dependency is installed at an exostic place on a server.
This issue needs to be addressed wider into the community.
(From OE-Core rev: a5439ff9627d309f6980947f5ee573d85e672228)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweak recipe selftest-hardlink
- addition of libexecdir to simulate multiple directories
- add gdb.sh to run gdb from script which is invoked at test time.
- rename `hello' -> `hello1' to workaround name confliction with the one in lmbench
Add test_gdb_hardlink_debug to selftest/package
- run a qemu and invoke gdb.sh to gdb binaries of selftest-hardlink
- check gdb to read symbols from separated debug hardlink file
- check debug symbols works correctly
[Test without commit `package.bbclass: only one hardlink of separated debug info file in each directory']
2018-08-26 01:27:30,195 - oe-selftest - INFO - test_gdb_hardlink_debug (package.PackageTests)
2018-08-26 01:30:29,005 - oe-selftest - INFO - gdbtest /usr/bin/hello1
2018-08-26 01:30:36,539 - oe-selftest - INFO - gdbtest /usr/bin/hello2
2018-08-26 01:30:43,568 - oe-selftest - INFO - gdbtest /usr/libexec/hello3
2018-08-26 01:30:50,157 - oe-selftest - ERROR - No debugging symbols found. GDB result:
Reading symbols from /usr/libexec/hello3...(no debugging symbols found)...done.^M
(gdb) Function "main" not defined.^M
Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]^M
(gdb) Starting program: /usr/libexec/hello3 ^M
Hello World!^M
[Inferior 1 (process 320) exited normally]^M
(gdb) The program is not being run.^M
(gdb)
2018-08-26 01:30:51,180 - oe-selftest - INFO - ... FAIL
2018-08-26 01:30:51,181 - oe-selftest - INFO - Traceback (most recent call last):
File "oe-core/meta/lib/oeqa/selftest/cases/package.py", line 148, in test_gdb_hardlink_debug
self.fail('GDB %s failed' % binary)
AssertionError: GDB /usr/libexec/hello3 failed
[Test without commit `package.bbclass: only one hardlink of separated debug info file in each directory']
[Test with commit `package.bbclass: only one hardlink of separated debug info file in each directory']
2018-08-26 12:40:30,976 - oe-selftest - INFO - test_gdb_hardlink_debug (package.PackageTests)
2018-08-26 12:42:15,149 - oe-selftest - INFO - gdbtest /usr/bin/hello1
2018-08-26 12:42:24,064 - oe-selftest - INFO - gdbtest /usr/bin/hello2
2018-08-26 12:42:31,078 - oe-selftest - INFO - gdbtest /usr/libexec/hello3
2018-08-26 12:42:38,646 - oe-selftest - INFO - gdbtest /usr/libexec/hello4
2018-08-26 12:42:46,824 - oe-selftest - INFO - ... ok
[Test with commit `package.bbclass: only one hardlink of separated debug info file in each directory']
(From OE-Core rev: 104d07e57488f4a414fb5e1f60d0c8b0c02d6b4d)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.18 is replacing 4.15 as the latest kernel in the upcoming
release, so we update our preferred versions to match.
(From OE-Core rev: e12f9e7ede7eea408d6a97233c7c8df97e8bfb26)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the 4.18 headers to match the newest kernel that will
be part of the release.
4.18 brings a requirement on bison-native to the libc-headers, since
it is required as part of the configuration steps.
We also tweak the license md5sum, since the kernel now includes SPDX
headers in the license file and that changes our sum.
(From OE-Core rev: c36a5e21b711cd577a2186a5267d46bb4323acc1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introducing the 4.18 kernel as the 'newest' kernel for the oe core
release.
This update includes tweaked configs, carried forward BSPs, features
(aufs, yaffs2, preempt-rt) and has been tested on all arches for boot
and performance sanity.
(From OE-Core rev: e08069b6855ba8cc3ef3c6e704f08f9259d77330)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding two new configuration blocks/features to the 4.14+ kernel
variants.
One is for enabling selftest options, and the other is a collection
of kernel security/hardening configs.
(From OE-Core rev: 8a0c315d21bb6783b55ecc73ec48274da0ceff43)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.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)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.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)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding the preempt-rt BSP definition for qemuarm64 to allow -rt testing
on this ARCH.
(From OE-Core rev: 320f77b6648b9289ce1170a46a956cf8752bf63a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the re-working of kernel fragments and status output cleanup the
visibility for BSP level errors was dropped/removed.
The audit phase can detect errors, redefinition and invalid
configuration fragments. We control the visibility of these reports via
the existing KCONF_BSP_AUDIT_LEVEL variable.
By default, errors and invalid configuration values will be displayed as
a warning. If redefinition values are to be shown the audit level must
be raised above the deafult value of '2'. We inhibit these by default,
since there are many valid reasons why a BSP will change a default /
base config .. and showing them offers no value to the BSP user.
(From OE-Core rev: 4933b686b0f75d6841630917a2d90832df41cac7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of os.utils.getstatusoutput() with direct subprocess
calls. Pass a modified environment and working directory where necessary
to bypass the need to execute in a shell.
(From OE-Core rev: 21de5cc43cfedc703e5bc0515507a6dae36afb74)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling the bpf feature for the standard kernel configurations
by default. Systemd (and other) userspace applications are looking
for BPF more often, and we get warnings such as this:
[ 12.810554] systemd[1]: File
/lib/systemd/system/systemd-journald.service:36 configures an IP
firewall (IPAddressDeny=any), but the local system does not support
BPF/cgroup based firewalling.
The configs don't add much overhead to the kernel, so we enable them
by default.
(From OE-Core rev: 2f43139e7e0db2522c88b41875c32949f66ca1e8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove SUMMARY_${PN} and DESCRIPTION_${PN}, which duplicate the
default SUMMARY and DESCRIPTION.
(From OE-Core rev: f668491275ac0ba30366652b6747f87776e92120)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Define variable SSTATE_PRUNE_OBSOLETEWORKDIR with '?=' in sstate.bbclass,
then it could be overwritten by user configuration.
(From OE-Core rev: 22af59c9bfec31b31027ebd2a4da162f481aa6b5)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The below test hangs infinitely
$ ./run-ptest
Actually it stuck at test-gatt unit test and
the detailed test output as below:
$ unit/test-gatt -p /robustness/unkown-request -d
/robustness/unkown-request - init
/robustness/unkown-request - setup
/robustness/unkown-request - setup complete
/robustness/unkown-request - run
GATT: < 02 17 00 ...
bt_gatt_server:MTU exchange complete, with MTU: 23
GATT: > 03 00 02 ...
PDU: = 03 00 02 ...
GATT: < bf 00
Considering the /robustness/unkown-request test
actually does no action, update to raw_pdu() to
fix the hang issue.
(From OE-Core rev: b6801f95800bf37f4b960123ba649322fc5cd5d3)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The devshell.bbclass set var-SHELL to var-DEVSHELL, and terminal.bbclass
initial var-SHELL with `bash'. Keep sync with it, use var-SHELL rather
than hardcoded `/bin/sh' as the shebang of wrapper script.
On Ubuntu host, default shell is dash (/bin/sh -> dash), even though
we assign var-SHELL with `/bin/bash', the wrapper script is still dashism.
(From OE-Core rev: 27e2ede65f1193e49f9483b08a55495d88740a65)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.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)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While multiple hardlinks of binary located in different dirs,
there are also multiple hardlinks of separated debug info file
with the same binary name in same debug dirs. But in each dir,
only one debug file with original name works. Because all of
binary hardlinks have one `.gnu_debuglink' which is added in
`splitdebuginfo'. It caused gdb could not find debugging
symbols.
[Before the patch]
$ find .
./usr/bin/foo
./usr/bin/foo-hd1
./usr/bin/.debug
./usr/bin/.debug/foo
./usr/bin/.debug/foo-hd1
./usr/libexec/foo-hd2
./usr/libexec/.debug
./usr/libexec/.debug/foo-hd2
$ readelf --debug-dump usr/libexec/foo-hd2
Contents of the .gnu_debuglink section:
Separate debug info file: foo
$ gdb usr/libexec/foo-hd2
Reading symbols from usr/libexec/foo-hd2...(no debugging symbols found)...done.
[Before the patch]
[Apply the patch]
$ find .
./usr/bin/foo
./usr/bin/foo-hd1
./usr/bin/.debug
./usr/bin/.debug/foo
./usr/libexec/foo-hd2
./usr/libexec/.debug
./usr/libexec/.debug/foo
$ gdb usr/libexec/foo-hd2
Reading symbols from usr/libexec/foo-hd2...Reading symbols from usr/libexec/.debug/foo...done.
[Apply the patch]
(From OE-Core rev: d4eaf42f7708f8d3a31a04d958bd7420dd7dd6b9)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In finalize() we save event handlers, register the ones relevant to the
recipe being finalised, trigger events, and then restore the handlers so
that one recipe's custom handlers (actually implemented within a class
inherited by the recipe) do not affect other recipes. However, if an
exception occurs during parsing, the saved handlers were not being
restored. Use a try...finally block to ensure that the handlers are
always restored.
This issue became apparent since in OpenEmbedded-Core we have recently
introduced a find_intercepts() handler for the
bb.event.RecipePreFinalise event in image-postinst-intercepts.bbclass
that images and old-style SDK recipes will end up inheriting. So far it
doesn't seem that the the error has manifested itself in normal builds,
but when parsing OE-Core recipes in the OE layer index it has:
core-image-rt-* image recipes were parsed which in the default
configuration raise SkipRecipe. The next non-image recipe that is parsed
will trigger a real exception, because the find_intercepts() handler is
still registered and gets fired, but in the context of the new recipe
the POSTINST_INTERCEPTS_PATHS variable is not set, and the code in
find_intercepts() is written with the reasonable assumption that that
isn't possible given that the class itself sets a default, and thus it
fails.
(Bitbake rev: e5f1f8fa201774e0c3c554d59b277baa2128708f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following statement was accidently removed. Add it back.
values['ml'] = ['']
This patch fixes the following error.
Exception: KeyError: 'ml'
(From OE-Core rev: 0791c4d39edbedaa493a9fc6aa6e7415f14980bb)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update /sbin to $base_sbindir to fix the
below warning when usrmerge enabled in
DISTRO_FEATURES.
WARNING: mingetty-1.08-r3 do_package: mingetty: NOT adding alternative provide /usr/sbin/getty: /usr/sbin/mingetty does not exist
WARNING: mingetty-1.08-r3 do_package: QA Issue: mingetty: Files/directories were installed but not shipped in any package:
/sbin
/usr/sbin
(From OE-Core rev: 35b92053c5bc0f4ae4b92ca75456535ff78797a2)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update /lib to $nonarch_base_libdir to fix
the below error when usrmerge enabled in
DISTRO_FEATURES.
ERROR: mdadm-4.0-r0 do_package_qa: QA Issue: mdadm package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]
(From OE-Core rev: 4b2c86ff0031effd4cfdb477f67bc213d39ae0fd)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.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)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a script which can be run on new autobuilder workers to check all needed configuration
is present. Designed to be run in a repo where bitbake/oe-core are already present.
This means when we add new autobuilder workers, we can quickly test whether all the needed
funcationality to support the standard yocto project autobuilder (ie. the standard
OE-Core tests) are present.
It uses images prebuilt in a previous release to cut build/testing time.
(From OE-Core rev: c9dd81fe9c88d8d9881686e60c17e6fab4b230f1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh avoid-check-user-break-cc.patch to fix fuzz warning.
(From OE-Core rev: 6d9ab12ac113f0f33289200ca3c9df24d9fc1cc2)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
skipIfInDataVar will skip a test if a value is in a certain variable.
(From OE-Core rev: 10b935c713748346aea6c36c2f41e0ae6c320821)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The name string is too small to contain normal full path names and causes
the following failure.
"ftest06 2 TFAIL : ftest06.c:223: Can't chdir(): errno=ENOENT(2): No such file or directory"
(From OE-Core rev: 24faf8b9bbee82033d5f636f254e59b8d3d31ea5)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the relative_symlinks class converts any absolute symlinks
in ${D} into relative symlinks automatically, it's a little clearer
to create relative symlinks directly where possible.
(From OE-Core rev: 959b4d30b5b11e4a098654b0d4469bbdf01b3812)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of oe.utils.getstatusoutput() with direct subprocess calls.
(From OE-Core rev: f1a1b31add242380490023c2ee7eec1b4fbcd85b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of oe.utils.getstatusoutput() with direct subprocess calls.
(From OE-Core rev: 2a06abb258768504a3ad97f61c987709227d7109)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't use subprocess.check_output() or subprocess.call() here since the one
who invokes runcmd() needs handle CmdError() exception (error out or ignore
it).
(From OE-Core rev: c3e7739987d804f7865428442479d5bece5ff2dd)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of oe.utils.getstatusoutput() with direct subprocess calls.
(From OE-Core rev: 90c730a898f11adb2ecd377cdd913af83123bcb7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patch has duplicate split calls and one needs to be removed
to avoid failures
(From OE-Core rev: 02c8d048cbab38a48f698504d0f5e912d3d24a36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
get_multilib_datastore() should be able to handle the original datastore
correctly now so rely upon this rather than custom coding.
(From OE-Core rev: 2ae85af480066e252fca01f3005ecac2ff37a8d4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have library functions to handle multilib variables/datastores, lets
use them so we have good common functions.
(From OE-Core rev: 774219567987956fb7bbb50e64eb6cebef1efe5b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the original datastore returned by this function doesn't
always work as the tune isn't set back to the original. Fix it
to work like all_multilib_tune_list() in utils.bbclass and correct
the data returned.
(From OE-Core rev: 4e1dc858fbf671ef27089a2b9bcdc965fe19d698)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if a tune isn't specified in the table, the loader defaults for the
architecture are used which may or may not match our path specification. This
leads to general confusion.
Change the code to use the linuxloader class which works of architecture, not
tune.
This still isn't perfect as n32/x32 aren't covered but its an improvement
to listing all tunes here.
(From OE-Core rev: 46a6da24b51426bedd9af8a2d63b2992b9d3fa5a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We could do with one decent general purpose python function to query the
path to the dynamic loader. Convert the shell code into python.
Also correct baremetal to return "None", not musl loaders.
(From OE-Core rev: 73fab4ede12d8ae31be72b5cb4ab29d7ef7dae17)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does the same thing, but is more efficient in case st_nlinks
is (already) 1.
Depends on bitbake commit 7ae93cf40ab91965147055100432961436bce46c .
(From OE-Core rev: a09f8e32044c8daec2d2fb3ff0e830c21402df6e)
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does the same thing, but is more efficient in case st_nlinks
is (already) 1.
Depends on bitbake commit 7ae93cf40ab91965147055100432961436bce46c .
(From OE-Core rev: 38180b5c1044be13458fb927ad1babae61e4c51f)
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need this for the new break_hardlinks helper function.
(From OE-Core rev: d6ccefd347bf31acf8d31996d796717acb4da74f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In spite of a comment suggesting otherwise, os._exit() does not flush
buffered output from file descriptors before exiting the process like
os.exit() does. This means that any un-flushed output is lost in the
daemon process, in particular the traceback from any thrown exceptions,
making debugging exceptions in the daemon quite difficult.
The solution is to flush stdout and stderr before exiting.
(Bitbake rev: fcc8e1ff53696f78dd64b4ee32f3c433b7a47df0)
Signed-off-by: Joshua Watt <JPEWhacker@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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove existing files before overwriting them
Archive should extract only the latest same-named entry.
Extracted regular file should not be writtent into existing block
device (or any other one).
https://rt.cpan.org/Ticket/Display.html?id=125523
Affects perl <= 5.26.2
(From OE-Core rev: 037b205e89ae4c7d638a5c15d64f60e16facbaa2)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.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: eee93149a49274dc3deed7d89754ee4bda240575)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.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: ad842a3a0e6ef78fb9449362753ae3592c775192)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By including PACKAGECONFIG options, the recipe takes responsibility
for defining the default state of these options. Although the recipe
currently aligns with the gnutls defaults (ie both disabled) tracking
new gnutls releases will be a maintenance effort. Unless there's a
clear reason to do otherwise, it seems safer to leave the choice of
which SSL/TLS versions to enable by default up to the gnutls
developers.
(From OE-Core rev: 4c1d03eb226aa838622852b70a87260ab1ac9d91)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From gnutls 3.5.8 onwards, the code in configure.ac has been passing
"basename $i" to sed, rather than "echo $i". Since the full ${srcdir}
path is not being processed, there's no risk of unexpected matches.
478179316b
(From OE-Core rev: bce938174d1207685c67c40e341a36ab1158e6eb)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Merge the two tests together as having them separate is pointless
* Test that ldd runs correctly
* Add in a dependency on the "ldd" package being installed instead of
the sdk tools feature
(From OE-Core rev: 80db456387fb63ee74d53a9719ab3997432f4c80)
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.
(From OE-Core rev: 2588c2aae11b7b480022dc11575295fdc792bf3f)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The -config script can now be disabled from configure.
Drop backported patch now merged.
(From OE-Core rev: f2c1d7109014ef9d804c3a6967b96143834ff7bd)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The perl distribution "XML-Parser" relies for configuration
on the tooling of Devel::CheckLib - which is not aware of
sysroot locations nor of reasonable compiler/link definitions
from outside.
This causes
ERROR: libxml-parser-perl-2.44-r0 do_package_qa: QA Issue: package libxml-parser-perl contains bad RPATH ${BUILDDIR}/tmp/work/core2-64-poky-linux/libxml-parser-perl/2.44-r0/recipe-sysroot/usr/lib in file ${BUILDDIR}/tmp/work/core2-64-poky-linux/libxml-parser-perl/2.44-r0/packages-split/libxml-parser-perl/usr/lib/perl/vendor_perl/5.24.4/auto/XML/Parser/Expat/Expat.so
package libxml-parser-perl contains bad RPATH ${BUILDDIR}/tmp/work/core2-64-poky-linux/libxml-parser-perl/2.44-r0/recipe-sysroot/usr/lib in file ${BUILDDIR}/tmp/work/core2-64-poky-linux/libxml-parser-perl/2.44-r0/packages-split/libxml-parser-perl/usr/lib/perl/vendor_perl/5.24.4/auto/XML/Parser/Expat/Expat.so [rpaths]
ERROR: libxml-parser-perl-2.44-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: libxml-parser-perl-2.44-r0 do_package_qa: Function failed: do_package_qa
It's strongly encouraged to the maintainer @toddr to rework the
toolchain for up to date environments.
[RP: Added fix for nativesdk RPATH issues too]
(From OE-Core rev: b103bb9426c0e5e3ef0fe0c34274ad3a06af8b6a)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The modern the time, the improvements in ExtUtils::MakeMaker.
Nowadays, .packlist and perllocal.pod aren't touched anymore when appropriate
flags set during configure stage. Controlling the flags globally avoids
dual-life recipes need share patching.
Further: remove prepending ${PERL_ARCHLIB} in PERL5LIB - it's wrong (search
order is site_lib, vendor_lib, core) - and ${PERL_ARCHLIB} contains core
libpath only ...
(From OE-Core rev: 2e61533e7c1b1cfd49dc771e907207f11a15c44f)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The crypto API for AEAD ciphers changed in recent kernels, so that
associated data is now part of both source and destination scatter
gathers. The source, destination and associated data buffers need
to be stiched accordingly for the operations to succeed.
(From OE-Core rev: 76da04571b8cb2241b3f46dec4935ff299639b7d)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This removes some extra spaces.
(From OE-Core rev: 146ebbc71183e432905b17a127162aba0b464b50)
Signed-off-by: Alexander Hedges <ahedges@ethz.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years updated
(From OE-Core rev: 2c245d0ddc230360be949b96fb123698541753ac)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: updated address of Free Software Foundation
(From OE-Core rev: 9aa8061f2e9f1e66b4ef4d63ae2932bf0c6a2c41)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It helps to find/use native tools under ${STAGING_BINDIR_NATIVE}/*-native.
Solving below error:
$ oe-run-native python3-native python3
Running bitbake -e python3-native
Error: Unable to find 'python3' in .../tmp/work/x86_64-linux/python3-native/3.5.5-r1.0/recipe-sysroot-native/usr/bin:.../tmp/work/x86_64-linux/python3-native/3.5.5-r1.0/recipe-sysroot-native/bin:.../tmp/work/x86_64-linux/python3-native/3.5.5-r1.0/recipe-sysroot-native/usr/sbin:.../tmp/work/x86_64-linux/python3-native/3.5.5-r1.0/recipe-sysroot-native/sbin
Error: Have you run 'bitbake python3-native -caddto_recipe_sysroot'?
-- snip --
After this change we have native python3 to be found:
$ oe-run-native python3-native python3
Running bitbake -e python3-native
Python 3.5.5 (default, Aug 8 2018, 17:45:49)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
-- snip --
[YOCTO #12889]
(From OE-Core rev: a3e9b2224b31cfd836519d0b609f8064adb67cca)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our eSDK is expected to provide traditional SDK's functionality. But
for cmake, it could not function well in eSDK.
This problem is discovered by the assimp.py test case. The error message
is as below.
testsdkext/tmp/sysroots/x86_64/usr/lib/libz.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
The problem is about cmake-native being unable to find the correct lib.
nativesdk-cmake has solved this problem. So make use of the solution to
solve the eSDK problem.
(From OE-Core rev: c0561e930e688890eb5feb4521b2de196137227a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its a pain to have to wait until oe-selftest finishes to see the
failures for example.
(From OE-Core rev: 4c499a1b10a0c2647b6a753b8f9cd934ae4ad0da)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Periodically we'd see:
NOTE: core-image-sato-1.0-r0 do_testsdk: ======================================================================
NOTE: core-image-sato-1.0-r0 do_testsdk: ERROR: broken-runner
NOTE: core-image-sato-1.0-r0 do_testsdk: ----------------------------------------------------------------------
NOTE: core-image-sato-1.0-r0 do_testsdk: testtools.testresult.real._StringException: Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/lib/oeqa/core/utils/concurrencytest.py", line 122, in _run_test
test.run(process_result)
File "/usr/lib/python3.6/site-packages/subunit/__init__.py", line 1194, in run
protocol = TestProtocolServer(result, self._passthrough, self._forward)
File "/usr/lib/python3.6/site-packages/subunit/__init__.py", line 514, in __init__
stream = stream.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'
which seems to occur if a result arrives before all the runner threads
have started. The runner's result handling changes sys.stdout to a buffer
temporarily which can be seen in other threads and it can sometimes fail.
Since the tests are running in a separate process we don't need this buffer
handling in the concurrent case so only set when not parallelising. The
concurrent class handle setting buffer mode internally.
(From OE-Core rev: e2c66aa0f74d19fbc7e56af1fb440ad6473d3a8e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, error output such as that in the teardown can be lost
and processes may recieve signals they're not expecting causing other
strange errors.
(From OE-Core rev: 1e3f44737a15feb3128ba7fc0dbe896dd8782e07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been an opt-in for so long, some distributions e.g.
poky-lsb uses it by default however, since most of linux
distros have started to default to these settings for security
enhancements, time has come for OE to make it default too
(From meta-yocto rev: 81bf1019c8601da952242fbcc827e0bef1ff25d7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is in default distro config now
(From meta-yocto rev: c85fa6a397d7ed97779ce347d4013cd1ea99d53f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since `6146b8c glibc: Disable crypt support in glibc' in oe-core,
python2/3 could not find symbol crypt which caused import crypt failed.
[snip]
>>> import crypt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.5/crypt.py", line 3, in <module>
import _crypt
ImportError: /usr/lib64/python3.5/lib-dynload/_crypt.cpython-35m-x86_64-linux-gnu.so: undefined symbol: crypt
[snip]
Add virtual/crypt to DEPENDS, and python's build system (setup.py)
will search libcrypt.so in recipe-sysroot and add `-lcrypt' if it
exists.
(From OE-Core rev: d2a929d932900f753af1a06a8cb98d953369e3b4)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
remove the indirect dependcy of autoconf-archive-native via
SSTATE_EXCLUDEDEPS_SYSROOT to avoid not needed .m4 installed
into sysroot, which may cause compile problem.
(From OE-Core rev: d23156460e2b8f6684bd3005d7fa09b2c73e522e)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running this test case, we will see the following error.
AttributeError: type object 'BuildAssimp' has no attribute 'project'
assimp.py test case does not make use of SDKBuildProject, so remove
the import statement and the tearDownClass.
(From OE-Core rev: ca0a40a852abed981d54503ef2d86708471c821e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LLVM_TARGETS_TO_BUILD is needed to represent HOST_ARCH for
builds and target specific additions should use class-target
override
(From OE-Core rev: 5e6e08512e130951e66376ea43e4e6a98941b950)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Import from meta-oe layer
- This is useful for many packages where CR-LF
needs to be adjusted, many recipes depend on it
e.g. meta-multimedia libebml and so on.
- Add myself as maintainer for now
(From OE-Core rev: d8c075d9ac8792726be162da02f2325cbb3aeaaa)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use CPPFLAGS instead of CFLAGS since there is C++ compiler being used for somefiles
Fixes
gdb/gdbserver/../../../gdb-8.1.1/gdb/gdbserver/../common/common-utils.c:419: undefined reference to `rpl_stat'
| collect2: error: ld returned 1 exit status
| make[4]: *** [Makefile:414: libinproctrace.so] Error 1
(From OE-Core rev: d6806b449ba8b44fd74dfb05c65b9233b6f3ace5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* to avoid confusion with "type" command in shell
(From OE-Core rev: 8d454ea754c96561257b1cc011fa638ceaa771db)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* some people don't like the ${MACHINE} in the symlink, because now the DEPLOYDIR already
contains ${MACHINE} subdirectory, add KERNEL_ARTIFACT_LINK_NAME variable to change it
in one place without the need to list all variables for various artifacts
(From OE-Core rev: 416b58d84f1124212f114198d2fcb1f3a9bbd223)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* for consistency with other artifacts variables, include only the version string, not the actual name or extension
* changing .tgz to something else in the MODULE_TARBALL_NAME variable only wouldn't make much sense
because then kernel.bbclass still calls "tar -cvzf" to create it
(From OE-Core rev: 43bd7f39157da49f7fb0c2d6d9751059471c8d53)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* for consistency with IMAGE_NAME and IMAGE_LINK_NAME
and to avoid confusion with IMAGE_BASENAME (which is the
actual name of the artifact, e.g. PN while KERNEL_IMAGE_BASE_NAME
was only the version suffix)
(From OE-Core rev: f952c8e08b4798aa0f8bf764cfd70bda0eae9b8b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* use the same naming scheme for fitImage files like all other deployed artifacts
* remove unnecessary cd to DEPLOYDIR
* remove unnecessary cd to B
(From OE-Core rev: fd69f8b2d7dd950cee9e820ef91ea90521c95ace)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this makes it easier to use different version string than DATETIME, e.g. set from jenkins job
while keeping the suffix consistent across all artifacts stored in DEPLOYDIR
(From OE-Core rev: 1245935b9bf32e0321d8ff12492983ba8506190a)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The testdata.json is being written to DEPLOY_DIR_IMAGE directly,
thus bypassing sstate, which results in an ever growing list
of files.
Write them to IMGDEPLOYDIR instead, so as to benefit from the
automatic management via sstate.
(From OE-Core rev: 1f7399a5e5d12b7ca3faf399a70c1613d522c28d)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Test in SDK was failing to execute:
$ autoreconf --install --force
due to missing perl modules. Add the needed perl modules
for target build:
perl-module-bytes
perl-module-thread-queue
perl-module-threads
Duplicate the perl module dependencies for SDK as well.
Now autoreconf runs with a trivial example.
(From OE-Core rev: 71764105510e2a98150f63aae0ada1600ad33041)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Automatically select one kernel type image based on a predefined
precedence list if there are multi kernel images installed.
(From OE-Core rev: d1d80566681d4cdc00aa3d4b5e4bcf5edb7132b7)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support to specify a custom extlinux.conf via something like:
bootloader --configfile="extlinux.conf"
(From OE-Core rev: 33f85c8bf80d70f00eeccd9ab3dfa417c0fc7df1)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When systemd start the weston.service, the script "weston-start" will
check if the dir "XDG_RUNTIME_DIR" (usually is /run/user/0) exits and
create it. Then weston will create a socket file "wayland-0" for communications
with clients in this dir.
If systemd is built with enabling "pam" feature, the login will call "run-user-0.mount"
to mount tmpfs at the dir "/run/user/0", then the socket file "wayland-0" will be
missing since it is created in the old "/run/user/0".
So add "PAMName=login" to let weston.service call login first, once tmpfs is mounted at
"/run/user/0", then call weston-start to create a socket file in it.
(From OE-Core rev: 3cb303ffee8610d41c9a0745d366556c24066bc3)
Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The aarch64 build issue in the afalg engine appears to have been
fixed upstream since openssl 1.1.0g:
a0c262644e
(From OE-Core rev: 3184de7f57c05f32682d0c00baf797074b137422)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A single version of the openssl.sh environment-setup script is
currently shared by both the openssl 1.0 and 1.1 recipes. The libdir
path in the script needs to be tweaked for openssl 1.1.
(From OE-Core rev: 950f89a5eb98edbd734247b4141e18e635ef4f91)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssl 1.0 recipe puts the libdir symlink to /etc/ssl/openssl.cnf
in the base openssl package (along with the libdir symlinks to
/etc/ssl/certs and /etc/ssl/private). Keep the openssl 1.1 recipe
aligned with that approach until there's a clear reason to do
something else. For more background, see comments in the following
thread:
http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135176.html
(From OE-Core rev: 480335803928c95e7948f8c949127ccb5cbc7dbe)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssl 1.1 recipe doesn't have a PACKAGECONFIG option for perl,
so the RDEPENDS for openssl-misc shouldn't be conditional on it.
(From OE-Core rev: 6c6c3809b9db3a08eefabe06d3f35cee5f400d92)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Formatting and comment tweaks only, no functional changes.
(From OE-Core rev: 06da559b5becee1b5fcc2263f6edd95f6d305fc2)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to comments in Configurations/10-main.conf, the linux-elf
target is "... to be used on older Linux machines where gcc doesn't
understand -m32 and -m64".
The linux-x86 target appears to be the newer replacement (currently
the only difference between the two is that linux-x86 adds -m32 to
cflags).
(From OE-Core rev: 9e9d0045caa62f3dba2760460de4e6eac38b4628)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merge duplicates + minor reformatting (no functional changes).
Note that the openssl 1.1 recipe still needs to be updated to handle
MIPS Release 6 ISA targets (e.g. linux-mipsisa32r6, etc).
(From OE-Core rev: bdc9e773c240716c2e2a60ca5d4313cfaa6188b1)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Update checksum for copyright year changes
Update to the latest stable version
(From OE-Core rev: 30d0e8e895813bc422d60bd00076a7f16035feeb)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libunistring is one such library which many autotooled packages
mistake to use from build system if its installed on it. This
is specifically toxic when build host arch is same as target arch
since we only see the problem during runtime but thankfully OE
has build time QA which warns about it.
QA Issue: libidn2: The compile log indicates that host include and/or library paths were used.
Using --with-libunistring-prefix nudges the autoconf system for the
component to first look into target sysroot before going on to search
on the build host
(From OE-Core rev: 9a4ea4ff856e2379888ea5cdcc0e761956e1f53b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
llvm-config is a tool on similar veins as pkg-config but provides a lot
more information and packages which use llvm e.g. mesa use this tool to
poke for llvm related informaiton e.g. version, libpath, includepaths
to name a few, this has few challanges in cross build environments where
llvm-config is supposed to be build for buildhost but provide information
about target llvm which is addressed by building native llvm-config along
with target llvm build, but this is frowned upon by OE build system since
it detects that host paths are being used so we have to build it as part
of llvm-native but then it means install paths for llvm and llvm-native
are different and wrong paths get reported when llvm-config is used.
This is solved by providing YOCTO_ALTERNATE_EXE_PATH variable to let
llvm-config use that path instead of self-relative path to report back
Second problem is when building multi-lib packages base_libdir is different
for target packages but native llvm-config does not know about it so
it reports non-multilibbed paths as libdir and packages can not find
llvm in sysroot. This is fixed by adding another environment variable
YOCTO_ALTERNATE_MULTILIB_NAME which can be set from recipes to set
proper multilib path
(From OE-Core rev: 865eb1c1400e60d09c8f413504123fdfc116a71b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Import from meta-oe layer
- This is useful for many packages where CR-LF
needs to be adjusted, many recipes depend on it
e.g. meta-multimedia libebml and so on.
(From OE-Core rev: bd4a02d8d3cfb476a2da0f4616605c92604266c0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If not defined, llvm build system tries to build one
which then confuses the OE QA system since its building
native tool and target packages in same package build
moreover it is not required since we already have it via
llvm-native
Fixes
ERROR: llvm-6.0-r0 do_package_qa: QA Issue: llvm: The compile log indicates that host include and/or library paths were used.
(From OE-Core rev: 7153a17166d9a94fd0ddc36d597a0140979d58ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Original approach to add -no-<pie> flags cause link time behavior changes
where packages start to lose the -fPIC -DPIC in compiler cmdline and this
list keeps growing as we build more and more packages,
Instead lets just remove the options we dont need from SECURITY_CFLAGS
this makes it more robust and less intrusive
This also means we do not need to re-add pic options as we started to do
for affected packages
(From OE-Core rev: 1520f5a345fd03d46f33f0efaf76191e96344bec)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Here is the primary driving enhancement:
* Bug 12785 - Support Project Specific configuration for external
tools (e.g. ISS, Eclipse)
- Isolated project-specific configuration page (full Toaster context
hidden)
- Support for new project, reconfigure existing project, and import
existing command line project
- Ability to define variables (e.g. image recipe) and pass them back
to external GUI
- Ability to execute the cloning phase, so that external GUI receive
a buildable project
- Ability to call back to the external GUI when updates are completed
and ready
- Compatibility of above projects with the normal full Toaster interface
- Ability to pass to a 'complete' or 'cancel' web page so that the
external GUI can immediately stop that Toaster instance, and not
leave dangling servers nor edit sessions open
Here are the supporting enhancements, where at least the
back end is implemented:
* Bug 12821 - Make Toaster conf changes compatible with command line usage
* Bug 12822 - Support importing user changes to conf files into Toaster
* Bug 12823 - Support importing user build directories into Toaster
* Bug 12824 - Scan imported layers for content so that they are
immediately available
* Bug 12825 - show layer clone item in progress bar
Here are defects fixed:
* Bug 12817 - builddelete.py requires explicit 'add_arguments'
* Bug 12818 - Remove orphaned imported layers when project is deleted
* Bug 12826 - fix imported layer management
* Bug 12819 - build using selected bitbake env, not Toaster's env
* Bug 12820 - Toaster randomizes the layer order in toaster_bblayers.conf
[YOCTO #12785]
(Bitbake rev: 985d6cec290bdd80998a63483561a73c75d82d65)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing kernel-devsrc package starts with a full copy of the kernel
source and then starts to strip out elements that are not required.
This results in extra time (I/O) and extra space being taken up in the
final package. The main purpose of the kernel-devsrc package has been to
build modules against the running kernel, not to include a full copy of
the source code for re-building the kernel. The end result was a
600M kernel-devsrc package.
This restructuring of the package uses an approach similar to other
distros, where the kernel-devsrc package is for building against the
running kernel and uses a curated set of copied infrastructure, versus
a mass copy of the entire kernel.
The differences in this approach versus other is largely due to the
architecture support and the split build/source directory of the
kernel.
The result is a kernel-devsrc package of about 10M, which is capable
of running "make scripts" and compiling kernel modules against the
running kernel.
Along with the changes to the copying of the infrascture, we also
have the following changes:
- a better/more explicit listing of dependencies for on-target
builds of "make scripts" or "make modules_prepare"
- The kernel source is installed into /lib/modules/<version>/build
and a symlink created from /usr/src/kernel to the new location.
This aligns with the standard location for module support
code
- There is also a symlink from /lib/modules/<version>/source -> build
to reserve a spot for a new package that is simply the kernel
source. That package is not part of this update.
(From OE-Core rev: 007ef1f468110b2698a27ea9a6d43fed5a0a9fc2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the following patch:
"disable-graphviz.patch" to fix this warning:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.htmlhttps://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
checking file configure.ac
checking file libvaladoc/Makefile.am
checking file libvaladoc/html/basicdoclet.vala
checking file libvaladoc/html/htmlmarkupwriter.vala
Hunk #1 succeeded at 51 with fuzz 1 (offset 8 lines).
(From OE-Core rev: dfbbff39cfd413510abbd60930232a9c6b35d765)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On other distros like ubuntu/centos, libnss-db usually provides:
- The libraries
- The Makefile to create database
(in /var/db for centos, /var/lib/misc/ for ubuntu)
- The makedb command (it's in glibc-common for centos7)
What we had is:
- The libraries are in glibc-extra-nss
- The Makefile is removed
- The makedb command is in glibc-utils (lack of dependency)
So when glibc-extra-nss is installed but glibc-utils is not,
we see error like:
nscd[165]: 165 checking for monitored file `/var/db/group.db': No such file or directory
nscd[165]: 165 checking for monitored file `/var/db/passwd.db': No such file or directory
And there is not an easy way to create these databases.
To fix the issue:
- Re-package the libraries into libnss-db
- Don't remove the Makefile and add it in libnss-db
- Add RDEPENDS for libnss-db on glibc-utils
- Provide a shell script, makedbs.sh, to generate the db files.
This is to avoid dependency on 'make'.
Notes:
1. For external toolchain, an extra package 'libnss-db' need to be provided
If replacing glibc from core.
2. I've check the git history of nss/db-Makefile, the last two functionality
fix is as below.
- fix non-portable `echo -n` usage -- Date: Thu Aug 6 04:14:20 2015 -0400
- Fix db makefile rule for group.db -- Date: Fri Nov 11 14:43:36 2011 +0100
So I think this file is stable enough. And using makedbs.sh which is crafted according
to that file is not likely to cause maintanence problem.
(From OE-Core rev: 13cf502fce8956f95fdc8ac0c7a37d741223bcc9)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. So far, only qemux86[-64] support hw breakpoint, no matter whether or
not with kvm.
qemuppc: The oe-core configuration uses a PPC G4 system as the
default cpu but qemu doesn't simulate the hw breakpoint register for G4.
qemuarm: The arch more than v7 supports hw breakpoint, however arm use
v5 as default.
qemuarm64: We temporarily drop qemuarm64 for the moment. Normally it
will print debug info once, but endlessly when we trigger the break
point. Now it is hard to located the issue, but we will confirm it
later.
qemumips*: Kernel dosen't support hw bp for mips.
2. Syslog maybe not started, so we use dmesg to confirm.
3. Running 'ls' to trigger the hardware breakpoint test.
(From OE-Core rev: 176e50fb177dc40e439700d5f3f838dd7eaaa427)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The debug info can not be written to trace buffer immediately
by thread. So we should sleep some seconds.
(From OE-Core rev: 5ccf8150b4c65f2feac16cc2881188f14d9e5390)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable profile guided optimization (pgo) for python3. Enabling pgo in
python is generally as simple as invoking the target profile-opt which:
- builds python binaries with profile instrumentation enabled,
- runs a specific profile task using that python to get the profile
data and,
- feeds the compiler with this profile data and rebuilds python.
This change invokes qemu-user for the second step of running a profile
task using target python. Depending on how long profile task takes to
run, this might add a significant time to compilation (which would be
true for native builds too). The default profile task can be changed by
the users depending on what makes sense for their use case (or can be
left empty). In case qemu-user isn't supported, profile task won't be run.
(From OE-Core rev: 05a2a53f9cc7e75b4a3838ab9368cadf0f15ba1b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2017-14160, CVE-2018-10393 (same as 14160), and CVE-2018-10392.
These fixes should be in libvorbis 1.3.7.
(From OE-Core rev: 45ff20f325a51fe0ed12d58160c08e04781ce341)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid adding bison-native to the sysroot without a specific
dependency in the recipe. This means indirect dependencies
(e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the
dependency incidentally. This improves determinism and avoids build
failures when people switch to external toolchains.
Based on an idea by Richard Purdie:
http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146324.html
(From OE-Core rev: b7edc20cc2dd82989bd9561f860cb25478a40f69)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #12791]
The one which actually saves the data is data_list.data.d.d_buf, so check it
before free rawdata_base.
This can fix a segmentation fault when prelink libqb_1.0.3:
prelink: /usr/lib/libqb.so.0.18.2: Symbol section index outside of section numbers
The segmentation fault happens when prelink call elf_end().
Fixed:
MACHINE="qemux86-64"
IMAGE_INSTALL_append = " libqb" #libqp is from meta-openembedded
$ bitbake core-image-minimal
Segmention fault
(From OE-Core rev: 560154e8525dce4beb8199ffc0d7c964da9d665a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #12791]
According to struct elf32_hd, the e_shnum is section header number, and the
index is e_shstrndx, not e_shnum.
This can fix segmention fault when handle libqb.so.0.18.2 from libqb_1.0.3.
It fails to handle libqb.so.0.18.2 and get errors:
Symbol section index outside of section numbers
Then segmentation fault, this is because the e_shnum is 34, while e_shstrndx is
27 (it would be 33 when no errors), I've checked several elf files to confirm
that the ones after e_shstrndx is NULL, so use e_shstrndx should be correct.
Fixed:
MACHINE="qemux86-64"
IMAGE_INSTALL_append = " libqb" #libqp is from meta-openembedded
$ bitbake core-image-minimal
Segmention fault
(From OE-Core rev: b7c291ee6532cba845ee6bfbbaa21076a2b2cbe5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the assembler reports that the input and output are the same, report the
file names involved, in order to help debugging. Also do not equate two files
are the same if the have the same inode value but reside on different file
systems.
(From OE-Core rev: 83cb0938b90bab9ba727f883b8955b0b40d49a01)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bb.utils.copyfile is called in a few places with identical src and dst
in order to create an st_nlinks==1 version of the file. That that even
works relies on an implementation detail of copyfile (namely, that it
creates a temporary file and then does a rename). Moreover, it's a waste
of time if the file already has st_nlinks==1.
So create a helper that optimizes away the copy in the st_nlinks==1
case. Of course, this helper relies on the same implementation detail,
but that's now contained within bb.utils itself.
To test that we do at least sometimes hit the no-copy path, I tested
locally with
if sstat[stat.ST_NLINK] == 1:
+ bb.note("Woohoo, 2*%d bytes I/O avoided" % sstat[stat.ST_SIZE])
return True
(and the obvious places in oe-core patched), and the do_package log files
are indeed filled with woohoo notes.
(Bitbake rev: 7ae93cf40ab91965147055100432961436bce46c)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class sets POSTINST_INTERCEPTS and POSTINST_INTERCEPTS_CHECKSUMS,
to allow us to pull intercepts from BBPATH. This is kept as a separate
class, as it's needed by both image construction and sdk construction,
the latter to support meta-toolchain & similar recipes.
(From OE-Core rev: 7a2044df4ae8d80cf25a6bfd9b71978ffefbfa33)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- if POSTINST_INTERCEPTS is set, use the listed intercept files, or
- if POSTINST_INTERCEPTS_PATH is set, load from the listed paths, or
- if POSTINST_INTERCEPTS_DIR is set, load from it (for compatibility), or
- load from ${COREBASE}/meta/postinst-intercepts
(From OE-Core rev: 9ba2f2b1df277b2b881f68166d9cd1c19db66e23)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using re.compile() is around six times faster than recompiling the regexp
each time so maintain a cache.
(From OE-Core rev: 41eb382737706e245f2b7104e313c8dfaa370945)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the newly introduced SSTATE_EXCLUDEDEPS_SYSROOT for specifying
the base-passwd|shadow-sysroot recipes to be excluded from a recipe sysroot.
(From OE-Core rev: 68e502e9063a88532fe0154f152ba408f0091900)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the newly introduced SSTATE_EXCLUDEDEPS_SYSROOT for specifying
the *-initial recipes to be excluded from a recipe sysroot.
(From OE-Core rev: 6706bad52f9311ea79c534ee90014c3216992999)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, a dependency on any -native recipe will pull in
all dependencies of that -native recipe in the recipe
sysroot. This behaviour might not always be wanted, e.g.
when that -native recipe depends on build-tools that are
not relevant for the current recipe.
This change adds a SSTATE_EXCLUDEDEPS_SYSROOT variable,
which will be evaluated for such recursive dependencies to
be excluded. The idea is similar to
http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146324.html
except that the list is not hard-coded anymore.
SSTATE_EXCLUDEDEPS_SYSROOT is evaluated as two regular
expressions of recipe and dependency to ignore, e.g. in
the above flex-native / bison-native use-case, one would
specify
SSTATE_EXCLUDEDEPS_SYSROOT = ".*->(flex|bison)-native"
in layer.conf.
The existing special handling of "-initial" as well as
"base-passwd" and "shadow-sysroot" could also be
streamlined:
SSTATE_EXCLUDEDEPS_SYSROOT += "\
.*->.*-initial.* \
.*(base-passwd|shadow-sysroot)->.* \
"
Another anticipated user is meta-java, where certain newer
JDKs can only be bootstrapped (built) using older JDKs,
but it doesn't make much sense to copy all those older
JDKs and their own build tools (ant, etc.) into the
sysroot of recipes wanting to be built using the newer JDK
(only), e.g.:
SSTATE_EXCLUDEDEPS_SYSROOT += "\
openjdk-8-native->(ant-native|attr-native|coreutils-native|icedtea7-native|libxslt-native|make-native|openssl-native|zip-native|unzip-native) \
"
(From OE-Core rev: 92c5131a2feae2036c71a36c18bb9175bb2856dc)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes issues related out of range R_PPC_REL24
e.g.
/usr/lib/xorg/modules/input/libinput_drv.so: /usr/lib/libinput.so.10: R_PPC_REL24 relocation at 0x0e8602c4 for symbol `libevdev_has_event_code' out of range
(From OE-Core rev: 48c8d13a9bdcacb64a330074588f7c6bb5cae90d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some packages have hard-coded path to /etc/ssl location.
Create a symlinks to correct location.
(From OE-Core rev: 87ae1f2de1b033172560e3c89caa06bd9e10d071)
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>
The main idea is to have libssl and libcrypto in separate packages.
This saves space if only single library is needed and also some recipes
(in other layers) depend on these library packages.
Together with this other packages like in 1.0.x were created.
The only difference is that openssl 1.1 has additional package openssl-bin.
Add missing dependency to perl for openssl-bin pkg, c_rehash requires it.
(From OE-Core rev: b729cae26de23ac6df10cbf74bab0105580cc43d)
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>
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)
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>
SERIAL_CONSOLE was already deprecated in 2013, yet still some
machine configuration files were using it. This patch replaces
it with SERIAL_CONSOLES, which is the successor.
The default value in systemd-serialgetty.bb can also be safely
transitioned from SERIAL_CONSOLE to SERIAL_CONSOLES, as this
recipe already uses SERIAL_CONSOLES within do_install().
The documentation seems to be already up do date.
beaglebone-yocto.conf in the bsp-guide already uses
SERIAL_CONSOLES. The ref-manual redirects from SERIAL_CONSOLE
to SERIAL_CONSOLES.
[YOCTO #12653]
(From meta-yocto rev: a0c5332aefe75cf314e78284f578b17c51b8ab27)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.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)
Signed-off-by: Konstantin Shemyak <konstantin.shemyak@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To handle the case where ${COREBASE} isn't the git directory, avoid
erroring out when the git command fails. If we don't have a timestamp
after this, fall back to the timestamp from conf/bitbake.conf.
(From OE-Core rev: 97b439469a45a089431ca9c31893288c855045f4)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-gpgme fails package_qa when setting PACKAGE_DEBUG_SPLIT_STYLE
= "debug-with-srcpkg".
ERROR: nativesdk-gpgme-1.10.0-r0 do_package_qa: QA Issue: non debug package contains .debug directory: nativesdk-python3-gpg path /work/x86_64-nativesdk-oesdk-linux/nativesdk-gpgme/1.10.0-r0/packages-split/nativesdk-python3-gpg/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/python3.5/site-packages/gpg/.debug/_gpgme.cpython-35m-x86_64-linux-gnu.so [debug-files]
This turns out to be because the automatic moving of the -dbg package to
the beginning of the package list is disabled in that case, so the
python3-gpg packages that the recipe prepends to PACKAGES ends up before
the -dbg package.
It's not clear why the "and not split_source_package" was added when
debug-with-srcpkg was introduced. Presumably the intention was to
prevent the -dbg package to end up before the -src package, which we of
course need to. But at the same time, we still need -dbg packages to end
up before all other packages.
Using list.insert(0, ...) also means that if there happens to more than
one -dbg package, their relative ordering gets inverted in the new list.
This tries to fix these issues by sorting the packages by (priority,
original position), where priority is 10 for -src, 30 for -dbg and 50
for everything else. That guarantees that packages of the same "type"
preserve their relative ordering, while also ensuring that -dbg always
preceed other packages. This scheme is also quite extensible, and,
should the need arise, one could even expose the priorities as a knob
the recipe author could use to ensure specific orderings of packages
instead of the somewhat fragile and coarse-grained method of "prepend or
append, and ensure you do that in a proper order".
Probably the autodebug condition needs to stay, but I think the
split_source_package condition in the preceding elif should be removed,
so that that logic applies to all packages called -src, not just the one
we might have created a few lines above.
(From OE-Core rev: 805edbc7dc9ceae00d991f9b4e185bbbe1d3ba45)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gbm is checked in configure.ac:
AC_ARG_ENABLE(drm-compositor, [ --enable-drm-compositor],,
enable_drm_compositor=yes)
AM_CONDITIONAL(ENABLE_DRM_COMPOSITOR, test x$enable_drm_compositor = xyes)
if test x$enable_drm_compositor = xyes; then
AC_DEFINE([BUILD_DRM_COMPOSITOR], [1], [Build the DRM compositor])
PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0])
PKG_CHECK_MODULES(DRM_COMPOSITOR_GBM, [gbm >= 10.2],
[AC_DEFINE([HAVE_GBM_FD_IMPORT], 1, [gbm supports dmabuf import])],
[AC_MSG_WARN([gbm does not support dmabuf import, will omit that capability])])
fi
(From OE-Core rev: 73e9a5fc3234acda561f26cb915f4b636982ad63)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We got an error when building setools in meta-selinux:
setools/policyrep/qpol_wrap.c:1819:23:
error: cast between incompatible function types from 'PyObject * (*)(PyObject *)'
{aka 'struct _object * (*)(struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)'
{aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Werror=cast-function-type]
{(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
This is a swig issue. See: https://github.com/swig/swig/issues/1259
Backport a patch from upstream to fix it.
(From OE-Core rev: f0f8ee668de34ad30ca16f5300966a3470018940)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By leveraging the distro boot command feature in the u-boot, we can
compose the corresponding extlinux.conf when creating the wic image,
and let u-boot boot the kernel automatically. For more detail about
the u-boot distro boot command feature, please see doc/README.distro
in u-boot source files.
(From OE-Core rev: bdf8ae540af12ecc9ad60efd3651b0f71d12d3bd)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to add some u-boot specific config file. Before doing this,
we need know what files will be installed into this partition. So
move the codes about parsing the IMAGE_BOOT_FILES into
do_configure_partition(). No function change.
(From OE-Core rev: 3203037471c761f635d1f1c512cb623ff6977a41)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We choose to pass the source parameters to the source plugins' hooks
via a local variable srcparams_dict. So the Partition.sourceparams_dict
is not used by anyone and seems pretty confused. So drop it.
(From OE-Core rev: d7130a7d0e61021f71fec1d7ae7d37ebb27f0e03)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add definitions to the locale table for riscv architecture.
(From OE-Core rev: 624f6fd50da764cde71eb24e40742a48fa65d13c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section on the siteinfo.bbclass file had a paragraph indicating
base.bbclass included siteinfo.class. This is not true since
2010. I removed the paragraph.
(From yocto-docs rev: 5d39220baddc9db5c1182cea8447e5c4a2e42bd8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Final edits to this section. The procedure is more complete now.
(From yocto-docs rev: 5dcc32917c360e32475851b2b580d3d8bc988d7e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original link was to a deprecated site.
(From yocto-docs rev: 067094d10a8d02d0873deb87508377e896e4f3c7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The documentation of available names for TEST_TARGET has been
updated to match the convention of using the class names of
controllers.
This commit was modified some to make it work. Fixed some
formatting errors and isolated and changed missed instances.
(From yocto-docs rev: 1bec1dc38cdd1746ce6dd539f9c3e5665d12ab8e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Performed some edits to bring things in line for the "build host"
terminology.
(From yocto-docs rev: 4fedbdac437691b8a0f8d56931fcaad461c7463a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The title needs to use the terminology "Build Host" to be consistent
with the manual set. I updated the title and the many links into that
section.
(From yocto-docs rev: 930030433e58e6180ee4f95e559d079c3899defc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I made some terminology changes to be consistent with the
"build host" term.
(From yocto-docs rev: 8e00f6453cbc470c7572f2c18e23e44ce18a7336)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed the "Preparing the Build Host" section to consistently use
the terminolgy "build host".
(From yocto-docs rev: 6199dde0611b4f077dfb2ad1ebdcc1414c4a081a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fix involved a few other manuals.
(From yocto-docs rev: d2659951a458a8db773e8c1b2b86a7b109d667fa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found several areas that needed improvement. Made these
modifications.
(From yocto-docs rev: e2125363d39b9a54a371fc737cc9b55d66c9be59)
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: f7b2c7c08f3f504e14943a01e7fc0a73c96e9636)
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: a68619a2ba8b7877cde6c9ef7dbb726adc75b0cd)
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: 9ea640ffea2a2c9827f18070a5b287453c8653e9)
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: 15c65db41c9e6eddf7d12e138f6c63755e845beb)
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: ff250cea239668db5fe26aa912942c0d142833fa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made some suggestions on how and where to edit the SDK_TITLE
variable.
(From yocto-docs rev: 4a4393e00c7108eefaaeaa3951a75524589bf360)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added more detail to this section.
(From yocto-docs rev: 15beb33eadd03391a1af0c9bad0620cefad2a0e2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided more detail and a cross-reference into the SDK manual
where you can change the title through the variable.
(From yocto-docs rev: 9617fa70caef48328455a02d5260e536fac19c53)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable is the default installation directory for the
Extensible SDK. By default, it is "poky_sdk". You can override
this variable so it needed to be documented. The ideal place to
override it is in the distribution configuration file.
(From yocto-docs rev: 67eca50fa973073ce6e7975ab66b89b9706c25c0)
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: 1c60b13b5f1813d6e3688e1efce32b7f31422e86)
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: 2120ba194abada1769be28ae2737ac12a16adebc)
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: 20f1cad5a813697afd99837699bf52a6586893bb)
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: 007bbe40fd11a5f880adf7ad8137d1535f08c815)
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: 4282fabddc81bf4c0fbd0a641ec4f1e9754660c2)
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: bb5638409faadb9c6a5fbca729e4e6b8a220433d)
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: 433388ff37297d905c465a5f05d93953dfe062c5)
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: de882b81ed8525dee5e10f247cc6f5c8f15e0f72)
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: 696eb9ff0b89222dc696adc0bd28247c0a0c731a)
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: 062db19dd56cc1827ebd7614eb8a54660421df62)
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: a0145996aeac1bb45fea9f613789b00327f92d1e)
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: 355b05366aadc337ec3337c0a3c918a23027923b)
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: f24287851998d554575c6aaf9dcc50d198931e48)
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: 359292397781f9f5eac2fb693d89ec286ddf9940)
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: a0dc11ce74bba0a18f385d9800f93524340ed033)
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: 053467557ef22ce37762222a2997ff9c10be87e8)
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: ffdd9a9d00cccf270b5aa236279e6eeea0ff47ed)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.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: a0ac8d67f1471a0c611d691b856fede67efb53f6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a heap allocated string to set arg_ifname, since a stack allocated
one would be lost after the function returns. (This last one broke the
case where an interface name was suffixed with a dot, such as in
`resolvconf -a tap0.dhcp`.)
(From OE-Core rev: 48775d2f02d6d4024403796b81d6398f3028b965)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Simon Ausserlechner <simon.ausserlechner@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add package for the firmware required by the Marvell 8997 chipset when
connected over USB.
(From OE-Core rev: 650a33d88abfa42936b61465d2a4d42da53d4018)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it more suitable to work with, e.g., devtool. It also
prepares for the update to 0.47.0 when the first patch will no longer be
needed (as it is a backport).
(From OE-Core rev: e1297f9a951b1dbafd0e211be63b348f06b1f3cd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let pkgconfig figure out headers and libraries instead of manually
forcing waf to do it.
(From OE-Core rev: 283026adda7c184e213dacd7f4e42678c304866a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PCMCIA is pretty rare these days, so now that the recipe is in meta-oe we can
remove it from oe-core.
(From OE-Core rev: 0f8dcb9c717201c4b1edf4fa55880b432bfb7723)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
See https://bugs.freedesktop.org/show_bug.cgi?id=35268
mesa should infact stop using __attribute__((tls_model("initial-exec")))
until then we disale TLS in glx for musl
The problem could happen even on glibc if static TLS sizes are large enough
which would mean that additional space the glibc leaves for such rogue libraries
get consumed and then same problems show up there as well
Fixes errors seen in xorg logs e.g.
(EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: Error relocating /usr/lib/libGL.so.1: _ITM_deregisterTMCloneTable: initial-exec TLS resolves to dynamic definition in /usr/lib/libGL.so.1
enable readonly text segment on x86 for musl
(From OE-Core rev: f3a59540d0d1f7ab42ba7cb5ff1a26ac3a8a9f68)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sparseness test was sometimes working and sometimes failing depending
on whether sstate was valid. This adds an explict test of sstate
to the test for both hardlinking and sparseness. Tweak the test name to
cover the fact its tests sparseness too.
(From OE-Core rev: fe5b37c07b6d07c350516ab6bf849d6d86a84004)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Files when restored from sstate were missing their sparseness. Fix up various
functions to preserve this and make things more deterministic.
(From OE-Core rev: 055402e5504f041c346571e243c7cf0894955cad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Parsing all the recipes is annoying when trying to re-execute oe-selftest
and also unnecessary as its really just a sanity check. When the tests were
originally being developed the guard was useful but less so now.
Replace it with bitbake -e which is fast and checks the basic configuration
is valid.
(From OE-Core rev: acec5180b8d2731002979179e08439b615631e70)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if you build qemux86 and then generic86, the latter will
remove all of the former from deploy and workdir. This is because
qemux86 is i586, genericx86 is i686 and the architctures are compatible
therefore the sstate 'cleaup' code kicks in.
There was a valid reason for this to ensure i586 packages didn't get into
an i686 rootfs for example. With the rootfs creation being filtered now, this
is no longer necessary.
Instead, save out a list of stamps which a give machine has ever seen in
a given build and only clean up these things if they're no longer
"reachable".
In particular this means the autobuilder should no longer spend a load of time
deleting files when switching MACHINE, improving build times.
(From OE-Core rev: 5634f2fb1740732056d2c1a22717184ef94405bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to rpm, use copies of the ipk/deb directories for rootfs construction.
This means the image creation code can no longer "see" recipes wich aren't in its
dependency chain which is good for a variety of reasons including determinism,
incompatible recipe (e.g. systemd/sysvinit) package conflicts and locking
performance.
(From OE-Core rev: c7c5f4065c102fde4e11d138fb0b6e25bffe0379)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is generic, tweak the variable names and move out the rpm specific
directory name to make it truly generic and reusable for deb/ipk.
(From OE-Core rev: dba876639b1fb8ea3ccb182c91e19966c4052115)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The locale code uses the archive location in two places, ensure both are
corrected to use the environment variable which avoids nasty build
failures when archiving locales in images.
(From OE-Core rev: 3ab1249a2ac92a0fcb008e92cc9ee272441408f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor the locale archive function from the SDK to also make it work during
general image creation. This reduces the size of the locales from 900MB to 220MB
in core-image-lsb-sdk.
The exception handling around subprocess was dropped as the standard subprocess
exception printing is better handled than the catchall exception.
(From OE-Core rev: 8ffd93bdb09b0a4a84b27dafcd684c6abba392ed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new element to the hardlink test to check we also preseve file
sparseness during the packing process. This should ensure we don't regress this
issue again.
(From OE-Core rev: 0a4e6974b49bf68c4a4098d339b5d655e202a3fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
screen uses crypt() so add the missing DEPENDS triggered by glibc 2.28.
(From OE-Core rev: 77ca6be2bcac35a54546b0b468a4d68e8cc8b894)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc needs make >= 4 yet some of our build workers have older versions of
make. Add a make-native dependency to work around this until all our supported
distros have a recent version of make.
(From OE-Core rev: 0cd89e4af625941f8ab8c033f72f900a2979b304)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop packaging libcrypt from 2.28+ onwards
We have independent crypt implementation coming from libxcrypt
(From OE-Core rev: 6146b8c4216daf56a69f4e3531861302df6a63a2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
virtual/crypt for musl will come from libc itself
(From OE-Core rev: e0ed7d74e61294a986f72a531b23f7e67922de29)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
configure tests crypt() existence with:
dnl We test for crypt() specially. On Linux (and others?) it resides in libcrypt
dnl but we don't want link all binaries to -lcrypt, just dropbear server.
dnl OS X doesn't need -lcrypt
AC_CHECK_FUNC(crypt, found_crypt_func=here)
AC_CHECK_LIB(crypt, crypt,
[
CRYPTLIB="-lcrypt"
found_crypt_func=here
])
AC_SUBST(CRYPTLIB)
if test "t$found_crypt_func" = there; then
AC_DEFINE(HAVE_CRYPT, 1, [crypt() function])
fi
but that silently fails with glibc-2.28 and a bit later do_compile fails with;
http://errors.yoctoproject.org/Errors/Details/185895/
../dropbear-2018.76/sysoptions.h:237:3: error: #error "DROPBEAR_SVR_PASSWORD_AUTH requires `crypt()'."
#error "DROPBEAR_SVR_PASSWORD_AUTH requires `crypt()'."
^~~~~
Add dependency on virtual/crypt so that do_configure detects it correctly.
(From OE-Core rev: d04703aef55e01c59329fc54660724e053f3f66c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* I'm not using glide, so I'm not going to fix it proplerly,
it was just bothering me in world builds
* this is reproducible only with ptest in DISTRO_FEATUREs (for aarch64
issue) and included security_flags.inc, more specifically with the PIE
flags, so alternative work around is:
SECURITY_CFLAGS_pn-glide = "${SECURITY_NOPIE_CFLAGS}"
(From OE-Core rev: a6295bc505df635ab3b66100d4ee7567c49f907e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* I'm not using go or go-dep, so I'm not going to fix it proplerly,
it was just bothering me in world builds
* this is reproducible only with ptest in DISTRO_FEATUREs (for aarch64
issue) and included security_flags.inc, more specifically with the PIE
flags, so alternative work around is:
SECURITY_CFLAGS_pn-go = "${SECURITY_NOPIE_CFLAGS}"
SECURITY_CFLAGS_pn-go-dep = "${SECURITY_NOPIE_CFLAGS}"
(From OE-Core rev: b689c72ad2dc84b8bb55ecbf72d95701707b9bb3)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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: e7cd4c86ef8a2c2bbf068e84c83fdc9e052b6e3d)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to preserve sparse files when building the system, add the option
to tar to ensure we do this when copying files.
(From OE-Core rev: d86da5ae386a8129a966a53901de160823f4d250)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SafeConfigParser class has been renamed to ConfigParser in Python
3.2+ see
http://bugs.python.org/issue10627
This alias will be removed in future versions.So we can use
ConfigParser directly instead.
(From OE-Core rev: 3c05c8fff779bd190b31fa8aa16b7a1b24420a60)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A missing src directory from a broken kernel recipe resulted
only in a warning:
WARNING: copyfile: stat of /home/builder/src/tmp-glibc/work-shared/target/kernel-source/tools/arch failed ([Errno 2] No such file or directory: '/home/builder/src/tmp-glibc/work-shared/target/kernel-source/tools/arch')
and the build failed horribly.
With this change it's an error which can not be missed:
ERROR: perf-1.0-r9 do_configure: Path does not exist: /home/builder/src/tmp-glibc/work-shared/target/kernel-source/tools/arch. Maybe PERF_SRC does not match the kernel version.
ERROR: perf-1.0-r9 do_configure: Function failed: copy_perf_source_from_kernel
ERROR: Logfile of failure stored in: /home/builder/src/tmp-glibc/work/target-linux/perf/1.0-r9/temp/log.do_configure.21083
NOTE: recipe perf-1.0-r9: task do_configure: Failed
ERROR: Task (/home/builder/src/poky/meta/recipes-kernel/perf/perf.bb:do_configure) failed with exit code '1'
To get get perf compiling from a custom kernel, a perf.bbappend can be
created which defines PERF_SRC as list of files and directories needed
from kernel source tree to compile perf. This varies between kernel
versions.
(From OE-Core rev: c392dabefc431dbfb31d6a1465c75ba9cc765804)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The log entry in results is altered to remove 'target_logs'. This
causes wrong log location in output.
e.g.
AssertionError: 1 != 0 : Log: /path/to/image/1.0-r0/postinstall.log
But when user wants to check the log, the user will find the log is
not present. The actual log file is /path/to/image/1.0-r0/target_logs/postinstall.log.
So fix to use the correct log location.
(From OE-Core rev: df3a2e21648d6b649ebda7e6032afbd63c939f2b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make man-db rdepend on base-passwd to ensure that base-passwd is
installed before man-db at rootfs time. This is to avoid the following
warning at rootfs time.
warning: user man does not exist - using root
(From OE-Core rev: 95162276b169b84d61eaa73416cf0838a0a8a8bd)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add volatile configuraiton file for man-db so that in sysvinit systems
we don't get failure when running `mandb'. The error message is like
below.
mandb: can't create index cache /var/cache/man/579: No such file or
directory
[YOCTO #12872]
(From OE-Core rev: 2c480b363ae80dcc55ec0228f8af0311e023fbf4)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stop the nspr-config scripts conflicting in a multilib case.
(From OE-Core rev: b13fa9bf966bb6f132e82b94bf1ecf4b2e095dbe)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error: Transaction check error:
file /usr/include/event2/event-config.h conflicts between attempted installs of libevent-dev-2.1.8-r0.skylake_64 and lib32-libevent-dev-2.1.8-r0.x86
The conflict is the size macro definition between 32bit and 64bit
such as:
< #define EVENT__SIZEOF_LONG 8
> #define EVENT__SIZEOF_LONG 4
< #define EVENT__SIZEOF_PTHREAD_T 8
> #define EVENT__SIZEOF_PTHREAD_T 4
(From OE-Core rev: 49f979b13f1bc6ece0f343d41421aba43f8d9e21)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current handling of resize is incorrect. Using `resize > /dev/null
2>&1 && resize > /dev/null' will cause the second resize command to not
execute because 'resize > /dev/null 2>&1' will fail for resize utility
from busybox.
What we really should do is just to check whether ${bindir}/resize
is executable and execute it if so. Using '-x' is sufficient.
(From OE-Core rev: 41688279cba3a5afc4fdc65fd245b9bb6ada695e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.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)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix nullptr deref with XPath logic ops
If the XPath stack is corrupted, for example by a misbehaving extension
function, the "and" and "or" XPath operators could dereference NULL
pointers. Check that the XPath stack isn't empty and optimize the
logic operators slightly.
CVE: CVE-2018-14404
(From OE-Core rev: 69315177732a1d260a3315fe8c4c4c44653ae0c8)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If multilib scripts handle more than one file per package, the variable
ALTERNATIVE_${PN} will be overwritten and there will be only one symbol
link file. Append to the variable to avoid this.
(From OE-Core rev: f474a7ed02acaffe5d0fcc67e06dde17fc8e4d0e)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoids producing different build results in different timezones.
Uses UTC with SOURCE_DATE_EPOCH.
(From OE-Core rev: b159cb615feb7f27f8d2afc71f547742bb19cde0)
Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The devtool-source class moves all local files specified in SRC_URI to
an oe-local-files directory. When using devtool and a recipe space kernel-meta,
devtool modify throws an error because the paths the kernel-yocto class
is looking for feature directories in, don't include the oe-local-files
directory which devtool is using.
This patch checks for feature directories in oe-local-files,
and if present, adds that path to include directives.
[YOCTO #12855]
(From OE-Core rev: 4eceae7e3e6dab935e2cf49b75148139192fc6e7)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using a recipe space kernel-meta, scc files are added through
SRC_URI, but they may include corresponding kernel fragments or patches
that are not necessarily in SRC_URI.
For bitbake, this is not a problem because the kernel-yocto class adds
the path where the .scc file was found to includes which consequentially
makes the .cfg, .patch file available to the kernel build.
However, when using devtool, only files specified in SRC_URI are copied
to oe-local-files in devtool's workspace. So if the cfg/patch file is not in
SRC_URI, it won't be copied, causing a kernel build failure when trying
to find it.
This fix parses local .scc files in SRC_URI, copies the corresponding
.cfg/.patch file to devtool's workdir, and also adds it to local_files
so it is available when doing a devtool build for the kernel.
[YOCTO #12858]
v2: also supporting patch not in SRC_URI
v3: fix spacing issues
(From OE-Core rev: 5dffd5403664dfcc9e8e42fd3581d5cb70823d7e)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the generic whitelist entry with entries for the three specific
'problem' cases in OE-Core. This means the general DEPLOY_DIR_IMAGE entry
doesn't mask problems for others as was recently encoutered by users
reported on irc. In the whitelisted cases they occur only in multilib builds
and the files are identical.
(From OE-Core rev: 05f6042a40bb772f7ce8d6819c5b2937d8c9808d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OETestDepends doesn't work with parallelism and in this case we don't
really need this dependency, it would just short out some tests quickly
in the rare case the esdk environment was broken.
Currently this is masking tests which is a much worse problem and we
can't make OETestDepends work reliably with parallelism so drop the
dependencies.
(From OE-Core rev: b3b1e1881240b8e2a32dd5c1dc3b7387f0819576)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting CMAKE_SYSROOT in the toolchain file allows CMake to correctly
remove user-provided system include directories pointing to
<sysroot>/usr/include. The mentioned projects failed with "stdlib.h:
No such file or directory #include_next <stdlib.h>".
(From OE-Core rev: cb42802f2fe1760f894a435b07286bca3a220364)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Raphael Freudiger <raphael.freudiger@siemens.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)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SERIAL_CONSOLE was already deprecated in 2013, yet still some
machine configuration files were using it. This patch replaces
it with SERIAL_CONSOLES, which is the successor.
The default value in systemd-serialgetty.bb can also be safely
transitioned from SERIAL_CONSOLE to SERIAL_CONSOLES, as this
recipe already uses SERIAL_CONSOLES within do_install().
The documentation seems to be already up do date.
beaglebone-yocto.conf in the bsp-guide already uses
SERIAL_CONSOLES. The ref-manual redirects from SERIAL_CONSOLE
to SERIAL_CONSOLES.
[YOCTO #12653]
(From OE-Core rev: e5bde3d466869df9fce559e49842ac245153d045)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.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)
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)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* let manpages.bbclass to enable manpages PACKAGECONFIG based on
api-documentation DISTRO_FEATURES
PACKAGECONFIG_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages','', d)}"
* it's true that building man-pages without manpages being enabled
doesn't make much sense, but it's included through couple
packagegroups:
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb: man-pages \
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb: man-pages \
or in world even for people who might not be interested
in man-pages
(From OE-Core rev: dc13bf30b54855f1db07b415fa4395f7e0bfc4db)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Prefer collections.abc (new in Python 3.3) over collections for abstract base classes
- In Python 3.8, the abstract base classes in collections.abc will no longer be exposed in
the regular collections module. This will help create a clearer distinction between
the concrete classes and the abstract base classes."
- https://docs.python.org/3.7/whatsnew/3.7.html#deprecated
- see c66f9f8d39
(From OE-Core rev: e763151e1f7cfe9ea56de06f41769f8a3d74d219)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need target gettext to build, but nativesdk-gettext-dev (for nls.m4).
(From OE-Core rev: 0474326d79b7675dabe63f691733e8c6b24b2fb0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add x86_64-pep emulation support to the set enabled for x86_64 targets
to enable the linker to produce Portable Executables for EFI binaries.
Enables building the x86-64 EFI variant of the Xen hypervisor for
the OpenXT Project.
(From OE-Core rev: 3d493838f0284948a09693ad65656cb7afbb21cc)
Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Executing strip action on kernel modules removes the signature.
Is not possible to strip and keep the signature, therefore avoid
strip signed kernel modules.
(From OE-Core rev: 4c47e5f171fa2603355e2f9183065ce8137a18c7)
Signed-off-by: Omar Ocampo <omar.ocampo.coronado@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is an oversight in the current hash validation API in that the
function can't know how many setscene tasks already completed. Rather
than trying to add additional parameters to the function, causing
incompatibilities, store the value in the datastore.
This is useful to allow build status reporting to the user for
figures on sstate reusage and build completion.
(Bitbake rev: ec037d3e49264037b81212f498d98e292ae7c334)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the user has no indication of how much sstate was already present
or that would be used by the build. This change adds some summary information
so that the user can see how much reuse is occurring. To fully work it
needs some extra information from a recent bitbake commit but this is
optional.
When combined with bitbake --dry-run this feature can be used to check
if sstate would be reused in a build.
[YOCTO #12749]
(From OE-Core rev: 596f76029ccb6f87c3b049552bd08f5034c41d9c)
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)
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>
Fixes
ERROR: libidn2-2.0.5-r0 do_package: QA Issue: libidn2: Files/directories were installed but not shipped in any packag
e:
/usr/lib/charset.alias
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or del
ete them within do_install.
(From OE-Core rev: 3f3899e9e68aae2d43cd41e2f0760ac9da6e86e5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of oe.utils.getstatusoutput() with direct subprocess
calls.
(From OE-Core rev: 2f44b9b5babf8c95340b141917c1142081f1e594)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were a lot of assumptions in the controller import
code of context.py which were not true anymore. These
assumptions reflected themselves by catching exceptions and
re-raising them with unhelpful error messages in other parts
of the code.
This commit does not fix the classes controller classes that
became broken after the refactor but at least it allows for
the exceptions to be thrown where the imports fail, thus
actually showing what exactly went wrong with the import.
An example of such an improvement is that before if the
controller class failed during it's init contructor the
controller would just be skipped and the task would just
complain it could not find the controller. Now for example,
if there is a NamerError due to a variable not being
declared, the user will get that report.
(From OE-Core rev: 719b0e88b875b067551067874778061f99b8c4b4)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with thumb and debug enabled libjpeg-turbo gets stuck forever
when building for qemuarm.
libjpeg-turbo gets stuck in:
libjpeg-turbo/1_1.5.3-r0/build$ arm-webos-linux-gnueabi-gcc -march=armv5te -mthumb -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security --sysroot=libjpeg-turbo/1_1.5.3-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../libjpeg-turbo-1.5.3 -Wall -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -c ../libjpeg-turbo-1.5.3/turbojpeg.c -fPIC -DPIC -o .libs/libturbojpeg_la-turbojpeg.o
when -mthumb, -fstack-protector-strong, -fno-omit-frame-pointer appear
together, removing one of them is enough for successful build.
similar to:
http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150654.html
but in this case the build gets stuck instead of failure
(From OE-Core rev: 70af5f22f7a52fb4cbe64486948bcb2425a56d9e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with thumb and debug enabled bash gets stuck forever when building for qemuarm.
bash/4.4.18-r0/build/builtins$ arm-webos-linux-gnueabi-gcc -march=armv5te -mthumb -fstack-protector-strong --sysroot=bash/4.4.18-r0/recipe-sysroot -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash-4.4.18 -I../../bash-4.4.18/include -I../../bash-4.4.18/lib -I../../bash-4.4.18/builtins -O -fno-omit-frame-pointer -g -DNON_INTERACTIVE_LOGIN_SHELLS read.c
when -mthumb, -fstack-protector-strong, -fno-omit-frame-pointer appear
together, removing one of them is enough for successful build.
similar to:
http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150654.html
but in this case the build gets stuck instead of failure
(From OE-Core rev: ae41e1f263d20d5d83b2a7ca95dc955840d793e1)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using syslog-ng as the syslog provider, oe_syslog test case fails
because it cannot find the syslog daemon. This is because it greps for
'syslogd' but syslog-ng's daemon is 'syslog-ng'. So fix it to check both
'syslogd' and 'syslog-ng'.
Also, when the test case fails, what I get is:
| AssertionError: 1 != 0 : No syslogd process; ps output:
<empty here>
This does not help user. The output is actually from the 'PS | GREP' command.
And when the 'PS | GREP' command fails, the output is always empty. So also fix
this problem. After the change, it looks like:
| AssertionError: False is not true : No syslog daemon process; ps output:
| PID USER VSZ STAT COMMAND
| 1 root 16476 S {systemd} /sbin/init
| 2 root 0 SW [kthreadd]
| 3 root 0 IW [kworker/0:0]
...
(From OE-Core rev: b180fbd9d93db1c6351e183fbc08fc81cdc240c0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using os.path.getmtime() will dereference symbolic links in an attempt
to get the last modified time. This can cause errors if the target
doesn't exist, or worse map to some absolute build host path which would
make a build not reproducible.
(From OE-Core rev: fae23c72288068f90e2f357a8abf1384850c02ed)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Distros which have glibc 2.28 on them otherwsise fail
to build due to some syscall mismatches
(From OE-Core rev: 990a9c944375146bb3f0208b30e8b7f50239cef5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has several fixes to get it building with glibc 2.28+
remove backported patch which is not needed now
(From OE-Core rev: f1dc6b5eebf455c46036e200c1eaff34ebd50db1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This bbclass implements the device tree compilation for user provided
device trees. In order to use this class, it should be inherited in a
BSP recipe which provides the sources. The default setup enables
inclusion of kernel device tree sources (though can be disabled by the
recipe by overriding DT_INCLUDE or KERNEL_INCLUDE).
This provides an additional mechanism for BSPs to provide device trees
and device tree overlays for their target machines. Whilst still
enabling access to the kernel device trees for base SoC includes and
headers.
This approach to providing device trees has benefits for certain use
cases over patching the device trees into the kernel source.
* device trees are separated from kernel source, allows for selection of
kernel and or kernel versions without needing to explicitly patch the
kernel (or appending to the kernel recipes).
* providing device trees from separate sources, from the layer,
generated by the recipe or other recipes.
This class also implements some additional features that are not
available in the kernel-devicetree flow. This includes population of
device tree blobs into the sysroot which allows for other recipes to
consume built dtbs (e.g. U-Boot with EXT_DTB compilation), device tree
overlay compilation and customizing DTC compilation args (boot
cpu/padding/etc.).
(From OE-Core rev: 3874c3859c3515fc8440fa9e776a02ad6ff3135c)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Acked-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade icu from 61.1 to 62.1.
2.0001-i18n-Drop-include-xlocale.h.patch has been merged.
(From OE-Core rev: 8be6cfb97ea8d5a7938c1ccbf8218a7bfa5e86a2)
Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The second test is designed only to run after the first so we may as
well merge these together into one.
Also, use DEPLOY_DIR_IMAGE rather than constructing paths by hand. Drop
the misleading comment which was likely due to the original code reading
DEPLOY_DIR_IMAGE before setting MACHINE. Only read the variable once
which reduces bitbake -e calls.
Merge the setup/build functions into the main test as there is no other
use of them.
Also ensure the main second test pieces aren't masked out by a missing
file without showing test failures.
(From meta-yocto rev: 1b46e2c1acd2c0cd557740220bbc3ccb77dae127)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build target won't cause the package task to run if things were already
built and in sstate. Ensure we run the package task explicitly to ensure
the test works as intended.
(From OE-Core rev: be20eb4f4ad77d9444028ca9632b74d5866d96b8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This causes regression on build machines where libunistring is installed
on host. It is also because gnuts is using non standard AC macro called
AC_LIB_HAVE_LINKFLAGS to detect this library and it confusing cross builds.
This reverts commit 60fef4940de7f0440f1216eb2ea0ea683b3e8fdd.
(From OE-Core rev: d8d32b5a58eea161711e3539c4530682de551ede)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When net-tools is built and the local patches haven't been applied, then
`quilt pop -a` will climb parent directories attempting to find a
{patches/.pc} directory; if this succeeds then we end up popping off
some completely unrelated patches from a parent directory.
Ensure that we do have a local patches directory and then turn off the
directory climbing so that we avoid this problem.
(From OE-Core rev: 61522645a1ccc8342706960efe90896001e94a8b)
Signed-off-by: Alex Kiernan <alex.kiernan@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: c2fc6f87f8bbf4bc28f9adc45f116b2a692ea804)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also fix the license, as this is GPLv2+ not just v2.
(From OE-Core rev: c372bb230640e76af13795433adc76f506e12cc6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new SDK testcase that builds assimp, a project that uses cmake.
Using TARGET_ARCH and TARGET_OS which is now exported into the environment,
check that the generated binaries match the ELF headers we expect.
(From OE-Core rev: b4acfa11b35b47c86d2d83d7b0693284a8dc7495)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's useful for the SDK to know exactly what TARGET_ARCH and TARGET_OS are,
specifically for SDK QA.
(From OE-Core rev: 0b5f1b0430efac8129bca330370d8818ea93bb39)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CMake, in it's infinite wisdom, when searching for libraries (using
find_library) will look inside the libraries PREFIX/lib, PREFIX/lib32, and
PREFIX/lib64. In a multilib SDK more than one of these will exist (potentially
all three) and obviously for a given build configuration only one of those is
valid. This search path is hard-coded deep inside CMake but by setting
CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX we can bypass it and set an explicit
lib<SUFFIX> to use.
Do this by writing ${baselib} into the environment file, and then stripping
"lib" from this to obtain the suffix in the cmake-specific environment script,
which is then read in the CMake toolchain.
(From OE-Core rev: 47160a8c51310f2b40cabf4c1910b5df6e0a15d6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following error appeared at boot.
systemd-tmpfiles[115]: [/usr/lib/tmpfiles.d/man-db.conf:1] Unknown user '1w'
By default cache owner is enabled and defaults to 'man'. Users could
supply '--enable-cache-owner=[ARG]' to change the default cache owner.
Using '--disable-cache-owner' leaves the ownership of system-wide
cache files unconstrained, and users will allowed to modify them.
We'd better keep the default behavior, just like other distros do.
I can guess that we used '--disable-cache-owner' to bypass the following
error at do_install.
| chown: invalid user: ‘man:man’
The 'man' user is provided by base-passwd recipe, so add it to DEPENDS.
(From OE-Core rev: 7080df4b6bc50440eed600e81f2c6fa76a80623d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change lsupdates.py to use the new layerindexlib module to load the data from
the public layer index. It still does all of the manual parsing. This
is intended to be a stop gap until the toaster can use the module itself to
manage the data.
Everything else is functionally equivalent to the prior version.
(Bitbake rev: 8e482342c652e298b5f5ea58eda72c5eb14ce2bd)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Display changes:
The output will now include references to the layers that the user already
has on their system. It does this by querying the cooker derived index.
The code that enables this behavior is labeled as 'TODO' currently. As
part of the work we need to make a final determination if this is the
desired output.
Also changed the default branch to no longer define itself as 'master'.
When the user does NOT set a branch, the default is now the
'LAYERSERIES_CORENAMES', and if that doesn't exist 'master'. This is
subtly different in behavior, but more consistent with user expectations.
(Bitbake rev: 478c4b5489943f756ae03d6b6d3b5d665cedbce0)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The layer index module is expected to be used by various parts of the system
in order to access a layerindex-web (such as layers.openembedded.org) and
perform basic processing on the information, such as dependency scanning.
Along with the layerindex implementation are associated tests. The tests
properly honor BB_SKIP_NETTESTS='yes' to prevent test failures.
Tests Implemented:
- Branch, LayerItem, LayerBranch, LayerDependency, Recipe, Machine and
Distro objects
- LayerIndex setup using the layers.openembedded.org restapi
- LayerIndex storing and retrieving from a file
- LayerIndex verify dependency resolution ordering
- LayerIndex setup using simulated cooker data
(Bitbake rev: fd0ee6c10dbb5592731e56f4c592fe687682a3e6)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a layer is added it needs to be in a list, otherwise the system will
error such as:
Specified layer directory / doesn't contain a conf/layer.conf file
Additionally, instead of calling the add layer function over and over, it
is better to add all of the new content in one command. Otherwise the
order is important as the system now checks if the layer can be added. For
instance, trying to add meta-python:
Layer Required by Git repository Subdirectory
===================================================================================================================
meta-python - git://git.openembedded.org/meta-openembedded meta-python
meta-oe meta-python git://git.openembedded.org/meta-openembedded meta-oe
openembedded-core meta-python git://git.openembedded.org/openembedded-core meta
Adding layer "meta-python" (.../oe-core/meta-openembedded/meta-python) to conf/bblayers.conf
ERROR: Layer 'meta-python' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration
The system would try to add meta-python before the dependent meta-oe. Adding
them both at the same time resolves this issue.
(Bitbake rev: 8aeaabf13db645f33495e00b82117327e153d70a)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that kernel-modules are not included in x86-base.inc because of
changes done for YOCTO #12384, add them to RRECOMMENDS explicitly for
genericx86*.
(From meta-yocto rev: 0b78254b373c23f2c1a2bf7db0108a350266ab85)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemumips,qemumips64 and x86 based machines include kernel-modules by
default. Remove the kernel modules from RRECOMMENDS to make it consistent
across the machines.
Tested using core-image-sato on qemumips, qemumips64, qemux86 and
qemux86-64
[YOCTO #12383]
(From OE-Core rev: 1c4d9f46d5d94ea15d0c0d68c412ec05b9f51820)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot attempts to build a Python library called pylibfdt. By default,
u-boot would attempt to use the build host's Python interpreter, which
causes numerous problems, not least of which is that it fails if the
host doesn't have the Python development package installed (complaining
about not being able to find Python.h)
Rectify this situation by including the proper build time dependencies
for pylibfdt and passing the proper arguments to make.
[YOCTO #12867]
(From OE-Core rev: 3b0b16300b351878790729d6270cd113bca73eff)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of both classes using ${PYTHON_PN} (which is set by python-dir and
python3-dir), hardcode the right values so that it is possible to inherit both
pythonnative and python3native at the same time.
If both are inherited then both native Pythons are available, but the last to be
inherited will be the one to set PYTHON.
(From OE-Core rev: 96ccdadb8473daa3c9c2e1cb42fbdff1edd270d6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the configure fails then we don't really want to see hundreds of lines of
test output (this would be similar to dumping out autoconf's config.log). The
error includes the path of the full log if further debugging is required.
(From OE-Core rev: 09917f582aa1a7b752fa96303e06f9f4712a1d86)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Images that rely on dhcp being used won't have network setup properly
otherwise.
Fixes [YOCTO #12804]
(From OE-Core rev: fb4dd04f65ea78890c1102424765056d93e6ca65)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license file changes from README to README.rst, and the lines which
contains license info is from 1 to 20. The license is still Apache-2.0.
(From OE-Core rev: ef60510204013957d3aea3108ccd5fee72825293)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pam_wheel PAM module is used to enforce the so-called wheel group.
By default it permits root access to the system if the applicant user is
a member of the wheel group.
Add PACKAGECONFIG to enable pam_wheel module for sudo.
(From OE-Core rev: 7a46ca79b18527a56de470fcaaf95c870c097cf6)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
for core-image-minimal image, missing these two dependency
will cause below warning and error:
warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
./test/icu_parse_test.xml generated an error
(From OE-Core rev: 848031cf0b89b752c6fedcb63fc6938642a87fd8)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When adding multiple layers in a chain of commands, reparsing all recipes
each time can be painfully slow. Instead just parse the base configuration
which gives some confidence things worked out correctly without as much
overhead.
(Bitbake rev: cfd1302031f3cca96300a0e445a47b1614ecd00c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds the capability for tasks from different
multiconfigs to depend on one another.
These dependencies can be enabled using the following format:
task[mcdepends] = "multiconfig:FROM-MC:TO-MC:PN:task-to-depend-on"
For the sake of simplicity consider the following example:
Assuming we have set up multiconfig builds, one for qemux86 and one for
qemuarm, named x86 and arm respectively.
Adding the following line to an image recipe (core-image-sato):
do_image[mcdepends] = "multiconfig:x86:arm:core-image-minimal:do_rootfs"
Would state that core-image-sato:do_image from x86 will depend on
core-image-minimal:do_rootfs from arm so it can be executed.
This patch makes modifications to:
- cooker: To glue both multiconfigs in one place and make sure
the dependencies can be provided.
- taskdata: To parse and add a new kind of dependency (mcdepends) to
the taskdata object.
- runqueue: To differentiate tasks from different multiconfigs,
add the specified dependencies to the corresponding tasks, and
create a working runqueue that contains tasks from both multiconfigs.
- siggen: To avoid looking for tasks from different multiconfigs on
objects where they dont belong.
The taskdata objects are still not aware of the concept of multiconfig,
so each object doesnt know which multiconfig its building, hence why
the mcdepends are added to all taskdata objects equally (we really
dont expect many of these), but the actual dependencies are added only
to the required tasks by the runqueue.
(Bitbake rev: da8cb8633504bdc815bdcefc538340b9bce5065d)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove upstreamed patches:
1. 0001-Fix-build-on-x86.patch
2. 0001-Support-installing-demos-support-out-of-tree-builds.patch
Updated the following patch:
1. 0001-Don-t-build-demos-with-questionably-licensed-data.patch
Update subcomponents gli and glm based on the new structure of
repository.
License-Update: Update in location of file. No change in checksum
(From OE-Core rev: c9e12bc8872710ca7f788d3709c42425872fd033)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the patch:
demos-Don-t-build-tri-or-cube.patch
License-Update: Updates in copyright information.
(From OE-Core rev: 4f6652e9b8a4fad7d650e1f88aa830fd7f88ea49)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because the util-linux_2.32.bb recipe explicitely disables fallocate
for nativesdk triggering build warnings:
WARNING: nativesdk-util-linux-2.32-r0 do_package: util-linux:
alternative target (sdk/usr/bin/fallocate or sdk/usr/bin/fallocate.util-linux)
does not exist, skipping...
WARNING: nativesdk-util-linux-2.32-r0 do_package: util-linux: NOT adding
alternative provide sdk/usr/bin/fallocate: sdk/usr/bin/fallocate.util-linux
does not exist
WARNING: nativesdk-util-linux-2.32-r0 do_package: util-linux: alt_link ==
alt_target: sdk/usr/bin/fallocate == sdk/usr/bin/fallocate
(From OE-Core rev: 469ab3c7f129b90e9dd5e6427b5b617b9dedde47)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch enables multiconfig dependencies (mcdepends) to be used on
recipes using the following format:
task[mcdepends] = "multiconfig:FROM-MC:TO-MC:PN:task-to-depend-on"
For the sake of simplicity consider the following example:
Assuming we have set up multiconfig builds, one for qemux86 and one for
qemuarm, named x86 and arm respectively.
Adding the following line to an image recipe (core-image-sato):
do_image[mcdepends] = "multiconfig:x86:arm:core-image-minimal:do_rootfs"
Would state that core-image-sato:do_image from x86 will depend on
core-image-minimal:do_rootfs from arm so it can be executed.
This patch makes modifications to bitbake.conf to enable mcdepends, and
to sstatesig and staging.bbclass to avoid conflicts between packages from
different multiconfigs.
[YOCTO #10681]
(From OE-Core rev: f71bfe833c657244d2fd07b3b71e86081d7d1c04)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
C++ applications that contain a specfic use of std::pair with tempates
cause the build to require many gigabytes of RAM to build.
This is a fix that was applied to the upstream GCC 7 branch.
Change-Id: I213f96d1d6332e2dce5765482ff3413f1abd7ff8
(From OE-Core rev: 51a09ba2729a840a9f2f87b68c7f50a3e6ac0d04)
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building on ppc64le hosts that have GCC 8 (such as Ubuntu 18.10)
the GCC build bootstrap fails.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86162
This is a fix that was applied to the upstream GCC 7 branch.
Change-Id: I7796d2a999ec420805dd1c6cf0a1ecba1de5a897
(From OE-Core rev: c17f5e7e954487ad3e97e26c3e0d31443d658d5a)
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If kdump.service is set to run on boot and dump-capture kernel isn't
placed in /dev/root, kdump.service will fail to load the kernel,
since other partitions are not mounted yet. Starting kdump.service
after basic.target guarantees dump-capture kernel can be loaded in
this situation.
(From OE-Core rev: ac9a54fc617ff5f1eb75fa8500187c5ed3effe46)
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use SYSTEMD_BUS_TIMEOUT to set default timeout to 240s to avoid
timeout problem on slow qemu machines.
(From OE-Core rev: a5b1dcabdd84915eb0527be4e7bd64ab46860d9d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport 0001-sd-bus-make-BUS_DEFAULT_TIMEOUT-configurable.patch
which allows setting dbus calls timeout via SYSTEMD_BUS_TIMEOUT
environment variable.
This is needed as we are meeting timeout failures from the oeqa
runtime test case systemd.py.
(From OE-Core rev: caa4fa5e6ce7d50bdcd04e199d61401b3e8b9ff7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following error from systemd-udevd is not harmful. It's just
because our qemu targets are using eth0.
Error changing net interface name 'eth0' to 'enp0s3': Device or resource busy
Note that systemd is using a different network interface naming scheme
from traditional ethX naming scheme. To make this error message go away,
we could symlink /etc/udev/rules.d/80-net-setup-link.rules to /dev/null
to recover traditional naming scheme. But I'm not sure if this will
cause regression in user experience for systemd users of OE.
So just ignore this error message so that parselogs.py test case does not
fail.
(From OE-Core rev: f1735fed088ddda6517fa4ff6fbd6ef683b14878)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. For test_syslog_running, we should not restrict it to run for
only busybox-syslog and sysklogd. So extend it to all syslog
providers in oe-core and meta-openembedded.
2. For test_syslog_startup_config, fix to make it depend on the
existence of busybox-syslog. The previous condition "!sysklogd
&& busybox" is incorrect, because busybox may be compiled without
syslog support, and sysklogd and busybox-syslog conflict with
each other.
(From OE-Core rev: 119c22342d446e4f638b8d4c81480ebc7b444245)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We keep breaking the preservation of hardlinks during the packaging process.
Add a selftest which tests this to try and prevent this breaking again.
(From OE-Core rev: 751fc7802f57a836a0be5fc6a8d5fdf8b1769c39)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent changes broke the preservation of hardlinks during processing due to a missing index.
Fix this, reducing the size of the git recipe packages in particular (it contains many hardlinks).
(From OE-Core rev: 28eeada955762f38ccbd1d26c53768364dbd1a5e)
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)
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)
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: bfedb4e85a84e817dbe5d8694b8f8fcdd6f2f22a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.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)
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>
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)
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>
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)
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>
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)
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>
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)
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>
rm_work if enabled leads to some tests failing that rely on artifacts
being present. Check if rm_work.bbclass is included and show an error
and exit if it is.
Fixes [YOCTO #12694]
(From OE-Core rev: dde7e2f590834aa8034f1371954f9b4fbc7a60b7)
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>
Fixes
ERROR: glibc-locale-2.27-r0 do_package_qa: QA Issue: glibc-locale: /glibc-binary-localedata-hy-am/usr/lib/locale/hy_AM/LC_MEASUREMENT.tmp is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
(From OE-Core rev: 06d831d12fe2a2366480c79f4c018942937b753a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By splitting the iptables modules into separate packages it is
possible to pick and choose the modules to install and thereby reduce
the total size of the installed modules.
Backwards compatibility is maintained by adding a recommendation of
iptables-modules, which is a meta package that depends on all the
generated packages.
(From OE-Core rev: 2e99caca64704d1ec51f4f65048d945e5ff1384f)
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>
Since the following patch applied in upstream webkitgtk
...
commit 1a55d8c685b3e5b4dbeda202009e7527aa59eadd
Author: simon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Nov 23 22:20:09 2017 +0000
FELighting cleanup and optimization
https://bugs.webkit.org/show_bug.cgi?id=179933
...
It missed to tweak `paintingData.lightVector' which caused
PaintingData' has no member named 'lightVector' on ARM_NEON
(beaglebone)
(From OE-Core rev: 39b75d73aa5fce178c1577b0a5dfb8a694eff31d)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For distutils3, any setup.py invoking will cause setup_requires
argument to trigger a code fetching. Since the following commit
applied in oe-core, code fetching occurs during do_confugire
before the do_compile.
...
b805cef distutils: clean the build tree in do_configure
...
Refer what do_compile did, add var-NO_FETCH_BUILD to do_configure.
Sync with distutils3, add do_configure to distutils also.
[YOCTO #12084]
(From OE-Core rev: 9d556092fcc6f04c487afd126d52935bac133165)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- It is required by oeqa, add it so that we can add nativesdk-python3-subunit
to buildtools-tarball.
- The original one is python-subunit_1.1.0.bb which is from meta-openstack
layer, I divided it into python-subunit.inc and python3-subunit_1.1.0.bb
and extended to nativesdk.
(From OE-Core rev: f55d5a8022dda18f3e9aa4138dc1961d9ef979c4)
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>
- It is required by oeqa, add it so that we can add nativesdk-python3-testtools
to buildtools-tarball.
- The original one is python-testtools_2.3.0.bb which is from meta-openstack
layer, I divided it into python-testtools.inc and python3-testtools_2.2.0.bb,
and extended to nativesdk.
(From OE-Core rev: 50864df5b0eb3d1704e8fe75c06e957af0b41c38)
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>
- The python3-testtools RDEPENDS on it.
- It is from meta-python, I extended it to nativesdk.
(From OE-Core rev: 4cc30de57dd70571005a1f31f9465d745c92aad2)
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>
- The python3-testtools RDEPENDS on it.
- The original one is python-extras_1.0.0.bb which is from meta-openstack
layer, I divided it into python-extras.inc and python3-extras_1.0.0.bb, and
extended to nativesdk.
(From OE-Core rev: 0176e798364689774bed4ac4bd0e345c32ea3078)
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>
The testtools or subunit is not part of python's standard library, so check them
before use.
Fixed when they are not installed on host:
$ bitbake core-image-minimal -ctestsdk
Exception: ImportError: No module named 'testtools'
Now it can run with a warning:
WARNING: core-image-minimal-1.0-r0 do_testsdk: Failed to import testtools or subunit, the testcases will run serially
(From OE-Core rev: ae53461608c4e71533378369b3f623b4c9002e39)
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>
This was packaged originally to perform QA tests on binaries (text relocations
and RPATHs), but we perform those tests at build-time now.
(From OE-Core rev: d1c56454b2d374f96c810f684a15dbefebead067)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are intended to search for bad RPATHs and text relocations, but we
do these tests at buildtime and as pax-utils is never installed in any default
images the tests are never executed.
(From OE-Core rev: ff81b58d5f322ea4a24c1b9ed40377c742459149)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The last user of this was the sato theme, removed in 2016.
(From OE-Core rev: 6df1f6cf05e21dad1646803a411e52ff85e33435)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing uses this in oe-core or meta-oe, so drop it.
(From OE-Core rev: 69b0305ea5a263837fb57ede3133bee6e2f74a93)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in oe-core or meta-oe links to this now, so the recipe can finally be
removed.
(From OE-Core rev: be9d9b7d6f5917b63660fe5561078851d4a42a9c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no need to depend on the compatibility library libusb-compat, as CUPS
links directly to libusb1.
(From OE-Core rev: feead64ac6df31d9b9499b232631aeb0edad3af0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to 010.
usbutils uses libusb1 not the older libusb-compat library.
Refresh (and submit upstream) the bashism removal for usb-devices.
Fix LICENSE as lsusb.py is GPLv2 or v3, and set per-package LICENSE fields as
appropriate. The actual license texts are missing from the 010 tarball (fixed
in git) so point at the SPDX statements in the source files instead.
Remove FILES_${PN}-dev as usbutils.pc doesn't exist anymore.
Remove lsusb.py hashbang change as this doesn't cause any problems now
(installed hashbang is /usr/bin/env python3).
Remove spurious zlib build dependency that isn't required.
Remove spurious RDEPENDS_${PN}-ptest, which doesn't exist.
(From OE-Core rev: 889a86d8c044c0a9c6064a542f25e7fecef48234)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Large zip files can cause unzip to crash, take a patch from Fedora to fix it.
(From OE-Core rev: a001833b7c7a0a6eef88e053fe65e2a0c91ca7bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update-rc.d repository is now on git.yoctoproject.org, and has merged all of
the patches we were carrying.
(From OE-Core rev: 531e363db08711b5390af16f5491ca8a71a0610c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This project is dead (upstream website doesn't respond anymore) and can mostly
be replaced with the uuid.h in util-linux.
(From OE-Core rev: e187e3da4b72bc667c8badfb5f2de01717d5ea09)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added back in the meta-luv days[1] presumably under the impression that
it needs ossp-uuid but in reality we rename ossp-uuid's library and uuid.h comes
from util-linux.
[1] e08817342b
(From OE-Core rev: 2a2da0fb7b42c92864f39dcdaf949a5c34ef4eda)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that oe-core has libidn2 we can enable it by default in target curl builds.
(From OE-Core rev: aae20d0277feb768ca290492ccfad30962bb8706)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gnutls only works with libidn2, so update the build dependency.
(From OE-Core rev: d2397d1fbe97eb92ff9aeb03155f98e24e95c97d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libidn 1.x is deprecated, add the parallel-installable libidn2.
(From OE-Core rev: 2a747138a2945dc12e6f35b2cf64d0e2aad7094f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following patches are removed because problems have been fixed in this version.
0001-shadow-CVE-2017-12424
fix-installation-failure-with-subids-disabled.patch
usermod-fix-compilation-failure-with-subids-disabled.patch
CVE-2017-2616.patch
check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch
0001-Do-not-read-login.defs-before-doing-chroot.patch
The following patches are rebased.
0001-Disable-use-of-syslog-for-sysroot.patch
0001-useradd-copy-extended-attributes-of-home.patch
0001-useradd.c-create-parent-directories-when-necessary.patch
allow-for-setting-password-in-clear-text.patch
(From OE-Core rev: 79dd22729d5b8a2f2cf4294ff6b261c9d6ecd977)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Checksum for src/ls.c is changed but the license remains
the same. The change is only about year change.
Remove 0001-Unset-need_charset_alias-when-building-for-musl.patch as the
target this patches modifies no long exists.
(From OE-Core rev: c3f67a19f9393540443bf14b2dbde151d5d01b3d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If targeting a X11 or Wayland session the user will want user-session
enabled. To target both of these just enable user-session all the time.
(From OE-Core rev: 6440e89770878d73c3467a30322f87eb29bdaa6d)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this allows to work around some of the issues with file-rdeps
* e.g. in my case I have /usr/lib/libmali.so.0.1 which according to rpmdeps
provides only following libmali*
libmali.so(LIBMALI_1.0)
libmali.so.0.1
but many users of this link with libmali.so directly and according to
rpmdeps require libmali.so which causes file-rdeps for a lot of
recipes
* I was using simple work around to just set:
RPROVIDES_${PN} = "libmali.so libGLESv2.so libEGL.so"
but that doesn't work well with multilib, because the value gets
expanded with MLPREFIX and
RPROVIDES_${PN} = "lib32-libmali.so lib32-libGLESv2.so lib32-libEGL.so"
doesn't help at all.
[YOCTO #9217] Many unsolveable QA warnings from build-deps and file-rdeps
(From OE-Core rev: 01b9810ff1cea53ae321f6fbe760b83573ed78c0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While native building, there is a parallel failure
[snip]
|: && mkdir -p doc && ./pre-inst-env /usr/bin/env perl
../automake-1.16.1/doc/help2man --output=doc/aclocal-1.16.1
aclocal-1.16
|help2man: can't get `--help' info from aclocal-1.16
|Try `--no-discard-stderr' if option outputs to stderr
Makefile:3693: recipe for target 'doc/aclocal-1.16.1' failed
[snip]
Correct Makefile rule to fix the issue
(From OE-Core rev: ef4907f311e3ddedfa3eb8a111cc1d146c19851a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code was using Wic instead of WicTestCase for image_is_ready and
native_sysroot which was confusing some tests. Fix image_is_ready.
For native_sysroot, convert the only user to just run the call itself
as there is no point in executing this for all the other tests which
don't use the value.
Whilst here, move _get_image_env_path to the base class alongside
its parent variabe and fix it to use WicTestCase.
(From OE-Core rev: 3e83364ed7031d53f281216214b04c7acace844a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The variable is PACKAGE_WRITE_DEPS as seen in the default below the
comment.
(From OE-Core rev: 364449251ffe4ff2c11acaa258edcec244c38818)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-selftest -r <invalid test name>
currently triggers a traceback. Ensure this doesn't happen and the user gets a
sensible error message.
(From OE-Core rev: f2042bf3638ed4edfb167e7f7d4be6da60997ead)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #12493]
Fixed:
- qemu started with pid 10000
- qemu exited unexpectedly
- The pid 10000 is re-used by another different process.
The is_alive() returned True in such a case because both qemu_pidfile and
/proc/10000 exist, but it's another process, this patch fixed the problem.
(From OE-Core rev: 78033af85698b4e112ae78e3140b241b1b3c06a3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Once another header #includes <bits/wordsize.h>, there is a
potential recursion going on because the
multilib_header_wrapper.h #includes <bits/wordsize.h> again!
This should not happen because an __arm__ (32-bits) or an
__aarch64__ (64-bits) environment guarantees that we will
be getting the correct definition, but when building against
a different target (like BPF), recursion is what happens.
This can be seen, for instance, when building eBPF programs
from the kernel with `clang -target bpf', such as the ones
located in linux/tools/testing/selftests/bpf/.
(From OE-Core rev: a74c77d6168101e88c3a3bce7130f4f52cfab95d)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
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)
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>
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)
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>
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)
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>
Make clear distinction between local variables and bitbake variables.
(From OE-Core rev: d1e441db511faf9c170733c01ded8c56faac9ab6)
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>
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)
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>
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)
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>
* Add packageconfigs for gl, libde265, lcms2, openh264, tinyalsa, ttml,
webrtc, webrtcdsp
* Remove unnecessary gstglconfig.h line, since that file is no longer
part of -bad (it is in -base now)
* Update EXTRA_OECONF flags, since new plugins got added to -bad
* Add ttml to the default packageconfigs since its dependencies are
all in oe-core
(From OE-Core rev: e0f2a1f3e7f8eb6ce0d98fbc43acd8a4da641866)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* There is no twolame recipe in oe-core or in meta-openembedded, so
disable it
* Reorder the packageconfigs alphabetically
(From OE-Core rev: b2c5fe9bf9432e9a72be73c22e4db1af90a20b01)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add patches for gbm, libpng, libjpeg to conditionally enable/disable
them in the configure script
* Reorder the packageconfigs alphabetically
(From OE-Core rev: 6e915c47b9626e706e6d0e96399d46ea28f318c6)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Leaving -Wcross out of the bbnote version of the autoreconf command
seems to be a long standing inconsistency (dating back to the very
first commit in oe-core) but there's no obvious reason to do so.
(From OE-Core rev: 40644b2b33db6332293543bb39e8d4da07cf8c54)
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>
The 'system services' packagegroup depends on a number of packages which are not
system services, so remove them from the list.
(From OE-Core rev: 308e402a710dd7e6bb521517dde11a2e2b5fda22)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi support on arm is enabled as below
commit:
commit 65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7
Author: Kristian Amlie <kristian.amlie@northern.tech>
Date: Tue Jul 10 16:07:12 2018 +0200
grub-efi: Provide target architecture for 32-bit ARM.
* But it fails on arm as below:
| grub-mkimage: error: cannot open `./grub-core//serial.mod': No such file or directory.
Set GRUBPLATFORM_arm = "efi" to fix the above error
(From OE-Core rev: 6ad431974d96aec29d12079be8b94c479b91c446)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These symbols appear in dynsyms of libsystemd.so and musl loader
doesnt like it
Error relocating /mnt/a/oe/build/tmp/work/i586-bec-linux-musl/avahi/0.7-r0/recipe-sysroot//lib/libsystemd.so.0: __start_BUS_ERROR_MAP: symbol not found
Error relocating /mnt/a/oe/build/tmp/work/i586-bec-linux-musl/avahi/0.7-r0/recipe-sysroot//lib/libsystemd.so.0: __stop_BUS_ERROR_MAP: symbol not found
[YOCTO #12577]
(From OE-Core rev: a13d3314cd4ddc812c3ac2904c8f563f7462878a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Observed failure in SystemTap v3.3 unit testing, It was tracked down
to unintialized memory access in dwflpp::function_entrypc method.
Upstream-Status: Backport
(From OE-Core rev: 7e465c75e317718ed81a76a6c3e487668e7db1ab)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemtap from 3.2 to 3.3: Removed all backported patches.
Removed "remove quotes around -I include" pending patch since 3.3
got similar fix already. Resolved merge conflict in and
regenerated monitor-option.patch patch.
(From OE-Core rev: d8a60b324c340bf88e2e8650f4771030490709c5)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
${base_prefix} is set in bitbake.conf to empty. This makes lsb_release
always install under /bin which is a problem if usrmerge is in
DISTRO_FEATURES, because it needs to be installed under /usr/bin.
By using ${root_prefix} instead, we fix the usrmerge install path and
the following QA warning goes away while keeping the non-usrmerge path
identical.
WARNING: lsb-5.0-r0 do_package: QA Issue: lsb: Files/directories were
installed but not shipped in any package:
/bin
/bin/lsb_release
Please set FILES such that these items are packaged. Alternatively
if they are unneeded, avoid installing them or delete them within do_install.
lsb: 2 installed and not shipped files. [installed-vs-shipped]
Also if usrmerge is defined don't try to create the lib64 symlink
because base-files handles it to avoid the do_rootfs error
Collected errors:
* check_data_file_clashes: Package lsb wants to install file
tmp-glibc/work/x64-nilrt-linux/test-image/1.0-r0/rootfs/lib64
But that file is already provided by package * base-files
(From OE-Core rev: 852c9498ae365bc8c149b5e6df0c8667bd885c79)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* no changes in the content of previously existing packages
* include some silly commands I've used to "parse" WHENCE file to
generate these, some manual changes are still needed, like separating
cypress licensed files, removing duplicates when 2 files are included
in the same package (bcm4356-pcie is exception because sdio and pcie
files have different license).
(From OE-Core rev: 20532131201a39eb6415cdf34fb1f8b837e52436)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Fix build path issue of .pyc files:
Supply "--root" directory to the "install" command.
- Fix build path issue of c++ object files:
Use relative dir to include header string_ref.
- Fix build path issue of c library generated by distutils:
Add OE's CFLAGS which contains `-fdebug-prefix-map' options
to setup.py
[YOCTO #12528]
(From OE-Core rev: 806a8626c3fb5020666152b295f12541f5f61ffd)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When trying to delete something from an ext partition using debugfs, we
don't show any error to the user when that operation fails.
Change this behavior to show the error generated by debugfs. Also,
fallback to use rmdir in case we are trying to delete a directory. However,
unlike mdeltree that is used for a FAT partition, there's no easy way to
delete a non empty directory. Show an error instead when that happens so
user can take appropriate action.
(From OE-Core rev: a405383e63c35d7b56108f192ca74755b122a639)
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>
This makes it possible to add extra options to the logrotate
application (via ${LOGROTATE_OPTIONS}), and it allows the Persistent
option in logrotate.timer to be configured via
${LOGROTATE_SYSTEMD_TIMER_PERSISTENT}.
It also changes the sed expressions to allow for
${LOGROTATE_SYSTEMD_TIMER_BASIS} to contain commas without having to
prefix them with backslahes, e.g.:
LOGROTATE_SYSTEMD_TIMER_BASIS = "*-*-* *:00,30:00"
(From OE-Core rev: ca3f2f6b49edee7052ef941228dc477d9060bdd9)
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>
License-Update: change license checksums to check the License files themselves (BSD3 and GPL2),
and the tool-to-license file (LICENSE). Changes to LICENSE will now be
detected.
Backport a patch to fix the build with musl.
Drop upstreamed patch.
Update libidn build-dependency to libidn2.
Patch in an install target and use that to install binaries, to avoid upstream
adding binaries that we don't ship. Also ship all binaries that are installed.
(From OE-Core rev: d227122d929330ff71a550689aaedc5d8299d859)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to pass --without-libunistring-prefix, and it looks a lot like we're
trying to disable it.
(From OE-Core rev: 60fef4940de7f0440f1216eb2ea0ea683b3e8fdd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the existence of "command" in itself is not guaranteed, using it
to determine if other executables exist is moot. Instead just run the
executables and let the shell determine if they exist. By piping stderr
to /dev/null we avoid unnecessary warnings in case they do not exist.
(From OE-Core rev: ba8510deb73e07f17be051fa15a91731ec10382f)
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>
Since unify var-DISTUTILS_INSTALL_ARGS in distutils and setuptools,
- The local DISTUTILS_INSTALL_ARGS assignment is obsolete;
- The site.py is not be generated any more;
- The layout is in a standard pip dir (such as /usr/lib/python3.5/site-
packages/pip rather than /lib/python3.5/site-packages/pip-10.0.1-
py3.5.egg/pip), the pth file is not required;
`#!/usr/bin/env python3' is already used, do not manually sed.
[YOCTO #8446]
(From OE-Core rev: 5797631dc7a68e10c848ef06dd9eed011bc06e34)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Unify var-DISTUTILS_INSTALL_ARGS in distutils and setuptools
- Supply "--root" directory to the "install" command, and use
it as a prefix to strip off the purported filename encoded
in bytecode files. (It strips build path prefix from .pyc files)
[YOCTO #8446]
[YOCTO #12084]
(From OE-Core rev: 21f0c5a50e00ac34975d79fd48f08730d8f19b15)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of mushing two paths together and hoping that the slashes line up
correctly, use os.path.join.
(From OE-Core rev: ed0413babaf10ccf729472f603bbe32d84ba1931)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since v0.7 avahi uses /run/avahi-daemon/socket.
libnss searches in $(localstatedir)/run/avahi-daemon/.
Set localstatedir to / to fix mdns resolving.
(From OE-Core rev: 4feb586ba9fa0255d8f83bc1bec11f697dc26a33)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The warn method is deprecated. We should use the documented warning instead.
Quoting from the python's official doc:
"""
Note: There is an obsolete method warn which is functionally identical to warning.
As warn is deprecated, please do not use it - use warning instead.
"""
(From OE-Core rev: f467fd277eb77336097cfc0f5f329bdc8d0f70cb)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe doesn't use the variables, and autotools inherits this already.
(From OE-Core rev: 270fc40c9365a2ad968203ecc0c985f53b574bee)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The --libcurl command line option causes curl to generate C source
code which, when compiled and linked with libcurl, creates a binary
which behaves in the same way as curl when run with the other options
passed on the curl command line.
https://curl.haxx.se/docs/manpage.html#--libcurl
It's a development tool and not generally useful on the target,
especially if the target doesn't contain a toolchain etc.
(From OE-Core rev: a1cda48761f70b5989bb8b9c91d71c0b3a03466e)
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>
If a python recipe is using setuptools and the setup_requires argument, where
setuptools will use easy_install to fetch the module if it isn't
present.
The build failed on a machine where a proxy was required, but succeeded on a
machine which had direct access to the internet
Add var-NO_FETCH_BUILD, and set it in distutils_do_compile which does not
allow to fetch code from internet during do_compile.
Example result:
...
ERROR: Do not try to fetch `pytest-runner1' for building. Please add its native recipe to DEPENDS.
Traceback (most recent call last):
File "setup.py", line 56, in <module>
...
The improvement is flexible for test_requirements argument (used at
`setup.py test'), where use easy_install also.
[YOCTO #12084]
(From OE-Core rev: 57414f4a1c549e6faaa110e6e95ff601b05b7361)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patch the location in cmake where the toolchain file is loaded
to use the (new) OE_CMAKE_TOOLCHAIN_FILE variable to select a default
toolchain if no toolchain has been specified. The cmake alias is
removed.
The alternatives:
- shell alias fails when cmake is called indirectly (ex: a makefile
managing several projects which calls cmake for some of them)
because aliases are not inherited
- wrapper script that unconditionally adds "-D..." breaks cmake's
build tests and many other things as it causes cmake to believe it
should be configuring things when it should not be. For example,
`cmake -DCMAKE_TOOLCHAIN_FILE=... --build .` does not work (note
that this also breaks people directly using `cmake --build .` with
the current alias).
(From OE-Core rev: da60be3768e7183794d63548166d107dbd0a4973)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version adds nativesdk-libnss-nis to resolve glibc symbol issues
We need this to avoid symbol mismatch issues for binaries that use this
on newer systems which then won't run on older ones where it isn't present.
(From OE-Core rev: 98c7ab9cf32765d604c35dc69bc7bd90e94fc8f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the bitbake-cookerdaemon.log is placed into cwd. This seems like a
bad idea, we can place it in the build directory alongside the lockfile that
represents the server instead.
(Bitbake rev: 1620dbc48ffb2a882371cf9174a7b12648befc8a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also fix a related test's error message to match what it does.
(From OE-Core rev: 662be652ed39f32c3c7bee6539a9e91af191557e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Placing the layer in meta means the directory is in an unclean state
which may influence other tests. Use our build directory instead
since we 'own' that. This helps keep oe-selftest parallelisation
clean.
(From OE-Core rev: f2d32bdf3f27a9ef62fe3abb7fdd2e04ab84b5f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current code pokes into do_deploy manifests from do_image_complete when the
do_image_complete task may or may not depend upon the do_deploy tasks in question.
Often it gets lucky, sometimes it results in build failures.
To fix this, split the functionality to its own task which can have the correct
task dependencies. This means the data in BB_TASKDEPDATA is definitive, the other
code can be dropped, as can the IMAGE_EXTRATYPES do_populate_lic dependencies
from image.bbclass.
This fixes bugs which show up as:
NOTE: recipe linux-yocto-4.14.48+gitAUTOINC+d64aec9793_97c8063d2d-r0: task do_deploy: Started
ERROR: core-image-minimal-1.0-r0 do_image_complete: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:write_deploy_manifest(d)
0003:
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/classes/license.bbclass', lineno: 33, function: write_deploy_manifest
0029: 'w+').write(output)
0030:}
0031:
0032:python write_deploy_manifest() {
*** 0033: license_deployed_manifest(d)
0034:}
0035:
0036:python license_create_manifest() {
0037: import oe.packagedata
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/classes/license.bbclass', lineno: 191, function: license_deployed_manifest
0187: # It is necessary to mark this will be used for image manifest
0188: man_dic[dep]["IMAGE_MANIFEST"] = True
0189: man_dic[dep]["PN"] = dep
0190: man_dic[dep]["FILES"] = \
*** 0191: " ".join(get_deployed_files(dep_dic[dep]))
0192: with open(os.path.join(lic_dir, dep, "recipeinfo"), "r") as f:
0193: for line in f.readlines():
0194: key,val = line.split(": ", 1)
0195: man_dic[dep][key] = val[:-1]
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/classes/license.bbclass', lineno: 289, function: get_deployed_files
0285: """
0286:
0287: dep_files = []
0288: excluded_files = []
*** 0289: with open(man_file, "r") as manifest:
0290: all_files = manifest.read()
0291: for f in all_files.splitlines():
0292: if ((not (os.path.islink(f) or os.path.isdir(f))) and
0293: not os.path.basename(f) in excluded_files):
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build-st-730/tmp/sstate-control/manifest-qemux86_64-linux-yocto.deploy'
ERROR: core-image-minimal-1.0-r0 do_image_complete: Function failed: write_deploy_manifest
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build-st-730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_complete.50537
NOTE: recipe core-image-minimal-1.0-r0: task do_image_complete: Failed
ERROR: Task (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/recipes-core/images/core-image-minimal.bb:do_image_complete) failed with exit code '1'
NOTE: recipe linux-yocto-4.14.48+gitAUTOINC+d64aec9793_97c8063d2d-r0: task do_deploy: Succeeded
(From OE-Core rev: b54cdaea7844ee3bf0c39eb97cc7c4c17ed5818c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means the image code is only included in image recipes through
the IMAGE_CLASSES variable.
This sets things up to allow us to fix image deploy dependency problems.
(From OE-Core rev: fd44b8b4b2484f2d35c7a0e749e7dc316d601989)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using 'sub' in one function just confuses things, standardise and fix
formatting of the parameters too.
(From OE-Core rev: a740c638148ed7236c49eed55ae9a15b94e55b9f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runCmd handles checking exit 0 internally unless specified otherwise and its
error messages are much more useful including the failed command output.
Clean up the unneeded 0 exit code checks in the wic tests.
(From OE-Core rev: 394f7d4efe80e390e2c9b0be5e6d10954395a82b)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 6671a4d980c8bef8f402780a308f6c43a25044aa.
This breaks uninative tarball since the call of relocate_sdk.py from uninative.bbclass
wasn't updated to account for this change. It isn't clear what value that code could
pass in and this isn't simple to fix so revert until a better fix can be found
that doesn't break uninative.
(From OE-Core rev: b247392b4ced57cfe694656032f6a6723740a9e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need this to avoid symbol mismatch issues for binaries that use this
on newer systems which then won't run on older ones where it isn't present.
(From OE-Core rev: 39c1719a32ed5567e3bf2df5c4f9068d0f5a9400)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now we're not reporting the related fields (as of openembedded-core
8658b3677b9f7cb70806061c41570c709086ef05) we shouldn't expect to see
PR reported here since it's not monitored by buildhistory-diff. However,
with a bit of messing about we can check for the exact output that we
should now see as a result of the test changing PR to go backwards.
(From OE-Core rev: f9c233908e6ada208d7abfdfe3ff98c6b278f405)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After this replacement, the parent exception handling works so we don't
need subprocess wrapping with bb.error in the underlying functions.
The underlying contexts also have better module handling so the imports
can be cleaned up.
(From OE-Core rev: aa8260adf53139d776a2affe6118d28b295c1fab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of oe.utils.getstatusoutput() with direct subprocess calls. The
call is just a wraper to the subprocess call of the same name and requires
the caller to handle exceptions themselves. We usually do this badly, failing
to show the output or the command or the return code.
Its much safer to rely on a call like subprocess.check_output() instead.
This also makes it easier to spot and remove cases where shell=True isn't
needed in a later cleanup.
(From OE-Core rev: 9f058857fb692f1251deb43bcaa7ed0120140093)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the compression of sstate objects is single threaded. In the case
of ltp, this takes around 33s. If we add pigz into the list of non-fatal
HOSTTOOLS and then use if it available when building the sstate object,
this time drops to around 6s.
Since pigz is now widely available this is an optimisation we should
utilise.
(From OE-Core rev: 2de56aa0792ec93445130d801936a8ea643fad27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the calls to is_elf (which calls file) to happen in parallel
allowing a speedup of do_package and do_populate_sysroot for native
recipes.
(From OE-Core rev: bbe0d3e26484f3f347262d40a8a9d415ce21fb43)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are probably further cleanups needed here but this at least removes
the major code duplication between these two similar funcitons, keeping the
kernel module ".ko" extension check for efficiency to avoid opening and
reading file contents in the general case.
(From OE-Core rev: 7ad0c0d6ab12bebeac097fc0f5210c876dcfe9be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is a bit more invasive to add parallelism to but
allows the shlibs analysis to happen in multiple threads. In order
to return values correctly/safely the data types needed tweaking
to avoid lists and use immutable objects.
(From OE-Core rev: b5788fb1f795f2f35d1788d8311e12984ffb2122)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjust the code so that the splitting of debug symbols from files happens
in parallel. To to this we need to move some path handling code into the
main function and pass more parameters in.
(From OE-Core rev: 9f0c2ed5d44a16e8268ac521236c4752f930f26a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need any functionality from the shell here, its just extra fork
overhead. Therefore remove it and use subprocess directly.
(From OE-Core rev: bcc03ea19e103f6aa93bada2f49fcc5cc7bc0790)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The command for running dwarfsrcfiles is simple and does not need a subshell
for each execution. By expanding out this function to use check_output()
from subprocess and a list of arguments, the shell overhead can be dropped.
For recipes with lots of files this gives a significant saving.
(From OE-Core rev: 6334129dfbe266602fab70ce445641053a05be6c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current code had broken exception handling due to the use of a
"traceback" variable as well as an import. Use the new library code
for this instead which reduces code duplication and has fixed/improved
exception handling.
The chdir code can be dropped since any directory changes are in other
processes now so there is no need for it here and the code no longer
changes directory.
(From OE-Core rev: bcd47389f4b1fc69d2bb4da01933bfa1fdcae092)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current methods of spawning processes for parallel execution have
issues around collection of results or exceptions.
Take the code from package_ipk/deb, make it generic, add a results
collection mechanism, fix the exception handling and for it into a
standard library function.
Also add a test case which tests both the success and failure modes
of operation to stop this functionality regressiing again.
In particular, compared to multiprocess_exec, this fork off the parent
approach means we can pass in the datastore and functions work in the
same scope as the parent. This removes some of the complexities
found trying to scale multiprocess_exec to wider use.
(From OE-Core rev: 88f0c214e593a45566df5131bda4c946f5ccc8c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been printing a deprecation warning for a while, now remove it
in favour of wic's efi functionality.
(From OE-Core rev: 1f279cf1ad2f0a20495780b210a987416650f40f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New version adds support for command line options
(-e and -- command) which can be used for launching
programs or running commands through matchbox-terminal.
(From OE-Core rev: e33ca806d34facad035fa387b17f56918648d80b)
Signed-off-by: Devarsh Thakkar <devarsht@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch removes hardcodes added to relocate_sdk.py
during SDK build, making it flexible and reusable.
Now default SDK path is passed to the script as
parameter rather then harcoded inside it.
This allows to reuse this script for multiple
relocations, and adds possibility to relocate
SDK multiple times
(From OE-Core rev: 6671a4d980c8bef8f402780a308f6c43a25044aa)
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pseudo won't always be in the native sysroot for a recipe, so we
shouldn't be complaining if it isn't there.
(From OE-Core rev: 11efc94742088ec6fbf2a86000e98286b0b529ef)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you pass quoted arguments to oe-run-native, they need to be passed
as-is to the underlying tool. Putting quotes around $@ ensures each
argument is quoted individually.
(From OE-Core rev: a8758653500a2458cd91bf1aa5eb666ad2b45df4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License changed due to copyright dates being added.
(From OE-Core rev: 079df0021b0819f4b88e20ac8f3350a0f153c6bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-canonicalize_file_name-is-specific-to-glibc.patch as upstream has
integrated musl support.
(From OE-Core rev: 4c243b71a0a05acc3b2a8bd327a8c97dcc08d3c5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Relicensed to just GPLv3+, update LICENSE and checksums.
The build dependency for flex should be flex-native.
libmath.h is missing from the tarball (it was present in 1.06) and the
generation rules are not cross-friendly, so delete the rules and copy in a
pre-generated libmath.h.
Remove fix-segment-fault.patch as the fixes are now upstream.
Add PACKAGECONFIG for readline and libedit, defaulting to readline.
(From OE-Core rev: 9862849ba883c110e4d2c57c39ab2c58e9b2d216)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some packages containing shared libraries might be registered
as shlib providers when they shouldn't (for example, the lib is for
their private use and must not generate any dependency).
EXCLUDE_FROM_SHLIBS is targeted at that, but it could be set
for entire recipe only.
This patch allows to set list of packages that are not candidates
for shlib providers.
Variable EXCLUDE_PACKAGES_FROM_SHLIBS is used, e.g.:
EXCLUDE_PACKAGES_FROM_SHLIBS = "glibc-ptest glibc-mtest"
Cc: Andrii Bordunov <aborduno@cisco.com>
(From OE-Core rev: 43be374a6deceeaf105794f034957c65bb6bec72)
Signed-off-by: Oleksii Konoplitskyi <okonopli@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemd-boot to 239.
The following patch is removed due to recent fix about meson's cpu family
mapping and validation.
0001-Also-check-i386-i586-and-i686-for-ia32.patch
(From OE-Core rev: ff0b682b807959521c85716296de7a1d26d7d18f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemd to 239.
1. Patch Changes
* Rebased Patches
0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch
0006-Make-root-s-home-directory-configurable.patch
0027-remove-nobody-user-group-checking.patch
0011-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch
0013-add-fallback-parse_printf_format-implementation.patch
0014-src-basic-missing.h-check-for-missing-strndupa.patch
0015-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch
0016-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch
0017-Include-netinet-if_ether.h.patch
0019-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch
0022-don-t-use-glibc-specific-qsort_r.patch
0024-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch
0026-Use-uintmax_t-for-handling-rlim_t.patch
0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch
0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch
0001-core-device.c-Change-the-default-device-timeout-to-2.patch
0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch
* Dropped Patches and Reasons
0001-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
This patch is dropped because the problem has been fixed by
binutils upstream. And this workaround could be dropped.
https://sourceware.org/bugzilla/show_bug.cgi?id=18548
0007-Revert-rules-remove-firmware-loading-rules.patch
0008-Revert-udev-remove-userspace-firmware-loading-suppor.patch
These two patches are dropped because they are for kernel < 3.7.
But the current minimal requirement of kernel to build systemd
is as below.
REQUIREMENTS:
Linux kernel >= 3.13
Linux kernel >= 4.2 for unified cgroup hierarchy support
So these two patches no long make any sense.
Also remove non-exist firmware-path option
0009-remove-duplicate-include-uchar.h.patch
0010-check-for-uchar.h-in-meson.build.patch
These two patches are dropped because musl has implemented
uchar.h. See commit below from musl repo.
"""
ab9672ae73248f51e30f4553c4b8878525e46383
implement uchar.h (C11 UTF-16/32 conversion) interfaces
"""
0018-check-for-missing-canonicalize_file_name.patch
The above patch is dropped because current systemd does not need
canonicalize_file_name.
0025-Define-_PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch
The above patch is dropped because utmp makes no sense in musl.
Check code below from musl.
include/utmp.h:#define _PATH_UTMP "/dev/null/utmp"
And utmp PACKAGECONFIG has been explicitly disabled for musl.
So we don't need this patch.
0032-memfd.patch
0033-basic-macros-rename-noreturn-into-_noreturn_-8456.patch
libmount.patch
0034-Fix-format-truncation-compile-failure-by-typecasting.patch
The above patches are dropped because they are backported patches.
And current systemd has contained these patches.
0036-time-util-fix-build-with-gcc8-Werror-format-truncati.patch
The above patch is dropped because it has been merged and is now
in new version.
* Newly Added Patch
0005-include-gshadow-only-if-ENABLE_GSHADOW-is-1.patch
This patch is added to fix build for musl.
0019-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
This patch is added to fix the following error which caused system
unable to boot up.
systemd-udevd.service: Failed to adjust OOM setting: Invalid argument
dbus.service: Failed to adjust OOM setting: Invalid argument
0020-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch
This patch is added to fix segment fault error on musl systems.
0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch
This patch is backported to solve a race condition between
user-runtime-dir@xxx.service stop and user deletion.
2. PACKAGECONFIG and Dependency Changes
* Add a new PACKAGECONFIG item 'gshadow'. Enable it by default for glibc
but disable it by default for musl. This is because musl does not provide
gshadow.h.
* Add a new PACKAGECONFIG item 'portabled'. Default to disable it because
it's still experimental, according to the announcement letter.
"""
Currently, the support is still experimental, but this is expected to
change soon. Reflecting this experimental state, the "portablectl" binary
is not installed into /usr/bin yet.
"""
* Change 'kmod' from a hard dependency to a PACKAGECONFIG item. Default
to enable it.
* Change 'acl' from a hard dependency to a PACKAGECONFIG item. Default
to enable it.
* Remove 'readline' from DEPENDS. systemd does not need it.
* Remove 'libcgroup' from DEPENDS. The dependency on libcgroup has been
removed from systemd a long time ago. We now remove this unnecessary
dependency from DEPENDS.
3. update-alternatives changes
The utilities like shutdown, poweroff, etc. are now created as symlinks
at do_install. So there's no need to use update-alternatives mechanism
anymore to create the symlinks now. In addtion, I don't think we now
support multiple init systems at one running system, so there's really
no need to use update-alternatives mechanism here.
Also update the FILES_${PN} to include these files to avoid QA issue.
(From OE-Core rev: 597f4645faf61486eb1d2ab73f3d974460ab9466)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
armv7+ used thumb2 ISA and it compiles fine with thumb2
issues are only when using thumb1 ISA
(From OE-Core rev: c0ef8a91f671f30acd92e2734144f7ddf1acda53)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Add PACKAGECONFIG option for brotli (disable by default)
- Add PACKAGECONFIG option for built-in manpages (disabled by
default). Embedding a copy of the manpages within the curl binary
adds approx 60k of gzipped data and duplicates the contents of the
curl-doc package.
- Add PACKAGECONFIG option for verbose error messages (enabled by
default)
- Disable legacy NTLM http authentication via delegation to the
external winbind ntlm_auth helper (which isn't going to work
without a runtime dependency on samba).
(From OE-Core rev: 0bf3637a07228576d78cf4c71de92781ec143d7f)
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>
In native builds we attempt to turn off i18n but this doesn't work in Meson
yet[1] but as the gettext class reduces dependencies in native builds we need to
add gettext-native to DEPENDS explicitly.
[1] https://github.com/mesonbuild/meson/issues/821
(From OE-Core rev: 964ea8bfc455f6017dc834104d96b8f5aa40a5bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When wayland and egl both are on then it enables the wayland
plugin which actually fails to build because its not finding wayland-protocol
xml templates in proper location which is recipe sysroot since
we are cross compiling
Fixes build errors e.g.
make[4]: *** No rule to make target `//usr/share/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml', needed by `drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h'. Stop.
make[4]: *** Waiting for unfinished jobs....
(From OE-Core rev: ff4762e94faa095abd7175810d1053fdd361058f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In python3, passing a unicode object to hashlib will result in an
exception that encourages you to encode it first.
(From OE-Core rev: b06a44f1081ea422a365e80bc79b2aeb2783d23f)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The same functionality already exists within bitbake, so avoid
duplicating.
(From OE-Core rev: 978f5a8f16bf5942aad73d761df2a00aeb36339d)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path variable is used in an error message a few lines later, but was
never defined.
(From OE-Core rev: 863ff90b788f66241860e27e1fd3a791b00984cc)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The string.replace function is removed in python3. Instead, the str
method "replace" should be used instead.
(From OE-Core rev: 8538aabf62d866f36764b4b136ee8575308df690)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- fix CVE-2018-6797, CVE-2018-6798, CVE-2018-6913
- remove patches, which are now included in update
- refresh patches
(From OE-Core rev: c0dac0d600e81054104f7b377f7c266aa83df371)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Linux,8 bits of the return code and 8 bits of the number of
the killing signal are mixed into a single value on the exit code,
so the exit status offset should be 8. But the autoconf checker
can not determine it while cross compiling, and then it is set to
the default value 0, which will cause generating the wrong exit
code if program exit with an error code.
(From OE-Core rev: e2dea46607a24620d6d2c250efc9b2e95bfd5ad8)
Signed-off-by: Rui Wang <rui.wang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add RDEPEND of gsettings-desktop-schemas to fix below error:
Error: GLib-GIO-ERROR: Settings schema 'org.gnome.desktop.background'
is not installed
This depend was setted in gnome-desktop before, but dropped when we
drop gnome-desktop after upgrade epiphany to 3.28.1.1.
(From OE-Core rev: e81db90870ee373c12849bb41e619a3ac6068d6d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the same reasons as the runtime Python test, clean up the SDK test.
Also port from Python 2 to Python 3, as that's what is supported now.
(From OE-Core rev: bead742a3ffc0a53162fb0c36610d74a1422e7b3)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
HTTP is in general more reliable so use that in the SRC_URI.
(From OE-Core rev: 4f3378e0763a94a5daac7169f498177fc6ef4e75)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gtk-play example assumes that GTK's GL support always works if it is
compiled in and first tries to use gtkglsink element which leads to
problems if there are errors while instantiating GL context at a much
later stage. This failure isn't detected and there is no fallback at
this point.
gtkglsink works on wayland though using poky defaults with gtk+3 since
the gdk backend does support egl with wayland but it doesn't with x11.
Disable the gtk plugin to ensure gtk-play just moves on when gtkglsink
isn't present. This was the default when gtk was part of -plugins-bad
before upgrade to 1.14.0.
Fixes [YOCTO #12832]
(From OE-Core rev: cf321fa1f96be789e1e7c8704175f88fb5857576)
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>
* Bump VA-API version to 1.2.0
* Add support for hevc range extension decoding
* Add support for fast intra prediction in HEVC FEI
* Add 10/12-bit YUV render target formats
* Add fourcc code for Y210/Y216/Y410/Y416/RGB565/BGR565
* Add VA_STATUS_ERROR_NOT_ENOUGH_BUFFER
* Add VA_SURFACE_ATTRIB_USAGE_HINT_EXPORT
* Improve documentation
Tested with Intel vaapi driver. There is support for meson available but
its not being packaged as part of release tarball yet.
(From OE-Core rev: d61d417750d4eadf5a00760e9859cb4c3b233cdc)
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>
There's no need to do native- and nativesdk-specific DEPENDS as the
BBCLASSEXTENDs handles those renames for us.
There's no need to have a subset of RDEPENDS for class-native as all with the
new manifest the python-native PROVIDES are complete.
(From OE-Core rev: 3e3c5cc579482041f0233e3e03ace736b62fb364)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An over-ride replaces the original value regardless of whether or
not it's set up with +=. As replacing the original value seems to be
the intention here, drop the += to make it more explicit. Also some
minor recipe formatting tweaks.
(From OE-Core rev: bda531e65bb6cc9f654c333e2f71283eccd17f27)
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>
Instead of decoding every file we open as UTF-8 (with many errors as machine
code isn't UTF-8), convert the build path to the UTF-8 byte representation and
search for that instead.
(From OE-Core rev: ffb52d383bfe413cf31fef13663fe9937a146c76)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The version 5.33 introduced a regression bug for determining the DB file
type. Backport a patch from upstream to fix it.
Before apply the patch:
$ file aliases.db
aliases.db: created: Thu Jan 1 00:38:24 1970, modified: Thu Jan 1 00:00:00 1970
After apply the patch:
$ file aliases.db
aliases.db: Berkeley DB (Btree, version 9, native byte-order)
(From OE-Core rev: 99e50d9e53ab23fc643c46378fa8c36190995335)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we just divide up the free space by the number of partitions
that need to be re-sized. This leads to problems when a user has
explicitly specified a subset of partitions (but not all) that need
to re-sized along with the sizes. As an example, for an image with 3
partitions, if we use:
wic write image.wic /dev/sdb --expand 1:10G
This would lead to paritions 2 and 3 each being re-sized to one thirds
of the free space instead of half.
Change the behavior to use up all the free space.
(From OE-Core rev: a88f1b5d88dbc5fb28be24b9787d73b9e0cdf183)
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>
The UEFI spec implies that GPT partitions should be assumed to be on a 2048
sector boundary (for a 512 byte sector) and the current logic just
divides the free sectors available by the number of partitions that need
re-sizing, which may or may not align and the final result might
overshoot the limits imposed after alignment.
Since we are expanding already aligned partitions, just divide up the
free space in multiples of 2048. Also use the exec_cmd wrapper instead
of the subprocess call directly.
Fixes [YOCTO #12840]
(From OE-Core rev: 5eef63f5afdfbab8e30748cb1bf42bf2e6524759)
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>
We don't need the texture float patches anymore, as the relevant patents have
expired so this defaults to on now.
(From OE-Core rev: db86b271c98dd50c641374ab6806b47a40ed134b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All values written out to pkgdata are escaped (see write_if_exists() in
package.bbclass). In practice there tend not to be characters that need
escaping except in the scriptlets (pkg_preinst, pkg_postinst, pkg_prerm
and pkg_postrm) where currently we still see the escape codes in the
corresponding files within buildhistory (e.g. \n and \t) and thus also
in the output of buildhistory-diff, hindering proper diffing of changes.
To fix this, when we read values from pkgdata and write them out to
buildhistory, we need to interpret the escape codes by doing the exact
reverse of what we do in package.bbclass.
(From OE-Core rev: c258379181a438cb01728d223b3d05e0ab205941)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The FILELIST field of the package info file in the buildhistory
repository is a space-separated list of all of the files in the package.
If a name of a file packaged by a recipe contains a space character then
of course the result was that we didn't handle its name properly. To fix
that, use quotes around any filename containing spaces and at the other
end use these quotes to extract the proper entries.
Fixes [YOCTO #12742].
(From OE-Core rev: 801b705957dc683030d11393f43407d0b3506b6a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original idea here was that changes to certain fields might be able
to be explained if there was a change to another field, for example if
RDEPENDS changed it might be because DEPENDS changed. Thus we were
printing this kind of thing out with each change. Unfortunately in
practice this turned out to be noisy and not particularly useful, so we
might as well remove it.
Fixes [YOCTO #7336].
(From OE-Core rev: 8658b3677b9f7cb70806061c41570c709086ef05)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building lttng-modules with linux-yocto-dev will cause do_compile
failure:
lttng-modules/2.10.6-r0/lttng-modules-2.10.6/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflicting types for 'trace_btrfs_reserve_extent'
void trace_##_name(_proto);
^~~~~~
The following commit from latest mainline kernel changes some btrfs
functions' prototype.
3dca5c942dac60164e6a6e89172f25b86af07ce7
"btrfs: trace: Remove unnecessary fs_info parameter for btrfs__reserve_extent event class"
This patch backports a commit from upstream to meet the above changes.
51ab0b1da29354375a19f865abcd233dd2178295
"Fix: btrfs: Remove unnecessary fs_info parameter"
(From OE-Core rev: c1daa5c0b89cdfab15d2fa093b021b2ce0937dad)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These platform specifc BSPs were removed from meta-intel and superseded by
intel-core* BSPs.
(From OE-Core rev: a6fd20fc57da3e1910e775f5994bd71bf79934ea)
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>
This allows the user mode flexibility about centrally overriding these
rather than needing to do it on a per recipe basis.
(From OE-Core rev: b0fb5bbd5f62857c32b2e071bcac841f856b1f1b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Checking if the dependency had any failure is unreliable, for example
if the underlying data doesn't get transferred and the list is empty,
success of the dependency is assumed.
Since we now have success data available, change the code to use it.
(From OE-Core rev: 4abba4c30d5a6163a968a119395a679e5e281ab4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This uses the new concurrenttest code to enable parallel test execution
if specified.
(From OE-Core rev: 07d19fb3adab7a8d83ba83d9a16395f70d7b7a47)
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)
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)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows oe-selftest to take a -j option which specifies how much test
parallelisation to use. Currently this is "module" based with each module
being split and run in a separate build directory. Further splitting could
be done but this seems a good compromise between test setup and parallelism.
You need python-testtools and python-subunit installed to use this but only
when the -j option is specified.
See notes posted to the openedmbedded-architecture list for more details
about the design choices here.
Some of this functionality may make more sense in the oeqa core ultimately.
(From OE-Core rev: 326ababfd620ae5ea29bf486b9d68ba3d60cad30)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This improves test parallelism.
(From OE-Core rev: 26e04b23ba1b6942aa7c7df478d41dfe7b73e6e0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only show the output in the failure case.
(From OE-Core rev: 324785a99e3f2449cb443233e7ce224598c02a3b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows better parallelism between the different tests as currently
this block takes the longest time to execute. devtool tests are still
all grouped into the "devtool" module for ease of exection.
This also makes it easier to execute some subset of devtool tests for
testing devtool changes.
(From OE-Core rev: 75148c190dd4823947557e9a07f1722e817c1fea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently some tests run in buffer mode and some don't. Those that don't can
corrupt stdout/stderr. Switch to using buffer mode everywhere so we're consistent.
If there is useful output on stdout/stderr, it will be displayed if the test
fails.
(From OE-Core rev: 978548c0abde2cb94c2782538552f39bdf2bf630)
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)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If dbus isn't build first the dbus dependency of dbus-wait can't be detected
through pkgconfig and the test fails:
AssertionError: {'DEPENDS': {'dbus'}} != {}
- {'DEPENDS': {'dbus'}}
+ {} : Some expected variables not found in recipe: {'DEPENDS': {'dbus'}}
Ensure dbus is built and present in the sysroot.
(From OE-Core rev: 28699b4257436fb6079eafe50ca8cab09a2fdd90)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main setUp function needs to be called and tests are meant to
define setUpLocal. For some reason this one didn't leading to errors
with recent code changes. Fix it.
(From OE-Core rev: aef07f09e224485539d8bc66ddac8bf394e4092a)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By having a consistent config for the test, a second reparse is avoided
and the test runs slightly faster.
(From OE-Core rev: a910d90dc18f9bc63142ccae2eeadc1feefc756b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If something goes wrong with the test, dep can be undefined. Avoid a
traceback for this and handle it more gracefully.
(From OE-Core rev: 0b74cb42aefe5c1b812fd155784e4c6581e26ce2)
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removing things straight from the live sstate directory is prone to issues
since other builds may be relying on the artefact presence.
Also, cleansstate is very slow on the huge sstate that the autobuilder has
on slow NFS drives. This may well be causing long buildtimes in oe-selftest
as the time taken to remove the artefact by be long.
(From meta-yocto rev: 1ed60bfb46569a8b8c29f24187390ba79686486a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python3-pygobject package to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 3c22f2080ece178b0cc68ae0b74310f81945ea52)
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>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 96971531e0d17a05bfd2b14c95d366f9c499edf9)
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>
Enable the systemd-logind on xserver if the user set systemd as a
DISTRO_CONFIG. If a user is buildling Xorg with systemd then they most
likley want the systemd-logind PACKAGECONFIG set.
(From OE-Core rev: 358c237e2adf5449e33d99ebbdc12670f4bd465e)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we check if the rootfs.img size is greater than 4 GB and use
mcopy to copy it over to a hddimg, a FAT32 volume.
This results in problems when IMAGE_ROOTFS_SIZE is set to be exact 4 GB
(4294967296 bytes). mcopy uses the max offset/file size to be 4294967295
and as a result, it errors out without any warning to the user.
Change the 4 GB check to '-ge' to catch these cases. Since we allow
IMAGE_ROOTFS_SIZE to be in KBs, the maximum allowed is 4194303 KB. Also,
tweaked the error message to refer to wic too.
Fixes [YOCTO #12776]
(From OE-Core rev: 16956dacd4be2c64e5816ccb2b222b5b128838c9)
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>
As of nfs-utils 2.2.1 libnfsidmap has been integrated and isn't an external
requirement anymore.
Also consolidate nfs-utils patches into a single directory.
(From OE-Core rev: 98e8146553c912e869c174674c53e96d8ff01e57)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Use the same defaults as meson does, with few modifications based on
previous EXTRA_OEMESON
* move libpciaccess dependency to new intel PACKAGECONFIG
(From OE-Core rev: dc7d3b2ff79ae324b96a51ec1be557a432ed351d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whenever perf got rebuilt, I was consistently getting errors such as
| find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory
| find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory
| find: find: '[...]/perf/1.0-r9/perf-1.0/libtraceevent.a''[...]/perf/1.0-r9/perf-1.0/libtraceevent.a': No such file or directory: No such file or directory
|
[...]
| find: cannot delete '/mnt/xfs/devel/pil/yocto/tmp-glibc/work/wandboard-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/util/.pstack.o.cmd': No such file or directory
breaking the whole build. The root cause seems to be that the implicit
'make clean' done during do_configure ends up running in parallel, and
thus multiple find commands attempt to stat and/or delete the same
file.
A patch disabling parallelism for the clean target has been ack'ed
upstream (lkml.kernel.org/r/20180705134955.GB3686@krava), but it should
be harmless to pass JOBS=1 even with a fixed kernel. This can be removed
if and when all relevant -stable kernels have that patch.
(From OE-Core rev: bb58203b668df42fd08c2e5fa4a172cf63e37369)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fix the issue with newer kernel-devicetree.bbclass as reported by RP in
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152594.html
with changes from
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152560.html
the bbclass no longer creates the dtb files prefixed with
KERNEL_IMAGETYPE_FOR_MAKE:
deploy/images/mpc8315e-rdb/uImage-mpc8315erdb.dtb
use the version less symlink:
-rw-r--r-- 2 bitbake bitbake 9.3K Jul 9 13:30 deploy/images/mpc8315e-rdb/mpc8315erdb--4.15.18+git0+45c256a5ca_0b32edc46d-r0.2-mpc8315e-rdb-20180709125726.dtb
lrwxrwxrwx 2 bitbake bitbake 84 Jul 9 13:30 deploy/images/mpc8315e-rdb/mpc8315erdb.dtb -> mpc8315erdb--4.15.18+git0+45c256a5ca_0b32edc46d-r0.2-mpc8315e-rdb-20180709125726.dtb
lrwxrwxrwx 2 bitbake bitbake 84 Jul 9 13:30 deploy/images/mpc8315e-rdb/mpc8315erdb-mpc8315e-rdb.dtb -> mpc8315erdb--4.15.18+git0+45c256a5ca_0b32edc46d-r0.2-mpc8315e-rdb-20180709125726.dtb
(From meta-yocto rev: 1f8b8d266a3e8dbe7c447d074446c9f27526991e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should pass the build arguments to setup.py when doing a clean, because
sometimes the arguments are required for setup.py get started.
(From OE-Core rev: f9324af88a99eca28b160fa31aa4516fd397e44b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
$ runqemu qemumips64 core-image-minimal nographic qemuparams="-m 512"
...
[ 0.000000] Call Trace:
[ 0.000000] [<ffffffff801268c0>] clear_page+0x0/0x128
[ 0.000000] [<ffffffff80238158>] get_page_from_freelist+0xab8/0xc00
[ 0.000000] [<ffffffff80238964>] __alloc_pages_nodemask+0xdc/0xf68
[ 0.000000] [<ffffffff80239808>] __get_free_pages+0x18/0x70
[ 0.000000] [<ffffffff80122a4c>] setup_zero_pages+0x1c/0xb8
[ 0.000000] [<ffffffff80c7c998>] mem_init+0x54/0xa0
[ 0.000000] [<ffffffff80c74904>] start_kernel+0x204/0x4d8
[ 0.000000] [<ffffffff8091dfb0>] kernel_entry+0x0/0x40
[ 0.000000] Code: 02002025 1000f8d9 8e634d7c <34860f80> cc9e0000
cc9e0020 cc9e0040 cc9e0060 cc9e0080
[ 0.000000]
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
...
OE uses qemumips to simulate a Malta board by default.
As upstream qemu introduced:
https://git.qemu.org/?p=qemu.git;a=commit;h=94c2b6aff43cdfcfdfb552773a6b6b973a72ef0b
The Malta board can support up to 2GiB of RAM which should
be able to boot a Linux kernel built with CONFIG_HIGHMEM
enabled and passing "-m 2048" to QEMU and appending the
following kernel parameters:
...
mem=256M@0x0 mem=256M@0x90000000 mem=1536M@0x20000000
...
But the following commit in kernel broke above mem=X@Y setting
which added the memory as reserved memory area.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=73fbc1eba7ffa3bf0ad12486232a8a1edb4e4411
...
commit 73fbc1eba7ffa3bf0ad12486232a8a1edb4e4411
Author: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Date: Wed Nov 23 14:43:49 2016 +0100
MIPS: fix mem=X@Y commandline processing
...
So remove `mem=*' to disable user-defined physical RAM map
which let kernel itself caculates memory ranges.
Author: Hongxu Jia <hongxu.jia@windriver.com>
[ Merge the two fixes for qemumips32 and qemumips64 into one patch,
and make it support all mips cases ]
(From OE-Core rev: 0220cb34a91658ecc3782ec1a4700dcb5ece37d8)
Signed-off-by: He Zhe <zhe.he@windriver.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)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this makes it easier to access these variables from some other bbclass
e.g. sdcard_image-rpi.bbclass in meta-raspberry where we need to know
how some files in deploy are named, but we cannot inherit kernel.bbclass
as it's used in image recipe not kernel recipe
* alternatively we can move these to bitbake.conf like similar image variables are:
meta/conf/bitbake.conf:IMAGE_BASENAME = "${PN}"
meta/conf/bitbake.conf:IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
meta/conf/bitbake.conf:IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"
(From OE-Core rev: 7d0ef0eaa1bfe97015a774c26f5791622e7e8b12)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* use INITRAMFS_BASE_NAME and INITRAMFS_SYMLINK_NAME variables, like
other kernel artifacts are using
* use "${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" instead of
"${PV}-${PR}-${MACHINE}-${DATETIME}" to be consistent with other files
* allow to modify default symlink name with INITRAMFS_SYMLINK_NAME
instead of currently used:
initramfs_symlink_name=${type}-initramfs-${MACHINE}
(From OE-Core rev: 935b9d5a2bd12effad65f69a631ecff96b8bb553)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add 2 new variables:
KERNEL_DTB_BASE_NAME
KERNEL_DTB_SYMLINK_NAME
instead of reusing KERNEL_IMAGE_SYMLINK_NAME and than expecting that
default value ${MACHINE} was being used in e.g.:
DTB_SYMLINK_NAME=`echo ${symlink_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
* install normal DTB files only once even if there is multiple entries
in KERNEL_IMAGETYPE_FOR_MAKE and don't prefix them with the type of
the kernel image, use the KERNEL_IMAGETYPE_FOR_MAKE as a prefix only
when installing them bundled with kernel or initramfs image.
* deploy the files from ${D}/${KERNEL_IMAGEDEST}/ instead of kernel
build directory, so that we don't need to call
DTB_PATH=`get_real_dtb_path_in_kernel "${DTB}"`
again in do_deploy
* create all links in do_deploy task, because default KERNEL_DTB_BASE_NAME
like KERNEL_IMAGE_BASE_NAME contains PKGR and PKGR is different in
do_install and do_deploy, because kernel.bbclass calls
meta/classes/kernel.bbclass:do_install[prefuncs] += "package_get_auto_pr"
meta/classes/kernel.bbclass:do_deploy[prefuncs] += "package_get_auto_pr"
* the filenames are a bit different, but with separate variable it
should be easier for other bbclasses which use these DTB files to
find them correctly, just use either the cannonical name
$dtb_base_name.$dtb_ext or $dtb_base_name-${KERNEL_DTB_SYMLINK_NAME}.$dtb_ext
because PKGR (and other PKG* variables) might be different in your
task and kernel.do_deploy task.
* fix DTB files being deployed with incorrect filenames when
KERNEL_IMAGE_SYMLINK_NAME isn't set to ${MACHINE}, e.g. instead of
the default:
-rw-r--r-- 2 bitbake bitbake 1.4K Nov 20 07:41 deploy/images/raspberrypi3-64/Image-1-4.9.59+git0+e7976b2aff-r0.2-lirc-rpi-20171120043031.dtbo
lrwxrwxrwx 2 bitbake bitbake 64 Nov 20 07:41 deploy/images/raspberrypi3-64/Image-lirc-rpi.dtbo -> Image-1-4.9.59+git0+e7976b2aff-r0.2-lirc-rpi-20171120043031.dtbo
lrwxrwxrwx 2 bitbake bitbake 64 Nov 20 07:41 deploy/images/raspberrypi3-64/lirc-rpi.dtbo -> Image-1-4.9.59+git0+e7976b2aff-r0.2-lirc-rpi-20171120043031.dtbo
I was getting:
-rw-r--r-- 2 bitbake bitbake 1348 Nov 20 10:28 deploy/images/raspberrypi3-64/Image-linux-raspberrypi-lirc-rpi.dtbo
lrwxrwxrwx 2 bitbake bitbake 37 Nov 20 10:28 deploy/images/raspberrypi3-64/Image-linux-raspberrypi-lirc-rpi-master-20171120102653.dtbo -> Image-linux-raspberrypi-lirc-rpi.dtbo
lrwxrwxrwx 2 bitbake bitbake 37 Nov 20 10:28 deploy/images/raspberrypi3-64/lirc-rpi.dtbo -> Image-linux-raspberrypi-lirc-rpi.dtbo
and e.g. sdcard_image-rpi.bbclass from meta-raspberrypi:
37e4e18f4a/classes/sdcard_image-rpi.bbclass
was failing in:
mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}.dtb ::${DTB_BASE_NAME}.dtb
because ${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}.dtb doesn't exist in my
build, due to
DTB_SYMLINK_NAME=`echo ${symlink_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
not replacing whole "${KERNEL_IMAGE_SYMLINK_NAME}" (read ${MACHINE})
with just ${DTB_BASE_NAME}
* with this change applied the deploy dir looks like this:
-rw-r--r-- 2 bitbake bitbake 1.4K Nov 20 15:49 deploy/images/raspberrypi3-64/lirc-rpi-1-4.9.59+git0+e7976b2aff-r0.8-raspberrypi3-64-20171120154716.dtbo
lrwxrwxrwx 2 bitbake bitbake 74 Nov 20 15:49 deploy/images/raspberrypi3-64/lirc-rpi.dtbo -> lirc-rpi-1-4.9.59+git0+e7976b2aff-r0.8-raspberrypi3-64-20171120154716.dtbo
lrwxrwxrwx 2 bitbake bitbake 74 Nov 20 15:49 deploy/images/raspberrypi3-64/lirc-rpi-raspberrypi3-64.dtbo -> lirc-rpi-1-4.9.59+git0+e7976b2aff-r0.8-raspberrypi3-64-20171120154716.dtbo
and works correctly even with DISTRO using different naming scheme
* the sdcard_image-rpi.bbclass still needs to be modified, I've provided
updated version here:
https://github.com/agherzan/meta-raspberrypi/pull/159
* mpc8315e-rdb.conf MACHINE in meta-yocto-bsp also needs small fix:
https://lists.yoctoproject.org/pipermail/poky/2018-July/011436.html
(From OE-Core rev: 1860d9d3c62e2e94cd68a809385873ffd8270b6d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* just to make it more clear what is local shell variable and what is
replaced by bitbake from the metadata and also to prevent the variable
to be incorrectly expanded by bitbake if someone happens to define
e.g. DTB_BASE_NAME
(From OE-Core rev: 98b0f13f0650d970aac7441e7fcfc1089570785f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's -stable 4.12 release, which comprises
the following commits:
b0f63e84c132 Linux 4.12.26
61be5424616e usbnet: fix alignment for frames with no ethernet header
6d0519e75609 tipc: fix memory leak in tipc_accept_from_sock()
8560506d5b7a tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv()
5ceba73f1c24 tcp: remove buggy call to tcp_v6_restore_cb()
450a839e54a6 tcp/dccp: block bh before arming time_wait timer
872d246eaed9 stmmac: reset last TSO segment size after device open
74386d6ee7bf sit: update frag_off info
3df033244a42 s390/qeth: fix GSO throughput regression
b7bd0107008f s390/qeth: fix early exit from error path
7f02573318ba s390/qeth: build max size GSO skbs on L2 devices
3c8a527e0496 rds: Fix NULL pointer dereference in __rds_rdma_map
00c0600c0a35 net: remove hlist_nulls_add_tail_rcu()
193d9a02e802 net: realtek: r8169: implement set_link_ksettings()
8fb1c5e220ee net: qmi_wwan: add Quectel BG96 2c7c:0296
0c2ba29a13d9 net/packet: fix a race in packet_bind() and packet_notifier()
bb06331e9156 net: openvswitch: datapath: fix data type in queue_gso_packets
ea15a664c5b8 usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
7f11deffc177 ipmi: Stop timers before cleaning up the module
fb006a18929e fix kcm_clone()
ee82eaf439cc RDMA/cxgb4: Annotate r2 and stag as __be32
b71be191d4ed md: free unused memory after bitmap resize
6d24efc56915 dm raid: fix panic when attempting to force a raid to sync
490fc05683b4 blk-mq: Avoid that request queue removal can trigger list corruption
d9e8cb49aaf1 ide: ide-atapi: fix compile error with defining macro DEBUG
115978628b54 ipvlan: fix ipv6 outbound device
ee2ce344ee06 powerpc/powernv/idle: Round up latency and residency values
0fe4d3f9fb5b afs: Connect up the CB.ProbeUuid
94bdd552d7b1 IB/mlx5: Assign send CQ and recv CQ of UMR QP
aa02d85e4d08 IB/mlx4: Increase maximal message size under UD QP
dd955bcce383 bnxt_re: changing the ip address shouldn't affect new connections
a4b3e59bcb04 f2fs: fix to clear FI_NO_PREALLOC
78f9d39a2735 xfrm: Copy policy family in clone_policy
4577662b6010 atm: horizon: Fix irq release error
d7241b40fe6d kbuild: rpm-pkg: fix jobserver unavailable warning
bffb011d5446 mailbox: mailbox-test: don't rely on rx_buffer content to signal data ready
849ef7edfa4c clk: hi3660: fix incorrect uart3 clock freqency
d561354fe15d clk: uniphier: fix DAPLL2 clock rate of Pro5
eada5db0be6e clk: qcom: common: fix legacy board-clock registration
11ea07285eb4 geneve: fix fill_info when link down
4e0b53bd177a sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf
be7cba326d33 sctp: use the right sk after waking up from wait_buf sleep
2c485f6fa3be sctp: do not free asoc when it is already dead in sctp_sendmsg
6e2b427a32da slub: fix sysfs duplicate filename creation when slub_debug=O
e66ebbc23607 zsmalloc: calling zs_map_object() from irq is a bug
dc423eda615d sparc64/mm: set fields in deferred pages
956c73ca6664 block: wake up all tasks blocked in get_request()
1f35bda74d1a dt-bindings: usb: fix reg-property port-number range
412c76f0f9b8 sunrpc: Fix rpc_task_begin trace point
09f79313b317 NFS: Fix a typo in nfs_rename()
a550f7b43f63 dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
80f443550f8f lib/genalloc.c: make the avail variable an atomic_long_t
1dfea0e03917 drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()'
4add25bf3dff route: update fnhe_expires for redirect when the fnhe exists
c53ad6cb2f86 route: also update fnhe_genid when updating a route cache
d09b814cd2aa gre6: use log_ecn_error module parameter in ip6_tnl_rcv()
f9ef4cd05462 mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
a95269b0e4e5 x86/mpx/selftests: Fix up weird arrays
76e5bd0ae30a coccinelle: fix parallel build with CHECK=scripts/coccicheck
59f2aa43a314 kbuild: pkg: use --transform option to prefix paths in tar
50ce05457e39 irqchip/qcom: Fix u32 comparison with value less than zero
e3fec500f619 ARM: avoid faulting on qemu
602f85aeefb7 crypto: talitos - fix ctr-aes-talitos
73e76cb0ca1f crypto: talitos - fix use of sg_link_tbl_len
f17fe30404de crypto: talitos - fix AEAD for sha224 on non sha224 capable chips
f5fa317606b7 crypto: talitos - fix setkey to check key weakness
519619ec114a crypto: talitos - fix memory corruption on SEC2
e7984cca5abc crypto: talitos - fix AEAD test failures
64d05b5d1d86 bus: arm-ccn: fix module unloading Error: Removing state 147 which has instances left.
e14e213dfd51 bus: arm-ccn: Fix use of smp_processor_id() in preemptible context
63efd55a2c6b bus: arm-ccn: Check memory allocation failure
fd30c25b5596 bus: arm-cci: Fix use of smp_processor_id() in preemptible context
d358187f050b media: dvb: i2c transfers over usb cannot be done from stack
2ae277ebe31f drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
0792a5a27074 drm/bridge: analogix dp: Fix runtime PM state in get_modes() callback
fdc899328ff3 kdb: Fix handling of kallsyms_symbol_next() return value
08f22e2251fd brcmfmac: change driver unbind order of the sdio function devices
f9a77013fa02 powerpc/64s: Initialize ISAv3 MMU registers before setting partition table
9c6dfd696e5a KVM: s390: Fix skey emulation permission check
092937ce1aae s390: fix compat system call table
4f4b2e279816 s390: always save and restore all registers on context switch
8c54b7d880d4 smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place
a2ec325c7d20 iommu/vt-d: Fix scatterlist offset handling
743ac71ece80 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
1df6e988ae39 ALSA: usb-audio: Add check return value for usb_string()
974394e57a05 ALSA: usb-audio: Fix out-of-bound error
f4753360efda ALSA: seq: Remove spurious WARN_ON() at timer check
478c2ed7ca1c ALSA: pcm: prevent UAF in snd_pcm_info
b12060cae8c2 btrfs: handle errors while updating refcounts in update_ref_for_cow
ecfc013c7f23 btrfs: fix missing error return in btrfs_drop_snapshot
45822ea3d1bf X.509: fix comparisons of ->pkey_algo
19057ced2699 X.509: reject invalid BIT STRING for subjectPublicKey
a3ad8e49bc26 KEYS: reject NULL restriction string when type is specified
7c2ccfe13faa KEYS: add missing permission check for request_key() destination
664879ff9aef ASN.1: check for error from ASN1_OP_END__ACT actions
4c0e7ec3072d ASN.1: fix out-of-bounds read when parsing indefinite length item
17a6f363daf9 efi/esrt: Use memunmap() instead of kfree() to free the remapping
8dd372dd8845 efi: Move some sysfs files to be read-only by root
97c6b857262f scsi: libsas: align sata_device's rps_resp on a cacheline
eb78a8b8f172 scsi: use dma_get_cache_alignment() as minimum DMA alignment
db4a32fa5cf2 scsi: dma-mapping: always provide dma_get_cache_alignment
1f55442d0992 isa: Prevent NULL dereference in isa_bus driver callbacks
93fdb7dc713e hv: kvp: Avoid reading past allocated blocks from KVP file
d745d533737a pinctrl: armada-37xx: Fix direction_output() callback behavior
ae6add36f3ce iio: adc: meson-saradc: fix the bit_idx of the adc_en clock
50c87ecdb250 iio: adc: cpcap: fix incorrect validation
657257ba13ae iio: health: max30102: Temperature should be in milli Celsius
3da92b4ab2cc virtio: release virtio index when fail to device_register
f6fe0d2777b2 can: peak/pcie_fd: fix potential bug in restarting tx queue
654babccd437 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
bda1dccdda47 can: esd_usb2: cancel urb on -EPIPE and -EPROTO
9ff8eb7ef05b can: ems_usb: cancel urb on -EPIPE and -EPROTO
51e5de2b036b can: mcba_usb: cancel urb on -EPROTO
c94c94a367ef can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
c8474d8798ab can: kvaser_usb: ratelimit errors if incomplete messages are received
1936ba2b0b40 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
bc86162fa81a can: kvaser_usb: free buf in error paths
4a879f2d1636 can: ti_hecc: Fix napi poll return value for repoll
09b06e3f7b1d can: flexcan: fix VF610 state transition issue
f81db8e7d0cb can: peak/pci: fix potential bug when probe() fails
7b747f65c553 can: mcba_usb: fix device disconnect bug
0a3964b0a8d3 usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT
d1c24d05d7ec serdev: ttyport: fix tty locking in close
541fbaaf6db7 serdev: ttyport: fix NULL-deref on hangup
a6d00d0df9e5 serdev: ttyport: add missing receive_buf sanity checks
b30e0bedb66b usb: gadget: udc: renesas_usb3: fix number of the pipes
(From OE-Core rev: 5fddf0226efc996f7eeba76f15e3335c9e60c2f3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the -dev kernel to 4.18 in preparation for the next
release kernel.
(From OE-Core rev: 3d7da5d8083b38a9b08fc187a41f8b6691f19091)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's v4.12.25 -stable queue, which comprises the
following commits:
e61748ef5db0 Linux 4.12.25
c34553e3e8af x86/bugs: Rename SSBD_NO to SSB_NO
4aa9e65a91b9 x86/bugs: Remove x86_spec_ctrl_set()
7283d22a40c4 x86/bugs: Expose x86_spec_ctrl_base directly
60fb8f1bbd46 x86/speculation: Rework speculative_store_bypass_update()
cc8a65725832 x86/cpufeatures: Disentangle SSBD enumeration
4cadf648f802 x86/cpufeatures: Disentangle MSR_SPEC_CTRL enumeration from IBRS
14476a34b4d0 x86/speculation: Use synthetic bits for IBRS/IBPB/STIBP
e66dd0595eac x86/cpu: Make alternative_msr_write work for 32-bit code
32e38eda9958 x86/bugs: Fix the parameters alignment and missing void
5593194735ea x86/bugs: Make cpu_show_common() static
86e7eb199990 x86/bugs: Fix __ssb_select_mitigation() return type
4efd9170a722 Documentation/spec_ctrl: Do some minor cleanups
e074092d9d0a proc: Use underscores for SSBD in 'status'
f57b4be9a391 x86/bugs: Rename _RDS to _SSBD
f395cafed558 x86/speculation: Make "seccomp" the default mode for Speculative Store Bypass
9599751872de seccomp: Move speculation migitation control to arch code
647fb2d84f05 seccomp: Add filter flag to opt-out of SSB mitigation
44d5a1d9fe07 seccomp: Use PR_SPEC_FORCE_DISABLE
9490e71c3074 prctl: Add force disable speculation
ad5b97fe1ab6 x86/bugs: Make boot modes __ro_after_init
cfc00a7877b6 seccomp: Enable speculation flaw mitigations
bc4bf81c64b0 proc: Provide details on speculation flaw mitigations
a41d2136a447 nospec: Allow getting/setting on non-current task
7e17279e72b9 x86/speculation: Add prctl for Speculative Store Bypass mitigation
eea6b1abc91e x86/process: Allow runtime control of Speculative Store Bypass
c8630c28cd28 prctl: Add speculation control prctls
ecefae5ca101 x86/speculation: Create spec-ctrl.h to avoid include hell
4bcdf54612aa x86/bugs/AMD: Add support to disable RDS on Fam[15,16,17]h if requested
6ce1317929a3 x86/bugs: Whitelist allowed SPEC_CTRL MSR values
cd5e5e6f2e39 x86/bugs/intel: Set proper CPU features and setup RDS
d97584229d85 x86/bugs: Provide boot parameters for the spec_store_bypass_disable mitigation
793b7453cfc5 x86/cpufeatures: Add X86_FEATURE_RDS
c6c3cd47ccbb x86/bugs: Expose /sys/../spec_store_bypass
2d92a521bda7 x86/bugs: Read SPEC_CTRL MSR during boot and re-use reserved bits
81865e325abe x86/bugs: Concentrate bug reporting into a separate function
45245a5b9dc4 x86/bugs: Concentrate bug detection into a separate function
05e82d536970 x86/nospec: Simplify alternative_msr_write()
effb0dfecfa2 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
89fffee9d555 x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
76199d7beb0b x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
426210b00b02 x86/speculation: Use IBRS if available before calling into firmware
63904f8a6d41 x86/entry/64: Fix CR3 restore in paranoid_exit()
35cf6a9daf5f x86/cpu: Change type of x86_cache_size variable to unsigned int
7fded60b2cb7 x86/spectre: Fix an error message
343945a16727 x86/speculation: Add <asm/msr-index.h> dependency
eb0f059ee2de nospec: Move array_index_nospec() parameter checking into separate macro
31951a39de73 x86/speculation: Fix up array_index_nospec_mask() asm constraint
344711f16fec x86/entry/64: Remove the unused 'icebp' macro
d4324affaf05 x86/entry/64: Fix paranoid_entry() frame pointer warning
3cadbc9228b4 x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly
0d561147160c x86/entry/64: Get rid of the ALLOC_PT_GPREGS_ON_STACK and SAVE_AND_CLEAR_REGS macros
22c1269eefa9 x86/entry/64: Use PUSH_AND_CLEAN_REGS in more cases
ac897d25b1d3 x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro
226eea037fa6 x86/entry/64: Interleave XOR register clearing with PUSH instructions
120d889cac9f x86/entry/64: Merge the POP_C_REGS and POP_EXTRA_REGS macros into a single POP_REGS macro
2d5eb3888f24 x86/entry/64: Merge SAVE_C_REGS and SAVE_EXTRA_REGS, remove unused extensions
797a6f4444f1 x86/speculation: Clean up various Spectre related details
ff032faca431 KVM/nVMX: Set the CPU_BASED_USE_MSR_BITMAPS if we have a valid L02 MSR bitmap
1aaab2d1a1fd KVM/x86: Reduce retpoline performance impact in slot_handle_level_range(), by always inlining iterator helper methods
dd17c0f5a114 Revert "x86/speculation: Simplify indirect_branch_prediction_barrier()"
add7dd4f1f81 x86/speculation: Correct Speculation Control microcode blacklist again
358f03a9395f x86/speculation: Update Speculation Control microcode blacklist
0307861327c7 x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()
a612b987b028 x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surface
1b8b432f6dee x86/entry/64: Clear registers for exceptions/interrupts, to reduce speculation attack surface
513e4bbfc32c x86/entry/64: Clear extra registers beyond syscall arguments, to reduce speculation attack surface
(From OE-Core rev: 400c1bd54c0191b96bccfe0d2755995bdfc04fc1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yocto Project reference board such as Minnowboard need IGB module to
enable ethernet networking. It need to bundle together with kernel when
use NFS boot without initramfs.
(From OE-Core rev: f1b97a29a1918d4ae81cf71b026d6f2b82dfeb96)
Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding a BSP definition to the kernel-cache, creating a tiny branch for
board specific patches and finally setting the machine compatibility in
the linux-yocto-tiny recipe.
This is only the BSP definition and kernel configuration side of things,
more changes are necessary for full tiny distro support on qemumarm.
(From OE-Core rev: 9e88c4923a337ca8279feaa773884a9c26a092f3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If relayd is started after connection attempt from consumerd it will
leave the session in disconnected state and causes the following
inconvenience. This is covered by an upstream feature, see
https://bugs.lttng.org/issues/883. Before it's done, this patches
allows users to reconnect to relayd.
root@localhost:~# lttng enable-event --userspace --all
Error: Events: UST create channel failed (channel channel0, session trace_session)
root@localhost:~# lttng-relayd -b
Warning: No tracing group detected
root@localhost:~# lttng enable-event --userspace --all
Error: Events: UST create channel failed (channel channel0, session trace_session)
(From OE-Core rev: 6f0079a6c3cc8926423cff3a927a78dcecede90d)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-order variables to align more closely to the OE style-guide.
(From OE-Core rev: 5c9c61250bb23fd5fd1c18e243cab0d80573b749)
Signed-off-by: Andre McCurdy <armccurdy@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 functions correctly (it over-rides the default, ie
empty, value of EXTRA_OECONF and then PACKAGECONFIG derived options
are subsequently appended), however the += is unnecessary and can be
dropped.
(From OE-Core rev: e255d1aebd0e019f42c2110873ef4779bbbb5974)
Signed-off-by: Andre McCurdy <armccurdy@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)
Signed-off-by: Andre McCurdy <armccurdy@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)
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>
root login is disabled by default for openssh and we can
enable it through IMAGE_FEATURES 'debug-tweaks' or
'allow-empty-password', so change to the same default
behavior for dropbear.
(From OE-Core rev: d3e69fa2fef83015658aa5fa1442bab5a8c3edaa)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"allow root login" should not be bundled in ssh_allow_empty_password,
because some distro may want only one of "allow root login" and "allow
empty password", so split it out into ssh_allow_root_login and add new
imagefeature allow-root-login so they can be controlled separately,
debug-tweaks will still include both of them.
(From OE-Core rev: 1ab494f06a12548a902298afabd0a842161ef10d)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is helpful when exclude a lot of layers. It uses python re, and
supports multiple patterns (separated by space).
(From OE-Core rev: b5170882feb0f3bc2dddc213b6d115dfa87b7cc1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.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)
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>
Updated the example to more current information.
(From yocto-docs rev: 6952824473f820cbe6d02cba9523c023652f68e3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python-distribute is obsolete and is now simply a PROVIDES of python-setuptools,
so use the right name.
The identical change for setuptools3.bbclass was done in 2015 in 8922e60.
(From OE-Core rev: 87e38f0306400609aeac92bc13fd6f41d61e6271)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson uses 'mips' for both big- and little-endian MIPS machines, so map mipsel
to mips.
(From OE-Core rev: 23734432a24da77aa838ad4bdcbcc294cde08348)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a CPU family isn't recognised the first step should be to verify the mapping.
Send the user to a wiki page explaining what to do, instead of directly to the
Meson bug tracker.
(From OE-Core rev: 6c1e880a2bf4799cf451ff20c7ab93c55a755751)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if we do a testsdkext task for the image, it would take
very long time to finish. The time is mostly spent fetching kernel
source via network.
We have done some configuration in auto.conf, trying to make use
of own-mirrors.bbclass to avoid fetching kernel via network.
However, the solution normally does not work. Below is some log
from log.do_fetch.
DEBUG: Fetcher failure: Unable to find file \
file:///path/to/downloads/git2_git.yoctoproject.org.linux-yocto.git.tar.gz \
anywhere.
The tar.gz file is not available. It is generated only if
BB_GENERATE_MIRROR_TARBALLS is set to "1". The default value of
BB_GENERATE_MIRROR_TARBALLS is "0", and according to the manual, users
need choose to set it to "1" only if they are trying to make a source
mirror. So generally, this var's value is "0".
Anyway, we do need to avoid fetching kernel source from network when
doing testsdkext. So set PREMIRRORS in auto.conf to achieve this.
After this change, the time reduces from 4209.131s to 1399.436s on
my local machine.
[YOCTO #12729]
(From OE-Core rev: fd18ddb0664f69d77681590774b0123251a98728)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor comment update and re-order variables to align more closely to
the OE style-guide.
(From OE-Core rev: 0b0c294ed3a9f901b9a6afaf984ff4958c327c0e)
Signed-off-by: Andre McCurdy <armccurdy@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.
In this case, the _darwin over-ride seems to be unmaintained. It was
added in early 2013 but has not been accounted for in subsequent
updates to the recipe and (from inspection) now appears to be broken.
Remove the _darwin over-ride rather than try to debug or fix it.
(From OE-Core rev: 74e87700f4eb8c96aa7db3c722dd122c7e6f4bd6)
Signed-off-by: Andre McCurdy <armccurdy@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.
In this case, the commit which added the over-ride seems to have been
buggy - the commit message mentions "add to SYSROOT_DIRS" rather than
a correct description of what the change actually did, ie "over-ride
SYSROOT_DIRS":
http://git.openembedded.org/openembedded-core/commit/?id=355e49e19abb3e729c82a6de46ada8da8a257f58
The commit also appears to have been unnecessary as ${sysconfdir} is
appended to SYSROOT_DIRS for -native recipes by default from within
staging.bbclass.
To workaround the bug introduced by the first commit, a subsequent
commit later added ${datadir}/ca-certificates to the over-ride value
(which would not normally be necessary as ${datadir} is included in
the default value of SYSROOT_DIRS - ie the value which was lost due
to being over-ridden):
http://git.openembedded.org/openembedded-core/commit/?id=09bb7718d74573be9a5db4d0737fb14126f6489c
Therefore the fix seem to be to remove the SYSROOT_DIRS over-ride
entirely - the default value of SYSROOT_DIRS set by staging.bbclass
includes both ${datadir} and ${sysconfdir} when building for -native.
(From OE-Core rev: c1f18efda0280644b4a4ce6f2988fb7ada71faf6)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent glibc change removed libnss-nis module from glibc and a new
recipe libnss-nis.bb was added.
After this change, we need to make sure nativesdk-libnss-nis is also
included in buildtools-tarball, otherwise, we may encounter the following
error when using 'tar' command from buildtools-tarball.
tar: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: \
symbol _nsl_default_nss version GLIBC_PRIVATE not defined \
in file libnsl.so.1 with link time reference
This error occured on my ubuntu16.04 host with 'nis' configured in
/etc/nssswitch.conf.
So add nativesdk-libnss-nis to buildtools-tarball to fix this problem.
(From OE-Core rev: f7c703dd43e112b6cd63c7512645a1d418569ad7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With PATCHTOOL=git patches the changes in the patch_task_postfunc
of the classes/patch. This works OK when the S dir is a Git repo
but doesn't if the source is a tarball.
The while condition in the patch_task_patch_prefunc must be
jailed into the WORKDIR. In the opposite, when you are executing
the recipe out of a Git subtree the function simply fails but when
your recipes are into a Git repo the patch_task_postfunc execute a
commit over your BSP local Git repo adding the changes in an
arbitrary Git repo found in the path from the SOURCE directory to
the '/'. This situation is highly probable in cases like ~home
directories under the control of a .git repo or Yocto BSP which
manage the meta layers as git submodules.
This patch fix the changes introduced in
classes/patch: when PATCHTOOL = "git" double-check the repository
commit: 86ab56b551
Author: Paul Eggleton <paul.eggleton@linux.intel.com>
Date: Tue Dec 5 14:36:58 2017 +1300
classes/patch: when PATCHTOOL = "git" double-check the repository
If a bug is present or the user has set PATCHTOOL = "git" on a source
tree that isn't git, if we try to perform git operations (such as
committing or changing branches) when extracting source, then we might
in fact be running those operations on the metadata repository if the
build directory is underneath, say, poky or OE-Core, and that could
make a mess. Check if the source tree is a git repository and refuse
to continue if it isn't.
(From OE-Core rev: db6ce9d8838b1f9064604654ab579da3e237f361)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates CMake to the current stable release and drop many
backported patches in the process.
(From OE-Core rev: d942ec4ff649782d22afe49fd48839dbbfedc871)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
base_do_configure() tries to do "make clean" if there is a Makefile present.
For most recipes using distutils there is not a Makefile, but we do know that
"setup.py clean" will work so call that instead.
(From OE-Core rev: b805cefb24566772a2beb5d02036266e45370913)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The distutils class is about to do a clean via "setup.py clean", but numpy
doesn't support this and errors.
(From OE-Core rev: 67ae24ddb2bebbf8b1c455b8968f8c69844afb9d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These binaries can be provided by busybox triggering a conflict in
do_rootfs so update-alternatives needs to know about them to properly
create the symlinks.
(From OE-Core rev: 147da8fe7458a38598845958cb358bb094eba57b)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch was fixed a
different way upstream so remove.
0007-dri-i965-Add-missing-time.h-include.patch is now accepted upstream so mark
as backport.
(From OE-Core rev: 8fb143fe69147c32e945e798662d78e606bfe0a0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed code for "${D}${exec_prefix}/lib/perl-native/perl" since there is no
such a directory now.
* Fixed perl related code.
(From OE-Core rev: 416a8c241aff0dca6b8b123e52cf8e2d40c74c8d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with bind 9.11.2+ when the build host has lmdb installed, bind configure looks into
host headers and wrongly interprets that it should be enabling lmdb
disable lmdb to fix
| configure: error: found lmdb include but not library.
(From OE-Core rev: 8c00b32211f25e38c1601ec8de47e6d4729dd49e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 2e7f3b2b9318d1e5395ad58131eafb873f614326.
It was breaking quite common use case that the dtb files are in
some subdirectory and then kernel build fails to build them.
As reported by khem:
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152578.html
me:
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152579.html
on raspberrypi3 build:
make[3]: *** No rule to make target 'arch/arm/boot/dts/dwc2.dtbo'. Stop.
arch/arm/Makefile:345: recipe for target 'dwc2.dtbo' failed
make[2]: *** [dwc2.dtbo] Error 2
Makefile:146: recipe for target 'sub-make' failed
and trevor on the IRC:
20:35:49 < tlwoerner> the recent 2e7f3b2b9318d1e5395ad58131eafb873f614326 commit in oe-core seems to cause dragonboard-410c's kernel to fail to build
20:36:26 < tlwoerner> for the dragonboard-410c, KERNEL_DEVICETREE is set to "qcom/apq8016-sbc.dtb" but the build failure is:
20:36:37 < tlwoerner> *** No rule to make target 'arch/arm64/boot/dts/dts/qcom/apq8016-sbc.dtb'. Stop.
20:36:44 < tlwoerner> i.e. the "qcom/" is getting removed
20:37:08 < tlwoerner> oops!!
20:37:33 < tlwoerner> wrong copy&paste, the actual error is:
20:37:36 < tlwoerner> *** No rule to make target 'arch/arm64/boot/dts/apq8016-sbc.dtb'. Stop.
20:37:53 < tlwoerner> i.e., the "qcom/" is being stripped out
(From OE-Core rev: 0d725c76c113dec441a7319a6ee997e4ae8c4c88)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following error message when starting core-image-weston is not
critical as long as the image could start up correctly. So extend
the common_errors list for parselog.py test case to ignore this
message.
logind: cannot setup systemd-logind helper (-61), using legacy fallback
[YOCTO #12835]
(From OE-Core rev: edc244b2f346ad2eb3c90664ec17c904b356b992)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
on the host side we are glibc based therefore some native and nativesdk
recipes might need this package even when we target musl based systems
(From OE-Core rev: c939255a88d367d19497184ed64b828f021e5ef4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed 001-configure-Allow-to-explicitly-disable-nfsidmap.patch,
the nfsidmap is enabled when --enable-nfsv4, so I added a
PACKAGECONFIG[nfsv4], and default is no since keyutils is not in oe-core by
default.
* Removed 0001-include-stdint.h-for-UINT16_MAX-definition.patch and
nfs-utils-1.2.3-sm-notify-res_init.patch since they are already in the
source.
* Taken two patches from git://git.alpinelinux.org/aports to fix build
with musl, and the nfs-utils-musl-res_querydomain.patch is for musl only.
(From OE-Core rev: 0b51ed606b2e7543b50dadae7c0822b0f0de77ef)
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>
It is better to return False for None. E.g. checking an undefined
variable returned d.getVar().
(From OE-Core rev: 3048e9fa0df6b1edf79bd1723e0fc022c3332af1)
Signed-off-by: Binghua Guan <freebendy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the PACKAGECONFIG for documentation as it now requires python3-sphinx which is not
provided in any existing recipe.
(From OE-Core rev: 32dded1bd2f6c5cf6437330830399b72f15096c4)
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>
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)
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>
License-Update: Update checksum for whitespace (CRLF) changes
Update to the latest stable version
(From OE-Core rev: 467321703315f6e50aa8bc0e28cfe56f86c5fab7)
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>
python3-git was updated to the latest stable version
Tested on qemux86-64 using core-image-minimal
(From OE-Core rev: 6aa6f57c4d42d45ce1d3dbdca0e8f38ae31c0fbe)
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>
In the upgrade a large number of Upstream-Status tags were dropped, so add them
back. I'm taking the stand that copying a patch Debian is carrying doesn't
count as a backport.
Remove two Debian-specific patches (one for Hurd, one for kfreebsd) so
we're not carrying useless patches.
Remove two patches that are no longer applied.
(From OE-Core rev: b039b26958655aab496b588f4e41a5dea1bfaac1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I hit
update-alternatives: Error: not linking [...]/rootfs/sbin/fstrim to /bin/busybox.nosuid since [...]/rootfs/sbin/fstrim exists and is not a link
The solution seems to be to tell the alternatives system that util-linux
can also provide fstrim.
(From OE-Core rev: 7b317343a74bb0c31515b28879127972d50d1896)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go1.10.3 (released 2018/06/05) includes fixes to the go command, and
the crypto/tls, crypto/x509, and strings packages. In particular, it
adds minimal support to the go command for the vgo transition.
(From OE-Core rev: 37f288d783257cb9e6c035aaab1b661b1016b4c3)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go1.9.7 (released 2018/06/05) includes fixes to the go command, and
the crypto/x509, and strings packages. In particular, it adds minimal
support to the go command for the vgo transition.
(From OE-Core rev: 98d3ec92e8953304db51c73aff7a4e81b97f668c)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPM writes each package scriptlet (post-/preinstall) to
/var/tmp/rpm-tmp.XXXXXX --- a lot of files potentially gets created.
When debugging is enabled, these temporary scriptlet files aren't
cleaned up at all and after a while this results in the filesystem
resources are eaten up (like running out of available inodes).
Normally, the temporary files would have been written to the tmp
directory of the target sysroot (which we can easily clean up), but in
this tree, you can't necessarily run the scriptlets.
Fixes [YOCTO #12792]
(From OE-Core rev: ffb0ece83e74797f4c3da3866bb3d691c388a5e5)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are very old and there are better benchmarking systems available
now.
(From OE-Core rev: 516c1d5c2b2875ac103d4b5e8e482f852477dc8f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* The license file is changed to LICENSE.adoc, it is still GPLv3+.
* Removed Revert-Create-man-page-in-the-make-install-from-git-.patch, it was
used for fixing a build failure of no asciidoc, but now there is no such a
failure, so remove it.
* Refreshed 0002-dev.mk.in-fix-file-name-too-long.patch
(From OE-Core rev: b137af6c2dc3d6c21808ecc872fbebbac5f96295)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Rebased Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch
- Removed backport patch 0001-libext2fs-fix-build-failure-in-swapfs.c-on-big-endia.patch
- The LIC_FILES_CHKSUM changed because it updated the address, others are the same
(From OE-Core rev: 2577fbed729ddc8deb7a657dbaa695d5bd7ef20d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This platform is enabled by default but as we override the platform list doesn't
get enabled.
(From OE-Core rev: bff79adccf3b6d7e07abc965af96f9c1d499d309)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the patch to install tests as the Meson build allows this.
Drop the patch to disable cunit as this predates recipe-specific-sysroots and
isn't required anymore.
As Meson always builds the test suite (instead of building before running it),
add a patch to fix compilation with musl.
(From OE-Core rev: 8dcebad54ded4fa9b3455b674be37ad0b10190d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson has a defined list of known CPU families but these are not currently
validated, so mistakes in cross files or new architectures are not noticed.
Backport a patch from upstream which warns on unknown architectures, but tweak
it to fatally error instead. When we upgrade to Meson 0.47 the first half of
this patch can be dropped.
(From OE-Core rev: be194a459944dfcc41bae7315643a5d284683efc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Ensure that the PACKAGECONFIG arguments are always in EXTRA_OEMESON
- Log the arguments that are being passed in do_configure.
- Do verbose builds so the compile logs are useful for debugging build problems
(From OE-Core rev: 3112ff268d095a65ecb893dd6ca88a85b0f70446)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A name > 50 chars causes a 500 internal server error and should be warned
to the user but the code to do so currently doesn't work. Fix the logic.
(From OE-Core rev: 844f8d46f522a994dbff00245c4ffb07452577a8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this code prints things like:
ERROR: OK
which is unhelpful at best. After this change it would print:
ERROR: HTTP Error 500
which at least gives us something to work on.
(From OE-Core rev: 06079240e4eb0a3e1f528f6c8d6f3ea20754afee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As well as setting RECIPE_SYSROOT we also need to set STAGING_DIR_HOST/TARGET.
(From OE-Core rev: 59a0a05235d80c86251cf45d7142bfc57f2e70d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, recipes can't find allarch data files like autoconf-archive.
(From OE-Core rev: 8ae70703f68853a8714a4fb8fa5d959b5e21a02d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LIC_FILES_CHKSUM changed do to updated year
removed:
dont-test-on-host.patch, no longer implemented
drop use-python3-and-fix-install-lib-path.patch, they added the ability to pass in lib dir loctions
drop bind-confgen-build-unix.o-once.patch, fix included in update
Refresh other patches:
add python3 flag for PACKAGECONFIG to pull in python
add new config option --with-eddsa=no (needs openssl support not released)
Python support is disaled by default now.
Acked-by: Martin Hundebøll <mnhu@prevas.dk>
(From OE-Core rev: c37207d0aca5ad1ec2b45813274931be458ee7ed)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
include several CVE fixes.
CVE: CVE-2018-5733
CVE: CVE-2018-5732
LIC_CHKSUM_FILE updated to SPFX format
https://kb.isc.org/article/AA-01571
remove several patches now included in update.
Shared libarary support is now enabled in configure+lt, use it
and revert to autotools-brokensep
Refresh patches
Aligns support with bind 9.11.x
Add libxml2 support to configure.ac+lt
(From OE-Core rev: 7cb42ae87ef929bf7e08c559f09dc224c6e3d314)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The normalize_dtb function was buggy because
it only converted from .dts suffix to .dtb
suffix if the user passed a full source path to
KERNEL_DEVICETREE containing the /dts/ path.
The problem is that if the user did that there
would be a warning.
On the othet hand if user just set the variable
KERNEL_DEVICETREE="file.dts" the bbclass translation
to the respective .dtb target did not occur and
make would fail saying it has no rule to make target
file.dts
This patch decouples the logic of having /dts/ in the
path from the target translation.
(From OE-Core rev: 2e7f3b2b9318d1e5395ad58131eafb873f614326)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade webkitgtk from 2.20.2 to 2.20.3.
* update context of 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
* remove detect-atomics-during-configure.patch that webkitgtk 2.20.3
contains the commit of better solution, see
https://bugs.webkit.org/show_bug.cgi?id=161900#c9
(From OE-Core rev: 069426b0a7a6848a9290cd2e8cdce941d7e3c08c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Update debian 0.170 patches and rebase them for 0.172;
- Drop 0001-Use-fallthrough-attribute.patch which was
accepted by upstream;
- Drop 0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch
which was backported from upstream;
(From OE-Core rev: dbbe9c1d1f822cf13a4c16b79bccf6bf5c4b91e4)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If UBOOT_DTB_BINARY is empty, then don't try inserting the U-Boot
signing keys into the DTB. In this configuration the keys are expected
to be already present in U-Boot's DTB.
(From OE-Core rev: a0d74767f7bd18c853df6b0be162363076d8f965)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a function much like shutil.which or bb.utils.which, retaining
shutil.which-like function semantics, bb.utils.which's support for
returning available candidates for signatures, and most importantly,
supports wildcards, returning only the first occurrance of each found
pathname in the search path.
(From OE-Core rev: ca276fe139129eec383d77768ba91b808c462b04)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file_name parameter passed to bb.parse.siggen.invalidate_task
should be a virtual file name instead of a real file name, or else you
will encounter a following error, for instance, when you run:
$ bitbake nativesdk-lzip -c unpack -f
the error arise:
| ERROR: An uncaught exception occurred in runqueue
| if file_name:
| > taintfn = d.stamp[file_name] + '.' + task + '.taint'
| else:
| KeyError: 'virtual:nativesdk:/opt/poky/meta/recipes-extended/lzip/lzip_1.19.bb'
when multilib builds are used on OE.
(Bitbake rev: da37bdad46e11e7ce93ba7a59d58757b769dc16b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MACHINE = "qemumips64"
MULTILIBS = "multilib:lib64 multilib:lib32"
DEFAULTTUNE = "mips64-n32"
DEFAULTTUNE_virtclass-multilib-lib64 = "mips64"
DEFAULTTUNE_virtclass-multilib-lib32 = "mips32r2"
bitbake core-image-minimal -c populate_sdk
Results in gcc-cross-canadian-mips failing to build due to the use
of an incorrect sysroot, fix this. All nativesdk pieces should be in
the same sysroot (unprefixed).
(From OE-Core rev: ae48ee6627e6c1c4f1fcc4ead40edc968e64f7fe)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the fixes to other parts of multilib, it was found that the fixup code's
assumptions about the recipe sysroot were incorrect. We need to use the value
calculated earlier in the function.
It turns out there is a rather neat way to do this which cleans up the code
as an added bonus.
(From OE-Core rev: 2c1978fe1a5b72167c49010fbdd39a9e2eefdef8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're in a multilib context already and want a non-multilib context
this function returned incorrect values.
Try and retain optimisations for the common case not needing to request
a datastore but allow the different multilib/non-multilib combinations
to work too.
This fixes bugs where rootfs generation of a multilib image would
write into incorrect locations, or be unable to find sstate manifest
files due to incorrect data stores being used to expand data.
(From OE-Core rev: af7cd7823a8cc95c9f849498b2416cdb0d4d103e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there is duplication in the code, we can clean this up
by extending the multilib variants list.
This code also currently fails its its called from an existing multilib
context since its assumes the data store passed in is the non-multilib
case. When building an image, say lib32-core-image-sato, this leads to
incorrect PATH values.
To fix this, we also request a data store for the "" variant allowing
this corner case to be fixed and for the function to correctly return
values for each multilib even when a multilib is already selected.
(From OE-Core rev: cc1c481560b81c223170230430308c7e2f08c812)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if you enable multilib, then build an image, the multilib
recipe sysroot is build in the wrong WORKDIR. If you then clean and
rebuild the image you see "file exists" errors.
This patch ensures the real WORKDIR is used consistently and then
cleans/rebuilds also work correctly.
(From OE-Core rev: c013ae59a158378d06ecf8eb123df0a10bf986b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this function assumes that no multilib is applied and that
we're applying a multilib. This means if we're in multilib context
and want the non-multilib context we can't obtain it (and no other
function exists for this either).
Improve the function to allow this to be requested.
(From OE-Core rev: 295c5a3d19834a2fac255346d0a373449cfdd776)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a test that creates a layer, adds it to bblayers.conf, then ensure
that it appears properly in bitbake-layers show-layers.
(From OE-Core rev: 828462d2c39fe6f4d188b5eb129f7b2969e1ee18)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of commit 2c5c6e3ff we create multilib variants of intercept
hooks but we did not account for delay_to_first_boot variants.
This was covered up until commit a335e7867, but will now cause
an error.
(From OE-Core rev: 77f7c75481dceec36b7373f277c3bac811de9ef2)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed package recommendations so that the license package of a
recipe is recommended for all packages of a recipe instead of for one
package given by the recipe name.
Pre-patch behaviour results in a missing recommendation when a recipe
does not have a package with the same name.
(From OE-Core rev: 07343ff6282dd18432ecee5d9b80ad1fb86217f1)
Signed-off-by: Alp Özmert <info@ib-oezmert.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user has set numa in their MACHINE_FEATURES we should enable
NUMA support in the kernel config.
(From OE-Core rev: e999816fec19750c4885e99930113bac21c225c0)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 920dc165abe2484c240b76f95123f5a28f48f9ce)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are going to let runtime test support kernel tests. Now we just add
kernel self-contained sample tests. And we plan to add overall kernel
tests in the future.
This patch is just add kernel samples test which contains about 13 tests
enabled by kernel-sample.scc. So it needs statement,
KERNEL_FEATURES_append += " features/kernel-sample/kernel-sample.scc" in
local.conf.
(From OE-Core rev: be6ef728fd36049ea3822a54909a995bdecf6dd0)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable kernel-sample features by default with the machine of qemu.
(From OE-Core rev: df7213e4799f9147560f61bbd466367ba02fd470)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Config file python3.5m-config conflicts between 32 and 64 bit packages.
Use update-alternatives to add base_libdir as suffix to avoid it.
[YOCTO #12511]
(From OE-Core rev: bbb5e55abd0e628a5b0dae90d5eace0a2483f1fc)
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When there are spaces in the mount points of devices e.g.:
a partition mounted at "/run/media/My Root Partition-sda1",
the initrd fails to move such mount points over to the
corresponding directories at /media under the real root filesystem,
and the mount points would appear at the same location as they were
mounted on when detected by initrd, for example:
here: "/run/media/My Root Partition-sda1"
instead of here: "/media/My Root Partition-sda1"
This causes issues such as:
* The disks/partitions cannot be formated with any filesystem
using e.g. mkfs.ext4 or mke2fs in general. When tried to do so
by making sure the device is not mounted, it failed with
errors such as:
> /dev/sda1 is apparently in use by the system; will not make a
filesystem here!
> /dev/sda1: Device or resource busy while setting up superblock
* The read/write operations become extremely slow. e.g. Under testing,
it took approx. 2 hours just to copy 700 MB of data to the partition,
and it took more than 40 minutes to delete that data from it.
Same operations took under 5 minutes on a partition that had no
spaces in its mount point (or that was successfully moved to real
root by initrd and appeared under /media instead of /run/media).
This commit fixes such issues by quoting the arguments of failing mount
move commands and by parsing OCT or HEX encoded special characters
such as spaces to ASCII charecters in the mount points as kernel
populates the procfs like so.
(From OE-Core rev: 6f8f984ba363f764e83290b972ec31a90aad1603)
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path to where the layer was being created was taken verbatim as the
name of the layer when generating the layer.conf and README files from
templates. This causes problems in the layer.conf file because it would
result in strangely named variables like
BBFILE_PATTERN_../my-layer = "..."
Instead of blindly taking the path, use the name of the last component
of the path as the layer name.
Additionally, rework the template files to use python format strings
with named parameters so that the same argument doesn't have to be
repeated multiple times.
[YOCTO #12808]
(From OE-Core rev: 01071c5d524a878d9de4814196cba2f15739796e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's an occasional build race from headers being generated in parallel with
other files which include the headers being compiled. Solve this by adding more
dependencies.
[ YOCTO #12815 ]
(From OE-Core rev: 177f4782e1ffca1eed3c9b102d910239a3dceea4)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no reason to have that rootfs.img filesystem in the image:
it's not used for anything because both the EFI and legacy boot paths
use the /initrd which contains the same contents as the rootfs.img,
only compressed. It was probably forgotten in there :)
My iso went down from 224 to 94 mb.
Tested using UEFI/legacy boots on CD-roms, usb dongle and qemu VM's.
(From OE-Core rev: 4c784379524cb12807ef87a02ef1514ed45c1cc3)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.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)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes from 0d8de4ce:
c2d4ba8 drm-legacy: fix poll for flip event, actually exit on user input
56c3917 formats: use weston's egl config matching logic, centralize format
aac3788 Rework default modifier handling
4f7cec0 Use weak functions to handle lack of gbm modifiers
98f31bf cube-tex: make use of modifiers
063ce5c gbm: fix fallback for drivers that don't support modifiers
9dcce71 add MSAA
Also refresh gbm_bo_map/_unmap patch.
(From OE-Core rev: 4cc150f31f84d1cbc82df7d7f8fe045a06a9859e)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Builds keep failing with a race over the generated header file, fix it!
[YOCTO #12828]
(From OE-Core rev: 3db0b1e798797013e3c553c1ce599191da2c3daa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: update COPYING file format
Drop 0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch and
0002-Remove-funopen.patch since they are already fixed upstream.
Backport 0001-flopen-Add-missing-fcntl.h-include.patch to fix build with
musl.
(From OE-Core rev: 62981e79de16a2352744c4b275f0549b1dafd17a)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Add-P-prompt-into-Usage-info.patch since it is already fixed
upstream.
(From OE-Core rev: 02f8aff020762e77bf49587115f6b8fbc96296c9)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason the layer index is expanding HOSTTOOLS before BBINCLUDED is
set so recent changes break it. This adds in a simple workaround to stop it b
reaking allowing the index to function correctly again.
(From OE-Core rev: 40a904bf8bc1279c3da0893c003f740f1d2066c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup the recipes which had been removed from oe-core.
(From OE-Core rev: 2dfbff215f3567252fdfbd5704e6740a30ad41b4)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move packaging rules for cmake -dev files from cmake.bbclass into
bitbake.conf to handle recipes (e.g. harfbuzz 1.8.1) which build with
autotools but also install cmake -dev files.
(From OE-Core rev: 543e39ad5e2baa0f1ece013a89483783e6b15dd9)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FIXES [YOCTO #12734]
Added a new variable description and created a new
section in the dev-manual.
(From yocto-docs rev: 854e641482171585c96ee5b9387b3e64146072b9)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated some links. Also, rewrote the note about the libraries.
It was inaccurate.
(From yocto-docs rev: a0fce0ed36f3d0668e2d211433e7d93fb8833319)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I corrected some wrong information. Provided the correct terminology
for the build host, and provided quotations for supplied values to
be in line with manual writing conventions.
(From yocto-docs rev: 420a7e96e7145dbef31d706cd257059619f71e12)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made several formatting changes for selections. These should
be using quotes and not being formatted in Courier.
(From yocto-docs rev: ec0a2d7e3cfd78fa4e508d5672f1c8265a3600a4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rendered a menu correctly instead of in formatting mode.
(From yocto-docs rev: 7c7da68171dfee037d02fa683c5cba047237fd52)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step that describes how Eclipse runs the Autotools is too
detailed and can run into problems as Autotools workflow changes.
I made it more general.
(From yocto-docs rev: 5d378a48f7237c620b7fc781b43ee86ea7522432)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to render fields and items from the dialog in normal
text, not in formatted text.
(From yocto-docs rev: 204750e3e2a2e777207d5f2044e38d5482254c46)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both Neon and Oxygen needed some changes for correct use of the
way we refer to menus and fields.
(From yocto-docs rev: 1cb20243194e61b925df6b0a3b136233f1da8a57)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used correct formatting for menu items and items fromt the
dialog screens.
(From yocto-docs rev: 9f9d4d65036dc23d193961efb4ae3f236fc8935c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list in the "Configuring the Neon Eclipse Yocto Plug-In
section should be an ordered list and not a bulleted list.
(From yocto-docs rev: 87926b1fb62f3678bd328af3f018f1b17a982092)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I provided similar wordings in places in this section as were provided
in the parallel "oxygen" section.
(From yocto-docs rev: f4fd33d10363ab84f1f76d3e4bf115df45aef77c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to consolidate a couple steps here. When you add in the
location for the YP Plug-in, it auto-populates the options.
Updated the prose to reflect that.
(From yocto-docs rev: b16963844cd573e5f52289f8948b38a5d4a0f7f1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Configuring the Neon Eclipse IDE" section needed a bit more
information in the note. Telling the users that if some options
are already installed they will not appear in the list.
(From yocto-docs rev: fbee757f102ee51e4db9fb6bdfd516775de8b5e0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Steps indicated you had to be in a clean directory to unpack the
tarball. This is false. You can be in any directory and unpack the
file. Unpacking it puts all the files into a directory named
"eclipse".
(From yocto-docs rev: 3e2fc8d013b51c1a90a44cf32a6cd69e2ef80a22)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed this step to be more accurate.
(From yocto-docs rev: 1a5c25c57a8f5829a8c3302520661def856adb58)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was pointing to the Chapter 5 as if it were in a different
manual. The link worked but should have been pointing to the actual
section of the Eclipse flow overview. Fixed it.
(From yocto-docs rev: 4cc906bf383af837855f4c40fc107c77ff6d3ff9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since DISTRO_FEATURES was expanded in the comments, it created
task dependency to the full content of DISTRO_FEATURES, instead
of just the x11 used below. This prevented reuse of sstate-cache
when unrelated feature flags were changed.
(From OE-Core rev: a39830b77f567e2361f1ced49bfdce52591e220c)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although there may still be specific cases which can benefit from the
ARM instruction set, the Thumb2 instruction set is generally a better
default for armv7a class CPUs. Distros such as Debian and Fedora have
been targeting Thumb2 by default for some time.
Note that setting ARM_INSTRUCTION_SET has no effect unless
TUNE_FEATURES contains "thumb" (which is controlled by the "t" suffix
in DEFAULTTUNE, e.g. armv7vehf-neon -vs- armv7vethf-neon, etc) so out
of tree machine configs may need to update their DEFAULTTUNE to take
advantage of this change.
(From OE-Core rev: c88304a78e528596ca481cabe273749c286c352a)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_qa_handle_error() returns True on non-fatal issues and False on
fatal issues. But the current usage has been to do
sane = package_qa_handle_error(...)
which would always reset sanity status to be that of the last issue
identified. This change the assignments to use the &= operator instead:
sane &= package_qa_handle_error(...)
As far as I can tell, this is not a real problem in practice, because
warnings of different levels (WARN_QA, ERROR_QA) does not seem to have
been mixed in a way that triggered this issue.
(From OE-Core rev: 21d015f6c9927598d64c48c925638619b25cf232)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a license file referenced from LIC_FILES_CHKSUM doesn't exist,
insane.bbclass would output an error message, but would continue the
build. This change makes this error fatal (as I suspect has been the
intention).
(From OE-Core rev: da29440633706fb7a346391d97894d6f2cbb0d01)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh 0014-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
to also define GLIBC_DYNAMIC_LINKER relative to SYSTEMLIBS_DIR on riscv.
(From OE-Core rev: 12e859dfb70f8aae40edfd88b143b6c771f4e1a6)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If SOURCE_DATE_EPOCH is unset (in addition to the existing "0" behaviour)
parse out the top most commit timestamp from the kernel tree to use as the
timestamp.
(From OE-Core rev: 2f0dd67a5a8d4269f5155004d532d8fa972b3223)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When REPRODUCIBLE_TIMESTAMP_ROOTFS is unset and we want to parse one
from git, use COREBASE as the base for the git command so we have a
known repository which we're using. Without this the build may fail
if the current directory is not part of a git repository.
(From OE-Core rev: 1c2197f96d69547e10b74dc722d9a569d9a2b2b6)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the ARM SWP instruction may exist for ARMv6 and above, it's
not guaranteed to work, especially on SMP systems where it's use may
lead to instability at runtime, etc:
https://community.arm.com/processors/b/blog/posts/locks-swps-and-two-smoking-barriers
Keeping the optimisation for architecture levels which pre-date SMP
(ie <= ARMv5) may be safe, however other distros (Buildroot, Debian,
Fedora, etc) are not doing so and mutex contention is likely to be
less of an issue on uniprocessor systems anyway, so the benefits of
this micro optimisations are not clear. Since OE uses ARMv5 qemu as
a proxy for testing all 32bit ARM architecture levels, it's desirable
to keep the ARMv5 builds aligned with later ARM architecture levels
wherever possible.
(From OE-Core rev: 7aa94abac09be6beb7ce14a2b9a409e934465706)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Systemd mount configuration file must have a name that match the mount
point directory they control. So for instance, if a mount file contains
[Mount]
...
Where=/mnt/my-data
The file must be named `mnt-my\x2ddata.mount`, or systemd will refuse to
honour it.
If this config file contains an [Install] section, it will silently fail
because the unit file is not escaped properly when systemctl is called.
To fix that, make sure paths are escaped through `shlex.quote`.
(From OE-Core rev: bbd9524256461f1bcafd4103edd575e668de76f8)
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It allows to run program with some namespaces unshared from parent.
(From OE-Core rev: 68e0080a924654245f04cf92c2579abd9e5bc658)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
remove Fix-compilation-for-X32.patch as a solution simular is included in update.
notable changes:
The TLS 1.3 implementation was updated to Draft 28.
The CA certificates list was updated to version 2.24.
refresh patches
fix 32 bit build error nss bug: https://bugzilla.mozilla.org/show_bug.cgi?format=default&id=1459739
(From OE-Core rev: 1ed072515f2a23de75ee56b86d8607c85b42605c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We get fuzz warnings when applying these patches and devtool
reports it
(From OE-Core rev: cb3c0343becc8bb2ebf4e9c12782c509a3d7754d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Entropy is needed earlier in the boot process in some cases, for example
connman can require it, and rgd doesn't require much, so move it earlier
in the boot process, 03 for sysvinit, and before sysinit for systemd.
(From OE-Core rev: 31c9b42aaeef3ad66e05e51b8209e87f2a22f091)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added as the recipe didn't inherit systemd, but it does inherit
systemd now.
(From OE-Core rev: c70b70f045a5ccf62b19060f3438b38d9914e9a2)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, the package clutters up the root of /usr/share/doc.
(From OE-Core rev: af4f0d44acef328245dfe1bd102bb5e61293ee2d)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can fail for target, not just native.
(From OE-Core rev: 747c7dc8702d2241475894876d06a2f1f2b29fed)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than trying to construct a string by quoting the files in an
error-prone way, parse $EDITOR to pass a list to subprocess rather than
a string.
(From OE-Core rev: c9fdf3d046606a0becb2e6b566a481c483b9021a)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an automated test to exercise that fetching a git: recipe...
1) works over git without mirrors
2) fails without git connectivity or mirrors
3) works without git connectivity but with a mirror
(2) is done by setting GIT_PROXY_COMMAND to 'false' which should break any git
network operations.
[ YOCTO #12805 ]
(From OE-Core rev: 13269dfbbc62faef32595343dc78250fdb2a2946)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following error messages appear now and then at boot time.
avahi-daemon/chroot.c: open() failed: No such file or directory
Failed to open /etc/resolv.conf: Invalid argument
The problem is about /etc/resolv.conf. In Yocto's systemd based
systems, it's a symlink to /etc/resolv-conf.systemd which in turn
is a symlink to /run/systemd/resolve/resolv.conf. The systemd-resolved
service handles creation of /run/systemd/resolve/resolv.conf file.
So if avahi-daemon is started before systemd-resolved, the error messages
appear.
Fix this problem by making avahi-daemon start after systemd-resolved.
(From OE-Core rev: 647db1d9eb65b225ffbb6953f796232026bfa935)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch does nothing but reorganizing codes.
avahi.inc is shared by avahi and avahi-ui recipes. Move common things
into it, and move uncommon things out of it.
(From OE-Core rev: 75529d384bfeaf52befccb892cf41f22dc02668b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream commit 61f32bff6130a44d077886d38cff89ad161bf177 included in
the release v229 removed the use of the group:
commit 61f32bff6130a44d077886d38cff89ad161bf177
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Feb 1 12:09:34 2016 +0100
tmpfiles: drop /run/lock/lockdev
Hardly any software uses that any more, and better locking mechanisms like
flock() have been available for many years.
Also drop the corresponding "lock" group from sysusers.d/basic.conf.in, as
nothing else is using this.
[...]
diff --git a/sysusers.d/basic.conf.in b/sysusers.d/basic.conf.in
index 823d6cb20..b2dc5ebd4 100644
--- a/sysusers.d/basic.conf.in
+++ b/sysusers.d/basic.conf.in
@@ -19,7 +19,6 @@ g wheel - - -
# Access to certain kernel and userspace facilities
g kmem - - -
-g lock - - -
g tty @TTY_GID@ - -
g utmp - - -
[...]
The upstream documentation doc/UIDS-GIDS.md says that basic.conf.in is "the
precise list of the currently defined groups":
## Special `systemd` GIDs
`systemd` defines no special UIDs beyond what Linux already defines (see
above). However, it does define some special group/GID assignments, which are
primarily used for `systemd-udevd`'s device management. The precise list of the
currently defined groups is found in this `sysusers.d` snippet:
[basic.conf](https://raw.githubusercontent.com/systemd/systemd/master/sysusers.d/basic.conf.in)
It's strongly recommended that downstream distributions include these groups in
their default group databases.
Removing the creation of the group also avoids the need to define a GID
for it when using static ids.
(From OE-Core rev: da3659155cd1825a4a8d3d7c5288b4273714de15)
Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
popt is a library, so it makes no sense for this to be in a "command line"
packagegroup.
(From OE-Core rev: 4af90876914e5f2ccc5b7f833cd43c239c2dac55)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recipe that doesn't configure, doesn't compile, and just ships a single shell
script certainly does not need to build depend on popt and glib-2.0.
(From OE-Core rev: 8a771f22980f766b71f3ea0825568fc5c669e444)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alioth is dead and the minicom project on Salsa (the replacement for Alioth)
doesn't actually have any files in, so just use the Debian mirror instead.
(From OE-Core rev: b0338efcdabeec79c568c74b6888d7d523e8e9dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a Debian snapshot mirror from 2018 (specifically, 10th March, the date 9.4
was released) to DEBIAN_MIRRORS.
(From OE-Core rev: f3f394913b4e4a7c601ad1158faaf8b9d493e1c7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alioth is dead so we can't use it for SRC_URI anymore. There is a shadow
repository on GitHub which is the new upstream, but for some reason it is
missing the 4.2.1 tag and tarball that we use. Also 4.2.1 was never uploaded
into Debian itself, so we can't use their mirror network either.
For now point SRC_URI at the Yocto Project source mirror and set
UPSTREAM_CHECK_URI so that we get nagged to upgrade to 4.6.
(From OE-Core rev: b3e246fef166030f327b5a852718ea907ada1759)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous host of chrpath, Alioth, is dead. chrpath hasn't yet moved to
Salsa, so download the tarball from the Debian mirrors.
(From OE-Core rev: a8a2c5ec891286a1e7fd5ebdd33565f9ae3965c2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated package to version 3.79.
The original FTP server, alioth.debian.org has been permanently taken
down by the Debian Project and replaced with salsa.debian.org.
Source: https://wiki.debian.org/Alioth
Also added HOMEPAGE, and BUGTRACKER.
[ tweak URL to work with checkpkg - RB ]
(From OE-Core rev: ee48cb68e5d91ba108cccdabce003233290ba816)
Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perf is superior in most ways and is preferred.
(From OE-Core rev: bcdaa93dc70411da8876364ae67d0bf2456a3611)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Checksum changed due to updation in documentation. There
are no changes in the license terms.
(From OE-Core rev: e8dfe9799e473e0ba911a0670aa23e8e8d700223)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the kernel for v4.14 and v4.15 to include a workaround of
the Ethernet malfunction on edgerouter board when building with gcc8.
(From meta-yocto rev: a503919e72fad9556ab0f51a78b92ef3e0075e97)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently mpc8315e-rdb.conf comes after local.conf during parsing. We should
give local.conf a chance to overwrite the kernel provider assignment, like
other BSPs.
(From meta-yocto rev: c5c70afb0306d96ae63d7a67d658524ed6d91e88)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If uri_find contain parameters then original URI parameters should
be checked against parameters from uri_find instead of parameters
from uri_replace.
(Bitbake rev: 8efa7826a61501589afa33eb698c0ab3a622bf2e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is especially needed when defaulting to hard-float ABI
Fixes errors e.g.
cc1: error: -mfloat-abi=hard: selected processor lacks an FPU
Fixes [YOCTO #12795]
(From OE-Core rev: 85981cbbf0ce48a6d82bc39248afa9540ca858d8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Exception: TypeError: boolean accepts a string, not '<class 'bool'>
is a bit annoying if you pass in True/False. Tweak the function
to make it forgive that situation.
(From OE-Core rev: 147f5a665fe5073027d92e4acac631f15f08f79f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The testimage changes break the autobuilder. The plan is to revert these hacks
but due to various changes happening with the autobuilder, we need these for now
to keep things working until we can move to the new autobuilder codebase.
(From OE-Core rev: 309a02931779f32d1139cc1169a039cbe4638706)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both busybox and coreutils provide mktemp, and the only difference between those
(and standalone mktemp) is that coreutils supports --suffix.
Also mktemp.org has disappeared, so it's fair to assume that the standalone
mktemp (last released in 2010) is dead.
(From OE-Core rev: 59a825ca1e08a7e47fcbc807606103d463280e6c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
the '-delete' action no longer complains about disappeared files
when the '-ignore_readdir_race' option is given, too. That action
will also returns true in such a case now.
(From OE-Core rev: f0808ee03a244be1fb485e0046983a05193b23b6)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License changed since licenses for the bundled linenoise and lz4 codebases
were added. We don't build either of them. Add MIT since utf8proc is MIT
licensed.
Configure to use the internal utf8proc codebase since we have no copy of that in
OE-Core, nor any need to add one.
Add a dependency on lz4 which is now required rather than using the internal
codebase within subversion.
Drop a patch merged upstream.
(From OE-Core rev: 5bb47984af79fe2e8c3ba5bc6895741131f03bcd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The TEST_IMAGE interface has never particularly worked and image testing currently
gets configured manually.
This reworks the interface to better serve the needs of its users, replacing it
with TESTIMAGE_AUTO.
This does away with the need for the separate class due to better bitbake APIs for
changing tasks.
TESTIMAGE_AUTO will automatically boot under qemu any image that is built. It
also adds in dependencies so that any SDK for which testing is requested will
automatically be built first.
The code in bitbake.conf was error prone (e.g. testsdk wasn't considered), this
improves it to standardise on IMAGE_CLASSES as the standard configuration mechanism.
(From OE-Core rev: b34d44f3dfea8254826a46701a4fe3769a900434)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The logic can be improved and the historical NOISO/NOHDD variables
moved into the class and out of common code.
The variables are also then removed in favour of directly controlling
the behaviour from IMAGE_FSTYPES in line with all the other image types.
(From OE-Core rev: a052caed563a09a01f5a3ea1f0477f379c05bee0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Right now the code handling class inherits is spread all over and
its hard to get an idea of what is happening overall. Combine all
the code together to make it clearer. There shoould be no functionality
changes.
(From OE-Core rev: 9b6cda7ff443eebfc5a5a8c9442c93a881807dab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current looping structure is confusing, simplify it a bit
to improve readability. Should be no functionality changes.
(From OE-Core rev: 498065b51b205b43d7dae1008014eba85a8f138c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is a little obtuse, add more comments about what its
doing and why. Also combine some of the statements where possible
to improve clarity.
(From OE-Core rev: 3e0c22e9bd9757cd458a073a3f043a48184d7bab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Once, there were do_setscene tasks but this hasn't been the case for years,
drop the old code.
(From OE-Core rev: b13a691f1cfc0d68a0f94c343fa3a1b987dbe117)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a reworked version of the issue which 5479654eea
attempted to fix.
"""
Each time I build my image after the first, I end up with a
do_image_complete_setscene stamp file with an extra _setscene appended to
the name. Eventually, the filenames end up being so long that mv complains
and the build fails.
It looks like this behaviour was introduced when the special handling was
added for do_image_complete in 2ff9d40dc88d43567472218cf3d3faf414398c71.
"""
Instead of the original approach which broke do_package_setscene, add
an entry to explictly stop the stacking _setscene pieces on do_image_complete.
It's not straightforward to just move *do_image_complete* after the
*_setscene* pattern because do_image_complete stamps would then match
do_image*.
(From OE-Core rev: 0f4e734e0ef40076351ed7ff795aac36197e4949)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this fixes the do_image_complete_setscene append problem, it creates a
new problem since the code can no longer reach the *do_package_setscene.*
code block below it. This breaks builds as per [YOCTO #12765]. Revert this
change in search of a better fix.
This reverts commit 5479654eea.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
always_include_xorg_server.h.patch is merged upstream, so drop it.
disable-x11-dri3.patch was purely to solve determinism issues with the shared sysroot, which
we don't have anymore.
Also remove redundant tarball checksums as this recipe fetches from git.
(From OE-Core rev: a40c5dcdd3f5b05d1a1bb348753a1d9101ef5152)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were shipping the Debian fork of the original code, but that has disappeared
now that Alioth is down. The driver didn't provide anything better than the
kernel and xserver's modesetting driver, so remove it.
(From OE-Core rev: 0e0b5e8abff3b0c30676bcfb76c60388ad2cfafe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This driver is dead upstream and doesn't appear to provide any advantage over
upstream kernel drivers and xserver's modesetting support.
(From OE-Core rev: 61611dec98e5b13e95bb42500d6b261cdb95feb1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
You can now limit on a task-specific basis the number of threads
a task will use. This is useful for machines that have high
numbers of cores and need to be rate-limited due to various
resource constraints.
(Bitbake rev: 4937ed392fdc4442dd91f644f329dda29f27242c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In runqemu-ifup, ip command is used to add TAP; in runqemu-ifdown,
we should do the reversed logic, using ip command to delete TAP, to
make sure TAP is cleaned up by ourselves.
I can see that in runqemu-ifdown script, 'tunctl -d' and 'iptables'
commands are used to deal with TAP, but these two commands cannot
make sure that the TAP is cleaned up.
runqemu-ifup uses 'ip' to set up TAP, we really need to do the opposite
in runqemu-ifdown.
(From OE-Core rev: 322e41de7f4fb21315bf75f1038314c31ac4754b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.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)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Derive the value for template layer.conf from core layer and add
dependendency on it too.
Fixes [YOCTO #12767]
(From OE-Core rev: 461c305078c40fca8b5382e393e3e8513d4abfa4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously a warning was printed regardless of context and nature
of the failure, and because it was only a warning, it was mostly ignored.
Now, the following is considered when a failure happens:
1) whether we are installing packages into a target image, or populating
a SDK with host or target packages.
2) whether the failure was due to qemu not supporting the target machine.
Accordingly, warnings, notes, and failures are printed, and postponing
to first boot happens if possible.
(From OE-Core rev: a335e78672b1e1ae3ea6427f6a805218e513bb52)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The variants are needed in particular when executing postinst_intercepts as
those may require running binaries built for different architectures and
against different sets of library paths, when multilib is in use (or nativesdk host
packages are installed), so a single global variant of the script was not working.
I do understand expanding PATH and DEPENDS in this manner is hackish, however
every other approach I could think of is worse.
(From OE-Core rev: 2f31eecc40ea4d0865aa28d65a0ba7d5a629393a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously only one global variant of the script was created,
which caused numerous issues:
1) multilib was not properly supported due to multilib variants each
needing their own version of the qemu binary and library paths to be set
2) nativesdk was not properly supported for the same reason
This patch also moves setting LD_LIBRARY_PATH directly into the
recipe, as passing it down from other recipes did not work when
said recipes were allarch, and adjusts calls to qemuwrapper from
postinst-intercepts, so that its correct variant is selected.
Also, the various qemu fallbacks in qemuwrapper script are all removed,
as they are no longer necessary.
(From OE-Core rev: d10fd6ae3fe46290c6e3a5250878966d9f12ca3f)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, there would be a failure at image creation time; avoid
that by postponing to first boot explicitly.
(From OE-Core rev: f3247720dc4b1c49e8fad734e20b17ba55843b97)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has the following benefits:
- consistent with how the other caches are created into target rootfs
- only runs once per package manager transaction, instead of once per every immodule package
- correctly postpones to first boot if qemu is not working; from postinst itself
this would've required special arrangements to avoid what is now a do_rootfs failure.
(From OE-Core rev: cca3c084b6c9bf600d7306e3fe12c4f236b78656)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Originally these ARM specific EXTRA_OECONF options were applied to
both gcc for the target and gcc-cross. That lead to a compromise
being made: gcc on the target was configured to default to an ARM
architecture which was at least compatible with the target (but not
necessarily an exact match) and gcc-cross was configured default to
armv7a for both armv7a and armv7ve (to avoid gcc-cross rebuilds when
switching between the two).
However, when these ARM specific EXTRA_OECONF options were moved from
gcc-configure-common.inc into gcc-target.inc (ie they were made to
apply only to gcc on the target) the compromise no longer needed to
be made.
http://git.openembedded.org/openembedded-core/commit/?id=851937dde81de2a9ef54c5f19a78fb12fb82afd4
(From OE-Core rev: 3c368282741e9de1f96988e127b86a6a01b6a26f)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gobject-introspection hard-codes the install path in the search path
for the typelib repository, pretty much the same way glib behaves for
the gio modules directory. Like for glib, this causes problems when
gobject-introspection-native is restored from sstate with a different
build directory.
Based on the glib fix by Ross Burton <ross.burton@intel.com>.
(From OE-Core rev: e4cee788056133ce0a49bc96e54399bdd7825aa3)
Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If package management is present opkg/dpkg will bring the original
copy of the postinsts scripts with the metadata and will be able to
handle postinsts just fine. In fact, it is preferred to let package
management handle the postinsts scripts in this case since it will
keep the package managers database up-to-date too. The run-postinsts
scripts will make sure the package manager gets invoked instead of
the scripts directly.
Note: Before commit 5aae19959a44 ("rootfs.py: Change logic to
unistall packages") rootfs.py did not install /etc/$pm-postinsts
too. It is not clear whether that change was intentionally or just
a bug. This commit fixes/reverts that aspect of the commit.
(From OE-Core rev: 4b571c59e3e6bd8b22a63f547a95757aeba5b638)
Signed-off-by: Stefan Agner <stefan.agner@toradex.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: 1af421fcf05457223bf271f3951599b6c150cdff)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenEmbedded has a built-in mechanism to run postinst scripts offline
at build time or, if necessary, on first boot (delayed execution). If
the latter is the case and systemd is in use, two services end up
doing the same thing:
- opkg-configure.service starts "opkg configure" directly.
- run-postinsts.service starts "/usr/sbin/run-postinsts" which runs
postinst scripts stored in /etc/ipk-postinsts/ or "opkg configure"
if package management is installed.
Since the run-postinsts.service is also used in cases where no
package management is in use, it is the primary means of handling
postinsts.
Get rid of the opkg-configure.service to avoid duplicate opkg
configure execution.
(From OE-Core rev: 23dcf7ea3af84721fac126a2b2f0f100f7266368)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that the tests are packaged and can be executed
when ptest is enabled. Also, remove build host specific references
from Makefile.
(From OE-Core rev: d283b0eb909c78b020794ba78e7ec64c3fbee86f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.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)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the following patch:
0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
(From OE-Core rev: 4032fd3ae640da8076617403152a30841507db4f)
Signed-off-by: Maxin B. John <maxin.john@intel.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)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Indentation using a mix of whitespaces and tabs has been unified in
favor of tabs.
(From OE-Core rev: 3827f1aa4a2bb433e445802c48e32f72932950e6)
Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the format "tar.xz" is included in the IMAGE_TYPES bitbake variable
as defined in meta/classes/image_types.bbclass, it should also be
possible to extract a rootfs that has been built using that format.
(From OE-Core rev: f813ca7b085c7ddf76a34932e2b3f5bc3372b239)
Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
default-versions.inc is included by defaultsetup.conf which in bitbake.conf
is included after local/machine/distro.conf.
If these are hard assignments distros can's overwrite them.
(From OE-Core rev: b9fb89fb7189e631b615868d567e1eab504ee3c2)
Signed-off-by: Stefan Stanacar <sstncr@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The audit package specifies the following:
UPDATERCPN = "auditd"
However because it is not multilibized, the value "auditd" is used to
search for the package to add the post install script too. In the mutlilib
alternate abi case, that package does not exist. It ends up assigning
the post install script to the lib32-audit-lic package, which
subsequently failes to execute the script due to the initscript it is
trying to turn on is not installed.
(From OE-Core rev: ce99653e1af50d9e8f070ca6ae810908c4c138c6)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's a bug in Meson[1] where it find_program("foo") will fail if foo is
defined in the cross file as a list.
This is causing the Meson build of libdrm to fail, but for this instance we can
work around the problem by only using lists in the cross file if there are
arguments, and just using a string if there are not.
[1] https://github.com/mesonbuild/meson/issues/3737
(From OE-Core rev: 7fd8bc469c2caacc1c2021bd0aa83dd6da7fe1e7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The services and timers are not useful if a repo is not configured.
In OE, we default to have no repo configured. So we default to disable
these units.
The problem was found by the test_systemd_failed runtime test case.
dnf-makecache.service is found to fail. This is due to lack of repo.
Note that as this service is started by the dnf-makecache.timer, it's
possible that test_systemd_failed passes in case the timer is not started
yet.
(From OE-Core rev: c017f5528d1ae6316c9434ffd8702665bfe069f9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following message from watchdog is not an error.
"error retry time-out = 60 seconds"
Checking watchdog's source codes, we have:
src/watchdog.c: log_message(LOG_INFO, "error retry time-out = %d seconds", retry_timeout);
It's clear this is an info message, so parselogs should ignore it.
(From OE-Core rev: c90dff78310ab1517555c4df39b3e2d2f59ff06d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current init script is installed from source with redhat style.
It does not get configuration from /etc/default/watchdog. We should use
debian style init script.
Write our own script just like what wd_keepalive does.
Also, in the init script, we check the existence of /dev/watchdog to
determine whether to start the daemon or not.
(From OE-Core rev: a31f8dd34e8ea34dfb087ed464575aa390ece09b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to make sure logs are not lost. As long as there's no
strong and vaild reason, we should make daemons start after syslog.
As a side effect, we could check the logs to see if there are
some potential problem. In OE, the 'parselogs' test case could
do it automatically.
(From OE-Core rev: 41e4d728ef92586e2714fa0c136b838c3fda051e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd has internal support for watchdog. See the RuntimeWatchdogSec
in /etc/systemd/system.conf.
We'd better just disable this service by default. If users want to use
watchdog, consider using the systemd one.
(From OE-Core rev: 183c9125e78ae1035894600a66b4ea1fa6a3a532)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch modifies watchdog.conf file. But this file is deliberately
deleted in do_install. The current mechanism in OE is to use another
recipe watchdog-conf to handle watchdog configuration. So the patch
is really useless.
(From OE-Core rev: 80638247143b15a5643f9fcc116d7bc7dcbf3496)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the following line to common_errors list.
Failed to read /var/lib/nfs/statd/state: Success
This message is not harmful, it does not result in rpc.statd starting
failure.
(From OE-Core rev: 0f2c39149941d95fa979ec675f9dc25655886e2c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
And use bitbake variables for install paths to fix nativesdk-openssh
compilation.
(From OE-Core rev: 70470dfa88338cae06670195bb7009cb13098ac2)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When generating the extended SDK, there is a copy step where this class
goes through the layers and other stuff that have been copied to
generate the SDK. The corebase; ie. the folder that contains the core
layer 'meta' is treated in a special way. Unfortunately in our tree, we
have:
sources/meta/meta
| `- core layer
`------- corebase
In populate_sdk_ext's copy_buildsystem, the heuristic to determine which
element of the list returned by copy_bitbake_and_layers is corebase is
fooled by such layout.
In copy_bitbake_and_layers, corebase is already handled specifically and
reliably, so we should let that function tell us which folder is
corebase instead of trying to determine it.
To do so, change the return type of copy_bitbake_and_layers to a tuple
that contains (corebase, copied_layers). It also simplifies the code on
the caller side.
(From OE-Core rev: 5368bc5d0d3606198b93e877bcafcd77bb5f4fd1)
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's only one user of rsync.inc (meta-gplv2 has its own copy), so
merge the .inc file into the rsync recipe.
(From OE-Core rev: 4e42ad44f1df510a527d199b6ec41541f8939654)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An earlier version of a change was merged from S. Lockwood-Childs
<sjl@vctlabs.com> which made the CFLAGS consistent across native,
nativesdk and target cases. This syncs with a later verison of the
patch to remove duplicate CFLAGS settings and simplify the recipe.
(From OE-Core rev: 604777acfc54d285f315b622bd147ed02d55d6fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When generating overlay DTB configuration sections, U-Boot doesn't want
the kernel specified again as we already have that in our base DTB. Add
support for this to allow bootm to process overlay configuration sections.
(From OE-Core rev: c0db9776beb4f519079a554a733353c368739dcf)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce UBOOT_DTB_LOADADDRESS and UBOOT_DTBO_LOADADDRESS so that you
can set where U-Boot loads full and overlay DTBs. This is required when
using bootm's overlay support to construct the final DTB.
(From OE-Core rev: 05d2230db1d7379494814407fc0d79d7e755d89e)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On high core machines, in do_fetch, it is possible to DDoS your own machine.
A method to limit any arbitrary task type to a certain number of simultaneous
threads is needed. (Similar to how BB_NUMBER_THREADS works in the general
case.) The format of this new limitation is:
do_fetch[number_threads] = "2"
This should be set globally. If it is set in individual recipes it could
result in unpredictable behavior.
Note: a value for number_threads > BB_NUMBER_THREADS will have no effect.
(Bitbake rev: 055865047c63b9c3b213b47a1884924ce0adeda0)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The RunQueueStats:taskCompleted and RunQueueStats:taskSkipped can take
multiple arguments. However, nowehere in bitbake are multiple arguments used.
Change this to match the behavior of the other APIs where it needs to be
called once for each task.
Additionally, these two functions were usually called in tandem, however in
the wrong order. It really doesn't matter as there is no specific preemption
point between the calls. But the taskSkipped should be called first to
increment the 'active' count, and then taskCompleted called to decrement it.
(Bitbake rev: 26d5ea9bb892bd6a2e1fd29a9023e0b0644edc16)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there is quite some variation between the fetchers in terms
of how they determine the subdirectory within DL_DIR and the base
fetch command to run. Some rely on variables being set externally
(e.g. from bitbake.conf in oe-core), some respect these external
variables but provide fallback defaults and some use only hardcoded
internal values. Try to unify the approach used across the various
fetchers.
(Bitbake rev: efd5e35af4b08501c67e8b30f30d9457f6fdf610)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
alsa-tools is actually a collection of 20 separate tools, each with their own
configure scripts. The dependencies are varied, old, and estoric (FLTK, GTK+ 1, 2,
and 3, PyGTK 2, Qt3).
Instead of maintaining patches to try and pick a subset that builds, use
PACKAGECONFIG and some magic to build what the user requests.
By default we build all the tools which have no dependencies, and the tools
which need GTK+ 2 or GTK+ 3 if the relevant DISTRO_FEATURES are enabled.
Add a patch to fix the build of ld10k1 with musl.
The ncurses build dependency doesn't seem to be checked for, so remove that.
(From OE-Core rev: 83c9405df5748744ef673ac8757bb89d7050ad8d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously sshd_check_keys would create a full set of all possible
sshd host keys, even if sshd_config has been set to only enable
certain key types.
Update sshd_check_keys to only create keys which have been enabled in
sshd_config (with a fallback to creating a full set of key types if
no HostKey options are defined, as before).
(From OE-Core rev: 2303d795ae96f1a60caf145a0ddf100e89c4b5b0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssh sshd init script contains a mix of indent styles, mostly
inherited from the Debian script from which it is derived. Leave the
indent from Debian as-is, but for lines which are OE specific (e.g.
where Debian's log_daemon_msg helper has been replaced with echo)
make the indent consistent with surrounding lines.
(From OE-Core rev: 68fb7d3b06887e0db3eef0ab231ced37cfa4894c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "ssh-keygen" package no longer seems to be provided by any recipe
in oe-core or meta-oe, so there's no clear reason for the
openssh-keygen package to conflict with it.
(From OE-Core rev: 0c5567847edba6b5ab24ae505d16375397cf4b40)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Openssh takes care of enabling large-file support automatically via
the AC_SYS_LARGEFILE in the configure.ac, so additional help from the
recipe is not required.
Even if it were once required, defining __FILE_OFFSET_BITS (ie with
double leading underscores) looks like a typo and probably never had
any effect anyway?
(From OE-Core rev: 37b1a7bada267b89094ce0c3eb81b1de9f04df8e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When include conf/distro/include/security_flags.inc, NOPIE flags are
still required for mips64 target builds. Otherwise it fails to build
packages such as glide which inherit go.bbclass:
| .../tmp-glibc/work/mips64-wrs-linux/glide/0.13.1-r0/recipe-sysroot-native/usr/bin/mips64-wrs-linux/../../libexec/mips64-wrs-linux/
| gcc/mips64-wrs-linux/7.3.0/ld: .../tmp-glibc/work/mips64-wrs-linux/glide/0.13.1-r0/go-tmp/go-link-518447869/go.o:
| relocation r_mips_26 against `a local symbol' can not be used when making a shared object; recompile with -fPIC`
Use override 'mipsarch' to set SECURITY_CFLAGS for both mips and mips64.
(From OE-Core rev: 98b24e9268dc444356ce8bd9ddfec6adcce5e02a)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apply patch from Taras Kondratiuk <takondra@cisco.com> to gcc 8.x too.
Normal gcc-cross has build-id feature enabled by default, so most of
target binaries has build-id. But libc (glibc, musl) doesn't have
build-id, because it is built with gcc-cross-initial.
Build-id is a useful feature, so enable it for gcc-cross-initial too.
(From OE-Core rev: f24308c95853bec5cfc9f0794b111c6afecbe768)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Normal gcc-cross has build-id feature enabled by default, so most of
target binaries has build-id. But libc (glibc, musl) doesn't have
build-id, because it is built with gcc-cross-initial.
Build-id is a useful feature, so enable it for gcc-cross-initial too.
(From OE-Core rev: ba69701dac785a220feffd6118718b1c9e733548)
Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch isn't needed for musl or glibc, so drop it.
(From OE-Core rev: 46275ed3de30e6095b0d7ef71aad842e5ea9fe30)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
b'Your entry can be found here: http://<snip>'
Now looks like:
Your entry can be found here: http://<snip>
(From OE-Core rev: 4510973fe12a61c21e12b46b8315c56f91eff5b7)
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>
Andrej has kindly stepped up as the busybox maintainer.
(From OE-Core rev: 9102319b85ed097fc63c0b56e3b9242be28ec5ab)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SystemD 237 implements a stricted PIDfile handling that breaks several
daemons [1].
Change the way we start xinetd, mimicing other distros [2].
Fixes:
root@qt5122:~# journalctl -u xinetd
-- Logs begin at Fri 2018-05-25 14:33:29 UTC, end at Mon 2018-06-11 07:33:08 UTC. --
May 25 14:33:31 qt5122 systemd[1]: Starting Xinetd A Powerful Replacement For Inetd...
May 25 14:33:31 qt5122 systemd[1]: xinetd.service: Permission denied while opening PID file or unsafe symlink chain: /var/run/xinetd.pid
Jun 11 07:27:24 qt5122 systemd[1]: xinetd.service: Start operation timed out. Terminating.
Jun 11 07:27:24 qt5122 systemd[1]: xinetd.service: Failed with result 'timeout'.
Jun 11 07:27:24 qt5122 systemd[1]: Failed to start Xinetd A Powerful Replacement For Inetd.
Jun 11 07:31:38 qt5122 systemd[1]: Starting Xinetd A Powerful Replacement For Inetd...
Jun 11 07:31:38 qt5122 systemd[1]: xinetd.service: Permission denied while opening PID file or unsafe symlink chain: /var/run/xinetd.pid
Jun 11 07:33:08 qt5122 systemd[1]: xinetd.service: Start operation timed out. Terminating.
Jun 11 07:33:08 qt5122 systemd[1]: xinetd.service: Failed with result 'timeout'.
Jun 11 07:33:08 qt5122 systemd[1]: Failed to start Xinetd A Powerful Replacement For Inetd.
[1]: https://github.com/systemd/systemd/issues/8085
[2]: e490406367
(From OE-Core rev: eea25f03e4c46cfe0d05df46f8f50e1389179c80)
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add version field in recipe name for example recipe created by
bitbake-layers.
Fixes [YOCTO #12767]
(From OE-Core rev: c62f6b9643d31b465ea0e919882e411a5ed35c56)
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>
By default, we ought to use console="${console},${baudrate}" as
console bootparam as commonly it is left to be passed with the
bootargs.
(From OE-Core rev: 2ce3534b2011cf5516780c9fd7e00bd107619adc)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Inherit manpages to update manual file index caches after installation
for man-pages.
(From OE-Core rev: 72e5e124e565c5a72771c7325a783011aedcab96)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package installs manual files, it should update manual index cache
after its installation. Add package 'man-db' to RDEPENDS which contains
command 'mandb' to update the cache. And do the update in the post
install scripts.
(From OE-Core rev: 078900f2416202b677471b10b69c8defb0f14c8d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu doesn't use autotools, so don't inherit it and just call 'make install'
directly.
No need to alter makefiles anymore, as they appear to respect CFLAGS now.
Remove a chmod of beginend_funcs.sh (a file we patched in, and removed,
many years ago).
(From OE-Core rev: b52a9d108d72ebdf93f2dc51aa6f26ccc890d451)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wayland has moved to GitLab with the result that /releases/ no longer returns a
directory listing, so the upgrade detection doesn't work.
The upgrade detection can scan releases.html just as well, so tell it to look
there.
(From OE-Core rev: 8befb09eb28bb6d8884d2052cd63c2c319eceed1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The handling of the environment setup was moved to the post-relocate
script handler, and so is no longer necessary in the setup script
(From OE-Core rev: 710b93a24df6372abd6d7aa0ede8750cf4bf88b4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd by default sets the system time at boot to the date of its NEWS
file. It provides the option to change that at build time, and some
projects need to come up at a particular date if no RTC is present.
Provide the option to set the time at boot to the epoch instead of the
date of the NEWS file.
(From OE-Core rev: bf1847cd369fe72b8f8e04e2661bb7d2d3524ea2)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of patching Module::Build, maybe Module::Build::Tiny and all other
similar tools, use the official way to tell them which is the target perl
on target.
(From OE-Core rev: f3925216b06ff7fbe21989210f8eb11e16be6631)
(From OE-Core rev: 306435507c4790ec44f30cd3c7fa7d340b441ec4)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These packages use hand-grown makefiles which don't handle cleans as they can
invoke /usr/bin/gmake directly which may not exist. Until new upstream releases
are made (which have ported to automake) set CLEANBROKEN to work around this.
[ YOCTO #12775 ]
(From OE-Core rev: eb924bc684f92fc2d806715872667f241e54b365)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gresource-tool has optional support for using libelf to extract resources from
ELF files, so add a PACKAGECONFIG in case someone wants this.
(From OE-Core rev: 93f08a036343d4df1aefe9793a7a9ab5b296f5b5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It should be RCONFLICTS_${PN} instead of RCONFLICTS_${PN}-syslog.
There's no ${PN}-syslog package.
(From OE-Core rev: 840d04182bc71ae3f6f562f668b9900c5625e1aa)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set .file section explicitly for .S files to avoid
the linker introduces the host path in symbols for
object files whose source file is .S
Otherwise, there is a host path in the symbols as
below:
$ readelf --wide --symbols /my-build/boost/1.67.0-r0/boost_1_67_0/x86_64-poky-linux/boost/bin.v2/libs/context/build/aca09349fdb84d131321425f6c3a38ed/libboost_context.so.1.67.0
42: 0000000000000000 0 FILE LOCAL DEFAULT ABS /my-build/boost/1.67.0-r0/boost_1_67_0/x86_64-poky-linux/boost/bin.v2/libs/context/build/aca09349fdb84d131321425f6c3a38ed/asm/make_x86_64_sysv_elf_gas.o
[YOCTO #12708]
(From OE-Core rev: 5d785dadf2bd35f4ae7304ab927fda10368377ce)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable use of pread() and enable column metadata API for nativesdk builds.
This brings nativesdk in line with target and native builds.
(From OE-Core rev: 7c8b85e1c3d852975cd5961a297aa939bf4c7fe7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change "fix hostname conflict with other packages" moved the
hostname util to the list of base_bindir_progs, so do_install_append()
now expects hostname to have been built.
coreutils do_install_append() is shared between target and nativesdk
builds (though not used by native build, see comment) so hostname should
be enabled to build on both of them.
(From OE-Core rev: 57f1f5708306a6121b1172c5163c6566d5bcb89c)
Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since ltp contains x86-64 assembler which uses the
frame-pointer register, it will trigger below error
when build ltp with -fno-omit-frame-pointer on
x86-64.
| cve-2015-3290.c: In function 'child_thread':
| cve-2015-3290.c:416:1: error: bp cannot be used in asm here
And there is also some comment as below in the source
file ltp/20180515-r0/git/testcases/cve/cve-2015-3290.c
* Build with -O2. Don't use -fno-omit-frame-pointer.
So explicitly set -fomit-frame-pointer on x86-64 for
compiler to fix the above build error.
(From OE-Core rev: 3084ff86d61b54011e0647ee17cbba521bafc9df)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds the posibility to build using TCLIBC=newlib.
It allows users to build baremetal applications with the use of a
C library.
Newlib is a lightweight C library meant to be used on embedded systems,
it is meant to be easily portable for new platforms and to provide
basic functionality on them, by design, it provides stubs for some of
these core functions declared as weak, so they can be built correctly
and then linked against some other library which provides specifics
about the platform being used if need be, libgloss takes care of these
in some cases, but it can also be extended, this patch also allows the
user to easily add other libraries to it by adding them to
NEWLIB_EXTENDED for this specific reason.
(From OE-Core rev: 9f0570351a7b0877aa50efff5fe9a9ef368cb38f)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds makes it possible to build elf for powerpc by adding
this combination to the elf headers machine dictionary, this can be
useful when trying to build baremetal applications where the TARGET_OS=elf
(From OE-Core rev: 6f7ef4f6049fa8f2a8e17abfcf53ccbc22394088)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newlib is a C library that is intended to be used on embedded systems.
It is a conglomeration of several library parts, all under free software
licenses that make them easily usable on embedded products.
Newlib provides a C library alternative that can run on baremetal, mainly
for resource constrained devices.
Libgloss is the BSP part of the C library, which can be easily modified
to port for new hardware platforms.
(From OE-Core rev: fe490ff829440b94124317759d856e2e2daf5047)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes issues with fontforge-native.
(From OE-Core rev: cec85a6fcadc24fd266fa34631cb095e0a773c1a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step describes the installation process and the intial launch
process. No information exists for describing how you launch
Oxygen from outside the install process. I added a note that
tells where the "eclipse" binary is installed and an example
line to invoke it.
(From yocto-docs rev: dc59410caf18e36497d70ea3c877b4f82f620e2c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided better instructions and accounted for the fact that it
is just this workflow here that is assuming the need for a
YP-built image.
(From yocto-docs rev: a05091768c914817ed262b15d39e7c9b54a5b863)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the "Workflow Using Eclipse" section head to not match so
closely the "Working With Eclipse" section heading. TOC appeared
funny.
Also, updated the step 1 to be more accurate regarding the real
need of having a YP build host and where to go to get information
on setting it up.
(From yocto-docs rev: 1cbca098a2f793bd86b6f73d3d35ce79bdf639f0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found several items that were slightly off after working through the
procedure. Updates to bring it into line with reality.
(From yocto-docs rev: 0f34afe3c37dedda28a1a5714703787a5dfe649d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expanded this section to contain a figure of the flow and an
example that showcases the ways to override and use SDK
environment and Makefile variables.
(From yocto-docs rev: 834c059c1df4e8328248ea86fa23ca9a397351fa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Makefile-Based Projects section was expanded to add a useful
example and figure. Added this figure to the sdk-manual and
mega-manual figures folders.
Updated the Makefile to include the new figure as part of the
tar files for each manual.
(From yocto-docs rev: 6261cb55b6393e0d5dce91cdb7c8e6e83849ec0c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Autotools is simpler now as it uses "autoreconf" to one-step a bunch
of the existing tools such as aclocal and autoconf. I updated the
figure to reflect the simpler flow and also the steps that accompany
the figure.
(From yocto-docs rev: 380cb1bb89003229befb4715e875586c798d6735)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I wrote the section to include a flow diagram using "make" and
provided a working example highlighting how to override environment
variables.
(From yocto-docs rev: 00e8e09a51a1f0305317f38975a9d7695c92bdb5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two changes here. One was a note to the "make" step of the
Autotools-based section. I cross-referenced the Makefile section
for information on how SDK installation environment variables
are respected and or overridden when using make variables.
Also, fixed the quotation syntax of the four environment variable
examples used in the "Makefile-Based Projects" section.
(From yocto-docs rev: 5bd4e056496ff3478e213ccd9e49adfe1fac67ab)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New figure for the section on Autotools workflow. The figure
goes in the folders for both the sdk-manual and the
mega-manual.
Updated the Makefile to include the new figure in the tarball
when creating both manuals.
(From yocto-docs rev: ccb2c4b9ebd0b0aaa55b5790eb6a916701e10af4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Did a re-write of this section with better explanations.
I also pulled the bit about passing parameters to the
configure script into the step that talks about that.
(From yocto-docs rev: 79432ba0eb0cc2f6bdb3410fbf99f227fb666b2c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The line used to be "AC_PROG_INSTALL". I did some digging and can't
really figure out why the example is not following the standard
"helloworld" stuff out there all over the internet. So, I have the
user create a configure.in file as follows now:
AC_INIT(hello,0.1)
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_CONFIG_FILES(makefile)
AC_OUTPUT
The original was as follows:
AC_INIT(HELLO,0.1)
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_PROG_INSTALL
AC_OUTPUT(Makefile)
(From yocto-docs rev: ed86d61178f86df3248b34d52602121c39bd56b5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was going to a spot from which another link was suggested.
Too many redirections for the reader. Linked to the original place
instead.
(From yocto-docs rev: 9fc383a99ae0a7ff8cae761c0c31b27030f765cf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Formatting used for the "configure" script created using the
"autoconf" command in the example.
(From yocto-docs rev: dd55ceb2c19f9e013c13e776acf7201c25501ff7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Autotools example called for a "configure.in" file as part
of the "hello-world" example. When working through the example,
a warning occurs saying that the file needs to be "configure.ac".
I changed the example.
(From yocto-docs rev: 7f677e3bbf0331228ed5aed1ace7c55d523d3121)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to reference a couple terms for first use: "cross-development
toolchain" and "OpenEmbedded build system".
(From yocto-docs rev: 2370c3508574efe05e768f4515fec5b17f0ca177)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed the output to reflect the real command's output. Updated
prose to match (mostly) that used in the similar extensible SDK
sections.
(From yocto-docs rev: fb6c8895f2afda0c43bbaa49870c425e25841ec4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed some poor writing in this section.
(From yocto-docs rev: 5709c2c2c1c37166ec5df1193b58ff82bb10b4c3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a grammar error and made a few other corrections.
(From yocto-docs rev: 369a22ffe3780fd00514344f1b3b8a944305e320)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a cross-reference to the term "build host". Corrected
a subject/verb grammar error.
(From yocto-docs rev: 8763e333867d0039315f0ca0aa96fdadea676783)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was poorly organized with a mile long sentence as
the opener. Fixed it.
(From yocto-docs rev: c7624244e40c807d1c3cea80d2eced3cd9948019)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a few sentences up by providing clearer text.
(From yocto-docs rev: e81984d73c05f2d722bc082a100d01c3cc0173ab)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a cross-reference link to the term "bulid host" and removed
the redundant word "system".
(From yocto-docs rev: 205d6fb6030cecb02301ec9cdc92ac908d250160)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed some prose in various places.
(From yocto-docs rev: f754969eff4c314d9f4c489cca2b3c2f8fd87fff)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates to prose for better understanding.
(From yocto-docs rev: 44a07560845c973a0da4c27969c740d3d712d323)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated various prose for better understanding.
(From yocto-docs rev: ddbd66d7732bbc8b4940c660f8a8c941a5cc4ea2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Poor writing left over in here. Updated some of the prose.
(From yocto-docs rev: 8f71cd997c86610dd62780f74f39dad811098540)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Corrected some prose to be clearer.
(From yocto-docs rev: c73f3d486fab555e6c6ac3dd1f5fbaf4d531ab29)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Took out the $TMPDIR part for the output and left more generically
as "Build Output".
(From yocto-docs rev: 4b0375e3293d67e4b5be433cd6c468532fee5a30)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more detail at the top for how the local recipe interacts
with the Upstream Source.
(From yocto-docs rev: c1d49a7c00c458b55396c0efc7a329acd870be6c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor edits from the read-through.
(From yocto-docs rev: d165438d3d02f3154fc59197d75ab1cb6a285320)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more detail on how the upstream source or files from
srctree are located.
(From yocto-docs rev: 5eff4b1b68c232071814969b6367188352639f17)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.14 and 4.15 for edgerouter/beaglebone
to fix gcc8 build issues.
(From meta-yocto rev: c5e07b460cf9477181d2dcde8ea93daeeacc9a2e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.12, 4.14 and 4.15.
(From meta-yocto rev: eb025ae398c0042ddc7be75e4ebdeb1fb1344c03)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Making the following commit available to fix mips gcc8 build issues:
commit e25dbfe95302eeaa1a03a828d05c09479574488a
Author: Kevin Hao <kexin.hao@windriver.com>
Date: Mon Jun 11 18:17:54 2018 +0800
MIPS: Use '+=" instead of '=' to avoid the CFLAGS override
We used the CFLAGS_xxx to workaround the gcc 8 build warnings
for some specific file. But CFLAGS_xxx is also used with '=' in
other places of this Makefile. This override the gcc 8 workaround,
so replace all the '=' with '+=" to fix this issue.
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: 8ab5b439ea82ac775494a0ce7a6f3615b61c94be)
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>
Integrating the following upstream commit to fix gcc regression:
crypto: aes-generic - fix aes-generic regression on powerpc
commit 6e36719fbe90213fbba9f50093fa2d4d69b0e93c upstream
My last bugfix added -Os on the command line, which unfortunately
caused a build regression on powerpc in some configurations.
I've done some more analysis of the original problem and found
slightly different workaround that avoids this regression and also
results in better performance on gcc-7.0: -fcode-hoisting is an
optimization step that got added in gcc-7 and that for all gcc-7 versions causes
worse performance.
This disables -fcode-hoisting on all compilers that understand the
option. For gcc-7.1 and 7.2 I found the same performance as my previous
patch (using -Os), in gcc-7.0 it was even better. On gcc-8 I could see
no change in performance from this patch. In theory, code hoisting
should not be able make things better for the AES cipher, so leaving it
disabled for gcc-8 only serves to simplify the Makefile
change.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Link: https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg30418.html
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83356
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83651
Fixes: 148b974deea9 ("crypto: aes-generic - build with -Os on gcc-7+")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(From OE-Core rev: 69e2b2ce2f499058d48a3b35febc757247e9df69)
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>
This will solve the mcpu/march conflicts we get when -mcpu=cortex-a7
is passed on cmdline since it will become incompatible with default
ifuncs in libatomic which is using armv7-a
(From OE-Core rev: 015b0d8ed6aa766e8cc96d10218ac86a28728bf9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable for v4.14, which comprises the following
commits:
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
57a3ca783596 Linux 4.14.47
3e496be2038a Revert "vti4: Don't override MTU passed on link creation via IFLA_MTU"
bf4367d790c5 Linux 4.14.46
48aaff1bcde7 Revert "perf record: Fix crash in pipe mode"
ec39812d2117 tools: sync up .h files with the repective arch and uapi .h files
c0f1d9bfd913 perf tools: Add trace/beauty/generated/ into .gitignore
2c2b15bb0e88 Linux 4.14.45
cd95b6e70712 drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful
829484eb3e00 kdb: make "mdr" command repeat
39958037723a pinctrl: mcp23s08: spi: Fix regmap debugfs entries
bd36ea57d6d5 pinctrl: msm: Use dynamic GPIO numbering
bd1a6e338c1b regulator: of: Add a missing 'of_node_put()' in an error handling path of 'of_regulator_match()'
36016bab698b ARM: dts: porter: Fix HDMI output routing
105479a0278c ARM: dts: imx7d: cl-som-imx7: fix pinctrl_enet
0b7761ec49e4 i40e: Add delay after EMP reset for firmware to recover
be5f9b150b64 regmap: Correct comparison in regmap_cached
253aa8296a5e ARM: dts: at91: tse850: use the correct compatible for the eeprom
ffc1f3ac180c drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen2
e5b5d9be211e drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen3
ce7da8b88f6a netlabel: If PF_INET6, check sk_buff ip header version
b9cd90c15ea7 selftests/net: fixes psock_fanout eBPF test case
6ce500756288 perf tests: Fix dwarf unwind for stripped binaries
dac66c47df6c perf report: Fix memory corruption in --branch-history mode --branch-history
fb872eb1131d perf tests: Use arch__compare_symbol_names to compare symbols
da5329644ad6 perf report: Fix wrong jump arrow
4489f688fc3b perf test: Fix test case inet_pton to accept inlines.
39478b7590d0 x86/apic: Set up through-local-APIC mode on the boot CPU if 'noapic' specified
4c27990631f1 drm/rockchip: Respect page offset for PRIME mmap calls
8755c4061ea9 MIPS: Octeon: Fix logging messages with spurious periods after newlines
f0cf2575cd47 dpaa_eth: fix pause capability advertisement logic
80300e879f9e pinctrl: sh-pfc: r8a7796: Fix MOD_SEL register pin assignment for SSI pins group
46d8696c613b rcu: Call touch_nmi_watchdog() while printing stall warnings
162af93fa251 net: stmmac: call correct function in stmmac_mac_config_rx_queues_routing()
4a856adf2823 audit: return on memory error to avoid null pointer dereference
a548ba4de32e PCMCIA / PM: Avoid noirq suspend aborts during suspend-to-idle
7d5ab9bf4f34 ARM: dts: bcm283x: Fix pin function of JTAG pins
c10dc67e720b ARM: dts: bcm283x: Fix probing of bcm2835-i2s
13b520688d2c power: supply: ltc2941-battery-gauge: Fix temperature units
72662ff1cf85 sh_eth: fix TSU init on SH7734/R8A7740
83e698e4684a ixgbe: prevent ptp_rx_hang from running when in FILTER_ALL mode
504583768092 udf: Provide saner default for invalid uid / gid
cb808972d770 PCI: Add function 1 DMA alias quirk for Marvell 88SE9220
5197a9786fee dpaa_eth: fix SG mapping
602234ea4466 cpufreq: Reorder cpufreq_online() error code path
8a6be5403774 net: stmmac: ensure that the MSS desc is the last desc to set the own bit
a3d4c34cdea9 net: stmmac: ensure that the device has released ownership before reading data
957094fcc06f drm/amdgpu: adjust timeout for ib_ring_tests(v2)
230d616f58a9 drm/amdgpu: disable GFX ring and disable PQ wptr in hw_fini
de9054cdc8d0 ARM: dts: dra71-evm: Correct evm_sd regulator max voltage
ee6f703020ab drm: omapdrm: dss: Move initialization code from component bind to probe
909474cd384c dmaengine: qcom: bam_dma: get num-channels and num-ees from dt
7efeaf6d5193 vfio-ccw: fence off transport mode
fe2fc07d2a31 pinctrl: artpec6: dt: add missing pin group uart5nocts
72678f7a2922 pinctrl: devicetree: Fix dt_to_map_one_config handling of hogs
39c655c5edfe hwrng: stm32 - add reset during probe
259cdaff0e91 watchdog: asm9260_wdt: fix error handling in asm9260_wdt_probe()
87337cb5663c enic: enable rq before updating rq descriptors
b3b26307208e dmaengine: rcar-dmac: Check the done lists in rcar_dmac_chan_get_residue()
e41de468a6f4 dmaengine: pl330: fix a race condition in case of threaded irqs
a64948842d00 block: null_blk: fix 'Invalid parameters' when loading module
f0078d2068b2 tools: hv: fix compiler warnings about major/target_fname
f85634b7b6d0 drm/bridge: sii902x: Retry status read after DDI I2C
3b64e1cf6b92 phy: qcom-qmp: Fix phy pipe clock gating
10626a0c2027 ALSA: vmaster: Propagate slave error
b1ebc21c146b phy: rockchip-emmc: retry calpad busy trimming
1fadfed83913 x86/devicetree: Fix device IRQ settings in DT
5e54596b33f6 x86/devicetree: Initialize device tree before using it
c78e4a47bc4d gfs2: Fix fallocate chunk size
c1dab7872b32 soc: qcom: wcnss_ctrl: Fix increment in NV upload
0a3b66b55a95 arm64: dts: qcom: Fix SPI5 config on MSM8996
b9e852513fca perf/x86/intel: Fix event update for auto-reload
359769ca6d16 perf/x86/intel: Fix large period handling on Broadwell CPUs
ecaa7bd342ad efi/arm*: Only register page tables when they exist
e6e5de32470b cdrom: do not call check_disk_change() inside cdrom_open()
017f2ee20675 perf/x86/intel: Properly save/restore the PMU state in the NMI handler
8f8ebc0ba07c hwmon: (pmbus/adm1275) Accept negative page register values
afcbcb432e84 hwmon: (pmbus/max8688) Accept negative page register values
127b06ef520d drm/panel: simple: Fix the bus format for the Ontat panel
ede5dd7822c6 perf/core: Fix perf_output_read_group()
8ba9b0300c18 max17042: propagate of_node to power supply device
ed6244e8b280 perf/core: Fix installing cgroup events on CPU
82e93a83598b f2fs: fix to check extent cache in f2fs_drop_extent_tree
fc8cf0e7aa37 f2fs: fix to clear CP_TRIMMED_FLAG
393e472db4c8 f2fs: fix to set KEEP_SIZE bit in f2fs_zero_range
d71b8b0d37da cxl: Check if PSL data-cache is available before issue flush request
bf3a501c1dc0 powerpc/powernv/npu: Fix deadlock in mmio_invalidate()
dc81e7182747 powerpc: Add missing prototype for arch_irq_work_raise()
903c66e35fb7 drm/meson: Fix an un-handled error path in 'meson_drv_bind_master()'
b4d7f0dae8c1 drm/meson: Fix some error handling paths in 'meson_drv_bind_master()'
6eaf0dd1d9d5 ipmi_ssif: Fix kernel panic at msg_done_handler
b5c7dedc8426 watchdog: aspeed: Fix translation of reset mode to ctrl register
e2906fc86978 watchdog: dw: RMW the control register
e2b3fa0ce98f PCI: Restore config space on runtime resume despite being unbound
12c663e4f8e4 MIPS: ath79: Fix AR724X_PLL_REG_PCIE_CONFIG offset
2a0bc4ad7c63 net/smc: pay attention to MAX_ORDER for CQ entries
289e6fa33b0b spi: bcm-qspi: fIX some error handling paths
1fae5e92788c regulator: gpio: Fix some error handling paths in 'gpio_regulator_probe()'
9fe2e97e6f2d coresight: Use %px to print pcsr instead of %p
12b29e1cfe6a drm/amdkfd: add missing include of mm.h
739c8e70889a IB/core: Honor port_num while resolving GID for IB link layer
7166fb174758 perf stat: Fix core dump when flag T is used
8cde08971b41 perf top: Fix top.call-graph config option reading
25b69a422b59 KVM: lapic: stop advertising DIRECTED_EOI when in-kernel IOAPIC is in use
982f8f14e704 i2c: mv64xxx: Apply errata delay only in standard mode
8d1b1e7902af cxgb4: Fix queue free path of ULD drivers
1d1646c408f6 ACPICA: acpi: acpica: fix acpi operand cache leak in nseval.c
c827ed01821d ACPICA: Fix memory leak on unusual memory leak
bf9b263b3e75 ACPICA: Events: add a return on failure from acpi_hw_register_read
601ae35b3f19 dt-bindings: add device tree binding for Allwinner H6 main CCU
35a4f782b521 remoteproc: imx_rproc: Fix an error handling path in 'imx_rproc_probe()'
4a092479bb4f bcache: quit dc->writeback_thread when BCACHE_DEV_DETACHING is set
590e13a68177 zorro: Set up z->dev.dma_mask for the DMA API
5e8f4ec7899b IB/mlx5: Set the default active rate and width to QDR and 4X
4a8b1c46af58 cpufreq: cppc_cpufreq: Fix cppc_cpufreq_init() failure path
f69b52965de0 iommu/mediatek: Fix protect memory setting
8c8f0b1f597d drm/vmwgfx: Unpin the screen object backup buffer when not used
791a1ef7df36 ext4: don't complain about incorrect features when probing
1891e0bb60b4 arm: dts: socfpga: fix GIC PPI warning
b5fb65c559ec virtio-net: Fix operstate for virtio when no VIRTIO_NET_F_STATUS
a54e06d490a1 watchdog: aspeed: Allow configuring for alternate boot
cd2399b49de4 ima: Fallback to the builtin hash algorithm
bc72e4fcc12a ima: Fix Kconfig to select TPM 2.0 CRB interface
d7b13824c390 cxgb4: Setup FW queues before registering netdev
aa5a781f59fb ath9k: fix crash in spectral scan
085ec7d554c1 nvme-pci: disable APST for Samsung NVMe SSD 960 EVO + ASUS PRIME Z370-A
7e5487b3990d ath10k: Fix kernel panic while using worker (ath10k_sta_rc_update_wk)
5db7e1bb6a13 watchdog: davinci_wdt: fix error handling in davinci_wdt_probe()
fc7bcbb94027 net/mlx5: Protect from command bit overflow
d018d551e7b2 selftests: Print the test we're running to /dev/kmsg
faace30e6e6a tools/thermal: tmon: fix for segfault
b652092f8e99 rsi: fix kernel panic observed on 64bit machine
31dbd9cfcb23 powerpc/perf: Fix kernel address leak via sampling registers
6a0a9f0ab8a9 powerpc/perf: Prevent kernel address leak to userspace via BHRB buffer
68a38cedff76 hwmon: (nct6775) Fix writing pwmX_mode
dbce9e41161c parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode
f37519543460 iwlwifi: mvm: check if mac80211_queue is valid in iwl_mvm_disable_txq
6a020bb3c620 m68k: set dma and coherent masks for platform FEC ethernets
80fceaf3f16a intel_th: Use correct method of finding hub
1366b31d1829 iommu/amd: Take into account that alloc_dev_data() may return NULL
6bc2bf6023dd ath10k: advertize beacon_int_min_gcd
9c222c497ba2 ieee802154: ca8210: fix uninitialised data read
c3a2a8782059 powerpc/mpic: Check if cpu_possible() in mpic_physmask()
fc2de796926b ACPI: acpi_pad: Fix memory leak in power saving threads
d023498fef35 drivers: macintosh: rack-meter: really fix bogus memsets
8effa2182d02 xen/acpi: off by one in read_acpi_id()
637b9b187f4e rxrpc: Don't treat call aborts as conn aborts
4a9fabcd3440 rxrpc: Fix Tx ring annotation after initial Tx failure
204bfcda8244 btrfs: qgroup: Fix root item corruption when multiple same source snapshots are created with quota enabled
de00d5729482 btrfs: fix lockdep splat in btrfs_alloc_subvolume_writers
92efba91a792 Btrfs: fix copy_items() return value when logging an inode
d7255626a082 btrfs: tests/qgroup: Fix wrong tree backref level
27a913cc9177 powerpc/64s: sreset panic if there is no debugger or crash dump handlers
305f25c1ed53 net: bgmac: Correctly annotate register space
435290f7a40a net: bgmac: Fix endian access in bgmac_dma_tx_ring_free()
4a6cd791d6c1 sparc64: Make atomic_xchg() an inline function rather than a macro.
22f1bde5d1bf fscache: Fix hanging wait on page discarded by writeback
6d03ff166926 lan78xx: Connect phy early
80b8f3da4912 KVM: VMX: raise internal error for exception during invalid protected mode state
fd97bbca67fc x86/mm: Fix bogus warning during EFI bootup, use boot_cpu_has() instead of this_cpu_has() in build_cr3_noflush()
3aeaeecda057 sched/rt: Fix rq->clock_update_flags < RQCF_ACT_SKIP warning
be6a5ad51a53 powerpc/64s/idle: Fix restore of AMOR on POWER9 after deep sleep
839c27f71376 ocfs2/dlm: don't handle migrate lockres if already in shutdown
9ebe297713af IB/rxe: Fix for oops in rxe_register_device on ppc64le arch
370b3353f4f8 btrfs: Fix possible softlock on single core machines
acfd8e886566 Btrfs: fix NULL pointer dereference in log_dir_items
afef64b10877 Btrfs: bail out on error during replay_dir_deletes
5ade3c9618f6 mm: thp: fix potential clearing to referenced flag in page_idle_clear_pte_refs_one()
8d700626fb57 mm: fix races between address_space dereference and free in page_evicatable
763111d9f337 mm/ksm: fix interaction with THP
378a1e49f9d1 ibmvnic: Zero used TX descriptor counter on reset
d04e5e72dfe9 dp83640: Ensure against premature access to PHY registers after reset
4be06bc0916d perf clang: Add support for recent clang versions
ee7c28b280b8 perf tools: Fix perf builds with clang support
6689a4c7b9ed powerpc/fscr: Enable interrupts earlier before calling get_user()
96fdc64d8eda cpufreq: CPPC: Initialize shared perf capabilities of CPUs
8bff7ca99fda Force log to disk before reading the AGF during a fstrim
28143fe3e3e2 sr: get/drop reference to device in revalidate and check_events
3a0de65acdd9 z3fold: fix memory leak
2ab7738102ad swap: divide-by-zero when zero length swap file on ssd
9c9844d9c9d0 fs/proc/proc_sysctl.c: fix potential page fault while unregistering sysctl table
59bdc587231c x86/mm: Do not forbid _PAGE_RW before init for __ro_after_init
c1af6891982e x86/pgtable: Don't set huge PUD/PMD on non-leaf entries
c527ab91f021 Btrfs: fix loss of prealloc extents past i_size after fsync log replay
f2924e32dcf2 Btrfs: clean up resources during umount after trans is aborted
1908ca222b36 nvme: don't send keep-alives to the discovery controller
145b7e06de33 firmware: dmi_scan: Fix UUID length safety check
d9179b4aa407 sh: fix debug trap failure to process signals before return to user
4ee9130f6423 net: mvneta: fix enable of all initialized RXQs
206199412bae vlan: Fix vlan insertion for packets without ethernet header
34a9a036350f net: Fix untag for vlan packets without ethernet header
235ca6a0330d qede: Do not drop rx-checksum invalidated packets.
78c986bf85b7 hv_netvsc: enable multicast if necessary
28bbb0d963e0 mm/kmemleak.c: wait for scan completion before disabling free
08e9dbd5184e mm/vmstat.c: fix vmstat_update() preemption BUG
d2a5d00dcd85 mm/page_owner: fix recursion bug after changing skip entries
da9ec481d66d mm, slab: memcg_link the SLAB's kmem_cache
0bbd8e2593ad qede: Fix barrier usage after tx doorbell write.
38a85f8214e2 builddeb: Fix header package regarding dtc source links
5b5f4fd97d8f llc: properly handle dev_queue_xmit() return value
25801736ca48 x86/alternatives: Fixup alternative_call_2
06956ca1aab3 perf/x86/intel: Fix linear IP of PEBS real_ip on Haswell and later CPUs
5b3b9ce272a6 net/mlx5: Make eswitch support to depend on switchdev
07af604f00a5 net: dsa: mt7530: fix module autoloading for OF platform drivers
77c18f7ea417 bonding: fix the err path for dev hwaddr sync in bond_enslave
6da5c98d65f0 net: qmi_wwan: add BroadMobi BM806U 2020:2033
e78be20d1122 lan78xx: Set ASD in MAC_CR when EEE is enabled.
373304e44fa9 ARM: 8748/1: mm: Define vdso_start, vdso_end as array
cbecd7187cdf batman-adv: fix packet loss for broadcasted DHCP packets to a server
110a7c19d9d1 batman-adv: fix multicast-via-unicast transmission with AP isolation
bbeb1a42dc58 drm/amdkfd: Fix scratch memory with HWS enabled
629b3a66d5ca selftests: ftrace: Add a testcase for probepoint
04905c21ad69 selftests: ftrace: Add a testcase for string type with kprobe_event
f7ed525fcb56 selftests: ftrace: Add probe event argument syntax testcase
58be6253b003 xfrm: Fix transport mode skb control buffer usage.
49f4a8c52eeb mm, thp: do not cause memcg oom for thp
6ca473201d70 mm/mempolicy.c: avoid use uninitialized preferred_node
5498a2b5795f drm/ast: Fixed 1280x800 Display Issue
c269eb77dc22 net: dsa: Fix functional dsa-loop dependency on FIXED_PHY
bf922554682b net/sched: fix idr leak in the error path of tcf_skbmod_init()
91314c273170 net/sched: fix idr leak in the error path of __tcf_ipt_init()
01a80839635d net/sched: fix idr leak in the error path of tcp_pedit_init()
97689fea3c80 net/sched: fix idr leak in the error path of tcf_act_police_init()
154040a5a869 net/sched: fix idr leak in the error path of tcf_simp_init()
29e36c3099fc net/sched: fix idr leak on the error path of tcf_bpf_init()
f8d93c59c78c RDMA/qedr: Fix QP state initialization race
8ed753eee9bd RDMA/qedr: Fix rc initialization on CNQ allocation failure
90b87707f0f7 RDMA/qedr: fix QP's ack timeout configuration
7245e2d1790b RDMA/ucma: Correct option size check using optlen
405544d5f864 kbuild: make scripts/adjust_autoksyms.sh robust against timestamp races
0839b0ce6eb6 brcmfmac: Fix check for ISO3166 code
4ff78587dea6 perf/cgroup: Fix child event counting bug
92ab37923634 drm/tegra: Shutdown on driver unbind
3a297d091edb iwlwifi: mvm: fix array out of bounds reference
7867e6d82fc9 iwlwifi: mvm: make sure internal station has a valid id
1001e8ec25db iwlwifi: mvm: clear tx queue id when unreserving aggregation queue
4eaa2618051a iwlwifi: mvm: Increase session protection time after CS
b57f0fe6e38b vti6: Fix dev->max_mtu setting
5815901c29c2 vti4: Don't override MTU passed on link creation via IFLA_MTU
34b6ba622ac4 ip_tunnel: Clamp MTU to bounds on new link
e675b292c282 vti4: Don't count header length twice on tunnel setup
87e07eff2772 batman-adv: Fix skbuff rcsum on packet reroute
f31f64b2d253 net/sched: fix NULL dereference in the error path of tcf_sample_init()
6b4a3d4e63f1 batman-adv: fix header size check in batadv_dbg_arp()
99ba9a972870 vlan: Fix out of order vlan headers with reorder header off
01a68a265ef5 net: Fix vlan untag for bridge and vlan_dev with reorder_hdr off
000fe789aa76 iwlwifi: mvm: fix error checking for multi/broadcast sta
ac2b8f5e361f iwlwifi: mvm: Correctly set IGTK for AP
85e5ae55652e iwlwifi: mvm: set the correct tid when we flush the MCAST sta
404cbeb36ef7 xfrm: fix rcu_read_unlock usage in xfrm_local_error
942138f356aa drm/nouveau/bl: fix backlight regression
872398068503 drm/imx: move arming of the vblank event to atomic_flush
418c85ea458a gpu: ipu-v3: prg: avoid possible array underflow
05c401183c2f KVM: arm/arm64: vgic: Add missing irq_lock to vgic_mmio_read_pending
6ef5b2e5241a sunvnet: does not support GSO for sctp
8387fbac8e18 ipv4: lock mtu in fnhe when received PMTU < net.ipv4.route.min_pmtu
7c84e5e9c62c workqueue: use put_device() instead of kfree()
845c2de95786 bnxt_en: Check valid VNIC ID in bnxt_hwrm_vnic_set_tpa().
27eebf0800cf can: m_can: select pinctrl state in each suspend/resume function
27fe367cdde0 can: m_can: change comparison to bitshift when dealing with a mask
533f5f847dfd netfilter: ebtables: fix erroneous reject of last rule
2299285fb181 dmaengine: mv_xor_v2: Fix clock resource by adding a register clock
e2d9442dfe84 lib/test_kmod.c: fix limit check on number of test devices created
21ccc62ec725 selftests/vm/run_vmtests: adjust hugetlb size according to nr_cpus
bad682e26d6a arm64: Relax ARM_SMCCC_ARCH_WORKAROUND_1 discovery
341029c2024b ARM: davinci: fix the GPIO lookup for omapl138-hawk
b7f1129a2c77 hv_netvsc: fix locking during VF setup
b37bc05f44c6 hv_netvsc: fix locking for rx_mode
9241c4f47205 hv_netvsc: fix filter flags
e7f2b054916f xen: xenbus: use put_device() instead of kfree()
9238d1fa3ee6 xen-blkfront: move negotiate_mq to cover all cases of new VBDs
b2709f786741 cxgb4: do not set needs_free_netdev for mgmt dev's
ba5b9b64e883 IB/core: Fix possible crash to access NULL netdev
7ae100c41393 net: smsc911x: Fix unload crash when link is up
a2b2d6ae5a3f net: qcom/emac: Use proper free methods during TX
c6ce72d59cab qed: Free RoCE ILT Memory on rmmod qedr
7538ab34136d fsl/fman: avoid sleeping in atomic context while adding an address
ccf92117d49d fbdev: Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper().
175e365a6662 IB/mlx5: Fix an error code in __mlx5_ib_modify_qp()
5759427a0ca8 IB/mlx4: Include GID type when deleting GIDs from HW table under RoCE
9636bbd409ba IB/mlx4: Fix corruption of RoCEv2 IPv4 GIDs
7b10604ddf51 RDMA/qedr: Fix iWARP write and send with immediate
40fe662649be RDMA/qedr: Fix kernel panic when running fio over NFSoRDMA
87bcb00aa934 ia64/err-inject: Use get_user_pages_fast()
d98ba4f4567d e1000e: allocate ring descriptors with dma_zalloc_coherent
d1355ae4c345 e1000e: Fix check_for_link return value with autoneg off
f766148e47d7 perf record: Fix crash in pipe mode
8997115bf791 ARM: dts: rockchip: Add missing #sound-dai-cells on rk3288
a0cc3c18d34c hv_netvsc: propagate rx filters to VF
ed85935eeafb hv_netvsc: filter multicast/broadcast
c039c53d1952 hv_netvsc: use napi_schedule_irqoff
5f8156fd34cf batman-adv: Fix multicast packet loss with a single WANT_ALL_IPV4/6 flag
73ecd80bca2b watchdog: sbsa: use 32-bit read for WCV
49995a2931bb watchdog: f71808e_wdt: Fix magic close handling
266675ab52db rds: Incorrect reference counting in TCP socket creation
2b6e7f2ff81a iwlwifi: mvm: Correctly set the tid for mcast queue
3f2eb4ded1ec iwlwifi: mvm: Direct multicast frames to the correct station
ef3dfb138159 iwlwifi: mvm: fix "failed to remove key" message
3a0bbca21ca5 iwlwifi: avoid collecting firmware dump if not loaded
233d80617248 iwlwifi: mvm: fix assert 0x2B00 on older FWs
6f970847f0e9 iwlwifi: mvm: Fix channel switch for count 0 and 1
d6bcdf0b14d8 iwlwifi: mvm: fix TX of CCMP 256
d9ed3aed6d83 net: ethtool: don't ignore return from driver get_fecparam method
f03cd5862f55 selftests/powerpc: Skip the subpage_prot tests if the syscall is unavailable
2b103dee283f nvme: pci: pass max vectors as num_possible_cpus() to pci_alloc_irq_vectors
d68e66060488 nvme-pci: Fix EEH failure on ppc
3c84b5aaf7a5 block: display the correct diskname for bio
07d3fb191b5a ceph: fix potential memory leak in init_caches()
010f5ccbf4c4 Btrfs: fix log replay failure after linking special file and fsync
9925eea3225e Btrfs: send, fix issuing write op when processing hole in no data mode
b114296692b0 btrfs: use kvzalloc to allocate btrfs_fs_info
acb162b9cdb6 drm/sun4i: Fix dclk_set_phase
cd2dee1ea6d5 arm64: dts: rockchip: Fix rk3399-gru-* s2r (pinctrl hogs, wifi reset)
5877f41cf8c8 xfrm: Fix ESN sequence number handling for IPsec GSO packets.
30310d407715 drm/amd/amdgpu: Correct VRAM width for APUs with GMC9
5b71573794b0 xen/pirq: fix error path cleanup when binding MSIs
62ee80d3b45b RDMA/bnxt_re: Fix the ib_reg failure cleanup
2bce0d98b9d9 RDMA/bnxt_re: Fix incorrect DB offset calculation
466199b440d9 RDMA/bnxt_re: Unconditionly fence non wire memory operations
b73bc820c4d1 IB/mlx: Set slid to zero in Ethernet completion struct
2a71d94e4f6b ipvs: remove IPS_NAT_MASK check to fix passive FTP
738310e1dbc9 ARC: setup cpu possible mask according to possible-cpus dts property
f7f78191c910 ARC: mcip: update MCIP debug mask when the new cpu came online
50de7f4347cf ARC: mcip: halt GFRC counter when ARC cores halt
e44fe4d2a81b spectrum: Reference count VLAN entries
5a8392f2dc13 mlxsw: spectrum: Treat IPv6 unregistered multicast as broadcast
47a8c89258e5 mlxsw: core: Fix flex keys scratchpad offset conflict
953a64ca3353 net/smc: use link_id of server in confirm link reply
e0a5a0f4749f nvmet: fix PSDT field check in command format
c6885fb45d4e net/tcp/illinois: replace broken algorithm reference link
bb19a6a9b598 gianfar: Fix Rx byte accounting for ndev stats
10c7390ee340 clocksource/drivers/mips-gic-timer: Use correct shift count to extract data
f97c2bf56bb7 powerpc/boot: Fix random libfdt related build errors
9bbedb9742f3 ARM: dts: bcm283x: Fix unit address of local_intc
c43ff936255b ARM: dts: NSP: Fix amount of RAM on BCM958625HR
615bf75c4690 nbd: fix return value in error handling path
d2e2e20bbdd3 sit: fix IFLA_MTU ignored on NEWLINK
2b0fbc2fcd2f ip6_tunnel: fix IFLA_MTU ignored on NEWLINK
29764acd50d3 ip_gre: fix IFLA_MTU ignored on NEWLINK
f07b6505f474 bcache: fix kcrashes with fio in RAID5 backend dev
421c15e803de dmaengine: rcar-dmac: fix max_chunk_size for R-Car Gen3
3c08f8140a9a virtio-gpu: fix ioctl and expose the fixed status to userspace.
8b156a0a49c9 r8152: fix tx packets accounting
9c3e4e41c206 selftests/futex: Fix line continuation in Makefile
784858e73805 qrtr: add MODULE_ALIAS macro to smd
0129ee813ef7 ARM: orion5x: Revert commit 4904dbda41c8.
3ecb681ccf6b xen/pvcalls: fix null pointer dereference on map->sock
6c88c93898ca ceph: fix dentry leak when failing to init debugfs
e080e814deb1 libceph, ceph: avoid memory leak when specifying same option several times
682def914242 clocksource/drivers/fsl_ftm_timer: Fix error return checking
44cb7ed6e5e2 nvme-pci: Fix nvme queue cleanup if IRQ setup fails
588078bb272e batman-adv: Fix netlink dumping of BLA backbones
f03c64fbdd9b batman-adv: Fix netlink dumping of BLA claims
f08cabec0696 batman-adv: Ignore invalid batadv_v_gw during netlink send
8b7e379faf15 batman-adv: Ignore invalid batadv_iv_gw during netlink send
dd20ff0d079d netfilter: ebtables: convert BUG_ONs to WARN_ONs
84fc57f472f9 netfilter: ipt_CLUSTERIP: put config instead of freeing it
596816fabe42 netfilter: ipt_CLUSTERIP: put config struct if we can't increment ct refcount
ff8c6751ecf3 batman-adv: invalidate checksum on fragment reassembly
ee7a88fc775e batman-adv: fix packet checksum in receive path
879a73b10a93 md/raid1: fix NULL pointer dereference
0a4c60471d13 md: fix a potential deadlock of raid5/raid10 reshape
2565b271aed0 fs: dcache: Use READ_ONCE when accessing i_dir_seq
3623c1f37efa fs: dcache: Avoid livelock between d_alloc_parallel and __d_add
ed49851ce15c ARM: dts: imx6dl: Include correct dtsi file for Engicam i.CoreM6 DualLite/Solo RQS
5f95541a0db5 kvm: fix warning for CONFIG_HAVE_KVM_EVENTFD builds
1fe15ab15935 KVM: nVMX: Don't halt vcpu when L1 is injecting events to L2
ce8bdc7aabf9 macvlan: fix use-after-free in macvlan_common_newlink()
a383f44e7a34 arm64: fix unwind_frame() for filtered out fn for function graph tracing
3d82155f8547 mac80211: drop frames with unexpected DS bits from fast-rx to slow path
dff5da4724bb x86/topology: Update the 'cpu cores' field in /proc/cpuinfo correctly across CPU hotplug operations
95e8297ab206 locking/xchg/alpha: Fix xchg() and cmpxchg() memory ordering bugs
4ba4273e7218 x86/intel_rdt: Fix incorrect returned value when creating rdgroup sub-directory in resctrl file system
09897fcbd42a integrity/security: fix digsig.c build error with header file
0b9f26e97f2b regulatory: add NUL to request alpha2
c254a86a333c smsc75xx: fix smsc75xx_set_features()
cc4a2d71cff3 ARM: OMAP: Fix dmtimer init for omap1
90c9ae5943c3 nfs: system crashes after NFS4ERR_MOVED recovery
4b0a3b9a511d arm64: dts: cavium: fix PCI bus dtc warnings
e47c1bf99a14 PKCS#7: fix direct verification of SignerInfo signature
a72612a1c39d selftests/bpf/test_maps: exit child process without error in ENOMEM case
dac5d3a100c6 s390/cio: clear timer when terminating driver I/O
c5b1b2e2185d s390/cio: fix return code after missing interrupt
5df337455c5a s390/cio: fix ccw_device_start_timeout API
aa6eeca7bcd7 powerpc/bpf/jit: Fix 32-bit JIT for seccomp_data access
e1bb3673ae9d soc: imx: gpc: de-register power domains only if initialized
e65cd9a20343 seccomp: add a selftest for get_metadata
32e139dfb684 selftests/memfd: add run_fuse_test.sh to TEST_FILES
305eb32d45f0 bug.h: work around GCC PR82365 in BUG()
14488f25339e kernel/relay.c: limit kmalloc size to KMALLOC_MAX_SIZE
cf15cd63000b virtio_net: fix XDP code path in receive_small()
0e498db68095 md: raid5: avoid string overflow warning
ca353544670d locking/xchg/alpha: Add unconditional memory barrier to cmpxchg()
badacb781dce net/mlx5e: Return error if prio is specified when offloading eswitch vlan push
2e9f41ace36b ibmvnic: Check for NULL skb's in NAPI poll routine
775cc792bb08 RDMA/bnxt_re: Fix system crash during load/unload
c0935f1ef990 RDMA/bnxt_re: Unpin SQ and RQ memory if QP create fails
c5c0632b9c7b arm64: perf: correct PMUVer probing
33b3f7b5af5d drm/meson: fix vsync buffer update
2c6a5cc09b46 drm/exynos: fix comparison to bitshift when dealing with a mask
3f925cc2d399 drm/exynos: g2d: use monotonic timestamps
c5db4c271ca5 md raid10: fix NULL deference in handle_write_completed()
3ed913b61e6a gpu: ipu-v3: prg: fix device node leak in ipu_prg_lookup_by_phandle
9ccb1d53c6ac gpu: ipu-v3: pre: fix device node leak in ipu_pre_lookup_by_phandle
8dcb7ddb2c83 mac80211: Fix sending ADDBA response for an ongoing session
707c81727baa mac80211: Do not disconnect on invalid operating class
f6bfc88f14cc cfg80211: clear wep keys after disconnection
a7f126b2e1ad mac80211: fix calling sleeping function in atomic context
99d4fe95e4f6 mac80211: fix a possible leak of station stats
f49e3a9acc52 mac80211: round IEEE80211_TX_STATUS_HEADROOM up to multiple of 4
020c32a91ee0 xfrm: do not call rcu_read_unlock when afinfo is NULL in xfrm_get_tos
d0d9330fa2a3 s390/dasd: fix handling of internal requests
e08f86697835 md: fix md_write_start() deadlock w/o metadata devices
ca4363bf7cb8 MD: Free bioset when md_run fails
f146c6e6506f rxrpc: Work around usercopy check
54881db3251a NFC: llcp: Limit size of SDP URI
e5ea0a89bf7b iwlwifi: mvm: always init rs with 20mhz bandwidth rates
6e752ba6436b iwlwifi: mvm: fix IBSS for devices that support station type API
8c1cc43e745d iwlwifi: mvm: fix security bug in PN checking
1510627c63b7 ARM: dts: rockchip: Fix DWMMC clocks
23b738ce746a arm64: dts: rockchip: Fix DWMMC clocks
357b528e6b70 IB/uverbs: Fix unbalanced unlock on error path for rdma_explicit_destroy
5b0622bfe637 IB/uverbs: Fix possible oops with duplicate ioctl attributes
cdd37f48d6a0 IB/uverbs: Fix method merging in uverbs_ioctl_merge
44ef222ad099 xhci: workaround for AMD Promontory disabled ports wakeup
94203f213c19 tls: retrun the correct IV in getsockopt
cec7d77a1db8 ibmvnic: Clean RX pool buffers during device close
322d7195572d ibmvnic: Free RX socket buffer in case of adapter error
4431066edd13 ibmvnic: Wait until reset is complete to set carrier on
ddca5c776fff ARM: OMAP1: clock: Fix debugfs_create_*() usage
d615dddc6e0c ARM: OMAP2+: Fix sar_base inititalization for HS omaps
c22e3886fc65 ARM: OMAP3: Fix prm wake interrupt for resume
7ffe100ce67c ARM: OMAP2+: timer: fix a kmemleak caused in omap_get_timer_dt
b2f5d98f3300 selftests: memfd: add config fragment for fuse
b9ddf39dd579 selftests: pstore: Adding config fragment CONFIG_PSTORE_RAM=m
a666ad4bbcfb selftest/vDSO: fix O=
198e26a0efef selftests: sync: missing CFLAGS while compiling
4adc95c5a020 libata: Fix compile warning with ATA_DEBUG enabled
afe088b034b4 arm64: dts: rockchip: correct ep-gpios for rk3399-sapphire
fa4cf9010ed6 arm64: dts: rockchip: fix rock64 gmac2io stability issues
6fc72fd1565b ptr_ring: prevent integer overflow when calculating size
052eb2d6dc61 ARC: Fix malformed ARC_EMUL_UNALIGNED default
0f097096b77a mac80211: mesh: fix wrong mesh TTL offset calculation
49e30752177f MIPS: generic: Fix machine compatible matching
3084902aa9fd powerpc/64s: Add support for a store forwarding barrier at kernel entry/exit
b90a6bddc8af powerpc/64s: Fix section mismatch warnings from setup_rfi_flush()
1618f211f96e powerpc/pseries: Restore default security feature flags on setup
f092a180128e powerpc: Move default security feature flags
a28ff26d5e44 powerpc/pseries: Fix clearing of security feature flags
046e9adae42a powerpc/64s: Wire up cpu_show_spectre_v2()
6e77feadbfbc powerpc/64s: Wire up cpu_show_spectre_v1()
7a62b0f64804 powerpc/pseries: Use the security flags in pseries_setup_rfi_flush()
3bf1695bbb24 powerpc/powernv: Use the security flags in pnv_setup_rfi_flush()
d71a3e0a2d0a powerpc/64s: Enhance the information in cpu_show_meltdown()
ae8afdf604d3 powerpc/64s: Move cpu_show_meltdown()
f2fdeebd8537 powerpc/powernv: Set or clear security feature flags
9ba774cc0f75 powerpc/pseries: Set or clear security feature flags
e2ba26dba530 powerpc: Add security feature flags for Spectre/Meltdown
4c5463a5a374 powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flags
d1cb5ff450d3 powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration
123f6d5ccaa2 powerpc/rfi-flush: Differentiate enabled and patched flush types
6af06dcdea08 powerpc/rfi-flush: Always enable fallback flush on pseries
d744f8457f2f powerpc/rfi-flush: Make it possible to call setup_rfi_flush() again
5412a9d91d65 powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs code
bf434b31bad6 powerpc/powernv: Support firmware disable of RFI flush
dff1a7e6c3ae powerpc/pseries: Support firmware disable of RFI flush
2245d95d9f7a powerpc/64s: Improve RFI L1-D cache flush fallback
421e1fadb0b0 x86/kvm: fix LAPIC timer drift when guest uses periodic mode
b3ce16455c4b kvm: x86: IA32_ARCH_CAPABILITIES is always supported
e765fd97e0c2 KVM: x86: Update cpuid properly when CR4.OSXAVE or CR4.PKE is changed
16c463a4ecfa KVM: s390: vsie: fix < 8k check for the itdba
9c5eee605677 KVM/VMX: Expose SSBD properly to guests
058dfcf9c24f kernel/sys.c: fix potential Spectre v1 issue
1da530fe155d kasan: fix memory hotplug during boot
b052960484fd kasan: free allocated shadow memory on MEM_CANCEL_ONLINE
9c7821c67a71 mm/kasan: don't vfree() nonexistent vm_area
afdc490b36b0 ipc/shm: fix shmat() nil address after round-down when remapping
67dd0bad8189 Revert "ipc/shm: Fix shmat mmap nil-page protection"
0472f94cef2e idr: fix invalid ptr dereference on item delete
2a039b93679f sr: pass down correctly sized SCSI sense buffer
a59bd819576d IB/umem: Use the correct mm during ib_umem_release
7a5b3b91f858 IB/hfi1: Use after free race condition in send context error path
df07f2718440 powerpc/64s: Clear PCR on boot
92169a015bdd arm64: lse: Add early clobbers to some input/output asm operands
760e4d7e89a5 drm/vmwgfx: Fix 32-bit VMW_PORT_HB_[IN|OUT] macros
a0f8cbce7b57 xen-swiotlb: fix the check condition for xen_swiotlb_free_coherent
4182f5a075f1 libata: blacklist Micron 500IT SSD with MU01 firmware
21712abb8ba2 libata: Blacklist some Sandisk SSDs for NCQ
f2a3c8bb4d10 mmc: sdhci-iproc: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for cygnus
4da8f20a992c mmc: sdhci-iproc: fix 32bit writes for TRANSFER_MODE register
ebedf0b29047 mmc: sdhci-iproc: remove hard coded mmc cap 1.8v
f440ea85d429 do d_instantiate/unlock_new_inode combinations safely
ba3fbb7afde9 ALSA: timer: Fix pause event notification
fbcede36bbfd aio: fix io_destroy(2) vs. lookup_ioctx() race
b9659ff375cb fs: don't scan the inode cache before SB_BORN is set
1e5edf32e44d affs_lookup(): close a race with affs_remove_link()
2871a701329c KVM: Fix spelling mistake: "cop_unsuable" -> "cop_unusable"
bba75a0ccdb5 MIPS: Fix ptrace(2) PTRACE_PEEKUSR and PTRACE_POKEUSR accesses to o32 FGRs
769fc447cced MIPS: ptrace: Expose FIR register through FP regset
368b70857dd7 MIPS: c-r4k: Fix data corruption related to cache coherence
102b97d6241d Linux 4.14.44
6b73dfbd3cfc rtc: goldfish: Add missing MODULE_LICENSE
6f34e436509e rtc: rp5c01: fix possible race condition
78227b671e0d rtc: tx4939: avoid unintended sign extension on a 24 bit shift
459aa4904ab2 rtc: m41t80: fix race conditions
6266010c3895 rtc: rk808: fix possible race condition
6c1c17116484 rtc: hctosys: Ensure system time doesn't overflow time_t
731d965a587c rtc: snvs: Fix usage of snvs_rtc_enable
8293e6238e03 serial: altera: ensure port->regshift is honored consistently
e10bbc220e1a serial: 8250: Don't service RX FIFO if interrupts are disabled
1c447ea13703 serial: arc_uart: Fix out-of-bounds access through DT alias
db69a1a58844 serial: fsl_lpuart: Fix out-of-bounds access through DT alias
24182ff06635 serial: imx: Fix out-of-bounds access through serial port index
5f53807e751e serial: mxs-auart: Fix out-of-bounds access through serial port index
491e61fe3c53 serial: samsung: Fix out-of-bounds access through serial port index
eb81dd52b425 serial: sh-sci: Fix out-of-bounds access through DT alias
d1e7f966521d serial: xuartps: Fix out-of-bounds access through DT alias
604e648e8bf0 media: cx25821: prevent out-of-bounds read on array card
9b7c44c43946 media: vivid: fix incorrect capabilities for radio
8cfcd5bbb723 media: vb2: Fix videobuf2 to map correct area
81173a58638f media: i2c: adv748x: fix HDMI field heights
93c72937a26b media: v4l: vsp1: Fix display stalls when requesting too many inputs
d600eadf7d80 media: em28xx: Add Hauppauge SoloHD/DualHD bulk models
d62c8d80f84f media: lgdt3306a: Fix a double kfree on i2c device remove
53ba3526baad media: s3c-camif: fix out-of-bounds array access
5ebcb4612748 media: cx23885: Set subdev host data to clk_freq pointer
24858b9c030a media: cx23885: Override 888 ImpactVCBe crystal frequency
1c94830eeea5 media: ov5645: add missing of_node_put() in error path
cc4b4af51c13 media: Don't let tvp5150_get_vbi() go out of vbi_ram_default array
07999bccf2e0 media: dmxdev: fix error code for invalid ioctls
7bc147610d1e clk: samsung: exynos3250: Fix PLL rates
3fabe01cdf75 clk: samsung: exynos5250: Fix PLL rates
90e14be44331 clk: samsung: exynos5433: Fix PLL rates
256499854098 clk: samsung: exynos5260: Fix PLL rates
8f4eef93e1ab clk: samsung: exynos7: Fix PLL rates
264530c6ad12 clk: samsung: s3c2410: Fix PLL rates
573dda18a809 clk: rockchip: Prevent calculating mmc phase if clock rate is zero
04adc8209a9a clk: tegra: Fix pll_u rate configuration
99f29b5c1cc4 clk: hisilicon: mark wdt_mux_p[] as const
2dc1d1a8715e clk: Don't show the incorrect clock phase
a225a3ba3213 clk: rockchip: Fix wrong parent for SDMMC phase clock for rk3228
9311d0b6b466 ASoC: samsung: i2s: Ensure the RCLK rate is properly determined
27cbb1df79c5 ASoC: topology: create TLV data for dapm widgets
fbeec965b8d1 ASoC: samsung: odroid: Fix 32000 sample rate handling
b3bbda7bad73 ASoC: rockchip: rk3288-hdmi-analog: Select needed codecs
98ffb5cf47e4 ASoC: hdmi-codec: Fix module unloading caused kernel crash
48e835f89769 scsi: lpfc: Fix frequency of Release WQE CQEs
8fd4131a9fcc scsi: lpfc: Fix soft lockup in lpfc worker thread during LIP testing
d5d331cdfcb2 scsi: lpfc: Fix issue_lip if link is disabled
a9bcbce385ed scsi: mvsas: fix wrong endianness of sgpio api
5e315f31faef scsi: core: Make SCSI Status CONDITION MET equivalent to GOOD
3de235c7753b scsi: aacraid: Insure command thread is not recursively stopped
10859964e0e1 scsi: iscsi_tcp: set BDI_CAP_STABLE_WRITES when data digest enabled
b1a706fdb5a8 scsi: sd: Keep disk read-only when re-reading partition
2bb6b7decff0 scsi: mpt3sas: Do not mark fw_event workqueue as WQ_MEM_RECLAIM
fbc801716092 scsi: qedi: Fix kernel crash during port toggle
dc6cb0cb91d5 scsi: qla4xxx: skip error recovery in case of register disconnect.
b24fd4cd9491 scsi: aacraid: fix shutdown crash when init fails
942cb7bd774a scsi: qedi: Fix truncation of CHAP name and secret
a9eb1e1031a0 scsi: storvsc: Increase cmd_per_lun for higher speed devices
1ad71103e12e scsi: qla2xxx: Avoid triggering undefined behavior in qla2x00_mbx_completion()
62d16de3109f scsi: mptfusion: Add bounds check in mptctl_hp_targetinfo()
0bf213d90bb2 scsi: sym53c8xx_2: iterator underflow in sym_getsync()
a1ac3da8431a scsi: bnx2fc: Fix check in SCSI completion handler for timed out request
af9930622461 scsi: ufs: Enable quirk to ignore sending WRITE_SAME command
b0ef004e86cf scsi: qla2xxx: Fix memory corruption during hba reset test
59ad4bb71714 scsi: mpt3sas: fix an out of bound write
2b2a92910c19 crypto: inside-secure - fix the invalidation step during cra_exit
c787fb6bdac2 crypto: sunxi-ss - Add MODULE_ALIAS to sun4i-ss
d03a0a61dc82 crypto: inside-secure - fix the extra cache computation
6df26587d22d crypto: inside-secure - fix the cache_len computation
a04b30fd74a1 crypto: inside-secure - do not process request if no command was issued
41b6f0ffb3ac crypto: ccp - don't disable interrupts while setting up debugfs
223ba92a8059 crypto: atmel-aes - fix the keys zeroing on errors
173c55493b81 crypto: inside-secure - wait for the request to complete if in the backlog
43624647a97c staging: lustre: lmv: correctly iput lmo_root
281bb7920cc0 staging: ks7010: Use constants from ieee80211_eid instead of literal ints.
d5ae597ed13d staging: rtl8192u: return -ENOMEM on failed allocation of priv->oldaddr
20b9506df1b4 staging: fsl-dpaa2/eth: Fix incorrect casts
ff8eb22e5bb8 staging: lustre: fix bug in osc_enter_cache_try
bf30d26981a8 staging: bcm2835-audio: Release resources on module_exit()
0fe68f20e09f xhci: Show what USB release number the xHC supports from protocol capablity
0249054e4bfd Bluetooth: btusb: Add device ID for RTL8822BE
e4504b80e012 media: em28xx: USB bulk packet size fix
f5f6bff50f36 media: lgdt3306a: Fix module count mismatch on usb unplug
f3f3442027b5 usb: gadget: composite: fix incorrect handling of OS desc requests
9170c1411eca usb: gadget: udc: change comparison to bitshift when dealing with a mask
b80114337d31 usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS
dd5541c7a60d usb: gadget: ffs: Execute copy_to_user() with USER_DS set
7f48c9ddca72 usb: gadget: ffs: Let setup() return USB_GADGET_DELAYED_STATUS
11cb14a19679 usb: dwc2: host: Fix transaction errors in host mode
51250a9357d8 usb: dwc2: hcd: Fix host channel halt flow
db81323e6a5d usb: dwc2: Fix interval type issue
39280c27031b xhci: zero usb device slot_id member when disabling and freeing a xhci slot
55aaef4bd8a0 usb: dwc3: Makefile: fix link error on randconfig
834329c4ad4c usb: dwc3: Update DWC_usb31 GTXFIFOSIZ reg fields
7fb2d2f1b04d usb: dwc3: Add SoftReset PHY synchonization delay
81ba08e69fe2 ALSA: usb-audio: Add native DSD support for Luxman DA-06
d711223606e8 Bluetooth: btusb: Add USB ID 7392:a611 for Edimax EW-7611ULB
89509cdb713f net-usb: add qmi_wwan if on lte modem wistron neweb d18q1
58249157c6ad net/usb/qmi_wwan.c: Add USB id for lt4120 modem
ce04fbcdb39a USB: OHCI: Fix NULL dereference in HCDs using HCD_LOCAL_MEM
e5c8a6d499a1 usb: host: xhci-plat: revert "usb: host: xhci-plat: enable clk in resume timing"
38ed02d85840 ARM: dts: imx7d-sdb: Fix regulator-usb-otg2-vbus node name
5788084ba3cd net: usbnet: fix potential deadlock on 32bit hosts
f7b3f33c79b7 usb: cdc_acm: prevent race at write to acm while system resumes
ee4ed01d4b5c usb: dwc2: Fix dwc2_hsotg_core_init_disconnected()
a3fcccd4a7ef usb: gadget: fsl_udc_core: fix ep valid checks
36d66139a351 usb: gadget: core: Fix use-after-free of usb_request
aefc5ce2342a usb: dwc3: omap: don't miss events during suspend/resume
e8f101ec20c0 usb: dwc3: Undo PHY init if soft reset fails
0cc948e8ddb5 usb: gadget: f_uac2: fix bFirstInterface in composite gadget
0ff6b2cac941 x86/kexec: Avoid double free_page() upon do_kexec_load() failure
f119414a8f8d hfsplus: stop workqueue when fill_super() failed
9f2c35864ad6 cfg80211: limit wiphy names to 128 bytes
360964411d57 loop: fix LOOP_GET_STATUS lock imbalance
c18270ac9f84 loop: don't call into filesystem while holding lo_ctl_mutex
3c017b9fede9 scsi: zfcp: fix infinite iteration on ERP ready list
d827bea2d18c scsi: sg: allocate with __GFP_ZERO in sg_build_indirect()
58442874542f scsi: libsas: defer ata device eh commands to libata
c1a35f5ddf36 s390: use expoline thunks in the BPF JIT
457b944b61e6 s390: extend expoline to BC instructions
a206c82f9bc9 s390: move spectre sysfs attribute code
2a146a9b3240 s390/kernel: use expoline for indirect branches
f1bd3b99607b s390/ftrace: use expoline for indirect branches
0d201ff077a8 s390/lib: use expoline for indirect branches
d7aa3f13e146 s390/crc32-vx: use expoline for indirect branches
e3ad546e6094 s390: move expoline assembler macros to a header
9a38169fb602 s390: add assembler macros for CPU alternatives
131ff238b859 ext2: fix a block leak
ea5ffcd46716 sparc: vio: use put_device() instead of kfree()
c98b38c5ede4 hv_netvsc: Fix net device attach on older Windows hosts
c7da51021c8d hv_netvsc: Ensure correct teardown message sequence order
c5345b11680f hv_netvsc: Split netvsc_revoke_buf() and netvsc_teardown_gpadl()
d8c3e04d3913 hv_netvsc: Use Windows version instead of NVSP version on GPAD teardown
be9c798d0d13 hv_netvsc: common detach logic
905f85c289d7 hv_netvsc: change GPAD teardown order on older versions
9c6439c7b168 hv_netvsc: use RCU to fix concurrent rx and queue changes
1f3ef8a7a3c6 hv_netvsc: disable NAPI before channel close
f9aab25e3326 hv_netvsc: defer queue selection to VF
0ac663c5674a hv_netvsc: fix race in napi poll when rescheduling
99e06589bd5d hv_netvsc: cancel subchannel setup before halting device
0ed8945b3aa6 hv_netvsc: fix error unwind handling if vmbus_open fails
4857dca4dd65 hv_netvsc: only wake transmit queue if link is up
0395570f81fe hv_netvsc: avoid retry on send during shutdown
36a9609cef4a hv_netvsc: Use the num_online_cpus() for channel limit
4c5fef778957 hv_netvsc: empty current transmit aggregation if flow blocked
41f24dbef177 hv_netvsc: preserve hw_features on mtu/channels/ringparam changes
284a58c02eeb hv_netvsc: netvsc_teardown_gpadl() split
6296e73e459d hv_netvsc: Set tx_table to equal weight after subchannels open
ef1c5903cd2a hv_netvsc: Add initialization of tx_table in netvsc_device_add()
b3a303352e51 hv_netvsc: Rename tx_send_table to tx_table
5acc4d1e8fe2 hv_netvsc: Rename ind_table to rx_table
836f8472f1bd hv_netvsc: Fix the real number of queues of non-vRSS cases
099612827aa3 vmxnet3: use DMA memory barriers where required
74327eda43d0 vmxnet3: set the DMA mask before the first DMA map operation
c89d534301a0 tcp: purge write queue in tcp_connect_init()
edabcd0f12ae sock_diag: fix use-after-free read in __sk_free
01a658c1b9d4 packet: in packet_snd start writing at link layer allocation
c02756173e65 net: test tailroom before appending to linear skb
2cedbdda01fe net/smc: check for missing nlattrs in SMC_PNETID messages
8ffa5f978394 net: sched: red: avoid hashing NULL child
53b2dbbee18d net/sched: fix refcnt leak in the error path of tcf_vlan_init()
5ff45c86e90a net/mlx4_core: Fix error handling in mlx4_init_port_info.
047df46d6cef net: Fix a bug in removing queues from XPS map
1dff08485b9e Linux 4.14.43
92a3c944d6d5 x86/bugs: Rename SSBD_NO to SSB_NO
e8837f0a000f KVM: SVM: Implement VIRT_SPEC_CTRL support for SSBD
3f44c1a3c293 x86/speculation, KVM: Implement support for VIRT_SPEC_CTRL/LS_CFG
71179d5dcbb9 x86/bugs: Rework spec_ctrl base and mask logic
d13f068b94a1 x86/bugs: Remove x86_spec_ctrl_set()
987f49474b06 x86/bugs: Expose x86_spec_ctrl_base directly
6befd3a735e0 x86/bugs: Unify x86_spec_ctrl_{set_guest,restore_host}
3e6ab4ca1345 x86/speculation: Rework speculative_store_bypass_update()
8e1c285a050c x86/speculation: Add virtualized speculative store bypass disable support
72f46c229ac2 x86/bugs, KVM: Extend speculation control for VIRT_SPEC_CTRL
b213ab46cde4 x86/speculation: Handle HT correctly on AMD
7f1efb5e74e3 x86/cpufeatures: Add FEATURE_ZEN
bbc0d1c33566 x86/cpufeatures: Disentangle SSBD enumeration
8e0836d1413b x86/cpufeatures: Disentangle MSR_SPEC_CTRL enumeration from IBRS
b1d1984f3898 x86/speculation: Use synthetic bits for IBRS/IBPB/STIBP
b1a6028c2374 KVM: SVM: Move spec control call after restore of GS
bd2059282934 x86/cpu: Make alternative_msr_write work for 32-bit code
5a53a5fefb73 x86/bugs: Fix the parameters alignment and missing void
f69c4dd36766 x86/bugs: Make cpu_show_common() static
4fbc01632e77 x86/bugs: Fix __ssb_select_mitigation() return type
8dc742f930cc Documentation/spec_ctrl: Do some minor cleanups
43c47eb2a274 proc: Use underscores for SSBD in 'status'
89ba80e61a39 x86/bugs: Rename _RDS to _SSBD
0f18f44ce076 x86/speculation: Make "seccomp" the default mode for Speculative Store Bypass
61dfdc12ff35 seccomp: Move speculation migitation control to arch code
9939db75cd5b seccomp: Add filter flag to opt-out of SSB mitigation
d829fcceb8f5 seccomp: Use PR_SPEC_FORCE_DISABLE
20d036a2e223 prctl: Add force disable speculation
c024722ffecd x86/bugs: Make boot modes __ro_after_init
87895ae1e9b2 seccomp: Enable speculation flaw mitigations
dd88d569eeff proc: Provide details on speculation flaw mitigations
7d1254a1489c nospec: Allow getting/setting on non-current task
d8553911627a x86/speculation: Add prctl for Speculative Store Bypass mitigation
704609d39680 x86/process: Allow runtime control of Speculative Store Bypass
33f6a06810cb prctl: Add speculation control prctls
81c3c2b5917a x86/speculation: Create spec-ctrl.h to avoid include hell
97224b3da698 x86/KVM/VMX: Expose SPEC_CTRL Bit(2) to the guest
716bfae3b3f4 x86/bugs/AMD: Add support to disable RDS on Fam[15,16,17]h if requested
fa2f1c65246d x86/bugs: Whitelist allowed SPEC_CTRL MSR values
128e69909f7c x86/bugs/intel: Set proper CPU features and setup RDS
65f747a6b108 x86/bugs: Provide boot parameters for the spec_store_bypass_disable mitigation
832b579e1e83 x86/cpufeatures: Add X86_FEATURE_RDS
c6dc89dd04e3 x86/bugs: Expose /sys/../spec_store_bypass
94ae9d262843 x86/bugs, KVM: Support the combination of guest and host IBRS
7c9b4959cda4 x86/bugs: Read SPEC_CTRL MSR during boot and re-use reserved bits
3ce1634f6165 x86/bugs: Concentrate bug reporting into a separate function
69dc73805969 x86/bugs: Concentrate bug detection into a separate function
8410540f5aaf x86/nospec: Simplify alternative_msr_write()
671c9a69f426 btrfs: fix reading stale metadata blocks after degraded raid1 mounts
7ea5cff55c45 btrfs: Fix delalloc inodes invalidation during transaction abort
0d670384af3c btrfs: Split btrfs_del_delalloc_inode into 2 functions
1d16f615bb7d btrfs: fix crash when trying to resume balance without the resume flag
f9b02febeabf btrfs: property: Set incompat flag if lzo/zstd compression is set
de1f96cc4a30 Btrfs: send, fix invalid access to commit roots due to concurrent snapshotting
59bbb5ca4d95 Btrfs: fix xattr loss after power failure
ca477b42aeaa ARM: 8772/1: kprobes: Prohibit kprobes on get_user functions
bd4aeb75dab5 ARM: 8770/1: kprobes: Prohibit probing on optimized_callback
14b4cfb5ab54 ARM: 8769/1: kprobes: Fix to use get_kprobe_ctlblk after irq-disabed
6986750cb57c tick/broadcast: Use for_each_cpu() specially on UP kernels
a697b90ef09e x86/mm: Drop TS_COMPAT on 64-bit exec() syscall
5f3ca3928e08 ARM: 8771/1: kprobes: Prohibit kprobes on do_undefinstr
e5cefe3570a0 efi: Avoid potential crashes, fix the 'struct efi_pci_io_protocol_32' definition for mixed mode
83a39c0e4adb x86/pkeys: Do not special case protection key 0
359b8ff3281c x86/pkeys: Override pkey when moving away from PROT_EXEC
a6565fdd90cb s390: remove indirect branch from do_softirq_own_stack
ce2e68b3c260 s390/qdio: don't release memory in qdio_setup_irq()
56130d932232 s390/cpum_sf: ensure sample frequency of perf event attributes is non-zero
c568bdf37b6e s390/qdio: fix access to uninitialized qdio_q fields
e2266ea100ea drm/i915/gen9: Add WaClearHIZ_WM_CHICKEN3 for bxt and glk
fc170bda2283 mm: don't allow deferred pages with NEED_PER_CPU_KM
572e2385ae35 radix tree: fix multi-order iteration race
f6c0f020ee5b lib/test_bitmap.c: fix bitmap optimisation tests to report errors correctly
5b86f020a789 drm: Match sysfs name in link removal to link creation
094595ce5701 powerpc/powernv: Fix NVRAM sleep in invalid context when crashing
f4f05f62d3d1 i2c: designware: fix poll-after-enable regression
f9882808e355 netfilter: nf_socket: Fix out of bounds access in nf_sk_lookup_slow_v{4,6}
d233f8d5bdd3 netfilter: nf_tables: can't fail after linking rule into active rule list
321bc88ec098 netfilter: nf_tables: free set name in error path
bca7faea5410 tee: shm: fix use-after-free via temporarily dropped reference
9a19a93bddb3 tracing/x86/xen: Remove zero data size trace events trace_xen_mmu_flush_tlb{_all}
d2dee2253be8 vfio: ccw: fix cleanup if cp_prefetch fails
92ce74164efa powerpc: Don't preempt_disable() in show_cpuinfo()
27ea98a4c50c KVM: arm/arm64: VGIC/ITS: protect kvm_read_guest() calls with SRCU lock
b6f6d8bfe779 KVM: arm/arm64: VGIC/ITS save/restore: protect kvm_read_guest() calls
b7f0fc1f0615 spi: bcm-qspi: Always read and set BSPI_MAST_N_BOOT_CTRL
d18c3d2304de spi: bcm-qspi: Avoid setting MSPI_CDRAM_PCS for spi-nor master
45804b0e3cb3 spi: pxa2xx: Allow 64-bit DMA
50c0e85887bf ALSA: control: fix a redundant-copy issue
6283fcc9b93a ALSA: hda: Add Lenovo C50 All in one to the power_save blacklist
13fe9058ed09 ALSA: usb: mixer: volume quirk for CM102-A+/102S+
e842726eccf3 usbip: usbip_host: fix bad unlock balance during stub_probe()
ec0c93951ecb usbip: usbip_host: fix NULL-ptr deref and use-after-free errors
5cd4dd77782e usbip: usbip_host: run rebind from exit when module is removed
cf3bcc3231ad usbip: usbip_host: delete device from busid_table after rebind
a3d5f6ecba99 usbip: usbip_host: refine probe and disconnect debug msgs to be useful
d88700f79448 Linux 4.14.42
5c9a9508de30 proc: do not access cmdline nor environ from file-backed areas
7a4eda600d77 l2tp: revert "l2tp: fix missing print session offset info"
036bbd584b0b xfrm: fix xfrm_do_migrate() with AEAD e.g(AES-GCM)
b0e5b437ecfd btrfs: Take trans lock before access running trans in check_delayed_ref
d2d85f8d2249 xfrm: Use __skb_queue_tail in xfrm_trans_queue
73cda9030380 scsi: aacraid: Correct hba_send to include iu_type
59afc1841b70 udp: fix SO_BINDTODEVICE
8151fe6861a0 nsh: fix infinite loop
66fefcabae5e net/mlx5e: Allow offloading ipv4 header re-write for icmp
cb9e5a0817f4 ipv6: fix uninit-value in ip6_multipath_l3_keys()
19bf346ca705 hv_netvsc: set master device
6ecec17f71f5 net/mlx5: Avoid cleaning flow steering table twice during error flow
eac1ab609be0 net/mlx5e: TX, Use correct counter in dma_map error flow
b047794cc36c net: sched: fix error path in tcf_proto_create() when modules are not configured
f6294114ade4 bonding: send learning packets for vlans on slave
2eca993ddc83 bonding: do not allow rlb updates to invalid mac
f754c9c88045 tg3: Fix vunmap() BUG_ON() triggered from tg3_free_consistent().
413d2627692d tcp: ignore Fast Open on repair mode
3cfe95a0eb02 tcp_bbr: fix to zero idle_restart only upon S/ACKed data
bf2f3bae31a2 sctp: use the old asoc when making the cookie-ack chunk in dupcook_d
4dce9afc2d35 sctp: remove sctp_chunk_put from fail_mark err path in sctp_ulpevent_make_rcvmsg
d3d4d69d9bbd sctp: handle two v4 addrs comparison in sctp_inet6_cmp_addr
f6c962d27d1a sctp: fix the issue that the cookie-ack with auth can't get processed
3b54f1fd8770 sctp: delay the authentication for the duplicated cookie-echo chunk
30ffa967adc3 rds: do not leak kernel memory to user land
2753ebb4e96c r8169: fix powering up RTL8168h
2bb66a711cc8 qmi_wwan: do not steal interfaces from class drivers
c1ce5f359066 openvswitch: Don't swap table in nlattr_set() after OVS_ATTR_NESTED is found
8e1b8e327903 net/tls: Fix connection stall on partial tls record
3ac0f3e0b823 net/tls: Don't recursively call push_record during tls_write_space callbacks
78ac65e8e940 net: support compat 64-bit time in {s,g}etsockopt
b2a4d52fae0d net_sched: fq: take care of throttled flows before reuse
6a5b0444e703 net sched actions: fix refcnt leak in skbmod
1abd8c5fea11 net/mlx5: E-Switch, Include VF RDMA stats in vport statistics
57e0a9f2174e net/mlx5e: Err if asked to offload TC match on frag being first
edc0c15f6f61 net/mlx4_en: Verify coalescing parameters are in range
2213a18303a2 net/mlx4_en: Fix an error handling path in 'mlx4_en_init_netdev()'
6b10014800ce net: ethernet: ti: cpsw: fix packet leaking in dual_mac mode
1029fb466b44 net: ethernet: sun: niu set correct packet size in skb
1e22ffab52c0 llc: better deal with too small mtu
a7aea8e27359 ipv4: fix memory leaks in udp_sendmsg, ping_v4_sendmsg
c751af522989 ipv4: fix fnhe usage by non-cached routes
91c2d70192c7 dccp: fix tasklet usage
2c13a91e0fc5 bridge: check iface upper dev when setting master via ioctl
ece94a76618e 8139too: Use disable_irq_nosync() in rtl8139_poll_controller()
3f07ecbec151 Linux 4.14.41
e8bbbd11e637 KVM: x86: remove APIC Timer periodic/oneshot spikes
5138dd0db530 KVM: PPC: Book3S HV: Fix handling of large pages in radix page fault handler
82e91e07e654 perf/x86: Fix possible Spectre-v1 indexing for x86_pmu::event_map()
7093d5d0caa7 perf/core: Fix possible Spectre-v1 indexing for ->aux_pages[]
6467123872a1 perf/x86/msr: Fix possible Spectre-v1 indexing in the MSR driver
4e4bb64df800 perf/x86/cstate: Fix possible Spectre-v1 indexing for pkg_msr
df2c71fb5c04 perf/x86: Fix possible Spectre-v1 indexing for hw_perf_event cache_*
bd05324cdd3a tracing/uprobe_event: Fix strncpy corner case
bb0b090d836a sched/autogroup: Fix possible Spectre-v1 indexing for sched_prio_to_weight[]
f2a42c6bca67 smb3: directory sync should not return an error
57e2ce8bbace nvme: add quirk to force medium priority for SQ creation
db433f83a81f thermal: exynos: Propagate error value from tmu_read()
33df2f8a8c87 thermal: exynos: Reading temperature makes sense only when TMU is turned on
4aa9ef8a29ad Bluetooth: btusb: Only check needs_reset_resume DMI table for QCA rome chipsets
4fcd0333b21e Bluetooth: btusb: Add Dell XPS 13 9360 to btusb_needs_reset_resume_table
9ddc1d27a913 Revert "Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174"
99e9acc27033 cpufreq: schedutil: Avoid using invalid next_freq
64a03d3b240f PCI / PM: Check device_may_wakeup() in pci_enable_wake()
89d5c4eb8105 PCI / PM: Always check PME wakeup capability for runtime wakeup support
e2023117b877 atm: zatm: Fix potential Spectre v1
cc21a603273c net: atm: Fix potential Spectre v1
87aa17ca56b9 drm/atomic: Clean private obj old_state/new_state in drm_atomic_state_default_clear()
969d4595f4a8 drm/atomic: Clean old_state/new_state in drm_atomic_state_default_clear()
34a21b17abd6 drm/nouveau: Fix deadlock in nv50_mstm_register_connector()
b2e01797216d drm/i915: Fix drm:intel_enable_lvds ERROR message in kernel log
2b2b00374a54 drm/vc4: Fix scaling of uni-planar formats
d2901e247b10 can: hi311x: Work around TX complete interrupt erratum
ad25cf42f4c7 can: hi311x: Acquire SPI lock on ->do_get_berr_counter
d0ca84d74f9f can: kvaser_usb: Increase correct stats counter in kvaser_usb_rx_can_msg()
4636b4e25112 ceph: fix rsize/wsize capping in ceph_direct_read_write()
2270dfcc4b12 mm, oom: fix concurrent munlock and oom reaper unmap, v3
8ee7dabb311d mm: sections are not offlined during memory hotremove
21fb6d8bc504 z3fold: fix reclaim lock-ups
899997129276 tracing: Fix regex_match_front() to not over compare the test string
586d02c1479f dm integrity: use kvfree for kvmalloc'd memory
3b93fff8f452 libata: Apply NOLPM quirk for SanDisk SD7UB3Q*G1001 SSDs
d1d5c31fc3a5 rfkill: gpio: fix memory leak in probe error path
a7ea57b025b1 gpio: fix error path in lineevent_create
28534d29479d gpio: fix aspeed_gpio unmask irq
0f40bb84e25e gpioib: do not free unrequested descriptors
ef7c4825fe5f compat: fix 4-byte infoleak via uninitialized struct field
50ed0188af8d arm64: Add work around for Arm Cortex-A55 Erratum 1024718
ca0ecba3ddf3 KVM: PPC: Book3S HV: Fix VRMA initialization with 2MB or 1GB memory backing
f768d0f981e6 KVM: PPC: Book3S HV: Fix guest time accounting with VIRT_CPU_ACCOUNTING_GEN
c51eb7379dfa KVM: PPC: Book3S HV: Fix trap number return from __kvmppc_vcore_entry
683b4520d07e bdi: Fix oops in wb_workfn()
6b5a99167a79 bdi: wake up concurrent wb_shutdown() callers.
8c12bd91b597 tcp: fix TCP_REPAIR_QUEUE bound checking
108cd022c59b perf: Remove superfluous allocation error check
17ffa29c3556 memcg: fix per_node_info cleanup
ac91ff2a5f12 inetpeer: fix uninit-value in inet_getpeer
566804864cd9 soreuseport: initialise timewait reuseport field
154ff3e04015 ipv4: fix uninit-value in ip_route_output_key_hash_rcu()
09e45996b3e7 dccp: initialize ireq->ir_mark
f9327803193a net: fix uninit-value in __hw_addr_add_ex()
5652aed1de29 net: initialize skb->peeked when cloning
ced9763b911d net: fix rtnh_ok()
bf2ecb934603 netlink: fix uninit-value in netlink_sendmsg
1b6d0db7ed22 crypto: af_alg - fix possible uninit-value in alg_bind()
19042316b9e1 kcm: Call strp_stop before strp_done in kcm_attach
725f5ae1a695 netfilter: ebtables: don't attempt to allocate 0-sized compat array
88c43b469db5 ipvs: fix rtnl_lock lockups caused by start_sync_thread
(From OE-Core rev: 625ab268d598b13b822ffc1cabb6d3452068b29a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a fragment to the various kernels to support QA testing
of samples.
(From OE-Core rev: 98f78e3e3d65085c000bdfcf890ea498520c0075)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kern-tools commit:
tools/merge_config.sh: add CR after each fragment
If a fragment file doesn't contain a CR at the end, two config
options may be merged on the same line in the result file, leading to
misconfiguration.
This patch adds a CR after each fragment to ensure that config
options are well separated in the result file.
Bug-AGL: SPEC-1475
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: c36727f2cad6c2d51aff8da6e2acd5642afe9848)
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.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)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 6e36719fbe9 [crypto: aes-generic - fix aes-generic regression on
powerpc] addresses a build regression by 4.14-stable. So we cherry pick
it onto our branches while it works through the -stable process.
(From OE-Core rev: 01a4a4e24a2b61229be32f8852b2d5bc28c5689c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating v4.15 to the final korg -stable for the v4.15 series. It comprises
the following commits:
a8ec862fd39d Linux 4.15.18
c4f45cf301e6 ovl: set lower layer st_dev only if setting lower st_ino
9def916c750d rtl8187: Fix NULL pointer dereference in priv->conf_mutex
7a2a6d71eed4 Bluetooth: hci_bcm: Treat Interrupt ACPI resources as always being active-low
154b354f3171 Bluetooth: Fix connection if directed advertising and privacy is used
4eb2f39266ac getname_kernel() needs to make sure that ->name != ->iname in long case
84f086ee4e6a mm/gup_benchmark: handle gup failures
7e255357ef66 get_user_pages_fast(): return -EFAULT on access_ok failure
4d03a2e6b9b6 s390/compat: fix setup_frame32
e025da42c8e6 s390/ipl: ensure loadparm valid flag is set
0d4e77fe0659 s390/qdio: don't merge ERROR output buffers
f3eae28761c3 s390/qdio: don't retry EQBS after CCQ 96
4f2217cbe648 nfit: fix region registration vs block-data-window ranges
3adc135469c8 block/loop: fix deadlock after loop_set_status
9d8a3dc99219 apparmor: fix resource audit messages when auditing peer
93d36bc65698 apparmor: fix display of .ns_name for containers
5f7dc7d33ed3 apparmor: fix logging of the existence test for signals
b88779931388 scsi: qla2xxx: Fix small memory leak in qla2x00_probe_one on probe failure
e4e64ce3fbc4 nfsd: fix incorrect umasks
f6b213293ed9 hugetlbfs: fix bug in pgoff overflow checking
004f2df3ae48 xen: xenbus_dev_frontend: Fix XS_TRANSACTION_END handling
ff37d99aebb3 ovl: fix lookup with middle layer opaque dir and absolute path redirects
645840a17612 blk-mq: don't keep offline CPUs mapped to hctx 0
01e12511b9e9 blk-mq: order getting budget and driver tag
3e0b25015e05 lib: fix stall in __bitmap_parselist()
a8ce442c67ff nvme: Skip checking heads without namespaces
c5f1f15ab5f1 block: Change a rcu_read_{lock,unlock}_sched() pair into rcu_read_{lock,unlock}()
54e869fce691 f2fs: fix heap mode to reset it back
418a68e55acb sunrpc: remove incorrect HMAC request initialization
1ff02d3465dc x86/apic: Fix signedness bug in APIC ID validity checks
84ad0b9e121f ath9k: Protect queue draining by rcu_read_lock()
70146f28e419 hwmon: (ina2xx) Fix access to uninitialized mutex
717b489baaf0 x86/mce/AMD: Get address from already initialized block
ab0ed342375f perf/core: Fix use-after-free in uprobe_perf_close()
aa9cf90591f8 KVM: PPC: Book3S HV: trace_tlbie must not be called in realmode
02c74a999d69 PCI: hv: Fix 2 hang issues in hv_compose_msi_msg()
b5f7ba13889a PCI: hv: Serialize the present and eject work items
4d12fdda9978 Drivers: hv: vmbus: do not mark HV_PCIE as perf_device
ed7308bce0a2 parisc: Fix HPMC handler by increasing size to multiple of 16 bytes
2cad1487248d parisc: Fix out of array access in match_pci_device()
351b3d90c18d ipmi: Fix some error cleanup issues
9bb8f59e6ba0 media: v4l: vsp1: Fix header display list status check in continuous mode
2276552990c4 media: v4l2-compat-ioctl32: don't oops on overlay
44f9357a588e lan78xx: Correctly indicate invalid OTP
a6f8bdd9b583 vhost: Fix vhost_copy_to_user()
5c877c58589f ip_gre: clear feature flags when incompatible o_flags are set
a818b1e8182e l2tp: fix race in duplicate tunnel detection
186fab54f609 l2tp: fix races in tunnel creation
d6b25a259ef9 vhost: fix vhost_vq_access_ok() log check
f76f647e536b slip: Check if rstate is initialized before uncompressing
89a990000cd5 rds: MP-RDS may use an invalid c_path
14fb3c646653 cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN
17da5b1d0a46 netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()
7b3f3fa2bdeb drm/i915/edp: Do not do link training fallback or prune modes on EDP
b22a1fa1b34f Linux 4.15.17
9e6ee870ad5a net/mlx4_core: Fix memory leak while delete slave's resources
94f1b8485ce3 vhost_net: add missing lock nesting notation
a17ab0a5c81c team: move dev_mc_sync after master_upper_dev_link in team_port_add
0f9e7b328bff route: check sysctl_fib_multipath_use_neigh earlier than hash
13ed54d5252e vhost: validate log when IOTLB is enabled
2030a5c0ab13 net/mlx5e: Fix traffic being dropped on VF representor
2b9260fb6f35 net/mlx4_en: Fix mixed PFC and Global pause user control requests
e2b83b778065 strparser: Fix sign of err codes
73a697b3ef62 net/sched: fix NULL dereference on the error path of tcf_skbmod_init()
39eab2e79f81 net/sched: fix NULL dereference in the error path of tunnel_key_init()
d6bda9865d4c net/mlx5e: Sync netdev vxlan ports at open
75744bdbce5f net/mlx5e: Don't override vport admin link state in switchdev mode
5dfa4fb5cd26 ipv6: sr: fix seg6 encap performances with TSO enabled
d0f3ccf5293c nfp: use full 40 bits of the NSP buffer address
9d49e497222c net/sched: fix NULL dereference in the error path of tcf_sample_init()
e95cdaee3d7d net/mlx5e: Fix memory usage issues in offloading TC flows
07c70edfbefd net/mlx5e: Avoid using the ipv6 stub in the TC offload neigh update path
5075e98fb92f net/sched: fix NULL dereference in the error path of tcf_vlan_init()
a61bf7ba7f9f net_sched: fix a missing idr_remove() in u32_delete_key()
8c09a81ed1b9 net/mlx5e: Set EQE based as default TX interrupt moderation mode
34eb1263d97f vti6: better validate user provided tunnel names
4fba1a669a9a ip6_tunnel: better validate user provided tunnel names
efcc90fcf90a ip6_gre: better validate user provided tunnel names
c64153772333 ipv6: sit: better validate user provided tunnel names
bc4718fcee7c ip_tunnel: better validate user provided tunnel names
764975439e8b net: fool proof dev_valid_name()
b9c36c30ccac bonding: process the err returned by dev_set_allmulti properly in bond_enslave
1999253e11b6 bonding: move dev_mc_sync after master_upper_dev_link in bond_enslave
4021b1a4ef73 bonding: fix the err path for dev hwaddr sync in bond_enslave
088d65ddf9c5 vrf: Fix use after free and double free in vrf_finish_output
51c6ba0d8d71 vlan: also check phy_driver ts_info for vlan's real device
25d45c0fd16c vhost: correctly remove wait queue during poll failure
3407271beb99 sky2: Increase D3 delay to sky2 stops working after suspend
7e72ce101da8 sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6
9db59791e2b7 sctp: do not leak kernel memory to user space
cb2b72372ab2 r8169: fix setting driver_data after register_netdev
3b1c6b30170e pptp: remove a buggy dst release in pptp_connect()
db714a1ff359 net/sched: fix NULL dereference in the error path of tcf_bpf_init()
c7aea3ee65f1 net sched actions: fix dumping which requires several messages to user space
ae4d4eb29e54 net/mlx5e: Verify coalescing parameters in range
7102de5aef56 netlink: make sure nladdr has correct size in netlink_connect()
bbf5fab136f6 net/ipv6: Increment OUTxxx counters after netfilter hook
e3b4bc07821c net/ipv6: Fix route leaking between VRFs
202f1915fa1d net: fix possible out-of-bound read in skb_network_protocol()
7dd65ec55e31 net: dsa: Discard frames from unused ports
14fed02e94a8 lan78xx: Crash in lan78xx_writ_reg (Workqueue: events lan78xx_deferred_multicast_write)
dad8b0244bac ipv6: the entire IPv6 header chain must fit the first fragment
30d032b72d06 arp: fix arp_filter on l3slave devices
fea978223b59 x86/microcode: Fix CPU synchronization routine
32bfd224e9d6 x86/microcode: Attempt late loading only when new microcode is present
8e1161f94614 x86/microcode: Synchronize late microcode loading
7bc523cc535e x86/microcode: Request microcode on the BSP
194ed6edd93f x86/microcode/intel: Look into the patch cache first
399c019ea77c x86/microcode: Do not upload microcode if CPUs are offline
1089ac9dda39 x86/microcode/intel: Writeback and invalidate caches before updating microcode
1c1f5b2cd2cf x86/microcode/intel: Check microcode revision before updating sibling threads
abb00ec05909 x86/microcode: Get rid of struct apply_microcode_ctx
5cea945c5a3b x86/CPU: Check CPU feature bits after microcode upgrade
1a6150b2bad3 x86/CPU: Add a microcode loader callback
e280980606e7 x86/microcode: Propagate return value from updating functions
d3839c26e68d drm/i915/cnp: Properly handle VBT ddc pin out of bounds.
1710c3baec14 drm/i915/cnp: Ignore VBT request for know invalid DDC pin.
87ef4d6fc6b0 thermal: int3400_thermal: fix error handling in int3400_thermal_probe()
452aecd060f2 tcmu: release blocks for partially setup cmds
46279ed31169 perf tools: Fix copyfile_offset update of output offset
feb5c349feb5 crypto: aes-generic - build with -Os on gcc-7+
50dbed12aaa7 mtd: mtd_oobtest: Handle bitflips during reads
dad8f5220c5d Input: goodix - disable IRQs while suspended
d7c122fd723f ibmvnic: Don't handle RX interrupts when not up.
82c353ad3da1 sdhci: Advertise 2.0v supply on SDIO host controller
55a0ef8d9d71 x86/gart: Exclude GART aperture from vmcore
6a68ef47bea6 gpio: thunderx: fix error return code in thunderx_gpio_probe()
27fac1611fdd RDMA/cma: Fix rdma_cm path querying for RoCE
ce87afbbada6 scsi: megaraid_sas: unload flag should be set after scsi_remove_host is called
458419bb8429 scsi: megaraid_sas: Error handling for invalid ldcount provided by firmware in RAID map
edde080c5e33 PM / domains: Don't skip driver's ->suspend|resume_noirq() callbacks
3018e3d5171e cxgb4vf: Fix SGE FL buffer initialization logic for 64K pages
b2320552d1f5 drm/amd/powerplay: fix memory leakage when reload (v2)
70557b7f58db i40evf: don't rely on netif_running() outside rtnl_lock()
6e80af54604d Bluetooth: hci_bcm: Make shutdown and device wake GPIO optional
d8d843fe374b Bluetooth: hci_bcm: Validate IRQ before using it
e34b75c7db20 Bluetooth: hci_bcm: Mandate presence of shutdown and device wake GPIO
3ca4e49e9be7 uio_hv_generic: check that host supports monitor page
f0e9997e06a5 EDAC, mv64x60: Fix an error handling path
7018cb0149d1 serdev: Fix serdev_uevent failure on ACPI enumerated serdev-controllers
3af99e83a278 block, bfq: put async queues for root bfq groups too
a551b16c4903 tty: n_gsm: Allow ADM response in addition to UA for control dlci
13ba69ddf542 blk-mq: fix kernel oops in blk_mq_tag_idle()
1aa0564aae9e net/mlx5e: IPoIB, Use correct timestamp in child receive flow
d4beec7ede2a scsi: libsas: initialize sas_phy status according to response of DISCOVER
a8e93148d4e6 scsi: libsas: fix error when getting phy events
c16490ba27bb scsi: libsas: fix memory leak in sas_smp_get_phy_events()
614361530f03 net: Fix netdev_WARN_ONCE macro
088ebc83060e scsi: libsas: Use dynamic alloced work to avoid sas event lost
eead4cd85fe3 bcache: segregate flash only volume write streams
9390f52f68a8 bcache: stop writeback thread after detaching
18303da51818 bcache: ret IOERR when read meets metadata error
2300dbc6d1f3 net: hns3: fix for changing MTU
dfa20d9d7fa9 net: hns3: Fix an error macro definition of HNS3_TQP_STAT
f55dc2a4c18d net: hns3: Fix a loop index error of tqp statistics query
4434e6f5820f net: hns3: Fix an error of total drop packet statistics
c8de98d55dc4 net/mlx5: Fix race for multiple RoCE enable
717df1176636 wl1251: check return from call to wl1251_acx_arp_ip_filter
eb49779a13d9 rt2x00: do not pause queue unconditionally on error path
14d7f455a4da power: supply: axp288_charger: Properly stop work on probe-error / remove
c9ec5c8ac418 ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()'
b00f942fef90 staging: lustre: disable preempt while sampling processor id.
731edfbaf9e5 perf report: Fix a no annotate browser displayed issue
4c4f48c3e5d7 tpm: return a TPM_RC_COMMAND_CODE response if command is not implemented
0a592432e6e9 nvme_fcloop: fix abort race condition
513f897ed6e5 nvme_fcloop: disassocate local port structs
9d0b9e874ecf pinctrl: baytrail: Enable glitch filter for GPIOs used as interrupts
ab0ba11b94b5 nvme-fabrics: don't check for non-NULL module in nvmf_register_transport
2c624d6fede9 nvme-fabrics: protect against module unload during create_ctrl
3d4d30ecc250 backlight: tdo24m: Fix the SPI CS between transfers
3f9ae3bb4dca blk-mq: fix race between updating nr_hw_queues and switching io sched
f86fd0585e8e blk-mq: avoid to map CPU into stale hw queue
5be1bc32b82d IB/rdmavt: Allocate CQ memory on the correct node
a5a2a6bd5d4a powernv-cpufreq: Add helper to extract pstate from PMSR
618d78622811 arm64: asid: Do not replace active_asids if already 0
a257594a30d3 gpio: label descriptors using the device name
b2b11aebe49e crypto: crypto4xx - perform aead icv check in the driver
56d3fab6bc64 vfb: fix video mode and line_length being set when loaded
7f12c3f9eec6 mac80211: Fix setting TX power on monitor interfaces
110909d7a0c9 ACPI: EC: Fix debugfs_create_*() usage
03e965ebd983 irqchip/gic-v3: Fix the driver probe() fail due to disabled GICC entry
c97d465daddd irqchip/ompic: fix return value check in ompic_of_init()
f885f0701f6d scsi: mpt3sas: Proper handling of set/clear of "ATA command pending" flag.
f212235717ed scsi: libiscsi: Allow sd_shutdown on bad transport
f4fecf24ae66 RDMA/hns: Update the usage of sr_max and rr_max field
311b60b294b4 spi: sh-msiof: Fix timeout failures for TX-only DMA transfers
902dae240b4a IB/ipoib: Fix for notify send CQ failure messages
3ca14535c781 drm/msm: Fix NULL deref in adreno_load_gpu
70a6a6877a88 ASoC: Intel: cht_bsw_rt5645: Analog Mic support
df85cc29794a ASoC: Intel: Skylake: Disable clock gating during firmware and library download
4577c7f85eda media: videobuf2-core: don't go out of the buffer range
a8d3eea33c25 clk: sunxi-ng: a83t: Add M divider to TCON1 clock
e0870e5401ee f2fs: fix lock dependency in between dio_rwsem & i_mmap_sem
bde6301dbf14 hwmon: (ina2xx) Make calibration register value fixed
2bddcdd33e3a RDMA/cma: Mark end of CMA ID messages
7f0880203e52 thermal/drivers/hisi: Remove bogus const from function return type
a696e385ac75 selftests/net: fix bugs in address and port initialization
abf63e3cb1a8 net_sch: red: Fix the new offload indication
ffc544a91a0f gpiolib: don't dereference a desc before validation
ebc5545383f7 PM / devfreq: Fix potential NULL pointer dereference in governor_store
34e1b76c57d0 clk: divider: fix incorrect usage of container_of
5218e11fbd2f watchdog: dw_wdt: add stop watchdog operation
3a0289a45385 VFS: close race between getcwd() and d_move()
827fe75987f1 IB/mlx5: Report inner RSS capability
b644c41acce1 net/mlx4_en: Change default QoS settings
965736ee654d ACPI / video: Default lcd_only to true on Win8-ready and newer machines
ce6b782c6f38 rds; Reset rs->rs_bound_addr in rds_add_bound() failure path
e78a6e9aee5b l2tp: fix missing print session offset info
d8ffa7dfceb5 net: hns3: add Asym Pause support to phy default features
353900b83514 net: hns3: fix for getting auto-negotiation state in hclge_get_autoneg
4edd8be70f11 net: hns3: free the ring_data structrue when change tqps
295c02ce3322 perf evsel: Enable ignore_missing_thread for pid option
88d7e9f141c3 perf evsel: Fix swap for samples with raw data
9ab8894f195d perf probe: Add warning message if there is unexpected event name
ef0fa7a1ec6e perf probe: Find versioned symbols from map
2dffefdf975a thermal: power_allocator: fix one race condition issue for thermal_instances list
4dfb698be2a5 ipv6: Reinject IPv6 packets if IPsec policy matches after SNAT
542f2cc70fe6 Bluetooth: Add a new 04ca:3015 QCA_ROME device
7ee903fb3a1b ARM: dts: ls1021a: add "fsl,ls1021a-esdhc" compatible string to esdhc node
9f8a75a2299e clk: meson: mpll: use 64-bit maths in params_from_rate
be7835d54626 i40iw: Validate correct IRD/ORD connection parameters
551ace11e153 i40iw: Correct Q1/XF object count equation
c2f3d4bf8e4b i40iw: Fix sequence number for the first partial FPDU
49859d3c5536 Linux 4.15.16
b36c97615b98 Revert "ip6_vti: adjust vti mtu according to mtu of lower device"
f4c360885236 Revert "cpufreq: Fix governor module removal race"
2dae6069c488 Revert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin"
0dd269e2a25b Revert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin"
657fda9505c8 Fix slab name "biovec-(1<<(21-12))"
8282afd8abee net: hns: Fix ethtool private flags
84c68b621e90 ARM: dts: DRA76-EVM: Set powerhold property for tps65917
3d07d9f2eebb vt: change SGR 21 to follow the standards
48eaa5be295c Input: i8042 - enable MUX on Sony VAIO VGN-CS series to fix touchpad
fd50992f99c2 Input: i8042 - add Lenovo ThinkPad L460 to i8042 reset list
ec46704f08e8 Input: ALPS - fix TrackStick detection on Thinkpad L570 and Latitude 7370
9abdc666b793 Revert "base: arch_topology: fix section mismatch build warnings"
f1fcba111d9e staging: comedi: ni_mio_common: ack ai fifo error interrupts.
21f07630e75f Btrfs: fix unexpected cow in run_delalloc_nocow
e847da275f04 crypto: x86/cast5-avx - fix ECB encryption when long sg follows short one
860783c283c8 crypto: arm,arm64 - Fix random regeneration of S_shipped
493601f76734 crypto: ccp - return an actual key size from RSA max_size callback
7abca04ef3a0 crypto: caam - Fix null dereference at error path
48b9d82caba8 crypto: ahash - Fix early termination in hash walk
4010d75d2eb4 crypto: talitos - fix IPsec cipher in length
05c93fe33f94 crypto: testmgr - Fix incorrect values in PKCS#1 test vector
c3c97a9f2f52 crypto: inside-secure - fix clock management
7bc247d1fd68 crypto: talitos - don't persistently map req_ctx->hw_context and req_ctx->buf
27036ade0732 crypto: lrw - Free rctx->ext with kzfree
5afddba2aaae parport_pc: Add support for WCH CH382L PCI-E single parallel port card.
39fd6d094397 media: usbtv: prevent double free in error case
9b664c6a9f68 /dev/mem: Avoid overwriting "err" in read_mem()
3cde7e2ccec6 mei: remove dev_err message on an unsupported ioctl
29361c257631 serial: 8250: Add Nuvoton NPCM UART
ffed9ae46844 USB: serial: cp210x: add ELDAT Easywave RX09 id
b8541b3dc59c USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator
6693f178c9ab USB: serial: ftdi_sio: add RT Systems VX-8 cable
b5abde6ca2d2 bitmap: fix memset optimization on big-endian systems
7b2dcf7cc456 drm/i915/dp: Write to SET_POWER dpcd to enable MST hub.
886125faf5d1 Bluetooth: Fix missing encryption refresh on Security Request
8f723a276a4d phy: qcom-ufs: add MODULE_LICENSE tag
a192706b71fa netfilter: x_tables: add and use xt_check_proc_name
7ab7e3e2a0d4 netfilter: drop template ct when conntrack is skipped.
c16c62bb4d9f l2tp: fix races with ipv4-mapped ipv6 addresses
dd19573992b5 netfilter: bridge: ebt_among: add more missing match size checks
8f4ed22f6b5e netfilter: x_tables: make allocation less aggressive
5bb3f4acc8aa percpu: add __GFP_NORETRY semantics to the percpu balancing path
c7f2bd1850a8 xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems
94f84ba56f3d net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms()
e13d781171fb ipv6: fix possible deadlock in rt6_age_examine_exception()
b2bf2cb68880 RDMA/ucma: Introduce safer rdma_addr_size() variants
f55b41ce03a7 RDMA/ucma: Check that device exists prior to accessing it
c0cbbca14176 RDMA/ucma: Check that device is connected prior to access it
c88aaa5ab28a RDMA/rdma_cm: Fix use after free race with process_one_req
5eb56dd0ba03 RDMA/ucma: Ensure that CM_ID exists prior to access it
0b17ac3f080d RDMA/ucma: Fix use-after-free access in ucma_close
a6474d6ef156 RDMA/ucma: Check AF family prior resolving address
7df65ad1d45a xfrm_user: uncoditionally validate esn replay attribute struct
abb971a27ed5 partitions/msdos: Unable to mount UFS 44bsd partitions
cc842a34bfb2 powerpc/64s: Fix i-side SLB miss bad address handler saving nonvolatile GPRs
f8e68e8f8db5 powerpc/64s: Fix lost pending interrupt due to race causing lost update to irq_happened
5c0b4a907396 powerpc/mm: Workaround Nest MMU bug with TLB invalidations
d657375f3616 powerpc/mm: Add tracking of the number of coprocessors using a context
b61312ebb1c9 i2c: i2c-stm32f7: fix no check on returned setup
19254443adf9 ipc/shm.c: add split function to shm_vm_ops
f2fb59601631 ceph: only dirty ITER_IOVEC pages for direct read
9b5b7c382e11 perf/hwbp: Simplify the perf-hwbp code, fix documentation
a408b211f579 x86/platform/uv/BAU: Add APIC idt entry
740aa1579526 ALSA: pcm: potential uninitialized return values
4321a749661b ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()
5891c83b01ad ALSA: usb-audio: Add native DSD support for TEAC UD-301
6aa2e5ddc3cd mtd: nand: atmel: Fix get_sectorsize() function
e80deb59802c mtd: jedec_probe: Fix crash in jedec_read_mfr()
26692e9a0aaf ARM: dts: sun6i: a31s: bpi-m2: add missing regulators
acc7f0201fc3 ARM: dts: sun6i: a31s: bpi-m2: improve pmic properties
955901702381 ARM: 8746/1: vfp: Go back to clearing vfp_current_hw_state[]
37496fe93169 ARM: OMAP: Fix SRAM W+X mapping
ae0a11b2bd33 Linux 4.15.15
ab58638491e1 team: Fix double free in error path
a21aaaf921ab skbuff: Fix not waking applications when errors are enqueued
0a5c5886c3b4 qede: Fix qedr link update
71aa561fa21b net: systemport: Rewrite __bcm_sysport_tx_reclaim()
347de2ecf61b net: Only honor ifindex in IP_PKTINFO if non-0
ffa24344d004 netlink: avoid a double skb free in genlmsg_mcast()
b471f6727288 net/iucv: Free memory obtained by kzalloc
24f6021c26ef net: fec: Fix unbalanced PM runtime calls
fbc1ee88e866 net: ethernet: ti: cpsw: add check for in-band mode setting with RGMII PHY interface
41d133c01d20 net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
8e903f508390 l2tp: do not accept arbitrary sockets
f1c344162052 ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()
5df0f40809d4 dccp: check sk for closed state in dccp_sendmsg()
01a82ba817fc dpaa_eth: remove duplicate increment of the tx_errors counter
8e84c72fe1b7 dpaa_eth: increment the RX dropped counter when needed
d50884855ed0 dpaa_eth: remove duplicate initialization
e9b0efd5940c dpaa_eth: fix error in dpaa_remove()
5b10a404419f soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
2a00d08da9ff s390/qeth: on channel error, reject further cmd requests
e992c8b81cd0 s390/qeth: lock read device while queueing next buffer
4b6cd4820c66 s390/qeth: when thread completes, wake up all waiters
657a7148bd4b s390/qeth: free netdevice when removing a card
aac53ed860ee net: Fix hlist corruptions in inet_evict_bucket()
5eb1b63557d8 net: use skb_to_full_sk() in skb_update_prio()
7d7d04a6e6d5 ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()
a69b268ae27d sch_netem: fix skb leak in netem_enqueue()
b6b64dea97e0 kcm: lock lower socket in kcm_attach
b1bb7e6aa293 test_rhashtable: add test case for rhltable with duplicate objects
93589a0ae7e7 rhashtable: Fix rhlist duplicates insertion
8b24af17d5fc ppp: avoid loop in xmit recursion detection code
a1209e98ff49 net sched actions: return explicit error when tunnel_key mode is not specified
37c446138df8 ipv6: Reflect MTU changes on PMTU of exceptions for MTU-less routes
9401d455a739 net: phy: Tell caller result of phy_change()
33dcdffc31e5 mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic
af1ba7e5e0cd ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel state
68e01f404461 ipv6: sr: fix NULL pointer dereference when setting encap source address
7340d647447f ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
812cb9e2340d net: ipv6: keep sk status consistent after datagram connect failure
f09036d3d61c macvlan: filter out unsupported feature flags
2076d28a639e devlink: Remove redundant free on error path
9c94855066d3 net: phy: relax error checking when creating sysfs link netdev->phydev
956c93369149 sysfs: symlink: export sysfs_create_link_nowarn()
986468a18f78 qed: Fix non TCP packets should be dropped on iWARP ll2 connection
960058fe1963 tcp: purge write queue upon aborting the connection
10849a12c052 qed: Fix MPA unalign flow in case header is split across two packets.
cce2b12ee5af openvswitch: meter: fix the incorrect calculation of max delta_t
1759a5455f7d net: dsa: Fix dsa_is_user_port() test inversion
0ba3b3aac901 Linux 4.15.14
9c5ee9934c90 bpf, x64: increase number of passes
18a9e4d888d6 bpf: skip unnecessary capability check
700082a54165 kbuild: disable clang's default use of -fmerge-all-constants
c7674a71bc38 staging: android: ion: Zero CMA allocated memory
e8689b8bbae9 iio: imu: st_lsm6dsx: introduce conf_lock mutex
0757dce21913 iio: imu: st_lsm6dsx: fix endianness in st_lsm6dsx_read_oneshot()
b7a6e26b331d iio: ABI: Fix name of timestamp sysfs file
b844443b8e89 perf/x86/intel/uncore: Fix multi-domain PCI CHA enumeration bug on Skylake servers
190e67640d20 perf/x86/intel: Don't accidentally clear high bits in bdw_limit_period()
a002966e849b trace/bpf: remove helper bpf_perf_prog_read_value from tracepoint type programs
e623ff1aceff perf/core: Fix ctx_event_type in ctx_resched()
f736f6560e04 perf stat: Fix CVS output format for non-supported counters
b42e3e521999 perf/x86/intel/uncore: Fix Skylake UPI event format
7d4e27d30070 hwmon: (k10temp) Add temperature offset for Ryzen 1900X
1a0d6102cd02 hwmon: (k10temp) Only apply temperature offset if result is positive
591b6ad1ddbc x86/boot/64: Verify alignment of the LOAD segment
b3d1a5bc0e47 x86/build/64: Force the linker to use 2MB page size
8c42170a40fb kvm/x86: fix icebp instruction handling
ab26ea17a6dc posix-timers: Protect posix clock array access against speculation
cd7abf600406 x86/efi: Free efi_pgd with free_pages()
279ebed98bb2 x86/vsyscall/64: Use proper accessor to update P4D entry
1e4ed1727e2a selftests/x86/ptrace_syscall: Fix for yet more glibc interference
69a71b6b418c x86/entry/64: Don't use IST entry for #BP stack
64c98ba6ddb5 tty: vt: fix up tabstops properly
dfde88160d7b can: cc770: Fix use after free in cc770_tx_interrupt()
89fc6c01aae9 can: cc770: Fix queue stall & dropped RTR reply
f543d85120e1 can: cc770: Fix stalls on rt-linux, remove redundant IRQ ack
f29397c91e05 can: ifi: Check core revision upon probe
717885b66fb8 can: ifi: Repair the error handling
4f39b4fd443c can: peak/pcie_fd: remove useless code when interface starts
054317e751c7 can: peak/pcie_fd: fix echo_skb is occupied! bug
9a6730ae707b staging: ncpfs: memory corruption in ncp_read_kernel()
7b6f657ad598 mtd: nand: fsl_ifc: Read ECCSTAT0 and ECCSTAT1 registers for IFC 2.0
7cc7ee831a35 mtd: nand: fsl_ifc: Fix eccstat array overflow for IFC ver >= 2.0.0
1d65c538a1e1 mtd: nand: fsl_ifc: Fix nand waitfunc return value
a49c7c336348 mtdchar: fix usage of mtd_ooblayout_ecc()
9b474cd0749d tracing: probeevent: Fix to support minus offset from symbol
d2e051d5d636 rtlwifi: rtl8723be: Fix loss of signal
8c210a84ed36 brcmfmac: fix P2P_DEVICE ethernet address generation
6b7ece4accf1 libnvdimm, {btt, blk}: do integrity setup before add_disk()
0cb158fadfd5 ACPI / watchdog: Fix off-by-one error at resource assignment
b0b2d4f74b72 acpi, numa: fix pxm to online numa node associations
517f745e5e64 module: propagate error in modules_open()
c8f7955b5493 mm/vmscan: wake up flushers for legacy cgroups too
01592437b0ec drm: udl: Properly check framebuffer mmap offsets
1554edbbb723 drm: Reject getfb for multi-plane framebuffers
f6b53a429e65 drm/amd/display: Add one to EDID's audio channel count when passing to DC
fa81f6281879 drm/amd/display: We shouldn't set format_default on plane as atomic driver
19f2fd88d999 drm/radeon: Don't turn off DP sink when disconnected
5001c04d08bb drm/vmwgfx: Fix a destoy-while-held mutex problem.
b7c3cc858b02 drm/vmwgfx: Fix black screen and device errors when running without fbdev
f981611c4ae3 Revert "mm: page_alloc: skip over regions of invalid pfns where possible"
d3d155da63b9 mm/shmem: do not wait for lock_page() in shmem_unused_huge_shrink()
29c11d86b74f mm/thp: do not wait for lock_page() in deferred_split_scan()
babe10f62b6b mm/khugepaged.c: convert VM_BUG_ON() to collapse fail
63da3be586bb x86/mm: implement free pmd/pte page interfaces
0454e2fad930 mm/vmalloc: add interfaces to free unmapped page table
6104f7df1e22 h8300: remove extraneous __BIG_ENDIAN definition
e0fdb5385c4b hugetlbfs: check for pgoff value overflow
2800f9c188c7 media: tegra-cec: reset rx_buf_cnt when start bit detected
0f44e9da465e nfsd: remove blocked locks on client teardown
401c02d7c9b5 cgroup: fix rule checking for threaded mode switching
6823e0efcb01 sched, cgroup: Don't reject lower cpu.max on ancestors
aa0832d01611 libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to MU01 version
85fd780b26aa libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions
a3121f28e584 libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
a51206d6a1c3 libata: Enable queued TRIM for Samsung SSD 860
2cd5b672744b libata: disable LPM for Crucial BX100 SSD 500GB drive
3c23829899da libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
0f849a36c2c3 libata: don't try to pass through NCQ commands to non-NCQ devices
25af1a9219d6 libata: remove WARN() for DMA or PIO command without data
b679d0e7d685 libata: fix length validation of ATAPI-relayed SCSI commands
7ec32f585fef Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174
a7f0ce743bfe Bluetooth: btusb: Add Dell OptiPlex 3060 to btusb_needs_reset_resume_table
ee1195515988 Bluetooth: btusb: Remove Yoga 920 from the btusb_needs_reset_resume_table
6c927e37a857 pinctrl: samsung: Validate alias coming from DT
98bb0e40fa7f Drivers: hv: vmbus: Fix ring buffer signaling
8fe98b2177a9 RDMA/mlx5: Fix crash while accessing garbage pointer and freed memory
808176cd9eeb clk: sunxi-ng: a31: Fix CLK_OUT_* clock ops
c3c66b380218 clk: bcm2835: Protect sections updating shared registers
318078995410 clk: bcm2835: Fix ana->maskX definitions
cb5cfed66ebc lockdep: fix fs_reclaim warning
b5f2a5c3c09c ahci: Add PCI-id for the Highpoint Rocketraid 644L card
23a6254a4ddf PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L
5b863a4deb8b mmc: dw_mmc: fix falling from idmac to PIO mode when dw_mci_reset occurs
8049c2c413da mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433
b4a2de90aeb6 mmc: dw_mmc: Fix the DTO/CTO timeout overflow calculation for 32-bit systems
40888f31f9cf mmc: block: fix updating ext_csd caches on ioctl call
836b7527a839 mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards
1e0ca4f53915 mmc: core: Fix tracepoint print of blk_addr and blksz
b49428a00020 ALSA: hda/realtek - Always immediately update mute LED with pin VREF
291bebca94a0 ALSA: hda/realtek - Fix Dell headset Mic can't record
953434bdd33e ALSA: hda/realtek - Fix speaker no sound after system resume
1082b81751dd ALSA: hda - Force polling mode on CFL for fixing codec communication
33cc51d03b60 ALSA: aloop: Fix access to not-yet-ready substream via cable
66ef51a5c402 ALSA: aloop: Sync stale timer before release
771782b6fb94 ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
32e6d1ee98ab iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock()
e1db7d19c6fa iio: st_pressure: st_accel: pass correct platform data to init
805a995cb8a3 iio: chemical: ccs811: Corrected firmware boot/application mode transition
f047d3d7f86d MIPS: lantiq: ase: Enable MFD_SYSCON
ea8cbb7cc71b MIPS: lantiq: Enable AHB Bus for USB
6b26df694632 MIPS: lantiq: Fix Danube USB clock
2dcbf520510c MIPS: ralink: Fix booting on MT7621
fb43da3ac012 MIPS: ralink: Remove ralink_halt()
(From OE-Core rev: 7dd52d9e39109d8b24227163857595f17be16f4d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases for 4.14, which comprise the
following commits:
fc72a4171174 Linux 4.14.40
27f29dbceb3c tracing: Fix bad use of igrab in trace_uprobe.c
d86aaca9cea2 irqchip/qcom: Fix check for spurious interrupts
bd2088d1d77a platform/x86: asus-wireless: Fix NULL pointer dereference
87fa7da673b4 usb: musb: trace: fix NULL pointer dereference in musb_g_tx()
303e99bde8dc usb: musb: host: fix potential NULL pointer dereference
ec6de93fab50 USB: serial: option: adding support for ublox R410M
3f0c247910d0 USB: serial: option: reimplement interface masking
0e548f5abae9 USB: Accept bulk endpoints with 1024-byte maxpacket
425a02545d5e usb: dwc3: gadget: Fix list_del corruption in dwc3_ep_dequeue
0cc49bb627ad USB: serial: visor: handle potential invalid device configuration
0799a0ea96e4 errseq: Always report a writeback error once
b4f6e858433e test_firmware: fix setting old custom fw path back on exit, second try
43b3ba6ece54 drm/bridge: vga-dac: Fix edid memory leak
df9703e7e72a drm/vmwgfx: Fix a buffer object leak
758f3340b803 iw_cxgb4: Atomically flush per QP HW CQEs
d7683a5c8c94 IB/hfi1: Fix NULL pointer dereference when invalid num_vls is used
79181a45aa9a IB/hfi1: Fix loss of BECN with AHG
7f185bc79bb9 IB/hfi1: Fix handling of FECN marked multicast packet
b5ebbbc72671 IB/mlx5: Use unlimited rate when static rate is not supported
a27293f2f6e1 NET: usb: qmi_wwan: add support for ublox R410M PID 0x90b2
14ad51557092 RDMA/mlx5: Protect from shift operand overflow
be855252ebce RDMA/mlx5: Fix multiple NULL-ptr deref errors in rereg_mr flow
3ae1bf368135 RDMA/ucma: Allow resolving address w/o specifying source address
38a65e753503 RDMA/cxgb4: release hw resources on device removal
bd9ca962eeb0 xfs: prevent creating negative-sized file via INSERT_RANGE
b68c7af0b2e7 rtlwifi: cleanup 8723be ant_sel definition
fcd835be6c17 rtlwifi: btcoex: Add power_on_setting routine
10579ed39e20 Input: atmel_mxt_ts - add touchpad button mapping for Samsung Chromebook Pro
894937021946 Input: leds - fix out of bound access
2c698f7b169a scsi: target: Fix fortify_panic kernel exception
f4438b15755e tracepoint: Do not warn on ENOMEM
bd0e2aec5686 ALSA: aloop: Add missing cable lock to ctl API callbacks
4e3460ae33c6 ALSA: aloop: Mark paused device as inactive
9581fff37b1a ALSA: dice: fix kernel NULL pointer dereference due to invalid calculation for array index
dfe7f043bcfc ALSA: seq: Fix races at MIDI encoding in snd_virmidi_output_trigger()
e5e9a770cec2 ALSA: pcm: Check PCM state at xfern compat ioctl
5f6e6d063ac1 ALSA: hda - Fix incorrect usage of IS_REACHABLE()
c1e76c30079d USB: serial: option: Add support for Quectel EP06
c8a622ed9e53 ACPI / button: make module loadable when booted in non-ACPI mode
63d9df9eb7a5 crypto: talitos - fix IPsec cipher in length
e9caf1e1d5d4 percpu: include linux/sched.h for cond_resched()
6a3c946b205f net: don't call update_pmtu unconditionally
3a928a262c1c geneve: update skb dst pmtu on tx path
7d6240f0fb85 Linux 4.14.39
7fddff51f245 powerpc/eeh: Fix race with driver un/bind
e5a290c4ff77 arm/arm64: KVM: Add PSCI version selection API
a2066aa76a7a tick/sched: Do not mess with an enqueued hrtimer
922e5129eb01 x86/microcode: Do not exit early from __reload_late()
7c6bcaac737f x86/microcode/intel: Save microcode patch unconditionally
b319531024d9 x86/smpboot: Don't use mwait_play_dead() on AMD systems
ce911a5b1fea x86/ipc: Fix x32 version of shmid64_ds and msqid64_ds
8e99c881e497 tools/lib/subcmd/pager.c: do not alias select() params
d1f1f7771a6a objtool, perf: Fix GCC 8 -Wrestrict error
bf1d7023c901 drm/i915: Enable display WA#1183 from its correct spot
559121f5a165 drm/amdgpu: set COMPUTE_PGM_RSRC1 for SGPR/VGPR clearing shaders
79340bda01ab rtc: opal: Fix OPAL RTC driver OPAL_BUSY loops
20b0f757da3b cpufreq: powernv: Fix hardlockup due to synchronous smp_call in timer interrupt
3a5465d0b61d earlycon: Use a pointer table to fix __earlycon_table stride
9922fd0c681f fpga-manager: altera-ps-spi: preserve nCONFIG state
7563d6f2be58 libceph: validate con->state at the top of try_write()
c2bc3eb5599f libceph: reschedule a tick in finish_hunting()
76f7b52b5bf0 libceph: un-backoff on tick when we have a authenticated session
b02bbcce8ea3 ASoC: fsl_esai: Fix divisor calculation failure at lower ratio
674d38ea1850 crypto: drbg - set freed buffers to NULL
a32a944a60c8 powerpc/powernv/npu: Do a PID GPU TLB flush when invalidating a large address range
f2acc8dc0644 powerpc/mm: Flush cache on memory hot(un)plug
5a5ea3401799 KVM: arm/arm64: Close VMID generation race
0ddb53a67cbd ARM: socfpga_defconfig: Remove QSPI Sector 4K size force
f671ee8de31a ARM: amba: Don't read past the end of sysfs "driver_override" buffer
23abff7b984f ARM: amba: Fix race condition with driver_override
bcd73c772ec1 ARM: amba: Make driver_override output consistent with other buses
1a6e0a900bce PCI: aardvark: Fix PCIe Max Read Request Size setting
6b3751e249ff PCI: aardvark: Use ISR1 instead of ISR0 interrupt in legacy irq mode
f0ae21a86eb5 PCI: aardvark: Set PIO_ADDR_LS correctly in advk_pcie_rd_conf()
e90b89088a10 PCI: aardvark: Fix logic in advk_pcie_{rd,wr}_conf()
fd0485e2cc7b ANDROID: binder: prevent transactions into own process.
bddabeb71f3f vfio: ccw: process ssch with interrupts disabled
be10336a9072 bfq-iosched: ensure to clear bic/bfqq pointers when preparing request
b23b4174275d scsi: sd: Defer spinning up drive while SANITIZE is in progress
a5f4276787d6 kobject: don't use WARN for registration failures
6840b774dc4d mtd: rawnand: tango: Fix struct clk memory leak
f69cd2d30a80 mtd: cfi: cmdset_0002: Do not allow read/write to suspend erase block.
204e0761846b mtd: cfi: cmdset_0001: Workaround Micron Erase suspend bug.
1de1ad0c2c42 mtd: cfi: cmdset_0001: Do not allow read/write to suspend erase block.
6c677c5968aa mtd: spi-nor: cadence-quadspi: Fix page fault kernel panic
3d4612bf62c8 ALSA: hda/realtek - change the location for one of two front mics
53c4197a2d7e ALSA: hda/realtek - Update ALC255 depop optimize
c9df23efe5cc ALSA: hda/realtek - Add some fixes for ALC233
d680a34d82b6 ALSA: hda: Hardening for potential Spectre v1
bda3aba8c0a1 ALSA: seq: oss: Hardening for potential Spectre v1
4a52a2127240 ALSA: seq: oss: Fix unbalanced use lock for synth MIDI device
30ddc329d562 ALSA: core: Report audio_tstamp in snd_pcm_sync_ptr
00e0495d8327 ALSA: pcm: Return negative delays from SNDRV_PCM_IOCTL_DELAY.
6ab1a94d17db ALSA: control: Hardening for potential Spectre v1
9d57d45965dd ALSA: rme9652: Hardening for potential Spectre v1
f8616ffbb78d ALSA: hdspm: Hardening for potential Spectre v1
8f1705268fd2 ALSA: asihpi: Hardening for potential Spectre v1
b67a05364e5d ALSA: opl3: Hardening for potential Spectre v1
19baecfc1105 ALSA: hda - Skip jack and others for non-existing PCM streams
d03fbe62e173 ALSA: dice: fix error path to destroy initialized stream data
ba9c9886a40d ALSA: dice: fix OUI for TC group
545906124041 tty: Use __GFP_NOFAIL for tty_ldisc_get()
877f418171af tty: Avoid possible error pointer dereference at tty_ldisc_restore().
6a50af86a62b tty: n_gsm: Fix DLCI handling for ADM mode if debug & 2 is not set
6ba9a47d1fc5 tty: n_gsm: Fix long delays with control frame timeouts in ADM mode
4854b9665c81 tty: Don't call panic() at tty_ldisc_init()
c0ed8ece4ef3 drm/virtio: fix vq wait_event condition
998d43ce034b virtio_console: reset on out of memory
e9287108acce virtio_console: move removal code
75fc6f2d39bf virtio_console: drop custom control queue cleanup
6b1c41a0f718 virtio_console: free buffers after reset
4217a339b37d virtio_console: don't tie bufs to a vq
7ae93ff136a0 virtio: add ability to iterate over vqs
cf7405f67543 ALSA: usb-audio: Skip broken EU on Dell dock USB-audio
e6d2055ba32f USB: Increment wakeup count on remote wakeup.
c59dc4d13519 usb: core: Add quirk for HP v222w 16GB Mini
333909311d70 usb: typec: ucsi: Increase command completion timeout value
f310eb70657e USB: serial: cp210x: add ID for NI USB serial console
747120e77100 USB: serial: ftdi_sio: use jtag quirk for Arrow USB Blaster
8f30aa32b716 USB: serial: simple: add libtransistor console
0b932b1ca9da xhci: Fix USB ports for Dell Inspiron 5775
64abd2428e54 Revert "xhci: plat: Register shutdown for xhci_plat"
b792b1f7d01c usbip: vhci_hcd: check rhport before using in vhci_hub_control()
4abe5b775a16 usbip: vhci_hcd: Fix usb device and sockfd leaks
944edaf13dee usbip: usbip_host: fix to hold parent lock for device_attach() calls
470bf16ae1ab usbip: usbip_event: fix to not print kernel pointer address
76dbabb38a18 random: rate limit unseeded randomness warnings
ffc5b50a2b53 random: fix possible sleeping allocation from irq context
812b51a63000 random: set up the NUMA crng instances after the CRNG is fully initialized
ae0db58dabe5 ext4: fix bitmap position validation
b39430ea0687 ext4: add validity checks for bitmap block numbers
55cc3bb0a6c7 ext4: add MODULE_SOFTDEP to ensure crc32c is included in the initramfs
4a3674acbf8b ext4: set h_journal if there is a failure starting a reserved handle
1a538cb0879d ext4: prevent right-shifting extents beyond EXT_MAX_BLOCKS
a87463f7420c Linux 4.14.38
3e4915873cff ACPI / video: Only default only_lcd to true on Win8-ready _desktops_
c371fe019001 s390/uprobes: implement arch_uretprobe_is_alive()
5dad51054d8a s390/dasd: fix IO error for newly defined devices
3b5c2e1d163a s390/cio: update chpid descriptor after resource accessibility event
a75bf6f71744 tracing: Fix missing tab for hwlat_detector print format
d82923c017de block/swim: Fix IO error at end of medium
06dc2e919593 block/swim: Fix array bounds check
8c37ac3c04e7 block/swim: Select appropriate drive on device open
cdb0d5fa2528 block/swim: Rename macros to avoid inconsistent inverted logic
f359e87feb88 block/swim: Remove extra put_disk() call from error path
b7100feb26d2 block/swim: Don't log an error message for an invalid ioctl
0dd9146a2291 block/swim: Check drive type
43f8a4f2c8b2 m68k/mac: Don't remap SWIM MMIO region
75b98294e09a fsnotify: Fix fsnotify_mark_connector race
68c09d548bfc cdrom: information leak in cdrom_ioctl_media_changed()
f4df47e36ac0 scsi: mptsas: Disable WRITE SAME
77df079be9b4 commoncap: Handle memory allocation failure.
540e7b5be492 Revert "mm/hmm: fix header file if/else/endif maze"
a252b9732243 arm64: dts: rockchip: remove vdd_log from rk3399-puma
fcc347bc1e34 microblaze: Setup dependencies for ASM optimized lib functions
5787b55b5019 s390: correct module section names for expoline code revert
f836b34fb056 s390: correct nospec auto detection init order
fce1bf054f0b s390: add sysfs attributes for spectre
68cb884e1228 s390: report spectre mitigation via syslog
719b84c9aec2 s390: add automatic detection of the spectre defense
ea1bbd53f055 s390: move nobp parameter functions to nospec-branch.c
6cdc4b21d219 s390/entry.S: fix spurious zeroing of r0
74a93ae5c328 s390: do not bypass BPENTER for interrupt system calls
6288e169a25e s390: Replace IS_ENABLED(EXPOLINE_*) with IS_ENABLED(CONFIG_EXPOLINE_*)
1d966a6aded3 KVM: s390: force bp isolation for VSIE
b609eb65f315 s390: introduce execute-trampolines for branches
0bd4c47c2026 s390: run user space and KVM guests with modified branch prediction
43cccd87c184 s390: add options to change branch prediction behaviour for the kernel
c257f81b6d45 s390/alternative: use a copy of the facility bit mask
2ae89b86a77f s390: add optimized array_index_mask_nospec
2ae8b68382ce s390: scrub registers on kernel entry and KVM exit
ea5566fecd03 KVM: s390: wire up bpb feature
37e79747128b s390: enable CPU alternatives unconditionally
b44533a06fd8 s390: introduce CPU alternatives
55c80adf0d0e virtio_net: fix adding vids on big-endian
d86aacaaf9d2 virtio_net: split out ctrl buffer
16c36a2c7632 net: ethernet: ti: cpsw: fix tx vlan priority mapping
7814c479de7a llc: fix NULL pointer deref for SOCK_ZAPPED
543a60112f01 llc: hold llc_sap before release_sock()
4c2c574cf6ed net: sched: ife: check on metadata length
388f3d9708fc net: sched: ife: handle malformed tlv length
75020d6319ee tcp: clear tp->packets_out when purging write queue
da499024f6fe net: sched: ife: signal not finding metaid
2f781ebfb08f strparser: Fix incorrect strp->need_bytes value.
109feb04c851 amd-xgbe: Only use the SFP supported transceiver signals
9a66123182a6 strparser: Do not call mod_delayed_work with a timeout of LONG_MAX
346ba2f22107 amd-xgbe: Improve KR auto-negotiation and training
29b623b60549 sctp: do not check port in sctp_inet6_cmp_addr
f42036e8051e amd-xgbe: Add pre/post auto-negotiation phy hooks
dd997151740f vlan: Fix reading memory beyond skb->tail in skb_vlan_tagged_multi
88b7895e7c6d pppoe: check sockaddr length in pppoe_connect()
ed2ba25f6d50 tipc: add policy for TIPC_NLA_NET_ADDR
6da813d79cfa packet: fix bitfield update race
70a615d7daa0 team: fix netconsole setup over team
07cb0b54d7d9 net/smc: fix shutdown in state SMC_LISTEN
7b4f4d759c8e team: avoid adding twice the same option to the event list
012e5e5b6991 net: fix deadlock while clearing neighbor proxy table
d5387e66388f tcp: md5: reject TCP_MD5SIG or TCP_MD5SIG_EXT on established sockets
7c2352520e51 net: af_packet: fix race in PACKET_{R|T}X_RING
b76d3f3309cf tcp: don't read out-of-bounds opsize
cb225e80c9a3 llc: delete timers synchronously in llc_sk_free()
15efa783286c net: validate attribute sizes in neigh_dump_table()
dbf57fd1e05e l2tp: check sockaddr length in pppol2tp_connect()
c7a936b1dd0f KEYS: DNS: limit the length of option strings
a370d8a3aaf2 ipv6: sr: fix NULL pointer dereference in seg6_do_srh_encap()- v4 pkts
8d34c6773459 ipv6: add RTA_TABLE and RTA_PREFSRC to rtm_ipv6_policy
e0286ea0846c bonding: do not set slave_dev npinfo before slave_enable_netpoll in bond_enslave
5f50186dd810 Revert "ath10k: send (re)assoc peer command when NSS changed"
781eeb7af2bd tpm: add retry logic
f6891ec29c59 tpm: tpm-interface: fix tpm_transmit/_cmd kdoc
ac5881b7814d tpm: cmd_ready command can be issued only after granting locality
3b38734ed9fe i40e: Fix attach VF to VM issue
00c54b354411 drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs
94c0308279ec Revert "pinctrl: intel: Initialize GPIO properly when used through irqchip"
753be7e83bb8 Linux 4.14.37
f606893fbbc6 mac80211_hwsim: fix use-after-free bug in hwsim_exit_net
679833ea1822 Revert "KVM: X86: Fix SMRAM accessing even if VM is shutdown"
75dceb6872b3 RDMA/mlx5: Fix NULL dereference while accessing XRC_TGT QPs
01e71c218219 perf: Return proper values for user stack errors
66038084560d perf: Fix sample_max_stack maximum check
5bcf16944454 netfilter: x_tables: limit allocation requests for blob rule heads
764f2162d97a netfilter: compat: reject huge allocation requests
8d92d5336539 netfilter: compat: prepare xt_compat_init_offsets to return errors
82b68ecde5d0 netfilter: x_tables: add counters allocation wrapper
fab0b3ce67a5 netfilter: x_tables: cap allocations at 512 mbyte
89f3232c394e alarmtimer: Init nanosleep alarm timer on stack
76cd54fa70ce RDMA/core: Reduce poll batch for direct cq polling
de16dfcc510d irqchip/gic-v3: Change pr_debug message to pr_devel
4032cd4fd3ae cpumask: Make for_each_cpu_wrap() available on UP as well
c834b955d3f0 irqchip/gic-v3: Ignore disabled ITS nodes
2d8d8d23c485 perf test: Fix test trace+probe_libc_inet_pton.sh for s390x
74cd9414788c powerpc/powernv: IMC fix out of bounds memory access at shutdown
c74e004c6273 locking/qspinlock: Ensure node->count is updated before initialising node
5350cb0111d2 x86/platform/UV: Fix GAM Range Table entries less than 1GB
288b373264c5 powerpc/mm/hash64: Zero PGD pages on allocation
f4d6e4598a29 vfs/proc/kcore, x86/mm/kcore: Fix SMAP fault when dumping vsyscall user page
c064b7c1d203 PM / wakeirq: Fix unbalanced IRQ enable for wakeirq
afa0ce071488 ACPI / EC: Restore polling during noirq suspend/resume phases
85bd5c686fe9 bpf: fix rlimit in reuseport net selftest
ee5fe4bdcf2a net: stmmac: discard disabled flags in interrupt status register
26bebd5a7865 SUNRPC: Don't call __UDPX_INC_STATS() from a preemptible context
f58e4ecb9b2e KVM: PPC: Book3S HV: Fix handling of secondary HPTEG in HPT resizing code
d6b00490a04d tools/libbpf: handle issues with bpf ELF objects containing .eh_frames
327aac8ccbc5 net: Extra '_get' in declaration of arch_get_platform_mac_address
0b1fa241dd86 svcrdma: Fix Read chunk round-up
e781fff7b78f rxrpc: Don't put crypto buffers on the stack
c5ce9e5b57cc selftests/ftrace: Add some missing glob checks
ae9c78af577f cpufreq: intel_pstate: Enable HWP during system resume on CPU0
c4c9fd55899f bcache: return attach error when no cache set exist
4c8e0270dc7a bcache: fix for data collapse after re-attaching an attached device
311e31419b72 bcache: fix for allocator and register thread race
f89edd17aff4 bcache: properly set task state in bch_writeback_thread()
05921c492fdb cifs: silence compiler warnings showing up with gcc-8.0.0
4b95781cb6f3 PM / domains: Fix up domain-idle-states OF parsing
05e52e5bd103 proc: fix /proc/*/map_files lookup
4ec317a41d80 arm64: spinlock: Fix theoretical trylock() A-B-A with LSE atomics
693b9589c297 RDS: IB: Fix null pointer issue
a8e7a4e24374 bpf: sockmap, fix leaking maps with attached but not detached progs
05c062c3685e xen/grant-table: Use put_page instead of free_page
70f3461c23ff xen-netfront: Fix race between device setup and open
2f79b5e52d46 perf evsel: Fix period/freq terms setup
b1f9f9fb3f99 MIPS: Generic: Support GIC in EIC mode
76e3ea2f9563 perf record: Fix period option handling
f938c2acc829 MIPS: TXx9: use IS_BUILTIN() for CONFIG_LEDS_CLASS
3e01c16d8751 bpf: fix selftests/bpf test_kmod.sh failure when CONFIG_BPF_JIT_ALWAYS_ON=y
74abca65f1e4 ACPI / scan: Use acpi_bus_get_status() to initialize ACPI_TYPE_DEVICE devs
f920e914801c ACPI / bus: Do not call _STA on battery devices with unmet dependencies
51939996acde ACPI: processor_perflib: Do not send _PPC change notification if not ready
573cb560b4ed firmware: dmi_scan: Fix handling of empty DMI strings
ee06ed9ba518 x86/dumpstack: Avoid uninitlized variable
423505471f5e x86/power: Fix swsusp_arch_resume prototype
074372c8124c netfilter: ipv6: nf_defrag: Kill frag queue on RFC2460 failure
2cd5100363b7 s390/eadm: fix CONFIG_BLOCK include dependency
eb41efa13865 drm/nouveau/pmu/fuc: don't use movw directly anymore
fd370b8e65e3 IB/core: Map iWarp AH type to undefined in rdma_ah_find_type
f63bb02694f0 IB/ipoib: Fix for potential no-carrier state
8f96d408a954 IB/hfi1: Fix for potential refcount leak in hfi1_open_file()
5ceae7690f0d IB/hfi1: Re-order IRQ cleanup to address driver cleanup race
73027d80d67e blk-mq: fix discard merge with scheduler attached
6eddea4ba5cc openvswitch: Remove padding from packet before L3+ conntrack processing
3b1d9626fc58 mm/fadvise: discard partial page if endbyte is also EOF
1f9c87e25158 mm: pin address_space before dereferencing it while isolating an LRU page
8054b87fccd4 mm: thp: use down_read_trylock() in khugepaged to avoid long block
6acb8818eff4 sparc64: update pmdp_invalidate() to return old pmd value
78185a93d42d asm-generic: provide generic_pmdp_establish()
305e56756da7 mm/mempolicy: add nodes_empty check in SYSC_migrate_pages
6cab60ac6a0a mm/mempolicy: fix the check of nodemask from user
a7fbc7f3134a ocfs2: return error when we attempt to access a dirty bh in jbd2
a66174eb4a14 ocfs2/acl: use 'ip_xattr_sem' to protect getting extended attribute
66aaeed2796e ocfs2: return -EROFS to mount.ocfs2 if inode block is invalid
710b5124aac6 fs/dax.c: release PMD lock even when there is no PMD support in DAX
cc0600dae30f x86/kvm/vmx: do not use vm-exit instruction length for fast MMIO when running nested
d757c3a9cf4a kvm: Map PFN-type memory regions as writable (if possible)
a6a25002e6d8 tcp_nv: fix potential integer overflow in tcpnv_acked
ad10785a706e netfilter: x_tables: fix pointer leaks to userspace
2b7cc93682ac x86/hyperv: Check for required priviliges in hyperv_init()
cdf635a66c5b gianfar: prevent integer wrapping in the rx handler
67fa8bfff771 ntb_transport: Fix bug with max_mw_size parameter
d810c548157f RDMA/mlx5: Avoid memory leak in case of XRCD dealloc failure
0bddd43ac200 powerpc/numa: Ensure nodes initialized for hotplug
0caebc381032 powerpc/numa: Use ibm,max-associativity-domains to discover possible nodes
b086dd2d79d9 samples/bpf: Partially fixes the bpf.o build
64e5e46cdd8b i40e: fix reported mask for ntuple filters
1ec85fe4e259 i40e: program fragmented IPv4 filter input set
7addb3e4ad3d ixgbe: don't set RXDCTL.RLPML for 82599
27eb641f2368 jffs2: Fix use-after-free bug in jffs2_iget()'s error handling path
19b3638ce460 RDMA/uverbs: Use an unambiguous errno for method not supported
827aab45cb16 crypto: artpec6 - remove select on non-existing CRYPTO_SHA384
592ea370bf1c device property: Define type of PROPERTY_ENRTY_*() macros
c5fda2b8610b tty: serial: exar: Relocate sleep wake-up handling
519a7119527c x86/hyperv: Stop suppressing X86_FEATURE_PCID
9a1dda252663 fm10k: fix "failed to kill vid" message for VF
0e7a0c139cbf igb: Clear TXSTMP when ptp_tx_work() is timeout
187bf28199d8 igb: Allow to remove administratively set MAC on VFs
048af64fd48f ASoC: rockchip: Use dummy_dai for rt5514 dsp dailink
f25ba4f6be4a blk-mq-debugfs: don't allow write on attributes with seq_operations set
a42ebbdae0a5 KVM: s390: vsie: use READ_ONCE to access some SCB fields
48d441324a58 platform/x86: thinkpad_acpi: suppress warning about palm detection
b9d78055c6ae i40evf: ignore link up if not running
09f6d65db13b i40evf: Don't schedule reset_task when device is being removed
7c7ae4ed2fcd bpf: test_maps: cleanup sockmaps when test ends
c6c6e38aeff2 block: Set BIO_TRACE_COMPLETION on new bio during split
f2e73df302f3 nfp: fix error return code in nfp_pci_probe()
8591958413bf HID: roccat: prevent an out of bounds read in kovaplus_profile_activated()
6a5505da41fa Input: stmfts - set IRQ_NOAUTOEN to the irq flag
8afed2798e50 scsi: fas216: fix sense buffer initialization
800fda575b11 scsi: devinfo: fix format of the device list
a09881cfb713 f2fs: avoid hungtask when GC encrypted block if io_bits is set
889177d172d3 RDMA/cma: Check existence of netdevice during port validation
48b8839d91a4 Btrfs: raid56: fix race between merge_bio and rbio_orig_end_io
ebe064401f07 Btrfs: fix unexpected EEXIST from btrfs_get_extent
c231cec825a9 btrfs: fail mount when sb flag is not in BTRFS_SUPER_FLAG_SUPP
d91bb7c6988b Btrfs: fix scrub to repair raid6 corruption
db6d651eccde btrfs: Fix out of bounds access in btrfs_search_slot
a4909c8518f7 Btrfs: set plug for fsync
fb5d97a19fc3 ipmi/powernv: Fix error return code in ipmi_powernv_probe()
afadc440a1cc mac80211_hwsim: fix possible memory leak in hwsim_new_radio_nl()
18004e6f26ec kconfig: Fix expr_free() E_NOT leak
0f511f3dda8c kconfig: Fix automatic menu creation mem leak
8bf116b258c2 kconfig: Don't leak main menus during parsing
9f2df99f9eb0 watchdog: sp5100_tco: Fix watchdog disable bit
ebf5ffca1bf2 PCI: Add dummy pci_irqd_intx_xlate() for CONFIG_PCI=n build
c212c855a09d MIPS: Fix clean of vmlinuz.{32,ecoff,bin,srec}
81fbb7e26ea1 nfs: Do not convert nfs_idmap_cache_timeout to jiffies
35ceddc59cd4 IB/cq: Don't force IB_POLL_DIRECT poll context for ib_process_cq_direct
58bc0fd8434d spi: a3700: Clear DATA_OUT when performing a read
5bb5b9c68192 net: stmmac: dwmac-meson8b: propagate rate changes to the parent clock
5bfa11c96192 net: stmmac: dwmac-meson8b: fix setting the RGMII TX clock on Meson8b
2a71a742f09b ubifs: Fix uninitialized variable in search_dh_cookie()
a1dfcb01e374 blk-mq: turn WARN_ON in __blk_mq_run_hw_queue into printk
2e102fe86ede dm mpath: return DM_MAPIO_REQUEUE on blk-mq rq allocation failure
223ed638e937 dm thin: fix documentation relative to low water mark threshold
e9c8a5fa078c iommu/vt-d: Use domain instead of cache fetching
6ec6bd8ec2e3 powerpc: System reset avoid interleaving oops using die synchronisation
bc5fddf315f8 iommu/exynos: Don't unconditionally steal bus ops
77d17d0e8934 perf record: Fix failed memory allocation for get_cpuid_str
1fe5e88c389a tools lib traceevent: Fix get_field_str() for dynamic strings
4e63115b6b9d perf callchain: Fix attr.sample_max_stack setting
448bcd67b4c5 tools lib traceevent: Simplify pointer print logic and fix %pF
0eda4d03ef4c perf unwind: Do not look just at the global callchain_param.record_mode
f3a7d11834f3 scsi: qla2xxx: Fix warning in qla2x00_async_iocb_timeout()
f3ce194cae63 i40iw: Zero-out consumer key on allocate stag for FMR
b3b2ca24d9f7 i40iw: Free IEQ resources
0d5ef8956c84 Input: synaptics - reset the ABS_X/Y fuzz after initializing MT axes
0d9a46ae3204 libbpf: Makefile set specified permission mode
d925c3087422 Input: psmouse - fix Synaptics detection when protocol is disabled
03fdc4ef7a67 PCI: Add function 1 DMA alias quirk for Marvell 9128
c45ab4fb384c selftest: ftrace: Fix to pick text symbols for kprobes
342d9092a501 xprtrdma: Fix backchannel allocation of extra rpcrdma_reps
79f2ced39657 platform/x86: dell-laptop: Filter out spurious keyboard backlight change events
80bd91ab9ad8 KVM: s390: use created_vcpus in more places
a5a8ca753c0c tracing/hrtimer: Fix tracing bugs by taking all clock bases and modes into account
e0a1cec3db0a netfilter: ipv6: nf_defrag: Pass on packets to stack per RFC2460
ddf09f2a0896 KVM: PPC: Book3S HV: Enable migration of decrementer register
b7b27e19e374 RDMA/core: Clarify rdma_ah_find_type
8e40eae185f8 kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl
3f3017fa1540 ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read()
d3222cfc0b58 ALSA: hda - Use IS_REACHABLE() for dependency on input
4e7284b34c78 ACPI / LPSS: Do not instiate platform_dev for devs without MMIO resources
7a420b5d95a5 NFSv4: always set NFS_LOCK_LOST when a lock is lost.
239c948e3266 x86/tsc: Allow TSC calibration without PIT
4a5d70332d57 firewire-ohci: work around oversized DMA reads on JMicron controllers
1f52b0c64215 usb: musb: Fix external abort in musb_remove on omap2430
de4c4914cce2 usb: musb: call pm_runtime_{get,put}_sync before reading vbus registers
43de32cdf0f4 usb: musb: fix enumeration after resume
829239740c12 drm/i915/bxt, glk: Increase PCODE timeouts during CDCLK freq changing
5c825627d4e5 drm/i915: Fix LSPCON TMDS output buffer enabling from low-power state
6312eff3c70e drm/i915: Do no use kfree() to free a kmem_cache_alloc() return value
8e0489cf4d09 drm/i915/audio: Fix audio detection issue on GLK
c53f225fd792 drm/i915/gvt: throw error on unhandled vfio ioctls
325abf3db041 drm/vc4: Fix memory leak during BO teardown
08641a24d4e7 x86/tsc: Prevent 32bit truncation in calc_hpet_ref()
c6aaaaa4d62a clocksource/imx-tpm: Correct -ETIME return condition check
b8d4055372b5 x86/acpi: Prevent X2APIC id 0xffffffff from being accounted
f6edc45e21c3 btrfs: fix unaligned access in readdir
240a52868485 cifs: do not allow creating sockets except with SMB1 posix exensions
d6949f48093c Linux 4.14.36
7c9b87a78a17 writeback: safer lock nesting
071ff203d962 media: staging: lirc_zilog: incorrect reference counting
e7a08ffb2d89 Revert "media: lirc_zilog: driver only sends LIRCCODE"
8caa4c5fde76 iwlwifi: add a bunch of new 9000 PCI IDs
0c61952c3d19 iwlwifi: add shared clock PHY config flag for some devices
30593709f80d net: dsa: Discard frames from unused ports
90a32d1f0ec9 mm/filemap.c: fix NULL pointer in page_cache_tree_insert()
5e7575c6690a autofs: mount point create should honour passed in mode
d4d49cb1c20a Don't leak MNT_INTERNAL away from internal mounts
085125572a45 rpc_pipefs: fix double-dput()
0bb4a6f2ff1a orangefs_kill_sb(): deal with allocation failures
bb5def77d0a1 hypfs_kill_super(): deal with failed allocations
c780ac96e120 jffs2_kill_sb(): deal with failed allocations
22ec5ee71086 drm/i915: Correctly handle limited range YCbCr data on VLV/CHV
4bddb1209a6d mmc: sdhci-pci: Only do AMD tuning for HS200
28f46dee49d3 fanotify: fix logic of events on child
a2a9d0190f99 udf: Fix leak of UTF-16 surrogates into encoded strings
f86815184c47 powerpc/lib: Fix off-by-one in alternate feature patching
ce3b0b0589a8 powerpc/xive: Fix trying to "push" an already active pool VP
49a52f7d9274 powerpc/eeh: Fix enabling bridge MMIO windows
a5f6e787b9b0 MIPS: memset.S: Fix clobber of v1 in last_fixup
6da34ca1ca3e MIPS: memset.S: Fix return of __clear_user from Lpartial_fixup
7b34760dc682 MIPS: memset.S: EVA & fault support for small_memset
23f5562852b9 MIPS: uaccess: Add micromips clobbers to bzero invocation
1da964d421da HID: wacom: bluetooth: send exit report for recent Bluetooth devices
0e159a9e1823 HID: hidraw: Fix crash on HIDIOCGFEATURE with a destroyed device
27840bc4ebb2 HID: input: fix battery level reporting on BT mice
90936d903c2f random: add new ioctl RNDRESEEDCRNG
d152fcc17314 random: crng_reseed() should lock the crng instance that it is modifying
7b6b1f3a1923 random: use a different mixing algorithm for add_device_randomness()
6e513bc20ca6 random: fix crng_ready() test
8036cdaa1b13 ALSA: hda/realtek - adjust the location of one mic
adc02ac60919 ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags
11e9bed2b971 ALSA: hda - New VIA controller suppor no-snoop path
fcf38cf55e28 ALSA: rawmidi: Fix missing input substream checks in compat ioctls
43b3e7915edd ALSA: line6: Use correct endpoint type for midi output
bdc6f4c3db08 drm/radeon: Fix PCIe lane width calculation
110b72d9351f drm/radeon: add PX quirk for Asus K73TK
791469d6b882 drm/rockchip: Clear all interrupts before requesting the IRQ
f188464e3d54 drm/amdgpu/si: implement get/set pcie_lanes asic callback
f056e3339741 drm/amdgpu: Fix PCIe lane width calculation
57e56826611a drm/amdgpu/sdma: fix mask in emit_pipeline_sync
c73d9e350085 drm/amdgpu: Fix always_valid bos multiple LRU insertions.
674b6963cec2 drm/amdgpu: Add an ATPX quirk for hybrid laptop
312d02879f9f ALSA: pcm: Fix endless loop for XRUN recovery in OSS emulation
157113cb7c89 ALSA: pcm: Fix mutex unbalance in OSS emulation ioctls
048747b04842 ALSA: pcm: Return -EBUSY for OSS ioctls changing busy streams
bd889a82fb01 ALSA: pcm: Avoid potential races between OSS ioctls and read/write
4d2ea307ffa1 ALSA: pcm: Use ERESTARTSYS instead of EINTR in OSS emulation
2ccdea040e81 vfio/pci: Virtualize Maximum Read Request Size
23a63d96e015 watchdog: f71808e_wdt: Fix WD_EN register read
28fe0fba29f2 dt-bindings: clock: mediatek: add binding for fixed-factor clock axisel_d4
ecb67e92d42e thermal: imx: Fix race condition in imx_thermal_probe()
c9b200ce2be5 pwm: rcar: Fix a condition to prevent mismatch value setting to duty
ff18ffb1f81d clk: bcm2835: De-assert/assert PLL reset signal when appropriate
dc7a428ae26f clk: mediatek: fix PWM clock source by adding a fixed-factor clock
d8b6fdbe513d clk: fix false-positive Wmaybe-uninitialized warning
37d8947c0b07 clk: mvebu: armada-38x: add support for missing clocks
f13b4a61989f PCI: Mark Broadcom HT1100 and HT2000 Root Port Extended Tags as broken
4b684fbbc58e mmc: tmio: Fix error handling when issuing CMD23
e5e2841e20ff mmc: jz4740: Fix race condition in IRQ mask update
180d28f824ce iommu/vt-d: Fix a potential memory leak
5a999c2bef68 um: Use POSIX ucontext_t instead of struct ucontext
f57f3f346d05 um: Compile with modern headers
dc0f00327452 ring-buffer: Check if memory is available before allocation
4171ea2471a1 nfit: skip region registration for incomplete control regions
5520091356b0 nfit, address-range-scrub: fix scrub in-progress reporting
b68b77c935dd libnvdimm, namespace: use a safe lookup for dimm device name
45980ba59916 libnvdimm, dimm: fix dpa reservation vs uninitialized label area
a43d8e0ee79d tpm: self test failure should not cause suspend to fail
c1edd3b19f30 cxl: Fix possible deadlock when processing page faults from cxllib
156b45ed2207 dmaengine: at_xdmac: fix rare residue corruption
e99ca1ee070d IB/srp: Fix completion vector assignment algorithm
fe71b03e6983 IB/srp: Fix srp_abort()
0bb5579128e6 ALSA: pcm: Fix UAF at PCM release via PCM timer access
d3b14a66e14b RDMA/rxe: Fix an out-of-bounds read
28ce82e3c8b1 RDMA/mlx5: Protect from NULL pointer derefence
b140d9468870 RDMA/ucma: Don't allow setting RDMA_OPTION_IB_PATH without an RDMA device
79fbd052ea63 dm crypt: limit the number of allocated pages
e7793f2a2ac8 ext4: add extra checks to ext4_xattr_block_get()
9703952178f1 ext4: add bounds checking to ext4_xattr_find_entry()
598e04ae2fc4 ext4: move call to ext4_error() into ext4_xattr_check_block()
b2623d816656 ext4: don't allow r/w mounts if metadata blocks overlap the superblock
26dbb30c58ff ext4: always initialize the crc32c checksum driver
8e0e94683f84 ext4: fail ext4_iget for root directory if unallocated
a57eb14b740e ext4: limit xattr size to INT_MAX
5058b70d2118 ext4: protect i_disksize update by i_data_sem in direct write path
bd499f553849 ext4: don't update checksum of new initialized bitmaps
73297f13a003 ext4: pass -ESHUTDOWN code to jbd2 layer
09439481998a ext4: eliminate sleep from shutdown ioctl
7ebcea259682 ext4: shutdown should not prevent get_write_access
867175f94485 jbd2: if the journal is aborted then don't allow update of the log tail
6151a5a45fc4 block: use 32-bit blk_status_t on Alpha
7044bf9ef6c8 extcon: intel-cht-wc: Set direction and drv flags for V5 boost GPIO
b0afd9d1cb5a random: use a tighter cap in credit_entropy_bits_safe()
439e8b2dcab1 irqchip/gic: Take lock when updating irq type
283637785763 thunderbolt: Prevent crash when ICM firmware is not running
5ae695df59e1 thunderbolt: Resume control channel after hibernation image is created
7a4a66c504fb thunderbolt: Serialize PCIe tunnel creation with PCI rescan
6f40f6ee22b9 thunderbolt: Wait a bit longer for ICM to authenticate the active NVM
73b969f6a920 ASoC: topology: Fix kcontrol name string handling
7e23ef535073 ASoC: ssm2602: Replace reg_default_raw with reg_default
1b3d2e7a3409 soc: mediatek: fix the mistaken pointer accessed when subdomains are added
3f306336cdee HID: core: Fix size as type u32
f671ac7a5317 HID: Fix hid_report_len usage
25b6ee378dc4 powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops
7c854f2e1ff0 powerpc/powernv: define a standard delay for OPAL_BUSY type retry loops
a55d2c9d42f9 powerpc/kexec_file: Fix error code when trying to load kdump kernel
fa99a3470e91 powerpc/kprobes: Fix call trace due to incorrect preempt count
3df05fcf8911 powerpc/64: Fix smp_wmb barrier definition use use lwsync consistently
1699bd03742d powerpc/64: Call H_REGISTER_PROC_TBL when running as a HPT guest on POWER9
f4eff13a2780 powerpc/64s: Fix dt_cpu_ftrs to have restore_cpu clear unwanted LPCR bits
c3baeca67d85 powerpc/powernv: Handle unknown OPAL errors in opal_nvram_write()
693b03f9b185 CIFS: fix sha512 check in cifs_crypto_secmech_release
7a55d160b730 CIFS: add sha512 secmech
0910e2804f2e CIFS: refactor crypto shash/sdesc allocation&free
fd5cc02cbef9 i2c: i801: Restore configuration at shutdown
44ff2389a840 i2c: i801: Save register SMBSLVCMD value only once
d6b3a5c87d45 HID: i2c-hid: fix size check and type usage
70dbed63a96d smb3: Fix root directory when server returns inode number of zero
bf895b2a637d fix smb3-encryption breakage when CONFIG_DEBUG_SG=y
fdbd79540520 cifs: fix memory leak in SMB2_open()
59d3a952e4f3 usb: dwc3: gadget: never call ->complete() from ->ep_queue()
093dcb929c8e usb: dwc3: pci: Properly cleanup resource
30e9a1cddc4d usb: dwc3: prevent setting PRTCAP to OTG from debugfs
f7f9187a110e USB:fix USB3 devices behind USB3 hubs not resuming at hibernate thaw
96dc465173a1 USB: gadget: f_midi: fixing a possible double-free in f_midi
a2b540651d8c ACPI / hotplug / PCI: Check presence of slot itself in get_slot_status()
d6e98387b2e9 ACPI / video: Add quirk to force acpi-video backlight on Samsung 670Z5E
3dac1fe2719d regmap: Fix reversed bounds check in regmap_raw_write()
666d1084c13d xen-netfront: Fix hang on device removal
e7b00dc28275 x86/xen: Delay get_cpu_cap until stack canary is established
fcd054c733cf media: vsp1: Fix BRx conditional path in WPF
2fb28b075f80 media: vivid: check if the cec_adapter is valid
9864a1ef8679 media: atomisp_fops.c: disable atomisp_compat_ioctl32
9629964f032c spi: Fix unregistration of controller with fixed SPI bus number
e4ff723039dc spi: Fix scatterlist elements size in spi_map_buf
faddb17685f9 spi: atmel: init FIFOs before spi enable
38866e866121 ARM: dts: at91: sama5d4: fix pinctrl compatible string
c57b7e1a150e ARM: dts: exynos: Fix IOMMU support for GScaler devices on Exynos5250
838ea3802e9d ARM: dts: at91: at91sam9g25: fix mux-mask pinctrl property
958d6e41888f arm: dts: mt7623: fix USB initialization fails on bananapi-r2
2106cd34635e ARM: EXYNOS: Fix coupled CPU idle freeze on Exynos4210
326e61ce9761 ARM: dts: da850-lego-ev3: Fix battery voltage gpio
8f1a2803e4c2 KVM: arm/arm64: vgic-its: Fix potential overrun in vgic_copy_lpi_list
8fdbba69cb34 ARM64: dts: meson: reduce odroid-c2 eMMC maximum rate
7732495c599c usb: gadget: udc: core: update usb_ep_queue() documentation
aea6c0b4aee8 phy: allwinner: sun4i-usb: poll vbus changes on A23/A33 when driving VBUS
334d8f201ef5 usb: musb: gadget: misplaced out of bounds check
20eaa393fcd3 mm, slab: reschedule cache_reap() on the same CPU
703eee654360 ipc/shm: fix use-after-free of shm file via remap_file_pages()
c25ef6220fac resource: fix integer overflow at reallocation
f659e7e79f52 fs/reiserfs/journal.c: add missing resierfs_warning() arg
6337067b2ab6 task_struct: only use anon struct under randstruct plugin
28cb085f1598 mm/hmm: hmm_pfns_bad() was accessing wrong struct
963722d031e5 mm/hmm: fix header file if/else/endif maze
e84e6914ccb4 mm/ksm.c: fix inconsistent accounting of zero pages
577b4eb23811 ubi: Reject MLC NAND
7ade852714de ubi: Fix error for write access
bf3fbf54a9ae ubi: fastmap: Don't flush fastmap work on detach
09844df06087 ubifs: Check ubifs_wbuf_sync() return code
f1e90bf95e55 cpufreq: CPPC: Use transition_delay_us depending transition_latency
9427a4aecf23 tty: make n_tty_read() always abort if hangup is in progress
672f07d8274b Linux 4.14.35
9a0a509839f3 nfsd: fix incorrect umasks
61534984904e hugetlbfs: fix bug in pgoff overflow checking
0319ce67b793 xen: xenbus_dev_frontend: Fix XS_TRANSACTION_END handling
80f509d4919d ovl: fix lookup with middle layer opaque dir and absolute path redirects
5ee935daaaeb blk-mq: don't keep offline CPUs mapped to hctx 0
a333a284fff2 lib: fix stall in __bitmap_parselist()
f9e66750d4bd f2fs: fix heap mode to reset it back
e4fa275b8fdd sunrpc: remove incorrect HMAC request initialization
3d06535693a3 ath9k: Protect queue draining by rcu_read_lock()
aa3bfa29fcd5 hwmon: (ina2xx) Fix access to uninitialized mutex
360ecf51864e x86/mce/AMD: Get address from already initialized block
c81968e93aca x86/mce/AMD, EDAC/mce_amd: Enumerate Reserved SMCA bank type
0ee4f31673af x86/mce/AMD: Pass the bank number to smca_get_bank_type()
99971efd7d9a x86/MCE: Report only DRAM ECC as memory errors on AMD systems
a2813b4cfe3b rtl8187: Fix NULL pointer dereference in priv->conf_mutex
9e483bc229f5 Bluetooth: hci_bcm: Treat Interrupt ACPI resources as always being active-low
f58ef38ef1a8 Bluetooth: Fix connection if directed advertising and privacy is used
c3efeaa3b154 getname_kernel() needs to make sure that ->name != ->iname in long case
adea72f0e570 get_user_pages_fast(): return -EFAULT on access_ok failure
3da5723b4f05 s390/ipl: ensure loadparm valid flag is set
c6c8e42071dc s390/qdio: don't merge ERROR output buffers
b6366b15a267 s390/qdio: don't retry EQBS after CCQ 96
3a6771e2fb32 nfit: fix region registration vs block-data-window ranges
51a9580d67a2 block/loop: fix deadlock after loop_set_status
54b990ede4c3 apparmor: fix resource audit messages when auditing peer
a0358f605283 apparmor: fix display of .ns_name for containers
1d0d8beb35cd apparmor: fix logging of the existence test for signals
b18daa09fefe scsi: qla2xxx: Fix small memory leak in qla2x00_probe_one on probe failure
0ed20e4b52af x86/MCE/AMD: Define a function to get SMCA bank type
8e52e2f41c43 radeon: hide pointless #warning when compile testing
6f22be4ba787 perf/core: Fix use-after-free in uprobe_perf_close()
674e18de7bde perf intel-pt: Fix timestamp following overflow
4039579fca38 perf intel-pt: Fix error recovery from missing TIP packet
0733facf3be9 perf intel-pt: Fix sync_switch
ff295906bd9b perf intel-pt: Fix overlap detection to identify consecutive buffers correctly
42b53a13ecac KVM: PPC: Book3S HV: trace_tlbie must not be called in realmode
5661d43b03c5 PCI: hv: Serialize the present and eject work items
a160105b5503 Drivers: hv: vmbus: do not mark HV_PCIE as perf_device
abd9fd4a3b04 parisc: Fix HPMC handler by increasing size to multiple of 16 bytes
08be2c1b6bb6 parisc: Fix out of array access in match_pci_device()
4d167edf0f6a media: v4l: vsp1: Fix header display list status check in continuous mode
e7a4d7c2fe38 media: v4l2-compat-ioctl32: don't oops on overlay
c0e0cd653e6a lan78xx: Correctly indicate invalid OTP
2ea541eb4064 vhost: Fix vhost_copy_to_user()
e240ffd5a3be vhost: fix vhost_vq_access_ok() log check
381ebff25898 slip: Check if rstate is initialized before uncompressing
427b8a146973 rds: MP-RDS may use an invalid c_path
856d5d075a92 cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN
073e82701bc0 netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()
ffebeb0d7c37 Linux 4.14.34
fdae5b620566 net/mlx4_core: Fix memory leak while delete slave's resources
9fdeb33e1913 vhost_net: add missing lock nesting notation
8c316b625705 team: move dev_mc_sync after master_upper_dev_link in team_port_add
233ba28e1862 route: check sysctl_fib_multipath_use_neigh earlier than hash
2f8aa659d4c0 vhost: validate log when IOTLB is enabled
72b880f43990 net/mlx5e: Fix traffic being dropped on VF representor
9408bceb0649 net/mlx4_en: Fix mixed PFC and Global pause user control requests
477c73abf26a strparser: Fix sign of err codes
1c71bfe84deb net/sched: fix NULL dereference on the error path of tcf_skbmod_init()
a19024a3f343 net/sched: fix NULL dereference in the error path of tunnel_key_init()
e096c8bf4fb8 net/mlx5e: Sync netdev vxlan ports at open
baab1f0c4885 net/mlx5e: Don't override vport admin link state in switchdev mode
1ec7966ab7db ipv6: sr: fix seg6 encap performances with TSO enabled
e52a45bb392f nfp: use full 40 bits of the NSP buffer address
ddf79878f1e0 net/mlx5e: Fix memory usage issues in offloading TC flows
9282181c1cc5 net/mlx5e: Avoid using the ipv6 stub in the TC offload neigh update path
b9c6ddda3805 vti6: better validate user provided tunnel names
109dce20c6ed ip6_tunnel: better validate user provided tunnel names
72363c63b070 ip6_gre: better validate user provided tunnel names
a7309cad9c2e ipv6: sit: better validate user provided tunnel names
6816295fe958 ip_tunnel: better validate user provided tunnel names
048a64fbc229 net: fool proof dev_valid_name()
77b9fc371d4d bonding: process the err returned by dev_set_allmulti properly in bond_enslave
22ab1f8751fa bonding: move dev_mc_sync after master_upper_dev_link in bond_enslave
d7e7ab42581e bonding: fix the err path for dev hwaddr sync in bond_enslave
65c42a2d475d vrf: Fix use after free and double free in vrf_finish_output
09cb8267add5 vlan: also check phy_driver ts_info for vlan's real device
4f288c97b5c5 vhost: correctly remove wait queue during poll failure
c5fc4dc51cb0 sky2: Increase D3 delay to sky2 stops working after suspend
3fdd43709d70 sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6
3f80d01bbd87 sctp: do not leak kernel memory to user space
c17f6594abfa r8169: fix setting driver_data after register_netdev
a7c8900c1fc2 pptp: remove a buggy dst release in pptp_connect()
21563c4df30e net/sched: fix NULL dereference in the error path of tcf_bpf_init()
cd19a9b12ab4 net sched actions: fix dumping which requires several messages to user space
787b940625ca netlink: make sure nladdr has correct size in netlink_connect()
7948bc92791b net/ipv6: Increment OUTxxx counters after netfilter hook
d1b820bd98a1 net/ipv6: Fix route leaking between VRFs
589a3f305185 net: fix possible out-of-bound read in skb_network_protocol()
629eeaaccb23 lan78xx: Crash in lan78xx_writ_reg (Workqueue: events lan78xx_deferred_multicast_write)
52f0a5ff60e4 ipv6: the entire IPv6 header chain must fit the first fragment
cdd74d6ac80e arp: fix arp_filter on l3slave devices
8413a3a63d37 x86/microcode: Fix CPU synchronization routine
c81d7069dcd6 x86/microcode: Attempt late loading only when new microcode is present
b0b1ac38e018 x86/microcode: Synchronize late microcode loading
509df2b865f1 x86/microcode: Request microcode on the BSP
d2725848230d x86/microcode/intel: Look into the patch cache first
e87c2b553a35 x86/microcode: Do not upload microcode if CPUs are offline
1707112c82fa x86/microcode/intel: Writeback and invalidate caches before updating microcode
170f8ec16c22 x86/microcode/intel: Check microcode revision before updating sibling threads
22cc8816d013 x86/microcode: Get rid of struct apply_microcode_ctx
35da0d504a98 x86/CPU: Check CPU feature bits after microcode upgrade
00ba4bcf4b92 x86/CPU: Add a microcode loader callback
962e6b2d1665 x86/microcode: Propagate return value from updating functions
b6a11be5c433 crypto: arm64/aes-ce-cipher - move assembler code to .S file
f1b46925f59e objtool: Add Clang support
5dff63583f0d thermal: int3400_thermal: fix error handling in int3400_thermal_probe()
bc166ca4234c tcmu: release blocks for partially setup cmds
6a88a999c45d perf tools: Fix copyfile_offset update of output offset
7cae67e31292 crypto: aes-generic - build with -Os on gcc-7+
3847b9e016df mtd: mtd_oobtest: Handle bitflips during reads
88f6f0490f8c Input: goodix - disable IRQs while suspended
c427d7e44a32 ibmvnic: Don't handle RX interrupts when not up.
62eaf7e149a5 sdhci: Advertise 2.0v supply on SDIO host controller
997901406c0a x86/gart: Exclude GART aperture from vmcore
4aafb8cdcc11 gpio: thunderx: fix error return code in thunderx_gpio_probe()
cfafed12f459 RDMA/cma: Fix rdma_cm path querying for RoCE
15dfb9baba2c scsi: megaraid_sas: unload flag should be set after scsi_remove_host is called
70077054384d scsi: megaraid_sas: Error handling for invalid ldcount provided by firmware in RAID map
b432f980596c cxgb4vf: Fix SGE FL buffer initialization logic for 64K pages
d017aeb58a3e i40evf: don't rely on netif_running() outside rtnl_lock()
d96a094c987f uio_hv_generic: check that host supports monitor page
28b35f9aa0c0 EDAC, mv64x60: Fix an error handling path
effbffc91da3 block, bfq: put async queues for root bfq groups too
4ed8692bb2d6 tty: n_gsm: Allow ADM response in addition to UA for control dlci
8976d64b2f0f blk-mq: fix kernel oops in blk_mq_tag_idle()
b728b7e24fbc scsi: libsas: initialize sas_phy status according to response of DISCOVER
f890a23603e3 scsi: libsas: fix error when getting phy events
8644d14c3240 scsi: libsas: fix memory leak in sas_smp_get_phy_events()
fad9bcb1176b bcache: segregate flash only volume write streams
ef60904109f4 bcache: stop writeback thread after detaching
71468ce63dc9 bcache: ret IOERR when read meets metadata error
b20482cebfb2 net: hns3: fix for changing MTU
be6a161e1302 net: hns3: Fix an error macro definition of HNS3_TQP_STAT
611abba6eb68 net: hns3: Fix a loop index error of tqp statistics query
5669ec0b9588 net: hns3: Fix an error of total drop packet statistics
35a9ebd920aa net/mlx5: Fix race for multiple RoCE enable
46d19334ca40 wl1251: check return from call to wl1251_acx_arp_ip_filter
f722a6a61179 rt2x00: do not pause queue unconditionally on error path
1530dcc90331 power: supply: axp288_charger: Properly stop work on probe-error / remove
87b9099cf141 ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()'
89deb4ad015b staging: lustre: disable preempt while sampling processor id.
01ff15fcf466 perf report: Fix a no annotate browser displayed issue
3b3fb4be7ca1 tpm: return a TPM_RC_COMMAND_CODE response if command is not implemented
f0504bf54b4d nvme_fcloop: fix abort race condition
39ede1fd200f nvme_fcloop: disassocate local port structs
5391891c0a46 pinctrl: baytrail: Enable glitch filter for GPIOs used as interrupts
dd3e1a4e769e backlight: tdo24m: Fix the SPI CS between transfers
fb1ef85d5885 blk-mq: fix race between updating nr_hw_queues and switching io sched
eaa077800ff6 blk-mq: avoid to map CPU into stale hw queue
cf4c90693651 IB/rdmavt: Allocate CQ memory on the correct node
da5e12ab599a powernv-cpufreq: Add helper to extract pstate from PMSR
1f1e5ca1c737 gpio: label descriptors using the device name
e985dcf4fa1b vfb: fix video mode and line_length being set when loaded
bb23fbd8fb06 mac80211: Fix setting TX power on monitor interfaces
74f5124bc3ff ACPI: EC: Fix debugfs_create_*() usage
04568f4df228 irqchip/gic-v3: Fix the driver probe() fail due to disabled GICC entry
b5d2cafbe359 scsi: mpt3sas: Proper handling of set/clear of "ATA command pending" flag.
3807b6fec674 scsi: libiscsi: Allow sd_shutdown on bad transport
978c2812b805 spi: sh-msiof: Fix timeout failures for TX-only DMA transfers
1d65600e9722 ASoC: Intel: cht_bsw_rt5645: Analog Mic support
522371c28210 ASoC: Intel: Skylake: Disable clock gating during firmware and library download
543d317db8be media: videobuf2-core: don't go out of the buffer range
6e7b07606bfe clk: sunxi-ng: a83t: Add M divider to TCON1 clock
bd4a96921d8b hwmon: (ina2xx) Make calibration register value fixed
ddc09c522035 RDMA/cma: Mark end of CMA ID messages
7743aa143055 selftests/net: fix bugs in address and port initialization
b72d39b1da82 PM / devfreq: Fix potential NULL pointer dereference in governor_store
e6bc3a4b0c23 clk: divider: fix incorrect usage of container_of
1cf98fd005f5 watchdog: dw_wdt: add stop watchdog operation
db470ce8c6ee VFS: close race between getcwd() and d_move()
87a25a385832 net/mlx4_en: Change default QoS settings
378259c7d0a2 ACPI / video: Default lcd_only to true on Win8-ready and newer machines
ea620e414bde rds; Reset rs->rs_bound_addr in rds_add_bound() failure path
ab4ac0fc4712 l2tp: fix missing print session offset info
fcb762cb4b5c net: hns3: fix for getting auto-negotiation state in hclge_get_autoneg
f7b0ea2245a0 net: hns3: free the ring_data structrue when change tqps
93b8f4a2302b perf evsel: Enable ignore_missing_thread for pid option
d606bac136ec perf probe: Add warning message if there is unexpected event name
3efc86f667fc perf probe: Find versioned symbols from map
ea40afb5c379 thermal: power_allocator: fix one race condition issue for thermal_instances list
fd78be4b37cc ipv6: Reinject IPv6 packets if IPsec policy matches after SNAT
78728d84f338 Bluetooth: Add a new 04ca:3015 QCA_ROME device
2e9a8b6a7d52 ARM: dts: ls1021a: add "fsl,ls1021a-esdhc" compatible string to esdhc node
800ffac10754 clk: meson: mpll: use 64-bit maths in params_from_rate
fbd4d9046a1a i40iw: Validate correct IRD/ORD connection parameters
c5cd3cc217a9 i40iw: Correct Q1/XF object count equation
0bc82eae1256 i40iw: Fix sequence number for the first partial FPDU
b867b7a7e590 Linux 4.14.33
6bc3a54e06c6 Revert "ip6_vti: adjust vti mtu according to mtu of lower device"
cfbed9b55636 Revert "cpufreq: Fix governor module removal race"
a99aaeccdefd Revert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin"
118118eb3818 Revert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin"
92e3d3f67d79 Fix slab name "biovec-(1<<(21-12))"
b31397c9b945 net: hns: Fix ethtool private flags
9b47e99ac970 ARM: dts: DRA76-EVM: Set powerhold property for tps65917
52dcf4a6afbc vt: change SGR 21 to follow the standards
8ac678a4b363 Input: i8042 - enable MUX on Sony VAIO VGN-CS series to fix touchpad
4043155add40 Input: i8042 - add Lenovo ThinkPad L460 to i8042 reset list
ac72f0080c1a Input: ALPS - fix TrackStick detection on Thinkpad L570 and Latitude 7370
0d3f8c0217f9 Revert "base: arch_topology: fix section mismatch build warnings"
a59779368b33 staging: comedi: ni_mio_common: ack ai fifo error interrupts.
4be89529c013 Btrfs: fix unexpected cow in run_delalloc_nocow
62532640c8e1 crypto: x86/cast5-avx - fix ECB encryption when long sg follows short one
b5a888390998 crypto: arm,arm64 - Fix random regeneration of S_shipped
ee54953ecd47 crypto: ccp - return an actual key size from RSA max_size callback
056f3bd2399b crypto: caam - Fix null dereference at error path
c3657fd0c15f crypto: ahash - Fix early termination in hash walk
ad35fdc00a7c crypto: testmgr - Fix incorrect values in PKCS#1 test vector
41e960b042fc crypto: inside-secure - fix clock management
77827f3d63d0 crypto: lrw - Free rctx->ext with kzfree
3c6096ca8e49 parport_pc: Add support for WCH CH382L PCI-E single parallel port card.
1f17d5033fe3 media: usbtv: prevent double free in error case
5f834dd24bae /dev/mem: Avoid overwriting "err" in read_mem()
66a65ca5b8fd mei: remove dev_err message on an unsupported ioctl
cbf733ca587c serial: 8250: Add Nuvoton NPCM UART
c0aed3667b3d USB: serial: cp210x: add ELDAT Easywave RX09 id
f4d01432eeda USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator
e1e87ebd5b79 USB: serial: ftdi_sio: add RT Systems VX-8 cable
ac5a36bb6957 bitmap: fix memset optimization on big-endian systems
52a0c9a14f52 usb: dwc2: Improve gadget state disconnection handling
87a97ab15e44 Bluetooth: Fix missing encryption refresh on Security Request
cf88ae752cd3 phy: qcom-ufs: add MODULE_LICENSE tag
839a4c3b4a48 netfilter: x_tables: add and use xt_check_proc_name
2a55ad7440e6 netfilter: drop template ct when conntrack is skipped.
b0850604cc5d l2tp: fix races with ipv4-mapped ipv6 addresses
bbfbc396f076 netfilter: bridge: ebt_among: add more missing match size checks
546ade704a98 netfilter: x_tables: make allocation less aggressive
72682b162dae percpu: add __GFP_NORETRY semantics to the percpu balancing path
dffe655ddb48 xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems
a6232ffa2a02 net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms()
b0d95e686f45 RDMA/ucma: Introduce safer rdma_addr_size() variants
4fbf77d7a9fe RDMA/ucma: Check that device exists prior to accessing it
4dba68fd1dfe RDMA/ucma: Check that device is connected prior to access it
6c2c0da62b5d RDMA/rdma_cm: Fix use after free race with process_one_req
4cd0242812a9 RDMA/ucma: Ensure that CM_ID exists prior to access it
ac895355571a RDMA/ucma: Fix use-after-free access in ucma_close
123f9f8981d2 RDMA/ucma: Check AF family prior resolving address
25fd02ea40db xfrm_user: uncoditionally validate esn replay attribute struct
ac2cb9f3de88 partitions/msdos: Unable to mount UFS 44bsd partitions
0726ba0491ca powerpc/64s: Fix i-side SLB miss bad address handler saving nonvolatile GPRs
4c6d2518e1fe powerpc/64s: Fix lost pending interrupt due to race causing lost update to irq_happened
834a06e59896 i2c: i2c-stm32f7: fix no check on returned setup
f025072cbfe3 ipc/shm.c: add split function to shm_vm_ops
f00a344718dd ceph: only dirty ITER_IOVEC pages for direct read
ca04476df8fd perf/hwbp: Simplify the perf-hwbp code, fix documentation
b276b3465531 x86/platform/uv/BAU: Add APIC idt entry
58eaa556bd0a ALSA: pcm: potential uninitialized return values
17c9ea37cb60 ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()
ba0b1c7761b4 ALSA: usb-audio: Add native DSD support for TEAC UD-301
be0fdc488672 mtd: nand: atmel: Fix get_sectorsize() function
e9eddb705648 mtd: jedec_probe: Fix crash in jedec_read_mfr()
67356ab6e6a9 ARM: dts: sun6i: a31s: bpi-m2: add missing regulators
46e10c38af0c ARM: dts: sun6i: a31s: bpi-m2: improve pmic properties
d377d3d041b7 ARM: 8746/1: vfp: Go back to clearing vfp_current_hw_state[]
a4941a5fbcf0 ARM: OMAP: Fix SRAM W+X mapping
9a2e216d9e89 Linux 4.14.32
bba757a2c128 s390/qeth: on channel error, reject further cmd requests
e52456422017 s390/qeth: lock read device while queueing next buffer
dd5ec7314030 s390/qeth: when thread completes, wake up all waiters
b469bdd0f511 s390/qeth: free netdevice when removing a card
299902b581ea dpaa_eth: remove duplicate increment of the tx_errors counter
5bf75fca4367 dpaa_eth: increment the RX dropped counter when needed
dde9b6a83797 dpaa_eth: remove duplicate initialization
5bbb99d2fde0 dpaa_eth: fix error in dpaa_remove()
29cd9c2d1f42 soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
43d8f3c5d3ad team: Fix double free in error path
329f4710f89c skbuff: Fix not waking applications when errors are enqueued
e90e9771d9a3 qede: Fix qedr link update
c6841b478e6b net: systemport: Rewrite __bcm_sysport_tx_reclaim()
474aa5149753 net: Only honor ifindex in IP_PKTINFO if non-0
06d3f43d52bb netlink: avoid a double skb free in genlmsg_mcast()
2980f37b6111 net/iucv: Free memory obtained by kzalloc
a14b791d9863 net: fec: Fix unbalanced PM runtime calls
9cdb0f25fbb4 net: ethernet: ti: cpsw: add check for in-band mode setting with RGMII PHY interface
89142a0e0b70 net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
2d5b0ed04c5a l2tp: do not accept arbitrary sockets
18c647456ac9 ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()
91d27e0c3025 dccp: check sk for closed state in dccp_sendmsg()
946b9671ac02 net: Fix hlist corruptions in inet_evict_bucket()
4ff5078b0396 net: use skb_to_full_sk() in skb_update_prio()
f6cdb675ca0a ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()
f77ff13a06c1 sch_netem: fix skb leak in netem_enqueue()
515bc34124f3 kcm: lock lower socket in kcm_attach
07cf9d303c7c rhashtable: Fix rhlist duplicates insertion
090da7ced80b ppp: avoid loop in xmit recursion detection code
28b488f7cb3a net sched actions: return explicit error when tunnel_key mode is not specified
2274d77c3675 net: phy: Tell caller result of phy_change()
42cf2a1e5ac4 mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic
dbad5abd2b16 ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel state
cb4963b49426 ipv6: sr: fix NULL pointer dereference when setting encap source address
5defa8c9269a ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
a8f02befc87d net: ipv6: keep sk status consistent after datagram connect failure
82fb817863e3 macvlan: filter out unsupported feature flags
b51eb57dac9c devlink: Remove redundant free on error path
67a1dc567567 net: phy: relax error checking when creating sysfs link netdev->phydev
223c54244252 sysfs: symlink: export sysfs_create_link_nowarn()
497166d63780 qed: Fix non TCP packets should be dropped on iWARP ll2 connection
e44c1733059c tcp: purge write queue upon aborting the connection
dbbf2d1e4077 tcp: reset sk_send_head in tcp_write_queue_purge
9861e6647c85 Linux 4.14.31
7514cd2f6d21 bpf, x64: increase number of passes
b4e02202a0ba bpf: skip unnecessary capability check
3e1130970ec3 kbuild: disable clang's default use of -fmerge-all-constants
3fdc6f0d1484 x86/pkeys/selftests: Rename 'si_pkey' to 'siginfo_pkey'
d6e6e57e6045 usb: xhci: Fix potential memory leak in xhci_disable_slot()
4208d820ed23 usb: xhci: Disable slot even when virt-dev is null
213b332c71a9 staging: lustre: ptlrpc: kfree used instead of kvfree
26023c977975 staging: android: ion: Zero CMA allocated memory
af00a24c9ea2 iio: imu: st_lsm6dsx: fix endianness in st_lsm6dsx_read_oneshot()
c7d20ac820ad iio: ABI: Fix name of timestamp sysfs file
294a6268bf16 perf/x86/intel/uncore: Fix multi-domain PCI CHA enumeration bug on Skylake servers
59dbc2a44921 perf/x86/intel: Don't accidentally clear high bits in bdw_limit_period()
227e2f91f0c9 perf/core: Fix ctx_event_type in ctx_resched()
b69902a42097 perf stat: Fix CVS output format for non-supported counters
d244e5897c1f perf/x86/intel/uncore: Fix Skylake UPI event format
5fb252cad61f drm/syncobj: Stop reusing the same struct file for all syncobj -> fd
a9b385a59b1f x86/boot/64: Verify alignment of the LOAD segment
faf470583a57 x86/build/64: Force the linker to use 2MB page size
06b281015054 kvm/x86: fix icebp instruction handling
f7fbe38cc55b posix-timers: Protect posix clock array access against speculation
b08952bbc171 x86/efi: Free efi_pgd with free_pages()
373ccbd6eb03 x86/vsyscall/64: Use proper accessor to update P4D entry
852d9679a778 selftests/x86/ptrace_syscall: Fix for yet more glibc interference
5a29ce2b9880 x86/entry/64: Don't use IST entry for #BP stack
3832d40ef22e tty: vt: fix up tabstops properly
5c955c3cfb58 can: cc770: Fix use after free in cc770_tx_interrupt()
63affa180c7d can: cc770: Fix queue stall & dropped RTR reply
b3ab7e3dee87 can: cc770: Fix stalls on rt-linux, remove redundant IRQ ack
18f29aa5b55d can: ifi: Check core revision upon probe
8a731531d08f can: ifi: Repair the error handling
e7dc75584302 can: peak/pcie_fd: remove useless code when interface starts
74f08b1e0de8 can: peak/pcie_fd: fix echo_skb is occupied! bug
2a2b9ef30926 staging: ncpfs: memory corruption in ncp_read_kernel()
3f3a6707770a mtd: nand: fsl_ifc: Read ECCSTAT0 and ECCSTAT1 registers for IFC 2.0
1aa0e4115330 mtd: nand: fsl_ifc: Fix eccstat array overflow for IFC ver >= 2.0.0
91ff3795b188 mtd: nand: fsl_ifc: Fix nand waitfunc return value
84f7a040cf04 mtdchar: fix usage of mtd_ooblayout_ecc()
70001527f446 tracing: probeevent: Fix to support minus offset from symbol
1a697e6ef91b rtlwifi: rtl8723be: Fix loss of signal
7964c00a4a7e brcmfmac: fix P2P_DEVICE ethernet address generation
865a0221c7e2 libnvdimm, {btt, blk}: do integrity setup before add_disk()
7fbddfb00176 ACPI / watchdog: Fix off-by-one error at resource assignment
8f860adbb3d8 acpi, numa: fix pxm to online numa node associations
b8b8151806ff mm/vmscan: wake up flushers for legacy cgroups too
c8deec718121 drm: udl: Properly check framebuffer mmap offsets
fc1142a8ca2d drm: Reject getfb for multi-plane framebuffers
b53d42b4ab92 drm/radeon: Don't turn off DP sink when disconnected
19246741a6df drm/vmwgfx: Fix a destoy-while-held mutex problem.
4be50a9fe670 drm/vmwgfx: Fix black screen and device errors when running without fbdev
99b6ead444cf Revert "mm: page_alloc: skip over regions of invalid pfns where possible"
f5dad0409a72 mm/shmem: do not wait for lock_page() in shmem_unused_huge_shrink()
b6b6783c8097 mm/thp: do not wait for lock_page() in deferred_split_scan()
8b8b5c4f7f3a mm/khugepaged.c: convert VM_BUG_ON() to collapse fail
5bbd932ff58f x86/mm: implement free pmd/pte page interfaces
acdb4981644c mm/vmalloc: add interfaces to free unmapped page table
04d47fc40367 h8300: remove extraneous __BIG_ENDIAN definition
1e8628443ede hugetlbfs: check for pgoff value overflow
797bfd05d404 nfsd: remove blocked locks on client teardown
aa0533f4f7b2 cgroup: fix rule checking for threaded mode switching
2b4bb9f3869b libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to MU01 version
65ab5809b48d libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions
596d0a8e7c77 libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
01b6d6839a28 libata: Enable queued TRIM for Samsung SSD 860
603f0168c1ef libata: disable LPM for Crucial BX100 SSD 500GB drive
3962dd60a67b libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
5e67e65d21d0 libata: don't try to pass through NCQ commands to non-NCQ devices
cd47a2ccc602 libata: remove WARN() for DMA or PIO command without data
8745d2063d28 libata: fix length validation of ATAPI-relayed SCSI commands
15a4417cc652 Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174
cd3141c02404 Bluetooth: btusb: Add Dell OptiPlex 3060 to btusb_needs_reset_resume_table
3a64bcc3e67a Bluetooth: btusb: Remove Yoga 920 from the btusb_needs_reset_resume_table
b64ffeecfbdd pinctrl: samsung: Validate alias coming from DT
a1da0548a932 Drivers: hv: vmbus: Fix ring buffer signaling
8f59abbdeb9d RDMA/mlx5: Fix crash while accessing garbage pointer and freed memory
9efd9903f561 clk: sunxi-ng: a31: Fix CLK_OUT_* clock ops
55306d632ab8 clk: bcm2835: Protect sections updating shared registers
2eb67f85d55b clk: bcm2835: Fix ana->maskX definitions
ef006d43bc61 lockdep: fix fs_reclaim warning
a05b610534a9 ahci: Add PCI-id for the Highpoint Rocketraid 644L card
8f5f582cabd7 PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L
aa26895af31b mmc: dw_mmc: fix falling from idmac to PIO mode when dw_mci_reset occurs
a592984e03e6 mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433
23a8825aea65 mmc: dw_mmc: Fix the DTO/CTO timeout overflow calculation for 32-bit systems
72439a30c096 mmc: block: fix updating ext_csd caches on ioctl call
39254113845c mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards
fcc71c97a384 mmc: core: Fix tracepoint print of blk_addr and blksz
856da5e097e0 ALSA: hda/realtek - Always immediately update mute LED with pin VREF
7a42d11ab86e ALSA: hda/realtek - Fix Dell headset Mic can't record
dc9d942e45c0 ALSA: hda/realtek - Fix speaker no sound after system resume
8d49f5625eda ALSA: hda - Force polling mode on CFL for fixing codec communication
88079d335aac ALSA: aloop: Fix access to not-yet-ready substream via cable
1fcbcfff716f ALSA: aloop: Sync stale timer before release
3aa7360be333 ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
2b706310e520 iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock()
d1138478e071 iio: st_pressure: st_accel: pass correct platform data to init
f81b0e627b67 iio: chemical: ccs811: Corrected firmware boot/application mode transition
ea26b66f10cb MIPS: lantiq: ase: Enable MFD_SYSCON
124532fc3c28 MIPS: lantiq: Enable AHB Bus for USB
8b23936074d9 MIPS: lantiq: Fix Danube USB clock
e73ac1875971 MIPS: ralink: Fix booting on MT7621
fb45c56ebd0f MIPS: ralink: Remove ralink_halt()
de8cdc557231 Linux 4.14.30
5019b23699f4 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
957435b566c9 kbuild: fix linker feature test macros when cross compiling with Clang
e82496fbe3a0 RDMA/ucma: Don't allow join attempts for unsupported AF family
ce3e82c0630f RDMA/ucma: Fix access to non-initialized CM_ID object
712b442c68c2 clk: migrate the count of orphaned clocks at init
02db484a0583 RDMA/core: Do not use invalid destination in determining port reuse
8b0c4a2e04f7 serial: 8250_pci: Don't fail on multiport card class
00fb52a3828d IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
cf1eb16eef13 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
3748694f1b91 scsi: mpt3sas: wait for and flush running commands on shutdown/unload
9d72b2696e0a scsi: mpt3sas: fix oops in error handlers after shutdown/unload
0493d72ee4d6 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
e618ff1ac59c crypto: artpec6 - set correct iv size for gcm(aes)
53555c8fc8a2 clk: si5351: Rename internal plls to avoid name collisions
fa97cdb4c71e clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
9e9d9b1a3dbf clk: Don't touch hardware when reparenting during registration
24c92f975cb2 clk: at91: pmc: Wait for clocks when resuming
14d920fc4579 nfsd4: permit layoutget of executable-only files
1de82078a0c0 ARM: dts: aspeed-evb: Add unit name to memory node
e434a6eaed8c RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
7b7e076f8cad scsi: lpfc: Fix issues connecting with nvme initiator
1626beb0b5d8 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
6f4649f3bef8 soc: qcom: smsm: fix child-node lookup
f1f225794a41 ip_gre: fix potential memory leak in erspan_rcv
9cd6c84e9377 ip_gre: fix error path when erspan_rcv failed
e6cfc525163e ip6_vti: adjust vti mtu according to mtu of lower device
f2b32ce1ccef iommu/vt-d: clean up pr_irq if request_threaded_irq fails
915bd53d68f6 pinctrl: rockchip: enable clock when reading pin direction register
130e535210ba pinctrl: Really force states during suspend/resume
06299bd0cf73 media: davinci: fix a debug printk
fea718819c69 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
e1645629785b PCI: endpoint: Fix find_first_zero_bit() usage
194b5ce11968 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
d67d7bf8f12d coresight: Fix disabling of CoreSight TPIU
f16a65befe74 pty: cancel pty slave port buf's work in tty_release
728e120d1786 drm/omap: DMM: Check for DMM readiness after successful transaction commit
9967208b4f6c mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
83a2960ff6d1 omapdrm: panel: fix compatible vendor string for td028ttec1
f7eda23c2990 vgacon: Set VGA struct resource types
58668d153baf iser-target: avoid reinitializing rdma contexts for isert commands
a3e4b8fe6479 IB/umem: Fix use of npages/nmap fields
251695a39f05 RDMA/cma: Use correct size when writing netlink stats
a4ac7cb593ad IB/ipoib: Avoid memory leak if the SA returns a different DGID
9766562956fd rtc: ac100: Fix multiple race conditions
badf37254bc7 media: s5p-mfc: Fix lock contention - request_firmware() once
639dab36edbd sfp: fix non-detection of PHY
1a6610de8c1b sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
1b485793ce84 net: phy: meson-gxl: check phy_write return value
ea60e54b22aa /dev/mem: Add bounce buffer for copy-out
79a49fcc0768 mmc: block: fix logical error to avoid memory leak
9dd93e524955 mmc: avoid removing non-removable hosts during suspend
c1326c691f4d drm/tilcdc: ensure nonatomic iowrite64 is not used
e2a6f2967f67 dmaengine: zynqmp_dma: Fix race condition in the probe
f4a0f85594ba platform/chrome: Use proper protocol transfer function
71233e2541a4 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
08b810901020 watchdog: Fix potential kref imbalance when opening watchdog
008029510ac8 cros_ec: fix nul-termination for firmware build info
79c3f5cf466d serial: 8250_dw: Disable clock on error
f1be26620373 tty: goldfish: Enable 'earlycon' only if built-in
5ff0741646fd qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
a9a14b17f72c media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
057ee30417e5 ath10k: handling qos at STA side based on AP WMM enable/disable
824f8613ea62 media: bt8xx: Fix err 'bt878_probe()'
2159db50a572 rtlwifi: always initialize variables given to RT_TRACE()
9f180c6db58e rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
9854881c225a spi: sh-msiof: Avoid writing to registers from spi_master.setup()
6467b3e25447 hv_netvsc: Fix the TX/RX buffer default sizes
8dc11c413557 hv_netvsc: Fix the receive buffer size limit
e53e85d5082c RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
4df82a41e819 drm/msm: fix leak in failed get_pages
b3cff08483d0 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
b453f9d8c55e cpufreq: longhaul: Revert transition_delay_us to 200 ms
e59e19dc4086 Bluetooth: btqcomsmd: Fix skb double free corruption
5b58533858e3 Bluetooth: hci_qca: Avoid setup failure on missing rampatch
23081c335df9 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
23e73e2ab4d2 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
(From OE-Core rev: 6ddaf2e408fa733214a5ff9a5b9ef171304f02a5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Qemu now builds with libsdl2, so update the local.conf.sample to reflect this.
(From meta-yocto rev: 5e187b5b3dc69f0e8e5a2956e7fe997e62cb48c9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the submodules' histories have been fetched during the
do_fetch() phase, the mechanics used to clone the workdir copy
of the repo haven't been transferring the actual .git/modules
directory from the repo fetched into downloads/ during the
fetch task.
Fix that, and for good measure also explicitly tell Git to avoid
hitting the network during do_unpack() of the submodules.
[YOCTO #12739]
(Bitbake rev: 11b6a5d5c1b1bb0ce0c5bb3983610d13a3e8f84a)
Signed-off-by: Matt Hoosier <matt.hoosier@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent patches were applied which removed a function which set the xx
variable. This means xx can be uninitalised and prerm functions can fail.
This adjusts the patch to ensure the xx value isn't used in such a way.
(From OE-Core rev: 23f15c63777020f5d43b070a1eb2bcf246c19ff8)
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: 0a77f4b680332a692abf0231e397fab44c59bde3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The freedesktop.org.xml data and the update-mime-database tool are both GPLv2 as
per COPYING, so change LICENSE to GPLv2.
test-mime-magic.c is LGPLv2+ but we don't install that so isn't relevant.
(From OE-Core rev: 4ca838097c43755e19f8ffc66436f9ad773fcd39)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following patches have made it to upstream:
* 0001-configure-Fix-default-value-of-without-numa-switch-i.patch
* 0001-configure-add-knob-to-control-numa-support.patch
* 0003-Add-knob-to-control-tirpc-support.patch
* 0010-replace-__BEGIN_DECLS-and-__END_DECLS.patch
* 0040-safe_macros-make-is_fuse-return-zero-if-fs_type-is-N.patch
These patches have been refreshed in order to apply cleanly
and without any fuzz:
* 0004-build-Add-option-to-select-libc-implementation.patch
* 0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
* 0021-Define-_GNU_SOURCE-for-MREMAP_MAYMOVE-definition.patch
* 0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch
* 0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
This next patch was added to the set of patches that make LTP
build with musl:
* 0040-read_all-Define-FNM_EXTMATCH-if-not-already-like-und.patch
(From OE-Core rev: 331b08516b9b15b9d50d6cade3c9a676bdcefef2)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, we can't build meson into SDKs because we don't autogenerate
the required meson.cross file.
Enable this by using the post-relocate hooks and generating a
meson.cross file based on the SDK environment passed into the
post-relocate hook.
(From OE-Core rev: aabb846b165fec218024a7a57f3c9fdaa2514179)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add patches to enable meson to handle being wrapped with a shell script. This
will enable us to do so for supporting the SDK, which requires us to setup env
vars and point to a meson.cross file inside the SDK.
These patches are all merged upstream, so we can drop them soon.
(From OE-Core rev: f80567874c8c30e43d39599dd73dd4a67eff8103)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's useful for the post-relocate scripts to be able to see the SDK
environment, for example to see the values of CC, CXX etc. in order to
dynamically generate toolchain files.
To enable this, source the SDK environment script prior to calling the
relocate scripts.
(From OE-Core rev: adcf69ee3310171580c28e141fec6997b1f06da4)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if a post-relocate script fails, it fails silently. We should
be louder about this, as it likely indicates a broken SDK.
Print a message if a post-relocate script fails.
(From OE-Core rev: 369b5f3f98f8455c79731621cc669ad1948e2022)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, we look only for scripts matching *.sh, which means we can't
write post-relocate scripts in other languages.
Expand this to allow any type of script.
(From OE-Core rev: 5569a6ec6d3c4358719350cac88afa69a76097a8)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A function is uses a mix of spaces and tabs. The rest of the file
uses tabs, so switch to tabs uniformly.
(From OE-Core rev: 693daaac7399a5a7665cd3bcbc915ff93db36db5)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The origins of the patch date back to early 2005 (prior to the start
of git history in oe-core) to fix a hardcoded limit on the maximum
size of remote host keys:
http://familiar.handhelds.narkive.com/b1VGg2bI/problem-w-dropbear-ssh
The hardcoded limit was fixed upstream in dropbear 0.47:
736f370dce
The patch has therefore been obsolete since then. It went unnoticed
until now as the patch has continued to apply - it modifies a value
which is not used.
(From OE-Core rev: 17072ffc1e765edd45bc1174378fb666185e5643)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As I will be leaving Intel, this address will no longer be valid,
so swap it for my personal one for now.
(From OE-Core rev: 1d4f8b0b3f30f27b19fc91638d8d00e9545c1270)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As I will be leaving Intel, this address will no longer be valid,
so swap it for my personal one for now.
(From OE-Core rev: 08c9db07560b85dc24f27e2aa1542b17101751e5)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As I will be leaving Intel, this address will no longer be valid,
so swap it for my personal one for now.
(From OE-Core rev: ea58ff101e28dfda3410de66d775df3d8a1e5a96)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default we now build our own libSDL, so don't ship libsdl in the self-hosted group.
(From OE-Core rev: 992c7023ad42e493f80d2ff4a035944f81140896)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdl1 since qemu-2.12.0 depends on x11 in DISTRO_FEATURES, switch to sdl2
(From OE-Core rev: b90aaf0ca1bd82cca2f13164407881c53f15739c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* drop "fdt sdl" listed twice in PACKAGECONFIG
* keep all 3 disabled by default
* spice, usbredir recipes will eventually be in meta-networking layer
(you can use jansa/spice branch from meta-openembedded-contrib repository)
* virglrenderer recipe will eventually be in oe-core layer
(you can use jansa/qemu branch from openembedded-core-contrib repository)
(From OE-Core rev: ebb6ef1dbc7e03a4b7030b3056bd0fa59fdd047b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* drop patches which are now included upstream
* revert "linux-user: fix mmap/munmap/mprotect/mremap/shma" which is
causing
0010-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch
to stop working and qemu-i386 hanging during gobject-introspection in
webkitgtk when building for qemux86 with musl
(From OE-Core rev: e9d6e09bb51a857ce248f45124548d338a350ba1)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, when dropbear was started via its init script, relocation
of DROPBEAR_RSAKEY_DIR to support read-only rootfs was handled at
run time from within the init script.
Update the init script to take advantage of the read-only rootfs
config setup by read_only_rootfs_hook() and therefore be consistent
with startup under systemd (where relocation of DROPBEAR_RSAKEY_DIR
is handled by the read_only_rootfs_hook() at build time).
(From OE-Core rev: 4990f87b2f6a8b30c8d1c767636e7f5527f595ba)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the maximum number of open file descriptors is much greater than the
usual 1024 (for example inside a Docker container), the performance
drops significantly.
This was reported upstream in:
https://bugzilla.redhat.com/show_bug.cgi?id=1537564
which resulted in:
https://github.com/rpm-software-management/rpm/pull/444
The pull request above has now been integrated and this commit contains
a backport of its three patches, which together change the behavior of
rpm so that its performance is now independent of the maximum number of
open file descriptors.
(From OE-Core rev: 7feed9ccfc4e656c6264f07e13d7e9ef69bdfb06)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 6f1822e5f1eaafd8bc46e999de730c1fcca77f3a.
This patch only solved a part of the problem.
(From OE-Core rev: 78c4eb6ea4230a4f9199aa3fa7b84d2aea465b95)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- fix multiple lzma segmentation faults
- patch includes multiple fixing commits
- test-cases have been removed due to binary data
(From OE-Core rev: e865e5056235a9b4e3911d4c734a3ffa71bb9e62)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running testimage task for core-image-sato-sdk, the following
error appeared.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 at position 0: invalid start byte
Checking the codes, I found it's caused by setting a 1024 limit for the
read method of the StreamReader object.
Comments from the manual:
"""
The chars argument indicates the number of decoded code points or bytes to
return. The read() method will never return more data than requested, but
it might return less, if there is not enough available.
"""
When running `systemctl status --full' on target, this error occurs.
This patch increase the bytes limit to 4096 to fix the error.
(From OE-Core rev: f1fad60ae3be4450aca6058d5665fb10a9148b44)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testimage-auto is expected to run testimage task's codes automatically.
But in fact, it's currently missing some codes, including testimage_sanity
and create_rpm_index.
This leads to the problem of unexpected runtime failure of test_dnf_makecache.
The error message is as below.
RESULTS - dnf.DnfRepoTest.test_dnf_makecache - Testcase 1744: ERROR
This error is caused by the fact that create_rpm_index is not executed
before running the tests.
There's no reason why such codes should not be in testimage_main, so
move them into it.
(From OE-Core rev: fa7ba486ded13907f63f9300f66350ba2835a3f7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A list of tools are added to HOSTTOOLS depending on if we inherit
testimage or not. Unfortunately, if we use TEST_IMAGE variable to
automate the test, these tools are not added to HOSTTOOLS.
Modify the condition to also check TEST_IMAGE to fix the above problem.
Also, change to use if...else... instead of list index for such setting.
(From OE-Core rev: 263f8ad612674b0b47cd980212556332c17cb370)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test_file_connman should be executed only when 'lib32-connman' is
installed and 'connman' is not installed.
When lib32-connman and connman are both installed, the /usr/sbin/connmand
could be from connman or lib32-connman, depending on the installation
order. What we want to check is the connmand command from lib32-connman,
so we need to make sure that connman is not there to cause chaos.
(From OE-Core rev: bc6839394c06bb695b92b2183337e7381da1e86c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) The test cases use 'readelf' command to do the check. This command
is from binutils. So skip the test if the needed binutils package is
not installed.
The related error message in log.do_testimage is like below.
Output: sh: readelf: not found
2) The test case tests /lib/libc.so.6 from lib32-libc6. So skip the test
if lib32-libc6 is not installed.
The related error message in log.do_testimage is like below.
Output: readelf: Error: 'lib/libc.so.6': No such file
(From OE-Core rev: eae929a5c224f5c3468d6a0466d1bbb3f678a5a1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case should only run when rpm package is installed.
So skip it if rpm package is not installed. This fixes:
RESULTS - rpm.RpmBasicTest.test_rpm_help - Testcase 1059: FAILED
(From OE-Core rev: bb909a60c04248d015d988e4454f0a11b1c287da)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The var might not be set, resulting in unexpected error.
RESULTS - multilib.MultilibTest.test_check_multilib_libc - Testcase 1593: ERROR
The above error is due to MULTILIBS being not set, which is the default
for OE. This patch fixes this problem.
Also, the debugging message in skipIfNotInDataVar is currently confusing.
Instead of
DEBUG: Checking if 'MULTILIBS' value is in 'multilib:lib32' to run the test
it should be
DEBUG: Checking if 'MULTILIBS' value contains 'multilib:lib32' to run the test
This patch also fixes it.
(From OE-Core rev: 3f5c678664a2bba43d99508779dc2ce227cf52a2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having 'auto' in TEST_SUITES will also run the 'dnf' test cases,
so also check it to determine whether to create rpm index or not.
This is to fix the following error when TEST_SUITES = "auto".
RESULTS - dnf.DnfRepoTest.test_dnf_makecache - Testcase 1744: ERROR
(From OE-Core rev: c1f4177848d25a9121f2a85da655ee414cd424b1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is to test the behaviour of PACKAGE_FEED_URIS is correct or not.
If it's not even set, it makes no sense to do such test. So skip this
test if PACKAGE_FEED_URIS is not set.
(From OE-Core rev: 37e3d9d91cc0c8d0dac48463a888c692f4648f66)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use 'cls' instead of 'obj' to better reflect that registerDecorator
actually serves as a class decorator.
(From OE-Core rev: e06e4c859e8be5225d80806a2ebe175f0b152fe1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OETestFilter is a subclass of OETestDecorator. It wants to make
use of @abstractmethod decorator. But such decorator requires
metaclass to be ABCMeta to have effect. So add it now to achieve
the designed behaviour.
Comments from python's manual:
"""
Using this decorator requires that the class's metaclass is ABCMeta
or is derived from it.
"""
(From OE-Core rev: 28c4fafb2322ea8c37bcd7710f22f46ef552a902)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current behaviour of TEST_SUITES is very confusing.
setting: TEST_SUITES = ""
result: Execute all test cases.
setting: TEST_SUITES = "some_case_not_exist"
result: Error out with 'Empty test suite' message.
The expected behaviour of TEST_SUITES should be:
1. when 'auto' is in it, execute as many test cases as possible
2. when no valid test case is specified, error out and give user message
The first one is implemented by a previous patch.
The second one is fixed in this patch.
Also add debug message to show test cases to be executed. This is
for easier debugging.
(From OE-Core rev: 909568821fbad8a6a7034b10a2dc349a210fdfc6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In previous OEQA, having 'auto' in TEST_SUITES results in executing
as many test cases as possible.
This behaviour is broken for now. From the codes in core/loader.py,
I can see that it tries to use another keyword 'all'. But in fact,
it does not work.
I've checked the current manual. The manual says using 'auto'.
Below is the current information in manual.
"""
Alternatively, you can provide the "auto" option to have all applicable
tests run against the image.
TEST_SUITES_append = " auto"
"""
So we should restore this behaviour. This patch does so.
Also, output warning message is some module is named as 'auto', as this
is a reserved keyword.
(From OE-Core rev: a65460a063a958cc887c756db5f7ab18e3f5a8c1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that we're able to use the initrd value specified in the wks
file when using grub-efi bootloader with bootimg-efi wic plugin.
Fixes [YOCTO #12689]
(From OE-Core rev: f1d5bb1f21e11714357aff4ae7e52421e3756c5a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of showing that command 'None' was found, show the name of
actual command that wasn't found on the host machine or at the native
sysroot path provided by user.
(From OE-Core rev: 3157ebb131e01e74689b1f87a35278350f315e7d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, $HOME/.local is being added into sys.path in the Python SDK
causing subtle host contamination. Suppress this by exporting
PYTHONNOUSERSITE = "1" as documented in PEP 370.
This issue occurred in the past for python*-native and was fixed
similarly in OE-core commit 8fe9fb4d5a61dcbcb3fc5b9ee0234cc135af873f
("python*native.bbclass: suppress user site dirs").
(From OE-Core rev: 0dc36439cb9fe1cea50bed59da6302f78372a30b)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The native override is specified in two different places, so let's move
it into a function to reduce code duplication.
(From OE-Core rev: c455ec4a12d4966524da9436722476aa2d428765)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let this be dictated by the module parameter value being set by qemu
machine configuration.
(From OE-Core rev: c40b241e8d40c8bc1c9e6065b12e260662f5bba4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When runqemu is invoked with an image type (wic, hddimg etc) as a parameter,
the kernel value and command line parameters from qemuboot.conf
are ignored and not passed to qemu cmdline.
As an example, when using:
$ runqemu wic kvm
It results in no network interface and video mode warnings when qemu is up because
the -kernel and -append options were not passed.
Change qemu conf to use qemux86-directdisk.wks that supplies the kernel parameters
that are appended to the bootloader configuration when generating qemu wic
images instead of relying on qemuboot.conf.
Fixes [YOCTO #12224]
(From OE-Core rev: 3b79d9a78816d2eb70fe54ca6cd086d94c115f05)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We ship the open posix test suite already but it isn't compiled.
Let's build it and make it ready to use on the device.
(From OE-Core rev: 79b22a2539b7dec762523ca544e27b9cce7ee81e)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, ASNEEDED was appended to TARGET_LDFLAGS from
as-needed.inc via tcmode-default.inc and so may not have been enabled
for external toolchain builds or other configurations which over-ride
TCMODE (ie builds which do not include tcmode-default.inc).
Include ASNEEDED in TARGET_LDFLAGS directly from bitbake.conf to
ensure that the optimisation is applied to all builds (and for
consistency with the way that TARGET_LINK_HASH_STYLE is handled).
(From OE-Core rev: 996bcb143cb8755cadb986e084b5f24e3ffdb03b)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Re-apply change, which was previously merged and then reverted to
avoid conflicts with a distcc version update.
(From OE-Core rev: d902a5f72b8a3b3f74e7716cc967fa53f8751b68)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Usually, the debugfs' (-dbg.tar.*) work follow is:
1) Install regular rootfs to dir_foo
2) Install debugfs (-dbg.tar.*) to the same dir_foo
So we need to allow installing the debugfs on top of the rootfs.
(From OE-Core rev: c54147b286d72d7c4f8ca55a5a62f5d27bd5364a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After installing an image from an iso, booting the system using
the legacy boots makes the grub prompt wait for an enter.
This is not desirable since many of this devices are embedded
devices that should start by them self without user entry.
(From OE-Core rev: f6d85426e48d458d0835d4fd3314ce53ab92bd38)
Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add package for rtl8168 firmware which is required by Realtek
Ethernet Controller.
(From OE-Core rev: e5315d5d820cb1b164c75a0cab3804f6c69b5ba9)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when powerpc64:
$ bitbake <image> -ctestsdk
[snip]
checking whether printf supports %p... configure: error: cannot run test program while cross compiling
See `config.log' for more details.
test_cvs (oeqa.sdk.buildcvs.BuildCvsTest) ... FAIL
[snip]
The cvs_cv_func_printf_ptr is already in powerpc32-linux.
(From OE-Core rev: cbba73baf94cd0ee99d010abab79140cd5e4b99e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running bitbake command with Python 3.6.5 always result in
import error causing by the change of distutils module.
This patch replaces the method to search executable in PATH by
"/usr/bin/env <command>".
(Bitbake rev: bd9a1b063633af2936ba1dd87b19202424900151)
Signed-off-by: Tzu Hsiang Lin <t9360341@ntut.org.tw>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing the SDK to a non-default path, running "rpm --showrc" from the
sdk will produce the following error:
error: Unable to open /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or directory.
Fix this by adding wrappers that dynamically export the RPM_CONFIGDIR,
RPM_ETCCONFIGDIR and MAGIC environment variables, pointing to the proper
sdk locations.
(From OE-Core rev: 760103cdaed3e820888d8984ec0b76cfc831d534)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix below errors while pam is enabled on target:
root@qemux86:~# newusers
newusers: PAM: Authentication failure
root@qemux86:~# chpasswd
chpasswd: PAM: Authentication failure
The configs copied from "chgpasswd" which command works with pam.
(From OE-Core rev: f6efc1dbd1f3a0f68ee731ff2b5a5d798ecf2cf8)
Signed-off-by: Hu <yadi.hu@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Correct the command location in ptest scripts such as
update the line "#!/bin/awk -f" to "#!/usr/bin/awk -f" in the
file /usr/lib64/gawk/ptest/test/fcall_exit2.awk belongs
to package gawk-ptest and the line "#!/usr/local/bin/gawk -f"
to "#!/usr/bin/gawk -f" in the file
/usr/lib64/gawk/ptest/test/fnarydel.awk
(From OE-Core rev: 66aa9f1424202a583acd168182ae13ea68e2ab15)
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When 'opengl' is not set in DISTRO_FEATURES, ${libdir}/pkgconfig is an
empty directory and cause installed-vs-shipped error.
(From OE-Core rev: 9e373fec2013c5b2f9297e8f88317628ba9b7dce)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update shadow to change ownership of /var/spool/mail from root:root to
root:mail and permission from 0755 to 0775 just as in most popular
distributions such as fedora and debian(It also set setgid bit in debian
but we don't need it).
(From OE-Core rev: b3ab5fe359c38cdd5cd86cb8ffe076d7a2baac18)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf is failing to build for me since this oe-core commit:
commit 9b38c824961fc9dce51bda95c25dac91a69fc64f
Author: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue Apr 24 11:33:47 2018 +0800
perf: make a copy of kernel source to perf workdir
the problem is that perf sources in kernel older than 4.8 (in my case
4.4) are depending on the "global" include headers outside tools
directory, e.g. swab.h in:
kernel-source/tools$ git grep swab.h
perf/MANIFEST:include/linux/swab.h
perf/MANIFEST:include/uapi/linux/swab.h
perf/util/include/asm/byteorder.h:#include "../../../../include/uapi/linux/swab.h"
this was resolved in 4.8 with:
commit 7e3f36411342a54f1981fa97b43550b8406a3d69
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Mon Jul 18 17:42:16 2016 -0300
perf tools: Remove tools/perf/util/include/asm/byteorder.h
Not used anymore. This also stops include linux/swab.h directly
from the kernel sources, remove that reference from the MANIFEST.
and few more changes to make tools/include more complete and standalone:
tools/include in 4.15:
asm asm-generic linux tools trace uapi
tools/include in 4.4:
asm asm-generic linux tools
but copying the include header even for kernels which don't really
need it doesn't add big overhead, so just copy include to perf sources
for all kernels.
(From OE-Core rev: 19fb2d11a8bb3c6dfdd5edc1b9155d642dc0f5e0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
i2cget, i2cset, i2cdump and i2cdetect may also be provided by Busybox
when CONFIG_I2CGET, CONFIG_I2CSET, CONFIG_I2CDUMP and CONFIG_I2CDETECT
are enabled respectively.
Busybox has a priority of 50.
Prior to the patch building core-image-minimal with
IMAGE_INSTALL_append = " busybox"
IMAGE_INSTALL_append = " i2c-tools"
in local.conf produced the warnings
WARNING: core-image-minimal-1.0-r0 do_rootfs: busybox.postinst returned 1, marking as unpacked only, configuration required on target.
WARNING: core-image-minimal-1.0-r0 do_rootfs: Intentionally failing postinstall scriptlets of ['busybox'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
If deferring to first boot wasn't the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere.
Details of the failure are in /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.
WARNING: core-image-minimal-1.0-r0 do_rootfs: [log_check] core-image-minimal: found 1 warning message in the logfile:
[log_check] WARNING: Intentionally failing postinstall scriptlets of ['busybox'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
where log.do_rootfs contained
update-alternatives: Error: not linking /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/usr/sbin/i2cget to /bin/busybox.nosuid since /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/usr/sbin/i2cget exists and is not a link
and similarly for i2cset, i2cdump and i2cdetect when a workspace layer
created by devtool contained
cat workspace/appends/busybox_%.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://i2c.cfg"
and
cat workspace/appends/busybox/i2c.cfg
CONFIG_I2CGET=y
CONFIG_I2CSET=y
CONFIG_I2CDETECT=y
CONFIG_I2CDUMP=y
(From OE-Core rev: 391f0fb76c286734cc9be57b825efe02b6999faf)
Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was undocumented, and it's better to just always enable
full debug output, as this allows immediate generation of logs
with full diagnostics when things go not as expected.
Also, change the output of dnf from note to debug level; this
does not affect what is written to log file, but does reduce the
verbosity of bitbake -v.
(From OE-Core rev: 9128fd1396729a71b4832a597cf070c2be922d63)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed patch.
Add a patch to correctly set LDFLAGS for one of the libraries and Python bindings.
Add dependencies to build Python bindings
(directly inheriting setuptools3 class does not work,
as the build is Makefile-managed) and a snippet to install them.
Also add a patch to allow specifying where they are installed
(to avoid hardcoded /usr/lib default).
(From OE-Core rev: a2b9834ec9b817e32772ddc27bc6b55fab33670c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we have local.conf included before qemu.inc, and ${DISTRO}.conf
after qemu.inc. They both possibly specify their expected kernel providers.
To let other config files override it in real use, this commit changes
kernel provider assignment to ??= .
(From OE-Core rev: 07e06abeb6b7ae5047c4b70818cd8873302e4940)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dropped 0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch,
because an equivalent patch is included in the new release.
License-Update: FSF address updated
(From OE-Core rev: 35076031c76089b9acec9d256ac2b4345f9f918b)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Daniel Stone (3):
drm/atomic: Refuse to add invalid objects to requests
headers: Sync with drm-next
headers: Update README
Dylan Baker (1):
meson: don't use compiler.has_header
Emil Velikov (1):
Revert "libdrm: intel/Android.mk: Filter libdrm_intel library requirements on x86/x86_64"
Eric Engestrom (13):
freedreno: add missing symbols to symbol-check
meson: use pkg-config to detect libatomic_ops
meson: make it easy to add headers to check
meson: detect alloca.h
meson,configure: always define HAVE_OPEN_MEMSTREAM
meson,configure: always define HAVE_VISIBILITY
meson,configure: always define UDEV
meson: replace `if(compiles) have=true` with `have=compiles`
meson,configure: include config.h automatically
meson: drop unneeded dependency to libudev
meson: move line to allow using `config` earlier
meson: drop unnecessary variable
xf86drmMode: merge successive mutually-exclusive #ifs
Gowtham Tammana (1):
omap: add Android build support
Inki Dae (1):
tests: fix memory leak issue
James Zhu (1):
tests/amdgpu: add vce mv tests support and sets
John Stultz (3):
libdrm: intel/Android.mk: Filter libdrm_intel library requirements on x86/x86_64
libdrm: Use readdir instead of readdir_r to avoid build warnings
libdrm: gralloc_handle.h: Fix build issue with Android
Marek Olšák (1):
Revert "amdgpu:support 16 ibs per submit for PAL/SRIOV"
Matt Atwood (1):
Intel: Add a Kaby Lake PCI ID
Michel Dänzer (1):
amdgpu: Deinitialize vamgr_high{,_32}
Paulo Zanoni (1):
intel: add support for ICL 11
Qiang Yu (1):
amdgpu:support 16 ibs per submit for PAL/SRIOV
Rex Zhu (1):
headers: sync up amdgpu_drm.h with drm-next
Rob Clark (2):
freedreno: add fd_pipe refcounting
bump version for release
Rodrigo Vivi (1):
intel/intel_chipset.h: Sync Cannonlake IDs.
Sabre Shao (1):
drm/amdgpu: Remove IB count checking
Satyajit (1):
libdrm: amdgpu: Adding DRM_RDWR flag in amdgpu_bo_export
Seung-Woo Kim (1):
tests/exynos: remove dead condition
Stefan Schake (1):
android: Add missing include exports
Tomasz Figa (1):
intel: Do not use libpciaccess on Android
Xiaojie Yuan (1):
amdgpu: enlarge the maximum number of cards supported
(From OE-Core rev: 805c362871b1a03fbee941b628f2e8aca0f4bb51)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor release primary fixes are
* get it building with gcc8
* Fixes for riscv64
drop local gcc8 support patch which is not needed now
(From OE-Core rev: b02ac5dd2dc27fe742cb7f20a12090eda3190c84)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wireless-tools have been obsolete and superseded by iw for a very long time.
I've checked that images continue to boot and the graphical connman frontend
is still able to list wireless networks; there is no evidence that
wireless-tools are needed by anything.
[YOCTO #12727]
(From OE-Core rev: f1978b7e1d68bd7813ae048ff9a37716618a473c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to include Paul Gortmaker's latest round of stable updates, which
comprise the following commits:
dc2f71a08d7a Linux 4.12.24
4cab262afa69 iio: adc: ti-ads1015: add 10% to conversion wait time
89f573e6f136 tools include: Do not use poison with C++
d4f418739d68 kprobes/x86: Disable preemption in ftrace-based jprobes
28861253362b perf test attr: Fix ignored test case result
12c60baac963 staging: fsl-mc/dpio: Fix incorrect comparison
43e1cab01765 serial: imx: Update cached mctrl value when changing RTS
6122e955f082 usbip: tools: Install all headers needed for libusbip development
c1fce3e6296c serial: sh-sci: suppress warning for ports without dma channels
444cfc461e20 sysrq : fix Show Regs call trace on ARM
0040e82b1a65 usb: xhci: Return error when host is dead in xhci_disable_slot()
e1667a3749da staging: fsl-dpaa2/eth: Account for Rx FD buffers on error path
7e22cbc6bd55 usb: mtu3: fix error return code in ssusb_gadget_init()
c528464afcea EDAC, sb_edac: Fix missing break in switch
e207a0c6a285 clocksource/drivers/arm_arch_timer: Validate CNTFRQ after enabling frame
c3c5783f9303 serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
ca7b446eff2f PCI: dra7xx: Create functional dependency between PCIe and PHY
7897f75fc207 usb: phy: tahvo: fix error handling in tahvo_usb_probe()
c240911c41c3 mmc: sdhci-msm: fix issue with power irq
97227123b5f0 mmc: tmio: check mmc_regulator_get_supply return value
05ce425fa841 spi: spi-axi: fix potential use-after-free after deregistration
42f90afc67e4 spi: sh-msiof: Fix DMA transfer size check
c652d0d523bf staging: rtl8188eu: avoid a null dereference on pmlmepriv
3dc08560ab63 serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
d57c00699295 m68k: fix ColdFire node shift size calculation
df74b0c1e0b4 staging: greybus: loopback: Fix iteration count on async path
96be1d656724 x86/entry/64: Don't use IST entry for #BP stack (part #2)
8e3f9a001776 selftests/x86/ldt_get: Add a few additional tests for limits
0d0517d16bc5 s390/pci: do not require AIS facility
778bf06a0661 PM / Domains: Fix genpd to deal with drivers returning 1 from ->prepare()
bd4084ce13d2 s390: vfio-ccw: Do not attempt to free no-op, test and tic cda.
fd6fe520a496 ima: fix hash algorithm initialization
83cd72f27843 usb: host: fix incorrect updating of offset
4ab295bc9cdf USB: usbfs: Filter flags passed in from user space
d8ce9fecf049 USB: Fix off by one in type-specific length check of BOS SSP capability
dc9843bd9e72 USB: core: Add type-specific length check of BOS descriptors
ab95f86f0fac usb: xhci: fix panic in xhci_free_virt_devices_depth_first
c1b551b8718a xhci: Don't show incorrect WARN message about events for empty rings
8412154c096c USB: ulpi: fix bus-node lookup
10d2d61bff44 usb: hub: Cycle HUB power when initialization fails
da44857edd20 powerpc/kprobes: Fix call trace due to incorrect preempt count
67482fcb1f0a powerpc/kprobes: Disable preemption before invoking probe handler for optprobes
6f745a984365 powerpc/jprobes: Disable preemption when triggered through ftrace
3fefceeaca8e USB: serial: usb_debug: add new USB device id
9c971e7d3a9f USB: serial: option: add Quectel BG96 id
cc01c484eee9 serial: 8250_pci: Add Amazon PCI serial device ID
d16393b7a9d8 usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
7a0ac9cc347c uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
52c2b20403f0 s390/runtime instrumentation: simplify task exit handling
04dd38b88979 drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()
f363e7cdb4f6 drm/fsl-dcu: avoid disabling pixel clock twice on suspend
2845e7d136c8 drm/i915: Prevent zero length "index" write
79413d6f2f6f drm/i915: Don't try indexed reads to alternate slave addresses
f5cc8d6842e6 drm/i915/gvt: Correct ADDR_4K/2M/1G_MASK definition
1fab446c5b5a drm/i915: Fix false-positive assert_rpm_wakelock_held in i915_pmic_bus_access_notifier v2
708262ebbebc md: forbid a RAID5 from having both a bitmap and a journal.
40219fc4a45b e1000e: fix the use of magic numbers for buffer overrun issue
9bbd7fc437e0 include/linux/compiler-clang.h: handle randomizable anonymous structs
13782a203fb8 drm/amd/pp: fix typecast error in powerplay.
dd1ab1b7a09e drm/ttm: once more fix ttm_buffer_object_transfer
1e1df0b0eb71 drm/hisilicon: Ensure LDI regs are properly configured.
e10ca648a294 drm/panel: simple: Add missing panel_simple_unprepare() calls
28fb6325953c drm/radeon: fix atombios on big endian
0f7ff143e866 drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()
00debaff36fb drm/amdgpu: Remove check which is not valid for certain VBIOS
53543b5a5062 drm/amdgpu: Properly allocate VM invalidate eng v2
6095ee5e76ed drm/amdgpu: correct reference clock value on vega10
8544b664f20e Revert "drm/radeon: dont switch vt on suspend"
3b28b8cd6364 nvme-pci: add quirk for delay before CHK RDY for WDC SN200
2c1ae94e88ee hwmon: (jc42) optionally try to disable the SMBUS timeout
8fcaaeed325c bcache: recover data from backing when data is clean
027fe49240fa bcache: only permit to recovery read error when cache device is clean
3746f4374ee2 bcache: Fix building error on MIPS
72ea117f664e cxl: Check if vphb exists before iterating over AFU devices
8ee52dd3b01a i2c: i801: Fix Failed to allocate irq -2147483648 error
ab7ae0720406 eeprom: at24: check at24_read/write arguments
1025c12d637b eeprom: at24: correctly set the size for at24mac402
32aba2ddc564 eeprom: at24: fix reading from 24MAC402/24MAC602
ec5216d0e845 mmc: core: prepend 0x to OCR entry in sysfs
a64429e1d089 mmc: core: prepend 0x to pre_eol_info entry in sysfs
32f6d6221e55 mmc: core: Do not leave the block driver in a suspended state
fa455ca7acc6 arm64: module-plts: factor out PLT generation code for ftrace
d9c2c353dc61 s390: revert ELF_ET_DYN_BASE base changes
5c10828c07be lockd: lost rollback of set_grace_period() in lockd_down_net()
91ed144855d5 crypto: skcipher - Fix skcipher_walk_aead_common
0ff5af74c047 nfsd: fix panic in posix_unblock_lock called from nfs4_laundromat
b187299249a2 nfsd: Fix another OPEN stateid race
2e36e8a92541 nfsd: Fix stateid races between OPEN and CLOSE
237c8c16013d btrfs: clear space cache inode generation always
e6eedfd1ca3f mm/hugetlb: fix NULL-pointer dereference on 5-level paging machine
b19cd2bae194 autofs: revert "autofs: take more care to not update last_used on path walk"
9c0369beda80 device-dax: implement ->split() to catch invalid munmap attempts
0d73cfed1391 platform/x86: hp-wmi: Fix tablet mode detection for convertibles
(From OE-Core rev: 5f5603c33368d7b0143aeb77a95bed90bb92cb51)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the -dev kernel to v4.17+. We also tweak the License checksum
in the -dev kernel since SPDX headers have been inserted upstream and
that has changed the hash value.
(From OE-Core rev: 851734af3ddf19c92e7c82c321adf9da988746b5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable updates from Paul Gortmake that comprise the following
commits:
6e83f40c507e Linux 4.12.23
55e376304f1b e1000e: fix buffer overrun while the I219 is processing DMA transactions
3882bb678dd8 e1000e: Fix return value test
167170375055 e1000e: Fix error path in link detection
47722947f954 ARM64: dts: meson-gxl: Add alternate ARM Trusted Firmware reserved memory zone
1dbaaa42b464 media: v4l2-ctrl: Fix flags field on Control events
c7c9d8c465d7 [media] cx231xx-cards: fix NULL-deref on missing association descriptor
6ee1ead888a3 media: rc: check for integer overflow
6f70063599b3 media: Don't do DMA on stack for firmware upload in the AS102 driver
ef4c54828c1d powerpc/64s/hash: Allow MAP_FIXED allocations to cross 128TB boundary
d308f45eb9e7 powerpc/64s/hash: Fix fork() with 512TB process address space
61c9dab21d03 powerpc/64s/hash: Fix 128TB-512TB virtual address boundary case allocation
40744bdf965e powerpc/64s/hash: Fix 512T hint detection to use >= 128T
c5866bd94f03 powerpc/64s/radix: Fix 128TB-512TB virtual address boundary case allocation
49e9f537eb43 powerpc/signal: Properly handle return value from uprobe_deny_signal()
fb991189ca1f parisc: Fix validity check of pointer size argument in new CAS implementation
ae519d5e90b9 ixgbe: Fix skb list corruption on Power systems
2a827971bc99 fm10k: Use smp_rmb rather than read_barrier_depends
b1222f423f70 i40evf: Use smp_rmb rather than read_barrier_depends
61d3820d1146 ixgbevf: Use smp_rmb rather than read_barrier_depends
8c40cc266d42 igbvf: Use smp_rmb rather than read_barrier_depends
d05a14e4483e igb: Use smp_rmb rather than read_barrier_depends
9062b3d8fadd i40e: Use smp_rmb rather than read_barrier_depends
bb0ddf274e82 spi-nor: intel-spi: Fix broken software sequencing codes
11604df811a9 IB/srp: Avoid that a cable pull can trigger a kernel crash
7a2f561b9470 IB/hfi1: Fix incorrect available receive user context count
305382ae2297 IB/cm: Fix memory corruption in handling CM request
9792edc692f1 IB/CM: Create appropriate path records when handling CM request
0624d71dcd6f IB/srpt: Do not accept invalid initiator port names
ff4035fcfb4d svcrdma: Preserve CB send buffer across retransmits
f18fd397f0c1 libnvdimm, namespace: make 'resource' attribute only readable by root
91d9aa084602 libnvdimm, region : make 'resource' attribute only readable by root
ea9427658840 libnvdimm, namespace: fix label initialization to use valid seq numbers
c0bcae085da8 libnvdimm, pfn: make 'resource' attribute only readable by root
aa91e16e2756 libnvdimm, dimm: clear 'locked' status on successful DIMM enable
eca24c2a944d clk: ti: dra7-atl-clock: fix child-node lookups
104ab8491706 SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status
a6579fafe2b9 dax: fix general protection fault in dax_alloc_inode
b4f77dd3db27 dax: fix PMD faults on zero-length files
12b2a43aa1b0 lockd: double unregister of inetaddr notifiers
f2fa2903113c irqchip/gic-v3: Fix ppi-partitions lookup
c08ddb437ddb genirq: Track whether the trigger type has been set
fc12863e2ba3 raid1: prevent freeze_array/wait_all_barriers deadlock
3c56a460c8bf block: Fix a race between blk_cleanup_queue() and timeout handling
1e28e345115e p54: don't unregister leds when they are not initialized
937209dd49f8 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush sequence
73d36ccc25ad mtd: nand: mtk: fix infinite ECC decode IRQ issue
886c51dad821 mtd: nand: Fix writing mtdoops to nand flash.
684797376fd0 mtd: nand: omap2: Fix subpage write
b58d7cba2730 target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
8412e7db941c target: Fix quiese during transport_write_pending_qf endless loop
7c302f595f4b target: Fix caw_sem leak in transport_generic_request_failure
cc36f84ff1f0 target: Fix QUEUE_FULL + SCSI task attribute handling
41411af9e8ad target: fix null pointer regression in core_tmr_drain_tmr_list
8734ebeb8106 iscsi-target: Fix non-immediate TMR reference leak
2e2bc1186a08 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
6de2abbd4c31 scsi: lpfc: Fix oops if nvmet_fc_register_targetport fails
2000b870234f scsi: lpfc: Fix FCP hba_wqidx assignment
01f0e334995a scsi: lpfc: Fix crash receiving ELS while detaching driver
020ccb98ef75 scsi: lpfc: fix pci hot plug crash in list_add call
9b58a782f5a4 scsi: lpfc: fix pci hot plug crash in timer management routines
e316d92e10ac scsi: sd_zbc: Fix sd_zbc_read_zoned_characteristics()
f98e27e575f1 net/9p: Switch to wait_event_killable()
8be417a79efc fs/9p: Compare qid.path in v9fs_test_inode
2e349fe9c2bb fix a page leak in vhost_scsi_iov_to_sgl() error recovery
c0697b079ae5 mfd: lpc_ich: Avoton/Rangeley uses SPI_BYT method
2ace5971b1c1 ASoC: sun8i-codec: Set the BCLK divider
c7316d6679de ASoC: sun8i-codec: Fix left and right channels inversion
2eb91e439cdf ASoC: sun8i-codec: Invert Master / Slave condition
0a116d482fa8 ALSA: hda/realtek - Fix ALC700 family no sound issue
1505048e3ff8 ALSA: hda: Fix too short HDMI/DP chmap reporting
1a1f798bfb30 ALSA: timer: Remove kernel warning at compat ioctl error paths
1051d7755bda ALSA: usb-audio: Add sanity checks in v2 clock parsers
199cd7823763 ALSA: usb-audio: Fix potential out-of-bound access at parsing SU
cf7d9d2b53dc ALSA: usb-audio: Add sanity checks to FE parser
aba17bf44d13 ALSA: pcm: update tstamp only if audio_tstamp changed
29259072ec04 ext4: prevent data corruption with journaling + DAX
97da4f9039cb ext4: prevent data corruption with inline data + DAX
5ddf166442c3 ext4: fix interaction between i_size, fallocate, and delalloc after a crash
9ed0b612fb77 ata: fixes kernel crash while tracing ata_eh_link_autopsy event
9d238de93426 fsnotify: fix pinning group in fsnotify_prepare_user_wait()
5b981d854914 fsnotify: pin both inode and vfsmount mark
91b0d40827a2 fsnotify: clean up fsnotify_prepare/finish_user_wait()
99a127e4a587 md/bitmap: revert a patch
b11cb870192e Bluetooth: btqcomsmd: Add support for BD address setup
cd4c4ed7d2a0 md: don't check MD_SB_CHANGE_CLEAN in md_allow_write
96e829f152c7 rtlwifi: fix uninitialized rtlhal->last_suspend_sec time
7d43a23c6689 rtlwifi: rtl8192ee: Fix memory leak when loading firmware
ef7cb0278073 nfsd: deal with revoked delegations appropriately
b6996af90c58 NFS: revalidate "." etc correctly on "open".
76d4c8adb264 NFS: Avoid RCU usage in tracepoints
78e607a16574 nfs: Fix ugly referral attributes
43f950f570f7 NFS: Revert "NFS: Move the flock open mode check into nfs_flock()"
52e54c5dc1d3 NFS: Fix typo in nomigration mount option
930ac0de39d5 isofs: fix timestamps beyond 2027
70fb63a15260 fanotify: fix fsnotify_prepare_user_wait() failure
568131ebc640 bcache: check ca->alloc_thread initialized before wake up it
4739cc25fe6a libceph: don't WARN() if user tries to add invalid key
f5e35be74237 eCryptfs: use after free in ecryptfs_release_messaging()
8fa715eede18 fscrypt: lock mutex before checking for bounce page pool
e880aa103552 nilfs2: fix race condition that causes file system corruption
0eb9f2d0c80d autofs: fix careless error in recent commit
7724ca25f299 autofs: don't fail mount for transient error
020cd1b07344 rt2x00usb: mark device removed when get ENOENT usb error
728ec449a62c MIPS: math-emu: Fix final emulation phase for certain instructions
e67e9e160afb MIPS: BCM47XX: Fix LED inversion for WRT54GSv1
b7fc80471672 MIPS: Fix an n32 core file generation regset support regression
695a30121f31 MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry
649b942f5f21 dm: discard support requires all targets in a table support discards
9a77250fe32f dm: fix race between dm_get_from_kobject() and __dm_destroy()
0f222c2c6239 MIPS: pci: Remove KERN_WARN instance inside the mt7620 driver
badd13d39a0d dm: allocate struct mapped_device with kvzalloc
1ea71c17d132 ovl: Put upperdentry if ovl_check_origin() fails
20f908eac772 dm bufio: fix integer overflow when limiting maximum cache size
21e0f5780760 dm mpath: remove annoying message of 'blk_get_request() returned -11'
84370754991c dm crypt: allow unaligned bv_offset
c27aa7e405c2 dm cache: fix race condition in the writeback mode overwrite_bio optimisation
463a9e155dab dm integrity: allow unaligned bv_offset
fa7ebbb65fac ALSA: hda: Add Raven PCI ID
571d0222e808 PCI: Apply Cavium ThunderX ACS quirk to more Root Ports
86602f1c5aac PCI: Set Cavium ACS capability quirk flags to assert RR/CR/SV/UF
fc037283c8a7 PCI/ASPM: Use correct capability pointer to program LTR_L1.2_THRESHOLD
f56bf6a0bd36 PCI/ASPM: Account for downstream device's Port Common_Mode_Restore_Time
03a249b08df1 PM / OPP: Add missing of_node_put(np)
2c1211c2edc9 nbd: don't start req until after the dead connection logic
01d54a192605 nbd: wait uninterruptible for the dead timeout
7bc2c995f8db net: mvneta: fix handling of the Tx descriptor counter
504d2a22b3af MIPS: ralink: Fix typo in mt7628 pinmux function
2f51d995b2b7 MIPS: ralink: Fix MT7628 pinmux
55cc724a945f ARM: 8721/1: mm: dump: check hardware RO bit for LPAE
884c853ff37b ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE
c6a032594344 arm64: Implement arch-specific pte_access_permitted()
8420a2afdea5 x86/entry/64: Fix entry_SYSCALL_64_after_hwframe() IRQ tracing
95f53ae99256 lib/mpi: call cond_resched() from mpi_powm() loop
a5d620687584 sched: Make resched_cpu() unconditional
188ec06978ac serdev: fix registration of second slave
9a6630779ac1 cpufreq: schedutil: Reset cached_raw_freq when not in sync with next_freq
12da4fd9af22 ACPI / EC: Fix regression related to triggering source of EC event handling
1925155cbaf8 s390/disassembler: correct disassembly lines alignment
3bbfc892e348 s390/disassembler: increase show_code buffer size
f2dd6d7f4453 s390/disassembler: add missing end marker for e7 table
e4d2498802cf s390/guarded storage: fix possible memory corruption
c1de5b04dff3 s390/runtime instrumention: fix possible memory corruption
1156f0d1e7b9 s390/noexec: execute kexec datamover without DAT
893ce3be12b7 s390: fix transactional execution control register handling
e883dcdf2291 lguest: disable it vs. removing it.
40bda3ef7bfd x86/entry/64: Don't use IST entry for #BP stack
7414e2e34e6f kvm/x86: fix icebp instruction handling
32ec5903cbbe perf/hwbp: Simplify the perf-hwbp code, fix documentation
cc46dc546e06 media: usbtv: prevent double free in error case
ffe911e1acac ALSA: seq: Make ioctls race-free
(From OE-Core rev: cd10e3be03a5c7c8c0e376c3e35fcba6d064a6db)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker released another 4.12-stable that comprises the following
changes:
23dcfbfbca0a Linux 4.12.22
d4879ce5efb7 arm64: Kill PSCI_GET_VERSION as a variant-2 workaround
77915e1a7544 arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support
b06fbedb6e14 arm/arm64: smccc: Implement SMCCC v1.1 inline primitive
1f400b388a20 arm/arm64: smccc: Make function identifiers an unsigned quantity
f5d3afa3aecc firmware/psci: Expose SMCCC version through psci_ops
4c69d3a66e60 firmware/psci: Expose PSCI conduit
cfec930a45f8 arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling
9e9697733818 arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support
2a8574eb6e3f arm/arm64: KVM: Turn kvm_psci_version into a static inline
2c79f828dfed arm64: KVM: Make PSCI_VERSION a fast path
042626a87234 arm/arm64: KVM: Advertise SMCCC v1.1
48a9e563e528 arm/arm64: KVM: Implement PSCI 1.0 support
28283de68052 arm/arm64: KVM: Add smccc accessors to PSCI code
33d47367626b arm/arm64: KVM: Add PSCI_VERSION helper
82ca1dcebf95 arm/arm64: KVM: Consolidate the PSCI include files
efb7c6b5b7f9 arm64: KVM: Increment PC after handling an SMC trap
b720b7837ed8 arm64: Branch predictor hardening for Cavium ThunderX2
6f2750c7a1c9 arm64: Implement branch predictor hardening for Falkor
b56fa11959a7 arm64: Implement branch predictor hardening for affected Cortex-A CPUs
5eb80f970c49 arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75
cf45e77d8106 arm64: entry: Apply BP hardening for suspicious interrupts from EL0
e9c2f25bf62d arm64: entry: Apply BP hardening for high-priority synchronous exceptions
b4f51ebd0fc3 arm64: KVM: Use per-CPU vector when BP hardening is enabled
e8f7c5ba8c70 arm64: Move BP hardening to check_and_switch_context
e2c124fa14e1 arm64: Add skeleton to harden the branch predictor against aliasing attacks
ddd305f0fdf8 arm64: Move post_ttbr_update_workaround to C code
204d987e7143 drivers/firmware: Expose psci_get_version through psci_ops structure
8880e6380d91 arm64: cpufeature: Pass capability structure to ->enable callback
48017c15187b arm64: Run enable method for errata work arounds on late CPUs
cf64258fb122 arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early
7d550f8cb119 arm64: futex: Mask __user pointers prior to dereference
b9d01590df34 arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user
1b74ca827ed3 arm64: uaccess: Don't bother eliding access_ok checks in __{get, put}_user
41b08b7c365b arm64: uaccess: Prevent speculative use of the current addr_limit
1736debe11ef arm64: entry: Ensure branch through syscall table is bounded under speculation
84e4780beea5 arm64: Use pointer masking to limit uaccess speculation
d77d4c9aa433 arm64: Make USER_DS an inclusive limit
b96ab81a6468 arm64: Implement array_index_mask_nospec()
21eb21937d8e arm64: barrier: Add CSDB macros to control data-value prediction
da1217a79997 arm64: idmap: Use "awx" flags for .idmap.text .pushsection directives
c20b48f5b7a3 arm64: entry: Reword comment about post_ttbr_update_workaround
15d4d37f7709 arm64: Force KPTI to be disabled on Cavium ThunderX
3489abd67e33 arm64: kpti: Add ->enable callback to remap swapper using nG mappings
b154d9be8c6f arm64: mm: Permit transitioning from Global to Non-Global without BBM
1610bb019302 arm64: kpti: Make use of nG dependent on arm64_kernel_unmapped_at_el0()
250a3a64585f arm64: Turn on KPTI only on CPUs that need it
32da2aa26b97 arm64: cputype: Add MIDR values for Cavium ThunderX2 CPUs
93d290bbe8f1 arm64: kpti: Fix the interaction between ASID switching and software PAN
923618230c12 arm64: mm: Introduce TTBR_ASID_MASK for getting at the ASID in the TTBR
51218390beb6 arm64: capabilities: Handle duplicate entries for a capability
630cf7161fca arm64: Take into account ID_AA64PFR0_EL1.CSV3
4b7ebe5c3644 arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry
e09f32469091 arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0
8202169d678a arm64: use RET instruction for exiting the trampoline
414d9eabda3d arm64: kaslr: Put kernel vectors address in separate data page
fce92f180168 arm64: entry: Add fake CPU feature for unmapping the kernel at EL0
83584a583bff arm64: tls: Avoid unconditional zeroing of tpidrro_el0 for native tasks
4732b98b6400 arm64: cpu_errata: Add Kryo to Falkor 1003 errata
85dacaa58475 arm64: erratum: Work around Falkor erratum #E1003 in trampoline code
bb0fa2f9cece arm64: entry: Hook up entry trampoline to exception vectors
df7f7308d5f0 arm64: entry: Explicitly pass exception level to kernel_ventry macro
14bcc912ca7e arm64: mm: Map entry trampoline into trampoline and kernel page tables
c30f47afaa64 arm64: entry: Add exception trampoline page for exceptions from EL0
21b891bf770f arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI
09e8df92ba8e arm64: mm: Add arm64_kernel_unmapped_at_el0 helper
6832da386e60 arm64: mm: Allocate ASIDs in pairs
bfd2ff25b585 arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN
1e4477930e5e arm64: mm: Rename post_ttbr0_update_workaround
1e1890551573 arm64: mm: Remove pre_ttbr0_update_workaround for Falkor erratum #E1003
0223b2589432 arm64: mm: Move ASID from TTBR0 to TTBR1
9fe82f4ebdc3 arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN
199f832ebf00 arm64: mm: Use non-global mappings for kernel space
e9b0e14af7e3 arm64: move TASK_* definitions to <asm/processor.h>
cab5207f57fd brd: remove unused brd_mutex
7522521435a4 arm/syscalls: Optimize address limit check
797f169015c5 Revert "arm/syscalls: Check address limit on user-mode return"
3056c8f5be3a syscalls: Use CHECK_DATA_CORRUPTION for addr_limit_user_check
74116ef5625a arm64: add VMAP_STACK overflow detection
0d82fd80a2d1 arm64: add on_accessible_stack()
c38502bc1472 arm64: add basic VMAP_STACK support
c3a53247c1ff arm64: use an irq stack pointer
73dcb6d84040 arm64: assembler: allow adr_this_cpu to use the stack pointer
344a8e142697 arm64: factor out entry stack manipulation
59c4a6fb5606 efi/arm64: add EFI_KIMG_ALIGN
1a5300c6063f arm64: move SEGMENT_ALIGN to <asm/memory.h>
3969d302c52f arm64: clean up irq stack definitions
f030f0edba48 arm64: clean up THREAD_* definitions
1f3c78245a4a arm64: factor out PAGE_* and CONT_* definitions
8a5bc40e0c93 arm64: kernel: remove {THREAD,IRQ_STACK}_START_SP
deba543af0b8 fork: allow arch-override of VMAP stack alignment
774f64ce7b0f arm64: remove __die()'s stack dump
7342855775d5 arm64: unwind: remove sp from struct stackframe
553dbcbcff1d arm64: unwind: reference pt_regs via embedded stack frame
926b0fe43412 arm64: unwind: disregard frame.sp when validating frame pointer
da32ad8b5c11 arm64: unwind: avoid percpu indirection for irq stack
eac4e8ecdd77 arm64: move non-entry code out of .entry.text
b341e176374e arm64: consistently use bl for C exception entry
3cdad1f0b9d0 arm64: Add ASM_BUG()
01ace65c9150 arm64/vdso: Support mremap() for vDSO
8050b6ba63cb arm64: Handle trapped DC CVAP
0ee09d69dc93 arm64: Expose DC CVAP to userspace
704046e3e554 arm64: Convert __inval_cache_range() to area-based
b40935f19c73 arm64: mm: Fix set_memory_valid() declaration
29530b5b549e arm64: Abstract syscallno manipulation
f9f1c9d7d767 arm64: syscallno is secretly an int, make it official
ab69949ffe23 x86/tracing: Build tracepoints only when they are used
03793940e25c x86/tracing: Disentangle pagefault and resched IPI tracing key
2822852ed8a5 x86/idt: Clean up the i386 low level entry macros
d5654eb18f73 x86/idt: Remove the tracing IDT completely
0d38071a05e7 x86/smp: Use static key for reschedule interrupt tracing
4ef6e0f37891 x86/smp: Remove pointless duplicated interrupt code
40b216cec86d x86/mce: Remove duplicated tracing interrupt code
03f41cf538fd x86/irqwork: Get rid of duplicated tracing interrupt code
418b9a493901 x86/apic: Remove the duplicated tracing versions of interrupts
5be95f8dfffe x86/irq: Get rid of duplicated trace_x86_platform_ipi() code
bd936c5d828a x86/apic: Remove the duplicated tracing version of local_timer_interrupt()
f4971407abbb x86/traps: Simplify pagefault tracing logic
2f436623b2c3 x86/tracing: Introduce a static key for exception tracing
4395735bf0a9 arm64/syscalls: Check address limit on user-mode return
3e1d12839e05 arm/syscalls: Check address limit on user-mode return
649cd48799ef x86/syscalls: Check address limit on user-mode return
8fe35f321cd3 audit: fix memleak in auditd_send_unicast_skb.
4b1e889a4dd0 arm64: ptrace: Flush user-RW TLS reg to thread_struct before reading
75a382c72d50 arm64: Add dump_backtrace() in show_regs
(From OE-Core rev: 9edeb4733e4a49d11febadc0e282c68c05e39575)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to skip this testcase when gettext is not available. Otherwise,
we will have the following error at configure.
error: possibly undefined macro: AM_NLS
(From OE-Core rev: ccc10e95c9fcdabcf4ae5e6f9cc34c1d632b4654)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One of the uses of externalsrc is to enable iterative editing and
rebuilding of source files during development. In such situations,
disabling Automake dependency tracking can lead to sources not being
rebuilt even though files they depend on have been modified.
(From OE-Core rev: af2f802d5b59203a887982af83252565b8078085)
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>
autotools.bbclass adds --disable-dependency-tracking to the configure
command line by default, so there's no need for individual recipes to
do so.
Also make some minor recipe formatting cleanups.
(From OE-Core rev: 2f0f9b7f0b209798a74ee7fc8eafde5a109364b9)
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>
autotools.bbclass adds --disable-dependency-tracking to the configure
command line by default, so there's no need for individual recipes to
do so.
(From OE-Core rev: 14910c5a215f434b2df47ca38902192f04f6b38a)
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>
Replace the previous (incomplete) workaround with better solution
backported from upstream.
(From OE-Core rev: b038a6e418d723a0a413219e9882cdd7f3804625)
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>
* update to version 3.3
* Remove 0001-zeroconf-Include-fcntl.h.patch since it's
included in v3.3
* Add update-distcc-symlinks into FILES.
(From OE-Core rev: dea59aab5d785d4f892cc26a8ea06eb4a6c554b3)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* Correct upstream SRC_URI and SRCREV to v3.3
* Correct default to fix starting distccd service failed
It caused by upstream commit:
920e8b922a
...
commit 920e8b922addea8c54e68cc29c1416753f532f78
Author: Shawn Landden <slandden@gmail.com>
Date: Mon Feb 26 11:29:14 2018 -0800
daemon: warn when masquerade is not setup
...
Add option --make-me-a-botnet to disable the warning.
* Use localhost to replace 192.168.7.0/24 which is inappropriate for runqemu slirp.
[YOCTO #12741]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Had to update the figure to use "Upstream Source" labels and
fix a wrong "devtool edit-recipe" command. That new figure went into
both figures folders for the sdk-manual and mega-manual areas.
Provideds some cleaner wording.
(From yocto-docs rev: 6225d04dd0551a840d929b752225064a222962bc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed the way we handle the list of exported variables resulting
from running the *.sh installation script. Rather than list them
all out (they were getting to be quite numerous), I am referencing a
few as examples and recommending the user look at the actual *.sh file
if they would like to examine the entire list.
(From yocto-docs rev: ce2c1491f4f0991cad5f8d4a220a102adb024624)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some Minor edits to this section. Also, a scrub of the list of variables
exported when running the install script. The list is out of date and
is missing many variables. I noted these in comments for now and will
add them in later.
(From yocto-docs rev: 739a2ca42ee798625492ddb51a32ad09f80aa960)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The text had not been updated to include the many architectures
now supported in the Index of Releases toolchain directories.
I added the list of architectures.
Renamed the section to a more appropriate section heading.
Verified the example and put in the latest output.
(From yocto-docs rev: a567f5101d230ef1fa4428e9c6905e9e23bd5855)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12628]
The syntax for MACHINE_EXTRA_RRECOMMENDS was off in the machine.conf
example. I have removed that leading space, which should not have
been there. This matches the actual file in poky now.
(From yocto-docs rev: 11e38c4c2b23f9a8ae9a0655a07af1a5682c24b8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This chapter only had the stuff about submitting a defect against
YP and making a change to YP. I moved that information into the
common tasks chapter as it is "how-to" information. Removal of this
chapter alse required that the mega-manual.xml file be updated to
not include the chapter.
(From yocto-docs rev: 4421b1585c21a6f7862525ba972f7e765626066e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Renamed to "Speeding Up a Build" and moved out of the setting up
chapter to the common tasks chapter. Fixed a couple links in the
ref-manual.
(From yocto-docs rev: c53fddd353230c8ef1abc21c7a2d2b1f492f034a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section is now organized under the parent "Building" section in
the common tasks chapter.
(From yocto-docs rev: bc1bc9965cda547e45ff09a1c9e77be5e8c0a3d9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section is now organized inside the parent "Building" section
in the common tasks chapter.
(From yocto-docs rev: 71be83e1ebfd2ad8606bddf852a4c06ab7d7c53d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section is now part of the building parent section. I have moved
it there in the common tasks chapter.
(From yocto-docs rev: a9fccb1bca8e18169d93416c7a6e17723bcf01c7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section now belongs under the parent "building" section in the
common tasks chapter.
(From yocto-docs rev: dad6029b9b45fd6ec564894ba101991fd8a2162e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a "building" topic. I moved it beneath the new parent
"building" section.
(From yocto-docs rev: 0426f0dd6871c8063476945b93743ffc5cfc0856)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I had a section on building an image up in chapter that talks about
getting set up to use YP. I moved the build section to a new parent
section that will hold topics on building various things. I renamed
the section to "Building a Simple Image". I had to fix several links
in the sdk-manual, overview-manual, and dev-manual.
(From yocto-docs rev: c119fc7c6148e7b08acad374fe2981842e9462a3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed to "Locating Yocto Project Source Files". I am moving the
sections on cloning repositories out from under this section.
(From yocto-docs rev: 3889aadab9b603097b6cc5b7afb9d0066021106c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Setting Up the Development Host to Use the Yocto Project" title
changed to "Preparing the Build Host". Fixed links in a lot of
other manual.
(From yocto-docs rev: 00e487e01a0e2a16f5b8d786b3124cbe5115b38b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was in the chapter on the open source development
environment. It is better suited to be in a newly named chapter
"Setting Up to Use the Yocto Project". I have moved it.
(From yocto-docs rev: 028f8f7a1b93a023a99ffadb01b0da699b4081c2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The chapter was not the best given the new nature of the manual. I added
better introductory wording.
(From yocto-docs rev: cb4695575c0105e0cd5e50c2132e98553babe147)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section on licensing in the overview-manual was really "how-to"
information. I moved this to a new section in the dev-manual for
"working with licenses". I fixed some references in the ref-manual and
in the bsp-guide as well.
(From yocto-docs rev: f150a1ea2da900aae88fc5fa60f4115cc213ba2d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12517]
Added some qualifying information for how to generate a list of tap
devices to enable runtime tests on QEMU.
(From yocto-docs rev: 4359a355944f6cf4ec1e14ecbedc690ef37ff743)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Wayland and Weston topic moved from the overview-manual to
the dev-manual. The topic was really a "how-to" topic and not
a concepts topic.
(From yocto-docs rev: b0f20a67c99590c48d595f4e572339bb5b6b83b3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Wayland and Weston topic moved from the overview-manual to the
dev-manual. The lone link to this topic was in the ref-images
chapter. I updated the link.
(From yocto-docs rev: 6c335f8d3618e3285f91fe20aea33a1c1f1c0ddf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two sections at the end of the shared state concepts section
in the overview-manual are really task sections. I took those
and created a couple new sections in the dev-manual to house
those topics.
(From yocto-docs rev: 86382e7873d796f44554c8e04d3bd8091d350f51)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed "OpenEmbedded" in the string "OpenEmbedded build system."
(From yocto-docs rev: d44b370b0fb993c32c9dfe3515188fa9e7ff2437)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the line with "stamp-extra-info" flag to the example from
the deploy.bbclass. This line was missing or it had been added
since the original writing of this section.
(From yocto-docs rev: 50f5482c2132235962d4ab48d0d7263628df1728)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I made some small edits to this section.
(From yocto-docs rev: a2cc355c1bdfbf10f86f8d4994cc81dfb12d8f87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that 2.5 has released, I replaced the ENTITY variable used for
the moving month and year with the actual release month and year
(i.e. May 2018).
(From yocto-docs rev: 2d6e8ddce4fce0c405d2aea69cea2a5b262410f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more realistic information on how this variable is set.
(From yocto-docs rev: 47e6cb7d00eeb8001c4a53c13600feb5ef4d4660)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the descriptions for the SDK_HOST_MANIFEST and
SDK_TARGET_MANIFEST variables.
(From yocto-docs rev: 212d6c5b3290016431604e67dfb27a1408ac0463)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the manifest files to the figure and the associated variables.
Also added the test files.
(From yocto-docs rev: cfba55462d1c37ef2ff6454890da64a40f9c3607)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I needed to add some italic formatting for variable type strings.
(From yocto-docs rev: afc6d2d10081f9e9d940075c03b3e704b37cf13b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated with a few minor wording changes. Tried to get a little
more active from some of the passive wording.
(From yocto-docs rev: 7dcd8117e3ea40d4b3c1ee5c3b1ea3c2bd29893a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The note about the TAR backend not working was changed to soften
the warning. It has "limited functionality" rather than
"broken".
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
General improvements to both sections.
(From yocto-docs rev: 977fdeaf1258613c3dfc41d78c8125fdba9b2a24)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure for image generation of the BitBake process
needed some enhancing.
(From yocto-docs rev: fc978663a7962d1515d4f47abe8ae522b9e24ce1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The image needed a little bit of clean up.
(From yocto-docs rev: d4fb680be194b7f9b192e06f0081a09504649633)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite included the "do_populate_sysroot" task and a bunch of
STAGING_DIR_* variables.
(From yocto-docs rev: 53484d4982a41f83ac9355aada46526b5d05f64a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
More changes to the "analysis-for-package-splitting.png" figure.
I needed to work in "do_populate_sysroot" task and several
STAGING_DIR_* variables.
(From yocto-docs rev: fcb88024a7dfff1b6cca49770f67bf4c1f548362)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The stage of the BitBake workflow is really "Configuration, Compilation,
and Staging". I updated the title to be such.
(From yocto-docs rev: 4aab6d001119aa8c52e09ef0f6f66694719add29)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable plays a much smaller role since recipe-specific
sysroots were implemented. I have rewritten the description to say
that STAGING_DIR helps construct the recipe-sysroots directory.
(From yocto-docs rev: c1ad18abe67111738efc18725c4f7706b55738cb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure had the wrong hierarchy for the "image", "recipe-sysroot",
and "recipe-sysroot-native" folders. Moved out a level.
(From yocto-docs rev: e1f45b666b1cd589cee9c9ae6dba01467b991ef9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a reference to the STAGING_DIR_HOST variable, which is part of the
default directory used as the shared, global-state directory holding
data generated during the packaging process.
(From yocto-docs rev: d68dcec327e96f1da0879681dcde43d4f1769af0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section needed some verbiage tweaks. Nothing major. Just a
few modifications to help clarify some areas.
(From yocto-docs rev: 9deabf424387fd1441882ce8cf28ea69421ea237)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "configuration-compile-autoreconfig.png" figure was badly
out of date. It was not showing the two sysroot directories
and did not use the $BPN variable. I have updated the figure
and placed in both the overview-manual/figures area and the
mega-manual/figures area.
(From yocto-docs rev: dba3b2b65f18870229dcb3dbcb8fadc099165894)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-oredered the four options to be alphabetical.
(From yocto-docs rev: 7976ee05c935fd6c24abea99f71436003656cc73)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added some key references to the patching areas of discussion across
the manual set.
(From yocto-docs rev: f198529b3072a4a03fd368ea307e8e004c46a344)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file:// protocol is primarily used for digging out patch files that
are local with the metadata (layer). I put a link in the paragraph that
is talking about them to the "Patching" section in the overview-manual.
(From yocto-docs rev: 18a7b4b81d192fb2cfd96763de4cfabd61c3a0ea)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mentioned the role of SRC_URI earlier in the description as it is key.
Replaced "some_recipe" with "some_package" as the emphisis is not on
the recipe at that point in the example.
(From yocto-docs rev: f7f86941fdf866a693386335374f835078db3ddf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added detail for the step one. Clearer.
(From yocto-docs rev: ef95d547180ce53fade7a3764f8d362422472c7a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I found this section a bit loosely worded and could result in
confusion to a user ramping up with YP. I have done an extensive
rewrite focusing on exact wordings.
(From yocto-docs rev: af64c07d259e06fb13572fc224636ed240037b57)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added more content to this task description to help describe how
patching is performed and how the task uses the "apply" parameter
that can be provided with the SRC_URI variable.
(From yocto-docs rev: 6717a3326b0005f6a57be4cc026693b7cd9e8d08)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section presents a deep dive into the patching phase of the
build process. I removed the vague "apply=yes" reference and added
more references for the reader to read and learn about patching.
The bit about the SRC_URI parameters (i.e. "apply") is going to be
covered in the do_patch documentation since that is the task that
handles that stuff.
(From yocto-docs rev: 5a2c98543ccc9ed24d16bb9442b674532940c0da)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a new feature (task) to the list of available features you
can use with the variable. The "task" feature saves output file
signatures for sstate tasks.
(From yocto-docs rev: 0669580ce40c46f0b5f8204a6b00e11f725a383c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The paragraph at the end of the section about the file
hierarchies is better cast as a note.
(From yocto-docs rev: 4e8a33be61ea1ea5db12fc5fc97832393213fb5d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure had a bad "PN" variable being used in the "S" directory.
This needed to be changed to "BPN".
(From yocto-docs rev: beafc55eb3646ecb96929e44538de952207f0b76)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure was incorrect. Replaced the PN variable with BPN for
the "S" directory.
(From yocto-docs rev: 440edcdae932a83b6c32b51e85d97178a77b4bed)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I scrubbed through this section and provided much better
explanations of the inside workings of BitBake fetching source
with building recipes. During that, I fixed an error where
the PN variable was being used rather than the BPN variable.
(From yocto-docs rev: 5765987259ac46f140e099d8e1da2ab33f006d36)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a more complete and clear description.
(From yocto-docs rev: 65505debfb82536e7e2d4ff7e5bc14c6af1a7cf6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a link to the BUILD_ARCH variable. The variable is part
of the glossary but for some reason there was no link to it.
I also added a note for a link to the SDK_ARCH variable, which
was described inline. By convention, I do not like to link to
variables inline as the underlining used to indicate a link messes
with with underscore characters that are usually a part of a
varible's name.
(From yocto-docs rev: a2f487141375ee7ce226eece85424e709ddc67a3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed some wordings to accomodate reviewer feedback.
(From yocto-docs rev: 6de69db7ae5bbbe5e6e7f0b5f6b9b1326f3f5f6a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section had a new bullet added for talking about one instance
of Toaster web server to track and capture multiple command-line
builds.
Also, provided better wording surrounding shutting down Toaster.
(From yocto-docs rev: 9dbe242bf90860afabc9ab218992d2b81aaf8896)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As suggested in a recent mail thread by Martin Jansa, there are cases in
which QEMU under KVM will crash because of CPU feature incompatibilities
between compiled binaries and the host CPU under which qemu is run.
Although this is hard to fully escape, we should document the issue to
help people work around it. I have taked Martin's suggested patch
and did some rewording for the new section.
(From yocto-docs rev: 6c625fcf631a82529bc58ec8fb0c18dbe13188d2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step for getting toaster to create the database schema,
default data, and gather the statically-served files changed.
I updated with the proper steps.
(From yocto-docs rev: 2c3f7ac7f9419c32147be860897984d391a0e930)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The links to the DATABASES, SECRET_KEY, and STATIC_ROOT
were bad. They were pointing to old dated software. I updated the
links.
Also, added a couple new sections. One is how to start a
Toaster environment without its web server. The other is how
to start a Toaster environment without a build server.
(From yocto-docs rev: afe2708014600c0a86c649f6533dd1f6317fe742)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This month and date is always jumping around. I decided to add a
variable so that I only need to to update that when a release date
changes.
signed-off by: Scott Rifenark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the layer-input.png and source-input.png figures.
Had to trim them so they were tighter in the figure. Also,
updated some context in the source-input.png figures.
(From yocto-docs rev: cad644af48b0a1cb2baeb8d2649b9aa7ccbdeda5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Metadata, Machine Configuratrion, and Policy Configuration"
section discusses the three types of layers fed into the OpenEmbedded
build system workflow figure. I updated the figures and text
supporting this discussion. The figure had to be moved to the
mega-manual/figures folder also.
(From yocto-docs rev: 39dd671333f7b3df616920aab08e01c926deca1c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to escape out quote characters in a .sed file. Also, using
the @ character is cleaner.
(From yocto-docs rev: f87ca83a6faf5b772d719cd03d6fa0a9b21174bb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was pretty out of date. I have updated many areas
of the text.
(From yocto-docs rev: 640cdc7fb9d4f93c86b907d631e4f90b261d5ea1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bblayers.conf example files were out of date. Updated them.
(From yocto-docs rev: fd5d75604a3ad66e56c421634f349dce3e38f609)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This image was out of date. I updated it.
(From yocto-docs rev: feb287a72201363c43607508d2e8f1da3993f93f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I removed the less than pretty build process figure and swapped
in the more aesthetically pleasing one. Also, am refering to
the figure as the "general workflow figure".
(From yocto-docs rev: 093f1337131bc658d6afd1b56fb3661a76751aad)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
That figure is no longer used in the manual set. The newer,
more aesthetically pleasing one is.
(From yocto-docs rev: 853567672533777aa5d9baa3969d08673a8dd71f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version of the figure was not as cool looking as the other
version, which is preferred. I have removed it.
(From yocto-docs rev: ed0346b00ee6b47d90efedd1dd69e4a92a42afe9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was really sparse for being in the concepts chapter of
this manual. I added some more text to it.
(From yocto-docs rev: 9369ba5292126957f89f8b96e06bc2492825c54b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed the "Metadata (Recipes)" title to simply "Recipes".
It is less confusing since the term "Metadata" is in general recipes,
classes, and configurations. Provdided a few small edits elsewhere
in the section.
(From yocto-docs rev: 566b54f58ca7859bf860f25e433bff4b429c2507)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The term "OpenEmbedded build system" was being introduced with just a
link. Apparently, that is not enough for marketing. I added a
clause with some more information about it.
(From yocto-docs rev: e7a3a581d44e21976c3f6fe19330e19af1ae0773)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section titled "Development Concepts" is really mis-titled.
It is more about the OpenEmbedded Build System. So, I renamed the
section "OpenEmbedded Build System Concepts." There were a couple
links all within the overview-manual. No other place in the YP
doc set linked to that heading.
(From yocto-docs rev: 889eaf3373a80ca0978ee79ecd2ff26aefb9025b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Softened the opening paragraph so it was not introducing any special
terms right off the bat. Renamed the section on the hardware layer
to configuring the build for specific hardware. Put in a link to
"build host" and used that term throughout.
(From yocto-docs rev: a324cb2f9c499dc8d68d1d87265930c308cbebb7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the "Challenges" section, the bullet item about YP's steep
learning curve referenced the "what I wish I'd Known" and
"Transitioning to a Custom Environment for Systems Development"
docs. I added links to these.
(From yocto-docs rev: 627042de38495f79d512c6b98c46193b1de0db47)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "License Manifest" bullet needed a link to the License
stuff in the dev-manual.
(From yocto-docs rev: 6350d68a6c1c5432fd833930437b4e5fe502033b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bullet "Releases According to a Strict Schedule" bullet
mentions the release cycle. I added a link to that section.
(From yocto-docs rev: c206c31d20aabe657863fc05274e2d533cdf7252)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a link into the concepts area for sstate.
(From yocto-docs rev: ac395452c3a2f34fb9775c77051b526e39fd9b4c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Widely Adopted Across the Industry" bullet item did not
have good links to the YP home page. Added them in.
(From yocto-docs rev: 8695f3e2bcc2a0d37dd8e6b113639628bffdf4b2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file was stretching beyond the rendered display window such
that part of the Yocto Logo was missing. Also had to place the
updated .PNG file in the mega-manual/figures folder.
(From yocto-docs rev: 5b73c54fcb2c3f60aee2ff7dc19c4aad102aa505)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed wording to be clear about how PACKAGE_ARCH is being set
when based on the Freescale MACHINE_SUBARCH variable.
(From yocto-docs rev: 76c4ad514e44755f1d4dcec61bb0a74c1b77243e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a section on adding a machine layer. Used Altera as an
example. Also, added a section on creating a general layer.
(From yocto-docs rev: fc36f006bd483a5c26d2b79a18431d16ec27dc00)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the section that talks about building an image for multiple
machines, there was a bullet item on managing granular level
packaging. It had an old example that used the "daisy" release
that showed how to share packages and re-use binaries. I replaced
the example with a discussion of Freescale's "fsl-dynamic-packagearch"
class, which does this type of sharing.
(From yocto-docs rev: ddc224d6d1fe172292dfd0a17f743a1e0a4cabe6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The method for accessing the YP Release Notes for YP 2.5 forward
is to go to the "DOWNLOADS" page of the main YP website and then
click on the "RELEASE INFORMATION" button. No longer does a user
need a simple URL. I updated the two spots in manual where this
information existed for accessing Release Notes.
(From yocto-docs rev: 1e171d3add1048fb81c5a05a11c8ddbaf88e0ecd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ENTITY was used in two places. I have updated those areas to
give the user new instructions to reach the Release Notes. As of
YP 2.5, we do not have a simple URL that can be used for the
Release Notes. The user must go to the "DOWNLOADS" page of the
main YP website and click the "RELEASE INFORMATION" button.
(From yocto-docs rev: 1c7cdd328baad9a317f4f4f9554999d80d1eb24c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated the first example in the section telling how to build out
a Wic image. I could not get the example to run so I used Stephano's
output.
(From yocto-docs rev: 6b4595215d6c24e3efb89288a7547f79ca3e59b7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a link to the YP implementation of Bugzilla. Added a final
paragraph noting the Bugzilla website if you want general information
on Bugzilla.
(From yocto-docs rev: 78c99c8f42edfee377431cacc10b9ccd4b25c4cf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link was not going to the top of the chapter.
(From yocto-docs rev: 52da20604a54d16645b4bb4e5e9efa748a00d2f5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed redundant link to CFLAGS in the TARGET_CFLAGS variable
description.
Removed redundant link to CPPFLAGS in the TARGET_CPPFLAGS
variable description.
(From yocto-docs rev: aa95485d44f92b831cd111dbc5bf75526d239db4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The wording to two links (one a variable and one a section in a
different manual) was ambiguous. I added phrasing to remove that
issue.
(From yocto-docs rev: 3b70b4287ca8b2583e0ef559125f1531a2bb6a67)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the link to WORKDIR to begin with. Also, removed the
<filename> formatting that was within the example, which is buried
in a <literallayout> tag set. Doing that screws up the formatting.
(From yocto-docs rev: 0d13dabaa13e5426da35b5d8147f51efa349b5bb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added "class" as a modifier after refering to the "populate_sdk_base"
class.
Removed link to the TMPDIR variable in an in-line example.
(From yocto-docs rev: 7733a4464ba2893a2363f47996f48587a86eaa82)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several redundant links and wordings in this description.
(From yocto-docs rev: bb9dd8ab6ef9cad387cdddada4f2be093551e38a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A migration item had taken the original section for the target of
the link out. I had not changed it.
(From yocto-docs rev: 10cfaee50455bf10450540f1b381d33f9babf985)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two instances where links were going into the kernel-dev manual
but the manual title was not being used in the text. Added it.
(From yocto-docs rev: 1922f8c79d1667db1fc9b5fe57030302469ca09c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was to a chapter in the existing manual. I do not
include the manual title when that is the case.
(From yocto-docs rev: 1b7c65b4a2dde3f5d069cb5edc75728492639870)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link was going to TARGET_PREFIX.
(From yocto-docs rev: 424e8ea3168ab2e910919e6f70fc0b16332ca4f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I replaced the "<" and ">" constructs with the tags
<replaceable> and </replaceable>. This is the preferred formatting
for user-supplied values.
(From yocto-docs rev: 1fc32486483c545671ffb2142b553da75dbe54fe)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the BBMASK variable, a link to Python documentation was
going to a specific 2.6 release. That release was probably the
most recent when the BBMASK variable was initially documented.
Python has many releases now (e.g. 3.6.5). I re-worded the
description to be more generic and sent the user to the general
Python release area. They can pick a release from that URL.
(From yocto-docs rev: 154aedf79625f37997bec18dba933c514072708e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the first link to the BB_DISKMON_WARNINTERVAL variable.
The variable was linked later in the text. No need to link
the output version of the variable... clunky looking.
(From yocto-docs rev: ec6cfc85ba2f1e2fc763b6b7c918a21cec00e203)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed wording so I could reference the proper name of the
LABELS variable.
(From yocto-docs rev: 05e5f287bde8219d1f8125d71fd48a36a422009a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The actual title of the sdk-manual does not include the word
"Manual". So, the reference to the book should terminate with the
word "manual" in lower case.
(From yocto-docs rev: 41bc85776f0b172fc243b6e5a5ca13b72e8399e5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was just going to the top of the section. I added an ID tag
to the actual host-user-contaminated test within that insane.bbclass
description. Now, the user is linked right to that test.
(From yocto-docs rev: b1e5b5a1876e211a8c57bfa727fa9031cfe5e0ac)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The focus of the discussion here is on the DEPLOYDIR variable.
Having the link to the variable DEPLOY_DIR adds clutter to it all.
Removed that link.
(From yocto-docs rev: 8561c70fcff88adc82c7c5998d2539d40b314888)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Took out stange parenthetical construct and the links to the B and
S variables. Links were redundant. The construct was weird.
(From yocto-docs rev: 9cd2bf116bd89288a93944359a4809e68fa61f7b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A "naked" reference to the bsp-guide was split across two lines
in the *.xml file. This splitting causes the link to not be
processed correctly by the mega-manual.sed script. I joined the
two lines to fix the link.
(From yocto-docs rev: e31b4d2210b5c246f3e822fbe8950a625e08ca98)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing this conventional part of the reference contextual diatribe.
(From yocto-docs rev: 5468ebf21bc9166de35e9b7016eef06ed586e5c3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trying to get back to a standard of using an actual link for only
the first occurrence of a variable in any given section.
(From yocto-docs rev: 68d80a5dd8481f938892473c4671a9c436e80c8f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the migration section, an older name for the bitbake-user-manual
was being used in the text for a cross-reference. I replaced it
with the current and correct name.
(From yocto-docs rev: 3f466b59a3138984cceae12ac58c84ec3cda4432)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the migration section, an older flavor of the title to the
sdk-manual was being used. This of course was not processed
correctly by the mega-manual.sed script. I fixed the title so
it is now processed correctly.
(From yocto-docs rev: 1f9fa699bb14f96a7c9ccab314a7d72e6a93dda6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The terms.xml chapter had a link to the toaster-manual where the
string to the manual was not matching the string used in the
mega-manual.sed file. Consequently, the link was not being processed
correctly. This type of link should not be a link in the mega-manual
because the target is to the manual in general. Fixed the string
of the toaster-manual to match what is being used in the mega-manual.
(From yocto-docs rev: 44042847db10b15f8694199162ad96dea44d21bc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The areas were found scrubbing the mega-manual. These were minor
fixes.
(From yocto-docs rev: aaa460be3f4a446c091d66a17ca6c010f335ccc4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I was using the "/cgit/cgit.cgi/" string as part of the link to
the source repos, which uses the ENTITY "&YOCTO_GIT_URL;". That
ENTITY is all that is necessary to get the link to work. I removed
the other stuff.
(From yocto-docs rev: f9a63c2cc824ef05230f614e933d178469890e97)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Fixed the name of the "do_compile" task so that it was not
referenced as "do_compile()".
2. Fixed a link to the Source Repositories so that the link
used the ENTITY for the YP Git area and not a full-blown
hard-coded path.
(From yocto-docs rev: 4b8d0e61f3f3017954d36ed196a08fb0a04909dc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "end" part of "linkend" was missing.
(From yocto-docs rev: 9411033faa6f71a52080c2f35a2af2f725399c7b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a link to the old kernel-manual in the reference manual.
This manual is not used. I changed the link to use the proper
ENTITY value and also removed the old one from poky.ent.
(From yocto-docs rev: f1377989ab4a85827f5aaab9b19c4fb3c10567ca)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a link going to the "kernel-manual" manual, which is no
longer used. Changed to "kernel-dev". This was a fix so that
I was using the proper ENTITY in the poky.ent file.
(From yocto-docs rev: 787ee10c7764ffd6adfbd8ddb304ac686bf3e95f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link was going to the right place but had an old chapter title
name.
(From yocto-docs rev: 57a5d25180429a97d47678c0782198623bc06eef)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found several instances of this being referred to as the
"OpenEmbedded Metadata Index". Changed to "OpenEmbedded Layer
Index".
(From yocto-docs rev: 60fb601be324a350cd4d51b199915e6b72e2f9b0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Had "Toaster Manual" in the cross-reference so it was not resolving
correctly when processed by mega-manual.sed.
(From yocto-docs rev: c99ce4a706df55e97388b45620ed2a503cb8312d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nobody provided a figure for me for this section, which would
have been nice. So, I have generalized the text to work
without that detail.
(From yocto-docs rev: 7570167196c26c9eb08e97d1350a715bff37c75f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I was using the ENTITY with "cgit/cgi"/ appended to the end.
The appended part is not necessary. Removed it.
(From yocto-docs rev: 64593694d62c99cbe2897804c04fea24110ee861)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using the "@" character to de-specialize the "/" character.
This change makes the file more readable.
(From yocto-docs rev: d15c9ce6cc365768677cdd40a8859bb96aad7dc4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found some mangled links in various spots that were causing the
mega-manual.sed file issues.
(From yocto-docs rev: 405a92f934bf7e209f3b8a543e63a1b4c693af29)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this file was accidentally dropped during all the manual
reording operations. I have restored it.
(From yocto-docs rev: 5c1244f18ede1af0a540687cfb5d9071fbb3c1c0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor wordings based on Stephano's feedback.
(From yocto-docs rev: 4aa7aa0e9c7d8e554771743ecabdf0e64f3884e0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This involved changing the root manual folder from
"getting-started" to "overview-manual".
Also, every link using the ENTITY "YOCTO_DOCS_GS_URL" was
changed to "YOCTO_DOCS_OM_URL". Most manuals had several
occurrences of these links.
The makefile needed updating to process the new manual
and not process the old "getting-started" manual.
(From yocto-docs rev: 1abf64e56e9096258038ae37b787a81bf786bb3b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the script to process the overview-manual strings
found in the mega-manual. These changed due to the folder
chaning from "getting-started" to "overview-manual".
Additionally, I discovered a single occurrence of a linked
reference to the mega-manual that was in the mega-manual.
This is not ideal. That link needs to be a link in the
ref-manual where it originates. However, the link in the
mega-manual should not link to itself. That link needed
processing just like all top-level book links in the
mega-manual. The link should be removed. I added a single
substitution operation at the end of the file to handle this
lone case within the mega-manual.
(From yocto-docs rev: 57ebdb1cb10a4df0d69316d1f116d7804199ae90)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The variabe for the "getting-started" manual goes away and is
replaced by this one for the new "overview-manual."
(From yocto-docs rev: 45fc9beac6db4c40c3660fc9e54cc11e9c1f96c4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a link to a deprecated "overview" manual. Replaced it with
the proper ENTITY to the getting-started manual.
Removed the ENTITY to the old "overview" manual.
(From yocto-docs rev: 891e4902052743833c422e6a557c93de42ed892d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Throughout the documentation, the manual "Getting Started With
Yocto Project" was used. The manual now is called "Yocto Project
Overview and Concepts Manual".
(From yocto-docs rev: f47d10029487420cbeb292f680084b63be0ec7e9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The concepts-manual is going away for 2.5. I have fixed all the
links across the YP documentation set that were cross-referencing
into the concepts-manual so they now cross-reference into the
getting-started manual, where that concepts chapter will live
post 2.4x.
(From yocto-docs rev: e9145e9e7fef882a13c982d34514a94f864b3c12)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No longer part of set from 2.5 on.
(From yocto-docs rev: edf059871a201179e8dab90746eb7e9eece65eb9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not need these chapters any longer. The manual is going away
and these chapters were organizational for the book and do not
provide any new information for the getting-started.
(From yocto-docs rev: 47e64fbee86960009968478099e9399f673bda9d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
these chapters were sucked into the getting-started manual but
now are no longer even needed there. The chapters are
organizational for the old concepts-manual and provide nothing
for the getting-started.
(From yocto-docs rev: dd97d06039e3fd6bcbbccafa99f4d29ce041ae70)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This chapter in now in the getting-started manual.
(From yocto-docs rev: 206c4e2117cc3b404c81ac66f391cee68db4a1c2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This manual will not exist. I deleted the two lines that process
links in the mega-manual for the concepts-manual
(From yocto-docs rev: 49530e16b19b8f24782c15fe7daf68e0e0444e39)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The two chapters have been integrated into the current
getting-started manual. Concepts manual is no longer in
existence.
(From yocto-docs rev: f8ee299901acb61d0e638ce9e36f30c5924f36d4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the YOCTO_DOCS_CM_URL from the mix of things. The manual
will not exist.
(From yocto-docs rev: d97df11478566654d95f02b6fe61eaa0068afb5f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This manual will not see existance. I put the list of .png files
from this manual into the existing getting-started manual as that is
where the topics will now go.
(From yocto-docs rev: 22c2de06baf96120cbc830540e818599ce0ac07b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed all the references to the top-level of the old
concepts-manual. These references are references that do not
have a "#" target. They just reference the manual in general.
(From yocto-docs rev: 5b33f3c119807532aa6feb2d010c9c9f780a26d8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The concepts-manual is going away for 2.5. It is being sucked back
into the getting-started from where it came after originally being
moved out of the ref-manual. I have moved all the figures from the
concepts-manual to the figures folder of the getting-started
manual.
(From yocto-docs rev: 6a95ab558964f2833d6b214791be94cb87305926)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link to the appendix was referencing Appendix C instead of
Appendix D.
(From yocto-docs rev: b8b4ffe14f74ef0a76289258ae17a3843363397d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step in the general Eclipse IDE workflow has a step that tells
the user to "Create and Build Your Application." I had a sentence
in that step that suggested if you were not using Eclipse to follow
some sort of procedure. The whole idea of this flow is to be
working within Eclipse. I removed that sentence.
(From yocto-docs rev: 83c35e9bb7190464af840822f5dd66d84e15ec64)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list headings were not conforming to the capitalization rules
for lists used in the YP manual set, which is significant words
are capitalized in a bolded item of a bulletted or numbered list.
(From yocto-docs rev: af60763b7daccb6af22b4761f6b8370ea1956714)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some minor updates here. Mainly, bring a list into conformance
for use of capitalization in the bolded item heads.
(From yocto-docs rev: a9c9bb36caa146b0ff8338cb1fad850d75a64997)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the various fields for what goes into the name of one
of these *.sh files pulled from the download sites.
(From yocto-docs rev: 4b326ae834d50607062c2f29c27fccd496489eb6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The note was written such that it appears some performance tools
were just recently deprecated with this release of the Eclipse
Yocto Project plug-in. This is not the case. I updated the
note wording to simply state that those tools are deprecated
with the plug-in.
(From yocto-docs rev: 4e8aa076ec009c71d7ceeda5c64a617e1c2696fb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made sure that each first occurrence in a chapter used the
"tm" mark.
(From yocto-docs rev: b7b21441b5fc009b8161902a10cfe1863d87b8a8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wording to note that the rootfs might be compressed
depending on the IMAGE_FSTYPES setting, which would have to
actually do compression. Also, fixed examples of "do_image_type"
and "do_image_ext4" so that there is no "[depends]" as part
of the example.
(From yocto-docs rev: 18ecdc6dd8722212c94000950841a4c06d3e48aa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some inconsistencies in the links to the concepts-manual existed.
I fixed these throughout the YP manual set.
(From yocto-docs rev: ad7f840bb6f4a5248ef455b98ce9b35197e07e1a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was inconsistent use when referencing the getting-started
manual. The manual's name does not include the word
"Manual". So, I cleaned this up across the manual set and
also in the mega-manual.sed file, which was incorrectly
processing the links to that manual that do not target a
specific section.
(From yocto-docs rev: 0f5321416f7ec50cb6c96cccb7c87ef191a25367)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a few links that were not using the correct wording when
referencing a section to the dev-manual. Also, fixed one link
that was assuming a section outside the dev-manual when the
link was to a section inside the dev-manual.
(From yocto-docs rev: 7a577b135e1a01d6a9924ba89733e46d029c6cca)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The escaping of the double quote characters is not necessary
in the mega-manual.sed file, which processes the links in that
large HTML document. I have removed them.
Authored-by: Aurelio Jargas <aurelio@aurelio.net>
(From yocto-docs rev: 640a52c74750b9148116171cfa8a2cca388f6d7c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Throughout the manual set, I made sure that "OpenEmbedded-Core"
and "OE-Core" appear with the hyphens.
(From yocto-docs rev: 1f570df3eccb74b9e2e60af94c0e0dd48e1489e9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using "OpenEmbedded-Core" rather than "OpenEmbedded Core" in the
text. The term as also fixed to reflect this change. Also,
use of the phrase "OpenEmbedded-Core project" or "OE-Core project"
is not desirable. Changing project to version.
(From yocto-docs rev: ec226fcd92847c96ea2e11d34513b597a35c9825)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original QS (yocto-project-qs) has been retired for the YP
sumo (2.5) release. The manual has been replaced with the
brief, two-page quick build document (brief-yoctoprojectqs).
I needed to create a new title figure for the manual to include
as part of the mega-manual (bypqs-title.png). The figure was
added to the figures folder of both the bried-yoctoprojectqs
and mega-manual book folders. I also removed the old
ypqs-title.png file that was used for the original QS.
Updated the stylesheet doc for the brief build to include a
style using the new title .PNG file.
Updated the mega-manual.xml file to include the brief doc and
exclude the original QS.
(From yocto-docs rev: aadec4a70fa89e4dcd233c337d8971c8353ee26d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated section IDs for the new Using Eclipse Neon
Appendix and Chapter 5 Working Within Eclipse (Oxygen).
Changed one link found in reference manual.
(From yocto-docs rev: d767007cf4151127063d1992a4e11e90437ae2da)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original Yocto Project Quick Start is being retired for the
YP 2.5 release (sumo). I have purged all the various references
from the YP manual set and replaced them with references to the
appropriate doc. The references were mainly into the YP
dev-manual for setting up the host or for building an image.
There were a few references into the new "Yocto Project Quick
Build" document for overviewing manual-type references.
(From yocto-docs rev: 11c0ab693962f16f87f1e21f33dd5c6ca6a6f895)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This information was merged into the BitBake User Manual.
(From yocto-docs rev: eb68d4429aed652e4ca10c1ab55d3a815d453d6f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For conserving disk space during builds, I added a new section
that tells how to add "rm_work" to your local.conf file.
This information was part of the original YP Quick Start
and was not carried forward into the new brief build
document.
(From yocto-docs rev: 719d70587d908390a134559472d57ce7fced6aae)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed the title to "Yocto Project Quick Build" from "My First
Yocto Project Build", which sound a bit too much like "My first
little Pony."
(From yocto-docs rev: c797590d3cd341a9c492c7af49a927e1d241184e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latter has been deprecated.
(From yocto-docs rev: 1f0f423f89d7727aace64b2cfe0b11b0a4bbc7e3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the discussion on this variable in the BeagleBone
example. Took out an older "Xloader" term.
Also, fixed a link to the u-boot.inc file.
(From yocto-docs rev: 5a41c6e7ed6ee6432f7f2c15642f5f98460a1a83)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tip box shows how to ure the mirrors for the most recent
release and the most recent release minus one. I set these
up to use variables rather than hardcoded releases.
(From yocto-docs rev: ad47deb8ac1fc074ed3fdf3627609ac3ab38e92b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Useful for providing the release version of the current
release minus one.
(From yocto-docs rev: c5970a4c52a333156336a564ae488b808a73a880)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a bullet item to the Getting Started manual in the
"Where to Go Next" section.
(From yocto-docs rev: ce4edc521d19b3c8025e950061cc962ca88fa29e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I did some re-wording to account for when the user does a web
search for a manual and the search returns an ancient version
of the manual. Many times the user is oblivious of this fact
and is trying to use a version of the docs that don't come close
to matching the version of the YP.
(From yocto-docs rev: 1cbe06cefda2b35584a8365564e01888d229d0b3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created detailed example using the BeagleBone BSP.
(From yocto-docs rev: 7701dc2bd94ae7ee3e4aee37ac97174ad445d286)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a final paragraph that provides some cross-referencing to
the sections that describe how to use Wic and to the Wic
reference chapter.
Also, shortened the DOC info line.
(From yocto-docs rev: 4ba5d0119caa3696187537f5b4cc9c64ca00e205)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a link to the "getty" term.
(From yocto-docs rev: d21fe1ea33353e15c135af7fc302ffe636310541)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added minor edits to clarify that we are talking about an
image type.
(From yocto-docs rev: 14c906aa539d127c88d71d7fb3e628fc225cbd52)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the explanation of the layer.conf file. I am going
to use this section as the definitive section that explains
the layer.conf file.
(From yocto-docs rev: 4c70c7467f0ca5cf2346ef8d10bde437b971d2d2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added information to the list of variables used in the
layer.conf file to specify LAYERSERIES_COMPAT.
(From yocto-docs rev: c41ff41e75b654d5d7df8c2a1e83ba5525490285)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For step 3 on creating the layer, I put in wording to make sure
the user does not create a layer in the cloned poky directory.
(From yocto-docs rev: 1a0d1d0c0cdfa77c6df005d0294d11a02ca3770c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Best practices dictate that the use not create a layer in the
poky repo. So, I updated the example to move the user to a
top-level directory first and then create the layer.
(From yocto-docs rev: 81ab8b0f393f90785880aec7685c4c431cb7ad87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created a new variable description in the glossary. This
variable is used in the layer.conf file and needed to be
documented.
(From yocto-docs rev: 5c514c0e90ca920bdf183b1f9449a06b906235ca)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many examples in the YP set use the latest release code name
as part of a list and then the "minus-1" code name is literally
typed in. I think it is time to have a couple ENTITY variables
in poky.ent that will fill in the last release for these examples.
(From yocto-docs rev: 7421d6a0ae85503b205537f08cfd23e28747d835)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed [YOCTO #12417]
Deleted the appendix.xml file.
Updated the mega manual .xml file to not include
the Mars appendix file.
Updated the sdk-manual.xml file to not include the
Mars appendix file.
(From yocto-docs rev: e7752c3db1aec8d5143e78aab44ec5afaaaf9c76)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set the context variable to NULL when evaluating EXSLT functions.
Fixes potential use-after-free errors or memory leaks.
Fixes bug 792580
(From OE-Core rev: a997bcd3f985b65141f9b7a497581da2fd7afc10)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGECONFIG 'gtk' is enabled by default for gstreamer1.0-plugins-good
and it makes gstreamer1.0-plugins-good depends on package gtk+3 which
requires any distro feature in ${GTK3DISTROFEATURES}. When none distro
feature is enabled from ${GTK3DISTROFEATURES}, it causes error:
| ERROR: Nothing PROVIDES 'gtk+3' (but .../meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.14.0.bb
| DEPENDS on or otherwise requires it)
| gtk+3 was skipped: one of '['x11', 'wayland']' needs to be in DISTRO_FEATURES
So enable PACKAGECONFIG gtk conditionally for gstreamer1.0-plugins-good.
(From OE-Core rev: a36c1e514d43854b22da75a2ec4c8069a6eaab27)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.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)
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>
Currently if KERNEL_IMAGETYPES contains both vmlinux and vmlinux.gz,
KERNEL_IMAGETYPE_FOR_MAKE will end up containing two copies of
vmlinux, which will result in two calls to "make vmlinux" from
kernel_do_compile().
Avoid duplicating vmlinux in KERNEL_IMAGETYPE_FOR_MAKE plus some
minor non-functional updates to formatting and comments.
(From OE-Core rev: 80455a0b6cce6d12a5b32194d0cad2e4c7f71599)
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>
ICECC_PATH wasn't being preserved in the environment when it was
reinitialized. This prevented toolchain installs from being able to use
icecream by setting ICECC_PATH when icecc isn't in $PATH
(From OE-Core rev: c245ab9bee536c7b6af026a5eda02ae0695567b3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building on a host OS other than a recent version of Linux is not
recommended or supported. Drop the historical _build-${BUILD_OS}
over-ride to avoid giving the impression that other host OS's might
be supported.
(From OE-Core rev: 428fc39356cb77830de9e0d3f1dbd00f5868290a)
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>
Fix long standing quirk, _forcevariable is documented as being the
highest priority over-ride.
(From OE-Core rev: b3598b8f1ed1cdc7849e1e4f30d618e87e1bf582)
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>
diffstat checks variable CC. If options '-I', '-U' or '-D' is included
in CC, variable CC will be wrongly filtered and only such as
'mips64-wrsmllibn32-linux-gnun32-gcc' left. It shows warning message
during configure:
| checking $CC variable...broken
| configure: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options
Disable such check for OE.
(From OE-Core rev: c330036e1e6151246b736f88f7412e9e4ac38d5f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libsdl isn't a key part of the Sato desktop, remove it and let it be installed
by dependencies if required.
(From OE-Core rev: e54b641a8de962b7df861f0ee7490e6da4ddebe9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These dependencies are in the x11 PACKAGECONFIG and will magically transform for
nativesdk builds.
(From OE-Core rev: 5e55efce4f7ecb3fcb219a15dcbc031f0f233cb1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove instrospection related tweaks as dbus-glib no longer needs
this xml file.
Remove the installation of session.conf. This file is installed into
recipe-sysroot-native directory, which makes no sense.
(From OE-Core rev: a75114195b7a49a1e76099cc09b941f6247d8a46)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There doesn't seem to be a clear reason to have two separate
variables to hold whitelisted GPLv3 recipes. Both variables are
treated the same, so adding a recipe to LGPLv2_WHITELIST_GPL-3.0 is
already equivalent to adding it to WHITELIST_GPL-3.0.
Anyone needing to whitelist a GPLv3 recipe should now just use
WHITELIST_GPL-3.0.
(From OE-Core rev: d4dea76fbe9765d489e3e522a9d2c22049610c7b)
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>
If package management has been disabled then we've already removed all the
state, and running 'dnf clean all' again will simply recreate a lot of the
files.
(From OE-Core rev: 4524068ad2248b37fb08a24828d018e2f7e6a761)
(From OE-Core rev: f23332dc6a0c5b49246b4d17ec4e6fcad0cb7d47)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If package management is disabled we remove the state and configuration for the
package manager after the rootfs has been populated. This list wasn't complete
and the DNF/RPM configuration files were left behind.
As we've added files to the list (and not just directories), expand the
backup/restore package management state code to handle this.
(From OE-Core rev: c8a6422457b4d29e6afd1e193b8b921287472137)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For mirrors or premirrors defined like: "http://.*/.* http://somewhere.org"
fetching ends with errors because function fetch2/__init__.py:encodeurl()
creates url like "http://somewhere.orgsomefile.tar.gz".
It happens because function fetch2/__init__.py:decodeurl()
for url "http://somewhere.org" returns
['http', 'somewhere.org', '', '', '', {}]
and then in function fetch2/__init__.py:uri_replace()
variable result_decode will be
['http', 'somewhere.org', 'somefile.tar.gz', '', '', {}]
(because of line: result_decoded[loc] = os.path.join(result_decoded[loc], basename))
for which encodeurl returns "http://somewhere.orgsomefile.tar.gz".
In addition for mirror "http://.*/.* http://somewhere.org/"
everything works fine.
(Bitbake rev: d822ae24ef5485e550804cbd9130ebd73b2aa48e)
Signed-off-by: Jakub Dębski <jdebski@enigma.com.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating a local git repo clone currently results in multiple calls
to self._contains_ref(), some of which appear to be redundant and can
be eliminated by minor tweaks to the logic in download().
Also drop redundant calls to os.path.exists(ud.clonedir) before
self.need_update(), since need_update() includes its own built-in
check for the existance of ud.clonedir.
(Bitbake rev: 61b0df5523afc8f805043f3adc9c106690e6f133)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We cleaned up the metadata so this can be enabled again.
(From OE-Core rev: 9611485bba03ef77ff31121e3b1da7cd57990c3e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This repository is infrequently updated and doesn't really release, so just
watch for new commits.
(From OE-Core rev: 77237b92895806de1586fc5395a03669201a411b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packages like fontforge-native fail with mysterious errors like
| ../../git/inc/gwwiconv.h:44:21: error: conflicting types for ‘gww_iconv_close’
| #define iconv_close gww_iconv_close
| ^~~~~~~~~~~~~~~
| ../../git/inc/gwwiconv.h:37:13: note: previous declaration of ‘gww_iconv_close’ was here
| extern void gww_iconv_close( gww_iconv_t cd);
| ^~~~~~~~~~~~~~~
The reason behind this is that a check for iconv fails during native
configure run, the check fails because the autoconf test to check for iconv
pokes for these gconv's in test runs before declaring iconv support successful.
Therefore when uninative is active the package fails to build but when
uninative is inactive all works fine. this patch fixes that
(From OE-Core rev: b4f5ed7a8bb2f76ab4a50b3f0073a9d18a51923e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the contract lib which implements contract
programming (a.k.a., Design by Contract or DbC) [1]
for the C++ programming language.
(From OE-Core rev: 53756087222a12646c4e63dba5c91df16c873111)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade sudo to 1.8.23.
The license checksum changes but the actual license does not.
The /var/run/sudo directory has changed to /run/sudo, change
do_install_append according to avoid error.
(From OE-Core rev: abd809670ea4048551d20c11da95203536250001)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
matchbox-panel enables the battery plugin only if the
acpi/apm machine features are enabled,
so enable the battery applet in the session script
under the same conditions.
This avoids the 'Failed to load applet "battery"' warning at runtime,
in case these machine features are not defined.
(From OE-Core rev: 34b5d507d62ef501fe771bd38cf45d25785dbc90)
Signed-off-by: Eran Matityahu <eran.m@variscite.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As seen in GCC's gcc/config/aarch64/aarch64.c, -fPIC with large
code model is unsupported. This fixes the "sorry, unimplemented"
errors when building with compilers defaulting to -fPIC.
(From OE-Core rev: d0971200ffe226ade76273ff73be4fa5511a2baa)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The _virtclass-XXX over-rides are problematic in that they are higher
priority than _forcevariable, which is documented as being the
highest priority over-ride.
Since they are now obsolete (replaced by _class-native and
_class-nativesdk) drop them entirely rather than try to fix their
priority.
(From OE-Core rev: c5aa33ac483618bc23fbaccb0a18853186f9155d)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
(From OE-Core rev: f3d223304e52b9be946e5bd849075147147cbbb3)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: d3653e8525e048d9968b949dbff5304c1fd94480)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
(From OE-Core rev: b7b63b2681a1de0ecb0e09612913370cb9934d38)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
(From OE-Core rev: a4c29153c7ffef024b31e7e3a197a09758a7beb4)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: 5e7d337fd538325e5f69de5b409eb8e36bb5e007)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: c4ceaaea207e15bafd4261c33fd20fdf66d50c7d)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: 6c08a062c151c2d2562016434f6f2125f2959fa6)
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>
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)
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>
compression.ca is down, so use the Milestone page on Launchpad as that is also
where we download the tarball from.
(From OE-Core rev: d669fbd183e03952e1900535328f16185248fc1f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc8 is detecting string truncations when swig is
used in other packages
(From OE-Core rev: 828ae03da4468b4c672f71e1b4cac9b8fff73d2d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Check 19 lines of gpg-error.h.in only, more lines are not representing license text
Drop upstreamed patch
(From OE-Core rev: 9d26c595f648a8375ac92c2923b1cce3a1217c53)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting staging_libdir to libdir caused unnecessary rebuilds of
go-native when switching from a multilib build to a non-multilib
build. Switch to libdir_native because it doesn't change based on
target configuration.
(From OE-Core rev: af1ba0dfc904c78e3e030b9d81806f8269e66c56)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: FSF address updated in hdsploader/COPYING and ld10k1/COPYING.LIB
Fix built with clang along the way
Package python dependent tools into a separate package
(From OE-Core rev: 2a39c8529332c4ea0f8edcac7cfdfb410ca3fb5b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Installing xz and busybox together may cause conflicts for xz, xzcat,
unxz, and their lzma variants. In the default configuration, xzcat is
silently replaced with a symlink to busybox. If busybox is compiled with
CONFIG_XZ=y, its postinst fails during do_rootfs.
Using update-alternatives to xz handles these conflicts properly.
(From OE-Core rev: e48cd8423562d4b03bdf55ba04873b7582f12452)
Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid collision of e2fsprogs provided tune2fs, mke2fs and mkfs.ext2
commands with corresponding BusyBox provided applets in case both
packages are installed to same rootfs, by adding these commands to
update-alternatives scope
(From OE-Core rev: 81dc858a24cc5b5dc547356eb22f00dde9801b6f)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream release notes:
Changes for version 1.74 - 2018-04-22
avoid 'uninitialized' warning in URI::File when host has no domain name set (PR#53, thanks Shoichi Kaji!)
(From OE-Core rev: 346afbee122a3e0642d552cd5b762e6f0b5a7957)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.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)
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>
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)
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>
Instead, first check if we need to do anything at all during first boot,
and if so, either postpone to first boot via pkg_postinst_ontarget()
when running on host, or run the necessary setup code when running on target.
(From OE-Core rev: 16df1717c3813ba773e0dfa2d1db471816d8b99b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Chen Qi <Qi.Chen@windriver.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: 5f64946b8740a5d944f48ec430470265703bfe5e)
Signed-off-by: Ross Burton <ross.burton@intel.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)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Each time I build my image after the first, I end up with a
do_image_complete_setscene stamp file with an extra _setscene appended to
the name. Eventually, the filenames end up being so long that mv complains
and the build fails.
It looks like this behaviour was introduced when the special handling was
added for do_image_complete in 2ff9d40dc88d43567472218cf3d3faf414398c71.
So, let's ensure that the *_setscene* pattern is matched before anything
else so that any do_image_complete_setscene stamp file is always ignored
and the do_image_complete non-setscene stamp file is moved only once.
It's not straightforward to just move *do_image_complete* after the
*_setscene* pattern because do_image_complete stamps would then match
do_image*.
(From OE-Core rev: f04e6bd144deb0c8fe2742f66b18904b6619a502)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wayland 1.15+ now ships libwayland-egl by itself, so Mesa should remove
its instance. Previous commit 6e5952fcfc13ff4b63c9376bd41a1dbba957f425
only removed .so libraries, but left .la, which resulted in conflict.
(From OE-Core rev: 7a1d0f532bb2a6772e24a9fd4515bd1f3ab15324)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add `DEPENDS += "kmod-native"` to ensure depmod utility is added to
recipe-sysroot-native during image build.
Without this dependency, image builds where BUILD_IMAGES_FROM_FEEDS=1
have depmodwrapper in recipe-sysroot-native but are missing depmod.
Kernel postinst scripts rely on depmod (via depmodwrapper) to index
newly installed modules.
(From OE-Core rev: d693457f9de92e4e8b61881638787e831f0ca197)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently building perl-native modules triggers
build perl for target due to PACKAGES_DYNAMIC regex.
This commit will cause, that perl native modules will
trigger perl-native build.
(From OE-Core rev: 7dd9772eca6df52db09b65537fdf689f1aa3fd8f)
Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When attempting to build a -native package which DEPENDS on
libcap-native the libcap libraries are not found and the build will
fail (for example attempting to build qemu-native with
'PACKAGECONFIG_append = " virtfs"').
It turns out commit 2c9c4a406a [libcap: fix (base_)libdir usage]
breaks builds of libcap(-native) when $root_prefix is not "". This is
because the variables which define $root_prefix are also part of
$prefix so you end up with part of the path being used twice, first as
part of 'lib=' in do_compile, and secondly as part of 'prefix=' in
do_install. When $root_prefix is "" this isn't noticed.
By using $baselib we should not re-break the issue which commit
2c9c4a406a was fixing but we should avoid doubling down on the
paths thus fixing the -native and usrmerge builds.
(From OE-Core rev: b46c55c3b9db5d8f2080ae2611294a5b24efe4a4)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a recipe sets S to ${WORKDIR}/ then the S != WORKDIR test doesn't work as
expected. Use os.path.normpath() to normalise the paths so string comparison
works.
(From OE-Core rev: 06aaafd14f3c8e27faeea0a514f80e1ff5eb4deb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The expected modern behavior for dealing with adding ld.so.conf entries
is to add a file to /etc/ld.so.conf.d/. In order to do this, ld.so.conf
needs to explicitly include that /etc/ld.so.conf.d/*.conf. Make it so.
Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 1f03019356e3712435dbe4ed9f359992b0ad4578)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the relative difference is greater than 2%, make the text bold to highlight
it.
(From OE-Core rev: 500e28311248713d4772480b81b10777390da909)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that python2 is not assumed to be python which can
point to python3 in some cases, when building gallium-llvm
there are scripts which are requiring python2 and wont work
with python3
(From OE-Core rev: c693b7ec8914460c891a5fb8bd36fb9401e62ac0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* OpenGL integration library has moved to -plugins-base, add PACKAGECONFIG.
* Remove one patch as that has been fixed in a different way upstream.
* Merge inc/bb and refresh patches to get rid of fuzz warnings.
* Remove x86 specific cached variables as they're not needed anymore.
* Add jpeg to PACKAGECONFIG and enable it by default.
* Port gstreamer-gl specific patches from -plugins-bad.
(From OE-Core rev: 5e95178996185976adf2f2d91550fa7ff0e82f54)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Add default value for PACKAGECONFIG
- Combine "inherit autotools" with "inherit pkgconfig gettext"
- Drop historical addition of -L${STAGING_LIBDIR} to LDFLAGS
- Re-order variables according to OE styleguide
(From OE-Core rev: 10cb7bccc2452375b363ba82bf1be2ee0cb0e8e2)
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>
Commit a1690131691507bbf5853540229b3ad775b836bf removed the ability of
recipes to set KERNEL_IMAGETYPE_FOR_MAKE. Fix that by letting recipes
continue to set their own KERNEL_IMAGETYPE_FOR_MAKE if they so wish.
They may have been doing so for a while, and don't want to have their
carefully-selected value trampled on by kernel.bbclass.
This may be required if the recipe itself wants to build one type of
kernel, but post-process it into a different type, rather like the
vmlinux->vmlinux.gz support provided by kernel.bbclass.
(From OE-Core rev: 38abd26fe7de321e0f1fc4895f754f34dee90f6c)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* from 861c1a8286
* Bump the major version of the .so library generated up to 4.0 to avoid
conflicts because some downstream packagers of json-c had already done
their own bump to ".so.3" for a much older 0.12 release.
* Add const size_t json_c_object_sizeof()
* Avoid invalid free (and thus a segfault) when ref_count gets < 0
* PR#394: fix handling of custom double formats that include a ".0"
* Avoid uninitialized variable warnings in json_object_object_foreach
* Issue #396: fix build for certain uClibc based systems.
* Add a top level fuzz directory for fuzzers run by OSS-Fuzz
(From OE-Core rev: bb9a62acaf9aa1691ce276bf037ba35b6c924276)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Libssp is only needed on non-glibc/non-musl systems
Add rpcsvc-proto for rpcgen since its not part of glibc
anymore
(From OE-Core rev: 70c1154163761253346fb477ff362af6a838be09)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shlibs is largely useless for allarch, the particular usecase where it
fails is when DISTRO_FEATURE is changing due to libc being different e.g.
Variable package_do_shlibs value changed:
-DISTRO_FEATURES{ldconfig} = Set
+DISTRO_FEATURES{ldconfig} = Unset
musl -> glibc or other way around 'ldconfig' gets added or deleted to
DISTRO_FEATURE set, neither this distro feature nor the shlibs processing
during packaging is of interest to allarch packages which are largely
arch independent scripts
(From OE-Core rev: 06602d56d1d311562144eafe459fcea36931a34c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This header is used by other apps e.g. ippool
glibc provides an internal version which it should not
(From OE-Core rev: fe24a5d24cb2f6af9b5dd20089e36afe99e88ea1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-lnsl needs to be removed even on glibc
(From OE-Core rev: 1d1e2f2c44aa6d02458cec720bee2818cbaa31ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patches
Redo musl support patch such that it
can be applied universally
(From OE-Core rev: 94c23613724073f8def71bc9e76d7fd7a9f318ad)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will substitute the glibc nis module which
has been removed
Skip for non-glibc systems
(From OE-Core rev: cabef0916d860449bfbcc4ff596ec9f0029849e9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is no longer needed as gcc provided libssp
is not built
(From OE-Core rev: 6d025fe137e835ef2388f402d8d58728e62ed280)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libssp is implemented fully in glibc as well as in musl
so we really do not need the gcc version of this library
except may be for mingw, where we keep it enabled anyway
gcc in OE is built with the knowledge that C library
already provides libssp implementation, we should therefore
not need the gcc implementation of same.
libssp_nonshared piece is a detail which is needed when gcc
is the compiler, in glibc this is part of libc_nonshared.a
already and libc_nonshared.a is linked always when linking
with -lc becuase libc.so in glibc is actually a linker script
GROUP ( /usr/lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /usr/lib/ld-linux-x86-64.so.2 ) )
which automatically links in the needed runtime bits, this however
is not the case for musl, where core SSP APIs are implemented in full
but compiler specific runtime isn't, for this we add a new package
called libssp_nonshared which generate the needed runtime stub
and gcc is already carrying patch to link to libssp_nonshared.a
on musl
This should fix a long standing problem where static PIE executable
were not buildable with OE since it was conflicting SSP implementation
one from C library and the other one from gcc and we end up with
duplicate symbol errors during linking.
Backport a patch from trunk which enhances enable|disable-libssp
to not only disable building libssp but also not emit the gcc
specs to use it for subsequent linking when stack-protector options
are used on compiler cmdline
(From OE-Core rev: 6c14f99936f8c8c9b9d9f40a6b0c69675ea9a566)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libssp-nonshared is required on musl since
it does not implement the gcc runtime piece of
libssp, which actually it a gcc optimization to
reach to __stack_chk_fail
(From OE-Core rev: 72e254e99682aa0e2d01f20f50d9fbdeb77529b3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libssp-nonshared is a minimal gcc runtime piece which is needed
on non-glibc systems which do implement libssp APIs in libc
Use PIE flags to compile libssp_nonshared.a so it works with
security flags on as well
(From OE-Core rev: ddfab4d021d4daa5aefcd9cdd89d349bbd4b6869)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When trying to build meta-toolchain using TCLIBC = "baremetal"
bitbake throws an error due to a mising dependency:
ERROR: Nothing PROVIDES 'virtual/crypt'
glibc PROVIDES virtual/crypt but was skipped:
PREFERRED_PROVIDER_virtual/libc set to musl, not glibc
musl PROVIDES virtual/crypt but was skipped:
PREFERRED_PROVIDER_virtual/i586-poky-elf-libc-for-gcc set to baremetal,
not musl
libxcrypt PROVIDES virtual/crypt but was skipped: Recipe only applies in
nativesdk case for now
This is caused by the changes on commit:
29f65bda6d
nativesdk-glibc: Split glibc and libcrypt to use libxcrypt instead
This is where the concept of virtual/crypt was introduced.
This patch adds virtual/crypt to ASSUME_PROVIDED on tclibc-baremetal,
providing the missing wiring to build meta-toolchain on baremetal
correctly.
(From OE-Core rev: 26a93d2bf7504bf5f3adb085ed2882ae1b1a3701)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new version contains an option to exclude certain tests to
run, example:
$ ptest-runner -e "perl"
(From OE-Core rev: e529b8a68741992a21be874b62c0ea37f51d6a19)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 1.9.6 fixes a number of issues since 1.9.4 release, mainly:
go1.9.5 (released 2018/03/28) includes fixes to the compiler, go
command, and net/http/pprof package.
go1.9.6 (released 2018/05/01) includes fixes to the compiler and go
command.
(From OE-Core rev: d4abc33c81f7aa33c432ead92ae16df01ebe36c8)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a minor release that fixes many important issues found since
1.10.1 release.
(From OE-Core rev: 844f3191cd3d8746b7b31cff83e7655958226520)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If alsa-utils configure is not passed a --with-udev-rules-dir option then
it defaults to using /lib/udev/rules.d. This meant that the hard-coded use
of ${D}/lib in do_install in 262e69c9c7acf0beb7bb6b96299e3c993c906434
worked correctly to remove the unwanted rules.
Subsequently, 0a4372705a030ca54ed420cdfec33d46ab93499c changed do_install
to use ${nonarch_base_libdir}, claiming to fix this in the usrmerge case.
This means that if udev is not present in PACKAGECONFIG and usrmerge is
present in DISTRO_FEATURES then the alsa-utils build system will install
the rules in ${D}/lib/udev/rules.d but do_install will attempt to remove
${D}/usr/lib, resulting in something like:
rmdir: failed to remove '.../tmp-glibc/work/i586-oe-linux/alsa-utils/1.1.5-r0/image/usr/lib': No such file or directory
To fix this, let's just tell configure to install the rules in a specific
known location when udev is disabled. This location can then easily be
cleaned up in do_install without doing any harm if udev is enabled.
Tested both with and without usrmerge in DISTRO_FEATURES and with and
without udev in PACKAGECONFIG.
(From OE-Core rev: 022b644e6ba2caa0b32ce3323621c07f78166234)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Phil Blundell <pb@pbcl.net>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If some other per value option was present than 'skip' or 'nick' then
a KeyError would occur. Ignoring such options matches the behaviour of
the old, Perl-based glib-mkenums.
(From OE-Core rev: ca6c82255fbf0ce359b6205c442e165219a3216e)
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>
This isn't used by anything in oe-core (or in common use in general, only one
package in Debian depends on it), so remove it from oe-core.
(From OE-Core rev: 11ee7989b2f0709119c450819cd66bad70082a93)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove the backported patch 0001-Fix-a-strange-assert-typo-how-was-this-released-with.patch
* Remove the patch 0002-Don-t-set-up-m32-m64-we-do-that-ourselves.patch
as it already rewritten gcc to use toolset.flags again
as below:
commit 12decb3ce680031b915f69902795eec47224fc7d
Author: Steven Watanabe <steven@providere-consulting.com>
Date: Mon Jan 1 12:51:43 2018 -0700
Rewrite gcc to use toolset.flags again.
* Remove the hardcoded parallel build limit as the
mechanism already changed as below commit:
commit 316e26ca718afc65d6170029284521392524e4f8
Author: Steven Watanabe <steven@providere-consulting.com>
Date: Wed Apr 26 14:22:06 2017 -0600
Remove fixed limit to -j. Fixes#189.
* execunix.c: Replace select with poll.
* execnt.c: Use RegisterWaitForSingleObject when the number of jobs exceeds MAXIMUM_WAIT_OBJECTS.
Reference: 316e26ca71 (diff-c88fe8afebc632d0bef2bd5985137af2)
(From OE-Core rev: 358cf46ea4d01b7ad8c355fa103d4a6922cc0a88)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SSTATECLEANFUNCS mechanism was introduced to solve user/group
deletion problem. After RSS mechanism was introduced, there's no
need to do so.
There was a patch to remove these obsolete codes for useradd.bbclass,
but the codes in sstate.bbclass were not removed. So clean it up.
(From OE-Core rev: 215b83ce892a7002ed0b1bd7b82a08e67ae15121)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gcc "corei7" CPU type was last documented in gcc 4.8.x and has
been undocumented from gcc 4.9.x onwards:
https://gcc.gnu.org/onlinedocs/gcc-4.8.5/gcc/i386-and-x86-64-Options.htmlhttps://gcc.gnu.org/onlinedocs/gcc-4.9.4/gcc/i386-and-x86-64-Options.html
Although it still seems to be accepted by gcc 7.x, it's likely to be
deprecated and removed at some point. To preempt that, switch the
corei7 TUNE_CCARGS -march CPU type to "nehalem", which is the closest
replacement (and matches the CPU type already being passed to qemu).
Since the tune-corei7.inc include file is intended to cover a range
of CPUs from Nehalem onwards, switch the TUNE_CCARGS -mtune option
from "corei7" to "generic", which instructs gcc to produce code
optimized for the most common IA32/AMD64/EM64T processors.
(From OE-Core rev: 8d2f51e9b8d5b27fc61d148a6dd5f6ef5715d6e6)
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>
There's only one user of tar.inc (meta-gplv2 has its own copy), so
merge the .inc file into the tar recipe.
(From OE-Core rev: cce7b627f9046c15dde49c001481003cee33fc9c)
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>
Add mtd-utils-tests package which includes the test suites mtd-tests,
ubi-tests, fs-tests, etc.
These test suites are useful for verifying flash features or stress
testing.
(From OE-Core rev: 612d0468e34ca922b42a1176ab1e2feef72a2a13)
Signed-off-by: Martin Lund <malu@gomspace.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During Qemu guest migration, a destination process invokes ps2
post_load function. In that, if 'rptr' and 'count' values were
invalid, it could lead to OOB access or infinite loop issue.
Add check to avoid it.
(From OE-Core rev: 0d8f68fe43b4da1a0d356fe6bedb52b8f2a02081)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since perf contaminates linux shared workdir, it probably caused
kernel-devsrc compile failure at world build.
...
|0 blocks
|cpio: ./tools/perf/arch/arm/util/sedr7ORqk: Cannot stat:
No such file or directory
|0 blocks
...
cpio tried to find a file at ${S}/tools/perf and failed
if the input list is not valid.
Make a copy of kernel shared source directory into a perf workdir
could fix the issue.
Drop `Fix for rebuilding' which is obsolete
[YOCTO #10880]
(From OE-Core rev: 9b38c824961fc9dce51bda95c25dac91a69fc64f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Redefiine regen-all in Makefile to invoke regen-importlib after
building other regen- targets. Change the recipe to not build it
before regen-all. This avoids trying to build it multiple times,
which can occasionally fail.
(From OE-Core rev: 72d62c9af07bf34bb8fbb3958742eb592985acc2)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have some tasks depending on image's do_image_complete task, and we
are also using WKS files to generate partitioned images, but now there
is lacking a inter dependency between do_image_wic and
do_image_complete, so we have to depend on both of them.
Fixed by adding the dependency.
(From OE-Core rev: e3a25f06f2cde701415f4130a43c9b3895d42f10)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing target and image for aarch64, as the current revision is
already fully compatible with ARMv8.
(From OE-Core rev: 43dc32aa00c87f62dcf9a857d4e32469ce27c9e9)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid collision of mtd-utils and mtd-utils-ubifs provided binaries
with identically named BusyBox provided applets in case packages
are installed to same rootfs, by adding relevant binaries to
update-alternatives scope
(From OE-Core rev: a9d8a8b27fc4bc6bdaa9133efd87430813a13212)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building SDK via populate_sdk for qemuarm64 with multilib
enabled, we would have conflict about bits/floatn.h at populate_sdk
time.
file /usr/include/asm/bpf_perf_event.h conflicts between attempted installs of lib32-linux-libc-headers-dev-4.15.7-r0.armv7vehf_vfp and linux-libc-headers-dev-4.15.7-r0.aarch64
file /usr/include/asm/kvm_para.h conflicts between attempted installs of lib32-linux-libc-headers-dev-4.15.7-r0.armv7vehf_vfp and linux-libc-headers-dev-4.15.7-r0.aarch64
Apply oe_multilib_header on these header files to fix the problem.
(From OE-Core rev: 89b4e77129990b842e2ca917b98473ec58205e88)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building SDK via populate_sdk for qemuarm64 with multilib
enabled, we would have conflict about bits/floatn.h at populate_sdk
time.
file /usr/include/bits/floatn.h conflicts between attempted ins
talls of libc6-dev-2.27-r0.aarch64 and lib32-libc6-dev-2.27-r0.armv7vehf_vfp
Apply oe_multilib_header on this header file to fix the problem.
(From OE-Core rev: 650c59c8b6796cf4797ca1860be85f6ccf50bcd2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid collision of propcs provided w binary with BusyBox-provided
applet in case both are installed to same rootfs, by adding w to
update-alternatives scope via bindir_progs variable
(From OE-Core rev: de4206c6fd0c3be77d71958f532604b65a4dd5be)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its trying to build NATIVE llvm-config which is
already built with llvm-native so we do not need
to rebuild it
Drop setting NINJA_STATUS explicitly, its no longer
needed, on the contrary it hinders the task status
update
(From OE-Core rev: f8393b2b4bc5fbd972be00cb17d0c574ae8deff9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using 'basename' to strip the prefix fails when using multiarch style paths.
(From OE-Core rev: c61c416a6504f7e8885df3c94c839d1031920a1c)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe wants to install libs into base_libdir, but uses "basename $libdir" to derive that. That breaks in a multiarch setup. Use the proper variable and remove the inline python usage.
(From OE-Core rev: 6427bcae42fb9ec05ccfd5b63db6bc3ee2afcd4f)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Native.bbclass needs to fixup both base_libdir and libdir to handle things like multiarch. This fixes wic and ext4.* image failures during do_rootfs where mkfs.ext4 can't find its libraries.
(From OE-Core rev: 464dad0dc93aeeedd34d90c2f06596060ec135fd)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- update dropbear to version 2018.76
- refresh and drop obsolete patches
- add option to use localoptions.h header file
- do not use harden stuff, which leads to QA warning
(From OE-Core rev: ec050b666ec3684918fd9dc564d2dce9a8d6a8ef)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was only in oe-core for RPM5, but RPM4 doesn't use it.
(From OE-Core rev: fb8ca4225f3e26bfc46cf6c06d55df72684c47c6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in oe-core is using this now as xz can do multithreaded compression, so
remove it.
(From OE-Core rev: 0c705d112736c90f6a9051c435d430f6aeb4842a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multiarch /usr/include and /usr/lib/<tuple/ are not on the same level anymore. This change will pass a correct includedir, but a wrong libdir, but the linker picks it up anyway.
Tested on multiarch and regular build.
(From OE-Core rev: 9a02cd981eee8b1cd488373659a8a610962309e3)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Wayland
- add an input method based on the text protocol
* File chooser
- Stop activating without double-click
* Bugs fixed:
710888 GtkInfoBar not shown after calling gtk_widget_show
743975 Better deprecation information for GtkStatusIcon
775546 gdkscreen-x11: Don't try to calculate a refresh rate for RandR 1.3
794008 GtkListBoxRow signal poorly documented
(From OE-Core rev: e967f1b77bbcbdb5bca4ef86740496f0e4934fa1)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Checksum of LEGAL file updated for changes to
upstream URL and addition of Wayback Machine url
(From OE-Core rev: 98f889ca4a07c54165d3d983582639951b8ef32e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG for btpclient (BTP client for qualification testing)
(From OE-Core rev: d3c855b4afeb6bd98d64185e2fab3c1671b0c953)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add RISC-V support
* Convert atomic_ops_malloc.c and tests to valid C++ code
* Eliminate 'function is never used' cppcheck warning for
* load_before_cas
* Eliminate 'using argument that points at uninitialized var' cppcheck
* error
* Fix 'AO_pt_lock undefined' error if cross-compiling manually (MinGW)
* Fix public headers inclusion from clients C++ code
* Remove gcc/nios2.h file (include gcc/generic.h directly for nios2)
* Support MIPS rel6
(From OE-Core rev: 053a61ef23981e23c9ab25b7900787a842f304c3)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the meson flags to make sure that introspection files are built
when it is enabled.
(From OE-Core rev: 31dfa9983e8793977936f52ec860b1476ec37e18)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
convert to meson build and provide flags for introspection and
documentation.
(From OE-Core rev: d06b0f899f840fb1a9b15584e6cf272a6f7f2562)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xcalibrate was replaced with other xinput touchscreen protocols,
drop this remaining remnant.
(From OE-Core rev: a1cf2b40b5bf0ead10d3bff155467d4f559e1b73)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The extensions patch was merged upstream and is no longer needed.
(From OE-Core rev: 1e89528b259e784e2e8d526dc2e0357eccddfd1c)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3.22.0 -> 3.23.0
Includes optimizations and fixes for issues detected by OSSFuzz
(From OE-Core rev: b478af4cd9c1cb0cab35b0160f7df3f31ca7358b)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. convert to meson build
2. inherit gnomebase and associated cleanup
3. add libxml2 to DEPENDS list
(From OE-Core rev: 13b717f7cf05aa2f8b1bed27c5dc6ec91b9179e1)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Convert to meson build
2. Remove the following patch made obsolete by moving to meson:
0001-build-Add-with-systemduserunitdir.patch
3. Provide meson flags for introspection and documentation
(From OE-Core rev: 0e1f4b0f0339fa5afd674c8f67dfe35f58cdf77e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the following patch:
0001-Don-t-use-AC_CANONICAL_HOST.patch
(From OE-Core rev: 5954f4a078c179563f31ec237fccde146c04e0d0)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Rebase pkgconfig.patch
- Fix regression on arm64 due to invalid use of va_list
License-Update: copyright years
(From OE-Core rev: 4a59b8a3d81ce6391da59f0aced763d0c16f73eb)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Xorg upstream have replaced the individual xorg proto repositories with one
master repository. This converts to the new system.
The only one not included is calibrateproto which was depreciated entirely
and replaced be xinput. We can drop this entirely.
(From OE-Core rev: 460a2b27af8d023b27703b491331c8cbe7aad0ff)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
patch 0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch remove
as it is included in update
(From OE-Core rev: 486b85ced3d309978558cf01dece4f5c1982013e)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
drop patches included in update
(From OE-Core rev: f5341f043ed63db717c74677ff831fd5de7ce7ef)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changed do to updating copyrige date
(From OE-Core rev: 20e589f0cdae0b062231891f8597c4d90110ceee)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For example, core-image-sato skipped the test alltogether, as it
no longer pulls in Python 2.x at all.
(From OE-Core rev: 5ad0fe9ac6b6362011a17afaa7bee8e788093915)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported 0001-idn-fix-printf-format-security-warnings.patch and
gcc7-compatibility.patch.
Refresh a couple other patches.
(From OE-Core rev: 04d879344e1f45d4d5212996bb1535a3f4ebc545)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed 0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
Add ftw-subdir-walk.patch as it resolves the RECIPE_NO_UPDATE_REASON.
Add --disable-zstd as libzstd isn't provided in oe-core.
Fix wic testcase, as the minimal fs size is now bigger.
(From OE-Core rev: 94b645aa77a4193371e8c77ddc477ec00d858961)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove:
generic-arch-dectection-for-padding-defines.patch (was a backport)
libaio_fix_for_x32.patch (is patching source code that no longer exists)
Rebase:
00_arches.patch (drop the arm bits, as they no longer exist upstream either)
(From OE-Core rev: a3d27ff5763d331c4d6c8b815af5624103311544)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years updated, added terms for Google double-conversion
(From OE-Core rev: b5797e80ccfa080bc1e57c5fb1f2f4a39d0266cf)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase 0001-Disable-libseccomp-sycall-filtering-mechanism.patch
Remove 0001-configure.ac-Remove-gnome-common-macro-calls.patch as
the lines it removes are no longer in upstream code.
(From OE-Core rev: 39c78dbc67acd3e5cc6a38d11a5a26e0a0c72d61)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase patches, remove a couple of upstreamed patches.
Add an option to enable woff2 font library (not currently packaged by oe).
(From OE-Core rev: 182f096210d74d44dd452f2b3f09ec0c3c75f074)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream release notes:
1.00 15 Feb 2018 Grant McLean
- Add makefile dependency to fix order of build steps RT#62289 (patch from
Ed J)
(From OE-Core rev: d11d124ed641aac9934433116e4b7a2b1806d79b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the wtmp and btmp definitions had been moved from logrotate.conf
to logrotate.d in this release, we also need to install them to
/etc/logrotate.d/.
Also update oeqa runtime logrotate test case.
(From OE-Core rev: 5b4aedd6b18b6ba6ca1bcd460a0b51ced41656cd)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: The checksum of LIC_FILES_CHKSUM has been changed due to
time update of copyright LICENCE to 2018. The content of LICENCE has no
change.
(From OE-Core rev: 7e3b2e462172a8fd457e50726b9cd167736d2347)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 43b3a293c34e8bfc047bd61a2b4ce3b3586f0d71)
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>
* Fix RDEPENDS
Upstream release notes:
2.25 2018-03-18 16:18:24+13:00 Pacific/Auckland
- disable entity expansion when using XML::Parser, for more secure default
behaviour (patch from Ray Morris)
- call to XML::Parser constructor is now in its own method to ease overriding
License-Update: update year to 2018
(From OE-Core rev: d549289fa518a44274911d0959945196bbff930f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop bash-memleak-bug-fix-for-builtin-command-read.patch which has
been accepted since 4.4.17
(From OE-Core rev: ec6da604012b54769db3371a8ed9ac0be4c9d0e6)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Rebase 0001, 0002
2. Fix [already-stripped] QA Issue
Since the following commit add, it strip executables which
are installed by default.
...
commit 087eaf92c621098927f3f98e3652411de48f8b6b
Author: Sven Joachim <svenjoac@gmx.de>
Date: Sun Jan 21 08:01:41 2018 +0100
Import upstream patch 20180120
20180120
+ build-fix in picsmap.c for stdint.h existence.
+ add --disable-stripping option to configure scripts.
...
(From OE-Core rev: 09bc55eeb41a6e06438b35e5456c66198d549b92)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When packaging a node application, a `NameError` can be thrown in create_npm.py if an optional npm dependency does not
support Linux.
(From OE-Core rev: 8293201d98d368d6322eaa960fb3e7cee2ba9368)
Signed-off-by: Sarah Marsh <sarah.marsh@arm.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Where /bin/sh is dash, the recent toolchain scripts change fails as the $(pwd)
usage in oe-init-build-env doesn't function correctly. Fix this by saving
and restoring the cwd and calling the script within its own directory.
This fixes meta-ide-support on dash based systems.
(From OE-Core rev: dceca6d34071b4cbef9e28bbf19dc12f5d925525)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The environment setup script generated in the build directory sets the PATH
variable by expanding ${PATH} which would have host paths filtered. Sourcing
this script to run runqemu will not work as it complains host stty (/bin/stty)
cannot be found.
To resolve this, the script no longer expands ${PATH} during generation time,
instead it will now source oe-init-build-env to initialize the build
environment so that all host paths will be preserved. Also be sure to prepend
STAGING_BINDIR_TOOLCHAIN to the PATH variable so that the toolchain from the
build directory can be found.
[YOCTO #12695]
(From OE-Core rev: a64a144096c0637387244b89ed22f4b5352b2522)
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent movefile from falsely setting the source file's owner and
permissions on the destination directory instead of the destination
file when moving between devices.
This bug caused the last file moved into a directory to dictate the
directory's owner and permissions.
(Bitbake rev: 82ea737a0b42a8b53e11c9cde141e9e9c0bd8c40)
Signed-off-by: Mattias Hansson <mattias.hansson@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow debugsource listing using dwarfsourcefiles to fail for static
libraries when the archive content is not as expected.
(From OE-Core rev: e2235b7567a9aba474cda4cdc20cc9bfffc63711)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running the make.bash script to build the host-side
tools, make sure that cgo is using CFLAGS and LDFLAGS for
the build host, rather than those for the target.
[YOCTO #12704]
(From OE-Core rev: b1783e423444e0432d2653fbd00c18d119d82647)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the pseudo.log is significantly shorter with this revision
fddbe85 Fix symlink following errors
3a48dc4 Fix one more stray slash
691a230 Less chatty debugging
0c053e5 Change copyright default.
(From OE-Core rev: 935542f96c0706a6c5f9b0a77fce175733995f49)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGELOCK is there to protect readers of PKGDATA_DIR from writes and files
changing whilst they're being read. With various changes to the codebase,
the lock code has become confused as the files are now written by the sstate
code in do_packagedata, not in do_package directly any longer.
This change cleans up the code so read sites take the shared lock (anything in
do_package), write sites take the full lock (do_packagedata sstate).
The lock from do_package sstate is no longer needed since it doesn't write
outside WORKDIR.
(From OE-Core rev: d46cadbbb42aa71f9436d640891d6ccc8f8e3618)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When specifying several -fdebug-prefix-map command line options to
gcc, they are evaluated right to left (last one first).
Normally, the order is irrelevant. However, when we try to map both:
recipe-sysroot-native
recipe-sysroot
the order matters. With the original order most of our debug packages contain
incorrect debug symbols.
Take for example /usr/bin/.debug/setfacl from acl-dbg:
$ strings setfacl | grep native
...
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
Reordering the fdebug-prefix-map arguments will give us the correct paths:
/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
Note there may be additional an incorrect paths, such as:
/usr/src/debug/glibc/2.27-r0/recipe-sysroot-native/usr/lib/x86_64-poky-linux.gcc-cross-initial-x86_64/gcc/x86_64-poky-linux/7.3.0/include
But that one needs to be fixed in the recipe for glibc.
(From OE-Core rev: 593ffffc3baf064b982891d61dacebd08aed3e96)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mingw build was broken by the commit:
"glib-2.0/glib.inc: apply MLPREFIX renaming to all package classes"
When building for mingw, we encounter build errors such as:
mv: cannot stat '<builddir>/<...>/usr/libexec/gio-querymodules': No such file or directory
The mingw file that exists is "gio-querymodules.exe" instead of "gio-qeurymodules".
The fix is to append the names of executables by an OS specific EXEEXT.
[YOCTO #12679]
(From OE-Core rev: 1f53140528d79c38d4f3a82cd0a03bd0ddc87275)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the output of "wic create mkefidisk -e core-image-sato" from:
The following build artifacts were used to create the image(s):
ROOTFS_DIR: /media/build1/poky/build/tmp.wic.ybraavmb/rootfs_copy
to:
The following build artifacts were used to create the image(s):
ROOTFS_DIR: /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs
which s much less confusing for the user.
[YOCTO #12564]
(From OE-Core rev: a4941af2d3624aecc5dcd7ff54b7ea8c9e9dee8b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test shouldn't have merged yet since we don't run portmap/rpcbind
on the autobuilder infrastructure and the test therefore cannot succeed.
We need to document this, set it up, then enable the test. The test itself
is fine and good to have so its left in the code but disabled for now.
(From OE-Core rev: 9640af873d490c5d22b70e32d918c2db37371d21)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"package.bbclass: Include dbgsrc for static libs" introduced a regression
on mingw, fix this by excluding on that TARGETOS.
(From OE-Core rev: 305dda730738a8fb3789047b06fcc45d10212aa3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QA team were testing qemu boot image and shutdown on each
qemu architecture manually. Add automated test to test qemu boot on
ext4 and nfs, finally check that it can shutdown properly.
(From OE-Core rev: 1df5f2dff832528905ff6fcf1d324619fb3d307f)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The debugsource must be added from the package providing the static
lib, because any package using that lib does not have access to the
source code.
Fixes [YOCTO #12558]
(From OE-Core rev: eefa5ba35663fabe1f3f8cf7f1ff126d51240613)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lsusb can also be provided by busybox (CONFIG_LSUSB), so use
update-alternatives to handle the conflict.
(From OE-Core rev: 3c9ab895f937a7e232780c7cb697e102b5f9aaa8)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While compiling openssl with option `no-des', it caused the openssh
build failure
...
cipher.c:85:41: error: 'EVP_des_ede3_cbc' undeclared here (not in a function);
...
OpenSSL configured that way defines OPENSSL_NO_DES to disable des
(From OE-Core rev: 08a5cda85594fca8b352841a26131bfac39c8417)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible some dynamic runtime library in the dependency chain may
come from sstate and link to libraries which need the libc from
uninative. If we don't do this and binaries are run at do_install time
they would fail to find the symbols from the later libc. Examples:
cmake-native do_install:
bin/cmake: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by TOPDIR/tmp/work/x86_64-linux/cmake-native/3.10.3-r0/recipe-sysroot-native/usr/lib/libexpat.so.1)
dbus-native do_install:
tmp/work/x86_64-linux/dbus-native/1.12.2-r0/build/bus/.libs/lt-dbus-daemon: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/work/x86_64-linux/dbus-native/1.12.2-r0/recipe-sysroot-native/usr/lib/libexpat.so.1)
This issue is resolved when the interpreter is changed at sstate unpack
time but this isn't soon enough to avoid issues at compile/install time.
By specifing which dynamic linker/loader to use at compile time, this
race window is removed entirely.
(From OE-Core rev: 35867ee035030ab76fc9ccdb0eb1c3f80126301c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have a problem when for example, a glibc 2.27 based system builds some
library like libpopt-native and puts it into sstate then it is reused
on a pre glibc-2.27 system to build something which depends on popt like
rpm-native. This results in an error like:
recipe-sysroot-native/usr/lib/libpopt.so: undefined reference to `glob@GLIBC_2.27'
In the past we've had this problem with new symbols like getrandom and
getentropy, here its with a more complex symbol where there is an old
version and a newer version.
We've looked into various options, basically we cannot link against our
uninative libc/ld.so since we don't have the right headers or compiler
link libraries. The compiler doesn't allow you to switch in a new set
either, even if we did want to ship them. Shipping a complete compiler,
dev headers and libs also isn't an option.
On the other hand if we follow the ld man page, it does say:
"""
The reasons for allowing undefined symbol references in shared libraries
specified at link time are that:
- A shared library specified at link time may not be the same as the one
that is available at load time, so the symbol might actually be
resolvable at load time.
"""
which is exactly this case. By the time the binary runs, it will use
our uninative loader and libc and the symbol will be available.
Therefore we basically have a choice, we get weird intermittent bugs,
we drop uninative entirely, or we pass this option.
If we pass the option, we can drop the other workarounds too.
(From OE-Core rev: 75a62ede393bf6b4972390ef5290d50add19341a)
(From OE-Core rev: d18bf7fa8e80d6cfaf3fdbe1ab06eec84b954432)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We just ran into an issue where tar failed to build on one server setup
but built everywhere else just fine.
It was running makeinfo to regenerate some docs files and makeinfo was too
old for the host it was running on. There was no dependency on makeinfo-native
as it was not meant to be regenerating the docs.
It was being regenerated as a date from a timestamp used in the docs
was different in Asian timezones than in the other timezones our builds
were being tested in.
I added an entry to https://wiki.yoctoproject.org/wiki/TipsAndTricks/
about how this was debugged.
As such, lets default to setting and exporting TZ to 'UTC' as was already
pioneered by the reproducibile builds work. This makes the builds
deterministic.
[YOCTO #12665]
(From OE-Core rev: 2a90ae7a3286724ff9e3615c4dbf56038f703810)
(From OE-Core rev: e31f31f81efe4b60938b724bece2a03c7c74a68d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes the libxcrypt change which allows uninative to work on fedora28.
(From OE-Core rev: 4b27ab6487a54b42a52aa16e98ea4d19fa62b5ae)
(From OE-Core rev: 0685eb697f1dfa3b858b6e594cbd8e6070b4fbb8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The isELF function works by running:
result = file <pathname>
if 'ELF' in result
By default 'file' will prepend the result with the path name of the file
that is being checked. This usually works fine, such as:
$ file /home/foo/openembedded-core/meta/classes/package.bbclass
/home/foo/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines
However, if the path includes 'ELF', ELF will end up in the result, and then
the check will return positive.
$ file /home/ELF/openembedded-core/meta/classes/package.bbclass
/home/ELF/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines
This will then result in the isELF coming back true, and possibly causing the
checks that use isELF, such as the 'is it already stripped' check, to do the
incorrect thing.
Adding the '-b' option to file will result in the path being omitted in the
result:
$ file /home/ELF/openembedded-core/meta/classes/package.bbclass
Python script, ASCII text executable, with very long lines
(From OE-Core rev: 5a324e9b2cf6378f8eaa4e394f9cb36d4e2680ac)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit 5159ddcb62 string length test
performed against pi_dir has effectively never been able to succeed.
Change this to rather test if pi_dir is not an existing directory. By
doing we remove the chance of seeing the following console error message
during first boot to a pristine rootfs:
'ls: /etc/ipk-postinsts: No such file or directory'
(From OE-Core rev: b1600ec8991dfbd3b73d209b9c620a171c5b13c4)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Conditionally support binary reproducibility of rootfs images.
If REPRODUCIBLE_TIMESTAMP_ROOTFS is specified then:
1. set /etc/timestamp to a reproducible value
2. set /etc/version to a reproducible value
3. set /etc/gconf: set mtime in all %gconf.xml to reproducible values
The reproducible value is taken from the variable REPRODUCIBLE_TIMESTAMP_ROOTFS.
[YOCTO #11176]
[YOCTO #12422]
(From OE-Core rev: 11e45082ad00b9c172e59bf6b2a76dd613773f5a)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
initramfs-framework is more modular and expandable. This change was
proposed in commit 28fc6ba761ed4a47efa7c43e7f7dff5e2fe72b5e
"core-image-minimal-initramfs: use initramfs-framework by default" but
reverted due to the selftests runqemu.RunqemuTests.test_boot_machine_iso
and runqemu.RunqemuTests.test_boot_deploy_hddimg failing. Since then,
the kinks have been worked out, and missing functionality that had been
missed (non-EFI installation module) has been added.
Since the PACKAGE_INSTALL variable was getting so long with all these
individual modules getting added, I also introduced a new
INITRAMFS_SCRIPTS variable to the core-image-minimal-initramfs recipe.
This variable makes the recipe look much cleaner, and also allows easier
replacement or additions to the scripts.
Fixes [YOCTO #10987].
(From OE-Core rev: 882ae0dcce2d96a7c286fc23b22b07972d3d8f93)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch chardev-connect-socket-to-a-spawned-command.patch calls
"socketpair". This function is missing in mingw, so the patch
needs to be modified accordingly (by conditional compilation using
_WIN32 macro where appropriate), otherwise we end up with a broken
mingw build.
While it is possible to simply remove the whole patch for mingw build
(via a .bbappend file in meta-mingw), it makes more sense to modify
the patch itself.
(From OE-Core rev: 2d955bb53a8ee36c0a648c23293139612f33f97b)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add groff to RDEPENDS_${PN}, otherwise, the 'man' command cannot
work correctly on target.
(From OE-Core rev: 199d8d53261e22971bd094ddf3318855d539e6be)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is not a problem right now but if we
were to use -fstack-protector-all this can
cause build errors
(From OE-Core rev: 271831133358b3231808e8fe7aa2817e41d98e2f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add runtime test for stap to test basic SystemTap
operations: can compile very basic module and run on
target device.
Note we disable (-DSTP_NO_VERREL_CHECK) SystemTap
additional kernel release check since during OE testing
mismatching kernel-devsrc and kernels are used.
(From OE-Core rev: 659d19fcddb7edaca8f5221148d479e73304b430)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modern systemtap builds fine for MIPS and aarch64, so don't exclude it from this
packagegroup.
(From OE-Core rev: 01658c4e978182a31dc7e2cd4f525066b479c2f9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemtap uses obstack.h and FTW_SKIP_SUBTREE, both of which are GNU extensions
in glibc.
(From OE-Core rev: 80286cb2e979097800a51801c92e015421482daa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* with RSS used in pyro this script isn't very useful anymore
* RSS makes sure that the dependencies are almost always deterministic
the only case known to me where dependencies are different based on
what was already built in TMPDIR are runtime dependencies resolved
by shlibs code in package.bbclass (which is using global pkgdata, not
specific to given recipe and its RSS) as described here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9217#c4
but for this case it's not worth running complete test-dependencies.sh
runs
(From OE-Core rev: ac582a8f856de8dde6a04d9c1da58618b80559b6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It appears that sometimes xserver-nodm.service is starting before
display driver finished loading causing the following failure in
Xorg log:
(EE) open /dev/dri/card0: No such file or directory
The introduced by this patch is to restart the service,
hopefully the display driver will finish loading.
(From OE-Core rev: c3935f11f2807ef73f224b6690886d863788310d)
Signed-off-by: Ramon Fried <rfried@codeaurora.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If valgrind-ptest is installed, we will get the some prelink error
like below at do_image:
.../usr/sbin/prelink: /usr/lib64/valgrind/ptest/memcheck/tests/wrap7:\
Could not find one of the dependencies: \
.../usr/sbin//prelink-rtld: error \
while loading shared libraries: wrap7so.so: cannot open shared \
object file: No such file or directory
The wrap7 needs to link the shared object in the path
/usr/lib64/valgrind/ptest/memcheck/tests, but it fails.
So we correct the path for ptest.
(From OE-Core rev: 1ec0c977c55ae2c38252e1807dc15c56007d30dc)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the time being, there is a serious bug[1] in Go 1.10 when it comes to
use the shared runtime support which cases problems in multiple projects.
1. https://github.com/golang/go/issues/24640
It is still unclear if the problem arises from a bug inside the
compiler itself or it makes a real problem more visible. Either way,
using 1.10 as default seems to be a risk so we are changing back to
1.9 for now.
Refs: [YOCTO: #12631]
(From OE-Core rev: c5b5055d2dc04317a7a64c150046a6435a6805c2)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump the version number for force remotes to use a newly generated
environment, since the old one potentially had a few bugs
(From OE-Core rev: 6c3b2ac41f3412ebce8364df637d64e34daab8a6)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve reporting when the icecream environment cannot be created by
assigning the flock call a specific error number when the lock fails so
it can be distinguished from environment creation errors.
(From OE-Core rev: 563448a7a3ca87cc07528c18f8047913e0468e7a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ICECC_ENV_DEBUG variable can be set in local.conf to pass additional
debugging options to the Icecream toolchain creation script.
(From OE-Core rev: be913284bb34ebf4a71770646044603a2a27d01b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can often be useful to include additional debugging tools the
toolchain such as strace. Add an option to include an arbitrary path.
(From OE-Core rev: 1fc1e3d59afd292ff8f7c4e1f64324134b73b8f4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Shared libraries sometimes (frequently?) don't have a program
interpreter specified. The previous code would fail to find the library
dependencies in these cases because no interpreter could be found.
Commonly, this meant that if a library depends on another library, it
might not be included toolchain because dependency scanning stops with
the first one.
Instead, capture the program interpreter from the program or library
that starts the dependency chain and use that interpreter to get all of
the dependencies in the chain, recursively.
Additionally, if no interpreter can be found, fallback to using ldd
(From OE-Core rev: 4f55e61e9e3dd921bd71a127580dc5fc71d7b339)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some newer libraries and programs use RUNPATH to specify the library
search path. These executables were being skipped by the rpath fixup
code because it was grepping the ELF header for RPATH only. A more
correct solution is to ask patchelf to report the rpath, as that tool
will properly report either RPATH or RUNPATH as appropriate.
(From OE-Core rev: d1e88ad01df9b6419e02f632b1ba288d4cc3b2bf)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modifies the icecc-create-env script so that it can log output to a log
file. In addition, a --debug flag is added that allows verbose logging.
Finally, the silent flag was removed since it was never used in
icecc.bbclass
(From OE-Core rev: 3d0bd786fd79967cf8754d022044df311dd8ad3e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some circumstances, gconf isn't able to save configurations
because ~/.config folder aka root_dir doesn't exist.
For example when saving settings using matchbox-appearance,
the following error is shown:
GConf Error: Configuration server couldn't be contacted: D-BUS error:
Can't overwrite existing read-only value: Value for
`/desktop/poky/interface/font_name' set in a read-only source at the
front of your configuration path
This issue was not seen before because ~/.config directory is shared
between several packages and one of those packages usually creates it
by the time gconf wants to use it.
This patch makes sure that gconf creates the .config directory if it
doesn't exist, along with the gconf directory inside it.
[YOCTO #12632]
(From OE-Core rev: 4d16fa05e47ccc8425ebb085c295d7d8dca6b2e6)
Signed-off-by: Alejandro Hernandez <alejandr@xilinx.com>
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
/mmeeks/bootchart.git is redirecting to /xrmx/bootchart.git so update SRC_URI to
match.
(From OE-Core rev: c4208f0ef0753a4615cf9dbcfb305f638b262f50)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python3 installation in the SDK did not include the minimum set
of modules to be functional, particularly in the case where Python
is brought in through dependencies. Rather than requiring the user
to explicitly add the modules, it's better to pull in the modules
through RRECOMMENDS. Note that the Python 2 recipe already does
this.
(From OE-Core rev: 5a88e59e488248b7ec53b072f934052b96c78a51)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Author: Juro Bystricky <juro.bystricky@intel.com>
Date: Fri Mar 30 10:14:05 2018 -0700
modpost: srcversion sometimes incorrect
"srcversion" field inserted into module modinfo section contains a
sum of the source files which made it. However, this field can
be incorrect. Building the same module can end up having inconsistent
srcversion field eventhough the sources remain the same.
This can be reproduced by building modules in a deeply nested directory,
but other factors contribute as well.
The reason for incorrect srcversion is that some source files can be
simply silently skipped from the checksum calculation due to limited
buffer space for line parsing.
This patch addresses two issues:
1. Allocates a larger line buffer (32k vs 4k).
2. Issues a warning if a line length exceeds the line buffer.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
(From OE-Core rev: 7d92ed3dcd8c4b5f7cde2f521569c792d55fae65)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I guess not many people are building linux-yocto-tiny for
v4.15, given that I managed to mangle the name of the recipe
when I introduced it.
[YOCTO #12640]
(From OE-Core rev: 6c1ddbbb0eb9c86646fcb99520e4747cfcd2b418)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.15+ already has the following dependencies:
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
DEPENDS += "openssl-native util-linux-native"
Updates to 4.14 via the -stable releases have also introduced the same
dependencies to 4.14's "make scripts". As such, we bring the same lines
into 4.14 to restore the ability to build scripts.
(From OE-Core rev: 148fd7a5bfea5d18952355a294e6d36ca82291d2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xz has native support for threaded compression now and SDK creation was the only
part of oe-core which is using pixz instead of xz.
Not only does this remove pixz-native from the SDK dependencies, but in my
limited testing xz -T0 is slightly faster and produces smaller archives than
pixz for the same input.
(From OE-Core rev: ce1cfa57d9828c0898f52e736f671ce8db534031)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since pigz is no longer a drop-in replacement for gzip (oe-core 1624b7b) the
image creation has been using gzip instead of pigz, despite still depending on
pigz-native. Fix this by invoking pigz explicitly.
(From OE-Core rev: 214fa7fe3b162162d2fa8b31eec28bedd86fcc7d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [#YOCTO 12030]
Updated the "Task Checksums and Setscene" section to provide a bit
of user information around the bitbake-dumpsigs use that lets a
user examine signatures and inputs that determine if a do_compile
task is indeed supposed to be run.
Added more explanation of how a user can examine signatures used
to determine if a do_compile task is indeed supposed to be run.
(Bitbake rev: 103bbc6642261cd5da038ba2071621919ee01253)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made sure that the terms "OpenEmbedded-Core" and "OE-Core"
are used as such throughout the manual.
(Bitbake rev: 677e58f8616a4bf58772e54d2313af3885a3b110)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware contains ${PN}-license package since this commit:
commit 1ee083da0730408fffdbbf5f29abc299c0e61be9
Author: Jackie Huang <jackie.huang@windriver.com>
Date: Mon Apr 13 10:17:21 2015 +0800
linux-firmware: fix the mess of licenses
* LICENSE_CREATE_PACKAGE functionality in license.bbclass when enabled
adds new package with suffix:
LICENSE_PACKAGE_SUFFIX ??= "-lic"
but then it checks if ${PN}-${LICENSE_PACKAGE_SUFFIX} is included
in PACKAGES before adding it and when found it shows:
WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: linux-firmware-lic package already existed in linux-firmware.
and doesn't add the ${PN}-lic to PACKAGES and causes another warning:
WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: QA Issue: linux-firmware: Files/directories were installed but not shipped in any package:
/usr
/usr/share
/usr/share/licenses
/usr/share/licenses/linux-firmware
that's because it was searching ${PN}-lic in PACKAGES as a string
so it found ${PN}-lic as a substring of ${PN}-license, add a split
to search in an list
(From OE-Core rev: 9b9897fc034819385a9d4ce591cc79dd458f3f24)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add it to allow older distributions e.g. Ubuntu 14.04 with gcc 4.8
to build this, otherwise it fails with:
../git/gen-des-tables.c: In function 'write_table_u8':
../git/gen-des-tables.c:307:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < m; i++)
^
(From OE-Core rev: 2591741896a6a267ceca9519f21bd39b5b196559)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add option for dbus in configure.ac, and explicitly build without dbus
for rpm-native.
Previously, the rpm recipe tries to prevent rpm-native from attempting
to inhibit shutdown via session dbus by appending '--disable-plugins'
to EXTRA_OECONF in case of native.
However, some layer may need some functionality via plugin support. And
when it enables it, we would meet the following warning at rootfs time.
Unable to get systemd shutdown inhibition lock: Socket name too long
As plugins/systemd_inhibit.c is the only place that's related to this
dependency, we can be sure that dbus is really not needed for rpm-native.
(From OE-Core rev: 815ccef2d5bef1e46c51916e694d0974aee394a9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since ${SSTATE_ARCHS} now contains ${PACKAGE_EXTRA_ARCHS} there is no
longer any need to add those extra architectures to the list of
architectures handled in get_deployed_dependencies().
(From OE-Core rev: e55e6df4f1434458cdfa0e2d3610b48119e5a782)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes sure files provided by packages that use any of the extra
architectures defined using ${PACKAGE_EXTRA_ARCHS} are cleaned from
tmp/sysroot-components when sstate_eventhandler2() executes.
Without this, changing a package from using one of the extra
architectures to another architecture would lead to files being
leftover in tmp/sysroot-components, which could later be picked up
when creating the RSS for another package rather than the files that
belonged to the updated package.
(From OE-Core rev: b959b3bd92aa2939d407800fc4167b0535fd4674)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this change, there will be two sstate index files in
tmp/sstate-control for any machine that contains a dash in the
name.
(From OE-Core rev: 29e7799bdb3773c40492e01448e0c614ed44583d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fedora28[1] has decided to go ahead and use libxcrypt to replace libcrypt from glibc
despite the change not having merged into glibc upstream yet. This breaks the use of
uninative in OE on fedora28 since binaries there are now using new symbols only found
in libxcrypt. libxcrypt is meant to be backwards compatible with libcrypt but not the
reverse.
Since this will impact OE in the next release cycle, this changes nativesdk only
to use this new model and adds libxcrypt to work in that case. This allows us to
build a uninative which is compatible with fedora28 and previous other OSes.
In order to work, recipes will now need to depend on virtual/crypt where they use
libcrypt since its now a separate library and we can't depend on it from glibc to
preseve backwards compatibility since glibc needs to build first. For now, only the
problematic nativesdk recipes have been fixed up. For target use, the default
provider remains glibc for now. Assuming this change is merged into upstream glibc,
we will need to roll this change out for the target but we will do this in the next
release cycle when we can better deal with the resulting bugs.
[1] https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt
Original patch from Charles-Antoine Couret <charles-antoine.couret@essensium.com>,
tweaked by RP to add virtual provides, SkipRecipe for libxcrypt and other minor
tweaks.
(From OE-Core rev: c1573cb7faeb296fe7077a60d02443d5ed5bded0)
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated
code from devtool needs to set this to avoid warnings which break
various tests.
(From OE-Core rev: f65ebfeda0bfbac78e4a2a6609ba654ca38a8b0e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated
code from devtool/oeqa needs to set this to avoid warnings which break
various tests.
(From OE-Core rev: 27568410ebb0d40db3428550704f35199df0e034)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alejandro asked this be reverted as the patch causes more problems
than it solves.
This reverts commit 5d288d286e.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add Perl's patch submitted to upstream to be compiled along with glibc with libcrypt split.
(From OE-Core rev: 79703d83790a2973fefdb0e12e125b5f17e98cdf)
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the package will get an automatic prefix "kernel-module", so
the package kernel-module-hello does exist, populating rootfs can
generate an error:
- nothing provides kernel-module-hello ...
This is quite unfortunate, as this recipe is used as a sample.
Adding RPROVIDES_${PN} += "kernel-module-hello" to the recipe fixes
the problem.
[YOCTO #12641]
(From OE-Core rev: ca17a7bbea5f5454da43545d544ff7772d83ac19)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New crosstap python implementation is total replacement for
crosstap shell script, that has superseding capabilities.
New script support cross compiling of SystemTap scripts
for user-land, by using supplied image rootfs. Whereas old
script could only deal with scripts against kernel. New script
has more complex logic and additional capabilities.
As invocation interface new script support old "legacy"
mode and provides alternative new regular options interface
to access additional functionality.
(From OE-Core rev: 1cbbcf26e0a9ca6e0b34a89512bf75dbae8bfaf0)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For details on issues fixed please look at commit message of individual
patches.
Upstream-Status: Backport [systemtap@sourceware.org]
(From OE-Core rev: 5aa93de3a79c8691e74e982d3d4b0099b04f5555)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For cases when systemap module compilation happens on host in
cross-compilation mode, and it is desirable to minimize systemtap
presense on target we need to have just smallest possible set of
utilties that are required to run compiled modules.
Introduce new "translator" PACKAGECONFIG, if it is not set
it would mean that just minimal set of run-time utilities will
be included in the package.
For run-time only systemtap build variant use
PACKAGECONFIG_pn-systemtap = "" or
PACKAGECONFIG_pn-systemtap = "monitor"
Suggested-by: Taras Kondratiuk <takondra@cisco.com>
(From OE-Core rev: a22b8140c6924eb3b3cd7b5bea66a4d3ed413807)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is IMAGE_GEN_DEBUGFS="1" variable that enables build of
additional rootfs-dbg and additional archive that contains
complimentary symbols files for a given image. But the issue
with this resulting directory and tarball that before use it
has to be combined with original image content. It is required
since all cross debugging tools like gdb, perf, and systemtap
need file system that contains both target executables/libraries
and their symbols. Those tools need to find executable/library
first and through it debuglink note find corresponding symbols
file.
image-combined-dbg when added to USER_CLASSES just copies
final resulting rootfs back into rootfs-dbg creating combined
target and debug symbols rootfs that can be used for debugging
directly.
(From OE-Core rev: 7ccb077f51c9232de70e5c6f9897fd9986e3be9d)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since v7.51.0, libidn2 is the only available option, libidn
support was dropped.
The configure option was renamed as of v7.53.0
Therefore, curl unconditionally tries to build against libidn2,
which in particular is a problem for curl-native, as that might
or might not build against the build-machine's libidn2 now,
which furthermore causes problems when trying to share sstate
between multiple build machines.
We therefore see the following in the config log:
...
checking whether to build with libidn2... (assumed) yes
...
checking for libidn2 options with pkg-config... no
configure: IDN_LIBS: "-lidn2"
configure: IDN_LDFLAGS: ""
configure: IDN_CPPFLAGS: ""
configure: IDN_DIR: ""
checking if idn2_lookup_ul can be linked... yes
checking idn2.h usability... yes
checking idn2.h presence... yes
checking for idn2.h... yes
...
IDN support: enabled (libidn2)
...
even though this recipe tries to disable that.
While libidn2 isn't available in OE, this change at least:
* prevents curl-native to silently build against libidn2 if
that is installed on build machine, even if not requested
* alerts people who use the PACKAGECONFIG option that it's
not actually doing what they intend to do
(From OE-Core rev: 705eaea991622bdbb2ee83eefa8df8e665e3efe4)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.
(From OE-Core rev: a2cbb5dc4c6191ca343dc4211abde693dc1a579a)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.
Also mark as broken entirely with musl.
(From OE-Core rev: 7d90d2a70f0184ad715e9917d3e7aa096cf98f79)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We'd like layers to set this variable so that we know which layers are compatible
with which others, even if the branch is a generic un-updated "master" branch.
Start printing a warning to highlight this issue.
(Bitbake rev: cca81e33b58c390dcf5cc3a31555a43b79177166)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also set LAYERSERIES_COMPAT for core (we're compatible with ourself).
(From OE-Core rev: 4aa43cd844781a07a2dbf17f21ed35c6a0100d02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adpat to the upgrade from 5.0 -> 6.0.
(From OE-Core rev: dc52f9cf343df4c2d77bee0e47004466321e7edb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.
(From OE-Core rev: bae5ced6eba78f1903e15d7f9dd7afc3c06e8955)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools,
there is no need to repeat it here.
(From OE-Core rev: 9a514311fa062fa3f8bccc4c47e907f88221024a)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.
(From OE-Core rev: 301d153781c7ddb6e38178c56f960e18d62788ab)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.
(From OE-Core rev: 2eb7ba6cb68e171c880bcb1fc614f1ae6b300e4f)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PRINC is no longer used and removed from documentation:
commit 7baadd86ee
Author: Scott Rifenbark <scott.m.rifenbark@intel.com>
Date: Mon May 18 09:25:51 2015 -0600
ref-manual: Removed PRINC entry from the glossary
(From OE-Core rev: b15089b014b95a8730f622ca4959b42ed15cb175)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When archiving a kernel, if S is ${WORKDIR}/git, then
${WORKDIR}/git is in fact a soft link into work-shared,
and the archive contains just the soft link. Fix by
archiving the real directory.
(From OE-Core rev: 564204dd6b73697ef4b6c17243067892876cc323)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Special handling for kernel source in work-shared was
incorrectly limited to kernel-yocto.bbclass instead
of kernel.bbclass.
(From OE-Core rev: b8c5680a67888d43540366a40bd0c501e926ac31)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have postinst intercept execution working for SDK generation,
adding MLPREFIX again makes sense in all cases, as the intercepts do require
that it is there.
This reverts commit 4ffb728df4.
(From OE-Core rev: 0792540170b6150a0c5fe8586bb8012affc3f90e)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When it was something else than /usr/libexec (e.g. when
installing native SDK packages), things broke down.
(From OE-Core rev: d99e819a6cbde6d1116c434ddba4c5f8eca7e6d8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this wasn't done, and so any packages installed from
populate_sdk would not have the postinsts fully executed
(particularly generation of various caches via running nativesdk or target
binaries with qemu wasn't working).
[YOCTO #12630]
(From OE-Core rev: a484ff072eea3f47de2c3348048201249cefa46b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows running the intercepts when creating SDKs, which previously
wasn't possible, as SDK code does not use the rootfs class, and calls
into PackageManager methods directly.
(From OE-Core rev: f830388c5e9125f385a42acd7365d1235967b57c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will allow handling postinst_intercepts when populating SDKs (which
use PackageManager class directly, and do not utilize RootFS class).
(From OE-Core rev: 9454fd328040fd58c981d028a74fcf181bde8e89)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will be useful when also moving postinst_intercept handling to
package manager class from rootfs class.
(From OE-Core rev: a4cd69bdd5b9dfa1125887f4d9038d41996e39c7)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its use required a script from an external repo which hasn't been updated
in 4 years, the recipe itself is out of date (doesn't install all
intercepts), and there is no oe-selftest or documentation for this.
If anyone still wants this, please do it in a separate layer.
(From OE-Core rev: 1fbae102fde54c9e7a0d74a4cda9900cd17640d6)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list of patches in SRC_URI was restructured in 49aae1d7, and left
a comment about patches from Debian hanging without context. Move and
reword it to make it remain useful.
There was also a leftover comment that referred to two .h files and
do_configure_prepend() that were removed in f960c026.
(From OE-Core rev: 80a702db442674e16a450a120972eeee4cbcb29a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, RPM_SIGN_PACKAGES is not defined. Add gpgcheck=0 to
oe-remote-repo.repo file, otherwise dnf will complain during
install operation on target
Note, RPM_SIGN_PACKAGES is set only when you inherit sign_rpm explicitly
(From OE-Core rev: 002a71eaa7606828c399972d8fd35e19e7b71929)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version has been published at April 03, 2018, and it is a bugfix
only release.
The release includes several important fixes that were made as part of
18.0.1 development cycle. Full list of bug fixes can be see online at:
https://www.mesa3d.org/relnotes/17.3.8.html
(From OE-Core rev: 782fb864349d4f5c07a38f0e117659bfb841d3c2)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As introduced by a56fb90dc3 ('base.bbclass
wipe ${S} before unpacking source') the base.bbclass uses a python
anonymous function to set the 'do_unpack' varflag 'cleandirs' to either
'${S}' or '${S}/patches' depending on equality of '${S}' and '${WORKDIR}'.
Not that this only differs from the way almost all other recipes set or
modify a tasks 'cleandirs' flag, it also has a significant impact on the
kernel.bbclass (and possibly further ones) and causes incorrect
behavior for rebuilds triggered by source modification, e.g. by a change
of the defconfig file for a kernel build.
The kernel.bbclass tries to extend do_unpack[cleandirs]:
| do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"
As python anonymous functions are evaluated at the very end of recipe
parsing, the d.setVarFlag('do_unpack', 'cleandirs', '${S}') statement in
base.bbclass will overwrite every modification to cleandirs that is done
as shown for the kernel class above.
As a result of this, a change to a kernels 'defconfig' will lead to an
updated defconfig file in ${WORKDIR}, but as ${B} never gets cleaned and
${B}/.config still exists, it will not be copied to ${B}/.config and
thus not find its way in the build kernel.
This is a severe issue for the kernel development and build process!
This patch changes setting of the cleandirs varflag in base.bbclass to
a simple variable assignment as almost all other recipes do it. This now
again allows overwriting or appending the varflag with common methods
such as done in kernel.bbclass.
This issue affects morty, pyro, rocko and master.
(From OE-Core rev: 20901b9783220aa6e7adae4951c531919c20859b)
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible that a trailing or extra slash somewhere in the external
source path could result in the directory not being removed from
cleandirs; it's also possible that a cleandirs entry is somewhere
underneath the source tree and that tree should never have parts of it
deleted by the build system. Use oe.path.is_path_parent() (which makes
paths absolute before checking them) to find out if any path in
cleandirs is anywhere underneath the external source path, and drop it
if it is.
(From OE-Core rev: 87ec0fb470274d980f8553a85f778809c269c5d7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the existing oe.recipeutils.split_var_value() function to split the
unexpanded value of the cleandirs varflag, in case it contains python
expressions - we don't want to split the expression itself as the chunks
will not expand properly individually and we can miss something that
expands to the source tree (and thus it can get deleted, the avoidance
of which is the whole point of this code).
(From OE-Core rev: 611cee69d7300a4746edd752c9557af60e7beecc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix typo in sulogin-path setting. It should be ${base_sbindir} instead of
just {base_sbindir}.
(From OE-Core rev: c168f6fe35ada66f7d6d6b5151fa248230c38676)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When uninative is activated (poky's default) internal datastore variables are modified (NATIVELSBSTRING and SSTATEPOSTUNPACKFUNCS) to enable uninative
support. This is happening after parsing is done at the beginning of the build. On the next bitbake call the recipe would be parsed if the two
variables above were not added to the parsing whitelist BB_HASHCONFIG_WHITELIST.
The fix is to add these two variables to the recipe parsing whitelist BB_HASHCONFIG_WHITELIST, this is done at recipe parsing time, only when
uninative.bbclass is used.
(From OE-Core rev: 75bb95ada98ef129d2fa48568f27dddb078c852c)
Signed-off-by: Cuero Bugot <cbugot@sierrawireless.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a couple of prints to get a nicer log, and creates a
small summary or report after checking every module, it
makes it more feasible for adoption, easier to debug why
a module ended at a certain package and see how the
manifest was created.
(From OE-Core rev: 4c2af72f51a7bf187615fc0b3a229d25c3e191e9)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is not using autoconf completely, therefore there
is no autoreconf happening, so when we depend on latest
gnu-config changes e.g. new architectures like riscv
the build does not see them and fails.
Installing these files from native sysroot helps
(From OE-Core rev: 2624f400af6e51f6f3379f9f119b8f81c75a014b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Define cpu type for Qemu in QEMU_EXTRAOPTIONS.
Otherways Qemu will emulate some virtual qemu32/64 processor,
which has very basic set of features, and programs built
for later CPU may crash, due to lack of new features (e.g. SSSE3).
(From OE-Core rev: 11f4fdcafed1383e5b6c2e634c670d19124e537a)
Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can be installed to some non standard path in which
case build will be broken.
As python2.7 is specified in HOSTTOOLS we can rely
that it is present in the PATH, so no need to hardcode
it to /usr/bin.
(From OE-Core rev: a200d22b26aded093289cb9150b3f05f76578c83)
Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found when I run:
$ recipetool create "ssh://git@xxx.xxx:7999/xxx.git"
the url turned out to be: "git://git@xxx.xxx/7999/xxx.git;protocol=ssh"
after parsing, the port number was parsed as part of the path, this is
definitely wrong and lead to fetching failures.
This issue could be fixed in reformat_git_uri, by filtering out port
numbers when formatting ":".
(From OE-Core rev: 4290e04b69360b5e1da9f37166015e30f66cb335)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
,----[ Changes in 3.10.3 ]
| Brad King (1):
| CMake 3.10.3
|
| Craig Scott (1):
| GoogleTest: Rename TIMEOUT parameter to avoid clash
|
| Sebastian Holtermann (1):
| Autogen: Fix for the empty source file crash in 3.10.2
|
| Tianhao Chai (1):
| ccmake: fix status line buffer overflow on very wide terminals
`----
(From OE-Core rev: ae230e1f858f83d1ff063554b49bd3ee1f880f76)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set KBUILD_BUILD_VERSION=1 to avoid build version being incremented on
every build. It is visible in the output of "cat /proc/version" after
the hash character.
(From OE-Core rev: 7fa32ee42c3320e9e2b24ef747e43484b719f617)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With multi kernel support in the installer we can exceed this limit.
Calculate a sane size by checking the size of the original boot
partition minus some objects we know won't be installed, plus some extra
space for users.
In addition, in the common case where only one small kernel is present
to be installed, we actually get a smaller boot partition with less
wasted space.
Also add VIRTUAL-RUNTIME_base-utils to RDEPENDS where these scripts are
used, as they're needed for the du command.
[YOCTO #12583].
(From OE-Core rev: 2ca601bef44a07512c93b8452cf9001dce402617)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of assuming order has changed if no package has been added or
removed, loop through packages to check if order has changed. This will
prevent the script from falsely reporting "changed order" if a version
has increased.
Fixes [YOCTO #12334]
(From OE-Core rev: 77d701c5fb5961bd818810a4d4cb3a9bd2432fae)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change includes several bug fixes and improvements, including better path
handling (the existance of . and .. for files), handling of the sticky bit, and
syscall renameat2 handling and interception through syscall() which was breaking
coreutils mv operations on fedora27.
[YOCTO #12594]
[YOCTO #12379]
[YOCTO #11643]
(From OE-Core rev: ddbcb88849d5c07a4cbbdc90fa1ab4d369476f8a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These spaces aren't needed and are confusing people. Remove them.
(From meta-yocto rev: 36d20206b73d2efbf72353030b786483eb8749b6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a fr_FR locale is found, it is automatically tested. The test
will fail if the locale is UTF-8, as the test blindly assumes
(and expects) a non-UTF fr_FR locale.
The remedy is to skip the test.
[YOCTO #12215]
(From OE-Core rev: 4cedddb83623c79980b354642dfeaf78218ca4b7)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the sqlite3 files ended up in python3-misc incorrectly,
this is caused becuse we couldnt add the whole ${libdir}/python3/sqlite3
folder on the package because we also have another sqlite3-tests
package that needs to include another folder from that directory.
This patch not only fixes the do_create_manifest script to handle this
situation, but also patches the manifest (created using the script)
which also fixes a hiddn runtime dependency that we wouldn't have seen.
(From OE-Core rev: 3324cb31670f33ffe193e550e3b3da8380b3c8c9)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have a couple of python modules that contain folders themselves,
for that reason they also contain a __pycache__ folder inside those
directories, since we include the whole folder in the manifest, the
pycache directories end up with the files and not the cache files.
This patch catches that and adds the directories to the correct
structure.
(From OE-Core rev: df9401e7e69ce162e257e827d67eb217666e532d)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the change from assuming kernels will be named "vmlinuz"
everywhere, to instead using KERNEL_IMAGETYPE, we require that
KERNEL_IMAGETYPE is set to something. Instead of setting the default in
multiple individual files, set it in default-distrovars.inc.
x86(-64) arches get bzImage as the default. Others get zImage as per
meta/conf/documentation.conf.
Also set KERNEL_IMAGETYPES, as we will eventually be switching away from
KERNEL_IMAGETYPE.
Thanks to Andre McCurdy <armccurdy@gmail.com> for the arch defaults
part.
(From OE-Core rev: a57d784211a39587538094425ee0246e9ddfbf9d)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a minor release that fixes many important issues found since
1.10 release.
(From OE-Core rev: 7068024c1ee8a3ec03904d50860fc42d7c421f87)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
update-ca-certificates symlinks (trusted) certificates
from $CERTSDIR or $LOCALCERTSDIR into $ETCCERTSDIR.
update-ca-certificates can call hook scripts installed
into /etc/ca-certificates/update.d. Those scripts are
passed the pem file in /etc/ssl/certs/ that was added or
removed in this run and those pem files are absolute
symlinks into $CERTSDIR or $LOCALCERTSDIR at the moment.
When running update-ca-certificates during image build
time, they thusly all point into the host's file system,
not into the $SYSROOT. This means:
* the host's file system layout must match the one
produced by OE, and
* it also means that the host must have installed the same
(or more) certificates as the target in $CERTSDIR and
$LOCALCERTSDIR
This is a problem when wanting to execute hook scripts,
because they all need to be taught about $SYSROOT, and
behave differently depending on whether they're called
at image build time, or on the target, as otherwise they
will be trying to actually read the host's certificates
from $CERTSDIR or $LOCALCERTSDIR.
This also is a problem when running anything else during
image build time that depends on the trusted CA
certificates.
Changing the symlink to be relative solves all of these
problems. At the same time, we have to make sure to add
$CERTSDIR to SYSROOT_DIRS, so that the symlinks are still
valid when somebody DEPENDS on ca-certificates-native. As
a side-effect, this also fixes a problem in meta-java,
where some recipes (e.g. openjdk-8-native) try to access
certificates from $CERTSDIR to generate the java trustStore
at build time.
Do so.
Upstream-Status: Inappropriate [OE-specific]
(From OE-Core rev: 09bb7718d74573be9a5db4d0737fb14126f6489c)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also set the default kernel of these BSPs to v4.15.
(From meta-yocto rev: 4c35cdf84b24104c341b986dd3e04323aca894c4)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes which use a shared workdir (e.g. gcc-runtine and libgcc) can
race over temporary files causing interesting build failures.
Using B instead of S avoids this problem.
[YOCTO #12605]
(From OE-Core rev: d6c13a5ff441f7076eb327c0d0b747bd7603db0f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The multilib version would race against then non-ml version leading
to all kinds of odd build failures.
(From OE-Core rev: 6bb70bd3857edb8cb6cc1317f57b899a89be2653)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kernels which use tools/objtool can now fail when building external modules
due to objtool being missing, the generated files can also cause problems
for kernel-devsrc.
Ensure objtool is generated in make-mod-scripts by also calling
"make prepare".
For devsrc, delete the generated binaries since they'd be native
binaries and unsuitable for the target.
The oeqa kernel module tests also need to have the additional "make prepare"
step added.
(From OE-Core rev: 52fd2993784b4218f5df4f343e7da45d964df305)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the sqlite3 module was in python3-misc by accident, move the files
into python3-sqlite3 where they belong.
(From OE-Core rev: f06a8d20560b8e93cf875ee58eddda0a976e7b14)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fies security warnings
| sign.c:86:31: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
| sprintf(fullfn, "%s/%s", tree, tempfn);
(From OE-Core rev: 7171e96f3a5f54c63674cf5282aea31bcb9cd7f9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ${libdir} is a subdirectory of ${prefix}/lib, e.g. /usr/lib/aarch64-linux, the cleanup logic will delete libc.so.
This bit of code was added in 2012 (git show b744f4cc) to remove /usr/lib/locale, this commit makes it remove that directory recursively and afterwards remove /usr/lib, erroring out if it's non-empty.
Tested with a plain (/usr/lib), a 64-bit (/usr/lib64) and a multiarch (/usr/lib/aarch64-linux) build. I strongly suspect this whole bit of cleanup isn't needed anymore, but my testing is too limited to be certain.
(From OE-Core rev: d8f4c7794f15f7071ee8e621d7964cb4b4134630)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
patch 0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch remove
as it is included in update
(From OE-Core rev: 3f203582ac646f96e6b86ec4b19721e7a78d55f8)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After we switched to RSS, this script was not working for a long time.
'bitbake package-index' can do the same thing and works well. So remove
this script.
(From OE-Core rev: 94fea92f5e7f7c0765e89743a1586b22186a16cd)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates comprising the following commits:
eb666a896f99 Linux 4.15.13
7717224bbcbb RDMA/ucma: Don't allow join attempts for unsupported AF family
93462def6848 RDMA/ucma: Fix access to non-initialized CM_ID object
7ea20f4df7fc clk: migrate the count of orphaned clocks at init
f73d0b37846a RDMA/core: Do not use invalid destination in determining port reuse
f8ea417273f2 serial: 8250_pci: Don't fail on multiport card class
719f7ae076e0 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
bd6281eb9113 IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
23896b7c08f5 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
f9496d45cd87 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
e36bb4076f37 hwrng: core - Clean up RNG list when last hwrng is unregistered
233f5fee86c3 crypto: artpec6 - set correct iv size for gcm(aes)
dbb1b3477bc0 clk: si5351: Rename internal plls to avoid name collisions
39888ce9ff0a clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
3a99b645e127 clk: Don't touch hardware when reparenting during registration
17e583cba3b6 clk: at91: pmc: Wait for clocks when resuming
a6d04b465659 nfsd4: permit layoutget of executable-only files
140cb7a3de12 ARM: dts: aspeed-evb: Add unit name to memory node
114355528fcd RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
2b7453a76bac scsi: lpfc: Fix issues connecting with nvme initiator
bfcb0d5e7dc7 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
cef86432a08e soc: qcom: smsm: fix child-node lookup
70559f800f62 ip_gre: fix potential memory leak in erspan_rcv
09d5f2bb8fc7 ip_gre: fix error path when erspan_rcv failed
813b2dad2cb5 ip6_vti: adjust vti mtu according to mtu of lower device
7a77ba6b6900 iommu/vt-d: clean up pr_irq if request_threaded_irq fails
424d4a6a5ebd pinctrl: rockchip: enable clock when reading pin direction register
35e54f441f0e pinctrl: Really force states during suspend/resume
f64b3c51d512 clk: use round rate to bail out early in set_rate
b96b31ce0517 dt-bindings: display: panel: Fix compatible string for Toshiba LT089AC29000
48228438f263 clk: check ops pointer on clock register
887fa839ee74 media: davinci: fix a debug printk
10843b30c385 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
61cbbb4f20d1 PCI: endpoint: Fix find_first_zero_bit() usage
d306bb6c7952 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
29a84f9707b1 coresight: Fix disabling of CoreSight TPIU
71b009c13528 pty: cancel pty slave port buf's work in tty_release
e7b4a5ba3259 drm/omap: DMM: Check for DMM readiness after successful transaction commit
eafa4cd4d112 mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
a9b4a01508a9 omapdrm: panel: fix compatible vendor string for td028ttec1
00aa57830cb5 vgacon: Set VGA struct resource types
18e595d70f17 PCI/ASPM: Calculate LTR_L1.2_THRESHOLD from device characteristics
3c4ffeae6510 bpf/cgroup: fix a verification error for a CGROUP_DEVICE type prog
3a23663bda89 iser-target: avoid reinitializing rdma contexts for isert commands
20dbecabd107 IB/umem: Fix use of npages/nmap fields
4d529564d326 RDMA/cma: Use correct size when writing netlink stats
f333c18b5434 IB/ipoib: Avoid memory leak if the SA returns a different DGID
80ac31ac404a rtc: ac100: Fix multiple race conditions
1835bd639fa7 media: s5p-mfc: Fix lock contention - request_firmware() once
e9f486d7a859 sfp: fix non-detection of PHY
b03b5f94dcf4 sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
1d40cdd339cb net: phy: meson-gxl: check phy_write return value
f9e0be9def10 /dev/mem: Add bounce buffer for copy-out
176fb28073c9 mmc: block: fix logical error to avoid memory leak
ca6b159fd207 mmc: avoid removing non-removable hosts during suspend
75157d4e4d15 drm/tilcdc: ensure nonatomic iowrite64 is not used
73f483aa65d6 dmaengine: zynqmp_dma: Fix race condition in the probe
c78feb5f451c platform/chrome: Use proper protocol transfer function
449c24e264d9 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
3122d2f18ed9 watchdog: Fix potential kref imbalance when opening watchdog
68c1248b9a2d cros_ec: fix nul-termination for firmware build info
0a607a064565 serial: 8250_dw: Disable clock on error
42c35b150365 tty: goldfish: Enable 'earlycon' only if built-in
ccf304a6607a qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
7bc49ffb1067 media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
784d1114823c ath10k: handling qos at STA side based on AP WMM enable/disable
db80bd4d5f62 media: bt8xx: Fix err 'bt878_probe()'
06647fbb496e rtlwifi: always initialize variables given to RT_TRACE()
3104c12838b2 rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
b5817721ecea libbpf: prefer global symbols as bpf program name source
340f5832b6a6 spi: sh-msiof: Avoid writing to registers from spi_master.setup()
7f5739939eb3 tcp: allow TLP in ECN CWR
df365ce541c4 hv_netvsc: Fix the TX/RX buffer default sizes
8fbec85ecd00 hv_netvsc: Fix the receive buffer size limit
3669331be6fd RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
be176a5c98e7 IB/ipoib: Warn when one port fails to initialize
09a00a4b1e8b drm/msm: fix leak in failed get_pages
aa5397213cc1 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
3cb311196e5f cpufreq: longhaul: Revert transition_delay_us to 200 ms
e16154e6868b Bluetooth: btqcomsmd: Fix skb double free corruption
b646aada058d Bluetooth: hci_qca: Avoid setup failure on missing rampatch
5ec3e522c556 drm/amdgpu: use polling mem to set SDMA3 wptr for VF
bcaf449b5809 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
1d60b7802104 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
cfc8d40be91d Linux 4.15.12
c3306c7f8f97 phy: phy-brcm-usb-init: Power down USB 3.0 PHY when XHCI disabled
5fb7cf9b1ca0 phy: phy-brcm-usb-init: DRD mode can cause crash on startup
048fd682b2b8 phy: phy-brcm-usb-init: Some Low Speed keyboards fail on 7271
43bcdded80fd phy: phy-brcm-usb: Fix two DT properties to match bindings doc
2007a7097ce1 usb: gadget: udc: renesas_usb3: fix oops in renesas_usb3_remove()
95918af96116 usb: dwc3: of-simple: fix oops by unbalanced clk disable call
b9fac2b8326d usb: dwc3: core: Power-off core/PHYs on system_suspend in host mode
cad33fd60fde usb: dwc3: Fix GDBGFIFOSPACE_TYPE values
41d3763d9942 USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
f21951e27402 dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding
7e9122d4e1af usb: dwc2: fix STM32F7 USB OTG HS compatible
bb5159f40c22 scsi: qla2xxx: Fix crashes in qla2x00_probe_one on probe failure
0bbf2aa0f9e2 scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
84f1972c3c5d scsi: qla2xxx: Fix NULL pointer access for fcport structure
1675cbb32906 scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que
71103f2b9fd2 btrfs: Fix memory barriers usage with device stats counters
005155e22a0b btrfs: remove spurious WARN_ON(ref->count < 0) in find_parent_nodes
7a42df9f0394 btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
ce1ac9c8ebe0 btrfs: alloc_chunk: fix DUP stripe size handling
d0505842848e btrfs: add missing initialization in btrfs_check_shared
fef1dad2a985 btrfs: Fix NULL pointer exception in find_bio_stripe
428da4f87e1d xfs: preserve i_rdev when recycling a reclaimable inode
1c7453ec86ce nvme: fix subsystem multiple controllers support check
69f0542a7bef irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
fdb574d9a7e0 RDMAVT: Fix synchronization around percpu_ref
0b68e9ccaf0b fs/aio: Use RCU accessors for kioctx_table->table[]
b5b8b8be7808 fs/aio: Add explicit RCU grace period when freeing kioctx
2fa76b885ece lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
9c7b569aec95 KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid
3bf14279499c kvm: arm/arm64: vgic-v3: Tighten synchronization for guests using v2 on v3
885310132995 KVM: arm/arm64: Reset mapped IRQs on VM reset
1368ba16c8e6 KVM: arm/arm64: Reduce verbosity of KVM init log
ad3edd3c4047 fs: Teach path_connected to handle nfs filesystems with multiple roots.
ab2660381a80 drm/amdgpu/dce: Don't turn off DP sink when disconnected
fa2192eea5c0 drm/radeon: fix prime teardown order
d747af9a681f drm/amdgpu: fix prime teardown order
69b9106f97ce drm/nouveau/mmu: ALIGN_DOWN correct variable
ba753a894a53 drm/nouveau/bl: Fix oops on driver unbind
18d8a34ac890 ALSA: seq: Clear client entry before deleting else at closing
1d63f1fc63f4 ALSA: seq: Fix possible UAF in snd_seq_check_queue()
cdcecd3415a1 ALSA: hda - Revert power_save option default value
eb0e7a1f5687 ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
bf724633cfda parisc: Handle case where flush_cache_range is called with no context
d7d57946c5f5 x86/mm: Fix vmalloc_fault to use pXd_large
4abf8650d693 KVM: x86: Fix device passthrough when SME is active
da0812b49895 x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklist
8449802675b3 x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels
7a73ba591708 x86/vm86/32: Fix POPF emulation
cfb3f12e5a01 selftests/x86/entry_from_vm86: Add test cases for POPF
673d00d2cc16 selftests/x86/entry_from_vm86: Exit with 1 if we fail
733307cf6ba6 x86/cpufeatures: Add Intel PCONFIG cpufeature
a21fcb396718 x86/cpufeatures: Add Intel Total Memory Encryption cpufeature
51d480eafd15 Linux 4.15.11
ddfd9b3a41ae drm/i915/glk: Disable Guc and HuC on GLK
5ae4953dc072 dmaengine: qcom_hidma: check pending interrupts
7aeb9a55a385 IB/mlx5: revisit -Wmaybe-uninitialized warning
41ba470820b3 ima: relax requiring a file signature for new files with zero length
45ecf3400006 locking/locktorture: Fix num reader/writer corner cases
a95958907b4a rcutorture/configinit: Fix build directory error message
0ff7ed13f2a7 ipvlan: add L2 check for packets arriving via virtual devices
f00f5f5598cc Fix misannotated out-of-line _copy_to_user()
b19715a17b62 mmc: mmc_test: Ensure command queue is disabled for testing
be5494a8f85b ASoC: nuc900: Fix a loop timeout test
03f6344f6981 crypto: caam/qi - use correct print specifier for size_t
64d5680d3b4d mac80211: remove BUG() when interface type is invalid
0fca555446a1 mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
d7b6747b2198 agp/intel: Flush all chipset writes after updating the GGTT
5123e87faf12 arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset
5f426784d0b4 powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context
3d1d39090fda powerpc/modules: Don't try to restore r2 after a sibling call
77592d6abc1b drm/amdkfd: Fix memory leaks in kfd topology
26ef25f35b9b veth: set peer GSO values
e8abc1292671 net: sched: drop qdisc_reset from dev_graft_qdisc
ae8cafc2813e virtio_net: Disable interrupts if napi_complete_done rescheduled napi
33964687ffd1 media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
1ed91b10c4e4 media: cpia2: Fix a couple off by one bugs
b85bea6de405 dm raid: fix raid set size revalidation
3e8cbf84d434 media: vsp1: Prevent suspending and resuming DRM pipelines
74b1383a2a32 staging: fsl-dpaa2/eth: Fix access to FAS field
83810e8aa67a clk: renesas: r8a77970: Add LVDS clock
d641b64a0fcf scsi: dh: add new rdac devices
151c46ea1a6b scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
a60c9f5bdf0a scsi: core: scsi_get_device_flags_keyed(): Always return device flags
d6549484c1bc bnxt_en: Don't print "Link speed -1 no longer supported" messages.
fd92108e8970 spi: sun6i: disable/unprepare clocks on remove
fedc177b4267 tools/usbip: fixes build with musl libc toolchain
1a1aa7f83d9f ath10k: fix invalid STS_CAP_OFFSET_MASK
2dc42ad1a816 mwifiex: cfg80211: do not change virtual interface during scan processing
eb0bd8399f30 clk: qcom: msm8916: fix mnd_width for codec_digcodec
736e6ed8e417 bnxt_en: Uninitialized variable in bnxt_tc_parse_actions()
196c8a893cc3 drm/amdgpu: fix amdgpu_sync_resv v2
d43f79d8bfa3 drm/amdgpu:fix virtual dce bug
84afaae95878 iwlwifi: mvm: avoid dumping assert log when device is stopped
7024c04ba773 perf annotate: Fix objdump comment parsing for Intel mov dissassembly
7090ac4bc551 perf annotate: Fix unnecessary memory allocation for s390x
4bc53614a08f pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
dc061955ca09 pinctrl: sh-pfc: r8a7791: Add can_clk function
4bccfe79cd4d drm/sun4i: Fix format mask in DE2 driver
e5e6a10251f8 pwm: stmpe: Fix wrong register offset for hwpwm=2 case
42957cf0a77d scsi: ses: don't ask for diagnostic pages repeatedly during probe
7d6f70a8758a scsi: lpfc: Fix crash during driver unload with running nvme traffic
9280348b2696 drm/amdgpu:fix random missing of FLR NOTIFY
eff913587989 KVM: X86: Restart the guest when insn_len is zero and SEV is enabled
a853301f77b5 cpufreq: Fix governor module removal race
b545efb25a3f ath10k: update tdls teardown state to target
4971e6535840 iio: health: max30102: Add power enable parameter to get_temp function
b0fdcac4f68d iio: adc: ina2xx: Shift bus voltage register to mask flag bits
056c35957ea2 drm/etnaviv: make THERMAL selectable
3079e5ffa141 power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()'
4e074cd9323a power: supply: ab8500_charger: Fix an error handling path
fadaf4240360 power: supply: sbs-message: double left shift bug in sbsm_select()
8a7474805a53 bpf: fix stack state printing in verifier log
e99d334f6d7f leds: pm8058: Silence pointer to integer size warning
b116b9ca82d8 xfrm: Fix xfrm_replay_overflow_offload_esn
52e0006fb425 userns: Don't fail follow_automount based on s_user_ns
daf8ff677a34 mtd: nand: ifc: update bufnum mask for ver >= 2.0.0
c91a50176871 ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
cc578825b46e ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
8215dde215a2 net: thunderx: Set max queue count taking XDP_TX into account
df2bc9f0c7d9 mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
71dc53969aa9 gpiolib: don't allow OPEN_DRAIN & OPEN_SOURCE flags simultaneously
3c1133294733 net: xfrm: allow clearing socket xfrm policies.
8aa7072cc386 perf report: Fix -D output for user metadata events
ccf7f3f1bfe2 rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe()
82e2dc52e103 net: ieee802154: adf7242: Fix bug if defined DEBUG
d0426ddc5a59 drm/vblank: Fix vblank timestamp debugs
6e3b18f9ef52 test_firmware: fix setting old custom fw path back on exit
2067278ed4a1 crypto: cavium - fix memory leak on info
b58c90c3a2c1 crypto: keywrap - Add missing ULL suffixes for 64-bit constants
f8ed29310ff5 crypto: ecc - Fix NULL pointer deref. on no default_rng
4fc44467b7d4 crypto: chelsio - Fix an error code in chcr_hash_dma_map()
fc82675c04f8 sched: Stop resched_cpu() from sending IPIs to offline CPUs
55a6c1e2842a sched: Stop switched_to_rt() from sending IPIs to offline CPUs
ccacabf0e911 dt-bindings: serial: Add common rs485 binding for RTS polarity
038f81410b9f USB: ledtrig-usbport: fix of-node leak
661d71fec957 typec: tcpm: fusb302: Resolve out of order messaging events
c702f9b72820 staging: rtl8822be: fix missing null check on dev_alloc_skb return
6fe526b2e82b drm/amdgpu: fix get_max_engine_clock_in_mhz
8c57c57a7d79 ARM: dts: exynos: Correct Trats2 panel reset line
941a8e4061b5 clk: meson: gxbb: fix wrong clock for SARADC/SANA
2037f15e1d02 ARM: dts: koelsch: Move cec_clock to root node
1320369874e0 iwlwifi: mvm: rs: don't override the rate history in the search cycle
bc7f19a1687d HID: elo: clear BTN_LEFT mapping
7b341f3287da KVM: PPC: Book3S HV: Fix typo in kvmppc_hv_get_dirty_log_radix()
6f97dd22c852 video/hdmi: Allow "empty" HDMI infoframes
e0749d1e1f10 dma-buf/fence: Fix lock inversion within dma-fence-array
df0204154557 drm/edid: set ELD connector type in drm_edid_to_eld()
c15aa9a93c05 KVM: PPC: Book3S HV: Avoid shifts by negative amounts
21764b41f1c8 HID: multitouch: Only look at non touch fields in first packet of a frame
6f6444502fa9 spi: imx: Fix failure path leak on GPIO request error correctly
d1cc4fe3e8b7 drm/panel: rpi-touchscreen: propagate errors in rpi_touchscreen_i2c_read()
ae53e57f5911 gfs2: Fixes to "Implement iomap for block_map" (2)
105cd2ef03be gfs2: Clean up {lookup,fillup}_metapath
7a4fe65843fd Revert "btrfs: use proper endianness accessors for super_copy"
3cd0aa9f35fe dm mpath: fix passing integrity data
701ba5478225 earlycon: add reg-offset to physical address before mapping
c3a2fe0fc8a0 serial: core: mark port as initialized in autoconfig
16415f03eb6e serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
306c08c6d659 usb: dwc3: Fix lock-up on ID change during system suspend/resume
11e2d13d3f9e usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
b42aa204e111 usb: usbmon: Read text within supplied buffer size
5d4203a6d5a2 usb: quirks: add control message delay for 1b1c:1b20
1fc47d0380b5 usbip: vudc: fix null pointer dereference on udc->lock
b2029b7dbe6b USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
aa05ee5fa75b scsi: sd_zbc: Fix potential memory leak
c9ff6a8a1e0f staging: android: ashmem: Fix lockdep issue during llseek
1c5bfd980303 staging: comedi: fix comedi_nsamples_left.
8e6c082909d5 uas: fix comparison for error code
2667d707c420 tty/serial: atmel: add new version check for usart
60003884f6c4 serial: sh-sci: prevent lockup on full TTY buffers
a0972dac1125 xhci: fix endpoint context tracer output
a0722d7b9d67 xhci: Fix front USB ports on ASUS PRIME B350M-A
73848b68f99b usb: host: xhci-rcar: add support for r8a77965
b7beb59aa066 ASoC: rt5651: Fix regcache sync errors on resume
aa6655a68f0a ASoC: wm_adsp: For TLV controls only register TLV get/set
9afc3ec1f2e7 ASoC: sgtl5000: Fix suspend/resume
6b57662274bd ASoC: sun4i-i2s: Fix RX slot number of SUN8I
699f7359e599 x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
df57458873da Linux 4.15.10
2aaa158bc127 NFS: Fix unstable write completion
0fa7083df399 pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
ff32fd5e2dce NFS: Fix an incorrect type in struct nfs_direct_req
085bac793f1c scsi: qla2xxx: Fix memory leak in dual/target mode
0e7a62c3cfb6 scsi: qla2xxx: Fix system crash in qlt_plogi_ack_unref
bf4ec02855d9 scsi: qla2xxx: Remove aborting ELS IOCB call issued as part of timeout.
33d13a80a374 scsi: qla2xxx: Defer processing of GS IOCB calls
b57851dc489f scsi: qla2xxx: Clear loop id after delete
ef5b3c623eec scsi: qla2xxx: Fix scan state field for fcport
f7b257f9e10a scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
3629d122f770 scsi: qla2xxx: Fix abort command deadlock due to spinlock
c6247675c8b2 scsi: qla2xxx: Fix PRLI state check
9a1e9130f25f scsi: qla2xxx: Fix Relogin being triggered too fast
41929d9b2363 scsi: qla2xxx: Relogin to target port on a cable swap
3ab51d1da782 scsi: qla2xxx: Fix NPIV host cleanup in target mode
6c609c375ca6 scsi: qla2xxx: Fix login state machine stuck at GPDB
1bb465e619eb scsi: qla2xxx: Serialize GPNID for multiple RSCN
99e33bd8bdfa scsi: qla2xxx: Retry switch command on time out
b40e693ce7b5 scsi: qla2xxx: Fix re-login for Nport Handle in use
e947c1c575aa scsi: qla2xxx: Skip IRQ affinity for Target QPairs
9685a797a564 scsi: qla2xxx: Move session delete to driver work queue
b340fe8a83f6 scsi: qla2xxx: Fix gpnid error processing
96a18fc96c22 scsi: qla2xxx: Fix system crash for Notify ack timeout handling
5858d59b8629 x86/xen: Calculate __max_logical_packages on PV domains
218ce9890104 tpm: only attempt to disable the LPC CLKRUN if is already enabled
9e49b027f787 tpm: remove unused variables
191f9cb91d12 tpm: delete the TPM_TIS_CLK_ENABLE flag
8fa99a629bd7 tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()
f84cbaff9004 tpm_tis: Move ilb_base_addr to tpm_tis_data
baf882cbcc43 netfilter: use skb_to_full_sk in ip6_route_me_harder
e8cd5a8ea2dd netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
d0a52c094d57 netfilter: bridge: ebt_among: add missing match size checks
5c06b89df419 netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
36dabaf091e7 netfilter: IDLETIMER: be syzkaller friendly
8ba14bacf620 netfilter: nat: cope with negative port range
4260816d4785 netfilter: x_tables: fix missing timer initialization in xt_LED
ea2699504d33 netfilter: xt_hashlimit: fix lock imbalance
cbd6bb0e28c9 netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation
ec6b058c5431 netfilter: add back stackpointer size checks
831b5146892e watchdog: hpwdt: Remove legacy NMI sourcing.
52769861e99b watchdog: hpwdt: fix unused variable warning
af1537404670 watchdog: hpwdt: Check source of NMI
2ade2293099d watchdog: hpwdt: SMBIOS check
7e9c540258af x86/kprobes: Fix kernel crash when probing .entry_trampoline code
d9f1b1fd3728 objtool: Fix 32-bit build
58e0bb003523 objtool: Fix another switch table detection issue
d5f6877f0af8 objtool, retpolines: Integrate objtool with retpoline support more closely
871caad2a47b objtool: Add module specific retpoline rules
40693bd709b5 objtool: Add retpoline validation
e1861c9e9568 objtool: Use existing global variables for options
90dbf1101e65 x86/mm/sme, objtool: Annotate indirect call in sme_encrypt_execute()
8882e40f66ed x86/boot, objtool: Annotate indirect jump in secondary_startup_64()
2425b3ea0afa x86/paravirt, objtool: Annotate indirect calls
468e2a80446c x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
d9a1668e7535 x86/speculation, objtool: Annotate indirect calls/jumps for objtool
5d2055f00ca3 x86/retpoline: Support retpoline builds with Clang
f7d74d9aa741 x86/speculation: Use IBRS if available before calling into firmware
4049a8836273 Revert "x86/retpoline: Simplify vmexit_fill_RSB()"
f1c9e2394888 x86-64/realmode: Add instruction suffix
071ee9dbac4a x86/LDT: Avoid warning in 32-bit builds with older gcc
108d29575df1 x86/IO-APIC: Avoid warning in 32-bit builds
c7cbca42ac4a x86/asm: Improve how GEN_*_SUFFIXED_RMWcc() specify clobbers
a6e01bb7e6e0 x86/mm: Remove stale comment about KMEMCHECK
93e18c11ff91 x86/entry/64: Use 'xorl' for faster register clearing
e76bc364ce66 x86/entry: Reduce the code footprint of the 'idtentry' macro
0a58c796685c nospec: Include <asm/barrier.h> dependency
392fa7504294 nospec: Kill array_index_nospec_mask_check()
7a676d14cc09 MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()
b1d0c4b8e92e dt-bindings: Document mti,mips-cpc binding
25285f83f127 scsi: qla2xxx: Fix recursion while sending terminate exchange
7142b10b87d5 scsi: qla2xxx: Fix NULL pointer crash due to probe failure
8c4ae767a189 ALSA: hda: add dock and led support for HP ProBook 640 G2
245b88be66ce ALSA: hda: add dock and led support for HP EliteBook 820 G3
34ef89ff1759 ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
6fc2d5416fda ALSA: seq: More protection for concurrent write and ioctl races
4271b3a41813 ALSA: seq: Don't allow resizing pool in use
27fb3754587a ALSA: hda/realtek - Make dock sound work on ThinkPad L570
ade62f0b3cf9 ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
6751bbdcc95a ALSA: hda/realtek: Limit mic boost on T480
7436dc94195d ALSA: hda/realtek - Add headset mode support for Dell laptop
c09ba221370b ALSA: hda/realtek - Add support headset mode for DELL WYSE
031fd7b4ed4a x86/spectre_v2: Don't check microcode versions when running under hypervisors
eaf9b6377a6e perf tools: Fix trigger class trigger_on()
291a0c2764e4 x86/MCE: Serialize sysfs changes
f89515c2e039 x86/MCE: Save microcode revision in machine check records
c56e9870f927 bcache: don't attach backing with duplicate UUID
dca776a05c50 bcache: fix crashes in duplicate cache device register
9fc9e1ed7335 IB/mlx5: Fix incorrect size of klms in the memory region
ca75c1477c2d dm bufio: avoid false-positive Wmaybe-uninitialized warning
b2171934ddc4 kbuild: Handle builtin dtb file names containing hyphens
822996a14a2f Revert "nvme: create 'slaves' and 'holders' entries for hidden controllers"
4a60df94905a IB/core: Fix missing RDMA cgroups release in case of failure to register device
88bf8f7eb708 arm64: mm: fix thinko in non-global page table attribute check
718a44de2712 KVM: s390: fix memory overwrites when not using SCA entries
4e5d6d3cc5e4 virtio_ring: fix num_free handling in error case
49de2e7b6670 loop: Fix lost writes caused by missing flag
342c720d9a4f Documentation/sphinx: Fix Directive import error
920a9205d268 mm/memblock.c: hardcode the end_pfn being -1
0b683939d50a lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()
e9f84db183af bug: use %pB in BUG and stack protector failure
9f30ff6fa1a4 Revert "Input: synaptics - Lenovo Thinkpad T460p devices should use RMI"
1bceb2ec8956 Input: matrix_keypad - fix race when disabling interrupts
ed800b0773b1 PCI: dwc: Fix enumeration end when reaching root subordinate
77e2735ad398 MIPS: OCTEON: irq: Check for null return on kzalloc allocation
df441ada39cd MIPS: ath25: Check for kzalloc allocation failure
3eaedec0cd82 MIPS: BMIPS: Do not mask IPIs during suspend
809a9bf143f7 ovl: redirect_dir=nofollow should not follow redirect for opaque lower
75d0d16e1cda drm/amdgpu:Always save uvd vcpu_bo in VM Mode
b6ce72324e14 drm/amdgpu:Correct max uvd handles
83756e094108 drm/amdgpu: fix KV harvesting
692f415886d3 drm/radeon: fix KV harvesting
871aee09c102 drm/amdgpu: Notify sbios device ready before send request
adcdc9dd593d drm/amdgpu: used cached pcie gen info for SI (v2)
8679c019d168 drm/amd/display: Default HDMI6G support to true. Log VBIOS table error.
dd18defa55e4 drm/amd/powerplay: fix power over limit on Fiji
98bb81bb0f7b drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE
fde4dbd2a6cb drm/amd/display: check for ipp before calling cursor operations
80167d87e14f Revert "drm/radeon/pm: autoswitch power state when in balanced mode"
6cd6ec67d323 drm/amd/powerplay/vega10: allow mclk switching with no displays
8b6db1eed6d8 drm/amd/powerplay/smu7: allow mclk switching with no displays
f3d86614c99d drm/nouveau: prefer XBGR2101010 for addfb ioctl
273b6c8deabe drm/amdgpu: Fix deadlock on runtime suspend
ae78cada27a5 drm/radeon: Fix deadlock on runtime suspend
edf309e744c0 drm/nouveau: Fix deadlock on runtime suspend
51b269211a8c drm: Allow determining if current task is output poll worker
72bfcad05183 workqueue: Allow retrieval of current task's work struct
0adf0556bebd drm/i915: Always call to intel_display_set_init_power() in resume_early.
9e2d259c4e02 scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
44d646d03785 scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
a7423bbfb0d1 drm/i915/perf: fix perf stream opening lock
d723c32a04ca drm/i915: Try EDID bitbanging on HDMI after failed read
24791fc09ea3 drm/i915: Update watermark state correctly in sanitize_watermarks
5b79f7227aac drm/i915: Disable DC states around GMBUS on GLK
281a7778a32b drm/i915: Clear the in-use marker on execbuf failure
3ea5145064e2 drm/i915: Fix rsvd2 mask when out-fence is returned
47f84ed164c9 drm/i915/audio: fix check for av_enc_map overflow
35a66d32de2c drm/i915: Check for fused or unused pipes
b7e042c88b2c regulator: stm32-vrefbuf: fix check on ready flag
644ec8e097e9 net/smc: fix NULL pointer dereference on sock_create_kern() error path
bf18bf8d610f mac80211_hwsim: don't use WQ_MEM_RECLAIM
0a1c56f01811 IB/uverbs: Improve lockdep_check
056700807d82 bpf: cpumap: use GFP_KERNEL instead of GFP_ATOMIC in __cpu_map_entry_alloc()
45c0604dbeae RDMA/mlx5: Fix integer overflow while resizing CQ
1414d3fd4616 RDMA/ucma: Check that user doesn't overflow QP state
5d07104bc91b RDMA/ucma: Limit possible option size
3eae9e93d492 Linux 4.15.9
c0d3435d7fa0 KVM: x86: fix backward migration with async_PF
fa1f98c84c6b scsi: mpt3sas: wait for and flush running commands on shutdown/unload
2928c03a245f scsi: mpt3sas: fix oops in error handlers after shutdown/unload
6ff2082e4544 bpf, ppc64: fix out of bounds access in tail call
bc9d150b9bf1 bpf: allow xadd only on aligned memory
8c4626bf15ba bpf: add schedule points in percpu arrays management
18fa1b102cc2 bpf, arm64: fix out of bounds access in tail call
5882764e48ed bpf, x64: implement retpoline for tail call
519f40bb7fc9 bpf: fix rcu lockdep warning for lpm_trie map_free callback
f154de29a46b bpf: fix memory leak in lpm_trie map_free callback function
da43a222a759 bpf: fix mlock precharge on arraymaps
968369e0e44d Linux 4.15.8
ddf33af2f815 platform/x86: dell-laptop: fix kbd_get_state's request value
344fb4360638 md: only allow remove_and_add_spares when no sync_thread running.
f946a7289f2c powerpc/64s/radix: Boot-time NULL pointer protection using a guard-PID
39f428ebf4f1 ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
6dcd8259f418 ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux
97086e143e20 ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
f1bf982a4fea KVM/x86: remove WARN_ON() for when vm_munmap() fails
21043b0e128e KVM: x86: fix vcpu initialization with userspace lapic
100b8cbd68b1 KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()
16f7730b611a KVM: x86: move LAPIC initialization after VMCS creation
2ccf7f43562b KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
1b7168079777 KVM: mmu: Fix overlap between public and private memslots
0a5e830dc933 KVM: X86: Fix SMRAM accessing even if VM is shutdown
4c1a4f2e0f9f ARM: kvm: fix building with gcc-8
f83ed2a349e6 ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
2dc5b6bbd897 ARM: dts: rockchip: Remove 1.8 GHz operation point from phycore som
6e5bcbc089fc ARM: orion: fix orion_ge00_switch_board_info initialization
d95636d18120 x86/mm: Fix {pmd,pud}_{set,clear}_flags()
f48c77b42e12 nospec: Allow index argument to have const-qualified type
adfc51106c08 KVM: s390: consider epoch index on TOD clock syncs
b06b16f7ca6b KVM: s390: consider epoch index on hotplugged CPUs
35b8a4dfde70 KVM: s390: provide only a single function for setting the tod (fix SCK)
96819fb1cfee KVM: s390: take care of clock-comparator sign control
1c7cfc790da1 EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
9b144500e91c media: m88ds3103: don't call a non-initalized function
ced72e7e3fdc blk-mq: don't call io sched's .requeue_request when requeueing rq to ->dispatch
edd27ed8978b tcp: revert F-RTO extension to detect more spurious timeouts
34ffbd0f604c tcp: revert F-RTO middle-box workaround
46884f60c4ec s390/qeth: fix IPA command submission race
5df9e78c3dff s390/qeth: fix IP address lookup for L3 devices
f99053f7b122 Revert "s390/qeth: fix using of ref counter for rxip addresses"
6e757a122107 s390/qeth: fix double-free on IP add/remove race
50f613e92572 s390/qeth: fix IP removal on offline cards
c3238669b34f s390/qeth: fix overestimated count of buffer elements
1818aac9f31b s390/qeth: fix SETIP command handling
841c19a5cc54 s390/qeth: fix underestimated count of buffer elements
549ddc83ad5e l2tp: fix tunnel lookup use-after-free race
08ffa7bbb46e l2tp: fix race in pppol2tp_release with session object destroy
18bdaefc715b l2tp: fix races with tunnel socket close
8a319b57cc5c l2tp: don't use inet_shutdown on ppp session destroy
bb364485dfa2 l2tp: don't use inet_shutdown on tunnel destroy
333502ffcfee tcp: tracepoint: only call trace_tcp_send_reset with full socket
8421bd1de6af net: phy: Restore phy_resume() locking assumption
4f217494ee7a net/mlx5: Fix error handling when adding flow rules
bbc06dee4ac6 cxgb4: fix trailing zero in CIM LA dump
dec498f1c88e virtio-net: disable NAPI only when enabled during XDP set
fad7f95c5a30 tuntap: disable preemption during XDP processing
85e1944293c7 tuntap: correctly add the missing XDP flush
12b552b1f7b7 tcp: purge write queue upon RST
069018b93412 netlink: put module reference if dump start fails
acc97d6c2bb5 mlxsw: spectrum_router: Do not unconditionally clear route offload indication
58cea8e8f1c0 cls_u32: fix use after free in u32_destroy_key()
ba34386c3a5f amd-xgbe: Restore PCI interrupt enablement setting on resume
c5f3a16c047d tls: Use correct sk->sk_prot for IPV6
7e7a3ddb1a47 net/mlx5e: Verify inline header size do not exceed SKB linear size
738d0533e316 bridge: Fix VLAN reference count problem
e7b63f0b9981 sctp: fix dst refcnt leak in sctp_v6_get_dst()
fcff1213761a net: ipv4: Set addr_type in hash_keys for forwarded case
11cc4753e279 mlxsw: spectrum_router: Fix error path in mlxsw_sp_vr_create
6fe1cee8331d sctp: do not pr_err for the duplicated node in transport rhlist
76d0b2028297 net/sched: cls_u32: fix cls_u32 on filter replace
b933df76437b net_sched: gen_estimator: fix broken estimators based on percpu stats
03bbd6797f0b net/mlx5e: Fix loopback self test when GRO is off
edb7471e93d2 doc: Change the min default value of tcp_wmem/tcp_rmem.
3f62339aa796 tcp_bbr: better deal with suboptimal GSO
5c783a7f0203 rxrpc: Fix send in rxrpc_send_data_packet()
f3d48615d322 tcp: Honor the eor bit in tcp_mtu_probe
88ff57617d0d net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT
0ef5cb5705f2 net/mlx5e: Specify numa node when allocating drop rq
1b1a55b29fe2 mlxsw: spectrum_switchdev: Check success of FDB add operation
c7cf3921eb5f sctp: fix dst refcnt leak in sctp_v4_get_dst
9b8444159a4c net/mlx5e: Fix TCP checksum in LRO buffers
1e4661b4d107 udplite: fix partial checksum initialization
4fadd1aa760e sctp: verify size of a new chunk in _sctp_make_chunk()
9b7006aabf2b ppp: prevent unregistered channels from connecting to PPP units
f15602876538 net: sched: report if filter is too large to dump
70ecf3334923 netlink: ensure to loop over all netns in genlmsg_multicast_allns()
9784795d3f03 net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
30535af95cf2 net: fix race on decreasing number of TX queues
214284730b09 net: ethernet: ti: cpsw: fix net watchdog timeout
21e6097dd04a net: amd-xgbe: fix comparison to bitshift when dealing with a mask
adf7429c2267 ipv6 sit: work around bogus gcc-8 -Wrestrict warning
6811b97ecd35 hdlc_ppp: carrier detect ok, don't turn off negotiation
16883c9d55c1 fib_semantics: Don't match route with mismatching tclassid
842874ee8ec1 bridge: check brport attr show in brport_show
1b89874c3856 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
64982714bc3f x86/platform/intel-mid: Handle Intel Edison reboot correctly
d7445fa22a11 x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
6450d9cd79e9 direct-io: Fix sleep in atomic due to sync AIO
1fa58410574b dax: fix vma_is_fsdax() helper
1666ac0ce06f cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
483c2bdccca7 vfio: disable filesystem-dax page pinning
eef09bb03fcb block: pass inclusive 'lend' parameter to truncate_inode_pages_range
ea402611ed03 block: kyber: fix domain token leak during requeue
8882f981b717 block: fix the count of PGPGOUT for WRITE_SAME
e4c2c02c50b3 btrfs: use proper endianness accessors for super_copy
9a13579b3034 parisc: Hide virtual kernel memory layout
4aa930d5820a parisc: Fix ordering of cache and TLB flushes
24316676e3c7 parisc: Reduce irq overhead when run in qemu
60e756984554 parisc: Use cr16 interval timers unconditionally on qemu
ee5e1ffab408 timers: Forward timer base before migrating timers
4ee6ac4141dd mmc: dw_mmc: Fix out-of-bounds access for slot's caps
500fb6fc6f76 mmc: dw_mmc: Factor out dw_mci_init_slot_caps
d9aedd0eeff7 mmc: dw_mmc: Avoid accessing registers in runtime suspended state
89c12efb97e7 mmc: dw_mmc-k3: Fix out-of-bounds access through DT alias
77a4aeb4ce78 mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers
05d161055a54 ALSA: hda - Fix pincfg at resume on Lenovo T470 dock
953cadb747c1 ALSA: hda: Add a power_save blacklist
b7b0967e09f8 ALSA: x86: Fix missing spinlock and mutex initializations
a2eeb5a466e4 ALSA: control: Fix memory corruption risk in snd_ctl_elem_read
9d1e69dd320d ALSA: usb-audio: Add a quirck for B&W PX headphones
45bc38a35106 tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
97277fda41a5 tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
a46deb414510 tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
e47b9cb5a31b tpm: fix potential buffer overruns caused by bit glitches on the bus
3f0ef47f20be tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
fdfcd0ace151 ixgbe: fix crash in build_skb Rx code path
eeef553eef5e Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking
7ef82fc6dd01 powerpc/pseries: Enable RAS hotplug events later
c58c4d2d192d platform/x86: dell-laptop: Allocate buffer on heap rather than globally
5263849bc9e7 ipmi_si: Fix error handling of platform device
d3b7976e60c6 hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)
816433b1879a vsprintf: avoid misleading "(null)" for %px
(From OE-Core rev: 6af2a2914264c67310ec874035b8a01c941e9615)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases for v4.14, which comprise the
following commits:
de8cdc557231 Linux 4.14.30
5019b23699f4 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
957435b566c9 kbuild: fix linker feature test macros when cross compiling with Clang
e82496fbe3a0 RDMA/ucma: Don't allow join attempts for unsupported AF family
ce3e82c0630f RDMA/ucma: Fix access to non-initialized CM_ID object
712b442c68c2 clk: migrate the count of orphaned clocks at init
02db484a0583 RDMA/core: Do not use invalid destination in determining port reuse
8b0c4a2e04f7 serial: 8250_pci: Don't fail on multiport card class
00fb52a3828d IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
cf1eb16eef13 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
3748694f1b91 scsi: mpt3sas: wait for and flush running commands on shutdown/unload
9d72b2696e0a scsi: mpt3sas: fix oops in error handlers after shutdown/unload
0493d72ee4d6 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
e618ff1ac59c crypto: artpec6 - set correct iv size for gcm(aes)
53555c8fc8a2 clk: si5351: Rename internal plls to avoid name collisions
fa97cdb4c71e clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
9e9d9b1a3dbf clk: Don't touch hardware when reparenting during registration
24c92f975cb2 clk: at91: pmc: Wait for clocks when resuming
14d920fc4579 nfsd4: permit layoutget of executable-only files
1de82078a0c0 ARM: dts: aspeed-evb: Add unit name to memory node
e434a6eaed8c RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
7b7e076f8cad scsi: lpfc: Fix issues connecting with nvme initiator
1626beb0b5d8 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
6f4649f3bef8 soc: qcom: smsm: fix child-node lookup
f1f225794a41 ip_gre: fix potential memory leak in erspan_rcv
9cd6c84e9377 ip_gre: fix error path when erspan_rcv failed
e6cfc525163e ip6_vti: adjust vti mtu according to mtu of lower device
f2b32ce1ccef iommu/vt-d: clean up pr_irq if request_threaded_irq fails
915bd53d68f6 pinctrl: rockchip: enable clock when reading pin direction register
130e535210ba pinctrl: Really force states during suspend/resume
06299bd0cf73 media: davinci: fix a debug printk
fea718819c69 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
e1645629785b PCI: endpoint: Fix find_first_zero_bit() usage
194b5ce11968 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
d67d7bf8f12d coresight: Fix disabling of CoreSight TPIU
f16a65befe74 pty: cancel pty slave port buf's work in tty_release
728e120d1786 drm/omap: DMM: Check for DMM readiness after successful transaction commit
9967208b4f6c mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
83a2960ff6d1 omapdrm: panel: fix compatible vendor string for td028ttec1
f7eda23c2990 vgacon: Set VGA struct resource types
58668d153baf iser-target: avoid reinitializing rdma contexts for isert commands
a3e4b8fe6479 IB/umem: Fix use of npages/nmap fields
251695a39f05 RDMA/cma: Use correct size when writing netlink stats
a4ac7cb593ad IB/ipoib: Avoid memory leak if the SA returns a different DGID
9766562956fd rtc: ac100: Fix multiple race conditions
badf37254bc7 media: s5p-mfc: Fix lock contention - request_firmware() once
639dab36edbd sfp: fix non-detection of PHY
1a6610de8c1b sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
1b485793ce84 net: phy: meson-gxl: check phy_write return value
ea60e54b22aa /dev/mem: Add bounce buffer for copy-out
79a49fcc0768 mmc: block: fix logical error to avoid memory leak
9dd93e524955 mmc: avoid removing non-removable hosts during suspend
c1326c691f4d drm/tilcdc: ensure nonatomic iowrite64 is not used
e2a6f2967f67 dmaengine: zynqmp_dma: Fix race condition in the probe
f4a0f85594ba platform/chrome: Use proper protocol transfer function
71233e2541a4 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
08b810901020 watchdog: Fix potential kref imbalance when opening watchdog
008029510ac8 cros_ec: fix nul-termination for firmware build info
79c3f5cf466d serial: 8250_dw: Disable clock on error
f1be26620373 tty: goldfish: Enable 'earlycon' only if built-in
5ff0741646fd qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
a9a14b17f72c media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
057ee30417e5 ath10k: handling qos at STA side based on AP WMM enable/disable
824f8613ea62 media: bt8xx: Fix err 'bt878_probe()'
2159db50a572 rtlwifi: always initialize variables given to RT_TRACE()
9f180c6db58e rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
9854881c225a spi: sh-msiof: Avoid writing to registers from spi_master.setup()
6467b3e25447 hv_netvsc: Fix the TX/RX buffer default sizes
8dc11c413557 hv_netvsc: Fix the receive buffer size limit
e53e85d5082c RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
4df82a41e819 drm/msm: fix leak in failed get_pages
b3cff08483d0 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
b453f9d8c55e cpufreq: longhaul: Revert transition_delay_us to 200 ms
e59e19dc4086 Bluetooth: btqcomsmd: Fix skb double free corruption
5b58533858e3 Bluetooth: hci_qca: Avoid setup failure on missing rampatch
23081c335df9 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
23e73e2ab4d2 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
809607940362 Linux 4.14.29
f2216e3e1d64 usb: dwc3: Fix GDBGFIFOSPACE_TYPE values
3914aae2ae24 USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
c209d68794e6 scsi: qla2xxx: Fix crashes in qla2x00_probe_one on probe failure
91cb90636e03 scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
31de69d5c9b8 scsi: qla2xxx: Fix NULL pointer access for fcport structure
8cdd1908c174 scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que
1a8902505673 btrfs: Fix memory barriers usage with device stats counters
d35115930d84 btrfs: remove spurious WARN_ON(ref->count < 0) in find_parent_nodes
cb6945546b52 btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
0136bd7238b2 btrfs: alloc_chunk: fix DUP stripe size handling
7e7fbff126d1 btrfs: add missing initialization in btrfs_check_shared
e625797168ce btrfs: Fix NULL pointer exception in find_bio_stripe
e01cf461f1d0 irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
1f4b6d083dc6 RDMAVT: Fix synchronization around percpu_ref
cd21b3400bc1 fs/aio: Use RCU accessors for kioctx_table->table[]
076c7c06801a fs/aio: Add explicit RCU grace period when freeing kioctx
b071bce3ff7e lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
e693f1331c4c KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid
b85437d007f4 kvm: arm/arm64: vgic-v3: Tighten synchronization for guests using v2 on v3
2ffe95e3aa1e KVM: arm/arm64: Reduce verbosity of KVM init log
0481f001d9c1 fs: Teach path_connected to handle nfs filesystems with multiple roots.
690291bccba9 drm/amdgpu/dce: Don't turn off DP sink when disconnected
1a50b5f07acf drm/radeon: fix prime teardown order
b4a9192c74ad drm/amdgpu: fix prime teardown order
bdbd0a2082d5 drm/nouveau/bl: Fix oops on driver unbind
3d1ef6fbdc22 ALSA: seq: Clear client entry before deleting else at closing
0609022631b3 ALSA: seq: Fix possible UAF in snd_seq_check_queue()
c0cafa62d780 ALSA: hda - Revert power_save option default value
5ee6abaa5370 ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
a9cf8b6fe73b parisc: Handle case where flush_cache_range is called with no context
6fcb523eafa0 x86/mm: Fix vmalloc_fault to use pXd_large
4b428e9998c1 KVM: x86: Fix device passthrough when SME is active
732f9a89fc1e x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklist
76aaa3978252 x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels
68ce99300659 x86/vm86/32: Fix POPF emulation
602e52e66fbe selftests/x86/entry_from_vm86: Add test cases for POPF
102c51c63494 selftests/x86: Add tests for the STR and SLDT instructions
6d3789cafd00 selftests/x86: Add tests for User-Mode Instruction Prevention
9ad561690f83 selftests/x86/entry_from_vm86: Exit with 1 if we fail
4cf4908d1d4e x86/cpufeatures: Add Intel PCONFIG cpufeature
828ba3c7fd5a x86/cpufeatures: Add Intel Total Memory Encryption cpufeature
42b96e19dddd Linux 4.14.28
1c8b6717a268 drm/i915/glk: Disable Guc and HuC on GLK
e09475d69826 dmaengine: qcom_hidma: check pending interrupts
4f33fcc68abe IB/mlx5: revisit -Wmaybe-uninitialized warning
fd6170bf4381 ima: relax requiring a file signature for new files with zero length
c02dd004559c locking/locktorture: Fix num reader/writer corner cases
09e59383eb1c rcutorture/configinit: Fix build directory error message
17c8c5998857 ipvlan: add L2 check for packets arriving via virtual devices
0ced0c46b418 Fix misannotated out-of-line _copy_to_user()
4117e8971923 mmc: mmc_test: Ensure command queue is disabled for testing
b45ccc79b04a ASoC: nuc900: Fix a loop timeout test
00be5b299063 crypto: caam/qi - use correct print specifier for size_t
8077cba5b1f0 mac80211: remove BUG() when interface type is invalid
f6ae26c08033 mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
9bece8dda367 agp/intel: Flush all chipset writes after updating the GGTT
4df57c45f762 arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset
9281b0856dcd powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context
d744153d67fd powerpc/modules: Don't try to restore r2 after a sibling call
12848af16f9e drm/amdkfd: Fix memory leaks in kfd topology
30d45938f2a5 veth: set peer GSO values
a80de288d6c5 net: sched: drop qdisc_reset from dev_graft_qdisc
127bda4b0912 virtio_net: Disable interrupts if napi_complete_done rescheduled napi
623f21858691 media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
b6b70d70331f media: cpia2: Fix a couple off by one bugs
8834a75d8acb dm raid: fix raid set size revalidation
77ec30a0b35e media: vsp1: Prevent suspending and resuming DRM pipelines
32097005dd78 scsi: dh: add new rdac devices
97b8a9a87832 scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
a60a3523b398 scsi: core: scsi_get_device_flags_keyed(): Always return device flags
677794fb0ca2 bnxt_en: Don't print "Link speed -1 no longer supported" messages.
564030343299 spi: sun6i: disable/unprepare clocks on remove
4309a1e0d1c3 tools/usbip: fixes build with musl libc toolchain
9c0a007d1efc ath10k: fix invalid STS_CAP_OFFSET_MASK
0c2fa288cfc3 mwifiex: cfg80211: do not change virtual interface during scan processing
1a7e2b546b0f clk: qcom: msm8916: fix mnd_width for codec_digcodec
6d6a5eae5600 drm/amdgpu:fix virtual dce bug
bd301e538bd6 iwlwifi: mvm: avoid dumping assert log when device is stopped
e6fb81cb22b7 perf annotate: Fix objdump comment parsing for Intel mov dissassembly
f9b186caa071 perf annotate: Fix unnecessary memory allocation for s390x
9334b702531d pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
162ee473a0cb pinctrl: sh-pfc: r8a7791: Add can_clk function
81a16b68d254 drm/sun4i: Fix format mask in DE2 driver
5dc7257b7ca7 pwm: stmpe: Fix wrong register offset for hwpwm=2 case
65722e73086d scsi: ses: don't ask for diagnostic pages repeatedly during probe
5d8c64ea75f3 drm/amdgpu:fix random missing of FLR NOTIFY
0049457bfde6 cpufreq: Fix governor module removal race
bde5c6dca065 ath10k: update tdls teardown state to target
6af44accf4ff iio: health: max30102: Add power enable parameter to get_temp function
975486d1f138 iio: adc: ina2xx: Shift bus voltage register to mask flag bits
cb334409bb02 drm/etnaviv: make THERMAL selectable
893bfd501781 power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()'
487d43596072 power: supply: ab8500_charger: Fix an error handling path
7579edac03e6 leds: pm8058: Silence pointer to integer size warning
ab3db1af4210 xfrm: Fix xfrm_replay_overflow_offload_esn
5aac93adff9c userns: Don't fail follow_automount based on s_user_ns
926b261b1ed5 mtd: nand: ifc: update bufnum mask for ver >= 2.0.0
2f1f60c4b903 ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
0ed43f944a40 ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
5132282f9c4b net: thunderx: Set max queue count taking XDP_TX into account
4ab1fcc7a5f7 mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
bd174cd107d0 net: xfrm: allow clearing socket xfrm policies.
f113f794410a rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe()
31a0f4502108 net: ieee802154: adf7242: Fix bug if defined DEBUG
00c7a2690dcc test_firmware: fix setting old custom fw path back on exit
919ba939de1a crypto: cavium - fix memory leak on info
90cf769aeb5a crypto: ecc - Fix NULL pointer deref. on no default_rng
cebb9043093e sched: Stop resched_cpu() from sending IPIs to offline CPUs
9c2825526d96 sched: Stop switched_to_rt() from sending IPIs to offline CPUs
872181a79b35 USB: ledtrig-usbport: fix of-node leak
b9faab6a01e9 typec: tcpm: fusb302: Resolve out of order messaging events
dc3173bf6ccb staging: rtl8822be: fix missing null check on dev_alloc_skb return
0e2685fef97d drm/amdgpu: fix get_max_engine_clock_in_mhz
dc743e973895 ARM: dts: exynos: Correct Trats2 panel reset line
7299cd29f12c clk: meson: gxbb: fix wrong clock for SARADC/SANA
9ac03f5260e4 ARM: dts: koelsch: Move cec_clock to root node
cc218843b44d iwlwifi: mvm: rs: don't override the rate history in the search cycle
f0ab595c2de0 HID: elo: clear BTN_LEFT mapping
addf1ae9fcb2 HID: multitouch: Only look at non touch fields in first packet of a frame
d2bbda4c374c video/hdmi: Allow "empty" HDMI infoframes
182c594668e7 dma-buf/fence: Fix lock inversion within dma-fence-array
e19df194b50e drm/edid: set ELD connector type in drm_edid_to_eld()
2b0509fa4afe Revert "btrfs: use proper endianness accessors for super_copy"
d916e453942b dm mpath: fix passing integrity data
dbacf552cdbf earlycon: add reg-offset to physical address before mapping
0da58aed9edc serial: core: mark port as initialized in autoconfig
099d055f8ab9 serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
e52fb772cb1d usb: dwc3: Fix lock-up on ID change during system suspend/resume
99d7fb05c1e9 usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
59b0613d3f40 usb: usbmon: Read text within supplied buffer size
42b8dfefbb1b usb: quirks: add control message delay for 1b1c:1b20
d4f0bf4525fd usbip: vudc: fix null pointer dereference on udc->lock
f8187fd2aeda USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
6de9ee2f3020 staging: android: ashmem: Fix lockdep issue during llseek
4c2d71dd0f90 staging: comedi: fix comedi_nsamples_left.
fdd0f1b2efc7 uas: fix comparison for error code
3c8e0474f543 tty/serial: atmel: add new version check for usart
a6a8916de0db serial: sh-sci: prevent lockup on full TTY buffers
d03fbfded594 xhci: fix endpoint context tracer output
d7c3836cd166 xhci: Fix front USB ports on ASUS PRIME B350M-A
490869f59f58 usb: host: xhci-rcar: add support for r8a77965
92d770524625 ASoC: rt5651: Fix regcache sync errors on resume
57e2eb2d13db ASoC: wm_adsp: For TLV controls only register TLV get/set
90442512a6c6 ASoC: sgtl5000: Fix suspend/resume
577ad1c9bcfd ASoC: sun4i-i2s: Fix RX slot number of SUN8I
a971fc44c94b x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
6bccf8962b78 net: phy: Restore phy_resume() locking assumption
76fbc152cd8c net: phy: fix resume handling
9b1fb9cc922d Linux 4.14.27
24e955e59100 x86/kprobes: Fix kernel crash when probing .entry_trampoline code
e8be8ff1f757 objtool: Fix 32-bit build
a617f2e36d67 objtool: Fix another switch table detection issue
c3b9f72606ac objtool, retpolines: Integrate objtool with retpoline support more closely
a69898c9eb0a objtool: Add module specific retpoline rules
3945bbe1525f kbuild: move cc-option and cc-disable-warning after incl. arch Makefile
6288eb92cae8 kbuild: Set KBUILD_CFLAGS before incl. arch Makefile
cfe39acafbaf kbuild: re-order the code to not parse unnecessary variables
e6993149fa4d objtool: Add retpoline validation
8c2768139ffb objtool: Use existing global variables for options
f9be9ef91a14 x86/mm/sme, objtool: Annotate indirect call in sme_encrypt_execute()
4d840d9a1742 x86/boot, objtool: Annotate indirect jump in secondary_startup_64()
6fceef2e7feb x86/paravirt, objtool: Annotate indirect calls
5065490489ee x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
945e3d00ecdc x86/speculation, objtool: Annotate indirect calls/jumps for objtool
e76a9431f21a x86/retpoline: Support retpoline builds with Clang
c3ffdb5a2ed4 x86/speculation: Use IBRS if available before calling into firmware
a66fe0437d85 Revert "x86/retpoline: Simplify vmexit_fill_RSB()"
8cb411344339 x86-64/realmode: Add instruction suffix
cd9547e51503 x86/LDT: Avoid warning in 32-bit builds with older gcc
e793e30063b9 x86/asm: Improve how GEN_*_SUFFIXED_RMWcc() specify clobbers
c507f00d2b5e x86/mm: Remove stale comment about KMEMCHECK
5f9d19a6c9e1 x86/entry/64: Use 'xorl' for faster register clearing
b690fda31a47 x86/entry: Reduce the code footprint of the 'idtentry' macro
2e19277e1df5 nospec: Include <asm/barrier.h> dependency
bebe3994ddaf nospec: Kill array_index_nospec_mask_check()
dc2f0da8350e MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()
20b4c7f86df9 dt-bindings: Document mti,mips-cpc binding
608d96fc43a3 scsi: qla2xxx: Fix recursion while sending terminate exchange
8540351ee8a4 scsi: qla2xxx: Fix NULL pointer crash due to probe failure
3deecffb1b78 ALSA: hda: add dock and led support for HP ProBook 640 G2
f2ba41eb6290 ALSA: hda: add dock and led support for HP EliteBook 820 G3
818b447d14e4 ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
6d3a7dcba8c5 ALSA: seq: More protection for concurrent write and ioctl races
d9c724729d0d ALSA: seq: Don't allow resizing pool in use
7b4e500bada3 ALSA: hda/realtek - Make dock sound work on ThinkPad L570
816ee317d8a2 ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
3c69eccc1ab1 ALSA: hda/realtek: Limit mic boost on T480
37872f84cc2d ALSA: hda/realtek - Add headset mode support for Dell laptop
2c269a2557a9 ALSA: hda/realtek - Add support headset mode for DELL WYSE
c5bd1ad601d1 x86/spectre_v2: Don't check microcode versions when running under hypervisors
c192a793f056 perf tools: Fix trigger class trigger_on()
5c1c405d3936 x86/MCE: Serialize sysfs changes
859334041d04 x86/MCE: Save microcode revision in machine check records
c6a1c0caf2d0 bcache: don't attach backing with duplicate UUID
14c2230b83bc bcache: fix crashes in duplicate cache device register
f1833eb13078 IB/mlx5: Fix incorrect size of klms in the memory region
525673339fb1 dm bufio: avoid false-positive Wmaybe-uninitialized warning
ffced04184f5 kbuild: Handle builtin dtb file names containing hyphens
e3a8c7b5d707 IB/core: Fix missing RDMA cgroups release in case of failure to register device
c1badd7b65c4 arm64: mm: fix thinko in non-global page table attribute check
3da2a62a61d1 KVM: s390: fix memory overwrites when not using SCA entries
583cc79b7380 virtio_ring: fix num_free handling in error case
5f9113db06a4 loop: Fix lost writes caused by missing flag
7f18a19b2113 Documentation/sphinx: Fix Directive import error
88b3e6acbae0 mm/memblock.c: hardcode the end_pfn being -1
d50cb5cedb6f lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()
89d3fccd8bab Input: matrix_keypad - fix race when disabling interrupts
91e019af29cd PCI: dwc: Fix enumeration end when reaching root subordinate
d90bb7c6806b MIPS: OCTEON: irq: Check for null return on kzalloc allocation
e06fe5925771 MIPS: ath25: Check for kzalloc allocation failure
26f1a4666090 MIPS: BMIPS: Do not mask IPIs during suspend
6c6f1e60b5e4 drm/amdgpu:Always save uvd vcpu_bo in VM Mode
783fd8eb86fc drm/amdgpu:Correct max uvd handles
e919af14fa17 drm/amdgpu: fix KV harvesting
f641c63d750a drm/radeon: fix KV harvesting
755e5527e57f drm/amdgpu: Notify sbios device ready before send request
20f3ff9738c0 drm/amdgpu: used cached pcie gen info for SI (v2)
26078a2d862d drm/amd/powerplay: fix power over limit on Fiji
9c1192dcb7ba drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE
1dd93412438e Revert "drm/radeon/pm: autoswitch power state when in balanced mode"
cfc381d215af drm/amd/powerplay/vega10: allow mclk switching with no displays
396ff3687674 drm/amd/powerplay/smu7: allow mclk switching with no displays
9b9a82c0e2e1 drm/nouveau: prefer XBGR2101010 for addfb ioctl
e6a23183d800 drm/amdgpu: Fix deadlock on runtime suspend
9c1508eff805 drm/radeon: Fix deadlock on runtime suspend
8c13b37c887d drm/nouveau: Fix deadlock on runtime suspend
c261d5a4e5bf drm: Allow determining if current task is output poll worker
363e3fd5fa49 workqueue: Allow retrieval of current task's work struct
0547d1135081 drm/i915: Always call to intel_display_set_init_power() in resume_early.
07b749546521 scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
4dbc3e4d8b28 scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
2e5033364e0d drm/i915/perf: fix perf stream opening lock
c16a67695cd6 drm/i915: Try EDID bitbanging on HDMI after failed read
d3accc34d793 drm/i915: Update watermark state correctly in sanitize_watermarks
7b3f881e41c5 drm/i915: Disable DC states around GMBUS on GLK
492056f2944e drm/i915: Clear the in-use marker on execbuf failure
f306b12928b9 drm/i915: Fix rsvd2 mask when out-fence is returned
4b26a307391f regulator: stm32-vrefbuf: fix check on ready flag
bba05fb6a13b net/smc: fix NULL pointer dereference on sock_create_kern() error path
e0486b303556 IB/uverbs: Improve lockdep_check
dbfed071633c RDMA/mlx5: Fix integer overflow while resizing CQ
01b8c0e36063 RDMA/ucma: Check that user doesn't overflow QP state
9b2d784a39d4 RDMA/ucma: Limit possible option size
7b7574e9b209 NFS: Fix unstable write completion
e131a6d68cd5 pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
2bca2c58d83b NFS: Fix an incorrect type in struct nfs_direct_req
29060ff7c1ed scsi: qla2xxx: Fix memory leak in dual/target mode
0393270e9e58 scsi: qla2xxx: Fix system crash in qlt_plogi_ack_unref
e62c1051a4fd scsi: qla2xxx: Remove aborting ELS IOCB call issued as part of timeout.
f5ff7098d906 scsi: qla2xxx: Defer processing of GS IOCB calls
1bc43df12141 scsi: qla2xxx: Clear loop id after delete
21e4e9c6d8ab scsi: qla2xxx: Fix scan state field for fcport
0b42928ca54c scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
11739154e650 scsi: qla2xxx: Fix abort command deadlock due to spinlock
4929c452336c scsi: qla2xxx: Fix PRLI state check
f92ec32f33ba scsi: qla2xxx: Fix Relogin being triggered too fast
1411448e0a1b scsi: qla2xxx: Fix NPIV host cleanup in target mode
4274e4a3bee9 scsi: qla2xxx: Fix login state machine stuck at GPDB
585f4ebd9e66 scsi: qla2xxx: Serialize GPNID for multiple RSCN
a6d50e89f119 scsi: qla2xxx: Retry switch command on time out
8e6cbe51afee scsi: qla2xxx: Fix re-login for Nport Handle in use
fae72a271001 scsi: qla2xxx: Skip IRQ affinity for Target QPairs
2cd1f76b293e scsi: qla2xxx: Move session delete to driver work queue
e0be82d7801a scsi: qla2xxx: Fix gpnid error processing
f58abb5bbd23 scsi: qla2xxx: Fix system crash for Notify ack timeout handling
7b6f41b7377a tpm: only attempt to disable the LPC CLKRUN if is already enabled
30c3b70e8d83 tpm: remove unused variables
1ef7d99cc897 tpm: delete the TPM_TIS_CLK_ENABLE flag
7cea3381216a tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()
f1bb2393fcd0 tpm_tis: Move ilb_base_addr to tpm_tis_data
9131a1b3d9c8 netfilter: use skb_to_full_sk in ip6_route_me_harder
39f154faecc2 netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
2d7e07003950 netfilter: bridge: ebt_among: add missing match size checks
eaa06bfba8ea netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
c89e04e5c06e netfilter: IDLETIMER: be syzkaller friendly
53f94e6110aa netfilter: nat: cope with negative port range
ab737b02b2fd netfilter: x_tables: fix missing timer initialization in xt_LED
2a7ebc07a153 netfilter: xt_hashlimit: fix lock imbalance
4514a597aa43 netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation
638c2e4eff89 netfilter: add back stackpointer size checks
310f286ded5f ASoC: Intel: kbl: fix jack name
314b54aae2ad ASoC: Intel: Skylake: Fix jack name format substitution
c116baf79f0e ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds
77fbdd1e2a0c watchdog: hpwdt: Remove legacy NMI sourcing.
41da51dbc372 watchdog: hpwdt: fix unused variable warning
d40d7b332592 watchdog: hpwdt: Check source of NMI
9a07f4a6befc watchdog: hpwdt: SMBIOS check
31c4bc6e01e5 kbuild: move "_all" target out of $(KBUILD_SRC) conditional
96427a5164f3 Linux 4.14.26
dc6fb79de47d KVM: x86: fix backward migration with async_PF
a91064ff43a2 bpf, ppc64: fix out of bounds access in tail call
3e272a8cd57a bpf: allow xadd only on aligned memory
e1760b3563fb bpf: add schedule points in percpu arrays management
03549a3476e1 bpf, arm64: fix out of bounds access in tail call
7e657aa3b4f7 bpf, x64: implement retpoline for tail call
853223c2caf4 bpf: fix rcu lockdep warning for lpm_trie map_free callback
62a2caa5027f bpf: fix memory leak in lpm_trie map_free callback function
d9fd73c60bc9 bpf: fix mlock precharge on arraymaps
8773f9bfa9e8 Linux 4.14.25
df11c2268c39 nvme-rdma: don't suppress send completions
9474d8fa7ac4 md: only allow remove_and_add_spares when no sync_thread running.
4df591f704a2 ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
2b8446579c1b ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux
b2190cc39184 ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
b95f8ca8d719 KVM/x86: remove WARN_ON() for when vm_munmap() fails
615462370ab6 KVM/x86: Fix wrong macro references of X86_CR0_PG_BIT and X86_CR4_PAE_BIT in kvm_valid_sregs()
db98acd6f859 PCI/ASPM: Deal with missing root ports in link state handling
b4830f3ad9c5 KVM: x86: fix vcpu initialization with userspace lapic
1f17daea7026 KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()
03d62460c731 KVM: x86: move LAPIC initialization after VMCS creation
0d62a56dc454 KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
7135aaf3ed63 KVM: mmu: Fix overlap between public and private memslots
1ebf9ab6c4a0 KVM: X86: Fix SMRAM accessing even if VM is shutdown
f925158cb0d2 KVM: x86: extend usage of RET_MMIO_PF_* constants
e0c7b2b16666 ARM: kvm: fix building with gcc-8
fc6be8bc1216 ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
4c02f0164b0e ARM: dts: rockchip: Remove 1.8 GHz operation point from phycore som
8dc356e5b936 ARM: orion: fix orion_ge00_switch_board_info initialization
b20d1086410a x86/mm: Fix {pmd,pud}_{set,clear}_flags()
656772cb7233 nospec: Allow index argument to have const-qualified type
81a158d21498 KVM: s390: consider epoch index on TOD clock syncs
dbab3751bcc7 KVM: s390: consider epoch index on hotplugged CPUs
58a5d1ac69a7 KVM: s390: provide only a single function for setting the tod (fix SCK)
c09ea9a8da5b KVM: s390: take care of clock-comparator sign control
bd3ead457638 EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
1ba2b9e01dbf media: m88ds3103: don't call a non-initalized function
ccddee811eba blk-mq: don't call io sched's .requeue_request when requeueing rq to ->dispatch
c5f32462f0df s390/qeth: fix IPA command submission race
eae17c406390 s390/qeth: fix IP address lookup for L3 devices
87c4789f452d Revert "s390/qeth: fix using of ref counter for rxip addresses"
56f662db7f56 s390/qeth: fix double-free on IP add/remove race
027637104ddf s390/qeth: fix IP removal on offline cards
fa4919e37f8e s390/qeth: fix overestimated count of buffer elements
128c7e692333 s390/qeth: fix SETIP command handling
fcdfb9d80dc9 s390/qeth: fix underestimated count of buffer elements
99a781947c2a virtio-net: disable NAPI only when enabled during XDP set
5134b919cc2c tuntap: disable preemption during XDP processing
1903344b6320 tuntap: correctly add the missing XDP flush
abb4a8b870b5 tcp: purge write queue upon RST
eec434c573e7 netlink: put module reference if dump start fails
abd7663b5d1c mlxsw: spectrum_router: Do not unconditionally clear route offload indication
ebadf888288c cls_u32: fix use after free in u32_destroy_key()
fb8a84cb9f6a amd-xgbe: Restore PCI interrupt enablement setting on resume
e7b316ac78e2 net/mlx5e: Verify inline header size do not exceed SKB linear size
cbd173b8105c bridge: Fix VLAN reference count problem
00ec3b0ca32f sctp: fix dst refcnt leak in sctp_v6_get_dst()
97ba6e5ff684 net: ipv4: Set addr_type in hash_keys for forwarded case
73cb791fe41c mlxsw: spectrum_router: Fix error path in mlxsw_sp_vr_create
0ab87ec99e99 tcp: revert F-RTO extension to detect more spurious timeouts
cc8dadb8c0f4 tcp: revert F-RTO middle-box workaround
36728a6b39c1 sctp: do not pr_err for the duplicated node in transport rhlist
54d6bc97b4c9 net/sched: cls_u32: fix cls_u32 on filter replace
a01550d778a4 net_sched: gen_estimator: fix broken estimators based on percpu stats
5b5be45ed1f2 net/mlx5e: Fix loopback self test when GRO is off
ff01f118d168 doc: Change the min default value of tcp_wmem/tcp_rmem.
d6a76199e851 tcp_bbr: better deal with suboptimal GSO
f0a04a0e1ab4 rxrpc: Fix send in rxrpc_send_data_packet()
17634603d494 tcp: Honor the eor bit in tcp_mtu_probe
dcb5da20ee3f net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT
f26693d38760 net/mlx5e: Specify numa node when allocating drop rq
2229dd5dd6c6 mlxsw: spectrum_switchdev: Check success of FDB add operation
9f02a069bfdd sctp: fix dst refcnt leak in sctp_v4_get_dst
bf014cc18a3c net/mlx5e: Fix TCP checksum in LRO buffers
fecb84a83f84 udplite: fix partial checksum initialization
1fc74a57a8ae sctp: verify size of a new chunk in _sctp_make_chunk()
5775f7876467 ppp: prevent unregistered channels from connecting to PPP units
795f3deff199 net: sched: report if filter is too large to dump
60b28d5ef3e3 netlink: ensure to loop over all netns in genlmsg_multicast_allns()
3bcf69f8e786 net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
f80c28a585b5 net: fix race on decreasing number of TX queues
da260080c2e3 net: ethernet: ti: cpsw: fix net watchdog timeout
94870df33c9b net: amd-xgbe: fix comparison to bitshift when dealing with a mask
c3d7d3a099f6 ipv6 sit: work around bogus gcc-8 -Wrestrict warning
2cdc12a498fc hdlc_ppp: carrier detect ok, don't turn off negotiation
4a5048e7fdeb fib_semantics: Don't match route with mismatching tclassid
4c13e689e5f0 bridge: check brport attr show in brport_show
71978491bb66 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
f70befc397a6 x86/platform/intel-mid: Handle Intel Edison reboot correctly
e521a723fd3f x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
93e1f7fc77e6 direct-io: Fix sleep in atomic due to sync AIO
0ba6c33b3287 dax: fix vma_is_fsdax() helper
3379a37a7409 cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
d5168ce35434 vfio: disable filesystem-dax page pinning
7f43f610c4bb block: kyber: fix domain token leak during requeue
17644a0bbb19 block: fix the count of PGPGOUT for WRITE_SAME
eae6179f5539 btrfs: use proper endianness accessors for super_copy
dabf89052e8e parisc: Fix ordering of cache and TLB flushes
47e7fc96cddc parisc: Reduce irq overhead when run in qemu
90c3f0d36000 parisc: Use cr16 interval timers unconditionally on qemu
6b218ed6bd07 timers: Forward timer base before migrating timers
ec274a65154a mmc: dw_mmc: Fix out-of-bounds access for slot's caps
e03d46a156d9 mmc: dw_mmc: Factor out dw_mci_init_slot_caps
4d5123a0b37c mmc: dw_mmc: Avoid accessing registers in runtime suspended state
cb65fc21f387 mmc: dw_mmc-k3: Fix out-of-bounds access through DT alias
33b42aa617d1 mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers
e2c3f7270218 ALSA: hda - Fix pincfg at resume on Lenovo T470 dock
34516912bfd7 ALSA: hda: Add a power_save blacklist
e5e9a08e151f ALSA: x86: Fix missing spinlock and mutex initializations
a2102a155f3d ALSA: control: Fix memory corruption risk in snd_ctl_elem_read
ebc24a828a2f ALSA: usb-audio: Add a quirck for B&W PX headphones
e5966192439e tpm_tis_spi: Use DMA-safe memory for SPI transfers
fbb6fba47c05 tpm: constify transmit data pointers
f8e331c508c2 tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
37dfbccd4b22 tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
e9951ab03f51 tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
648b62fda1a3 tpm: fix potential buffer overruns caused by bit glitches on the bus
703fca31ac31 tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
972b19e615a2 ixgbe: fix crash in build_skb Rx code path
971039cc4da1 Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking
(From OE-Core rev: 22ab6e95a31ca10e14d1dfab8119e87e125505d4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit for the 4.12+ kernels:
Author: Nathan Rossi <nathan@nathanrossi.com>
Date: Wed Mar 21 00:10:02 2018 +1000
features/wifi: Add WiFi driver fragments for various vendors/interfaces
This change adds WiFi driver configuration fragments. The fragments are
split into vendor and interface files to allow for easy selection of
drivers for specific interface types (USB, PCI, SDIO) which is useful
for BSPs with specific interfaces. The specific vendor/interface config
fragments can be included by specific BSPs in its .scc files.
However .scc files (wifi-*.scc) are provided to allow enabling interface
specific or all interfaces drivers via KERNEL_FEATURES or inclusion via
other .scc files. And wifi-common.scc is provided to enable the base
config options required for all WiFi drivers, which is done to ensure
correct configuration for default no config setups (e.g.
linux-yocto-tiny).
This patch only enables a limited set of drivers, which is based on what
the common-pc-wifi.cfg fragment sets as well as some additional drivers,
that primarily appear in USB WiFi devices.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This gives us a much better granularity of drivers and a good baseline for
future improvements.
The 4.12 fragments are also slightly re-organized on top of this commit
to avoid patch failures when including the new frags.
(From OE-Core rev: c24d6863768a64b2c1632d5202790689a1164694)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to fix the ethernet on the mpc8315e-rdb:
12f3957167b0 net: phy: realtek: Use the dummy stubs for MMD register access for rtl8211b
c986bc511c18 net: phy: Add general dummy stubs for MMD register access
(From OE-Core rev: 6dd68cddc3536c11b9f868fde34a745256648c25)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Via the -stable updates, and other configuration changes the 4.12 kernel has the
same dependency on openssl headers as 4.14+.
So we add the same DEPENDS line that we already have in newer kernels to avoid the
following error:
| HOSTCC scripts/sign-file
| build/tmp/work-shared/qemux86-64/kernel-source/scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
| compilation terminated.
| scripts/Makefile.host:107: recipe for target 'scripts/sign-file' failed
| make[3]: *** [scripts/sign-file] Error 1
| make[3]: *** Waiting for unfinished jobs....
(From OE-Core rev: 80f6840baecb8b161f6443f3dd1af4e70b5e5221)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was removed in the bitbake repository back in 2010 (bitbake
revision 24857e2ceb405916b0b0b3e75c6c2375a909b9ba) - it's not clear
to me what happened, but for some reason the file remained in the poky
repository. However it does not appear that it has been used since then
and the reasons for removing even more valid now than they were then -
the code has moved on even further, we have memory resident bitbake
server, and if we were to re-implement this we would do it in a
different way. Drop the file and bring us back in sync with the bitbake
repo.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix typo in shutdown code to kill threads when "kill -0" is not enough.
Use the '--noreload' flag for 'runserver' so that there are no extra
and unaccounted threads.
[YOCTO #12555]
(Bitbake rev: 256990943075e89cb9aee2bc6488344b6783e07b)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly capture and ignore errors when trying to load the optional
'custom.xml' fixture file.
[YOCTO #12554]
(Bitbake rev: 132458939d3987ebc58685397714af3d6d5cd8fd)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian anonscm service in Alioth is shutdown and thus
fetching sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
https://wiki.debian.org/Salsa
"What is Salsa?
Salsa is the name of a collaborative development server for Debian based on the gitlab software. Salsa is supposed to provide the necessary tools for package maintainers, packaging teams and other Debian related individuals and groups for collaborative development.
What is the status of Salsa?
After various discussions about the future of Alioth, the Alioth Sprint in August 2017 gave birth to the initial setup of the the upcoming Salsa service. The productive weekend resulted in a working prototype and was launched as a beta in December 2017. It left its beta status in January 2018."
(From OE-Core rev: 08ff7b42d8b7d06ef61255185c95e900ada8769b)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian anonscm service in Alioth is shutdown and thus
fetching ca-certificates sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
(From OE-Core rev: fc20ff2003cee7ee3b78ba3bc236a60a8caabc35)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian anonscm service in Alioth is shutdown and thus
fetching ncurses sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
(From OE-Core rev: 8fab5794218445ddb3e8f73a74fa3f130e7c42f6)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fix from qemu mainline for intermediate qemuarm64 hang
issue. Root caused in OE environment, issue with aarch64 qemu
logic of executing instructions that reenabe interrupts. See patch
commit message for more details.
Upstream-Status: Backport
(From OE-Core rev: aa33945fc7cf7bfa859c4091bcfa2695c422849b)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apparently there are recipes in the wild which generate files with
filenames containing '$' characters - which cause errors during
packaging.
Instead of adding another special case to escape '$' characters when
constructing the command passed to oe.utils.getstatusoutput(), switch
to using single quotes to quote the path - and therefore make isELF()
consistent with the way filenames and paths are quoted by every other
caller of oe.utils.getstatusoutput() in oe-core.
(From OE-Core rev: 7877761534b0c2492da6289e9f2269d41b6ed464)
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>
Although get_filesystem_id() is a private API and never gets passed
a path containing spaces or other special characters, etc, quote the
path anyway for consistency.
(From OE-Core rev: 1a9878cdb1cdb807c47e852b780c8ef9b93a214e)
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>
Fix non-void function 'fix_options' should return a value.
Add function prototype to tcpd.c and miscd.c.
(From OE-Core rev: 01590c04e875968a7137a67d1683c503a6bad396)
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With 4.15 kernel systemtap needs update to address systemtap module
compilation issues. It is fixed in later version of systemtap by
PR22551.
Upstream-Status: Backport
(From OE-Core rev: 7425d03729507ac5aff3c75ba20e749beaf3a3d5)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ext4 filesystem instead of ext3 when using the live image to install
on target. wic defaults to ext4 as well.
(From OE-Core rev: db6c3d681807cfef098ead1db098f5268e1eb055)
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>
* Fix RDEPENDS
* Upstream v1.12_9 is a development version, not a stable release
* Add UPSTREAM_CHECK_REGEX skip development releases
* Drop anonymous python function to "fix" version, which breaks
auto-upgrade-helper (AUH)
* Use LICENSE file for checksum rather than ephemeral META.yml
* License remains the same
Fixes: [YOCTO #12581]
License-Update: use LICENSE file for checksum
(From OE-Core rev: 613fa79adff798e29ec7f72bff6f060a1832bc89)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pseudo is using a custom configure script that detects if it shall build with
extended file attribute support or not. The check is done by simply calling
'getfattr' provided by attr-native which is not part of the dependency list.
Due to the recent changes (recipe specific sysroot & cleanup of $PATH) this
call fails now when the recipe is being build for the first time (at least
when being build for nativesdk case). Explicitly setting up a dependency to
attr-native just to satisfy configure would be wrong also since the real
dependency is to attr/nativesdk-attr which are already part of the dependency
list (see DEPENDS). Therefore bypass the test in the configure by explicitly
enabling xattr using a configure option available in any case.
(From OE-Core rev: a7381eb16ba2183ed990a009bb8e82b4702f3d98)
Signed-off-by: Andreas Kaufmann <andreas.kaufmann.79@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'glamor' PACKAGECONFIG in xserver-xorg creates a dependency on libgbm
which can be satisfied in some cases by mesa, in others by blobs such as mali.
(From OE-Core rev: 5f8050722169a931b8e9078b8757216ba7a84506)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mesa only PROVIDES these features if they are enabled via PACKAGECONFIG.
Therefore make the PROVIDES conditional depending on whether or not these
features have been enabled.
(From OE-Core rev: 8b1e57eb8c959c0f0a5d9a7e0c2e0811c515ea08)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
replace_glibc_check_with_linux.patch was accepted upstream with
modifications.
(From OE-Core rev: 94cf27ebc5d3e3fafa85f3bb1ca54f606bb411ad)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version has been published at March 21, 2018, and it is a bugfix
only release. It includes several important fixes that were made as
part of 18.0.0 development cycle.
Full list of bug fixes can be see online at:
https://www.mesa3d.org/relnotes/17.3.7.html
(From OE-Core rev: 3601c079e15f3570b9b90cd8775e4e90175d1bb5)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This string is now being presented as "bsp_root_name" in the YP
manual set. A BSP name is essentially "meta-bsp_root_name".
It was being presented in the manual set as "meta-bsp_name",
which is not technically correct.
(From yocto-docs rev: 9ad25836b2b3ca79aa3430be014871f50205cf9e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed the way we refer to a BSP name. It is really
"meta-<bsp_root_name>" rather than "meta-<bsp_name>". The
name is the whole string and not just the root name.
Also added a tip on ordering the layers in the BBLAYERS
variable in the bblayers.conf file. Order is important.
(From yocto-docs rev: 9c56238295f5631c496377616ea98b860253e6f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a layer that contains other layers
(From yocto-docs rev: 0cd1881c18e8a63d5f2f078b03fe4e89fd9c75b5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reality dictates that the YP does not treat layer naming consistently.
Layers are talked about as the "meta-whatever" layer and never the
"whatever" layer. However, the tooling sometimes appends or uses
just the "whatever" part of the layer name. A good example is the
meta-yocto-bsp configuration file. All the variables in there use
just the root name of a layer's name. In the manuals, I had been
distinguishing the layer name as just the "whatever" part sans
"meta-". I talked about the convention of using "meta-" in front
of layer names, etc. Well, this is confusing in light of how everyone
says a layer's name is "meta-whatever". So, I fixed all this up.
(From yocto-docs rev: 79e52f6ccf4246fc69a460ce9d3a4a18720a9442)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split this section into two sections: one for creating the layer
using bitbake-layers create-layer and one for adding the layer
to bblayers.conf using bitbake-layers add-layer.
Needed to update some references in the yocto-project-qs and
kernel-dev manuals.
(From yocto-docs rev: 741a29b0cbeaaeaa0ac9155036ace2623938aee3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12419]
In the section on runtime package management, I created a "Tip"
box to tell the user about using a location for the package
index information outside of the "deploy" area of the hosts
build directory.
(From yocto-docs rev: 2aee814d3d3ed4052fca332693d5416907ae640e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided some key links to help clarify content.
(From yocto-docs rev: 8d27b9946dad89729d30497bcc4de26b9a5c87d9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12419]
This section was unclear and needed some work. I added text to
help clear things up.
(From yocto-docs rev: 54358a39a5710dbd0cbcfe8dafd2f641ec3863ef)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the fact that this variable is really optional. If you
don't use it then you are setting up a package feed URI that
will include all supported arcchitectures for the package.
Using it means you are setting up specific URIs for specific
architectures.
Added a "Tip" note box to show how you can use the variable
to whitelist architectures.
(From yocto-docs rev: 009f3551aa61aaf6459fd24105a2e06511b59da3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I created a two-bullet "Caution" note to highlight the stuff a
user needs to be aware of that can cause problems.
(From yocto-docs rev: 553bc13e5fd350adb15400afe170e587965929db)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I took out the sections at the end of the manual that talked
about the yocto-kernel tool. This tool is no longer maintained
and there is no equivalent tool. I also fixed the yocto-bsp
tool to be the bitbake-layers tool. This involved some
consolidation of sections.
I fixed some links in the kernel-dev and toaster-manual.
(From yocto-docs rev: 20cda99b301b6327d816c4a4cfb3511ad25c987c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated this section with minor edits.
(From yocto-docs rev: 1bc1dcda5fbab4a66737653164222f4fc5a7289c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section had several out-of-date items. They are all up
to date now.
(From yocto-docs rev: 247f3eceeccc645a1b556aea433d4cf66399e962)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made changes to sync the raspberrypi BSP example to what is
really in the source directories. It was pretty out of date.
Made some minor edits to the sections describing the framework
of the BSP.
(From yocto-docs rev: b222d0988cb365cb1943ee1857e5cfd6b9fe173a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applied some edits to make the section more up-to-date. Dumped
minnow as a BSP example for raspberrypi.
(From yocto-docs rev: a40515bad28d07d736e1ddd1832c19b074749d53)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more relevant information around the discussion of BSP
layers.
(From yocto-docs rev: 8ca439b0bbfdcf390edb723fd12e8a00d90024e3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The example that creates a layer using bitbake-layers had old
output. Updated it.
(From yocto-docs rev: c58d738a59f113f8fffe0fc40b22e06b9d96cb6f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reference to tools to help upgrade now exists with the
creation of the section in the dev-manual that talks about how to
upgrade recipes. I converted the bullet item here in the QS to
point to the actual section.
(From yocto-docs rev: b3d8895fefb99799a7c06abff5cc1604530ee36a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Did some rewriting to add some references to other sections
in the manual set. Did some other minor clean up.
(From yocto-docs rev: 7e7be31e96a0e73e230b8596b2431716f254e027)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the devtool add -h output.
Updated the devtool --help output.
Fixed wording for the "attic" file associated with the figure
of the workspace area.
(From yocto-docs rev: bc53d9a1236ba2545c112256e886729b08b507de)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a bit of rationale on why and when you use this command.
Put in several links to help the reader get to related areas where
command use is explained.
(From yocto-docs rev: 7b30f29bfa15dd15f1388bb856e2047be55e7fb9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Section covers AUH, devtool and manual. Still need to add
manual.
(From yocto-docs rev: 56f04b1fcc8673e20df6d8f5c65120b03cad31e7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Had to update the umbrella YP figure and the Poky figure. The
figures changed on the website so this gets them back in sync.
(From yocto-docs rev: f7f1a689a847ab4a01106eadacfccb4bec6c4b01)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: distcc-3.2-r0 do_fetch: Fetcher failure: Unable to find revision d8b18df3e9dcbe4f092bed565835d3975e99432c in branch 3.2 even from upstream
ERROR: distcc-3.2-r0 do_fetch: Fetcher failure for URL: 'git://github.com/distcc/distcc.git;branch=3.2'. Unable to fetch URL from any source.
ERROR: distcc-3.2-r0 do_fetch: Function failed: base_do_fetch
[v2]
upstream deleted the branch and the hash no longer exists.
Took the git snapshot from yocto and created a copy on my github.
There was no offical 3.2 release, only rc versions.
(From OE-Core rev: aee44c6b1c36fb1c1f760fec60087933d1e8ea79)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before, waf.bbclass would fail to catch FileNotFoundError. Now, it will
catch this error and say that waf doesn't exist.
Fixes [YOCTO 12553]
(From OE-Core rev: f8321dedec7abe392f7e49ff8eee0640463adae5)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setup environment for builds requiring binary reproducibility.
Determine and export SOURCE_DATE_EPOCH per each recipe.
This is a crucial step to achieve binary reproducibility.
The value for this variable (timestamp) is obtained after source code for
a recipe has been unpacked, but before it is patched. If the code sources
come from a GIT repo, we get the timestamp from the top commit. (GIT repo
does not preserve file mktime timestamps). Otherwise, if GIT repo is not
present, we try to get mtime from known files such as NEWS, ChangeLog, etc.
If this also fails, we go through all files and get the timestamp from the
youngest one. We create an individual timestamp for each recipe.
The timestamp is stored in the file '__source_date_epoch.txt' (in the folder
source-date-epoch_). Later on, each task reads this file and sets
the exported value of SOURCE_DATE_EPOCH to the value found in the file.
Uasge:
INHERIT += "reproducible_build"
[YOCTO#11178]
[YOCTO#11179]
(From OE-Core rev: cc438ac7711dedbe05d654e99af9316c9215b02e)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was the default behavior with autotools, but is not with meson.
Otherwise, udev package will pull in the rest of systemd even
that is not desired.
[YOCTO #12618]
(From OE-Core rev: 7409d2d48b69adcdf039fb4aa8bd9ed62460daa9)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When systemd was upgraded from 234 to 237, the PACKAGECONFIG item
'resolved' is changed to 'resolve', this is because meson_options.txt
uses the word 'resolve' instead of 'resolved'.
However, this causes trouble for users. Backward compatibility is obviously
more important, because we might have bbappend files in other layers
using this PACKAGECONFIG item.
So change the name back to 'resolved'.
(From OE-Core rev: da7fc569e547b4105b00c11a0b41b70230bacc50)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In out-of-tree builds gtk-doc's setup-build target copies all the content from
$srcdir to $builddir. However, if some of this content is regenerated at
configure time this can happen:
1) configure writes new build/version.xml
2) make compile copies content, including the tarball's src/version.xml
to build/version.xml, and generates gtk-doc.
3) make install notices build/version.xml is older than configure.status,
so regenerates gtk-doc.
gtk-doc generation is a slow process at the best of times, so doing it twice
isn't good.
(From OE-Core rev: 9ea9d61f26a942dbbc90070b40ba0209021a4b46)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
termlib needs to be disabled on some targets e.g. mingw
this change paves the way for doing that. Functionally
it does not change anything for other platforms
(From OE-Core rev: 88f33e1e5ba4f85093f60a296cba3ee1c1341c43)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These variables force runtime tests during configure
they are already cached for other architectures
(From OE-Core rev: 7a0e456d9dcfe9d9d9a0dbd24a6083c8d40516ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To use 'glide' this class does the integration and reduces code
duplication.
(From OE-Core rev: e0dbcdc2ca0b05b6b062a0ec1496204bb2122fbf)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fails for nativesdk-shadow with:
pwconv: /etc/passwd.29063: No such file or directory
pwconv: cannot lock /etc/passwd; try again later.
(From OE-Core rev: c292945611d9f825051ac4938bb22a7d42fff994)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wrong revision of this patch, where the commit message didn't match
with the default PACKAGECONFIG value, was merged to master, update
it to avoid confusion
* it got enabled by default, but without the dependency on libidn in:
commit 5997981fa2c22609a88b8cbb595dbf7758b2f7c2
Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
AuthorDate: Thu Feb 1 20:02:08 2018 +0200
Subject: iputils: update to 20161105
* https://github.com/iputils/iputils/blob/master/RELNOTES.old
mentiones that IDN was enabled by default in:
[s20160308] and surprisingly the same in [s20150815]
but there are no release notes for s20151218 version we were using until
now, don't know how it really relates to [s20150815].
* but there are some issues with libidn as described in:
f3a461603e
so disable it by default.
(From OE-Core rev: d5cf9fdc57b6e9237126c92a6d92a31099d007c9)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following perl module packages were removed from oe-core
with commit: 30fb4c8f329fe3aa3c528ffeba60ee7d702e873e
- libclass-isa-perl
- libenv-perl
- libdumpvalue-perl
- libfile-checktree-perl
- libi18n-collate-perl
- libpod-plainer-perl
Remove these from the maintainers list
Fixes: [Yocto #12582]
(From OE-Core rev: 9eafd2d8bff2cb4949ee83bf7c5505bfcbad93d4)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian and Fedora both carry this patch, and the xf86-video-modesetting
driver seems better on recent hardware.
As an example, on a NUC6CAYS, the x11perf -aa10text and -rgb10text tests
see around a 20x increase.
[YOCTO #12019]
[YOCTO #12390]
(From OE-Core rev: 2e4934d5d4b2745ffcd76020b307b9021f8d8853)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemd-boot to 237.
As systemd has dropped autotools support, fix configure and compile
failures related to meson.
(From OE-Core rev: 086308aa2a5e332de6f00ed397c4a55d132f158f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the 'fstack-protector' and 'fstack-protector-strong' flags
as a workaround to fix the following error when building for qemux86
and qemuppc with musl.
undefined reference to `__stack_chk_fail_local'
(From OE-Core rev: 4871d3c2b6dd6c07a2adcfbc9ecfb22e4afa2d0d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemd to 237.
Note that this version has dropped autotools support.
The following patches are rebased:
0004-Use-getenv-when-secure-versions-are-not-available.patch
0005-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0007-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch
0015-Revert-udev-remove-userspace-firmware-loading-suppor.patch
0018-check-for-uchar.h-in-configure.patch
0019-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch
0001-add-fallback-parse_printf_format-implementation.patch
0002-src-basic-missing.h-check-for-missing-strndupa.patch
0007-check-for-missing-canonicalize_file_name.patch
0008-Do-not-enable-nss-tests.patch
0010-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch
0011-nss-mymachines-Build-conditionally-when-HAVE_MYHOSTN.patch
The following backported patches are dropped:
0001-core-evaluate-presets-after-generators-have-run-6526.patch
0001-main-skip-many-initialization-steps-when-running-in-.patch
0001-meson-update-header-file-to-detect-memfd_create.patch
0003-fileio-include-sys-mman.h.patch
The following patch is dropped as autotools support is dropped:
0002-configure.ac-Check-if-memfd_create-is-already-define.patch
The following patches are newly added to fix problems:
0027-remove-nobody-user-group-checking.patch
0028-add-missing-FTW_-macros-for-musl.patch
0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch
0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch
Other changes are mostly autotools/meson related.
This new version has dropped ptest support, as there's no easy
way to do this in the framework of meson.
(From OE-Core rev: 906230a73b3ccfa4afd2a19a6b0aa18cd1d5fa08)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fixes:
WARNING: libsolv-0.6.33-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.htmlhttps://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch
0001-Add-fallback-fopencookie-implementation.patch
patching file ext/CMakeLists.txt
patching file ext/solv_xfopen.c
Hunk #1 succeeded at 12 with fuzz 1 (offset -1 lines).
Hunk #2 succeeded at 25 (offset -18 lines).
Hunk #3 succeeded at 34 (offset -18 lines).
Hunk #4 succeeded at 46 (offset -18 lines).
patching file ext/solv_xfopen_fallback_fopencookie.c
patching file ext/solv_xfopen_fallback_fopencookie.h
Now at patch 0001-Add-fallback-fopencookie-implementation.patch
(From OE-Core rev: 388a6cdef0a993d781141f7c375a198f4c4ab808)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* it got enabled by default, but without the dependency on libidn in:
commit 5997981fa2c22609a88b8cbb595dbf7758b2f7c2
Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
AuthorDate: Thu Feb 1 20:02:08 2018 +0200
Subject: iputils: update to 20161105
* https://github.com/iputils/iputils/blob/master/RELNOTES.old
mentiones that IDN was enabled by default in:
[s20160308] and surprisingly the same in [s20150815]
but there are no release notes for s20151218 version we were using until
now, don't know how it really relates to [s20150815].
* but there are some issues with libidn as described in:
f3a461603e
so disable it by default.
* fails with:
| In file included from ping_common.c:1:0:
| ping.h:39:10: fatal error: idna.h: No such file or directory
| #include <idna.h>
| ^~~~~~~~
* Easiest way to reproduce this failure is to remove libidn from gnutls
PACKAGECONFIG or to use gnutls which doesn't have libidn PACKAGECONFIG
at all (like the one in meta-gplv2).
* First it leads to following QA issue:
http://errors.yoctoproject.org/Errors/Build/53212/
ERROR: iputils-s20161105-r0 do_package_qa: QA Issue: iputils-ping rdepends on libidn, but it isn't a build dependency, missing libidn in DEPENDS or PACKAGECONFIG? [build-deps]
ERROR: iputils-s20161105-r0 do_package_qa: QA Issue: iputils-traceroute6 rdepends on libidn, but it isn't a build dependency, missing libidn in DEPENDS or PACKAGECONFIG? [build-deps]
ERROR: iputils-s20161105-r0 do_package_qa: QA run found fatal errors.
Please consider fixing them.
ERROR: iputils-s20161105-r0 do_package_qa: Function failed:
do_package_qa
ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/iputils/s20161105-r0/temp/log.do_package_qa.7627
ERROR: Task (/OE/build/oe-core/openembedded-core/meta/recipes-extended/iputils/iputils_s20161105.bb:do_package_qa) failed with exit code '1'
* But if you cleansstate iputils as well (after removing libidn from
gnutls PACKAGECONFIG) to empty iputils RSS, then you get the error about
missing idna.h:
http://errors.yoctoproject.org/Errors/Build/53213/
* Adding the libidn dependency explicitly in iputils recipe fixes the
issue.
(From OE-Core rev: 97defe35051ff86f665547bb6b6497c83b7027a6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some architectures e.g. riscv gcc does not add -D_REENTRANT
when enabling pthreads. Help it here by adding these options
while gcc gets fixed
(From OE-Core rev: 856aa732cac62a2c45473bcc91f7d0c423c52f81)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since watchdog and watchdog-keepalive packages can't be installed
together, move wd_keepalive.service to watchdog-keepalive package.
Remove the inter-dependencies of watchdog and wd_keepalive
services as well.
[YOCTO #12565]
(From OE-Core rev: 1d09eacc78ff44df54d6ace26702f4d9bf9e639c)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perf needs audit-python to be able to show syscall names and for
'perf trace' to work.
Enable dependency on audit-python if present in PACKAGECONFIG. It's
disabled by default since audit as of now is in meta-selinux.
Fixes [YOCTO #3343]
Fixes [YOCTO #3358]
(From OE-Core rev: c386abacae89a148e77ffa51630c7917e90406f9)
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>
LZ4 format currently used by the Linux kernel is the 'legacy' format.
In order to avoid creating an image that can't be used as a compressed
initial ramdisk with Linux kernel, rename lz4_legacy to lz4.
[YOCTO #12461]
[YOCTO #12149]
(From OE-Core rev: 0c62a9b272d381bd5a16cfef19ecd1a15f521473)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* --no-signature saves unnecessary .patch modifications when executed on
host with different git version
* --no-numbered saves unnecessary .patch modifications when number of the
applied patches is changed (the number is still in the filename so the
order how they should be applied is still preserved)
* both options exist for very long time, I've tested them with git 1.9.1
from Ubuntu 14.04 and I'm quite sure they were available even in much
older releases, so there shouldn't be any issue on relatively new sanity
tested distros
(From OE-Core rev: ad76fa92c3a5be38962aff09df070ffd9756f777)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kernel v4.14 and newer contain the following in their Makefile:
HOST_LFS_LDFLAGS := $(shell getconf LFS_LDFLAGS)
HOSTLDFLAGS := $(HOST_LFS_LDFLAGS)
This breaks our menuconfig, because it can no longer find ncurses if its
not on the host machine. This can be seen in linux-yocto-dev, for
example:
[clsulliv@clsulliv build]$ bitbake virtual/kernel -c menuconfig
GEN ./Makefile
HOSTLD scripts/kconfig/mconf
/home/clsulliv/yocto/poky/build/tmp/hosttools/ld: cannot find -lncurses
/home/clsulliv/yocto/poky/build/tmp/hosttools/ld: cannot find -ltinfo
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:99: scripts/kconfig/mconf] Error 1
make[2]: *** [/home/clsulliv/yocto/poky/build/tmp/work-shared/intel-corei7-64/kernel-source/Makefile:504: menuconfig] Error 2
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
Command failed.
Press any key to continue...
Fix this by setting HOSTLDFLAGS to ${BUILD_LDFLAGS} in our
'make menuconfig' command.
(From OE-Core rev: 6afe8e211bfb3deb359194488f34a2c56f4b5ef6)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 8422880acf65802dbaa08238ae9e63670ed49ff3)
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>
None of the test suite works, so something quite fundamental broke.
[ YOCTO #12606 ]
This reverts commit 406ea737f1.
(From OE-Core rev: 72a0b56757da98fcbf42bebb2f376738c68d3834)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provide a way to make readline dependency optional in case someone
might want to use BSD alternative editline instead.
Using editline would need some changes though (python issue13501).
(From OE-Core rev: 9b12a3f031373ad0696409e4f933b1a585ea7f1f)
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>
Nativesdk package has a special arrangement where the same thing is done
in do_install(). It was assumed (in the comment) that postinsts don't run when
installing nativesdk packages, but this was incorrect: they are run, but
any failures were previously silently ignored. Now this missing failure reporting has
been fixed, and so we get to see the failures.
(From OE-Core rev: 8ebb695c1429f8d57d655072a362a4f176258699)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LayerError doesn't exist and will lead to an error when this failure
code path is hit.
(From OE-Core rev: 7780482772d005c77825dc3e99e63f00911156bf)
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>
We allow to set LINKER_HASH_STYLE to be empty so this would fail
since --with-linker-hash-style needs an argument and cant be empty
(From OE-Core rev: e176ab07d1afbb5d7e80d39d49b0f68738509c18)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a crash when generating a txt report and the two commits to be
compared were not consecutive (but there were some tested commits
between them).
(From OE-Core rev: f3afd2c47f4c740df52dfd80e208ce721d5ebf6e)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits:
60b649971940 x86/hibernate/64: Mask off CR3's PCID bits in the saved CR3
cec3c008ec8f drm/i915/cfl: Coffee Lake works on Kaby Lake PCH.
073873cb152c brd: remove unused brd_mutex
912c53b1b346 audit: fix memleak in auditd_send_unicast_skb.
(From OE-Core rev: 3c14c6612c48d46677837f5f4c31cfd1a6ff6174)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following commit:
Author: California Sullivan <california.l.sullivan@intel.com>
Date: Wed Feb 17 16:47:10 2016 -0800
ktypes: add developer ktype
The developer ktype enables EMBEDDED, EXPERT, and DEBUG_KERNEL,
opening up more kernel options and setting some defaults.
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Was created to address the kernel footprint related issues that are related
to many of the kernel debug options.
When this commit was merged, it re-enabled CONFIG_DEBUG_KERNEL for the
standard kernel, since it includes the systemtap fragment. The correct thing
to do is to move systemtap properly into the developer kernel type.
For now, you can build the developer kernel type, or add the developer kernel
configuration fragment via a bbappend, and you'll have a functional systemtap.
[YOCTO #12603]
(From OE-Core rev: ad8f68e9831c57fde62f7b1942bfa9e1307f113d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-core commit: 45afadf0b6 fixed the pip problem with purelib for
python2, even though the the patch stated it was for python3. This
patch addresses the purelib problem for python3.
If you install the package python3-pip you will have a pip3 binary
where you can see the problem on the device easily where the modules
install into the incorrect area and are not able to be referenced by
python3 at all.
Example error:
pip3 install imutils
pip3 list |grep imutils || echo ERROR no imutils
ERROR no imutils
python3 -c 'import imutils'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'imutils'
(From OE-Core rev: 54e0b3bfc132613902418be148a900b10f6d9e38)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
My attempt at only inheriting python3native if it was needed was broken and
didn't work, so back it out and always inherit.
(From OE-Core rev: eb08ce66cf7ca6dbdb51fb9b9725267606fba6b9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gtk-doc class already calls gtkdocize, so we don't need to do it again
(From OE-Core rev: 14c6e4fd793e037d801a81c6581e0642ef61ab0c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This provides ability to surgically override qemu for certain
machines which are provided by external layers.
(From OE-Core rev: a5beb77bde547c3fdfd0bac75618ab70e9da6b81)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ncurses doesn't honour ${libdir} for terminfo, so try more options to remove it.
(From OE-Core rev: 17fd322e925cf492b22c75e296d5fee31e3511db)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipes were using 'basename' to turn '/usr/lib' into 'lib', which breaks when libdir is '/usr/lib/tuple', leading to libraries ending up in '/usr/tuple', which isn't in FILES_*. Change the logic to use sed to strip the prefix instead.
(From OE-Core rev: e58d5521c7bae8daafdac85754545be176550a02)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If glibc is newer on the host than in uninative, the failure mode is
pretty nasty for clusters where the sstate is shared, including the Yocto
Project autobuilder.
This check aborts the use of uninative in such scenarios where a newer
glibc version appears and avoids corruption of sstate caches.
We use ldd to check the glibc version since that is included in libc-bin
(or equivalent) which locales use so it should always be present.
(From OE-Core rev: d6f6101cd0ae92e8ad2dec0bcb6db5044726edf9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building world means recipes that are excluded from world build for whatever
reason get skipped from the manifests, which isn't useful. Instead building
universe and pass -k so that the expected dependency failures are not fatal.
(From OE-Core rev: 2d798f9f56fbd7cd20de4b797a476ad24c214ff3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have recipe-specific-sysroots we don't need to exclude recipes from
world builds because they conflict with other recipes, as they'll all be built
with their own sysroots.
(From OE-Core rev: b2f3ac4d994a1921791f6bd0cdb3591586733694)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When rebuilding iproute2, many such instances of the following build failure
occur:
| make[1]: Entering directory '.../iproute2/4.14.1-r0/iproute2-4.14.1/lib'
| Makefile:1: ../config.mk: No such file or directory
| make[1]: *** No rule to make target '../config.mk'. Stop.
(From OE-Core rev: f2e56f6e0da27c70781e51b5486ca6c731013f1c)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When rebuilding btrfs-tools, we would sometimes meet the following error.
Makefile:43: *** Makefile.inc not generated, please configure first.
Set CLEANBROKEN to "1" to solve this problem.
(From OE-Core rev: 4e2687ef9e649c8c1dc4011d2e7c05dfbba56fb8)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 106239a250488508f5c3593d9c8c3d4f70ff0ba3)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ignoring patch context increases the chances of patches being
applied incorrectly. Depending on what code is being patched, this can go
completely unnoticed and create subtle bugs, sometimes with security implications.
Please see here for a specific example:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
On the other hand, we cannot simply force all patch context to match exactly:
doing this would break a lot of recipes suddenly, across all layers.
So let's try a softer approach: issue a warning, and gently update
patches over a longer span of time. When most of the warnings are eliminated,
we can start enforcing a strict patch application policy.
I do understand that this patch creates a lot of warnings all of a sudden, however
I believe the problem does need to be addressed. All of oe-core recipes have their
context already fixed.
Sample warning:
WARNING: vulkan-1.0.61.1-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored).
Details:
Applying patch demos-Don-t-build-tri-or-cube.patch
patching file demos/CMakeLists.txt
Hunk #1 succeeded at 63 (offset 2 lines).
Hunk #2 succeeded at 76 with fuzz 1 (offset 2 lines).
[YOCTO #10450]
(From OE-Core rev: 5133fd46bccf14e21680f8d94e952914edccb113)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test runs a scriptlet that has an intentionally failing command in the middle
and checks for two things:
1) that bitbake does warn the user about the failure
2) that scriptlet execution stops at that point.
The test is run for all three package types: rpm, deb, ipk.
(From OE-Core rev: 865fafb0dff19d27bd417c28c95fb8fdf0326a2b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this was done only for rpm packages; now also ipk/deb scriptlet
failures are reported.
In the future this will become a hard error, but it can't yet happen
due to the legacy 'exit 1' way of deferring scriptlet execution to first boot which
needs a deprecation period.
(From OE-Core rev: a36671faf6e0b7623185b0e22814a786d5444592)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows catching errors in the scriptlets which would otherwise
go unnoticed, e.g. this sequence:
====
bogus_command
proper_command
====
would work just fine without any visible warnings or errors.
This was previously done only for rpm packages; this patch replaces
the rpm-specific tweak with one that works for all package types.
(From OE-Core rev: a0aa12e1d0ea9064b8dd816d4e82238df765506b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Should also fix build on new build hosts where
with glibc 2.27 rpc support is dropped in favor
of libtirpc
(From OE-Core rev: 86f4c68c76098d6735b4cb640996d748b8ff82fb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve reproducible build of:
openssl-staticdev
openssl-dbg
libcrypto
There are two main causes that prevent reproducible build, both related to
the generated file "buildinf.h":
1. "buildinf.h" contains build host CFLAGS, containing various build
host references. We need to pass sanitized CFLAGS to the script
generating this file ("mkbuildinf.pl". )
2. We also need to modify the script "mkbuildinf.pl" itsel in order to
generate a build timestamp based on SOURCE_DATE_EPOCH, if present in
the environment.
(From OE-Core rev: 6c556ed3553d8f5e75d65cd7db92b26df43846b7)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before, explode_dep_versions2 would sort the OrderedDict before
returning. This function will still sort the OrderedDict by default, but
will now have the option to return the OrderedDict unsorted. This option will
allow us to check if the order of the package list has changed.
(Bitbake rev: 39d6a30a28f66c599e18beddbd847f40dcff623c)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Export environmental variables needed for binary reproducibility with consistent values.
This class can be used either directly via:
INHERIT += "reproducible_build_simple"
or can be inherited by a more complex/complete bbclass, for example a bblass which
will crack SOURCE_DATE_EPOCH for each recipe.
(From OE-Core rev: 5c2685c5ee2f8210a36b9a8591491b6af0482084)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the occurences of BUILD_REPRODUCIBLE_BINARIES with expanded
values ${BUILD_REPRODUCIBLE_BINARIES} so the variable does not need to be
exported.
(From OE-Core rev: 27f87bbc8395a2481ef808465a62d213a6b678ac)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now distros are starting to ship glibc 2.27 we need a uninatve version
which contains glibc 2.27 which is in the 1.8 version.
(From OE-Core rev: 0a1a1daac661046b0bf287b63267d58e0ab03e8e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7b1dfc0f67905435906ae806987e945134311045)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9a0465bd26a8359c8b432595589a13f295f2de2d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 268186429d10047796a4801baf95ae8a8f722658)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 8d4dd42cf39ac33e2479cb4f9f833701d68cea62)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: cecd562742c94f223c92bf5426148967fc9a8054)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 0666146a9f12c90e2b5f9fd3b03b21429fb9327c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 77fb72c76c8a5b2229a32f36a913a3293e9d2b56)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 0cff8ae54066b25ffbe1efaa3f0a1d84aa89ebe1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 625be3dd6e3069333a3c94ca8f23129b23e4425b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 3277e60b6eefb3a1c858462bc89244f6577dca52)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9c762156d5eab1582fdd1f5000e80a0a67d46152)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 53f2bbba35c63afa14c5fcb33b83b0ee061840ca)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: df9b991d1f453aae4dca5558f10fd23e866778dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 8820d4ffa493d49212f4d8f2665d15c7070a7477)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 561e89baf77741dfa5af9c645f7c471cd7b3880b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 040b4bb125e28750e089f631c1debb088bb3bc9f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 93fca640e97643f94ef4f4a5d96c30c971058ec9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9f58bd731f33b90849d7d0cb8153dcfedf336ff4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9f77858360b33de6c4f66638fea8a8051fb6208f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 44e650f961888b75797da8ecc23654f672c5fae6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: a5c1069d2c0570186792d61151e1865642afd73a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 8a5c1328c4ea63443a92813c54bd2229c9959ff9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: ca733ba0e28d6d4c199e149ce8ae428397dfa51f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 87118e6a2ed6da1ceaf484c326ec6d0ac8c1b8be)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 00677e03156228f752476520911c19d4156db8da)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to patch fuzz, it was applied again, so the same code sequence was
repeated twice. Not sure if that caused any bugs, but certainly wasn't
the right thing to do.
(From OE-Core rev: e3a50788bfeabbde226e280803a01dd7f765b2bc)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 6a83aca280fece30fd7c17f32f07f592f6300c6c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7baba7a19c5610a63ccbfd6a2238667772b32118)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 3d33f83ffa8ba2a36a03489b16292d3132f0eb27)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 6c0329389ffd82552c9302d70c8b2a1dfc94ce00)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7e8273cb55df71eaaf2cd50db076b73229ef7566)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7d56245a4859727f85dc5ae6f881d0783dee1ce1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is very useful for updating patch context so that any fuzz is eliminated.
Simply issue:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Without this flag, devtool will not deem the commits in the workspace
different to patches in the layer, even if the commits have different,
up-to-date context line in them.
(From OE-Core rev: 7e1d1887be8faaaab9996fca9a3fd750aeb7b62f)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly, this was causing 'devtool modify' to erroneously add those
.orig files into commits. This was getting in the way, if the goal
was to amend/update those existing patches.
(From OE-Core rev: f4f3406c3bd9599d7a19275475d52bda4c42f2ab)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some architectures e.g. riscv gcc does not add -D_REENTRANT
when enabling pthreads. Help it here by adding these options
while gcc gets fixed
(From OE-Core rev: 784f4418259fe441060c134a7dcf305f4e0d4e2d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit b32f3b655189fd89dcfce084b6fda0d379300f75 added this code
but we could do with a commit so people realise why its there.
(From OE-Core rev: e4da78229f0bd67fd34928eafe48dbdc9e8da050)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: ddb2be68c713361b1024b33080bf7c160337dbe1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 0b25fcee333e6207a8596d26adfa65fec85c26df)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported 0001-BUG-fix-infinite-loop-when-creating-np.pad-on-an-emp.patch.
Drop 0001-BUG-fix-infinite-loop-when-creating-np.pad-on-an-emp.patch as
upstream is using os.path.basename() instead now.
License-Update: License.txt file was update to list licenses of individual components;
not all of them are 3-clause BSD.
(From OE-Core rev: c70d1c07e4e697156bd49c43e2cc800f3085b182)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: a3221aa92fa4423da3b70b8d673cf68be08ad922)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 10ae328607511e7092a9e6f75c8f382b7e3dd27b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 16c27f3bb7b99193a88949eb85f3a3da725f3a6c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9f2ce622866c9766dc861561671ebb3f1c407e0b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 05b59a502a03b4077208b83a4823e2012146671a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: ee40781cc12d06912457316211a08ec65e059339)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 1fa0faebd24740556816042f54d399baf84731b2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: d29d95e627b2303b835a705cb7d55d1e41ddb0a7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: a70103a6e400caaa87e1d36a7e59be7f3059a3bb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These were adding definitions for the second time
(see bug #10450 for why) or adding an include that isn't anymore
necessary for musl builds.
(From OE-Core rev: bed5ea53c74c4b444b2145e7a83ca9fd44ea30ec)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 33f90716bc9890492cc04c4abfe5506f5555d06a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: fa3180007502affabbe57cb6366be18fbb9e94f8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 994e43acc67efeb33d859be071609daa844e9b77)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 3c3f76677759156b8cd87659fb4fefb46eb87d13)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 8d4e250383f08e3cd53db809d718910048b9021b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 49437de120ffdf26396fb295254f51ccc204560a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 4ff1dbbd33b31212e8ba2bb9f269c80b5f08566c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 33dadb98c10fdf04d9ed9b6ba57de6257873bcea)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9d0c090466f97a894660e8f42b3a35a7dcd57f56)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 020ef81aa072c79f427111e5057d29ded849c48c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 385d26b7f0aeb6085bd7d96332b760057bd24537)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 320f03b8492e5259c45e7c59b62571d5a827ee59)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: c6ec48b718ae674a5b362a3dbfe02420a569ad30)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7c337dbd59a6f7c9bd06131e5c0ad0de51e1d1e5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: c94152fee766297b355fec7f6d3d4d8ba7ae5f86)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 923a55e5e3aaab7f11122751e1344b0d535569c0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 65155f3719051aae2a2e716c719b78ee7ca1bb29)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: f413ae03a61ad8593cc3c0dda11f2bb02cd96c25)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7ae4ce08071c02beaf09675c2c1ed70617b797dd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: ca9c8fe634ca91fe1825fae7ebb0d00021ca480b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9adf817a638229d69d866fd6f8f48ee23caa6864)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 91e54d9967d8237abf0cc9aab408bad9bbb4c0b7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 684a2533a2b25b900e12f7da912a2c729d60b69d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: e88a184fbefa69233e0cc86134808bce7b06d6cf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: f42195493b85fbd9bdc1ae0089084669c8cd558d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 856a70cf6ca9137d5c07c2aa9ef447032589504d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: c74da9f2a5bd5a42f6c5791aeb4cc45973369818)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of the 4.13 kernel, there are configuration + linker combinations
that do not need (or build) crtsavres.o for ppc64 targets. The commit
of interest is:
commit efe0160cfd40a99c052a00e174787c1f4158a9cd
Author: Nicholas Piggin <npiggin@gmail.com>
Date: Fri May 12 01:56:52 2017 +1000
powerpc/64: Linker on-demand sfpr functions for modules
For final link, the powerpc64 linker generates fpr save/restore
functions on-demand, placing them in the .sfpr section. Starting with
binutils 2.25, these can be provided for non-final links with
--save-restore-funcs. Use that where possible for module links.
This saves about 200 bytes per module (~60kB) on powernv defconfig
build.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
As such, our arch test for crtsavres.o is not enough, we add a secondary
existence check before trying the copy.
[YOCTO #12576]
(From OE-Core rev: af58819253a2d4526dc8871a17e1492bd1d92951)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The oe-core version of python3 patches the purelib use directory to
the system libdir so as to make it work with multilibs properly inside
the patch fix_for_using_different_libdir.patch with:
- 'purelib': '{base}/lib/python{py_version_short}/site-packages',
+ 'purelib': '{base}/'+sys.lib+'/python{py_version_short}/site-packages',
The problem is that this broke the pip3-python package because the
install directory is out of sync when using a multilib version of
python. When ever a module is installed with pip3 install that is a
purelib it will get installed to a location that python3 will never
reference and cause random failures.
This patch fixes the purelib install directory to match the purelib
use directory for externally managed python modules when using
multilibs.
(From OE-Core rev: 45afadf0b652922f9e60c5a778acd3612da83306)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running bitbake -c populate_sdk <image_name>, it is expected that
packages matching SDKIMAGE_INSTALL_COMPLEMENTARY name mask (unless
declared in PACKAGE_EXCLUDE_COMPLEMENTARY) are installed to resulting
SDK. Underlying mechanism issues a package manager install call for set
of complementary packages. However the mechanism doesn't seem to inform
the user all too obviously in case the package manager command behind
install_complementary() method fails -- and since it is combined with
attempt_only=True option, user might end up wondering why several *-dev,
*-dbg packages are missing from resulting SDK.
Improve associated install() method behaviour in affected OpkgPM and
DpkgPM classes so that a problematic state of affairs becomes directly
obvious for bitbake user, resulting in shell output like:
WARNING: someimage-1.0-r0 do_populate_sdk: Unable to install packages.
Command '...' returned 1:
Collected errors:
* Solver encountered 1 problem(s):
* Problem 1/1:
* - package somepkg-dev-1.0-r0.x86 requires somepkg = 1.0-r0, but
none of the providers can be installed
*
* Solution 1:
* - allow deinstallation of someotherpkg-1.1-r1.x86
* - do not ask to install a package providing somepkg-dev
* Solution 2:
* - do not ask to install a package providing somepkg-dev
(From OE-Core rev: 2502bd591c37bf532d02dc6b37fc1e8b5224fb0a)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following warning backport:
commit eb371933cf4d3495d0899880b2e0e252ce9db517 upstream.
Coffee Lake CPU on Kaby Lake PCH is possible.
It does exist, and it does work.
The only missed case was this warning here noticed
by Wendy who could get one system with this configuration
and reported the issue for us:
Hardware Configuration
Board ID KBL S DDR4 UDIMM EV CRB
Processor Intel® Processor code named Coffee Lake S, (6+2), 6 cores 12 threads, GT2, A0 (Internal) (QNJ4)
[ 3.220585] WARNING: CPU: 10 PID: 206 at drivers/gpu/drm/i915/i915_drv.c:340 i915_driver_load+0x1210/0x1660 [i915]
[ 3.221312] Modules linked in: hid_generic usbhid i915 i2c_algo_bit drm_kms_helper e1000e syscopyarea sysfillrect sysimgblt nvme fb_sys_fops ptp ahci i2c_hid drm pps_core nvme_core libahci wmi hid video
[ 3.222050] CPU: 10 PID: 206 Comm: systemd-udevd Not tainted 4.13.0-rc5-intel-next+ #1
[ 3.222706] Hardware name: Intel Corporation Kabylake Client platform/KBL S DDR4 UDIMM EV CRB, BIOS KBLSE2R1.R00.X089.P00.1705051000 05/05/2017
Cc: Wendy Wang <wendy.wang@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170821235056.9015-1-rodrigo.vivi@intel.com
Signed-off-by: Liwei Song <liwei.song@windriver.com>
(From OE-Core rev: 62acf087dca83ff094b1c0300b5752978807ca17)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating a configuration change for systemtap:
features/systemtap/systemtap.cfg: enable CONFIG_KERNEL_DEBUG
And porting the aufs warning fix to 4.14 and 4.15:
aufs: fix compile warning
(From OE-Core rev: db2a8c827332c0837d029e99b210036218f8f9dc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
From: "Kexin(Casey) Chen" <Casey.Chen@windriver.com>
Forward port linux-yocto-4.8's patch to fix the build warning.
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.8/commit/?h=standard/base&id=7e0dd2f2b0971f0e3191e1ddc088e09eb9855567
fs/aufs/debug.h:95:19: warning: comparison of constant '0'
with boolean expression is always false [-Wbool-compare]
if (unlikely((e) < 0)) \
^
fs/aufs/vdir.c:852:2: note: in expansion of macro 'AuTraceErr'
AuTraceErr(!valid);
^~~~~~~~~~
In expansion of AuTraceErr(!valid), comparison of (!valid)
and constant '0' always passes unlikely(x) false. function
'static int seek_vdir(struct file *file, struct dir_context *ctx)'
is to find whether there is a valid vd_deblk following ctx->pos.
return 1 means valid, 0 for not. Change to AuTraceErr(valid - 1)
makes more sense.
Signed-off-by: Kexin(Casey) Chen <Casey.Chen@windriver.com>
Signed-off-by: Dengke Du <dengke.du@windriver.com>
(From OE-Core rev: 1ba624ec410b13da9645efe7bc72908195c08259)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the korg stable release which comprises the following commits:
6e4548ea58e6 Linux 4.14.24
ab5d9d1751bc net: sched: fix use-after-free in tcf_block_put_ext
ac2be03ba64f net_sched: get rid of rcu_barrier() in tcf_block_put_ext()
1c8e7e61cbdf net: sched: crash on blocks with goto chain action
b6b42b3d2d95 net: sched: fix crash when deleting secondary chains
bc44a1bbd131 arm64: dts: marvell: mcbin: add comphy references to Ethernet ports
d8cf635c9142 arm64: dts: marvell: add comphy nodes on cp110 master and slave
27245fc6f7a8 powerpc/pseries: Enable RAS hotplug events later
60190108f7e2 MIPS: Implement __multi3 for GCC7 MIPS64r6 builds
819cbaae314e mlxsw: pci: Wait after reset before accessing HW
3d23aaff9e55 nfp: always unmask aux interrupts at init
e69660fdecda of_mdio: avoid MDIO bus removal when a PHY is missing
83d9e9c211fe net: gianfar_ptp: move set_fipers() to spinlock protecting area
00c840f3b51c sctp: make use of pre-calculated len
413e58ac3d84 sctp: add a ceiling to optlen in some sockopts
cd659881219d xen/gntdev: Fix partial gntdev_mmap() cleanup
5aee2c142e3d xen/gntdev: Fix off-by-one error when unmapping with holes
197faf0c3a14 SolutionEngine771x: fix Ether platform data
f5ac846ba15f mdio-sun4i: Fix a memory leak
84ada11975b7 xen-netfront: enable device after manual module load
0e29d0bac356 bnxt_en: Fix the 'Invalid VF' id check in bnxt_vf_ndo_prep routine.
a74e2cb46cdb bnxt_en: Fix population of flow_type in bnxt_hwrm_cfa_flow_alloc()
4a33ecfb67b9 x86/platform/intel-mid: Revert "Make 'bt_sfi_data' const"
fa10314f23bc nvme-fabrics: initialize default host->id in nvmf_host_default()
5e1311a13449 powerpc/pseries: Make RAS IRQ explicitly dependent on DLPAR WQ
9024bb7e27d2 leds: core: Fix regression caused by commit 2b83ff96f51d
be2b86901a34 bpf: sockmap missing NULL psock check
5ac98131312a ia64, sched/cputime: Fix build error if CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y
7e3acce11e08 block: drain queue before waiting for q_usage_counter becoming zero
91c12917d4a8 wcn36xx: Fix dynamic power saving
3f39cc7fe90b can: flex_can: Correct the checking for frame length in flexcan_start_xmit()
0f258cc64f4e mac80211: mesh: drop frames appearing to be from us
c38bd3a9fe11 nl80211: Check for the required netlink attribute presence
d66a35c2a1fa net: ena: unmask MSI-X only after device initialization is completed
aae87222cc9c i40e: don't remove netdev->dev_addr when syncing uc list
0f51f3cf99df i40e/i40evf: Account for frags split over multiple descriptors in check linearize
1edfa41adb10 uapi libc compat: add fallback for unsupported libcs
5c9da1201713 x86/efi: Fix kernel param add_efi_memmap regression
935454915c33 RDMA/netlink: Fix locking around __ib_get_device_by_index
7cbd67344e05 drm/ttm: check the return value of kzalloc
d31d0cf5a980 NET: usb: qmi_wwan: add support for YUGA CLM920-NC5 PID 0x9625
49a8f703725e e1000: fix disabling already-disabled warning
f22fec25935d macvlan: Fix one possible double free
4d3d428c56a0 xfs: quota: check result of register_shrinker()
4def40b2ee02 xfs: quota: fix missed destroy of qi_tree_lock
ba28394c579b IB/ipoib: Fix race condition in neigh creation
67851c9381a1 IB/mlx4: Fix mlx4_ib_alloc_mr error flow
9d27ab346384 Input: xen-kbdfront - do not advertise multi-touch pressure support
4132ec352700 ip6_tunnel: allow ip6gre dev mtu to be set below 1280
d4727e485a1d btrfs: Fix flush bio leak
4c6652a08139 s390/dasd: fix wrongly assigned configuration data
622ded58410c afs: Fix missing error handling in afs_write_end()
4ebaea9e65d2 genirq: Guard handle_bad_irq log messages
1fd2d40b4667 IB/mlx5: Fix mlx5_ib_alloc_mr error flow
c2acc8859138 led: core: Fix brightness setting when setting delay_off=0
6b800ce9ee84 perf/x86/intel: Plug memory leak in intel_pmu_init()
2f4c6c045305 bnx2x: Improve reliability in case of nested PCI errors
9f00176d7c5e tg3: Enable PHY reset in MTU change path for 5720
2c0d89a27335 tg3: Add workaround to restrict 5762 MRRS to 2048
575650b6566b tipc: fix tipc_mon_delete() oops in tipc_enable_bearer() error path
831923622a59 tipc: error path leak fixes in tipc_enable_bearer()
cbc3dbfe4f37 netfilter: nf_tables: fix potential NULL-ptr deref in nf_tables_dump_obj_done()
cdbde4c04c5c crypto: inside-secure - fix request allocations in invalidation path
7cc6e8415d23 crypto: inside-secure - free requests even if their handling failed
0971f188da94 crypto: inside-secure - per request invalidation
0653ba0580ae arm64: dts: renesas: ulcb: Remove renesas, no-ether-link property
22d5e20c6a55 lib/mpi: Fix umul_ppmm() for MIPS64r6
36d0a678fb25 crypto: af_alg - Fix race around ctx->rcvused by making it atomic_t
99b329b4611a ARM: dts: ls1021a: fix incorrect clock references
8164587e5262 RDMA/vmw_pvrdma: Call ib_umem_release on destroy QP path
831c169c9bac i915: Reject CCS modifiers for pipe C on Geminilake
8a5c84b1055a netfilter: uapi: correct UNTRACKED conntrack state bit number
b7b0385937fa scsi: storvsc: Fix scsi_cmd error assignments in storvsc_handle_error
e2f52fa3f8d6 netfilter: nf_tables: fix chain filter in nf_tables_dump_rules()
def8d0ae4ac9 xen/balloon: Mark unallocated host memory as UNUSABLE
caca324f9373 ASoC: rsnd: fixup ADG register mask
43da2bcade2a net/mlx5: Stay in polling mode when command EQ destroy fails
a2cfb1c664c3 net/mlx5: Cleanup IRQs in case of unload failure
9a472c211291 net/mlx5e: Fix ETS BW check
11be1c24a60d net: stmmac: Fix bad RX timestamp extraction
06dcd2d77a01 net: stmmac: Fix TX timestamp calculation
3eeac1d10a1b ip6_tunnel: get the min mtu properly in ip6_tnl_xmit
5dc4cbcfb5f2 ip6_gre: remove the incorrect mtu limit for ipgre tap
212ea3380bbb ip_gre: remove the incorrect mtu limit for ipgre tap
4699beb77127 vxlan: update skb dst pmtu on tx path
26e6b9f0be83 net: arc_emac: fix arc_emac_rx() error paths
9b72f8c448ec net: mediatek: setup proper state for disabled GMAC on the default
c7f40ff40061 x86-64/Xen: eliminate W+X mappings
54c153a0847b staging: ion: Fix ion_cma_heap allocations
d61a373f4344 cgroup: Fix deadlock in cpu hotplug path
56d80186a5ac ASoC: nau8825: fix issue that pop noise when start capture
3cf652bedcb9 spi: atmel: fixed spin_lock usage inside atmel_spi_remove
52a63f35cd70 mac80211_hwsim: Fix a possible sleep-in-atomic bug in hwsim_get_radio_nl
647ed111f78f x86/stacktrace: Make zombie stack traces reliable
e095ecaec6d9 xfrm: Reinject transport-mode packets through tasklet
e677319068b0 drm/nouveau/pci: do a msi rearm on init
0b9aeeb6070e net: phy: xgene: disable clk on error paths
ac4dc9f1af33 sget(): handle failures of register_shrinker()
60f1c1f27992 sctp: fix the issue that a __u16 variable may overflow in sctp_ulpq_renege
c8b8dd735938 x86/asm: Allow again using asm.h when building for the 'bpf' clang target
ba9443c55f36 ARM: 8731/1: Fix csum_partial_copy_from_user() stack mismatch
ae3471f65a04 parisc: Reduce thread stack to 16 kb
4b2e0f099619 ipv6: icmp6: Allow icmp messages to be looped back
6de1b002a29f mtd: nand: brcmnand: Zero bitflip is not an error
f485259011ad mtd: nand: gpmi: Fix failure when a erased page has a bitflip at BBM
14862bfbffd9 net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support
043309fb5106 net: aquantia: Fix hardware DMA stream overload on large MRRS
dabd233b757d net: aquantia: Fix actual speed capabilities reporting
fbd047ffcccf nvme: check hw sectors before setting chunk sectors
a1aef5ce2abe nvme-fc: remove double put reference if admin connect fails
4d9f62729178 phy: cpcap-usb: Fix platform_get_irq_byname's error checking.
959f6a0906d5 dmaengine: fsl-edma: disable clks on all error paths
7cfa95893cbb scsi: aacraid: Fix I/O drop during reset
647a37ec1a17 mm/frame_vector.c: release a semaphore in 'get_vaddr_frames()'
7edaa9afb923 exec: avoid gcc-8 warning for get_task_comm
f92679fee6ad hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)
267ef1d33284 Linux 4.14.23
ac3d021048be microblaze: fix endian handling
9ce9f4e4a543 m32r: fix endianness constraints
821e97898016 drm/i915/breadcrumbs: Ignore unsubmitted signalers
1f0ffdc67108 drm/amdgpu: add new device to use atpx quirk
4517799bf655 drm/amdgpu: Avoid leaking PM domain on driver unbind (v2)
14fdf4448277 drm/amdgpu: add atpx quirk handling (v2)
30537deb089c drm/amdgpu: only check mmBIF_IOV_FUNC_IDENTIFIER on tonga/fiji
46c1e4023b58 drm/amdgpu: Add dpm quirk for Jet PRO (v2)
68de83c13b30 drm/amdgpu: disable MMHUB power gating on raven
8ac8aa5eba0e drm: Handle unexpected holes in color-eviction
5c9beaf3aca7 drm/cirrus: Load lut in crtc_commit
faf1a75046cb usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path
51aba4e16ccc usb: gadget: f_fs: Use config_ep_by_speed()
6e936140e0d7 usb: gadget: f_fs: Process all descriptors during bind
7551ff0ab230 Revert "usb: musb: host: don't start next rx urb if current one failed"
7e402ea2cdc2 usb: ldusb: add PIDs for new CASSY devices supported by this driver
a1e8aa2176d2 usb: dwc3: ep0: Reset TRB counter for ep0 IN
49e18b2ba887 usb: dwc3: gadget: Set maxpacket size for ep0 IN
1075f6078692 usb: host: ehci: use correct device pointer for dma ops
3b5061ec6fca drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA
f74ddc2e6152 Add delay-init quirk for Corsair K70 RGB keyboards
21aadb063e70 arm64: cpufeature: Fix CTR_EL0 field definitions
6842a512ad16 arm64: Disable unhandled signal log messages by default
96e99291728f arm64: Remove unimplemented syscall log message
7e8407d1462d usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()
85c3d26bd754 ohci-hcd: Fix race condition caused by ohci_urb_enqueue() and io_watchdog_func()
50f80b646a2b PCI/cxgb4: Extend T3 PCI quirk to T4+ devices
4a665d628f93 irqchip/mips-gic: Avoid spuriously handling masked interrupts
bc4704f507cd irqchip/gic-v3: Use wmb() instead of smb_wmb() in gic_raise_softirq()
62160e348e89 mm, swap, frontswap: fix THP swap if frontswap enabled
7a14562d6e2c x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()
0b82d316fa5b Kbuild: always define endianess in kconfig.h
6315213f0a78 iio: adis_lib: Initialize trigger before requesting interrupt
9dc4030c87b7 iio: buffer: check if a buffer has been set up when poll is called
1b985a6e8d4d iio: srf08: fix link error "devm_iio_triggered_buffer_setup" undefined
f4f94e9baeba iio: adc: stm32: fix stm32h7_adc_enable error handling
2492eca0a05b RDMA/uverbs: Sanitize user entered port numbers prior to access it
84205f964bcc RDMA/uverbs: Fix circular locking dependency
aaa1915e3d2c RDMA/uverbs: Fix bad unlock balance in ib_uverbs_close_xrcd
f3d66d43500c RDMA/uverbs: Protect from command mask overflow
da768ed845a5 RDMA/uverbs: Protect from races between lookup and destroy of uobjects
606f74e3d01b extcon: int3496: process id-pin first so that we start with the right status
29e76b211e92 PKCS#7: fix certificate blacklisting
1a1f7f726bd8 PKCS#7: fix certificate chain verification
99b2095ac71e X.509: fix NULL dereference when restricting key with unsupported_sig
dcb04cc79483 X.509: fix BUG_ON() when hash algorithm is unsupported
fa465cd56813 i2c: bcm2835: Set up the rising/falling edge delays
3e1d63cc7a5f i2c: designware: must wait for enable
ebaefbdaf552 cfg80211: fix cfg80211_beacon_dup
2f9eed6e3772 MIPS: Drop spurious __unused in struct compat_flock
4fc16629e9bc scsi: ibmvfc: fix misdefined reserved field in ibmvfc_fcp_rsp_info
53c86c2d90c6 xtensa: fix high memory/reserved memory collision
9428e622eca7 MIPS: boot: Define __ASSEMBLY__ for its.S build
b3aff5c3b2a1 kconfig.h: Include compiler types to avoid missed struct attributes
35d75b7bfc67 arm64: mm: don't write garbage into TTBR1_EL1 register
485595768d89 netfilter: drop outermost socket lock in getsockopt()
55b195735142 Linux 4.14.22
c902ff1e4b25 vmalloc: fix __GFP_HIGHMEM usage for vmalloc_32 on 32b systems
eff339b5d250 mei: me: add cannon point device ids for 4th device
06320148eecd mei: me: add cannon point device ids
95c085388397 crypto: s5p-sss - Fix kernel Oops in AES-ECB mode
fc4cb30f2cd5 drm/i915: fix intel_backlight_device_register declaration
68a2a5204760 crypto: talitos - fix Kernel Oops on hashing an empty file
e94fc847bd6e hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close
385aeea71289 powerpc/perf/imc: Fix nest-imc cpuhotplug callback failure
473900cd523a PCI: rcar: Fix use-after-free in probe error path
73974676f802 xen: XEN_ACPI_PROCESSOR is Dom0-only
8babb5320885 platform/x86: dell-laptop: Fix keyboard max lighting for Dell Latitude E6410
721d4b02495c x86/mm/kmmio: Fix mmiotrace for page unaligned addresses
d91c3f2e540f mm/early_ioremap: Fix boot hang with earlyprintk=efi,keep
abe8e59ab2f2 usb: dwc3: of-simple: fix missing clk_disable_unprepare
98b35258b394 usb: dwc3: gadget: Wait longer for controller to end command processing
58d3cc9687f5 dmaengine: jz4740: disable/unprepare clk if probe fails
4826773306b5 drm/vc4: Release fence after signalling
645ad410dcbd ASoC: rsnd: ssi: fix race condition in rsnd_ssi_pointer_update
06078bd640c3 drm/armada: fix leak of crtc structure
20db5b3e3da3 xfrm: Fix stack-out-of-bounds with misconfigured transport mode policies.
1840744a7f2e IB/mlx4: Fix RSS hash fields restrictions
8edeefab9ef2 spi: sun4i: disable clocks in the remove function
e8e50037b6de ASoC: rockchip: disable clock on error
5be88596c7b0 staging: ccree: Uninitialized return in ssi_ahash_import()
30fe9f094c17 clk: fix a panic error caused by accessing NULL pointer
03e82f2b2157 netfilter: xt_bpf: add overflow checks
c232fd3d7034 xfrm: Fix xfrm_input() to verify state is valid when (encap_type < 0)
05fc2b8ba00a dmaengine: at_hdmac: fix potential NULL pointer dereference in atc_prep_dma_interleaved
27e2830b3115 dmaengine: ioat: Fix error handling path
249d9f3ef5e9 scsi: bfa: fix type conversion warning
e748a5ea4ff2 scsi: bfa: fix access to bfad_im_port_s
dd079e26a0e4 scsi: lpfc: Use after free in lpfc_rq_buf_free()
9b8ffbead22d gianfar: Disable EEE autoneg by default
f2f12ea19fae 509: fix printing uninitialized stack memory when OID is empty
9c65a55722ac net: dsa: mv88e6xxx: Unregister MDIO bus on error path
0ef99ba03888 net: dsa: mv88e6xxx: Fix interrupt masking on removal
74875198a68e net: ethernet: arc: fix error handling in emac_rockchip_probe
f04764307af8 virtio_net: fix return value check in receive_mergeable()
64313a130c3d brcmfmac: Avoid build error with make W=1
90b0805d6085 btrfs: Fix possible off-by-one in btrfs_search_path_in_tree
27b0dc31686b Btrfs: disable FUA if mounted with nobarrier
8edc5b9772d0 btrfs: Fix quota reservation leak on preallocated files
a59eb84df2b7 locking/lockdep: Fix possible NULL deref
0aeed5daaf62 net: qualcomm: rmnet: Fix leak on transmit failure
8172a467adae KVM: VMX: fix page leak in hardware_setup()
034ddb54c33e VSOCK: fix outdated sk_state value in hvs_release()
8001a37b83c4 net_sched: red: Avoid illegal values
e428e8ce3a00 net_sched: red: Avoid devision by zero
6e95c4f92177 gianfar: fix a flooded alignment reports because of padding issue.
4bbd45c38ed6 nfp: fix port stats for mac representors
45f9e44667c1 ARM: dts: Fix elm interrupt compiler warning
29c9acbc7463 s390/dasd: prevent prefix I/O error
dfb48332d602 s390/virtio: add BSD license to virtio-ccw
0b028b06afc9 PM / runtime: Fix handling of suppliers with disabled runtime PM
8b9d371a8c01 powerpc/perf: Fix oops when grouping different pmu events
30791140de21 m68k: add missing SOFTIRQENTRY_TEXT linker section
ae5a0acea273 ipvlan: Add the skb->mark as flow4's member to lookup route
b35e7321347a bnxt_en: Need to unconditionally shut down RoCE in bnxt_shutdown
9537ff76fa06 scripts/kernel-doc: Don't fail with status != 0 if error encountered with -none
b0d049e91314 iio: fix kernel-doc build errors
4c5ae538b3da iio: proximity: sx9500: Assign interrupt from GpioIo()
567c1f767ef4 md/raid1/10: add missed blk plug
86659fbb32a5 phylink: ensure we take the link down when phylink_stop() is called
778e7124f71d sfp: fix RX_LOS signal handling
7a7bcee6d73c sctp: only update outstanding_bytes for transmitted queue when doing prsctp_prune
559be170a470 md/raid5: correct degraded calculation in raid5_error
2ded534c9074 IB/core: Init subsys if compiled to vmlinuz-core
1ffc1b361ac2 RDMA/cma: Make sure that PSN is not over max allowed
f917b1c60e4a i40iw: Correct ARP index mask
03f23424aa2b i40iw: Do not free sqbuf when event is I40IW_TIMER_TYPE_CLOSE
f10f5b89c136 i40iw: Allocate a sdbuf per CQP WQE
97ef3a5027b0 KVM: arm/arm64: Fix spinlock acquisition in vgic_set_owner
2117bba3cfbb meson-gx-socinfo: Fix package id parsing
844dfa1b4188 IB/hfi1: Initialize bth1 in 16B rc ack builder
04521caaea96 pinctrl: sunxi: Fix A64 UART mux value
b1f0445d07f3 pinctrl: sunxi: Fix A80 interrupt pin bank
073cd31e2fd1 gpio: davinci: Assign first bank regs for unbanked case
4c194e5b0d90 gpio: 74x164: Fix crash during .remove()
d4ec37fab600 net: mvpp2: allocate zeroed tx descriptors
801f3b0c40da media: ov13858: Select V4L2_FWNODE
b8c033b1f4bf media: s5k6aa: describe some function parameters
2dc548c0671d trace/xdp: fix compile warning: 'struct bpf_map' declared inside parameter list
49a3efa81147 kvm: arm: don't treat unavailable HYP mode as an error
c05bbe5dc862 pinctrl: denverton: Fix UART2 RTS pin mode
6f8a0b09520b perf test: Fix test 21 for s390x
8b6c6ab154b9 perf bench numa: Fixup discontiguous/sparse numa nodes
7efaeefce5c9 perf top: Fix window dimensions change handling
984d85a69da9 perf: Fix header.size for namespace events
475e6b835d8c perf test shell: Fix check open filename arg using 'perf trace' on s390x
863b61caaeb8 perf annotate: Do not truncate instruction names at 6 chars
182d948c7ae9 perf help: Fix a bug during strstart() conversion
bfb3906919d1 perf record: Fix -c/-F options for cpu event aliases
761036954596 ARM: dts: am437x-cm-t43: Correct the dmas property of spi0
a1fd303e1e41 ARM: dts: am4372: Correct the interrupts_properties of McASP
c601b98e14df ARM: dts: logicpd-somlv: Fix wl127x pinmux
90e4395ca72d ARM: dts: logicpd-som-lv: Fix gpmc addresses for NAND and enet
104df4374d5d ARM: dts: Fix omap4 hang with GPS connected to USB by using wakeupgen
17e712b1294a ARM: AM33xx: PRM: Remove am33xx_pwrdm_read_prev_pwrst function
b59a1da647f1 ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context
2ba11e4309b5 serdev: fix receive_buf return value when no callback
371cf4043b29 usb: build drivers/usb/common/ when USB_SUPPORT is set
c276379fa715 usbip: keep usbip_device sockfd state in sync with tcp_socket
d74450a91a4a staging: iio: ad5933: switch buffer mode to software
5ccf5138bd10 staging: iio: adc: ad7192: fix external frequency setting
6648ab4f03c0 staging: fsl-mc: fix build testing on x86
b46af094b82a binder: replace "%p" with "%pK"
047ba51a55e3 binder: check for binder_thread allocation failure in binder_poll()
95f9c2edcbae staging: android: ashmem: Fix a race condition in pin ioctls
441b5d10e460 ANDROID: binder: synchronize_rcu() when using POLLFREE.
129926c3756a ANDROID: binder: remove WARN() for redundant txn error
f6b581e3db4a dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock
80b1c636a72b arm64: dts: add #cooling-cells to CPU nodes
225fcdd0e33b ARM: 8743/1: bL_switcher: add MODULE_LICENSE tag
52d4c1978cb4 video: fbdev/mmp: add MODULE_LICENSE
1f4f5777e5fa ASoC: ux500: add MODULE_LICENSE tag
14b2ad0bb2fa net_sched: gen_estimator: fix lockdep splat
701ba0df9520 net: avoid skb_warn_bad_offload on IS_ERR
83ee02de2c8d rds: tcp: atomically purge entries from rds_tcp_conn_list during netns delete
c64534f82608 rds: tcp: correctly sequence cleanup on netns deletion.
6e12516df136 netfilter: xt_RATEEST: acquire xt_rateest_mutex for hash insert
be6c08bf9aea netfilter: xt_cgroup: initialize info->priv in cgroup_mt_check_v1()
516c855cf514 netfilter: on sockopt() acquire sock lock only in the required scope
2852a7dd15fe netfilter: ipt_CLUSTERIP: fix out-of-bounds accesses in clusterip_tg_check()
f25f048d3bde netfilter: x_tables: avoid out-of-bounds reads in xt_request_find_{match|target}
6609d112229f netfilter: x_tables: fix int overflow in xt_alloc_table_info()
4249e8af8108 kcov: detect double association with a single task
7b5ec5505945 KVM: x86: fix escape of guest dr6 to the host
2cc50a1946e6 blk_rq_map_user_iov: fix error override
2c565a9538a1 staging: android: ion: Switch from WARN to pr_warn
747ad3d31592 staging: android: ion: Add __GFP_NOWARN for system contig heap
392e03283a3d crypto: x86/twofish-3way - Fix %rbp usage
9bae74042eb1 media: pvrusb2: properly check endpoint types
ca181454e726 selinux: skip bounded transition processing if the policy isn't loaded
116df867dbc1 selinux: ensure the context is NUL terminated in security_context_to_sid_core()
b517942f5126 ptr_ring: try vmalloc() when kmalloc() fails
6688494804d8 ptr_ring: fail early if queue occupies more than KMALLOC_MAX_SIZE
73e6a383d150 ALSA: bcd2000: Add a sanity check for invalid EPs
b43a3e21937c ALSA: caiaq: Add a sanity check for invalid EPs
90bca3712acb ALSA: line6: Add a sanity check for invalid EPs
8c666e6471ac drm: Require __GFP_NOFAIL for the legacy drm_modeset_lock_all
3587188ad596 dnotify: Handle errors from fsnotify_add_mark_locked() in fcntl_dirnotify()
90f9a1ff1e8e blktrace: fix unlocked registration of tracepoints
2df0d6de5eff sctp: set frag_point in sctp_setsockopt_maxseg correctly
4d4d55665f32 xfrm: check id proto in validate_tmpl()
70c5e41f4734 xfrm: Fix stack-out-of-bounds read on socket policy lookup.
d6b36a2616ab RDMA/netlink: Fix general protection fault
846666fad8d7 KVM/x86: Check input paging mode when cs.l is set
7880fc541566 mm,vmscan: Make unregister_shrinker() no-op if register_shrinker() failed.
8e754b4ec589 xfrm: skip policies marked as dead while rehashing
e8370258ca0b xfrm: fix rcu usage in xfrm_get_type_offload
85c31887a20d xfrm: don't call xfrm_policy_cache_flush while holding spinlock
201941360944 esp: Fix GRO when the headers not fully in the linear part of the skb.
447f1170c23b mac80211_hwsim: validate number of different channels
b9e441e2e634 cfg80211: check dev_set_name() return value
ddf0936b9eef bpf: mark dst unknown on inconsistent {s, u}bounds adjustments
6c0b71202f83 kcm: Only allow TCP sockets to be attached to a KCM mux
44890e9ff771 kcm: Check if sk_user_data already set in kcm_attach
ed25667f3303 vhost: use mutex_lock_nested() in vhost_dev_lock_vqs()
ebf7d035c39a usb: core: Add a helper function to check the validity of EP type in URB
58056a531e44 Linux 4.14.21
e506ac1dab86 ovl: hash directory inodes for fsnotify
f1a81c0eab38 ASoC: acpi: fix machine driver selection based on quirk
9a2b3777bd53 mmc: sdhci-of-esdhc: fix the mmc error after sleep on ls1046ardb
44e47693e3a6 mmc: sdhci-of-esdhc: fix eMMC couldn't work after kexec
ffe075e233bb mmc: sdhci-of-esdhc: disable SD clock for clock value 0
11785a9ece1b media: r820t: fix r820t_write_reg for KASAN
bbd577fec485 ARM: dts: Delete bogus reference to the charlcd
5782df0a58b6 arm: dts: mt2701: Add reset-cells
011c19041424 arm: dts: mt7623: Update ethsys binding
7367af9cf0e4 ARM: dts: s5pv210: add interrupt-parent for ohci
34aac3426553 arm64: dts: msm8916: Add missing #phy-cells
361bd5be7b84 ARM: pxa/tosa-bt: add MODULE_LICENSE tag
f5eab7c3d100 ARM: dts: exynos: fix RTC interrupt for exynos5410
dcdc01c2edd4 Bluetooth: BT_HCIUART now depends on SERIAL_DEV_BUS
875758d79d8f scsi: core: check for device state in __scsi_remove_target()
26f8c38bb466 x86/mm, mm/hwpoison: Don't unconditionally unmap kernel 1:1 pages
e4ea7c12229c usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT
ac98d5a624fe mvpp2: fix multicast address filter
7466294dad89 ALSA: seq: Fix racy pool initializations
ec5a08abefe6 ALSA: usb: add more device quirks for USB DSD devices
e1b13eb16c98 ALSA: usb-audio: add implicit fb quirk for Behringer UFX1204
de3e81917564 ALSA: hda/realtek: PCI quirk for Fujitsu U7x7
81ae4f7479f9 ALSA: hda/realtek - Enable Thinkpad Dock device for ALC298 platform
5640397f06ad ALSA: hda/realtek - Add headset mode support for Dell laptop
8f65cd77c97c ALSA: usb-audio: Fix UAC2 get_ctl request with a RANGE attribute
c0cf529a8f4d ALSA: hda - Fix headset mic detection problem for two Dell machines
bc74262f3a65 mtd: nand: vf610: set correct ooblayout
8a8c9588c289 9p/trans_virtio: discard zero-length reply
61c07810bf2e Btrfs: fix unexpected -EEXIST when creating new inode
f30c7d95b4eb Btrfs: fix use-after-free on root->orphan_block_rsv
1371798b92c8 Btrfs: fix btrfs_evict_inode to handle abnormal inodes correctly
9a701c4fa563 Btrfs: fix extent state leak from tree log
fda3bb933b33 Btrfs: fix crash due to not cleaning up tree log block's dirty bits
c766cb48771b Btrfs: fix deadlock in run_delalloc_nocow
f6318abd3a54 dm: correctly handle chained bios in dec_pending()
c8d0f63c1585 iscsi-target: make sure to wake up sleeping login worker
4cbb9fdf133c target/iscsi: avoid NULL dereference in CHAP auth error path
0528a533f368 blk-wbt: account flush requests correctly
67154fb80121 xprtrdma: Fix BUG after a device removal
84b41e3708ac xprtrdma: Fix calculation of ri_max_send_sges
848dd9bf5154 drm/qxl: reapply cursor after resetting primary
dc0b764a7c1a qxl: alloc & use shadow for dumb buffers
851e2ea82303 arm64: proc: Set PTE_NG for table entries to avoid traversing them twice
ff59e379234b rtlwifi: rtl8821ae: Fix connection lost problem correctly
753fc48e595a mpls, nospec: Sanitize array index in mpls_label_ok()
294975841483 tracing: Fix parsing of globs with a wildcard at the beginning
29b4af70409c seq_file: fix incomplete reset on read from zero offset
0f0fd0073911 xenbus: track caller request id
a2fd6c095033 xen: Fix {set,clear}_foreign_p2m_mapping on autotranslating guests
0569dd9beef4 rbd: whitelist RBD_FEATURE_OPERATIONS feature bit
3711b5c568cd console/dummy: leave .con_font_get set to NULL
6e6fd5b4ea9d video: fbdev: atmel_lcdfb: fix display-timings lookup
c77b38855036 PCI: keystone: Fix interrupt-controller-node lookup
8c125f391333 PCI: iproc: Fix NULL pointer dereference for BCMA
990bb6eb9ec2 PCI: Disable MSI for HiSilicon Hip06/Hip07 only in Root Port mode
524a886aa8c9 MIPS: Fix incorrect mem=X@Y handling
f4f261974c6b MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN
1f21cd46caca mm: Fix memory size alignment in devm_memremap_pages_release()
568c61facce6 mm: hide a #warning for COMPILE_TEST
ef7fd28b1137 ext4: correct documentation for grpid mount option
2e38988253c1 ext4: save error to disk in __ext4_grp_locked_error()
4d4d103a1b7e ext4: fix a race in the ext4 shutdown path
879bcbe0913f jbd2: fix sphinx kernel-doc build warnings
598b21708ec0 Revert "apple-gmux: lock iGP IO to protect from vgaarb changes"
e7cedb56ae9a mlx5: fix mlx5_get_vector_affinity to start from completion vector 0
723cc3aeba9b Revert "mmc: meson-gx: include tx phase in the tuning process"
e8012ff87793 mmc: bcm2835: Don't overwrite max frequency unconditionally
a1341cac93fa mmc: sdhci: Implement an SDHCI-specific bounce buffer
e96a21989974 mbcache: initialize entry->e_referenced in mb_cache_entry_create()
c3bdd547042f rtc-opal: Fix handling of firmware error codes, prevent busy loops
a29adc04cb6d drm/radeon: adjust tested variable
808700475218 drm/radeon: Add dpm quirk for Jet PRO (v2)
254d48c8cc3b arm64: Add missing Falkor part number for branch predictor hardening
e4a6d687e5d9 drm/ast: Load lut in crtc_commit
dc2b0e41fc5e drm/amd/powerplay: Fix smu_table_entry.handle type
b51521c9a191 drm/qxl: unref cursor bo when finished with it
15cdc016f109 drm/ttm: Fix 'buf' pointer update in ttm_bo_vm_access_kmap() (v2)
f02c3f7f6d30 drm/ttm: Don't add swapped BOs to swap-LRU list
6c0398cfebf5 x86/entry/64: Fix CR3 restore in paranoid_exit()
231d0c70be74 x86/cpu: Change type of x86_cache_size variable to unsigned int
7d7ebee6ce11 x86/spectre: Fix an error message
325cbb04dc61 x86/cpu: Rename cpu_data.x86_mask to cpu_data.x86_stepping
73f231c7ee69 selftests/x86/mpx: Fix incorrect bounds with old _sigfault
208beef6d8f2 x86/mm: Rename flush_tlb_single() and flush_tlb_one() to __flush_tlb_one_[user|kernel]()
d6d0c0a618a1 kmemcheck: rip it out for real
f369f1486116 kmemcheck: rip it out
b9870f85817e kmemcheck: remove whats left of NOTRACK flags
ae63fd26b2d8 kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACK
2abfcdf8e77d kmemcheck: remove annotations
1fed58f610b5 x86/speculation: Add <asm/msr-index.h> dependency
8b4cdbbb29d4 nospec: Move array_index_nospec() parameter checking into separate macro
9d4cb4dc7a11 x86/speculation: Fix up array_index_nospec_mask() asm constraint
41d315482500 x86/debug: Use UD2 for WARN()
4e0067c22d6b x86/debug, objtool: Annotate WARN()-related UD2 as reachable
842a0d95ef16 objtool: Fix segfault in ignore_unreachable_insn()
410d273ecc8e selftests/x86: Disable tests requiring 32-bit support on pure 64-bit systems
8520ea2a0438 selftests/x86: Do not rely on "int $0x80" in single_step_syscall.c
cf4db6342da4 selftests/x86: Do not rely on "int $0x80" in test_mremap_vdso.c
e6eced764e1a selftests/x86/pkeys: Remove unused functions
3eb95d5187a3 selftests/x86: Clean up and document sscanf() usage
301e6fe0915c selftests/x86: Fix vDSO selftest segfault for vsyscall=none
5cf7b883bcba x86/entry/64: Remove the unused 'icebp' macro
bdcf05c64a64 x86/entry/64: Fix paranoid_entry() frame pointer warning
a816dd2fa2dc x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly
de66c3a3b0a6 x86/entry/64: Get rid of the ALLOC_PT_GPREGS_ON_STACK and SAVE_AND_CLEAR_REGS macros
bd25388691c0 x86/entry/64: Use PUSH_AND_CLEAN_REGS in more cases
3ce4863a44ff x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro
47d9c905ae7a x86/entry/64: Interleave XOR register clearing with PUSH instructions
bb6873552764 x86/entry/64: Merge the POP_C_REGS and POP_EXTRA_REGS macros into a single POP_REGS macro
51209eec238f x86/entry/64: Merge SAVE_C_REGS and SAVE_EXTRA_REGS, remove unused extensions
d10d0bb86d97 x86/entry/64: Clear registers for exceptions/interrupts, to reduce speculation attack surface
e578fedba81e PM: cpuidle: Fix cpuidle_poll_state_init() prototype
c59cce7943df PM / runtime: Update links_count also if !CONFIG_SRCU
2efd067aa4ef x86/speculation: Clean up various Spectre related details
a15bdf6579b2 KVM/nVMX: Set the CPU_BASED_USE_MSR_BITMAPS if we have a valid L02 MSR bitmap
07a3a99ed7f9 X86/nVMX: Properly set spec_ctrl and pred_cmd before merging MSRs
474bd0b82e24 KVM/x86: Reduce retpoline performance impact in slot_handle_level_range(), by always inlining iterator helper methods
bdc69a2ffa01 Revert "x86/speculation: Simplify indirect_branch_prediction_barrier()"
b7451cb6159a x86/speculation: Correct Speculation Control microcode blacklist again
d5a1b559235a x86/speculation: Update Speculation Control microcode blacklist
372ed448263d x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()
b973685e70c3 powerpc/mm/radix: Split linear mapping on hot-unplug
14d87b710338 crypto: sun4i_ss_prng - convert lock to _bh in sun4i_ss_prng_generate
b3d33c5f296b crypto: sun4i_ss_prng - fix return value of sun4i_ss_prng_generate
fff8ad7c18a2 compiler-gcc.h: __nostackprotector needs gcc-4.4 and up
045e5161abfc compiler-gcc.h: Introduce __optimize function attribute
ec35f83de1c8 x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surface
2bc19b518cb2 x86/entry/64: Clear extra registers beyond syscall arguments, to reduce speculation attack surface
43d38b079ca7 x86: PM: Make APM idle driver initialize polling state
41fd295d90a7 x86/xen: init %gs very early to avoid page faults with stack protector
04f048fad32e x86/kexec: Make kexec (mostly) work in 5-level paging mode
0fe1e5ec1c27 x86/gpu: add CFL to early quirks
ba86431b7b58 drm/i915/kbl: Change a KBL pci id to GT2 from GT1.5
cc2759b7bb7c drm/i915: add GT number to intel_device_info
ce6ec5b8dc5a arm: spear13xx: Fix spics gpio controller's warning
349d03cb5378 arm: spear13xx: Fix dmas cells
b1637c1236d0 arm: spear600: Add missing interrupt-parent of rtc
cbcc2ff13af5 arm: dts: mt7623: fix card detection issue on bananapi-r2
be1965486122 ARM: dts: nomadik: add interrupt-parent for clcd
9be4b2f6d024 ARM: dts: STi: Add gpio polarity for "hdmi,hpd-gpio" property
34d58f7ccb65 ARM: lpc3250: fix uda1380 gpio numbers
bd4200936367 arm64: dts: msm8916: Correct ipc references for smsm
27f97375fcb8 s390: fix handling of -1 in set{,fs}[gu]id16 syscalls
f25dfc9359cc dma-buf: fix reservation_object_wait_timeout_rcu once more v2
40be210c830e powerpc: Fix DABR match on hash based systems
3b09911d3beb powerpc/xive: Use hw CPU ids when configuring the CPU queues
892674b5058a powerpc/mm: Flush radix process translations when setting MMU type
4386f223b418 powerpc/numa: Invalidate numa_cpu_lookup_table on cpu remove
5b98d31481f9 powerpc/radix: Remove trace_tlbie call from radix__flush_tlb_all
2e7e8bd8f195 ocfs2: try a blocking lock before return AOP_TRUNCATED_PAGE
1ec4c78e3444 mwifiex: resolve reset vs. remove()/shutdown() deadlocks
62def1d604a5 PM / devfreq: Propagate error from devfreq_add_device()
37efa60e1670 swiotlb: suppress warning when __GFP_NOWARN is set
8e56a935a4b7 cpufreq: powernv: Dont assume distinct pstate values for nominal and pmin
75a3f11c7bad RDMA/rxe: Fix rxe_qp_cleanup()
571cb36fac2f RDMA/rxe: Fix a race condition in rxe_requester()
7b4e8a46d4cf RDMA/rxe: Fix a race condition related to the QP error state
7dd2dbdd4606 kselftest: fix OOM in memory compaction test
9c2e7a048d19 selftests: seccomp: fix compile error seccomp_bpf
1d6eb826e65d IB/core: Avoid a potential OOPs for an unused optional parameter
d40ad865704b IB/core: Fix ib_wc structure size to remain in 64 bytes boundary
18c0ee900c8d IB/core: Fix two kernel warnings triggered by rxe registration
ade57e9031fa IB/mlx4: Fix incorrectly releasing steerable UD QPs when have only ETH ports
5a4255467cd8 IB/qib: Fix comparison error with qperf compare/swap test
7a748f0bb2e4 IB/umad: Fix use of unprotected device pointer
e99306bb4f67 scsi: smartpqi: allow static build ("built-in")
b6f2efb86440 tracing: Prevent PROFILE_ALL_BRANCHES when FORTIFY_SOURCE=y
7e83b2ff485c Linux 4.14.20
1dbdcf117b22 scsi: cxlflash: Reset command ioasc
5fc77964eaa9 scsi: lpfc: Fix crash after bad bar setup on driver attachment
ce6faf10fd65 rcu: Export init_rcu_head() and destroy_rcu_head() to GPL modules
c561093ed684 scsi: core: Ensure that the SCSI error handler gets woken up
b470fb7b7910 ftrace: Remove incorrect setting of glob search field
d9ef40037443 devpts: fix error handling in devpts_mntget()
dff5406432ff mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy
c7aee3941e1e ovl: take mnt_want_write() for removing impure xattr
e822be750270 ovl: fix failure to fsync lower dir
9fc03876355a acpi, nfit: fix register dimm error handling
f232bfdcdd76 ACPI: sbshc: remove raw pointer from printk() message
a51421b4cb09 drm/i915: Avoid PPS HW/SW state mismatch due to rounding
812245b4dbf6 arm64: dts: marvell: add Ethernet aliases
2a3d3015a73c objtool: Fix switch-table detection
4063cd5683ce btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker
2617e62c2f12 lib/ubsan: add type mismatch handler for new GCC/Clang
5a5df7771064 lib/ubsan.c: s/missaligned/misaligned/
c87806a8e565 clocksource/drivers/stm32: Fix kernel panic with multiple timers
392640fd18f8 blk-mq: quiesce queue before freeing queue
c846868070d0 pktcdvd: Fix a recently introduced NULL pointer dereference
030dcf7d1af3 pktcdvd: Fix pkt_setup_dev() error path
f04fe1192e56 pinctrl: sx150x: Add a static gpio/pinctrl pin range mapping
5219eedf2d5e pinctrl: sx150x: Register pinctrl before adding the gpiochip
89cad3fa5491 pinctrl: sx150x: Unregister the pinctrl on release
688d1b8c4721 pinctrl: mcp23s08: fix irq setup order
05c9297f3405 pinctrl: intel: Initialize GPIO properly when used through irqchip
bed938ba673c EDAC, octeon: Fix an uninitialized variable warning
e68d638e4931 xtensa: fix futex_atomic_cmpxchg_inatomic
12ab9e1e8d61 alpha: fix formating of stack content
bef0563f39cd alpha: fix reboot on Avanti platform
371c5ada2af7 alpha: Fix mixed up args in EXC macro in futex operations
90d17505219a alpha: osf_sys.c: fix put_tv32 regression
632a537b3c6b alpha: fix crash if pthread_create races with signal delivery
16256f265880 signal/sh: Ensure si_signo is initialized in do_divide_error
34ad59099ead signal/openrisc: Fix do_unaligned_access to send the proper signal
765ae618ad9f ipmi: use dynamic memory for DMI driver override
fed016a79b42 Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version
2a2ee0c1fee7 Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"
ed72fcf64362 Bluetooth: btsdio: Do not bind to non-removable BCM43341
0e4ac4aed9f9 HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working
703b37d84598 pipe: fix off-by-one error when checking buffer limits
a125e9a42302 pipe: actually allow root to exceed the pipe buffer limits
75526a9bd3f4 kernel/relay.c: revert "kernel/relay.c: fix potential memory leak"
838f9cc948b0 kernel/async.c: revert "async: simplify lowest_in_progress()"
7e54b58285e1 fs/proc/kcore.c: use probe_kernel_read() instead of memcpy()
ebe2ba53851e media: cxusb, dib0700: ignore XC2028_I2C_FLUSH
7a401e25f0a5 media: ts2020: avoid integer overflows on 32 bit machines
ad91b2e392be media: dvb-frontends: fix i2c access helpers for KASAN
062cd3463c17 kasan: rework Kconfig settings
e186d8bfdabd kasan: don't emit builtin calls when sanitization is off
d16919a3fe2d Btrfs: raid56: iterate raid56 internal bio with bio_for_each_segment_all
e06f7b686daa watchdog: imx2_wdt: restore previous timeout after suspend+resume
b897f1dc780e ASoC: skl: Fix kernel warning due to zero NHTL entry
4562bfdeac87 ASoC: rockchip: i2s: fix playback after runtime resume
e747a02d9fcf KVM: PPC: Book3S PR: Fix broken select due to misspelling
985bf3991342 KVM: arm/arm64: Handle CPU_PM_ENTER_FAILED
be54d79b43fd KVM: PPC: Book3S HV: Drop locks before reading guest memory
88b64450cc0a KVM: PPC: Book3S HV: Make sure we don't re-enter guest without XIVE loaded
fe90a3a6f881 KVM: nVMX: Fix bug of injecting L2 exception into L1
6bad51166f87 KVM: nVMX: Fix races when sending nested PI while dest enters/leaves L2
7dffdb31ad13 arm: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
f37a798e7724 crypto: sha512-mb - initialize pending lengths correctly
f428567e005f crypto: caam - fix endless loop when DECO acquire fails
1a4834092539 media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs
ad01b40bb9be media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic
b3f69836c92b media: v4l2-compat-ioctl32.c: don't copy back the result for certain errors
efabe94f8a0d media: v4l2-compat-ioctl32.c: drop pr_info for unknown buffer type
a20ab4df701b media: v4l2-compat-ioctl32.c: copy clip list in put_v4l2_window32
f1b572d34648 media: v4l2-compat-ioctl32.c: fix ctrl_is_pointer
3df119772466 media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32
16c25072560f media: v4l2-compat-ioctl32.c: avoid sizeof(type)
a38becb087b2 media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32
0b7d6ac53606 media: v4l2-compat-ioctl32.c: fix the indentation
2b991eeb5cfb media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF
2d280dab382e media: v4l2-ioctl.c: don't copy back the result for -ENOTTY
ea96d8f676dd media: v4l2-ioctl.c: use check_fmt for enum/g/s/try_fmt
2f00eb279088 crypto: hash - prevent using keyed hashes without setting key
8d906d183bce crypto: hash - annotate algorithms taking optional key
b806c0cc4c73 crypto: poly1305 - remove ->setkey() method
16210524c424 crypto: mcryptd - pass through absence of ->setkey()
ed7b0af0ca02 crypto: cryptd - pass through absence of ->setkey()
b8b32e2e68f0 crypto: hash - introduce crypto_hash_alg_has_setkey()
449704d3ba6f ahci: Add Intel Cannon Lake PCH-H PCI ID
53c5963da843 ahci: Add PCI ids for Intel Bay Trail, Cherry Trail and Apollo Lake AHCI
e985f7c8ac38 ahci: Annotate PCI ids for mobile Intel chipsets as such
650d3d8512c6 kernfs: fix regression in kernfs_fop_write caused by wrong type
f1e31607e73d NFS: Fix a race between mmap() and O_DIRECT
1c38ad2f26d8 NFS: reject request for id_legacy key without auxdata
60017643c210 NFS: commit direct writes even if they fail partially
6421f29eb8af NFS: Fix nfsstat breakage due to LOOKUPP
3d03af006438 NFS: Add a cond_resched() to nfs_commit_release_pages()
3ac2d17a6ed3 nfs41: do not return ENOMEM on LAYOUTUNAVAILABLE
ace34428faa6 nfs/pnfs: fix nfs_direct_req ref leak when i/o falls back to the mds
068e53f9b192 ubifs: free the encrypted symlink target
e9a35f8b73f1 ubi: block: Fix locking for idr_alloc/idr_remove
5793f39de7f6 ubi: fastmap: Erase outdated anchor PEBs during attach
c94c39ac85f1 ubi: Fix race condition between ubi volume creation and udev
7eb52a6889e9 mtd: nand: sunxi: Fix ECC strength choice
16d11602c83b mtd: nand: Fix nand_do_read_oob() return value
4527b0887bc5 mtd: nand: brcmnand: Disable prefetch by default
0763f0418bb5 mtd: cfi: convert inline functions to macros
c584c903bae9 arm64: Kill PSCI_GET_VERSION as a variant-2 workaround
dbca45b99655 arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support
ac63fdb4a2b2 arm/arm64: smccc: Implement SMCCC v1.1 inline primitive
37dc3e6c117e arm/arm64: smccc: Make function identifiers an unsigned quantity
908ad7a1484d firmware/psci: Expose SMCCC version through psci_ops
906a9f396cc8 firmware/psci: Expose PSCI conduit
6db26ad1dc46 arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling
e47273d08623 arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support
2cfe8929f624 arm/arm64: KVM: Turn kvm_psci_version into a static inline
98be7165d9f7 arm64: KVM: Make PSCI_VERSION a fast path
45e2061147c3 arm/arm64: KVM: Advertise SMCCC v1.1
4ba100aa94a0 arm/arm64: KVM: Implement PSCI 1.0 support
ce15f32d4884 arm/arm64: KVM: Add smccc accessors to PSCI code
4efa1a863a12 arm/arm64: KVM: Add PSCI_VERSION helper
591862b56000 arm/arm64: KVM: Consolidate the PSCI include files
0b3512fa7b0a arm64: KVM: Increment PC after handling an SMC trap
402aeac58753 arm64: Branch predictor hardening for Cavium ThunderX2
9b26a45c34e4 arm64: Implement branch predictor hardening for Falkor
48993dfa1af8 arm64: Implement branch predictor hardening for affected Cortex-A CPUs
3317097b2b4a arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75
48c3538c3578 arm64: entry: Apply BP hardening for suspicious interrupts from EL0
6b47a8256a56 arm64: entry: Apply BP hardening for high-priority synchronous exceptions
aab3306701f1 arm64: KVM: Use per-CPU vector when BP hardening is enabled
9107ac4ea3da arm64: Move BP hardening to check_and_switch_context
5bee81c98029 arm64: Add skeleton to harden the branch predictor against aliasing attacks
c10e4aa77814 arm64: Move post_ttbr_update_workaround to C code
f91f190708b2 drivers/firmware: Expose psci_get_version through psci_ops structure
be53742befea arm64: cpufeature: Pass capability structure to ->enable callback
9da836a476fe arm64: Run enable method for errata work arounds on late CPUs
da1f67921d2f arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early
d9ef050f2895 arm64: futex: Mask __user pointers prior to dereference
ba32050d308a arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user
28d8886d985c arm64: uaccess: Don't bother eliding access_ok checks in __{get, put}_user
1ccaee9dea60 arm64: uaccess: Prevent speculative use of the current addr_limit
7a51d7d2f7f7 arm64: entry: Ensure branch through syscall table is bounded under speculation
2e985d2647a0 arm64: Use pointer masking to limit uaccess speculation
535357c9d3e9 arm64: Make USER_DS an inclusive limit
0a532ea3ef14 arm64: Implement array_index_mask_nospec()
6afdaf109c34 arm64: barrier: Add CSDB macros to control data-value prediction
1449a173a2ee arm64: idmap: Use "awx" flags for .idmap.text .pushsection directives
8703f27d7c5d arm64: entry: Reword comment about post_ttbr_update_workaround
e39247ca1714 arm64: Force KPTI to be disabled on Cavium ThunderX
2feb36ebe450 arm64: kpti: Add ->enable callback to remap swapper using nG mappings
ee28fed5ccc6 arm64: mm: Permit transitioning from Global to Non-Global without BBM
69288201803a arm64: kpti: Make use of nG dependent on arm64_kernel_unmapped_at_el0()
c98c8c235856 arm64: Turn on KPTI only on CPUs that need it
7aca19ea5a45 arm64: cputype: Add MIDR values for Cavium ThunderX2 CPUs
fedf5a743cf2 arm64: kpti: Fix the interaction between ASID switching and software PAN
0b2995145ea4 arm64: mm: Introduce TTBR_ASID_MASK for getting at the ASID in the TTBR
5385e5fe9724 arm64: capabilities: Handle duplicate entries for a capability
83ae3355bdfb arm64: Take into account ID_AA64PFR0_EL1.CSV3
5e319f4533bf arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry
332e0288200f arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0
68a65ce7039a arm64: use RET instruction for exiting the trampoline
3882b5f63f3c arm64: kaslr: Put kernel vectors address in separate data page
7fafcbb04f94 arm64: entry: Add fake CPU feature for unmapping the kernel at EL0
2843ade2dad2 arm64: tls: Avoid unconditional zeroing of tpidrro_el0 for native tasks
4e29f25b2bc1 arm64: cpu_errata: Add Kryo to Falkor 1003 errata
15a511c0cbd1 arm64: erratum: Work around Falkor erratum #E1003 in trampoline code
6472f1a3a54f arm64: entry: Hook up entry trampoline to exception vectors
86200f218f98 arm64: entry: Explicitly pass exception level to kernel_ventry macro
63d13760abd7 arm64: mm: Map entry trampoline into trampoline and kernel page tables
78422a7b5160 arm64: entry: Add exception trampoline page for exceptions from EL0
d6c414013bb4 arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI
53b13950886c arm64: mm: Add arm64_kernel_unmapped_at_el0 helper
a8bad38cff23 arm64: mm: Allocate ASIDs in pairs
00ff7de671f8 arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN
95ce0d51f9a8 arm64: mm: Rename post_ttbr0_update_workaround
4445cb04410f arm64: mm: Remove pre_ttbr0_update_workaround for Falkor erratum #E1003
d26f0a5dc6a6 arm64: mm: Move ASID from TTBR0 to TTBR1
59f47f9dcdcd arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN
78299fafcd78 arm64: mm: Use non-global mappings for kernel space
63380839c575 arm64: move TASK_* definitions to <asm/processor.h>
dd24d173b50a media: hdpvr: Fix an error handling path in hdpvr_probe()
2bd6279a4a8c media: dvb-usb-v2: lmedm04: move ts2020 attach to dm04_lme2510_tuner
fd31a38d268f media: dvb-usb-v2: lmedm04: Improve logic checking of warm start
e5e1e153ecd4 dccp: CVE-2017-8824: use-after-free in DCCP code
050b86b5bf20 drm/i915: Fix deadlock in i830_disable_pipe()
50018d09843c drm/i915: Redo plane sanitation during readout
19d8e5122fef drm/i915: Add .get_hw_state() method for planes
d9c3131f2ab4 sched/rt: Up the root domain ref count when passing it around via IPIs
9c41a8453c82 sched/rt: Use container_of() to get root domain in rto_push_irq_work_func()
fea5349eb88b KVM MMU: check pending exception before injecting APF
4c54eab372f8 arm64: Add software workaround for Falkor erratum 1041
0b69ec336d3d arm64: Define cputype macros for Falkor CPU
fd7467f82e58 watchdog: gpio_wdt: set WDOG_HW_RUNNING in gpio_wdt_stop
e94a7de2a3d2 sched/wait: Fix add_wait_queue() behavioral change
69373cdc4ae4 dmaengine: dmatest: fix container_of member in dmatest_callback
7adf1d63ef65 cpufreq: mediatek: add mediatek related projects into blacklist
4126cdb73193 CIFS: zero sensitive data when freeing
be6874b4d480 cifs: Fix autonegotiate security settings mismatch
061df7705a53 cifs: Fix missing put_xid in cifs_file_strict_mmap
b4a9ffad9702 powerpc/pseries: include linux/types.h in asm/hvcall.h
8caab9edccf5 watchdog: indydog: Add dependency on SGI_HAS_INDYDOG
1722fe372784 Linux 4.14.19
d2aeb4e2bd8d Revert "x86/alternative: Print unadorned pointers"
22f16a74c474 scsi: storvsc: missing error code in storvsc_probe()
f18046f7a50a kernel/exit.c: export abort() to modules
c5c91d830507 arch: define weak abort()
3a570cfe785a crypto: tcrypt - fix S/G table for test_aead_speed()
68a9f19264fd media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
1bf81cff1bad media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION
981f20bc7595 soreuseport: fix mem leak in reuseport_add_sock()
456add4c9bd3 ipv6: Fix SO_REUSEPORT UDP socket with implicit sk_ipv6only
c04818abad46 tcp_bbr: fix pacing_gain to always be unity when using lt_bw
1da27118f419 rocker: fix possible null pointer dereference in rocker_router_fib_event_work
07ca93e3176b net: ipv6: send unsolicited NA after DAD
799a34d5b048 Revert "defer call to mem_cgroup_sk_alloc()"
b9b70c876a7a vhost_net: stop device during reset owner
6d35430fdaf4 tcp: release sk_frag.page in tcp_disconnect
e8513f250d1b r8169: fix RTL8168EP take too long to complete driver initialization.
a7c2cf702a40 qmi_wwan: Add support for Quectel EP06
fcee7812ea05 qlcnic: fix deadlock bug
166f27322f8c net: igmp: add a missing rcu locking section
2726946dfcd2 ip6mr: fix stale iterator
806d61d66900 kbuild: rpm-pkg: keep spec file until make mrproper
abc5896b7785 .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore
bafda5d37527 .gitignore: sort normal pattern rules alphabetically
(From OE-Core rev: bde0254a52f0827e15cdc66b91bef7c8ab03ea76)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the latest korg -stable release which comprises the following
commits:
cb4a115a4286 Linux 4.15.7
59e0ae1b9ae2 microblaze: fix endian handling
39c51864410f drm/i915/breadcrumbs: Ignore unsubmitted signalers
5d1641bd28b2 arm64: __show_regs: Only resolve kernel symbols when running at EL1
6e0535b574bb drm/amdgpu: add new device to use atpx quirk
ae05bb741e26 drm/amdgpu: Avoid leaking PM domain on driver unbind (v2)
c3a0168def90 drm/amdgpu: add atpx quirk handling (v2)
2511a10a9dbd drm/amdgpu: only check mmBIF_IOV_FUNC_IDENTIFIER on tonga/fiji
569773e885c2 drm/amdgpu: Add dpm quirk for Jet PRO (v2)
7cb1e932f2cf drm/amdgpu: fix VA hole handling on Vega10 v3
73dec25a4996 drm/amdgpu: disable MMHUB power gating on raven
86688e436e53 drm: Handle unexpected holes in color-eviction
d9076e2789f0 drm/atomic: Fix memleak on ERESTARTSYS during non-blocking commits
ef6ffb8e7991 drm/cirrus: Load lut in crtc_commit
5434769e09e1 usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path
ebf22ef5bc85 usb: gadget: f_fs: Use config_ep_by_speed()
1e77103e4e95 usb: gadget: f_fs: Process all descriptors during bind
84bfcffa2d58 Revert "usb: musb: host: don't start next rx urb if current one failed"
d1ff52d9f255 usb: ldusb: add PIDs for new CASSY devices supported by this driver
e2ea80c1081a usb: phy: mxs: Fix NULL pointer dereference on i.MX23/28
3501a1fa4bd6 usb: dwc3: ep0: Reset TRB counter for ep0 IN
9cd92bc0d940 usb: dwc3: gadget: Set maxpacket size for ep0 IN
c1ee06ccaf56 usb: host: ehci: use correct device pointer for dma ops
41be2f2884dd drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA
9431fcfe77f2 Add delay-init quirk for Corsair K70 RGB keyboards
fe2d410a67ac arm64: cpufeature: Fix CTR_EL0 field definitions
4a9aa807845d arm64: Disable unhandled signal log messages by default
b1acbe1b5159 arm64: Remove unimplemented syscall log message
4834cd5ef556 usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()
4f2b3914d480 ohci-hcd: Fix race condition caused by ohci_urb_enqueue() and io_watchdog_func()
bb9e6cb9619e net: thunderbolt: Run disconnect flow asynchronously when logout is received
4843b408d3b3 net: thunderbolt: Tear down connection properly on suspend
c36b2464868c PCI/cxgb4: Extend T3 PCI quirk to T4+ devices
f08f5d7546b7 irqchip/mips-gic: Avoid spuriously handling masked interrupts
ca6ecf020c19 irqchip/gic-v3: Use wmb() instead of smb_wmb() in gic_raise_softirq()
2db8fd089da9 uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define
c6a18ffe270d mm: don't defer struct page initialization for Xen pv guests
9b28096ae042 mm, swap, frontswap: fix THP swap if frontswap enabled
df70880eeca8 x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()
b380245d86d7 x86/apic/vector: Handle vector release on CPU unplug correctly
1df9e416e647 Kbuild: always define endianess in kconfig.h
c6ddec4b894e iio: adis_lib: Initialize trigger before requesting interrupt
57a6624e6b66 iio: buffer: check if a buffer has been set up when poll is called
141c7b5d62b4 iio: srf08: fix link error "devm_iio_triggered_buffer_setup" undefined
ea69364997ac iio: adc: stm32: fix stm32h7_adc_enable error handling
2220b31092c0 RDMA/uverbs: Sanitize user entered port numbers prior to access it
dbc8529d0075 RDMA/uverbs: Fix circular locking dependency
b949544f2389 RDMA/uverbs: Fix bad unlock balance in ib_uverbs_close_xrcd
a79527b04d36 RDMA/uverbs: Protect from command mask overflow
11c371ca4206 RDMA/uverbs: Protect from races between lookup and destroy of uobjects
7f55f13e7c96 genirq/matrix: Handle CPU offlining proper
44975af306a6 extcon: int3496: process id-pin first so that we start with the right status
7bd04bd1fb3e PKCS#7: fix certificate blacklisting
4a89879bc4c9 PKCS#7: fix certificate chain verification
a689f00971b8 X.509: fix NULL dereference when restricting key with unsupported_sig
ffc21f450fad X.509: fix BUG_ON() when hash algorithm is unsupported
1af6a6727347 i2c: bcm2835: Set up the rising/falling edge delays
13f741a22d4f i2c: designware: must wait for enable
f2543a626feb cfg80211: fix cfg80211_beacon_dup
53b7097c9a65 MIPS: Drop spurious __unused in struct compat_flock
6f935322d866 scsi: ibmvfc: fix misdefined reserved field in ibmvfc_fcp_rsp_info
e8e48b394b64 xtensa: fix high memory/reserved memory collision
0bbdb97ac3b8 MIPS: boot: Define __ASSEMBLY__ for its.S build
a7aa0b5c9bf9 kconfig.h: Include compiler types to avoid missed struct attributes
174f49dedc13 arm64: mm: don't write garbage into TTBR1_EL1 register
d7ef969797fd netfilter: drop outermost socket lock in getsockopt()
1a7aef62b47b Linux 4.15.6
0e6f5f6c2367 vmalloc: fix __GFP_HIGHMEM usage for vmalloc_32 on 32b systems
fc3a0d7d6b81 mei: me: add cannon point device ids for 4th device
772639d52fa5 mei: me: add cannon point device ids
0f00b6feadde crypto: s5p-sss - Fix kernel Oops in AES-ECB mode
52718d497940 usbip: keep usbip_device sockfd state in sync with tcp_socket
f0537b3962ad xhci: fix xhci debugfs errors in xhci_stop
11474eb609f4 xhci: xhci debugfs device nodes weren't removed after device plugged out
99cfcdcbfb38 xhci: Fix xhci debugfs devices node disappearance after hibernation
177b1a5bc8fe xhci: Fix NULL pointer in xhci debugfs
3ee8ad9e5267 staging: iio: ad5933: switch buffer mode to software
6991325a52af staging: iio: adc: ad7192: fix external frequency setting
07bf5bad3f80 staging: fsl-mc: fix build testing on x86
008fdd7c3915 binder: replace "%p" with "%pK"
52f381e126bc binder: check for binder_thread allocation failure in binder_poll()
664b80469038 staging: android: ashmem: Fix a race condition in pin ioctls
3dd13985a916 ANDROID: binder: synchronize_rcu() when using POLLFREE.
87340f840952 ANDROID: binder: remove WARN() for redundant txn error
8f2f8993e0f6 dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock
58fde5229c07 arm64: dts: add #cooling-cells to CPU nodes
0d899f5a7699 ARM: 8743/1: bL_switcher: add MODULE_LICENSE tag
fa913592b110 video: fbdev/mmp: add MODULE_LICENSE
0813c6ee1936 ASoC: ux500: add MODULE_LICENSE tag
31903777ab86 soc: qcom: rmtfs_mem: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
3d32de924430 net_sched: gen_estimator: fix lockdep splat
78739d2c45ac net: avoid skb_warn_bad_offload on IS_ERR
2e980be6c7aa rds: tcp: atomically purge entries from rds_tcp_conn_list during netns delete
8dfca224fe21 rds: tcp: correctly sequence cleanup on netns deletion.
d7159107d7f9 netfilter: xt_RATEEST: acquire xt_rateest_mutex for hash insert
d13e612e713c netfilter: xt_cgroup: initialize info->priv in cgroup_mt_check_v1()
ff225999c603 netfilter: on sockopt() acquire sock lock only in the required scope
8b73f446d3c0 netfilter: ipt_CLUSTERIP: fix out-of-bounds accesses in clusterip_tg_check()
7d666621792e netfilter: x_tables: avoid out-of-bounds reads in xt_request_find_{match|target}
41e28eddda46 netfilter: x_tables: fix int overflow in xt_alloc_table_info()
660e0b97128d kcov: detect double association with a single task
a009a6388cea KVM: x86: fix escape of guest dr6 to the host
53712962126d blk_rq_map_user_iov: fix error override
831a8a1297d1 staging: android: ion: Switch from WARN to pr_warn
ea4ce12b88fc staging: android: ion: Add __GFP_NOWARN for system contig heap
97fe1b796e9d crypto: x86/twofish-3way - Fix %rbp usage
78fb902b9f52 media: pvrusb2: properly check endpoint types
c31124234485 selinux: skip bounded transition processing if the policy isn't loaded
81563ac61f54 selinux: ensure the context is NUL terminated in security_context_to_sid_core()
62da989fd52d ptr_ring: try vmalloc() when kmalloc() fails
62a273a47514 ptr_ring: fail early if queue occupies more than KMALLOC_MAX_SIZE
de03f1a1c9e3 tun: fix tun_napi_alloc_frags() frag allocator
a6c3a2a21072 Linux 4.15.5
b5d3e87c0750 mmc: sdhci-of-esdhc: fix the mmc error after sleep on ls1046ardb
772b28fb3f5d mmc: sdhci-of-esdhc: fix eMMC couldn't work after kexec
c95e8f5945e4 media: r820t: fix r820t_write_reg for KASAN
0431ae716f64 ARM: dts: Delete bogus reference to the charlcd
d9f944934e5d arm: dts: mt2701: Add reset-cells
76e1e2047cad arm: dts: mt7623: Update ethsys binding
7dcebff41eb2 ARM: dts: s5pv210: add interrupt-parent for ohci
98ada11202a3 arm64: dts: msm8916: Add missing #phy-cells
384ba356723f ARM: pxa/tosa-bt: add MODULE_LICENSE tag
f62971e74494 ARM: dts: exynos: fix RTC interrupt for exynos5410
86fa1cc9eeed x86/mm, mm/hwpoison: Don't unconditionally unmap kernel 1:1 pages
adea9deed20b usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT
528e50bc160b mvpp2: fix multicast address filter
3b8e84c8373d ALSA: seq: Fix racy pool initializations
4da52e138918 ALSA: usb: add more device quirks for USB DSD devices
4aacd757d564 ALSA: usb-audio: add implicit fb quirk for Behringer UFX1204
7a9a09e9c65c ALSA: hda/realtek: PCI quirk for Fujitsu U7x7
6957300758e4 ALSA: hda/realtek - Enable Thinkpad Dock device for ALC298 platform
24b0a5ee21c9 ALSA: hda/realtek - Add headset mode support for Dell laptop
9030db8eef39 ALSA: usb-audio: Fix UAC2 get_ctl request with a RANGE attribute
937a479700dd ALSA: hda - Fix headset mic detection problem for two Dell machines
88ee6a8cff16 mtd: nand: vf610: set correct ooblayout
2463f6dc6787 9p/trans_virtio: discard zero-length reply
42708d88eb16 Btrfs: fix unexpected -EEXIST when creating new inode
a4a9f48768c2 Btrfs: fix use-after-free on root->orphan_block_rsv
ab4ccd42455a Btrfs: fix btrfs_evict_inode to handle abnormal inodes correctly
8228c6702d01 Btrfs: fix extent state leak from tree log
06c8273f434c Btrfs: fix crash due to not cleaning up tree log block's dirty bits
3a695ffd7d33 Btrfs: fix deadlock in run_delalloc_nocow
917f5807f0a5 dm: correctly handle chained bios in dec_pending()
a4cd422f3105 iscsi-target: make sure to wake up sleeping login worker
7d772e3a730d target/iscsi: avoid NULL dereference in CHAP auth error path
b5291a94daab blk-wbt: account flush requests correctly
d301a3f8ab11 xprtrdma: Fix BUG after a device removal
e154c64806f8 xprtrdma: Fix calculation of ri_max_send_sges
ded318a8634b arm64: proc: Set PTE_NG for table entries to avoid traversing them twice
802061188f09 rtlwifi: rtl8821ae: Fix connection lost problem correctly
1e6c184e415e mpls, nospec: Sanitize array index in mpls_label_ok()
95f92d0a0ca9 tracing: Fix parsing of globs with a wildcard at the beginning
2931553cea57 seq_file: fix incomplete reset on read from zero offset
54de83d07a18 xenbus: track caller request id
a616290d6a5d xen: Fix {set,clear}_foreign_p2m_mapping on autotranslating guests
f831b1c82feb rbd: whitelist RBD_FEATURE_OPERATIONS feature bit
221d3ee83504 console/dummy: leave .con_font_get set to NULL
c3817658ceef video: fbdev: atmel_lcdfb: fix display-timings lookup
335d3af5fe8a PCI: keystone: Fix interrupt-controller-node lookup
ff4d8f0acd98 PCI: pciehp: Assume NoCompl+ for Thunderbolt ports
e930e724e0b5 PCI: iproc: Fix NULL pointer dereference for BCMA
b5cbe36dcee9 PCI: Disable MSI for HiSilicon Hip06/Hip07 only in Root Port mode
c39240eeac9f MIPS: Fix incorrect mem=X@Y handling
701241f406bc MIPS: CPS: Fix MIPS_ISA_LEVEL_RAW fallout
a258db30df67 MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN
3291fcf983a2 mm: Fix memory size alignment in devm_memremap_pages_release()
327b199512b4 mm: hide a #warning for COMPILE_TEST
efb5d2d65820 ext4: correct documentation for grpid mount option
e1dab5d7ea9f ext4: save error to disk in __ext4_grp_locked_error()
385daa60a706 ext4: fix a race in the ext4 shutdown path
08d8ce8cc0de jbd2: fix sphinx kernel-doc build warnings
c71989fe3730 Revert "apple-gmux: lock iGP IO to protect from vgaarb changes"
1ae2c3ae98b8 mlx5: fix mlx5_get_vector_affinity to start from completion vector 0
da40ab64894b Revert "mmc: meson-gx: include tx phase in the tuning process"
25ca7976fa79 mmc: bcm2835: Don't overwrite max frequency unconditionally
f56ed42361d2 mmc: sdhci: Implement an SDHCI-specific bounce buffer
ecfb5cd05789 mbcache: initialize entry->e_referenced in mb_cache_entry_create()
daa21b8dbc29 rtc-opal: Fix handling of firmware error codes, prevent busy loops
e5394e1050a1 x86/smpboot: Fix uncore_pci_remove() indexing bug when hot-removing a physical CPU
f7bbb8cc9ef5 drm/radeon: adjust tested variable
3f08088bd77e drm/radeon: Add dpm quirk for Jet PRO (v2)
186f99730498 arm64: Add missing Falkor part number for branch predictor hardening
a69091bf7e21 drm: Check for lessee in DROP_MASTER ioctl
6098f2b5d190 drm/ast: Load lut in crtc_commit
ca1c50fb1ace drm/amd/powerplay: Fix smu_table_entry.handle type
a8c0779fbff8 drm/qxl: reapply cursor after resetting primary
f80082e5edf6 drm/qxl: unref cursor bo when finished with it
ce0f840e7072 drm/ttm: Fix 'buf' pointer update in ttm_bo_vm_access_kmap() (v2)
5c73538a5312 drm/ttm: Don't add swapped BOs to swap-LRU list
08f4c47a9415 x86/entry/64: Fix CR3 restore in paranoid_exit()
738bd3107bdd x86/cpu: Change type of x86_cache_size variable to unsigned int
ceb5eab28159 x86/spectre: Fix an error message
7d6446416778 x86/cpu: Rename cpu_data.x86_mask to cpu_data.x86_stepping
76f0b81aaef6 selftests/x86/mpx: Fix incorrect bounds with old _sigfault
3786b49d8260 x86/mm: Rename flush_tlb_single() and flush_tlb_one() to __flush_tlb_one_[user|kernel]()
00ef27460aa2 x86/speculation: Add <asm/msr-index.h> dependency
ca05b6adda6f nospec: Move array_index_nospec() parameter checking into separate macro
5dd2e45e8121 x86/speculation: Fix up array_index_nospec_mask() asm constraint
9a01e5477fa4 x86/debug: Use UD2 for WARN()
f7c4d5f9c5b3 x86/debug, objtool: Annotate WARN()-related UD2 as reachable
636aaf1b6d84 objtool: Fix segfault in ignore_unreachable_insn()
b2fceb82f99d selftests/x86: Disable tests requiring 32-bit support on pure 64-bit systems
9b580b1c4eb8 selftests/x86: Do not rely on "int $0x80" in single_step_syscall.c
16446615747e gfs2: Fixes to "Implement iomap for block_map"
c67f48ee85e4 selftests/x86: Do not rely on "int $0x80" in test_mremap_vdso.c
dd64b34f50c9 selftests/x86: Fix build bug caused by the 5lvl test which has been moved to the VM directory
a703766238d1 selftests/x86/pkeys: Remove unused functions
c34c85d1fda8 selftests/x86: Clean up and document sscanf() usage
2547dc25e49f selftests/x86: Fix vDSO selftest segfault for vsyscall=none
639a0bc5556b x86/entry/64: Remove the unused 'icebp' macro
59ec9d8596c7 x86/entry/64: Fix paranoid_entry() frame pointer warning
fc0a1888a19e x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly
1bbd8cc75975 x86/entry/64: Get rid of the ALLOC_PT_GPREGS_ON_STACK and SAVE_AND_CLEAR_REGS macros
dee24cc0d177 x86/entry/64: Use PUSH_AND_CLEAN_REGS in more cases
9b45975b10af x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro
6a783fb001df x86/entry/64: Interleave XOR register clearing with PUSH instructions
a03cd0b454bd x86/entry/64: Merge the POP_C_REGS and POP_EXTRA_REGS macros into a single POP_REGS macro
edfd139e92a7 x86/entry/64: Merge SAVE_C_REGS and SAVE_EXTRA_REGS, remove unused extensions
c32edeec8de8 x86/entry/64: Clear registers for exceptions/interrupts, to reduce speculation attack surface
d952c8406449 platform/x86: wmi: fix off-by-one write in wmi_dev_probe()
779335757a39 PM: cpuidle: Fix cpuidle_poll_state_init() prototype
6804856af9a8 PM / runtime: Update links_count also if !CONFIG_SRCU
8453b536660f x86/speculation: Clean up various Spectre related details
c587622856c0 KVM/nVMX: Set the CPU_BASED_USE_MSR_BITMAPS if we have a valid L02 MSR bitmap
d765b10e7419 X86/nVMX: Properly set spec_ctrl and pred_cmd before merging MSRs
f1a374a629ca KVM/x86: Reduce retpoline performance impact in slot_handle_level_range(), by always inlining iterator helper methods
ae2fbb44c78a Revert "x86/speculation: Simplify indirect_branch_prediction_barrier()"
737281fefceb x86/speculation: Correct Speculation Control microcode blacklist again
66c27c3873f6 x86/speculation: Update Speculation Control microcode blacklist
3e33ab3ca43f x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()
d5a6896dd598 powerpc/mm/radix: Split linear mapping on hot-unplug
067e114886eb crypto: sun4i_ss_prng - convert lock to _bh in sun4i_ss_prng_generate
e0ec77b5bedd crypto: sun4i_ss_prng - fix return value of sun4i_ss_prng_generate
0a7130d20c14 compiler-gcc.h: __nostackprotector needs gcc-4.4 and up
05ae7a5dd4e3 compiler-gcc.h: Introduce __optimize function attribute
19af2585aa36 x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surface
4d94b7f11bbc x86/entry/64: Clear extra registers beyond syscall arguments, to reduce speculation attack surface
19228d4e49f3 mm, memory_hotplug: fix memmap initialization
7cdd5cf281ce x86: PM: Make APM idle driver initialize polling state
ef1761edcea2 x86/xen: init %gs very early to avoid page faults with stack protector
26913c7c71bb x86/kexec: Make kexec (mostly) work in 5-level paging mode
15c8d36723f5 x86/gpu: add CFL to early quirks
9159658a6441 arm: spear13xx: Fix spics gpio controller's warning
2429d573bc20 arm: spear13xx: Fix dmas cells
17823ed21725 arm: spear600: Add missing interrupt-parent of rtc
a3eae21e25b2 arm: dts: mt7623: fix card detection issue on bananapi-r2
578a06516a49 ARM: dts: nomadik: add interrupt-parent for clcd
52cfc570e8e8 ARM: dts: STi: Add gpio polarity for "hdmi,hpd-gpio" property
8d2ca011bd8b ARM: lpc3250: fix uda1380 gpio numbers
665129cf7fbb arm64: dts: msm8916: Correct ipc references for smsm
916d0961f318 s390: fix handling of -1 in set{,fs}[gu]id16 syscalls
0154ce677dc9 dma-buf: fix reservation_object_wait_timeout_rcu once more v2
1963cbbf9152 powerpc/xive: Use hw CPU ids when configuring the CPU queues
804c8aaff6dd powerpc/mm: Flush radix process translations when setting MMU type
dfff7773e02e powerpc/numa: Invalidate numa_cpu_lookup_table on cpu remove
40cbe0f92116 powerpc/vas: Don't set uses_vas for kernel windows
676fafcce904 powerpc/kernel: Block interrupts when updating TIDR
8119b8ed2062 powerpc/radix: Remove trace_tlbie call from radix__flush_tlb_all
07028908f181 trace_uprobe: Display correct offset in uprobe_events
6c5244c54902 ocfs2: try a blocking lock before return AOP_TRUNCATED_PAGE
3455777ab90e mwifiex: resolve reset vs. remove()/shutdown() deadlocks
0db649a48778 PM / devfreq: Propagate error from devfreq_add_device()
ed77f6599252 swiotlb: suppress warning when __GFP_NOWARN is set
819905fc8458 cpufreq: powernv: Dont assume distinct pstate values for nominal and pmin
872ebeef0faf RDMA/rxe: Fix rxe_qp_cleanup()
fe8220f6a95c RDMA/rxe: Fix a race condition in rxe_requester()
30a032e09618 RDMA/rxe: Fix a race condition related to the QP error state
5a5fbae808a8 kselftest: fix OOM in memory compaction test
1e0802f65fcb selftests: seccomp: fix compile error seccomp_bpf
e42e049c0248 IB/core: Avoid a potential OOPs for an unused optional parameter
e9e368446931 IB/core: Fix ib_wc structure size to remain in 64 bytes boundary
17890e8494f2 IB/core: Fix two kernel warnings triggered by rxe registration
7ff37378d884 IB/mlx4: Fix incorrectly releasing steerable UD QPs when have only ETH ports
9f298cc55e14 IB/qib: Fix comparison error with qperf compare/swap test
d4473f8c2fa5 IB/umad: Fix use of unprotected device pointer
d5610050475e scsi: smartpqi: allow static build ("built-in")
bb61956d9d9f Linux 4.15.4
f246c4e6d286 rcu: Export init_rcu_head() and destroy_rcu_head() to GPL modules
8b159566ab29 scsi: cxlflash: Reset command ioasc
5dbe7be7e522 scsi: lpfc: Fix crash after bad bar setup on driver attachment
3dcf4935d1df scsi: core: Ensure that the SCSI error handler gets woken up
d73763b92944 ftrace: Remove incorrect setting of glob search field
4d5d5e9612e7 devpts: fix error handling in devpts_mntget()
8ec68ce24fd1 mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy
2433367ce69e ovl: hash directory inodes for fsnotify
06b4cf20d166 ovl: take mnt_want_write() for removing impure xattr
65989bff55e8 ovl: take mnt_want_write() for work/index dir setup
fc103afa3390 ovl: fix failure to fsync lower dir
e14a5067b13c ovl: force r/o mount when index dir creation fails
74ef3034525a acpi, nfit: fix register dimm error handling
1a9b65ce3165 ACPI: sbshc: remove raw pointer from printk() message
a18ff97b8fff drm/i915: Avoid PPS HW/SW state mismatch due to rounding
7217671ff5ad arm64: dts: marvell: add Ethernet aliases
e8217faccb47 objtool: Fix switch-table detection
1396715adadb lib/ubsan: add type mismatch handler for new GCC/Clang
157bb32f826c lib/ubsan.c: s/missaligned/misaligned/
7a8ca66b3b26 clocksource/drivers/stm32: Fix kernel panic with multiple timers
83cfeb15b960 blk-mq: quiesce queue before freeing queue
b3e1e2d54d4f pktcdvd: Fix a recently introduced NULL pointer dereference
7a6938e21159 pktcdvd: Fix pkt_setup_dev() error path
d4d9ac623f3c pinctrl: sx150x: Add a static gpio/pinctrl pin range mapping
12cbc6636acf pinctrl: sx150x: Register pinctrl before adding the gpiochip
c56a74735860 pinctrl: sx150x: Unregister the pinctrl on release
178e4288c014 pinctrl: mcp23s08: fix irq setup order
25484773c7a9 pinctrl: intel: Initialize GPIO properly when used through irqchip
787229894896 genirq: Make legacy autoprobing work again
141fce350f00 EDAC, octeon: Fix an uninitialized variable warning
36ea5adbf38e xtensa: fix futex_atomic_cmpxchg_inatomic
aa38e58d15ab alpha: fix formating of stack content
aa117ce7d303 alpha: fix reboot on Avanti platform
3bbebfe82495 alpha: Fix mixed up args in EXC macro in futex operations
c3135742ca71 alpha: osf_sys.c: fix put_tv32 regression
190d1ab5450c alpha: fix crash if pthread_create races with signal delivery
24faada95fbe signal/sh: Ensure si_signo is initialized in do_divide_error
cce3b22f14dd signal/openrisc: Fix do_unaligned_access to send the proper signal
4574b506d634 ipmi: use dynamic memory for DMI driver override
457ad223c59d Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version
7ac3d11aba75 Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"
ea0c164b5895 Bluetooth: btsdio: Do not bind to non-removable BCM43341
062b49f817aa HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working
f877972bcf62 pipe: fix off-by-one error when checking buffer limits
4f361f601c04 pipe: actually allow root to exceed the pipe buffer limits
b4ae624fc003 kernel/relay.c: revert "kernel/relay.c: fix potential memory leak"
c84c68fc2321 kernel/async.c: revert "async: simplify lowest_in_progress()"
20819e0cdfa8 fs/proc/kcore.c: use probe_kernel_read() instead of memcpy()
c578f7ee61fe media: cxusb, dib0700: ignore XC2028_I2C_FLUSH
1bddff4ff67e media: vivid: fix module load error when enabling fb and no_error_inj=1
cefbd21480dd media: ts2020: avoid integer overflows on 32 bit machines
de87fcee48bc media: dt-bindings/media/cec-gpio.txt: mention the CEC/HPD max voltages
ec1eeaf5b6c1 media: dvb-frontends: fix i2c access helpers for KASAN
2058517f456c media: dvb_frontend: be sure to init dvb_frontend_handle_ioctl() return code
b6de976631b2 kasan: rework Kconfig settings
6d5dd742cbf5 kasan: don't emit builtin calls when sanitization is off
5e2dee3fc6e0 Btrfs: raid56: iterate raid56 internal bio with bio_for_each_segment_all
04f417b0312c btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker
51611b5d19a5 afs: Fix server list handling
a0a594704ff3 afs: Fix missing cursor clearance
8b690011c27d afs: Need to clear responded flag in addr cursor
da89b2d752e9 afs: Add missing afs_put_cell()
03a7be790fc9 watchdog: imx2_wdt: restore previous timeout after suspend+resume
16c4b6e0c064 ASoC: compress: Correct handling of copy callback
5711cf9b8908 ASoC: skl: Fix kernel warning due to zero NHTL entry
3a042d14100f ASoC: rockchip: i2s: fix playback after runtime resume
6bd298ee74d8 ASoC: acpi: fix machine driver selection based on quirk
8000c0f57633 KVM: PPC: Book3S PR: Fix broken select due to misspelling
47415812fec3 KVM: arm/arm64: Handle CPU_PM_ENTER_FAILED
703f0395362a KVM: PPC: Book3S HV: Drop locks before reading guest memory
0e46778efc9f KVM: PPC: Book3S HV: Make sure we don't re-enter guest without XIVE loaded
8285c292436c KVM: nVMX: Fix bug of injecting L2 exception into L1
5cb7e6931e52 KVM: nVMX: Fix races when sending nested PI while dest enters/leaves L2
8d3bb572ef44 arm: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
e76a4b126d1e crypto: talitos - fix Kernel Oops on hashing an empty file
97905e9cf76a crypto: sha512-mb - initialize pending lengths correctly
bde50164e671 crypto: caam - fix endless loop when DECO acquire fails
d971cb5f5fbd media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs
76db969a3bbf media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic
11fe1040030e media: v4l2-compat-ioctl32.c: don't copy back the result for certain errors
1cc643ab48ee media: v4l2-compat-ioctl32.c: drop pr_info for unknown buffer type
2b14d31a951e media: v4l2-compat-ioctl32.c: copy clip list in put_v4l2_window32
4e364b677035 media: v4l2-compat-ioctl32.c: fix ctrl_is_pointer
9c15a21a0737 media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32
e5294484a664 media: v4l2-compat-ioctl32.c: avoid sizeof(type)
991030bd0aa7 media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32
dc9a62adcd76 media: v4l2-compat-ioctl32.c: fix the indentation
d57714a7c0f2 media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF
fc174e6cbdee media: v4l2-ioctl.c: don't copy back the result for -ENOTTY
1113a74590b4 media: v4l2-ioctl.c: use check_fmt for enum/g/s/try_fmt
46e8d06e423c crypto: hash - prevent using keyed hashes without setting key
cec606a62e01 crypto: hash - annotate algorithms taking optional key
b5e994037f37 crypto: poly1305 - remove ->setkey() method
a3b6f7d313af crypto: mcryptd - pass through absence of ->setkey()
f034d24fcef8 crypto: cryptd - pass through absence of ->setkey()
927a0dd1c4de crypto: hash - introduce crypto_hash_alg_has_setkey()
d53f47c224c1 ahci: Add Intel Cannon Lake PCH-H PCI ID
bd3b3e9b0520 ahci: Add PCI ids for Intel Bay Trail, Cherry Trail and Apollo Lake AHCI
d714ff511458 ahci: Annotate PCI ids for mobile Intel chipsets as such
8d94a30179ca kernfs: fix regression in kernfs_fop_write caused by wrong type
0e61f8b07b57 nfsd: Detect unhashed stids in nfsd4_verify_open_stid()
782b4e79ceaa NFS: Fix a race between mmap() and O_DIRECT
0645878a34d0 NFS: reject request for id_legacy key without auxdata
60af9d47409c NFS: commit direct writes even if they fail partially
6d301c957faf NFS: Fix nfsstat breakage due to LOOKUPP
09f453630a5c NFS: Add a cond_resched() to nfs_commit_release_pages()
4be335576eca nfs41: do not return ENOMEM on LAYOUTUNAVAILABLE
d2a7f7a32d70 nfs/pnfs: fix nfs_direct_req ref leak when i/o falls back to the mds
79fca845f0e4 ubifs: free the encrypted symlink target
973f83fab1b1 ubi: block: Fix locking for idr_alloc/idr_remove
155e260ffa14 ubi: fastmap: Erase outdated anchor PEBs during attach
85f7a399a372 ubi: Fix race condition between ubi volume creation and udev
edb72dea6d46 mtd: nand: sunxi: Fix ECC strength choice
ed538bc15951 mtd: nand: Fix nand_do_read_oob() return value
b39c718d1a37 mtd: nand: brcmnand: Disable prefetch by default
4ea0377d0dcc mtd: cfi: convert inline functions to macros
d60ada32f9c1 arm64: Kill PSCI_GET_VERSION as a variant-2 workaround
e301ef818938 arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support
1b3173cc0818 arm/arm64: smccc: Implement SMCCC v1.1 inline primitive
5fa82723fa1b arm/arm64: smccc: Make function identifiers an unsigned quantity
eadba98b0dd9 firmware/psci: Expose SMCCC version through psci_ops
5195a21d5ba0 firmware/psci: Expose PSCI conduit
4a345e5e8731 arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling
7a1b576877dd arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support
8b423ee88829 arm/arm64: KVM: Turn kvm_psci_version into a static inline
d18561857b79 arm64: KVM: Make PSCI_VERSION a fast path
68894ca72b4d arm/arm64: KVM: Advertise SMCCC v1.1
9aecea071f02 arm/arm64: KVM: Implement PSCI 1.0 support
bfc67e088515 arm/arm64: KVM: Add smccc accessors to PSCI code
038a0579029d arm/arm64: KVM: Add PSCI_VERSION helper
bf9708a5df1e arm/arm64: KVM: Consolidate the PSCI include files
a2843529c774 arm64: KVM: Increment PC after handling an SMC trap
2458a525a4a9 arm64: Branch predictor hardening for Cavium ThunderX2
d2a40a765e31 arm64: Implement branch predictor hardening for Falkor
5152c0c11ccc arm64: Implement branch predictor hardening for affected Cortex-A CPUs
df65d7b1c194 arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75
40ad0b937384 arm64: entry: Apply BP hardening for suspicious interrupts from EL0
9444427e9f43 arm64: entry: Apply BP hardening for high-priority synchronous exceptions
9a7a2f40da4a arm64: KVM: Use per-CPU vector when BP hardening is enabled
7c2108a2db49 arm64: Move BP hardening to check_and_switch_context
24f07bba953d arm64: Add skeleton to harden the branch predictor against aliasing attacks
e8b634e69ce3 arm64: Move post_ttbr_update_workaround to C code
4f26eef7f241 drivers/firmware: Expose psci_get_version through psci_ops structure
4506169a1e1e arm64: cpufeature: Pass capability structure to ->enable callback
2e780011c8fd arm64: Run enable method for errata work arounds on late CPUs
68330fdd469b arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early
835662c5bd55 arm64: futex: Mask __user pointers prior to dereference
15814374752a arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user
9ca9d1c25789 arm64: uaccess: Don't bother eliding access_ok checks in __{get, put}_user
e11038f4c1c7 arm64: uaccess: Prevent speculative use of the current addr_limit
cf6df3266a91 arm64: entry: Ensure branch through syscall table is bounded under speculation
4d4e58257ef5 arm64: Use pointer masking to limit uaccess speculation
2a8a65a284c8 arm64: Make USER_DS an inclusive limit
a17d329d36c8 arm64: Implement array_index_mask_nospec()
83c5e4e3c634 arm64: barrier: Add CSDB macros to control data-value prediction
ed6cfd54cc9b perf: arm_spe: Fail device probe when arm64_kernel_unmapped_at_el0()
eefd900d3450 arm64: idmap: Use "awx" flags for .idmap.text .pushsection directives
b87b5ce113e1 arm64: entry: Reword comment about post_ttbr_update_workaround
ccb60ecfe878 arm64: Force KPTI to be disabled on Cavium ThunderX
173358a49173 arm64: kpti: Add ->enable callback to remap swapper using nG mappings
1e41ebd20f59 arm64: mm: Permit transitioning from Global to Non-Global without BBM
3fb3a06fb821 arm64: kpti: Make use of nG dependent on arm64_kernel_unmapped_at_el0()
56e4bdb0a3e9 arm64: Turn on KPTI only on CPUs that need it
cb132ae43a2a arm64: cputype: Add MIDR values for Cavium ThunderX2 CPUs
e7a062e77db3 arm64: kpti: Fix the interaction between ASID switching and software PAN
7036e5f6774e arm64: mm: Introduce TTBR_ASID_MASK for getting at the ASID in the TTBR
e0b74ca82f28 arm64: capabilities: Handle duplicate entries for a capability
f39015ae7127 arm64: Take into account ID_AA64PFR0_EL1.CSV3
14a756c2fda0 arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry
8c17f836255d arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0
feace1c8f6eb arm64: use RET instruction for exiting the trampoline
6eac605e7103 arm64: kaslr: Put kernel vectors address in separate data page
064607a4fd29 arm64: entry: Add fake CPU feature for unmapping the kernel at EL0
0b5deee12ce7 arm64: tls: Avoid unconditional zeroing of tpidrro_el0 for native tasks
a5ed8761f801 arm64: cpu_errata: Add Kryo to Falkor 1003 errata
26ce07109300 arm64: erratum: Work around Falkor erratum #E1003 in trampoline code
89685f858b8f arm64: entry: Hook up entry trampoline to exception vectors
3117e455eee9 arm64: entry: Explicitly pass exception level to kernel_ventry macro
3f14b03dde8c arm64: mm: Map entry trampoline into trampoline and kernel page tables
a1f8eeab0e78 arm64: entry: Add exception trampoline page for exceptions from EL0
392bb3ba6865 arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI
68e3fee6ea5c arm64: mm: Add arm64_kernel_unmapped_at_el0 helper
75802ca67d6b arm64: mm: Allocate ASIDs in pairs
9c3ad6e6b827 arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN
fc29c581cdf3 arm64: mm: Rename post_ttbr0_update_workaround
e5b604c97b91 arm64: mm: Remove pre_ttbr0_update_workaround for Falkor erratum #E1003
9586273ff1f8 arm64: mm: Move ASID from TTBR0 to TTBR1
2c8c2e969339 arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN
541214369fcb arm64: mm: Use non-global mappings for kernel space
2eeaddcc139b media: hdpvr: Fix an error handling path in hdpvr_probe()
2d1073cfbe78 media: dvb-usb-v2: lmedm04: move ts2020 attach to dm04_lme2510_tuner
20f3bae5957e media: dvb-usb-v2: lmedm04: Improve logic checking of warm start
410179dfc2b8 sched/rt: Up the root domain ref count when passing it around via IPIs
74adee6d7b79 sched/rt: Use container_of() to get root domain in rto_push_irq_work_func()
8709b63f2ebc Revert "drm/i915: mark all device info struct with __initconst"
bf8b6ada9508 watchdog: gpio_wdt: set WDOG_HW_RUNNING in gpio_wdt_stop
5577da97bd3f ssb: Do not disable PCI host on non-Mips
a52b839c8d65 dmaengine: dmatest: fix container_of member in dmatest_callback
76eac767a85b cpufreq: mediatek: add mediatek related projects into blacklist
6cb0b894e128 CIFS: zero sensitive data when freeing
44fe87e83650 cifs: Fix autonegotiate security settings mismatch
a0f967b072c9 cifs: Fix missing put_xid in cifs_file_strict_mmap
e4fb3fda25d6 watchdog: indydog: Add dependency on SGI_HAS_INDYDOG
(From OE-Core rev: 9740c4b037a43801516af93fac0345b740592d35)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While we don't normally follow all the -stable updates for libc-headers, there
was one userspace header that was broken in the 4.15 cycle, and it has now
been fixed in -stable.
The offending header breaks the build for several packages, so we update to
pick up this change:
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date: Mon Feb 12 23:59:51 2018 +0100
uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define
commit da360299b6734135a5f66d7db458dcc7801c826a upstream.
This fixes a compile problem of some user space applications by not
including linux/libc-compat.h in uapi/if_ether.h.
linux/libc-compat.h checks which "features" the header files, included
from the libc, provide to make the Linux kernel uapi header files only
provide no conflicting structures and enums. If a user application mixes
kernel headers and libc headers it could happen that linux/libc-compat.h
gets included too early where not all other libc headers are included
yet. Then the linux/libc-compat.h would not prevent all the
redefinitions and we run into compile problems.
This patch removes the include of linux/libc-compat.h from
uapi/if_ether.h to fix the recently introduced case, but not all as this
is more or less impossible.
It is no problem to do the check directly in the if_ether.h file and not
in libc-compat.h as this does not need any fancy glibc header detection
as glibc never provided struct ethhdr and should define
__UAPI_DEF_ETHHDR by them self when they will provide this.
The following test program did not compile correctly any more:
#include <linux/if_ether.h>
#include <netinet/in.h>
#include <linux/in.h>
int main(void)
{
return 0;
}
Fixes: 6926e041a892 ("uapi/if_ether.h: prevent redefinition of struct ethhdr")
Reported-by: Guillaume Nault <g.nault@alphalink.fr>
Cc: <stable@vger.kernel.org> # 4.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
We also add a new muslc patch to adjust the ethhdr change in the uapi. As is
suggested in the kernel commit, we can protect musl directly in if_ether itself.
(From OE-Core rev: 1718a2dbabd05e51717b17327d531948faa64659)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These symbols appear in dynsyms of libsystemd.so and musl loader
doesnt like it
Error relocating /mnt/a/oe/build/tmp/work/i586-bec-linux-musl/avahi/0.7-r0/recipe-sysroot//lib/libsystemd.so.0: __start_BUS_ERROR_MAP: symbol not found
Error relocating /mnt/a/oe/build/tmp/work/i586-bec-linux-musl/avahi/0.7-r0/recipe-sysroot//lib/libsystemd.so.0: __stop_BUS_ERROR_MAP: symbol not found
[YOCTO #12577]
(From OE-Core rev: a54b025bfde774353aa278ca78fa0116c52b6d71)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In cases when a package like qemu might have files with same names
in multiple directories, the rename logic might go wrong and create
multiple rename pair for a single directory.
Make sure that we process each rename pair once. Also, don't print
FILELIST as part of PKGSIZE to ensure that it gets printed only once
when reporting package changes.
Fixes [YOCTO #12559]
(From OE-Core rev: cff000c43d6e9a183911338951026dfbef88f838)
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>
* Use PACKAGECONFIG for pam instead of two bb.utils.contains
* Add leading whitespace to EXTRA_OEMAKE_append_libc_musl
* Usr lnr in do_install_append rather than a sed generated
../-sequence.
(From OE-Core rev: 02416e0d007c6c0f8c01a1e1fe0485b21087ec00)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
util-linux installs kill as ${base_bindir}/kill. coreutils installs kill as
${bindir}/kill. If base_bindir and bindir are the same (as they are in
meta-micro) then this causes a conflict for recipes that depend on
util-linux-native and coreutils-native.
This means that in the unlikely event that a recipe needs to run kill
during the build, it will need to depend on coreutils-native.
core-image-sato built successfully for me with this change.
(From OE-Core rev: 5569e6ef3ef646fa498f59b8dae1d5d34d0bb9c3)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: License file changes are due to updates in Version and Copyright date
(From OE-Core rev: cdf16bb9751603fdb0340c03ef43f193918d31df)
Signed-off-by: youngseok <earwigz32@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a minor release, announced in March 5th, 2018, which includes
following changes:
,----
| Andrey Grodzovsky (1):
| amdgpu: Fix mistake in initial hole size calculation.
|
| Christian König (3):
| amdgpu: mostly revert "use the high VA range if possible v2"
| amdgpu: add AMDGPU_VA_RANGE_HIGH
| amdgpu: fix "add AMDGPU_VA_RANGE_HIGH"
|
| Chunming Zhou (1):
| test/amdgpu: disable bo eviction test by default
|
| Eric Engestrom (1):
| meson: add configuration summary
|
| Heiko Becker (1):
| *-symbol-check: Don't hard-code nm executable
|
| Igor Gnatenko (1):
| meson: do not use cairo/valgrind if disabled
|
| Jonathan Gray (1):
| meson/configure.ac: pthread-stubs not present on OpenBSD
|
| Marek Olšák (2):
| meson: bump the version number
| RELEASING: mention meson
|
| Michel Dänzer (1):
| tests/amdgpu: Fix misspellings of "suite"
|
| Rob Clark (2):
| freedreno: add interface to get buffer address
| bump version for release
|
| Rob Herring (4):
| android: revert making handle magic and version members const
| android: fix mis-named alloc_handle_t
| android: add helper to convert buffer_handle_t to gralloc_handle_t ptr
| android: fix gralloc_handle_create() problems
|
| Thierry Reding (2):
| drm/fourcc: Fix fourcc_mod_code() definition
| drm/tegra: Sanitize format modifiers
`----
(From OE-Core rev: eef14164fb663d722234dbaf98611cf7ff0043d9)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0.6.32 -> 0.6.33
* new Selection.clone() method in the bindings
* new pool.parserpmrichdep() method in the bindings
* fix bad assignment in solution refinement that led to a memory leak
* use license tag instead of doc in the spec file [bnc#1082318]
(From OE-Core rev: 57a4c4bc5fddf920af2745d7d9ff87a76bdd9807)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: checksum change is due to bump in copyright year
to 2018.
(From OE-Core rev: 1ab66475eb296dd0edab13d32eb1b47e600e38f9)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Target binaries linked with libfl currently generate a runtime
dependency on the entire flex package (and therefore m4 and bison
too). Copy Debian's approach and create a separate package for libfl.
(From OE-Core rev: 1bc6ad19d56498847dc95cce0ea371ba77eff143)
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>
A patch went in (in 4aaf747) without a proper signed-off-by
because the project (in its upstream repository) does not use
Git.
This will take care of that before spreading the patch to
other branches.
(From OE-Core rev: b8ddb0c8d79b969fff40e0fdfbeeef214a338ebe)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Respect GTKDOC_ENABLED when inheriting python3native and DEPENDing on
qemu-native, as they're not needed when disabled.
python3native is required as otherwise the host Python is most likely used which
may or may not have python3-six installed (a requirement of gtk-doc).
(From OE-Core rev: b93386b22e1dc78b2917652dac4ad02745a99989)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libfm uses glib-gettextize so explicitly depend on glib-2.0-native.
Instead of depending on gettext-native, inherit gettext.
(From OE-Core rev: 9c367c92df0ca8afe0a75b066fdc9e21560d57ff)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
valgrind currently does not know anything about the CPUID flag added to
the HWCAP auxv entry in kernel 4.11+
At runtime it will fails like this:
ARM64 front end: branch_etc
disInstr(arm64): unhandled instruction 0xD5380001
disInstr(arm64): 1101'0101 0011'1000 0000'0000 0000'0001 ==2082==
valgrind: Unrecognised instruction at address 0x4014e64.
This patch is a workaround by masking all HWCAP. This patch is dervied
from https://bugzilla.redhat.com/show_bug.cgi?id=1464211
(From OE-Core rev: cdeb3d530af6cec1959c986aff3d6906939c8918)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have a package that does not generate a manifest due to using a
noexec rule, the package name should be printed so the problem can be
tracked down. With out the patch you get an error that makes it look
more like the package_manager is broken as shown below.
oe-core/meta/lib/oe/package_manager.py', lineno: 534, function: create_packages_dir
0530:
0531: for dep in rpmdeps:
0532: c = taskdepdata[dep][0]
0533: manifest, d2 = oe.sstatesig.find_sstate_manifest(c, taskdepdata[dep][2], taskname, d, multilibs)
*** 0534: if not os.path.exists(manifest):
0535: continue
0536: with open(manifest, "r") as f:
0537: for l in f:
0538: l = l.strip()
File: '/usr/lib/python3.5/genericpath.py', lineno: 19, function: exists
0015:# This is false for dangling symbolic links on systems that support them.
0016:def exists(path):
0017: """Test whether a path exists. Returns False for broken symbolic links"""
0018: try:
*** 0019: os.stat(path)
0020: except OSError:
0021: return False
0022: return True
0023:
Exception: TypeError: stat: can't specify None for path argument
(From OE-Core rev: 21924fdba286e5962b1680601664dc0491527e25)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been fixed upstream since 008, albeit slightly differently so the patch
continued to apply.
(From OE-Core rev: e65ec7a68de6a0d409a5750b2fbd7ebca9acf5a3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: eb7632f593b81066da4de44bc001974d6726a118)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 453a433768bff76e4d3ad9bf40fd9d8210b0950e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: a9f9ca73840d1e6911e496a32ee862a724615b50)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 4a3d8806d25e146be40eaf640bc6da8bdd1b6e05)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: e3e8c2ec038c95d8203c4886ef46aec6b0741837)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: fc856d4539a13f1ea6bf7ce347e9ca85577ecfb8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: e0a363d3374738d1bc8a0889dade83d2c35ef964)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 4a0c9bb514ff3d6966f1da480cd48c076403f58d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: b45ce6dbbd459ecc96eae76b5695927dbda1dbb4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7c8e3b9bd26b35654f3bd24bbb8d86b8c6e34a67)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: a441306ce9de4ca1cc07dfb8aa330e8d6d67e651)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: d7696f5f89ac94b5cae13c5e07d6d4c7133c3ed9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 2526fcfac8e360d5d27f5ebe26608df470b3b84b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 4bfeaf65d3f48174d27af09ac4279c1c91bf4104)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: a17860995731ab1e327bf88953fa3ed4641b584e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 24674afaf90491e898bfd2c12992a1b5c5e8d2f4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 319de7e44f9fc853b53f2628abaf640d8241f615)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: f369e9dce9dc2bcd89b2492545112da78aca690e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 1aa6e504b21d1e7290d81af8fc7863053269a196)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 0902bef12c815f302f04fa28606ece4b014260d6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 18300f8faa5050178efcd22f2db843f9b3f3bb0f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: b1fa565ffa02796eaa55f5ac6700f1a932d62957)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: d71d6854fadc96fc3c75617af3beba02952fdef6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 68d567bd64debc3dfb37df3c814287549da56a3b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7ac8688c9fce49a005cbe9afe028453f6fea4e79)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 5a72d04296cc7aea5893cba29c6da1cf1469911b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9f15e5256eb79c8cfc4b3a4e11617eeb5f38edea)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The taskset command is provided by both busybox and util-linux.
(From OE-Core rev: 83a36fb20f8cb0e45295cb71b76e74af3986f993)
Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This error can appear in gdb/nat/linux-ptrace.c because of
the order in which some headers are processed:
| In file included from ../../gdb-7.11.1/gdb/nat/linux-ptrace.c:20:0:
| ../../gdb-7.11.1/gdb/nat/linux-ptrace.h:175:22: error: expected identifier before numeric constant
| # define TRAP_HWBKPT 4
| ^
| Makefile:2357: recipe for target 'linux-ptrace.o' failed
| make[2]: *** [linux-ptrace.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory '/oe/build/tmp-rpb-glibc/work/aarch64-linaro-linux/gdb/7.11.1-r0/build-aarch64-linaro-linux/gdb'
| Makefile:8822: recipe for target 'all-gdb' failed
| make[1]: *** [all-gdb] Error 2
| make[1]: Leaving directory '/oe/build/tmp-rpb-glibc/work/aarch64-linaro-linux/gdb/7.11.1-r0/build-aarch64-linaro-linux'
| Makefile:846: recipe for target 'all' failed
| make: *** [all] Error 2
A patch from GDB's current master solves the issue.
(From OE-Core rev: 4aaf747099714ec11158571527396ed9e818729e)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various builds of e2fsprogs 1.43.7 package locales which may or may
not have POT-Creation-Date removed. There is no obvious pattern, it
affects different locales each time, the build being non-deterministic.
The root cause was tracked to non-deterministic time stamps (as GIT does
not preserve file mktime), so some "make" rules sometimes fired, sometimes
did not.
The remedy is to explicitly "touch" files that cause non-deterministic build.
[YOCTO #12516]
(From OE-Core rev: b32f3b655189fd89dcfce084b6fda0d379300f75)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some implementations of GBM, like the one included with
libMali, do not have gbm_bo_map() nor gbm_bo_unmap().
This patch enables kmscube to work with those implementations
even if it doesn't work as great.
(From OE-Core rev: 54615151da5e8c77c803947ce5760d06c1691c58)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should use the value of CC for the c compiler setting in cross
compilation configuration file for meson. For example, if we only
use ${HOST_PREFIX}gcc instead of ${CC}, we would meet the following
do_compile failure for systemd.
cc1: fatal error: linux/capability.h: No such file or directory
Do the same change for LD, AR, NM, STRIP and READELF.
(From OE-Core rev: 177bd96a531fcc85e62baff04aba327e2bccee07)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed by dtdiff which calls `diff` to display its result.
(From OE-Core rev: ace8b318038389c07694ae5234811ce92982ddc8)
Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Required by the new dtc rdepends to avoid errors like this:
ERROR: Required build target 'ionel-rpi-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['ionel-rpi-image', 'nativesdk-packagegroup-sdk-host', 'nativesdk-qemu', 'nativesdk-dtc', 'nativesdk-diffutils']
(From OE-Core rev: dc3829f31bcc7522e8eb457623a74655a738c0d9)
Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many go packages can take advantage of dep tool since
they manage their own dependencies, this class helps
in using go dep tool for such packages
(From OE-Core rev: 9bea8313b0dd5a6af08d15ee8634fe2ef9ee0f75)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
since GO_LDFLAGS is also used by the dist tool, and it's confusing
to use a variable with the same name (but not exported, so unused
by make.bash/dist).
(From OE-Core rev: b5ee166307ea095c77237e06744dff6810800bad)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
to allow go programs to be linked either statically or
dynamically when cross-compiling with the SDK.
(From OE-Core rev: d2201447692940a5b21977fc28e6b944e3a53d3c)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The statically-linked Go code in the toolchain is not compatible
with PIE, so disable its use in the C compiler during the
toolchain build.
(From OE-Core rev: cc7b179917c715b29822200fe91ecd755a5750e6)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With go1.10 the NOPIE flags are only required for
MIPS target builds, and are now incompatible for
the other architectures.
(From OE-Core rev: f2ff90eb7d27a2f69f5948fa8c301de30f5c8132)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Eliminate some redundancy in the recipes by moving
some commonly-used variable settings to the common
include file. Also removed a duplicate inherit
from go-target.inc that was already in go-common.inc.
(From OE-Core rev: e72d2a7b7ee7913095a35ae92c3ca364de00c8a7)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While useful on embedded devices for saving disk space, use
of shared runtime in Go is not the usual practice, so disable
it for nativesdk builds. We don't use it for native builds,
either, so this makes the SDK match the native environment
more closely.
(From OE-Core rev: fde7017f9735c0d317023022817b28771df53109)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Don't enable verbose test output (-test.v)
by default, as it generates too much noise
for automated results parsing
* Override do_install_ptest_base in the bbclass,
so recipes can provide their own modifications
with do_install_ptest.
* Improve the generated run-ptest script to better
handle large numbers of tests, and to generate
'status: test name' output similar to Automake
tests.
* Install all non-vendored 'testdata' directories
from the source into the ptest package, as some
packages share test data among multiple tests.
(From OE-Core rev: 11037462d80cefbee90a69e6a8a95895375ed6da)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Any directory in a Go package's source tree called
'testdata' contains test data, and isn't necessary
for building.
Some packages include ELF files and other binaries
as test data, and staging them in the sysroot and
-dev package leads to unnecessary QA warnings.
(From OE-Core rev: b013db7ab58d4d56ad5c6e54a3a32df31aaf8809)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'go env' in the do_compile function and
the set -x/+x in the do_install_ptest function
were used for debugging the bbclass, and aren't
really needed.
(From OE-Core rev: 351e9fc39408e094bbb4beedf51221adc8afd143)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
and export it. Go 1.10 now supports using this
separate variable locating its temporary files.
TMPDIR is still set, for compatibility with go1.9;
that can be dropped once 1.9 is retired.
(From OE-Core rev: ce9d70ae2f9981bf5b42641922c34c1ed54eeca3)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Go 1.10 adds support for selecting hard/soft float
object code through the GOMIPS environment variable.
(From OE-Core rev: f3cabc92dca3408da18f04e4af4051fba1f63c14)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Patches and recipes reworked for go 1.10's significant
changes to its bootstrap and build steps.
* Update go1.4 source tarball used for go-native
bootstrapping to the version recommended
in the current go documentation
* Remove test data from installed sources to eliminate
some packaging QA warnings
* Set GOCACHE to 'off' to disable 1.10's build caching
in the go recipes and bbclass
* Update go_do_compile to compile both static and
dynamic objects dynamic linking is in use, since
go1.10's build tool is pickier about this
(From OE-Core rev: 4fd749ca6450a4870be1c1e13802f084b6eb0db6)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to add to the local copy of overrides and then not do
anything with it.
Now that this function is being used in package creation it was causing
sstate issues as well, as MACHINE is always in OVERRIDES, so something
trivial such as the name of the MACHINE would cause the hash to change.
(From OE-Core rev: 24ddc80fc39291d9952b8e3bd37d66c1c4376e6b)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to add to the local copy of overrides and then not do
anything with it.
Now that this function is being used in package creation it was causing
sstate issues as well, as MACHINE is always in OVERRIDES, so something
trivial such as the name of the MACHINE would cause the hash to change.
(From OE-Core rev: 56ab83611d9737b42f05586d2c45d5c438cfc293)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Simple test case that adds 'efi' to MACHINE_FEATURES, sets WKS_FILE to
"efi-bootdisk.wks.in", installed required boot items, and attempts to
boot the wic image.
Quick check to make sure that the feature actually works.
(From OE-Core rev: 192c8738f4a8d0f82848a440acf24a1892f2ce93)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bootloaders depend on these to be functional in the non-deploy case,
but changes in them don't require rebuilding of the packages.
(From OE-Core rev: e102f771dee8d07320ffaf8f39288c5a73626364)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since kernels will not necessarily be installed as vmlinuz anymore,
don't assume that's its name for either the bootloader config or the
copy of the kernel.
Also, allow installing multiple kernels by searching for common kernel
names.
(From OE-Core rev: 5d66a4ce7f2595e75fe2af62c11ee957540ca067)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this wasn't needed because the kernel was added at image
creation time to the boot partition. Now that the boot partition is
created from the /boot/ partition of the rootfs, it needs to be
installed there.
(From OE-Core rev: dfdd840e0092face44c73f21f06adf15002b5741)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the EFI_PROVIDER is systemd-boot, install as boot(x64|ia32) as per
convention. If its not the EFI_PROVIDER, install as
systemd-boot(x64|ia32), as to not collide with other possible
bootloaders.
(From OE-Core rev: 551925bc49707821d0d621369fd33fde6b836d8c)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't guarantee vmlinuz anymore. Use KERNEL_IMAGETYPE instead.
(From OE-Core rev: cceb4266f3e70382e171c3a338c10d9730c9dc3f)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class is useful on its own and can be used to create configuration
recipes.
(From OE-Core rev: 5d14ff6e25d3b334d4cc9363a6ddeb16f4c2911d)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't guarantee the kernel will be named vmlinuz anymore. Use
KERNEL_IMAGETYPE instead.
(From OE-Core rev: 8e9a5350e51d4c3be5417e55e4fd1428f49f3d8b)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can no longer rely on the kernel having a static name of "vmlinuz".
This means we can't use it as a sentinel value in our sed commands, and
we can't just copy vmlinuz to the boot directory.
Instead, we'll use "root=" as the sentinel value for our sed commands,
and we'll search for common kernel names to copy into our boot
directory.
(From OE-Core rev: 3d67edb695368bfa5917dca2aab6a8dc4c437efc)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using --exclude-path and a wks.in file we can create an image that takes
the /boot/ directory for the boot partition, has an empty /boot/
directory in the rootfs partition. The boot partition gets mounted to
/boot/ after startup.
(From OE-Core rev: db904053e8ee80fb6930c5e7e22287927e0f25e2)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than renaming the kernel to vmlinuz and assuming the name is
vmlinuz in the grub.cfg, copy to ${KERNEL_IMAGETYPE} and also use that
value in the grub.cfg file.
(From OE-Core rev: d37be17527b354fddb3a5740d0197c590d620f42)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I can't find VM_DEFAULT_KERNEL used anywhere else, and we should not be
statically installing the kernel as vmlinuz.
(From OE-Core rev: 5493bb5ba4b4520f944d38b214a3d53a5282e0be)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the bootloader is now installed instead of added at image creation
time, this is necessary for booting.
Also set the default to grub-efi. This is done because a default of
grub-efi is already used by live-vm-common.bbclass, and in the event
that EFI_PROVIDER isn't defined errors would occur.
(From OE-Core rev: d8a670726fb6b2553c792a1c66346f975f040135)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This way we could theoretically support multiple bootloaders, and we
keep the convention of boot(x64|ia32).
(From OE-Core rev: 8d158bb4382fd4ef31d37ea5558e07d5eb33145e)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since /boot/ will be recipe/package controlled now we can't just deploy.
(From OE-Core rev: f9c3405a99f3c0fd922d21bea7bb0bd0dd3a2ab2)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes use of the grub-efi-cfg bbclass that was split out to create
a grub.cfg file just like the old one.
(From OE-Core rev: eff14ba3e49d77bfc8167a19a0f58563270f2a51)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This part is useful on its own, whereas the whole class together is
specific for image-live.
(From OE-Core rev: 8daf2c544eb40d97d99a41627ddc5529c0e23f3c)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For arm we enforce ARM mode regardless of ARM_INSTRUCTION_SET
choice from config metadata, glibc works fine with thumb2 for
armv7+ so limit the restriction to armv5 and lower, tested on
rpi3 works equally well as arm mode glibc and sheds about 0.5MB
in size for main package alone. Other glibc build packages also
gets smaller
ARM: 2696 KiB libc6
Thumb2: 2132 KiB libc6
(From OE-Core rev: a22b97aff811566399765d755daffddb28f82857)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also, take over the other recipes that were just enabled for
ptest:
- liberror-perl
- liburi-perl
- libxml-parser-perl
- libxml-perl
- libxml-simple-perl
(From OE-Core rev: 7758debbf1bd814606307dd8b8200a9504bb5701)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Enable ptest by inheriting new ptest-perl.bbclass
* Remove t/cwd.t and t/file.t which require "-T"
(taint) command line option as they will fail.
(From OE-Core rev: e88c7fc244c6abe3148f60c8988234342c351dfb)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Skip tests when modules not available
* Dependency for ptest of liburi-perl
(From OE-Core rev: 2735e7bfe20a31497a6b975c67ac689eccd5950e)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're building a SDK and we're using glibc so may be installing locales,
add a build-dependency on natiesdk-glibc-locale so the locales we need will
exist.
(From OE-Core rev: 8d6869a0a89d8cf3c6e57723fab2750ba2c885db)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using glibc-locale to install locales only makes sense if we're using glibc.
(From OE-Core rev: 8fc80734053645fa893694dfe33ddaee99aa9a1a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is basically a copy/paste of buildtools-tarball so copy some of the
recent changes to buildtools across.
(From OE-Core rev: bb10cec25e3683de4fda11e66f827c882488cb1a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because I didn't really want python3-native to be at the bottom of the
entire X11 stack this recipe jumps through a small hoop to use the host
Python to run some modules it installs into the sysroot.
The Makefile compiles the Python module, which is good as the cache file
is recorded in the sstate manifest so when the package is removed from the
sysroot all of it is removed.
However in an enviroment where the sstate is shared between multiple hosts
it is possible that a different Python is used and this will generate a
new cache when the code is executed, which is not recorded in the manifest.
Eventually you'll end up with ownerless cache files in a sysroot which
conflict with the same file coming from a sstate upgrade.
Solve this with a SSTATE_INST_POSTRM which is ran when sstate is removed
to ensure that there are no Python cache files left behind.
[ YOCTO #11809 ]
(From OE-Core rev: 6f6a2b5ff7ec23bd3782f0c3521f3576101cbc9d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to sysvinit-inittab
(From OE-Core rev: a673d5bbf7e4db6de9a5151df041e6c5db7e413e)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Create busybox-inittab recipe to produce machine-specific package with /etc/inittab
and necessary getty calls for a machine, based on SERIAL_CONSOLES, similar to how
sysvinit-inittab was done
* Since CONFIG_FEATURE_USE_INITTAB is controlled by VIRTUAL-RUNTIME_init_manager, make
main busybox package RDEPENDS on busybox-inittab when init_manager is set to busybox
(From OE-Core rev: afb09abd2f0f7555ba156260a87fd3867f591310)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The base configuration needs key expansion and anon python execution,
the parsed configurations do not. Fix this consistently, its been
broken and causing double key expansion for a while, only relised
when we started double anonymous python exeution too.
(Bitbake rev: 6138897de5ac6becf3bff56ce7a78f3ec208fcdf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The output of bitbake -e can differ from what actually is used due
to anonymous python making changes to the data store. Execute any
anonymous python added in the base configuration to make things
more consistent.
(Bitbake rev: bcdc2f73e3b4a10b1e479c2891f251d9507a9e30)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to call this code from other contexts without
duplicating it.
(Bitbake rev: c6be487f9bd5d95915f2495d555b9f539adb1d44)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handling of backfilling is trickier than you'd think. We need this to execute
early enough that the user will see the changes in bitbake -e and other output
yet late enough that the virtclass extensions have changed the tunes before
it executes.
It makes more sense to execute this at anonymous python time now bitbake -e
correctly handles this and that unbreaks multilib corruption of these variables.
[YOCTO #12373]
(From OE-Core rev: cefd312541019c1bb0132f41334df58971fd81ef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now we're filtering tasks in the rpm indexing code so that tasks can only
see the packages they really depend upon, having noexec package_write tasks
around is causing problems since the tasks exist but don't have manifests.
Removing the tasks entirely solves this problem and streamlines the
task execution graph too.
(From OE-Core rev: 027445cd88a4e706bdfe83bb4ff2c21e2186982a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now bitbake is executing anonymous python fragments in bitbake -e,
ensure we don't show the error in that context (where PN would be
unchanged from default).
(From OE-Core rev: 79240b3af32c7fa44751752e9e8f2ff832439643)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add runtime test for opkg to test that it can install ipk
package from remote source.
[YOCTO# 11488]
(From OE-Core rev: 9dd4af2b70f58540b2799823957aff3413068126)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add runtime test for apt to test that it can install deb
package from remote source.
[YOCTO# 11488]
(From OE-Core rev: f380fa77d69051212fdf7dff97da611e884d05d2)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build date ends up embbedded in binary images, breaking reproducibility
of jpeg-tools and libturbojpeg. To enable reproducible builds, build date can be
specified during configuration, via "--with_build_date=<date>".
If SOURCE_DATE_EPOCH is specified we configure libjpeg-turbo with this value as
build date. Although the build date is a generic string, we keep it in the same
format YYYYMMDD.
[YOCTO #12526]
(From OE-Core rev: 46a39fe9fa2bc8f58ec822434b9ace9ab5572c82)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dlvsym() is used by the libepoxy test suite, but this is glibc-specific and
isn't present in musl.
Instead of adding an option to control whether dlvsym is available (which could
be detected by Meson), as we don't install the test suite simply add an option
to disable the entire test suite (and submit the patch upstream).
Also remove the build dependency on util-macros as that is a remnant of the
autotools build.
(From OE-Core rev: 80cee6088fa60eb5197f8ed9d135986b8e7d471a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libepoxy 1.4.3 did not compile successfully because of
implicit symbol definitions and link-time errors.
Patch to disable 'dlvsym' has also been forward-ported
to be applicable to version 1.5.0.
The patch 'Add-fallback-definition-for-EGL-CAST.patch' is
mainline now; thus it can be safely removed.
Also, the patch
0001-Define-MESA_EGL_NO_X11_HEADERS-before-including-eglp.patch
is no longer required since mainline fixed this too.
(From OE-Core rev: b72154eccfbcc178a2c09c7c7d4cd0264d4cf0f6)
Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* replace do_pam_sanity function with distro_features_check inherit
* fixes:
WARNING: libpam-1.3.0-r5 do_pam_sanity: Building libpam but 'pam' isn't in DISTRO_FEATURES, PAM won't work correctly
in world builds and prevents user to build libpam at all without pam
in DISTRO_FEATURES, I don't see any users of this which wouldn't respect
pam in DISTRO_FEATURES
* only libuser is depending on libpam without respecting DISTRO_FEATURES
* there are few recipes in meta-oe layers depending on libpam without
respecting DISTRO_FEATURES, I've sent patch for them:
samba, openwsman, pam-ssh-agent-auth, sblim-sfcb, passwdqc, python-pam, smbnetfs
and omxplayer in meta-raspberrypi, I've sent PR for that one:
https://github.com/agherzan/meta-raspberrypi/pull/192
* poky-lsb will need to add pam to DISTRO_FEATURES in order to build
packagegroup-core-lsb
(From OE-Core rev: c9e7a276859d38aaa03845ee09428f62760ad147)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The glib build doesn't appear to use python3native, so remove it to streamline
build dependencies.
(From OE-Core rev: e3a68ae0477f527b13a9551f9b0ecad4f37130a9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following fixes for yaffs2:
9f9649fffac9 yaffs2: Adjust the timer callback and init functions
0ef24a829eee yaffs2: include rawnand.h instead of nand.h
(From OE-Core rev: 079024ffd828a933d64fadef744dd16e681dd166)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set a miniumum FAT16 volume size because images are
not valid to parted if this minimum value is not respected.
The value set is determined experimentally forr a logical
sector size of 512. This fixed my local problem but, there
may be better solutions.
(From OE-Core rev: f7dfb4d43247d3c13a4e0a3853007d63b9512b83)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The partition plugin is used as the base for other plugins.
One of the methods the plugins use, is the prepare_rootfs
method.
The prepare_rootfs method wrongly assumes that the value
ROOTFS_SIZE from bitbake datastore is relevant to every
invocation of prepare_rootfs, which it clearly is not, for
example in the bootimg-partition case.
This commit adds an optional argument to prepare_rootfs
where a caller can tell prepare_rootfs if it is an actual
rootfs and whether related rootfs information retrieved from
bitbake is valid. The default behavior of this optional
argument is to assume that the invocation is an actual
rootfs, to maintain compatibility with previous
implementations.
(From OE-Core rev: 654d72d55194ec41bc1aacfcc6b2c8c9a305b042)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_post_partition hook is needed if some operations like security signing
the parition needs to be done. source plugins can make use of this to implement
post operatiosn in do_post_partition. do_post_partition is called after
do_prepare_partition if present.
(From OE-Core rev: 5055489b9ab3fda32a285d0d165d080d11a4d432)
Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To maintain the status quo, revert changes to pkgconf wrappers.
This helps to keep it compatible with freedesktop.org pkg-config.
(From OE-Core rev: 8ee8eb8a15e0e4a652df3fe77805d9cffa02ed22)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix an internal compiler error on PPC from building a specific test:
$ $CC -S 7d-02.c
7d-02.c: In function â:
7d-02.c:11:5: internal compiler error: in copy_to_mode_reg, at explow.c:612
vec_st(v, i*16,p);
^~~~~~
The failure appears to happen on all optimizations levels as well.
(From OE-Core rev: dd4aaf3965b57fcfbf668ab09ac75ccd9e3b3a04)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whenever "-mno-sse" is used, "-mfpmath" should be set to 387.
The test case should be modified accordingly as below:
/* { dg-additional-options "-mno-sse -mfpmath=387 " { target { i?86-*-* x86_64-*-* } } } */
Original patch from: RAGHUNATH LOLUR <raghunath.lolur@kpit.com>
(From OE-Core rev: 978b804b92b069f8f5a75f3390697e94a1bf907f)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake_do_compile() and cmake_do_install() basically do the
same, except they use a different --target, and at the
moment this is copy/pasted code with a minor modification.
Other recipes which e.g. might want to support compilation
as part of ptest have to do the same. This is a bit
inconvenient.
By factoring out all of this into a common helper,
cmake_runcmake_build(), this is easily re-used. An
(imaginary) recipe can compile ptest support simply by
using
cmake_runcmake_build --target buildtest-TESTS
(assuming such a build target exists).
Also, this now is very similar to oe_runmake().
(From OE-Core rev: 7620dafe7358f017a8cd558b480af73896768f04)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several of the calls to getVar() were either superfluously passing
True for the expand argument, or were wrongly passing False
(From OE-Core rev: a7b0f7605f62420d7c9b9d5ef2e03c5cc5c81d03)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dtc is used when generating images which use Device Tree and we
must use the OE version to avoid relying on the host one.
Reported-by: Renato Caldas <rm.santos.caldas@gmail.com>
(From OE-Core rev: 14ee34e85f2b4768fb4488f8e708e678b0e23d5d)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0.3.5 -> 0.3.6
Patches:
- Add support for tar versions that don't support --sort
- Use local time when setting the modication time on the archives
(From OE-Core rev: fd551c5ad4c82f295470f278c524d55562a67a28)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add /usr/share/git-core/templates/hooks/fsmonitor-watchman.sample to PERLTOOLS to fix:
ERROR: git-2.16.1-r0 do_package_qa: QA Issue: /usr/share/git-core/templates/hooks/fsmonitor-watchman.sample contained in package git requires /usr/bin/perl, but no providers found in RDEPENDS_git? [file-rdeps]
ERROR: git-2.16.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
(From OE-Core rev: d8a93d75c75bf8df40f3e167eca2fcef4f76e240)
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>
The old heading was dangerously close to a heading in the
previous chapter. I altered this heading to target more
specifically the content.
(From yocto-docs rev: 797bef2256308531f02e35dc0ef8b1d9cbaff935)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to call out that using the include file is actually
using a MACHINE configuration file in this case.
(From yocto-docs rev: b33838d4711e0c55c6cf78e7491ce97bc9fd519f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This document is not a manual. We are not going to list it as
a full-blown manual. It does not need the "Manual Notes" part
in the title page.
(From yocto-docs rev: 23267dea9a90dda33d646fcfc3e8b7a1c919adea)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section briefly introduces layers but leaves the real
explanation to the section in the getting-started manual,
which this section references.
(From yocto-docs rev: 9b3957a5d7c3a2f6b41ec26205ae31f3b2d05643)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this figure had been being referred to as the YP build process.
However, it is really more of the OpenEmbedded build system process.
Basically, what goes on during a build. I changed the way the
general figure is referred to.
(From yocto-docs rev: 1cb79b04182bd660b37637d9cec7d6edf33fc292)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is for the brief-yoctoprojectqs article.
(From yocto-docs rev: 7237c9a36e855eee9056650455a4b6f3d2412961)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I have created an brief article in the form of current YP docs
that is a pared down version of the Quick Start (pre 2.5 release).
The article fills a gap for a short (2-page), process-oriented
article that steps the user through an initial build using YP.
I had to make changes to the Makefile to support building the new
article.
(From yocto-docs rev: 47aace60cea4a892ae1efabb050b240c6abdaec9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This topic was deemed unfit for concepts so I moved it to the
dev-manual and rewrote it to be "Using Virtual Providers".
(From yocto-docs rev: df7d48ac4fcf7ece75681ccf0bbb5699f7ff5ea6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided more details in the explanation and fixed a link to the
section on using virtual providers.
(From yocto-docs rev: ace74e24f001b83c9177266b0a6f15ce96dd04b0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed [YOCTO #11525]
Created a note for more explanation for how the
mount program understands the PARTUUID syntax
used with --use-uuid. Added four missing options.
(From yocto-docs rev: d8adf537d305dd55e841dd993c36ee60b5896adb)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I had split up the section on x32 into a concept piece and a "how-to"
piece earlier in order to satisfy outside pressure to isolate all
"how-to" stuff in the dev-manual. Doing this put a "conceptual" blurb
about x32 in the new concepts-manual. It has been decided that x32
is not a concept. It really does not fit into the ref-manual either.
So, I have re-combined the intro blurb of the x32 stuff back as the
beginning piece of the "Usingt x32 psABI" section in the dev-manual.
(From yocto-docs rev: 6e8240cc1a90a8d78ff456d3138c525eceea3ee3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a better flow and a bit more explanation of what Bmaptool
provides.
(From yocto-docs rev: 9a02cd7281038031fc4cdea98f114b9c318947a7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed the path to not list "build/" as the example assumes
the user is already in that directory.
(From yocto-docs rev: c3ab6a9e53f48005de73977238c8af3e2061db8b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Section to describe the key nature of the host development system
and its role and preparation requirements for use in the Yocto
Project development environment.
(From yocto-docs rev: 379659af343ba84f9c8fc2f47474659e06219c53)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section contains some fundamental terms people decided were
important enough to have in this getting-started manual.
(From yocto-docs rev: 42bfa0d8fc0a61c26f6b2f4b9e285c06255e8b8d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New section called "The OpenEmbedded Build System Workflow".
This section presents the tried and true flow block figure
that shows what happens when you fire off a build.
(From yocto-docs rev: 5b4313ba87a2ccd139f2b980f4cf097700421cf4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the new section "Reference Embedded Distribution (Poky)"
section to the getting-started manual. The new section required
a new figure. I had to add the figure to the figures folder of
both the getting-started and mega-manual books. Updates to the
Makefile to include the new figure as part the tarfiles created
for each book.
(From yocto-docs rev: e5f44e17d4c1e55b6f229cc3745727e439b5bcb7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is Pock-ee with the emphasis on Pock.
(From yocto-docs rev: fd0accf40a9324060562b75ba9d3b078daf458f6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section introduces the ways a developer can use the Yocto
Project. They can use BitBake from a Linux shell, they can
got through CROPS, they can use Toaster, and they can use the
Eclipse IDE. The section overviews these possibilities.
(From yocto-docs rev: 95af6303364f94f91c94fd0bd1890b4e6351048e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New content that leverages off the same information from the new
website.
(From yocto-docs rev: 1d5bf1501a1d0efe388dc5f4a7f741a272c6301c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As glibc 2.27 can't read older locale-archives, SDKs using glibc 2.27 on hosts
using glibc earlier than 2.27 won't be able to find any locales, so bitbake
won't start and Python can't use UTF-8.
So by default install all locales into the SDK. Special-case Extensible SDKs by
installing no locales as they ship glibc in a buildtools, and that will have the
locales.
Locale installation requires cross-localedef, so add that to DEPENDS.
Also remove the explicit en_US addition in buildtools-tarball as it is now
redundant.
(From OE-Core rev: 96896568d197cd06302713c24c0f7d91bfaea6c1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- No need to use bb.utils.which() as subprocess will search $PATH
- Clarity flow by moving the install inside the try/except
(From OE-Core rev: f4d22b7195dd8f08fe26dd353c7e860208e87d6a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
localedef has no way to specify which locale archive to use, and the
compile-time default isn't useful as it points to the work directory.
Add support to read an environmental variable for the path, and don't fail to
write a new locale archive.
(From OE-Core rev: bf0f205a3c3714926649bd69db29e4df1c0ea112)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk is built with a specific prefix but this will be different at install
time, however glibc hard-codes the path to locale files. Expand these strings to 4K and move them to a magic segment which we can relocate when the SDK is installed.
(From OE-Core rev: 59e0679378aac27c4fea0b06721e0a184a93c100)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The result of running dbus-test-ptest was a series of
various segfaults, interpreted as FAILs. This was a direct consequence
of the test suite loading the installed shared library libdbus-1.so, not the
one built along the test suite.
While we normally want to test against the installed libraries, we cannot
do this in this case as the test suite expects a library that is configured/compiled
differently from the installed one. We could configure the installed library
identically as the test suite expects, (and there should be no issues), however
this is not desirable for performance reasons.
Hence we need to use the library built along with the test suite.
Of course, running the test suite against its own library does not
test the installed library, however they are both built from the same
sources so that can give us some kind of indication.
The following changes were made:
1. Configure the test library as close as possible to the installed one,
with some additional configuration options that are needed for testing.
(Use dbus_1.12.2.bb recipe as a template)
2. Include the shared libraries in the package, use LD_LIBRARY_PATH during
testing to load them instead of the installed ones.
3. Add a few more tests. (There are still some additional tests built that
are not used, but they would have to be special-cased).
4. When evaluating the test results, differentiate between "FAIL" and "SKIP"
[YOCTO #10841]
[YOCTO #12277]
(From OE-Core rev: 5d148aa9c3c338fabab1e60e2ca64d09c9b8477f)
(From OE-Core rev: 0828850fd09f738572ae8259384af07eeb81182b)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shlibs detection/handling iterates the package list twice, but PRIVATE_LIBS
is only fetched in the first loop which means the second loop only considers the
value set.
(From OE-Core rev: 8c90c0081c38b33c99655f806cbe668600c170cc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a standalone tasks adds a dependency on X:do_build, the code in runqueue would
currently remove it if that do_build was part of an image recipe which uses
recrdeptask on do_build.
Such individual tasks shouldn't do this, therefore tweak the recursive reference code
to only process recurseive tasks, not all tasks.
(Bitbake rev: 4cfca360891e1ed876a9c19487b4f6210686af26)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe depends on many machine specific tasks and should be marked
as machine specific itself. This fixes signature tests after some dependency
issues were fixed at the bitbake level which exposed that issue.
(From OE-Core rev: 4889704fed9ec205eb964b9e8ee7ff384e5c741d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* We now match on more than just target recipes, so don't specify that
only target recipes are searched.
* We're printing the SUMMARY value in addition to the name, so mention
that so it's clear where that text is coming from.
* Remind users that they should use quotes around the keyword to avoid
shell expansion when using regular expressions.
(From OE-Core rev: cc68971557fe065e59ff47657f650051eb85db3c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If pkgdata isn't present or is incomplete, then you get either a
traceback or you don't see the results you were hoping for. The recipe
cache that bitbake collects during startup contains some useful
information for each recipe that we could search through as well, and
we can access it easily using tinfoil's all_recipes() API function,
so add some code that does that. (We still show a warning if pkgdata
isn't present, as there are certain dynamic packages that are generated
at packaging time that won't show up in the cache).
One side-effect of this is that we will start showing non-target
recipes - that's actually a good thing, since seeing those is useful,
however we exclude nativesdk recipes when in the eSDK to avoid confusion
since nativesdk isn't directly applicable there.
Fixes [YOCTO #12356].
(From OE-Core rev: b8406383886d09a80a9a002150dcf364fa9902d7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prompted by bitbake commit 2ba8a6b25ccc12e7b543e8450121e5311c7a701d,
add .txz to the list of archives used within get_recipe_local_files()
here as well.
(From OE-Core rev: 28466586f4777f11f0a29ed5ebe9734a4e15920e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user doesn't specify a port then we should avoid specifying one
on the ssh/scp command line in case the user has configured one for the
host they are connecting to, which was being overridden unnecessarily.
Fixes [YOCTO #12381].
(From OE-Core rev: f1020eef09fada7ef2231d5528576553f3f6bfe1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After OE-Core rev 5e3fe00a0233d563781849a44f53885b4e924a9c we call
os.path.abspath() on the original layer path, but we later compare that
to the destination layer path. If that layer path isn't absolute but is
effectively the same path, it should be writing to the original recipe
but because we weren't making it absolute we were writing a bbappend
instead. Call os.path.abspath() on the destination path as well to avoid
that.
(From OE-Core rev: a85a78dcf226d160e9b504bfa67b306a9175ac29)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the .devtool_md5 file doesn't contain a reference to the bbappend
file (e.g. because devtool was interrupted before it could write that
out) then _check_preserve() won't delete it, so we need to delete it
separately because otherwise the recipe won't actually be reset.
(From OE-Core rev: 751d27600a3df18d96baaa48696acf33ee964bec)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix two aspects of handling BBCLASSEXTENDed targets (e.g.
openssl-native) that have been run through "devtool upgrade":
* Fix recipe name not showing up in "devtool status"
* Fix "devtool reset" not deleting empty directories under the recipe
directory within the workspace, which may lead to problems if you
subsequently run "devtool upgrade" on the same target again
(From OE-Core rev: 56e04260d64de9c5b83893d97cf41b7ea9a45878)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In a few places we have checks to see path B is the parent of path A, by
adding / to the end of the path B and then seeing if path A starts with
the suffixed path B. Unfortunately there are two potential flaws:
(1) path A needs to be suffixed with / as well or the directory itself
won't match (semantics perhaps, but in a lot of scenarios returning True
is correct); (2) you need to run os.path.abspath() on both paths first
or you will wrongly return False for some relative paths where you
should return True. Let's solve this once and for all by writing a
function that takes care of these and put it in oe.path.
(From OE-Core rev: dd3d4b0367272a5826a9a51afa26f426dd003e5d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
atm, 'oe-init-build-env' expects 'bitbake' to be within the OE core git
repository. This complicates the project setup because you have to
manage the 'bitbake' directory or symlink manually (or specify the
bitbake location explicitly).
Looking for 'bitbake' outside the main git repository will ease project
management significantly. Now, you can put everything into git submodules,
clone the project with
| git clone --recursive ...
and continue immediately with
| ..../oe-init-build-env
E.g. when you had previously
| .
| |-- build/
| `-- sources/
| `-- org.openembedded.core/
| `-- bitbake -> ../bitbake
(where 'bitbake' must be created manually after cloning the project),
you can have now
| .
| |-- build/
| `-- sources/
| |-- bitbake/
| `-- org.openembedded.core/
which is completely managed by 'git'.
Patch adds $OEROOT/.. to the search path for 'bitbake'
(From OE-Core rev: 5b3afc9cfe38a9fb435fbe5fcabc59b9a60f4657)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS supports the wildcard syntax,
these exclusions no longer need to be hardcoded
(From OE-Core rev: 891ca3c891f2ed5476442442bd9784ba10b9a94d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The special string "*" on the left hand side of the dependency
specification matches all recipes except the one on the right hand side.
(From OE-Core rev: 526855f6573317ced913f39e878beac1d5d294de)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to the icecc-create-env recipe should not cause all recipes to
rebuild just because the have inherited icecc.
(From OE-Core rev: b088a9c34c34c4bda54d93907e04972d3f8ba5a1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changing ICECC_ENV_VERSION or select variables that the user can set to
control the behavior of icecc should not cause recipes to rebuild
(From OE-Core rev: b2c64414bbc357d35c1b076840bfc6ede3c90754)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: checksum change is due to standardization of
character encoding of source tree on UTF-8
1. Remove upstreamed patch:
0001-signpost-Add-paranthesis-to-remove-doubt-about-prece.patch
2. Bump PE to prevent version going backwards
(From OE-Core rev: 5e39466587e5e3546b44dca1e3216097713c285e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing Upstream-Status to the following patch:
0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
Upstream-Status is fetched from the first commit of the patch:
commit id: 700b846ba0
(From OE-Core rev: 5d6ad884f9d6b17b2e5ac4e6b00c7ed3e65a9710)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a common function for locating task manifest files rather than
several implementations with missing pieces.
(From OE-Core rev: 68150bac7444f089f19c789e9f6602d59f605d7a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently do_rootfs gets to see all rpms in the deploy directory. This filters
that view to only rpms which the image recipe has actual depends upon which
potentially removes some sources of confusion in the image construction.
This makes builds more reproducibile and also fixes contamination issues
where dnf picks up packages it shouldn't be able to 'see'.
[YOCTO #12039]
(From OE-Core rev: 85e72e129362db896b0d368077033e4a2e373cf9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that we're passing a bool value. Without this, buildhistory
shows all the output for all the keys/fields when it shouldn't be by
default.
(From OE-Core rev: b30153a15715a83c0f9a7d7d1883a15404992a19)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove debian.patch which is already in the source.
* License-Update: The license is changed to GPLv3, and move v2 one to meta-gplv2.
* Merge time.inc into time_1.8.bb.
(From OE-Core rev: c17e1a1c4e0c227efc848a7dec1a00a29080e917)
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>
Additionally cherry-pick
5ffeba4a09 Revert "PowerPC PLT speculative execution barriers"
b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared object.
a985e9b9de Import patch from mainline to remove PROVODE qualifiers around definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.
eec4607fc5 Add support for DWARF-4 line number tables.
(From OE-Core rev: c708506eb9dbb4b817f563fbaacb80eee0b5b301)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will make it easy to backport to rocko if needed after 2.27 is landed in master
plus it fixes the aarch64 build issue seen with binutils 2.30
(From OE-Core rev: 774e372d95c9082766477ea6dbfcd10c48ac4658)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Major changes:
* Refine gtest conformance cases
* vp9enc: add support low power mode
* vavpp: add support for RGBA/RGBX surface
* vainfo: add support new profile/entrypoint pairs
(From OE-Core rev: a289787a80099d5029daab84625453cd3e2471b1)
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>
Major changes:
* Bump VA-API version to 1.1.0
* Add API for multi-frame processing
* Add entrypoint VAEntrypointStats for Statistics
* Add data structures for HEVC FEI support
* Add new attributes for decoding/encoding/video processing
* Add new VPP filter for Total Color Correction
* Add blending interface in VPP
* Add rotation interface in VPP
* Add mirroring interface in VPP
* Add Chroma siting flags in VPP
* Add new color standard definitions
* Add new interface for exporting surface
* Add message callbacks for drivers to use
(From OE-Core rev: f8c01917594892be366580873618fa20272d2423)
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>
On some linux hosts image recipes will fail to build as follows:
ERROR: build-essential-0.3-r0 do_image_ext3: Usage: bbdebug [123] "message"
ERROR: build-essential-0.3-r0 do_image_ext3: Function failed: do_image_ext3 (log file is located at /opt/build/tmp/work/intel_corei7_64-wrs-linux/build-essential/0.3-r0/temp/log.do_image_ext3.43744)
ERROR: Logfile of failure stored in: /opt/build/tmp/work/intel_corei7_64-wrs-linux/build-essential/0.3-r0/temp/log.do_image_ext3.43744
ERROR: Task (/opt/layers/meta-overc/meta-build/recipes-core/images/build-essential_0.3.bb:do_image_ext3) failed with exit code '1'
Running with bitbake -v -v -v -D we get in the log file:
+ bbdebug 1 Executing 'dd if=/dev/zero of=/opt/build/tmp/work/intel_corei7_64-wrs-linux/build-essential/0.3-r0/deploy-build-essential-image-complete/build-essential-intel-corei7-64-20180220190510.rootfs.ext3 seek=484486 count=0 bs=1024'
+ USAGE='Usage: bbdebug [123] "message"'
+ '[' 3 -lt 2 ']'
+ DBGLVL=1
+ shift
++ echo 1
++ echo 1
++ tr -d t
++ tr -d t
+ NONDIGITS=1
+ '[' 1 ']'
+ bbfatal 'Usage: bbdebug [123] "message"'
The debug output tells us that the NONDIGITS check failed to remove
the digits using the tr expression. Enclosing the expression in
quotes causes it to work properly.
(From OE-Core rev: 9e6d283aa9c77685f55a62fa220226d9149ecd7a)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merge the bb/inc as there's no reason to split them.
Remove redundant S assignment.
Fix the LICENSE assignment to LGPLv3+. The source of mpfr is Lesser GPL v3 or
higher, the GPL is assigned to some test data that isn't shipped.
(From OE-Core rev: b2911fe96d5a03f4cc0c5835d59c499108f39310)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the do_install_append to create the Python 2 pyc files, as nothing in the
build is using Python 2 anymore (libxcb is the only user, and that uses Python
3).
Also use variables instead of a patch to control what Python binary and path the
modules are installed to.
(From OE-Core rev: c27c60fe012bf42ea3b22fc1b4496450dc68b50b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to inherit pkgconfig as configure doesn't use it, remove commented
DEPENDS which clearly came from another recipe, stop deploying an empty PN.
(From OE-Core rev: 1ae5ede208c82733293492a6eb836ff8b1197f4e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rustification of librsvg from version 2.41.0 onwards creates the need
for Rust compiler to build it. We need to push the upgrade of
librsvg until we have Rust support in oe-core.
(From OE-Core rev: 8eaa38ce7d16478710a73a72ef3dfdd2ba105d8e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to use the meson.cross file when building for nativesdk.
Additionally, we need to trick meson's sanity tests, just as it is
done for target builds.
(From OE-Core rev: abcb330c462c2c06d36f8f3681a6bd07d562c1fe)
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>
gst-validate follows GStreamer versioning. Inherit class to make
sure development releases aren't marked as latest.
(From OE-Core rev: 0e45643f24222ea221869e7282489660bac22c6b)
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>
libtirpc prior to 1.0.2 assumed that the system provided nis.h but this isn't
always true. Until now we've been using a tarball of the missing files from
Gentoo, but libtirpc 1.0.2 added a copy of nis.h to the sources so this isn't
required anymore.
(From OE-Core rev: a6e786e7c8bed33fa269aac99724df606829ec6f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly depend on bison-native for deterministic builds, as it is required
for the build:
| HOSTCC scripts/basic/fixdep
| GEN ./Makefile
| HOSTCC scripts/kconfig/conf.o
| YACC scripts/kconfig/zconf.tab.c
| /bin/sh: bison: command not found
| scripts/Makefile.lib:217: recipe for target 'scripts/kconfig/zconf.tab.c' failed
In most cases, this dependency comes indirectly via toolchain dependencies,
specifically binutils-cross, which pulls bison-native. Different setups,
such as with external toolchain, would expose this problem, since correct
dependency is not marked explicitly.
(From OE-Core rev: d26b700553fe8fa21c2e42b04e11bb380d94ef36)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The icecream native tools should not be included in uninative tarballs
even though it is nativesdk
(From OE-Core rev: fd87ebd7e8906e047620c2d4afa62337b5521e6f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a version to the environment which can be used to invalidate any
previous environments on the remote compile nodes
(From OE-Core rev: 9bda79af100293ea3cb986dd501e0be028f2f04c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes the case where ccache is enabled along with Icecream. In these
cases, there is the danger that Icecream will accidentally add the
ccache executable to the toolchain, which prevents it from working. In
particular, Fedora enables ccache by default via symbolic links in PATH.
(From OE-Core rev: 09ba173f56dcd7299a07d4dac3633fe7818f7282)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
updates:
mmc-utils: manpage: fix arguments for TH macro
mmc-utils: remove unused #includes
mmc-utils: move offsetof from mmc.h to only user
mmc-utils: expand .gitignore
mmc-utils: make use of dependency information
mmc-utils: drop unused header
mmc-utils: drop macro CHECK
(From OE-Core rev: 4f363b4a6ed6953ffb26ba30f371a710e1ebc67a)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The binary 'cve-check-update' downloads the CVE database from the Internet.
If the system is behind a web proxy, the download fails, as proxy-related
variables are not exported.
In turn, 'cve-check-tool' does not connect to the network and correspondingly
does not need exported proxies.
Exported all proxy-related environment variables to 'cve-check-update' and
removed the unneeded export from 'cve-check-tool'.
(From OE-Core rev: 17db210975c740aff12732c511cf4fb32b507365)
Signed-off-by: Konstantin Shemyak <konstantin.shemyak@ge.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pkgconf improved compatibility with freedesktop.org pkg-config.
So, we don't need to unset PKG_CONFIG_SYSROOT_DIR in wrappers.
(From OE-Core rev: bff4ad7d6f62131a9b91a4063600e6f3edb8843c)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2.4.90 was announced in Feb 17th 2018 and had following changes
are listed:
,----
| Andrey Grodzovsky (2):
| amdgpu: Update deadlock test to not assert on ECANCELED
| amdgpu: Fix segfault in deadlock test.
|
| Anuj Phogat (1):
| intel: Add more Coffeelake PCI IDs
|
| Bas Nieuwenhuizen (1):
| drm: Fix 32-bit drmSyncobjWait.
|
| Christian König (5):
| amdgpu: fix 32bit VA manager max address
| headers: sync up amdgpu_drm.h with drm-next
| amdgpu: use the high VA range if possible v2
| test/amdgpu: fix compiler warnings
| amdgpu: fix high VA mask
|
| Christoph Haag (1):
| meson: fix the install path of amdgpu.ids
|
| Chunming Zhou (5):
| fix return value for syncobj wait
| amdgpu: fix inefficient vamgr algorithm
| amdgpu: clean up non list code path for vamgr
| tests/amdgpu: add bo eviction test
| amdgpu: clean up non list code path for
| vamgr v2
|
| Dylan Baker (7):
| Add meson build system
| autotools: Include meson.build files in tarball
| README: Add note about meson
| meson: set proper pkg-config version for
| libdrm_freedreno
| meson: set the minimum version correctly
| meson: fix libdrm_nouveau pkgconfig include directories
| meson: include headers in root directory in ext_libdrm
|
| Emil Velikov (1):
| tests/amdgpu: add missing config.h include
|
| Eric Engestrom (25):
| remove unnecessary double-semicolon
| tests/amdgpu: add parentheses to make operation priority explicit
| tests/amdgpu: drop unused variables
| tests/util: fix signed/unsigned comparisons
| tests/util: drop unused parameters
| tests/etnaviv: drop unused `return 0`
| meson: add missing HAVE_RADEON
| configure: remove unused HAVE_CUNIT define
| configure: remove unused HAVE_INSTALL_TESTS define
| meson,configure: remove unused HAVE_OMAP define
| meson,configure: remove unused HAVE_TEGRA define
| meson,configure: remove unused HAVE_FREEDRENO define
| meson,configure: remove unused HAVE_ETNAVIV define
| meson,configure: always define HAVE_{INTEL,VMWGFX,NOUVEAU,EXYNOS,VC4,RADEON}
| always define HAVE_FREEDRENO_KGSL
| always define HAVE_CAIRO
| always define HAVE_VALGRIND
| meson: sort HAVE_* defines
| xf86atomic: fix -Wundef warning
| meson: cleanup whitespace
| meson,configure: add warning when using undefined preprocessor tokens
| xf86drmHash: remove always-false #if guards
| configure: always define HAVE_LIBDRM_ATOMIC_PRIMITIVES and HAVE_LIB_ATOMIC_OPS
| exynos/tests: use #ifdef for never-defined token
| meson,configure: turn undefined preprocessor tokens warnings into errors
|
| Hawking Zhang (3):
| tests/amdgpu: execute write linear on all the available rings
| tests/amdgpu: execute const fill on all the available rings
| tests/amdgpu: execute copy linear on all the available rings
|
| Marek Olšák (2):
| amdgpu: add amdgpu_query_sw_info for querying high bits of 32-bit address space
| configure.ac: bump version to 2.4.90
|
| Michel Dänzer (7):
| amdgpu: Don't print error message if parse_one_line returned -EAGAIN
| amdgpu: Don't dereference device_handle after
| amdgpu_device_deinitialize
| amdgpu: Symlink .editorconfig to tests/amdgpu
| amdgpu: Disable deadlock test suite by default for SI ASICs
| amdgpu: Disable VM test suite by default for SI ASICs
| Revert "amdgpu: clean up non list code path for vamgr"
| amdgpu: Add amdgpu_query_sw_info to amdgpu-symbol-check
|
| Rob Clark (1):
| freedreno: clamp priority based on # of rings
|
| Robert Foss (5):
| android: Move gralloc handle struct to libdrm
| android: Add version variable to gralloc_handle_t
| android: Mark gralloc_handle_t magic variable as const
| android: Remove member name from gralloc_handle_t
| android: Change gralloc_handle_t members to be fixed width
|
| Seung-Woo Kim (2):
| amdgpu: fix not to add amdgpu.ids when building without amdgpu
| modetest: Fix to check return value of asprintf()
`----
(From OE-Core rev: d4a16bab687cc27473ec22e727f23bb4106322a3)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This bumps the version to 2.0.1 release plus some more changes.
The following patches were merged upstream:
- 0001-Fix-build-with-musl.patch
- 010-fix-rpmatch.patch
- fix-armv7-neon-alignment.patch
The `mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch`
patch has been removed as the issue seems to have been addressed
in the Linux MTD subsystem. The discussion can be seen at:
http://lists.infradead.org/pipermail/linux-mtd/2011-August/037320.html
Also a research to see if any other distribution had a similar patch
included and they don't. So there is no clear need to keep diverging
from upstream.
See the logs below:
,----[ Changes from 2.0.0 -> 2.0.1 ]
| 81049e5 Release mtd-utils-2.0.1
| 4458ad6 mtd-utils: tests: Avoid using less than two blocks in nandpagetest
| 76a55b1 mtd-utils: ubinfo: add parameter check
| 454a3d0 mkfs-ubifs: fix inclusion of uuid.h
| df913e4 mtd-utils: tests: Add Erased Pages Bit Flip Test
| f8bc7d9 Add const modifier to read only strings and string constants
| a7c8cb3 Silence warnings about unused arguments
| e511691 Remove unused variables and functions
| ca517e8 Eliminate warnings about missing prototypes
| 3029b65 Enable compiler warnings
| 9eae306 Move libfec declarations to public header in global include directory
| 022ce62 Use autoconf header detection correctly for libmissing
| 1a3e3af Restructure autoconf configure.ac
| e772dc8 Replace defunct ubifs_assert
| b0b1bc5 mtd-utils: tests: Fix nandbiterrs Failure Check
| 76e27a7 ubi-utils: Return error code if command line option is unknown
| b8e785a nor-utils: Return error code if command line option is unknown
| 12e27a1 jffsX-utils: Return error code if command line option is unknown
| 9a357ee ftl_format: Use return directly to leave main function
| 6890608 flashcp: Drop exit code defines
| ccffc10 Use defines for exit code values
| 871c2f1 mkfs.ubifs: Add support for symlinks in device table
| c0972a5 libiniparser: remove unused function needing float
| 5c57076 libubi.c: add klibc specific fixes for ioctl
| dede98f Return correct error number in ubi_get_vol_info1
| a2eeedb Fix libmtd behaviour if MTD is not present on the system
| 4dab9be Fix build with musl
| 82839c3 Replace rpmatch() usage with checking first character of line
| 7d026a8 Fix alignment trap triggered by NEON instructions
| d7e8612 mtd-utils: Support jffs2 flash-erase for large OOB (>32b)
| fc7aa01 ubi: tests: Speedup io_paral by using rand_r()
| fdec8a4 ubi: tests: Support up to 65k NAND page size
| d600419 ubi: tests: Replace variable-length array with malloc()
| 1710e0c Remove README.udev from ubi-tests extra dist
| e3e010c ubirename: trivial fixes to the help text
| 1fed9b4 Remove UDEV_SETTLE_HACK
| 22089b0 mtd-utils: serve_image: Use PRIdoff_t as format specifier.
| 5a80691 mtd-utils: Fix format specifier definitions for off_t and loff_t.
| 44558d1 nanddump: Add --skip-bad-blocks-to-start option
| 2fc8058 nandwrite: Add --skip-bad-blocks-to-start option
| 6df83fd nandwrite: fix/cleanup bad block skipping
| 7b8981a nandwrite: replace erase loop with mtd_erase_multi
| dffaa1d nandwrite: add stricter sanity checking for blockalign
`----
,----[ Changes from 2.0.1 -> 9c61735 ]
| 9c61735 mtd: unittests: Stop testing stat() calls
| daef4f1 mtd: unittests: Decode arg size from ioctl request
| fd0b70b mtd: unittests: Use proper unsigned long type for ioctl requests
| c75d104 ubi-utils: ubiformat.c: convert to integer arithmetic
| 61afcc6 mtd-utils: common.c: convert to integer arithmetic
| 6766178 Run unit test programs through "make check"
| 098e91a mtd: tests: Fix check on ebcnt in nandpagetest
| 9cfb02c libscan: fix a comment typo in libscan.h
| 7086393 libmtd: fix a comment typo in dev_node2num
| 3c54e4e ubi-utils: ubicrc32: process command line arguments first
| ce50e6d nandbiterrs: Fix copy & paste fail
| 03dafe3 Enable further warning flags, address new warnings
| 0555cb2 jittertest: Use the appropriate versions of abs()
| 475bf70 Mark or fix switch cases that fall through
| cb2fcfc Add no-return attribute to usage() style functions
| 81fd176 Remove self-assignments of unused paramters
| 3b421ab mkfs.ubifs: ignore EOPNOTSUPP when listing extended attributes
| 030a63b tests: checkfs: Remove unused source file from makefiles
| 40dd609 misc-utils: initialize "ip" in docfdisk to NULL
| 94f6573 ubi-tests: io_update: fix missleading indentation
| afba4fc mkfs.ubifs: Apply squash-uids to the root node
| 3a34784 Add ctags files to .gitignore
`----
(From OE-Core rev: af5fd7146d178fdcbb7949280db1bbc4647003db)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The release was announced in Jan 24th 2018 and provides a number of
features and bug fixes.
The 0.4.1 restores the `dep prune` command support, which was dropped
on 0.4.0, so existing scripts will continue to work. That said, it is
advisable to change the scripts to use the new features of `dep
ensure` as `dep prune` will be removed in future.
(From OE-Core rev: d8467f2ce7e3ca2277108e388690b79789790839)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
parallel_make_argument() was incorrectly taking the maximum of the limit
and the calculated value instead of the minimum.
(From OE-Core rev: 45205be547967c84dff96403c3a6825a62e3ca6a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump the QEMU version to the bug fix release of 2.11.1 and remove the
patches that are no longer required.
(From OE-Core rev: da7fa8a15dfafd07e5956b69996d99880596c333)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a minor stable update to CMake. This includes following
changes:
,----
| c1e087a9d CMake 3.10.2
| d592bfc9f Autogen: Ignore not existing source files in cmMakefile
| d49986b3b KWIML: Backport RISC-V update to CMake 3.10
| 9417a6d32 FindPostgreSQL: Add support for PG10
| 683e9023a Autogen: Fix for problematic nested list separator
| 9b4d31dc7 cmGraphVizWriter: Updated to create and follow dependers for
| interface targets
`----
(From OE-Core rev: 798dba6fb3e16d3041b01faecfd32c787c142ee8)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 1.9.4 fixes a number of issues in the Go compiler and is important
to get in before we start working on 1.10 inclusion.
- go1.9.1 (released 2017/10/04) includes two security fixes.
- go1.9.2 (released 2017/10/25) includes fixes to the compiler,
linker, runtime, documentation, go command, and the crypto/x509,
database/sql, log, and net/smtp packages. It includes a fix to a
bug introduced in Go 1.9.1 that broke go get of non-Git
repositories under certain conditions.
- go1.9.3 (released 2018/01/22) includes fixes to the compiler,
runtime, and the database/sql, math/big, net/http, and net/url
packages.
- go1.9.4 (released 2018/02/07) includes a security fix to “go get”.
(From OE-Core rev: 150d9d3215bf5d3a21c3f141d4ce837557c5f9f1)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps in compiling on graphics drivers which use
this define to differentiate between eglfs and x11 headers
e.g. mali or mesa
(From OE-Core rev: 2638482c3b2a5766d2a1377a589245664140e270)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'bitbake -c checkpkg world' is moved to class initializer to avoid
it being run twice in a row.
The no-maintainers test checks only oe-core recipes, as other layers
may be be configured, and assigning maintainership to specific people via
maintainers.inc is known to be used only in oe-core.
(From OE-Core rev: ac6a72aab19e04adb2fa2b9932a9427d1b6fbb46)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than apply a patch twice, an incorrect patch is applied
(as the new man-db recipe does not have any patches yet).
(From OE-Core rev: a8bf4da183824caa5fceaf7546db52daa05f8662)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Until now oe-core has been using a well obsolete implementation of man.
Man-db on the other hand is used by all modern Linux distros, is actively
maintained, has a standard build system, and does not require 30 patches
to build.
(From OE-Core rev: 69e549a841a1681f927667f5017a1cd669ac9914)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The situation with pax (vs. tar and cpio) is perfectly described here:
https://xkcd.com/927/
The only reason pax is still around, kind of, is because both POSIX and LSB
mandate it. Outside of those documents, it's not used by anyone.
Meanwhile, the upstream URI we've been taking it from went down, and rather
than seek an alternative source, I just went ahead and removed the recipe.
(From OE-Core rev: a62a7e11274c4965e122ed5bf01024cae8437af0)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One of the tarball mirrors is down; the other is blocked by Intel's corporate proxy
for being deemed 'suspicious' (the same problem might pop up in other
companies as well). Let's just take the source from github.
(From OE-Core rev: 69f60f6ef9061760643d6b4e378052ddad424754)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Checksum updated for added clarification to licenses
in other directories and verified the license terms remain the same
(From OE-Core rev: a6e8e789413c8f953fca2ad0c2591dea0993ccd1)
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>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 1753025597a9053922155bb98511a33cab6057a7)
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>
Newer kernels (4.14/v4.15+) have dependencies for the build of
modules (and hence external modules). Without these dependencies
explicitly in the build chain, you can end up with build failures like:
work-shared/qemux86/kernel-source/scripts/extract-cert.c:21:25: fatal
error: openssl/bio.h: No such file or directory
| #include <openssl/bio.h>
| ^
| compilation terminated.
| make[2]: *** [scripts/extract-cert] Error 1
| make[1]: *** [scripts] Error 2
To ensure that these headers are in place, and that the scripts use
our build environment flags, we add a dependency on openssl-native
and use oe_make to invoke the build.
Older kernels have no issues with the extra dependency, so there's no
need to make this conditional.
(From OE-Core rev: 916cb2029d3c97bf12ebf03832b9ba980451dbcf)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove do_make_scripts() from module-base.bbclass and put
functionality in a recipe. This will build the scripts only
once instead of each time an external module is built.
[YOCTO #12228]
(From OE-Core rev: ea12c46fe8748fb6606c603d463075a8624e6563)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fetchall and checkuriall tasks were removed, remove the doc strings for them.
(From OE-Core rev: 709b60a5e34a22aadb6dca7b888c010de8e6e4a4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fetchall task was removed, use its replacement bitbake option.
(From OE-Core rev: e228d16248d879534c4587d9d9c9fe356e13494d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The -stable update to 4.12 needs one more commit to fix the boot of
qemuarm64. This will be part of the next 4.12 -stable series, but for
now, we merge the patch directly.
40146055677a mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y
(From OE-Core rev: 4911e9c539b98bde0246ea4f8dc823c50951195e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to Paul Gortmaker's 4.12.20 release, which comprises
the following commits:
26041ea62c10 Linux 4.12.20
80da9fc42759 kvm: x86: fix RSM when PCID is non-zero
94ff73e84af3 x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
1c6aaef6e08f x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
a14ac5bc4953 x86/tlb: Drop the _GPL from the cpu_tlbstate export
a95cc558c4ba x86/events/intel/ds: Use the proper cache flush method for mapping ds buffers
e94e2440d266 x86/kaslr: Fix the vaddr_end mess
ec2c4771ab78 x86/mm: Map cpu_entry_area at the same place on 4/5 level
21390d1cf697 x86/mm: Set MODULES_END to 0xffffffffff000000
a657f6bde81f x86/process: Define cpu_tss_rw in same section as declaration
f0ca9ecfacd8 x86/pti: Switch to kernel CR3 at early in entry_SYSCALL_compat()
882c46ebc1eb x86/pti: Make sure the user/kernel PTEs match
0920dd036f51 x86/cpu, x86/pti: Do not enable PTI on AMD processors
2832199b24b5 x86/pti: Enable PTI by default
abe84bdf0450 mm/mprotect: add a cond_resched() inside change_pmd_range()
79c74e87dd70 kernel/acct.c: fix the acct->needcheck check in check_free_space()
8097b1b3ed8e x86/espfix/64: Fix espfix double-fault handling on 5-level systems
1a698b5094c6 x86/decoder: Fix and update the opcodes map
3bc0a0230c85 x86/idt: Load idt early in start_secondary
96523a6b3c9f x86/ldt: Make LDT pgtable free conditional
0930c225b7fd x86/ldt: Plug memory leak in error path
7b392c0fd57c x86/mm: Remove preempt_disable/enable() from __native_flush_tlb()
a569be19aca4 x86/smpboot: Remove stale TLB flush invocations
171c680cd430 x86/ldt: Make the LDT mapping RO
b20a4e9c0824 x86/mm/dump_pagetables: Allow dumping current pagetables
4cb373d5878c x86/mm/dump_pagetables: Check user space page table for WX pages
419aaf9950b0 x86/mm/dump_pagetables: Add page table directory to the debugfs VFS hierarchy
f2ea744855ef x86/mm/pti: Add Kconfig
21ee6ef0b6da x86/dumpstack: Indicate in Oops whether PTI is configured and enabled
4792df02eaa2 x86/mm: Clarify the whole ASID/kernel PCID/user PCID naming
079aafe7e55e x86/mm: Use INVPCID for __native_flush_tlb_single()
f82db33b19f6 x86/mm: Optimize RESTORE_CR3
156823d62b52 x86/mm: Use/Fix PCID to optimize user/kernel switches
3c6ddf8979d7 x86/mm: Abstract switching CR3
842c1304aa61 x86/mm: Allow flushing for future ASID switches
54ccd28274b7 x86/pti: Map the vsyscall page if needed
05347c693d0a x86/pti: Put the LDT in its own PGD if PTI is on
86aa46082664 x86/mm/64: Make a full PGD-entry size hole in the memory map
bd91c7622d4b x86/events/intel/ds: Map debug buffers in cpu_entry_area
f2a19cac5364 x86/cpu_entry_area: Add debugstore entries to cpu_entry_area
788856fff986 x86/mm/pti: Map ESPFIX into user space
2946dc511e38 x86/mm/pti: Share entry text PMD
8f01f3ca70af x86/entry: Align entry text section to PMD boundary
419ac1b145f8 x86/mm/pti: Share cpu_entry_area with user space page tables
43ac2d12a830 x86/mm/pti: Force entry through trampoline when PTI active
c0226c119bb4 x86/mm/pti: Add functions to clone kernel PMDs
0de21941f44c x86/mm/pti: Populate user PGD
dc46e9eafde8 x86/mm/pti: Allocate a separate user PGD
a3293057588e x86/mm/pti: Allow NX poison to be set in p4d/pgd
b51aa0399145 x86/mm/pti: Add mapping helper functions
66d1447e7cd8 x86/pti: Add the pti= cmdline option and documentation
399981179cc2 x86/mm/pti: Add infrastructure for page table isolation
ff4703d2378d x86/mm/pti: Prepare the x86/entry assembly code for entry/exit CR3 switching
6eb83fa9c76d x86/mm/pti: Disable global pages if PAGE_TABLE_ISOLATION=y
0cbc392772c6 x86/cpufeatures: Add X86_BUG_CPU_INSECURE
bb426b09a2b3 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
f8da34e6aea2 ring-buffer: Do no reuse reader page if still in use
f56cc813891f ring-buffer: Mask out the info bits when returning buffer page length
99df0a6bd678 x86/cpu_entry_area: Prevent wraparound in setup_cpu_entry_area_ptes() on 32bit
dd6eac2b6f66 init: Invoke init_espfix_bsp() from mm_init()
fc78bbdec893 x86/cpu_entry_area: Move it out of the fixmap
b73f4c11bfb7 x86/cpu_entry_area: Move it to a separate unit
90383f5be7ac x86/mm: Create asm/invpcid.h
f7938aecc9e1 x86/mm: Put MMU to hardware ASID translation in one place
21c7af3777f8 x86/mm: Remove hard-coded ASID limit checks
546fe7d48686 x86/mm: Move the CR3 construction functions to tlbflush.h
029ed77f57b6 x86/mm: Add comments to clarify which TLB-flush functions are supposed to flush what
c786774ceccb x86/mm: Remove superfluous barriers
f0c8c4bd2347 x86/mm: Use __flush_tlb_one() for kernel memory
c1d18bf3f32b x86/microcode: Dont abuse the TLB-flush interface
cba3ab6a6841 x86/uv: Use the right TLB-flush API
8a7c2006beba x86/entry: Rename SYSENTER_stack to CPU_ENTRY_AREA_entry_stack
d6a432d4d3a0 x86/doc: Remove obvious weirdnesses from the x86 MM layout documentation
07e8a63c2c4f x86/mm/64: Improve the memory map documentation
1dddc45476c4 x86/ldt: Prevent LDT inheritance on exec
93439585326e x86/ldt: Rework locking
315b737482ac arch, mm: Allow arch_dup_mmap() to fail
3cd977c67053 x86/vsyscall/64: Warn and fail vsyscall emulation in NATIVE mode
e5667337a507 x86/vsyscall/64: Explicitly set _PAGE_USER in the pagetable hierarchy
4664833b9c38 x86/mm/dump_pagetables: Make the address hints correct and readable
9ed67a029dd7 x86/mm/dump_pagetables: Check PAGE_PRESENT for real
0f9f378903ae x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount
358a83a1de54 x86/cpufeatures: Make CPU bugs sticky
ae16a824dd62 x86/paravirt: Provide a way to check for hypervisors
93231925335a x86/paravirt: Dont patch flush_tlb_single
3e9cf8fb4db0 x86/entry/64: Make cpu_entry_area.tss read-only
47cb726a9600 x86/entry: Clean up the SYSENTER_stack code
ff29cda6c2f2 x86/entry/64: Remove the SYSENTER stack canary
33e8a0a90105 x86/entry/64: Move the IST stacks into struct cpu_entry_area
8aa71a5cdc32 x86/entry/64: Create a per-CPU SYSCALL entry trampoline
077a04534cc4 x86/entry/64: Return to userspace from the trampoline stack
698892158210 x86/entry/64: Use a per-CPU trampoline stack for IDT entries
7df5dc38dc29 x86/espfix/64: Stop assuming that pt_regs is on the entry stack
7b6d319e2616 x86/entry/64: Separate cpu_current_top_of_stack from TSS.sp0
e75df8aedce8 x86/entry: Remap the TSS into the CPU entry area
0e0055bbeb2a x86/entry: Move SYSENTER_stack to the beginning of struct tss_struct
d9e17c57f62a x86/dumpstack: Handle stack overflow on all stacks
b6645c3c626e x86/entry: Fix assumptions that the HW TSS is at the beginning of cpu_tss
99a47d22f1fa x86/kasan/64: Teach KASAN about the cpu_entry_area
0863f76db090 x86/mm/fixmap: Generalize the GDT fixmap mechanism, introduce struct cpu_entry_area
3b825a015513 x86/entry/gdt: Put per-CPU GDT remaps in ascending order
8e905774d607 x86/dumpstack: Add get_stack_info() support for the SYSENTER stack
ca02a72c9150 x86/entry/64: Allocate and enable the SYSENTER stack
4eec07ec7a5c x86/irq/64: Print the offending IP in the stack overflow warning
a7b282cd43ba x86/irq: Remove an old outdated comment about context tracking races
d2408cf269d1 x86/entry/64/paravirt: Use paravirt-safe macro to access eflags
6a99c031df60 x86/mm/kasan: Don't use vmemmap_populate() to initialize shadow
b3f96767d068 locking/barriers: Convert users of lockless_dereference() to READ_ONCE()
c1763d787577 locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE()
756428416ce0 perf/x86: Enable free running PEBS for REGS_USER/INTR
2eecb0acd97a x86: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on AMD
493513aefcc5 x86/cpufeature: Add User-Mode Instruction Prevention definitions
019141d42ebe drivers/misc/intel/pti: Rename the header file to free up the namespace
871d6926064c x86/xen: Fix xen head ELF annotations
d20c9ba72b8f x86/boot: Annotate verify_cpu() as a callable function
d32d0f94a7ee x86/head: Fix head ELF function annotations
18f077dfae1c x86/head: Remove unused 'bad_address' code
d5d921a047b9 x86/head: Remove confusing comment
f6dd6567d09d kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
cf2791ad9e53 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
2071cfd700f6 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
806424fd3065 kvm, mm: account kvm related kmem slabs to kmemcg
9575a6ffb4b7 x86/virt: Add enum for hypervisors to replace x86_hyper
e8baad3e5158 x86/virt, x86/platform: Merge 'struct x86_hyper' into 'struct x86_platform' and 'struct x86_init'
cb995fcf5ae2 x86/mm/64: Rename the register_page_bootmem_memmap() 'size' parameter to 'nr_pages'
c94b6dded6eb x86/xen: Drop 5-level paging support code from the XEN_PV code
119347a0ef41 x86/xen: Provide pre-built page tables only for CONFIG_XEN_PV=y and CONFIG_XEN_PVH=y
199e4741c8b9 x86/kasan: Use the same shadow offset for 4- and 5-level paging
1c5ea732a936 mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y
8915a13ca5a4 mm, x86/mm: Fix performance regression in get_user_pages_fast()
66ea32e385a8 x86/insn-eval: Add a utility function to get register offsets
7ce86fc1e901 x86/insn-eval: Do not BUG on invalid register type
c958c84cf7c2 x86/mpx, x86/insn: Relocate insn util functions to a new insn-eval file
8d8f073eaa31 x86/mpx: Do not use SIB.base if its value is 101b and ModRM.mod = 0
ec1786527e7f x86/mpx: Do not use SIB.index if its value is 100b and ModRM.mod is not 11b
897aeabaf3c1 x86/mpx: Use signed variables to compute effective addresses
bdc345828604 x86/mpx: Simplify handling of errors when computing linear addresses
d35dbe818a6a ptrace,x86: Make user_64bit_mode() available to 32-bit builds
ef02e49ac1a7 x86/boot: Relocate definition of the initial state of CR0
1542a015ace2 x86/mm: Relocate page fault error codes to traps.h
7edfe87940e2 selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as well
be33b76702d9 selftests/x86/ldt_gdt: Add infrastructure to test set_thread_area()
738b110511ba selftests/x86/ldt_gdt: Robustify against set_thread_area() and LAR oddities
1f9e12c2e81e x86/cpufeatures: Fix various details in the feature definitions
14fe162f996f x86/cpufeatures: Re-tabulate the X86_FEATURE definitions
be9780fb7a30 x86/build: Beautify build log of syscall headers
601a71aa8028 x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE
6a9dda277c24 bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")
c3e13e28aa72 x86/cpuid: Replace set/clear_bit32()
a87fa3721441 x86/cpufeatures: Enable new SSE/AVX/AVX512 CPU features
8bf58a744e9a x86/cpuid: Prevent out of bound access in do_clear_cpu_cap()
5dd037e50e83 x86/fpu: Remove the explicit clearing of XSAVE dependent features
691bb62c5c87 x86/fpu: Make XSAVE check the base CPUID features before enabling
384a2d7af44d x86/fpu: Parse clearcpuid= as early XSAVE argument
36381d76b645 x86/cpuid: Add generic table for CPUID dependencies
50c6c061f4d6 bitops: Add clear/set_bit32() to linux/bitops.h
4ef351ff7bab x86/fpu/debug: Remove unused 'x86_fpu_state' and 'x86_fpu_deactivate_state' tracepoints
cc2b5786a84b x86/entry/64: Shorten TEST instructions
d26fc8d39309 x86/traps: Use a new on_thread_stack() helper to clean up an assertion
f475d79e9115 x86/entry/64: Remove thread_struct::sp0
ee2f1a81b613 x86/entry/32: Fix cpu_current_top_of_stack initialization at boot
a69652f6e628 x86/entry/64: Remove all remaining direct thread_struct::sp0 reads
f7945199711d x86/entry/64: Stop initializing TSS.sp0 at boot
3476ab68a9bf x86/xen/64, x86/entry/64: Clean up SP code in cpu_initialize_context()
c2e6ce4b2921 x86/entry: Add task_top_of_stack() to find the top of a task's stack
45c4053bf8d4 x86/entry/64: Pass SP0 directly to load_sp0()
1acf96028d04 x86/entry/32: Pull the MSR_IA32_SYSENTER_CS update code out of native_load_sp0()
ab80fe6f16d3 x86/entry/64: De-Xen-ify our NMI code
d067fb259523 xen, x86/entry/64: Add xen NMI trap entry
13ead6fcd2ab x86/entry/64: Remove the RESTORE_..._REGS infrastructure
6793d49993e4 x86/entry/64: Use POP instead of MOV to restore regs on NMI return
ba46462c7964 x86/entry/64: Merge the fast and slow SYSRET paths
905d20dd5054 x86/entry/64: Use pop instead of movq in syscall_return_via_sysret
99bc33079304 x86/entry/64: Shrink paranoid_exit_restore and make labels local
3c16e0932979 x86/entry/64: Simplify reg restore code in the standard IRET paths
4fc1d8b76f21 x86/entry/64: Move SWAPGS into the common IRET-to-usermode path
f32123527bed x86/entry/64: Split the IRET-to-user and IRET-to-kernel paths
3b475309f976 x86/entry/64: Remove the restore_c_regs_and_iret label
f3bd88849f88 x86/asm: Don't use the confusing '.ifeq' directive
d36e0d395ca2 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
ca024e7d1862 x86/asm: Remove unnecessary \n\t in front of CC_SET() from asm templates
dcc5f2f8c5db x86/mm/64: Remove the last VM_BUG_ON() from the TLB code
c01d65a2df94 x86/mm: Flush more aggressively in lazy TLB mode
71570531a921 x86/mm/32: Load a sane CR3 before cpu_init() on secondary CPUs
7896047cb4de x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
557c6cb2e892 x86/mm/64: Stop using CR3.PCID == 0 in ASID-aware code
bdf06611e863 x86/mm: Factor out CR3-building code
28dfb0cf1cd6 x86/mm/64: Initialize CR4.PCIDE early
c45360a1779f x86/mm: Get rid of VM_BUG_ON in switch_tlb_irqs_off()
50522881fb0b x86/mm: Document how CR4.PCIDE restore works
d8fa770e4331 x86/mm: Reinitialize TLB state on hotplug and resume
223590ce02fa x86/xen: Get rid of paravirt op adjust_exception_frame
9148019af215 x86/mm, mm/hwpoison: Clear PRESENT bit for kernel 1:1 mappings of poison pages
93753465c1fb x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y
866ec7bd5055 x86/mm: Implement PCID based optimization: try to preserve old TLB entries using PCID
0ca4a0dcd2b1 x86/mpx: Do not allow MPX if we have mappings above 47-bit
69fa7265508d x86/mm/dump_pagetables: Fix printout of p4d level
172774bfa3ef x86/boot: Add early cmdline parsing for options with arguments
47c915550f9e x86/mm: Enable CR4.PCIDE on supported systems
4bda31395beb x86/mm: Add the 'nopcid' boot option to turn off PCID
ae3c78546a4d x86/mm: Disable PCID on 32-bit kernels
a506eb1a28ee x86/mm: Stop calling leave_mm() in idle code
8d640d568fc8 x86/mm: Rework lazy TLB mode and TLB freshness tracking
6856a6907443 x86/mm: Track the TLB's tlb_gen and update the flushing algorithm
75309cc8a392 x86/mm: Give each mm TLB flush generation a unique ID
90d8521ed090 x86/xen/64: Rearrange the SYSCALL entries
cd77afb4a51a x86/asm: Add suffix macro for GEN_*_RMWcc()
5d4c36800831 x86/entry/64: Refactor IRQ stacks and make them NMI-safe
9b1ff5eeadc1 irq: Make the irqentry text section unconditional
2df8e4dd8ad5 x86: provide an init_mem_mapping hypervisor hook
03a415bbc469 x86/kasan: don't allocate extra shadow memory
e5881507ab4b x86/mm: Delete a big outdated comment about TLB flushing
2612885620dc x86/mm: Don't reenter flush_tlb_func_common()
8c33de3d1431 x86/mm: Remove reset_lazy_tlbstate()
22e8e068200a x86/ldt: Simplify the LDT switching logic
306b70104b69 x86/boot/64: Put __startup_64() into .head.text
6785f222adc3 x86/mm: Add support for 5-level paging for KASLR
3591558ac071 x86/mm: Make kernel_physical_mapping_init() support 5-level paging
e93998d5a995 x86/mm: Add sync_global_pgds() for configuration with 5-level paging
8d08f0f9511a x86/boot/64: Add support of additional page table level during early boot
08ef52fc8c27 x86/boot/64: Rename init_level4_pgt and early_level4_pgt
8e3d8cc05bab x86/boot/64: Rewrite startup_64() in C
40029728da7c x86/boot/compressed: Enable 5-level paging during decompression stage
9f9cc4499abe x86/boot/efi: Define __KERNEL32_CS GDT on 64-bit configurations
f56c74bc479b x86/asm: Fix comment in return_from_SYSCALL_64()
37edb519e13e x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3()
ae39e66a6c22 x86/ldt: Rename ldt_struct::size to ::nr_entries
8e9fceb46493 mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
73c1f133b39a x86/mm, KVM: Teach KVM's VMX code that CR3 isn't a constant
6652b39ab9a7 x86/mm: Be more consistent wrt PAGE_SHIFT vs PAGE_SIZE in tlb flush code
5f8577a5dfcb x86/mm: Rework lazy TLB to track the actual loaded mm
0444036bd674 x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
a8c7f8a7a0b3 x86/mm: Use new merged flush logic in arch_tlbbatch_flush()
d47f84368847 x86/mm: Refactor flush_tlb_mm_range() to merge local and remote cases
5a32e49af880 x86/mm: Change the leave_mm() condition for local TLB flushes
c2c97859bbc5 x86/mm: Pass flush_tlb_info to flush_tlb_others() etc
30210c7c83b5 mm, x86/mm: Make the batched unmap TLB flush API more generic
a56dacbe25a0 x86/mm: Reduce indentation in flush_tlb_func()
4e69fbba04b0 x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
(From OE-Core rev: 6a13b0c1e78a671563252a59351d7c1061664087)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
changes:
e6e2d12fa46b Linux 4.15.3
b78dc2478714 crypto: tcrypt - fix S/G table for test_aead_speed()
65a4a2157f0b gpio: uniphier: fix mismatch between license text and MODULE_LICENSE
222090655dbb media: tegra-cec: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
bc87735cb005 media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
fe70ce28670e media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION
25de2482a958 net: sched: fix use-after-free in tcf_block_put_ext
41551c14bf0d net_sched: get rid of rcu_barrier() in tcf_block_put_ext()
4c92abe86a20 soreuseport: fix mem leak in reuseport_add_sock()
07055dd6c806 ipv6: Fix SO_REUSEPORT UDP socket with implicit sk_ipv6only
ce6fa12a7ba5 cls_u32: add missing RCU annotation.
a742a89695ce tcp_bbr: fix pacing_gain to always be unity when using lt_bw
759f8b0b3ad8 rocker: fix possible null pointer dereference in rocker_router_fib_event_work
d19a4d19ccab net: ipv6: send unsolicited NA after DAD
b22b76fbd802 Revert "defer call to mem_cgroup_sk_alloc()"
81259f3592f8 ipv6: change route cache aging logic
513f3cc3d1d3 ipv6: addrconf: break critical section in addrconf_verify_rtnl()
cb0fddba2081 vhost_net: stop device during reset owner
f76c9a0fbf5b tcp: release sk_frag.page in tcp_disconnect
b0acbef9edb2 r8169: fix RTL8168EP take too long to complete driver initialization.
514377344c30 qmi_wwan: Add support for Quectel EP06
da1761bde55f qlcnic: fix deadlock bug
ca89dee1eb41 net: igmp: add a missing rcu locking section
6555d5440ba2 ip6mr: fix stale iterator
db22ec452bb4 Linux 4.15.2
35314545f115 fpga: region: release of_parse_phandle nodes after use
b796d30928fe serial: core: mark port as initialized after successful IRQ change
bad75ea552a8 KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL
6d45809fe88f KVM/VMX: Allow direct access to MSR_IA32_SPEC_CTRL
3d6e862c967f KVM/VMX: Emulate MSR_IA32_ARCH_CAPABILITIES
4659554aecb0 KVM/x86: Add IBPB support
f13d17517fd0 KVM/x86: Update the reverse_cpuid list to include CPUID_7_EDX
9e4d1de59c95 x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL
d13d4d2a597a x86/pti: Mark constant arrays as __initconst
28cf1d82995c x86/spectre: Simplify spectre_v2 command line parsing
76e36defe096 x86/retpoline: Avoid retpolines for built-in __init functions
9ec4cfcef13f x86/kvm: Update spectre-v1 mitigation
b399b9864988 KVM: VMX: make MSR bitmaps per-VCPU
6e337065e6de x86/paravirt: Remove 'noreplace-paravirt' cmdline option
061c8e740e90 x86/speculation: Use Indirect Branch Prediction Barrier in context switch
9a417b0fe093 x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel
7aa1a1703133 x86/spectre: Fix spelling mistake: "vunerable"-> "vulnerable"
bdfaac0f1811 x86/spectre: Report get_user mitigation for spectre_v1
d583ef2659da nl80211: Sanitize array index in parse_txq_params
64dab840017d vfs, fdtable: Prevent bounds-check bypass via speculative execution
fecca4925b89 x86/syscall: Sanitize syscall table de-references under speculation
31d4cf78bb3d x86/get_user: Use pointer masking to limit speculation
d193324bd64f x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec
bd74e76bfd3d x86/usercopy: Replace open coded stac/clac with __uaccess_{begin, end}
fa46638b0bbf x86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec
7ec7f5580122 x86: Introduce barrier_nospec
d9f24681fd02 x86: Implement array_index_mask_nospec
8a1c71c817f7 array_index_nospec: Sanitize speculative array de-references
a35f71001b40 Documentation: Document array_index_nospec
6adfc96f74dc x86/asm: Move 'status' from thread_struct to thread_info
6a35b18b3dca x86/entry/64: Push extra regs right away
dd9708c3dbac x86/entry/64: Remove the SYSCALL64 fast path
6ff25f602b37 x86/spectre: Check CONFIG_RETPOLINE in command line parser
62c00e6122a6 x86/mm: Fix overlap of i386 CPU_ENTRY_AREA with FIX_BTMAP
dd1256185482 objtool: Warn on stripped section symbol
1e7c7191e892 objtool: Add support for alternatives at the end of a section
0603b3626273 objtool: Improve retpoline alternative handling
3dcc78148a15 KVM: VMX: introduce alloc_loaded_vmcs
81e19f12d180 KVM: nVMX: Eliminate vmcs02 pool
b053d9d2926b ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
793cc747e390 pinctrl: pxa: pxa2xx: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
39e8aa5b30d6 iio: adc/accel: Fix up module licenses
c7faead761c5 auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
0f6e6bce69d9 x86/speculation: Simplify indirect_branch_prediction_barrier()
058840da8002 x86/retpoline: Simplify vmexit_fill_RSB()
24516e9a2e3f x86/cpufeatures: Clean up Spectre v2 related CPUID flags
d815b3ac3a14 x86/cpu/bugs: Make retpoline module warning conditional
b63521664040 x86/bugs: Drop one "mitigation" from dmesg
88106347fcd4 x86/nospec: Fix header guards names
739050a47dc6 x86/alternative: Print unadorned pointers
c96b2819eb8f x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support
727eca64fb2b x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes
bcfd19e90a7d x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown
c32525a0ee28 x86/msr: Add definitions for new speculation control MSRs
c11a94aef481 x86/cpufeatures: Add AMD feature bits for Speculation Control
6acd374af3f3 x86/cpufeatures: Add Intel feature bits for Speculation Control
ad35224462a1 x86/cpufeatures: Add CPUID_7_EDX CPUID leaf
2ce5583273b2 module/retpoline: Warn about missing retpoline in module
96e1c36869e3 KVM: VMX: Make indirect call speculation safe
be88e936a27d KVM: x86: Make indirect calls in emulator speculation safe
d55dce9083d0 Linux 4.15.1
d4374d0a85e5 x86/efi: Clarify that reset attack mitigation needs appropriate userspace
589aadd6577b Input: synaptics-rmi4 - do not delete interrupt memory too early
e66aa9b5cedf Input: synaptics-rmi4 - unmask F03 interrupts when port is opened
d7e9ad33f4a9 test_firmware: fix missing unlock on error in config_num_requests_store()
b82021cb0001 iio: chemical: ccs811: Fix output of IIO_CONCENTRATION channels
ce868fb5d84b iio: adc: stm32: fix scan of multiple channels with DMA
bac4bf53ca7c spi: imx: do not access registers while clocks disabled
68c610bf1e38 serial: imx: Only wakeup via RTSDEN bit if the system has RTS/CTS
150becd9a389 serial: 8250_dw: Revert "Improve clock rate setting"
c0dbcbb52e8c serial: 8250_uniphier: fix error return code in uniphier_uart_probe()
970aeba3f3e5 serial: 8250_of: fix return code when probe function fails to get reset
4e45815fcd38 mei: me: allow runtime pm for platform with D0i3
76ee8f3d7af2 android: binder: use VM_ALLOC to get vm area
7654cae54337 ANDROID: binder: remove waitqueue when thread exits.
fe188a034ead usb/gadget: Fix "high bandwidth" check in usb_gadget_ep_match_desc()
5f9ec18949c5 usb: uas: unconditionally bring back host after reset
05ebcaef21aa usb: f_fs: Prevent gadget unbind if it is already unbound
16d643ddaa3b USB: serial: simple: add Motorola Tetra driver
7ec7c9e0abda usbip: list: don't list devices attached to vhci_hcd
053cef5ae90a usbip: prevent bind loops on devices attached to vhci_hcd
327b34d402aa USB: serial: io_edgeport: fix possible sleep-in-atomic
6b5cd469cffb CDC-ACM: apply quirk for card reader
af6e0b55ee7c USB: cdc-acm: Do not log urb submission errors on disconnect
167c2b3bb56d USB: serial: pl2303: new device id for Chilitag
f09196b83366 usb: option: Add support for FS040U modem
3e1995ed770e tty: fix data race between tty_init_dev and flush of buf
e880bc8b35f8 staging: ccree: fix fips event irq handling build
d3a65e371e24 staging: ccree: NULLify backup_info when unused
c857988cb332 staging: lustre: separate a connection destroy from free struct kib_conn
5a313f217cdd scsi: storvsc: missing error code in storvsc_probe()
a63f24a621bd scsi: aacraid: Fix hang in kdump
623130d4173a scsi: aacraid: Fix udev inquiry race condition
bbaf9ef523bf ima/policy: fix parsing of fsuuid
50b1c3e02986 igb: Free IRQs when device is hotplugged
7981935860a3 mtd: nand: denali_pci: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
2db691195247 gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
397b9b19bfbd gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
14fe41dd0295 power: reset: zx-reboot: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
c08a3601eadd HID: wacom: Fix reporting of touch toggle (WACOM_HID_WD_MUTE_DEVICE) events
a952547e89fc HID: wacom: EKR: ensure devres groups at higher indexes are released
cc5daa4b691b crypto: af_alg - whitelist mask and type
66ae99ca89cb crypto: sha3-generic - fixes for alignment and big endian operation
e02e32d0b7b2 crypto: inside-secure - avoid unmapping DMA memory that was not mapped
cb06c7a568b0 crypto: inside-secure - fix hash when length is a multiple of a block
13f2e2db18a8 crypto: aesni - Fix out-of-bounds access of the AAD buffer in generic-gcm-aesni
eef10a3e99c7 crypto: aesni - Fix out-of-bounds access of the data buffer in generic-gcm-aesni
8a393aecc4d7 crypto: aesni - add wrapper for generic gcm(aes)
799cdd8acd71 crypto: aesni - fix typo in generic_gcmaes_decrypt
c862ace9b73d crypto: aesni - handle zero length dst buffer
436bcaa6bc35 crypto: ecdh - fix typo in KPP dependency of CRYPTO_ECDH
7bccfc3bccae ALSA: hda - Reduce the suspend time consumption for ALC256
5e5a8be02370 gpio: Fix kernel stack leak to userspace
b98fe1634c13 gpio: stmpe: i2c transfer are forbiden in atomic context
70f19ee8b455 tools/gpio: Fix build error with musl libc
ed3bbbc84f13 Bluetooth: hci_serdev: Init hci_uart proto_lock to avoid oops
(From OE-Core rev: f91f60e916387e61335494dc444aedbaeb07c7dc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the preempt-rt patch to v4.14 and also updating the -stable
version to 4.14.18 to pickup the following fixes:
81d0cc85caab Linux 4.14.18
8d1ed7d4e1ce fpga: region: release of_parse_phandle nodes after use
a252f37c5f8b serial: core: mark port as initialized after successful IRQ change
f6d90612c96c KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL
4a82531c96a2 KVM/VMX: Allow direct access to MSR_IA32_SPEC_CTRL
0716f551d5a2 KVM/VMX: Emulate MSR_IA32_ARCH_CAPABILITIES
d395d69de67e KVM/x86: Add IBPB support
8f7c4d52a0e8 KVM/x86: Update the reverse_cpuid list to include CPUID_7_EDX
4c8298c1fdd3 x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL
6dd1f6989a54 x86/pti: Mark constant arrays as __initconst
ebaf2271a024 x86/spectre: Simplify spectre_v2 command line parsing
838dbae0acd0 x86/retpoline: Avoid retpolines for built-in __init functions
6f6eb84b14ac x86/kvm: Update spectre-v1 mitigation
7f8da2c8a191 KVM: VMX: make MSR bitmaps per-VCPU
ad368e5b2d56 x86/paravirt: Remove 'noreplace-paravirt' cmdline option
7a3f12294da4 x86/speculation: Use Indirect Branch Prediction Barrier in context switch
85543d7613c4 x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel
c962dfa4aca0 x86/spectre: Fix spelling mistake: "vunerable"-> "vulnerable"
863b308dbb19 x86/spectre: Report get_user mitigation for spectre_v1
c9daf8144642 nl80211: Sanitize array index in parse_txq_params
98116c32d3b4 vfs, fdtable: Prevent bounds-check bypass via speculative execution
003513404120 x86/syscall: Sanitize syscall table de-references under speculation
edaf1538d3a5 x86/get_user: Use pointer masking to limit speculation
5f40de41ccae x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec
2406eb9f4568 x86/usercopy: Replace open coded stac/clac with __uaccess_{begin, end}
31c5b332189e x86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec
437ac7b6868d x86: Introduce barrier_nospec
4820d42835b2 x86: Implement array_index_mask_nospec
478742cf80b7 array_index_nospec: Sanitize speculative array de-references
e72041f70c3c Documentation: Document array_index_nospec
fb9f2d9ab83d x86/asm: Move 'status' from thread_struct to thread_info
90522d30b223 x86/entry/64: Push extra regs right away
8459ebcbd6ec x86/entry/64: Remove the SYSCALL64 fast path
74ae346691dd x86/spectre: Check CONFIG_RETPOLINE in command line parser
04e073072d14 x86/mm: Fix overlap of i386 CPU_ENTRY_AREA with FIX_BTMAP
23a4ca4e749a objtool: Warn on stripped section symbol
3e04e09855c5 objtool: Add support for alternatives at the end of a section
a358df03279e objtool: Improve retpoline alternative handling
92f4b68ed14c KVM: VMX: introduce alloc_loaded_vmcs
2e9521197f08 KVM: nVMX: Eliminate vmcs02 pool
76f06358ec40 ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
bc484da3e18c pinctrl: pxa: pxa2xx: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
ce094a80f019 iio: adc/accel: Fix up module licenses
c8aa5cd906a5 auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
9f8955f96bd5 x86/speculation: Simplify indirect_branch_prediction_barrier()
52d78bce4965 x86/retpoline: Simplify vmexit_fill_RSB()
7f3e0daa9e12 x86/cpufeatures: Clean up Spectre v2 related CPUID flags
249b1f7a7f09 x86/cpu/bugs: Make retpoline module warning conditional
91ff9a75f360 x86/bugs: Drop one "mitigation" from dmesg
b955239cf4ea x86/nospec: Fix header guards names
67eb59b8ecfb x86/alternative: Print unadorned pointers
dbbbafce5380 x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support
0fd222b19766 x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes
d9b47a41160c x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown
a65710dc584c x86/msr: Add definitions for new speculation control MSRs
15ee82be40b6 x86/cpufeatures: Add AMD feature bits for Speculation Control
343c91242d09 x86/cpufeatures: Add Intel feature bits for Speculation Control
76c4bd53969b x86/cpufeatures: Add CPUID_7_EDX CPUID leaf
86b5b1eb18aa module/retpoline: Warn about missing retpoline in module
c927726674c7 KVM: VMX: Make indirect call speculation safe
76bee09efb89 KVM: x86: Make indirect calls in emulator speculation safe
4ce354deed2c x86/retpoline: Remove the esp/rsp thunk
d6eded6c9453 powerpc/64s: Allow control of RFI flush via debugfs
517bdccc3af6 powerpc/64s: Wire up cpu_show_meltdown()
16d3d10d29f7 scripts/faddr2line: fix CROSS_COMPILE unset error
0146985addc3 Linux 4.14.17
04178b1709b6 x86/efi: Clarify that reset attack mitigation needs appropriate userspace
01ab9886ea78 Input: synaptics-rmi4 - do not delete interrupt memory too early
fced3c99e726 Input: synaptics-rmi4 - unmask F03 interrupts when port is opened
aad757b65717 test_firmware: fix missing unlock on error in config_num_requests_store()
0db5de4f4e18 iio: chemical: ccs811: Fix output of IIO_CONCENTRATION channels
e2d4cdb7b8a4 iio: adc: stm32: fix scan of multiple channels with DMA
cfd96cbd607a spi: imx: do not access registers while clocks disabled
e6e7d6baa61a serial: imx: Only wakeup via RTSDEN bit if the system has RTS/CTS
24293a3970e1 serial: 8250_uniphier: fix error return code in uniphier_uart_probe()
aa33208b5a6f serial: 8250_of: fix return code when probe function fails to get reset
e00c5c771877 mei: me: allow runtime pm for platform with D0i3
86eda3864a70 android: binder: use VM_ALLOC to get vm area
7a3cee43e935 ANDROID: binder: remove waitqueue when thread exits.
2ba5966eddef usb/gadget: Fix "high bandwidth" check in usb_gadget_ep_match_desc()
e0096f93aa42 usb: uas: unconditionally bring back host after reset
75816a439f65 usb: f_fs: Prevent gadget unbind if it is already unbound
1c226267c225 USB: serial: simple: add Motorola Tetra driver
d00a0442a99e usbip: list: don't list devices attached to vhci_hcd
aa7cdae765cf usbip: prevent bind loops on devices attached to vhci_hcd
9a24d3f8c566 USB: serial: io_edgeport: fix possible sleep-in-atomic
34b812ca3038 CDC-ACM: apply quirk for card reader
ca7964983ca4 USB: cdc-acm: Do not log urb submission errors on disconnect
bfc372036b41 USB: serial: pl2303: new device id for Chilitag
947914111303 usb: option: Add support for FS040U modem
3c538ad93546 tty: fix data race between tty_init_dev and flush of buf
eb6de1af2e72 staging: ccree: fix fips event irq handling build
fad7da7b638a staging: ccree: NULLify backup_info when unused
7a4b5ee973cf staging: lustre: separate a connection destroy from free struct kib_conn
c065b9947b05 KVM: x86: emulate #UD while in guest mode
e9273b08d4fb drm/vc4: Move IRQ enable to PM path
c789cfe0ae72 staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID
0479bc01767f usb: gadget: don't dereference g until after it has been null checked
aafb1a7eb0f7 x86/xen: Support early interrupts in xen pv guests
99a8cad9c1b2 media: usbtv: add a new usbid
504b902b36a9 ARM: dts: NSP: Fix PPI interrupt types
12f165f4418a ARM: dts: NSP: Disable AHCI controller for HR NSP boards
c67fa169456e iwlwifi: fix access to prph when transport is stopped
99f3d5f37e58 iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type
6c27a40c9e18 scsi: ufs: ufshcd: fix potential NULL pointer dereference in ufshcd_config_vreg
39527e909ea5 scsi: aacraid: Prevent crash in case of free interrupt during scsi EH path
612959943e40 perf/core: Fix memory leak triggered by perf --namespace
773a1c5baad2 xfs: Properly retry failed dquot items in case of error during buffer writeback
4e506f41705c xfs: ubsan fixes
4a96f3d05668 drm/omap: displays: panel-dpi: add backlight dependency
345dc6d499d8 drm/omap: Fix error handling path in 'omap_dmm_probe()'
464711a74ce3 drm/bridge: tc358767: fix 1-lane behavior
340c9a4ba303 drm/bridge: tc358767: fix AUXDATAn registers access
b536eb986e45 drm/bridge: tc358767: fix timing calculations
0106381870a4 drm/bridge: tc358767: fix DP0_MISC register set
859bacc13cbb drm/bridge: tc358767: filter out too high modes
6d734363f2c5 drm/bridge: tc358767: do no fail on hi-res displays
345f165a31b8 drm/bridge: Fix lvds-encoder since the panel_bridge rework.
b2ba0bd34695 kmemleak: add scheduling point to kmemleak_scan()
bf6a04c3ffe1 scripts/faddr2line: extend usage on generic arch
ca4b61373ee8 SUNRPC: Allow connect to return EHOSTUNREACH
8f8b2c79c4a3 quota: Check for register_shrinker() failure.
600c904b919a net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit
575c548137f8 drm/amdgpu: don't try to move pinned BOs
f730601cdead xfs: fortify xfs_alloc_buftarg error handling
95a7d23415b7 nvme-pci: fix NULL pointer dereference in nvme_free_host_mem()
f268e508aeb2 Btrfs: incremental send, fix wrong unlink path after renaming file
b27440626674 bnxt_en: Fix an error handling path in 'bnxt_get_module_eeprom()'
c25d803a3b7d net: phy: marvell10g: fix the PHY id mask
5e60a297e78d net: mvpp2: fix the txq_init error path
606592f53b87 quota: propagate error from __dquot_initialize
1271aeb0027c hwmon: (pmbus) Use 64bit math for DIRECT format values
02cfbaa6cd42 lockd: fix "list_add double add" caused by legacy signal interface
156c80d4e197 race of lockd inetaddr notifiers vs nlmsvc_rqst change
631db7f3895b nfsd: check for use of the closed special stateid
e0849eb97066 grace: replace BUG_ON by WARN_ONCE in exit_net hook
3bd364d156b1 nfsd: Ensure we check stateid validity in the seqid operation checks
5f71ff510631 nfsd: CLOSE SHOULD return the invalid special stateid for NFSv4.x (x>0)
c900ee9118d7 auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM
0ffb252208a2 xen-netfront: remove warning when unloading module
53c045c6d07d i2c: i2c-boardinfo: fix memory leaks on devinfo
30ac846da360 xfs: log recovery should replay deferred ops in order
1eccdbd4836a xfs: always free inline data before resetting inode fork during ifree
40ba283e2602 KVM: Let KVM_SET_SIGNAL_MASK work as advertised
809981870b66 Btrfs: fix list_add corruption and soft lockups in fsync
2ce1bbfb5e67 KVM: VMX: Fix rflags cache during vCPU reset
2f1b5183aee3 KVM: X86: Fix softlockup when get the current kvmclock
9a447435afab reiserfs: remove unneeded i_version bump
14a4e9f6bde8 sctp: set sender next_tsn for the old result with ctsn_ack_point plus 1
55f3de731c0b sctp: avoid flushing unsent queue when doing asoc reset
d4c72a410f3b sctp: only allow the asoc reset when the asoc outq is empty
928066e61940 btrfs: fix deadlock when writing out space cache
841211271ecc mac80211: fix the update of path metric for RANN frame
e23090a7d8f0 mac80211: use QoS NDP for AP probing
093a5cb46d05 drm/rockchip: dw-mipi-dsi: fix possible un-balanced runtime PM enable
9be97a9abe9e openvswitch: fix the incorrect flow action alloc size
dd45c5e5be07 nvme-rdma: don't complete requests before a send work request has completed
120c41af36df uapi: fix linux/kfd_ioctl.h userspace compilation errors
b15f53b46d88 drm/amdkfd: Fix SDMA oversubsription handling
64aca9911a10 drm/amdkfd: Fix SDMA ring buffer size calculation
a595f190fc6b drm/amdgpu: Fix SDMA load/unload sequence on HWS disabled mode
f9f175778bb9 bcache: check return value of register_shrinker
1392633bafde rxrpc: Fix service endpoint expiry
b89372f234a8 rxrpc: Provide a different lockdep key for call->user_mutex for kernel calls
92c131bebf47 rxrpc: The mutex lock returned by rxrpc_accept_call() needs releasing
e2443fb287cc s390: fix alloc_pgste check in init_new_context again
2e194c9c5596 null_blk: fix dev->badblocks leak
d290178f00d4 cpufreq: Add Loongson machine dependencies
cb78d818c30d ACPI / bus: Leave modalias empty for devices which are not present
82b90de5b111 s390/zcrypt: Fix wrong comparison leading to strange load balancing
18c128456eac s390/topology: fix compile error in file arch/s390/kernel/smp.c
71686d2a1759 nvmet-fc: correct ref counting error when deferred rcv used
93a4bcf2c425 nvme-pci: avoid hmb desc array idx out-of-bound when hmmaxd set.
128dc55f891c nvme-pci: disable APST on Samsung SSD 960 EVO + ASUS PRIME B350M-A
7af5f9137c93 nvme-loop: check if queue is ready in queue_rq
db2044fc4230 nvme-fc: check if queue is ready in queue_rq
26bd01c1affe nvme-fabrics: introduce init command check for a queue that is not alive
d46e961f056a KVM: nVMX: Fix vmx_check_nested_events() return value in case an event was reinjected to L2
b689fc5b79d5 KVM: x86: ioapic: Preserve read-only values in the redirection table
408a26510739 KVM: x86: ioapic: Clear Remote IRR when entry is switched to edge-triggered
b501603be9df KVM: x86: ioapic: Fix level-triggered EOI and IOAPIC reconfigure race
f0a3691bf2e5 KVM: x86: fix em_fxstor() sleeping while in atomic
5e7c270a1e60 KVM: nVMX: Fix mmu context after VMLAUNCH/VMRESUME failure
4f5500a63455 KVM: X86: Fix operand/address-size during instruction decoding
df54fc5c28d2 KVM: x86: Don't re-execute instruction when not passing CR2 value
fbd81f09793b KVM: x86: emulator: Return to user-mode on L1 CPL=0 emulation failure
d003b4bfda3b KVM: nVMX/nSVM: Don't intercept #UD when running L2
f1881befacbe cpupower : Fix cpupower working when cpu0 is offline
1d285c0440fe cpupowerutils: bench - Fix cpu online check
71341a8a7037 Btrfs: bail out gracefully rather than BUG_ON
9a8215c0a91e btrfs: Fix transaction abort during failure in btrfs_rm_dev_item
08bb42086b3e drm/vc4: Account for interrupts in flight
bdf19237e16f VFS: Handle lazytime in do_mount()
d7fec01990e6 scsi: aacraid: Fix hang in kdump
791274e77395 scsi: aacraid: Fix udev inquiry race condition
516868c59d82 ima/policy: fix parsing of fsuuid
80baea0e6cf3 igb: Free IRQs when device is hotplugged
e6a5fe318036 mtd: nand: denali_pci: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
bf8c4b3dd7bf gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
925e26b922c5 gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
aecad437fd70 power: reset: zx-reboot: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
c76133afb903 HID: wacom: Fix reporting of touch toggle (WACOM_HID_WD_MUTE_DEVICE) events
e3f7e6f2e033 HID: wacom: EKR: ensure devres groups at higher indexes are released
f41c8a003196 crypto: af_alg - whitelist mask and type
b9788e278cec crypto: sha3-generic - fixes for alignment and big endian operation
199d97815d32 crypto: inside-secure - avoid unmapping DMA memory that was not mapped
bb9eec7b301e crypto: inside-secure - fix hash when length is a multiple of a block
5ca02df01602 crypto: aesni - Fix out-of-bounds access of the AAD buffer in generic-gcm-aesni
f898a39985a3 crypto: aesni - Fix out-of-bounds access of the data buffer in generic-gcm-aesni
265502fe9ab6 crypto: aesni - add wrapper for generic gcm(aes)
e704e550cb7b crypto: aesni - Use GCM IV size constant
cffaf2b6b179 crypto: gcm - add GCM IV size constant
e50f1d7c0d07 crypto: aesni - fix typo in generic_gcmaes_decrypt
6b3dcff7ca7e crypto: aesni - handle zero length dst buffer
299218276576 crypto: ecdh - fix typo in KPP dependency of CRYPTO_ECDH
a5ba0b372da3 ALSA: hda - Reduce the suspend time consumption for ALC256
c5845e025423 gpio: Fix kernel stack leak to userspace
460c5b9745b8 gpio: stmpe: i2c transfer are forbiden in atomic context
636124c8699b tools/gpio: Fix build error with musl libc
00251aedef31 KVM: x86: Fix CPUID function for word 6 (80000001_ECX)
d5e06a186721 loop: fix concurrent lo_open/lo_release
d383a4277b75 futex: Fix OWNER_DEAD fixup
(From OE-Core rev: 045e5f71a3237609f2276e8c620de60b53a34475)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some required build dependencies were missed when the -rt variant
for linux-yocto was created. We add them here to match the 4.15
recipe. Eventually, these can be placed in a common location and
included automatically.
(From OE-Core rev: 5aa88f8eecb083d22b4c6ac1f2114054705f98e8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the case of fontconfig, version x.x.9x are release candidates
for next version.
(From OE-Core rev: 6e14211b9dba6703aedf0a79100070430a47549c)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kmod option was changed in configure so PACAGECONFIG is tweaked
accordingly.
(From OE-Core rev: de1bc2b80cf1a75822d0dde521073a890d2f1d22)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All typos were in comments but some of these comments end up in run/log files.
The typos can be annoying when searching the log files so they're worth
fixing with ispell.
(From OE-Core rev: defffa3ba772d1643649591f6de96a4263570200)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
swig uses pkg-config for pcre detection
(From OE-Core rev: 960169f70448c5f7194d85be8212c4f659068ad2)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the following patches that are no-longer used in python3-pygobject:
1. 0001-configure.ac-Don-t-use-gnome-common-macros.patch
2. 0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch
(From OE-Core rev: ff229db47c520d77ca50a10c802ef9343b58efb9)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Suppress any warnings git might generate when searching for a valid git
directory, as there are use cases where the directory is expected to not
exist and the warning is superfluous
(From OE-Core rev: 66011996e1a8b738b31466fccad9973f8b48f71d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configure script uses pkg-config in RXVT_CHECK_MODULES and falls
back to disabling features that were enabled in EXTRA_OECONF if
pkg-config isn't found.
(From OE-Core rev: 50368960cde75803e3873ad1b37ecb00e92ad4ae)
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
coreutils configure script needs to know whether /proc/uptime is
available, but this is not possible in a cross-compilation
context. This leads to an uptime program that fails to work on the
target, as it has been compiled without /proc/uptime reading support.
This commit fixes that by telling coreutils at configure time that
/proc/uptime will be available on the target (which seems to be a
reasonable assumption on Linux systems).
This commit is made with great inspiration from Thomas Petazzoni's
patch to buildroot to fix the same issue.
(From OE-Core rev: 199b661c0699eb31df5bc73f2e3dce6a2db4585d)
Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code to extract the integer number of parallel build threads and
construct a new argument from them has started to be copied in multiple
locations, so create two new helper utilities to aid recipes.
The first helper (parallel_make()) extracts the integer number of
parallel build threads from PARALLEL_MAKE. The second
(parallel_make_argument()) does the same and then puts the result back
into a format string, optionally clamping it to some maximum value.
Additionally, rework the oe-core recipes that were manually doing this
to use the new helper utilities.
(From OE-Core rev: ccd1142d22b31ed85d8823b1bc9e11ccfd72b61f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE database stores all GStreamer issues under the catch-all product
'gstreamer', which none of our recipes match. Set CVE_PRODUCT to 'gstreamer' in
the core library: this isn't ideal but is far better than not scanning for any.
(From OE-Core rev: 7c15c595f4f51fa33e9d5ed1ef03bad9cd167eb4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no point even looking in the database for these, so unset CVE_PRODUCT.
(From OE-Core rev: f47da3e91541d75e1213dd9cf1f89ed16f21141a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We may ship db 5.3.28, but the CVE database knows this as oracle_berkeley_db
11.2.5.3.28.
(From OE-Core rev: f348cd641416d2750dfec8e19bd01e7ae9f809aa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some recipes is is meaningless to do a CVE check, for example packagegroups
or images. Check that CVE_PRODUCT is set and short-circuit the scan if it
isn't.
(From OE-Core rev: d1e7cb5c9e0d5d253b6bb5c968fa58944ea42d06)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For reasons which I don't understand, the Berkeley DB tarball is version 5.3.28
but in CVE reports the version is 11.2.5.3.28.
To handle this allow recipes to override their version as well as their name.
(From OE-Core rev: 36fbf96cf284acbc810ff3bf00702f1f82bc0da9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is where the other task logs go, so it's a sensible place to put it.
(From OE-Core rev: 4bbb8cd5f3943231ab5be0448d1b0d4a08341249)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hostname utility is also provided by busybox and net-tools. So
use alternatives mechanism to manage it in coreutils. Make its priority
higher than busybox. As hostname is not built by default for coreutils,
we make its priority lower than net-tools.
(From OE-Core rev: fbdc676878cf2a29654e071a7c5afd5114cc9e0b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps when libepoxy is compiled with egl but glx is disabled
it also depends on GL implementation provided eglplatform.h to be
using MESA_EGL_NO_X11_HEADERS to exclude X11 headers, e.g. mesa,
mali-userland implementations use this define to exclude x11
headers
(From OE-Core rev: 2655f7d26847424ac207e6e468a78a4ad293c4e9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tarball sources can be checksummed and are faster to download.
Added UPSTREAM_CHECK_URI to improve recipe maintenance and to
verify upstream version check is still work.
(From OE-Core rev: c18e042a43c56b4000a56ad20ee088ce4fd915f5)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
VNC server implementation in Quick Emulator (QEMU) 2.11.0 and older was found to
be vulnerable to an unbounded memory allocation issue, as it did not throttle
the framebuffer updates sent to its client. If the client did not consume these
updates, VNC server allocates growing memory to hold onto this data. A malicious
remote VNC client could use this flaw to cause DoS to the server host.
Backport a series of patches from upstream to resolve this.
(From OE-Core rev: a93d8ed1bc97595492abfca92d606e20dbdfa617)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sysfsutils is unmaintained and generally not needed.
(From OE-Core rev: 4b0a6ac87a9d1ef0ce8e84b56208d847718f12fd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous tarball URI seems to be gone.
Also, adjust a few things to make it actually build;
handling autotools-based projects from git checkouts is always harder
than taking them from tarballs :-(
(From OE-Core rev: b4542e867d54c56e6ef088fac28ae3d5e6c0d7bc)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has replaced autotools with meson, so the recipe has been adjusted accordingly.
0001-bookmarks-Check-for-return-value-of-fread.patch deleted as the file was completely refactored
0001-yelp.m4-drop-the-check-for-itstool.patch replaced with a patch for meson equivalent
(From OE-Core rev: 5d6b91bf124831eae46e2531155357bbe18e353a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CFLAGS is unset during kernel_do_compile and thus the default build
path substitutions in DEBUG_PREFIX_MAP are missing.
To enhance reproducible build for kernel modules, such as lttng-modules
and cryptodev-module, this patch appends them, plus substitution of
STAGING_KERNEL_DIR, to KERNEL_CC.
(From OE-Core rev: ef7dac8511fc1647bc481c0e2ffa19e08e06f007)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Major changes:
* Add option '--device <device>' to vainfo
* Add vp9enc for VP9 encoding
* Add vavpp for video processing
* Add FEI gtest cases
* Fix segmentation fault in putsurface_wayland
* Fix GCC 7.1.1 warnings/errors
* Fix libva version printed out by vainfo
Updated recipe to point to release tarball instead of git. Also, updated
github URLs to point to renamed Intel repository.
(From OE-Core rev: f355e40c84de55a7f71165873dbe7ef1ea870b83)
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>
libva 2.0 bumps the VA-API version to 1.0.0 and deletes egl and
tpi backends. The header files va_egl.h and va_tpi.h are still
packaged in -dev to ensure packages that still use them don't fail.
Major changes:
* Bump VA-API version to 1.0.0
* Add new API for H264 FEI support
* Add definition of VA_FOURCC_I420
* Add functions for converting common enums to strings
* Deprecate H.264 baseline profile and FMO support
* Deprecate packed misc packed header flag
* Delete libva-tpi and libva-egl backends
* Refine VASliceParameterBufferHEVC, VAEncMiscParameterBuffer
* Fix errors in VAConfigAttribValEncROI, VAEncMacroblockParameterBufferH264
* Fix race condition in wayland support
* Rename vaMessageCallback to VAMessageCallback
* Make logging callbacks library-safe
Updated recipe to point to release tarball instead of git. Also, updated the
github URLs to point to renamed Intel repository.
(From OE-Core rev: 6c4c321bdd6b34def6b77e1d6a0bed03779254cd)
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>
The pretty-printing "lsusb.py" script shipped by usbutils is currently
useless, as it doesn't runtime depend on python, and has unversioned
python in the shebang.
Avoid adding a python dependency to current configurations with usbutils
buy splitting lsusb.py into a usbutils-python package, and make it
runtime depend on python3-core.
Make the script usable by replacing the shebang with a direct call to
${bindir}/python3.
(From OE-Core rev: 42af9fedd31ecf5c6210d2f85f20540f85da59f4)
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I propose to take over gstreamer stack and x264. Remove libav entry since
the recipe was removed from oe-core. Change ownership of libva* since Wei Tee
is no longer working on oe-core.
(From OE-Core rev: 5e4dc51944a4d6cea520ed7bd5dd02b50f1228dc)
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>
Since modify _sysconfigdata.py to improve reproducibility,
its pyo files should be recompiled.
Remove remaining build host references of python3.5m-config
(From OE-Core rev: 49403dde0b69ee624c2dce7c60cf3a3962e83c54)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Native tools were not able to use the headers of apt-pkg. This patch
adds the feature.
The headers were added from apt-pkg and apt-inst to the native recipe.
The shipped headers match the ones in the Ubuntu package libapt-pkg-dev.
(From OE-Core rev: bf79355d2834a387f94978fe9650bee43244a40e)
Signed-off-by: Jan Siegmund <jsiegmund@arri.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prefix plus base_libdir generates an invalid path when building with
usrmerge, so change libacpi_fix_for_x32.patch to use libdir instead as
it provides the right path in both cases.
(From OE-Core rev: c46d50c82d8ad27aaa75b974fa80838ff3a81386)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst pigz is effectively a parallel gzip, the command line arguments are not
the same so pigz isn't a drop-in replacement for gzip.
[ YOCTO #12139 ]
[ YOCTO #12410 ]
(From OE-Core rev: 1624b7bfea7ac31c344a6cfcc7865a038e943814)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Back in 2010 the expat 2.0.1 tarball wouldn't unpack correctly with old gzip
releases (prior to 1.4). The fix was to explicitly depend on gzip-native to use
our binary instead of the host[1].
We don't ship expat 2.0.1 anymore, and even Centos 7 ships gzip 1.5, so this
workaround can be removed.
[1] oe-core 0ff62b0462
(From OE-Core rev: adc3da99a50c3eb1a1625990e563b7d37f29e3ba)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches elfutils to use the fallthrough attribute instead of comments to
satisfy the -Wimplicit-fallthrough warning. Using comments is
insufficient when compiling remotely with Icecream because the file gets
pre-processed locally, removing the comments
(From OE-Core rev: cd44cee91b5b17ddf617950d84513d481ab34f58)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Icecream has a behavior that causes it to recompile files locally if gcc
generates any warnings or errors. The reason for this is that GCC tries
to re-read the input file in order to display the offending line with a
caret below it, which doesn't work in the remote chroot.
Default to disabling this this workaround and add
-fno-diagnostics-show-caret to the GCC flags so that errors and warnings
generated by GCC do not show erroneous results. Users can override this
default in the SDK by defining ICECC_CARET_WORKAROUND="1" either before
or after sourcing the SDK environment.
(From OE-Core rev: 8933c2b5cfa59f2289c574e196f945556790c7c1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Icecream has a behavior that causes it to recompile files locally if gcc
generates any warnings or errors. The reason for this is that GCC tries
to re-read the input file in order to display the offending line with a
caret below it, which doesn't work in the remote chroot.
Default to disabling this this workaround and add
-fno-diagnostics-show-caret to the GCC flags so that errors and warnings
generated by GCC do not show erroneous results.
(From OE-Core rev: a1488291c5733a113c28475352eded61bf52bfe8)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If icecc is inherited, generated SDKs will automatically have optional
support for compiling using the Icecream distributed compiler
(From OE-Core rev: dea45ac88251b22b0b74dc4b3ba6ca13fe0b86d6)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Icecream can now be optionally included in the generated SDK by
including nativesdk-icecc-toolchain to TOOLCHAIN_HOST_TASK. When the SDK
is installed a post-relocation script will check if icecc exists and if
so will generate the toolchain environment.
(From OE-Core rev: 7e524096879e821256812633ce37cda4b85b3073)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes can now install post-relocation scripts which will be run when
the SDK is installed.
(From OE-Core rev: 93ec145f421a45077b40ae99ee6a96bc11f91f18)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When files are added to the environment, multiple aliases can be given
for the file (by calling add_path multiple times with a second
argument). All of these names will end up with a symlink to the original
file.
(From OE-Core rev: 0a5bbad5810b69fa09dbd8d886e4f368310a5db9)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
icecc-create-env can now be built as a nativesdk recipe, allowing the
script to be included as part of an SDK
(From OE-Core rev: fa7929ed70ed39a202bd2dc935d460dd57e38ffd)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Executables in the toolchain archive occasionally contain runtime
library search paths (RPATH) that use the $ORIGIN placeholder. However,
in order for that placeholder to work, /proc must be mounted. When
iceccd executes the toolchain in the chroot environment, it doesn't
mount /proc, so it is unable to resolve $ORIGIN resulting in a failure
to find dynamic libraries.
The fix is to replace $ORIGIN in executable RPATH entries with the known
chroot executable path. In order for this to work, the actual real path
to the executable must be resolved to remove any symlinks, otherwise the
calculate $ORIGIN replacement will be wrong. This is done by using
"readlink -f", which is an acceptable dependency because Yocto already
requires it.
(From OE-Core rev: cfe98765b40c28a132b5a4bce39f71f06b4eb0bc)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Taring up the toolchain is now done by adding the entire working
directory, instead of listing all the files individually. This is done
because the list of files may contain ".." entries, which tar does not
like and strips out, resulting in bad archives. This should result in an
identical archive to what was previously generated.
In addition, symbolic links are no longer dereferenced when creating the
archive, as they are purposely included to provide alternate names for
files
(From OE-Core rev: 122d6a5bdcbc494bba0fa2b213d730500f6f7dbc)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of renaming files to a new path in the toolchain archive, keep
the files with their original paths and create a relative symbolic link
from the new path to the original file.
(From OE-Core rev: 256f8f6cc5b520b59cfdc44aa076f71990e18e2c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ldd cannot always be used to determine a program's dependencies
correctly, particularly when the program specifies an alternate program
interpreter (dynamic loader). This commonly happens when using a
uninative tarball. Instead, determine the program's requested
interpreter, and ask it to list the dependencies.
(From OE-Core rev: 96d5831ef0e535d3f91acd3e979316355fbde04e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
icecream daemons execute /bin/true from the environment as a check to
determine if the environment is valid at all, so it needs to be
included.
(From OE-Core rev: c86aa6edab842c579177fe5c1f8647290b58fe61)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The environment script used an annoying mix of tabs and spaces and no
mapping of tabs to spaces would produce pleasant indentation. Reformat
to eliminate tab characters and settle on 4 spaces for indentation
(which matches the upstream icecream script from which this is derived)
(From OE-Core rev: 884c2436a6dbcb6bff99409a80276b9ef5690875)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
icecc.bbclass will no longer attempt to distribute cross-canadian
compiles. While it is technically possible to generate a toolchain that runs
on the build system and generates executables for the host system, this
is not the normal way that icecc operates. There are so few of these
recipes that it is probably not worth maintaining a distinct code path
for them.
(From OE-Core rev: b8a39cf5884d4ab85e82c4437b81b5fbba06137e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
STAGING_BINDIR_TOOLCHAIN is actually a path list, not a single path. Fix
icecc.bbclass to try all the paths in the variable instead of treating
it as a single path.
(From OE-Core rev: 8db0d3c14c166265b740030c208e0e19a0b2a1c6)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Generate the icecc toolchains in a shared work directory. This class was
already setup to correctly synchronize creating the toolchains in a
shared location before the RSS changes, so return to that behavior
instead of generated the toolchains in each recipe's sysroot.
Additionally, it makes no sense for each recipe to generate a toolchain,
only to find it was already generated and uploaded to the compile server
by another recipe.
(From OE-Core rev: 20a53ac7818f268d4a4c86c8f35ca982baf96acf)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.4/4.9/4.10 are gone from oe-core master, so we can drop our
bbappends.
4.12 will be removed in the future and 4.14/4.15 added, but all
default versions should be 4.12+ now.
(From meta-yocto rev: fd333864ce66ca32828b3d290ea8aae4f489de9b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the default kernel for qemu* to be v4.15. This allows easy
integration of the latest fixes/features for new BSPs. 4.14 is also
available as a LTS kernel option.
(From meta-yocto rev: cdd79c0f879e5e4c480773c4507f921533e17914)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.14 is a LTS/LTSI kernel and we are dropping anything older than
4.12 in master. As such, we make 4.14 the default for poky-lsb.
(From meta-yocto rev: ba6d172fd405dcc28c13f73aec1d1034a10bfc1d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4.9 and 4.12.
(From meta-yocto rev: 4e71a79346351f8026a65cfbd68ed0bc8f5eed5c)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Just exclude the specific tests which have an issue with being stripped
rather than the whole package. This reduces the disk footprint by around
400MB.
(From OE-Core rev: 460ccb6e2c5e858614cb61f21923062b55ff325e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are cases where its useful to allow only a select few files
to be excluded from the package stripping mechanism. Currently
this isn't possible so add a variable to allow this.
This is to be used sparingly as in general the core code should be
doing the right thing. This is better than the alternative of leaving the whole
package unstripped.
(From OE-Core rev: 92845c65f8801de7dfa34c87b22ca2e66f18557a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgraded version of eudev includes:
- Headers to build under glibc-2.25 and above
- Bug fix on ata_id
- Misc: rules and hardware database update
(From OE-Core rev: 99e9b805d2cffcca5e6fc1750e52026a6e4c78a0)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QA team were testing meta-ide-support manually. Add automated
tests to test that bibtake meta-ide-support will create the
toolchain and environment setup script. Also test that after
using environment setup script, one can compile c program
and build cpio project.
(From OE-Core rev: db40eba68f51d02677526dfa4bc21343d9c27958)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove recipe for sato-icon-theme that was obsolete since YP 2.2
release and change ownership for eudev recipe.
(From OE-Core rev: 06b32fd41d911dad7acf31ec1cdeff29585fac08)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
64 bit entry point should be passed in 2 literals ( "0x1 0x00008000"
).ENTRYPOINT is assigned with first half only and erroring out as
'command not found' for the second half. Adding quotes while assignment fixes the
issue.
(From OE-Core rev: e886c9c5e1a8ab28388a2e8bbb936ad5eea78615)
Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.
(From OE-Core rev: fcac38960af535f3b165f862dd5f4dbca43976a7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.
(From OE-Core rev: 79d679b2f4a1c540f6c8b8fd3f268aa5c2634d57)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.
(From OE-Core rev: 3a5e61548746e7dcb39d7e6c69467ddb86c25f08)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following pinctrl commits to enable controllers on
Intel Cannon Lake:
4b7a5c1b4ec5 pinctrl: intel: Add Intel Cannon Lake PCH-H pin controller support
044631ce1937 pinctrl: intel: Add Intel Cannon Lake PCH pin controller support
2054b0ea59a7 pinctrl: intel: Make it possible to specify mode per pin in a group
55b9053b5a5a pinctrl: intel: Add support for variable size pad groups
(From OE-Core rev: 4c05eb243c2cf10304383f6265721b695750cb9b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit makes the 4.15 kernel available for use with the
Yocto configuration fragments and qemu* BSPs.
It has been tested for x86,arm,mips and powerpc against the lsb, core*
and glibc/mulsc test matrix.
This will serve as the "latest" kernel in master, with others being
removed in subsequent commits.
(From OE-Core rev: 2bb69c16b4e43b74c60d4269174dbfcdb6ab54fe)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit makes the 4.14 kernel available for use with the
Yocto configuration fragments and qemu* BSPs.
It has been tested for x86,arm,mips and powerpc against the
lsb, core* and glibc/mulsc test matrix.
This will serve as the LTS kernel in master, with others being
removed in subsequent commits.
(From OE-Core rev: 04254d4cc9e6399afd027727864e237cb8006d6d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use relative path to generate .pyc files could remove build host
references which leads to non-reproducible builds.
(From OE-Core rev: 230890227304e27acd074a3c748812d7a603d511)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The same thing can now be done with "bitbake <target> --runall=fetch"
or "bitbake <target> --runall=checkuri".
Dropping the tasks takes "bitbake core-image-sato -g" from 22s to 8s
since it no longer has to resolve the recursive dependencies (it
doesn't know if any given target will touch them or not until it
computes them). That is a significant enough win that its worth any
impact this may have on the small number of users using the tasks.
(From OE-Core rev: 8bbb43e948af45d0fa5ab31b456147f691fa2ec3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a new repo Fetcher section in the same spirit as the existing
sections for other supported fetchers. Changes included the new section,
removal of the bulleted item that mentioned this fetcher as an
"additional" fetcher, and the creation of a new variable in the glossary
named REPODIR.
(Bitbake rev: 1cf084cee506574b7bb6ed03344597b3b2f2fe08)
Signed-off-by: Nicolas Cornu <nicolac76@yahoo.fr>
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The '--all'' fetches all remotes, including the ones in $HOME/.gitconfig, which
causes the fetching very slow, so don't use "--all", git fetch should be
enough.
(Bitbake rev: 038a5f4b767df7944e73b2e859ac3af2d3a08bf1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to allow users to manually populate the download directory with
valid content change the assumption that missing the donestamp file
means unfetched content.
This allows users to populate the download dir without needing to create
dummy .done files such that a user does not need a PREMIRROR when using
BB_NO_NETWORK to provide valid content files in the download directory.
To ensure the correct result this change also fails first if the
localpath does not exist. This prevents further parts of the function
attempting to calculating the checksum on non-existent files. This also
fixes some edge conditions around where if the donestamp exists but the
localpath does not it returns, and did not remove the donestamp.
Also added test cases to cover this use case and additional use cases
where for example the fetcher does not support checksums.
(Bitbake rev: a335dbbb65d5b56e71d98cf3e4fa9bfbec1dcde6)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At least the cli-color node module has dependencies that have
cyclic dependency among themselves. npm.py is prepared to deal
with such a case but the condition is handled only for downloading
or not a dependency again, but then it goes checking the its
dependency which causes an infinite loop in _getdependencies().
Make this function simply return when a dependency is already
downloaded and only download and check its dependencies when not.
(Bitbake rev: 545540420112992e53f4a83104af10452df168d0)
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Have a simple tool to dump bb_cache.dat is useful for investigating and
studying bitbake cache. The old contrib/dump_cache.py can dump pn, pv and
packages for it, now enhance it dump everything.
Here is the usage:
$ /path/to/dump_cache.py --help
usage: dump_cache.py [-h] [-r RECIPE] [-m MEMBERS] [-s] cachefile
bb_cache.dat's dumper
positional arguments:
cachefile specify bb_cache.dat
optional arguments:
-h, --help show this help message and exit
-r RECIPE, --recipe RECIPE
specify the recipe, default: all recipes
-m MEMBERS, --members MEMBERS
specify the member, use comma as separator for
multiple ones, default: all members
-s, --skip skip skipped recipes
Use dump_cache.py --help to get help
(Bitbake rev: 104572438dfedf6025fbfd125aef1d56134012e7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The resolve_file() calls mark_dependency(), so the one which calls
resolve_file() doesn't need call mark_dependency() again.
(Bitbake rev: 4682571107323a39b42cd9ec8ee67419e7f15acc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Print message when cachefile is found/not can help debug.
* Update "Using cache in" to "Cache dir:" since it was the same as the debug
message of "codeparser & file checksum caches", which caused confusion. And
whether the cache file will be used or not is still unknown at that time, so
just print the cache dir.
(Bitbake rev: c8d3a2016f432e8ed9e99d9c28850149ab6fd6d8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It should be live/exited with server rather than cooker, fixed:
$ bitbake --server-only -T -1
Set MACHINE = "qemux86" in conf/local.conf
$ bitbake quilt
Set MACHINE = "qemuppc" in conf/local.conf
$ bitbake quilt
[snip]
ERROR: When reparsing /workspace1/lyang1/poky/meta/recipes-connectivity/openssl/openssl_1.0.2m.bb.do_package, the basehash value changed from c216f7f4fdd3cf4a0b10b975a636426c to d5a8e9431ab261381752d7a64c7b2fa9. The metadata is not deterministic and this needs to be fixed.
[snip]
This is because the server doesn't know local.conf is changed since the
notifiers are stopped, so it doesn't reparse, and then we would get the errors,
let the notifiers live/exited with server can fix the problem.
(Bitbake rev: a6a641cb9c5f3abe901b150da915372e295383d7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The old code couldn't handle nestled layers correctly, e.g.:
parent_layer/sub_layer/foo.bb
Note there are two layers, parent_layer and sub_layer.
And in parent_layer/conf/layer.conf:
BBFILE_PATTERN_parent_layer = ""^${LAYERDIR}/"
This setting is incorrect since it also matches parent_layer/sub_layer/foo.bb,
so it warns that no files matched sub_layer, this is the expected behavior, but
it doesn't warn when there is a parent_layer/sub_layer/bar.bbappend, this was
incorrect since the bbappend is also matched by BBFILE_PATTERN_parent_layer, it
should warn and let the user fix the problem. Check the bbappend in already
"matched set" before return it as matched by "unmatched set" can fix the problem.
(Bitbake rev: ec90245d28e52ea718d2ce084eb304cdc4355c9c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the code that existed in tests/fetch.py for determining the path to
'git-make-shallow' into the git module and reference it.
This ensures that 'git-make-shallow' is always available and the desired
version regardless of the path variable or whether git exposes the
command.
(Bitbake rev: 6b508ab8fd5aa796c1c00c970e81e5e93f84d35d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The runall commandline option was confusing people. There are in fact two
different behaviours people may want.
a) For a given target (or set of targets) look through the task graph and
run task X only if its present and would have been built.
b) For a given target (or set of targets) look through the task graph and
run task X if any recipe in the taskgraph has such a target even if it wasn't
in the original task graph.
I've decided to interpret the existing "runall" option as b), even if right
now if behaves like a). For a), which is a valid use case, this patch adds
a "runonly" option.
With both behaviours present, I'm hoping we can then kill off the "fetchall",
"checkuriall" and other tasks from OE metadata and replace them with this
option. This would significantly speed up task graph processing.
(Deleting the checkuriall and fetchall tasks takes "bitbake core-image-sato -g"
from 22s to 8s).
(Bitbake rev: 546a662c877b2d3af35e3996950582ed2df41fe4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This involved removing the general information about layers from
the dev-manual and incorporating it into the new section of the
getting-started manual.
(From yocto-docs rev: 26438b03751948661f48fb0c023e393101b80e19)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created content for "What is the Yocto Project" section.
Involved a new figure that had to be shared in the mega-manual
figures folder.
(From yocto-docs rev: 72c18abd11587f4d78848afb8a71ff7f4a0e76d0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I have added a chapter to the getting-started manual that will
introduce the YP. Just the framework exists at this point.
Changes to the mega-manual.xml file were made to include the
new chapter in that manual as well.
(From yocto-docs rev: 8a52156ac02d9a9a97c5f0cd8dce5f70d2be68d0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section that provides a closer look into the build system has
moved from the getting-started manaul to the concepts-manual.
I fixed all the links, provided some coded formatting of the
entire section, and made general updates.
The other manuals had links that needed fixed due to the move.
(From yocto-docs rev: b83a5619f56ebd9879fdcadcf474859e68b26d58)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list of *.png files included in the TARBALL variable setting
changed due to figures moving from the getting-started manual to
the concepts-manual.
(From yocto-docs rev: 1439fa9f22a2b2746aa8e8303205f5ec33c7f67b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figures from the deeper look of the build section got moved
to the concepts manual. Removed these unused figures.
(From yocto-docs rev: 13175a89b6d7bf79a86f4ac45d5f2cd78ba02108)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Had to move these figures from the getting-started manual to
the concpets manual.
(From yocto-docs rev: ba221db465a7535197d9e29f5136ef2d3a6e3171)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section on BitBake syntax appeared in the Getting Started
manual. I decided that it should live with the section on
writing a new recipe.
(From yocto-docs rev: 8d83ce3e11405b2f12f27cdd117a19c4af52146a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed redundant links, changed some wordings. This was a general
scrub of the prose.
(From yocto-docs rev: 2c0ff0af7df3aa46fc05aaf28039a2ffb380424a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added the concepts manual, the ref manual, and the mega-
manual to the list.
(From yocto-docs rev: 180387ac9ae74cd5b69c4cf6338b72daef4b9f37)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manual's two files are an introductory chapter and then
a deeper concepts chapter. I scrubbed through the material, which
originated from the getting-started (overview-manual).
(From yocto-docs rev: 2ca572fac3ca71e73aad9bdd516a6ce90b148c53)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Creation of a new concepts manual and moving of chapters from the
getting-started (overview-manual) caused many links and manual
reference titles to break. I fixed these throughout the YP
docs.
(From yocto-docs rev: 30f2bc46be4a0faf5302eb8605bcb29f3bee6cf3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Edits to create the main file that builds the concepts-manual.
Includes the chapters that comprise the book.
(From yocto-docs rev: d3a82e7cf50d77fcc4a37f13be98a61d85b1e527)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also updated the mega-manual.sed file with two lines to process
links in the concepts-manual.
(From yocto-docs rev: 622ce2fc82cbf92351aa2000c3d92bbabafc1d24)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating the new concepts-manual, I copied the existing
getting-started manual over. This created a figures folder that
had a lot of figures not needed in the concepts-manual. They
have been removed.
(From yocto-docs rev: 24bd39c7f3967a1e8fbac7a8ab44360c25a9bec1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This chapter appears in the getting-started manual.
(From yocto-docs rev: 3f4c2fc211189e59e45bef6b379dc1f6ebfb7391)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When I converted the Yocto Project Overview Manual to the Getting
Started With Yocto Project Manual, I updated the strings for
references from "&YOCTO_DOCS_OVERVIEW_URL" TO
"&YOCTO_DOCS_GS_URL". Unfortunately, I did it with a global command
that did not take into account the text the might follow the link
by saying "see such-and-such section in the Yocto Project Overview
Manual." So, I had to hand fix these.
Additionally, since I have moved a deeper concepts chapter that
was in the getting-started manual to a new Yocto Project Concepts
chapter, many of those links changed had to really go to the new
manual instead. Those were fixed.
(From yocto-docs rev: fca1c56b0764802fb6a687ea81ab0fb95186cf0a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because the deeper concepts chapter that was in the Getting Started
With Yocto Project Manual was moved to a new Yocto Project Concepts
Manual, I had to delete it from the mega-manual.xml file where it
would be included as a chapter in the getting-started manual.
(From yocto-docs rev: a6847cc90cd0e35e275dd4cf080067ecbe5d4361)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This file was for a deeper concepts chapter. It will go into the
new Yocto Project Concepts Manual. Removing it required deleting the
*.xml file and updating getting-started.xml to not include it in the
build.
(From yocto-docs rev: 2df213c1cdba8f48918e8240de47c1758352807d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New variable for links into the new "Yocto Project Concepts Manual".
(From yocto-docs rev: 8a19b2b9d54cce664605993da068eed9537736a3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I accidentally pushed a commit after building out the new getting-started
manual before applying some key files to the .gitignore file. So,
the HTML, TGZ, and eclipse/* stuff got tracked in Git. I don't
want that. So I had to use the 'git rm' command to untrack those
files.
(From yocto-docs rev: 217f6db7f741cee266885a845b2b0e7faf96e537)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Creation involved removing the overview-manual and replacing it
with the getting-started manual. All links to the string
"&YOCTO_DOCS_OVERVIEW_URL" had to be replaced with
"&YOCTO_DOCS_GS_URL" across the entire YP manual set. I renamed
files used to create the manual with prefixes suited for the
new manual name, which is "Getting Started With Yocto Project".
The style sheet for the new manual needed updating to display the
new .PNG image for the title page. The mega-manual file had to
be updated to include the files. The mega-manual.sed file had
to be updated to include the new manual and not use the overview
manual.
(From yocto-docs rev: 6c7abf9192390121000f577d6c98f259d290d15d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
The section on "Speeding Up a Build" that was in the ref-manual
needed to be in the dev-manual as it is a "how-to" section.
Moved it.
(From yocto-docs rev: 44d2889a4f3fb5dfabb1ea4df68a1b8bbf9347c8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
All of the information from the "usingpoky" chapter in the
ref-manual has been distributed out over the rest of the
YP manual set. Primarily, this information went into the
dev-manual and the overview-manual. Because the chapter is
no more, I had to update the mega-manual.xml to not include that
chapter. Also, had to update ref-manual to exclude the chapter
as part of the Make process.
(From yocto-docs rev: b988cab06d42f0ac2220cefe66949c5ab6cbf803)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
The section in the ref-manual on build history has been moved to
the dev-manual. It is more of a "how-to" piece of information than
a reference.
(From yocto-docs rev: 9634bd8dc51e2972e6a5f3a3d3b4256c8ca8749c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
The QEMU information in the ref-manual "using" chapter has been moved
to the dev-manual's chapter 5, which is a dedicated QEMU chapter.
Some information is reference and that is why I had it separated out
into the reference manual. However, pressures are mounting to get
that stuff out of the ref-manual and into the dev-manual. So, it
has been moved.
(From yocto-docs rev: 69098ad83b10fab341ec3d5532e377dcfbbfc05e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
Moved the debug information from the ref-manual to the dev-manual
where other debug information exists. We now have a single area
(section) that deals with various debugging techniques and tips.
(From yocto-docs rev: 95394197fc04981bf7571e581ff8a0fd9c76223f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
The section in the ref-manual that overviewed the buld process was
redundant and more of a "how-to" topic. I have moved and merged it
into the dev-manual into a similar area.
(From yocto-docs rev: 44f1351334342629aaa0976f62e64ac4f67166aa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12467]
This is an essential package for CentOS.
The variable affected two lists, one in ref-manual and
one in yocto-project-qs.
(From yocto-docs rev: 73dbdca86716c1d264d14d2472a8acd3a963b26e)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a bit more detail and some better referencing for Pseudo
and Fakeroot.
(From yocto-docs rev: 459ba368cce50cca1c3b9b7f13b1ec59a7d933ad)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
The "technical-details.xml" file was for the old chapter four of the
ref-manual. All content in that chapter has been moved to the new
concepts chapter of the overview-manual. I updated the mega-manual.xml
file to not include the old technical-details chapter as part of the
ref-manual. I also updated the ref-manual.xml file to not include the
technical-details.xml chapter when building the ref-manual.
(From yocto-docs rev: c4a88048dc099dbd2d0926a9194d5502fa2f1cfc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
The "Licenses" section in the technical details chapter of the
ref-manual was concepts and needed moved to the new overview-manual.
Some links were broke during the move and they were fixed in the
BSP and dev-manual.
(From yocto-docs rev: 34c013f055736dcde2fe12daea1aaf2beaee97c5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
The "Wayland" section needed to be moved to the concpets chapter in the
new overview-manual. I moved it and fixed a few links that needed
adjusting due to the move.
(From yocto-docs rev: b8e84a8cb47194b0d20fe155561d9a346916068b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
The "Fakeroot and Pseudo" section is concepts and needed moved from the
ref-manual to the new concepts chapter of the overview-manual. Some
links needed to be fixed as well.
(From yocto-docs rev: df2c09407abd5ca468fcd0bd9e241739907a9d63)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
The "Automatically Added Runtime Dependencies" section moved from the
ref-manual to the overview-manual. This topic is concepts and needs
to live in the new overview-manual's concepts chapter. Fixed some
links in the ref-manual and one in the dev-manual.
(From yocto-docs rev: fa3e12030ce867cb81feed453d35c3a3643decd2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
The section on shared state cache needed to be in the overview manual
and not in the ref-manual. I moved it. Some links were affected,
which I fixed.
(From yocto-docs rev: 1c4e5207bdde19d4b48ef42b1de81390d8a02d64)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12128]
Updated the phonetic rendition of the term "poky". Historically,
this term is mispronounced. I am now saying "Pock-ee" as the official
way of pronouncing this term.
I also added a link to the Yocto Project Overview Manual that was
in the Tip box. The manual did not exist earlier. Since it does
exist now, I have added the link.
(From yocto-docs rev: 4ec3fe3b8ee4a680f51f53b919732670b3ffe738)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
Moved the "Cross-Development Toolchain Generation" section from the
ref-manual to the overview-manual into the concepts chapter. This
information is conceptual and now needs to live in the concepts
chapter of the new overview-manual. Moving the section caused a
few links to have to be fixed in the ref-manual. There was also a
figure in the section. So, I had to move the figure from the ref-manual
to the overview-manual "figures" folder and update the Makefile for
the TARFILE generation.
(From yocto-docs rev: 1f3ee5ab308cbe6bd7194086026db397b67ca7c4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
Moved the "Yocto Project Components" section from the ref-manual to
the overview-manual. This material falls into the "concepts" area
and is being moved from the ref-manual. One link in the
yocto-project-qs was affected and updated. Oh... another link in the
ref-manual for a variable also fixed.
(From yocto-docs rev: 75ced485bb223373591eb41d1b343d0c2b315345)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
I had a section on Wick Plug-Ins in the ref-manual in the
"technical details" chapter. This section has been combined with the
section on using Wic that lives in the dev-manual. This move creates
a single section on using Wic to create Wic-partitioned images.
The section was moved out of the ref-manual and merged into the
dev-manual Wic section.
(From yocto-docs rev: 8724049141c9a793312dcf5ff5c3425948d1cbd0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
The section on the x32 psABI topic was in the "technical details"
section of the reference manual. This section combined conceptual
and "how to" information for x32 psABI. I moved the conceptual
information to a new chapter in the overview-manual. I moved the
"how-to" information to a separate topic in the dev-manual. This
resulted in the mega-manual being updated to take on a new chapter
for the overview-manual (overview-concepts.xml). No links were
affected.
(From yocto-docs rev: 84da28a4ad0f3f89bfc865f410a5d06b57439beb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pulling out some introductory information from the old "Introduction"
chapter of the ref-manual has isolated the system requirements and
term definitions sections. I have decided to create a new chapter
for terms as they are a reference item. This leaves system requirements
also alone as a new chapter. So, I dumped the introduction.xml chapter
in favor of the two new chapters.
(From yocto-docs rev: 35c41b3008845c94e10be19b37409b0d1a469ff5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
Moved an introductory section for YP that was in the ref-manual
to the beginning of the YP environment chapter of the overview-manual.
Had to move a figure and update the makefile as well as adjust some
links.
(From yocto-docs rev: 8ec45f945a21b1f64e7529b95df6b5fb21e87449)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I had tried using a #-type target for some links designed to go
to the top of the sdk-manual. It was not working out so I removed
the targets. The links now render benign for the mega-manual as
they should and render hot for the individual manual as they should.
(From yocto-docs rev: 05e20792fa6c93618499f06adfa2d4b82f24275a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I failed to copy the updated sdk-manual title figure to the
mega-manual/figures directory when the sdk-manual title had changed.
This was causing the title of the sdk-manual in the mega-manual
to render as the old one.
(From yocto-docs rev: cb111620cdce90d8f2f7e14a918a2307e81fe705)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
Added a new chapter to the newly created Yocto Project Overview
Manual. This chapter originated from the YP Reference Manual and
was the old chapter 3, which talked a lot about various concepts.
This information is better suited for the new overview manual.
The change involved moving the entire chapter and renaming it.
This move of the content affected many, many external references
and links into the old area. Consequently, I had to recast all
these links from the different manual.
Changes also included fixing the mega-manual.xml file so that it
would include the new overview manual as part of it.
Many figures had to be relocated as part of the move as well. This
meant deleting them from the ref-manual/figures folder and putting
them into the overview-manual/figures folder.
(From yocto-docs rev: 87b81358f2bbd02b4a0d966d86c4d7b006d4d78f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I neglected to change the string for matching purposes in the SDK
line when the SDK manual title changed. This was causing links to
that manual where there is no specific #<target> to not be resolved
correctly.
I also removed a redundant line for the yocto-project-qs manual. It
was appearing in two places.
(From yocto-docs rev: dcc0d5a98af93eded676e7b4cb684f60d2cf9d3a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When I pushed the commit for the new YP Overview Manual, I
failed to exclude the HTML, TGZ, and eclipse/ files for the
new manual. I have removed them from the system here.
(From yocto-docs rev: 5cc47ba18bad4b0d3a90befd8744bf93489afcd6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12370]
I added all the mechanics for this new "Yocto Project Overview Manual".
For now, the manual builds and publishes into the 2.5 area. I used
"overview-manual" for the folder name. Makefile properly builds the
new manual. The mega-manual.sed file processes links for the new manual.
The mega-manual.xml file includes the new manual. The poky.ent file
includes a new ENTITY link for the overview manual. All pieces are in
place.
With this commit, just an overview chapter exists. The remaining content
needs to be developed.
(From yocto-docs rev: 632ebd4a91920585e736527e070ca8363a00f41b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sections in the introductory chapter of the ref-manual are better
served as part of the dev-manual. These sections are about accessing
YP source files using various methods (i.e. source repositories,
index of releases, and nightly builds). I have integrated that
information into the dev-manual where the information was also being
treated.
(From yocto-docs rev: d3a97b1f9367d5bb5370974c8c5c0404df86724a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a performance sensitive piece of code and the shear number
of recursive loops is causing a significant and unscalable performance
pain point.
This change moves to a two step approach, firstly generating a list of recursive
dependencies for any task, then applying this to the recursive tasks, iterating
over things until no further dependencies are added.
It was noticed an optimisation is possible and the list of recursive tasks need not
contain the taskname, only the base task id. This allows a significant performance
improvement and limits the size of the resursive task lists, improving speed.
(Bitbake rev: eba738ac5672556eaab4f3374c8025c322761c4a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can optimise the loops slightly so we only process given substrings
once rather than many times. This means expanding out add_resolved_dependencies.
Also add a function which allows replacement of the task element of a
task id, reducing the amount of string handling we're doing in a performance
critical loop.
Its also clear that later code adds to the tasks depends so we don't need
to add .depends() to extradeps at the start.
(Bitbake rev: 4ad281224e92b5f94e3a9c17e8898ec8f1086cdc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we only run through the recidepends/recrdepends code once. This
means that we can miss some expansions of dependency trees where one
rec{r,i}depends tasks depends on another rec{r,i}depends task.
In reality we need to iterate over the data until we stop adding
dependencies.
In doing this we can't show quite so granular progress information since
we don't know how many times we'll need to do this.
This does slow down the runqueue prepare phase however some optimisations
are possible and can be handled in subsequent patches.
This fix means some missing dependencies, such as:
<image>:do_fetchall -> <image>:do_rootfs -> <pkgs>:do_package_write_X
-> <ca-certs>:do_package_write_X -> debianutils-native
(via PAKAGE_WRITE_DEPS)
are now found/added.
[YOCTO #12510]
(Bitbake rev: aec2f07d56a19b97b6515897532b113cdead8338)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the hardcoded paths in test scripts and expect
files to avoid issue like:
| cat: ../e2fsck/e2fsck: No such file or directory
(From OE-Core rev: 4a4eff9b9e3c614ff41b17cbec359b72dcbd41bd)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many test cases expect the output of running commands for debugfs,
the patch quiet-debugfs.patch suppress the output so ptest failed:
| 292 tests succeeded 47 tests failed
The patch was meant to suppress the output in do_rootfs according
to the original commit:
======================
commit 13a8d3869b0fe0ebdddcee37fb48c5b9cdf718ba
Author: Ross Burton <ross.burton@intel.com>
Date: Mon Dec 23 13:38:34 2013 +0000
e2fsprogs: silence debugfs
debugfs echos the commands when it is executing a script, but as the scripts
used at rootfs time are long this massively inflates the do_rootfs log.
Comment out the echo so that the rootfs isn't 20K lines longer than it needs to
be.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
======================
So only apply the patch for native package, then the ptest will
be pass for target package.
(From OE-Core rev: 4fed9d636852f04457e25c0f7064a4928cc8c36b)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The module configfile allows loading a custom grub configuration file
from block devices, which can be used to customize the default grub
menu when creating images with wic (via configfile argument).
(From OE-Core rev: 6b297ccf04683380d0a894253a78424f4398782d)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've been using obsolete upstream URI for quite a while; meanwhile
a lot of development has happened
Drop all the patches: they are either changing the code that has been refactored,
or are backports.
Add a new musl fix patch from gentoo.
ping6 and tracepath6 variants have been folded into standard versions.
(From OE-Core rev: 5997981fa2c22609a88b8cbb595dbf7758b2f7c2)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rework 0002-Don-t-set-up-m32-m64-we-do-that-ourselves.patch to
remove the offending bits from the function instead of removing
calls to the function all over the place.
(From OE-Core rev: 18e94bc08db55afb2d9b9db9a51c6a2d5478c056)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libnl from 3.2.29 to 3.4.0.
2) Add one patch "0001-PATCH-fix-libnl-3.4.0-musl-compile-problem.patch", for musl compile.
3) Delete one patch "fix-pktloc_syntax_h-race.patch", since upstream has refactored the makefiles, and the problematic code is now absent.
(From OE-Core rev: 7502216082f7cf777173e316dfe67a116a1a2f50)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed 0001-aes-armv4-bsaes-armv7-sha256-armv4-.pl-make-it-work-.patch
Rebase a couple more patches (via devtool upgrade).
(From OE-Core rev: 8a79b8619ce797d5395989e7bb804bc2accfbb14)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gtk-doc has been rewritten in Python, so drop perl dependencies (good riddance!),
and adjust patches to reflect that.
(From OE-Core rev: f4a00893a4209330720c0366ddde6b9941ee3196)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change dependency from yasm to nasm following this change:
commit d2b5f4873e2147452a723b61b14f030b2ee760a5
Author: Henrik Gramner <henrik@gramner.com>
Date: Sat Mar 18 18:50:36 2017 +0100
x86: Change assembler from yasm to nasm
Refreshed the following patch:
don-t-default-to-cortex-a9-with-neon.patch
(From OE-Core rev: 85deeb7bdd17c417e48e86647ad1580e71829afa)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Improve inappropriate patches:
- Drop inappropriate configure_fixes.patch
Use setting variable ac_cv_file__dev_zero and
ac_cv_sizeof_struct_iovec to replace
- Drop cleanup.patch
Aassign variable libtool at ./buildconf executing and
use 0001-build-buildcheck.sh-improve-libtool-detection.patch
to replace. Submitted it to upstream.
- Rename configfix.patch to
0002-apr-Remove-workdir-path-references-from-installed-ap.patch
Add its original comments and author, explain why it is inappropriate
- Drop upgrade-and-fix-1.5.1.patch
Use 0003-Makefile.in-configure.in-support-cross-compiling.patch
to replace. And submitted it to upstream.
2. Fix build path issue to improve reproducibility
(From OE-Core rev: 29c4b19e640b544c9c351aec4292a3f65b619998)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Add-FALLTHRU-comment-to-handle-GCC7-warnings.patch since it
had been merged upstream.
(From OE-Core rev: 77b46f844c50e3da90f91669baf6ba936ab7af9f)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Fix-for-older-GCCs-not-supporting-__has_include.patch as it
had been merged upstream.
Rebase 0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch.
(From OE-Core rev: 28ccf3a73f5dabf658c8dae5d9eabcb482d7f0bb)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Glide is a widely used Vendor Package Management for Golang,
especially in private projects as it allows for internal repositories
clone and other fancy things.
This recipe has been originally done as part of updatehub development.
(From OE-Core rev: 64fc673886b37d3673b9dfc4b647ece7d3130ec9)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All ibt-17-x-x.sfi/ddc firmware are use to support Intel Bluetooth 9560
they are needed in different version of Bluetooth driver since
4.14 kernel version.
commit b77bb7afe513 ("linux-firmware: package ibt-17-16-1 firmware")
only package one of the ibt-17 series firmware.
As the Bluetooth driver's update, to avoid packaging the ibt-17 firmware
one by one, install them in one package ibt-17.
(From OE-Core rev: f6110c0213064c324397476f3eae3851328790dd)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade tar from 1.29 to 1.30.
2.Modify musl_dirent.patch, since the data has been changed.
3.Delete CVE-2016-6321.patch, since it is integrated upstream.
(From OE-Core rev: 9dc417ef8f94b51140fe2befcd492f6ea9726a4a)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For unknowable reasons this recipe inherits autotools-brokensep despite not in
fact using autotools.
Remove the inherit, add a do_install() that calls the makefile directly.
Extend EXTRA_OEMAKE to pass bindir/sbindir/incdir/libdir/mandir so the files are
all packaged in the correct location (and remove the now redundant sed of
Makefile).
Pass EXTRA=eeprog to EXTRA_OEMAKE to build eeprog, and remove the now redundant
edit of Makefile.
Backport a patch from upstream to remove linux/i2c-dev.h instead of installing
it with a different name (which nobody will be using).
(From OE-Core rev: a5d5d66c30378c35900c46dac4e4824a10521477)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the latest 3.5 version until the 3.6 migration is complete
Removed the following upstreamed patches:
- python3/Fix-29519-weakref-spewing-exceptions-during-interp-f.patch
- python3/upstream-random-fixes.patch
Rebased the following pathes:
- python3/0001-cross-compile-support.patch
Regenerated the manifest based on the latest release version
Updated the license checksum for the latest version that updated the
copyright dates
(From OE-Core rev: eb80d0391d7d4e83a61ed8850d936b102be3fa02)
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>
The following patches has already fixes for the issues they are solving
in upstream.
- 0001-add-_GNU_SOURCE-to-pec_listener.c.patch
- 0011-Rename-sigset-variable-to-sigset1.patch
- 0025-mc_gethost-include-sys-types.h.patch
- 0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch
- 0033-shmat1-Cover-GNU-specific-code-under-__USE_GNU.patch
Suggested-by: Yi Zhao <yi.zhao@windriver.com>
(From OE-Core rev: 88e12a14540e10718fb2e68f27834d9b7565ab7e)
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manifest file was not regenerated when the package was updated.
(From OE-Core rev: c42a1cf42b88c0dc02baf807ee2aa3dab058c4cd)
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>
These two packages are required to ensure the manifest files contain
all of the generated packages. Without this, the db and gdbm packages
will not contain the .so files as they are skipped during the compilation steps
(From OE-Core rev: 912c06615269f42230db2d93d70db2b340ed270a)
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>
glibc 2.27 has added memfd_create() but this conflicts with a copy in qemu, so
take a patch from upstream to fix building with glibc 2.27.
(From OE-Core rev: 207733bb875b1a6b932ecd04a34a0ee118511d1f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade ruby form 2.4.2 to 2.5.0.
2.Update the checksum of LIC_FILES_CHKSUM.
3.Delete ruby-CVE-2017-9224.patch, ruby-CVE-2017-9227.patch, ruby-CVE-2017-9229.patch, since it is integrated upstream.
4.Modify ruby-CVE-2017-9226.patch, since the data has been changed.
(From OE-Core rev: 67b9f407f7c40c63c7f9518b4ee3d4d1cc7c75ce)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
singletask.lock is written out while certain tasks execute for recipes
that have externalsrc.bbclass enabled - this includes recipes in
devtool's workspace. It appears that there's a race where
singletask.lock will be there one minute and then when we try to get the
file checksum of it (since we want to know if anything in the source
tree has changed) it will be gone, and git chokes. To fix that, add
singletask.lock to .git/info/exclude in the repository, regardless of
whether we created the repository or not. In any case singletask.lock
should never be tracked by git, so this is a good thing to be doing for
that reason as well.
This fixes oe-selftest failures in test_devtool_modify that we've seen
on the Yocto Project autobuilder:
bb.data_smart.ExpansionError: Failure expanding variable
do_compile[file-checksums], expression was ${@srctree_hash_files(d)}
which triggered exception CalledProcessError: Command
'['git', 'add', '-A', '.']' returned non-zero exit status 128.
Note that this only fixes this issue for devtool; if you are using
externalsrc independently of devtool there's a chance this will still
be an issue unless you add singletask.lock to your .gitignore.
(From OE-Core rev: 334ba846c795fc0d8c73ce05a1b0882739c86650)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some NPM modules have the same name as their low level dependencies.
To prevent recipe naming conflicts, allow node module recipe names
to start with the "node-" prefix.
(From OE-Core rev: 6b417c7c3a38463c64756beae9817fa2a80fd09e)
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
npm cache clear throws an error with npm@5 and suggests to
use npm cache verify instead. But our cache is actually empty,
so use npm cache clear --force.
npm install in the source directory creates symlinks with npm@5.
Use a combination of npm pack and npm install module-version.tgz
that works the same way with older and new npm versions and is
guaranteed to create actual copies instead of directory symlinks.
This change allows using nodejs 8.x LTS, tested with 8.9.4.
(From OE-Core rev: 2d7d2a460842c8747df17990970f22f4a11f36f6)
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
waf requires that the current working directory be the project root (in
this case ${S} when it is invoked. The check to get the waf version was
being executed as a prefunc for do_configure, which meant it was
executed before the current working directory was switched to ${S}, and
thus would fail with some recipes. Fix this by changing to ${S} before
executing "waf --version"
(From OE-Core rev: aa168ee7f785ff007ca645db57698883922b5eb3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If --numeric-owner is neither used when creating or extracting the archive
containing the rootfs then tar tries to change the numeric uid/gid of the
files based on user/group names of the host used to extract the archive.
Create the archive with --numeric-owner to remove the burden of having to
use --numeric-owner when extracting.
(From OE-Core rev: 061e04cb6335a10f560e57255b7335b8c9891207)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reassign some Robert Yang's recipes to Yi Zhao.
Remove guile and mailx since these recipes were removed from oe-core.
(From OE-Core rev: 9dc77b11f7e01d9fdf30b9aabe198d9a60c3cd3e)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to ensure that all xorg modules are linked with
SECURITY_X_LDFLAGS to ensure that they will be able to resolve their run
time dependencies. The approach of listing each driver in
security_flags.inc lets less frequently used drivers be run-time
broken. Move the flag logic into xorg-driver-common.inc so that all
xorg modules from all layers will have the correct security flags used.
Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 27fce6ec277788f8fad0c9799e784df80f791120)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit db1f1adace disabled 'xattr' from
DISTRO_FEATURES when native packages are built, whereas for target
packages it was retained. This changed eg. mtd-utils-native to build
without extended attributes (capabilities) support from there on.
Thus even setcap was called succesfully for a binary during pkg_postinst
on build host, the capabilities did not exist on target rootfs due to
now xattr-less host-side mkfs utility.
Adding xattr to DISTRO_FEATURES_NATIVE restores previous behaviour,
fixing the discontinuity in capability propagation to target
device rootfs.
(From OE-Core rev: 2ad3b8ae1c56a46bf14fc6bc4c34e4b3a568d741)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gzip was recently upgraded from 1.8 to 1.9, now all the builds show:
NOTE: preferred version 1.8 of gzip-native not available (for item gzip-native)
NOTE: versions of gzip-native available: 1.9
* drop the setting, because nobody is probably going to use older
gzip-native than 1.4 when there is only 1.9 available in oe-core
(From OE-Core rev: a0988c3374e964170d1d24fc230306b887432d31)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For reasons I can't explain gettext uses several hundred lines of convoluted m4
to find the paths to a library.
If we don't tell it where to find a library it will hunt around and potentially
have host contamination as /usr/lib on the host is explicitly searched.
If we tell it the prefix to a library then we get bad RPATHs in the binaries
(such as /usr/lib/../lib), and the search assumes that it knows best about what
the library directories are under that prefix (even when it's wrong).
So, replace the lookup where possible with pkg-config calls (libxml2, glib,
libcroco). libunistring doens't have a pkgconfig file so just don't use the
system libunistring: the library is tiny anyway.
(From OE-Core rev: 1ff35fbbdd50660b86f8e254685ae0c8338b6e11)
(From OE-Core rev: e6c0f8eddf8ff4a6132934a69e0f3450d4843ece)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers were updated without updating PREFERRED_VERSION causing
following messages being shown in every single build:
NOTE: preferred version 4.12% of nativesdk-linux-libc-headers not available (for item nativesdk-linux-libc-headers)
NOTE: versions of nativesdk-linux-libc-headers available: 4.14.13
NOTE: preferred version 4.12% of linux-libc-headers not available (for item linux-libc-headers)
NOTE: versions of linux-libc-headers available: 4.14.13
NOTE: preferred version 4.12% of linux-libc-headers not available (for item linux-libc-headers-dev)
NOTE: versions of linux-libc-headers available: 4.14.13
NOTE: preferred version 4.12% of nativesdk-linux-libc-headers not available (for item nativesdk-linux-libc-headers-dev)
(From OE-Core rev: df07a95f270492dba9fa04f917617b1aaee123b9)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is already in gcc-7-branch
6e6c7fc1e1
Thanks nsz for noticing it
(From OE-Core rev: 3d9c32f31047e9fae289b45fcf733c5df1ddaceb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the first boot deferral needs to be requested explicitly,
it's not really something to be concerned about.
(From OE-Core rev: 19f3f4c60060ff5ed3c1c9871e18fcd4d128c5a3)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows catching errors in the scriptlets which would otherwise
go unnoticed, e.g. this sequence:
====
bogus_command
proper_command
====
would work just fine. Note that this patch needs all of the preceding
patches, as otherwise running failing scriptlets with -e would defer
them to first boot, instead of properly reporting failure and aborting
the package installation.
(From OE-Core rev: 3cd8a55d5298ce9cc176e402fdb727abb26a1a4c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'exit 1' is not optimal for two reasons:
1) Code is hard to read; it is not obvious that it means 'defer what follows to first boot'.
2) Worse, this hides actual errors in the scriptlets; there is no difference between scriptlet
failing because it's intended to be run on target and scriptlet failing because there's a bug or
a regression somewhere.
The new, supported way is to place the code that has to run on target into pkg_postinst_ontarget(),
or, if a more fine-tuned control is required, call 'postinst-intercepts defer_to_first_boot' from
pkg_postinst() to explicitly request deferral to first boot.
(From OE-Core rev: d12cf56e9ff2a4f13dfbef9290ea5647b52b3f6d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is a convenient and more readable shortcut for situations
when the postinst code always needs to run on target. All commands that
cannot be executed during cross-install and can only be run on target
should go into this function. They will only be executed on first boot
(if package was cross-installed) or immediately during package installation
on target.
Plain pkg_postinst() works as before: it is run during cross-install time,
it can contain a request to defer to first boot, and it is also run
during package installation on target.
Also fix the oeqa test for this functionality to use the new function
where appropriate.
(From OE-Core rev: 229f4e975fb6957f44b5c56735fd6d58564098d7)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
That hook is empty, and doesn't need to be executed; it merely indicates that packages
that have used it are requesting to defer their postinst scripts to first boot
unconditionally.
(From OE-Core rev: 939f7f1a06cd2db05aeb5e75a66322314e10aa6d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows postinsts scripts to explicitly request a deferral to first boot
(by calling 'postinst_intercept delay_to_first_boot') instead of 'exit 1' which
should be used only to indicate actual script failures.
(From OE-Core rev: 853ac4a061e47c70b61e255c3cf6109d2058d2cc)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This mitigates following issues during u-boot do_compile() step --
otherwise, if comm is not available, they are quietly ignored:
.../scripts/check-config.sh: line 33: comm: command not found
.../scripts/check-config.sh: line 39: comm: command not found
Since 'comm' is provided by coreutils package, adding it to HOSTTOOLS
was considered a lower impact fix compared to adding coreutils-native
buildtime dependency to u-boot recipe.
(From OE-Core rev: 6dc33687de9edd4269cbaf85e30945771f61f313)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using a sed to fix the hashbang in a test tool send a patch upstream
and use that. This way we'll notice when the patch doesn't need to be applied
anymore.
(From OE-Core rev: 8b6c45dfdd6a7b469f5a0dd7308b25bdd4b1bf56)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These base_* functions were moved into meta/lib/oe back in 2010 and wrappers
left in utils.bbclass for compatibility. It's been eight years, so I think it's
time to remove them.
(From OE-Core rev: 0391fcad9103abca0796a068f957d0df63ab4776)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These functions were moved to meta/lib/oe in 2010 and the base_* functions in
utils.bbclass were intended to be a short-term compatibility layer. They're
still used in a few places, so update the callers to use the new functions.
(From OE-Core rev: c97acbd034532895ce57c6717ed1b3ccc7900b0d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With glibc 2.27 memfd_create() is behind a _GNU_SOURCE guard, so use
AC_USE_SYSTEM_EXTENSIONS to define it.
(From OE-Core rev: 88b3d730021107985ea749c92e52a323690f87dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
memfd_create is now available in glibc
(From OE-Core rev: 8f893588ff42db711763d0a8977b733df8389774)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've noticed issues on our infrastucture iterating over the many
tag/branch/head reference files that some git repositories may contain.
By issuing the pack-refs command, we move these all to a single file
which speeds up operations with the mirror repos in the downloads
directory in general.
(Bitbake rev: f8126aaf774186a6eaf0bd4067b89c074594886c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means two different graph files can easily be compared, currently
you'd have to sort them as the output is randomized.
(Bitbake rev: 5f7c6ec785f70beb1a4a1bbc0eb83cfa6cd7740d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change hardcoded /lib to ${nonarch_base_libdir} to correctly adapt the
code in do_install_append_aarch64() for when usrmerge is enabled in
DISTRO_FEATURES.
(From OE-Core rev: ac373c9f760463d989d6a1eb3a14b7c5b255b9d4)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes depending on libfm with the gtk+ bindings will automatically rdepend
additionally on the new package libfm-gtk.
(From OE-Core rev: fa49561040e4de4ac75f18d195352b9114149f9b)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows scripts/bitbake-whatchanged to calculate the dependency
changes correctly since it needs to set different STAMPS_DIR during
the comparation.
(From OE-Core rev: 8547f1e29104b75299f1056524da4a058a029940)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove hardcoding c/c++ compiler to be gcc alone, its
possible to use clang as replacement for cross compilers
from meta-clang, therefore set clang/clang++ if
TOOLCHAIN = "clang"
(From OE-Core rev: 05789489d25a5ceac0403613ad789d78198be6ee)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebased:
- python/01-use-proper-tools-for-cross-build.patch
- python/fix-makefile-for-ptest.patch
- python/parallel-makeinst-create-bindir.patch
Removed Upstreamed Patch:
- python/Don-t-use-getentropy-on-Linux.patch
Updated license checksum for changes in the copyright date. The license
terms remain unchanged
Added an extra do_compile item to create the native pgen that no longer
gets compiled by default
(From OE-Core rev: 9f2de4f9cf1eb6de75dc789bd0549f45c7a68c55)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The _pydecimal files are required to use the numbers package
and downstream packages are currently required to add a RDEPENDS
on python3-misc to avoid an import error
(From OE-Core rev: 4ca2d607a6b6fe8686bf89177287f2b9bae01245)
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>
Adding a file-checksums flag for the manifest to do_split_packages doesn't
achieve anything as do_split_packages isn't a task. Changing this to tha task
do_package shows that the path is wrong, but we also know that as the manifest
is in SRC_URI any changes to it would result in a rebuild anyway, so this line
can be deleted.
However there is a problem of the recipe not being reparsed when it needs to be,
if the JSON has changed. The main bitbake process can hash the recipe and use
stale data from the cache as it hasn't considered the manifest file changing. This
results in non-determinism warnings when the worker parses the recipe again and
comes to a different hash (as the manifest has changed, so the packaging
changed).
Solve this by calling bb.parse.mark_dependency() to declare the dependency on
the manifest.
(From OE-Core rev: a321b28c8dafc9775f465ce7c0f6bcbe8ccc2945)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade man-pages from 4.11 to 4.14.
2.Update the checksum of LIC_FILES_CHKSUM, since README has been changed.
(From OE-Core rev: 8644d7bde6a30aec4e666ad59ff148f04c616a21)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade libunwind from 1.2 to 1.2.1.
2.Delete fix-mips.patch, since it is integrated upstream.
(From OE-Core rev: a8944a706dc5acd9dc091d60675c0dbc50294df7)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade blktrace form 1.1.0+gitX to 1.2.0+gitX
2.Delete 0001-include-sys-types.h-for-dev_t-definition.patch, since it is integrated upstream.
3.Modify ldflags.patch, since iowatcher/Makefile has been changed.
(From OE-Core rev: bd1326a1e778f1c774fe3efd93b888bf9ee9df3d)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The RPM packages contain BUILDHOST based on the current build host.
This breaks reproducibility if the same package is build on two different hosts.
To improve reproducible builds, we always set BUILDHOST as "reproducible".
(From OE-Core rev: f3beb683380ec0d9efa0d6af83205350afd1b2de)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove qt4 test component in test list since qt4 isn't installed to
lsb image by default.
* Update package directory, server IP address and version.
* Move LSB_Test.sh from /usr/bin to /opt/lsb-test.
* Add lsb as runtime dependency.
(From OE-Core rev: c5a9c64d271aec57959d70a83d0967e00a155908)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LSB test packages had been updated to 5.0 in lsbtest. We also need
to bump to version 5.0 for this recipe.
(From OE-Core rev: 7bef6109927d143136afad79674dab12cf4552c8)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
distrocompare.sh is added to compare the added list of recipes
between two releases. The output of the script will share the
information of the licenses required and other distributions
that are using the package.
If a single input is provided, it will compare the current
branch with the provided branch/commit-ish package list.
To run : distrocompare.sh <older hash> <newer hash>
E.g. distrocompare.sh morty 92aa0e7
E.g. distrocompare.sh morty pyro
E.g. distrocompare.sh morty
output : The script will produce a file ending with
new_recipe_list.txt preceeded by the branch name from input
(From OE-Core rev: 32b363c2ba91fde4f10e5fe2c898b2fc2702aa85)
Signed-off-by: Tan Shen Joon <shen.joon.tan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade gzip from 1.8 to 1.9.
2.Delete 0001-gzip-port-zdiff-zless-to-Busybox.patch, since it is integrated upstream.
3.Modify wrong-path-fix.patch, since it is changed upstream.
(From OE-Core rev: db59381121d564a1ba5d199a8099d120620f0527)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The requirement for images being built using RPM is too strict to have access to
the RPM functions, simply checking that package_rpm is in PACKAGE_CLASSES is
sufficient.
Also fail if SRPMs are requested but package_rpm isn't enabled, instead of
silently not doing what we were asked.
(From OE-Core rev: cdae5c41e4f67a8757efc5ce1ef11d730edc3af1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core changes the architecture independent RPM packages to use
"noarch" instead of "all". This change has been included in the commit
below:
,----
| commit 341810aff923ace6b1cc1e15e19383c4f8773b51
| Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
| Date: Mon Jan 9 16:37:28 2017 +0200
|
| package_rpm.bbclass: make architecture-independent .rpm packages
| "noarch" instead of "all"
|
| Too many places in dnf/rpm4 stack make that assumption; let's not
| fight against it.
|
| Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
`----
This is causing problems with machines that has "all" inside the
machine name.
Reported-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
(From OE-Core rev: 3e4ddeab65d4d2e4aaf03d442c2a1a8c7a2ce8a2)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
librsvg-gtk installs /usr/share/thumbnailers/librsvg.thumbnailer which contains
TryExec and Exec for gdk-pixbuf-thumbnailer which is installed by
gdk-pixbuf-bin.
Fixes the following message in systemd-journal:
raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: Registered thumbailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: error: The metadata does not have a thumbnail property
raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: error: The metadata does not have a thumbnail property
(From OE-Core rev: 661dd7460b47f9feafe08c8bb4a328caa7fe052e)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a sanity check during the do_compile task to fail if the suid
busybox provides /bin/sh. This is considered as a hard fail since not
only is providing sh as suid problematic for security reasons but also
because the sh configured for suid is less functional than the nosuid
configured sh and breaks a number of required features (e.g. 64-bit
test).
(From OE-Core rev: b64807549569817c8f1921a0aad52c815af90731)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When searching for variables, include colon to ensure the script doesn't
find a variable that starts with the same name.
(From OE-Core rev: 3d2c87c4f4115b01534ab198c27682c7e4c5f31f)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The static PIE patch was updated by Juro Bystricky <juro.bystricky@intel.com>
to work with gcc 7.3.
This update from the stable gcc 7 branch includes the retpoline
functionality which is useful to assist with recent security issues.
Two backported patches were dropped as they're included in 7.3.
(From OE-Core rev: a4c1ede6876ad6b84ab2b3bece14bf0afdc9d6b7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable update from Paul Gortmaker which comprises
the following commits:
4aff9b16f4ba Linux 4.12.19
28f16fcc84f9 Bluetooth: Prevent stack info leak from the EFS element.
a430cb040780 loop: fix concurrent lo_open/lo_release
4dd428f5965c net: ipv4: fix for a race condition in raw_sendmsg
4428a99052e6 bpf: fix lockdep splat
686f16d77fee bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN
2c4577f1274b bpf: fix branch pruning logic
d16a3b7b0642 bpf: reject out-of-bounds stack pointer calculation
a1177b36876f x86/microcode/AMD: Add support for fam17h microcode loading
19be0f0937af iommu/arm-smmu-v3: Cope with duplicated Stream IDs
2e9834fd3352 iommu/arm-smmu-v3: Don't free page table ops twice
1e67d5342bde KVM: X86: Fix load RFLAGS w/o the fixed bit
b45b19d6e92d KVM: PPC: Book3S HV: Fix pending_pri value in kvmppc_xive_get_icp()
ce4ad56d8b44 KVM: PPC: Book3S: fix XIVE migration of pending interrupts
721f59a0bf4f KVM: arm/arm64: Fix HYP unmapping going off limits
a7dbd1b73e6c arm64: kvm: Prevent restoring stale PMSCR_EL1 for vcpu
3e4266c9ea63 KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
c15b6348058e x86/asm: Use register variable to get stack pointer value
19af84ace857 x86/asm: Fix inline asm call constraints for GCC 4.4
78d54c1f3ac1 x86/asm: Fix inline asm call constraints for Clang
9a6d78ff4fb7 arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27
3af55325636e mm: Handle 0 flags in _calc_vm_trans() macro
f951c9e762b6 arm-ccn: perf: Prevent module unload while PMU is in use
21bc2a95624c arm64: fix CONFIG_DEBUG_WX address reporting
a2fb441f8cbd arm64: Initialise high_memory global variable earlier
2b2e733345b0 kbuild: do not call cc-option before KBUILD_CFLAGS initialization
4c67bceb55f4 jump_label: Invoke jump_label_test() via early_initcall()
7cdf334210c3 ARM: BUG if jumping to usermode address in kernel mode
77358b0b4d2f arm64: SW PAN: Update saved ttbr0 value on enter_lazy_tlb
09bddb96452b arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm
f451d0e885e1 arm64: fpsimd: Prevent registers leaking from dead tasks
bf4bfcfd1780 KVM: arm/arm64: vgic-its: Check result of allocation before use
bdd70c122339 KVM: arm/arm64: vgic: Preserve the revious read from the pending table
6b99a8c8cdc0 KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
eadaba010c36 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
b31b0eb03c2c arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
7c5a020deec8 arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
e1d48f51262e KVM: x86: fix APIC page invalidation
4465b8b94411 x86/PCI: Make broadcom_postcore_init() check acpi_disabled
74d50f1ac954 perf tools: Fix leaking rec_argv in error cases
a8698071c4ba KVM: lapic: Fixup LDR on load in x2apic
18db8c0cd612 KVM: lapic: Split out x2apic ldr calculation
06e79931a082 KVM: x86: inject exceptions produced by x86_decode_insn
1c7ccddc0a60 KVM: x86: Exit to user-mode on #UD intercept when emulator requires
933a293d5925 KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
27a37b1b39b5 mm/madvise.c: fix madvise() infinite loop under special circumstances
9a415da9c31c mm, hugetlbfs: introduce ->split() to vm_operations_struct
ab1e80ae2b42 mm: fix device-dax pud write-faults triggered by get_user_pages()
84392a1ffc54 mm/cma: fix alloc_contig_range ret code/potential leak
390e49975c0c mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
c9d8192b4165 mm, oom_reaper: gather each vma to prevent leaking TLB entry
557cc85757eb mm, memory_hotplug: do not back off draining pcp free pages from kworker context
e7f78f55bdcb KVM: SVM: obey guest PAT
eee1b36f5bd8 KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
eca2c0a4f6fd KVM: PPC: Book3S HV: Don't call real-mode XICS hypercall handlers if not enabled
139c8678fb65 x86/decoder: Add new TEST instruction pattern
f06e373ee93d RDS: Heap OOB write in rds_message_alloc_sgs()
4f72d5339c6f RDS: null pointer dereference in rds_atomic_free_op
3911496c7b54 net: Fix double free and memory corruption in get_net_ns_by_id()
5c9f58b167bd MIPS: math-emu: do not use bools for arithmetic
a756ea350c02 crypto: salsa20 - fix blkcipher_walk API usage
632cfeb3cb42 crypto: hmac - require that the underlying hash algorithm is unkeyed
fdd279fd5561 netlink: Add netns check on taps
c142151947e9 dccp: CVE-2017-8824: use-after-free in DCCP code
edd820b4ba76 media: hdpvr: Fix an error handling path in hdpvr_probe()
aa0327d3dddc powerpc/tm: Add commandline option to disable hardware transactional memory
(From OE-Core rev: 222537d8dcf103d8dcce2df7e915594c480ef110)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg 4.9 -stable updates. These include patches for
Spectre and meltdown mitigation. The changelog follows:
79584a422125 Linux 4.9.78
60249fe9050b MIPS: AR7: ensure the port type's FCR value is used
06d7342d8498 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
b9f8b5935394 x86/pti: Document fix wrong index
4b71be496642 kprobes/x86: Disable optimizing on the function jumps to indirect thunk
36ad6ba501d6 kprobes/x86: Blacklist indirect thunk functions for kprobes
09402d83395f retpoline: Introduce start/end markers of indirect thunk
c5aa687060a8 x86/mce: Make machine check speculation protected
87ac29717de8 usbip: fix warning in vhci_hcd_probe/lockdep_init_map
0d92cf7f29e6 x86/cpu, x86/pti: Do not enable PTI on AMD processors
ddfaa7acd7a2 arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
2904adc5b1c0 dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6
cabf6294a6dc dm btree: fix serious bug in btree_split_beneath()
ca2d73686720 workqueue: avoid hard lockups in show_workqueue_state()
d314f3bc7f3d libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
8a3f4baaa4c3 proc: fix coredump vs read /proc/*/stat race
43c3e093c26d scripts/gdb/linux/tasks.py: fix get_thread_info
23d68eddd857 can: peak: fix potential bug in packet fragmentation
19f47eafe10c ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7
1f32f15ec73c ARM: sunxi_defconfig: Enable CMA
969e2145eb4a phy: work around 'phys' references to usb-nop-xceiv devices
9a50ea0ce7cc tracing: Fix converting enum's from the map in trace_event_eval_update()
cb513d1414f9 Input: twl4030-vibra - fix sibling-node lookup
eaabab6468b3 Input: twl6040-vibra - fix child-node lookup
9be13b3357e1 Input: 88pm860x-ts - fix child-node lookup
607b86e17352 Input: ALPS - fix multi-touch decoding on SS4 plus touchpads
9792f9b483cd perf tools: Fix build with ARCH=x86_64
c557481a9491 x86/apic/vector: Fix off by one in error path
5b13f593565f pipe: avoid round_pipe_size() nr_pages overflow on 32-bit
02802dfc82a2 x86/tsc: Fix erroneous TSC rate on Skylake Xeon
5ab44e8f0f0d x86/mm/pkeys: Fix fill_sig_info_pkey
eee0cba7b02f module: Add retpoline tag to VERMAGIC
a96cf98dda3f x86/cpufeature: Move processor tracing out of scattered features
13ccac5de853 objtool: Improve error message for bad file argument
b73d68788f79 x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
abf67b1e7881 x86/retpoline: Fill RSB on context switch for affected CPUs
1ad4f2872c3b sched/deadline: Zero out positive runtime after throttling constrained tasks
997231f9fd7a scsi: hpsa: fix volume offline state
d303d0ca9afb iser-target: Fix possible use-after-free in connection establishment error
0476e6d0b752 af_key: fix buffer overread in parse_exthdrs()
e4dc05ab8f5a af_key: fix buffer overread in verify_address_len()
676109b28cad timers: Unconditionally check deferrable base
4b6e681f5952 ALSA: hda - Apply the existing quirk to iMac 14,1
fae704d5bd29 ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant
b9e168a0c629 ALSA: pcm: Remove yet superfluous WARN_ON()
e4ff9f294629 ALSA: seq: Make ioctls race-free
d8a3170db0de futex: Prevent overflow by strengthen input validation
bb7119eea22c scsi: sg: disable SET_FORCE_LOW_DMA
c9ca9d9d9b79 libnvdimm, btt: Fix an incompatibility in the log layout
b8cf9ff79d63 Linux 4.9.77
1b92c48a2eeb x86/pti/efi: broken conversion from efi to kernel page table
92e8f2049474 objtool: Fix retpoline support for pre-ORC objtool
44f1eae7fe65 x86/retpoline: Remove compile time warning
c05d544d5343 selftests/x86: Add test_vsyscall
c1ddd99a0296 x86/retpoline: Fill return stack buffer on vmexit
276e30044710 x86/retpoline/irq32: Convert assembler indirect jumps
a590960ae6ea x86/retpoline/checksum32: Convert assembler indirect jumps
87a1fe36250d x86/retpoline/xen: Convert Xen hypercall indirect jumps
9e37da4c3de1 x86/retpoline/hyperv: Convert assembler indirect jumps
83d7658362cc x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
8b1bacc3218c x86/retpoline/entry: Convert entry assembler indirect jumps
2adc2f74449f x86/retpoline/crypto: Convert crypto assembler indirect jumps
8f96937ee304 x86/spectre: Add boot time option to select Spectre v2 mitigation
2bb5de42f254 x86/retpoline: Add initial retpoline support
4bf050da57d9 x86/asm: Use register variable to get stack pointer value
4d8bd3e2f6b1 objtool: Allow alternatives to be ignored
3adb52ab2976 objtool: Detect jumps to retpoline thunks
35aee626fa63 objtool, modules: Discard objtool annotation sections for modules
00bcb5ada638 x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
91b7e5cdc80a x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
194dc04770f5 x86/alternatives: Fix optimize_nops() checking
5ddd318a4715 sysfs/cpu: Fix typos in vulnerability documentation
9c5e750c8e84 x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
abcc3e5f0079 x86/cpu/AMD: Make LFENCE a serializing instruction
45a98824bd79 x86/cpu: Implement CPU vulnerabilites sysfs functions
11ec2df9c020 sysfs/cpu: Add vulnerability folder
56eff367e071 x86/cpu: Merge bugs.c and bugs_64.c
26323fb4d717 x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
43fe95308d27 x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
d88f601b9ac9 x86/cpufeatures: Add X86_BUG_CPU_INSECURE
c2cacde516a4 x86/cpufeatures: Make CPU bugs sticky
ef463981018e x86/cpu: Factor out application of forced CPU caps
4e6c2af2ba93 x86/Documentation: Add PTI description
d598347989aa e1000e: Fix e1000_check_for_copper_link_ich8lan return value.
3ba5d3a2cf40 uas: ignore UAS for Norelsys NS1068(X) chips
6aebc2670ebf Bluetooth: Prevent stack info leak from the EFS element.
c51d23dffc2e staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl
8ab8c6e6607a usbip: vudc_tx: fix v_send_ret_submit() vulnerability to null xfer buffer
86c8d58fc753 usbip: fix vudc_rx: harden CMD_SUBMIT path to handle malicious input
6851ec74bfe4 usbip: remove kernel addresses from usb device and urb debug msgs
435db24bb91f USB: fix usbmon BUG trigger
9f6ca0ea7a7a usb: misc: usb3503: make sure reset is low for at least 100us
11632d079e9e USB: serial: cp210x: add new device ID ELV ALC 8xxx
4abe275c2dee USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ
820ef2a0e54c bpf, array: fix overflow in max_entries and undefined behavior in index_mask
a9bfac14cde2 bpf: prevent out-of-bounds speculation
f55093dccd3a bpf: refactor fixup_bpf_calls()
28035366afe9 bpf: move fixup_bpf_calls() function
60c7a9cd5050 target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
748e1b6281f5 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
ec61bafb2abd kaiser: Set _PAGE_NX only if supported
08a752581104 drm/vmwgfx: Potential off by one in vmw_view_add()
012df71d2980 KVM: x86: Add memory barrier on vmcs field lookup
431fd501aa3f x86/microcode/intel: Extend BDW late-loading with a revision check
553a8b8c8d87 rbd: set max_segments to USHRT_MAX
3752d2fb9a6d crypto: algapi - fix NULL dereference in crypto_remove_spawns()
b28394cbb402 net/sched: Fix update of lastuse in act modules implementing stats_update
e2b825e8de16 mlxsw: spectrum_router: Fix NULL pointer deref
16d5b481d098 ethtool: do not print warning for applications using legacy API
dde00c92245d ipv6: fix possible mem leaks in ipv6_make_skb()
6f237183c7ca net: stmmac: enable EEE in MII, GMII or RGMII only
7f4226ffcba0 sh_eth: fix SH7757 GEther initialization
eb2f80e099d4 sh_eth: fix TSU resource handling
ce31b6ac1111 RDS: null pointer dereference in rds_atomic_free_op
cebb382931c4 RDS: Heap OOB write in rds_message_alloc_sgs()
61196a67cac4 net: core: fix module type in sock_diag_bind
ca5681b723d3 ip6_tunnel: disable dst caching if tunnel is dual-stack
fe71f34fbf83 8021q: fix a memory leak for VLAN 0 device
66bb6c2c4445 xhci: Fix ring leak in failure path of xhci_alloc_virt_device()
135f98084eac cx82310_eth: use skb_cow_head() to deal with cloned skbs
7c5015409bef smsc75xx: use skb_cow_head() to deal with cloned skbs
ab4fd7a2ddc5 sr9700: use skb_cow_head() to deal with cloned skbs
542bcc549379 lan78xx: use skb_cow_head() to deal with cloned skbs
1ecdfc1ee99d zswap: don't param_set_charp while holding spinlock
5c1b80f674e9 x86/acpi: Reduce code duplication in mp_override_legacy_irq()
43ff00f87377 ALSA: aloop: Fix racy hw constraints adjustment
5af666d0ddb7 ALSA: aloop: Fix inconsistent format due to incomplete rule
01046dd834ac ALSA: aloop: Release cable upon open error path
bee3f2d5c02a ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
3a00564cb49f ALSA: pcm: Abort properly at pending signal in OSS read/write loops
8e81425e80c9 ALSA: pcm: Add missing error checks in OSS emulation plugin builder
83da0245eda2 ALSA: pcm: Remove incorrect snd_BUG_ON() usages
0199927a8e51 x86/acpi: Handle SCI interrupts above legacy space gracefully
64ab063b7193 platform/x86: wmi: Call acpi_wmi_init() later
491c0ca3dbd5 kvm: vmx: Scrub hardware GPRs at VM-exit
78c00f597ba8 MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses
1f4cff1c364b MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET
cfc5c63a38ca MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA
f616180a8720 MIPS: Consistently handle buffer counter with PTRACE_SETREGSET
5b593a81fddd MIPS: Guard against any partial write attempt with PTRACE_SETREGSET
8eb5655aacdd MIPS: Factor out NT_PRFPREG regset access helpers
14e1c579acba MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task
30191718645d IB/srpt: Disable RDMA access by the initiator
02f201f78fb9 can: gs_usb: fix return value of the "set_bittiming" callback
c781e3be97a1 KVM: Fix stack-out-of-bounds read in write_mmio
c5ab9ee144d8 ath10k: rebuild crypto header in rx data frames
234c8e60437d mac80211: Add RX flag to indicate ICV stripped
b58aa24edb62 dm bufio: fix shrinker scans when (nr_to_scan < retain_target)
7bbc6ca48877 Linux 4.9.76
5e1f377fc810 mtd: nand: pxa3xx: Fix READOOB implementation
beca4e2d9944 Map the vsyscall page with _PAGE_USER
47f3cea393ab x86/tlb: Drop the _GPL from the cpu_tlbstate export
91dfc41e753b parisc: qemu idle sleep support
14c06206b98f parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
dd43c465ba24 x86/microcode/AMD: Add support for fam17h microcode loading
2b009d33f427 Input: elantech - add new icbody type 15
cc1349fa9c22 ARC: uaccess: dont use "l" gcc inline asm constraint modifier
e6a897a684c2 iommu/arm-smmu-v3: Cope with duplicated Stream IDs
03975faee7ce iommu/arm-smmu-v3: Don't free page table ops twice
4d53eb494950 kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
794ac8ef9b06 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
1453b3ac6cf8 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
79258d983480 kernel: make groups_sort calling a responsibility group_info allocators
3a381abc5b70 nbd: fix use-after-free of rq/bio in the xmit path
2b9b2002e05d fscache: Fix the default for fscache_maybe_release_page()
34fa2eede095 sunxi-rsb: Include OF based modalias in device uevent
c195a4c0230d crypto: pcrypt - fix freeing pcrypt instances
868f50b95dbe crypto: chacha20poly1305 - validate the digest size
f6db86f31b47 crypto: n2 - cure use after free
790080ce0e32 kernel/acct.c: fix the acct->needcheck check in check_free_space()
9f74755895f9 Linux 4.9.75
92fd81f77267 kaiser: Set _PAGE_NX only if supported
ea6cd39d230f KPTI: Report when enabled
e71fac01727a KPTI: Rename to PAGE_TABLE_ISOLATION
59094faf3f61 x86/kaiser: Move feature detection up
402e63de94af kaiser: disabled on Xen PV
2c2721754a7f x86/kaiser: Reenable PARAVIRT
1817d2c2fac1 x86/paravirt: Dont patch flush_tlb_single
fe5cb75fd2dd kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
b72c26e911c5 kaiser: asm/tlbflush.h handle noPGE at lower level
8c2f8a5cc15b kaiser: drop is_atomic arg to kaiser_pagetable_walk()
169b369f99af kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
8018307a45a9 x86/kaiser: Check boottime cmdline params
50624dd12d6d x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
23e09439aa46 kaiser: add "nokaiser" boot option, using ALTERNATIVE
cb7d8d7e6737 kaiser: fix unlikely error in alloc_ldt_struct()
3df146178706 kaiser: kaiser_remove_mapping() move along the pgd
05ddad146d02 kaiser: paranoid_entry pass cr3 need to paranoid_exit
d0142ceb7926 kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
6a2b4117614c kaiser: PCID 0 for kernel and 128 for user
0b5ca9d99599 kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
2684b12a169e kaiser: enhanced by kernel and user PCIDs
1972bb9d9206 kaiser: vmstat show NR_KAISERTABLE as nr_overhead
1ce27de4011e kaiser: delete KAISER_REAL_SWITCH option
c27cdea56c54 kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
61b7a404fa13 kaiser: cleanups while trying for gold link
604db4961085 kaiser: align addition to x86/mm/Makefile
be6bf01f4caa kaiser: tidied up kaiser_add/remove_mapping slightly
67fab0d4acb3 kaiser: tidied up asm/kaiser.h somewhat
f43f386f0bf0 kaiser: ENOMEM if kaiser_pagetable_walk() NULL
f881e626849c kaiser: fix perf crashes
19377944317f kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
639c005daeeb kaiser: KAISER depends on SMP
7a92e20d157f kaiser: fix build and FIXME in alloc_ldt_struct()
0994a2cf8fe4 kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
ac2f1018ac21 kaiser: do not set _PAGE_NX on pgd_none
8f0baadf2bea kaiser: merged update
13be4483bb48 KAISER: Kernel Address Isolation
b5fd58e997cf x86/boot: Add early cmdline parsing for options with arguments
8824b2d7abfb tcp_bbr: reset long-term bandwidth sampling on loss recovery undo
61c51da2b4bd tcp_bbr: reset full pipe detection on loss recovery undo
07bcb2489b96 Linux 4.9.74
181a832c2e26 mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
d76dabb5af06 tty: fix tty_ldisc_receive_buf() documentation
00fc57ae06c3 n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
404ae546c7d1 x86/smpboot: Remove stale TLB flush invocations
e8119ac05d71 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
249d4a9b3246 timers: Reinitialize per cpu bases on hotplug
574e543ff970 timers: Invoke timer_start_debug() where it makes sense
d840687aa8a3 timers: Use deferrable base independent of base::nohz_active
09d3e69305b3 usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
ab1fbfecd330 USB: Fix off by one in type-specific length check of BOS SSP capability
425d2f15338d usb: add RESET_RESUME for ELSA MicroLink 56K
0f2e9cbc231c usb: Add device quirk for Logitech HD Pro Webcam C925e
d98f4d4d0283 USB: serial: option: adding support for YUGA CLM920-NC5
192cdf5ecaf8 USB: serial: option: add support for Telit ME910 PID 0x1101
6ab3d87ad702 USB: serial: qcserial: add Sierra Wireless EM7565
0af1aebb6a8b USB: serial: ftdi_sio: add id for Airbus DS P8GR
03dce0573d38 usbip: vhci: stop printing kernel pointer addresses in messages
9e9f4255c0d3 usbip: stub: stop printing kernel pointer addresses in messages
1ef5c433b3b9 usbip: prevent leaking socket pointer address in messages
3c579d0b4f0f usbip: fix usbip bind writing random string after command in match_busid
67b539cab43c s390/qeth: update takeover IPs after configuration change
476d7d693295 s390/qeth: lock IP table while applying takeover changes
475018c79742 s390/qeth: don't apply takeover changes to RXIP
6ed7c48e93bb s390/qeth: apply takeover changes when mode is toggled
7493d98ea84c net/mlx5: Fix error flow in CREATE_QP command
c844a4589487 net/mlx5e: Prevent possible races in VXLAN control flow
604225824f06 net/mlx5e: Add refcount to VXLAN structure
d1614fd9cd10 net/mlx5e: Fix possible deadlock of VXLAN lock
9424a79ec11d net/mlx5e: Fix features check of IPv6 traffic
138723912343 net/mlx5: Fix rate limit packet pacing naming and struct
e74fe7268e7e tcp: invalidate rate samples during SACK reneging
58f6ebbd3424 sock: free skb in skb_complete_tx_timestamp on error
a746fadd5e31 net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
03c93293a83a net: Fix double free and memory corruption in get_net_ns_by_id()
8c38f3190fd6 net: fec: Allow reception of frames bigger than 1522 bytes
243adaa4eaea net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
e4f669802775 ipv4: Fix use-after-free when flushing FIB tables
e51abae8458a adding missing rcu_read_unlock in ipxip6_rcv
ae67e5486b97 sctp: Replace use of sockets_allocated with specified macro.
99cf2daf0da3 net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
f75f910ffa90 net: ipv4: fix for a race condition in raw_sendmsg
484369ff9715 tg3: Fix rx hang on MTU change with 5717/5719
7887a700ce61 tcp md5sig: Use skb's saddr when replying to an incoming segment
a4bf8efd2bcb tcp_bbr: record "full bw reached" decision in new full_bw_reached bit
53288d82188b RDS: Check cmsg_len before dereferencing CMSG_DATA
8b032bde2899 ptr_ring: add barriers
b3b56038bab0 net: reevalulate autoflowlabel setting after sysctl setting
8baa58c5d536 net: qmi_wwan: add Sierra EM7565 1199:9091
0b18782288a2 netlink: Add netns check on taps
2c1a0b2e2bac net: igmp: Use correct source address on IGMPv3 reports
930882f8b831 net: fec: unmap the xmit buffer that are not transferred by DMA
f6d7cdbb0285 ipv6: mcast: better catch silly mtu values
c2f78bf8ca3a ipv4: igmp: guard against silly MTU values
b929ccccbc8c kbuild: add '-fno-stack-check' to kernel build options
04bdf71d9f74 x86/mm/64: Fix reboot interaction with CR4.PCIDE
b52f937eccd4 x86/mm: Enable CR4.PCIDE on supported systems
e6a29320de00 x86/mm: Add the 'nopcid' boot option to turn off PCID
1e7f3d8875ee x86/mm: Disable PCID on 32-bit kernels
3e5daacf6517 x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
a94af050080f x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
113980c002eb x86/mm: Make flush_tlb_mm_range() more predictable
219acedb061c x86/mm: Remove flush_tlb() and flush_tlb_current_task()
72b812d5b874 x86/vm86/32: Switch to flush_tlb_mm_range() in mark_screen_rdonly()
65ca46e5fe12 ALSA: hda - fix headset mic detection issue on a Dell machine
a1dbcd823a30 ALSA: hda: Drop useless WARN_ON()
d30d1761bc43 ASoC: tlv320aic31xx: Fix GPIO1 register definition
b04640a450d3 ASoC: twl4030: fix child-node lookup
00add00ed2c0 ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
35f87d45cba3 ASoC: da7218: fix fix child-node lookup
125e81b5afcb ASoC: wm_adsp: Fix validation of firmware and coeff lengths
72d5e020c0ef iw_cxgb4: Only validate the MSN for successful completions
2e0d458c315a ring-buffer: Mask out the info bits when returning buffer page length
81e155e7b023 tracing: Fix crash when it fails to alloc ring buffer
5dc4cd2688e3 tracing: Fix possible double free on failure of allocating trace buffer
6edea15d120c tracing: Remove extra zeroing out of the ring buffer page
3d16a1315add sync objtool's copy of x86-opcode-map.txt
b3e88217e2f9 Linux 4.9.73
37435f7e80ef bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN
69cf72b28791 net: mvneta: eliminate wrong call to handle rx descriptor error
a57f99f484e5 net: mvneta: use proper rxq_number in loop on rx queues
405f3d7946fd net: mvneta: clear interface link status on port disable
423716cf2815 libnvdimm, pfn: fix start_pad handling for aligned namespaces
77b318a4e558 powerpc/perf: Dereference BHRB entries safely
2635a64d0e94 clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
18276e9bcd49 kvm: x86: fix RSM when PCID is non-zero
e5c73b3b60e1 KVM: X86: Fix load RFLAGS w/o the fixed bit
418dfce4fa63 pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems
cb8b2fd1909e spi: xilinx: Detect stall with Unknown commands
373386ec3f70 parisc: Hide Diva-built-in serial aux and graphics card
10b4a621f367 PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
3176065495e1 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
beab14a3eeb8 ALSA: usb-audio: Add native DSD support for Esoteric D-05X
cec92448c58e ALSA: rawmidi: Avoid racy info ioctl via ctl device
becf7d87cda9 mfd: twl6040: Fix child-node lookup
f4c0796fdc8b mfd: twl4030-audio: Fix sibling-node lookup
2db85cb211d0 mfd: cros ec: spi: Don't send first message too soon
e81cff1cedef crypto: mcryptd - protect the per-CPU queue with a lock
d31a207aaf07 acpi, nfit: fix health event notification
54c74d38819d ACPI: APEI / ERST: Fix missing error handling in erst_reader()
2df397931072 Linux 4.9.72
6430e166aee8 sparc32: Export vac_cache_size to fix build error
3695b3b18519 bpf: fix incorrect sign extension in check_alu_op()
d75d3ee237ce bpf: reject out-of-bounds stack pointer calculation
7b5b73ea87a0 bpf: fix branch pruning logic
565f012f5abb bpf: adjust insn_aux_data when patching insns
3b6c84bc6449 Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
dbeb719e24c3 platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes
00ecb4b1a599 MIPS: math-emu: Fix final emulation phase for certain instructions
3cff90788e28 thermal/drivers/hisi: Fix multiple alarm interrupts firing
1b2c46a6be45 thermal/drivers/hisi: Simplify the temperature/step computation
2dac559df962 thermal/drivers/hisi: Fix kernel panic on alarm interrupt
b679b8d7bad0 thermal/drivers/hisi: Fix missing interrupt enablement
82bf76afa8af thermal: hisilicon: Handle return value of clk_prepare_enable
b86c7b8c5dfb cpuidle: fix broadcast control when broadcast can not be entered
15319d2a49ca rtc: set the alarm to the next expiring timer
acc96729e1d8 tcp: fix under-evaluated ssthresh in TCP Vegas
5859027994f9 clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
bb0618ac2302 staging: greybus: light: Release memory obtained by kasprintf
4bf42a2ec12a net: ipv6: send NS for DAD when link operationally up
52d0a601aec4 fm10k: ensure we process SM mbx when processing VF mbx
76d83bfc1158 vfio/pci: Virtualize Maximum Payload Size
de5a4c816d31 scsi: lpfc: PLOGI failures during NPIV testing
b438d2f7e23c scsi: lpfc: Fix secure firmware updates
fc9d6386a9a3 fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw
bd0feaac155f ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback
6af9b18a2e48 tracing: Exclude 'generic fields' from histograms
fbb2d72a54c6 PCI/AER: Report non-fatal errors only to the affected endpoint
1d4b32bee9c7 IB/rxe: check for allocation failure on elem
2141182852b8 ixgbe: fix use of uninitialized padding
700053c8733e igb: check memory allocation failure
c236525bae02 PM / OPP: Move error message to debug level
164a941c031b PCI: Create SR-IOV virtfn/physfn links before attaching driver
b40eeea31afd scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
fd1d9dccc01d scsi: cxgb4i: fix Tx skb leak
241833a3a90d PCI: Avoid bus reset if bridge itself is broken
d3469e616668 net: phy: at803x: Change error to EINVAL for invalid MAC
206e1621ba72 kvm, mm: account kvm related kmem slabs to kmemcg
bdb33bb5e2ce rtc: pl031: make interrupt optional
1525e330d646 crypto: crypto4xx - increase context and scatter ring buffer elements
291c7e488f64 backlight: pwm_bl: Fix overflow condition
d14718c9f434 bnxt_en: Fix NULL pointer dereference in reopen failure path
9e1771368a98 cpuidle: powernv: Pass correct drv->cpumask for registration
5460e4672b81 ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed memory
9c1433b5dd2b Btrfs: fix an integer overflow check
0708a476810d netfilter: nfnetlink_queue: fix secctx memory leak
54420c1ac421 xhci: plat: Register shutdown for xhci_plat
55b6a5d080aa net: moxa: fix TX overrun memory leak
ce19146a0de0 isdn: kcapi: avoid uninitialized data
bb011a451387 virtio_balloon: prevent uninitialized variable use
c6f9090929dc virtio-balloon: use actual number of stats for stats queue buffers
808ed3bd9d42 KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
29c4f517ff5b net: ipconfig: fix ic_close_devs() use-after-free
e9a1ba292fff cpufreq: Fix creation of symbolic links to policy directories
e0d13153057e ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend
b5ed572a1b7d netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register
01060acf6aab netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash table
9e6398184a4d irda: vlsi_ir: fix check for DMA mapping errors
37f41dac70ca RDMA/iser: Fix possible mr leak on device removal event
661f5348696a i40e: Do not enable NAPI on q_vectors that have no rings
2eb783a705b0 IB/rxe: increment msn only when completing a request
2f0e39f2e3d7 IB/rxe: double free on error
7f077afe94d9 net: Do not allow negative values for busy_read and busy_poll sysctl interfaces
521a7e3dad6b nbd: set queue timeout properly
f4fcc56632cf infiniband: Fix alignment of mmap cookies to support VIPT caching
cd083d5bcafd IB/core: Protect against self-requeue of a cq work item
26452a5033dc i40iw: Receive netdev events post INET_NOTIFIER state
102a8a163449 bna: avoid writing uninitialized data into hw registers
51533c4bf144 s390/qeth: no ETH header for outbound AF_IUCV
118b0404d68d s390/qeth: size calculation outbound buffers
60d59823046a r8152: prevent the driver from transmitting packets with carrier off
b89e229112c0 ASoC: STI: Fix reader substream pointer set
347848e0bb99 HID: xinmo: fix for out of range for THT 2P arcade controller.
afa055f2a1d0 hwmon: (asus_atk0110) fix uninitialized data access
5700ffc4accb ARM: dts: ti: fix PCI bus dtc warnings
2df19698db73 KVM: VMX: Fix enable VPID conditions
e0249c023448 KVM: x86: correct async page present tracepoint
8386ff5203e0 kvm: vmx: Flush TLB when the APIC-access address changes
3bd2017b6a20 scsi: lpfc: Fix PT2PT PRLI reject
0f4aa1f0f576 pinctrl: st: add irq_request/release_resources callbacks
7656871eff6a inet: frag: release spinlock before calling icmp_send()
e6e8067ec34a tipc: fix nametbl deadlock at tipc_nametbl_unsubscribe
bfb38fbd868d r8152: fix the rx early size of RTL8153
7171aa2680b2 iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5
0f0ac218057f netfilter: nfnl_cthelper: Fix memory leak
ec38fb443a09 netfilter: nfnl_cthelper: fix runtime expectation policy updates
02197d86c56d usb: gadget: udc: remove pointer dereference after free
2b943bed33e7 usb: gadget: f_uvc: Sanity check wMaxPacketSize for SuperSpeed
2101ccbc2a91 hwmon: (max31790) Set correct PWM value
4ee082a72731 net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4
9ed8f0fabae5 sctp: out_qlen should be updated when pruning unsent queue
b4cf187a1bc5 bna: integer overflow bug in debugfs
b3f662ccd367 sch_dsmark: fix invalid skb_cow() usage
98d20e590266 vsock: cancel packets when failing to connect
482b3f92aea2 vhost-vsock: add pkt cancel capability
6f1848e778d9 vsock: track pkt owner vsock
7ff28d3307b6 crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex
ddfc9f75993e r8152: fix the list rx_done may be used without initialization
9712b2b73d7c cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
8f21b63c9dcf nvme-loop: handle cpu unplug when re-establishing the controller
c9bbd2727d1e arm: kprobes: Align stack to 8-bytes in test code
d0ee8d5b86b8 arm: kprobes: Fix the return address of multiple kretprobes
6e2a6941fa4b HID: corsair: Add driver Scimitar Pro RGB gaming mouse 1b1c:1b3e support to hid-corsair
e93ea3a50cc6 HID: corsair: support for K65-K70 Rapidfire and Scimitar Pro RGB
2a7eee3d72b0 kvm: fix usage of uninit spinlock in avic_vm_destroy()
2d9a34c064ad ALSA: hda - add support for docking station for HP 840 G3
52c3323e4141 ALSA: hda - add support for docking station for HP 820 G2
bb95f1caee61 arm64: Initialise high_memory global variable earlier
76fcdc8cbbce cxl: Check if vphb exists before iterating over AFU devices
(From OE-Core rev: 01b6f1a2245ccb99835e643b73b2a62a5cf16cf9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg 4.4 -stable releases up to 113. These include
Spectre and Meltdown mitigation patches. Changelog follows:
f0d0a93b0e81 Linux 4.4.113
38bc402237f8 MIPS: AR7: ensure the port type's FCR value is used
11e619414b69 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
58f96ac5dba6 x86/pti: Document fix wrong index
6cb73eb80451 kprobes/x86: Disable optimizing on the function jumps to indirect thunk
9b8bd0d35868 kprobes/x86: Blacklist indirect thunk functions for kprobes
799dc737680a retpoline: Introduce start/end markers of indirect thunk
f59e7ce17ba3 x86/mce: Make machine check speculation protected
ff535919c136 kbuild: modversions for EXPORT_SYMBOL() for asm
6b1c99e275c0 x86/cpu, x86/pti: Do not enable PTI on AMD processors
5ecd5c8388f0 arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
7e7b086ef2fe dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6
9c7755af771a dm btree: fix serious bug in btree_split_beneath()
b7bd013a3fe0 libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
082dfe6141f3 can: peak: fix potential bug in packet fragmentation
2d5523bf47b4 ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7
d5276c013713 phy: work around 'phys' references to usb-nop-xceiv devices
cf3625004e6c tracing: Fix converting enum's from the map in trace_event_eval_update()
b6306f3fdcaa Input: twl4030-vibra - fix sibling-node lookup
a89e1ac9b0da Input: twl6040-vibra - fix child-node lookup
8e70d4862271 Input: twl6040-vibra - fix DT node memory management
47970b4ea09c Input: 88pm860x-ts - fix child-node lookup
7fd133539289 x86/apic/vector: Fix off by one in error path
aa041f13f8c6 pipe: avoid round_pipe_size() nr_pages overflow on 32-bit
1782af2835fe module: Add retpoline tag to VERMAGIC
fba063e6dfb4 x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
8bd58b61d2fa sched/deadline: Zero out positive runtime after throttling constrained tasks
ec7a002d7796 scsi: hpsa: fix volume offline state
b78f2d36e737 af_key: fix buffer overread in parse_exthdrs()
48907f2535aa af_key: fix buffer overread in verify_address_len()
478a7fa82ff7 ALSA: hda - Apply the existing quirk to iMac 14,1
a4d7639d5fb6 ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant
80547bb6154d ALSA: pcm: Remove yet superfluous WARN_ON()
58c82be944f5 futex: Prevent overflow by strengthen input validation
f1fcb9d2926c scsi: sg: disable SET_FORCE_LOW_DMA
451725c3e785 x86/retpoline: Remove compile time warning
eebc3f8adee0 x86/retpoline: Fill return stack buffer on vmexit
f72655b837eb x86/retpoline/irq32: Convert assembler indirect jumps
7e5bb301bd2f x86/retpoline/checksum32: Convert assembler indirect jumps
6b222e7483af x86/retpoline/xen: Convert Xen hypercall indirect jumps
d2beed45635e x86/retpoline/hyperv: Convert assembler indirect jumps
7153a6d5ff05 x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
028083cb02db x86/retpoline/entry: Convert entry assembler indirect jumps
9fe55976f0c8 x86/retpoline/crypto: Convert crypto assembler indirect jumps
9f789bc5711b x86/spectre: Add boot time option to select Spectre v2 mitigation
3c5e10905263 x86/retpoline: Add initial retpoline support
675901851fd2 kconfig.h: use __is_defined() to check if MODULE is defined
a88693d00698 EXPORT_SYMBOL() for asm
b8e7a489b518 x86/asm: Make asm/alternative.h safe from assembly
b76ac90af34d x86/kbuild: enable modversions for symbols exported from asm
cfc8c1d61e46 x86/asm: Use register variable to get stack pointer value
416f66509fce x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
642ce1bb5ea6 x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
20c28c04a6bc x86/cpu/AMD: Make LFENCE a serializing instruction
e6c591e7a430 gcov: disable for COMPILE_TEST
42375c1120d5 Linux 4.4.112
125d76412866 selftests/x86: Add test_vsyscall
999d4f1961fa x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
e997d991ab2b x86/alternatives: Fix optimize_nops() checking
433d7851e5ca sysfs/cpu: Fix typos in vulnerability documentation
72cf81e43ba4 x86/cpu: Implement CPU vulnerabilites sysfs functions
73492b686012 sysfs/cpu: Add vulnerability folder
9718bf5f4ebb x86/cpu: Merge bugs.c and bugs_64.c
caae411b6ee0 x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
6349cab425ce x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
07c7aa5e7e8a x86/cpufeatures: Add X86_BUG_CPU_INSECURE
65b28590de24 x86/cpufeatures: Make CPU bugs sticky
18b849b18d1c x86/cpu: Factor out application of forced CPU caps
d013f41d0cc5 x86/Documentation: Add PTI description
cf9f240627b4 e1000e: Fix e1000_check_for_copper_link_ich8lan return value.
10a4324500ff uas: ignore UAS for Norelsys NS1068(X) chips
0ae86454c435 Bluetooth: Prevent stack info leak from the EFS element.
b4106c55b574 staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl
27a194bc8d21 usbip: remove kernel addresses from usb device and urb debug msgs
3f577093c511 USB: fix usbmon BUG trigger
92e8ba1ea050 usb: misc: usb3503: make sure reset is low for at least 100us
e4c9428d035b USB: serial: cp210x: add new device ID ELV ALC 8xxx
a962c95895a7 USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ
531a2595ce1a target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
694c1ed559c8 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
095b0ba360ff bpf, array: fix overflow in max_entries and undefined behavior in index_mask
9a7fad4c0e21 bpf: prevent out-of-bounds speculation
648064515d0d bpf: adjust insn_aux_data when patching insns
19614eee0644 bpf: refactor fixup_bpf_calls()
14c7c55f4527 bpf: move fixup_bpf_calls() function
0748b80e4325 bpf: don't (ab)use instructions to store state
087a92287dba bpf: add bpf_patch_insn_single helper
c18b1bda4933 kaiser: Set _PAGE_NX only if supported
0b6231faa212 drm/vmwgfx: Potential off by one in vmw_view_add()
6785f955bcb6 KVM: x86: Add memory barrier on vmcs field lookup
7d1bef0f6037 x86/microcode/intel: Extend BDW late-loading with a revision check
c77dd7b425cd rbd: set max_segments to USHRT_MAX
68829e75666e crypto: algapi - fix NULL dereference in crypto_remove_spawns()
608644ac89aa ipv6: fix possible mem leaks in ipv6_make_skb()
b188ce30cc1b net: stmmac: enable EEE in MII, GMII or RGMII only
f574e2e8c6cf sh_eth: fix SH7757 GEther initialization
29ca856bb76a sh_eth: fix TSU resource handling
44496521c6bd RDS: null pointer dereference in rds_atomic_free_op
10d06ed9a189 RDS: Heap OOB write in rds_message_alloc_sgs()
d19b5ed46cce net: core: fix module type in sock_diag_bind
b9f16497eec2 ip6_tunnel: disable dst caching if tunnel is dual-stack
0e1cadec4187 8021q: fix a memory leak for VLAN 0 device
7ec5d87df34a x86/pti/efi: broken conversion from efi to kernel page table
cc0e36105661 Revert "userfaultfd: selftest: vm: allow to build in vm/ directory"
3ae43090f13b xhci: Fix ring leak in failure path of xhci_alloc_virt_device()
6321e1753563 sysrq: Fix warning in sysrq generated crash.
6f61bd5c4ff5 hwrng: core - sleep interruptible in read
f065b5f78d17 x86/mm/pat, /dev/mem: Remove superfluous error message
146001aeb9af cx82310_eth: use skb_cow_head() to deal with cloned skbs
be48b6ee6d07 smsc75xx: use skb_cow_head() to deal with cloned skbs
36a1c87f57f6 sr9700: use skb_cow_head() to deal with cloned skbs
efca4f469475 lan78xx: use skb_cow_head() to deal with cloned skbs
ad196359a6d1 r8152: adjust ALDPS function
a37ff616d720 r8152: use test_and_clear_bit
9d614746ea0b r8152: fix the wake event
ea6f411117e1 usb: musb: ux500: Fix NULL pointer dereference at system PM
829b82508c55 usbvision fix overflow of interfaces array
bd44e3f19d14 locking/mutex: Allow next waiter lockless wakeup
1920b8a6a6ed futex: Replace barrier() in unqueue_me() with READ_ONCE()
e143f5d26258 locks: don't check for race with close when setting OFD lock
c4eafbc2ba11 zswap: don't param_set_charp while holding spinlock
eeca23f21cfb mm/zswap: use workqueue to destroy pool
45c26b0736ef mm/page-writeback: fix dirty_ratelimit calculation
9780795fc1e5 mm/compaction: pass only pageblock aligned range to pageblock_pfn_to_page
756000bec7c1 mm/compaction: fix invalid free_pfn and compact_cached_free_pfn
0e82bbca5896 x86/acpi: Reduce code duplication in mp_override_legacy_irq()
d091a2bb8c2e ALSA: aloop: Fix racy hw constraints adjustment
a9cad56436f4 ALSA: aloop: Fix inconsistent format due to incomplete rule
3d3b2c61e1be ALSA: aloop: Release cable upon open error path
fa6c1876ecf7 ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
9bb4bb18ccff ALSA: pcm: Abort properly at pending signal in OSS read/write loops
1ee7bc5526d8 ALSA: pcm: Add missing error checks in OSS emulation plugin builder
3074fe070a89 ALSA: pcm: Remove incorrect snd_BUG_ON() usages
f511ba8a5084 iommu/arm-smmu-v3: Don't free page table ops twice
745a0d9c1a8e x86/acpi: Handle SCI interrupts above legacy space gracefully
1a699374533b x86/vsdo: Fix build on PARAVIRT_CLOCK=y, KVM_GUEST=n
8d383ff7deaa kvm: vmx: Scrub hardware GPRs at VM-exit
0753661d5b17 net/mac80211/debugfs.c: prevent build failure with CONFIG_UBSAN=y
f2c131d05d86 MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses
725679dc78a9 MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET
9584ae52bd7e MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA
a6972f8bd2b6 MIPS: Consistently handle buffer counter with PTRACE_SETREGSET
e68049f6a9e8 MIPS: Guard against any partial write attempt with PTRACE_SETREGSET
b1e808b9de5c MIPS: Factor out NT_PRFPREG regset access helpers
1e918a43cbf0 MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task
6c2c83eb1b0d IB/srpt: Disable RDMA access by the initiator
a71d6de9718e can: gs_usb: fix return value of the "set_bittiming" callback
eb91461daa77 KVM: Fix stack-out-of-bounds read in write_mmio
cbb1cc722aaa dm bufio: fix shrinker scans when (nr_to_scan < retain_target)
c5ae3a6aa1a3 Linux 4.4.111
516fa79e77f7 Fix build error in vma.c
6dcf5491e01c Map the vsyscall page with _PAGE_USER
90191f71d749 proc: much faster /proc/vmstat
c819a67f7ee9 module: Issue warnings when tainting kernel
7e35bc655ec1 module: keep percpu symbols in module's symtab
104fd57d391a genksyms: Handle string literals with spaces in reference files
a4c1c75373bf x86/tlb: Drop the _GPL from the cpu_tlbstate export
d5bbffc0501d parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
3db597feef08 x86/microcode/AMD: Add support for fam17h microcode loading
0a99730ae0cc Input: elantech - add new icbody type 15
30ce9c8dbc42 ARC: uaccess: dont use "l" gcc inline asm constraint modifier
5f1aa83c58aa kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
7a7f54f8e390 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
be95f1308f79 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
58330ec2fecd kernel: make groups_sort calling a responsibility group_info allocators
d1698dc8a590 fscache: Fix the default for fscache_maybe_release_page()
7cbb4a2305f8 sunxi-rsb: Include OF based modalias in device uevent
3ad85176e78d crypto: pcrypt - fix freeing pcrypt instances
869994e0bd29 crypto: chacha20poly1305 - validate the digest size
0b72e17dde6e crypto: n2 - cure use after free
83875f582596 kernel/acct.c: fix the acct->needcheck check in check_free_space()
b17b901f0fea x86/kasan: Write protect kasan zero shadow
b3e3db15b450 Linux 4.4.110
b33c3c64c478 kaiser: Set _PAGE_NX only if supported
2b24fe5c57af x86/kasan: Clear kasan_zero_page after TLB flush
755bd549d932 x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap
64e239804e21 x86, vdso, pvclock: Simplify and speed up the vdso pvclock reader
bfd51a4d715b KPTI: Report when enabled
3e1457d6bf26 KPTI: Rename to PAGE_TABLE_ISOLATION
7f79599df9c4 x86/kaiser: Move feature detection up
e4ba212ec641 kaiser: disabled on Xen PV
750fb627d764 x86/kaiser: Reenable PARAVIRT
3e809caffdd7 x86/paravirt: Dont patch flush_tlb_single
8eaca4c7d9f1 kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
0651b3ad99dd kaiser: asm/tlbflush.h handle noPGE at lower level
28c6de544174 kaiser: drop is_atomic arg to kaiser_pagetable_walk()
2dff99eb0335 kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
e405a064bd7d x86/kaiser: Check boottime cmdline params
dea9aa9ffae1 x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
e345dcc94815 kaiser: add "nokaiser" boot option, using ALTERNATIVE
500943e57db8 kaiser: fix unlikely error in alloc_ldt_struct()
d41f46f77895 kaiser: _pgd_alloc() without __GFP_REPEAT to avoid stalls
fc8334e6b3e5 kaiser: paranoid_entry pass cr3 need to paranoid_exit
20268a10ffec kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
3b4ce0e1a172 kaiser: PCID 0 for kernel and 128 for user
0731188fc74c kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
eb82151d0b1d kaiser: enhanced by kernel and user PCIDs
3e3d38fd9832 kaiser: vmstat show NR_KAISERTABLE as nr_overhead
b9d2ccc54e17 kaiser: delete KAISER_REAL_SWITCH option
aeda21d77e22 kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
c52e55a2a82d kaiser: cleanups while trying for gold link
f127705d26b3 kaiser: kaiser_remove_mapping() move along the pgd
0c68228f7b39 kaiser: tidied up kaiser_add/remove_mapping slightly
5fbd46c4be78 kaiser: tidied up asm/kaiser.h somewhat
407c3ff6a24c kaiser: ENOMEM if kaiser_pagetable_walk() NULL
20cbe9a3aa2e kaiser: fix perf crashes
487f0b73d826 kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
d94df20135cc kaiser: KAISER depends on SMP
9b94cf97f42c kaiser: fix build and FIXME in alloc_ldt_struct()
003e47671690 kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
edde73205b3f kaiser: do not set _PAGE_NX on pgd_none
bed9bb7f3e6d kaiser: merged update
8a43ddfb93a0 KAISER: Kernel Address Isolation
0fa147b40747 x86/boot: Add early cmdline parsing for options with arguments
e68d6189c787 Linux 4.4.109
5d67dbef745b mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
2e3883922530 n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
977614061c3d x86/smpboot: Remove stale TLB flush invocations
458ed3179948 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
46e9398c96af usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
0ceb7a66392d USB: Fix off by one in type-specific length check of BOS SSP capability
c359123bfdd2 usb: add RESET_RESUME for ELSA MicroLink 56K
955ae55f2d16 usb: Add device quirk for Logitech HD Pro Webcam C925e
e8cd11a935dd USB: serial: option: adding support for YUGA CLM920-NC5
140cfcc8b093 USB: serial: option: add support for Telit ME910 PID 0x1101
232972f73936 USB: serial: qcserial: add Sierra Wireless EM7565
24162c1781c1 USB: serial: ftdi_sio: add id for Airbus DS P8GR
76f611cbdbb4 usbip: vhci: stop printing kernel pointer addresses in messages
feeae6411a1a usbip: stub: stop printing kernel pointer addresses in messages
e0362688b4fa usbip: fix usbip bind writing random string after command in match_busid
3f54a6d41d44 sock: free skb in skb_complete_tx_timestamp on error
623bfb5818ab net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
5854ca90c6c6 net: Fix double free and memory corruption in get_net_ns_by_id()
dd1e454c4d74 net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
169a9861c638 ipv4: Fix use-after-free when flushing FIB tables
4033c396f80c sctp: Replace use of sockets_allocated with specified macro.
ca57949d169e net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
be27b620a861 net: ipv4: fix for a race condition in raw_sendmsg
6dfc02ba5149 tg3: Fix rx hang on MTU change with 5717/5719
6925223ab320 tcp md5sig: Use skb's saddr when replying to an incoming segment
e0bdd21a86c5 net: reevalulate autoflowlabel setting after sysctl setting
06525d5b8ea8 net: qmi_wwan: add Sierra EM7565 1199:9091
f778ce6faa0d netlink: Add netns check on taps
373b423038a8 net: igmp: Use correct source address on IGMPv3 reports
0a8cb76e11d9 ipv6: mcast: better catch silly mtu values
3d406a18bd94 ipv4: igmp: guard against silly MTU values
1cd09d4b38a2 kbuild: add '-fno-stack-check' to kernel build options
6c4db09c291a x86/mm/64: Fix reboot interaction with CR4.PCIDE
fd0504525efd x86/mm: Enable CR4.PCIDE on supported systems
dcccd3c266e2 x86/mm: Add the 'nopcid' boot option to turn off PCID
78043e5b6fb2 x86/mm: Disable PCID on 32-bit kernels
b2e24274d50e x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
3efba6062a41 x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
9f4d1ba1d407 x86/mm: Make flush_tlb_mm_range() more predictable
227d6f0e79f8 x86/mm: Remove flush_tlb() and flush_tlb_current_task()
6ce9d1e6819e x86/vm86/32: Switch to flush_tlb_mm_range() in mark_screen_rdonly()
c04ed3a84961 ALSA: hda - fix headset mic detection issue on a Dell machine
0ba2ebc9f355 ALSA: hda: Drop useless WARN_ON()
5251932b974d ASoC: twl4030: fix child-node lookup
3096ced5a939 ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
becb0c6409ad iw_cxgb4: Only validate the MSN for successful completions
9dc9648942b1 ring-buffer: Mask out the info bits when returning buffer page length
25fade614be3 tracing: Fix crash when it fails to alloc ring buffer
c2a62f84d49f tracing: Fix possible double free on failure of allocating trace buffer
075242101627 tracing: Remove extra zeroing out of the ring buffer page
87060303469c net: mvneta: clear interface link status on port disable
b7aac649af10 powerpc/perf: Dereference BHRB entries safely
5a62acc900e9 kvm: x86: fix RSM when PCID is non-zero
c9b5338394f2 KVM: X86: Fix load RFLAGS w/o the fixed bit
0bf0c45449c3 spi: xilinx: Detect stall with Unknown commands
46865ecdd061 parisc: Hide Diva-built-in serial aux and graphics card
727b641b35dd PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
6b08ff879603 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
af1195354355 ALSA: rawmidi: Avoid racy info ioctl via ctl device
e7f1c0da02fb mfd: twl6040: Fix child-node lookup
ee54e7a18e56 mfd: twl4030-audio: Fix sibling-node lookup
381d368c9954 mfd: cros ec: spi: Don't send first message too soon
2e234e707f7f crypto: mcryptd - protect the per-CPU queue with a lock
db09203e3252 ACPI: APEI / ERST: Fix missing error handling in erst_reader()
03028e068a1f Linux 4.4.108
1cfeaadfd1b4 alpha: fix build failures
d126c47656da ALSA: hda - Fix yet another i915 pointer leftover in error path
3b67b56ea770 ALSA: hda - Degrade i915 binding failure message
ef24d642e92a ALSA: hda - Clear the leftover component assignment at snd_hdac_i915_exit()
7f3e85d820fd Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
9c631278a9c6 MIPS: math-emu: Fix final emulation phase for certain instructions
69dd89a1f919 thermal: hisilicon: Handle return value of clk_prepare_enable
c0303e4ffd3a cpuidle: fix broadcast control when broadcast can not be entered
8e6e8ec18d95 rtc: set the alarm to the next expiring timer
1e52ede8e1ed tcp: fix under-evaluated ssthresh in TCP Vegas
ab8e096eed2f fm10k: ensure we process SM mbx when processing VF mbx
0705d3b83699 scsi: lpfc: PLOGI failures during NPIV testing
e4dff872fe97 scsi: lpfc: Fix secure firmware updates
eb7b86ec94a4 PCI/AER: Report non-fatal errors only to the affected endpoint
aa6d09cea6df ixgbe: fix use of uninitialized padding
cffbf0ffc47c igb: check memory allocation failure
1e91b0d64e92 PCI: Create SR-IOV virtfn/physfn links before attaching driver
a916c4152a4b scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
e9151f9d4b6f scsi: cxgb4i: fix Tx skb leak
8f376337c637 PCI: Avoid bus reset if bridge itself is broken
3190a0623c58 net: phy: at803x: Change error to EINVAL for invalid MAC
a0ca85d4895a rtc: pl031: make interrupt optional
d7ae9928a25d crypto: crypto4xx - increase context and scatter ring buffer elements
78ffab9744ad backlight: pwm_bl: Fix overflow condition
0ec5f7a3c9b6 bnxt_en: Fix NULL pointer dereference in reopen failure path
7432a60515da cpuidle: powernv: Pass correct drv->cpumask for registration
1779b33294da ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed memory
bec60b446b52 netfilter: nfnetlink_queue: fix secctx memory leak
ff1ddbb38b19 xhci: plat: Register shutdown for xhci_plat
ea9e1ca40939 isdn: kcapi: avoid uninitialized data
f15394085d11 KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
27c2fa1ae0ea ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend
17b1ff10a1fc netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register
7c9316d2f263 netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash table
3af547339068 irda: vlsi_ir: fix check for DMA mapping errors
52cd7920b7ac RDMA/iser: Fix possible mr leak on device removal event
85e54ef781b6 i40e: Do not enable NAPI on q_vectors that have no rings
6a04a7798a3e net: Do not allow negative values for busy_read and busy_poll sysctl interfaces
359f7020464f bna: avoid writing uninitialized data into hw registers
8acee491cfbd s390/qeth: no ETH header for outbound AF_IUCV
8ce4313f1279 r8152: prevent the driver from transmitting packets with carrier off
19b1ad3a2e68 HID: xinmo: fix for out of range for THT 2P arcade controller.
ebfb08395800 hwmon: (asus_atk0110) fix uninitialized data access
2e114c7b4562 ARM: dts: ti: fix PCI bus dtc warnings
f1fdf68b4f94 KVM: VMX: Fix enable VPID conditions
caa4cfd173b7 KVM: x86: correct async page present tracepoint
2849ef5dcefd scsi: lpfc: Fix PT2PT PRLI reject
bc9aec2faddf pinctrl: st: add irq_request/release_resources callbacks
1d75c214cebc inet: frag: release spinlock before calling icmp_send()
aba55cb03579 netfilter: nfnl_cthelper: Fix memory leak
b9fd3306a5af netfilter: nfnl_cthelper: fix runtime expectation policy updates
e598cdd240a0 usb: gadget: udc: remove pointer dereference after free
0c8496bfdb0e usb: gadget: f_uvc: Sanity check wMaxPacketSize for SuperSpeed
d6c0e23a7fef net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4
b9a4a18a01fc bna: integer overflow bug in debugfs
ffde339b95f5 sch_dsmark: fix invalid skb_cow() usage
4bf8a4f179ed crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex
a88b064826f0 r8152: fix the list rx_done may be used without initialization
125325fe1c19 cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
a23a447e47cc arm: kprobes: Align stack to 8-bytes in test code
3f7855a52222 arm: kprobes: Fix the return address of multiple kretprobes
779214d0eaca ALSA: hda - add support for docking station for HP 840 G3
9a66598014db ALSA: hda - add support for docking station for HP 820 G2
3b9d9ec0d826 x86/irq: Do not substract irq_tlb_count from irq_call_count
18a5348d49af sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off()
c22d4b4d1c7f ARM: Hide finish_arch_post_lock_switch() from modules
4ead44fd2525 x86/mm, sched/core: Turn off IRQs in switch_mm()
70a39c7fd167 x86/mm, sched/core: Uninline switch_mm()
83cc4b50e3a9 x86/mm: Build arch/x86/mm/tlb.c even on !SMP
425f13a36652 sched/core: Add switch_mm_irqs_off() and use it in the scheduler
dfe513a4e8dd mm/mmu_context, sched/core: Fix mmu_context.h assumption
8d5ee51a6bce mm/rmap: batched invalidations should use existing api
85d3700c744a x86/mm: If INVPCID is available, use it to flush global mappings
791a0f3fecda x86/mm: Add a 'noinvpcid' boot option to turn off INVPCID
04ec428b15f1 x86/mm: Fix INVPCID asm constraint
becf292446e9 x86/mm: Add INVPCID helpers
5fc8d62d1921 cxl: Check if vphb exists before iterating over AFU devices
9e1485b1b570 arm64: Initialise high_memory global variable earlier
96c00ece76be Linux 4.4.107
a815c0a370cf ath9k: fix tx99 potential info leak
26c66554d7bf IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
112814db6ec4 RDMA/cma: Avoid triggering undefined behavior
4bbb49138f4a macvlan: Only deliver one copy of the frame to the macvlan interface
b8d510ff7165 udf: Avoid overflow when session starts at large offset
a114af87c0ba scsi: bfa: integer overflow in debugfs
798f08501424 scsi: sd: change allow_restart to bool in sysfs interface
c387c02d604d scsi: sd: change manage_start_stop to bool in sysfs interface
2e03af22f65c vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
930fb06d1617 scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
24bc48af0aee raid5: Set R5_Expanded on parity devices as well as data.
09379498aff0 pinctrl: adi2: Fix Kconfig build problem
5f2dbdff20e0 usb: musb: da8xx: fix babble condition handling
68d3bc40f5ca tty fix oops when rmmod 8250
afa8f0a7af70 powerpc/perf/hv-24x7: Fix incorrect comparison in memord
28a5b0e438f1 scsi: hpsa: destroy sas transport properties before scsi_host
942eb7dd5e42 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
ec662d656073 PCI: Detach driver before procfs & sysfs teardown on device remove
02922f3bb37f xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
f267a1390b41 xfs: fix log block underflow during recovery cycle verification
92eff81ad96a l2tp: cleanup l2tp_tunnel_delete calls
230c4ba404d3 bcache: fix wrong cache_misses statistics
271252373027 bcache: explicitly destroy mutex while exiting
ab9b3db40828 GFS2: Take inode off order_write list when setting jdata flag
2a5bb1284e72 thermal/drivers/step_wise: Fix temperature regulation misbehavior
561b9d998e65 ppp: Destroy the mutex when cleanup
083dd685aebd clk: tegra: Fix cclk_lp divisor register
f56be2ce49c1 clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
22a1e337ed68 clk: mediatek: add the option for determining PLL source clock
b59614cfd2d3 mm: Handle 0 flags in _calc_vm_trans() macro
44de70ecec2d crypto: tcrypt - fix buffer lengths in test_aead_speed()
b397507641fb arm-ccn: perf: Prevent module unload while PMU is in use
75ee360a5114 target/file: Do not return error for UNMAP if length is zero
646191449e76 target:fix condition return in core_pr_dump_initiator_port()
e14086b2c9bc iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
7d93603ddb65 target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
09f29c7a953d powerpc/ipic: Fix status get and status clear
c6c3637ee8ab powerpc/opal: Fix EBUSY bug in acquiring tokens
59720463cf28 netfilter: ipvs: Fix inappropriate output of procfs
f46b4bab4e93 powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
ef476a74f8ed PCI/PME: Handle invalid data when reading Root Status
e6d8207a84b0 dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
600b973fc56f rtc: pcf8563: fix output clock rate
ac0468efee60 video: fbdev: au1200fb: Return an error code if a memory allocation fails
033d20b727f3 video: fbdev: au1200fb: Release some resources if a memory allocation fails
314ce0575795 video: udlfb: Fix read EDID timeout
2f5427451738 fbdev: controlfb: Add missing modes to fix out of bounds access
57fa76a46673 sfc: don't warn on successful change of MAC
c9b79738c0ab target: fix race during implicit transition work flushes
dfd6deed8313 target: fix ALUA transition timeout handling
7f5084b98f89 target: Use system workqueue for ALUA transitions
f9b4a2e04c22 btrfs: add missing memset while reading compressed inline extents
248aa3accad9 NFSv4.1 respect server's max size in CREATE_SESSION
a49aa7aadbd3 efi/esrt: Cleanup bad memory map log messages
dc81417eedf5 perf symbols: Fix symbols__fixup_end heuristic for corner cases
acc7d1bd901c net/mlx4_core: Avoid delays during VF driver device shutdown
5e469e44c8fd afs: Fix afs_kill_pages()
80f74cef482f afs: Fix page leak in afs_write_begin()
c58d7796ab93 afs: Populate and use client modification time
fa034538cb04 afs: Fix the maths in afs_fs_store_data()
1efae6ca3418 afs: Prevent callback expiry timer overflow
43e68e3725df afs: Migrate vlocation fields to 64-bit
9d8d20570f39 afs: Flush outstanding writes when an fd is closed
549d7b98f55e afs: Adjust mode bits processing
bb7a7cd6194f afs: Populate group ID from vnode status
1c277e9ebba6 afs: Fix missing put_page()
fec8348008b5 drm/radeon: reinstate oland workaround for sclk
6a51e93b2fe3 mmc: mediatek: Fixed bug where clock frequency could be set wrong
51b3eac39a6c sched/deadline: Use deadline instead of period when calculating overflow
ca91884bcf7d sched/deadline: Throttle a constrained deadline task activated after the deadline
cd0e18d2f24b sched/deadline: Make sure the replenishment timer fires in the next period
4c6567f5af9a drm/radeon/si: add dpm quirk for Oland
c383ebf1acd6 fjes: Fix wrong netdevice feature flags
a33a9d0c705f scsi: hpsa: limit outstanding rescans
0a609298214b scsi: hpsa: update check for logical volume status
b0def6f1e26b openrisc: fix issue handling 8 byte get_user calls
1236cc3664dc intel_th: pci: Add Gemini Lake support
d270d24ee596 mlxsw: reg: Fix SPVMLR max record count
e934e13550a0 mlxsw: reg: Fix SPVM max record count
677a7aac2ec6 net: Resend IGMP memberships upon peer notification.
26af6a8b51f1 dmaengine: Fix array index out of bounds warning in __get_unmap_pool()
9cd4b8684621 net: wimax/i2400m: fix NULL-deref at probe
b424289863d0 writeback: fix memory leak in wb_queue_work()
fbdf477fcff6 netfilter: bridge: honor frag_max_size when refragmenting
7edb2d2d8680 drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
dbfba339c729 Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list
df5678476040 NFSD: fix nfsd_reset_versions for NFSv4.
5b0334584ad6 NFSD: fix nfsd_minorversion(.., NFSD_AVAIL)
067cb6b2f716 net: bcmgenet: Power up the internal PHY before probing the MII
a33e082dcaf4 net: bcmgenet: power down internal phy if open or resume fails
8aaed873f3b9 net: bcmgenet: reserved phy revisions must be checked first
c25da696fca1 net: bcmgenet: correct MIB access of UniMAC RUNT counters
296b584763f7 net: bcmgenet: correct the RBUF_OVFL_CNT and RBUF_ERR_CNT MIB values
accbd99507b1 net: initialize msg.msg_flags in recvfrom
b5213e1e9f25 userfaultfd: selftest: vm: allow to build in vm/ directory
ee9be9963039 userfaultfd: shmem: __do_fault requires VM_FAULT_NOPAGE
0d0456ec2b08 md-cluster: free md_cluster_info if node leave cluster
a1d72bc18e77 usb: phy: isp1301: Add OF device ID table
75252bfe9e49 mac80211: Fix addition of mesh configuration element
13e86efb2eee KEYS: add missing permission check for request_key() destination
ef7ce82bc280 ext4: fix crash when a directory's i_size is too small
2c367edaba65 ext4: fix fdatasync(2) after fallocate(2) operation
52425e042843 dmaengine: dmatest: move callback wait queue to thread context
af36d95af55f sched/rt: Do not pull from current CPU if only one CPU to pull
f98ee9c0007b xhci: Don't add a virt_dev to the devs array before it's fully allocated
ffc7565746bb Bluetooth: btusb: driver to enable the usb-wakeup feature
8c7c3d5b785f ceph: drop negative child dentries before try pruning inode's alias
2862cfca3989 usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
dfdf5fa3e664 USB: core: prevent malicious bNumInterfaces overflow
05de6fa5c0e2 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
a34419b3f6a2 tracing: Allocate mask_str buffer dynamically
c60db4f68593 autofs: fix careless error in recent commit
8a311b0462b5 crypto: salsa20 - fix blkcipher_walk API usage
43cd7f38612d crypto: hmac - require that the underlying hash algorithm is unkeyed
4231b6a98fce Linux 4.4.106
5c6db4afbd9f usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
a5fa9efe4e01 arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
9f5a8d610dd3 Revert "x86/mm/pat: Ensure cpa->pfn only contains page frame numbers"
34933c2ce99c Revert "x86/efi: Hoist page table switching code into efi_call_virt()"
1dfe268df584 Revert "x86/efi: Build our own page table structures"
b90f87c641bc net/packet: fix a race in packet_bind() and packet_notifier()
f50e9c872cb5 packet: fix crash in fanout_demux_rollover()
d6189fa45c6d sit: update frag_off info
6c154d536d94 rds: Fix NULL pointer dereference in __rds_rdma_map
827fd89bc552 tipc: fix memory leak in tipc_accept_from_sock()
047a7bb12d63 more bio_map_user_iov() leak fixes
3a620404e24a s390: always save and restore all registers on context switch
99962affcb8f ipmi: Stop timers before cleaning up the module
b34957127058 audit: ensure that 'audit=1' actually enables audit for PID 1
1b9baf30673c ipvlan: fix ipv6 outbound device
cdfe2d0a4834 afs: Connect up the CB.ProbeUuid
452ae0913614 IB/mlx5: Assign send CQ and recv CQ of UMR QP
3d1d4642fc55 IB/mlx4: Increase maximal message size under UD QP
8bfafc972a34 xfrm: Copy policy family in clone_policy
5c15c5c8ebc5 jump_label: Invoke jump_label_test() via early_initcall()
1b85cd5d9262 atm: horizon: Fix irq release error
dde5bbd52a28 sctp: use the right sk after waking up from wait_buf sleep
1ad621272bd7 sctp: do not free asoc when it is already dead in sctp_sendmsg
59e52050b17c sparc64/mm: set fields in deferred pages
7b99b00cf3f0 block: wake up all tasks blocked in get_request()
5a54dcc51a4a sunrpc: Fix rpc_task_begin trace point
c02608144e79 NFS: Fix a typo in nfs_rename()
640192431a29 dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
24c98ec494c2 lib/genalloc.c: make the avail variable an atomic_long_t
90ec232a3911 route: update fnhe_expires for redirect when the fnhe exists
41dee81f22c9 route: also update fnhe_genid when updating a route cache
32f8870cc9a9 mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
0aab426757d3 kbuild: pkg: use --transform option to prefix paths in tar
8f72d29e7024 EDAC, i5000, i5400: Fix definition of NRECMEMB register
222de157ccd0 EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro
f1ff979f97bd powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested
d42ebf56380f drm/amd/amdgpu: fix console deadlock if late init failed
40b2b6453f89 axonram: Fix gendisk handling
f2396d60746f netfilter: don't track fragmented packets
ca6d40bb082a zram: set physical queue limits to avoid array out of bounds accesses
39c626c1f9e3 i2c: riic: fix restart condition
a836e1952f28 crypto: s5p-sss - Fix completing crypto request in IRQ handler
7c5deeccc664 ipv6: reorder icmpv6_init() and ip6_mr_init()
84bc40c4b31b bnx2x: do not rollback VF MAC/VLAN filters we did not configure
871e4b11eba2 bnx2x: fix possible overrun of VFPF multicast addresses array
1aead0538b89 bnx2x: prevent crash when accessing PTP with interface down
6bbc908cfc1c spi_ks8995: fix "BUG: key accdaa28 not in .data!"
687121453005 arm64: KVM: Survive unknown traps from guests
5dc5c8e65515 arm: KVM: Survive unknown traps from guests
ccf72fe2e5cc KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset
0a12875fa51f irqchip/crossbar: Fix incorrect type of register size
8a15c626996c scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters
d9d47a6d6862 workqueue: trigger WARN if queue_delayed_work() is called with NULL @wq
14a7aa2ae61e libata: drop WARN from protocol error in ata_sff_qc_issue()
f9b291aed2a9 kvm: nVMX: VMCLEAR should not cause the vCPU to shut down
ef21f3a12bb1 USB: gadgetfs: Fix a potential memory leak in 'dev_config()'
4036947a43a0 usb: gadget: configs: plug memory leak
24e9fc7ef051 HID: chicony: Add support for another ASUS Zen AiO keyboard
3aec56b81960 gpio: altera: Use handle_level_irq when configured as a level_high
c52017de0ba6 ARM: OMAP2+: Release device node after it is no longer needed.
14c396184529 ARM: OMAP2+: Fix device node reference counts
d180639d86e1 module: set __jump_table alignment to 8
23f9e8448219 selftest/powerpc: Fix false failures for skipped tests
3bf3fc6cbc8b x86/hpet: Prevent might sleep splat on resume
0500c6d35274 ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
572b639bde31 vti6: Don't report path MTU below IPV6_MIN_MTU.
3771241e5bc3 Revert "s390/kbuild: enable modversions for symbols exported from asm"
e891a29531d4 Revert "spi: SPI_FSL_DSPI should depend on HAS_DMA"
f854e2099915 Revert "drm/armada: Fix compile fail"
5327f9badacd mm: drop unused pmdp_huge_get_and_clear_notify()
47c53ccca4a0 thp: fix MADV_DONTNEED vs. numa balancing race
d4443b53732e thp: reduce indentation level in change_huge_pmd()
696fbe191acd scsi: storvsc: Workaround for virtual DVD SCSI version
dd8c78e2501e ARM: avoid faulting on qemu
af1d17239682 ARM: BUG if jumping to usermode address in kernel mode
750f60edebac arm64: fpsimd: Prevent registers leaking from dead tasks
477b837533a2 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
11030654676b arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
a0b99544dde8 media: dvb: i2c transfers over usb cannot be done from stack
81bf294f5f7b drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
74b6030355a4 drm: extra printk() wrapper macros
d6ff4cce9aa3 kdb: Fix handling of kallsyms_symbol_next() return value
bb47cf7f8e47 s390: fix compat system call table
dc41b6e35f93 iommu/vt-d: Fix scatterlist offset handling
90a20a81dc1c ALSA: usb-audio: Add check return value for usb_string()
9f5c6b108850 ALSA: usb-audio: Fix out-of-bound error
e1d3b7d04d9d ALSA: seq: Remove spurious WARN_ON() at timer check
659e7d2588f0 ALSA: pcm: prevent UAF in snd_pcm_info
5986c9685f1e x86/PCI: Make broadcom_postcore_init() check acpi_disabled
2c2e4b7d279a X.509: reject invalid BIT STRING for subjectPublicKey
1471d1258921 ASN.1: check for error from ASN1_OP_END__ACT actions
621dac1d6991 ASN.1: fix out-of-bounds read when parsing indefinite length item
481efb4c7256 efi: Move some sysfs files to be read-only by root
7e0091c2951f scsi: libsas: align sata_device's rps_resp on a cacheline
98448333588c isa: Prevent NULL dereference in isa_bus driver callbacks
90e2ea6dc851 hv: kvp: Avoid reading past allocated blocks from KVP file
94739ddf35cb virtio: release virtio index when fail to device_register
d73fcef16da0 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
191b419bd0b1 can: esd_usb2: cancel urb on -EPIPE and -EPROTO
af11f3afc2c2 can: ems_usb: cancel urb on -EPIPE and -EPROTO
bd424bd17572 can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
3e3dabd83630 can: kvaser_usb: ratelimit errors if incomplete messages are received
816bc7dffea2 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
b6fa54c18e8d can: kvaser_usb: free buf in error paths
a68e3c90dfb1 can: ti_hecc: Fix napi poll return value for repoll
69b0bf95a51e Linux 4.4.105
da57b1f7e74f xen-netfront: avoid crashing on resume after a failure in talk_to_netback()
e1cadf7c4af2 usb: host: fix incorrect updating of offset
43135100f117 USB: usbfs: Filter flags passed in from user space
c0493eb552e0 USB: devio: Prevent integer overflow in proc_do_submiturb()
2ee8d2acf3ef USB: Increase usbfs transfer limit
9d812f7bef8c USB: core: Add type-specific length check of BOS descriptors
f044af8c1dc3 usb: ch9: Add size macro for SSP dev cap descriptor
ddaa1ae2eb7f usb: Add USB 3.1 Precision time measurement capability descriptor support
a1f03a9bcfa4 usb: xhci: fix panic in xhci_free_virt_devices_depth_first
6a85ba4157a0 usb: hub: Cycle HUB power when initialization fails
40012163e52a Revert "ocfs2: should wait dio before inode lock in ocfs2_setattr()"
33621da4d4ef net: fec: fix multicast filtering hardware setup
5d036ccddc5d xen-netfront: Improve error handling during initialization
cc4add389789 mm: avoid returning VM_FAULT_RETRY from ->page_mkwrite handlers
1b7dbabf0242 tcp: correct memory barrier usage in tcp_check_space()
bc42f67b73cb dmaengine: pl330: fix double lock
ca0836061019 tipc: fix cleanup at module unload
e5afc84f644c net: sctp: fix array overrun read on sctp_timer_tbl
7e9236c00152 drm/exynos/decon5433: set STANDALONE_UPDATE_F on output enablement
e26d58f897ca NFSv4: Fix client recovery when server reboots multiple times
48222dd037f5 KVM: arm/arm64: Fix occasional warning from the timer work function
f2fb416f4af6 nfs: Don't take a reference on fl->fl_file for LOCK operation
7228df818d90 ravb: Remove Rx overflow log messages
1bb50d02a8d3 net/appletalk: Fix kernel memory disclosure
c73b58cfa83e vti6: fix device register to report IFLA_INFO_KIND
e6533243f74f ARM: OMAP1: DMA: Correct the number of logical channels
e6f105531992 net: systemport: Pad packet before inserting TSB
3a44ade54473 net: systemport: Utilize skb_put_padto()
8633eec0ee08 kprobes/x86: Disable preemption in ftrace-based jprobes
7317cb116754 perf test attr: Fix ignored test case result
1c4d7600390b sysrq : fix Show Regs call trace on ARM
c86fa9ed3a0f EDAC, sb_edac: Fix missing break in switch
c2e1be144805 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
ecd996c24a79 serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
86b9d66d1f3f usb: phy: tahvo: fix error handling in tahvo_usb_probe()
b6ca48b5cd08 spi: sh-msiof: Fix DMA transfer size check
a96c19f5ba09 serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
429feb597df3 selftests/x86/ldt_get: Add a few additional tests for limits
93f45d8c67dc s390/pci: do not require AIS facility
80f93e24ecfc ima: fix hash algorithm initialization
71ce1cac5b4d USB: serial: option: add Quectel BG96 id
9e51ee1b76ef s390/runtime instrumentation: simplify task exit handling
ef3567cc5284 serial: 8250_pci: Add Amazon PCI serial device ID
a8293de0ee1f usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
636b080991ee uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
3f7477e64478 bcache: recover data from backing when data is clean
f80f34d8ba92 bcache: only permit to recovery read error when cache device is clean
bd3799391822 Linux 4.4.104
bd249dd07827 nfsd: Fix another OPEN stateid race
54298082dbac nfsd: Fix stateid races between OPEN and CLOSE
d7f5f10f5159 nfsd: Make init_open_stateid() a bit more whole
68e6cd9a0547 drm/i915: Prevent zero length "index" write
e6bcff7b6aa1 drm/i915: Don't try indexed reads to alternate slave addresses
a61474fa8749 NFS: revalidate "." etc correctly on "open".
c8ea49b690ee mtd: nand: Fix writing mtdoops to nand flash.
a155a9568d9a drm/panel: simple: Add missing panel_simple_unprepare() calls
c7716f65721a drm/radeon: fix atombios on big endian
4d027a8bcc7f Revert "drm/radeon: dont switch vt on suspend"
5a7391b6d898 bcache: Fix building error on MIPS
6b4901e0e349 eeprom: at24: check at24_read/write arguments
5c65b739389f mmc: core: Do not leave the block driver in a suspended state
a6493ad6fc89 KVM: x86: inject exceptions produced by x86_decode_insn
1e9e6bdccb80 KVM: x86: Exit to user-mode on #UD intercept when emulator requires
ab29b6b818aa KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
591ddc92d756 btrfs: clear space cache inode generation always
0d05a5593f63 mm/madvise.c: fix madvise() infinite loop under special circumstances
2b7ef6bdd286 mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
f97fc9ab1ce2 x86/efi-bgrt: Replace early_memremap() with memremap()
e85c6907b2b4 x86/efi-bgrt: Fix kernel panic when mapping BGRT data
44ff3af83ee1 ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio
36e0f05afd4e x86/efi: Build our own page table structures
b73adb608520 x86/efi: Hoist page table switching code into efi_call_virt()
87e2bd898d3a x86/mm/pat: Ensure cpa->pfn only contains page frame numbers
b377c453b363 ipsec: Fix aborted xfrm policy dump crash
27248d2fa77f netlink: add a start callback for starting a netlink dump
08c15ad2e627 Linux 4.4.103
3d7214a338d7 Revert "sctp: do not peel off an assoc from one netns to another one"
c73eb1e0cc56 xen: xenbus driver must not accept invalid transaction ids
eedd29f51078 s390/kbuild: enable modversions for symbols exported from asm
681b2239862d ASoC: wm_adsp: Don't overrun firmware file buffer when reading region data
b63209c78f9e btrfs: return the actual error value from from btrfs_uuid_tree_iterate
e88f3fb0e340 ASoC: rsnd: don't double free kctrl
47b99a3306d0 netfilter: nf_tables: fix oob access
a1e4f6a15103 netfilter: nft_queue: use raw_smp_processor_id()
85f286d6f8cd spi: SPI_FSL_DSPI should depend on HAS_DMA
8537e96e4351 staging: iio: cdc: fix improper return value
266913b390c3 iio: light: fix improper return value
7e927748d4db mac80211: Suppress NEW_PEER_CANDIDATE event if no room
9825826ed7bd mac80211: Remove invalid flag operations in mesh TSF synchronization
f0d8fb74479b drm: Apply range restriction after color adjustment when allocation
31447ebb1a86 ALSA: hda - Apply ALC269_FIXUP_NO_SHUTUP on HDA_FIXUP_ACT_PROBE
7e920566c352 ath10k: set CTS protection VDEV param only if VDEV is up
ef751ca54602 ath10k: fix potential memory leak in ath10k_wmi_tlv_op_pull_fw_stats()
b24769300a00 ath10k: ignore configuring the incorrect board_id
64b22ee723ee ath10k: fix incorrect txpower set by P2P_DEVICE interface
c4cf731af838 drm/armada: Fix compile fail
7f69dc100400 net: 3com: typhoon: typhoon_init_one: fix incorrect return values
609797646f9b net: 3com: typhoon: typhoon_init_one: make return values more specific
d7c3d5333e39 net: Allow IP_MULTICAST_IF to set index to L3 slave
778395506a7f dmaengine: zx: set DMA_CYCLIC cap_mask bit
37a48e6d83f5 PCI: Apply _HPX settings only to relevant devices
57d2ce160310 RDS: RDMA: return appropriate error on rdma map failures
bbb1fc744894 e1000e: Separate signaling for link check/link up
5df4097cfc70 e1000e: Fix return value test
fbb2d8000a8f e1000e: Fix error path in link detection
d6968bc56e44 PM / OPP: Add missing of_node_put(np)
fd3c395d4d46 net/9p: Switch to wait_event_killable()
91bd72dd8c72 fscrypt: lock mutex before checking for bounce page pool
cb1831a83e54 sched/rt: Simplify the IPI based RT balancing logic
5a11b8458b35 media: v4l2-ctrl: Fix flags field on Control events
0870fb4c3566 cx231xx-cards: fix NULL-deref on missing association descriptor
d758f4d8bf20 media: rc: check for integer overflow
878c0f9a7c69 media: Don't do DMA on stack for firmware upload in the AS102 driver
a2943ce580f5 powerpc/signal: Properly handle return value from uprobe_deny_signal()
937a91cd3992 parisc: Fix validity check of pointer size argument in new CAS implementation
aef7cdb6a6ff ixgbe: Fix skb list corruption on Power systems
bb923a81c33e fm10k: Use smp_rmb rather than read_barrier_depends
b4ca98b7a803 i40evf: Use smp_rmb rather than read_barrier_depends
a8e699dfca04 ixgbevf: Use smp_rmb rather than read_barrier_depends
2f7de4d5f525 igbvf: Use smp_rmb rather than read_barrier_depends
391cdaaaa9d9 igb: Use smp_rmb rather than read_barrier_depends
146d53371385 i40e: Use smp_rmb rather than read_barrier_depends
76c389ca1331 NFC: fix device-allocation error return
ecc5e8914766 IB/srp: Avoid that a cable pull can trigger a kernel crash
3e32b40435b9 IB/srpt: Do not accept invalid initiator port names
54a8d930b93f libnvdimm, namespace: make 'resource' attribute only readable by root
4dae2f771fa7 libnvdimm, namespace: fix label initialization to use valid seq numbers
037646313522 clk: ti: dra7-atl-clock: fix child-node lookups
eca460c485f9 clk: ti: dra7-atl-clock: Fix of_node reference counting
36d2f19430e2 SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status
a694b1f85aea KVM: SVM: obey guest PAT
8293dc75de47 KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
4e426ed57cd2 target: Fix QUEUE_FULL + SCSI task attribute handling
63bfc4c90a87 iscsi-target: Fix non-immediate TMR reference leak
8709c5386109 fs/9p: Compare qid.path in v9fs_test_inode
1b11593eb742 fix a page leak in vhost_scsi_iov_to_sgl() error recovery
509ab500a240 ALSA: hda/realtek - Fix ALC700 family no sound issue
ef6745531648 ALSA: timer: Remove kernel warning at compat ioctl error paths
3532750d20f5 ALSA: usb-audio: Add sanity checks in v2 clock parsers
0b6cede2e455 ALSA: usb-audio: Fix potential out-of-bound access at parsing SU
d1316b9d83de ALSA: usb-audio: Add sanity checks to FE parser
b71cf750ddd3 ALSA: pcm: update tstamp only if audio_tstamp changed
db12d9b5a181 ext4: fix interaction between i_size, fallocate, and delalloc after a crash
189bc689547a ata: fixes kernel crash while tracing ata_eh_link_autopsy event
f1be21021099 rtlwifi: fix uninitialized rtlhal->last_suspend_sec time
3c260c60d20c rtlwifi: rtl8192ee: Fix memory leak when loading firmware
a8b8ab79ca4f nfsd: deal with revoked delegations appropriately
2a2d4b41472c nfs: Fix ugly referral attributes
ab33df42eb3c NFS: Fix typo in nomigration mount option
4e23be616976 isofs: fix timestamps beyond 2027
85c79043808d bcache: check ca->alloc_thread initialized before wake up it
9c093a258350 eCryptfs: use after free in ecryptfs_release_messaging()
7d7b05e4ffd5 nilfs2: fix race condition that causes file system corruption
9a4e08c634ce autofs: don't fail mount for transient error
153142963ca1 MIPS: BCM47XX: Fix LED inversion for WRT54GSv1
00fd53bc378f MIPS: Fix an n32 core file generation regset support regression
4e82464aa4a3 dm: fix race between dm_get_from_kobject() and __dm_destroy()
36c4819abc92 dm bufio: fix integer overflow when limiting maximum cache size
a9f066404fd0 ALSA: hda: Add Raven PCI ID
0c1faf9df0c8 MIPS: ralink: Fix typo in mt7628 pinmux function
84c785ed786a MIPS: ralink: Fix MT7628 pinmux
36a082ce590f ARM: 8721/1: mm: dump: check hardware RO bit for LPAE
5f8046f7c9e3 ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE
29c4b6b4f46d x86/decoder: Add new TEST instruction pattern
4fdb1637b208 lib/mpi: call cond_resched() from mpi_powm() loop
8ff3471878f3 sched: Make resched_cpu() unconditional
3223ea129170 vsock: use new wait API for vsock_stream_sendmsg()
df24d6c22460 AF_VSOCK: Shrink the area influenced by prepare_to_wait
2417da3f4d6b ipv6: only call ip6_route_dev_notify() once for NETDEV_UNREGISTER
5c2607d3e7cd s390/disassembler: increase show_code buffer size
4337fa2425f6 s390/disassembler: add missing end marker for e7 table
04bc7a273264 s390/runtime instrumention: fix possible memory corruption
7ddbe701076d s390: fix transactional execution control register handling
29ffb9c1fb4a Linux 4.4.102
0208fabf7256 mm, hwpoison: fixup "mm: check the return value of lookup_page_ext for all call sites"
5baf0fb260fc Linux 4.4.101
a3805b10de80 mm/pagewalk.c: report holes in hugetlb ranges
3630b2801907 mm/page_ext.c: check if page_ext is not prepared
e34e744f70a6 mm: check the return value of lookup_page_ext for all call sites
7b7a1c39e839 coda: fix 'kernel memory exposure attempt' in fsync
c1b3703b643f mm/page_alloc.c: broken deferred calculation
4ecf752738ac ipmi: fix unsigned long underflow
c4baa4a5870c ocfs2: should wait dio before inode lock in ocfs2_setattr()
8c325770546a nvme: Fix memory order on async queue deletion
4310b6bfa8e0 arm64: fix dump_instr when PAN and UAO are in use
1df403abfa9e serial: omap: Fix EFR write on RTS deassertion
a9100b6f1a8a ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
51b8aea7abde net/sctp: Always set scope_id in sctp_inet6_skb_msgname
ae93cefb9430 fealnx: Fix building error on MIPS
2a0e60907e54 sctp: do not peel off an assoc from one netns to another one
4cfc0b41af03 af_netlink: ensure that NLMSG_DONE never fails in dumps
ef206ea779a9 vlan: fix a use-after-free in vlan_device_event()
3bb6245e14ea bonding: discard lowest hash bit for 802.3ad layer3+4
001e9cbe1dae netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
0c1282c7f046 tcp: do not mangle skb->cb[] in tcp_make_synack()
26d6298789e6 Linux 4.4.100
f119ff8e5b6b USB: serial: garmin_gps: fix memory leak on probe errors
8b36209e93df USB: serial: garmin_gps: fix I/O after failed probe and remove
5cd938508c81 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
302dd596822a USB: Add delay-init quirk for Corsair K70 LUX keyboards
965003b311e0 USB: usbfs: compute urb->actual_length for isochronous
834a5d880a54 uapi: fix linux/rds.h userspace compilation errors
16e7973f8e47 uapi: fix linux/rds.h userspace compilation error
f5e303d54ac2 Revert "uapi: fix linux/rds.h userspace compilation errors"
d9c8d4adb5a7 Revert "crypto: xts - Add ECB dependency"
d2d72c0ee4c9 MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds
9a8ef143951f MIPS: init: Ensure reserved memory regions are not added to bootmem
034347aca034 MIPS: init: Ensure bootmem does not corrupt reserved memory
a904ebe92a05 mm: add PHYS_PFN, use it in __phys_to_pfn()
7f5eb098ef95 MIPS: End asm function prologue macros with .insn
b15877443a93 staging: rtl8712: fixed little endian problem
ade72053f452 ixgbe: do not disable FEC from the driver
b6e7fb0be1e5 ixgbe: add mask for 64 RSS queues
12ec51aaafe3 ixgbe: Reduce I2C retry count on X550 devices
9d51db4caff9 ixgbe: handle close/suspend race with netif_device_detach/present
f12976ce82cd ixgbe: fix AER error handling
865fe71c0a06 arm64: dts: NS2: reserve memory for Nitro firmware
e2d12bdaed6b ALSA: hda/realtek - Add new codec ID ALC299
b1e8e6d4c065 gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap
3e899991b99e backlight: adp5520: Fix error handling in adp5520_bl_probe()
d6f21ea25118 backlight: lcd: Fix race condition during register
fe21a3d68819 ALSA: vx: Fix possible transfer overflow
3b985d39ed4f ALSA: vx: Don't try to update capture stream before running
51abb2a73f16 scsi: lpfc: Clear the VendorVersion in the PLOGI/PLOGI ACC payload
8d8723c8c187 scsi: lpfc: Correct issue leading to oops during link reset
44eb947094c4 scsi: lpfc: Correct host name in symbolic_name field
a7e7d319cc96 scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort
18477baf599e scsi: lpfc: Add missing memory barrier
fdc1e9d553e1 staging: rtl8188eu: fix incorrect ERROR tags from logs
0c098158785b scsi: ufs: add capability to keep auto bkops always enabled
469e75ddff14 scsi: ufs-qcom: Fix module autoload
bb848b61967f igb: Fix hw_dbg logging in igb_update_flash_i210
ba83011a470c igb: close/suspend race in netif_device_detach
559a20802838 igb: reset the PHY before reading the PHY ID
7878dca7ca24 drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache
b9ea0af4793b ata: SATA_MV should depend on HAS_DMA
11cb9dedb2e6 ata: SATA_HIGHBANK should depend on HAS_DMA
2066882df749 ata: ATA_BMDMA should depend on HAS_DMA
4fd669feacd3 ARM: dts: Fix omap3 off mode pull defines
955840ea5035 ARM: OMAP2+: Fix init for multiple quirks for the same SoC
4a23041fa533 ARM: dts: Fix am335x and dm814x scm syscon to probe children
84a97ea8b7b1 ARM: dts: Fix compatible for ti81xx uarts for 8250
62641014202e fm10k: request reset when mbx->state changes
2bb04f1ff63d extcon: palmas: Check the parent instance to prevent the NULL
8d9142ff444e dmaengine: dmatest: warn user when dma test times out
ec4f8a71c0fc Bluetooth: btusb: fix QCA Rome suspend/resume
977784638f76 arm: crypto: reduce priority of bit-sliced AES cipher
e455048c7ae9 net: qmi_wwan: fix divide by 0 on bad descriptors
caeeef8438c3 net: cdc_ether: fix divide by 0 on bad descriptors
46bdabbca02e sctp: do not peel off an assoc from one netns to another one
11e8e55be18c xen-blkback: don't leak stack data via response ring
49630dd2e10a bpf: don't let ldimm64 leak map addresses on unprivileged
07e3aff243cd KVM: x86: fix singlestepping over syscall
ceb5c560e2e4 ext4: fix data exposure after a crash
0a418e57717d media: dib0700: fix invalid dvb_detach argument
c344019c48a9 media: imon: Fix null-ptr-deref in imon_probe
(From OE-Core rev: 2f34df4052632ea664289059177b9f8b5b7f7a26)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following wilwifi and pci ID backports. These are
bug fixes, enablements and minor updates.
850696176565 mmc: sdhci-pci: Add support for Intel CNP
d7265bddf328 mmc: sdhci-pci: Use macros in pci_ids definition
3a78458e37c1 spi: pxa2xx: Add support for Intel Cannonlake
9de152318ec0 mfd: intel-lpss: Add Intel Cannonlake PCI IDs
533713968b7d i2c: i801: Add support for Intel Cannon Lake
b3a84be8dc44 Bluetooth: Add support for Intel Bluetooth device 9460/9560 [8087:0aaa]
08dea20dfcdd iwlwifi: pcie: fix DMA memory mapping / unmapping
9846e33915f4 iwlwifi: mvm: mark MIC stripped MPDUs
d47d7a5921ec iwlwifi: mvm: enable RX offloading with TKIP and WEP
295c08159f25 iwlwifi: mvm: flush queue before deleting ROC
a49b4d426747 iwlwifi: add new cards for 9260 and 22000 series
49f247c26220 iwlwifi: fix access to prph when transport is stopped
3716aa8c7fb2 iwlwifi: pcie: fix erroneous "Read failed message"
8ea811068131 iwlwifi: mvm: fix packet injection
ce6f582d7790 iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type
789e2b172917 iwlwifi: mvm: don't use transmit queue hang detection when it is not possible
4d697c7f2f30 iwlwifi: mvm: set correct chains in Rx status
14f5ee3d7f2a iwlwifi: fix firmware names for 9000 and A000 series hw
10f670720316 mac80211: add api to start ba session timer expired flow
6975296fb60f timer: Prepare to change timer callback argument type
617d38a55701 iwlwifi: fix PCI IDs and configuration mapping for 9000 series
7768d0301e76 iwlwifi: mvm: support version 7 of the SCAN_REQ_UMAC FW command
d10e7c4752ad iwlwifi: add new cards for a000 series
f93a0bd94f2e iwlwifi: add new cards for 8265 series
fd7fb7407891 iwlwifi: add new cards for 8260 series
155e2cf7cf48 iwlwifi: drop RX frames during hardware restart
a6a61a5c3dc6 iwlwifi: mvm: Convert timers to use timer_setup()
2c55829d53e9 iwlwifi: mvm: hold mutex when flushing in iwl_mvm_flush_no_vif()
c9d9e2dabd5b iwlwifi: mvm: add missing implementation of flush for a000 devices
3793a1ba0652 iwlwifi: mvm: refactor iwl_mvm_flush_no_vif
ef5fe37f634b iwlwifi: fix multi queue notification for a000 devices
76b84cc9a0a7 iwlwifi: Add more call-sites for pcie reg dumper
c76d3e3c5401 iwlwifi: remove host assisted paging
d04bbe0546b1 iwlwifi: remove dead code for internal devices only
f2aa0f94c3ed iwlwifi: mvm: improve latency when there is a reorder timeout
16472c63581e iwlwifi: mvm: rs: remove the ANT C from the toogle antenna logic
b12c3acdedd4 iwlwifi: mvm: reset seq num after restart
b80a2cffd5ae iwlwifi: mvm: cleanup references to aggregation count limit
08fb17fe5d5d iwlwifi: mvm: use RS macro instead of duplicating the code
4ee07409e310 iwlwifi: pcie: remove set but not used variable tcph
a707114d30c7 iwlwifi: pcie: sort IDs for the 9000 series for easier comparisons
5437405de942 iwlwifi: mvm: add missing lq_color
5b9fdea44032 iwlwifi: define minimum valid address for umac_error_event_table in cfg
66130a345dc0 iwlwifi: mvm: move umac_error_event_table validity check to where it's set
02ae1833fe0a iwlwifi: mvm: allow reading UMAC error data from SMEM in A000 devices
92f982fbedea iwlwifi: mvm: pass baid_data to iwl_mvm_release_frames()
f5373043dbf2 iwlwifi: mvm: remove duplicated fields in mvm reorder buffer
46023b1981e8 iwlwifi: mvm: allocate reorder buffer according to need
8b46150fdcba iwlwifi: remove dflt_pwr_limit from the transport
1a0b98c751d9 iwlwifi: mvm: warn on invalid statistics size
fd3b380a9842 iwlwifi: acpi: move code that reads SPLC to acpi
390680e904da iwlwifi: fix indentation in a000 family configuration
eff6a99d6123 iwlwifi: acpi: move function to get mcc into acpi code
2c78cb7d30a5 iwlwifi: acpi: remove a couple of unnecessary ifdefs
913d3ee53285 iwlwifi: acpi: make iwl_get_bios_mcc() use the common acpi functions
99fb9256d5db iwlwifi: acpi: use iwl_acpi_get_wifi_pkg when reading reading SPLC
ebe44b941059 iwlwifi: acpi: generalize iwl_mvm_sar_find_wifi_pkg()
f9975d6cd5cb iwlwifi: acpi: move ACPI-related definitions to acpi.h
c82427d45403 iwlwifi: acpi: move ACPI method definitions to acpi.h
230d7769570e iwlwifi: acpi: add common code to read from ACPI
11fe78e4e712 iwlwifi: mvm: change warning to warn_once()
5bdafa97f8c2 iwlwifi: pcie: dump registers when HW becomes inaccessible
e23f32f76e1b iwlwifi: mvm: add marker cmd response struct.
29921783721e iwlwifi: fw: api: remove excess enum value documentation
7d535c46c8a9 iwlwifi: mvm: don't send identical PHY_CTXT_CMD
271cf21e8e38 iwlwifi: remove redundant reading from NVM file
1f97d139cf89 iwlwifi: pcie: dynamic Tx command queue size
49cd37c4bf52 iwlwifi: Add few debug prints to the WRT dump flow
275329860324 iwlwifi: mvm: support firmware debug trigger on frame reorder timeout
04901364779d iwlwifi: mvm: remove support for Link Quality Measurements
36b34fa8d705 iwlwifi: mvm: Add new quota command API
ebe4543c05ca iwlwifi: add a new a000 device
c18499f54fb6 iwlwifi: fix wrong struct for a000 device
b446945d074c iwlwifi: trans: move ref/unref code to the common part of the transport
0c1dddd47c6e iwlwifi: mvm: add dbgfs entry for fw info
6f04e26ed094 iwlwifi: nvm: set the correct offsets to 3168 series
9cd4e5a40c94 iwlwifi: nvm-parse: unify channel flags printing
81d96355b478 iwlwifi: mvm: return -ENODATA when reading the temperature with the FW down
191792ca6c7b iwlwifi: stop dbgc recording before stopping DMA
55b03bd59426 iwlwifi: mvm: do not print security error in monitor mode
d25afe43ac2b iwlwifi: mvm: fix reorder buffer for 9000 devices
dab206263245 iwlwifi: mvm: set status before calling iwl_mvm_send_cmd_status()
4cd70ffaa6b4 iwlwifi: mvm: initialize status in iwl_mvm_add_int_sta_common()
8b949c472671 iwlwifi: mvm: handle FIF_ALLMULTI when setting multicast addresses
a8789c53df4c iwlwifi: mvm: wake the correct mac80211 queue
e3fc497bcb1f iwlwifi: mvm: change state when queueing agg start work
e64485ba374a iwlwifi: mvm: send all non-bufferable frames on the probe queue
39853a2897ca iwlwifi: mvm: Flush non STA TX queues
a79f9da1c39f iwlwifi: mvm: fix wowlan resume failed to load INIT ucode
030cb8bb462b iwlwifi: mvm: only send LEDS_CMD when the FW supports it
9d5c1397f0ba iwlwifi: mvm: bump API to 34 for 8000 and up
0e4e899155b2 iwlwifi: mvm: Avoid deferring non bufferable frames
bbb1538f4415 iwlwifi: fix long debug print
fba7875cbf2b iwlwifi: pcie: move rx workqueue initialization to iwl_trans_pcie_alloc()
cbe2772aa5ac iwlwifi: use big-endian for the hw section of the nvm
5a9ed1a9e7a1 iwlwifi: mvm: remove useless check for mvm->cfg in iwl_parse_nvm_section()
5dce0bb2c1e4 iwlwifi: mvm: remove useless argument in iwl_nvm_init()
44a34b9133f6 iwlwifi: fw: fix lar_enabled endian problem in iwl_fw_get_nvm
6ed7a437ada4 iwlwifi: add workaround to disable wide channels in 5GHz
9fdf34b63469 iwlwifi: mvm: change open and close criteria of a BA session
00fee168712f iwlwifi: update channel flags parser
51fe7153860f iwlwifi: distinguish different RF modules in A000 devices
04b2b5fe60ec iwlwifi: mvm: Fix channel switch in case of count <= 1
12cb62ad92f1 iwlwifi: Demote messages about fw flags size to info
ec7db94d2ac8 iwlwifi: move BT_MBOX_PRINT macro to common header
9096228d343c iwlwifi: mvm: don't send BAR on flushed frames
0200459abfe5 iwlwifi: mvm: remove session protection to allow channel switch
4ed04628ce99 iwlwifi: mvm: update the firmware API in TX
a9c710c755bd iwlwifi: mvm: use mvmsta consistently in rs.c
db9f3872c6fa iwlwifi: mvm: group all dummy SAR function declarations together
e59229f94610 iwlwifi: mvm: add command name for FRAME_RELEASE
52c144d07be9 iwlwifi: pcie: support short Tx queues for A000 device family
9768c491c7d2 iwlwifi: mvm: support new Coex firmware API
899413b64660 iwlwifi: call iwl_remove_notification from iwl_wait_notification
1e627b700dbb iwlwifi: mvm: consider RFKILL during INIT as success
c9ef6cbdc1b9 iwlwifi: mvm: remove the corunning support
6e83c9cbc23f iwlwifi: mvm: fix the coex firmware API
537da96de818 iwlwifi: pcie: free the TSO page when a Tx queue is unmapped on A000 devices
5fcd36459941 iwlwifi: remove references to unsupported HW
b73ab3bf441b iwlwifi: fix nmi triggering from host
c0594a59199d iwlwifi: pcie: don't init a Tx queue with an SSN > size of the queue
0d23bd8c8cbf iwlwifi: mvm: add station before allocating a queue
bd8e6c146cc2 iwlwifi: mvm: don't send CTDP commands via debugfs if not supported
2f36c927e0b6 iwlwifi: mvm: support new beacon template command
55ed6e274d45 iwlwifi: mvm: send delba upon rx ba session timeout
f9cc252d82fc iwlwifi: mvm: set the default cTDP budget
1d41aa6b2727 iwlwifi: mvm: move a000 device NVM retrieval to a common place
e7b6180a4e80 iwlwifi: dump smem configuration when firmware crashes
30d9d2f6ec84 iwlwifi: fix a000 RF_ID define
064eaeb94cdd iwlwifi: add support of FPGA fw
4d58ad2d7dd4 iwlwifi: fix a few instances of misaligned kerneldoc parameters
a854f76ba000 iwlwifi: change functions that can only return 0 to void
583ab36a2c38 iwlwifi: mvm: add debugfs to force CT-kill
59f3b92bc9d5 iwlwifi: mvm: add const to thermal_cooling_device_ops structure
6065eab05454 iwlwifi: mvm: use firmware LED command where applicable
bdd1f8e6cd04 iwlwifi: mvm: remove useless condition in LED code
8690797a9a10 iwlwifi: mvm: don't WARN when a legit race happens in A-MPDU
bfa6caa712e9 iwlwifi: mvm: start mac queues when deferred tx frames are purged
b8055bcadf7c iwlwifi: mvm: Fix a memory leak in an error handling path in 'iwl_mvm_sar_get_wgds_table()'
446ea78b678c iwlwifi: mvm: don't retake the pointer to skb's CB
f8fecb61f48f iwlwifi: mvm: remove non-DQA mode
2afb27a925ce iwlwifi: mvm: rename p2p-specific sta functions to include p2p in the names
6c1a64e3ef75 iwlwifi: mvm: simplify bufferable MMPDU check
37d2db886acb iwlwifi: mvm: require AP_LINK_PS for TVQM
cc0f8aa5bd8c iwlwifi: pcie: rename iwl_trans_check_hw_rf_kill() to pcie
d680a553246e iwlwifi: mvm: add compile-time option to disable EBS
eb39ff9703cb iwlwifi: implement fseq version mismatch warning
248737b38907 iwlwifi: mvm: support fw reading empty OTP
4c521e875d7a iwlwifi: pcie: fix A-MSDU on gen2 devices
cae215d55c66 iwlwifi: mvm: fix uninitialized var while waiting for queues to empty
3c7d7c6a8dbd iwlwifi: mvm: fix the FIFO numbers in A000 devices
e9ac52a93832 iwlwifi: mvm: refactor beacon template command code
585dde6c1b9b iwlwifi: dvm: remove unused defines
7eec01ad4c9e iwlwifi: mvm: byte-swap constant instead of variable
099c0a80ad9f iwlwifi: mvm: check family instead of new TX API for workarounds
2e44edff43bb iwlwifi: mvm: add and use iwl_mvm_has_unified_ucode()
571909b0fc2f iwlwifi: fw api: fix various kernel-doc warnings
231a0f260c9f iwlwifi: reorganize firmware API
45a9716e520c iwlwifi: refactor firmware debug code
6bc25ab6637f iwlwifi: track current firmware image in common code
2e8f9d07d433 iwlwifi: refactor shared mem parsing
e99db11387dd iwlwifi: refactor out paging code
87e461c198f2 iwlwifi: add the new 9000 series PCI IDs
ccd7ba236f4c iwlwifi: mvm: set the RTS_MIMO_PROT bit in flag mask when sending sta to fw
117a3d6f9f1d iwlwifi: fix fw_pre_next_step to apply also for C step
2176967bd330 iwlwifi: mvm: rs: fix TLC statistics collection
7e12ee6aadfd iwlwifi: mvm: set A-MPDU bit upon empty BA notification from FW
a52eff0e4979 iwlwifi: split the regulatory rules when the bandwidth flags require it
3a5a68e76e90 iwlwifi: add TLV for MLME offload firmware capability
a33aab491b28 iwlwifi: mvm: fix TCP CSUM offload with WEP and A000 series
4aaa3afd80b2 iwlwifi: mvm: defer setting IWL_MVM_STATUS_IN_HW_RESTART
824bd3878358 iwlwifi: mvm: handle IBSS probe_queue in a few missing places
cfa94cd7b0eb iwlwifi: fix tracing when tx only is enabled
2137706c9531 iwlwifi: missing error code in iwl_trans_pcie_alloc()
7f6264621aa1 iwlwifi: mvm: fix a NULL pointer dereference of error in recovery
f20a2719d785 iwlwifi: pcie: fix unused txq NULL pointer dereference
9e14453045b2 iwlwifi: bump MAX API for 8000/9000/A000 to 33
b177ff5b4d37 iwlwifi: pcie: wait longer after device reset
1a57bfb1ca30 iwlwifi: pcie: propagate iwl_pcie_apm_init's status
5d80ae738313 iwlwifi: mvm: quietly accept non-sta disassoc frames
4413e18698bd iwlwifi: mvm: update rx statistics cmd api
8a1e4d649107 iwlwifi: mvm: remove DQA non-STA client mode special case
ba3b437ac257 iwlwifi: mvm: don't mess the SNAP header in TSO for non-QoS packets
6a8a1d8ff04f iwlwifi: pcie: reconfigure MSI-X HW on resume
370b3f671b84 iwlwifi: mvm: don't send fetch the TID from a non-QoS packet in TSO
dd9d9e230b3b iwlwifi: mvm: fix mac80211's hw_queue in DQA mode
67f0a8051df7 iwlwifi: mvm: map cab_queue to real one earlier
279ca413640e iwlwifi: mvm: fix mac80211 queue tracking
ac34301b93d9 iwlwifi: mvm: properly enable IP header checksumming
b7e49fba6de4 iwlwifi: pcie: add MSI-X interrupt tracing
073e3ae0697d iwlwifi: mvm: quietly accept non-sta assoc response frames
000225c8540e iwlwifi: mvm: remove version 2 of paging command
01adad1afb4b iwlwifi: move configuration into sub-directory
1c945c0a2365 iwlwifi: move notification wait into fw/
707cab759b03 iwlwifi: create new subdirectory for FW interaction
11498c406c1d iwlwifi: mvm: rename iwl_shared_mem_cfg_v1 to the correct _v2
36d920ab8301 iwlwifi: mvm: fix deduplication start logic
f639f74a16db iwlwifi: mvm: unconditionally stop device after init
6d351ad19e9e iwlwifi: pcie: warn if paging is already initialized during init
f440538d499e iwlwifi: pcie: make ctxt-info free idempotent
b6d799e30c37 iwlwifi: unify external & internal modparam names
da2431c19209 iwlwifi: mvm: support multi tid ba notif
9ef205fbc7f6 iwlwifi: mvm: change when the BT_COEX is sent
ffeceb4d747d iwlwifi: pcie: improve debug in iwl_pcie_rx_handle_rb()
03eb5a5191b5 iwlwifi: mvm: support aggs of 64 frames in A000 family
2385536aa6aa iwlwifi: pcie: improve "invalid queue" warning
15a398ef172d iwlwifi: mvm: use proper CDB check in PHY context modify
864be96cece8 iwlwifi: add twelve new 9560 series PCI IDs
ec6054472dfb iwlwifi: add the new a000_2ax series
968a39b62c95 iwlwifi: mvm: simplify CHECK_MLME_TRIGGER macro
df311987c49c iwlwifi: mvm: change sta_id to u8
883fb2c8e201 iwlwifi: pcie: fix 9000-series RF-kill interrupt propagation
91acf229d6cd iwlwifi: pcie: only apply retention workaround on 9000-series A-step
09a2f42e69fb iwlwifi: dvm: use macros for format strings
7ca1a7dd8f3e iwlwifi: mvm: fix a bunch of kernel-doc warnings
b458b063bc76 iwlwifi: mvm: add documentation for all command IDs
d1790ece9b75 iwlwifi: mvm: use __le16 even for reserved fields
046c12a1dc80 iwlwifi: mvm: remove various unused command IDs/structs
2848902362f0 iwlwifi: mvm: fix various "Excess ... description" kernel-doc warnings
623a8552fda4 iwlwifi: mvm: remove some CamelCase from firmware API
e3b3b727c40d iwlwifi: mvm: Add debugfs entry to retrieve SAR geographic profile
fdc992fb8d18 iwlwifi: mvm: refactor geo init
c5a3a5eefbea iwlwifi: mvm: support TX on MONITOR iface
dc57bda29216 iwlwifi: pcie: work around suspend/resume issue
0ae7c6c46fd8 iwlwifi: mvm: fix typo in CTDP_CMD_OPERATION_REPORT description
c7434aa46639 iwlwifi: pcie: delete the Tx queue timer earlier upon firmware crash
958f6310f57a iwlwifi: pcie: reduce unwanted noise in the logs
47b740d6fdad iwlwifi: mvm: print base HW address during init
576b5f6d20aa iwlwifi: mvm: document assoc_beacon_arrive_time
0f5456ddc9e1 iwlwifi: mvm: reset the fw_dump_desc pointer after ASSERT
143b28afd061 iwlwifi: mvm: set assoc_beacon_arrive_time
277925710d13 iwlwifi: pcie: make iwl_pcie_apm_stop_master() return void
2c60b669ee2f iwlwifi: add a W/A for a scheduler hardware bug
ea2c2d55b740 iwlwifi: mvm: don't mark TIDs that are not idle wrt BA as inactive
6334bb289021 iwlwifi: mvm: reset the HW before dumping if HW error is detected
47cc9c8ef1e2 iwlwifi: pcie: don't disable bh when handling FW errors
c7507a1c27da iwlwifi: mvm: fix nvm_data leak
997a0c1940c0 iwlwifi: remove useless iwl_free_nvm_data() function
85ffc85a8631 iwlwifi: document transmit buffer bits better
b354e56f9170 iwlwifi: mvm: add documentation for enum iwl_debug_cmds
862b5ca77cb7 iwlwifi: mvm: disentangle union in TX status struct
62bcece33632 iwlwifi: mvm: fix fw monitor 7000 HW recollecting
779d40dcefef iwlwifi: mvm: docs: fix enum link, provide TX response link
07654dd35785 iwlwifi: pcie: fix command completion name debug
fe6742b239a5 iwlwifi: fix TX tracing for non-linear SKBs
b45290710c5f iwlwifi: simplify data tracepoint
30c0d59cb96e iwlwifi: mvm: better link scan notification results length
2af91c751cb1 iwlwifi: pcie: use kstrtou32_from_user()
476da255e452 iwlwifi: mvm: support aggregations on A000 HW
9589a1e03918 iwlwifi: mvm: document status bits
ba68df149d76 iwlwifi: pcie: remove pointless debugfs parsing for csr file
69cb66f56e31 iwlwifi: pcie: don't report RF-kill enabled while shutting down
95cf3d6024f3 iwlwifi: mvm: don't warn in queue sync on RF-kill
f29197139bd5 iwlwifi: pcie: add fake RF-kill to debugfs
9d66c60c017c iwlwifi: pcie: pull out common rfkill IRQ handling code
ecc56c4e3f8a iwlwifi: mvm: rs: add logs for the wrong antenna case
9fa7ff152d17 iwlwifi: mvm: make iwl_mvm_update_mcc() easier to follow
5873c905dd46 iwlwifi: mvm: change the firmware name loading
f48b4417b6bb iwlwifi: mvm: support D0I3_END_CMD at the start of resume
db5d313c1366 iwlwifi: mvm: make D0I3_END_CMD sync during system resume
cef60bd42b53 iwlwifi: mvm: track and report IBSS manager status to mac80211
c9592bc2295b iwlwifi: use bitfield.h for some registers
a981c4683faa iwlwifi: mvm: use scnprintf() instead of snprintf()
94da2d3b1962 iwlwifi: pcie: fix TVQM queue ID range check
ffc4fbe862d0 iwlwifi: mvm: remove pointless num_stored condition
fffa02450281 iwlwifi: mvm: avoid unnecessary cache trashing in Tx path
ef694dd2c96a iwlwifi: mvm: Enable security on new TX API
8628d427548a iwlwifi: mvm: disable dbg data collect when fw isn't alive
29e776b74ca4 iwlwifi: remove resp_pkt NULL checks
b697ec7ebaa3 iwlwifi: mvm: remove txq EMPTYING_DELBA state for DQA
c1c666e4b9e1 iwlwifi: remove unnecessary code in iwl_trans_alloc_tx_cmd
aac2dec2caa9 iwlwifi: fw-api: cleanup cycle includes
6d409c70b759 iwlwifi: mvm: remove SCAN_GROUP
57cba4f2c3bb iwlwifi: mvm: link to TX commands in documentation
2792b27534b3 iwlwifi: mvm: document structures used for BEACON_TEMPLATE_CMD
7bafd04ebb12 iwlwifi: mvm: link queue cmd docs to A000 command structs
c99a3509d9a9 iwlwifi: split firmware API from iwl-trans.h
4180802e550f iwlwifi: fix a kernel-doc tag
fee5c3ea3ccc iwlwifi: mvm: clear firmware running bit earlier
1a6cb6ae5305 iwlwifi: mvm: convert ucode_loaded to a status bit
28abcc34d47f iwlwifi: mvm: use schedule_delayed_work()
2b8c8c6a247c iwlwifi: mvm: check firmware is up in debugfs
f2a41abb9acc iwlwifi: mvm: disable prph collection in a000 hw
8945686f242b iwlwifi: pcie: support dumping FH in a000 hw
e8e293176ae2 iwlwifi: add 9000 and A000 device families
3610276b8a6c iwlwifi: mvm: support init flow debugging
ca41111b2b1c iwlwifi: mvm: add TLV for NAN API differentiation
afbea5518455 iwlwifi: add dbgc_supported to transport configuration
acdc73097588 iwlwifi: remove references to 8000 B-step devices
595bbac1c406 iwlwifi: cleanup references to 8000 family in NVM code
11faed6da368 iwlwifi: pcie: add AMSDU to gen2
fcdca8ea1328 iwlwifi: mvm: document RX structures
767327919d86 iwlwifi: mvm: add AMSDU flag to offload assist
f322fb5df757 iwlwifi: mvm: fix many kernel-doc warnings
50cc8892d845 iwlwifi: mvm: remove unused REPLY_MAX
484994be6f9c iwlwifi: kernel-doc: make proper links
118480297594 iwlwifi: mvm: remove unused TX_CMD_NEXT_FRAME_*
d51079922e78 iwlwifi: Add fw_name_pre_rf_next_step to support different rf steps
75ae58fb9f09 iwlwifi: pcie: support page dumping in wrt in gen2
1257922aa9ba iwlwifi: mvm: remove wrt support of page dumps in gen2
dd16d8dd7ffa iwlwifi: mvm: document structures used by commands
c1707f389f38 iwlwifi: mvm: create/name various enums
f7284177ca6b iwlwifi: mvm: disentangle binding command versions
2e2a50a2385b iwlwifi: update device ID for a000 family
1a2dfbdfc6a6 iwlwifi: mvm: add documentation links to various fields
af89f3bcefe0 iwlwifi: mvm: fix some kernel-doc
dd9e1bc0ab78 iwlwifi: mvm: add documentation to some WoWLAN commands
f3a49c387b0c iwlwifi: mvm: disentangle paging command structs
99663cdb5f32 iwlwifi: mvm: use u8 for reserved fields
889c4a104258 iwlwifi: mvm: fix MCC endianness bug
a391ff99187a iwlwifi: mvm: use proper sta_addr in firmware API
27b6fcbdb9dd iwlwifi: mvm: document which group enums are used with which group ID
6eb27e533f68 iwlwifi: mvm: fix endianness in lq_cmd declaration
0fbd3eb814df iwlwifi: mvm: support old method of NVM parsing
dc5fc94c7ad3 iwlwifi: mvm: support getting nvm data from firmware
(From OE-Core rev: 4d4dd482478f7292e97e685a702b8180bade124a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 7e98c295c1bb511e [kernel-yocto: ensure that only a single
defconfig is processed] has an overly broad replacement strategy
for 'defconfig' and hence will chop up any fragment name that
happens to contain that string.
If we change the processing to split on whitespace and drop
any full work 'defconfig' fragments, we'll get the behaviour
we want (no duplicate defconfigs, but fragments with defconfig
in their name are fine).
[YOCTO #12487]
(From OE-Core rev: fd2678190db6575dc909104b60c284d0c41f605f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following bug fixes (mainline backports):
d572780c455f Mips kernel warining:resolve some warning when compiling arch/mips/math-emu/cp1emu.c
f79ac7203257 drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()
(From OE-Core rev: f8b00a49bc6e57aafbfc48ee76d392f4003c5bf7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following backports to enable graphics and audito for
the coffeelake-s board:
e0256c639caf ALSA: hda/realtek - Fix ALC700 family no sound issue
a3bd263fa5f3 ALSA: hda - Add model string for Intel reference board quirk
c12ee7fbc382 ALSA: hda/realtek - Enable jack detection function for Intel ALC700
ff8d2c896572 ALSA: hda: Add Cannonlake PCI ID
88ee594b72e6 ALSA: hda - Fix unbalance of i915 module refcount
c7d38955ce7f ALSA: hda - Fix doubly initialization of i915 component
5ca2b95b131f ALSA: hda - Bind with i915 component before codec binding
648c24f8d385 ALSA: hda - Add AZX_DRIVER_SKL for simplification
f406fd3d0c63 drm/i915/cnl: Implement CNL display init/unit sequence
1e07bbf553c0 drm/i915/cnl: Implement .set_cdclk() for CNL
901336fddca0 drm/i915/cnl: Implement .get_display_clock_speed() for CNL
be7a1f129e42 drm/i915/cfl: Coffee Lake reuses Kabylake DMC.
ee6ac7be14c3 drm/i915/huc: Load HuC on Coffee Lake
35a913347462 drm/i915/guc: Load GuC on Coffee Lake
443e68bbbe46 drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.
0ef98275c834 drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku.
594a1d673403 drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.
8732a393ce1e drm/i915/cfl: Introduce Display workarounds for Coffee Lake.
676a4c1b92ab drm/i915/cfl: Coffee Lake uses CNP PCH.
f5eb462f524f drm/i915/cfl: Introduce Coffee Lake platform definition.
8a3a080c7028 drm/i915/cnl: Also need power well sanitize.
b5620b75db38 drm/i915/cnl: Add power wells for CNL
b747f1806205 drm/i915/cnl: Cannonlake has same MOCS table than Skylake.
fc8aee64eaeb drm/i915/cnl: Configure EU slice power gating.
a9b5e8f00440 drm/i915/cnl: Cannonlake has 4 planes (3 sprites) per pipe
03a55f9a6082 drm/i915/cnl: add IS_CNL_REVID macro
7236995c6b04 drm/i915/cnl: Add Cannonlake PCI IDs for Y-skus.
b2f7e93bcb56 drm/i915/cnl: Add Cannonlake PCI IDs for U-skus.
30c5a76e52a6 drm/i915/cnl: Cannonlake uses CNP PCH.
27bb6860ebf1 drm/i915/cnl: Introduce Cannonlake platform defition.
b4d4cf3529e0 drm/i915/cnp: Panel Power sequence changes for CNP PCH.
ee2e2af1cf34 drm/i915/cnp: add CNP gmbus support
35964d298c7d drm/i915/cnp: Backlight support for CNP.
ccfab7d5ae88 drm/i915/cnp: Get/set proper Raw clock frequency on CNP.
abdbbc6157d7 drm/i915/cnp: Add PCI ID for Cannonpoint LP PCH
87482dfba004 drm/i915/cnp: Introduce Cannonpoint PCH.
(From OE-Core rev: a316b06f4eba9f9996e5f6a7cf122e9cafd31710)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following fixes to CQM and rdt:
6039d7e04ee9 x86/intel_rdt: Turn off most RDT features on Skylake
bda0ec91ba67 x86/intel_rdt: Add command line options for resource director technology
a3c30e14a0c6 x86/intel_rdt: Move special case code for Haswell to a quirk function
8b85cfaa3e71 perf tests: Remove Intel CQM perf test
c52eafb271db x86/intel_rdt: Remove redundant assignment
59eded4485bd x86/intel_rdt/cqm: Make integer rmid_limbo_count static
f353fcc5381a perf test: Add 'struct test *' to the test functions
3ab7007dc138 perf tools: Remove warning()
16373473698d tools: Adopt __printf from kernel sources
1b6df81b0ec0 perf event-parse: Use pr_warning()
49304e0a40bb tools: Adopt __noreturn from kernel sources
404c63ba6ad9 x86/intel_rdt: Fix a silent failure when writing zero value schemata
0ccb572e7d9a x86/intel_rdt: Initialize bitmask of shareable resource if CDP enabled
9e35007e23ea x86/intel_rdt: Add diagnostics when making directories
68cd327250f4 x86/intel_rdt: Add diagnostics when writing the cpus file
d00dfe37ca54 x86/intel_rdt: Add diagnostics when writing the tasks file
63536c68faa4 x86/intel_rdt: Add diagnostics when writing the schemata file
b626cc5e2b2a x86/intel_rdt: Add framework for better RDT UI diagnostics
cf0468526b24 x86/intel_rdt: Remove redundant ternary operator on return
8bba47d15f54 x86/intel_rdt: Modify the intel_pqr_state for better performance
dcddbbf53ff7 x86/intel_rdt/cqm: Clear the default RMID during hotcpu
6d4f2689b04b x86/intel_rdt/cqm: Improve limbo list processing
360834344240 x86/intel_rdt/mbm: Fix MBM overflow handler during CPU hotplug
02a3de9b826d x86/intel_rdt: Show bitmask of shareable resource with other executing units
cb73d2dea025 x86/intel_rdt/mbm: Handle counter overflow
f8886547bdc5 x86/intel_rdt/mbm: Add mbm counter initialization
77d89a70fbea x86/intel_rdt/mbm: Basic counting of MBM events (total and local)
81825b49c811 x86/intel_rdt/cqm: Add CPU hotplug support
e23cf266aac4 x86/intel_rdt/cqm: Add sched_in support
b690bc426fdf x86/intel_rdt: Introduce rdt_enable_key for scheduling
5a810cfc457c x86/intel_rdt/cqm: Add mount,umount support
8ee1a2a746b7 x86/intel_rdt/cqm: Add rmdir support
899eeb375632 x86/intel_rdt: Separate the ctrl bits from rmdir
549388e78852 x86/intel_rdt/cqm: Add mon_data
51d07512e645 x86/intel_rdt: Prepare for RDT monitor data support
41b1dbc8e6d1 x86/intel_rdt/cqm: Add cpus file support
6f2b9b502232 x86/intel_rdt: Prepare to add RDT monitor cpus file support
1cf7f59b18bb x86/intel_rdt/cqm: Add tasks file support
b84af6f5654d x86/intel_rdt: Change closid type from int to u32
0ee69d488d44 x86/intel_rdt/cqm: Add mkdir support for RDT monitoring
58da4f0768cf x86/intel_rdt: Prepare for RDT monitoring mkdir support
ebc3f80d3cdd x86/intel_rdt/cqm: Add info files for RDT monitoring
be500fe614a7 x86/intel_rdt: Simplify info and base file lists
0a60b55c6fdd x86/intel_rdt/cqm: Add RMID (Resource monitoring ID) management
14ddd52ae741 x86/intel_rdt/cqm: Add RDT monitoring initialization
0d2a5b765e74 x86/intel_rdt: Make rdt_resources_all more readable
5ecd779f63d9 x86/intel_rdt: Cleanup namespace to support RDT monitoring
47715abe4ae3 x86/intel_rdt: Mark rdt_root and closid_alloc as static
72c19e0f78e1 x86/intel_rdt: Change file names to accommodate RDT monitor code
1d38ddcfa2b0 x86/intel_rdt: Introduce a common compile option for RDT
7dd744520602 x86/intel_rdt/cqm: Documentation for resctrl based RDT Monitoring
58d3bad357a9 x86/perf/cqm: Wipe out perf based cqm
8f921be6408b perf/x86/intel/cqm: Use cpuhp_setup_state_cpuslocked()
56b2f2883750 perf, bpf: Add BPF support to all perf_event types
(From OE-Core rev: 270bd4ebf0c0c2e3206bea5325c528c99e27aa59)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates that comprise the following
commits:
0cbac004e673 Linux 4.4.99
e8d650563c5f misc: panel: properly restore atomic counter on error path
01000c56cacc target: Fix node_acl demo-mode + uncached dynamic shutdown regression
4063c2093349 target/iscsi: Fix iSCSI task reassignment handling
7ecc076a5d51 brcmfmac: remove setting IBSS mode when stopping AP
d27383faf144 tipc: fix link attribute propagation bug
c8f13916c4c9 security/keys: add CONFIG_KEYS_COMPAT to Kconfig
11fa3353205e tcp/dccp: fix other lockdep splats accessing ireq_opt
6f8048cd59d7 tcp/dccp: fix lockdep splat in inet_csk_route_req()
13eddc67565a tcp/dccp: fix ireq->opt races
b9b0c99a426a ipip: only increase err_count for some certain type icmp in ipip_err
9bae2ffb87d6 ppp: fix race in ppp device destruction
4b5bb7723da1 sctp: reset owner sk for data chunks on out queues when migrating a sock
bcb3b90cf3c8 tun: allow positive return values on dev_get_valid_name() call
5c8a0850bae2 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
93b12f202a4e net/unix: don't show information about sockets from other namespaces
84237c54b239 ipv6: flowlabel: do not leave opt->tot_len with garbage
d552c8c5007a packet: avoid panic in packet_getsockopt()
ef3a12f1dc4a sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
4b27fe34a226 tun: call dev_get_valid_name() before register_netdevice()
196f4755cc82 l2tp: check ps->sock before running pppol2tp_session_ioctl()
71c4a0fc3576 tcp: fix tcp_mtu_probe() vs highest_sack
735818a8b45c tun/tap: sanitize TUNSETSNDBUF input
1e98fd54c356 ALSA: seq: Cancel pending autoload work at unbinding device
b7c625ce6d27 Input: ims-psu - check if CDC union descriptor is sane
de46c1adbea6 usb: usbtest: fix NULL pointer dereference
c93df40f3c73 mac80211: don't compare TKIP TX MIC key in reinstall prevention
cdac2028c901 mac80211: use constant time comparison with keys
6440f0ee8a17 mac80211: accept key reinstall without changing anything
c4e3d53bd9e7 Linux 4.4.98
9c405157269d PKCS#7: fix unitialized boolean 'want'
b01f1d60dd1c x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
4df27e649308 can: c_can: don't indicate triple sampling support for D_CAN
cdb5a2def61c can: sun4i: handle overrun in RX FIFO
493cb19b2522 rbd: use GFP_NOIO for parent stat and data requests
ba4828af60e2 drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
05b690ccb077 Input: elan_i2c - add ELAN060C to the ACPI table
4694272c470a MIPS: AR7: Ensure that serial ports are properly set up
721d4be9e05d MIPS: AR7: Defer registration of GPIO
d0cfebd9b1db tools: firmware: check for distro fallback udev cancel rule
4afaa496d7f3 selftests: firmware: send expected errors to /dev/null
ed1deec127d9 selftests: firmware: add empty string and async tests
c08f3a82f66f test: firmware_class: report errors properly on failure
6004eb4d1adc MIPS: SMP: Fix deadlock & online race
857e81041f69 MIPS: Fix race on setting and getting cpu_online_mask
175c0622ab11 MIPS: SMP: Use a completion event to signal CPU up
207c2143322c MIPS: Fix CM region target definitions
ff8e97326b6a MIPS: microMIPS: Fix incorrect mask in insn_table_MM
1e54b5f72115 ALSA: seq: Avoid invalid lockdep class warning
adc4bacd5164 ALSA: seq: Fix OSS sysex delivery in OSS emulation
4d5b67a54e6d ARM: 8720/1: ensure dump_instr() checks addr_limit
3fc61b8dd6bb KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
48276703a037 crypto: x86/sha1-mb - fix panic due to unaligned access
44540ead8a8a workqueue: Fix NULL pointer dereference
ad8c619750c4 x86/uaccess, sched/preempt: Verify access_ok() context
44e0e2b47af2 platform/x86: hp-wmi: Do not shadow error values
ce93b664540d platform/x86: hp-wmi: Fix error value for hp_wmi_tablet_state
df5371592aca KEYS: trusted: fix writing past end of buffer in trusted_read()
939cafad2f51 KEYS: trusted: sanitize all key material
75f82a703b30 cdc_ncm: Set NTB format again after altsetting switch for Huawei devices
5ffc673161be platform/x86: hp-wmi: Fix detection for dock and tablet mode
f38a3a1c8f1a net: dsa: select NET_SWITCHDEV
581243dc5528 s390/qeth: issue STARTLAN as first IPA command
3652b0b6f2c2 IB/ipoib: Change list_del to list_del_init in the tx object
aa4af0fca101 Input: mpr121 - set missing event capability
0a731928f264 Input: mpr121 - handle multiple bits change of status register
ffa6332b8d80 IPsec: do not ignore crypto err in ah4 input
9ee83b03365a netfilter: nft_meta: deal with PACKET_LOOPBACK in netdev family
cfb2cb34d32e usb: hcd: initialize hcd->flags to 0 when rm hcd
6450c9a96ff3 serial: sh-sci: Fix register offsets for the IRDA serial port
ca2090aa58ba phy: increase size of MII_BUS_ID_SIZE and bus_id
079822da0a00 iio: trigger: free trigger resource correctly
26fa336d69a2 crypto: vmx - disable preemption to enable vsx in aes_ctr.c
30019ca7dc09 ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6
83fe38f2c4a3 powerpc/corenet: explicitly disable the SDHC controller on kmcoge4
158bc64a4dfe iommu/arm-smmu-v3: Clear prior settings when updating STEs
f20065b466d4 KVM: PPC: Book 3S: XICS: correct the real mode ICP rejecting counter
2393241b7a22 drm: drm_minor_register(): Clean up debugfs on failure
4e0d26b22e79 xen/netback: set default upper limit of tx/rx queues to 8
f3170e6607be PCI: mvebu: Handle changes to the bridge windows while enabled
414aa11de923 video: fbdev: pmag-ba-fb: Remove bad `__init' annotation
8a56b1b25e3c adv7604: Initialize drive strength to default when using DT
c54d0707aa09 Linux 4.4.97
2ed81e62b2ab staging: r8712u: Fix Sparse warning in rtl871x_xmit.c
883706dcda17 xen: don't print error message in case of missing Xenstore entry
298455f466cb bt8xx: fix memory leak
4b7a35866b0c s390/dasd: check for device error pointer within state change interrupts
45a012ace954 mei: return error on notification request to a disconnected client
0e97077574c6 exynos4-is: fimc-is: Unmap region obtained by of_iomap()
2d097e5f5c03 staging: lustre: ptlrpc: skip lock if export failed
efa8f1b7a65a staging: lustre: hsm: stack overrun in hai_dump_data_field
2d1d45396585 staging: lustre: llite: don't invoke direct_IO for the EOF case
28a8fc6416ab platform/x86: intel_mid_thermal: Fix module autoload
d1f96c30ce2d scsi: aacraid: Process Error for response I/O
fff544c8cf68 xen/manage: correct return value check on xenbus_scanf()
762d0762b9bb cx231xx: Fix I2C on Internal Master 3 Bus
0806eaf13850 perf tools: Only increase index if perf_evsel__new_idx() succeeds
3b7d9a95ccd3 drm/amdgpu: when dpm disabled, also need to stop/start vce.
dec5fcf11b45 i2c: riic: correctly finish transfers
358008062202 ext4: do not use stripe_width if it is not set
5624ea161040 ext4: fix stripe-unaligned allocations
a76eb0e8655e staging: rtl8712u: Fix endian settings for structs describing network packets
f9776d7ee5f5 mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped
8800aba50292 mfd: ab8500-sysctrl: Handle probe deferral
ed414aeb5291 ARM: pxa: Don't rely on public mmc header to include leds.h
a3e021504fcf mmc: s3cmci: include linux/interrupt.h for tasklet_struct
ba28f16cfa2a PM / wakeirq: report a wakeup_event on dedicated wekup irq
b83c2880b348 Fix tracing sample code warning.
a48fce662380 tracing/samples: Fix creation and deletion of simple_thread_fn creation
ded34f972348 drm/msm: fix an integer overflow test
031b02bc16ae drm/msm: Fix potential buffer overflow issue
6e6eba5ba145 perf tools: Fix build failure on perl script context
fa312b481b2b ocfs2: fstrim: Fix start offset of first cluster group during fstrim
cc7d9933400f ARM: 8715/1: add a private asm/unaligned.h
4e351b8dd8b7 ARM: dts: mvebu: pl310-cache disable double-linefill
581ac5f431c9 arm64: ensure __dump_instr() checks addr_limit
97d64b7f2fdf ASoC: adau17x1: Workaround for noise bug in ADC
618b930317fb KEYS: fix out-of-bounds read during ASN.1 parsing
97c5668c9724 KEYS: return full count in keyring_read() if buffer is too small
d304c9169b38 cifs: check MaxPathNameComponentLength != 0 before using it
8142e9516d5d ALSA: seq: Fix nested rwsem annotation for lockdep splat
70358782743f ALSA: timer: Add missing mutex lock for compat ioctls
27e68f1bca91 Linux 4.4.96
b3d04695be52 Revert "drm: bridge: add DT bindings for TI ths8135"
50044e419e83 ecryptfs: fix dereference of NULL user_key_payload
da0933ceec96 x86/microcode/intel: Disable late loading on model 79
a272dc770f7d regulator: fan53555: fix I2C device ids
120ef1a38f79 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
c1b092102124 can: kvaser_usb: Correct return value in printout
0c3cdb4536d1 can: sun4i: fix loopback mode
62b54cc63a1c scsi: sg: Re-fix off by one in sg_fill_request_table()
6e9abbc96411 scsi: zfcp: fix erp_action use-before-initialize in REC action trace
1cbbd99f3bfe assoc_array: Fix a buggy node-splitting case
2c99438cf66d Input: gtco - fix potential out-of-bound access
31d770a8b887 Input: elan_i2c - add ELAN0611 to the ACPI table
8b396ff8eee7 xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
82e05e935ffd fuse: fix READDIRPLUS skipping an entry
7d74eecca960 spi: uapi: spidev: add missing ioctl header
3505478d6fec usb: xhci: Handle error condition in xhci_stop_device()
da0345d723f0 ceph: unlock dangling spinlock in try_flush_caps()
5f1d33ab4d53 ALSA: hda - fix headset mic problem for Dell machines with alc236
8c812f0335dd ALSA: hda/realtek - Add support for ALC236/ALC3204
fce67b31c7cd workqueue: replace pool->manager_arb mutex with a flag
9b36699635c5 Linux 4.4.95
aa3a0a70bdb8 FS-Cache: fix dereference of NULL user_key_payload
1bb1d4252d1e fscrypto: require write access to mount to set encryption policy
8a004caec12b KEYS: Fix race between updating and finding a negative key
1dda04c761ab fscrypt: fix dereference of NULL user_key_payload
7d9e13d953f2 f2fs crypto: add missing locking for keyring_key access
4db9f1113196 f2fs crypto: replace some BUG_ON()'s with error checks
0f85c0954be4 sched/autogroup: Fix autogroup_move_group() to never skip sched_move_task()
fcc65ab173eb parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
558ca24dc296 parisc: Avoid trashing sr2 and sr3 in LWS code
6f0dee7d9c9b pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
33dea302f9bc KEYS: don't let add_key() update an uninstantiated key
503ef5c070a1 lib/digsig: fix dereference of NULL user_key_payload
2b7e02267d3c KEYS: encrypted: fix dereference of NULL user_key_payload
51ba40fcfd67 rtlwifi: rtl8821ae: Fix connection lost problem
cffdaa65e72f clockevents/drivers/cs5535: Improve resilience to spurious interrupts
b178c94efdfd bus: mbus: fix window size calculation for 4GB windows
260b6739e8b7 brcmsmac: make some local variables 'static const' to reduce stack size
efdcbffb2b16 i2c: ismt: Separate I2C block read from SMBus block read
68c610776cfb ALSA: hda: Remove superfluous '-' added by printk conversion
f9e937124ec2 ALSA: seq: Enable 'use' locking in all configurations
4516069f1b05 drm/nouveau/mmu: flush tlbs before deleting page tables
195674adee57 drm/nouveau/bsp/g92: disable by default
4d56587c28d4 can: esd_usb2: Fix can_dlc value for received RTR, frames
aa629364c0e3 usb: musb: Check for host-mode using is_host_active() on reset interrupt
583a4219841d usb: musb: sunxi: Explicitly release USB PHY on exit
d68b07a19a9e can: gs_usb: fix busy loop if no more TX context is available
f7d8b2e150ee ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
67e25805e748 usb: hub: Allow reset retry for USB2 devices on connect bounce
d012ab210f5f usb: quirks: add quirk for WORLDE MINI MIDI keyboard
d729f29a291f usb: cdc_acm: Add quirk for Elatec TWN3
4512d6503a4d USB: serial: metro-usb: add MS7820 device id
9dff499d8226 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
abe43c97cae2 USB: devio: Revert "USB: devio: Don't corrupt user memory"
af9a9a7bed51 Linux 4.4.94
401231d063c5 Revert "tty: goldfish: Fix a parameter of a call to free_irq"
cdbbea7809ca cpufreq: CPPC: add ACPI_PROCESSOR dependency
c2c6f43e023a nfsd/callback: Cleanup callback cred on shutdown
429a4ac5895d target/iscsi: Fix unsolicited data seq_end_offset calculation
823ba64c5719 uapi: fix linux/mroute6.h userspace compilation errors
028a419869e3 uapi: fix linux/rds.h userspace compilation errors
c7a20ed2951f ceph: clean up unsafe d_parent accesses in build_dentry_path
c128baf6a1bc i2c: at91: ensure state is restored after suspending
d7ecae726698 net: mvpp2: release reference to txq_cpu[] entry after unmapping
693e6513b244 scsi: scsi_dh_emc: return success in clariion_std_inquiry()
9ac38e30f2b0 slub: do not merge cache if slub_debug contains a never-merge flag
315689d2e202 ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock
d3335f5653ec crypto: xts - Add ECB dependency
02744a55ed38 net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs
7bf94b9595cc sparc64: Migrate hvcons irq to panicked cpu
d14591e83b49 md/linear: shutup lockdep warnning
48ca88f93533 f2fs: do not wait for writeback in write_begin
3109615b52ee Btrfs: send, fix failure to rename top level inode due to name collision
4d134d830ea7 iio: adc: xilinx: Fix error handling
5c65ed5c07d7 netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.
743a3ce1e0fd net/mlx4_en: fix overflow in mlx4_en_init_timestamp()
7ed668eeb851 mac80211: fix power saving clients handling in iwlwifi
3e8c1a04d335 mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length
4a464dacc23f irqchip/crossbar: Fix incorrect type of local variables
7e53f0390dbd watchdog: kempld: fix gcc-4.3 build
28eab3db727e locking/lockdep: Add nest_lock integrity test
d44e463c9460 Revert "bsg-lib: don't free job in bsg_prepare_job"
01e3e6315171 tipc: use only positive error codes in messages
685699703a0a net: Set sk_prot_creator when cloning sockets to the right proto
1299f7e17e9e packet: only test po->has_vnet_hdr once in packet_snd
1b6c80e797ee packet: in packet_do_bind, test fanout with bind_lock held
ee534927f0c0 tun: bail out from tun_get_user() if the skb is empty
b5f689d94bc3 l2tp: fix race condition in l2tp_tunnel_delete
110cf3dd4bcc l2tp: Avoid schedule while atomic in exit_net
93040aa17862 vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
d9cb4dc0221e isdn/i4l: fetch the ppp_write buffer in one shot
1a4f1ecdb257 bpf: one perf event close won't free bpf program attached by another perf event
5be6824b9704 packet: hold bind lock when rebinding to fanout hook
aa90be3e1248 net: emac: Fix napi poll list corruption
3483c65090dc ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
5356f7e40d23 udpv6: Fix the checksum computation when HW checksum does not apply
2ec54b21dd7b bpf/verifier: reject BPF_ALU64|BPF_END
dee4506f067a sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
9f5bbe694df1 MIPS: Fix minimum alignment requirement of IRQ stack
c088f7bc3310 drm/dp/mst: save vcpi with payloads
951ba9f6c8b9 percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
(From OE-Core rev: cf63a555ebdcd246df0dcf8dcc433547d196e98f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The aufs4 core code was missing some changes to build against
the 4.9 fs subsystem. This commit resyncs with the upstream
repo, and we can once again build against 4.9.
(From OE-Core rev: d366392ebf0918b6261de05a56c50687144be5e4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates that comprise the following
commits:
b632d710149f Linux 4.9.71
ed70a2212526 ath9k: fix tx99 potential info leak
8f23eb16afd8 icmp: don't fail on fragment reassembly time exceeded
2eb165b9fbb7 IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
0c70b35bf158 RDMA/cma: Avoid triggering undefined behavior
31eb4108e107 macvlan: Only deliver one copy of the frame to the macvlan interface
b64ab3ca9d31 udf: Avoid overflow when session starts at large offset
91e0cf85caea scsi: bfa: integer overflow in debugfs
64da4e8d00f1 scsi: sd: change allow_restart to bool in sysfs interface
1cafdac89191 scsi: sd: change manage_start_stop to bool in sysfs interface
8315bcf841ae rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_disassoc_cmd
6641d3e307f5 rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_createbss_cmd
28e006e14ff9 vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
04d5a2d5d2d0 IB/core: Fix calculation of maximum RoCE MTU
c744ecec01ae scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
f39486bd37ee raid5: Set R5_Expanded on parity devices as well as data.
4fdb10391bca pinctrl: adi2: Fix Kconfig build problem
afeeff4d6156 usb: musb: da8xx: fix babble condition handling
92ad6c13e17e tty fix oops when rmmod 8250
421910e924b6 soc: mediatek: pwrap: fix compiler errors
7745382fe86c powerpc/perf/hv-24x7: Fix incorrect comparison in memord
ab9d25711493 scsi: hpsa: destroy sas transport properties before scsi_host
1723d6668df5 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
237e053346f1 PCI: Detach driver before procfs & sysfs teardown on device remove
8f84f861f99c RDMA/cxgb4: Declare stag as __be32
769bca9339f0 xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
c82209949bba xfs: fix log block underflow during recovery cycle verification
fc4177eacfa6 l2tp: cleanup l2tp_tunnel_delete calls
6a559523ee66 nvme: use kref_get_unless_zero in nvme_find_get_ns
e2fce5a5578d platform/x86: hp_accel: Add quirk for HP ProBook 440 G4
7fab68e1f730 btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
b7ada2c0ea29 arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27
52aaa748a948 Ib/hfi1: Return actual operational VLs in port info query
9102ed6a5f6a bcache: fix wrong cache_misses statistics
c2a0531f59c3 bcache: explicitly destroy mutex while exiting
75f66eeae657 GFS2: Take inode off order_write list when setting jdata flag
026ffaf65879 scsi: scsi_debug: write_same: fix error report
d8914530f247 thermal/drivers/step_wise: Fix temperature regulation misbehavior
019433db872f ASoC: rsnd: rsnd_ssi_run_mods() needs to care ssi_parent_mod
cf16dac8bd98 ppp: Destroy the mutex when cleanup
27f5597c9859 clk: tegra: Fix cclk_lp divisor register
54809e38a629 clk: hi6220: mark clock cs_atb_syspll as critical
47b63ea40ee1 clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
d6b6302c36b5 clk: mediatek: add the option for determining PLL source clock
2850c3ec0d25 mm: Handle 0 flags in _calc_vm_trans() macro
18498f1c7089 crypto: tcrypt - fix buffer lengths in test_aead_speed()
2ed46cbf23fc arm-ccn: perf: Prevent module unload while PMU is in use
c843e9f8f97f xfs: truncate pagecache before writeback in xfs_setattr_size()
03bfadfb0d79 iommu/amd: Limit the IOVA page range to the specified addresses
cb0acb37010c badblocks: fix wrong return value in badblocks_set if badblocks are disabled
dcdca123814c target/file: Do not return error for UNMAP if length is zero
998201fdc5c9 target:fix condition return in core_pr_dump_initiator_port()
a4f54ec403da iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
e086a82a926a target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
abc4b4420af8 platform/x86: intel_punit_ipc: Fix resource ioremap warning
6e5a846d5172 powerpc/ipic: Fix status get and status clear
d7e7c431d621 powerpc/opal: Fix EBUSY bug in acquiring tokens
a463f9c5dfd1 netfilter: ipvs: Fix inappropriate output of procfs
b3b6d1eea0de iommu/mediatek: Fix driver name
9a4bf05126f4 PCI: Do not allocate more buses than available in parent
29a404be7b30 powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
f44d28e0348d PCI/PME: Handle invalid data when reading Root Status
5a7192bc389e dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
03a48dc96505 ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case
9146b10f8cd6 rtc: pcf8563: fix output clock rate
cf53526f3312 video: fbdev: au1200fb: Return an error code if a memory allocation fails
90e2591f6f3f video: fbdev: au1200fb: Release some resources if a memory allocation fails
92c3c7db8336 video: udlfb: Fix read EDID timeout
aecce5fc047a fbdev: controlfb: Add missing modes to fix out of bounds access
0312ab0f0e43 sfc: don't warn on successful change of MAC
da73389e8aa7 HID: cp2112: fix broken gpio_direction_input callback
e15628b293a7 Revert "x86/acpi: Set persistent cpuid <-> nodeid mapping when booting"
25b0b3f2373d target: fix race during implicit transition work flushes
892e4f9bc2e2 target: fix ALUA transition timeout handling
0d34f4770ea1 target: Use system workqueue for ALUA transitions
8f60ef94477c btrfs: add missing memset while reading compressed inline extents
5d460d359abe NFSv4.1 respect server's max size in CREATE_SESSION
88af4e34771c efi/esrt: Cleanup bad memory map log messages
e30b840d4668 perf symbols: Fix symbols__fixup_end heuristic for corner cases
2a47e7de0822 tty: fix data race in tty_ldisc_ref_wait()
70f450fc8610 tty: don't panic on OOM in tty_set_ldisc()
3d57ec51d204 rxrpc: Ignore BUSY packets on old calls
42b6d6e824d3 net: mpls: Fix nexthop alive tracking on down events
fd27dbcae937 net/mlx4_core: Avoid delays during VF driver device shutdown
65bfe003dceb nvmet-rdma: Fix a possible uninitialized variable dereference
571e47760de5 nvmet: confirm sq percpu has scheduled and switched to atomic
af0cee086b09 nvme-loop: fix a possible use-after-free when destroying the admin queue
a8939aac82b0 afs: Fix abort on signal while waiting for call completion
d43dda072544 afs: Fix afs_kill_pages()
856bb4b609ee afs: Fix page leak in afs_write_begin()
833acb3e09db afs: Populate and use client modification time
a3e7a29abf0b afs: Better abort and net error handling
ab2390611619 afs: Invalid op ID should abort with RXGEN_OPCODE
972e7b7cbf5c afs: Fix the maths in afs_fs_store_data()
9329ae4cb10e afs: Prevent callback expiry timer overflow
7da1b85a75d4 afs: Migrate vlocation fields to 64-bit
7286fad15704 afs: Flush outstanding writes when an fd is closed
eaaad7646d3d afs: Deal with an empty callback array
900048089cc1 afs: Adjust mode bits processing
ba47c1597480 afs: Populate group ID from vnode status
c250fae9ad4b afs: Fix missing put_page()
b29c7b7c62d5 drm/radeon: reinstate oland workaround for sclk
2a84fce9b039 mmc: mediatek: Fixed bug where clock frequency could be set wrong
28714e962a71 sched/deadline: Use deadline instead of period when calculating overflow
a2e29113f1ab sched/deadline: Throttle a constrained deadline task activated after the deadline
9cc56a00eab7 sched/deadline: Make sure the replenishment timer fires in the next period
0a4d4dac5e34 sched/deadline: Add missing update_rq_clock() in dl_task_timer()
8d3a318194ec iwlwifi: mvm: cleanup pending frames in DQA mode
a524bb57dd36 Drivers: hv: util: move waiting for release to hv_utils_transport itself
da626b13ce32 drm/radeon/si: add dpm quirk for Oland
1867eb805091 fjes: Fix wrong netdevice feature flags
91510a623baa scsi: hpsa: do not timeout reset operations
0f07e7611184 scsi: hpsa: limit outstanding rescans
c81410a4353d scsi: hpsa: update check for logical volume status
8652baa5a31d ASoC: rcar: clear DE bit only in PDMACHCR when it stops
fd2530a4ee62 openrisc: fix issue handling 8 byte get_user calls
18b39b61b2c6 intel_th: pci: Add Gemini Lake support
3544f57578a6 drm: amd: remove broken include path
4c9c0971271d qed: Fix interrupt flags on Rx LL2
ac04ab9624b5 qed: Fix mapping leak on LL2 rx flow
8de6d7b28d2f qed: Align CIDs according to DORQ requirement
fddc3df7647e mlxsw: reg: Fix SPVMLR max record count
4c8b4e60b575 mlxsw: reg: Fix SPVM max record count
6c548e90a0bc net: Resend IGMP memberships upon peer notification.
889163d75fe5 irqchip/mvebu-odmi: Select GENERIC_MSI_IRQ_DOMAIN
e30ccb5f1c7e dmaengine: Fix array index out of bounds warning in __get_unmap_pool()
46cbe3f51c51 net: wimax/i2400m: fix NULL-deref at probe
2e70c4d5de87 writeback: fix memory leak in wb_queue_work()
d28046fb8c43 blk-mq: Fix tagset reinit in the presence of cpu hot-unplug
143d13d1e6c0 ASoC: rsnd: fix sound route path when using SRC6/SRC9
97b75dad9dd1 netfilter: bridge: honor frag_max_size when refragmenting
38780b9ae45a drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
8fb782bbd212 Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list
817f60ccf72c NFSD: fix nfsd_reset_versions for NFSv4.
0154269f9c12 NFSD: fix nfsd_minorversion(.., NFSD_AVAIL)
063c753ef78b drm/amdgpu: fix parser init error path to avoid crash in parser fini
3d40364d333e iommu/io-pgtable-arm-v7s: Check for leaf entry before dereferencing it
721c136ac278 net/mlx5: Don't save PCI state when PCI error is detected
248cbd97be81 net/mlx5: Fix create autogroup prev initializer
515d78dc0a89 rxrpc: Wake up the transmitter if Rx window size increases on the peer
e85b9bc29b04 net: bcmgenet: Power up the internal PHY before probing the MII
f9ac24794f2e net: bcmgenet: synchronize irq0 status between the isr and task
4c3727f6add5 net: bcmgenet: power down internal phy if open or resume fails
66e522ab02cc net: bcmgenet: reserved phy revisions must be checked first
dc8d63c43af0 net: bcmgenet: correct MIB access of UniMAC RUNT counters
bb5c42a5b1d2 net: bcmgenet: correct the RBUF_OVFL_CNT and RBUF_ERR_CNT MIB values
72cd0c3f6616 bnxt_en: Ignore 0 value in autoneg supported speed from firmware.
ae0ebdba9667 net: initialize msg.msg_flags in recvfrom
6783015096dc userfaultfd: selftest: vm: allow to build in vm/ directory
275314e90c5e userfaultfd: shmem: __do_fault requires VM_FAULT_NOPAGE
9bcd15bdfb61 md-cluster: free md_cluster_info if node leave cluster
9841d7b08ff6 usb: xhci-mtk: check hcc_params after adding primary hcd
215df1f35542 KVM: nVMX: do not warn when MSR bitmap address is not backed
50fc2d4152fb usb: phy: isp1301: Add OF device ID table
bf864220a59c mac80211: Fix addition of mesh configuration element
32e2ae03283b ext4: fix crash when a directory's i_size is too small
6a851bb99e5c ext4: fix fdatasync(2) after fallocate(2) operation
679dbeac0b6b dmaengine: dmatest: move callback wait queue to thread context
744cb5ab3372 eeprom: at24: change nvmem stride to 1
d266817f5028 sched/rt: Do not pull from current CPU if only one CPU to pull
9c537f06d61a nfs: don't wait on commit in nfs_commit_inode() if there were no commit requests
3bdb508d686e xhci: Don't add a virt_dev to the devs array before it's fully allocated
7336f5481f6c Bluetooth: btusb: driver to enable the usb-wakeup feature
cdfe4c0091a8 usb: xhci: fix TDS for MTK xHCI1.1
e081bd0d70bd ceph: drop negative child dentries before try pruning inode's alias
14513e49c43c usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
f3e957266ae5 usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input
b6dbace92ed7 usb: add helper to extract bits 12:11 of wMaxPacketSize
20e825cdf7a1 usbip: fix stub_rx: get_pipe() to validate endpoint number
99542e468b76 USB: core: prevent malicious bNumInterfaces overflow
0d29ae4f5033 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
d760f9034195 tracing: Allocate mask_str buffer dynamically
d1175423ce67 autofs: fix careless error in recent commit
c32e053a11f2 crypto: salsa20 - fix blkcipher_walk API usage
43259d07fceb crypto: hmac - require that the underlying hash algorithm is unkeyed
cd9b59861f9c crypto: rsa - fix buffer overread when stripping leading zeroes
1fb73eae9624 mfd: fsl-imx25: Clean up irq settings during removal
ee52d08d2e09 Linux 4.9.70
349130bb0391 RDMA/cxgb4: Annotate r2 and stag as __be32
b7d3f2b5dca9 md: free unused memory after bitmap resize
93dedcf5a177 audit: ensure that 'audit=1' actually enables audit for PID 1
a625a16c8aea ipvlan: fix ipv6 outbound device
97c668702126 kbuild: do not call cc-option before KBUILD_CFLAGS initialization
eae3f3ab7fb3 powerpc/64: Fix checksum folding in csum_tcpudp_nofold and ip_fast_csum_nofold
9414a6309c72 KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
80c0f4777fd6 fix kcm_clone()
16648cbcd332 usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
47273f0d398d s390: always save and restore all registers on context switch
f8dac5bfbd8e ipmi: Stop timers before cleaning up the module
0cab694ab7bc Fix handling of verdicts after NF_QUEUE
cf00fd3d526c tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv()
0cfe6df93834 s390/qeth: fix thinko in IPv4 multicast address tracking
1d55222b14bd s390/qeth: fix GSO throughput regression
fbf0dfe7ad9f s390/qeth: build max size GSO skbs on L2 devices
aa0080f1ad08 tcp/dccp: block bh before arming time_wait timer
30985e3beb73 stmmac: reset last TSO segment size after device open
564fe3e0e95e net: remove hlist_nulls_add_tail_rcu()
80ad5bd1b45f usbnet: fix alignment for frames with no ethernet header
5471afeef413 net/packet: fix a race in packet_bind() and packet_notifier()
30c573affac8 packet: fix crash in fanout_demux_rollover()
5f218c3fd11a sit: update frag_off info
3259862dd73b rds: Fix NULL pointer dereference in __rds_rdma_map
96b4a8ac9a55 tipc: fix memory leak in tipc_accept_from_sock()
20610f5bbd23 s390/qeth: fix early exit from error path
32436bf375b0 net: qmi_wwan: add Quectel BG96 2c7c:0296
c91efc7862b3 Linux 4.9.69
15b175223e53 afs: Connect up the CB.ProbeUuid
9048b2420e32 IB/mlx5: Assign send CQ and recv CQ of UMR QP
06fea09c0959 IB/mlx4: Increase maximal message size under UD QP
6ceabde66643 xfrm: Copy policy family in clone_policy
74b470ce478a jump_label: Invoke jump_label_test() via early_initcall()
22d2456faefa atm: horizon: Fix irq release error
c488c2e141bc clk: uniphier: fix DAPLL2 clock rate of Pro5
f45f4f8a7cd8 bpf: fix lockdep splat
9904da5a09ce sctp: use the right sk after waking up from wait_buf sleep
1158ecd51ec1 sctp: do not free asoc when it is already dead in sctp_sendmsg
1618400444d0 zsmalloc: calling zs_map_object() from irq is a bug
7da67d1d98f6 sparc64/mm: set fields in deferred pages
1a5a4c6e868f block: wake up all tasks blocked in get_request()
c31bfe7de243 dt-bindings: usb: fix reg-property port-number range
1eeb1edfd3c9 xfs: fix forgotten rcu read unlock when skipping inode reclaim
acbe10423b1a sunrpc: Fix rpc_task_begin trace point
509e9b805c52 NFS: Fix a typo in nfs_rename()
a780a728475d dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
a77c11607593 lib/genalloc.c: make the avail variable an atomic_long_t
e9672477a5f0 drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()'
007e20bd0fdd route: update fnhe_expires for redirect when the fnhe exists
7c4fa0c1c9ca route: also update fnhe_genid when updating a route cache
2388d52d7256 gre6: use log_ecn_error module parameter in ip6_tnl_rcv()
6a8ab06660dc mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
0965ed575190 x86/mpx/selftests: Fix up weird arrays
b96d06e6d6e0 coccinelle: fix parallel build with CHECK=scripts/coccicheck
55042e28b985 kbuild: pkg: use --transform option to prefix paths in tar
7290cfeb4436 EDAC, i5000, i5400: Fix definition of NRECMEMB register
62c12d671c49 EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro
d28faebe8b09 powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested
92527dc32a69 drm/amd/amdgpu: fix console deadlock if late init failed
e8d5b115c6ea axonram: Fix gendisk handling
8818eb851c2d netfilter: don't track fragmented packets
36a14374b568 zram: set physical queue limits to avoid array out of bounds accesses
bc8859174d98 blk-mq: initialize mq kobjects in blk_mq_init_allocated_queue()
567df7459e12 i2c: riic: fix restart condition
e46126e51ee8 crypto: s5p-sss - Fix completing crypto request in IRQ handler
05a59bc2f3c0 ipv6: reorder icmpv6_init() and ip6_mr_init()
f191e15e4acd ibmvnic: Allocate number of rx/tx buffers agreed on by firmware
f3b1f93ed23b ibmvnic: Fix overflowing firmware/hardware TX queue
742e67d2b7ee rds: tcp: Sequence teardown of listen and acceptor sockets to avoid races
d8f147ac75bb bnx2x: do not rollback VF MAC/VLAN filters we did not configure
cdef3be8c7bb bnx2x: fix detection of VLAN filtering feature for VF
f73fcb25f4bb bnx2x: fix possible overrun of VFPF multicast addresses array
ae6b3452faf7 bnx2x: prevent crash when accessing PTP with interface down
c72c7f244265 spi_ks8995: regs_size incorrect for some devices
1ace4dabf624 spi_ks8995: fix "BUG: key accdaa28 not in .data!"
b1f71147a188 KVM: arm/arm64: VGIC: Fix command handling while ITS being disabled
aafb72d2ed55 arm64: KVM: Survive unknown traps from guests
5e366aaec185 arm: KVM: Survive unknown traps from guests
c886f281b9e0 KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset
54e1ae1f21f5 irqchip/crossbar: Fix incorrect type of register size
d32c4dedcc6d scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters
1e7208d75928 scsi: qla2xxx: Fix ql_dump_buffer
757e1845d6c3 workqueue: trigger WARN if queue_delayed_work() is called with NULL @wq
da6a95b0ef82 libata: drop WARN from protocol error in ata_sff_qc_issue()
29deec403d56 kvm: nVMX: VMCLEAR should not cause the vCPU to shut down
2afb2d892c1d usb: gadget: udc: net2280: Fix tmp reusage in net2280 driver
82f79a4423fc usb: gadget: pxa27x: Test for a valid argument pointer
7abf66d78e89 usb: dwc3: gadget: Fix system suspend/resume on TI platforms
8fe9ea81b1e9 USB: gadgetfs: Fix a potential memory leak in 'dev_config()'
59682e70c980 usb: gadget: configs: plug memory leak
881b5d4841fc HID: chicony: Add support for another ASUS Zen AiO keyboard
1bc827aabc70 gpio: altera: Use handle_level_irq when configured as a level_high
c7c866711799 ASoC: rcar: avoid SSI_MODEx settings for SSI8
202c73946455 ARM: OMAP2+: Release device node after it is no longer needed.
d3954c5ced8e ARM: OMAP2+: Fix device node reference counts
4aff02804715 powerpc/64: Fix checksum folding in csum_add()
d57cb693c592 module: set __jump_table alignment to 8
f348a1030eb6 lirc: fix dead lock between open and wakeup_filter
7ae7408c4352 powerpc: Fix compiling a BE kernel with a powerpc64le toolchain
cd662c8e51a1 selftest/powerpc: Fix false failures for skipped tests
0bf8f6e7205a powerpc/64: Invalidate process table caching after setting process table
8c6ebeb4087e x86/hpet: Prevent might sleep splat on resume
4e4a9ebe33a6 sched/fair: Make select_idle_cpu() more aggressive
29dc610cfc7c x86/platform/uv/BAU: Fix HUB errors by remove initial write to sw-ack register
b2cb09597b1f x86/selftests: Add clobbers for int80 on x86_64
93247ff1fafe ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
f14f6fabfb54 vti6: Don't report path MTU below IPV6_MIN_MTU.
5d4d0a95437e ARM: 8657/1: uaccess: consistently check object sizes
7c4615c853fa Revert "spi: SPI_FSL_DSPI should depend on HAS_DMA"
b6c15a7c6e79 Revert "drm/armada: Fix compile fail"
6a53078b9357 mm: drop unused pmdp_huge_get_and_clear_notify()
c2edc33d4abf thp: fix MADV_DONTNEED vs. numa balancing race
7bdd685cef4b thp: reduce indentation level in change_huge_pmd()
5bcb9c842a53 ARM: avoid faulting on qemu
6192f870abf2 ARM: BUG if jumping to usermode address in kernel mode
112b8a8f558d usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT
47ab72034e9d crypto: talitos - fix ctr-aes-talitos
24ab6e7f6b61 crypto: talitos - fix use of sg_link_tbl_len
6bf30e664221 crypto: talitos - fix AEAD for sha224 on non sha224 capable chips
552f74cbd6ec crypto: talitos - fix setkey to check key weakness
5272b0e1c382 crypto: talitos - fix memory corruption on SEC2
bde6667a7df1 crypto: talitos - fix AEAD test failures
3f0597ae9a38 bus: arm-ccn: fix module unloading Error: Removing state 147 which has instances left.
793eed33da5f bus: arm-ccn: Fix use of smp_processor_id() in preemptible context
595aca74c67a bus: arm-ccn: Check memory allocation failure
a0a2f97d0375 bus: arm-cci: Fix use of smp_processor_id() in preemptible context
a39224199e97 arm64: fpsimd: Prevent registers leaking from dead tasks
7df3dbef3dd5 KVM: arm/arm64: vgic-its: Check result of allocation before use
42c3f4c55f10 KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation
cf6668d57a26 KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
6ead44d4b5b8 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
6ed459712e26 arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
63fba9ff76f0 arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
730810d92327 media: dvb: i2c transfers over usb cannot be done from stack
4f128c8aa35b drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
30b18ee253a0 kdb: Fix handling of kallsyms_symbol_next() return value
4a70f07da853 brcmfmac: change driver unbind order of the sdio function devices
8950c982fffd powerpc/64s: Initialize ISAv3 MMU registers before setting partition table
ffb17c0cce84 KVM: s390: Fix skey emulation permission check
bd6a7055b84b s390: fix compat system call table
ff3d4fd5374f smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place
e17f2b51617d iommu/vt-d: Fix scatterlist offset handling
173c8c346587 ALSA: usb-audio: Add check return value for usb_string()
c40457c952ec ALSA: usb-audio: Fix out-of-bound error
20ca63e0968e ALSA: seq: Remove spurious WARN_ON() at timer check
45ddff3ce4e9 ALSA: pcm: prevent UAF in snd_pcm_info
8974b0320cc8 btrfs: fix missing error return in btrfs_drop_snapshot
9cf0eaf88d74 KVM: x86: fix APIC page invalidation
6662a55fa6eb x86/PCI: Make broadcom_postcore_init() check acpi_disabled
3d4696248c08 X.509: fix comparisons of ->pkey_algo
d4f134700c20 X.509: reject invalid BIT STRING for subjectPublicKey
982707eb4ff8 KEYS: add missing permission check for request_key() destination
44acfcb6dd73 ASN.1: check for error from ASN1_OP_END__ACT actions
608845ad4986 ASN.1: fix out-of-bounds read when parsing indefinite length item
8b5106e1d22c efi/esrt: Use memunmap() instead of kfree() to free the remapping
29c3b7a85409 efi: Move some sysfs files to be read-only by root
35b4bfbda54b scsi: libsas: align sata_device's rps_resp on a cacheline
326ebe77f0c5 scsi: use dma_get_cache_alignment() as minimum DMA alignment
4cb4d78c57f8 scsi: dma-mapping: always provide dma_get_cache_alignment
1db069c057a1 isa: Prevent NULL dereference in isa_bus driver callbacks
3aa6d7f8542e hv: kvp: Avoid reading past allocated blocks from KVP file
893fab0c338b virtio: release virtio index when fail to device_register
4b4e6f675846 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
0cdac09e6aee can: esd_usb2: cancel urb on -EPIPE and -EPROTO
d3b72254789f can: ems_usb: cancel urb on -EPIPE and -EPROTO
4665483e4797 can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
d724a677f0c1 can: kvaser_usb: ratelimit errors if incomplete messages are received
561384a9cf17 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
f89682bb3cf2 can: kvaser_usb: free buf in error paths
6a3a713880a5 can: ti_hecc: Fix napi poll return value for repoll
fbe9a14180d6 usb: gadget: udc: renesas_usb3: fix number of the pipes
3781db07c79e Linux 4.9.68
3671e6728f79 xen-netfront: avoid crashing on resume after a failure in talk_to_netback()
08dd03812e8b usb: host: fix incorrect updating of offset
20c315ebabc5 USB: usbfs: Filter flags passed in from user space
545c10375330 USB: devio: Prevent integer overflow in proc_do_submiturb()
d6ab871c432d USB: Increase usbfs transfer limit
05ffc7ed5527 USB: core: Add type-specific length check of BOS descriptors
34ba2f04a480 usb: xhci: fix panic in xhci_free_virt_devices_depth_first
e328dff288e6 usb: hub: Cycle HUB power when initialization fails
0af23e49316d dma-buf: Update kerneldoc for sync_file_create
3a83421d482e dma-buf/sync_file: hold reference to fence when creating sync_file
424bdc5df002 dma-buf/sw_sync: force signal all unsignaled fences on dying timeline
f5e0724e76c2 dma-fence: Introduce drm_fence_set_error() helper
d3b029a44e14 dma-fence: Wrap querying the fence->status
f55d17e9c3af dma-fence: Clear fence->status during dma_fence_init()
9ae85fabdfc0 dma-buf/sw_sync: clean up list before signaling the fence
4496b88c0674 dma-buf/sw_sync: move timeline_fence_ops around
db767404ad09 dma-buf/sw-sync: Use an rbtree to sort fences in the timeline
e82ecb230924 dma-buf/sw-sync: Fix locking around sync_timeline lists
1bf0b23c07f1 dma-buf/sw-sync: sync_pt is private and of fixed size
f14ad42b8743 dma-buf/sw-sync: Reduce irqsave/irqrestore from known context
985b5b238436 dma-buf/sw-sync: Prevent user overflow on timeline advance
fc839ecb8eda dma-buf/sw-sync: Fix the is-signaled test to handle u32 wraparound
b53525eaac55 dma-buf/dma-fence: Extract __dma_fence_is_later()
c13a05a8017b net: fec: fix multicast filtering hardware setup
a767c866735c xen-netback: vif counters from int/long to u64
959b8e0ba293 cec: initiator should be the same as the destination for, poll
017a499be574 xen-netfront: Improve error handling during initialization
c93c09a057b7 mm: avoid returning VM_FAULT_RETRY from ->page_mkwrite handlers
3e550debcf75 vfio/spapr: Fix missing mutex unlock when creating a window
6129fd988225 be2net: fix initial MAC setting
6a9ffb5a87d8 net: thunderx: avoid dereferencing xcv when NULL
3325615d2b50 net: phy: micrel: KSZ8795 do not set SUPPORTED_[Asym_]Pause
c8d6f83d3b6e gtp: fix cross netns recv on gtp socket
d812be828832 gtp: clear DF bit on GTP packet tx
3976dd677e89 nvmet: cancel fatal error and flush async work before free controller
6bd89953fb1f i2c: i2c-cadence: Initialize configuration before probing devices
fe8bdc9b79ee tcp: correct memory barrier usage in tcp_check_space()
49c3164e6d84 dmaengine: pl330: fix double lock
aad54ba21dd8 tipc: fix cleanup at module unload
6313adb8de02 tipc: fix nametbl_lock soft lockup at module exit
e8240244880b RDMA/qedr: Fix RDMA CM loopback
8d4198f8c66b RDMA/qedr: Return success when not changing QP state
dee48e57ae22 mac80211: don't try to sleep in rate_control_rate_init()
cab00a9c16c0 drm/amdgpu: fix unload driver issue for virtual display
b75e47cf8439 x86/fpu: Set the xcomp_bv when we fake up a XSAVES area
05071c058d20 net: sctp: fix array overrun read on sctp_timer_tbl
2001ccb4dea4 drm/exynos/decon5433: set STANDALONE_UPDATE_F on output enablement
4ee340c06bf2 drm/amdgpu: fix bug set incorrect value to vce register
d8a544c92087 qla2xxx: Fix wrong IOCB type assumption
57e76dbbc560 powerpc/mm: Fix memory hotplug BUG() on radix
a88ff235e8ad perf/x86/intel: Account interrupts for PEBS errors
72232a3bc5df NFSv4: Fix client recovery when server reboots multiple times
cda72bbb7bac mac80211: prevent skb/txq mismatch
ee01c59bf838 KVM: arm/arm64: Fix occasional warning from the timer work function
72afbf76344f drm/exynos/decon5433: set STANDALONE_UPDATE_F also if planes are disabled
cca6bca00973 drm/exynos/decon5433: update shadow registers iff there are active windows
9f800573a31b nfs: Don't take a reference on fl->fl_file for LOCK operation
c682ae717759 ravb: Remove Rx overflow log messages
bc13325a2410 mac80211: calculate min channel width correctly
fae478cd9311 mm: fix remote numa hits statistics
71ab86262b66 net: qrtr: Mark 'buf' as little endian
c4081f91981b libfs: Modify mount_pseudo_xattr to be clear it is not a userspace mount
d9a4e70f23c3 net/appletalk: Fix kernel memory disclosure
e3a252a9924c be2net: fix unicast list filling
b4c3022e673a be2net: fix accesses to unicast list
105b403ba0de vti6: fix device register to report IFLA_INFO_KIND
08bd389c9ef8 ARM: OMAP1: DMA: Correct the number of logical channels
9a777021eeb4 ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate
a97b72427e5f net: systemport: Pad packet before inserting TSB
bcc7511ef256 net: systemport: Utilize skb_put_padto()
30bd002c454a libcxgb: fix error check for ip6_route_output()
5eb97be87981 usb: gadget: f_fs: Fix ExtCompat descriptor validation
7468e767d8f2 dmaengine: stm32-dma: Fix null pointer dereference in stm32_dma_tx_status
000e7180633f dmaengine: stm32-dma: Set correct args number for DMA request from DT
d2d74d0e58b2 l2tp: take remote address into account in l2tp_ip and l2tp_ip6 socket lookups
55c050ae5165 net/mlx4_en: Fix type mismatch for 32-bit systems
771c831c1bde dax: Avoid page invalidation races and unnecessary radix tree traversals
2383ba62b535 iio: adc: ti-ads1015: add 10% to conversion wait time
7aa534b8a33f tools include: Do not use poison with C++
a65f24aac76b kprobes/x86: Disable preemption in ftrace-based jprobes
a730e156bb75 perf test attr: Fix ignored test case result
8f6e33aad048 usbip: tools: Install all headers needed for libusbip development
5840a285a1a2 sysrq : fix Show Regs call trace on ARM
7f44b524a0ad EDAC, sb_edac: Fix missing break in switch
61b7a6f1cea3 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
a816a7e1e70b serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
68dfd4dd0900 usb: phy: tahvo: fix error handling in tahvo_usb_probe()
de139e81d350 mmc: sdhci-msm: fix issue with power irq
e042fd0f0318 spi: spi-axi: fix potential use-after-free after deregistration
b3d7cc5a84b4 spi: sh-msiof: Fix DMA transfer size check
ee08fca9a14d staging: rtl8188eu: avoid a null dereference on pmlmepriv
946d33e1e6cd serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
510f6573ef5d m68k: fix ColdFire node shift size calculation
e5f2421df135 staging: greybus: loopback: Fix iteration count on async path
8a95afc48576 selftests/x86/ldt_get: Add a few additional tests for limits
63074a793d69 s390/pci: do not require AIS facility
b0a46089fe81 ima: fix hash algorithm initialization
e4f12192d9e2 USB: serial: option: add Quectel BG96 id
232b47b3c88a s390/runtime instrumentation: simplify task exit handling
65e6599937d1 serial: 8250_pci: Add Amazon PCI serial device ID
6ad14c9c646b usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
3789201628f5 uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
ee23ae915fa7 mm, oom_reaper: gather each vma to prevent leaking TLB entry
0de12a778b92 Revert "crypto: caam - get rid of tasklet"
cffc01d24d25 drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()
48f4d1f7fe48 drm/fsl-dcu: avoid disabling pixel clock twice on suspend
9db9b5f2b1b6 bcache: recover data from backing when data is clean
322e659a03dc bcache: only permit to recovery read error when cache device is clean
284bbc782445 Linux 4.9.67
f990312aaa74 drm/i915: Prevent zero length "index" write
838cdb26a538 drm/i915: Don't try indexed reads to alternate slave addresses
daf3a68d5282 NFS: revalidate "." etc correctly on "open".
a11ca51bf70c Revert "x86/entry/64: Add missing irqflags tracing to native_load_gs_index()"
fb541279bbe0 drm/amd/pp: fix typecast error in powerplay.
5b1c8c96dfab drm/ttm: once more fix ttm_buffer_object_transfer
44df87e6dfad drm/hisilicon: Ensure LDI regs are properly configured.
25abe3a9585e drm/panel: simple: Add missing panel_simple_unprepare() calls
3405805db8bb drm/radeon: fix atombios on big endian
9cd48ba5fc9d drm/amdgpu: Potential uninitialized variable in amdgpu_vm_update_directories()
d316675a9da4 drm/amdgpu: potential uninitialized variable in amdgpu_vce_ring_parse_cs()
b0f63389dab9 Revert "drm/radeon: dont switch vt on suspend"
f425b050254e nvme-pci: add quirk for delay before CHK RDY for WDC SN200
eafbee43b7ec hwmon: (jc42) optionally try to disable the SMBUS timeout
8588eb0ce6a6 bcache: Fix building error on MIPS
53cf83b3c734 i2c: i801: Fix Failed to allocate irq -2147483648 error
19699abea321 eeprom: at24: check at24_read/write arguments
d3da2efa6d9d eeprom: at24: correctly set the size for at24mac402
388d8c9fa371 eeprom: at24: fix reading from 24MAC402/24MAC602
c814d6701b08 mmc: core: prepend 0x to OCR entry in sysfs
0bf4d0517667 mmc: core: Do not leave the block driver in a suspended state
9aad75786e3d KVM: lapic: Fixup LDR on load in x2apic
e02746e22d24 KVM: lapic: Split out x2apic ldr calculation
67945527ee24 KVM: x86: inject exceptions produced by x86_decode_insn
c0a4c22aad0f KVM: x86: Exit to user-mode on #UD intercept when emulator requires
f5477da6c3b0 KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
e18a963b36a0 ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate
dc554abdaee4 mfd: twl4030-power: Fix pmic for boards that need vmmc1 on reboot
aa1a6cf1586b nfsd: fix panic in posix_unblock_lock called from nfs4_laundromat
1c4042591644 nfsd: Fix another OPEN stateid race
1c8ea4145097 nfsd: Fix stateid races between OPEN and CLOSE
c251267c8826 btrfs: clear space cache inode generation always
ba32d7dce43f mm/madvise.c: fix madvise() infinite loop under special circumstances
cebe139e5712 mm, hugetlbfs: introduce ->split() to vm_operations_struct
436f19a2e49e mm/cma: fix alloc_contig_range ret code/potential leak
7031ae2ab37d mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
29bd7003134a ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio
64e916dea413 ARM: dts: LogicPD Torpedo: Fix camera pin mux
(From OE-Core rev: 4a69d067a08822694a90466d8f69a2366967c4f4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gstreamer would attempt to launch gst-plugin-scanner binary installed on the host
if the target binary was failing (and it does, intentionally, fail in our case). Most
of the time the host binary is absent, and so this has no effect, but sometimes
it's present, and so the whole thing (running under qemu) fails.
(From OE-Core rev: 8485438140ce6a8d547137c81961125d4296cd6b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids other do_patch dependencies being overridden.
(From OE-Core rev: b5e94026c754d9015e97487f5c0a5b727ffd4ff8)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2018c release of the tz code and data is available. It follows on the 2018a and 2018b releases, which were published but were not announced until now, due to problems discovered late in their release processes. 2018a had a build-failure typo, and 2018a and 2018b both had problems with ICU and Java, downstream packages which do not support a feature (negative DST offsets) used in 2018a and 2018b. The typo has been fixed, and data changes using negative DST offsets have been reverted pending development of a mechanism to export data to platforms lacking support for such data.
Briefly:
São Tomé and Príncipe switched from +00 to +01.
Brazil's DST will now start on November's first Sunday.
Use Debian-style installation locations, instead of 4.3BSD-style.
New zic option -t.
Changes to past and future time stamps
São Tomé and Príncipe switched from +00 to +01 on 2018-01-01 at
01:00. (Thanks to Steffen Thorsen and Michael Deckers.)
Changes to future time stamps
Starting in 2018 southern Brazil will begin DST on November's
first Sunday instead of October's third Sunday. (Thanks to
Steffen Thorsen.)
Changes to past time stamps
Japanese DST transitions (1948-1951) were Sundays at 00:00, not
Saturdays or Sundays at 02:00. (Thanks to Takayuki Nikai.)
A discrepancy of 4 s in timestamps before 1931 in South Sudan has
been corrected. The 'backzone' and 'zone.tab' files did not agree
with the 'africa' and 'zone1970.tab' files. (Problem reported by
Michael Deckers.)
The abbreviation invented for Bolivia Summer Time (1931-2) is now
BST instead of BOST, to be more consistent with the convention
used for Latvian Summer Time (1918-9) and for British Summer Time.
Changes to build procedure
The default installation locations have been changed to mostly
match Debian circa 2017, instead of being designed as an add-on to
4.3BSD circa 1986. This affects the Makefile macros TOPDIR,
TZDIR, MANDIR, and LIBDIR. New Makefile macros TZDEFAULT, USRDIR,
USRSHAREDIR, BINDIR, ZDUMPDIR, and ZICDIR let installers tailor
locations more precisely. (This responds to suggestions from
Brian Inglis and from Steve Summit.)
The default installation procedure no longer creates the
backward-compatibility link US/Pacific-New, which causes
confusion during user setup (e.g., see Debian bug 815200).
Use 'make BACKWARD="backward pacificnew"' to create the link
anyway, for now. Eventually we plan to remove the link entirely.
tzdata.zi now contains a version-number comment.
(Suggested by Tom Lane.)
The Makefile now quotes values like BACKWARD more carefully when
passing them to the shell. (Problem reported by Zefram.)
Builders no longer need to specify -DHAVE_SNPRINTF on platforms
that have snprintf and use pre-C99 compilers. (Problem reported
by Jon Skeet.)
The build procedure now works around mawk 1.3.3's lack of support
for character class expressions. (Problem reported by Ohyama.)
(From OE-Core rev: 97927956a6629381b54973d01e16c5f039f5e5bb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
removed patches now included in update.
The 2018a through 2018c releases reflect the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes. This announcement has merged the set of changes made by the three releases, to make it easier to see the difference between 2017c and 2018c; please see the 2018c NEWS file for more details about intermediate versions.
Release 2018c - 2018-01-22 23:00:44 -0800
Release 2018b - 2018-01-17 23:24:48 -0800
Release 2018a - 2018-01-12 22:29:21 -0800
Changes to code
zic has a new option -t FILE that specifies the location of the
file that determines local time when TZ is unset. The default for
this location can be configured via the new TZDEFAULT makefile
macro, which defaults to /etc/localtime.
Diagnostics and commentary now distinguish UT from UTC more
carefully; see theory.html for more information about UT vs UTC.
zic has been ported to GCC 8's -Wstringop-truncation option.
(Problem reported by Martin Sebor.)
Changes to documentation and commentary
The zic man page now documents the longstanding behavior that
times and years can be out of the usual range, with negative times
counting backwards from midnight and with year 0 preceding year 1.
(Problem reported by Michael Deckers.)
The theory.html file now mentions the POSIX limit of six chars
per abbreviation, and lists alphabetic abbreviations used.
The files tz-art.htm and tz-link.htm have been renamed to
tz-art.html and tz-link.html, respectively, for consistency with
other file names and to simplify web server configuration.
(From OE-Core rev: aae1131225b92d2f984a2de35b2e21592ae8195d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade curl from 7.54.1 to 7.57.0.
2.Delete CVE-2017-1000099.patch, CVE-2017-1000100.patch, CVE-2017-1000101.patch, CVE-2017-1000254.patch, reproducible-mkhelp.patch, since it is integrated upstream.
3.Remove "do_install_append()" from curl_7.57.0.bb, since curl/curlbuild.h has been removed.
(From OE-Core rev: 215d5677004537fc190b5381157ac8b94db6d7e8)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In ver 1.22:
Fix issue with GPIO handling and Nokia modems.
Fix issue with SIM state callback and AT modems.
Fix issue with data mode and DCD for U-Blox modems.
Fix issue with SMS receive on QMI based Quectel EC21.
Fix issue with HFP support and last call dialed request.
Fix issue with PIM retires handling and Gemalto modems.
Fix issue with atom registration and SIM state handling.
Add support for handling SIM card AID session management.
Add support for handling GSM/UMTS and IMS authentication.
Add support for IP Multimedia Subsystem (IMS) atom.
Add support for MBIM based modems.
(From OE-Core rev: 7f96371566d00d44abf5cbfa012dd11dfa47187d)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2.8.1 -> 2.9
Change in LIC_FILES_CHKSUM is due to change of URL www.freetype.org
from http to https.
(From OE-Core rev: 5545685f0d27d1b7ed840ebf695544d2562c7c0e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGES_DYNAMIC contained an identical set of packages twice.
I suspect this was a result of global search/replace when moving
recipes from eglibc to glibc long time ago.
(From OE-Core rev: 9d0f0fa80ffbafc2d4a1df0fa3ac5d84396a8182)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NSPR 4.18 contains the following changes:
- removed HP-UX DCE threads support
- improvements for the Windows implementation of PR_SetCurrentThreadName
- fixes for the Windows implementation of TCP Fast Open
(From OE-Core rev: cd5086812c55785f5d3c50559f925458e4363b43)
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>
Cherry-pick fix from mesa upstream:
23ce168048 link mesautil with pthreads
link mesautil with pthreads to avoid:
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_setname':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:66: undefined reference to `pthread_setname_np'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_join':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:336: undefined reference to `pthread_join'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:48: undefined reference to `pthread_sigmask'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:296: undefined reference to `pthread_create'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask'
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `call_once':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:96: undefined reference to `pthread_once'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_get_time_nano':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:84: undefined reference to `pthread_getcpuclockid'
collect2: error: ld returned 1 exit status
(From OE-Core rev: f878741d22fbd1582039738c21cf86942fb94327)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPM spec files don't distinguish between spec-level license and the primary
package license, so always output the License for every package (defaulting to
the recipe-wide license) and use LICENSE_${PN} if set for the primary package.
As the primary use of package_rpm is to generate built packages, this fixes the
license fields in the generated packages.
[ YOCTO #12057 ]
(From OE-Core rev: 8c333e592fa7a3a887c792ac14e5cde2141b5d35)
(From OE-Core rev: 42e0de37d18f072dc5dcf5dc45cb441e4c2110d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new name is much more consistent with what this actually means. We put
the pieces in place to rename everything a while back but looks like we
forgot to actually do it! Fix that now.
(From OE-Core rev: af9612f5d6b848fceea22d10ee964437299be776)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building various libraries (libc6, libc6-pic, libc6-staticdev, libc6-dbg, ...)
can be non-deterministic because they may be built with two different versions
of intl/plural.c. in two otherwise identical builds. We may or may not re-generate
the file plural.c from the file plural.y, based on bison being installed or not
and based on mtimes of those two files, as the Makefile contains:
plural.c: plural.y
$(BISON) $(BISONFLAGS) $@ $^
If the above rule does not fire, we use a "fallback" plural.c, otherwise
we use plural.c re-generated from plural.y.
The fix is to always require bison to be installed and unconditionally
re-generate plural.c. (This is achieved by touching plural.y).
[YOCTO #12291]
(From OE-Core rev: b79eeb68c6ad7c92a3e54c6f97a8bf49f0098206)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The f2fs filesystem is a newer flash filesystem that is available in
meta-filesystems. This needs a minimum sized blank space to operate
in correctly.
The f2fs has overprovision functionality and when building smaller
filesystems, you actually need more space, therefore under 500M (or so)
double the amount of space needed in order to handle the overprovision
functions in f2fs.
(From OE-Core rev: dec029686a47b574edfce4472fe2167db54398fb)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the primary f2fs utilities are provided by the meta-openembedded
meta-filesystems layer, we disable the testing of that functionality
here.
(From OE-Core rev: f691ed2572e54fa2af04c1569746c36ce04463ee)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a dependency on xz-native and pass '-Z xz' to opkg-build to use xz instead
of gzip when building packages.
(From OE-Core rev: b95b6ba1a2959e2294a8848fa35f20163388eb06)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We patch opkg-build to ignore hard link count changes when archiving, but in the
last upgrade (oe-core 60c9a97) the patch was refreshed to apply but the result
is that opkg-build loses the ability to switch compressor.
Refresh the patch again so that it just adds the error ignoring logic and
doesn't otherwise change the behaviour of opkg-build.
(From OE-Core rev: e8f99fa61fc00c66d216c5f3e5d37ffc42f2574b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 32a30b3edfdb76b554775817f98851f851316fe0)
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>
* Drop xlocale.h patch, merged upstream
* Rework patches from systemd to fix musl build
- comparison_fn_t is glibc specific
- musl does not provide printf.h
- musl does not provide canonicalize_file_name
(From OE-Core rev: 49ebc0acae1c060ab20631b9a7215e14ce150e6d)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Affects glibc < 2.27 including current master
hash 77f921dac17c5fa99bd9e926d926c327982895f7
(From OE-Core rev: a273d099c3bc73736579b7b6ead2572721f16d2a)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
[v2]
Rebased on new master
[v3]
Fix typo in patch status
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>
Image will be generated for arm64, and no compression for Image in u-boot as
well. So we just put the file into the right place for the rest of the build
to find it.
(From OE-Core rev: ce6337ab4b415ee18360dfe4443a71ab75a60254)
Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Supporting Perl regular expression is disabled with '--disable-perl-regexp'
but the manpage of 'grep' shows the '-P' option and returns below error:
"/bin/grep.grep -o -P 'PATTERN' file
/bin/grep.grep: support for the -P option is not compiled into this \
--disable-perl-regexp binary"
(From OE-Core rev: 8023052653d44a8bbd3618ba700aa260e581036e)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The repository indexes updated during do_populate_sdk_ext and do_populate_sdk
can conflcit. Add the missing lockfile calls for deb/ipk and in the rpm case,
ensure different directories are used for the index for the two sdk cases.
(From OE-Core rev: 5e5569c962c9ebc898eeb5044214e95117b190e1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lvm2 recipe in meta-oe was split, so the libdevmapper library is
provided by the libdevmapper recipe rather than lvm2.
(From OE-Core rev: 68a3ae195998f96e2d8678a6a3733117d490787d)
Signed-off-by: Robert Joslyn <robert_joslyn@selinc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In lookup_recipe, package_info, and list_pkg_files, check if the package
name exists in runtime-rprovides. If so, and the provider package has a
different name than the inputted package, print a note that says the
specified package is in another package's RPROVIDES. If the provider
package has the same name as the inputted package, continue as before.
Fixes [YOCTO 11943]
(From OE-Core rev: f78478f0d0379ea02727c81ad2455207c70d140b)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor functions lookup_recipe and package_info to be consistent with
list_pkg_files. Print the appropriate information as soon as it's found,
rather than storing it in a mappings variable and wait to print after
searching all packages.
(From OE-Core rev: 64d3ce83d5c48d479709b4c1355e23b3768493fb)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The go-dep must be used as native (and consequently as nativesdk)
during the build process. This adds the two variants as supported by
the recipe.
(From OE-Core rev: 2d3084efdcba282388048981ee3a68672241e4df)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implement subnet route creation/deletion in session, e.g.
default via 192.168.100.1 dev eth0
192.168.100.0/24 dev eth0
(From OE-Core rev: d6ac8a53d05124cbe34bc6673cb46091b50c7643)
Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is happened when doing wispr against a HTTPS URL
rather than the default one, i.e.
http://ipv4.connman.net/online/status.html
When gnutls_channel is instantiated, the gnutls_channel->established
has to be initiated as FALSE. Otherwise, check_handshake function
won't work. A random initial value 1 of gnutls_channel->established
will make check_handshake return G_IO_STATUS_NORMAL, when the channel
is actually not ready to be used. The observed behaviours are,
- wispr is getting random errors in wispr_portal_web_result
- ConnMan crashes on exit after those random errors
- when wispr is luckly working, ConnMan doesn't crash on exit
(From OE-Core rev: 2ea983d4a187ac62e703e85dce622f70e309be05)
Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When more than one session are created with the same
"AllowedInterface", connman failed to update nat-
postrouting rules when new IP address was got
(From OE-Core rev: 918754c8e855dea07a49e30b6ff1d3e3dd7530c7)
Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
Warning: failed to load Config_git.pl, something strange about this perl
(From OE-Core rev: de2530a01dfa18919a81b957c01978b42f589f5f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current conflicting use of SDKDEPLOYDIR causes a race between do_populate_sdk
and do_populate_sdk_ext potentially causing the SDK to either go missing or the
build to fail.
(From OE-Core rev: 792cfbab488782a7bd610fc2078077d5497be4d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gdbm module wasnt being built on python3-native showing the following
error during compilation:
Failed to build these modules:
_gdbm
This patch adds the required dependency to fix the compilation problem.
This issue on python3-native caused the manifest creation script to be
unaware of the gdbm library, so this patch also fixes the create_manifest
task for target python, and the manifest file to reflect the changes on
target python as well.
(From OE-Core rev: c47b54aeae5daabb458d6f7118a16257021c1822)
Signed-off-by: Alejandro Hernandez <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runpy allows running modules/scripts with 'python -m foo'
- create explicit python2 and 3 packages rather than the
misc catchall
* python3-setuptools and html.parser RDEPENDS on _markupbase
- add to python3-core rather than misc catchall
* pip3 RDEPENDS on plistlib, http.client
- already packaged in python2, add to python3
- add http/ to -netclient
* "pip3 install" RDEPENDS on encodingds.idna
- encodings.idna packaged in -core, but missing:
- stringprep (move from -codecs to -core)
- unicodedata (move from -codecs to -core)
(From OE-Core rev: 65a85c7db3de8d16ff91a5208a59cc2202d34e5b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
See previous commit (python2 version) for more info, since mostly
everything applies here as well.
Old manifest file had several issues:
- Its unorganized and hard to read and understand it for an average
human being.
- When a new package needs to be added, the user actually has to modify
the script that creates the manifest, then call the script to create
a new manifest, and then submit a patch for both the script and the
manifest, so its a little convoluted.
- Git complains every single time a patch is submitted to the manifest,
since it violates some of its guidelines.
- It changes or may change with every release of python, its impossible
to know if the required files for a certain package have changed
(it could have more or less dependencies), the only way of doing so
would be to install and test them all one by one on separate individual
images, and even then we wouldnt know if they require less dependencies,
we would just know if an extra dependency is required since it would
complain, lets face it, this isnt feasible.
- The same thing happens for new packages, if someone wants to add a new
package, its dependencies need to be checked manually one by one.
Features/Fixes:
- A new manifest format is used (JSON), easy to read and understand.
This file is parsed by the python recipe and python packages
read from here are passed directly to bitbake during parsing time.
- It provides an automatic manifest creation task (explained on previous
commit), which automagically checks for every package dependencies and
adds them to the new manifest, hence we will have on each package
exactly what that package needs to be run, providing finer granularity.
- Dependencies are also checked automagically for new packages
(explained on previous commit).
This patch has the same features as the python2 version but it differs
in the following ways:
- Python3 handles precompiled bytecode files (*.pyc) differently.
for this reason and since we are cross compiling, wildcards couldnt be
avoided on python3 (See PEP #3147 [1]).
Both the manifest and the manifest creation script handle this
differently, the manifest for python3 has an extra field for cached
files, which is how it lets the user install the cached files or not
via : INCLUDE_PYCS = "1" on their local.conf.
- Shared libraries nomenclature also changed on python3, so again, we
use wildcards to deal with this issue ( See PEP #3149 [2]):
- Fixes python3 manifest, python3-core should be base and everything
should depend on it, hence several packages were deleted:
python3-enum, re, gdbm, subprocess, signal, readline.
- When building python3-native it adds as symlink to it called
nativepython3, which is then isued by the create_manifest task.
- Fixes [YOCTO #11513] while were at it.
References:
[1] https://www.python.org/dev/peps/pep-3147/
[2] https://www.python.org/dev/peps/pep-3149/
(From OE-Core rev: 54ac820b8a639950ccb534dcd9d6eaf8b2b736e0)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The reason we have a manifest file for python is that our goal is to
keep python-core as small as posible and add other python packages only
when the user needs them, hence why we split upstream python into several
packages.
Although our manifest file has several issues:
- Its unorganized and hard to read and understand it for an average
human being.
- When a new package needs to be added, the user actually has to modify
the script that creates the manifest, then call the script to create
a new manifest, and then submit a patch for both the script and the
manifest, so its a little convoluted.
- Git complains every single time a patch is submitted to the manifest,
since it violates some of its guidelines.
- It changes or may change with every release of python, its impossible
to know if the required files for a certain package have changed
(it could have more or less dependencies), the only way of doing so
would be to install and test them all one by one on separate individual
images, and even then we wouldnt know if they require less dependencies,
we would just know if an extra dependency is required since it would
complain, lets face it, this isnt feasible.
- The same thing happens for new packages, if someone wants to add a
new package, its dependencies need to be checked manually one by one.
This patch fixes those issues, while adding some additional features.
Features/Fixes:
- A new manifest format is used (JSON), easy to read and understand.
This file is parsed by the python recipe and python packages read
from here are passed directly to bitbake during parsing time.
- It provides an automatic manifest creation task (explained below),
which automagically checks for every package dependencies and adds
them to the new manifest, hence we will have on each package exactly
what that package needs to be run, providing finer granularity.
- Dependencies are also checked automagically for new packages (explained below).
- Fixes the manifest in the following ways:
* python-core should be base and all packages should depend on it,
fixes lang, string, codecs, etc.
* Fixes packages with repeated files (e.g. bssdb and db, or
netclient and mime, and many others).
- Sitecustomize was fixed since encoding was deprecated.
- The JSON manifest file invalidates bitbake's cache, so if it changes
the python package will be rebuilt.
- It creates a solution for users that want precompiled bytecode files
(*.pyc) INCLUDE_PYCS = "1" can be set by the user on their local.conf to
include such files, some argument they get faster boot time, even when the
files would be created on their first run?, but they also sometimes give a
magic number error and take up space, so we leave it to the user to
decide if they want them or not.
- Fixes python-core dependencies, e.g.
When python is run on an image, it TRIES to import everything it needs,
but it doesnt necessarily fails when it doesnt find something, so even if
we didnt know, we had errors like (trimmed on purpose):
# trying /usr/lib/python2.7/_locale.so
# trying /usr/lib/python2.7/lib-dynload/_locale.so
# trying /usr/lib/python2.7/_sysconfigdata.so
while it didnt complain about _locale it should have imported it,
after creating a new manifest with the automated script we get:
# trying /usr/lib/python2.7/lib-dynload/_locale.so
dlopen("/usr/lib/python2.7/lib-dynload/_locale.so", 2);
import _locale # dynamically loaded from /usr/lib/python2.7/lib-dynload/_locale.so
How to use (after a new release of python, or maybe before every OE
release):
- A new task called create_manifest was added to the python package,
which may be invoked via:
$ bitbake python -c create_manifest
This task runs a script on native python on our HOST system, and since
the python and python-native packages come from the same source, we can
use it to know the dependencies of each module as if we were doing it
on an image, this script is called create_manifest.py and in a very
simplistic way it does the following:
1. Reads the JSON manifest file and creates a dictionary data structure
with all of our python packages, their FILES, RDEPENDS and SUMMARY.
2. Loops through all of them and runs every module listed on them
asynchronously, determining every dependency that they have.
3. These module dependencies are then handled, to be able to know which
packages contain those files and which should RDEPEND on one another.
4. The data structure that comes out of this, is then used to create a
new manifest file which is automatically copied onto the user's python
directory replacing the old one.
Create_manifest script features:
- Handles modules which dont exist anymore (new release for example).
- Handles modules that are builtin.
- Deals with modules which were not compiled (e.g. bsddb or ossaudiodev)
- Deals with packages which include folders.
- Deals with packages which include FILES with a wildcard.
- The manifest can be constructed on a multilib environment as well.
- This method works for both python modules and shared libraries used
by python.
How to add a new package:
- If a user wants to add a new package all that has to be done is
modify the python2-manifest.json file, and add the required file(s)
to the FILES list, the script should handle all the rest.
Real example:
We want to add a web browser package, including the file webbrowser.py
which at the moment is on python-misc.
"webbrowser": {
"files": ["${libdir}/python2.7/lib-dynload/webbrowser.py"],
"rdepends": [],
"summary": "Python Web Browser support"}
Run bitbake python -c create_manifest and the resulting manifest
should be completed after a few seconds, showing something like:
"webbrowser": {
"files": ["${libdir}/python2.7/webbrowser.py"],
"rdepends": ["core","fcntl","io","pickle","shell","subprocess"],
"summary": "Python Web Browser support"}
Known errors/issues:
- Some special packages are handled differently: core, misc,
modules,dev, staticdev.
All these should be handled manually, because they either include
binaries, static libraries, include files, etc. (something that we
cant import).
Specifically static libraries are not not supported by this method
and have to be handled by the user.
- The change should be transparent to the user, other than the fact
that now we CANT build python-foo (it was pretty dumb anyway, since
what building python-foo actually did was building the whole python
package anyway), but doing IMAGE_INSTALL_append = " python-foo"
would create an image with the requested package with no issues.
[YOCTO #11510] [YOCTO #11694] [YOCTO #11695]
(From OE-Core rev: 6959e2e4dba5bbfa6ffd49c44e738cc1c38bc280)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "bitbake image -cpopulate_sdk/ext" generates SDK/eSDK for all multilib
variants, so "bitbake lib32-image -cpopulate_sdk/ext" is not needed, and it
doesn't work well, for example:
MACHINE ?= "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
$ bitbake lib32-core-image-minimal -cpopulate_sdk_ext
[snip]
Exception: FileExistsError: [Errno 17] File exists: '/buildarea/lyang1/test_q64/tmp/sysroots-components/core2-64/openssl/sysroot-providers/openssl10' -> '/buildarea/lyang1/test_q64/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/lib32-recipe-sysroot/sysroot-providers/openssl10'
[snip]
The problem is populate_sdk_ext installs all multilib variants, and
extend_recipe_sysroot() handles foo-image depends lib32-foo-image, but doesn't
handle lib32-foo-image depends foo-image, we can use a lot of trick ways to make
it work:
1) Get foo-image's RECIPE_SYSROOT when build lib32-foo-image
2) Handle conflicts with foo-image.do_rootfs
3) Handle conflicts when "bitbake lib32-foo-image foo-image -cpopulate_sdk_ext"
And maybe other potential problems, this looks painful, so just delete the task.
[YOCTO #12210]
(From OE-Core rev: 77144bc808be02deb3351c9c1bf5b4f2b8c3a6ec)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade tiff from 4.0.8 to 4.0.9.
2.Delete CVE-2017-10688.patch, CVE-2017-11335.patch, CVE-2017-13726.patch, CVE-2017-13727.patch, CVE-2017-9147.patch, CVE-2017-9936.patch, since it is integrated upstream.
(From OE-Core rev: df894b523d74f8fd723d1c8fb03f55e46c6af0f5)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- This release features JSON output for many commands and greater
support of offloading to hardware.
- Config is changed to config.mk
(From OE-Core rev: d633f99cbb4b72876953667b23076ade51c063f0)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the cmake class to use Ninja instead of Make by default.
If a recipe is broken with Ninja then the recipe can set OECMAKE_GENERATOR="Unix
Makefiles" to change back to Make.
(From OE-Core rev: bacaa26decb8a1e3fa672e1923954793fde48766)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add OECMAKE_GENERATOR variable to control which generator is used by CMake,
defaulting to the upstream default of Unix Makefiles for now. The other
supported option is Ninja, which is faster than Make for large projects (for
example, using Ninja takes three minutes off webkitgtk:do_compile for me).
(From OE-Core rev: 6e3f719076cab469f56cd1555bd219a5c3fd135d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, we include MESON_C_ARGS in write_config[vardeps], but we
don't include MESON_LINK_ARGS, which also affects meson.cross. In
addition, we include TOOLCHAIN_OPTIONS, from which both are derived.
Add MESON_LINK_ARGS, and remove TOOLCHAIN_OPTIONS, which does not
directly appear in meson.cross and should be pulled in indirectly by
MESON_C_ARGS and MESON_LINK_ARGS.
(From OE-Core rev: 4db37cc8d9139076682e2528d29e92fad2eb1c90)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, CFLAGS and CXXFLAGS are not making it into the compile line.
This is because meson appends CFLAGS/CXXFLAGS from the environment only
for native but not for cross builds (probably to keep cross-builds more
isolated). As a result, we need to make sure these vars goes into
meson.cross. This is similar to what cmake.bbclass does with
OECMAKE_C_FLAGS and OECMAKE_CXX_FLAGS.
Change c_args and cpp_args in meson.cross to include these vars, and
update write_config[vardeps] accordingly.
(From OE-Core rev: f435d1b75d3775f6ec0df6027766008b40209fd7)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE manages all the compile flags, so we don't want meson to inject its
own flags. Currently, it's injecting -O0 and causing build breaks when
security flags are enabled (because _FORTIFY_SOURCE requires an
optimized build and meson defaults to a debug -O0 build).
Add --buildtype plain so meson will not add its own optimization flags.
(From OE-Core rev: 73ff85986d82c8da601d7c7cf9a02961f2f66a09)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 3.10.1 version has been in Dec 13, 2017, and has a great set of
features and improvements since the last upgrade.
The release notes of 3.10 release is available at:
https://cmake.org/cmake/help/v3.10/release/3.10.html
Patches updates:
- cmake-Prevent-the-detection-of-Qt5.patch: so it replaces the sed
command calls inside the cmake.inc
- 0001-FindCUDA-Use-find_program-if-find_host_program-is-no.patch:
merged upstream, so it has been removed.
- support-oe-qt4-tools-names.patch: rebased.
License-checksum-change: added new contributors
(From OE-Core rev: 9e58926f1cea9d5cb18cb923855d1ae98f88a8ac)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the case of a fitImage the this step should be done on the
image use to assemble the fitImage.
(From OE-Core rev: a061c6bfd3a049a2c8d14bcfafd6e1837afb95e5)
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The order of '_append' and '_<override>' matters: '_append' must be
before overrides to have any effect.
Fix this in glib-2.0, so that EXTRA_OECONF is appended instead of
overwritten.
(From OE-Core rev: d5f108349c0c052347b46fb7a8ed30fdec2b15c2)
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we only seed gettext's msgfmt as /bin/false for native builds, explicitly set
USE_NLS to yes in the recipe (as it was previously) for targeget and nativesdk
builds.
(From OE-Core rev: 1b1f382af69a2d63f2ddd526cde430fb68c9ca6e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add it to handle recipe-depends.dot and task-depends.dot. E.g.:
* Print why rpm is built
$ oe-depends-dot -k rpm --why/-w recipe-depends.dot
Because: core-image-sato libdnf libsolv dnf
* Print bzip2-native's depends
$ oe-depends-dot -k bzip2-native --depends/-d recipe-depends.dot
Depends: automake-native gnu-config-native libtool-native quilt-native autoconf-native
* Remove duplicated dependencies to reduce the size of the dot files.
For example, A->B, B->C, A->C, then A->C can be removed. The dot files are too
big, we nearly couldn't use 'dot -T' to generate pictcures for target recipes,
remove the duplicated dependencies makes is it possible.
$ bitbake core-image-sato -g
$ oe-depends-dot -r recipe-depends.dot
Saving reduced dot file to recipe-depends-reduced.dot
$ du -sh recipe-depends*.dot
608K recipe-depends.dot
32K recipe-depends-reduced.dot
It has been recuded from 608K to 32K, now we can generate a picture,
otherwise, it is too big:
$ dot -Tpng recipe-depends-reduced.dot -O
It also can handle task-depends.dot.
(From OE-Core rev: 7dc7860691304d63e7ad728d2180474906fe0a5c)
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>
Update the SRC_URI to point to kernel.org location where
i2c-tools is hosted these days.
Remove Modules.mk since it was used for deprecated binaries
(eepromer, eeprom)
Backported the following patches to fix races during build:
a) 0001-tools-Module.mk-Add-missing-dependencies.patch
b) 0001-i2c-tools-eeprog-Module.mk-Add-missing-dependency.patch
c) 0001-lib-Module.mk-Add-missing-dependencies.patch
(From OE-Core rev: f330e9f64b69de09284da765ca1e869099ec49ae)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.3.7 -> 1.4.0
Removed following upstreamed and backported patches:
1. 0001-stdinc.h-fix-build-with-mingw.patch
2. 0001-Minimal-tweaks-to-compile-with-Visual-C-2015.patch
Change in checksum is due to bump in copyrights to 2018.
(From OE-Core rev: 85e215ca46d8d413c000f0e0675840ab460e4a5b)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Firmware files for VPU and GPU found on various Qualcomm based devices, such as
Dragonboard 410c and/or Dragonboard 820c.
* venus-1.8 and adreno-a3xx firmware are VPU and GPU for Qualcomm APQ8016 SoC
* venus-4.2 and adreno-a530 firmware are VPU and GPU for Qualcomm APQ8096 SoC
(From OE-Core rev: 687d71982a88f1db91316d646ecaeaf07ab88e7a)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove build host references from the internally
generated file version.c. The references get compiled into
executables, which leads to non-reproducible builds.
The removed references (--sysroot, -fdebug-prefix-map) were
only used as part of the `wget --version' which do not have
side effect.
(From OE-Core rev: c7fc89c136311c69bc96edf110e988f1be691781)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some people are no longer working on oe-core, so reassign their packages.
(From OE-Core rev: d4c7091362569af08ea67d57925ffb91579ce3bd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script was unused since yocto-bsp tool had been removed.
(From meta-yocto rev: 594ced59dc80c11d573ae4a16e1aff910a8d9300)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
since it has been fixed upstream.
(From OE-Core rev: 6b87ad5b08004554f08d2f68027908956f3795e1)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There isn't currently any tune available for i686 x86 optimizations.
The tune for i586 doesn't enable i686 specific optimizations, and the
one for core2 enables things that won't work on a i686 CPU (like SSE3).
Make the tune for core2 inherits from this one and move there the
setting of X86ARCH32.
(From OE-Core rev: c08f76ba0654e43074b6b964f728765918dbfb09)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream configure fix for hosts that have multiple users with UID
0 or groups with GID 0.
(From OE-Core rev: f0f92d3d0f42a4a7e521b58dac53e14f9e2572a1)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sort the output to ensure reproducibility.
Fixes [YOCTO #12479]
(From OE-Core rev: 287446f5c0f3108efc0429bf84be45413970b7a8)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Colour value removes in red and additions in green, making it easier to scan the
output for relevant changes.
This adds a --colour option to specify whether colouring should be on, off, or
detected. The default is detected, and depends on whether stdout is a TTY (same
behaviour as git).
(From OE-Core rev: 4208f1546c92f069e432d1865269ce539db8cea7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the latest QEMU release 2.11. Remove all patches that are no longer
required as they have been merged into the 2.11 releaese. One patch had
to be updated to apply to the 2.11 tree.
This also applies a linux user patch to avoid webkitgtk build hangs.
(From OE-Core rev: d6d0d99569e0d8b62a61e27d389e7939af45bab9)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "oldnoconfig" target has been supported since Linux 2.6.36.
According to OLDEST_KERNEL, the oldest kernel currently supported by
OE is 3.2.0, so the fallback to yes '' | make oldconfig is no longer
required.
(From OE-Core rev: 6abee5468e05333fbd9bd5ac8fc203a749ae3b3e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is old and was of it's time, rewrite it to use modernish (we support
Python 3.4, so can't use subprocess.run()) subprocess and re idioms instead.
(From OE-Core rev: 8f7fdab41b8d6aced6753920bb5deed147c9baa8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing code is looking for libraries in all paths which end in ${libdir}.
This caused false-positives for recipes such as lz4 which had files called
/usr/lib/lz4/ptest/usr/lib/liblz4.so, and resulted in lz4-ptest being
incorrectly renamed to liblz4.
Solve this by explicitly looking for ${libdir} etc under the packages-split
directory.
(From OE-Core rev: 7b1896f6f5367010b54c6a8b300db84037734533)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 0.3.2 version has been released in Oct 19, 2017, and has a great
set of features and improvements, as seen in the announcement summary:
,----
| NEW FEATURES:
|
| - Add support for importing from gvt and gb. (#1149)
| - Wildcard ignore support. (#1156)
| - Disable SourceManager lock by setting DEPNOLOCK environment
| variable. (#1206)
| - dep ensure -no-vendor -dry-run now exits with an error when
| changes would have to be made to Gopkg.lock. This is useful
| for CI. (#1256)
|
| BUG FIXES:
|
| - gps: Fix case mismatch error with multiple dependers. (#1233)
| - Skip broken vendor symlink rather than returning an error. (#1191)
| - Fix status shows incorrect reason for lock mismatch when ignoring
| packages. (#1216)
|
| IMPROVEMENTS:
|
| - Allow dep ensure -add and -update when lock is out-of-sync. (#1225)
| - gps: vcs: Dedupe git version list (#1212)
| - gps: Add prune functions to gps. (#1020)
| - gps: Skip broken vendor symlinks. (#1191)
| - dep ensure -add now concurrently fetches the source and adds the
| projects. (#1218)
| - File name case check is now performed on Gopkg.toml and Gopkg.lock.
| (#1114)
| - gps: gps now supports pruning. (#1020)
| - dep ensure -update now concurrently validates the passed project
| arguments. Improving performance when updating dependencies with
| -update. (#1175)
| - dep status now concurrently fetches repo info. Improving status
| performance. (#1135)
| - gps: Add SourceURLsForPath() to SourceManager. (#1166)
| - gps: Include output in error. (#1180)
`----
(From OE-Core rev: d5e1003283f21ed0b3bbe594b24eb4fa1dd27956)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2.4.89 version has been released in Dec 18, 2017, and has a great
set of features and improvements, as seen in the announcement summary:
,----
| libdrm release with leasing and syncobj api updates,
| updated amdgpu marketing ids, amdgpu tests,
| updated uapi headers
| etnaviv updates.
`----
The full announcement can be seen at:
https://lists.freedesktop.org/archives/dri-devel/2017-December/160530.html
(From OE-Core rev: a776a8190d5abee97da8684d4c448e3ed7bb7fb8)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Simply override the install target, instead of reimplementing do_install.
Apart from being neater, this also stops the recipe expecting that cmake is
using the Make backend.
(From OE-Core rev: 9fec5ef920bd63fe3cc2e623add0c7aead95ecae)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't hardcode the targets used in do_compile and do_install, instead build
"all" and "install" by default but respect OECMAKE_TARGET_COMPILE and
OECMAKE_TARGET_INSTALL variables.
(From OE-Core rev: 806765ec466597d38231d4be303cb48c26e21466)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The XZ format is widely used and multiple recipes inside OE-Core
already use it, so making the XZ enabled by default align the
expectation of users. The LZO, on the other side, is commonly used in
embedded systems due its performance so it makes sense to be available
by default.
(From OE-Core rev: 6d24b0bc7ebddd10de5ad8f210b8ed85fc6ae769)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The order was wrong: GST_PLUGIN_SCANNER_1_0 was previously set before
GTKDOC_EXTRA_ENVIRONMENT and so was overriden by upstream setting it
from there. This changes the location of GST_PLUGIN_SCANNER_1_0 setting
to come after GTKDOC_EXTRA_ENVIRONMENT.
(From OE-Core rev: 62e12a4c81e57f955d9e631e27bd64368058da6c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE file contains a list of files and addtional files were added to
the list, license was unchanged.
(From OE-Core rev: f6372633b481fc267c1983a5276616513ec778a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11675]
There was a "hambedded" link that was broken. The link was
intended to show the bitbake.conf file. I replaced it
with the link to show the actual bitbake.conf file.
(Bitbake rev: ec0331cc039ab514d719ed34cec7a0a351c8d52b)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BitBake now fires off one "BuildStarted" event per configuration when
it is configured for multiple configurations (multiconfig). I updated
the bullet item for "bb.envent.BuildStarted()" to indicate that
behavior.
(Bitbake rev: 28720c85e64a56677b71d2170a0a07901d52b180)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In line with the other gettext cleanups, drop the nativesdk-gettext dependency
as it isn't needed (similarly to the previous target gettext dependencies).
This then means we can drop DEPENDS_GETTEXT as there are no other users.
(From OE-Core rev: c43c054cb778e0c5c082996cd6e6c45f5fc9e1bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoids:
Meson encountered an error in file po/meson.build, line 58, column 5:
Can not do gettext because xgettext is not installed.
(From OE-Core rev: 4505c3282fdedd469325e24bd71edb3d2532a1ab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ls.c license checksum is changed, but the license remains the same.
* The backported patch 0001-doc-fix-Up-field-of-realpath-usage-examples.patch
is dropped.
* The new version provides native manual page support, there's no
need to download extra manual page from gentoo site.
* man-decouple-manpages-from-build.patch is removed, as new version
has manual page support in environment lacking of perl.
* hostname is explicitly enabled to keep the same with previous recipe's
behaviour.
* ALTERNATIVE_XXX settings for lbracket.1 are removed as there's no such
file.
(From OE-Core rev: 77c6b5eb7b4b4254a3fc90337e93691baed7cc7e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By removing gettext-native as a build dependency in glib-2.0-native we can delay
the build of gettext-native further. The gettext class will add the dependency
for target builds.
Don't forcibly set USE_NLS=yes so that NLS support is supposedly disabled in
native builds. GLib will then force it back on, but we shouldn't be using it in
any other native recipes so seed the autoconf cache so GLib will run /bin/false
instead of msgfmt. Quite a kludge, but it works and should fail obviously if
the kludge stops being sufficient.
(From OE-Core rev: 1ef45d377519983df827650cd0913e0d2c8a785b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only inherit these classes (and so, add perl-native and python-native to
DEPENDS) if the scripting PACKAGECONFIG is actually enabled.
(From OE-Core rev: 6d56f14a7276f076dfe625bc4d2c16a6a4635153)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 7ea36ee introduced a svc_freeargs() call
that ended up freeing static pointer.
It turns out the allocations for the rmt_args
is not necessary . The xdr routines (xdr_bytes) will
handle the memory management and the largest
possible message size is UDPMSGSIZE (due to UDP only)
which is smaller than RPC_BUF_MAX
(From OE-Core rev: 1d78875de924d794130c86b27ed516a1df40a59d)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Under some conditions, ioctl FIGETBSZ can't return real value.
We can try to use fallback via os.stat() to get block size.
Source of patch:
17365f4fe9
(From OE-Core rev: d8f7cf2d38934c248be91101236f7537d0d31ea7)
Signed-off-by: Dogukan Ergun <dogukan.ergun@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
possible bashism in run.do_install line 163 (should be 'b = a'):
if [ "kernel" == "kernel" ]; then
Fixes "[: kernel: unexpected operator" when not using bash by default,
which causes the default kernel image link to not be created.
(From OE-Core rev: 9d82fffd24742a5eb40bcb9b9ecea01a42be0be6)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ oe-selftest -r devtool.DevtoolTests.test_create_workspace
[snip]
2017-12-20 18:28:59,404 - oe-selftest - INFO - Traceback (most recent call last):
File "/workspace2/lyang1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
return func(*args, **kwargs)
File "/workspace2/lyang1/poky/meta/lib/oeqa/selftest/cases/devtool.py", line 177, in test_create_workspace
self.assertTrue('/workspace' not in result.output, 'This test cannot be run with a workspace layer in bblayers.conf')
AssertionError: False is not true : This test cannot be run with a workspace layer in bblayers.conf
[snip]
$ bitbake-layers show-layers
NOTE: Starting bitbake server...
layer path priority
==========================================================================
meta /workspace2/lyang1/poky/meta 5
meta-poky /workspace2/lyang1/poky/meta-poky 5
meta-yocto-bsp /workspace2/lyang1/poky/meta-yocto-bsp 5
meta-selftest /workspace2/lyang1/poky/meta-selftest 5
There is no workspace layer, but I'm in /workspace2, this patch can fix the problem.
[YOCTO #12442]
(From OE-Core rev: 695b234ea4f034d428f8cffacceabc2b8f00bc74)
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>
The value was hardcoded from the time it couldn't be computed, which
is no longer the case. After C99 'bool' is only defined if stdbool.h
is included, it's implementation defined and not required to be 1, so
caching it doesn't make sense and certain recipes whoose code test
ac_cv_sizeof_bool fail to build.
(From OE-Core rev: 15af2d527d582ef181d6b9c042844aa89f991f0b)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We usually forcibly delete any gettext macros we come across to ensure that the
latest versions we ship are used, but if we're building gettext then it's a bad
idea to delete the gettext macros.
Historically this hasn't been a problem as the top-level gettext configure
doesn't use AM_GNU_GETTEXT so the deletion was never done, but this may change.
(From OE-Core rev: f16657df977e54210774812d4e616403c76eb060)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to Makefile in latest version mean when "make -k runtests" is executed,
it leads to errors like:
| make: *** No rule to make target 'runtest.c', needed by 'runtest.o'.
| make: *** No rule to make target 'SAX.c', needed by 'SAX.lo'.
| make: *** No rule to make target 'entities.c', needed by 'entities.lo'.
| make: *** No rule to make target 'encoding.c', needed by 'encoding.lo'.
Make sure that we don't try to check and compile the tests again on the target.
(From OE-Core rev: 5cf92ca436e1a1ba60fec8b30b6cb3cfd4842bc8)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch chardev-connect-socket-to-a-spawned-command.patch calls
"socketpair". This function is missing in mingw, so the patch
needs to be modified accordingly, otherwise we end up with a broken
mingw build.
While it is possible to simply remove the patch on a recipe level for
mingw platform, it makes more sense to modify the patch itself.
(From OE-Core rev: fd978a5ddf6938404f2043c9f9ede47dcdb47180)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't have /etc/netgroup by default, so do not
cache for netgroup by default to avoid:
nscd[529]: 529 disabled inotify-based monitoring for file `/etc/netgroup': No such file or directory
nscd[529]: 529 stat failed for file `/etc/netgroup'; will try again later: No such file or directory
(From OE-Core rev: 10007bcd30a96470059f9d5b19cf698243486f06)
(From OE-Core rev: 0adedfc2bf8981819fbbf8b1884da44c7082d1a6)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using TARGET_CC_ARCH is inconsistent with CC, which uses HOST_CC_ARCH, and the
rest of meson.bbclass, which uses HOST_PREFIX, HOST_OS, etc.
(From OE-Core rev: 8a61e0c0c53275ebc623296f46676d920b11eb3b)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/tclibc-glibc.inc weakly assigns PREFERRED_PROVIDER
for virtual/libc-locale to glibc-locale, but allows adjusting it if needed.
Hence, bash should not depend on glibc-locale directly, but instead use this
virtual/libc-locale variable.
(From OE-Core rev: 6454c610eb6565360d29334f5f19845758dbf2c6)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make 'wic' image creation tool/command available in eSDK
environment. This would allow eSDK users to manipulate
images within eSDK environment.
[YOCTO #12177]
(From OE-Core rev: 90df6758a9f8753c646b129aa912e3849bf4c987)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we run wic within eSDK:
$ wic create mkefidisk -e core-image-minimal
ERROR: BUILDDIR not found, exiting. (Did you forget to source oe-init-build-env?)
In order to figure out variable values, one must have sourced
the OE build environment setup script. However, when we are in
within the eSDK environment which isn't initialised like the
normal OE build environment, we can't use wic utility with eSDK.
Reference:
https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#wic-requirements
While wic ought to be fixed to be able to run without bitbake
& native tools [YOCTO #11281], but this is a workaround to set
BUILDDIR in the environment so that bitbake environment is setup
for wic to build its required native tools.
(From OE-Core rev: 03fa13a269d2887cc5d13fd474fb39a2be037f2c)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic modules in scripts/lib/ are needed for wic to work, but path to
the python module is not exported in eSDK environment and we were
using an absolutized path of wic script within the sysroots.
We now changed to use real script path instead, where the wic modules
are located. This will also resolved the tracebacks found when running
wic from within the eSDK environment.
Traceback (most recent call last):
File "/tmp/deploy/sdk/poky_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/wic", line 58, in <module>
from wic import WicError
ImportError: No module named 'wic'
(From OE-Core rev: dcea30b885797ece3439cf1201795a975628d664)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic needs a set of tools to be available from sysroots.
wic will find bitbake executable within the environment,
and wic was unable to locate bitbake executable within eSDK
because it wasn't setup with the OE build environment script.
Hence, we need to add bitbake file path into the environment
PATH for wic to be able to discover it and import bb modules.
(From OE-Core rev: 89df0d31c9dd22ceba4c95a2a56ca78e58d871a8)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the scriptpath module in order to standardize the adding of
bitbake and meta/lib path to sys.path.
(From OE-Core rev: 8aba1fd023ce3c6767bf42b9faf9ec14fd7c4d02)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gentoo.osuosl.org mirror doesn't store all versions of pax-utils, so use the
maintainers own mirror which stores them all.
This also means we can remove UPSTREAM_CHECK_URI as the defaults work now.
Thanks to Maxin John for the initial patch.
[ YOCTO #11559 ]
(From OE-Core rev: aa370eee85f25585e91a5fd0030a606142c07e72)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Usually bison-native gets into sysroot through indirect dependencies,
even with RSS. But when bison-native is not in sysroot, due to different
system config, it falls back to using "yacc" instead and fails like this:
| yacc -d parsetime.y
| make: yacc: Command not found
| Makefile:82: recipe for target 'y.tab.c' failed
| make: *** [y.tab.c] Error 127
(From OE-Core rev: e6b350c63720ef3ce8e53b73581a02416cb1f7fe)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly depend on bison-native and flex-native for deterministic builds,
as those are required for the build:
| Makefile.config:129: *** Error: flex is missing on this system, please install it. Stop.
| Makefile.perf:205: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:68: recipe for target 'all' failed
| make: *** [all] Error 2
| Makefile.config:133: *** Error: bison is missing on this system, please install it. Stop.
| Makefile.perf:205: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:68: recipe for target 'all' failed
| make: *** [all] Error 2
In most cases, those dependencies come indirectly via toolchain dependencies,
specifically binutils-cross, which pulls both bison-native and flex-native.
Different setups, such as with external toolchain, would expose this problem,
since correct dependency is not marked explicitly.
The change is build-tested on all qemu architectures.
(From OE-Core rev: 5f4b54a234ad7a859db8a1e23c6892a8b3bc1b52)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to append to DEPENDS else the dependencies on bison/flex-native
are lost, potentially resulting in build failures.
(From OE-Core rev: bead76b50dc60e1b6b39fa5b659a7af44ff91adc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for all stages of the cross/target/canadian compilers
and without it (and with indirect gcc dependencies disabled), the steps
fail. Add missing dependencies.
(From OE-Core rev: e7be4aedd4f1e23c596a8cae0437bc5c187787e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gettext has optional dependencies on libxml2, glib, libcroco and libunistring.
If they're not available then gettext will use internal copies, but it can also
use system libraries.
For gettext-native and nativesdk-gettext continue to use the internal copies to
reduce the dependencies, but for target use the system shared libraries.
Also gettext 0.19.7 onwards swapped expat for libxm2, so remove the build
dependency on expat.
(From OE-Core rev: a82aa376a9229428ec25629e97a1efa56f0afae7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-glib-2.0 doesn't build-depend on nativesdk-gettext, but all variations
need to depend on gettext-native as they need msgfmt (so gettext-minimal-native
isn't an option).
Also add virtual/libintl as glib explicitly needs this. Generally this is
provided by glibc but some platforms (such as MinGW) don't.
(From OE-Core rev: 8b0ca0cb54c91611213556bdb99316d5e7ac5b3b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using host gpg has been problematic, and particularly this removes
the need to serialize package creation, as long as --auto-expand-secmem
is passed to gpg-agent, and gnupg >= 2.2.4 is in use
(https://dev.gnupg.org/T3530).
Sadly, gpg-agent itself is single-threaded, so in the longer run
we might want to seek alternatives:
https://lwn.net/Articles/742542/
(a smaller issue is that rpm itself runs the gpg fronted in a serial
fashion, which slows down the build in cases of recipes with very
large amount of packages, e.g. glibc-locale)
Note that sstate signing and verification continues to use host
gpg, as depending on native gpg would create circular dependencies.
[YOCTO #12022]
(From OE-Core rev: 08fef6198122fe79d4c1213f9a64b862162ed6cd)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The entries of the created manifest file are always in a
different order. To ensure a deterministic build output
the entries are ordered alphabetically.
(From OE-Core rev: f3b753943d0c886a2a158247d2ea02867f3c0dae)
Signed-off-by: Michael Blättler <michael.blaettler@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The PACKAGE_INSTALL is only used by image recipe, the previous code had
handled it in "if bb.data.inherits_class('image', d)", handle it again
doesn't make any sense (there is no PACKAGE_INSTALL for non-image
recipe), so remove it.
(From OE-Core rev: 6b25c76da51180da7c97308d5f8f5558c68cdca3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It only substituted staging_target for target recipe which didn't work
for multilib, for example, postinst-useradd-lib32-polkit:
* No multilib:
PATH=/path/to/tmp-glibc/work/core2-64-wrs-linux/polkit/0.113-r0/recipe-sysroot-native/bin
staging_target=/path/to/tmp-glibc/work/core2-64-wrs-linux/polkit/0.113-r0/recipe-sysroot
The PATH would be substituted to:
FIXMESTAGINGDIRTARGET-native/bin
Not the funny "-native/bin", this works well.
* When multilib:
PATH=/path/to/tmp-glibc/work/core2-32-wrsmllib32-linux/lib32-polkit/0.113-r0/recipe-sysroot-native/bin
staging_target=/path/to/tmp-glibc/work/core2-32-wrsmllib32-linux/lib32-polkit/0.113-r0/lib32-recipe-sysroot
Now staging_target endswith "/lib32-recipe-sysroot", so it can't
replace '/recipe-sysroot-native' in PATH , so PATH can't be fixed, and
there would be build errors when building multilib + rm_work, for
example:
chown: invalid user: ‘polkitd:root’
Substitute staging_host for target recipe can fix the problem, now all
of native, cross and target need substitute staging_host, so we can
simply the code a little.
(From OE-Core rev: 087510795331fa21ff52f103269087c06b1660fa)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we migrated rpm v5 -> v4, we lost the ability to drop "per file"
dependencies from the rpm backend for things like "/bin/bash" and
"/usr/bin/env" which meant the sdks were becomming 'bloated'.
This restores the functionality using a dummy package, similarly to
the way the buildtools perl issue was addressed. It also removes
the non-functional old code so as not to confuse people in future.
I ran into this problem trying to filter dependencies to only rpms
a build directly depends upon and it turns out we have some determinism issues
in this area so this is something key to fix.
(From OE-Core rev: 9d490dc01dcedb216129b22cbe17a6c99efc4f5c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can end up with / in dependency names from file dependencies but the
deb format doesn't allow this. Filter the names to allow such dependencies
to work. Names have to start with an alphanumeric digit so also handle this.
This allows for future handling of "per file" dependencies similarly to
the rpm backend, bring parity to the functionality of the backends.
(From OE-Core rev: fc08972688d784f561c8be88d3100d6baaf22070)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These were added to the avahi-dev package back in 2011 before avahi-ui existed
at all. The problem of GTK+ being pulled in via avahi-dev was finally solved
with the avahi-ui split, so these explicit (and by being manually maintained,
incomplete) dependencies can be removed.
This also results in gettext-dev being removed from the dependency tree (the
gettext library API is provided by glibc/musl), which means that for a standard
image we don't need to build target gettext at all anymore.
(From OE-Core rev: 00ae3e03185f1044f3610dc7ba7da7bd3beb868a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that oe-core only has one copy of m4, there's no need to maintain two inc
files.
(From OE-Core rev: a67391afd7fe8b7dc40e49c66cfd6250a077361c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DEPENDS_GETTEXT defaults to gettext-native, so there's no need to set it again
in these classes.
(From OE-Core rev: 5e4b1915e7a5a94d410c5292b5ed2f447c82b18a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added in 2007 to solve unspecified build errors, but the autotools
support has improved a lot since then and nothing breaks with it removed.
(From OE-Core rev: 8b5243a7771f728fd34a7466ab24e9ff98d20d84)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In native builds USE_NLS is set to 'no' so the gettext class will handle adding
gettext-minimal-native to DEPENDS.
(From OE-Core rev: ab49d1c03ba3e473a0da6a800d00b2ceba8e855a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
m4.patch was added before 2005 (history isn't in git, only BitKeeper) and
doesn't appear to be needed anymore.
Also add a comment to clarify why acpaths is required.
(From OE-Core rev: 1ef90df9c5cc628c885897027d8c5ec6f318d68e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of globally clearing EXTRA_AUTORECONF (which by default currently
contains --exclude=autopoint) use _remove to selectively remove the piece we
care about.
(From OE-Core rev: 93fe0f5044d30407c9afc69cbb570a82b6c82e5d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a fetcher, e.g., git, is run when pseudo is active it will think it
is running as root. If it in turn uses ssh (as git does), ssh too will
think it is running as root. This will cause it to try to read root's
ssh configuration from /root/.ssh which will fail. If ssh then needs to
ask for credentials it will hang indefinitely as there is nowhere for it
to ask the user for them (and even if there was it would not access the
correct private keys).
The solution to the above is to temporarily disable pseudo while
executing any fetcher commands. There should be no reason for them to be
executed under pseudo anyway so this should not be a problem.
RP Ammendum:
We finally did get more information about how to reproduce this problem,
something needs to trigger bb.fetch2.get_srcrev() in a pseudo context,
for example when AUTOREV is in use or the recipe doesn't have a defined
SRCREV. That SRC_URI needs to be using protocol=ssh. This would trigger
an ls-remote of the remote repo and if that happens under pseudo, the
wrong ssh credentials may be attempted which can hang.
[YOCTO #12464]
(Bitbake rev: ceaca281cafa662aa2385b95641bce309dce843d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cfg property on events doesn't add much, all code appears to access
"data" at this point. Remove it to clean up the interface.
(Bitbake rev: bd4b9e4460b60f142c3bf346fb04e360e512eaee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure build host references do not end up being compiled in the image.
This only affects libicutu and icu-dbg.
(From OE-Core rev: e9dfe7eb7f61b909ae7d034e80cfbebc1fad018b)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve reproducibility: Remove all build host references from
distributed files.
Do not package non-linux OS related files.
Also remove some additional files not needed by run-ptest. (There are
probably still more files that can be removed, but as long as they
don't leak build host references they are harmless).
Fix the expected checksum of MakeMaker/lib/ExtUtils/Liblist/Kid.pm
to match the one expected: We modified the file, but did not
recalculate/update the file checksum accordingly.
(This fixes the only failing test.)
(From OE-Core rev: 497b28d9ff0c094768462991709bfb19efa0fa56)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove various build host references scattered within
comments in numerous files that are distributed in the package.
(From OE-Core rev: a924ea675de846f9582a9a6a9b334be1f74f826d)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't have latex2man in HOSTTOOLs so documentaion is never built but this
dependency does cause problems on older releases like morty, pre-HOSTTOOLS.
Document the configuration explicitly in master.
(From OE-Core rev: 95a5ab819df324e7ec8068bb3575e55cad022e3a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4.9 and 4.12.
(From meta-yocto rev: f77e7b8c816742fbf5790f11997746958c593f1e)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
seds can get stale without warning and repeated application can cause problems,
so move the gtk-doc seds into a patch.
(From OE-Core rev: a704411ab0f1e5f8cbf57ff54b36d60ccaf0d223)
(From OE-Core rev: e0a4e78b879eeacff8ef6803c1345056abf018e7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake.bbclass now ensures that ${datadir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.
(From OE-Core rev: bb70e05e709d1e1bb1e2a490d1de244fba703f54)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake.bbclass now ensures that ${libdir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.
(From OE-Core rev: 24ff3202f9177bc9f2186404ca7abda01d09580f)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake.bbclass now ensures that ${libdir}/cmake and ${datadir}/cmake end up
in the dev package, so this recipe doesn't need to do so itself.
(From OE-Core rev: f6b4f06c5b11860f02b896286471b5cbb57b66ae)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake.bbclass now ensures that ${libdir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.
(From OE-Core rev: d860e2f36f3561532972edd04062392a40a0c8d6)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake.bbclass now ensures that ${datadir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.
(From OE-Core rev: f8f260aae265c682e404b0e89615fb6ef5b76601)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various recipes that inherit cmake contain FILES_${PN}-dev magic to add the
generated package files to their -dev packages. Since this is a standard
feature of cmake, we might as well teach cmake.bbclass to do this itself so
those recipes can be simpler.
(From OE-Core rev: d91dc4666683a96e9d03cbbd21b8a546f9069c93)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this the paths to git-make-shallow are incorrect and cause test
failures if bitbake isn't executed from cwd or PATH.
(Bitbake rev: 643eacb162b8710330ef292bfda21cfeab97f95c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change adds EventClassesTest class to bb/tests/event.py,
including 47 new test cases for the public interfaces of the
bitbake event and related helper classes.
[YOCTO #10773]
(Bitbake rev: ee5fe4431713b8a29bdb424a29460965374b3234)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change includes unit tests for the following functions,
helper class and methods in bitbake.event:
- set_eventfilter(func)
- set_UIHmask(handlerNum, level, debug_domains, mask)
- getName(e)
- class UIEventFilter(object)
def __init__(self, level, debug_domains)
def update(self, eventmask, level, debug_domains)
def filter(self, event)
[YOCTO #10773]
(Bitbake rev: 4a19dde704fd0bf262ea991ef530f991a4897d31)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are several different manuals by now, all of which produce
output. The "eclipse" directory might even have been present the last
time .gitignore was updated.
Ignore the files and directories that can be generated during "make
DOC=<directory>" as well as "make DOC=<directory> pdf". While at it,
make sure the patterns only match for the top-level documentation
directory.
Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It had been removed since 2011:
commit b774bf44ef004276da12a83ebd69715c00b596ac
Author: Lianhao Lu <lianhao.lu@intel.com>
Date: Tue Aug 16 16:26:49 2011 +0800
package(_ipk).bbclass: opkg using ALL_MULTILIB_PACKAGE_ARCHS
(From OE-Core rev: e03cfb5a04e359c0bacb002dc80f3348301445d3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can make debug easier, for example, makes it easy to run the
command mannually.
(From OE-Core rev: 220b912237da78d257c5310bd07db89489afede1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It had been dropped by:
commit 65581c68d130fa74d703f6c3c92560e053857ac7
Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Date: Mon Feb 13 16:44:48 2017 +0200
rootfs_rpm.bbclass: migrate image creation to dnf
(From OE-Core rev: 38df1653da65a8a4e5f84b369b699307d5b4fc4f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise it doesn't work since SYSTEMD_SERVICE_volatile-binds is not defined
when multilib.
(From OE-Core rev: ccdc709655470af942afccda879e6f8484bebc5e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It had a problem when nested layer before, e.g.:
layer_a/layer_b/
And when layer_b is handled before layer_a, then layer_a dir existed, so
it would be treated as already handled, which was wrong, check
conf/layer.conf can fix the problem.
(From OE-Core rev: 2eaefa0c3ae589111266c7d6822428ad910415f4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous code:
os.rename(sdkbasepath, temp_sdkbasepath)
try:
foo
finally:
os.rename(temp_sdkbasepath, sdkbasepath)
always renamed the path, it made the debug harder when error happened.
drop the "try: finally" makes the debug easier.
(From OE-Core rev: 32126512349d65f0dbc31196c4ec6e1a1147cf5e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise it would generate lines like the following when multilib:
INHERIT += "own-mirrors"SSTATE_MIRRORS += " \n file://.* file:///path/to/../share/sstate-cache/PATH"
(From OE-Core rev: 65b2a0e1ba7e176f3e405ed8968665660fc414d3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is very useful for debugging. The similar to testsdk.bbclass.
(From OE-Core rev: de30b61b87047f61de4629f8e5bd87598de7fd0c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pulse is added as a system user, so the group 'pulse' is
meant to be a system group as well, which is the same with
other distros like ubuntu/centos.
(From OE-Core rev: 1bd599eae46127115ecf5c45c70d7f60d1209c94)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The packages loosely follow the debian package names. In that way more
projects, e.g. Qt5 for 16-bit, are able use system libraries. This does
not change the existing default package.
(From OE-Core rev: 5ce6409fd588605648a51bd2f5825fd9ae147f79)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have a recipe which does not include SRCPV in PV but does set
SRCREV = "${AUTOREV}" and you run do_fetch, then change the repo to a
new commit then run do_unpack, do_unpack will fail since the new commit
doesn't exist in the repo that was fetched.
The problem is the revision chosen is not represented in the do_fetch
task hash. It if were, the fetch would rerun first and the commit would be
present. It works when PV includes SRCPV since that does contain the chosen
commit from the AUTOREV.
The solution is to include the SRCPV value into the representation of AUTOREV
used for checksum calculation purposes.
Add a selftest for this issue.
(From OE-Core rev: 7b8ee9285a197784d51e339f1603240f49435846)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To make it easier to debug problems with renaming caused by debian.bbclass,
explicitly log when packages are renamed.
(From OE-Core rev: 2c27df943035b4df7c5d0be1ab8d0f4f3a31f4d2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe installs the test suite by copying the entire build tree into
/usr/share/ptest, which is both wasteful and breaks packaging as lz4-ptest then
gets renamed by debian.bbclass to liblz4.
(From OE-Core rev: b1ef094bc0bba54bd54b03c0a3c082d9b6025895)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the gtk-doc API documentation is enabled (via the api-documentation DISTRO_FEATURE, typically) this recipe fails to build:
WORKDIR/build/docs/validate/gst-validate-scan: line 117:
WORKDIR/build/docs/validate/.libs/lt-gst-validate-scan:
No such file or directory
Forcibly disable the gtk-doc for now.
(From OE-Core rev: 5d221ff20dffb2e119047f931e270b5a0ebf2ae1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We see occasional network glitches which break this test. Use our own
mirror (which has a .gz instead of .bz2) to avoid the errors, we're not
trying to test network connectivity.
(From OE-Core rev: 038d7270aef0cccf87d50a117160c58261beb9b9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For various reasons we need to be able to set and override this from
auto.conf on our test infrastructure. We have tried forcing the variable
but this then breaks other selftests. In the interests of not complicating
things further and needing to modify the tests across releases, weaken
the default assignment.
(From meta-yocto rev: be0a707eea3f0015eb7e2df2d1fd07164c2a627d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to using current repository, switch to meson (following
upstream), rename the recipe like upstream.
Add a patch to install the player binaries.
(From OE-Core rev: ac695195077dd12e41f6104e5cc77ec2cf03af11)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop autotools-specific patches.
Rename polkit packageconfig option to sysprofd as 'polkit' does not
at all match what is happening.
Remove --enable-compiler-warnings, as the equivalent in meson
could not be found.
(From OE-Core rev: 2c2684c8338bf4bb9f08951a3fdd0ee194a88db4)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop libunwind option, as it is only used if tests are enabled
(and they're unconditionally not enabled).
(From OE-Core rev: 77119831bebfcb6fbb77f5f71351666dd99483e9)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to work around absence of dlvsym() on musl
(wasn't previously a problem as autotools weren't building tests by default)
(From OE-Core rev: aaa523e87c73abc2cf8cf3ea55d9e2c6789d3b9a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that meson flags for gobject introspection and gtk-doc
appear to be non-standardized; going forward we should devise
a common way to deal with it.
gettext inherit is removed, as there is no equivalent functionality
in meson; NLS bits are always built and installed.
(From OE-Core rev: 3d63c2cd2e8da0206297c69cdbdbf2688c13a9be)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the meson crossfile should take care of setting the right cross
environment for a target build, meson slurps any set CFLAGS, CXXFLAGS,
LDFLAGS, and CPPFLAGS from the environment and injects them into the
build (see mesonbuild/environment.py:get_args_from_envvars for details).
This means that we are seeing native CFLAGS, CXXFLAGS, LDFLAGS, and
CPPFLAGS in the target build, which is wrong and causes build failures
when target and native have libraries in common (the linker gets
confused and bails).
That said, we *do* need to set certain vars for all builds so that meson
can find the right build tools. Without this, meson will fail during its
sanity checking step because it will determine the build tools to be
unrunnable since they output target instead of native artifacts.
The solution to all of this is to set CC, CXX, LD, and AR globally to
the native tools while setting the other native vars *only* for the
native build. For target builds, these vars will get overridden by the
cross file as we expect.
(From OE-Core rev: de7ae028c65a978969b2e06fdc1a2d08bc141a5b)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gnomebase.bbclass hardcodes the autotools inherit, so make it
configurable and allow meson to be specified instead.
(From OE-Core rev: 32c2faf394ba7bf75a7273fb9f5e58cc4ee3f3ad)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
[RP: patches tweaked to only need the one class]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove various build host references from packages:
libstdc++
libstdc++-staticdev
gcc-runtime-dbg
The references are removoved by correctly setting various compiler
-fdebug-prefix-map settings. There are two main issues:
The default DEBUG_PREFIX_MAP variable references WORKDIR, however,
gcc sources are in a shared folder (work-shared)/
Additionally, DWARF info seems to store symlink names but gcc
seems to resolve symlink names referenced in -fdebug-prefix-map.
(From OE-Core rev: 04748af752b7f9d79ee4add67141d6c891f3bdbe)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use gzip compression without timestamps in the metadata.
(Use gzip -n).
(From OE-Core rev: d322f3300e029addaca54755abf0728ac079569d)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve binary reproducibility of RPM packages.
Ensure timestamps in RPM packages are not later than the value
of SOURCE_DATE_EPOCH. If SOURCE_DATE_EPOCH is not set,
timestamps are not clamped.
(From OE-Core rev: 225a7156d1fb2fbffadf38e4f4e491f053358082)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit "glib-2.0: Add python3 modules required by gdbus-codegen"
(26af3b4b33a34d7e53059b07236f9d5aae5e004a) broke the MinGW build of
QEMU. To fix the build remove the python3 RDEPENDS for gdbus-codegen
when targeting mingw.
(From OE-Core rev: 22495951d4caaaf1ead219be8cfad3311cebebff)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling gdb for x32, it fails with errors:
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c: In function 'const target_desc* get_ipa_tdesc(int)':
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:184:10: error: 'X86_TDESC_AVX512' was not declared in this scope
| case X86_TDESC_AVX512:
| ^~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:184:10: note: suggested alternative: 'X86_TDESC_AVX'
| case X86_TDESC_AVX512:
| ^~~~~~~~~~~~~~~~
| X86_TDESC_AVX
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:185:14: error: 'tdesc_x32_avx512_linux' was not declared in this scope
| return tdesc_x32_avx512_linux;
| ^~~~~~~~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:185:14: note: suggested alternative: 'tdesc_x32_avx_linux'
| return tdesc_x32_avx512_linux;
| ^~~~~~~~~~~~~~~~~~~~~~
| tdesc_x32_avx_linux
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c: In function 'void initialize_low_tracepoint()':
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:282:3: error: 'init_registers_x32_avx512_linux' was not declared in this scope
| init_registers_x32_avx512_linux ();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:282:3: note: suggested alternative: 'init_registers_x32_avx_linux'
| init_registers_x32_avx512_linux ();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| init_registers_x32_avx_linux
Backport:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=f02fd7745d003d65fd3b981618e07b874b721d79
Fixes [YOCTO #12120]
(From OE-Core rev: 2557af944db081c1043f6052bc0f11e58022aeb7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The first version introduced a new branch in if-else statement, and so
discarded the actions in the branch taken previously. This seemed
to have no adverse effect for now, but let's do it right.
(From OE-Core rev: b7be3aa46f676066ad05cf8192800ae184095838)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
That's the whole point isn't it? Previously this testcase succeeded
even if some of the underlying on-target tests failed; the only way
to find out if anything was wrong was to manually inspect the logs.
(From OE-Core rev: 21b27d1e9d54d4aab412facff22cd5d3d77827a8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If no ptest packages are installed in the image, the test does nothing;
if ptest packages are installed in the image, then they should be
run without user having to enable that manually.
(From OE-Core rev: f57feab2727dca916744deb64825f3beaf07961d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the test would execute only when all available ptests
for packages in the image were installed; some of those tests may
be broken, never finish, take a very long time or simply irrelevant
to the user who wants to check ptests of only a few specific packages,
and does so by listing them explicitly via IMAGE_INSTALL_append or similar.
Presence of ptest-runner means there is at least one ptest package installed
as they pull it in via a class dependency; ptest-runner is not generally
installed otherwise.
(From OE-Core rev: e07a2b9c2b08a465baeaaca86461e07817f84a52)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are tools in the wild where we need this to be a full path, even
if that doesn't make sense in most other cases due to libtool issues.
Allow those cases to override the default value as currently its near
impossible to do so.
(From OE-Core rev: 65652f419a4c8578121f1f67d43f23ce4eae5a37)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we can't access this function from lib/oe as its a class function.
Move it to allow such access.
(From OE-Core rev: b241a666f2867ffa425f6d43763d7c3c17941dcf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Latest g-i upstream adds target paths to this variable which breaks
qemu in various confusing ways.
Instead, the list of target library paths is exported to GIR_EXTRA_LIBS_PATH,
so that it can be picked up automatically by the qemu wrapper script
and given to qemu (manually setting this variable from various recipes
will be removed in a different patch).
Also, re-enable parts of g-i on mips64, as it is the same issue.
(From OE-Core rev: 58d31dddebbf7116e71bf45bd374a7a988f6016c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use distro_features_check so that we can have a uniform controller.
(From OE-Core rev: 9daf88713dedfb29fe926e18d76090a6b2582ac8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use distro_features_check so that we can have a uniform controller.
(From OE-Core rev: 658c59c90092f15c026fa3c72399f481c7241f65)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "ls -s sparse_file"'s result is 0, use stat to replace of it.
(From OE-Core rev: 1b2ec7a04069a0af2d4164c24109a5fa2fd0b1f6)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using kernel-fitimage class with microblaze, the image type has to be
linux.bin not zImage. This patch fixes the bad image type replacement
for microblaze
(From OE-Core rev: 4e0903e2f71658d595ccb1fa9dddf0f73b373f7e)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the x32 check generic to make it work with musl as well.
Fixes [YOCTO #12118]
(From OE-Core rev: dbd604ccf34e304769937b15051c047561de47f7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-boot shouldn't be built for x32. Make sure that this is the
case when TCLIBC is set to something other than glibc.
Fixes [YOCTO #12122]
(From OE-Core rev: feed576321dcba2d75c067d6ee8b8dad817e9bba)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it easy to override them in bbappends
(From OE-Core rev: 99458d1fa170970e8a1aa04eeb0c86d3754fd988)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add aarch64 32-bits (ILP32) ELF header into dictionary and
check binaries for 32-bitness.
(From OE-Core rev: 4b4a1295b8476d2820935eb5661b2d24a49b29b2)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure architecture dependent defines are correct for x32 by
checking for both ILP32 and x86_64.
Fixes [YOCTO #12123]
(From OE-Core rev: e73262ee888851e829df535ccf09d0da833f2061)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>wq
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.5.2 -> 1.5.3
No change in license. Updates in License Checksums are due to change
in Copyright years.
(From OE-Core rev: 5959525496a1e0fc97d308b6863e0a76b5c2391d)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On pre 4.15 host kernels, an APIC window emulation bug can cause qemu
to hang. On 64 bit we can use the x2apic, for 32 bit, we just have to
disable the other timer sources and rely on kvm-clock.
[YOCTO #12301]
(From OE-Core rev: 82e67b82ea8e12aa0b7b9db1d84fec0436dec71b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-git was updated to the latest stable version
Tested on qemux86-64 using core-image-minimal
(From OE-Core rev: 0f774c4ac0c71f4806e455a8b9ea7e13cc2f22da)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gdbus-codegen tool depends on python3, python3-distutils and python3-xml at
runtime. But because these dependencies are not stated in the yocto recipe,
those python modules are not automatically included in the SDK.
(From OE-Core rev: 26af3b4b33a34d7e53059b07236f9d5aae5e004a)
Signed-off-by: Jef Driesen <jef.driesen@niko.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This module refers to oe.types, so it needs to actually import oe.types.
Fixes errors when parsing certain OE-Core recipes within the layer
index update script.
(From OE-Core rev: 26ff9d2835a24a84c7f2bf9c829a13ed568c9ea0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 57ba31f67ef593f36c4154a8680d21825f4e5555)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Change PYPI_PACKAGE to gitdb2 to reflect upstream change
* Now inherits setuptools rather than distutils
(From OE-Core rev: dc2ddbf8cb825e577a2a35d96a1a2fa9042b74f8)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* RDEPENDS are now all the python3 versions
* Upstream SRC_URI has moved to github.com/intel/bmap-tools
* Missing RDEPENDS on python3-setuptools added
- Provides import for pkg_resources
Fixes [YOCTO #12148]
(From OE-Core rev: 3d63452d8d8d8dc61cd26b7759b5c0d235d70451)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This update includes:
CVE-2017-16612
and some clan warning fixes
(From OE-Core rev: bbbc1db8c21cc11e8a5cec16860645954ff2f9fc)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following CA certificate was Re-Added. It was removed in NSS 3.34, but has been re-added with only the Email trust bit set. (bug 1418678)
CN = Certum CA, O=Unizeto Sp. z o.o.
SHA-256 Fingerprint: D8:E0:FE:BC:1D:B2:E3:8D:00:94:0F:37:D2:7D:41:34:4D:99:3E:73:4B:99:D5:65:6D:97:78:D4:D8:14:36:24
(From OE-Core rev: cc76625cc19422fba045a308aca017c8f4c8fa5f)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The stat hasn't any update since 2002. All modern Linux distributions
use stat from coreutils as default. After replace it with coreutils as
runtime dependency in hdparm, it is safe to drop this recipe and move it
to meta-oe.
(From OE-Core rev: 6f6542f2d479ffa2a9d0d4480a84348a08ebf641)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently only hdparm specifies stat as runtime dependency in oe-core.
But the stat hasn't any update since 2002. Replace it with coreutils as
runtime dependency since coreutils also provides stat program. Then we
can drop the stat recipe totally.
Also add a patch to fix stat path in wiper.sh.
(From OE-Core rev: 80f6f4e3683f7889e4aa34401e96be1708f94b75)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our binutils is configured with --enable-deterministic-archives, so ar
runs in deterministic mode by default. The ar01 case would fail because
it doesn't consider this mode. Backport a patch from upstream to fix
this issue.
(From OE-Core rev: 094e98172e1bbc64f8e6d2a97208a58189674773)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tar from busybox lacks some options that cause the tar01 case
failed. Add tar as runtime dependency.
(From OE-Core rev: bd11699037067daf92eb872da47d4bd53be413ea)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 32bit core-image-minimal-initramfs should be built when build lib32-iso, e.g.:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_FSTYPES += "iso"
$ bitbake lib32-core-image-minimal
Exception: FileExistsError: [Errno 17] File exists: '/path/to/tmp/sysroots-components/core2-64/qemuwrapper-cross/usr/bin/crossscripts/qemuwrapper' -> '/path/to/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/lib32-recipe-sysroot/usr/bin/crossscripts/qemuwrapper'
This was because:
lib32-core-image-minimal -> core-image-minimal-initramfs
core-image-minimal-initramfs -> qemuwrapper-cross
lib32-core-image-minimal -> lib32-qemuwrapper-cross
So we got the error, build lib32-core-image-minimal-initramfs can fix the problem.
(From OE-Core rev: eee3ec805cf150f1c701427a2d182a537a67e8f5)
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>
In case of 'new_rootfs' the psuedo directory is not copied. Thus
PSEUDO_LOCALSTATEDIR should still point to the dsa
'native_sysroot'/../pseudo. Otherwise PSEUDO_LOCALSTATEDIR points to a not
existing director ('new_rootfs'/../pseudo) and UID and GUID attributes are not
applied to files of the image.
(From OE-Core rev: 19642e2d6e015072e4a413f4f57aee65df757cb9)
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@cern.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kernel class now sets RDEPENDS_${KERNEL_PACKAGE_NAME}-base so this include
needs to do the same, otherwise bitbake emits a warning and the kernel isn't
removed.
(From OE-Core rev: a408236b6302273a5a45bcfe5eb3a8f2713ec3fa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros may want to provide alternate kernel "flavors" via feeds or
within bootable images. For example, readily available builds which
provide certain diagnostic features can enable developers and testers to
more quickly resolve issues by avoiding lengthy kernel builds.
This change allows for building multiple flavors of the kernel and
module packages by templatizing kernel package names via a new
KERNEL_PACKAGE_NAME variable in kernel.bbclass. It defaults to the old
name of "kernel", but can be overridden by certain recipes providing
alternate kernel flavors.
To maintain compatibility, recipes providing alternate kernel flavors
cannot be the "preferred provider" for virtual/kernel. This is because
OE puts the preferred provider's build and source at
"tmp-glibc/work-shared/$MACHINE/kernel-build-artifacts/" and
"tmp-glibc/work-shared/$MACHINE/kernel-source/" instead of
"tmp-glibc/work/*/$PN/" like other recipes. Therefore, recipes using the
default KERNEL_PACKAGE_NAME="kernel" follows the old semantics -- build
in the old location and may be preferred provider -- while recipes using
all other KERNEL_PACKAGE_NAME's build from the normal WORKDIR and don't
provide "virtual/kernel".
Testing:
1. Add `KERNEL_PACKAGE_NAME_pn-linux-yocto-tiny = "tiny-linux"`
to local.conf so that linux-yocto-tiny may build alongside
the main kernel (linux-yocto).
2. `bitbake linux-yocto linux-yocto-tiny` to build both kernel flavors.
3. Verified image and modules IPKs exist for both:
tmp-glibc/deploy/ipk/qemux86/kernel-* for linux-yocto
tmp-glibc/deploy/ipk/qemux86/tiny-linux* for linux-yocto-tiny
4. Verified linux-yocto is the "preferred provider", and was built in
shared directory: tmp-glibc/work-shared/qemux86/kernel-*
5. Add `CORE_IMAGE_BASE_INSTALL_append_pn-core-image-base = "tiny-linux"`
to local.conf to install both kernel flavors in core-image-base.
6. `bitbake core-image-base` to build an image.
7. Verified image contains two bzImage's under /boot/, with
"yocto-standard" (linux-yocto recipe) selected to boot via symlink.
Discussion threads:
http://lists.openembedded.org/pipermail/openembedded-core/2015-December/thread.html#114122http://lists.openembedded.org/pipermail/openembedded-core/2017-July/thread.html#139130
[YOCTO #11363]
(From OE-Core rev: 6c8c899849d101fd1b86aad0b8eed05c7c785924)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Coauthored-by: Gratian Crisan <gratian.crisan@ni.com>
Coauthored-by: Haris Okanovic <haris.okanovic@ni.com>
Coauthored-by: Josh Hernstrom <josh.hernstrom@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On some build hosts distros (e.g. Fedora 26) waf tries to be
smart about libdir detection and defaults to [EXEC_PREFIX/lib64].
This obviously is not what we want for 32-bit targets and usually
fails in the do_package phase:
WARNING: gstreamer1.0-plugins-imx-0.13.0-r0 do_package: QA Issue: gstreamer1.0-plugins-imx: Files/directories were installed but not shipped in any package:
/usr/lib64/libgstimxcommon.so.0
...
Depending on version, waf knows prefix or prefix, bindir and
libdir as default options. Explicitly pass the right set of
arguments.
(From OE-Core rev: 923f91d8d8606141ce218927bc943f4f4f34bcdd)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Delete the unneeded patch, because the upstream contains the needed changes.
The new version of avahi 0.7 use "/run" directory to place some run-time
variable data, not /var/run, so in avahi.inc, we should remove the "/run"
not "/var/run".
Remove PACKAGECONFIG for pygtk which already dropped in upstream.
(From OE-Core rev: 80b408ae48eb091fc2af8b1570a7aac3cdc0b009)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the introduction of support for multiple kernel image types in
849b67b2e4820564b5e5c9bd4bb293c44351c5f3, do_sizecheck was changed to only
warn if any kernel was bigger than ${KERNEL_IMAGE_MAXSIZE}. (Well, it tried
to warn - it turns out that there's no function called "warn", it should be
"bbwarn".) The previous behaviour had been to fail the build if the single
kernel image did not fit.
It seems possible that people might be generating both compressed and
uncompressed kernels and only really care whether the compressed one fits.
This means that we shouldn't just always fail if any of the images are too
large. So, let's warn (correctly this time) on every image that is too
large, but only ultimately fail if no image will fit. The build will also
fail if ${KERNEL_IMAGETYPES} is empty, but I hope that no-one needs to do
that.
While we're here correct a typo in the KERNEL_IMAGE_MAXSIZE validity check.
(From OE-Core rev: 59f1ee104d1a6c04b0690b7c8ce481449da174d6)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we are depercating the ELF image type, we should not test it
here either.
(From OE-Core rev: c0c10ae9f7e206ee156a68ddbed73c8820c37824)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we are removing the ELF image type, we can now removed this older
mkelfimage recipe also, we reach back 3+ years in the coreboot git repo
to retrieve the source. This tool needs updating everything we change
binutils, which would normally be done by the upstream, but that is now
gone.
[YOCTO #11967]
(From OE-Core rev: 003056db591ebee6464b51d29f706779936fcd83)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As warned in a proir commit, it's time to remove the elf image type,
it is not long used anywhere (that I am aware of) and the mkelfimage
tool has been removed from the upstream coreboot code base.
(From OE-Core rev: 2781e8d608c0fd2108aeab294f982e9249793852)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkelfimage is about to be removed, so test_devtool_modify_git needs to
use a different recipe. psplash is a reasonable choice given it uses a
git repository (and probably will forever), and doesn't have too many
dependencies, so change the test to use that recipe instead.
(From OE-Core rev: daf583efc87faa058684dfe34df596d088caa8ef)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously oe-core had a development snapshot of rpm, it's better to update
to something more stable.
Removed patches:
0001-Add-PYTHON_ABI-when-searching-for-python-libraries.patch
(upstream is using pkg-config)
0001-When-nice-value-cannot-be-reset-issue-a-notice-inste.patch
(functionality has been moved to a plugin, we disable plugins
for rpm-native)
0012-Use-conditional-to-access-_docdir-in-macros.in.patch
(merged upstream)
Changed patches:
0001-Fix-build-with-musl-C-library.patch
(one previous musl issue has been resolved upstream; another has been added)
Rest of the patches are trivial rebases.
Update the signing oe-selftest so that the reference output matches
the upstream changes.
(From OE-Core rev: b4613b6ce07c295c5d6de6861acf19315acaccb2)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If for example you deltask do_build but it has recrdeps set, its confusing
to have that list returned when the task no longer exists (same would apply
to deps too if it was set after the deltask).
(Bitbake rev: b7a81cb91e82ba64b63c9153dc161a2ab4696715)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits for kmemleak fixes and CQM
backports:
58fe84d691a mm: kmemleak: treat vm_struct as alternative reference to vmalloc'ed objects
5babb9c8f695 mm: kmemleak: factor object reference updating out of scan_block()
8c22ef5ee138 mm: kmemleak: slightly reduce the size of some structures on 64-bit architectures
7ea6b560ef4c netfilter: conntrack: do not enable connection tracking unless needed
4fdf0a5a0863 netfilter: nf_ct_dccp/sctp: fix memory leak after netns cleanup
85385ffd1e9b netfilter: move table iteration out of netns exit paths
c95b3f8e1cbc netfilter: conntrack: add nf_ct_iterate_destroy
753c83b98a1e netfilter: conntrack: don't call iter for non-confirmed conntracks
bcf21cba7fd5 netfilter: conntrack: rename nf_ct_iterate_cleanup
f5c3a4c19075 perf/x86/intel/uncore: Fix missing marker for skx_uncore_cha_extra_regs
c44ebea2f116 perf/x86/intel/uncore: Fix SKX CHA event extra regs
1d70f7feb408 perf/x86/intel/uncore: Remove invalid Skylake server CHA filter field
eb3059e9e0ea perf/x86/intel/uncore: Fix Skylake server CHA LLC_LOOKUP event umask
3514c02c7bff perf/x86/intel/uncore: Fix Skylake server PCU PMU event format
804530f02515 perf/x86/intel/uncore: Fix Skylake UPI PMU event masks
(From OE-Core rev: 3cf8bda5e4d4a345793aa72be97e94c41520ec01)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling CONFIG_X86_X2APIC=y by default for common-pc* (and hence
qemux86*) to work around interrupt delivery issues when running on some
host kernels.
There's little overhead with this, and no impact to non x2apic
platforms, so we enable it for all builds.
(From OE-Core rev: 3382ed4925fdc0854dbfa5b29dd5fdc1e0c1e38a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Outside of the normal patch refreshes and boot issues, there are new
build time tools within the kernel that required the following
dependencies:
For ORC_UNWINDER support in x86-64:
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
And for certificate processing during the build, we need ssl headers
and hexdump:
DEPENDS += "openssl-native util-linux-native"
(From OE-Core rev: 70f3d81e414a101032c05773c33500e7d723ab02)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable backports from Paul Gortmaker, which comprise the
following commits:
33070a47be56 Linux 4.12.18
7441b94462dd sctp: use right member as the param of list_for_each_entry
393004dcde90 packet: fix crash in fanout_demux_rollover()
0a9012474dc5 coda: fix 'kernel memory exposure attempt' in fsync
b5cc211a6240 x86/cpu/amd: Derive L3 shared_cpu_map from cpu_llc_shared_mask
2567785ab75b mm/page_ext.c: check if page_ext is not prepared
40991abd5541 mm/page_alloc.c: broken deferred calculation
7fd5cc66154b ipmi: fix unsigned long underflow
fa5ba256bc53 ocfs2: should wait dio before inode lock in ocfs2_setattr()
97181d7d56ab ocfs2: fix cluster hang after a node dies
3e60437f8fac mm/pagewalk.c: report holes in hugetlb ranges
2974b65a0852 rcu: Fix up pending cbs check in rcu_prepare_for_idle
3048be8b900f tpm-dev-common: Reject too short writes
60bf233eeed8 serial: 8250_fintek: Fix finding base_port with activated SuperIO
1539a3ace4ee serial: omap: Fix EFR write on RTS deassertion
7c601c15e06d ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
42e3beae3ace net/sctp: Always set scope_id in sctp_inet6_skb_msgname
09fc4fe93e10 fealnx: Fix building error on MIPS
01c2c1581c94 sctp: do not peel off an assoc from one netns to another one
0a2e9fbdc391 vxlan: fix the issue that neigh proxy blocks all icmpv6 packets
1063c860aecd af_netlink: ensure that NLMSG_DONE never fails in dumps
045a67694539 vlan: fix a use-after-free in vlan_device_event()
eb1321c9ad5e tcp: fix tcp_fastretrans_alert warning
55bfb1ef83e0 qmi_wwan: Add missing skb_reset_mac_header-call
315ea5f8348b net: qmi_wwan: fix divide by 0 on bad descriptors
554d1d375f1c bonding: discard lowest hash bit for 802.3ad layer3+4
6b6b2c804d4e l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6
30ec586cda8a netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
62bd603f2677 net: systemport: Correct IPG length settings
70cd6d6bea88 tcp: do not mangle skb->cb[] in tcp_make_synack()
26ab537f2e5f net: vrf: correct FRA_L3MDEV encode type
f2561863b0d6 tcp_nv: fix division by zero in tcpnv_acked()
5dfe41dc67fc staging: greybus: spilib: fix use-after-free after deregistration
2c7eb0674a3d staging: sm750fb: Fix parameter mistake in poke32
008bfaf7b155 HID: wacom: generic: Recognize WACOM_HID_WD_PEN as a type of pen collection
695db9d1697c HID: cp2112: add HIDRAW dependency
b9edc34d9c29 x86/MCE/AMD: Always give panic severity for UC errors in kernel context
90e3029e582c selftests/x86/protection_keys: Fix syscall NR redefinition warnings
4ef762021938 USB: serial: garmin_gps: fix memory leak on probe errors
f1423a77b98b USB: serial: garmin_gps: fix I/O after failed probe and remove
68a94c90dfc3 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
885e857a7c26 USB: serial: Change DbC debug device binding ID
3e7a792beda2 USB: serial: metro-usb: stop I/O after failed open
da73445f1b69 usb: gadget: f_fs: Fix use-after-free in ffs_free_inst
d3cc53bd3a61 USB: Add delay-init quirk for Corsair K70 LUX keyboards
402588b38460 USB: usbfs: compute urb->actual_length for isochronous
5a8714de40ac USB: early: Use new USB product ID and strings for DbC device
83f0fdf7ccc6 crypto: dh - Don't permit 'key' or 'g' size longer than 'p'
b494fa860365 crypto: dh - Don't permit 'p' to be 0
4ffcf85d08b7 crypto: dh - Fix double free of ctx->p
d20a9c0d1233 crypto: dh - fix memleak in setkey
ad8b281c05c5 Bluetooth: btusb: fix QCA Rome suspend/resume
21fc98337c60 dmaengine: dmatest: warn user when dma test times out
72a0fc7e4f7d tcp: fix tcp_mtu_probe() vs highest_sack
ca42624b53de ipv6: addrconf: increment ifp refcount before ipv6_del_addr()
751e5b20c03f tun/tap: sanitize TUNSETSNDBUF input
eea9efba6bdc net_sched: avoid matching qdisc with zero handle
e76cd730f32e sctp: reset owner sk for data chunks on out queues when migrating a sock
6027b882617c tun: allow positive return values on dev_get_valid_name() call
984a8b424c58 tap: reference to KVA of an unloaded module causes kernel panic
92adaa4247c1 tcp: refresh tcp_mstamp from timers callbacks
026ff0f99bbf tcp: refresh tp timestamp before tcp_mtu_probe()
aa3fb0cbb88d ip6_gre: update dst pmtu if dev mtu has been updated by toobig in __gre6_xmit
88f0bf544d46 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
7256c950ca70 ipip: only increase err_count for some certain type icmp in ipip_err
62e3502c1991 net/mlx5e: Properly deal with encap flows add/del under neigh update
84d26c8a74fc tap: double-free in error path in tap_open()
94946f4812fa net/unix: don't show information about sockets from other namespaces
43997314bb13 net: dsa: check master device before put
d5c769c98986 tcp/dccp: fix other lockdep splats accessing ireq_opt
1d4c7c3266a4 tcp/dccp: fix lockdep splat in inet_csk_route_req()
462504bc99ac sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND
fe91475c8310 ipv6: flowlabel: do not leave opt->tot_len with garbage
009a3e7461cd soreuseport: fix initialization race
16e36e55f822 net: bridge: fix returning of vlan range op errors
3d32d75474d1 geneve: Fix function matching VNI and tunnel ID on big-endian
04e37f3a5c02 packet: avoid panic in packet_getsockopt()
3895ca099a69 tcp/dccp: fix ireq->opt races
eda355607691 sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
785b144296af netlink: fix netlink_ack() extack race
01af773e7a6b tun: call dev_get_valid_name() before register_netdevice()
1b522844eabe l2tp: check ps->sock before running pppol2tp_session_ioctl()
ae90bb6362cd net: call cgroup_sk_alloc() earlier in sk_clone_lock()
1ec7babcf934 netlink: do not set cb_running if dump's start() errs
7fa820a09305 gso: fix payload length when gso_size is zero
463a7737df22 ppp: fix race in ppp device destruction
57b61ea36589 xfs: move two more RT specific functions into CONFIG_XFS_RT
b5bea8ab390b tty: fix __tty_insert_flip_char regression
1d4d3f8e98b3 KVM: add X86_LOCAL_APIC dependency
737d1a26d83a pinctrl/amd: Fix build dependency on pinmux code
5f9a4e690c9f seccomp: make function __get_seccomp_filter static
407108cebb23 Fix tracing sample code warning.
e53f80ca68ae security/keys: BIG_KEY requires CONFIG_CRYPTO
b177131cdd05 udp: fix bcast packet reception
51165c2e0923 Linux 4.12.17
e37973f85463 media: dib0700: fix invalid dvb_detach argument
2be5d96a5441 media: imon: Fix null-ptr-deref in imon_probe
6cc6ecdb2ad9 Input: ims-psu - check if CDC union descriptor is sane
dcc13ac27971 net: cdc_ether: fix divide by 0 on bad descriptors
6a98f24f0530 net: usb: asix: fill null-ptr-deref in asix_suspend
1da204e5439f usb: usbtest: fix NULL pointer dereference
39795ceb702b x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
cf6308a136f2 x86/smpboot: Make optimization of delay calibration work correctly
5cee51d999ed x86/debug: Handle warnings before the notifier chain, to fix KGDB crash
7faef4f041ed can: c_can: don't indicate triple sampling support for D_CAN
2efab93ab541 can: ifi: Fix transmitter delay calculation
9a9a3a778c22 can: peak: Add support for new PCIe/M2 CAN FD interfaces
befd4aa29428 can: sun4i: handle overrun in RX FIFO
ce274815fdac drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
327b1f353263 rbd: use GFP_NOIO for parent stat and data requests
81a57d23e6f9 Input: elan_i2c - add ELAN060C to the ACPI table
8b43ca400436 MIPS: AR7: Ensure that serial ports are properly set up
fd11bdb71a3a MIPS: AR7: Defer registration of GPIO
361b86eaf6ec MIPS: BMIPS: Fix missing cbr address
1f5ee962f2cd MIPS: Fix CM region target definitions
95eca04aa013 ALSA: seq: Fix OSS sysex delivery in OSS emulation
a77a957d8dd4 ALSA: hda - fix headset mic problem for Dell machines with alc274
5e838d3a8e07 ALSA: usb-audio: support new Amanero Combo384 firmware version
af199c8af86e ALSA: timer: Limit max instances per timer
7f740a514450 ARM: 8720/1: ensure dump_instr() checks addr_limit
378309492920 ACPI / scan: Enable GPEs before scanning the namespace
3d41affb49ba ACPICA: Make it possible to enable runtime GPEs earlier
73b2b51c57bc ACPICA: Dispatch active GPEs at init time
b8a8b7486b60 KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
1dd87968f2e3 crypto: x86/sha256-mb - fix panic due to unaligned access
ad3194d5cdd7 crypto: x86/sha1-mb - fix panic due to unaligned access
176121ac7fe1 crypto: ccm - preserve the IV buffer
565a57ec4f8d workqueue: Fix NULL pointer dereference
86d04817638d x86/mcelog: Get rid of RCU remnants
61f8603bcb05 perf/cgroup: Fix perf cgroup hierarchy support
c39d83f28cf5 MIPS: microMIPS: Fix incorrect mask in insn_table_MM
ff06d106db71 MIPS: smp-cmp: Use right include for task_struct
6da5b0e13e3e drm/i915/edp: read edp display control registers unconditionally
89e68088def8 drm/i915: Do not rely on wm preservation for ILK watermarks
052130e6dd1c mm, swap: fix race between swap count continuation operations
92ede622224e ocfs2: fstrim: Fix start offset of first cluster group during fstrim
d4e8f4c82ec4 userfaultfd: hugetlbfs: prevent UFFDIO_COPY to fill beyond the end of i_size
bf69e4b41953 drm/amdgpu: allow harvesting check for Polaris VCE
aa09acb11a5b drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting
707ba2820623 ARM: 8715/1: add a private asm/unaligned.h
4fa5fe6ea340 ARM: dts: mvebu: pl310-cache disable double-linefill
a01a5c2e6e9e arm/arm64: kvm: Disable branch profiling in HYP code
3441fa885cf3 arm/arm64: KVM: set right LR register value for 32 bit guest when inject abort
a650f10a6423 KVM: arm64: its: Fix missing dynamic allocation check in scan_its_table
24d22fb868e3 arm64: ensure __dump_instr() checks addr_limit
cac0dcc9179e ASoC: adau17x1: Workaround for noise bug in ADC
7e34e27aaf91 KEYS: fix out-of-bounds read during ASN.1 parsing
53ec125b27a1 KEYS: trusted: fix writing past end of buffer in trusted_read()
9b453e30fc82 cifs: check MaxPathNameComponentLength != 0 before using it
69828d917713 ALSA: seq: Fix nested rwsem annotation for lockdep splat
11f1d2059857 ALSA: timer: Add missing mutex lock for compat ioctls
86306c8bf739 powerpc/xive: Fix the size of the cpumask used in xive_find_target_in_mask()
7d5b350c311e regulator: fan53555: fix I2C device ids
bba7a802ffa0 ipsec: Fix aborted xfrm policy dump crash
3f17c12b2ef6 cfg80211: fix connect/disconnect edge cases
036cb11e2b93 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
25a5d333b556 can: kvaser_usb: Correct return value in printout
0dea0f030394 can: sun4i: fix loopback mode
b26722135e12 drm/i915/perf: fix perf enable/disable ioctls with 32bits userspace
748e46331dc7 drm/amd/powerplay: fix uninitialized variable
859bc7ad2aa9 x86/cpu/AMD: Apply the Erratum 688 fix when the BIOS doesn't
1370811ed5b7 scsi: aacraid: Fix controller initialization failure
626a5aae973e scsi: zfcp: fix erp_action use-before-initialize in REC action trace
250835c62a90 assoc_array: Fix a buggy node-splitting case
fea99b11049a SMB3: Validate negotiate request must always be signed
d030ae8043b8 Fix encryption labels and lengths for SMB3.1.1
158c28974465 Input: gtco - fix potential out-of-bound access
a603b795cb7e Input: elan_i2c - add ELAN0611 to the ACPI table
9bb1ce736e36 CIFS: Fix NULL pointer deref on SMB2_tcon() failure
fbe5c09ee805 xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
950c2786017a fuse: fix READDIRPLUS skipping an entry
1be2e5e41f0e spi: armada-3700: Fix failing commands with quad-SPI
733d72531cc5 spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path
cffec62ffee5 spi: a3700: Return correct value on timeout detection
be9198ea33e1 spi: uapi: spidev: add missing ioctl header
9b5c3ee4ed3f KVM: PPC: Book3S: Protect kvmppc_gpa_to_ua() with SRCU
9574b6e81e45 KVM: PPC: Book3S HV: POWER9 more doorbell fixes
bceb8e9d95be KVM: PPC: Book3S HV: Use msgsync with hypervisor doorbells on POWER9
229642d22e3a KVM: PPC: Fix oops when checking KVM_CAP_PPC_HTM
32e77b72733b ceph: unlock dangling spinlock in try_flush_caps()
f4180593b1e9 ALSA: hda - fix headset mic problem for Dell machines with alc236
33477d1e5e6b ALSA: hda/realtek - Add support for ALC236/ALC3204
0230f9ed329f workqueue: replace pool->manager_arb mutex with a flag
5ec0d1c9d5a9 xfs: trim writepage mapping to within eof
fcc029896ba9 xfs: cancel dirty pages on invalidation
da45acc2e9cd xfs: handle error if xfs_btree_get_bufs fails
7d57f66d6f17 xfs: reinit btree pointer on attr tree inactivation walk
731ead3be639 xfs: don't change inode mode if ACL update fails
173d49a9a531 xfs: move more RT specific code under CONFIG_XFS_RT
ba899492a1d5 xfs: handle racy AIO in xfs_reflink_end_cow
72ac4f1186a6 xfs: always swap the cow forks when swapping extents
204bdfa1f67c xfs: perag initialization should only touch m_ag_max_usable for AG 0
7b74f08372bd xfs: update i_size after unwritten conversion in dio completion
a387eb05ff73 xfs: report zeroed or not correctly in xfs_zero_range()
7df2a96d20a4 fs/xfs: Use %pS printk format for direct addresses
4c71c06ac80f xfs: evict CoW fork extents when performing finsert/fcollapse
f0f53f176d94 xfs: don't unconditionally clear the reflink flag on zero-block files
032e53c378a8 iomap_dio_rw: Allocate AIO completion queue before submitting dio
bd603f7110b9 pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
362a37a0cf59 KEYS: don't let add_key() update an uninstantiated key
e4968379c1b6 FS-Cache: fix dereference of NULL user_key_payload
047fe074b659 KEYS: Fix race between updating and finding a negative key
8ea691e39413 ecryptfs: fix dereference of NULL user_key_payload
bfd7bc34be16 fscrypt: fix dereference of NULL user_key_payload
83f4c52d9fd7 lib/digsig: fix dereference of NULL user_key_payload
e966d2d4f6a1 x86/microcode/intel: Disable late loading on model 79
d647900b826d rtlwifi: rtl8821ae: Fix connection lost problem
3f4f2f812312 clockevents/drivers/cs5535: Improve resilience to spurious interrupts
6bd3022f41a1 bus: mbus: fix window size calculation for 4GB windows
c7a86caa19f2 brcmsmac: make some local variables 'static const' to reduce stack size
4df70a6e8969 brcmfmac: Add check for short event packets
f6f7db182f44 i2c: piix4: Fix SMBus port selection for AMD Family 17h chips
dfc7eebd0b5d ALSA: hda: Abort capability probe at invalid register read
a7252ee01e59 ALSA: hda: Remove superfluous '-' added by printk conversion
514d11ccc861 ALSA: seq: Enable 'use' locking in all configurations
a4476518e1e7 tracing/samples: Fix creation and deletion of simple_thread_fn creation
ad84c20a9f47 media: dvb: i2c transfers over usb cannot be done from stack
11fbb0237319 media: cec: Respond to unregistered initiators, when applicable
43ac45e69b11 media: s5p-cec: add NACK detection support
686020330a68 drm/nouveau/mmu: flush tlbs before deleting page tables
90905608e49e drm/nouveau/bsp/g92: disable by default
a276b1329f6e drm/nouveau/kms/nv50: fix oops during DP IRQ handling on non-MST boards
75c7d377d125 drm/i915: Use bdw_ddi_translations_fdi for Broadwell
a4e778fda246 mmc: sdhci-pci: Fix default d3_retune for Intel host controllers
c51c64badbdf KEYS: encrypted: fix dereference of NULL user_key_payload
8d5f0ae655f9 can: flexcan: fix p1010 state transition issue
32a5167fcdae can: flexcan: fix i.MX28 state transition issue
5babb6c595a6 can: flexcan: fix i.MX6 state transition issue
9319913df979 can: flexcan: implement error passive state quirk
1c93f600ac19 can: flexcan: rename legacy error state quirk
25cb31c3f806 can: flexcan: fix state transition regression
f433519c4cba can: af_can: can_pernet_init(): add missing error handling for kzalloc returning NULL
947a57f938f3 can: esd_usb2: Fix can_dlc value for received RTR, frames
792c8810f196 usb: xhci: Handle error condition in xhci_stop_device()
c83a48144395 xhci: Cleanup current_cmd in xhci_cleanup_command_queue()
666fd52c080b xhci: Identify USB 3.1 capable hosts by their port protocol capability
523dad046e0f usb: musb: Check for host-mode using is_host_active() on reset interrupt
5e277dcadf45 usb: musb: musb_cppi41: Configure the number of channels for DA8xx
1ddbc42b569c usb: musb: musb_cppi41: Fix cppi41_set_dma_mode() for DA8xx
b4ae14cc4f93 usb: musb: musb_cppi41: Fix the address of teardown and autoreq registers
dbb13f2fcbc9 USB: musb: fix late external abort on suspend
cff06a4ae7d5 USB: musb: fix session-bit runtime-PM quirk
7545aa66403b usb: musb: sunxi: Explicitly release USB PHY on exit
8447db4b2e33 iio: dummy: events: Add missing break
9d8a108edff7 parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
58bacefc0b50 s390/cputime: fix guest/irq/softirq times after CPU hotplug
7543b1a05d0c nbd: don't set the device size until we're connected
b7e699fcefbe can: gs_usb: fix busy loop if no more TX context is available
2053fee203fb ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
a069429516bc usb: hub: Allow reset retry for USB2 devices on connect bounce
79d5e5d8d2fe usb: quirks: add quirk for WORLDE MINI MIDI keyboard
4d493d5a62ea usb: cdc_acm: Add quirk for Elatec TWN3
d553fc8e775f USB: serial: metro-usb: add MS7820 device id
9872dc2ad066 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
4d75d952a2ac USB: devio: Revert "USB: devio: Don't corrupt user memory"
b5264fc112b2 staging: bcm2835-audio: Fix memory corruption
(From OE-Core rev: d3a8565e176ad77a99b832caf5e23b62846a9a67)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following changes to the 4.12 tree:
1b85adfc0b81 mtd: intel-spi: Add Intel Lewisburg PCH SPI super SKU PCI ID
b373e336eb84 mtd: spi-nor: intel-spi: Add support for Intel Cedar Fork SPI serial flash
c37662f04d7c mtd: spi-nor: intel-spi: Add support for Intel Lewisburg SPI serial flash
a8a4ae37e8b7 mtd: spi-nor: intel-spi: Add support for Intel Denverton SPI serial flash controller
aa830ab86985 net/bluetooth: make bluetooth socket can be created in net namespace
2e98dc285831 x86/debug: Handle warnings before the notifier chain, to fix KGDB crash
These are all bug fixes, or mainline backports.
(From OE-Core rev: 7c4ed05c05629f8f551152153d893dfe048c1ee0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration changes to the 4.x linux
yocto kernels:
common-pc*.scc: Add igb to common-pc drivers
mti-malta32: enable CONFIG_HIGHMEM for qemumips to support up to 2GiB RAM
features/i915/i915.cfg: compile i915 as a module
(From OE-Core rev: b0343ff286b413745579b371f48917099e0a9bef)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following ipv4 backport:
ipv4: net namespace does not inherit network configurations
patch from https://lkml.org/lkml/2014/7/29/119
Ipv4 net namespace requires a similar logic change as commit a79ca223e029
[ipv6: fix bad free of addrconf_init_net] introduces for newer kernels.
Since a net namespace is independent to another. That is, there
is no any relationship between the net namespaces. So a new net
namespace should not inherit network configurations from another
net namespace including the host.
CC: Hong Zhiguo <honkiko@gmail.com>
CC: David S. Miller <davem@davemloft.net>
Signed-off-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: yzhu1 <yanjun.zhu@windriver.com>
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
And the following configuration changes:
3574bb061c1b mti-malta32: enable CONFIG_HIGHMEM for qemumips to support up to 2GiB RAM
f187df8fca31 features/i915/i915.cfg: compile i915 as a module
332b38cb83a2 common-pc*.scc: Add igb to common-pc drivers
(From OE-Core rev: 7e0b87ffce90dad248a7a0f0b9d661583e047568)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating two bug fixes (functionality regressions):
1d685baca196 iwlwifi: bump max FW API to 31
cb8ce8c4ad0f tty: fix __tty_insert_flip_char regression
And the following configuration fragment:
vrf: Add feature
(From OE-Core rev: f4c7a52e6bd4e955ee6aface617d84b15356bd31)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable updates from Paul Gortmaker that cover the
following commits:
8500552cb6f7 Linux 4.12.16
3041c36e51aa vmbus: more host signalling avoidance
170ce449d952 vmbus: eliminate duplicate cached index
1843e4c61d03 vmbus: refactor hv_signal_on_read
3114e4beb799 vmbus: simplify hv_ringbuffer_read
47cd1be8a9b1 HID: hid-elecom: extend to fix descriptor for HUGE trackball
663b5513c683 mm: page_vma_mapped: ensure pmd is loaded with READ_ONCE outside of lock
8a0af0f30b6b perf pmu: Unbreak perf record for arm/arm64 with events with explicit PMU
20ce8834fc99 KVM: nVMX: update last_nonleaf_level when initializing nested EPT
bf6a0ec7751f x86/alternatives: Fix alt_max_short macro to really be a max()
8566ad9542c8 x86/microcode: Do the family check first
d369002c85c7 RAS/CEC: Use the right length for "cec_disable"
2f5df0825d43 USB: serial: console: fix use-after-free after failed setup
38d29750c751 USB: serial: console: fix use-after-free on disconnect
3312688774a5 USB: serial: qcserial: add Dell DW5818, DW5819
8ceb1ab5b8b6 USB: serial: option: add support for TP-Link LTE module
9a492331d4d8 USB: serial: cp210x: add support for ELV TFD500
05a76c3972a3 USB: serial: cp210x: fix partnum regression
36db7ee477f7 USB: serial: ftdi_sio: add id for Cypress WICED dev board
f5f28aa1189d bio_copy_user_iov(): don't ignore ->iov_offset
2e23ac57b91b more bio_map_user_iov() leak fixes
be96ea60abf4 fix unbalanced page refcounting in bio_map_user_iov
62272a78cd64 direct-io: Prevent NULL pointer access in submit_page_section
da889b1de1e2 usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options
82bb04bf4ef3 usb: gadget: configfs: Fix memory leak of interface directory data
48f321f266d2 drm/i915: Use crtc_state_is_legacy_gamma in intel_color_check
300533678314 drm/i915/bios: parse DDI ports also for CHV for HDMI DDC pin and DP AUX channel
6e7077ce8b8f drm/i915: Read timings from the correct transcoder in intel_crtc_mode_get()
a89c571ae8a8 drm/i915/edp: Get the Panel Power Off timestamp after panel is off
002894140f21 drm/atomic: Unref duplicated drm_atomic_state in drm_atomic_helper_resume()
7e9518d4926c ALSA: line6: Fix leftover URB at error-path during probe
44a4ce6662bd ALSA: line6: Fix missing initialization before error path
7f16c070632d ALSA: line6: Fix NULL dereference at podhd_disconnect()
317938e88d45 ALSA: caiaq: Fix stray URB at probe error path
39921169c481 ALSA: seq: Fix copy_from_user() call inside lock
dc744c119f6d ALSA: seq: Fix use-after-free at creating a port
3da32e1a4a3a ALSA: usb-audio: Kill stray URB at exiting
cbf3f880a31c fs/mpage.c: fix mpage_writepage() for pages with buffers
24bb3d33bf9c Revert "vmalloc: back off when the current task is killed"
076e98e18525 device property: Track owner device of device property
2404f2c63a8f iommu/amd: Finish TLB flush in amd_iommu_unmap()
2681ccd7a877 usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet
014b37ece737 KVM: nVMX: fix guest CR4 loading when emulating L2 to L1 exit
c0f617345da5 KVM: MMU: always terminate page walks at level 1
810fa30a4ec6 crypto: shash - Fix zero-length shash ahash digest crash
c55f32198aa4 crypto: skcipher - Fix crash on zero-length input
688d47df70db HID: usbhid: fix out-of-bounds bug
fceb5f74236c NFS: Fix uninitialized rpc_wait_queue
3936965498e9 dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse
232ab7abddce dmaengine: edma: Align the memcpy acnt array size with the transfer
a1b8e04e4478 mei: always use domain runtime pm callbacks.
ff7884c2afbf MIPS: math-emu: Remove pr_err() calls from fpu_emu()
c43a87667d3f USB: dummy-hcd: Fix deadlock caused by disconnect detection
111001ffa651 watchdog: Revert "iTCO_wdt: all versions count down twice"
d6703459b5bf udp: perform source validation for mcast early demux
5a2bdca5336a nl80211: Define policy for packet pattern attributes
fd4bee8c17d9 mmc: core: add driver strength selection when selecting hs400es
11a49827d263 nvme-pci: Use PCI bus address for data/queues in CMB
bfd19d3e3511 drm/i915/bios: ignore HDMI on port A
8ab3d473cbfd drm/i915: always update ELD connector type after get modes
ec338aac41a5 brcmfmac: setup passive scan if requested by user-space
a2db156a40ef brcmfmac: add length check in brcmf_cfg80211_escan_handler()
fda708d0e6c9 scsi: sd: Do not override max_sectors_kb sysfs setting
9d0c3a0c8ed3 scsi: sd: Implement blacklist option for WRITE SAME w/ UNMAP
e57b8ad57afc scsi: remove various unused blist flags
86d40a1cfd5e iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD
0a1447d60118 kvm/x86: Avoid async PF preempting the kernel incorrectly
9dfcfa3ac381 KVM: PPC: Book3S: Fix server always zero from kvmppc_xive_get_xive()
4d93aae9b293 dm crypt: fix memory leak in crypt_ctr_cipher_old()
8ab4dc921826 dm crypt: reject sector_size feature if device length is not aligned to it
da3c3bd6ad07 netlink: fix nla_put_{u8,u16,u32} for KASAN
dbe7d8a9dba2 rocker: fix rocker_tlv_put_* functions for KASAN
1fa70078bcba HID: wacom: bits shifted too much for 9th and 10th buttons
de1b19226d80 HID: wacom: Always increment hdev refcount within wacom_get_hdev_data
78fbbdd94b75 HID: wacom: generic: Clear ABS_MISC when tool leaves proximity
4c0d78da4868 HID: wacom: generic: Send MSC_SERIAL and ABS_MISC when leaving prox
f4efe333405d HID: wacom: Correct coordinate system of touchring and pen twist
3dd5dae733f6 HID: wacom: Properly report negative values from Intuos Pro 2 Bluetooth
429ea46a9d3a HID: wacom: leds: Don't try to control the EKR's read-only LEDs
ffb802b9d7f9 HID: i2c-hid: allocate hid buffers for real worst case
9a95f1edac92 HID: rmi: Make sure the HID device is opened on resume
16be0f8ec04d arm64: Ensure the instruction emulation is ready for userspace
8fe55ce33212 ftrace: Fix kmemleak in unregister_ftrace_graph
86f8a516079a auxdisplay: charlcd: properly restore atomic counter on error path
99ff327c8738 stm class: Fix a use-after-free
d68b3c9e3511 vmbus: don't acquire the mutex in vmbus_hvsock_device_unregister()
07d4af70fd2e Drivers: hv: fcopy: restore correct transfer length
c106e296904b cgroup: Reinit cgroup_taskset structure before cgroup_migrate_execute() returns
336cc70e7777 driver core: platform: Don't read past the end of "driver_override" buffer
4384e4fd5416 intel_th: pci: Add Lewisburg PCH support
6b8889bc67cf percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
5524a161ced3 powerpc/tm: Fix illegal TM state in signal handler
11939f4de59b powerpc/64s: Use emergency stack for kernel TM Bad Thing program checks
19cae92eb3d3 powerpc/powernv: Increase memory block size to 1GB on radix
6834ed0682d8 ALSA: usx2y: Suppress kernel warning at page allocation failures
c73650323e57 Revert "ALSA: echoaudio: purge contradictions between dimension matrix members and total number of members"
435ad40590e7 ALSA: compress: Remove unused variable
d62ff966e300 lsm: fix smack_inode_removexattr and xattr_getsecurity memleak
8907604ceee1 lib/ratelimit.c: use deferred printk() version
a646d2e16d5e userfaultfd: non-cooperative: fix fork use after free
7376b8c10bde mm: avoid marking swap cached page as lazyfree
d912b7cf15a6 mm: fix RODATA_TEST failure "rodata_test: test data was not read only"
3a8584637eb7 mm, oom_reaper: skip mm structs with mmu notifiers
a3a2270666cb ksm: fix unlocked iteration over vmas in cmp_and_merge_page()
0b833e6215f1 staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist
21163f7980af uwb: ensure that endpoint is interrupt
3474cb66fea2 uwb: properly check kthread_run return value
27a8bc07aaaa iio: adc: mcp320x: Fix oops on module unload
3f8385a599bb iio: adc: mcp320x: Fix readout of negative voltages
143b44819564 iio: ad7793: Fix the serial interface reset
c15998910ffd iio: trigger: stm32-timer: fix a corner case to write preset
e4445ff462ff iio: trigger: stm32-timer: preset shouldn't be buffered
620dfbd1d966 IIO: BME280: Updates to Humidity readings need ctrl_reg write!
3f78bc054bd0 iio: core: Return error for failed read_reg
bb9ad7727c30 staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack.
ef8f8aac9c40 iio: ad_sigma_delta: Implement a dedicated reset function
91cec30e5600 iio: adc: twl4030: Disable the vusb3v1 rugulator in the error handling path of 'twl4030_madc_probe()'
0694b17d52b5 iio: adc: twl4030: Fix an error handling path in 'twl4030_madc_probe()'
9598144dd7fe Revert "xhci: Limit USB2 port wake support for AMD Promontory hosts"
d075a0375ff9 xhci: set missing SuperSpeedPlus Link Protocol bit in roothub descriptor
214dd70fd584 usb: host: xhci-plat: allow sysdev to inherit from ACPI
f1741099affe xhci: fix wrong endpoint ESIT value shown in tracing
ce2e382d152c xhci: fix finding correct bus_state structure for USB 3.1 hosts
49398e9c9987 USB: fix out-of-bounds in usb_set_configuration
fbe76115049a usb: Increase quirk delay for USB devices
2d3ad4d1d46d USB: core: harden cdc_parse_cdc_header
58134902731a USB: uas: fix bug in handling of alternate settings
4fea0da59600 USB: devio: Don't corrupt user memory
14e7521b5253 USB: devio: Prevent integer overflow in proc_do_submiturb()
7b6d9826473c USB: dummy-hcd: Fix erroneous synchronization change
110b5cb4d9b4 USB: dummy-hcd: fix infinite-loop resubmission bug
86481bcda003 USB: dummy-hcd: fix connection failures (wrong speed)
4ffa59b1c5ef USB: cdc-wdm: ignore -EPIPE from GetEncapsulatedResponse
9faf2caf8cfa usb: pci-quirks.c: Corrected timeout values used in handshake
d039e3d01004 ALSA: usb-audio: Check out-of-bounds access by corrupted buffer descriptor
7c4a2bdf47db usb: renesas_usbhs: fix usbhsf_fifo_clear() for RX direction
928b7190418b usb: renesas_usbhs: fix the BCLR setting condition for non-DCP pipe
a6302dbe96dc usb-storage: fix bogus hardware error messages for ATA pass-thru devices
78b35c89cf5e usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives
c2aafffef836 usb: gadget: udc: renesas_usb3: Fix return value of usb3_write_pipe()
3317d2d0ff4c usb: gadget: udc: renesas_usb3: fix Pn_RAMMAP.Pn_MPKT value
251a4b607db6 usb: gadget: udc: renesas_usb3: fix for no-data control transfer
3cb875dbac15 usb: gadget: udc: atmel: set vbus irqflags explicitly
21f8963948de USB: gadgetfs: fix copy_to_user while holding spinlock
57dddf4436e3 USB: gadgetfs: Fix crash caused by inadequate synchronization
13ac3ba437dd bpf: fix bpf_tail_call() x64 JIT
9377e85e3d96 net: rtnetlink: fix info leak in RTM_GETSTATS call
73229f01c713 socket, bpf: fix possible use after free
721915e62286 l2tp: fix l2tp_eth module loading
ef4721707447 tipc: use only positive error codes in messages
9b2249636b6e IPv4: early demux can return an error code
857c4b1f1004 ip6_tunnel: update mtu properly for ARPHRD_ETHER tunnel device in tx path
5222b3c935d8 ip6_gre: ip6gre_tap device should keep dst
59d0df52c04c netlink: do not proceed if dump's start() errs
cd53a041d929 net/mlx5e: IPoIB, Fix access to invalid memory address
6e2af86f894f net: Set sk_prot_creator when cloning sockets to the right proto
fd767b3c9282 net: dsa: mv88e6xxx: lock mutex when freeing IRQs
a9b7868d8603 packet: only test po->has_vnet_hdr once in packet_snd
49791a17d4f4 packet: in packet_do_bind, test fanout with bind_lock held
c45234f432ed tun: bail out from tun_get_user() if the skb is empty
f6a0ed8e5f3c l2tp: fix race condition in l2tp_tunnel_delete
b2861a38475a vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
b1c7b474de2d net: qcom/emac: specify the correct size when mapping a DMA buffer
366fcb432b12 net_sched: always reset qdisc backlog in qdisc_reset()
95cee692dafa isdn/i4l: fetch the ppp_write buffer in one shot
2f707d184b55 net: change skb->mac_header when Generic XDP calls adjust_head
53097ad73f85 bpf: one perf event close won't free bpf program attached by another perf event
f42a78ad68f6 packet: hold bind lock when rebinding to fanout hook
495589ad7efc net: ipv6: fix regression of no RTM_DELADDR sent after DAD failure
f8fcd8e80c6b net: emac: Fix napi poll list corruption
942383d73c7e tcp: fastopen: fix on syn-data transmit failure
b9156f4cbc05 8139too: revisit napi_complete_done() usage
c7da54ebfc21 net/sched: cls_matchall: fix crash when used with classful qdisc
d366a6d8fa78 ip6_tunnel: do not allow loading ip6_tunnel if ipv6 is disabled in cmdline
13b1a41fff28 net: phy: Fix mask value write on gmii2rgmii converter speed register
8786b0419353 ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
4064c6617aca udpv6: Fix the checksum computation when HW checksum does not apply
8c1ca8be42a4 bpf/verifier: reject BPF_ALU64|BPF_END
8c8468276d86 tcp: update skb->skb_mstamp more carefully
6746b3e1e62f tcp: use tp->tcp_mstamp in output path
1708658272d8 sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
4adf05c23f5d net: sched: fix use-after-free in tcf_action_destroy and tcf_del_walker
807813b1440a net_sched: gen_estimator: fix scaling error in bytes/packets samples
2280d8256b8f net: bonding: fix tlb_dynamic_lb default value
9ba28de2fb47 mlxsw: spectrum: Prevent mirred-related crash on removal
d843223f43a8 net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs
1b7ddba95ec0 Linux 4.12.15
9d16c1a513c7 video: fbdev: aty: do not leak uninitialized padding in clk to userspace
bc94f3c025d3 KVM: VMX: use cmpxchg64
cea4b7ad6495 KVM: VMX: remove WARN_ON_ONCE in kvm_vcpu_trigger_posted_interrupt
4cebefacc13f KVM: VMX: do not change SN bit in vmx_update_pi_irte()
5a44051221c3 x86/mm: Fix fault error path using unsafe vma pointer
d791f8cc082d PM / OPP: Call notifier without holding opp_table->lock
8fa3761f3899 btrfs: prevent to set invalid default subvolid
8b7eb4320d6e btrfs: propagate error to btrfs_cmp_data_prepare caller
66fff45ff37a btrfs: finish ordered extent cleaning if no progress is found
d382eb1c62d7 btrfs: clear ordered flag on cleaning up ordered extents
61f18171d910 btrfs: fix NULL pointer dereference from free_reloc_roots()
3f619f467ff2 PCI: Fix race condition with driver_override
8420e1f0af47 md: separate request handling
12319e7484d2 md: fix a race condition for flush request handling
e676df0b1216 futex: Fix pi_state->owner serialization
b36416a27475 etnaviv: fix gem object list corruption
691ffb4f0df4 etnaviv: fix submit error path
a84cfcb017eb mtd: nand: atmel: fix buffer overflow in atmel_pmecc_user
10abcdf16087 sched/sysctl: Check user input value of sysctl_sched_time_avg
5419de995f66 xfs: validate bdev support for DAX inode flag
1e278dd0b455 kvm: nVMX: Don't allow L2 to access the hardware CR8
25d709528376 KVM: VMX: Do not BUG() on out-of-bounds guest IRQ
1b5878780e93 kvm/x86: Handle async PF in RCU read-side critical sections
acc5982be80a KVM: VMX: simplify and fix vmx_vcpu_pi_load
1c16ff161d31 KVM: VMX: avoid double list add with VT-d posted interrupts
0a43cc31678e KVM: VMX: extract __pi_post_block
e7eb9c1ba767 arm64: fault: Route pte translation faults via do_translation_fault
7babcf8e63c1 arm64: mm: Use READ_ONCE when dereferencing pointer to pte table
38085d92217f arm64: Make sure SPsel is always set
94a2d9d24d33 seccomp: fix the usage of get/put_seccomp_filter() in seccomp_get_filter()
65185bc520d1 selftests/seccomp: Support glibc 2.26 siginfo_t.h
fc5162ded95e extable: Enable RCU if it is not watching in kernel_text_address()
e022bf93a924 extable: Consolidate *kernel_text_address() functions
6d755f70dff5 mmc: sdhci-pci: Fix voltage switch for some Intel host controllers
c2125202b46c rcu: Allow for page faults in NMI handlers
0b4ff86ce0a2 iw_cxgb4: put ep reference in pass_accept_req()
70f0bf226a5e iw_cxgb4: remove the stid on listen create failure
c39cd8c519dd iw_cxgb4: drop listen destroy replies if no ep found
48a056a511a4 bsg-lib: don't free job in bsg_prepare_job
0f4a3495da6a gfs2: Fix debugfs glocks dump
5284e4435c06 brd: fix overflow in __brd_direct_access
da1b0075cf0c nl80211: check for the required netlink attributes presence
f5231169840c vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets
98da77ff8eb5 SMB3: Don't ignore O_SYNC/O_DSYNC and O_DIRECT flags
60746c15130d SMB3: handle new statx fields
f874292f3df8 SMB: Validate negotiate (to protect against downgrade) even if signing off
274d2957576d SMB3: Warn user if trying to sign connection that authenticated as guest
69543984ef44 Fix SMB3.1.1 guest authentication to Samba
848c26a04de0 Revert "IB/ipoib: Update broadcast object if PKey value was changed in index 0"
df3f543b639e PM: core: Fix device_pm_check_callbacks()
65bee7492116 s390/mm: fix write access check in gup_huge_pmd()
b0b70437296e s390/mm: make pmdp_invalidate() do invalidation only
3d8166e70730 s390/perf: fix bug when creating per-thread event
5887ff9cbff2 MIPS: Fix perf event init
ef9d7b3442ab powerpc/pseries: Fix parent_dn reference leak in add_dt_node()
0970872dc16c KEYS: prevent KEYCTL_READ on negative key
7427f0ec5e24 KEYS: prevent creating a different user's keyrings
535c77f6cc0c KEYS: fix writing past end of user-supplied buffer in keyring_read()
65e577e5d218 security/keys: rewrite all of big_key crypto
6e4990d8d226 random: add get_random_{bytes,u32,u64,int,long,once}_wait family
20543a488913 random: add wait_for_random_bytes() API
37e408cf708d security/keys: properly zero out sensitive key material in big_key
a25aa12be307 crypto: talitos - fix hashing
e2a61a9c8de8 crypto: talitos - fix sha224
deea80b71ca1 crypto: talitos - Don't provide setkey for non hmac hashing algs.
42b449e1e74b crypto: drbg - fix freeing of resources
60b92951710b drm/radeon: disable hard reset in hibernate for APUs
b9e88e67fa58 Revert "drm/i915/bxt: Disable device ready before shutdown command"
3f97a3dc28cc drm/i915/gvt: Fix incorrect PCI BARs reporting
5cde5ed0e3e9 scsi: aacraid: Fix 2T+ drives on SmartIOC-2000
31fe32c4c118 scsi: scsi_transport_iscsi: fix the issue that iscsi_if_rx doesn't parse nlmsg properly
b051b4ae9e6a md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list
58b050319933 md/raid5: fix a race condition in stripe batch
805f300c67bd tracing: Remove RCU work arounds from stack tracer
682542006df3 tracing: Erase irqsoff trace with empty write
82306dc328b9 tracing: Fix trace_pipe behavior for instance traces
dbc8d3db80a1 KVM: PPC: Book3S HV: Hold kvm->lock around call to kvmppc_update_lpcr
ffd067e2cbb0 genirq/msi: Fix populating multiple interrupts
aab5f168d7c6 genirq: Make sparse_irq_lock protect what it should protect
dac8a5354b20 mac80211: flush hw_roc_start work before cancelling the ROC
f6dc54e4edf3 mac80211_hwsim: Use proper TX power
e991455baa63 mac80211: fix VLAN handling with TXQs
3722540c8cb3 scsi: scsi_transport_fc: fix NULL pointer dereference in fc_bsg_job_timeout
71a7d27fd864 fs/proc: Report eip/esp in /prod/PID/stat for coredumping
3941feee3478 cifs: release auth_key.response for reconnect.
86806e1ac9ab cifs: release cifs root_cred after exit_cifs
0de25f7acd91 cifs: check rsp for NULL before dereferencing in SMB2_open
8737eec0e579 sched/cpuset/pm: Fix cpuset vs. suspend-resume bugs
a3f1d53c1c2b bcache: fix bch_hprint crash and improve output
0fa332456800 bcache: fix for gc and write-back race
6ec401ab79a1 bcache: fix sequential large write IO bypass
273676b9a143 bcache: Correct return value for sysfs attach errors
d8cc6ff5d172 bcache: correct cache_dirty_target in __update_writeback_rate()
64a03d02ce82 bcache: do not subtract sectors_to_gc for bypassed IO
bec155f8ae9b bcache: Fix leak of bdev reference
809094f51397 bcache: initialize dirty stripes in flash_dev_run()
6c2a71ced908 ALSA: seq: Cancel pending autoload work at unbinding device
c29f8277f34c PM / devfreq: Fix memory leak when fail to register device
2872fe22451a media: adv7180: add missing adv7180cp, adv7180st i2c device IDs
c84111b698c8 media: uvcvideo: Prevent heap overflow when accessing mapped controls
56575dd7a0ed media: v4l2-compat-ioctl32: Fix timespec conversion
bb6ccacff00c s390/mm: fix race on mm->context.flush_mm
7b33ee224620 s390/mm: fix local TLB flushing vs. detach of an mm address space
e2813581906a net/netfilter/nf_conntrack_core: Fix net_conntrack_lock()
77f420b4d792 PCI: pciehp: Report power fault only once until we clear it
a58bbffad34d PCI: shpchp: Enable bridge bus mastering if MSI is enabled
9caa334f7158 ARC: Re-enable MMU upon Machine Check exception
fceed125b7a5 tracing: Apply trace_clock changes to instance max buffer
e183b93ae81e tracing: Add barrier to trace_printk() buffer nesting modification
b9b3fa21babe ftrace: Fix memleak when unregistering dynamic ops when tracing disabled
82e12dcbfd1f ftrace: Fix selftest goto location on error
5ab726174eae ftrace: Fix debug preempt config name in stack_tracer_{en,dis}able
59ce93476f82 mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE()
ddaf72eb0d17 scsi: qla2xxx: Fix an integer overflow in sysfs code
f74974648540 scsi: qla2xxx: Use fabric name for Get Port Speed command
b4cb86cdb179 scsi: qla2xxx: Use BIT_6 to acquire FAWWPN from switch
432d773132a5 scsi: qla2xxx: Correction to vha->vref_count timeout
6fa7602be640 scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE
d55c1d09656d scsi: sg: Re-fix off by one in sg_fill_request_table()
3992966852f4 scsi: sg: factor out sg_fill_request_table()
c15de6f030a9 scsi: storvsc: fix memory leak on ring buffer busy
3c710fb3c2a0 scsi: megaraid_sas: Return pended IOCTLs with cmd_status MFI_STAT_WRONG_STATE in case adapter is dead
8323a8af45f4 scsi: megaraid_sas: Check valid aen class range to avoid kernel panic
b06876d957af scsi: megaraid_sas: set minimum value of resetwaittime to be 1 secs
a128d0520218 scsi: megaraid_sas: mismatch of allocated MFI frame size and length exposed in MFI MPT pass through command
d3065824b5d8 scsi: aacraid: Fix command send race condition
9ef86a2c2f9c scsi: qedi: off by one in qedi_get_cmd_from_tid()
991a1a973948 scsi: zfcp: trace high part of "new" 64 bit SCSI LUN
7373c36cf075 scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response
2bfe5894d999 scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records
c679798f4383 scsi: zfcp: fix missing trace records for early returns in TMF eh handlers
d456a6a7eba5 scsi: zfcp: fix passing fsf_req to SCSI trace on TMF to correlate with HBA
c3542a2687e4 scsi: zfcp: fix capping of unsuccessful GPN_FT SAN response trace records
159e38c80f1c scsi: zfcp: add handling for FCP_RESID_OVER to the fcp ingress path
c6c3b0a8f550 scsi: zfcp: fix queuecommand for scsi_eh commands when DIX enabled
c3df0e8d390b skd: Submit requests to firmware before triggering the doorbell
90b434ca7fd1 skd: Avoid that module unloading triggers a use-after-free
d850e6fbdea2 md/bitmap: disable bitmap_resize for file-backed bitmaps.
aee5be4e0cf6 md/bitmap: copy correct data for bitmap super
ee6afcd47b63 block: directly insert blk-mq request from blk_insert_cloned_request()
4dfcf18b9669 block: Relax a check in blk_start_queue()
dd7a87a9600e powerpc: Fix DAR reporting when alignment handler faults
4ccf03cf6796 powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs
57a7853a3297 powerpc/powernv/npu: Move tlb flush before launching ATSD
fce49edeb7b8 cxl: Fix driver use count
adcbc87965eb ext4: fix quota inconsistency during orphan cleanup for read-only mounts
6d8326041868 ext4: fix incorrect quotaoff if the quota feature is enabled
699ec491aa59 ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets
b9aa3e877bea wcn36xx: Introduce mutual exclusion of fw configuration
b51f1d0bed48 regulator: cpcap: Fix standby mode
961497c9322b crypto: AF_ALG - remove SGL terminator indicator when chaining
e66082e0af79 crypto: caam/qi - properly set IV after {en,de}crypt
be48e355e2b0 crypto: caam/qi - fix typo in authenc alg driver name
c1b0aa5e489e crypto: scompress - don't sleep with preemption disabled
bedc673ee431 crypto: ccp - Fix XTS-AES-128 support on v5 CCPs
32bb68256227 docs: disable KASLR when debugging kernel
ebb451616d95 MIPS: math-emu: <MADDF|MSUBF>.D: Fix accuracy (64-bit case)
8a9e0b68b344 MIPS: math-emu: <MADDF|MSUBF>.S: Fix accuracy (32-bit case)
f1045424c538 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Clean up "maddf_flags" enumeration
db1ba5de2711 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of zero inputs
b9891c4cf672 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of infinite inputs
12ab5ebcc3f3 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix NaN propagation
b3a6ac0d63b6 MIPS: math-emu: MINA.<D|S>: Fix some cases of infinity and zero inputs
797910efa67c MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of both infinite inputs
32401438ab1c MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of input values with opposite signs
b4095004e721 MIPS: math-emu: <MAX|MIN>.<D|S>: Fix cases of both inputs negative
47e062700023 MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix cases of both inputs zero
9db3b8a2ffed MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix quiet NaN propagation
c8b054b62131 Input: i8042 - add Gigabyte P57 to the keyboard reset table
39d29eb95f64 pinctrl/amd: save pin registers over suspend/resume
b36d90f0b2fb pinctrl: samsung: Fix NULL pointer exception on external interrupts on S3C24xx
b098a309db19 pinctrl: samsung: Fix invalid register offset used for Exynos5433 external interrupts
a6a33ff37c4c tty: improve tty_insert_flip_char() slow path
d584d1580fc4 tty: improve tty_insert_flip_char() fast path
361c23e37c1f drm/amdgpu: read reg in each iterator of psp_wait_for loop
c29802eb2b14 Input: xpad - validate USB endpoint type during probe
f56b7f2bf63e smp/hotplug: Handle removal correctly in cpuhp_store_callbacks()
c4705a91ac8f srcu: Provide ordering for CPU not involved in grace period
7ac16054fc2b IB/mlx5: Fix cached MR allocation flow
1183d4d2624c IB/{qib, hfi1}: Avoid flow control testing for RDMA write operation
3e5ed45a45e0 IB/hfi1: Revert egress pkey check enforcement
1994169a2b63 <linux/uaccess.h>: Fix copy_in_user() declaration
f8d5b811ae66 orangefs: Don't clear SGID when inheriting ACLs
(From OE-Core rev: 72a9b142c3eeb4f89a44db978daf49ba60ffae8f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Test case ID 1422 is not correct for this issue, the correct test
case ID for test_qemu is 1424.
(From OE-Core rev: d214b1dc9339c4873156934f5291b9373a11471f)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'wic' image may use files which has been deployed (e.g in
do_deploy) for some partitions that may need to be copied in a
specific partition or filesystem (e.g a bootloader).
When using 'bitbake <image> -c image_wic', from a clean build, the
contents of do_deploy must also be available so we need to ensure all
do_deploy of the image dependencies has been complete.
Reported-by: Fabio Berton <fabio.berton@ossystems.com.br>
(From OE-Core rev: f387c28640cbb209b8a8ed5734b21c754d9f7663)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a race with rm_work when tasks run deltask do_build since
do_rm_work becomes a floating task. Handle this by injecting
the populate_sysroot/lic dependencies manually if the tasks returned
are empty. This depends on a change to fix bb.build.preceedtask() in
bitbake too.
[YOCTO #12365]
(From OE-Core rev: 0f537d985b7b17af508a511fca8a4ec4b5804580)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had 7.x around for long enough now that it should be tested and usable
everywhere, drop 6.4.
(From OE-Core rev: 2ec354f93101d85b4a3739368c8f0a96ec84c7d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In 6.x and 7.x gcc, libgfortran now needs libbacktrace. Enable building of this
so that libgfortran builds correctly.
[YOCTO #12394]
(From OE-Core rev: 2c2f20a9756eccafac776e45e319af7666e6da96)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe inherits nopackages but has a non-empty PACKAGES which confuses
the archiver class when:
INHERIT += "archiver"
ARCHIVER_MODE[srpm] = "1"
Ensuring PACKAGES is empty removes the errors that occur in this configuration.
[YOCTO #11121]
(From OE-Core rev: b8a603d3f1d3adac41d042e42a2283b7fdf2ae7c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We actually caught the ext4 size issue in the wild with the debug
output in the oe_mkext234fs() code, but it did not help. What that
showed was that the get_rootfs_size was returning a default size of
8192, where as the actual rootfs was more like 10572, thus too large
to fit in the created sparse file.
This additional temporary debug code should help us determine where
the failure might be.
More debug for
[YOCTO #12304]
(From OE-Core rev: 978472c58629d1448399207873bbead96b27102e)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Mount a '/media' partition to wic-image-minimal.wks with a known UUID.
- In test_qemu, sort our output from checking the output of 'mount' as
it may not be stable. Also, do not check the exit code as passing any
output to cut ensures a 0 exit code.
- Check for a 'UUID=' line in /etc/fstab with out expected output.
(From OE-Core rev: 6d9396b26218f3234701944f385d5c36face8121)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
First, allow for wic to be given a filesystem UUID to be used when
creating a filesystem. When not provided, wic will generate the UUID to
be used. Next, when --use-uuid is passed, we update the fstab to mount
things via UUID (and if not found, then use PARTUUID) as UUID is more
portable.
(From OE-Core rev: 9256b8799495634ee8aee5d16ff71bd6e6e25ed4)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
First, we support squashfs as root, so mention that. Second, the btrfs
rootfs creation function had a copy/paste of the previous function
comment, remove the irrelevant line.
(From OE-Core rev: 7cdd4034b3e6ff4e13d491dfba24906afe495e2d)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SquashFS filesystem does not support UUIDs so make this combination
be an error.
(From OE-Core rev: 2fbdcf4e59c835af0f4041bc34243decb42321ef)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will speed up file creation and still allow the btrfs tools to
create a full btrfs image. This is similar to what we do for ext234
FS types.
(From OE-Core rev: de2f2fc9e8e6d874a11e69adc2f438975a5c1359)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifically, 'devtool upgrade' will now do these things:
1) determine if any of the license checksums need updating; if so,
write the new checksums into the LIC_FILES_CHKSUM value in the recipe
that is written to the workspace;
2) print a notice to the standard output:
NOTE: New recipe is /home/ak/development/poky/build/workspace/recipes/puzzles/puzzles_git.bb
NOTE: License checksums have been updated in the new recipe; please refer to it for the difference between the old and the new license texts.
3) and the cool part: devtool will create a diff of the old and new licenses,
and write the diff into the workspace recipe as a comment, like this:
======
FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'.
The following is the difference between the old and the new license text.
Please update the LICENSE value if needed, and summarize the changes in
the commit message via 'License-checksum-change:' tag.
(example: 'License-checksum-change: copyright years updated.')
The changes:
--- LICENCE
+++ LICENCE
@@ -1,8 +1,9 @@
This software is copyright (c) 2004-2014 Simon Tatham.
Portions copyright Richard Boulton, James Harvey, Mike Pinna, Jonas
-Klker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd
-Schmidt, Steffen Bauer, Lennard Sprong and Rogier Goossens.
+Kölker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd
+Schmidt, Steffen Bauer, Lennard Sprong, Rogier Goossens and Michael
+Quevillon.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
======
(From OE-Core rev: ccb37f9e81eb78ed0eb2a238d7c3e196db9b2f72)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifically, 'devtool upgrade' will use the latest upstream release if available
or latest commit if upstream never makes releases.
(From OE-Core rev: 45b4242b105ad36e94ae15a96d588a58b917b8e8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This command queries the upstream server for what the latest release is and prints
the output; it is a much neater way to find out these things than fumbling with distrodata,
'bitbake -c checkpkg' and awkward to read csv output in a file.
Examples:
python3 (tarballs):
NOTE: Current version: 3.5.3
NOTE: Latest version: 3.6.3
rpm (git):
NOTE: Current version: 4.13.90
NOTE: Latest version: 4.14.0
NOTE: Latest version's commit: da3720f62e57648fb1dc2a632744d38866139971
puzzles (git without version tags):
NOTE: Latest commit: ee8ea9b9785964694cb2b3ad77c3fb2460f49510
(From OE-Core rev: e8f5b5cc25ce7a9882f21473cefc47edcebf77d4)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch which has been submitted upstream to support producing
bindings for Node.js 7+. This is important to enable mraa to build with
newer Node.js versions.
Fixes [YOCTO #12293].
(From OE-Core rev: 1825473ba35b4557db99786420ca451068922223)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. os-test.patch is removed because current dbus has removed
distro specific init script.
2. Add autoconf-archive to DEPENDS to fix do_configure failure as below.
error: Unexpanded AX_ macro found.
3. Modify FILES variable to fix installed-vs-shipped QA issue.
(From OE-Core rev: 3e1e783f0e18f7be1527280f39b3c74f048e24e6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add architecture and tune includes for MicroBlaze. This covers
architecture configuration as well as tune configuration and features.
The Xilinx MicroBlaze architecture is a soft-core CPU architecture
designed for implementation on Xilinx FPGAs. Because the CPU is a
soft-core it can be configured differently depending on resource and
performance constraints which affect the ABI and supported instructions.
The architecture is also used in other Xilinx products where the core is
implemented as part of fixed silicon (e.g. Xilinx ZynqMP).
The default tune include 'tune-microblaze.inc' provides the baseline (no
features enabled) tune configuration for a target machine. This is
similar to other architectures such that the machine.conf includes a
tune-*.inc. However due to the customizability configuration is
specifically handled on a per machine basis. A machine should configure
the available tune features by setting the available features directly
by appending to the 'TUNE_FEATURES_tune-microblaze' variable.
This tune configuration approach is preferred to avoid the definition of
an otherwise large set of possible tune configurations for the available
features (14 CPU versions and 11 feature configurations), which would
otherwise require >1024 predefined tune configurations.
(From OE-Core rev: 295a99a31ca147a271c0c76538c4fb27dbecab27)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kexec-tools do not currently support MicroBlaze, override the
KEXECTOOLS variable to disable the inclusion of these tools in the
packagegroup.
(From OE-Core rev: e9790a1f882c2b1ec349be374b03198da66bbb66)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libasan and libubsan sanitizers are not available for MicroBlaze.
Follow the overriding of the SANITIZERS variable as done for other
architectures to remove these from the packagegroup when targeting
MicroBlaze.
(From OE-Core rev: 3b78384868b1fb99019abe6760247a905ba03ce4)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if "systemd --test" is not allowed to complete
sending output, it will segfault.
(From OE-Core rev: 7e4632f17ba92ac71351e45acf11f0d7dfe14e0c)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you specify 'tag=' for a git URL and passed to recipetool create, you
will get into Bitbake expansion error shown below:
----- snip -----
$ devtool add --version 2.4.2 mbedtls "git://github.com/ARMmbed/mbedtls;tag=mbedtls-2.4.2"
...
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Conflicting revisions (abeccb9dbd7e19ae91ac50e1edd3803111c5f9b6 from SRCREV and mbedtls-2.4.2 from the url) found, please specify one valid value
----- snip -----
Assuming the tag is valid, we should get the tag commit hash and
drop the usage of 'tag=' from SRC_URI. By using a commit hash
corresponding to the tag will prevent bitbake from accessing
remote repository in order to expand SRCPV.
(From OE-Core rev: 53f8effa3eb07dc7035ff9933e7918318f242579)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was patching -lxslt directly into the pkgconfig file, but XSLT_LIBS already
contains this so the patch is redundant.
(From OE-Core rev: 57b811b61dfbea551e6a4bdd98ec697729f1411b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ICU library libicudata is created with a wrong endianness if the host
and target have different endianness. (e.g. build ICU for qemuppc on
x86-64 host)
See upstream bug report: http://bugs.icu-project.org/trac/ticket/11758
The discussion in oe-core mailing list:
https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg65155.html
The root cause is the native pkgdata can not generate correct icu data
for different endianness. By default, this data is built into the shared
library libicudata that would cause it corrupt. But ICU also provides
additional options for loading the data. With option
--with-data-packaging=archive, ICU outputs a single icudt.dat file which
can be loaded by the library.
See document: http://userguide.icu-project.org/icudata
So for big endian system, we can use the separated data file which
re-generates by icupkg and set the correct ICU_DATA environment variable
to make sure the library can load the data without problems.
(From OE-Core rev: 77d1b9cda69d09cd7d3c8174ef14b4ee10e5efb6)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoconf has not been released in a number of years. However many
changes have been made to the gnu-config config.guess/.sub since 2.69,
including new architectures, OS variants, etc. In order to enable these
targets without creating patches for the source itself populate the
gnu-config files from the sysroot as is done with autotools recipes.
Whilst it is not possible for the autoconf recipe to bootstrap its
configure task (using the autotools_do_configure), the files can be
manually copied into the target location.
(From OE-Core rev: 302bab86d65831d7b03325e7002a992eb266318e)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ovmf package fails to build if you use a PARALLEL_MAKE flag
without a space in it. If you put the following in local.conf for
example:
PARALLEL_MAKE = "-j4"
The build will fail with as follows:
| build.exe: error: Option -n only allows one instance in command line!
| WARNING: /opt/build/ovmf/git-r0/temp/run.do_compile.26080:1 exit 2 from '/opt/build/ovmf/git-r0/git/OvmfPkg/build.sh $PARALLEL_JOBS -a $OVMF_ARCH -b RELEASE -t ${FIXED_GCCVER}'
| ERROR: Function failed: do_compile (log file is located at /opt/build/ovmf/git-r0/temp/log.do_compile.26080)
The failure is because the build.sh expects a space. The simple work
around is to fix the recipe to add some white space. The build.sh
only cares that it gets at least one space between the arguments, the
extra space if someone uses "-j 4" does not cause problems.
(From OE-Core rev: cf7f4705e65a877cb4b3ac8872369c1b2e81a7be)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some source files aren't valid utf-8 containing for example
iso8859-1 accented characters in author's names.
Replace invalid data with a replacement '?' character and
print a warning to keep things working.
(From OE-Core rev: 61af0b446f104c99589cd4473040ca700dba3ff3)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update prelink to the newest commit on the cross_prelink ref. This
includes the following changes:
05aeafd053 Disable automatic generation of prelink.pdf
aa2985eefa src/rtld: Add MicroBlaze support based on glibc-2.24
62f80843f8 README: update information on reloc8/reloc9 failures
The primary purpose of this update is to enable the added MicroBlaze
rtld support so as to enable gobject-introspection for MicroBlaze.
(From OE-Core rev: 8cab8f79b73e72256a2d7940f4973ebfd36e232b)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG for single-binray. Disable it by default.
When enabled, there would only be one binary file /usr/bin/coreutils, other
files like 'ls' are text files containing contents like:
#!/usr/bin/coreutils --coreutils-prog-shebang=ls
And the size of the rpm package reduces from 849K to 519K.
Default to disable this option to keep the traditional behaviour.
(From OE-Core rev: 94ce5d25cad7d81b979218a40cdf15be26a7aae5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade coreutils to 8.28.
Backport a patch to fix the following build error on centos7.
warning: unreferenced node `Realpath usage examples'
(From OE-Core rev: d4fad8ec23f792b0d20b5d20b51134e643672dce)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refreshed the following patch:
iconv-m4-remove-the-test-to-convert-euc-jp.patch
No change in license as update in License Checksum is due
to change in Copyright years.
(From OE-Core rev: 79f36e7d329a8aa2ed1b1d69878203ced96bc6ca)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc7.patch, musl-fixes.patch, and ppc-musl-fix.patch all change code that is no
longer present in upstream tree. However, a patch with different musl fixes
has been added.
The rest of the patches are rebased to the new tree.
Libtasn is a new dependency.
Disable Gstreamer GL support on x86 due to clashing headers problem.
(From OE-Core rev: 3acae2dcd130122fe76504ec855af78db829d6ec)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The installation path and wayland-scanner location problems in Wayland were
resolved in "wayland: Fix installation patch issue" (oe-core 14c0d99) which made
the WAYLAND_PROTOCOLS_SYSROOT_DIR workaround redundant.
(From OE-Core rev: e41c3cb0816a2f59d1c02d4b34285b29d67486ba)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The installation path and wayland-scanner location problems in Wayland were
resolved in "wayland: Fix installation patch issue" (oe-core 14c0d99) which made
the WAYLAND_PROTOCOLS_SYSROOT_DIR workaround redundant.
(From OE-Core rev: 2dffd043c7f9bb71356a0d0b86b5b0a19fdf7343)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The installation path and wayland-scanner location problems in Wayland were
resolved in "wayland: Fix installation patch issue" (oe-core 14c0d99) which made
the WAYLAND_PROTOCOLS_SYSROOT_DIR workaround redundant.
(From OE-Core rev: 5d44eeca7706f6b3d178744f330710105e079618)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch was removed from SRC_URI in the Weston 3.0 upgrade (148920f) but the
patch wasn't deleted.
(From OE-Core rev: f03e43153479bf9c58d7feec9a4c3fa1b7dca57d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a 'nobuild' option for starting Toaster without the project
and hosted builds support. This allows a Toaster host to provide
local build statistics without opening the host to external users
building projects.
[YOCTO #12315]
(Bitbake rev: 2d14d6004b6add5ce07295fff1144ade2e54e1c9)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Toaster initial landing page needs to show that it still has
the command line build capture support in addition to the new
project support.
[YOCTO #12316]
(Bitbake rev: d0358432ca9dd3deef623f6d0585d99d23b3aede)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow for custom environment additions for git cloning, for example
for anspass support.
[YOCTO #12193]
(Bitbake rev: b4717888c55681a49803c4842140af644a5cdc71)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow for "SinglePackageInfo" events that do not include package data,
for example OPKGN equal 'lib32-*' or 'lib64-*'.
[YOCTO #12204]
(Bitbake rev: 567f072ff260614cde3da220a40a95d5a8b9ab92)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latest build enviroment script is now setting BBPATH. This breaks
building previous releases from a master-based Toaster, because with this
newly inherited BBPATH value the 'bitbake.lock' file ends up in the
Toaster build directory instead of the project's build directory.
Toaster should always clear BBPATH so that the bbserver's environment
is clean (enough).
[YOCTO #12363]
(Bitbake rev: 21dde782c049108dd9455ffbf431de214437e800)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Simplify python- and python3-nose by using pypi.bbclass
* Consolidate common content in python-nose.inc
- Avoid duplication by using PYTHON_PN variable
(From OE-Core rev: 351e741cea4538cfe30640bd6e451c0fbc1d0329)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Simplify python- and python3-setuptools with pypi.bbclass
* inherit setuptools rather than distutils
* Consolidate common settings in python-setuptools.inc
- use PYTHON_PN variable to eliminate duplication
- python3-setuptools had missing RDEPENDS (e.g., plistlib)
- installer no longer creates setuptools.pth, drop fixes
(From OE-Core rev: 624a6f209248a0c8e0759d43f246c903a8db6a71)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generators create python-*-manifest.inc files with
lines over 2500 characters long which breaks sending
patches via git send-email (because of smtp limitation).
This patchset formats all the long lines into multiple lines.
(From OE-Core rev: 3a1900a5691466a04b24907067f43117b318ca7e)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pypi.bbclass has usefullness in many meta layers, not
just meta-python. Add it to oe-core for the benefit of
everyone.
Documentation strings for PYPI_PACKAGE, PYPI_PACKAGE_EXT and
PYPI_SRC_URI added to meta/conf/documentation.conf
(From OE-Core rev: c350812523017f113f63e0b863fd526b4d6331b9)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For uninative to work, it relies on it being updated to new versions as
newer glibcs are built. This means the uninative generated by the current
build may not be as recent as the uninative that is being downloaded by
uninative.bbclass.
If this occurs, we can get symbol mismatch errors.
Ultimately, the sstate and the uninative versions need to match so we
should use the same tarball as uninative.bbclass is using, not the one
we built.
[YOCTO #12405]
(From OE-Core rev: a24c10b7bdab8aa960fdd3a58d2009f24344e579)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We saw builds where runtime providers were sometimes changing order and the
build result was therefore non-deterministic. For example it could show:
DEBUG: providers for lib32-initd-functions are: ['lib32-lsbinitscripts', 'lib32-initscripts']
or
DEBUG: providers for lib32-initd-functions are: ['lib32-initscripts', 'lib32-lsbinitscripts']
which could cause a test to pass or fail.
This change ensures we don't rely on the random order of dictonaries in
memory and act deterministically.
(Bitbake rev: ebce92bf8d71f8a6e8af1c6cf6ba335faf9d67c8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running:
$ oe-selftest -r sstatetests.SStateTests.test_sstate_sametune_samesigs
after commit cdcebd81c872cb7386c658998e27cf24e1d0447c results in:
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime lib32-initd-functions (lib32-initscripts, lib32-lsbinitscripts)
Consider defining a PREFERRED_RPROVIDER entry to match lib32-initd-functions
and will occasionally pick a different value on the second stamps run
causing a test failure. Update the multilib code to handle
PREFERRED_RPROVIDER too.
There is a bigger worry here which is why the builds aren't deterministic. This is
caused by a bug in bitbake's providers.py and a separate fix will be sent for that
which would cause this test to always pass or always fail.
(From OE-Core rev: ced4ac760926ce43a937dad2be3b873b1beec6aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As a follow up to the changes to ensure that KBUILD_DEFCONFIG will
always get its defconfig into the processing, we also should ensure that
we don't get both a KBUILD_DEFCONFIG and a SRC_URI defconfig in the
configuration queue. If both are in the configuration queue, we end up
with competing values and a potentially long running check of 5000+
options x 2 against the final .config.
By removing the defconfig found from the SRC_URI when one is found
via KBUILD_DEFCONFIG, we ensure that only one will be processed.
(From OE-Core rev: 7e98c295c1bb511ece51b5f8c97f26c173ddaf76)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bberror does not stop the build correctly, this should be a
bbfatal_log to ensure the failure correctly stops the build and logs
the failure.
Part of
[YOCTO #12162]
(From OE-Core rev: 44ff06635e7f575e67b7ebba5d6900b8ddbc4a06)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using KBUILD_DEFCONFIG, $sccs should be set to the $WORKDIR/defconfig
regardless if it compares or is copied. Otherwise $sccs is not set and the
defconfig is not found correctly.
Part of
[YOCTO #12162]
(From OE-Core rev: b63cc051f1eb58c768f49db2c04843336e62d3df)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates that include the following changes:
133e6ccf46f1 Linux 4.9.65
ceaec6e8cd98 mm/pagewalk.c: report holes in hugetlb ranges
fae5947129eb coda: fix 'kernel memory exposure attempt' in fsync
9980b8278338 mm/page_alloc.c: broken deferred calculation
55b06b0fc09b ipmi: fix unsigned long underflow
8af777385f7a ocfs2: should wait dio before inode lock in ocfs2_setattr()
a8356445ba0f ocfs2: fix cluster hang after a node dies
2bd38ece78a4 dmaengine: dmatest: warn user when dma test times out
e6d4a078f0e7 serial: 8250_fintek: Fix finding base_port with activated SuperIO
70eb4608bb0e serial: omap: Fix EFR write on RTS deassertion
2cfbb32f6ccb ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
aa15fe4d6a7f crypto: dh - Fix double free of ctx->p
4a7e02312420 crypto: dh - fix memleak in setkey
67b718fcf897 net/sctp: Always set scope_id in sctp_inet6_skb_msgname
f0ae7a1b45fa fealnx: Fix building error on MIPS
362d2ce0f851 sctp: do not peel off an assoc from one netns to another one
99aa74ce9c2d af_netlink: ensure that NLMSG_DONE never fails in dumps
080ecd2bb62b vlan: fix a use-after-free in vlan_device_event()
58baa36d3728 net: usb: asix: fill null-ptr-deref in asix_suspend
4ad82095bfe2 qmi_wwan: Add missing skb_reset_mac_header-call
02a0c0639ae0 net: qmi_wwan: fix divide by 0 on bad descriptors
f376621861e3 net: cdc_ether: fix divide by 0 on bad descriptors
6f239c0655cf bonding: discard lowest hash bit for 802.3ad layer3+4
afd9fa661927 netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
3920a5bdd951 tcp: do not mangle skb->cb[] in tcp_make_synack()
58b21b028721 net: vrf: correct FRA_L3MDEV encode type
b0e50c4e895a tcp_nv: fix division by zero in tcpnv_acked()
563c24f65f4f Linux 4.9.64
6fbd42df9217 staging: greybus: spilib: fix use-after-free after deregistration
d8b5d88d2195 brcmfmac: don't preset all channels as disabled
54a5155afa84 x86/MCE/AMD: Always give panic severity for UC errors in kernel context
f6643fc829e0 USB: serial: garmin_gps: fix memory leak on probe errors
579cf722f8c1 USB: serial: garmin_gps: fix I/O after failed probe and remove
1f9688d551e3 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
fd6a742d8bf7 usb: gadget: f_fs: Fix use-after-free in ffs_free_inst
599973738e28 USB: Add delay-init quirk for Corsair K70 LUX keyboards
87ff414178cb USB: usbfs: compute urb->actual_length for isochronous
11fdb41a1faa crypto: dh - Don't permit 'key' or 'g' size longer than 'p'
2d3a0d950156 crypto: dh - Don't permit 'p' to be 0
e38fe6397f73 Revert "dt-bindings: Add LEGO MINDSTORMS EV3 compatible specification"
a9a3cb25d9c1 Revert "dt-bindings: Add vendor prefix for LEGO"
f95d6058d5cc uapi: fix linux/rds.h userspace compilation errors
3323d07612b2 uapi: fix linux/rds.h userspace compilation error
3f0cc54226ca Revert "uapi: fix linux/rds.h userspace compilation errors"
d8ce2b0874a7 Revert "crypto: xts - Add ECB dependency"
d7df7af5b9b6 MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds
ade4b22d47bb MIPS: traps: Ensure L1 & L2 ECC checking match for CM3 systems
73b6038950cd MIPS: init: Ensure reserved memory regions are not added to bootmem
6539d1ca4fc9 MIPS: init: Ensure bootmem does not corrupt reserved memory
3b0f619cd4b9 MIPS: End asm function prologue macros with .insn
b53bab72b9d8 staging: greybus: add host device function pointer checks
1f5a7caba79e staging: wilc1000: Fix endian sparse warning
ca24e702ccfa staging: rtl8712: fixed little endian problem
ef417b59c222 ixgbe: do not disable FEC from the driver
bc656fda2442 ixgbe: add mask for 64 RSS queues
7316fb33f0a5 ixgbe: Reduce I2C retry count on X550 devices
e15dad31b10b ixgbe: Fix reporting of 100Mb capability
3bed7d680acf ixgbe: handle close/suspend race with netif_device_detach/present
6a4ef8b6ceeb ixgbe: fix AER error handling
6c7999904f32 ixgbe: Configure advertised speeds correctly for KR/KX backplane
5d820f84e169 arm64: dts: NS2: reserve memory for Nitro firmware
f6e94c2c16fe ALSA: hda/realtek - Add new codec ID ALC299
0e2245ab6901 gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap
473286bdd58d backlight: adp5520: Fix error handling in adp5520_bl_probe()
6aaf9ba9bde7 backlight: lcd: Fix race condition during register
acc365c02859 drm/omap: panel-sony-acx565akm.c: Add MODULE_ALIAS
5d1d893d31ce ALSA: vx: Fix possible transfer overflow
0f4ea85748bf ALSA: vx: Don't try to update capture stream before running
9dc7637700e5 power: supply: axp288_fuel_gauge: Read 12 bit values 2 registers at a time
0010542d3f79 power: supply: axp288_fuel_gauge: Read 15 bit values 2 registers at a time
d9a5790b2145 rtc: rx8010: change lock mechanism
cb341679a5b4 scsi: lpfc: Clear the VendorVersion in the PLOGI/PLOGI ACC payload
235d82cb46d2 scsi: lpfc: Correct issue leading to oops during link reset
f89885d40a5f scsi: lpfc: Correct host name in symbolic_name field
b4e42f5d0116 scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort
01347f537f6c scsi: lpfc: Add missing memory barrier
d9b035e70426 x86/irq, trace: Add __irq_entry annotation to x86's platform IRQ handlers
f7d1861153d4 staging: rtl8188eu: fix incorrect ERROR tags from logs
fe975496da30 tcp: provide timestamps for partial writes
cfb09f0571a5 scsi: ufs: add capability to keep auto bkops always enabled
ea56533994fe scsi: ufs-qcom: Fix module autoload
0ef1e72e73fe igb: Fix hw_dbg logging in igb_update_flash_i210
64da1e5ea30d igb: close/suspend race in netif_device_detach
2aed3814969b igb: reset the PHY before reading the PHY ID
38fa955da251 drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache
02c7292bb7ee ata: SATA_MV should depend on HAS_DMA
cece64a6107c ata: SATA_HIGHBANK should depend on HAS_DMA
1122c15f0a96 ata: ATA_BMDMA should depend on HAS_DMA
15a65b946c61 ARM: dts: omap5-uevm: Allow bootloader to configure USB Ethernet MAC
c26fa1306c80 ARM: dts: Fix omap3 off mode pull defines
e96a11f64b81 ARM: OMAP2+: Fix init for multiple quirks for the same SoC
db458f6e6110 ARM: dts: Fix am335x and dm814x scm syscon to probe children
f022fa1b61e5 ARM: dts: Fix compatible for ti81xx uarts for 8250
e17a5a8fc0bd fm10k: request reset when mbx->state changes
6202042b7428 extcon: palmas: Check the parent instance to prevent the NULL
c4a77534ce2b extcon: Remove potential problem when calling extcon_register_notifier()
ee61d06653fd Bluetooth: btusb: fix QCA Rome suspend/resume
a5bd3edda619 arm: crypto: reduce priority of bit-sliced AES cipher
49c1e5f03238 media: dib0700: fix invalid dvb_detach argument
ca98a5c72170 media: imon: Fix null-ptr-deref in imon_probe
ea88d5c5f411 Linux 4.9.63
e81b96cab11f misc: panel: properly restore atomic counter on error path
b2dbcb7c969d qla2xxx: Fix incorrect tcm_qla2xxx_free_cmd use during TMR ABORT (v2)
ff4927181666 target/iscsi: Fix iSCSI task reassignment handling
e7c9ca5a3f46 brcmfmac: remove setting IBSS mode when stopping AP
31c8c4942820 security/keys: add CONFIG_KEYS_COMPAT to Kconfig
a23349bb9f12 netfilter: nat: Revert "netfilter: nat: convert nat bysrc hash to rhashtable"
25db12f1c584 netfilter: nat: avoid use of nf_conn_nat extension
fd1ca9fea458 Revert "ARM: dts: imx53-qsb-common: fix FEC pinmux config"
1862eca99e27 ALSA: seq: Cancel pending autoload work at unbinding device
9d65d0ea55dc Input: ims-psu - check if CDC union descriptor is sane
8cf061d919e2 usb: usbtest: fix NULL pointer dereference
ddd95bc900ae mac80211: don't compare TKIP TX MIC key in reinstall prevention
38762a516e0c mac80211: use constant time comparison with keys
2586fa0007dc mac80211: accept key reinstall without changing anything
ac4cfc730e4b ppp: fix race in ppp device destruction
7b9870f07854 net_sched: avoid matching qdisc with zero handle
b89fc6a5caff sctp: reset owner sk for data chunks on out queues when migrating a sock
210a6418730b tun: allow positive return values on dev_get_valid_name() call
d6b1aebcd7a5 ip6_gre: update dst pmtu if dev mtu has been updated by toobig in __gre6_xmit
6d428bc40a42 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
df0eebcea8e5 ipip: only increase err_count for some certain type icmp in ipip_err
fbf92277e6d2 tap: double-free in error path in tap_open()
62de3fe46c6b net/unix: don't show information about sockets from other namespaces
2af59c6557a5 tcp/dccp: fix other lockdep splats accessing ireq_opt
3107d4dc7a80 tcp/dccp: fix lockdep splat in inet_csk_route_req()
ec5caf542066 sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND
28fa583fd8ce ipv6: flowlabel: do not leave opt->tot_len with garbage
3b0b4d2c47ec soreuseport: fix initialization race
57ffb0ecf367 packet: avoid panic in packet_getsockopt()
2ffd26133724 tcp/dccp: fix ireq->opt races
bcb9ced1833c sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
3e2ab0ceef68 tun: call dev_get_valid_name() before register_netdevice()
9075216b8b93 l2tp: check ps->sock before running pppol2tp_session_ioctl()
e12c42c55287 tcp: fix tcp_mtu_probe() vs highest_sack
cb5880e677a1 net: call cgroup_sk_alloc() earlier in sk_clone_lock()
4cd69ad53001 netlink: do not set cb_running if dump's start() errs
d87890d9ff15 ipv6: addrconf: increment ifp refcount before ipv6_del_addr()
5b9d20195a25 tun/tap: sanitize TUNSETSNDBUF input
97ba8f88b448 gso: fix payload length when gso_size is zero
9b609ba2c2df Linux 4.9.62
e45d93b48c93 x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
9d5e5994c5f9 x86/smpboot: Make optimization of delay calibration work correctly
9313d039c4d0 can: c_can: don't indicate triple sampling support for D_CAN
5e01a9f94e59 can: ifi: Fix transmitter delay calculation
f45c1b09261b can: sun4i: handle overrun in RX FIFO
bad4c8f1bc25 drm/bridge: adv7511: Re-write the i2c address before EDID probing
6731d54c7868 drm/bridge: adv7511: Reuse __adv7511_power_on/off() when probing EDID
efc6d340e410 drm/bridge: adv7511: Rework adv7511_power_on/off() so they can be reused internally
55e7e5213817 drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
4f027e3c7b62 rbd: use GFP_NOIO for parent stat and data requests
9f2ac3d8cb31 Input: elan_i2c - add ELAN060C to the ACPI table
1331af440ad2 MIPS: AR7: Ensure that serial ports are properly set up
76aaa788e92a MIPS: AR7: Defer registration of GPIO
b17e663e150c MIPS: BMIPS: Fix missing cbr address
bbc62fb031a6 ASoC: sun4i-spdif: remove legacy dapm components
fb705ebf996e tools: firmware: check for distro fallback udev cancel rule
ebf95a6f0286 selftests: firmware: send expected errors to /dev/null
b98220399dc4 MIPS: SMP: Fix deadlock & online race
3b9fd3333aaf MIPS: Fix race on setting and getting cpu_online_mask
d99db83cafbf MIPS: SMP: Use a completion event to signal CPU up
71bcb37ff5fa MIPS: Fix CM region target definitions
16d5634e8827 MIPS: microMIPS: Fix incorrect mask in insn_table_MM
7de694782cbe drm/i915: Do not rely on wm preservation for ILK watermarks
b35783871190 ALSA: seq: Avoid invalid lockdep class warning
4b52c3170bd8 ALSA: seq: Fix OSS sysex delivery in OSS emulation
1541afbfb4a2 ARM: 8720/1: ensure dump_instr() checks addr_limit
8ea52a683f81 KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
2822bbb53269 crypto: x86/sha256-mb - fix panic due to unaligned access
ca6c028e2fe4 crypto: x86/sha1-mb - fix panic due to unaligned access
58ed8a47e450 crypto: ccm - preserve the IV buffer
46f15501c5b7 workqueue: Fix NULL pointer dereference
2715f6841a08 x86/uaccess, sched/preempt: Verify access_ok() context
07e415ac5ca1 platform/x86: hp-wmi: Do not shadow error values
0a18a94af43f platform/x86: hp-wmi: Fix error value for hp_wmi_tablet_state
419ec342d312 KEYS: trusted: fix writing past end of buffer in trusted_read()
64a234537a88 KEYS: trusted: sanitize all key material
bddc61e7732b cdc_ncm: Set NTB format again after altsetting switch for Huawei devices
047b67372d7b platform/x86: hp-wmi: Fix detection for dock and tablet mode
0e1cfde447fe net: dsa: select NET_SWITCHDEV
fa8f3a67b9a8 clk: mvebu: adjust AP806 CPU clock frequencies to production chip
326ef0fd4fb2 IB/rxe: Fix reference leaks in memory key invalidation code
93e1956dddf5 wcn36xx: Don't use the destroyed hal_mutex
72eff92d84f0 s390/qeth: issue STARTLAN as first IPA command
c4d567ef164e s390/qeth: fix retrieval of vipa and proxy-arp addresses
e793ad50d151 ARM: dts: STiH410-family: fix wrong parent clock frequency
d369bba84410 IB/ipoib: Change list_del to list_del_init in the tx object
8b93cbd12547 sched/cputime, powerpc32: Fix stale scaled stime on context switch
a3a76ea2c072 Input: mpr121 - set missing event capability
260e2e82c247 Input: mpr121 - handle multiple bits change of status register
0ddb64c14856 s390/topology: make "topology=off" parameter work
8b45f832b33b EDAC, amd64: Save and return err code from probe_one_instance()
e41c105195ca IPsec: do not ignore crypto err in ah4 input
ab71bee531fd apparmor: fix undefined reference to `aa_g_hash_policy'
c944dc7aedfb rt2800usb: mark tx failure on timeout
be5125d4fa9e brcmfmac: setup wiphy bands after registering it first
c5493c6e4a6a netfilter: nft_meta: deal with PACKET_LOOPBACK in netdev family
a7eba17c44f3 usb: hcd: initialize hcd->flags to 0 when rm hcd
397b6e5d7bbe libertas: fix improper return value
2ae9f47ce114 serial: sh-sci: Fix register offsets for the IRDA serial port
a88a90128888 phy: increase size of MII_BUS_ID_SIZE and bus_id
04e13a5ec96d dt-bindings: Add vendor prefix for LEGO
852bf68b7a62 dt-bindings: Add LEGO MINDSTORMS EV3 compatible specification
f89e669323ad iio: proximity: sx9500: claim direct mode during raw proximity reads
6d8897645b98 iio: magnetometer: mag3110: claim direct mode during raw writes
87e4965cec61 iio: pressure: ms5611: claim direct mode during oversampling changes
19d0541bd2c2 iio: trigger: free trigger resource correctly
6bcd1787b587 drm: mali-dp: fix Lx_CONTROL register fields clobber
9c9040a85966 crypto: vmx - disable preemption to enable vsx in aes_ctr.c
dea9c75f3f62 arm64: dma-mapping: Only swizzle DMA ops for IOMMU_DOMAIN_DMA
d2e589f305b0 ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6
870b502a0208 cxl: Force psl data-cache flush during device shutdown
f88f299a94e0 powerpc/corenet: explicitly disable the SDHC controller on kmcoge4
a4193ceee266 pinctrl: baytrail: Fix debugfs offset output
3a8ab788bf01 iommu/arm-smmu-v3: Clear prior settings when updating STEs
6f51c8a58397 KVM: PPC: Book 3S: XICS: correct the real mode ICP rejecting counter
61fdf68034a9 drm: drm_minor_register(): Clean up debugfs on failure
872c075b6cb2 clk: samsung: exynos5433: Add IDs for PHYCLK_MIPIDPHY0_* clocks
a276210915d5 PM / OPP: Error out on failing to add static OPPs for v1 bindings
7422c5813a9d EDAC, amd64: Add x86cpuid sanity check during init
2f945e749ee2 dt-bindings: clockgen: Add compatible string for LS1012A
62b9fa2c436f ARM: dts: imx53-qsb-common: fix FEC pinmux config
a1644f9c78e4 xen/netback: set default upper limit of tx/rx queues to 8
6da1c989ccce sched/core: Add missing update_rq_clock() call in sched_move_task()
7ac8a10c8a50 PCI: mvebu: Handle changes to the bridge windows while enabled
bf41c17c2266 video: fbdev: pmag-ba-fb: Remove bad `__init' annotation
95e5e7ed5a8a adv7604: Initialize drive strength to default when using DT
(From OE-Core rev: 8fe7f4d227f2f4ae0e39d6661b848611d907c0b6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the following upstream backports to fix a iwlwifi calltrace:
0b17e1b52f99 iwlwifi: mvm: support new flush API
89025056c0d1 iwlwifi: mvm: avoid variable shadowing
d6dc077966e7 iwlwifi: mvm: add and use iwl_mvm_device_running()
5dfb593df8f0 iwlwifi: add wait for tx queue empty
0e8726bf748a iwlwifi: mvm: wait for the flushed queue only
8e2d37ae55a7 iwlwifi: mvm: flush per station for DQA mode
Also merging the following configuration changes to cleanup kernel audit
warnings:
9f1f122a7d87 features/dca/dca.cfg: fix CONFIG_IXGBE_DCA can not enble if build ixgbe in kernel
d355f082c54d features/iommu/iommu.cfg: remove CONFIG_INTEL_IOMMU_DEFAULT_ON=n
9399ae045c72 features/tpm/tpm.cfg: set CONFIG_HW_RANDOM_TPM as module
(From OE-Core rev: 195758b0a611e937af41880ad81c312de654c5b8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
5caae9d14199 Linux 4.9.61
be3390d86bc2 ARM: dts: mvebu: pl310-cache disable double-linefill
26fc85a0113d staging: r8712u: Fix Sparse warning in rtl871x_xmit.c
244cff7066f6 xen: don't print error message in case of missing Xenstore entry
c90b65d8b8fb powerpc/64: Don't try to use radix MMU under a hypervisor
df0c2d409e9d PCI: Avoid possible deadlock on pci_lock and p->pi_lock
8e5ca01ac966 drm/exynos: g2d: prevent integer overflow in
2a6576f56eab bt8xx: fix memory leak
c31f5651aed7 s390/crypto: Extend key length check for AES-XTS in fips mode.
aa7a7e92e08e s390/prng: Adjust generation of entropy to produce real 256 bits.
ba56e6cd9741 s390/dasd: check for device error pointer within state change interrupts
0b5cdee7df76 mei: return error on notification request to a disconnected client
ad1267a0c9f7 exynos4-is: fimc-is: Unmap region obtained by of_iomap()
bfcbe6cd1551 ASoC: Intel: boards: remove .pm_ops in all Atom/DPCM machine drivers
2e727b8abeeb vfs: open() with O_CREAT should not create inodes with unknown ids
7ec661f58578 brcmfmac: check brcmf_bus_get_memdump result for error
a69bec9bd3a4 staging: lustre: lmv: Error not handled for lmv_find_target
758d3ea8247e staging: lustre: ptlrpc: skip lock if export failed
091f48a66440 staging: lustre: hsm: stack overrun in hai_dump_data_field
a513df5968ad staging: lustre: llite: don't invoke direct_IO for the EOF case
c3f0c2c14000 platform/x86: intel_mid_thermal: Fix module autoload
db5323e5088c scsi: aacraid: Process Error for response I/O
b469d5c393c2 xen/manage: correct return value check on xenbus_scanf()
b1a38567a9ed gpio: mcp23s08: Select REGMAP/REGMAP_I2C to fix build error
293c98f15d04 mtd: nand: sunxi: Fix the non-polling case in sunxi_nfc_wait_events()
ceec8374d790 clk: sunxi-ng: Check kzalloc() for errors and cleanup error path
d3b56161e0a3 ath10k: fix reading sram contents for QCA4019
90400ec14408 cx231xx: Fix I2C on Internal Master 3 Bus
64674bc8eead net: phy: dp83867: Recover from "port mirroring" N/A MODE4
227afd93a6ad clocksource/drivers/arm_arch_timer: Add dt binding for hisilicon-161010101 erratum
35c309e4c446 drm/fsl-dcu: check for clk_prepare_enable() error
2b462a38bfea iwlwifi: mvm: use the PROBE_RESP_QUEUE to send deauth to unknown station
195fe2ec8631 perf tools: Only increase index if perf_evsel__new_idx() succeeds
24cca20a0988 drm/amdgpu: when dpm disabled, also need to stop/start vce.
f04d92e10580 i2c: riic: correctly finish transfers
46d515488a07 net/ena: change driver's default timeouts
16d65c0c0181 ext4: do not use stripe_width if it is not set
0e9deca480c3 ext4: fix stripe-unaligned allocations
a418b2fd8e53 net: mvneta: fix build errors when linux/phy*.h is removed from net/dsa.h
c16283db12e1 PCI/MSI: Return failure when msix_setup_entries() fails
a624515184da staging: rtl8712u: Fix endian settings for structs describing network packets
47d7bc22c054 bnxt_en: Added PCI IDs for BCM57452 and BCM57454 ASICs
e6f3caf3bf81 mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped
b15965b00686 mfd: ab8500-sysctrl: Handle probe deferral
1bd47ceafbd7 mmc: s3cmci: include linux/interrupt.h for tasklet_struct
31a8b19dbe6a scsi: megaraid_sas: Do not set fp_possible if TM capable for non-RW syspdIO, change fp_possible to bool
7da4cd97f58b PM / wakeirq: report a wakeup_event on dedicated wekup irq
80eabac6c53a IB/mlx5: Assign DSCP for R-RoCE QPs Address Path
733ab05adc1e staging: fsl-mc: Add missing header
58b9a54ae03d crypto: ccp - Set the AES size field for all modes
5208153038d3 cpufreq: Do not clear real_cpus mask on policy init
f1e7f9dc1198 Fix tracing sample code warning.
86b0853f7391 tracing/samples: Fix creation and deletion of simple_thread_fn creation
8b2653de6f78 drm/msm: fix an integer overflow test
06bf74cdbdbe drm/msm: Fix potential buffer overflow issue
984dcb32ffd0 drm/i915/edp: read edp display control registers unconditionally
f2fd2d945446 ocfs2: fstrim: Fix start offset of first cluster group during fstrim
09907f0cbe61 drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting
b3937f55c725 ARM: 8715/1: add a private asm/unaligned.h
e059fc3c36c0 arm/arm64: kvm: Disable branch profiling in HYP code
d7d5a30e23a2 arm/arm64: KVM: set right LR register value for 32 bit guest when inject abort
011b44af0077 arm64: ensure __dump_instr() checks addr_limit
43f69519e9f9 ASoC: adau17x1: Workaround for noise bug in ADC
cb14a0dd1f74 KEYS: fix out-of-bounds read during ASN.1 parsing
0be72aebbff3 KEYS: return full count in keyring_read() if buffer is too small
5e8b028abaf8 cifs: check MaxPathNameComponentLength != 0 before using it
ffb76bb8aa9e ALSA: seq: Fix nested rwsem annotation for lockdep splat
c778c8187e44 ALSA: timer: Add missing mutex lock for compat ioctls
06b639e5a1a6 Linux 4.9.60
4b86c486e628 ecryptfs: fix dereference of NULL user_key_payload
bdcb6c994c16 regulator: fan53555: fix I2C device ids
543aabb7d14b ipsec: Fix aborted xfrm policy dump crash
bb46f793ad02 cfg80211: fix connect/disconnect edge cases
7e31cdee8b89 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
636e798d1483 can: kvaser_usb: Correct return value in printout
c4fe13bd538e can: sun4i: fix loopback mode
e6b5e3b6344e drm/amd/powerplay: fix uninitialized variable
5a0dbfeed4fc scsi: sg: Re-fix off by one in sg_fill_request_table()
88acde81e80f scsi: zfcp: fix erp_action use-before-initialize in REC action trace
67bcc5e530d5 assoc_array: Fix a buggy node-splitting case
52f65e35c2b8 Input: gtco - fix potential out-of-bound access
9460dd363334 Input: elan_i2c - add ELAN0611 to the ACPI table
d431d9f122ab xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
8783885ea7fe fuse: fix READDIRPLUS skipping an entry
d8e5f2f8d507 spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path
1dfea1eeac64 spi: uapi: spidev: add missing ioctl header
474cb9e0f02f KVM: PPC: Fix oops when checking KVM_CAP_PPC_HTM
659b04ad201b usb: xhci: Handle error condition in xhci_stop_device()
a703da486eca ceph: unlock dangling spinlock in try_flush_caps()
41f804df5644 ALSA: hda - fix headset mic problem for Dell machines with alc236
61ae3fbc85f4 ALSA: hda/realtek - Add support for ALC236/ALC3204
43a980a99654 workqueue: replace pool->manager_arb mutex with a flag
d785062ef20f Linux 4.9.59
d2d576e28554 FS-Cache: fix dereference of NULL user_key_payload
63c8e4525549 KEYS: Fix race between updating and finding a negative key
b2ac5d4516fb fscrypt: fix dereference of NULL user_key_payload
f374505b7910 xfs: trim writepage mapping to within eof
245262c66d1d xfs: cancel dirty pages on invalidation
67d73f4122a3 xfs: handle error if xfs_btree_get_bufs fails
fee940a8bef1 xfs: reinit btree pointer on attr tree inactivation walk
0fe7d85b5a99 xfs: don't change inode mode if ACL update fails
3a5a338aec3f xfs: move more RT specific code under CONFIG_XFS_RT
3042b3a5a4ee xfs: Don't log uninitialised fields in inode structures
1b4998dceda7 xfs: handle racy AIO in xfs_reflink_end_cow
002295a6be81 xfs: always swap the cow forks when swapping extents
d59a3f7f3caa xfs: Capture state of the right inode in xfs_iflush_done
98cbca24894c xfs: perag initialization should only touch m_ag_max_usable for AG 0
0eebfedec144 xfs: update i_size after unwritten conversion in dio completion
d1b2a35f8f57 xfs: report zeroed or not correctly in xfs_zero_range()
6f770625b421 fs/xfs: Use %pS printk format for direct addresses
92f606092f6c xfs: evict CoW fork extents when performing finsert/fcollapse
4e9de11c2377 xfs: don't unconditionally clear the reflink flag on zero-block files
13c5e9770109 vmbus: fix missing signaling in hv_signal_on_read()
1c33c8f8a727 pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
da0c7503c0b8 KEYS: don't let add_key() update an uninstantiated key
f9e7e2d6051e lib/digsig: fix dereference of NULL user_key_payload
fec442e32bf6 KEYS: encrypted: fix dereference of NULL user_key_payload
ca9601382b31 x86/microcode/intel: Disable late loading on model 79
5a6fb4920381 rtlwifi: rtl8821ae: Fix connection lost problem
f1ae556a31dd clockevents/drivers/cs5535: Improve resilience to spurious interrupts
534b65dc0a06 bus: mbus: fix window size calculation for 4GB windows
8de5590d957c brcmsmac: make some local variables 'static const' to reduce stack size
7f9267693f51 brcmfmac: Add check for short event packets
717ef37dde6c i2c: piix4: Fix SMBus port selection for AMD Family 17h chips
4d4f527029e2 i2c: ismt: Separate I2C block read from SMBus block read
57ed31530cf9 ALSA: hda: Abort capability probe at invalid register read
d0f5c17fd414 ALSA: hda: Remove superfluous '-' added by printk conversion
d5b657ee66a3 ALSA: seq: Enable 'use' locking in all configurations
710c0b073eeb drm/nouveau/mmu: flush tlbs before deleting page tables
f4f0b6aa58eb drm/nouveau/bsp/g92: disable by default
587d7faf6f0e can: esd_usb2: Fix can_dlc value for received RTR, frames
dc1858a8e56f xhci: Identify USB 3.1 capable hosts by their port protocol capability
6f4a36f0ec7d usb: musb: Check for host-mode using is_host_active() on reset interrupt
b4ecc15d6f5a usb: musb: sunxi: Explicitly release USB PHY on exit
09fad6f25254 iio: dummy: events: Add missing break
6bb16fa58127 parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
6f0eefab853b can: gs_usb: fix busy loop if no more TX context is available
b26fafd38106 ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
d15fc53296a5 usb: hub: Allow reset retry for USB2 devices on connect bounce
ddf0b44fbcb2 usb: quirks: add quirk for WORLDE MINI MIDI keyboard
b7cd9f5664e1 usb: cdc_acm: Add quirk for Elatec TWN3
603296156ba4 USB: serial: metro-usb: add MS7820 device id
9d13d3e05be2 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
ee0ea51aa9cb USB: devio: Revert "USB: devio: Don't corrupt user memory"
4d4a6a3f8a12 Linux 4.9.58
480fd4fb29c5 usb: dwc3: gadget: Correct ISOC DATA PIDs for short packets
9b9843154cd1 cpufreq: CPPC: add ACPI_PROCESSOR dependency
2ee4d596e445 EDAC, mce_amd: Print IPID and Syndrome on a separate line
8a7a752441a9 btmrvl: avoid double-disable_irq() race
a127483e9ee2 regulator: core: Resolve supplies before disabling unused regulators
16ee696eed67 drm/nouveau/gr/gf100-: fix ccache error logging
62a3af1f1bc0 powerpc/perf: Add restrictions to PMC5 in power9 DD1
d4bda742831e nfsd/callback: Cleanup callback cred on shutdown
0c92e732937c hrtimer: Catch invalid clockids again
b200b6dc7f39 target/iscsi: Fix unsolicited data seq_end_offset calculation
e0fcd1e40db4 IB/hfi1: Allocate context data on memory node
06f2d879c308 IB/hfi1: Use static CTLE with Preset 6 for integrated HFIs
939f4f6ec741 uapi: fix linux/mroute6.h userspace compilation errors
ad50561ba7a6 uapi: fix linux/rds.h userspace compilation errors
bd530852210d ceph: clean up unsafe d_parent accesses in build_dentry_path
6839ad59f9d5 ceph: fix bogus endianness change in ceph_ioctl_set_layout
df37e8fadf74 ceph: don't update_dentry_lease unless we actually got one
b025eb5d2678 i2c: at91: ensure state is restored after suspending
1226f6993357 qed: Read queue state before releasing buffer
7f8ea2674b44 qed: Reserve doorbell BAR space for present CPUs
a506d326cbec qede: Prevent index problems in loopback test
f6a72741241f net: mvpp2: release reference to txq_cpu[] entry after unmapping
0ea82b90d844 drm/amdgpu: refuse to reserve io mem for split VRAM buffers
b01eb4631306 ASoC: mediatek: add I2C dependency for CS42XX8
10ae48453347 scsi: scsi_dh_emc: return success in clariion_std_inquiry()
076a6220bc01 slub: do not merge cache if slub_debug contains a never-merge flag
2ada592fc8e5 ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock
a5f043b2419e mm/memory_hotplug: set magic number to page->freelist instead of page->lru.next
6145171a6bc0 crypto: xts - Add ECB dependency
8909b26a51fc net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs
84a66ca77543 sparc64: Migrate hvcons irq to panicked cpu
cf368c29f5ac md/linear: shutup lockdep warnning
e9afe7c8641a f2fs: do not wait for writeback in write_begin
e215b6bb2dfe Btrfs: send, fix failure to rename top level inode due to name collision
ab3d531745cf sched/fair: Update rq clock before changing a task's CPU affinity
e5226e92bed8 f2fs: do SSR for data when there is enough free space
90a8dfa5ae7a iio: adc: xilinx: Fix error handling
f107c6ddf8db netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.
0500fcd88556 staging: vchiq_2835_arm: Make cache-line-size a required DT property
b1b73cc04608 net/mlx4_en: fix overflow in mlx4_en_init_timestamp()
c1bc62d729f4 mac80211: fix power saving clients handling in iwlwifi
fff654b43e12 qed: Don't use attention PTT for configuring BW
145ded700722 ALSA: hda: Add Geminilake HDMI codec ID
4799163a7a19 mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length
aaf54d40b83f initramfs: finish fput() before accessing any binary from initramfs
d413c3f0bd6f irqchip/crossbar: Fix incorrect type of local variables
bbb5f0062b74 watchdog: kempld: fix gcc-4.3 build
8b0be545deba locking/lockdep: Add nest_lock integrity test
43588be0735f xen-netback: Use GFP_ATOMIC to allocate hash
ebbd5ac4acdb Revert "bsg-lib: don't free job in bsg_prepare_job"
0054c0bca321 MIPS: Fix minimum alignment requirement of IRQ stack
(From OE-Core rev: f65220d326c0b288ba076054bfada433f359ae8b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream finally accepted and merged a different approach for
connecting QEMU to swtpm: instead of a custom cuse-tpm device, a
normal chardev connects to swtpm, and that chardev then is used by the
TPM device. For now we have to backport those patches, but the next
major QEMU update will have them.
However, the chardev-connect-socket-to-a-spawned-command.patch is
something that OE will have to carry permanently. It simplifies
starting and stopping swtpm when invoking QEMU through runqemu without
having to teach that script about the additional process. Upstream
rejected the patch because they want to keep the complexity of
starting additional processes out of QEMU.
A recent enough swtpm is needed. The one currently used by
meta-security fails to communicate properly with QEMU, leading to this
failure:
qemu-system-x86_64: -tpmdev emulator,id=tpm0,chardev=chrtpm0: tpm-emulator: Failed to send CMD_SET_DATAFD: Input/output error
qemu-system-x86_64: -tpmdev emulator,id=tpm0,chardev=chrtpm0: tpm-emulator: Could not cleanly shutdown the TPM: Invalid argument
With a recent enough swtpm, one can create a TPM device like this:
- bitbake swtpm-native
- create a TPM instance and initialize it with:
$ mkdir -p my-machine/myvtpm0
$ tmp*/work/*/swtpm-wrappers-native/*/swtpm_setup_oe.sh --tpm-state my-machine/myvtpm0 --createek
Starting vTPM manufacturing as root:root @ Wed 06 Dec 2017 10:03:14 AM CET
TPM is listening on TCP port 34613.
Successfully created EK.
Successfully authored TPM state.
Ending vTPM manufacturing @ Wed 06 Dec 2017 10:03:14 AM CET
- runqemu "qemuparams=-chardev 'socket,id=chrtpm0,cmd=exec
swtpm_oe.sh socket --terminate --ctrl type=unixio,,clientfd=0
--tpmstate dir=... --log level=10,,file=.../swtpm.log --tpm2'
-tpmdev emulator,id=tpm0,chardev=chrtpm0 -device
tpm-tis,tpmdev=tpm0" ...
Beware that the double commas are intentional. They are needed to
embed commas in the "cmd" value.
swtpm_oe.sh is from swtpm-wrappers-native. In the example it is
invoked without the full path for the sake of brevity. In practice,
one has to use the full
path (tmp*/work/*/swtpm-wrappers-native/*/swtpm_oe.sh).
With the TPM2-preview version of swtpm, the same works for TPM2 by
adding the --tpm2 parameter when invoking swtpm_setup_oe.sh and
swtpm_oe.sh.
(From OE-Core rev: 82f37aa4c5152f104897fff04f09ad55c20c2a3f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there are many recipes that should be cleaned out from the
sysroots, it can actually take some time. This adds a progress bar to
give a visual clue that the clean up is actually progressing.
(From OE-Core rev: d9b59df1230a20c7a5c9f4fb0325bb9216025a16)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If two builds are sharing the same DL_DIR, and the uninative file is local
to a layer. When the first build gets to uninative it creates the link local
to itself, and subsequent users can use the same link. However if that first
build then is deleted from the disk, the symlink is no longer valid (broken).
We need to update the system to detect this case, and use the model
implemented by the bitbke fetch2 code. Look for a broken link, remove it,
then try to create the link and ignore an exception if it already exists
(since we just unlinked any bad one).
(From OE-Core rev: bfd9664edad7044b5da53fc33b8d0f6508f00950)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
minicom calls out to lrzsz to peform X/Y/ZMODEM transfers, so add a recommends.
(From OE-Core rev: 9eed51e1a939cbfb628e053a01dc9db6cca0a92e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
acinclude.m4 is about to be removed from the lzo recipe which breaks
test_devtool_update_recipe_local_files_2. Create a synthetic recipe in
meta-selftest with some local files and use that instead.
(From OE-Core rev: ed27470fa6a9f3cc1a0eb884474fe7985babde7a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We depend on the host GNU patch, but patch < 2.7 can't handle git-style patches.
This results in patches that fail to apply, or worse apply incorrectly.
(From OE-Core rev: ddda57ab1dee989dce8754350471807c916a6f47)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is an error path so nobody noticed that oe.utils.getstatusoutput() is
just a wrapper around subprocess.getstatusoutput() which returns an (int,
string) pair not (string, string).
(From OE-Core rev: 33bf6e05af0a68da32f0484460b1de5f7f4eea98)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a bug is present or the user has set PATCHTOOL = "git" on a source
tree that isn't git, if we try to perform git operations (such as
committing or changing branches) when extracting source, then we might
in fact be running those operations on the metadata repository if the
build directory is underneath, say, poky or OE-Core, and that could
make a mess. Check if the source tree is a git repository and refuse
to continue if it isn't.
(From OE-Core rev: 59ae5b7cbfeedb216a57c3f77fe52527b6c918cc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* NATIVE_INSTALL_WORKS hasn't been used in a very long time, so there's no
need to be setting it here.
* RCONFLIGHTS was clearly a typo.
(From OE-Core rev: b0146f21765b10c1f71807372f69a286bc9c2474)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* files is already included in default FILESPATH
* it cannot inherit allarch as it RDEPENDS on bunch of TUNE_PKGARCH packages
* use the same COMPATIBLE_HOST restrictions as grub has to prevent ERRORs in
bitbake world
ERROR: Nothing RPROVIDES 'grub' (but oe-core/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb RDEPENDS on or otherwise requires it)
grub was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST)
grub was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST)
NOTE: Runtime target 'grub' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['grub']
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
(From OE-Core rev: ecad98a0ffe41d8cc8890d16be09e4b604a1e192)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor grammar correction along with making the term 'login banner'
consistent throughout to make searching logs easier.
(From OE-Core rev: 54e739485faba8d80f5af15407905aaeda4767f4)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current logging always assumes the boot timeout has expired yet
there is a second reason we might have ended up in a position where no
login banner was found, that being a socket disconnect. Add logging
for the disconnect case and make the timeout expiration conditional on
the timeout being exhausted.
(From OE-Core rev: 49403368ccf3e469ac111afa259a38cc11e0b688)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When debugging issues when timeouts are involved it is always best to
have wall clock times included. This helps give confidence that the
timeout is in fact run down at the right rate and that no unexpected
events were the true cause of a premature running down of the
timeout. Having these times in old logs also helps when debugging
issues as we have a historic record as to what is a 'typical' time to
complete an action.
In addition to adding the wall clock times the time to 'login' is now
printed making it consistent with the time to 'qemu pid'.
(From OE-Core rev: 4a6364309547d77d1d7a94c48f7c51ceee2b5d1a)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The editenv utility must be available on grub and grub-efi so we
better have it inside the grub2.inc file to avoid the duplication of
metadata.
(From OE-Core rev: ebdd054ad85b19d47dd20eab0ba3f31ef5141140)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To allow scripting and environment changes, the loadenv and test must
be enabled. This adds those to the default set.
(From OE-Core rev: b7c9a298801c828c06b6e7da47c35f592864ce74)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This new module allow for easy execution of external scripts or
applications. It runs anything found in /exec.d directory in order and
in case of no scripts to be available, it opens a shell.
(From OE-Core rev: 9b98c97338b4c3f985eca572d6a1e21324fa0fbc)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting IMAGE_FSTYPES_DEBUGFS to the same value as IMAGE_FSTYPES can
lead to creating a large number of DEBUGFS filesystem images, many of
which may not make much sense (or may not even be buildable).
(From OE-Core rev: a41f7cdf0cbc56a283d5c845c36d88a0208bf386)
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>
The nm01 testcase runtime depends on a static library, and ltp-staticdev
package is entirely pointless, so remove it and add the static libraries
to ltp main package and skip the "staticdev" checks.
(From OE-Core rev: 002f7b9f038b86b793b8e0558bcd17ad58372767)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gperf doesn't use aclocal so don't call aclocal.
(From OE-Core rev: e080880a82df7f9402a76f20b74e0f43b87f5b71)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The entry point is not guaranteed to exist, so use the
piglit_egl_get_default_display() helper which does the correct thing.
(From OE-Core rev: fba2c9309ede86608f985adf46592c31b5d446ca)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The '--label' argument should work for '--source rawcopy' as it does for
'--source rootfs', so add a method in RawCopyPlugin to update the label
on the temporary filesystem images.
(From OE-Core rev: 303d6ca5ae986acd2e633b0dc5e386ee7771f8ab)
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Fix HOMEPAGE. The old one is obsolete.
2. Remove the setting of CPPFLAGS.
It was used to support out-of-tree build. But the problem has been
fixed upstream since commit 90cc5460aa0e9ca10a0d7c8c44064fd14789f750
(build-sys: add $(top_srcdir) to include search dir).
(From OE-Core rev: 201e0b643c44ef599f7b1b0210f21d0023bc0f96)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It always fail to check the file generated by configure
when running ptest on the target since it's cross-compiling,
so remove the check from the Makefile for ptest.
(From OE-Core rev: 839f5ed91a8061506b1f71661ec4006783146672)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We add the kernel-build-artifacts to the cleandirs list to ensure
that there are no remaining artificats in the kernel-build-artifacts
directory which is STAGING_KERNEL_BUILDDIR. Without this change
multiple System.map files are visiable in the STAGING_KERNEL_BUILDDIR,
which could cause problems for some tools.
[YOCTO #11880]
(From OE-Core rev: d52a65d3d8512eeb5081d9fb5f18805428358241)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Under musl bash uses its own libintl clone but there are some missing
dependencies so it is possible for pathexp.o to be built whilst libintl.h is
being written, leading to compile errors.
(From OE-Core rev: d58c20fd45f4808cbc1726ec5b46edb1c60b9cf8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoreconf finds autoconf/local.m4 on its own, so there's no need to mess around
with a fork of aclocal.m4 as acinclude.m4.
(From OE-Core rev: 8f9025f05b787f41f1867d340d911d7754ee7794)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the cache variable used by AC_FUNC_MMAP, which is possibly one of the
worst autoconf macros to exist.
Apart from being a runtime test which silently claims that mmap() is broken when
cross-compiling, this is basically to verify that mmap() actually works, because
SVR4.0 (released 1988) was broken. Thirty years later, everyone has a working
mmap().
common-glibc already has an assignment, so add a corresponding assignment to
common-musl and remove it from the machine-specific files.
(From OE-Core rev: 93dd7c87cef4fd9c22a09857fb55218c8be87b5b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bash hand-maintains their aclocal.m4, so stop autoreconf from invoking aclocal
and overwriting it. This means we can remove the kludge to copy aclocal.m4 to
acinclude.m4.
(From OE-Core rev: 57fe9f61dd4c43f8267b831c1b177ad67010d78c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes:
http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5
Rebased autotools.patch and makefile_no_gtk.patch.
Dropped 0001-as10k1-Make-output_tram_line-static-inline.patch with the
assumption that it's not needed any more. The patch added a "static"
qualifier to a function. According to the commit message, this was done
to improve optimization. Upstream removed the "inline" qualifier from
that same function, because it caused some trouble with clang. My guess
is that the patch author actually ran into the same clang problem as
upstream, but came up with a different fix. It doesn't seem like a
function whose optimization anyone would really be interested in.
Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 569beb5f5e32536a3b2e398ddc218ce5ad76cbe1)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes:
http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5
Dropped all patches. The poll.h patch is included in the release, and
the wordexp patch is not needed any more, because the wordexp function
is replaced by an internal reimplementation.
It would still be possible to enable the use of wordexp with the
--with-wordexp configure option. The option exists, because the internal
reimplementation covers only part of what wordexp can do, so not using
wordexp can in theory cause regressions. However, it seems that
regressions are quite unlikely in practice. Here's some discussion about
the topic:
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-July/122667.html
(From OE-Core rev: 00b73cbe8ae6d1dd6ba82f0ab5cd38c2d712deb7)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Release notes:
http://lame.cvs.sourceforge.net/viewvc/lame/lame/doc/html/history.html?revision=1.154
Dropped patches that are included in the release:
- lame-3.99.5_fix_for_automake-1.12.x.patch
- CVE-2017-13712.patch
The CACHED_CONFIGUREVARS thing to disable SSE code on x86 isn't needed
anymore. The build system now correctly detects when SSE isn't
available.
Note for stable branch maintainers: This release includes several fixes
for bugs that have a CVE number associated with them. The bugs (or at
least most of them) are crashes that seem to be considered "remote DoS"
vulnerabilities, probably because it's easy to imagine lame being used
with untrusted audio files from remote sources. If you want to backport
"all sercurity fixes" to the stable brances, that task seems pretty
difficult. The release notes explicitly mention three CVE numbers, but
there are more: for example, OE had a fix for CVE-2017-13712, which is
not mentioned in the release notes but is fixed in the release. The
commit log doesn't keep any track of CVE numbers either. Maybe it would
be best to just upgrade lame to 3.100 also in the stable branches.
(From OE-Core rev: 930f8873e0e180da7242f65bfd5c60f9d6c19424)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11.0 release notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/11.0/
Additional changes in 11.1:
* Fix a crash in filter modules related to flat volumes and volume
sharing
* Fix a crash when the bluetooth adapter reports weird MTU size
* Disable bluetooth MTU autodetection by default
* Add mixer handling back for hardware that doesn't have any alsa-lib
configuration
* Prioritize USB devices over built-in sound cards (11.0 was supposed
to have this feature, but the implementation turned out to be
incomplete)
Dropped backported patch:
pulseaudio-discuss-iochannel-don-t-use-variable-length-array-in-union.patch
(From OE-Core rev: c6d7d89d9a6bbe2de62fa1a91b833bf1c03693ac)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When read-only-rootfs is active, we need to ensure that the rootfs
does not get mounted read/write by the kernel or initramfs. Adding
"ro" to the boot parameters achieves that.
(From OE-Core rev: cfc09de06ecc12bb42181004689e881c75072665)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes can't rely on IMAGE_FEATURES to determine whether the
resulting packages will be used in an image with read/write or
read-only rootfs because IMAGE_FEATURES is a per-image recipe
variable.
The connman.inc code checked IMAGE_FEATURES to determine whether
/var/run/connman needs to be created via tmpfiles.d when booting a
read-only rootfs. In my tests that is not necessary (anymore?),
something (connman itself?) creates the missing directory.
(From OE-Core rev: 577585375efac8f86223d7549ce39cd70877cbd9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the redundant backslash in template layer.conf file, otherwise,
the bbappend line setting wouldn't have effect, causing bbappend files
in these created layers not having any effect.
(From OE-Core rev: 7909b258ac87d4be9bb7aba00d12fd363bd9b248)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing systemd template units with an argument, the current code
removes characters between the '@' and the '.' from service names in
SYSTEMD_SERVICE_${PN}, e.g.:
getty@tty1.service -> getty@.service
This fails for services with dots in the argument (which is perfectly
legal in systemd), since the code searches only until the first dot.
E.g.:
vlan@eth0.1.service -> vlan@1.service
This is obviously wrong, and fails in systemd_populate_packages(), where
it fails to find the unit file.
Fix this by reworking the removal of the argument part of the service
name, so that parts before '@' and after teh last '.' are used as base
name.
(From OE-Core rev: 4704bd91458a728f28cbdc57dcf78f5d04cfd0cd)
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This file has been removed but the CONFFILES assignment for it wasn't.
(From OE-Core rev: 5caf53cddceafe55d25a9e53843bbcc2012db829)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Links to the section in the BSP manual for how to create a new
BSP layer using 'bitbake-layers' were needing fixed.
(From yocto-docs rev: 150612925421b09e84f85514e65e58d179e5be46)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section needs input from engineering.
It is incomplete, but as best as it can be for now.
(From yocto-docs rev: 1212f1eeebd23cb11c63889f3ee602e761450967)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed the way the YP QS looks. The QS now has numbered sections
rather than just formatted section heads. This allows the reader
to better track the hierarchy of the sections. This feature has
been asked for before and I decided it was time to implement it.
One thing though, is I am not generating a full TOC at the head
of the book as is done in the other YP manuals.
Decided to add a manual title .PNG file. This required a new figure
file (ypqs-title.png) that needed to reside in the figures folder of
both the yocto-project-qs and mega-manual. Updates were required in
the Makefile to include the figure. Updates required in the
YP QS style sheet to display the figure. Basically, there were all
kinds of changes to get this title to show up properly in both the
YP QS and in the Mega Manual.
Turned the structure of the YP QS into a book now rather than an
article. This required creating a "qs.xml" file that has the actual
content.
(From yocto-docs rev: ef05f5c7ba2a61ebc4c58873cbbc32d35652659d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is not used by any classes or recipes that I can find, so lets
delete it.
(From OE-Core rev: a7cd9d1183be603777fc9c8c448281fe01224f7b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DNF has a time-based cache policy (and a great sense of humour) so it's possible
that 'dnf makecache' won't actually refresh any caches. Force the cache updates
by passing --refresh.
(From OE-Core rev: a6e34b6aa194a27db9667af1fb0195ac8fb563f5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we have 'wifi' in distro feature, then busybox would have rfkill
enabled. And we would have the following do_rootfs failure if we
install both busybox and util-linux-rfkill.
Error: cannot register alternative rfkill to /usr/bin/rfkill since
it is already registered to /usr/sbin/rfkill.
There's another provider of rfkill in OE, that is rfkill recipe in meta-oe.
And it also registers rfkill to ${sbindir}/rfkill.
So change the register location of rfkill in util-linux to avoid
conflict with busybox and rfkill recipes.
(From OE-Core rev: e01107c5da395a32f9a017f8ee8cc8421c5671e0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the runqemu script to allow the user to specify a device tree
to boot when calling runqemu.
This involves creating a seperate check_dtb() function incase the user
has specified 'none' for the kernel but still wants a device tree.
(From OE-Core rev: 867ac1370b294bfd1ee31f94abb63688f77081a1)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Ben Levinsky <ben.levinsky@xilinx.com>
Cc: Ben Levinsky <ben.levinsky@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For cross-canadian builds, we were accidentally using
the crosssdk C compiler when building the Go compiler
bootstrap. Add a patch to the make script to let us
use BUILD_CC, and prepend do_compile to set it in
the local environment to ensure that the trailing
blank gets stripped, since that confuses Go.
[YOCTO #12341]
(From OE-Core rev: 0dbb860924fc157880b52d8e08bad3c6c6b019b8)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
override correctly busybox's applet when CONFIG_FLASH_ERASEALL=y is set
Error: update-alternatives: not linking /builds/image/1.0-r0/rootfs/usr/
sbin/flash_eraseall to /bin/busybox.nosuid since /builds/image/1.0-r0/
rootfs/usr/sbin/flash_eraseall exists and is not a link
(From OE-Core rev: 21d5a52d86a4090f7ddb1a9eb41bb143261f890e)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original initramfs-live-boot recipe RDEPENDS on udev, which is ok since
the init script relies some of its functionality on udevadm and such,
but on core-image-tiny-initramfs the init script simply drops to shell
after a basic setup, so udev is not needed.
This patch splits up an initramfs-live-boot-tiny recipe which does not
use udev, but uses busybox-mdev instead, eudev installed about 600
extra Kilobytes to core-image-tiny-initramfs userspace, by avoiding to
install eudev we achieve an even smaller footprint (almost 40% smaller).
(From OE-Core rev: 7725bad91b89a291a7099b2d99789a86b028f329)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For these reasons:
1) Upstream website has been dead for quite a while now;
2) Nothing is actually using neon in oe-core, except one gstreamer plugin in gst-plugins-bad
(and I couldn't find evidence of that plugin being used anywhere)
However, the recipe is still required by libmusicbrainz in meta-oe and so it will be moved there
(with the tarball taken from debian).
(From OE-Core rev: 62513ad6d38e4aba3e6b155e04c4c6344ed70ebc)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The WPA_COMMON_CTRL_IFACE definition is missing, which leads to obvious
problems since there is no way to access the ctrl socket. So add it in.
(From OE-Core rev: 7baa3137859915fdbaaea0499b442f5d9df3f17b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I wasn't able to install to my Optane SSD due to the following error:
Formatting /dev/nvme0n1p1 to vfat...
mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: unable to open /dev/nvme0n1p1: No such file or directory
Target install-efi failed
A couple lines later I see:
[ 10.265401] nvme0n1: p1 p2 p3
Then looking at the device itself after booting from a USB stick:
root@intel-corei7-64: ~# ls /dev/nvme0n1*
/dev/nvme0n1 /dev/nvme0n1p1 /dev/nvme0n1p2 /dev/nvme0n1p3
So it looks like the parted commands return before the device node is
actually created.
Work around this issue by waiting for device nodes for a short duration.
(From OE-Core rev: 9daafd49b448122e35d67a1637ce2212793a4dc5)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This kludge is not needed anymore, now that syslog packages (or any
other package) don't use update-alternatives for managing SysV init
scripts.
This reverts commit fc89a3f739.
[YOCTO #10944]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stop using update-alternatives for managing /etc/init.d/functions. Also,
make the initscripts-functions subpackage to (runtime) conflict with
lsbinitscripts.
[YOCTO #10944]
(From OE-Core rev: cdcebd81c872cb7386c658998e27cf24e1d0447c)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using update-alternatives for managing init scripts has proved to be
problematic. And, sysklogd rconflicts with other syslog daemons so there
is no point in using update-alternatives from this perspective, either.
[YOCTO #10944]
(From OE-Core rev: 988aad01b20c18a8850db0ad6dc547525d94116c)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the packages and file names to reflect the new postinst recipe.
Fix a sh syntax error in the run_serial file exists test which was hidden by a
logic problem in the status code.
Remove the older test_verify_postinst as it's effectively a subset of
test_postinst_rootfs_and_boot, and doesn't work: when booting under systemd the
strings it searches for are not output to the console, but the test still
passes.
(From OE-Core rev: 781a1be88f5812157a231bf5771a01bb978bfcd9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce the number of packages, and fix some syntax and logic errors in the
scripts.
(From OE-Core rev: 228f5f072218823aa9d47f2fb1dcde584fde7a44)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
get_bb_vars was using variables.copy() to duplicate the list of variables passed
but this function only exists in lists [1,2] and not tuples (1,2).
Instead of throwing an exception if the variables are in a tuple, simply
construct a new list using the passed sequence-like object.
(From OE-Core rev: b5837f62c8af94d134cf2160afdfb9e08b3418d1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user is trying to use bin_package but the SRC_URI hasn't extracted
anything into ${S}, which is easily done when writing a recipe by hand, instead
of silently shippping an empty package abort the build.
(From OE-Core rev: bf5627ddbe5371eba62f73c33735fb1cf35c2194)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling OpenSSL with binutils 2.29 for ARM with Thumb2 enabled
crashes and unexpected behavior occurs. E.g. connecting to a OpenSSH
server using the affected binary fails with:
ssh_dispatch_run_fatal: Connection to 192.168.10.171 port 22: incorrect signature
Backport upstream bugfix:
https://github.com/openssl/openssl/issues/4659
(From OE-Core rev: e76dcfbd6e1ad6fc147a0607dcdaf8e7ea98b610)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deals with two CVEs:
* bn_sqrx8x_internal carry bug on x86_64 (CVE-2017-3736)
* Malformed X.509 IPAddressFamily could cause OOB read (CVE-2017-3735)
(From OE-Core rev: edf9686be28fc321886d48043bcb4ef5b2c00c1d)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling OpenSSL with binutils 2.29 for ARM with Thumb2 enabled
crashes and unexpected behavior occurs. E.g. connecting to a OpenSSH
server using the affected binary fails with:
ssh_dispatch_run_fatal: Connection to 192.168.10.171 port 22: incorrect signature
Backport upstream bugfix:
https://github.com/openssl/openssl/issues/4659
(From OE-Core rev: 977db3843b629112539d3eb766c845127c0de497)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deals with two CVEs:
* bn_sqrx8x_internal carry bug on x86_64 (CVE-2017-3736)
* Malformed X.509 IPAddressFamily could cause OOB read (CVE-2017-3735)
(From OE-Core rev: a200115c769eff4b9b0241d54ed5ad86da08fdbc)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the -m option since this script now searches through all
recipes in the configuration. Also removed dead code, which includes
the functions recipe_bbvars() and collect_bbvars().
(From OE-Core rev: dac6515fcd23ea9cde5308c1d08a7a928efbb4d6)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a backport [1] to fix the following build error:
| In file included from /home/r60874/upstream/xwayland/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/gtk+3/3.22.17-r0/recipe-sysroot/usr/include/epoxy/egl.h:46:0,
| from ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.h:32,
| from ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:24:
| ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c: In function 'gdk_wayland_gl_context_realize':
| ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:179:43: error: expected expression before 'EGLContext'
| : EGL_NO_CONTEXT,
| ^
[1] ebe3a53db1
(From OE-Core rev: b468e28194be39f6d6a2084bb51773c45253d5f7)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove two unneeded hacks. The first hack ("setup.py: no host headers
libs" patch) is not needed because we use cross-compiler (e.g.
i586-oe-linux-gcc) which has not been configured with any host system
include or library directories, and thus, we don't get any host system
directories when running "gcc -E -v".
The second hack becomes useless after the first hack has been removed
and we get the standard include and lib directories normally from gcc.
(From OE-Core rev: 9e9545ef818adfb57f428db96d4c2ebb0ea65ec6)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch has been accepted upstream.
Changed patch status Pending/Submitted -> Accepted.
(From OE-Core rev: 23bc53b6894155c87b8fc86862b958bad3e3bf0c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Formatting IDE storage does not trigger "change" uevents. As a result
clients using udev API don't get any updates afterwards and get outdated
information about the device.
...
root@qemux86-64:~# mkfs.ext4 -F /dev/hda1
Creating filesystem with 262144 4k blocks and 65536 inodes
Filesystem UUID: 98791eb2-2bf3-47ad-b4d8-4cf7e914eee2
root@qemux86-64:~# ls /dev/disk/by-uuid/98791eb2-2bf3-47ad-b4d8-4cf7e914eee2
ls: cannot access '/dev/disk/by-uuid/98791eb2-2bf3-47ad-b4d8-4cf7e914eee2': No such file or directory
...
Include hd* in a match for watch option assignment.
(From OE-Core rev: c0df31a593ce94b66100b5d4a64b38568494d56e)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch ppp-fix-building-with-linux-4.8.patch tries to fix build error
with 4.8 or newer linux headers, but it would break building with kernel
< 4.8. There is a better solution to fix this issue in upstream.
Backport the upstream patch and replace the old one.
(From OE-Core rev: 85095edfc4bbf23d853fc21fbfb454e598206a24)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is only needed for uclibc, which we don't support in oe-core anymore.
(From OE-Core rev: addf309165059a113a6d02ea5fb29a0f495c1485)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has fixed their use of aclocal.m4 vs acinclude.m4, so now we can remove
some hacks that were previously required.
(From OE-Core rev: 502cdfe3dd5ea3cd70937c92ff1bd8d6faa829eb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The failure is weird and difficult to diagnoze, so disable the
introspection for now:
qemu-mips64: error while loading shared libraries: .../recipe-sysroot/usr/lib/libgthread-2.0.so.0: ELF file data encoding not little-endian
Note that it shows up only for one specific library (gstaudio), and only
on mips64. Introspection data for other libraries is generated just fine.
(From OE-Core rev: 4cfe09598c1ec1ffd108acdfd0f4cce1b8688895)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also fix upstream check and disable newly added python2-only bindings
(as there is no clear need for them and python 2 is deprecated).
Add a backported patch to address format errors when compiling.
(From OE-Core rev: 8737b88f0da61af25ab9731acd9f2c3821170cdb)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LGPL version has been updated from 2.0 to 2.1, adjust the checksums accordingly.
Rebase various patches.
A few tools have been rewritten from perl (or C) to python, so
add a patch that avoids hardcoding the python path in the shebang,
and remove previous patching with sed.
(From OE-Core rev: eef7883587acc933d6f34b559ec03ff84d18573b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This greatly reduces the amount of recipes for which upstream
version check fails: from about 30 to about 8.
(From OE-Core rev: bb9066670a6096aa4134bebc84132b4eb3964b6d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifically:
1) remove +git${SRCPV} stuff from comparison and output; it's just
unnecessary clutter;
2) write the commit id of the latest version tag into the output;
this saves quite a bit of trouble of manually checking what that
commit id is when doing version updates;
3) when UPSTREAM_CHECK_COMMITS is set, ignore the tags altogether;
instead check if the latest commit is different to the one we use,
and if so, report that the recipe can be updated to said commit
(which is also written into the output, as in 2). Multiple
recipes are failing the upstream check because they never
issue tags, now we can fix them.
(From OE-Core rev: 591d57877d3d3e659d78c0ed33f4c515e3f6f8fb)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Delete various build host references from the internally
generated file sudo_usage.h. The references get compiled into
executables, which leads to non-reproducible builds.
The removed references (configure options) were only used as part
of the sudo "usage", and even then only when ran as root.
(From OE-Core rev: 090eb9efdb2204673b1d569582813ea8860c8570)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the installed-vs-shipped QA issue:
| WARNING: libnsl2-1.0.5+gitAUTOINC+dfa2f31352-r0 do_package: QA Issue:
libnsl2: Files/directories were installed but not shipped in any package:
/usr/lib64/nsl/libnsl.a
(From OE-Core rev: 2e6636b23dde2c1b547f98373a2f49e617c37a9f)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For recipes that depend on native ca-certificates.crt, /etc should be
added to the list of directories that automatically populate the
sysroot, otherwise the file may not be there.
(From OE-Core rev: 355e49e19abb3e729c82a6de46ada8da8a257f58)
Signed-off-by: Patrick Vacek <patrick@advancedtelematic.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The non-EFI counterpart for installation was previously missing for
initramfs-framework. This simply puts the normal install script in the
correct location for initramfs-framework to make use of it.
Partial fix for [YOCTO #12346].
(From OE-Core rev: f9d7cf30b12cbc5f642a11c0511dc1dc3ccf1aa5)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the polkit fixup etc at the end of do_install() more consistent
with the rest of the function. Also indent do_install_ptest() with
tabs instead of spaces to make do_install_ptest() consistent with
do_install().
(From OE-Core rev: 7a188e646a7a713ec5eab73580de624dc61f2936)
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>
Also fix some minor formatting inconsistencies (extra spaces or
commas etc). No functional changes.
(From OE-Core rev: 4caf480c8d824575e970ec8ba15e4ee221166954)
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>
Consistently use PACKAGECONFIG_remove_libc-musl to disable options
which are not compatible with musl.
Also sort the default PACKAGECONFIG list.
(From OE-Core rev: 8fb362d90628d0dbc9a5073a0d75296eab569d44)
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>
The ldconfig PACKAGECONFIG option is controlled by the ldconfig
distro feature - which is now disabled by default when building for
musl.
(From OE-Core rev: 84c841c5b4d3ae753c377f5bdbda19281c771f60)
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>
Musl has no support for ldconfig, so ensure that the corresponding
distro feature is disabled when building with musl.
(From OE-Core rev: baacd7ea99265f5493d2452b173a12def92f6202)
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>
.txz is the same as .tar.xz, and can be found in the wild.
(Bitbake rev: 2ba8a6b25ccc12e7b543e8450121e5311c7a701d)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similarly to handling "../", handle "." to resovle to the qemuconf
file's current directory.
(From OE-Core rev: 33418ed064fe9cff5b4803f09135a81d9170c189)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have seen a small number of issues with ROOTFS_SIZE not getting
computed correctly, resulting in a failure in the mke2fs processing
and populating the resulting new filesystem.
This information should help us to reproduce [YOCTO #12304]
(From OE-Core rev: 3a72f6783e142d53d19b37811a854d08d32485ab)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I have concerns that bad timing of the flow of data from the logger
might corrupt the output due to the way binary strings are handled
in qemurunner.
This simplifies the code to do the same thing it did before but much
more safely.
(From OE-Core rev: 1e87283e92a2765bb5d54d17138b208bc395953b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemuconf files are currently written relative to TOPDIR. What
makes more sense is to write paths relative to the location of the
file. This makes moving them around and decoding the end paths in
runqemu much easier.
The effect of this should allow less use of bitbake to determine
variables and allow us to simplify runqemu.
(From OE-Core rev: 55a0028a961c0ad3c2e5729a9e3919cbbf256fe1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a variable starts with "../", its likely its a path and we want to
set it to an absolute path relative to the qemuconf file.
This means we don't have to use bitbake as often to figure out variables.
(From OE-Core rev: dfc7940900d798aa47716288338107e1d46a3972)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is particularly useful if you want to use gdb-cross as there
is no other good way to access it now with RSS.
(From OE-Core rev: e8648a022c93175d84baf3852d4d364b19d8d795)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemuppc boots are occasionally hanging on the autobuilder. This adds a
patch which fixes the issue in local testing. Its being discussed with
upstream qemu.
(From OE-Core rev: 87719e35db08b21cd43ab3ebd72f4567ca0fdc65)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The regexp in the script misses some tap devices, e.g. we see output like:
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap25.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap26.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap27.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap28.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap40.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap41.lock failed: [Errno 11] Resource temporarily unavailable
What happened to tap29 to tap39?
The issue is was we were missing devices with '0' in the number,
like "10:" and so on in the output from "ip link".
(From OE-Core rev: 6447697a48e3b693ee38806bc2ba07c2a65c2bc8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The connection cache class uses a dummy file object but it doesn't have a closed
attribute, so we can't use it in a context manager.
(Bitbake rev: 7b072ef91d16331eae11bd60f229ce1f0c175995)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a matching recipe is not found then return Null instead of raising
KeyError because we were blindly using None as a key for pkg_fn.
(Bitbake rev: 431e89e322850a2497157c3c0843da9df6bc9a3e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The -i option supports more than one class, but the help didn't mention
that.
(Bitbake rev: 1060955c4aa2ef66cdb4f0549f9bd8c1c332673c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you can add multiple layers at once, it stands to reason that you
should also be able to remove more than one at a time.
(Bitbake rev: 2f2033836a5ce4064d9e4f263788a563001bc008)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow specifying multiple layers with bitbake-layers add-layer so that
you can add more than one in a single command. This is not just useful,
it's actually pretty important if you need to add a layer and its
dependencies at the same time - since we now go through a parse process
when the layer is added, without this you have to add them all in just
the right order and wait for the parse each time which is somewhat
painful.
(Bitbake rev: ad6b14f01aa326a1c6baa31bfac33be238bce805)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
.txz is .tar.xz, so add it, as this can actually be found in the
wild.
(From OE-Core rev: 58af8c2e4bd17692274fc5a6ac8f8af84319fec6)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
COPTS will be ignored if it is defined in the environment.
It must be passed directly to make. To be consistent, we
pass LOPTS that way, too.
(From OE-Core rev: dede6d3d37aab72ae897c3709d21108fa75f6673)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop linkage.patch, this version already links .lo object.
* Remove backported patch fix-build-failure-on-ppc.patch
* Update LIC_FILES_CHKSUM since the year is changed.
(From OE-Core rev: 2702506f48a1b7e72e1786d24bd0113396dbc85d)
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>
autoconf-archive is a set of common m4 macros, it should be allarch,
just like it is on other distros.
Also fix package splitting. With current package splitting,
autoconf-archive itself contains almost nothing, the m4 macros are
contained in its dev package. However, autoconf-archive should
contain those m4 marcos itself.
(From OE-Core rev: 8cbf5523f002e8ae0d8123755d2cbc3e8b0138ac)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- 0001-include-stdint.h-explicitly-for-UINT16_MAX.patch is already
applied to upstream.
- Rebase two patches.
(From OE-Core rev: 9839de8861c5fb2067664542045c0728653bbcb4)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since it's been removed from the upstream repo and not fetchable
remove it here. The newer firmware supports the device correctly.
(From OE-Core rev: 8b8c40bdbd09ddd1409dc30e04ef847f6a15f109)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add linux site info for the MicroBlaze architecture. This is based on
the site info from meta-xilinx and additional options based on config
options that other *-linux architecture site info files define.
(From OE-Core rev: def626a46efdeeaf867a27464aed463d265d777c)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add mappings for the microblaze(eb/el) linux and linux-musl variants to
use architecture common linux site data.
(From OE-Core rev: 634d1ed2cd89b8ac28b918be3561b135f7418b25)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was included to allow hwrng to feed data to /dev/random. Since the
kernel does this itself (confirmed by the recent kernel Kconfig text change
, code inspection and local testing), we can drop rng-tools from these
images.
(From OE-Core rev: d4b17e841b497f0ee4d31a8c967b5ce1b76157e4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrade is critical as it fixes the support for Linux 4.14 LTS kernel.
The changlog is:
2017-10-05 LTTng modules 2.9.5
* Fix: update block instrumentation for 4.14 kernel
* Revert "Fix: update block instrumentation for kernel 4.14"
2017-10-03 (National Techies Day) LTTng modules 2.9.4
* Fix: version check error in btrfs instrumentation
* Fix: update btrfs instrumentation for kernel 4.14
* Fix: update writeback instrumentation for kernel 4.14
* Fix: update block instrumentation for kernel 4.14
* Fix: vmalloc wrapper on kernel < 2.6.38
* Fix: vmalloc wrapper on kernel >= 4.12
* Add kmalloc failover to vmalloc
* Fix: mmap: caches aliased on virtual addresses
* Fix: update ext4 instrumentation for kernel 4.13
* Fix: Sleeping function called from invalid context
* Fix: sched for v4.11.5-rt1
* Fix: handle missing ftrace header on v4.12
This also removes the previously backported patches as they are part
of 2.9.4 release and the missing fix is part of 2.9.5 release.
(From OE-Core rev: 3ca3f8b2dbf0fec6a188ee2c10238704e4642c93)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
test-arrayind1-Remove-hashbang-line.patch is dropped as it has
been merged in new version.
(From OE-Core rev: c84c8666581bfd64b21498330925146d8fe81075)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sbc library itself is licensed under LGPLv2.1 or higher as mentioned in
sbc/sbc.h or any other file in sbc directory.
sbc test applications are licensed under GPLv2 or higher as mentioned in
src/sbcenc.c or any other file in src directory
Reported-by: Vladimir Koutny <vladimir.koutny@streamunlimited.com>
(From OE-Core rev: ef34ed6282627005d0077f88235fdbe42dea23a3)
Signed-off-by: Radek Dostál <radek.dostal@streamunlimited.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
HostAP is the user-space part of the Intersil Prism 2/2.5/3 wifi chipset. It's
also a decade old and obsolete, so remove it from oe-core.
(From OE-Core rev: 63be0678bbe3c3809cdd75f1aabd8e031341719a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
hostap-utils is the userspace part of the Intersil Prism2/2.5/3 wifi driver,
which is a decade old and obsolete. Stop pulling it into all images via the
base packagegroup, BSPs which still need this driver can do that themselves.
(From OE-Core rev: 5988d9e55bac5d5d703f86b05301812be328602b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section was missing three of the summaries for the command when
you used --help to find out about it. I added these in to the section.
(From yocto-docs rev: ac9c58322b7f8533335a9d4379aa031bb1de7be6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deprecation of yocto-layer occurred in 2.4. For 2.5, we do not
need to mention this fact in the note.
(From yocto-docs rev: 619b74422baf3b531e2fc3db50a95019178a1c09)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The beaglebone BSP provided in this layer is a reference implementation
usingonly mainline components available in core Yocto Project layers,
whereas Texas Instruments maintain a full-featured BSP in the meta-ti
layer.
Rename the reference machine to prevent namespace collisions with the
version maintained by the SoC vendor.
[YOCTO #12326]
(From meta-yocto rev: e32882938eca7f50548deab84dab78b4aef31b95)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A missing case breaks the build when libxml2 is
required and found appropriately. The third argument
to the function AC_SEARCH_LIB is action-if-found which
was mistakenly been used for the case where the library
is not found and hence breaks the configure phase
where it shoud actually pass.
We now pass on silently when action-if-found is
executed.
(From OE-Core rev: a17f3ec910366e9e7551fa24fbc07929b9584341)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
${PN} will include additional prefixes, such as lib32-, which are not
actually a part of the user that is being added. This was creating an unused
user and possibly missing the actually intended user. By using ${BPN} this
will remove all additional extra information and consistently be "dhcp".
(From OE-Core rev: 77375b50e23555c3a2d24f2b41771e4d43c5b026)
Signed-off-by: Dan Dedrick <ddedrick@lexmark.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If PACKAGE_EXCLUDE is constructed using _append then it's possible
that the final value will contain only a space. Currently that
results in build failures due to an invalid opkg command line.
(From OE-Core rev: f832f57ba9f6babb946fbde580004acfd85667e1)
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>
Backport a patch to fix miscompilation on mips64.
We've observed strange behaviour of `systemctl status <xxx> on qemumips64.
The output of the command is like `systemctl show <xxx>', which is incorrect.
The problem is due to the miscompilation of gcc for mips64 platform, thus
backporting patch from upstream to fix this problem.
[YOCTO #12266]
(From OE-Core rev: cfa13e5c756849820644d86d1882602649db6a9c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes following changes:
bf04291 WHENCE: Add new qed firmware
d8fc990 WHENCE: Add new radeon firmware
7245319 WHENCE: Fix syntax error for iwlwifi-8265-31.ucode entry
18d71a8 Revert "ath10k: QCA988X hw2.0: update firmware to 10.2.4.70.63-2"
4ebfab3 ath10k: QCA6174 hw3.0: update board-2.bin
96a7402 ath10k: QCA6174 hw3.0: update firmware-6.bin to WLAN.RM.4.4.1-00051-QCARMSWP-1
59bf7e2 cxgb4: update firmware to revision 1.16.63.0
The MD5 checksum of WHENCE license file was due the changes above as
the firmware versions are listed there. It had no license term
changes.
(From OE-Core rev: aea6ce797cc1b1ecc199979eb12aa42de8ff73d4)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although it may not appeal so much to users to prefer 80x24 consoles,
the general trend is for screens to get bigger and the current output
has started to look a little cramped on a modern HD display.
Increasing from 17 to 20 is obviously arbitrary, but does give enough
space to cleanly display layers such as "meta-nodejs-contrib" and
"meta-virtualization" while still keeping the output fairly compact.
(From OE-Core rev: e556b85a452a4ebf34a0c9581608f135bbad2e2c)
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>
If you have a recipe that uses overrides to conditionally extend
SRC_URI to add additional patches, then you will often need to update
those patches if you're making other changes to the source tree (for
example if you're upgrading the underlying source). Make this possible
with devtool by creating devtool-override-* branches for each override
that conditionally appends/prepends SRC_URI, and have devtool
update-recipe / finish check each branch out in turn and update the
corresponding patches.
A current example of a recipe that does this is the quota recipe - it
applies an additional patch if musl is the selected C library (i.e.
libc-musl is in OVERRIDES).
Note that use of this functionality does require some care - in
particular, updates to patches that appear on the main branch (named
"devtool" by default) should be made there and not only on one of the
specific devtool-override-* branches that are created for each override.
The recommended procedure is to make the changes you want to make to the
main branch first, then check out and rebase each devtool-override-*
branch, testing each one by activating the corresponding configuration,
and then finally run devtool finish.
Fixes [YOCTO #11516].
(From OE-Core rev: aa87603d1ffd695027847f4df75c0406cf4e14d8)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you're not sure what changes devtool finish is going to make, or
you're not sure you're finished with your modifications, it is useful to
be able to see what devtool finish is going to do beforehand, so add
a -N/--dry-run option to make that possible.
(It's also very useful for debugging devtool finish itself.)
(From OE-Core rev: 05f2d5d2ce00c53825ccea5cd9c2262f9d27a638)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a file is going to be effectively removed from the destination by
devtool finish, we should report that rather than just reporting that
we're removing files from the workspace. This is a little tricky because
the way we actually operate when finishing is to:
(1) remove all original files (as recorded by devtool upgrade, if that
was used)
(2) as part of updating the recipe file, remove the files from next to
the new recipe (i.e. in the workspace for an upgrade, real recipe
otherwise) corresponding to commits not in the git tree
(3) copy over remaining files from the workspace to the destination
To report the files removed with respect to what was originally there,
we need to swap steps 1 and 2 so we can see what no longer exists after
the deletion, and suppress the reporting currently done in step 2 -
however, we still want to report removal in step 2 for the non-upgrade
case, so the latter is conditional.
(From OE-Core rev: db1d663507509cac9d97d7c96ac8590478767ba2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the files that the devtool-source class is supposed to create in the
source tree aren't found in the temporary directory then we know that
the class hasn't worked properly - say that explicitly.
(From OE-Core rev: 4621152509c037532b133e5e6d5b73bda7ddb602)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Only log one warning message instead of one per line
* Be a bit more verbose
* "if list" is more pythonic than "if len(list)"
(From OE-Core rev: 2d11e9e6e73648c1cb514c0c10111c7886acae78)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the directory where the source code extracts to changes (for
example, when upgrading iucode-tool from 1.5 to 2.1.1, the subdirectory
in the tarball changed from "iucode_tool-${PV}" to "iucode-tool-${PV}")
then handle this automatically. Also handle when it changes to match the
default S value (i.e. "${WORKDIR}/${BP}") in which case we just drop
setting S in the recipe.
Fixes [YOCTO #10939].
(From OE-Core rev: d29881a652bf03627d257a1eac5f02ec17315b8b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I noticed that using bitbake-layers add-layer followed by a devtool
command resulted in bitbake re-parsing all of the recipes, which is
annoying. Upon closer inspection I could see that devtool was moving the
workspace layer path to the end of BBLAYERS if it happened to be
somewhere in the middle - there's no need for it to be doing this. This
occurred because we were passing the current workspace path to remove
and the "new" path to add even if the path is not being changed, and I
think earlier versions of bb.utils.edit_bblayers_conf() didn't move the
existing entry under these circumstances as it clearly does now. Fix it
so we only pass the path to be removed if we're actually changing the
path.
(From OE-Core rev: 284426dbad91a3c52eaf7da5c58fe8a2c2dfb826)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool upgrade did not properly handle setting SRC_URI checksums for
recipes that use named SRC_URI entries and also use those names in the
SRC_URI checksums. A further complication was where the name contained
an expression that changed with the version e.g. ${PV} (probably quite
rare, but the dnsmasq recipe in meta-networking is currently one such
recipe.) All of these are now handled properly.
Additionally, drop the _get_checksums() function that wasn't being
called from anywhere in the code.
Note that this now turns nowrap_vars in recipeutils.py to be a list of
regexes, hence things such as [ and ] need to be appropriately escaped.
(From OE-Core rev: c914a5e1ad6d96e316746222e5d42f2ba9110060)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool finish will check if the destination layer is part of
bblayers.conf so that we avoid the user getting confused about the
recipe vanishing from their configuration if it isn't. devtool finish
also accepts a path underneath a layer so that you have a bit
more control over where it ends up. However if you used a path
underneath a layer then it wasn't converting this to the base of the
layer before checking it against BBLAYERS, thus the warning was being
shown erroneously in that case.
(From OE-Core rev: ab1b8d55e551fea3e8656aab7a786d1bfec62d0f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the git repository for a recipe in the workspace has uncommitted
changes in it then it's possible that the user has forgotten to commit
something, so check and exit if there are any. Provide a -f/--force
option to continue in the case where the uncommitted changes aren't
needed.
Separately, if the repository is in the middle of a rebase or git am /
apply then error out (without the opportunity to force) since the user
really needs to sort this out before finishing.
(From OE-Core rev: bfebd18982c0c82ef2da63ec8f22175c93b2e308)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If S points to a subdirectory of the source rather than the "base" of
the source tree then print that rather than the subdirectory path when
telling the user they need to remove the source tree, since that is the
directory that they will need to remove.
(From OE-Core rev: 9e8808099046478e98c6cf1903dc6787d69132fc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After some reconsideration I think it's a bit annoying for users to be
forced to use an option to work with recipes where the file isn't in the
workspace, so let's just have these commands check the workspace first
for the recipe, and if it isn't there then load the cache and get it
that way.
(From OE-Core rev: 46683c61069a386658676a79d797062404bf1140)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Show a warning in devtool upgrade if the version is less than the
current version suggesting that the user may need to bump PE in the
recipe
* Show a warning in devtool add and devtool upgrade if the version looks
like a pre-release version suggesting using a version number that
won't mess up the progression when you come to upgrade to the final
release version.
(From OE-Core rev: 92c4d9be9ed365c449ea1ac5a18ddb15e4a36b2d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If S points to a subdirectory of the source rather than the "base" of
the source tree then we weren't handling the oe-local-files directory
properly - it got extracted to the base of the tree but devtool
update-recipe and devtool finish assumed it would be under S which would
be the subdirectory, thus it would be missing and devtool would assume
the files had been deleted and remove them from the recipe. Record the
base of the source tree in the bbappend and read it into the in-memory
workspace so we can use that to find out where oe-local-files should be
found.
(From OE-Core rev: 30d2ea67b2c4727e23d06a35745b1afa64b130cc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When devtool upgrade is upgrading to a new version where the source is
fetched as an archive (e.g. a tarball), we create a single commit in the
git repository that is the upgrade from the old version to the new. We
do this by extracting the old source, committing it, deleting all files,
copying in the new files, running git add on each new/changed/deleted
file, and then committing the result. When a lot of files have changed
in an upgrade (such as QEMU 2.8.1.1 -> 2.10.0) the penultimate step of
running git add it can take quite a long time; in order to reduce this
and show some feedback to the user, run git add with batches of 100
files at once and also show a progress bar. In a local test with the
aforementioned QEMU upgrade it took the time down from over 7 minutes
down to about 13 seconds.
Fixes [YOCTO #11948].
(From OE-Core rev: 8b184f6c874b60324ee107af53853687173d3434)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With versions of git older than 2.0, "git add" on a deleted file (i.e.
in this case a file that was removed between versions) will not add the
delete to be committed by default, with the result that the rebase of
patches on top of the new branch will fail. We need to use the -A
option in order to force that for older git versions.
(From OE-Core rev: c7f4c9f050c11c0de7fcf5badcc19a8fbc6428cf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It appears that when fixing the signature unlocking in OE-Core commit
4e9a0be32fc30fb87d65da7cd1a4015c99533aff I swapped the parameters here
and did not test it within the eSDK (it does nothing outside of the
eSDK) resulting in a TypeError when devtool upgrade was used in the
eSDK. Swap the parameters around to the correct ordering.
Fixes [YOCTO #12285].
(From OE-Core rev: 05e2c4ada7083f40866846a21fe76c852f1dfefe)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a value was split over multiple lines (e.g. as SRC_URI usually is)
then we were inserting the value as one item in the lines list with
newlines between each line. There's nothing wrong with this if you're
writing the list out to a file, but if you want to generate a patch (as
patch_recipe_file() will do if the patch parameter is set to True) then
the diff output looks a bit odd. Split the value before adding it to the
lines list to resolve this.
(From OE-Core rev: 44f4c97234623cbd770fbc86eabb04e7e0c91061)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
find_layerdir() should really return absolute paths, so make it do so.
This fixes devtool finish not deleting files it should do after devtool
upgrade if the specified path is relative, since the devtool finish code
was assuming that find_layerdir() was returning an absolute path.
Fixes [YOCTO #12318].
(From OE-Core rev: 5e3fe00a0233d563781849a44f53885b4e924a9c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the source tree happens to contain a kernel module as an example, a
test or under a "contrib" directory then we shouldn't be picking it up
and making the determination that the entire thing is a kernel module.
An example that triggered this is zstd, which ships a kernel module
under contrib/linux-kernel:
https://github.com/facebook/zstd
(From OE-Core rev: c2b3154158d4bb0855daa56477393341139d4cf9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We shouldn't be passing a relative path to the plugins if that's what's
been specified on the recipetool command line.
(From OE-Core rev: 949067384c5166058ebc76f931cc492dad1db645)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rich Felker (9):
fix access by setjmp and longjmp to __hwcap on arm built as thumb2
for executing init array functions, use function type with prototype
fix read-after-free type error in pthread_detach
fix incorrect base name offset from nftw when pathname ends in slash(es)
in dns parsing callback, enforce MAXADDRS to preclude overflow
release 1.1.17
fix regression in glob with literal . or .. path component
fix build regression on ARM for ISA levels less than v5
release 1.1.18
Szabolcs Nagy (1):
math: rewrite fma with mostly int arithmetics
Will Dietz (1):
posix_spawn: use larger stack to cover worst-case in execvpe
(From OE-Core rev: c3f0a70a40e0a8115e9046fb96b4b371b0db44ee)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that db doesn't PROVIDE virtual/db, remove it from default-providers.
(From OE-Core rev: 1c0507eb0d5ae9a9707b47e526398987d949e34b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As there are no alternative providers for virtual/db remove the PROVIDES and
recipes can just depend on db.
(From OE-Core rev: dcbc45aa3fe72c528fe4d47a783da4b4ed5ff38e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As there are no alternative providers for virtual/db, just depend directly on
db.
(From OE-Core rev: be49f3d2d66574d8a680dd1e7479229a10d3bfff)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The value could be False in which case we should pass that through.
(From OE-Core rev: d0a3379bbcbcd8153bd59ccdb56d40fff7ad6c6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This further cleans up the output of oe-selftest so that runqemu output
is hidden unless tests fail.
(From OE-Core rev: efa064d5026538ab513edc11869364ce2f14b977)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, the fact an error message is shown means the rest of the
task logs are suppressed. In this case we don't want that as it hides
the real errors and useful information. Therefore override this behaviour.
(From OE-Core rev: 7058ac23c5ce32fbdc4be6c05f85550e1fd9fe77)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-nls.m4-Take-it-from-gettext-0.15.patch as it's now
upstreamed.
Remove --disable-xevie option:
644096a28a
(From OE-Core rev: f7c3b14238b7e2b84d5a972bc3dfda29de45ad3e)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove upstreamed 0001-queryloaders-Make-output-more-reproducible.patch
Rebase fatal-loader.patch
Add a patch to fix a libtiff detection issue.
(From OE-Core rev: 057fadbaa9948fb26d99ffcbe68145658df64038)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously it was working only if only one shared library was found, and
broke when there were several.
(From OE-Core rev: a4da3957f4577f9826c73e1d23bcffe9ee96a7d4)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to fix bjam-native compile error (due to mistyped
variable name).
Drop upstreamed patch.
(From OE-Core rev: ba2d391d8268203895ab2f792f92b7fd92deeb45)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade ffmpeg to version 3.3.4. Version 3.3.4 is a bug fix version, and
there's no new feature added.
Compared to version 3.3.3, there are 57 new commits. These 57 commits are
either bug fix or small tweaks.
Drop CVE patches that were backported from 3.3.4.
(From OE-Core rev: 234d9aaffc2b08846281247e5ba37b20fea1493d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Valadoc has been merged into the main vala tree, so
add necessary patches to disable it.
(From OE-Core rev: 2c290f7253bba5ceb0d32e7d0b0ec0d0e81cc263)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed patches, including pkg-config support patch,
as upstream now does use pkg-config.
configure.in is now configure.ac, adjust recipe accordingly.
(From OE-Core rev: e9d487de8b5c03108c8c25c0365d5bd6b48f03e9)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perf is the preferred solution, and oprofile is difficult to
maintain against musl.
(From OE-Core rev: 5f470aed944c941b339652961a13266389288739)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is primarily paranoid but ensure we remove any loggers we setup
either directly or indirectly so the initial state is restored after
we exit.
(Bitbake rev: af7d63b1f76fd3f7fa92ed15ae61ca47d9e13472)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst we're likely exiting in this case, clean up the loggers we add
so that in the case of certain server retries there is no possibility
multiple loggers stack up.
(Bitbake rev: 25b7bf6672be66bcbfe5760610dce7d3e866cdcc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures the console is kept clear of confusing output but that
the main logs contain good debugging information.
(From OE-Core rev: caeb5dcfbd3c1d71f8e0eb78b3dd45d5ce349d25)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The logger handling in oeqa was confused at best. This patch:
a) Passes in a logger through various qemu runner pieces
b) Uses that logger consistently in the code
c) Creates a logger for QemuRunner outside the bitbake namespace
meaning we don't conflict with the tinfoil logging changes
The result of this is more consistency. For runtime tests in testimage,
the logs always contain the debug info, nothing is shwon on the console.
For the oe-selftests, logs are intercepted and only shown if the test
fails.
(From OE-Core rev: 4ff678137a55b93c9ba2cbffda34335ba859f704)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I have no idea why we didn't do this but it means the code has nowhere
to log to unless we do this. This means we can then use the logger
to log data to the task logs.
(From OE-Core rev: e241fb128840889acff79dbf3fae7bfaafcb5357)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake logs info messages to the console. These messages are really
there as debugging information. At the debug level, they will be shown
in failure logs and in the task logs but not on the console which
is what we want in this case.
(From OE-Core rev: e05b14ad5a3c5ac1656b6fffdcf7e58250638e96)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This funciton appears completely unused, drop it.
(From OE-Core rev: f352ef37a27cb0871c87cf9991d8ad2e1d560fde)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In general we don't need to see the output of runqemu however if it fails
we do. Use the buffer option that already exists in TestResult but allow
us to trigger it on a per test basis.
(From OE-Core rev: 86bef95bccbe9dad3dc3445ea365439861966179)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we don't remove the handler we end up with duplicate log messages
which is undesireable.
(From OE-Core rev: 4155a58aebe9c730be9ff1f68150f34d1cd472e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the bashism in the suid check. This ensures that the check works
correctly on hosts that default sh to e.g. dash. If this check fails the
suid shell workaround does not remove sh from the suid binary and
results in the target system containing a busybox.suid with sh as well
as /bin/sh -> /bin/busybox.suid.
(From OE-Core rev: 28547cf01b5ebb81c525a2b982db9b04997d7c4f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Cc: Andrej Valek <andrej.valek@siemens.com>
Cc: Radovan Scasny <radovan.scasny@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've observed strange behaviour of `systemctl status <xxx> on qemumips64.
The output of the command is like `systemctl show <xxx>', which is incorrect.
This patch is from gcc bugzilla's attachment.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81803
The patch hasn't been merged into gcc. But it does solve the above problem.
(From OE-Core rev: 3717c76eb24217c14a22f72fdd8732923729dee8)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add needed patches for portability across glibc/musl
enable systemd on musl too
Disable utmp,ldconfig,nss,resolved,localed for musl
which is not supported on musl
(From OE-Core rev: acdee728f0f6358dda709304ec307d737124aee6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove several Makefiles containing build host references.
While at it, also remove some additional files not needed for
testing.
(From OE-Core rev: 65a3b7b7b6aa91153ac3bd78411665316f1b2cba)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add images as separate MIME objects instead of directly embedding images
in the html (as base64 encoded pngs). This makes the emails better
suited for certain email servers/clients.
(From OE-Core rev: 6b61126c386a0a7334cdf475d349b830c436ed82)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove cross-compiler wrappers from the package, these contain numerous
build host references.
The wrappers are only needed for cross-compiling.
[YOCTO #11705]
(From OE-Core rev: 6870c4d11adcb831247dc1e05794bfa6ac1374c0)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
usesysrootprefixforpkgdatadirvariable.patch was a backport from 1.11,
no longer needed.
(From OE-Core rev: d4cb21de07f6f63f5aa703d6dc4f13a1e0d74b44)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With systemd, the mounting of the swap partition is handled via systemd
and will mount it, regardless of if PARTUUID is parsed or not. systemd
has a runtime dependency on util-linux-mount so PARTUUID for regular
mount points will be handled correctly. Make all partitions that we add
to the image make use of UUIDs for maximum portability.
(From OE-Core rev: 497467262d501b94061338b4ce826c6f2f9b97b4)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we have been told to use the UUID we should also update the fstab
to make use of PARTUUID instead of hard-coding the device in question.
This will make the resulting image much more portable.
(From OE-Core rev: e7443e7cf876d9bbe326033ac5eee0b98ce5d37f)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The regex for acceptable systemd WantedBy/RequiredBy targets does not include
target.wants, so a line like this:
WantedBy=multi-user.target.wants
gets silently ignored, even though it works fine on a real system.
(From OE-Core rev: ccffc66c64fc0dde433b0375c69760983c657427)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use tinfoil to collect all variable names globally and in each recipe.
No longer show the count of variables if they are undocumented.
Fixes [YOCTO #2086]
(From OE-Core rev: b947de583964020b488cb1c382877624e96d4319)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve reproducible build of curl-dev and curl-dbg packages.
curl-dev: Correctly remove build host references from curl-config
curl-dbg: Do not generate time stamps in files generated by mkhelp.pl
(From OE-Core rev: 6bc323ac9315712e75a0282cddb292bc84afc6f1)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Looking back the history, we had problem with systemd on qemumips64
which is also related to compilation flags. We solved that by using
tweaking FULL_OPTIMIZATION for mips64 to have "-fno-tree-switch-conversion
-fno-tree-tail-merge".
Now systemd has been upgraded to 234, and we don't have the above problem
any more, thus removing these flags.
(From OE-Core rev: 713761d23df24ad1b52e08bd2d2dc688393bef5b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fix use of memset without declaration in sched.h cpu set macros
* powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h
(From OE-Core rev: 3953c54c30473450d4baf511772276e5e8e09919)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We encountered a problem when installing kernel-devsrc package on a
intel-x86 target, as follows:
$ dnf install kernel-devsrc
| Installing : kernel-devsrc-1.0-r0.0.intel_corei7_64 1/1
| failed loading RPMDB
| The downloaded packages were saved in cache until the next successful transaction.
| You can remove cached packages by executing 'dnf clean packages'.
It can be fixed by increasing MAX_HDR_CNT and MAX_HDR_DSIZE in libsolv
per test.
(From OE-Core rev: 24fdebbbfdeadcf3d152a0adf3058c714b193a8f)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix segfaults if Tcl is built with stubs and Expect clib function is used
directly from C program.
(From OE-Core rev: 44af4f20bfb1fe853ed0b5dfc76bdd2900f47cb0)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade ffmpeg to version 3.3.4. Version 3.3.4 is a bug fix version, and
there's no new feature added.
Compared to version 3.3.3, there are 57 new commits. These 57 commits are
either bug fix or small tweaks.
(From OE-Core rev: 22d1ec2aa77e289813e0f3b516abdc8cdbc512d9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bsddb module is deprecated and requires an old version of Berkeley DB that
some may be unhappy with even shipping, so expose a way to disable the module.
(From OE-Core rev: 701250dae6c5d3f464bf6d7c46c19d59d1c00bec)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Triggered by looking at why Python doesn't find db.h (because it greps db.h for
a regex, and db.h is actually a oe_multilib_header wrapper) I realised that the
only reason we have to oe_multilib_header db.h is because one typedef is
different between 32-bit and 64-bit architectures.
However, the typedef is for a 64-bit integer so instead of using long (64-bit)
or long long (32-bit), just use int64_t. Some of the overly complicated
configure tests need to be deleted after this change but that is safe as we're
building in a controlled environment and can assume int64_t exists.
With this done the header doesn't change between architectures, and it doesn't
need to be wrapped by oe_multilib_header.
(From OE-Core rev: 60aa20b8b691e5a72a6a11bf795b86c6359db886)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The utility 'reset' is removed in this new version.
A new utility 'rfkill' is added in this new version.
Recipe is modified to remove reset and add rfkill according to the
above changes in new version.
(From OE-Core rev: 4cae425facdfbc0853187702e44faca4e328ebfe)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current implementation is broken when the localpath is a link.
Then only a symlink would be created on the target, instead of copying
the actual file.
[YOCTO #11524]
(From OE-Core rev: 1eb2a9c2f48d3af13ce651f1adf024b3380299d1)
Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The stop() function is called in the context of the masterimage,
so self.master should be used instead of self.connection which is
undefined at that time.
[YOCTO #11524]
(From OE-Core rev: adfe79dee90b6e080b97869444882b84468d49ba)
Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On systemd systems calling reboot over an ssh connection doesn't
return as expected causing an exception, therefore wrap the call
to reboot in order to avoid this issue.
Also sync the filesystems before rebooting cause otherwise, it will be
done as part of the reboot and could take a very long time and testimage
will fail to access the machine. This issue was observed consistently with
one of our rootfs at Pelagicore.
[YOCTO #11524]
(From OE-Core rev: a9c7f877e5bda32249755dc7014d436e4b85f07a)
Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a simple test case to being testing of the Go toolchain:
1) build meta-go-toolchain
2) create a temp directory and install the generated Go toolchain within
3) fetch an archive of the Go Dep tool
4) create an appropriately laid out GOROOT and inflate the dep archive there
5) build the dep command with the SDK's Go toolchain and check it returned
successfully.
[YOCTO #12152]
(From OE-Core rev: bca999644e28e1666357bcbeab685547c6f9dd65)
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>
For test modules in a package, e.g., oelib.license, running
`oe-selftest -r oelib.license` or `oe-selftest -r
oelib.license.TestSimpleCombinations` would fail with a message that
the specified test cases could not be found. This was due to the
parsing in _built_modules_dict(), which failed to distinguish between
<package>.<module>.<class> and <module>.<class>.<testcase> and treated
both cases as the latter.
(From OE-Core rev: 80db3d999ae26d298d9d5418a32b11a4f27af9d5)
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>
Use a console login not SSH for simplicity.
(From OE-Core rev: 842f3beb211eb0a398b37c50d433a93b86964f6b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The licenses of EXTRA_IMAGEDEPENDS recipes are being referenced in
image postcommand write_deploy_manifest, but a dependency is missing
between do_image and do_populate_lic of EXTRA_IMAGEDEPENDS recipes,
this leads some license files not present when write_deploy_manifest
runs, hence will cause build errors.
Fixed by letting do_image depend on do_populate_lic of
EXTRA_IMAGEDEPENDS recipes.
(From OE-Core rev: 276ff1f22d00edd6c9728e44ed5d6692a6c9e04f)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The externalsrc class code assumes that the source directory
(EXTERNALSRC) exists before bitbake is called. Otherwise do_configure
will fail obviously since externalsrc does not fetch anything.
Commit 3ca6085729 ("externalsrc: Handle .git not being a directory")
changed this behaviour. Now on a missing EXTERNALSRC directory we get
a bb.data_smart.ExpansionError during _parsing_, way before
do_configure can be run.
This new behaviour creates two problems:
* First, there error message is very cryptic (and it's hard to
provide a better message since no task is ever run):
ERROR: ExpansionError during parsing /<...>/<...>.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception FileNotFoundError: [Errno 2] No such file or directory: '<...>'
* Second, this prevents creating a class based on externalsrc that
automatically fetches the code in EXTERNALSRC before do_compile
runs.
Fix both problems by simply calling git with '-C ${EXTERNALSRC}'
instead of calling git inside the non-existing directory. This changes
from a bb.data_smart.ExpansionError to a
subprocess.CalledProcessError, which is in line with what's actually
going on: git is telling us it can't find the git dir.
Also remove a comment that does not apply anymore.
(From OE-Core rev: 8e8251582e977d7c6ab525ac1b493fbbe3af38b2)
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Joshua Watt <jpewhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current mechanism doesn't allow to use any non-determenistic variable, except 'DATE' and 'DATETIME', inside IMAGE_CMD_${FSTYPE} prototype.
Passing 'vardepsexclude' values from IMAGE_CMD_${FSTYPE}, so users will be able to avoid taskhash mismatch problems.
(From OE-Core rev: cb19166c540969f56959e25c1068934bdc40b013)
Signed-off-by: Igor Romanov <i.romanov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to the bitbake documentation, the "d" global datastore should be
used instead of "e.data" because the latter is deprecated.
(From OE-Core rev: 43820fe158cbc34c9fd67e84238931331153f127)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a distro uses useradd-staticids.bbclass and some developer
unfamiliar with the static ID mechanism tries to add a recipe which
needs new IDs, the resulting error or warning is typically not
something that the developer will understand.
Even experienced developers do not get enough information. They first
must find out whether the missing ID is for a system user or group,
then locate the file(s) in which the ID could be added. Both of this
is now part of the message:
ERROR: .../meta/recipes-extended/cronie/cronie_1.5.1.bb: cronie -
cronie: system groupname crontab does not have a static ID defined.
Add crontab to one of these files: /.../conf/distro/include/my-distro-group
The case that no file was found is also handled:
ERROR: .../meta/recipes-extended/cronie/cronie_1.5.1.bb: cronie -
cronie: system groupname crontab does not have a static ID defined.
USERADD_GID_TABLES file(s) not found in BBPATH: files/group
It would be nice if the error message could also list the range in
which a new ID needs to be allocated, but /etc/login.defs isn't
available at the time of creating the message, so that part is still
something that a developer needs to know.
(From OE-Core rev: 883bfc2bbb4d2120dbad6b0f2056503b012b1a2b)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enabling useradd-staticids.bbclass, one has to define static IDs
for all recipes in a world build, otherwise those without static IDs
generate parse errors or warnings, depending on USERADD_ERROR_DYNAMIC.
Defining unused IDs is a lot of work and clutters the passwd/group
file of a distro.
Distros which want to avoid this can now set USERADD_ERROR_DYNAMIC =
"skip" and recipes which would have triggered a message then silently
get disabled. Only trying to build them shows the error message:
$ bitbake apt
...
ERROR: Nothing PROVIDES 'apt'
ERROR: apt was skipped: apt - apt: username _apt does not have a static ID defined.
(From OE-Core rev: 9113928cea88c2187e8640ac489671cb81f58103)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The trailing space added to TUNE_CCARGS when appending -mfpu=XXX is
unnecessary and leads to a double space in the final value.
(From OE-Core rev: 4fde0110321b04d1f3418f05e61a2eb0b3ec8625)
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>
A flaw was found on my Ubuntu 14.04.5 LTS, on which that gnome-terminal is
the default terminal, when I run any of the tasks:
bitbake busybox -c menuconfig/devshell/devpyshell
bitbake virtual/kernel -c menuconfig/devshell/devpyshell
I got a error as follows:
"Failed to execute child process "oe-gnome-terminal-phonehome" (No such file or directory)"
Seems the environment of the process calling Popen is not passed to the
child process, this behaviour is a known issue in Python bug tracker:
http://bugs.python.org/issue8557
It could be fixed by using an absolute path instead per test.
(From OE-Core rev: 2117c148ef07d84bc605768e3b3671b0126b9337)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add in a tets ftp url so we ensure ftp urls contnue to work after the loss
of the ftp.gnu.org ones.
(Bitbake rev: e1e8565b5e19dd3f7ef6e7e41932456adaa3df81)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we test multiple URLs in this these tests and one failing abandons the test,
use subtests so all URLs are tested. This should help us identify patterns in
the failing URLs.
(Bitbake rev: c4c4465b32e82d4b6e46a44e776be5039aef6b18)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ftp server at ftp.gnu.org is likely to be retired at some point soon
so siwtch over to the http/https services.
This means bitbake-selftest doesn't have ftp test urls, however finding stable
ftp test servers is proving increasingly hard.
(Bitbake rev: 892a08245ddb21a464aeb37d3e32377e99dd7e2b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After cleaning deprecated API usage repo fetcher is missing
logger as it was indirectly imported via deprecated bb.data.
Fix this by importing logger directly.
Fixes: 9752fd1c10b8 ("fetch2: don't use deprecated bb.data APIs")
(Bitbake rev: f8e027d26603db2f1fe757dca767ea35d95174c7)
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test overrides IMAGE_FEATURES but failed to include package-management,
which is essential for postinsts to work under dpkg.
(From OE-Core rev: 7e73b84331a4ae8d93518feb68c748d98bac78c6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake-layers show-recipes and show-appends supported listing all recipes
or one recipe. Adjust the system to permit specifying more then one recipe.
Also update show-appends to match the --help description and support file
style wildcards for selecting the recipe to display.
(Bitbake rev: d72c1a91c261d78004d80e2fe5634f0e5f1ef947)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Exit quietly makes it very hard for debugging when user is not added as
expected, print a warning helps a lot.
(From OE-Core rev: 057885ed6f22781960bce4e082e3aa96e126764c)
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>
The ftp protocol is dated and problematic. Since https is available, lets
use that instead, making new users chances of successful builds higher.
(From OE-Core rev: f24a29fcba98ceff08c13b0f029be93995f1deed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The WIC's 'part' can now give a name for GPT partition in WKS file.
It's similar to '--label', but is naming partintions instead file systems.
It's required by some bootloaders to partitions have specified names.
(From OE-Core rev: 9b60e3466ed7cff0cea10815851eb1304002eb52)
Signed-off-by: Artur Mądrzak <artur@madrzak.eu>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update weston release to 3.0.0.
Two patches added:
- fix-missing-header.patch:
fix a build issue when musl is used as libc.
- weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch:
fix display issue with YUV420/I420 format, that could result in a crash.
(From OE-Core rev: 148920f3971de0f44ac4dd3c85c29983862c5318)
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch modify the way we manage wayland path issues.
Instead of patching each recipe to make it work with wayland and its protocols,
it is better to patch wayland to fix its path issues.
So wayland-scanner.pc, wayland-client.pc and wayland-protocols.pc are patched to change paths.
Then we can drop the following workaround:
WAYLAND_PROTOCOLS_SYSROOT_DIR=${RECIPE_SYSROOT}
in:
- gtk+3
- libsdl2
- xserver-xorg
- gstreamer1.0-plugins-bad
- weston-2.0.0
We also dropped libsdl2 patches which fix wayland paths.
(From OE-Core rev: 14c0d992152ce27ee616558cafb408ed008d936e)
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vm_drive variable is malformed when the drive type is an ide device.
(From OE-Core rev: 88d7b17871fe8340ab7fd5c901d3a535ae098c3e)
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changed do to name being added
removed patches included in some form
(From OE-Core rev: 88770be201678bf1906e27d72e840de2cd4c43f0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Security Fixes
* An error in TSIG handling could permit unauthorized zone transfers
or zone updates. These flaws are disclosed in CVE-2017-3142 and
CVE-2017-3143. [RT #45383]
* The BIND installer on Windows used an unquoted service path, which
can enable privilege escalation. This flaw is disclosed in
CVE-2017-3141. [RT #45229]
* With certain RPZ configurations, a response with TTL 0 could cause
named to go into an infinite query loop. This flaw is disclosed in
CVE-2017-3140. [RT #45181]
End of Life
The end of life for BIND 9.10 is yet to be determined but will not be
before BIND 9.12.0 has been released for 6 months.
https://www.isc.org/downloads/software-support-policy/
more info see https://lists.isc.org/pipermail/bind-announce/2017-July/001063.html
(From OE-Core rev: 96e9adb60320b2e2f0bb7a04d9ed49ddc53649bb)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bug fix release on the
current stable branch. Note that, I've also switched the release
cadence to bi-monthly as less and less bug fixes/updates accumulate
each month on this branch.
** API and ABI modifications:
No changes since last version.
(From OE-Core rev: a843ab62f2252165ec3d687de92f939f766376e4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE files changed:
Amend licence to relax its conditions for chains of binary distributions.
removed included patches
includes CVE-2017-8399
(From OE-Core rev: d8ea0674d1feee803b75cf837e8d029619f8d663)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.33_release_notes
* TLS compression is no longer supported. API calls that attempt to enable compression are accepted without failure. However, TLS compression will remain disabled.
* This version of NSS uses a formally verified implementation of Curve25519 on 64-bit systems.
* The compile time flag DISABLE_ECC has been removed.
* When NSS is compiled without NSS_FORCE_FIPS=1 startup checks are not performed anymore.
* Fixes CVE-2017-7805, a potential use-after-free in TLS 1.2 server when verifying client authentication
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.32_release_notes
The Websites (TLS/SSL) trust bit was turned off for the following root certificates.
* CN = AddTrust Class 1 CA Root
SHA-256 Fingerprint: 8C:72:09:27:9A:C0:4E:27:5E:16:D0:7F:D3:B7:75:E8:01:54:B5:96:80:46:E3:1F:52:DD:25:76:63:24:E9:A7
* CN = Swisscom Root CA 2
SHA-256 Fingerprint: F0:9B:12:2C:71:14:F4:A0:9B:D4:EA:4F:4A:99:D5:58:B4:6E:4C:25:CD:81:14:0D:29:C0:56:13:91:4C:38:41
The following CA certificates were Removed:
* CN = AddTrust Public CA Root
SHA-256 Fingerprint: 07:91:CA:07:49:B2:07:82:AA:D3:C7:D7:BD:0C:DF:C9:48:58:35:84:3E:B2:D7:99:60:09:CE:43:AB:6C:69:27
* CN = AddTrust Qualified CA Root
SHA-256 Fingerprint: 80:95:21:08:05:DB:4B:BC:35:5E:44:28:D8:FD:6E:C2:CD:E3:AB:5F:B9:7A:99:42:98:8E:B8:F4:DC:D0:60:16
* CN = China Internet Network Information Center EV Certificates Root
SHA-256 Fingerprint: 1C:01:C6:F4:DB:B2:FE:FC:22:55:8B:2B:CA:32:56:3F:49:84:4A:CF:C3:2B:7B:E4:B0:FF:59:9F:9E:8C:7A:F7
* CN = CNNIC ROOT
SHA-256 Fingerprint: E2:83:93:77:3D:A8:45:A6:79:F2:08:0C:C7:FB:44:A3:B7:A1:C3:79:2C:B7:EB:77:29:FD:CB:6A:8D:99:AE:A7
* CN = ComSign Secured CA
SHA-256 Fingerprint: 50:79:41:C7:44:60:A0:B4:70:86:22:0D:4E:99:32:57:2A:B5:D1:B5:BB:CB:89:80:AB:1C:B1:76:51:A8:44:D2
* CN = GeoTrust Global CA 2
SHA-256 Fingerprint: CA:2D:82:A0:86:77:07:2F:8A:B6:76:4F:F0:35:67:6C:FE:3E:5E:32:5E:01:21:72:DF:3F:92:09:6D:B7:9B:85
* CN = Secure Certificate Services
SHA-256 Fingerprint: BD:81:CE:3B:4F:65:91:D1:1A:67:B5:FC:7A:47:FD:EF:25:52:1B:F9:AA:4E:18:B9:E3:DF:2E:34:A7:80:3B:E8
* CN = Swisscom Root CA 1
SHA-256 Fingerprint: 21:DB:20:12:36:60:BB:2E:D4:18:20:5D:A1:1E:E7:A8:5A:65:E2:BC:6E:55:B5:AF:7E:78:99:C8:A2:66:D9:2E
* CN = Swisscom Root EV CA 2
SHA-256 Fingerprint: D9:5F:EA:3C:A4:EE:DC:E7:4C:D7:6E:75:FC:6D:1F:F6:2C:44:1F:0F:A8:BC:77:F0:34:B1:9E:5D:B2:58:01:5D
* CN = Trusted Certificate Services
SHA-256 Fingerprint: 3F:06:E5:56:81:D4:96:F5:BE:16:9E:B5:38:9F:9F:2B:8F:F6:1E:17:08:DF:68:81:72:48:49:CD:5D:27:CB:69
* CN = UTN-USERFirst-Hardware
SHA-256 Fingerprint: 6E:A5:47:41:D0:04:66:7E:ED:1B:48:16:63:4A:A3:A7:9E:6E:4B:96:95:0F:82:79:DA:FC:8D:9B:D8:81:21:37
* CN = UTN-USERFirst-Object
SHA-256 Fingerprint: 6F:FF:78:E4:00:A7:0C:11:01:1C:D8:59:77:C4:59:FB:5A:F9:6A:3D:F0:54:08:20:D0:F4:B8:60:78:75:E5:8F
(From OE-Core rev: 83d79f449c33eff7bba92dfda8ffd4b699fb6462)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A collection of minor fixes since 2.0.1, including CVEs 2017-13720
and 2017-13722.
(From OE-Core rev: 818d50653660cafeca56021efe4b1f390c964f2c)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changed do to rewording
7097a65277 (diff-9879d6db96fd29134fc802214163b95a)
Briefly:
Northern Cyprus switches from +03 to +02/+03 on 2017-10-29.
Fiji ends DST 2018-01-14, not 2018-01-21.
Namibia switches from +01/+02 to +02 on 2018-04-01.
Sudan switches from +03 to +02 on 2017-11-01.
Tonga likely switches from +13/+14 to +13 on 2017-11-05.
Turks & Caicos switches from -04 to -05/-04 on 2018-11-04.
A new file tzdata.zi now holds a small text copy of all data.
The zic input format has been regularized slightly.
Changes to future time stamps
Northern Cyprus has decided to resume EU rules starting
2017-10-29, thus reinstituting winter time.
Fiji ends DST 2018-01-14 instead of the 2018-01-21 previously
predicted. (Thanks to Dominic Fok.) Adjust future predictions
accordingly.
Namibia will switch from +01 with DST to +02 all year on
2017-09-03 at 02:00. This affects UT offsets starting 2018-04-01
at 02:00. (Thanks to Steffen Thorsen.)
Sudan will switch from +03 to +02 on 2017-11-01. (Thanks to Ahmed
Atyya and Yahia Abdalla.) South Sudan is not switching, so
Africa/Juba is no longer a link to Africa/Khartoum.
Tonga has likely ended its experiment with DST, and will not
adjust its clocks on 2017-11-05. Although Tonga has not announced
whether it will continue to observe DST, the IATA is assuming that
it will not. (Thanks to David Wade.)
Turks & Caicos will switch from -04 all year to -05 with US DST on
2018-03-11 at 03:00. This affects UT offsets starting 2018-11-04
at 02:00. (Thanks to Steffen Thorsen.)
Changes to past time stamps
Namibia switched from +02 to +01 on 1994-03-21, not 1994-04-03.
(Thanks to Arthur David Olson.)
Detroit did not observe DST in 1967.
Use railway time for Asia/Kolkata before 1941, by switching to
Madras local time (UT +052110) in 1870, then to IST (UT +0530) in
1906. Also, treat 1941-2's +0630 as DST, like 1942-5.
Europe/Dublin's 1946 and 1947 fallback transitions occurred at
02:00 standard time, not 02:00 DST. (Thanks to Michael Deckers.)
Pacific/Apia and Pacific/Pago_Pago switched from Antipodean to
American time in 1892, not 1879. (Thanks to Michael Deckers.)
Adjust the 1867 transition in Alaska to better reflect the
historical record, by changing it to occur on 1867-10-18 at 15:30
Sitka time rather than at the start of 1867-10-17 local time.
Although strictly speaking this is accurate only for Sitka,
the rest of Alaska's blanks need to be filled in somehow.
Fix off-by-one errors in UT offsets for Adak and Nome before 1867.
(Thanks to Michael Deckers.)
Add 7 s to the UT offset in Asia/Yangon before 1920.
Changes to zone names
Remove Canada/East-Saskatchewan from the 'backward' file, as it
exceeded the 14-character limit and was an unused misnomer anyway.
(From OE-Core rev: 77a8256d9cbfe24d470aac9b4cc2910a41ca0ee8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changes do to rewording
7097a65277 (diff-9879d6db96fd29134fc802214163b95a)
Backported to fixes from upstream too.
Changes to code
zic and the reference runtime now reject multiple leap seconds
within 28 days of each other, or leap seconds before the Epoch.
As a result, support for double leap seconds, which was
obsolescent and undocumented, has been removed. Double leap
seconds were an error in the C89 standard; they have never existed
in civil timekeeping. (Thanks to Robert Elz and Bradley White for
noticing glitches in the code that uncovered this problem.)
zic now warns about use of the obsolescent and undocumented -y
option, and about use of the obsolescent TYPE field of Rule lines.
zic now allows unambiguous abbreviations like "Sa" and "Su" for
weekdays; formerly it rejected them due to a bug. Conversely, zic
no longer considers non-prefixes to be abbreviations; for example,
it no longer accepts "lF" as an abbreviation for "lastFriday".
Also, zic warns about the undocumented usage with a "last-"
prefix, e.g., "last-Fri".
Similarly, zic now accepts the unambiguous abbreviation "L" for
"Link" in ordinary context and for "Leap" in leap-second context.
Conversely, zic no longer accepts non-prefixes such as "La" as
abbreviations for words like "Leap".
zic no longer accepts leap second lines in ordinary input, or
ordinary lines in leap second input. Formerly, zic sometimes
warned about this undocumented usage and handled it incorrectly.
The new macro HAVE_TZNAME governs whether the tzname external
variable is exported, instead of USG_COMPAT. USG_COMPAT now
governs only the external variables "timezone" and "daylight".
This change is needed because the three variables are not in the
same category: although POSIX requires tzname, it specifies the
other two variables as optional. Also, USG_COMPAT is now 1 or 0:
if not defined, the code attempts to guess it from other macros.
localtime.c and difftime.c no longer require stdio.h, and .c files
other than zic.c no longer require sys/wait.h.
zdump.c no longer assumes snprintf. (Reported by Jonathan Leffler.)
Calculation of time_t extrema works around a bug in GCC 4.8.4
(Reported by Stan Shebs and Joseph Myers.)
zic.c no longer mistranslates formats of line numbers in non-English
locales. (Problem reported by Benno Schulenberg.)
Several minor changes have been made to the code to make it a
bit easier to port to MS-Windows and Solaris. (Thanks to Kees
Dekker for reporting the problems.)
Changes to documentation and commentary
The two new files 'theory.html' and 'calendars' contain the
contents of the removed file 'Theory'. The goal is to document
tzdb theory more accessibly.
The zic man page now documents abbreviation rules.
tz-link.htm now covers how to apply tzdata changes to clients.
(Thanks to Jorge Fábregas for the AIX link.) It also mentions MySQL.
The leap-seconds.list URL has been updated to something that is
more reliable for tzdb. (Thanks to Tim Parenti and Brian Inglis.)
(From OE-Core rev: 74af497f8d6b4e28d97c0f2cdb4ece90c2a6b8b5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the removal of yocto-bsp and yocto-kernel there are no longer any users
of this library, therefore delete it.
(From meta-yocto rev: 0d44e59bfaa95162cf2133df1d08f6419314bb8e)
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>
yocto-kernel is not actively maintained and requires active feature
development to make it a useful and compelling tool.
(From meta-yocto rev: fae757e972c7df9adba4b012784c0b161e54eb82)
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>
The bitake-layers tool in bitbake is much more featurful, widely used and
better maintained.
(From meta-yocto rev: 803f6256fde4a7d1d4ef1f365b6f10252e99674e)
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>
The yocto-bsp script has been removed, thus there's no need for this test
for the script.
(From meta-yocto rev: 280130bb02b550e882eb203328689b1526fa462c)
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>
The yocto-bsp tool is not actively maintained and requires active
feature development to make it a useful and compelling tool.
(From meta-yocto rev: f659eefcb0914acabe453991711b3a64a87ef9c1)
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>
With a '*' as a wildcard for the signature here we can also match a
portion of the task name with the result that we may match a sigdata
file for the wrong task. Luckily the signature is always the same
length - 32 characters - so we can simply use 32 '?' characters instead.
(A regex would have been another alternative, but the wildcard should be
effective and I felt like a regex would complicate the code more than
this solution).
Fixes [YOCTO #11763].
(From OE-Core rev: 73c6f85457361cd82d44838946aa81ba9bd1662a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The most common usage for buildhistory is with commits enabled so that
you actually collect history, rather than just keeping a snapshot of the
most recent build state, therefore default BUILDHISTORY_COMMIT to "1".
This really ought to have been the default in the beginning, I can't
really explain why it wasn't.
(From OE-Core rev: 8018a2349b7ad5ab27731c93a49603adf5f72fc2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
*) packagegroup class sets a default value for LICENSE
*) usually packagegroups don't contain a LICENSE
and if they do it's many times a copy/paste and doesn't
reflect the license of the packages included in the
packagegroup
(From OE-Core rev: c04ae17f439ffd5fd70d8564430a94582e2cf688)
Signed-off-by: Robert Berger <robert.berger@ReliableEmbeddedSystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dbm module uses gdbm by default which is also a build dependency.
(From OE-Core rev: 79121ff54420e5cc331552ca5620aed81a36aac9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bsddb module was removed in Python 3 and the dbm module doesn't support
Berkeley DB as an option, so this build dependency can be removed.
(From OE-Core rev: f16eac28d909bc6570d3587a2f4ac26ae0dc6048)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrades CMake from 3.8.2 to 3.9.3 release. The Copyright.txt
file checksum change was due the addition of a new contributor on the
contributors list.
(From OE-Core rev: 053ad4bbcb72a1783c7928c2f86285c15472314f)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original code enabled only a sub-set of all available tests.
It also copied executables to be tested into a local folder although
the executables were expected to be already installed in the image.
In addition, the original code copied libtool scripts instead of already
cross-compiled images.
This patch modifies some test scripts so there is no need to copy
images already installed: instead it tests images already installed.
As the executables are scattered in /bin, usr/bin, /sbin/ usr/sbin folders,
we use 'which' to determine the absolute path.
We also copy some cross-compiled tests that were previously missing.
By the virtue of not copying the libtools scripts we also managed
the achieve binary reproducible package, as previously leaked build host
info was contained in libtool scripts, which are not copied anymore.
[YOCTO #10953]
(From OE-Core rev: f5198af37a5357a1758b50668b67f1c552982507)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mtools already provides a suite of msdos utilities, switch to this
one also. This could allow for future changes to reduce wic's
dependecies.
(From OE-Core rev: 13851100b81ce901069ef167d6b9b0faedb3f466)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the issue that if you don't have mtools installed on the host
thus causing host contamination, that the correct binaries would be selected
from the native sysroot.
[YOCTO #12173]
(From OE-Core rev: dca43c557449d3765fec9f8d159d5c9e4ea8b0cb)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Defeat building for mipsarchn32 because there is no corresponding
GOARCH. Neither "mips" nor "mips64" allows go-runtime to compile.
Existing mips32 code assumes the o32 ABI.
(From OE-Core rev: fe72090a30d1fc810de3dd07350e5e6afba745de)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
delete two patches, because upstream already contain those:
0037-ltp-fix-PAGE_SIZE-redefinition-and-O_CREAT-undeclear.patch
0038-commands-gdb01-replace-stdin-with-dev-null.patch
add one patch, fix build when set the DISTRO to poky-lsb:
0037-ltp-fix-format-security-error.patch
(From OE-Core rev: ea6abed9dd638544f406ec2176b2c926bb1acf9b)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Besides revision change, this version includes the project M4 macros path into
EXTRA_AUTORECONF which avoid the following compilation issue:
In file included from ../../../texinfo-6.5/gnulib/lib/mbrtowc.c:21:0:
./wchar.h:571:6: error: #if with no expression
# if
^
Makefile:1378: recipe for target 'mbrtowc.o' failed
make[4]: *** [mbrtowc.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from ../../../texinfo-6.5/gnulib/lib/mbswidth.c:33:0:
./wchar.h:571:6: error: #if with no expression
# if
^
(From OE-Core rev: 71fae8ac66f0aa3239b3daf5d21cba9bd31d85ad)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License file changes are due to updates in Version and Copyright date
(From OE-Core rev: 44676c90863c3864182c088ca51bec3bdc8dce29)
Signed-off-by: youngseokyoon <earwigz32@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-scons and python-scons-native need to be upgraded to latest
upstream version.
LIC_FILES_CHKSUM changed due to updated year in date, but rest of file
remain the same.
Following dependencies were added to enable appropriate package usage:
python-shell, python-pprint and python-importlib.
A patch was taken from upstream to support python2 print statements
in SConscripts. This should be included in next version.
These changes were tested in qemux86 with core-image-minimal.
(From OE-Core rev: 4fe7774f08ba46bd1d68e56eff3f4912db107c25)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not rely on build host gcc for "implicit-fallthrough" support
we need to check the CC for it
(From OE-Core rev: b36100bb3077947361c858f891eb15a76013671e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-six needs to be updated to latest stable version.
Change in LIC_FILES_CHKSUM due to updated Copyright year,
rest of file remains the same.
This update was tested in qemux86 running core-image-minimal.
(From OE-Core rev: d069d201ec92e95aac7f2ad586ea77318c570ecb)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-setuptools and python3-setuptools must be updated
to latest stable release.
These changes were tested on qemu with core-image-minimal
(From OE-Core rev: 5b784c37f1be769a2abcc5bef5b03eb3b349138b)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-numpy needs to be upgraded to latest stable version.
This change was tested on qemux86 running core-image-minimal.
(From OE-Core rev: 0d38049f41b78a897309f919161357e4a56dc409)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-git needs to be updated to latest stable version.
This change was tested on qemux86 running core-image-minimal.
(From OE-Core rev: d07ac3a7ce9e46f78c9ef953ac9b59f94fd44b69)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-pygobject needs to be updated to latest stable branch.
This change was tested in qemux86 running core-image-minimal.
(From OE-Core rev: 46bb641199d4f76db2b24c11c8965d6904fe90c7)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-pycairo needs to be updated to latest stable release.
Changes in this update:
SRC_URI updated to new GitHub repository.
LICENSE updated to LGPLv2.1 & MPLv1.1.
LICENSE_FILES_CHkSUM updated accordingly to new License.
inherit distutils3 replaced with setuptools3.
waf-related instructions dropped due to use of setuptools3.
py3cairo header file copied to "includedir" where it is assumed
to be located by some dependencies.
This change was tested in qemux86 running core-image-minimal
(From OE-Core rev: 08003b47079e61c4ec6bc90d7dfdf8e36c4e24a8)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch works around a rare parallel build race condition using
the force option when soft linking.
The error seen is:
ln: failed to create symbolic link 'libssl.so': File exists
make[4]: *** [Makefile.shared:171: link_a.gnu] Error 1
make[4]: Leaving directory
'/.../build/tmp-glibc/work/x86_64-linux/openssl-native/1.0.2k-r0/openssl-1.0.2k'
Just add the -f flag to the platform independent soft link code to
avoid the collision. This is reasonable since this Makefile removes
the link target before creating a new soft link. The Makefile was
written this way to support platforms that don't allow forcing a
softlink to overwrite an existing link. Only builds on Linux are
supported so that's not a requirement for oe-core recipes.
The openssl team is rewriting their build files so it's not appropriate
for openssl upstream and fixing the root cause of the race condition
was also not pursued.
(From OE-Core rev: c60288aba70635238094c6b813228b31e0715db9)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch changes the result of the nettle dlopen-test
from FAIL to PASS. The test used to fail because the test could not
find and load libnettle.so.
This patch fixes this by using absolute path instead of relative.
This was the only test out of 88 that used to fail.
(From OE-Core rev: f12d493418417c8529a97c7a768e4af58ea5c91b)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch changes the result of the "include" test
from FAIL to PASS. The test used to fail as the test prerequisite
was missing.
This was the only test out of 298 that used to fail.
(From OE-Core rev: 3e6bbb81d143919e37cea1549220d27df22080fe)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream filename added "v" before version:
- Add UPSTREAM_CHECK_REGEX
- Update SRC_URI to include the "v"
- Point ${S} to proper directory
* Patch for required headers no longer needed in current upstream
* Tested on qemux86-64 core-image-full-cmdline image with multilib
(From OE-Core rev: c12f7f7492c33134ad6dde65fe119d53301dca2f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tclConfig.sh is also used by other packages (such as expect) for
cross-compiling, the host path from it can't be removed directly in
the do_install step.
With PACKAGE_PREPROCESS_FUNCS to remove host path and avoid the
crossscripts installed to target.
(From OE-Core rev: ced5618e7b3459fdd96f448ccdb55b5ced6d8214)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For shared libraries compilation perl uses LDDLFLAGS instead of
LDFLAGS. Value for LDDLFLAGS can be provided through
recipe-sysroot-native/usr/lib/perl-native/perl/config.sh file
generated during perl-native compilation.
With default LDDLFLAGS libxml-parser-perl-native package have no
correct rpath in Expat.so module. Provide correct LDDLFLAGS for perl
modules compilation to fix build on hosts without libexpat.so.
(From OE-Core rev: 118f42fa92c29269395c53c931fa174ece1af2e0)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Bugfixes only release.
* Removed SRC_URI from .inc file since it was duplicated in .bb file as well.
(From OE-Core rev: a70a8c016086dfd4534140364256c0557e840d89)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This build time option is needed to use the '--dns-interface' runtime
parameter to instruct 'curl' to use a specific interface for DNS
resolution.
Not enabled by default, as it depends on 'c-ares' package from
meta-openembedded (meta-networking).
(From OE-Core rev: 4fe0aa3791db0ee6c85e7a068f69def6e7c0da46)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This release includes:
- SDP fix for CVE-2017-1000250.
- New bluetooth mesh profile.
- Various fixes to GATT, A2DP and BR/EDR vs LE bearer handling.
This commit also drops the following two patches which are included in
5.47:
- 0001-hciattach-bcm43xx-fix-the-delay-timer-for-firmware-d.patch
- cve-2017-1000250.patch
(From OE-Core rev: cf25d927b2deadc11688b9dab2c366eaa57c54e6)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of not even having the test functions if network tests are disabled, use
a custom decorator to mark the network tests and skip them.
(Bitbake rev: cc420f430b1dafd9ca944bea259a564aaab34595)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fedora 24 reached end-of-life on 2017-08-08 and hasn't been tested in
some time.
* Fedora 25 reaches end-of-life in Q4 2017 and is exhibiting a bug which
makes it an extremely unreliable host OS for workers on the Yocto
Autobuilder. For that reason we'll no longer be using this distro on the
Yocto Autobuilder and thus cannot claim the distro is sanity tested.
(From meta-yocto rev: 976ee9a60ab786ae07057577975e3b91e388cd47)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After commit edcf39820f the beaglebone
builds fail to mount the boot partition as it is specified in
/etc/fstab with the device node /dev/mmcblkp1. With systemd in
particular this is considered an error and the system drops into
emergency mode.
(From meta-yocto rev: 11dbb98836768b71945817881709c5437d6eec6b)
Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating a backport of upstream commit:
ide:ide-cd: fix kernel panic resulting from missing scsi_req_init
commit 79d73346ac05bc31 upstream
Since we split the scsi_request out of struct request, while the
standard prep_rq_fn builds 10 byte cmds, it missed to invoke
scsi_req_init() to initialize certain fields of a scsi_request
structure (.__cmd[], .cmd, .cmd_len and .sense_len but no other
members of struct scsi_request).
An example panic on virtual machines (qemu/virtualbox) to boot
from IDE cdrom:
...
[ 8.754381] Call Trace:
[ 8.755419] blk_peek_request+0x182/0x2e0
[ 8.755863] blk_fetch_request+0x1c/0x40
[ 8.756148] ? ktime_get+0x40/0xa0
[ 8.756385] do_ide_request+0x37d/0x660
[ 8.756704] ? cfq_group_service_tree_add+0x98/0xc0
[ 8.757011] ? cfq_service_tree_add+0x1e5/0x2c0
[ 8.757313] ? ktime_get+0x40/0xa0
[ 8.757544] __blk_run_queue+0x3d/0x60
[ 8.757837] queue_unplugged+0x2f/0xc0
[ 8.758088] blk_flush_plug_list+0x1f4/0x240
[ 8.758362] blk_finish_plug+0x2c/0x40
...
[ 8.770906] RIP: ide_cdrom_prep_fn+0x63/0x180 RSP: ffff92aec018bae8
[ 8.772329] ---[ end trace 6408481e551a85c9 ]---
...
Fixes: 82ed4db499b8 ("block: split scsi_request out of struct request")
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
[bva: modified for 4.12 context]
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: 089dc30e11a5bbd10bf6bebea6aa0ac2173bc9a3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration updates:
dcf1317b36d2 features/mmc/mmc-realtek: enable Realtek PCI-E card reader support
1a144ffe5f76 edac: split scc into enablement and patching (for treegen)
(From OE-Core rev: 5135d7c88bd1c50b7462d3f219d778e4a33b2995)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release that comprises the following changes:
5d7a76acad40 Linux 4.9.57
28955b03fac3 KVM: nVMX: update last_nonleaf_level when initializing nested EPT
fb6da44f965e x86/alternatives: Fix alt_max_short macro to really be a max()
063b57d55618 USB: serial: console: fix use-after-free after failed setup
638f7fbfd67d USB: serial: qcserial: add Dell DW5818, DW5819
c98f2ff0013e USB: serial: option: add support for TP-Link LTE module
dcb2be936c3f USB: serial: cp210x: add support for ELV TFD500
0c80bbb76814 USB: serial: ftdi_sio: add id for Cypress WICED dev board
ed35ded9c781 bio_copy_user_iov(): don't ignore ->iov_offset
e67dfe75b683 more bio_map_user_iov() leak fixes
5444d8ab9a14 fix unbalanced page refcounting in bio_map_user_iov
f9139a1a2457 direct-io: Prevent NULL pointer access in submit_page_section
3941ee20839f usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options
3c57f9d8c194 usb: gadget: configfs: Fix memory leak of interface directory data
80689fdf37a8 drm/i915/bios: parse DDI ports also for CHV for HDMI DDC pin and DP AUX channel
fd96a9b0150a drm/i915: Read timings from the correct transcoder in intel_crtc_mode_get()
7c82795f9612 drm/i915/edp: Get the Panel Power Off timestamp after panel is off
4dbe48b8e1a9 ALSA: line6: Fix leftover URB at error-path during probe
b65f99b8b1ab ALSA: line6: Fix missing initialization before error path
bbab59d6c4b2 ALSA: caiaq: Fix stray URB at probe error path
6571ce840881 ALSA: seq: Fix copy_from_user() call inside lock
35b84860667f ALSA: seq: Fix use-after-free at creating a port
e0c70289a1e3 ALSA: usb-audio: Kill stray URB at exiting
133ca5c71299 fs/mpage.c: fix mpage_writepage() for pages with buffers
2a077f725847 device property: Track owner device of device property
3abebf0b8c5f iommu/amd: Finish TLB flush in amd_iommu_unmap()
4f28d1a742f9 pinctrl/amd: Fix build dependency on pinmux code
f4753e0ae985 usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet
08e1674e82e5 KVM: nVMX: fix guest CR4 loading when emulating L2 to L1 exit
3610c4a7838d KVM: MMU: always terminate page walks at level 1
91daaefbe5df crypto: shash - Fix zero-length shash ahash digest crash
57265cddde30 HID: usbhid: fix out-of-bounds bug
9d9c2884da2c dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse
618c786d2bba dmaengine: edma: Align the memcpy acnt array size with the transfer
b7309209b020 MIPS: math-emu: Remove pr_err() calls from fpu_emu()
a844e288c811 USB: dummy-hcd: Fix deadlock caused by disconnect detection
97535791d8f9 rcu: Allow for page faults in NMI handlers
f012cb75946f nl80211: Define policy for packet pattern attributes
92d7d3e86702 CIFS: Reconnect expired SMB sessions
28cbf0693771 ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets
9d36d3eff2f8 Linux 4.9.56
00449628f352 Revert "socket, bpf: fix possible use after free"
f82786d7a94f Linux 4.9.55
922e562b2613 KVM: x86: fix singlestepping over syscall
ec86c1ca8fbb f2fs: don't allow encrypted operations without keys
48d7b5a88790 ext4: don't allow encrypted operations without keys
6007f0f7a47d ext4: Don't clear SGID when inheriting ACLs
2d605d9188d6 ext4: fix data corruption for mmap writes
27db1f020373 vfs: deny copy_file_range() for non regular files
ba15518c2610 sched/cpuset/pm: Fix cpuset vs. suspend-resume bugs
d9aaef32f32c mmc: core: add driver strength selection when selecting hs400es
c83bbed23419 nvme-pci: Use PCI bus address for data/queues in CMB
acf64334817c drm/i915/bios: ignore HDMI on port A
54aa832c8744 brcmfmac: setup passive scan if requested by user-space
4d3132d97aa7 brcmfmac: add length check in brcmf_cfg80211_escan_handler()
12b182a35f45 scsi: sd: Do not override max_sectors_kb sysfs setting
aee20f321daf iwlwifi: add workaround to disable wide channels in 5GHz
f8895642cf8e iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD
9a19bc44c636 netlink: fix nla_put_{u8,u16,u32} for KASAN
57a77fffb0ff rocker: fix rocker_tlv_put_* functions for KASAN
50b27486ae8a HID: wacom: bits shifted too much for 9th and 10th buttons
953f5e7c6216 HID: wacom: Always increment hdev refcount within wacom_get_hdev_data
04b54e8ff7d0 HID: wacom: leds: Don't try to control the EKR's read-only LEDs
5abb9cd4ff92 HID: i2c-hid: allocate hid buffers for real worst case
a3ec104976f7 ftrace: Fix kmemleak in unregister_ftrace_graph
3ff8bc813b13 stm class: Fix a use-after-free
c541aaad4ac7 Drivers: hv: fcopy: restore correct transfer length
a97ca4f78018 driver core: platform: Don't read past the end of "driver_override" buffer
fc3c67226acd percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
6a988259b1cb powerpc/tm: Fix illegal TM state in signal handler
afebf5ef60da powerpc/64s: Use emergency stack for kernel TM Bad Thing program checks
02f7e4101092 socket, bpf: fix possible use after free
95206ea376b9 net: rtnetlink: fix info leak in RTM_GETSTATS call
58b1b8407a31 tipc: use only positive error codes in messages
09788d46b756 ip6_tunnel: update mtu properly for ARPHRD_ETHER tunnel device in tx path
ab4da56f61be ip6_gre: ip6gre_tap device should keep dst
b4a119251f6b netlink: do not proceed if dump's start() errs
cf2eaf16ab28 net: Set sk_prot_creator when cloning sockets to the right proto
24ee394a82d2 packet: only test po->has_vnet_hdr once in packet_snd
0f22167d3321 packet: in packet_do_bind, test fanout with bind_lock held
6eab1f829417 net: dsa: Fix network device registration order
b8990d2e77c6 tun: bail out from tun_get_user() if the skb is empty
b4a9b12d9a2c l2tp: fix race condition in l2tp_tunnel_delete
e5941137f784 l2tp: Avoid schedule while atomic in exit_net
6689f8358681 vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
852bdea5e379 net: qcom/emac: specify the correct size when mapping a DMA buffer
5600c7586ad9 net_sched: always reset qdisc backlog in qdisc_reset()
93eef2172d23 isdn/i4l: fetch the ppp_write buffer in one shot
0dee549f7912 bpf: one perf event close won't free bpf program attached by another perf event
6f7cdd4aa0a4 packet: hold bind lock when rebinding to fanout hook
6eac2cd24bd9 net: emac: Fix napi poll list corruption
b463521db854 tcp: fastopen: fix on syn-data transmit failure
b13bc543b1e6 net/sched: cls_matchall: fix crash when used with classful qdisc
13c8bd7a21ed ip6_tunnel: do not allow loading ip6_tunnel if ipv6 is disabled in cmdline
fc2fe7a06d6d net: phy: Fix mask value write on gmii2rgmii converter speed register
e814bae39ad5 ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
f0a5af78b530 udpv6: Fix the checksum computation when HW checksum does not apply
85908ccae5c2 tcp: fix data delivery rate
e159492b3c3e bpf/verifier: reject BPF_ALU64|BPF_END
186a9c5e7038 tcp: update skb->skb_mstamp more carefully
b70bb9bb7277 sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
f86d3b1a28a7 net: sched: fix use-after-free in tcf_action_destroy and tcf_del_walker
f860ca549de4 mlxsw: spectrum: Prevent mirred-related crash on removal
065af12fd139 ALSA: usx2y: Suppress kernel warning at page allocation failures
40e219327fd4 Revert "ALSA: echoaudio: purge contradictions between dimension matrix members and total number of members"
984b6c96f1e2 ALSA: compress: Remove unused variable
88c195d638d3 lsm: fix smack_inode_removexattr and xattr_getsecurity memleak
1c0891295a5a lib/ratelimit.c: use deferred printk() version
2b8197073a0f mm, oom_reaper: skip mm structs with mmu notifiers
8a056a115270 staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist
8928c5b2d318 uwb: ensure that endpoint is interrupt
8ff7adb930d4 uwb: properly check kthread_run return value
ec8a7153bbf3 iio: adc: mcp320x: Fix oops on module unload
1daa7c5aba21 iio: adc: mcp320x: Fix readout of negative voltages
8b97d5b67e9e iio: ad7793: Fix the serial interface reset
f0865d60f3a5 IIO: BME280: Updates to Humidity readings need ctrl_reg write!
9af1bd5e705a iio: core: Return error for failed read_reg
8edd1ce3e56b staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack.
1f266a130329 iio: ad_sigma_delta: Implement a dedicated reset function
a2002c92ffb3 iio: adc: twl4030: Disable the vusb3v1 rugulator in the error handling path of 'twl4030_madc_probe()'
ab6766146785 iio: adc: twl4030: Fix an error handling path in 'twl4030_madc_probe()'
a13481f8cdca Revert "xhci: Limit USB2 port wake support for AMD Promontory hosts"
f77615db8ae8 xhci: set missing SuperSpeedPlus Link Protocol bit in roothub descriptor
f1a04773d773 xhci: Fix sleeping with spin_lock_irq() held in ASmedia 1042A workaround
67e752e1d60f xhci: fix finding correct bus_state structure for USB 3.1 hosts
a6d4ce2e8b65 USB: fix out-of-bounds in usb_set_configuration
43feb29db4c5 usb: Increase quirk delay for USB devices
767f7a2cf33a USB: core: harden cdc_parse_cdc_header
d77606e93d81 USB: uas: fix bug in handling of alternate settings
da785bb64fa6 USB: g_mass_storage: Fix deadlock when driver is unbound
2b5c7b95ea36 usb: gadget: mass_storage: set msg_registered after msg registered
77a4be89599c USB: devio: Don't corrupt user memory
e39b17143a5b USB: dummy-hcd: Fix erroneous synchronization change
795f5501b95c USB: dummy-hcd: fix infinite-loop resubmission bug
5effe995310e USB: dummy-hcd: fix connection failures (wrong speed)
12071de6c37d USB: cdc-wdm: ignore -EPIPE from GetEncapsulatedResponse
0b104f92ed21 usb: pci-quirks.c: Corrected timeout values used in handshake
37b6d898388e ALSA: usb-audio: Check out-of-bounds access by corrupted buffer descriptor
eb5df140ca29 usb: renesas_usbhs: fix usbhsf_fifo_clear() for RX direction
4661c9b526c3 usb: renesas_usbhs: fix the BCLR setting condition for non-DCP pipe
760d0f10410a usb-storage: fix bogus hardware error messages for ATA pass-thru devices
dd52953f6c48 usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives
d21653d09a0b usb: gadget: udc: renesas_usb3: Fix return value of usb3_write_pipe()
db73b389775a usb: gadget: udc: renesas_usb3: fix Pn_RAMMAP.Pn_MPKT value
25533678e580 usb: gadget: udc: renesas_usb3: fix for no-data control transfer
744f9e1da2a5 usb: gadget: udc: atmel: set vbus irqflags explicitly
7f850036134c USB: gadgetfs: fix copy_to_user while holding spinlock
fd5336c0d1e3 USB: gadgetfs: Fix crash caused by inadequate synchronization
f37eb7b586f1 Linux 4.9.54
75903d40aaec s390/mm: make pmdp_invalidate() do invalidation only
14b502e491a8 ttpci: address stringop overflow warning
c637027054ae ALSA: au88x0: avoid theoretical uninitialized access
cf2cd9feb8e6 ASoC: rt5660: remove double const
617c7735db3d ASoC: rt5659: drop double const
2f4835ee5505 ASoC: rt5514: fix gcc-7 warning
d8ba70c09407 ARM: remove duplicate 'const' annotations'
a4f11d61e305 IB/qib: fix false-postive maybe-uninitialized warning
86c469bea4ae tools/power turbostat: bugfix: GFXMHz column not changing
c126bc6b94dd ARM: dts: BCM5301X: Fix memory start address
16db9205d3f8 libata: transport: Remove circular dependency at free time
49c3226c0657 ASoC: wm_adsp: Return an error on write to a disabled volatile control
d86f4ea83626 xfs: remove kmem_zalloc_greedy
943411be40e0 i2c: meson: fix wrong variable usage in meson_i2c_put_data
625cb13a8929 netfilter: nf_tables: set pktinfo->thoff at AH header if found
4131c889c278 md/raid10: submit bio directly to replacement disk
5c6712ab4efb rds: ib: add error handle
a495f72f8a53 mm/cgroup: avoid panic when init with low memory
2d59530d9918 iommu/io-pgtable-arm: Check for leaf entry before dereferencing it
81080d2d83f6 x86/acpi: Restore the order of CPU IDs
ffb6a7637ce0 cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()
27848be7eb75 ibmvnic: Free tx/rx scrq pointer array when releasing sub-crqs
49f1b2c154cb nfs: make nfs4_cb_sv_ops static
1cf8f9467e86 parisc: perf: Fix potential NULL pointer dereference
cd402b889606 netfilter: nfnl_cthelper: fix incorrect helper->expect_class_max
9b6f9da9e55a nvme-rdma: handle cpu unplug when re-establishing the controller
67e8be27ff72 MIPS: smp-cps: Fix retrieval of VPE mask on big endian CPUs
db6767e2fdca exynos-gsc: Do not swap cb/cr for semi planar formats
61b203816b17 iommu/exynos: Block SYSMMU while invalidating FLPD cache
3798fd14b970 MIPS: IRQ Stack: Unwind IRQ stack onto task stack
146561a3f1c8 netfilter: invoke synchronize_rcu after set the _hook_ to NULL
07b653405e3a drivers/rapidio/devices/tsi721.c: make module parameter variable name unique
5435e4823d81 kasan: do not sanitize kexec purgatory
dd9640717f3f hugetlbfs: initialize shared policy as part of inode allocation
c533c11d8f7a sata_via: Enable hotplug only on VT6421
26899ca9cc6f Btrfs: fix potential use-after-free for cloned bio
c17acd24c682 Btrfs: fix segmentation fault when doing dio read
7e2a755497f3 bridge: netlink: register netdevice before executing changelink
727a153435fa mmc: sdio: fix alignment issue in struct sdio_func
8f9bd136b50b qed: Fix possible system hang in the dcbnl-getdcbx() path.
f06316859ce6 net: dsa: b53: Include IMP/CPU port in dumb forwarding mode
affd26096a59 udp: disable inner UDP checksum offloads in IPsec case
65a7a7ce7ffd usb: plusb: Add support for PL-27A1
45eacc855552 team: fix memory leaks
897e8c528529 net/packet: check length in getsockopt() called with PACKET_HDRLEN
1dee03af7325 net: core: Prevent from dereferencing null pointer when releasing SKB
c593091cfc1b lkdtm: Fix Oops when unloading the module
6329973bee29 mips: ath79: clock:- Unmap region obtained by of_iomap
30a0220a5b0b MIPS: Lantiq: Fix another request_mem_region() return code check
fd9597d6ea28 HID: wacom: release the resources before leaving despite devm
d621f970fd71 drm: mali-dp: Fix transposed horizontal/vertical flip
c67371165170 drm: mali-dp: Fix destination size handling when rotating
e2d1a42ed06e ASoC: dapm: fix some pointer error handling
4302bc4f40b1 rtl8xxxu: Add additional USB IDs for rtl8192eu devices
3f22900466a1 usb: chipidea: vbus event may exist before starting gadget
75d1888ddce9 iommu/arm-smmu: Set privileged attribute to 'default' instead of 'unprivileged'
4af5e6136d76 spi: pxa2xx: Add support for Intel Gemini Lake
874b5acede78 ath10k: prevent sta pointer rcu violation
91e66498a96a audit: log 32-bit socketcalls
de415c812ec9 ASoC: dapm: handle probe deferrals
0fc89de6ee77 partitions/efi: Fix integer overflow in GPT size calculation
eaf9616e406c sfc: get PIO buffer size from the NIC
c6d263e6b30a USB: serial: mos7840: fix control-message error handling
9553708eb98d USB: serial: mos7720: fix control-message error handling
09831a957766 drm/amdkfd: fix improper return value on error
68b94d6c4edb arm: dts: mt2701: Add subsystem clock controller device nodes
b2e7d1f72b09 IB/ipoib: Replace list_del of the neigh->list with list_del_init
e335016d1f62 IB/ipoib: rtnl_unlock can not come after free_netdev
e384bbd585ee IB/ipoib: Fix deadlock over vlan_mutex
6c25cbaff1e9 serial: 8250_port: Remove dangerous pr_debug()
ca3e4e77201a tty: goldfish: Fix a parameter of a call to free_irq
5d29957578ae serial: 8250: moxa: Store num_ports in brd
d976d68e1726 drm/i915/psr: disable psr2 for resolution greater than 32X20
e92dca6f5a14 ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM
e1c355c244b7 IB/rxe: Fix a MR reference leak in check_rkey()
0081b9e7fcf7 IB/rxe: Add a runtime check in alloc_index()
2b7aec8839df iio: adc: hx711: Add DT binding for avia,hx711
ff9b56037dd7 iio: adc: axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications
259f317db758 iio: adc: imx25-gcq: Fix module autoload
772384d7ec40 hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes
d74f860528fb usb: make the MTK XHCI driver compile for older MIPS SoCs
952d3c52bd85 clk/axs10x: Clear init field in driver probe
81c961824662 sh_eth: use correct name for ECMR_MPDE bit
bed7533196b2 reset: ti_syscon: fix a ti_syscon_reset_status issue
6798f079b0a5 extcon: axp288: Use vbus-valid instead of -present to determine cable presence
bc438831606a igb: re-assign hw address pointer on reset after PCI error
484e3e793449 ARM: dts: am335x-chilisom: Wakeup from RTC-only state by power on event
bc9ad17c7af2 scsi: be2iscsi: Add checks to validate CID alloc/free
36c56ac0f897 power: supply: axp288_fuel_gauge: Fix fuel_gauge_reg_readb return on error
0cde56d3b672 MIPS: ralink: Fix incorrect assignment on ralink_soc
0e22be793ad2 MIPS: ralink: Fix a typo in the pinmux setup.
84eaa74d734a MIPS: Ensure bss section ends on a long-aligned address
d1d3a78f3e8f ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for msiof nodes
3311a304ec62 RDS: RDMA: Fix the composite message user notification
aa07a2ccc80d clk: sunxi-ng: fix PLL_CPUX adjusting on H3
299b924c1f20 ARM: dts: exynos: Add CPU OPPs for Exynos4412 Prime
48167acb7f5b drm/i915: Fix the overlay frontbuffer tracking
97766c6a8e58 GFS2: Fix reference to ERR_PTR in gfs2_glock_iter_next
e236940a87f1 drm: bridge: add DT bindings for TI ths8135
7df306f1063b drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define
1852eae92c46 Linux 4.9.53
df13283e4b89 swiotlb-xen: implement xen_swiotlb_dma_mmap callback
64afde6f956d video: fbdev: aty: do not leak uninitialized padding in clk to userspace
ea37f61f5de0 KVM: VMX: use cmpxchg64
cb2da657d3a9 cxl: Fix driver use count
3ffbe626a254 KVM: VMX: remove WARN_ON_ONCE in kvm_vcpu_trigger_posted_interrupt
0c4e39ca6700 KVM: VMX: do not change SN bit in vmx_update_pi_irte()
4c00015385fa timer/sysclt: Restrict timer migration sysctl values to 0 and 1
e2f803481a84 gfs2: Fix debugfs glocks dump
5e9b07f30d21 x86/fpu: Don't let userspace set bogus xcomp_bv
54af98f86b92 x86/mm: Fix fault error path using unsafe vma pointer
f11525d7ff5d btrfs: prevent to set invalid default subvolid
ba44bc49bae6 btrfs: propagate error to btrfs_cmp_data_prepare caller
b86b6c226bea btrfs: fix NULL pointer dereference from free_reloc_roots()
bb1e06d281a8 PCI: Fix race condition with driver_override
46f062e05920 etnaviv: fix gem object list corruption
02c7d98bec6c xfs: validate bdev support for DAX inode flag
86ef97b2dfd5 kvm: nVMX: Don't allow L2 to access the hardware CR8
3d4213fac7d1 KVM: VMX: Do not BUG() on out-of-bounds guest IRQ
e3a643b3288a kvm/x86: Handle async PF in RCU read-side critical sections
58d2fb119ae6 KVM: VMX: simplify and fix vmx_vcpu_pi_load
ff5eb8f28ff2 KVM: VMX: avoid double list add with VT-d posted interrupts
01c58b0edeb1 KVM: VMX: extract __pi_post_block
d49527ed4888 arm64: fault: Route pte translation faults via do_translation_fault
7dbd64284b18 arm64: Make sure SPsel is always set
be69c4c00a68 seccomp: fix the usage of get/put_seccomp_filter() in seccomp_get_filter()
58052a74d9b0 selftests/seccomp: Support glibc 2.26 siginfo_t.h
831cca587e7b iw_cxgb4: put ep reference in pass_accept_req()
f184cf5256b7 iw_cxgb4: remove the stid on listen create failure
eb4375e1969c bsg-lib: don't free job in bsg_prepare_job
c820441a7a52 nl80211: check for the required netlink attributes presence
f3e2e7f0b4d7 vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets
18a89a10b26b SMB3: Don't ignore O_SYNC/O_DSYNC and O_DIRECT flags
0e1b85a41a25 SMB: Validate negotiate (to protect against downgrade) even if signing off
df1be2066433 SMB3: Warn user if trying to sign connection that authenticated as guest
f2d395b7bde5 Fix SMB3.1.1 guest authentication to Samba
3a02f8cb5564 PM: core: Fix device_pm_check_callbacks()
22338c55658d s390/mm: fix write access check in gup_huge_pmd()
c76655fb0f44 powerpc/ftrace: Pass the correct stack pointer for DYNAMIC_FTRACE_WITH_REGS
f89f25b53147 powerpc/tm: Flush TM only if CPU has TM feature
5c23dcf86e2d powerpc/pseries: Fix parent_dn reference leak in add_dt_node()
dda70d28c0ac KEYS: prevent KEYCTL_READ on negative key
bfe9d7b8e0f2 KEYS: prevent creating a different user's keyrings
47e8bd1965fc KEYS: fix writing past end of user-supplied buffer in keyring_read()
0c70fb88c751 security/keys: rewrite all of big_key crypto
2f9be92dfffe security/keys: properly zero out sensitive key material in big_key
b60f791ef32d crypto: talitos - fix hashing
1492259fc324 crypto: talitos - fix sha224
70117b773598 crypto: talitos - Don't provide setkey for non hmac hashing algs.
7e1b2b2db3d7 crypto: drbg - fix freeing of resources
29825768590e drm/radeon: disable hard reset in hibernate for APUs
b42bf0f15cf7 scsi: scsi_transport_iscsi: fix the issue that iscsi_if_rx doesn't parse nlmsg properly
49c2b839b743 md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list
648798cc2fd7 md/raid5: fix a race condition in stripe batch
5fb4be27dac5 tracing: Erase irqsoff trace with empty write
97d402e6eed2 tracing: Fix trace_pipe behavior for instance traces
8dcf70ab1830 KVM: PPC: Book3S HV: Protect updates to spapr_tce_tables list
18b7919a9de8 KVM: PPC: Book3S: Fix race and leak in kvm_vm_ioctl_create_spapr_tce()
3d5960c8c657 genirq: Make sparse_irq_lock protect what it should protect
e167b4ad529b mac80211: flush hw_roc_start work before cancelling the ROC
e7e0f0dda28b mac80211_hwsim: Use proper TX power
59862b0429d9 mac80211: fix VLAN handling with TXQs
9ad15a25669e fs/proc: Report eip/esp in /prod/PID/stat for coredumping
b6a77c7ba674 cifs: release auth_key.response for reconnect.
9a7bc3f0c76a cifs: release cifs root_cred after exit_cifs
d59dabdc4cb3 Linux 4.9.52
08f75f2c525d bcache: fix bch_hprint crash and improve output
57aa1a6967b2 bcache: fix for gc and write-back race
fa92ff6b77a1 bcache: Correct return value for sysfs attach errors
e40cb30162d7 bcache: correct cache_dirty_target in __update_writeback_rate()
8f51f38883dc bcache: do not subtract sectors_to_gc for bypassed IO
c234e0e77572 bcache: Fix leak of bdev reference
2a9b55742a9f bcache: initialize dirty stripes in flash_dev_run()
f5c3fd83284f PM / devfreq: Fix memory leak when fail to register device
38993f320506 media: uvcvideo: Prevent heap overflow when accessing mapped controls
7717a7378c53 media: v4l2-compat-ioctl32: Fix timespec conversion
de4360dd3519 s390/mm: fix race on mm->context.flush_mm
536ab630f4db s390/mm: fix local TLB flushing vs. detach of an mm address space
4c7f54a0f977 net/netfilter/nf_conntrack_core: Fix net_conntrack_lock()
2fd62929c88f PCI: pciehp: Report power fault only once until we clear it
998a9f51bc74 PCI: shpchp: Enable bridge bus mastering if MSI is enabled
57e4f87ebe46 ARC: Re-enable MMU upon Machine Check exception
cf052336d0d3 tracing: Apply trace_clock changes to instance max buffer
96cf918df428 tracing: Add barrier to trace_printk() buffer nesting modification
100553e197e2 ftrace: Fix memleak when unregistering dynamic ops when tracing disabled
df865f86b008 ftrace: Fix selftest goto location on error
2a913aecc4f7 scsi: qla2xxx: Fix an integer overflow in sysfs code
6e2a0259da7a scsi: qla2xxx: Correction to vha->vref_count timeout
90cb12f6dc5a scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE
25d5a8a2958f scsi: sg: factor out sg_fill_request_table()
c6b9a2007c92 scsi: sg: off by one in sg_ioctl()
2b2d86b0d43d scsi: sg: use standard lists for sg_requests
91fb151822d0 scsi: sg: remove 'save_scat_len'
5b8f80d34abf scsi: storvsc: fix memory leak on ring buffer busy
d8817f5f2937 scsi: megaraid_sas: Return pended IOCTLs with cmd_status MFI_STAT_WRONG_STATE in case adapter is dead
c62da79e1be5 scsi: megaraid_sas: Check valid aen class range to avoid kernel panic
7efc41514a01 scsi: megaraid_sas: set minimum value of resetwaittime to be 1 secs
c24f722a82b1 scsi: zfcp: trace high part of "new" 64 bit SCSI LUN
adbbbd349e80 scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response
5283787709f8 scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records
8d706e3dd8ab scsi: zfcp: fix missing trace records for early returns in TMF eh handlers
424a20b09617 scsi: zfcp: fix passing fsf_req to SCSI trace on TMF to correlate with HBA
0cbb7431a762 scsi: zfcp: fix capping of unsuccessful GPN_FT SAN response trace records
88187de0e934 scsi: zfcp: add handling for FCP_RESID_OVER to the fcp ingress path
83245cd18775 scsi: zfcp: fix queuecommand for scsi_eh commands when DIX enabled
63e606bd9551 skd: Submit requests to firmware before triggering the doorbell
cb1441bca9bf skd: Avoid that module unloading triggers a use-after-free
2cee78081b97 md/bitmap: disable bitmap_resize for file-backed bitmaps.
120ec1e4cddd block: Relax a check in blk_start_queue()
48564b51ac75 powerpc: Fix DAR reporting when alignment handler faults
3806cea5c1c5 ext4: fix quota inconsistency during orphan cleanup for read-only mounts
18d27cb70373 ext4: fix incorrect quotaoff if the quota feature is enabled
e684db9a7cea crypto: AF_ALG - remove SGL terminator indicator when chaining
dcb3a4b8d776 crypto: ccp - Fix XTS-AES-128 support on v5 CCPs
1f143ba19a8f MIPS: math-emu: <MADDF|MSUBF>.D: Fix accuracy (64-bit case)
d2b488ee6f63 MIPS: math-emu: <MADDF|MSUBF>.S: Fix accuracy (32-bit case)
5cabf999fdb7 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Clean up "maddf_flags" enumeration
d56a9caf6d83 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of zero inputs
8981bcaf9a2d MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of infinite inputs
4f8479c933a7 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix NaN propagation
4e0694a6411b MIPS: math-emu: Handle zero accumulator case in MADDF and MSUBF separately
9381a991a36a MIPS: math-emu: MINA.<D|S>: Fix some cases of infinity and zero inputs
f7d36f6594b8 MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of both infinite inputs
a04d53797fca MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of input values with opposite signs
d2b6fcb0b6de MIPS: math-emu: <MAX|MIN>.<D|S>: Fix cases of both inputs negative
694f6ea0a4e2 MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix cases of both inputs zero
b234149cf77b MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix quiet NaN propagation
fcaec235666c Input: i8042 - add Gigabyte P57 to the keyboard reset table
6053a5fec569 pinctrl/amd: save pin registers over suspend/resume
346abf2aca7f tty: fix __tty_insert_flip_char regression
750462424193 tty: improve tty_insert_flip_char() slow path
f61a07f3fe97 tty: improve tty_insert_flip_char() fast path
2f8b06f906fd IB/addr: Fix setting source address in addr6_resolve()
0fda166fcec8 drm/sun4i: Implement drm_driver lastclose to restore fbdev console
a29aeb834a96 IB/{qib, hfi1}: Avoid flow control testing for RDMA write operation
e148702302c5 orangefs: Don't clear SGID when inheriting ACLs
39f5677232ab mm: prevent double decrease of nr_reserved_highatomic
f609266b12d2 NFSv4: Fix callback server shutdown
d9f9b83539ab SUNRPC: Refactor svc_set_num_threads()
089d7720383d Linux 4.9.51
7829684088a2 ipv6: Fix may be used uninitialized warning in rt6_check
ae04a8c4c6fc xfs: fix compiler warnings
7b5fcb7fc05b md/raid5: release/flush io in raid5_do_work()
81cb6f1a2a19 xfs: use kmem_free to free return value of kmem_zalloc
772003c6a428 xfs: open code end_buffer_async_write in xfs_finish_page_writeback
bb69e8a228a7 xfs: don't set v3 xflags for v2 inodes
f46a61f686b0 xfs: fix incorrect log_flushed on fsync
0e8d7e364ec5 xfs: disable per-inode DAX flag
a46cf59265cf xfs: relog dirty buffers during swapext bmbt owner change
e2bb92633615 xfs: disallow marking previously dirty buffers as ordered
a51e3e2cf3cb xfs: move bmbt owner change to last step of extent swap
f9e583edf1a7 xfs: skip bmbt block ino validation during owner change
fe211e1744db xfs: don't log dirty ranges for ordered buffers
19a87a940765 xfs: refactor buffer logging into buffer dirtying helper
93b645160192 xfs: ordered buffer log items are never formatted
ba986b3c8498 xfs: remove unnecessary dirty bli format check for ordered bufs
0f5af7eae884 xfs: open-code xfs_buf_item_dirty()
81286ade81f7 xfs: check for race with xfs_reclaim_inode() in xfs_ifree_cluster()
63d184d2955b xfs: evict all inodes involved with log redo item
536932f39e93 xfs: stop searching for free slots in an inode chunk when there are none
6b6505d90b77 xfs: add log recovery tracepoint for head/tail
7549e7c01fb0 xfs: handle -EFSCORRUPTED during head/tail verification
47db1fc608b8 xfs: fix log recovery corruption error due to tail overwrite
e34b72a2381e xfs: always verify the log tail during recovery
35093926c2f8 xfs: fix recovery failure when log record header wraps log end
0800356def7f xfs: Properly retry failed inode items in case of error during buffer writeback
7942f605c308 xfs: Add infrastructure needed for error propagation during buffer IO failure
1ba04933408e xfs: remove xfs_trans_ail_delete_bulk
9a3f75229090 xfs: toggle readonly state around xfs_log_mount_finish
01d38e380746 xfs: write unmount record for ro mounts
ec0d46ef8b7e iomap: fix integer truncation issues in the zeroing and dirtying helpers
e1a7b7e1f6c2 xfs: don't leak quotacheck dquots when cow recovery
7fb3e5e373bb xfs: clear MS_ACTIVE after finishing log recovery
8edd73a13dc0 xfs: fix inobt inode allocation search optimization
f90756d75d69 xfs: Fix per-inode DAX flag inheritance
229980158f95 xfs: fix multi-AG deadlock in xfs_bunmapi
81e27c94f9ab xfs: fix quotacheck dquot id overflow infinite loop
01bc132048cf xfs: check _alloc_read_agf buffer pointer before using
c32b1ec8a266 xfs: set firstfsb to NULLFSBLOCK before feeding it to _bmapi_write
a6247b0189fa xfs: check _btree_check_block value
e76496fa8554 xfs: don't crash on unexpected holes in dir/attr btrees
b46382f02aff xfs: free cowblocks and retry on buffered write ENOSPC
171192c92da6 xfs: free uncommitted transactions during log recovery
621d0b75a347 xfs: don't allow bmap on rt files
8913492d12b1 xfs: remove bli from AIL before release on transaction abort
6c0ecde201d7 xfs: release bli from transaction properly on fs shutdown
ce83e494d1bb xfs: try to avoid blowing out the transaction reservation when bunmaping a shared extent
7cb011bbacef xfs: push buffer of flush locked dquot to avoid quotacheck deadlock
85ab1b23d2d8 xfs: fix spurious spin_is_locked() assert failures on non-smp kernels
4c1d33c4cf86 xfs: Move handling of missing page into one place in xfs_find_get_desired_pgoff()
3fddeb80034b x86/switch_to/64: Rewrite FS/GS switching yet again to fix AMD CPUs
0caec70692a0 x86/fsgsbase/64: Report FSBASE and GSBASE correctly in core dumps
c7d1ddec251d x86/fsgsbase/64: Fully initialize FS and GS state in start_thread_common
cc9618c9fffe f2fs: check hot_data for roll-forward recovery
0f90297cba9b f2fs: let fill_super handle roll-forward errors
60b94125a1fe ip_tunnel: fix setting ttl and tos value in collect_md mode
3f60dadbe178 sctp: fix missing wake ups in some situations
bf8ed95d2ca9 ipv6: fix typo in fib6_net_exit()
c9335db792c0 ipv6: fix memory leak with multiple tables during netns destruction
ca7d8a337bd3 ip6_gre: update mtu properly in ip6gre_err
f5755c0e8700 vhost_net: correctly check tx avail during rx busy polling
90406e68e42f gianfar: Fix Tx flow control deactivation
1bcf18718ec6 Revert "net: fix percpu memory leaks"
5a7a40bad254 Revert "net: use lib/percpu_counter API for fragmentation mem accounting"
b5a3ae8b127e bridge: switchdev: Clear forward mark when transmitting packet
73ee5a73e75f mlxsw: spectrum: Forbid linking to devices that have uppers
a10c510179b3 tcp: initialize rcv_mss to TCP_MIN_MSS instead of 0
a6e51fda71a2 Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()"
af33da0ed95f kcm: do not attach PF_KCM sockets to avoid deadlock
8c623e5d0369 packet: Don't write vnet header beyond end of buffer
2b3bd5972a5c cxgb4: Fix stack out-of-bounds read due to wrong size to t4_record_mbox()
de2ecec26dba netvsc: fix deadlock betwen link status and removal
64dfc67548da qlge: avoid memcpy buffer overflow
08d56d8a99bb sctp: Avoid out-of-bounds reads from address storage
4d8ee1935bcd fsl/man: Inherit parent device and of_node
1e39e5c6a2ea udp: on peeking bad csum, drop packets even if not at head
4b4a194a10e2 macsec: add genl family module alias
43c792a84880 ipv6: fix sparse warning on rt6i_node
7f8f23fc8026 ipv6: add rcu grace period before freeing fib6_node
dccb31be7ef8 ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt()
4ad5dcaca742 Linux 4.9.50
5b82e0e938af xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present
3885bc68ae14 NFS: Sync the correct byte range during synchronous writes
a70912a6bfff NFS: Fix 2 use after free issues in the I/O code
301d91e03c9d ARM: 8692/1: mm: abort uaccess retries upon fatal signal
b40aa8b047b8 ARM64: dts: marvell: armada-37xx: Fix GIC maintenance interrupt
6300c8bfafe0 Bluetooth: Properly check L2CAP config option output buffer length
03bea515b9a2 ALSA: msnd: Optimize / harden DSP and MIDI loops
d21f3eaa09c0 locktorture: Fix potential memory leak with rw lock test
3c8381df2a56 mm/memory.c: fix mem_cgroup_oom_disable() call missing
ebf381be016f selftests/x86/fsgsbase: Test selectors 1, 2, and 3
0f7dbc4d5bc8 btrfs: resume qgroup rescan on rw remount
f52a535c8438 nvme-fabrics: generate spec-compliant UUID NQNs
b276bc66d439 mtd: nand: qcom: fix config error for BCH
f4a272d57839 mtd: nand: qcom: fix read failure without complete bootchain
865162031c4e mtd: nand: mxc: Fix mxc_v1 ooblayout
(From OE-Core rev: afbe1ecd2412c7464ba805223058ab416553b250)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that BSPs that only matched the machine were
being returned as the configuration entry point. This could lead
to warnings, or unexpected runtime results.
Integrating the following commit to ensure that only strict matches
are returned by default, with a flag to do fuzzy matching
spp: make fuzzy matching optional
Add a flag that can be used to toggle wether or not a partial
match is an error.
--fuzz
When passed, partial patching will be used. If not passed the
default is to return nothing (which can be interpreted as an
error by the calling routines) if both the kernel type and
machine do not match.
(From OE-Core rev: f60d050fef2e4ac592bb5554e74b9573e3570d0f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following bugfixes to the 4.12 tree:
26c1863a7448 ALSA: hda: Fix regression of hdmi eld control created based on invalid pcm
2b020e00dd49 arm64: mm: select CONFIG_ARCH_PROC_KCORE_TEXT
abcf00d7171c fs/proc: kcore: use kcore_list type to check for vmalloc/module address
(From OE-Core rev: 1027bfffb3d6118a43c5697f36b30dd8e4ae3f96)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases with the following commit summary:
fa394784e74b Linux 4.12.14
d0fa64e2a3e8 ipv6: Fix may be used uninitialized warning in rt6_check
7816eb3874a2 md/raid5: release/flush io in raid5_do_work()
b57c1b424549 md/raid1/10: reset bio allocated from mempool
c3f9d09e70a3 idr: remove WARN_ON_ONCE() when trying to replace negative ID
a82e202cbb72 fuse: allow server to run in different pid_ns
7b777a6cc52a x86/switch_to/64: Rewrite FS/GS switching yet again to fix AMD CPUs
831621ada28a x86/fsgsbase/64: Report FSBASE and GSBASE correctly in core dumps
90ecd1c5bc55 x86/fsgsbase/64: Fully initialize FS and GS state in start_thread_common
cb14d4cebdb2 f2fs: check hot_data for roll-forward recovery
96a069a6babb f2fs: let fill_super handle roll-forward errors
442df0425e95 sctp: fix missing wake ups in some situations
aa02286a03c7 ipv6: fix typo in fib6_net_exit()
18c6d4c4d17a ipv6: fix memory leak with multiple tables during netns destruction
888b7a94104a ip6_gre: update mtu properly in ip6gre_err
88f6c6f254bf vhost_net: correctly check tx avail during rx busy polling
fc33f146d9f1 gianfar: Fix Tx flow control deactivation
a44bb1c4596a Revert "net: fix percpu memory leaks"
8fbf9f919597 Revert "net: use lib/percpu_counter API for fragmentation mem accounting"
79f08820eeb8 bridge: switchdev: Clear forward mark when transmitting packet
2f4232ba8001 mlxsw: spectrum: Forbid linking to devices that have uppers
a9e548de4cf9 net: fec: Allow reception of frames bigger than 1522 bytes
b8fcbae2fefa Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()"
b88be44f595f net/mlx5e: Fix CQ moderation mode not set properly
8049c41db78d net/mlx5e: Fix inline header size for small packets
8db40bcf439f net/mlx5: E-Switch, Unload the representors in the correct order
b0034cb5014e net/mlx5e: Properly resolve TC offloaded ipv6 vxlan tunnel source address
53c5525785bc net/mlx5e: Don't override user RSS upon set channels
ba008489371d net/mlx5e: Fix dangling page pointer on DMA mapping error
7ae1eccbde90 net/mlx5: Fix arm SRQ command for ISSI version 0
0b6b3028c005 net/mlx5e: Fix DCB_CAP_ATTR_DCBX capability for DCBNL getcap.
9b919ad3f99f net/mlx5e: Check for qos capability in dcbnl_initialize
31034e443fbf net: dsa: bcm_sf2: Fix number of CFP entries for BCM7278
f9901adf536c kcm: do not attach PF_KCM sockets to avoid deadlock
e7ebdeb47c8b packet: Don't write vnet header beyond end of buffer
ef5a20f0cbae ipv6: do not set sk_destruct in IPV6_ADDRFORM sockopt
440ea29af6a5 ipv6: set dst.obsolete when a cached route has expired
24bd86e62739 cxgb4: Fix stack out-of-bounds read due to wrong size to t4_record_mbox()
59b304fdff15 net: mvpp2: fix the mac address used when using PPv2.2
38ca2d395e1c udp6: set rx_dst_cookie on rx_dst updates
b4426cf20366 netvsc: fix deadlock betwen link status and removal
3f0204b0b7b5 net: systemport: Free DMA coherent descriptors on errors
71dd9ac555c5 net: bcmgenet: Be drop monitor friendly
7def678f47fc net: systemport: Be drop monitor friendly
c86a65cf30ac tipc: Fix tipc_sk_reinit handling of -EAGAIN
8aafed19d523 qlge: avoid memcpy buffer overflow
6da138247b47 sctp: Avoid out-of-bounds reads from address storage
207ab5d5a250 fsl/man: Inherit parent device and of_node
4670d7961333 bpf: fix map value attribute for hash of maps
79d6457e8036 udp: on peeking bad csum, drop packets even if not at head
1999821fa500 macsec: add genl family module alias
517e43bd1eba ipv6: fix sparse warning on rt6i_node
640efece69a4 ipv6: add rcu grace period before freeing fib6_node
76d3e7ff2362 ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt()
5d7d2e03e0f0 Linux 4.12.13
9f7df0bca168 xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present
da0f4931ec52 NFSv4: Fix up mirror allocation
3307d5f5099c NFS: Sync the correct byte range during synchronous writes
6f50e3a1b8c3 NFS: Fix 2 use after free issues in the I/O code
7714f302294d ARM: 8692/1: mm: abort uaccess retries upon fatal signal
b9a489e1d4a3 ARM64: dts: marvell: armada-37xx: Fix GIC maintenance interrupt
8329b5e8c6cf Bluetooth: Properly check L2CAP config option output buffer length
99dc1296b47c rt2800: fix TX_PIN_CFG setting for non MT7620 chips
2bce0fe7d0cd KVM: SVM: Limit PFERR_NESTED_GUEST_PAGE error_code check to L1 guest
9d6412aa06ce ALSA: msnd: Optimize / harden DSP and MIDI loops
846073130799 mm/memory.c: fix mem_cgroup_oom_disable() call missing
46791eb9f13e mm/swapfile.c: fix swapon frontswap_map memory leak on error
637f25e5ba94 mm: kvfree the swap cluster info if the swap file is unsatisfactory
58989dc3af0d selftests/x86/fsgsbase: Test selectors 1, 2, and 3
9ed3dc1c0431 radix-tree: must check __radix_tree_preload() return value
0af760ab3882 rtlwifi: btcoexist: Fix breakage of ant_sel for rtl8723be
8004198bb025 btrfs: resume qgroup rescan on rw remount
9a5537a76b62 nvme-fabrics: generate spec-compliant UUID NQNs
02c54b35cad8 mtd: nand: qcom: fix config error for BCH
f2339a072e47 mtd: nand: qcom: fix read failure without complete bootchain
71515c37777d mtd: nand: mxc: Fix mxc_v1 ooblayout
c54a31845019 mtd: nand: hynix: add support for 20nm NAND chips
2b8b46b24217 mtd: nand: make Samsung SLC NAND usable again
(From OE-Core rev: e611aef364647a0711d0438247ce42555409c62c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating features and new configurations for the 4.12 kernel.
With this update, a CGL-ready kernel can be configured out of
the box.
(From OE-Core rev: 43c5846e22d246dde314657dbf90f9752b06a54c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Feeding the output of /dev/urandom into /dev/random is pretty much insane
and not something we should encourage.
I can't really imagine a scenario where this would be a sensible idea since
/dev/urandom if effectively derived from /dev/random.
This changes the tool to default to /dev/hwrng which makes much more sense,
feeding hardware entropy into the random pool. In the QEMU case, this will
feed entropy from the host into the guests which is also what we want.
Yes, this change will cause rngd not to start if /dev/hwrng isn't present,
but it isn't needed if that isn't so I don't see this as a bad thing.
(https://wiki.archlinux.org/index.php/Rng-tools has a section in red which
agrees with the above, "this is a really bad idea, since you are simple
filling the kernel entropy pool with entropy coming from the kernel itself!")
(From OE-Core rev: f1dc9ac46710814c27cae2d22e79c84a9522993a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intent of the env setup scripts is to set BBPATH to point at the
build directory. This means if the user changes directory, bitbake can
still find the original build directory. The default bblayers.conf files
reset BBPATH to the correct components so this is safe and restores the
behaviour the script was intended to have.
[YOCTO #12163]
(From OE-Core rev: 82eeb934997c9eaa6443079dfb649a89872a222c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if you run bitbake in an invalid directory, the user experience
is poor:
birbake/lib/bb/main.py", line 427, in setup_bitbake
topdir, lock = lockBitbake()
File "./bitbake/lib/bb/main.py", line 494, in lockBitbake
lockfile = topdir + "/bitbake.lock"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
This ensures we exit straight away with a better error message.
[YOCTO #12163]
(Bitbake rev: 562f9ee674a8b392437096422b9cceab9c3cba2e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Python 3.6, glob.glob() was reimplemented to use os.scandir() (which
itself appeared in Python 3.5), thus our monkey patching of os.listdir()
here was no longer effective. The end result was not only that bitbake
wouldn't notice added recipes or bbappends with BB_SERVER_TIMEOUT set
when being run with Python 3.6 (the shipped Python version on Fedora 26
and some other distribution versions), it also broke devtool modify,
devtool upgrade and devtool extract since they rely on the ability to
create a bbappend on the fly and have bitbake pick it up.
To fix it, do the same monkey patching for os.scandir(), which needs to
be conditional upon that actually existing since we have to support
Python 3.4 that doesn't have it. Long term we should probably look for a
better way to handle this that doesn't involve monkey patching Python
library code.
Fixes [YOCTO #12185].
(Bitbake rev: d02e90db32e7ee341c2ba3be79b0627d8796bdd6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed wording on how the OpenEmbedded build system dynamically
generates do_image_* tasks as needed during image generation.
(From yocto-docs rev: 9df98d77a446cd5d27c4e87418117a904b1f4231)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The yocto-layers script is being deprecated in the 2.4 YP release
and the preferred script is now bitbake-layers. In particular, the
section that talks about creating a general layer was using
yocto-layers create. I have replaced it with bitbake-layers
create-layer command.
The bsp-guide and kernel-dev manual had links that used (in the
case of kernel-dev) and referenced yocto-layers. I had to change
these to reflect using bitbake-layers create-layers.
(From yocto-docs rev: 73ec4d0c8c2c093b7c9df86038d132f0da975273)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made the title page notes consistent across the manual set.
Made the author group information consistent as well. It is better
that authorship is seen as a third party and not tied to Intel
Corporation.
(From yocto-docs rev: 32cec087e384e1d92e3e84bbae5c6560a0af3136)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added information about how the build system dynamically creates
do_image_* tasks (e.g. do_image_ext4[depends]) when creating the
image. This is functionality that replaced IMAGE_DEPENDS_type.
(From yocto-docs rev: c977df506585aad1ade99c390bacc04b54eb0e48)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The title of the sdk-manual changed. Many links were updated to
render to the correct book title.
(From yocto-docs rev: 821e29c6c031ae2516fb0e79d0ec3936a5bd624c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The name of the sdk-manual changed and I had to update some external
links and references into the manual.
(From yocto-docs rev: fba92910fd91d1ca49bc6915820effb189f1852e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The name of the SDK manual changed and there was one link to the
manual that needed fixed.
(From yocto-docs rev: 800d5106a25ce4e87b0468ec3ab03dd8a49f3082)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the name of the manual to "Yocto Project Application
Development and the Extensible Software Development Kit (eSDK)".
The "sdk-title.png" file was updated and all title information
was updated.
(From yocto-docs rev: 502a49a9e4f5e80efe16507391bc9d9618efefbd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SDK manual title changes so the links into that manual needed updating.
(From yocto-docs rev: e59d1cb22d46b00e9413deb5c7a70a14be880dc1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also affected a link in the dev-manual and some setup stuff
in the mega-manual and sdk-manual.xml file due to a new chapter
being introduced.
This section on the Eclipse stuff is big enough to warrant its
own chapter. I decided to pull it into a separate chapter of its
own.
(From yocto-docs rev: a4b2b605902f09bb200facfabb0a7c355fbf4c87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the "Image Generation" section, I was referencing these tasks
and did not have any cross-link to the actual tasks. I added them.
(From yocto-docs rev: da480933c59ddc3fe9fe4a881d4d0e21038a999b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Step 4 of the "Running QEMU" section, the file suffix
"*.vmdk" is mentioned. "vmdk" has essentially become "wic.vmdk"
now. I updated the example.
(From yocto-docs rev: 5e17ccabfe8eb9d3b4316ceb41df17eddc7b0065)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "vmdk" image has essentially changed to "wic.vmdk". I updated
the description by replacing "vmdk" with "wic.vmdk".
(From yocto-docs rev: 24d0d9509361afe0d61449c7dd056f73318fc01a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Combined two note boxes into a single note box with bulleted list.
(From yocto-docs rev: 5684b6cf373ddc5b18e9e4ae4ae12cede30b8235)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manual title has changed to "Yocto Project Development Tasks
Manual".
(From yocto-docs rev: aa6b7959df1725257ee598f828d3e99e595308e5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated several files to change the title of the dev-manual from
the "Yocto Project Development Manual" to the "Yocto Project
Development Tasks Manual." Did some edits in the README and the
Makefile as well for completeness.
(From yocto-docs rev: 0278d6d3bb458af1cb04fbc3eed96dff12d19475)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found four links going to the dev-manual that should have benn going
to the ref-manual. These were for YP terms. Fixed them.
(From yocto-docs rev: 0c75eda3a772d8c40e381e44e563a5b79b3d0cb5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. I fixed a link to this title. Also, fixed several external
links that were going to the dev-manual and should have been going to
the ref-manual.
(From yocto-docs rev: 69c0832ea9378d097e85e23e45cec750b8c42042)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two links that should have been to different places were overlooked.
I fixed these.
(From yocto-docs rev: a1681d065812546a573ed778141289a6b476cecd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Fixed the links for that. Also took care of some external
links that should have been internal.
(From yocto-docs rev: c1e108e2d13d83bcd6b28c8983336a93642c60a2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Fixed the links to that manual. Also, fixed external links
that should have been internal to the ref-manual.
(From yocto-docs rev: 76bc9f55e0947689213139927410418a188c893c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. I fixed those links and titles. Also fixed some external links
that should have been internal.
(From yocto-docs rev: a63abcacb2d21cf3f29eb881ce872b265162d2ad)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. I fixed links to this manual. Also converted several external
links to internal.
(From yocto-docs rev: 3ec8452d4f847654096f68c90bf2f7003f5e585c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Fixed links for that. Also, fixed some external links that
should have been internal to ref-manual.
(From yocto-docs rev: 2369e8d1c1c4f376de0faf6ab02afdea79082d87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The title of the dev-manual changed to the Yocto Project Development
Tasks Manual. I added that to the links. Also fixed several external
links that really should have been internal.
(From yocto-docs rev: ff2d0010530d6969b2ffd64e6d23c79a18d7f368)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual and I fixed those links. Converted links that should have
been internal to the ref-manual but were external to the dev-manual.
(From yocto-docs rev: 6de68b04ce1b921466a462dfa3f3485232aaf40d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Updated a link. Also, fixed a link to a term that should
have been internal to the ref-manual and not external to the dev-manual.
(From yocto-docs rev: 82a44632fd614db1ac00d2e2b4ec85ade77b9aff)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Updated the links. Fixed a few links that should have
been internal.
(From yocto-docs rev: 2125fa0b2a86b8bea0d0e76c4ca349d00bd86e71)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Updated all the links.
(From yocto-docs rev: 0ef55f6d379f9c7b37642d51683d807a5eb92253)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development
Tasks Manual. I updated the links.
(From yocto-docs rev: db42c7f2c1b8fb9037bf32ca957d4bd7444510ea)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dev-manual title has changed to the Yocto Project Development Tasks
Manual. I fixed these links. Also, had to fix a couple links
that were in an external <ulink> style whereas they should have
been in an internal style (<link>).
(From yocto-docs rev: da5317f802975eaf6b2c5d4026892e5f2051760a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Links were using the <ulink> style tag when they should have been
using the <link> style.
(From yocto-docs rev: 6c4a39537211ccb322f4ac1c8009ebabcd7b209d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title has changed to the Yocto Project Development
Tasks Manual. I fixed links for this. Also, converted <ulink>
links that were going to internel areas of the ref-manual to
<link> format.
(From yocto-docs rev: bfe4b762ac1c1eb666636a7c2430b3e21787c531)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a couple links that were still going to the dev-manual when
they should have been going to the ref-manual. Updated the title
to the dev-manual for those links.
(From yocto-docs rev: 0cd84696a569af17a12bb939f203051e78d6fd48)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual name has changed to the "Yocto Project Development
Tasks Manual." I had to update some references to the manual.
(From yocto-docs rev: 64b5f18b953c89811a08f76a302e29e25ad2fb70)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added several first occurrences.
(From yocto-docs rev: fa369cfb539c86b59aaf0fff70d9034ea0620cba)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The name of the dev-manual has changed to be the
"Yocto Project Development Tasks Manual". I have updated all the
areas in the kernel-dev manual that reference sections into the
dev-manual.
(From yocto-docs rev: f0309ab658a259637ba7f9301031887114ade988)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to all links to the dev-manual. This manual is now named
"Yocto Project Development Tasks Manual". There were some bad links
fixed as well. I had some links to some terms that used to be in the
dev-manual but are now in the ref-manual. Somehow they slipped by.
I have fixed those as well.
(From yocto-docs rev: b303190dd1234a7b83e0cd6217c69a449715062b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before we introduced DISTRO_FEATURES_NATIVE on commit:
db1f1adace
ipv6 was enabled by default on DISTRO_FEATURES via DISTRO_FEATURES_LIBC
hence for example python-native was built with ipv6 support.
After this, ipv6 was automatically disabled on DISTRO_FEATURES.
On some packages (python) this may cause errors when they try to download
something on their do_compile stage.
This patch adds ipv6 to DISTRO_FEATURES_NATIVE leaving it as it was
before, to avoid errors like the one mentioned above
[YOCTO #11978]
(From OE-Core rev: a09184bf47323b63d9548d17cc1e4e694cb605a9)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
HTTP is more reliable in general so use it instead of FTP.
(From OE-Core rev: bdc71968923941b0720d34a5ce06d82ab2a63b4f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We changed to make tools required by testimage to be included conditionally.
This resulted in users who use ssh for git fetching having failures.
Add ssh to HOSTTOOLS_NONFATAL to make things work for the above situation.
[YOCTO #12227]
(From OE-Core rev: 50e7619aebae5351e9a41fe1b909a31b9e383f0a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling go code for the target we need to ensure that GO386 is exported
and set appropriately. This controls whether sse/sse2 instructions are used to
implement floating-point operations or not.
(From OE-Core rev: eba5fd5f594d65d311fa7564fa4b243248cb212a)
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These variables are used to control the floating-point instructions emitted by
the go compiler for x86 architectures.
The default is '387' which disables the use of sse/sse2 instructions and is safe
to use on all x86 processors from the i486 onwards.
If TUNE_FEATURES contains a feature set which is known to support sse/sse2
instructions then they are set to 'sse2' to enable the use of these
instructions. This is suitable for most processors from Pentium 4 onwards.
Only the 'core2' and 'corei7' TUNE_FEATURES are defined in the oe-core layer and
are known to support ss2 instructions. Other layers may introduce additional
tunings which support sse2 instructions and for these layers, TARGET_GO386
or go_map_386 should be overridden as needed.
(From OE-Core rev: 7e96cf3c9850dc34d53af73a9ac22b1624994484)
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The missing underscore makes CMake define a new variable named "CMAKE"
with the contents "ASM_FLAGS ${CMAKE_C_FLAGS}" instead of a variable
named "CMAKE_ASM_FLAGS" with contents equal to "CMAKE_C_FLAGS". It seems
clear that the intention was to assign "CMAKE_ASM_FLAGS".
CMake uses variables named "CMAKE_<LANG>_FLAGS" for defining default
compiler flags for a given language <LANG>. Leaving this flag unset may
have unintended consequences. Not doing so is however not an error as
far as CMake is concerned so it is silently accepted.
(From OE-Core rev: 03a4dd085e3be2821eff5a1a1e7e96b809465565)
Signed-off-by: Øystein Walle <ow@datarespons.no>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
WARNING: gstreamer1.0-plugins-bad-1.12.2-r0 do_package_qa: QA Issue: libgstwayland-1.0 rdepends on libdrm, but it isn't a build dependency, missing libdrm in DEPENDS or PACKAGECONFIG? [build-deps]
WARNING: gstreamer1.0-plugins-bad-1.12.2-r0 do_package_qa: QA Issue: gstreamer1.0-plugins-bad-waylandsink rdepends on libdrm, but it isn't a build dependency, missing libdrm in DEPENDS or PACKAGECONFIG? [build-deps]
(From OE-Core rev: cb2c00c369e61b0e61298b0ad076e5bc8bc67bb9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling for Thumb or Thumb2, frame pointers _must_ be disabled
since the Thumb frame pointer in r7 clashes with musl's use of inline
asm to make syscalls (where r7 is used for the syscall NR).
In most cases, frame pointers will be disabled automatically due to
the optimisation level, but appending an explicit -fomit-frame-pointer
to CFLAGS handles cases where optimisation is set to -O0 or frame
pointers have been enabled by -fno-omit-frame-pointer earlier in
CFLAGS, etc.
Note that this limitation applies both to gcc and clang, the only
difference between the two being that where gcc aborts with an error
about reusing r7, clang apparently silently generates broken code:
https://bugs.llvm.org/show_bug.cgi?id=34165
(From OE-Core rev: d7580cd7792982fd9e98086e4edc490635e9adca)
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>
Remove all instances of -fdebug-prefix-map in ccflags*
because they contain references to the build host and
are not needed.
(From OE-Core rev: 71236e56cdc46b2e08fb5e06b06ea857a140288c)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If SRCREV contains a variable reference, any devtool command that
would try to update it would fail. E.g., if SRCREV = "R${PV}", then
devtool finish without having committed any changes would fail with:
oe.patch.CmdError: Command Error: 'sh -c 'git format-patch R${PV} -o
/tmp/oepatchb_doareb -- .'' exited with 0 Output:
fatal: bad revision 'R'
(From OE-Core rev: 094499c819722ad698ccb64ec65dd439b211c31c)
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>
If we inherit own-mirrors.bbclass, other settings of PREMIRRORS in
our project would have no effect.
This patch modifies the setting in own-mirrors.bbclass to allow other
settings of PREMIRRORS to still have effect.
(From OE-Core rev: a3e9e7a38b3d9caed49380ebc05651a97f613c7c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the following commit, the archiver expanded RECIPE_SYSROOT
to preserve sysroot paths in configured mode:
...
commit aa2240657b015d46e9ba4bcb6264709a82313d83
Author: Ross Burton <ross.burton@intel.com>
Date: Tue Jun 6 15:23:18 2017 +0100
archiver: preserve sysroot paths in configured mode
...
In meta/conf/multilib.conf, it overrides the variables
of STAGING_DIR_HOST, STAGING_DIR_TARGET and RECIPE_SYSROOT
with "${WORKDIR}/${MLPREFIX}recipe-sysroot".
So the archiver should also expand STAGING_DIR_HOST and
STAGING_DIR_TARGET to preserve sysroot paths in configured mode for
multilib.
[YOCTO #11584]
(From OE-Core rev: b129af957a9fd8f603d1aebb9fca3adcb4e6b341)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Packages, which depend on users/groups created from other packages,
needs "shadow-native" as a build time dependency. So, add an exception
to the "shadow-native" from otherwise discarded native/cross tools
dependency.
Fixes [YOCTO #11960]
(From OE-Core rev: 979699b55214933e0f11727a2fb9bfda8a3a3870)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While the name of build dir contains "yes", the AC_EGREP_CPP
test always return true.
We rarely use "yes;" to name build dir, so s/yes/yes;/g
could fix the issue.
(From OE-Core rev: ba0bc9d2a07848706debb915883817b2ed88c218)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit to split i.MX SDMA firmware blobs in their
own packages was not complete and results in a failure
when trying to install full linux-firmware:
* Solver encountered 1 problem(s):
* Problem 1/1:
* - nothing provides linux-firmware-imx-sdma-license needed
* by linux-firmware-1:0.0+git0+a61ac5cf83-r0.all
*
* Solution 1:
* - do not ask to install a package providing linux-firmware
Make the split complete by installing the license in
${PN}-imx-sdma-license and have the blob packages depend on it.
(From OE-Core rev: 229f70a5f6d29d82e1a7b1f780e2149fb91d5385)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is backported from the upstream git repository to fix building
libgcrypt on armv6 platforms such as raspberrypi.
(From OE-Core rev: c47ed9aa7a34ef62b3ffaea6ebd5cc9e7c052899)
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BUILD_* flags can't be used as TARGET_* flags even for "cross" packages.
gcc-cross 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-cross build.
(From OE-Core rev: 4b936cde58ca0a6f34092ce82640a02859110411)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link to metadata term was not going to the ref-manual.
(From yocto-docs rev: 7a116ece403cb88977dfcce3006e2e1bb52b5df0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the redoing of the YP website, it was decided that the manuals
could only reference into the top-level and the top-level/documentation
URLs of the website. I removed all references to areas such as
projects (e.g. Toaster, VM, etc.) and any other URL that was not
the top-level landing page or the documentation page.
(From yocto-docs rev: 2bd838f1a9fb2698bab098b13b76c8852853e0e7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deleted the existing JSON chapter, and replaced it
with this new chapter.
(From yocto-docs rev: 86f9fb9c567310ecd1b06944c4c9107ec30df29c)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The content was obsolete. The new information is covered
in the new chapter "Configuring Toaster".
(From yocto-docs rev: 680273cb8fecea84297c3102c0b19fff5bcd9d88)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Documented new direct JSON API with four subsections to let
you remotely monitor Toaster.
(From yocto-docs rev: 8b18ccffbcfe896f878dd912ea39b14557426b2c)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed two outdated sections, "Use the toasterconf.json File"
and "Edit the Configuration File" and replaced them
with "Use the Fixture Feature" section.
(From yocto-docs rev: 8a247836a958449836effac3600f6923c5289bb6)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Links to the top of a manual don't really work from the mega-manual.
I updated the manual links at the bottom of the yocto-project-qs
so that they go to the introduction sections of the appropriate
manual rather than attempting to go to the top of the manual, where
they don't render from within the mega-manual.
(From yocto-docs rev: e8e1c72b6c79065d86479d48974d1a188f4ebf30)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided better roadmapping into the kernel development manual and
more explanation of the dev-manual.
(From yocto-docs rev: 811e6ee07ee5e84400b90c18b251d8053000f859)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12191]
Put in a new example in the Wic section to highlight the use of the
'wic ls', 'wic rm', and 'wic cp' commands.
(From yocto-docs rev: 2bf316961d22d5dc2df2d849c50ec347d5f9db51)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added "Using Wic" to the section head because that is all we
talk about. This affect three links in the ref-manual so I
fixed those as well.
(From yocto-docs rev: 0e4f245f2b872810e2e164a227900ca6aa313ab8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was misplaced in the dev-manual and really needed to
be in the ref-manual. I created a new chapter that follows the
devtool reference chapter and put the kickstart chapter there.
Links were needed to be fixed up and a new chapter in the
ref-manual named ref-kickstart.xml had to be created.
(From yocto-docs rev: b4d5b7077a978e4966d1273a374741075a1b0c7d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed links affected by the move.
(From yocto-docs rev: 250d312274788b0eebf3ae9143f2f89eafd4ab90)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This link is going to a link that disappearing. So had to re-route
it to a different spot.
(From yocto-docs rev: 8b2a3eafa10b1f6fdf034e6e13d0277c9a556170)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various edits for review feedback on the manual in general.
(From yocto-docs rev: 218061535b5bed326331d00eee6f514c81299238)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added an example to show machine overrides.
(From yocto-docs rev: d0c54caf2a2a6ccb9a6fb38b77c9827b66b9ff10)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the "runqemu Command-Line Options" section there is a bulleted
list showing options you can provide. The "MACHINE" option lists
valid values and listed "qemux86" twice in the list. I removed
one of them.
(From yocto-docs rev: 7831b60391544e9fca94b1fe299ec4cb57992222)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
WPA2 is vulnerable to replay attacks which result in unauthenticated users
having access to the network.
* CVE-2017-13077: reinstallation of the pairwise key in the Four-way handshake
* CVE-2017-13078: reinstallation of the group key in the Four-way handshake
* CVE-2017-13079: reinstallation of the integrity group key in the Four-way
handshake
* CVE-2017-13080: reinstallation of the group key in the Group Key handshake
* CVE-2017-13081: reinstallation of the integrity group key in the Group Key
handshake
* CVE-2017-13082: accepting a retransmitted Fast BSS Transition Reassociation
Request and reinstalling the pairwise key while processing it
* CVE-2017-13086: reinstallation of the Tunneled Direct-Link Setup (TDLS)
PeerKey (TPK) key in the TDLS handshake
* CVE-2017-13087: reinstallation of the group key (GTK) when processing a
Wireless Network Management (WNM) Sleep Mode Response frame
* CVE-2017-13088: reinstallation of the integrity group key (IGTK) when
processing a Wireless Network Management (WNM) Sleep Mode Response frame
Backport patches from upstream to resolve these CVEs.
(From OE-Core rev: 1c46e201ef486395ec047f29af272f8c3dfd9611)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newly added file in the last commit was corrupted, fix it.
(Bitbake rev: be393f247a08c0a4a50a6a76b8fd57f78295d2a1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I have been working with OE on debian-9 for several months now without
issue. In addition, I tested a build + runqemu for core-image-sato
following the quickstart guide and had no issues.
(From meta-yocto rev: 2d8a572df7498ce8eb3a78f05384f0f7dd5ecb91)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add tools required by testimage to HOSTTOOLS only when testimage is
inherited. These tools, as described in the comment, are only required
by the testimage task. So this change should not have negtive effect.
This would also solve build error on hosts which miss some tool such as scp.
(From OE-Core rev: 8ca61a5464743ff85b6d26886112750d6ddd13e0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
e2fsprog testsuite used to log results into its own log file into
/usr/lib/e2fsprogs/ptest/test.log. Therefore console output was not available and
redirecting ptest-runner output into a log file would not capture output of any
individual tests. So overall the whole e2fsprogs testsuite consisting of about
300 tests was evaluated as a single test.
This patch ensures the e2fsprogs test_script output is not automatically redirected
while executing during run-ptest. Any redirection is up to the user.
Additionally, the results of tests are prefixed by more canonical "PASS:" FAIL:"
based on the actual test results.
Aditionally, remove various files created by the testsuite.
[YOCTO #12146]
(From OE-Core rev: a218b85dba1a481901548f7414676c0ae6f43316)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This splits out the i.MX SDMA firmwares for i.MX6 and i.MX7 SoCs. This
also includes the required runtime provides, conflicts and replaces
for the old firmware-imx which was provided by NXP BSP layer.
(From OE-Core rev: b3f3078fd4349fdf6986dd57e4b04bce03630924)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes brief description of the project, pointers to website, documentation,
mailing list and source code.
(Bitbake rev: 28249c42701f9156a0b3153d72d7e46dacab37cb)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding layer "meta-signing-key" to conf/bblayers.conf
Traceback (most recent call last):
File "/local/build/project/build/poky/bitbake/bin/bitbake-layers",
line 103, in <module>
ret = main()
File "/local/build/project/build/poky/bitbake/bin/bitbake-layers",
line 96, in main
return args.func(args)
File
"/local/build/project/build/poky/bitbake/lib/bblayers/layerindex.py",
line 250, in do_layerindex_fetch
self.do_add_layer(localargs)
File
"/local/build/project/build/poky/bitbake/lib/bblayers/action.py", line
44, in do_add_layer
if not (args.force or notadded):
AttributeError: 'Namespace' object has no attribute 'force'
(Bitbake rev: 4325f7a7df67eaf4b51af03b453e84bf88fae408)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The submodule sources fetched by the gitsm fetcher are not automatically
tracked by the licensing and archiver infrastructures.
Add these limitations to the existing 'warnings' sections for
gitsm.
[YOCTO #11594]
(Bitbake rev: ca10186d60a52af6464bd998fa0b7146513bed0e)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitbake server changed such that the Toaster custom settings from
'toaster.conf' and 'toaster-bblayers.conf' that were set when
the '--server-only' mode was started were lost when the subsequent build
request happened, resulting in builds missing all custom changes.
This patch asserts those environment settings in both server calls.
[YOCTO #12194]
(Bitbake rev: fa767d85f19a7af92a44fe11fdfb38633009ad71)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bash-ptest fails several tests. This patch fixes:
FAIL: run-intl
The test used to fail because of missing locales (fr_FR, de_DE)
[YOCTO #12145]
(From OE-Core rev: 70e544452b6825686f06484d994936ded677825f)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we wish to use the package feed for local development, it does
not uses GPG signed feeds by default but dnf uses package signature
check. We need to configure the GPG signature check out so it works
out of box.
With this patch, installing non-signed packages works:
$: dnf install <package>
(From OE-Core rev: bceafe23cbe12a1ab0628b70865cb8867c7d7ee1)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to specify UTF-8 in the environment to avoid an error
such as:
UnicodeEncodeError: 'ascii' codec can't encode character '\xe4'
(From OE-Core rev: d7f1fe6c8419b8c59e601c56245373d094cae298)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some fields are multiline values which have been escaped, so add an option to
unescape the \n and \t.
(From OE-Core rev: 4165ec0057c6bbb24de681572034262351d9b34f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the commit afa9f769d62034d4443dfe929422d1d591adf709 some nios2 builds
(uboot, core-image-minimal, etc) were broken due to db trying to use ARM instructions
in mutexes. The reason was db "configure" used the cached entry from nios2-linux
(which was incorrect). So the remedy was to remove the incorrect cached entry
and let db "configure" figure out which is the proper mutex to use.
(From OE-Core rev: c17c6ba906425d4035b8e044c8bd8bd68c47ef74)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures argp-standalone-staticdev package could be installed
correctly(without depending on the empty argp-standalone package) if
it's being required during SDK population.
(From OE-Core rev: 6d13c09fb57e13aa4aae590cd49cff7279c8685d)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'id' utility is used in 'rootfs_check_host_user_contaminated'
rootfs-postcommand so it must be available.
(From OE-Core rev: 6c054925d5f80790aea4cce6f8f83edc7da623b9)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python-ptest needs python-tests package installed in order to
run any tests.
This patch adds python-tests as a runtime dependency, so the test suite
will be present in the image.
While in there, also removed several build host references.
[YOCTO #12144]
(From OE-Core rev: ff83e15289e4b47cd3926220a0039bf97ec35120)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
check_app_exist function must support cases when "app" variable defined
as "progname --args". For example BUILD_CC="gcc -march=x86-64" must
pass sanity check.
(From OE-Core rev: 5193ebca0ca8864404fc750def0e738417d104c7)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is needed for meta-swupd. Without it, some bsdtar
invocations fail with:
bsdtar: Option -n is not permitted in mode -x
The patch was removed in the update to 3.3.1 with the claim that it
had been merged upstream, but that is not the case.
(From OE-Core rev: 38c86302ebdf886b887165aff06560c63a1537b9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes nspr_4.16.bb and nss_3.31.1.bb ignored BUILD_CC and it's
BUILD_CFLAGS and tried to compile with hardcoded "gcc" instead. As
result build for this recipes will fail if host use different name for
compiler or require any flags.
(From OE-Core rev: 79e3339ab9edacb9e34d3725305d5880a974364a)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After 02457ef7f600ce954874e2d11e74b1c6daaa3bfc, PSEUDO for
postinst-useradd-* scripts get to use only one PSEUDO_LOCALSTATEDIR
which is set under recipes ${WORKDIR}.
When the those scripts are run in a clean build environment that
is built from the sstate (populate_sysroot_setscene run for
postinst-useradd-* providers), pseudo fails to run because it cannot
access the PSEUDO_LOCALSTATEDIR (recipe ${WORKDIR}s do not exist).
This triggers a sysroot staging error.
Previously, the PSEUDO_LOCALSTATEDIR setting in useradd.bbclass
worked because the RSS sstate/staging logic automagically processed
${STAGING_DIR_TARGET} in postinst-useradd-* scripts to point under
the sysroot being built.
The fix uses the same fixme processing by adding PSEUDO_LOCALSTATEDIR
variable to it. Furthermore, LOGFIFO is added to be able to use
the logging fifo of the recipe that actually runs postinst-useradd-*.
(From OE-Core rev: b28374cfad37db161b5ac5953b4a4638912f3f27)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This backport fixes from upcoming 2.9.4 release. Those are:
- Fix: vmalloc wrapper on kernel < 2.6.38
- Fix: vmalloc wrapper on kernel >= 4.12
- Add kmalloc failover to vmalloc
- Fix: mmap: caches aliased on virtual addresses
- Fix: update ext4 instrumentation for kernel 4.13
- Fix: Sleeping function called from invalid context
- Fix: sched for v4.11.5-rt1
- Fix: handle missing ftrace header on v4.12
This fix failures in some BSP layers which are using Linux 4.13
already.
(From OE-Core rev: 45ab93e74252f40dbe777000e1b33f4b3783536e)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With RSS we need to ensure that when making a bmap image that the
python3 that we created is found via /usr/bin/env rather than the host
python3. Otherwise we're relying on the build host to have bmaptool
support installed.
(From OE-Core rev: a93c5869cb716cba5e05bbe4fc2e1c11adb9e30f)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When faced with multiple sets of licenses combined with | (OR), it was
possible for oe.license.is_included() to choose a set of licenses with
a blacklisted license and then report failure, even if choosing
another set of licenses would have resulted in a successful
result. This happened when the chosen set still contained more
whitelisted licenses than the other set.
This change makes sure a set with any blacklisted license is always
considered with a lower weight than a set with only whitelisted
licenses.
Example: Faced with the license string "GPL-3.0 & GPL-2.0 & LGPL-2.1 |
Proprietary" and with "GPL-3.0" being blacklisted, the old code would
report a failure since "GPL-3.0 & GPL-2.0 & LGPL-2.1" still contains
more whitelisted licenses than "Proprietary" does.
This change also adds a unit test for oe.license.is_included().
(From OE-Core rev: 312b4d6175e189852c0787ca2fe99b99ce92d1bd)
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>
The RDEPENDs will not be satisfied for certain architectures,
so skip the recipe in those cases.
(From OE-Core rev: 50cfc0d7118c747726445a9be7bc4c496dbb8248)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building for a target whose architecture matches
the build host's, the second pass through make.bash
to build the shareable runtime would also overwrite
the target's static cgo library with host-compatibile
binaries.
Fix this by running the host-side build once and
target-only passes of make.bash twice, for static
and shareable. This ensures that what gets installed
is target-compatible.
Also fix an issue with x86-64 targets running MUSL by
removing the pre-built (for glibc) objects for the
race detector runtime before building.
[YOCTO #12136]
(From OE-Core rev: 070f4af529c84a3c8c0b1ffc7b138bdd9e8439b7)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the TUNE_FEATURES references from go_map_arch,
to avoid an unwanted variable dependency. Direct
comparisons of the architecture name are sufficient
for covering what Go currently supports, and using
TUNE_CCARGS_remove adequately handles the conflict
with the cgo-supplied flags for mips.
(From OE-Core rev: 1bc4c1d880096083d1891a74024fb225a6340b9b)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following commit:
[
commit 578c8205fd14c48c6d30ef2889d86f1b4aee060a
Author: Mikko Rapeli <mikko.rapeli@bmw.de>
Date: Thu Jun 22 16:23:14 2017 +0300
meta: Fix return value checks from subprocess.call()'s
Python function subprocess.call() returns the return value of the
executed process. If return values are not checked, errors may
go unnoticed and bad things can happen.
Change all callers of subprocess.call() which do not check for
the return value to use subprocess.check_call() which raises
CalledProcessError if the subprocess returns with non-zero value.
https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module
All users of the function were found with:
$ git grep "subprocess\.call" | \
egrep -v 'if.*subprocess\.call|=\
+subprocess\.call|return.*subprocess\.call'
Tested similar patch on top of yocto jethro. Only compile tested
core-image-minimal on poky master branch.
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
]
Added return code checking to do_diffconfig. Although the change is
well intentioned, it isn't correct in this instance since 'diff' returns
'1' to indicate that there are differences in the files .. and not as
an error code.
subprocess.check_call() flags this as an error and the routine aborts.
We are already checking the inputs, and in fact already know there's a
diff in the files before we even make the call, so there's no need to
look for an error in this case.
Putting back subprocess.call() restores the routine to working order.
[YOCTO #12132]
(From OE-Core rev: ec48b8fd79181978f90b4b0ab00fbe78ddbd416e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Generating the host keys atomically prevents power interruptions during the
first boot from leaving the key files incomplete, which often prevents users
from being able to ssh into the device.
[YOCTO #11671]
(From OE-Core rev: 221b40f1f08ee23511ba078a1efd01686922e932)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
read_header in archive_read_support_format_rar.c suffers from an
off-by-one error for UTF-16 names in RAR archives, leading to an
out-of-bounds read in archive_read_format_rar_read_header.
Backport the patch from
https://github.com/libarchive/libarchive/commit
commit 5562545b5562f6d12a4ef991fae158bf4ccf92b6
CVE: CVE-2017-14502
(From OE-Core rev: 0bedb69abff85cc07ad4a54eed41d15d0a38c080)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To be able to better debug remove() behaviour, add more logging
to rpm calls via bb.note(). The change also makes remove() logging
more consistent with other package managers' remove() (e.g., opkg).
(From OE-Core rev: 1a90c97616698050529e169a83e6f07a255687df)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With "read-only-rootfs" in IMAGE_FEATURES, packages in ROOTFS_RO_UNNEEDED
are removed when building the rootfs. The list of packages to remove is
passed to the package manager and the list is sorted so that
update-alternatives provider is the last entry. This is with the
assumption that the last entry on the list/command line is removed last.
However, it turns out rpm does not care about "last on the command
line" and update-alternatives provider is removed before other the
packages get to run their %preun scripts for update-alternatives.
This leaves broken alternative symlinks in rootfs.
The fix is to first remove all but update-alternatives provider and
after that update-alternatives provider in its own remove() call.
(From OE-Core rev: 0a8639593c11ef0cfb3a3a514b17e36318b8e8f2)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit glib-2.0: recommend shared-mime-info
(51e4f9ca5368af5cefa26f4ca50b282e858982f8) broke compilation when cross
compiling for Windows. This patch removes the recommendation for
shared-mime-info when using MinGW cross compile.
(From OE-Core rev: cc9d855660db27e82d1b37ab5d1820c556827635)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a device is opened for RW closing it can trigger other actions,
like udev scanning it for partition changes. Use read only for the
init_* methods and RW for actual changes to the device.
This adds _device_open which takes mode flags as an argument and turns
linux_open into a wrapper for it with RW_MODE.
_device_open_ro is added to open the device with RD_MODE and increment
the open_counter. This is used in the init_* functions.
_device_close is a wrapper around linux_close that decrements the
open_counter and is used in the init_* functions.
All of these changes are self-contained with no external API changes.
The only visible change in behavior is that when a new PedDevice is
created the device is opened in RO_MODE instead of RW_MODE.
Resolves: rhbz#1245144
Reference:
https://bugzilla.redhat.com/show_bug.cgi?id=1283112
Upstream patch:
http://git.savannah.gnu.org/cgit/parted.git/commit/?id=44d5ae0115c4ecfe3158748309e9912c5aede92d
(From OE-Core rev: f68fca4776a38a1bdf7ed37ce87cddbb21ff74f8)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The string in the manual revision table needed updated across the
set except for the kernel-dev manual.
(From yocto-docs rev: e087a707e02ff913baba2ac8bc6594206f53f70c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a description for metadata in the context of the kernel
that ties it to the yocto-kernel-cache Git repository rather
than the old meta-* directories that were in the actual
kernel trees.
(From yocto-docs rev: 7105459bf687cad7d973d8bdffbc51c9ffcd9721)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using Scotty's Documentation Services, INC. and Scott Rifenbark
as the author. Added a note in the note box to send an email to
the yocto@yoctoproject.org discussion group or log into the freenode
(From yocto-docs rev: 657ef0a09a72c023dd2ab523ff3c7ad1e7a2efea)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to remove an old example that was showing how two BSPs could
share the same KMACHINE value. I replaced it with corei7-based
machines. Also noted that KMACHINE is for kernel mapping only
whereas MACHINE is for the layer's BSP machine type.
(From yocto-docs rev: c1dad2815b6fd1ed78e0dce0fecb422f342eaf14)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Formatting changes for the list.
(From yocto-docs rev: df1201085408eec45d8fbf649e80437299daa0e8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was written before the yocto-kernel-cache strategy
existed and was thus incorrect. I updated it with how I understand
things to work.
(From yocto-docs rev: 629f24c9312a168ddcd28b0d9dde92ff06068483)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section was using the "meta-*" stuff, which is not how it
is done any longer.
(From yocto-docs rev: c9d95e85a832a38c3fd099a728693af3fa708d50)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a more relevant example from the 4.12 Yocto Linux kernel
recipe.
(From yocto-docs rev: 98c40729b2b22a2ac8444d899848c05880cb920b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduced the "yocto-kernel-cache" term into the title.
(From yocto-docs rev: ca74c49e2809851bb22bbe0d68830127d7bba4e9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section had some old emenlo examples and was a little
confusing. I removed the old examples and inserted some new
wordings to help smooth it out.
(From yocto-docs rev: 365129e0cd37772f404d96a51eb498210e4f1ee9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The description had gone stale and was referencing a linux
yocto kernel we don't support and BSPs we don't support. Updated
it.
(From yocto-docs rev: 5041a2a26d703a885437abcedb24c7600d5365cd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I provided some background on two repositories: yocto-kernel-cache
and yocto-kernel-tools.
(From yocto-docs rev: 1741d6efd4ff8364a55d546897cab5e7cdee6da5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Scrubbed this section to bring it up to speed with more modern
BSP examples and better explanation of the types of Metadata
used.
(From yocto-docs rev: ba009de68a3786f83d9c3c9debffa8b811479786)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"cfg" and "features" used to reside in the linux-yocto-x.x repo
under meta. They are now in a separate repo named
yocto-kernel-cache. I rewrote a couple spots that incorrectly
referenced the old location.
(From yocto-docs rev: e643fc3df46658b8bcf9cdc12a78b527988b63a6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section has merged into a single topic now. It still needs
work but it is gathered under one heading for now.
(From yocto-docs rev: 660ed8b64dedbab5400c84ec3759cea77c899c40)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was largely redundant now. The small things that did
add value I placed in other areas of the chapter 2. One was a new
section on expanding variables using bitbake -e. Another was a bit
about the defconfig file. And a small procedure on how to create
config fragments using the "diffconfig" command was retained.
Links from the dev-manual and the ref-manual were adjusted as well.
(From yocto-docs rev: 7059d3eac1fec20089cabf197503f1bec747686d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a new section on how to validate the configuration of the
kernel.
(From yocto-docs rev: 25f43d1baeff7d571fc60c7edca957d4ce6d6357)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section needed some formatting to conform to the list structure
used throughout the manual.
(From yocto-docs rev: b6e6b66014963c1628c50e09787fdd46a45867b1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This procedure needed to be pulled out of the section that was/is
called "Using an Iterative Development Process". The section on
how to deal with "dirty" kernel version strings is a procedure
in its own right. It is now up a level.
(From yocto-docs rev: cd8834fa8d77ac750b06c3367aee577c80dcc64e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This chapter is not used and was commented out. I deleted the
comment block.
(From yocto-docs rev: c805d1034b9f9bed5990cd2bcb3a9088e3d0d542)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11392]
Updated the section to document how to specify a branch,
tag, or revision when using devtool add with a remote
URL.
(From yocto-docs rev: 903b4a4e72908572a5f8b8c822869bbd0fe76ec9)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A lot of rewriting here in this section to get it up to speed.
Also, moved that final section on determining hardware and
non-hardware features into an appendix where it belonged.
(From yocto-docs rev: 752e80d6ae8f81a0de7743b11b010d0ef36b314b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Script name changed to "yocto-check-layer".
(From yocto-docs rev: 545a90dd2816c4e97dc70efc76c7cca49684c2d8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Section "Using an 'In-Tree' defconfig File" updated to use a
more syntactically correct KBUILD_DEFCONFIG_KMACHINE example.
(From yocto-docs rev: 64e6b16703fa3ce9ac8db25de8089d32ac7aeafc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Should have been two commits but I forgot to do them separately.
1. I updated the YP Compatible Program section.
2. I moved the "Configuring the Kernel" section from the dev-manual
to the kernel-dev manual.
(From yocto-docs rev: cdb5bbc917db55a2ca987ce9b9ed371f9fca6524)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If SERIAL_CONSOLES is set to empty for some reason, we would have rootfs
failure like below.
- nothing provides systemd-serialgetty needed by systemd-1:234-r0.core2_64
This is because systemd-serialgetty package is not generated when
SERIAL_CONSOLES is empty.
Set ALLOW_EMPTY to "1" for this recipe to allow for generation of empty
systemd-serialgetty package to avoid the above error.
(From OE-Core rev: abf2e9526a11bcb51b71b90a7b76bd33af656494)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As 4.4 is the lowest kernel version in oe-core, we can add the dtb for the
beaglebon green to the list of dtb's to generate.
(From meta-yocto rev: dc77383ca352431cba7cb779899220db4eaa0cba)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since systemd-boot is a bootloader, it needs to be built for
the native IA instruction set size and x32 is not valid.
(From OE-Core rev: 8c9ee404fe2a5e703f14c70092137c8d0ac0a6c2)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently systemd-boot actually incorporates libgcc, since the
systemd-boot needs to be built with 64bit instructions it can not
use the x32 based libgcc.
Use the new override to ensure it gets overriden, linux-gnux32 could
not be used because x86-64 has higher priority.
(From OE-Core rev: 6046b9a3d76738c459ad76f5296e7b0a54c0b2e0)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed as an x32 more generic x32 override later in the
OVERRIDES, currently linux-gnux32 is the first override, but we
need a stronger (later in the list) x32 override to deal with some
needed x32 dependency overrides.
(From OE-Core rev: 364b3698b78e9fea59d24e3a3a5f4476be95f6d1)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With default --without-nghttp2 flag set there was no way to get
http2 protocol support using nghttp2 library. Instead moved it to
PACKAGECONFIG options
(From OE-Core rev: bcc8560300c8b1218b1f3709f5a7732e17fbfa46)
Signed-off-by: baali <shantanu@senic.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The high-level method tempfile.TemporaryDirectory give us no way to ignore erros on
removal thus use tempfile.mkdtemp instead. Ignoring possible issues on removal
is neccesary because it contains gpg sockets that are automatically removed by
the system once the process terminates, otherwise the following log is observed:
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.browser'
This is the same fix as 7e3a7cd2426feac757def81850dc44156cd0f33e, but this applies
to runtime (instead of signing).
[YOCTO #11821]
(From OE-Core rev: f28e8131f69913ff90ed210c7a58726d3ef37db6)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer versions of gpg (at least 2.1.5 and 2.2.1) have issues when signing occurs in parallel
so (unfortunately) the signing must be done serially. Once the upstream problem is fixed,
this patch must be reverted, otherwise we loose all the intrinsic parallelism from
bitbake.
[YOCTO #12022]
(From OE-Core rev: 5301712f9735fcf8d3dec756772668de930e53fe)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This image is very large and is skirting the maximum size of hddimg images (4GB,
as they're embedded inside FAT partitions). Making the image 10MB bigger can be
enough to cause the build to fail. This image is also used by QA so currently
we need to keep it working.
The default values for expanding an image to give it usable space are quite
generous, (3GB rootfs * 1.3 gives 1GB of empty space), so change the overhead
multiplier to 1.0x and explicitly request just 0.5GB of empty space in the
images.
This should give us a bit more breathing room until we can either remove hddimg
from the default build, or make this image dramatically smaller.
(From OE-Core rev: 98d9d8958fd5a3bba849e9051bf0310c28b551c2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create an option to wic doesn't change fstab file, the final
fstab file will be same that in rootfs and wic doesn't update
file, e.g adding a new mount point.
Users can control the fstab file content in base-files recipe.
This is useful if you want to only create an partition but not
add fstab mount point or add new mount point using label e.g:
LABEL=recovery /recovery auto defaults 0 1
(From OE-Core rev: 00420ec42140c1b752132bda190dede85756d157)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Search made with the following regex: getVar ?\((.*), True\).
(From OE-Core rev: b848c3cb495905605283c57c79f2ed8ca17758db)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Search made with the following regex: getVar ?\((.*), True\).
(From OE-Core rev: dbc0eaf478feb3f752ae22fd184984494fc85d0a)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file belongs to systemd-container package , not to systemd package.
(From OE-Core rev: 9c1ec618860404bef0348bb17efcfb5c93cc360f)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that mips and security flags fixes are in place
in the bbclasses, remove the local settings in this
recipe.
(From OE-Core rev: 8a6b6c76dfc73aa6690f09dc2e0c16b81155f2d6)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the security_flags.inc file is included, gcc
will do PIE builds by default. These flags need
to be disabled for go packages that use cgo.
(From OE-Core rev: 5d84042852380fc88b9be8df0e4eeac612c2a6da)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix the regular expression in the mips test
* Flag as incompatible any mips32 tunes for n32 ABI
or soft-float, as go does not support them.
* Replace mips32r2 tune with mips32r1. Go only supports
mips32r1, which is a strict subset of r2. Adjusting
this tune is not ideal, but is hopefully a temporary
measure until more complete mips32 ISA coverage
arrives upstream.
[YOCTO #12108]
(From OE-Core rev: bdd20c296048937737da0f10bd1a3b63843c5bf4)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This requires MD5 sum updates for
- LICENSE.QualcommAtheros_ath10k: year change
- WHENCE: various version updates and addition of new firmwares
The new firmware for Qualcom Venus causes a QA error:
QA Issue: linux-firmware: Recipe inherits the allarch class, but has packaged architecture-specific binaries
Since firmware typically do not run on the CPU, the architecture of
the firmware file is independent from the CPU architecture the image
will be running on. Disable the QA check for the linux-firmware
package by default.
(From OE-Core rev: a83dd65e64e9b7fa702927f96947bd3f0537adfd)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are cases where the 'while loop' waiting for login prompt fails
and the bootlog variable does not get populated, thus use the the new
qemurunner member (self.msg) which stores all output coming from the qemu
process.
[YOCTO #12113]
(From OE-Core rev: 39ffa0f3779305c5e8ef86fe4572e961c5912021)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need a dependency on this variable changing, and having one
causes locked signature warnings during eSDK installation if you have
INITRAMFS_IMAGE_* set (since TOPDIR will always be different between
the eSDK and the environment in which it was built).
Relates to [YOCTO #12102].
(From OE-Core rev: 073610af04be326f9245ca91714526b390fb72cd)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the destination is a directory, building the the destination file
path is always needed. That's because even if the copy fallback is
taken, it's always followed by a rename.
(Bitbake rev: 14c17480827ced2e03c1b62dc839696421fc4de8)
Signed-off-by: Alberto Mardegan <amardegan@luxoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were seeing cases where we could hit the 5s timeout on large/fast machines
running many different tasks at once. Increase this to 30s since the main
connection timeout path should no longer hit this slow path.
[YOCTO #12116]
(Bitbake rev: 131d4b8a5834781a93ed41e2967d8dcd4d80f29a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding distcc to an image, and having staticids enabled,
doesn't work as it causes a a superfluous 'distcc' group
being added using a conflicting GID, thus failing the
build:
| ERROR: distcc-3.2-r0 do_prepare_recipe_sysroot: distcc: groupadd command did not succeed.
Compared to other recipes, the distcc recipe only
specifies --gid for the primary group, and doesn't specify
--no-user-group, but when --gid is given, it doesn't make
sense to create a matching username-group in addition,
even if --no-user-group was not specified, and 'useradd'
actually complains if --gid and --user-group are given
both.
If only --gid is given, the current code in here
effectively behaves as if --user-group was specified,
taking the group-id of the username-group from the
--gid parameter. This causes the error above, as we try
to add a new group (distcc) with an existing group-id
(nogroup).
This is contrary to the comment in this file just above,
contrary to what useradd can do, contrary to behaviour
without the useradd-staticids bbclass, and non-intuitive.
Change the code such that a username-group is only created
- if a primary group using --gid was not specified, or
- if --no-user-group was not specified
To be in line with useradd, if gid is not given, and
--no-user-group is given, we add the user to the group
'users', which mimics useradd's behaviour.
(From OE-Core rev: fc3a86ae68919cec72c1a8ae0f9ba1f98ae13f0d)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The staging changes were very verbose in their logging and whilst this is useful
when staging issues occur, those thankfully seem rare now and we can tune down
the logging to a sane level. This improves the readability of error messages from
functions that fail.
The code is still verbose when its replacing things in the sysroot.
(From OE-Core rev: a22d44c6bef7ea1be90aeb32ccd7502d3135a266)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the pseudo FASTOP functionality so that a reply to the
operation is required. This means we then cannot lose data if a connection
is closed. This in turn stops corruption if we run out of file handles
and have to close connections.
This tweaks the connection closure patch to update the comment there which
is now outdated.
(From OE-Core rev: eb49d50b4c342069087886f2aac546805647c066)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alternative solution to original commit
60c90398580998b2379bb438f0f75b29285135a5 ("u-boot: fix extlinux
creation race")
(Untested)
(From OE-Core rev: e44b72ab45c757cc83c7856c118588f1af299790)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 60c90398580998b2379bb438f0f75b29285135a5.
This causes circular dependencies when UBOOT_SIGN_ENABLE is active.
These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks.
Identifying dependency loops (this may take a short while)...
ERROR:
Dependency loop #1 found:
Task u-boot.bb:do_concat_dtb (dependent Tasks ['kernel.bb:do_assemble_fitimage'])
Task u-boot.bb:do_install (dependent Tasks ['u-boot.bb:do_concat_dtb', 'pseudo_1.8.2.bb:do_populate_sysroot', 'u-boot.bb:do_compile'])
Task u-boot.bb:do_deploy (dependent Tasks ['u-boot.bb:do_deploy_dtb', 'u-boot.bb:do_install'])
Task .../recipes-kernel/linux/kernel.bb:do_assemble_fitimage (dependent Tasks ['kernel.bb:do_compile', 'u-boot.bb:do_deploy'])
(From OE-Core rev: 7da4c0a56eb2027b3e36b9e42f1f83dfb02bb920)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The are use cases where the Device Tree appended to the kernel is
convinient, so we generate the bundle concatenating the kernel (and
potentionally the initramfs) and the Device Tree binaries.
To enable it, set KERNEL_DEVICETREE_BUNDLE variable to '1'
(From OE-Core rev: f044567326988e84e5d72040e9387c3240836ddb)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sna mode causes screen distortion issue on board MinnowMAX
described in this link:
https://bugs.freedesktop.org/show_bug.cgi?id=100700
The uxa mode is verified to not have above issue.
uxa is more stable and has more releases than sna.
So use uxa to replace sna as the default acceleration mode.
(From OE-Core rev: ce935784cfc53c029c8dfa969d08ee43a8831b60)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MIPS generates vmlinuz.bin when compression in the kernel build is
enabled, including any necessary objcopy so we can leverage that
and skip our manual invocation of objcopy here. We just have to
put the file into the right place for the rest of the build to
find it.
(From OE-Core rev: 00bc7682473c2558d72ba42c182f8e3bd445f8af)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the remaining local change to a fix similar to
commit e0b4f018d1c2 ("kernel-uimage.bbclass: Fix up
generation of uImage from vmlinux"):
Make awk exit on match to save a few CPU cycles so as
to make this similar to kernel-fitimage.bbclass
(From OE-Core rev: 614e8be7a89a2f2113fa40b11e7a05b9e8155f6a)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- vmlinux is located in ${B}, not ${S}.
- parsing of nm output got broken completely in commit
b406a89935f148779569fa3770776e009dd51f13 ("kernel-fitimage: add
initramfs support"), commit ec755d2524
in yocto
While at it, make awk exit on match to save a few CPU cycles.
(From OE-Core rev: 9d2ec9c046c4a9c6a842d28133d40639f5a65297)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't build fitImages for MIPS any more:
| Error: fit-image.its:21.27-28 syntax error
| FATAL ERROR: Unable to parse input tree
| uboot-mkimage: Can't read arch/mips/boot/fitImage.tmp: Invalid argument
Since commit cd2ed7f80b555add07795cc0cbaee866e6c193a3
("kernel-fitimage: dtb sections named by their filenames
and one config section for each dtb"), commit
1ec405ef5d in yocto, dtb
sections are named by the DTB filename, but the filename
can legally be in a subdirectory below
arch/$arch/boot/dts/, and on MIPS all DTBs are actually
in a subdirectory.
If so, mkimage fails with the above error message.
Unbreak this by replacing the offending character
(directory separator /)
(From OE-Core rev: 335fc50cf54e47db4e3d5c35a9846484faf0270f)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set RCONFLICTS to disallow multiple syslog daemon providers to be installed
on the target, and remove codes that deal with such situation.
Also, set ALTERNATIVE_PRIORITY back to 100. It was set to '10' in case of
systemd because sysklogd didn't have systemd support. For now, if we disallow
multiple syslog daemons to be installed, and it stays '10', then if sysklogd
is installed on target, the /sbin/syslogd would link to /bin/busybox.nosuid,
causing sysklogd service files using busybox's utility.
(From OE-Core rev: ecc116603079b45b1fa69c3d4537b19b28707859)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set RCONFLICTS to disallow multiple syslog daemon providers to be installed
on the target at the same time, and remove codes which dealt with such
situation.
Supporting multiple syslog daemons on the same image doesn't have much sense.
rsyslog and syslog-ng in meta-oe have set RCONFLICTS to disallow this. And
we do the same for busybox.
Also, remove the line of creating a meaningless symlink of
/lib/systemd/syslog.service to /dev/null.
(From OE-Core rev: 597bbf99ee8e88294f2ed96c84a51f9ed83e8933)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
106b59d9 broke SSH host key generation when systemd and a read-only root file
system are in use because there isn't a way for systemd to get the optional
weak assigment of SYSCONFDIR from /etc/default/sshd and still provide a default
value if it is not specified. Instead, move the logic for determining if keys
need to be created to a helper script that both the SysV init script and the
systemd unit file can reference.
This does mean that the systemd unit file can't check for file existence to
know if it should start the service, but it wasn't able to do that correctly
anyway anymore. This should be a problem since the serivce is only run once per
power cycle by systemd, and should exit quickly if the keys already exist
(From OE-Core rev: 7e49c5879862253ae1b6a26535d07a2740a95798)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can be useful to have multiple partitions with '--source bootimg-partition'
but different content.
E.g. for TI AM335x, one boot partition can contain an first stage
bootloader ("MLO"), while the real bootloader and kernel plus devicetree
are in another one.
Patch allows to specify multiple IMAGE_BOOT_FILES with optional "_label-XXX"
or "_uuid-XXX" overrides.
E.g. with this patch, a .wks file with
| part --source bootimg-partition ... --label=mlo --active
| part --source bootimg-partition ... --label=boot0
| part --source bootimg-partition ... --label=boot1
and a recipe with
| IMAGE_BOOT_FILES_label-mlo = "\
| MLO-${MACHINE}.img;MLO \
| "
|
| IMAGE_BOOT_FILES_label-boot0 = "\
| u-boot-${MACHINE}.img;u-boot.img \
| zImage \
| "
|
| IMAGE_BOOT_FILES_label-boot1 = "${IMAGE_BOOT_FILES_label-boot0}"
|
| WICVARS += " \
| IMAGE_BOOT_FILES_label-mlo \
| IMAGE_BOOT_FILES_label-boot0 \
| IMAGE_BOOT_FILES_label-boot1 \
| "
is possible. It will create one partition with the MLO and two redundant
ones with the uboot + kernel.
(From OE-Core rev: 8c1dec627e9735260516fe8f0b2bfdb0ee70172b)
Signed-off-by: Enrico Scholz <enrico.scholz@ensc.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recently a number of changes have happened on the implementation
side of some image formats, and a few have been renamed.
The u-boot image signing code is now always available and no
longer in a stand-alone file. The vmdk/mdi/qcow2 images have
been removed and are now just a conversion type that is applied
to wic images.
Reported-by: Tom Rini <trini@konsulko.com>
(From yocto-docs rev: ce86da3d48507cee12208e0138c285b4be83d8cd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes based on a run through of the procedure.
(From yocto-docs rev: 0a526bb15f597843d1e5da1eeca0a952c6c5016f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In several examples, hardcoded versions of release names and
versions were being used. I updated to use variables from
poky.ent so that examples would use most recent release.
(From yocto-docs rev: 53f8e92075cc34538f36d7fba392ea1ac9a6dd1f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11968]
Purged all occurrences of the "oe-init-build-env-memres" script
from the YP documentation set. Occurrences in a lot of places.
The BBSERVER variable was also impacted and had to have the
definition updated.
(From yocto-docs rev: 274b05108d1bc53df20c11ab2efa15363bce23da)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Put this note at the end of the traditional kernel development
flow. A way for the user to verify that the patch was applied
for a subsequent build.
(From yocto-docs rev: 598a518cd92980e1781649a3ed30ac585327dc0f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Discovered this item in the front of the glossary was commented
out and not showing up so the user did not have the option to
click on "N" to quickly get to the "N" entries, which did exist
and show up. Uncommented it and put the proper beginning "N"
variable in as the start.
(From yocto-docs rev: 6d51dfb9de53db1222f68a6f0325eaad1a12cd6b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the following patches since they are unused after qemu update to
2.10:
0001-replace-struct-ucontext-with-ucontext_t-type.patch
CVE-2016-9908.patch
CVE-2016-9912.patch
configure-fix-Darwin-target-detection.patch
(From OE-Core rev: d303f61e28b0ecc2352739a07680bfdeb3544080)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ptest-runner would segfault with -t option:
root@qemux86-64:~# ptest-runner -d /usr/lib test_pkg -t 5
[ 237.234112] ptest-runner[810]: segfault at 0 ip 000000382e638060 sp
00007fff9130f400 error 4 in libc-2.26.so[382e600000+1a7000]
It is safe to bump SRCREV to latest upstream commit to fix this issue
because there is only one commit since the last update:
commit 8a93832dad621535e90aa8e1fb74ae5ba743fc3e
Author: Anders Wallin <wallinux@gmail.com>
Date: Sun May 28 11:47:00 2017 +0200
timeout option missing the argument option ":" to getopt
ptest-runner -t xx gives segfault
Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
(From OE-Core rev: 503ce98bb89dfa019faff872121c8911e6465b05)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building poky-tiny for x86-64 seems fine, but when executing qemu
it complains during boot time about not being able to execute init:
[ 5.409730] Failed to execute /init (error -8)
And then it drops to a login prompt (which it should't do on tiny)
This is supposed to be complaining about init's format, it only happens
on x86-64 architectures so perhaps is a 32/64 bit issue, but since
core-image-tiny-initramfs does not actually provide a traditional init,
the script is simply meant to drop to shell, we can workaround the issue
by specifying the kernel to run the init script via busybox's sh,
dropping to shell correctly on x86-64 leaving x86 unaffected.
(From OE-Core rev: f15de8cf177f8f736c180c1dcaa942a9931865d4)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If gdb01 testcase runs as background process, gdb can receive SIGTTOU
and then the case gets stuck. Replace stdin with /dev/null to fix this
issue. The patch is backported from upstream.
(From OE-Core rev: b38a44e3ca30a8fe83bdccb4ee2b7748b3f7f223)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It contains cached metadata for a transient repository that is used
only when creating images on the host, and so is of no use on target
images. Dnf will recreate the cache on target when needed.
(From OE-Core rev: 89ddf2516b713e6622df95ab391423b033d4271a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The core path variables (TMPDIR, DL_DIR, SSTATE_DIR) don't use tilde expansion
but if the user does then the errors are very mysterious, so check on startup.
(From OE-Core rev: 2fb74abbe07b6b82a715ac0fe16449bd8420110e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"Yocto Project Compatible" [1] is a programme which requires you meet
specific criteria including going through an application process - it is
not sufficient simply to run the script we have created here and have it
produce no warnings/errors. To avoid people being confused by the fact
that this script uses the term "compatible" or variations thereof,
substitute usage of that word with "check" instead. The functionality of
the script is unchanged.
[1] https://www.yoctoproject.org/ecosystem/yocto-project-branding-program
(From OE-Core rev: 2a6126a115f10750ea89f95629d3699ad41c5665)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow to search header files and libs from native sysroots.
For example, an expanded BUILD_CFLAGS includes:
'-isystem/builddir/to/linux-yocto/recipe-sysroot-native/usr/include'
And an expanded BUILD_LDFLAGS includes:
'-L/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib
-Wl,-rpath-link,/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib
-Wl,-rpath,/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib'
(From OE-Core rev: 37f20f2f7bdc8b964736c09371cd8f2342e4d5cb)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When selected multiple subimages a similar error could happend:
Variable do_image_cpio[subimages] value changed \
from 'cpio.gz.u-boot cpio.gz' to 'cpio.gz cpio.gz.u-boot'
To avoid this, 'ctypes' should be sorted at 'gen_conversion_cmds'.
This garantee that 'CONVERSION_CMD_xxx' are always written in tha same
order and consequently 'do_image_cpio' have the same hash.
(From OE-Core rev: 271f1a5f65b8685a1e3645026876251122ef3974)
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was noticed that do_image_qa is useless when rm_work is enabled as the rootfs
directory is deleted before image_qa is called.
This indicates that image_qa is incorrectly scheduled as it failing should mean
images don't get generated, so move it between do_rootfs and do_image.
Also, add a little bit more documentation to the comments.
(From OE-Core rev: 62ce334e583ecdf1f93619f4131c0fa5d88d5b02)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- The environment tools target has change to envtools;
- The HOSTCC variable must be used to set CC for cross;
- Drop ARCH variable as it is set on config;
(From OE-Core rev: 73afabf8e69019f08b424a06f3eafaab052b0606)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Different squashfs versions have IMAGE_TYPE with hyphen (eg squashfs-lz4).
Tasks on the other hand have names with underscore (eg do_image_squashfs_lz4).
(From OE-Core rev: ab3cdfbd24844506647b75002f531b0b82b87be4)
Signed-off-by: Tomasz Meresiński <tomasz.meresinski@comarch.pl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Github-generated tarballs can and do change over time, so point at the
archived tarball website that the maintainer hosts.
(From OE-Core rev: 5a1f79ed3d243955401b45cf21f539126f67677e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A regression was introduced by me in commit 767335c9:
[ cross-canadian.bbclass: override TARGET_* flags ]
it causes BUILDSDK_C/CXXFLAGS being exported in environment-setup
script built from meta-environment recipe, which is wrong, restore to
TARGET_C/CXXFLAGS.
(From OE-Core rev: 44160df561a1b10b4c7a74558bdfe6b58ee0a9ec)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By setting systemd-serialgetty to rdepend on systemd, we are making
configuration files have runtime dependency on the main utility that
uses those configuration files. Applied with the same logic, we should
make any package that provides service files under /etc/init.d/ to have
runtime dependency on sysvinit. And this is not right.
So we should remove systemd from RDEPENDS of systemd-serialgetty.
Besides, as we have changed systemd to have systemd-serialgetty in its
RDEPENDS by default, we should avoid circular dependency issue.
(From OE-Core rev: 060088f256f8134ad68a7b5e493ddfa78a0382ea)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set NO_RECOMMENDATIONS to "1", build and start a systemd image, and we
could not get serial getty spawned, thus causing the user not able to
login via serial port.
E.g.
MACHINE=qemux86-64 bitbake core-image-minimal
runqemu qemux86-64 nographic
And we cannot login onto the system.
Move util-linux-agetty and systemd-serialgetty (determined by PACKAGECONFIG)
from RRECOMMENDS to RDEPENDS to fix the above problem.
(From OE-Core rev: 39e78c7615cdaaa8ad61a67d5c5bf7ff877167df)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To help users find the work and log directories (especially within the
eSDK) we create symlinks to these from the source tree. However during
do_buildclean we call "make clean", and some project Makefiles which
delete something like "*/*/lib" which will match files underneath the
oe-workdir symlink and fail. do_buildclean is called from do_clean which
is in turn called by devtool reset by default, and thus devtool reset is
blocked. An example of a recipe where this is visible is the openssl-qat
recipe in meta-intel.
In order to fix this, delete the symlinks at the start of do_buildclean
since we shouldn't need them at that point anyway, and thus make clean
won't be able to trip over them.
Fixes [YOCTO #11036].
(From OE-Core rev: 927b3b05a7f6b85967f7375b1942605fe8d37d0c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To improve binary reproducibility, only the
relevent part of the Makefile in bzip2-ptest
package that run-ptest needs are copied to
the destination directory.
bzip2-ptest requires Makefile. The original
Makefile contains references to build host.
By copying only the relevent part,
we avoid those references making their way
into the target system
Used Makefile.am as the source to extract
the revelent part instead of Makefile as
it is easier to parse than Makefile.
A redundant command in do_install_ptest()
that repeat the copying of Makefile that
was already copied by Makefile's install-ptest
step is removed because it now interfers with
the creation of the new Makefile by
make's install-ptest.
[YOCTO #11596]
(From OE-Core rev: 752a8a02d52cf868d1c182672d6ceb3d455dfa1e)
Signed-off-by: Ooi Cinly <cinly.ooi@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having only this utility is useful for tiny initramfs'es which don't
need the whole util-linux package (and neither the busybox binary
which is much bigger than switch_root) to do operations like decrypt
a rootfs & switch to it in the init file.
(From OE-Core rev: 027f1782dfd85b47f34a4a9c8b62a22f57fece7e)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the following error when the systemd DISTRO_FEATURE is
enabled, but the systemd PACKAGECONFIG is not:
ERROR: bluez5-5.46-r0 do_package: SYSTEMD_SERVICE_bluez5 value
bluetooth.service does not exist
(From OE-Core rev: a751a1f4ab0625cbfedb6445b0da080fc455848f)
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>
Unbreak serial console when driver name contains spaces (PXA serial).
Fix commit ac0e954
"start_getty: Over added SERIAL_CONSOLE cause error in userspace log"
(From OE-Core rev: 8b98302c30efb7073f61dc2a166f7414f050ef65)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
core-image-tiny-initramfs was used to generate a wic image, which was conceptually wrong
since initrafms recipes should only generate the boot artifacts that can later be used
by another recipe to generate an image using the tool of their choice.
(From OE-Core rev: 2a4c65636821be48a8e585491bec40b5048be25d)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QEMU version 2.11 will remove the pixman submodule. This means users are
always required to supply pixman from the system if building softmmu
support in QEMU.
Without specifying a pixman configure option QEMU will default to using
the system pixman if it is avaliable. In which case let's remove the
config option as it is no longer supported in recent commits and is not
required in older builds as the configure system defaults are already
using system pixman.
(From OE-Core rev: db1fc2ec360eb5dad1363634458ec4b56e7bbb9d)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the meta-go-toolchain. It enables the generation of a Go
toolchain allowing for cross compiling for target architecture.
(From OE-Core rev: 8e16694b2f4c4038c56226821699d0d21578bdf0)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The go build tool creates working directories under
$TMPDIR for all of its processing. Create a directory
under ${WORKDIR} for this and point TMPDIR at it during
compilation, so that systems that have a relatively
small /tmp filesystems can still compile larger Go
packages.
(From OE-Core rev: 5de3de12c70f01753491c46b5622b0d273c3257b)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add patch for go's make script to allow for
build system != host system
* Add dependencies on the appropriate crosssdk recipes,
and use the crosssdk C compiler and linker
* Remove bashism in the wrapper script
* Restrict installation to only the tool binaries
to address some packaging errors
(From OE-Core rev: e2171f14a2dbf630a926a6792f6e6355f80e18b1)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to using an external linker for nativesdk
go, go-runtime, and go package builds, which works
more reliably when building 32-bit SDKs.
(From OE-Core rev: f76779f7ef6636355a5aa5741a736f5234a67fdb)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* The _FOR_TARGET variables need to include SDKNATIVEPATH
* Install tools (cmd) only, and for the build host
* Remove unnecessary FILES setting
Corrects some errors when the build host architecture
is different from the SDKMACHINE's.
(From OE-Core rev: 94cfa563388fb39e6a409eefcae1598a9d426a5c)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also update the ASSUME_PROVIDED in bitbake.conf to contain gawk-native
as the dependency is passed in via HOSTTOOLS for native builds.
This allows for recipes to depend on gawk-native, and have the
dependency met if not already provided by the host tools.
(From OE-Core rev: cbc396dd10488990c98bb6fd94c7d10a736d57c1)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were two identical code blocks for writing the
postinst-useradd-${PN} scripts. This combines them into one.
(From OE-Core rev: 0c4259dd3c74d81f20b87417cecb1e636365ce10)
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>
Whenever SDKMACHINE is set to mingw32, sdkmingw32 override is defined
everywhere. This meant that value of LDGOLD was different also for
binutils and binutils-cross depending whether SDKMACHINE was set or not.
(From OE-Core rev: 0398f84482dbe5ee99b20e2ca6b3e9984f7ccec5)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If buildstats are available (for a certain measurement), show recipe
version changes between the two builds that are being compared. The
information shown includes new and dropped recipes as well as changes in
recipe version, revision or epoch.
[YOCTO #11382]
(From OE-Core rev: 46eb839b51bb1466a9feeb09c9c437d6d45576cc)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
More refactoring of buildstats-diff script. Move recipe version
comparison functionality to scripts/lib/buildstats.py. This patch also
compasses some wording changes, i.e. changing 'package' to 'recipe'.
[YOCTO #11382]
(From OE-Core rev: 2f8942d6830258fcbe1925f12ba1516def32d132)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Utilize buildstats, if available, and show a summary of the resource
usage of bitbake tasks in the html report. The details provided are:
- total number of tasks
- top 5 resource-hungry tasks (cputime)
- top 5 increase in resource usage (cputime)
- top 5 decrease in resource usage (cputime)
[YOCTO #11381]
(From OE-Core rev: ddd9443cb2432af2c15b358bfda708393fa3c417)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move over code from buildstats-diff to new scripts/lib/buildstats.py
module in order to share code related to buildstats processing. Also,
refactor the code, introducing new classes to make the code readable,
maintainable and easier to debug.
[YOCTO #11381]
(From OE-Core rev: 8a2cd9afc95919737d8e75234e78bbc52e1494a1)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix some problems in the html syntax of the generated report:
- prevent empty rows in the summary table
- add one missing column in the results table
(From OE-Core rev: 10883bb49ad2f5309883fd352cf320b2e1648615)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Makes it possible to list test results for certain host only, instead of
always listing all results from all hosts.
(From OE-Core rev: 3c07f1f05440234243c570ebfb42dcda2f455a3d)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't crash if 'left' revision is older than the range of commits
specified with '--history-length'. In this case the 'left' revision
takes precedence.
(From OE-Core rev: cbeb1fb27329f8eba4d779d22fcad56f0fb03947)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose
arbitrary memory during a JSON.generate call. The issues lies in using
strdup in ext/json/ext/generator/generator.c, which will stop after
encountering a '\0' byte, returning a pointer to a string of length zero,
which is not the length stored in space_len.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-14064
Upstream patch:
8f782fd8e1
(From OE-Core rev: 17dbfd967019f9b50a9f6aa3f48cd3658fcccc70)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Packages which depends on attr headers fail due
to uint32_t not being defined, this needed header
to include sys/types.h
(From OE-Core rev: af7c8f8a9bfc3396dc729f3fc54c38d19f2aa3fc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ucontext_t not struct ucontext in linux-unwind.h files.
Current glibc no longer gives the ucontext_t type the tag struct
ucontext, to conform with POSIX namespace rules. This requires
various linux-unwind.h files in libgcc, that were previously using
struct ucontext, to be fixed to use ucontext_t instead. This is
similar to the removal of the struct siginfo tag from siginfo_t some
years ago.
Backport of patches by Joseph Myers, taken from
https://gcc.gnu.org/viewcvs/gcc?limit_changes=0&view=revision&revision=249957
[YOCTO #12083]
(From OE-Core rev: ec1c18d866c137b1fa523d0fcc29f65a28f59f44)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GitHub dynamically generates the /archive/ tarballs but we're encoding checksums
in the test suite. Change the URL to use a static tarball, and update the
checksums.
(From OE-Core rev: 9c668f9ff989a34e615e2ecc051dadbfe24a5bb4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GitHub automatically-generated tarballs from tags can and do change over time,
so change logrotate to use the uploaded tarball.
(From OE-Core rev: ff1ef935087ca66559c983ba38bf951f174c7115)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GitHub automatically-generated tarballs from tags can and do change over time,
so change libproxy to use the uploaded tarball.
(From OE-Core rev: 1a159da61a8a3d06918f838b1dcec45eed2815a7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Back in the dark days before recipe-specific-sysroots the paths being passed in
this manual construction of the pseudo environment made sense, but now they're
incorrect and result in pseudo writing to two different databases during a
single build. The result is that pseudo doesn't follow changes to /etc/passwd
in the sysroot, and warns in the logs.
Remove the PSEUDO_LOCALSTATEDIR assignment and inherit the correct assignment in
FAKEROOTENV.
(From OE-Core rev: 02457ef7f600ce954874e2d11e74b1c6daaa3bfc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
WARNING: systemd-machine-units-1.0-r19 do_populate_lic: ${COREBASE}/LICENSE is not a valid license file, please use '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM. This will become an error in the future
(From OE-Core rev: f2c809b1fe8679892220a06044d9b4bf2c8ae849)
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>
Fixed:
1) in pkg_postinst task set wanted file permissions:
---> chmod -R 521 "$D/opt/my_folder"
2) generate the rootfs image
Results:
my_folder hasn't correct permissions on rootfs ext4 image -> permissions are changed to 721
But it should be 521.
[YOCTO #11652]
(From OE-Core rev: 8627329341e5a9e7cf6f070778381635cebc0da6)
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>
If FILESYSTEM_PERMS_TABLES was not defined, the default was selected by the
packages.bbclass. This made it difficult for a recipe or layer to 'append'
to the default.
Copy the default into the bitbake.conf, allowing future _append and += style
actions.
Default was remove from package.bbclass. If a value is not set, only the
built-in perms fixes will be used.
(From OE-Core rev: b65736e1b7161619a0c5972376d3e713ccf53850)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alongside reworking the way devtool extracts source, we now need to
ensure that within the extensible SDK where task signatures are locked,
the signatures of the tasks for the recipes being worked on get unlocked
at the right time or otherwise we'll now get taskhash mismatches when
running devtool modify on a recipe that was included in the eSDK such as
the kernel (due to a separate bug). The existing mechanism for
auto-unlocking recipes was a little weak and was happening too late, so
I've reimplemented it so that:
(a) it gets triggered immediately when the recipe/append is created
(b) we avoid writing to the unlocked signatures file unnecessarily
(since it's a global configuration file) and
(c) within the eSDK configuration we whitelist SIGGEN_UNLOCKED_RECIPES
to avoid unnecessary reparses every time we perform one of the
devtool operations that does need to change this list.
Fixes [YOCTO #11883] (not the underlying cause, but this manifestation
of the issue).
(From OE-Core rev: 4e9a0be32fc30fb87d65da7cd1a4015c99533aff)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since it was first implemented, devtool's source extraction (as used by
the devtool modify, extract and upgrade subcommands) ignored other recipe
dependencies - so for example if you ran devtool modify on a recipe that
fetches from svn or is compressed using xz then it would fail if those
dependencies hadn't been built first. Now that we can execute tasks in
the normal way (i.e. tinfoil.build_targets()) then we can rework it to
use that. This is slightly tricky in that the source extraction needs to
insert some logic in between tasks; luckily we can use a helper class
that conditionally adds prefuncs to make that possible.
Some side-effects / aspects of this change worth noting:
* Operations are a little slower because we have to go through the task
dependency graph generation and other startup processing. There's not
really any way to avoid this though.
* devtool extract didn't used to require a workspace, now it does
because it needs to create a temporary bbappend for the recipe. (As
with other commands the workspace be created on the fly if it doesn't
already exist.)
* I want any existing sysroot files and stamps to be left alone during
extraction since we are running the tasks off to the side, and
especially devtool extract should be able to be used without touching
these. However, this was hampered by the automatic removal process in
sstate.bbclass triggered by bb.event.ReachableStamps when the task
signatures change, thus I had to introduce a way to disable this
removal on a per-recipe basis (we still want it to function for any
dependencies that we aren't working on). To implement this I elected
to use a file written to tmp/sstate-control which gets deleted
automatically after reading so that there's less chance of stale files
affecting future sessions. I could have used a variable but this would
have needed to be whitelisted and I'd have to have poked its value in
using the setVariable command.
Fixes [YOCTO #11198].
(From OE-Core rev: 830dbd66992cbb9e731b48d56fddf8f220349666)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'-' is valid and common in bitbake variables (e.g. 'FOO_pn-bar'). Accept
it and other characters when reading the .env file.
Also, allow variables to be empty.
(From OE-Core rev: e688ac8e92d2bc451d8b2d437596f630bedccd2c)
(From OE-Core rev: 2a69250abf61e51f633033ddb672e8f459191899)
Signed-off-by: Enrico Scholz <enrico.scholz@ensc.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dot '.' character should be allowed in the user paths for
local non-git layers, DL_DIR, and SSTATE_DIR.
[YOCTO #10650]
(Bitbake rev: 9c0f6e81dae0b91b425e6c0cdf64caa5c15d92b5)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The HEAD reference in Toaster layers are reserved for the
"Local Yocto Project" layers, stored at the top directory.
Imported layers are not allowed to use this since they are
managed differently - for example the 'remotes' will collide.
Fix the add layer handler to not drop the data fields when it
is a git repo.
Explicitly inform the user when an internal Toaster error is
returned via AJAX, so that they know why clicking the layer add
button did not do anything.
[YOCTO #9924]
(Bitbake rev: 04bd9c9341e8390a7923fa0122cd4cb0befa569f)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4.9, 4.10 and 4.12.
(From meta-yocto rev: 6909368e9b193c3fc79257982ec609307a5e1ba4)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In collect_bbfiles() we're monkey-patching os.listdir in order to find
which directories to watch, and then undoing that when we're finished -
however if an exception occurred for any reason there was nothing to
ensure the latter occurred. This may not have caused any issues, but as
this kind of thing really ought to be secured using try...finally just
in case, so do that.
(Bitbake rev: 013047484a03185c0ce281c53c1db4949cdc4e69)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code that was supposed to watch directories along BBFILES for
creation of new files wasn't working in the case where the directory did
not initially contain any matching files - since in updateCache() we are
passing the directory path to add_filewatch() and the latter function
calls os.path.dirname() on the path on the assumption that it is a file
path, and thus the parent of the directory got watched but not the
directory itself. (If the directory wasn't empty everything worked fine
since add_filewatch() was called elsewhere with the path to one of the
files in that directory, and thus the directory got watched). Add a
parameter to add_filewatch() to tell it we are passing it directory
path(s) rather than file path(s).
(Bitbake rev: 47a34dee08fcc25d896a1bdf16fa86267f0b898f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit:
[
commit 16de0149674ed12d983b77a453852ac2e64584b4
Author: Ben Seri <ben@armis.com>
Date: Sat Sep 9 23:15:59 2017 +0200
Bluetooth: Properly check L2CAP config option output buffer length
Validate the output buffer length for L2CAP config requests and
responses to avoid overflowing the stack buffer used for building the
option blocks.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Seri <ben@armis.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: a15ec979910a74d4490aecf30aa21fa5c2f4e99d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit:
[
commit 16de0149674ed12d983b77a453852ac2e64584b4
Author: Ben Seri <ben@armis.com>
Date: Sat Sep 9 23:15:59 2017 +0200
Bluetooth: Properly check L2CAP config option output buffer length
Validate the output buffer length for L2CAP config requests and
responses to avoid overflowing the stack buffer used for building the
option blocks.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Seri <ben@armis.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: a7e749a7d03818aaa21265dfb455c1a2766782cc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit:
[
commit 16de0149674ed12d983b77a453852ac2e64584b4
Author: Ben Seri <ben@armis.com>
Date: Sat Sep 9 23:15:59 2017 +0200
Bluetooth: Properly check L2CAP config option output buffer length
Validate the output buffer length for L2CAP config requests and
responses to avoid overflowing the stack buffer used for building the
option blocks.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Seri <ben@armis.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 04a59a5d8e96b145e094c101b87d40cc2d7a1a25)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit:
[
commit 16de0149674ed12d983b77a453852ac2e64584b4
Author: Ben Seri <ben@armis.com>
Date: Sat Sep 9 23:15:59 2017 +0200
Bluetooth: Properly check L2CAP config option output buffer length
Validate the output buffer length for L2CAP config requests and
responses to avoid overflowing the stack buffer used for building the
option blocks.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Seri <ben@armis.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 7d3ae3213e6da8c27b9618594a8c20c674b0f8f3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The aufs4 now has a 4.12 port, so we can integrate it into the
reference kernel and stay consistent with previous releases.
(From OE-Core rev: 3c60106d86b79c9350102ddf2a904876840b458a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
f07cb3489cff Linux 4.9.49
8bc67f67b763 drm/bridge: adv7511: Switch to using drm_kms_helper_hotplug_event()
8b5a7e443622 drm/bridge: adv7511: Use work_struct to defer hotplug handing to out of irq context
7791b59153cb scsi: sg: recheck MMAP_IO request length with lock held
b06e1abf1ff2 scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE
5b9c6a54c629 cs5536: add support for IDE controller variant
ec552ece1f25 workqueue: Fix flag collision
25bdc516b58e drm/nouveau/pci/msi: disable MSI on big-endian platforms by default
078866740e35 s390/mm: avoid empty zero pages for KVM guests to avoid postcopy hangs
c193becad9ad MCB: add support for SC31 to mcb-lpc
0e720cd70631 mwifiex: correct channel stat buffer overflows
5c23d3ed1190 dlm: avoid double-free on error path in dlm_device_{register,unregister}
23b7d4f52b69 iwlwifi: pci: add new PCI ID for 7265D
747562619512 Bluetooth: Add support of 13d3:3494 RTL8723BE device
b48f7183c64c rtlwifi: rtl_pci_probe: Fix fail path of _rtl_pci_find_adapter
ed7a384a904f Input: trackpoint - assume 3 buttons when buttons detection fails
90a1e2e19ed7 ath10k: fix memory leak in rx ring buffer allocation
d8b992d93555 intel_th: pci: Add Cannon Lake PCH-LP support
a22d561178ee intel_th: pci: Add Cannon Lake PCH-H support
5555eb956edc driver core: bus: Fix a potential double free
ffb58b875d24 iio: adc: ti-ads1015: add adequate wait time to get correct conversion
ff4a98e3bcb3 iio: adc: ti-ads1015: don't return invalid value from buffer setup callbacks
1ed4565b7c7b iio: adc: ti-ads1015: avoid getting stale result after runtime resume
c72ad1a4fdf0 iio: adc: ti-ads1015: enable conversion when CONFIG_PM is not set
115af6c3b155 iio: adc: ti-ads1015: fix scale information for ADS1115
177d84e3a72a iio: adc: ti-ads1015: fix incorrect data rate setting update
e58b04fb5b0b staging/rts5208: fix incorrect shift to extract upper nybble
afcfe0661a74 USB: core: Avoid race of async_completed() w/ usbdev_release()
80cdcd7f5335 USB: musb: fix external abort on suspend
6b3b3a22ef20 usb:xhci:Fix regression when ATI chipsets detected
99a22c84f51d usb: Add device quirk for Logitech HD Pro Webcam C920-C
773b93f4255f USB: serial: option: add support for D-Link DWM-157 C1
2ea91c52ff5f usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard
8a697a50c090 Linux 4.9.48
d325f1f1e245 epoll: fix race between ep_poll_callback(POLLFREE) and ep_free()/ep_remove()
dd2342ad6665 kvm: arm/arm64: Force reading uncached stage2 PGD
70df301a083c drm/ttm: Fix accounting error when fail to get pages for pool
12a70ccaa686 xfrm: policy: check policy direction value
31decdcd8369 lib/mpi: kunmap after finishing accessing buffer
9e2788ce8f17 wl1251: add a missing spin_lock_init()
e2ae90bb85f8 CIFS: remove endian related sparse warning
c5e76654a9e5 CIFS: Fix maximum SMB2 header size
d4e7dfda905e alpha: uapi: Add support for __SANE_USERSPACE_TYPES__
309e4dbfaf3d cpuset: Fix incorrect memory_pressure control file mapping
da16ed52c36a cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs
715849268b34 ceph: fix readpage from fscache
8cc3acff5f1a mm, madvise: ensure poisoned pages are removed from per-cpu lists
17c564f629f4 mm, uprobes: fix multiple free of ->uprobes_state.xol_area
9e0a64330ce5 crypto: algif_skcipher - only call put_page on referenced and used pages
91a0e1edb80a i2c: ismt: Return EMSGSIZE for block reads with bogus length
d22f6da47355 i2c: ismt: Don't duplicate the receive length for block reads
31562136c8d4 irqchip: mips-gic: SYNC after enabling GIC region
458ca52f1564 Linux 4.9.47
529ada21ff9e lz4: fix bogus gcc warning
c47c52cde806 scsi: sg: reset 'res_in_use' after unlinking reserved array
4099ac938385 scsi: sg: protect accesses to 'reserved' page array
c0c6dff92303 locking/spinlock/debug: Remove spinlock lockup detection code
27e7506c33d0 arm64: fpsimd: Prevent registers leaking across exec
43f776dab360 x86/io: Add "memory" clobber to insb/insw/insl/outsb/outsw/outsl
509d8b52bbe7 arm64: mm: abort uaccess retries upon fatal signal
3e033635b2b7 kvm: arm/arm64: Fix race in resetting stage2 PGD
b8a1532b16fd gcov: support GCC 7.1
47974403c9ca staging: wilc1000: simplify vif[i]->ndev accesses
dd758f82a3bf scsi: isci: avoid array subscript warning
f71996c3ce5d p54: memset(0) whole array
(From OE-Core rev: 57819c9f133f168a6a856afa0d0c5ac57a4f2f44)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable update comprising the following commits:
6ff98e8e5d24 Linux 4.12.12
ce4ef9346d9f rtlwifi: Fix fallback firmware loading
21da5e36f41e rtlwifi: Fix memory leak when firmware request fails
3ef5220bdba7 of/device: Prevent buffer overflow in of_device_modalias()
aee0b37b710e scsi: sg: recheck MMAP_IO request length with lock held
b0f24dc0e57b scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE
1054309aca02 cs5536: add support for IDE controller variant
e5298cd80371 ahci: don't use MSI for devices with the silly Intel NVMe remapping scheme
f21c4eea8bb4 workqueue: Fix flag collision
daf316ac4a6c drm/nouveau: Fix error handling in nv50_disp_atomic_commit
75bc569a0d4b drm/nouveau/pci/msi: disable MSI on big-endian platforms by default
e3b9fb20262f s390/mm: fix BUG_ON in crst_table_upgrade
2ce0e0495177 s390/mm: avoid empty zero pages for KVM guests to avoid postcopy hangs
d859d5a434f1 MCB: add support for SC31 to mcb-lpc
f7fb789880dd mwifiex: correct channel stat buffer overflows
0bfb078274ed dlm: avoid double-free on error path in dlm_device_{register,unregister}
985696916329 iwlwifi: pci: add new PCI ID for 7265D
cbe865a2e67d Bluetooth: Add support of 13d3:3494 RTL8723BE device
7d20c5530a56 rtlwifi: rtl_pci_probe: Fix fail path of _rtl_pci_find_adapter
a47814b210eb Input: trackpoint - assume 3 buttons when buttons detection fails
d49ea1b6f98f ath10k: fix memory leak in rx ring buffer allocation
270f0aadd1d2 intel_th: pci: Add Cannon Lake PCH-LP support
d2192374b951 intel_th: pci: Add Cannon Lake PCH-H support
055be595e016 fpga: altera-hps2fpga: fix multiple init of l3_remap_lock
ba89dc8dce4e crypto: caam/qi - fix compilation with DEBUG enabled
aa57cf57df95 crypto: caam/qi - fix compilation with CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y
693ef09dc616 binder: free memory on error
bbe1a3b3d20d HID: wacom: Do not completely map WACOM_HID_WD_TOUCHRINGSTATUS usage
af617519a8c2 driver core: bus: Fix a potential double free
6c6c3c6bd954 iio: adc: ti-ads1015: add adequate wait time to get correct conversion
00202ded930e iio: adc: ti-ads1015: don't return invalid value from buffer setup callbacks
303d31eb5adf iio: adc: ti-ads1015: avoid getting stale result after runtime resume
6c164a8ad918 iio: adc: ti-ads1015: enable conversion when CONFIG_PM is not set
6c5595e0815d iio: adc: ti-ads1015: fix scale information for ADS1115
1d7fadc5937f iio: adc: ti-ads1015: fix incorrect data rate setting update
70bfcf9e319e staging/rts5208: fix incorrect shift to extract upper nybble
ed68c935f5ae USB: core: Avoid race of async_completed() w/ usbdev_release()
ffdb5b9e299a ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES.
74ffccfed38f ANDROID: binder: add padding to binder_fd_array_object.
68596cc21060 USB: musb: fix external abort on suspend
c927f42c8e38 usb:xhci:Fix regression when ATI chipsets detected
0e8e379786da usb: Add device quirk for Logitech HD Pro Webcam C920-C
c8ff3d1a47a2 USB: serial: option: add support for D-Link DWM-157 C1
572bcfc7fbce usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard
13817987369a Linux 4.12.11
9c2144e80db8 epoll: fix race between ep_poll_callback(POLLFREE) and ep_free()/ep_remove()
38f5d65ad997 drm/nouveau/i2c/gf119-: add support for address-only transactions
bdacc5fcf4f9 nvme: fix the definition of the doorbell buffer config support bit
c6d2779d8f0d drm/ttm: Fix accounting error when fail to get pages for pool
6c5b60edd786 xfrm: policy: check policy direction value
6cc6f45db016 lib/mpi: kunmap after finishing accessing buffer
a3deff1d3285 mmc: sdhci-xenon: add set_power callback
d767ccb7c387 wl1251: add a missing spin_lock_init()
619d31a0d247 drm/vmwgfx: Fix F26 Wayland screen update issue
399081a50c48 dm mpath: do not lock up a CPU with requeuing activity
77ab9e7fb431 CIFS: remove endian related sparse warning
0627f7136685 CIFS: Fix maximum SMB2 header size
f3e9dc4504b1 alpha: uapi: Add support for __SANE_USERSPACE_TYPES__
ae53897e22db cpuset: Fix incorrect memory_pressure control file mapping
fd20ca80f807 cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs
3d7aeba120fd ceph: fix readpage from fscache
b3010084e111 mm, madvise: ensure poisoned pages are removed from per-cpu lists
8c46edd78de9 mm, uprobes: fix multiple free of ->uprobes_state.xol_area
726bd348ead3 crypto: algif_skcipher - only call put_page on referenced and used pages
44c6b4a96625 i2c: ismt: Return EMSGSIZE for block reads with bogus length
7a90bfae6345 i2c: ismt: Don't duplicate the receive length for block reads
6fb972d03751 crypto: chacha20 - fix handling of chunked input
6b31ae8707a7 Input: xpad - fix PowerA init quirk for some gamepad models
2ed56448f555 Input: synaptics - fix device info appearing different on reconnect
55a5a10ce349 irqchip: mips-gic: SYNC after enabling GIC region
691208979811 x86/io: Add "memory" clobber to insb/insw/insl/outsb/outsw/outsl
34ed350889dd arm64: mm: abort uaccess retries upon fatal signal
(From OE-Core rev: d932cd6069bfaeb211fc169553955432e0a67614)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The YP Compat v2 standard requres a more specific README structure. Bring
meta-yocto to the required standard and clean up some of the data in the
READMEs whilst in there.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was only present for transition purposes at upgrade, drop it
since its been present for several releases now.
(From meta-yocto rev: 8387f03c0071749e031e573f01b8e54cd3a01466)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This piece makes sense in OE-Core after resutrcturing in meta-yocto.
(From OE-Core rev: d72d116e0228cc0e4391d0558b2d32c3fd5e399c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, $HOME/.local is being added into sys.path for the native
Python, causing subtle host contamination. Suppress this by exporting
PYTHONNOUSERSITE = "1" as documented in PEP 370.
(From OE-Core rev: 8fe9fb4d5a61dcbcb3fc5b9ee0234cc135af873f)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All versions of the SDP server in BlueZ 5.46 and earlier are vulnerable to an
information disclosure vulnerability which allows remote attackers to obtain
sensitive information from the bluetoothd process memory. This vulnerability
lies in the processing of SDP search attribute requests.
(From OE-Core rev: 7351e0b260876b9bbc8660c2bb4173ab4c130f8b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rebased patches
- dropped armhf-elf patch, should no longer be needed
- dropped syslog patch which should not have been imported to begin with
- reworked other patches as needed for the updated code base
* Updated native, cross, cross-canadian .inc files to
remove some testdata directories that contain .a files
that strip chokes on during sysroot staging
(From OE-Core rev: f2ccf56778433ec16f44eecaa10a610a6630df50)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Go does not play well with thumb, so ensure that the
toolchain and any packages use arm, not thumb, instructions.
(From OE-Core rev: 24da8c321831dcc5de00d65d6c5613efee109b57)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds ptest support for Go packages so its unittest content is
packaged and integrated onto the test framework.
(From OE-Core rev: 2343cd90b9706589b33510c560ed83a9648fb133)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently every Go package will end with GNU_HASH in the ELF binary
however adding it to every recipe is cumbersome so instead we handle
that here.
(From OE-Core rev: 6699e668413c10704ffa8094b3dca67a9b88422a)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For architectures that support it, use the -linkshared
build option to build packages against the shared Go
runtime.
(From OE-Core rev: 5624a773e4db3ad2251641e69b04dc380e74a4c7)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the target architecture supports, it build the Go
runtime as a shared library in addition to building
the static libraries.
(From OE-Core rev: f562b5e91c12ab67140de537ea269fe1ac85a764)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The go link tool does not set the soname by default, which
prevents package.bbclass's shlibs processing from seeing
shared libraries built with go.
This patch passes appropriate options to go's linker and
the external linker to set the soname.
(From OE-Core rev: 24c2ac446296663b86160cac046e7faccb19f5af)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Go only supports shared libraries for some architectures, so
add a variable for use elsewhere that gets a non-null value
only for those architectures.
(From OE-Core rev: 2275712df152b73ce49b36bdf9f8d744c68c9c50)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-oe was doing this before, but it was triggering a yocto-compat-script
failure during the signature checking.
The ca-certificates changing is ABISAFE, as the certificates themselves do
not modify the compiles behavior of the applications. This should permit
easier upgrades without as much rebuilding.
The original value was set in meta-oe by commit
ff7a4b13c4efeffc5853a93c6ff7265fa3d6c143.
(From OE-Core rev: 583dca290c230fbc981c41fe91e8abeff616e633)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When these functions are being called INSANE_SKIP has already been taken into
account, so don't confuse the code by passing the skip list.
(From OE-Core rev: 0001ceead406b1e8ba4fd16d0ecb5fbf5b55ba66)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recipe added with "devtool add" requires to be able to take precedence on recipes
previously defined with PREFERRED_PROVIDER.
By adding the parameter "--provides" to "devtool add" it is possible to specify
an element to be provided by the recipe. A devtool recipe can override a previous
PREFERRED_PROVIDER using the layer configuration file in the workspace.
E.g.
devtool add my-libgl git@git://my-libgl-repository --provides virtual/libgl
[YOCTO #10415]
(From OE-Core rev: adeea2fe6895898a5e6006e798898f0f5dabd890)
Signed-off-by: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
epitest.fi is down and hostap-utils source is now available in
w1.fi. So, move SRC_URI to https://w1.fi
Since hostap-utils is only meant for old Intersil Prism2/2.5/3 wifi cards,
this recipe will be removed from oe-core in future (most likely to
meta-handheld)
[YOCTO #12051]
(From OE-Core rev: 541b14c58132e8460a762617889bd5e3d736c1a4)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After commit e8b1c65394, we started seeing
errors like the following during boot on genericx86 machines:
uvesafb: failed to execute /sbin/v86d
uvesafb: probe of uvesafb.0 failed with error -22
uvesafb: vbe_init() failed with -22
uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
These were caused because the uvesa module was being loaded during boot,
when it is only meant to be loaded on qemu according to:
6af89812e8
Since genericx86-common.inc includes qemuboot-x86, the module also tries
to be loaded on genericx86 machines, this patch removes the instruction from
qemuboot-x86 and adds it in specific to both qemux86 machines confs so
it is correctly loaded only on those.
[YOCTO #11879]
(From OE-Core rev: 261f9c382121c73b72556a151fdd4c7938b32a92)
(From OE-Core rev: 554903483acb4af402feaba013366388db89e36b)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is an issue for requesting dynamic IP with ifup/ifdown command
when using dhclient.
Steps to reproduce:
1. Build a full-cmdline image and install dhcp-client as the default DHCP client.
2. Configure a static IP for eth0 in /etc/networking/interfaces and reboot.
$ ifconfig eth0
eth0 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
$ ifdown eth0
3. Modify /etc/networking/interfaces to configure a dynamic IP for eth0
$ ifup eth0
$ ifconfig eth0
eth0 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
You could see the eth0 still has a static IP. But actually it also has a
dynamic IP:
$ ip addr show eth0
eth0:
inet 192.168.1.2/24 brd 192.168.1.255 scope global eth0
inet 128.224.162.173/23 brd 128.224.163.255 scope global eth0
The root cause is the ifdown invokes "ifconfig" to down the eth0 but
doesn't remove its IP. The dhclient would invoke "ip" to configure the
interface. It can not remove an IP from down interface with "ip addr
flush" and "ip addr add" command can set multiple IPs on one interface.
To fix this issue, we should use the "ip" command to implement
ifup/ifdown, rather than using the older "ifconfig". It will flush the
IP before down the interface.
(From OE-Core rev: 4304ed013a015bfb6f054017cb273578b874b4c2)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Device Tree is commonly used but it is still kept as a .inc file
instead of a proper class. Instead now we move the Device Tree code to
a kernel-devicetree class and automatically enable it when the
KERNEL_DEVICETREE variable is set.
To avoid breakage in existing layers, we kept a linux-dtb.inc file
which raises a warning telling the user about the change so in next
release this can be removed.
(From OE-Core rev: 03a00be7f2062aefef0e51ef20a4c9737f6685e7)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need QEMU PID in order to access "/proc/<qemupid>/cmdline"
Having a valid QEMU PID does not mean we can access the proc entry
immediately, we need to wait for the /proc/<qemupid> to appear
before we can access it.
(From OE-Core rev: d2d069fa9910d1c7a94c898355a63fca03ec5ad8)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in scriptutils which implements the logic for running the
editor used by devtool edit-recipe looks at the VISUAL environment
variable before EDITOR, and thus if VISUAL is set in the environment it
will override the EDITOR value we are setting here, the editor (usually
vim) launches and there's nothing to stop it running forever short of
manually killing it. Set VISUAL instead to fix this.
Apparently VISUAL is in fact the variable we should really be preferring
here - I don't think I knew that but somehow I got it right in the code,
just not in the test. Here are the details for the curious:
https://unix.stackexchange.com/questions/4859/visual-vs-editor-whats-the-difference
Fixes [YOCTO #12074].
(From OE-Core rev: 6a7c50def569b5e86aa17bd9b287e8c63781dcb0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the kernel development flow diagram to have an arrow from
the repositories to the box that says you need to clone the
kernel repository. Also, provided some wording changes in the
end of the chapter.
(From yocto-docs rev: c77cff4f7b0795d5429dc47c2ad63aec6d19d513)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added the linux-yocto-4.12 kernel repository and the linux-yocto-cache
repository to the list of Yocto Linux Kernel repositories in the
Source Repositories.
(From yocto-docs rev: 88fedda0fa4a4dfc468f0dc404fa9f04390cbed7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switching to kernel version 4.12. Pulled some old commented
stuff out.
(From yocto-docs rev: c0a5c886256d3477ddaf670df4939bec1c73152e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added in a sentence to point to the kernel-dev manual should
the user be interested in kernel development.
(From yocto-docs rev: cc47606af5b7eb2fdc669aa2c0c4dfbd930b8247)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I moved the flow diagram up higher and completely removed
the procedures to get the build host ready for kernel
development. Those are now in the common tasks chapter.
Lots of rewriting
Signen-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Had to account for devtool and traditional kernel methods
now.
(From yocto-docs rev: 74580d9a61fa012406059ba2a3348d38fdc24d4c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11762]
Added a link from variable to new virtual providers
section.
(From yocto-docs rev: d87726cf4962ca093c63d23d9e04f41d448c9594)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12031]
Applied minor wording changes based on review feedback.
(Bitbake rev: f0930f3216a8358759d561d244fa280932e8bf05)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12029]
There were four links to an old blog post that was leveraged
for the hello world example. The post has evidently been
removed and the links no longer resolved. I have taken them out.
(Bitbake rev: db298262189c94be700abfdb8c2ad7827b53afca)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12031]
Moved an inappropriate example from the bottom of the INHERIT
Configuration Directive section up into the inherit directive
section.
Updated the example at the end of the INHERIT Configuration
Directive section to apply to INHERIT.
(Bitbake rev: f169ac5da18d55a40d0554668e1a0ace70f94768)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12032]
I applied some re-writing to help clarify the relationships between
the inherit, include, and require directives.
(Bitbake rev: fded970a0709d928f70224d8b61534e9353ee6dd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Printing the last 10 lines of bitbake-cookerdaemon.log when the server
fails to start can sometimes result in printing the output from a
previous run, which could lead the user completely down the wrong path
in terms of the cause of the failure. Use a known start text containing
the time which we can then look for when scanning through the log, and
then grab the last 10 lines of that part instead.
Fixes [YOCTO #11903].
(Bitbake rev: 567f2cf1bc455b4f3cfb1cbd7f25145360b05a62)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The whitelist shouldn't have to be populated in order for the
enforcement to work properly - check if the list is not None in order to
determine whether the functionality is enabled or not since that is how
the function that sets up the list behaves.
(Bitbake rev: 7b1e79c352ca6eef1693d8abfacf7505544f1caa)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issues in start are not being correctly detected by the current readypipe
code. Change it to use specific "ready" or "fail" messages to correctly
determine the correct failure mode and avoid bitbake seeming to hang
(it does currently timeout eventually).
[YOCTO #12062]
(Bitbake rev: 60d4791e3dd05729d2a2adf6f3b203c80d466a73)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable cross-canadian builds of the Go toolchain. This
requires an additional patch to the Go source to allow us
to use the native GOTOOLDIR during the bootstrap phase.
(From OE-Core rev: 9daa02f63a0d53ab90a515f2bd3e783187c9415b)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of hard-coding GOARM to ${TARGET_GOARM} in
the wrapper script, take it from an existing
environment setting if present. This allows the
same cross-compiler to be used for different ARM
targets.
(From OE-Core rev: 1d319f102cd1f37ce5629c73948efae01478f866)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
to make it clearer that it is only used for building
the toolchain for the target.
(From OE-Core rev: 780aa334f8614c80ce5b9cb77b0cea2fcd482614)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* use conditional assignment for the CGO_xxx
variables, so they can be overridden more easily
* remove the TOOLCHAIN_OPTIONS and TARGET_CC_ARCH
references, since those are already present in
CC and CXX
* remove the TARGET_ prefix so the values are
appropriate for native, nativesdk, etc. builds
* move the GOROOT export away from the CGO settings
and closer to its definition
(From OE-Core rev: 088528021d6979a8e2d6bc33d63a166e300cfde4)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The src content has been moved to -dev package, so does the test
routines. Fix the runtime dependency accordingly.
(From OE-Core rev: 53bbd2222027b7bbca8df066a8a9a58355ae0f91)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GOROOT_FINAL is used by the Go linker for rewriting
source paths when the build GOROOT is not the same
as the runtime GOROOT, but the other _FINAL variables
aren't really needed.
(From OE-Core rev: 31aa0d8a62be95d093d3c7581efa41f74b9131ad)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reorganize the Go toolchain build to split out
the Go standard runtime libraries into a separate
recipe. This simplifies the extension to crosssdk
and cross-canadian builds.
* Adds a patch to the go build tool to prevent it
from trying to rebuild anything in GOROOT, which
is now resident in the target sysroot.
* 'go' bb and inc files are now for building the
compiler for the target only.
* 'go-cross' bb and inc files are now just for
the cross-compiler.
* Adds virtual/<prefix> PROVIDES for the compiler
and runtime
* Removes testdata directories from the sysroot
during staging, as they are unnecessary and
can cause strip errors (some of the test files
are ELF files).
* Re-enables pacakage QA checks, adding selective
INSANE_SKIP settings where needed.
(From OE-Core rev: d2a7af7cd834e218c39d43ee3fa0c14d4f748727)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The go1.4 toolchain is only required for bootstrapping
go-native, and should not be used for anything else,
so build it as part of the go-native build. This way,
we don't have to carry around its built artifacts in
the native sysroot.
The go-cross and target toolchains can then just depend
on go-native, using that for their 'bootstrap' toolchain.
Also removed some unnecessary package-related noexec
settings, since native recipes inherit nopackages.
(From OE-Core rev: 9dc9d457fb9a456bc18c7789b91f40e1f6a999fe)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
iproute2 has the ability to include a tipc tool. When enabled this requires
the libmnl package (formerly supplied by meta-openembedded). So both are
needed at the same time.
The change itself is needed because of the tipc-utils package (in
meta-openembedded) which RDEPENDS on iproute2-tipc. Without this package
the yocto-compat-layer script indicates there is no way for me to have
meta-openembedded pass the checker. This is because meta-openembedded is
not allowed to just enable 'tipc' on it's own. (A layer may not make distro
wide changes without a user saying to do it.) The checker script invokes
bitbake -S none world, which will fail on dependency resolution due to there
being no iproute2-tipc package. The tipc-utils package does not have a way
to check the PACKAGECONFIG of the iproute2 package so disable itself if the
dependency can not be met. So the default system behavior needs to be:
iproute2 w/ tipc enabled
tipc-utils RDEPENDS on iproute2-tipc
(From OE-Core rev: b40f42e69de47af4f627432e284038c645efbaec)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The high-level method tempfile.TemporaryDirectory give us no way to
ignore erros on removal thus use tempfile.mkdtemp instead. Ignoring possible issues
on removal is neccesary because it contains gpg sockets that are automatically removed
by the system once the process terminates, otherwise the following log is observed:
..
..
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.browser'
[YOCTO #11821]
(From OE-Core rev: 7e3a7cd2426feac757def81850dc44156cd0f33e)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a tempdir to copy the .config file from the kernel instead of being
copied to build directory.
(From OE-Core rev: ccccf975c75055639c0ed5052ac0ad53ebbf53ca)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* it's used by bzr fetcher:
meta/conf/bitbake.conf:FETCHCMD_bzr = "/usr/bin/env bzr"
and when it isn't available in PATH do_fetch tasks fail with:
/usr/bin/env: ‘bzr’: No such file or directory
* it was also added in:
https://patchwork.openembedded.org/patch/140107/
but this change wasn't merged (nor rejected AFAIS)
(From OE-Core rev: c7ba7e9e7a7ca2caf453106112dc5a3c855b21d3)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit e0ed52c514.
Commit e0ed52c514 ('kernel-module-split: rrecommend kernel-image instead
of rdepend') changed kernel modules to rrecommend kernel-image instead
of rdepend on kernel. This broke existing setups, where the kernel is
omitted by setting RDEPEND_kernel-base = "".
Revert the patch, as the existing way of omitting kernel-image in images
works just fine.
(From OE-Core rev: c315b1e036b1252f35abda921c49327c950a9570)
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alexander Monakov (3):
overhaul environment functions
free allocations in clearenv
fix OOB reads in Xbyte_memmem
Bartosz Brachaczek (1):
handle whitespace before %% in scanf
Rich Felker (6):
fix erroneous stop before input limit in mbsnrtowcs and wcsnrtombs
fix erroneous acceptance of f4 9x xx xx code sequences by utf-8 decoder
fix signal masking race in pthread_create with priority attributes
don't treat numeric port strings as servent records in getservby*()
fix glob descent into . and .. with GLOB_PERIOD
work around incorrect EPERM from mmap syscall
Szabolcs Nagy (4):
s390x: add bits/hwcap.h
add a_clz_64 helper function
arm: add HWCAP_ARM_ hwcap macros
make syscall.h consistent with linux
(From OE-Core rev: 1b0943925783f948fbb1f30ffd2f287c97f4f354)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When mdev module loads the Linux kernel modules, it can visit
directories with spaces. To allow that, we must quote the variable
otherwise it misunderstand it arguments as multiple entries.
Fixes:
,----
| Freeing unused kernel memory: 3072K (80d00000 - 81000000)
| cat: can't open '/sys/devices/platform/Vivante': No such file or directory
| cat: can't open 'GCCore/modalias': No such file or directory
`----
(From OE-Core rev: afc73dd6346325de0a39997a3045b6659f9658b5)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the libc.so.6 dependency is detected always:
$ grep FILERDEPENDS BUILD-*/pkgdata/qemux86/runtime/localedef
BUILD-bad/pkgdata/qemux86/runtime/localedef:FILERDEPENDSFLIST_localedef: /usr/bin/localedef
BUILD-bad/pkgdata/qemux86/runtime/localedef:FILERDEPENDS_/usr/bin/localedef_localedef: libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.0) libc.so.6
BUILD-ok/pkgdata/qemux86/runtime/localedef:FILERDEPENDSFLIST_localedef: /usr/bin/localedef
BUILD-ok/pkgdata/qemux86/runtime/localedef:FILERDEPENDS_/usr/bin/localedef_localedef: libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.0) libc.so.6
* but in some builds the glibc dependency isn't built soon enough:
$ diff -uNr BUILD-*/pkgdata/qemux86/runtime/localedef
--- BUILD-bad/pkgdata/qemux86/runtime/localedef 2017-09-02 21:17:50.000000000 +0000
+++ BUILD-ok/pkgdata/qemux86/runtime/localedef 2017-09-11 10:15:49.954381592 +0000
@@ -6,6 +6,7 @@
LICENSE: GPLv2 & LGPLv2.1
DESCRIPTION_localedef: glibc: compile locale definition files
SUMMARY: Locale data from glibc
+RDEPENDS_localedef: glibc (>= 2.26)
SECTION: base
PKG_localedef: localedef
FILES_localedef: /usr/bin/localedef
and the build fails with QA issues:
http://errors.yoctoproject.org/Errors/Details/155529/
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.0), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.15), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.3), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.2), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.1), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6, but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA run found fatal errors. Please consider fixing them.
* easily reproducible with empty TMPDIR and:
bitbake -c cleansstate glibc-locale && bitbake -c package_qa glibc-locale
* reproducible with Yocto 2.2 Morty as well, with slightly different
error message:
ERROR: glibc-locale-2.24-r0 do_package_qa: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_localedef? [file-rdeps]
* with Yocto 2.3 Pyro it's not reproducible by default, because rpmdeps
aren't enabled to populate FILERDEPENDS, but once you add:
ENABLE_RPM_FILEDEPS_FOR_PYRO = "1"
similar QA issue is shown as well:
ERROR: glibc-locale-2.25-r0 do_package_qa: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.15), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: glibc-locale-2.25-r0 do_package_qa: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: glibc-locale-2.25-r0 do_package_qa: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6, but no providers found in RDEPENDS_localedef? [file-rdeps]
(From OE-Core rev: 2d2b4d7383c93174fe8eeb72440e81345df71295)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump initramfs-framework PR, as it was missed in the previous
initramfs-framework patch.
These modules are shell scripts so they can be allarch.
Fix the SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS in layer.conf, as these
dependencies moved from the main recipe to these modules.
Finally, set the PR to 4 in the new module recipes to avoid breaking
package feeds.
Fixes [YOCTO #12024].
(From OE-Core rev: d8af496dde699fadb2b21ff45cd20cf31e8abaf7)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building the per-recipe sysroot keep track of what files we're installing
and where they came from, so we can detect when a file is installed by two
different recipes and tell the user what these recipes are (instead of just
showing a os.link() stack trace).
[ YOCTO #11631 ]
(From OE-Core rev: 606a8e0ca218f023e362c3678122d36d537f95de)
(From OE-Core rev: 2ebbeb61114e4b847e9164c621ac87b5cf03a299)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If user.name or user.email haven't been set then git rebase can't really
work properly. Check that the user has set these and error out if not.
(Elsewhere we are relying on OE's git patch functionality which forces
a dummy OE value - that's OK there as it's completely under OE's control
and therefore it's OK for a dummy OE user to be the committer, but here
the rebase may require intervention so it's reasonable to have the
user's actual name and email on the operation.)
Fixes [YOCTO #11947].
(From OE-Core rev: 129a3be07e272013be2db17552c13b4d8cc2cf6e)
(From OE-Core rev: 802829f1c38d8c5eee11ba1d9ddd37cf02597f6e)
Signed-off-by: paul <paul@peggleto-mobl.ger.corp.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates the recipe to use the Golang examples repository so it
makes use of the unpack as well as standard tasks showing how easy it
can be.
(From OE-Core rev: 116d2ea1fe92725bb1265152f3db51598643a481)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the Golang dependency management tool under development; it is
ready for production use and intended to be merged onto Golang
1.10. Until that, projects are starting to use it and making it
available on OE-Core reduces the Golang integration work for new
recipes.
(From OE-Core rev: 79e0401fa463736f28ad39f2f98cd23d8fd6fe88)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using the Go 'vendor' mechanism to bring in
dependencies for a Go package, the default GO_INSTALL
setting, which uses the '...' wildcard, will include
the vendored packages in the build, which produces
incorrect results.
There are also some Go packages that are structured
poorly, so that the '...' wildcard results in building
example or test code that should not be included in
the build, or fail to build.
This patch adds a mechanism for filtering out a
subset of the sources. It defaults to filtering
out everything under the 'vendor' subdirectory
under package's main directory, which is the
normal location for vendored packages, but can
be overridden by a recipe to filter out other
subdirectories, if needed.
(From OE-Core rev: 9819353726d85780546158428bd97a253705017d)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Go source trees have a particular structure, with all
sources located under ${GOROOT}/src/<import-path>.
The fetcher step implemented by the 'go get' command
automatically follows this structure, so we need
to do the same here.
Since most Go packages are hosted in git repositories,
this adds a custom do_unpack() function that sets
the destsuffix to match the expected directory structure,
for any git SRC_URIs that haven't had a destsuffix
explicitly set in the recipe.
This simplifies recipe writing for the most common
cases.
(From OE-Core rev: efcf6513b71021ea4bfe6fbaa326e6591dee487d)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a do_configure task to populate ${B} by symlinking
in the src subdirectory under ${S}, which lets us point
GOPATH at ${B}. This lets us take advantage of the
automatic directory creation and cleaning for do_configure.
This necessitates a change to do_install to split the
installation of the sources and built artifacts. Taking
advantage of some additional tar options, we can eliminate
the extra staging area and extra recursive chown command.
So overall efficiency should be improved.
(From OE-Core rev: c62a083306c26b7e4deca1ff41336bb6b33d5b3a)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since this is a class, it should follow the
class function export mechanism for its task
functions, and should set directory-related
flags for directories they need.
(From OE-Core rev: 0369a99ad1c9e3a9a6394c723461795460dc2c76)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous logic applied a regex to TUNE_FEATURES which could
set the GOARM value to 7 incorrectly, for example when dealing
with an arm1176 core. Simplify to check for the presence of
"armv7" instead. At the same time add a check for "armv6" and
set GOARM to 6 in that case.
(From OE-Core rev: 07b60c15e9ef650940afdde37bf3f3b9c50a336d)
Signed-off-by: Will Newton <willn@resin.io>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OE-Core has no reason to support multiple versions of Go as this
increases the maintenance work and testing efforts. So we are going to
support just a single version from now on which currently is 1.8.3.
The 1.4 release is kept around as it is used for bootstrap, as such,
it cannot be removed.
(From OE-Core rev: 26abbf129d7ca0d36f6244f96fa8a572fd847899)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Go toolchain changes the installation path when building for the same
architecture as the build host. This was already been considered in
the GO_BUILD_BINDIR variable but was not being used by the go class.
This fixes following error:
,----
| ERROR: go-dep-0.3.0-r0 do_package: QA Issue: go-dep: Files/directories
| were installed but not shipped in any package:
| /usr/lib/x86_64-oel-linux/go/bin/dep
| Please set FILES such that these items are packaged. Alternatively if
| they are unneeded, avoid installing them or delete them within
| do_install.
`----
(From OE-Core rev: 56ce355b3d775e801d2ca89ee812571e794311cd)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The d.getVar has the second argument as True by default, avoid passing
it here.
(From OE-Core rev: 1a5026db41929d42bece22bd0ae60c13219a98f5)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows for other layers to override this variable in addition
to providing the distro or local.conf to override it.
(From OE-Core rev: b6e72d0f8230f71ea06edf747f3a84c6410d458c)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Optparse is deprecated since version 2.7 and won't be developed further.
Argparse should be used instead as it provides better tools for parsing
and handling arguments.
[YOCTO #9635]
(From OE-Core rev: e67b40c01fd98048035ca18595d87ae1be050ab4)
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both libfm and libfm-extra provide /usr/include/libfm, so remove it from libfm
to avoid sysroot conflicts.
(From OE-Core rev: 1ca7d8d89e35f55082d1708639e2146794730a0c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
arping hangs if SIGALARM is blocked. Backport a patch to fix this problem.
Unblock SIGALRM so that the previously called alarm() can prevent recvfrom()
from blocking forever in case the inherited procmask is blocking SIGALRM and
no packet is received.
(From OE-Core rev: 818d4a97763c69e9289fb99822535cd3ca7af6a2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise it will cause conflicts in mutlilib setting, as it
varies from one machine to another.
(From OE-Core rev: 30140990a8bbe920222204b4f19113f5a1662478)
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bmap-tools is the only recipe in oe-core that still uses
Python 2. Switching it to Python 3 should help to get rid of
building native Python 2 and its dependencies.
[YOCTO #11891]
(From OE-Core rev: 0d6130b30a1219b2bc2c57578f291311f69c676e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is perfectly fine to execute cve_check tasks against a cached
CVE database during a BB_NO_NETWORK build.
(From OE-Core rev: acc9994a77972c49a98aabbfd579973885c95f10)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For bootchart2-native, the python interpreter "#!FIXMESTAGINGDIRHOST/usr/bin/python3"
of file pybootchartgui is not right.
Use '#!${USRBINPATH}/env python3' instead to fix the issue.
(From OE-Core rev: 024caf6b0848118799fb15b912db7c5e1fc65488)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extend python3-setuptools to nativesdk because nativesdk-python3-pip needs
it.
Also, adjust RDEPENDS variable setting to keep the runtime dependencies
for nativesdk package the same with the target one. The native package and
the target package's dependencies remain the same as before.
(From OE-Core rev: b9f0c54fd8b4f5f157e5f088bb304ddab0387ae6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extend python3-pip to nativesdk because some nativesdk python3 packages
need it, e.g. nativesdk-python3-django from meta-python layer.
(From OE-Core rev: 31f1e5f438d19aa329e5f38b1ab4e7d521eff8a1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This SRCREV bump brings in support for the 4.12 Linux Kernel, this kernel
also has some newer CONFIG settings. The newer DEBUG_INFO and DEBUG_INFO_DWARF4
settings can be used with systemtap to get the full information. We do not
normally enabled these for a 'production' (standard) kernel, but can be
enabled via menuconfig.
When installing staprun and stapbpf on the target and native ensure we
don't try to create a new group and chown it. There is no need since we
will be running as root, so we add a patch to comment that code out.
(From OE-Core rev: 026403cc7f995ecc32a99f269399a08abc221c77)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Large portions of GIO are not that useful without the MIME database. Add a
recommends to shared-mime-info so that GIO works out of the box, but can be
removed (using BAD_RECOMMENDATIONS) if shared-mime-info is too large and isn't
required.
[ YOCTO #11792 ]
(From OE-Core rev: 51e4f9ca5368af5cefa26f4ca50b282e858982f8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also remove the redundant DEPENDS_class-native, as the native class generates
this value automatically.
(From OE-Core rev: 7d2d73bf5e9fba30ae79e535adff256b94248e62)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add lm-sensors PACKAGECONFIG option.
Change from setting LFLAGS="" to --disable-strip, otherwise lm-sensors will not link
properly.
(From OE-Core rev: ff9f629d70a9016f8f40d3d68c80111897c7a2c3)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
psplash-init exits if there is no framebuffer device detected.
This is done to avoid the following error message from
occurring when booting up:
"Error opening /dev/fb0: No such file or directory"
(From OE-Core rev: 2348dda6b8a86352e72ef41b24df3a19e8bc98ce)
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When all of the requested layers have unsatisfied dependencies, an error
can occur. Check for the condition to avoid the traceback:
Traceback (most recent call last):
File "../scripts/yocto-compat-layer.py", line 203, in <module>
ret = main()
File "../scripts/yocto-compat-layer.py", line 194, in main
if not results[layer_name].wasSuccessful():
AttributeError: 'NoneType' object has no attribute 'wasSuccessful'
(From OE-Core rev: 32c9b3d99a0c27f6736696082b9da812a8464bf8)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update-alternatives where using relative links so not being really
in use since December 2016 (see OE-Core:c7bc46b9 "kernel: Fix
symlinks") so instead we now generate the relative symlinks during the
do_install task and drop the update-alternatives use at all.
Acked-by: Saul Wold <sgw@linux.intel.com>
(From OE-Core rev: 10a1b293191268e6792ac8e27bd6427f1974c7ce)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch in this Bugzilla entry was requested by a customer:
https://sourceware.org/bugzilla/show_bug.cgi?id=4578https://www.sourceware.org/bugzilla/show_bug.cgi?id=19282
If a thread happens to hold dl_load_lock and have r_state set to RT_ADD or
RT_DELETE at the time another thread calls fork(), then the child exit code
from fork (in nptl/sysdeps/unix/sysv/linux/fork.c in our case) re-initializes
dl_load_lock but does not restore r_state to RT_CONSISTENT. If the child
subsequently requires ld.so functionality before calling exec(), then the
assertion will fire.
The patch acquires dl_load_lock on entry to fork() and releases it on exit
from the parent path. The child path is initialized as currently done.
This is essentially pthreads_atfork, but forced to be first because the
acquisition of dl_load_lock must happen before malloc_atfork is active
to avoid a deadlock.
The __libc_fork() code reset dl_load_lock, but it also needed to reset
dl_load_write_lock.
(From OE-Core rev: f2e586ebf59a9b7d5b216fc92aeb892069a4b0c1)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current implementation does not handle possible exceptions coming from child
processes, the latter responsible for creating packages. With the aim to have more
control, use pipes to communicate exceptions and stop package creation in case
of failure.
Helps to debug [YOCTO #12012].
(From OE-Core rev: 11350a67ba137f560d04aa643ff500a7ff112c73)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Redirecting stderr to stdout helps debugging issues, i.e instead of just
getting the return code, get also the error log from the pkg manger
This commit is in the way to figure out the root cause of [YOCTO #12012],
where dpkg-deb fails with a 2 return code and according to the man page,
there are multiple issues leading to the same code.
(From OE-Core rev: 9ff023fb26f5f0ce19e757beda00ccc32c009b21)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* QA check which aren't included in WARN_QA and ERROR_QA are shown
during the build only as NOTE message (not shown at all with default
knotty setting), so it might be surprising to see them later in qa.log
file
(From OE-Core rev: 35ab2c7b08359f22f74106339841f8134123adf4)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure we capture stderr, always write the output to the log, and don't be so
emotional in the warning message.
(From OE-Core rev: 87110e971c548d9d3eb7296ea6772d18e0226e53)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having these the initramfs-framework recipe forced initramfs-framework
users to build several tools they didn't need, and made it more
difficult to declare the recipe as allarch.
Fixes [YOCTO #12024].
(From OE-Core rev: e4cc1a22dd4fc9b3b12808c86213eb613f1ecb51)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ${nonarch_base_libdir}/udev instead. This avoids problems when
usrmerge is enabled in DISTRO_FEATURES and udev support is disabled.
(From OE-Core rev: 0a4372705a030ca54ed420cdfec33d46ab93499c)
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>
The recipeinc method returns the absolute path of the test_recipe.inc
file of a specified recipe. It replaces four instances of identical
code, and make it possible to access the filename from a testcase for
cleanup.
The write_recipeinc and append_recipeinc methods are changed to return
the path to the file in case that is useful.
The test_recipe.inc file is usually cleaned up in a finally block,
but that block executes before any teardown operations. This blocks
any teardown that requires the presence of the test_recipe.inc file.
(From OE-Core rev: cdb431676456f47da1a3b70caddf49f083948798)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ask QEMU to store the QEMU process PID in a file, this way we don't
have to parse running processes and analyze descendents.
This is done via QEMU command line argument "-pidfile".
[YOCTO #12001]
(From OE-Core rev: 67612dcd2a8a1aa1d683dddb0bd2f592886ff020)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python unittest intercepts stdout and stderr however qemurunner sets
up a streamhandler before that interception occurs, hence the messages
spam the unittest output.
By moving the logging init to the class init time, we use the unittest
stdout/stderr and this means unittest can only show the log output upon
failure. This cleans up the selftest and testimage output whilst still
showing logging upon failure.
(From OE-Core rev: 9099cecc727fe0ae5f1559582426d30ba7a9f4d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the Toaster stable release selection to 'Rocko' and
the bitbake version to '1.36'.
[YOCTO #12037]
(Bitbake rev: ed3aab90dbf9b6efefd9eb66d81123cb94d3c7da)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stop the pending build and report to the user if there is
an internal exception due to a git error, a bitbake server
error, or if the server-only mode halts due to for example
a user syntax error in a layer or recipe.
These exceptions were not caught because they occure before
the normal toastergui processing was started.
[YOCTO #12056]
(Bitbake rev: 2cd664097c29ad07b08c82d07a239ca199abbc9a)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is a network failure the return value from latest_versionstring() is
('','') which later causes an exception when comparing versions.
Improve this by checking the return value and failing the test early.
[ YOCTO #12053 ]
(Bitbake rev: 3f034d2172bf64ecc43577b43e0cf032a54b1358)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since 2017-08-17 (git version 2.14.1.473.g3ec7d702a) using deprecated
git branch parameter "--set-upstream" causes a fetcher error. Replace
it by "--set-upstream-to".
https://git.kernel.org/pub/scm/git/git.git/commit/?id=52668846ea2d41ffbd87cda7cb8e492dea9f2c4d
says, it's deprecated since 2012-08-30 so hopefully all still supported
host distributions have new enough git to support "--set-upstream-to".
ERROR: PACKAGE do_unpack: Fetcher failure: ...;
git -c core.fsyncobjectfiles=0 branch --set-upstream master origin/master failed with exit code 128, output:
fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
ERROR: PACKAGE do_unpack: Function failed: base_do_unpack
(Bitbake rev: 2ab50074c1a6c56a8a178755de108447d7b7acaf)
Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
48d39cf43b added "opengl" PACKAGECONFIG option to mesa: before that
the configuration was always enabled. "opengl" should have been added
to mesa-gl default PACKAGECONFIG but wasn't: do it now.
(From OE-Core rev: cc319b6dcc5b4a5019fb91c9771b12ce17f3c953)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a fix already merged upstream in master and 1.12 branch, it fixes 4K video
playback on any platform that uses v4l2 codecs, such as Dragonboard 820c.
(From OE-Core rev: b662944b28080dfb68833d4a81655262b04ada67)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For systems that don't otherwise depend on the full
util-linux package, ionice is a mere 31k (on mipsel).
(From OE-Core rev: 50d6f2c21eca162b82d5cbe135b87c1b1ea871b9)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While poky master branch has been fixed so that all CVE patch files have
the:
CVE: CVE-2017-1234556
strings in the patch comments, many older versions of poky and other meta
layers are not, but the CVE patches quite often have the CVE id in the
patch file name.
If the CVE: string also found, there are no duplicates in the report.
(From OE-Core rev: 5ee5b0c66627c9e974c838b86e2e659c2f601f2a)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_rootfs log contains a number of unsatisfied package
recommendations. At the moment those are only visible when
reviewing the rootfs log.
This patch adds an extra check to surface any unsatisfied
recommendation as WARNINGS to the build output.
Enable this check with:
ROOTFS_POSTPROCESS_COMMAND += "rootfs_log_check_recommends;"
(From OE-Core rev: 9d049bf7941f30e35c51775684559e95185fba96)
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multi-threaded applications using libcurl crash
on DNS timeouts when built using OE.
The reason is as follows:
By default, libcurl implements DNS timeouts using a
timer (alarm()) and a pair of setjmp()/longjmp().
This approach is unsafe in multi-threaded applications
for various reasons, as e.g. explained in the relevant
man-pages.
To avoid this, libcurl can be compiled with a built-in
threaded resolver, or against the c-ares asynchronous
resolver library.
To keep extra dependencies to a minimum, and to mimic
other distributions (debian at least), and because
c-ares is not available in OE-core, add a PACKAGECONFIG
to be able to enable use of of the built-in threaded
resolver and enable it by default.
(From OE-Core rev: 41f1e44fce976c4140cda62a41349e91e69d04ef)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the UI disconnects, we can throw away any server-side remote
datastores we created in response to calls from the UI, and we *must*
drop everything in extraconfigdata or it will taint any future
operations.
Dropping extraconfigdata upon disconnect fixes taskhash mismatch errors
when running devtool.DevtoolTests.test_devtool_update_recipe_local_files
within oe-selftest with BB_SERVER_TIMEOUT=100 in OpenEmbedded.
(Bitbake rev: 1ca2eec459424892391f060442ef38cf28d6a54a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have a layer with a blank BBFILE_PATTERN the layer was ignored
when processing the list of layers with priorities. This list is not
only used for processing recipes, but also by additional programs such
as bitbake-layers show-layers.
Without this change, a layer that provides configuration or classes
only does now show up in show-layers, which is used by the
yocto-compat-layer.py script. This causes a failures in the compatibility
check.
(Bitbake rev: a0eaf8c0f228f984bafff09e4e9739f758dc1a9b)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're implementing reset() in SignatureGenerator at all (and we need
to for a basic non-OE BitBake setup where that is the default signature
generator), then we need it to be clearing out the internal values
properly.
(Bitbake rev: 13f52d38fdbcb84c2a0c46f85baa44b22d53fdc1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list of columns in the many 'Edit Columns' pop-ups became unsorted
with the 'Toaster Table' implementation. These entries need to be
gathered and sorted in the column processing.
[YOCTO #12004]
(Bitbake rev: 17aa1ef8f0a00dd3456aac199e558a2f96bf7ad9)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default layers are missing the recipe link definitions in
the fixture files, and because they are predefined they do not
get the updated information from the Layer Index.
[YOCTO #12006]
(Bitbake rev: 2ff5592baf011de9c778d3c2481b8ed3912f1a4b)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file "lsupdates.py" is missing the import of 'ToasterSetting',
and that breaks setting up and updating Toaster and its database.
[YOCTO #12036]
(Bitbake rev: d4aef1f1f03d88acc76423b55d8bd6c137f66f44)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If no external layers are defined, pokydirname is not set. Rectify
this by taking the 'be.sourcedir' as the pokydirname.
[YOCTO #12015]
(Bitbake rev: 3b0f04c7b00aaf44ba146c432fcb5d6fd7dafcea)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One of the debug messages during build contains a list of all layers
but without spaces or other separators between them. Use pformat
instead.
[YOCTO #12014]
(Bitbake rev: 9fe38f94b54a8644ac6f493c49e63dd6da5bfbdf)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build page provides tables related to performance that
cover build time, CPU time and disk IO. The "Edit columns"
drop down does not allow selection of the Order column and
makes it hidden as well which is not accurate from user
interaction point of view.
This patch enables the hideable property for the Order column
so it is hidden by default but the user can enable it through
the drop down if need be.
[YOCTO #11040]
(Bitbake rev: 1f1cc1edb21aeec684ef7323554794b33d84d414)
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 must be at least one FSTYPE selected in the Toaster bitbake
variable editor page. When the user deselects all the "Save"
button gets disabled, but the error message is missing.
[YOCTO #8126]
(Bitbake rev: 193577655b7491126ca5fa91fa76d79329e900c2)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We do not want to mix traditional kernel development with
kernel development using devtool. This reference implied that
was okay to do.
(From yocto-docs rev: 38c3a5d3b47e15880ca10ed30ae4a450ecc851cd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bare clone setup is no longer recommended or necessary for
traditional kernel development. All that is required is to
clone the kernel Git repo locally.
(From yocto-docs rev: cbe6d79da4fc2d5bba530b0fe6abead7783bdfbe)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed spelling warning that was underlining "BSP" in the figure
(From yocto-docs rev: 354fe8c39057ab3aec24474ead65d2d13a5bb3b7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A work-in-progress of an example that modifies the kernel
using the devtool. The procedure is not complete yet as it
does not run properly.
(From yocto-docs rev: 462ba2e46f237c294f05805ad5044291a085975d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The end of this section did not direct the user to the next
logical step for preparing a development host. I added a
paragraph to guide the user to the next area they would need
to read based on their development methods.
(From yocto-docs rev: 4a1aa7800e7bca82dddef0ed83e14e075b3aa9f2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed [YOCTO #11970]
Updated the field description for "Specify Sysroot Location" to
note that the user can have this either downloaded or built and
the ramifications of using a downloaded root filesystem.
Updated the "Deploying and Debugging the Application" steps for
both supported Eclipse versions to tell the user what to do if
a browse operation fails or times out.
(From yocto-docs rev: 623000af186cb5632af551f95384d4c96d4d6c54)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added new description and created a link for an
existing occurance of the variable.
(From yocto-docs rev: 9ab6e6aed685c9419cb7df3df3ab029033d9ba0e)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated two instances of "sysroot-components" to
"sysroots-components".
(From yocto-docs rev: 035be964e6f345c058c1dacbb58b09745e8f827d)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the step to include proper links and verbiage for
setting up the system for YP development.
(From yocto-docs rev: d5d908847d66178a995d2be985c605e6a5c48d76)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual had a place-holder section for getting the
build host ready for using YP and then doing kernel
development. This stuff is better suited for the actual
kernel development manual. I moved the section. Moving
created several broken links in the manual set that had to
be fixed.
In the dev-manual, I updated the introductory list to include
the newly moved kernel stuff.
(From yocto-docs rev: 2e21260bb5f84e9e30eb353ec841d5962e8a7642)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure "figures/kernel-overview-2-generic.png" was missing
the ".png" suffix in the TARFILES statment. This was throwing
an error during the make process for the manual. Probably an
error for quite some time and not noticed. I added the suffix
to remove the make early exit error.
(From yocto-docs rev: 00ad7874f8da149f193caeab8fd89bbf6d8132d7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I moved the section on preparing a build host to use the
Eclipse IDE and placed it as introductory text for the
section that talks about getting the system ready for either
native Linux or CROPS use to use YP.
I also created as part of that list, links to the BSP manual
where I now talk about getting the system ready for BSP
development.
(From yocto-docs rev: f5b5d27ea5036792a96c0a42a3d7513a2a57a4b0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The YP Development Manual had some build host preparation steps
as part of the chapter that talks about getting a host ready
for using YP. These steps are better suited in the BSP Guide.
I moved them there and filled out the steps to be more complete.
(From yocto-docs rev: 2277812d0dd411a103a4a4252d4cb90c471901c9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved the "Patching the Kernel" section, which was in the
dev-manual to the kernel-dev manual. During the move,
renamed the section to "Using devtool to Patch the Kernel".
This move bothered a lot of links so I had to fix them in
various manuals.
(From yocto-docs rev: a000be1eddf33e4d7de8f350e076d48e27ca4b98)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The steps needed updated to reflect the introduction of CROPS
as a way to prepare a build host.
(From yocto-docs rev: 8f52372afad4c32d0b895a88c2298625e7f53da3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These references now go to the ref-manual and not the
dev-manual.
(From yocto-docs rev: e58681488c307ba1daf2e10423e56b7d3ec486b8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the introduction of CROPS as a way to set up the build
system, I had to alter the first bullet of the BSP workflow
list and the figure.
(From yocto-docs rev: f1db3db4053142619c62629d4b05023f0b148e6c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have CROPS as an option, the step for preparing
your build host is condenced to include cloning poky. This
resulted in removal of step 2 and updating of the figure.
(From yocto-docs rev: 903d1f98b736a744de1d9c973f7a96b6a92049b5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section failed to mention the "yocto-layer create" script,
which is a simple way to create a layer. I have added this info
into the section by way of a "Tip" box.
(From yocto-docs rev: cf204f2b72b1da0104315f54cfe55c3f1eaf0f96)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced "recipe_work_directory" with "${WORKDIR}"
throughout the section.
(From yocto-docs rev: a961cf07cd18d06e0c6399a10dc40c0d4143c23f)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated text for sysroot terminology, and clarity.
Fixed a capitalization error.
(From yocto-docs rev: 4eea6497663efc937cddf4700298f5824ade7b47)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section on recipe syntax that was buried in the creating a
new recipe section was really a reference on syntax. I have moved
it to the ref-manual.
(From yocto-docs rev: cb55d1b5832cca6faa6e2a5b26f3add3032cade2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4.9, 4.10 and 4.12. Also
set the default kernel to 4.12.
(From meta-yocto rev: 4e0ada1132db54a1723e3a603fa99b0b8ddf29eb)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BB_SERVER_TIMEOUT=100 oe-selftest -r bblayers
was failing and highlighted that since parseConfiguation clears data
structures, it needs to also clear parsecache_valid as it no longer
contains correct data.
(Bitbake rev: 7234f33a7eb38ad51a8345f6689bc26e29f29f92)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I can't actually see how this was working, nothing connected the commandline option
to the data in TaskData(). Drop the remaining pieces of this option, it was a relic
from a decade ago and we want deterministic builds, not random tries until something
might work.
(Bitbake rev: 767c7ba8fc76ec667ac1567de1c971c3575f2ecd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The top level LICENSE file is not actually a license, it refers
other licenses that are used by Bitbake and Meta-data. Relying
on this file could cause problems for recipes when this file
changes, which it is about to.
(From OE-Core rev: a1948ab38c9cb7f0b16cce9dadc03ae6e2fe44ad)
(From OE-Core rev: dd75644db2f662f0d88529a068bbfb599c9790a9)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perl dependencies may look as "Perl(Foo::Bar)", but dpkg does not
support the non-alphanumeric characters. There was already special
handling present for turning '(' and ')' into '__'. This change does
the same for ':'.
(From OE-Core rev: a34e397095a9c2f8d0af1168ceab295af659242d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The silent rpmdeps failures fixed in a preceeding commit mean we
need to rerun all packaging.
(From OE-Core rev: 77abe012c496a85f56191abc769a7da07e9f8c0e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When systemd is used, it will invoke a service on first boot that triggers
a rebuild of ldconfig caches (rebuild dynamic linker cache).
This is fine on the first boot of a system that has been installed, but it
makes no sense on a live system. The worst part is that rebuilding this
caches is slow and it causes the live system to take longer to boot.
(I measured this in 30 seconds longer on a standard PC system booting
core-image-sato live from an USB memory).
Disable this by touching /etc/.updated and /var/.updated on the live initramfs.
For more details see https://bugzilla.redhat.com/show_bug.cgi?id=1201725 and
https://www.freedesktop.org/software/systemd/man/systemd-update-done.service.html
(From OE-Core rev: d73493e63c506dca0e767ff183ca36bc48c2f03e)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
acpixtract is both provided by acpica and pmtools, so use
update-alternatives to fix conflicts:
| file /usr/bin/acpixtract conflicts between attempted installs of
pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20170303-r0.i586
(From OE-Core rev: 250085877f9191eb304bd9ff8327cd260a31e74b)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If this fails the exception will now be raised. Lets use that and drop
all this 'None' return value ugliness.
(From OE-Core rev: b3c63b3b816179b96f1ed9b5baaf6e1f1c3c7b80)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a logic error in the dependency cleanup code which meant
it would remove dependencies which other tasks still depended upon.
Fix the path names so the comparisions work as intended.
This fixes dependencies accidentally disappearing from sysroots
under certain reconfiguration situations.
(From OE-Core rev: 1634fe5148b3501f2c1b75cf7fb704a2ef60424e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently exceptions that happen in pool commands are ignored. Any errors
would be printed on the console but everything else is silent.
Switch to use pool.map_async which allows for an error_callback which
we can use to detect exceptions and make sure these errors are handled.
(From OE-Core rev: 7f2f9b3ff011b340b5d23bb7c47b12c357dc9f02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the exit code of the spawned program isn't checked so it can
fail and the do_package task will continue merrily upon its way.
Use subprocess.check_output() to ensure we check the exit code and
redirect stderr to stdout so if it fails, we see the error output.
We can then drop the existing exception handling as the subprocess
exception gives a much better error.
(From OE-Core rev: ce11cb449222bc47fea4f6d66ff1cc7cdc529ab9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a compile code fragment that has an elf signature, it needs to be
updated for the newer tools.
After 2.4 we will be removing the elf Image type as it has been expunged
from the coreboot repo since 2014.
[YOCTO #11967]
(From OE-Core rev: 66f7ec30a05639739208bb921b689e94b2c880a3)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes CVE-2017-2885 (stack overflow with HTTP chunked encoding), no other
relevant changes.
(From OE-Core rev: 56d25765641acaadc21391bd7b00187cf0f4ffe0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove recipes for older versions.
Remove patches no longer needed.
Modify the patch "add-ptest-in-makefile.patch" for version 2.10.0
(From OE-Core rev: 22593f3dd95dd332d2f89429c7de2cb5a09aa3e9)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg releases with the following commit summary:
717bd21f81a3 Linux 4.4.85
12b25d2a52f0 ACPI / APEI: Add missing synchronize_rcu() on NOTIFY_SCI removal
b526de00a9b0 ACPI: ioapic: Clear on-stack resource before using it
4e5f2c204150 ntb_transport: fix bug calculating num_qps_mw
1aac8ffd619f ntb_transport: fix qp count bug
4ec0b2c2d235 ASoC: rsnd: don't call update callback if it was NULL
95fc5ef85428 ASoC: rsnd: ssi: 24bit data needs right-aligned settings
fd504621fa52 ASoC: rsnd: Add missing initialization of ADG req_rate
e974777b2ecb ASoC: rsnd: avoid pointless loop in rsnd_mod_interrupt()
fdc568a4224a ASoC: rsnd: disable SRC.out only when stop timing
bfba69dc30ab ASoC: simple-card: don't fail if sysclk setting is not supported
eb2ba09b05a6 staging: rtl8188eu: add RNX-N150NUB support
1d7e8cf01e2e iio: hid-sensor-trigger: Fix the race with user space powering up sensors
d2c072cb638d iio: imu: adis16480: Fix acceleration scale factor for adis16480
9dac44d5d4b0 ANDROID: binder: fix proc->tsk check.
1792d6c17cb2 binder: Use wake up hint for synchronous transactions.
596b97ec2e5e binder: use group leader instead of open thread
e1c7a4478833 Bluetooth: bnep: fix possible might sleep error in bnep_session
f9adf422b993 Bluetooth: cmtp: fix possible might sleep error in cmtp_session
172bbb8ee44a Bluetooth: hidp: fix possible might sleep error in hidp_session_thread
708d19eaf303 perf/core: Fix group {cpu,task} validation
87ac57ff972a nfsd: Limit end of page list when decoding NFSv4 WRITE
e6066962ca46 cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup()
210b41b4971e cifs: Fix df output for users with quota limits
9f57741b44ba tracing: Fix freeing of filter in create_filter() when set_str is false
0d2b7767611f drm: rcar-du: Fix H/V sync signal polarity configuration
64f3c534e7ac drm: rcar-du: Fix display timing controller parameter
fbf583912145 drm: rcar-du: Fix crash in encoder failure error path
766a097cbfea drm: rcar-du: lvds: Rename PLLEN bit to PLLON
2b60c153ff3d drm: rcar-du: lvds: Fix PLL frequency-related configuration
3416ee45a8cb drm/atomic: If the atomic check fails, return its value first
2a9d7664ffb2 drm: Release driver tracking before making the object available again
33e4c6378417 i2c: designware: Fix system suspend
10814c149eeb ARCv2: PAE40: Explicitly set MSB counterpart of SLC region ops addresses
6b1c81dd7fdb ALSA: hda - Add stereo mic quirk for Lenovo G50-70 (17aa:3978)
099e57fcb03f ALSA: core: Fix unexpected error at replacing user TLV
07051c175477 Input: elan_i2c - add ELAN0602 ACPI ID to support Lenovo Yoga310
5609ae96bcd6 Input: trackpoint - add new trackpoint firmware ID
a56800ae1c57 mei: me: add lewisburg device ids
707352e68745 mei: me: add broxton pci device ids
58079f56b302 net_sched: fix order of queue length updates in qdisc_replace()
248af6aa226c net: sched: fix NULL pointer dereference when action calls some targets
eece6c91dd33 irda: do not leak initialized list.dev to userspace
4e39b7409f3b tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP
ece3ff173731 ipv6: repair fib6 tree in failure case
6415a71ddf15 ipv6: reset fn->rr_ptr when replacing route
69827c395d25 tipc: fix use-after-free
0e8d62861552 sctp: fully initialize the IPv6 address in sctp_v6_to_addr()
1bd54371388c ipv4: better IP_MAX_MTU enforcement
7e1fe0062c24 net_sched/sfq: update hierarchical backlog when drop packet
114414b85475 ipv4: fix NULL dereference in free_fib_info_rcu()
c207ec46b301 dccp: defer ccid_hc_tx_delete() at dismantle time
c65eca7ddd88 dccp: purge write queue in dccp_destroy_sock()
f0cd9201c0c0 af_key: do not use GFP_KERNEL in atomic contexts
982ce2aa79fb Linux 4.4.84
ccf1033d9983 usb: qmi_wwan: add D-Link DWM-222 device ID
6b4509223681 usb: optimize acpi companion search for usb port devices
ce1b98a30571 perf/x86: Fix LBR related crashes on Intel Atom
b4cf49024cf4 pids: make task_tgid_nr_ns() safe
46d51a26efbc Sanitize 'move_pages()' permission checks
b27e9ff9a5f4 irqchip/atmel-aic: Fix unbalanced refcount in aic_common_rtc_irq_fixup()
ed281a6acaf1 irqchip/atmel-aic: Fix unbalanced of_node_put() in aic_common_irq_fixup()
64340986295d x86/asm/64: Clear AC on NMI entries
c0b397fd6b2b xen: fix bio vec merging
240628085eff mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes
cc971fa12bd2 mm/mempolicy: fix use after free when calling get_mempolicy
669c8ab896a2 ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices
f600f9c43346 ALSA: usb-audio: Apply sample rate quirk to Sennheiser headset
735aa043bf00 ALSA: seq: 2nd attempt at fixing race creating a queue
ae4743cac8d7 Input: elan_i2c - Add antoher Lenovo ACPI ID for upcoming Lenovo NB
0dbf7f7811df Input: elan_i2c - add ELAN0608 to the ACPI table
4362533a0468 crypto: x86/sha1 - Fix reads beyond the number of blocks passed
04f4f73ffe93 parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo
ea088172692c audit: Fix use after free in audit_remove_watch_rule()
b72f1119c654 netfilter: nf_ct_ext: fix possible panic after nf_ct_extend_unregister
425fdd287e9b Linux 4.4.83
792f1fe5ec55 pinctrl: samsung: Remove bogus irq_[un]mask from resource management
6f51066b3797 pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver
8bb6ef68655e pnfs/blocklayout: require 64-bit sector_t
7b5a9de376b8 iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits
567a21de8531 usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume
dd3a2a08943f usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter
921a1ed2a11a usb: core: unlink urbs from the tail of the endpoint's urb_list
bc2f02f74549 USB: Check for dropped connection before switching to full speed
ed4f50eec60f uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069
dedeba47c51a iio: light: tsl2563: use correct event code
dfb5cc919c61 iio: accel: bmc150: Always restore device to normal mode after suspend-resume
c5f6f4fe1c09 staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read
dc978e9b65ab USB: hcd: Mark secondary HCD as dead if the primary one died
8b278516e5e3 usb: musb: fix tx fifo flush handling again
8a0c225613c2 USB: serial: pl2303: add new ATEN device id
31c9287b9430 USB: serial: cp210x: add support for Qivicon USB ZigBee dongle
9cb43dec24e0 USB: serial: option: add D-Link DWM-222 device ID
a89843a80bd4 nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays
7271d130b5dc fuse: initialize the flock flag in fuse_file on allocation
b89e781dab24 iscsi-target: Fix iscsi_np reset hung task during parallel delete
3afc4e9273de iscsi-target: fix memory leak in iscsit_setup_text_cmd()
9ea732ebb53f mm: ratelimit PFNs busy info message
97e371409da7 cpuset: fix a deadlock due to incomplete patching of cpusets_enabled()
4e2e415f4cc1 Linux 4.4.82
fab61468402b net: account for current skb length when deciding about UFO
96cdeaa3af8f ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output
d45aabadbcb9 mm/mempool: avoid KASAN marking mempool poison checks as use-after-free
7e86f2d55f66 KVM: arm/arm64: Handle hva aging while destroying the vm
6fe71ca3cb3c sparc64: Prevent perf from running during super critical sections
938990d2433c udp: consistently apply ufo or fragmentation
98c1ad1edfe8 revert "ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output"
54fc0c32307d revert "net: account for current skb length when deciding about UFO"
63364a508d24 packet: fix tp_reserve race in packet_set_ring
37d5c6e8d38d net: avoid skb_warn_bad_offload false positives on UFO
8607d550847f tcp: fastopen: tcp_connect() must refresh the route
40fc2b4451a2 net: sched: set xt_tgchk_param par.nft_compat as 0 in ipt_init_target
d0da2877d421 bpf, s390: fix jit branch offset related to ldimm64
4e0675f44b89 net: fix keepalive code vs TCP_FASTOPEN_CONNECT
025bb7f7e92c tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states
2ab639c7e2d1 Linux 4.4.81
34a08ae493f1 workqueue: implicit ordered attribute should be overridable
0c787041504e net: account for current skb length when deciding about UFO
12b8f014a394 ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output
78c04996b588 mm: don't dereference struct page fields of invalid pages
bbe660db23e4 signal: protect SIGNAL_UNKILLABLE from unintentional clearing.
623f4fcd947e lib/Kconfig.debug: fix frv build failure
9c83b97bdeab mm, slab: make sure that KMALLOC_MAX_SIZE will fit into MAX_ORDER
5205f5216c6a ARM: 8632/1: ftrace: fix syscall name matching
874f22658c54 virtio_blk: fix panic in initialization error path
c9e4ee445752 drm/virtio: fix framebuffer sparse warning
1e43b2d06474 scsi: qla2xxx: Get mutex lock before checking optrom_state
a98737110659 phy state machine: failsafe leave invalid RUNNING state
db01878ca5dd x86/boot: Add missing declaration of string functions
032422cca86d tg3: Fix race condition in tg3_get_stats64().
93585e813588 net: phy: dp83867: fix irq generation
41433e314b77 sh_eth: R8A7740 supports packet shecksumming
50231cef2d6f wext: handle NULL extra data in iwe_stream_add_point better
cada8caa2655 sparc64: Measure receiver forward progress to avoid send mondo timeout
7c37101cd650 xen-netback: correctly schedule rate-limited queues
2933fb22de6d net: phy: Fix PHY unbind crash
a8f1b40bb2da net: phy: Correctly process PHY_HALTED in phy_stop_machine()
dc4132791a50 net/mlx5: Fix command bad flow on command entry allocation failure
de6669607a45 sctp: fix the check for _sctp_walk_params and _sctp_walk_errors
2bac20a4ae9c sctp: don't dereference ptr before leaving _sctp_walk_{params, errors}()
dd4edbcbb760 dccp: fix a memleak for dccp_feat_init err process
adcc87858e09 dccp: fix a memleak that dccp_ipv4 doesn't put reqsk properly
c3278ed37d3e dccp: fix a memleak that dccp_ipv6 doesn't put reqsk properly
91c5aa7ea073 net: ethernet: nb8800: Handle all 4 RGMII modes identically
d1ed1f8ae487 ipv6: Don't increase IPSTATS_MIB_FRAGFAILS twice in ip6_fragment()
499338964af8 packet: fix use-after-free in prb_retire_rx_blk_timer_expired()
23f787ceebf8 openvswitch: fix potential out of bound access in parse_ct
6d1e34ee278f mcs7780: Fix initialization when CONFIG_VMAP_STACK is enabled
d0594690a9ee rtnetlink: allocate more memory for dev_set_mac_address()
31afa8b5edf9 ipv4: initialize fib_trie prior to register_netdev_notifier call.
f09db7559c1f ipv6: avoid overflow of offset in ip6_find_1stfragopt
e9b2f4617a4e net: Zero terminate ifr_name in dev_ifname().
c10e874bc3a5 ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check()
deae9956cfb4 saa7164: fix double fetch PCIe access condition
e0f39019aa3f drm: rcar-du: fix backport bug
76517ed2a7fe f2fs: sanity check checkpoint segno and blkoff
c7c6f63dbc67 media: lirc: LIRC_GET_REC_RESOLUTION should return microseconds
f1181047ff29 mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving stale TLB entries
9745cbec9c1f iser-target: Avoid isert_conn->cm_id dereference in isert_login_recv_done
ae059833646f iscsi-target: Fix delayed logout processing greater than SECONDS_FOR_LOGOUT_COMP
bf54cf1ede97 iscsi-target: Fix initial login PDU asynchronous socket close OOPs
cf4ab9d57cbe iscsi-target: Fix early sk_data_ready LOGIN_FLAGS_READY race
119903dc36d3 iscsi-target: Always wait for kthread_should_stop() before kthread exit
2bf7791c6a5e target: Avoid mappedlun symlink creation during lun shutdown
fa95dfc750fb media: platform: davinci: return -EINVAL for VPFE_CMD_S_CCDC_RAW_PARAMS ioctl
3c2bf2bd8829 ARM: dts: armada-38x: Fix irq type for pca955
31cd127ca69a ext4: fix overflow caused by missing cast in ext4_resize_fs()
bad9f6142ce1 ext4: fix SEEK_HOLE/SEEK_DATA for blocksize < pagesize
12f60018f63b mm/page_alloc: Remove kernel address exposure in free_reserved_area()
bbccdb1e442b KVM: async_pf: make rcu irq exit if not triggered from idle task
7de8d0c06e56 ASoC: do not close shared backend dailink
458c8be4e208 ALSA: hda - Fix speaker output from VAIO VPCL14M1R
c59eec4dad4a workqueue: restore WQ_UNBOUND/max_active==1 to be ordered
8ecd8cff92a8 libata: array underflow in ata_find_dev()
09e69607e47c Linux 4.4.80
2f8e6140bb6a ASoC: dpcm: Avoid putting stream state to STOP when FE stream is paused
32b850a626c5 scsi: snic: Return error code on memory allocation failure
27eb77b5544e scsi: fnic: Avoid sending reset to firmware when another reset is in progress
0866aed4fa64 HID: ignore Petzl USB headlamp
cab7c045f5fd ALSA: usb-audio: test EP_FLAG_RUNNING at urb completion
8ced91a2e920 sh_eth: enable RX descriptor word 0 shift on SH7734
fe1da3b785b3 nvmem: imx-ocotp: Fix wrong register size
e76426857b3e arm64: mm: fix show_pte KERN_CONT fallout
dc48ebe33063 vfio-pci: Handle error from pci_iomap
93794239c6b9 video: fbdev: cobalt_lcdfb: Handle return NULL error from devm_ioremap
1286e959a59a perf symbols: Robustify reading of build-id from sysfs
cc8b62fce96b perf tools: Install tools/lib/traceevent plugins with install-bin
ce9b76665ecd xfrm: Don't use sk_family for socket policy lookups
4b8adea2e3cd tools lib traceevent: Fix prev/next_prio for deadline tasks
786fd31f6001 Btrfs: adjust outstanding_extents counter properly when dio write is split
7ea3cc440ec9 usb: gadget: Fix copy/pasted error message
f4a42f8492bd ACPI / scan: Prefer devices without _HID/_CID for _ADR matching
8c065e76fbc5 ARM: s3c2410_defconfig: Fix invalid values for NF_CT_PROTO_*
fcee67d7d618 ARM64: zynqmp: Fix i2c node's compatible string
4bd1d0b1a170 ARM64: zynqmp: Fix W=1 dtc 1.4 warnings
a07d8c131898 dmaengine: ti-dma-crossbar: Add some 'of_node_put()' in error path.
328a9cdcbab9 dmaengine: ioatdma: workaround SKX ioatdma version
6c0d9f0212f8 dmaengine: ioatdma: Add Skylake PCI Dev ID
65dab1d8af6c openrisc: Add _text symbol to fix ksym build error
4c1ea6a51acd irqchip/mxs: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND
1a734b39857e ASoC: nau8825: fix invalid configuration in Pre-Scalar of FLL
152684089ea3 spi: dw: Make debugfs name unique between instances
dc19e98eb86e ASoC: tlv320aic3x: Mark the RESET register as volatile
fc6c41f0b921 irqchip/keystone: Fix "scheduling while atomic" on rt
1704a9695062 vfio-pci: use 32-bit comparisons for register address for gcc-4.5
7de922c14e83 drm/msm: Verify that MSM_SUBMIT_BO_FLAGS are set
b54e58ccceb7 drm/msm: Ensure that the hardware write pointer is valid
cbc80312fd70 net/mlx4: Remove BUG_ON from ICM allocation routine
386504004504 ipv6: Should use consistent conditional judgement for ip6 fragment between __ip6_append_data and ip6_finish_output
ed3e4a435339 ARM: dts: n900: Mark eMMC slot with no-sdio and no-sd flags
7cff0699f47e r8169: add support for RTL8168 series add-on card.
6b99f1a84d5c x86/mce/AMD: Make the init code more robust
f7e0f7f86ce0 tpm: Replace device number bitmap with IDR
7e7892239327 tpm: fix a kernel memory leak in tpm-sysfs.c
366f50133bb6 xen/blkback: don't use xen_blkif_get() in xen-blkback kthread
53f577247738 xen/blkback: don't free be structure too early
62208707b466 sched/cputime: Fix prev steal time accouting during CPU hotplug
fa57125e8ec4 net: skb_needs_check() accepts CHECKSUM_NONE for tx
fa7773191046 pstore: Use dynamic spinlock initializer
9ece74e1006e pstore: Correctly initialize spinlock and flags
aca5b1e3c5b7 pstore: Allow prz to control need for locking
ff013a624258 vlan: Propagate MAC address to VLANs
e8aff6037318 /proc/iomem: only expose physical resource addresses to privileged users
14ae9c4b5ae2 Make file credentials available to the seqfile interfaces
b3ddb091c77f v4l: s5c73m3: fix negation operator
407669f2c9fe dentry name snapshots
9909e61c1006 ipmi/watchdog: fix watchdog timeout set on reboot
81845c2f61bf libnvdimm, btt: fix btt_rw_page not returning errors
c4af40a7218e RDMA/uverbs: Fix the check for port number
c7ca61734ba7 PM / Domains: defer dev_pm_domain_set() until genpd->attach_dev succeeds if present
0e0967e26241 sched/cgroup: Move sched_online_group() back into css_online() to fix crash
9402c6266704 kaweth: fix oops upon failed memory allocation
19ba0e65d60b kaweth: fix firmware download
658f9c65ee8c mpt3sas: Don't overreach ioc->reply_post[] during initialization
63c9c49c04a1 mailbox: handle empty message in tx_tick
21ab579fbae6 mailbox: skip complete wait event if timer expired
686494443dd3 mailbox: always wait in mbox_send_message for blocking Tx mode
461b44fdf02f wil6210: fix deadlock when using fw_no_recovery option
91cc72969137 ath10k: fix null deref on wmi-tlv when trying spectral scan
d4b159f14d61 isdn/i4l: fix buffer overflow
633763ed93c4 isdn: Fix a sleep-in-atomic bug
71a165f6397d net: phy: Do not perform software reset for Generic PHY
8335b312c7cc nfc: fdp: fix NULL pointer dereference
56548b6f505a xfs: don't BUG() on mixed direct and mapped I/O
eb0760deee89 perf intel-pt: Ensure never to set 'last_ip' when packet 'count' is zero
0ce32f8944c6 perf intel-pt: Use FUP always when scanning for an IP
33f3bc42fc23 perf intel-pt: Fix last_ip usage
01ac8afc6c8f perf intel-pt: Fix ip compression
8255d26322a3 drm: rcar-du: Simplify and fix probe error handling
5ec9d83b2b54 drm: rcar-du: Perform initialization/cleanup at probe/remove time
0354df9578b4 drm/rcar: Nuke preclose hook
b5a48676e7a2 Staging: comedi: comedi_fops: Avoid orphaned proc entry
0c335d55cee6 Revert "powerpc/numa: Fix percpu allocations to be NUMA aware"
fcd35f5a3f85 KVM: PPC: Book3S HV: Save/restore host values of debug registers
17d381054b1d KVM: PPC: Book3S HV: Reload HTM registers explicitly
f5b29db247d4 KVM: PPC: Book3S HV: Restore critical SPRs to host values on guest exit
339fa4af4133 KVM: PPC: Book3S HV: Context-switch EBB registers properly
29da136fbbd9 drm/nouveau/bar/gf100: fix access to upper half of BAR2
fde885f19986 drm/vmwgfx: Fix gcc-7.1.1 warning
376830c340ec md/raid5: add thread_group worker async_tx_issue_pending_all
2148e9ab0cac crypto: authencesn - Fix digest_null crash
c4efb7434a2a powerpc/pseries: Fix of_node_put() underflow during reconfig remove
fdbcb81b5a31 net: reduce skb_warn_bad_offload() noise
08408f7ae5cd pstore: Make spinlock per zone instead of global
b627f6001948 af_key: Add lock to key dump
e058f634852d Linux 4.4.79
9c839d00dc1b alarmtimer: don't rate limit one-shot timers
bb8109a9ca87 tracing: Fix kmemleak in instance_rmdir
6dbd8f73a28e spmi: Include OF based modalias in device uevent
29669d8e8f4c of: device: Export of_device_{get_modalias, uvent_modalias} to modules
4ca0f3730e27 drm/mst: Avoid processing partially received up/down message transactions
3d26e2ed7c8b drm/mst: Avoid dereferencing a NULL mstb in drm_dp_mst_handle_up_req()
3383334a6cf3 drm/mst: Fix error handling during MST sideband message reception
af7b187fe52f RDMA/core: Initialize port_num in qp_attr
ba790013b514 ceph: fix race in concurrent readdir
5af851adbeea staging: rtl8188eu: add TL-WN722N v2 support
45c59e792ce6 Revert "perf/core: Drop kernel samples even though :u is specified"
569da0be824b perf annotate: Fix broken arrow at row 0 connecting jmp instruction to its target
8d832513726d target: Fix COMPARE_AND_WRITE caw_sem leak during se_cmd quiesce
f57b4ae0b750 udf: Fix deadlock between writeback and udf_setsize()
d2fa4057b11e NFS: only invalidate dentrys that are clearly invalid.
bba6b69e1177 Input: i8042 - fix crash at boot time
775e4dba9d07 MIPS: Fix a typo: s/preset/present/ in r2-to-r6 emulation error message
f28e32a8e379 MIPS: Send SIGILL for linked branches in `__compute_return_epc_for_insn'
d2220e7f285b MIPS: Rename `sigill_r6' to `sigill_r2r6' in `__compute_return_epc_for_insn'
e5bf16f02945 MIPS: Send SIGILL for BPOSGE32 in `__compute_return_epc_for_insn'
4c7d28c1e99d MIPS: math-emu: Prevent wrong ISA mode instruction emulation
9dbca9e8a91a MIPS: Fix unaligned PC interpretation in `compute_return_epc'
aebb79634ff1 MIPS: Actually decode JALX in `__compute_return_epc_for_insn'
f87aa1203910 MIPS: Save static registers before sysmips
a0ee41298926 MIPS: Fix MIPS I ISA /proc/cpuinfo reporting
71de40fd4f64 x86/ioapic: Pass the correct data to unmask_ioapic_irq()
fa7ddee3485f x86/acpi: Prevent out of bound access caused by broken ACPI tables
62d131ec60cd MIPS: Negate error syscall return in trace
4d9f109ff9ca MIPS: Fix mips_atomic_set() with EVA
de34c0799d25 MIPS: Fix mips_atomic_set() retry condition
75202d3ffca4 ftrace: Fix uninitialized variable in match_records()
3457c0459496 vfio: New external user group/file match
db42944cc63a vfio: Fix group release deadlock
fca8859982fb f2fs: Don't clear SGID when inheriting ACLs
fa696eea4d8d ipmi:ssif: Add missing unlock in error branch
8878c53244f5 ipmi: use rcu lock around call to intf->handlers->sender()
89308cb841c6 drm/radeon: Fix eDP for single-display iMac10,1 (v2)
0157e2a8a719 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
ad2efae4613d drm/amd/amdgpu: Return error if initiating read out of range on vram
a89b6e355dae s390/syscalls: Fix out of bounds arguments access
098333918b4f Raid5 should update rdev->sectors after reshape
78de920bae8a cx88: Fix regression in initial video standard setting
5c7c179eb9e3 x86/xen: allow userspace access during hypercalls
78dce99f5497 md: don't use flush_signals in userspace processes
9b989b4d325b usb: renesas_usbhs: gadget: disable all eps when the driver stops
abe87c1c0dff usb: renesas_usbhs: fix usbhsc_resume() for !USBHSF_RUNTIME_PWCTRL
ff651e899073 USB: cdc-acm: add device-id for quirky printer
ab8e00991809 usb: storage: return on error to avoid a null pointer dereference
f883b509b48b xhci: Fix NULL pointer dereference when cleaning up streams for removed host
09364c783c84 xhci: fix 20000ms port resume timeout
82944485937a ipvs: SNAT packet replies only for NATed connections
48a72b55502c PCI/PM: Restore the status of PCI devices across hibernation
7ad6d36dc907 af_key: Fix sadb_x_ipsecrequest parsing
b8c6a93837f0 powerpc/asm: Mark cr0 as clobbered in mftb()
79afeb379cf4 powerpc: Fix emulation of mfocrf in emulate_step()
397722322954 powerpc: Fix emulation of mcrf in emulate_step()
3f888d1e40ad powerpc/64: Fix atomic64_inc_not_zero() to return an int
c50e87ecca55 iscsi-target: Add login_keys_workaround attribute for non RFC initiators
8045fe0a208c scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.
e114c612e225 PM / Domains: Fix unsafe iteration over modified list of domain providers
f422cfc38ecc PM / Domains: Fix unsafe iteration over modified list of device links
50b40109fada ASoC: compress: Derive substream from stream based on direction
c2d4d4fa320c wlcore: fix 64K page support
1e3b56033e82 Bluetooth: use constant time memory comparison for secret values
3762d7ed1a43 perf intel-pt: Clear FUP flag on error
b559fa787c62 perf intel-pt: Ensure IP is zero when state is INTEL_PT_STATE_NO_IP
2178b4aa56b7 perf intel-pt: Fix missing stack clear
a4ebb58fd124 perf intel-pt: Improve sample timestamp
5523884640e9 perf intel-pt: Move decoder error setting into one condition
ac8f07408acd NFC: Add sockaddr length checks before accessing sa_family in bind handlers
f71ce1c865cb nfc: Fix the sockaddr length sanitization in llcp_sock_connect
ecb7abed0be9 nfc: Ensure presence of required attributes in the activate_target handler
b57a72d5aaf8 NFC: nfcmrvl: fix firmware-management initialisation
5288f3f80c4c NFC: nfcmrvl: use nfc-device for firmware download
6e2b65dc2774 NFC: nfcmrvl: do not use device-managed resources
4798e468b37b NFC: nfcmrvl_uart: add missing tty-device sanity check
f4d41096f49e NFC: fix broken device allocation
5c2828839909 ath9k: fix tx99 bus error
a86c42f760ff ath9k: fix tx99 use after free
2c1ac3721d4a thermal: cpu_cooling: Avoid accessing potentially freed structures
f440ec864fd8 s5p-jpeg: don't return a random width/height
0ff1117c08c2 ir-core: fix gcc-7 warning on bool arithmetic
83863589806d disable new gcc-7.1.1 warnings for now
ece78cd779f4 Linux 4.4.78
3ed43caedf69 kvm: vmx: allow host to access guest MSR_IA32_BNDCFGS
6ffa92ffaed8 kvm: vmx: Check value written to IA32_BNDCFGS
a40f0ccd4f1c kvm: x86: Guest BNDCFGS requires guest MPX support
be6f33a61f33 kvm: vmx: Do not disable intercepts for BNDCFGS
c6f3576ed0f2 KVM: x86: disable MPX if host did not enable MPX XSAVE features
999b96b4de81 tracing: Use SOFTIRQ_OFFSET for softirq dectection for more accurate results
c17f6512463e PM / QoS: return -EINVAL for bogus strings
275d4be9d39f PM / wakeirq: Convert to SRCU
988067ec9606 sched/topology: Optimize build_group_mask()
5c34f49776b8 sched/topology: Fix overlapping sched_group_mask
4e3c1188521a crypto: caam - fix signals handling
f1bf5d83a9c1 crypto: sha1-ssse3 - Disable avx2
fc43f0935035 crypto: atmel - only treat EBUSY as transient if backlog
d05fbdbe6d1c crypto: talitos - Extend max key length for SHA384/512-HMAC and AEAD
8f93a9aa1d65 mm: fix overflow check in expand_upwards()
0f4fa2138e83 tpm: Issue a TPM2_Shutdown for TPM2 devices.
5c9a2972983f Add "shutdown" to "struct class".
5ec5771bcb2b tpm: Provide strong locking for device removal
5e07de5b5a4e tpm: Get rid of chip->pdev
a2e0b1c18c09 selftests/capabilities: Fix the test_execve test
f07288cfb0f7 mnt: Make propagate_umount less slow for overlapping mount propagation trees
fdb8f1049992 mnt: In propgate_umount handle visiting mounts in any order
7cbc3955ef3b mnt: In umount propagation reparent in a separate pass
050b074e2285 vt: fix unchecked __put_user() in tioclinux ioctls
86949eb96466 exec: Limit arg stack to at most 75% of _STK_LIM
7888c0296c87 s390: reduce ELF_ET_DYN_BASE
72a333a0468e powerpc: move ELF_ET_DYN_BASE to 4GB / 4MB
43cf90f788ac arm64: move ELF_ET_DYN_BASE to 4GB / 4MB
d2471b5e84f3 arm: move ELF_ET_DYN_BASE to 4MB
7eb968cd04d4 binfmt_elf: use ELF_ET_DYN_BASE only for PIE
4544e9ebef4c checkpatch: silence perl 5.26.0 unescaped left brace warnings
68b0f5d85b3a fs/dcache.c: fix spin lockup issue on nlru->lock
2d0db02d2e8f mm/list_lru.c: fix list_lru_count_node() to be race free
717ce69e47f0 kernel/extable.c: mark core_kernel_text notrace
0d6ee0bea866 tools/lib/lockdep: Reduce MAX_LOCK_DEPTH to avoid overflowing lock_chain/: Depth
b29145746576 parisc/mm: Ensure IRQs are off in switch_mm()
635a58225c36 parisc: DMA API: return error instead of BUG_ON for dma ops on non dma devs
f265641dc874 parisc: use compat_sys_keyctl()
e18ca17b9040 parisc: Report SIGSEGV instead of SIGBUS when running out of stack
970616464f43 irqchip/gic-v3: Fix out-of-bound access in gic_set_affinity
2d3c10e21571 cfg80211: Check if PMKID attribute is of expected size
24d0410712b0 cfg80211: Validate frequencies nested in NL80211_ATTR_SCAN_FREQUENCIES
05bf0b6ef9ce cfg80211: Define nla_policy for NL80211_ATTR_LOCAL_MESH_POWER_MODE
4c7021c2fb74 brcmfmac: fix possible buffer overflow in brcmf_cfg80211_mgmt_tx()
9618eb4af306 rds: tcp: use sock_create_lite() to create the accept socket
89e7f17f8f64 vrf: fix bug_on triggered by rx when destroying a vrf
eb7bef1db6f3 net: ipv6: Compare lwstate in detecting duplicate nexthops
0c32b01ee49d ipv6: dad: don't remove dynamic addresses if link is down
38ae32c9f13d net: handle NAPI_GRO_FREE_STOLEN_HEAD case also in napi_frags_finish()
1a4f13e0a99a bpf: prevent leaking pointer via xadd on unpriviledged
d598f7ff24db net: prevent sign extension in dev_get_stats()
32a44f1ba7ed tcp: reset sk_rx_dst in tcp_disconnect()
ccff2f4afbc1 net: dp83640: Avoid NULL pointer dereference.
6a87cca39f29 ipv6: avoid unregistering inet6_dev for loopback
f71e5140242a net/phy: micrel: configure intterupts after autoneg workaround
c485792ed649 net: sched: Fix one possible panic when no destroy callback
0be4c96e7c57 net_sched: fix error recovery at qdisc creation
9e0499d7d30c Linux 4.4.77
52b9815d37fc saa7134: fix warm Medion 7134 EEPROM read
646b65808b0d x86/mm/pat: Don't report PAT on CPUs that don't support it
ad5a88c54cd2 ext4: check return value of kstrtoull correctly in reserved_clusters_store
cb2bc13d0b55 staging: comedi: fix clean-up of comedi_class in comedi_init()
370d06c6b075 staging: vt6556: vnt_start Fix missing call to vnt_key_init_table.
627f3abeeac1 tcp: fix tcp_mark_head_lost to check skb len before fragmenting
ff62c63109d9 md: fix super_offset endianness in super_1_rdev_size_change
e20894aad9e8 md: fix incorrect use of lexx_to_cpu in does_sb_need_changing
2b4f81fb56cf perf tools: Use readdir() instead of deprecated readdir_r() again
c04b8bbd64be perf tests: Remove wrong semicolon in while loop in CQM test
1991cbd2c486 perf trace: Do not process PERF_RECORD_LOST twice
5a25a08ad5e6 perf dwarf: Guard !x86_64 definitions under #ifdef else clause
300d4fea8de0 perf pmu: Fix misleadingly indented assignment (whitespace)
0ba2f070bf45 perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed
0717b5dfab93 perf tools: Remove duplicate const qualifier
c7b8d98bff82 perf script: Use readdir() instead of deprecated readdir_r()
56e75cee2af3 perf thread_map: Use readdir() instead of deprecated readdir_r()
055ce585a864 perf tools: Use readdir() instead of deprecated readdir_r()
144eb3e8e4d9 perf bench numa: Avoid possible truncation when using snprintf()
fb3c230b7ec2 perf tests: Avoid possible truncation with dirent->d_name + snprintf
071ca0bcf337 perf scripting perl: Fix compile error with some perl5 versions
c9cf7ce0bbc4 perf thread_map: Correctly size buffer used with dirent->dt_name
e5a9078a8e0e perf intel-pt: Use __fallthrough
0586f5cd4195 perf top: Use __fallthrough
1ca0a4098005 tools strfilter: Use __fallthrough
57a4c2504b77 tools string: Use __fallthrough in perf_atoll()
e1b7b00a1bd5 tools include: Add a __fallthrough statement
034e10b4f834 mqueue: fix a use-after-free in sys_mq_notify()
5fd2bba08c17 RDMA/uverbs: Check port number supplied by user verbs cmds
92e90c20dc38 KEYS: Fix an error code in request_master_key()
483b1c69655d ath10k: override CE5 config for QCA9377
e47e71766640 x86/uaccess: Optimize copy_user_enhanced_fast_string() for short strings
0214a8ca61e2 x86/tools: Fix gcc-7 warning in relocs.c
e952c291df09 gfs2: Fix glock rhashtable rcu bug
ac12d6abed6c USB: serial: qcserial: new Sierra Wireless EM7305 device ID
1a04853de069 USB: serial: option: add two Longcheer device ids
174ddbcc69e2 pinctrl: sh-pfc: Update info pointer after SoC-specific init
45424528a184 pinctrl: mxs: atomically switch mux and drive strength config
79565741fce0 pinctrl: sunxi: Fix SPDIF function name for A83T
3c4720871bdd pinctrl: meson: meson8b: fix the NAND DQS pins
5d030f597f47 pinctrl: sh-pfc: r8a7791: Fix SCIF2 pinmux data
a2148222e375 sysctl: report EINVAL if value is larger than UINT_MAX for proc_douintvec
e8505e6432c2 sysctl: don't print negative flag for proc_douintvec
2e42225b85ee mac80211_hwsim: Replace bogus hrtimer clockid
93f526ffe8ae usb: Fix typo in the definition of Endpoint[out]Request
c6bf62a36175 usb: usbip: set buffer pointers to NULL after free
ab96add78bfe Add USB quirk for HVR-950q to avoid intermittent device resets
45c73d0c7a96 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
c8130087ff4d usb: dwc3: replace %p with %pK
a080ec466c34 drm/virtio: don't leak bo on drm_gem_object_init failure
fe0bb2ac167b tracing/kprobes: Allow to create probe with a module name starting with a digit
78f20db86418 mm: fix classzone_idx underflow in shrink_zones()
1f97e170cfc5 bgmac: reset & enable Ethernet core before using it
c01ace719ebe driver core: platform: fix race condition with driver_override
4043d5bca587 fs: completely ignore unknown open flags
ccb973e681d8 fs: add a VALID_OPEN_FLAGS
(From OE-Core rev: 5a2cfba0a3343fe0095b04ae2444aac8b2316320)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases with the following commit summary:
0eed54bdbd1b Linux 4.9.46
5aa523a994d1 powerpc/mm: Ensure cpumask update is ordered
5906715b93da ACPI: EC: Fix regression related to wrong ECDT initialization order
3bc8e4f96fe9 ACPI / APEI: Add missing synchronize_rcu() on NOTIFY_SCI removal
454cac5d0891 ACPI: ioapic: Clear on-stack resource before using it
c1628774f0c8 ntb: transport shouldn't disable link due to bogus values in SPADs
4d4f35473d8f ntb: ntb_test: ensure the link is up before trying to configure the mws
7592db555524 ntb: no sleep in ntb_async_tx_submit
bff04a462da3 NTB: ntb_test: fix bug printing ntb_perf results
471954c313c5 ntb_transport: fix bug calculating num_qps_mw
4743d1b37a38 ntb_transport: fix qp count bug
b8fce38266db Clarify (and fix) MAX_LFS_FILESIZE macros
ab4be3a64d06 staging: rtl8188eu: add RNX-N150NUB support
23caaf2f216c iio: hid-sensor-trigger: Fix the race with user space powering up sensors
b150ee066af7 iio: imu: adis16480: Fix acceleration scale factor for adis16480
cbd854d99354 ANDROID: binder: fix proc->tsk check.
8fb0b0ce288d binder: Use wake up hint for synchronous transactions.
51050750181c binder: use group leader instead of open thread
eda70a559187 Revert "android: binder: Sanity check at binder ioctl"
242cea2d666f Bluetooth: bnep: fix possible might sleep error in bnep_session
ffb7640acbc3 Bluetooth: cmtp: fix possible might sleep error in cmtp_session
1b5fcb3b25f7 Bluetooth: hidp: fix possible might sleep error in hidp_session_thread
5f81b1f51b9c netfilter: nat: fix src map lookup
090911a22c7b Revert "leds: handle suspend/resume in heartbeat trigger"
d4c5c26c5f09 net: sunrpc: svcsock: fix NULL-pointer exception
3559de45c99a x86/mm: Fix use-after-free of ldt_struct
70b3fd5ce2ce timers: Fix excessive granularity of new timers after a nohz idle
3df3b2efc065 perf/x86/intel/rapl: Make package handling more robust
bac83e5ce85e perf probe: Fix --funcs to show correct symbols for offline module
bde6608dd638 perf/core: Fix group {cpu,task} validation
741397d16a3d ftrace: Check for null ret_stack on profile function graph entry function
fd8235e721ef nfsd: Limit end of page list when decoding NFSv4 WRITE
5ed70f7db9af cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup()
8b053290ee20 cifs: Fix df output for users with quota limits
1fdee09116db kbuild: linker script do not match C names unless LD_DEAD_CODE_DATA_ELIMINATION is configured
8838cd5c543f tracing: Fix freeing of filter in create_filter() when set_str is false
2818a7659f0a tracing: Fix kmemleak in tracing_map_array_free()
3170d9abc5d0 tracing: Call clear_boot_tracer() at lateinit_sync
46cd0a3b93a5 drm: rcar-du: Fix H/V sync signal polarity configuration
1fb8ff8b92bd drm: rcar-du: Fix display timing controller parameter
35fd2b840b6c drm: rcar-du: Fix crash in encoder failure error path
eed96e759533 drm/atomic: If the atomic check fails, return its value first
ce66f629ad82 drm: Release driver tracking before making the object available again
9d263321d7a2 mm/memblock.c: reversed logic in memblock_discard()
b65b6ac52e0f fork: fix incorrect fput of ->exe_file causing use-after-free
0f49b0519f11 mm/madvise.c: fix freeing of locked page with MADV_FREE
036c100b58f7 i2c: designware: Fix system suspend
5d8b3cc24688 mm, shmem: fix handling /sys/kernel/mm/transparent_hugepage/shmem_enabled
8d362cb3bfbb ARCv2: PAE40: Explicitly set MSB counterpart of SLC region ops addresses
6cba07468521 ALSA: firewire: fix NULL pointer dereference when releasing uninitialized data of iso-resource
b52bce93db99 ALSA: hda - Add stereo mic quirk for Lenovo G50-70 (17aa:3978)
8989c70d30b6 ALSA: core: Fix unexpected error at replacing user TLV
9767a4567831 ALSA: usb-audio: Add delay quirk for H650e/Jabra 550a USB headsets
275f3033ccf6 KVM: x86: block guest protection keys unless the host has them enabled
cfb917a17d3d KVM: s390: sthyi: fix specification exception detection
a745333fa924 KVM: s390: sthyi: fix sthyi inline assembly
963068b1ff1c Input: ALPS - fix two-finger scroll breakage in right side on ALPS touchpad
9ab605d2bb6f Input: elan_i2c - add ELAN0602 ACPI ID to support Lenovo Yoga310
a00a9cd7daf9 Input: trackpoint - add new trackpoint firmware ID
655da3da9bb3 bpf/verifier: fix min/max handling in BPF_SUB
bf5b91b782e8 bpf: fix mixed signed/unsigned derived min/max value bounds
8d674bee8f66 bpf, verifier: fix alu ops against map_value{, _adj} register types
577aa83b2896 bpf: adjust verifier heuristics
e37bdeee95a4 bpf, verifier: add additional patterns to evaluate_reg_imm_alu
7fa2fdf9f19e net_sched: fix order of queue length updates in qdisc_replace()
3e00bf91fefc net: sched: fix NULL pointer dereference when action calls some targets
f3f5bf2755c7 irda: do not leak initialized list.dev to userspace
19f433a9ce9d net/mlx4_core: Enable 4K UAR if SRIOV module parameter is not enabled
aadbe1fe91e7 tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP
1c18f9367520 ipv6: repair fib6 tree in failure case
62e9a28baa28 ipv6: reset fn->rr_ptr when replacing route
7ad5fb9594ee tipc: fix use-after-free
0f5ecc79194d sctp: fully initialize the IPv6 address in sctp_v6_to_addr()
57406e737322 nfp: fix infinite loop on umapping cleanup
f29c9f46af4a ipv4: better IP_MAX_MTU enforcement
59af5b87695d ptr_ring: use kmalloc_array()
3c7af814def8 openvswitch: fix skb_panic due to the incorrect actions attrlen
d6a6b6b4c3ba bpf: fix bpf_trace_printk on 32 bit archs
792c0707bd3f net_sched: remove warning from qdisc_hash_add
38530f6e6dae net_sched/sfq: update hierarchical backlog when drop packet
71501d9b6190 ipv4: fix NULL dereference in free_fib_info_rcu()
236b0d939b05 dccp: defer ccid_hc_tx_delete() at dismantle time
b31cbe2c3916 dccp: purge write queue in dccp_destroy_sock()
2e3f17f81029 af_key: do not use GFP_KERNEL in atomic contexts
d0526eef0bf7 sparc64: remove unnecessary log message
4b904b22bc90 Linux 4.9.45
083d423b1f8a usb: qmi_wwan: add D-Link DWM-222 device ID
edfe57b2f44a usb: optimize acpi companion search for usb port devices
322cd3262365 pids: make task_tgid_nr_ns() safe
61332dc598c3 Sanitize 'move_pages()' permission checks
f9497d51259f genirq/ipi: Fixup checks against nr_cpu_ids
762ac49ccece genirq: Restore trigger settings in irq_modify_status()
4691f1ca6fad irqchip/atmel-aic: Fix unbalanced refcount in aic_common_rtc_irq_fixup()
665d2009a4af irqchip/atmel-aic: Fix unbalanced of_node_put() in aic_common_irq_fixup()
10d5bf2f6928 x86/asm/64: Clear AC on NMI entries
1581d704e97d xen-blkfront: use a right index when checking requests
7672f1186047 powerpc: Fix VSX enabling/flushing to also test MSR_FP and MSR_VEC
d8c20af00858 blk-mq-pci: add a fallback when pci_irq_get_affinity returns NULL
6c7f3756d072 xen: fix bio vec merging
1f2347a095ce mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes
91105f2c621e mm/mempolicy: fix use after free when calling get_mempolicy
59ee25d09fd5 mm: fix double mmap_sem unlock on MMF_UNSTABLE enforced SIGBUS
87395eeb28e5 mm: discard memblock data later
d3e6e5956687 ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices
f39f086d541f ALSA: usb-audio: Apply sample rate quirk to Sennheiser headset
bafb25c5050c ALSA: seq: 2nd attempt at fixing race creating a queue
3f7292106d0b Input: elan_i2c - Add antoher Lenovo ACPI ID for upcoming Lenovo NB
5dd141e0e985 Input: elan_i2c - add ELAN0608 to the ACPI table
c3e8a12e701c crypto: x86/sha1 - Fix reads beyond the number of blocks passed
24e7f540245d crypto: ixp4xx - Fix error handling path in 'aead_perform()'
93f5a0318aae parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo
adcfbb2d9e38 audit: Fix use after free in audit_remove_watch_rule()
5170d210efe4 netfilter: nf_ct_ext: fix possible panic after nf_ct_extend_unregister
a97a16f18c48 Linux 4.9.44
eea1ec08f8a5 MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression
5e5a51045532 pinctrl: meson-gxbb: Add missing GPIODV_18 pin entry
8cbc0b49ca8d pinctrl: samsung: Remove bogus irq_[un]mask from resource management
8495ab6ef94a pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20
f642d29c2388 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11
877fe62863d0 pinctrl: intel: merrifield: Correct UART pin lists
7b6fff65ecf9 pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver
a68978bb949a pnfs/blocklayout: require 64-bit sector_t
eda1b3d42fad iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits
4cae4a23d9a4 usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume
f4bbed570aef usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter
42d65cc89a23 usb: core: unlink urbs from the tail of the endpoint's urb_list
7c2beb1c4432 USB: Check for dropped connection before switching to full speed
7f737f10c1ee usb: renesas_usbhs: Fix UGCTRL2 value for R-Car Gen3
2db03a7fa0dd usb: gadget: udc: renesas_usb3: Fix usb_gadget_giveback_request() calling
a09ecc9345b6 uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069
b189f8eb2715 staging: comedi: comedi_fops: do not call blocking ops when !TASK_RUNNING
bbae08213e6e iio: light: tsl2563: use correct event code
1ca3869234d3 iio: accel: bmc150: Always restore device to normal mode after suspend-resume
c5347390e57a staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read
199a3f26e9d8 USB: hcd: Mark secondary HCD as dead if the primary one died
821ccbe2937e usb: musb: fix tx fifo flush handling again
4fd8c366acac USB: serial: pl2303: add new ATEN device id
566516401501 USB: serial: cp210x: add support for Qivicon USB ZigBee dongle
e27f58cd130b USB: serial: option: add D-Link DWM-222 device ID
2b3bf207b2a2 drm/i915: Fix out-of-bounds array access in bdw_load_gamma_lut
4381e2c30008 drm/etnaviv: Fix off-by-one error in reloc checking
00f3c2a253f7 nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays
0a205d8145c2 mmc: mmc: correct the logic for setting HS400ES signal voltage
160c365b5879 nand: fix wrong default oob layout for small pages using soft ecc
227559e6233c fuse: initialize the flock flag in fuse_file on allocation
1da30c23b63b target: Fix node_acl demo-mode + uncached dynamic shutdown regression
b51a71635576 iscsi-target: Fix iscsi_np reset hung task during parallel delete
e6a0599b7464 iscsi-target: fix memory leak in iscsit_setup_text_cmd()
ced271b814e4 mtd: nand: Fix timing setup for NANDs that do not support SET FEATURES
a311810903c7 xtensa: don't limit csum_partial export by CONFIG_NET
a3ab0f069f46 xtensa: mm/cache: add missing EXPORT_SYMBOLs
03973c57e1a2 xtensa: fix cache aliasing handling code for WT cache
0041042de554 futex: Remove unnecessary warning from get_futex_key
e2286916ac07 mm: fix list corruptions on shmem shrinklist
b56cd77c1205 mm: ratelimit PFNs busy info message
6da35f43acde Linux 4.9.43
1166e3e03342 Revert "ARM: dts: sun8i: Support DTB build for NanoPi M1"
3f0075cdbdd8 KVM: arm/arm64: Handle hva aging while destroying the vm
6309eb77d823 sparc64: Prevent perf from running during super critical sections
33dc6a6a85f1 udp: consistently apply ufo or fragmentation
4688f042599f revert "ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output"
53eed8aadc58 revert "net: account for current skb length when deciding about UFO"
e58413550613 packet: fix tp_reserve race in packet_set_ring
f628c9df047b igmp: Fix regression caused by igmp sysctl namespace code.
69ffc9644ffe net: avoid skb_warn_bad_offload false positives on UFO
87fdcfe21195 tcp: fastopen: tcp_connect() must refresh the route
e392e305af01 net: sched: set xt_tgchk_param par.nft_compat as 0 in ipt_init_target
35d90144e2ce net/mlx4_en: don't set CHECKSUM_COMPLETE on SCTP packets
1b582a2c366d bpf, s390: fix jit branch offset related to ldimm64
05046af36302 net: fix keepalive code vs TCP_FASTOPEN_CONNECT
3914a7eccbc7 tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states
6ec6ec3bbb87 ppp: fix xmit recursion detection on ppp channels
3b25bfc11cf9 ppp: Fix false xmit recursion detect with two ppp devices
4c666b0d9070 Linux 4.9.42
f9636c9bdd58 workqueue: implicit ordered attribute should be overridable
c3c94716855a net: phy: Fix PHY unbind crash
ef09c9ff3431 net: account for current skb length when deciding about UFO
f102bb7164c9 ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output
a69f0d54fdc9 net/mlx5: E-Switch, Re-enable RoCE on mode change only after FDB destroy
22cccef1fc70 mm: don't dereference struct page fields of invalid pages
916a05b90d83 signal: protect SIGNAL_UNKILLABLE from unintentional clearing.
d12824c897a2 lib/Kconfig.debug: fix frv build failure
c736011052cf mm, slab: make sure that KMALLOC_MAX_SIZE will fit into MAX_ORDER
bebbe845cb50 ARM: 8632/1: ftrace: fix syscall name matching
e6d53f5f8c03 virtio_blk: fix panic in initialization error path
952d07ac1e6e nbd: blk_mq_init_queue returns an error code on failure, not NULL
44d52834efb3 iw_cxgb4: do not send RX_DATA_ACK CPLs after close/abort
984922f2c897 ARM: dts: sunxi: Change node name for pwrseq pin on Olinuxino-lime2-emmc
1e9e71782f34 ARM: dts: sun8i: Support DTB build for NanoPi M1
61cf0afe12eb drm/virtio: fix framebuffer sparse warning
2a60965a0ef7 scsi: qla2xxx: Get mutex lock before checking optrom_state
99eb27d6182d clk/samsung: exynos542x: mark some clocks as critical
ee96797b78ca ipv4: make tcp_notsent_lowat sysctl knob behave as true unsigned int
0bbbbaef6aa0 phy state machine: failsafe leave invalid RUNNING state
9acfb313849e netfilter: use fwmark_reflect in nf_send_reset
2e2a390b7f67 ASoC: rt5645: set sel_i2s_pre_div1 to 2
c77512d67102 spi: spi-axi: Free resources on error path
f897e9ae07c4 x86/boot: Add missing declaration of string functions
1042bd47ddfb tg3: Fix race condition in tg3_get_stats64().
5f7eeee7940e net: phy: dp83867: fix irq generation
bfe384ed452a sh_eth: R8A7740 supports packet shecksumming
2d4fef7f4102 sh_eth: fix EESIPR values for SH77{34|63}
b87145215abe wext: handle NULL extra data in iwe_stream_add_point better
b9d68cdce72d sparc64: Fix exception handling in UltraSPARC-III memcpy.
bfafa56e6c67 sparc64: Measure receiver forward progress to avoid send mondo timeout
816843a257c7 xen-netback: correctly schedule rate-limited queues
38e71eabb8f7 net: phy: Correctly process PHY_HALTED in phy_stop_machine()
33e25b2168dd net/mlx5e: Schedule overflow check work to mlx5e workqueue
862ade9a4383 net/mlx5e: Fix wrong delay calculation for overflow check scheduling
d7049799668a net/mlx5e: Fix outer_header_zero() check size
d19d0ac684e5 net/mlx5: Fix command bad flow on command entry allocation failure
fca84d617f77 net/mlx5: Consider tx_enabled in all modes on remap
df32d08293ea sctp: fix the check for _sctp_walk_params and _sctp_walk_errors
cc6f1486f2cb sctp: don't dereference ptr before leaving _sctp_walk_{params, errors}()
bb21d2e75378 dccp: fix a memleak for dccp_feat_init err process
4d938b6fcb90 dccp: fix a memleak that dccp_ipv4 doesn't put reqsk properly
9ffa6727f571 dccp: fix a memleak that dccp_ipv6 doesn't put reqsk properly
c0c8688f0deb net: ethernet: nb8800: Handle all 4 RGMII modes identically
23a91c8ab682 ipv6: Don't increase IPSTATS_MIB_FRAGFAILS twice in ip6_fragment()
47f3bf6e3116 packet: fix use-after-free in prb_retire_rx_blk_timer_expired()
d53ff3816d94 openvswitch: fix potential out of bound access in parse_ct
59e76ed17981 mcs7780: Fix initialization when CONFIG_VMAP_STACK is enabled
cda2bc91baf7 rtnetlink: allocate more memory for dev_set_mac_address()
0c47f11bc4a5 ipv4: initialize fib_trie prior to register_netdev_notifier call.
5a2d511a95cc net: dsa: b53: Add missing ARL entries for BCM53125
4a2ffe1707e3 ipv6: avoid overflow of offset in ip6_find_1stfragopt
0b83249a57ad net: Zero terminate ifr_name in dev_ifname().
a62bc8d336e3 ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check()
0cd73c42b7a2 tcp_bbr: init pacing rate on first RTT sample
2e6b237dc03b tcp_bbr: remove sk_pacing_rate=0 transient during init
0c0ede36b9e0 tcp_bbr: introduce bbr_init_pacing_rate_from_rtt() helper
ec789686d79b tcp_bbr: introduce bbr_bw_to_pacing_rate() helper
73520d3814b6 tcp_bbr: cut pacing rate only if filled pipe
12d17d78e3f7 saa7164: fix double fetch PCIe access condition
3a63729427ac Btrfs: fix early ENOSPC due to delalloc
0f442c5b2e4a f2fs: sanity check checkpoint segno and blkoff
c14e327bee70 media: lirc: LIRC_GET_REC_RESOLUTION should return microseconds
e92add299fee mmc: core: Use device_property_read instead of of_property_read
baf4ad0e5162 mmc: dw_mmc: Use device_property_read instead of of_property_read
bdabf097f05b iscsi-target: Fix initial login PDU asynchronous socket close OOPs
733d7ab6c5bc media: platform: davinci: return -EINVAL for VPFE_CMD_S_CCDC_RAW_PARAMS ioctl
4f3544816937 ARM: dts: tango4: Request RGMII RX and TX clock delays
ff603e017bee ARM: dts: armada-38x: Fix irq type for pca955
12353a00df25 ext4: fix overflow caused by missing cast in ext4_resize_fs()
0814c3a9447b ext4: fix SEEK_HOLE/SEEK_DATA for blocksize < pagesize
b680e22fca76 gpiolib: skip unwanted events, don't convert them to opposite edge
be5c6efc996e iommu/amd: Enable ga_log_intr when enabling guest_mode
03ebdd1eb95a powerpc/64: Fix __check_irq_replay missing decrementer interrupt
8164692a2f66 powerpc/tm: Fix saving of TM SPRs in core dump
9ef8b23b94b9 timers: Fix overflow in get_next_timer_interrupt
7b95b7456362 mm/page_alloc: Remove kernel address exposure in free_reserved_area()
0c609d3e1fbd KVM: async_pf: make rcu irq exit if not triggered from idle task
650c763ea5ea ASoC: do not close shared backend dailink
69f15fff03e8 drm/amdgpu: Fix undue fallthroughs in golden registers initialization
c531a24057ac ALSA: hda - Fix speaker output from VAIO VPCL14M1R
45a636ec1849 cpuset: fix a deadlock due to incomplete patching of cpusets_enabled()
5a1eef71aa2a mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving stale TLB entries
943281eb4ecf mmc: core: Fix access to HS400-ES devices
1f32e67adac4 device property: Make dev_fwnode() public
347be00b56f7 mmc: sdhci-of-at91: force card detect value for non removable devices
f7d3e54fb40c NFSv4: Fix EXCHANGE_ID corrupt verifier issue
f5214eb4baf8 brcmfmac: fix memleak due to calling brcmf_sdiod_sgtable_alloc() twice
de8c33290f1c iwlwifi: dvm: prevent an out of bounds access
61a0adbfaad7 workqueue: restore WQ_UNBOUND/max_active==1 to be ordered
804b1a9f0aea libata: array underflow in ata_find_dev()
445ee6cdd91e cgroup: fix error return value from cgroup_subtree_control()
4a99eac8d2b3 cgroup: create dfl_root files on subsys registration
5d23e4f3a333 parisc: Handle vma's whose context is not current in flush_cache_range
db397d9c6e66 Linux 4.9.41
007dffc661cf ASoC: dpcm: Avoid putting stream state to STOP when FE stream is paused
27ef0283b60e ASoC: Intel: Skylake: Release FW ctx in cleanup
23ab274ddf83 scsi: bfa: Increase requested firmware version to 3.2.5.1
5f7040719202 scsi: snic: Return error code on memory allocation failure
2803ea76366a scsi: fnic: Avoid sending reset to firmware when another reset is in progress
3b6f4e292cbd HID: ignore Petzl USB headlamp
3f0dfa11cc0d ASoC: Intel: bytcr-rt5640: fix settings in internal clock mode
b899142ce21d perf/x86: Set pmu->module in Intel PMU modules
efa225254a4a x86/platform/intel-mid: Rename 'spidev' to 'mrfld_spidev'
12dac5fcf5ec ALSA: usb-audio: test EP_FLAG_RUNNING at urb completion
301681d60003 ARCv2: IRQ: Call entry/exit functions for chained handlers in MCIP
f10e2065ce76 sh_eth: enable RX descriptor word 0 shift on SH7734
2909c9c2d713 ASoC: fsl_ssi: set fifo watermark to more reliable value
2548d893a542 net: usb: asix_devices: add .reset_resume for USB PM
a7526723b7fc nvmem: imx-ocotp: Fix wrong register size
e95ec3582a29 arm64: mm: fix show_pte KERN_CONT fallout
812a7df6556f vfio-pci: Handle error from pci_iomap
a417ea5b9d22 video: fbdev: cobalt_lcdfb: Handle return NULL error from devm_ioremap
ddc0ec3be807 perf symbols: Robustify reading of build-id from sysfs
d8086c3bd3a5 perf tools: Install tools/lib/traceevent plugins with install-bin
0b8656414e29 xfrm: Don't use sk_family for socket policy lookups
ab5e7df9e064 tools lib traceevent: Fix prev/next_prio for deadline tasks
704a6d719d4c Xen: ARM: Zero reserved fields of xatp before making hypervisor call
f76ddff6c521 Btrfs: adjust outstanding_extents counter properly when dio write is split
49fc90b443c7 benet: stricter vxlan offloading check in be_features_check
673121283605 Btrfs: fix lockdep warning about log_mutex
78418b867334 Btrfs: use down_read_nested to make lockdep silent
92d6a813b03a usb: gadget: Fix copy/pasted error message
a15a3d92eca8 ACPI / scan: Prefer devices without _HID/_CID for _ADR matching
ebd4642ee412 ARM: s3c2410_defconfig: Fix invalid values for NF_CT_PROTO_*
69f3df1fd013 perf probe: Fix to get correct modname from elf header
3209f3f69eeb ARM64: zynqmp: Fix i2c node's compatible string
e3603533ae63 ARM64: zynqmp: Fix W=1 dtc 1.4 warnings
8af0937aee50 usb: dwc3: omap: fix race of pm runtime with irq handler in probe
29e0adf8bacd dmaengine: ti-dma-crossbar: Add some 'of_node_put()' in error path.
000224c1106c l2tp: consider '::' as wildcard address in l2tp_ip6 socket lookup
c2804b21f2e7 dmaengine: ioatdma: workaround SKX ioatdma version
2987ce159fb9 dmaengine: ioatdma: Add Skylake PCI Dev ID
88a86f8dfaad openrisc: Add _text symbol to fix ksym build error
033d5ce4ad8d irqchip/mxs: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND
c612bba54b8c ASoC: nau8825: fix invalid configuration in Pre-Scalar of FLL
14e5c8c61791 spi: dw: Make debugfs name unique between instances
ed788dc6fa65 ASoC: tlv320aic3x: Mark the RESET register as volatile
ca40b2d039dc irqchip/keystone: Fix "scheduling while atomic" on rt
c7d0c0d84808 vfio-pci: use 32-bit comparisons for register address for gcc-4.5
7d33b41d34f5 drm/msm: Verify that MSM_SUBMIT_BO_FLAGS are set
50e3950d77ba drm/msm: Put back the vaddr in submit_reloc()
e0d5bb92c07b drm/msm: Ensure that the hardware write pointer is valid
237652fae500 net/mlx4_core: Fix raw qp flow steering rules under SRIOV
7e150f79134e net/mlx4: Remove BUG_ON from ICM allocation routine
a8820678afe1 net/mlx4_core: Use-after-free causes a resource leak in flow-steering detach
aeb230318ddb ipv6: Should use consistent conditional judgement for ip6 fragment between __ip6_append_data and ip6_finish_output
ea703cb0140b net/mlx5: Disable RoCE on the e-switch management port under switchdev mode
a0a4dd446904 ARM: dts: n900: Mark eMMC slot with no-sdio and no-sd flags
0ce84ef6a296 ARM: dts: am57xx-idk: Put USB2 port in peripheral mode
2bc4d1c95784 dt-bindings: input: Specify the interrupt number of TPS65217 power button
b1164693f770 dt-bindings: power/supply: Update TPS65217 properties
0686a9bc42ad ARM: omap2+: fixing wrong strcat for Non-NULL terminated string
82338e9ffba5 r8169: add support for RTL8168 series add-on card.
34fae9c906ec x86/mce/AMD: Make the init code more robust
a3ff46097a1d device-dax: fix sysfs duplicate warnings
48a70be0de9e net: skb_needs_check() accepts CHECKSUM_NONE for tx
e10f7bd6a6b8 pstore: Use dynamic spinlock initializer
a0840275e3eb pstore: Correctly initialize spinlock and flags
4693080316e6 pstore: Allow prz to control need for locking
5463a3dccf10 v4l: s5c73m3: fix negation operator
ad25f11ed216 dentry name snapshots
d933777b1b1b ipmi/watchdog: fix watchdog timeout set on reboot
196553666dce RDMA/uverbs: Fix the check for port number
62b5776c8c86 sched/cgroup: Move sched_online_group() back into css_online() to fix crash
016a638a518c mailbox: handle empty message in tx_tick
abe9090ac07b mailbox: skip complete wait event if timer expired
a23fba818203 mailbox: always wait in mbox_send_message for blocking Tx mode
2f16bcd4dba9 wil6210: fix deadlock when using fw_no_recovery option
59153e658936 ath10k: fix null deref on wmi-tlv when trying spectral scan
7b3a66739ff0 isdn/i4l: fix buffer overflow
b756862459d2 isdn: Fix a sleep-in-atomic bug
6c78197e4a69 net: phy: Do not perform software reset for Generic PHY
57154f0302cd nfc: fdp: fix NULL pointer dereference
35bdf9a61dc9 nfc: Fix hangup of RC-S380* in port100_send_ack()
6b3d13fe67da smp/hotplug: Replace BUG_ON and react useful
7b4e4b18ea64 smp/hotplug: Move unparking of percpu threads to the control CPU
755f65501f70 drm: rcar-du: Simplify and fix probe error handling
9bf0d78bf640 Staging: comedi: comedi_fops: Avoid orphaned proc entry
0f31691508c6 Revert "powerpc/numa: Fix percpu allocations to be NUMA aware"
c39c3aeb2b41 KVM: PPC: Book3S HV: Save/restore host values of debug registers
e5cd34d10459 KVM: PPC: Book3S HV: Restore critical SPRs to host values on guest exit
ae8faca6e2e7 drm/nouveau/bar/gf100: fix access to upper half of BAR2
34da5f74eb5c drm/nouveau/disp/nv50-: bump max chans to 21
e41779886b90 drm/vmwgfx: Fix gcc-7.1.1 warning
fabc7dffe9e1 md/raid5: add thread_group worker async_tx_issue_pending_all
d745f0f67b70 KVM: PPC: Book3S HV: Enable TM before accessing TM registers
9eb088e57edd crypto: authencesn - Fix digest_null crash
7d2a354861e9 NFSv4.1: Fix a race where CB_NOTIFY_LOCK fails to wake a waiter
b087b8b11e52 NFS: invalidate file size when taking a lock.
6d3d93ca2ef8 powerpc/pseries: Fix of_node_put() underflow during reconfig remove
fa2aa76efe7d parisc: Suspend lockup detectors before system halt
f0d23fa63243 parisc: Extend disabled preemption in copy_user_page
afe9fc012bc1 parisc: Prevent TLB speculation on flushed pages on CPUs that only support equivalent aliases
5f8bdd5edc82 ALSA: hda - Add missing NVIDIA GPU codec IDs to patch table
3d955095c597 ALSA: fm801: Initialize chip after IRQ handler is registered
3a79e1c8e709 jfs: Don't clear SGID when inheriting ACLs
26d01aa8a110 net: reduce skb_warn_bad_offload() noise
d97aff4f9770 pstore: Make spinlock per zone instead of global
0f94b36de37c af_key: Add lock to key dump
efcfbfb1d8bf Linux 4.9.40
91af5f04cd5b alarmtimer: don't rate limit one-shot timers
919e481152ce tracing: Fix kmemleak in instance_rmdir
7bd804a05eb0 PM / Domains: defer dev_pm_domain_set() until genpd->attach_dev succeeds if present
69fbb442144a reiserfs: Don't clear SGID when inheriting ACLs
1c7e5ca092c0 spmi: Include OF based modalias in device uevent
a18935b45e97 of: device: Export of_device_{get_modalias, uvent_modalias} to modules
6b50bca7cdb0 acpi/nfit: Fix memory corruption/Unregister mce decoder on failure
97de6f34b42b ovl: fix random return value on mount
5cf84432b422 hfsplus: Don't clear SGID when inheriting ACLs
b33da556255c mlx5: Avoid that mlx5_ib_sg_to_klms() overflows the klms[] array
a44042519469 drm/mst: Avoid processing partially received up/down message transactions
48376e6b71a6 drm/mst: Avoid dereferencing a NULL mstb in drm_dp_mst_handle_up_req()
bc3bd649ebb4 drm/mst: Fix error handling during MST sideband message reception
db2975396090 RDMA/core: Initialize port_num in qp_attr
acccf01a807a ceph: fix race in concurrent readdir
d42f9c7435c0 staging: lustre: ko2iblnd: check copy_from_iter/copy_to_iter return code
85643f6f5028 staging: sm750fb: avoid conflicting vesafb
2bc52403da8a staging: comedi: ni_mio_common: fix AO timer off-by-one regression
964a21a1300c staging: rtl8188eu: add TL-WN722N v2 support
a76a032300e2 Revert "perf/core: Drop kernel samples even though :u is specified"
61415418cdba perf annotate: Fix broken arrow at row 0 connecting jmp instruction to its target
d5f9cd081c66 iser-target: Avoid isert_conn->cm_id dereference in isert_login_recv_done
672145dfae84 target: Fix COMPARE_AND_WRITE caw_sem leak during se_cmd quiesce
fa67ac18eff4 udf: Fix deadlock between writeback and udf_setsize()
9ebfb4fa3ab7 NFS: only invalidate dentrys that are clearly invalid.
4dd0aa9ae6d0 sunrpc: use constant time memory comparison for mac
dd0d6509cbf4 IB/core: Namespace is mandatory input for address resolution
5c2717f41545 IB/iser: Fix connection teardown race condition
5b50e0e74e2e Input: i8042 - fix crash at boot time
6d77ac4bc514 MIPS: Fix a typo: s/preset/present/ in r2-to-r6 emulation error message
3330a05c5c6e MIPS: Send SIGILL for R6 branches in `__compute_return_epc_for_insn'
d4bd6a1df2c8 MIPS: Send SIGILL for linked branches in `__compute_return_epc_for_insn'
99ce76144dee MIPS: Rename `sigill_r6' to `sigill_r2r6' in `__compute_return_epc_for_insn'
86dd4aa30790 MIPS: Send SIGILL for BPOSGE32 in `__compute_return_epc_for_insn'
d79354cc1bc9 MIPS: math-emu: Prevent wrong ISA mode instruction emulation
040078ad0fe8 MIPS: Fix unaligned PC interpretation in `compute_return_epc'
434c9f2e3b46 MIPS: Actually decode JALX in `__compute_return_epc_for_insn'
f8c331cbc937 MIPS: Save static registers before sysmips
a9db2f4f887c MIPS: Fix MIPS I ISA /proc/cpuinfo reporting
c69280e9018e x86/ioapic: Pass the correct data to unmask_ioapic_irq()
036d59f40ac9 x86/acpi: Prevent out of bound access caused by broken ACPI tables
456a997498cb Revert "ACPI / EC: Enable event freeze mode..." to fix a regression
b2966b109b1a ACPI / EC: Drop EC noirq hooks to fix a regression
ec469b5e2aaf ubifs: Don't leak kernel memory to the MTD
02131aea6bd4 MIPS: Negate error syscall return in trace
f39f3b5d8260 MIPS: Fix mips_atomic_set() with EVA
dd2f83263dd8 MIPS: Fix mips_atomic_set() retry condition
198bd494cebf ftrace: Fix uninitialized variable in match_records()
d17cc7b7a752 nvme-rdma: remove race conditions from IB signalling
8f9dec0c2dbb vfio: New external user group/file match
e91a55790ddf vfio: Fix group release deadlock
fee760fc6c79 ovl: drop CAP_SYS_RESOURCE from saved mounter's credentials
0fb615f9cad7 drm/ttm: Fix use-after-free in ttm_bo_clean_mm
f97f9e94f666 f2fs: Don't clear SGID when inheriting ACLs
19e117a50135 f2fs: sanity check size of nat and sit cache
58d2eacd3b0e xfs: Don't clear SGID when inheriting ACLs
1b9008cdae94 ipmi:ssif: Add missing unlock in error branch
685e124ebc7f ipmi: use rcu lock around call to intf->handlers->sender()
6e7b1eff91aa drm/radeon: Fix eDP for single-display iMac10,1 (v2)
a844f8d2a564 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
b85007c9114a drm/amd/amdgpu: Return error if initiating read out of range on vram
8302e9d2f50b s390/syscalls: Fix out of bounds arguments access
1e95148551f3 Raid5 should update rdev->sectors after reshape
4d1f97eb59a4 ext2: Don't clear SGID when inheriting ACLs
0fa705dc61ee libnvdimm: fix badblock range handling of ARS range
891c31e16cb7 libnvdimm, btt: fix btt_rw_page not returning errors
e82672f45ea3 cx88: Fix regression in initial video standard setting
4d3d3a1690c2 x86/xen: allow userspace access during hypercalls
03c1d9d45582 md: don't use flush_signals in userspace processes
dbc969ca944f usb: renesas_usbhs: gadget: disable all eps when the driver stops
5433bfcc8527 usb: renesas_usbhs: fix usbhsc_resume() for !USBHSF_RUNTIME_PWCTRL
a74779d8e172 USB: cdc-acm: add device-id for quirky printer
8665f40a06a0 usb: storage: return on error to avoid a null pointer dereference
8bc51b4f2a42 mxl111sf: Fix driver to use heap allocate buffers for USB messages
24a950e16eb5 xhci: Bad Ethernet performance plugged in ASM1042A host
01845a8347b7 xhci: Fix NULL pointer dereference when cleaning up streams for removed host
bf0440882ea9 xhci: fix 20000ms port resume timeout
445ea10969aa ipvs: SNAT packet replies only for NATed connections
33780512d9fe PCI/PM: Restore the status of PCI devices across hibernation
f257f4bf6f07 PCI: rockchip: Use normal register bank for config accessors
13b2f9f9b8aa PCI: Work around poweroff & suspend-to-RAM issue on Macbook Pro 11
3c17d418afb0 af_key: Fix sadb_x_ipsecrequest parsing
3b7babc6be0a powerpc/mm/radix: Properly clear process table entry
88481a2c40e4 powerpc/asm: Mark cr0 as clobbered in mftb()
5e35ee249e26 powerpc: Fix emulation of mfocrf in emulate_step()
53a282161317 powerpc: Fix emulation of mcrf in emulate_step()
99fc5a2254ef powerpc/64: Fix atomic64_inc_not_zero() to return an int
d638c8584462 powerpc/pseries: Fix passing of pp0 in updatepp() and updateboltedpp()
71b1caea95a8 xen/scsiback: Fix a TMR related use-after-free
732e3c76cf97 iscsi-target: Add login_keys_workaround attribute for non RFC initiators
fc866b296a46 scsi: Add STARGET_CREATED_REMOVE state to scsi_target_state
542c097f1cb6 scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.
d2bb0af4463d PM / Domains: Fix unsafe iteration over modified list of domains
178aa241fc07 PM / Domains: Fix unsafe iteration over modified list of domain providers
b87a32175a22 PM / Domains: Fix unsafe iteration over modified list of device links
4d94276155f8 ASoC: compress: Derive substream from stream based on direction
9a81c136f486 igb: Explicitly select page 0 at initialization
157302f97aaa btrfs: Don't clear SGID when inheriting ACLs
754f4e05e999 wlcore: fix 64K page support
3da27a9d9827 Bluetooth: use constant time memory comparison for secret values
fe5cdbcdafaa perf intel-pt: Clear FUP flag on error
94c38cd0aff2 perf intel-pt: Use FUP always when scanning for an IP
5a16bd39c501 perf intel-pt: Ensure never to set 'last_ip' when packet 'count' is zero
daa637832dd2 perf intel-pt: Fix last_ip usage
dc0401375f7a perf intel-pt: Ensure IP is zero when state is INTEL_PT_STATE_NO_IP
b338b87f2277 perf intel-pt: Fix missing stack clear
3e6837f1f414 perf intel-pt: Improve sample timestamp
d3503ef1a614 perf intel-pt: Move decoder error setting into one condition
244a7db0e9d5 NFC: Add sockaddr length checks before accessing sa_family in bind handlers
4a142251a315 nfc: Fix the sockaddr length sanitization in llcp_sock_connect
d1ac8a98f312 nfc: Ensure presence of required attributes in the activate_target handler
06be8e2767da NFC: nfcmrvl: fix firmware-management initialisation
10f03f0f7ef0 NFC: nfcmrvl: use nfc-device for firmware download
4b4f74d6c4f8 NFC: nfcmrvl: do not use device-managed resources
7de6ff402dd0 NFC: nfcmrvl_uart: add missing tty-device sanity check
f73de3f9915c NFC: fix broken device allocation
48879676a8c3 ath9k: fix an invalid pointer dereference in ath9k_rng_stop()
99f96831083b ath9k: fix tx99 bus error
b729a1aea14d ath9k: fix tx99 use after free
7cd7b56037ae thermal: cpu_cooling: Avoid accessing potentially freed structures
76572609e458 thermal: max77620: fix device-node reference imbalance
60813b6a2ab4 s5p-jpeg: don't return a random width/height
63d32e8af0dd dm mpath: cleanup -Wbool-operation warning in choose_pgpath()
70ec6b3635d9 ir-core: fix gcc-7 warning on bool arithmetic
78fbe21d83e3 disable new gcc-7.1.1 warnings for now
c03917de04aa 4.9.39
cce8d2ee4571 kvm: vmx: allow host to access guest MSR_IA32_BNDCFGS
07592d622536 kvm: vmx: Check value written to IA32_BNDCFGS
fab777e70ca4 kvm: x86: Guest BNDCFGS requires guest MPX support
bf7c21535617 kvm: vmx: Do not disable intercepts for BNDCFGS
04e002a5f681 tracing: Use SOFTIRQ_OFFSET for softirq dectection for more accurate results
cc7d3b7dd1ac PM / QoS: return -EINVAL for bogus strings
5480437f7963 PM / wakeirq: Convert to SRCU
758dc6a8dabc sched/topology: Fix overlapping sched_group_mask
3e165b2322c6 sched/topology: Optimize build_group_mask()
7c3f08eadcfd sched/topology: Fix building of overlapping sched-groups
542ebc96c200 sched/fair, cpumask: Export for_each_cpu_wrap()
a0a93e3e6e1e Revert "sched/core: Optimize SCHED_SMT"
80495c708490 crypto: caam - fix signals handling
48a9dff21398 crypto: caam - properly set IV after {en,de}crypt
db923288f37f crypto: sha1-ssse3 - Disable avx2
81cc2ef2677b crypto: atmel - only treat EBUSY as transient if backlog
2ff2cc768eb7 crypto: talitos - Extend max key length for SHA384/512-HMAC and AEAD
38dfd2e3a673 mm: fix overflow check in expand_upwards()
1e6f1af808c1 selftests/capabilities: Fix the test_execve test
54fcb2303ef4 mnt: Make propagate_umount less slow for overlapping mount propagation trees
bb4fbf094b44 mnt: In propgate_umount handle visiting mounts in any order
e260db757676 mnt: In umount propagation reparent in a separate pass
7d976da04345 nvmem: core: fix leaks on registration errors
ac5e9e801f47 rcu: Add memory barriers for NOCB leader wakeup
63c634cf9547 vt: fix unchecked __put_user() in tioclinux ioctls
445a945ad67b ARM64: dts: marvell: armada37xx: Fix timer interrupt specifiers
f31c4f65dd09 exec: Limit arg stack to at most 75% of _STK_LIM
fbc877cd08e5 s390: reduce ELF_ET_DYN_BASE
90fb0f7aefc9 powerpc: move ELF_ET_DYN_BASE to 4GB / 4MB
70779e0ebb37 arm64: move ELF_ET_DYN_BASE to 4GB / 4MB
abb79a56898e arm: move ELF_ET_DYN_BASE to 4MB
63c2f8f8c41b binfmt_elf: use ELF_ET_DYN_BASE only for PIE
93eae954050d checkpatch: silence perl 5.26.0 unescaped left brace warnings
a9aa6522a1a5 fs/dcache.c: fix spin lockup issue on nlru->lock
a48542e8b4ec mm/list_lru.c: fix list_lru_count_node() to be race free
8c6f19c25086 kernel/extable.c: mark core_kernel_text notrace
d2b64687b37f thp, mm: fix crash due race in MADV_FREE handling
68ea25f00ffe tools/lib/lockdep: Reduce MAX_LOCK_DEPTH to avoid overflowing lock_chain/: Depth
e3d2adaaf927 parisc/mm: Ensure IRQs are off in switch_mm()
8ed89cfc8692 parisc: DMA API: return error instead of BUG_ON for dma ops on non dma devs
bf1e4dc3b4fb parisc: use compat_sys_keyctl()
008a1f270748 parisc: Report SIGSEGV instead of SIGBUS when running out of stack
59613f80ec67 irqchip/gic-v3: Fix out-of-bound access in gic_set_affinity
6a90f81ab639 cfg80211: Check if NAN service ID is of expected size
7e9e9638afdf cfg80211: Check if PMKID attribute is of expected size
e471290603ee cfg80211: Validate frequencies nested in NL80211_ATTR_SCAN_FREQUENCIES
b68aa7dff96e cfg80211: Define nla_policy for NL80211_ATTR_LOCAL_MESH_POWER_MODE
6ae9dd281965 sfc: don't read beyond unicast address list
5f69bb1d18c5 brcmfmac: Fix glom_skb leak in brcmf_sdiod_recv_chain
fd325ddd5884 brcmfmac: Fix a memory leak in error handling path in 'brcmf_cfg80211_attach'
414848bba6ab brcmfmac: fix possible buffer overflow in brcmf_cfg80211_mgmt_tx()
181dda46a314 rds: tcp: use sock_create_lite() to create the accept socket
e6577f1ef3f8 vrf: fix bug_on triggered by rx when destroying a vrf
0bc26d1ca38d net: ipv6: Compare lwstate in detecting duplicate nexthops
05e165e9bc45 net: core: Fix slab-out-of-bounds in netdev_stats_to_stats64
beabc6032772 vxlan: fix hlist corruption
d2c951208578 ipv6: dad: don't remove dynamic addresses if link is down
743564306ee6 net/mlx5e: Fix TX carrier errors report in get stats ndo
a80a70a4822c liquidio: fix bug in soft reset failure detection
e20204dc2c74 net/mlx5: Cancel delayed recovery work when unloading the driver
067328078d14 net: handle NAPI_GRO_FREE_STOLEN_HEAD case also in napi_frags_finish()
cd5de9cb858d bpf: prevent leaking pointer via xadd on unpriviledged
bee807054892 rocker: move dereference before free
e5e5c0ec39dd bridge: mdb: fix leak on complete_info ptr on fail path
3f04c32bf47a net: prevent sign extension in dev_get_stats()
ef13840028c8 tcp: reset sk_rx_dst in tcp_disconnect()
cf81b4abe7ac net: dp83640: Avoid NULL pointer dereference.
0526ff300304 ipv6: avoid unregistering inet6_dev for loopback
3f7e07c37ade net/phy: micrel: configure intterupts after autoneg workaround
dc491cdd2c81 net: sched: Fix one possible panic when no destroy callback
13550ffc9515 net_sched: fix error recovery at qdisc creation
21f79ae43fd2 xen-netfront: Rework the fix for Rx stall during OOM and network stress
f0cd77ded512 Linux 4.9.38
fb2dc28cf20a saa7134: fix warm Medion 7134 EEPROM read
81ba752aa476 x86/mm/pat: Don't report PAT on CPUs that don't support it
c0d3a7bdc7c2 ext4: check return value of kstrtoull correctly in reserved_clusters_store
716986547f1f crypto: rsa-pkcs1pad - use constant time memory comparison for MACs
0d6758f74a46 crypto: caam - fix gfp allocation flags (part I)
090661e4073d staging: comedi: fix clean-up of comedi_class in comedi_init()
80c965cbd280 staging: vt6556: vnt_start Fix missing call to vnt_key_init_table.
5497d74e75f8 locking/rwsem-spinlock: Fix EINTR branch in __down_write_common()
3953403ca660 md: fix super_offset endianness in super_1_rdev_size_change
9a37d02c497c md: fix incorrect use of lexx_to_cpu in does_sb_need_changing
ce02effed0ec perf probe: Add error checks to offline probe post-processing
364973599e2e perf probe: Fix to probe on gcc generated symbols for offline kernel
cd206153672a perf scripting perl: Fix compile error with some perl5 versions
b9175b3fa90c perf header: Fix handling of PERF_EVENT_UPDATE__SCALE
15c249c85d57 perf bench numa: Avoid possible truncation when using snprintf()
b246fc09a223 perf tests: Avoid possible truncation with dirent->d_name + snprintf
93a3c47d033a perf intel-pt: Use __fallthrough
055237857974 perf thread_map: Correctly size buffer used with dirent->dt_name
a814c7d1d8f4 perf top: Use __fallthrough
94218786b3ba tools strfilter: Use __fallthrough
76efd703014f tools string: Use __fallthrough in perf_atoll()
dae518419a42 tools include: Add a __fallthrough statement
b635182b4f41 tpm: Issue a TPM2_Shutdown for TPM2 devices.
5a1e1c62f37e Add "shutdown" to "struct class".
e6952841ade0 mqueue: fix a use-after-free in sys_mq_notify()
c48f76d680ad Linux 4.9.37
3468d4ffa8ef rt286: add Thinkpad Helix 2 to force_combo_jack_table
84b00cd90f4d RDMA/uverbs: Check port number supplied by user verbs cmds
1803bec709f8 crypto: drbg - Fixes panic in wait_for_completion call
73a0a68779e4 KEYS: Fix an error code in request_master_key()
f986d63d788c ath10k: override CE5 config for QCA9377
afbf56592092 x86/uaccess: Optimize copy_user_enhanced_fast_string() for short strings
e353bfb63754 x86/tools: Fix gcc-7 warning in relocs.c
525ea5950e1c tpm: fix a kernel memory leak in tpm-sysfs.c
25b2ee6f9d9d gfs2: Fix glock rhashtable rcu bug
f59d04e34282 xhci: Limit USB2 port wake support for AMD Promontory hosts
07379c41aeaf USB: serial: qcserial: new Sierra Wireless EM7305 device ID
7b7d5a4d9f57 USB: serial: option: add two Longcheer device ids
369bbf4b44ac pinctrl: sh-pfc: Update info pointer after SoC-specific init
828bd8441de0 pinctrl: sh-pfc: r8a7791: Add missing HSCIF1 pinmux data
485b0f1194ea pinctrl: mxs: atomically switch mux and drive strength config
dee763a4d37d pinctrl: cherryview: Add terminate entry for dmi_system_id tables
b9970dd7c155 pinctrl: sunxi: Fix SPDIF function name for A83T
8240981690f3 pinctrl: stm32: Fix bad function call
a3f2e309f654 pinctrl: meson: meson8b: fix the NAND DQS pins
f24dee484be9 pinctrl: sh-pfc: r8a7795: Fix hscif2_clk_b and hscif4_ctrl
c5db45ef9e86 pinctrl: sh-pfc: r8a7791: Add missing DVC_MUTE signal
37705843587b pinctrl: sh-pfc: r8a7791: Fix SCIF2 pinmux data
275f905f1232 pinctrl: sh-pfc: r8a7794: Swap ATA signals
2bd57fa2558c pinctrl: cherryview: Add a quirk to make Acer Chromebook keyboard work again
aaaaa5b1881b pinctrl: qcom: ipq4019: add missing pingroups for pins > 70
7bdacd3d9f4e sysctl: report EINVAL if value is larger than UINT_MAX for proc_douintvec
3a20c57b4332 sysctl: don't print negative flag for proc_douintvec
4e84b9c79003 mac80211_hwsim: Replace bogus hrtimer clockid
d84e328c0243 USB: core: fix device node leak
18b3abb54305 usb: Fix typo in the definition of Endpoint[out]Request
19adf93ccd55 usb: usbip: set buffer pointers to NULL after free
3d1056874295 Add USB quirk for HVR-950q to avoid intermittent device resets
da8990d3c141 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
3272bad0c2aa usb: dwc3: replace %p with %pK
366d9207d9e0 drm/virtio: don't leak bo on drm_gem_object_init failure
b96976c1a87b media: entity: Fix stream count check
3693042f1c9f tracing/kprobes: Allow to create probe with a module name starting with a digit
9403514ba1a2 ceph: choose readdir frag based on previous readdir reply
c4c592b2c137 driver core: platform: fix race condition with driver_override
26ff065b8401 fs: completely ignore unknown open flags
6efb1b0b6c82 fs: add a VALID_OPEN_FLAGS
(From OE-Core rev: 47b68405468c31e62b096ddfc66f3814bf53b468)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release with the following commit
summary:
6371f030c4dc Linux 4.12.10
849e96758ab2 powerpc/mm: Ensure cpumask update is ordered
53220a20cec0 ACPI: EC: Fix regression related to wrong ECDT initialization order
6e80b88a7f7d ACPI: APD: Fix HID for Hisilicon Hip07/08
49fa8c02e4a6 ntb: transport shouldn't disable link due to bogus values in SPADs
ab75f0274d34 ntb: ntb_test: ensure the link is up before trying to configure the mws
03e58884668e Clarify (and fix) MAX_LFS_FILESIZE macros
0b9a3f300f89 iommu: Fix wrong freeing of iommu_device->dev
75005bf89ad7 staging: rtl8188eu: add RNX-N150NUB support
91628e2afc86 iio: magnetometer: st_magn: remove ihl property for LSM303AGR
e59c095c11af iio: magnetometer: st_magn: fix status register address for LSM303AGR
fc7957b6cdd7 iio: hid-sensor-trigger: Fix the race with user space powering up sensors
a1d7b7e7e116 iio: imu: adis16480: Fix acceleration scale factor for adis16480
bf9b9d3b382b ANDROID: binder: fix proc->tsk check.
f6fc60d91549 binder: Use wake up hint for synchronous transactions.
7771e3f4b0b9 binder: use group leader instead of open thread
62ccb816aab8 Revert "android: binder: Sanity check at binder ioctl"
b42c44ade798 Bluetooth: bnep: fix possible might sleep error in bnep_session
b741896229c1 Bluetooth: cmtp: fix possible might sleep error in cmtp_session
e792d2d48928 Bluetooth: hidp: fix possible might sleep error in hidp_session_thread
1eb33a1b89e1 netfilter: nfnetlink: Improve input length sanitization in nfnetlink_rcv
8b5041077024 netfilter: nat: fix src map lookup
f5263887165a netfilter: expect: fix crash when putting uninited expectation
4909a7b79965 net: sunrpc: svcsock: fix NULL-pointer exception
a8da876c1e45 x86/mm: Fix use-after-free of ldt_struct
2e11eedec6f0 timers: Fix excessive granularity of new timers after a nohz idle
2c0dc7f00e19 perf/core: Fix group {cpu,task} validation
aa2da6c4d548 ftrace: Check for null ret_stack on profile function graph entry function
1b8ca8851c25 virtio_pci: fix cpu affinity support
78f2e29f27f1 ring-buffer: Have ring_buffer_alloc_read_page() return error on offline CPU
8d4f126c0791 nfsd: Limit end of page list when decoding NFSv4 WRITE
ea5745a5117f cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup()
1bc1c4391b79 cifs: Fix df output for users with quota limits
3b278d7e8945 kbuild: linker script do not match C names unless LD_DEAD_CODE_DATA_ELIMINATION is configured
51f49383a924 RDMA/uverbs: Initialize cq_context appropriately
53a38dfbb5e4 tracing: Fix freeing of filter in create_filter() when set_str is false
983ba8148e18 tracing: Fix kmemleak in tracing_map_array_free()
a23e782823d6 tracing: Missing error code in tracer_alloc_buffers()
3888c3aeb6bc tracing: Call clear_boot_tracer() at lateinit_sync
1344db83ee17 ACPI: device property: Fix node lookup in acpi_graph_get_child_prop_value()
dbe5b2d70cfd Revert "drm/amdgpu: fix vblank_time when displays are off"
4ac9a5daaf82 drm/i915/gvt: Fix the kernel null pointer error
bbb04b377f85 drm/i915/vbt: ignore extraneous child devices for a port
d76df456a313 drm/atomic: If the atomic check fails, return its value first
247122f138c0 drm/atomic: Handle -EDEADLK with out-fences correctly
d4ae641cc285 drm/sun4i: Implement drm_driver lastclose to restore fbdev console
08353913312a drm: Release driver tracking before making the object available again
b96c15655125 drm: Fix framebuffer leak
865d89f80907 arm64: fpsimd: Prevent registers leaking across exec
1c229d7ad7b9 mm/memblock.c: reversed logic in memblock_discard()
f5024bb32d4d fork: fix incorrect fput of ->exe_file causing use-after-free
4823f4630bfd mm/madvise.c: fix freeing of locked page with MADV_FREE
c237efed8b35 i2c: designware: Fix system suspend
3a9495fd3719 dax: fix deadlock due to misaligned PMD faults
735a252fc5b8 mm, shmem: fix handling /sys/kernel/mm/transparent_hugepage/shmem_enabled
b2719637b16e PM/hibernate: touch NMI watchdog when creating snapshot
8b366972d7d4 ARCv2: PAE40: set MSB even if !CONFIG_ARC_HAS_PAE40 but PAE exists in SoC
fcedf2f28570 ARCv2: PAE40: Explicitly set MSB counterpart of SLC region ops addresses
763ad31728e8 ARCv2: SLC: Make sure busy bit is set properly for region ops
8537b1e0ff7f ALSA: firewire-motu: destroy stream data surely at failure of card initialization
59d000610dc3 ALSA: firewire: fix NULL pointer dereference when releasing uninitialized data of iso-resource
2f45c61ba400 ALSA: hda - Add stereo mic quirk for Lenovo G50-70 (17aa:3978)
ba6b08b62f0c ALSA: core: Fix unexpected error at replacing user TLV
1157dcda136a ALSA: usb-audio: Add delay quirk for H650e/Jabra 550a USB headsets
2f76f62aef90 KVM: x86: block guest protection keys unless the host has them enabled
3c498d4bde88 KVM, pkeys: do not use PKRU value in vcpu->arch.guest_fpu.state
d0e52c825f00 KVM: x86: simplify handling of PKRU
6dc06cd600d0 KVM: s390: sthyi: fix specification exception detection
e516834ae81b KVM: s390: sthyi: fix sthyi inline assembly
ddae9e6ec5d5 Input: ALPS - fix two-finger scroll breakage in right side on ALPS touchpad
8dcee8e81a0e Input: elan_i2c - add ELAN0602 ACPI ID to support Lenovo Yoga310
38c36f9d1fca Input: trackpoint - add new trackpoint firmware ID
c9c682f3f029 bpf/verifier: fix min/max handling in BPF_SUB
eb6cf01cd6b7 bpf: fix mixed signed/unsigned derived min/max value bounds
659ee9687a11 bpf, verifier: add additional patterns to evaluate_reg_imm_alu
d8a4ae09809a net_sched: fix order of queue length updates in qdisc_replace()
09e1d36d0289 net: sched: fix NULL pointer dereference when action calls some targets
f4e4a2969919 irda: do not leak initialized list.dev to userspace
754df4da61d1 net/mlx4_core: Enable 4K UAR if SRIOV module parameter is not enabled
2d093adfb109 tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP
7bbc60d9c916 ipv6: repair fib6 tree in failure case
368129fe14f6 ipv6: reset fn->rr_ptr when replacing route
c549de482f89 tipc: fix use-after-free
62b3580fc3f0 sctp: fully initialize the IPv6 address in sctp_v6_to_addr()
dda844773c47 tun: handle register_netdevice() failures properly
3c3181e17b35 nfp: fix infinite loop on umapping cleanup
9c579acf6522 ipv4: better IP_MAX_MTU enforcement
12ee6d75d6a1 ptr_ring: use kmalloc_array()
cb445bfc1041 openvswitch: fix skb_panic due to the incorrect actions attrlen
c6fc7b9892a5 net: igmp: Use ingress interface rather than vrf device
921739a95d4f bpf: fix bpf_trace_printk on 32 bit archs
99f635d1e70d net_sched: remove warning from qdisc_hash_add
cf665a603368 net_sched/sfq: update hierarchical backlog when drop packet
163db2c61aa1 ipv4: fix NULL dereference in free_fib_info_rcu()
f1d055463980 dccp: defer ccid_hc_tx_delete() at dismantle time
a8de69b93e86 dccp: purge write queue in dccp_destroy_sock()
94fd355614e3 af_key: do not use GFP_KERNEL in atomic contexts
729420142979 bonding: ratelimit failed speed/duplex update warning
b39ae1c8bdc4 bonding: require speed/duplex only for 802.3ad, alb and tlb
16caf8dff7ee sparc64: remove unnecessary log message
e0e7ae96b723 Linux 4.12.9
3f40666fff96 usb: qmi_wwan: add D-Link DWM-222 device ID
e2322bcce288 usb: optimize acpi companion search for usb port devices
6632ae821b59 debug: Fix WARN_ON_ONCE() for modules
c170b7930db3 pids: make task_tgid_nr_ns() safe
e950adf8983f Sanitize 'move_pages()' permission checks
7cbc3a8aaaa3 kernel/watchdog: Prevent false positives with turbo modes
ee7025fef78c genirq/ipi: Fixup checks against nr_cpu_ids
8eee5da54afe genirq: Restore trigger settings in irq_modify_status()
399193e8ef2d irqchip/atmel-aic: Fix unbalanced refcount in aic_common_rtc_irq_fixup()
2eceab663b9d irqchip/atmel-aic: Fix unbalanced of_node_put() in aic_common_irq_fixup()
c4ab73ef2cfc x86/elf: Remove the unnecessary ADDR_NO_RANDOMIZE checks
932769e10de9 x86: Fix norandmaps/ADDR_NO_RANDOMIZE
c588e0cb269d x86/asm/64: Clear AC on NMI entries
44e9d5afcec3 perf/x86: Fix RDPMC vs. mm_struct tracking
33f1d0c79b04 xen-blkfront: use a right index when checking requests
bd876f33dbeb powerpc: Fix VSX enabling/flushing to also test MSR_FP and MSR_VEC
a77b5b81ad59 blk-mq-pci: add a fallback when pci_irq_get_affinity returns NULL
e88bdec3ff7c ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset
c1cee6062ac9 xen: fix bio vec merging
aab425db4279 mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes
8ac8e1d2a254 mm/vmalloc.c: don't unconditonally use __GFP_HIGHMEM
6b2676ed32ba mm/mempolicy: fix use after free when calling get_mempolicy
8b53b7560a8b mm/cma_debug.c: fix stack corruption due to sprintf usage
76e8fe02bf50 mm: fix double mmap_sem unlock on MMF_UNSTABLE enforced SIGBUS
889a17078f25 slub: fix per memcg cache leak on css offline
4d45f00b927c mm: discard memblock data later
c24138794d14 ALSA: usb-audio: add DSD support for new Amanero PID
c482b084491b ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices
b33fcbb01b3a ALSA: usb-audio: Apply sample rate quirk to Sennheiser headset
8f05296965d8 ALSA: seq: 2nd attempt at fixing race creating a queue
6a280cd12306 MD: not clear ->safemode for external metadata array
7987c4066cbb md: always clear ->safemode when md_check_recovery gets the mddev lock.
febaf83252f2 md: fix test in md_write_start()
5f46f337bdeb Input: elan_i2c - Add antoher Lenovo ACPI ID for upcoming Lenovo NB
04d0645d62a5 Input: elan_i2c - add ELAN0608 to the ACPI table
b5e042f90f1f drm/amdgpu: save list length when fence is signaled
2149506faff1 drm/i915: Perform an invalidate prior to executing golden renderstate
aac1a12cc700 crypto: x86/sha1 - Fix reads beyond the number of blocks passed
f1615538cd1c crypto: ixp4xx - Fix error handling path in 'aead_perform()'
0a76684da5c2 parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo
dfaf892df105 audit: Fix use after free in audit_remove_watch_rule()
a0fb6543b40f Linux 4.12.8
1d4efdd222c4 powerpc: Fix /proc/cpuinfo revision for POWER9 DD2
d40a54500008 MIPS: Octeon: Fix broken EDAC driver.
bc60edb6aa3f Revert "MIPS: Don't unnecessarily include kmalloc.h into <asm/cache.h>."
0a5a16f6cefd MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression
888986477133 pinctrl: meson-gxl: Add missing GPIODV_18 pin entry
d7b28b4cae66 pinctrl: meson-gxbb: Add missing GPIODV_18 pin entry
155407bbf9f2 pinctrl: samsung: Remove bogus irq_[un]mask from resource management
21d22dffc344 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20
338ac5dd59b9 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11
be9f65893e3b pinctrl: intel: merrifield: Correct UART pin lists
5fa72b4b746a pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver
c75a48eed01f pinctrl: cherryview: Add Setzer models to the Chromebook DMI quirk
cc7f330bed71 pnfs/blocklayout: require 64-bit sector_t
e8a1edad18fa iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits
0e1f0eaed6c2 xhci: Reset Renesas uPD72020x USB controller for 32-bit DMA issue
ea9647cf87f5 PCI: Add pci_reset_function_locked()
c71305e6854d PCI: Remove __pci_dev_reset() and pci_dev_reset()
31e71939a4dd PCI: Protect pci_error_handlers->reset_notify() usage with device_lock()
b23ef7b8dd7e usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume
73e7a2dca9cc usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter
488f4d8048e2 usb: core: unlink urbs from the tail of the endpoint's urb_list
7ff799af2c21 USB: Check for dropped connection before switching to full speed
c45923eb9413 usb: renesas_usbhs: Fix UGCTRL2 value for R-Car Gen3
f5324020bcef usb: gadget: udc: renesas_usb3: Fix usb_gadget_giveback_request() calling
7926348676f5 block: Make blk_mq_delay_kick_requeue_list() rerun the queue at a quiet time
67e1a98e3a74 firmware: avoid invalid fallback aborts by using killable wait
b1b5c0b23a90 firmware: fix batched requests - send wake up on failure on direct lookups
c2c32ed5e6bf firmware: fix batched requests - wake all waiters
f0834df3d97e uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069
c208cb9a5596 staging: comedi: comedi_fops: do not call blocking ops when !TASK_RUNNING
20035abc9e08 iio: adc: Revert "axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications"
c1164cc258bc iio: light: tsl2563: use correct event code
39e07a5c112c iio: pressure: st_pressure_core: disable multiread by default for LPS22HB
8886738d06fa iio: accel: bmc150: Always restore device to normal mode after suspend-resume
3fdd0854800e iio: accel: st_accel: add SPI-3wire support
5f26ebe1afdc iio: aspeed-adc: wait for initial sequence.
f0ab97d1aa14 staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read
9ccd63a6fdbd USB: hcd: Mark secondary HCD as dead if the primary one died
792c00cb2377 usb: musb: fix tx fifo flush handling again
ab51515ece30 USB: serial: pl2303: add new ATEN device id
492eb6125c83 USB: serial: cp210x: add support for Qivicon USB ZigBee dongle
b576de1e12c9 USB: serial: option: add D-Link DWM-222 device ID
59f1322cc1e5 drm/i915: Fix out-of-bounds array access in bdw_load_gamma_lut
4eedc8a7f03b drm/etnaviv: Fix off-by-one error in reloc checking
8f0f15cc167d drm/bridge: tc358767: fix probe without attached output node
1cc5cd5b97b5 nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays
8d189f60407f mmc: mmc: correct the logic for setting HS400ES signal voltage
3329fe0e05f8 nand: fix wrong default oob layout for small pages using soft ecc
1f2f0f1a75bd i2c: designware: Some broken DSTDs use 1MiHz instead of 1MHz
cfea0422a154 fuse: initialize the flock flag in fuse_file on allocation
59c74236092d target: Fix node_acl demo-mode + uncached dynamic shutdown regression
7b0d44e25fdb usb-storage: fix deadlock involving host lock and scsi_done
428048128bf0 iscsi-target: Fix iscsi_np reset hung task during parallel delete
f838bd1752be iscsi-target: fix memory leak in iscsit_setup_text_cmd()
a0e1953e0310 mtd: nand: Declare tBERS, tR and tPROG as u64 to avoid integer overflow
867c07788e97 mtd: nand: Fix timing setup for NANDs that do not support SET FEATURES
a34d48d5ca47 mtd: nand: atmel: Fix DT backward compatibility in pmecc.c
0eda7e0bf238 pinctrl: armada-37xx: Fix number of pin in south bridge
8452494828f7 xfs: Fix leak of discard bio
0af6995672cb xtensa: don't limit csum_partial export by CONFIG_NET
094849d602a0 xtensa: mm/cache: add missing EXPORT_SYMBOLs
5e96389b3adc xtensa: fix cache aliasing handling code for WT cache
5c1d458de22b futex: Remove unnecessary warning from get_futex_key
5f064f8a0d4b mm: fix list corruptions on shmem shrinklist
10df347170c3 mm: ratelimit PFNs busy info message
(From OE-Core rev: 180acc0b1044ff826478b1dac30d20f34eed3023)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building the qemuarma9 BSP, we get the following warnings:
---------- CONFIG_VGA_CONSOLE -----------------
Config: CONFIG_VGA_CONSOLE
From:
tmp/work-shared/qemuarma9/kernel-source/.kernel-meta/configs/standard/arm-versatile-926ejs/bsp/qemuarma9/qemuarma9.cfg
Requested value: # CONFIG_VGA_CONSOLE is not set
Actual value:
---------- CONFIG_USB_ISP1760_HCD -----------------
Config: CONFIG_USB_ISP1760_HCD
From:
tmp/work-shared/qemuarma9/kernel-source/.kernel-meta/configs/standard/arm-versatile-926ejs/bsp/qemuarma9/qemuarma9.cfg
Requested value: CONFIG_USB_ISP1760_HCD=y
Actual value:
Both of these options no longer need to be in the BSP fragments
for qemuarma9, we fix them with these meta data changes:
a2edeff915b9 qemuarma9: remove USB_ISP1760_HCD
5f76e8f64fa5 qemuarma9: drop VGA console disable
(From OE-Core rev: b3abced7aadf9d51017b1d0c1ae44886649ff6a3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 4.10 and 4.9 kernels need a fix applied to 4.12 to deal with
a configuration warning:
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Aug 18 17:03:27 2017 -0400
wifi: drop BRCMFMAC_PROTO_MSGBUF, since it is selected
(From OE-Core rev: 288f3ce9bfe0c2964137bfc98e033466fbf418be)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yaffs2 needs some tweaks to build against the 4.12 kernel, we
import the following two commits:
084d8ae2f349 fs: yaffs2: includes the missing header file
595f7d1759d9 fs: yaffs2: replace CURRENT_TIME by other appropriate apis
(From OE-Core rev: c62fa4393014caa526875b7d7a07fc634314f279)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The aufs patches were out of sync with the latest upstream and hence
didn't build against 4.10.
With this update, we are once again building and up to date with the
upstream repo.
(From OE-Core rev: b8b7aa0f64e46e7e8134a8bc33948e2bbe63380f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix failure after commit "cooker/siggen: Reset siggen when reparsing"
(e4c6ca9440f63761560b49bbe12654441f54687e) when executing without
specifying a BB_SIGNATURE_HANDLER.
(Bitbake rev: 2a78c2d09aea0323632bbc927f370f1d3c9c249e)
Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BB_SERVER_TIMEOUT=100 oe-selftest -r devtool.DevtoolTests.test_devtool_build_image
fails, the reason is that internally, the limited_deps flag is set in
the bitbake server and then never cleared. This causes the sysroots to
be setup incorrectly (as per the limited dependency case) and builds
break. There is also potential for corruption of recipecaches.
Add shutdown/cleanup code to ensure these effects don't 'stick'.
This bug is particularly nasty as you can destroy TMPDIR with large
sysroots in build work directories which are prone to break.
Also ensure mtime cache is cleared (to match buildTargets) and
that no lasting changes are made to siggen either which ensures:
BB_SERVER_TIMEOUT=100 oe-selftest -r devtool.DevtoolTests.test_devtool_upgrade_git devtool.DevtoolTests.test_devtool_virtual_kernel_modify
works.
(Bitbake rev: 0a7ee8c8378bba9877c260b1aee782878f1935b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When fetching source for the first time within scripts such as
OpenEmbedded's recipetool, we don't want to be showing warnings about
NPM_SHRINKWRAP or NPM_LOCKDOWN not being set since there's no way we
could have set them in advance. Previously we were using
ud.ignore_checksums to suppress these but since we are now using a more
standard task-based path to fetch the source, we need to disable these
through the metadata. Look for a "noverify" parameter set on the npm URL
and skip the checks if it is set to "1".
(Bitbake rev: 8c4b35d1e4d31bae9fddd129d5ba230acb72c3bb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you run some other operations that result in the cache being
populated, and then call buildFileInternal(), then you can end up in a
situation where the cache already contains information about the recipe.
For example in OE this can now happen when you use devtool upgrade.
Normally this doesn't cause any problems, unless you have a non-absolute
path in BBLAYERS - in buildFileInternal() we are calling matchfile() which
will convert the filename to absolute, but later when taskdata goes to find
the providers of the recipe it finds the non-absolute path, sets up the
task information using this and then the runqueue can't find any tasks
matching the absolute path. To fix this, back out the optimisation I did
earlier in bitbake rev ba53e067a2d448dd63b4ca252557ce98aa8e6321 to avoid
calling parseConfiguration() again, which is unfortunate but does result
in the cached information being that causes the problem being cleared
out.
This fixes "Task do_unpack does not exist for target ..." running
devtool upgrade within intel-iot-refkit.
(Bitbake rev: f120355eaec4571ba6d60fc5f7ae9e1f31d846d1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you set tracking=True when creating the tinfoil object, that ensures
history is collected for the main datastore, but at the end of parsing
the configuration, history tracking gets turned off to save time with
the result that we don't collect history for any recipes we parse.
Enable tracking when we parse a recipe (and disable it afterwards if we
enabled it) in order to fix this.
This fixes functionality in OE's devtool that relies upon variable
history (such as devtool upgrade updating PV when it's set within a
recipe).
(Bitbake rev: cc8b4c81bb589fb70774a0151f87a8d277f40f06)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a task fails during build_targets(), we need to print out the log
lines as knotty does or the user will be missing information about the
failure.
(This should get some deeper refactoring, but now isn't the time for
that.)
(Bitbake rev: 24879df071d4803db3d39ae1d5cad852daa92f28)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With config_only=False we launch the UI and it sets up a logger, whereas
when config_only=True we don't, with the result that with True we are
seeing log messages from both our logger and the one set up by the UI.
Suppress our loggers with config_only=True to avoid this.
Fixes [YOCTO #11275] (again).
(Bitbake rev: b5e3b28b7c982dd8a3991d727f25710dbf58bb80)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the server exits quickly its PID may no longer exist. Handle
this gracefully.
(Bitbake rev: c1b00a9265fa4146b8db8b7d03a51bf2bfcf9f51)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
self has a quit function and a variable. Separate this to two different
things as the current setup is prone to breakage.
(Bitbake rev: ba7e3c73d8f4d2bd1d7434b97c326e7ab935231a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Shutdown from SIGTERM currently has to wait for the handler thread to timeout.
Add a sentinel value which triggers it to loop and allows for a quick exit.
(Bitbake rev: a7591ef34ce70ff1d7aa9362d7473e6f16fbd10f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If for example you run:
bitbake -r somefile.inc
rm somefile.inc
bitbake -e
bitbake will crash with an error about not being able to find somefile.inc. This
is because it tries to reparse the base config for the early getVariable requests
before it sees the updated missing -r option.
Send the updateConfig command earlier to avoid this.
(Bitbake rev: a38164620ebdc770690c5f39ff9ed69d3f82719e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cooker.reset() can be called before we've actually setup the datastore. Gracefully
handle this case instead of the current traceback+exit.
(Bitbake rev: 8fd30ca6d271c125a8ea03ef0c5d7ab176900701)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we reload the configuration, PRSERV_HOST can change. Therefore
restart the PR Server depending on the new configuration at reparse.
Note that the server has to be started from the right process, it
can't be in the UI which shuts down as that shutdown triggers a shutdown
of its children and the PR Server shuts down too. This is why we need
pre_serve() which ensures its executed in the right context.
(Bitbake rev: 971272e84f4efe7ebd0037e164ba54f013a2a34e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows for cleaner code in cooker as any existing server is dealt
with before a new one is started.
(Bitbake rev: b8616931bc0e523a3a3bb23b4f623f8b6e71d690)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the original prefile and postfile passed when starting bitbake
server are 'sticky'. With the new memory resident model this doesn't make
sense as the server the system is started with isn't special.
This patch changes the code so the prefile/postfile are used if specified
on the commandline and not used otherwise. This makes the behaviour much
more predictable and expected and as an added bonus simplifies the code.
(Bitbake rev: 638d366234fad78f283d3a13a12b07cb0ccbe914)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current passing of "tracking" backwards and forwards, client to server
is ugly and complex and error prone. Instead, set this during showEnvironment
commands triggering a reset there if/as required.
(Bitbake rev: 9dc7f384db0479569ff93a76a623d5395fecaf47)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop pointless unused function parameter.
(Bitbake rev: 8104b33656de0b619943bd7a9884eb650ccafbf4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'needconfig' flag was meant to be the default as most commands do need
it and the "False" cases were the exception. The code was written backwards
with a default False value. Invert this to match the intent, resulting in
the config being reparsed if metadata has changed.
Also ensure the second level configuration is parsed for the getLayerPriorities
command as otherwise it can return stale info.
With these changes:
BB_SERVER_TIMEOUT=100 oe-selftest -r bblayers.BitbakeLayers.test_bitbakelayers_add_remove
passes instead of fails.
(Bitbake rev: af3c8928a69f204d5ced02c947485990ac04a776)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the memory resident mode, the user may not see a message about the server
starting, it would be in the cookerdeamon logfile. We don't need this to
test the server is functioning correctly so just drop the test.
Add in an extra check that the file we expected to be created was
created when exporting PR values.
(From OE-Core rev: 811edd95420e907e71b5c7646bde5013b43d4c73)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Waffle's REQUIRED_DISTRO_FEATURES statement looks into DEPENDS and if
virtual/libgl is present, it includes opengl as distro feature. However,
in a multilib environment, recipes provides virtual/${MLPREFIX}libgl,
thus waffle recipe needs to include the prefix. Also PACKAGECONFIG
statements need this change in order to properly include the libgl
dependency.
The way this error showed up was in a multilib environment and a distro
not containing opengl, i.e. nodistro, leading the following error when
building world -S none (because opengl was not included as required distro
feature):
ERROR: Nothing PROVIDES 'virtual/lib32-libgl' (but virtual:multilib:lib32:/meta/recipes-graphics/waffle/waffle_1.5.2.bb DEPENDS on or otherwise requires it). Close matches:
virtual/lib32-libsdl
virtual/lib32-libc
virtual/lib32-libsdl2
ERROR: Required build target 'lib32-meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['lib32-meta-world-pkgdata', 'meta-world-pkgdata', 'lib32-waffle', 'virtual/lib32-libgl']
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
[YOCTO #10900]
(From OE-Core rev: 2e3344a3b6d5c709ab0d368dd171240ab5cc6e22)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In OE-Core commit a48fea275b, a check on
the value of a "sha256" parameter was added, however there was no
mention of this in the commit message and no corresponding code to
actually verify the checksum as sha256 was added along with it either,
so there's no point in getting the value. Additionally it was assuming
that a sha256 value would be present without checking first, with the
result that if you leave out the md5 value in a recipe intentionally in
order to get it to tell you the correct value on the next build, you got
a traceback instead of the appropriate error containing the information.
Drop this entirely - if we want to implement this we need to do it
properly.
(From OE-Core rev: e9eaa7d15fe7ab643ab19556dab84051f8f1974e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is actually the same version as previously; upstream didn't have
a tag for it before and now it does, so we can reduce confusion. The SRCREV
change is due to a few added commits which modify upstream's debian
packaging (not used by us).
(From OE-Core rev: 8359730165908025b0762eaa25569e2fdcd9d086)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alexander Monakov (1):
__init_libc: add fallbacks for __progname setup
Daniel Sabogal (1):
fix signed overflow in ftok
Rich Felker (4):
fix unsynchronized access to FILE structure in fflush(0)
fix undefined behavior in memset due to missing sequence points
add powerpc64 and s390x to list of supported archs in INSTALL file
move IPPORT_RESERVED from netdb.h to netinet/in.h
Szabolcs Nagy (2):
fix mips ioctl macros to match linux asm/sockios.h
add SIOCGSTAMPNS socket ioctl macro to ioctl.h
(From OE-Core rev: 82ecd051e2f591be97185b14250382de4456e633)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recipetool create (and hence devtool add) and devtool upgrade use
fetch_url() which creates a dummy recipe in order to fetch source.
Previously the random part of the name was using uppercase characters,
and this triggers a QA warning after OE-Core commit
4713f8b2c4f2c74239d284adcf1e59e61aa66576, so use lowercase instead as I
really should have in the first place.
(From OE-Core rev: b48c48b00e82491d1c69e4d89a79c6242361abec)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I recently found that variable history wasn't working properly for
recipes when we enable history tracking, resulting in minor
functionality loss in devtool upgrade, so add a test to ensure this
doesn't regress now that it's fixed.
(From OE-Core rev: f49042e707d641b59a71c687374b76df97c64c34)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since OE-Core revision 9a47a6690052ef943c0d4760630ee630fb012153 the
mechanism we were using to suppress the warnings about
NPM_LOCKDOWN and NPM_SHRINKWRAP not being set on the first fetch of the
source is no longer available since we are using the normal fetch/unpack
tasks to do the job. Use the newly added noverify parameter to suppress
the warnings again.
(From OE-Core rev: cb083b6f5f6e909b7c85548bcb1a92ca34d0c18a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you're fetching from an SCM other than git (for example subversion or
mercurial) then we need to use a different prefix for the SRCPV in PV
instead of +git.
(From OE-Core rev: ad1200c8729f21b325d347649f9dd5e5598de93e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The branch and tag handling code that was recently added in OE-Core revs
ecca596b75cfda2f798a0bdde75f4f774e23a95b and
3afdcbdc9a3e65bc925ec61717784ffec67d529d is specific to git, so only
apply it when we're fetching from a git URL.
(From OE-Core rev: 5d4bfe6cf788ce971a2e9419bc13492153023681)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At the moment when fetching source from a git repository you have to
know that you can specify the revision and branch in the URL with
';rev=' and ';branch=' respectively, and you can also get thrown off by
the shell splitting on the ; character if you forget to surround the URL
in quotes. Add explicit -S/--srcrev and -B/--srcbranch options
(consistent with devtool upgrade) to make this easier for the user to
discover and use. (The rev and branch URL parameters will continue to
work, however.)
(From OE-Core rev: 2d86cac853d6daa496c0315a5cb0662ebf1165b0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We weren't testing the devtool find-recipe and edit-recipe subcommands,
with the result that when they regressed recently we didn't notice. Add
some code into the test_devtool_add to test this (since we need a
recipe in the workspace, and adding a new test with all that preamble
would seem a bit excessive for these simple checks). Also take the
opportunity to refactor the test a little bit so that the recipe name
and version are variables rather than hardcoding them everywhere.
(From OE-Core rev: 355d8f42679e37610c2947dece597ed7db774bee)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core commit 5a16b3c804c5eca331a1c08a7ce31a54909af105 attempted to use
the same function to get the path to a recipe as the new "find-recipe"
command it implemented, except that cannot work because (a) it didn't
return anything and (b) event if it had tried, a command function can
only return an exit code and we don't want that for find-recipe if it
succeeded. Split out a separate reusable function for both commands.
(From OE-Core rev: d5191840212adbf480961ba6fc68e1ab17e5a77a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're upgrading a recipe that appends additional patches for, say,
class-native, and we're just upgrading the target variant, then when we
copied the recipe into the workspace we skipped copying the additional patches
for the native variant. This caused warnings because the workspace
recipe is preferred. Look at SRC_URI for all variants when copying files
to work around this.
More work is needed to make it easier to work with recipes that use
BBCLASSEXTEND where you need to build more than one variant at once, but
this at least fixes the immediate ugliness.
(From OE-Core rev: 56bf5e93358187e31160d7893f57906bb3dc7ad7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If your BBLAYERS has non-absolute paths in it (e.g.
"${COREBASE}/../something") then none of the paths matched in
copy_recipe_files() with the result that no files got copied and you
ended up with an error later on because the recipe file couldn't be
found at the destination. Fix this as well as adding an explicit check
to see if no files got copied - error out earlier if so.
Fixes [YOCTO #10981].
(From OE-Core rev: 3861486ad06f90c8644ebab119bbc5ddb9e693ca)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches that we identify as having been "deleted" (i.e. patches in
SRC_URI that no longer appear in the git tree) need to be dropped even
if we're updating in srcrev mode. This fixes the case where HEAD of the
git tree is valid upstream (i.e. no extra commits), but there are
patches left over in the recipe, e.g. when we do devtool upgrade and
then all of the commits rebased on top of the new branch get skipped.
Fixes [YOCTO #11972].
(From OE-Core rev: 350f83dc1e317aeb93539f13966caca6d894f569)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compressing with "gzip", do not save the time stamp in
the compressed file metadata.
(From OE-Core rev: a88c16c2dc5dd7e2fbf7ca908a8b48da7be8b34c)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lines in qemuboot.conf are in random order.
This patch fixes this by printing the lines in sorted order.
This makes it easier to compare two different builds for
any differences.
(From OE-Core rev: 0868edace0750862168abc8d504891646afc8c76)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating Packages.gz, do not save the time stamp in the compressed
file metadata.
(From OE-Core rev: 693fc377aa0788825b921d1b7804f5b2eafec76f)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
${BUILDSDK_CXXFLAGS} was introduced since
commit 55c83cb239df5faf5e2143fffca47f2f16931cb3
cross.bbclass: override TARGET_* flags
bitbake.conf has definitions for both ${BUILDSDK_CPPFLAGS} and
${BUILDSDK_CFLAGS} but there is none for ${BUILDSDK_CXXFLAGS}.
This was a regression as in the past, CXXFLAGS is the same as
CFLAGS in SDK environment.
Adding definition for ${BUILDSDK_CXXFLAGS} will resolve CXXFLAGS
being set wrongly in SDK environment.
[YOCTO #11769]
(From OE-Core rev: 073ca1cbd1b70d5b36618584a8c88cbba391a259)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A fuzz on libpcre1 through the pcretest utility revealed an invalid read in the
library. For who is interested in a detailed description of the bug, will
follow a feedback from upstream:
This was a genuine bug in the 32-bit library. Thanks for finding it. The crash
was caused by trying to find a Unicode property for a code value greater than
0x10ffff, the Unicode maximum, when running in non-UTF mode (where character
values can be up to 0xffffffff).
(From OE-Core rev: 1b87201784e733f3a9d436f56cb5a6151ba6bdfa)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of
service (heap-based buffer overflow) or possibly have unspecified other impact
via a crafted regular expression.
(From OE-Core rev: dd63a26fedb8a578d34850ede4c27e26b8876e7e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no COMPATIBLE_HOST in the recipe neither it makes sense for
this to be machine specific.
Possibly, initramfs-framework's based modules may be machine specific
but if there is the case they can just RDEPENDS on
initramfs-framework-base and provide the specific module as another
recipe.
(From OE-Core rev: 9a661bca9d9dd03627a5efaea0f9247394f05b0e)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix booting messages wrapped over two different lines:
Starting bluetooth
bluetoothd
Stopping bluetooth
/usr/libexec/bluetooth/bluetoothd
Also reworked whitespace (removed some empty lines).
(From OE-Core rev: 62f1122ef166eba56441d669c6b3b3fe5f367418)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For URIs with the npm:// transport but with no other slash in it, the
common MIRRORS and PREMIRRORS pattern of npm://.*/.* fails to match.
Make the last slash in the pattern optional in the mirros.bbclass and
own-mirrors.bbclass classes.
Many URIs with the npm:// transport have no slash after the host part:
npm://registry.npmjs.org;name=foo;version=0.1.2
This means that MIRRORS and PREMIRRORS containing entries like the
first one will not match these URIs:
npm://.*/.* # fails to match
npm://.*/?.* # matches this and URIs with path components
For normal regular expressions, a pattern like 'npm://.*(/.*)?' would
probably be preferred, but that won't work here: the pattern gets split
into the substrings 'npm', '.*(' and '/.*)?', which are not valid
regular expressions individually.
(From OE-Core rev: 0d1e2b4507af28fc451b8fa94130a39ac342637d)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bit academic as building with wayland without opengl
should be uncommon: still, libepoxy needs opengl so we shouldn't
depend on it without opengl.
(From OE-Core rev: 38d4672ee9fe2d9ef341875434562be8bca7d9bb)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mesa can now build vulkan drivers without opengl: remove workaround.
(From OE-Core rev: c5fdda293a8f0b18293295d05a33697e3b2f1877)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mesa can build certain things without opengl: most importantly vulkan
drivers.
Add comments on the dependencies between the packageconfigs. Also add
a few dependencies to packageconfigs. Modify default packageconfig to
do the reasonable thing based on distro features.
Add a backported patch to fix the build with --disable-opengl. Fix
do_install_append() so it works even if dri drivers are not built.
(From OE-Core rev: 48d39cf43b59c96d4deca783ec66686f5c8cd3e7)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DISTRO_VERSION may contain the current date, and so is prone to mismatches
particularly when keys are created on one date, and dnf is configured to use the keys
on another date.
[YOCTO #11983]
(From OE-Core rev: b8f33f3f0a1e24f89151743d5c0b82efe45a9df1)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This seems to be a leftover from the recipe sysroot transition. Remove
it, as it might mask configuration errors.
(From OE-Core rev: 9a0bdea2b9c2d3b5ad379a1d61f7e262693b75d0)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Errors like:
runqemu - ERROR - Acquiring lockfile /tmp/qemu-tap-locks/tap0.lock failed: [Errno 11] Resource temporarily unavailable
are not really fatal errors. Change these to info messages instead
so people look later in the log for the real errors.
(From OE-Core rev: fac12de72bda1e864e71538be07d6c6f6e987498)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing timeouts in the autobuilder testing code. Increase these
timeouts to 120, print the length of time we're having to wait, change
the error messages to really be errors and don't print empty logs, its
not helpful, print a message about the empty log instead.
(From OE-Core rev: b87a33d9c86cc1d2ea196259020e1d3dc712ccef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gettext has a notoriously slow configuration step, and so in my testing
this greatly speeds up building core-image-minimal: from 21m36s to 19m2s
(empty sstate and tmp, but pre-populated downloads).
I have also built world, and core-image-sato to make sure it doesn't break
or modify the build, and there is no difference whatsoever in packages
and images content. Target gettext seems not to be used for anything.
Also fix up insane.bbclass to remove the corresponding QA check.
(From OE-Core rev: 1a7b843d575b290917d1e379c2ba106460988230)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we disabled uppercase characters in overrides a few releases
ago, uppercase characters in recipe names (and for that matter, distro
and machine names) cannot be supported due to their reliance upon
overrides including the name.
QA check will produce an warning message when it verify that recipe
name is uppercase.
[YOCTO# 11592]
(From OE-Core rev: 4713f8b2c4f2c74239d284adcf1e59e61aa66576)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no way to make PACKAGECONFIG options sdkmachine specific using
overrides. This causes potential failures when running the Yocto Project
compatible script. Moving these to the OpenEmbedded Core recipe will
ensure that the options are always applied evenly and avoid any potential
problems with the compatible script.
(From OE-Core rev: 2454019844c762613a2c78ed7f7f2d30960c0bfd)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New devtool deploy-target option --strip which enables deploying
stripped binaries, saving some space on target.
* Copies the files of ${D} into a new directory and strips them in place
* Used oe.package.strip_execs for stripping directory
* Added devtool.conf option "strip" for changing default behavior
Config example:
[Deploy]
strip = true
[YOCTO #11227]
(From OE-Core rev: 7f10c5118793da6ded59ae6e60e796152dbd7ca3)
Signed-off-by: Tobias Hagelborn <tobiasha@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test_expand_mbr_image test case to the wic oe-selftest suite.
The test expands directdisk wic image to 1Gb target, checks if it's
expanded correctly and boots it in qemu to make sure the image
is bootable, i.e. bootloader, kernel, boot and root partitions
are still functional.
(From OE-Core rev: 83739174be5b3fabd7df559a35ac6407d82a6280)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Got rid of lazy evaluation of self.partitions property.
It's not needed because partitions of the source image should
be always read.
(From OE-Core rev: 1186fd8fd4a4789dc7c60feb86cc9fdd03fee7b3)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This command writes image to the media or another file with
the possibility to expand partitions to fill free target space.
[YOCTO #11278]
(From OE-Core rev: ac5fc0d691aad66ac01a5cde34c331c928e9e25a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added sfdisk, e2fsck, mkswap, resize2fs, mkdosfs to the
list of used tools in Disk class. They're going to be used
in 'wic write' implementation.
Added dependency to util-linux to wic-tools to ensure that
sfdisk and mkswap are available from wic-tools native sysroot.
(From OE-Core rev: 1add68e4d6150e3038609d8ce7e3cff28fe8fbb8)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This parameter specifies list of supported filesystems.
So far only 'fat' is supported, but 'wic write' is going
to support at least 'fat', 'ext' and 'swap'.
(From OE-Core rev: 7cffcdcfdf4f8934d212740a6d7cf136911ebdac)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Converted partition number to int in order to use
it as an index in the list of partitions.
(From OE-Core rev: f901f23eb05cd6b86a49ef1b6ec7efaf72f6d685)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Got partition type and sector sizes from the output
of 'parted print'. This info may be used in the implementation
of 'wic write' command.
(From OE-Core rev: 5c0926d8efa468177b7cb43a5f06b35058255644)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So far every used tool have to have separate property and
private attribute in the Disk class. This is too verbose,
considering that there will be much more tools used.
Reimplemented getting tools paths using custom __getattr__
method. This is much more compact and readable.
(From OE-Core rev: d1a831a9870bc31e936eb480485b28f1ffc13080)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not currently used, but include for completeness.
(From OE-Core rev: dcceb90516efc77e4d0cddc3caf4e203ab9321d6)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without the --disable-factory option, mate-terminal fails to start
with the error:
| There was an error creating the child process for this terminal
| Failed to execute child process "oe-gnome-terminal-phonehome" (No such file or directory)
The --disable-factory option was removed by:
http://git.openembedded.org/openembedded-core/commit/?id=e8dca725ed8211a874472300a3ed50e494039ab9
apparently based on an assuption that mate-terminal continues to
track gnome-terminal since forking from it. However, based on the
mate-terminal man page in the upstream master branch, the option is
still supported:
https://github.com/mate-desktop/mate-terminal
(From OE-Core rev: c7f769bd400756d180abf80dbfdf4ed2703fab60)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the less common terminal types haven't been tested with the
recent phonehome pid file changes and there may be error cases where
the pid file is never created.
(From OE-Core rev: 6b0cf568e9fbe28fb6e7b17f4ad92348d33e2bf4)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-core commit 51b3ee298635b11d5784caaa0ac1c8f4034c25a5
[gnome-themes-standard: Fix packages so dev-pkgs image generation
works] disabled generation of the -dev pkg. Since a libtool archive
file was no longer being picked up by the -dev pkg the build will fail
with a QA issue (if ERROR_QA includes installed-vs-shipped):
ERROR: gnome-themes-standard-3.22.3-r0 do_package: QA Issue:
gnome-themes-standard: Files/directories were installed but not
shipped in any package:
/usr/lib64/gtk-2.0/2.10.0/engines/libadwaita.la
The libtool archive file is mostly useless in modern Linux with a
single shared library file so instead of including this in the -dev
pkg we simply drop it.
(From OE-Core rev: 77797a95569252024fca094d33ae9ecbc833597f)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently items are added to the sysroot, the obsolete items are removed. If
a change such as pkgconfig -> pkgconf is made, this leads to conflicts of
overlapping files in the sysroot.
In order to better support this, handle removing items before adding them.
This requires some minor refactoring to construct the installed list
before the main function loop, otherwise there are no changes in this
patch other than reordering the operations.
(From OE-Core rev: add4f107c151d32d9ea914bb0b93c3d3c17c776c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently a task could remove a dependency needed by another task leading
to build failures, often due to missing dependencies (e.g. dynamic libraries
not being found). This was often seen for all-arch recipes in package_write_rpm.
When removing a dependency, first check that no other task active for the
recipe has that same dependency.
(From OE-Core rev: ff3617cc2cd5618f48a25aa4e3b2014430fcbe23)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some layers may be setting their own EFI_CC
keep that possibility open
(From OE-Core rev: 4898d1883ae300ade52633109fa7dc3f6e208e14)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bugfix release and has following upstream bugs as noteworth:
Bug 101334 - AMD SI cards: Some vulkan apps freeze the system
Bug 101766 - Assertion `!"invalid type"' failed when constant expression involves literal of different type
Bug 102024 - FORMAT_FEATURE_SAMPLED_IMAGE_BIT not supported for D16_UNORM and D32_SFLOAT
Bug 102148 - Crash when running qopenglwidget example on mesa llvmpipe win32
Bug 102241 - gallium/wgl: SwapBuffers freezing regularly with swap interval enabled
(From OE-Core rev: 4d6b5b85508f1b55c9ae38a9a9bb82e060e3c793)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its been highlighted that TARGET_SYS can be changed by MACHINE and DISTRO files
so this doesn't work at all today. build/ configuration files also don't see to
be used. Drop these forms of include files for those reasons and simplfy the code
slightly.
(From OE-Core rev: df61351b625fcd2e86aac7630944cc0403455de6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- rename type to exec_type not to shadow type
- rename isELF is_elf
(From OE-Core rev: c72bd726d3e8495aae3e57f524c43b3be6367796)
Signed-off-by: Tobias Hagelborn <tobiasha@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2017-12678: In TagLib 1.11.1, the rebuildAggregateFrames function in
id3v2framefactory.cpp has a pointer to cast vulnerability, which allows
remote attackers to cause a denial of service or possibly have
unspecified other impact via a crafted audio file.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-12678
Patch from:
eb9ded1206
(From OE-Core rev: 24ac12ecb19efc7c131c9711ba32e298ba860eb7)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix hardcoded path for ptest script which would cause failure on
mulitilib:
ls: cannot access '/usr/lib/e2fsprogs/ptest/test/[a-zA-Z]_*': No such file or directory
./test_script: line 54: /usr/lib/e2fsprogs/ptest/test/test_post: No such file or directory
* Add missing '$' for shell variable reference
(From OE-Core rev: 82d244a9225bd1fa512e696aae917febe051fcf9)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should have been done after Pyro was released, but it apparently
slipped though the cracks.
(From meta-yocto rev: 4e6dc6596fd60c35e14ad95899ebd66d16375d77)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix do_configure to be able to regenerate configure files
Use cross libtool as installed by OE, as done in normal autotooled recipes
These changes help in invoking the libtool with proper tags for C
and C++ compiler and linker invocation and not use same tag across all
different invocations
Fixes errors like
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
(From OE-Core rev: afa9f769d62034d4443dfe929422d1d591adf709)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were relying on running ca-certificates from the -native version. This
meant the host and target path layouts had to match which might not be true,
it certainly isn't true for the sdk builds.
There was a dependency on run-parts which wasn't represented (we can get it
from busybox or debianutils).
Since this is an allarch script, call the script directly, making sure debianutils
and openssl are available as postinst rootfs time to resolve the issues.
(From OE-Core rev: d9575e05f2cb8bf293534c036ddc0d0336701256)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than just waiting for 5s, try and get the lockfile. If we gain
the lock, we know we're ready to retry and can skip any remaining timeout.
(Bitbake rev: 8a60106c6f7d586c793b965c5e9460b6016fab15)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible for a connection to connect to the server as its shutting down
but before its removed the socket file. This patch:
a) Removes the socket file earlier to avoid connections.
b) Handles EOFError in initial connections gracefully. These occur if the
socket is closed during the server shutdown.
c) Ensure duplicate events aren't shown on the console. This makes debugging
these issues very very confusing.
With these changes the backtrace that was concerning users is hidden and the
server works as expected with a reconnect when it catches it in a bad state.
(Bitbake rev: f45196cf84669723382730944dddc7eaf50826f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This silences warnings generated after pkg-conf was added as an alternative
pkgconfig provider.
(From OE-Core rev: a8b89b3cf58fd3bc6c8f0cd3fd93a552818bc040)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this should work we see failures in testsdkext at the moment when
this is set. Add this to the blacklist for now until we can fix these issues
meaning we can at least test BB_SERVER_TIMEOUT in other scenarios.
Bug 119733 has been opened to track this.
(From OE-Core rev: 88cb174680cd37b5afb2b79e8248979895c35312)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to provide python libs by default, and some other
popular Linux distributions like redhat/fedora does the same.
(From OE-Core rev: 41744c418009dccc5f79c1a4a28419807d67837c)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 44aea7b873 [kernel-yocto: ensure that only valid BSPs are built]
introduced a new check to ensure that a valid BSP definition was found,
rather than building something that 'closely' matched the current
MACHINE.
This check breaks valid configurations which do not have a bsp
definition but are otherwise completely configured machines.
To allow both elements to co-exist (and not add warnings or errors
to otherwise valid builds), we first check to see if an empty bsp
definition was found, but then check to see if a defconfig was
provided.
If a defconfig has been provided, that is a sign that the board
configuration is complete and we should continue the build without
otherwise bothering the user.
Tested on meta-raspberrypi and linux-yocto*
(From OE-Core rev: 156cf9e25f875a50f907e570d9b62cbc2c051133)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When bootparam_root was empty the if statement would resolve into
invalid syntax instead of short circuiting after the -z, causing a boot
failure.
(From OE-Core rev: dcd129504ea64986652e2e5907d9badf9373e367)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch was a temporal workaround needed with 4.1 kernels.
Remove it.
(From OE-Core rev: 9f32d9405ed5430e9e55de2f1562baac963e807c)
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A gpg command, e.g, called by get_gpg_version(), may trigger such a warning:
gpg: WARNING: unsafe ownership on homedir '/home/user/.gnupg'
This sort of warning is harmless so it can be depressed through specifying
--no-permission-warning.
(From OE-Core rev: 0a740aa6f02deada56e0b7deb2bc1f7401e58726)
Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only build with the vulkan distro flag is set. (References to this flag
were found in the mesa recipe.)
In addition, only set the RRECOMEMND to mesa, if 'opengl' flag is set. Mesa
required opengl distro flag to build.
(From OE-Core rev: 152b59e07aed76de158d553178a2710330bc4cc1)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ptest log will be saved to buildhistory/ptest, we can easily get
the regression result between builds by:
$ git show HEAD ptest/pass.fail.skip.*
[YOCTO #11547]
(From OE-Core rev: dcb6cd19fb8c639cb844d116fb83827267f37421)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's very important to add IMAGE_CLASSES += "testimage" in local.conf firstly,
otherwise the var like TEST_LOG_DIR (defined in testimage.bbclass) will not be
in testdata.json.
[YOCTO #11547]
(From OE-Core rev: 5663ed989f0af5b1c61c74288ec421cbca2261e7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes the user easier to know how to make commit in buildhistory.
[YOCTO #11547]
(From OE-Core rev: 164a0bd847f02ca65dcd53ddc789690060274191)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There might be wild strings when read from target (especially when
reading ptest results), replace the errors to avoid breaking the test.
Fixed: (Not always happen)
$ bitbake core-image-sato -ctestimage
[snip]
status, output = self.target.run('ptest-runner', 0)
File "/buildarea/lyang1/poky/meta/lib/oeqa/core/target/ssh.py", line 84, in run
status, output = self._run(sshCmd, processTimeout, True)
File "/buildarea/lyang1/poky/meta/lib/oeqa/core/target/ssh.py", line 55, in _run
status, output = SSHCall(command, self.logger, timeout)
File "/buildarea/lyang1/poky/meta/lib/oeqa/core/target/ssh.py", line 258, in SSHCall
run()
File "/buildarea/lyang1/poky/meta/lib/oeqa/core/target/ssh.py", line 236, in run
output = process.communicate()[0].decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 4906: invalid continuation byte
[YOCTO #11547]
(From OE-Core rev: d0d2f892f0bed6adb5ec6fb59d64efcc97c83e19)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section might be None or '', so use "if section" for it.
Fixed:
File "/buildarea/lyang1/poky/meta/lib/oeqa/utils/logparser.py", line 113, in log_as_files
prefix += section
TypeError: Can't convert 'NoneType' object to str implicitly
[YOCTO #11547]
(From OE-Core rev: 320ea01f9eb33df462534bf08488ff6ada9bbe7b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Make it work with current oeqa
* Skip the test if ptest is not in DISTRO_FEATURES
* Skip the test if ptest-pkgs is not in IMAGE_FEATURES
* The logs are saved to:
testimage/ptest_log -> testimage/ptest_log.<datetime>
* This provides data that could be used to detect regressions in ptest results
[YOCTO #11547]
(From OE-Core rev: f1dfb59495db9e79441c8aa623ede7ef20045a20)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bmap-tools has run-time dependency on "python-mmp" which is missing in
the RDEPENDS. "bmaptool" command in the target will fail without this
patch.
(From OE-Core rev: 1127154b958d0a0e167cefff4bc40dfb86e3378a)
Signed-off-by: Binghua Guan <freebendy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
URLs do not have to have a path; currently our npm URLs don't, so
encodeurl() needs to handle if the path element isn't specified. This
fixes errors using OpenEmbedded's devtool add / recipetool create on an
npm URL after OE-Core revision ecca596b75cfda2f798a0bdde75f4f774e23a95b
that uses decodeurl() and encodeurl() to change URL parameter values.
(Bitbake rev: d5cab2dbf5682d2fd08e58316a3bf39a10f63df2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes error "Exception: NameError: name 'errno' is not defined"
during build-sysroots.bb:do_build_target_sysroot
(From OE-Core rev: b1e482ae20b9c714f4089d4da6470d041242e441)
Signed-off-by: Marko, Peter <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core commit 1df60b09f7a60427795ec828c9c7180e4e52f98c caused a
regression in npm handling since it still expected to be able to get the
results of the license handling, but this no longer happens until after
the npm plugin is called. Thus, call the license handling function
ourselves here (which will record this as having been handled so it
doesn't get done again later).
(From OE-Core rev: 3e408aadaea85b6f192b34d37d508cbaf3cd7164)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With "import oe" in create_npm.py you get "AttributeError: module 'oe'
has no attribute 'package'" when it tries to call
oe.package.npm_split_package_dirs().
(From OE-Core rev: 1261900aeac725e5712e0180600753a9d4c67e60)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The underlying model is already sorted for use in the other view,
add a sorting model for the 'Dependent Tasks' view.
(Bitbake rev: 27ca94c33234f0ef9753f8285213dde2871a3fcf)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toaster needs to allow the custom fixture file to specific an
alternate Layer Index URL for users that host their own Layer
Index Server via the 'CUSTOM_LAYERINDEX_SERVER' in
'custom.xml'.
Toaster also needs to allow the ability to completely override
the default fixture files, otherwise that content can leak into
the custom environment (by default the custom fixture is an
overlay that cannot remove existing values from the default
fixture) via the 'CUSTOM_XML_ONLY' value in 'setting.xml'.
[YOCTO #11938]
(Bitbake rev: ac29d4a9078494544a2627d8b6b021096b49cb34)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toaster needs the ability to allow custom extensions to execute when
Toaster is started and stopped. Toaster will look for a custom
extension script in the fixtures directory and execute any applicable
hooks.
[YOCTO #11938]
(Bitbake rev: 12a73f6914488029f2b9dd680e004fba7dde41af)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When Toaster removes a package from a custom image, it must
also always remove the advised reverse-dependent recipes.
Similarly, when adding a package it must always add its advised
the packages it depends on. This code must be un-indented so
that it applies to all respective added or removed packages.
Toaster normally waits until a new custom image is built before
creating the custom layer and the recipe. However, an intermediate
different build can fail because the recipe has already been added
to the project, so the image's default recipe must be created
when the image is created.
[YOCTO #11915]
(Bitbake rev: bcd68fd7231f166baff875fb88e4f9ce0d9bf91d)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The header text has been moved to meta/conf/conf-notes.txt by:
[ meta: move some text from oe-setup-builddir to conf-notes.txt ]
Need do the same to meta-poky/conf/conf-notes.txt.
(From meta-yocto rev: 8a9d72abcf484fbe8001a08623910c5af1be07a0)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the age of 4.1 and it being removed from oe-core master
as an active kernel, we can bump poky-lsb to the newer 4.9 LTSI
kernel version.
(From meta-yocto rev: 1f85cc33429e9a217a11adc298e2149f2950724c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The IDE driver in the kernel is fragile and in 4.12 is causing backtraces.
To unblock 4.12 kernel merging use the virtio CD driver instead to mount
iso images which should be faster and more stable.
(From OE-Core rev: f59e729f98ef9b506b0cfdc415567e03ec87f2a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
THe newner kernels have ope firmware support enabled which leads to warnings
during boot on mips. These aren't interesting and we should ignore them.
(From OE-Core rev: 4ba9a6ffb4e7f6c7eee47aa13252fd981cfe5618)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this recipe is intentionally empty, but useful for BSP layers to
provide machine specific systemd services in this MACHINE_ARCH
package.
(From OE-Core rev: 5f3dbcf71059939f1c33af7b8848eb18b311365a)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sushell is required by systemd service debug-shell
when selinux is enabled.
(From OE-Core rev: 0e4e43e2e6e4a906dfa45b9e89d179e46d593158)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sushell is required by systemd service debug-shell
when selinux is enabled, but it doesn't make sense
to make systemd depend on initscripts, so split sushell
into sub package initscripts-sushell.
* The bash dependency has been removed by:
'''
4917e36a77bd6821b45db52caa43939d344d92f6
initscripts: Fix regression for requiring /bin/bash
'''
so remove bash from RDEPENDS when selinux is enabled.
(From OE-Core rev: 9c84ca86f396886ae68774032724b53664ecf0ed)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ibt-firmware was not packaged separately and was part of big linux-firmware
package. Packaging allows to install it separately, according to requirements.
(From OE-Core rev: f1414d6f9c327547023375f9e298f6f021eaee1b)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Package iwlwifi-3160-[10-17] firmware from iwlwifi-misc to seperate packages,
so it is possible to install only required firmare package.
(From OE-Core rev: 2a5966c957a6c2fbe914c1b3be0926ec0e62dab0)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add statistic summary for run-ptest
* Ensure the script can be run anywhere
(From OE-Core rev: 8a6f5a2bc55975f38ad285ddea7122643b303c53)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pkgconf is a better replacement for pkg-config. Fedora 26 replaces the
system pkg-config implementation with pkgconf because it "provides better
support for handling .pc files and a stable library ABI/API for integrating
into applications." and is actively maintained, unlike pkg-config.
pkgconf aims to offer many improvements over pkg-config such as faster/more
efficient dependency resolver which "allows for the user to more conservatively
link their binaries -- which may be helpful in some environments, such as when
prelink(1) is being used.
pkgconf also aims to provide a more complete implementation of pkg-config.
The features most likely to benefit the Yocto Project build system are the
faster/more efficient dependency resolution and linker flag optimisation.
Move pkgconf recipe to oe-core from meta-pkgconf:
https://github.com/kergoth/meta-kergoth-wip/tree/master/meta-pkgconf
Links:
1. http://pkgconf.org
2. https://fedoraproject.org/wiki/Changes/pkgconf_as_system_pkg-config_implementation
3. https://bugzilla.yoctoproject.org/show_bug.cgi?id=11308
(From OE-Core rev: 879bd0ff00ebebfdeef52c3f61597d635e040aef)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the end users to be able to override the entire notes
showing on the shell console. For instance, Our company uses a
external conf-notes.txt, and we run bitbake with some extra variables,
looks like: F=xxx D=xxx M=xxx bitbake <target>, so we want to show
exactly these texts on the shell console, that's why we need this
change.
(From OE-Core rev: 80bc8282df58dfeaae8f2f71ed2617d718e29f8b)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, we get timeouts, leading to errors:
pip._vendor.requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /pypi/pip/json (Caused by ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff741bb3ef0>, 'Connection to pypi.python.org timed out. (connect timeout=5)'))
WARNING: TOPDIR/tmp/work/qemux86-poky-linux/build-appliance-image/15.0.0-r0/temp/run.do_populate_poky_src.185123:1 exit 1 from 'pip3 install --user -I -U -v -r TOPDIR/tmp/work/qemux86-poky-linux/build-appliance-image/15.0.0-r0/rootfs/home/builder/poky/bitbake/toaster-requirements.txt'
DEBUG: Python function do_image finished
Complete log at [1]
[1] http://errors.yoctoproject.org/Errors/Build/43393/
(From OE-Core rev: 8291156c30e54a05ad455dda2b8540a570bb0f4a)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before GNU tar 1.24, only the archive creation command had the '-h'
argument to preserve and follow symlinks. After >= 1.24 via commit
14efeb9f956e38d7be (tar: --dereference consistency) the capability to
preserve symlinks was also added to the archive extraction command.
-h is default at archive creation but is not default at extraction,
meaning that it will replace symlinks with directories even if the
original filesystem directory tree and archive contains them.
Add -h to the copyhardlinktree extraction step so the build can
support symlinks in variables like ${DEPLOY_DIR_IPK/RPM/DEB}.
(From OE-Core rev: c1b73fe26540c38086e259be6eb313e0826dceed)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor get_cc_option so it is simpler and also does not fail
when using external toolchain.
(From OE-Core rev: d4564ee59df907d1e01a3610ac88a35f9a78c1ce)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The compiled .pyc files contain time stamp corresponding to the compile time.
This prevents binary reproducibility. This patch allows to achieve binary
reproducibility by overriding the build time stamp by the value
exported via SOURCE_DATE_EPOCH.
Patch by Bernhard M. Wiedemann, backported from https://github.com/python/cpython/pull/296
[YOCTO#11241]
(From OE-Core rev: 2a044f1e4f5c63e11e631b31f741c7aabfa6f601)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the 4.10 SRCREVs to import the following changes:
65370fa249e2 drm/vmwgfx: limit the number of mip levels in vmw_gb_surface_define_ioctl()
530ec12a0cb0 ACPICA: Namespace: fix operand cache leak
b1098b5bbded char: lp: fix possible integer overflow in lp_setup()
56ee0c7811e5 dccp/tcp: do not inherit mc_list from parent
9f6cbd022bba nfsd: encoders mustn't use unitialized values in error cases
084036ebc243 nfsd: fix undefined behavior in nfsd4_layout_verify
973f780eeaa6 xen-blkback: don't leak stack data via response ring
20c4b5015fea brcmfmac: fix possible buffer overflow in brcmf_cfg80211_mgmt_tx()
1dff0f28b490 ipx: call ipxitf_put() in ioctl error path
d666a8e60a45 mm: fix new crash in unmapped_area_topdown()
73d059ba1a17 mm: larger stack guard gap, between vmas
Which address the following CVEs:
CVE-2017-8890
CVE-2017-1000363
CVE-2017-11472
CVE-2017-7346
CVE-2017-1000380
CVE-2017-7541
CVE-2017-10911
(From OE-Core rev: 6cfd520ea050aa449f0ac7ee0b2c647d14d588ad)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a bug in the search routines responsible for locating
BSP definitions which returned a valid match if only the ktype
matched.
This meant that someone looking for "qemux86foo" (which is an
invalid definition) would potentially end up building "qemuarm"
and be none the wiser (until it didn't boot).
With this fix to the tools search routine, and improved return
code testing, we will now stop the build and report and error to
the user.
[YOCTO: #11878]
(From OE-Core rev: 44aea7b87307795fe4e089c51d45afccaa2f6525)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not all the qemu machines carry default kernel specifications.
While we could drop these references, we'll bump them to 4.12
to pick up the latest and remove them in future commits.
(From OE-Core rev: c58df63d88a07d3275e7337f7d284b0a50db82cc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fall 2017 kernel will have 4.12 as the reference kernel, so
we update the libc-headers to match.
Build tested against glibc and muslc systems.
(From OE-Core rev: 4b5cce1c691e991c80d255a4900220068ff6f062)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have 4.4 and 4.9 as LTS kernels, the 4.1 variants are no longer
needed and are dropped.
(From OE-Core rev: 1a25cea311cbebb2af0c1a0b964208281e6026de)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 4.12 kernel will be the default/reference for the fall 2017
release.
These recipes represent the introduction of 4.12.7 + related kernel
meta data. Existing functionality has been validated against this
new kernel version, and older versions will be removed in separate
commits.
(From OE-Core rev: 4e5044bcea68f3bac3596507f0828d3cbe869df1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As requested by QA to enable testing of linux-yocto images out of the
box, we enable usb-net drivers for the various platforms in all kernel
versions.
(From OE-Core rev: 5322eef31c8b63ead49b2f13312d3356a016ff64)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mmc: sdhci: fix two compile errors
| CC drivers/mmc/host/sdhci.o
| drivers/mmc/host/sdhci.c: In function 'sdhci_execute_tuning':
| drivers/mmc/host/sdhci.c:1990:4: error: implicit
| declaration of function 'sdhci_do_reset'
| [-Werror=implicit-function-declaration]
| sdhci_do_reset(host, SDHCI_RESET_CMD);
| ^
| drivers/mmc/host/sdhci.c:2006:7: error: 'struct
| mmc_command' has no member named 'busy_timeout'
| cmd.busy_timeout = 50;
| ^
In function sdhci_execute_tuning, replace sdhci_do_reset
with sdhci_reset, replace busy_timeout with cmd_timeout_ms.
Commit a629a90ba0 adds eMMC DDR mode support for t2080qds and
modified some data structures and function name. Later
commit a2080cc280 just backport upstream commit 61e53bd004
without aligning the current source tree thus cause
these build errors. Fix them.
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
(From OE-Core rev: 538d2f0857f09ca86026d5771ea7c3fb74c0f857)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2017-9727: make bounds check in gx_ttfReader__Read more robust
CVE-2017-9835: bounds check the array allocations methods
CVE-2017-11714: prevent trying to reloc a freed object
(From OE-Core rev: 2eae91f9fa1cfdd3f0e6111956c8f193fd0db69f)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e.g. with gentoo gcc-7.1 they define _FORTIFY_SOURCE by default with:
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/gcc/7.1.0/gentoo/10_all_default-fortify-source.patch?view=markup
which results in following error while building grub-efi-native:
./config-util.h:1504:48: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
|| (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
^~~~~~~~~~~~~~~
this part comes from gnulib and it's used only for Apple and BSD,
so we can ignore it, but we cannot add -Wno-error=expansion-to-defined
because this warning was introduced only in gcc-7 and older gcc
will fail with:
cc1: error: -Werror=expansion-to-defined: no option -Wexpansion-to-defined
use #pragma to work around this
(From OE-Core rev: f5302b0ad2942f7705d46c33949ebc1c5ddf3f58)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With glibc upgrade to 2.26 release (commit d6a0bc57fa07
"glibc: Upgrade to 2.26 final release") it's not possible
to build x86/x86_64 SDK for kernels lower than 3.2.0
(see glibc commit 139ace95756a "Require Linux kernel 3.2
or later on x86 / x86_64.")
Thus drop SDK_OLDEST_KERNEL overrides from machine-specific
conf files, so default version 3.2.0 from conf/bitbake.conf
will be picked up.
(From OE-Core rev: 0724896f7a2092abf2f3bafa9fac96c5210d39a5)
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fixes:
ERROR: nativesdk-libcheck-0.10.0-r0 do_package_qa: QA Issue: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/checkmk contained in package nativesdk-libcheck requires /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/gawk, but no providers found in RDEPENDS_nativesdk-libcheck? [file-rdeps]
(From OE-Core rev: 71c29b53f1a44430306eeda96dc43cf7d002afe5)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add new patches for enable builds on hosts that has GCC version
minor than 5 because doesn't support std::array and std::put_time,
those patches could be removed after get rid of Debian8 and Centos7
support.
- gcc_4.x_Revert-avoid-changing-the-global-LC_TIME-for-Release.patch
- gcc_4.x_Revert-use-de-localed-std-put_time-instead-rolling-o.patch
- gcc_4.x_apt-pkg-contrib-strutl.cc-Include-array-header.patch
The LIC_FILES_CHKSUM changed because the license file now has
style changes in the text remains GPLv2+.
The patch Revert-always-run-dpkg-configure-a-at-the-end-of-our
was updated because now the precision fields use floating
point numbers.
(From OE-Core rev: da99ae14c3a5719b317ff71b8f778a7c987f6158)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches rebased due to don't apply, no major changes,
- 0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
- arch_pm.patch
- noman.patch
Patches related to move ostable/triplettable insida data/ostable and
data/tupletable instead also needs to comply the new format of the
tables for arch detection.
- 0006-add-musleabi-to-known-target-tripets.patch
- add_armeb_triplet_entry.patch
And finally a patch to avoid usage --clamp-mtime in tar needs to be
modified because the dpkg-deb internal API changed.
- 0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
(From OE-Core rev: dc1ae641435999095e8759812b096fec1f28c90d)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Updated update-gawk-paths.patch.
- Updated Makefile-ptest.patch
- Removed 0008-replace-struct-ucontext-with-ucontext_t.patch which is already in
the source.
- The LIC_FILES_CHKSUM is changed because the years have been updated,
the contents are the same.
(From OE-Core rev: 111e4a8642160c8441e447da32a4ef52995bbe99)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the following 2 patches which are already in the source:
- 0001-e2fsck-exit-with-exit-status-0-if-no-errors-were-fix.patch
- e2fsprogs-1.43-sysmacros.patch
(From OE-Core rev: ce0efa2e38611428aff6d39d52ce29f8a6571813)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hard depending on the kernel makes it impossible to install kernel
modules without getting the kernel image installed too. This is
inconvenient in e.g. initramdisks, where the kernel is loaded from
outside the initramdisk.
Making the kernel modules rrecommend kernel-image-<version> instead of
rdepending on it, makes it possible to install kernel modules without
the kernel image by setting "kernel-image" in BAD_RECOMMENDATIONS.
(From OE-Core rev: 5dd7ddb66a6846d9bb59dc7833e8318992d0e645)
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dnsproxy: Fix crash on malformed DNS response
If the response query string is malformed, we might access memory
pass the end of "name" variable in parse_response().
[YOCTO #11959]
(From OE-Core rev: fb3e30e45eea2042fdb0b667cbc2c79ae3f5a1a9)
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't hardcode the package name, it could be gdk-pixbuf or
lib32-gdk-pixbuf.
(From OE-Core rev: 92a299a550b5b9c68c0285fdeb3d4c9defa0dede)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were being a bit prescriptive in setting LICENSE and
LIC_FILES_CHKSUM. We can't always trust what's in the metadata
accompanying some source which plugins will almost always be pulling
from, however we do want to allow plugins to set the LICENSE and
LIC_FILES_CHKSUM values. Merge what we find in our license file scan
with what the plugin sends back.
Additionally, plugins can now add a "license" item to the handled list
in order to inhibit the normal LICENSE / LIC_FILES_CHKSUM handling if
they have already taken care of it completely.
Thanks to Mark Horn <mark.d.horn@intel.com> for prompting, testing and
fixing this patch.
(From OE-Core rev: 1df60b09f7a60427795ec828c9c7180e4e52f98c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously if we were able to auto-determine the name from the URL, that
took precedence over any name that might be set in extravalues by a
plugin. Some plugins might be able to get a better idea of the name and
thus we should move defaulting of the name further down after the
plugins have had a chance to set it.
(From OE-Core rev: 3bb979c13463705c4db6c59034661c4cd8100756)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, exports the whole workspace (all recipes) including the source code.
User can also limit what is exported with --included/--excluded flags. As
a result of this operation, a tar archive containing only workspace metadata
and its corresponding source code is created, which can be properly imported
with 'devtool import'.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10510
[YOCTO #10510]
(From OE-Core rev: f9bc3b5101b554a72298266519dbdd1497f262a6)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When devtool upgrade is run on a recipe with revision specified
that is not on master branch, and branch isn't set by --srcbranch or -B,
then we should get the correct branch and append the branch to the URL.
If the revision was found on multiple branches, we will display error
to inform user to provide a correct branch and exit.
[YOCTO #11484]
(From OE-Core rev: 29ced7387a92aed17b7fe93b1654790a981734c1)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During recipe creation, it seems that the automation for replacing
${PV} at the SRCURI for tag, (e.g mbed-tls-${PV}) is causing some
issue due to PV assuming it's a git source. A fix is implemented in
this patch to resolve this issue.
(From OE-Core rev: 9d3ec76c1b7dd75d904f5ff47297de0fb65b21c2)
Signed-off-by: Stanley Phoong <stanley.cheong.kwan.phoong@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change is to improve the buildability of the recipe created by
recipetool and devtool.
When recipetool create is run on a git URL and a revision specified
that is not on master, and "branch=" isn't already in the URL, then
we should get the correct branch and append the branch to the URL.
If the revision was found on multiple branches and 'master' is not
in the list, we will display error to inform user to provide a
correct branch and exit.
[YOCTO #11389]
(From OE-Core rev: ecca596b75cfda2f798a0bdde75f4f774e23a95b)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating new recipes, we are almost certainly fetching a new
source rather that something that has already been fetched. I have
disable PREMIRRORS and MIRRORS settings in the recipe that created
by devtool while leaving an option for users to enable them manually
if needed. Since devtool already has this options, we need to ensure
that recipetool is able to handle the options passed from devtool.
(From OE-Core rev: 091cee2bdc2378a3425a4ef8558d03e6f9c021ff)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is an interesting bug in the current code where a sync command
is not seen until the current async command completes, by which time
the UI may have shut down.
The reason is that if there are idle commands, we may not end up sleeping
in the select call at all, partiularly under heavy load like parsing.
Fix this by calling select with a zero timeout so that we see active
fds and know to read from them. This fixes various problems toaster was
having with the recent server changes.
[YOCTO #11898]
(Bitbake rev: bbcce58e824b2793abf50efa52db158ae16e23e4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The eSDK installation requires the meta-skeleton layer.
The build system might use the meta-skeleton recipes as layout
to create custom recipes. An example is the recipetool script
that uses the meta-skeleton kernel recipe when creating a custom
kernel recipe.
[YOCTO #11102]
(From OE-Core rev: 5c9ef0734d23909b5694ed43cdbb205c2ba9ca95)
Signed-off-by: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our grub and syslinux bootloaders both define root=/dev/ram0 for live
images by default. Kernel docs show that root=/dev/ram0 is just a
sentinel value for the kernel to mount the initrd as root, which then
mounts and switches to the real root. This is exactly what our scripts
do, so just check for root=/dev/ram0 as well.
See: https://www.kernel.org/doc/html/v4.11/admin-guide/initrd.html#operation
This fixes the issue where the new initramfs-framework scripts would not
boot live images that use grub or syslinux bootloaders.
(From OE-Core rev: a30f8f60017d566d845ee5d3a8cfc338017211b0)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
openssl 1.1 broke 3rd party layers a lot more than was expected; let's flip
the switch at the start of next development cycle.
Add a PROVIDES = "openssl10" to openssl 1.0 recipe; any dependency that is
not compatible with 1.1 should use that in its DEPENDS, as the 1.0
recipe will later be renamed back to openssl10. This does not always work:
http://lists.openembedded.org/pipermail/openembedded-core/2017-August/140957.html
but for many recipes it does.
(From OE-Core rev: 5585103c195104e85ed7ac1455bef91b2e88a04d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The behavior before this change was to check USER_CLASSES and adjust
the install script to return either exit 0 (don't do anything) or
exit 1 (run on first boot). This enabled a user to include the prelink
package without enablign the image-prelink bbclass and get a first boot
prelink.
Checking USER_CLASSES is not desired, as an image should be able to simply
inherit the image-prelink and get the same type of behavior. Modifying
the recipe based on the inclusion of a class is a bad idea as it makes
this style work more difficult. So we move to a more defined strategy
based on exist uses. (That we know of...)
If we ae doing a cross install, we want to avoid prelinking.
Prelinking during a cross install should be handled by the image-prelink
bbclass. If the user desires this to run on the target at first boot
they will need to create a custom boot script.
[YOCTO #11169]
(From OE-Core rev: e31c9d32072b9cf62c0e9e55b4d421849d3d489b)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the deprecated '-usbdevice' option with '-device usb-xx' option.
This would fix runqemu boot error like below.
'-usbdevice' is deprecated, please use '-device usb-...' instead
(From OE-Core rev: 2f1f3480d344f8521e01f456d2dcd6c4e989ec59)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport two patches to fix the following error when booting qemu.
Failed to unlock byte 100
(From OE-Core rev: 91eee8b08cd52f49bb1c8f8c680607b3f3a52d24)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2017-9226 : check too big code point value for single byte
CVE-2017-9227 : access to invalid address by reg->dmin value
CVE-2017-9228 : invalid state(CCS_VALUE) in parse_char_class()
CVE-2017-9229 : access to invalid address by reg->dmax value
(From OE-Core rev: f15f01edbaa431829a50053d07ed6d6b333584c7)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The release version was actually working correctly; it only makes
the warning work properly.
(From OE-Core rev: e7986a5493ccd222b82c2388ea8c3bb7004b48dd)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CURL_FORMAT_OFF_T does not seem to exist anymore, use
CURL_FORMAT_CURL_OFF_T instead. This works with old and new curl.
(From OE-Core rev: 5548f9c87c6a10cda2baf6f198762380e55f6ae2)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Optional installation of khrplatform.h was implemented upstream by a slightly
different approach -> 0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch
can be removed.
(From OE-Core rev: 4473c9e846826bfb4f48cec9c6c7b1cad6666bb3)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* without this package installed any WebKitGTK+ based browser
will fail to correctly open html files (and other files)
from disk (file:// URIs). It will open them as plain txt files.
(From OE-Core rev: b708cb53b46d9d82a7853bcd0f25ef6bc417bd10)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_configure() will no longer convert references to
/usr/include into /path/to/recipes-sysroot/usr/include
for the file "Porting/Glossary".
[YOCTO #11243]
(From OE-Core rev: cb2dfe5627df2ff235b37622260484841f39af17)
Signed-off-by: Ooi Cinly <cinly.ooi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed all instances of -fdebug-prefix-map in LTCFLAGS
declaration because they contain references to host system
and are not needed.
/absolute/path/to/host/dd was replaced with 'dd' in
lt_truncate_bin declaration.
Please take note that the location of regex is important
for DEBUG_PREFIX_MAP. Removal of DEBUG_PREFIX_MAP has to be
done before other regex command modify its option value.
Both are modified because they affect binary reproducibility.
[YOCTO #11656]
(From OE-Core rev: 04db02138e363898e040e33557f1296e8a43c3fd)
Signed-off-by: Ooi Cinly <cinly.ooi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable build for muslx32.X32 isn't supported by valgrind at this
moment.
(From OE-Core rev: a945141062ac3d0736558be428f60af405b53a94)
Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In images built with pam in DISTRO_FEATURES, we end up with dangling symlinks
if su is not packaged into image
$ ls /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/etc/pam.d/su-l -l
lrwxrwxrwx 1 kraj users 2 Aug 9 07:56 /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/etc/pam.d/su-l -> su
This causes image do_rootfs to fail
| sed: can't read /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/etc/pam.d/s
u-l: No such file or directory
| WARNING: /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/core-image-minimal/1.0-r0/temp/run.ssh_allow_empty_
password.19238:1 exit 2 from 'sed -i 's/nullok_secure/nullok/' /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi
/core-image-minimal/1.0-r0/rootfs/etc/pam.d/*'
Therefore we need to filter out dangling symlinks before sed'ing
things out
(From OE-Core rev: b92105e5a085c8cd3c650579644922ed97163e73)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport the patch to fix CVE-2017-8363:
The flac_buffer_copy function in flac.c in libsndfile 1.0.28 allows
remote attackers to cause a denial of service (heap-based buffer
over-read and application crash) via a crafted audio file.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-8363
(From OE-Core rev: 9cc9956c5ed09f9016cb23bd763652e5ab55f3cd)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport the patch to fix CVE-2017-8362:
The flac_buffer_copy function in flac.c in libsndfile 1.0.28 allows
remote attackers to cause a denial of service (invalid read and
application crash) via a crafted audio file.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-8362
(From OE-Core rev: 0c8da3f6f85962196f2ad54fffd839239f5c2274)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport the patch to fix two CVEs:
CVE-2017-8361:
The flac_buffer_copy function in flac.c in libsndfile 1.0.28 allows
remote attackers to cause a denial of service (buffer overflow and
application crash) or possibly have unspecified other impact via a
crafted audio file.
CVE-2017-8365:
The i2les_array function in pcm.c in libsndfile 1.0.28 allows remote
attackers to cause a denial of service (buffer over-read and application
crash) via a crafted audio file.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-8361https://nvd.nist.gov/vuln/detail/CVE-2017-8365
(From OE-Core rev: d92877ade8fd4dd9b548c6b664bf4357a1f9428a)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport 3 patches to fix CVE-2017-10971:
In the X.Org X server before 2017-06-19, a user authenticated to an X
Session could crash or execute code in the context of the X Server by
exploiting a stack overflow in the endianness conversion of X Events.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-10971
(From OE-Core rev: 20428f660f2c046c63bbf63c4e4af95dac9f2b3d)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testdata and testdata_link may point to the same file, in particular
when IMAGE_LINK_NAME and IMAGE_NAME are equal.
Check if this is the case before creating a symlink that points to
itself and makes the next build fail.
(From OE-Core rev: b516394f9e7858062aa7b042aa4a1bdef9d3a941)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When IMAGE_NAME and IMAGE_LINK_NAME are equal, do_write_qemuboot_conf will
create a symlink that links to itself.
Check if this is the case before creating the link.
(From OE-Core rev: f46652e77f467861dc68c3a8e54f27d08659222d)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When buildsystem with layer structure is going to be copied, only the last
meta-XXX layer is taken.
For example, during ext_sdk bblayers creating:
layers/oe/meta \
layers/oe/meta-oe \
layers/oe/meta-networking \
layers/oe/meta-webserver \
...
It restructured meta-oe, meta-networking,... contents into meta-oe.
Recipes from meta-oe will be on the same level like meta-networking,
meta-webserver, ... .
It should take the whole meta path instead of the last one.
layers/oe/meta \
layers/oe/meta-oe/meta-oe \
layers/oe/meta-oe/meta-networking \
layers/oe/meta-oe/meta-webserver \
...
Now the directory structure is the same like during build creation.
(From OE-Core rev: 5a59a6997f41e606d088e3e86812de56f72f543b)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Besides providing the NATIVELSBSTRING, include distro info when creating
the (json) error report. This information provides better info than the
standard 'universal*' string for uninative builds.
[YOCTO #11824]
(From OE-Core rev: fdfbfc954a3e0ad79dc2bed9828f9f5dc40d506f)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit d58b1d196 moved from chunk to serial signing, but neither of both approaches
allowed the user to select the chunks size. This patch allows the user to select
a chunk size through RPM_GPG_SIGN_CHUNK defaulting to BB_NUMBER_THREADS, considered
a good default. Indirectly, this change reduces the number of processes spawn
to number-of-packages/RPM_GPG_SIGN_CHUNK.
(From OE-Core rev: f7f78e73f1cd15f4233a231364b14438af758628)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We always forget to upgrade it when systemd is upgraded, keeping it
next to systemd will be an easy reminder to upgrade this recipe along
with systemd
Define EFI_CC, so far it has been using detection mechanism which
worked with gcc but falls back to native gcc when using non-gcc compiler
as default system compiler e.g. clang
(From OE-Core rev: e70f843b4fb5ee27d46543165a89d56c2ec5ee2e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
...
|ERROR: lib32-logrotate-3.12.3-r0 do_package: SYSTEMD_SERVICE_lib32-logrotate
value lib32-logrotate.service does not exist
|ERROR: lib32-logrotate-3.12.3-r0 do_package: Function failed:
systemd_populate_packages
...
The systemd sercie file should not be multilib expend.
(From OE-Core rev: e599c3d75a0e57a798ca360eb55d8661de355ec5)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While multilib, the local m4/python.m4 incorrectly assigned
am_cv_python_pyexecdir and am_cv_python_pythondir which caused
the following error enabled:
...
ERROR: gpgme-1.9.0-r0 do_package: QA Issue: gpgme: Files/directories
were installed but not shipped in any package:
/usr/lib/python3.5/site-packages/gpg-1.9.0-py3.5.egg-info
...
(From OE-Core rev: f5c7e236582028638a26a5855d5e7ba0b55bb8f0)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This file lists the licenses that the OE-Core meta data falls under
but should not be used as a LIC_FILES_CHKSUM, use the MIT license file.
(From OE-Core rev: e12fa3ac08962accb6585e2aa1c486e7852d174d)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libc headers now have a backported patch that fixes this.
(From OE-Core rev: 5dc1700ec6ff15aefb8ca540e5b7d3e89a14945b)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 255caaad:
[ packagefeed-stability.bbclass: change a bb.plain to bb.note ]
I changed a bb.plain to bb.note to get a cleaner console, but there is
still one more bb.plain left which I forgot to change.
(From OE-Core rev: ccb96849e010883cb1cb4d384f017d05eb6bbcee)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Uprev from 3.19.3 to 3.2.0 for fixing CVE-2017-10989:
The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3,
as used in GDAL and other products, mishandles undersized RTree blobs
in a crafted database, leading to a heap-based buffer over-read or
possibly unspecified other impact.
https://nvd.nist.gov/vuln/detail/CVE-2017-10989
* LIC_FILES_CHKSUM updated for below changes:
-** 2001 September 15
+** 2001-09-15
(From OE-Core rev: 95b802bfe74ac6a3f6dc05edb52c87ef90600f40)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase patches:
- tic-hang.patch -> 0001
- configure-reproducible.patch -> 0002
Drop fix-cflags-mangle.patch, which accepted by upstream
...
commit 1b74f120ab7be89011408a6ad0f1c748a314bae8
Author: Sven Joachim <svenjoac@gmx.de>
Date: Sun Feb 26 09:01:34 2017 +0100
Import upstream patch 20170225
20170225
+ fixes for CF_CC_ENV_FLAGS (report by Ross Burton).
...
(From OE-Core rev: a4ad0703e1209fee6cd89bf74088931785c4d8c7)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Rebase patches to 4.3.6
- define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch -> 0001
- dhcp-3.0.3-dhclient-dbus.patch -> 0002
- link-with-lcrypto.patch -> 0003
- fixsepbuild.patch -> 0004
- dhclient-script-drop-resolv.conf.dhclient.patch -> 0005
- 0001-site.h-enable-gentle-shutdown.patch -> 0006
- libxml2-configure-argument.patch -> 0007
- tweak-to-support-external-bind.patch -> 0008
- remove-dhclient-script-bash-dependency.patch -> 0009
- build-shared-libs.patch -> 0010
- Moved-the-call-to-isc_app_ctxstart-to-not-get-signal.patch -> 0011
2. Drop search-for-libxml2.patch
It is overrided by libxml2-configure-argument.patch
3. Rework dhclient-script-drop-resolv.conf.dhclient.patch and
Drop replace-ifconfig-route.patch.
vim client/scripts/linux
...
Script refresh in 2017. The aliasing code was too convoluted and needs
to go away. Migrated DHCPv4 script to ip command from iproute2 suite.
This is based on Debian script with some tweaks. ifconfig is no longer
used. Everything is done using ip tool from ip-route2.
...
(From OE-Core rev: 77878d2e6e8f36afa9a0fde8a6f0f955c84a5e5c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Need to add ilp32 to known list of abi variants
(From OE-Core rev: 6c5e50d26cbb9172d7264e7a8fed3edf0c0e8414)
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new file, fs-perms-persistent-log.txt, which treats /var/log
as a directory instead of a link.
Modify package.bbclass to use this file if VOLATILE_LOG_DIR is set to boolean
false value.
[YOCTO #6132]
(From OE-Core rev: 6b22e247bf91f112401cad822cd7fe0b5621ffe0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Respect VOLATILE_VAR_LOG variable so that if it's set to any valid boolean
false value, we could have persistent /var/log on the final image.
[YOCTO #6132]
(From OE-Core rev: 50914c4a84e0fb6b9bf6bb1864a2d653218753ce)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Respect VOLATILE_LOG_DIR variable. In this way, if the user overrides
this variable to be any valid boolean false value, /var/log on the final
image would reside on persistent storage.
[YOCTO #6132]
(From OE-Core rev: fc19114ca409fc3178ae5cbb44db875b12eeedfc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default value is "yes" which results in the /var/log being a link
pointing to /var/volatile/log which is on tmpfs.
Setting valid boolean false value ('no', 'n', 'false', 'f', '0') would make
/var/log to be a directory on persistent storage.
[YOCTO #6132]
(From OE-Core rev: 016bafce52f74462dc8f21a1c1b43ba2e6e59442)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix CVE-2017-12424.
In shadow before 4.5, the newusers tool could be made to manipulate
internal data structures in ways unintended by the authors.
Reference link: https://nvd.nist.gov/vuln/detail/CVE-2017-12424
CVE: CVE-2017-12424
(From OE-Core rev: 896495d4d2a9751e6e013a3498293b2443d7d809)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade nss from 3.30.2 to latest stable version 3.31.1.
* remove 0001-Fix-warnings-found-with-gcc7.patch which is not needed now
(From OE-Core rev: 86838f1c06002a62ded12a9a66d1eb82093c85a9)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed following patch as the parallel make issue was fixed upstream:
* fix-parallel-make.patch
(From OE-Core rev: 76c9ba6b3f7c0aecb00b7d9c0a1aace3f80d8b48)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-core commit 800753069f667cd1664d70b3779150c467e3b3fe remove
RPROVIDES list to get runtime dependences from manifest file.
python3-misc is added in python3 recipe, we need to add
native runtime to use python3-misc with native recipes.
(From OE-Core rev: 31fd20811f6d11e7ed6ac84caf776ac46cd6fb6f)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkelfimage uses different flags to compile as freestanding binary
it does not pour CFLAGS into them during configure as a result
-fno-stack-protector was never used. Which failed to build with
compilers configured to build with ssp by default. It worked with
gcc since we do not configure our toolchain to default to ssp
Fixes errors e.g.
| objdir/linux-i386/convert_params.o: In function `convert_params':
| linux-i386/convert_params.c:(.text+0x9f4): undefined reference to `__stack_chk_fail'
| objdir/linux-i386/convert_params.o: In function `compute_checksum':
| linux-i386/convert_params.c:(.text+0xa71): undefined reference to `__stack_chk_fail'
| objdir/linux-i386/convert_params.o: In function `printf':
| linux-i386/convert_params.c:(.text+0xcc7): undefined reference to `__stack_chk_fail'
| make: *** [linux-i386/Makefile:24: objdir/linux-i386/convert] Error 1
(From OE-Core rev: f6ed82482838e34202721be8f40ca1cc340c325e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When rpmdeps files a perl script, it attempts to determine what it provides
and what it requires. Often the requires are incorrect, within the context
of Wind River Linux. This results in an error that DNF is unable to install
a package due to one or more unresolved dependencies.
In RPM5 we had disabled this behavior, the alternative is to require that all
perl scripts be 'complete', in that they only require things they absolutely
need and that OE provides. If we ever enforce that, this commit can be
reverted. Until they fall back to prior behavior (which also matches ipkg
and deb style packages.)
(From OE-Core rev: 99376f602c997fec96dbb28ddbe3fa5f68fde2c3)
(From OE-Core rev: 586875cea5769fea7d17bae2677eab72e4fc7e31)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the transition to dnf and rpm4, the functionality to
automatically make RPM determine dependencies was lost.
Before the transition, an OE specific tool called rpmdeps-oecore had
been added to the rpm suit. It was based on the rpmdeps tool that is
part of rpm. For each file specified on its command line, it would
output the provides and requires that RPM could determine.
During the transition to rpm4, rpmdeps-oecore was replaced with the
standard rpmdeps. However, what no one noticed was that unless rpmdeps
is given options, e.g., -P or -R, to tell it what it should output, it
will not output anything. Thus, it would do all the work to determine
the requirements, but would keep silent about it. And since no output
from rpmdeps is expected unless there are requirements, there were no
warnings indicating that everything was not working as expected.
Porting the old rpmdeps-oecore to work with rpm4 is not really
possible since it relied on being able to access internals of RPM that
are no longer available. However, it turned out that rpmdeps had a
debug option, --rpmfcdebug, that would output exactly the information
that we need, albeit in a different format and to stderr. To make this
usable, rpmdeps has now received a new option, --alldeps, which sends
the information we need to stdout.
(From OE-Core rev: 958501b3d9201aaabb81ec644c6049e0c9b737e7)
(From OE-Core rev: bf017930036f19b3d6df8e5b50d9979ee7045c5c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since LTP includes a set of test cases, we need to skip file dependency
generation, as there will be dependencies that can not be satisfied. In this
case a csh and ksh dependency come from two tests.
The alternative would be to depend on csh/ksh (a bad idea as they're not
available in oe-core) or remove the tests (but this eliminates the tests if
someone DOES have csh/ksh in their configurations.)
(From OE-Core rev: 8c4dcdfa9d5a37acb6f492b1cf0e40a403e5fbe9)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: openssl-1.1.0f-r0 do_package_qa: QA Issue: /usr/lib/openssl/ptest/fuzz/helper.py contained in package openssl-ptest requires /usr/bin/python, but no providers found in RDEPENDS_openssl-ptest? [file-rdeps]
ERROR: openssl-1.1.0f-r0 do_package_qa: QA Issue: /usr/lib/openssl/ptest/test/certs/mkcert.sh contained in package openssl-ptest requires /bin/bash, but no providers found in RDEPENDS_openssl-ptest? [file-rdeps]
(From OE-Core rev: 7e70d0673df20669edd18b79ae065d8c2f655b8a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The scripts currently reference "python33", fix this so they reference
python3. The move the python3 likely broke these.
(From OE-Core rev: 1a734f037da37d14f780970a9532d1e2e3683bf8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original purpose of this code snippet was to repackage initramfs
bundled kernel images before do_image_complete, to be able to be
included by rootfs, but it's not going to achieve that since the
initramfs bundled kernel images are not even installed to ${D}/boot
after commit a49569e3a7534779bbe3f01a0647fd076c95798d:
[ kernel.bbclass: do not copy bundled initramfs to /boot ]
So there is not a initramfs bundled kernel package at all, we should
drop the code, because it is leading kernel do_initramfs_bundle
unnecessarily rerun and it's very time consuming and hence is impacting
the performance a lot.
(From OE-Core rev: eca501aeb4f2cc9255fabab14c68f6910367aaf9)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to support Nios2 emulation by QEMU, we need
at least QEMU version 2.9.
(From OE-Core rev: f2d725d9268563f7bbcac770a34aceacb56cb2aa)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove references to the host build system from generated/packaged
header file gmp.h. The file ends up in two different packages (libgmp-dev,
libgmp-dbg). Rather then modifying the file twice in two different
destinations after the installation, we modify the file gmp.h only once,
but before the installation.
[YOCTO #11922]
(From OE-Core rev: 693b42115e2f61abc9ca6096445dc494648cacb6)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
visibility is no more auto but disabled by default
we do not require to disable it explicitly.
* fix build failure for sh4a due to missing colon in asm statement
* trap UB from attempts to join a detached thread
* ppc64: fix setjmp/longjmp handling of TOC pointer
* qsort: add a short comment about the algorithm
* disable global visibility override hack (vis.h) by default
* add _NL_LOCALE_NAME extension to nl_langinfo
(From OE-Core rev: 82c0f16dbdd1a44438e8536a598277efed909b3c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does not work as intended: enabling either of the alternatives
causes the other alternative to append a --disable-hls flag to
configure. Anyone needing openssl 1.0 should set it up manually
via EXTRA_OECONF_append or similar.
(From OE-Core rev: d2562cfe4517d85328e961f968db2c7cd3c6c6f2)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we upgrade to libva 1.8.3, we can remove the workaround patch
which disables visualizations in gst-player:
1. 0001-gtk-play-Disable-visualizations.patch
Also remove the upstreamed patches:
1. filechooser.patch
2. Fix-pause-play.patch
3. Add-error-signal-emission-for-missing-plugins.patch
Fixes [YOCTO #11437]
(From OE-Core rev: 50f1902cb44724aa4b030e4e42b115231217acc9)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.7.3 -> 1.8.3
Remove upstreamed patch:
0001-wayland-Don-t-commit-and-ship-generated-files.patch
Replace following patch by setting ac_cv_prog in EXTRA_OECONF:
0001-configure.ac-Use-wayland-scanner-in-PATH.patch
The dummy driver was removed in 1.8.3 release.
(From OE-Core rev: bcb77ab7f57a99284953a456399b90b6ed42e77d)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Utilities and tests in the libva was spun-off as libva-utils
during 1.8.0 release.
libva-utils is a collection of utilities and examples to exercise VA-API
in accordance with the libva project
(From OE-Core rev: ab7f6ba2bab04bdfaa76a1de83806dbadc82fefa)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When Thumb1 is used as default ISA, there are linker
issues, therefore always use ARM ISA
Fixes
relocation truncated to fit: R_ARM_THM_CALL against symbol `__gnu_thumb1_case_uhi' defined in .text section
(From OE-Core rev: a0c9d19b46ccefbb90eea5965e11ea21d13242b4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Filter out any file dependencies on absolute paths and any
dependencies on Perl modules for nativesdk packages. It is assumed
that they will be provided by the native host if needed, and they mess
up the dependency handling if they are present.
(From OE-Core rev: ce55e6c6d8b654b5fb21dec8180b471bfd33601a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We do not build the Locale::gettext_xs Perl module and the code will
test for it and happily use Locale::gettext_pp instead if it is not
found. However, this still causes a file dependency on
perl(Locale::gettext_xs) to be generated, which must be satisfied by
adding an explicit provide for it.
(From OE-Core rev: c1e16ac6aea0ec15b35d227814bbf137ac8de6c2)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These git commands require Perl modules that do not exist in OE-Core.
Add PACKAGECONFIGs to enable them. Be aware though that if you enable
them you must also provide the missing dependencies.
(From OE-Core rev: d7909007b2a912ae5adf01edfabaa8b8646369cd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gpg signing in file batches (which was default to 100) is a memory expensive
computation, causing trouble in some host machines (even on production AB
as seen on the bugzilla ID). Also, in terms of performance, there is no real
gain when rpm signing is done in batches. Considering the latter issues, perform the
rpm signing serially.
Log showing errors observed recently at AB workers:
| gpg: signing failed: Cannot allocate memory
| gpg: signing failed: Cannot allocate memory
| error: gpg exec failed (2)
| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/core2-64-poky-linux/base-passwd/3.5.29-r0/deploy-rpms/core2_64/base-passwd-dev-3.5.29-r0.core2_64.rpm:
[YOCTO #11914]
(From OE-Core rev: d58b1d196f87128892b7b624bfb725afe01581f1)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, the following bitbake error is observed
root@qemux86-64:~/openembedded-core/build# bitbake -e
NOTE: Starting bitbake server...
ERROR: Unable to start bitbake server
ERROR: Last 10 lines of server log /home/root/openembedded-core/build/bitbake-cookerdaemon.log:
File "/home/root/openembedded-core/bitbake/lib/bb/cooker.py", line 197, in __init__
self.initConfigurationData()
File "/home/root/openembedded-core/bitbake/lib/bb/cooker.py", line 348, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/root/openembedded-core/bitbake/lib/bb/cookerdata.py", line 323, in parseBaseConfiguration
raise bb.BBHandledException
bb.BBHandledException
NOTE: Starting bitbake server...
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
pod2man scp ssh
(From OE-Core rev: 2ece64bf8cb8841e2e1db87d6c426f3f1637e8a7)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The systemd 234 added some files to the polkit directory and the
directory the files live in must be owned by the polkitd user, else
you will receive the following error when the rootfs is being
assembled:
Error: Transaction check error:
file /usr/share/polkit-1/rules.d conflicts between attempted installs of polkit-0.113-r0.15.core2_64 and systemd-1:234-r0.0.core2_64
The fix similar to other packages such as libvirt where the user must
exist and the directory must be created with the proper attributes.
(From OE-Core rev: e2e36bb83355208aaf5a399107b4a99e62a708d3)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package resolver failes to assemble images because some of the man
pages in openssl10 conflict with the openssl package. In the case
where you want openssl, openssh and the documentation installed in the
same system you will see the failure.
The work around is to rename all the openssl10 man pages and symlinks
to have a prefix of openssl10-.
(From OE-Core rev: bb837cae92472b294ac886b121b2249e4314439f)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have two variables here, srcuri and fetchuri. srcuri is what
eventually ends up in the recipe, whereas fetchuri is what we actually
pass to the fetcher when we fetch the source within recipetool -
sometimes these need to be different particularly for an upcoming patch
to handle automatically setting the branch parameter. In OE-Core
revision 9a47a6690052ef943c0d4760630ee630fb012153 I erroneously changed
the call to scriptutils.fetch_url() to pass srcuri instead of fetchuri -
this likely didn't have any ill effect, but change it back to passing
fetchuri to match the original intent.
(From OE-Core rev: b66b73bcf5ee7e4488970576fdc31dfa25b35f5e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Assume event queue is empty if another thread is blocking waiting for event.
If one thread was blocking waiting for an event and another thread sent a
reply to the X server, both threads got blocked until an event was
received.
(From OE-Core rev: 26842b2e4fc9c1d243ce412e845a5444cb03c4b9)
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tipcutils 2.2 in meta-oe removed the tipc-config tool and
recommended to use the new configuration tool named "tipc" in iproute2
package for configuring the tipc, which utilizes the new tipc netlink
kernel API.
Add tipc support and split it out into its own package.
(From OE-Core rev: 944ef0de241de77429ab0e5cb1dd4a7f355cf3fd)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Smallish releases with bug fixes and minor improvements.
shared-mime-info is now always used for image type sniffing.
The dependency does not seem to currently be a build-time dependency
but configure.ac does check for it: I took the easy route and just
added shared-mime-info to DEPENDS as well.
(From OE-Core rev: ebba8c2999fc6cf94eca988f8d942acd9f0137ba)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Small release with bug fixes and some flatpak portal related
improvements.
(From OE-Core rev: 0833691ff1d05b17a0c90c90800d7cdaeb871479)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fix upgrades.
* Remove one upstreamed patch.
* Update a license location.
* Add gperf-native as dependency as a hash function header is no
longer shipped and must be generated.
* Add workaround for a related build issue (reported upstream)
(From OE-Core rev: a9762bf5d28d578b9fbcc94c3bdd4866e66fdf97)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Things to note:
* This ends up enabling dri3 in mesa
* It does not completely enable dri3 in xorg with xf86-video-intel
because that requires a run time configuration (xorg.conf)
So vulkan in poky with xf86-video-intel still requires a xorg.conf
snippet to enable dri3. Otherwise (weston or X with other drivers)
it just works.
(From meta-yocto rev: f55e894b7fb9fa6974e8048032a8373073738f9e)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing the server fail to start within 8s on heavily loaded
autobuilders so increase this timeout to 30s which should be more
than enough time.
(Bitbake rev: 8d4c120ec46d6d7a54947c64d33e18cb60b60505)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There have been cases where the server could loop indefinitely and incorrectly
handle client disconnects. In the EOFError case, ensure a full disconnect
happens in the alternative disconnect path to avoid this.
(Bitbake rev: 5e267f14bb0155889615f567a920af4a37eb3c6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent stale temp files and a possible (if unlikely) race in tempfile
usage.
(From OE-Core rev: 1b8ac555ee1443be5cd14614cc6b722960d228b8)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rename one dnf runtime test that it will recognized as a python module
and thus also found by the oe test loader. Also, fix value of
TEST_SUITES in dnf selftest so that all test dependencies are satisfied
and the runtime test may be successfully run from there.
(From OE-Core rev: ee3be65aa1348798d385ead9b80c6a6ada21d6b0)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If package feed signing is enabled enable repo gpg signature check for
rpm repositories added via PACKAGE_FEED_URIS. This has the implication
that all repositories added via this mechanism must be signed with the
same key.
[YOCTO #11209]
(From OE-Core rev: f7716f1de0791dfe778bb70f1769a7e1e83c7a54)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In particular, do_unpack needs to be deleted as it was causing missing
subpackages. Do_unpack cleans the builddir and if it was run after
do_get_public_keys it cleaned up all keys causing no packages to be
built.
(From OE-Core rev: 8fbe0d60322f1b02c1e9de1c6ab19648db97dbd9)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it possible to enable 'repo_gpgcheck' in dnf.conf. That is, do
GPG signature check on repository metadata. Without gnupg dnf fails with
"error: Invalid crypto engine."
[YOCTO #11209]
(From OE-Core rev: 8a7154cfe150840b451bc56951f0fa31cb8d6fa0)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getrandom() is only available in glibc 2.25+ and uninative may relocate binaries
onto systems that don't have this function. For now, force the code to the older
codepath until we can come up with a better solution for this kind of issue.
(From OE-Core rev: 95e31e4b15573eb1cbeb4ff1d0903c5141b84d54)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getentropy/random() is only available in glibc 2.25+ and uninative may relocate
binaries onto systems that don't have this function. For now, force the code to
the older codepaths until we can come up with a better solution for this kind of
issue.
(From OE-Core rev: 92bda0024d85ae78345665cc2f9646c9881ed61b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I could see dozens of "Copying packages for recipe..." messages on the
console during a image build, this is sort of annoying. I would like
them to be dumped into the task log instead, so I can get a cleaner
console and would not miss real important messages.
(From OE-Core rev: 255caaad3574afec6ff5909c770eaee3f74a8155)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the code stands today, an event mask does not mask LogRecord events
since the log levels are controlled separately. We therefore need to
accept (and ignore) LogRecord events in this test to avoid errors.
(From OE-Core rev: efe1f2c8ad09af3c5ee9c778601c7463c532b012)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getrandom() is only available in glibc 2.25+ and uninative may relocate
binaries onto systems that don't have this function. For now, force
the code to the older codepath until we can come up with a better solution
for this kind of issue.
(From OE-Core rev: da9ac8092497c3f2c246d3534f47e42cb2d9e4e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depending on whether large file support is enabled, the size of ino_t can
be 4 or 8 on 32 bit x86. Drop the value from the site cache and allow the
system to vary it depending on configuration. Very few other arches actually set
this so its likely obsolete and doesn't need to be hardcoded anymore.
Also drop the 64 bit and x32 variants since autodetection of this value appears
to work fine and this avoids any confusion or sizing errors depending on large
file support.
(From OE-Core rev: 31ae16003cac6c8cf587c98d0c58e9f21690cb40)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a new task "reproducible_final_image_task".
If binary reproducibility is desired ($BUILD_REPRODUCIBLE_BINARIES" = "1"),
then recursivley modify mtimes of all files to a reproducible vale.
The value is obtained via REPRODUCIBLE_TIMESTAMP_ROOTFS.
This task is executed as the very last step in image creation, once all
the files in the image have been finalized.
[YOCTO#11176]
(From OE-Core rev: df8df5f907736c3e5b7f15ea11898a1d49726ca5)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several tweaks to improve reproducibility:
1. If BUILD_REPRODUCIBLE_BINARIES == 1, set KBUILD_BUILD_TIMESTAMP
to a reproducible value. This is either a non-zero SOURCE_DATE_EPOCH, or the
value obtained from top entry of GIT repo, or (if there is no GIT repo)
fallback to REPRODUCIBLE_TIMESTAMP_ROOTFS as the last resort.
Also export KCONFIG_NOTIMESTAMP=1.
2. When compressing vmlinux.gz, use gzip "-n" option
3. Kernel and kernel modules contain hard coded paths referencing the host
build system. This is usually because the source code contains __FILE__
at some place. This prevents binary reproducibility. However, some compilers
allow remapping of the __FILE__ value. If we detect the compiler is capable
of doing this, we replace the source path $(S) part of __FILE__ by a string "/kernel-source".
For example:
/data/master/build/tmp/work-shared/qemux86/kernel-source/drivers/media/v4l2-core/videobuf2-core.c
will be replaced by a reproducible value:
/kernel-source/drivers/media/v4l2-core/videobuf2-core.c.
(From OE-Core rev: 012a70da7ae0617740cd0cf807d01c3cd912c823)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Conditionally support binary reproducibility in built images.
If BUILD_REPRODUCIBLE_BINARIES = 1 then:
1. Do not randomize library addresses
2. Set/export PRELINK_TIMESTAMP to a reproducible value.
If REPRODUCIBLE_TIMESTAMP_ROOTFS is specified, then the value will
be used. Otherwise the timestamp will be derived from the top git commit.
(From OE-Core rev: 40ce3db222f8557a01d041f8115d531cc90a54e8)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For reproducible builds do not generate build timestamp as part of
the version string.
Remove host tools references from .config file.
With this patch all eight busybox packages are built as
binary reproducible.
(From OE-Core rev: fad94cdb02be86b463e691ca2598b393e7875919)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The compiled .pyc files contain time stamp corresponding to the compile time.
This prevents binary reproducibility. This patch allows to achieve binary
reproducibility by overriding the build time stamp by the value
exported via SOURCE_DATE_EPOCH.
Patch by Bernhard M. Wiedemann.
[YOCTO#11241]
(From OE-Core rev: 2175aec10a764bfc925a3fb447547982d0ae662f)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order for u-boot to work on Nios II architecture,
the device tree file requires adding pre-relocation
flag to the CPU node.
Patch is tested on 10m50 board. Pass booting up
Linux.
[YOCTO #11628]
(From OE-Core rev: 1e301a9f959fd3816d96cfdb6f8530898cefafce)
Signed-off-by: Gan, Yau Wai <yau.wai.gan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compressing by gzip, do not save the original file name and time stamp.
[YOCTO #11916]
(From OE-Core rev: c32d526a056adb8ed1eb8beb9d495bfd01af2342)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-docutils recipe must be upgraded to latest stable release.
LIC_FILES_CHKSUM changed due to a typo fix from previous version,
but license type and information remained the same.
This change was tested on qemu with core-image-minimal.
(From OE-Core rev: f99247335485e15c820991e3ea20b766364111fc)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-setuptools and python3-setuptools must be updated
to latest stable release.
These changes were tested on qemu with core-image-minimal
(From OE-Core rev: 147d9260eb79edfdf7a91fb8bc3d915f141dc685)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix to create configuration file related to /var/log/sa for sysvinit
and systemd systems respectively.
(From OE-Core rev: 652e515cbdf0f6314b63ec52b9fcac42299c3d60)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use git rev-parse to determine the location of the .git directory, in
case it is not an immediate child of EXTERNALSRC (e.g. when using
submodules). In the event git can't resolve the .git directory, fall
back to the non-git method for hashing.
(From OE-Core rev: 95e1341b49f7184d280a03f64f131a4468a06867)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Drop 4 patches because the upstream already contains them:
0001-dirtyc0w-Include-stdint.h.patch
0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
0037-faccessat-and-fchmodat-Fix-build-warnings.patch
0038-syscalls-add_key02-update-to-test-fix-for-nonempty-N.patch
2. Drop the do_compile_prepend function, because the upstream already fix
the parallel make race, we can check it here:
3f385652ef
3. Fix PAGE_SIZE redefinition and O_CREAT undeclear build failures when using musl
4. Fix runtime failed case file01
(From OE-Core rev: 46feafdc13b8c3c4b03d44a4a95a87d4ee25300c)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intel vulkan driver requires libdrm-intel: Only enable it when
building for x86 or x86-64 similar to DRI drivers.
Building on non-x86* with vulkan leads to "--with-vulkan-drivers= ":
this is interpreted correctly by the build system.
(From OE-Core rev: 8e50f002823772a989f0f39b0ecb8a84517c94f5)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a custom image which uses the DATE variable the basehash
seems to change every day and lead to errors such as:
ERROR: console-tdx-image-2.7.6-r0 do_image_customimg: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:set_image_size(d)
...
Add DATE to the variables which should not get expanded early and to the
vardepsexclude list for the image task.
(From OE-Core rev: 4af13a4855c74cea9cf6c168fd73165d7094bf93)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case a systemd service disables itself while init is still in its
boot sequence the reloading of the service files can be problematic.
In that case: It seems that systemd looses the state of .device units,
and some services depend on such units (namely serial consoles such as
serial-getty@ttymxc0.service). As a result no getty is spawned on the
affected serial tty.
After a power-cycle the second boot (which does not disable services)
succeeds.
The following sequence shows this problem:
| Jan 09 16:36:28 apalis-t30 systemctl[162]: Removed /etc/systemd/system/sysinit.target.wants/run-postinsts.service.
| Jan 09 16:36:28 apalis-t30 systemd[1]: Reloading.
| ...
| And then the failing one:
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start timed out.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Timed out waiting for device dev-ttyS0.device.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Dependency failed for Serial Getty on ttyS0.
| Feb 22 15:33:15 apalis-t30 systemd[1]: serial-getty@ttyS0.service: Job serial-getty@ttyS0.service/start failed with result 'dependency'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start failed with result 'timeout'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Reached target Login Prompts.
(the time has been updated between this two events, but that does not
influence the issue)
Using --no-reload in the service file avoids the "Reloading." message
above and seems to not cause such issues anymore.
Reported-by: Stefan Agner <stefan.agner@toradex.com>
(From OE-Core rev: 23b359b6e26d0b17037bf955bd15a16a3fd9ab8f)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 4a425d05bac5dcba023b67aa3d726f7e7869404f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case a systemd service disables itself while init is still in its
boot sequence the reloading of the service files can be problematic.
In that case: It seems that systemd looses the state of .device units,
and some services depend on such units (namely serial consoles such as
serial-getty@ttymxc0.service). As a result no getty is spawned on the
affected serial tty.
After a power-cycle the second boot (which does not disable services)
succeeds.
The following sequence shows this problem:
| Jan 09 16:36:28 apalis-t30 systemctl[162]: Removed /etc/systemd/system/sysinit.target.wants/run-postinsts.service.
| Jan 09 16:36:28 apalis-t30 systemd[1]: Reloading.
| ...
| And then the failing one:
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start timed out.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Timed out waiting for device dev-ttyS0.device.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Dependency failed for Serial Getty on ttyS0.
| Feb 22 15:33:15 apalis-t30 systemd[1]: serial-getty@ttyS0.service: Job serial-getty@ttyS0.service/start failed with result 'dependency'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start failed with result 'timeout'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Reached target Login Prompts.
(the time has been updated between this two events, but that does not
influence the issue)
Using --no-reload in the service file avoids the "Reloading." message
above and seems to not cause such issues anymore.
Reported-by: Stefan Agner <stefan.agner@toradex.com>
(From OE-Core rev: 059bc9b164d239f0ba319f8e6a54b5edf7761b22)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 16b7b455ee40fd1be5bb9aacf24b106df0d9325e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case a systemd service disables itself while init is still in its
boot sequence the reloading of the service files can be problematic.
In that case: It seems that systemd looses the state of .device units,
and some services depend on such units (namely serial consoles such as
serial-getty@ttymxc0.service). As a result no getty is spawned on the
affected serial tty.
After a power-cycle the second boot (which does not disable services)
succeeds.
The following sequence shows this problem:
| Jan 09 16:36:28 apalis-t30 systemctl[162]: Removed /etc/systemd/system/sysinit.target.wants/run-postinsts.service.
| Jan 09 16:36:28 apalis-t30 systemd[1]: Reloading.
| ...
| And then the failing one:
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start timed out.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Timed out waiting for device dev-ttyS0.device.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Dependency failed for Serial Getty on ttyS0.
| Feb 22 15:33:15 apalis-t30 systemd[1]: serial-getty@ttyS0.service: Job serial-getty@ttyS0.service/start failed with result 'dependency'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start failed with result 'timeout'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Reached target Login Prompts.
(the time has been updated between this two events, but that does not
influence the issue)
Using --no-reload in the service file avoids the "Reloading." message
above and seems to not cause such issues anymore.
Reported-by: Stefan Agner <stefan.agner@toradex.com>
(From OE-Core rev: e735c176361fca43420565dcb8900bbff2f3664e)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 94fabe4b03e899d8876027ee2ced649737a9e522)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since following commit:
commit 2ff9d40dc88d43567472218cf3d3faf414398c71
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Sun Jul 30 16:06:57 2017 +0100
image/rm_work: Promote do_image_complete to be more sstate like
all image rm_work tasks are failing with:
mv: 1.0-r0.do_image_complete.228730130ba309f85b73b72222ba11d7.raspberrypi3 and
1.0-r0.do_image_complete.228730130ba309f85b73b72222ba11d7.raspberrypi3 are the same file
it's because for $i 1.0-r0.do_image_complete.228730130ba309f85b73b72222ba11d7.raspberrypi3
there will be first SSTATETASK in $j do_deploy, so the sed call doesn't replace anything
It might be different order of SSTATETASKS in my builds (it might work only when
do_image_complete is the first one in the list), but here:
SSTATETASKS="do_deploy do_image_complete do_image_qa do_package do_package_qa do_package_write_ipk do_packagedata do_populate_lic do_populate_sdk do_populate_sdk_ext do_populate_sysroot"
(From OE-Core rev: 0c905d4e7fa8e5416945fa0d61ebc1d34409d1e6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove backported patch:
1. vaapivideobufferpool-create-allocator-if-needed.patch
* Add PACKAGECONFIG_GL variable to make it possible for BSP layers to
customize what should be the default, EGL or GLX
* Set virtual/egl instead of virtual/mesa as egl dependency in case
platform specific drivers provide virtual/egl functionality
(From OE-Core rev: 42daac1ade210d873aa4761d89d2402fbe80f07b)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmad plugin was removed in 1.12.0, since mad is GPLed,
unmaintained, and both gst-libav & the mpg123 plugin are
fully functional alternatives.
(From OE-Core rev: a963a2e38e246554b7083430710a2aba430df5e5)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove backported patches:
1. 0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
2. 0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
3. 0001-mssdemux-improved-live-playback-support.patch
* Refreshed the following patches:
1. 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
Extended patch to include fix for libgstallocators
2. 0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch
Updated to apply to 1.12.2
3. gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
Updated to apply to 1.12.2
* Removed license checks in tta directory as it doesn't exist anymore.
* In 1.12.0, old unsupported plugins were removed. As a result, the
list of unsupported plugins was removed.
(From OE-Core rev: 1fa8492e54dd71ce7d4d853e0cb7295c28fa5e76)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove backported patch:
1. 0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
* Added RPROVIDES to handle the renamed plugins (oss4 is not enabled):
1. libgstpulse -> libgstpulseaudio
2. libgstsouphttpsrc -> libgstsoup
* Updated gstreamer1.0-meta-base to include this change:
1.gstsouphttpsrc plugin was renamed to gstsoup
(From OE-Core rev: 142d9e3d68147cdad18a3a60eaa22c33c418ffec)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Version 1.12 introduces support for libdw (provided by elfutils).
libdw adds source lines & numbers to backtraces. A new "dw"
packageconfig added for enabling/disabling this feature.
In addition, the old patch for deterministic unwind configuration
was replaced with one that also allows the same for the dw
configuration. This new patch was also submitted to bugzilla.
* Leftover docbook cruft was removed, meaning that the
"--disable-docbook" configure switch is gone.
(From OE-Core rev: a6c12ff35c97f4225a6b2f226ae4483d7bacdfb9)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gentoo is removing the package due to dead upstream;
Debian might carry it for a while longer.
(From OE-Core rev: 5026730a2f0701ebad4ddf57990b1ae3b484ae72)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are optional per-recipe variables with the following meaning:
UPSTREAM_VERSION_UNKNOWN - set if the upstream version check fails reliably,
e.g. absent git tags, or weird version format used on our or on upstream side.
If this variable is not set and version check fails, or if it is set and
the version check succeeds, then the checkpkg selftest for the recipe will fail.
UPSTREAM_CHECK_UNRELIABLE - set if the upstream check cannot be reliably performed
due to transient network failures, or server behaving weirdly. This one should be used
sparingly, as it completely excludes a recipe from upstream checking, and thus
we don't get automatically notified about new upstream releases.
Also the upstream status string in the checkpkg csv output is clarified with the following
possible values:
MATCH - recipe is providing the latest upstream version
UPDATE - there is a new version released by upstream, recipe should be updated
CHECK_IS_UNRELIABLE - an upstream check was skipped as requested by recipe
via UPSTREAM_CHECK_UNRELIABLE
UNKNOWN - upstream version check was performed, but the upstream verison could
not be determined. The recipe acknowledges this via UPSTREAM_VERSION_UNKNOWN setting.
UNKNWON_BROKEN - same as previous, but the recipe does not include the acknowledgement
and should be fixed.
KNOWN_BROKEN - upstream check worked, but recipe claims it shouldn't; to fix this
remove UPSTREAM_VERSION_UNKNOWN from recipe.
[YOCTO #11896]
(From OE-Core rev: 2a44ac1add0338cd7ff012cda96bf113c9a01bd6)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is an error for populate_sdk when we exclude package by using
PACKAGE_EXCLUDE.
Reproduced steps:
echo "PACKAGE_EXCLUDE = \"psplash\"" >> conf/local.conf
bitbake core-image-sato -c populate_sdk
Error log:
ERROR: core-image-sato-1.0-r0 do_populate_sdk: Could not invoke dnf.
Command '/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c
/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk/image/opt/poky/2.3/sysroots/i586-poky-linux/etc/dnf/dnf.conf
--setopt=reposdir=/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk/image/opt/poky/2.3/sysroots/i586-poky-linux/etc/yum.repos.d
--repofrompath=oe-repo,/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/oe-rootfs-repo
--installroot=/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk/image/opt/poky/2.3/sysroots/i586-poky-linux
--setopt=logdir=/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/temp
-x psplash --nogpgcheck install run-postinsts dnf
packagegroup-core-x11-base packagegroup-core-ssh-dropbear
packagegroup-core-standalone-sdk-target packagegroup-base-extended
packagegroup-core-x11-sato psplash packagegroup-core-boot rpm' returned 1:
Unable to detect release version (use '--releasever' to specify release version)
Added oe-repo repo from
/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:00 ago on Thu 10 Aug 2017 09:26:32 AM UTC.
No package psplash available.
Error: Unable to find a match
Add handling package exclusions to do_populate_sdk. The code copies from
do_rootfs in image.bbclass.
(From OE-Core rev: 86db855da4ee000737281ef7cc893d56854b3952)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Writes to the cookerdaemon log and/or the lockfile were meaning the parser
cache was always being invalidated and reparsed. This is unnecessary so
spot accesses to these two common cases and ignore the files from a reparse
perspective.
This doesn't remove many sources of reparse but does improve several
common cases.
(Bitbake rev: 218e4b6418992588312b8ef5949b84ef43263d1a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a proper function for clearing the mtime cache. Clean up the inotify
event overflow case to err on the side of caution and clear any potentially
now out of sync caches.
(Bitbake rev: ec60459fe2ba16966544eebff43b061abb7ed3ba)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The inotify watch events are handled "at idle" which could in theory mean
a command could run before any preceeding inotify events have been processed.
This leads to a theoretical race window where those events may have a
signficicant effect on the command.
Add a mechanism to allow us to ensure all pending events are processed before
running commands.
(Bitbake rev: bf76cd7e5881adf264b8ba64e27a5b6ca9df4fde)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the directories searched by BBFILES are not currently being added
to the inotify watch list. This can mean that added append files are not
noticed leading to misleading metadata results when using
BB_SERVER_TIMEOUT != 0.
We use glob to expand the BBFILES references and without writing our own
implentation, figuring out the directories it searches is hard. We use
some horrible hacks here to intecept the listdir calls, I'm open
to better ways to handle this but this does ensure we have the right
watches set.
(Bitbake rev: 4d508d35a224e3a25d2d59c8415ab7985964b14f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The server currently crashes if we hit an EOFError due to controllersock
still being in ready and the continue meaning ready isn't re-evaluated.
Setting the value to False can mean the shutdown code doesn't handle the
situation cleanly.
Clear ready to avoid the crash/loop instead and handle any OSError whilst
we're in here.
(Bitbake rev: 2bc47e887c3b41417edaa89a8708c223fd2085de)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we don't do this, we get basehash mismatch errors occurring from the reparse
which would then set bitbake's error exit code.
This for example would cause oe-selftest -r bbtests.BitbakeTests.test_bbappend_order
to fail with a non-zero BB_SERVER_TIMEOUT.
(Bitbake rev: e4c6ca9440f63761560b49bbe12654441f54687e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason prelink was refusing to prelink musl images but now sometimes
does modify the binaries. Since musl has no support for this, such images
end up broken and unable to boot.
To avoid this, be explicit and only apply prelinking for libc-glibc.
[YOCTO #11913]
(From OE-Core rev: 5a25ed1071f0d9b7d95edcc2b5b4545f960d5f95)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It has not been ported to openssl 1.1 (and there's nothing in upstream git),
but it's possible to use nettle or gcrypt intead.
Also, provide a fallback option to use openssl 1.0 when necessary.
(From OE-Core rev: 624aed5d450664b0f0a36b14d658248202f864ed)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Existing openssl 1.0 recipe is renamed to openssl10; it will
continue to be provided for as long as upstream supports it
(and there are still several recipes which do not work with openssl
1.1 due to API differences).
A few files (such as openssl binary) are no longer installed by openssl 1.0,
because they clash with openssl 1.1.
(From OE-Core rev: da1183f9fa5e06fbe66b5b31eb3313d5d35d11e3)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test itself was removed but there were a few explicit checks and
dependencies for it, so remove those too.
(From OE-Core rev: 3a2feef644abff4feff371cc7175ac270f5fb671)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've already removed unsafe-references-in-binaries (which was fundamentally
broken) and nobody really cares about / and /usr being on different filesystems
anymore (at least if they, they're keeping very quiet and not fixing the bugs).
As this test was a minor detail in the scope of supporting separate / and /usr
which we don't support, it can be removed.
(From OE-Core rev: 5363a5e43462e22ed61e87923e00657b740f6823)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This QA test is about to be deleted, so remove it from selftest.
(From OE-Core rev: b9faf41ddc4510d484b5cbe8d182d8288fe00773)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Under some rare circumstances we may end up with GCC segmentation fault.
This was observed with versions of sysmacros.h, which contain macros
with embedded warning messages :
When trying to actually display the warning, we may end up with a segmentation
fault instead. The reason is the actual warning message gets parsed (the text is
unquoted) and words in the message such as "not", "and" etc. are interpreted as
operators CPP_NOT, CPP_AND. When the time comes to display the warning, the code
uses wrong structure to access the "name" corresponding to the operators.
[YOCTO #11738]
(From OE-Core rev: 6f81fe4f3a1177c0049b26a070e43546bc6fe974)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to force a native build for a helper binary
(which is not installed or used outside of the build process).
(From OE-Core rev: 35e3ed68fd25941e3d76e5a063299b1d1cee0e70)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In upstream, the following commit:
e711cafab1
...
commit e711cafab13efc9c1fe6c5cd75826401445eb585
Author: Benjamin Peterson <benjamin@python.org>
Date: Wed Jun 11 16:44:04 2008 +0000
Merged revisions 64104,64117 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
...
(see diff in setup.py)
It assigned libraries for multiprocessing module according
the host_platform, but not pass it to Extension.
In glibc, the following commit caused two definition of
sem_getvalue are different.
https://sourceware.org/git/?p=glibc.git;a=commit;h=042e1521c794a945edc43b5bfa7e69ad70420524
(see diff in nptl/sem_getvalue.c for detail)
`__new_sem_getvalue' is the latest sem_getvalue@@GLIBC_2.1
and `__old_sem_getvalue' is to compat the old version
sem_getvalue@GLIBC_2.0.
If not explicitly link to library pthread (-lpthread), it will
load glibc's sem_getvalue randomly at runtime.
Such as build python on linux x86_64 host and run the python
on linux x86_32 target. If not link library pthread, it caused
multiprocessing bounded semaphore could not work correctly.
...
>>> import multiprocessing
>>> pool_sema = multiprocessing.BoundedSemaphore(value=1)
>>> pool_sema.acquire()
True
>>> pool_sema.release()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: semaphore or lock released too many times
...
And the semaphore issue also caused multiprocessing.Queue().put() hung.
(From OE-Core rev: ca1542cdf6b6437a2f3dcdb33ac5216bf841c04a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oprofile package depends on kernel-vmlinux package
through RRECOMMENDS dependency. Thus provide it
here to satisfy dependencies.
(From OE-Core rev: d96e3ab2a344c40f9b132673923b191ce912d9a4)
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A new command line argument (-R, which is the oposite of current -r) that allows
to run all test cases except the ones indicated through the command line.
Some command line examples:
* Run all except the distro test case:
$ oe-selftest -R distrodata
* Run all except the archiver test case and a single bblayers unit test
$ oe-selftest -R archiver bblayers.BitbakeLayers.test_bitbakelayers_add_remove
[YOCTO #11847]
(From OE-Core rev: e40eeaa790b95d9c25832405c0b0d5b3a0d0292b)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As this test has two nested loops and actually runs six times, use
UnitTest.subTest() so we can tell which instance is failing, and to run all
variations instead of failing on the first one.
Also set PACKAGE_CLASSES to just the type we need to reduce the verboseness of
the output, and consolidate the feature generation to be neater.
(From OE-Core rev: c7ef6000b11f1b1cd27c9bc408eea9f76bb94a3b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was needed when we were conflicting with clang-native
but this is solved via append PN to binaries of llvm-native
(From OE-Core rev: 82ea78bd2f03b6ba4d720595d3a3fbd96e0232f9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As eudev requires devtmpfs it is not necessary to keep a cache anymore
as the kernel handles entries in /dev itself.
(From OE-Core rev: 048f4149b8438c521e8b65a3c96d850a9b4a3e5b)
Signed-off-by: Oliver Stäbler <oliver.staebler@bytesatwork.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not use the JD_TERMCAP macro since we cannot get the terminfo from
ncurses pkg-config variants, but fix the macro to not reference host
directories. Also add src/test/Makefile.in so that we can use -ltermcap
if we want to.
Since the recipe DEPENDS on ncurses, we assume terminfo is there.
(From OE-Core rev: 53fbc138c8f5652890d477ef21dcb52ec06abb21)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new version fixes gperf 3.1 issues, so the update is included
in this patchset.
Modified patches are all rebases to the new version.
Deleted patches are backports, except 0016-make-test-dir-configurable.patch
which is obsolete in the new version (TEST_DIR define is no longer used anywhere).
--with-testdir is removed from configure for the same reason.
(From OE-Core rev: 34afb46f75d6c356f23f70c5ece96e45594e1546)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New feature release, see
https://lists.freedesktop.org/archives/wayland-devel/2017-June/034286.html
for the major features. This is the last major release to support
autotools.
Configure flag "--enable-event-gui" changed name.
Configure flags no longer default to "auto": explicitly disable the
things that were previously automatically disabled.
Package the binaries into libinput-bin while being careful with
packaging as the main package gets renamed to libinput10.
Add patch to fix a race in install.
(From OE-Core rev: df7f5221a56118da7654476f072c37ae1e75dc50)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section about following best practices was more of a reference
section the way it was written. I recast the section and the
sub-sections such that it is a list of items to consider.
Also renamed the section to be more of an action section rather
than passive.
(From yocto-docs rev: 8b050a46c67a3d3e89d905cf028eec6ae370388a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I did some rewriting for clarity in the "Using .bbappend Files
in Your Layer" section. The section needed to be retitled so
focus on the layer aspect of .bbappend files. Also, while I
was in there, I did more work on the prose in general.
Also had to fix some links in the bsp, kernel, and ref manuals
that linked into the section whose name I changes.
(From yocto-docs rev: a82bcc9fe0f909135434ee1bd36b4414f6c046c9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated the wording to note that the steps are how to create
a layer without the aid of steps (i.e. by hand).
(From yocto-docs rev: 81800fa9ba0dd9ff439a43b286981eea51d4c87f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that meta-qt4 isn't used by the autobuilder, there's no need
to exclude broken recipes fron that layer either.
(From meta-yocto rev: feb7d9db5979a1b8d5f27c370d01755b50023255)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ export BB_SERVER_TIMEOUT=10000
$ bitbake --server-only
$ bitbake --status-only
[snip]
File "/buildarea/lyang1/poky/bitbake/lib/bb/server/process.py", line 472, in recvfds
msg, ancdata, flags, addr = sock.recvmsg(1, socket.CMSG_LEN(bytes_size))
OSError: [Errno 9] Bad file descriptor
And:
$ export BB_SERVER_TIMEOUT=10000
$ bitbake --server-only -B localhost:-1
$ bitbake --status-only # Everything is fine in first run
$ bitbake --status-only
[snip]
File "/buildarea/lyang1/poky/bitbake/lib/bb/server/process.py", line 472, in recvfds
msg, ancdata, flags, addr = sock.recvmsg(1, socket.CMSG_LEN(bytes_size))
OSError: [Errno 9] Bad file descriptor
This was because self.controllersock was not set to False, so it still ran
sock.recvmsg() when sock was closed.
And also need set command_channel to Flase, otherwise the
self.command_channel.get() will always run when EOF, and cause infinite loop.
(Bitbake rev: 7b739a38601b053d9bea4df2c0b44a952ab670c4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is already a type=float, so the float() is not needed, which also makes
the error clearer:
$ export BB_SERVER_TIMEOUT=10000AA
With float():
$ bitbake quilt-native
[snip]
ValueError: could not convert string to float: '10000AA'
Without float():
$ bitbake quilt-native
[snip]
optparse.OptionValueError: option --idle-timeout: invalid floating-point value: '10000AA'
The second one tells clearly where is wrong.
(Bitbake rev: 7a4ea1e6a10f20d80009a78f4f0aebf8f90095fd)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In combination with the recent server reworking, this change actually
prevents messages sent from tasks from being logged properly. This will
of course give us the duplicated messages back, and I really hate to do
that effectively a second time, but that's better than seeing no error
at all in the case of a failure - we'll have to find the proper way of
avoiding the duplication that doesn't result in some messages going
missing.
This reverts commit 8a5bae76f91f2411187c638a42fa3c762052cf11.
(Bitbake rev: 645c8dd15762516ae5ab64a1df47fadb95d072d1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The git mirror of LLVM doesn't have any tags we can track for release
announcements, so exclude llvm from the checkpkg test.
(From OE-Core rev: 91d1664d66ffd0d3ec06824ff13861faf89ba96a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When parsing this recipe on an unsupported or non-mappable architecture
an error is generated despite no dependencies on the recipe. E.g.
ERROR: .../llvm_git.bb: cannot map 'microblazeel' to a supported llvm architecture
Instead of generating an error which might confuse users, raise a
SkipRecipe exception similar to other arch-style mapping functions (e.g.
go_map_arch). This avoids showing the error during parse, and prevents
the use of the recipe on unsupported targets. Resulting in an error like
so when trying to build llvm:
ERROR: Nothing PROVIDES 'llvm'
llvm was skipped: Cannot map 'microblazeel' to a supported LLVM architecture
(From OE-Core rev: d796abac982f368aa088a291560b565cc47a2c27)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have a variable YOCTO_ALTERNATE_EXE_PATH to point to
target sysroot, utilize this in mesa to use native version
of llvm-config to report values from target sysroot.
(From OE-Core rev: 1c4444f7b2f5cbcaaf6f9d21d7b4f86555ed746a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to get llvm-config tool staged which is provided by llvm-native
(From OE-Core rev: 0aadad61bf740bb9a1859381790ecc0f37490c34)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It adds native sysroot chrpath due to llvm-config in cross compiling
we can delete them via chrpath, since libs are in standard paths rpath
is really not needed
(From OE-Core rev: 1882726f61216c1a490370456c2e68efc3862052)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Though the script bitbake-layers (from the bitbake project), this plugin
creates a simple layer with a example recipe, the latter with a single task
(do_build). Layer's license and priority is MIT and 6, respectively. Example
recipe and layer's priority can be specified through the command line.
[YOCTO #11567]
(From OE-Core rev: 2bd1dc287b8b0f7edac8c6fee076a70ebf7adf43)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The author's initial intent was to use a git hook to automatically call
update-server-info, but the wrong hook type was chosen (post-update). A
post-commit one will do the job, hence allowing to drop the explicit call to
update-server-info.
(From OE-Core rev: 0a8ae997c782794b6ef32654cb245b496ab1de8e)
Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 4657bc9d165e51981e034e73e7b92552e873eef7 replaced the git pull logic with
the git fetch + git reset --hard combo, but resetting to HEAD does not really
pull in new commits from remote... Replace with resetting to the upstream branch
instead.
(From OE-Core rev: 0dcdb146f59a184419bffd4f24cdf8343a43c0ea)
Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When support for dnf was introduced the check of the
no NO_RECOMMENDATIONS variable got broken.
This fixes the issue by compairing to the string "1"
rather than the number 1.
(From OE-Core rev: 1849ce3bd7c0af055f3e849a6508e746b6a0dca5)
Signed-off-by: Richard Röjfors <richard@puffinpack.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
live image type was replaced by hddimg recently. This made
NOHDD and NOISO options ineffective as they only influence
live builds. It also causes image building failure for
image sizes >4Gb
Returned back live image type and disabled building iso image.
This doesn't change result (hddimg is built), but it makes
NOHDD and NOISO working as expected.
[YOCTO #11842]
(From OE-Core rev: c787dcdd55bc55c6c64dec21b251706615114fe7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alioth always redirects, so we might as well save time by looking in the right
place.
(From OE-Core rev: e681e25fb8fb97a8592df69180d2fd85d136352c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This causes us to fall out of the module setup/run loop in the base init
script should "root=" be defined, causing a boot failure.
(From OE-Core rev: 4f109da34a080c0d7cb86eaea1f7b6dfef3d04cb)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is highlighted when CC is passing flags like -fPIE
which are stripped by libtool when building shared libs
and replaced with -fPIC, this actually results in CC
not matching the CC computed from cmdline created for
compiling and as a result libtool heuristic to compute
tags auotmatically fails.
(From OE-Core rev: 519c34adeb0735f6ff606addd00a7bbe19f4b15c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.6.31 fixes pngpriv.h to work around failure to compile
arm/filter_neon.S.This bug was introduced in libpng-1.6.30beta01
No changes in License.The license checksums changed because of
update in Copyright dates in LICENSE and png.h files.
(From OE-Core rev: 8319dce16210ebe2d89cd1e0926ad937909bc9ea)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fwupd contains polkit policy files that it translates using polkit.its
and polkit.loc files that the next polkit release is going to
install (see https://github.com/hughsie/fwupd/issues/107).
In order to make that work with OE-core, the gettext tools must be
told to look also for files in the recipe-sysroot. Otherwise it only
uses the GETTEXTDATADIR set by the gettext-native tool wrappers, and
that only points to the files provided by gettext-native itself.
(From OE-Core rev: ebb706f9dafdbb7c4aa18e5595930bbc1a0497b1)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this causes include_next <stdlib.h> to not find
this header since -isystem <sysroot> is added via
cmake, we alrady are using --sysroot so rely on that
(From OE-Core rev: a0f2d1389a7e76b64003fea391a0cd485ff5fe77)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
| /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/python3-pycairo/1.10.0-r2/recipe-sysroot-native/usr/bin/x86_64-bec-linu
x/x86_64-bec-linux-ld: src/cairomodule.c.1.o: relocation R_X86_64_PC32 against symbol `CairoError' can not be used whe
n making a shared object; recompile with -fPIC
(From OE-Core rev: 058b155a66c5f81573379d258250323c72901ff7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
External compilers will explicitly pass -fPIE -pie flags
unlike internal toolchain which does not use them, so the build
fails with external toolchains because, its passing these
flags to linker when building with -r option and fails to link
| /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/go/1.8.3-r0/recipe-sysroot-native/usr/bin/x86_64-bec-linux/x86_64-bec-linux-ld: -r and -pie may not be used together
(From OE-Core rev: bb89849b5edb05a953586d190826a67ba87c1c5a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Helps in fixing errors when using external toolchain
and hardening flags
(From OE-Core rev: 33ab086517c629158fd10d1818cad619883743db)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
External compilers will explicitly pass -fPIE -pie flags
unlike internal toolchain which does not use them, so the build
fails with external toolchains because, its passing these
flags to linker when building shared library, which is not
correct it should just use -fPIC
Fixes errors e.g.
| /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/libproxy/0.4.14-r0/recipe-sysroot-native/usr/bin/x86_64-bec-linux/x86_64-bec-linux-ld: ../libmodman/libmodman.a(module_manager.cpp.o): relocation R_X86_64_PC32 against symbol `_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIPN9libmodman14base_extensionESaISB_EEESt10_Select1stISE_ESt4lessIS5_ESaISE_EE8_M_eraseEPSt13_Rb_tree_nodeISE_E' can not be used when making a shared object; recompile with -fPIC
(From OE-Core rev: 8c8c01f8e68026228a3b76528a0039acf682c201)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libtool tries to guess the --tag value based on CC/CXX environment
variables and the compile commandline generated by makefiles. This
heuristics however fails when we construct CC variables in OE
and add security flags to it, especially -fPIE -pie which are added
by external compilers e.g. clang particularly. It fails because
libtool removed PIE flags from compiler cmdline intelligently
if it figures out that its building a library, which means that
the CC variable passed from cmdline does not match with the compiler
cmdline constructed by libtool and we end up with errors like
| arm-bec-linux-musleabi-libtool: compile: unable to infer tagged configuration
| arm-bec-linux-musleabi-libtool: error: specify a tag with '--tag'
This works with internal gcc toolchain because we configure gcc for
PIE when hardening is selected and dont pass -fPIE -pie options explicitly
but this is not an option for clang, and some external gcc toolchains
using older gcc
This patch adds the --tag option to help libtool set correct tags
in packages where it cant get it right via its heuristics
(From OE-Core rev: 0505075ae8d339ba097aebb82b4d0ae62f87c0a9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* If an error is logged while executing a task, we need to ensure we
exit instead of assuming everything went OK.
* If we receive CookerExit, the server is shutting down and we need to
stop waiting for events and probably exit (knotty does this). This
will occur if an exception or bb.fatal() happens during an event
handler.
This fixes a couple of issues highlighted when using devtool upgrade or
modify on a non-supported recipe with intel-iot-refkit together with
bitbake master, but I'd be very surprised if it were hard to reproduce
in other scenarios.
(From OE-Core rev: 65e644368fc9c294af96906528ee0cf30305e0a6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need to reparse recipes just because BB_SERVER_TIMEOUT changed,
so exclude it from the config hash.
(From OE-Core rev: a686fcabacd49fdb814e646305c1f33fee1d5abf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit generalizes the work done in [1] and [2], both fixing
issues on several areas (the former with -c patch and gnome-terminal and
the latter with -c menuconfig and several terminals, including
gnome-terminal and tmux). The main idea is to get the PID
from the new spawned terminal and loop there until finished.
[1] 76e8ab47c9: terminal: Fix gnome-terminal to work with recent versions
[2] 7d02ea283b: cml1.bbclass: wait until menuconfig terminal finishes
(From OE-Core rev: 55707401d5bfb1f7686c273fc2d0db89df206395)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of moving aclocal.m4 to acinclude.m4 in a custom do_configure, simply
tell autoreconf not to run aclocal.
(From OE-Core rev: 5cc53ea9347035f96a721ab057a338eded5c5c67)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Invisible Mirror FTP service is currently down, and FTP is horrible, so
switch to the HTTP mirror.
(From OE-Core rev: f31461f8ea11e82dbe14454a1149d9ec2120404d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lspci and some other software require "pci" in MACHINE_FEATURES and PCI
is valid in the qemux86* context.
(From OE-Core rev: aec9a159dbc7a78953da73ba9dfccc9e9c9514a7)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there are events in the UI queue we want to print them regardless of
whether we're handling an exception or something like SystemExit.
This improves error messages for some other failure cases where currently
no logging would get printed and leave the user confused as to what went
wrong.
(Bitbake rev: 76c4f2c20216719736766e8ae7d089ccd061b71b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"bitbake -g m4-native -c do_unpack" doesn't list any dependencies in
task-depends.dot. This is because no header describing the task was
added unless a task has dependencies. Tweak the code to fix this.
[YOCTO #10893]
(Bitbake rev: e2fbe728769f09ef4178e2ef4d69a2f60ffe3ebb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although 'test' is listed in the python module list
(https://docs.python.org/3/py-modindex.html) it is meant only to be
used 'internally' by folks developing python itself. Per the
documentation:
Note The test package is meant for internal use by Python only. It
is documented for the benefit of the core developers of Python. Any
use of this package outside of Python’s standard library is
discouraged as code mentioned here can change or be removed without
notice between releases of Python.
Per the above it is best not to include this module to discourage
folks who might not head the above warnings. Additionally this module
is one of the largest py modules going, by dropping this unneeded
module from the 'modules' package we can reduce overall image size,
something which is important for many embedded deployments.
The generator scripts as well as the manifests have thus been modified
accordingly, providing a generic mechanism to exclude modules from the
'all modules' package.
(From OE-Core rev: a5bb13a5d7d7a668ca61da6b17884e3b05b95355)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should reduce the chance of generating 0xffffffff as the disk
system identifier.
(From OE-Core rev: 5619e72facbc9228d3cf8f844f198e03b536ac8c)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_bootdirectdisk and do_vmimg had been dropped by commit 929ba563:
[ image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types ]
Also drop the references to them and image-vm.
(From OE-Core rev: 609f7f4ecd17c8299b97d9face098e3cc44fa6eb)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The COPYING file specifies pure GPLv3, not GPLv2 & GPLv3, with the
autoconf exception in COPYING.EXCEPTION. OE-core currently has
GPL-3.0-with-GCC-exception for this in meta/conf/licenses.conf, so
this is used here despite the deprecation note for that license
identifier in https://spdx.org/licenses/GPL-3.0-with-autoconf-exception.
(From OE-Core rev: 5849391a1854743af26503db603ad578d8d19e25)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The games we play with path manipulation of DL_DIR in uninative mean standard
PREMIRRORS don't work and we can't easily put 'chksum' into the url path from
a url parameter with the current fetcher url handling to make a generic
remapping. We therefore add to PREMIRRORS when we know the chksum to
create a premirror mapping which can work.
[YOCTO #9888]
(From OE-Core rev: 3b0309dbb5d52e9d7abf6fd89cc999ac4cc5d2fb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was originally based on some other code but its mostly misleading
comments now. Massively clean this up and accept its now a total fork.
There are no funciton changes here, just cleanup.
(Bitbake rev: 3daa9001269e5b9156d0eb3299d2628d2d219fff)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we create the child, if an exception occurred it was transfering
back into the parent context. We don't want to do that us use a try/finally
to ensure we exit.
We need to ensure a traceback is printed and any queued UI messages which
may not have made it to the client UI at this point.
(Bitbake rev: dec1d2c26f6cb3ffeb44beaab0129cd531a6d08b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have cases where the server is being started but we're not seeing any messages
from it. Add some earlier logging so we can try and better understand where
issues may be occurring.
(Bitbake rev: 10a6a48c0c5a2fe2051e90143e66075356853971)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the connection control socket and the command channel close together,
we can race and hit EOFError exceptions before we close the channel.
Reorder the code to handle this in the correct order and ignore the
EOFError exceptions as they mean the client is disconnecting and shouldn't
terminate the server.
(Bitbake rev: 974281ed72d8366baa16ee85f7e93970689b5956)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
My previous assertion about FusionForge appears to have been wrong, or
FusionForge has changed behaviour, or both.
FusionForge now mandates that downloads have the Accept header set, despite that
header being optional, and returns a 406 Not Acceptable error if it isn't set.
As we were pretending that 406 was actually 405 (Moved) and tried to handle it as a
redirect this results in an infinite loop until Python kills the recursion.
Delete the handling of 406 as 405, and pass Accept: */* in the headers.
(Bitbake rev: bb70ae0c9aac5ec688026d23a64ac0cac1947187)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitbake option "-t SERVERTYPE" was deprecated and can be
removed since the desired XMLRPC listener now the default.
The bitbake server port cannot be "-1" anymore and must be
explicitly passed.
There is a race condition for the bblock file to not only
be created but to actually be populated, so a delay test loop
is required (usually only one pass).
The 'xmlrpcclient' is now the class that allows Toaster to for
example kill builds.
The events for populating the recipe parsing now either show only
the final result or are skipped entiredly, so the progress
calculator needs to be changed to not block on the parsing phase.
[YOCTO #11851]
(Bitbake rev: 2aa7ad38f760ec003fb18faa5aa0014cff191a7a)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for Toaster aggregators with a set of api links that
return JSON data for (a) builds in progress, (b) builds completed,
(c) specific build data, and (d) an is-alive health ping link.
[YOCTO #11794]
(Bitbake rev: d8e79661c69671dd424dca5cc3f7f2f855b0afed)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having this as one huge long line isn't easy to manipulate, split it into
multiple lines for ease of debugging issues.
(Bitbake rev: 5753fe81194f75fbcf4ccdc733cc585d02794cb1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The checkstatus() code was expecting checkstatus to throw exceptions if it
failed, but in general it should return False.
(Bitbake rev: 57be5cc6228518e60f564570a39cebbeb6cf564e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add following in mesa.inc to enable llvmpipe
PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600"
PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600"
This would enable llvmpipe for swrast, to check run this
root@qemux86:~# glxinfo | grep llvm
Device: llvmpipe (LLVM 5.0, 128 bits) (0xffffffff)
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 5.0, 128 bits)
Backport patches to support llvm 5.0.0+
Add a patch to understand llvm version when llvm is build from git/svn
(From OE-Core rev: da29bc17e4dd748f50b054c5e3afaf8d41bf4077)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on recipe from meta-oe and clang recipe from meta-clang
Needed by mesa
Fixes
[YOCTO #11529]
(From OE-Core rev: 8724ef9c53e7804ead9ba0f019369b0e4daada63)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
llvm is using it, therefore move it from meta-oe
(From OE-Core rev: fc3aef67a95a90e9a485c6b0e93db8cdeab5d3ab)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to do_image_complete, make do_image_qa a dummy sstate task
so that rm_work doesn't cause image generation to repeat on every
new build command.
(From OE-Core rev: ca61f5437cb2421a67f002785e644ba215e04aaf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We relied on the missing do_image_complete_setscene task to ensure the dummy
sstate tarball that was created would never be used. This lead to its own
issues and a better fix for SSTATE_SKIP_CREATION has now been merged.
We can therefore make do_image_complete look like a more standard sstate
task which means image generation doesn't keep rerunning when using rm_work.
We do need to turn do_image_complete's stamp into an sstate version to
handle this (it otherwise matches the do_image_* glob).
(From OE-Core rev: 2ff9d40dc88d43567472218cf3d3faf414398c71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_image_complete has the do_build dependency, these other two tasks
don't need it. If this is present, it complicates the dependency tree
and convinces rm_work that the tasks need to rerun even if they
already did since the stamps are removed.
Drop the unneeded dependency to help resolve this issue.
(From OE-Core rev: f61bcae0926a1ad79032119cc5656c0e862b13af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, dummy archives are created for skipped sstate tasks. We relied
on these never being installed (the setscene task is missing) however this
leads to odd behaviour as for example the setscene stamps are never looked
at.
Rather than trying to continue with the two separate behaviours, really
skip package creation. We do need the file manipulation steps to install files
under sstate control from a manifest perspective so we only skip at the final
creation step.
(From OE-Core rev: 1e95fc5419a131a5e4091b8ff01639de99284399)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than requiring each user to handle this individually, handle
addto_recipe_sysroot in the core class. As well as preserving the
sysroot directory, this also ensures the stamp is preserved rather
than rerunning the task every time as currently happens.
(From OE-Core rev: bf8b9858d9ccce27173d13938a83d249294cc473)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MIRRORS needs to be pairs of values for the original URL to match and the
location find it on the mirror.
(From OE-Core rev: a649f3da630e8ca2d3ca58b610f3918720dd5229)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This style allows a writer to use the <para role='writernotes'>
tag to have text in the paragraph render in red.
(From yocto-docs rev: 65bb4edcd0a58ea8e17f28f9f5c13e2898c22745)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because the YP development introductory information was moved to
the ref-manual, and the QS will get a CROPS section inserted,
the introductory section of the QS needed to be updated a bit.
(From yocto-docs rev: e173b762a74678cd660850e4f5bc28712c3d83ac)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The introductory stuff in the QS is really conceptual information and
needs to be in the ref-manual where YP is introduced. Regarding the
QS, all we really need to do is point to places where the reader can
go to find that stuff out.
Part of this move involved getting the diagram of the YP flow for
the environment from the QS to the ref-manual. That figure was
named "YP-flow-diagram.png". It was named "yocto-environment.png"
in the QS but I renamed it when moving it to the ref-manual. This
caused some edits to the "Makefile" to clean up the figure lists
for tarballs.
(From yocto-docs rev: ab108c0959e3a9f36d25080245482f8a790c8c87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced "python34-pip" package with "python3-pip"
in the list of required packages for CentOS' variable.
(From yocto-docs rev: 5d48ea7953169b4392d6caf0fb8f2f952479f033)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed duplicated package, "which" in list of
required packages for Fedora's variable.
(From yocto-docs rev: e016735fe7ef0d866d44df1100597ab3f3af7d5f)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates to a newer glibc and updates patchelf to include a bugfix
to work with gold.
(From OE-Core rev: a2ab288bd002ebb6e64d46e941fb122e1157ff49)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We add a new test that will create core-image-minimal for wic.vmdk,
wic.vdi and wic.qcow2. We then confirm via qemu-img that the resulting
file is of the expected type.
Cc: Ed Bartosh <ed.bartosh@linux.intel.com>
(From OE-Core rev: 1392fdeaf6acc7c8d2ff9a5a2bf6ef2f5928957d)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new test to create a long (and not otherwise useful) image,
ext4.bmap.gz.bz2.lzo.xz.u-boot and also the sha256sum of it. Check that
the resulting sha256sum is valid.
Cc: Ed Bartosh <ed.bartosh@linux.intel.com>
(From OE-Core rev: ac4402bff547b017284b12c1874d4094c169419d)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We extend the existing test_bmap test to also produce an ext4.bmap.gz
file and then have gzip confirm that it contains valid gzip data. This
tests that we are able to chain at least 2 CONVERSION_CMDs together.
Cc: Ed Bartosh <ed.bartosh@linux.intel.com>
(From OE-Core rev: 1e9ca92f84d9d5b4e56d47dfd4b3d7f9aba3d21b)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The most portable way to specifiy a root device in a disk image that we
create is to use PARTUUID rather than /dev/sda2. As background, both
GPT and MBR tables provide valid UUID values for each partition and the
Linux Kernel contains the logic to parse this value. With this change
we can now boot the default disk images when used as any valid block
device that the included kernel uses. This for example means that
VirtualBox can be used to run vmdk without changes as it uses IDE for
the virtual disk controller.
Cc: Matt Porter <mporter@konsulko.com>
(From OE-Core rev: 8a58e9bb3e76a9962f1d14a8bdd3f7de675c3492)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The vmdk/vdi/qcow2 IMAGE_FSTYPEs predate wic. As such, they provide
some similar underlying functionality in order to produce a "disk" image
that in turn can be converted into different formats that various
hypervisor types work with. They do not however provide the ability for
other disk image types to be converted into these same output types.
Furthermore, they are less flexible than what wic does provide. This
drops the old style vmdk/vdi/qcow2 types and re-introduces them under
the CONVERSION_CMD framework. The equivalent of vmdk is now wic.vmdk
and so forth for the other types.
(From OE-Core rev: 929ba563f1bc7195c4981b8e139c432b2cc388ea)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade assimp to 4.0.0.
* Because there is also an assimp recipe in meta-oe, so update
DESCRIPTION, HOMEPAGE and SECTION from it.
* Remove redundant license file
* Update EXTRA_OECMAKE to fix library install path for multilib
(From OE-Core rev: e639f8845f78a0a75b9cab81d9a9f6a2810a313c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Zero may be interpreted as no MBR signature present and another
partitioning program might install a new MBR signature.
(From OE-Core rev: f53b5555d6eaa171bc5882cfee807cf62576862d)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The COPYING file specifies pure GPLv3, not GPLv2 & GPLv3. There is
also the COPYING.EXCEPTION file with the autotools exception, which
gets ignored here in the recipe to keep it simpler.
All of the explicit dependencies seem unnecessary, and RDEPENDS_${PN}
doesn't do anything for native recipes either, so all of that gets
removed.
It also built fine without the m4 and parallel build workarounds.
There's no need to have a separate .inc file.
(From OE-Core rev: 5002004b891895654cbad53555ee46e2ed188630)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having common macros in OE-core that are needed by autotools based
projects makes sense. For example, tpm2.0-tools in meta-measured
depended on meta-oe only because of autoconf-archive.
This is a verbatim copy of the autoconf-archive recipe in
meta-openembedded rev 1cbd1bc1, with just one change: the patch which
disabled the installation of ax_code_coverage.m4 and
ax_check_enable_debug.m4 and the dependency on gnome-common were
removed.
So now autoconf-archive in OE-core provides them. gnome-common in
meta-oe will be changed to not install them and instead depend on
autoconf-archive.
(From OE-Core rev: 40711432b82fc6efb9e40748532ed68a64fbe628)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is in case that sometimes the copied target files might be
expected to have a desired mode, for instance, the ssh keys should not
be too open, otherwise the users will get a "Permission denied" error.
(From OE-Core rev: 0ae4c1eeb1a70bae324347445895c7d312cf503d)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case boots the image in qemu and checks for mounted
partitions. As /boot is mounted automatically the test case fails.
Fixed this by adding /boot to the list of mounted partitions.
(From OE-Core rev: e5ba124b01ff6883a08c91daa47343dd09f6260d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic avoided adding /boot to fstab for no reason.
This exception was hardcoded in the wic code.
There is no need for this as mountpoint in .wks file is an optional
field. It can be used only if user wants to have partitions
automatically mounted on system boot.
[YOCTO #11662]
(From OE-Core rev: 2376b05512ddb8c4ec3aaf1df11071f536a76bd9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used unique suffix (line number from .wks file) for the
copied rootfs directory to avoid possible conflicts.
(From OE-Core rev: 01efc234a8caab67ed3138ab2de9bbd82ce97b44)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic gets rootfs paths from partition object property
'rootfs_dir' and shows them in final report.
rootfs plugin sets this property to the temporary path,
which causes temporary paths appearing in the report.
Changed the code to prevent storing temporary rootfs path
in part.rootfs_dir. This should fix the report.
(From OE-Core rev: 28d2d7d6f79df08431187c7debaab2a3fa516671)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using relative paths can cause copyhardlinktree API to fail as
it changes current directory when working. Converted all paths
to absolute paths using os.path.realpath.
(From OE-Core rev: a1c83cebe986e211dfc31be5cbd748f53fc298df)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic updates /etc/fstab on root partition if there are
valid mount points in .wks
When wic runs from bitbake this can cause incorrect results
or even breakage of other tasks working with the same rootfs
directory in parallel with do_image_wic.
Implemented copying rootfs directory to a temporary location
using copyhardlinktree before updating fstab to avoid conflicts with
other tasks working with the same rootfs directory.
(From OE-Core rev: 92e1c7d47e695eb4ce1a863cd0f6c49dca1c2339)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tar exists with 1 and produces warning "file changed as we read it"
if content is changed while tar archives it. Even hardlinking content
causes tar to fail this way as it changes file ctime.
Other tasks running in parallel with do_image_tar may need to hardlink
rootfs content in order to change it, e.g. do_image_wic does this to
update etc/fstab.
Ignored tar exit code 1 to be able to hardlink rootfs content while
do_rootfs_tar is tarring it.
[RP: Removed bashism]
(From OE-Core rev: 402b4cffbb4c58cfee93db18192f2b218ee0ae35)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we are adding the addto_sysroot that that is specific to the
native recipe, we must split this into a seperate -native .bb recipe.
When systemtap-native is built, the intention is that it's usable
from the native sysroot when done, ensure it's there with a forced
addto_recipe_sysroot task, we also don't want to clean the sysroot
when RM_WORK is enabled otherwise we loose the binaries.
[YOCTO #11403]
(From OE-Core rev: 98fba18e93abe8efce0a5b40d51e178c9de4d1e5)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
(cherry picked from commit 2fdb59741b4fdeaa4aee10812c4a409cdc11a02d)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since OEQA framework uses Python logging functionality to report test
results there is a class that wraps PyUnit writes into logging commands
(OEStreamLogger), so don't buffer the actual test execution to have
insight of what is currently executing.
This fix will change a little the test output format adding an '\n'
previous the test result, for example:
From:
test_nonmatching_checksum (lic_checksum.LicenseTests) ... ok
To:
test_nonmatching_checksum (lic_checksum.LicenseTests)
... ok
This is because the new line added by the PyUnit StreamLogger because
currently we don't have a manner to identify when a test execution
starts at report level (write msg).
[YOCTO #11827]
(From OE-Core rev: 4c2276469f58a88f864eb374c00dbbaace702de4)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If some test module/case is specified to run and isn't found the OEQA
framework didn't notice it, so complete the implementation using
modules_required and validate for the test case prescense.
Raise an exception when the test module/case required isn't found.
[YOCTO #11645]
(From OE-Core rev: e50b415aaaa1581473f85f0a8afa278b5f95129b)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After switching to Recipe Specific Sysroots, ncurses
will not be populated in its own sysroots, then
siteconfig_gencache fails to find some headers,
so add ${SYSROOT_DESTDIR}/${includedir} into the
search list to fix the issue.
(From OE-Core rev: 2ef34f7fb60ecdff29aae1d54a90a2e765c15e1e)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The siteconfig cache files in ACLOCALDIR setup by autotools.bbclass
has been dropped after switching to RSS, so change the siteconfig
search path back to SITECONFIG_SYSROOTCACHE and the parameter
name changed from aclocalcache to sysrootcache.
(From OE-Core rev: 5b1454304483a0bc725b32fd5458e5281c68112f)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
debianutils-run-parts should have higher priority than
busybox (which is 50), so set the priority to 60 for
debianutils-run-parts.
(From OE-Core rev: 56f6fc7d6de0a46046ea2abcc392b1da88e398ec)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration variable PACKAGE_DEBUG_SPLIT_STYLE includes
the new mode debug-with-srcpkg that instructs the system to
remove the source files from the debug package but include them in
a separate package with a "-src" suffix in the name.
[YOCTO #9998]
(From OE-Core rev: b8f9ffa37f67172a01837c88c861dc736d267569)
Signed-off-by: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some out of tree modules require the scripts for configuration. For
example, backport-iwlwifi.
(From OE-Core rev: 7a045f6df2366026d28fe8d36e6d594ce5aa559a)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 28fc6ba761ed4a47efa7c43e7f7dff5e2fe72b5e since it causes
runqemu.RunqemuTests.test_boot_machine_iso and runqemu.RunqemuTests.test_boot_deploy_hddimg
to fail in oe-selftest.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This plugin will be removed starting 2.5 development in favour
of using 'bitbake-layers create-layer' script/plugin, offering a single
script to manage layers.
(From meta-yocto rev: 76dd79e345d8edb22fc7aefd31f2a1f150916718)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`git fetch --tags` seems to interact badly with `mirror=fetch`, resulting in
the regular branches not being fetched, so drop the unnecessary `--tags`. This
fixes this unit test failure: `bb.fetch2.FetchError: Fetcher failure: Unable
to resolve 'master' in upstream git repository in git ls-remote output for
/tmp/tmp4ag_mgmn/gitsource`
[YOCTO #11698]
(Bitbake rev: 2d0203fae08c5ff8dc3e9afaa9a819abc4a1af6f)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the server isn't running return 0 as to do otherwise complicates
scripts which do cleanup of bitbake servers which would potentially
be memory resident.
(Bitbake rev: 0f85c54385f325f3ebbf911b35bbac11b8863b6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This timeout path was commonly hit due to errors starting the server. Now we
have a better way to handle that, the retry logic can be improved and cleaned
up. This patch:
* Makes the timeout 5s rather than intervals of 1s with a message. Paul
noted some commands can take around 1s to run on a server which has just
been started on a loaded system.
* Allows a broke connection to exit immediately rather than retrying something
which will never work.
* Drops the Ctrl+C masking, we shouldn't need that anymore and any issues
would be better handled in other ways.
This should make things clearer and less confusing for users and is much cleaner
code too.
(Bitbake rev: 8633b7cd03cfaba3e0359aa5da22fc76b66768c7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we reconnect to the server, stop leaking pipes and clean up
after ourselves.
(Bitbake rev: f41e4e971e807157be68cf4496580494b8b60643)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if the server fails to start, the user sees no error message and
the server will be repeatedly attempted to be started until some longer
timeouts expire. There are error messages in the cookerdeamon log but
nobody thinks to look there.
Add in a pipe which can be used to tell the starting process whether the cooker
did actually start or not. If it fails to start, no further attempts can be
made and if present, the log file can be shown to the user.
[YOCTO #11834]
(Bitbake rev: 57000d44beb1aeba37dfc70782b0d6418943acc5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This cleans up the socket keep alive into better class structured code
and adds cleanup of the open file descriptors upon shutdown.
(Bitbake rev: 77fd3a3a29a569e212374b27aea742ddbaafcdd5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the monitoring thread exits with some error code or runs indefinitely. Allow
closure of the pipe its monitoring to have the thread exit cleanly/silently.
(Bitbake rev: 930d077637928213e13a07c78fee3bf7a8c37ebf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expose the underlying close() and fileno() methods which allow connection
monitoring and cleanup.
(Bitbake rev: f79187f4ebfad7969be47b429995e7f7a3e33c1e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code would duplicate messages to stdout and stderr when no UI connected
and there were error level messages.
Rework the code so it either uses stderr (for errors and above) or
stdout for warnings/debug but not both for the same messages.
(Bitbake rev: 45cff5734ba2ba8c8d36d17d722a5804d39b258b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The minimum version of tar is now 1.27. This was changed in both
the yocto-project-qs and ref-manual.
(From yocto-docs rev: b0fe513e08de860e94a3617fd62382430e321c77)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At the end of the section that describes how to set up the
development machine for CROPS, I added some user links for more
information based on the type of container the use is interested
in.
(From yocto-docs rev: 6888d8454839bbb2ecdf96ce421c7d8723931d65)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Added content for steps to set up a native Linux host for using
the Yocto Project.
(From yocto-docs rev: d8a18d382c584dbdfa7f5f190a92cc7cde0f9601)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the initramfs-framework for initialization by default due to
the modularity and expansibility.
[YOCTO #10987]
(From OE-Core rev: 28fc6ba761ed4a47efa7c43e7f7dff5e2fe72b5e)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Utilized the existing init-install-efi.sh script and renamed it to
install-efi.sh to manage the installation process of images in
initramfs-framework model. This script will be executed when
"install" option is being chosen in the grub menu and install
the image on the target platform. A new install-efi module is
being added in the recipe to handle the installation process
using initramfs-framework.
[YOCTO #10989]
(From OE-Core rev: 41b34441c22143cbabace3d794ead05801afb7a0)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
setup-live module is a new module being introduced to integrate the
functionality of init-live.sh into new scriptlet named setup-live in
order to support the live boot image. The udev-extraconf rdepends is
being added to perform automounting. It gets to run before the rootfs
and finish module.
The setup-live scriplet include the changes for:
- Create a conditional loop for the bootparam_root variable. If it is
not set, then it will boot from ROOT_IMAGE. Else, it will boot normally
which is not from removable media.
- Gives a standard path to the original boot disk mount which can be
used to. While /media/sda is a good guess, it isn't always right, nor
is it a good assumption that only one boot disk is in the system.
- The current rootfs module has no support for rootfs images, currently
it only support for rootfs partitions for wic image. Therefore, there
is a need to assign the rootfs image for live image.
[YOCTO #11701]
(From OE-Core rev: 4d3300e85a8e65207a415b9cf84c9fa1f71b0406)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The checksum for doc/LICENSE is changed, but the content only changes
year from '2013' to '2017', so the license remains the same.
(From OE-Core rev: e1d27852bf21be49db574ed207bc90d42c4bd898)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diffutils-3.5-gcc7.patch is removed as it's merged in this version.
do_configure_prepend is removed to solve the following configure error.
error: possibly undefined macro: gl_TYPE_WINT_T_PREREQ
A workaround patch is made to fix the following compilation error for glibc.
error: dereferencing pointer to incomplete type 'const struct rpl_option'
(From OE-Core rev: 0c09f9f5700696670b2a9d0466124309100eb296)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use MIRRORS to provide git repo fallbacks using the https protocol,
for cases where git native protocol fetches may fail due to local
firewall rules, etc.
These rules should cover all git native repos used by recipes within
oe-core, with the exception of mtd-utils, for which there's currently
no upstream alternative to the git native protocol for anonymous
access ( see http://git.infradead.org/mtd-utils.git ).
(From OE-Core rev: abb8895d5b42a5dc171360a261a2652acd14ee7e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #11730]
Include .kernel-meta directory in the prune list of the find to
prevent .kernel-meta directory included into installable package.
(From OE-Core rev: 3bcf227dc68f215b2d4d7b58aeea71d237ac719e)
Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Put it in goarch.bbclass which all go related recipes inherit.
(From OE-Core rev: 9e899bbc081cb932c1492f6d6802b908d70ef42f)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added e2fsprogs-native to the list of default dependencies for
wic (WKS_FILE_DEPENDS_DEFAULT) as all fs-related utilities
have to be in this list.
Thanks to Patrick Ohly for noticing this.
[YOCTO #11817]
(From OE-Core rev: b1d9f5ba5d75c6e4dae10d9d9b2c03fd3099721d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
test_mkfs_extraopts test case fails on ab with error caused
by using -K --mixed options:
output: extent-tree.c:2696: btrfs_reserve_extent: BUG_ON `ret` triggered, value -28
For this test case it's not important to use particular options,
so changing options to anything less influential is OK.
Changed extra options for mkfs.btrfs to '--quiet' to fix the failure.
(From OE-Core rev: 6a1489f8deb2b26181ca340a0f6ef62aa18a5188)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPM file signing is enabled with --with-imaevm during configuration.
If enabled, the RPM signing tool rpmsign will call libimaevm.so provided
by the recipe ima-evm-utils.
(From OE-Core rev: 9d7797e4374c111f0dff523fd49354bcc33dc2af)
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added e2fsprogs-native to the list of dependencies for wic-tools
as all fs-related utilities have to be in this list.
(From OE-Core rev: d0ebcf62109d6a131e02cd4c0f04bba203ed6579)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multi-users may run qemu on the same host, all of them should be able to
create or remove lock in lockdir, so set lockdir's mode to 0o777.
Note, os.mkdir()'s mode is default to 0o777, but the current umask value is
first masked out, so use os.chmod() to set it.
(From OE-Core rev: 4a5d21dbdc88982c2c90e660811b84983eaebeb7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error out ealier if the combos is invalid, e.g.:
$ runqemu tmp/deploy/images/qemux86/bzImage-qemux86.bin tmp/deploy/images/qemux86/core-image-minimal-qemux86.wic
This will fail at kernel panic, no we check and error out early. We can
add other checkings in the future.
[YOCTO #11286]
(From OE-Core rev: 8c6f253dfb4899324e91dd5d082190909e2bd25d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handle them as nfs, so that cmd like the following can be boot:
$ runqemu tmp/deploy/images/qemux86/core-image-minimal-qemux86.tar.bz2
[YOCTO #11286]
(From OE-Core rev: 552093d1f60ca335d95bcfc9d6070ec551ebe6c0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If qbconfload (.qemuboot.conf is found) is present, we can get
DEPLOY_DIR_IMAGE from it rather than "bitbake -e".
(From OE-Core rev: 89e97033a8a27a695567c321ed0ebf17f23f8d9b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
And move some debug info into logger.debug(), this can make it easy to
read key messages like errors or warnings.
I checked meta/lib/oeqa/ they don't depend on these messages. And I have
run "oe-selftest -a", it doesn't break anything.
[YOCTO #10474]
(From OE-Core rev: e696425e7627edada128b40304fddc84d8d56ba7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were bridging the gap between the server and UI here by calling a
bb.siggen.find_siginfo, a function defined and set on that module from
the metadata. This worked from the UI side before but since the recent
server changes is no longer accessible. Create a new command so this can
execute on the server side and return the result by way of a new event.
(We're still running compare_sigfiles() on the signature generator but
that isn't quite the same thing and does still work.)
Fixes [YOCTO #11844].
(Bitbake rev: fdcea991baa4f83d9c98d468d7b49c8c388a4a15)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A change from Ross removed the dual -dev/-dbg packages but this broke
deb/ipk rootfs constuction due to a dependency on a package which doesn't
exist (for dev-pkgs images). Remove the dependency on that package to
allow images to build.
(From OE-Core rev: 51b3ee298635b11d5784caaa0ac1c8f4034c25a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we have more than one CONVERSION_CMD being used, for example
ext4.gz.sha256sum we will see errors about "metadata is not
deterministic". This is because we do not have a stable order of
intermediate files that will be removed in the generated shell command.
We fix this by calling sorted() on the set of rm_tmp_images so that we
will have a stable hash again.
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: 98a2afeb3a53bec7a72a4a9846e1dba636cc6f3d)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add 'bitbake -m' to the sync method and ensure all process related to
bitbake are correctly unloaded before doing the different measurements.
Also add a call to sync funtion on Test4 before final measurment of
eSDK deploy dir disk usage.
(From OE-Core rev: 9210c9ce051dfffaa7afa36bb4a926cea289ffd4)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the introduction of chaining compression/conversion support we can
convert the old image_types_uboot.bbclass code that did a hand-chaining
of a set of ${filesystem}.${compression} into generic and arbitrary
support to sign whatever the user wants to sign for their image.
This, for the record, does remove setting a valid compression type in
the record in favour of just saying none. This is not a generally
useful feature in U-Boot and I believe being versatile in terms of being
able to pass in arbitrary compressions is more important.
(From OE-Core rev: 65f27122950a35a67ce39ae4cfe93d0dca6b0dab)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When chaining of compression/conversion types was added, we had a new
way to handle doing things like "ext4.bz2.sha256sum" or
"ext2.gz.u-boot". However, because the U-Boot image class isn't
included normally, it wasn't properly converted at the time. After the
support was added the "clean" argument that the .u-boot code uses no
longer functions. The fix for this inadvertently broke chaining
compression/conversion. First, correct the u-boot conversion code.
Fixes: 46bc438374de ("image.bbclass: do exact match for rootfs type")
Cc: Zhenhua Luo <zhenhua.luo@nxp.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: 0a7ce0b971a208956cb895ba5a869ec8c5d94703)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Gentoo mirror also deletes old versions when they're not used, so revert
back to the canonical SourceForge site, adding /older-releases/ to MIRRORS to
handle new releases moving the version we want.
Original idea by Maxin B. John <maxin.john@intel.com>.
(From OE-Core rev: 791a3493c88c9c249f21f6d893b2061e1d8a0af6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FTP is inferiour to HTTP is all respects, so use the HTTP URL for the tarball.
(From OE-Core rev: 6a9e38be6e9dcbeff033944f9a3a18e3838af10d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using shutil.copy2() to copy .git/index to a temporary file tries to
copy SELinux attributes which might fail for confined users in SELinux
environments.
E.g. our builders are running in docker containers and modification of
sources (inclusive updated of .git/index) is done outside. Trying to
copy .git/index fails with
| $ python3 -c 'import shutil; shutil.copy2("index", "a")'
| ...
| PermissionError: [Errno 13] Permission denied: 'a'
and an AVC like
| denied { relabelto } for pid=18043 comm="python3" name="a" dev="dm-29" ino=1067553 scontext=system_u:system_r:container_t:s0:c39,c558 tcontext=unconfined_u:object_r:build_file_t:s0 tclass=file permissive=0
is created. This can not be solved by adapting the SELinux policy because
this is a very deep constraint violation:
| constrain file { create relabelfrom relabelto } ((u1 == u2 -Fail-) or (t1 == can_change_object_identity -Fail-) ); Constraint DENIED
|
| Possible cause is the source user (system_u) and target user (unconfined_u) are different.
I do not see much sense in using 'shutil.copy2()' here; 'shutil.copyfile()'
seems to be a better choice (target file is created in a secure way by
tempfile.NamedTemporaryFile()).
By placing the tempfile into /tmp we avoid potential problems related to
git's 'core.sharedRepository'. As a (positive) side effect, the source
tree will not be modified anymore (at least by this part of code) which
prevented to mount it read-only from somewhere else.
(From OE-Core rev: 3c3c8ecc61dfed68987750d79b5482ab2f6fa02f)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic will attempt to use pseudo from the wic-tools sysroot to run, but it
was only sure to be in there if do_install had executed - which is not
the case if it had been restored from sstate, in which case it failed
horribly as seen when running the wic.Wic.test_fs_types and
test_mkfs_extraopts tests on the Yocto Project autobuilder recently. Add
an explicit dependency on pseudo-native to ensure it's always there.
(From OE-Core rev: ada7408a55ec58e4aa1b094462f8a681e60be613)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tested the quickstart guide on Fedora 26 and confirmed that it
can build a core-image-sato and run the image via runqemu.
(From meta-yocto rev: 4e719fb77d035123d0e2ff84d10cb68c7cc8eccd)
Signed-off-by: Benjamin Esquivel <code@esquibits.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When wget is fetching a listing for a directory over FTP it writes to a
temporary file called .listing in the current directory. If there are many such
operations happening in parallel - for example during 'bitbake world -c
checkpkg' - then up to BB_NUMBER_THREADS instances of wget will be racing to
write to, read, and delete the same file.
This results in various failures such as the file disappearing before wget has
processed it or the file changing contents, which causes checkpkg to randomly
fail.
Mitigate the race condition by creating a temporary directory to run wget in
when doing directory listings.
[ YOCTO #11828 ]
(Bitbake rev: 91d4ca93df092cf86ab84faaa94cc66ff9f43057)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The warning message currently shown can occur more frequently than previously
if a previous bitbake server is shutting down and we're reconnecting to a new
server. Change it to a note message to match the higher level connection
logging retry messages and so as not to interfer with selftests.
(Bitbake rev: b7514340cd6a2753eb217b059229bb279c3849ec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that there is only one server, this abstraction is no longer needed
and causes indrection/confusion. The server shutdown is also broken with
the cooker post_server calls happening too late, leading to "lock held"
warnings in the logs if PRServ is enabled.
Remove the abstraction and put the shutdown calls in the right order
with respect to the locking.
(Bitbake rev: c0ddde7cf680225127d6285685652b905ed176c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The server shutdown is currenlty laggy and race prone. This patch:
* adds a waitpid so that no zombie server is left around if its not
running in daemon mode.
* adds a quit "sentinal" using a pipe so that we're not sitting in
a socket poll() until timeout in order just to quit.
* use a select() call to poll the socket and the pipe for a quit signal.
The net result of this change is that the prserv exits with the cooker server
and it does so immediately and doesn't wait for the select/poll calls to
timeout. This makes bitbake a lot more responsive for startup/shutdown and
doesn't cause UI timeout errors as often when prserv is used.
(Bitbake rev: 0b5a837477d18442caf97dd0fa14a806c54f5842)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch removes the machine specific overrides in poky.conf for all
the qemu machines. With this patch, if you set
PREFERRED_VERSION_linux-yocto="X%" then all the qemu machines as well as
the sample hardware boards will use that version. Without this patch,
the hardware boards would have used version X but the qemu machines
would have needed to have a PREFERRED_VERSION_linux-yocto_qemuarm="X%"
for qemuarm to use that version, for example. If we need to force a
specific machine (hardware or qemu) to a particular default version we
should add it to the machine conf files for that machine, not in the
distro conf.
(From meta-yocto rev: 6b194a137dcedcae7e4b03f9ebed822d44f53fe2)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The genericx86 and genericx86-64 machine confs do not need to set the
PREFERRED_PROVIDER_virtual/kernel as they will use the one set by the
distribution. If there needed to be a different version for one of these
machines in the future, we could add it in to the machine.conf.
(From meta-yocto rev: 89dd8159fc83f54d7fe234b619a28f5d97519156)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The distro should set a default kernel type (?=) which could be
overriden by local.conf (=) or extensions (templates). The kernel itself
should only use "??=" to provide a value which allows builds to succeed.
(From OE-Core rev: d3a41fbd94462efc8c6f1b55f6fb54001b447c45)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PV is the recipe major version number. cve-check tries to map that to
NVD database release versions of the component. If the recipe sources
are taken from git, the PV can be automatically modified to include
git details, but the syntax is like 233+gitAUTOINC+a1e2ef7ec9.
In CVE checks we want to remove the git details and just use the major
version information, in this example 233.
Thus use "+git" as the separator and use the first part before the separator
as SW product version number in CVE check.
Fixes version number for e.g. systemd recipe. If systemd PV is
233+gitAUTOINC+a1e2ef7ec9 there will be no matches from CVE database where
latest release mentioned is plain 233. If the filter is set to +git, then
CVE PV is 233 and issues like this are detected by do_cve_check:
https://nvd.nist.gov/vuln/detail/CVE-2017-1000082
(From OE-Core rev: db8815abe3db60b0510fb378bf6d82172c2f2768)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, we had a gst-python recipe, but it supported only GStreamer
0.1. After GStreamer switched the Python bindings to use GObject
introspection, we were no longer able to build the bindings, and they
were dropped in this patch:
https://patchwork.openembedded.org/patch/93793/
However, at this point, we have a gobject-introspection class, so we can
use the bindings again, this time with GStreamer 1.0.
(From OE-Core rev: 6650bd1b9c770b01525356f9a1fabd758360ee8f)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
in config.log we can see:
WARNING: aarch64-linaro-linux-pkg-config not found, library detection may fail.
ffmpeg configure script is not looking for pkg-config at the rigt place since it
is assuming cross compilation. let's force its value in the recipe.
This patches 'fixes' library detection, so it also adds:
--disable-libxcb
--disable-libxcb-shm
--disable-libxcb-xfixes
--disable-libxcb-shape
Which were dangling configure options, which started to be enabled after the
pkg-config fix, so they need now to be explicitely disabled. Follow up patch
will enable these options when DISTRO_FEATURES has x11.
(From OE-Core rev: 3d5f11f0a1fd036e28a1d3f0c3169d8e21cc1358)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The image consists only of the EFI system partition, therefore
we can avoid depending on the default wic tools.
(From OE-Core rev: f147b2502ae53d63a884a46e994ae18e12ec4ef6)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling sdl2 will bring ffplay applications, which can be handy when working
with ffmpeg.
(From OE-Core rev: 5c880eb08ec29e169b9f6b7d6f2e0598a0395d30)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This way also bbclasses can override it. For example kernel.bbclass
could set CVE_PRODUCT to linux_kernel for all users of the class
which compile Linux kernels.
(From OE-Core rev: 74672a7de5ada45ab8e25b89cbdea3ec33b63b7f)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is called eglinfo no matter how the recipes are named.
There are no existing CVE's for eglinfo in NVD yet.
(From OE-Core rev: 0b8e2a017e117810c83039a316a11da66fe148b1)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add dhclient.service. This service file mainly comes from meta-systemd,
with modifications to take nfs boot into consideration.
While using eth0 as the nfsboot interface, we'd like dhclient service
to skip it like what ifup and connman do in sysvinit.
(From OE-Core rev: faa8d0f5e8db4a99367d42ba8c8de5b2e339d8d2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-setuptools and python3-setuptools need to be
upgraded to latest upstream version.
license checksum is now targeted to be performed over the actual
license text at license file.
These changes were tested using qemux86 with core-image-minimal.
(From OE-Core rev: 6ad635a33b5a49fa51165b6ac7606b27438f5d96)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We get linking errors on some hosts like
| ld -static --warn-multiple-gp --warn-common -T linux-i386/convert.lds -o objdir/linux-i386/convert ob
jdir/linux-i386/head.o objdir/linux-i386/convert_params.o
| objdir/linux-i386/convert_params.o: In function `printf':
| convert_params.c:(.text+0x1fd): undefined reference to `__stack_chk_fail_local'
This is because the build system is defaulting to host linker when building
32bit binaries and it may not have same defaults as OE toolchain and issue
gets highlighted.
fix it by using cross linker for 32bit links when building on x86_64
(From OE-Core rev: 470c8a0fb5f51a626a194c8fd3aabd448b50ebfa)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to a bug in calculating adresses of modified program
headers patchelf breaks executables linked by Gold linker
causing them to segfault, e.g.
$ tmp/sysroots-components/x86_64/m4-native/usr/bin/m4 --help
Segmentation fault
This is reproducible only in some cases and only for executables
of ET_DYN type produced by Gold or by ld linked with pie.
This should be solved by fix-adjusting-startPage.patch that
fixes calculation logic.
[YOCTO #11785]
(From OE-Core rev: 4e4c96db4b1d2356b5d071cee6746a96eca20439)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch has been accepted upstream.
Changed patch status Pending -> Accepted.
(From OE-Core rev: 4e9b1e9798e7b12664d4afc611e430a988b6b1ca)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I took the section that described how to use a pre-built kernel
and run it through QEMU out. This is basically a QEMU usage
section and is not in that area. There were some QEMU speed
up items suitable for the QEMU concepts section in the ref-manual.
I put those in that area.
(From yocto-docs rev: b081013aa10b42e4eb88ed54940112c5ae106911)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I converted the QEMU section to a procedure. Also took the
tips section and created individual sections from that.
Cleaned up some areas in the QEMU conceptual section in the
ref-manual
(From yocto-docs rev: dfd3466be605fdd7438653bf54fd0df3594a5c50)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The dev-manual had a section on QEMU that combined a lot of
reference information and usage information. I took the reference
information out and moved it to the ref-manual into a new section
in the second chapter, "Using YP".
(From yocto-docs rev: 188596c576e357925383d0cc3bd2b0cdf41926ec)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section needed to be a step-by-step procedure.
(From yocto-docs rev: de4868c97c1199b39b3c3e68b4ff159f6546cd9e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section "Locating Pre-Built SDK Installers" was turned into
a procedure. I also added some information on the actual names
of the *.sh files.
(From yocto-docs rev: 548886d5a392164783596c0c04779aaffd6ac930)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-git needs to be upgraded to latest upstream version.
"git" is added as RDEPENDS.
These changes were tested using qemux86 with core-image-minimal.
(From OE-Core rev: 0b48514d1d26d234c158a4b72087a67d2478362a)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-mako need to be upgraded to latest upstream version.
This change was tested using qemux86 with core-image-minimal
(From OE-Core rev: 1a2bb950b38035b842d120697d076cfdc832fa37)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3.19.2 -> 3.19.3
Fixes a bug associated with auto_vacuum that can lead to database
corruption.
(From OE-Core rev: 2635067901c932888a998ea0fbb45f5d4d3c7c24)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unzip is required for jar files. Without this patch:
ERROR: junit4-4.3.1-r0 do_unpack: Unpack failure for URL:
'http://downloads.sourceforge.net/junit/junit-4.3.1-src.jar'. Unpack
command
PATH="/var/lib/jenkins/workspace/qt5122-dyspro/build/tmp/sysroots-uninative/x86_64-linux/usr/bin ......."
unzip -q -o '/var/lib/yocto/downloads/junit-4.3.1-src.jar' failed with
return value 127
Suggested-by: Ross Burton <ross.burton@intel.com>
(From OE-Core rev: 96665f8b204b0f0ba571bb6634203aada5983f8a)
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a stable bugfix release. Following upstream bugs were fixed:
Bug 100242 - radeon buffer allocation failure during startup of Factorio
Bug 101657 - strtod.c:32:10: fatal error: xlocale.h: No such file or directory
Bug 101666 - bitfieldExtract is marked as a built-in function on OpenGL ES 3.0, but was added in OpenGL ES 3.1
Bug 101703 - No stencil buffer allocated when requested by GLUT
Also, the following patches were included in this release and as such
deleted:
- etnaviv_fix-shader-miscompilation.patch
(From OE-Core rev: 6e23b9589cd2e35d865f5d5e3469ad251c263af1)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the kernel's menuconfig target is called while using the esdk or an
esdk-based container, the pkg-config info that is found is not correct.
The pkg-config info is for the target, but we need the eSDK's information
in order to build the host based menuconfig.
The new pkg-config-esdk script checks both that it's in SDK and being
called from the check-lxdialog script in order to limit the scope of when
the pkg-config automagically switches to pkg-config-native.
The pkg-config-esdk is only installed as pkg-config inside the eSDK, which
is why we use the sstate post install script and check for if we are in the
esdk environment using the WITHIN_EXT_SDK
[YOCTO #11155]
(From OE-Core rev: 0954452d151613fa758fbde8ee9469b30d80776b)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows for other scripts to know that they are being executed in
the context of the eSDK in order to provide different behaviour as
needed.
[YOCTO #11155]
(From OE-Core rev: ebdd9b5a19eb6fb6c3249be4f0e2480a3de2aa8f)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* without this we cause nativesdk-linux-libc-headers to depend
on target specific KERNEL_CC (through icecc_get_tool ->
icecc_is_kernel -> KERNEL_CC -> HOST_CC_KERNEL_ARCH ->
TARGET_CC_KERNEL_ARCH -> TUNE_FEATURES(thumb) as shown by
bitbake-diffsigs:
OE qemux86@ ~/build/oe-core $ ls /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemuarm/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.3a9a423878d56524e0ee8e42eba1804f
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemux86/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.401071dbaa88903ece37d35a47965ff2
OE qemux86@ ~/build/oe-core $ bitbake-diffsigs /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
basehash changed from 39774238b66763c598153132e87a2c1a to aa2d66e770bf533e312536eb0a401c4c
Variable TARGET_CC_KERNEL_ARCH value changed from '${@bb.utils.contains('TUNE_FEATURES', 'thumb', '-mno-thumb-interwork-marm', '', d)} TUNE_FEATURES{thumb} = Set' to ''
(From OE-Core rev: aef5d6052a60f506e842110381a221aed042e054)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CDDL license is now used by open-vm-tools in meta-openembedded, so
we need to add it in order to prevent warnings.
(From OE-Core rev: 0dd9db29e56c75181219bb0dbac88a91989b702b)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bootmisc.sh is responsible for setting the system date to a sane
default. Currently, it is the last script to be run from the rcS
runlevel.
Problem is that the files created before appear to have been created
on 1/1/1970. Most notably, /var/log/dmesg created in dmesg.sh cannot be
properly rotated with logrotate which does not consider it a valid date
and stops processing.
There is no blocker on moving this script right before populating
volatiles because it just requires the local and virtual filesystems to
be mounted to work.
(From OE-Core rev: a0f6508847a28a78cb0a1e9613b6e5cc3047d995)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, this recipe only supports daily scheduling via a cron job.
This commit adds support for systemd in the recipe, as the feature is
already supported on upstream. When the corresponding distro feature is
enabled the systemd variant will be used. The timer granularity and its
accuracy are also configurable.
(From OE-Core rev: b942d0b17cb6622b653283109307346dcfb4f205)
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit updates the recipe to the last upstream tag. Then, as the
tarball no longer contains the pre-generated Makefile, inherit from
autotools
(From OE-Core rev: 72490b7a327867872987e63d340051c4980044b2)
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we have provide an option to manually enable PREMIRRORS and MIRRORS
in recipetool, we need to make sure devtool is having the same options
as devtool uses recipetool in creating new recipes.
(From OE-Core rev: 198bddeb928a318c3ad168bcb4f83b5cd9a604fb)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool find-recipe will prints out the path to the recipe
in a workspace.
This subcommand can also help to find recipe outside of
current workspace using "-a" or "--any-recipe" option.
This enhancement helps developer to get the recipe path
when working with devtool.
[YOCTO #11434]
(From OE-Core rev: 5a16b3c804c5eca331a1c08a7ce31a54909af105)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
logger was not defined in scriptutils.py based on the
observation in python traceback.
Traceback (most recent call last):
File "/workdir/poky/scripts/devtool", line 351, in <module>
ret = main()
File "/workdir/poky/scripts/devtool", line 338, in main
ret = args.func(args, config, basepath, workspace)
File "/workdir/poky/scripts/lib/devtool/utilcmds.py", line 55, in
edit_recipe
return scriptutils.run_editor(find_recipe(args, config, basepath,
workspace))
File "/workdir/poky/scripts/lib/scriptutils.py", line 141, in
run_editor
logger.error("Execution of '%s' failed: %s" % (editor, exc))
NameError: name 'logger' is not defined
We pass in logger as parameter to run_editor() from where it has
been called (devtool/utilcmds.py and recipetool/newappend.py),
which both modules already has logger setup.
(From OE-Core rev: 21f04b61973dd9029f0e6bff5445e31cd762bf32)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool edit-recipe now has ugly tracebacks if executed without an
editor available. This happens in the build containers whenever no
text editor is available.
subprocess.check_call will run text editing command with recipe path
provided. It will wait for command to complete. If the return code
was zero then return, otherwise raise CalledProcessError exception.
This enhancement will suppress the traceback by catching the exception
and prompt the error messages in a proper manner shown below:
pokyuser@59c99c507238:/workdir/docker-dbg$ devtool edit-recipe ifupdown
/bin/sh: 1: vi: not found
ERROR: Execution of 'vi' failed: Command 'vi
"/workdir/docker-dbg/workspace/recipes/ifupdown/ifupdown_0.8.16.bb"'
returned non-zero exit status 127
[YOCTO #11434]
(From OE-Core rev: c536ccfd162fc8871838fa229012c562e3f8e0d9)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Append " -fno-tree-switch-conversion -fno-tree-tail-merge" to
FULL_OPTIMIZATION to workaround login problem on qemumips64. Otherwise,
user cannot login onto the target even username and password are
provided.
(From OE-Core rev: 35403ba3707c3c8dd94bcc557eef6f7c66696bc5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
png_mak.patch was created for ghostscript 9.16 and causes make circular
dependency now. Check source code base/png.mak after apply png_mak.patch:
Line 77: $(MAKEDIRS) : $(pnglibconf_h)
Line 83: $(pnglibconf_h) : $(PNGSRC)scripts$(D)pnglibconf.h.prebuilt $(TOP_MAKEFILES) $(MAKEDIRS)
So remove png_mak.patch.
(From OE-Core rev: 8a5890cc0b0a6c110edb36aec3614c3ebeb54e24)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkelfImage was failing trying to use initrd from ${DEPLOY_DIR_IMAGE}:
DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_elf
| Cannot open `tmp/deploy/images/qemux86/core-image-minimal-qemux86.cpio.gz':
No such file or directory
As the images have only one deploy point it's not possible to reference
something the images themselves are deploying. They need to reference it
in the "pre-sstate" directory ${IMGDEPLOYDIR}, not the post sstate one
${DEPLOY_DIR_IMAGE}.
Fixed by using ${IMGDEPLOYDIR} instead of ${DEPLOY_DIR_IMAGE} in
mkelfImage command line.
[YOCTO #11767]
(From OE-Core rev: 13d675b0f8968bcfdf36035fd959be285e3da378)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
remove_initd and remove_initd will be created as the symbolic file
of chkconfig, which will be not existed when systemd is configured,
so adding the check for the existence of chkconfig before creating
the symbolic.
(From OE-Core rev: 0417cc64516c47fb4daddc80e41e3f9c6ab927fc)
Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Total number of partitions should be taken into account when calculating
real partition number for msdos partition table. The number can be
different for the 4th partition: it can be 4 if there are 4 partitions in
the table and 5 if there are more than 4 partitions in the table. In the
latter case number 4 is occupied by extended partition.
[YOCTO #11790]
(From OE-Core rev: 5689139b3cd862e2df49f6b21171f513e8a46c60)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When py3 applications are exiting we often see errors similar to the
following:
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fcb56b09400>
Traceback (most recent call last):
File "/usr/lib64/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
After a quick search this was found to be a well reported issue
upstream and had an appropriate fix which is backported here.
(From OE-Core rev: 8aaf09a916a2f66f1a6a79cbddf45390ecefde4f)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in oe-core requires gnome-common and it is also deprecated
upstream: Remove it.
(From OE-Core rev: 14b41d6ad6f582a229b6bd62fc4eb17f615d1ad7)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the status of following patch from Pending to Accepted:
a) 0001-hciattach-bcm43xx-fix-the-delay-timer-for-firmware-d.patch
(From OE-Core rev: f9ccac5dd359e9b874a39cd879ea23c841085eab)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the sstate is accessed via HTTP, the existence check can fail due
to network issues, in which case bitbake silently continues without
sstate.
One such network issue is an HTTP server like Python's own SimpleHTTP
which closes the TCP connection despite an explicit "Keep-Alive" in
the HTTP request header. The server does that without a "close" in the
HTTP response header, so the socket remains in the connection cache,
leading to "urlopen failed: <urlopen error [Errno 9] Bad file
descriptor>" (only visible in "bitbake -D -D" output) when trying to
use the cached connection again.
The connection might also get closed for other reasons (proxy,
timeouts, etc.), so this is something that the client should be able
to handle.
This is achieved by checking for the error, removing the bad
connection, and letting the check_status() method try again with a new
connection. It is necessary to let the second attempt fail
permanently, because bad proxy setups have been observed to also lead
to such broken connections. In that case, we need to abort for real
after trying twice, otherwise a build would just hang forever.
[YOCTO #11782]
(Bitbake rev: 6fa07752bbd3ac345cd8617da49a70e0b2dd565f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trim the entered built target value so that Toaster is not
confused with no real targets nor a ghost second target.
[YOCTO #11727]
(Bitbake rev: dd83c732b945ba6f9b7cdf66f6e88cfd15a745a0)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set the clone progress to be off by default for the benefit of
command line projects and 'Local Yocto' builds. For Toaster managed
projects that do use the clone feature the clone progress status
is already explicitly set by the existing code and thus displayed.
[YOCTO #11744]
(Bitbake rev: d25a3088150b2a277242027c12becdeb88c45517)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the task progress counting from the task order field
which excludes setscene to the task completion field which
counts all completed tasks regardless of type.
[YOCTO #9971]
(Bitbake rev: 485b328430dcdfd0b52f09f01ebd490d09459ea3)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes only expect positive values from cmdline so it's better
to filter at parsing cmdline step instead of validate later.
(From OE-Core rev: 3ef5b518febd047bf90a0955fa2b9fb78ba6dde5)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The BBPATH environment could be set and can make a failure when try
to build an extensible sdk because it will look the bitbake.lock
file in the original build folder.
Example:
$ export BBPATH=`pwd`
$ bitbake core-image-minimal -c populate_sdk_ext
ERROR: bitbake failed:
ERROR: Only one copy of bitbake should be run against a build directory
ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Function failed:
copy_buildsystem
(From OE-Core rev: 33634b4c38d84e1c5d06056766933f1fe4f47e8d)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to avoid corrupt local.conf and bblayers.conf adds
signal handler for SIGTERM and use try/finally (KeyboardIntrrupt) block
to restore previously backuped configuration.
[YOCTO #11650]
(From OE-Core rev: 9419c81e69d2facc82e39c846466670c09e6b444)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since config paths are now passed in Test context the setUpClass
method is expected to be call.
(From OE-Core rev: 7281c995ff2b009c3fb23c7af1d91fe106ca8f87)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python versions has different features from branches 3.4.x, 3.5.x and
3.6.x, i expected in wrong mode that was incremental for example changes
in 3.4.4 be in 3.5.x but that's not true.
The _make_failed_test internal method differs and is only available in
certain versions >= 3.4.4 and in 3.5.x and 3.6.x branches but not
realeses have been made including it.
So to avoid futher problems inspect the _make_failed_test and generates
function definition according what parameters are needed, the unique
supossition is that exception argument is always passed.
Related to,
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d8380d098a290510b442a7abd2dd5a50cabf5844
(From OE-Core rev: b4740d2b325a80bcecc5e56dff9add9081fcd31b)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cleanup can fail with:
ERROR [0.000s]: tearDownClass (eSDK.oeSDKExtSelfTest)
FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.sock'
which is due to bitbake taking a small amount of time to shut down the server.
The easiest fix is just to ignore these kinds of errors, bitbake shouldn't create
any new files during shutdown.
(From OE-Core rev: 68009f4eb323e07cec8c4421d546bd3125dec033)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids test failures like:
======================================================================
ERROR [0.946s]: test_recipetool_load_plugin (recipetool.RecipetoolTests)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
File "/media/build1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
return func(*args, **kwargs)
File "/media/build1/poky/meta/lib/oeqa/selftest/cases/recipetool.py", line 514, in test_recipetool_load_plugin
with open(srcfile) as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'NOTE: Starting bitbake server...\n/media/build1/poky/meta-selftest/lib/recipetool/bbpath.py'
INFO - ----------------------------------------------------------------------
which comes from:
$ recipetool --quiet pluginfile
NOTE: Starting bitbake server...
/media/build1/poky/meta-selftest/lib/recipetool/bbpath.py
since there is corruption in the output despite the --quiet option. Setting
the logging up before calling tinfoil.prepare() resolves this.
(From OE-Core rev: e124eb73e6a66abbf43dffd82b834e906163614b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids test failures like:
INFO - ======================================================================
INFO - FAIL [1.755s]: test_devtool_layer_plugins (devtool.DevtoolTests)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
File "/media/build1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
return func(*args, **kwargs)
File "/media/build1/poky/meta/lib/oeqa/selftest/cases/devtool.py", line 1354, in test_devtool_layer_plugins
self.assertEqual(result.output, s[::-1])
AssertionError: "NOTE: Starting bitbake server...\noY senu[36 chars]rciM" != "oY senuZ s'enoynA morF tiforP oN edaM tfosorciM"
- NOTE: Starting bitbake server...
oY senuZ s'enoynA morF tiforP oN edaM tfosorciM
INFO - ----------------------------------------------------------------------
since there is corruption in the output. Setting the logging up before
calling tinfoil.prepare() resolves this.
(From OE-Core rev: 3c479fb17ae4d3e7e5f0889af0f68257ef66475c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids test failures like:
INFO - ======================================================================
INFO - FAIL [1.046s]: test_find_path (pkgdata.OePkgdataUtilTests)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
File "/media/build1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
return func(*args, **kwargs)
File "/media/build1/poky/meta/lib/oeqa/selftest/cases/pkgdata.py", line 50, in test_find_path
self.assertEqual(result.output, 'zlib: /lib/libz.so.1')
AssertionError: 'NOTE: Starting bitbake server...\nzlib: /lib/libz.so.1' != 'zlib: /lib/libz.so.1'
- NOTE: Starting bitbake server...
zlib: /lib/libz.so.1
INFO - ----------------------------------------------------------------------
since there is corruption in the output. Setting the logging up before
calling tinfoil.prepare() resolves this.
(From OE-Core rev: 39c1bf1feccc8dca57160a1e3cd8a50e8c30ef02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Across devtool and recipetool we had an ugly set of code for ensuring
that we can call an npm binary, and much of that ugliness was a result
of not being able to run build tasks when tinfoil was active - if
recipetool found that npm was required and we didn't know beforehand
(e.g. we're fetching from a plain git repository as opposed to an npm://
URL where it's obvious) then it had to exit and return a special result
code, so that devtool knew it needed to build nodejs-native and then
call recipetool again. Now that we are using real build tasks to fetch
and unpack, we can drop most of this and move the code to the one place
where it's still needed (i.e. create_npm where we potentially have to
deal with node.js code in a plain source repository).
(From OE-Core rev: 8450de16ddb02d863204b411a94c6d84e0f88817)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're unpacking any rpm (not just .src.rpm) then we'll need to call
rpm2cpio.sh. As of OE-Core rev a7da1aade118d1ccf1b286f82556cd9f706bd2a4
that script no longer uses file-native, but there is a chance that the
rpm file will be compressed internally using xz (for example, rpms from
Fedora) and therefore the script will need xzcat provided xz-native.
(From OE-Core rev: 2f31f1795bc0c85b1646bc7d9596bbe778cb84e5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have the ability to run the tasks in a more standard context
through tinfoil, change recipetool's fetching code to use that to fetch
files using it. This has the major advantage that any dependencies of
do_fetch and do_unpack (e.g. for subversion or npm) will be handled
automatically. This also has the beneficial side-effect of fixing a
recent regression that prevented this fetch operation from working with
memory resident bitbake.
Also fix devtool's usage of fetch_uri() at the same time so that we can
completely replace it.
Fixes [YOCTO #11710].
(From OE-Core rev: 9a47a6690052ef943c0d4760630ee630fb012153)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When dealing with package files (.rpm, .ipk etc.) we need to unpack them
ourselves to get the metadata, which is thrown away when the fetcher
unpacks them. However, since we've already fetched the file once, I'm
not sure as to why I thought I needed to fetch it again - we can just
get the local path and then unpack it directly.
(From OE-Core rev: be45e9b17e9dbc8c2594d3a939be377ab0720a7c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you pointed recipetool at a URL that should be a tarball e.g.
https://tls.mbed.org/download/start/mbedtls-2.4.2-apache.tgz but instead
it returns an HTML page, we try to unpack it, gzip complains but the
operation doesn't seem to fail - instead we just get back an empty
source tree. Change the checks to account for this - if the source tree
is empty, check if the downloaded file in DL_DIR looks like an HTML file
and error accordingly if it is. If it's not, error out anyway because
no source was unpacked and it should have been (otherwise we just
blindly set up EXTERNALSRC for this which is pointless).
Fixes an aspect of [YOCTO #11407].
(From OE-Core rev: 8496113b63d5a5d1f99056610c0fdb972a6200d4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When extracting linux-yocto kernel source, we don't need to dance around
shutting down and starting up tinfoil anymore, we can just execute the
tasks as needed when needed using tinfoil's new build_targets()
function. This allows us to tidy up the code structure a bit.
(From OE-Core rev: 5c7f5031023fb74b5f2f26d6b3c829981f2f54d2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These messages were added for debugging during the recipe specific
sysroot work. They may still be useful but they don't need to be notes -
if they are they show up in recipetool / devtool output when fetching
source.
(From OE-Core rev: a0e93d5c5dcf59d1898a3db727a5ab2d75e3d20e)
(From OE-Core rev: bc1a4af950a2600028d89b7dcb4ff8f409b52739)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the new server structure we no longer need this separate
environment init script. Just set BB_SERVER_TIMEOUT to be greater
than zero and bitbake will remain in memory and the UI will auto-reconnect
to it.
Also clean out the old shutdown code from oe-init-build-env which
also doesn't make sense now.
(From OE-Core rev: a17724d687f9c04dc21f2f369da2b492f7119ba0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If BB_STRICT_CHECKSUMS is set to anything other than "1" i.e. we're not
going to raise an error, then fire an event so that scripts can listen
for it and get the checksums.
(Bitbake rev: 8b2ccb4b865f2df118ef668847df682a83f9c500)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If BB_STRICT_CHECKSUMS is set to "ignore" then don't display a warning
if no checksums are specified in the recipe. This is not intended to be
used from recipes - it is needed when we move to using more standard
code paths to fetch new files from scripts i.e. where we don't know what
the checksums are in advance.
(Bitbake rev: f15ca7339de8a448a93a14cf6130b3925178a920)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want this API to be easier to use, so add missing function
documentation to help with that.
(Bitbake rev: 3e0e002d6497caa987f327cd83ad4db82cca6810)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A common task for tinfoil-using scripts is to iterate over all recipes.
This isn't too difficult with the current API, but the pkg_* variables
are a little awkward and are really designed for bitbake's internal
usage - and it gets a bit more difficult when you want to access some of
the other information such as packages and rprovides. To resolve this,
create a new recipe info class and add an all_recipes() function to
generate this for all recipes. Also add a get_recipe_info() function to
get the information for a specific recipe (by PN).
(It might perhaps be suggested that we already have a structure similar
to this in the cache, however the one we add here is designed for
external use and allows the internal structures to change if needed
without affecting the API).
(Bitbake rev: 308994028e59735ca726c5d2c1f0f85baccfe89d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add access to fn_provides, packages, packages_dynamic and rproviders on
the recipecache object. This requires an additional corresponding
command plumbing to be added.
(Bitbake rev: 3df9b7c615174a6557581f3cd157842a28f6bb26)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Up to this point, if you wanted to run build tasks in the normal way
they get run from a python script, there was no other way than to shell
out to bitbake. Worse than that, you couldn't have tinfoil active during
that because only one bitbake instance could be running at once. As long
as we're prepared to handle the events produced, we can create a wrapper
around calling the buildTargets command. Borrow code from knotty to do
this in such a way that we get the expected running task display
(courtesy of TermFilter) and Ctrl+C handling.
(Bitbake rev: 43761eee756be52a1021be53a40dc591a6c35fa7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This isn't useful for knotty itself, but for use from tinfoil
in case we can't get access to either the console or errconsole, allow
either to be unspecified (None).
(Bitbake rev: 7544de437fc66b81502ecdb5db859182c45827cb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is useful for the caller to know whether the uihelper has handled the
event passed so that it can skip other event handling code if so.
(Bitbake rev: be498abfbbb19bdd31e5b53713a74049007e3737)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We really ought to have just one place where the string representation
of these events is produced. This doesn't take any real control away
from the UI - if an alternative representation is desired, that can
still be made.
(Bitbake rev: cb15db2a799be6d8eab9a2a43a9a573f89229cff)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make it easy to determine if recipes are parsed (and thus information
about available recipes is in memory).
(Bitbake rev: 7efde2df2ff25063d36ac015146f1975284a69ff)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python style recommends underscore based naming rather than camelCase,
and thus the former has been used for most of tinfoil's functions. Add
an underscored version of parseRecipes() for consistency and change the
one place we call it to use the new version.
(Bitbake rev: 821f6c41d850752d2bcc2ccd4f8e75b2897a0a3e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In OE's devtool we want to repeatedly run build_file() without showing
unnecessary messages and triggering buildhistory for each call.
build_file() is just a wrapper around the buildFile command. Change
the final "hidewarning" parameter of the buildFile command to "internal"
and have this call a new buildFileInternal() function without triggering
any of the normal build events, silencing the normal info messages from
the runqueue ("Executing RunQueue Tasks", "Tasks Summary" etc.) and
avoiding calling parseConfiguration() which we've already done at this
point.
(Bitbake rev: ba53e067a2d448dd63b4ca252557ce98aa8e6321)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ bitbake --observe-only
FATAL: '--observe-only' can only be used by UI clients connecting to a server.
And even:
$bitbake --observe-only -B localhost:-1
FATAL: '--observe-only' can only be used by UI clients connecting to a server.
This was beucase the brackets were in a wrong position.
(Bitbake rev: 4ffc91a2b3eb13e98078e6b1913f056a0c1797bc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed 1:
$ . ../poky/oe-init-build-env-memres .
$ bitbake -m
$ bitbake -m # shutdown it again
$ bitbake -m
Starting bitbake server...
Terminated bitbake server.
It starts the server and kill it which is redundant.
$ bitbake -m
$ bitbake --status-only
Starting bitbake server...
It starts the server which is not what we need.
(Bitbake rev: 335fd0106359dddfe1eeb0c7d0bc03f8454b895c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ bitbake --server-only -B localhost:-1
Infinite loop
Reconnecting to bitbake server...
[snip]
Break the loop when server-only can fix the problem.
(Bitbake rev: c4d5c3dab5b35f3c6713efad1c8a23229ce4e56b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no global var "configuration", so the old code hang at
self.bitbake_lock.write(), and nothing wrote to bitbake.lock. I didn't
figure out why it hang (but not print errors).
Reproducer:
$ bitbake -B localhost:-1 world -k
Check bitbake.log, there was nothing, now fixed.
(Bitbake rev: dbdd9010663cd8dcb328e1b6fb40e3a777293bc5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the way bitbake server works quite radically. Now, the
server is always a process based server with the option of starting
an XMLRPC listener on a specific inferface/port.
Behind the scenes this is done with a "bitbake.sock" file alongside
the bitbake.lock file. If we can obtain the lock, we know we need
to start a server. The server always listens on the socket and UIs
can then connect to this. UIs connect by sending a set of three file
descriptors over the domain socket, one for sending commands, one for
receiving command results and the other for receiving events.
These changes meant we can throw away all the horrid server abstraction
code, the plugable transport option to bitbake and the code becomes
much more readable and debuggable. It also likely removes a ton of
ways you could hang the UI/cooker in weird ways due to all the race
conditions that existed with previous processes.
Changes:
* The foreground option for bitbake-server was dropped. Just tail
the log if you really want this, the codepaths were complicated enough
without adding one for this.
* BBSERVER="autodetect" was dropped. The server will autostart and
autoconnect in process mode. You have to specify an xmlrpc server
address since that can't be autodetected. I can't see a use case
for autodetect now.
* The transport/servetype option to bitbake was dropped.
* A BB_SERVER_TIMEOUT variable is added which allows the server
to stay resident for a period of time after the last client
disconnects before unloading. This is used if the -T/--idle-timeout
option is not passed to bitbake.
This change is invasive and may well introduce new issues however I
believe the codebase is in a much better position for further
development and debugging.
(Bitbake rev: 72a3dbe13a23588e24c0baca6d58c35cdeba3f63)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if this code is used with something like oeqa's xml logging
it fails as sys.stdout is an io stream. Add in try/except to handle
this case.
Add a waitpid() call to remove a zombie whilst forking.
Also, append to the logfile, don't overwrite it (otherwise
debugging can be a real pain when the server is restarting for
unknown reasons).
(Bitbake rev: 4e780fa19fc720948cf73133f56f7d837ad9283a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Finding the top level build directory is currently hard and relies on
having a complete cooker being setup. Add a helper function which
does the same thing without all the extra overhead. This is needed
to be able to locate the bitbake lockfile and hence the socket
for connecting clients in the new server model.
(Bitbake rev: d196afe68032898c31a8599ca7d3ceba58d96b0a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In preparation for rewriting this code, expand the relatively useless
base classes into the code itself.
(Bitbake rev: a1c6151420d86bac658c08ae714647062edd6ef2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The UI may want to change its event mask however to do this, it needs the
event handler's ID. Tweak the code to allow this to be stored and add
a command to query it.
Use the new command in the process server backend.
(Bitbake rev: f8cf2cb58b80ce74f756a11a9773b6b0e78d51ee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.1, 4,4 and 4.9.
(From meta-yocto rev: 41128b3640e5733e62cb633f7a3ce704dff6a4f2)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a unit has a statement such as User=0day where the username exists but is
strictly speaking invalid, the unit will be started as the root user instead.
Backport a patch from upstream to mitigate this by refusing to start units such
as this.
(From OE-Core rev: 549cb941c5b19909fb00f2bef9c04172ca1c162d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix one incorrect indentation and several lines with trailing spaces.
(Bitbake rev: 4dbf4f1907a32f303c2e9acf2f27817cf3c9ec38)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to match the other meta-yocto-bsp MACHINE definitions add wic.bmap
to the produced images.
(From meta-yocto rev: 43c3e1194bf789d16c3e9bd41b8aae0098362677)
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>
The new Ubuntu releases on 2017-04-13, after cutoff for Yocto Project 2.3.
I've been running builds of some images and a world build in a container
over the past couple of days without issue. I've also run a complete
oe-selftest run (with SANITY_TESTED_DISTROS = "") and did not observe any
errors.
(From meta-yocto rev: ecdaf38e0b6beaeaf8ea7f804ca73a18f0dbe371)
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>
Adjust some dependencies: libgcrypt is now required (instead of gnutls)
and the following build deps where missing: gettext-native, glib-2.0
and glib-2.0-native.
Also the CMake argument ENABLE_CREDENTIAL_STORAGE has been renamed to
USE_LIBSECRET.
This new upstream release (2.16.4 actually) includes security fixes for
CVE: CVE-2017-2538
(From OE-Core rev: ef68005a8c527e9b1d05b7769f0ec8ebe9ec3f91)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patch out the one use of gnome-common macros: pygobject is moving to
autoconf-archive in next release so this patch is temporary.
(From OE-Core rev: 22525a706196544919586e1bc764f362661685ae)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only change is dropping dependency on gnome-common
(which is deprecated upstream).
(From OE-Core rev: 77ac45c242e65d90cda43199a33dae85dec0cd0a)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* The LIC_FILES_CHKSUM is changed becauses the files updated the date, and added
a BSD-3-clause-John-Birrell for man/timeradd.3bsd, this license is already
there for other files.
* Update 0002-Remove-funopen.patch
* Remove 0003-Fix-build-breaks-due-to-missing-a.out.h.patch, the a.out
code is gone in the source, so this patch is not needed any more.
(From OE-Core rev: 1be785e420c838080ce5dc608192794e46961582)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using "su - myuser" to change from root to a non-privileged user,
"mesg n" from the default .profile fails with "mesg: error: tty device
is not owned by group `tty' or "mesg: cannot open /dev/ttyS0:
Permission denied", depending on whether mesg comes from busybox or
util-linux.
This does not happen during a normal login because permissions on
/dev/tty* get changed while doing that, something that isn't possible
with plain "su -".
As the error can't be avoided and failures of mesg probably aren't
particularly important, now error messages get dumped to /dev/null.
[YOCTO #11127]
(From OE-Core rev: 4511a524f906c97db7c7674ad34e7bc8630649e3)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"su -" == "su --login" was broken because it uses /etc/pam.d/su-l and
lacking that, falls back to /etc/pam.d/other which denies the
operation. The fix is to symlink "su-l" to the normal "su" pam config
file.
Because "su" usually comes from "shadow" and has been broken like this
without anyone noticing, it probably is not used much and thus should
be packaged separately so that it can be installed only when really
needed. For backwards compatibility, "util-linux" still pulls it in.
It is a bit strange that DISTRO_FEATURES are getting checked when
deciding whether the packages should be defined. It is not wrong, the
packages will be simply empty and thus probably not created when the
distro feature is on and the package config is off. Perhaps there is a
reason, so this is kept unchanged. The symlink however only gets
created when su.util-linux really gets built.
[YOCTO #11126]
(From OE-Core rev: 1ad32536c2d4a3e55e698d27d827caee788cb0f7)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In https://source.isc.org/git/bind9.git, since the following
commit applied:
...
commit b99bfa184bc9375421b5df915eea7dfac6a68a99
Author: Evan Hunt <each@isc.org>
Date: Wed Apr 10 13:49:57 2013 -0700
[master] unify internal and export libraries
3550. [func] Unified the internal and export versions of the
BIND libraries, allowing external clients to use
the same libraries as BIND. [RT #33131]
...
(git show b99bfa184bc9375421b5df915eea7dfac6a68a99 -- ./lib/isc/unix/app.c)
In this commit, if bind9 enable threads(ISC_PLATFORM_USETHREADS),
it blocks signal SIGHUP, SIGINT and SIGTERM in isc__app_ctxstart.
Which caused dhclient/dhcpd could not be stopped by SIGTERM.
It caused systemd's reboot hung which send SIGTERM by default.
(From OE-Core rev: 7d3e734481e5d400d03ffd0a12669913fd264c5f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade bind from 9.10.3-P3 to 9.10.5-P3
* Update md5sum of LIC_FILES_CHKSUM that it update year in file COPYRIGHT
* Remvoe mips1-not-support-opcode.diff which has been merged
* Remove CVE patches that there are backported from upstream
* Use python3 for build and make sure install .py files to right directory
(From OE-Core rev: 9ee6a0a6599d081767b63382a576e67aed12cf4d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable release with the following commits:
9f86f302ec0e Linux 4.9.36
a29fd27ca268 KVM: nVMX: Fix exception injection
d1d3756f07da KVM: x86: zero base3 of unusable segments
f3c3ec96e5fb KVM: x86/vPMU: fix undefined shift in intel_pmu_refresh()
1eeb79426332 KVM: x86: fix emulation of RSM and IRET instructions
982d8d92f256 arm64: fix NULL dereference in have_cpu_die()
a4bfcab30928 mtd: nand: brcmnand: Check flash #WP pin status before nand erase/program
de5862335ed7 i2c: brcmstb: Fix START and STOP conditions
8ee785016d5a brcmfmac: avoid writing channel out of allocated array
65fc82cea84f infiniband: hns: avoid gcc-7.0.1 warning for uninitialized data
3e51ccbadd15 objtool: Fix another GCC jump table detection issue
92e66676523a clk: scpi: don't add cpufreq device if the scpi dvfs node is disabled
8a6f400a374c cpufreq: s3c2416: double free on driver init error path
1781a29b31fa iommu/amd: Fix interrupt remapping when disable guest_mode
0e55856b8f29 iommu/amd: Fix incorrect error handling in amd_iommu_bind_pasid()
f0c31c674abd iommu/dma: Don't reserve PCI I/O windows
d7fcb303d1ee iommu: Handle default domain attach failure
c19bfc6765d4 iommu/vt-d: Don't over-free page table directories
d5c5e8ba5d9d ocfs2: o2hb: revert hb threshold to keep compatible
8af88a950b42 x86/mm: Fix flush_tlb_page() on Xen
3667dafd6c04 x86/mpx: Correctly report do_mpx_bt_fault() failures to user-space
b287ade87c91 x86/boot/KASLR: Fix kexec crash due to 'virt_addr' calculation bug
15541e64163c tools arch: Sync arch/x86/lib/memcpy_64.S with the kernel
a2c222bef08f ARM: 8685/1: ensure memblock-limit is pmd-aligned
7661b19687b2 ARM64/ACPI: Fix BAD_MADT_GICC_ENTRY() macro implementation
4efe34b500a7 ARM: dts: OMAP3: Fix MFG ID EEPROM
07bb2c7e7ea3 ARM: OMAP2+: omap_device: Sync omap_device and pm_runtime after probe defer
e57aa416ca4c regulator: tps65086: Fix DT node referencing in of_parse_cb
88baad2e7159 regulator: tps65086: Fix expected switch DT node names
9846c67974d6 spi: fix device-node leaks
c52829f60f5f spi: When no dma_chan map buffers with spi_master's parent
478273e11521 sched/loadavg: Avoid loadavg spikes caused by delayed NO_HZ accounting
eea0261db8ef watchdog: bcm281xx: Fix use of uninitialized spinlock.
4211442b2088 netfilter: use skb_to_full_sk in ip_route_me_harder
ac2730234cc1 xfrm: Oops on error in pfkey_msg2xfrm_state()
c460f2beb6f0 xfrm: NULL dereference on allocation failure
1e1666257cb6 xfrm: fix stack access out of bounds with CONFIG_XFRM_SUB_POLICY
647f605276c0 mm/vmalloc.c: huge-vmap: fail gracefully on unexpected huge vmap mappings
f9f73c58feef ravb: Fix use-after-free on `ifconfig eth0 down`
adfe95fe5b42 ip6_tunnel, ip6_gre: fix setting of DSCP on encapsulated packets
168bd51ec5ef sctp: check af before verify address in sctp_addr_id2transport
399566f8a4fb net/mlx4_core: Eliminate warning messages for SRQ_LIMIT under SRIOV
b6f75b986a7f perf probe: Fix to probe on gcc generated functions in modules
9f8ffe4e0952 tipc: allocate user memory with GFP_KERNEL flag
18b200e0c8ee net: phy: dp83867: allow RGMII_TXID/RGMII_RXID interface types
e1eac347d971 perf probe: Fix to show correct locations for events on modules
cc439964fab1 be2net: fix MAC addr setting on privileged BE3 VFs
02434def6fd0 be2net: don't delete MAC on close on unprivileged BE3 VFs
fa1dbf505aef be2net: fix status check in be_cmd_pmac_add()
5f54c4e1e2af usb: dwc2: gadget: Fix GUSBCFG.USBTRDTIM value
0e9867b7113c s390/ctl_reg: make __ctl_load a full memory barrier
9d00195bc0af swiotlb: ensure that page-sized mappings are page-aligned
68a5dc385735 coredump: Ensure proper size of sparse core files
d21816c24591 aio: fix lock dep warning
82835fb33ce5 perf/x86: Reject non sampling events with precise_ip
1c68633329d2 perf/core: Fix sys_perf_event_open() vs. hotplug
48131dd0f2b1 x86/mpx: Use compatible types in comparison to fix sparse error
283994074501 x86/tsc: Add the Intel Denverton Processor to native_calibrate_tsc()
6baa8c92dab9 mac80211: initialize SMPS field in HT capabilities
8eaaf66d41ad pmem: return EIO on read_pmem() failure
25319ae8e8a7 drm/amd/powerplay: refine vce dpm update code on Cz.
f275ac7fc5d2 drm/amd/powerplay: fix vce cg logic error on CZ/St.
77e82094a3c9 drm/radeon/si: load special ucode for certain MC configs
4ae8dc6acb71 net: thunderx: acpi: fix LMAC initialization
f88f06e18318 arm64: assembler: make adr_l work in modules under KASLR
aabb797b4c12 spi: davinci: use dma_mapping_error()
c32462d0b523 scsi: lpfc: avoid double free of resource identifiers
582c1ca0ea1d HID: i2c-hid: Add sleep between POWER ON and RESET
c78b8de5c05c perf/x86/intel: Use ULL constant to prevent undefined shift behaviour
6130fac99481 mac80211: recalculate min channel width on VHT opmode changes
d48cb21fd50b net: phy: marvell: fix Marvell 88E1512 used in SGMII mode
849f2d0665e0 pinctrl: intel: Set pin direction properly
3a6edbc95ba0 perf/x86/intel/uncore: Fix hardcoded socket 0 assumption in the Haswell init code
b8c5e7b12413 drm/etnaviv: trick drm_mm into giving out a low IOVA
2bc8fcd633d8 Documentation: devicetree: change the mediatek ethernet compatible string
c5c8743642ae kernel/panic.c: add missing \n
00f468f51dd5 ibmveth: Add a proper check for the availability of the checksum features
32bd4d2ed9d8 vxlan: do not age static remote mac entries
b07bf2364605 ip6_tunnel: must reload ipv6h in ip6ip6_tnl_xmit()
7fdc81f6e1a9 virtio_net: fix PAGE_SIZE > 64k
a6c3e01bf32e mlxsw: spectrum_router: Correctly reallocate adjacency entries
ff3b1dd026bb vfio/spapr: fail tce_iommu_attach_group() when iommu_data is null
8895ef4e5357 drm/amdgpu: check ring being ready before using
e5a2ba9af818 net: dsa: Check return value of phy_connect_direct()
c6f284899e01 amd-xgbe: Check xgbe_init() return code
e99d86d76eed platform/x86: ideapad-laptop: handle ACPI event 1
e9a87e0f5bbb iwlwifi: fix kernel crash when unregistering thermal zone
322baf72eed5 scsi: virtio_scsi: Reject commands when virtqueue is broken
5d5c293af834 xen-netfront: Fix Rx stall during network stress and OOM
72191c7d82e7 swiotlb-xen: update dev_addr after swapping pages
884baf2abf6d virtio_console: fix a crash in config_work_handler
c3eab85ff11a Btrfs: fix truncate down when no_holes feature is enabled
e8b5068b64d0 Btrfs: Fix deadlock between direct IO and fast fsync
83571e9ef7c9 gianfar: Do not reuse pages from emergency reserve
c48a862c47d4 objtool: Fix IRET's opcode
251d00bf1309 bpf: don't trigger OOM killer under pressure with map alloc
a7a2a6d34fe7 bnxt_en: Fix "uninitialized variable" bug in TPA code path.
da805bc788b0 xen-netback: protect resource cleaning on XenBus disconnect
7bdccaa5da12 xen-netback: fix memory leaks on XenBus disconnect
5dcd08594276 net: ethtool: Initialize buffer when querying device channel settings
6e315b2b10b6 powerpc/eeh: Enable IO path on permanent error
ea7b808165a5 net: korina: Fix NAPI versus resources freeing
fded17be01ab perf/x86/intel: Handle exclusive threadid correctly on CPU hotplug
3eeb3459b7e6 net: phy: dp83848: add DP83620 PHY support
10c24e89b2b8 drm/amdgpu: add support for new hainan variants
9f2a36a7504c drm/amdgpu: fix program vce instance logic error.
0c9626619777 qla2xxx: Fix erroneous invalid handle message
8cfcaa2899f3 qla2xxx: Terminate exchange if corrupted
42a1d5b47594 scsi: lpfc: Set elsiocb contexts to NULL after freeing it
7782ab228f64 stmmac: add missing of_node_put
ee4494c6bda8 scsi: sd: Fix wrong DPOFUA disable in sd_read_cache_type
80b1a1180e4e KVM: x86: fix fixing of hypercalls
afaee3ef5136 xen/blkback: don't free be structure too early
13fa36f9fbc8 ARM64: dts: meson-gxbb-odroidc2: fix GbE tx link breakage
8bface142a8d dt: bindings: net: use boolean dt properties for eee broken modes
3897ae12b706 net: phy: use boolean dt properties for eee broken modes
40373d91a0f7 net: phy: fix sign type error in genphy_config_eee_advert
752ba680eb70 dt-bindings: net: add EEE capability constants
97ace183074d net: phy: add an option to disable EEE advertisement
0e8eca987e27 net: ethtool: add support for 2500BaseT and 5000BaseT link modes
8886196a7320 sparc64: Zero pages on allocation for mondo and error queues.
41172b772da4 sparc64: Handle PIO & MEM non-resumable errors.
2aa6d036b716 mm: numa: avoid waiting on freed migrated pages
08cb8e5f83fd l2tp: take a reference on sessions used in genetlink handlers
599e6f038777 l2tp: hold session while sending creation notifications
d9face6fc62a l2tp: fix duplicate session creation
806e98835683 l2tp: ensure session can't get removed during pppol2tp_session_ioctl()
6539c4f991c2 l2tp: fix race in l2tp_recv_common()
d2da8d394147 usb: gadget: f_fs: Fix possibe deadlock
ed96148d7f8e x86/mm: Fix boot crash caused by incorrect loop count calculation in sync_global_pgds()
1c0fa383b339 dm thin: do not queue freed thin mapping for next stage processing
466877f2d257 drm/vmwgfx: Free hash table allocated by cmdbuf managed res mgr
78c4244f8bdb gpiolib: fix filtering out unwanted events
cb2c6fdf620f NFSv4.1: Fix a race in nfs4_proc_layoutget
7d0e27fe24c5 ALSA: hda - set input_path bitmap to zero after moving it to new place
093750c3dec4 ALSA: hda - Fix endless loop of codec configure
dad3135e762b MIPS: Fix IRQ tracing & lockdep when rescheduling
e9e24faf823e MIPS: pm-cps: Drop manual cache-line alignment of ready_count
f7d3d40ea124 MIPS: Avoid accidental raw backtrace
3d4ac49a9538 MIPS: head: Reorder instructions missing a delay slot
b1355226a64e mm, swap_cgroup: reschedule when neeed in swap_cgroup_swapoff()
dbc808362b6c drm/ast: Handle configuration without P2A bridge
8dc9f9dede5b xen/blkback: don't use xen_blkif_get() in xen-blkback kthread
4ebe28d23d35 NFSv4.x/callback: Create the callback service through svc_create_pooled
955f270b6f5d NFSv4: fix a reference leak caused WARNING messages
b89bd0c715c1 netfilter: synproxy: fix conntrackd interaction
ced7689be60d netfilter: xt_TCPMSS: add more sanity tests on tcph->doff
8e2316399b8f rtnetlink: add IFLA_GROUP to ifla_policy
b9ca9b0f5510 ipv6: Do not leak throw route references
e4089baa08c4 sfc: provide dummy definitions of vswitch functions
08058c258afb net: 8021q: Fix one possible panic caused by BUG_ON in free_netdev
f1a0e7d172b0 decnet: always not take dst->__refcnt when inserting dst into hash table
c7d422d68fe9 net/mlx5e: Fix timestamping capabilities reporting
25ff35074e27 net/mlx5: Wait for FW readiness before initializing command interface
176b9874a203 net/mlx5e: Avoid doing a cleanup call if the profile doesn't have it
4c246863e7b4 sctp: return next obj by passing pos + 1 into sctp_transport_get_idx
fded2d74a350 ipv6: fix calling in6_ifa_hold incorrectly for dad work
cac2a9bb4034 igmp: add a missing spin_lock_init()
ecd6627f48bd igmp: acquire pmc lock for ip_mc_clear_src()
059686754c18 proc: snmp6: Use correct type in memset
78b24ab695ab net/mlx5e: Fix wrong indications in DIM due to counter wraparound
9854e5865990 net/mlx5e: Added BW check for DIM decision mechanism
57360bc3c7a6 net: tipc: Fix a sleep-in-atomic bug in tipc_msg_reverse
bb566ce3a60e net: caif: Fix a sleep-in-atomic bug in cfpkt_create_pfx
8cda426a7cfa sctp: disable BH in sctp_for_each_endpoint
c6d4ff85722b Fix an intermittent pr_emerg warning about lo becoming free.
bb84290cd296 af_unix: Add sockaddr length checks before accessing sa_family in bind and connect handlers
386ed38f0f28 net: vrf: Make add_fib_rules per network namespace flag
b5cc68e0c190 net: Zero ifla_vf_info in rtnl_fill_vfinfo()
fd9b13e6c175 decnet: dn_rtmsg: Improve input length sanitization in dnrmg_receive_user_skb
d2f459e3feb0 net: don't call strlen on non-terminated string in dev_set_alias()
98184bbb8dae ipv6: release dst on error in ip6_dst_lookup_tail
92905e331aea Linux 4.9.35
855b08e57777 brcmfmac: fix uninitialized warning in brcmf_usb_probe_phase2()
21eaaa76b701 jump label: fix passing kbuild_cflags when checking for asm goto support
ffa96c1a6afe net: phy: fix marvell phy status reading
5da6415e427b spi: double time out tolerance
25c7794ed046 dmaengine: bcm2835: Fix cyclic DMA period splitting
81135c71bde3 net: phy: Initialize mdio clock at probe function
948c4f17ab7e rt2x00: avoid introducing a USB dependency in the rt2x00lib module
225969acc0f1 usb: gadget: f_fs: avoid out of bounds access on comp_desc
5306119473b2 mtd: spi-nor: fix spansion quad enable
dcd015f733a7 of: Add check to of_scan_flat_dt() before accessing initial_boot_params
f20603874211 rxrpc: Fix several cases where a padded len isn't checked in ticket decode
581659a87820 drm/amdgpu: adjust default display clock
217e035d5120 drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating
e4b8d1e84410 drm/radeon: add a quirk for Toshiba Satellite L20-183
61ea7c2817bd drm/radeon: add a PX quirk for another K53TK variant
3900f24aa6fa iscsi-target: Reject immediate data underflow larger than SCSI transfer length
463440e6de4a iscsi-target: Fix delayed logout processing greater than SECONDS_FOR_LOGOUT_COMP
1f576d53d854 target: Fix kref->refcount underflow in transport_cmd_finish_abort
99f66b5182a4 arm64/vdso: Fix nsec handling for CLOCK_MONOTONIC_RAW
a53bfdda06ac time: Fix CLOCK_MONOTONIC_RAW sub-nanosecond accounting
02a37ccd6347 time: Fix clock->read(clock) race around clocksource changes
c81d034bd09a brcmfmac: unbind all devices upon failure in firmware callback
ba2d8d67875c brcmfmac: use firmware callback upon failure to load
1dd15bd62221 brcmfmac: add parameter to pass error code in firmware callback
20d8f785f974 Input: i8042 - add Fujitsu Lifebook AH544 to notimeout list
8eaa481dfb4c powerpc/64s: Handle data breakpoints in Radix mode
414f51ceb6ff powerpc/kprobes: Pause function_graph tracing during jprobes handling
f719f20abe2a signal: Only reschedule timers on signals timers have sent
99afebe8fef9 HID: Add quirk for Dell PIXART OEM mouse
cdf300d6105d cxgb4: notify uP to route ctrlq compl to rdma rspq
fb6dc831b5cf CIFS: Improve readdir verbosity
2f1527e359f4 KVM: PPC: Book3S HV: Context-switch EBB registers properly
468aa930c0a2 KVM: PPC: Book3S HV: Preserve userspace HTM state properly
df3a787b3a71 KVM: s390: gaccess: fix real-space designation asce handling for gmap shadows
5220378bd91c perf/x86/intel: Add 1G DTLB load/store miss support for SKL
7c679fe729c2 lib/cmdline.c: fix get_options() overflow while parsing ranges
bc6eecff3d95 autofs: sanity check status reported with AUTOFS_DEV_IOCTL_FAIL
4b660fcbc64e powerpc/perf: Fix oops when kthread execs user process
3d6848e491df fs/exec.c: account for argv/envp pointers
552a14a572a2 ALSA: pcm: Don't treat NULL chmap as a fatal error
8c9c55a0f576 ALSA: firewire-lib: Fix stall of process context at packet error
4ae2cb91a636 xen-blkback: don't leak stack data via response ring
e5c49c1703ae xen/blkback: fix disconnect while I/Os in flight
0e051f17bd04 clk: sunxi-ng: a31: Correct lcd1-ch1 clock register offset
493ecd5cd73e Linux 4.9.34
ce7fe8595902 mm: fix new crash in unmapped_area_topdown()
5d10ad629726 Allow stack to grow up to address space limit
cfc0eb403816 mm: larger stack guard gap, between vmas
04651048c79a alarmtimer: Rate limit periodic intervals
b355b899c74a crypto: Work around deallocated stack frame reference gcc bug on sparc.
7dfe7ca9ec12 vTPM: Fix missing NULL check
ecae47331a43 MIPS: .its targets depend on vmlinux
6b706cbb16e9 MIPS: Fix bnezc/jialc return address calculation
22921a9e232a usb: dwc3: exynos fix axius clock error path to do cleanup
f0ee203c864f usb: gadget: composite: Fix function used to free memory
8ee7f06f4dca alarmtimer: Prevent overflow of relative timers
766283254b67 genirq: Release resources in __setup_irq() error path
8a48b7eace4d sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off()
cf6ac3abb323 iio: imu: inv_mpu6050: add accel lpf setting for chip >= MPU6500
f7ae7d2229d2 swap: cond_resched in swap_cgroup_prepare()
1419b8752153 mm/memory-failure.c: use compound_head() flags for huge pages
0c0d3d8730db USB: gadgetfs, dummy-hcd, net2280: fix locking for callbacks
3ff5f4f6a8a7 USB: gadget: fix GPF in gadgetfs
06178662474c usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk
4581d7dd44f3 usb: xhci: Fix USB 3.1 supported protocol parsing
2abac4084fb9 drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of IS_ERR()
f28ba80c6a3e misc: mic: double free on ioctl error path
02d009e865a8 ath10k: fix napi crash during rmmod when probe firmware fails
07612c1227e8 usb: r8a66597-hcd: decrease timeout
f75f4d196ab5 usb: r8a66597-hcd: select a different endpoint on timeout
c8091f0e8549 USB: gadget: dummy_hcd: fix hub-descriptor removable fields
374aceef5912 pvrusb2: reduce stack usage pvr2_eeprom_analyze()
9ae5dac225e2 USB: usbip: fix nonconforming hub descriptor
7b5bce3a5128 usb: core: fix potential memory leak in error path during hcd creation
12bfbe157d06 USB: hub: fix SS max number of ports
cb53a4e03b2f usb: gadget: udc: renesas_usb3: lock for PN_ registers access
dd65c0958b77 usb: gadget: udc: renesas_usb3: fix deadlock by spinlock
723bd3b9f83f usb: gadget: udc: renesas_usb3: fix pm_runtime functions calling
b51e4b0ac661 IB/mlx5: Fix kernel to user leak prevention logic
dca02651cee7 iio: adc: ti_am335x_adc: allocating too much in probe
cf308c15103e iio: proximity: as3935: recalibrate RCO after resume
56251d138570 iio: st_pressure: Fix data sign
a1d51f7abf71 staging: iio: tsl2x7x_core: Fix standard deviation calculation
773fdcdc0957 staging: rtl8188eu: prevent an underflow in rtw_check_beacon_data()
ed13a9c6464b mfd: omap-usb-tll: Fix inverted bit use for USB TLL mode
caa6f1c7bcbe x86/mm/32: Set the '__vmalloc_start_set' flag in initmem_init()
ad3faea03fdf serial: sh-sci: Fix late enablement of AUTORTS
a50aacf5de52 serial: efm32: Fix parity management in 'efm32_uart_console_get_options()'
879d61f218a9 drm/vc4: Fix OOPSes from trying to cache a partially constructed BO.
5899b635ecc7 drm/mediatek: fix mtk_hdmi_setup_vendor_specific_infoframe mistake
5b754c994f38 mac80211: don't send SMPS action frame in AP mode when not needed
3e8c503d0a16 mac80211: fix dropped counter in multiqueue RX
6568f8f70152 mac80211: strictly check mesh address extension mode
c8143269c9c4 mac80211: fix IBSS presp allocation size
841e4e775bb1 mac80211: fix packet statistics for fast-RX
f79d740f3289 mac80211: fix CSA in IBSS mode
bd3f89002e52 usb: musb: dsps: keep VBUS on for host-only mode
a317afc0c1ce drm/i915: Fix GVT-g PVINFO version compatibility check
7f7bb1173db8 drm/amdgpu: Fix overflow of watermark calcs at > 4k resolutions.
f6e99a2efc03 mac80211/wpa: use constant time memory comparison for MACs
2ec5b68bf62e mac80211: don't look at the PM bit of BAR frames
63d34ea7042a vb2: Fix an off by one error in 'vb2_plane_vaddr'
5d5605cc5833 cpufreq: conservative: Allow down_threshold to take values from 1 to 10
47537bceb7b7 ila_xlat: add missing hash secret initialization
95f47cd7d7d8 can: gs_usb: fix memory leak in gs_cmd_reset()
a6d6282040b7 configfs: Fix race between create_link and configfs_rmdir
222aa34e5d79 fs: pass on flags in compat_writev
050639ef5810 Linux 4.9.33
bdc9a03fd9ce sparc64: make string buffers large enough
933b9b11f7ca drm/i915: Always recompute watermarks when distrust_bios_wm is set, v2.
4f59a7a895c4 drm/i915: Workaround VLV/CHV DSI scanline counter hardware fail
8e1a4006ff92 s390/kvm: do not rely on the ILC on kvm host protection fauls
a2f68276822c xtensa: don't use linux IRQ #0
57211e84dda0 RDMA/qedr: Return max inline data in QP query result
c5ea7aa57e24 RDMA/qedr: Don't spam dmesg if QP is in error state
13a87589af5f RDMA/qedr: Don't reset QP when queues aren't flushed
bbf61096e42c RDMA/qedr: Fix and simplify memory leak in PD alloc
a4fa249385b6 RDMA/qedr: Dispatch port active event from qedr_add
c47538f61016 netfilter: nft_log: restrict the log prefix length to 127
fefdd79403e8 netfilter: nf_tables: fix set->nelems counting with no NLM_F_EXCL
f68a45776a62 tipc: fix nametbl_lock soft lockup at node/link events
1d6e36d730ed tipc: add subscription refcount to avoid invalid delete
9f8df4f86a3f tipc: fix connection refcount error
c7a552e771cc tipc: ignore requests when the connection state is not CONNECTED
2552e2c11575 ARCv2: smp-boot: wake_flag polling by non-Masters needs to be uncached
8cb6045ec40d ARC: smp-boot: Decouple Non masters waiting API from jump to entry point
ae36f6a65af6 vhost/vsock: handle vhost_vq_init_access() error
b13b3b706a9d kernel/watchdog: prevent false hardlockup on overloaded system
0ce66ee6aec1 kernel/watchdog.c: move shared definitions to nmi.h
b969a240448b kernel/watchdog.c: move hardlockup detector to separate file
dbd9eee1aaaf userfaultfd: fix SIGBUS resulting from false rwsem wakeups
9618fba26499 proc: add a schedule point in proc_pid_readdir()
e23b1c05a50f frv: add missing atomic64 operations
918684681dc2 frv: add atomic64_add_unless()
013bbbc3e902 romfs: use different way to generate fsid for BLOCK or MTD
093d494c6d1d mn10300: fix build error of missing fpu_save()
5e4cafca06bf usb: musb: Fix external abort on non-linefetch for musb_irq_work()
fb72eca1333c sctp: sctp_addr_id2transport should verify the addr before looking up assoc
bf812fe92683 sctp: sctp gso should set feature with NETIF_F_SG when calling skb_segment
12a583ddf02a bnxt_en: Fix RTNL lock usage on bnxt_get_port_module_status().
66deb409251c bnxt_en: Fix RTNL lock usage on bnxt_update_link().
e89ffe41e9a6 bnxt_en: Enhance autoneg support.
710ea9b028de bnxt_en: Fix bnxt_reset() in the slow path task.
cb7188295d18 net-next: ethernet: mediatek: change the compatible string
e9ace99c4bb0 r8152: avoid start_xmit to schedule napi when napi is disabled
c1a7106b3b01 r8152: fix rtl8152_post_reset function
9507910ca46d r8152: re-schedule napi for tx
4242f0bce47e r8152: check rx after napi is enabled
993ba7ffcf6e r8152: avoid start_xmit to call napi_schedule during autosuspend
6149abe7f404 nvmet-rdma: Fix missing dma sync to nvme data structures
5a0d41409b4d nfs: Fix "Don't increment lock sequence ID after NFS4ERR_MOVED"
d16268259683 ravb: unmap descriptors when freeing rings
47c362f147aa drm/ast: Fixed system hanged if disable P2A
bfa4d2e461da drm/nouveau: Fix drm poll_helper handling
c94e2edacea7 drm/nouveau: Don't enabling polling twice on runtime resume
c7a29cf6c34a drm/nouveau: Handle fbcon suspend/resume in seperate worker
d2beb1a9dd82 drm/nouveau: Rename acpi_work to hpd_work
ef66745a1bd2 drm/nouveau: Intercept ACPI_VIDEO_NOTIFY_PROBE
eb846414674c gtp: add genl family modules alias
7dddbfcd96e2 net: phy: micrel: add support for KSZ8795
2f970b437e86 parisc, parport_gsc: Fixes for printk continuation lines
4038524f7fef net/mlx5: Return EOPNOTSUPP when failing to get steering name-space
b445ecbdff83 net/mlx5: E-Switch, Err when retrieving steering name-space fails
2bcbe747629e drm/i915: Check for NULL i915_vma in intel_unpin_fb_obj()
e6549f36278c net: adaptec: starfire: add checks for dma mapping errors
a15bbf44ab2f pinctrl: berlin-bg4ct: fix the value for "sd1a" of pin SCRD0_CRD_PRES
326fdffd7078 drm: Don't race connector registration
82b6693bd415 drm: prevent double-(un)registration for connectors
d934fe02ba17 cec: fix wrong last_la determination
62614714e30a pinctrl: baytrail: Rectify debounce support (part 2)
3564d41e5c84 gianfar: synchronize DMA API usage by free_skb_rx_queue w/ gfar_new_page
581e4003bf12 net/mlx4_core: Avoid command timeouts during VF driver device shutdown
c33f1bd7f289 drm/nouveau/fence/g84-: protect against concurrent access to semaphore buffers
cf336eea809d drm/nouveau: prevent userspace from deleting client object
16f733d8db52 ipv6: fix flow labels when the traffic class is non-0
0542f9791246 FS-Cache: Initialise stores_lock in netfs cookie
34f1a4626bad fscache: Clear outstanding writes when disabling a cookie
11696dcea282 fscache: Fix dead object requeue
f4d2d05ffb8b net: fix ndo_features_check/ndo_fix_features comment ordering
3a6ebd3f963c net: phy: Fix PHY module checks and NULL deref in phy_attach_direct()
ea14fabd43a5 net: phy: Fix lack of reference count on PHY driver
2fba4f5b70f3 ethtool: do not vzalloc(0) on registers dump
8de6ea44af5c log2: make order_base_2() behave correctly on const input value zero
5331baaeb7e6 kasan: respect /proc/sys/kernel/traceoff_on_warning
8936b74fd339 shmem: fix sleeping from atomic context
3ec4141c68de jump label: pass kbuild_cflags when checking for asm goto support
36d9659cde0d PM / runtime: Avoid false-positive warnings from might_sleep_if()
40f6d71c0a09 ARM: defconfigs: make NF_CT_PROTO_SCTP and NF_CT_PROTO_UDPLITE built-in
1cadd394bbf9 ipv6: Fix IPv6 packet loss in scenarios involving roaming + snooping switches
d536202202ee vfio/spapr_tce: Set window when adding additional groups to container
d385ed7ad307 ipv6: addrconf: fix generation of new temporary addresses
d7b2b380c08d net: thunderx: Fix PHY autoneg for SGMII QLM mode
baaa84b43608 kernel/ucount.c: mark user_header with kmemleak_ignore()
c419fe260b54 powerpc/powernv: Properly set "host-ipi" on IPIs
47a5aabc3424 i2c: piix4: Fix request_region size
c1a4306f24a0 i2c: piix4: Request the SMBUS semaphore inside the mutex
7a6fcf38fabb sierra_net: Add support for IPv6 and Dual-Stack Link Sense Indications
9217eeefee15 sierra_net: Skip validating irrelevant fields for IDLE LSIs
bed8b8627a33 net: hns: Fix the device being used for dma mapping during TX
008798746e6e NET: mkiss: Fix panic
ae0b63eb344e ibmvnic: Initialize completion variables before starting work
4544ba3173b7 ibmvnic: Call napi_disable instead of napi_enable in failure path
74e24d1ea1a4 NET: Fix /proc/net/arp for AX.25
2557969fb4f7 gfs2: Use rhashtable walk interface in glock_hash_walk
44bc7cae6031 tipc: Fix tipc_sk_reinit race conditions
cb351da6f2ba ipv6: Inhibit IPv4-mapped src address on the wire.
12ec2560d467 ipv6: Handle IPv4-mapped src to in6addr_any dst.
116589a5a7e0 tcp: tcp_probe: use spin_lock_bh()
a2901d01a6c7 net: xilinx_emaclite: fix receive buffer overflow
bff3001afae7 net: xilinx_emaclite: fix freezes due to unordered I/O
65e72723add0 ibmvnic: Fix endian error when requesting device capabilities
b5a1aa812a16 ibmvnic: Fix endian errors in error reporting output
d864e675c789 netfilter: nf_conntrack_sip: fix wrong memory initialisation
220b67a16fde partitions/msdos: FreeBSD UFS2 file systems are not recognized
7a7b2d5f65a7 drm/i915: Prevent the system suspend complete optimization
b372d35a5226 PCI/PM: Add needs_resume flag to avoid suspend complete optimization
05afd4c0af6a Linux 4.9.32
3eb235a1af14 netfilter: nft_set_rbtree: handle element re-addition after deletion
a8fc3159ee2c cpufreq: schedutil: Fix per-CPU structure initialization in sugov_start()
afe8d4a51c76 cpufreq: schedutil: move cached_raw_freq to struct sugov_policy
09fcb3561d9e drm/i915/vbt: split out defaults that are set when there is no VBT
555c443a1ab9 drm/i915/vbt: don't propagate errors from intel_bios_init()
a6a7d8ade88c usercopy: Adjust tests to deal with SMAP/PAN
eefa5e13dff9 ARM: 8637/1: Adjust memory boundaries after reservations
1df21f45fd55 ARM: 8636/1: Cleanup sanity_check_meminfo
9e09d90ac5ac arm64: entry: improve data abort handling of tagged pointers
1d61ccb5ac27 arm64: hw_breakpoint: fix watchpoint matching for tagged pointers
791d94ef40f6 arm64: traps: fix userspace cache maintenance emulation on a tagged pointer
d95202487334 serial: sh-sci: Fix panic when serial console and DMA are enabled
9ff4a1a36a58 drivers: char: mem: Fix wraparound check to allow mappings up to the end
106c77e82572 cpu/hotplug: Drop the device lock on error
eb8fa317cb01 ASoC: Fix use-after-free at card unregistration
82ecd2f054bd ALSA: timer: Fix missing queue indices reset at SNDRV_TIMER_IOCTL_SELECT
66e982d8f1a1 ALSA: timer: Fix race between read and ioctl
aae14f569f5d drm/nouveau/tmr: fully separate alarm execution/pending lists
7860d0e5e2bf drm/vmwgfx: Make sure backup_handle is always valid
a76ff847013a drm/vmwgfx: limit the number of mip levels in vmw_gb_surface_define_ioctl()
64c21af51d71 drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()
3743c0e1276d perf/core: Drop kernel samples even though :u is specified
6e6d89e18e53 powerpc/kernel: Initialize load_tm on task creation
2cfdf4fd3292 powerpc/kernel: Fix FP and vector register restoration
cbf687acc1e1 powerpc/hotplug-mem: Fix missing endian conversion of aa_index
b4624ff952ec powerpc/numa: Fix percpu allocations to be NUMA aware
bb0a300f18ce powerpc/sysdev/simple_gpio: Fix oops in gpio save_regs function
59d9a40b5839 scsi: qla2xxx: Fix mailbox pointer error in fwdump capture
64dc431432ec scsi: qla2xxx: Set bit 15 for DIAG_ECHO_TEST MBC
ab2b484e8038 scsi: qla2xxx: Modify T262 FW dump template to specify same start/end to debug customer issues
fe42472e53eb scsi: qla2xxx: don't disable a not previously enabled PCI device
f75e09ebd3e4 KVM: arm/arm64: Handle possible NULL stage2 pud when ageing pages
66d6448475c6 btrfs: fix memory leak in update_space_info failure path
4d15ab90ec2b btrfs: use correct types for page indices in btrfs_page_exists_in_range
3fd1233dabd5 cxl: Avoid double free_irq() for psl,slice interrupts
172c70d1cd82 cxl: Fix error path on bad ioctl
84bef90a454f ufs_getfrag_block(): we only grab ->truncate_mutex on block creation path
3d4922b5bb5b ufs_extend_tail(): fix the braino in calling conventions of ufs_new_fragments()
55a00f816bd7 ufs: set correct ->s_maxsize
aed005fb7956 ufs: restore maintaining ->i_blocks
bf7bfef3eee3 fix ufs_isblockset()
4896c87d2464 ufs: restore proper tail allocation
61604a2626a3 fs: add i_blocksize()
829a1cab22c4 cpuset: consider dying css as offline
5aa8f833ca78 Input: elantech - add Fujitsu Lifebook E546/E557 to force crc_enabled
dff4c8bb1397 cgroup: Prevent kill_css() from being called more than once
b59ec7072c84 ahci: Acer SA5-271 SSD Not Detected Fix
b3a42bb630bd drm/msm: Expose our reservation object when exporting a dmabuf.
974a4eb16e84 target: Re-add check to reject control WRITEs with overflow data
96d7b43b42ba cpufreq: cpufreq_register_driver() should return -ENODEV if init fails
acd8f9173960 mei: make sysfs modalias format similar as uevent modalias
716dd37398ad iio: proximity: as3935: fix iio_trigger_poll issue
bad3b49b01aa iio: proximity: as3935: fix AS3935_INT mask
8067c911c5e9 iio: light: ltr501 Fix interchanged als/ps register field
e33679f994db iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's
c5a8004434f0 staging/lustre/lov: remove set_fs() call from lov_getstripe()
5404b0c0ea85 usb: chipidea: debug: check before accessing ci_role
59db536f5812 usb: chipidea: udc: fix NULL pointer dereference if udc_start failed
405ac24a0aec usb: gadget: f_mass_storage: Serialize wake and sleep execution
1308eeec2fc5 drm: Fix oops + Xserver hang when unplugging USB drm devices
c404f0dee7a8 ext4: fix fdatasync(2) after extent manipulation operations
2e16921d1743 ext4: fix data corruption with EXT4_GET_BLOCKS_ZERO
9890b9cb75c9 ext4: keep existing extra fields when inode expands
9850844e0a0e ext4: fix SEEK_HOLE
9636c086532b xen/privcmd: Support correctly 64KB page granularity when mapping memory
08229c119c42 cfq-iosched: fix the delay of cfq_group's vdisktime under iops mode
1f67d28d2707 dmaengine: mv_xor_v2: set DMA mask to 40 bits
eb5afaba6177 dmaengine: mv_xor_v2: remove interrupt coalescing
b2c8bb06bc83 dmaengine: mv_xor_v2: fix tx_submit() implementation
0d0918504a96 dmaengine: mv_xor_v2: enable XOR engine after its configuration
e2a092eab8a5 dmaengine: mv_xor_v2: do not use descriptors not acked by async_tx
67b1684c4a5e dmaengine: mv_xor_v2: properly handle wrapping in the array of HW descriptors
f08c84d4c745 dmaengine: mv_xor_v2: handle mv_xor_v2_prep_sw_desc() error properly
f2e9d10bf1a2 dmaengine: ep93xx: Don't drain the transfers in terminate_all()
b7e7a4d52a95 dmaengine: ep93xx: Always start from BASE0
cd0ef520aa70 dmaengine: usb-dmac: Fix DMAOR AE bit definition
3e7a76b290f1 KVM: arm/arm64: vgic-v2: Do not use Active+Pending state for a HW interrupt
2a5c08a4d3fe KVM: arm/arm64: vgic-v3: Do not use Active+Pending state for a HW interrupt
81555e45852a KVM: async_pf: avoid async pf injection when in guest mode
85c19308cb37 arm: KVM: Allow unaligned accesses at HYP
8abce1e49c82 arm64: KVM: Allow unaligned accesses at EL2
b9824dd75fcf arm64: KVM: Preserve RES1 bits in SCTLR_EL2
19c9a115085e KVM: cpuid: Fix read/write out-of-bounds vulnerability in cpuid emulation
78f87ce2a17f kvm: async_pf: fix rcu_irq_enter() with irqs enabled
4809f0e56d98 efi: Don't issue error message when booted under Xen
e273ed246617 nfsd: Fix up the "supattr_exclcreat" attributes
bfeac838043f nfsd4: fix null dereference on replay
34bae9b3ba98 drm/amdgpu/ci: disable mclk switching for high refresh rates (v2)
d4783eb9f082 crypto: gcm - wait for crypto op not signal safe
2d0280070e6c crypto: drbg - wait for crypto op not signal safe
d24c1c1977d8 KEYS: encrypted: avoid encrypting/decrypting stack buffers
24369761029a KEYS: fix freeing uninitialized memory in key_update()
1b253e023f8f KEYS: fix dereferencing NULL payload with nonzero length
0e479742e8d1 crypto: asymmetric_keys - handle EBUSY due to backlog correctly
7c24a70c70b7 ptrace: Properly initialize ptracer_cred on fork
3802abc6e0df serial: ifx6x60: fix use-after-free on module unload
04ac452dadbf arch/sparc: support NR_CPUS = 4096
433a50e681df sparc64: delete old wrap code
b6bb22de0c9e sparc64: new context wrap
975f3cdc3915 sparc64: add per-cpu mm of secondary contexts
7932bfad0e82 sparc64: redefine first version
65e3443b61a8 sparc64: combine activate_mm and switch_mm
e7590a1b15c8 sparc64: reset mm cpumask after wrap
b3ad7a3e57b3 sparc: Machine description indices can vary
8d665e039e66 sparc64: mm: fix copy_tsb to correctly copy huge page TSBs
4b684e6474d0 sparc64: Add __multi3 for gcc 7.x and later.
0255284edddc net: bridge: start hello timer only if device is up
3dd4daf112fd net: stmmac: fix completely hung TX when using TSO
a83564d12863 net: ethoc: enable NAPI before poll may be scheduled
a97f807363d4 net/ipv6: Fix CALIPSO causing GPF with datagram support
0aa89f1b07de net: ping: do not abuse udp_poll()
599a4478d8cb ipv6: Fix leak in ipv6_gso_segment().
c242e1a8140e vxlan: fix use-after-free on deletion
3ee35b96825e tcp: disallow cwnd undo when switching congestion control
61c92d5a533c cxgb4: avoid enabling napi twice to the same queue
abbcb731d69c ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt()
b5e9b7ad0dd4 vxlan: eliminate cached dst leak
96d145216b58 bnx2x: Fix Multi-Cos
(From OE-Core rev: d9d950bd48566e5a2e92ad4a2fd943ad828fb8df)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable commit with the following changes:
4282d39575bf Linux 4.4.76
be8c39b47061 KVM: nVMX: Fix exception injection
77d977dd78b3 KVM: x86: zero base3 of unusable segments
3b1609f6c436 KVM: x86/vPMU: fix undefined shift in intel_pmu_refresh()
b9b3eb5c774e KVM: x86: fix emulation of RSM and IRET instructions
3491a0b59fcd cpufreq: s3c2416: double free on driver init error path
aad7041e721e iommu/amd: Fix incorrect error handling in amd_iommu_bind_pasid()
48952c6d517a iommu: Handle default domain attach failure
3de9630abe3b iommu/vt-d: Don't over-free page table directories
404ef3b4bf62 ocfs2: o2hb: revert hb threshold to keep compatible
5d650fcef901 x86/mm: Fix flush_tlb_page() on Xen
6fb3b322307e x86/mpx: Correctly report do_mpx_bt_fault() failures to user-space
7cd8c4903171 ARM: 8685/1: ensure memblock-limit is pmd-aligned
d4960d58158b ARM64/ACPI: Fix BAD_MADT_GICC_ENTRY() macro implementation
6ca11db55f62 sched/loadavg: Avoid loadavg spikes caused by delayed NO_HZ accounting
f6115ec09225 watchdog: bcm281xx: Fix use of uninitialized spinlock.
f99737ce2e56 xfrm: Oops on error in pfkey_msg2xfrm_state()
ac78351c96e8 xfrm: NULL dereference on allocation failure
398ac7a19f17 xfrm: fix stack access out of bounds with CONFIG_XFRM_SUB_POLICY
736b342cc9b4 jump label: fix passing kbuild_cflags when checking for asm goto support
53ae0c2ffef7 ravb: Fix use-after-free on `ifconfig eth0 down`
db1323b77c2b sctp: check af before verify address in sctp_addr_id2transport
d521e9c384f9 net/mlx4_core: Eliminate warning messages for SRQ_LIMIT under SRIOV
9837392c2b3e perf probe: Fix to show correct locations for events on modules
0593fa8f34a2 be2net: fix status check in be_cmd_pmac_add()
5416a88c2fef s390/ctl_reg: make __ctl_load a full memory barrier
9a536d587246 swiotlb: ensure that page-sized mappings are page-aligned
878f37efac3e coredump: Ensure proper size of sparse core files
c20bdc08af9b x86/mpx: Use compatible types in comparison to fix sparse error
14339b018bc2 mac80211: initialize SMPS field in HT capabilities
11dd9e2c4803 spi: davinci: use dma_mapping_error()
be91b09750bf scsi: lpfc: avoid double free of resource identifiers
4ac60b20f703 HID: i2c-hid: Add sleep between POWER ON and RESET
70f41003b9d1 kernel/panic.c: add missing \n
e4272ebefc83 ibmveth: Add a proper check for the availability of the checksum features
8fa301abb31a vxlan: do not age static remote mac entries
00e83abf8e62 virtio_net: fix PAGE_SIZE > 64k
c64f4194a65b vfio/spapr: fail tce_iommu_attach_group() when iommu_data is null
d3be5e0471ab drm/amdgpu: check ring being ready before using
58a766c460b1 net: dsa: Check return value of phy_connect_direct()
3d2cbbcbde3d amd-xgbe: Check xgbe_init() return code
dac30e3dbd72 platform/x86: ideapad-laptop: handle ACPI event 1
666c821b0ae3 scsi: virtio_scsi: Reject commands when virtqueue is broken
230fe9c7d814 xen-netfront: Fix Rx stall during network stress and OOM
8df98ff6c394 swiotlb-xen: update dev_addr after swapping pages
23c7f01691a1 virtio_console: fix a crash in config_work_handler
6e1116a0b3e2 Btrfs: fix truncate down when no_holes feature is enabled
961efcd54e5b gianfar: Do not reuse pages from emergency reserve
477a2359c881 powerpc/eeh: Enable IO path on permanent error
e1db592de735 net: bgmac: Remove superflous netif_carrier_on()
e66647f0e1ff net: bgmac: Start transmit queue in bgmac_open
f01babed64e6 net: bgmac: Fix SOF bit checking
992048f8ae84 bgmac: Fix reversed test of build_skb() return value.
ebfa83ab5a53 mtd: bcm47xxpart: don't fail because of bit-flips
1124701061d8 bgmac: fix a missing check for build_skb
11e4bb957f1a mtd: bcm47xxpart: limit scanned flash area on BCM47XX (MIPS) only
e025a30dd8b0 MIPS: ralink: fix MT7628 wled_an pinmux gpio
cd1fe5c31e91 MIPS: ralink: fix MT7628 pinmux typos
c9336bbdd924 MIPS: ralink: Fix invalid assignment of SoC type
ad310161f513 MIPS: ralink: fix USB frequency scaling
9a23a35a4fc6 MIPS: ralink: MT7688 pinmux fixes
e1688f1677e6 net: korina: Fix NAPI versus resources freeing
ef0cb4c9d496 MIPS: ath79: fix regression in PCI window initialization
753be27f77eb net: mvneta: Fix for_each_present_cpu usage
0012ba253767 ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
50e18570d8ea qla2xxx: Fix erroneous invalid handle message
8c721e38055a scsi: lpfc: Set elsiocb contexts to NULL after freeing it
5c982bac211c scsi: sd: Fix wrong DPOFUA disable in sd_read_cache_type
b92f9f6a2c09 KVM: x86: fix fixing of hypercalls
cdbf92675fad mm: numa: avoid waiting on freed migrated pages
21d7c733251a block: fix module reference leak on put_disk() call for cgroups throttle
2449a71eb982 sysctl: enable strict writes
1e0f216195a6 usb: gadget: f_fs: Fix possibe deadlock
04686ab28a35 drm/vmwgfx: Free hash table allocated by cmdbuf managed res mgr
c70e2006d06a ALSA: hda - set input_path bitmap to zero after moving it to new place
11327be3570e ALSA: hda - Fix endless loop of codec configure
db60a2ec9acc MIPS: Fix IRQ tracing & lockdep when rescheduling
93206654a0b2 MIPS: pm-cps: Drop manual cache-line alignment of ready_count
cb611ead80a2 MIPS: Avoid accidental raw backtrace
74de12dbfa7c mm, swap_cgroup: reschedule when neeed in swap_cgroup_swapoff()
a9e5044b6804 drm/ast: Handle configuration without P2A bridge
542442710021 NFSv4: fix a reference leak caused WARNING messages
e052be55a598 netfilter: synproxy: fix conntrackd interaction
234e649840d1 netfilter: xt_TCPMSS: add more sanity tests on tcph->doff
095a41128cb6 rtnetlink: add IFLA_GROUP to ifla_policy
640a09c64ec6 ipv6: Do not leak throw route references
9de17701a3bc sfc: provide dummy definitions of vswitch functions
1f8bb6053249 net: 8021q: Fix one possible panic caused by BUG_ON in free_netdev
f50f2e0cb1a3 decnet: always not take dst->__refcnt when inserting dst into hash table
93911697a9f2 net/mlx5: Wait for FW readiness before initializing command interface
0d1effe95ebe ipv6: fix calling in6_ifa_hold incorrectly for dad work
4feb6121aa5e igmp: add a missing spin_lock_init()
ee8d5f9fd17e igmp: acquire pmc lock for ip_mc_clear_src()
7de53eed6fda net: caif: Fix a sleep-in-atomic bug in cfpkt_create_pfx
030a77d2f904 Fix an intermittent pr_emerg warning about lo becoming free.
0fc0fad07722 af_unix: Add sockaddr length checks before accessing sa_family in bind and connect handlers
e2c3ee003280 net: Zero ifla_vf_info in rtnl_fill_vfinfo()
dedb088a1d18 decnet: dn_rtmsg: Improve input length sanitization in dnrmg_receive_user_skb
e79948e2d90b net: don't call strlen on non-terminated string in dev_set_alias()
d68a4e380ff5 ipv6: release dst on error in ip6_dst_lookup_tail
6ee496d7218a Linux 4.4.75
cb7be08dee4e nvme: apply DELAY_BEFORE_CHK_RDY quirk at probe time too
bddc80274a12 nvme/quirk: Add a delay before checking for adapter readiness
e5f87c733842 net: phy: fix marvell phy status reading
9b54821d5184 net: phy: Initialize mdio clock at probe function
889caad4fbe4 usb: gadget: f_fs: avoid out of bounds access on comp_desc
db7130d63fd8 powerpc/slb: Force a full SLB flush when we insert for a bad EA
8fcb215c5426 mtd: spi-nor: fix spansion quad enable
7dfea167fc1d of: Add check to of_scan_flat_dt() before accessing initial_boot_params
eab38dfd66d7 rxrpc: Fix several cases where a padded len isn't checked in ticket decode
800d7454e50f USB: usbip: fix nonconforming hub descriptor
525e496a9722 drm/amdgpu: adjust default display clock
526527847355 drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating
4f3d0f468552 drm/radeon: add a quirk for Toshiba Satellite L20-183
f8242fa8119b drm/radeon: add a PX quirk for another K53TK variant
fe8003da6113 iscsi-target: Reject immediate data underflow larger than SCSI transfer length
d374be75f4c7 target: Fix kref->refcount underflow in transport_cmd_finish_abort
1fecf3977def time: Fix clock->read(clock) race around clocksource changes
255ad85b5ecc Input: i8042 - add Fujitsu Lifebook AH544 to notimeout list
3ee9033e228d powerpc/kprobes: Pause function_graph tracing during jprobes handling
bc7b3e9984a8 signal: Only reschedule timers on signals timers have sent
005253ffe4ad HID: Add quirk for Dell PIXART OEM mouse
63ba840a53d6 CIFS: Improve readdir verbosity
824b9506e4f2 KVM: PPC: Book3S HV: Preserve userspace HTM state properly
7b88f761929e lib/cmdline.c: fix get_options() overflow while parsing ranges
b95aa98e77d7 autofs: sanity check status reported with AUTOFS_DEV_IOCTL_FAIL
1d3d0f8b7cf7 fs/exec.c: account for argv/envp pointers
22da7ca81a3a Linux 4.4.74
1f2284fac218 mm: fix new crash in unmapped_area_topdown()
f41512c6acb7 Allow stack to grow up to address space limit
4b359430674c mm: larger stack guard gap, between vmas
26605a06dd92 alarmtimer: Rate limit periodic intervals
c24159adf222 MIPS: Fix bnezc/jialc return address calculation
94695386c79c usb: dwc3: exynos fix axius clock error path to do cleanup
aac7fa215e8f alarmtimer: Prevent overflow of relative timers
4d4d501cd707 genirq: Release resources in __setup_irq() error path
6af90091b610 swap: cond_resched in swap_cgroup_prepare()
bfbd244c5f18 mm/memory-failure.c: use compound_head() flags for huge pages
f5dc61753d0e USB: gadgetfs, dummy-hcd, net2280: fix locking for callbacks
89c15994a06d usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk
5efd37fe7218 drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of IS_ERR()
ab29b21a47ae usb: r8a66597-hcd: decrease timeout
4c7a6dd205cc usb: r8a66597-hcd: select a different endpoint on timeout
42c8b4b5fdca USB: gadget: dummy_hcd: fix hub-descriptor removable fields
dc6ecba3f6c1 pvrusb2: reduce stack usage pvr2_eeprom_analyze()
e33e866d1593 usb: core: fix potential memory leak in error path during hcd creation
ec443ee0c2aa USB: hub: fix SS max number of ports
7e2ad8b207f2 iio: proximity: as3935: recalibrate RCO after resume
0c967139e832 staging: rtl8188eu: prevent an underflow in rtw_check_beacon_data()
e59d91144545 mfd: omap-usb-tll: Fix inverted bit use for USB TLL mode
93d022e25642 x86/mm/32: Set the '__vmalloc_start_set' flag in initmem_init()
c79aab7007d8 serial: efm32: Fix parity management in 'efm32_uart_console_get_options()'
daebcf9871eb mac80211: fix IBSS presp allocation size
bb8428f4c954 mac80211: fix CSA in IBSS mode
5f1f39023c2a mac80211/wpa: use constant time memory comparison for MACs
156f00663af6 mac80211: don't look at the PM bit of BAR frames
a8686c968fe3 vb2: Fix an off by one error in 'vb2_plane_vaddr'
fa90f02d511d cpufreq: conservative: Allow down_threshold to take values from 1 to 10
58ab7a86cdc2 can: gs_usb: fix memory leak in gs_cmd_reset()
0ad134d81c07 configfs: Fix race between create_link and configfs_rmdir
1bd30958ec55 Linux 4.4.73
39e84dcd7876 sparc64: make string buffers large enough
d80aa84235ff s390/kvm: do not rely on the ILC on kvm host protection fauls
afb415f72daa xtensa: don't use linux IRQ #0
8b1aa2679812 tipc: ignore requests when the connection state is not CONNECTED
77d2b8dc9597 proc: add a schedule point in proc_pid_readdir()
202776694c2a romfs: use different way to generate fsid for BLOCK or MTD
50ef0e2e9abe sctp: sctp_addr_id2transport should verify the addr before looking up assoc
70752628521d r8152: avoid start_xmit to schedule napi when napi is disabled
5270bf63719c r8152: fix rtl8152_post_reset function
a4877e5564a5 r8152: re-schedule napi for tx
10bfb4c76c94 nfs: Fix "Don't increment lock sequence ID after NFS4ERR_MOVED"
82ce18b09bf1 ravb: unmap descriptors when freeing rings
3987a40362b7 drm/ast: Fixed system hanged if disable P2A
ff20cc9a6086 drm/nouveau: Don't enabling polling twice on runtime resume
711f4797a339 parisc, parport_gsc: Fixes for printk continuation lines
9343894a8b3d net: adaptec: starfire: add checks for dma mapping errors
3926d04ddec2 pinctrl: berlin-bg4ct: fix the value for "sd1a" of pin SCRD0_CRD_PRES
6e3ea31dfb01 gianfar: synchronize DMA API usage by free_skb_rx_queue w/ gfar_new_page
2b9f84ef46d8 net/mlx4_core: Avoid command timeouts during VF driver device shutdown
6f0a81edb918 drm/nouveau/fence/g84-: protect against concurrent access to semaphore buffers
9c7a11e6f994 drm/nouveau: prevent userspace from deleting client object
1507ea6df42e ipv6: fix flow labels when the traffic class is non-0
95a4659ee8d0 FS-Cache: Initialise stores_lock in netfs cookie
38481d7d43dd fscache: Clear outstanding writes when disabling a cookie
b421d230dfa1 fscache: Fix dead object requeue
e6b15f0fc7a6 ethtool: do not vzalloc(0) on registers dump
980660760aa7 log2: make order_base_2() behave correctly on const input value zero
55d0f89a1a0c kasan: respect /proc/sys/kernel/traceoff_on_warning
1948d0afe43e jump label: pass kbuild_cflags when checking for asm goto support
266e02bc69a2 PM / runtime: Avoid false-positive warnings from might_sleep_if()
8d228758f90f ipv6: Fix IPv6 packet loss in scenarios involving roaming + snooping switches
ee0cd47799dd i2c: piix4: Fix request_region size
68cac0741246 sierra_net: Add support for IPv6 and Dual-Stack Link Sense Indications
d95ffdd39566 sierra_net: Skip validating irrelevant fields for IDLE LSIs
716cca0a67ec net: hns: Fix the device being used for dma mapping during TX
aacf9de1e239 NET: mkiss: Fix panic
b9e9045d5e6b NET: Fix /proc/net/arp for AX.25
23287661af3e ipv6: Inhibit IPv4-mapped src address on the wire.
8faccb2b9442 ipv6: Handle IPv4-mapped src to in6addr_any dst.
10a762977267 net: xilinx_emaclite: fix receive buffer overflow
7f71f22a116f net: xilinx_emaclite: fix freezes due to unordered I/O
2ba464a4b748 Call echo service immediately after socket reconnect
691fe5610d58 staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory.
3fc4d70453ee ARM: dts: imx6dl: Fix the VDD_ARM_CAP voltage for 396MHz operation
b28c21baf28a partitions/msdos: FreeBSD UFS2 file systems are not recognized
0fb2a1fe6155 s390/vmem: fix identity mapping
30c9187fa8ed Linux 4.4.72
4e528eb9160b arm64: ensure extension of smp_store_release value
01ce16f40c97 arm64: armv8_deprecated: ensure extension of addr
51ff10e72fc2 usercopy: Adjust tests to deal with SMAP/PAN
746d48934f51 RDMA/qib,hfi1: Fix MR reference count leak on write with immediate
3ccf69562ac2 arm64: entry: improve data abort handling of tagged pointers
4eaef3651815 arm64: hw_breakpoint: fix watchpoint matching for tagged pointers
bc5f31d34eab Make __xfs_xattr_put_listen preperly report errors.
e8a1086ae191 NFSv4: Don't perform cached access checks before we've OPENed the file
533020828366 NFS: Ensure we revalidate attributes before using execute_ok()
cb1fb15c8355 mm: consider memblock reservations for deferred memory initialization sizing
52d8b8ad2b4b net: better skb->sender_cpu and skb->napi_id cohabitation
3c0fcb52674a serial: sh-sci: Fix panic when serial console and DMA are enabled
cc04a1433843 tty: Drop krefs for interrupted tty lock
983c09ebdbc2 drivers: char: mem: Fix wraparound check to allow mappings up to the end
9a9388953bdc ASoC: Fix use-after-free at card unregistration
54d12fbf54d4 ALSA: timer: Fix missing queue indices reset at SNDRV_TIMER_IOCTL_SELECT
f5bc918760c8 ALSA: timer: Fix race between read and ioctl
5dffc1be6552 drm/nouveau/tmr: fully separate alarm execution/pending lists
74276868b455 drm/vmwgfx: Make sure backup_handle is always valid
619cc02fd85d drm/vmwgfx: limit the number of mip levels in vmw_gb_surface_define_ioctl()
e4c05b3a751a drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()
e582b82c160a perf/core: Drop kernel samples even though :u is specified
1cfe1e9da629 powerpc/hotplug-mem: Fix missing endian conversion of aa_index
8c92870bdbf2 powerpc/numa: Fix percpu allocations to be NUMA aware
fc7fb9430d70 powerpc/eeh: Avoid use after free in eeh_handle_special_event()
93d03807f395 scsi: qla2xxx: don't disable a not previously enabled PCI device
f267b064a6e9 KVM: arm/arm64: Handle possible NULL stage2 pud when ageing pages
5c7955c8726c btrfs: fix memory leak in update_space_info failure path
cc8c67cadc27 btrfs: use correct types for page indices in btrfs_page_exists_in_range
8fe4345d6a1d cxl: Fix error path on bad ioctl
f0d2e153147e ufs_getfrag_block(): we only grab ->truncate_mutex on block creation path
34aa71cbd408 ufs_extend_tail(): fix the braino in calling conventions of ufs_new_fragments()
d6bd1e7ec7d8 ufs: set correct ->s_maxsize
4c516dff07d7 ufs: restore maintaining ->i_blocks
1df45bb64396 fix ufs_isblockset()
db9aafaf90b6 ufs: restore proper tail allocation
044470266a50 fs: add i_blocksize()
c8acec90d9dd cpuset: consider dying css as offline
fff08d245263 Input: elantech - add Fujitsu Lifebook E546/E557 to force crc_enabled
ba9fe2e8072f drm/msm: Expose our reservation object when exporting a dmabuf.
934d0a9f9c65 target: Re-add check to reject control WRITEs with overflow data
94d3dafe96f3 cpufreq: cpufreq_register_driver() should return -ENODEV if init fails
2ff1edbbb29b stackprotector: Increase the per-task stack canary's random range from 32 bits to 64 bits on 64-bit platforms
1025503bcee9 random: properly align get_random_int_hash
baae8c3c2e2a drivers: char: random: add get_random_long()
ff7739a28719 iio: proximity: as3935: fix AS3935_INT mask
64276cdbd418 iio: light: ltr501 Fix interchanged als/ps register field
a365c707d2ee staging/lustre/lov: remove set_fs() call from lov_getstripe()
bd2e8f0a72c5 usb: chipidea: debug: check before accessing ci_role
942dcb0ffa9d usb: chipidea: udc: fix NULL pointer dereference if udc_start failed
6ff96a61bb20 usb: gadget: f_mass_storage: Serialize wake and sleep execution
daa1357ff346 ext4: fix fdatasync(2) after extent manipulation operations
7b9694cb7bf2 ext4: keep existing extra fields when inode expands
08dc390b2745 ext4: fix SEEK_HOLE
e9560c2df474 xen-netfront: cast grant table reference first to type int
17a58bdf3d63 xen-netfront: do not cast grant table reference to signed short
4467b3a14557 xen/privcmd: Support correctly 64KB page granularity when mapping memory
3340c0e11086 dmaengine: ep93xx: Always start from BASE0
3ff231a0d399 dmaengine: usb-dmac: Fix DMAOR AE bit definition
445d08a6be93 KVM: async_pf: avoid async pf injection when in guest mode
7b69d79732eb arm: KVM: Allow unaligned accesses at HYP
c7740cbcc2c4 KVM: cpuid: Fix read/write out-of-bounds vulnerability in cpuid emulation
a8bbdf1921fd kvm: async_pf: fix rcu_irq_enter() with irqs enabled
e21ad4a956d4 nfsd: Fix up the "supattr_exclcreat" attributes
6a9b72248814 nfsd4: fix null dereference on replay
1f6791d4f208 drm/amdgpu/ci: disable mclk switching for high refresh rates (v2)
a3a3a1cf538c crypto: gcm - wait for crypto op not signal safe
8096a6748a92 KEYS: fix freeing uninitialized memory in key_update()
bc6be3433e69 KEYS: fix dereferencing NULL payload with nonzero length
c94bea2e4bf5 ptrace: Properly initialize ptracer_cred on fork
dd6a4b53d026 serial: ifx6x60: fix use-after-free on module unload
7816928f3435 arch/sparc: support NR_CPUS = 4096
8554f96c1656 sparc64: delete old wrap code
c9215ca71390 sparc64: new context wrap
3e557fd99a22 sparc64: add per-cpu mm of secondary contexts
7e5551fbb864 sparc64: redefine first version
e72963317bf1 sparc64: combine activate_mm and switch_mm
4c0cae481fae sparc64: reset mm cpumask after wrap
7047c2009be9 sparc: Machine description indices can vary
54e23c087f36 sparc64: mm: fix copy_tsb to correctly copy huge page TSBs
0774a35802e9 net: bridge: start hello timer only if device is up
9cbc6cbd9170 net: ethoc: enable NAPI before poll may be scheduled
45202cd2199c net: ping: do not abuse udp_poll()
406752726afc ipv6: Fix leak in ipv6_gso_segment().
92d88e8a7adc vxlan: fix use-after-free on deletion
f4c645f67e72 tcp: disallow cwnd undo when switching congestion control
03994b4b858f cxgb4: avoid enabling napi twice to the same queue
491809d0f8d8 ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt()
d02f4c962d35 bnx2x: Fix Multi-Cos
(From OE-Core rev: ab2721fca72ed28f865b1ee3b7e33d9d09515d87)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable update that comprises the following
commits:
2ac51e21d8c5 Linux 4.1.42
dcda279dede7 mm: fix new crash in unmapped_area_topdown()
8b18c6b2a0dd mm: larger stack guard gap, between vmas
55e6060ddd5f alarmtimer: Rate limit periodic intervals
cedbfb3dc38c MIPS: Fix bnezc/jialc return address calculation
d490b0caf87f usb: dwc3: exynos fix axius clock error path to do cleanup
61e04a644bd8 genirq: Release resources in __setup_irq() error path
ec8376b633c9 swap: cond_resched in swap_cgroup_prepare()
331720703ebb mm/memory-failure.c: use compound_head() flags for huge pages
e28840566853 USB: gadgetfs, dummy-hcd, net2280: fix locking for callbacks
7ed474c302c1 usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk
235efbf2e58c drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of IS_ERR()
d5db08763ef2 usb: r8a66597-hcd: decrease timeout
152c8dcf311c usb: r8a66597-hcd: select a different endpoint on timeout
08e1f9869489 USB: gadget: dummy_hcd: fix hub-descriptor removable fields
0758e6a95a00 [media] pvrusb2: reduce stack usage pvr2_eeprom_analyze()
bdc69cc86e01 usb: core: fix potential memory leak in error path during hcd creation
11f00c7e1194 USB: hub: fix SS max number of ports
e507356624f1 iio: proximity: as3935: recalibrate RCO after resume
fe9474901810 staging: rtl8188eu: prevent an underflow in rtw_check_beacon_data()
94bfe4f31f46 mfd: omap-usb-tll: Fix inverted bit use for USB TLL mode
49919278f4ce x86/mm/32: Set the '__vmalloc_start_set' flag in initmem_init()
daccc774edf2 serial: efm32: Fix parity management in 'efm32_uart_console_get_options()'
394dc0f7c2ae mac80211: don't send SMPS action frame in AP mode when not needed
8373afb6cb12 mac80211: fix IBSS presp allocation size
26e7f9d274cf mac80211: fix CSA in IBSS mode
5125e4a41299 mac80211/wpa: use constant time memory comparison for MACs
1a8dacfbbbe7 mac80211: don't look at the PM bit of BAR frames
61df07cce8eb [media] vb2: Fix an off by one error in 'vb2_plane_vaddr'
6ea9210c046f can: gs_usb: fix memory leak in gs_cmd_reset()
d30248c41364 configfs: Fix race between create_link and configfs_rmdir
9307fb9f34e1 sparc64: make string buffers large enough
b865f707d7c6 xtensa: don't use linux IRQ #0
ddda59580e10 tipc: ignore requests when the connection state is not CONNECTED
1b98bab153c7 proc: add a schedule point in proc_pid_readdir()
a20b7cab8735 romfs: use different way to generate fsid for BLOCK or MTD
3e335922279b mn10300: fix build error of missing fpu_save()
86e9b2ee9cc6 sctp: sctp_addr_id2transport should verify the addr before looking up assoc
5fbc861ad7eb r8152: re-schedule napi for tx
41e0083c7ddb drm/ast: Fixed system hanged if disable P2A
9b50bb2bc343 drm/nouveau: Don't enabling polling twice on runtime resume
c29b8f7d2d1e parisc, parport_gsc: Fixes for printk continuation lines
8cc579971086 net: adaptec: starfire: add checks for dma mapping errors
6d43352435ba net/mlx4_core: Avoid command timeouts during VF driver device shutdown
295a19f594e8 drm/nouveau/fence/g84-: protect against concurrent access to semaphore buffers
510c29634e35 fscache: Clear outstanding writes when disabling a cookie
42c32ac3cec6 ethtool: do not vzalloc(0) on registers dump
eaabe4b74095 log2: make order_base_2() behave correctly on const input value zero
8bc30cf03ca1 kasan: respect /proc/sys/kernel/traceoff_on_warning
acd666657821 jump label: pass kbuild_cflags when checking for asm goto support
cb2098ab876e PM / runtime: Avoid false-positive warnings from might_sleep_if()
d3121ad14562 ARM: defconfigs: make NF_CT_PROTO_SCTP and NF_CT_PROTO_UDPLITE built-in
4c8eb6278488 ipv6: Fix IPv6 packet loss in scenarios involving roaming + snooping switches
0def8e45d25f sierra_net: Add support for IPv6 and Dual-Stack Link Sense Indications
0c2950fa861d sierra_net: Skip validating irrelevant fields for IDLE LSIs
a9cbb7cd1868 NET: mkiss: Fix panic
d914dc3b811d NET: Fix /proc/net/arp for AX.25
68978d69ea6f ipv6: Inhibit IPv4-mapped src address on the wire.
197082364320 ipv6: Handle IPv4-mapped src to in6addr_any dst.
dd4d061cf1f6 net: xilinx_emaclite: fix receive buffer overflow
742e7978eaba net: xilinx_emaclite: fix freezes due to unordered I/O
afae1d9da32e partitions/msdos: FreeBSD UFS2 file systems are not recognized
7f6abe4c0560 PCI/PM: Add needs_resume flag to avoid suspend complete optimization
cd1c4f855f68 usercopy: Adjust tests to deal with SMAP/PAN
9da808668b58 arm64: entry: improve data abort handling of tagged pointers
47e49f2d1eda drivers: char: mem: Fix wraparound check to allow mappings up to the end
bb3556c1d155 ASoC: Fix use-after-free at card unregistration
88c41586db86 ALSA: timer: Fix missing queue indices reset at SNDRV_TIMER_IOCTL_SELECT
5d28ba6eecde ALSA: timer: Fix race between read and ioctl
29837be8e922 drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()
d6f90404eaa0 perf/core: Drop kernel samples even though :u is specified
f44556278b79 powerpc/hotplug-mem: Fix missing endian conversion of aa_index
7ee9689e6b68 powerpc/numa: Fix percpu allocations to be NUMA aware
eecbbd835e2e scsi: qla2xxx: don't disable a not previously enabled PCI device
4a213a0fe0b3 KVM: arm/arm64: Handle possible NULL stage2 pud when ageing pages
951269f95603 btrfs: fix memory leak in update_space_info failure path
d42014c8d4ce btrfs: use correct types for page indices in btrfs_page_exists_in_range
cc558c203ce1 cxl: Fix error path on bad ioctl
c58e11d1da35 ufs: set correct ->s_maxsize
7ba100d53ebc fix ufs_isblockset()
7f8053503ed2 cpuset: consider dying css as offline
51037ec2ee8e iio: proximity: as3935: fix AS3935_INT mask
60e9d774dc8e staging/lustre/lov: remove set_fs() call from lov_getstripe()
6f4f7e81b18e usb: chipidea: debug: check before accessing ci_role
9738b3df00b1 usb: chipidea: udc: fix NULL pointer dereference if udc_start failed
db87e41d61aa usb: gadget: f_mass_storage: Serialize wake and sleep execution
926295793364 ext4: keep existing extra fields when inode expands
4d1adc2ada19 ext4: fix SEEK_HOLE
8406f302e985 KVM: async_pf: avoid async pf injection when in guest mode
fdb67b2a3a16 arm: KVM: Allow unaligned accesses at HYP
1e8dabb6aa14 KVM: cpuid: Fix read/write out-of-bounds vulnerability in cpuid emulation
702eb8d270f2 kvm: async_pf: fix rcu_irq_enter() with irqs enabled
4b1bf4b008ca nfsd4: fix null dereference on replay
026ed759f4f4 crypto: gcm - wait for crypto op not signal safe
e02ed52dd2d3 KEYS: fix freeing uninitialized memory in key_update()
a38f69cb4a22 ptrace: Properly initialize ptracer_cred on fork
94d53c5028a3 arch/sparc: support NR_CPUS = 4096
252bf31f5d91 sparc64: delete old wrap code
0837a0481106 sparc64: new context wrap
169dc5fd241d sparc64: add per-cpu mm of secondary contexts
ccadb4e680e9 sparc64: redefine first version
5203c6c92724 sparc64: combine activate_mm and switch_mm
317a444875fd sparc64: reset mm cpumask after wrap
a2334e23c296 sparc: Machine description indices can vary
8ee93884863e sparc64: mm: fix copy_tsb to correctly copy huge page TSBs
246fa51013e3 net: ethoc: enable NAPI before poll may be scheduled
169a7e245c7f net: ping: do not abuse udp_poll()
59dc08f8f5e7 ipv6: Fix leak in ipv6_gso_segment().
f257e5d318a5 tcp: disallow cwnd undo when switching congestion control
fa95ca65fb86 cxgb4: avoid enabling napi twice to the same queue
cd276bb4fe54 ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt()
e616f6da095e bnx2x: Fix Multi-Cos
d600ccd7fd21 xfs: fix unaligned access in xfs_btree_visit_blocks
20d07bb1567a xfs: bad assertion for delalloc an extent that start at i_size
45ed7e2f2f82 xfs: fix indlen accounting error on partial delalloc conversion
1a229fd5ae97 xfs: wait on new inodes during quotaoff dquot release
b822f03516c9 xfs: update ag iterator to support wait on new inodes
821afaaed81d xfs: support ability to wait on new inodes
9b1260c216af xfs: fix up quotacheck buffer list error handling
022e9b0e554b xfs: prevent multi-fsb dir readahead from reading random blocks
641967d1f903 xfs: handle array index overrun in xfs_dir2_leaf_readbuf()
17d031b4add7 xfs: fix over-copying of getbmap parameters from userspace
74d27999c51e xfs: use dedicated log worker wq to avoid deadlock with cil wq
ddf2f45b3344 xfs: fix kernel memory exposure problems
9bf638a08ad2 mm/migrate: fix refcount handling when !hugepage_migration_supported()
c7dbf874d6b5 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
9fcaaa87e08c fs/ufs: Set UFS default maximum bytes per file
b36188f229d6 sparc: Fix -Wstringop-overflow warning
80f68f7daeb3 sctp: fix ICMP processing if skb is non-linear
01426eb3503d tcp: avoid fastopen API to be used on AF_UNSPEC
a10f1d6ad744 virtio-net: enable TSO/checksum offloads for Q-in-Q vlans
a05aec67cd6b be2net: Fix offload features for Q-in-Q packets
b7b05a3b40e8 vlan: Fix tcp checksum offloads in Q-in-Q vlans
d78ddec4e7fb ipv6: fix out of bound writes in __ip6_append_data()
acf388f77791 qmi_wwan: add another Lenovo EM74xx device ID
7144c12e891d ipv6: Check ip6_find_1stfragopt() return value properly.
e7f05ff30b0c ipv6: Prevent overrun when parsing v6 header options
3e674773cb5e tcp: eliminate negative reordering in tcp_clean_rtx_queue
e7b4f3d39f46 sctp: do not inherit ipv6_{mc|ac|fl}_list from parent
61d62ee79cec tcp: avoid fragmenting peculiar skbs in SACK
93dcd4929d18 net: fix compile error in skb_orphan_partial()
7a230cfdf208 netem: fix skb_orphan_partial()
8404b686a33c s390/qeth: avoid null pointer dereference on OSN
89b9ca1dd7d0 s390/qeth: unbreak OSM and OSN support
0b651772fed7 s390/qeth: handle sysfs error during initialization
4e0ecb773276 dccp/tcp: do not inherit mc_list from parent
4bd4cfc5210e Linux 4.1.41
c1dd3f51ad77 mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp
afeb39160249 xc2028: Fix use-after-free bug properly
5eef36af5974 iio: proximity: as3935: fix as3935_write
e8701e0f6768 ipx: call ipxitf_put() in ioctl error path
709dcf11a353 sched/fair: Initialize throttle_count for new task-groups lazily
0f665ed5581f sched/fair: Do not announce throttled next buddy in dequeue_task_fair()
953334de0819 iio: dac: ad7303: fix channel description
60e2e499e37d mwifiex: pcie: fix cmd_buf use-after-free in remove/reset
036ab4111761 rtlwifi: rtl8821ae: setup 8812ae RFE according to device type
df8198865a0f ARM: tegra: paz00: Mark panel regulator as enabled on boot
fda7c899dd76 fs/xattr.c: zero out memory copied to userspace in getxattr
273225634fef vfio/type1: Remove locked page accounting workqueue
358fa411ba9a crypto: algif_aead - Require setkey before accept(2)
e0b7d5eae185 staging: gdm724x: gdm_mux: fix use-after-free on module unload
47655216cdf4 drm/ttm: fix use-after-free races in vm fault handling
46527f8d11fa f2fs: sanity check segment count
2b674f4ecce8 ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf
4aaeda7f5c4f ipv6: initialize route null entry in addrconf_init()
1d9afaa5c0a8 rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string
226d200531f4 ipv4, ipv6: ensure raw socket message is big enough to hold an IP header
14e82f4ce5bb tcp: fix wraparound issue in tcp_lp
38853e5c3775 tcp: do not underestimate skb->truesize in tcp_trim_head()
918d8536e126 ALSA: hda - Fix deadlock of controller device lock at unbinding
1c370084c6f3 staging: emxx_udc: remove incorrect __init annotations
8602853345b7 staging: wlan-ng: add missing byte order conversion
bd253cf63929 brcmfmac: Make skb header writable before use
c4efbc9ce69d brcmfmac: Ensure pointer correctly set if skb data location changes
62494116045e MIPS: R2-on-R6 MULTU/MADDU/MSUBU emulation bugfix
48ea252abd40 scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m
ddfc6a095d10 serial: 8250_omap: Fix probe and remove for PM runtime
2c7105e86e3d USB: serial: io_edgeport: fix descriptor error handling
00f244650faf USB: serial: mct_u232: fix modem-status error handling
0379d54281fc USB: serial: quatech2: fix control-message error handling
e2eaebce9d20 USB: serial: ftdi_sio: fix latency-timer error handling
e7ccc604153b USB: serial: ark3116: fix open error handling
b5b985c3a0bd USB: serial: ti_usb_3410_5052: fix control-message error handling
dc7697bad3f6 USB: serial: io_edgeport: fix epic-descriptor handling
4e78688b4cb3 USB: serial: ssu100: fix control-message error handling
0f5e27457f1a USB: serial: digi_acceleport: fix incomplete rx sanity check
5d7985765271 USB: serial: keyspan_pda: fix receive sanity checks
9de980a19940 usb: host: ohci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
08fd577b4b0f usb: host: ehci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
0a9f0af48e3f KVM: nVMX: initialize PML fields in vmcs02
4736ccc83dfc Revert "KVM: nested VMX: disable perf cpuid reporting"
7a07dbb8c25c x86/platform/intel-mid: Correct MSI IRQ line for watchdog device
92e01bd47512 kprobes/x86: Fix kernel panic when certain exception-handling addresses are probed
19d416eaccbb x86/pci-calgary: Fix iommu_free() comparison of unsigned expression >= 0
ae0f7bd8e226 mwifiex: Avoid skipping WEP key deletion for AP
34390bea46f7 mwifiex: remove redundant dma padding in AMSDU
a5a09b34dab1 mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print
039747b6ef2d power: supply: bq24190_charger: Install irq_handler_thread() at end of probe()
f3b0fe6bfcbf power: supply: bq24190_charger: Call set_mode_host() on pm_resume()
0ba15a289c67 power: supply: bq24190_charger: Fix irq trigger to IRQF_TRIGGER_FALLING
ab1b642339b3 powerpc/powernv: Fix opal_exit tracepoint opcode
5d1767ceff1f cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores
16968228efa5 9p: fix a potential acl leak
c41e1ba87961 net: tg3: avoid uninitialized variable warning
95660aa2822d mtd: avoid stack overflow in MTD CFI code
b9e4b97eb9a0 drbd: avoid redefinition of BITS_PER_PAGE
1de253cbd35b ALSA: ppc/awacs: shut up maybe-uninitialized warning
db14464180fa timerfd: Protect the might cancel mechanism proper
11d54db42149 ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
77ded373242b ipv6: check raw payload size correctly in ioctl
0c8f1722d1d6 ip6mr: fix notification device destruction
7f4ab2ced0a7 netpoll: Check for skb->queue_mapping
74c4460b6482 sctp: listen on the sock only when it's state is listening or closed
7d1a0fdd41f8 net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
6824dcd302fd l2tp: take reference on sessions being dumped
cc09115fb0b9 net/packet: fix overflow in check for tp_reserve
fed853407cc2 net/packet: fix overflow in check for tp_frame_nr
9ba240219c96 l2tp: purge socket queues in the .destruct() callback
28bad8a652e9 net: phy: handle state correctly in phy_stop_machine
b39245e33e95 net: neigh: guard against NULL solicit() method
9ffb20a69946 sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
1acc886c425e sparc64: kern_addr_valid regression
5023f12103b9 xen/x86: don't lose event interrupts
b64d082304fe usb: gadget: f_midi: Fixed a bug when buflen was smaller than wMaxPacketSize
e7211d1ff579 RDS: Fix the atomicity for congestion map update
92bf6b466b99 MIPS: Fix crash registers on non-crashing CPUs
d0388c0e2556 md:raid1: fix a dead loop when read from a WriteMostly disk
f364181f7aa2 crypto: testmgr - fix out of bound read in __test_aead()
9800a9a4b17a [media] xc2028: unlock on error in xc2028_set_config()
c5ef0e9f70d1 f2fs: do more integrity verification for superblock
5f1cef9e823a ping: implement proper locking
9c90c093b98f staging/android/ion : fix a race condition in the ion driver
073e9973d48b vfio/pci: Fix integer overflows, bitmask check
e21b00fe6cc7 [media] xc2028: avoid use after free
c8580e3dcd00 tipc: fix random link resets while adding a second bearer
5eb668f8442e gfs2: avoid uninitialized variable warning
6013c31fb7e1 hostap: avoid uninitialized variable use in hfa384x_get_rid
56c3cd096747 tty: nozomi: avoid a harmless gcc warning
39a978c3e192 tipc: re-enable compensation for socket receive buffer double counting
0c28e96f0fec block: fix del_gendisk() vs blkdev_ioctl crash
0c4670d5a6a4 Drivers: hv: balloon: account for gaps in hot add regions
2cbbeec3e5a7 Drivers: hv: balloon: keep track of where ha_region starts
5b9ab933c369 x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
749cab856042 Drivers: hv: vmbus: Reduce the delay between retries in vmbus_post_msg()
38f9c4b9176a Drivers: hv: don't leak memory in vmbus_establish_gpadl()
9f4a8ebb750b net: ipv6: check route protocol when deleting routes
5ce729a895b0 tty/serial: atmel: RS485 half duplex w/DMA: enable RX after TX is done
9d86a569dbd7 catc: Use heap buffer for memory size test
4d7726afea37 catc: Combine failure cleanup code in catc_probe()
61bd90b31be7 rtl8150: Use heap buffers for all register access
7b69bee71416 pegasus: Use heap buffers for all register access
0dd8a4702cbc virtio-console: avoid DMA from stack
eb618d2eb22b mm: Tighten x86 /dev/mem with zeroing reads
187887b3dbae rtc: tegra: Implement clock handling
ea215d798bc2 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
4473dc376c48 [media] dvb-usb-v2: avoid use-after-free
68e9c254f662 kvm: fix page struct leak in handle_vmon
f800bcede54d char: lack of bool string made CONFIG_DEVPORT always on
d1cdf638cde8 char: Drop bogus dependency of DEVPORT on !M68K
6d1174d8ff9d net/mlx4_core: Fix when to save some qp context flags for dynamic VST to VGT transitions
8a8878b16056 net/mlx4_en: Fix bad WQE issue
037948b4f092 usb: hub: Wait for connection to be reestablished after port reset
dd07486ceba4 net/packet: fix overflow in check for priv area size
c9d0eb33ba82 MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
cd7de3163c8c MIPS: Only change $28 to thread_info if coming from user mode
aa7ae7fee5d6 mtd: bcm47xxpart: fix parsing first block after aligned TRX
1669925abfce usb: dwc3: gadget: delay unmap of bounced requests
aa612d59c08f mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
00fc586ea741 mlock: fix mlock count can not decrease in race condition
001360714b85 mm/memory-failure: introduce get_hwpoison_page() for consistent refcount handling
da7cbd0c660c mm/memory-failure: split thp earlier in memory error handling
aeb3435b4987 slub/memcg: cure the brainless abuse of sysfs attributes
afc6ec14b863 blkcg: use blkg_free() in blkcg_init_queue() failure path
f9fac98fc753 blkcg: always create the blkcg_gq for the root blkcg
712b6a6dceb2 iscsi-target: Use shash and ahash
1bd31de39e62 target/iscsi: Use proper SGL accessors for digest computation
89ff28d0d690 iscsi-target: Fix initial login PDU asynchronous socket close OOPs
09cb399b6219 target/iscsi: Fix indentation in iscsi_target_start_negotiation()
68185cb17f7e iscsi-target: Fix early sk_data_ready LOGIN_FLAGS_READY race
5df474e63ca5 cpufreq: cpufreq_register_driver() should return -ENODEV if init fails
7e144ca4d77a drm/msm: Expose our reservation object when exporting a dmabuf.
7e185e0063bc xfs: Fix missed holes in SEEK_HOLE implementation
59acce815cd6 xfs: fix off-by-one on max nr_pages in xfs_find_get_desired_pgoff()
b96e5f18eb81 drm/radeon: Unbreak HPD handling for r600+
81402e4033a7 dmaengine: ep93xx: Don't drain the transfers in terminate_all()
1a45b842de71 dmaengine: ep93xx: Always start from BASE0
72a5ed836013 drm/gma500/psb: Actually use VBT mode when it is found
4f268a106e88 PCI / PM: Avoid resuming more devices during system suspend
b060ae49eb94 PCI: Add quirk for Intel DH895xCC VF PCI config erratum
e0bda32c5bc5 ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430
9dbe42c5ae46 mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
0210333e202b i2c: i2c-tiny-usb: fix buffer not being DMA capable
8852d28b3f06 x86/mce: Don't use percpu workqueues
94d42e8811f4 osf_wait4(): fix infoleak
156c18c7d9ed KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulation
e8b80de6d76e watchdog: pcwd_usb: fix NULL-deref at probe
9ef27e6ccbe0 drivers: char: mem: Check for address space wraparound with mmap()
682182e924ea serial: core: fix crash in uart_suspend_port
b614900e0650 tty: Fix GPF in flush_to_ldisc()
2e279b7d786c tty: fix data race in flush_to_ldisc
3e984ccc90f8 serial: ifx6x60: fix use-after-free on module unload
191c13c554e5 serial: ifx6x60: Remove dangerous spi_driver casts
95a639d15067 Revert "tty_port: register tty ports with serdev bus"
1520f7e76d45 tty_port: register tty ports with serdev bus
0095625438b2 usb: musb: tusb6010_omap: Do not reset the other direction's packet size
d7cc01aa1796 usb: host: xhci-plat: propagate return value of platform_get_irq()
1458bfaae6c8 USB: xhci: fix lock-inversion problem
a0334d0ba6ad usb: host: xhci: simplify irq handler return
8732affeaf37 usb: host: xhci-mem: allocate zeroed Scratchpad Buffer
2f68fe68ad96 xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton
e17762c03b3e tracing/kprobes: Enforce kprobes teardown after testing
78de28c67c8f of: fdt: add missing allocation-failure check
ac38837324c2 USB: serial: qcserial: add more Lenovo EM74xx device IDs
2a3835ffa5ed USB: hub: fix non-SS hub-descriptor handling
c5922c99f193 USB: hub: fix SS hub-descriptor handling
de90980c52da USB: iowarrior: fix info ioctl on big-endian hosts
46b3a375a926 uwb: fix device quirk on big-endian hosts
8ace7b038603 USB: core: replace %p with %pK
083112faaf11 USB: ene_usb6250: fix DMA to the stack
a3670852d2fb USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs
d0e929a4e63f char: lp: fix possible integer overflow in lp_setup()
da6d8dbb5da7 dm bufio: make the parameter "retain_bytes" unsigned long
b9805634c6de genirq: Introduce struct irq_common_data to host shared irq data
073bc325fdc4 usb: dwc3: make dwc3_debugfs_init return value be void
83204fd38a02 kvm arm: Move fake PGD handling to arch specific files
060e39373d8a ARM: KVM: Remove pointless void pointer cast
0bef2bd6fa64 dmaengine: usb-dmac: Fix DMAOR AE bit definition
873bdf5cd492 dm space map disk: fix some book keeping in the disk space map
a42b975f484e dm thin metadata: call precommit before saving the roots
2cd394cd1046 USB: serial: io_ti: fix div-by-zero in set_termios
a1dfb5701675 USB: serial: mct_u232: fix big-endian baud-rate handling
391f2e944624 USB: serial: ftdi_sio: fix setting latency for unprivileged users
048a9813c3e5 usb: serial: option: add Telit ME910 support
092c6f1e1630 ARM: dts: imx6sx-sdb: Remove OPP override
ba640473d7c9 ARM: dts: imx6sx-sdb: Add 198MHz operational point
4bb916c171fa cgroup: use bitmask to filter for_each_subsys
034dd596324d sched, cgroup: reorganize threadgroup locking
0e521eabd7a3 pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes
57cd95a5dcbc net: irda: irda-usb: fix firmware name on big-endian hosts
38f915577c6e s390/cputime: fix incorrect system time
98442999b967 dccp: fix freeing skb too early for IPV6_RECVPKTINFO
56d847e3ef94 Linux 4.1.40
5c564705d3f0 udp: properly support MSG_PEEK with truncated buffers
f97e5ec81364 nfsd: encoders mustn't use unitialized values in error cases
a7b4cdeb22f5 arm64: uaccess: ensure extension of access_ok() addr
ed3ffd7c7fb9 arm64: documentation: document tagged pointer stack constraints
f8a4b26e261d target/fileio: Fix zero-length READ and WRITE handling
9d68722df885 CIFS: add misssing SFM mapping for doublequote
14f24a466cd1 iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement
3aa99b61c099 target: Fix compare_and_write_callback handling for non GOOD status
0c5623052d48 of: fix sparse warning in of_pci_range_parser_one
3e9e9c708f10 ceph: fix memory leak in __ceph_setxattr()
009a83913e29 SMB3: Work around mount failure when using SMB3 dialect to Macs
ffd28faab493 CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
ae5175c8dba4 fs/block_dev: always invalidate cleancache in invalidate_bdev()
e895a1054e25 um: Fix PTRACE_POKEUSER on x86_64
327d78550aea metag/uaccess: Check access_ok in strncpy_from_user
31390049dfd2 Set unicode flag on cifs echo request to avoid Mac error
3ea80afb2dce metag/uaccess: Fix access_ok()
17535d260b75 target: Fix VERIFY and WRITE VERIFY command parsing
edd3ad16ead4 dm bufio: check new buffer allocation watermark every 30 seconds
bbe86592f9c3 dm bufio: avoid a possible ABBA deadlock
9575253a91e6 Bluetooth: Fix user channel for 32bit userspace on 64bit kernel
ca38d087f1b0 ext4: evict inline data when writing to memory map
3a9700b0709e proc: Fix unbalanced hard link numbers
2279c8b917f7 dm ioctl: prevent stack leak in dm ioctl call
5afff19d82af nfsd: stricter decoding of write-like NFSv2/v3 ops
24c3569dd195 nfsd4: minor NFSv2/v3 write decoding cleanup
c9bb9f02b048 nfsd: check for oversized NFSv2/v3 arguments
6a5e61496c48 usb: Make sure usb/phy/of gets built-in
372323131cd0 ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
b583cc935477 Input: i8042 - add Clevo P650RS to the i8042 reset list
56e191701252 dm era: save spacemap metadata root after the pre-commit
6a887571cad2 dm btree: fix for dm_btree_find_lowest_key()
2ad7696baa06 powerpc/pseries: Fix of_node_put() underflow during DLPAR remove
e756dc9e7bfb IB/mlx4: Fix ib device initialization error flow
50f63ac752b8 x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup
51cad4572c02 ring-buffer: Have ring_buffer_iter_empty() return true when empty
2933c0ba9193 ACPI / power: Avoid maybe-uninitialized warning
f7f44f588722 tracing: Allocate the snapshot buffer before enabling probe
73270592d94b usb: host: xhci: print correct command ring address
5ba52c08d1d1 [media] ttusb2: limit messages to buffer size
e1dfe98dda6a USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
00461b9f4817 PCI: Freeze PME scan before suspending devices
57b8e3a6524b regulator: tps65023: Fix inverted core enable logic.
1ff629068e6e [media] zr364xx: enforce minimum size when reading header
a0f82864854a KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
86d961e25888 KEYS: Change the name of the dead type to ".dead" to prevent user access
4ef48e49b1c5 KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
369cd3933506 powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
199ea04d7d01 cifs: Do not send echoes before Negotiate is complete
b291f2ed870a p9_client_readdir() fix
98ae917fd128 ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
429957317eac ARM: dts: at91: sama5d3_xplained: fix ADC vref
c7f3669caa0b zram: do not use copy_page with non-page aligned address
ac87ea2ff7d7 zram: fix operator precedence to get offset
7bee1c58a629 ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
93dfafeefbb6 MIPS: KGDB: Use kernel context for sleeping threads
22afb4fc42e4 PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms
1ecc90c7e6b4 MIPS: Avoid BUG warning in arch_check_elf
396f0fe4cc1b s390/mm: fix CMMA vs KSM vs others
fab0b034bd91 serial: omap: suspend device on probe errors
0ea0b8f3adbe serial: omap: fix runtime-pm handling on unbind
113cc52cf9fe CIFS: store results of cifs_reopen_file to avoid infinite wait
5c6d0e841556 CIFS: remove bad_network_name flag
417dc40ebaf2 Input: xpad - add support for Razer Wildcat gamepad
3a5df486f2e1 x86/vdso: Plug race between mapping and ELF header setup
7ec71e0bb16d md: update slab_cache before releasing new stripes when stripes resizing
2da764d4c67b padata: free correct variable
ce0e21e44f97 crypto: ahash - Fix EINPROGRESS notification callback
4ee5f3baad19 [media] cx231xx-audio: fix NULL-deref at probe
8b6c66045c33 [media] cx231xx-audio: fix init error path
5a4e9221b31b [media] cx231xx-cards: fix NULL-deref at probe
a44bcf6b4c54 [media] usbvision: fix NULL-deref at probe
c7bcf82e59ea [media] dib0700: fix NULL-deref at probe
27a0c2317453 serial: samsung: Use right device for DMA-mapping calls
5eb0c97fc835 sysfs: be careful of error returns from ops->show()
dad2a28d46e7 staging: android: ashmem: lseek failed due to no FMODE_LSEEK.
4ac302f8832f usb: misc: add missing continue in switch
34a2eb59fc13 ptrace: fix PTRACE_LISTEN race corrupting task->state
8624aeaec37d scsi: sd: Fix capacity calculation with 32-bit sector_t
9535300dd7e2 scsi: sr: Sanity check returned mode data
21ebc869930a ipmi: Fix kernel panic at ipmi_ssif_thread()
82bfc1d9bc5d xen, fbfront: fix connecting to backend
8dd5c1281e98 Reset TreeId to zero on SMB2 TREE_CONNECT
3707e32c8fcc [media] s5p-mfc: Fix unbalanced call to clock management
01ea8f2396af [media] gspca: konica: add missing endpoint sanity check
206374212c28 IB/IPoIB: ibX: failed to create mcg debug file
f585e26312b5 metag/usercopy: Add missing fixups
c31ac9be1dc2 metag/usercopy: Fix src fixup in from user rapf loops
09e3cca03b29 metag/usercopy: Set flags before ADDZ
7c3a804c24cc metag/usercopy: Zero rest of buffer from copy_from_user
f58b27f0ce36 metag/usercopy: Add early abort to copy_to_user
fde1ed807fc6 metag/usercopy: Fix alignment error checking
59465f2b425d metag/usercopy: Drop unused macros
8da28861bfab ring-buffer: Fix return value check in test_ringbuffer()
4cc0a6f14611 crypto: caam - fix RNG deinstantiation error checking
c94b3a0d7a27 powerpc/mm: Add missing global TLB invalidate if cxl is active
ca4f5edccb94 ath9k_htc: fix NULL-deref at probe
783494a2cf45 powerpc: Don't try to fix up misaligned load-with-reservation instructions
ea42f85ce0a6 kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
407526d5f5cc tpm: add sleep only for retry in i2c_nuvoton_write_status()
779a96681b4b tpm_crb: check for bad response size
331f718a9746 tpm: msleep() delays - replace with usleep_range() in i2c nuvoton driver
e43c2447f8ed iscsi-target: Drop work-around for legacy GlobalSAN initiator
d2762e9848bb cdc-acm: fix possible invalid access when processing notification
4d8a7de65c82 mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
5c9eddc3db73 ALSA: hda - fix a problem for lineout on a Dell AIO machine
d91a91d8f6ba drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
6431059d9e0f drm/vmwgfx: Remove getparam error message
b31c507e2c3b drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()
13b52a46a677 drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
55f1d24ac1ab drm/vmwgfx: Type-check lookups of fence objects
18bcea4e8d2e iscsi-target: Fix TMR reference leak during session shutdown
bfa5d70414f2 ubi/upd: Always flush after prepared for an update
c127ce428b73 s390/uaccess: get_user() should zero on failure (again)
0d2f98e74d4f USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously
6842ff6056ea ACPI: Fix incompatibility with mcount-based function graph tracing
e5dcf4e37e91 ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
e2b3e7de14ba virtio_balloon: init 1st buffer in stats vq
a205b2e5a2a0 powerpc: Disable HFSCR[TM] if TM is not supported
f8889a244545 drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
848f94592710 USB: fix linked-list corruption in rh_call_control()
3492352e1f34 ALSA: seq: Fix race during FIFO resize
55e9d9474816 [media] mceusb: fix NULL-deref at probe
91848cdb7ae7 xen/acpi: upload PM state from init-domain to Xen
970a7a72b32d pinctrl: qcom: Don't clear status bit on irq_unmask
fbb9dd5123de mmc: sdhci: Do not disable interrupts while waiting for clock
a2f7beb42427 usb: hub: Do not attempt to autosuspend disconnected devices
041fad219db7 usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
d4cbbe1460c4 s390/decompressor: fix initrd corruption caused by bss clear
f1c9472e3dce ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
d57b1afab5a8 scsi: libsas: fix ata xfer length
972d4b4f2c7b arm/arm64: KVM: Take mmap_sem in kvm_arch_prepare_memory_region
474d78d49b8b arm/arm64: KVM: Take mmap_sem in stage2_unmap_vm
d59cf3fa94db USB: serial: qcserial: add Dell DW5811e
6338e370099a x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
1b9537d72610 tty: pty: Fix ldisc flush after userspace become aware of the data already
44705deddafe usb: hub: Fix crash after failure to read BOS descriptor
09b3048b2880 ACM gadget: fix endianness in notifications
861b5c18bb14 scsi: sg: check length passed to SG_NEXT_CMD_LEN
7268eabd5b5f Input: sur40 - validate number of endpoints before using them
84a91ce02105 Input: kbtab - validate number of endpoints before using them
f1ba9cf02776 Input: hanwang - validate number of endpoints before using them
36d425fcc164 Input: yealink - validate number of endpoints before using them
79cae616c940 Input: ims-pcu - validate number of endpoints before using them
6585effe7d22 Input: cm109 - validate number of endpoints before using them
76d981017361 Input: iforce - validate number of endpoints before using them
edf3bd9562a9 mmc: ushc: fix NULL-deref at probe
93d21fdc17e5 drm/radeon: reinstate oland workaround for sclk
71a1c9d004ed perf/core: Fix event inheritance on fork()
4da3251aac57 cpufreq: Fix and clean up show_cpuinfo_cur_freq()
85fa60732c80 drm/radeon/si: add dpm quirk for Oland
772653bea403 ext4: mark inode dirty after converting inline directory
e8959ed1fd07 futex: Add missing error handling to FUTEX_REQUEUE_PI
33fcd6ecaf0f futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
56d75a164c87 ARM: at91: pm: cpu_idle: switch DDR to power-down mode
ce6df3d36d07 usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
ed4b286d254b usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
599dc7743f74 uwb: i1480-dfu: fix NULL-deref at probe
50c372bd694d uwb: hwa-rc: fix NULL-deref at probe
7896de4f8b00 USB: wusbcore: fix NULL-deref at probe
0b3718017641 USB: uss720: fix NULL-deref at probe
aee563c5ffb5 USB: lvtest: fix NULL-deref at probe
a2574cf7887d USB: idmouse: fix NULL-deref at probe
13cd0c011e73 isdn/gigaset: fix NULL-deref at probe
027a48c195e1 fat: fix using uninitialized fields of fat_inode/fsinfo_inode
c4743e805d43 md/raid1/10: fix potential deadlock
6eea126f9d6d usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
92b280212adf USB: iowarrior: fix NULL-deref in write
c4b516612312 USB: iowarrior: fix NULL-deref at probe
4db7a852b417 ath9k_htc: Add support of AirTies 1eda:2315 AR9271 device
394e5f4a60c1 USB: serial: safe_serial: fix information leak in completion handler
e0f57e1a406c USB: serial: io_ti: fix information leak in completion handler
5dfb04937689 USB: serial: omninet: fix reference leaks at open
6aed13b2c40e USB: serial: io_ti: fix NULL-deref in interrupt callback
92fbcbfe994f MIPS: ralink: Fix typos in rt3883 pinctrl
7ba49ba6dd09 MIPS: End spinlocks with .insn
d7f84ae03ff3 MIPS: Force o32 fp64 support on 32bit MIPS64r6 kernels
248e94265dd0 target: Fix VERIFY_16 handling in sbc_parse_cdb
452c3c927325 target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
076df4623c10 scsi: lpfc: Add shutdown method for kexec
e04d8b65f412 powerpc/boot: Fix zImage TOC alignment
5c8f767c657b serial: samsung: Continue to work if DMA request fails
46df5258a521 Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
9d3698c9b85c ima: accept previously set IMA_NEW_FILE
86525f9f4474 percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
42ece5f50098 usb: gadget: dummy_hcd: clear usb_gadget region before registration
7ccd5568eab8 USB: serial: digi_acceleport: fix OOB-event processing
6842c8457292 staging: comedi: jr3_pci: cope with jiffies wraparound
29e34e47fadf staging: comedi: jr3_pci: fix possible null pointer dereference
c48408dff998 usb: gadget: function: f_fs: pass companion descriptor along
757895c336d6 usb: dwc3: gadget: make Set Endpoint Configuration macros safe
2e9d3a921000 tracing: Add #undef to fix compile error
bd38086c6b2a can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
99d3d49197e1 powerpc: Emulation support for load/store instructions on LE
381785176cc1 KVM: s390: Fix guest migration for huge guests resulting in panic
7caf29dc038c xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
14abcbaa3f0d scsi: libiscsi: add lock around task lists to fix list corruption regression
28d5d8b2db22 ALSA: seq: Fix link corruption by event error handling
b78e49c3057a ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming
d19f6529f1c1 ALSA: timer: Reject user params with too small ticks
3d35f4422582 drm/ast: Call open_key before enable_mmio in POST code
2188c2b367c6 drm/ast: Fix test for VGA enabled
e8b120e25fbc drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
c9cf983337a0 ipc/shm: Fix shmat mmap nil-page protection
1827f7e6062b mac80211: flush delayed work when entering suspend
0dad072cfc1d ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine
e5ee49ad28a0 mm: do not access page->mapping directly on page_endio
21a6489deda1 mm: vmpressure: fix sending wrong events on underflow
091e3373d97f mm/page_alloc: fix nodes for reclaim in fast path
7ec8bd575e7b s390: TASK_SIZE for kernel threads
01592a4b8ba8 NFSv4: fix getacl ERANGE for some ACL buffer sizes
bb9e115a5e85 NFSv4: fix getacl head length estimation
05365e1fdea9 scsi: aacraid: Reorder Adapter status check
f90e6f9a26ba rdma_cm: fail iwarp accepts w/o connection params
a60c9ff335a1 IB/srp: Avoid that duplicate responses trigger a kernel bug
3cac36b0423b MIPS: BCM47XX: Fix button inversion for Asus WL-500W
512cbc94607b MIPS: OCTEON: Fix copy_from_user fault handling for large buffers
9b4ed3674858 MIPS: Fix special case in 64 bit IP checksumming.
85050844c0b9 dm cache: fix corruption seen when using cache > 2TB
c0601ca14e10 Bluetooth: Add another AR3012 04ca:3018 device
da1324e7080d regulator: Fix regulator_summary for deviceless consumers
01f9734353be ALSA: hda - fix Lewisburg audio issue
b57d6c457569 goldfish: Sanitize the broken interrupt handler
c1dbd97d8a2a x86/platform/goldfish: Prevent unconditional loading
58cec2bdba91 ath9k: use correct OTP register offsets for the AR9340 and AR9550
9aabd8dbacd8 powerpc/xmon: Fix data-breakpoint
c2fd678ea234 nlm: Ensure callback code also checks that the files match
e53554da9daf drivers: hv: Turn off write permission on the hypercall page
5fdf59513019 USB: serial: mos7840: fix another NULL-deref at open
61f3d2296678 NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
95f495896ad8 drm/atomic: fix an error code in mode_fixup()
04df6689f870 ktest: Fix child exit code processing
a52f3859b78c ath9k: fix race condition in enabling/disabling IRQs
db5051f86016 rtlwifi: rtl8192c-common: Fix "BUG: KASAN:
f59f883503b7 USB: serial: ftdi_sio: fix line-status over-reporting
4a34581ed021 KVM: s390: Disable dirty log retrieval for UCONTROL guests
6631e70a42ff USB: serial: cp210x: add new IDs for GE Bx50v3 boards
31ac2f17fd85 serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
4c47ad359cc8 jbd2: don't leak modified metadata buffers on an aborted journal
2b24a8367068 s390/qdio: clear DSCI prior to scanning multiple input queues
36e4f568b8f1 s390/dcssblk: fix device size calculation in dcssblk_direct_access()
5e6ef5ef6eaf mnt: Tuck mounts under others instead of creating shadow/side mounts.
54195f1a32ee rtc: sun6i: Switch to the external oscillator
cdb2a7f22913 rtc: sun6i: Add some locking
af1af02352ee USB: serial: digi_acceleport: fix OOB data sanity check
adb1da2a98a2 [media] media: fix dm1105.c build error
c845c73b8396 bcma: use (get|put)_device when probing/removing device driver
e1d467993c45 [media] am437x-vpfe: always assign bpp variable
c53e17083e91 arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2
75f37dab088e ext4: trim allocation requests to group size
07b79ed1e82c drm/radeon: handle vfct with multiple vbios images
1efa8e2ac68b drm/ttm: Make sure BOs being swapped out are cacheable
a99df0713f43 usb: gadget: udc: fsl: Add missing complete function.
8c06df5655c7 USB: serial: ftdi_sio: fix extreme low-latency setting
de143f74af3e w1: don't leak refcount on slave attach failure in w1_attach_slave_device()
271ce5038fbc w1: ds2490: USB transfer buffers need to be DMAable
57389faf841f ARM: dts: at91: Enable DMA on sama5d4_xplained console
61b067fb433a staging: rtl: fix possible NULL pointer dereference
434c09afa6c9 USB: serial: opticon: fix CTS retrieval at open
700b2315c254 USB: serial: spcp8x5: fix modem-status handling
da3a3becb7a8 USB: serial: ftdi_sio: fix modem-status error handling
270ffbd14d81 USB: serial: ark3116: fix register-accessor error handling
131d81690f18 IB/ipoib: Fix deadlock between rmmod and set_mode
24104f6ae3b4 RDMA/core: Fix incorrect structure packing for booleans
fc47912f44a7 ath5k: drop bogus warning on drv_set_key with unsupported cipher
c2e65cde1bd7 tty: serial: msm: Fix module autoload
ccb2e5cdaffa hv: init percpu_list in hv_synic_alloc()
fbb6950ea08a samples/seccomp: fix 64-bit comparison macros
33b9ac915dba scsi: storvsc: properly handle SRB_ERROR when sense message is present
f0cd3119dcd0 scsi: storvsc: use tagged SRB requests if supported by the device
88e4685b51d3 MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps
a6c4b18bdb3a MIPS: Calculate microMIPS ra properly when unwinding the stack
339da589697a MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions
4556bdd21af3 MIPS: Fix get_frame_info() handling of microMIPS function size
7c6a61c004ad MIPS: Prevent unaligned accesses during stack unwinding
39fffbc9b371 MIPS: Clear ISA bit correctly in get_frame_info()
e9ef2a32a2ec drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
(From OE-Core rev: 976c260bfd61e1346c1ef842567eee80a7b7ffca)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kernel configuration changes to
clean up the SMP configuration fragments and fix a configuration
audit warning.
d0e5ea0e199b smp: Separate smp into 32 and 64 bit versions to avoid kernel warnings
f1369c1d817e bsp/mohonpeak: smp gets added by default, remove unnecessary include
6fc22aa1200b bsp/rangeley: smp gets added by default, remove unnecessary include
[YOCTO #11743]
(From OE-Core rev: 6bd4f855cfc95c82d6bf5b00531f1aad752002ee)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As pointed out by klapperichpaul@johndeere.com, missing configuration
fragments were being picked up twice, once by the tools and once by the
bbclass. Unfortunately, the tools error message was being detected as
configs, and hence no error was reported at all.
Rather than catching the output of the tools, we can instead check the
return code and propagate the error message from the tools directly to
the user.
[YOCTO #11649]
(From OE-Core rev: 960652416e2390337df6d9734375d6829ceb6420)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible that src/intel/vulkcan can be written into by sed before it has
been created, so add the required mkdir calls.
(From OE-Core rev: 19e793f65d214294baa9eeaf982f4ced351c7748)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't EXCLUDE_FROM_WORLD, mesa.inc already does this.
Don't add a non-existing path to FILESEXTRAPATHS.
(From OE-Core rev: fa3e2b4c07dffd14b02741470ce274619e9a9bd6)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the conflict between mesa and userland (when former is used to
provide GL and letter used to provide EGL+GLES) by not installing
khrplatform.h header when its not needed.
(From OE-Core rev: 6a079bf5a446c2e98e7444e04dfadaff96342b4f)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove git-relink from PERLTOOLS:
git-2.13.2/Documentation/RelNotes/2.12.0.txt:
* An ancient script "git relink" has been removed.
(From OE-Core rev: f759420ad2a60d0be4ca15f4c9294086ecc86e59)
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>
Version 3.0.6 fixes a failure when using the pxe headers and allows us
to drop the explicit fall through patch as it was fixed upstream.
Other patches were rebased on top of the new version.
(From OE-Core rev: 20c1209f6fe0d56aa3698583a1b6d2774fbf4401)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recipetool seems to be mangling and stripping out the parameters for git
URI. This will fix this issue as well as resolve the conflict of
protocol parameter added by user. If a user adds their own protocol as
an argument, it'll be honored.
[YOCTO #11390]
[YOCTO #11391]
(From OE-Core rev: 0cd2fc8ca278ebaa76de95545eef26a07b350c8e)
Signed-off-by: Stanley Cheong Kwan, Phoong <stanley.cheong.kwan.phoong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we used -fuse-ld gcc option, then it does not work
ending in
collect2: fatal error: cannot find 'ld' compilation terminated.
This is because we are not creating proper symlinks for BFD
and Gold linker in gcc installation
Secondly, we end up with dangling fortran compiler symlinks
if fortran is not enabled when confguring gcc, therefore
create these symlinks only when fortran support is enabled
in gcc
(From OE-Core rev: f84614c082406287e608860741a82edd2f3c9bca)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libxt build fails with this error:
/home/maxin/poky/build/tmp/work/i586-poky-linux/libxt/1_1.1.5-r0/recipe-sysroot/usr/include/bits/long-double.h:57:33:
fatal error: bits/long-double-64.h: No such file or directory
| compilation terminated.
| Makefile:408: recipe for target 'makestrs.o' failed
Fix the makestrs build.
(From OE-Core rev: 844d477982bb104fa1674324d2699b8995a51a58)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libx11 build fails with this error:
fatal error: bits/long-double-64.h: No such file or directory
| compilation terminated.
This is due to the fact that "makekeys" should be compiled for the host
since it is executed at build time to generate ks_tables.h. Since we have
the X11 include files in the standard path of oe-core, we can remove the
X11_CFLAGS from Makefile.
(From OE-Core rev: c2bc26a163be231f489ea13e6f7226715765732e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sascha Willems collection of Vulkan demos is useful as a smoke testing
tool.
* Add patch to install binaries and data.
* Add patch to fix build on X86
* Use a combination of patch and do_install_append to avoid some 3D
models with unclear licensing.
(From OE-Core rev: 88a6fa37e7ec2e68cdb2374f2a5371a6f44b3d67)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe was last upgraded about ~30 releases or three years ago,
it seems to only be touched when something breaks. It also has an
'interesting' license that maybe is open source...
(From OE-Core rev: 42a0fcec9c956834cc0f05bdf66701424472b1b4)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, RPM4 supports to sign the files in RPM payload with plugin
mechanism. We introduce more definitions to make the file signing
available for the users:
- RPM_FILE_CHECKSUM_DIGEST
Global switch to enable file signing.
- RPM_FSK_PATH
The file signing key.
- RPM_FSK_PASSWORD
The password of file signing key.
- RPM_FILE_CHECKSUM_DIGEST
The file checksum digest.
(From OE-Core rev: 95b9ee33d5595078e90c633f6155ec9ba3d184f0)
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dependencies required for squashfs-lzo and squashfs-xz image builds were
assigned to do_image_squashfs-lzo and do_image_squashfs-xz. As these
tasks don't exist the dependencies were not installed and builds
were failing.
Correct task names for these image types are: do_image_squashfs_lzo and
do_image_squashfs_xz because '-' and '.' are replaced by '_' in all
do_image* task names.
[YOCTO #11760]
(From OE-Core rev: 1f8fc803262cdcc26dabc28af70bf0fdaf2e5847)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tested if core-image-minimal can be built for existing fstypes by
building an image and checking if result file <image>.<fstype> exists
in the image deploy directory.
(From OE-Core rev: 9db3dbde66e3590aea71400891eaea0ae2caf371)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added core-image-minimal -> syslinux dependency to ensure
syslinux artifacts are available from core-image-minimal
build. This should fix test_iso_image, test_bootloader_config and
test_default_output_dir test cases.
Used --native-sysroot in test_image_vars_dir_long and
test_image_vars_dir_short test cases to point out to wic-tools
native sysrtoot.
(From OE-Core rev: b7bcc4ba756aa3941c89999e9d6761738ea5bb05)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
isoimage-isohybrid plugin tries to build grub-efi in its working
directory if it can't find efi binary. Wic should avoid doing anything
in working directories of other recipes. It should use artifacts from
the image deployment directory instead.
(From OE-Core rev: 9a1709278de877085a8d92f6361624e279a603bf)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default set of dependencies used via wic-tools is not used
anymore as wic images don't depend on wic-tools.
Set of packages required to produce wic image depends on the content
of the .wks file, so WKS_FILE_DEPENDS variable should be used to
provide correct list of dependencies when WKS_FILE variable is set.
As WKS_FILE_DEPENDS is not used in many existing recipes yet we need
to provide default value for it to ensure that removal of wic-tool
dependency doesn't cause image build failures.
Initialized WKS_FILE_DEPENDS with the set of dependencies previously
brought by wic-tool. This is done to provide compatibility and to
avoid breakages of existing image recipes that rely on current set
of dependencies.
Note: This is a temporary solution for transition period.
After some time the list will be either reduced or removed.
Recommended solution is to use WKS_FILE_DEPENDS in image recipes
together with WKS_FILE to specify dependencies.
(From OE-Core rev: 01fc31854f7da6b3a4546121f809875c35bbf0e0)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic-tools.env was uses only when wic is run from bitbake.
As wic doesn't use wic-tools anymore in this mode there is
no need for this file.
(From OE-Core rev: 47b569553f1211e04ee21ebdece2ee3a509a83be)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
isoimage-isohybrid plugin uses result of glob call to
get path to initrd image. When glob returns empty list
the plugin crashes with IndexError.
Checking if result of glob call is not empty should fix
the breakage.
(From OE-Core rev: ad02f253f08a3da3fa5c86ae4f6ba7f94b070578)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When wic can't find native sysroot it tries to build wic-tools
However, it's not possible when wic is run from bitbake.
Moreover, it's not even feasible anymore as wic-tools should be
used only when wic is run manually.
Checked if wic is run manually before building wic-tools.
(From OE-Core rev: 522ac21831944b06fbcc372ac61762576d792c22)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed isodir subrdirectory instead of removing temporary
working directory as working directory can contain copy of
rootfs partition and shouldn't be removed by any plugin.
(From OE-Core rev: fc12ce9d1b92cc0104cf456af1e3d5f146b9219d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At the moment, when building images with IMAGE_FSTYPES=wic one ends up
depending on wic-tools and thus syslinux and grub-efi even when not
using those at all. Ideally, building an image with wic should only
build the tools and components really needed.
The problem is that "wic-tools" is needed also for the manual
invocations of wic, in which case everything that might be needed has to
be built in advance.
Replaced dependency on wic-tools with dependency to a much shorter set
of tools that wic uses almost for any image: 'parted', 'gptfdisk',
'dosfstools' and 'mtools'.
[YOCTO #11552]
(From OE-Core rev: 33ca15b94dbe7204c556c4b5526edd529f6d85f4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes it's needed to create FAT filesystem with specific
sector or cluster size, FAT size or to use one of other useful
mkdosfs options.
Introduced MKDOSFS_EXTRAOPTS variable to set options for mkdosfs.
[YOCTO #11709]
(From OE-Core rev: 18b52577484d3b86bc31980a50da04141afda5f9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added packages with different names or based on sources that
generates multiple binaries eg: python-pycurl source generates
python3-pycurl as well. Currently, some of these packages are not
displayed as part of other distro due to naming differences on
the source rather than the binaries as a single source could
produce multiple binaries with different names.
(From OE-Core rev: aed3cebdfbd4f483644a8c200f27d52b981728a3)
Signed-off-by: Shen Joon Tan <shen.joon.tan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
IMAGE_EXTENSION_live is no longer used. It was used by Hob to map the
live image type, but Hob is no longer part of the Bitbake codebase.
(From OE-Core rev: 2b30dcdc903c1b0c18e14e39b954177628d058bd)
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>
Case-insensitive file systems fail during builds in very mysterious ways, such
as mpfr:
ERROR: patch_do_patch: Not a directory
The problem here being that mpfr has a PATCHES file, so when we try to copy the
patches into ${S}/patches/ it fails.
We can't and won't support case-insensitive file systems so add a sanity check
to abort the build if one is found.
(From OE-Core rev: 20ce04fb64f559e64490d53678fa00644a92894a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling ccache should not cause a complete rebuild, so filter out ccache-native
from the dependencies the same way we do for quilt-native (so the world doesn't
repatch if quilt changes).
This doesn't effect the actual dependencies, just the dependencies that impact
the hash.
[ YOCTO #11417 ]
(From OE-Core rev: ffeca7dcc1abe82cad8374a31bf72b36a472fa1b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CCACHE_DISABLE was added to bitbake.conf in oe-core dd2bab (June 2012) because
autogen-native exports HOME=/dev/null during the build, which is then used by a
host ccache to construct the path to it's cache (/dev/null/.ccache) and this
fails.
However we now always export CCACHE_DIR to solve the same problem in a more
efficient way so CCACHE_DISABLE can be deleted.
(From OE-Core rev: ef33a3138384667f819688141086102e6e83ec44)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using distrooverrides.bbclass without setting
DISTRO_FEATURES_OVERRIDES, the code failed because of a spelling error
in the default.
[YOCTO #11759]
(From OE-Core rev: 174277176fcdc13b4a29e291dafc2f508ff9da66)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used check_output instead of Popen as it raises CalledProcessError
exception when command exits with non-zero exit code.
Catched the exception to produce user-friendly output.
[YOCTO #11719]
(From OE-Core rev: dac68d2323b0b630c019ce4d5256ed567eaf00da)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduced custom RunQemuException that script raises on known
errors. This exception is handled in one place and prints
error output without printing Python traceback. This shoud make
error output less scary for the end user.
Handling of unknown errors has not been changed - both error and
traceback will be printed.
Reimplemented OEPathError exception code to handle it similarly
to RunQemuException.
Moved exception handling code into main() to keep it in one place.
[YOCTO #11719]
(From OE-Core rev: a779a382b66e7b43ac53286758b4370dc14b193b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated manual descriptions to fit current
manual structures.
(From yocto-docs rev: 81d8add49fd09deef432d9a0cc08c9f380c671ed)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11715]
Replaced all instances of MinnowBoard MAX with
MinnowBoard Turbot.
Updated Welcome section to include links to key
sections of quick start.
(From yocto-docs rev: ed55dcd80ef5edddacb2d288e0a6cbe85dccf964)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I did a rewrite of the section to get it into a procedural form.
Missing some technical information and needs a review but it is
the best that can be done at this time. The code for initrd is
not settled.
(From yocto-docs rev: 0fdef8c5fed6ac510d1604a677e6546494b4c96b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The description suggested the reader see the
meta/poky/conf/local.conf.sample.extended file for more understanding
on INITRAMFS_IMAGE. The actual file is
meta-poky/conf/local.conf.sample.extended.
(From yocto-docs rev: 80b474d3417e88a47d1317b2af6552698e907b80)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a figure for this simple build workflow that uses
BitBake from a Linux host. Also did a bit of re-writing.
A new figure was introduced so the Makefile had to be adjusted
to include that figure. The figure resides in the figures
directory of both the dev-manual and the mega-manual.
(From yocto-docs rev: c3b0b1d53f551c02202cef80a8a48dd24576b975)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The author of the book was still Intel Corporation. This
needs removed. I replaced it with "Scotty's Documentation
Services, Inc.".
(From yocto-docs rev: 14f1df18210a3dcb4b7174ddcad551aa9141696d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The section on the devtool workflow in the dev-manual was 99%
identical to what was in the sdk-manual. I have moved the
workflow procedure from the old "Model" chapter of the dev-manual
to be merged with what was in the sdk-manual. In truth, the
only things added were a note about devtool not being exclusive
to SDK development.
The result of moving (deleting) this section was that the "model"
chapter of the dev-manual went away. The devtool stuff, Quilt,
devshell, and python shell are all out now and there is no
chapter left. So, mega-manual had to be adjusted to not pull that
chapter in when building the dev-manual. I had to delete three
figures that were used in the flow. The figures were already
replicated in the sdk-manual. The figures were deleted from the
figures folder of both the dev-manual and the mega-manual.
I had to make sure all references to the old devtool stuf in the
YP doc set were adjusted.
(From yocto-docs rev: 5dbd643d31ab502df53a22229e457a03da7772b7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
These two sections can stand alone as tasks. I moved them to the
"Common Tasks" chapter.
(From yocto-docs rev: 60c810a9682f8a110fe7c7e4d0d40583a7d72735)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The section on useing Quilt can be a stand-alone task. I moved
it to the "Common Tasks" chapter.
(From yocto-docs rev: bb84b88fc8fc7f82e7bbe580d408ae7880f38d8b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
This section can stand as a separate task. I have moved it to the
Common Tasks chapter.
(From yocto-docs rev: e4fb1ce8b160528aae0f192add614a595b2560a3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some general cleanup and formatting.
(From yocto-docs rev: 8d4458f8fbe02cb8bfa78cbf18726cdd8126850a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The overview section of modifying the kernel needed to be in the
kernel-dev manual and not in the dev-manual. I moved it and took
care of all the links and external references throughout the YP
doc set. One figure was involved that had to be moved to the figures
folder in kernel-dev from dev-manual. That is why the Makefile had
to be edited.
(From yocto-docs rev: 3a704b64544678785b883f82d6e82aedac6790c5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11731]
Updated examples to so they checkout by tag rather
than by branch name.
(From yocto-docs rev: 9dca9fdc315998612f4cd5c9c69e2b3e045562ad)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New variable: METAINTELVERSION and META_INTEL_REL_TAG
and DISTRO_REL_TAG
(From yocto-docs rev: f8be6ea137df9b5964e2cc3fed43cda39a3d27ec)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The section that presented the Yocto Linux kernel file structure
resulting from a build using BitBake needed to be in the kernel-dev
manual. I moved it over. This required transferring over a
figure as well.
(From yocto-docs rev: 0abc6c7d87a6aa10dac28fefbb280eb51fea61a7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section in Appepndix A was full of redundancies used to
explain how the Yocto Project kernel development team has set
up branching and kernel architecture. I consolidated a couple
sub-sections into just the necessary single section.
(From yocto-docs rev: e42efe28aec6bad3779c4b9ea58941272fb01651)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Appendix A of the kernel-dev had a subsection dedicated to just
saying Git was the SCM used by the YP team for development. Having
this information in a dedicated section was overkill. The information
is better as an "aside". I put the stuff in a note.
(From yocto-docs rev: 7e28686f946188daaf0480d4cd68e0e8ff854d37)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The information in the dev-manual kernel overview area really neeeds
to be in the Appendix on kernel structure in the kernel-dev manual.
I moved that informtaion to the appendix. Removal of one redundant
image was necessary from the dev-manual. The figure was literally
repeated in the kernel manual already under a different file name.
(From yocto-docs rev: 00ca68e760e41448c225fb1ca4a77f5201434b93)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I took the Yocto Linux kernel overview list of kernels out of the
dev-manual and moved them to the "Yocto Project Kernel Development
and Maintenance" section in Appendix A of the kernel-dev manual.
This is a much more logical area to introduce this type of Yocto
Linux kernel information.
(From yocto-docs rev: 0a5154cb4c23697f2b8e2341c8e1dc07362443d2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Took the small reference section out for developing an image
using toaster. This was just a pointer to the toaster manual.
(From yocto-docs rev: 8dcce4411aaa5d1d8fe2c809166a947d0e38a97b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
This section simply pointed to the SDK manual. Does not
need to be in the new "how-to" form of the dev-manual.
(From yocto-docs rev: 1cd842a323ba09ef69e14f56dca1c2a5576252ee)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I put in some edits to be very clear on the state of the files
for the user when they check out by tag.
(From yocto-docs rev: 622d324e7f167f55a5de86ec7af65d7554f2aec8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-wordings to be clear about what the user is getting when
they check out a development branch of an upstream repository.
(From yocto-docs rev: deb6ecfd35a76760bc2270bbbc69aa232b0c8cc7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clarified wording so reader understands they are checking
out the master branch by default.
(From yocto-docs rev: d1e77fff752d9960120340601bc2520c51c4f073)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manual style dictates use of bold lead-ins for a numbered list.
(From yocto-docs rev: 32469dc0d61d755d0119a0374070221b0bd4bdfb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manual list style requires steps to have bold lead-ins.
(From yocto-docs rev: 2d226cf6710853f7be8f0c3bd8b1eea72cb4eb7f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Formatting style need bold lead-ins for steps.
(From yocto-docs rev: b75337188e2346dd40004e22b45a2975f1d4cff3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moved the section on BSP Development workflow from the dev-manual
into the bsp-guide. This procedure needs to live in the BSP
guide.
Many links had to be fixed.
(From yocto-docs rev: fbf06240f83221929aea237660146e0076207f6a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moved this section from the "Getting Started with the Yocto
Project" section. The topic is not really a getting started
topic. It is better suited in the "Common Tasks" chapter.
(From yocto-docs rev: d6cdade9066bdbce0596672978c178d2ec82c9a4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I re-wrote the "Building Images" section into a "Performing
a Simple Build" section. A single link in the common tasks
chapter was affected by the section name change.
(From yocto-docs rev: de5a4cfa4f63538fe0a5ec0c2aacfb9222b70c4b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Was referencing the "Building Images" section when should have
been referencing the "Images" section in the ref-manual.
(From yocto-docs rev: 7340b358d57c110240e75c1164226144065120b7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The chapter on setting up YP has been completely re-written to
move towards a "how-to" manual. This involved touching every
aspect of the chapter. All subsections now have procedures
surrounding set up stuff. There are some development sections that
still need fleshed out.
Many, many links and references in other chapters were affected.
These have been fixed.
A couple style-sheet (*.css) files were also updated to support the
"writernotes" style, which renders paragraph text in red.
(From yocto-docs rev: c4c2a6cf575ce5c783b1cc84d9f7e961aebef49c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Added a new procedure section for using the Downloads page from
the YP website.
(From yocto-docs rev: 7efb29dfa7a0960710ca7cf3983048f166c6a13f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This addition allows an author to use the following form to
highlight a paragraph in red.
<para role="writernotes">
Blah Blah Blah
</para>
(From yocto-docs rev: 40d646229e5ec9fa905a372be795120449f9f9dd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I have added a new procedure on using the Index of Releases area
to get snapshots of various tarballs. I recommend that is not
the way you usually want to get files as using Git is recommended.
The section exists for completeness.
In the ref-manual, I cross-reference the procedures from the
associated conceptual areas.
(From yocto-docs rev: 812f344966966591d883fbebb4ae1f72c11dd483)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I created a new procedure for locating and viewing YP source
repositories using the GUI-based method. Created an anchor in the
ref-manual so I could reference the 'git clone' command.
(From yocto-docs rev: 2ae28682407039420f4fcca71a298e1dd34c81f0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
To move toward a "how-to" dev-manual, I am consolidating procedures
for locating and establishing local copies of YP source files into
a single heading. I set up a "Working With Yocto Project Source
Files" section. This will contain sub-sections to find the various
areas of YP files and how to clone and check out stuff.
(From yocto-docs rev: 87ff4ee41a50e8aed6b9c5402c51bb47f5a252a3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This material was being replicated across the Quick Start,
dev-manual, and ref-manual. I have created a single point in the
ref-manual that collects the disparate information that existed.
I deleted the entire section in the dev-manual since that book
is converting to a procedure manual and the very front of the manual
adequately mentions YP and provides pointers to where the user can
get more information.
The QS provides a more complete introduction of YP since it is a
QS.
(From yocto-docs rev: bd8093417af2d93556410d5482dad32c11a0a964)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11699]
Configuration example didn't work with "" around
baseurl. Removed "".
(From yocto-docs rev: c40d818fb92904b74e677749ee16c52716dd02a9)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe and patches (including this patch) had been moved into meta-mingw,
this dangling patch is useless here, so should be removed.
(From OE-Core rev: b1c4661742d12cfd444043e597d01bd627ee4ca4)
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>
Mesa platforms no longer depend directly on egl. Current
implementation breaks without egl with x11 (which can happen with
mesa-gl).
Separate the platform selection. Make drm platform depend on gbm
PACKAGECONFIG by default.
(From OE-Core rev: 622d683273bab66f0b4dd385d083bff9fb7bb1de)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Delete the pinnings which are no longer required during world builds
becasue they have been fixed to build on musl
(From OE-Core rev: b82bc7f003d2133e818be5bd473e9c640d4b10bf)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change to link libssp_nonshared.a only for musl was to move
spec file changes to config/linux.h under a conditional when
DEFAULT_LIBC == LIBC_MUSL which worked fine for all but ppc
since gcc for ppc provided its own linux.h overrides which are
used. This patch duplicates the change in those headers too
(From OE-Core rev: 9d39168a6acfa1f289a4448271c0bf9caaea10ec)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bring in following changes
* fix missing volatile qualifier on lock in __get_locale
* remove ineffective compiler assist from printf
* fix undefined behavior in ptrace
* unify the use of FUTEX_PRIVATE
* fix undefined behavior in free
* reapply va_arg hacks removal to wprintf
* remove useless declarations in string.h
* allow specifying argv[0] when invoking a program via ldso command
* fix regression in dlopen promotion from RTLD_LOCAL to RTLD_GLOBAL
* ldso: avoid spurious & possible erroneous work for libs with no deps
* powerpc64: add single-instruction math functions
* fix clang CFLAGS checks and silence unused argument warnings
* s390x: add single-instruction math functions
* fix arm run-time abi string functions
* fix regression in getspnam[_r] error code for insufficient buffer size
* fix omission of microblaze user.h definitions
* fix iconv conversions for iso88592-iso885916
* handle errors from localtime_r in ctime_r
* set errno when getpw*_r, getgr*_r, and getspnam_r fail
* handle localtime errors in ctime
* handle mremap failure in realloc of mmap-serviced allocations
* getdate: correctly specify error number
* catopen: set errno to EOPNOTSUPP
* fix glob failure to match plain "/" to root directory
* use hard-coded sh4a atomic opcodes to avoid linker errors on sh
(From OE-Core rev: 1e109651acd53b8bad5bc2ccdf152d747a91f1ac)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sigaltstack is no more exposed by glibc see (bug 21517)
therefore adjust to use stack_t instead
Use res_state typedef instead of referring to __res_state struct
(From OE-Core rev: c5cb3a582531dd1b9c40df5bcaa6f8bf5b451a54)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libnsl has been obsoleted in 2.26 and will be removed in future
until them we enable it
(From OE-Core rev: e8047c772f49fe5a4a18d54289d98fb2f98a8176)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Eventually it will be released as 2.26 final
(From OE-Core rev: 5a58883258206893d15990953c8691b05473eecb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test could break in a variety of ways:
a) If BB_HEARTBEAT_EVENT was less than ~0.25 it would hang indefinitely
b) The mask is set after draining the event queue meaning a heartbeat event
could have happened
c) The test exits once it sees the events it wants, it doesn't check for
spurious events such as heartbeats which shouldn't have occured.
d) The hardcoded delay of 0.25 is nasty and shouldn't be needed.
I found a bitbake bug and fixed that meaning we don't need the delay any
more which fixes d). That means a) is no longer an issue either.
We now set the mask, then drain the queue meaning no spurious events should
be able to sneak in. The test is also tweaked to wait for 5s in total to
ensure spurious events don't occur such as heartbeat events we shouldn't see.
[YOCTO #11045]
(From OE-Core rev: 7dd5dfc4d56f1201110d947ce1ca3c6d64fbc7da)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commands:
bitbake nodejs-native;
bitbake nodejs-native -c clean;
bitbake nodejs-native;
bitbake -c addto_recipe_sysroot nodejs-native;
bitbake -c devshell nodejs-native;
bitbake -c addto_recipe_sysroot nodejs-native;
bitbake -c devshell nodejs-native;
never result in npm in the sysroot within devshell. The reason is the
addto_recipe_sysroot stamp isn't removed when do_fetch is run but the sysroot
is cleaned.
With this patch, the second devshell will contain npm, which I think is probably
the best outcome we can hope for here.
[YOCTO #11461]
(From OE-Core rev: c440298674ab3b960c83a127eedb9e1b66bddf78)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Buildiptables test cases are conflicting with images built with “musl”
as standard C library, in order to avoid those issues lzip package was
selected to be used on the tests as this does not have any "musl"
dependency.
[YOCTO #11713]
(From OE-Core rev: b798284f62b3cb171373716b1ee84403439314aa)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Buildiptables test cases are conflicting with images built with “musl”
as standard C library, in order to avoid those issues lzip package was
selected to be used on the tests as this does not have any "musl"
dependency.
This patch is applicable for testimage tests
[YOCTO # 11713]
(From OE-Core rev: 41683e0ab316049e28b1f4ceaf39f0fe17722d92)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace with an mapping for http://www.mirrorservice.org to align
with recent changes to SRC_URI in the lsof recipe and allow
non-current lsof tar files to be found in the /OLD subdirectory.
(From OE-Core rev: 2ea075ffd6a4d68be546f0c10fc94f7a27e8f761)
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>
Upstream lsof releases are hosted on an ftp server which times out
download attempts from hosts for which it can not perform a DNS
reverse-lookup. See:
https://people.freebsd.org/~abe/http://www.mirrorservice.org seems to be the most commonly used
alternative (and using it for SRC_URI allows the custom
UPSTREAM_CHECK_URI to be removed).
(From OE-Core rev: 4e718242c1554021689a7946add055b22b81ec42)
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>
Current linuxloader.bbclass does not support musl libc ldso, so add it
in.
After changing, now the linuxloader function will call a subfunction
according to which virtual/libc is being used, glibc or musl, the
linuxloader_musl function is made on top of the LDSO macro defined
in musl source, by mapping related OE variables to it.
Change tested on following machines:
"genericx86"
"genericx86-64"
"beaglebone"
"qemumips64"
"qemuarm64"
"mpc8315e-rdb"
"edgerouter"
"qemumips"
"kc705-microblazeel" - meta-xilinx
"qemuppc"
(From OE-Core rev: 5d4acaed81a811912e60d85c507bee819623369e)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds a Vulkan video sink (using xcb and/or wayland).
Add a few patches to fix the build.
(From OE-Core rev: a80a0b3981d129a945ddd775690963cefa15376a)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Existing musl fixups in perl recipe doesn't cover linux-muslx32.
This is fixed to support musl-x32 build.
(From OE-Core rev: 4a50250edb48510fa6382b2700a39a74847d287b)
Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The labels array may change its virtual address on a reallocation, so
it is invalid to cache pointers into the array. Rather than using the
pointer directly, remember the array index.
Fixes miscompilation of shaders in glmark2 ideas, leading to GPU hangs.
This is a backport from 17.1.5.
(From OE-Core rev: 7a0ababb9f5c7f09bf072412e0744dcf69534129)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCC44_IA32_X64_DLINK_COMMON and GCC49_IA32_X64_DLINK_COMMON
variables add to final linker flags that ovmf build forms
on its own, so trying to inject it from environment will not
work.
Here we add option to disable pie during linking, which should
have been accompanied with correcponding gcc/cflags.
Fixes
| /mnt/a/oe/build/tmp/work/i586-bec-linux/ovmf/git-r0/git/Build/OvmfIa32/RELEASE_GCC5/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Facs.dll: Bad definition for symbol '<unknown>'@0 or unsupported symbol type. For example, absolute and undefined symbols are not supported.
(From OE-Core rev: 85476cdb19d5c383966ba753a71eaeb3622bd6b4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we have disabled FPIE from SECURITY_CFLAGS already, we have
to ensure the same with gcc, otherwise gcc (on-device) will be built
defaulting to PIE, and such binaries will fail to execute
(From OE-Core rev: 4f3a9ccdb1d45804f4c094589e69e0bc87dc9c62)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
userland graphics driver provided libegl for rpi depends upon
symbols from vchostif library, therefore add it to linker cmdline
helps with loadng gst-gl plugins on rpi
(From OE-Core rev: c32dbe73f2089177a071ba81a9de82dac7741e44)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patch the makefile so it can respect flags from environment
add a patch to fix a run time crash
(From OE-Core rev: 39c00c7c42fe7e555eb65ea7c01bfc9cb8a34514)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc already provides the content for libssp_nonshared
in libc_nonshared.a therefore we dont need to make it
universal.
This also fixed build issues on glibc when linking statically
and using -fstack-protector
Fixed errors like
/mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libc.a(stack_chk_fail.o): In function `__stack_chk_fail': /usr/src/debug/glibc/2.26-r0/git/debug/stack_chk_fail.c:27: multiple definition of `__stack_chk_fail_local' /mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libssp_nonshared.a(libssp_nonshared_la-ssp-local.o):/usr/src/debug/gcc-runtime/7.1.0-r0/gcc-7.1.0/build.i586-bec-linux.i586-bec-linux/i586-bec-linux/libssp/../../../../../../../../work-shared/gcc-7.1.0-r0/gcc-7.1.0/libssp/ssp-local.c:47: first defined here collect2: error: ld returned 1 exit status
(From OE-Core rev: d71eba26850838b2878efea3f8c392a2eb2ebbfb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCC is configured correctly to pass PIE cflags/ldflags
(From OE-Core rev: e93765ffb5718b0fce84f0b8123963176dea95e4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCCPIE flag which is empty by default adds "--enable-default-pie"
configure option for harderned distros
We do not require to add -fpie -pie flag externally anymore
(From OE-Core rev: 1c7e195c94764d680a12a49b870f04cd58860f81)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This uses the newly added MultiConfigParsed event to handle problems where
checksums in multiconfig build were not fuctioning as expected.
The issue arises around SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS which contains
entries like:
* gcc-cross-${TARGET_ARCH}->virtual/${TARGET_PREFIX}libc-for-gcc
* gcc-cross-${TARGET_ARCH}->linux-libc-headers
These need to be expanded in the multiconfig data store but then placed
into the shared main datastore used by the siggen code. The only other
alternative would be a siggen instance for each multiconfig however that
seemed even more complex and invasive.
In real world usage, this issue would mean a qemux86 base config with
other armv5 and armv7 configs (e.g. beaglebone and qemuarm) would
try and build gcc-cross twice since dependencies normaly excluded
(e.g. linux-libc-headers) would now be included. This breaks sstate reuse
as well as breaking builds unless separate tmpdirs are used.
This patch adds all the entries for each multiconfig. Whilst there may
be duplicates, this shouldn't be an issue.
(From OE-Core rev: 7267e7c000c76c44d09835d4cd2bc485b6a39a2a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To quote Paul:
Not that long ago we added a prefix to logged messages to allow us to see
where the message has been generated (recipe / task). This is undoubtedly
useful for errors and warnings, however, I'm not sure it's really appropriate
for bb.plain(). As an example, see the output for -c listtasks now:
...
NOTE: Executing RunQueue Tasks
nodejs-native-4.5.0-r0 do_listtasks: do_addto_recipe_sysroot
nodejs-native-4.5.0-r0 do_listtasks: do_build Default task for a recipe - depends on all other normal tasks required to 'build' a recipe
nodejs-native-4.5.0-r0 do_listtasks: do_checklicense
nodejs-native-4.5.0-r0 do_listtasks: do_checklicenseall
nodejs-native-4.5.0-r0 do_listtasks: do_checkpkg
...
This patch excludes PLAIN messages from this prefixing making the log output
neater.
[YOCTO #11457]
(Bitbake rev: 4a14b44b3e4fad3a3e5e53461aa8ba9929a515b8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When heartbeat event support was added it was only added to process.py. Add
it to server/xmlrpc too. There is duplicated code however since we're likely
to combine the server abstractions soon its not worth worrying about now.
This ensures the backends have the same event support.
[YOCTO #10741]
(Bitbake rev: 00bf2e60222767b4dee84fb3f958732a83544e80)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Messages printed when no UI is connected (e.g. memres) are currently lost.
Use the existing queue mechanism to queue these until a UI attaches, then
replay them. This isn't ideal but better than the current situation of
losing them entirely.
(Bitbake rev: cb241fb8544dfb05646dbae1a1b04e17878a466c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
You might think Queue.Queue.get(True, 0) would return an event immediately
if present and otherwise return. It doesn't, it immediately "times out"
and returns with nothing from the queue.
The behaviour we want is not to wait but return anything present which is
what .get(False) does so map to this.
This fixes some odd behaviour observed in some of the tinfoil selftests.
(Bitbake rev: 412bfab8721ea317898a1974f6a7a0d0bea763df)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The datastore can assume internal API, this just removes the function indirection
overhead involved in this very common codepath (800,000 calls in parsing OE-Core).
(Bitbake rev: 9a36531ed2b2881a65e5d39ee4b68d2bb392ed78)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently builds in multiple TMPDIRs with multiconfig can break
since the BuildStarted event is used to create directory strutures in several
cases (e.g. buildstats.bbclass) and there is only on BuildStarted event
generated in a multiconfig build.
We have two options, a) to add a new MultiConfigBuildStarted event which is
generated once per multiconfig, or b) allow multiple BuildStarted events.
Having reviewed the code and current users of BuildStarted, sending one event
per multiconfig seems like its the best way forward and the existing code looks
able to cope with the duplication of events. I did also check toaster and I think
that can handle this issue too (multiconfig builds may have other issues there).
I'm therefore proposing we send multiple BuildStarted events for multiconfig
and for consistency, send multiple BuildCompleted events too.
We need to ensure that BUILDNAME, BUILDSTART and DATE/TIME are set consistently
in all the different multiconfig datastores. These events can write to the
datastore so copies are not used. buildFile was also cleaned up to ensure it
uses the right datastore in various places.
(Bitbake rev: 0b00f0382780ab5390a5c3f756a9b4efafe0aec8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some cases where the metadata needs to be aware a multiconfig build
is happening and have access to the multiconfig data stores to merge data into
the common build. This adds such an event allowing access to these datastores.
(Bitbake rev: 160e47f5df90850e64dcb857c81a5039abc9235f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The image swabber had been dropped by commit e18657df:
[ meta: Drop swabber ]
We need also drop its reference in local.conf.
(From meta-yocto rev: af19371774b3181af7bdd59e12a16c37d922f429)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing user feature description file
when select linux-yocto-custom in script/yocto-bsp
and causes failure in script/yocto-kernel feature add.
[YOCTO #11585]
(From meta-yocto rev: 9939e7eacf8a205fb0b10de8a6cc065a8048b103)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To match with the target image, the generated nativesdk's target sysroot also
should have the root symlinks(/lib*, /bin/, /sbin). So, extended the
'create_merged_usr_symlinks' to reuse symlink creation part even for nativesdk
using POPULATE_SDK_PRE_TARGET_COMMAND.
(From OE-Core rev: 2d7a58ef7a9597fde868a0582153d1f9a3007f1e)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prepare the symlinks required for merged /usr at the time of rootfs creation.
The links created in rootfs are:
/bin --> /usr/sbin
/sbin --> /usr/sbin
/lib --> /usr/lib
/lib64 --> /usr/lib64
We cannot make these symlinks as part of 'base-files' or some other package.
Because at rootfs creation, installation of the package(say kernel) that depends
on these root folders/links fails, if package manager installs this package
prior to base-files.
These symbolic links in top level folder should be present as long as
- kernel tools use /lib/{module,firmware}
- shell scripts uses "#!/bin/sh"
(From OE-Core rev: 3f978f24ae2cf831bd2b82270f6353edda6364a5)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Enable/disable the split-usr support in systemd based on 'usrmerge'
DISTRO_FEATURE.
- Modify rootprefix to point to ${root_prefix}, rather than ${base_prefix}.
- And fixed firmware path to use ${nonarch_base_libdir} instead of hard-coded
'/lib', because when 'usrmege' distro feature enabled this path would be
'/usr/lib'.
(From OE-Core rev: 7ca0415c26d5a8b00716b0a49f069e26fdeac30c)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ${root_prefix} instead of ${base_prefix} while setting
${target_base_prefix}, otherwise we might loose the root prefix configuration
change in case of 'usrmerge' distro feature is enabled.
(From OE-Core rev: 3ebb2da2eb1ff2f6072a2909e0ac71614e0db0bd)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A new configuration variable ${root_prefix} added, which shall be used by all
base_{lib,bin,sbin}dir variables. When usrmerge DISTRO_FEATURE is enabled
${root_prefix} points to ${exec_prefix} otherwise to ${base_prefix}
(From OE-Core rev: 700848c6ebd03bf3105d09a41d758883ab875618)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The US download mirror appears to be down, so use the main host instead.
(From OE-Core rev: 8766a93c2c9774e53bb7950f8407243ece4ac682)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Use a list and re-order alphabetically to make it easier to read and
update.
* Add missing runtime dependencies:
- acl (getfacl/setfacl commands are required)
- attr (getfattr/setfattr commands are required)
- iproute2 (required for netns tests)
- curl (curl command is required)
- util-linux (ipcs command is required)
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
(From OE-Core rev: a7480beb33e69d7cb63353ffa215326f4ae4b87d)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase the patch on latest ltp upstream:
0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch
[Yocto #11548]
(From OE-Core rev: 69bd27d9d268d4c52aa521a0ceed0eb5a259a516)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the fact that the recipe uses INHIBIT_DEFAULT_DEPS, we need to
manually add the cross compiler as a dependency.
(From OE-Core rev: 00fba52c8a6f6383137cf89fc7aa34cc3e2ff45f)
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes following upstream bug fixes:
Bug 77240 - khrplatform.h not installed if EGL is disabled
Bug 95530 - Stellaris - colored overlay of sectors doesn't render on i965
Bug 96958 - [SKL] Improper rendering in Europa Universalis IV
Bug 99467 - [radv] DOOM 2016 + wine. Green screen everywhere (but can be started)
Bug 101071 - compiling glsl fails with undefined reference to `pthread_create'
Bug 101252 - eglGetDisplay() is not thread safe
Bug 101294 - radeonsi minecraft forge splash freeze since 17.1
Bug 101451 - [G33] ES2-CTS.functional.clipping.polygon regression
(From OE-Core rev: f0762f5bad36b7d7d93f8f24bc64cdb0c0d36f09)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 17.1.2 release has changed the platform setting and when not
explicitly disabled it assumes x11 support.
Fixes:
| checking for x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes... no
| configure: error: Package requirements (x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes) were not met:
|
| No package 'x11-xcb' found
| No package 'xcb' found
| No package 'xcb-dri2' found
| No package 'xcb-xfixes' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables XCB_DRI2_CFLAGS
| and XCB_DRI2_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
The issue has been exposed by meta-freescale BSP. Fix tested with
imx6qsabresd machine.
(From OE-Core rev: 49c3dad38134857b31152bf76ebf2cd78c8a53c8)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mirrors is a list after split() and results in:
AttributeError: 'list' object has no attribute 'strip'
when the 'mirror values are pairs' check fails.
(From OE-Core rev: 2b7232f2913cc3c8463f136bad7dd06b690c5141)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By specifying the -e <var> option one or multiple times, extra
variables available in the pkgdata can be displayed, e.,g,
`oe-pkgdata-util package-info -e SUMMARY -e LICENSE ...`. The extra
variables displayed are quoted since some of them may contain
whitespace.
(From OE-Core rev: 6f054fcf08f6d5aeb6b5ade74ac5cc61a99fb8fe)
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>
The write_{host,target}_sdk_manifest don't need to be set as
SDK_POSTPROCESS_COMMAND because are already append to
POPULATE_SDK_POST_{HOST,TARGET}_COMMAND and the if doesn't
make sense because are only added for populate sdk task.
[YOCTO #11741]
(From OE-Core rev: b10ecbab3acd46e48d36910e30544e9f5f08d6d7)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to have some level of optimization level for FORTIFY_SOURCE
to work therefore set --enable-debug=no
Add a patch to fix build error due to unused result of fread
(From OE-Core rev: 8d3bd6fbf748ad6f67bb2e86854d15f99a07bf87)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bcm43xx failed as time out for firmware downloading.
The root cause is that it need wait 50ms to download firmware,
but the value of 50us is set to the timer.
(From OE-Core rev: bb8bc17ab8d71e3a30e2f0b655c42434dd968ea4)
Signed-off-by: Jun Zhu <junzhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to the latest commit on the 2.28 branch to pick up:
a3e00a8 [GOLD] Avoid duplicate PLT stub symbols on ppc32
along with several backported bug fixes for arm*, etc.
This resolves the systemd link error for qemuppc
with the error message:
.../powerpc-oe-linux-ld.gold:
error: invalid STB_LOCAL symbol in external symbols
error: linker defined: multiple definition of '00000001.plt_call.memcpy+8000'
command line: previous definition here
described in:
[YOCTO #11696]
(From OE-Core rev: 0d1273cdf8652bf1844f1f1fe4ba0eacd27ada65)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This moves the main content of test_signature into a helper
function. It can be reused by arbitrary tests that need to do
a before/after signature comparison. Long-term this might even
be useful in oeqa itself.
(From OE-Core rev: ecc9a1f9ceec9996aeb2c602846d51277de0b4a5)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It may be useful to append a suffix denoting the file format. For
example, README.rst is rendered differently when viewed on Github, and
also helps editors to switch to a mode more suitable for the format.
The tests uses a file pattern to find the README file(s) and treats
the one with the shortest name as the main one which must not be
empty.
(From OE-Core rev: 501b5b7f338396a4a115355b8a78ae5b03f67d9a)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"test_signatures" ignores wold build breakage for the sake of
reporting differences also when a world build is broken. Therefore we
need a dedicated test that a world build at least theoretically can
proceed without obvious parse time problems (dependencies, parse
errors, dangling .bbappends, etc.).
This is similar to the BSP test_machine_world. The difference is
that test_world doesn't change the MACHINE.
(From OE-Core rev: 1ca35d8571a92c7f8f80c909ca38666da82eb929)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Software layers were previously allowed to change signatures, but
that's not desired for those layers either. The rule that a layer
which is "Yocto Compatible 2.0" must not change signatures unless
explicitly requested holds for all kinds of layers.
However, as this is something that software layers might not be able
to do right away, testing for signature changes in software layers can
be disabled. It's on by default, as that was Richard's
recommendation. Whether that should change needs further discussion as
part of finalizing "Yocto Compatible 2.0".
As it might still change, the tool now has both a with/without
parameter so that users of the tool can choose the desired behavior
without being affected by future changes to the default.
(From OE-Core rev: e7fe215f50a1b75771f33fffdda529a95c026d3f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "test_signatures" test ignored a broken world build when getting
signatures, but the code which then tried to analyze a difference
found by the test didn't, which prevented printing the difference.
(From OE-Core rev: e8416554dfc9d4196543279a4845f6c0671f3e5c)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add_layer_dependencies() might get called more than once, or one of
the layer dependencies might already be present. The function should
not add layers again because doing so can cause warnings like:
WARNING: Duplicate inclusion for .../meta-openembedded/meta-oe/conf/distro/include/meta_oe_security_flags.inc in .../meta-openembedded/meta-oe/conf/layer.conf
(From OE-Core rev: 4afb7c3c505a4d21906f07f88c966b794a968cbc)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Dropped obsolete patches, because the new version contains them:
- fix-cipher-des-ede3-cfb1.patch
- openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch
2. LICENSE checksum change due to copyright years and wording tweak.
3. Test binaries (x86-64) are included in source code. So remove those
only for ptest.
(From OE-Core rev: 64ec18d7e13d310e5e44080a04b3f2181ea96ae3)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Imports the current EGL API registry from Khronos.
Makes EGL support optional: this is reflected in the recipe but
egl is enabled by default as before.
(From OE-Core rev: c6b71bc608c66c216a02fafa4781f19cf6f0f465)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch "0003-Add-disable-opengl-configure-option.patch" used Git
rename syntax, which is not supported by patch 2.6.x and older.
(From OE-Core rev: 43e640ddcf32c718b3e0bb3f3654ed60eb497058)
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>
CMake does not define the `find_host_program` command we've
been using in the cross-compiling code path. It was
provided by a widely used Android toolchain file. For
compatibility, continue to use `find_host_program` if
available, but otherwise use just `find_program`.
(From OE-Core rev: e5f4e0df64531e2296bb1f5002eb106c3eec61e3)
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As gcc 4.5 is very old now (released in 2010, gcc 4.6 released in 2011)
this check can be removed now.
(From OE-Core rev: 78ea1af6bc5d314781be4a3c2d28347312238115)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu-arm and libsdl-native are not in HOSTTOOLS, so there's no point in
checking that they're on PATH.
Also qemu uses pkg-config to find SDL, so libsdl-native isn't required.
(From OE-Core rev: a8d8b0d9e1c2346d5a314ed0a7bf5be66044a51d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a new POPULATE_SDK_PRE_TARGET_COMMAND variable, which can contain
functions need to be executed at pre traget sysroot creation phase.
classes/populate_sdk_base.bbclass: Added POPULATE_SDK_PRE_TARGET_COMMAND to sdk
command variables list.
(From OE-Core rev: b0c65c8a64cd0b77629c9f3c65fc827d4cdcf026)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkefidsk currently writes a startup.nsh with embedded control characters.
This happens because \b etc are control sequences to the shell echo
command when using dash. The resulting startup.nsh causes the bootup
to fail, and the user is dropped into the EFI shell to manually run
startup.nsh.
Patch originally provided by Troy D. Hanson <troy.hanson@jhuapl.edu>
[YOCTO #9665]
(From OE-Core rev: 008d6cb5bb4969f53a228893c502be8c9420ecb0)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11675]
THere was a "hambedded" link that was broken. The link was
intended to give additional information on adding layers.
Replaced with link about layers and replaced the wording.
(Bitbake rev: 877a1f476212dc151b74ce0f1febdc48956ef0e9)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11675]
There was a "hambedded" link that was broken. The link was
intended to show the bitbake.conf file. I replaced it
with the link to show the actual bitbake.conf file.
(Bitbake rev: 3b8d101e564488ff1f5b27744404f9743da2b97d)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'mirrortarball' is supposed to be a local variable to the function.
(Bitbake rev: a457cbfb1f20a47db3978290921d0708cd96bd70)
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script analyses the patches we apply and can sanity check or output
statistics.
(From OE-Core rev: de7914954571ea8e717f56b6d6df13157b0973bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configure fails when rebuilding lz4 as LIBDIR is used in two different
places for two different things and we override it with a environment
variable.
(From OE-Core rev: c594cacc88b4239f2be2ee97ea127ae27186dbcd)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some "=" are missing in the regexp, which leads it match multiple results
if the variables have overrides, for instance:
...
SSTATE_DIR="xxxx"
SSTATE_DIR_qemux86="yyyy"
...
it will match both of them without "=".
(From OE-Core rev: 10cb4331caee4b960a6f9ad20023a4a4b69b684e)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A "=" is missing in the regexp, which leads it match multiple results
if STAGING_DIR_NATIVE has overrides, for instance:
...
STAGING_DIR_NATIVE="xxxx"
STAGING_DIR_NATIVE_qemux86="yyyy"
...
it will match both of them without "=".
(From OE-Core rev: fb9cf84b1d537e2b8c26cd78f6ac27c55a7e79fc)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This covers the traditional API as well as the new output_log feature.
While testing, it was noticed that killing hanging commands does not
work when a shell is used to run the command(s). This might be worth
fixing.
(From OE-Core rev: 62489e58ca9975f58b48fc2bd8cf27fd22e25564)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests that use bitbake("my-test-image") can run for a long time
without any indication to the user of oe-selftest about what's going
on. The test author has to log the bitbake output explicitly,
otherwise it is lost in case of test failures.
Now it is possible to use bitbake("my-test-image",
output_log=self.logger) to get more output both on the console and in
the XML output (when xmlrunner is installed). Example output:
2017-06-23 12:23:14,144 - oe-selftest - INFO - Running tests...
2017-06-23 12:23:14,145 - oe-selftest - INFO - ----------------------------------------------------------------------
2017-06-23 12:23:14,151 - oe-selftest - INFO - Running: bitbake my-test-image
2017-06-23 12:23:16,363 - oe-selftest - INFO - Loading cache...done.
2017-06-23 12:23:17,575 - oe-selftest - INFO - Loaded 3529 entries from dependency cache.
2017-06-23 12:23:18,811 - oe-selftest - INFO - Parsing recipes...done.
2017-06-23 12:23:19,659 - oe-selftest - INFO - Parsing of 2617 .bb files complete (2612 cached, 5 parsed). 3533 targets, 460 skipped, 0 masked, 0 errors.
2017-06-23 12:23:19,659 - oe-selftest - INFO - NOTE: Resolving any missing task queue dependencies
Because the implementation was already using threading, the same is
done to decouple reading and writing the different pipes instead of
trying to multiplex IO in a single thread. Previously the helper
thread waited for command completion, now that is done in the main
thread.
The most common case (no input data, joined stdout/stderr) still uses
one extra thread and a single read(), so performance should be roughly
the same as before.
Probably unintentionally, result.error was left as byte string when
migrating to Python3. OE-core doesn't seem to use runCmd() with split
output at the moment, so changing result.error to be treated the same
as result.output (i.e. decoded to a normal strings) seems like a
relatively safe API change (or rather, implementation fix).
(From OE-Core rev: 00b8c7ff17cd8f1920728fdc2653068e63d71724)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
merge: wait()
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds ptest for slang, it uses `make runtests` to run tests.
The Makefile runs runtests.sh for each *.sl and *.slc tests.
runtests.sh is patched for printing test results in a common format,
Makefile is patched in order not to compile any dependencies.
Changes v2->v3: rebased on the latest master (1d9a88f6).
(From OE-Core rev: 643c81afc16f8d3522cc5dc491459a1bae14d827)
Signed-off-by: Stefan Strogin <sstrogin@cisco.com>
Cc: xe-linux-external@cisco.com
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* also add UVESA_MODE variable for easier change of resolution and respect it in QB_KERNEL_CMDLINE_APPEND
as well
* don't use init script just to call modprobe
* I wasn't able to test this all the way with runqemu, because runqemu
doesn't work on my system, but I've verified that the right params
appear there and that I can easily change UVESA_MODE from
conf/local.conf, the modules.d and modprobe.d files look OK:
OE qemux86@ ~/build/oe-core/tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427212613.rootfs
$ cat etc/modules-load.d/uvesafb.conf
uvesafb
OE qemux86@ ~/build/oe-core/tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427212613.rootfs
$ cat etc/modprobe.d/uvesafb.conf
options uvesafb mode_option=1600x1200-32
so I'll be able to drop this KERNEL_MODULE_AUTOLOAD +
KERNEL_MODULE_PROBECONF from my DISTRO conf.
(From OE-Core rev: f7ba5b5f76bb5678ca3e6ad51586f25871f7a9fb)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the changes introduced in ae9102bda3
("copyleft_filter.bbclass: Allow to filter on name"), it is
impossible to filter on the recipe type, all recipes are
treated as though they should be included if the license
matches, irrespective of the COPYLEFT_RECIPE_TYPES
variable.
Fix this.
(From OE-Core rev: e612dfa520c7d7ecf58006e82189be601204f38d)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There should be no reason to execute a full build, as we're
just interested in the deployment of the archives.
The newly added tests already do the same.
(From OE-Core rev: 78c2897dff7cd9fe2cab511549cb146d5231e573)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building with nftables support, connman doesn't ever
depend on the nftables command line tool.
connman will depend on libmnl and libnftnl at build and
run time. In addition, the nftables rules it creates
depend on various kernel modules being present.
Update the PACKAGECONFIG to reflect this. We use the
just introduced RRECOMMENDS field so as to make the
build still succeed if those kernel modules have been
linked statically into the kernel, i.e. when the
packages haven't actually been created.
(From OE-Core rev: ed6c92d62be1c98ec9dbf92317d850499d127631)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Acked-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can be useful to add RRECOMMENDS to packages created, based
on certain PACKAGECONFIGs.
In particular where a package depends on certain linux kernel
infrastructure (kernel modules) which might or might not be
built as a module, being able to RRECOMMENDS instead of
RDEPENDS on the relevant packages avoids build failures in
case those modules are built statically into the kernel, i.e.
in case no package is being created for them.
Add another field to the PACKAGECONFIG syntax to achieve just
that.
(From OE-Core rev: ec96c985ce1c888c3ce3c4d964d7a106c3c88a5c)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is generic enough, That it can be applied universally
and makes maintainence easier
(From OE-Core rev: f769b8389091b4ffaff8f6f8fc7e53462ce176a5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It would be possible to achieve any order of calling functions if
prefuncs are added with appendVarFlag and postfuncs with prependVarFlag.
Then image_X.bbclass can add code with either pre/post-funcs or
do_image_x_append or _prepend.
The execution order would be:
image_X prefuncs
image prefuncs
do_image_X_prepend from image_X.bbclass
do_image_X from image.bbclass
do_image_X_append from image_X.bbclass
image postfuncs
image_X postfuncs
[YOCTO #11372]
Thanks to Ola Nillsson for the idea.
(From OE-Core rev: c5fa6034708b344e184bb6fa361d5ea41371008f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The IMAGE_DEPENDS_<type> variables can be set to add dependencies for
individual image types. Those dependencies are added to the do_rootfs
task, while they really should be added to the specific image type tasks.
These variables are not documented anywhere.
Replaced usage of IMAGE_DEPENDS_<type> with explicitly added
dependencies to do_image_<type> tasks.
[YOCTO #11302]
(From OE-Core rev: c5f33d466122e53be910fa448af60ef3937eb828)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl _does_ define IFF_LOWER_UP DORMANT ECHO so we should
prevent redefinition of these when on musl.
As per the included patch, this can be triggered by
(from connman 6to4.c):
include <errno.h>
include <stdio.h>
include <stdlib.h>
include <string.h>
include <sys/socket.h>
include <netinet/in.h>
include <arpa/inet.h>
include <net/if.h>
include <linux/ip.h>
include <linux/if_tunnel.h>
include <linux/netlink.h>
include <linux/rtnetlink.h>
include <sys/ioctl.h>
include <unistd.h>
In file included from ../git/src/6to4.c:34:0:
.../usr/include/linux/if.h:97:2: error: expected identifier before numeric constant
IFF_LOWER_UP = 1<<16, /* __volatile__ */
^
This is because at that time, IFF_LOWER_UP has been converted
to 0x10000 already:
enum net_device_flags {
0x10000 = 1<<16,
0x20000 = 1<<17,
0x40000 = 1<<18,
};
Backport a patch that addresses this.
(From OE-Core rev: 24dc2200047bae5d32c168d2625d96ac08a93d3d)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prompt error message to guide user add argument
MKUBIFS_ARGS and UBINIZE_ARGS on
every UBI and UBIFS image creation.
[YOCTO #11589]
(From OE-Core rev: 4a63fa70462eb5a780380b92f916cc8e295246fc)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* when busybox is built with CONFIG_CRYPTPW=y, then it will provide
alternative for mkpasswd, which will fail in postinst, because
mkpasswd from expect wasn't using u-a:
update-alternatives: Error: not linking rootfs/usr/bin/mkpasswd to
/bin/busybox.nosuid since rootfs/usr/bin/mkpasswd exists and is not
a link
(From OE-Core rev: b12cdaf877bc6df71d19a6bbe8c4098d48dea269)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to set DEPENDS_class-native explicitly as self-dependencies are ignored
now.
Don't rewrite do_configure, autotools_do_configure works.
Actually invoke the install-private-headers target (autotools_do_install doesn't
take arguments).
Remove redundant cd.
(From OE-Core rev: e41c0827f54ea81274df98473e27263ef7e02c8d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python function subprocess.call() returns the return value of the
executed process. If return values are not checked, errors may
go unnoticed and bad things can happen.
Change all callers of subprocess.call() which do not check for
the return value to use subprocess.check_call() which raises
CalledProcessError if the subprocess returns with non-zero value.
https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module
All users of the function were found with:
$ git grep "subprocess\.call" | \
egrep -v 'if.*subprocess\.call|=\ +subprocess\.call|return.*subprocess\.call'
Tested similar patch on top of yocto jethro. Only compile tested
core-image-minimal on poky master branch.
(From OE-Core rev: 578c8205fd14c48c6d30ef2889d86f1b4aee060a)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make use of the library function oe.package.strip_execs for stripping
sysroot executables. oe.packge.strip_execs is based on code previously
residing in sysroot_strip.
(From OE-Core rev: fc4e6a30c51f8b15b667c21aaa6de9ba45217c1e)
Signed-off-by: Tobias Hagelborn <tobiasha@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Strip all executables in a directory.
Utility function placed in oe-package together with run_strip.
strip_execs is based on strip_sysroot from staging.bbclass
Moving out datastore references in favor of function parameters.
(From OE-Core rev: a350bfc41e8a19dfdc5b16e5fb8f2b198e7c55c1)
Signed-off-by: Tobias Hagelborn <tobiasha@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This directory is deleted by do_install, so luckily the lack of error checking
meant this didn't break.
(From OE-Core rev: 4030274eceaf0b95cac5c54c55c3f91ef45fa9b4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cache code currently inserts PN into the package list if it isn't already
present. Whilst this ensures that the package list contains something which is
important for native recipes that don't set PACKAGES, it causes confusing
behaviour where a normal recipe doesn't have PN in PACKAGES: for example adding
dhcp to IMAGE_INSTALL will parse successfully but fail at rootfs time as the
dhcp recipe doesn't generate a dhcp package.
Solve this by only adding PN to the cache's package list if the package list is
empty. This results in the package list for recipes such as DHCP being correct,
but native recipes continue to have just PN in the list as before.
[ YOCTO #5533 ]
(Bitbake rev: df31a88786ce5bd7708ff14e1379dc2a58a8c0cf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'commit' value should be tested and used first when resolving the ref
for a layer, since that is an explicit override in each layer index
'layeritem' record. If should take precedence over more-global 'branch'
and 'release' values, instead of being last.
[YOCTO #11515]
(Bitbake rev: b303365ca3a1ba5fb8c6839180f1ec26df60c6ce)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you build a project with a large package set, you will get a crash
in "views.py" when the dashboard attempts to fetch the package set to
calculate the package count and size. This is a sqlite limitation, and
it fails with as few as 1220 packages.
[YOCTO #11717]
(Bitbake rev: 02cb2b7f7ff594de75a404396f39a2428750c798)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the ability to select a distro in the project page,
based on values from the Layer Index. Add a distro selection
page with the add layer feature, based on the add machine
page.
[YOCTO #10632]
(Bitbake rev: a156a4eff67cdc3943494f5be72b96e3db656250)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a project has a lot of additional layers, the build may
appear to hang while those layers are checked out.
This patch adds a clone progress bar that is visible before
the parsing progress appears.
[YOCTO #9916]
(Bitbake rev: 0c94d947b74c4dee23d7b9d255facd3cf839ccbe)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are four main API deprecations in Django-1.10:
(a) String view arguments to url() must be replaced by
the explicit class reference
(b) New TEMPLATES stucture in settings.py consolidates
TEMPLATE_DIRS, TEMPLATE_CONTEXT_PROCESSORS,
TEMPLATE_LOADERS, TEMPLATE_STRING_IF_INVALID, and
TEMPLATE_DEBUG
(c) patterns() wrapper in url() is removed, with
urlpatterns now a simple list
(d) NoArgsCommand in commands() must be replace by
BaseCommand, and handle_noargs() changed to
handle()
Also, the Django version checker must be updated to accept
two digit sub-version numbers (e.g. "1.8" < "1.10")
[YOCTO #11684]
(Bitbake rev: e4c7a94fac7a53fc146387a57e5a09b9ec3caca0)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As oe-core has just dropped a number of recipes that were for LSB
conformance, bump the layer version so we can also remove meta-qt4 from
the autobuilder.
(From OE-Core rev: 179b7ae2511974173ae4aa72dfb49384ff69c2e5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The UsePrivilegeSeparation is no longer supported (recent SSHD always runs
with previlege separation), so remove this option from the default config
file to avoid this warning:
/etc/ssh/sshd_config line 110: Deprecated option UsePrivilegeSeparation
(From OE-Core rev: 8ee1c567b67ec55be0fa2fbcef3d5e8fb4e82709)
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade libpcre2 from 10.22 to 10.23
2. Update the checksum of LIC_FILES_CHKSUM
The copyright time of LICENCE is updated to 2017, the content of LICENCE has no change.
(From OE-Core rev: ed80c94d0099c5a1a75c1e00805fd09f67b6cbbd)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17.1.2 release includes fixes for:
Bug 98833 - [REGRESSION, bisected] Wayland revert commit breaks
non-Vsync fullscreen frame updates
Bug 100741 - Chromium - Memory leak
Bug 100877 - vulkan/tests/block_pool_no_free regression
Bug 101110 - Build failure in GNOME Continuous
17.1.3 release includes fixes for:
Bug 100988 - glXGetCurrentDisplay() no longer works for FakeGLX
contexts?
The 17.1.3 release includes the "util/rand_xor: add missing include
statements" which is now merged upstream (thanks Nicolas Dechesne);
the referred patch is then dropped from the recipe.
(From OE-Core rev: a7417bab21d0fbe0746d9e2b840aa2d576149639)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use 0037-faccessat-and-fchmodat-Fx-build-warnings.patch instead of
0012-fix-faccessat01.c-build-fails-with-security-flags.patch.
The new patch has been merged upstream and will be available in next LTP
release.
(From OE-Core rev: 3c1d9629ac3b5af47d0f4db09b4eb7e0eb4b0afe)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to recent modifications related to systemd, sysvinit builds began
to show this warning:
WARNING: connman-1.34-r0 do_package: connman: NOT adding alternative
provide /etc/resolv.conf: /etc/resolv-conf.connman does not exist
Fix this warning by making those updates specific to systemd.
(From OE-Core rev: 2a0afa9682d6119f403626ca31cd8c9854637312)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade file from 5.30 to 5.31
2. Rebase the following patch file.
debian-742262.patch
(From OE-Core rev: f38290ec2a727427a6481e4dafb02ecd8a60fad1)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patch.
Update paths to files that establish the licensing.
(From OE-Core rev: 40e0ca5902981388398f0e12537897233b5b4f07)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that epiphany needs a working msgfmt as well, let's do this trick
where it should be.
(From OE-Core rev: 7c0032b81f56fea5bec33aa0e74d6e28873f72a8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the removal of autogen and remake, guile is no longer needed.
Nothing requires it in meta-oe either.
(From OE-Core rev: 0be43e383d6f86066dd1c633ed35839a66a4851b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using remake as the provider of virtual/make has been broken for a while;
looks like no one is using it at all.
(From OE-Core rev: 8d682f7b60073d9ed6841f3b2fbe6cb9bd04efe8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With grub no longer requiring it, there's nothing else in oe-core or meta-oe
that does.
(From OE-Core rev: 765fec2f363aeb0540970c57217a2ea1aab8e088)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License change is due to update in FSF address.
Library path needs to be specified in absolute form now.
Remove bash completion file from kernelshark package as it will cause
a conflict with trace-cmd package.
Add a patch to resolve musl build issues.
(From OE-Core rev: 9f07921c6dcb2ea0abeaf1943aa2de5d81c82c0f)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe was carried only for LSB compatibility,
with upstream being defunct for a long time; if there is a need
for a modern, supported implementation of mail/mailx, then
s-nail (http://sdaoden.eu/code.html) or mailutils (http://mailutils.org/)
should be used.
(From OE-Core rev: 0b44f399ce98c61353b30143c205831c1403626f)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These were required by LSB 4.1 tests; there's no other reason to continue
carrying them in oe-core.
(From OE-Core rev: 30fb4c8f329fe3aa3c528ffeba60ee7d702e873e)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was only in oe-core because of LSB; let's remove it. Current libpng is 1.6.x.
(From OE-Core rev: 839af0eafc39b4d182617925e6ab9299431c8601)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Last version of qt4 was released 2 years ago, and Qt4 was
officially EOLd at the end of 2015. On the other hand, LSB is no longer
being developed, and so will 'require' Qt4 until the end of time.
Let's pull the plug.
(From OE-Core rev: a9807738178529c76ea719af158cae1d8566b256)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing is using them in oe-core or meta-oe layers (except python-six is used by
and provided in meta-oe, so there was recipe duplication).
(From OE-Core rev: 701ac8e558c9c09cdab2306ebc416f0070585b11)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was in use by oe-core only when uclibc was used, and so serves
no purpose anymore. Both glibc and musl provide their own implementation.
However, meta-mingw still depends on it, and so the recipe has been moved there.
(From OE-Core rev: fd5f849353e045d60965079a1571160fdd980b0c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The perl-ptest package contains Perl internal modules and generating
file dependencies for it causes problems.
(From OE-Core rev: 77340043e9519ea29899e570dd36315241b188ef)
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>
Following QAPATHTEST (QA hook for each file in each package) and QAPKGTEST (QA
hook for each package), add QARECIPETEST: a hook which is executed once per
recipe in do_package_qa.
This makes it trivial to add recipe-wide QA tests that integrate with the
existing tests.
(From OE-Core rev: 656780b79e55498250d14b2cbe3bed3849fa690d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gnome apps seem to increasingly package those, so let's make it common.
(From OE-Core rev: fc318fb191b68232cc400db2d5eb543d296ee884)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provide a descriptive error message and exit the environment-setup script,
when LD_LIBRARY_PATH is set on the host system.
(From OE-Core rev: 2ad6c563828e70728eb48095b2326b52342df37c)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script expected the port number to be specified first, which is
somewhat counter-intuitive especially if you're used to
oe-init-build-env; besides, in local usage you are unlikely to need to
specify a custom port. Given that few people are using this yet (based
on the issues I have recently fixed), switch the arguments around so
that the two scripts behave consistently.
(From OE-Core rev: 5d8f4c46329fbd38ebd034c1e32aa49dfec5f529)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
remake was removed from oe-core: use another recipe in the devtool
extract test.
(From OE-Core rev: dbf680ce09ce54f97c781fc7a8e5e05ed4706073)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test runs an upstream version check, and then compares the
list of recipes that failed the check (i.e. those where latest
upstream version could not be established) against the list of
known-broken upstreams. Mismatches either way (upstream check failed,
recipe not in the exception list, or upstream check worked,
recipe in exception list) fail the test.
[YOCTO #11031]
(From OE-Core rev: 544e04a11ab6c26a367ac0b67774bf7ffdf43c88)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mandriva is no longer maintained, with its last release having been in
2011. It's no longer useful as a yard-stick distro, therefore drop it from
distro_check.create_distro_packages_list()
(From OE-Core rev: 4e1bef31e04044d26a948a9682a5122b46d15c0f)
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>
Since openSUSE switched to their dual development model of Leap and
Tumbleweed the urls we need to check for package lists has changed. Update
get_latest_released_opensuse_source_package_list() to use the new Leap
urls.
(From OE-Core rev: 263da717ba689eb7efe99234566e2b474e8ce95a)
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>
gunpg added TLS support to the dirmngr for 2.1.0, mostly we linked with
gnutls and had the RDEPENDS for gnutls. Since we had TLS support continue
enabling it by default.
(From OE-Core rev: 7f9806afb0b05fcd6af14910ed488a2ce277913c)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the tests to be explicitly disabled to avoid floating dependnecy
issues. This is not really an issue with RSS but is on previous releases.
Currently the tests are enabled/disabled depending on the presence of
glib-2.0.
(From OE-Core rev: 6c12d0b8a44a91382d3aa064ebef43769d909e73)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Miscellaneous fixes and support for 4.12-rc kernels.
(From OE-Core rev: 65b7489f406e1d0a03a232f6e1ee3cf55a5f5bd2)
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following commit has removed rpc ports from runqemu-export-rootfs, so
runqemu should also remove them, otherwise "runqemu nfs" doesn't work. And use
abspath for nfsroot, otherwise it doesn't work when it is a relative path.
commit 6bb9860ef7
Author: Cody P Schafer <dev@codyps.com>
Date: Tue Jun 6 18:30:49 2017 -0400
runqemu-export-rootfs: don't change RPC ports
[YOCTO #11687]
(From OE-Core rev: d7c5c9344de6974997c39097a7767ec338c3cca3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds or fixes the Upstream-Status for all remaining patches missing it
in OE-Core.
(From OE-Core rev: 563cab8e823c3fde8ae4785ceaf4d68a5d3e25df)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a variety of spelling and format mistakes to improve the ease of reading the
tags programatically.
(From OE-Core rev: 6e1aaf80b0d951b48cd25cb7161ec19448295094)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests for bitbake event module were created on bb.tests.event.
This change is to include them on the default test list in
bitbake-selftest script.
[YOCTO #10368]
(Bitbake rev: 22cc318be1aff16f1b653ff0650fe71d0e9f60bb)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change adds a new unit test module (bb.tests.event)
for bitbake event.
It includes the following items:
- Client and server stubs setup
- Testing the module's main functions including:
- get_class_handlers
- set_class_handlers
- clean_class_handlers
- enable_threadlock
- disable_threadlock
- get_handlers
- set_handlers
- execute_handler
- fire_class_handlers
- print_ui_queue
- fire_ui_handlers
- fire
- fire_from_worker
- register
- remove
- register_UIHhandler
- unregister_UIHhandler
- Testing event handling using:
- class Event(object)
- class OperationStarted(Event)
- class OperationCompleted(Event)
- class OperationProgress(Event)
- class ConfigParsed(Event)
[YOCTO #10368]
(Bitbake rev: 0be3ad391adc73cc0dff81bd0ed7874f2c6a00be)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current remove method for class event handlers does not update the
event mapping after an event handler is deleted from the main dictionary.
This change enhances the remove method by also updating the event mapping
accordingly.
This was detected after creating the bb.tests.event module.
[YOCTO #10368]
(Bitbake rev: 839f83dea1e99d1d182b138e5aea1df1c45a92fc)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, the qemu CPUs for are specified as generic, but the built
artifacts are not. For example, we build x86-64 artifacts targeting
core2duo but run them in qemu with generic qemu/kvm CPUs. This causes
some packages that take advantage of the host architecture to crash
because they try to use CPU features not advertised by qemu. As an
example, Qt uses ssse3. When artifacts linked against Qt and built
targeting core2duo attempt to run on a generic qemu/kvm CPU, we get
the following crash:
Incompatible processor. This Qt build requires the following features:
ssse3
We could fix this by making packages like Qt not take advantage of CPU
features. However, we will probably keep facing similar issues over
time, so it's better to resolve them in a more enduring way.
Fix this by making the qemu -cpu arguments match the built artifacts.
(From OE-Core rev: 20b3574749420a1fef2cb2e0579584453dd4c5c5)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- move X.org to MontaVista
- change Denys's email to ti.com
- move "compression" to TI
- move VA to Intel
- move some to LG
Thanks everyone for taking some recipes!
(From meta-yocto rev: 975143f63278a5873bcd41c9763426eebfc19e65)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So that:
1) dnf does not complain anymore about releasever not being set and then fail
for the same reason;
2) it's possible to refer to $releasever in dnf package feed configuration
(repo paths in particular) without hardconding the release name (pyro, morty, etc.)
(From OE-Core rev: 789e3fc225adbb61f10aaa3bbc3677856f5f0238)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Revert-proper-check-of-releasever-when-using-install.patch
as the problem has been solved upstream.
Add 0001-Move-releasever-check-after-the-etc-dnf-vars-substit.patch,
as the warning for missing releasever is issued prematurely in our case.
(From OE-Core rev: 68b01f9fe239aa224daa8dc901fa3cf0350261c0)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So we do not accidentally end of using static libraries when doing
PIE enabled builds
(From OE-Core rev: 164e0d57e5df5bbaeb03c41f0b265ad5ad56ae2f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use bfd linker on ppc, this is because gold fails to link
webkit libraries when PIE is enabled
(From OE-Core rev: 8808d4b13a946499bc6e84a1be15f53d8ab3f673)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix mips/mips64 along the way, it was broken in 3.3 as well
(From OE-Core rev: ace103370746b7d8ae38701d2ef472f53a68edfb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the check_whence.py script since it is only needed to validate
the WHENCE file, and only if explicitly running `make check`.
(From OE-Core rev: 1fc4d5a31f05970d8d80b0106ea81d486f298e33)
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>
../libpcap-1.8.1/grammar.y:78:10:
fatal error: scanner.h: No such file or directory
(From OE-Core rev: aaed4e92d79919e40c896536fcb4ff6567c9a755)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add information necessary to build for x11, but
do not enable that option.
Fix parallel build directory creation issue.
(From OE-Core rev: 2bfc7be412da501d8a9138a3dde33636c5fe2616)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packagegroup-core-x11-sato-games package is being RDEPENDS by
packagegroup-core-x11-sato, hence will be installed if x11-sato is
choosen in IMAGE_FEATURES. So it's unnecessary appending it into
IMAGE_INSTALL.
Even worse, it's causing the following error when x11 is not
in DISTRO_FEATURES:
| ERROR: Required build target 'core-image-sato' has no buildable providers.
| Missing or unbuildable dependency chain was: ['core-image-sato', 'packagegroup-core-x11-sato-games']
(From OE-Core rev: 6c28b122e6214a9e57e4b116ff85145d9ac845ec)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new flag doesn't work and the change even broke the XML_PARSE_NONET option.
(From OE-Core rev: 8b586f60778579ee2c9adae429128a07e8437553)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix type confusion in xmlValidateOneNamespace
Comment out code that casts xmlNsPtr to xmlAttrPtr. ID types
on namespace declarations make no practical sense anyway.
Fixes bug 780228
CVE: CVE-2017-0663
(From OE-Core rev: a965be7b6a1d730851b4a3bc8fd534b9b2334227)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix NULL pointer deref in xmlDumpElementContent
Can only be triggered in recovery mode.
Fixes bug 758422
CVE: CVE-2017-5969
(From OE-Core rev: 0cae039cbe513b7998e067f4f3958af2ec65ed1a)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix handling of parameter-entity references
There were two bugs where parameter-entity references could lead to an
unexpected change of the input buffer in xmlParseNameComplex and
xmlDictLookup being called with an invalid pointer.
Fixes bug 781205 and bug 781361
CVE: CVE-2017-9049 CVE-2017-9050
(From OE-Core rev: 2300762fef8fc8e3e56fb07fd4076c1deeba0a9b)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xmlSnprintfElementContent failed to correctly check the available
buffer space in two locations.
Fixes bug 781333 and bug 781701
CVE: CVE-2017-9047 CVE-2017-9048
(From OE-Core rev: bb0af023e811907b4e641b39f654ca921ac8794a)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop uuid-test-error-api.patch as it's been fixed upstream differently:
b770b48700
Drop ptest for tailf, as it got deprecated and removed:
70ca1a7772
(From OE-Core rev: 6b69e08cf60abbc40236cc3894b9783d720a6e6d)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds missing PACKAGECONFIG options and allow for a more
fine-grained build of bluez5.
I took care of providing a default configuration that matches the
previous default config.
(From OE-Core rev: 2589cfb8a5b46be958ff3ee228c3a32f82dada86)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix up the generation of uImage from vmlinux when KEEPUIMAGE != 'yes'.
This fixes up the working directory that do_uboot_mkimage is run from,
such that it is run from the ${B} directory to access built artefacts.
Simplify the logic in the task so that the parse step either adds the
task or not if the conditions are met. This reduces the need for the
task to run in cases when it is not used. The task is also changed to
depend on the kernel_link_images task as arch/<arch>/boot/* is not
available until after kernel_link_images in certain cases (e.g.
vmlinux/uImage only KERNEL_IMAGETYPES).
Fix up the use of ${S}/vmlinux when pulling the entry symbols
address so that it accesses the vmlinux in ${B}.
(From OE-Core rev: e0b4f018d1c2a65e66c81e5be1da8894e9a6c132)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the problem fixed in
'56c677a multilib: Move redefinition of STAGING_DIR_KERNEL'
STAGING_KERNEL_DIR must be redefined for lib32 in multilib.bbclass.
However this redefinition expanded STAGING_KERNEL_DIR to an absolute
path. This unconsciously added the TMPDIR path in the sstate object,
causing packages depended on STAGING_KERNEL_DIR being rebuild if the
TMPDIR was changed.
Solve this by forcing the unexpanded TMPDIR variable to remain in the
beginning of STAGING_DIR_KERNEL (as default). Since TMPDIR is included in
BB_HASHBASE_WHITELIST, the sstate object will not be depended on the
expanded path anymore.
(From OE-Core rev: 30238852a53d221ebcaa5b2dc30ea9617c2715a1)
Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When add meta-selftest by the script the testlayer_path needs to be
reloaded to avoid None value.
(From OE-Core rev: d1120849e12c46aa46b02905a3f43c0853bd11a0)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python unittest change the signature of the _make_failed_test
after python 3.4.4 don't pass the method name.
(From OE-Core rev: 767b68e6ca22512ff80e6fbc42154f3f0c2206c0)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current osselftest print confusing assertion message when using
self.assertTrue(os.path.exists(filepath)) to test file path,
example of confusing assertion message:
AssertionError: False is not true
Replce assertTrue/assertFalse with assertExists/assertNotExists to test
file path, this will improve assertion message and simplify coding,
self.assertExists(filepath) will print below
AssertionError: <filepath> does not exist
[YOCTO #11356]
(From OE-Core rev: 08b0702492536d41d3cf2c9c05d1fab36d32a566)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved remaining API to misc.py.
Removed runner.py.
Now misc.py is ready to be moved to the scripts/lib/wic and
utils directory can be removed.
(From OE-Core rev: 327e340a29d330f24117e24d0649fa156017208f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wic updates fstab if mount points are specified in .wks.
After partition images are created the original fstab is restored.
However, if exception is raised when partition image being prepared
wic doesn't restore original fstab. This can cause duplication of
added lines in fstab when 'wic create' runs next time.
Wrapping call of 'prepare' method and restoring original fstab
even if exception occurs should fix this.
[YOCTO #11633]
(From OE-Core rev: 29f7735030d383f9614bdb148b52a47c79f05eea)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The script run patchtest on local branch commits, printing results into
stdout. This script is useful to test patches before sending to the
mailing list.
Examples:
$ git checkout master-next-1.9
Branch master-next-1.9 set up to track remote branch master-next-1.9 from origin.
Switched to a new branch 'master-next-1.9'
$ ~/scripts/contrib/patchtest.sh
166e70e: Robert Yang: Thu Apr 2 12:01:37 2015 +0100: patch: fix CVE-2015-1196: FAIL
Issue Missing or incorrectly formatted CVE tag in commit message [test_cve_presence_in_commit_message]
Suggested fix Include a "CVE-xxxx-xxxx" tag in the commit message
Issue Missing or incorrectly formatted CVE tag in included patch file [test_cve_tag_format]
Suggested fix Correct or include the CVE tag on cve patch with format: "CVE: CVE-YYYY-XXXX"
eaa4536: Robert Yang: Thu Apr 2 12:01:37 2015 +0100: wget: 1.16.1 -> 1.16.2: OK
3c29ce3: Robert Yang: Thu Apr 2 12:01:38 2015 +0100: git: 2.3.0 -> 2.3.1: OK
85491f6: Khem Raj: Thu Apr 2 12:01:38 2015 +0100: gdb: Upgrade 7.8.1 -> 7.9: OK
f701142: Robert Yang: Thu Apr 2 12:01:38 2015 +0100: binutils: upgrade to 2.25: OK
385d0b1: Khem Raj: Thu Apr 2 12:01:39 2015 +0100: binutils: Fix ICE in gold: OK
[YOCTO #10720]
(From OE-Core rev: 4ba1334ab7c9b32502a4f8b3e656fb4f8242ccdd)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible for tasks to stage symlinks that point to non-existent
files; an example is ncurses-native.do_populate_sysroot. There wasn't
any error checking here so this broke the build when "task" was included
in BUILDHISTORY_FEATURES. In any case we shouldn't be following symlinks
and getting the sha256sum of the link target - we need concern ourselves
only with the target path, so check if the file is a link and sha256 the
target path instead if it is. If it's neither a regular file nor a
symlink (perhaps a pipe or a device), just skip it.
(From OE-Core rev: f60520d97f53dafe783f61eb58fe249798a1e1be)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that when an item fetched from a premirror has an invalid checksum the
fetcher falls back to the usual logic of trying the upstream and any configured
mirrors.
(Bitbake rev: 022adb30dbb0df764c9fb515918cb9a88e4f8d6f)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These were all used by support code for the Hob UI which has been
removed - nothing will currently fire or respond to these events.
(Bitbake rev: 03ba8db0595723286ad462fa197f862e1efdf0de)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the 'noweb' option for Toaster is used, perform the database
check/create if the Toaster database does not yet exist.
This will allow Toaster to not fail if the first use is with 'noweb'.
This avoids potentially clashing database updates if there are
multiple overlaping 'noweb' sessions (for example with a CI system).
If the user wished to update the database, they can either use the
explicit "lsupdate" command or (re)start a web hosted Toaster session
(which is gated by the webserver's PID).
[YOCTO #11378]
(Bitbake rev: 910b96b9894c712aa32b5d4dadda88b766d86e35)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The method "get_last_build_id" missing the "()" in several calls. This
has been failing silently with Django 1.8 but intermittently crash with
Django 1.9.
[YOCTO #11570]
(Bitbake rev: c29e137a6e65317b8a36804126511c2137878715)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The MockEvent needs to not only stand in for Toaster and Bitbake quick events,
it also needs to stand in for LogRecord, and for that it needs to provide
the new getMessage method.
[YOCTO #11440]
(Bitbake rev: d1ac359d460b1abe9815f323b3fd4cd0231cde6c)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For layers directories with sub-layers (for example meta-intel),
Toaster breaks when trying to exact match a dependency event for
that sub-layer against the top level layer directory paths.
Given that top the level layer directory paths are unique, adding
a test to see if the dependency path is a subset of a top level
path is also unique.
Also, since a warning was issued the processing should not fail
on the assert but instead should continue and gather the recipes
and tasks.
[YOCTO #11149]
(Bitbake rev: 6f1a42af19220a6a8d75790893da995e84ecd7aa)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add IDs to the build page menu lines, for example "Tasks", "Recipes",
"Time", "CPU Time", "Disk I/O", and so forth. This will support test
automation.
[YOCTO #11337]
(Bitbake rev: 49d11490fad683a96f71de21f55035398ad8247a)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add IDs to the navigation bar links "All builds", "All projects",
and "Documentation. This will support test automation.
[YOCTO #11335]
(Bitbake rev: 5cbf6f67994fc42dae72ece191e5c9630fc4b5af)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4,9 and 4.10.
(From meta-yocto rev: 294a7d2e1b8d7c54f6ec11804254e7028390c028)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added detail to the procedure about pushing a change to a
contrib directory and then requesting a pull using the scripts.
More detailed with examples.
Also, clarified some wording in the section about submitting a
patch through email.
(From yocto-docs rev: 76a358ba588b0f36d14aef0a68efe30c4e16746a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I updated both the introductory sections of the ref-manual and the
dev-manual. These need to work more tightly with the projected
YP documentation set.
(From yocto-docs rev: 6a28537d03fad8a53198edc7f9a6229f4e58e551)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I want this first section to be titled "Welcome" rahter than
"Introduction." It is more in line with the YP QS and the YP
ref manual.
(From yocto-docs rev: 113b82c589c93a33a2a956790668e8c0a28894ec)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I moved the bit about using a VM if you don't have a Linux
machine to a note as it broke the natural flow of this section.
Also, inserted a link to the comprehensive list of links and
other documentation references to the existing list of
other information.
(From yocto-docs rev: 73750063580ef7bc20bd445adc3e2b0b01e2257f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed from "Pah-key" to "Pah-kee", which is more universal
and also matched what is used in the dev-manual terms section.
(From yocto-docs rev: 843e832f2416b0e3b0e9d941bf7755f206517603)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I changed the section heading for the section that describes how
to make a change to the YP. It was passive. I need it to be
active and in line with the "how-to" dev-manual.
(From yocto-docs rev: 340e1b6ab9806ec11ec894d4472bc2c937c2b058)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Extensively updated the development environment section by
creating a task-oriented section.
(From yocto-docs rev: d440f0b5ceb1aca57a73d8bced515ae0bd3188f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The section on how to submit a change was pretty much a procedure
section. I did some rewriting to make it more that way.
(From yocto-docs rev: d7edce9268ee5cae96c09c79fe34d5d2dbb701e0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I discovered a mis-placed block of DocBook text that was
causing the string "bug-id" to appear in a random spot in the
"Patch Submission Details" section. Re-ording this block
fixed the problem.
(From yocto-docs rev: 6cf0e8ff0d2b176c1faf492c7bdd7d38e23e4c98)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE native script now requires a native tool as part
of the command line. I added that to the example.
Removed a bad help command at the end of the section.
(From yocto-docs rev: 5eb965ea51d669ee3bac01050b42bee984572199)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list of supported kernels was out of date.
Edited with updated information.
(From yocto-docs rev: b287f76905637834ec6342285b99abd2c5594597)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
This new section has three new procedures for now: 1)
cloning the poky repository, 2) checking out a branch
based on an upstream repository branch name, and 3)
checking out a branch based on an upstream tag name.
More to be added for other key repositories.
(From yocto-docs rev: 4cbcd952ba395b19be5374470a95630a4bc6ffa7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applied some formatting and some links
(From yocto-docs rev: a0881588fcf2314b6d7bcbfb7ee9b9d4d7a2ef2c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The "Git" section in the dev-manual is really about concepts.
There are a couple of examples that might or not might be
allowed to ultimately stay. I have moved the section to the
ref-manual. If those examples get replicated in the new
dev-manual, I will update the "Git" section further. For now,
however, these remain in this moved section.
(From yocto-docs rev: 2e4b87fdab29c13ce0d2314e50c93e37404b6f7e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I moved the "Workflows" section to the ref-manual. This section is
primarily concepts and needs to be out of the dev-manual, which
is being reconstituted into a "how-to" manual.
(From yocto-docs rev: 2f8bfaac3da9e2d7042ea381a3e8957f96b5bf5a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For development purposes, static libraries need to be
present only in the SDK. We do not need those static
libraries in the image for most scenarios. So, replace
IMAGE_INSTALL with TOOLCHAIN_TARGET_TASK in the documentation.
I updated the note to reflect this.
Suggested-by: Maxin B. John <maxin.john@intel.com>
(From yocto-docs rev: c05458c6614c38961d23db8f894d542bf93dbf09)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moved the "Licenses" section from the dev-manual to the ref-manual.
The information in the section is purely reference material and
does not belong in the dev-manual, which is being reconstructed
as a "how-to" manual.
(From yocto-docs rev: a89cb18f6cab6702a2bf2a0f77d46e64f82b1729)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11579]
I removed the sentence about throwing an error or warning.
(From yocto-docs rev: cfa3b1559122ec9e927ccd34afa0e26e877486f9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The "Yocto Project Source Repositories" section is purely conceptual
and thus does not belong in the reconstituted dev-manual, which is
converting to a "how-to" manual. I have moved this section to the
ref-manual under "The Yocto Project Development Environment" section.
Moving the section affected several things. Three figures that where
in the dev-manual were copied and moved to the figures folder of the
ref-manual. This required deleting them from the dev-manual and
adding them to the ref-manual.
The makefile had to be edited to move those figures into the ref-manual
and delete them from the latest version of the dev-manual in order for
the tarball of files to be correct when the manuals are made.
Links to anchors within the moved section had to be fixed in various
manuals. Links to the main section "id" had to be fixed to point
to the ref-manual manual.
(From yocto-docs rev: c619ae2bbc6be93cb0324ca44e936eefec12b28c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The "Open Source Philosophy" section that was in the dev-manual is
really conceptual reference information and has no place in the
dev-manual, which is being re-written to be a "how-to" manual. I
moved the section into the new "ref-development-environment.xml"
chapter.
No links were affected by this.
(From yocto-docs rev: 0a3e65bf7a23eec6e36a3cda3c2011b70aef325b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The ref-manual needs expansion for the old "closer-look" chapter.
This chapter previously held a detailed look at what happens when
a user uses the YP to develop something. Now, the chapter needs
to also contain YP development environment concepts (e.g. open-
source philosophy, etc.), which are coming from the dev-manual.
Because of this, I renamed the "closer-look.xml" chapter to be
"ref-development-environment.xml". I also renamed the larger
section that was formerly the entire chapter into its own section
named "Development Concepts".
Both these changes caused a few links to break. I fixed all the
links from within the various manuals so they would find appropriate
targets.
I did some re-writing for introductory material to introduce the new
chapter and the section on "Development Concepts".
A new file ("ref-development-environment.xml") was added by basically
renaming the "closer-look.xml" chapter. And, the tracking for
"closer-look.xml" was deleted.
(From yocto-docs rev: e37806474578b4f0ed137f64d68a39a17ab60644)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I made some changes to better introduce this reference manual.
Clarified the best scenario for using the manual. Removed the
long list of manual descriptions as that can be referenced further
down in the manual.
(From yocto-docs rev: 8f4555aa387ab3bd3f90f5fcda1d343811ecc168)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from dev-manual to
ref-manual broke all the links to the "Source Directory" term.
I fixed them.
(From yocto-docs rev: d3a206b141e0b0c623362622ec73bbf44118071a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual to
the ref-manual broke a single link to the "build-system-term"
id. I fixed it.
(From yocto-docs rev: 51bbfbb6030a5298fde1dc0e6f67332cfa59fae2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual
to the ref-manual broke the links to the "Metadata" term.
I fixed these.
(From yocto-docs rev: 190da4b4d44952d141db26ca72b5bc1a52d77023)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual to the
ref-manual broke links for the "cross-development-toolchain" term.
I have fixed these.
(From yocto-docs rev: f2d2b5936bd339d691ab859cbe3df86e3da58f0c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual to the
ref-manual broke several links to the id "build-directory". I fixed
these to reference into the ref-manual now.
(From yocto-docs rev: debe2ae8ce203ebe0f1cee0de54124c15df8bb7e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual to
the ref-manual caused many links local to that section to be
incorrect. I scrubbed the section and fixed all the links.
(From yocto-docs rev: 4b795159aa80184f26ff1181a564516840c373b2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual to
the ref-manual. Doing so caused all the links to the id
"bitbake-term" to break. These had to be individually fixed.
Discovered two unresolved references that were a consequence of
moving that section to the ref-manual. These were fixed as well.
(From yocto-docs rev: 829ca6b64562f00a69f3956e9636c7edaa90ce16)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was only added for eglibc. That is gone so we can drop this too.
(From OE-Core rev: 7c36b4316ad185088c65a4db8a84b5fcba9eef06)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches patching content from other patches is bad. This folds the three
patches into one, improves some of what its doing to be a little
cleaner and adds a proper description to the patch header.
This also moves the STRIP override to the configure commandline rather
than patching and handles passing libdir the same way.
(From OE-Core rev: 186b30798cf74b738483e8708157cac628c1d3cd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of these are clearly dead, e.g. one binutils patch reverts the effects
of the earlier one.
This also removes the uclibc site files. We now have mechanisms to allow these
to be extended from another layer should someone ever wish to do that.
(From OE-Core rev: e01e7c543a559c8926d72159b5cd55db0c661434)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We now have gcc 6 and gcc 7 recipes, the gcc 5 series can be dropped
as we're no longer going to support it for targets.
(From OE-Core rev: 98183e57dffaa155fc207a28e1c788ff50dc2054)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
uclibc support was removed a while ago and musl works much better. Start to
remove the various overrides and patches related to uclibc which are no longer
needed.
uclibc support in a layer would still be possible. I have strong reasons to
believe nobody is still using uclibc since patches are missing and I doubt
the metadata even parses anymore.
(From OE-Core rev: ec03023d2165b49a52b83bac1ea2f0bfded7b852)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These comments/variables appear to be long dead, remove them.
(From OE-Core rev: a50c8fa7c6c9d40279724a04fb616462b1b491ff)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
uclibc support was removed a while ago and musl works much better. Start to
remove the various overrides and patches related to uclibc which are no longer
needed.
uclibc support in a layer would still be possible. I have strong reasons to
believe nobody is still using uclibc since patches are missing and I doubt
the metadata even parses anymore.
(From OE-Core rev: 653704e9cf325cb494eb23facca19e9f05132ffd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the creation of ipks to happen in parallel, making best use of resources
on multiprocessor systems.
(From OE-Core rev: 07f6c0b464f0671bc39116317138e4ddf27bdae9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the creation of debs to happen in parallel, making best use of resources
on multiprocessor systems.
(From OE-Core rev: dd540fba6c65fb74df014f5d9d2965078314a790)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we have large amounts of parallelism, pseudo can end up with too
many open connections and will no longer accept further connections,
hanging. This patch works around that by closing some clients, allowing
turnover of connections and unblocking the system. The downside is a small
but theoretical window of data loss. This is likely better than locking
up entirely though. Discussions with Peter are onging about how we could
better fix this.
(From OE-Core rev: f3589f154dad1c92e599737623d392508810ae7e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recent ovmf update broke secureboot because upstream changed the
way how openssl gets compiled into ovmf. It's now integrated directly
into the ovmf build process, without having to patch it first.
In addition, more recent OpenSSL releases are supported. 1.1.0e was
explicitly mentioned in the ovmf commits and because the current
1.1.0f only has minor build enhancements, 1.1.0e is used here.
(From OE-Core rev: 1d9a88f635549e68562de681e297b9270ad02d4e)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is the potential for sensitive information to leak through the urls
there and removing it brings this into the behavior of the other package
backends since filtering it is likely error prone.
Since ipks don't appear to be generated at all if we don't set this, set
the field to the recipe name used (basename only, no paths). This avoids
information leaking. We may want to drop the field if opkg can allow that
at a future point but the recipe name is a suitable identifier for now.
Reported-by: Andrej Valek <andrej.valek@siemens.com>
(From OE-Core rev: ec7feb9d315f357b9a073425a31b352ec24ddfd9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Just discovered a minor issue in the bitbake manual - under the variable
glossary entry for BBLAYERS_FETCH_DIR we say there's a default value of
${COREBASE} but that's not actually true in bitbake itself - there's no
default in bitbake, that default is set in OE-Core. We can keep this in the YP
ref manual but in the bitbake manual that sentence should be removed.
(Bitbake rev: 7b4e81772ed8789521661a3b32b576c91276ae34)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If an event handler for bb.event.BuildCompleted fails, we still need to
call finishAsyncCommand() or else BitBake will just exit immediately
without showing any error summary, or worse in the case of memory
resident mode BitBake will hang and if you Ctrl+C to break out, the
command won't be marked as finished which means that no further commands
will be able to be executed until the server is manually restarted.
(Bitbake rev: 5639faa3eef55cc476a82e810e61ca228cbdf221)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main point of memory resident bitbake is to avoid loading data
unnecessarily on every bitbake invocation. Unfortunately the code that
updated options from the UI was simply treating the fact that either
of the "prefile" or "postfile" options were in the list of options
passed in as an indication that the configuration was invalid, which was
bad because these are always passed in. We only need to mark the
configuration as invalid and thus reload it (and thus reload the cache)
if the option value has actually changed.
At the same time, the recently handled "tracking" option needs to be
treated in a similar manner since the configuration needs to be reparsed
if that has changed. Also, add a few extra debug messages to aid
debugging this code in future.
(Bitbake rev: 18dfd144d0da6ff662308ce4f9d135dc11412133)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Differentiate between fn and taskfn in "execute".
This was somehow missed in "fakeroot" handling.
(Bitbake rev: d848bff7cf78f63986467b51f701a998a480eb25)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a process terminates, some messages may still remain in stdout or
stderr and do not make it into the log file.
In addition, the messages that do make it to the log file may end up in
the log file in incorrect order.
This patch flushes all messages into the log file after the
process terminates. Some additional log flushing is also needed
to keep the various messages showing up in the log file in proper order.
[YOCTO#10785]
(Bitbake rev: 1f6e6aa8262369eafc3bbf9f01f8d981f90becdf)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is OE-specific customisation so set the status as such.
(From OE-Core rev: 059846662f1ea1c82804cfce5f91afcb2980ec8a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since this commit:
commit f5a1013ffa9815f22e13989e2bcb83f966e7ce2c
Author: Ross Burton <ross.burton@intel.com>
Date: Tue Apr 18 16:19:12 2017 +0100
package_manager: don't race on a file when installing complementary
packages
the file isn't closed before oe-pkgdata-util uses it and this
temporary file might look empty to oe-pkgdata-util, because it
wasn't flushed yet. Which resulted in almost empty debugfs tarballs
and no locale packages in regular rootfs.
* without this change:
124K May 30 07:41 core-image-full-cmdline-raspberrypi3-64-20170530054003-dbg.rootfs.tar.gz
* with this change:
173M May 30 07:29 core-image-full-cmdline-raspberrypi3-64-20170530052715-dbg.rootfs.tar.gz
(From OE-Core rev: 877d38db08aa7060d16405443cf70539c559fe82)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This achieves the same goal as the same change to bitbake.conf itself,
but because the class gets added later as part expanding INHERIT, this
new approach is less likely to run into problems when DISTRO_FEATURES
contains complex code.
Another difference is that the class currently does not get inherited
by default and thus is completely absent from a build unless some
layer or include file adds it to INHERIT.
Compared to the earlier code in bitbake.conf and a similar class in
intel-iot-refkit, additional overrides now get sorted. This makes the
final OVERRIDES more deterministic.
The lessons learned about unintentionally depending on OVERRIDES are
documented in the class because such problems are more likely to show
up as unexpected signature differences when using this class.
(From OE-Core rev: e982ca7f2d4fb0aef3fedc00af1e90f613e7b5ee)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 3b3ae91a22d6f685e804df4f32cdeebe1bd6bd88.
It turned out that the code which expands DISTRO_FEATURES early during
base config parsing can fail because some entries in DISTRO_FEATURES
might call Python functions like base_conditional() from base.bbclass
which aren't defined yet.
A different solution will be needed.
(From OE-Core rev: 0c6e4a14ba8d9d9701ec16ffe46d618f41633571)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the /usr/lib/python3.5/_compression.py file is possibly incorrectly included
in python3-misc. This runtime dependency is needed in order to use e.g. gzip.py in runtime:
>>> import tarfile, zlib, gzip
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.5/gzip.py", line 12, in <module>
import _compression
ImportError: No module named '_compression'
* at least python3-tests and lzma and bz2 still in python3-misc are using this as well:
$ grep -R import.*_compression tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-compression/usr/lib/python3.5/gzip.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-misc/usr/lib/python3.5/lzma.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-misc/usr/lib/python3.5/bz2.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-tests/usr/lib/python3.5/test/test_bz2.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-tests/usr/lib/python3.5/test/test_lzma.py:import _compression
and python3-tests are using it as well, so add new runtime dependency
on python3-compression
(From OE-Core rev: 987363c3c720b3764f4d64976d7455f6b0bae99c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you attempt to build an image with both attr(-doc) and man-pages
packages your rootfs might fail to assemble. The error will be
something like:
Error: Transaction check error:
file /usr/share/man/man2/fgetxattr.2 from install of \
attr-doc-2.4.47-r0.core2_64 conflicts with file from \
package man-pages-4.11-r0.core2_64
(the error is usually only seen on builders which don't have manpages
installed, if you have /usr/share/man/man1/man.1.gz your build will
complete but you will have duplicate manpages, just one zipped and one
not)
Backporting changes from upstream attr removes the conflicted files in
favour of those in the man-pages package.
(From OE-Core rev: 5e6595ef42807c8d2a100da3d9862152daf68d3d)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If these are set to URLs then the errors produced are not helpful.
(From OE-Core rev: 946b6623154e748a0d75ff498802a720aeec27a6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Goes down to 40 seconds from over 4 minutes :)
Note that there is no control over the amount of shell jobs; on my machine
this is not a problem, but if it's a problem on less capable hardware,
we can add some kind of limiter.
(From OE-Core rev: cd9af17028c069f52fb0616074170093dd63c143)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runqemu uses stty to change terminal settings to give users
better control to qemu. However, stty does not work when
runqemu is run directly or indirectly via oe-selftest in
a Docker container (presumably some problems with Docker's
pseudo-tty implementation).
The error reported is:
stty: 'standard input': Inappropriate ioctl for device
As runqemu recently moved to subprocess.check_call() for
stty calls we now get thrown an error and all runqemu
runs fail.
sys.stdin.isatty() does proper job in detecting if the stty
calls can work so we use that check before running the stty
subprocess operations.
(From OE-Core rev: 06742ed59092530aedf03f65c3c9542c24ff7ac3)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added leading space to vardeps to avoid flag value to be
added to the existing value without a separator.
(From OE-Core rev: f582773c2b1e8db441f397867d3c9665fd265cec)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced setVarFlag calls to appendVarFlag to allow
modification of prefuncs, postfuncs and subimages flags
in inherited image classes.
[YOCTO #11372]
(From OE-Core rev: 6690f3ab43c04fa7cff7215d4a5d8d639e41aed8)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced repeated expression "do_image_%s" % t with
a variable 'task' to simplify the code and increase
readability.
(From OE-Core rev: d24dd95f2c1c7f773875454bee3f2016c4e7553c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The function is "sysroot_strip" instead of "split_and_strip_files".
(From OE-Core rev: f2d349887710dcae05db09dc2277223e85fa1c19)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
connman fails to start in systemd based read-only images while creating links:
Jun 08 12:53:56 qemux86-64 systemd[1]: Starting Create Volatile Files
and Directories...
Jun 08 12:53:56 qemux86-64 systemd-tmpfiles[366]:
[[0;1;31msymlink(/var/run/connman/resolv.conf, /etc/resolv.conf) failed:
Read-only file system[[0m
Fix this failure and make connman co-exist with systemd-resolved.
(From OE-Core rev: 732e1f74bb9f5ecc98b29197f6bcab117710adab)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable systemd-resolved and systemd-networkd by default.
Make it co-exist with connman and Fix associated problems
in read-only rootfs.
Fixes [YOCTO #11331]
(From OE-Core rev: d9b6d538e3d81ab0d5e7b7b6adecef555d782217)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was pointed out +1 is safer than -1 for systems with one processor.
(From OE-Core rev: 78041e20e43d9583448ff31f8b9b1c6157da8625)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove user-specific descrition files and config fragments from main machine
description file otherwise double patch/config inclusion may happen. These
files/fragments are already included on the SRC_URI (see poky commit 2db8f3),
so no need to reference these inside machine.scc files.
[YOCTO #11586]
(From meta-yocto rev: 86ab7ab6688f250bb5777371d2cbc28c770847d4)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It results in same link errors like armv4t
(From OE-Core rev: 7fb9648f7a055beef9c8a735850b1b51fd23ff1d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build with gcc7
clang can not compile it therefore mark it gcc only recipe
(From OE-Core rev: 835b705ee92900f0d73cee612ce790fde4b1e2a4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The exhaustive list of useful links and references to other
YP documentation existed in the dev-manual. This is not the correct
place for this type of reference information. I have moved that
list to the ref-manual where it should be. The dev-manual now
simply provides a link into that section.
(From yocto-docs rev: eeceb597988134ced85aab4b9ddaeed923f17b03)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Reorganized the way the information about entering bugs using
Bugzilla is arranged in the documentation set. The dev-manual now
has a section that is purely procedural and steps the user through
the process of logging a new bug in the Bugzilla system. The
ref-manual has a conceptual section that introduces the YP
implementation of Bugzilla by simply telling the user what it is
and what what its purpose is.
(From yocto-docs rev: 4bfba345010be7bc2866b819b9754bb06f93c91f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The introductory paragraph for this figure was a cut/paste
problem from previous devtool figures.
(From yocto-docs rev: c02a2a57889bbdcd7e83ab9e2458397189bbb980)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Warning in step 5 indicated the wrong location for config file.
Updated with new location and referenced an illustration to
show an example.
(From yocto-docs rev: e853e5b89f1dbd7399909064b50bc59e06302560)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This paragraph had some links to old stuff. Removed the whole
paragraph.
(From yocto-docs rev: 95c1f348ed018c697cc996bc962787ede056b94b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This figure was a bit out of date. I updated a few of the file
names. Figure needs to reside in the Figures folder of both the
dev-manual and the mega-manual.
(From yocto-docs rev: 1e76477810b6be095f9ca190c9a8f0276ee4b8f9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section that describes how to create a patch and send it via
email is really an ordered procedure. I recast the list of steps
using numbers instead of bullets.
(From yocto-docs rev: c2d2256ca6d8c8b837bae87a5bd8a3118553935c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11600]
Removed the example. It was not needed.
(From yocto-docs rev: 402bb173b00a665fb55a8f740a4dbe60ead57f25)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11411]
Added a naming convention warning to the native.bbclass description
that is similar to the existing warning used in the description for
the nativesdk.bbclass.
(From yocto-docs rev: 2ceeb5416d439197e94640229e3685ab8b87e0fb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11600]
"configure" and "cmake" are not do_* tasks of BitBake. I updated
the formatting of these programs and removed links that were to
the tasks in the reference manual.
(From yocto-docs rev: 2605c7378f6b4b49c2e2baaf159fd2c289d83a1a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure that Scott Garman used for an old video cast is
much more appealing to the eye than the giant, square beast
the current manual was using. I have replaced the image.
The image is technically the same.
Because the mega-manual has to use a duplicate figure, I
put the new PNG files in the Figures directory for both the
yocto-project-qs and mega-manual books.
(From yocto-docs rev: ed64810e59110418d49fb6d3e61967fa62ab28c8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The YP doc set was using a link to an out-dated video that
showed how to configure and run Eclipse. The video was very
old and Jessica suggested just removing it. So, I replaced
all occurrences of the link to the up-to-date appendix in the
SDK manual that provides information on the latest supported
version of the Eclipse IDE.
(From yocto-docs rev: b4af1a79078352df5558e20c0b9cfa97fa141abc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link to the section on how to set up Eclipse had been broken
for a while. I fixed the link so that it goes to the appropriate
section (appendix) in the SDK manual.
(From yocto-docs rev: 873c2c53f661b18936595068d75b954e07774621)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes there's a need to change existing UBOOT_CONFIG setting from a recipe,
distro or local config, such as an override or even switch back to UBOOT_MACHINE.
Unfortunately, there's no easy way to override or unset flags, so using them as
an error condition is rather heavy-handed. Change those conditions to check the
UBOOT_CONFIG variable itself, not its flags.
(From OE-Core rev: b51383e5268ff33e43a39862814e065afbbd10ca)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Few of the perl scripts referring '#!/bin/sed' inside the script. But when
'usrmerge' feature is enabled this path would be /usr/bin/sed. So to satisfy
build dependency add '/bin/sed' to it's providers list.
(From OE-Core rev: 4f33950156c50aab68cbdf80fe52345eea6fb76c)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most of the shell scripts refer to /bin/sh inside the script. When 'usrmege'
feature is enabled, this path would be /usr/bin/sh. Hence, to satisfy build
dependency add '/bin/sh' to it's providers list.
(From OE-Core rev: 1f6c14939c8daa5e09103789c3ff5031cc888d16)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most of shell scripts refer to '#!/bin/{sh,bash}' inside the script. But when
'usrmege' feature is enabled this path will be /usr/bin/{sh, bash}.
so to satisify build dependency add '/bin/{sh,bash}' to its providers list.
(From OE-Core rev: 4759408677a4e60c5fa7131afcb5bc184cf2f90a)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-micro puts headers in /include rather than /usr/include in the
sysroot. ${target_includedir} means that the correct path will be used
automatically.
(From OE-Core rev: 12abcc3791592035d99064262eb3d229fa5ef88c)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Acked-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test case for "wic rm" functionality.
- remove file from vfat partition
- remove directory from vfat partition
(From OE-Core rev: fc42914d426ad2dad8c3026668726c003b3ab10b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added support for removing directories using mdeltree
utility to Disk.del method
[YOCTO #11283]
(From OE-Core rev: a5fc61d8f290d370f4bc51d4e2a67a5580edb1b1)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added implementation of Disk.del method and wic_r
function that removes files from the vfat partition
using mdel utility.
[YOCTO #11283]
(From OE-Core rev: 4abf2d2643c58322d96d63d5f3ffaf52d62c6792)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added empty 'wic rm' command that does nothing.
The functionality will be added by the next commits.
[YOCTO #11283]
(From OE-Core rev: f8e42c13609c482359fbdb225fb16a45101ae9ae)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic_rm_help and wic_rm_usage variables to help.py.
These variables contain help content that will be used in
'wic rm help' and 'wic rm --help' output.
(From OE-Core rev: b6894538b2a426762a07c0e7b014a04f4e00266d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test case for "wic cp" functionality.
- copy file to vfat partition
- copy directory to vfat partition
(From OE-Core rev: cb416d1feea042bcdedc9f522d588fef2c4929bc)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added implementation of Disk.copy method and wic_cp
function that copies files/directories to the vfat partition
of the partitioned image.
[YOCTO #11283]
(From OE-Core rev: 416e4599960987f0ce31b3f16f3c6af0bf633a26)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This method copies partition image into the wic image.
It will be used in 'wic cp' and 'wic rm' subcommands
to copy changed partition back into wic image.
(From OE-Core rev: 7a7e6635e2e2ddfff2bca58c860634b7a199b0df)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed calculation of the dst file size using skip, seek and
length parameters. Current code does it incorrectly which
causes sparse_copy API to create unnecessary big output files.
(From OE-Core rev: e6d709a6382e4b913612f597e66ad07b0e351d5f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If lenght parameter is provided to sparse_copy call
it's mandatory to check if the output file is fully
written after reading unmapped block from input file.
If it's not done then sparse_copy can write more data
than specified length.
(From OE-Core rev: 289b1767182982dfb6912e64481150697ba93e4d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Renamed parameter offset->skip to match names of dd
parameters.
Changed affected sparse_copy calls.
Added explanation of the parameters to docstring.
(From OE-Core rev: 08e2f4e59816c5757686255b267b08cbc46fbd95)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added generic helper to use in property methods to
access commands in a lazy manner.
(From OE-Core rev: 4c1ded3ddbd04ad1640620ec1348831692a93dbe)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added empty 'wic cp' command that does nothing.
The functionality will be added by the next commits.
[YOCTO #11283]
(From OE-Core rev: f0dcf39d52185430422cb0c94c7fe99c12764acd)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic_cp_help and wic_cp_usage variables to
help.py. These variables contain help content that
will be used in 'wic cp help' and 'wic cp --help'
output.
[YOCTO #11283]
(From OE-Core rev: f3f0dadada1e297f2b54fa320bb817da7f755c1f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add parser for 'wic cp' subcommand and a custom argument type.
(From OE-Core rev: df5152c834ef58036b41ad51b19eda6abecd9543)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tested 'wic ls' functionality:
- list of image partitions
- list of directory content of vfat partition
(From OE-Core rev: 3b271f6a40d7ef93fff9700dd8ac98bddd92d581)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added empty 'wic ls' command that does nothing.
The functionality will be added by the next commits.
(From OE-Core rev: ba4613469cc2c3d3433be2e2f520f4fff6b3b333)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic_ls_help and wic_ls_usage variables to
help.py. These variables contain help content that
will be used in 'wic ls help' and 'wic ls --help'
output.
(From OE-Core rev: 5152f993777550e5e8a420db4d1f3c4370cd1d33)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Plugin code uses boot.img file name for an image file. If there are
two partitions that use bootimg-pcbios wic breaks with an error
"file already exists: boot.img"
Made image file name unique by adding wks like number to it to fix
the issue.
(From OE-Core rev: eec6e946cce36cba304851fa4a1c1d7bfd7b0bed)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added parameter 'length' to specify amount of data
to write into destination file. This is useful when only
part of source file should be written into destination file.
(From OE-Core rev: cc44e2eb3b5027a3531e6349937a23d73313b3c6)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed bug in processing 'skip' parameter:
don't read input file if end of bmap block is less than skip
Simplified logic of positioning to the start of data inside a
partially skipped bmap block.
(From OE-Core rev: c19f78a0713c8ac9d28b78f86c6d7b96157788f0)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed code that reads /etc/mtools.conf, /etc/default/mtools.conf,
/etc/mtools and /etc/default/mtools to ensure that mtools output
doesn't depend on the global host configs.
It's still possible to use ~/.mtoolsrc config or point MTOOLSRC
environment variable to any configuration file if user want
to configure mtools.
(From OE-Core rev: 868cb638c92f650a2f0bea9669b68c1e8aebabab)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A long time ago (6 years), this seemed like a good idea. The reality is
that OVERRIDES should not be being added to hashes and if it is, it likely
needs excluding in its own right. This was a nice workaround but we need
to fix the real underlying issues now. In some cases this means excluding
OVERRIDES from the variables dependency using the vardepsexclude flag however
caution is needed to ensure this is safe.
Variable values used to construct hashes are unexpanded but the values used
are computed after the application of OVERRIDES. The important detail is if
the end resulting unexpanded value changes, not the value of the OVERRIDES
used in the construction of that unexpanded value. This is why dependencies
on OVERRIDES itself shouldn't be in the hashes in general.
The recent DISTRO_FEATURES changes adding in override mappings for them
highlighted this issue. We have some good sstate tests which are effective
at highlighting where potential issues arrive with OVERRIDES contamination
(oe-selftest -r sstatetests.SStateTests).
(From OE-Core rev: b227781f9c59a7dfe30f3f1c0dcff87e29a1689b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the processing code for signature generation is now threaded,
use higher thread values as examples in this code for better performance.
(From OE-Core rev: f68ec7191546474f0bd688e57d2381a8e92be617)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In common with the other package handling functions, don't depend on the
value of OVERRIDES. This means when we change MACHINE, we don't have to
repackage everything.
(From OE-Core rev: 6e24b4bbe708a25c827364a2d6d979b354ab3ef2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These have values set elsewhere and this code was overwriting them leading
to odd signature issues. Append instead preserving the original values.
(From OE-Core rev: b756fd12c28d1ce3ca60b328927db996c6a52424)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"inherit" already allows inheriting more than one class in a single
statement. The same also makes sense for "include" and "require",
because then one can generate a list of files to be included
dynamically also for the case that more than one file needs to be
included.
(Bitbake rev: 8d0a76f5a595dddf16b7268bae2c00ef5f568316)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Writing .bbappends that only have an effect when some configuration
variable like DISTRO_FEATURES is changed becomes easier when allowing
"include" or "require" without a parameter. The same was already
allowed for "inherit".
Then one can write in a .bbappend:
require ${@bb.utils.contains('DISTRO_FEATURES', 'foo', 'bar.inc', '', d)}
(Bitbake rev: 8b39c6361758b96fce50a53a6dba8008cd7e6433)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The small module name was added to support run a whole suite that
has more that 3 levels in the test case name, but this broke the
behaviour for use a full test case name.
[YOCTO #11632]
(From OE-Core rev: 9ab20ceb5801bee8dd8b218b3928720da5e1d403)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The details of a test failure is upper on the unittest output
so don't log twice the actual failure.
[YOCTO #11622]
(From OE-Core rev: 0f2e81c2a4458ad0ec6bab2710952ac2c2bbf1af)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-ip-Remove-unneed-header.patch is to fix build error
built with musl.
(From OE-Core rev: 2a6fe7c6c1e113d930ddc8e06717747a779b46f1)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes a following error:
| recipe-sysroot-native/usr/lib/rpm/debugedit: error while loading shared libraries: \
| libbz2.so.1: cannot open shared object file: No such file or directory
(From OE-Core rev: 61ecda8f7977ee2d30f31d2f384f65f933971568)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- This matches the linker flags to compiler flags in purgatory
- Compile arm64 without PIC
(From OE-Core rev: 653299d8c31eac6147b8183d9ec7ef82b7202cab)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl unearthed a problem when building out of tree, config.h was being
used from $(srcdir) instead of generated config.h in $(builddir)
this assumed functions e.g. mallinfo() and more which are not in musl
as a result tests broke.
Also add fixes to build remaining tests when building on musl
pass -fno-pie as it cant use PIE especially in ptests/x86_64
(From OE-Core rev: 8ab1828f073b5eab606161681a5f260cc0e77bf1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patches to ChangeLog, they are in patch
header anyway
(From OE-Core rev: 0b0f545dbf16b0970c5a79975d451dc9d887c2a7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to skip textrel QA for x86 as it has
been fixed in 1.25.0
(From OE-Core rev: f635c097d0d43c88b00a00073b93712f1cc90fe0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This greatly reduces build times when there is a large amount of small
rpm packages to produce. The patches are rather invasive,
and so will be submitted upstream.
(From OE-Core rev: 964a6eb4732df462008883c4bb003f801777dfad)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit aea90e9ee6f34e7c1c08307080b1e29646668df6.
RP hadn't meant to merge this yet and its causing problems so delay it until its
ready.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the transition to dnf and rpm4, the functionality to
automatically make RPM determine dependencies was lost.
Before the transition, an OE specific tool called rpmdeps-oecore had
been added to the rpm suit. It was based on the rpmdeps tool that is
part of rpm. For each file specified on its command line, it would
output the provides and requires that RPM could determine.
During the transition to rpm4, rpmdeps-oecore was replaced with the
standard rpmdeps. However, what no one noticed was that unless rpmdeps
is given options, e.g., -P or -R, to tell it what it should output, it
will not output anything. Thus, it would do all the work to determine
the requirements, but would keep silent about it. And since no output
from rpmdeps is expected unless there are requirements, there were no
warnings indicating that everything was not working as expected.
Porting the old rpmdeps-oecore to work with rpm4 is not really
possible since it relied on being able to access internals of RPM that
are no longer available. However, it turned out that rpmdeps had a
debug option, --rpmfcdebug, that would output exactly the information
that we need, albeit in a different format and to stderr. To make this
usable, rpmdeps has now received a new option, --alldeps, which sends
the information we need to stdout.
(From OE-Core rev: aea90e9ee6f34e7c1c08307080b1e29646668df6)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will send the output from rpmfcPrint() to stdout. This is an
alternative to using the --rpmfcdebug option, which will send the same
output to stderr. The two options have totally different use cases
though. While --alldeps is used when the output from rpmfcPrint() is
what is wanted, --rpmfcdebug can be used together with the other
output options, e.g., --requires, without affecting their output.
(From OE-Core rev: a58a0dc03398dcd9f81a9c8a6189ae13d90e0df7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tc.hasTargetPackage uses a re.search to see if gtk+3 is on
the manifest but + in regex means 1 or more causing the test
to be skipped.
(From OE-Core rev: 271cd99d00bde0b9f2aa27141acbe06812f34638)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manifests for eSDK are generated using shared states so there is a
need to validate to different "packages names" into the test cases.
For example for perl:
SDK provides nativesdk-perl
eSDK provides perl-native
[YOCTO #9090]
(From OE-Core rev: 8db06dd1290dd53d626050879c9c306f95d76ac2)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add get_extra_sdk_info to reuse code in buildhistory
The functionalities to generate SDK and eSDK manifest files are different,
the SDK comes from package information and the eSDK comes from sstate artifacts.
Only execute write_sdk_{host, target}_manifest when is on populate_sdk class.
Adds new functions write_sdk{host, target}_ext_manifest to execute on postprocess
in populate_sdk_ext because at the end we have all the sstate artifacts to
generate the manifest.
[YOCTO #9038]
(From OE-Core rev: 25ad7ed6f7bb0c931b404bda09576323200d093d)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is going to be used for generating the target and host
manifest files packages for eSDK. Added some fixes for buildhistory.bblclass,
and docstring for get_extra_sdkinfo at oe.sdk
[YOCTO #9038]
(From OE-Core rev: f696b3bbe01969ce7ecb8174d63d3e1e172b473e)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the following warning:
warning: Ignoring invalid regex %{_docdir}
when runing `rpmdeps -R <file>`, since %{_docdir} is only defined when
parsing a spec file.
(From OE-Core rev: 7e0964e506506d20a25aac570104938759f9f70e)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is nothing that requires, e.g., a DSO to be executable, but it
is still an ELF binary and should be identified as such.
(From OE-Core rev: 74d040f456269992a13850a626279b3b8e954847)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than trying to call rpmdeps with the correct arguments to work
with the sysroot as was done in package.bbclass, create a wrapper for
it like all the other native tools already had.
(From OE-Core rev: 124a6115af845fd892f53c8504db6ffd59f8bd45)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a loop rather than calling create_wrapper for each individual
tool.
(From OE-Core rev: e299a396849acd515d51d377958d795e979e6262)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using RPM, depends.dot may contain dependencies such as
"/bin/sh", which will confuse _toaster_load_pkgdatafile(). Ignore
them. While at it, also ignore dependencies that contain parentheses,
e.g., "libc.so.6(GLIBC_2.7)".
(From OE-Core rev: 3b42c400d2d7a6ebe37429a363e1d79200f87e9b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By using a single regular expression, the parsing of the depends.dot
file can be simplified a lot. This should also make it less
susceptible to formatting changes in that file.
(From OE-Core rev: 49a321d03e527ad15c3a7fcb9d94980577535ca3)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert incorrectly formatted dependencies such as:
"bar -> "foo" ">=" "1.2.3"
into dependencies with edge labels:
"bar -> "foo" [label=">= 1.2.3"]
* Remove rpmlib() and config() dependencies such as:
"foo" -> "rpmlib(CompressedFileNames)" [label="<= 3.0.4-1"]
and:
"base-files" -> "config(base-files)" [label="= 3.0.14-r89.49"]
* Remove the trailing semicolon that was added to each line. It fills
no purpose.
(From OE-Core rev: 37ea2c8b299483f0e12fad66efa789c6445571e0)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes the file-rdeps test support:
* versioned dependencies, e.g., "perl (>= 5.000)", and
* package dependencies among the file dependencies, e.g., "perl".
It also ignores all "perl(...)" dependencies since it is expected that
these are generated and handled by rpm itself and there is no reason
to second guess what it is doing.
(From OE-Core rev: 2cbeb6edbfcbd9378a5a79b17f7d31a49e0356ff)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we go through the trouble of copying the Python tests, we may as
well actually run them...
This also avoids the following QA issue:
ERROR: libxml2-2.9.4-r0 do_package_qa: QA Issue:
/usr/lib/libxml2/ptest/python/tests/push.py contained in package
libxml2-ptest requires /usr/bin/python, but no providers found in
RDEPENDS_libxml2-ptest? [file-rdeps]
(From OE-Core rev: 65bc9fac6dc6ba5252bf105659724c768d65f9d9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the transition to RPM4, the package names returned by
RpmPM.list_installed() changed from the expected names of the packages
that were installed into the image to some fictitious source RPM
names.
This restores the original functionality so that the
installed-packages.txt files produced by inheriting buildhistory yet
again contains a list of the names of the installed packages.
(From OE-Core rev: 25a36bcea4c02002d4895ba17f49ced09ae821c2)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.1, 4.4, 4,9 and 4.10.
(From meta-yocto rev: acedc2be541a29e33c5d44692aab75432e4d56a3)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means mismatched layers are more clearly identified to the user in
cases where compatibility has not been tested.
(From meta-yocto rev: ca35ea46708e0514e4d5a20950880be0bf1d4147)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling SSTATE_MIRRORS sometimes causes SRCREV values not
to be written/updated in the build history. This happens more
often if SRCREV is set to ${AUTOREV}
Explicitly writing SRCREVs when recipe history is being written
should fix this.
[YOCTO #10948]
(From OE-Core rev: df74b97599a789db742fc7588009783f5f37ebff)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
set() order is random and hence the filtered native/nativesdk DISTRO_FEATURES
could be set to random ordering. We've been lucky so far this tended not to
cause issues but some queued changes highedlighted this. Thrown in a sorted()
so the order is deterministic and we get consistent hash checksums between runs
and between machines.
(From OE-Core rev: 76391673754cf6a01d68eedbd4181e543fa2f427)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Following the lead from Fedora (as suggested by Rob Clark) always enable
--enable-texture-float for all gallium drivers, but then modify the code to
not enable it, at runtime, where the implementation isn't backed by hardware.
The patch comes from unpacking fedora-25's mesa-17.0.5-3.fc25.src.rpm from
https://dl.fedoraproject.org/pub/fedora/linux/updates/25/SRPMS/m/
Somewhere along the path from OpenGL ES 2.0 to OpenGL ES 3.0 are some
algorithms that are encumbered by patents. These algorithms are enabled
with mesa's --enable-texture-float configure flag. However, if hardware
acceleration is being used and the hardware supports --enable-texture-float,
it means the hardware vendor has paid for the patents.
Note that with this solution, non-hardware gallium drivers (e.g. swrast) can't
--enable-texture-float, which might cause issues with some piglit tests.
This solution was discussed and agreed-to on the mailing list:
http://lists.openembedded.org/pipermail/openembedded-core/2017-May/137233.html
(From OE-Core rev: 6fd63e24a1c6ac901edb393c9db8e245189a83e2)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main intention is to provide easy-to-use and read helper functions
for including files only when certain distro features are
set. Functionally they are the same as bb.utils.contains and
bb.utils.contains_any.
Distro features are part of the base configuration and thus safe to
use for conditional inclusion in recipes and bbappends, in contrast to
recipe variables which might still change during parsing. Therefore
the check is limited to DISTRO_FEATURES. This is the reason for having
this in OE-core instead of bitbake.
Default values are set so that no redundant parameters have to be
passed for conditional includes. As a secondary usage, the functions
can also be used in boolean checks.
(From OE-Core rev: 13024ce5aae453769b546d5fbe533443aec3d6fd)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As discussed in "[Openembedded-architecture] Yocto Compatible 2.0 +
signature changes", changes in .bbappend must depend on some explicit
configuration change, typically selecting a distro feature.
For _append and _remove, adding an override that is set only when the
corresponding entry is in DISTRO_FEATURES achieves that:
In local.conf:
DISTRO_FEATURES_append = " my-distro-feature"
In layer.conf:
DISTRO_FEATURES_OVERRIDES += "my-distro-feature"
In a .bbappend:
do_install_append_df-my-distro-feature () {
...
}
The subset of DISTRO_FEATURES that are made available as overrides
must be configured explicitly because using them this way should
be a conscious decision.
(From OE-Core rev: 3b3ae91a22d6f685e804df4f32cdeebe1bd6bd88)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPC ports (also known as rpc program numbers) are values:
- given to rpcbind (aka portmapper) to allow nfsv3 clients that don't
know the tcp/udp port number of nfsd and mountd to look it up the
tcp/udp port number, and to
- allow a single transport (ie: tcp/udp port) to provide multiple
sunrpc services.
OE has carried patches to nfsutils & linux for some time to support the
mountprog & nfsprog options.
In the case of runqemu-export-rootfs, we don't need to use custom rpc
program numbers because runqemu-export-rootfs tells unfsd not to
register with the portmapper, and unfsd runs the nfs and mount rpc
services on tcp/udp ports unfsd binds itself (iow: the tcp/udp ports are
not shared in the sunrpc sense).
Linux's nfs client does not query rpcbind when tcp/udp port numbers are
specified (in net/sunrpc/clnt.c, call_bind checks for the tcp/udp port
with xprt_bound() and skips the call to rpcbind if xprtsock.c's
xs_setup_udp() or xs_setup_tcp() has found a non-zero tcp/udp port).
The program numbers _are_ sent over the mount & nfs protocol (really,
over sunrpc), and checked to match at both ends. As a result, even when
rpcbind is unused, using different program numbers in unfsd vs linux
nfs client causes mounts to fail (and nfsroot mounts to timeout).
The result is that specifying custom program numbers in
runqemu-export-rootfs doesn't solve any conflicts, it simply requires
that users of runqemu-export-rootfs carry a kernel patch & adds 2 extra
parameters to the kernel command line unnecessarily.
Change runqemu-export-rootfs to use the default program numbers.
For now, I have not dropped the custom program number patches to linux,
nfs-utils, and unfsd just in case someone is using them in a
non-runqemu-export-rootfs context.
CC: Bruce Ashfield <bruce.ashfield@gmail.com>
CC: Mark Hatle <mark.hatle@windriver.com>
(From OE-Core rev: 9c91df324dfe58273f5a1d1d33dba1d34a180db7)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When testing core-image-sato with hardening flags, it fails with
SIGSEGV in libc.so during relocation time
This is due to relocations in .text [textrel]
build QA points it out clearly during qemux86 build as well
AssertionError: 2 != 0 : Log: /mnt/a/oe/build/tmp/work/qemux86-bec-linux-musl/core-image-sato/1.0-r0/dmesg_output.log
-----------------------
Central error: [ 19.043597] rngd[525]: segfault at 80098bb7 ip b77b14fc sp bfe9b380 error 7 in libc.so[b774c000+97000]
(From OE-Core rev: 5770cd5bee1c9ad3025435426361f0e407d43ef8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade gnutls from 3.5.9 to 3.5.13
2. Rebase the following patch file.
use-pkg-config-to-locate-zlib.patch
(From OE-Core rev: ba7e5f51327d9833776aa066f30c5e46606be374)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that this just removes a host path leakage: diffutils still
doesn't depend on coreutils so 'pr' might not actually be there
on image (this only breaks "diff -l" so no big deal).
(From OE-Core rev: 3f7fd738981752a8c34c6cf4a1f2d4c035b081ca)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 51d32c6cd88ba0139c32793183fd6a236c1ef456 in
git://github.com/rpm-software-management/librepo.git
...
Author: Tomas Mlcoch <tmlcoch@redhat.com>
Date: Mon May 5 14:31:35 2014 +0200
Add LRO_SSLVERIFYPEER and LRO_SSLVERIFYHOST options (RhBug: 1093014)
...
It incorrectly setopt CURLOPT_SSL_VERIFYPEER for LRO_SSLVERIFYHOST.
Use CURLOPT_SSL_VERIFYHOST to correct.
(From OE-Core rev: 266545f5f5758be397a6c2cd4727d5c0895c924d)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We put the bitbake command line in the buildhistory commit message for
informational purposes, but calling sys.argv to get that as we were
previously doesn't really work in memory resident mode - that gives you
the command used to start the bitbake server which is much less
interesting. Use the just-introduced BB_CMDLINE variable instead.
Part of the fix for [YOCTO #11634].
(From OE-Core rev: 1a6424ee4c865601ff324e9599a2f48c9e6723ee)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to be able to use dpkg-perl on a system various stock perl
modules must also be installed on the system. Create the list of
required modules based on a read of the code and testing with additional
utilities and list them in RDEPENDS_${PN}-perl.
(From OE-Core rev: 2e0044ed32485fe24e0cedd9354dd546cb9c47a5)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order for the dpkg perl modules to be used the must reside in the
versioned perl library directory (as to be in the default include path).
Be explicit about this location in our FILES_${PN}-perl directive, so
that if this breaks in the future, the recipe will fail). We can now
drop the custom do_configure as it wasn't fixing this problem.
(From OE-Core rev: 05f6ff9a500bb97d8ef1f943eff1b9d90246651f)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible for non-CPAN recipes to contain perl modules. These perl
modules must reside in the versioned perl library directory in order to
work in normal circumstances.. Export this logic to a separate class so
that it can be reused without the rest of the cpan logic.
Without this, dpkg will not export its perl code to the correct location
and will not be found by utilities that expect to use it.
(From OE-Core rev: f4edc200d3a9645f9674eae0f8d10926680ba4f8)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With these changes it is possible to have a .bbappend that
- sets SYSCONFDIR to some persistent storage
- modifies SYSCONFDIR/sshd_config to use ssh host keys from
the (writable) sysconfdir
(From OE-Core rev: 106b59d9f96f70d133fa1421091ad280d27a5b6a)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Stephane Ayotte <sayotte@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for avahi-autoipd, which attempts to
create a link-scope route as part of its work.
Without iproute scope support in busybox, the route is
not created due to an error message, and hence we
aren't accessible by, and can't access ourselves,
IP addresses outside the link-local scope
(169.254.0.0/16) unless we also have a proper
non link-local IP address, which somehow defeats the
purpose of zeroconf.
(From OE-Core rev: bd06a1cbe8e97b7f66979b12d4d248092379df4a)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Stephane Ayotte <sayotte@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPM's default is single-threaded gz; the change greatly helps with
both buildtimes (when there is a small number of large-sized packages)
and disk space taken by resulting rpms.
(From OE-Core rev: f108c4d09926bd28e7a57b665fc8cb5373827780)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the the latest 4.4 -stable release which comprises the
following commits:
4bbbc7696405 Linux 4.4.71
9d65be36a7cc xfs: only return -errno or success from attr ->put_listent
1b03d85a4f37 xfs: in _attrlist_by_handle, copy the cursor back to userspace
c56605c69ba6 xfs: fix unaligned access in xfs_btree_visit_blocks
9f7b5da0570f xfs: bad assertion for delalloc an extent that start at i_size
3ba13d7f5b2b xfs: fix indlen accounting error on partial delalloc conversion
1d41dd5c1fd6 xfs: wait on new inodes during quotaoff dquot release
9d97d6a15265 xfs: update ag iterator to support wait on new inodes
8e25af0dc5ad xfs: support ability to wait on new inodes
cf55c35974e1 xfs: fix up quotacheck buffer list error handling
a76647a71c8e xfs: prevent multi-fsb dir readahead from reading random blocks
8caa9a54b32b xfs: handle array index overrun in xfs_dir2_leaf_readbuf()
0ace12c11401 xfs: fix over-copying of getbmap parameters from userspace
fe705621b9b4 xfs: fix off-by-one on max nr_pages in xfs_find_get_desired_pgoff()
b9a7816997a3 xfs: Fix missed holes in SEEK_HOLE implementation
03489bfc7830 mlock: fix mlock count can not decrease in race condition
7e13bab109ea mm/migrate: fix refcount handling when !hugepage_migration_supported()
4e4b72c0ee3d drm/gma500/psb: Actually use VBT mode when it is found
14bfe118dd7d slub/memcg: cure the brainless abuse of sysfs attributes
023a8b0925be ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430
85ddc41a6c4a pcmcia: remove left-over %Z format
69877793e23d drm/radeon: Unbreak HPD handling for r600+
15de2e4c90b7 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
3529600b1601 scsi: mpt3sas: Force request partial completion alignment
58b7cb10f6e2 HID: wacom: Have wacom_tpc_irq guard against possible NULL dereference
c0fd730b678d mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
2ca57fc82436 i2c: i2c-tiny-usb: fix buffer not being DMA capable
1b5286ba9f13 vlan: Fix tcp checksum offloads in Q-in-Q vlans
e989f9bf2a9d net: phy: marvell: Limit errata to 88m1101
605b6b2b4d8a netem: fix skb_orphan_partial()
338f665acb4b ipv4: add reference counting to metrics
97f54575ff57 sctp: fix ICMP processing if skb is non-linear
fe22b6005538 tcp: avoid fastopen API to be used on AF_UNSPEC
d7ed7fcecf20 virtio-net: enable TSO/checksum offloads for Q-in-Q vlans
8380f16d0702 be2net: Fix offload features for Q-in-Q packets
38f02f2ce0ca ipv6: fix out of bound writes in __ip6_append_data()
3a854210f9a5 bridge: start hello_timer when enabling KERNEL_STP in br_stp_start
b543ccc4f627 qmi_wwan: add another Lenovo EM74xx device ID
94c0bf3cbb99 bridge: netlink: check vlan_default_pvid range
f76d54a8882e ipv6: Check ip6_find_1stfragopt() return value properly.
017fabead5c2 ipv6: Prevent overrun when parsing v6 header options
640bfcf232a9 net: Improve handling of failures on link and route dumps
7ede5c90fcdd tcp: eliminate negative reordering in tcp_clean_rtx_queue
ffa551def59c sctp: do not inherit ipv6_{mc|ac|fl}_list from parent
704e6c6b8651 sctp: fix src address selection if using secondary addresses for ipv6
90e3f8a55871 tcp: avoid fragmenting peculiar skbs in SACK
182abc4e74a1 s390/qeth: avoid null pointer dereference on OSN
21b871582375 s390/qeth: unbreak OSM and OSN support
2ac37098ee3d s390/qeth: handle sysfs error during initialization
d1428ee54073 ipv6/dccp: do not inherit ipv6_mc_list from parent
5f67a1663c03 dccp/tcp: do not inherit mc_list from parent
b9978c27454c sparc: Fix -Wstringop-overflow warning
b409ba3b0535 Linux 4.4.70
837bfdb41337 drivers: char: mem: Check for address space wraparound with mmap()
52cf24769487 nfsd: encoders mustn't use unitialized values in error cases
da922dc48dcf drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2
bc428e94070e PCI: Freeze PME scan before suspending devices
5f36c8b4e4a3 PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms
6384f782a69c tracing/kprobes: Enforce kprobes teardown after testing
d5fb96b955ff osf_wait4(): fix infoleak
e07db0d720d3 genirq: Fix chained interrupt data ordering
1736f2b3de62 uwb: fix device quirk on big-endian hosts
ca19dd15e7bb metag/uaccess: Check access_ok in strncpy_from_user
2d9b2e780832 metag/uaccess: Fix access_ok()
98d5e84363ea iommu/vt-d: Flush the IOTLB to get rid of the initial kdump mappings
cb89b1f9dff9 staging: rtl8192e: rtl92e_get_eeprom_size Fix read size of EPROM_CMD.
427907e599fa staging: rtl8192e: fix 2 byte alignment of register BSSIDR.
8b26f53bf026 mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp
f03484fd5a3a xc2028: Fix use-after-free bug properly
e0188a556da6 arm64: documentation: document tagged pointer stack constraints
06dd8281a7d3 arm64: uaccess: ensure extension of access_ok() addr
c23fee69f5b5 arm64: xchg: hazard against entire exchange variable
acbab784a9b6 ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
6ae3be7167b7 ARM: dts: at91: sama5d3_xplained: fix ADC vref
1ab43a598996 powerpc/64e: Fix hang when debugging programs with relocated kernel
33c0c0f8edb9 powerpc/pseries: Fix of_node_put() underflow during DLPAR remove
a86b9ecf1158 powerpc/book3s/mce: Move add_taint() later in virtual mode
f3ffc64bf3dd cx231xx-cards: fix NULL-deref at probe
3208e455284b cx231xx-audio: fix NULL-deref at probe
bd14c18861c7 cx231xx-audio: fix init error path
f7c778fa707d dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops
e5a9ebb4387a zr364xx: enforce minimum size when reading header
a6e0caa34715 dib0700: fix NULL-deref at probe
a896652f6ad3 s5p-mfc: Fix unbalanced call to clock management
fc9753aa6ce9 gspca: konica: add missing endpoint sanity check
04f522476a26 ceph: fix recursion between ceph_set_acl() and __ceph_setattr()
0e9e19a66530 iio: proximity: as3935: fix as3935_write
8a5b15e198f1 ipx: call ipxitf_put() in ioctl error path
4ae1efc7cc98 USB: hub: fix non-SS hub-descriptor handling
af4e23402409 USB: hub: fix SS hub-descriptor handling
1e6e9c4c36f9 USB: serial: io_ti: fix div-by-zero in set_termios
4be0ae3d314c USB: serial: mct_u232: fix big-endian baud-rate handling
704f23f20c5e USB: serial: qcserial: add more Lenovo EM74xx device IDs
1c7f99aa2979 usb: serial: option: add Telit ME910 support
319be2ab4731 USB: iowarrior: fix info ioctl on big-endian hosts
1beae7405705 usb: musb: tusb6010_omap: Do not reset the other direction's packet size
5cbfae4ad360 ttusb2: limit messages to buffer size
9737909ff9d4 mceusb: fix NULL-deref at probe
f05c0dfd394f usbvision: fix NULL-deref at probe
14d0cafd3f95 net: irda: irda-usb: fix firmware name on big-endian hosts
ec0b553bd8df usb: host: xhci-mem: allocate zeroed Scratchpad Buffer
c0791b605fac xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton
65ba07489dcd usb: host: xhci-plat: propagate return value of platform_get_irq()
ada79b5ecda7 sched/fair: Initialize throttle_count for new task-groups lazily
f01ae9cb0de2 sched/fair: Do not announce throttled next buddy in dequeue_task_fair()
ae3d7b8931eb fscrypt: avoid collisions when presenting long encrypted filenames
129a883b0191 f2fs: check entire encrypted bigname when finding a dentry
269d8211c400 fscrypt: fix context consistency check when key(s) unavailable
0aa3b8ef6975 net: qmi_wwan: Add SIMCom 7230E
22823e95193a ext4 crypto: fix some error handling
0a76f023e6f2 ext4 crypto: don't let data integrity writebacks fail with ENOMEM
f0486aa7bc80 USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs
16ac61cf707c USB: serial: ftdi_sio: fix setting latency for unprivileged users
6a70a5833ecc pid_ns: Fix race between setns'ed fork() and zap_pid_ns_processes()
ddf9b92f12dd pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes
060d2642682e iio: dac: ad7303: fix channel description
14323b731072 of: fix sparse warning in of_pci_range_parser_one
000959316365 proc: Fix unbalanced hard link numbers
d22b933fb8eb cdc-acm: fix possible invalid access when processing notification
e4add1cf6b41 drm/nouveau/tmr: handle races with hw when updating the next alarm time
9d78e40f5f41 drm/nouveau/tmr: avoid processing completed alarms when adding a new one
5e07724c28f4 drm/nouveau/tmr: fix corruption of the pending list when rescheduling an alarm
27f82df2f026 drm/nouveau/tmr: ack interrupt before processing alarms
3819271d8a5f drm/nouveau/therm: remove ineffective workarounds for alarm bugs
7d2d6022807a drm/amdgpu: Make display watermark calculations more accurate
349666cfbe76 drm/amdgpu: Avoid overflows/divide-by-zero in latency_watermark calculations.
670a7c5db22e ath9k_htc: fix NULL-deref at probe
8431037ba10b ath9k_htc: Add support of AirTies 1eda:2315 AR9271 device
c26190b5378d s390/cputime: fix incorrect system time
d1f8ea3bd095 s390/kdump: Add final note
de74aedd71c0 regulator: tps65023: Fix inverted core enable logic.
6d380f50113c KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulation
e9c9e7588ef5 KVM: x86: Fix load damaged SSEx MXCSR register
08e589a97d38 ima: accept previously set IMA_NEW_FILE
0c99c8a22cc4 mwifiex: pcie: fix cmd_buf use-after-free in remove/reset
e367d1b00f81 rtlwifi: rtl8821ae: setup 8812ae RFE according to device type
c5ff397f075e md: update slab_cache before releasing new stripes when stripes resizing
d3df9403c075 dm space map disk: fix some book keeping in the disk space map
1dc9fb3cc12e dm thin metadata: call precommit before saving the roots
ea4889d6f39d dm bufio: make the parameter "retain_bytes" unsigned long
4a9631ffe520 dm cache metadata: fail operations if fail_io mode has been established
8d8fb01a62f2 dm bufio: check new buffer allocation watermark every 30 seconds
5d1df36c9d2c dm bufio: avoid a possible ABBA deadlock
4df4bf1df916 dm raid: select the Kconfig option CONFIG_MD_RAID0
fa499b361bd4 dm btree: fix for dm_btree_find_lowest_key()
c04397351fe5 infiniband: call ipv6 route lookup via the stub interface
63450e38efe3 tpm_crb: check for bad response size
025e33ee387a ARM: tegra: paz00: Mark panel regulator as enabled on boot
b171ce6c5e41 USB: core: replace %p with %pK
cda5c7e625ce char: lp: fix possible integer overflow in lp_setup()
ea99c2248495 watchdog: pcwd_usb: fix NULL-deref at probe
ca157f64dc9c USB: ene_usb6250: fix DMA to the stack
b572de59915e usb: misc: legousbtower: Fix memory leak
8a7f9dfbd4ae usb: misc: legousbtower: Fix buffers on stack
bb56ca291305 Linux 4.4.69
35df2085ec02 ipmi: Fix kernel panic at ipmi_ssif_thread()
d4392269f7ce wlcore: Add RX_BA_WIN_SIZE_CHANGE_EVENT event
4b86b46ef410 wlcore: Pass win_size taken from ieee80211_sta to FW
8ef67e0078b3 mac80211: RX BA support for sta max_rx_aggregation_subframes
d13333edbcc7 mac80211: pass block ack session timeout to to driver
0fe94dd915fd mac80211: pass RX aggregation window size to driver
f85e0c5f592c Bluetooth: hci_intel: add missing tty-device sanity check
bf3feec82ce3 Bluetooth: hci_bcm: add missing tty-device sanity check
ff1c4cf24642 Bluetooth: Fix user channel for 32bit userspace on 64bit kernel
9bd2cc56a089 tty: pty: Fix ldisc flush after userspace become aware of the data already
814c2bac9032 serial: omap: suspend device on probe errors
a52e1012585f serial: omap: fix runtime-pm handling on unbind
605fa1a2aa03 serial: samsung: Use right device for DMA-mapping calls
db467fee7ffb arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses
f08bc4d63377 padata: free correct variable
9f4ba9062c2c CIFS: add misssing SFM mapping for doublequote
9a4050669919 cifs: fix CIFS_IOC_GET_MNT_INFO oops
a8900a64eabf CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
b85fa4129e7a SMB3: Work around mount failure when using SMB3 dialect to Macs
89d23005fd63 Set unicode flag on cifs echo request to avoid Mac error
7aad381af8c3 fs/block_dev: always invalidate cleancache in invalidate_bdev()
bb7031c7e50f ceph: fix memory leak in __ceph_setxattr()
eb04a7344c83 fs/xattr.c: zero out memory copied to userspace in getxattr
a3e6be0e9447 ext4: evict inline data when writing to memory map
ab7ebca418bb IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level
1ad689bdc12d IB/mlx4: Fix ib device initialization error flow
1360f4301c78 IB/IPoIB: ibX: failed to create mcg debug file
1549c883d39b IB/core: Fix sysfs registration error flow
d96bb545d6ff vfio/type1: Remove locked page accounting workqueue
341adf516842 dm era: save spacemap metadata root after the pre-commit
dcd4004ae521 crypto: algif_aead - Require setkey before accept(2)
21cb4dc57b3c block: fix blk_integrity_register to use template's interval_exp if not 0
cbaeca8251bb KVM: arm/arm64: fix races in kvm_psci_vcpu_on
7b268351860c KVM: x86: fix user triggerable warning in kvm_apic_accept_events()
a2d5dcf338ea um: Fix PTRACE_POKEUSER on x86_64
b8cd9dd513bf x86, pmem: Fix cache flushing for iovec write < 8 bytes
d34ecdc9712c selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug
e89233f53e3d x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup
3d3ca81d5e35 usb: hub: Do not attempt to autosuspend disconnected devices
0b4dad7c2cf4 usb: hub: Fix error loop seen after hub communication errors
7cad8a47ca94 usb: Make sure usb/phy/of gets built-in
6c3785cca656 usb: misc: add missing continue in switch
d3c04901f750 staging: comedi: jr3_pci: cope with jiffies wraparound
7fc6659b19a2 staging: comedi: jr3_pci: fix possible null pointer dereference
5ac489a80ffb staging: gdm724x: gdm_mux: fix use-after-free on module unload
265500bf9802 staging: vt6656: use off stack for out buffer USB transfers.
9d3c45786f27 staging: vt6656: use off stack for in buffer USB transfers.
de9d2d297ebe USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously
fcd9a083cd22 USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
af3c8bf0e06b usb: host: xhci: print correct command ring address
8e1a740a5d66 iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement
6cd0200a9554 target: Convert ACL change queue_depth se_session reference usage
de41b0e12d6e target/fileio: Fix zero-length READ and WRITE handling
a1c2b01c310a target: Fix compare_and_write_callback handling for non GOOD status
8e209a07b106 xen: adjust early dom0 p2m handling to xen hypervisor behavior
(From OE-Core rev: 2e7d1a42b14de6f47543186f7855658a2ec36397)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest 4.9 -stable which comprises the following
commits:
f1aa865ae5d4 Linux 4.9.31
11214bd292ec xfs: Fix off-by-in in loop termination in xfs_find_get_desired_pgoff()
75c5afd58d46 xfs: fix unaligned access in xfs_btree_visit_blocks
7fb8ab8f0a38 xfs: avoid mount-time deadlock in CoW extent recovery
e40c145c023d xfs: xfs_trans_alloc_empty
0e542792a046 xfs: bad assertion for delalloc an extent that start at i_size
f60d76efa91a xfs: BMAPX shouldn't barf on inline-format directories
53c44c236f21 xfs: fix indlen accounting error on partial delalloc conversion
54894ea3c542 xfs: fix use-after-free in xfs_finish_page_writeback
d457f822817f xfs: reserve enough blocks to handle btree splits when remapping
0ba833fe73d2 xfs: wait on new inodes during quotaoff dquot release
2ea882d8ebc7 xfs: update ag iterator to support wait on new inodes
e86b616b5b9e xfs: support ability to wait on new inodes
10f0b2c3c225 xfs: fix up quotacheck buffer list error handling
95487d4be1e9 xfs: prevent multi-fsb dir readahead from reading random blocks
93bd169845e5 xfs: handle array index overrun in xfs_dir2_leaf_readbuf()
99226b890d63 xfs: fix integer truncation in xfs_bmap_remap_alloc
4e2762878a59 xfs: drop iolock from reclaim context to appease lockdep
4e8163fc8159 xfs: actually report xattr extents via iomap
de417ea6b0a6 xfs: fix over-copying of getbmap parameters from userspace
c2ad2dc3d264 xfs: use dedicated log worker wq to avoid deadlock with cil wq
3890d83805fe xfs: fix kernel memory exposure problems
ca659e086fb7 xfs: rework the inline directory verifiers
815414e7648b xfs: verify inline directory data forks
11b485477285 xfs: fix off-by-one on max nr_pages in xfs_find_get_desired_pgoff()
9c795fff53f9 xfs: use ->b_state to fix buffer I/O accounting release race
c9eab63b9e62 xfs: Fix missed holes in SEEK_HOLE implementation
670821b9482d drm/gma500/psb: Actually use VBT mode when it is found
74b416367b4e mm/slub.c: trace free objects at KERN_INFO
c1bb2a899b5f slub/memcg: cure the brainless abuse of sysfs attributes
873f3b0ebbfe ksm: prevent crash after write_protect_page fails
d5ecb4ca0da7 x86/boot: Use CROSS_COMPILE prefix for readelf
d1cff2222071 RDMA/qib,hfi1: Fix MR reference count leak on write with immediate
292f70cd9649 mm: consider memblock reservations for deferred memory initialization sizing
1163e785b150 mlock: fix mlock count can not decrease in race condition
d494cab70697 mm/migrate: fix refcount handling when !hugepage_migration_supported()
7d8ef0e0bc1e ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430
da856d05645c pcmcia: remove left-over %Z format
ebd4c110fd0b drm/radeon: Fix vram_size/visible values in DRM_RADEON_GEM_INFO ioctl
acc771fdaec7 drm/radeon: Unbreak HPD handling for r600+
c8d25fcb5980 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
9869fb485cc6 scsi: mpt3sas: Force request partial completion alignment
21f33b157721 nvme: avoid to use blk_mq_abort_requeue_list()
510b0ec7f60f nvme: use blk_mq_start_hw_queues() in nvme_kill_queues()
ae0578089242 nvme-rdma: support devices with queue size < 32
34808d76dd77 HID: wacom: Have wacom_tpc_irq guard against possible NULL dereference
69b1d90e6a0f ibmvscsis: Fix the incorrect req_lim_delta
80569d0e09ad ibmvscsis: Clear left-over abort_cmd pointers
49d33fd10070 iscsi-target: Always wait for kthread_should_stop() before kthread exit
ecbf0f48d65e mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
8735cf2291cd Revert "ACPI / button: Change default behavior to lid_init_state=open"
32d8077f1e9b acpi, nfit: Fix the memory error check in nfit_handle_mce()
68c83a379106 x86/MCE: Export memory_error()
4472887cbd13 crypto: skcipher - Add missing API setkey checks
63399974effb i2c: i2c-tiny-usb: fix buffer not being DMA capable
d3b2d9ca90c2 drivers/tty: 8250: only call fintek_8250_probe when doing port I/O
1d74fc36f3ec powerpc/spufs: Fix hash faults for kernel regions
68a056175512 fs/ufs: Set UFS default maximum bytes per file
1a658771d5e1 sparc/ftrace: Fix ftrace graph time measurement
45ceb845ef34 sparc: Fix -Wstringop-overflow warning
c1133c671a04 bpf: add bpf_clone_redirect to bpf_helper_changes_pkt_data
988b9792b856 ipv4: add reference counting to metrics
1de51502a025 sctp: fix ICMP processing if skb is non-linear
4b81271ed1c3 tcp: avoid fastopen API to be used on AF_UNSPEC
9e056584770b virtio-net: enable TSO/checksum offloads for Q-in-Q vlans
9c6cfd5811bd be2net: Fix offload features for Q-in-Q packets
5f595d529796 vlan: Fix tcp checksum offloads in Q-in-Q vlans
cc6773b51bf3 net: phy: marvell: Limit errata to 88m1101
4fb5fd27dec0 net/mlx5: Avoid using pending command interface slots
1730a2b9e5b5 bonding: fix accounting of active ports in 3ad
304b41014acb ipv6: fix out of bound writes in __ip6_append_data()
ee72e7e5c2b4 bridge: start hello_timer when enabling KERNEL_STP in br_stp_start
0d10ebbc835f qmi_wwan: add another Lenovo EM74xx device ID
2ea4221eb4ae bridge: netlink: check vlan_default_pvid range
3fa202ef74c8 ipv6: Check ip6_find_1stfragopt() return value properly.
a2c845e51a82 ipv6: Prevent overrun when parsing v6 header options
68647616fd53 net: Improve handling of failures on link and route dumps
0174b07408f2 tcp: eliminate negative reordering in tcp_clean_rtx_queue
ac3735bf97f0 net/mlx5e: Fix ethtool pause support and advertise reporting
1594973b8e07 net/mlx5e: Use the correct pause values for ethtool advertising
f79d3307c035 net/packet: fix missing net_device reference release
5e7d9f0b3f72 sctp: do not inherit ipv6_{mc|ac|fl}_list from parent
eb7f6d6989ad sctp: fix src address selection if using secondary addresses for ipv6
8d625242e86b tcp: avoid fragmenting peculiar skbs in SACK
a5db124dc2a4 net: fix compile error in skb_orphan_partial()
5d165daafc44 netem: fix skb_orphan_partial()
21e3113298f9 bpf, arm64: fix faulty emission of map access in tail calls
c1f3f197d650 s390/qeth: add missing hash table initializations
96a81eb6ad5a s390/qeth: avoid null pointer dereference on OSN
b68c2e387a23 s390/qeth: unbreak OSM and OSN support
25c1a1e4d891 s390/qeth: handle sysfs error during initialization
4bd8f5e38e5a ipv6/dccp: do not inherit ipv6_mc_list from parent
8f1f08be3974 driver: vrf: Fix one possible use-after-free issue
4eed44029507 dccp/tcp: do not inherit mc_list from parent
db3fd4527ed3 Linux 4.9.30
5a597b225d48 drm/i915/gvt: Disable access to stolen memory as a guest
1489183c2005 drivers: char: mem: Check for address space wraparound with mmap()
51d9c51523ec nfsd: encoders mustn't use unitialized values in error cases
ea465551af30 nfsd: fix undefined behavior in nfsd4_layout_verify
f2b6f508c541 NFS: Use GFP_NOIO for two allocations in writeback
a8c35e5c88de NFS: Fix use after free in write error path
88ac6b7e0c82 NFSv4: Fix a hang in OPEN related to server reboot
5438f8952906 drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2
5956b2815f90 mtd: nand: add ooblayout for old hamming layout
6639b27f5a4c mtd: nand: omap2: Fix partition creation via cmdline mtdparts
e437af936a49 mtd: nand: orion: fix clk handling
db6636416195 PCI: Freeze PME scan before suspending devices
9ad81ecb28d6 PCI: Only allow WC mmap on prefetchable resources
6bec009a2f69 PCI: Fix another sanity check bug in /proc/pci mmap
fa3bbb1c7f06 PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms
87e7dc97c8a0 PCI: hv: Specify CPU_AFFINITY_ALL for MSI affinity when >= 32 CPUs
d1d63f97dd76 PCI: hv: Allocate interrupt descriptors with GFP_ATOMIC
dd0023d7105c tracing/kprobes: Enforce kprobes teardown after testing
cc0aa21de47c um: Fix to call read_initrd after init_bootmem
541c67844198 osf_wait4(): fix infoleak
07d8aabff490 MIPS: Loongson-3: Select MIPS_L1_CACHE_SHIFT_6
6d6a43a08611 nvme: unmap CMB and remove sysfs file in reset path
423f1752a028 genirq: Fix chained interrupt data ordering
3fe116563d5d uwb: fix device quirk on big-endian hosts
f157261b55a4 stackprotector: Increase the per-task stack canary's random range from 32 bits to 64 bits on 64-bit platforms
e8a8a6972c50 metag/uaccess: Check access_ok in strncpy_from_user
9fefcb947ec2 metag/uaccess: Fix access_ok()
21f2950f91ff iommu/vt-d: Flush the IOTLB to get rid of the initial kdump mappings
58e36d6f7f11 staging: rtl8192e: GetTs Fix invalid TID 7 warning.
93a46fe4eb41 staging: rtl8192e: rtl92e_get_eeprom_size Fix read size of EPROM_CMD.
d0226f9adaf8 staging: rtl8192e: fix 2 byte alignment of register BSSIDR.
f4205502948b staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory.
e6b8f5ade305 arm64: documentation: document tagged pointer stack constraints
e817a7fb2f31 arm64: uaccess: ensure extension of access_ok() addr
4775fbcc92d7 arm64: armv8_deprecated: ensure extension of addr
f2e4f4e538f0 arm64: ensure extension of smp_store_release value
88675139a81d arm64: xchg: hazard against entire exchange variable
31a331c8cf26 arm64: dts: hi6220: Reset the mmc hosts
5ee1c675ab92 ARM: dts: imx6sx-sdb: Remove OPP override
03d8b264bcb9 ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
086ea4b9510c ARM: dts: at91: sama5d3_xplained: fix ADC vref
9f6cea2e3bbd ARM: 8670/1: V7M: Do not corrupt vector table around v7m_invalidate_l1 call
3304f5a1cb87 ARM: 8662/1: module: split core and init PLT sections
ee773459557d KVM: arm: plug potential guest hardware debug leakage
0ba7e8e34193 arm: KVM: Do not use stack-protector to compile HYP code
d0fb4b7d00bb arm64: KVM: Do not use stack-protector to compile EL2 code
a685601f8533 powerpc/tm: Fix FP and VMX register corruption
018b91870856 powerpc/64e: Fix hang when debugging programs with relocated kernel
3915c566ea94 powerpc/iommu: Do not call PageTransHuge() on tail pages
5ba5685a26b1 powerpc/pseries: Fix of_node_put() underflow during DLPAR remove
a0da3e00df38 powerpc/book3s/mce: Move add_taint() later in virtual mode
222f1d668d00 powerpc/eeh: Avoid use after free in eeh_handle_special_event()
690f09eb52bc powerpc/mm: Ensure IRQs are off in switch_mm()
2338de43e234 cx231xx-cards: fix NULL-deref at probe
8ebb884009b6 cx231xx-audio: fix NULL-deref at probe
1b24b8c07023 cx231xx-audio: fix init error path
40616929f87e dw2102: limit messages to buffer size
e42a6715d26b digitv: limit messages to buffer size
28590f1bb601 dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops
64579fcc57fd zr364xx: enforce minimum size when reading header
466b45af50fd dib0700: fix NULL-deref at probe
074912daab55 s5p-mfc: Fix unbalanced call to clock management
4a9c54250492 gspca: konica: add missing endpoint sanity check
e2f95f88106f s5p-mfc: Fix race between interrupt routine and device functions
6bee0b1fe4ed iio: hid-sensor: Store restore poll and hysteresis on S3
a99462b13dff iio: proximity: as3935: fix as3935_write
820adccd0e3b ipx: call ipxitf_put() in ioctl error path
c67e87a22dd8 USB: hub: fix non-SS hub-descriptor handling
3e4a4e68df08 USB: hub: fix SS hub-descriptor handling
f9cd79e0ad1f USB: serial: io_ti: fix div-by-zero in set_termios
c3e024ff9180 USB: serial: mct_u232: fix big-endian baud-rate handling
d8fc44d67488 USB: serial: qcserial: add more Lenovo EM74xx device IDs
7e5407600663 usb: serial: option: add Telit ME910 support
ee0f3a89842e USB: iowarrior: fix info ioctl on big-endian hosts
dbb127332abf usb: musb: Fix trying to suspend while active for OTG configurations
08c735a15d5b usb: musb: tusb6010_omap: Do not reset the other direction's packet size
ff9177b158c3 usb: dwc3: gadget: Prevent losing events in event cache
653cd31a2ca5 dvb-usb-dibusb-mc-common: Add MODULE_LICENSE
4f93054d9b45 ttusb2: limit messages to buffer size
c71b5040632f mceusb: fix NULL-deref at probe
736f41a47442 usbvision: fix NULL-deref at probe
a3adb4721ae2 net: irda: irda-usb: fix firmware name on big-endian hosts
1046d6a51f57 usb: host: xhci-mem: allocate zeroed Scratchpad Buffer
219628bb0c05 xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton
1a926919364f usb: host: xhci-plat: propagate return value of platform_get_irq()
374a3fb5c3b0 xhci: remove GFP_DMA flag from allocation
fa313fd6673e libnvdimm: fix clear length of nvdimm_forget_poison()
af9bd5218855 fscrypt: avoid collisions when presenting long encrypted filenames
8daed21dbce1 f2fs: check entire encrypted bigname when finding a dentry
b9c0da6219e1 USB: chaoskey: fix Alea quirk on big-endian hosts
545a3171d37f USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs
038ccaa5d50e USB: serial: ftdi_sio: fix setting latency for unprivileged users
2ea2f891fa85 pid_ns: Fix race between setns'ed fork() and zap_pid_ns_processes()
6dc6a2700b6a pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes
5e40ac3fbd0d IB/hfi1: Fix a subcontext memory leak
b894ea8263ca IB/hfi1: Return an error on memory allocation failure
dfb450b2b66e IIO: bmp280-core.c: fix error in humidity calculation
a03176f92a02 iio: dac: ad7303: fix channel description
05a36277a195 ibmvscsis: Do not send aborted task response
9907c838fc07 of: fdt: add missing allocation-failure check
80cdf2065bf0 of: fix "/cpus" reference leak in of_numa_parse_cpu_nodes()
ae5074ba9ef8 of: fix sparse warning in of_pci_range_parser_one
d10b21d6e562 proc: Fix unbalanced hard link numbers
168b2bfaa235 cxl: Route eeh events to all drivers in cxl_pci_error_detected()
393531299547 cxl: Force context lock during EEH flow
fc6b678ab1d4 ohci-pci: add qemu quirk
809ae061d998 cdc-acm: fix possible invalid access when processing notification
198ab4031873 gpio: omap: return error if requested debounce time is not possible
b77adf29b856 drm/nouveau/tmr: handle races with hw when updating the next alarm time
1ec3c712e231 drm/nouveau/tmr: avoid processing completed alarms when adding a new one
6445a49a8c59 drm/nouveau/tmr: fix corruption of the pending list when rescheduling an alarm
16e10490d260 drm/nouveau/tmr: ack interrupt before processing alarms
e8ee63059196 drm/nouveau/therm: remove ineffective workarounds for alarm bugs
d1f006efde1f drm/amdgpu: Add missing lb_vblank_lead_lines setup to DCE-6 path.
b334b3492888 drm/amdgpu: Avoid overflows/divide-by-zero in latency_watermark calculations.
ebf3cf5b9a67 drm/amdgpu: Make display watermark calculations more accurate
adc6647c4f0f ath9k_htc: fix NULL-deref at probe
c39bafb9ee7a ath9k_htc: Add support of AirTies 1eda:2315 AR9271 device
768ae64b2ab2 s390/cputime: fix incorrect system time
8c5157c1967e s390/kdump: Add final note
c849b4fa8e10 regulator: tps65023: Fix inverted core enable logic.
5b00d6c85a92 regulator: rk808: Fix RK818 LDO2
ae382caa96f7 x86: fix 32-bit case of __get_user_asm_u64()
54e385430e12 KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulation
c996ad7568c0 KVM: x86: Fix potential preemption when get the current kvmclock timestamp
b64ecb25b1d5 KVM: x86: Fix load damaged SSEx MXCSR register
91034255e42f ima: accept previously set IMA_NEW_FILE
ce7146cf9bdf mwifiex: pcie: fix cmd_buf use-after-free in remove/reset
385eb9b33e1d mwifiex: MAC randomization should not be persistent
444df795edf4 rtlwifi: rtl8821ae: setup 8812ae RFE according to device type
7e7897878783 md: MD_CLOSING needs to be cleared after called md_set_readonly or do_md_stop
fa9a4a9c6d6f md: update slab_cache before releasing new stripes when stripes resizing
f2bb8bcbc09d dm space map disk: fix some book keeping in the disk space map
cc681811a92c dm thin metadata: call precommit before saving the roots
eeaf13394d32 dm bufio: make the parameter "retain_bytes" unsigned long
e69242436b6b dm cache metadata: fail operations if fail_io mode has been established
042d8dbf69c6 dm mpath: split and rename activate_path() to prepare for its expanded use
e08047c90c8a dm bufio: check new buffer allocation watermark every 30 seconds
98e7b9d45bf4 dm bufio: avoid a possible ABBA deadlock
c5066c4c1b7e dm raid: select the Kconfig option CONFIG_MD_RAID0
4de8eceefbea dm btree: fix for dm_btree_find_lowest_key()
5db8f42b62da infiniband: call ipv6 route lookup via the stub interface
cb5cf8aaba2e mlx5: Fix mlx5_ib_map_mr_sg mr length
ece453e8b0ca ASoC: cs4271: configure reset GPIO as output
cc15d340ec6a tpm_crb: check for bad response size
0c150305212b tpm: add sleep only for retry in i2c_nuvoton_write_status()
40ca1fd38e11 tpm: msleep() delays - replace with usleep_range() in i2c nuvoton driver
568ea0dcc27e tpm_tis_spi: Add small delay after last transfer
c4b3779c9783 tpm_tis_spi: Remove limitation of transfers to MAX_SPI_FRAMESIZE bytes
d513cf24e240 tpm_tis_spi: Check correct byte for wait state indicator
daa432c1a65a tpm_tis_spi: Abort transfer when too many wait states are signaled
aad1e5c81cbb tpm_tis_spi: Use single function to transfer data
cc0f994c205d fanotify: don't expose EOPENSTALE to userspace
e8b6d43ce3ea ARM: tegra: paz00: Mark panel regulator as enabled on boot
0251f6affb11 ALSA: hda: Fix cpu lockup when stopping the cmd dmas
5c1bd0cb4992 tpm_tis_core: Choose appropriate timeout for reading burstcount
3888f62943bb USB: core: replace %p with %pK
5d263d94a870 char: lp: fix possible integer overflow in lp_setup()
7a2b8471ab12 watchdog: pcwd_usb: fix NULL-deref at probe
6e2078c10092 USB: ene_usb6250: fix DMA to the stack
7d96e4a404c1 usb: misc: legousbtower: Fix memory leak
810b7c559954 usb: misc: legousbtower: Fix buffers on stack
f5eea276d8de Linux 4.9.29
9ee8502bd2cc pstore: Shut down worker when unregistering
a4de93008625 pstore: Fix flags to enable dumps on powerpc
1a1029507258 libnvdimm, pfn: fix 'npfns' vs section alignment
c171b24fe508 libnvdimm, pmem: fix a NULL pointer BUG in nd_pmem_notify
5b6e7f353290 libnvdimm, region: fix flush hint detection crash
46ba11b007c1 ipmi: Fix kernel panic at ipmi_ssif_thread()
6e7de39ef9a4 Bluetooth: hci_intel: add missing tty-device sanity check
f2f6d77fabe2 Bluetooth: hci_bcm: add missing tty-device sanity check
518ca84479d7 Bluetooth: Fix user channel for 32bit userspace on 64bit kernel
89c91ea37581 tty: pty: Fix ldisc flush after userspace become aware of the data already
e38a4c3b0b4a serial: omap: suspend device on probe errors
f8d2751b0012 serial: omap: fix runtime-pm handling on unbind
c5689e0ab6e1 serial: samsung: Use right device for DMA-mapping calls
64a599ac5dcc fscrypt: fix context consistency check when key(s) unavailable
8dd114ef78c8 device-dax: fix cdev leak
6240377c574b padata: free correct variable
1c5d8b377e58 CIFS: add misssing SFM mapping for doublequote
6f3b2eed8c9a cifs: fix CIFS_IOC_GET_MNT_INFO oops
f13d96bf98c2 CIFS: fix oplock break deadlocks
411346640ccd cifs: fix CIFS_ENUMERATE_SNAPSHOTS oops
449a74439d15 cifs: fix leak in FSCTL_ENUM_SNAPS response handling
87c0604d860f CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
8dd4e3ff1bfb SMB3: Work around mount failure when using SMB3 dialect to Macs
2ac2ad9fb045 Set unicode flag on cifs echo request to avoid Mac error
4f5e1c48e80b Fix match_prepath()
4e434d4fe28a mm: prevent potential recursive reclaim due to clearing PF_MEMALLOC
945d0ecdd9bd fs/block_dev: always invalidate cleancache in invalidate_bdev()
091784ae9738 ceph: fix memory leak in __ceph_setxattr()
9a6bb7b5637e fs/xattr.c: zero out memory copied to userspace in getxattr
1777e888bd40 orangefs: do not check possibly stale size on truncate
63907bb781e7 orangefs: do not set getattr_time on orangefs_lookup
59f496104112 orangefs: clean up oversize xattr validation
127adc188c62 orangefs: fix bounds check for listxattr
b2764f851db6 ext4: evict inline data when writing to memory map
7929b50dedd1 perf auxtrace: Fix no_size logic in addr_filter__resolve_kernel_syms()
e3cea38357ea IB/hfi1: Prevent kernel QP post send hard lockups
43c54927f6f4 IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level
9ae6b33dcbb4 IB/mlx4: Fix ib device initialization error flow
d20bfe223d3e IB/IPoIB: ibX: failed to create mcg debug file
7a227630ab89 IB/core: For multicast functions, verify that LIDs are multicast LIDs
ecb0ab0f89c7 IB/core: Fix sysfs registration error flow
377178321690 iov_iter: don't revert iov buffer if csum error
9f43f70dcc56 vfio/type1: Remove locked page accounting workqueue
1773131ec4b9 dm thin: fix a memory leak when passing discard bio down
f32e35bc3d54 dm rq: check blk_mq_register_dev() return value in dm_mq_init_request_queue()
f6ec18eb7425 dm era: save spacemap metadata root after the pre-commit
f8d05099ec72 crypto: ccp - Change ISR handler method for a v5 CCP
a0a232489c0f crypto: ccp - Change ISR handler method for a v3 CCP
93424b2b63e0 crypto: ccp - Disable interrupts early on unload
36dffff240d9 crypto: ccp - Use only the relevant interrupt bits
bcc70358396a crypto: algif_aead - Require setkey before accept(2)
9b2fb8ad5ba1 block: fix blk_integrity_register to use template's interval_exp if not 0
884ba252f3f1 arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses
7b0d4391d0f4 KVM: arm/arm64: fix races in kvm_psci_vcpu_on
bdf1d5b4c129 KVM: x86: fix user triggerable warning in kvm_apic_accept_events()
f99985cdee64 perf/x86: Fix Broadwell-EP DRAM RAPL events
0750e8b865ee um: Fix PTRACE_POKEUSER on x86_64
e0c871792cc6 x86, pmem: Fix cache flushing for iovec write < 8 bytes
e65c6aa10860 selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug
acb6dc6aa744 x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup
219a99dd2198 usb: hub: Do not attempt to autosuspend disconnected devices
181b0de7f7cc usb: hub: Fix error loop seen after hub communication errors
5a001a687f7c usb: Make sure usb/phy/of gets built-in
5c51e4b65fca usb: gadget: legacy gadgets are optional
af534bf9540e usb: misc: add missing continue in switch
a54ab7420ac7 staging: comedi: jr3_pci: cope with jiffies wraparound
2bdc2e8c29e9 staging: comedi: jr3_pci: fix possible null pointer dereference
55f9811b98f2 staging: gdm724x: gdm_mux: fix use-after-free on module unload
83f66c9a6026 staging: vt6656: use off stack for out buffer USB transfers.
3eff228fdd43 staging: vt6656: use off stack for in buffer USB transfers.
6312a84dc8b5 USB: Revert "cdc-wdm: fix "out-of-sync" due to missing notifications"
5ffe717f351d USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously
c31ff3ceb326 USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
91cd8f900c75 usb: host: xhci: print correct command ring address
853469d53e86 usb: xhci: bInterval quirk for TI TUSB73x0
bb1f06f53bcb iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement
f788fa43d87a target/fileio: Fix zero-length READ and WRITE handling
a4e52cc7d81b target: Fix compare_and_write_callback handling for non GOOD status
f2b8de98f737 xen: adjust early dom0 p2m handling to xen hypervisor behavior
58cd97ff374b Linux 4.9.28
6a7620744e89 block: get rid of blk_integrity_revalidate()
48d9fa1ece5e drm/ttm: fix use-after-free races in vm fault handling
347d07bf3add wlcore: Add RX_BA_WIN_SIZE_CHANGE_EVENT event
bbd839a40dde wlcore: Pass win_size taken from ieee80211_sta to FW
5d7ab8339a9a xen: Revert commits da72ff5bfcb0 and 72a9b186292d
93862955cbf4 f2fs: sanity check segment count
265d382cc8db net: mdio-mux: bcm-iproc: call mdiobus_free() in error path
ced0a31e667f bpf: don't let ldimm64 leak map addresses on unprivileged
e37aab9c63b8 bnxt_en: allocate enough space for ->ntp_fltr_bmap
8795ee7bed24 ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf
ecbd3ed2ddfe ipv6: initialize route null entry in addrconf_init()
5d8e07740c69 rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string
f19065308601 ipv4, ipv6: ensure raw socket message is big enough to hold an IP header
747a00193f26 tcp: do not inherit fastopen_req from parent
78f032b071c1 net: usb: qmi_wwan: add Telit ME910 support
0f4ac291a768 net: ipv6: Do not duplicate DAD on link up
91260baa9d67 tcp: fix wraparound issue in tcp_lp
493d0a7be31c bpf, arm64: fix jit branch offset related to ldimm64
7bca0a9702ed bpf: enhance verifier to understand stack pointer arithmetic
f3235cbd5be1 tcp: do not underestimate skb->truesize in tcp_trim_head()
3b0129d4111e macsec: dynamically allocate space for sglist
22d6b013ffcf sparc64: fix fault handling in NGbzero.S and GENbzero.S
7aa0e14336d9 ALSA: hda - Fix deadlock of controller device lock at unbinding
170e0abd886b staging: emxx_udc: remove incorrect __init annotations
d8e94d091376 staging: wlan-ng: add missing byte order conversion
47b7257fc20f staging/lustre/llite: move root_squash from sysfs to debugfs
0b77c687d4e0 brcmfmac: Make skb header writable before use
f73dfc29afa6 brcmfmac: Ensure pointer correctly set if skb data location changes
b0e2e3acfe8e MIPS: R2-on-R6 MULTU/MADDU/MSUBU emulation bugfix
2d652d0abd3c scsi: smartpqi: fix time handling
a46d03e35179 scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m
76aa65a2c0fd scsi: qla2xxx: Fix crash in qla2xxx_eh_abort on bad ptr
71fd9a94bd3f serial: 8250_omap: Fix probe and remove for PM runtime
115fb7ec22b5 phy: qcom-usb-hs: Add depends on EXTCON
52dd14d76812 clk: rockchip: add "," to mux_pll_src_apll_dpll_gpll_usb480m_p on rk3036
6fa44d4ba212 USB: serial: io_edgeport: fix descriptor error handling
62b8b773ebde USB: serial: mct_u232: fix modem-status error handling
e17c48c3280e USB: serial: quatech2: fix control-message error handling
594c9b4b0acb USB: serial: ftdi_sio: fix latency-timer error handling
ca4e6525df05 USB: serial: ark3116: fix open error handling
94bbbfe21b5a USB: serial: ti_usb_3410_5052: fix control-message error handling
b07e930d1f49 USB: serial: io_edgeport: fix epic-descriptor handling
4d32e36d6262 USB: serial: ssu100: fix control-message error handling
9ca301067502 USB: serial: digi_acceleport: fix incomplete rx sanity check
84443215cf54 USB: serial: keyspan_pda: fix receive sanity checks
b6c17077e056 usb: chipidea: Handle extcon events properly
8eb8c9b16fdd usb: chipidea: Only read/write OTGSC from one place
4a36b6a7ee88 usb: host: ohci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
8f50cb88d862 usb: host: ehci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
30643b5ac754 usb: dwc2: host: use msleep() for long delay
d0ee36354f77 KVM: nVMX: do not leak PML full vmexit to L1
560a979735f4 KVM: nVMX: initialize PML fields in vmcs02
39058adebbb1 Revert "KVM: nested VMX: disable perf cpuid reporting"
b6cd52a0eeaf x86/platform/intel-mid: Correct MSI IRQ line for watchdog device
1eae95d4bc03 kprobes/x86: Fix kernel panic when certain exception-handling addresses are probed
c9f617223904 clk: Make x86/ conditional on CONFIG_COMMON_CLK
1f0c69cfb2ad x86/mpx: Re-add MPX to selftests Makefile
56e524a8c305 x86/pci-calgary: Fix iommu_free() comparison of unsigned expression >= 0
5ed26fad2d08 x86/ioapic: Restore IO-APIC irq_chip retrigger callback
3b141e2965a7 iwlwifi: mvm: writing zero bytes to debugfs causes a crash
1fb264cf7d54 iwlwifi: mvm: synchronize firmware DMA paging memory
495f91630205 iwlwifi: mvm: fix references to first_agg_queue in DQA mode
4d6f2ac95bc5 iwlwifi: mvm: fix pending frame counter calculation
48aa5ec292f3 iwlwifi: mvm/pcie: adjust A-MSDU tx_cmd length in PCIe
04dd401a5145 iwlwifi: mvm: Use aux queue for offchannel frames in dqa
a6fe39262c51 iwlwifi: mvm: fix reorder timer re-arming
20a9de99a0da iwlwifi: pcie: fix the set of DMA memory mask
562c868d94a8 iwlwifi: pcie: trans: Remove unused 'shift_param'
9c8655c0a860 iwlwifi: pcie: don't increment / decrement a bool
948634492b40 iwlwifi: mvm: overwrite skb info later
45dad03aca55 iwlwifi: mvm: don't restart HW if suspend fails with unified image
d0a8075ffe05 iwlwifi: fix MODULE_FIRMWARE for 6030
9291cabe094b mwifiex: Avoid skipping WEP key deletion for AP
dcdeaa743342 mwifiex: remove redundant dma padding in AMSDU
525fda9221a8 mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print
1d61da618969 ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings
ebae7681697d ARM: OMAP5 / DRA7: Fix HYP mode boot for thumb2 build
f4bff2c44dc9 ARM: dts: NSP: GPIO reboot open-source
329607b4864d leds: ktd2692: avoid harmless maybe-uninitialized warning
f46fdb8a2611 arm64: Improve detection of user/non-user mappings in set_pte(_at)
aadb7e073e81 arm: dts: qcom: Fix ipq board clock rates
e33fb57428a1 arm64: dts: r8a7795: Mark EthernetAVB device node disabled
e7b34f4a74f6 power: supply: bq24190_charger: Handle fault before status on interrupt
7f2b4ad9c07a power: supply: bq24190_charger: Don't read fault register outside irq_handle_thread()
4b7dac0a23b7 power: supply: bq24190_charger: Call power_supply_changed() for relevant component
63e1acc84d28 power: supply: bq24190_charger: Install irq_handler_thread() at end of probe()
20e448f2251c power: supply: bq24190_charger: Call set_mode_host() on pm_resume()
d8d6aedd54ce power: supply: bq24190_charger: Fix irq trigger to IRQF_TRIGGER_FALLING
89e8bd3add69 perf/x86/intel/pt: Add format strings for PTWRITE and power event tracing
1641bb14e8be powerpc: Correctly disable latent entropy GCC plugin on prom_init.o
b47a6b40655b powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL
50e027728915 powerpc/powernv: Fix opal_exit tracepoint opcode
754a2bcfd8b1 powerpc/mm: Fixup wrong LPCR_VRMASD value
a19718bd0b19 cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores
4f39fcce99d7 power: supply: lp8788: prevent out of bounds array access
ccef31d22e80 crypto: caam - fix error path for ctx_dma mapping failure
819e3601d3c5 tmp: use pdev for parent device in tpm_chip_alloc
326f9b0a39d3 tpm: fix RC value check in tpm2_seal_trusted
a941f261c8f1 hwmon: (it87) Fix pwm4 detection for IT8620 and IT8628
898c6bbfc88d drm/sti: fix GDP size to support up to UHD resolution
f5ca890f138d 9p: fix a potential acl leak
(From OE-Core rev: d26a362b6bcee7e5e745b76bd6fb5ef94697bf22)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible to inherit meta data for either patches + config
or for just config.
It is possible that the patch queue contains invalid (when
sourced) shell characters in the patch names, which throws a
syntax error and aborts processing.
The patch + config case was fixed some time ago, but we recently
stumbled onto the config-only case which was still not properly
quoted and hence safe.
This commit brings the config-only inherit in line with the
patch + config processing and we won't abort processing if
characters like () are in patch names.
(From OE-Core rev: ce7044be10597d53725e6917a2949f3ab3de0c96)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Making the following kernel configuration fragment changes available:
c9f07d79f01d nftables: add more configuration options.
8d3cf0ad6c0c common-pc-wifi.cfg: add CONFIG_MT7601U module
55c9bf749c6d ktypes/developer: Enable CONFIG_KEXEC in config
(From OE-Core rev: a0d24f69425716ffd2439b1fb9170c343eaca453)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If for any reason the parse_recipe fail in extract command
the process gets locked because Cooker is expecting the
finish event by tinfoil.
For example:
$ devtool extract remake /tmp/remake
ERROR: remake is unavailable:
remake was skipped: PREFERRED_PROVIDER_virtual/make set to make, not remake
(From OE-Core rev: 2c0062b59178fa668b26487b6d2f1e81a0d868e0)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there was a restriction to only execute tests that's
inherits from OETestCase but in some circunstancies the features
from the OEQA framework isn't needed so we need to support
basic unittests.
[YOCTO #10828]
(From OE-Core rev: baac26f1b36e89e07637b738dd31ec7356f05a02)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our filtering allows to specify which tests to run using,
<module_name>.[test_class].[test_name]
But the module name logic was restricted to only accept one level,
for example: runtime_test vs oelib.types, to support multiple
submodules use only the first part for filtering.
This allows to run the whole tests in a module with more than tree
levels.
Due to the ambiguity on the test filtering options with test cases
with more than tree levels the supported sytnax is,
<module>
or
<module>.[submoduleN].[test_class].[test_name]
[YOCTO #11632]
(From OE-Core rev: cf2ee12b007e5570959ccfbb643159b21d90426e)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To make it obvious what is lost when python is disabled, actually delete the
scripts so the user can't attempt to use them.
(From OE-Core rev: 25c8d738b904c8755df203122067afa0047b27ad)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These commands are not whitelisted by the HOSTTOOLS variable which
silently prevents the MBR disk signature from being written to the
image.
Reported-by: Michael Davis <michael.davis@essvote.com>
(From OE-Core rev: a58e53f55259acd79a98a0f8b8a435d2a5aef36e)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since do_rootfs depends on cve-check results of all recipes,
we need to recursively depend on recipe do_cve_check.
(From OE-Core rev: a1af526e43cb476472a6203882c12deef297f542)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes there are control messages in cve-check-tool printed to
stderr. These lead to parsing error and thus failed build.
This can happen for instance when cve database needs to be
refreshed during build.
(From OE-Core rev: 6d8a17f4c50be292990e37de65630a6b84466ee6)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is cve report for a recipe in previous build and there
is no result for current one, old cves are kept in CVE_CHECK_DIR.
This happens on version upgrade or when cve/recipe is whitelisted.
(From OE-Core rev: 85b4941c71a0e3c08a8c48d52a94dfe2897d2c92)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream init script uses SIGUSR2 to terminate that daemon because
SIGTERM is ignored. As the killproc function does not support specifying
a signal, switch to start-stop-daemon. Drop the retry loop because
SIGUSR2 is lethal for agent.
(From OE-Core rev: 7a47752f8223f3c0ed4354d5e39f1319071acf41)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means mismatched layers are more clearly identified to the user in
cases where compatibility has not been tested. This is perhaps not as
needed for the core repository (other than CORENAMES) but lets lead by
example.
(From OE-Core rev: cde66d5eac8e5c2821ba225dc4be4af4e0581652)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, someone trying a master branch of any given layer may
or may not find it works with the version of OE-Core that they
have picked.
This patchset introduces LAYERSERIES_CORENAMES and
LAYERSERIES_COMPAT_<layername> with the intention of allowing layers
to indicate which versions of the core project they're compatible with.
In general the master branch will use the next release codename as
the value of LAYERSERIES_CORENAMES, meaning that the waterfall model
of layer releases is supported with layers updating their
LAYERSERIES_COMPAT_ values as they branch for release.
Both variables support multiple strings and a given layer is accepted
if there is overlap of any one value. This means a layer can be compatible
with multiple core versions.
Setting LAYERSERIES_COMPAT_ will be required by the Yocto Project
Compatible v2 standard but the system will not error if its not set at this
point.
This should make it clear when a given layer is unmaintained and untested
with new releaes of OE-Core, a common user pain point.
(Bitbake rev: 92c49b9b1a16dfd35444db8143bd4cae4cda70cc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tinfoil sets up its own logger by default, but if and when we initialise
the UI (by default knotty) will also set one up, leading to duplicated
messages specifically from tasks. To avoid this, rather than adding some
kind of parameter, just check if there is already a logger outputting to
stdout/stderr and if so, skip adding our own.
Part of the fix for [YOCTO #11275].
(Bitbake rev: 66d866745f35468d1540a793d07e3a401298b84b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding an additional logger in setup_bitbake() interacts poorly with the
logger we have added by default in tinfoil's constructor, with the
result that messages may be doubled or even tripled in tinfoil-using
scripts. Disable adding this one when calling setup_bitbake() from
tinfoil to avoid this problem.
Part of the fix for [YOCTO #11275].
(Bitbake rev: 8a5bae76f91f2411187c638a42fa3c762052cf11)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a number of the commands and support functions that were created
solely to support functionality in the now-removed Hob UI. In most cases
we now have this functionality elsewhere e.g. to modify config files and
recipes we have bb.utils.edit_metadata_file() and friends, and in OE we
have oe.recipeutils.patch_recipe_file() and friends which build on top of
the former. Additionally, some of it represented pretty egregious
incursion of OE metadata-specific references into BitBake code.
For now I have left in the find*File functions and commands as they are
relatively generic and possibly still useful, but they might be removed
in future.
(Bitbake rev: a322f13183c66a28d93cc4bc3d839d95fc1d90f4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In OpenEmbedded's buildhistory class we want access to the bitbake
command line that launched the build, and up to now we were simply using
sys.argv from within the event handler to get that. Unfortunately that
doesn't work in memory resident mode, since the event handler is
naturally executing within the server and thus will give you the command
that launched the bitbake server which is much less interesting. Add a
dynamic variable BB_CMDLINE to provide access to this, set from sys.argv
within the UI process in updateToServer().
(Note that BB_CMDLINE isn't currently passed through to the worker, so
this is only really readable from event handlers plus any explicit
getVariable calls - in theory an observe-only UI could read it for
example.)
Part of the fix for [YOCTO #11634].
(Bitbake rev: 8ad31a3eff5cfcb7b1c462578a582dafcbc426d4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we set these flags here then we can not only tidy up some of the code
that calls initConfigurationData() (and reset() which simply calls the
former), we also avoid calling initConfigurationData() an extra time
unnecessarily during startup (since setting baseconfig_valid = False in
updateConfigOpts() also resulted in initConfigurationData() being
called from updateCacheSync() at the end of the command.)
(Bitbake rev: 74d2ef99a920aa9e70470ba8e600ea973a3c672a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you build a recipe, modify one of the files referred to in SRC_URI,
then build it again, it should re-run do_fetch and the tasks that depend
upon it to incorporate the modified file. With memory resident mode this
was not working unless you restarted the server, because the mtime of
the file was cached and thus we never checked the actual file. Clear out
the mtime caches in buildTargets() to ensure this isn't an issue. I did
a minor refactoring to break this out to its own function since we were
already clearing out the build mtime cache here.
(The test I used for this was . ./oe-init-build-env-memres,
bitbake -c fetch mdadm, modify the comments at the top of one of the
patches referred to in the recipe, and then bitbake -c fetch mdadm again
and it should re-execute the fetch task ("... 0 didn't need to be
re-run".)
Fixes [YOCTO #10732].
(Bitbake rev: fe4f3487368bc35043a1ba464e1c69d2c9cbefc6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CookerConfiguration sets the "tracking" option to True when -e is
specified in order to have history tracking enabled in the datastore
so that we can show variable history (which isn't enabled by default for
performance reasons), however in memory resident mode this wasn't doing
anything because it was happening on the UI side only. We do have a
mechanism for updating the cooker configuration in the server, but the
tracking option wasn't being included in the list of options we updated,
so we just need to add this option to fix the issue.
Fixes [YOCTO #10730].
(Bitbake rev: 57d4977555cf892b15dd0302dfe261fe37d49327)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using 1000000 memory address for kernel and a00000 for dtb
can cause kernel image to overwrite dtb when uncompressing
and u-boot crashing with:
ERROR: image is not a fdt - must RESET the board to recover.
Updated flashing instructions for the board to use addresses
1000000 and 2000000 to avoid this error.
Got rid of resetting loadaddr and ftdaddr u-boot variables.
(From meta-yocto rev: 05fc7fc19a9b43cab31ea873e5c38a2737c799cf)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SMP kernel config presents issues on qemuarm because:
CONFIG_SMP=y
Dependencies Missing:
- CPU_V6K or CPU_V7:
These are selected by setting:
CONFIG_ARCH_MULTI_V7=y
or
CONFIG_ARCH_MULTI_V6=y
But our QEMU + ARM BSPs are based on armv4/v5 hence they are
incompatible with CONFIG_SMP.
This patch fixes the script, and avoids offering SMP to the user
when the created BSP is based on QEMU + ARM.
[YOCTO #11426]
(From meta-yocto rev: d63aa4acd20b2aa022701289e9ab7be7f551b0b2)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BBFILES_DYNAMIC can be used to activate content only when some other
layers are present. The other layers are identified by the collections
that they define.
The main use case is to avoid .bbappends without the corresponding .bb
file in layers that want to modify other layers via .bbappends without
introducing a hard dependency on those other layers. .bb files could
also be handled via BBFILES_DYNAMIC.
Entries in BBFILES_DYNAMIC must have the form <collection
name>:<filename pattern>. Example usage:
BBFILES_DYNAMIC += " \
clang-layer:${LAYERDIR}/bbappends/meta-clang/*/*/*.bbappend \
core:${LAYERDIR}/bbappends/openembedded-core/meta/*/*/*.bbappend \
"
Parsing is aborted when invalid entries are found with an error
message like this:
ERROR: BBFILES_DYNAMIC entries must be of the form <collection name>:<filename pattern>, not:
/work/my-layer/bbappends/meta-security-isafw/*/*/*.bbappend
/work/my-layer/bbappends/openembedded-core/meta/*/*/*.bbappend
Based on a patch by Richard Purdie.
(Bitbake rev: 04f8bd50aa04b12cf91dd6a3154527ad2c24695c)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This vulnerability is also called "rpcbomb".
Backport upstream patch to fix this vulnerability.
CVE: CVE-2017-8779
(From OE-Core rev: d10edb97f0a7d6952adf9e0dbb6b4d5c0d168195)
Signed-off-by: Fan Xin<fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade libtiff from 4.0.7 to 4.0.8
2. Delete the following patch file due to CVE-2017-5225 has been fixed in 4.0.8
libtiff-CVE-2017-5225.patch
(From OE-Core rev: 825927e85933322e6f195f0d937359017a9a9b97)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade hdparm from 9.51 to 9.52
2. Update the checksum of LIC_FILES_CHKSUM
The following content is appended to LICENSE.TXT, the licence is still BSD & GPLv2.
The apt.c file is Copyright (c) 2009 Jan Friesse <jfriesse@gmail.com>.
You may use/distribute apt.c freely, under the terms of either
(your choice) the GNU General Public License version 2,
or a BSD style license.
(From OE-Core rev: 3cd7aa486527d34bf6d20dd37046fe683230a4b6)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is wrongly detected by configure since it only checks for
__sync_add_and_fetch and not __atomic_fetch_add, it decides
to let compiler emit references to atomic functions which
it expects to be provided by libgcc, but thats not the
case for armv5 arch
[YOCTO #11616]
(From OE-Core rev: 6866ad53c5d49781002470195b4aae1ad1afde5c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build when PIE is turned on. It tries to build
.so file using -pie and -shared flags together because
its doing compile and link in same step CFLAGS and LDFLAGS
are combined and does not work, ending in errors e.g.
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/python-pygpgme/0.3-r0/recipe-sysroot/usr/l
ib/Scrt1.o: In function `_start_c':
| /usr/src/debug/musl/1.1.16+gitAUTOINC+179766aa2e-r0/git/crt/crt1.c:17: undefined reference to `main'
| collect2: error: ld returned 1 exit status
This error while cryptic is due to the fact that we are
building a shared library but also pass -pie flag to the link
step after specify LDHSARED ( which is -shared linker flags )
we can not use -pie when doing shared libs. This is true for all the python
modules inheriting setup tools
Disable the pie flags thusly for all modules using setuptools since
this setting is done in setuptools makefiles which are then used
during module compiles
(From OE-Core rev: 6a4e3b696d32809279f1550cc1d67bc6b9979a03)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe explictly sets -DAO_USE_PTHREAD_DEFS on ARM, but with libunwind 1.2
this causes the linker to fail:
hidden symbol `__sync_synchronize' in libgcc.a(linux-atomic.o) is referenced by DSO
Removing these defines lets configure do the right thing and build libunwind.
(From OE-Core rev: f2efadab8b1ab1c50584a39908673e1a6717f753)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A following linking error was observed:
| ==========
| archival/lib.a(tar.o): In function `tar_main':
| archival/tar.c:1168: undefined reference to `unpack_Z_stream'
| archival/tar.c:1168: undefined reference to `unpack_Z_stream'
| ld: busybox_unstripped: hidden symbol `unpack_Z_stream' isn't defined
| ld: final link failed: Bad value
this happened with clang compiler, with the following configs:
| CONFIG_TAR=y
| # CONFIG_FEATURE_SEAMLESS_Z is not set
which can be fixed by adding IF_FEATURE_* checks in.
(From OE-Core rev: 789254b5ae983a94346f53de18286713b80eb5f2)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I got a following error when I run buildstats-diff against a invalid
buildstats file:
| Traceback (most recent call last):
| File "/poky/scripts/buildstats-diff", line 548, in <module>
| sys.exit(main())
| File "/poky/scripts/buildstats-diff", line 534, in main
| bs1 = read_buildstats(args.buildstats1, args.multi)
| File "/poky/scripts/buildstats-diff", line 222, in read_buildstats
| return read_buildstats_dir(path)
| File "/poky/scripts/buildstats-diff", line 165, in read_buildstats_dir
| os.path.join(recipe_dir, task))]
| File "/poky/scripts/buildstats-diff", line 124, in read_buildstats_file
| bs_task['elapsed_time'] = end_time - start_time
| UnboundLocalError: local variable 'end_time' referenced before assignment
the root cause is that a task was terminated by me on the terminal,
so the generated buildstats file was invalid, supposing that it would
make the buildstats.sh fail, but the script should give more graceful
error messages.
(From OE-Core rev: dee3c29071017b4d12c02b711c5e42ca96e0578d)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are using a temp directory, use the realpath for output log
to store the results in the original BUILDDIR.
[YOCTO #11571]
(From OE-Core rev: 0addd079966ece97abc2e0ba3e7d6434d23692aa)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modify “test_devtool_virtual_kernel_modify” to be executed with default
configuration defined on oe-selftest test suite. A shorter string was
added to the the header file to avoid overlapped sections when building
kernel for qemux86-64.
[Yocto #11300]
(From OE-Core rev: a8bda790fded43eac72b2ad76d47c27363f02070)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were two completely different tests inside selftest.py,
and the only reason for them to be together was that both needed
the same mechanism to execute (run testimage from within selftest)
This fixes the design issue and error-prone situation by separating
these tests. In add a new module for dnf-runtime and also has an
extra time added to running the tests, but it is minimal since
the builds reuse data from previuous build.
[YOCTO #11436]
(From OE-Core rev: 2f6a506018973f0eaf1306555df3e74a3ab25680)
Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Getting ip address from DHCP server is much more convenient
than setting static ip. It allows to configure u-boot in
more generic way and to avoid hardcoding static ip in
u-boot configuration.
Enabled dhcp client functionality for Yocto reference
hardware MPC8315E-RDB.
(From OE-Core rev: fa3a157e437aefa24c473ec53736a26f7e9fd470)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Catching a possible exception when importing the git module,
allows us to skip test if the latter is missing on the host.
Also, import oe.buildhistory_analysis inside fuctions
because this module also needs git to work correctly.
[YOCTO #11620]
(From OE-Core rev: 186882ca62bf683b93cd7a250963921b89ba071f)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the original implementation, "bitbake-layers add-layers <layer>"
succeeded without error checking. This will further introduce
failures in recipe parsing only when "bitbake" command is executed.
Adding a meta layer without its dependency layer(s) should failed
and exit the process gracefully.
Added extra argument "-F" to force add a layer without checking
layer dependency.
[YOCTO #10913]
(Bitbake rev: 705ab252e631903e6d2e46202b419a9e8adcd861)
Signed-off-by: Phoong Stanley Cheong Kwan <stanley.cheong.kwan.phoong@intel.com>
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modify CFLAGS for several cases which will not compile otherwise.
Do not use the form CFLAGS_x_append because it will replace, not
append to CFLAGS for override x.
(From OE-Core rev: f8e63dff3eb807b07bd71f0e31f6e0cf18ecdb0c)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade lsbinitscripts from 9.68 to 9.72
2. Rebase the following patch file.
functions.patch
(From OE-Core rev: be117d6ea79882d10cce4c061385832e26d23bff)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kmscube depends on virtual/libgles2, virtual/egl (provided
by mesa) and gstreamer1.0 which require opengl in DISTRO_FEATURES.
(From OE-Core rev: ae78eac950e209da430ca0d258656f616a2ef9d2)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade libxml-namespacesupport-perl from 1.11 to 1.12
2. Update the checksum of licence file because the author and contributors's name list is deleted.
The content of licence has no change.
(From OE-Core rev: 6894a25d80358f48b3f503e5434f0e99354c9471)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade libxml-simple-perl from 2.22 to 2.24
2. Update the Licence checksum due to the address of Free Software Foundation changed.
The content of licence has no change.
(From OE-Core rev: 684dcc1c0d1aece28edfe18c89c27ffcf553a477)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade acpica from 20150515 to 20170303
2. Rebase the patch file for 20170303
(From OE-Core rev: c08ca9353fabb595de1011cf9d6db6ff6cc06ce3)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches fix a few building problems but are not being
taken into consideration at the moment, even though they have
been reviewed upstream with most of them merged (and accepted
already in OE-core master):
1.- CMake: define GBM_BO_MAP only when symbol is found
2.- util/egl: Honour Surfaceless MESA in get_default_display
3.- egl_mesa_platform_surfaceless: Don't use eglGetPlatformDisplay directly
4.- egl_mesa_platform_surfaceless: Use EXT functions for surfaces
(From OE-Core rev: 4322982346fb403bfd2c03b93bcad4c3d8694ea5)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade lzo from 2.09 to 2.10
2. Update the license checksum due to the date change, not license change.
3. Add a patch to fix the undefined error.
(From OE-Core rev: 874cf9e9ec72eb7235ef1997fdfea9c33b3628f6)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also clean up the logic in the script to be more Pythonic.
(From OE-Core rev: fae66dd3633aa8a6aa633fcfd7c4b9a728dee7a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also clean up the logic in the script to be more Pythonic.
(From OE-Core rev: e5ac43e1b549e637f1820a03dd0a633fbecd395c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build when PIE is turned on. It tries to build
.so file using -pie and -shared flags together because
its doing compile and link in same step CFLAGS and LDFLAGS
are combined and does not work, ending in errors e.g.
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/python-pygpgme/0.3-r0/recipe-sysroot/usr/l
ib/Scrt1.o: In function `_start_c':
| /usr/src/debug/musl/1.1.16+gitAUTOINC+179766aa2e-r0/git/crt/crt1.c:17: undefined reference to `main'
| collect2: error: ld returned 1 exit status
This error while cryptic is due to the fact that we are
building a shared library but also pass -pie flag to the link
step after specify LDHSARED ( which is -shared linker flags )
we can not use -pie when doing shared libs. This is true for all the python
modules inheriting setup tools
Disable the pie flags thusly for all modules using setuptools since
this setting is done in setuptools makefiles which are then used
during module compiles
(From OE-Core rev: dc1c16e9df365871b2c40998f63f304ffa610447)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_ar_configured alters WORKDIR but also expects to be able to run do_configure,
so forcibly expand the paths to the sysroots as otherwise they'll point to a
non-existant directory in the temporary WORKDIR.
[ YOCTO #11584 ]
(From OE-Core rev: aa2240657b015d46e9ba4bcb6264709a82313d83)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: matchbox-desktop-2.1-r0 do_ar_original: Can not determine archive names
for original source because 'name' URL parameter is unset in more than one URL.
Add it to at least one of these: git://git.yoctoproject.org/matchbox-desktop-2
file://vfolders/%2A
ERROR: matchbox-desktop-2.1-r0 do_ar_original: Function failed: do_ar_original
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function do_ar_original, when recipes have more than one source, it added the
"name" URL parameter as suffix to identify the created tarball.
But the URL type "file://" that we always used to represent a series of patches,
it didn't have "name" parameter, so it failed.
So set "name" to the folder name to identify the created tarball, for example:
In matchbox-desktop bb file, the SRC_URI contains:
file://vfloders/*
We set "name" to "vfolders" to identify the created tarball.
In connman-gnome bb file, the SRC_URI contains:
file://images/*
We set "name" to "images" to identify the created tarball.
(From OE-Core rev: 0af636c635391b30c987dedeffe597ef4f8a1ed8)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_unpack_and_patch was not correctly run until recently
("archiver.bbclass: various fixes for original+diff mode") but
with the fix applied, the errors we get indicate the function
is not adapted to work with recipe specific sysroots.
do_unpack_and_patch sets WORKDIR to ARCHIVER_WORKDIR which
affects all path settings relative to WORKDIR, inluding the paths
to recipes' sysroots. IOW, when do_unpack and do_patch are run, they
cannot find the necessary native tools and files located in the
sysroot (e.g., quiltrc) because the paths point to ARCHIVER_WORKDIR.
Adapt do_unpack_and_patch to RSS by restoring the original
STAGING_DIR_NATIVE after WORKDIR is changed to ARCHIVER_WORKDIR.
(From OE-Core rev: db7d2cc5a4df3c2077ba874c7ae395c73fd9ed13)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- systemd_boot.py: Use the new case class and change decorator for id
- __init__.py: Because isn't needed now
(From meta-yocto rev: 59b2135007d80b3b76ef1256bf5d5aa6076178bc)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default python logging module uses stderr as default stream
for output but is unix-like to use stdout instead, so change it.
(From OE-Core rev: 986452c410a958e339f31f8c05461c18a1a15eb5)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After Python 3.5 the init method contains initialization of
_loading_packages set to avoid infinite loops in recursive
loading.
Fix,
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/oe-selftest", line 70, in <module>
ret = main()
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/oe-selftest", line 57, in main
results = args.func(logger, args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/context.py", line 214, in run
rc = self._internal_run(logger, args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/context.py", line 175, in _internal_run
self.tc.loadTests(self.module_paths, **self.tc_kwargs['load'])
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/context.py", line 51, in loadTests
self.suites = self.loader.discover()
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/loader.py", line 268, in discover
pattern='*.py', top_level_dir=path)
File "/usr/lib/python3.5/unittest/loader.py", line 341, in discover
tests = list(self._find_tests(start_dir, pattern))
File "/usr/lib/python3.5/unittest/loader.py", line 398, in _find_tests
full_path, pattern, namespace)
File "/usr/lib/python3.5/unittest/loader.py", line 473, in _find_test_path
self._loading_packages.add(name)
AttributeError: 'OETestLoader' object has no attribute '_loading_packages'
(From OE-Core rev: 17b832ba05d640570a773adbff2fa4e9ff83fce3)
Signed-off-by: Anibal Limon <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build when PIE is turned on. It tries to build
.so file using -pie and -shared flags together because
its doing compile and link in same step CFLAGS and LDFLAGS
are combined and does not work, ending in errors e.g.
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/python-pygpgme/0.3-r0/recipe-sysroot/usr/l
ib/Scrt1.o: In function `_start_c':
| /usr/src/debug/musl/1.1.16+gitAUTOINC+179766aa2e-r0/git/crt/crt1.c:17: undefined reference to `main'
| collect2: error: ld returned 1 exit status
This error while cryptic is due to the fact that we are
building a shared library but also pass -pie flag to the link
step after specify LDHSARED ( which is -shared linker flags )
we can not use -pie when doing shared libs. This is true for all the python
modules inheriting setup tools
Disable the pie flags thusly for all modules using setuptools since
this setting is done in setuptools makefiles which are then used
during module compiles
(From OE-Core rev: 4b5d55228ed2565570d0e93cfea4efa8cbb789ea)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases, it may be useful to populate a volatile file from an
existing one, e.g. a file in a read-only rootfs that may be edited in a
read-write destination.
To provide this behavior, creation of volatile files has been updated to
copy a file which has been given in the <linksource> field. If set to
none, the current behavior is preserved.
(From OE-Core rev: d44816bedadeef420226dc5efb67065cfcda6634)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* I had some components where the MACHINE name was also included in PV of allarch recipe
which was tripping the script into saying that they have different signatures (because
for one MACHINE was the string in PV replaced with 'MACHINE' and not for other MACHINEs
(From OE-Core rev: 36e6abf387848d8c4383b4d506340811dd371c86)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toolchains are required to be prepopulated in sysroot before
entering devshell.
[YOCTO #11464]
(From OE-Core rev: eb8a1cdf5106d119f77db76f9a690826af9fcda3)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New framework has different classes/decorators so adapt current test cases to
support these. Changes include changes on base classes and decorators.
Also include paths in selftest/__init__.py isn't needed because the
loader is the standard unittest one.
(From OE-Core rev: ddbbefdd124604d10bd47dd0266b55a764fcc0ab)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new OEQA framework aims to re-use code into the different Test
components.
The previous oe-selftest implements it-self loading, run, and list test
cases in a non-standard way (unittest base) and other functionalities
like logging that is now on oeqa core. This ends on a compact oe-selftest
script.
All needed command line options was migrated but there are some of them
pending of implementation and others deprecated.
Deprecated options:
list-tags: The tag functionality into the old oeqa framework isn't
work, the selftest doesn't has tag decorators.
{run, list}-tests-by: Ambiguos options it accepts all the posibilites module,
class, name, id or tag.
Remaining to implement:
coverage: It enables covrage reports over a test run, currently isn't on
on use and some bugs [1], i filed a bug to add support to OEQA core module in
this way other Test components could enable it.
repository: It push XML results into a git repository and isn't in use,
i filed a bug to implement this into OEQA core module. [2]
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=11582#c0
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=11583#c0
(From OE-Core rev: 3b2a20eee4a39f40287bf67545839eaa09fc892d)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test layer is added at init of selftest and is the same
across test runs so pass it as a attr in the context.
(From OE-Core rev: 8441da8fbc7ff2237d9ccd3a5c5117345f5c87b2)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The machine selection is an operation that needs to be made
in every test run, the best place to it is on the context
module.
Use self.tc.custommachine variable instead of use environment.
SIgned-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
(From OE-Core rev: f295b70ace0ffc28256140a21af5c3a8903297cb)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The oe-selftest creates include files to store custom configuration to
make specific tests, every class executes a different test and may be
uses custom configuration.
So move to case class in order to simplify oe-selftest script and later
implement later a build folder per class.
(From OE-Core rev: 1130b40c3dfa65e7ece08a95b3941e4d1d20bcf0)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Summary of the changes:
- Use OETestCase as base class instead of unittest.TestCase
- Remove LogResults decorator the new framework provides logging into
the core functionality.
- Logger is now self.logger instead of self.log
- Move comments into docstrings in several help methods
- Use get_test_layer() method instead of access monkey patched variable
in old oeSelfTest case class.
(From OE-Core rev: c38cab77893f9d8fd505f050cc880a15677b73db)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to maintain compatibility with oe-selftest, the
load_test_components needs to be re-used, so the script
executor needs to pass to only load components supported
by certain script (oe-test, oe-selftest).
(From OE-Core rev: d6b78ae711b93b4059690320cb8d821aaadd1684)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test_recipetool_create_github test fetches HEAD of the repository so
upstream changes can (and do) break the test. Avoid these problems by passing
the rev= argument in the URL to lock the checkout to the same version that is
fetched in the github_tarball test.
Also pass the commands to runCmd() as a list instead of a string, the semicolon
in the URL needs more quotes if the shell is involved and passing a list
bypasses the shell entirely.
(From OE-Core rev: b35bedd209092432c560e998043b6a8c5c2e4d34)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These files should be removed as version 4.8 is no longer supported (6751dce4cf
and 1632f6623c) and errors may be produced when executing some commands.
For instance, "yocto-bsp list <karch> --property <property_name>" expects the
SRC_URI of the 4.8 kernel recipe, which doesn't exist anymore, throwing the
following exception:
$ yocto-bsp list arm --property existing_kbranch
Getting branches from remote repo None...
Traceback (most recent call last):
...
SyntaxError: function specified for 'gen' property returned nothing : input type:
"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches"
branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this
BSP on:" default:"standard/base"
[YOCTO #9867]
(From meta-yocto rev: fb0ed1cdeac9e716d1eaa5b11c8262a209bf148e)
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The loop for populating the depends of the tree data should use dep
instead of item.
(Bitbake rev: 37c298b27e3f72b21513124237cfeffb22c0e2f0)
Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python function subprocess.call() returns the return value of the
executed process. If return values are not checked, errors may
go unnoticed and bad things can happen.
Change all callers of subprocess.call() which do not check for
the return value to use subprocess.check_call() which raises
CalledProcessError if the subprocess returns with non-zero value.
https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module
All users of the function were found with:
$ git grep "subprocess\.call" | \
egrep -v 'if.*subprocess\.call|=\ +subprocess\.call|return.*subprocess\.call'
Tested similar patch on top of yocto jethro. Only compile tested
core-image-minimal on poky master branch.
(Bitbake rev: d2cf67bcaf001acb6be8fc5884fb450649849847)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in these two functions is meant to be equivlanet in behaviour
but isn't. Add in code to ensure files that don't exist are handled
consistently by both functions. Users did report being able to generate
tracebacks otherwise.
(Bitbake rev: c11b4832879354b387a8c9c6a3096f2d621afeac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
KERNEL_IMAGETYPES lists all the kernel images that we want to build. in
cb17b6c2a7 (kernel.bbclass: support kernel image type of vmlinux.gz), some logic
was added to support vmlinux.gz which is not a target built by kernel
makefiles (only vmlinux). It is clear that the goal of this logic is only to
support vmlinux.gz and not others compressed format (such as Image.gz) which are
valid target for kernel makefiles.
For Image.gz we should rely on the kernel makefiles and not do the compression
in kernel class.
This patch updates the logic used to filter out non supported kernel target from
KERNEL_IMAGETYPES, and make vmlinux.gz a 'special case', instead of *.gz. If
more special cases are needed in the future, we could add them in a similar way.
This patch should be a no-op for anyone using vmlinux or vmlinux.gz, and on top
of that it is fixing the build for Image.gz which was not working until now.
(From OE-Core rev: cfc0c897656fe67e81a6a5dcd936dff785529f41)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a comment to fix build musl<->glibc switch while
using same TMPDIR
(From OE-Core rev: bc940753ee4af8c656f33d63e33c3d12d419446e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a set of changes, those are:
- CMake now requires librhash for build and as there is no other
users in OE-Core we make it use its internal copy instead;
- Copyright.txt checksum has change due new contrubutors and 2017
year additions;
- Patch avoid-gcc-warnings-with-Wstrict-prototypes.patch was removed
as it is not need anymore;
- Patch 0001-KWIML-tests-Remove-format-security-from-flags.patch was
removed as it is included in this release.
(From OE-Core rev: cc75f693bde412edd0a1aa4fd4e92fb29b492b76)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated poky.ent to use 2.4 variables and numbering
Updated mega-manual.sed to use "2.4" string for links
Updated all manual revision tables to use "2.4" and
"Usually October, 2017" string.
(From yocto-docs rev: 17ec7da6ab3fd450c2010812f7ad689288b12dcc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11600]
Made some technical corrections to the PACKAGECONFIG_CONFARGS
variable description in the glossary.
(From yocto-docs rev: c422783984748f170943eab418bfa7d0111fa352)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11579]
Added a new description for the LAYERRECOMMENDS variable.
(From yocto-docs rev: 3004a5724c4ea7165e4f749f9c9237ee1fbd89f5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11579]
The syntax for specifying a layer version was incorrect. I
have added an explanation for the correct syntax and provided
an example.
(From yocto-docs rev: 5703fb2f8b9d3df408c596603b8b8416597fc67a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patch support-out-of-tree-builds.patch:
Because the upstream has already contain it.
(From OE-Core rev: 2fd0757ae7fd63bc93a4ce8579c6ba0cdbb4c1cd)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depend on gperf-native: The tarball used to include files generated
with gperf and this is no longer the case.
Use GIR_EXTRA_LIBS_PATH to fix introspection generation.
(From OE-Core rev: 028c398d0977b8f65a78f6a9ba2df8cc07dcc3cd)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Costmetic changes in license.html file required new MD5 hash
* Add PACKAGECONFIG option for libunwind support (new feature, disable by default)
* Rebased 0001-Use-wayland-scanner-in-the-path.patch
* Added zlib in DEPENDS, otherwise mesa no longer builds.
* Added 0001-util-rand_xor-add-missing-include-statements.patch, sent upstream
(From OE-Core rev: fa08267f1399904fed079277bc86ac1aa26c06dc)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Can compile in thumb1 and thumb2 modes now
AO_THUMB_GO_ARM, AO_THUMB_RESTORE_MODE are used
to guard swp instructions
Switch to github and use git for src_uri
(From OE-Core rev: 5d66e34f4be7dacf71251aefd303eb0fb721738e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Noteworthy changes:
1. Introduced the ASN1_TIME_ENCODING_ERROR error code to indicate an invalid
encoding in the DER time fields.
2. Introduced flag ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME. This flag allows
decoding errors in time fields even when in strict DER mode.
3. Added safety check in asn1_find_node(). That prevents a crash when a very
long variable name is provided by the developer.
(From OE-Core rev: 61752a41f2f0abe61e805d2ef1292cec1e202c36)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fixes:
1. Fix a problem in REPLACE that can result in a corrupt database
containing two or more rows with the same rowid.
2. Fix a problem in PRAGMA integrity_check that was causing a subsequent
VACUUM to behave suboptimally.
3. Fix the PRAGMA foreign_key_check command so that it works correctly with
foreign keys on WITHOUT ROWID tables.
4. Disallow leading zeros in numeric constants in JSON.
5. Disallow control characters inside of strings in JSON.
6. Limit the depth of recursion for JSON objects and arrays in order to
avoid excess stack usage in the recursive descent parser.
7. Fix more bugs in the LEFT JOIN flattening optimization.
(From OE-Core rev: 3d4d025b1cc6668fd7baefa01ebb9664e805e83a)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Small update with mostly bug fixes.
Add a desktop file for rsvg thumbnailing (it points to
gdk-pixbuf-thumbnailer so there's no binary added).
(From OE-Core rev: 8ac6bd6144dab4b027b6c463fb542ce00db7e64d)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible that frontends/kconfig is written to by sed before frontends/
exists, so add a mkdir to ensure the directory always exits.
[ YOCTO #11574 ]
(From OE-Core rev: ad915e9baa04c73981c4795a97da95cea40b50c2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error log will be logged into /var/log/message.
Added in more condition checking on the script. Check
/proc/tty/drivers and /proc/tty/driver/*
file system to retrieve active targeted serial.
Only establish getty with active serial in runtime.
[YOCTO #10844]
Reviewed-by: Saul Wold <sgw@linux.intel.com>
(From OE-Core rev: ac0e9541fe93e866e42914f65a0516b993f0cffe)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python function subprocess.call() returns the return value of the
executed process. If return values are not checked, errors may
go unnoticed and bad things can happen.
Change all callers of subprocess.call() which do not check for
the return value to use subprocess.check_call() which raises
CalledProcessError if the subprocess returns with non-zero value.
https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module
All users of the function were found with:
$ git grep "subprocess\.call" | \
egrep -v 'if.*subprocess\.call|=\ +subprocess\.call|return.*subprocess\.call'
Tested similar patch on top of yocto jethro. Only compile tested
core-image-minimal on poky master branch.
(From OE-Core rev: 031cf9c7834cd1cba8b03832673a3e3cfcbfae7c)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
isoimage-isohybrid plugin fails with this error when
trying to find initrd image:
initrd = glob.glob('%s/%s*%s.%s' % (initrd_dir, image_name, target_arch, image_type))[0]
IndexError: list index out of range
as it uses TRANSLATED_TARGET_ARCH value as part of the image.
This approach stopped to work due to changes in oe core code.
initrd file name is made using MACHINE variable. wic can't get value
of this variable as it's not included into bitbake -e output.
Used basename of deploy dir as MACHINE value to fix the breakage.
(From OE-Core rev: cfbb3cc1279ea88ca3e2867f8a409c5120aa1f05)
(From OE-Core rev: e26fa1c34c33ffdc678f8073dade0126aff08b40)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package_qa_check_rdepends() in insane.bbclass has
incorrectly replace its localdata OVERRIDES value with
the package name. Fixing it by appending the package name
to the existing OVERRIDES value. This resolves RDEPENDS QA
error when setting PACKAGECONFIG using a pn- override at
local.conf.
[YOCTO #11374]
(From OE-Core rev: 60d28dd72daee235150ab6605cbf953f1ea691df)
Signed-off-by: Gan, Yau Wai <yau.wai.gan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The remote script is run with `set -e`, so doing rm without -f on a
$file that is already gone will exit the whole script, failing any
redeployment. Assume a use case where packages sometimes produces
certain test binaries stored on volatile media (tmpfs), and where the
system is occasionally rebooted.
(From OE-Core rev: db54c9a22a9b66c673df8e836de5e47fc9edda0b)
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Either both or none of the paths must be passed through
os.path.abspath or things like 'A//B', 'A/./B/', and 'A/B/' in S will
cause unintentional mismatches even when B = "${S}".
Using os.path.abspath for both seems more likely to be correct as that
will also handle the case where ${B} != ${S} but the abspaths are
equal.
(From OE-Core rev: 061f2aab40fecbfe0dcb928baa95d6b3a6b45eed)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
find may be provided by busybox, which might be compiled without support
for -exec.
(From OE-Core rev: 404e8e3661469175e1ea087ebfaf3a7867bf4df2)
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Way back in OE-Core commit fba198ac7efe476a25c5761878ef2fcee97bf9f1 in
2012 we split committing to the repository, making a commit per
top-level directory. However, as we add more information it becomes
harder to see which commits belong to which build. Switch back to a
single commit per build to keep the history tidier.
To address the original concern, if you do want to see just the changes
for a particular subdirectory, git can filter that for you - just
specify that subdirectory as the last parameter on the git show / git
diff command line and that's all you will see.
(From OE-Core rev: b49a4a47783609fe9161fbc11cc7c7ff3ff4b6bb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe name needs to be escaped when using it in a regular expression so
that and special characters are treated literally
(From OE-Core rev: 53c8cceb744adda1bf899d62071d11b20a5dea98)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ASSUME_PROVIDES contains libsdl-native, we need to add sdl-config
to HOSTTOOLS to allow access to the host sdl-config.
(From OE-Core rev: eeb248c1a017e07e36b6fbaafe45006e3869f41a)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In certain cases, it's valuable to be able to exert more control over what
history is removed, beyond srcrev+depth. As one example, you can remove most
of the upstream kernel history from a kernel repository, keeping predominently
the non-publically-accessible content. If the repository is private, the
history in that repo couldn't be restored via `git fetch --unshallow`, but
upstream history could be.
Example usage:
# Remove only these revs, not at a particular depth
BB_GIT_SHALLOW_DEPTH_pn-linux-foo = "0"
BB_GIT_SHALLOW_REVS_pn-linux-foo = "v4.1"
(Bitbake rev: 97f856f0455d014ea34c28b1c25f09e13cdc851b)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we're building from a shallow mirror tarball, we don't want to do
anything with ud.clonedir, as it's not being used when we unpack. As such,
disable updating annex in that case. Also include annex files in the shallow
tarball.
(Bitbake rev: ca0dd3c95502b22c369fbf37f915f45e02c06887)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we're building from a shallow mirror tarball, we don't want to do
anything with ud.clonedir, as it's not being used when we unpack. As such,
disable updating the submodules in that case. Also include the repositories in
.git/modules in the shallow tarball. It does not actually make the submodule
repositories shallow at this time.
(Bitbake rev: 6c0613f1f2f9d4f009545f82a9173e80396f9d34)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, all unused refs (branches & tags) are removed from the repository,
as shallow processing scales with the number of refs it has to process. Add
the ability to explicitly specify additional refs to keep. This is
particularly useful for recipes with custom checkout processes, or whose
git-based versioning requires a tag be available (i.e. for `git describe
--tags`). The new `BB_GIT_SHALLOW_EXTRA_REFS` variable is a space-separated
list of refs, fully specified, and support wildcards.
Example usages:
BB_GIT_SHALLOW_EXTRA_REFS = "refs/tags/v1.0"
BB_GIT_SHALLOW_EXTRA_REFS += "refs/heads/*"
(Bitbake rev: 1771934cd9f8b5847c6fcae0a906fb99d6b0db16)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the user to explicitly adjust the depth for named urls/branches. The
un-suffixed BB_GIT_SHALLOW_DEPTH is used as the default.
Example usage:
BB_GIT_SHALLOW_DEPTH = "1"
BB_GIT_SHALLOW_DEPTH_doc = "0"
BB_GIT_SHALLOW_DEPTH_meta = "0"
(Bitbake rev: 9dfc517e5bcc6dd203a0ad685cc884676d2984c4)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds support to the git fetcher for fetching, using, and generating
mirror tarballs of shallow git repositories. The external git-make-shallow
script is used for shallow mirror tarball creation.
This implements support for shallow mirror tarballs, not shallow clones.
Supporting shallow clones directly is not really doable for us, as we'd need
to hardcode the depth between branch HEAD and the SRCREV, and that depth would
change as the branch is updated.
When BB_GIT_SHALLOW is enabled, we will always attempt to fetch a shallow
mirror tarball. If the shallow mirror tarball cannot be fetched, it will try
to fetch the full mirror tarball and use that. If a shallow tarball is to be
used, it will be unpacked directly at `do_unpack` time, rather than extracting
it to DL_DIR at `do_fetch` time and cloning from there, to keep things simple.
There's no value in keeping a shallow repository in DL_DIR, and dealing with
the state for when to convert the clonedir to/from shallow is not worthwhile.
To clarify when shallow is used vs a real repository, a current clone is
preferred to either tarball, a shallow tarball is preferred to an out of date
clone, and a missing clone will use either tarball (attempting the shallow one
first).
All referenced branches are truncated to SRCREV (that is, commits *after*
SRCREV but before HEAD are removed) to further shrink the repository. By
default, the shallow construction process removes all unused refs
(branches/tags) from the repository, other than those referenced by the URL.
Example usage:
BB_GIT_SHALLOW ?= "1"
# Keep only the top commit
BB_GIT_SHALLOW_DEPTH ?= "1"
# This defaults to enabled if both BB_GIT_SHALLOW and
# BB_GENERATE_MIRROR_TARBALLS are enabled
BB_GENERATE_SHALLOW_TARBALLS ?= "1"
(Bitbake rev: 5ed7d85fda7c671be10ec24d7981b87a7d0d3366)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script will be used by the git fetcher to create shallow mirror tarballs.
usage: git-make-shallow [-h] [--ref REF] [--shrink] REVISION [REVISION ...]
Remove the history of the specified revisions, then optionally filter the
available refs to those specified.
positional arguments:
REVISION a git revision/commit
optional arguments:
-h, --help show this help message and exit
--ref REF, -r REF remove all but the specified refs (cumulative)
--shrink, -s shrink the git repository by repacking and pruning
While git does provide the ability to clone at a specific depth, and fetch all
remote refs at a particular depth, the depth is across all branches/tags, and
doesn't provide the flexibility we need, hence this script.
Refs (branches+tags) can be filtered, as the process of history removal scales
up rapidly with the number of refs. Even the existing `git fetch --depth=` is
extremely slow on an upstream kernel repository with all the branches and tags
kept.
This uses the same underlying mechanism to implement the history removal which
git itself uses (.git/shallow), and the results, when configured similarly, are
in line with the results git itself produces with `fetch --depth`.
(Bitbake rev: 0254020f0e1911c0eaf99111b91828d2a74a4ee1)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove ud.mirrortarball in favor of ud.mirrortarballs. Each tarball will be
attempted, in order, and the first available will be used. This is needed for
git shallow mirror tarball support, as we want to be able to use either
a shallow or full mirror tarball.
(Bitbake rev: 02eebee6709e57b523862257f75929e64f16d6b0)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, the xml runner class prints out the docstring for every
unit test but it order to keep the same format as the standard
runner, avoid docstring output setting descriptions to False.
(From OE-Core rev: 05b16219698fbd30ec76697e1b3be6d31e8f8878)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestLoader.modules must be an iterable object, otherwise
checking presence of specific modules with the 'in' operator fails
with the following command/error:
% oe-test core
.. - core - INFO - Running bitbake -p
Traceback (most recent call last):
File "..poky2/scripts/oe-test", line 108, in <module>
ret = main()
File "..poky2/scripts/oe-test", line 93, in main
results = args.func(logger, args)
File "..poky2/meta/lib/oeqa/core/context.py", line 235, in run
self.tc.loadTests(self.module_paths, **self.tc_kwargs['load'])
File "..poky2/meta/lib/oeqa/core/context.py", line 53, in loadTests
self.suites = self.loader.discover()
File "..poky2/meta/lib/oeqa/core/loader.py", line 204, in discover
pattern='*.py', top_level_dir=path)
File "/usr/lib64/python3.4/unittest/loader.py", line 275, in discover
tests = list(self._find_tests(start_dir, pattern))
File "/usr/lib64/python3.4/unittest/loader.py", line 339, in _find_tests
yield self.loadTestsFromModule(module)
File "..poky2/meta/lib/oeqa/core/loader.py", line 266, in loadTestsFromModule
and module.__name__ in self.modules \
TypeError: argument of type 'NoneType' is not iterable
(From OE-Core rev: 2bb02cd3d6ec6c2c22ab6b567e2985015655fae6)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OEQA framework has internal methods for provide functionality
in decorators so Test components aren't expected to override it.
Use the base unittest methods for setUp and tearDown.
(From OE-Core rev: 21df9f0f6d6272adc6131cdc113000a5e6ac9d46)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the new filters by <module>.[class].[testname] the modules
arg is expected to be a list so use split into TEST_SUITES variable.
(From OE-Core rev: b588c5c65e55a31d61c86553158eef409cd71086)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will enable only run certain module tests and filter by
class and test name.
(From OE-Core rev: 0f7531803aa6ffef2b7c5be9acee3efe7d2974ef)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A common operation is to list tests, currently only selftest
support it, this changes enables this functionality into the
core framework.
(From OE-Core rev: 7e803f1a855d3091a772b13efd3cc8e9c0c766e9)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add needed tests to validate the OEQA Threaded mode, the remaining
parts are tested by the OEQA without Threaded mode.
- test_loader.py: Add a test to validate rules when creating the
list of test suites.
- test_decorators.py: Add oetimeout test because the threaded mode
uses Timer instead of signal.
[YOCTO #11450]
(From OE-Core rev: fb9d91ca34c1b5d3e0034f5135e71f964fca5b82)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the new OEQA thread support there are problems running
devtool twice at the same time because only one instance of
bitbake/devtool is allowed.
[YOCTO #11450]
(From OE-Core rev: 44254caaef131402629d01f01cdee6722718adba)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In python signals are only allowed to delivery into the main thread,
to support the threading mode test if the runner is threaded and
use threading.Timer instead.
There are some considerations like SIGALRM interrupts the execution
after N seconds but the Timer only starts a Thread to notice the
timeout and the exception will be raised when the test run ends.
[YOCTO #11450]
(From OE-Core rev: 8ab201612e22493dc2509ba339a8f07ade611a54)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The _skipTestDependency needs to know if the thread mode is
enabled because the _results are by thread.
[YOCTO #11450]
(From OE-Core rev: 257d9ef4531052ba8507771b58884c7d2b64143d)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class sets the {loader,runner}Class to the threaded versions and
overrides loadTests method to be able specify the process_num.
[YOCTO #11450]
(From OE-Core rev: 3ec0d3825aa31219e0ccabc1f158d3a2f8adbda2)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestRunnerThreaded overrides the run method of OETestRunner
it recieves a list of suites to be executed by a ThreadPool.
The new run method handles the ThreadPool creation and the
OETestResultThreaded fill.
[YOCTO #11450]
(From OE-Core rev: 48b7a407d692e6c49c41b16f2bd11e8c3f47a421)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestResultThreadedInternal extends OETestResult to stores
results by Thread.
The OETestResultThreaded is a simple class that provides the
implementation of interfaces needed by outside like wasSuccesful,
stop, logSummary, logDetails.
[YOCTO #11450]
(From OE-Core rev: 8e71844fc4dd3fcc8a19f9d4c25aafb09c5525fe)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This method is to assign results into the TestContext, create
an internal one to support change implementation in Thread version.
[YOCTO #11450]
(From OE-Core rev: 8a6a9cb816d78e4cf71b79c35b579918d31053f2)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OEStreamLoggerThreaded overrides OEStreamLogger to redirect
the PyUnit output to a logger.
Instead of log every line when comes the OEStreamLoggerThreaded
will buffer the PyUnit output and write everything at end of every
suite execution to don't have mixed suite outputs.
[YOCTO #11450]
(From OE-Core rev: 87d3e5b70c52e5c7439afe4af5aa002522043e81)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The threded module will implement Thread support into the OEQA
framework.
The OETestLoaderThreaded overrides discover to return a list of
suites every suite will be run by a separate Thread.
Some design considerations are:
- All the tests of a certain module needs to be run at one thread
because unittest framework needs to keep track of setUp{Module,
Class,} and tearDown{Module, Class,}.
- Tests that depends on other needs to be run at the same thread
because OEQA framework look at the status of dependant test to
decide if skip or not, this constraint can be change in the future
but a sync mechanishm is needed to implement between the Threads.
[YOCTO #11450]
(From OE-Core rev: b4ae730ee1d6003ff005148f741270e2878de484)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Those methods are used to write in the log the results so
it makes sense to have defined at OETestResult because
is a format of the result itself.
[YOCTO #11450]
(From OE-Core rev: 33a783f59ed4e232f41f8b09dfa7955f2ddc2f80)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I override this method before for keep track of results and forget
to remove it, now isn't need.
(From OE-Core rev: 63606ffaaac1b84ddcad8a1c1006f8110050e20e)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OEStreamLogger class is used for redirect PyUnit output
to a certain logger so there is not need to expose at level
of OETestContext because only OETestRunner needs to know.
[YOCTO #11450]
(From OE-Core rev: 8787fba3df8acd9d2438669d20b1a5060caa9022)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The run() methods of a OETestContext's are expected to return the
results.
(From OE-Core rev: c45546b771c3158e66b2df504576d6dc1758ea75)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This import was at level of OESDKTestContext.register_commands
but OESDKTestContext.run method need it to raise exceptions.
(From OE-Core rev: 35efb419de1dbebd269d87895645934707130746)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No functional changes, just use a consistent set of comments to
separate hard and soft float tuning options.
(From OE-Core rev: 4aa6cdfe9f069ecd976c1257702fe8ff28c57f07)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rename the mirror tarball to align with recipe name
and avoid clash if user have local svn version.
[YOCTO #11501]
(From OE-Core rev: 83a1fcabab5797fcad10bc24e9ddce519a6f1ea2)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds development shell support for out-of-tree kernel modules by reproducing
the build environment of the compile task.
(From OE-Core rev: 08e366a386caab547e0dbcad2d4ee08f44814262)
Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some EGL implementations do not actually ship all Khronos-
extensions. As it turns out, the Mali 450 driver does not
include any of the following symbols, used by the
egl_mesa_platform_surfaceless.c spec test:
* eglGetPlatformDisplay
* eglCreatePlatformPixmapSurface
* eglCreatePlatformWindowSurface
The Right Thing To Do was to obtain the implementation of
these functions (via eglGetProcAddress), as is provided
by their EXT counterparts. These are guaranteed to exist
since they are required by EGL_EXT_platform_base.
Upstream-Status: Submitted [piglit@lists.freedesktop.org]
(From OE-Core rev: 4f85500cfc76407fb4950bbb0df216577aea6bd7)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Piglit Bug #100978] -- https://bugs.freedesktop.org/show_bug.cgi?id=100978
When linking against Mali 450 r6, errors like the following
can be seen:
../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_unmap'
../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_map'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/point-sprite] Error 1
This is due to gbm_bo_map() and gbm_bo_unmap() being recently
added but not yet implemented by all graphics drivers.
Instead of relying on GBM's version, actually try to link
against those symbols.
Upstream-Status: Submitted [piglit@lists.freedesktop.org]
(From OE-Core rev: 2e0c8a510ee60d4ca97e58184c48995cd88a823f)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While building for Hikey using Mali 450 driver (r6p0), an
error like the following appears while linking:
[ 1%] Linking C shared library ../../../../lib/libpiglitutil.so
[...]
[...]/aarch64-linaro-linux/gcc/aarch64-linaro-linux/6.3.1/ld: cannot find -lEGL
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libpiglitutil.so.0] Error 1
Mesa generally provides virtual/egl (along with virtual/libgl,
which satisfies Piglit's current DEPENDS) but that is not the
implementation to use with Mali.
(From OE-Core rev: 02857bd952191e30830af54e21a675522ee3f830)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates in the new version:
37c86e6 : mmc-utils: Check for ext_csd_rev only once
c22a92f : mmc-utils: feature spec 5.0+, Pre EOL information
34a954b : mmc-utils: feature spec 5.0+, device life time estimation for MLC
and pSLC mode
(From OE-Core rev: 0a6f7707bfe0a6cef613e6b413a6d89c2f684a7e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to a more recent kmscube commit from git. Tested on DB410c and DB820c
with s/w and h/w codecs (v4l2).
(From OE-Core rev: 71c109f19ff90f300e2c370d263d28bda0965070)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build without threads for bind is inherited from legacy openembedded.
All libc's support proper threading on Linux now, so enable threads
support for bind.
It is also need to disable static library build which cause package dhcp
fail to build after enable bind threads support.
Options devpoll and epoll are configured to choose most preferable
multiplex method for unix socket. The priorities are: epoll > poll >
select. When set '--enable-epoll', it just defines a var and include
header file that is available for cross compile. So use epoll for bind.
Add PACKAGECONFIG 'urandom' that could use /dev/urandom as random device.
Update file/directory ownerships to fix daemon start failure.
(From OE-Core rev: 598e5da5a2af2bd93ad890687dd32009e348fc85)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enable bind threads support, it fails to compile dhcp:
| tmp/work/armv5e-poky-linux-gnueabi/bind/9.10.3-P3-r0/build/lib/isc/pthreads/../../../
| ../bind-9.10.3-P3/lib/isc/pthreads/thread.c:64: undefined reference to `pthread_create'
Enable build shared libraries for bind and dhcp to fix the build
failure. And the patch is ported from Fedora.
Add sub-package dhcp-libs to package shared libraries.
(From OE-Core rev: dde83ec778c09557d28b4388258e594be653875c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Included error output from qemu-system into the runqemu error message.
Made error output more visible by printing new line before it.
[YOCTO #11542]
(From OE-Core rev: 7fe5f5c29ca271ab718bbd1383e596f2ae61554c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These m4 files need to be deleted so that the versions in the sysroot that we've
patched are used. Specifically, building documentation fails as the gtk-doc
checks fail.
(From OE-Core rev: 4292886ee3b2311902af2b5aaa5f53c5b36c6bee)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros might choose another syslogd provider like rsyslogd.
update-alternative will update the link from syslogd to the right
provider. However the syslogd feature is still present and enabled
in busybox.
This commit adds a new configuration fragment to make syslogd
optionnal in busybox.
(From OE-Core rev: 9732a2ba2edf2607e61ae4fe0d65a02b7918cfe7)
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move config-*/Makefile in libdir from misc package to dev package for
python3, because it is only needed in development process.
(From OE-Core rev: d715dc422ce1723c8d05af7ad4183eeeb36bc2ec)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Porting patch from
<409482251b>
to use _sysconfigdata.py to initialize distutils.sysconfig.
This patch makes that distutils.sysconfig doesn't need config-*/Makefile
in libdir any more. Next we can move it from python3-misc to python3-dev
package.
(From OE-Core rev: 659a80afc5894658f8b82fcd62ebe3562b441db9)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having 'lsof' as a +s (setuid) binary could lead to security issues if
a compromise in the binary is found. It is better that it be -s by
default as a precaution.
(From OE-Core rev: 346c65dd6855106069d1861ca965d3121eb084d1)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As suggested by Khem, we can create a virtualbox configuration
fragment that helps to run XFCE under virtualization.
This can be enabled via KERNEL_FEATURES for targest that
require it, and may be enabled by default in the future.
(From OE-Core rev: a256addb330ec7b781c381894cc72cbd4a5005dd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the kernel meta data with the following configuration change:
When we set NR_CPUS to something > than 8, we also need to set
X86_BIGSMP
according to Kconfig:
config X86_BIGSMP
bool "Support for big SMP systems with more than 8 CPUs"
otherwise NR_CPU will end up being reset to 8
[YOCTO #10362]
(From OE-Core rev: 98278549d960a84605f01fec73aefe5d8792d4bb)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the kernel meta-data to pick up a bluetooth configuration change:
BT_LE is nedded by BT_6LOWPAN
BT_BREDR is needed by:
BT_RFCOMM, BT_RFCOMM_TTY (secondary),
BT_BNEP, BT_BNEP_MC_FILTER (secondary), BNEP_PROTO_FILTER (secondary),
BT_CMTP, BT_HIDP
[YOCTO #10425]
(From OE-Core rev: 0457f08cce73ab8646f8a44e88884371e09f35b4)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gna! project announced that the download site from gna.org HTTP server
will soon be closing down. We have verified that the site is no longer
accessible without network proxy cache. We need to update SRC_URI to
point to new alternative (nwl.cc HTTP server) in order to avoid fetcher
issues in future.
[YOCTO #11575]
(From OE-Core rev: dc8b21ae0ed3bceb9f3df4f6cd8f8f55b9c306fb)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add package libpcap-native required by recipe daq-native in layer
meta-networking. And daq-native is added to fix snort start error.
(From OE-Core rev: 12373003cc3753421321d558813b1de95667c192)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This vulnerability is also called "rpcbomb".
Backport upstream patch to fix this vulnerability.
CVE: CVE-2017-8779
(From OE-Core rev: 7936c9451eb4c376a78a0ac7461d1b2430c7f1f3)
Signed-off-by: Fan Xin<fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
let gettext.bbclass provide the defaults they
are good for it.
What it needs it a dep on gettext-native for intltool-native
which now intltool-native expresses correctly
Helps compile when distros disable NLS
(From OE-Core rev: 0492eb8d781c49e29139d42973832593dd69cae5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When setting USE_NLS="no" and building systemd-boot
(which DEPENDS on intltool), configure fails,
complaining about missing gettext:
configure: error: GNU gettext tools not found; required for intltool
This is caused because USE_NLS="no" makes the gettext class
add gettext-minimal-native to BASEDEPENDS instead of adding
gettext-native.
Since we still would like to set USE_NLS="no" and build systemd-boot,
we add gettext-native as a dependency to intltool-native, which makes it
available for the configure script of systemd-boot fixing the problem.
[YOCTO #11562]
(From OE-Core rev: 26bd53aebf3430f1b9ec459c6c6ab42c57d18319)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The secondary EFI partition is used when booting in EFI mode, and
without the configuration data we don't get any boot targets.
Partial fix to [YOCTO #11503].
(From OE-Core rev: 84aa7a00810e135fdad3f77bdb1da7d1f5fb8627)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are used with LTO enabled so it has to be
compiler specific, making it weak default, makes
clang to override them when enabled.
(From OE-Core rev: 23cfb8416fb13a32e42ec3860c419ee419e55734)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit d2eccccb70e809d482c493922f23aef4409cfd82 has changed suffixes for
all -crosssdk packages from SDK_ARCH to SDK_SYS, but missed one line with
binutils-crosssdk. This change fixes that omission.
(From OE-Core rev: 553d36ebbee364435e8c985961a7f829528658a4)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NIS functionality has been split out into independent
library from glibc
(From OE-Core rev: b73de31cbf58efb303006125f8cd22f130e21d8c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* f9f686b7 have posix_spawnattr_setflags check for supported flags
* 77e895dc add no-op POSIX_SPAWN_USEVFORK to spawn.h
* 55550416 s390x: provide sigcontext struct definition
* bb439bb1 implement new posix_spawn flag POSIX_SPAWN_SETSID
* 58e2396a remove va_arg hacks in printf core with undefined behavior
* e1232f5b make ttyname[_r] return ENODEV rather than ENOENT
* 1a7fa5e5 fix regression in support for resolv.conf attempts option
* 8c44a060 fix scalbn when result is in the subnormal range
* 2577b1bc allow full-range file offsets to mmap on archs with 64-bit syscall args
* b3751c32 fix dl_iterate_phdr in static PIE binaries
* 1ca59755 fix read past end of buffer in getaddrinfo backend
(From OE-Core rev: 1aceb2dcf5bd671d90ec0517ed8f6fa817ea64c0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perf is a tool build from the kernel source, which is normally available
in /work-shared/..., but when devtool is used to modify the kernel
source code, perf is not buildable since it gets an error about being unable
to add a depends to a non-exisit task do_patch.
This patch removes do_patch from the SRCTREECOVEREDTASKS and creates an empty
do_patch task to enable the VarFlags code to have someplace to attach depends
information to.
[YOCT #11120]
(From OE-Core rev: 86c793595e560e7bc52e3cd2a2752746e6adcb76)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a demo application that draws a three-dimensional spinning cube
using EGL on top of KMS, via Mesa's GBM library. A rough counterpart to
glxgears, it is a useful tool for BSP makers to try the 3D rendering
functionality based on EGL and OpenGL ES in a KMS environment, without
having to set up Wayland or X11.
It is also interesting for Yocto-based projects that do not need any
windowing environment and instead render their visual output fullscreen
to KMS directly, since they can use it as a reference.
(From OE-Core rev: 399c0fdbaacf660750f874e5190dd9955ad9bb58)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-introduce the patch that was deemed to be not needed
but it infact is still needed with musl
(From OE-Core rev: 3ba88c72e84c8c2a142b990b7547aa221f564d82)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current osselftest print confusing assertion message when using
self.assertTrue(os.path.exists(filepath)) to test file path,
example of confusing assertion message:
AssertionError: False is not true
Add the assertExists and assertNotExists to improve assertion
message and simplify coding, using selft.assertExists(filepath),
will print meaningful assertion message:
AssertionError: <filepath> does not exist
[YOCTO #11356]
(From OE-Core rev: b0a74554ef926ce05078494ca8e67178b56232f5)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By exporting KBUILD_BUILD_USER with a pre-defined value we improve the
reproducibility of the kernel and remove the requirement for whoami in the
HOSTTOOLS.
KBUILD_BUILD_HOST also helps improve the reproducibility of the kernel.
For more kernel reproducibility options see:
https://lwn.net/Articles/437864/
(From OE-Core rev: a5a14edb5573e33667b63b1e34cb4e19d075e8e8)
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>
Since recipe-specific sysroots were implemented, devtool add and devtool
upgrade operations that fetch from a URL that requires native sysroot
dependencies will fail to work as there is no recipe-specific sysroot
set up for them during fetching. An example was any URL pointing to a
tarball compressed with xz, e.g. devtool upgrade on gnutls.
The most expedient way to fix this is to set up a dummy recipe-specific
sysroot to use for the fetch/unpack operations. We do this in the same
manner as bitbake -b does, so we're just taking all of the sysroot
components available and creating a sysroot from those rather than
ensuring the correct dependencies are there - this means that we're
still going to have problems if e.g. xz-native hasn't been built yet,
but that issue will be trickier to solve and is tracked separately.
Fixes [YOCTO #11474].
(From OE-Core rev: 559151e783759af78b5cdd76cdbb9ce325a391e6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating lz4 in oe-core required back porting 3d4cf7de48a from master,
as versioning scheme changed.
(From OE-Core rev: ba71820ea16f2ee990dfca98b390d4ff586b7a49)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Porting the mainline commit, to fix gcc7 builds:
474c90156c [give up on gcc ilog2() constant optimizations]
We also integrate the 4.1.39 -stable update to pick up additional
fixes.
(From OE-Core rev: f0effea8716faae749a7d15003647d68fa0cabf7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If building for nativesdk the wrong rss sysroot is used leading the
following error message.
| ERROR: oe_runmake failed
| In file included from tools/imximage.c:13:0:
| include/image.h:1024:27: fatal error: openssl/evp.h: No such file or directory
| # include <openssl/evp.h>
Tools needed on the build host (script/basic/fixdep) and code compiled
for the SDK machine are both built with the build host's compiler,
leading to additinal errors.
Adding CROSS_COMPILE="${HOST_PREFIX}" and using the cross-compiler for
the SDK_ARCH fixes the build error.
The resulting binary in the SDK is working.
(From OE-Core rev: 5d3df78367be0afbfe001b4fa776a98a82e6ce54)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
build_efi_cfg function creates configuration files for
systemd-boot entries in 'S' directory. This directory
may not exist when api is called, which breaks the build.
Creating the directory if it doesn't exist should fix
this issue.
(From OE-Core rev: 2731d1efba7a03b2c658c8bb57629f5469184599)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11498]
Enhanced the glossary description for the INHERIT variable to give more
detail and to cross-reference the reader back into the Chapter 3
section describing its use.
(Bitbake rev: 362f6044fcaafe51ab4377af8f2606165b112717)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Buildstats from oe-build-perf-test results have been optimized to not
have child rusage values at all. There, rusage is the sum of parent and
child rusage values. This patch makes buildstats-diff compatible with
this format.
[YOCTO #11355]
(From OE-Core rev: 496a9dc179fe9dc370c940f4a2f7bcab869a804f)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For dumping buildstats from the test runs being reported. The output
directory where buildstats are copied is 'oe-build-perf-buildstats/'.
Buildstats can be then further analyzed with buildstats-diff script, for
example.
[YOCTO #11355]
(From OE-Core rev: e06266798d975bd6bebdb6bfdbd3d21be1c44ffd)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We use rev-parse for turning git object names into SHA-1 and checking
their existence. Using --verify option makes sure git-rev-parse does
what we expect.
(From OE-Core rev: f5b420c7f07a008c11d492b055c7cc8869f644d3)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For git repositories in the absence of any other indicator, it's not an
unreasonable assumption that the name of the repository is the name of
the software package it contains, so use that as PN if we don't have
anything else.
(From OE-Core rev: ef73fa70f0955912b0da140922465a3c817424e9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a value we extract from a spec file contains an unexpanded macro
(e.g. %{macroname}) then we should discard it since we're not seeing the
actual value and we don't have an easy way of expanding it at the
moment.
This fixes for example getting %{name} as the recipe name when running
the following:
recipetool create https://github.com/gavincarr/mod_auth_tkt.git
(From OE-Core rev: eee56a19cda051da6267f808cd3a04a4c644acb3)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Required with glibc 2.26
when x11 is not in distro features it errors
out due to mising CLOCK_REALTIME
error: 'CLOCK_REALTIME' undeclared (first use in this function);
did you mean '_XOPEN_REALTIME'?
if (clock_gettime(CLOCK_REALTIME, &ts) == -1)
^~~~~~~~~~~~~~
_XOPEN_REALTIME
(From OE-Core rev: 389b5f96af68439cc8e135a33f1e41116cb1d1aa)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
--enabled-x11grab option has been removed upstream
(and it was described as 'legacy' in the previous version)
(From OE-Core rev: e7be4005355808173d55bcc9f053f59939cc0048)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patch used LARGE_BUFFER_MAX_SIZE instead
of SMALL_BUFFER_MAX_SIZE for cmd in function pkg_installLibrary,
which only fixed some of the cases when the command line
is too long, some other cases indicate that the
LARGE_BUFFER_MAX_SIZE is also needed in pkg_installCommonMode
and pkg_installFileMode to avoid overflow:
| *** buffer overflow detected ***: ../bin/pkgdata terminated
(From OE-Core rev: 2c3ec6b3c4e8faf9cf88ae33727b4fecef83d0f8)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.33 -> 1.34
1. Refreshed 0001-Fix-compile-on-musl-with-kernel-4.9-headers.patch
2. Removed upstreamed patch:
0003-stats-Fix-bad-file-descriptor-initialisation.patch
3. Provided PACKAGECONFIGs for nftables and iptables support
4. Add new patch to fix build with nftables:
0001-firewall-nftables-fix-build-with-libnftnl-1.0.7.patch
(From OE-Core rev: dfe40b7abbea36605e4ea8f74ec8e477505148a6)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than presuming `make` is the generator, use cmake's generic
`cmake --build` feature (which knows to call the appropriate generator).
Both DESTDIR and VERBOSE still behave as intended when used as
environment variables instead of make variable-arguments.
As cmake-based builds don't do any configuration with `make`
invocations, we only pass `PARALLEL_MAKE{,INST}` (via a
EXTRA_OECMAKE_BUILD variable) to the underlying build tool. Make &
ninja support the same `-j N` option (and a few others), so this does
happen to work for both.
This makes it more straight forward for others to select other cmake
generators (many folks have been reaching for `ninja` lately).
CC: Andre McCurdy <armccurdy@gmail.com>
(From OE-Core rev: 2b06cb961edbe52ff66e8edccd007edd0795c30b)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In parallel builds utils/kconfig-tweak may be written to before utils/ exists,
so add a mkdir.
Also mark the pkgconfig patch as Submitted as I sent that upstream at the same
time.
(From OE-Core rev: 59921b3ce23fe0d391558425f7a5ade45cbcbd80)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added possibility to specify extra format-patch options
in the create-pull-request command line:
create-pull-request -u contrib -r master -- -v3
(From OE-Core rev: 19e51f05011e827a34890e0c098f3bfa66559e1a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rasons:
- It breaks the script if script is used without -t
- Its functionality covered by the next patch
This reverts commit 3ad3fda6c5.
(From OE-Core rev: 9be68e6f058e2ab149e5c6f045479413cf0db69b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed failure of test_unsupported_subcommand caused by
switching to argparser by checking that parser returns
non-zero return code.
[YOCTO #9636]
(From OE-Core rev: 581db38a280bf4cb03faf568cefd8d97383b5417)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE checking in OE didn't work as do_populate_cve_db failed with the following
error message.
[snip]/downloads/CVE_CHECK/nvdcve-2.0-2002.xml is not consistent
Backport a patch to fix this error.
(From OE-Core rev: ee55b5685aaa4be92d6d51f8641a559d4e34ce64)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This resolves a conflict when both python-nose and python3-nose are pulled
into an image and try to install ${bindir}/nosetests binary.
This matches with how other distros are solving this problem, e.g. Debian:
https://packages.debian.org/jessie/all/python3-nose/filelist
Also, other packages like python3-setuptools are already doing the same with
their binaries.
(From OE-Core rev: 1a3247d38939392bfdcb3eff1da7a1e08eff35f9)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following warning occurs when building with meta-zephyr
with MACHINE set to arduino-101-sss:
WARNING: /srv/sdc/builds/11319/meta/recipes-extended/ghostscript/ghostscript_9.20.bb: Unable to get checksum for ghostscript SRC_URI entry objarch.h: file could not be found
This is due to the the TARGET_ARCH = "arc" for meta-zephyr is not
supported by ghostscript and causing bitbake unable to locate the
correct config file during recipe parse.
Adding checker in the recipe to raise an exception if the target
architecture is "arc". This would then only display an error if
someone specifically tries to build the recipe:
ERROR: ghostscript was skipped: incompatible with host arc-yocto-elf (not in COMPATIBLE_HOST)
[YOCTO #11344]
(From OE-Core rev: 720a7230b92d734106d5340a426270dd4e921e8e)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libpng from 1.6.28 to 1.6.29.
2) License checksum changed,since the copyright date and contributing authors were updated.
(From OE-Core rev: 1a8438601db2e7fd367b6927f6fa4e03cb74854a)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libpciaccess from 0.13.4 to 0.13.5.
3) Delete three patches, since they are integrated upstream.
0001-Include-config.h-before-anything-else-in-.c.patch
0002-Fix-quoting-issue.patch
0003-linux_sysfs.c-Include-limits.h-for-PATH_MAX.patch
(From OE-Core rev: ef4bc266fb9e27d3335ba81a6a0f8ba19e3eb41f)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to gstreamer _git recipes, this recipe wasn't kept upto date
or tested regularly.
(From OE-Core rev: 9348ab34de2fe2ab04c8b84011809045c632fd87)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Firmware files for the QCA61x4 ROME BT family chips. Firmware shares the
same license as used by ath10k.
(From OE-Core rev: cc5fa321bb8988344f10f4fbc843e23e5d73fe33)
Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tools (my issue was with 'perf') only need the libbfd component of
binutils, so we can save space in images by splitting it out.
Previously, instead of `perf` pulling in `libbfd-VERSION.so`, it pulled
in all the libraries and binaries from binutils.
(From OE-Core rev: d57109e44f1a32d0e39d250ad7e71d7d80757d35)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libgpg-error from 1.26 to 1.27.
2) One file's LIC_FILES_CHKSUM checksums changed (src/gpg-error.h.in),but LICENSE remains the same.
3) Delete PR assignmen,since the version is upgraded.
(From OE-Core rev: db623a39e05b9d24ad6252dd24bb7610ed6f578a)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prior versions of python do not support openssl 1.1; updating to
Python 3.6 on the other hand is a lot more involved, and so should
be done by a specialist/maintainer.
LICENSE checksum change due to copyright years.
Drop upstreamed python3-fix-CVE-2016-1000110.patch
Rebase upstream-random-fixes.patch (taken from
ff558f5aba )
Rebase 0001-Do-not-use-the-shell-version-of-python-config-that-w.patch
Rebase 000-cross-compile.patch
(From OE-Core rev: b7b982a29e5d14c558b5fc25b4dc727810510ade)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When uses write it creates a full new configuration in selftest.inc
causing to fail populate_sdk_ext linux-yocto because the signature
of the sstate changes.
[YOCTO #11300]
(From OE-Core rev: 65bab9210be51aeb431ea85c90e31ad9f0d2340c)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
That a utility function permanently changes the process environment is
bad style and leads to subtle, hard to debug problems.
For example, we had one oe-selftest which used runqemu() with an
override for DEPLOY_DIR_IMAGE. Another test then just called runCmd()
and ended up passing the wrong DEPLOY_DIR_IMAGE set earlier in
os.environ.
The approach used here is to pass the desired environment dict to the
launch() method as a new, optional parameter, which then gets passed
on to subproject.Popen(). The modified env variables do not get
logged, as before.
[YOCTO #11443]
(From OE-Core rev: cab20f3b2fe668a63c58b44f2ad797fed74226fe)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When warning users about unpatched CVE, we'd better put CVE IDs into
the warning message, so that it would be more straight forward for the
user to know which CVEs are not patched.
So instead of:
WARNING: gnutls-3.5.9-r0 do_cve_check: Found unpatched CVE, for more information check /path/to/workdir/cve/cve.log.
We should have:
WARNING: gnutls-3.5.9-r0 do_cve_check: Found unpatched CVE (CVE-2017-7869), for more information check /path/to/workdir/cve/cve.log.
(From OE-Core rev: ad46069e7b58f2fba373131716f28407816fa1a6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid archiving source for glibc-locale as its tasks
do_fetch do_unpack and do_patch have already been deleted.
(From OE-Core rev: 50ed224ebc8d88a900febdc78013fa0c791d71cf)
Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding or removing archiver.bbclass from a build configuration causes
rebuilds of linux-yocto-based kernels because of the
do_kernel_configme->do_unpack_and_patch task dependency.
This particular dependency can be ignored for the do_kernel_configme
sstate signature calculcation. Idea for the fix from Richard Purdie.
Note that building the kernel and adding archiver.bbclass later to
archive sources leads to do_unpack_and_patch running after
do_kernel_configme (because that already ran in the first build),
which might be problematic. This is independent of the change here.
The use case in YOCTO #11441 is to removed archiver.bbclass between a
production build with archiving enabled and builds via oe-selftests
without archiving. That direction is fine.
Fixes: YOCTO #11441
(From OE-Core rev: fed0ed82928e6a7846fbad233ac657bd17bcefc7)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The diff.gz gets created in do_unpack_and_patch, but
do_deploy_archives did not depend on it, so there was a race
condition. For example, "bitbake linux-intel:do_deploy_archives"
without a prior "bitbake linux-intel:do_kernel_configme" did not
deploy the diff.gz.
When do_unpack_and_patch ran first, it failed because the output
directory didn't exist yet and the error was not detected because the
result of the diff command wasn't checked.
Changing the current working directory in create_diff_gz() without
returning to the original directory caused warnings like this:
WARNING: linux-intel-... do_unpack_and_patch: Task do_unpack_and_patch changed cwd to .../tmp-glibc/work-shared/intel-corei7-64
(From OE-Core rev: 18aac553ca35049c80b6cc82ff0e69ce8a7a03a9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, do_ar_recipe ran again unnecessarily when adding or
removing classes like buildhistory.bbclass, because that changes the
BBINCLUDED variable which do_ar_recipe uses to find .bbappend files.
This is both extra work and also sometimes triggered "basehash
changed" errors (seen under oe-selftest, which adds machine.inc and
bblayers.inc) because BBINCLUDED is special and does not cause
the basehash to be recalculated.
The file *content* already was not considered in the task signature,
instead relying indirectly on PF (which includes the revision assigned
by a PR server) to ensure that a new versioned source archive gets
created each time there is a rebuild.
Therefore it makes sense to use the same mechanism and also ignore the
file *list*, i.e. exclude BBINCLUDED from the task signature.
(From OE-Core rev: 9666f0e0b02efc14226c77497fd38f79fc372f98)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg-utils ends up in any opkg/rpm image with package management as it's the
provider for update-alternatives. If dev-pkgs is enabled then opkg-utils-dev
will get installed, which is empty but will subsequently pull python3-dev into
the image (as opkg-utils-python depends on python3).
As this can result in all of Python appearing in otherwise small images, don't
generate these pointless packages.
(From OE-Core rev: 5da7a0ba47d39612b08b4f71518b8384a3058b3f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The scripts were fixed to be compatible with py3 some time ago,
but the shebang continued to refer to python 2.x.
(From OE-Core rev: bb5718b631151cff840bcfa171ad4f8326c2132e)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg v4.9.22 -> .27 releases with the following shortlog
summary:
89f3b8d5f264 Linux 4.9.27
a0d50c80a29e dm ioctl: prevent stack leak in dm ioctl call
7ad6de43deda cpu/hotplug: Serialize callback invocations proper
e99b0ea39354 ceph: try getting buffer capability for readahead/fadvise
1bf9bc481338 8250_pci: Fix potential use-after-free in error path
3fbd2ba1da3f hwmon: (it87) Avoid registering the same chip on both SIO addresses
d24261e567e1 scsi: storvsc: Workaround for virtual DVD SCSI version
1b7f385e049c tpm_tis: use default timeout value if chip reports it as zero
d8fd99d4721d Handle mismatched open calls
00cca9768ebe timerfd: Protect the might cancel mechanism proper
d071951e08ee Linux 4.9.26
6d10a6cfe85e ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
9cbf4337a51d ARCv2: save r30 on kernel entry as gcc uses it for code-gen
4684be169a67 net: can: usb: gs_usb: Fix buffer on stack
07389a140f48 macsec: avoid heap overflow in skb_to_sgvec
36e0be3187c2 ceph: fix recursion between ceph_set_acl() and __ceph_setattr()
d7809b9e99bb nfsd: stricter decoding of write-like NFSv2/v3 ops
8ed0797966fd nfsd4: minor NFSv2/v3 write decoding cleanup
fc6445df466f nfsd: check for oversized NFSv2/v3 arguments
b88e4113250d Input: i8042 - add Clevo P650RS to the i8042 reset list
990afef90e08 ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
b2b93bbeec2d p9_client_readdir() fix
92f0ddece7da MIPS: Avoid BUG warning in arch_check_elf
6fbb6c02df30 MIPS: cevt-r4k: Fix out-of-bounds array access
4805f8a8a2f6 MIPS: KGDB: Use kernel context for sleeping threads
563300b9ff7f ARC: [plat-eznps] Fix build error
59f83369d44c ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
26b9b1565baf ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
827faa2e4ef7 ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d
b1fc1b057b8e ipv6: check raw payload size correctly in ioctl
1dc1b7b50866 tcp: memset ca_priv data to 0 properly
df1926123f0c ipv6: check skb->protocol before lookup for nexthop
ae6a762dcdf0 net: phy: fix auto-negotiation stall due to unavailable interrupt
62817c314af3 net: ipv6: regenerate host route if moved to gc list
ae88c43c019f macvlan: Fix device ref leak when purging bc_queue
7bf657201c21 net/mlx5e: Fix ETHTOOL_GRXCLSRLALL handling
c3215c31ef5c net/mlx5e: Fix small packet threshold
03641c4ded85 net/mlx5: Fix driver load bad flow when having fw initializing timeout
b2440a5d3e25 ip6mr: fix notification device destruction
291e60458ddf netpoll: Check for skb->queue_mapping
94e5670c933d net: ipv6: RTF_PCPU should not be settable from userspace
7ab89b176b7a gso: Validate assumption of frag_list segementation
fcbf5a71a646 dp83640: don't recieve time stamps twice
e344e97fb359 sh_eth: unmap DMA buffers when freeing rings
b4580d6f10a3 net: vrf: Fix setting NLM_F_EXCL flag when adding l3mdev rule
8c04e2acd537 net-timestamp: avoid use-after-free in ip_recv_error
c86872a43400 ipv6: Fix idev->addr_list corruption
479beb4c6554 tcp: clear saved_syn in tcp_disconnect()
02f04309673e sctp: listen on the sock only when it's state is listening or closed
dbaaa5890df7 net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
425cc775d18a l2tp: fix PPP pseudo-wire auto-loading
b7902607693f l2tp: take reference on sessions being dumped
1f49c8cd2c9a net/packet: fix overflow in check for tp_reserve
10452124bac3 net/packet: fix overflow in check for tp_frame_nr
3ae0fc950603 l2tp: purge socket queues in the .destruct() callback
59bc404b3829 l2tp: hold tunnel socket when handling control frames in l2tp_ip and l2tp_ip6
501299e64381 net/mlx5: Avoid dereferencing uninitialized pointer
0ea3c235779a bpf: improve verifier packet range checks
d60d4e8c1b73 kcm: return immediately after copy_from_user() failure
c63d6180076b net: phy: handle state correctly in phy_stop_machine
4f99161f2ec5 net: neigh: guard against NULL solicit() method
512d211207df sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
24870a79dad6 sparc64: kern_addr_valid regression
e88a8e0a23c2 ping: implement proper locking
7c80a91b8877 Revert "mmc: sdhci-msm: Enable few quirks"
a8c90ef62281 Linux 4.9.25
c36eaa6ca346 device-dax: switch to srcu, fix rcu_read_lock() vs pte allocation
f8bc0881fe95 x86/mce: Make the MCE notifier a blocking one
6966a6579e1b x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
1bd55ab13039 powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
790b2b5a01ce ubi/upd: Always flush after prepared for an update
87cfeaa5e5a1 mac80211: fix MU-MIMO follow-MAC mode
e0411f1eb549 mac80211: reject ToDS broadcast data frames
b93858556fd1 ubifs: Fix O_TMPFILE corner case in ubifs_link()
a260ff509b4d ubifs: Fix RENAME_WHITEOUT support
9fc131428536 mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
4420e5f323c4 ACPI / power: Avoid maybe-uninitialized warning
11ba522d7929 Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled
3d42ca46f47a s390/mm: fix CMMA vs KSM vs others
f79ef57911ee CIFS: remove bad_network_name flag
0b7c97066341 cifs: Do not send echoes before Negotiate is complete
c0a602ad31ee mm: prevent NR_ISOLATE_* stats from going negative
d80e90712a50 ring-buffer: Have ring_buffer_iter_empty() return true when empty
d4decac1edaa tracing: Allocate the snapshot buffer before enabling probe
174a74dbca2d KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
b2dd90e812f3 KEYS: Change the name of the dead type to ".dead" to prevent user access
a5c6e0a76817 KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
2f5e58ec793f Linux 4.9.24
35b9d61ea910 sctp: deny peeloff operation on asocs with threads sleeping on it
c67c2be735b1 net: ipv6: check route protocol when deleting routes
86c6667f6a5f virtio-console: avoid DMA from stack
fb00319317c1 cxusb: Use a dma capable buffer also for reading
28d1e8b7ef81 dvb-usb-firmware: don't do DMA on stack
36b62c08e72b dvb-usb: don't use stack for firmware load
2c0ad235ac77 mm: Tighten x86 /dev/mem with zeroing reads
ef793e6e1134 rtc: tegra: Implement clock handling
0dd962118a20 ACPI / EC: Use busy polling mode when GPE is not enabled
c07479f4b10a x86/xen: Fix APIC id mismatch warning on Intel
03470ba96a96 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
a6ca4946676b ASoC: Intel: select DW_DMAC_CORE since it's mandatory
25640e792f1a nbd: fix 64-bit division
7599166d7855 nbd: use loff_t for blocksize and nbd_set_size args
9c0c43527263 drm/nouveau/disp/mcp7x: disable dptmds workaround
754ae7efb383 mm: memcontrol: use special workqueue for creating per-memcg caches
b1574caf9664 ext4: fix inode checksum calculation problem if i_extra_size is small
1992564156b5 dvb-usb-v2: avoid use-after-free
de75264ee112 ath9k: fix NULL pointer dereference
a28acecbaf25 parisc: Fix get_user() for 64-bit value on 32-bit kernel
c10479591869 crypto: ahash - Fix EINPROGRESS notification callback
64ba06dc8a1d crypto: algif_aead - Fix bogus request dereference in completion function
7da0f8e547c2 ftrace: Fix function pid filter on instances
e3c7258bb4fe zram: do not use copy_page with non-page aligned address
75465e71ec31 kvm: fix page struct leak in handle_vmon
5a4c0738998a Revert "MIPS: Lantiq: Fix cascaded IRQ setup"
a9da1ac37ccf char: lack of bool string made CONFIG_DEVPORT always on
666452ffdbf7 ftrace: Fix removing of second function probe
fdaa36c75c5a irqchip/irq-imx-gpcv2: Fix spinlock initialization
5dda157006bc cpufreq: Bring CPUs up even if cpufreq_online() failed
5f48cacaa72c pwm: rockchip: State of PWM clock should synchronize with PWM enabled state
088e5800500e can: ifi: use correct register to read rx status
5ac50e714f60 libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat
5f377c4ad271 libnvdimm: fix blk free space accounting
0c6172ccbb59 make skb_copy_datagram_msg() et.al. preserve ->msg_iter on error
ff76ab9e03a5 new privimitive: iov_iter_revert()
e485875dff38 xen, fbfront: fix connecting to backend
92f8aa7bb825 target: Avoid mappedlun symlink creation during lun shutdown
08383b004426 scsi: sd: Fix capacity calculation with 32-bit sector_t
64e746983c4c scsi: qla2xxx: Add fix to read correct register value for ISP82xx.
82d181d7540f scsi: sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable
c80c158bfe61 scsi: sr: Sanity check returned mode data
281e36cbaf43 iscsi-target: Drop work-around for legacy GlobalSAN initiator
0ae3c95e3a31 iscsi-target: Fix TMR reference leak during session shutdown
eff58f9084a0 efi/fb: Avoid reconfiguration of BAR that covers the framebuffer
60174fb3eaa6 efi/libstub: Skip GOP with PIXEL_BLT_ONLY format
1681bab7c450 parisc: fix bugs in pa_memcpy
6ef2f0178649 ACPI / scan: Set the visited flag for all enumerated devices
0b914aa8cdc6 acpi, nfit, libnvdimm: fix interleave set cookie calculation (64-bit comparison)
5e29a45f1ef0 x86/vdso: Plug race between mapping and ELF header setup
ec980b6f7dcc x86/vdso: Ensure vdso32_enabled gets set to valid values only
a9826aa4860a x86, pmem: fix broken __copy_user_nocache cache-bypass assumptions
59bf23088953 x86/signals: Fix lower/upper bound reporting in compat siginfo
41d8b02f6448 x86/efi: Don't try to reserve runtime regions
085656dad4b0 perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()
0ea2dcf1f9e6 Input: xpad - add support for Razer Wildcat gamepad
730fecb3401f CIFS: store results of cifs_reopen_file to avoid infinite wait
3d8d2f234476 CIFS: reconnect thread reschedule itself
fd3be7eaff14 drm/etnaviv: fix missing unlock on error in etnaviv_gpu_submit()
e6bcbdc59356 drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
b29a17524bc1 drm/nouveau/mpeg: mthd returns true on success now
975a7ea950c6 orangefs: free superblock when mount fails
d19f745ea3a9 zsmalloc: expand class bit
5c9d08320229 thp: fix MADV_DONTNEED vs clear soft dirty race
f584803c4942 thp: fix MADV_DONTNEED vs. MADV_FREE race
5ef6f4dec559 tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
890aec8eae09 tcmu: Fix wrongly calculating of the base_command_size
ef599fa52429 tcmu: Fix possible overwrite of t_data_sg's last iov[]
f44236a1b05b cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
c3582cc56eac Linux 4.9.23
0ade21a2ed74 dma-buf: add support for compat ioctl
27dedde6895c net/mlx4_core: Fix when to save some qp context flags for dynamic VST to VGT transitions
48b2f1dd5787 net/mlx4_core: Fix racy CQ (Completion Queue) free
cee26997a604 net/mlx4_en: Fix bad WQE issue
ec0c5f06dba4 usb: hub: Wait for connection to be reestablished after port reset
d7045cbf4a06 blk-mq: Avoid memory reclaim when remapping queues
16fc98c2479f net/packet: fix overflow in check for priv area size
0ee72d8f9b8e Revert "drm/i915/execlists: Reset RING registers upon resume"
69fbc505c87b crypto: caam - fix invalid dereference in caam_rsa_init_tfm()
75964d0f1914 crypto: caam - fix RNG deinstantiation error checking
91f9f51b1836 MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch
aa05503149b3 MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
e8fa51d31aee MIPS: Switch to the irq_stack in interrupts
aa6b1dac465e MIPS: Only change $28 to thread_info if coming from user mode
86b54e48c468 MIPS: Stack unwinding while on IRQ stack
742817bb77f9 MIPS: Introduce irq_stack
760327cb080b mtd: bcm47xxpart: fix parsing first block after aligned TRX
31c576a5fe50 rt2x00: Fix incorrect usage of CONFIG_RT2X00_LIB_USB
f0df317b2bb3 rt2x00usb: do not anchor rx and tx urb's
cb794d57931b rt2x00usb: fix anchor initialization
938f8e856064 i2c: bcm2835: Fix hang for writing messages larger than 16 bytes
f7513c9165bf orangefs: fix buffer size mis-match between kernel space and user space.
1b9921866dc5 orangefs: Dan Carpenter influenced cleanups...
dcac0d18e7e1 orangefs: fix memory leak of string 'new' on exit path
17fda94d181c drm/i915: Avoid rcu_barrier() from reclaim paths (shrinker)
82dafcb93b0f drm/i915: Stop using RP_DOWN_EI on Baytrail
954ce087072c drm/i915: Drop support for I915_EXEC_CONSTANTS_* execbuf parameters.
1cbf6296fb35 drm/i915: Only enable hotplug interrupts if the display interrupts are enabled
1435e12e4af9 drm/i915: Avoid tweaking evaluation thresholds on Baytrail v3
988028e55b88 drm/i915: Nuke debug messages from the pipe update critical section
8ac9915c3f86 drm/i915/gen9: Increase PCODE request timeout to 50ms
cf2586e60ede Linux 4.9.22
7eae64f9195c x86/reboot/quirks: Fix typo in ASUS EeeBook X205TA reboot quirk
af11789a0548 usb-storage: Add ignore-residue quirk for Initio INIC-3619
e5525c7419f1 x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk
0605fff95d33 x86/reboot/quirks: Add ASUS EeeBook X205TA reboot quirk
7c6b1ad9deb5 platform/x86: asus-wmi: Detect quirk_no_rfkill from the DSDT
71f38c11cdb8 platform/x86: asus-wmi: Set specified XUSB2PR value for X550LB
4dc1eb47fbea watchdog: s3c2410: Fix infinite interrupt in soft mode
b18877ff66cf PCI: Add ACS quirk for Qualcomm QDF2400 and QDF2432
5feac34f670c PCI: Sort the list of devices with D3 delay quirk by ID
6b69d1f64499 mmc: sdhci-of-esdhc: remove default broken-cd for ARM
0ddf07d2a130 PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports
28dd2313a6e4 PCI: Add Broadcom Northstar2 PAXC quirk for device class and MPSS
35b366d584da ARM: smccc: Update HVC comment to describe new quirk parameter
25bdb190ade0 drm/msm/adreno: move function declarations to header file
bec9918bb4da firmware: qcom: scm: Fix interrupted SCM calls
007f0a2f2c0f arm: kernel: Add SMC structure parameter
703f48a1c302 HID: wacom: don't apply generic settings to old devices
abb640893830 ASoC: sun4i-i2s: Add quirks to handle a31 compatible
3d2f06d8d180 ACPI: save NVS memory for Lenovo G50-45
09f78f116c03 ASoC: Intel: cht_bsw_rt5645: add Baytrail MCLK support
584f4318f923 ASoC: Intel: cht_bsw_rt5645: harden ACPI device detection
4060a32e9d24 ASoC: Intel: Baytrail: add quirk for Lenovo Thinkpad 10
d572cfb66264 ASoC: codecs: rt5670: add quirk for Lenovo Thinkpad 10
58153cca226f ASoC: rt5670: Add missing 10EC5072 ACPI ID
e4ae51e44b89 ACPI / button: Change default behavior to lid_init_state=open
b369fd719fa4 sata: ahci-da850: implement a workaround for the softreset quirk
f36d3f1fe79e PCI: Add ACS quirk for Intel Union Point
a452e4eb6ee2 ARM: dts: STiH407-family: set snps,dis_u3_susphy_quirk
9ec57c921b9d drm/mga: remove device_is_agp callback
ae3a3e209ef1 usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions
7bdf7bebbbed usb: host: xhci-plat: enable BROKEN_PED quirk if platform requested
15159247d25b usb: xhci: add quirk flag for broken PED bits
660b38eab885 ARM: davinci: PM: support da8xx DT platforms
db7c1706fa6d Input: gpio_keys - add support for GPIO descriptors
80b0d7e623d1 serial: 8250_omap: Add OMAP_DMA_TX_KICK quirk for AM437x
6b8deb108273 usb: chipidea: msm: Rely on core to override AHBBURST
c5fc946a15dc scsi: ufs: issue link starup 2 times if device isn't active
a17bddc4a781 scsi: ufs: introduce a new ufshcd_statea UFSHCD_STATE_EH_SCHEDULED
e94ed347105d ASoC: Intel: bytcr_rt5640: quirks for Insyde devices
0ed0810b8b02 drm/i915: actually drive the BDW reserved IDs
70797929ee36 drm/i915: more .is_mobile cleanups for BDW
0b348464eea0 drm/i915: fix INTEL_BDW_IDS definition
14ec1cf414cf drm/edid: constify edid quirk list
f188ee38d4cb HID: usbhid: Add quirk for Mayflash/Dragonrise DolphinBar.
7fd75759ba07 HID: usbhid: Add quirk for the Futaba TOSD-5711BB VFD
c1e94148f93c ACPI / sysfs: Provide quirk mechanism to prevent GPE flooding
43cfff65c989 nvme: simplify stripe quirk
8d620dff40ba platform/x86: acer-wmi: Only supports AMW0_GUID1 on acer family
2bd6cc1cce47 ALSA: usb-audio: Add native DSD support for TEAC 501/503 DAC
8ae7242fea54 PCI: Expand "VPD access disabled" quirk message
c0aac1bbb5d8 ALSA: usb-audio: add implicit fb quirk for Axe-Fx II
bedc629494cd scsi: ufs: add quirk to increase host PA_SaveConfigTime
5c6b8ad1ab25 PCI: thunder-pem: Factor out resource lookup
5582c1980eac arm64: PCI: Add local struct device pointers
cc49b39f3f2d arm64: PCI: Manage controller-specific data on per-controller basis
625fd9d1af70 x86/intel_idle: Add CPU model 0x4a (Atom Z34xx series)
607ca1dccbbd svcauth_gss: Close connection when dropping an incoming message
3a87bcdebf6e scsi: ufs: ensure that host pa_tactivate is higher than device
d84be51d1c1d mmc: sdhci-msm: Enable few quirks
c6e3c6628dfb HID: multitouch: do not retrieve all reports for all devices
68a83be38135 HID: multitouch: enable the Surface 3 Type Cover to report multitouch data
c5fcc6332ddb HID: sensor-hub: add quirk for Microchip MM7150
39f3c9291d69 HID: sensor-hub add quirk for Microsoft Surface 3
9b41ed79ec78 scsi: ufs: introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk
26cbe162df3d clocksource/drivers/arm_arch_timer: Don't assume clock runs in suspend
d2f1000c3ae3 net/mlx4_core: Use device ID defines
dcc4c6758100 arm64: dts: hisi: fix hip06 sas am-max-trans quirk
b340c9648c2f ASoC: Intel: bytct_rt5640: change default capture settings
d9a97dcdf5c2 usb: dwc3: gadget: delay unmap of bounced requests
ee670af5feed HID: i2c-hid: add a simple quirk to fix device defects
d640c41bced6 HID: usbhid: Add quirks for Mayflash/Dragonrise GameCube and PS3 adapters
e02a5d1d5a05 clk: lpc32xx: add a quirk for PWM and MS clock dividers
666d5f34d897 drm/sun4i: Add compatible string for A31/A31s TCON (timing controller)
6af7e1cae445 drm/sun4i: Add compatible strings for A31/A31s display pipelines
06a2bb472f71 drm/sun4i: tcon: Move SoC specific quirks to a DT matched data structure
7c0361334466 random: use chacha20 for get_random_int/long
cddab768d134 mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
24317cb6b400 Documentation: stable-kernel-rules: fix stable-tag format
be56f92cc0a9 MIPS: c-r4k: Fix Loongson-3's vcache/scache waysize calculation
59b8725f2b1e MIPS: Flush wrong invalid FTLB entry for huge page
186fb3c52e39 MIPS: Add MIPS_CPU_FTLB for Loongson-3A R2
3d5e13d891b0 MIPS: Check TLB before handle_ri_rdhwr() for Loongson-3
c7f6633f7657 MIPS: Lantiq: fix missing xbar kernel panic
1e7deb9da033 MIPS: End spinlocks with .insn
19aa26f5be49 MIPS: ralink: Fix typos in rt3883 pinctrl
9dcb21e63b2e MIPS: Force o32 fp64 support on 32bit MIPS64r6 kernels
7b68273f79e8 s390/uaccess: get_user() should zero on failure (again)
f4938792af38 s390/decompressor: fix initrd corruption caused by bss clear
6a776f6ae3f8 xtensa: make __pa work with uncached KSEG addresses
c1dcea123655 nios2: reserve boot memory for device tree
27d382fb6afe dm raid: fix NULL pointer dereference for raid1 without bitmap
abbf0fd436a9 powerpc/crypto/crc32c-vpmsum: Fix missing preempt_disable()
45c2ed941c08 powerpc: Don't try to fix up misaligned load-with-reservation instructions
fba7546bbe65 powerpc/64: Fix flush_(d|i)cache_range() called from modules
24d945d4791f powerpc/mm: Add missing global TLB invalidate if cxl is active
6fbf84b5da23 powerpc: Disable HFSCR[TM] if TM is not supported
a1db9b2c1b12 metag/usercopy: Add missing fixups
ce154d517ae4 metag/usercopy: Fix src fixup in from user rapf loops
4f3f0dd2a75b metag/usercopy: Set flags before ADDZ
3dc0fe517a9f metag/usercopy: Zero rest of buffer from copy_from_user
4a93ac814ddc metag/usercopy: Add early abort to copy_to_user
49a292dcd86b metag/usercopy: Fix alignment error checking
2bb52b47e7f4 metag/usercopy: Drop unused macros
9afc076d2812 brcmfmac: use local iftype avoiding use-after-free of virtual interface
c0321505df2e mac80211: unconditionally start new netdev queues with iTXQ support
703cebf6e978 ring-buffer: Fix return value check in test_ringbuffer()
f7db18998e9c xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files
dc62935ce0fb orangefs: move features validation to fix filesystem hang
c4fe79a44a5d Kbuild: use cc-disable-warning consistently for maybe-uninitialized
e4a62348935e ACPI / gpio: do not fall back to parsing _CRS when we get a deferral
ab83597b9d40 dm verity fec: fix bufio leaks
2ff087642643 dm verity fec: limit error correction recursion
d9fa4351037b ptrace: fix PTRACE_LISTEN race corrupting task->state
e3b08ebe4773 mm/page_alloc.c: fix print order in show_free_areas()
8446cb1adf95 Reset TreeId to zero on SMB2 TREE_CONNECT
57e1e90dda74 cfg80211: check rdev resume callback only for registered wiphy
3715dbf77f3b arm64: mm: unaligned access by user-land should be received as SIGBUS
71b44ef83d2a iio: bmg160: reset chip when probing
ac303c64cdb8 kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
a1ea31893684 arm/arm64: KVM: Take mmap_sem in kvm_arch_prepare_memory_region
48f2825abc65 arm/arm64: KVM: Take mmap_sem in stage2_unmap_vm
8f8de8d2bf6c staging: android: ashmem: lseek failed due to no FMODE_LSEEK.
d9eedab38395 sysfs: be careful of error returns from ops->show()
4ddd24d54fed drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
28c84df739e3 drm/vmwgfx: Remove getparam error message
b116797b81e5 drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
604d2eac67cb drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()
73ab72517b61 drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
92cc48166e49 drm/vmwgfx: Type-check lookups of fence objects
9c2b46e720d5 ppdev: fix registering same device name
bf5202b58f61 ppdev: check before attaching port
(From OE-Core rev: 4af605ae6f5ca763c65b3dca10b7ffb60f5ffa2e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg v4.4.61 -> 4.4.67 releases with the following
commit summary:
dec1dc2a0ee8 Linux 4.4.67
3b9983bb354e dm ioctl: prevent stack leak in dm ioctl call
da1ce38aaac7 nfsd: stricter decoding of write-like NFSv2/v3 ops
35e13333c217 nfsd4: minor NFSv2/v3 write decoding cleanup
16fb859f9b2b ext4/fscrypto: avoid RCU lookup in d_revalidate
41948f88a521 ext4 crypto: use dget_parent() in ext4_d_revalidate()
2faff9d1dfc5 ext4 crypto: revalidate dentry after adding or removing the key
e2968fb8e798 ext4: require encryption feature for EXT4_IOC_SET_ENCRYPTION_POLICY
fee1f42b961e IB/ehca: fix maybe-uninitialized warnings
56cd2ed3e25a IB/qib: rename BITS_PER_PAGE to RVT_BITS_PER_PAGE
a8d47b4b3cb6 netlink: Allow direct reclaim for fallback allocation
35c9bfa51154 8250_pci: Fix potential use-after-free in error path
6f81dea4037c scsi: cxlflash: Improve EEH recovery time
24d17d7853fa scsi: cxlflash: Fix to avoid EEH and host reset collisions
69a9e016f0cc scsi: cxlflash: Scan host only after the port is ready for I/O
ec2170f98f9a net: tg3: avoid uninitialized variable warning
fd79e4363258 mtd: avoid stack overflow in MTD CFI code
ee6b88767e87 drbd: avoid redefinition of BITS_PER_PAGE
938206b8d798 ALSA: ppc/awacs: shut up maybe-uninitialized warning
a2b3b19acfde ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
6c106b55eb47 Handle mismatched open calls
911bd54922cd timerfd: Protect the might cancel mechanism proper
0c49a2c16ca9 Linux 4.4.66
9c4a4755d9c5 ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
1aefe328a68d ARCv2: save r30 on kernel entry as gcc uses it for code-gen
82a0d8aabe04 nfsd: check for oversized NFSv2/v3 arguments
2032eebe2384 Input: i8042 - add Clevo P650RS to the i8042 reset list
91ce8d13faeb p9_client_readdir() fix
3bf0809930b8 MIPS: Avoid BUG warning in arch_check_elf
1c26c382c9e7 MIPS: KGDB: Use kernel context for sleeping threads
555f77106f77 ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
8cbaf11c5026 ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
5e52fffbb11c ipv6: check raw payload size correctly in ioctl
befb92542439 ipv6: check skb->protocol before lookup for nexthop
114f0c66dab4 macvlan: Fix device ref leak when purging bc_queue
bdeb026dfd9f ip6mr: fix notification device destruction
25c104023372 netpoll: Check for skb->queue_mapping
f6b94906b414 net: ipv6: RTF_PCPU should not be settable from userspace
f6b34b1709ac dp83640: don't recieve time stamps twice
78c4e3d4848d tcp: clear saved_syn in tcp_disconnect()
52e33b4e505d sctp: listen on the sock only when it's state is listening or closed
cc5a5c09d32b net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
593e185eaade l2tp: fix PPP pseudo-wire auto-loading
f710dbd92b27 l2tp: take reference on sessions being dumped
25adf4e32a89 net/packet: fix overflow in check for tp_reserve
cf71bd41f809 net/packet: fix overflow in check for tp_frame_nr
8625dfcfd338 l2tp: purge socket queues in the .destruct() callback
0e9eeb4676a7 net: phy: handle state correctly in phy_stop_machine
428b3cefab22 net: neigh: guard against NULL solicit() method
592d0e60a2b7 sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
80ec183214e8 sparc64: kern_addr_valid regression
c583862e95d2 xen/x86: don't lose event interrupts
5709321fd962 usb: gadget: f_midi: Fixed a bug when buflen was smaller than wMaxPacketSize
3e19487b9bf5 regulator: core: Clear the supply pointer if enabling fails
804605eae410 RDS: Fix the atomicity for congestion map update
b9baa0aa66ce net_sched: close another race condition in tcf_mirred_release()
1d1cb762524f net: cavium: liquidio: Avoid dma_unmap_single on uninitialized ndata
2907c91c9f9a MIPS: Fix crash registers on non-crashing CPUs
49b2fe4b0207 md:raid1: fix a dead loop when read from a WriteMostly disk
28320756e78b ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea()
99e96ce5e315 drm/amdgpu: fix array out of bounds
10fc325c03d2 crypto: testmgr - fix out of bound read in __test_aead()
40a55e4f9401 clk: sunxi: Add apb0 gates for H3
531be60fc580 ARM: OMAP2+: timer: add probe for clocksources
bd2d6cb00d1a xc2028: unlock on error in xc2028_set_config()
716bcfeb12b8 f2fs: do more integrity verification for superblock
418b99042b87 Linux 4.4.65
416bd4a366f3 perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race
b7f47c794bc4 ping: implement proper locking
a7544fdd1626 staging/android/ion : fix a race condition in the ion driver
d23ef85b123d vfio/pci: Fix integer overflows, bitmask check
65d30f7545ff tipc: check minimum bearer MTU
9540baadb61b netfilter: nfnetlink: correctly validate length of batch messages
0d9dac5d7cc3 xc2028: avoid use after free
c50fd34e1089 mnt: Add a per mount namespace limit on the number of mounts
59e0cd110fb9 tipc: fix socket timer deadlock
abc025d1e88a tipc: fix random link resets while adding a second bearer
d39cb4a59729 gfs2: avoid uninitialized variable warning
9a35bc2ae545 hostap: avoid uninitialized variable use in hfa384x_get_rid
58f80ccf09c4 tty: nozomi: avoid a harmless gcc warning
2847736f563d tipc: correct error in node fsm
76ca3053f32c tipc: re-enable compensation for socket receive buffer double counting
3f3155904308 tipc: make dist queue pernet
44b3b7e06887 tipc: make sure IPv6 header fits in skb headroom
12f4e1f54a13 Linux 4.4.64
6862fa9077de tipc: fix crash during node removal
6ddbac9aa800 block: fix del_gendisk() vs blkdev_ioctl crash
d1cc3cdd39e9 x86, pmem: fix broken __copy_user_nocache cache-bypass assumptions
5693f3fb5a66 hv: don't reset hv_context.tsc_page on crash
03e2fb9b5ce8 Drivers: hv: balloon: account for gaps in hot add regions
8e7a6dbc3b71 Drivers: hv: balloon: keep track of where ha_region starts
397488e09bf2 Tools: hv: kvp: ensure kvp device fd is closed on exec
2a60bb635236 kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
e2587fba9911 x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
6c107bba66dc powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
38be91ce7ea8 ubi/upd: Always flush after prepared for an update
b812c69019e4 mac80211: reject ToDS broadcast data frames
b74ba9dd91e5 mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
6986d0d29f3c ACPI / power: Avoid maybe-uninitialized warning
cdede60d6a30 Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled
8d5ed79fb2d7 VSOCK: Detach QP check should filter out non matching QPs.
f803416632b5 Drivers: hv: vmbus: Reduce the delay between retries in vmbus_post_msg()
567dd48c4e71 Drivers: hv: get rid of timeout in vmbus_open()
5ab982a01201 Drivers: hv: don't leak memory in vmbus_establish_gpadl()
702db976b857 s390/mm: fix CMMA vs KSM vs others
859d615b5be1 CIFS: remove bad_network_name flag
f8fe51c86583 cifs: Do not send echoes before Negotiate is complete
a2a67e53f92f ring-buffer: Have ring_buffer_iter_empty() return true when empty
1dfb1c7bd63f tracing: Allocate the snapshot buffer before enabling probe
c9460fbceb2f KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
eb78d9877579 KEYS: Change the name of the dead type to ".dead" to prevent user access
b5737b92560e KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
81af21fe95ba Linux 4.4.63
d00557976676 MIPS: fix Select HAVE_IRQ_EXIT_ON_IRQ_STACK patch.
e2f5fb9207a6 sctp: deny peeloff operation on asocs with threads sleeping on it
f00f18ebb3b2 net: ipv6: check route protocol when deleting routes
990a142ee0d3 tty/serial: atmel: RS485 half duplex w/DMA: enable RX after TX is done
8dc821b9f67d SUNRPC: fix refcounting problems with auth_gss messages.
403a728d1a35 ibmveth: calculate gso_segs for large packets
65596042c3af catc: Use heap buffer for memory size test
40531b26bade catc: Combine failure cleanup code in catc_probe()
a90604be51de rtl8150: Use heap buffers for all register access
be570e556dee pegasus: Use heap buffers for all register access
eb5267657d85 virtio-console: avoid DMA from stack
6be431f91632 dvb-usb-firmware: don't do DMA on stack
502157457f52 dvb-usb: don't use stack for firmware load
6739cc12f3db mm: Tighten x86 /dev/mem with zeroing reads
ba02781392fa rtc: tegra: Implement clock handling
ccf0904c49b1 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
51f8d95c89b4 ext4: fix inode checksum calculation problem if i_extra_size is small
0cb03b6e7086 dvb-usb-v2: avoid use-after-free
ea6d8d67001a ath9k: fix NULL pointer dereference
2673d1c5122e crypto: ahash - Fix EINPROGRESS notification callback
70e55aaf9f8c powerpc: Disable HFSCR[TM] if TM is not supported
9286385a3452 zram: do not use copy_page with non-page aligned address
c1fc1d2f214e kvm: fix page struct leak in handle_vmon
98c953a0a51f Revert "MIPS: Lantiq: Fix cascaded IRQ setup"
a32c5331b462 char: lack of bool string made CONFIG_DEVPORT always on
0a6aa0d1cf27 char: Drop bogus dependency of DEVPORT on !M68K
7fe57118a7c0 ftrace: Fix removing of second function probe
c51451e43bf1 irqchip/irq-imx-gpcv2: Fix spinlock initialization
66b531d3ff11 libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat
6058cf9929d9 xen, fbfront: fix connecting to backend
b689dfbed8c8 scsi: sd: Fix capacity calculation with 32-bit sector_t
448961955592 scsi: sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable
925adae6664c scsi: sr: Sanity check returned mode data
1e1de2e841e1 iscsi-target: Drop work-around for legacy GlobalSAN initiator
05c5dd75d77c iscsi-target: Fix TMR reference leak during session shutdown
074bcc1302fd acpi, nfit, libnvdimm: fix interleave set cookie calculation (64-bit comparison)
ec3978e10ecc x86/vdso: Plug race between mapping and ELF header setup
f1c5d0163586 x86/vdso: Ensure vdso32_enabled gets set to valid values only
f42be33fe976 perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()
a5e2f803b891 Input: xpad - add support for Razer Wildcat gamepad
f0899d0e1e9e CIFS: store results of cifs_reopen_file to avoid infinite wait
a11ab9dd4b78 drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
a737abe4d09a drm/nouveau/mpeg: mthd returns true on success now
ef4c962825c0 thp: fix MADV_DONTNEED vs clear soft dirty race
3144d81a7735 cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
a80c068fbf43 Linux 4.4.62
7d170f270a95 ibmveth: set correct gso_size and gso_type
ac0cbfbb1e4b net/mlx4_core: Fix when to save some qp context flags for dynamic VST to VGT transitions
710f793a15de net/mlx4_core: Fix racy CQ (Completion Queue) free
f1e6b1149e49 net/mlx4_en: Fix bad WQE issue
0a007f74b826 usb: hub: Wait for connection to be reestablished after port reset
f4522e36edaa blk-mq: Avoid memory reclaim when remapping queues
d35f8fa0b93e net/packet: fix overflow in check for priv area size
fd8bae310684 crypto: caam - fix RNG deinstantiation error checking
ba7681e4eee6 MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch
f017e58da4ab MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
b39b26381668 MIPS: Switch to the irq_stack in interrupts
93a82f8dbef8 MIPS: Only change $28 to thread_info if coming from user mode
336365351285 MIPS: Stack unwinding while on IRQ stack
d8b8b5528ea5 MIPS: Introduce irq_stack
5a527d80836e mtd: bcm47xxpart: fix parsing first block after aligned TRX
297f55bcb62a usb: dwc3: gadget: delay unmap of bounced requests
8cfaf0ae1f56 drm/i915: Stop using RP_DOWN_EI on Baytrail
cb0a2cba62d5 drm/i915: Avoid tweaking evaluation thresholds on Baytrail v3
(From OE-Core rev: 34e53af8ed9d27ab010e57bcc08dee6f333da9fd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the korg stable releases 4.10.10 -> 4.10.15 with the following
shortlog summary:
b1cff0b2ed20 Linux 4.10.15
de7b7a35c99e dm ioctl: prevent stack leak in dm ioctl call
8dee04de5def hwmon: (it87) Avoid registering the same chip on both SIO addresses
ad66b968a0e5 scsi: storvsc: Workaround for virtual DVD SCSI version
fc08ba650a2b Handle mismatched open calls
43c1696e5e91 timerfd: Protect the might cancel mechanism proper
d08276658dee Linux 4.10.14
3adeab312a65 ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
13d970940217 cpu/hotplug: Serialize callback invocations proper
bd7c4f5e1d25 net: can: usb: gs_usb: Fix buffer on stack
43a35e671f8f macsec: avoid heap overflow in skb_to_sgvec
e4720b009def ceph: fix recursion between ceph_set_acl() and __ceph_setattr()
43e360377b09 nfsd: stricter decoding of write-like NFSv2/v3 ops
144180dc4736 nfsd4: minor NFSv2/v3 write decoding cleanup
86eb1d0aab0d nfsd: check for oversized NFSv2/v3 arguments
b98d12a15ed1 Input: i8042 - add Clevo P650RS to the i8042 reset list
2f680d46a0b5 ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
bec0749254e7 p9_client_readdir() fix
67355b67b41c MIPS: Avoid BUG warning in arch_check_elf
7cb5877dc20e MIPS: cevt-r4k: Fix out-of-bounds array access
09c953f73ff0 MIPS: KGDB: Use kernel context for sleeping threads
4a71345ea6f8 ARC: [plat-eznps] Fix build error
47dbabb85ef7 scsi: return correct blkprep status code in case scsi_init_io() fails.
dcb730f79d33 ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
7b2b791c65d2 ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
a33e886d3f19 ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d
f62c45868079 ipv6: check raw payload size correctly in ioctl
466dfcd1d81a tcp: memset ca_priv data to 0 properly
04630e2ed834 ipv6: check skb->protocol before lookup for nexthop
683f8d60761c net: phy: fix auto-negotiation stall due to unavailable interrupt
f9a8970e9eee net: ipv6: regenerate host route if moved to gc list
e2ae71739253 macvlan: Fix device ref leak when purging bc_queue
b073c2c3d40c tcp: mark skbs with SCM_TIMESTAMPING_OPT_STATS
cdaf15b43bd3 tcp: fix SCM_TIMESTAMPING_OPT_STATS for normal skbs
df4c4820a0b0 net/mlx5e: Fix ETHTOOL_GRXCLSRLALL handling
cce19108367e net/mlx5e: Fix small packet threshold
3faae16bf93e net/mlx5: E-Switch, Correctly deal with inline mode on ConnectX-5
82aa6b2c1f19 net/mlx5: Fix driver load bad flow when having fw initializing timeout
ff247bdf248a ip6mr: fix notification device destruction
9db670f71b6a netpoll: Check for skb->queue_mapping
5e54291edfb9 net: ipv6: RTF_PCPU should not be settable from userspace
ee1f368e99ba gso: Validate assumption of frag_list segementation
03940f08b972 ipv6: fix source routing
c52ac0687247 ipv6: sr: fix double free of skb after handling invalid SRH
3b600a30d126 dp83640: don't recieve time stamps twice
a024074740e7 ipv6: sr: fix out-of-bounds access in SRH validation
7e793ce3b3e1 sh_eth: unmap DMA buffers when freeing rings
c526d0869a3a net: vrf: Fix setting NLM_F_EXCL flag when adding l3mdev rule
9ca5d7e426dd net-timestamp: avoid use-after-free in ip_recv_error
0d8ef98cefae ipv6: Fix idev->addr_list corruption
29dc163a721e tcp: clear saved_syn in tcp_disconnect()
1ebfe5cf3727 sctp: listen on the sock only when it's state is listening or closed
280a7e34a987 net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
c747d66b6c6f l2tp: fix PPP pseudo-wire auto-loading
2ba7cfd4f6a9 l2tp: take reference on sessions being dumped
0fbdeb789013 openvswitch: Fix ovs_flow_key_update()
f9bd6b937de6 net/packet: fix overflow in check for tp_reserve
57a88382a969 net/packet: fix overflow in check for tp_frame_nr
5894337297ad l2tp: purge socket queues in the .destruct() callback
7d5eb39c0d8c l2tp: hold tunnel socket when handling control frames in l2tp_ip and l2tp_ip6
63ae30d5caa7 net/mlx5: Avoid dereferencing uninitialized pointer
4f45e887a632 bpf: improve verifier packet range checks
443fac9f2618 secure_seq: downgrade to per-host timestamp offsets
a35c14672325 kcm: return immediately after copy_from_user() failure
c79db30fd1b0 net: phy: handle state correctly in phy_stop_machine
693d7da388c2 net: neigh: guard against NULL solicit() method
2ec8024c5672 sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
1797e172bf10 sparc64: kern_addr_valid regression
7cf480444103 ping: implement proper locking
b957be36d793 Linux 4.10.13
9254ada03382 device-dax: switch to srcu, fix rcu_read_lock() vs pte allocation
7d1c1be6c8d3 x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
1136723a6cf0 powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
a6db433483db ubi/upd: Always flush after prepared for an update
a32ff3f07f9b x86/mce: Make the MCE notifier a blocking one
c77e7d37ac50 mac80211: fix MU-MIMO follow-MAC mode
ee9b489925a0 mac80211: reject ToDS broadcast data frames
71a3e3679e30 ubifs: Fix O_TMPFILE corner case in ubifs_link()
c1cadf6af8b7 ubifs: Fix RENAME_WHITEOUT support
2745665258c3 mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
b478c19f3de4 mmc: dw_mmc: Don't allow Runtime PM for SDIO cards
9b02ecd10cff ACPI / power: Avoid maybe-uninitialized warning
7010e15d1d22 Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled
0cb760dfc75b s390/mm: fix CMMA vs KSM vs others
71766b913996 mmc: dw_mmc: silent verbose log when calling from PM context
9f8296778b61 CIFS: remove bad_network_name flag
5cd77ebf2254 cifs: Do not send echoes before Negotiate is complete
63ad4051e89c mm: prevent NR_ISOLATE_* stats from going negative
64d253367ae0 ring-buffer: Have ring_buffer_iter_empty() return true when empty
eff248618a59 HID: wacom: Treat HID_DG_TOOLSERIALNUMBER as unsigned
838a281c4a17 tracing: Allocate the snapshot buffer before enabling probe
523ae2e9e39a KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
cc4f98410688 KEYS: Change the name of the dead type to ".dead" to prevent user access
4cbbfd6aafe1 KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
055c0a94117c Linux 4.10.12
e5349c13c7a8 virtio-console: avoid DMA from stack
e0116f4d9a9a cxusb: Use a dma capable buffer also for reading
b1bfb5083bfa mm: Tighten x86 /dev/mem with zeroing reads
2c4d8f20cc29 rtc: tegra: Implement clock handling
a16534a33305 ACPI / EC: Use busy polling mode when GPE is not enabled
8a73a223fb70 x86/xen: Fix APIC id mismatch warning on Intel
e765ef79fdf3 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
35549ee08285 ASoC: Intel: select DW_DMAC_CORE since it's mandatory
765c74b9cc27 dvb-usb-v2: avoid use-after-free
ce5fe5a547d8 parisc: Fix get_user() for 64-bit value on 32-bit kernel
aa7ca04fb26c crypto: lrw - Fix use-after-free on EINPROGRESS
cb0567fc5114 crypto: ahash - Fix EINPROGRESS notification callback
102da3a73f9a crypto: xts - Fix use-after-free on EINPROGRESS
25308983eda6 crypto: algif_aead - Fix bogus request dereference in completion function
a0a1e90f5057 ftrace: Fix function pid filter on instances
58bc856c41fb zram: do not use copy_page with non-page aligned address
9bf69094c2ad Revert "MIPS: Lantiq: Fix cascaded IRQ setup"
1cb293ab0236 char: lack of bool string made CONFIG_DEVPORT always on
ebe4deab5c80 drm/i915/gvt: set the correct default value of CTX STATUS PTR
4bf7df7b3bd7 ftrace: Fix removing of second function probe
9b35ab51a0b4 irqchip/irq-imx-gpcv2: Fix spinlock initialization
b648679070a9 cpufreq: Bring CPUs up even if cpufreq_online() failed
26052e29d6a2 pwm: rockchip: State of PWM clock should synchronize with PWM enabled state
96b121b50683 can: ifi: use correct register to read rx status
5b750d3c56e3 libnvdimm: band aid btt vs clear poison locking
f0f306710e24 libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat
e0d47228949e libnvdimm: fix blk free space accounting
66481ca0750d make skb_copy_datagram_msg() et.al. preserve ->msg_iter on error
a99a9ff2374a new privimitive: iov_iter_revert()
939707c50352 xen, fbfront: fix connecting to backend
22113847cd11 target: Avoid mappedlun symlink creation during lun shutdown
53204334cca0 scsi: sd: Fix capacity calculation with 32-bit sector_t
24c01b369765 scsi: qla2xxx: Add fix to read correct register value for ISP82xx.
8b30ed56fa89 scsi: sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable
01fb9440938a scsi: sr: Sanity check returned mode data
c8270f29214c iscsi-target: Drop work-around for legacy GlobalSAN initiator
510152205d41 iscsi-target: Fix TMR reference leak during session shutdown
c100de410c1e efi/fb: Avoid reconfiguration of BAR that covers the framebuffer
6b8a0080915d efi/libstub: Skip GOP with PIXEL_BLT_ONLY format
ca3e0b6d6b25 parisc: fix bugs in pa_memcpy
87ad80ecdb5c ACPI / scan: Set the visited flag for all enumerated devices
122c16ccc71b acpi, nfit, libnvdimm: fix interleave set cookie calculation (64-bit comparison)
083d30d61a1a x86/vdso: Plug race between mapping and ELF header setup
90dc1120444f x86/vdso: Ensure vdso32_enabled gets set to valid values only
b8cb11e01a7f x86, pmem: fix broken __copy_user_nocache cache-bypass assumptions
1a99658f083d x86/intel_rdt: Fix locking in rdtgroup_schemata_write()
565194a42052 x86/signals: Fix lower/upper bound reporting in compat siginfo
c6be568a2f24 x86/efi: Don't try to reserve runtime regions
4ff9e6c2d86b perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()
535adf24d1a7 perf annotate s390: Fix perf annotate error -95 (4.10 regression)
7869b4078ba9 Input: xpad - add support for Razer Wildcat gamepad
3f17ee38a808 CIFS: store results of cifs_reopen_file to avoid infinite wait
6e9b6937a923 CIFS: reconnect thread reschedule itself
d38b12ab7b05 drm/fb-helper: Allow var->x/yres(_virtual) < fb->width/height again
e97e515b7448 drm/etnaviv: fix missing unlock on error in etnaviv_gpu_submit()
3287a46c7829 drm/nouveau: initial support (display-only) for GP107
2efa4bd3b644 drm/nouveau/kms/nv50: fix double dma_fence_put() when destroying plane state
b6b2448efe64 drm/nouveau/kms/nv50: fix setting of HeadSetRasterVertBlankDmi method
8418bb809e55 drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
cc3c096855c6 drm/nouveau/mpeg: mthd returns true on success now
5de87d225e08 orangefs: free superblock when mount fails
5f8cde206712 zsmalloc: expand class bit
5c7de4610825 thp: fix MADV_DONTNEED vs clear soft dirty race
d7847a2203a1 thp: fix MADV_DONTNEED vs. MADV_FREE race
e2083153996d tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
acbb93eb7447 tcmu: Fix wrongly calculating of the base_command_size
1486f834e887 tcmu: Fix possible overwrite of t_data_sg's last iov[]
e8339b9ddfe6 audit: make sure we don't let the retry queue grow without bounds
668e2d892499 cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
4c031101dc08 Linux 4.10.11
2ef9c8dd6ecd dma-buf: add support for compat ioctl
10e13823b0a9 net/packet: fix overflow in check for priv area size
50d60091d294 crypto: caam - fix invalid dereference in caam_rsa_init_tfm()
41889ca0002a crypto: caam - fix RNG deinstantiation error checking
8e94a6f43dff MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch
4a1fe14b16c9 MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
2c7235dbdd51 MIPS: Switch to the irq_stack in interrupts
b21e28eafd17 MIPS: Only change $28 to thread_info if coming from user mode
ece65a60793c MIPS: Stack unwinding while on IRQ stack
6b720ff376fd MIPS: Introduce irq_stack
612973c55404 rt2x00usb: do not anchor rx and tx urb's
244ff096a321 rt2x00usb: fix anchor initialization
df741f77edfa nfs: flexfiles: fix kernel OOPS if MDS returns unsupported DS type
f536c2058420 orangefs: fix buffer size mis-match between kernel space and user space.
f20e76a469c1 orangefs: Dan Carpenter influenced cleanups...
b01252079ec7 drm/i915: Do .init_clock_gating() earlier to avoid it clobbering watermarks
d5b5a4d3f77f drm/i915: Avoid rcu_barrier() from reclaim paths (shrinker)
de3571619eeb drm/i915: Stop using RP_DOWN_EI on Baytrail
29abfd4ee598 drm/i915: Drop support for I915_EXEC_CONSTANTS_* execbuf parameters.
b364cf79fc37 drm/i915: Only enable hotplug interrupts if the display interrupts are enabled
56613bca0578 drm/i915: Reject HDMI 12bpc if the sink doesn't indicate support
dba29c1139fc drm/i915: Avoid tweaking evaluation thresholds on Baytrail v3
fccb5940cc17 drm/i915: Nuke debug messages from the pipe update critical section
29a9a6a329d1 drm/i915: Store a permanent error in obj->mm.pages
432ae45238b8 drm/i915/gen9: Increase PCODE request timeout to 50ms
b93cb4cc2eab drm/i915: Squelch any ktime/jiffie rounding errors for wait-ioctl
ec417098e18f drm/i915/fbdev: Stop repeating tile configuration on stagnation
4f985d41bc5f drm/i915: Move updating color management to before vblank evasion
a8a20aecc9c1 drm/i915: Fix forcewake active domain tracking
e6925852d5b8 Linux 4.10.10
e6c5fe2374cd x86/reboot/quirks: Fix typo in ASUS EeeBook X205TA reboot quirk
a148ee8f7156 usb-storage: Add ignore-residue quirk for Initio INIC-3619
118b1ef49a33 x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk
2b0766deb008 x86/reboot/quirks: Add ASUS EeeBook X205TA reboot quirk
3db435d09bc3 platform/x86: asus-wmi: Detect quirk_no_rfkill from the DSDT
d0331c21a1a6 watchdog: s3c2410: Fix infinite interrupt in soft mode
07371cd9ef21 PCI: Add ACS quirk for Qualcomm QDF2400 and QDF2432
e90d491bcf00 PCI: Sort the list of devices with D3 delay quirk by ID
9fd0dee94856 mmc: sdhci-of-esdhc: remove default broken-cd for ARM
8f24ffc2f9a0 PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports
f2d9c08fc9b2 PCI: Add Broadcom Northstar2 PAXC quirk for device class and MPSS
0755d2b5fe92 ARM: smccc: Update HVC comment to describe new quirk parameter
7dd05d366148 firmware: qcom: scm: Fix interrupted SCM calls
cc9b9deb6197 arm: kernel: Add SMC structure parameter
2dca786b85e2 HID: wacom: don't apply generic settings to old devices
6ac0617424d4 ASoC: sun4i-i2s: Add quirks to handle a31 compatible
ab0b1f481fa9 ACPI: save NVS memory for Lenovo G50-45
36426b3a31dc ASoC: Intel: cht_bsw_rt5645: add Baytrail MCLK support
bdbe9135ead6 ASoC: Intel: cht_bsw_rt5645: harden ACPI device detection
88f1372e28b2 ASoC: Intel: Baytrail: add quirk for Lenovo Thinkpad 10
770049fddd84 ASoC: codecs: rt5670: add quirk for Lenovo Thinkpad 10
8d5dd97f5556 ACPI / button: Change default behavior to lid_init_state=open
53a898c2dc3b sata: ahci-da850: implement a workaround for the softreset quirk
fcfd2ac4abfb PCI: xgene: Fix double free on init error
c259b9b74ebc PCI: Add ACS quirk for Intel Union Point
8a4b2d4ba49c drm/mga: remove device_is_agp callback
f08ae685954e usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions
41d6d9750ba3 usb: host: xhci-plat: enable BROKEN_PED quirk if platform requested
9763fee4c38d usb: xhci: add quirk flag for broken PED bits
afdb6b99f54e serial: 8250_omap: Add OMAP_DMA_TX_KICK quirk for AM437x
99b4f57bffe5 usb: chipidea: msm: Rely on core to override AHBBURST
f576c28172a3 ASoC: Intel: bytcr_rt5640: quirks for Insyde devices
24fdd3f90f4c drm/i915: actually drive the BDW reserved IDs
0325b5e1b637 drm/i915: more .is_mobile cleanups for BDW
bb4c89250bcc drm/i915: fix INTEL_BDW_IDS definition
d7f19357fe65 drm/edid: constify edid quirk list
b04940e26f10 kvm: fix page struct leak in handle_vmon
af7291601501 random: use chacha20 for get_random_int/long
d57c764a703b mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
596c2d180a96 Documentation: stable-kernel-rules: fix stable-tag format
813e1ac7259b usb: dwc3: gadget: delay unmap of bounced requests
5e87a005ff57 drm/i915/kvmgt: fix suspicious rcu dereference usage
cccf8321af1c drm/i915/gvt: Fix gvt scheduler interval time
fba7cfc66b25 MIPS: c-r4k: Fix Loongson-3's vcache/scache waysize calculation
42ce8ecfd141 MIPS: Flush wrong invalid FTLB entry for huge page
a854a7975ce0 MIPS: Add MIPS_CPU_FTLB for Loongson-3A R2
5dc665924208 MIPS: Check TLB before handle_ri_rdhwr() for Loongson-3
464d88e8a0ad MIPS: Lantiq: fix missing xbar kernel panic
187b957634f0 MIPS: End spinlocks with .insn
0c4b9fe70343 MIPS: ralink: Fix typos in rt3883 pinctrl
e09e410969ef MIPS: Force o32 fp64 support on 32bit MIPS64r6 kernels
94f3dd6b140a s390/uaccess: get_user() should zero on failure (again)
5d4d57697aa1 s390/decompressor: fix initrd corruption caused by bss clear
a66f5106e710 xtensa: make __pa work with uncached KSEG addresses
36463a76abeb nios2: reserve boot memory for device tree
be9fe9d48988 x86/mce: Don't print MCEs when mcelog is active
fe96b265778a dm raid: fix NULL pointer dereference for raid1 without bitmap
5c67d5410bbb powerpc/crypto/crc32c-vpmsum: Fix missing preempt_disable()
d625e1a1530d powerpc: Don't try to fix up misaligned load-with-reservation instructions
b129e418406b powerpc/64: Fix flush_(d|i)cache_range() called from modules
12502ae4c9a1 powerpc/mm: Add missing global TLB invalidate if cxl is active
2a3134e106d4 powerpc: Disable HFSCR[TM] if TM is not supported
be5569719b5c drm/msm: adreno: fix build error without debugfs
169b36bef88f metag/usercopy: Add missing fixups
191e4c735549 metag/usercopy: Fix src fixup in from user rapf loops
e6ca39ac0c0d metag/usercopy: Set flags before ADDZ
b03dd10e4c58 metag/usercopy: Zero rest of buffer from copy_from_user
60a0b56ea119 metag/usercopy: Add early abort to copy_to_user
e61ffb12b6ac metag/usercopy: Fix alignment error checking
804453ff0993 metag/usercopy: Drop unused macros
6d855e027553 brcmfmac: use local iftype avoiding use-after-free of virtual interface
96499191fe6d mac80211: unconditionally start new netdev queues with iTXQ support
ab23a82a0176 ring-buffer: Fix return value check in test_ringbuffer()
24d108e4dfec xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files
1d656a4d8e87 orangefs: move features validation to fix filesystem hang
b92a638e002b jump label: fix passing kbuild_cflags when checking for asm goto support
7b73b72fbf82 Kbuild: use cc-disable-warning consistently for maybe-uninitialized
52b38ad09a6c ACPI / scan: Prefer devices without _HID for _ADR matching
e56bb92202f7 ACPI / gpio: do not fall back to parsing _CRS when we get a deferral
1c9925e63abb dm verity fec: fix bufio leaks
88c358b1f453 dm verity fec: limit error correction recursion
523a19324267 dax: fix radix tree insertion race
8bdc69ccb9f8 ptrace: fix PTRACE_LISTEN race corrupting task->state
0666cf6c9c18 mm/page_alloc.c: fix print order in show_free_areas()
674850494e19 Reset TreeId to zero on SMB2 TREE_CONNECT
c793e3374981 cfg80211: check rdev resume callback only for registered wiphy
b48b63d5f583 arm64: mm: unaligned access by user-land should be received as SIGBUS
3d44ecc1206e iio: bmg160: reset chip when probing
2501a0af1734 iio: st_pressure: initialize lps22hb bootime
a16d8c4e8f77 iio: core: Fix IIO_VAL_FRACTIONAL_LOG2 for negative values
0d50669ca41f kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
e8c3d6542edb arm/arm64: KVM: Take mmap_sem in kvm_arch_prepare_memory_region
fc29073a15e8 arm/arm64: KVM: Take mmap_sem in stage2_unmap_vm
fb3ce7a85213 staging: android: ashmem: lseek failed due to no FMODE_LSEEK.
38b4b8a0969d sysfs: be careful of error returns from ops->show()
a709613559d6 PCI: thunder-pem: Fix legacy firmware PEM-specific resources
f8709a9ec8ae PCI: thunder-pem: Add legacy firmware support for Cavium ThunderX host controller
44eed6f02491 drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
a2d474ab560c drm/vmwgfx: Remove getparam error message
009eb75f7fb0 drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
7a392c9a4563 drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()
0570c0cd987f drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
3622a033c419 drm/vmwgfx: Type-check lookups of fence objects
(From OE-Core rev: 58063bcdb78c9434b4d36e3a73df977b64d1640f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake now only processes overrides which are lowercase since
this allows variables like SRC_URI not to pollute the cache.
There was a corner case where XXX_append_SomeThing was still being
processed (yet XXX_append_SomeThing_SomeOtherThing would not be).
This patch ensures we're consistent and only process lowercase
_append/_prepend and _remove operators too.
(Bitbake rev: 6eb56624e6d8dc1944e559b4f6584bfe66f566ba)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #9001]
Updated the image-live class description to specifically mention
creating *.iso and *.hddimg images as "live" images. Provided more
explanation about usage through the NOISO and NOHDD variables.
Also, provided a cross-referencing link back to the updated
image-live class from the EFI_PROVIDERS variable.
(From yocto-docs rev: 788061b2911339c8396b798a0ab5635ab5bb89e1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11498]
I enhanced the description of the INHERIT variable's glossary
description to provide more detail. I also included a link into the
section of the BB manual where INHERIT is described.
(From yocto-docs rev: 663cde3cf05ebf564ff3a28cd37b696be2f91ad8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was required only by dnf, which has switched to official gpgme bindings.
pygpgme itself is old and unmaintaned.
(From OE-Core rev: 2e3432f6ff7580726c047637b44fdac89dfa73ee)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop dependency on pygpgme, replace it with gpgme's own bindings.
Add a patch that fixes an upstream regression.
(From OE-Core rev: ee5dcf78f3abfec40e278591ccbd1e475ca6df15)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was previously disabled, as rpm refused to package it into noarch
package, due to the firmware being considered arch-specific. This
check is disabled in rpm now.
The netronome binaries has ELF headers which will trigger an
arch-specific error. INSANE_SKIP variable is used to skip some
package_qa check usage.
(From OE-Core rev: 8b2f6b308019e697c9d3e66969807eb573350d78)
Signed-off-by: Ng Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for packages like linux-firmware which have a
legitimate reason for it. Oe-core has a separate package_qa
test for this situation, so any accidental inclusions of such
binaries will still be caught.
[YOCTO #11329]
(From OE-Core rev: 6aaff392d703183d19192e2d171e10a92f259c65)
Signed-off-by: Ng Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'fontforge issue' was actually a non-issue; fontforge is required only
when building ttf fonts from sfd source. We took prebuilt ttf fonts
when using 1.04 version, and can do the same thing with 2.00.1 version,
it's just that the tarball name for prebuilt fonts has slightly changed
and no one noticed somehow.
License has changed from GPLv2 to Open Font License v.1.1
(From OE-Core rev: 9b60def67028df65fa8894c49cf09e601f1670df)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make libxslt-native dependency conditional on api-documentation distro feature,
as vala now defaults to rebuilding the manual (which is slow).
(From OE-Core rev: f7f87b8840f5997f65ddf643f26dde0ed5f6c308)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcr needs xsltproc at build time if GObject Introspection is enabled.
Also, remove the explicit disabling of g-i and gtk-doc on x86-64 targets, this
appears to work now.
(From OE-Core rev: 58922a43f93f89dcf344394d8b1c84d82276b6a5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade speex to 1.2.0. Very small diff between 1.2rc2 and 1.2.0, mostly
compiler warning fixes, tabs vs spaces, trailing whitespaces and one
liners.
(From OE-Core rev: 3e414545d650835e351f2939375c92ac7aca0569)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They have not been ported to Python 3, and they are for
browsing Amazon s3+ and Commodore 64/128 emulator filesystems -
hardly consequential.
(From OE-Core rev: f41a7b81a1957669e80e21e57df27d8cbc5cdbb8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It hasn't been touched in almost two years; clearly the idea of
providing separate _git.bb recipes is not working.
(From OE-Core rev: d7147f677aaff5dc3f63c1e1138ca86b1ea93e23)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup references to libasound-module since this code has been
completly removed from Bluez.
(From OE-Core rev: 8b433f49c8ea153f75d986e5b9ad89dd3f625cba)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New feautures/fixes in this version:
* fixes to BLE
* a new midi plugin
* support for single-mode controllers w/o public address
* most of the experimental tools have been promoted and are now part of
the official tools
* 'experimental' has been renamed to 'testing' (hence the addition of
the 'testing' package config option)
* classic command line tools like hciattach and hciconfig are now enabled
by the "--enable-deprecated" configure option (enabled by default for
backward compatibility).
(From OE-Core rev: dec3620bd13d43575bcfc5d99f40659672d7252b)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update libevent to version 2.1.8 and fix test directory creation
License file has been changed due to new MIT license in source code.
(From OE-Core rev: 028f3aaa29e23f0eff044698e7a39ec327450d49)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libarchive from 3.2.2 to 3.3.1.
2) Fix an unknown-configure-option "--without-lzmadec" when do_configure.
3) Delete three patches, since they are integrated upstream.
0001-archive_write_disk_posix.c-make-_fsobj-functions-mor.patch
0002-Fix-extracting-hardlinks-over-symlinks.patch
non-recursive-extract-and-list.patch
(From OE-Core rev: b5a5ca83670f93879048758d0637ea0f0a3866ac)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is preferred to use `[ "$FOO" ] || ...` instead of
`[ -z "$FOO" ] && ...` as the latter leaves $? set to 1.
(From OE-Core rev: d76c68505c36dbf383a989f3c2458abc765e2c19)
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>
This test case verifies that opkg, dpkg, and rpm all have the same behaviour for
version ordering, specifically the behaviour of ~ which should be sorting
*before* nothing:
1.0 < 2.0~pre < 2.0 < 2.0-fix
(From OE-Core rev: 0bf875ea234bb9ff50d347345782e14d6b7d3ff9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Latest DNF has changed the amount of whitespace it outputs so use matches
instead of hardcoding the exact number of spaces.
(From OE-Core rev: 9ebeb374e49ecedecba8fe16fff3717edbc41994)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the configuration values (common and specific) so it is easier to read
what goes into the config file. Also the specific configurations are
set in every loop so these do not append on each iteration.
(From OE-Core rev: 58d43b470ffa9b498234b6845cacfd867218ca03)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using "read-only-rootfs" feature in minimal or special
purpose images (eg mounted images) makes build to fail
because ${IMAGE_ROOTFS}/etc/fstab file does not exist.
(From OE-Core rev: 43714514fb29a40830e6619552980d7f88d77fb7)
Signed-off-by: Panagiotis Tamtamis <panagiotis.tamtamis@unify.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default dir for do_compile & do_configure is already ${B}, no need
to cd (other than broken appends)
CC: Andre McCurdy <armccurdy@gmail.com>
(From OE-Core rev: c5da7a3637b0eb8ec5b7368c7ac732d802a703f9)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the LICENSE of every image is hard set to MIT.
This allows this to be overriden in derived images.
(From OE-Core rev: 62454568c12d4fd19bb69b1b679e9c7b6dc95927)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a weak assignment for ROOTFS_RO_UNNEEDED to let users define their
own list overriding defaults.
(From OE-Core rev: aeec0b2ccdf8566dd07961f8c4c44fcff13b70c8)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When booting QEMU with slirp networking we want to use QEMUs TFTP server
to make the images in deploy accessible to the guest.
(From OE-Core rev: a6bef2fa065f8bb74d0084e44dd0ca47d7859113)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move get_os_release() from oeqa.utils.metadata to oe.lsb, merging the
code with release_dict_osr() from oe.lsb. This removes some code
duplication and makes get_os_release() more robust.
(From OE-Core rev: 56b883f7765f6bd72e83dec26a5db8c7108c835d)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in useradd-staticids is generally useful for user addition
functionality but is not reusable in its current form. Refactor the
code into a set of library functions.
(From OE-Core rev: a638ef304b1f1acb4c88f4f90b1ef22526cb8d2f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If sstate was used to populate the build and one of the universal-4.8
or universal-4.9 mirror urls was used, the sstate checks during eSDK
construction could fail as it would zero out the SSTATE_MIRRORs
variable.
Use the same mirrors variable setting as the eSDK would end up using
to perform the checks to avoid this.
(From OE-Core rev: 6b9e8b780dcd8d5ffba3df35cfe41674413ee26d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We only build one gcc-cross per architecture and having target specific
flags means gcc-cross would rebuild. These flags are really for the
on target case, so they should be set in gcc-target only.
(From OE-Core rev: 851937dde81de2a9ef54c5f19a78fb12fb82afd4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you accidentally create symlinks in the glibc sources directory, it
fails in very hard to understand ways. Whilst most people don't do this,
since I debugged it, specifify the list of plugins we use to avoid
this biting anyone else.
(From OE-Core rev: 38a1d4ae4df8dd21546b7442e5a3bddca32a4734)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code dates from distant times before we had class overrides.
The comments are also rather stale. Rewrite this code using class
overrides which makes it safer, more modern and more easily
understandable.
(From OE-Core rev: fb3b160a6bf20a601d6cecf3f06a2b71c03fa91f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-git and python3-git need to be upgraded to latest
upstream
version.
This change was tested using qemux86 with core-image-sato.
(From OE-Core rev: c59fa3bd71b42410bf032846ee8fdb6e6eb1b95c)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to using tarballs as git is unreliable (not responding right now).
LICENSE file is gone; COPYING has an additional line on top with
copyright attribution, the license text that follows has not changed.
(From OE-Core rev: fd55e8a463f42e4012aeedacb2d168f41232bf25)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit apply bug fixes found in both mesa 17.0.2 and mesa 17.0.3
releases.
- Mesa 17.0.4 is a bug fix release which fixes the following bugs
found since the 17.0.3 release:
Bug 99515 - SIGSEGV MAPERR on Android nougat-x86 with mesa 17.0.0rc
Bug 100391 - SachaWillems deferredmultisampling asserts
Bug 100452 - push_constants host memory leak when resetting command buffer
Bug 100582 - [GEN8+] piglit.spec.arb_stencil_texturing.glblitframebuffer
corrupts state.gl_texture* assertions
- Mesa 17.0.3 is a bug fix release which fixes the following bugs
found since the 17.0.2 release:
Bug 96743 - [BYT, HSW, SKL, BXT, KBL] GPU hangs with GfxBench 4.0 CarChase
Bug 99246 - [d3dadapter+radeonsi & bisect] EVE-Online : hang on wormhole sight
Bug 100061 - LODQ instruction generated with invalid dst mask
Bug 100182 - Flickering in The Talos Principle on Sky Lake GT4.
Bug 100201 - Windows scons build with MSVC toolchain and LLVM 4.0 fails
(From OE-Core rev: 70ad501c9c49318dbed7e0c3adfd4fea1a59f7ac)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A vulnerability was found in a way bash expands the $HOSTNAME.
Injecting the hostname with malicious code would cause it to run
each time bash expanded \h in the prompt string.
Porting patch from <https://ftp.gnu.org/gnu/bash/bash-4.3-patches/
bash43-047> to solve CVE-2016-0634
CVE: CVE-2016-0634
(From OE-Core rev: 7dd6aa1a4bf6e9fc8a1998cda6ac5397bb5cd5cb)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1)Upgrade byacc from 20161202 to 20170201.
2)License checksum changed,since the copyright years were updated.
(From OE-Core rev: f859b95c0d3dce36c6d39f5aba414a27f855a18d)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we only ship one version of coreutils, having this directory be versioned
just complicates upgrades.
(From OE-Core rev: 860e9c7d5653deb31dc0f1b0ea55c8e2a843d2fa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
update SRC_URI: as of 1.7.3, repo changed. same owner
Renamed recipe to reflect PV and added Epoch
Added ptest, tests added v1.7.3
updated LICENSE to be more accurate.
(From OE-Core rev: 962459c55406432537e10ab743cfa325b703e12a)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build with gcc7
Move all patches to webkit folder
Drop patches that were backports or have been upstreamed
(From OE-Core rev: bfbdd1a2069f199be9ba0909dd512469ff17b65e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fix for gcc7 warning along the way
Remove --disable-rpath as this configure doesn't support it anymore [RB].
(From OE-Core rev: ccf630e78aad488da7b80f2981037d3d0559cfad)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This uses more modern formatting to handle the lockfiles and control
file cleanup with try/finally, taking advantage of the previous
extra indentation.
(From OE-Core rev: 9cd7c2631b0840a57b9ed6c201bcb4fc80094f71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This prepares the way to parallelise deb generation and splits the iteration
over packages and the package generation into separate functions. Whitespace
indentation is unchanged deliberately and is fixed in a followup patch. There
should be no functional change.
Some checks on variables are removed as they were pointless when you looked
at the code.
(From OE-Core rev: 5054f66f8fbaaa422f74a4b5d0e61e68de6ffe91)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This prepares the way to parallelise ipk generation and splits the iteration
over packages and the package generation into separate functions. Whitespace
indentation is unchanged deliberately and is fixed in a followup patch. There
should be no functional change.
(From OE-Core rev: f190d8456c7e135164d3073acfb3319e75c9de76)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the limited dependency case we don't use any of the data from
BB_TASKDEPDATA. Restructure the code so this variable doesn't have
to be set. This allows the function to be called from other contexts
without creating artificial constructs. There should be no functional
change, behaviour remains unchanged.
(From OE-Core rev: 71e5243e3ebadb90b45fe418dac3eaa2c1b896bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous change to relocate HOSTTOOLS wasn't complete as some files,
particularly in gcc stashed build directories were not being correctly
relocated. This patch addresses the issue.
(From OE-Core rev: 21dd36cc12a033b012544c5d15a6f8afd84dabc9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both native and target versions of this file reference mkdir and install
in hosttools paths. Use the version from PATH instead.
(From OE-Core rev: 080197bf3bdf612da8104c2ae7f0b2c8dea32a0b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the file encodes full paths to various host tools in the
HOSTTOOLS directory which is bad in native and target cases. We can
simply use the versions from PATH quite safely in OE.
(From OE-Core rev: be901200d94beaa35e1d05eb502b117b3b523609)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A number of features were disabled in OE due to historic problems
on ARM. In tcf-agent 1.4, they compile cleanly on all architectures
besides mips and libc-musl. These features are required for target
debugging with Eclipse Neon, CDT and TCF plugins - for example used
by Xilinx Vivado SDK 2016.4.
For MIPS and libc-musl, at least re-enable SERVICE_Symbols and
SERVICE_LineNumbers which compile cleanly.
(From OE-Core rev: b07242cfe4544e99daf0a8d2f7062530e366bfae)
Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com>
Signed-off-by: Tim Offermann <tim.offermann@siemens.com>
Acked-by: Eugene Tarassov <eugene.tarassov@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tcf-agent uses "a64", not "aarch64", see agent/Makefile.inc. This fix
allows to re-enable features like SERVICE_Breakpoints and SERVICE_
MemoryMap on arm64.
(From OE-Core rev: 60c9b55d2247ca4a5074804eb42189c31d33fcf8)
Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com>
Acked-by: Eugene Tarassov <eugene.tarassov@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to sed the Makefile (especially the wrong Makefile) when there's
a variable we can pass.
(From OE-Core rev: 43f7652baa0f1973477731ce05786eda2cc81c09)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There may be alternative gnutls recipes outside oe-core which include
gnutls.inc but which don't want BBCLASSEXTEND = "native nativesdk".
(From OE-Core rev: 1160b51fbe5661be83959c0e135e4b4231c94349)
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>
Many new users add "python3" to their image using IMAGE_INSTALL and are then
surprised that they can't import any of the standard library. This is because we
split up the standard library into a number of packages, and python3-core (the
interpreter and essential modules only) RPROVIDES 'python3'.
Solve this by moving the RPROVIDES of 'python3' to python3-modules, so that the
entire Python standard library is installed.
[ YOCTO #11182 ]
(From OE-Core rev: 54a2549802a911cad2475a6aa379315a834419d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The idea is copied from commit df0b217f3df2c36a32e5c4afaec36a28bfc77bbb:
[ classes/image_vm: allow different filesystems to be used for VM images ]
The same logic should apply to image_live.bbclass, to allow other
filesystems to be used vs just ext4. The default value of ext4 is kept
so there is no functional change unless LIVE_ROOTFS_TYPE is set in the
inherting recipe.
(From OE-Core rev: 270cd793fa2777bf15930ee4873c7b44a22ad005)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This error is seen on the Braswell RVP platform we have been using for
testing. The error is caused by atkbd.c keyboard driver, which is only
for AT and PS/2 keyboards. I tested a PS/2 keyboard with the board,
which worked fine, and the board does not have a separate AT connector,
so this error won't cause any functional issues.
[YOCTO #10110].
(From OE-Core rev: c9f83639242313ca04ec36b49602a8464e10dae8)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The NUC6 has issues bringing up Bluetooth early in the boot sequence. We
see:
[ 4.091790] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 4.097326] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[ 4.145317] Bluetooth: hci0: Failed to send firmware data (-38)
Followed by this later on:
[ 11.509870] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 11.509988] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[ 13.090308] Bluetooth: hci0: Waiting for firmware download to complete
[ 13.090829] Bluetooth: hci0: Firmware loaded in 1549114 usecs
[ 13.090987] Bluetooth: hci0: Waiting for device to boot
[ 13.101958] Bluetooth: hci0: Device booted in 10818 usecs
Bluetooth does successfully come up and the firmware is loaded. This
behavior is consistent across all kernels I've tested.
[YOCTO #10628].
(From OE-Core rev: 045ee89342ea8ce16e78fea9f1c73d978d66a337)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The create-patch-request script creates patches as replies to a cover
letter, in the form of an email thread. If further revisions are sent to
the mailing list without referencing to the first revision, these new
revisions are not identified at the mailing list as part of the original
thread, but as a new thread instead.
This change adds the "[-t in_reply_to]" option, where "in_reply_to" is
the original cover letter's Message-Id, so this reference is added
to the new cover letter to ensure the thread continuity.
[YOCTO #11294]
(From OE-Core rev: 8a3879a8ca71db7fb313417d86b3ac7904cb0f0e)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid using LTTng's BUILD_RUNTIME_BUG_ON macro, as it appears to run
into a similar problem as Linux experienced with __builtin_constant_p
and dead code elimination.
(From OE-Core rev: 22af48a50d40d6872adaa4f6b0bf144ef5781c1c)
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes build with gcc7 in such a way that it keeps working
with older compilers who dont support -Wno-error=format-overflow=
option
(From OE-Core rev: 4b159968d6181155c270e2547706933b9df4d80b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use memset() API instead of __bzero()
Drop the patch removing des_* functions for musl
(From OE-Core rev: 2be873301420ec6ca2c70d899b7c49a7e2b0954d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace a local patch for format warning with the one
that got committed upstream
(From OE-Core rev: 0f3e67a5d9bcd304fef0618f62f48fcf087d30c7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were carrying patches which are no longer
needed when building rpcbind for musl
(From OE-Core rev: 56b3b440fa139c8f132b2b71dc6b8eb0ee974e7a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys
@@ -36,9 +26,9 @@ from bb import cookerdata
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
@@ -17,7 +20,7 @@ from multiprocessing import Lock
from threading import Thread
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
# Users shouldn't be running this code directly
if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"):
# TODO: add argument to automatically keep local-only refs, since they
# can't be easily restored with a git fetch.
parser = argparse.ArgumentParser(description='Remove the history of the specified revisions, then optionally filter the available refs to those specified.')
parser.add_argument('--ref', '-r', metavar='REF', action='append', dest='refs', help='remove all but the specified refs (cumulative)')
parser.add_argument('--shrink', '-s', action='store_true', help='shrink the git repository by repacking and pruning')
for pidfile in ${BUILDDIR}/.toastermain.pid ${BUILDDIR}/.runbuilds.pid; do
if [ -f ${pidfile} ]; then
pid=`cat ${pidfile}`
while kill -0 $pid 2>/dev/null; do
kill -SIGTERM $pid 2>/dev/null
sleep 1
done
rm ${pidfile}
fi
done
}
webserverStartAll()
{
# do not start if toastermain points to a valid process
if ! cat "${BUILDDIR}/.toastermain.pid" 2>/dev/null | xargs -I{} kill -0 {} ; then
retval=1
rm "${BUILDDIR}/.toastermain.pid"
fi
retval=0
# check the database
databaseCheck || return 1
echo "Starting webserver..."
$MANAGE runserver "$ADDR_PORT" \
$MANAGE runserver --noreload "$ADDR_PORT" \
</dev/null >>${BUILDDIR}/toaster_web.log 2>&1 \
& echo $! >${BUILDDIR}/.toastermain.pid
@@ -79,6 +94,7 @@ webserverStartAll()
else
echo "Toaster development webserver started at http://$ADDR_PORT"
echo -e "\nYou can now run 'bitbake <target>' on the command line and monitor your build in Toaster.\nYou can also use a Toaster project to configure and run a build.\n"
This example was inspired by and drew heavily from these sources:
<itemizedlist>
<listitem><para>
<ulinkurl="http://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html">Mailing List post - The BitBake equivalent of "Hello, World!"</ulink>
</para></listitem>
<listitem><para>
<ulinkurl="http://hambedded.org/blog/2012/11/24/from-bitbake-hello-world-to-an-image/">Hambedded Linux blog post - From Bitbake Hello World to an Image</ulink>
</para></listitem>
</itemizedlist>
This example was inspired by and drew heavily from
<ulinkurl="http://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html">Mailing List post - The BitBake equivalent of "Hello, World!"</ulink>.
</note>
<para>
@@ -201,7 +194,7 @@
<para>
When you run BitBake, it begins looking for metadata files.
"""Exception raised when encountering a host not listed in BB_ALLOWED_NETWORKS"""
@@ -68,24 +58,24 @@ class UntrustedUrl(BBFetchException):
classMalformedUrl(BBFetchException):
"""Exception raised when encountering an invalid url"""
def__init__(self,url,message=''):
ifmessage:
msg=message
else:
msg="The URL: '%s' is invalid and cannot be interpreted"%url
self.url=url
BBFetchException.__init__(self,msg)
self.args=(url,)
ifmessage:
msg=message
else:
msg="The URL: '%s' is invalid and cannot be interpreted"%url
self.url=url
BBFetchException.__init__(self,msg)
self.args=(url,)
classFetchError(BBFetchException):
"""General fetcher exception when something happens incorrectly"""
def__init__(self,message,url=None):
ifurl:
ifurl:
msg="Fetcher failure for URL: '%s'. %s"%(url,message)
else:
else:
msg="Fetcher failure: %s"%message
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
classChecksumError(FetchError):
"""Exception when mismatched checksum encountered"""
@@ -99,49 +89,56 @@ class NoChecksumError(FetchError):
classUnpackError(BBFetchException):
"""General fetcher exception when something happens incorrectly when unpacking"""
def__init__(self,message,url):
msg="Unpack failure for URL: '%s'. %s"%(url,message)
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
msg="Unpack failure for URL: '%s'. %s"%(url,message)
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
classNoMethodError(BBFetchException):
"""Exception raised when there is no method to obtain a supplied url or set of urls"""
def__init__(self,url):
msg="Could not find a fetcher which supports the URL: '%s'"%url
self.url=url
BBFetchException.__init__(self,msg)
self.args=(url,)
msg="Could not find a fetcher which supports the URL: '%s'"%url
self.url=url
BBFetchException.__init__(self,msg)
self.args=(url,)
classMissingParameterError(BBFetchException):
"""Exception raised when a fetch method is missing a critical parameter in the url"""
def__init__(self,missing,url):
msg="URL: '%s' is missing the required parameter '%s'"%(url,missing)
self.url=url
self.missing=missing
BBFetchException.__init__(self,msg)
self.args=(missing,url)
msg="URL: '%s' is missing the required parameter '%s'"%(url,missing)
self.url=url
self.missing=missing
BBFetchException.__init__(self,msg)
self.args=(missing,url)
classParameterError(BBFetchException):
"""Exception raised when a url cannot be proccessed due to invalid parameters."""
def__init__(self,message,url):
msg="URL: '%s' has invalid parameters. %s"%(url,message)
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
msg="URL: '%s' has invalid parameters. %s"%(url,message)
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
classNetworkAccess(BBFetchException):
"""Exception raised when network access is disabled but it is required."""
def__init__(self,url,cmd):
msg="Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command %s (for url %s)"%(cmd,url)
self.url=url
self.cmd=cmd
BBFetchException.__init__(self,msg)
self.args=(url,cmd)
msg="Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command %s (for url %s)"%(cmd,url)
bb.fatal("There is a confusing multiline, partially commented expression on line %s of file %s (%s).\nPlease clarify whether this is all a comment or should be parsed."%(lineno,fn,s))
# re-run the mark_active and then drop unused tasks from new list
runq_build={}
fortidinlist(runall_tids):
mark_active(tid,1)
fortaskinself.cooker.configuration.runall:
runall_tids=set()
fortidinlist(self.runtaskentries):
wanttid=fn_from_tid(tid)+":do_%s"%task
ifwanttidindelcount:
self.runtaskentries[wanttid]=delcount[wanttid]
ifwanttidinself.runtaskentries:
runall_tids.add(wanttid)
fortidinlist(runall_tids):
mark_active(tid,1)
fortidinlist(self.runtaskentries.keys()):
iftidnotinrunq_build:
delcount[tid]=self.runtaskentries[tid]
delself.runtaskentries[tid]
delcount+=1
iflen(self.runtaskentries)==0:
bb.msg.fatal("RunQueue","No remaining tasks to run for build target %s with runall %s"%(target,runall))
bb.msg.fatal("RunQueue","Could not find any tasks with the tasknames %s to run within the recipes of the taskgraphs of the targets %s"%(str(self.cooker.configuration.runall),str(self.targets)))
self.init_progress_reporter.next_stage()
# Handle runonly
ifself.cooker.configuration.runonly:
# re-run the mark_active and then drop unused tasks from new list
bb.msg.fatal("RunQueue","Could not find any tasks with the tasknames %s to run within the taskgraphs of the targets %s"%(str(self.cooker.configuration.runonly),str(self.targets)))
#
# Step D - Sanity checks and computation
@@ -834,7 +948,7 @@ class RunQueueData:
else:
bb.msg.fatal("RunQueue","No active tasks and not in --continue mode?! Please report this bug.")
logger.info("Tasks Summary: Attempted %d tasks of which %d didn't need to be rerun and all succeeded.",self.rqexe.stats.completed,self.rqexe.stats.skipped)
bb.plain("\nTask %s:%s couldn't be used from the cache because:\n We need hash %s, closest matching task was %s\n"%(pn,taskname,h,prevh)+'\n'.join(output))
@@ -1651,6 +1777,10 @@ class RunQueueExecute:
valid=bb.utils.better_eval(call,locs)
returnvalid
defcan_start_task(self):
can_start=self.stats.active<self.number_tasks
returncan_start
classRunQueueExecuteDummy(RunQueueExecute):
def__init__(self,rq):
self.rq=rq
@@ -1724,13 +1854,14 @@ class RunQueueExecuteTasks(RunQueueExecute):
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" Base code for Bitbake server process
Have a common base for that all Bitbake server classes ensures a consistent
approach to the interface, and minimize risks associated with code duplication.
"""
""" BaseImplServer() the base class for all XXServer() implementations.
These classes contain the actual code that runs the server side, i.e.
listens for the commands and executes them. Although these implementations
contain all the data of the original bitbake command, i.e the cooker instance,
they may well run on a different process or even machine.
"""
classBaseImplServer():
def__init__(self):
self._idlefuns={}
defaddcooker(self,cooker):
self.cooker=cooker
defregister_idle_function(self,function,data):
"""Register a function to be called while the server is idle"""
asserthasattr(function,'__call__')
self._idlefuns[function]=data
""" BitBakeBaseServerConnection class is the common ancestor to all
BitBakeServerConnection classes.
These classes control the remote server. The only command currently
implemented is the terminate() command.
"""
classBitBakeBaseServerConnection():
def__init__(self,serverImpl):
pass
defterminate(self):
pass
defsetupEventQueue(self):
pass
""" BitBakeBaseServer class is the common ancestor to all Bitbake servers
Derive this class in order to implement a BitBakeServer which is the
controlling stub for the actual server implementation
"""
classBitBakeBaseServer(object):
definitServer(self):
self.serverImpl=None# we ensure a runtime crash if not overloaded
self.connection=None
return
defaddcooker(self,cooker):
self.cooker=cooker
self.serverImpl.addcooker(cooker)
defgetServerIdleCB(self):
returnself.serverImpl.register_idle_function
defsaveConnectionDetails(self):
return
defdetach(self):
return
defestablishConnection(self,featureset):
raise"Must redefine the %s.establishConnection()"%self.__class__.__name__
defendSession(self):
self.connection.terminate()
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.