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>
@@ -38,7 +38,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
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.")
# 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 +925,7 @@ class RunQueueData:
else:
bb.msg.fatal("RunQueue","No active tasks and not in --continue mode?! Please report this bug.")
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href=\"http://cgit.openembedded.org/openembedded-core/log/?h=rocko\">OpenEmbedded Rocko</a> branch.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href=\"http://cgit.openembedded.org/openembedded-core/log/?h=sumo\">OpenEmbedded Sumo</a> branch.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href=\"http://cgit.openembedded.org/openembedded-core/log/\">OpenEmbedded master</a> branch.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href=\"http://cgit.openembedded.org/openembedded-core/log/?h=rocko\">OpenEmbedded Rocko</a> branch.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=rocko">Yocto Project Rocko branch</a>.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=sumo">Yocto Project Sumo branch</a>.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/">Yocto Project Master branch</a>.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=rocko">Yocto Project Rocko branch</a>.</field>
Permission is granted to copy, distribute and/or modify this document under
the terms of the <ulinktype="http"url="http://creativecommons.org/licenses/by-sa/2.0/uk/">Creative Commons Attribution-Share Alike 2.0 UK: England & Wales</ulink> as published by Creative Commons.
You can find more information on adding layers in the
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#adding-a-layer-using-the-bitbake-layers-script'>Adding a Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section.
</para></listitem>
</orderedlist>
Completing these steps has added the
<filename>meta-altera</filename> layer to your Yocto Project
development environment and configured it to build for the
"cyclone5" machine.
<note>
The previous steps are for demonstration purposes only.
If you were to attempt to build an image for the
"cyclone5" build, you should read the Altera
<filename>README</filename>.
</note>
</para>
</section>
<sectionid='creating-your-own-general-layer'>
<title>Creating Your Own General Layer</title>
<para>
Maybe you have an application or specific set of behaviors you
subdirectory with a <filename>layer.conf</filename>
configuration file, a <filename>recipes-example</filename>
subdirectory that contains an <filename>example.bb</filename>
recipe, a licensing file, and a <filename>README</filename>.
</para>
<para>
The following commands run the tool to create a layer named
<filename>meta-mylayer</filename> in the
<filename>poky</filename> directory:
<literallayoutclass='monospaced'>
$ cd ~/poky
$ bitbake-layers create-layer meta-mylayer
NOTE: Starting bitbake server...
Add your new layer with 'bitbake-layers add-layer meta-mylayer'
</literallayout>
For more information on layers and how to create them, see the
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section in the Yocto Project Development Tasks Manual.
</para>
</section>
<sectionid='brief-where-to-go-next'>
<title>Where To Go Next</title>
<para>
Now that you have experienced using the Yocto Project, you might
be asking yourself "What now?"
The Yocto Project has many sources of information including
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section in the Yocto Project Development Tasks
Manual.
@@ -387,7 +387,7 @@
You can find Git repositories of supported Yocto Project
kernels organized under "Yocto Linux Kernel" in the
Yocto Project Source Repositories at
<ulinkurl='&YOCTO_GIT_URL;/cgit.cgi'></ulink>.
<ulinkurl='&YOCTO_GIT_URL;'></ulink>.
</para>
<para>
@@ -489,7 +489,8 @@
See the
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section in the Yocto Project Development Tasks Manual for
information on how to use this script.
information on how to use this script to quick set up a
new layer.
</note>
</para>
@@ -1224,18 +1225,6 @@
the
"<linklinkend='getting-ready-for-traditional-kernel-development'>Getting Ready for Traditional Kernel Development</link>"
Section.
</para>
<para>
Although this example uses Git and shell commands to generate the
patch, you could use the <filename>yocto-kernel</filename> script
found in the <ulinkurl='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink>
under <filename>scripts</filename> to add and manage kernel
patches and configuration.
See the "<ulinkurl='&YOCTO_DOCS_BSP_URL;#managing-kernel-patches-and-config-items-with-yocto-kernel'>Managing kernel Patches and Config Items with yocto-kernel</ulink>"
section in the Yocto Project Board Support Packages (BSP)
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.