* gzip was recently upgraded from 1.8 to 1.9, now all the builds show:
NOTE: preferred version 1.8 of gzip-native not available (for item gzip-native)
NOTE: versions of gzip-native available: 1.9
* drop the setting, because nobody is probably going to use older
gzip-native than 1.4 when there is only 1.9 available in oe-core
(From OE-Core rev: a0988c3374e964170d1d24fc230306b887432d31)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For reasons I can't explain gettext uses several hundred lines of convoluted m4
to find the paths to a library.
If we don't tell it where to find a library it will hunt around and potentially
have host contamination as /usr/lib on the host is explicitly searched.
If we tell it the prefix to a library then we get bad RPATHs in the binaries
(such as /usr/lib/../lib), and the search assumes that it knows best about what
the library directories are under that prefix (even when it's wrong).
So, replace the lookup where possible with pkg-config calls (libxml2, glib,
libcroco). libunistring doens't have a pkgconfig file so just don't use the
system libunistring: the library is tiny anyway.
(From OE-Core rev: 1ff35fbbdd50660b86f8e254685ae0c8338b6e11)
(From OE-Core rev: e6c0f8eddf8ff4a6132934a69e0f3450d4843ece)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers were updated without updating PREFERRED_VERSION causing
following messages being shown in every single build:
NOTE: preferred version 4.12% of nativesdk-linux-libc-headers not available (for item nativesdk-linux-libc-headers)
NOTE: versions of nativesdk-linux-libc-headers available: 4.14.13
NOTE: preferred version 4.12% of linux-libc-headers not available (for item linux-libc-headers)
NOTE: versions of linux-libc-headers available: 4.14.13
NOTE: preferred version 4.12% of linux-libc-headers not available (for item linux-libc-headers-dev)
NOTE: versions of linux-libc-headers available: 4.14.13
NOTE: preferred version 4.12% of nativesdk-linux-libc-headers not available (for item nativesdk-linux-libc-headers-dev)
(From OE-Core rev: df07a95f270492dba9fa04f917617b1aaee123b9)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is already in gcc-7-branch
6e6c7fc1e1
Thanks nsz for noticing it
(From OE-Core rev: 3d9c32f31047e9fae289b45fcf733c5df1ddaceb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the first boot deferral needs to be requested explicitly,
it's not really something to be concerned about.
(From OE-Core rev: 19f3f4c60060ff5ed3c1c9871e18fcd4d128c5a3)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows catching errors in the scriptlets which would otherwise
go unnoticed, e.g. this sequence:
====
bogus_command
proper_command
====
would work just fine. Note that this patch needs all of the preceding
patches, as otherwise running failing scriptlets with -e would defer
them to first boot, instead of properly reporting failure and aborting
the package installation.
(From OE-Core rev: 3cd8a55d5298ce9cc176e402fdb727abb26a1a4c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'exit 1' is not optimal for two reasons:
1) Code is hard to read; it is not obvious that it means 'defer what follows to first boot'.
2) Worse, this hides actual errors in the scriptlets; there is no difference between scriptlet
failing because it's intended to be run on target and scriptlet failing because there's a bug or
a regression somewhere.
The new, supported way is to place the code that has to run on target into pkg_postinst_ontarget(),
or, if a more fine-tuned control is required, call 'postinst-intercepts defer_to_first_boot' from
pkg_postinst() to explicitly request deferral to first boot.
(From OE-Core rev: d12cf56e9ff2a4f13dfbef9290ea5647b52b3f6d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is a convenient and more readable shortcut for situations
when the postinst code always needs to run on target. All commands that
cannot be executed during cross-install and can only be run on target
should go into this function. They will only be executed on first boot
(if package was cross-installed) or immediately during package installation
on target.
Plain pkg_postinst() works as before: it is run during cross-install time,
it can contain a request to defer to first boot, and it is also run
during package installation on target.
Also fix the oeqa test for this functionality to use the new function
where appropriate.
(From OE-Core rev: 229f4e975fb6957f44b5c56735fd6d58564098d7)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
That hook is empty, and doesn't need to be executed; it merely indicates that packages
that have used it are requesting to defer their postinst scripts to first boot
unconditionally.
(From OE-Core rev: 939f7f1a06cd2db05aeb5e75a66322314e10aa6d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows postinsts scripts to explicitly request a deferral to first boot
(by calling 'postinst_intercept delay_to_first_boot') instead of 'exit 1' which
should be used only to indicate actual script failures.
(From OE-Core rev: 853ac4a061e47c70b61e255c3cf6109d2058d2cc)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This mitigates following issues during u-boot do_compile() step --
otherwise, if comm is not available, they are quietly ignored:
.../scripts/check-config.sh: line 33: comm: command not found
.../scripts/check-config.sh: line 39: comm: command not found
Since 'comm' is provided by coreutils package, adding it to HOSTTOOLS
was considered a lower impact fix compared to adding coreutils-native
buildtime dependency to u-boot recipe.
(From OE-Core rev: 6dc33687de9edd4269cbaf85e30945771f61f313)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using a sed to fix the hashbang in a test tool send a patch upstream
and use that. This way we'll notice when the patch doesn't need to be applied
anymore.
(From OE-Core rev: 8b6c45dfdd6a7b469f5a0dd7308b25bdd4b1bf56)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These base_* functions were moved into meta/lib/oe back in 2010 and wrappers
left in utils.bbclass for compatibility. It's been eight years, so I think it's
time to remove them.
(From OE-Core rev: 0391fcad9103abca0796a068f957d0df63ab4776)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These functions were moved to meta/lib/oe in 2010 and the base_* functions in
utils.bbclass were intended to be a short-term compatibility layer. They're
still used in a few places, so update the callers to use the new functions.
(From OE-Core rev: c97acbd034532895ce57c6717ed1b3ccc7900b0d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With glibc 2.27 memfd_create() is behind a _GNU_SOURCE guard, so use
AC_USE_SYSTEM_EXTENSIONS to define it.
(From OE-Core rev: 88b3d730021107985ea749c92e52a323690f87dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
memfd_create is now available in glibc
(From OE-Core rev: 8f893588ff42db711763d0a8977b733df8389774)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've noticed issues on our infrastucture iterating over the many
tag/branch/head reference files that some git repositories may contain.
By issuing the pack-refs command, we move these all to a single file
which speeds up operations with the mirror repos in the downloads
directory in general.
(Bitbake rev: f8126aaf774186a6eaf0bd4067b89c074594886c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means two different graph files can easily be compared, currently
you'd have to sort them as the output is randomized.
(Bitbake rev: 5f7c6ec785f70beb1a4a1bbc0eb83cfa6cd7740d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change hardcoded /lib to ${nonarch_base_libdir} to correctly adapt the
code in do_install_append_aarch64() for when usrmerge is enabled in
DISTRO_FEATURES.
(From OE-Core rev: ac373c9f760463d989d6a1eb3a14b7c5b255b9d4)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes depending on libfm with the gtk+ bindings will automatically rdepend
additionally on the new package libfm-gtk.
(From OE-Core rev: fa49561040e4de4ac75f18d195352b9114149f9b)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows scripts/bitbake-whatchanged to calculate the dependency
changes correctly since it needs to set different STAMPS_DIR during
the comparation.
(From OE-Core rev: 8547f1e29104b75299f1056524da4a058a029940)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove hardcoding c/c++ compiler to be gcc alone, its
possible to use clang as replacement for cross compilers
from meta-clang, therefore set clang/clang++ if
TOOLCHAIN = "clang"
(From OE-Core rev: 05789489d25a5ceac0403613ad789d78198be6ee)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebased:
- python/01-use-proper-tools-for-cross-build.patch
- python/fix-makefile-for-ptest.patch
- python/parallel-makeinst-create-bindir.patch
Removed Upstreamed Patch:
- python/Don-t-use-getentropy-on-Linux.patch
Updated license checksum for changes in the copyright date. The license
terms remain unchanged
Added an extra do_compile item to create the native pgen that no longer
gets compiled by default
(From OE-Core rev: 9f2de4f9cf1eb6de75dc789bd0549f45c7a68c55)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The _pydecimal files are required to use the numbers package
and downstream packages are currently required to add a RDEPENDS
on python3-misc to avoid an import error
(From OE-Core rev: 4ca2d607a6b6fe8686bf89177287f2b9bae01245)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding a file-checksums flag for the manifest to do_split_packages doesn't
achieve anything as do_split_packages isn't a task. Changing this to tha task
do_package shows that the path is wrong, but we also know that as the manifest
is in SRC_URI any changes to it would result in a rebuild anyway, so this line
can be deleted.
However there is a problem of the recipe not being reparsed when it needs to be,
if the JSON has changed. The main bitbake process can hash the recipe and use
stale data from the cache as it hasn't considered the manifest file changing. This
results in non-determinism warnings when the worker parses the recipe again and
comes to a different hash (as the manifest has changed, so the packaging
changed).
Solve this by calling bb.parse.mark_dependency() to declare the dependency on
the manifest.
(From OE-Core rev: a321b28c8dafc9775f465ce7c0f6bcbe8ccc2945)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade man-pages from 4.11 to 4.14.
2.Update the checksum of LIC_FILES_CHKSUM, since README has been changed.
(From OE-Core rev: 8644d7bde6a30aec4e666ad59ff148f04c616a21)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade libunwind from 1.2 to 1.2.1.
2.Delete fix-mips.patch, since it is integrated upstream.
(From OE-Core rev: a8944a706dc5acd9dc091d60675c0dbc50294df7)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade blktrace form 1.1.0+gitX to 1.2.0+gitX
2.Delete 0001-include-sys-types.h-for-dev_t-definition.patch, since it is integrated upstream.
3.Modify ldflags.patch, since iowatcher/Makefile has been changed.
(From OE-Core rev: bd1326a1e778f1c774fe3efd93b888bf9ee9df3d)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The RPM packages contain BUILDHOST based on the current build host.
This breaks reproducibility if the same package is build on two different hosts.
To improve reproducible builds, we always set BUILDHOST as "reproducible".
(From OE-Core rev: f3beb683380ec0d9efa0d6af83205350afd1b2de)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove qt4 test component in test list since qt4 isn't installed to
lsb image by default.
* Update package directory, server IP address and version.
* Move LSB_Test.sh from /usr/bin to /opt/lsb-test.
* Add lsb as runtime dependency.
(From OE-Core rev: c5a9c64d271aec57959d70a83d0967e00a155908)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LSB test packages had been updated to 5.0 in lsbtest. We also need
to bump to version 5.0 for this recipe.
(From OE-Core rev: 7bef6109927d143136afad79674dab12cf4552c8)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
distrocompare.sh is added to compare the added list of recipes
between two releases. The output of the script will share the
information of the licenses required and other distributions
that are using the package.
If a single input is provided, it will compare the current
branch with the provided branch/commit-ish package list.
To run : distrocompare.sh <older hash> <newer hash>
E.g. distrocompare.sh morty 92aa0e7
E.g. distrocompare.sh morty pyro
E.g. distrocompare.sh morty
output : The script will produce a file ending with
new_recipe_list.txt preceeded by the branch name from input
(From OE-Core rev: 32b363c2ba91fde4f10e5fe2c898b2fc2702aa85)
Signed-off-by: Tan Shen Joon <shen.joon.tan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade gzip from 1.8 to 1.9.
2.Delete 0001-gzip-port-zdiff-zless-to-Busybox.patch, since it is integrated upstream.
3.Modify wrong-path-fix.patch, since it is changed upstream.
(From OE-Core rev: db59381121d564a1ba5d199a8099d120620f0527)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The requirement for images being built using RPM is too strict to have access to
the RPM functions, simply checking that package_rpm is in PACKAGE_CLASSES is
sufficient.
Also fail if SRPMs are requested but package_rpm isn't enabled, instead of
silently not doing what we were asked.
(From OE-Core rev: cdae5c41e4f67a8757efc5ce1ef11d730edc3af1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core changes the architecture independent RPM packages to use
"noarch" instead of "all". This change has been included in the commit
below:
,----
| commit 341810aff923ace6b1cc1e15e19383c4f8773b51
| Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
| Date: Mon Jan 9 16:37:28 2017 +0200
|
| package_rpm.bbclass: make architecture-independent .rpm packages
| "noarch" instead of "all"
|
| Too many places in dnf/rpm4 stack make that assumption; let's not
| fight against it.
|
| Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
`----
This is causing problems with machines that has "all" inside the
machine name.
Reported-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
(From OE-Core rev: 3e4ddeab65d4d2e4aaf03d442c2a1a8c7a2ce8a2)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
librsvg-gtk installs /usr/share/thumbnailers/librsvg.thumbnailer which contains
TryExec and Exec for gdk-pixbuf-thumbnailer which is installed by
gdk-pixbuf-bin.
Fixes the following message in systemd-journal:
raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: Registered thumbailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: error: The metadata does not have a thumbnail property
raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: error: The metadata does not have a thumbnail property
(From OE-Core rev: 661dd7460b47f9feafe08c8bb4a328caa7fe052e)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a sanity check during the do_compile task to fail if the suid
busybox provides /bin/sh. This is considered as a hard fail since not
only is providing sh as suid problematic for security reasons but also
because the sh configured for suid is less functional than the nosuid
configured sh and breaks a number of required features (e.g. 64-bit
test).
(From OE-Core rev: b64807549569817c8f1921a0aad52c815af90731)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When searching for variables, include colon to ensure the script doesn't
find a variable that starts with the same name.
(From OE-Core rev: 3d2c87c4f4115b01534ab198c27682c7e4c5f31f)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The static PIE patch was updated by Juro Bystricky <juro.bystricky@intel.com>
to work with gcc 7.3.
This update from the stable gcc 7 branch includes the retpoline
functionality which is useful to assist with recent security issues.
Two backported patches were dropped as they're included in 7.3.
(From OE-Core rev: a4c1ede6876ad6b84ab2b3bece14bf0afdc9d6b7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable update from Paul Gortmaker which comprises
the following commits:
4aff9b16f4ba Linux 4.12.19
28f16fcc84f9 Bluetooth: Prevent stack info leak from the EFS element.
a430cb040780 loop: fix concurrent lo_open/lo_release
4dd428f5965c net: ipv4: fix for a race condition in raw_sendmsg
4428a99052e6 bpf: fix lockdep splat
686f16d77fee bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN
2c4577f1274b bpf: fix branch pruning logic
d16a3b7b0642 bpf: reject out-of-bounds stack pointer calculation
a1177b36876f x86/microcode/AMD: Add support for fam17h microcode loading
19be0f0937af iommu/arm-smmu-v3: Cope with duplicated Stream IDs
2e9834fd3352 iommu/arm-smmu-v3: Don't free page table ops twice
1e67d5342bde KVM: X86: Fix load RFLAGS w/o the fixed bit
b45b19d6e92d KVM: PPC: Book3S HV: Fix pending_pri value in kvmppc_xive_get_icp()
ce4ad56d8b44 KVM: PPC: Book3S: fix XIVE migration of pending interrupts
721f59a0bf4f KVM: arm/arm64: Fix HYP unmapping going off limits
a7dbd1b73e6c arm64: kvm: Prevent restoring stale PMSCR_EL1 for vcpu
3e4266c9ea63 KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
c15b6348058e x86/asm: Use register variable to get stack pointer value
19af84ace857 x86/asm: Fix inline asm call constraints for GCC 4.4
78d54c1f3ac1 x86/asm: Fix inline asm call constraints for Clang
9a6d78ff4fb7 arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27
3af55325636e mm: Handle 0 flags in _calc_vm_trans() macro
f951c9e762b6 arm-ccn: perf: Prevent module unload while PMU is in use
21bc2a95624c arm64: fix CONFIG_DEBUG_WX address reporting
a2fb441f8cbd arm64: Initialise high_memory global variable earlier
2b2e733345b0 kbuild: do not call cc-option before KBUILD_CFLAGS initialization
4c67bceb55f4 jump_label: Invoke jump_label_test() via early_initcall()
7cdf334210c3 ARM: BUG if jumping to usermode address in kernel mode
77358b0b4d2f arm64: SW PAN: Update saved ttbr0 value on enter_lazy_tlb
09bddb96452b arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm
f451d0e885e1 arm64: fpsimd: Prevent registers leaking from dead tasks
bf4bfcfd1780 KVM: arm/arm64: vgic-its: Check result of allocation before use
bdd70c122339 KVM: arm/arm64: vgic: Preserve the revious read from the pending table
6b99a8c8cdc0 KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
eadaba010c36 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
b31b0eb03c2c arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
7c5a020deec8 arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
e1d48f51262e KVM: x86: fix APIC page invalidation
4465b8b94411 x86/PCI: Make broadcom_postcore_init() check acpi_disabled
74d50f1ac954 perf tools: Fix leaking rec_argv in error cases
a8698071c4ba KVM: lapic: Fixup LDR on load in x2apic
18db8c0cd612 KVM: lapic: Split out x2apic ldr calculation
06e79931a082 KVM: x86: inject exceptions produced by x86_decode_insn
1c7ccddc0a60 KVM: x86: Exit to user-mode on #UD intercept when emulator requires
933a293d5925 KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
27a37b1b39b5 mm/madvise.c: fix madvise() infinite loop under special circumstances
9a415da9c31c mm, hugetlbfs: introduce ->split() to vm_operations_struct
ab1e80ae2b42 mm: fix device-dax pud write-faults triggered by get_user_pages()
84392a1ffc54 mm/cma: fix alloc_contig_range ret code/potential leak
390e49975c0c mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
c9d8192b4165 mm, oom_reaper: gather each vma to prevent leaking TLB entry
557cc85757eb mm, memory_hotplug: do not back off draining pcp free pages from kworker context
e7f78f55bdcb KVM: SVM: obey guest PAT
eee1b36f5bd8 KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
eca2c0a4f6fd KVM: PPC: Book3S HV: Don't call real-mode XICS hypercall handlers if not enabled
139c8678fb65 x86/decoder: Add new TEST instruction pattern
f06e373ee93d RDS: Heap OOB write in rds_message_alloc_sgs()
4f72d5339c6f RDS: null pointer dereference in rds_atomic_free_op
3911496c7b54 net: Fix double free and memory corruption in get_net_ns_by_id()
5c9f58b167bd MIPS: math-emu: do not use bools for arithmetic
a756ea350c02 crypto: salsa20 - fix blkcipher_walk API usage
632cfeb3cb42 crypto: hmac - require that the underlying hash algorithm is unkeyed
fdd279fd5561 netlink: Add netns check on taps
c142151947e9 dccp: CVE-2017-8824: use-after-free in DCCP code
edd820b4ba76 media: hdpvr: Fix an error handling path in hdpvr_probe()
aa0327d3dddc powerpc/tm: Add commandline option to disable hardware transactional memory
(From OE-Core rev: 222537d8dcf103d8dcce2df7e915594c480ef110)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg 4.9 -stable updates. These include patches for
Spectre and meltdown mitigation. The changelog follows:
79584a422125 Linux 4.9.78
60249fe9050b MIPS: AR7: ensure the port type's FCR value is used
06d7342d8498 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
b9f8b5935394 x86/pti: Document fix wrong index
4b71be496642 kprobes/x86: Disable optimizing on the function jumps to indirect thunk
36ad6ba501d6 kprobes/x86: Blacklist indirect thunk functions for kprobes
09402d83395f retpoline: Introduce start/end markers of indirect thunk
c5aa687060a8 x86/mce: Make machine check speculation protected
87ac29717de8 usbip: fix warning in vhci_hcd_probe/lockdep_init_map
0d92cf7f29e6 x86/cpu, x86/pti: Do not enable PTI on AMD processors
ddfaa7acd7a2 arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
2904adc5b1c0 dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6
cabf6294a6dc dm btree: fix serious bug in btree_split_beneath()
ca2d73686720 workqueue: avoid hard lockups in show_workqueue_state()
d314f3bc7f3d libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
8a3f4baaa4c3 proc: fix coredump vs read /proc/*/stat race
43c3e093c26d scripts/gdb/linux/tasks.py: fix get_thread_info
23d68eddd857 can: peak: fix potential bug in packet fragmentation
19f47eafe10c ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7
1f32f15ec73c ARM: sunxi_defconfig: Enable CMA
969e2145eb4a phy: work around 'phys' references to usb-nop-xceiv devices
9a50ea0ce7cc tracing: Fix converting enum's from the map in trace_event_eval_update()
cb513d1414f9 Input: twl4030-vibra - fix sibling-node lookup
eaabab6468b3 Input: twl6040-vibra - fix child-node lookup
9be13b3357e1 Input: 88pm860x-ts - fix child-node lookup
607b86e17352 Input: ALPS - fix multi-touch decoding on SS4 plus touchpads
9792f9b483cd perf tools: Fix build with ARCH=x86_64
c557481a9491 x86/apic/vector: Fix off by one in error path
5b13f593565f pipe: avoid round_pipe_size() nr_pages overflow on 32-bit
02802dfc82a2 x86/tsc: Fix erroneous TSC rate on Skylake Xeon
5ab44e8f0f0d x86/mm/pkeys: Fix fill_sig_info_pkey
eee0cba7b02f module: Add retpoline tag to VERMAGIC
a96cf98dda3f x86/cpufeature: Move processor tracing out of scattered features
13ccac5de853 objtool: Improve error message for bad file argument
b73d68788f79 x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
abf67b1e7881 x86/retpoline: Fill RSB on context switch for affected CPUs
1ad4f2872c3b sched/deadline: Zero out positive runtime after throttling constrained tasks
997231f9fd7a scsi: hpsa: fix volume offline state
d303d0ca9afb iser-target: Fix possible use-after-free in connection establishment error
0476e6d0b752 af_key: fix buffer overread in parse_exthdrs()
e4dc05ab8f5a af_key: fix buffer overread in verify_address_len()
676109b28cad timers: Unconditionally check deferrable base
4b6e681f5952 ALSA: hda - Apply the existing quirk to iMac 14,1
fae704d5bd29 ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant
b9e168a0c629 ALSA: pcm: Remove yet superfluous WARN_ON()
e4ff9f294629 ALSA: seq: Make ioctls race-free
d8a3170db0de futex: Prevent overflow by strengthen input validation
bb7119eea22c scsi: sg: disable SET_FORCE_LOW_DMA
c9ca9d9d9b79 libnvdimm, btt: Fix an incompatibility in the log layout
b8cf9ff79d63 Linux 4.9.77
1b92c48a2eeb x86/pti/efi: broken conversion from efi to kernel page table
92e8f2049474 objtool: Fix retpoline support for pre-ORC objtool
44f1eae7fe65 x86/retpoline: Remove compile time warning
c05d544d5343 selftests/x86: Add test_vsyscall
c1ddd99a0296 x86/retpoline: Fill return stack buffer on vmexit
276e30044710 x86/retpoline/irq32: Convert assembler indirect jumps
a590960ae6ea x86/retpoline/checksum32: Convert assembler indirect jumps
87a1fe36250d x86/retpoline/xen: Convert Xen hypercall indirect jumps
9e37da4c3de1 x86/retpoline/hyperv: Convert assembler indirect jumps
83d7658362cc x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
8b1bacc3218c x86/retpoline/entry: Convert entry assembler indirect jumps
2adc2f74449f x86/retpoline/crypto: Convert crypto assembler indirect jumps
8f96937ee304 x86/spectre: Add boot time option to select Spectre v2 mitigation
2bb5de42f254 x86/retpoline: Add initial retpoline support
4bf050da57d9 x86/asm: Use register variable to get stack pointer value
4d8bd3e2f6b1 objtool: Allow alternatives to be ignored
3adb52ab2976 objtool: Detect jumps to retpoline thunks
35aee626fa63 objtool, modules: Discard objtool annotation sections for modules
00bcb5ada638 x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
91b7e5cdc80a x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
194dc04770f5 x86/alternatives: Fix optimize_nops() checking
5ddd318a4715 sysfs/cpu: Fix typos in vulnerability documentation
9c5e750c8e84 x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
abcc3e5f0079 x86/cpu/AMD: Make LFENCE a serializing instruction
45a98824bd79 x86/cpu: Implement CPU vulnerabilites sysfs functions
11ec2df9c020 sysfs/cpu: Add vulnerability folder
56eff367e071 x86/cpu: Merge bugs.c and bugs_64.c
26323fb4d717 x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
43fe95308d27 x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
d88f601b9ac9 x86/cpufeatures: Add X86_BUG_CPU_INSECURE
c2cacde516a4 x86/cpufeatures: Make CPU bugs sticky
ef463981018e x86/cpu: Factor out application of forced CPU caps
4e6c2af2ba93 x86/Documentation: Add PTI description
d598347989aa e1000e: Fix e1000_check_for_copper_link_ich8lan return value.
3ba5d3a2cf40 uas: ignore UAS for Norelsys NS1068(X) chips
6aebc2670ebf Bluetooth: Prevent stack info leak from the EFS element.
c51d23dffc2e staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl
8ab8c6e6607a usbip: vudc_tx: fix v_send_ret_submit() vulnerability to null xfer buffer
86c8d58fc753 usbip: fix vudc_rx: harden CMD_SUBMIT path to handle malicious input
6851ec74bfe4 usbip: remove kernel addresses from usb device and urb debug msgs
435db24bb91f USB: fix usbmon BUG trigger
9f6ca0ea7a7a usb: misc: usb3503: make sure reset is low for at least 100us
11632d079e9e USB: serial: cp210x: add new device ID ELV ALC 8xxx
4abe275c2dee USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ
820ef2a0e54c bpf, array: fix overflow in max_entries and undefined behavior in index_mask
a9bfac14cde2 bpf: prevent out-of-bounds speculation
f55093dccd3a bpf: refactor fixup_bpf_calls()
28035366afe9 bpf: move fixup_bpf_calls() function
60c7a9cd5050 target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
748e1b6281f5 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
ec61bafb2abd kaiser: Set _PAGE_NX only if supported
08a752581104 drm/vmwgfx: Potential off by one in vmw_view_add()
012df71d2980 KVM: x86: Add memory barrier on vmcs field lookup
431fd501aa3f x86/microcode/intel: Extend BDW late-loading with a revision check
553a8b8c8d87 rbd: set max_segments to USHRT_MAX
3752d2fb9a6d crypto: algapi - fix NULL dereference in crypto_remove_spawns()
b28394cbb402 net/sched: Fix update of lastuse in act modules implementing stats_update
e2b825e8de16 mlxsw: spectrum_router: Fix NULL pointer deref
16d5b481d098 ethtool: do not print warning for applications using legacy API
dde00c92245d ipv6: fix possible mem leaks in ipv6_make_skb()
6f237183c7ca net: stmmac: enable EEE in MII, GMII or RGMII only
7f4226ffcba0 sh_eth: fix SH7757 GEther initialization
eb2f80e099d4 sh_eth: fix TSU resource handling
ce31b6ac1111 RDS: null pointer dereference in rds_atomic_free_op
cebb382931c4 RDS: Heap OOB write in rds_message_alloc_sgs()
61196a67cac4 net: core: fix module type in sock_diag_bind
ca5681b723d3 ip6_tunnel: disable dst caching if tunnel is dual-stack
fe71f34fbf83 8021q: fix a memory leak for VLAN 0 device
66bb6c2c4445 xhci: Fix ring leak in failure path of xhci_alloc_virt_device()
135f98084eac cx82310_eth: use skb_cow_head() to deal with cloned skbs
7c5015409bef smsc75xx: use skb_cow_head() to deal with cloned skbs
ab4fd7a2ddc5 sr9700: use skb_cow_head() to deal with cloned skbs
542bcc549379 lan78xx: use skb_cow_head() to deal with cloned skbs
1ecdfc1ee99d zswap: don't param_set_charp while holding spinlock
5c1b80f674e9 x86/acpi: Reduce code duplication in mp_override_legacy_irq()
43ff00f87377 ALSA: aloop: Fix racy hw constraints adjustment
5af666d0ddb7 ALSA: aloop: Fix inconsistent format due to incomplete rule
01046dd834ac ALSA: aloop: Release cable upon open error path
bee3f2d5c02a ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
3a00564cb49f ALSA: pcm: Abort properly at pending signal in OSS read/write loops
8e81425e80c9 ALSA: pcm: Add missing error checks in OSS emulation plugin builder
83da0245eda2 ALSA: pcm: Remove incorrect snd_BUG_ON() usages
0199927a8e51 x86/acpi: Handle SCI interrupts above legacy space gracefully
64ab063b7193 platform/x86: wmi: Call acpi_wmi_init() later
491c0ca3dbd5 kvm: vmx: Scrub hardware GPRs at VM-exit
78c00f597ba8 MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses
1f4cff1c364b MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET
cfc5c63a38ca MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA
f616180a8720 MIPS: Consistently handle buffer counter with PTRACE_SETREGSET
5b593a81fddd MIPS: Guard against any partial write attempt with PTRACE_SETREGSET
8eb5655aacdd MIPS: Factor out NT_PRFPREG regset access helpers
14e1c579acba MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task
30191718645d IB/srpt: Disable RDMA access by the initiator
02f201f78fb9 can: gs_usb: fix return value of the "set_bittiming" callback
c781e3be97a1 KVM: Fix stack-out-of-bounds read in write_mmio
c5ab9ee144d8 ath10k: rebuild crypto header in rx data frames
234c8e60437d mac80211: Add RX flag to indicate ICV stripped
b58aa24edb62 dm bufio: fix shrinker scans when (nr_to_scan < retain_target)
7bbc6ca48877 Linux 4.9.76
5e1f377fc810 mtd: nand: pxa3xx: Fix READOOB implementation
beca4e2d9944 Map the vsyscall page with _PAGE_USER
47f3cea393ab x86/tlb: Drop the _GPL from the cpu_tlbstate export
91dfc41e753b parisc: qemu idle sleep support
14c06206b98f parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
dd43c465ba24 x86/microcode/AMD: Add support for fam17h microcode loading
2b009d33f427 Input: elantech - add new icbody type 15
cc1349fa9c22 ARC: uaccess: dont use "l" gcc inline asm constraint modifier
e6a897a684c2 iommu/arm-smmu-v3: Cope with duplicated Stream IDs
03975faee7ce iommu/arm-smmu-v3: Don't free page table ops twice
4d53eb494950 kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
794ac8ef9b06 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
1453b3ac6cf8 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
79258d983480 kernel: make groups_sort calling a responsibility group_info allocators
3a381abc5b70 nbd: fix use-after-free of rq/bio in the xmit path
2b9b2002e05d fscache: Fix the default for fscache_maybe_release_page()
34fa2eede095 sunxi-rsb: Include OF based modalias in device uevent
c195a4c0230d crypto: pcrypt - fix freeing pcrypt instances
868f50b95dbe crypto: chacha20poly1305 - validate the digest size
f6db86f31b47 crypto: n2 - cure use after free
790080ce0e32 kernel/acct.c: fix the acct->needcheck check in check_free_space()
9f74755895f9 Linux 4.9.75
92fd81f77267 kaiser: Set _PAGE_NX only if supported
ea6cd39d230f KPTI: Report when enabled
e71fac01727a KPTI: Rename to PAGE_TABLE_ISOLATION
59094faf3f61 x86/kaiser: Move feature detection up
402e63de94af kaiser: disabled on Xen PV
2c2721754a7f x86/kaiser: Reenable PARAVIRT
1817d2c2fac1 x86/paravirt: Dont patch flush_tlb_single
fe5cb75fd2dd kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
b72c26e911c5 kaiser: asm/tlbflush.h handle noPGE at lower level
8c2f8a5cc15b kaiser: drop is_atomic arg to kaiser_pagetable_walk()
169b369f99af kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
8018307a45a9 x86/kaiser: Check boottime cmdline params
50624dd12d6d x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
23e09439aa46 kaiser: add "nokaiser" boot option, using ALTERNATIVE
cb7d8d7e6737 kaiser: fix unlikely error in alloc_ldt_struct()
3df146178706 kaiser: kaiser_remove_mapping() move along the pgd
05ddad146d02 kaiser: paranoid_entry pass cr3 need to paranoid_exit
d0142ceb7926 kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
6a2b4117614c kaiser: PCID 0 for kernel and 128 for user
0b5ca9d99599 kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
2684b12a169e kaiser: enhanced by kernel and user PCIDs
1972bb9d9206 kaiser: vmstat show NR_KAISERTABLE as nr_overhead
1ce27de4011e kaiser: delete KAISER_REAL_SWITCH option
c27cdea56c54 kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
61b7a404fa13 kaiser: cleanups while trying for gold link
604db4961085 kaiser: align addition to x86/mm/Makefile
be6bf01f4caa kaiser: tidied up kaiser_add/remove_mapping slightly
67fab0d4acb3 kaiser: tidied up asm/kaiser.h somewhat
f43f386f0bf0 kaiser: ENOMEM if kaiser_pagetable_walk() NULL
f881e626849c kaiser: fix perf crashes
19377944317f kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
639c005daeeb kaiser: KAISER depends on SMP
7a92e20d157f kaiser: fix build and FIXME in alloc_ldt_struct()
0994a2cf8fe4 kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
ac2f1018ac21 kaiser: do not set _PAGE_NX on pgd_none
8f0baadf2bea kaiser: merged update
13be4483bb48 KAISER: Kernel Address Isolation
b5fd58e997cf x86/boot: Add early cmdline parsing for options with arguments
8824b2d7abfb tcp_bbr: reset long-term bandwidth sampling on loss recovery undo
61c51da2b4bd tcp_bbr: reset full pipe detection on loss recovery undo
07bcb2489b96 Linux 4.9.74
181a832c2e26 mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
d76dabb5af06 tty: fix tty_ldisc_receive_buf() documentation
00fc57ae06c3 n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
404ae546c7d1 x86/smpboot: Remove stale TLB flush invocations
e8119ac05d71 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
249d4a9b3246 timers: Reinitialize per cpu bases on hotplug
574e543ff970 timers: Invoke timer_start_debug() where it makes sense
d840687aa8a3 timers: Use deferrable base independent of base::nohz_active
09d3e69305b3 usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
ab1fbfecd330 USB: Fix off by one in type-specific length check of BOS SSP capability
425d2f15338d usb: add RESET_RESUME for ELSA MicroLink 56K
0f2e9cbc231c usb: Add device quirk for Logitech HD Pro Webcam C925e
d98f4d4d0283 USB: serial: option: adding support for YUGA CLM920-NC5
192cdf5ecaf8 USB: serial: option: add support for Telit ME910 PID 0x1101
6ab3d87ad702 USB: serial: qcserial: add Sierra Wireless EM7565
0af1aebb6a8b USB: serial: ftdi_sio: add id for Airbus DS P8GR
03dce0573d38 usbip: vhci: stop printing kernel pointer addresses in messages
9e9f4255c0d3 usbip: stub: stop printing kernel pointer addresses in messages
1ef5c433b3b9 usbip: prevent leaking socket pointer address in messages
3c579d0b4f0f usbip: fix usbip bind writing random string after command in match_busid
67b539cab43c s390/qeth: update takeover IPs after configuration change
476d7d693295 s390/qeth: lock IP table while applying takeover changes
475018c79742 s390/qeth: don't apply takeover changes to RXIP
6ed7c48e93bb s390/qeth: apply takeover changes when mode is toggled
7493d98ea84c net/mlx5: Fix error flow in CREATE_QP command
c844a4589487 net/mlx5e: Prevent possible races in VXLAN control flow
604225824f06 net/mlx5e: Add refcount to VXLAN structure
d1614fd9cd10 net/mlx5e: Fix possible deadlock of VXLAN lock
9424a79ec11d net/mlx5e: Fix features check of IPv6 traffic
138723912343 net/mlx5: Fix rate limit packet pacing naming and struct
e74fe7268e7e tcp: invalidate rate samples during SACK reneging
58f6ebbd3424 sock: free skb in skb_complete_tx_timestamp on error
a746fadd5e31 net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
03c93293a83a net: Fix double free and memory corruption in get_net_ns_by_id()
8c38f3190fd6 net: fec: Allow reception of frames bigger than 1522 bytes
243adaa4eaea net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
e4f669802775 ipv4: Fix use-after-free when flushing FIB tables
e51abae8458a adding missing rcu_read_unlock in ipxip6_rcv
ae67e5486b97 sctp: Replace use of sockets_allocated with specified macro.
99cf2daf0da3 net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
f75f910ffa90 net: ipv4: fix for a race condition in raw_sendmsg
484369ff9715 tg3: Fix rx hang on MTU change with 5717/5719
7887a700ce61 tcp md5sig: Use skb's saddr when replying to an incoming segment
a4bf8efd2bcb tcp_bbr: record "full bw reached" decision in new full_bw_reached bit
53288d82188b RDS: Check cmsg_len before dereferencing CMSG_DATA
8b032bde2899 ptr_ring: add barriers
b3b56038bab0 net: reevalulate autoflowlabel setting after sysctl setting
8baa58c5d536 net: qmi_wwan: add Sierra EM7565 1199:9091
0b18782288a2 netlink: Add netns check on taps
2c1a0b2e2bac net: igmp: Use correct source address on IGMPv3 reports
930882f8b831 net: fec: unmap the xmit buffer that are not transferred by DMA
f6d7cdbb0285 ipv6: mcast: better catch silly mtu values
c2f78bf8ca3a ipv4: igmp: guard against silly MTU values
b929ccccbc8c kbuild: add '-fno-stack-check' to kernel build options
04bdf71d9f74 x86/mm/64: Fix reboot interaction with CR4.PCIDE
b52f937eccd4 x86/mm: Enable CR4.PCIDE on supported systems
e6a29320de00 x86/mm: Add the 'nopcid' boot option to turn off PCID
1e7f3d8875ee x86/mm: Disable PCID on 32-bit kernels
3e5daacf6517 x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
a94af050080f x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
113980c002eb x86/mm: Make flush_tlb_mm_range() more predictable
219acedb061c x86/mm: Remove flush_tlb() and flush_tlb_current_task()
72b812d5b874 x86/vm86/32: Switch to flush_tlb_mm_range() in mark_screen_rdonly()
65ca46e5fe12 ALSA: hda - fix headset mic detection issue on a Dell machine
a1dbcd823a30 ALSA: hda: Drop useless WARN_ON()
d30d1761bc43 ASoC: tlv320aic31xx: Fix GPIO1 register definition
b04640a450d3 ASoC: twl4030: fix child-node lookup
00add00ed2c0 ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
35f87d45cba3 ASoC: da7218: fix fix child-node lookup
125e81b5afcb ASoC: wm_adsp: Fix validation of firmware and coeff lengths
72d5e020c0ef iw_cxgb4: Only validate the MSN for successful completions
2e0d458c315a ring-buffer: Mask out the info bits when returning buffer page length
81e155e7b023 tracing: Fix crash when it fails to alloc ring buffer
5dc4cd2688e3 tracing: Fix possible double free on failure of allocating trace buffer
6edea15d120c tracing: Remove extra zeroing out of the ring buffer page
3d16a1315add sync objtool's copy of x86-opcode-map.txt
b3e88217e2f9 Linux 4.9.73
37435f7e80ef bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN
69cf72b28791 net: mvneta: eliminate wrong call to handle rx descriptor error
a57f99f484e5 net: mvneta: use proper rxq_number in loop on rx queues
405f3d7946fd net: mvneta: clear interface link status on port disable
423716cf2815 libnvdimm, pfn: fix start_pad handling for aligned namespaces
77b318a4e558 powerpc/perf: Dereference BHRB entries safely
2635a64d0e94 clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
18276e9bcd49 kvm: x86: fix RSM when PCID is non-zero
e5c73b3b60e1 KVM: X86: Fix load RFLAGS w/o the fixed bit
418dfce4fa63 pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems
cb8b2fd1909e spi: xilinx: Detect stall with Unknown commands
373386ec3f70 parisc: Hide Diva-built-in serial aux and graphics card
10b4a621f367 PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
3176065495e1 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
beab14a3eeb8 ALSA: usb-audio: Add native DSD support for Esoteric D-05X
cec92448c58e ALSA: rawmidi: Avoid racy info ioctl via ctl device
becf7d87cda9 mfd: twl6040: Fix child-node lookup
f4c0796fdc8b mfd: twl4030-audio: Fix sibling-node lookup
2db85cb211d0 mfd: cros ec: spi: Don't send first message too soon
e81cff1cedef crypto: mcryptd - protect the per-CPU queue with a lock
d31a207aaf07 acpi, nfit: fix health event notification
54c74d38819d ACPI: APEI / ERST: Fix missing error handling in erst_reader()
2df397931072 Linux 4.9.72
6430e166aee8 sparc32: Export vac_cache_size to fix build error
3695b3b18519 bpf: fix incorrect sign extension in check_alu_op()
d75d3ee237ce bpf: reject out-of-bounds stack pointer calculation
7b5b73ea87a0 bpf: fix branch pruning logic
565f012f5abb bpf: adjust insn_aux_data when patching insns
3b6c84bc6449 Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
dbeb719e24c3 platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes
00ecb4b1a599 MIPS: math-emu: Fix final emulation phase for certain instructions
3cff90788e28 thermal/drivers/hisi: Fix multiple alarm interrupts firing
1b2c46a6be45 thermal/drivers/hisi: Simplify the temperature/step computation
2dac559df962 thermal/drivers/hisi: Fix kernel panic on alarm interrupt
b679b8d7bad0 thermal/drivers/hisi: Fix missing interrupt enablement
82bf76afa8af thermal: hisilicon: Handle return value of clk_prepare_enable
b86c7b8c5dfb cpuidle: fix broadcast control when broadcast can not be entered
15319d2a49ca rtc: set the alarm to the next expiring timer
acc96729e1d8 tcp: fix under-evaluated ssthresh in TCP Vegas
5859027994f9 clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
bb0618ac2302 staging: greybus: light: Release memory obtained by kasprintf
4bf42a2ec12a net: ipv6: send NS for DAD when link operationally up
52d0a601aec4 fm10k: ensure we process SM mbx when processing VF mbx
76d83bfc1158 vfio/pci: Virtualize Maximum Payload Size
de5a4c816d31 scsi: lpfc: PLOGI failures during NPIV testing
b438d2f7e23c scsi: lpfc: Fix secure firmware updates
fc9d6386a9a3 fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw
bd0feaac155f ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback
6af9b18a2e48 tracing: Exclude 'generic fields' from histograms
fbb2d72a54c6 PCI/AER: Report non-fatal errors only to the affected endpoint
1d4b32bee9c7 IB/rxe: check for allocation failure on elem
2141182852b8 ixgbe: fix use of uninitialized padding
700053c8733e igb: check memory allocation failure
c236525bae02 PM / OPP: Move error message to debug level
164a941c031b PCI: Create SR-IOV virtfn/physfn links before attaching driver
b40eeea31afd scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
fd1d9dccc01d scsi: cxgb4i: fix Tx skb leak
241833a3a90d PCI: Avoid bus reset if bridge itself is broken
d3469e616668 net: phy: at803x: Change error to EINVAL for invalid MAC
206e1621ba72 kvm, mm: account kvm related kmem slabs to kmemcg
bdb33bb5e2ce rtc: pl031: make interrupt optional
1525e330d646 crypto: crypto4xx - increase context and scatter ring buffer elements
291c7e488f64 backlight: pwm_bl: Fix overflow condition
d14718c9f434 bnxt_en: Fix NULL pointer dereference in reopen failure path
9e1771368a98 cpuidle: powernv: Pass correct drv->cpumask for registration
5460e4672b81 ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed memory
9c1433b5dd2b Btrfs: fix an integer overflow check
0708a476810d netfilter: nfnetlink_queue: fix secctx memory leak
54420c1ac421 xhci: plat: Register shutdown for xhci_plat
55b6a5d080aa net: moxa: fix TX overrun memory leak
ce19146a0de0 isdn: kcapi: avoid uninitialized data
bb011a451387 virtio_balloon: prevent uninitialized variable use
c6f9090929dc virtio-balloon: use actual number of stats for stats queue buffers
808ed3bd9d42 KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
29c4f517ff5b net: ipconfig: fix ic_close_devs() use-after-free
e9a1ba292fff cpufreq: Fix creation of symbolic links to policy directories
e0d13153057e ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend
b5ed572a1b7d netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register
01060acf6aab netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash table
9e6398184a4d irda: vlsi_ir: fix check for DMA mapping errors
37f41dac70ca RDMA/iser: Fix possible mr leak on device removal event
661f5348696a i40e: Do not enable NAPI on q_vectors that have no rings
2eb783a705b0 IB/rxe: increment msn only when completing a request
2f0e39f2e3d7 IB/rxe: double free on error
7f077afe94d9 net: Do not allow negative values for busy_read and busy_poll sysctl interfaces
521a7e3dad6b nbd: set queue timeout properly
f4fcc56632cf infiniband: Fix alignment of mmap cookies to support VIPT caching
cd083d5bcafd IB/core: Protect against self-requeue of a cq work item
26452a5033dc i40iw: Receive netdev events post INET_NOTIFIER state
102a8a163449 bna: avoid writing uninitialized data into hw registers
51533c4bf144 s390/qeth: no ETH header for outbound AF_IUCV
118b0404d68d s390/qeth: size calculation outbound buffers
60d59823046a r8152: prevent the driver from transmitting packets with carrier off
b89e229112c0 ASoC: STI: Fix reader substream pointer set
347848e0bb99 HID: xinmo: fix for out of range for THT 2P arcade controller.
afa055f2a1d0 hwmon: (asus_atk0110) fix uninitialized data access
5700ffc4accb ARM: dts: ti: fix PCI bus dtc warnings
2df19698db73 KVM: VMX: Fix enable VPID conditions
e0249c023448 KVM: x86: correct async page present tracepoint
8386ff5203e0 kvm: vmx: Flush TLB when the APIC-access address changes
3bd2017b6a20 scsi: lpfc: Fix PT2PT PRLI reject
0f4aa1f0f576 pinctrl: st: add irq_request/release_resources callbacks
7656871eff6a inet: frag: release spinlock before calling icmp_send()
e6e8067ec34a tipc: fix nametbl deadlock at tipc_nametbl_unsubscribe
bfb38fbd868d r8152: fix the rx early size of RTL8153
7171aa2680b2 iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5
0f0ac218057f netfilter: nfnl_cthelper: Fix memory leak
ec38fb443a09 netfilter: nfnl_cthelper: fix runtime expectation policy updates
02197d86c56d usb: gadget: udc: remove pointer dereference after free
2b943bed33e7 usb: gadget: f_uvc: Sanity check wMaxPacketSize for SuperSpeed
2101ccbc2a91 hwmon: (max31790) Set correct PWM value
4ee082a72731 net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4
9ed8f0fabae5 sctp: out_qlen should be updated when pruning unsent queue
b4cf187a1bc5 bna: integer overflow bug in debugfs
b3f662ccd367 sch_dsmark: fix invalid skb_cow() usage
98d20e590266 vsock: cancel packets when failing to connect
482b3f92aea2 vhost-vsock: add pkt cancel capability
6f1848e778d9 vsock: track pkt owner vsock
7ff28d3307b6 crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex
ddfc9f75993e r8152: fix the list rx_done may be used without initialization
9712b2b73d7c cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
8f21b63c9dcf nvme-loop: handle cpu unplug when re-establishing the controller
c9bbd2727d1e arm: kprobes: Align stack to 8-bytes in test code
d0ee8d5b86b8 arm: kprobes: Fix the return address of multiple kretprobes
6e2a6941fa4b HID: corsair: Add driver Scimitar Pro RGB gaming mouse 1b1c:1b3e support to hid-corsair
e93ea3a50cc6 HID: corsair: support for K65-K70 Rapidfire and Scimitar Pro RGB
2a7eee3d72b0 kvm: fix usage of uninit spinlock in avic_vm_destroy()
2d9a34c064ad ALSA: hda - add support for docking station for HP 840 G3
52c3323e4141 ALSA: hda - add support for docking station for HP 820 G2
bb95f1caee61 arm64: Initialise high_memory global variable earlier
76fcdc8cbbce cxl: Check if vphb exists before iterating over AFU devices
(From OE-Core rev: 01b6f1a2245ccb99835e643b73b2a62a5cf16cf9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg 4.4 -stable releases up to 113. These include
Spectre and Meltdown mitigation patches. Changelog follows:
f0d0a93b0e81 Linux 4.4.113
38bc402237f8 MIPS: AR7: ensure the port type's FCR value is used
11e619414b69 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
58f96ac5dba6 x86/pti: Document fix wrong index
6cb73eb80451 kprobes/x86: Disable optimizing on the function jumps to indirect thunk
9b8bd0d35868 kprobes/x86: Blacklist indirect thunk functions for kprobes
799dc737680a retpoline: Introduce start/end markers of indirect thunk
f59e7ce17ba3 x86/mce: Make machine check speculation protected
ff535919c136 kbuild: modversions for EXPORT_SYMBOL() for asm
6b1c99e275c0 x86/cpu, x86/pti: Do not enable PTI on AMD processors
5ecd5c8388f0 arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
7e7b086ef2fe dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6
9c7755af771a dm btree: fix serious bug in btree_split_beneath()
b7bd013a3fe0 libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
082dfe6141f3 can: peak: fix potential bug in packet fragmentation
2d5523bf47b4 ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7
d5276c013713 phy: work around 'phys' references to usb-nop-xceiv devices
cf3625004e6c tracing: Fix converting enum's from the map in trace_event_eval_update()
b6306f3fdcaa Input: twl4030-vibra - fix sibling-node lookup
a89e1ac9b0da Input: twl6040-vibra - fix child-node lookup
8e70d4862271 Input: twl6040-vibra - fix DT node memory management
47970b4ea09c Input: 88pm860x-ts - fix child-node lookup
7fd133539289 x86/apic/vector: Fix off by one in error path
aa041f13f8c6 pipe: avoid round_pipe_size() nr_pages overflow on 32-bit
1782af2835fe module: Add retpoline tag to VERMAGIC
fba063e6dfb4 x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
8bd58b61d2fa sched/deadline: Zero out positive runtime after throttling constrained tasks
ec7a002d7796 scsi: hpsa: fix volume offline state
b78f2d36e737 af_key: fix buffer overread in parse_exthdrs()
48907f2535aa af_key: fix buffer overread in verify_address_len()
478a7fa82ff7 ALSA: hda - Apply the existing quirk to iMac 14,1
a4d7639d5fb6 ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant
80547bb6154d ALSA: pcm: Remove yet superfluous WARN_ON()
58c82be944f5 futex: Prevent overflow by strengthen input validation
f1fcb9d2926c scsi: sg: disable SET_FORCE_LOW_DMA
451725c3e785 x86/retpoline: Remove compile time warning
eebc3f8adee0 x86/retpoline: Fill return stack buffer on vmexit
f72655b837eb x86/retpoline/irq32: Convert assembler indirect jumps
7e5bb301bd2f x86/retpoline/checksum32: Convert assembler indirect jumps
6b222e7483af x86/retpoline/xen: Convert Xen hypercall indirect jumps
d2beed45635e x86/retpoline/hyperv: Convert assembler indirect jumps
7153a6d5ff05 x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
028083cb02db x86/retpoline/entry: Convert entry assembler indirect jumps
9fe55976f0c8 x86/retpoline/crypto: Convert crypto assembler indirect jumps
9f789bc5711b x86/spectre: Add boot time option to select Spectre v2 mitigation
3c5e10905263 x86/retpoline: Add initial retpoline support
675901851fd2 kconfig.h: use __is_defined() to check if MODULE is defined
a88693d00698 EXPORT_SYMBOL() for asm
b8e7a489b518 x86/asm: Make asm/alternative.h safe from assembly
b76ac90af34d x86/kbuild: enable modversions for symbols exported from asm
cfc8c1d61e46 x86/asm: Use register variable to get stack pointer value
416f66509fce x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
642ce1bb5ea6 x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
20c28c04a6bc x86/cpu/AMD: Make LFENCE a serializing instruction
e6c591e7a430 gcov: disable for COMPILE_TEST
42375c1120d5 Linux 4.4.112
125d76412866 selftests/x86: Add test_vsyscall
999d4f1961fa x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
e997d991ab2b x86/alternatives: Fix optimize_nops() checking
433d7851e5ca sysfs/cpu: Fix typos in vulnerability documentation
72cf81e43ba4 x86/cpu: Implement CPU vulnerabilites sysfs functions
73492b686012 sysfs/cpu: Add vulnerability folder
9718bf5f4ebb x86/cpu: Merge bugs.c and bugs_64.c
caae411b6ee0 x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
6349cab425ce x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
07c7aa5e7e8a x86/cpufeatures: Add X86_BUG_CPU_INSECURE
65b28590de24 x86/cpufeatures: Make CPU bugs sticky
18b849b18d1c x86/cpu: Factor out application of forced CPU caps
d013f41d0cc5 x86/Documentation: Add PTI description
cf9f240627b4 e1000e: Fix e1000_check_for_copper_link_ich8lan return value.
10a4324500ff uas: ignore UAS for Norelsys NS1068(X) chips
0ae86454c435 Bluetooth: Prevent stack info leak from the EFS element.
b4106c55b574 staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl
27a194bc8d21 usbip: remove kernel addresses from usb device and urb debug msgs
3f577093c511 USB: fix usbmon BUG trigger
92e8ba1ea050 usb: misc: usb3503: make sure reset is low for at least 100us
e4c9428d035b USB: serial: cp210x: add new device ID ELV ALC 8xxx
a962c95895a7 USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ
531a2595ce1a target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
694c1ed559c8 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
095b0ba360ff bpf, array: fix overflow in max_entries and undefined behavior in index_mask
9a7fad4c0e21 bpf: prevent out-of-bounds speculation
648064515d0d bpf: adjust insn_aux_data when patching insns
19614eee0644 bpf: refactor fixup_bpf_calls()
14c7c55f4527 bpf: move fixup_bpf_calls() function
0748b80e4325 bpf: don't (ab)use instructions to store state
087a92287dba bpf: add bpf_patch_insn_single helper
c18b1bda4933 kaiser: Set _PAGE_NX only if supported
0b6231faa212 drm/vmwgfx: Potential off by one in vmw_view_add()
6785f955bcb6 KVM: x86: Add memory barrier on vmcs field lookup
7d1bef0f6037 x86/microcode/intel: Extend BDW late-loading with a revision check
c77dd7b425cd rbd: set max_segments to USHRT_MAX
68829e75666e crypto: algapi - fix NULL dereference in crypto_remove_spawns()
608644ac89aa ipv6: fix possible mem leaks in ipv6_make_skb()
b188ce30cc1b net: stmmac: enable EEE in MII, GMII or RGMII only
f574e2e8c6cf sh_eth: fix SH7757 GEther initialization
29ca856bb76a sh_eth: fix TSU resource handling
44496521c6bd RDS: null pointer dereference in rds_atomic_free_op
10d06ed9a189 RDS: Heap OOB write in rds_message_alloc_sgs()
d19b5ed46cce net: core: fix module type in sock_diag_bind
b9f16497eec2 ip6_tunnel: disable dst caching if tunnel is dual-stack
0e1cadec4187 8021q: fix a memory leak for VLAN 0 device
7ec5d87df34a x86/pti/efi: broken conversion from efi to kernel page table
cc0e36105661 Revert "userfaultfd: selftest: vm: allow to build in vm/ directory"
3ae43090f13b xhci: Fix ring leak in failure path of xhci_alloc_virt_device()
6321e1753563 sysrq: Fix warning in sysrq generated crash.
6f61bd5c4ff5 hwrng: core - sleep interruptible in read
f065b5f78d17 x86/mm/pat, /dev/mem: Remove superfluous error message
146001aeb9af cx82310_eth: use skb_cow_head() to deal with cloned skbs
be48b6ee6d07 smsc75xx: use skb_cow_head() to deal with cloned skbs
36a1c87f57f6 sr9700: use skb_cow_head() to deal with cloned skbs
efca4f469475 lan78xx: use skb_cow_head() to deal with cloned skbs
ad196359a6d1 r8152: adjust ALDPS function
a37ff616d720 r8152: use test_and_clear_bit
9d614746ea0b r8152: fix the wake event
ea6f411117e1 usb: musb: ux500: Fix NULL pointer dereference at system PM
829b82508c55 usbvision fix overflow of interfaces array
bd44e3f19d14 locking/mutex: Allow next waiter lockless wakeup
1920b8a6a6ed futex: Replace barrier() in unqueue_me() with READ_ONCE()
e143f5d26258 locks: don't check for race with close when setting OFD lock
c4eafbc2ba11 zswap: don't param_set_charp while holding spinlock
eeca23f21cfb mm/zswap: use workqueue to destroy pool
45c26b0736ef mm/page-writeback: fix dirty_ratelimit calculation
9780795fc1e5 mm/compaction: pass only pageblock aligned range to pageblock_pfn_to_page
756000bec7c1 mm/compaction: fix invalid free_pfn and compact_cached_free_pfn
0e82bbca5896 x86/acpi: Reduce code duplication in mp_override_legacy_irq()
d091a2bb8c2e ALSA: aloop: Fix racy hw constraints adjustment
a9cad56436f4 ALSA: aloop: Fix inconsistent format due to incomplete rule
3d3b2c61e1be ALSA: aloop: Release cable upon open error path
fa6c1876ecf7 ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
9bb4bb18ccff ALSA: pcm: Abort properly at pending signal in OSS read/write loops
1ee7bc5526d8 ALSA: pcm: Add missing error checks in OSS emulation plugin builder
3074fe070a89 ALSA: pcm: Remove incorrect snd_BUG_ON() usages
f511ba8a5084 iommu/arm-smmu-v3: Don't free page table ops twice
745a0d9c1a8e x86/acpi: Handle SCI interrupts above legacy space gracefully
1a699374533b x86/vsdo: Fix build on PARAVIRT_CLOCK=y, KVM_GUEST=n
8d383ff7deaa kvm: vmx: Scrub hardware GPRs at VM-exit
0753661d5b17 net/mac80211/debugfs.c: prevent build failure with CONFIG_UBSAN=y
f2c131d05d86 MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses
725679dc78a9 MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET
9584ae52bd7e MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA
a6972f8bd2b6 MIPS: Consistently handle buffer counter with PTRACE_SETREGSET
e68049f6a9e8 MIPS: Guard against any partial write attempt with PTRACE_SETREGSET
b1e808b9de5c MIPS: Factor out NT_PRFPREG regset access helpers
1e918a43cbf0 MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task
6c2c83eb1b0d IB/srpt: Disable RDMA access by the initiator
a71d6de9718e can: gs_usb: fix return value of the "set_bittiming" callback
eb91461daa77 KVM: Fix stack-out-of-bounds read in write_mmio
cbb1cc722aaa dm bufio: fix shrinker scans when (nr_to_scan < retain_target)
c5ae3a6aa1a3 Linux 4.4.111
516fa79e77f7 Fix build error in vma.c
6dcf5491e01c Map the vsyscall page with _PAGE_USER
90191f71d749 proc: much faster /proc/vmstat
c819a67f7ee9 module: Issue warnings when tainting kernel
7e35bc655ec1 module: keep percpu symbols in module's symtab
104fd57d391a genksyms: Handle string literals with spaces in reference files
a4c1c75373bf x86/tlb: Drop the _GPL from the cpu_tlbstate export
d5bbffc0501d parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
3db597feef08 x86/microcode/AMD: Add support for fam17h microcode loading
0a99730ae0cc Input: elantech - add new icbody type 15
30ce9c8dbc42 ARC: uaccess: dont use "l" gcc inline asm constraint modifier
5f1aa83c58aa kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
7a7f54f8e390 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
be95f1308f79 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
58330ec2fecd kernel: make groups_sort calling a responsibility group_info allocators
d1698dc8a590 fscache: Fix the default for fscache_maybe_release_page()
7cbb4a2305f8 sunxi-rsb: Include OF based modalias in device uevent
3ad85176e78d crypto: pcrypt - fix freeing pcrypt instances
869994e0bd29 crypto: chacha20poly1305 - validate the digest size
0b72e17dde6e crypto: n2 - cure use after free
83875f582596 kernel/acct.c: fix the acct->needcheck check in check_free_space()
b17b901f0fea x86/kasan: Write protect kasan zero shadow
b3e3db15b450 Linux 4.4.110
b33c3c64c478 kaiser: Set _PAGE_NX only if supported
2b24fe5c57af x86/kasan: Clear kasan_zero_page after TLB flush
755bd549d932 x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap
64e239804e21 x86, vdso, pvclock: Simplify and speed up the vdso pvclock reader
bfd51a4d715b KPTI: Report when enabled
3e1457d6bf26 KPTI: Rename to PAGE_TABLE_ISOLATION
7f79599df9c4 x86/kaiser: Move feature detection up
e4ba212ec641 kaiser: disabled on Xen PV
750fb627d764 x86/kaiser: Reenable PARAVIRT
3e809caffdd7 x86/paravirt: Dont patch flush_tlb_single
8eaca4c7d9f1 kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
0651b3ad99dd kaiser: asm/tlbflush.h handle noPGE at lower level
28c6de544174 kaiser: drop is_atomic arg to kaiser_pagetable_walk()
2dff99eb0335 kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
e405a064bd7d x86/kaiser: Check boottime cmdline params
dea9aa9ffae1 x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
e345dcc94815 kaiser: add "nokaiser" boot option, using ALTERNATIVE
500943e57db8 kaiser: fix unlikely error in alloc_ldt_struct()
d41f46f77895 kaiser: _pgd_alloc() without __GFP_REPEAT to avoid stalls
fc8334e6b3e5 kaiser: paranoid_entry pass cr3 need to paranoid_exit
20268a10ffec kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
3b4ce0e1a172 kaiser: PCID 0 for kernel and 128 for user
0731188fc74c kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
eb82151d0b1d kaiser: enhanced by kernel and user PCIDs
3e3d38fd9832 kaiser: vmstat show NR_KAISERTABLE as nr_overhead
b9d2ccc54e17 kaiser: delete KAISER_REAL_SWITCH option
aeda21d77e22 kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
c52e55a2a82d kaiser: cleanups while trying for gold link
f127705d26b3 kaiser: kaiser_remove_mapping() move along the pgd
0c68228f7b39 kaiser: tidied up kaiser_add/remove_mapping slightly
5fbd46c4be78 kaiser: tidied up asm/kaiser.h somewhat
407c3ff6a24c kaiser: ENOMEM if kaiser_pagetable_walk() NULL
20cbe9a3aa2e kaiser: fix perf crashes
487f0b73d826 kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
d94df20135cc kaiser: KAISER depends on SMP
9b94cf97f42c kaiser: fix build and FIXME in alloc_ldt_struct()
003e47671690 kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
edde73205b3f kaiser: do not set _PAGE_NX on pgd_none
bed9bb7f3e6d kaiser: merged update
8a43ddfb93a0 KAISER: Kernel Address Isolation
0fa147b40747 x86/boot: Add early cmdline parsing for options with arguments
e68d6189c787 Linux 4.4.109
5d67dbef745b mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
2e3883922530 n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
977614061c3d x86/smpboot: Remove stale TLB flush invocations
458ed3179948 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
46e9398c96af usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
0ceb7a66392d USB: Fix off by one in type-specific length check of BOS SSP capability
c359123bfdd2 usb: add RESET_RESUME for ELSA MicroLink 56K
955ae55f2d16 usb: Add device quirk for Logitech HD Pro Webcam C925e
e8cd11a935dd USB: serial: option: adding support for YUGA CLM920-NC5
140cfcc8b093 USB: serial: option: add support for Telit ME910 PID 0x1101
232972f73936 USB: serial: qcserial: add Sierra Wireless EM7565
24162c1781c1 USB: serial: ftdi_sio: add id for Airbus DS P8GR
76f611cbdbb4 usbip: vhci: stop printing kernel pointer addresses in messages
feeae6411a1a usbip: stub: stop printing kernel pointer addresses in messages
e0362688b4fa usbip: fix usbip bind writing random string after command in match_busid
3f54a6d41d44 sock: free skb in skb_complete_tx_timestamp on error
623bfb5818ab net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
5854ca90c6c6 net: Fix double free and memory corruption in get_net_ns_by_id()
dd1e454c4d74 net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
169a9861c638 ipv4: Fix use-after-free when flushing FIB tables
4033c396f80c sctp: Replace use of sockets_allocated with specified macro.
ca57949d169e net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
be27b620a861 net: ipv4: fix for a race condition in raw_sendmsg
6dfc02ba5149 tg3: Fix rx hang on MTU change with 5717/5719
6925223ab320 tcp md5sig: Use skb's saddr when replying to an incoming segment
e0bdd21a86c5 net: reevalulate autoflowlabel setting after sysctl setting
06525d5b8ea8 net: qmi_wwan: add Sierra EM7565 1199:9091
f778ce6faa0d netlink: Add netns check on taps
373b423038a8 net: igmp: Use correct source address on IGMPv3 reports
0a8cb76e11d9 ipv6: mcast: better catch silly mtu values
3d406a18bd94 ipv4: igmp: guard against silly MTU values
1cd09d4b38a2 kbuild: add '-fno-stack-check' to kernel build options
6c4db09c291a x86/mm/64: Fix reboot interaction with CR4.PCIDE
fd0504525efd x86/mm: Enable CR4.PCIDE on supported systems
dcccd3c266e2 x86/mm: Add the 'nopcid' boot option to turn off PCID
78043e5b6fb2 x86/mm: Disable PCID on 32-bit kernels
b2e24274d50e x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
3efba6062a41 x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
9f4d1ba1d407 x86/mm: Make flush_tlb_mm_range() more predictable
227d6f0e79f8 x86/mm: Remove flush_tlb() and flush_tlb_current_task()
6ce9d1e6819e x86/vm86/32: Switch to flush_tlb_mm_range() in mark_screen_rdonly()
c04ed3a84961 ALSA: hda - fix headset mic detection issue on a Dell machine
0ba2ebc9f355 ALSA: hda: Drop useless WARN_ON()
5251932b974d ASoC: twl4030: fix child-node lookup
3096ced5a939 ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
becb0c6409ad iw_cxgb4: Only validate the MSN for successful completions
9dc9648942b1 ring-buffer: Mask out the info bits when returning buffer page length
25fade614be3 tracing: Fix crash when it fails to alloc ring buffer
c2a62f84d49f tracing: Fix possible double free on failure of allocating trace buffer
075242101627 tracing: Remove extra zeroing out of the ring buffer page
87060303469c net: mvneta: clear interface link status on port disable
b7aac649af10 powerpc/perf: Dereference BHRB entries safely
5a62acc900e9 kvm: x86: fix RSM when PCID is non-zero
c9b5338394f2 KVM: X86: Fix load RFLAGS w/o the fixed bit
0bf0c45449c3 spi: xilinx: Detect stall with Unknown commands
46865ecdd061 parisc: Hide Diva-built-in serial aux and graphics card
727b641b35dd PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
6b08ff879603 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
af1195354355 ALSA: rawmidi: Avoid racy info ioctl via ctl device
e7f1c0da02fb mfd: twl6040: Fix child-node lookup
ee54e7a18e56 mfd: twl4030-audio: Fix sibling-node lookup
381d368c9954 mfd: cros ec: spi: Don't send first message too soon
2e234e707f7f crypto: mcryptd - protect the per-CPU queue with a lock
db09203e3252 ACPI: APEI / ERST: Fix missing error handling in erst_reader()
03028e068a1f Linux 4.4.108
1cfeaadfd1b4 alpha: fix build failures
d126c47656da ALSA: hda - Fix yet another i915 pointer leftover in error path
3b67b56ea770 ALSA: hda - Degrade i915 binding failure message
ef24d642e92a ALSA: hda - Clear the leftover component assignment at snd_hdac_i915_exit()
7f3e85d820fd Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
9c631278a9c6 MIPS: math-emu: Fix final emulation phase for certain instructions
69dd89a1f919 thermal: hisilicon: Handle return value of clk_prepare_enable
c0303e4ffd3a cpuidle: fix broadcast control when broadcast can not be entered
8e6e8ec18d95 rtc: set the alarm to the next expiring timer
1e52ede8e1ed tcp: fix under-evaluated ssthresh in TCP Vegas
ab8e096eed2f fm10k: ensure we process SM mbx when processing VF mbx
0705d3b83699 scsi: lpfc: PLOGI failures during NPIV testing
e4dff872fe97 scsi: lpfc: Fix secure firmware updates
eb7b86ec94a4 PCI/AER: Report non-fatal errors only to the affected endpoint
aa6d09cea6df ixgbe: fix use of uninitialized padding
cffbf0ffc47c igb: check memory allocation failure
1e91b0d64e92 PCI: Create SR-IOV virtfn/physfn links before attaching driver
a916c4152a4b scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
e9151f9d4b6f scsi: cxgb4i: fix Tx skb leak
8f376337c637 PCI: Avoid bus reset if bridge itself is broken
3190a0623c58 net: phy: at803x: Change error to EINVAL for invalid MAC
a0ca85d4895a rtc: pl031: make interrupt optional
d7ae9928a25d crypto: crypto4xx - increase context and scatter ring buffer elements
78ffab9744ad backlight: pwm_bl: Fix overflow condition
0ec5f7a3c9b6 bnxt_en: Fix NULL pointer dereference in reopen failure path
7432a60515da cpuidle: powernv: Pass correct drv->cpumask for registration
1779b33294da ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed memory
bec60b446b52 netfilter: nfnetlink_queue: fix secctx memory leak
ff1ddbb38b19 xhci: plat: Register shutdown for xhci_plat
ea9e1ca40939 isdn: kcapi: avoid uninitialized data
f15394085d11 KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
27c2fa1ae0ea ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend
17b1ff10a1fc netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register
7c9316d2f263 netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash table
3af547339068 irda: vlsi_ir: fix check for DMA mapping errors
52cd7920b7ac RDMA/iser: Fix possible mr leak on device removal event
85e54ef781b6 i40e: Do not enable NAPI on q_vectors that have no rings
6a04a7798a3e net: Do not allow negative values for busy_read and busy_poll sysctl interfaces
359f7020464f bna: avoid writing uninitialized data into hw registers
8acee491cfbd s390/qeth: no ETH header for outbound AF_IUCV
8ce4313f1279 r8152: prevent the driver from transmitting packets with carrier off
19b1ad3a2e68 HID: xinmo: fix for out of range for THT 2P arcade controller.
ebfb08395800 hwmon: (asus_atk0110) fix uninitialized data access
2e114c7b4562 ARM: dts: ti: fix PCI bus dtc warnings
f1fdf68b4f94 KVM: VMX: Fix enable VPID conditions
caa4cfd173b7 KVM: x86: correct async page present tracepoint
2849ef5dcefd scsi: lpfc: Fix PT2PT PRLI reject
bc9aec2faddf pinctrl: st: add irq_request/release_resources callbacks
1d75c214cebc inet: frag: release spinlock before calling icmp_send()
aba55cb03579 netfilter: nfnl_cthelper: Fix memory leak
b9fd3306a5af netfilter: nfnl_cthelper: fix runtime expectation policy updates
e598cdd240a0 usb: gadget: udc: remove pointer dereference after free
0c8496bfdb0e usb: gadget: f_uvc: Sanity check wMaxPacketSize for SuperSpeed
d6c0e23a7fef net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4
b9a4a18a01fc bna: integer overflow bug in debugfs
ffde339b95f5 sch_dsmark: fix invalid skb_cow() usage
4bf8a4f179ed crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex
a88b064826f0 r8152: fix the list rx_done may be used without initialization
125325fe1c19 cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
a23a447e47cc arm: kprobes: Align stack to 8-bytes in test code
3f7855a52222 arm: kprobes: Fix the return address of multiple kretprobes
779214d0eaca ALSA: hda - add support for docking station for HP 840 G3
9a66598014db ALSA: hda - add support for docking station for HP 820 G2
3b9d9ec0d826 x86/irq: Do not substract irq_tlb_count from irq_call_count
18a5348d49af sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off()
c22d4b4d1c7f ARM: Hide finish_arch_post_lock_switch() from modules
4ead44fd2525 x86/mm, sched/core: Turn off IRQs in switch_mm()
70a39c7fd167 x86/mm, sched/core: Uninline switch_mm()
83cc4b50e3a9 x86/mm: Build arch/x86/mm/tlb.c even on !SMP
425f13a36652 sched/core: Add switch_mm_irqs_off() and use it in the scheduler
dfe513a4e8dd mm/mmu_context, sched/core: Fix mmu_context.h assumption
8d5ee51a6bce mm/rmap: batched invalidations should use existing api
85d3700c744a x86/mm: If INVPCID is available, use it to flush global mappings
791a0f3fecda x86/mm: Add a 'noinvpcid' boot option to turn off INVPCID
04ec428b15f1 x86/mm: Fix INVPCID asm constraint
becf292446e9 x86/mm: Add INVPCID helpers
5fc8d62d1921 cxl: Check if vphb exists before iterating over AFU devices
9e1485b1b570 arm64: Initialise high_memory global variable earlier
96c00ece76be Linux 4.4.107
a815c0a370cf ath9k: fix tx99 potential info leak
26c66554d7bf IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
112814db6ec4 RDMA/cma: Avoid triggering undefined behavior
4bbb49138f4a macvlan: Only deliver one copy of the frame to the macvlan interface
b8d510ff7165 udf: Avoid overflow when session starts at large offset
a114af87c0ba scsi: bfa: integer overflow in debugfs
798f08501424 scsi: sd: change allow_restart to bool in sysfs interface
c387c02d604d scsi: sd: change manage_start_stop to bool in sysfs interface
2e03af22f65c vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
930fb06d1617 scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
24bc48af0aee raid5: Set R5_Expanded on parity devices as well as data.
09379498aff0 pinctrl: adi2: Fix Kconfig build problem
5f2dbdff20e0 usb: musb: da8xx: fix babble condition handling
68d3bc40f5ca tty fix oops when rmmod 8250
afa8f0a7af70 powerpc/perf/hv-24x7: Fix incorrect comparison in memord
28a5b0e438f1 scsi: hpsa: destroy sas transport properties before scsi_host
942eb7dd5e42 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
ec662d656073 PCI: Detach driver before procfs & sysfs teardown on device remove
02922f3bb37f xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
f267a1390b41 xfs: fix log block underflow during recovery cycle verification
92eff81ad96a l2tp: cleanup l2tp_tunnel_delete calls
230c4ba404d3 bcache: fix wrong cache_misses statistics
271252373027 bcache: explicitly destroy mutex while exiting
ab9b3db40828 GFS2: Take inode off order_write list when setting jdata flag
2a5bb1284e72 thermal/drivers/step_wise: Fix temperature regulation misbehavior
561b9d998e65 ppp: Destroy the mutex when cleanup
083dd685aebd clk: tegra: Fix cclk_lp divisor register
f56be2ce49c1 clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
22a1e337ed68 clk: mediatek: add the option for determining PLL source clock
b59614cfd2d3 mm: Handle 0 flags in _calc_vm_trans() macro
44de70ecec2d crypto: tcrypt - fix buffer lengths in test_aead_speed()
b397507641fb arm-ccn: perf: Prevent module unload while PMU is in use
75ee360a5114 target/file: Do not return error for UNMAP if length is zero
646191449e76 target:fix condition return in core_pr_dump_initiator_port()
e14086b2c9bc iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
7d93603ddb65 target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
09f29c7a953d powerpc/ipic: Fix status get and status clear
c6c3637ee8ab powerpc/opal: Fix EBUSY bug in acquiring tokens
59720463cf28 netfilter: ipvs: Fix inappropriate output of procfs
f46b4bab4e93 powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
ef476a74f8ed PCI/PME: Handle invalid data when reading Root Status
e6d8207a84b0 dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
600b973fc56f rtc: pcf8563: fix output clock rate
ac0468efee60 video: fbdev: au1200fb: Return an error code if a memory allocation fails
033d20b727f3 video: fbdev: au1200fb: Release some resources if a memory allocation fails
314ce0575795 video: udlfb: Fix read EDID timeout
2f5427451738 fbdev: controlfb: Add missing modes to fix out of bounds access
57fa76a46673 sfc: don't warn on successful change of MAC
c9b79738c0ab target: fix race during implicit transition work flushes
dfd6deed8313 target: fix ALUA transition timeout handling
7f5084b98f89 target: Use system workqueue for ALUA transitions
f9b4a2e04c22 btrfs: add missing memset while reading compressed inline extents
248aa3accad9 NFSv4.1 respect server's max size in CREATE_SESSION
a49aa7aadbd3 efi/esrt: Cleanup bad memory map log messages
dc81417eedf5 perf symbols: Fix symbols__fixup_end heuristic for corner cases
acc7d1bd901c net/mlx4_core: Avoid delays during VF driver device shutdown
5e469e44c8fd afs: Fix afs_kill_pages()
80f74cef482f afs: Fix page leak in afs_write_begin()
c58d7796ab93 afs: Populate and use client modification time
fa034538cb04 afs: Fix the maths in afs_fs_store_data()
1efae6ca3418 afs: Prevent callback expiry timer overflow
43e68e3725df afs: Migrate vlocation fields to 64-bit
9d8d20570f39 afs: Flush outstanding writes when an fd is closed
549d7b98f55e afs: Adjust mode bits processing
bb7a7cd6194f afs: Populate group ID from vnode status
1c277e9ebba6 afs: Fix missing put_page()
fec8348008b5 drm/radeon: reinstate oland workaround for sclk
6a51e93b2fe3 mmc: mediatek: Fixed bug where clock frequency could be set wrong
51b3eac39a6c sched/deadline: Use deadline instead of period when calculating overflow
ca91884bcf7d sched/deadline: Throttle a constrained deadline task activated after the deadline
cd0e18d2f24b sched/deadline: Make sure the replenishment timer fires in the next period
4c6567f5af9a drm/radeon/si: add dpm quirk for Oland
c383ebf1acd6 fjes: Fix wrong netdevice feature flags
a33a9d0c705f scsi: hpsa: limit outstanding rescans
0a609298214b scsi: hpsa: update check for logical volume status
b0def6f1e26b openrisc: fix issue handling 8 byte get_user calls
1236cc3664dc intel_th: pci: Add Gemini Lake support
d270d24ee596 mlxsw: reg: Fix SPVMLR max record count
e934e13550a0 mlxsw: reg: Fix SPVM max record count
677a7aac2ec6 net: Resend IGMP memberships upon peer notification.
26af6a8b51f1 dmaengine: Fix array index out of bounds warning in __get_unmap_pool()
9cd4b8684621 net: wimax/i2400m: fix NULL-deref at probe
b424289863d0 writeback: fix memory leak in wb_queue_work()
fbdf477fcff6 netfilter: bridge: honor frag_max_size when refragmenting
7edb2d2d8680 drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
dbfba339c729 Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list
df5678476040 NFSD: fix nfsd_reset_versions for NFSv4.
5b0334584ad6 NFSD: fix nfsd_minorversion(.., NFSD_AVAIL)
067cb6b2f716 net: bcmgenet: Power up the internal PHY before probing the MII
a33e082dcaf4 net: bcmgenet: power down internal phy if open or resume fails
8aaed873f3b9 net: bcmgenet: reserved phy revisions must be checked first
c25da696fca1 net: bcmgenet: correct MIB access of UniMAC RUNT counters
296b584763f7 net: bcmgenet: correct the RBUF_OVFL_CNT and RBUF_ERR_CNT MIB values
accbd99507b1 net: initialize msg.msg_flags in recvfrom
b5213e1e9f25 userfaultfd: selftest: vm: allow to build in vm/ directory
ee9be9963039 userfaultfd: shmem: __do_fault requires VM_FAULT_NOPAGE
0d0456ec2b08 md-cluster: free md_cluster_info if node leave cluster
a1d72bc18e77 usb: phy: isp1301: Add OF device ID table
75252bfe9e49 mac80211: Fix addition of mesh configuration element
13e86efb2eee KEYS: add missing permission check for request_key() destination
ef7ce82bc280 ext4: fix crash when a directory's i_size is too small
2c367edaba65 ext4: fix fdatasync(2) after fallocate(2) operation
52425e042843 dmaengine: dmatest: move callback wait queue to thread context
af36d95af55f sched/rt: Do not pull from current CPU if only one CPU to pull
f98ee9c0007b xhci: Don't add a virt_dev to the devs array before it's fully allocated
ffc7565746bb Bluetooth: btusb: driver to enable the usb-wakeup feature
8c7c3d5b785f ceph: drop negative child dentries before try pruning inode's alias
2862cfca3989 usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
dfdf5fa3e664 USB: core: prevent malicious bNumInterfaces overflow
05de6fa5c0e2 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
a34419b3f6a2 tracing: Allocate mask_str buffer dynamically
c60db4f68593 autofs: fix careless error in recent commit
8a311b0462b5 crypto: salsa20 - fix blkcipher_walk API usage
43cd7f38612d crypto: hmac - require that the underlying hash algorithm is unkeyed
4231b6a98fce Linux 4.4.106
5c6db4afbd9f usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
a5fa9efe4e01 arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
9f5a8d610dd3 Revert "x86/mm/pat: Ensure cpa->pfn only contains page frame numbers"
34933c2ce99c Revert "x86/efi: Hoist page table switching code into efi_call_virt()"
1dfe268df584 Revert "x86/efi: Build our own page table structures"
b90f87c641bc net/packet: fix a race in packet_bind() and packet_notifier()
f50e9c872cb5 packet: fix crash in fanout_demux_rollover()
d6189fa45c6d sit: update frag_off info
6c154d536d94 rds: Fix NULL pointer dereference in __rds_rdma_map
827fd89bc552 tipc: fix memory leak in tipc_accept_from_sock()
047a7bb12d63 more bio_map_user_iov() leak fixes
3a620404e24a s390: always save and restore all registers on context switch
99962affcb8f ipmi: Stop timers before cleaning up the module
b34957127058 audit: ensure that 'audit=1' actually enables audit for PID 1
1b9baf30673c ipvlan: fix ipv6 outbound device
cdfe2d0a4834 afs: Connect up the CB.ProbeUuid
452ae0913614 IB/mlx5: Assign send CQ and recv CQ of UMR QP
3d1d4642fc55 IB/mlx4: Increase maximal message size under UD QP
8bfafc972a34 xfrm: Copy policy family in clone_policy
5c15c5c8ebc5 jump_label: Invoke jump_label_test() via early_initcall()
1b85cd5d9262 atm: horizon: Fix irq release error
dde5bbd52a28 sctp: use the right sk after waking up from wait_buf sleep
1ad621272bd7 sctp: do not free asoc when it is already dead in sctp_sendmsg
59e52050b17c sparc64/mm: set fields in deferred pages
7b99b00cf3f0 block: wake up all tasks blocked in get_request()
5a54dcc51a4a sunrpc: Fix rpc_task_begin trace point
c02608144e79 NFS: Fix a typo in nfs_rename()
640192431a29 dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
24c98ec494c2 lib/genalloc.c: make the avail variable an atomic_long_t
90ec232a3911 route: update fnhe_expires for redirect when the fnhe exists
41dee81f22c9 route: also update fnhe_genid when updating a route cache
32f8870cc9a9 mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
0aab426757d3 kbuild: pkg: use --transform option to prefix paths in tar
8f72d29e7024 EDAC, i5000, i5400: Fix definition of NRECMEMB register
222de157ccd0 EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro
f1ff979f97bd powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested
d42ebf56380f drm/amd/amdgpu: fix console deadlock if late init failed
40b2b6453f89 axonram: Fix gendisk handling
f2396d60746f netfilter: don't track fragmented packets
ca6d40bb082a zram: set physical queue limits to avoid array out of bounds accesses
39c626c1f9e3 i2c: riic: fix restart condition
a836e1952f28 crypto: s5p-sss - Fix completing crypto request in IRQ handler
7c5deeccc664 ipv6: reorder icmpv6_init() and ip6_mr_init()
84bc40c4b31b bnx2x: do not rollback VF MAC/VLAN filters we did not configure
871e4b11eba2 bnx2x: fix possible overrun of VFPF multicast addresses array
1aead0538b89 bnx2x: prevent crash when accessing PTP with interface down
6bbc908cfc1c spi_ks8995: fix "BUG: key accdaa28 not in .data!"
687121453005 arm64: KVM: Survive unknown traps from guests
5dc5c8e65515 arm: KVM: Survive unknown traps from guests
ccf72fe2e5cc KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset
0a12875fa51f irqchip/crossbar: Fix incorrect type of register size
8a15c626996c scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters
d9d47a6d6862 workqueue: trigger WARN if queue_delayed_work() is called with NULL @wq
14a7aa2ae61e libata: drop WARN from protocol error in ata_sff_qc_issue()
f9b291aed2a9 kvm: nVMX: VMCLEAR should not cause the vCPU to shut down
ef21f3a12bb1 USB: gadgetfs: Fix a potential memory leak in 'dev_config()'
4036947a43a0 usb: gadget: configs: plug memory leak
24e9fc7ef051 HID: chicony: Add support for another ASUS Zen AiO keyboard
3aec56b81960 gpio: altera: Use handle_level_irq when configured as a level_high
c52017de0ba6 ARM: OMAP2+: Release device node after it is no longer needed.
14c396184529 ARM: OMAP2+: Fix device node reference counts
d180639d86e1 module: set __jump_table alignment to 8
23f9e8448219 selftest/powerpc: Fix false failures for skipped tests
3bf3fc6cbc8b x86/hpet: Prevent might sleep splat on resume
0500c6d35274 ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
572b639bde31 vti6: Don't report path MTU below IPV6_MIN_MTU.
3771241e5bc3 Revert "s390/kbuild: enable modversions for symbols exported from asm"
e891a29531d4 Revert "spi: SPI_FSL_DSPI should depend on HAS_DMA"
f854e2099915 Revert "drm/armada: Fix compile fail"
5327f9badacd mm: drop unused pmdp_huge_get_and_clear_notify()
47c53ccca4a0 thp: fix MADV_DONTNEED vs. numa balancing race
d4443b53732e thp: reduce indentation level in change_huge_pmd()
696fbe191acd scsi: storvsc: Workaround for virtual DVD SCSI version
dd8c78e2501e ARM: avoid faulting on qemu
af1d17239682 ARM: BUG if jumping to usermode address in kernel mode
750f60edebac arm64: fpsimd: Prevent registers leaking from dead tasks
477b837533a2 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
11030654676b arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
a0b99544dde8 media: dvb: i2c transfers over usb cannot be done from stack
81bf294f5f7b drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
74b6030355a4 drm: extra printk() wrapper macros
d6ff4cce9aa3 kdb: Fix handling of kallsyms_symbol_next() return value
bb47cf7f8e47 s390: fix compat system call table
dc41b6e35f93 iommu/vt-d: Fix scatterlist offset handling
90a20a81dc1c ALSA: usb-audio: Add check return value for usb_string()
9f5c6b108850 ALSA: usb-audio: Fix out-of-bound error
e1d3b7d04d9d ALSA: seq: Remove spurious WARN_ON() at timer check
659e7d2588f0 ALSA: pcm: prevent UAF in snd_pcm_info
5986c9685f1e x86/PCI: Make broadcom_postcore_init() check acpi_disabled
2c2e4b7d279a X.509: reject invalid BIT STRING for subjectPublicKey
1471d1258921 ASN.1: check for error from ASN1_OP_END__ACT actions
621dac1d6991 ASN.1: fix out-of-bounds read when parsing indefinite length item
481efb4c7256 efi: Move some sysfs files to be read-only by root
7e0091c2951f scsi: libsas: align sata_device's rps_resp on a cacheline
98448333588c isa: Prevent NULL dereference in isa_bus driver callbacks
90e2ea6dc851 hv: kvp: Avoid reading past allocated blocks from KVP file
94739ddf35cb virtio: release virtio index when fail to device_register
d73fcef16da0 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
191b419bd0b1 can: esd_usb2: cancel urb on -EPIPE and -EPROTO
af11f3afc2c2 can: ems_usb: cancel urb on -EPIPE and -EPROTO
bd424bd17572 can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
3e3dabd83630 can: kvaser_usb: ratelimit errors if incomplete messages are received
816bc7dffea2 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
b6fa54c18e8d can: kvaser_usb: free buf in error paths
a68e3c90dfb1 can: ti_hecc: Fix napi poll return value for repoll
69b0bf95a51e Linux 4.4.105
da57b1f7e74f xen-netfront: avoid crashing on resume after a failure in talk_to_netback()
e1cadf7c4af2 usb: host: fix incorrect updating of offset
43135100f117 USB: usbfs: Filter flags passed in from user space
c0493eb552e0 USB: devio: Prevent integer overflow in proc_do_submiturb()
2ee8d2acf3ef USB: Increase usbfs transfer limit
9d812f7bef8c USB: core: Add type-specific length check of BOS descriptors
f044af8c1dc3 usb: ch9: Add size macro for SSP dev cap descriptor
ddaa1ae2eb7f usb: Add USB 3.1 Precision time measurement capability descriptor support
a1f03a9bcfa4 usb: xhci: fix panic in xhci_free_virt_devices_depth_first
6a85ba4157a0 usb: hub: Cycle HUB power when initialization fails
40012163e52a Revert "ocfs2: should wait dio before inode lock in ocfs2_setattr()"
33621da4d4ef net: fec: fix multicast filtering hardware setup
5d036ccddc5d xen-netfront: Improve error handling during initialization
cc4add389789 mm: avoid returning VM_FAULT_RETRY from ->page_mkwrite handlers
1b7dbabf0242 tcp: correct memory barrier usage in tcp_check_space()
bc42f67b73cb dmaengine: pl330: fix double lock
ca0836061019 tipc: fix cleanup at module unload
e5afc84f644c net: sctp: fix array overrun read on sctp_timer_tbl
7e9236c00152 drm/exynos/decon5433: set STANDALONE_UPDATE_F on output enablement
e26d58f897ca NFSv4: Fix client recovery when server reboots multiple times
48222dd037f5 KVM: arm/arm64: Fix occasional warning from the timer work function
f2fb416f4af6 nfs: Don't take a reference on fl->fl_file for LOCK operation
7228df818d90 ravb: Remove Rx overflow log messages
1bb50d02a8d3 net/appletalk: Fix kernel memory disclosure
c73b58cfa83e vti6: fix device register to report IFLA_INFO_KIND
e6533243f74f ARM: OMAP1: DMA: Correct the number of logical channels
e6f105531992 net: systemport: Pad packet before inserting TSB
3a44ade54473 net: systemport: Utilize skb_put_padto()
8633eec0ee08 kprobes/x86: Disable preemption in ftrace-based jprobes
7317cb116754 perf test attr: Fix ignored test case result
1c4d7600390b sysrq : fix Show Regs call trace on ARM
c86fa9ed3a0f EDAC, sb_edac: Fix missing break in switch
c2e1be144805 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
ecd996c24a79 serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
86b9d66d1f3f usb: phy: tahvo: fix error handling in tahvo_usb_probe()
b6ca48b5cd08 spi: sh-msiof: Fix DMA transfer size check
a96c19f5ba09 serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
429feb597df3 selftests/x86/ldt_get: Add a few additional tests for limits
93f45d8c67dc s390/pci: do not require AIS facility
80f93e24ecfc ima: fix hash algorithm initialization
71ce1cac5b4d USB: serial: option: add Quectel BG96 id
9e51ee1b76ef s390/runtime instrumentation: simplify task exit handling
ef3567cc5284 serial: 8250_pci: Add Amazon PCI serial device ID
a8293de0ee1f usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
636b080991ee uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
3f7477e64478 bcache: recover data from backing when data is clean
f80f34d8ba92 bcache: only permit to recovery read error when cache device is clean
bd3799391822 Linux 4.4.104
bd249dd07827 nfsd: Fix another OPEN stateid race
54298082dbac nfsd: Fix stateid races between OPEN and CLOSE
d7f5f10f5159 nfsd: Make init_open_stateid() a bit more whole
68e6cd9a0547 drm/i915: Prevent zero length "index" write
e6bcff7b6aa1 drm/i915: Don't try indexed reads to alternate slave addresses
a61474fa8749 NFS: revalidate "." etc correctly on "open".
c8ea49b690ee mtd: nand: Fix writing mtdoops to nand flash.
a155a9568d9a drm/panel: simple: Add missing panel_simple_unprepare() calls
c7716f65721a drm/radeon: fix atombios on big endian
4d027a8bcc7f Revert "drm/radeon: dont switch vt on suspend"
5a7391b6d898 bcache: Fix building error on MIPS
6b4901e0e349 eeprom: at24: check at24_read/write arguments
5c65b739389f mmc: core: Do not leave the block driver in a suspended state
a6493ad6fc89 KVM: x86: inject exceptions produced by x86_decode_insn
1e9e6bdccb80 KVM: x86: Exit to user-mode on #UD intercept when emulator requires
ab29b6b818aa KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
591ddc92d756 btrfs: clear space cache inode generation always
0d05a5593f63 mm/madvise.c: fix madvise() infinite loop under special circumstances
2b7ef6bdd286 mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
f97fc9ab1ce2 x86/efi-bgrt: Replace early_memremap() with memremap()
e85c6907b2b4 x86/efi-bgrt: Fix kernel panic when mapping BGRT data
44ff3af83ee1 ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio
36e0f05afd4e x86/efi: Build our own page table structures
b73adb608520 x86/efi: Hoist page table switching code into efi_call_virt()
87e2bd898d3a x86/mm/pat: Ensure cpa->pfn only contains page frame numbers
b377c453b363 ipsec: Fix aborted xfrm policy dump crash
27248d2fa77f netlink: add a start callback for starting a netlink dump
08c15ad2e627 Linux 4.4.103
3d7214a338d7 Revert "sctp: do not peel off an assoc from one netns to another one"
c73eb1e0cc56 xen: xenbus driver must not accept invalid transaction ids
eedd29f51078 s390/kbuild: enable modversions for symbols exported from asm
681b2239862d ASoC: wm_adsp: Don't overrun firmware file buffer when reading region data
b63209c78f9e btrfs: return the actual error value from from btrfs_uuid_tree_iterate
e88f3fb0e340 ASoC: rsnd: don't double free kctrl
47b99a3306d0 netfilter: nf_tables: fix oob access
a1e4f6a15103 netfilter: nft_queue: use raw_smp_processor_id()
85f286d6f8cd spi: SPI_FSL_DSPI should depend on HAS_DMA
8537e96e4351 staging: iio: cdc: fix improper return value
266913b390c3 iio: light: fix improper return value
7e927748d4db mac80211: Suppress NEW_PEER_CANDIDATE event if no room
9825826ed7bd mac80211: Remove invalid flag operations in mesh TSF synchronization
f0d8fb74479b drm: Apply range restriction after color adjustment when allocation
31447ebb1a86 ALSA: hda - Apply ALC269_FIXUP_NO_SHUTUP on HDA_FIXUP_ACT_PROBE
7e920566c352 ath10k: set CTS protection VDEV param only if VDEV is up
ef751ca54602 ath10k: fix potential memory leak in ath10k_wmi_tlv_op_pull_fw_stats()
b24769300a00 ath10k: ignore configuring the incorrect board_id
64b22ee723ee ath10k: fix incorrect txpower set by P2P_DEVICE interface
c4cf731af838 drm/armada: Fix compile fail
7f69dc100400 net: 3com: typhoon: typhoon_init_one: fix incorrect return values
609797646f9b net: 3com: typhoon: typhoon_init_one: make return values more specific
d7c3d5333e39 net: Allow IP_MULTICAST_IF to set index to L3 slave
778395506a7f dmaengine: zx: set DMA_CYCLIC cap_mask bit
37a48e6d83f5 PCI: Apply _HPX settings only to relevant devices
57d2ce160310 RDS: RDMA: return appropriate error on rdma map failures
bbb1fc744894 e1000e: Separate signaling for link check/link up
5df4097cfc70 e1000e: Fix return value test
fbb2d8000a8f e1000e: Fix error path in link detection
d6968bc56e44 PM / OPP: Add missing of_node_put(np)
fd3c395d4d46 net/9p: Switch to wait_event_killable()
91bd72dd8c72 fscrypt: lock mutex before checking for bounce page pool
cb1831a83e54 sched/rt: Simplify the IPI based RT balancing logic
5a11b8458b35 media: v4l2-ctrl: Fix flags field on Control events
0870fb4c3566 cx231xx-cards: fix NULL-deref on missing association descriptor
d758f4d8bf20 media: rc: check for integer overflow
878c0f9a7c69 media: Don't do DMA on stack for firmware upload in the AS102 driver
a2943ce580f5 powerpc/signal: Properly handle return value from uprobe_deny_signal()
937a91cd3992 parisc: Fix validity check of pointer size argument in new CAS implementation
aef7cdb6a6ff ixgbe: Fix skb list corruption on Power systems
bb923a81c33e fm10k: Use smp_rmb rather than read_barrier_depends
b4ca98b7a803 i40evf: Use smp_rmb rather than read_barrier_depends
a8e699dfca04 ixgbevf: Use smp_rmb rather than read_barrier_depends
2f7de4d5f525 igbvf: Use smp_rmb rather than read_barrier_depends
391cdaaaa9d9 igb: Use smp_rmb rather than read_barrier_depends
146d53371385 i40e: Use smp_rmb rather than read_barrier_depends
76c389ca1331 NFC: fix device-allocation error return
ecc5e8914766 IB/srp: Avoid that a cable pull can trigger a kernel crash
3e32b40435b9 IB/srpt: Do not accept invalid initiator port names
54a8d930b93f libnvdimm, namespace: make 'resource' attribute only readable by root
4dae2f771fa7 libnvdimm, namespace: fix label initialization to use valid seq numbers
037646313522 clk: ti: dra7-atl-clock: fix child-node lookups
eca460c485f9 clk: ti: dra7-atl-clock: Fix of_node reference counting
36d2f19430e2 SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status
a694b1f85aea KVM: SVM: obey guest PAT
8293dc75de47 KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
4e426ed57cd2 target: Fix QUEUE_FULL + SCSI task attribute handling
63bfc4c90a87 iscsi-target: Fix non-immediate TMR reference leak
8709c5386109 fs/9p: Compare qid.path in v9fs_test_inode
1b11593eb742 fix a page leak in vhost_scsi_iov_to_sgl() error recovery
509ab500a240 ALSA: hda/realtek - Fix ALC700 family no sound issue
ef6745531648 ALSA: timer: Remove kernel warning at compat ioctl error paths
3532750d20f5 ALSA: usb-audio: Add sanity checks in v2 clock parsers
0b6cede2e455 ALSA: usb-audio: Fix potential out-of-bound access at parsing SU
d1316b9d83de ALSA: usb-audio: Add sanity checks to FE parser
b71cf750ddd3 ALSA: pcm: update tstamp only if audio_tstamp changed
db12d9b5a181 ext4: fix interaction between i_size, fallocate, and delalloc after a crash
189bc689547a ata: fixes kernel crash while tracing ata_eh_link_autopsy event
f1be21021099 rtlwifi: fix uninitialized rtlhal->last_suspend_sec time
3c260c60d20c rtlwifi: rtl8192ee: Fix memory leak when loading firmware
a8b8ab79ca4f nfsd: deal with revoked delegations appropriately
2a2d4b41472c nfs: Fix ugly referral attributes
ab33df42eb3c NFS: Fix typo in nomigration mount option
4e23be616976 isofs: fix timestamps beyond 2027
85c79043808d bcache: check ca->alloc_thread initialized before wake up it
9c093a258350 eCryptfs: use after free in ecryptfs_release_messaging()
7d7b05e4ffd5 nilfs2: fix race condition that causes file system corruption
9a4e08c634ce autofs: don't fail mount for transient error
153142963ca1 MIPS: BCM47XX: Fix LED inversion for WRT54GSv1
00fd53bc378f MIPS: Fix an n32 core file generation regset support regression
4e82464aa4a3 dm: fix race between dm_get_from_kobject() and __dm_destroy()
36c4819abc92 dm bufio: fix integer overflow when limiting maximum cache size
a9f066404fd0 ALSA: hda: Add Raven PCI ID
0c1faf9df0c8 MIPS: ralink: Fix typo in mt7628 pinmux function
84c785ed786a MIPS: ralink: Fix MT7628 pinmux
36a082ce590f ARM: 8721/1: mm: dump: check hardware RO bit for LPAE
5f8046f7c9e3 ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE
29c4b6b4f46d x86/decoder: Add new TEST instruction pattern
4fdb1637b208 lib/mpi: call cond_resched() from mpi_powm() loop
8ff3471878f3 sched: Make resched_cpu() unconditional
3223ea129170 vsock: use new wait API for vsock_stream_sendmsg()
df24d6c22460 AF_VSOCK: Shrink the area influenced by prepare_to_wait
2417da3f4d6b ipv6: only call ip6_route_dev_notify() once for NETDEV_UNREGISTER
5c2607d3e7cd s390/disassembler: increase show_code buffer size
4337fa2425f6 s390/disassembler: add missing end marker for e7 table
04bc7a273264 s390/runtime instrumention: fix possible memory corruption
7ddbe701076d s390: fix transactional execution control register handling
29ffb9c1fb4a Linux 4.4.102
0208fabf7256 mm, hwpoison: fixup "mm: check the return value of lookup_page_ext for all call sites"
5baf0fb260fc Linux 4.4.101
a3805b10de80 mm/pagewalk.c: report holes in hugetlb ranges
3630b2801907 mm/page_ext.c: check if page_ext is not prepared
e34e744f70a6 mm: check the return value of lookup_page_ext for all call sites
7b7a1c39e839 coda: fix 'kernel memory exposure attempt' in fsync
c1b3703b643f mm/page_alloc.c: broken deferred calculation
4ecf752738ac ipmi: fix unsigned long underflow
c4baa4a5870c ocfs2: should wait dio before inode lock in ocfs2_setattr()
8c325770546a nvme: Fix memory order on async queue deletion
4310b6bfa8e0 arm64: fix dump_instr when PAN and UAO are in use
1df403abfa9e serial: omap: Fix EFR write on RTS deassertion
a9100b6f1a8a ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
51b8aea7abde net/sctp: Always set scope_id in sctp_inet6_skb_msgname
ae93cefb9430 fealnx: Fix building error on MIPS
2a0e60907e54 sctp: do not peel off an assoc from one netns to another one
4cfc0b41af03 af_netlink: ensure that NLMSG_DONE never fails in dumps
ef206ea779a9 vlan: fix a use-after-free in vlan_device_event()
3bb6245e14ea bonding: discard lowest hash bit for 802.3ad layer3+4
001e9cbe1dae netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
0c1282c7f046 tcp: do not mangle skb->cb[] in tcp_make_synack()
26d6298789e6 Linux 4.4.100
f119ff8e5b6b USB: serial: garmin_gps: fix memory leak on probe errors
8b36209e93df USB: serial: garmin_gps: fix I/O after failed probe and remove
5cd938508c81 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
302dd596822a USB: Add delay-init quirk for Corsair K70 LUX keyboards
965003b311e0 USB: usbfs: compute urb->actual_length for isochronous
834a5d880a54 uapi: fix linux/rds.h userspace compilation errors
16e7973f8e47 uapi: fix linux/rds.h userspace compilation error
f5e303d54ac2 Revert "uapi: fix linux/rds.h userspace compilation errors"
d9c8d4adb5a7 Revert "crypto: xts - Add ECB dependency"
d2d72c0ee4c9 MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds
9a8ef143951f MIPS: init: Ensure reserved memory regions are not added to bootmem
034347aca034 MIPS: init: Ensure bootmem does not corrupt reserved memory
a904ebe92a05 mm: add PHYS_PFN, use it in __phys_to_pfn()
7f5eb098ef95 MIPS: End asm function prologue macros with .insn
b15877443a93 staging: rtl8712: fixed little endian problem
ade72053f452 ixgbe: do not disable FEC from the driver
b6e7fb0be1e5 ixgbe: add mask for 64 RSS queues
12ec51aaafe3 ixgbe: Reduce I2C retry count on X550 devices
9d51db4caff9 ixgbe: handle close/suspend race with netif_device_detach/present
f12976ce82cd ixgbe: fix AER error handling
865fe71c0a06 arm64: dts: NS2: reserve memory for Nitro firmware
e2d12bdaed6b ALSA: hda/realtek - Add new codec ID ALC299
b1e8e6d4c065 gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap
3e899991b99e backlight: adp5520: Fix error handling in adp5520_bl_probe()
d6f21ea25118 backlight: lcd: Fix race condition during register
fe21a3d68819 ALSA: vx: Fix possible transfer overflow
3b985d39ed4f ALSA: vx: Don't try to update capture stream before running
51abb2a73f16 scsi: lpfc: Clear the VendorVersion in the PLOGI/PLOGI ACC payload
8d8723c8c187 scsi: lpfc: Correct issue leading to oops during link reset
44eb947094c4 scsi: lpfc: Correct host name in symbolic_name field
a7e7d319cc96 scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort
18477baf599e scsi: lpfc: Add missing memory barrier
fdc1e9d553e1 staging: rtl8188eu: fix incorrect ERROR tags from logs
0c098158785b scsi: ufs: add capability to keep auto bkops always enabled
469e75ddff14 scsi: ufs-qcom: Fix module autoload
bb848b61967f igb: Fix hw_dbg logging in igb_update_flash_i210
ba83011a470c igb: close/suspend race in netif_device_detach
559a20802838 igb: reset the PHY before reading the PHY ID
7878dca7ca24 drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache
b9ea0af4793b ata: SATA_MV should depend on HAS_DMA
11cb9dedb2e6 ata: SATA_HIGHBANK should depend on HAS_DMA
2066882df749 ata: ATA_BMDMA should depend on HAS_DMA
4fd669feacd3 ARM: dts: Fix omap3 off mode pull defines
955840ea5035 ARM: OMAP2+: Fix init for multiple quirks for the same SoC
4a23041fa533 ARM: dts: Fix am335x and dm814x scm syscon to probe children
84a97ea8b7b1 ARM: dts: Fix compatible for ti81xx uarts for 8250
62641014202e fm10k: request reset when mbx->state changes
2bb04f1ff63d extcon: palmas: Check the parent instance to prevent the NULL
8d9142ff444e dmaengine: dmatest: warn user when dma test times out
ec4f8a71c0fc Bluetooth: btusb: fix QCA Rome suspend/resume
977784638f76 arm: crypto: reduce priority of bit-sliced AES cipher
e455048c7ae9 net: qmi_wwan: fix divide by 0 on bad descriptors
caeeef8438c3 net: cdc_ether: fix divide by 0 on bad descriptors
46bdabbca02e sctp: do not peel off an assoc from one netns to another one
11e8e55be18c xen-blkback: don't leak stack data via response ring
49630dd2e10a bpf: don't let ldimm64 leak map addresses on unprivileged
07e3aff243cd KVM: x86: fix singlestepping over syscall
ceb5c560e2e4 ext4: fix data exposure after a crash
0a418e57717d media: dib0700: fix invalid dvb_detach argument
c344019c48a9 media: imon: Fix null-ptr-deref in imon_probe
(From OE-Core rev: 2f34df4052632ea664289059177b9f8b5b7f7a26)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following wilwifi and pci ID backports. These are
bug fixes, enablements and minor updates.
850696176565 mmc: sdhci-pci: Add support for Intel CNP
d7265bddf328 mmc: sdhci-pci: Use macros in pci_ids definition
3a78458e37c1 spi: pxa2xx: Add support for Intel Cannonlake
9de152318ec0 mfd: intel-lpss: Add Intel Cannonlake PCI IDs
533713968b7d i2c: i801: Add support for Intel Cannon Lake
b3a84be8dc44 Bluetooth: Add support for Intel Bluetooth device 9460/9560 [8087:0aaa]
08dea20dfcdd iwlwifi: pcie: fix DMA memory mapping / unmapping
9846e33915f4 iwlwifi: mvm: mark MIC stripped MPDUs
d47d7a5921ec iwlwifi: mvm: enable RX offloading with TKIP and WEP
295c08159f25 iwlwifi: mvm: flush queue before deleting ROC
a49b4d426747 iwlwifi: add new cards for 9260 and 22000 series
49f247c26220 iwlwifi: fix access to prph when transport is stopped
3716aa8c7fb2 iwlwifi: pcie: fix erroneous "Read failed message"
8ea811068131 iwlwifi: mvm: fix packet injection
ce6f582d7790 iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type
789e2b172917 iwlwifi: mvm: don't use transmit queue hang detection when it is not possible
4d697c7f2f30 iwlwifi: mvm: set correct chains in Rx status
14f5ee3d7f2a iwlwifi: fix firmware names for 9000 and A000 series hw
10f670720316 mac80211: add api to start ba session timer expired flow
6975296fb60f timer: Prepare to change timer callback argument type
617d38a55701 iwlwifi: fix PCI IDs and configuration mapping for 9000 series
7768d0301e76 iwlwifi: mvm: support version 7 of the SCAN_REQ_UMAC FW command
d10e7c4752ad iwlwifi: add new cards for a000 series
f93a0bd94f2e iwlwifi: add new cards for 8265 series
fd7fb7407891 iwlwifi: add new cards for 8260 series
155e2cf7cf48 iwlwifi: drop RX frames during hardware restart
a6a61a5c3dc6 iwlwifi: mvm: Convert timers to use timer_setup()
2c55829d53e9 iwlwifi: mvm: hold mutex when flushing in iwl_mvm_flush_no_vif()
c9d9e2dabd5b iwlwifi: mvm: add missing implementation of flush for a000 devices
3793a1ba0652 iwlwifi: mvm: refactor iwl_mvm_flush_no_vif
ef5fe37f634b iwlwifi: fix multi queue notification for a000 devices
76b84cc9a0a7 iwlwifi: Add more call-sites for pcie reg dumper
c76d3e3c5401 iwlwifi: remove host assisted paging
d04bbe0546b1 iwlwifi: remove dead code for internal devices only
f2aa0f94c3ed iwlwifi: mvm: improve latency when there is a reorder timeout
16472c63581e iwlwifi: mvm: rs: remove the ANT C from the toogle antenna logic
b12c3acdedd4 iwlwifi: mvm: reset seq num after restart
b80a2cffd5ae iwlwifi: mvm: cleanup references to aggregation count limit
08fb17fe5d5d iwlwifi: mvm: use RS macro instead of duplicating the code
4ee07409e310 iwlwifi: pcie: remove set but not used variable tcph
a707114d30c7 iwlwifi: pcie: sort IDs for the 9000 series for easier comparisons
5437405de942 iwlwifi: mvm: add missing lq_color
5b9fdea44032 iwlwifi: define minimum valid address for umac_error_event_table in cfg
66130a345dc0 iwlwifi: mvm: move umac_error_event_table validity check to where it's set
02ae1833fe0a iwlwifi: mvm: allow reading UMAC error data from SMEM in A000 devices
92f982fbedea iwlwifi: mvm: pass baid_data to iwl_mvm_release_frames()
f5373043dbf2 iwlwifi: mvm: remove duplicated fields in mvm reorder buffer
46023b1981e8 iwlwifi: mvm: allocate reorder buffer according to need
8b46150fdcba iwlwifi: remove dflt_pwr_limit from the transport
1a0b98c751d9 iwlwifi: mvm: warn on invalid statistics size
fd3b380a9842 iwlwifi: acpi: move code that reads SPLC to acpi
390680e904da iwlwifi: fix indentation in a000 family configuration
eff6a99d6123 iwlwifi: acpi: move function to get mcc into acpi code
2c78cb7d30a5 iwlwifi: acpi: remove a couple of unnecessary ifdefs
913d3ee53285 iwlwifi: acpi: make iwl_get_bios_mcc() use the common acpi functions
99fb9256d5db iwlwifi: acpi: use iwl_acpi_get_wifi_pkg when reading reading SPLC
ebe44b941059 iwlwifi: acpi: generalize iwl_mvm_sar_find_wifi_pkg()
f9975d6cd5cb iwlwifi: acpi: move ACPI-related definitions to acpi.h
c82427d45403 iwlwifi: acpi: move ACPI method definitions to acpi.h
230d7769570e iwlwifi: acpi: add common code to read from ACPI
11fe78e4e712 iwlwifi: mvm: change warning to warn_once()
5bdafa97f8c2 iwlwifi: pcie: dump registers when HW becomes inaccessible
e23f32f76e1b iwlwifi: mvm: add marker cmd response struct.
29921783721e iwlwifi: fw: api: remove excess enum value documentation
7d535c46c8a9 iwlwifi: mvm: don't send identical PHY_CTXT_CMD
271cf21e8e38 iwlwifi: remove redundant reading from NVM file
1f97d139cf89 iwlwifi: pcie: dynamic Tx command queue size
49cd37c4bf52 iwlwifi: Add few debug prints to the WRT dump flow
275329860324 iwlwifi: mvm: support firmware debug trigger on frame reorder timeout
04901364779d iwlwifi: mvm: remove support for Link Quality Measurements
36b34fa8d705 iwlwifi: mvm: Add new quota command API
ebe4543c05ca iwlwifi: add a new a000 device
c18499f54fb6 iwlwifi: fix wrong struct for a000 device
b446945d074c iwlwifi: trans: move ref/unref code to the common part of the transport
0c1dddd47c6e iwlwifi: mvm: add dbgfs entry for fw info
6f04e26ed094 iwlwifi: nvm: set the correct offsets to 3168 series
9cd4e5a40c94 iwlwifi: nvm-parse: unify channel flags printing
81d96355b478 iwlwifi: mvm: return -ENODATA when reading the temperature with the FW down
191792ca6c7b iwlwifi: stop dbgc recording before stopping DMA
55b03bd59426 iwlwifi: mvm: do not print security error in monitor mode
d25afe43ac2b iwlwifi: mvm: fix reorder buffer for 9000 devices
dab206263245 iwlwifi: mvm: set status before calling iwl_mvm_send_cmd_status()
4cd70ffaa6b4 iwlwifi: mvm: initialize status in iwl_mvm_add_int_sta_common()
8b949c472671 iwlwifi: mvm: handle FIF_ALLMULTI when setting multicast addresses
a8789c53df4c iwlwifi: mvm: wake the correct mac80211 queue
e3fc497bcb1f iwlwifi: mvm: change state when queueing agg start work
e64485ba374a iwlwifi: mvm: send all non-bufferable frames on the probe queue
39853a2897ca iwlwifi: mvm: Flush non STA TX queues
a79f9da1c39f iwlwifi: mvm: fix wowlan resume failed to load INIT ucode
030cb8bb462b iwlwifi: mvm: only send LEDS_CMD when the FW supports it
9d5c1397f0ba iwlwifi: mvm: bump API to 34 for 8000 and up
0e4e899155b2 iwlwifi: mvm: Avoid deferring non bufferable frames
bbb1538f4415 iwlwifi: fix long debug print
fba7875cbf2b iwlwifi: pcie: move rx workqueue initialization to iwl_trans_pcie_alloc()
cbe2772aa5ac iwlwifi: use big-endian for the hw section of the nvm
5a9ed1a9e7a1 iwlwifi: mvm: remove useless check for mvm->cfg in iwl_parse_nvm_section()
5dce0bb2c1e4 iwlwifi: mvm: remove useless argument in iwl_nvm_init()
44a34b9133f6 iwlwifi: fw: fix lar_enabled endian problem in iwl_fw_get_nvm
6ed7a437ada4 iwlwifi: add workaround to disable wide channels in 5GHz
9fdf34b63469 iwlwifi: mvm: change open and close criteria of a BA session
00fee168712f iwlwifi: update channel flags parser
51fe7153860f iwlwifi: distinguish different RF modules in A000 devices
04b2b5fe60ec iwlwifi: mvm: Fix channel switch in case of count <= 1
12cb62ad92f1 iwlwifi: Demote messages about fw flags size to info
ec7db94d2ac8 iwlwifi: move BT_MBOX_PRINT macro to common header
9096228d343c iwlwifi: mvm: don't send BAR on flushed frames
0200459abfe5 iwlwifi: mvm: remove session protection to allow channel switch
4ed04628ce99 iwlwifi: mvm: update the firmware API in TX
a9c710c755bd iwlwifi: mvm: use mvmsta consistently in rs.c
db9f3872c6fa iwlwifi: mvm: group all dummy SAR function declarations together
e59229f94610 iwlwifi: mvm: add command name for FRAME_RELEASE
52c144d07be9 iwlwifi: pcie: support short Tx queues for A000 device family
9768c491c7d2 iwlwifi: mvm: support new Coex firmware API
899413b64660 iwlwifi: call iwl_remove_notification from iwl_wait_notification
1e627b700dbb iwlwifi: mvm: consider RFKILL during INIT as success
c9ef6cbdc1b9 iwlwifi: mvm: remove the corunning support
6e83c9cbc23f iwlwifi: mvm: fix the coex firmware API
537da96de818 iwlwifi: pcie: free the TSO page when a Tx queue is unmapped on A000 devices
5fcd36459941 iwlwifi: remove references to unsupported HW
b73ab3bf441b iwlwifi: fix nmi triggering from host
c0594a59199d iwlwifi: pcie: don't init a Tx queue with an SSN > size of the queue
0d23bd8c8cbf iwlwifi: mvm: add station before allocating a queue
bd8e6c146cc2 iwlwifi: mvm: don't send CTDP commands via debugfs if not supported
2f36c927e0b6 iwlwifi: mvm: support new beacon template command
55ed6e274d45 iwlwifi: mvm: send delba upon rx ba session timeout
f9cc252d82fc iwlwifi: mvm: set the default cTDP budget
1d41aa6b2727 iwlwifi: mvm: move a000 device NVM retrieval to a common place
e7b6180a4e80 iwlwifi: dump smem configuration when firmware crashes
30d9d2f6ec84 iwlwifi: fix a000 RF_ID define
064eaeb94cdd iwlwifi: add support of FPGA fw
4d58ad2d7dd4 iwlwifi: fix a few instances of misaligned kerneldoc parameters
a854f76ba000 iwlwifi: change functions that can only return 0 to void
583ab36a2c38 iwlwifi: mvm: add debugfs to force CT-kill
59f3b92bc9d5 iwlwifi: mvm: add const to thermal_cooling_device_ops structure
6065eab05454 iwlwifi: mvm: use firmware LED command where applicable
bdd1f8e6cd04 iwlwifi: mvm: remove useless condition in LED code
8690797a9a10 iwlwifi: mvm: don't WARN when a legit race happens in A-MPDU
bfa6caa712e9 iwlwifi: mvm: start mac queues when deferred tx frames are purged
b8055bcadf7c iwlwifi: mvm: Fix a memory leak in an error handling path in 'iwl_mvm_sar_get_wgds_table()'
446ea78b678c iwlwifi: mvm: don't retake the pointer to skb's CB
f8fecb61f48f iwlwifi: mvm: remove non-DQA mode
2afb27a925ce iwlwifi: mvm: rename p2p-specific sta functions to include p2p in the names
6c1a64e3ef75 iwlwifi: mvm: simplify bufferable MMPDU check
37d2db886acb iwlwifi: mvm: require AP_LINK_PS for TVQM
cc0f8aa5bd8c iwlwifi: pcie: rename iwl_trans_check_hw_rf_kill() to pcie
d680a553246e iwlwifi: mvm: add compile-time option to disable EBS
eb39ff9703cb iwlwifi: implement fseq version mismatch warning
248737b38907 iwlwifi: mvm: support fw reading empty OTP
4c521e875d7a iwlwifi: pcie: fix A-MSDU on gen2 devices
cae215d55c66 iwlwifi: mvm: fix uninitialized var while waiting for queues to empty
3c7d7c6a8dbd iwlwifi: mvm: fix the FIFO numbers in A000 devices
e9ac52a93832 iwlwifi: mvm: refactor beacon template command code
585dde6c1b9b iwlwifi: dvm: remove unused defines
7eec01ad4c9e iwlwifi: mvm: byte-swap constant instead of variable
099c0a80ad9f iwlwifi: mvm: check family instead of new TX API for workarounds
2e44edff43bb iwlwifi: mvm: add and use iwl_mvm_has_unified_ucode()
571909b0fc2f iwlwifi: fw api: fix various kernel-doc warnings
231a0f260c9f iwlwifi: reorganize firmware API
45a9716e520c iwlwifi: refactor firmware debug code
6bc25ab6637f iwlwifi: track current firmware image in common code
2e8f9d07d433 iwlwifi: refactor shared mem parsing
e99db11387dd iwlwifi: refactor out paging code
87e461c198f2 iwlwifi: add the new 9000 series PCI IDs
ccd7ba236f4c iwlwifi: mvm: set the RTS_MIMO_PROT bit in flag mask when sending sta to fw
117a3d6f9f1d iwlwifi: fix fw_pre_next_step to apply also for C step
2176967bd330 iwlwifi: mvm: rs: fix TLC statistics collection
7e12ee6aadfd iwlwifi: mvm: set A-MPDU bit upon empty BA notification from FW
a52eff0e4979 iwlwifi: split the regulatory rules when the bandwidth flags require it
3a5a68e76e90 iwlwifi: add TLV for MLME offload firmware capability
a33aab491b28 iwlwifi: mvm: fix TCP CSUM offload with WEP and A000 series
4aaa3afd80b2 iwlwifi: mvm: defer setting IWL_MVM_STATUS_IN_HW_RESTART
824bd3878358 iwlwifi: mvm: handle IBSS probe_queue in a few missing places
cfa94cd7b0eb iwlwifi: fix tracing when tx only is enabled
2137706c9531 iwlwifi: missing error code in iwl_trans_pcie_alloc()
7f6264621aa1 iwlwifi: mvm: fix a NULL pointer dereference of error in recovery
f20a2719d785 iwlwifi: pcie: fix unused txq NULL pointer dereference
9e14453045b2 iwlwifi: bump MAX API for 8000/9000/A000 to 33
b177ff5b4d37 iwlwifi: pcie: wait longer after device reset
1a57bfb1ca30 iwlwifi: pcie: propagate iwl_pcie_apm_init's status
5d80ae738313 iwlwifi: mvm: quietly accept non-sta disassoc frames
4413e18698bd iwlwifi: mvm: update rx statistics cmd api
8a1e4d649107 iwlwifi: mvm: remove DQA non-STA client mode special case
ba3b437ac257 iwlwifi: mvm: don't mess the SNAP header in TSO for non-QoS packets
6a8a1d8ff04f iwlwifi: pcie: reconfigure MSI-X HW on resume
370b3f671b84 iwlwifi: mvm: don't send fetch the TID from a non-QoS packet in TSO
dd9d9e230b3b iwlwifi: mvm: fix mac80211's hw_queue in DQA mode
67f0a8051df7 iwlwifi: mvm: map cab_queue to real one earlier
279ca413640e iwlwifi: mvm: fix mac80211 queue tracking
ac34301b93d9 iwlwifi: mvm: properly enable IP header checksumming
b7e49fba6de4 iwlwifi: pcie: add MSI-X interrupt tracing
073e3ae0697d iwlwifi: mvm: quietly accept non-sta assoc response frames
000225c8540e iwlwifi: mvm: remove version 2 of paging command
01adad1afb4b iwlwifi: move configuration into sub-directory
1c945c0a2365 iwlwifi: move notification wait into fw/
707cab759b03 iwlwifi: create new subdirectory for FW interaction
11498c406c1d iwlwifi: mvm: rename iwl_shared_mem_cfg_v1 to the correct _v2
36d920ab8301 iwlwifi: mvm: fix deduplication start logic
f639f74a16db iwlwifi: mvm: unconditionally stop device after init
6d351ad19e9e iwlwifi: pcie: warn if paging is already initialized during init
f440538d499e iwlwifi: pcie: make ctxt-info free idempotent
b6d799e30c37 iwlwifi: unify external & internal modparam names
da2431c19209 iwlwifi: mvm: support multi tid ba notif
9ef205fbc7f6 iwlwifi: mvm: change when the BT_COEX is sent
ffeceb4d747d iwlwifi: pcie: improve debug in iwl_pcie_rx_handle_rb()
03eb5a5191b5 iwlwifi: mvm: support aggs of 64 frames in A000 family
2385536aa6aa iwlwifi: pcie: improve "invalid queue" warning
15a398ef172d iwlwifi: mvm: use proper CDB check in PHY context modify
864be96cece8 iwlwifi: add twelve new 9560 series PCI IDs
ec6054472dfb iwlwifi: add the new a000_2ax series
968a39b62c95 iwlwifi: mvm: simplify CHECK_MLME_TRIGGER macro
df311987c49c iwlwifi: mvm: change sta_id to u8
883fb2c8e201 iwlwifi: pcie: fix 9000-series RF-kill interrupt propagation
91acf229d6cd iwlwifi: pcie: only apply retention workaround on 9000-series A-step
09a2f42e69fb iwlwifi: dvm: use macros for format strings
7ca1a7dd8f3e iwlwifi: mvm: fix a bunch of kernel-doc warnings
b458b063bc76 iwlwifi: mvm: add documentation for all command IDs
d1790ece9b75 iwlwifi: mvm: use __le16 even for reserved fields
046c12a1dc80 iwlwifi: mvm: remove various unused command IDs/structs
2848902362f0 iwlwifi: mvm: fix various "Excess ... description" kernel-doc warnings
623a8552fda4 iwlwifi: mvm: remove some CamelCase from firmware API
e3b3b727c40d iwlwifi: mvm: Add debugfs entry to retrieve SAR geographic profile
fdc992fb8d18 iwlwifi: mvm: refactor geo init
c5a3a5eefbea iwlwifi: mvm: support TX on MONITOR iface
dc57bda29216 iwlwifi: pcie: work around suspend/resume issue
0ae7c6c46fd8 iwlwifi: mvm: fix typo in CTDP_CMD_OPERATION_REPORT description
c7434aa46639 iwlwifi: pcie: delete the Tx queue timer earlier upon firmware crash
958f6310f57a iwlwifi: pcie: reduce unwanted noise in the logs
47b740d6fdad iwlwifi: mvm: print base HW address during init
576b5f6d20aa iwlwifi: mvm: document assoc_beacon_arrive_time
0f5456ddc9e1 iwlwifi: mvm: reset the fw_dump_desc pointer after ASSERT
143b28afd061 iwlwifi: mvm: set assoc_beacon_arrive_time
277925710d13 iwlwifi: pcie: make iwl_pcie_apm_stop_master() return void
2c60b669ee2f iwlwifi: add a W/A for a scheduler hardware bug
ea2c2d55b740 iwlwifi: mvm: don't mark TIDs that are not idle wrt BA as inactive
6334bb289021 iwlwifi: mvm: reset the HW before dumping if HW error is detected
47cc9c8ef1e2 iwlwifi: pcie: don't disable bh when handling FW errors
c7507a1c27da iwlwifi: mvm: fix nvm_data leak
997a0c1940c0 iwlwifi: remove useless iwl_free_nvm_data() function
85ffc85a8631 iwlwifi: document transmit buffer bits better
b354e56f9170 iwlwifi: mvm: add documentation for enum iwl_debug_cmds
862b5ca77cb7 iwlwifi: mvm: disentangle union in TX status struct
62bcece33632 iwlwifi: mvm: fix fw monitor 7000 HW recollecting
779d40dcefef iwlwifi: mvm: docs: fix enum link, provide TX response link
07654dd35785 iwlwifi: pcie: fix command completion name debug
fe6742b239a5 iwlwifi: fix TX tracing for non-linear SKBs
b45290710c5f iwlwifi: simplify data tracepoint
30c0d59cb96e iwlwifi: mvm: better link scan notification results length
2af91c751cb1 iwlwifi: pcie: use kstrtou32_from_user()
476da255e452 iwlwifi: mvm: support aggregations on A000 HW
9589a1e03918 iwlwifi: mvm: document status bits
ba68df149d76 iwlwifi: pcie: remove pointless debugfs parsing for csr file
69cb66f56e31 iwlwifi: pcie: don't report RF-kill enabled while shutting down
95cf3d6024f3 iwlwifi: mvm: don't warn in queue sync on RF-kill
f29197139bd5 iwlwifi: pcie: add fake RF-kill to debugfs
9d66c60c017c iwlwifi: pcie: pull out common rfkill IRQ handling code
ecc56c4e3f8a iwlwifi: mvm: rs: add logs for the wrong antenna case
9fa7ff152d17 iwlwifi: mvm: make iwl_mvm_update_mcc() easier to follow
5873c905dd46 iwlwifi: mvm: change the firmware name loading
f48b4417b6bb iwlwifi: mvm: support D0I3_END_CMD at the start of resume
db5d313c1366 iwlwifi: mvm: make D0I3_END_CMD sync during system resume
cef60bd42b53 iwlwifi: mvm: track and report IBSS manager status to mac80211
c9592bc2295b iwlwifi: use bitfield.h for some registers
a981c4683faa iwlwifi: mvm: use scnprintf() instead of snprintf()
94da2d3b1962 iwlwifi: pcie: fix TVQM queue ID range check
ffc4fbe862d0 iwlwifi: mvm: remove pointless num_stored condition
fffa02450281 iwlwifi: mvm: avoid unnecessary cache trashing in Tx path
ef694dd2c96a iwlwifi: mvm: Enable security on new TX API
8628d427548a iwlwifi: mvm: disable dbg data collect when fw isn't alive
29e776b74ca4 iwlwifi: remove resp_pkt NULL checks
b697ec7ebaa3 iwlwifi: mvm: remove txq EMPTYING_DELBA state for DQA
c1c666e4b9e1 iwlwifi: remove unnecessary code in iwl_trans_alloc_tx_cmd
aac2dec2caa9 iwlwifi: fw-api: cleanup cycle includes
6d409c70b759 iwlwifi: mvm: remove SCAN_GROUP
57cba4f2c3bb iwlwifi: mvm: link to TX commands in documentation
2792b27534b3 iwlwifi: mvm: document structures used for BEACON_TEMPLATE_CMD
7bafd04ebb12 iwlwifi: mvm: link queue cmd docs to A000 command structs
c99a3509d9a9 iwlwifi: split firmware API from iwl-trans.h
4180802e550f iwlwifi: fix a kernel-doc tag
fee5c3ea3ccc iwlwifi: mvm: clear firmware running bit earlier
1a6cb6ae5305 iwlwifi: mvm: convert ucode_loaded to a status bit
28abcc34d47f iwlwifi: mvm: use schedule_delayed_work()
2b8c8c6a247c iwlwifi: mvm: check firmware is up in debugfs
f2a41abb9acc iwlwifi: mvm: disable prph collection in a000 hw
8945686f242b iwlwifi: pcie: support dumping FH in a000 hw
e8e293176ae2 iwlwifi: add 9000 and A000 device families
3610276b8a6c iwlwifi: mvm: support init flow debugging
ca41111b2b1c iwlwifi: mvm: add TLV for NAN API differentiation
afbea5518455 iwlwifi: add dbgc_supported to transport configuration
acdc73097588 iwlwifi: remove references to 8000 B-step devices
595bbac1c406 iwlwifi: cleanup references to 8000 family in NVM code
11faed6da368 iwlwifi: pcie: add AMSDU to gen2
fcdca8ea1328 iwlwifi: mvm: document RX structures
767327919d86 iwlwifi: mvm: add AMSDU flag to offload assist
f322fb5df757 iwlwifi: mvm: fix many kernel-doc warnings
50cc8892d845 iwlwifi: mvm: remove unused REPLY_MAX
484994be6f9c iwlwifi: kernel-doc: make proper links
118480297594 iwlwifi: mvm: remove unused TX_CMD_NEXT_FRAME_*
d51079922e78 iwlwifi: Add fw_name_pre_rf_next_step to support different rf steps
75ae58fb9f09 iwlwifi: pcie: support page dumping in wrt in gen2
1257922aa9ba iwlwifi: mvm: remove wrt support of page dumps in gen2
dd16d8dd7ffa iwlwifi: mvm: document structures used by commands
c1707f389f38 iwlwifi: mvm: create/name various enums
f7284177ca6b iwlwifi: mvm: disentangle binding command versions
2e2a50a2385b iwlwifi: update device ID for a000 family
1a2dfbdfc6a6 iwlwifi: mvm: add documentation links to various fields
af89f3bcefe0 iwlwifi: mvm: fix some kernel-doc
dd9e1bc0ab78 iwlwifi: mvm: add documentation to some WoWLAN commands
f3a49c387b0c iwlwifi: mvm: disentangle paging command structs
99663cdb5f32 iwlwifi: mvm: use u8 for reserved fields
889c4a104258 iwlwifi: mvm: fix MCC endianness bug
a391ff99187a iwlwifi: mvm: use proper sta_addr in firmware API
27b6fcbdb9dd iwlwifi: mvm: document which group enums are used with which group ID
6eb27e533f68 iwlwifi: mvm: fix endianness in lq_cmd declaration
0fbd3eb814df iwlwifi: mvm: support old method of NVM parsing
dc5fc94c7ad3 iwlwifi: mvm: support getting nvm data from firmware
(From OE-Core rev: 4d4dd482478f7292e97e685a702b8180bade124a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 7e98c295c1bb511e [kernel-yocto: ensure that only a single
defconfig is processed] has an overly broad replacement strategy
for 'defconfig' and hence will chop up any fragment name that
happens to contain that string.
If we change the processing to split on whitespace and drop
any full work 'defconfig' fragments, we'll get the behaviour
we want (no duplicate defconfigs, but fragments with defconfig
in their name are fine).
[YOCTO #12487]
(From OE-Core rev: fd2678190db6575dc909104b60c284d0c41f605f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following bug fixes (mainline backports):
d572780c455f Mips kernel warining:resolve some warning when compiling arch/mips/math-emu/cp1emu.c
f79ac7203257 drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()
(From OE-Core rev: f8b00a49bc6e57aafbfc48ee76d392f4003c5bf7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following backports to enable graphics and audito for
the coffeelake-s board:
e0256c639caf ALSA: hda/realtek - Fix ALC700 family no sound issue
a3bd263fa5f3 ALSA: hda - Add model string for Intel reference board quirk
c12ee7fbc382 ALSA: hda/realtek - Enable jack detection function for Intel ALC700
ff8d2c896572 ALSA: hda: Add Cannonlake PCI ID
88ee594b72e6 ALSA: hda - Fix unbalance of i915 module refcount
c7d38955ce7f ALSA: hda - Fix doubly initialization of i915 component
5ca2b95b131f ALSA: hda - Bind with i915 component before codec binding
648c24f8d385 ALSA: hda - Add AZX_DRIVER_SKL for simplification
f406fd3d0c63 drm/i915/cnl: Implement CNL display init/unit sequence
1e07bbf553c0 drm/i915/cnl: Implement .set_cdclk() for CNL
901336fddca0 drm/i915/cnl: Implement .get_display_clock_speed() for CNL
be7a1f129e42 drm/i915/cfl: Coffee Lake reuses Kabylake DMC.
ee6ac7be14c3 drm/i915/huc: Load HuC on Coffee Lake
35a913347462 drm/i915/guc: Load GuC on Coffee Lake
443e68bbbe46 drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.
0ef98275c834 drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku.
594a1d673403 drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.
8732a393ce1e drm/i915/cfl: Introduce Display workarounds for Coffee Lake.
676a4c1b92ab drm/i915/cfl: Coffee Lake uses CNP PCH.
f5eb462f524f drm/i915/cfl: Introduce Coffee Lake platform definition.
8a3a080c7028 drm/i915/cnl: Also need power well sanitize.
b5620b75db38 drm/i915/cnl: Add power wells for CNL
b747f1806205 drm/i915/cnl: Cannonlake has same MOCS table than Skylake.
fc8aee64eaeb drm/i915/cnl: Configure EU slice power gating.
a9b5e8f00440 drm/i915/cnl: Cannonlake has 4 planes (3 sprites) per pipe
03a55f9a6082 drm/i915/cnl: add IS_CNL_REVID macro
7236995c6b04 drm/i915/cnl: Add Cannonlake PCI IDs for Y-skus.
b2f7e93bcb56 drm/i915/cnl: Add Cannonlake PCI IDs for U-skus.
30c5a76e52a6 drm/i915/cnl: Cannonlake uses CNP PCH.
27bb6860ebf1 drm/i915/cnl: Introduce Cannonlake platform defition.
b4d4cf3529e0 drm/i915/cnp: Panel Power sequence changes for CNP PCH.
ee2e2af1cf34 drm/i915/cnp: add CNP gmbus support
35964d298c7d drm/i915/cnp: Backlight support for CNP.
ccfab7d5ae88 drm/i915/cnp: Get/set proper Raw clock frequency on CNP.
abdbbc6157d7 drm/i915/cnp: Add PCI ID for Cannonpoint LP PCH
87482dfba004 drm/i915/cnp: Introduce Cannonpoint PCH.
(From OE-Core rev: a316b06f4eba9f9996e5f6a7cf122e9cafd31710)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following fixes to CQM and rdt:
6039d7e04ee9 x86/intel_rdt: Turn off most RDT features on Skylake
bda0ec91ba67 x86/intel_rdt: Add command line options for resource director technology
a3c30e14a0c6 x86/intel_rdt: Move special case code for Haswell to a quirk function
8b85cfaa3e71 perf tests: Remove Intel CQM perf test
c52eafb271db x86/intel_rdt: Remove redundant assignment
59eded4485bd x86/intel_rdt/cqm: Make integer rmid_limbo_count static
f353fcc5381a perf test: Add 'struct test *' to the test functions
3ab7007dc138 perf tools: Remove warning()
16373473698d tools: Adopt __printf from kernel sources
1b6df81b0ec0 perf event-parse: Use pr_warning()
49304e0a40bb tools: Adopt __noreturn from kernel sources
404c63ba6ad9 x86/intel_rdt: Fix a silent failure when writing zero value schemata
0ccb572e7d9a x86/intel_rdt: Initialize bitmask of shareable resource if CDP enabled
9e35007e23ea x86/intel_rdt: Add diagnostics when making directories
68cd327250f4 x86/intel_rdt: Add diagnostics when writing the cpus file
d00dfe37ca54 x86/intel_rdt: Add diagnostics when writing the tasks file
63536c68faa4 x86/intel_rdt: Add diagnostics when writing the schemata file
b626cc5e2b2a x86/intel_rdt: Add framework for better RDT UI diagnostics
cf0468526b24 x86/intel_rdt: Remove redundant ternary operator on return
8bba47d15f54 x86/intel_rdt: Modify the intel_pqr_state for better performance
dcddbbf53ff7 x86/intel_rdt/cqm: Clear the default RMID during hotcpu
6d4f2689b04b x86/intel_rdt/cqm: Improve limbo list processing
360834344240 x86/intel_rdt/mbm: Fix MBM overflow handler during CPU hotplug
02a3de9b826d x86/intel_rdt: Show bitmask of shareable resource with other executing units
cb73d2dea025 x86/intel_rdt/mbm: Handle counter overflow
f8886547bdc5 x86/intel_rdt/mbm: Add mbm counter initialization
77d89a70fbea x86/intel_rdt/mbm: Basic counting of MBM events (total and local)
81825b49c811 x86/intel_rdt/cqm: Add CPU hotplug support
e23cf266aac4 x86/intel_rdt/cqm: Add sched_in support
b690bc426fdf x86/intel_rdt: Introduce rdt_enable_key for scheduling
5a810cfc457c x86/intel_rdt/cqm: Add mount,umount support
8ee1a2a746b7 x86/intel_rdt/cqm: Add rmdir support
899eeb375632 x86/intel_rdt: Separate the ctrl bits from rmdir
549388e78852 x86/intel_rdt/cqm: Add mon_data
51d07512e645 x86/intel_rdt: Prepare for RDT monitor data support
41b1dbc8e6d1 x86/intel_rdt/cqm: Add cpus file support
6f2b9b502232 x86/intel_rdt: Prepare to add RDT monitor cpus file support
1cf7f59b18bb x86/intel_rdt/cqm: Add tasks file support
b84af6f5654d x86/intel_rdt: Change closid type from int to u32
0ee69d488d44 x86/intel_rdt/cqm: Add mkdir support for RDT monitoring
58da4f0768cf x86/intel_rdt: Prepare for RDT monitoring mkdir support
ebc3f80d3cdd x86/intel_rdt/cqm: Add info files for RDT monitoring
be500fe614a7 x86/intel_rdt: Simplify info and base file lists
0a60b55c6fdd x86/intel_rdt/cqm: Add RMID (Resource monitoring ID) management
14ddd52ae741 x86/intel_rdt/cqm: Add RDT monitoring initialization
0d2a5b765e74 x86/intel_rdt: Make rdt_resources_all more readable
5ecd779f63d9 x86/intel_rdt: Cleanup namespace to support RDT monitoring
47715abe4ae3 x86/intel_rdt: Mark rdt_root and closid_alloc as static
72c19e0f78e1 x86/intel_rdt: Change file names to accommodate RDT monitor code
1d38ddcfa2b0 x86/intel_rdt: Introduce a common compile option for RDT
7dd744520602 x86/intel_rdt/cqm: Documentation for resctrl based RDT Monitoring
58d3bad357a9 x86/perf/cqm: Wipe out perf based cqm
8f921be6408b perf/x86/intel/cqm: Use cpuhp_setup_state_cpuslocked()
56b2f2883750 perf, bpf: Add BPF support to all perf_event types
(From OE-Core rev: 270bd4ebf0c0c2e3206bea5325c528c99e27aa59)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates that comprise the following
commits:
0cbac004e673 Linux 4.4.99
e8d650563c5f misc: panel: properly restore atomic counter on error path
01000c56cacc target: Fix node_acl demo-mode + uncached dynamic shutdown regression
4063c2093349 target/iscsi: Fix iSCSI task reassignment handling
7ecc076a5d51 brcmfmac: remove setting IBSS mode when stopping AP
d27383faf144 tipc: fix link attribute propagation bug
c8f13916c4c9 security/keys: add CONFIG_KEYS_COMPAT to Kconfig
11fa3353205e tcp/dccp: fix other lockdep splats accessing ireq_opt
6f8048cd59d7 tcp/dccp: fix lockdep splat in inet_csk_route_req()
13eddc67565a tcp/dccp: fix ireq->opt races
b9b0c99a426a ipip: only increase err_count for some certain type icmp in ipip_err
9bae2ffb87d6 ppp: fix race in ppp device destruction
4b5bb7723da1 sctp: reset owner sk for data chunks on out queues when migrating a sock
bcb3b90cf3c8 tun: allow positive return values on dev_get_valid_name() call
5c8a0850bae2 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
93b12f202a4e net/unix: don't show information about sockets from other namespaces
84237c54b239 ipv6: flowlabel: do not leave opt->tot_len with garbage
d552c8c5007a packet: avoid panic in packet_getsockopt()
ef3a12f1dc4a sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
4b27fe34a226 tun: call dev_get_valid_name() before register_netdevice()
196f4755cc82 l2tp: check ps->sock before running pppol2tp_session_ioctl()
71c4a0fc3576 tcp: fix tcp_mtu_probe() vs highest_sack
735818a8b45c tun/tap: sanitize TUNSETSNDBUF input
1e98fd54c356 ALSA: seq: Cancel pending autoload work at unbinding device
b7c625ce6d27 Input: ims-psu - check if CDC union descriptor is sane
de46c1adbea6 usb: usbtest: fix NULL pointer dereference
c93df40f3c73 mac80211: don't compare TKIP TX MIC key in reinstall prevention
cdac2028c901 mac80211: use constant time comparison with keys
6440f0ee8a17 mac80211: accept key reinstall without changing anything
c4e3d53bd9e7 Linux 4.4.98
9c405157269d PKCS#7: fix unitialized boolean 'want'
b01f1d60dd1c x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
4df27e649308 can: c_can: don't indicate triple sampling support for D_CAN
cdb5a2def61c can: sun4i: handle overrun in RX FIFO
493cb19b2522 rbd: use GFP_NOIO for parent stat and data requests
ba4828af60e2 drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
05b690ccb077 Input: elan_i2c - add ELAN060C to the ACPI table
4694272c470a MIPS: AR7: Ensure that serial ports are properly set up
721d4be9e05d MIPS: AR7: Defer registration of GPIO
d0cfebd9b1db tools: firmware: check for distro fallback udev cancel rule
4afaa496d7f3 selftests: firmware: send expected errors to /dev/null
ed1deec127d9 selftests: firmware: add empty string and async tests
c08f3a82f66f test: firmware_class: report errors properly on failure
6004eb4d1adc MIPS: SMP: Fix deadlock & online race
857e81041f69 MIPS: Fix race on setting and getting cpu_online_mask
175c0622ab11 MIPS: SMP: Use a completion event to signal CPU up
207c2143322c MIPS: Fix CM region target definitions
ff8e97326b6a MIPS: microMIPS: Fix incorrect mask in insn_table_MM
1e54b5f72115 ALSA: seq: Avoid invalid lockdep class warning
adc4bacd5164 ALSA: seq: Fix OSS sysex delivery in OSS emulation
4d5b67a54e6d ARM: 8720/1: ensure dump_instr() checks addr_limit
3fc61b8dd6bb KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
48276703a037 crypto: x86/sha1-mb - fix panic due to unaligned access
44540ead8a8a workqueue: Fix NULL pointer dereference
ad8c619750c4 x86/uaccess, sched/preempt: Verify access_ok() context
44e0e2b47af2 platform/x86: hp-wmi: Do not shadow error values
ce93b664540d platform/x86: hp-wmi: Fix error value for hp_wmi_tablet_state
df5371592aca KEYS: trusted: fix writing past end of buffer in trusted_read()
939cafad2f51 KEYS: trusted: sanitize all key material
75f82a703b30 cdc_ncm: Set NTB format again after altsetting switch for Huawei devices
5ffc673161be platform/x86: hp-wmi: Fix detection for dock and tablet mode
f38a3a1c8f1a net: dsa: select NET_SWITCHDEV
581243dc5528 s390/qeth: issue STARTLAN as first IPA command
3652b0b6f2c2 IB/ipoib: Change list_del to list_del_init in the tx object
aa4af0fca101 Input: mpr121 - set missing event capability
0a731928f264 Input: mpr121 - handle multiple bits change of status register
ffa6332b8d80 IPsec: do not ignore crypto err in ah4 input
9ee83b03365a netfilter: nft_meta: deal with PACKET_LOOPBACK in netdev family
cfb2cb34d32e usb: hcd: initialize hcd->flags to 0 when rm hcd
6450c9a96ff3 serial: sh-sci: Fix register offsets for the IRDA serial port
ca2090aa58ba phy: increase size of MII_BUS_ID_SIZE and bus_id
079822da0a00 iio: trigger: free trigger resource correctly
26fa336d69a2 crypto: vmx - disable preemption to enable vsx in aes_ctr.c
30019ca7dc09 ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6
83fe38f2c4a3 powerpc/corenet: explicitly disable the SDHC controller on kmcoge4
158bc64a4dfe iommu/arm-smmu-v3: Clear prior settings when updating STEs
f20065b466d4 KVM: PPC: Book 3S: XICS: correct the real mode ICP rejecting counter
2393241b7a22 drm: drm_minor_register(): Clean up debugfs on failure
4e0d26b22e79 xen/netback: set default upper limit of tx/rx queues to 8
f3170e6607be PCI: mvebu: Handle changes to the bridge windows while enabled
414aa11de923 video: fbdev: pmag-ba-fb: Remove bad `__init' annotation
8a56b1b25e3c adv7604: Initialize drive strength to default when using DT
c54d0707aa09 Linux 4.4.97
2ed81e62b2ab staging: r8712u: Fix Sparse warning in rtl871x_xmit.c
883706dcda17 xen: don't print error message in case of missing Xenstore entry
298455f466cb bt8xx: fix memory leak
4b7a35866b0c s390/dasd: check for device error pointer within state change interrupts
45a012ace954 mei: return error on notification request to a disconnected client
0e97077574c6 exynos4-is: fimc-is: Unmap region obtained by of_iomap()
2d097e5f5c03 staging: lustre: ptlrpc: skip lock if export failed
efa8f1b7a65a staging: lustre: hsm: stack overrun in hai_dump_data_field
2d1d45396585 staging: lustre: llite: don't invoke direct_IO for the EOF case
28a8fc6416ab platform/x86: intel_mid_thermal: Fix module autoload
d1f96c30ce2d scsi: aacraid: Process Error for response I/O
fff544c8cf68 xen/manage: correct return value check on xenbus_scanf()
762d0762b9bb cx231xx: Fix I2C on Internal Master 3 Bus
0806eaf13850 perf tools: Only increase index if perf_evsel__new_idx() succeeds
3b7d9a95ccd3 drm/amdgpu: when dpm disabled, also need to stop/start vce.
dec5fcf11b45 i2c: riic: correctly finish transfers
358008062202 ext4: do not use stripe_width if it is not set
5624ea161040 ext4: fix stripe-unaligned allocations
a76eb0e8655e staging: rtl8712u: Fix endian settings for structs describing network packets
f9776d7ee5f5 mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped
8800aba50292 mfd: ab8500-sysctrl: Handle probe deferral
ed414aeb5291 ARM: pxa: Don't rely on public mmc header to include leds.h
a3e021504fcf mmc: s3cmci: include linux/interrupt.h for tasklet_struct
ba28f16cfa2a PM / wakeirq: report a wakeup_event on dedicated wekup irq
b83c2880b348 Fix tracing sample code warning.
a48fce662380 tracing/samples: Fix creation and deletion of simple_thread_fn creation
ded34f972348 drm/msm: fix an integer overflow test
031b02bc16ae drm/msm: Fix potential buffer overflow issue
6e6eba5ba145 perf tools: Fix build failure on perl script context
fa312b481b2b ocfs2: fstrim: Fix start offset of first cluster group during fstrim
cc7d9933400f ARM: 8715/1: add a private asm/unaligned.h
4e351b8dd8b7 ARM: dts: mvebu: pl310-cache disable double-linefill
581ac5f431c9 arm64: ensure __dump_instr() checks addr_limit
97d64b7f2fdf ASoC: adau17x1: Workaround for noise bug in ADC
618b930317fb KEYS: fix out-of-bounds read during ASN.1 parsing
97c5668c9724 KEYS: return full count in keyring_read() if buffer is too small
d304c9169b38 cifs: check MaxPathNameComponentLength != 0 before using it
8142e9516d5d ALSA: seq: Fix nested rwsem annotation for lockdep splat
70358782743f ALSA: timer: Add missing mutex lock for compat ioctls
27e68f1bca91 Linux 4.4.96
b3d04695be52 Revert "drm: bridge: add DT bindings for TI ths8135"
50044e419e83 ecryptfs: fix dereference of NULL user_key_payload
da0933ceec96 x86/microcode/intel: Disable late loading on model 79
a272dc770f7d regulator: fan53555: fix I2C device ids
120ef1a38f79 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
c1b092102124 can: kvaser_usb: Correct return value in printout
0c3cdb4536d1 can: sun4i: fix loopback mode
62b54cc63a1c scsi: sg: Re-fix off by one in sg_fill_request_table()
6e9abbc96411 scsi: zfcp: fix erp_action use-before-initialize in REC action trace
1cbbd99f3bfe assoc_array: Fix a buggy node-splitting case
2c99438cf66d Input: gtco - fix potential out-of-bound access
31d770a8b887 Input: elan_i2c - add ELAN0611 to the ACPI table
8b396ff8eee7 xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
82e05e935ffd fuse: fix READDIRPLUS skipping an entry
7d74eecca960 spi: uapi: spidev: add missing ioctl header
3505478d6fec usb: xhci: Handle error condition in xhci_stop_device()
da0345d723f0 ceph: unlock dangling spinlock in try_flush_caps()
5f1d33ab4d53 ALSA: hda - fix headset mic problem for Dell machines with alc236
8c812f0335dd ALSA: hda/realtek - Add support for ALC236/ALC3204
fce67b31c7cd workqueue: replace pool->manager_arb mutex with a flag
9b36699635c5 Linux 4.4.95
aa3a0a70bdb8 FS-Cache: fix dereference of NULL user_key_payload
1bb1d4252d1e fscrypto: require write access to mount to set encryption policy
8a004caec12b KEYS: Fix race between updating and finding a negative key
1dda04c761ab fscrypt: fix dereference of NULL user_key_payload
7d9e13d953f2 f2fs crypto: add missing locking for keyring_key access
4db9f1113196 f2fs crypto: replace some BUG_ON()'s with error checks
0f85c0954be4 sched/autogroup: Fix autogroup_move_group() to never skip sched_move_task()
fcc65ab173eb parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
558ca24dc296 parisc: Avoid trashing sr2 and sr3 in LWS code
6f0dee7d9c9b pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
33dea302f9bc KEYS: don't let add_key() update an uninstantiated key
503ef5c070a1 lib/digsig: fix dereference of NULL user_key_payload
2b7e02267d3c KEYS: encrypted: fix dereference of NULL user_key_payload
51ba40fcfd67 rtlwifi: rtl8821ae: Fix connection lost problem
cffdaa65e72f clockevents/drivers/cs5535: Improve resilience to spurious interrupts
b178c94efdfd bus: mbus: fix window size calculation for 4GB windows
260b6739e8b7 brcmsmac: make some local variables 'static const' to reduce stack size
efdcbffb2b16 i2c: ismt: Separate I2C block read from SMBus block read
68c610776cfb ALSA: hda: Remove superfluous '-' added by printk conversion
f9e937124ec2 ALSA: seq: Enable 'use' locking in all configurations
4516069f1b05 drm/nouveau/mmu: flush tlbs before deleting page tables
195674adee57 drm/nouveau/bsp/g92: disable by default
4d56587c28d4 can: esd_usb2: Fix can_dlc value for received RTR, frames
aa629364c0e3 usb: musb: Check for host-mode using is_host_active() on reset interrupt
583a4219841d usb: musb: sunxi: Explicitly release USB PHY on exit
d68b07a19a9e can: gs_usb: fix busy loop if no more TX context is available
f7d8b2e150ee ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
67e25805e748 usb: hub: Allow reset retry for USB2 devices on connect bounce
d012ab210f5f usb: quirks: add quirk for WORLDE MINI MIDI keyboard
d729f29a291f usb: cdc_acm: Add quirk for Elatec TWN3
4512d6503a4d USB: serial: metro-usb: add MS7820 device id
9dff499d8226 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
abe43c97cae2 USB: devio: Revert "USB: devio: Don't corrupt user memory"
af9a9a7bed51 Linux 4.4.94
401231d063c5 Revert "tty: goldfish: Fix a parameter of a call to free_irq"
cdbbea7809ca cpufreq: CPPC: add ACPI_PROCESSOR dependency
c2c6f43e023a nfsd/callback: Cleanup callback cred on shutdown
429a4ac5895d target/iscsi: Fix unsolicited data seq_end_offset calculation
823ba64c5719 uapi: fix linux/mroute6.h userspace compilation errors
028a419869e3 uapi: fix linux/rds.h userspace compilation errors
c7a20ed2951f ceph: clean up unsafe d_parent accesses in build_dentry_path
c128baf6a1bc i2c: at91: ensure state is restored after suspending
d7ecae726698 net: mvpp2: release reference to txq_cpu[] entry after unmapping
693e6513b244 scsi: scsi_dh_emc: return success in clariion_std_inquiry()
9ac38e30f2b0 slub: do not merge cache if slub_debug contains a never-merge flag
315689d2e202 ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock
d3335f5653ec crypto: xts - Add ECB dependency
02744a55ed38 net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs
7bf94b9595cc sparc64: Migrate hvcons irq to panicked cpu
d14591e83b49 md/linear: shutup lockdep warnning
48ca88f93533 f2fs: do not wait for writeback in write_begin
3109615b52ee Btrfs: send, fix failure to rename top level inode due to name collision
4d134d830ea7 iio: adc: xilinx: Fix error handling
5c65ed5c07d7 netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.
743a3ce1e0fd net/mlx4_en: fix overflow in mlx4_en_init_timestamp()
7ed668eeb851 mac80211: fix power saving clients handling in iwlwifi
3e8c1a04d335 mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length
4a464dacc23f irqchip/crossbar: Fix incorrect type of local variables
7e53f0390dbd watchdog: kempld: fix gcc-4.3 build
28eab3db727e locking/lockdep: Add nest_lock integrity test
d44e463c9460 Revert "bsg-lib: don't free job in bsg_prepare_job"
01e3e6315171 tipc: use only positive error codes in messages
685699703a0a net: Set sk_prot_creator when cloning sockets to the right proto
1299f7e17e9e packet: only test po->has_vnet_hdr once in packet_snd
1b6c80e797ee packet: in packet_do_bind, test fanout with bind_lock held
ee534927f0c0 tun: bail out from tun_get_user() if the skb is empty
b5f689d94bc3 l2tp: fix race condition in l2tp_tunnel_delete
110cf3dd4bcc l2tp: Avoid schedule while atomic in exit_net
93040aa17862 vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
d9cb4dc0221e isdn/i4l: fetch the ppp_write buffer in one shot
1a4f1ecdb257 bpf: one perf event close won't free bpf program attached by another perf event
5be6824b9704 packet: hold bind lock when rebinding to fanout hook
aa90be3e1248 net: emac: Fix napi poll list corruption
3483c65090dc ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
5356f7e40d23 udpv6: Fix the checksum computation when HW checksum does not apply
2ec54b21dd7b bpf/verifier: reject BPF_ALU64|BPF_END
dee4506f067a sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
9f5bbe694df1 MIPS: Fix minimum alignment requirement of IRQ stack
c088f7bc3310 drm/dp/mst: save vcpi with payloads
951ba9f6c8b9 percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
(From OE-Core rev: cf63a555ebdcd246df0dcf8dcc433547d196e98f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The aufs4 core code was missing some changes to build against
the 4.9 fs subsystem. This commit resyncs with the upstream
repo, and we can once again build against 4.9.
(From OE-Core rev: d366392ebf0918b6261de05a56c50687144be5e4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates that comprise the following
commits:
b632d710149f Linux 4.9.71
ed70a2212526 ath9k: fix tx99 potential info leak
8f23eb16afd8 icmp: don't fail on fragment reassembly time exceeded
2eb165b9fbb7 IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
0c70b35bf158 RDMA/cma: Avoid triggering undefined behavior
31eb4108e107 macvlan: Only deliver one copy of the frame to the macvlan interface
b64ab3ca9d31 udf: Avoid overflow when session starts at large offset
91e0cf85caea scsi: bfa: integer overflow in debugfs
64da4e8d00f1 scsi: sd: change allow_restart to bool in sysfs interface
1cafdac89191 scsi: sd: change manage_start_stop to bool in sysfs interface
8315bcf841ae rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_disassoc_cmd
6641d3e307f5 rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_createbss_cmd
28e006e14ff9 vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
04d5a2d5d2d0 IB/core: Fix calculation of maximum RoCE MTU
c744ecec01ae scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
f39486bd37ee raid5: Set R5_Expanded on parity devices as well as data.
4fdb10391bca pinctrl: adi2: Fix Kconfig build problem
afeeff4d6156 usb: musb: da8xx: fix babble condition handling
92ad6c13e17e tty fix oops when rmmod 8250
421910e924b6 soc: mediatek: pwrap: fix compiler errors
7745382fe86c powerpc/perf/hv-24x7: Fix incorrect comparison in memord
ab9d25711493 scsi: hpsa: destroy sas transport properties before scsi_host
1723d6668df5 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
237e053346f1 PCI: Detach driver before procfs & sysfs teardown on device remove
8f84f861f99c RDMA/cxgb4: Declare stag as __be32
769bca9339f0 xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
c82209949bba xfs: fix log block underflow during recovery cycle verification
fc4177eacfa6 l2tp: cleanup l2tp_tunnel_delete calls
6a559523ee66 nvme: use kref_get_unless_zero in nvme_find_get_ns
e2fce5a5578d platform/x86: hp_accel: Add quirk for HP ProBook 440 G4
7fab68e1f730 btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
b7ada2c0ea29 arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27
52aaa748a948 Ib/hfi1: Return actual operational VLs in port info query
9102ed6a5f6a bcache: fix wrong cache_misses statistics
c2a0531f59c3 bcache: explicitly destroy mutex while exiting
75f66eeae657 GFS2: Take inode off order_write list when setting jdata flag
026ffaf65879 scsi: scsi_debug: write_same: fix error report
d8914530f247 thermal/drivers/step_wise: Fix temperature regulation misbehavior
019433db872f ASoC: rsnd: rsnd_ssi_run_mods() needs to care ssi_parent_mod
cf16dac8bd98 ppp: Destroy the mutex when cleanup
27f5597c9859 clk: tegra: Fix cclk_lp divisor register
54809e38a629 clk: hi6220: mark clock cs_atb_syspll as critical
47b63ea40ee1 clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
d6b6302c36b5 clk: mediatek: add the option for determining PLL source clock
2850c3ec0d25 mm: Handle 0 flags in _calc_vm_trans() macro
18498f1c7089 crypto: tcrypt - fix buffer lengths in test_aead_speed()
2ed46cbf23fc arm-ccn: perf: Prevent module unload while PMU is in use
c843e9f8f97f xfs: truncate pagecache before writeback in xfs_setattr_size()
03bfadfb0d79 iommu/amd: Limit the IOVA page range to the specified addresses
cb0acb37010c badblocks: fix wrong return value in badblocks_set if badblocks are disabled
dcdca123814c target/file: Do not return error for UNMAP if length is zero
998201fdc5c9 target:fix condition return in core_pr_dump_initiator_port()
a4f54ec403da iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
e086a82a926a target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
abc4b4420af8 platform/x86: intel_punit_ipc: Fix resource ioremap warning
6e5a846d5172 powerpc/ipic: Fix status get and status clear
d7e7c431d621 powerpc/opal: Fix EBUSY bug in acquiring tokens
a463f9c5dfd1 netfilter: ipvs: Fix inappropriate output of procfs
b3b6d1eea0de iommu/mediatek: Fix driver name
9a4bf05126f4 PCI: Do not allocate more buses than available in parent
29a404be7b30 powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
f44d28e0348d PCI/PME: Handle invalid data when reading Root Status
5a7192bc389e dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
03a48dc96505 ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case
9146b10f8cd6 rtc: pcf8563: fix output clock rate
cf53526f3312 video: fbdev: au1200fb: Return an error code if a memory allocation fails
90e2591f6f3f video: fbdev: au1200fb: Release some resources if a memory allocation fails
92c3c7db8336 video: udlfb: Fix read EDID timeout
aecce5fc047a fbdev: controlfb: Add missing modes to fix out of bounds access
0312ab0f0e43 sfc: don't warn on successful change of MAC
da73389e8aa7 HID: cp2112: fix broken gpio_direction_input callback
e15628b293a7 Revert "x86/acpi: Set persistent cpuid <-> nodeid mapping when booting"
25b0b3f2373d target: fix race during implicit transition work flushes
892e4f9bc2e2 target: fix ALUA transition timeout handling
0d34f4770ea1 target: Use system workqueue for ALUA transitions
8f60ef94477c btrfs: add missing memset while reading compressed inline extents
5d460d359abe NFSv4.1 respect server's max size in CREATE_SESSION
88af4e34771c efi/esrt: Cleanup bad memory map log messages
e30b840d4668 perf symbols: Fix symbols__fixup_end heuristic for corner cases
2a47e7de0822 tty: fix data race in tty_ldisc_ref_wait()
70f450fc8610 tty: don't panic on OOM in tty_set_ldisc()
3d57ec51d204 rxrpc: Ignore BUSY packets on old calls
42b6d6e824d3 net: mpls: Fix nexthop alive tracking on down events
fd27dbcae937 net/mlx4_core: Avoid delays during VF driver device shutdown
65bfe003dceb nvmet-rdma: Fix a possible uninitialized variable dereference
571e47760de5 nvmet: confirm sq percpu has scheduled and switched to atomic
af0cee086b09 nvme-loop: fix a possible use-after-free when destroying the admin queue
a8939aac82b0 afs: Fix abort on signal while waiting for call completion
d43dda072544 afs: Fix afs_kill_pages()
856bb4b609ee afs: Fix page leak in afs_write_begin()
833acb3e09db afs: Populate and use client modification time
a3e7a29abf0b afs: Better abort and net error handling
ab2390611619 afs: Invalid op ID should abort with RXGEN_OPCODE
972e7b7cbf5c afs: Fix the maths in afs_fs_store_data()
9329ae4cb10e afs: Prevent callback expiry timer overflow
7da1b85a75d4 afs: Migrate vlocation fields to 64-bit
7286fad15704 afs: Flush outstanding writes when an fd is closed
eaaad7646d3d afs: Deal with an empty callback array
900048089cc1 afs: Adjust mode bits processing
ba47c1597480 afs: Populate group ID from vnode status
c250fae9ad4b afs: Fix missing put_page()
b29c7b7c62d5 drm/radeon: reinstate oland workaround for sclk
2a84fce9b039 mmc: mediatek: Fixed bug where clock frequency could be set wrong
28714e962a71 sched/deadline: Use deadline instead of period when calculating overflow
a2e29113f1ab sched/deadline: Throttle a constrained deadline task activated after the deadline
9cc56a00eab7 sched/deadline: Make sure the replenishment timer fires in the next period
0a4d4dac5e34 sched/deadline: Add missing update_rq_clock() in dl_task_timer()
8d3a318194ec iwlwifi: mvm: cleanup pending frames in DQA mode
a524bb57dd36 Drivers: hv: util: move waiting for release to hv_utils_transport itself
da626b13ce32 drm/radeon/si: add dpm quirk for Oland
1867eb805091 fjes: Fix wrong netdevice feature flags
91510a623baa scsi: hpsa: do not timeout reset operations
0f07e7611184 scsi: hpsa: limit outstanding rescans
c81410a4353d scsi: hpsa: update check for logical volume status
8652baa5a31d ASoC: rcar: clear DE bit only in PDMACHCR when it stops
fd2530a4ee62 openrisc: fix issue handling 8 byte get_user calls
18b39b61b2c6 intel_th: pci: Add Gemini Lake support
3544f57578a6 drm: amd: remove broken include path
4c9c0971271d qed: Fix interrupt flags on Rx LL2
ac04ab9624b5 qed: Fix mapping leak on LL2 rx flow
8de6d7b28d2f qed: Align CIDs according to DORQ requirement
fddc3df7647e mlxsw: reg: Fix SPVMLR max record count
4c8b4e60b575 mlxsw: reg: Fix SPVM max record count
6c548e90a0bc net: Resend IGMP memberships upon peer notification.
889163d75fe5 irqchip/mvebu-odmi: Select GENERIC_MSI_IRQ_DOMAIN
e30ccb5f1c7e dmaengine: Fix array index out of bounds warning in __get_unmap_pool()
46cbe3f51c51 net: wimax/i2400m: fix NULL-deref at probe
2e70c4d5de87 writeback: fix memory leak in wb_queue_work()
d28046fb8c43 blk-mq: Fix tagset reinit in the presence of cpu hot-unplug
143d13d1e6c0 ASoC: rsnd: fix sound route path when using SRC6/SRC9
97b75dad9dd1 netfilter: bridge: honor frag_max_size when refragmenting
38780b9ae45a drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
8fb782bbd212 Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list
817f60ccf72c NFSD: fix nfsd_reset_versions for NFSv4.
0154269f9c12 NFSD: fix nfsd_minorversion(.., NFSD_AVAIL)
063c753ef78b drm/amdgpu: fix parser init error path to avoid crash in parser fini
3d40364d333e iommu/io-pgtable-arm-v7s: Check for leaf entry before dereferencing it
721c136ac278 net/mlx5: Don't save PCI state when PCI error is detected
248cbd97be81 net/mlx5: Fix create autogroup prev initializer
515d78dc0a89 rxrpc: Wake up the transmitter if Rx window size increases on the peer
e85b9bc29b04 net: bcmgenet: Power up the internal PHY before probing the MII
f9ac24794f2e net: bcmgenet: synchronize irq0 status between the isr and task
4c3727f6add5 net: bcmgenet: power down internal phy if open or resume fails
66e522ab02cc net: bcmgenet: reserved phy revisions must be checked first
dc8d63c43af0 net: bcmgenet: correct MIB access of UniMAC RUNT counters
bb5c42a5b1d2 net: bcmgenet: correct the RBUF_OVFL_CNT and RBUF_ERR_CNT MIB values
72cd0c3f6616 bnxt_en: Ignore 0 value in autoneg supported speed from firmware.
ae0ebdba9667 net: initialize msg.msg_flags in recvfrom
6783015096dc userfaultfd: selftest: vm: allow to build in vm/ directory
275314e90c5e userfaultfd: shmem: __do_fault requires VM_FAULT_NOPAGE
9bcd15bdfb61 md-cluster: free md_cluster_info if node leave cluster
9841d7b08ff6 usb: xhci-mtk: check hcc_params after adding primary hcd
215df1f35542 KVM: nVMX: do not warn when MSR bitmap address is not backed
50fc2d4152fb usb: phy: isp1301: Add OF device ID table
bf864220a59c mac80211: Fix addition of mesh configuration element
32e2ae03283b ext4: fix crash when a directory's i_size is too small
6a851bb99e5c ext4: fix fdatasync(2) after fallocate(2) operation
679dbeac0b6b dmaengine: dmatest: move callback wait queue to thread context
744cb5ab3372 eeprom: at24: change nvmem stride to 1
d266817f5028 sched/rt: Do not pull from current CPU if only one CPU to pull
9c537f06d61a nfs: don't wait on commit in nfs_commit_inode() if there were no commit requests
3bdb508d686e xhci: Don't add a virt_dev to the devs array before it's fully allocated
7336f5481f6c Bluetooth: btusb: driver to enable the usb-wakeup feature
cdfe4c0091a8 usb: xhci: fix TDS for MTK xHCI1.1
e081bd0d70bd ceph: drop negative child dentries before try pruning inode's alias
14513e49c43c usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
f3e957266ae5 usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input
b6dbace92ed7 usb: add helper to extract bits 12:11 of wMaxPacketSize
20e825cdf7a1 usbip: fix stub_rx: get_pipe() to validate endpoint number
99542e468b76 USB: core: prevent malicious bNumInterfaces overflow
0d29ae4f5033 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
d760f9034195 tracing: Allocate mask_str buffer dynamically
d1175423ce67 autofs: fix careless error in recent commit
c32e053a11f2 crypto: salsa20 - fix blkcipher_walk API usage
43259d07fceb crypto: hmac - require that the underlying hash algorithm is unkeyed
cd9b59861f9c crypto: rsa - fix buffer overread when stripping leading zeroes
1fb73eae9624 mfd: fsl-imx25: Clean up irq settings during removal
ee52d08d2e09 Linux 4.9.70
349130bb0391 RDMA/cxgb4: Annotate r2 and stag as __be32
b7d3f2b5dca9 md: free unused memory after bitmap resize
93dedcf5a177 audit: ensure that 'audit=1' actually enables audit for PID 1
a625a16c8aea ipvlan: fix ipv6 outbound device
97c668702126 kbuild: do not call cc-option before KBUILD_CFLAGS initialization
eae3f3ab7fb3 powerpc/64: Fix checksum folding in csum_tcpudp_nofold and ip_fast_csum_nofold
9414a6309c72 KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
80c0f4777fd6 fix kcm_clone()
16648cbcd332 usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
47273f0d398d s390: always save and restore all registers on context switch
f8dac5bfbd8e ipmi: Stop timers before cleaning up the module
0cab694ab7bc Fix handling of verdicts after NF_QUEUE
cf00fd3d526c tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv()
0cfe6df93834 s390/qeth: fix thinko in IPv4 multicast address tracking
1d55222b14bd s390/qeth: fix GSO throughput regression
fbf0dfe7ad9f s390/qeth: build max size GSO skbs on L2 devices
aa0080f1ad08 tcp/dccp: block bh before arming time_wait timer
30985e3beb73 stmmac: reset last TSO segment size after device open
564fe3e0e95e net: remove hlist_nulls_add_tail_rcu()
80ad5bd1b45f usbnet: fix alignment for frames with no ethernet header
5471afeef413 net/packet: fix a race in packet_bind() and packet_notifier()
30c573affac8 packet: fix crash in fanout_demux_rollover()
5f218c3fd11a sit: update frag_off info
3259862dd73b rds: Fix NULL pointer dereference in __rds_rdma_map
96b4a8ac9a55 tipc: fix memory leak in tipc_accept_from_sock()
20610f5bbd23 s390/qeth: fix early exit from error path
32436bf375b0 net: qmi_wwan: add Quectel BG96 2c7c:0296
c91efc7862b3 Linux 4.9.69
15b175223e53 afs: Connect up the CB.ProbeUuid
9048b2420e32 IB/mlx5: Assign send CQ and recv CQ of UMR QP
06fea09c0959 IB/mlx4: Increase maximal message size under UD QP
6ceabde66643 xfrm: Copy policy family in clone_policy
74b470ce478a jump_label: Invoke jump_label_test() via early_initcall()
22d2456faefa atm: horizon: Fix irq release error
c488c2e141bc clk: uniphier: fix DAPLL2 clock rate of Pro5
f45f4f8a7cd8 bpf: fix lockdep splat
9904da5a09ce sctp: use the right sk after waking up from wait_buf sleep
1158ecd51ec1 sctp: do not free asoc when it is already dead in sctp_sendmsg
1618400444d0 zsmalloc: calling zs_map_object() from irq is a bug
7da67d1d98f6 sparc64/mm: set fields in deferred pages
1a5a4c6e868f block: wake up all tasks blocked in get_request()
c31bfe7de243 dt-bindings: usb: fix reg-property port-number range
1eeb1edfd3c9 xfs: fix forgotten rcu read unlock when skipping inode reclaim
acbe10423b1a sunrpc: Fix rpc_task_begin trace point
509e9b805c52 NFS: Fix a typo in nfs_rename()
a780a728475d dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
a77c11607593 lib/genalloc.c: make the avail variable an atomic_long_t
e9672477a5f0 drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()'
007e20bd0fdd route: update fnhe_expires for redirect when the fnhe exists
7c4fa0c1c9ca route: also update fnhe_genid when updating a route cache
2388d52d7256 gre6: use log_ecn_error module parameter in ip6_tnl_rcv()
6a8ab06660dc mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
0965ed575190 x86/mpx/selftests: Fix up weird arrays
b96d06e6d6e0 coccinelle: fix parallel build with CHECK=scripts/coccicheck
55042e28b985 kbuild: pkg: use --transform option to prefix paths in tar
7290cfeb4436 EDAC, i5000, i5400: Fix definition of NRECMEMB register
62c12d671c49 EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro
d28faebe8b09 powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested
92527dc32a69 drm/amd/amdgpu: fix console deadlock if late init failed
e8d5b115c6ea axonram: Fix gendisk handling
8818eb851c2d netfilter: don't track fragmented packets
36a14374b568 zram: set physical queue limits to avoid array out of bounds accesses
bc8859174d98 blk-mq: initialize mq kobjects in blk_mq_init_allocated_queue()
567df7459e12 i2c: riic: fix restart condition
e46126e51ee8 crypto: s5p-sss - Fix completing crypto request in IRQ handler
05a59bc2f3c0 ipv6: reorder icmpv6_init() and ip6_mr_init()
f191e15e4acd ibmvnic: Allocate number of rx/tx buffers agreed on by firmware
f3b1f93ed23b ibmvnic: Fix overflowing firmware/hardware TX queue
742e67d2b7ee rds: tcp: Sequence teardown of listen and acceptor sockets to avoid races
d8f147ac75bb bnx2x: do not rollback VF MAC/VLAN filters we did not configure
cdef3be8c7bb bnx2x: fix detection of VLAN filtering feature for VF
f73fcb25f4bb bnx2x: fix possible overrun of VFPF multicast addresses array
ae6b3452faf7 bnx2x: prevent crash when accessing PTP with interface down
c72c7f244265 spi_ks8995: regs_size incorrect for some devices
1ace4dabf624 spi_ks8995: fix "BUG: key accdaa28 not in .data!"
b1f71147a188 KVM: arm/arm64: VGIC: Fix command handling while ITS being disabled
aafb72d2ed55 arm64: KVM: Survive unknown traps from guests
5e366aaec185 arm: KVM: Survive unknown traps from guests
c886f281b9e0 KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset
54e1ae1f21f5 irqchip/crossbar: Fix incorrect type of register size
d32c4dedcc6d scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters
1e7208d75928 scsi: qla2xxx: Fix ql_dump_buffer
757e1845d6c3 workqueue: trigger WARN if queue_delayed_work() is called with NULL @wq
da6a95b0ef82 libata: drop WARN from protocol error in ata_sff_qc_issue()
29deec403d56 kvm: nVMX: VMCLEAR should not cause the vCPU to shut down
2afb2d892c1d usb: gadget: udc: net2280: Fix tmp reusage in net2280 driver
82f79a4423fc usb: gadget: pxa27x: Test for a valid argument pointer
7abf66d78e89 usb: dwc3: gadget: Fix system suspend/resume on TI platforms
8fe9ea81b1e9 USB: gadgetfs: Fix a potential memory leak in 'dev_config()'
59682e70c980 usb: gadget: configs: plug memory leak
881b5d4841fc HID: chicony: Add support for another ASUS Zen AiO keyboard
1bc827aabc70 gpio: altera: Use handle_level_irq when configured as a level_high
c7c866711799 ASoC: rcar: avoid SSI_MODEx settings for SSI8
202c73946455 ARM: OMAP2+: Release device node after it is no longer needed.
d3954c5ced8e ARM: OMAP2+: Fix device node reference counts
4aff02804715 powerpc/64: Fix checksum folding in csum_add()
d57cb693c592 module: set __jump_table alignment to 8
f348a1030eb6 lirc: fix dead lock between open and wakeup_filter
7ae7408c4352 powerpc: Fix compiling a BE kernel with a powerpc64le toolchain
cd662c8e51a1 selftest/powerpc: Fix false failures for skipped tests
0bf8f6e7205a powerpc/64: Invalidate process table caching after setting process table
8c6ebeb4087e x86/hpet: Prevent might sleep splat on resume
4e4a9ebe33a6 sched/fair: Make select_idle_cpu() more aggressive
29dc610cfc7c x86/platform/uv/BAU: Fix HUB errors by remove initial write to sw-ack register
b2cb09597b1f x86/selftests: Add clobbers for int80 on x86_64
93247ff1fafe ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
f14f6fabfb54 vti6: Don't report path MTU below IPV6_MIN_MTU.
5d4d0a95437e ARM: 8657/1: uaccess: consistently check object sizes
7c4615c853fa Revert "spi: SPI_FSL_DSPI should depend on HAS_DMA"
b6c15a7c6e79 Revert "drm/armada: Fix compile fail"
6a53078b9357 mm: drop unused pmdp_huge_get_and_clear_notify()
c2edc33d4abf thp: fix MADV_DONTNEED vs. numa balancing race
7bdd685cef4b thp: reduce indentation level in change_huge_pmd()
5bcb9c842a53 ARM: avoid faulting on qemu
6192f870abf2 ARM: BUG if jumping to usermode address in kernel mode
112b8a8f558d usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT
47ab72034e9d crypto: talitos - fix ctr-aes-talitos
24ab6e7f6b61 crypto: talitos - fix use of sg_link_tbl_len
6bf30e664221 crypto: talitos - fix AEAD for sha224 on non sha224 capable chips
552f74cbd6ec crypto: talitos - fix setkey to check key weakness
5272b0e1c382 crypto: talitos - fix memory corruption on SEC2
bde6667a7df1 crypto: talitos - fix AEAD test failures
3f0597ae9a38 bus: arm-ccn: fix module unloading Error: Removing state 147 which has instances left.
793eed33da5f bus: arm-ccn: Fix use of smp_processor_id() in preemptible context
595aca74c67a bus: arm-ccn: Check memory allocation failure
a0a2f97d0375 bus: arm-cci: Fix use of smp_processor_id() in preemptible context
a39224199e97 arm64: fpsimd: Prevent registers leaking from dead tasks
7df3dbef3dd5 KVM: arm/arm64: vgic-its: Check result of allocation before use
42c3f4c55f10 KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation
cf6668d57a26 KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
6ead44d4b5b8 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
6ed459712e26 arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
63fba9ff76f0 arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
730810d92327 media: dvb: i2c transfers over usb cannot be done from stack
4f128c8aa35b drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
30b18ee253a0 kdb: Fix handling of kallsyms_symbol_next() return value
4a70f07da853 brcmfmac: change driver unbind order of the sdio function devices
8950c982fffd powerpc/64s: Initialize ISAv3 MMU registers before setting partition table
ffb17c0cce84 KVM: s390: Fix skey emulation permission check
bd6a7055b84b s390: fix compat system call table
ff3d4fd5374f smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place
e17f2b51617d iommu/vt-d: Fix scatterlist offset handling
173c8c346587 ALSA: usb-audio: Add check return value for usb_string()
c40457c952ec ALSA: usb-audio: Fix out-of-bound error
20ca63e0968e ALSA: seq: Remove spurious WARN_ON() at timer check
45ddff3ce4e9 ALSA: pcm: prevent UAF in snd_pcm_info
8974b0320cc8 btrfs: fix missing error return in btrfs_drop_snapshot
9cf0eaf88d74 KVM: x86: fix APIC page invalidation
6662a55fa6eb x86/PCI: Make broadcom_postcore_init() check acpi_disabled
3d4696248c08 X.509: fix comparisons of ->pkey_algo
d4f134700c20 X.509: reject invalid BIT STRING for subjectPublicKey
982707eb4ff8 KEYS: add missing permission check for request_key() destination
44acfcb6dd73 ASN.1: check for error from ASN1_OP_END__ACT actions
608845ad4986 ASN.1: fix out-of-bounds read when parsing indefinite length item
8b5106e1d22c efi/esrt: Use memunmap() instead of kfree() to free the remapping
29c3b7a85409 efi: Move some sysfs files to be read-only by root
35b4bfbda54b scsi: libsas: align sata_device's rps_resp on a cacheline
326ebe77f0c5 scsi: use dma_get_cache_alignment() as minimum DMA alignment
4cb4d78c57f8 scsi: dma-mapping: always provide dma_get_cache_alignment
1db069c057a1 isa: Prevent NULL dereference in isa_bus driver callbacks
3aa6d7f8542e hv: kvp: Avoid reading past allocated blocks from KVP file
893fab0c338b virtio: release virtio index when fail to device_register
4b4e6f675846 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
0cdac09e6aee can: esd_usb2: cancel urb on -EPIPE and -EPROTO
d3b72254789f can: ems_usb: cancel urb on -EPIPE and -EPROTO
4665483e4797 can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
d724a677f0c1 can: kvaser_usb: ratelimit errors if incomplete messages are received
561384a9cf17 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
f89682bb3cf2 can: kvaser_usb: free buf in error paths
6a3a713880a5 can: ti_hecc: Fix napi poll return value for repoll
fbe9a14180d6 usb: gadget: udc: renesas_usb3: fix number of the pipes
3781db07c79e Linux 4.9.68
3671e6728f79 xen-netfront: avoid crashing on resume after a failure in talk_to_netback()
08dd03812e8b usb: host: fix incorrect updating of offset
20c315ebabc5 USB: usbfs: Filter flags passed in from user space
545c10375330 USB: devio: Prevent integer overflow in proc_do_submiturb()
d6ab871c432d USB: Increase usbfs transfer limit
05ffc7ed5527 USB: core: Add type-specific length check of BOS descriptors
34ba2f04a480 usb: xhci: fix panic in xhci_free_virt_devices_depth_first
e328dff288e6 usb: hub: Cycle HUB power when initialization fails
0af23e49316d dma-buf: Update kerneldoc for sync_file_create
3a83421d482e dma-buf/sync_file: hold reference to fence when creating sync_file
424bdc5df002 dma-buf/sw_sync: force signal all unsignaled fences on dying timeline
f5e0724e76c2 dma-fence: Introduce drm_fence_set_error() helper
d3b029a44e14 dma-fence: Wrap querying the fence->status
f55d17e9c3af dma-fence: Clear fence->status during dma_fence_init()
9ae85fabdfc0 dma-buf/sw_sync: clean up list before signaling the fence
4496b88c0674 dma-buf/sw_sync: move timeline_fence_ops around
db767404ad09 dma-buf/sw-sync: Use an rbtree to sort fences in the timeline
e82ecb230924 dma-buf/sw-sync: Fix locking around sync_timeline lists
1bf0b23c07f1 dma-buf/sw-sync: sync_pt is private and of fixed size
f14ad42b8743 dma-buf/sw-sync: Reduce irqsave/irqrestore from known context
985b5b238436 dma-buf/sw-sync: Prevent user overflow on timeline advance
fc839ecb8eda dma-buf/sw-sync: Fix the is-signaled test to handle u32 wraparound
b53525eaac55 dma-buf/dma-fence: Extract __dma_fence_is_later()
c13a05a8017b net: fec: fix multicast filtering hardware setup
a767c866735c xen-netback: vif counters from int/long to u64
959b8e0ba293 cec: initiator should be the same as the destination for, poll
017a499be574 xen-netfront: Improve error handling during initialization
c93c09a057b7 mm: avoid returning VM_FAULT_RETRY from ->page_mkwrite handlers
3e550debcf75 vfio/spapr: Fix missing mutex unlock when creating a window
6129fd988225 be2net: fix initial MAC setting
6a9ffb5a87d8 net: thunderx: avoid dereferencing xcv when NULL
3325615d2b50 net: phy: micrel: KSZ8795 do not set SUPPORTED_[Asym_]Pause
c8d6f83d3b6e gtp: fix cross netns recv on gtp socket
d812be828832 gtp: clear DF bit on GTP packet tx
3976dd677e89 nvmet: cancel fatal error and flush async work before free controller
6bd89953fb1f i2c: i2c-cadence: Initialize configuration before probing devices
fe8bdc9b79ee tcp: correct memory barrier usage in tcp_check_space()
49c3164e6d84 dmaengine: pl330: fix double lock
aad54ba21dd8 tipc: fix cleanup at module unload
6313adb8de02 tipc: fix nametbl_lock soft lockup at module exit
e8240244880b RDMA/qedr: Fix RDMA CM loopback
8d4198f8c66b RDMA/qedr: Return success when not changing QP state
dee48e57ae22 mac80211: don't try to sleep in rate_control_rate_init()
cab00a9c16c0 drm/amdgpu: fix unload driver issue for virtual display
b75e47cf8439 x86/fpu: Set the xcomp_bv when we fake up a XSAVES area
05071c058d20 net: sctp: fix array overrun read on sctp_timer_tbl
2001ccb4dea4 drm/exynos/decon5433: set STANDALONE_UPDATE_F on output enablement
4ee340c06bf2 drm/amdgpu: fix bug set incorrect value to vce register
d8a544c92087 qla2xxx: Fix wrong IOCB type assumption
57e76dbbc560 powerpc/mm: Fix memory hotplug BUG() on radix
a88ff235e8ad perf/x86/intel: Account interrupts for PEBS errors
72232a3bc5df NFSv4: Fix client recovery when server reboots multiple times
cda72bbb7bac mac80211: prevent skb/txq mismatch
ee01c59bf838 KVM: arm/arm64: Fix occasional warning from the timer work function
72afbf76344f drm/exynos/decon5433: set STANDALONE_UPDATE_F also if planes are disabled
cca6bca00973 drm/exynos/decon5433: update shadow registers iff there are active windows
9f800573a31b nfs: Don't take a reference on fl->fl_file for LOCK operation
c682ae717759 ravb: Remove Rx overflow log messages
bc13325a2410 mac80211: calculate min channel width correctly
fae478cd9311 mm: fix remote numa hits statistics
71ab86262b66 net: qrtr: Mark 'buf' as little endian
c4081f91981b libfs: Modify mount_pseudo_xattr to be clear it is not a userspace mount
d9a4e70f23c3 net/appletalk: Fix kernel memory disclosure
e3a252a9924c be2net: fix unicast list filling
b4c3022e673a be2net: fix accesses to unicast list
105b403ba0de vti6: fix device register to report IFLA_INFO_KIND
08bd389c9ef8 ARM: OMAP1: DMA: Correct the number of logical channels
9a777021eeb4 ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate
a97b72427e5f net: systemport: Pad packet before inserting TSB
bcc7511ef256 net: systemport: Utilize skb_put_padto()
30bd002c454a libcxgb: fix error check for ip6_route_output()
5eb97be87981 usb: gadget: f_fs: Fix ExtCompat descriptor validation
7468e767d8f2 dmaengine: stm32-dma: Fix null pointer dereference in stm32_dma_tx_status
000e7180633f dmaengine: stm32-dma: Set correct args number for DMA request from DT
d2d74d0e58b2 l2tp: take remote address into account in l2tp_ip and l2tp_ip6 socket lookups
55c050ae5165 net/mlx4_en: Fix type mismatch for 32-bit systems
771c831c1bde dax: Avoid page invalidation races and unnecessary radix tree traversals
2383ba62b535 iio: adc: ti-ads1015: add 10% to conversion wait time
7aa534b8a33f tools include: Do not use poison with C++
a65f24aac76b kprobes/x86: Disable preemption in ftrace-based jprobes
a730e156bb75 perf test attr: Fix ignored test case result
8f6e33aad048 usbip: tools: Install all headers needed for libusbip development
5840a285a1a2 sysrq : fix Show Regs call trace on ARM
7f44b524a0ad EDAC, sb_edac: Fix missing break in switch
61b7a6f1cea3 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
a816a7e1e70b serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
68dfd4dd0900 usb: phy: tahvo: fix error handling in tahvo_usb_probe()
de139e81d350 mmc: sdhci-msm: fix issue with power irq
e042fd0f0318 spi: spi-axi: fix potential use-after-free after deregistration
b3d7cc5a84b4 spi: sh-msiof: Fix DMA transfer size check
ee08fca9a14d staging: rtl8188eu: avoid a null dereference on pmlmepriv
946d33e1e6cd serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
510f6573ef5d m68k: fix ColdFire node shift size calculation
e5f2421df135 staging: greybus: loopback: Fix iteration count on async path
8a95afc48576 selftests/x86/ldt_get: Add a few additional tests for limits
63074a793d69 s390/pci: do not require AIS facility
b0a46089fe81 ima: fix hash algorithm initialization
e4f12192d9e2 USB: serial: option: add Quectel BG96 id
232b47b3c88a s390/runtime instrumentation: simplify task exit handling
65e6599937d1 serial: 8250_pci: Add Amazon PCI serial device ID
6ad14c9c646b usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
3789201628f5 uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
ee23ae915fa7 mm, oom_reaper: gather each vma to prevent leaking TLB entry
0de12a778b92 Revert "crypto: caam - get rid of tasklet"
cffc01d24d25 drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()
48f4d1f7fe48 drm/fsl-dcu: avoid disabling pixel clock twice on suspend
9db9b5f2b1b6 bcache: recover data from backing when data is clean
322e659a03dc bcache: only permit to recovery read error when cache device is clean
284bbc782445 Linux 4.9.67
f990312aaa74 drm/i915: Prevent zero length "index" write
838cdb26a538 drm/i915: Don't try indexed reads to alternate slave addresses
daf3a68d5282 NFS: revalidate "." etc correctly on "open".
a11ca51bf70c Revert "x86/entry/64: Add missing irqflags tracing to native_load_gs_index()"
fb541279bbe0 drm/amd/pp: fix typecast error in powerplay.
5b1c8c96dfab drm/ttm: once more fix ttm_buffer_object_transfer
44df87e6dfad drm/hisilicon: Ensure LDI regs are properly configured.
25abe3a9585e drm/panel: simple: Add missing panel_simple_unprepare() calls
3405805db8bb drm/radeon: fix atombios on big endian
9cd48ba5fc9d drm/amdgpu: Potential uninitialized variable in amdgpu_vm_update_directories()
d316675a9da4 drm/amdgpu: potential uninitialized variable in amdgpu_vce_ring_parse_cs()
b0f63389dab9 Revert "drm/radeon: dont switch vt on suspend"
f425b050254e nvme-pci: add quirk for delay before CHK RDY for WDC SN200
eafbee43b7ec hwmon: (jc42) optionally try to disable the SMBUS timeout
8588eb0ce6a6 bcache: Fix building error on MIPS
53cf83b3c734 i2c: i801: Fix Failed to allocate irq -2147483648 error
19699abea321 eeprom: at24: check at24_read/write arguments
d3da2efa6d9d eeprom: at24: correctly set the size for at24mac402
388d8c9fa371 eeprom: at24: fix reading from 24MAC402/24MAC602
c814d6701b08 mmc: core: prepend 0x to OCR entry in sysfs
0bf4d0517667 mmc: core: Do not leave the block driver in a suspended state
9aad75786e3d KVM: lapic: Fixup LDR on load in x2apic
e02746e22d24 KVM: lapic: Split out x2apic ldr calculation
67945527ee24 KVM: x86: inject exceptions produced by x86_decode_insn
c0a4c22aad0f KVM: x86: Exit to user-mode on #UD intercept when emulator requires
f5477da6c3b0 KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
e18a963b36a0 ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate
dc554abdaee4 mfd: twl4030-power: Fix pmic for boards that need vmmc1 on reboot
aa1a6cf1586b nfsd: fix panic in posix_unblock_lock called from nfs4_laundromat
1c4042591644 nfsd: Fix another OPEN stateid race
1c8ea4145097 nfsd: Fix stateid races between OPEN and CLOSE
c251267c8826 btrfs: clear space cache inode generation always
ba32d7dce43f mm/madvise.c: fix madvise() infinite loop under special circumstances
cebe139e5712 mm, hugetlbfs: introduce ->split() to vm_operations_struct
436f19a2e49e mm/cma: fix alloc_contig_range ret code/potential leak
7031ae2ab37d mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
29bd7003134a ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio
64e916dea413 ARM: dts: LogicPD Torpedo: Fix camera pin mux
(From OE-Core rev: 4a69d067a08822694a90466d8f69a2366967c4f4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gstreamer would attempt to launch gst-plugin-scanner binary installed on the host
if the target binary was failing (and it does, intentionally, fail in our case). Most
of the time the host binary is absent, and so this has no effect, but sometimes
it's present, and so the whole thing (running under qemu) fails.
(From OE-Core rev: 8485438140ce6a8d547137c81961125d4296cd6b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids other do_patch dependencies being overridden.
(From OE-Core rev: b5e94026c754d9015e97487f5c0a5b727ffd4ff8)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2018c release of the tz code and data is available. It follows on the 2018a and 2018b releases, which were published but were not announced until now, due to problems discovered late in their release processes. 2018a had a build-failure typo, and 2018a and 2018b both had problems with ICU and Java, downstream packages which do not support a feature (negative DST offsets) used in 2018a and 2018b. The typo has been fixed, and data changes using negative DST offsets have been reverted pending development of a mechanism to export data to platforms lacking support for such data.
Briefly:
São Tomé and Príncipe switched from +00 to +01.
Brazil's DST will now start on November's first Sunday.
Use Debian-style installation locations, instead of 4.3BSD-style.
New zic option -t.
Changes to past and future time stamps
São Tomé and Príncipe switched from +00 to +01 on 2018-01-01 at
01:00. (Thanks to Steffen Thorsen and Michael Deckers.)
Changes to future time stamps
Starting in 2018 southern Brazil will begin DST on November's
first Sunday instead of October's third Sunday. (Thanks to
Steffen Thorsen.)
Changes to past time stamps
Japanese DST transitions (1948-1951) were Sundays at 00:00, not
Saturdays or Sundays at 02:00. (Thanks to Takayuki Nikai.)
A discrepancy of 4 s in timestamps before 1931 in South Sudan has
been corrected. The 'backzone' and 'zone.tab' files did not agree
with the 'africa' and 'zone1970.tab' files. (Problem reported by
Michael Deckers.)
The abbreviation invented for Bolivia Summer Time (1931-2) is now
BST instead of BOST, to be more consistent with the convention
used for Latvian Summer Time (1918-9) and for British Summer Time.
Changes to build procedure
The default installation locations have been changed to mostly
match Debian circa 2017, instead of being designed as an add-on to
4.3BSD circa 1986. This affects the Makefile macros TOPDIR,
TZDIR, MANDIR, and LIBDIR. New Makefile macros TZDEFAULT, USRDIR,
USRSHAREDIR, BINDIR, ZDUMPDIR, and ZICDIR let installers tailor
locations more precisely. (This responds to suggestions from
Brian Inglis and from Steve Summit.)
The default installation procedure no longer creates the
backward-compatibility link US/Pacific-New, which causes
confusion during user setup (e.g., see Debian bug 815200).
Use 'make BACKWARD="backward pacificnew"' to create the link
anyway, for now. Eventually we plan to remove the link entirely.
tzdata.zi now contains a version-number comment.
(Suggested by Tom Lane.)
The Makefile now quotes values like BACKWARD more carefully when
passing them to the shell. (Problem reported by Zefram.)
Builders no longer need to specify -DHAVE_SNPRINTF on platforms
that have snprintf and use pre-C99 compilers. (Problem reported
by Jon Skeet.)
The build procedure now works around mawk 1.3.3's lack of support
for character class expressions. (Problem reported by Ohyama.)
(From OE-Core rev: 97927956a6629381b54973d01e16c5f039f5e5bb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
removed patches now included in update.
The 2018a through 2018c releases reflect the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes. This announcement has merged the set of changes made by the three releases, to make it easier to see the difference between 2017c and 2018c; please see the 2018c NEWS file for more details about intermediate versions.
Release 2018c - 2018-01-22 23:00:44 -0800
Release 2018b - 2018-01-17 23:24:48 -0800
Release 2018a - 2018-01-12 22:29:21 -0800
Changes to code
zic has a new option -t FILE that specifies the location of the
file that determines local time when TZ is unset. The default for
this location can be configured via the new TZDEFAULT makefile
macro, which defaults to /etc/localtime.
Diagnostics and commentary now distinguish UT from UTC more
carefully; see theory.html for more information about UT vs UTC.
zic has been ported to GCC 8's -Wstringop-truncation option.
(Problem reported by Martin Sebor.)
Changes to documentation and commentary
The zic man page now documents the longstanding behavior that
times and years can be out of the usual range, with negative times
counting backwards from midnight and with year 0 preceding year 1.
(Problem reported by Michael Deckers.)
The theory.html file now mentions the POSIX limit of six chars
per abbreviation, and lists alphabetic abbreviations used.
The files tz-art.htm and tz-link.htm have been renamed to
tz-art.html and tz-link.html, respectively, for consistency with
other file names and to simplify web server configuration.
(From OE-Core rev: aae1131225b92d2f984a2de35b2e21592ae8195d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade curl from 7.54.1 to 7.57.0.
2.Delete CVE-2017-1000099.patch, CVE-2017-1000100.patch, CVE-2017-1000101.patch, CVE-2017-1000254.patch, reproducible-mkhelp.patch, since it is integrated upstream.
3.Remove "do_install_append()" from curl_7.57.0.bb, since curl/curlbuild.h has been removed.
(From OE-Core rev: 215d5677004537fc190b5381157ac8b94db6d7e8)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In ver 1.22:
Fix issue with GPIO handling and Nokia modems.
Fix issue with SIM state callback and AT modems.
Fix issue with data mode and DCD for U-Blox modems.
Fix issue with SMS receive on QMI based Quectel EC21.
Fix issue with HFP support and last call dialed request.
Fix issue with PIM retires handling and Gemalto modems.
Fix issue with atom registration and SIM state handling.
Add support for handling SIM card AID session management.
Add support for handling GSM/UMTS and IMS authentication.
Add support for IP Multimedia Subsystem (IMS) atom.
Add support for MBIM based modems.
(From OE-Core rev: 7f96371566d00d44abf5cbfa012dd11dfa47187d)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2.8.1 -> 2.9
Change in LIC_FILES_CHKSUM is due to change of URL www.freetype.org
from http to https.
(From OE-Core rev: 5545685f0d27d1b7ed840ebf695544d2562c7c0e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGES_DYNAMIC contained an identical set of packages twice.
I suspect this was a result of global search/replace when moving
recipes from eglibc to glibc long time ago.
(From OE-Core rev: 9d0f0fa80ffbafc2d4a1df0fa3ac5d84396a8182)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NSPR 4.18 contains the following changes:
- removed HP-UX DCE threads support
- improvements for the Windows implementation of PR_SetCurrentThreadName
- fixes for the Windows implementation of TCP Fast Open
(From OE-Core rev: cd5086812c55785f5d3c50559f925458e4363b43)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cherry-pick fix from mesa upstream:
23ce168048 link mesautil with pthreads
link mesautil with pthreads to avoid:
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_setname':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:66: undefined reference to `pthread_setname_np'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_join':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:336: undefined reference to `pthread_join'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:48: undefined reference to `pthread_sigmask'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:296: undefined reference to `pthread_create'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask'
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `call_once':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:96: undefined reference to `pthread_once'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_get_time_nano':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:84: undefined reference to `pthread_getcpuclockid'
collect2: error: ld returned 1 exit status
(From OE-Core rev: f878741d22fbd1582039738c21cf86942fb94327)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPM spec files don't distinguish between spec-level license and the primary
package license, so always output the License for every package (defaulting to
the recipe-wide license) and use LICENSE_${PN} if set for the primary package.
As the primary use of package_rpm is to generate built packages, this fixes the
license fields in the generated packages.
[ YOCTO #12057 ]
(From OE-Core rev: 8c333e592fa7a3a887c792ac14e5cde2141b5d35)
(From OE-Core rev: 42e0de37d18f072dc5dcf5dc45cb441e4c2110d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new name is much more consistent with what this actually means. We put
the pieces in place to rename everything a while back but looks like we
forgot to actually do it! Fix that now.
(From OE-Core rev: af9612f5d6b848fceea22d10ee964437299be776)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building various libraries (libc6, libc6-pic, libc6-staticdev, libc6-dbg, ...)
can be non-deterministic because they may be built with two different versions
of intl/plural.c. in two otherwise identical builds. We may or may not re-generate
the file plural.c from the file plural.y, based on bison being installed or not
and based on mtimes of those two files, as the Makefile contains:
plural.c: plural.y
$(BISON) $(BISONFLAGS) $@ $^
If the above rule does not fire, we use a "fallback" plural.c, otherwise
we use plural.c re-generated from plural.y.
The fix is to always require bison to be installed and unconditionally
re-generate plural.c. (This is achieved by touching plural.y).
[YOCTO #12291]
(From OE-Core rev: b79eeb68c6ad7c92a3e54c6f97a8bf49f0098206)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The f2fs filesystem is a newer flash filesystem that is available in
meta-filesystems. This needs a minimum sized blank space to operate
in correctly.
The f2fs has overprovision functionality and when building smaller
filesystems, you actually need more space, therefore under 500M (or so)
double the amount of space needed in order to handle the overprovision
functions in f2fs.
(From OE-Core rev: dec029686a47b574edfce4472fe2167db54398fb)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the primary f2fs utilities are provided by the meta-openembedded
meta-filesystems layer, we disable the testing of that functionality
here.
(From OE-Core rev: f691ed2572e54fa2af04c1569746c36ce04463ee)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a dependency on xz-native and pass '-Z xz' to opkg-build to use xz instead
of gzip when building packages.
(From OE-Core rev: b95b6ba1a2959e2294a8848fa35f20163388eb06)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We patch opkg-build to ignore hard link count changes when archiving, but in the
last upgrade (oe-core 60c9a97) the patch was refreshed to apply but the result
is that opkg-build loses the ability to switch compressor.
Refresh the patch again so that it just adds the error ignoring logic and
doesn't otherwise change the behaviour of opkg-build.
(From OE-Core rev: e8f99fa61fc00c66d216c5f3e5d37ffc42f2574b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 32a30b3edfdb76b554775817f98851f851316fe0)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop xlocale.h patch, merged upstream
* Rework patches from systemd to fix musl build
- comparison_fn_t is glibc specific
- musl does not provide printf.h
- musl does not provide canonicalize_file_name
(From OE-Core rev: 49ebc0acae1c060ab20631b9a7215e14ce150e6d)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Affects glibc < 2.27 including current master
hash 77f921dac17c5fa99bd9e926d926c327982895f7
(From OE-Core rev: a273d099c3bc73736579b7b6ead2572721f16d2a)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
[v2]
Rebased on new master
[v3]
Fix typo in patch status
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Image will be generated for arm64, and no compression for Image in u-boot as
well. So we just put the file into the right place for the rest of the build
to find it.
(From OE-Core rev: ce6337ab4b415ee18360dfe4443a71ab75a60254)
Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Supporting Perl regular expression is disabled with '--disable-perl-regexp'
but the manpage of 'grep' shows the '-P' option and returns below error:
"/bin/grep.grep -o -P 'PATTERN' file
/bin/grep.grep: support for the -P option is not compiled into this \
--disable-perl-regexp binary"
(From OE-Core rev: 8023052653d44a8bbd3618ba700aa260e581036e)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The repository indexes updated during do_populate_sdk_ext and do_populate_sdk
can conflcit. Add the missing lockfile calls for deb/ipk and in the rpm case,
ensure different directories are used for the index for the two sdk cases.
(From OE-Core rev: 5e5569c962c9ebc898eeb5044214e95117b190e1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lvm2 recipe in meta-oe was split, so the libdevmapper library is
provided by the libdevmapper recipe rather than lvm2.
(From OE-Core rev: 68a3ae195998f96e2d8678a6a3733117d490787d)
Signed-off-by: Robert Joslyn <robert_joslyn@selinc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In lookup_recipe, package_info, and list_pkg_files, check if the package
name exists in runtime-rprovides. If so, and the provider package has a
different name than the inputted package, print a note that says the
specified package is in another package's RPROVIDES. If the provider
package has the same name as the inputted package, continue as before.
Fixes [YOCTO 11943]
(From OE-Core rev: f78478f0d0379ea02727c81ad2455207c70d140b)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor functions lookup_recipe and package_info to be consistent with
list_pkg_files. Print the appropriate information as soon as it's found,
rather than storing it in a mappings variable and wait to print after
searching all packages.
(From OE-Core rev: 64d3ce83d5c48d479709b4c1355e23b3768493fb)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The go-dep must be used as native (and consequently as nativesdk)
during the build process. This adds the two variants as supported by
the recipe.
(From OE-Core rev: 2d3084efdcba282388048981ee3a68672241e4df)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implement subnet route creation/deletion in session, e.g.
default via 192.168.100.1 dev eth0
192.168.100.0/24 dev eth0
(From OE-Core rev: d6ac8a53d05124cbe34bc6673cb46091b50c7643)
Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is happened when doing wispr against a HTTPS URL
rather than the default one, i.e.
http://ipv4.connman.net/online/status.html
When gnutls_channel is instantiated, the gnutls_channel->established
has to be initiated as FALSE. Otherwise, check_handshake function
won't work. A random initial value 1 of gnutls_channel->established
will make check_handshake return G_IO_STATUS_NORMAL, when the channel
is actually not ready to be used. The observed behaviours are,
- wispr is getting random errors in wispr_portal_web_result
- ConnMan crashes on exit after those random errors
- when wispr is luckly working, ConnMan doesn't crash on exit
(From OE-Core rev: 2ea983d4a187ac62e703e85dce622f70e309be05)
Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When more than one session are created with the same
"AllowedInterface", connman failed to update nat-
postrouting rules when new IP address was got
(From OE-Core rev: 918754c8e855dea07a49e30b6ff1d3e3dd7530c7)
Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
Warning: failed to load Config_git.pl, something strange about this perl
(From OE-Core rev: de2530a01dfa18919a81b957c01978b42f589f5f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current conflicting use of SDKDEPLOYDIR causes a race between do_populate_sdk
and do_populate_sdk_ext potentially causing the SDK to either go missing or the
build to fail.
(From OE-Core rev: 792cfbab488782a7bd610fc2078077d5497be4d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gdbm module wasnt being built on python3-native showing the following
error during compilation:
Failed to build these modules:
_gdbm
This patch adds the required dependency to fix the compilation problem.
This issue on python3-native caused the manifest creation script to be
unaware of the gdbm library, so this patch also fixes the create_manifest
task for target python, and the manifest file to reflect the changes on
target python as well.
(From OE-Core rev: c47b54aeae5daabb458d6f7118a16257021c1822)
Signed-off-by: Alejandro Hernandez <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runpy allows running modules/scripts with 'python -m foo'
- create explicit python2 and 3 packages rather than the
misc catchall
* python3-setuptools and html.parser RDEPENDS on _markupbase
- add to python3-core rather than misc catchall
* pip3 RDEPENDS on plistlib, http.client
- already packaged in python2, add to python3
- add http/ to -netclient
* "pip3 install" RDEPENDS on encodingds.idna
- encodings.idna packaged in -core, but missing:
- stringprep (move from -codecs to -core)
- unicodedata (move from -codecs to -core)
(From OE-Core rev: 65a85c7db3de8d16ff91a5208a59cc2202d34e5b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
See previous commit (python2 version) for more info, since mostly
everything applies here as well.
Old manifest file had several issues:
- Its unorganized and hard to read and understand it for an average
human being.
- When a new package needs to be added, the user actually has to modify
the script that creates the manifest, then call the script to create
a new manifest, and then submit a patch for both the script and the
manifest, so its a little convoluted.
- Git complains every single time a patch is submitted to the manifest,
since it violates some of its guidelines.
- It changes or may change with every release of python, its impossible
to know if the required files for a certain package have changed
(it could have more or less dependencies), the only way of doing so
would be to install and test them all one by one on separate individual
images, and even then we wouldnt know if they require less dependencies,
we would just know if an extra dependency is required since it would
complain, lets face it, this isnt feasible.
- The same thing happens for new packages, if someone wants to add a new
package, its dependencies need to be checked manually one by one.
Features/Fixes:
- A new manifest format is used (JSON), easy to read and understand.
This file is parsed by the python recipe and python packages
read from here are passed directly to bitbake during parsing time.
- It provides an automatic manifest creation task (explained on previous
commit), which automagically checks for every package dependencies and
adds them to the new manifest, hence we will have on each package
exactly what that package needs to be run, providing finer granularity.
- Dependencies are also checked automagically for new packages
(explained on previous commit).
This patch has the same features as the python2 version but it differs
in the following ways:
- Python3 handles precompiled bytecode files (*.pyc) differently.
for this reason and since we are cross compiling, wildcards couldnt be
avoided on python3 (See PEP #3147 [1]).
Both the manifest and the manifest creation script handle this
differently, the manifest for python3 has an extra field for cached
files, which is how it lets the user install the cached files or not
via : INCLUDE_PYCS = "1" on their local.conf.
- Shared libraries nomenclature also changed on python3, so again, we
use wildcards to deal with this issue ( See PEP #3149 [2]):
- Fixes python3 manifest, python3-core should be base and everything
should depend on it, hence several packages were deleted:
python3-enum, re, gdbm, subprocess, signal, readline.
- When building python3-native it adds as symlink to it called
nativepython3, which is then isued by the create_manifest task.
- Fixes [YOCTO #11513] while were at it.
References:
[1] https://www.python.org/dev/peps/pep-3147/
[2] https://www.python.org/dev/peps/pep-3149/
(From OE-Core rev: 54ac820b8a639950ccb534dcd9d6eaf8b2b736e0)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The reason we have a manifest file for python is that our goal is to
keep python-core as small as posible and add other python packages only
when the user needs them, hence why we split upstream python into several
packages.
Although our manifest file has several issues:
- Its unorganized and hard to read and understand it for an average
human being.
- When a new package needs to be added, the user actually has to modify
the script that creates the manifest, then call the script to create
a new manifest, and then submit a patch for both the script and the
manifest, so its a little convoluted.
- Git complains every single time a patch is submitted to the manifest,
since it violates some of its guidelines.
- It changes or may change with every release of python, its impossible
to know if the required files for a certain package have changed
(it could have more or less dependencies), the only way of doing so
would be to install and test them all one by one on separate individual
images, and even then we wouldnt know if they require less dependencies,
we would just know if an extra dependency is required since it would
complain, lets face it, this isnt feasible.
- The same thing happens for new packages, if someone wants to add a
new package, its dependencies need to be checked manually one by one.
This patch fixes those issues, while adding some additional features.
Features/Fixes:
- A new manifest format is used (JSON), easy to read and understand.
This file is parsed by the python recipe and python packages read
from here are passed directly to bitbake during parsing time.
- It provides an automatic manifest creation task (explained below),
which automagically checks for every package dependencies and adds
them to the new manifest, hence we will have on each package exactly
what that package needs to be run, providing finer granularity.
- Dependencies are also checked automagically for new packages (explained below).
- Fixes the manifest in the following ways:
* python-core should be base and all packages should depend on it,
fixes lang, string, codecs, etc.
* Fixes packages with repeated files (e.g. bssdb and db, or
netclient and mime, and many others).
- Sitecustomize was fixed since encoding was deprecated.
- The JSON manifest file invalidates bitbake's cache, so if it changes
the python package will be rebuilt.
- It creates a solution for users that want precompiled bytecode files
(*.pyc) INCLUDE_PYCS = "1" can be set by the user on their local.conf to
include such files, some argument they get faster boot time, even when the
files would be created on their first run?, but they also sometimes give a
magic number error and take up space, so we leave it to the user to
decide if they want them or not.
- Fixes python-core dependencies, e.g.
When python is run on an image, it TRIES to import everything it needs,
but it doesnt necessarily fails when it doesnt find something, so even if
we didnt know, we had errors like (trimmed on purpose):
# trying /usr/lib/python2.7/_locale.so
# trying /usr/lib/python2.7/lib-dynload/_locale.so
# trying /usr/lib/python2.7/_sysconfigdata.so
while it didnt complain about _locale it should have imported it,
after creating a new manifest with the automated script we get:
# trying /usr/lib/python2.7/lib-dynload/_locale.so
dlopen("/usr/lib/python2.7/lib-dynload/_locale.so", 2);
import _locale # dynamically loaded from /usr/lib/python2.7/lib-dynload/_locale.so
How to use (after a new release of python, or maybe before every OE
release):
- A new task called create_manifest was added to the python package,
which may be invoked via:
$ bitbake python -c create_manifest
This task runs a script on native python on our HOST system, and since
the python and python-native packages come from the same source, we can
use it to know the dependencies of each module as if we were doing it
on an image, this script is called create_manifest.py and in a very
simplistic way it does the following:
1. Reads the JSON manifest file and creates a dictionary data structure
with all of our python packages, their FILES, RDEPENDS and SUMMARY.
2. Loops through all of them and runs every module listed on them
asynchronously, determining every dependency that they have.
3. These module dependencies are then handled, to be able to know which
packages contain those files and which should RDEPEND on one another.
4. The data structure that comes out of this, is then used to create a
new manifest file which is automatically copied onto the user's python
directory replacing the old one.
Create_manifest script features:
- Handles modules which dont exist anymore (new release for example).
- Handles modules that are builtin.
- Deals with modules which were not compiled (e.g. bsddb or ossaudiodev)
- Deals with packages which include folders.
- Deals with packages which include FILES with a wildcard.
- The manifest can be constructed on a multilib environment as well.
- This method works for both python modules and shared libraries used
by python.
How to add a new package:
- If a user wants to add a new package all that has to be done is
modify the python2-manifest.json file, and add the required file(s)
to the FILES list, the script should handle all the rest.
Real example:
We want to add a web browser package, including the file webbrowser.py
which at the moment is on python-misc.
"webbrowser": {
"files": ["${libdir}/python2.7/lib-dynload/webbrowser.py"],
"rdepends": [],
"summary": "Python Web Browser support"}
Run bitbake python -c create_manifest and the resulting manifest
should be completed after a few seconds, showing something like:
"webbrowser": {
"files": ["${libdir}/python2.7/webbrowser.py"],
"rdepends": ["core","fcntl","io","pickle","shell","subprocess"],
"summary": "Python Web Browser support"}
Known errors/issues:
- Some special packages are handled differently: core, misc,
modules,dev, staticdev.
All these should be handled manually, because they either include
binaries, static libraries, include files, etc. (something that we
cant import).
Specifically static libraries are not not supported by this method
and have to be handled by the user.
- The change should be transparent to the user, other than the fact
that now we CANT build python-foo (it was pretty dumb anyway, since
what building python-foo actually did was building the whole python
package anyway), but doing IMAGE_INSTALL_append = " python-foo"
would create an image with the requested package with no issues.
[YOCTO #11510] [YOCTO #11694] [YOCTO #11695]
(From OE-Core rev: 6959e2e4dba5bbfa6ffd49c44e738cc1c38bc280)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "bitbake image -cpopulate_sdk/ext" generates SDK/eSDK for all multilib
variants, so "bitbake lib32-image -cpopulate_sdk/ext" is not needed, and it
doesn't work well, for example:
MACHINE ?= "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
$ bitbake lib32-core-image-minimal -cpopulate_sdk_ext
[snip]
Exception: FileExistsError: [Errno 17] File exists: '/buildarea/lyang1/test_q64/tmp/sysroots-components/core2-64/openssl/sysroot-providers/openssl10' -> '/buildarea/lyang1/test_q64/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/lib32-recipe-sysroot/sysroot-providers/openssl10'
[snip]
The problem is populate_sdk_ext installs all multilib variants, and
extend_recipe_sysroot() handles foo-image depends lib32-foo-image, but doesn't
handle lib32-foo-image depends foo-image, we can use a lot of trick ways to make
it work:
1) Get foo-image's RECIPE_SYSROOT when build lib32-foo-image
2) Handle conflicts with foo-image.do_rootfs
3) Handle conflicts when "bitbake lib32-foo-image foo-image -cpopulate_sdk_ext"
And maybe other potential problems, this looks painful, so just delete the task.
[YOCTO #12210]
(From OE-Core rev: 77144bc808be02deb3351c9c1bf5b4f2b8c3a6ec)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade tiff from 4.0.8 to 4.0.9.
2.Delete CVE-2017-10688.patch, CVE-2017-11335.patch, CVE-2017-13726.patch, CVE-2017-13727.patch, CVE-2017-9147.patch, CVE-2017-9936.patch, since it is integrated upstream.
(From OE-Core rev: df894b523d74f8fd723d1c8fb03f55e46c6af0f5)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- This release features JSON output for many commands and greater
support of offloading to hardware.
- Config is changed to config.mk
(From OE-Core rev: d633f99cbb4b72876953667b23076ade51c063f0)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the cmake class to use Ninja instead of Make by default.
If a recipe is broken with Ninja then the recipe can set OECMAKE_GENERATOR="Unix
Makefiles" to change back to Make.
(From OE-Core rev: bacaa26decb8a1e3fa672e1923954793fde48766)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add OECMAKE_GENERATOR variable to control which generator is used by CMake,
defaulting to the upstream default of Unix Makefiles for now. The other
supported option is Ninja, which is faster than Make for large projects (for
example, using Ninja takes three minutes off webkitgtk:do_compile for me).
(From OE-Core rev: 6e3f719076cab469f56cd1555bd219a5c3fd135d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, we include MESON_C_ARGS in write_config[vardeps], but we
don't include MESON_LINK_ARGS, which also affects meson.cross. In
addition, we include TOOLCHAIN_OPTIONS, from which both are derived.
Add MESON_LINK_ARGS, and remove TOOLCHAIN_OPTIONS, which does not
directly appear in meson.cross and should be pulled in indirectly by
MESON_C_ARGS and MESON_LINK_ARGS.
(From OE-Core rev: 4db37cc8d9139076682e2528d29e92fad2eb1c90)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, CFLAGS and CXXFLAGS are not making it into the compile line.
This is because meson appends CFLAGS/CXXFLAGS from the environment only
for native but not for cross builds (probably to keep cross-builds more
isolated). As a result, we need to make sure these vars goes into
meson.cross. This is similar to what cmake.bbclass does with
OECMAKE_C_FLAGS and OECMAKE_CXX_FLAGS.
Change c_args and cpp_args in meson.cross to include these vars, and
update write_config[vardeps] accordingly.
(From OE-Core rev: f435d1b75d3775f6ec0df6027766008b40209fd7)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE manages all the compile flags, so we don't want meson to inject its
own flags. Currently, it's injecting -O0 and causing build breaks when
security flags are enabled (because _FORTIFY_SOURCE requires an
optimized build and meson defaults to a debug -O0 build).
Add --buildtype plain so meson will not add its own optimization flags.
(From OE-Core rev: 73ff85986d82c8da601d7c7cf9a02961f2f66a09)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 3.10.1 version has been in Dec 13, 2017, and has a great set of
features and improvements since the last upgrade.
The release notes of 3.10 release is available at:
https://cmake.org/cmake/help/v3.10/release/3.10.html
Patches updates:
- cmake-Prevent-the-detection-of-Qt5.patch: so it replaces the sed
command calls inside the cmake.inc
- 0001-FindCUDA-Use-find_program-if-find_host_program-is-no.patch:
merged upstream, so it has been removed.
- support-oe-qt4-tools-names.patch: rebased.
License-checksum-change: added new contributors
(From OE-Core rev: 9e58926f1cea9d5cb18cb923855d1ae98f88a8ac)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the case of a fitImage the this step should be done on the
image use to assemble the fitImage.
(From OE-Core rev: a061c6bfd3a049a2c8d14bcfafd6e1837afb95e5)
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The order of '_append' and '_<override>' matters: '_append' must be
before overrides to have any effect.
Fix this in glib-2.0, so that EXTRA_OECONF is appended instead of
overwritten.
(From OE-Core rev: d5f108349c0c052347b46fb7a8ed30fdec2b15c2)
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we only seed gettext's msgfmt as /bin/false for native builds, explicitly set
USE_NLS to yes in the recipe (as it was previously) for targeget and nativesdk
builds.
(From OE-Core rev: 1b1f382af69a2d63f2ddd526cde430fb68c9ca6e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add it to handle recipe-depends.dot and task-depends.dot. E.g.:
* Print why rpm is built
$ oe-depends-dot -k rpm --why/-w recipe-depends.dot
Because: core-image-sato libdnf libsolv dnf
* Print bzip2-native's depends
$ oe-depends-dot -k bzip2-native --depends/-d recipe-depends.dot
Depends: automake-native gnu-config-native libtool-native quilt-native autoconf-native
* Remove duplicated dependencies to reduce the size of the dot files.
For example, A->B, B->C, A->C, then A->C can be removed. The dot files are too
big, we nearly couldn't use 'dot -T' to generate pictcures for target recipes,
remove the duplicated dependencies makes is it possible.
$ bitbake core-image-sato -g
$ oe-depends-dot -r recipe-depends.dot
Saving reduced dot file to recipe-depends-reduced.dot
$ du -sh recipe-depends*.dot
608K recipe-depends.dot
32K recipe-depends-reduced.dot
It has been recuded from 608K to 32K, now we can generate a picture,
otherwise, it is too big:
$ dot -Tpng recipe-depends-reduced.dot -O
It also can handle task-depends.dot.
(From OE-Core rev: 7dc7860691304d63e7ad728d2180474906fe0a5c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the SRC_URI to point to kernel.org location where
i2c-tools is hosted these days.
Remove Modules.mk since it was used for deprecated binaries
(eepromer, eeprom)
Backported the following patches to fix races during build:
a) 0001-tools-Module.mk-Add-missing-dependencies.patch
b) 0001-i2c-tools-eeprog-Module.mk-Add-missing-dependency.patch
c) 0001-lib-Module.mk-Add-missing-dependencies.patch
(From OE-Core rev: f330e9f64b69de09284da765ca1e869099ec49ae)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.3.7 -> 1.4.0
Removed following upstreamed and backported patches:
1. 0001-stdinc.h-fix-build-with-mingw.patch
2. 0001-Minimal-tweaks-to-compile-with-Visual-C-2015.patch
Change in checksum is due to bump in copyrights to 2018.
(From OE-Core rev: 85e215ca46d8d413c000f0e0675840ab460e4a5b)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Firmware files for VPU and GPU found on various Qualcomm based devices, such as
Dragonboard 410c and/or Dragonboard 820c.
* venus-1.8 and adreno-a3xx firmware are VPU and GPU for Qualcomm APQ8016 SoC
* venus-4.2 and adreno-a530 firmware are VPU and GPU for Qualcomm APQ8096 SoC
(From OE-Core rev: 687d71982a88f1db91316d646ecaeaf07ab88e7a)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove build host references from the internally
generated file version.c. The references get compiled into
executables, which leads to non-reproducible builds.
The removed references (--sysroot, -fdebug-prefix-map) were
only used as part of the `wget --version' which do not have
side effect.
(From OE-Core rev: c7fc89c136311c69bc96edf110e988f1be691781)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some people are no longer working on oe-core, so reassign their packages.
(From OE-Core rev: d4c7091362569af08ea67d57925ffb91579ce3bd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script was unused since yocto-bsp tool had been removed.
(From meta-yocto rev: 594ced59dc80c11d573ae4a16e1aff910a8d9300)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
since it has been fixed upstream.
(From OE-Core rev: 6b87ad5b08004554f08d2f68027908956f3795e1)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There isn't currently any tune available for i686 x86 optimizations.
The tune for i586 doesn't enable i686 specific optimizations, and the
one for core2 enables things that won't work on a i686 CPU (like SSE3).
Make the tune for core2 inherits from this one and move there the
setting of X86ARCH32.
(From OE-Core rev: c08f76ba0654e43074b6b964f728765918dbfb09)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream configure fix for hosts that have multiple users with UID
0 or groups with GID 0.
(From OE-Core rev: f0f92d3d0f42a4a7e521b58dac53e14f9e2572a1)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sort the output to ensure reproducibility.
Fixes [YOCTO #12479]
(From OE-Core rev: 287446f5c0f3108efc0429bf84be45413970b7a8)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Colour value removes in red and additions in green, making it easier to scan the
output for relevant changes.
This adds a --colour option to specify whether colouring should be on, off, or
detected. The default is detected, and depends on whether stdout is a TTY (same
behaviour as git).
(From OE-Core rev: 4208f1546c92f069e432d1865269ce539db8cea7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the latest QEMU release 2.11. Remove all patches that are no longer
required as they have been merged into the 2.11 releaese. One patch had
to be updated to apply to the 2.11 tree.
This also applies a linux user patch to avoid webkitgtk build hangs.
(From OE-Core rev: d6d0d99569e0d8b62a61e27d389e7939af45bab9)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "oldnoconfig" target has been supported since Linux 2.6.36.
According to OLDEST_KERNEL, the oldest kernel currently supported by
OE is 3.2.0, so the fallback to yes '' | make oldconfig is no longer
required.
(From OE-Core rev: 6abee5468e05333fbd9bd5ac8fc203a749ae3b3e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is old and was of it's time, rewrite it to use modernish (we support
Python 3.4, so can't use subprocess.run()) subprocess and re idioms instead.
(From OE-Core rev: 8f7fdab41b8d6aced6753920bb5deed147c9baa8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing code is looking for libraries in all paths which end in ${libdir}.
This caused false-positives for recipes such as lz4 which had files called
/usr/lib/lz4/ptest/usr/lib/liblz4.so, and resulted in lz4-ptest being
incorrectly renamed to liblz4.
Solve this by explicitly looking for ${libdir} etc under the packages-split
directory.
(From OE-Core rev: 7b1896f6f5367010b54c6a8b300db84037734533)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 0.3.2 version has been released in Oct 19, 2017, and has a great
set of features and improvements, as seen in the announcement summary:
,----
| NEW FEATURES:
|
| - Add support for importing from gvt and gb. (#1149)
| - Wildcard ignore support. (#1156)
| - Disable SourceManager lock by setting DEPNOLOCK environment
| variable. (#1206)
| - dep ensure -no-vendor -dry-run now exits with an error when
| changes would have to be made to Gopkg.lock. This is useful
| for CI. (#1256)
|
| BUG FIXES:
|
| - gps: Fix case mismatch error with multiple dependers. (#1233)
| - Skip broken vendor symlink rather than returning an error. (#1191)
| - Fix status shows incorrect reason for lock mismatch when ignoring
| packages. (#1216)
|
| IMPROVEMENTS:
|
| - Allow dep ensure -add and -update when lock is out-of-sync. (#1225)
| - gps: vcs: Dedupe git version list (#1212)
| - gps: Add prune functions to gps. (#1020)
| - gps: Skip broken vendor symlinks. (#1191)
| - dep ensure -add now concurrently fetches the source and adds the
| projects. (#1218)
| - File name case check is now performed on Gopkg.toml and Gopkg.lock.
| (#1114)
| - gps: gps now supports pruning. (#1020)
| - dep ensure -update now concurrently validates the passed project
| arguments. Improving performance when updating dependencies with
| -update. (#1175)
| - dep status now concurrently fetches repo info. Improving status
| performance. (#1135)
| - gps: Add SourceURLsForPath() to SourceManager. (#1166)
| - gps: Include output in error. (#1180)
`----
(From OE-Core rev: d5e1003283f21ed0b3bbe594b24eb4fa1dd27956)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2.4.89 version has been released in Dec 18, 2017, and has a great
set of features and improvements, as seen in the announcement summary:
,----
| libdrm release with leasing and syncobj api updates,
| updated amdgpu marketing ids, amdgpu tests,
| updated uapi headers
| etnaviv updates.
`----
The full announcement can be seen at:
https://lists.freedesktop.org/archives/dri-devel/2017-December/160530.html
(From OE-Core rev: a776a8190d5abee97da8684d4c448e3ed7bb7fb8)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Simply override the install target, instead of reimplementing do_install.
Apart from being neater, this also stops the recipe expecting that cmake is
using the Make backend.
(From OE-Core rev: 9fec5ef920bd63fe3cc2e623add0c7aead95ecae)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't hardcode the targets used in do_compile and do_install, instead build
"all" and "install" by default but respect OECMAKE_TARGET_COMPILE and
OECMAKE_TARGET_INSTALL variables.
(From OE-Core rev: 806765ec466597d38231d4be303cb48c26e21466)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The XZ format is widely used and multiple recipes inside OE-Core
already use it, so making the XZ enabled by default align the
expectation of users. The LZO, on the other side, is commonly used in
embedded systems due its performance so it makes sense to be available
by default.
(From OE-Core rev: 6d24b0bc7ebddd10de5ad8f210b8ed85fc6ae769)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The order was wrong: GST_PLUGIN_SCANNER_1_0 was previously set before
GTKDOC_EXTRA_ENVIRONMENT and so was overriden by upstream setting it
from there. This changes the location of GST_PLUGIN_SCANNER_1_0 setting
to come after GTKDOC_EXTRA_ENVIRONMENT.
(From OE-Core rev: 62e12a4c81e57f955d9e631e27bd64368058da6c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE file contains a list of files and addtional files were added to
the list, license was unchanged.
(From OE-Core rev: f6372633b481fc267c1983a5276616513ec778a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11675]
There was a "hambedded" link that was broken. The link was
intended to show the bitbake.conf file. I replaced it
with the link to show the actual bitbake.conf file.
(Bitbake rev: ec0331cc039ab514d719ed34cec7a0a351c8d52b)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BitBake now fires off one "BuildStarted" event per configuration when
it is configured for multiple configurations (multiconfig). I updated
the bullet item for "bb.envent.BuildStarted()" to indicate that
behavior.
(Bitbake rev: 28720c85e64a56677b71d2170a0a07901d52b180)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In line with the other gettext cleanups, drop the nativesdk-gettext dependency
as it isn't needed (similarly to the previous target gettext dependencies).
This then means we can drop DEPENDS_GETTEXT as there are no other users.
(From OE-Core rev: c43c054cb778e0c5c082996cd6e6c45f5fc9e1bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoids:
Meson encountered an error in file po/meson.build, line 58, column 5:
Can not do gettext because xgettext is not installed.
(From OE-Core rev: 4505c3282fdedd469325e24bd71edb3d2532a1ab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ls.c license checksum is changed, but the license remains the same.
* The backported patch 0001-doc-fix-Up-field-of-realpath-usage-examples.patch
is dropped.
* The new version provides native manual page support, there's no
need to download extra manual page from gentoo site.
* man-decouple-manpages-from-build.patch is removed, as new version
has manual page support in environment lacking of perl.
* hostname is explicitly enabled to keep the same with previous recipe's
behaviour.
* ALTERNATIVE_XXX settings for lbracket.1 are removed as there's no such
file.
(From OE-Core rev: 77c6b5eb7b4b4254a3fc90337e93691baed7cc7e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By removing gettext-native as a build dependency in glib-2.0-native we can delay
the build of gettext-native further. The gettext class will add the dependency
for target builds.
Don't forcibly set USE_NLS=yes so that NLS support is supposedly disabled in
native builds. GLib will then force it back on, but we shouldn't be using it in
any other native recipes so seed the autoconf cache so GLib will run /bin/false
instead of msgfmt. Quite a kludge, but it works and should fail obviously if
the kludge stops being sufficient.
(From OE-Core rev: 1ef45d377519983df827650cd0913e0d2c8a785b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only inherit these classes (and so, add perl-native and python-native to
DEPENDS) if the scripting PACKAGECONFIG is actually enabled.
(From OE-Core rev: 6d56f14a7276f076dfe625bc4d2c16a6a4635153)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 7ea36ee introduced a svc_freeargs() call
that ended up freeing static pointer.
It turns out the allocations for the rmt_args
is not necessary . The xdr routines (xdr_bytes) will
handle the memory management and the largest
possible message size is UDPMSGSIZE (due to UDP only)
which is smaller than RPC_BUF_MAX
(From OE-Core rev: 1d78875de924d794130c86b27ed516a1df40a59d)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Under some conditions, ioctl FIGETBSZ can't return real value.
We can try to use fallback via os.stat() to get block size.
Source of patch:
17365f4fe9
(From OE-Core rev: d8f7cf2d38934c248be91101236f7537d0d31ea7)
Signed-off-by: Dogukan Ergun <dogukan.ergun@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
possible bashism in run.do_install line 163 (should be 'b = a'):
if [ "kernel" == "kernel" ]; then
Fixes "[: kernel: unexpected operator" when not using bash by default,
which causes the default kernel image link to not be created.
(From OE-Core rev: 9d82fffd24742a5eb40bcb9b9ecea01a42be0be6)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ oe-selftest -r devtool.DevtoolTests.test_create_workspace
[snip]
2017-12-20 18:28:59,404 - oe-selftest - INFO - Traceback (most recent call last):
File "/workspace2/lyang1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
return func(*args, **kwargs)
File "/workspace2/lyang1/poky/meta/lib/oeqa/selftest/cases/devtool.py", line 177, in test_create_workspace
self.assertTrue('/workspace' not in result.output, 'This test cannot be run with a workspace layer in bblayers.conf')
AssertionError: False is not true : This test cannot be run with a workspace layer in bblayers.conf
[snip]
$ bitbake-layers show-layers
NOTE: Starting bitbake server...
layer path priority
==========================================================================
meta /workspace2/lyang1/poky/meta 5
meta-poky /workspace2/lyang1/poky/meta-poky 5
meta-yocto-bsp /workspace2/lyang1/poky/meta-yocto-bsp 5
meta-selftest /workspace2/lyang1/poky/meta-selftest 5
There is no workspace layer, but I'm in /workspace2, this patch can fix the problem.
[YOCTO #12442]
(From OE-Core rev: 695b234ea4f034d428f8cffacceabc2b8f00bc74)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The value was hardcoded from the time it couldn't be computed, which
is no longer the case. After C99 'bool' is only defined if stdbool.h
is included, it's implementation defined and not required to be 1, so
caching it doesn't make sense and certain recipes whoose code test
ac_cv_sizeof_bool fail to build.
(From OE-Core rev: 15af2d527d582ef181d6b9c042844aa89f991f0b)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We usually forcibly delete any gettext macros we come across to ensure that the
latest versions we ship are used, but if we're building gettext then it's a bad
idea to delete the gettext macros.
Historically this hasn't been a problem as the top-level gettext configure
doesn't use AM_GNU_GETTEXT so the deletion was never done, but this may change.
(From OE-Core rev: f16657df977e54210774812d4e616403c76eb060)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to Makefile in latest version mean when "make -k runtests" is executed,
it leads to errors like:
| make: *** No rule to make target 'runtest.c', needed by 'runtest.o'.
| make: *** No rule to make target 'SAX.c', needed by 'SAX.lo'.
| make: *** No rule to make target 'entities.c', needed by 'entities.lo'.
| make: *** No rule to make target 'encoding.c', needed by 'encoding.lo'.
Make sure that we don't try to check and compile the tests again on the target.
(From OE-Core rev: 5cf92ca436e1a1ba60fec8b30b6cb3cfd4842bc8)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch chardev-connect-socket-to-a-spawned-command.patch calls
"socketpair". This function is missing in mingw, so the patch
needs to be modified accordingly, otherwise we end up with a broken
mingw build.
While it is possible to simply remove the patch on a recipe level for
mingw platform, it makes more sense to modify the patch itself.
(From OE-Core rev: fd978a5ddf6938404f2043c9f9ede47dcdb47180)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't have /etc/netgroup by default, so do not
cache for netgroup by default to avoid:
nscd[529]: 529 disabled inotify-based monitoring for file `/etc/netgroup': No such file or directory
nscd[529]: 529 stat failed for file `/etc/netgroup'; will try again later: No such file or directory
(From OE-Core rev: 10007bcd30a96470059f9d5b19cf698243486f06)
(From OE-Core rev: 0adedfc2bf8981819fbbf8b1884da44c7082d1a6)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using TARGET_CC_ARCH is inconsistent with CC, which uses HOST_CC_ARCH, and the
rest of meson.bbclass, which uses HOST_PREFIX, HOST_OS, etc.
(From OE-Core rev: 8a61e0c0c53275ebc623296f46676d920b11eb3b)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/tclibc-glibc.inc weakly assigns PREFERRED_PROVIDER
for virtual/libc-locale to glibc-locale, but allows adjusting it if needed.
Hence, bash should not depend on glibc-locale directly, but instead use this
virtual/libc-locale variable.
(From OE-Core rev: 6454c610eb6565360d29334f5f19845758dbf2c6)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make 'wic' image creation tool/command available in eSDK
environment. This would allow eSDK users to manipulate
images within eSDK environment.
[YOCTO #12177]
(From OE-Core rev: 90df6758a9f8753c646b129aa912e3849bf4c987)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we run wic within eSDK:
$ wic create mkefidisk -e core-image-minimal
ERROR: BUILDDIR not found, exiting. (Did you forget to source oe-init-build-env?)
In order to figure out variable values, one must have sourced
the OE build environment setup script. However, when we are in
within the eSDK environment which isn't initialised like the
normal OE build environment, we can't use wic utility with eSDK.
Reference:
https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#wic-requirements
While wic ought to be fixed to be able to run without bitbake
& native tools [YOCTO #11281], but this is a workaround to set
BUILDDIR in the environment so that bitbake environment is setup
for wic to build its required native tools.
(From OE-Core rev: 03fa13a269d2887cc5d13fd474fb39a2be037f2c)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic modules in scripts/lib/ are needed for wic to work, but path to
the python module is not exported in eSDK environment and we were
using an absolutized path of wic script within the sysroots.
We now changed to use real script path instead, where the wic modules
are located. This will also resolved the tracebacks found when running
wic from within the eSDK environment.
Traceback (most recent call last):
File "/tmp/deploy/sdk/poky_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/wic", line 58, in <module>
from wic import WicError
ImportError: No module named 'wic'
(From OE-Core rev: dcea30b885797ece3439cf1201795a975628d664)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic needs a set of tools to be available from sysroots.
wic will find bitbake executable within the environment,
and wic was unable to locate bitbake executable within eSDK
because it wasn't setup with the OE build environment script.
Hence, we need to add bitbake file path into the environment
PATH for wic to be able to discover it and import bb modules.
(From OE-Core rev: 89df0d31c9dd22ceba4c95a2a56ca78e58d871a8)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the scriptpath module in order to standardize the adding of
bitbake and meta/lib path to sys.path.
(From OE-Core rev: 8aba1fd023ce3c6767bf42b9faf9ec14fd7c4d02)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gentoo.osuosl.org mirror doesn't store all versions of pax-utils, so use the
maintainers own mirror which stores them all.
This also means we can remove UPSTREAM_CHECK_URI as the defaults work now.
Thanks to Maxin John for the initial patch.
[ YOCTO #11559 ]
(From OE-Core rev: aa370eee85f25585e91a5fd0030a606142c07e72)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Usually bison-native gets into sysroot through indirect dependencies,
even with RSS. But when bison-native is not in sysroot, due to different
system config, it falls back to using "yacc" instead and fails like this:
| yacc -d parsetime.y
| make: yacc: Command not found
| Makefile:82: recipe for target 'y.tab.c' failed
| make: *** [y.tab.c] Error 127
(From OE-Core rev: e6b350c63720ef3ce8e53b73581a02416cb1f7fe)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly depend on bison-native and flex-native for deterministic builds,
as those are required for the build:
| Makefile.config:129: *** Error: flex is missing on this system, please install it. Stop.
| Makefile.perf:205: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:68: recipe for target 'all' failed
| make: *** [all] Error 2
| Makefile.config:133: *** Error: bison is missing on this system, please install it. Stop.
| Makefile.perf:205: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:68: recipe for target 'all' failed
| make: *** [all] Error 2
In most cases, those dependencies come indirectly via toolchain dependencies,
specifically binutils-cross, which pulls both bison-native and flex-native.
Different setups, such as with external toolchain, would expose this problem,
since correct dependency is not marked explicitly.
The change is build-tested on all qemu architectures.
(From OE-Core rev: 5f4b54a234ad7a859db8a1e23c6892a8b3bc1b52)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to append to DEPENDS else the dependencies on bison/flex-native
are lost, potentially resulting in build failures.
(From OE-Core rev: bead76b50dc60e1b6b39fa5b659a7af44ff91adc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for all stages of the cross/target/canadian compilers
and without it (and with indirect gcc dependencies disabled), the steps
fail. Add missing dependencies.
(From OE-Core rev: e7be4aedd4f1e23c596a8cae0437bc5c187787e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gettext has optional dependencies on libxml2, glib, libcroco and libunistring.
If they're not available then gettext will use internal copies, but it can also
use system libraries.
For gettext-native and nativesdk-gettext continue to use the internal copies to
reduce the dependencies, but for target use the system shared libraries.
Also gettext 0.19.7 onwards swapped expat for libxm2, so remove the build
dependency on expat.
(From OE-Core rev: a82aa376a9229428ec25629e97a1efa56f0afae7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-glib-2.0 doesn't build-depend on nativesdk-gettext, but all variations
need to depend on gettext-native as they need msgfmt (so gettext-minimal-native
isn't an option).
Also add virtual/libintl as glib explicitly needs this. Generally this is
provided by glibc but some platforms (such as MinGW) don't.
(From OE-Core rev: 8b0ca0cb54c91611213556bdb99316d5e7ac5b3b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using host gpg has been problematic, and particularly this removes
the need to serialize package creation, as long as --auto-expand-secmem
is passed to gpg-agent, and gnupg >= 2.2.4 is in use
(https://dev.gnupg.org/T3530).
Sadly, gpg-agent itself is single-threaded, so in the longer run
we might want to seek alternatives:
https://lwn.net/Articles/742542/
(a smaller issue is that rpm itself runs the gpg fronted in a serial
fashion, which slows down the build in cases of recipes with very
large amount of packages, e.g. glibc-locale)
Note that sstate signing and verification continues to use host
gpg, as depending on native gpg would create circular dependencies.
[YOCTO #12022]
(From OE-Core rev: 08fef6198122fe79d4c1213f9a64b862162ed6cd)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The entries of the created manifest file are always in a
different order. To ensure a deterministic build output
the entries are ordered alphabetically.
(From OE-Core rev: f3b753943d0c886a2a158247d2ea02867f3c0dae)
Signed-off-by: Michael Blättler <michael.blaettler@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The PACKAGE_INSTALL is only used by image recipe, the previous code had
handled it in "if bb.data.inherits_class('image', d)", handle it again
doesn't make any sense (there is no PACKAGE_INSTALL for non-image
recipe), so remove it.
(From OE-Core rev: 6b25c76da51180da7c97308d5f8f5558c68cdca3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It only substituted staging_target for target recipe which didn't work
for multilib, for example, postinst-useradd-lib32-polkit:
* No multilib:
PATH=/path/to/tmp-glibc/work/core2-64-wrs-linux/polkit/0.113-r0/recipe-sysroot-native/bin
staging_target=/path/to/tmp-glibc/work/core2-64-wrs-linux/polkit/0.113-r0/recipe-sysroot
The PATH would be substituted to:
FIXMESTAGINGDIRTARGET-native/bin
Not the funny "-native/bin", this works well.
* When multilib:
PATH=/path/to/tmp-glibc/work/core2-32-wrsmllib32-linux/lib32-polkit/0.113-r0/recipe-sysroot-native/bin
staging_target=/path/to/tmp-glibc/work/core2-32-wrsmllib32-linux/lib32-polkit/0.113-r0/lib32-recipe-sysroot
Now staging_target endswith "/lib32-recipe-sysroot", so it can't
replace '/recipe-sysroot-native' in PATH , so PATH can't be fixed, and
there would be build errors when building multilib + rm_work, for
example:
chown: invalid user: ‘polkitd:root’
Substitute staging_host for target recipe can fix the problem, now all
of native, cross and target need substitute staging_host, so we can
simply the code a little.
(From OE-Core rev: 087510795331fa21ff52f103269087c06b1660fa)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we migrated rpm v5 -> v4, we lost the ability to drop "per file"
dependencies from the rpm backend for things like "/bin/bash" and
"/usr/bin/env" which meant the sdks were becomming 'bloated'.
This restores the functionality using a dummy package, similarly to
the way the buildtools perl issue was addressed. It also removes
the non-functional old code so as not to confuse people in future.
I ran into this problem trying to filter dependencies to only rpms
a build directly depends upon and it turns out we have some determinism issues
in this area so this is something key to fix.
(From OE-Core rev: 9d490dc01dcedb216129b22cbe17a6c99efc4f5c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can end up with / in dependency names from file dependencies but the
deb format doesn't allow this. Filter the names to allow such dependencies
to work. Names have to start with an alphanumeric digit so also handle this.
This allows for future handling of "per file" dependencies similarly to
the rpm backend, bring parity to the functionality of the backends.
(From OE-Core rev: fc08972688d784f561c8be88d3100d6baaf22070)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These were added to the avahi-dev package back in 2011 before avahi-ui existed
at all. The problem of GTK+ being pulled in via avahi-dev was finally solved
with the avahi-ui split, so these explicit (and by being manually maintained,
incomplete) dependencies can be removed.
This also results in gettext-dev being removed from the dependency tree (the
gettext library API is provided by glibc/musl), which means that for a standard
image we don't need to build target gettext at all anymore.
(From OE-Core rev: 00ae3e03185f1044f3610dc7ba7da7bd3beb868a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that oe-core only has one copy of m4, there's no need to maintain two inc
files.
(From OE-Core rev: a67391afd7fe8b7dc40e49c66cfd6250a077361c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DEPENDS_GETTEXT defaults to gettext-native, so there's no need to set it again
in these classes.
(From OE-Core rev: 5e4b1915e7a5a94d410c5292b5ed2f447c82b18a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added in 2007 to solve unspecified build errors, but the autotools
support has improved a lot since then and nothing breaks with it removed.
(From OE-Core rev: 8b5243a7771f728fd34a7466ab24e9ff98d20d84)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In native builds USE_NLS is set to 'no' so the gettext class will handle adding
gettext-minimal-native to DEPENDS.
(From OE-Core rev: ab49d1c03ba3e473a0da6a800d00b2ceba8e855a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
m4.patch was added before 2005 (history isn't in git, only BitKeeper) and
doesn't appear to be needed anymore.
Also add a comment to clarify why acpaths is required.
(From OE-Core rev: 1ef90df9c5cc628c885897027d8c5ec6f318d68e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of globally clearing EXTRA_AUTORECONF (which by default currently
contains --exclude=autopoint) use _remove to selectively remove the piece we
care about.
(From OE-Core rev: 93fe0f5044d30407c9afc69cbb570a82b6c82e5d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a fetcher, e.g., git, is run when pseudo is active it will think it
is running as root. If it in turn uses ssh (as git does), ssh too will
think it is running as root. This will cause it to try to read root's
ssh configuration from /root/.ssh which will fail. If ssh then needs to
ask for credentials it will hang indefinitely as there is nowhere for it
to ask the user for them (and even if there was it would not access the
correct private keys).
The solution to the above is to temporarily disable pseudo while
executing any fetcher commands. There should be no reason for them to be
executed under pseudo anyway so this should not be a problem.
RP Ammendum:
We finally did get more information about how to reproduce this problem,
something needs to trigger bb.fetch2.get_srcrev() in a pseudo context,
for example when AUTOREV is in use or the recipe doesn't have a defined
SRCREV. That SRC_URI needs to be using protocol=ssh. This would trigger
an ls-remote of the remote repo and if that happens under pseudo, the
wrong ssh credentials may be attempted which can hang.
[YOCTO #12464]
(Bitbake rev: ceaca281cafa662aa2385b95641bce309dce843d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cfg property on events doesn't add much, all code appears to access
"data" at this point. Remove it to clean up the interface.
(Bitbake rev: bd4b9e4460b60f142c3bf346fb04e360e512eaee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure build host references do not end up being compiled in the image.
This only affects libicutu and icu-dbg.
(From OE-Core rev: e9dfe7eb7f61b909ae7d034e80cfbebc1fad018b)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve reproducibility: Remove all build host references from
distributed files.
Do not package non-linux OS related files.
Also remove some additional files not needed by run-ptest. (There are
probably still more files that can be removed, but as long as they
don't leak build host references they are harmless).
Fix the expected checksum of MakeMaker/lib/ExtUtils/Liblist/Kid.pm
to match the one expected: We modified the file, but did not
recalculate/update the file checksum accordingly.
(This fixes the only failing test.)
(From OE-Core rev: 497b28d9ff0c094768462991709bfb19efa0fa56)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove various build host references scattered within
comments in numerous files that are distributed in the package.
(From OE-Core rev: a924ea675de846f9582a9a6a9b334be1f74f826d)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't have latex2man in HOSTTOOLs so documentaion is never built but this
dependency does cause problems on older releases like morty, pre-HOSTTOOLS.
Document the configuration explicitly in master.
(From OE-Core rev: 95a5ab819df324e7ec8068bb3575e55cad022e3a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4.9 and 4.12.
(From meta-yocto rev: f77e7b8c816742fbf5790f11997746958c593f1e)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
seds can get stale without warning and repeated application can cause problems,
so move the gtk-doc seds into a patch.
(From OE-Core rev: a704411ab0f1e5f8cbf57ff54b36d60ccaf0d223)
(From OE-Core rev: e0a4e78b879eeacff8ef6803c1345056abf018e7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake.bbclass now ensures that ${datadir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.
(From OE-Core rev: bb70e05e709d1e1bb1e2a490d1de244fba703f54)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake.bbclass now ensures that ${libdir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.
(From OE-Core rev: 24ff3202f9177bc9f2186404ca7abda01d09580f)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake.bbclass now ensures that ${libdir}/cmake and ${datadir}/cmake end up
in the dev package, so this recipe doesn't need to do so itself.
(From OE-Core rev: f6b4f06c5b11860f02b896286471b5cbb57b66ae)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake.bbclass now ensures that ${libdir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.
(From OE-Core rev: d860e2f36f3561532972edd04062392a40a0c8d6)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake.bbclass now ensures that ${datadir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.
(From OE-Core rev: f8f260aae265c682e404b0e89615fb6ef5b76601)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various recipes that inherit cmake contain FILES_${PN}-dev magic to add the
generated package files to their -dev packages. Since this is a standard
feature of cmake, we might as well teach cmake.bbclass to do this itself so
those recipes can be simpler.
(From OE-Core rev: d91dc4666683a96e9d03cbbd21b8a546f9069c93)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this the paths to git-make-shallow are incorrect and cause test
failures if bitbake isn't executed from cwd or PATH.
(Bitbake rev: 643eacb162b8710330ef292bfda21cfeab97f95c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change adds EventClassesTest class to bb/tests/event.py,
including 47 new test cases for the public interfaces of the
bitbake event and related helper classes.
[YOCTO #10773]
(Bitbake rev: ee5fe4431713b8a29bdb424a29460965374b3234)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change includes unit tests for the following functions,
helper class and methods in bitbake.event:
- set_eventfilter(func)
- set_UIHmask(handlerNum, level, debug_domains, mask)
- getName(e)
- class UIEventFilter(object)
def __init__(self, level, debug_domains)
def update(self, eventmask, level, debug_domains)
def filter(self, event)
[YOCTO #10773]
(Bitbake rev: 4a19dde704fd0bf262ea991ef530f991a4897d31)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are several different manuals by now, all of which produce
output. The "eclipse" directory might even have been present the last
time .gitignore was updated.
Ignore the files and directories that can be generated during "make
DOC=<directory>" as well as "make DOC=<directory> pdf". While at it,
make sure the patterns only match for the top-level documentation
directory.
Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It had been removed since 2011:
commit b774bf44ef004276da12a83ebd69715c00b596ac
Author: Lianhao Lu <lianhao.lu@intel.com>
Date: Tue Aug 16 16:26:49 2011 +0800
package(_ipk).bbclass: opkg using ALL_MULTILIB_PACKAGE_ARCHS
(From OE-Core rev: e03cfb5a04e359c0bacb002dc80f3348301445d3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can make debug easier, for example, makes it easy to run the
command mannually.
(From OE-Core rev: 220b912237da78d257c5310bd07db89489afede1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It had been dropped by:
commit 65581c68d130fa74d703f6c3c92560e053857ac7
Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Date: Mon Feb 13 16:44:48 2017 +0200
rootfs_rpm.bbclass: migrate image creation to dnf
(From OE-Core rev: 38df1653da65a8a4e5f84b369b699307d5b4fc4f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise it doesn't work since SYSTEMD_SERVICE_volatile-binds is not defined
when multilib.
(From OE-Core rev: ccdc709655470af942afccda879e6f8484bebc5e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It had a problem when nested layer before, e.g.:
layer_a/layer_b/
And when layer_b is handled before layer_a, then layer_a dir existed, so
it would be treated as already handled, which was wrong, check
conf/layer.conf can fix the problem.
(From OE-Core rev: 2eaefa0c3ae589111266c7d6822428ad910415f4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous code:
os.rename(sdkbasepath, temp_sdkbasepath)
try:
foo
finally:
os.rename(temp_sdkbasepath, sdkbasepath)
always renamed the path, it made the debug harder when error happened.
drop the "try: finally" makes the debug easier.
(From OE-Core rev: 32126512349d65f0dbc31196c4ec6e1a1147cf5e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise it would generate lines like the following when multilib:
INHERIT += "own-mirrors"SSTATE_MIRRORS += " \n file://.* file:///path/to/../share/sstate-cache/PATH"
(From OE-Core rev: 65b2a0e1ba7e176f3e405ed8968665660fc414d3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is very useful for debugging. The similar to testsdk.bbclass.
(From OE-Core rev: de30b61b87047f61de4629f8e5bd87598de7fd0c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pulse is added as a system user, so the group 'pulse' is
meant to be a system group as well, which is the same with
other distros like ubuntu/centos.
(From OE-Core rev: 1bd599eae46127115ecf5c45c70d7f60d1209c94)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The packages loosely follow the debian package names. In that way more
projects, e.g. Qt5 for 16-bit, are able use system libraries. This does
not change the existing default package.
(From OE-Core rev: 5ce6409fd588605648a51bd2f5825fd9ae147f79)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have a recipe which does not include SRCPV in PV but does set
SRCREV = "${AUTOREV}" and you run do_fetch, then change the repo to a
new commit then run do_unpack, do_unpack will fail since the new commit
doesn't exist in the repo that was fetched.
The problem is the revision chosen is not represented in the do_fetch
task hash. It if were, the fetch would rerun first and the commit would be
present. It works when PV includes SRCPV since that does contain the chosen
commit from the AUTOREV.
The solution is to include the SRCPV value into the representation of AUTOREV
used for checksum calculation purposes.
Add a selftest for this issue.
(From OE-Core rev: 7b8ee9285a197784d51e339f1603240f49435846)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To make it easier to debug problems with renaming caused by debian.bbclass,
explicitly log when packages are renamed.
(From OE-Core rev: 2c27df943035b4df7c5d0be1ab8d0f4f3a31f4d2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe installs the test suite by copying the entire build tree into
/usr/share/ptest, which is both wasteful and breaks packaging as lz4-ptest then
gets renamed by debian.bbclass to liblz4.
(From OE-Core rev: b1ef094bc0bba54bd54b03c0a3c082d9b6025895)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the gtk-doc API documentation is enabled (via the api-documentation DISTRO_FEATURE, typically) this recipe fails to build:
WORKDIR/build/docs/validate/gst-validate-scan: line 117:
WORKDIR/build/docs/validate/.libs/lt-gst-validate-scan:
No such file or directory
Forcibly disable the gtk-doc for now.
(From OE-Core rev: 5d221ff20dffb2e119047f931e270b5a0ebf2ae1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We see occasional network glitches which break this test. Use our own
mirror (which has a .gz instead of .bz2) to avoid the errors, we're not
trying to test network connectivity.
(From OE-Core rev: 038d7270aef0cccf87d50a117160c58261beb9b9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For various reasons we need to be able to set and override this from
auto.conf on our test infrastructure. We have tried forcing the variable
but this then breaks other selftests. In the interests of not complicating
things further and needing to modify the tests across releases, weaken
the default assignment.
(From meta-yocto rev: be0a707eea3f0015eb7e2df2d1fd07164c2a627d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to using current repository, switch to meson (following
upstream), rename the recipe like upstream.
Add a patch to install the player binaries.
(From OE-Core rev: ac695195077dd12e41f6104e5cc77ec2cf03af11)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop autotools-specific patches.
Rename polkit packageconfig option to sysprofd as 'polkit' does not
at all match what is happening.
Remove --enable-compiler-warnings, as the equivalent in meson
could not be found.
(From OE-Core rev: 2c2684c8338bf4bb9f08951a3fdd0ee194a88db4)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop libunwind option, as it is only used if tests are enabled
(and they're unconditionally not enabled).
(From OE-Core rev: 77119831bebfcb6fbb77f5f71351666dd99483e9)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to work around absence of dlvsym() on musl
(wasn't previously a problem as autotools weren't building tests by default)
(From OE-Core rev: aaa523e87c73abc2cf8cf3ea55d9e2c6789d3b9a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that meson flags for gobject introspection and gtk-doc
appear to be non-standardized; going forward we should devise
a common way to deal with it.
gettext inherit is removed, as there is no equivalent functionality
in meson; NLS bits are always built and installed.
(From OE-Core rev: 3d63c2cd2e8da0206297c69cdbdbf2688c13a9be)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the meson crossfile should take care of setting the right cross
environment for a target build, meson slurps any set CFLAGS, CXXFLAGS,
LDFLAGS, and CPPFLAGS from the environment and injects them into the
build (see mesonbuild/environment.py:get_args_from_envvars for details).
This means that we are seeing native CFLAGS, CXXFLAGS, LDFLAGS, and
CPPFLAGS in the target build, which is wrong and causes build failures
when target and native have libraries in common (the linker gets
confused and bails).
That said, we *do* need to set certain vars for all builds so that meson
can find the right build tools. Without this, meson will fail during its
sanity checking step because it will determine the build tools to be
unrunnable since they output target instead of native artifacts.
The solution to all of this is to set CC, CXX, LD, and AR globally to
the native tools while setting the other native vars *only* for the
native build. For target builds, these vars will get overridden by the
cross file as we expect.
(From OE-Core rev: de7ae028c65a978969b2e06fdc1a2d08bc141a5b)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gnomebase.bbclass hardcodes the autotools inherit, so make it
configurable and allow meson to be specified instead.
(From OE-Core rev: 32c2faf394ba7bf75a7273fb9f5e58cc4ee3f3ad)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
[RP: patches tweaked to only need the one class]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove various build host references from packages:
libstdc++
libstdc++-staticdev
gcc-runtime-dbg
The references are removoved by correctly setting various compiler
-fdebug-prefix-map settings. There are two main issues:
The default DEBUG_PREFIX_MAP variable references WORKDIR, however,
gcc sources are in a shared folder (work-shared)/
Additionally, DWARF info seems to store symlink names but gcc
seems to resolve symlink names referenced in -fdebug-prefix-map.
(From OE-Core rev: 04748af752b7f9d79ee4add67141d6c891f3bdbe)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use gzip compression without timestamps in the metadata.
(Use gzip -n).
(From OE-Core rev: d322f3300e029addaca54755abf0728ac079569d)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve binary reproducibility of RPM packages.
Ensure timestamps in RPM packages are not later than the value
of SOURCE_DATE_EPOCH. If SOURCE_DATE_EPOCH is not set,
timestamps are not clamped.
(From OE-Core rev: 225a7156d1fb2fbffadf38e4f4e491f053358082)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit "glib-2.0: Add python3 modules required by gdbus-codegen"
(26af3b4b33a34d7e53059b07236f9d5aae5e004a) broke the MinGW build of
QEMU. To fix the build remove the python3 RDEPENDS for gdbus-codegen
when targeting mingw.
(From OE-Core rev: 22495951d4caaaf1ead219be8cfad3311cebebff)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling gdb for x32, it fails with errors:
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c: In function 'const target_desc* get_ipa_tdesc(int)':
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:184:10: error: 'X86_TDESC_AVX512' was not declared in this scope
| case X86_TDESC_AVX512:
| ^~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:184:10: note: suggested alternative: 'X86_TDESC_AVX'
| case X86_TDESC_AVX512:
| ^~~~~~~~~~~~~~~~
| X86_TDESC_AVX
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:185:14: error: 'tdesc_x32_avx512_linux' was not declared in this scope
| return tdesc_x32_avx512_linux;
| ^~~~~~~~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:185:14: note: suggested alternative: 'tdesc_x32_avx_linux'
| return tdesc_x32_avx512_linux;
| ^~~~~~~~~~~~~~~~~~~~~~
| tdesc_x32_avx_linux
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c: In function 'void initialize_low_tracepoint()':
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:282:3: error: 'init_registers_x32_avx512_linux' was not declared in this scope
| init_registers_x32_avx512_linux ();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:282:3: note: suggested alternative: 'init_registers_x32_avx_linux'
| init_registers_x32_avx512_linux ();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| init_registers_x32_avx_linux
Backport:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=f02fd7745d003d65fd3b981618e07b874b721d79
Fixes [YOCTO #12120]
(From OE-Core rev: 2557af944db081c1043f6052bc0f11e58022aeb7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The first version introduced a new branch in if-else statement, and so
discarded the actions in the branch taken previously. This seemed
to have no adverse effect for now, but let's do it right.
(From OE-Core rev: b7be3aa46f676066ad05cf8192800ae184095838)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
That's the whole point isn't it? Previously this testcase succeeded
even if some of the underlying on-target tests failed; the only way
to find out if anything was wrong was to manually inspect the logs.
(From OE-Core rev: 21b27d1e9d54d4aab412facff22cd5d3d77827a8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If no ptest packages are installed in the image, the test does nothing;
if ptest packages are installed in the image, then they should be
run without user having to enable that manually.
(From OE-Core rev: f57feab2727dca916744deb64825f3beaf07961d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the test would execute only when all available ptests
for packages in the image were installed; some of those tests may
be broken, never finish, take a very long time or simply irrelevant
to the user who wants to check ptests of only a few specific packages,
and does so by listing them explicitly via IMAGE_INSTALL_append or similar.
Presence of ptest-runner means there is at least one ptest package installed
as they pull it in via a class dependency; ptest-runner is not generally
installed otherwise.
(From OE-Core rev: e07a2b9c2b08a465baeaaca86461e07817f84a52)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are tools in the wild where we need this to be a full path, even
if that doesn't make sense in most other cases due to libtool issues.
Allow those cases to override the default value as currently its near
impossible to do so.
(From OE-Core rev: 65652f419a4c8578121f1f67d43f23ce4eae5a37)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we can't access this function from lib/oe as its a class function.
Move it to allow such access.
(From OE-Core rev: b241a666f2867ffa425f6d43763d7c3c17941dcf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Latest g-i upstream adds target paths to this variable which breaks
qemu in various confusing ways.
Instead, the list of target library paths is exported to GIR_EXTRA_LIBS_PATH,
so that it can be picked up automatically by the qemu wrapper script
and given to qemu (manually setting this variable from various recipes
will be removed in a different patch).
Also, re-enable parts of g-i on mips64, as it is the same issue.
(From OE-Core rev: 58d31dddebbf7116e71bf45bd374a7a988f6016c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use distro_features_check so that we can have a uniform controller.
(From OE-Core rev: 9daf88713dedfb29fe926e18d76090a6b2582ac8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use distro_features_check so that we can have a uniform controller.
(From OE-Core rev: 658c59c90092f15c026fa3c72399f481c7241f65)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "ls -s sparse_file"'s result is 0, use stat to replace of it.
(From OE-Core rev: 1b2ec7a04069a0af2d4164c24109a5fa2fd0b1f6)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using kernel-fitimage class with microblaze, the image type has to be
linux.bin not zImage. This patch fixes the bad image type replacement
for microblaze
(From OE-Core rev: 4e0903e2f71658d595ccb1fa9dddf0f73b373f7e)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the x32 check generic to make it work with musl as well.
Fixes [YOCTO #12118]
(From OE-Core rev: dbd604ccf34e304769937b15051c047561de47f7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-boot shouldn't be built for x32. Make sure that this is the
case when TCLIBC is set to something other than glibc.
Fixes [YOCTO #12122]
(From OE-Core rev: feed576321dcba2d75c067d6ee8b8dad817e9bba)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it easy to override them in bbappends
(From OE-Core rev: 99458d1fa170970e8a1aa04eeb0c86d3754fd988)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add aarch64 32-bits (ILP32) ELF header into dictionary and
check binaries for 32-bitness.
(From OE-Core rev: 4b4a1295b8476d2820935eb5661b2d24a49b29b2)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure architecture dependent defines are correct for x32 by
checking for both ILP32 and x86_64.
Fixes [YOCTO #12123]
(From OE-Core rev: e73262ee888851e829df535ccf09d0da833f2061)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>wq
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.5.2 -> 1.5.3
No change in license. Updates in License Checksums are due to change
in Copyright years.
(From OE-Core rev: 5959525496a1e0fc97d308b6863e0a76b5c2391d)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On pre 4.15 host kernels, an APIC window emulation bug can cause qemu
to hang. On 64 bit we can use the x2apic, for 32 bit, we just have to
disable the other timer sources and rely on kvm-clock.
[YOCTO #12301]
(From OE-Core rev: 82e67b82ea8e12aa0b7b9db1d84fec0436dec71b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-git was updated to the latest stable version
Tested on qemux86-64 using core-image-minimal
(From OE-Core rev: 0f774c4ac0c71f4806e455a8b9ea7e13cc2f22da)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gdbus-codegen tool depends on python3, python3-distutils and python3-xml at
runtime. But because these dependencies are not stated in the yocto recipe,
those python modules are not automatically included in the SDK.
(From OE-Core rev: 26af3b4b33a34d7e53059b07236f9d5aae5e004a)
Signed-off-by: Jef Driesen <jef.driesen@niko.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This module refers to oe.types, so it needs to actually import oe.types.
Fixes errors when parsing certain OE-Core recipes within the layer
index update script.
(From OE-Core rev: 26ff9d2835a24a84c7f2bf9c829a13ed568c9ea0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 57ba31f67ef593f36c4154a8680d21825f4e5555)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Change PYPI_PACKAGE to gitdb2 to reflect upstream change
* Now inherits setuptools rather than distutils
(From OE-Core rev: dc2ddbf8cb825e577a2a35d96a1a2fa9042b74f8)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* RDEPENDS are now all the python3 versions
* Upstream SRC_URI has moved to github.com/intel/bmap-tools
* Missing RDEPENDS on python3-setuptools added
- Provides import for pkg_resources
Fixes [YOCTO #12148]
(From OE-Core rev: 3d63452d8d8d8dc61cd26b7759b5c0d235d70451)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This update includes:
CVE-2017-16612
and some clan warning fixes
(From OE-Core rev: bbbc1db8c21cc11e8a5cec16860645954ff2f9fc)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following CA certificate was Re-Added. It was removed in NSS 3.34, but has been re-added with only the Email trust bit set. (bug 1418678)
CN = Certum CA, O=Unizeto Sp. z o.o.
SHA-256 Fingerprint: D8:E0:FE:BC:1D:B2:E3:8D:00:94:0F:37:D2:7D:41:34:4D:99:3E:73:4B:99:D5:65:6D:97:78:D4:D8:14:36:24
(From OE-Core rev: cc76625cc19422fba045a308aca017c8f4c8fa5f)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The stat hasn't any update since 2002. All modern Linux distributions
use stat from coreutils as default. After replace it with coreutils as
runtime dependency in hdparm, it is safe to drop this recipe and move it
to meta-oe.
(From OE-Core rev: 6f6542f2d479ffa2a9d0d4480a84348a08ebf641)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently only hdparm specifies stat as runtime dependency in oe-core.
But the stat hasn't any update since 2002. Replace it with coreutils as
runtime dependency since coreutils also provides stat program. Then we
can drop the stat recipe totally.
Also add a patch to fix stat path in wiper.sh.
(From OE-Core rev: 80f6f4e3683f7889e4aa34401e96be1708f94b75)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our binutils is configured with --enable-deterministic-archives, so ar
runs in deterministic mode by default. The ar01 case would fail because
it doesn't consider this mode. Backport a patch from upstream to fix
this issue.
(From OE-Core rev: 094e98172e1bbc64f8e6d2a97208a58189674773)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tar from busybox lacks some options that cause the tar01 case
failed. Add tar as runtime dependency.
(From OE-Core rev: bd11699037067daf92eb872da47d4bd53be413ea)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 32bit core-image-minimal-initramfs should be built when build lib32-iso, e.g.:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_FSTYPES += "iso"
$ bitbake lib32-core-image-minimal
Exception: FileExistsError: [Errno 17] File exists: '/path/to/tmp/sysroots-components/core2-64/qemuwrapper-cross/usr/bin/crossscripts/qemuwrapper' -> '/path/to/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/lib32-recipe-sysroot/usr/bin/crossscripts/qemuwrapper'
This was because:
lib32-core-image-minimal -> core-image-minimal-initramfs
core-image-minimal-initramfs -> qemuwrapper-cross
lib32-core-image-minimal -> lib32-qemuwrapper-cross
So we got the error, build lib32-core-image-minimal-initramfs can fix the problem.
(From OE-Core rev: eee3ec805cf150f1c701427a2d182a537a67e8f5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of 'new_rootfs' the psuedo directory is not copied. Thus
PSEUDO_LOCALSTATEDIR should still point to the dsa
'native_sysroot'/../pseudo. Otherwise PSEUDO_LOCALSTATEDIR points to a not
existing director ('new_rootfs'/../pseudo) and UID and GUID attributes are not
applied to files of the image.
(From OE-Core rev: 19642e2d6e015072e4a413f4f57aee65df757cb9)
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@cern.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kernel class now sets RDEPENDS_${KERNEL_PACKAGE_NAME}-base so this include
needs to do the same, otherwise bitbake emits a warning and the kernel isn't
removed.
(From OE-Core rev: a408236b6302273a5a45bcfe5eb3a8f2713ec3fa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros may want to provide alternate kernel "flavors" via feeds or
within bootable images. For example, readily available builds which
provide certain diagnostic features can enable developers and testers to
more quickly resolve issues by avoiding lengthy kernel builds.
This change allows for building multiple flavors of the kernel and
module packages by templatizing kernel package names via a new
KERNEL_PACKAGE_NAME variable in kernel.bbclass. It defaults to the old
name of "kernel", but can be overridden by certain recipes providing
alternate kernel flavors.
To maintain compatibility, recipes providing alternate kernel flavors
cannot be the "preferred provider" for virtual/kernel. This is because
OE puts the preferred provider's build and source at
"tmp-glibc/work-shared/$MACHINE/kernel-build-artifacts/" and
"tmp-glibc/work-shared/$MACHINE/kernel-source/" instead of
"tmp-glibc/work/*/$PN/" like other recipes. Therefore, recipes using the
default KERNEL_PACKAGE_NAME="kernel" follows the old semantics -- build
in the old location and may be preferred provider -- while recipes using
all other KERNEL_PACKAGE_NAME's build from the normal WORKDIR and don't
provide "virtual/kernel".
Testing:
1. Add `KERNEL_PACKAGE_NAME_pn-linux-yocto-tiny = "tiny-linux"`
to local.conf so that linux-yocto-tiny may build alongside
the main kernel (linux-yocto).
2. `bitbake linux-yocto linux-yocto-tiny` to build both kernel flavors.
3. Verified image and modules IPKs exist for both:
tmp-glibc/deploy/ipk/qemux86/kernel-* for linux-yocto
tmp-glibc/deploy/ipk/qemux86/tiny-linux* for linux-yocto-tiny
4. Verified linux-yocto is the "preferred provider", and was built in
shared directory: tmp-glibc/work-shared/qemux86/kernel-*
5. Add `CORE_IMAGE_BASE_INSTALL_append_pn-core-image-base = "tiny-linux"`
to local.conf to install both kernel flavors in core-image-base.
6. `bitbake core-image-base` to build an image.
7. Verified image contains two bzImage's under /boot/, with
"yocto-standard" (linux-yocto recipe) selected to boot via symlink.
Discussion threads:
http://lists.openembedded.org/pipermail/openembedded-core/2015-December/thread.html#114122http://lists.openembedded.org/pipermail/openembedded-core/2017-July/thread.html#139130
[YOCTO #11363]
(From OE-Core rev: 6c8c899849d101fd1b86aad0b8eed05c7c785924)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Coauthored-by: Gratian Crisan <gratian.crisan@ni.com>
Coauthored-by: Haris Okanovic <haris.okanovic@ni.com>
Coauthored-by: Josh Hernstrom <josh.hernstrom@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On some build hosts distros (e.g. Fedora 26) waf tries to be
smart about libdir detection and defaults to [EXEC_PREFIX/lib64].
This obviously is not what we want for 32-bit targets and usually
fails in the do_package phase:
WARNING: gstreamer1.0-plugins-imx-0.13.0-r0 do_package: QA Issue: gstreamer1.0-plugins-imx: Files/directories were installed but not shipped in any package:
/usr/lib64/libgstimxcommon.so.0
...
Depending on version, waf knows prefix or prefix, bindir and
libdir as default options. Explicitly pass the right set of
arguments.
(From OE-Core rev: 923f91d8d8606141ce218927bc943f4f4f34bcdd)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Delete the unneeded patch, because the upstream contains the needed changes.
The new version of avahi 0.7 use "/run" directory to place some run-time
variable data, not /var/run, so in avahi.inc, we should remove the "/run"
not "/var/run".
Remove PACKAGECONFIG for pygtk which already dropped in upstream.
(From OE-Core rev: 80b408ae48eb091fc2af8b1570a7aac3cdc0b009)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the introduction of support for multiple kernel image types in
849b67b2e4820564b5e5c9bd4bb293c44351c5f3, do_sizecheck was changed to only
warn if any kernel was bigger than ${KERNEL_IMAGE_MAXSIZE}. (Well, it tried
to warn - it turns out that there's no function called "warn", it should be
"bbwarn".) The previous behaviour had been to fail the build if the single
kernel image did not fit.
It seems possible that people might be generating both compressed and
uncompressed kernels and only really care whether the compressed one fits.
This means that we shouldn't just always fail if any of the images are too
large. So, let's warn (correctly this time) on every image that is too
large, but only ultimately fail if no image will fit. The build will also
fail if ${KERNEL_IMAGETYPES} is empty, but I hope that no-one needs to do
that.
While we're here correct a typo in the KERNEL_IMAGE_MAXSIZE validity check.
(From OE-Core rev: 59f1ee104d1a6c04b0690b7c8ce481449da174d6)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we are depercating the ELF image type, we should not test it
here either.
(From OE-Core rev: c0c10ae9f7e206ee156a68ddbed73c8820c37824)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we are removing the ELF image type, we can now removed this older
mkelfimage recipe also, we reach back 3+ years in the coreboot git repo
to retrieve the source. This tool needs updating everything we change
binutils, which would normally be done by the upstream, but that is now
gone.
[YOCTO #11967]
(From OE-Core rev: 003056db591ebee6464b51d29f706779936fcd83)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As warned in a proir commit, it's time to remove the elf image type,
it is not long used anywhere (that I am aware of) and the mkelfimage
tool has been removed from the upstream coreboot code base.
(From OE-Core rev: 2781e8d608c0fd2108aeab294f982e9249793852)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkelfimage is about to be removed, so test_devtool_modify_git needs to
use a different recipe. psplash is a reasonable choice given it uses a
git repository (and probably will forever), and doesn't have too many
dependencies, so change the test to use that recipe instead.
(From OE-Core rev: daf583efc87faa058684dfe34df596d088caa8ef)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously oe-core had a development snapshot of rpm, it's better to update
to something more stable.
Removed patches:
0001-Add-PYTHON_ABI-when-searching-for-python-libraries.patch
(upstream is using pkg-config)
0001-When-nice-value-cannot-be-reset-issue-a-notice-inste.patch
(functionality has been moved to a plugin, we disable plugins
for rpm-native)
0012-Use-conditional-to-access-_docdir-in-macros.in.patch
(merged upstream)
Changed patches:
0001-Fix-build-with-musl-C-library.patch
(one previous musl issue has been resolved upstream; another has been added)
Rest of the patches are trivial rebases.
Update the signing oe-selftest so that the reference output matches
the upstream changes.
(From OE-Core rev: b4613b6ce07c295c5d6de6861acf19315acaccb2)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If for example you deltask do_build but it has recrdeps set, its confusing
to have that list returned when the task no longer exists (same would apply
to deps too if it was set after the deltask).
(Bitbake rev: b7a81cb91e82ba64b63c9153dc161a2ab4696715)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits for kmemleak fixes and CQM
backports:
58fe84d691a mm: kmemleak: treat vm_struct as alternative reference to vmalloc'ed objects
5babb9c8f695 mm: kmemleak: factor object reference updating out of scan_block()
8c22ef5ee138 mm: kmemleak: slightly reduce the size of some structures on 64-bit architectures
7ea6b560ef4c netfilter: conntrack: do not enable connection tracking unless needed
4fdf0a5a0863 netfilter: nf_ct_dccp/sctp: fix memory leak after netns cleanup
85385ffd1e9b netfilter: move table iteration out of netns exit paths
c95b3f8e1cbc netfilter: conntrack: add nf_ct_iterate_destroy
753c83b98a1e netfilter: conntrack: don't call iter for non-confirmed conntracks
bcf21cba7fd5 netfilter: conntrack: rename nf_ct_iterate_cleanup
f5c3a4c19075 perf/x86/intel/uncore: Fix missing marker for skx_uncore_cha_extra_regs
c44ebea2f116 perf/x86/intel/uncore: Fix SKX CHA event extra regs
1d70f7feb408 perf/x86/intel/uncore: Remove invalid Skylake server CHA filter field
eb3059e9e0ea perf/x86/intel/uncore: Fix Skylake server CHA LLC_LOOKUP event umask
3514c02c7bff perf/x86/intel/uncore: Fix Skylake server PCU PMU event format
804530f02515 perf/x86/intel/uncore: Fix Skylake UPI PMU event masks
(From OE-Core rev: 3cf8bda5e4d4a345793aa72be97e94c41520ec01)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling CONFIG_X86_X2APIC=y by default for common-pc* (and hence
qemux86*) to work around interrupt delivery issues when running on some
host kernels.
There's little overhead with this, and no impact to non x2apic
platforms, so we enable it for all builds.
(From OE-Core rev: 3382ed4925fdc0854dbfa5b29dd5fdc1e0c1e38a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Outside of the normal patch refreshes and boot issues, there are new
build time tools within the kernel that required the following
dependencies:
For ORC_UNWINDER support in x86-64:
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
And for certificate processing during the build, we need ssl headers
and hexdump:
DEPENDS += "openssl-native util-linux-native"
(From OE-Core rev: 70f3d81e414a101032c05773c33500e7d723ab02)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable backports from Paul Gortmaker, which comprise the
following commits:
33070a47be56 Linux 4.12.18
7441b94462dd sctp: use right member as the param of list_for_each_entry
393004dcde90 packet: fix crash in fanout_demux_rollover()
0a9012474dc5 coda: fix 'kernel memory exposure attempt' in fsync
b5cc211a6240 x86/cpu/amd: Derive L3 shared_cpu_map from cpu_llc_shared_mask
2567785ab75b mm/page_ext.c: check if page_ext is not prepared
40991abd5541 mm/page_alloc.c: broken deferred calculation
7fd5cc66154b ipmi: fix unsigned long underflow
fa5ba256bc53 ocfs2: should wait dio before inode lock in ocfs2_setattr()
97181d7d56ab ocfs2: fix cluster hang after a node dies
3e60437f8fac mm/pagewalk.c: report holes in hugetlb ranges
2974b65a0852 rcu: Fix up pending cbs check in rcu_prepare_for_idle
3048be8b900f tpm-dev-common: Reject too short writes
60bf233eeed8 serial: 8250_fintek: Fix finding base_port with activated SuperIO
1539a3ace4ee serial: omap: Fix EFR write on RTS deassertion
7c601c15e06d ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
42e3beae3ace net/sctp: Always set scope_id in sctp_inet6_skb_msgname
09fc4fe93e10 fealnx: Fix building error on MIPS
01c2c1581c94 sctp: do not peel off an assoc from one netns to another one
0a2e9fbdc391 vxlan: fix the issue that neigh proxy blocks all icmpv6 packets
1063c860aecd af_netlink: ensure that NLMSG_DONE never fails in dumps
045a67694539 vlan: fix a use-after-free in vlan_device_event()
eb1321c9ad5e tcp: fix tcp_fastretrans_alert warning
55bfb1ef83e0 qmi_wwan: Add missing skb_reset_mac_header-call
315ea5f8348b net: qmi_wwan: fix divide by 0 on bad descriptors
554d1d375f1c bonding: discard lowest hash bit for 802.3ad layer3+4
6b6b2c804d4e l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6
30ec586cda8a netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
62bd603f2677 net: systemport: Correct IPG length settings
70cd6d6bea88 tcp: do not mangle skb->cb[] in tcp_make_synack()
26ab537f2e5f net: vrf: correct FRA_L3MDEV encode type
f2561863b0d6 tcp_nv: fix division by zero in tcpnv_acked()
5dfe41dc67fc staging: greybus: spilib: fix use-after-free after deregistration
2c7eb0674a3d staging: sm750fb: Fix parameter mistake in poke32
008bfaf7b155 HID: wacom: generic: Recognize WACOM_HID_WD_PEN as a type of pen collection
695db9d1697c HID: cp2112: add HIDRAW dependency
b9edc34d9c29 x86/MCE/AMD: Always give panic severity for UC errors in kernel context
90e3029e582c selftests/x86/protection_keys: Fix syscall NR redefinition warnings
4ef762021938 USB: serial: garmin_gps: fix memory leak on probe errors
f1423a77b98b USB: serial: garmin_gps: fix I/O after failed probe and remove
68a94c90dfc3 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
885e857a7c26 USB: serial: Change DbC debug device binding ID
3e7a792beda2 USB: serial: metro-usb: stop I/O after failed open
da73445f1b69 usb: gadget: f_fs: Fix use-after-free in ffs_free_inst
d3cc53bd3a61 USB: Add delay-init quirk for Corsair K70 LUX keyboards
402588b38460 USB: usbfs: compute urb->actual_length for isochronous
5a8714de40ac USB: early: Use new USB product ID and strings for DbC device
83f0fdf7ccc6 crypto: dh - Don't permit 'key' or 'g' size longer than 'p'
b494fa860365 crypto: dh - Don't permit 'p' to be 0
4ffcf85d08b7 crypto: dh - Fix double free of ctx->p
d20a9c0d1233 crypto: dh - fix memleak in setkey
ad8b281c05c5 Bluetooth: btusb: fix QCA Rome suspend/resume
21fc98337c60 dmaengine: dmatest: warn user when dma test times out
72a0fc7e4f7d tcp: fix tcp_mtu_probe() vs highest_sack
ca42624b53de ipv6: addrconf: increment ifp refcount before ipv6_del_addr()
751e5b20c03f tun/tap: sanitize TUNSETSNDBUF input
eea9efba6bdc net_sched: avoid matching qdisc with zero handle
e76cd730f32e sctp: reset owner sk for data chunks on out queues when migrating a sock
6027b882617c tun: allow positive return values on dev_get_valid_name() call
984a8b424c58 tap: reference to KVA of an unloaded module causes kernel panic
92adaa4247c1 tcp: refresh tcp_mstamp from timers callbacks
026ff0f99bbf tcp: refresh tp timestamp before tcp_mtu_probe()
aa3fb0cbb88d ip6_gre: update dst pmtu if dev mtu has been updated by toobig in __gre6_xmit
88f0bf544d46 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
7256c950ca70 ipip: only increase err_count for some certain type icmp in ipip_err
62e3502c1991 net/mlx5e: Properly deal with encap flows add/del under neigh update
84d26c8a74fc tap: double-free in error path in tap_open()
94946f4812fa net/unix: don't show information about sockets from other namespaces
43997314bb13 net: dsa: check master device before put
d5c769c98986 tcp/dccp: fix other lockdep splats accessing ireq_opt
1d4c7c3266a4 tcp/dccp: fix lockdep splat in inet_csk_route_req()
462504bc99ac sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND
fe91475c8310 ipv6: flowlabel: do not leave opt->tot_len with garbage
009a3e7461cd soreuseport: fix initialization race
16e36e55f822 net: bridge: fix returning of vlan range op errors
3d32d75474d1 geneve: Fix function matching VNI and tunnel ID on big-endian
04e37f3a5c02 packet: avoid panic in packet_getsockopt()
3895ca099a69 tcp/dccp: fix ireq->opt races
eda355607691 sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
785b144296af netlink: fix netlink_ack() extack race
01af773e7a6b tun: call dev_get_valid_name() before register_netdevice()
1b522844eabe l2tp: check ps->sock before running pppol2tp_session_ioctl()
ae90bb6362cd net: call cgroup_sk_alloc() earlier in sk_clone_lock()
1ec7babcf934 netlink: do not set cb_running if dump's start() errs
7fa820a09305 gso: fix payload length when gso_size is zero
463a7737df22 ppp: fix race in ppp device destruction
57b61ea36589 xfs: move two more RT specific functions into CONFIG_XFS_RT
b5bea8ab390b tty: fix __tty_insert_flip_char regression
1d4d3f8e98b3 KVM: add X86_LOCAL_APIC dependency
737d1a26d83a pinctrl/amd: Fix build dependency on pinmux code
5f9a4e690c9f seccomp: make function __get_seccomp_filter static
407108cebb23 Fix tracing sample code warning.
e53f80ca68ae security/keys: BIG_KEY requires CONFIG_CRYPTO
b177131cdd05 udp: fix bcast packet reception
51165c2e0923 Linux 4.12.17
e37973f85463 media: dib0700: fix invalid dvb_detach argument
2be5d96a5441 media: imon: Fix null-ptr-deref in imon_probe
6cc6ecdb2ad9 Input: ims-psu - check if CDC union descriptor is sane
dcc13ac27971 net: cdc_ether: fix divide by 0 on bad descriptors
6a98f24f0530 net: usb: asix: fill null-ptr-deref in asix_suspend
1da204e5439f usb: usbtest: fix NULL pointer dereference
39795ceb702b x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
cf6308a136f2 x86/smpboot: Make optimization of delay calibration work correctly
5cee51d999ed x86/debug: Handle warnings before the notifier chain, to fix KGDB crash
7faef4f041ed can: c_can: don't indicate triple sampling support for D_CAN
2efab93ab541 can: ifi: Fix transmitter delay calculation
9a9a3a778c22 can: peak: Add support for new PCIe/M2 CAN FD interfaces
befd4aa29428 can: sun4i: handle overrun in RX FIFO
ce274815fdac drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
327b1f353263 rbd: use GFP_NOIO for parent stat and data requests
81a57d23e6f9 Input: elan_i2c - add ELAN060C to the ACPI table
8b43ca400436 MIPS: AR7: Ensure that serial ports are properly set up
fd11bdb71a3a MIPS: AR7: Defer registration of GPIO
361b86eaf6ec MIPS: BMIPS: Fix missing cbr address
1f5ee962f2cd MIPS: Fix CM region target definitions
95eca04aa013 ALSA: seq: Fix OSS sysex delivery in OSS emulation
a77a957d8dd4 ALSA: hda - fix headset mic problem for Dell machines with alc274
5e838d3a8e07 ALSA: usb-audio: support new Amanero Combo384 firmware version
af199c8af86e ALSA: timer: Limit max instances per timer
7f740a514450 ARM: 8720/1: ensure dump_instr() checks addr_limit
378309492920 ACPI / scan: Enable GPEs before scanning the namespace
3d41affb49ba ACPICA: Make it possible to enable runtime GPEs earlier
73b2b51c57bc ACPICA: Dispatch active GPEs at init time
b8a8b7486b60 KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
1dd87968f2e3 crypto: x86/sha256-mb - fix panic due to unaligned access
ad3194d5cdd7 crypto: x86/sha1-mb - fix panic due to unaligned access
176121ac7fe1 crypto: ccm - preserve the IV buffer
565a57ec4f8d workqueue: Fix NULL pointer dereference
86d04817638d x86/mcelog: Get rid of RCU remnants
61f8603bcb05 perf/cgroup: Fix perf cgroup hierarchy support
c39d83f28cf5 MIPS: microMIPS: Fix incorrect mask in insn_table_MM
ff06d106db71 MIPS: smp-cmp: Use right include for task_struct
6da5b0e13e3e drm/i915/edp: read edp display control registers unconditionally
89e68088def8 drm/i915: Do not rely on wm preservation for ILK watermarks
052130e6dd1c mm, swap: fix race between swap count continuation operations
92ede622224e ocfs2: fstrim: Fix start offset of first cluster group during fstrim
d4e8f4c82ec4 userfaultfd: hugetlbfs: prevent UFFDIO_COPY to fill beyond the end of i_size
bf69e4b41953 drm/amdgpu: allow harvesting check for Polaris VCE
aa09acb11a5b drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting
707ba2820623 ARM: 8715/1: add a private asm/unaligned.h
4fa5fe6ea340 ARM: dts: mvebu: pl310-cache disable double-linefill
a01a5c2e6e9e arm/arm64: kvm: Disable branch profiling in HYP code
3441fa885cf3 arm/arm64: KVM: set right LR register value for 32 bit guest when inject abort
a650f10a6423 KVM: arm64: its: Fix missing dynamic allocation check in scan_its_table
24d22fb868e3 arm64: ensure __dump_instr() checks addr_limit
cac0dcc9179e ASoC: adau17x1: Workaround for noise bug in ADC
7e34e27aaf91 KEYS: fix out-of-bounds read during ASN.1 parsing
53ec125b27a1 KEYS: trusted: fix writing past end of buffer in trusted_read()
9b453e30fc82 cifs: check MaxPathNameComponentLength != 0 before using it
69828d917713 ALSA: seq: Fix nested rwsem annotation for lockdep splat
11f1d2059857 ALSA: timer: Add missing mutex lock for compat ioctls
86306c8bf739 powerpc/xive: Fix the size of the cpumask used in xive_find_target_in_mask()
7d5b350c311e regulator: fan53555: fix I2C device ids
bba7a802ffa0 ipsec: Fix aborted xfrm policy dump crash
3f17c12b2ef6 cfg80211: fix connect/disconnect edge cases
036cb11e2b93 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
25a5d333b556 can: kvaser_usb: Correct return value in printout
0dea0f030394 can: sun4i: fix loopback mode
b26722135e12 drm/i915/perf: fix perf enable/disable ioctls with 32bits userspace
748e46331dc7 drm/amd/powerplay: fix uninitialized variable
859bc7ad2aa9 x86/cpu/AMD: Apply the Erratum 688 fix when the BIOS doesn't
1370811ed5b7 scsi: aacraid: Fix controller initialization failure
626a5aae973e scsi: zfcp: fix erp_action use-before-initialize in REC action trace
250835c62a90 assoc_array: Fix a buggy node-splitting case
fea99b11049a SMB3: Validate negotiate request must always be signed
d030ae8043b8 Fix encryption labels and lengths for SMB3.1.1
158c28974465 Input: gtco - fix potential out-of-bound access
a603b795cb7e Input: elan_i2c - add ELAN0611 to the ACPI table
9bb1ce736e36 CIFS: Fix NULL pointer deref on SMB2_tcon() failure
fbe5c09ee805 xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
950c2786017a fuse: fix READDIRPLUS skipping an entry
1be2e5e41f0e spi: armada-3700: Fix failing commands with quad-SPI
733d72531cc5 spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path
cffec62ffee5 spi: a3700: Return correct value on timeout detection
be9198ea33e1 spi: uapi: spidev: add missing ioctl header
9b5c3ee4ed3f KVM: PPC: Book3S: Protect kvmppc_gpa_to_ua() with SRCU
9574b6e81e45 KVM: PPC: Book3S HV: POWER9 more doorbell fixes
bceb8e9d95be KVM: PPC: Book3S HV: Use msgsync with hypervisor doorbells on POWER9
229642d22e3a KVM: PPC: Fix oops when checking KVM_CAP_PPC_HTM
32e77b72733b ceph: unlock dangling spinlock in try_flush_caps()
f4180593b1e9 ALSA: hda - fix headset mic problem for Dell machines with alc236
33477d1e5e6b ALSA: hda/realtek - Add support for ALC236/ALC3204
0230f9ed329f workqueue: replace pool->manager_arb mutex with a flag
5ec0d1c9d5a9 xfs: trim writepage mapping to within eof
fcc029896ba9 xfs: cancel dirty pages on invalidation
da45acc2e9cd xfs: handle error if xfs_btree_get_bufs fails
7d57f66d6f17 xfs: reinit btree pointer on attr tree inactivation walk
731ead3be639 xfs: don't change inode mode if ACL update fails
173d49a9a531 xfs: move more RT specific code under CONFIG_XFS_RT
ba899492a1d5 xfs: handle racy AIO in xfs_reflink_end_cow
72ac4f1186a6 xfs: always swap the cow forks when swapping extents
204bdfa1f67c xfs: perag initialization should only touch m_ag_max_usable for AG 0
7b74f08372bd xfs: update i_size after unwritten conversion in dio completion
a387eb05ff73 xfs: report zeroed or not correctly in xfs_zero_range()
7df2a96d20a4 fs/xfs: Use %pS printk format for direct addresses
4c71c06ac80f xfs: evict CoW fork extents when performing finsert/fcollapse
f0f53f176d94 xfs: don't unconditionally clear the reflink flag on zero-block files
032e53c378a8 iomap_dio_rw: Allocate AIO completion queue before submitting dio
bd603f7110b9 pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
362a37a0cf59 KEYS: don't let add_key() update an uninstantiated key
e4968379c1b6 FS-Cache: fix dereference of NULL user_key_payload
047fe074b659 KEYS: Fix race between updating and finding a negative key
8ea691e39413 ecryptfs: fix dereference of NULL user_key_payload
bfd7bc34be16 fscrypt: fix dereference of NULL user_key_payload
83f4c52d9fd7 lib/digsig: fix dereference of NULL user_key_payload
e966d2d4f6a1 x86/microcode/intel: Disable late loading on model 79
d647900b826d rtlwifi: rtl8821ae: Fix connection lost problem
3f4f2f812312 clockevents/drivers/cs5535: Improve resilience to spurious interrupts
6bd3022f41a1 bus: mbus: fix window size calculation for 4GB windows
c7a86caa19f2 brcmsmac: make some local variables 'static const' to reduce stack size
4df70a6e8969 brcmfmac: Add check for short event packets
f6f7db182f44 i2c: piix4: Fix SMBus port selection for AMD Family 17h chips
dfc7eebd0b5d ALSA: hda: Abort capability probe at invalid register read
a7252ee01e59 ALSA: hda: Remove superfluous '-' added by printk conversion
514d11ccc861 ALSA: seq: Enable 'use' locking in all configurations
a4476518e1e7 tracing/samples: Fix creation and deletion of simple_thread_fn creation
ad84c20a9f47 media: dvb: i2c transfers over usb cannot be done from stack
11fbb0237319 media: cec: Respond to unregistered initiators, when applicable
43ac45e69b11 media: s5p-cec: add NACK detection support
686020330a68 drm/nouveau/mmu: flush tlbs before deleting page tables
90905608e49e drm/nouveau/bsp/g92: disable by default
a276b1329f6e drm/nouveau/kms/nv50: fix oops during DP IRQ handling on non-MST boards
75c7d377d125 drm/i915: Use bdw_ddi_translations_fdi for Broadwell
a4e778fda246 mmc: sdhci-pci: Fix default d3_retune for Intel host controllers
c51c64badbdf KEYS: encrypted: fix dereference of NULL user_key_payload
8d5f0ae655f9 can: flexcan: fix p1010 state transition issue
32a5167fcdae can: flexcan: fix i.MX28 state transition issue
5babb6c595a6 can: flexcan: fix i.MX6 state transition issue
9319913df979 can: flexcan: implement error passive state quirk
1c93f600ac19 can: flexcan: rename legacy error state quirk
25cb31c3f806 can: flexcan: fix state transition regression
f433519c4cba can: af_can: can_pernet_init(): add missing error handling for kzalloc returning NULL
947a57f938f3 can: esd_usb2: Fix can_dlc value for received RTR, frames
792c8810f196 usb: xhci: Handle error condition in xhci_stop_device()
c83a48144395 xhci: Cleanup current_cmd in xhci_cleanup_command_queue()
666fd52c080b xhci: Identify USB 3.1 capable hosts by their port protocol capability
523dad046e0f usb: musb: Check for host-mode using is_host_active() on reset interrupt
5e277dcadf45 usb: musb: musb_cppi41: Configure the number of channels for DA8xx
1ddbc42b569c usb: musb: musb_cppi41: Fix cppi41_set_dma_mode() for DA8xx
b4ae14cc4f93 usb: musb: musb_cppi41: Fix the address of teardown and autoreq registers
dbb13f2fcbc9 USB: musb: fix late external abort on suspend
cff06a4ae7d5 USB: musb: fix session-bit runtime-PM quirk
7545aa66403b usb: musb: sunxi: Explicitly release USB PHY on exit
8447db4b2e33 iio: dummy: events: Add missing break
9d8a108edff7 parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
58bacefc0b50 s390/cputime: fix guest/irq/softirq times after CPU hotplug
7543b1a05d0c nbd: don't set the device size until we're connected
b7e699fcefbe can: gs_usb: fix busy loop if no more TX context is available
2053fee203fb ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
a069429516bc usb: hub: Allow reset retry for USB2 devices on connect bounce
79d5e5d8d2fe usb: quirks: add quirk for WORLDE MINI MIDI keyboard
4d493d5a62ea usb: cdc_acm: Add quirk for Elatec TWN3
d553fc8e775f USB: serial: metro-usb: add MS7820 device id
9872dc2ad066 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
4d75d952a2ac USB: devio: Revert "USB: devio: Don't corrupt user memory"
b5264fc112b2 staging: bcm2835-audio: Fix memory corruption
(From OE-Core rev: d3a8565e176ad77a99b832caf5e23b62846a9a67)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following changes to the 4.12 tree:
1b85adfc0b81 mtd: intel-spi: Add Intel Lewisburg PCH SPI super SKU PCI ID
b373e336eb84 mtd: spi-nor: intel-spi: Add support for Intel Cedar Fork SPI serial flash
c37662f04d7c mtd: spi-nor: intel-spi: Add support for Intel Lewisburg SPI serial flash
a8a4ae37e8b7 mtd: spi-nor: intel-spi: Add support for Intel Denverton SPI serial flash controller
aa830ab86985 net/bluetooth: make bluetooth socket can be created in net namespace
2e98dc285831 x86/debug: Handle warnings before the notifier chain, to fix KGDB crash
These are all bug fixes, or mainline backports.
(From OE-Core rev: 7c4ed05c05629f8f551152153d893dfe048c1ee0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration changes to the 4.x linux
yocto kernels:
common-pc*.scc: Add igb to common-pc drivers
mti-malta32: enable CONFIG_HIGHMEM for qemumips to support up to 2GiB RAM
features/i915/i915.cfg: compile i915 as a module
(From OE-Core rev: b0343ff286b413745579b371f48917099e0a9bef)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following ipv4 backport:
ipv4: net namespace does not inherit network configurations
patch from https://lkml.org/lkml/2014/7/29/119
Ipv4 net namespace requires a similar logic change as commit a79ca223e029
[ipv6: fix bad free of addrconf_init_net] introduces for newer kernels.
Since a net namespace is independent to another. That is, there
is no any relationship between the net namespaces. So a new net
namespace should not inherit network configurations from another
net namespace including the host.
CC: Hong Zhiguo <honkiko@gmail.com>
CC: David S. Miller <davem@davemloft.net>
Signed-off-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: yzhu1 <yanjun.zhu@windriver.com>
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
And the following configuration changes:
3574bb061c1b mti-malta32: enable CONFIG_HIGHMEM for qemumips to support up to 2GiB RAM
f187df8fca31 features/i915/i915.cfg: compile i915 as a module
332b38cb83a2 common-pc*.scc: Add igb to common-pc drivers
(From OE-Core rev: 7e0b87ffce90dad248a7a0f0b9d661583e047568)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating two bug fixes (functionality regressions):
1d685baca196 iwlwifi: bump max FW API to 31
cb8ce8c4ad0f tty: fix __tty_insert_flip_char regression
And the following configuration fragment:
vrf: Add feature
(From OE-Core rev: f4c7a52e6bd4e955ee6aface617d84b15356bd31)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable updates from Paul Gortmaker that cover the
following commits:
8500552cb6f7 Linux 4.12.16
3041c36e51aa vmbus: more host signalling avoidance
170ce449d952 vmbus: eliminate duplicate cached index
1843e4c61d03 vmbus: refactor hv_signal_on_read
3114e4beb799 vmbus: simplify hv_ringbuffer_read
47cd1be8a9b1 HID: hid-elecom: extend to fix descriptor for HUGE trackball
663b5513c683 mm: page_vma_mapped: ensure pmd is loaded with READ_ONCE outside of lock
8a0af0f30b6b perf pmu: Unbreak perf record for arm/arm64 with events with explicit PMU
20ce8834fc99 KVM: nVMX: update last_nonleaf_level when initializing nested EPT
bf6a0ec7751f x86/alternatives: Fix alt_max_short macro to really be a max()
8566ad9542c8 x86/microcode: Do the family check first
d369002c85c7 RAS/CEC: Use the right length for "cec_disable"
2f5df0825d43 USB: serial: console: fix use-after-free after failed setup
38d29750c751 USB: serial: console: fix use-after-free on disconnect
3312688774a5 USB: serial: qcserial: add Dell DW5818, DW5819
8ceb1ab5b8b6 USB: serial: option: add support for TP-Link LTE module
9a492331d4d8 USB: serial: cp210x: add support for ELV TFD500
05a76c3972a3 USB: serial: cp210x: fix partnum regression
36db7ee477f7 USB: serial: ftdi_sio: add id for Cypress WICED dev board
f5f28aa1189d bio_copy_user_iov(): don't ignore ->iov_offset
2e23ac57b91b more bio_map_user_iov() leak fixes
be96ea60abf4 fix unbalanced page refcounting in bio_map_user_iov
62272a78cd64 direct-io: Prevent NULL pointer access in submit_page_section
da889b1de1e2 usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options
82bb04bf4ef3 usb: gadget: configfs: Fix memory leak of interface directory data
48f321f266d2 drm/i915: Use crtc_state_is_legacy_gamma in intel_color_check
300533678314 drm/i915/bios: parse DDI ports also for CHV for HDMI DDC pin and DP AUX channel
6e7077ce8b8f drm/i915: Read timings from the correct transcoder in intel_crtc_mode_get()
a89c571ae8a8 drm/i915/edp: Get the Panel Power Off timestamp after panel is off
002894140f21 drm/atomic: Unref duplicated drm_atomic_state in drm_atomic_helper_resume()
7e9518d4926c ALSA: line6: Fix leftover URB at error-path during probe
44a4ce6662bd ALSA: line6: Fix missing initialization before error path
7f16c070632d ALSA: line6: Fix NULL dereference at podhd_disconnect()
317938e88d45 ALSA: caiaq: Fix stray URB at probe error path
39921169c481 ALSA: seq: Fix copy_from_user() call inside lock
dc744c119f6d ALSA: seq: Fix use-after-free at creating a port
3da32e1a4a3a ALSA: usb-audio: Kill stray URB at exiting
cbf3f880a31c fs/mpage.c: fix mpage_writepage() for pages with buffers
24bb3d33bf9c Revert "vmalloc: back off when the current task is killed"
076e98e18525 device property: Track owner device of device property
2404f2c63a8f iommu/amd: Finish TLB flush in amd_iommu_unmap()
2681ccd7a877 usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet
014b37ece737 KVM: nVMX: fix guest CR4 loading when emulating L2 to L1 exit
c0f617345da5 KVM: MMU: always terminate page walks at level 1
810fa30a4ec6 crypto: shash - Fix zero-length shash ahash digest crash
c55f32198aa4 crypto: skcipher - Fix crash on zero-length input
688d47df70db HID: usbhid: fix out-of-bounds bug
fceb5f74236c NFS: Fix uninitialized rpc_wait_queue
3936965498e9 dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse
232ab7abddce dmaengine: edma: Align the memcpy acnt array size with the transfer
a1b8e04e4478 mei: always use domain runtime pm callbacks.
ff7884c2afbf MIPS: math-emu: Remove pr_err() calls from fpu_emu()
c43a87667d3f USB: dummy-hcd: Fix deadlock caused by disconnect detection
111001ffa651 watchdog: Revert "iTCO_wdt: all versions count down twice"
d6703459b5bf udp: perform source validation for mcast early demux
5a2bdca5336a nl80211: Define policy for packet pattern attributes
fd4bee8c17d9 mmc: core: add driver strength selection when selecting hs400es
11a49827d263 nvme-pci: Use PCI bus address for data/queues in CMB
bfd19d3e3511 drm/i915/bios: ignore HDMI on port A
8ab3d473cbfd drm/i915: always update ELD connector type after get modes
ec338aac41a5 brcmfmac: setup passive scan if requested by user-space
a2db156a40ef brcmfmac: add length check in brcmf_cfg80211_escan_handler()
fda708d0e6c9 scsi: sd: Do not override max_sectors_kb sysfs setting
9d0c3a0c8ed3 scsi: sd: Implement blacklist option for WRITE SAME w/ UNMAP
e57b8ad57afc scsi: remove various unused blist flags
86d40a1cfd5e iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD
0a1447d60118 kvm/x86: Avoid async PF preempting the kernel incorrectly
9dfcfa3ac381 KVM: PPC: Book3S: Fix server always zero from kvmppc_xive_get_xive()
4d93aae9b293 dm crypt: fix memory leak in crypt_ctr_cipher_old()
8ab4dc921826 dm crypt: reject sector_size feature if device length is not aligned to it
da3c3bd6ad07 netlink: fix nla_put_{u8,u16,u32} for KASAN
dbe7d8a9dba2 rocker: fix rocker_tlv_put_* functions for KASAN
1fa70078bcba HID: wacom: bits shifted too much for 9th and 10th buttons
de1b19226d80 HID: wacom: Always increment hdev refcount within wacom_get_hdev_data
78fbbdd94b75 HID: wacom: generic: Clear ABS_MISC when tool leaves proximity
4c0d78da4868 HID: wacom: generic: Send MSC_SERIAL and ABS_MISC when leaving prox
f4efe333405d HID: wacom: Correct coordinate system of touchring and pen twist
3dd5dae733f6 HID: wacom: Properly report negative values from Intuos Pro 2 Bluetooth
429ea46a9d3a HID: wacom: leds: Don't try to control the EKR's read-only LEDs
ffb802b9d7f9 HID: i2c-hid: allocate hid buffers for real worst case
9a95f1edac92 HID: rmi: Make sure the HID device is opened on resume
16be0f8ec04d arm64: Ensure the instruction emulation is ready for userspace
8fe55ce33212 ftrace: Fix kmemleak in unregister_ftrace_graph
86f8a516079a auxdisplay: charlcd: properly restore atomic counter on error path
99ff327c8738 stm class: Fix a use-after-free
d68b3c9e3511 vmbus: don't acquire the mutex in vmbus_hvsock_device_unregister()
07d4af70fd2e Drivers: hv: fcopy: restore correct transfer length
c106e296904b cgroup: Reinit cgroup_taskset structure before cgroup_migrate_execute() returns
336cc70e7777 driver core: platform: Don't read past the end of "driver_override" buffer
4384e4fd5416 intel_th: pci: Add Lewisburg PCH support
6b8889bc67cf percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
5524a161ced3 powerpc/tm: Fix illegal TM state in signal handler
11939f4de59b powerpc/64s: Use emergency stack for kernel TM Bad Thing program checks
19cae92eb3d3 powerpc/powernv: Increase memory block size to 1GB on radix
6834ed0682d8 ALSA: usx2y: Suppress kernel warning at page allocation failures
c73650323e57 Revert "ALSA: echoaudio: purge contradictions between dimension matrix members and total number of members"
435ad40590e7 ALSA: compress: Remove unused variable
d62ff966e300 lsm: fix smack_inode_removexattr and xattr_getsecurity memleak
8907604ceee1 lib/ratelimit.c: use deferred printk() version
a646d2e16d5e userfaultfd: non-cooperative: fix fork use after free
7376b8c10bde mm: avoid marking swap cached page as lazyfree
d912b7cf15a6 mm: fix RODATA_TEST failure "rodata_test: test data was not read only"
3a8584637eb7 mm, oom_reaper: skip mm structs with mmu notifiers
a3a2270666cb ksm: fix unlocked iteration over vmas in cmp_and_merge_page()
0b833e6215f1 staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist
21163f7980af uwb: ensure that endpoint is interrupt
3474cb66fea2 uwb: properly check kthread_run return value
27a8bc07aaaa iio: adc: mcp320x: Fix oops on module unload
3f8385a599bb iio: adc: mcp320x: Fix readout of negative voltages
143b44819564 iio: ad7793: Fix the serial interface reset
c15998910ffd iio: trigger: stm32-timer: fix a corner case to write preset
e4445ff462ff iio: trigger: stm32-timer: preset shouldn't be buffered
620dfbd1d966 IIO: BME280: Updates to Humidity readings need ctrl_reg write!
3f78bc054bd0 iio: core: Return error for failed read_reg
bb9ad7727c30 staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack.
ef8f8aac9c40 iio: ad_sigma_delta: Implement a dedicated reset function
91cec30e5600 iio: adc: twl4030: Disable the vusb3v1 rugulator in the error handling path of 'twl4030_madc_probe()'
0694b17d52b5 iio: adc: twl4030: Fix an error handling path in 'twl4030_madc_probe()'
9598144dd7fe Revert "xhci: Limit USB2 port wake support for AMD Promontory hosts"
d075a0375ff9 xhci: set missing SuperSpeedPlus Link Protocol bit in roothub descriptor
214dd70fd584 usb: host: xhci-plat: allow sysdev to inherit from ACPI
f1741099affe xhci: fix wrong endpoint ESIT value shown in tracing
ce2e382d152c xhci: fix finding correct bus_state structure for USB 3.1 hosts
49398e9c9987 USB: fix out-of-bounds in usb_set_configuration
fbe76115049a usb: Increase quirk delay for USB devices
2d3ad4d1d46d USB: core: harden cdc_parse_cdc_header
58134902731a USB: uas: fix bug in handling of alternate settings
4fea0da59600 USB: devio: Don't corrupt user memory
14e7521b5253 USB: devio: Prevent integer overflow in proc_do_submiturb()
7b6d9826473c USB: dummy-hcd: Fix erroneous synchronization change
110b5cb4d9b4 USB: dummy-hcd: fix infinite-loop resubmission bug
86481bcda003 USB: dummy-hcd: fix connection failures (wrong speed)
4ffa59b1c5ef USB: cdc-wdm: ignore -EPIPE from GetEncapsulatedResponse
9faf2caf8cfa usb: pci-quirks.c: Corrected timeout values used in handshake
d039e3d01004 ALSA: usb-audio: Check out-of-bounds access by corrupted buffer descriptor
7c4a2bdf47db usb: renesas_usbhs: fix usbhsf_fifo_clear() for RX direction
928b7190418b usb: renesas_usbhs: fix the BCLR setting condition for non-DCP pipe
a6302dbe96dc usb-storage: fix bogus hardware error messages for ATA pass-thru devices
78b35c89cf5e usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives
c2aafffef836 usb: gadget: udc: renesas_usb3: Fix return value of usb3_write_pipe()
3317d2d0ff4c usb: gadget: udc: renesas_usb3: fix Pn_RAMMAP.Pn_MPKT value
251a4b607db6 usb: gadget: udc: renesas_usb3: fix for no-data control transfer
3cb875dbac15 usb: gadget: udc: atmel: set vbus irqflags explicitly
21f8963948de USB: gadgetfs: fix copy_to_user while holding spinlock
57dddf4436e3 USB: gadgetfs: Fix crash caused by inadequate synchronization
13ac3ba437dd bpf: fix bpf_tail_call() x64 JIT
9377e85e3d96 net: rtnetlink: fix info leak in RTM_GETSTATS call
73229f01c713 socket, bpf: fix possible use after free
721915e62286 l2tp: fix l2tp_eth module loading
ef4721707447 tipc: use only positive error codes in messages
9b2249636b6e IPv4: early demux can return an error code
857c4b1f1004 ip6_tunnel: update mtu properly for ARPHRD_ETHER tunnel device in tx path
5222b3c935d8 ip6_gre: ip6gre_tap device should keep dst
59d0df52c04c netlink: do not proceed if dump's start() errs
cd53a041d929 net/mlx5e: IPoIB, Fix access to invalid memory address
6e2af86f894f net: Set sk_prot_creator when cloning sockets to the right proto
fd767b3c9282 net: dsa: mv88e6xxx: lock mutex when freeing IRQs
a9b7868d8603 packet: only test po->has_vnet_hdr once in packet_snd
49791a17d4f4 packet: in packet_do_bind, test fanout with bind_lock held
c45234f432ed tun: bail out from tun_get_user() if the skb is empty
f6a0ed8e5f3c l2tp: fix race condition in l2tp_tunnel_delete
b2861a38475a vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
b1c7b474de2d net: qcom/emac: specify the correct size when mapping a DMA buffer
366fcb432b12 net_sched: always reset qdisc backlog in qdisc_reset()
95cee692dafa isdn/i4l: fetch the ppp_write buffer in one shot
2f707d184b55 net: change skb->mac_header when Generic XDP calls adjust_head
53097ad73f85 bpf: one perf event close won't free bpf program attached by another perf event
f42a78ad68f6 packet: hold bind lock when rebinding to fanout hook
495589ad7efc net: ipv6: fix regression of no RTM_DELADDR sent after DAD failure
f8fcd8e80c6b net: emac: Fix napi poll list corruption
942383d73c7e tcp: fastopen: fix on syn-data transmit failure
b9156f4cbc05 8139too: revisit napi_complete_done() usage
c7da54ebfc21 net/sched: cls_matchall: fix crash when used with classful qdisc
d366a6d8fa78 ip6_tunnel: do not allow loading ip6_tunnel if ipv6 is disabled in cmdline
13b1a41fff28 net: phy: Fix mask value write on gmii2rgmii converter speed register
8786b0419353 ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
4064c6617aca udpv6: Fix the checksum computation when HW checksum does not apply
8c1ca8be42a4 bpf/verifier: reject BPF_ALU64|BPF_END
8c8468276d86 tcp: update skb->skb_mstamp more carefully
6746b3e1e62f tcp: use tp->tcp_mstamp in output path
1708658272d8 sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
4adf05c23f5d net: sched: fix use-after-free in tcf_action_destroy and tcf_del_walker
807813b1440a net_sched: gen_estimator: fix scaling error in bytes/packets samples
2280d8256b8f net: bonding: fix tlb_dynamic_lb default value
9ba28de2fb47 mlxsw: spectrum: Prevent mirred-related crash on removal
d843223f43a8 net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs
1b7ddba95ec0 Linux 4.12.15
9d16c1a513c7 video: fbdev: aty: do not leak uninitialized padding in clk to userspace
bc94f3c025d3 KVM: VMX: use cmpxchg64
cea4b7ad6495 KVM: VMX: remove WARN_ON_ONCE in kvm_vcpu_trigger_posted_interrupt
4cebefacc13f KVM: VMX: do not change SN bit in vmx_update_pi_irte()
5a44051221c3 x86/mm: Fix fault error path using unsafe vma pointer
d791f8cc082d PM / OPP: Call notifier without holding opp_table->lock
8fa3761f3899 btrfs: prevent to set invalid default subvolid
8b7eb4320d6e btrfs: propagate error to btrfs_cmp_data_prepare caller
66fff45ff37a btrfs: finish ordered extent cleaning if no progress is found
d382eb1c62d7 btrfs: clear ordered flag on cleaning up ordered extents
61f18171d910 btrfs: fix NULL pointer dereference from free_reloc_roots()
3f619f467ff2 PCI: Fix race condition with driver_override
8420e1f0af47 md: separate request handling
12319e7484d2 md: fix a race condition for flush request handling
e676df0b1216 futex: Fix pi_state->owner serialization
b36416a27475 etnaviv: fix gem object list corruption
691ffb4f0df4 etnaviv: fix submit error path
a84cfcb017eb mtd: nand: atmel: fix buffer overflow in atmel_pmecc_user
10abcdf16087 sched/sysctl: Check user input value of sysctl_sched_time_avg
5419de995f66 xfs: validate bdev support for DAX inode flag
1e278dd0b455 kvm: nVMX: Don't allow L2 to access the hardware CR8
25d709528376 KVM: VMX: Do not BUG() on out-of-bounds guest IRQ
1b5878780e93 kvm/x86: Handle async PF in RCU read-side critical sections
acc5982be80a KVM: VMX: simplify and fix vmx_vcpu_pi_load
1c16ff161d31 KVM: VMX: avoid double list add with VT-d posted interrupts
0a43cc31678e KVM: VMX: extract __pi_post_block
e7eb9c1ba767 arm64: fault: Route pte translation faults via do_translation_fault
7babcf8e63c1 arm64: mm: Use READ_ONCE when dereferencing pointer to pte table
38085d92217f arm64: Make sure SPsel is always set
94a2d9d24d33 seccomp: fix the usage of get/put_seccomp_filter() in seccomp_get_filter()
65185bc520d1 selftests/seccomp: Support glibc 2.26 siginfo_t.h
fc5162ded95e extable: Enable RCU if it is not watching in kernel_text_address()
e022bf93a924 extable: Consolidate *kernel_text_address() functions
6d755f70dff5 mmc: sdhci-pci: Fix voltage switch for some Intel host controllers
c2125202b46c rcu: Allow for page faults in NMI handlers
0b4ff86ce0a2 iw_cxgb4: put ep reference in pass_accept_req()
70f0bf226a5e iw_cxgb4: remove the stid on listen create failure
c39cd8c519dd iw_cxgb4: drop listen destroy replies if no ep found
48a056a511a4 bsg-lib: don't free job in bsg_prepare_job
0f4a3495da6a gfs2: Fix debugfs glocks dump
5284e4435c06 brd: fix overflow in __brd_direct_access
da1b0075cf0c nl80211: check for the required netlink attributes presence
f5231169840c vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets
98da77ff8eb5 SMB3: Don't ignore O_SYNC/O_DSYNC and O_DIRECT flags
60746c15130d SMB3: handle new statx fields
f874292f3df8 SMB: Validate negotiate (to protect against downgrade) even if signing off
274d2957576d SMB3: Warn user if trying to sign connection that authenticated as guest
69543984ef44 Fix SMB3.1.1 guest authentication to Samba
848c26a04de0 Revert "IB/ipoib: Update broadcast object if PKey value was changed in index 0"
df3f543b639e PM: core: Fix device_pm_check_callbacks()
65bee7492116 s390/mm: fix write access check in gup_huge_pmd()
b0b70437296e s390/mm: make pmdp_invalidate() do invalidation only
3d8166e70730 s390/perf: fix bug when creating per-thread event
5887ff9cbff2 MIPS: Fix perf event init
ef9d7b3442ab powerpc/pseries: Fix parent_dn reference leak in add_dt_node()
0970872dc16c KEYS: prevent KEYCTL_READ on negative key
7427f0ec5e24 KEYS: prevent creating a different user's keyrings
535c77f6cc0c KEYS: fix writing past end of user-supplied buffer in keyring_read()
65e577e5d218 security/keys: rewrite all of big_key crypto
6e4990d8d226 random: add get_random_{bytes,u32,u64,int,long,once}_wait family
20543a488913 random: add wait_for_random_bytes() API
37e408cf708d security/keys: properly zero out sensitive key material in big_key
a25aa12be307 crypto: talitos - fix hashing
e2a61a9c8de8 crypto: talitos - fix sha224
deea80b71ca1 crypto: talitos - Don't provide setkey for non hmac hashing algs.
42b449e1e74b crypto: drbg - fix freeing of resources
60b92951710b drm/radeon: disable hard reset in hibernate for APUs
b9e88e67fa58 Revert "drm/i915/bxt: Disable device ready before shutdown command"
3f97a3dc28cc drm/i915/gvt: Fix incorrect PCI BARs reporting
5cde5ed0e3e9 scsi: aacraid: Fix 2T+ drives on SmartIOC-2000
31fe32c4c118 scsi: scsi_transport_iscsi: fix the issue that iscsi_if_rx doesn't parse nlmsg properly
b051b4ae9e6a md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list
58b050319933 md/raid5: fix a race condition in stripe batch
805f300c67bd tracing: Remove RCU work arounds from stack tracer
682542006df3 tracing: Erase irqsoff trace with empty write
82306dc328b9 tracing: Fix trace_pipe behavior for instance traces
dbc8d3db80a1 KVM: PPC: Book3S HV: Hold kvm->lock around call to kvmppc_update_lpcr
ffd067e2cbb0 genirq/msi: Fix populating multiple interrupts
aab5f168d7c6 genirq: Make sparse_irq_lock protect what it should protect
dac8a5354b20 mac80211: flush hw_roc_start work before cancelling the ROC
f6dc54e4edf3 mac80211_hwsim: Use proper TX power
e991455baa63 mac80211: fix VLAN handling with TXQs
3722540c8cb3 scsi: scsi_transport_fc: fix NULL pointer dereference in fc_bsg_job_timeout
71a7d27fd864 fs/proc: Report eip/esp in /prod/PID/stat for coredumping
3941feee3478 cifs: release auth_key.response for reconnect.
86806e1ac9ab cifs: release cifs root_cred after exit_cifs
0de25f7acd91 cifs: check rsp for NULL before dereferencing in SMB2_open
8737eec0e579 sched/cpuset/pm: Fix cpuset vs. suspend-resume bugs
a3f1d53c1c2b bcache: fix bch_hprint crash and improve output
0fa332456800 bcache: fix for gc and write-back race
6ec401ab79a1 bcache: fix sequential large write IO bypass
273676b9a143 bcache: Correct return value for sysfs attach errors
d8cc6ff5d172 bcache: correct cache_dirty_target in __update_writeback_rate()
64a03d02ce82 bcache: do not subtract sectors_to_gc for bypassed IO
bec155f8ae9b bcache: Fix leak of bdev reference
809094f51397 bcache: initialize dirty stripes in flash_dev_run()
6c2a71ced908 ALSA: seq: Cancel pending autoload work at unbinding device
c29f8277f34c PM / devfreq: Fix memory leak when fail to register device
2872fe22451a media: adv7180: add missing adv7180cp, adv7180st i2c device IDs
c84111b698c8 media: uvcvideo: Prevent heap overflow when accessing mapped controls
56575dd7a0ed media: v4l2-compat-ioctl32: Fix timespec conversion
bb6ccacff00c s390/mm: fix race on mm->context.flush_mm
7b33ee224620 s390/mm: fix local TLB flushing vs. detach of an mm address space
e2813581906a net/netfilter/nf_conntrack_core: Fix net_conntrack_lock()
77f420b4d792 PCI: pciehp: Report power fault only once until we clear it
a58bbffad34d PCI: shpchp: Enable bridge bus mastering if MSI is enabled
9caa334f7158 ARC: Re-enable MMU upon Machine Check exception
fceed125b7a5 tracing: Apply trace_clock changes to instance max buffer
e183b93ae81e tracing: Add barrier to trace_printk() buffer nesting modification
b9b3fa21babe ftrace: Fix memleak when unregistering dynamic ops when tracing disabled
82e12dcbfd1f ftrace: Fix selftest goto location on error
5ab726174eae ftrace: Fix debug preempt config name in stack_tracer_{en,dis}able
59ce93476f82 mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE()
ddaf72eb0d17 scsi: qla2xxx: Fix an integer overflow in sysfs code
f74974648540 scsi: qla2xxx: Use fabric name for Get Port Speed command
b4cb86cdb179 scsi: qla2xxx: Use BIT_6 to acquire FAWWPN from switch
432d773132a5 scsi: qla2xxx: Correction to vha->vref_count timeout
6fa7602be640 scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE
d55c1d09656d scsi: sg: Re-fix off by one in sg_fill_request_table()
3992966852f4 scsi: sg: factor out sg_fill_request_table()
c15de6f030a9 scsi: storvsc: fix memory leak on ring buffer busy
3c710fb3c2a0 scsi: megaraid_sas: Return pended IOCTLs with cmd_status MFI_STAT_WRONG_STATE in case adapter is dead
8323a8af45f4 scsi: megaraid_sas: Check valid aen class range to avoid kernel panic
b06876d957af scsi: megaraid_sas: set minimum value of resetwaittime to be 1 secs
a128d0520218 scsi: megaraid_sas: mismatch of allocated MFI frame size and length exposed in MFI MPT pass through command
d3065824b5d8 scsi: aacraid: Fix command send race condition
9ef86a2c2f9c scsi: qedi: off by one in qedi_get_cmd_from_tid()
991a1a973948 scsi: zfcp: trace high part of "new" 64 bit SCSI LUN
7373c36cf075 scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response
2bfe5894d999 scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records
c679798f4383 scsi: zfcp: fix missing trace records for early returns in TMF eh handlers
d456a6a7eba5 scsi: zfcp: fix passing fsf_req to SCSI trace on TMF to correlate with HBA
c3542a2687e4 scsi: zfcp: fix capping of unsuccessful GPN_FT SAN response trace records
159e38c80f1c scsi: zfcp: add handling for FCP_RESID_OVER to the fcp ingress path
c6c3b0a8f550 scsi: zfcp: fix queuecommand for scsi_eh commands when DIX enabled
c3df0e8d390b skd: Submit requests to firmware before triggering the doorbell
90b434ca7fd1 skd: Avoid that module unloading triggers a use-after-free
d850e6fbdea2 md/bitmap: disable bitmap_resize for file-backed bitmaps.
aee5be4e0cf6 md/bitmap: copy correct data for bitmap super
ee6afcd47b63 block: directly insert blk-mq request from blk_insert_cloned_request()
4dfcf18b9669 block: Relax a check in blk_start_queue()
dd7a87a9600e powerpc: Fix DAR reporting when alignment handler faults
4ccf03cf6796 powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs
57a7853a3297 powerpc/powernv/npu: Move tlb flush before launching ATSD
fce49edeb7b8 cxl: Fix driver use count
adcbc87965eb ext4: fix quota inconsistency during orphan cleanup for read-only mounts
6d8326041868 ext4: fix incorrect quotaoff if the quota feature is enabled
699ec491aa59 ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets
b9aa3e877bea wcn36xx: Introduce mutual exclusion of fw configuration
b51f1d0bed48 regulator: cpcap: Fix standby mode
961497c9322b crypto: AF_ALG - remove SGL terminator indicator when chaining
e66082e0af79 crypto: caam/qi - properly set IV after {en,de}crypt
be48e355e2b0 crypto: caam/qi - fix typo in authenc alg driver name
c1b0aa5e489e crypto: scompress - don't sleep with preemption disabled
bedc673ee431 crypto: ccp - Fix XTS-AES-128 support on v5 CCPs
32bb68256227 docs: disable KASLR when debugging kernel
ebb451616d95 MIPS: math-emu: <MADDF|MSUBF>.D: Fix accuracy (64-bit case)
8a9e0b68b344 MIPS: math-emu: <MADDF|MSUBF>.S: Fix accuracy (32-bit case)
f1045424c538 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Clean up "maddf_flags" enumeration
db1ba5de2711 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of zero inputs
b9891c4cf672 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of infinite inputs
12ab5ebcc3f3 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix NaN propagation
b3a6ac0d63b6 MIPS: math-emu: MINA.<D|S>: Fix some cases of infinity and zero inputs
797910efa67c MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of both infinite inputs
32401438ab1c MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of input values with opposite signs
b4095004e721 MIPS: math-emu: <MAX|MIN>.<D|S>: Fix cases of both inputs negative
47e062700023 MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix cases of both inputs zero
9db3b8a2ffed MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix quiet NaN propagation
c8b054b62131 Input: i8042 - add Gigabyte P57 to the keyboard reset table
39d29eb95f64 pinctrl/amd: save pin registers over suspend/resume
b36d90f0b2fb pinctrl: samsung: Fix NULL pointer exception on external interrupts on S3C24xx
b098a309db19 pinctrl: samsung: Fix invalid register offset used for Exynos5433 external interrupts
a6a33ff37c4c tty: improve tty_insert_flip_char() slow path
d584d1580fc4 tty: improve tty_insert_flip_char() fast path
361c23e37c1f drm/amdgpu: read reg in each iterator of psp_wait_for loop
c29802eb2b14 Input: xpad - validate USB endpoint type during probe
f56b7f2bf63e smp/hotplug: Handle removal correctly in cpuhp_store_callbacks()
c4705a91ac8f srcu: Provide ordering for CPU not involved in grace period
7ac16054fc2b IB/mlx5: Fix cached MR allocation flow
1183d4d2624c IB/{qib, hfi1}: Avoid flow control testing for RDMA write operation
3e5ed45a45e0 IB/hfi1: Revert egress pkey check enforcement
1994169a2b63 <linux/uaccess.h>: Fix copy_in_user() declaration
f8d5b811ae66 orangefs: Don't clear SGID when inheriting ACLs
(From OE-Core rev: 72a9b142c3eeb4f89a44db978daf49ba60ffae8f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Test case ID 1422 is not correct for this issue, the correct test
case ID for test_qemu is 1424.
(From OE-Core rev: d214b1dc9339c4873156934f5291b9373a11471f)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'wic' image may use files which has been deployed (e.g in
do_deploy) for some partitions that may need to be copied in a
specific partition or filesystem (e.g a bootloader).
When using 'bitbake <image> -c image_wic', from a clean build, the
contents of do_deploy must also be available so we need to ensure all
do_deploy of the image dependencies has been complete.
Reported-by: Fabio Berton <fabio.berton@ossystems.com.br>
(From OE-Core rev: f387c28640cbb209b8a8ed5734b21c754d9f7663)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a race with rm_work when tasks run deltask do_build since
do_rm_work becomes a floating task. Handle this by injecting
the populate_sysroot/lic dependencies manually if the tasks returned
are empty. This depends on a change to fix bb.build.preceedtask() in
bitbake too.
[YOCTO #12365]
(From OE-Core rev: 0f537d985b7b17af508a511fca8a4ec4b5804580)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had 7.x around for long enough now that it should be tested and usable
everywhere, drop 6.4.
(From OE-Core rev: 2ec354f93101d85b4a3739368c8f0a96ec84c7d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In 6.x and 7.x gcc, libgfortran now needs libbacktrace. Enable building of this
so that libgfortran builds correctly.
[YOCTO #12394]
(From OE-Core rev: 2c2f20a9756eccafac776e45e319af7666e6da96)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe inherits nopackages but has a non-empty PACKAGES which confuses
the archiver class when:
INHERIT += "archiver"
ARCHIVER_MODE[srpm] = "1"
Ensuring PACKAGES is empty removes the errors that occur in this configuration.
[YOCTO #11121]
(From OE-Core rev: b8a603d3f1d3adac41d042e42a2283b7fdf2ae7c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We actually caught the ext4 size issue in the wild with the debug
output in the oe_mkext234fs() code, but it did not help. What that
showed was that the get_rootfs_size was returning a default size of
8192, where as the actual rootfs was more like 10572, thus too large
to fit in the created sparse file.
This additional temporary debug code should help us determine where
the failure might be.
More debug for
[YOCTO #12304]
(From OE-Core rev: 978472c58629d1448399207873bbead96b27102e)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Mount a '/media' partition to wic-image-minimal.wks with a known UUID.
- In test_qemu, sort our output from checking the output of 'mount' as
it may not be stable. Also, do not check the exit code as passing any
output to cut ensures a 0 exit code.
- Check for a 'UUID=' line in /etc/fstab with out expected output.
(From OE-Core rev: 6d9396b26218f3234701944f385d5c36face8121)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
First, allow for wic to be given a filesystem UUID to be used when
creating a filesystem. When not provided, wic will generate the UUID to
be used. Next, when --use-uuid is passed, we update the fstab to mount
things via UUID (and if not found, then use PARTUUID) as UUID is more
portable.
(From OE-Core rev: 9256b8799495634ee8aee5d16ff71bd6e6e25ed4)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
First, we support squashfs as root, so mention that. Second, the btrfs
rootfs creation function had a copy/paste of the previous function
comment, remove the irrelevant line.
(From OE-Core rev: 7cdd4034b3e6ff4e13d491dfba24906afe495e2d)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SquashFS filesystem does not support UUIDs so make this combination
be an error.
(From OE-Core rev: 2fbdcf4e59c835af0f4041bc34243decb42321ef)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will speed up file creation and still allow the btrfs tools to
create a full btrfs image. This is similar to what we do for ext234
FS types.
(From OE-Core rev: de2f2fc9e8e6d874a11e69adc2f438975a5c1359)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifically, 'devtool upgrade' will now do these things:
1) determine if any of the license checksums need updating; if so,
write the new checksums into the LIC_FILES_CHKSUM value in the recipe
that is written to the workspace;
2) print a notice to the standard output:
NOTE: New recipe is /home/ak/development/poky/build/workspace/recipes/puzzles/puzzles_git.bb
NOTE: License checksums have been updated in the new recipe; please refer to it for the difference between the old and the new license texts.
3) and the cool part: devtool will create a diff of the old and new licenses,
and write the diff into the workspace recipe as a comment, like this:
======
FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'.
The following is the difference between the old and the new license text.
Please update the LICENSE value if needed, and summarize the changes in
the commit message via 'License-checksum-change:' tag.
(example: 'License-checksum-change: copyright years updated.')
The changes:
--- LICENCE
+++ LICENCE
@@ -1,8 +1,9 @@
This software is copyright (c) 2004-2014 Simon Tatham.
Portions copyright Richard Boulton, James Harvey, Mike Pinna, Jonas
-Klker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd
-Schmidt, Steffen Bauer, Lennard Sprong and Rogier Goossens.
+Kölker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd
+Schmidt, Steffen Bauer, Lennard Sprong, Rogier Goossens and Michael
+Quevillon.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
======
(From OE-Core rev: ccb37f9e81eb78ed0eb2a238d7c3e196db9b2f72)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifically, 'devtool upgrade' will use the latest upstream release if available
or latest commit if upstream never makes releases.
(From OE-Core rev: 45b4242b105ad36e94ae15a96d588a58b917b8e8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This command queries the upstream server for what the latest release is and prints
the output; it is a much neater way to find out these things than fumbling with distrodata,
'bitbake -c checkpkg' and awkward to read csv output in a file.
Examples:
python3 (tarballs):
NOTE: Current version: 3.5.3
NOTE: Latest version: 3.6.3
rpm (git):
NOTE: Current version: 4.13.90
NOTE: Latest version: 4.14.0
NOTE: Latest version's commit: da3720f62e57648fb1dc2a632744d38866139971
puzzles (git without version tags):
NOTE: Latest commit: ee8ea9b9785964694cb2b3ad77c3fb2460f49510
(From OE-Core rev: e8f5b5cc25ce7a9882f21473cefc47edcebf77d4)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch which has been submitted upstream to support producing
bindings for Node.js 7+. This is important to enable mraa to build with
newer Node.js versions.
Fixes [YOCTO #12293].
(From OE-Core rev: 1825473ba35b4557db99786420ca451068922223)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. os-test.patch is removed because current dbus has removed
distro specific init script.
2. Add autoconf-archive to DEPENDS to fix do_configure failure as below.
error: Unexpanded AX_ macro found.
3. Modify FILES variable to fix installed-vs-shipped QA issue.
(From OE-Core rev: 3e1e783f0e18f7be1527280f39b3c74f048e24e6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add architecture and tune includes for MicroBlaze. This covers
architecture configuration as well as tune configuration and features.
The Xilinx MicroBlaze architecture is a soft-core CPU architecture
designed for implementation on Xilinx FPGAs. Because the CPU is a
soft-core it can be configured differently depending on resource and
performance constraints which affect the ABI and supported instructions.
The architecture is also used in other Xilinx products where the core is
implemented as part of fixed silicon (e.g. Xilinx ZynqMP).
The default tune include 'tune-microblaze.inc' provides the baseline (no
features enabled) tune configuration for a target machine. This is
similar to other architectures such that the machine.conf includes a
tune-*.inc. However due to the customizability configuration is
specifically handled on a per machine basis. A machine should configure
the available tune features by setting the available features directly
by appending to the 'TUNE_FEATURES_tune-microblaze' variable.
This tune configuration approach is preferred to avoid the definition of
an otherwise large set of possible tune configurations for the available
features (14 CPU versions and 11 feature configurations), which would
otherwise require >1024 predefined tune configurations.
(From OE-Core rev: 295a99a31ca147a271c0c76538c4fb27dbecab27)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kexec-tools do not currently support MicroBlaze, override the
KEXECTOOLS variable to disable the inclusion of these tools in the
packagegroup.
(From OE-Core rev: e9790a1f882c2b1ec349be374b03198da66bbb66)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libasan and libubsan sanitizers are not available for MicroBlaze.
Follow the overriding of the SANITIZERS variable as done for other
architectures to remove these from the packagegroup when targeting
MicroBlaze.
(From OE-Core rev: 3b78384868b1fb99019abe6760247a905ba03ce4)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if "systemd --test" is not allowed to complete
sending output, it will segfault.
(From OE-Core rev: 7e4632f17ba92ac71351e45acf11f0d7dfe14e0c)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you specify 'tag=' for a git URL and passed to recipetool create, you
will get into Bitbake expansion error shown below:
----- snip -----
$ devtool add --version 2.4.2 mbedtls "git://github.com/ARMmbed/mbedtls;tag=mbedtls-2.4.2"
...
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Conflicting revisions (abeccb9dbd7e19ae91ac50e1edd3803111c5f9b6 from SRCREV and mbedtls-2.4.2 from the url) found, please specify one valid value
----- snip -----
Assuming the tag is valid, we should get the tag commit hash and
drop the usage of 'tag=' from SRC_URI. By using a commit hash
corresponding to the tag will prevent bitbake from accessing
remote repository in order to expand SRCPV.
(From OE-Core rev: 53f8effa3eb07dc7035ff9933e7918318f242579)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was patching -lxslt directly into the pkgconfig file, but XSLT_LIBS already
contains this so the patch is redundant.
(From OE-Core rev: 57b811b61dfbea551e6a4bdd98ec697729f1411b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ICU library libicudata is created with a wrong endianness if the host
and target have different endianness. (e.g. build ICU for qemuppc on
x86-64 host)
See upstream bug report: http://bugs.icu-project.org/trac/ticket/11758
The discussion in oe-core mailing list:
https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg65155.html
The root cause is the native pkgdata can not generate correct icu data
for different endianness. By default, this data is built into the shared
library libicudata that would cause it corrupt. But ICU also provides
additional options for loading the data. With option
--with-data-packaging=archive, ICU outputs a single icudt.dat file which
can be loaded by the library.
See document: http://userguide.icu-project.org/icudata
So for big endian system, we can use the separated data file which
re-generates by icupkg and set the correct ICU_DATA environment variable
to make sure the library can load the data without problems.
(From OE-Core rev: 77d1b9cda69d09cd7d3c8174ef14b4ee10e5efb6)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoconf has not been released in a number of years. However many
changes have been made to the gnu-config config.guess/.sub since 2.69,
including new architectures, OS variants, etc. In order to enable these
targets without creating patches for the source itself populate the
gnu-config files from the sysroot as is done with autotools recipes.
Whilst it is not possible for the autoconf recipe to bootstrap its
configure task (using the autotools_do_configure), the files can be
manually copied into the target location.
(From OE-Core rev: 302bab86d65831d7b03325e7002a992eb266318e)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ovmf package fails to build if you use a PARALLEL_MAKE flag
without a space in it. If you put the following in local.conf for
example:
PARALLEL_MAKE = "-j4"
The build will fail with as follows:
| build.exe: error: Option -n only allows one instance in command line!
| WARNING: /opt/build/ovmf/git-r0/temp/run.do_compile.26080:1 exit 2 from '/opt/build/ovmf/git-r0/git/OvmfPkg/build.sh $PARALLEL_JOBS -a $OVMF_ARCH -b RELEASE -t ${FIXED_GCCVER}'
| ERROR: Function failed: do_compile (log file is located at /opt/build/ovmf/git-r0/temp/log.do_compile.26080)
The failure is because the build.sh expects a space. The simple work
around is to fix the recipe to add some white space. The build.sh
only cares that it gets at least one space between the arguments, the
extra space if someone uses "-j 4" does not cause problems.
(From OE-Core rev: cf7f4705e65a877cb4b3ac8872369c1b2e81a7be)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some source files aren't valid utf-8 containing for example
iso8859-1 accented characters in author's names.
Replace invalid data with a replacement '?' character and
print a warning to keep things working.
(From OE-Core rev: 61af0b446f104c99589cd4473040ca700dba3ff3)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update prelink to the newest commit on the cross_prelink ref. This
includes the following changes:
05aeafd053 Disable automatic generation of prelink.pdf
aa2985eefa src/rtld: Add MicroBlaze support based on glibc-2.24
62f80843f8 README: update information on reloc8/reloc9 failures
The primary purpose of this update is to enable the added MicroBlaze
rtld support so as to enable gobject-introspection for MicroBlaze.
(From OE-Core rev: 8cab8f79b73e72256a2d7940f4973ebfd36e232b)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG for single-binray. Disable it by default.
When enabled, there would only be one binary file /usr/bin/coreutils, other
files like 'ls' are text files containing contents like:
#!/usr/bin/coreutils --coreutils-prog-shebang=ls
And the size of the rpm package reduces from 849K to 519K.
Default to disable this option to keep the traditional behaviour.
(From OE-Core rev: 94ce5d25cad7d81b979218a40cdf15be26a7aae5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade coreutils to 8.28.
Backport a patch to fix the following build error on centos7.
warning: unreferenced node `Realpath usage examples'
(From OE-Core rev: d4fad8ec23f792b0d20b5d20b51134e643672dce)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refreshed the following patch:
iconv-m4-remove-the-test-to-convert-euc-jp.patch
No change in license as update in License Checksum is due
to change in Copyright years.
(From OE-Core rev: 79f36e7d329a8aa2ed1b1d69878203ced96bc6ca)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc7.patch, musl-fixes.patch, and ppc-musl-fix.patch all change code that is no
longer present in upstream tree. However, a patch with different musl fixes
has been added.
The rest of the patches are rebased to the new tree.
Libtasn is a new dependency.
Disable Gstreamer GL support on x86 due to clashing headers problem.
(From OE-Core rev: 3acae2dcd130122fe76504ec855af78db829d6ec)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The installation path and wayland-scanner location problems in Wayland were
resolved in "wayland: Fix installation patch issue" (oe-core 14c0d99) which made
the WAYLAND_PROTOCOLS_SYSROOT_DIR workaround redundant.
(From OE-Core rev: e41c3cb0816a2f59d1c02d4b34285b29d67486ba)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The installation path and wayland-scanner location problems in Wayland were
resolved in "wayland: Fix installation patch issue" (oe-core 14c0d99) which made
the WAYLAND_PROTOCOLS_SYSROOT_DIR workaround redundant.
(From OE-Core rev: 2dffd043c7f9bb71356a0d0b86b5b0a19fdf7343)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The installation path and wayland-scanner location problems in Wayland were
resolved in "wayland: Fix installation patch issue" (oe-core 14c0d99) which made
the WAYLAND_PROTOCOLS_SYSROOT_DIR workaround redundant.
(From OE-Core rev: 5d44eeca7706f6b3d178744f330710105e079618)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch was removed from SRC_URI in the Weston 3.0 upgrade (148920f) but the
patch wasn't deleted.
(From OE-Core rev: f03e43153479bf9c58d7feec9a4c3fa1b7dca57d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a 'nobuild' option for starting Toaster without the project
and hosted builds support. This allows a Toaster host to provide
local build statistics without opening the host to external users
building projects.
[YOCTO #12315]
(Bitbake rev: 2d14d6004b6add5ce07295fff1144ade2e54e1c9)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Toaster initial landing page needs to show that it still has
the command line build capture support in addition to the new
project support.
[YOCTO #12316]
(Bitbake rev: d0358432ca9dd3deef623f6d0585d99d23b3aede)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow for custom environment additions for git cloning, for example
for anspass support.
[YOCTO #12193]
(Bitbake rev: b4717888c55681a49803c4842140af644a5cdc71)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow for "SinglePackageInfo" events that do not include package data,
for example OPKGN equal 'lib32-*' or 'lib64-*'.
[YOCTO #12204]
(Bitbake rev: 567f072ff260614cde3da220a40a95d5a8b9ab92)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latest build enviroment script is now setting BBPATH. This breaks
building previous releases from a master-based Toaster, because with this
newly inherited BBPATH value the 'bitbake.lock' file ends up in the
Toaster build directory instead of the project's build directory.
Toaster should always clear BBPATH so that the bbserver's environment
is clean (enough).
[YOCTO #12363]
(Bitbake rev: 21dde782c049108dd9455ffbf431de214437e800)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Simplify python- and python3-nose by using pypi.bbclass
* Consolidate common content in python-nose.inc
- Avoid duplication by using PYTHON_PN variable
(From OE-Core rev: 351e741cea4538cfe30640bd6e451c0fbc1d0329)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Simplify python- and python3-setuptools with pypi.bbclass
* inherit setuptools rather than distutils
* Consolidate common settings in python-setuptools.inc
- use PYTHON_PN variable to eliminate duplication
- python3-setuptools had missing RDEPENDS (e.g., plistlib)
- installer no longer creates setuptools.pth, drop fixes
(From OE-Core rev: 624a6f209248a0c8e0759d43f246c903a8db6a71)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generators create python-*-manifest.inc files with
lines over 2500 characters long which breaks sending
patches via git send-email (because of smtp limitation).
This patchset formats all the long lines into multiple lines.
(From OE-Core rev: 3a1900a5691466a04b24907067f43117b318ca7e)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pypi.bbclass has usefullness in many meta layers, not
just meta-python. Add it to oe-core for the benefit of
everyone.
Documentation strings for PYPI_PACKAGE, PYPI_PACKAGE_EXT and
PYPI_SRC_URI added to meta/conf/documentation.conf
(From OE-Core rev: c350812523017f113f63e0b863fd526b4d6331b9)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For uninative to work, it relies on it being updated to new versions as
newer glibcs are built. This means the uninative generated by the current
build may not be as recent as the uninative that is being downloaded by
uninative.bbclass.
If this occurs, we can get symbol mismatch errors.
Ultimately, the sstate and the uninative versions need to match so we
should use the same tarball as uninative.bbclass is using, not the one
we built.
[YOCTO #12405]
(From OE-Core rev: a24c10b7bdab8aa960fdd3a58d2009f24344e579)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We saw builds where runtime providers were sometimes changing order and the
build result was therefore non-deterministic. For example it could show:
DEBUG: providers for lib32-initd-functions are: ['lib32-lsbinitscripts', 'lib32-initscripts']
or
DEBUG: providers for lib32-initd-functions are: ['lib32-initscripts', 'lib32-lsbinitscripts']
which could cause a test to pass or fail.
This change ensures we don't rely on the random order of dictonaries in
memory and act deterministically.
(Bitbake rev: ebce92bf8d71f8a6e8af1c6cf6ba335faf9d67c8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running:
$ oe-selftest -r sstatetests.SStateTests.test_sstate_sametune_samesigs
after commit cdcebd81c872cb7386c658998e27cf24e1d0447c results in:
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime lib32-initd-functions (lib32-initscripts, lib32-lsbinitscripts)
Consider defining a PREFERRED_RPROVIDER entry to match lib32-initd-functions
and will occasionally pick a different value on the second stamps run
causing a test failure. Update the multilib code to handle
PREFERRED_RPROVIDER too.
There is a bigger worry here which is why the builds aren't deterministic. This is
caused by a bug in bitbake's providers.py and a separate fix will be sent for that
which would cause this test to always pass or always fail.
(From OE-Core rev: ced4ac760926ce43a937dad2be3b873b1beec6aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As a follow up to the changes to ensure that KBUILD_DEFCONFIG will
always get its defconfig into the processing, we also should ensure that
we don't get both a KBUILD_DEFCONFIG and a SRC_URI defconfig in the
configuration queue. If both are in the configuration queue, we end up
with competing values and a potentially long running check of 5000+
options x 2 against the final .config.
By removing the defconfig found from the SRC_URI when one is found
via KBUILD_DEFCONFIG, we ensure that only one will be processed.
(From OE-Core rev: 7e98c295c1bb511ece51b5f8c97f26c173ddaf76)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bberror does not stop the build correctly, this should be a
bbfatal_log to ensure the failure correctly stops the build and logs
the failure.
Part of
[YOCTO #12162]
(From OE-Core rev: 44ff06635e7f575e67b7ebba5d6900b8ddbc4a06)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using KBUILD_DEFCONFIG, $sccs should be set to the $WORKDIR/defconfig
regardless if it compares or is copied. Otherwise $sccs is not set and the
defconfig is not found correctly.
Part of
[YOCTO #12162]
(From OE-Core rev: b63cc051f1eb58c768f49db2c04843336e62d3df)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates that include the following changes:
133e6ccf46f1 Linux 4.9.65
ceaec6e8cd98 mm/pagewalk.c: report holes in hugetlb ranges
fae5947129eb coda: fix 'kernel memory exposure attempt' in fsync
9980b8278338 mm/page_alloc.c: broken deferred calculation
55b06b0fc09b ipmi: fix unsigned long underflow
8af777385f7a ocfs2: should wait dio before inode lock in ocfs2_setattr()
a8356445ba0f ocfs2: fix cluster hang after a node dies
2bd38ece78a4 dmaengine: dmatest: warn user when dma test times out
e6d4a078f0e7 serial: 8250_fintek: Fix finding base_port with activated SuperIO
70eb4608bb0e serial: omap: Fix EFR write on RTS deassertion
2cfbb32f6ccb ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
aa15fe4d6a7f crypto: dh - Fix double free of ctx->p
4a7e02312420 crypto: dh - fix memleak in setkey
67b718fcf897 net/sctp: Always set scope_id in sctp_inet6_skb_msgname
f0ae7a1b45fa fealnx: Fix building error on MIPS
362d2ce0f851 sctp: do not peel off an assoc from one netns to another one
99aa74ce9c2d af_netlink: ensure that NLMSG_DONE never fails in dumps
080ecd2bb62b vlan: fix a use-after-free in vlan_device_event()
58baa36d3728 net: usb: asix: fill null-ptr-deref in asix_suspend
4ad82095bfe2 qmi_wwan: Add missing skb_reset_mac_header-call
02a0c0639ae0 net: qmi_wwan: fix divide by 0 on bad descriptors
f376621861e3 net: cdc_ether: fix divide by 0 on bad descriptors
6f239c0655cf bonding: discard lowest hash bit for 802.3ad layer3+4
afd9fa661927 netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
3920a5bdd951 tcp: do not mangle skb->cb[] in tcp_make_synack()
58b21b028721 net: vrf: correct FRA_L3MDEV encode type
b0e50c4e895a tcp_nv: fix division by zero in tcpnv_acked()
563c24f65f4f Linux 4.9.64
6fbd42df9217 staging: greybus: spilib: fix use-after-free after deregistration
d8b5d88d2195 brcmfmac: don't preset all channels as disabled
54a5155afa84 x86/MCE/AMD: Always give panic severity for UC errors in kernel context
f6643fc829e0 USB: serial: garmin_gps: fix memory leak on probe errors
579cf722f8c1 USB: serial: garmin_gps: fix I/O after failed probe and remove
1f9688d551e3 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
fd6a742d8bf7 usb: gadget: f_fs: Fix use-after-free in ffs_free_inst
599973738e28 USB: Add delay-init quirk for Corsair K70 LUX keyboards
87ff414178cb USB: usbfs: compute urb->actual_length for isochronous
11fdb41a1faa crypto: dh - Don't permit 'key' or 'g' size longer than 'p'
2d3a0d950156 crypto: dh - Don't permit 'p' to be 0
e38fe6397f73 Revert "dt-bindings: Add LEGO MINDSTORMS EV3 compatible specification"
a9a3cb25d9c1 Revert "dt-bindings: Add vendor prefix for LEGO"
f95d6058d5cc uapi: fix linux/rds.h userspace compilation errors
3323d07612b2 uapi: fix linux/rds.h userspace compilation error
3f0cc54226ca Revert "uapi: fix linux/rds.h userspace compilation errors"
d8ce2b0874a7 Revert "crypto: xts - Add ECB dependency"
d7df7af5b9b6 MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds
ade4b22d47bb MIPS: traps: Ensure L1 & L2 ECC checking match for CM3 systems
73b6038950cd MIPS: init: Ensure reserved memory regions are not added to bootmem
6539d1ca4fc9 MIPS: init: Ensure bootmem does not corrupt reserved memory
3b0f619cd4b9 MIPS: End asm function prologue macros with .insn
b53bab72b9d8 staging: greybus: add host device function pointer checks
1f5a7caba79e staging: wilc1000: Fix endian sparse warning
ca24e702ccfa staging: rtl8712: fixed little endian problem
ef417b59c222 ixgbe: do not disable FEC from the driver
bc656fda2442 ixgbe: add mask for 64 RSS queues
7316fb33f0a5 ixgbe: Reduce I2C retry count on X550 devices
e15dad31b10b ixgbe: Fix reporting of 100Mb capability
3bed7d680acf ixgbe: handle close/suspend race with netif_device_detach/present
6a4ef8b6ceeb ixgbe: fix AER error handling
6c7999904f32 ixgbe: Configure advertised speeds correctly for KR/KX backplane
5d820f84e169 arm64: dts: NS2: reserve memory for Nitro firmware
f6e94c2c16fe ALSA: hda/realtek - Add new codec ID ALC299
0e2245ab6901 gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap
473286bdd58d backlight: adp5520: Fix error handling in adp5520_bl_probe()
6aaf9ba9bde7 backlight: lcd: Fix race condition during register
acc365c02859 drm/omap: panel-sony-acx565akm.c: Add MODULE_ALIAS
5d1d893d31ce ALSA: vx: Fix possible transfer overflow
0f4ea85748bf ALSA: vx: Don't try to update capture stream before running
9dc7637700e5 power: supply: axp288_fuel_gauge: Read 12 bit values 2 registers at a time
0010542d3f79 power: supply: axp288_fuel_gauge: Read 15 bit values 2 registers at a time
d9a5790b2145 rtc: rx8010: change lock mechanism
cb341679a5b4 scsi: lpfc: Clear the VendorVersion in the PLOGI/PLOGI ACC payload
235d82cb46d2 scsi: lpfc: Correct issue leading to oops during link reset
f89885d40a5f scsi: lpfc: Correct host name in symbolic_name field
b4e42f5d0116 scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort
01347f537f6c scsi: lpfc: Add missing memory barrier
d9b035e70426 x86/irq, trace: Add __irq_entry annotation to x86's platform IRQ handlers
f7d1861153d4 staging: rtl8188eu: fix incorrect ERROR tags from logs
fe975496da30 tcp: provide timestamps for partial writes
cfb09f0571a5 scsi: ufs: add capability to keep auto bkops always enabled
ea56533994fe scsi: ufs-qcom: Fix module autoload
0ef1e72e73fe igb: Fix hw_dbg logging in igb_update_flash_i210
64da1e5ea30d igb: close/suspend race in netif_device_detach
2aed3814969b igb: reset the PHY before reading the PHY ID
38fa955da251 drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache
02c7292bb7ee ata: SATA_MV should depend on HAS_DMA
cece64a6107c ata: SATA_HIGHBANK should depend on HAS_DMA
1122c15f0a96 ata: ATA_BMDMA should depend on HAS_DMA
15a65b946c61 ARM: dts: omap5-uevm: Allow bootloader to configure USB Ethernet MAC
c26fa1306c80 ARM: dts: Fix omap3 off mode pull defines
e96a11f64b81 ARM: OMAP2+: Fix init for multiple quirks for the same SoC
db458f6e6110 ARM: dts: Fix am335x and dm814x scm syscon to probe children
f022fa1b61e5 ARM: dts: Fix compatible for ti81xx uarts for 8250
e17a5a8fc0bd fm10k: request reset when mbx->state changes
6202042b7428 extcon: palmas: Check the parent instance to prevent the NULL
c4a77534ce2b extcon: Remove potential problem when calling extcon_register_notifier()
ee61d06653fd Bluetooth: btusb: fix QCA Rome suspend/resume
a5bd3edda619 arm: crypto: reduce priority of bit-sliced AES cipher
49c1e5f03238 media: dib0700: fix invalid dvb_detach argument
ca98a5c72170 media: imon: Fix null-ptr-deref in imon_probe
ea88d5c5f411 Linux 4.9.63
e81b96cab11f misc: panel: properly restore atomic counter on error path
b2dbcb7c969d qla2xxx: Fix incorrect tcm_qla2xxx_free_cmd use during TMR ABORT (v2)
ff4927181666 target/iscsi: Fix iSCSI task reassignment handling
e7c9ca5a3f46 brcmfmac: remove setting IBSS mode when stopping AP
31c8c4942820 security/keys: add CONFIG_KEYS_COMPAT to Kconfig
a23349bb9f12 netfilter: nat: Revert "netfilter: nat: convert nat bysrc hash to rhashtable"
25db12f1c584 netfilter: nat: avoid use of nf_conn_nat extension
fd1ca9fea458 Revert "ARM: dts: imx53-qsb-common: fix FEC pinmux config"
1862eca99e27 ALSA: seq: Cancel pending autoload work at unbinding device
9d65d0ea55dc Input: ims-psu - check if CDC union descriptor is sane
8cf061d919e2 usb: usbtest: fix NULL pointer dereference
ddd95bc900ae mac80211: don't compare TKIP TX MIC key in reinstall prevention
38762a516e0c mac80211: use constant time comparison with keys
2586fa0007dc mac80211: accept key reinstall without changing anything
ac4cfc730e4b ppp: fix race in ppp device destruction
7b9870f07854 net_sched: avoid matching qdisc with zero handle
b89fc6a5caff sctp: reset owner sk for data chunks on out queues when migrating a sock
210a6418730b tun: allow positive return values on dev_get_valid_name() call
d6b1aebcd7a5 ip6_gre: update dst pmtu if dev mtu has been updated by toobig in __gre6_xmit
6d428bc40a42 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
df0eebcea8e5 ipip: only increase err_count for some certain type icmp in ipip_err
fbf92277e6d2 tap: double-free in error path in tap_open()
62de3fe46c6b net/unix: don't show information about sockets from other namespaces
2af59c6557a5 tcp/dccp: fix other lockdep splats accessing ireq_opt
3107d4dc7a80 tcp/dccp: fix lockdep splat in inet_csk_route_req()
ec5caf542066 sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND
28fa583fd8ce ipv6: flowlabel: do not leave opt->tot_len with garbage
3b0b4d2c47ec soreuseport: fix initialization race
57ffb0ecf367 packet: avoid panic in packet_getsockopt()
2ffd26133724 tcp/dccp: fix ireq->opt races
bcb9ced1833c sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
3e2ab0ceef68 tun: call dev_get_valid_name() before register_netdevice()
9075216b8b93 l2tp: check ps->sock before running pppol2tp_session_ioctl()
e12c42c55287 tcp: fix tcp_mtu_probe() vs highest_sack
cb5880e677a1 net: call cgroup_sk_alloc() earlier in sk_clone_lock()
4cd69ad53001 netlink: do not set cb_running if dump's start() errs
d87890d9ff15 ipv6: addrconf: increment ifp refcount before ipv6_del_addr()
5b9d20195a25 tun/tap: sanitize TUNSETSNDBUF input
97ba8f88b448 gso: fix payload length when gso_size is zero
9b609ba2c2df Linux 4.9.62
e45d93b48c93 x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
9d5e5994c5f9 x86/smpboot: Make optimization of delay calibration work correctly
9313d039c4d0 can: c_can: don't indicate triple sampling support for D_CAN
5e01a9f94e59 can: ifi: Fix transmitter delay calculation
f45c1b09261b can: sun4i: handle overrun in RX FIFO
bad4c8f1bc25 drm/bridge: adv7511: Re-write the i2c address before EDID probing
6731d54c7868 drm/bridge: adv7511: Reuse __adv7511_power_on/off() when probing EDID
efc6d340e410 drm/bridge: adv7511: Rework adv7511_power_on/off() so they can be reused internally
55e7e5213817 drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
4f027e3c7b62 rbd: use GFP_NOIO for parent stat and data requests
9f2ac3d8cb31 Input: elan_i2c - add ELAN060C to the ACPI table
1331af440ad2 MIPS: AR7: Ensure that serial ports are properly set up
76aaa788e92a MIPS: AR7: Defer registration of GPIO
b17e663e150c MIPS: BMIPS: Fix missing cbr address
bbc62fb031a6 ASoC: sun4i-spdif: remove legacy dapm components
fb705ebf996e tools: firmware: check for distro fallback udev cancel rule
ebf95a6f0286 selftests: firmware: send expected errors to /dev/null
b98220399dc4 MIPS: SMP: Fix deadlock & online race
3b9fd3333aaf MIPS: Fix race on setting and getting cpu_online_mask
d99db83cafbf MIPS: SMP: Use a completion event to signal CPU up
71bcb37ff5fa MIPS: Fix CM region target definitions
16d5634e8827 MIPS: microMIPS: Fix incorrect mask in insn_table_MM
7de694782cbe drm/i915: Do not rely on wm preservation for ILK watermarks
b35783871190 ALSA: seq: Avoid invalid lockdep class warning
4b52c3170bd8 ALSA: seq: Fix OSS sysex delivery in OSS emulation
1541afbfb4a2 ARM: 8720/1: ensure dump_instr() checks addr_limit
8ea52a683f81 KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
2822bbb53269 crypto: x86/sha256-mb - fix panic due to unaligned access
ca6c028e2fe4 crypto: x86/sha1-mb - fix panic due to unaligned access
58ed8a47e450 crypto: ccm - preserve the IV buffer
46f15501c5b7 workqueue: Fix NULL pointer dereference
2715f6841a08 x86/uaccess, sched/preempt: Verify access_ok() context
07e415ac5ca1 platform/x86: hp-wmi: Do not shadow error values
0a18a94af43f platform/x86: hp-wmi: Fix error value for hp_wmi_tablet_state
419ec342d312 KEYS: trusted: fix writing past end of buffer in trusted_read()
64a234537a88 KEYS: trusted: sanitize all key material
bddc61e7732b cdc_ncm: Set NTB format again after altsetting switch for Huawei devices
047b67372d7b platform/x86: hp-wmi: Fix detection for dock and tablet mode
0e1cfde447fe net: dsa: select NET_SWITCHDEV
fa8f3a67b9a8 clk: mvebu: adjust AP806 CPU clock frequencies to production chip
326ef0fd4fb2 IB/rxe: Fix reference leaks in memory key invalidation code
93e1956dddf5 wcn36xx: Don't use the destroyed hal_mutex
72eff92d84f0 s390/qeth: issue STARTLAN as first IPA command
c4d567ef164e s390/qeth: fix retrieval of vipa and proxy-arp addresses
e793ad50d151 ARM: dts: STiH410-family: fix wrong parent clock frequency
d369bba84410 IB/ipoib: Change list_del to list_del_init in the tx object
8b93cbd12547 sched/cputime, powerpc32: Fix stale scaled stime on context switch
a3a76ea2c072 Input: mpr121 - set missing event capability
260e2e82c247 Input: mpr121 - handle multiple bits change of status register
0ddb64c14856 s390/topology: make "topology=off" parameter work
8b45f832b33b EDAC, amd64: Save and return err code from probe_one_instance()
e41c105195ca IPsec: do not ignore crypto err in ah4 input
ab71bee531fd apparmor: fix undefined reference to `aa_g_hash_policy'
c944dc7aedfb rt2800usb: mark tx failure on timeout
be5125d4fa9e brcmfmac: setup wiphy bands after registering it first
c5493c6e4a6a netfilter: nft_meta: deal with PACKET_LOOPBACK in netdev family
a7eba17c44f3 usb: hcd: initialize hcd->flags to 0 when rm hcd
397b6e5d7bbe libertas: fix improper return value
2ae9f47ce114 serial: sh-sci: Fix register offsets for the IRDA serial port
a88a90128888 phy: increase size of MII_BUS_ID_SIZE and bus_id
04e13a5ec96d dt-bindings: Add vendor prefix for LEGO
852bf68b7a62 dt-bindings: Add LEGO MINDSTORMS EV3 compatible specification
f89e669323ad iio: proximity: sx9500: claim direct mode during raw proximity reads
6d8897645b98 iio: magnetometer: mag3110: claim direct mode during raw writes
87e4965cec61 iio: pressure: ms5611: claim direct mode during oversampling changes
19d0541bd2c2 iio: trigger: free trigger resource correctly
6bcd1787b587 drm: mali-dp: fix Lx_CONTROL register fields clobber
9c9040a85966 crypto: vmx - disable preemption to enable vsx in aes_ctr.c
dea9c75f3f62 arm64: dma-mapping: Only swizzle DMA ops for IOMMU_DOMAIN_DMA
d2e589f305b0 ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6
870b502a0208 cxl: Force psl data-cache flush during device shutdown
f88f299a94e0 powerpc/corenet: explicitly disable the SDHC controller on kmcoge4
a4193ceee266 pinctrl: baytrail: Fix debugfs offset output
3a8ab788bf01 iommu/arm-smmu-v3: Clear prior settings when updating STEs
6f51c8a58397 KVM: PPC: Book 3S: XICS: correct the real mode ICP rejecting counter
61fdf68034a9 drm: drm_minor_register(): Clean up debugfs on failure
872c075b6cb2 clk: samsung: exynos5433: Add IDs for PHYCLK_MIPIDPHY0_* clocks
a276210915d5 PM / OPP: Error out on failing to add static OPPs for v1 bindings
7422c5813a9d EDAC, amd64: Add x86cpuid sanity check during init
2f945e749ee2 dt-bindings: clockgen: Add compatible string for LS1012A
62b9fa2c436f ARM: dts: imx53-qsb-common: fix FEC pinmux config
a1644f9c78e4 xen/netback: set default upper limit of tx/rx queues to 8
6da1c989ccce sched/core: Add missing update_rq_clock() call in sched_move_task()
7ac8a10c8a50 PCI: mvebu: Handle changes to the bridge windows while enabled
bf41c17c2266 video: fbdev: pmag-ba-fb: Remove bad `__init' annotation
95e5e7ed5a8a adv7604: Initialize drive strength to default when using DT
(From OE-Core rev: 8fe7f4d227f2f4ae0e39d6661b848611d907c0b6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the following upstream backports to fix a iwlwifi calltrace:
0b17e1b52f99 iwlwifi: mvm: support new flush API
89025056c0d1 iwlwifi: mvm: avoid variable shadowing
d6dc077966e7 iwlwifi: mvm: add and use iwl_mvm_device_running()
5dfb593df8f0 iwlwifi: add wait for tx queue empty
0e8726bf748a iwlwifi: mvm: wait for the flushed queue only
8e2d37ae55a7 iwlwifi: mvm: flush per station for DQA mode
Also merging the following configuration changes to cleanup kernel audit
warnings:
9f1f122a7d87 features/dca/dca.cfg: fix CONFIG_IXGBE_DCA can not enble if build ixgbe in kernel
d355f082c54d features/iommu/iommu.cfg: remove CONFIG_INTEL_IOMMU_DEFAULT_ON=n
9399ae045c72 features/tpm/tpm.cfg: set CONFIG_HW_RANDOM_TPM as module
(From OE-Core rev: 195758b0a611e937af41880ad81c312de654c5b8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
5caae9d14199 Linux 4.9.61
be3390d86bc2 ARM: dts: mvebu: pl310-cache disable double-linefill
26fc85a0113d staging: r8712u: Fix Sparse warning in rtl871x_xmit.c
244cff7066f6 xen: don't print error message in case of missing Xenstore entry
c90b65d8b8fb powerpc/64: Don't try to use radix MMU under a hypervisor
df0c2d409e9d PCI: Avoid possible deadlock on pci_lock and p->pi_lock
8e5ca01ac966 drm/exynos: g2d: prevent integer overflow in
2a6576f56eab bt8xx: fix memory leak
c31f5651aed7 s390/crypto: Extend key length check for AES-XTS in fips mode.
aa7a7e92e08e s390/prng: Adjust generation of entropy to produce real 256 bits.
ba56e6cd9741 s390/dasd: check for device error pointer within state change interrupts
0b5cdee7df76 mei: return error on notification request to a disconnected client
ad1267a0c9f7 exynos4-is: fimc-is: Unmap region obtained by of_iomap()
bfcbe6cd1551 ASoC: Intel: boards: remove .pm_ops in all Atom/DPCM machine drivers
2e727b8abeeb vfs: open() with O_CREAT should not create inodes with unknown ids
7ec661f58578 brcmfmac: check brcmf_bus_get_memdump result for error
a69bec9bd3a4 staging: lustre: lmv: Error not handled for lmv_find_target
758d3ea8247e staging: lustre: ptlrpc: skip lock if export failed
091f48a66440 staging: lustre: hsm: stack overrun in hai_dump_data_field
a513df5968ad staging: lustre: llite: don't invoke direct_IO for the EOF case
c3f0c2c14000 platform/x86: intel_mid_thermal: Fix module autoload
db5323e5088c scsi: aacraid: Process Error for response I/O
b469d5c393c2 xen/manage: correct return value check on xenbus_scanf()
b1a38567a9ed gpio: mcp23s08: Select REGMAP/REGMAP_I2C to fix build error
293c98f15d04 mtd: nand: sunxi: Fix the non-polling case in sunxi_nfc_wait_events()
ceec8374d790 clk: sunxi-ng: Check kzalloc() for errors and cleanup error path
d3b56161e0a3 ath10k: fix reading sram contents for QCA4019
90400ec14408 cx231xx: Fix I2C on Internal Master 3 Bus
64674bc8eead net: phy: dp83867: Recover from "port mirroring" N/A MODE4
227afd93a6ad clocksource/drivers/arm_arch_timer: Add dt binding for hisilicon-161010101 erratum
35c309e4c446 drm/fsl-dcu: check for clk_prepare_enable() error
2b462a38bfea iwlwifi: mvm: use the PROBE_RESP_QUEUE to send deauth to unknown station
195fe2ec8631 perf tools: Only increase index if perf_evsel__new_idx() succeeds
24cca20a0988 drm/amdgpu: when dpm disabled, also need to stop/start vce.
f04d92e10580 i2c: riic: correctly finish transfers
46d515488a07 net/ena: change driver's default timeouts
16d65c0c0181 ext4: do not use stripe_width if it is not set
0e9deca480c3 ext4: fix stripe-unaligned allocations
a418b2fd8e53 net: mvneta: fix build errors when linux/phy*.h is removed from net/dsa.h
c16283db12e1 PCI/MSI: Return failure when msix_setup_entries() fails
a624515184da staging: rtl8712u: Fix endian settings for structs describing network packets
47d7bc22c054 bnxt_en: Added PCI IDs for BCM57452 and BCM57454 ASICs
e6f3caf3bf81 mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped
b15965b00686 mfd: ab8500-sysctrl: Handle probe deferral
1bd47ceafbd7 mmc: s3cmci: include linux/interrupt.h for tasklet_struct
31a8b19dbe6a scsi: megaraid_sas: Do not set fp_possible if TM capable for non-RW syspdIO, change fp_possible to bool
7da4cd97f58b PM / wakeirq: report a wakeup_event on dedicated wekup irq
80eabac6c53a IB/mlx5: Assign DSCP for R-RoCE QPs Address Path
733ab05adc1e staging: fsl-mc: Add missing header
58b9a54ae03d crypto: ccp - Set the AES size field for all modes
5208153038d3 cpufreq: Do not clear real_cpus mask on policy init
f1e7f9dc1198 Fix tracing sample code warning.
86b0853f7391 tracing/samples: Fix creation and deletion of simple_thread_fn creation
8b2653de6f78 drm/msm: fix an integer overflow test
06bf74cdbdbe drm/msm: Fix potential buffer overflow issue
984dcb32ffd0 drm/i915/edp: read edp display control registers unconditionally
f2fd2d945446 ocfs2: fstrim: Fix start offset of first cluster group during fstrim
09907f0cbe61 drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting
b3937f55c725 ARM: 8715/1: add a private asm/unaligned.h
e059fc3c36c0 arm/arm64: kvm: Disable branch profiling in HYP code
d7d5a30e23a2 arm/arm64: KVM: set right LR register value for 32 bit guest when inject abort
011b44af0077 arm64: ensure __dump_instr() checks addr_limit
43f69519e9f9 ASoC: adau17x1: Workaround for noise bug in ADC
cb14a0dd1f74 KEYS: fix out-of-bounds read during ASN.1 parsing
0be72aebbff3 KEYS: return full count in keyring_read() if buffer is too small
5e8b028abaf8 cifs: check MaxPathNameComponentLength != 0 before using it
ffb76bb8aa9e ALSA: seq: Fix nested rwsem annotation for lockdep splat
c778c8187e44 ALSA: timer: Add missing mutex lock for compat ioctls
06b639e5a1a6 Linux 4.9.60
4b86c486e628 ecryptfs: fix dereference of NULL user_key_payload
bdcb6c994c16 regulator: fan53555: fix I2C device ids
543aabb7d14b ipsec: Fix aborted xfrm policy dump crash
bb46f793ad02 cfg80211: fix connect/disconnect edge cases
7e31cdee8b89 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
636e798d1483 can: kvaser_usb: Correct return value in printout
c4fe13bd538e can: sun4i: fix loopback mode
e6b5e3b6344e drm/amd/powerplay: fix uninitialized variable
5a0dbfeed4fc scsi: sg: Re-fix off by one in sg_fill_request_table()
88acde81e80f scsi: zfcp: fix erp_action use-before-initialize in REC action trace
67bcc5e530d5 assoc_array: Fix a buggy node-splitting case
52f65e35c2b8 Input: gtco - fix potential out-of-bound access
9460dd363334 Input: elan_i2c - add ELAN0611 to the ACPI table
d431d9f122ab xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
8783885ea7fe fuse: fix READDIRPLUS skipping an entry
d8e5f2f8d507 spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path
1dfea1eeac64 spi: uapi: spidev: add missing ioctl header
474cb9e0f02f KVM: PPC: Fix oops when checking KVM_CAP_PPC_HTM
659b04ad201b usb: xhci: Handle error condition in xhci_stop_device()
a703da486eca ceph: unlock dangling spinlock in try_flush_caps()
41f804df5644 ALSA: hda - fix headset mic problem for Dell machines with alc236
61ae3fbc85f4 ALSA: hda/realtek - Add support for ALC236/ALC3204
43a980a99654 workqueue: replace pool->manager_arb mutex with a flag
d785062ef20f Linux 4.9.59
d2d576e28554 FS-Cache: fix dereference of NULL user_key_payload
63c8e4525549 KEYS: Fix race between updating and finding a negative key
b2ac5d4516fb fscrypt: fix dereference of NULL user_key_payload
f374505b7910 xfs: trim writepage mapping to within eof
245262c66d1d xfs: cancel dirty pages on invalidation
67d73f4122a3 xfs: handle error if xfs_btree_get_bufs fails
fee940a8bef1 xfs: reinit btree pointer on attr tree inactivation walk
0fe7d85b5a99 xfs: don't change inode mode if ACL update fails
3a5a338aec3f xfs: move more RT specific code under CONFIG_XFS_RT
3042b3a5a4ee xfs: Don't log uninitialised fields in inode structures
1b4998dceda7 xfs: handle racy AIO in xfs_reflink_end_cow
002295a6be81 xfs: always swap the cow forks when swapping extents
d59a3f7f3caa xfs: Capture state of the right inode in xfs_iflush_done
98cbca24894c xfs: perag initialization should only touch m_ag_max_usable for AG 0
0eebfedec144 xfs: update i_size after unwritten conversion in dio completion
d1b2a35f8f57 xfs: report zeroed or not correctly in xfs_zero_range()
6f770625b421 fs/xfs: Use %pS printk format for direct addresses
92f606092f6c xfs: evict CoW fork extents when performing finsert/fcollapse
4e9de11c2377 xfs: don't unconditionally clear the reflink flag on zero-block files
13c5e9770109 vmbus: fix missing signaling in hv_signal_on_read()
1c33c8f8a727 pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
da0c7503c0b8 KEYS: don't let add_key() update an uninstantiated key
f9e7e2d6051e lib/digsig: fix dereference of NULL user_key_payload
fec442e32bf6 KEYS: encrypted: fix dereference of NULL user_key_payload
ca9601382b31 x86/microcode/intel: Disable late loading on model 79
5a6fb4920381 rtlwifi: rtl8821ae: Fix connection lost problem
f1ae556a31dd clockevents/drivers/cs5535: Improve resilience to spurious interrupts
534b65dc0a06 bus: mbus: fix window size calculation for 4GB windows
8de5590d957c brcmsmac: make some local variables 'static const' to reduce stack size
7f9267693f51 brcmfmac: Add check for short event packets
717ef37dde6c i2c: piix4: Fix SMBus port selection for AMD Family 17h chips
4d4f527029e2 i2c: ismt: Separate I2C block read from SMBus block read
57ed31530cf9 ALSA: hda: Abort capability probe at invalid register read
d0f5c17fd414 ALSA: hda: Remove superfluous '-' added by printk conversion
d5b657ee66a3 ALSA: seq: Enable 'use' locking in all configurations
710c0b073eeb drm/nouveau/mmu: flush tlbs before deleting page tables
f4f0b6aa58eb drm/nouveau/bsp/g92: disable by default
587d7faf6f0e can: esd_usb2: Fix can_dlc value for received RTR, frames
dc1858a8e56f xhci: Identify USB 3.1 capable hosts by their port protocol capability
6f4a36f0ec7d usb: musb: Check for host-mode using is_host_active() on reset interrupt
b4ecc15d6f5a usb: musb: sunxi: Explicitly release USB PHY on exit
09fad6f25254 iio: dummy: events: Add missing break
6bb16fa58127 parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
6f0eefab853b can: gs_usb: fix busy loop if no more TX context is available
b26fafd38106 ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
d15fc53296a5 usb: hub: Allow reset retry for USB2 devices on connect bounce
ddf0b44fbcb2 usb: quirks: add quirk for WORLDE MINI MIDI keyboard
b7cd9f5664e1 usb: cdc_acm: Add quirk for Elatec TWN3
603296156ba4 USB: serial: metro-usb: add MS7820 device id
9d13d3e05be2 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
ee0ea51aa9cb USB: devio: Revert "USB: devio: Don't corrupt user memory"
4d4a6a3f8a12 Linux 4.9.58
480fd4fb29c5 usb: dwc3: gadget: Correct ISOC DATA PIDs for short packets
9b9843154cd1 cpufreq: CPPC: add ACPI_PROCESSOR dependency
2ee4d596e445 EDAC, mce_amd: Print IPID and Syndrome on a separate line
8a7a752441a9 btmrvl: avoid double-disable_irq() race
a127483e9ee2 regulator: core: Resolve supplies before disabling unused regulators
16ee696eed67 drm/nouveau/gr/gf100-: fix ccache error logging
62a3af1f1bc0 powerpc/perf: Add restrictions to PMC5 in power9 DD1
d4bda742831e nfsd/callback: Cleanup callback cred on shutdown
0c92e732937c hrtimer: Catch invalid clockids again
b200b6dc7f39 target/iscsi: Fix unsolicited data seq_end_offset calculation
e0fcd1e40db4 IB/hfi1: Allocate context data on memory node
06f2d879c308 IB/hfi1: Use static CTLE with Preset 6 for integrated HFIs
939f4f6ec741 uapi: fix linux/mroute6.h userspace compilation errors
ad50561ba7a6 uapi: fix linux/rds.h userspace compilation errors
bd530852210d ceph: clean up unsafe d_parent accesses in build_dentry_path
6839ad59f9d5 ceph: fix bogus endianness change in ceph_ioctl_set_layout
df37e8fadf74 ceph: don't update_dentry_lease unless we actually got one
b025eb5d2678 i2c: at91: ensure state is restored after suspending
1226f6993357 qed: Read queue state before releasing buffer
7f8ea2674b44 qed: Reserve doorbell BAR space for present CPUs
a506d326cbec qede: Prevent index problems in loopback test
f6a72741241f net: mvpp2: release reference to txq_cpu[] entry after unmapping
0ea82b90d844 drm/amdgpu: refuse to reserve io mem for split VRAM buffers
b01eb4631306 ASoC: mediatek: add I2C dependency for CS42XX8
10ae48453347 scsi: scsi_dh_emc: return success in clariion_std_inquiry()
076a6220bc01 slub: do not merge cache if slub_debug contains a never-merge flag
2ada592fc8e5 ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock
a5f043b2419e mm/memory_hotplug: set magic number to page->freelist instead of page->lru.next
6145171a6bc0 crypto: xts - Add ECB dependency
8909b26a51fc net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs
84a66ca77543 sparc64: Migrate hvcons irq to panicked cpu
cf368c29f5ac md/linear: shutup lockdep warnning
e9afe7c8641a f2fs: do not wait for writeback in write_begin
e215b6bb2dfe Btrfs: send, fix failure to rename top level inode due to name collision
ab3d531745cf sched/fair: Update rq clock before changing a task's CPU affinity
e5226e92bed8 f2fs: do SSR for data when there is enough free space
90a8dfa5ae7a iio: adc: xilinx: Fix error handling
f107c6ddf8db netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.
0500fcd88556 staging: vchiq_2835_arm: Make cache-line-size a required DT property
b1b73cc04608 net/mlx4_en: fix overflow in mlx4_en_init_timestamp()
c1bc62d729f4 mac80211: fix power saving clients handling in iwlwifi
fff654b43e12 qed: Don't use attention PTT for configuring BW
145ded700722 ALSA: hda: Add Geminilake HDMI codec ID
4799163a7a19 mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length
aaf54d40b83f initramfs: finish fput() before accessing any binary from initramfs
d413c3f0bd6f irqchip/crossbar: Fix incorrect type of local variables
bbb5f0062b74 watchdog: kempld: fix gcc-4.3 build
8b0be545deba locking/lockdep: Add nest_lock integrity test
43588be0735f xen-netback: Use GFP_ATOMIC to allocate hash
ebbd5ac4acdb Revert "bsg-lib: don't free job in bsg_prepare_job"
0054c0bca321 MIPS: Fix minimum alignment requirement of IRQ stack
(From OE-Core rev: f65220d326c0b288ba076054bfada433f359ae8b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream finally accepted and merged a different approach for
connecting QEMU to swtpm: instead of a custom cuse-tpm device, a
normal chardev connects to swtpm, and that chardev then is used by the
TPM device. For now we have to backport those patches, but the next
major QEMU update will have them.
However, the chardev-connect-socket-to-a-spawned-command.patch is
something that OE will have to carry permanently. It simplifies
starting and stopping swtpm when invoking QEMU through runqemu without
having to teach that script about the additional process. Upstream
rejected the patch because they want to keep the complexity of
starting additional processes out of QEMU.
A recent enough swtpm is needed. The one currently used by
meta-security fails to communicate properly with QEMU, leading to this
failure:
qemu-system-x86_64: -tpmdev emulator,id=tpm0,chardev=chrtpm0: tpm-emulator: Failed to send CMD_SET_DATAFD: Input/output error
qemu-system-x86_64: -tpmdev emulator,id=tpm0,chardev=chrtpm0: tpm-emulator: Could not cleanly shutdown the TPM: Invalid argument
With a recent enough swtpm, one can create a TPM device like this:
- bitbake swtpm-native
- create a TPM instance and initialize it with:
$ mkdir -p my-machine/myvtpm0
$ tmp*/work/*/swtpm-wrappers-native/*/swtpm_setup_oe.sh --tpm-state my-machine/myvtpm0 --createek
Starting vTPM manufacturing as root:root @ Wed 06 Dec 2017 10:03:14 AM CET
TPM is listening on TCP port 34613.
Successfully created EK.
Successfully authored TPM state.
Ending vTPM manufacturing @ Wed 06 Dec 2017 10:03:14 AM CET
- runqemu "qemuparams=-chardev 'socket,id=chrtpm0,cmd=exec
swtpm_oe.sh socket --terminate --ctrl type=unixio,,clientfd=0
--tpmstate dir=... --log level=10,,file=.../swtpm.log --tpm2'
-tpmdev emulator,id=tpm0,chardev=chrtpm0 -device
tpm-tis,tpmdev=tpm0" ...
Beware that the double commas are intentional. They are needed to
embed commas in the "cmd" value.
swtpm_oe.sh is from swtpm-wrappers-native. In the example it is
invoked without the full path for the sake of brevity. In practice,
one has to use the full
path (tmp*/work/*/swtpm-wrappers-native/*/swtpm_oe.sh).
With the TPM2-preview version of swtpm, the same works for TPM2 by
adding the --tpm2 parameter when invoking swtpm_setup_oe.sh and
swtpm_oe.sh.
(From OE-Core rev: 82f37aa4c5152f104897fff04f09ad55c20c2a3f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there are many recipes that should be cleaned out from the
sysroots, it can actually take some time. This adds a progress bar to
give a visual clue that the clean up is actually progressing.
(From OE-Core rev: d9b59df1230a20c7a5c9f4fb0325bb9216025a16)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If two builds are sharing the same DL_DIR, and the uninative file is local
to a layer. When the first build gets to uninative it creates the link local
to itself, and subsequent users can use the same link. However if that first
build then is deleted from the disk, the symlink is no longer valid (broken).
We need to update the system to detect this case, and use the model
implemented by the bitbke fetch2 code. Look for a broken link, remove it,
then try to create the link and ignore an exception if it already exists
(since we just unlinked any bad one).
(From OE-Core rev: bfd9664edad7044b5da53fc33b8d0f6508f00950)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
minicom calls out to lrzsz to peform X/Y/ZMODEM transfers, so add a recommends.
(From OE-Core rev: 9eed51e1a939cbfb628e053a01dc9db6cca0a92e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
acinclude.m4 is about to be removed from the lzo recipe which breaks
test_devtool_update_recipe_local_files_2. Create a synthetic recipe in
meta-selftest with some local files and use that instead.
(From OE-Core rev: ed27470fa6a9f3cc1a0eb884474fe7985babde7a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We depend on the host GNU patch, but patch < 2.7 can't handle git-style patches.
This results in patches that fail to apply, or worse apply incorrectly.
(From OE-Core rev: ddda57ab1dee989dce8754350471807c916a6f47)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is an error path so nobody noticed that oe.utils.getstatusoutput() is
just a wrapper around subprocess.getstatusoutput() which returns an (int,
string) pair not (string, string).
(From OE-Core rev: 33bf6e05af0a68da32f0484460b1de5f7f4eea98)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a bug is present or the user has set PATCHTOOL = "git" on a source
tree that isn't git, if we try to perform git operations (such as
committing or changing branches) when extracting source, then we might
in fact be running those operations on the metadata repository if the
build directory is underneath, say, poky or OE-Core, and that could
make a mess. Check if the source tree is a git repository and refuse
to continue if it isn't.
(From OE-Core rev: 59ae5b7cbfeedb216a57c3f77fe52527b6c918cc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* NATIVE_INSTALL_WORKS hasn't been used in a very long time, so there's no
need to be setting it here.
* RCONFLIGHTS was clearly a typo.
(From OE-Core rev: b0146f21765b10c1f71807372f69a286bc9c2474)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* files is already included in default FILESPATH
* it cannot inherit allarch as it RDEPENDS on bunch of TUNE_PKGARCH packages
* use the same COMPATIBLE_HOST restrictions as grub has to prevent ERRORs in
bitbake world
ERROR: Nothing RPROVIDES 'grub' (but oe-core/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb RDEPENDS on or otherwise requires it)
grub was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST)
grub was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST)
NOTE: Runtime target 'grub' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['grub']
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
(From OE-Core rev: ecad98a0ffe41d8cc8890d16be09e4b604a1e192)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor grammar correction along with making the term 'login banner'
consistent throughout to make searching logs easier.
(From OE-Core rev: 54e739485faba8d80f5af15407905aaeda4767f4)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current logging always assumes the boot timeout has expired yet
there is a second reason we might have ended up in a position where no
login banner was found, that being a socket disconnect. Add logging
for the disconnect case and make the timeout expiration conditional on
the timeout being exhausted.
(From OE-Core rev: 49403368ccf3e469ac111afa259a38cc11e0b688)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When debugging issues when timeouts are involved it is always best to
have wall clock times included. This helps give confidence that the
timeout is in fact run down at the right rate and that no unexpected
events were the true cause of a premature running down of the
timeout. Having these times in old logs also helps when debugging
issues as we have a historic record as to what is a 'typical' time to
complete an action.
In addition to adding the wall clock times the time to 'login' is now
printed making it consistent with the time to 'qemu pid'.
(From OE-Core rev: 4a6364309547d77d1d7a94c48f7c51ceee2b5d1a)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The editenv utility must be available on grub and grub-efi so we
better have it inside the grub2.inc file to avoid the duplication of
metadata.
(From OE-Core rev: ebdd054ad85b19d47dd20eab0ba3f31ef5141140)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To allow scripting and environment changes, the loadenv and test must
be enabled. This adds those to the default set.
(From OE-Core rev: b7c9a298801c828c06b6e7da47c35f592864ce74)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This new module allow for easy execution of external scripts or
applications. It runs anything found in /exec.d directory in order and
in case of no scripts to be available, it opens a shell.
(From OE-Core rev: 9b98c97338b4c3f985eca572d6a1e21324fa0fbc)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting IMAGE_FSTYPES_DEBUGFS to the same value as IMAGE_FSTYPES can
lead to creating a large number of DEBUGFS filesystem images, many of
which may not make much sense (or may not even be buildable).
(From OE-Core rev: a41f7cdf0cbc56a283d5c845c36d88a0208bf386)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The nm01 testcase runtime depends on a static library, and ltp-staticdev
package is entirely pointless, so remove it and add the static libraries
to ltp main package and skip the "staticdev" checks.
(From OE-Core rev: 002f7b9f038b86b793b8e0558bcd17ad58372767)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gperf doesn't use aclocal so don't call aclocal.
(From OE-Core rev: e080880a82df7f9402a76f20b74e0f43b87f5b71)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The entry point is not guaranteed to exist, so use the
piglit_egl_get_default_display() helper which does the correct thing.
(From OE-Core rev: fba2c9309ede86608f985adf46592c31b5d446ca)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The '--label' argument should work for '--source rawcopy' as it does for
'--source rootfs', so add a method in RawCopyPlugin to update the label
on the temporary filesystem images.
(From OE-Core rev: 303d6ca5ae986acd2e633b0dc5e386ee7771f8ab)
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Fix HOMEPAGE. The old one is obsolete.
2. Remove the setting of CPPFLAGS.
It was used to support out-of-tree build. But the problem has been
fixed upstream since commit 90cc5460aa0e9ca10a0d7c8c44064fd14789f750
(build-sys: add $(top_srcdir) to include search dir).
(From OE-Core rev: 201e0b643c44ef599f7b1b0210f21d0023bc0f96)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It always fail to check the file generated by configure
when running ptest on the target since it's cross-compiling,
so remove the check from the Makefile for ptest.
(From OE-Core rev: 839f5ed91a8061506b1f71661ec4006783146672)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We add the kernel-build-artifacts to the cleandirs list to ensure
that there are no remaining artificats in the kernel-build-artifacts
directory which is STAGING_KERNEL_BUILDDIR. Without this change
multiple System.map files are visiable in the STAGING_KERNEL_BUILDDIR,
which could cause problems for some tools.
[YOCTO #11880]
(From OE-Core rev: d52a65d3d8512eeb5081d9fb5f18805428358241)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Under musl bash uses its own libintl clone but there are some missing
dependencies so it is possible for pathexp.o to be built whilst libintl.h is
being written, leading to compile errors.
(From OE-Core rev: d58c20fd45f4808cbc1726ec5b46edb1c60b9cf8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoreconf finds autoconf/local.m4 on its own, so there's no need to mess around
with a fork of aclocal.m4 as acinclude.m4.
(From OE-Core rev: 8f9025f05b787f41f1867d340d911d7754ee7794)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the cache variable used by AC_FUNC_MMAP, which is possibly one of the
worst autoconf macros to exist.
Apart from being a runtime test which silently claims that mmap() is broken when
cross-compiling, this is basically to verify that mmap() actually works, because
SVR4.0 (released 1988) was broken. Thirty years later, everyone has a working
mmap().
common-glibc already has an assignment, so add a corresponding assignment to
common-musl and remove it from the machine-specific files.
(From OE-Core rev: 93dd7c87cef4fd9c22a09857fb55218c8be87b5b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bash hand-maintains their aclocal.m4, so stop autoreconf from invoking aclocal
and overwriting it. This means we can remove the kludge to copy aclocal.m4 to
acinclude.m4.
(From OE-Core rev: 57fe9f61dd4c43f8267b831c1b177ad67010d78c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes:
http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5
Rebased autotools.patch and makefile_no_gtk.patch.
Dropped 0001-as10k1-Make-output_tram_line-static-inline.patch with the
assumption that it's not needed any more. The patch added a "static"
qualifier to a function. According to the commit message, this was done
to improve optimization. Upstream removed the "inline" qualifier from
that same function, because it caused some trouble with clang. My guess
is that the patch author actually ran into the same clang problem as
upstream, but came up with a different fix. It doesn't seem like a
function whose optimization anyone would really be interested in.
Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 569beb5f5e32536a3b2e398ddc218ce5ad76cbe1)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes:
http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5
Dropped all patches. The poll.h patch is included in the release, and
the wordexp patch is not needed any more, because the wordexp function
is replaced by an internal reimplementation.
It would still be possible to enable the use of wordexp with the
--with-wordexp configure option. The option exists, because the internal
reimplementation covers only part of what wordexp can do, so not using
wordexp can in theory cause regressions. However, it seems that
regressions are quite unlikely in practice. Here's some discussion about
the topic:
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-July/122667.html
(From OE-Core rev: 00b73cbe8ae6d1dd6ba82f0ab5cd38c2d712deb7)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Release notes:
http://lame.cvs.sourceforge.net/viewvc/lame/lame/doc/html/history.html?revision=1.154
Dropped patches that are included in the release:
- lame-3.99.5_fix_for_automake-1.12.x.patch
- CVE-2017-13712.patch
The CACHED_CONFIGUREVARS thing to disable SSE code on x86 isn't needed
anymore. The build system now correctly detects when SSE isn't
available.
Note for stable branch maintainers: This release includes several fixes
for bugs that have a CVE number associated with them. The bugs (or at
least most of them) are crashes that seem to be considered "remote DoS"
vulnerabilities, probably because it's easy to imagine lame being used
with untrusted audio files from remote sources. If you want to backport
"all sercurity fixes" to the stable brances, that task seems pretty
difficult. The release notes explicitly mention three CVE numbers, but
there are more: for example, OE had a fix for CVE-2017-13712, which is
not mentioned in the release notes but is fixed in the release. The
commit log doesn't keep any track of CVE numbers either. Maybe it would
be best to just upgrade lame to 3.100 also in the stable branches.
(From OE-Core rev: 930f8873e0e180da7242f65bfd5c60f9d6c19424)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11.0 release notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/11.0/
Additional changes in 11.1:
* Fix a crash in filter modules related to flat volumes and volume
sharing
* Fix a crash when the bluetooth adapter reports weird MTU size
* Disable bluetooth MTU autodetection by default
* Add mixer handling back for hardware that doesn't have any alsa-lib
configuration
* Prioritize USB devices over built-in sound cards (11.0 was supposed
to have this feature, but the implementation turned out to be
incomplete)
Dropped backported patch:
pulseaudio-discuss-iochannel-don-t-use-variable-length-array-in-union.patch
(From OE-Core rev: c6d7d89d9a6bbe2de62fa1a91b833bf1c03693ac)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When read-only-rootfs is active, we need to ensure that the rootfs
does not get mounted read/write by the kernel or initramfs. Adding
"ro" to the boot parameters achieves that.
(From OE-Core rev: cfc09de06ecc12bb42181004689e881c75072665)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes can't rely on IMAGE_FEATURES to determine whether the
resulting packages will be used in an image with read/write or
read-only rootfs because IMAGE_FEATURES is a per-image recipe
variable.
The connman.inc code checked IMAGE_FEATURES to determine whether
/var/run/connman needs to be created via tmpfiles.d when booting a
read-only rootfs. In my tests that is not necessary (anymore?),
something (connman itself?) creates the missing directory.
(From OE-Core rev: 577585375efac8f86223d7549ce39cd70877cbd9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the redundant backslash in template layer.conf file, otherwise,
the bbappend line setting wouldn't have effect, causing bbappend files
in these created layers not having any effect.
(From OE-Core rev: 7909b258ac87d4be9bb7aba00d12fd363bd9b248)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing systemd template units with an argument, the current code
removes characters between the '@' and the '.' from service names in
SYSTEMD_SERVICE_${PN}, e.g.:
getty@tty1.service -> getty@.service
This fails for services with dots in the argument (which is perfectly
legal in systemd), since the code searches only until the first dot.
E.g.:
vlan@eth0.1.service -> vlan@1.service
This is obviously wrong, and fails in systemd_populate_packages(), where
it fails to find the unit file.
Fix this by reworking the removal of the argument part of the service
name, so that parts before '@' and after teh last '.' are used as base
name.
(From OE-Core rev: 4704bd91458a728f28cbdc57dcf78f5d04cfd0cd)
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This file has been removed but the CONFFILES assignment for it wasn't.
(From OE-Core rev: 5caf53cddceafe55d25a9e53843bbcc2012db829)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Links to the section in the BSP manual for how to create a new
BSP layer using 'bitbake-layers' were needing fixed.
(From yocto-docs rev: 150612925421b09e84f85514e65e58d179e5be46)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section needs input from engineering.
It is incomplete, but as best as it can be for now.
(From yocto-docs rev: 1212f1eeebd23cb11c63889f3ee602e761450967)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed the way the YP QS looks. The QS now has numbered sections
rather than just formatted section heads. This allows the reader
to better track the hierarchy of the sections. This feature has
been asked for before and I decided it was time to implement it.
One thing though, is I am not generating a full TOC at the head
of the book as is done in the other YP manuals.
Decided to add a manual title .PNG file. This required a new figure
file (ypqs-title.png) that needed to reside in the figures folder of
both the yocto-project-qs and mega-manual. Updates were required in
the Makefile to include the figure. Updates required in the
YP QS style sheet to display the figure. Basically, there were all
kinds of changes to get this title to show up properly in both the
YP QS and in the Mega Manual.
Turned the structure of the YP QS into a book now rather than an
article. This required creating a "qs.xml" file that has the actual
content.
(From yocto-docs rev: ef05f5c7ba2a61ebc4c58873cbbc32d35652659d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is not used by any classes or recipes that I can find, so lets
delete it.
(From OE-Core rev: a7cd9d1183be603777fc9c8c448281fe01224f7b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DNF has a time-based cache policy (and a great sense of humour) so it's possible
that 'dnf makecache' won't actually refresh any caches. Force the cache updates
by passing --refresh.
(From OE-Core rev: a6e34b6aa194a27db9667af1fb0195ac8fb563f5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we have 'wifi' in distro feature, then busybox would have rfkill
enabled. And we would have the following do_rootfs failure if we
install both busybox and util-linux-rfkill.
Error: cannot register alternative rfkill to /usr/bin/rfkill since
it is already registered to /usr/sbin/rfkill.
There's another provider of rfkill in OE, that is rfkill recipe in meta-oe.
And it also registers rfkill to ${sbindir}/rfkill.
So change the register location of rfkill in util-linux to avoid
conflict with busybox and rfkill recipes.
(From OE-Core rev: e01107c5da395a32f9a017f8ee8cc8421c5671e0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the runqemu script to allow the user to specify a device tree
to boot when calling runqemu.
This involves creating a seperate check_dtb() function incase the user
has specified 'none' for the kernel but still wants a device tree.
(From OE-Core rev: 867ac1370b294bfd1ee31f94abb63688f77081a1)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Ben Levinsky <ben.levinsky@xilinx.com>
Cc: Ben Levinsky <ben.levinsky@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For cross-canadian builds, we were accidentally using
the crosssdk C compiler when building the Go compiler
bootstrap. Add a patch to the make script to let us
use BUILD_CC, and prepend do_compile to set it in
the local environment to ensure that the trailing
blank gets stripped, since that confuses Go.
[YOCTO #12341]
(From OE-Core rev: 0dbb860924fc157880b52d8e08bad3c6c6b019b8)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
override correctly busybox's applet when CONFIG_FLASH_ERASEALL=y is set
Error: update-alternatives: not linking /builds/image/1.0-r0/rootfs/usr/
sbin/flash_eraseall to /bin/busybox.nosuid since /builds/image/1.0-r0/
rootfs/usr/sbin/flash_eraseall exists and is not a link
(From OE-Core rev: 21d5a52d86a4090f7ddb1a9eb41bb143261f890e)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original initramfs-live-boot recipe RDEPENDS on udev, which is ok since
the init script relies some of its functionality on udevadm and such,
but on core-image-tiny-initramfs the init script simply drops to shell
after a basic setup, so udev is not needed.
This patch splits up an initramfs-live-boot-tiny recipe which does not
use udev, but uses busybox-mdev instead, eudev installed about 600
extra Kilobytes to core-image-tiny-initramfs userspace, by avoiding to
install eudev we achieve an even smaller footprint (almost 40% smaller).
(From OE-Core rev: 7725bad91b89a291a7099b2d99789a86b028f329)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For these reasons:
1) Upstream website has been dead for quite a while now;
2) Nothing is actually using neon in oe-core, except one gstreamer plugin in gst-plugins-bad
(and I couldn't find evidence of that plugin being used anywhere)
However, the recipe is still required by libmusicbrainz in meta-oe and so it will be moved there
(with the tarball taken from debian).
(From OE-Core rev: 62513ad6d38e4aba3e6b155e04c4c6344ed70ebc)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The WPA_COMMON_CTRL_IFACE definition is missing, which leads to obvious
problems since there is no way to access the ctrl socket. So add it in.
(From OE-Core rev: 7baa3137859915fdbaaea0499b442f5d9df3f17b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I wasn't able to install to my Optane SSD due to the following error:
Formatting /dev/nvme0n1p1 to vfat...
mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: unable to open /dev/nvme0n1p1: No such file or directory
Target install-efi failed
A couple lines later I see:
[ 10.265401] nvme0n1: p1 p2 p3
Then looking at the device itself after booting from a USB stick:
root@intel-corei7-64: ~# ls /dev/nvme0n1*
/dev/nvme0n1 /dev/nvme0n1p1 /dev/nvme0n1p2 /dev/nvme0n1p3
So it looks like the parted commands return before the device node is
actually created.
Work around this issue by waiting for device nodes for a short duration.
(From OE-Core rev: 9daafd49b448122e35d67a1637ce2212793a4dc5)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This kludge is not needed anymore, now that syslog packages (or any
other package) don't use update-alternatives for managing SysV init
scripts.
This reverts commit fc89a3f739.
[YOCTO #10944]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stop using update-alternatives for managing /etc/init.d/functions. Also,
make the initscripts-functions subpackage to (runtime) conflict with
lsbinitscripts.
[YOCTO #10944]
(From OE-Core rev: cdcebd81c872cb7386c658998e27cf24e1d0447c)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using update-alternatives for managing init scripts has proved to be
problematic. And, sysklogd rconflicts with other syslog daemons so there
is no point in using update-alternatives from this perspective, either.
[YOCTO #10944]
(From OE-Core rev: 988aad01b20c18a8850db0ad6dc547525d94116c)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the packages and file names to reflect the new postinst recipe.
Fix a sh syntax error in the run_serial file exists test which was hidden by a
logic problem in the status code.
Remove the older test_verify_postinst as it's effectively a subset of
test_postinst_rootfs_and_boot, and doesn't work: when booting under systemd the
strings it searches for are not output to the console, but the test still
passes.
(From OE-Core rev: 781a1be88f5812157a231bf5771a01bb978bfcd9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce the number of packages, and fix some syntax and logic errors in the
scripts.
(From OE-Core rev: 228f5f072218823aa9d47f2fb1dcde584fde7a44)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
get_bb_vars was using variables.copy() to duplicate the list of variables passed
but this function only exists in lists [1,2] and not tuples (1,2).
Instead of throwing an exception if the variables are in a tuple, simply
construct a new list using the passed sequence-like object.
(From OE-Core rev: b5837f62c8af94d134cf2160afdfb9e08b3418d1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user is trying to use bin_package but the SRC_URI hasn't extracted
anything into ${S}, which is easily done when writing a recipe by hand, instead
of silently shippping an empty package abort the build.
(From OE-Core rev: bf5627ddbe5371eba62f73c33735fb1cf35c2194)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling OpenSSL with binutils 2.29 for ARM with Thumb2 enabled
crashes and unexpected behavior occurs. E.g. connecting to a OpenSSH
server using the affected binary fails with:
ssh_dispatch_run_fatal: Connection to 192.168.10.171 port 22: incorrect signature
Backport upstream bugfix:
https://github.com/openssl/openssl/issues/4659
(From OE-Core rev: e76dcfbd6e1ad6fc147a0607dcdaf8e7ea98b610)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deals with two CVEs:
* bn_sqrx8x_internal carry bug on x86_64 (CVE-2017-3736)
* Malformed X.509 IPAddressFamily could cause OOB read (CVE-2017-3735)
(From OE-Core rev: edf9686be28fc321886d48043bcb4ef5b2c00c1d)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling OpenSSL with binutils 2.29 for ARM with Thumb2 enabled
crashes and unexpected behavior occurs. E.g. connecting to a OpenSSH
server using the affected binary fails with:
ssh_dispatch_run_fatal: Connection to 192.168.10.171 port 22: incorrect signature
Backport upstream bugfix:
https://github.com/openssl/openssl/issues/4659
(From OE-Core rev: 977db3843b629112539d3eb766c845127c0de497)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deals with two CVEs:
* bn_sqrx8x_internal carry bug on x86_64 (CVE-2017-3736)
* Malformed X.509 IPAddressFamily could cause OOB read (CVE-2017-3735)
(From OE-Core rev: a200115c769eff4b9b0241d54ed5ad86da08fdbc)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the -m option since this script now searches through all
recipes in the configuration. Also removed dead code, which includes
the functions recipe_bbvars() and collect_bbvars().
(From OE-Core rev: dac6515fcd23ea9cde5308c1d08a7a928efbb4d6)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a backport [1] to fix the following build error:
| In file included from /home/r60874/upstream/xwayland/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/gtk+3/3.22.17-r0/recipe-sysroot/usr/include/epoxy/egl.h:46:0,
| from ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.h:32,
| from ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:24:
| ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c: In function 'gdk_wayland_gl_context_realize':
| ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:179:43: error: expected expression before 'EGLContext'
| : EGL_NO_CONTEXT,
| ^
[1] ebe3a53db1
(From OE-Core rev: b468e28194be39f6d6a2084bb51773c45253d5f7)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove two unneeded hacks. The first hack ("setup.py: no host headers
libs" patch) is not needed because we use cross-compiler (e.g.
i586-oe-linux-gcc) which has not been configured with any host system
include or library directories, and thus, we don't get any host system
directories when running "gcc -E -v".
The second hack becomes useless after the first hack has been removed
and we get the standard include and lib directories normally from gcc.
(From OE-Core rev: 9e9545ef818adfb57f428db96d4c2ebb0ea65ec6)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch has been accepted upstream.
Changed patch status Pending/Submitted -> Accepted.
(From OE-Core rev: 23bc53b6894155c87b8fc86862b958bad3e3bf0c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Formatting IDE storage does not trigger "change" uevents. As a result
clients using udev API don't get any updates afterwards and get outdated
information about the device.
...
root@qemux86-64:~# mkfs.ext4 -F /dev/hda1
Creating filesystem with 262144 4k blocks and 65536 inodes
Filesystem UUID: 98791eb2-2bf3-47ad-b4d8-4cf7e914eee2
root@qemux86-64:~# ls /dev/disk/by-uuid/98791eb2-2bf3-47ad-b4d8-4cf7e914eee2
ls: cannot access '/dev/disk/by-uuid/98791eb2-2bf3-47ad-b4d8-4cf7e914eee2': No such file or directory
...
Include hd* in a match for watch option assignment.
(From OE-Core rev: c0df31a593ce94b66100b5d4a64b38568494d56e)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch ppp-fix-building-with-linux-4.8.patch tries to fix build error
with 4.8 or newer linux headers, but it would break building with kernel
< 4.8. There is a better solution to fix this issue in upstream.
Backport the upstream patch and replace the old one.
(From OE-Core rev: 85095edfc4bbf23d853fc21fbfb454e598206a24)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is only needed for uclibc, which we don't support in oe-core anymore.
(From OE-Core rev: addf309165059a113a6d02ea5fb29a0f495c1485)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has fixed their use of aclocal.m4 vs acinclude.m4, so now we can remove
some hacks that were previously required.
(From OE-Core rev: 502cdfe3dd5ea3cd70937c92ff1bd8d6faa829eb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The failure is weird and difficult to diagnoze, so disable the
introspection for now:
qemu-mips64: error while loading shared libraries: .../recipe-sysroot/usr/lib/libgthread-2.0.so.0: ELF file data encoding not little-endian
Note that it shows up only for one specific library (gstaudio), and only
on mips64. Introspection data for other libraries is generated just fine.
(From OE-Core rev: 4cfe09598c1ec1ffd108acdfd0f4cce1b8688895)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also fix upstream check and disable newly added python2-only bindings
(as there is no clear need for them and python 2 is deprecated).
Add a backported patch to address format errors when compiling.
(From OE-Core rev: 8737b88f0da61af25ab9731acd9f2c3821170cdb)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LGPL version has been updated from 2.0 to 2.1, adjust the checksums accordingly.
Rebase various patches.
A few tools have been rewritten from perl (or C) to python, so
add a patch that avoids hardcoding the python path in the shebang,
and remove previous patching with sed.
(From OE-Core rev: eef7883587acc933d6f34b559ec03ff84d18573b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This greatly reduces the amount of recipes for which upstream
version check fails: from about 30 to about 8.
(From OE-Core rev: bb9066670a6096aa4134bebc84132b4eb3964b6d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifically:
1) remove +git${SRCPV} stuff from comparison and output; it's just
unnecessary clutter;
2) write the commit id of the latest version tag into the output;
this saves quite a bit of trouble of manually checking what that
commit id is when doing version updates;
3) when UPSTREAM_CHECK_COMMITS is set, ignore the tags altogether;
instead check if the latest commit is different to the one we use,
and if so, report that the recipe can be updated to said commit
(which is also written into the output, as in 2). Multiple
recipes are failing the upstream check because they never
issue tags, now we can fix them.
(From OE-Core rev: 591d57877d3d3e659d78c0ed33f4c515e3f6f8fb)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Delete various build host references from the internally
generated file sudo_usage.h. The references get compiled into
executables, which leads to non-reproducible builds.
The removed references (configure options) were only used as part
of the sudo "usage", and even then only when ran as root.
(From OE-Core rev: 090eb9efdb2204673b1d569582813ea8860c8570)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the installed-vs-shipped QA issue:
| WARNING: libnsl2-1.0.5+gitAUTOINC+dfa2f31352-r0 do_package: QA Issue:
libnsl2: Files/directories were installed but not shipped in any package:
/usr/lib64/nsl/libnsl.a
(From OE-Core rev: 2e6636b23dde2c1b547f98373a2f49e617c37a9f)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For recipes that depend on native ca-certificates.crt, /etc should be
added to the list of directories that automatically populate the
sysroot, otherwise the file may not be there.
(From OE-Core rev: 355e49e19abb3e729c82a6de46ada8da8a257f58)
Signed-off-by: Patrick Vacek <patrick@advancedtelematic.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The non-EFI counterpart for installation was previously missing for
initramfs-framework. This simply puts the normal install script in the
correct location for initramfs-framework to make use of it.
Partial fix for [YOCTO #12346].
(From OE-Core rev: f9d7cf30b12cbc5f642a11c0511dc1dc3ccf1aa5)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the polkit fixup etc at the end of do_install() more consistent
with the rest of the function. Also indent do_install_ptest() with
tabs instead of spaces to make do_install_ptest() consistent with
do_install().
(From OE-Core rev: 7a188e646a7a713ec5eab73580de624dc61f2936)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also fix some minor formatting inconsistencies (extra spaces or
commas etc). No functional changes.
(From OE-Core rev: 4caf480c8d824575e970ec8ba15e4ee221166954)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Consistently use PACKAGECONFIG_remove_libc-musl to disable options
which are not compatible with musl.
Also sort the default PACKAGECONFIG list.
(From OE-Core rev: 8fb362d90628d0dbc9a5073a0d75296eab569d44)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ldconfig PACKAGECONFIG option is controlled by the ldconfig
distro feature - which is now disabled by default when building for
musl.
(From OE-Core rev: 84c841c5b4d3ae753c377f5bdbda19281c771f60)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Musl has no support for ldconfig, so ensure that the corresponding
distro feature is disabled when building with musl.
(From OE-Core rev: baacd7ea99265f5493d2452b173a12def92f6202)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
.txz is the same as .tar.xz, and can be found in the wild.
(Bitbake rev: 2ba8a6b25ccc12e7b543e8450121e5311c7a701d)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similarly to handling "../", handle "." to resovle to the qemuconf
file's current directory.
(From OE-Core rev: 33418ed064fe9cff5b4803f09135a81d9170c189)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have seen a small number of issues with ROOTFS_SIZE not getting
computed correctly, resulting in a failure in the mke2fs processing
and populating the resulting new filesystem.
This information should help us to reproduce [YOCTO #12304]
(From OE-Core rev: 3a72f6783e142d53d19b37811a854d08d32485ab)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I have concerns that bad timing of the flow of data from the logger
might corrupt the output due to the way binary strings are handled
in qemurunner.
This simplifies the code to do the same thing it did before but much
more safely.
(From OE-Core rev: 1e87283e92a2765bb5d54d17138b208bc395953b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemuconf files are currently written relative to TOPDIR. What
makes more sense is to write paths relative to the location of the
file. This makes moving them around and decoding the end paths in
runqemu much easier.
The effect of this should allow less use of bitbake to determine
variables and allow us to simplify runqemu.
(From OE-Core rev: 55a0028a961c0ad3c2e5729a9e3919cbbf256fe1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a variable starts with "../", its likely its a path and we want to
set it to an absolute path relative to the qemuconf file.
This means we don't have to use bitbake as often to figure out variables.
(From OE-Core rev: dfc7940900d798aa47716288338107e1d46a3972)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is particularly useful if you want to use gdb-cross as there
is no other good way to access it now with RSS.
(From OE-Core rev: e8648a022c93175d84baf3852d4d364b19d8d795)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemuppc boots are occasionally hanging on the autobuilder. This adds a
patch which fixes the issue in local testing. Its being discussed with
upstream qemu.
(From OE-Core rev: 87719e35db08b21cd43ab3ebd72f4567ca0fdc65)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The regexp in the script misses some tap devices, e.g. we see output like:
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap25.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap26.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap27.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap28.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap40.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap41.lock failed: [Errno 11] Resource temporarily unavailable
What happened to tap29 to tap39?
The issue is was we were missing devices with '0' in the number,
like "10:" and so on in the output from "ip link".
(From OE-Core rev: 6447697a48e3b693ee38806bc2ba07c2a65c2bc8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The connection cache class uses a dummy file object but it doesn't have a closed
attribute, so we can't use it in a context manager.
(Bitbake rev: 7b072ef91d16331eae11bd60f229ce1f0c175995)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a matching recipe is not found then return Null instead of raising
KeyError because we were blindly using None as a key for pkg_fn.
(Bitbake rev: 431e89e322850a2497157c3c0843da9df6bc9a3e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The -i option supports more than one class, but the help didn't mention
that.
(Bitbake rev: 1060955c4aa2ef66cdb4f0549f9bd8c1c332673c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you can add multiple layers at once, it stands to reason that you
should also be able to remove more than one at a time.
(Bitbake rev: 2f2033836a5ce4064d9e4f263788a563001bc008)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow specifying multiple layers with bitbake-layers add-layer so that
you can add more than one in a single command. This is not just useful,
it's actually pretty important if you need to add a layer and its
dependencies at the same time - since we now go through a parse process
when the layer is added, without this you have to add them all in just
the right order and wait for the parse each time which is somewhat
painful.
(Bitbake rev: ad6b14f01aa326a1c6baa31bfac33be238bce805)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
.txz is .tar.xz, so add it, as this can actually be found in the
wild.
(From OE-Core rev: 58af8c2e4bd17692274fc5a6ac8f8af84319fec6)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
COPTS will be ignored if it is defined in the environment.
It must be passed directly to make. To be consistent, we
pass LOPTS that way, too.
(From OE-Core rev: dede6d3d37aab72ae897c3709d21108fa75f6673)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop linkage.patch, this version already links .lo object.
* Remove backported patch fix-build-failure-on-ppc.patch
* Update LIC_FILES_CHKSUM since the year is changed.
(From OE-Core rev: 2702506f48a1b7e72e1786d24bd0113396dbc85d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoconf-archive is a set of common m4 macros, it should be allarch,
just like it is on other distros.
Also fix package splitting. With current package splitting,
autoconf-archive itself contains almost nothing, the m4 macros are
contained in its dev package. However, autoconf-archive should
contain those m4 marcos itself.
(From OE-Core rev: 8cbf5523f002e8ae0d8123755d2cbc3e8b0138ac)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- 0001-include-stdint.h-explicitly-for-UINT16_MAX.patch is already
applied to upstream.
- Rebase two patches.
(From OE-Core rev: 9839de8861c5fb2067664542045c0728653bbcb4)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since it's been removed from the upstream repo and not fetchable
remove it here. The newer firmware supports the device correctly.
(From OE-Core rev: 8b8c40bdbd09ddd1409dc30e04ef847f6a15f109)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add linux site info for the MicroBlaze architecture. This is based on
the site info from meta-xilinx and additional options based on config
options that other *-linux architecture site info files define.
(From OE-Core rev: def626a46efdeeaf867a27464aed463d265d777c)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add mappings for the microblaze(eb/el) linux and linux-musl variants to
use architecture common linux site data.
(From OE-Core rev: 634d1ed2cd89b8ac28b918be3561b135f7418b25)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was included to allow hwrng to feed data to /dev/random. Since the
kernel does this itself (confirmed by the recent kernel Kconfig text change
, code inspection and local testing), we can drop rng-tools from these
images.
(From OE-Core rev: d4b17e841b497f0ee4d31a8c967b5ce1b76157e4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrade is critical as it fixes the support for Linux 4.14 LTS kernel.
The changlog is:
2017-10-05 LTTng modules 2.9.5
* Fix: update block instrumentation for 4.14 kernel
* Revert "Fix: update block instrumentation for kernel 4.14"
2017-10-03 (National Techies Day) LTTng modules 2.9.4
* Fix: version check error in btrfs instrumentation
* Fix: update btrfs instrumentation for kernel 4.14
* Fix: update writeback instrumentation for kernel 4.14
* Fix: update block instrumentation for kernel 4.14
* Fix: vmalloc wrapper on kernel < 2.6.38
* Fix: vmalloc wrapper on kernel >= 4.12
* Add kmalloc failover to vmalloc
* Fix: mmap: caches aliased on virtual addresses
* Fix: update ext4 instrumentation for kernel 4.13
* Fix: Sleeping function called from invalid context
* Fix: sched for v4.11.5-rt1
* Fix: handle missing ftrace header on v4.12
This also removes the previously backported patches as they are part
of 2.9.4 release and the missing fix is part of 2.9.5 release.
(From OE-Core rev: 3ca3f8b2dbf0fec6a188ee2c10238704e4642c93)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
test-arrayind1-Remove-hashbang-line.patch is dropped as it has
been merged in new version.
(From OE-Core rev: c84c8666581bfd64b21498330925146d8fe81075)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sbc library itself is licensed under LGPLv2.1 or higher as mentioned in
sbc/sbc.h or any other file in sbc directory.
sbc test applications are licensed under GPLv2 or higher as mentioned in
src/sbcenc.c or any other file in src directory
Reported-by: Vladimir Koutny <vladimir.koutny@streamunlimited.com>
(From OE-Core rev: ef34ed6282627005d0077f88235fdbe42dea23a3)
Signed-off-by: Radek Dostál <radek.dostal@streamunlimited.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
HostAP is the user-space part of the Intersil Prism 2/2.5/3 wifi chipset. It's
also a decade old and obsolete, so remove it from oe-core.
(From OE-Core rev: 63be0678bbe3c3809cdd75f1aabd8e031341719a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
hostap-utils is the userspace part of the Intersil Prism2/2.5/3 wifi driver,
which is a decade old and obsolete. Stop pulling it into all images via the
base packagegroup, BSPs which still need this driver can do that themselves.
(From OE-Core rev: 5988d9e55bac5d5d703f86b05301812be328602b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section was missing three of the summaries for the command when
you used --help to find out about it. I added these in to the section.
(From yocto-docs rev: ac9c58322b7f8533335a9d4379aa031bb1de7be6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deprecation of yocto-layer occurred in 2.4. For 2.5, we do not
need to mention this fact in the note.
(From yocto-docs rev: 619b74422baf3b531e2fc3db50a95019178a1c09)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The beaglebone BSP provided in this layer is a reference implementation
usingonly mainline components available in core Yocto Project layers,
whereas Texas Instruments maintain a full-featured BSP in the meta-ti
layer.
Rename the reference machine to prevent namespace collisions with the
version maintained by the SoC vendor.
[YOCTO #12326]
(From meta-yocto rev: e32882938eca7f50548deab84dab78b4aef31b95)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A missing case breaks the build when libxml2 is
required and found appropriately. The third argument
to the function AC_SEARCH_LIB is action-if-found which
was mistakenly been used for the case where the library
is not found and hence breaks the configure phase
where it shoud actually pass.
We now pass on silently when action-if-found is
executed.
(From OE-Core rev: a17f3ec910366e9e7551fa24fbc07929b9584341)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
${PN} will include additional prefixes, such as lib32-, which are not
actually a part of the user that is being added. This was creating an unused
user and possibly missing the actually intended user. By using ${BPN} this
will remove all additional extra information and consistently be "dhcp".
(From OE-Core rev: 77375b50e23555c3a2d24f2b41771e4d43c5b026)
Signed-off-by: Dan Dedrick <ddedrick@lexmark.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If PACKAGE_EXCLUDE is constructed using _append then it's possible
that the final value will contain only a space. Currently that
results in build failures due to an invalid opkg command line.
(From OE-Core rev: f832f57ba9f6babb946fbde580004acfd85667e1)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix miscompilation on mips64.
We've observed strange behaviour of `systemctl status <xxx> on qemumips64.
The output of the command is like `systemctl show <xxx>', which is incorrect.
The problem is due to the miscompilation of gcc for mips64 platform, thus
backporting patch from upstream to fix this problem.
[YOCTO #12266]
(From OE-Core rev: cfa13e5c756849820644d86d1882602649db6a9c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes following changes:
bf04291 WHENCE: Add new qed firmware
d8fc990 WHENCE: Add new radeon firmware
7245319 WHENCE: Fix syntax error for iwlwifi-8265-31.ucode entry
18d71a8 Revert "ath10k: QCA988X hw2.0: update firmware to 10.2.4.70.63-2"
4ebfab3 ath10k: QCA6174 hw3.0: update board-2.bin
96a7402 ath10k: QCA6174 hw3.0: update firmware-6.bin to WLAN.RM.4.4.1-00051-QCARMSWP-1
59bf7e2 cxgb4: update firmware to revision 1.16.63.0
The MD5 checksum of WHENCE license file was due the changes above as
the firmware versions are listed there. It had no license term
changes.
(From OE-Core rev: aea6ce797cc1b1ecc199979eb12aa42de8ff73d4)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although it may not appeal so much to users to prefer 80x24 consoles,
the general trend is for screens to get bigger and the current output
has started to look a little cramped on a modern HD display.
Increasing from 17 to 20 is obviously arbitrary, but does give enough
space to cleanly display layers such as "meta-nodejs-contrib" and
"meta-virtualization" while still keeping the output fairly compact.
(From OE-Core rev: e556b85a452a4ebf34a0c9581608f135bbad2e2c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have a recipe that uses overrides to conditionally extend
SRC_URI to add additional patches, then you will often need to update
those patches if you're making other changes to the source tree (for
example if you're upgrading the underlying source). Make this possible
with devtool by creating devtool-override-* branches for each override
that conditionally appends/prepends SRC_URI, and have devtool
update-recipe / finish check each branch out in turn and update the
corresponding patches.
A current example of a recipe that does this is the quota recipe - it
applies an additional patch if musl is the selected C library (i.e.
libc-musl is in OVERRIDES).
Note that use of this functionality does require some care - in
particular, updates to patches that appear on the main branch (named
"devtool" by default) should be made there and not only on one of the
specific devtool-override-* branches that are created for each override.
The recommended procedure is to make the changes you want to make to the
main branch first, then check out and rebase each devtool-override-*
branch, testing each one by activating the corresponding configuration,
and then finally run devtool finish.
Fixes [YOCTO #11516].
(From OE-Core rev: aa87603d1ffd695027847f4df75c0406cf4e14d8)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you're not sure what changes devtool finish is going to make, or
you're not sure you're finished with your modifications, it is useful to
be able to see what devtool finish is going to do beforehand, so add
a -N/--dry-run option to make that possible.
(It's also very useful for debugging devtool finish itself.)
(From OE-Core rev: 05f2d5d2ce00c53825ccea5cd9c2262f9d27a638)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a file is going to be effectively removed from the destination by
devtool finish, we should report that rather than just reporting that
we're removing files from the workspace. This is a little tricky because
the way we actually operate when finishing is to:
(1) remove all original files (as recorded by devtool upgrade, if that
was used)
(2) as part of updating the recipe file, remove the files from next to
the new recipe (i.e. in the workspace for an upgrade, real recipe
otherwise) corresponding to commits not in the git tree
(3) copy over remaining files from the workspace to the destination
To report the files removed with respect to what was originally there,
we need to swap steps 1 and 2 so we can see what no longer exists after
the deletion, and suppress the reporting currently done in step 2 -
however, we still want to report removal in step 2 for the non-upgrade
case, so the latter is conditional.
(From OE-Core rev: db1d663507509cac9d97d7c96ac8590478767ba2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the files that the devtool-source class is supposed to create in the
source tree aren't found in the temporary directory then we know that
the class hasn't worked properly - say that explicitly.
(From OE-Core rev: 4621152509c037532b133e5e6d5b73bda7ddb602)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Only log one warning message instead of one per line
* Be a bit more verbose
* "if list" is more pythonic than "if len(list)"
(From OE-Core rev: 2d11e9e6e73648c1cb514c0c10111c7886acae78)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the directory where the source code extracts to changes (for
example, when upgrading iucode-tool from 1.5 to 2.1.1, the subdirectory
in the tarball changed from "iucode_tool-${PV}" to "iucode-tool-${PV}")
then handle this automatically. Also handle when it changes to match the
default S value (i.e. "${WORKDIR}/${BP}") in which case we just drop
setting S in the recipe.
Fixes [YOCTO #10939].
(From OE-Core rev: d29881a652bf03627d257a1eac5f02ec17315b8b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I noticed that using bitbake-layers add-layer followed by a devtool
command resulted in bitbake re-parsing all of the recipes, which is
annoying. Upon closer inspection I could see that devtool was moving the
workspace layer path to the end of BBLAYERS if it happened to be
somewhere in the middle - there's no need for it to be doing this. This
occurred because we were passing the current workspace path to remove
and the "new" path to add even if the path is not being changed, and I
think earlier versions of bb.utils.edit_bblayers_conf() didn't move the
existing entry under these circumstances as it clearly does now. Fix it
so we only pass the path to be removed if we're actually changing the
path.
(From OE-Core rev: 284426dbad91a3c52eaf7da5c58fe8a2c2dfb826)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool upgrade did not properly handle setting SRC_URI checksums for
recipes that use named SRC_URI entries and also use those names in the
SRC_URI checksums. A further complication was where the name contained
an expression that changed with the version e.g. ${PV} (probably quite
rare, but the dnsmasq recipe in meta-networking is currently one such
recipe.) All of these are now handled properly.
Additionally, drop the _get_checksums() function that wasn't being
called from anywhere in the code.
Note that this now turns nowrap_vars in recipeutils.py to be a list of
regexes, hence things such as [ and ] need to be appropriately escaped.
(From OE-Core rev: c914a5e1ad6d96e316746222e5d42f2ba9110060)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool finish will check if the destination layer is part of
bblayers.conf so that we avoid the user getting confused about the
recipe vanishing from their configuration if it isn't. devtool finish
also accepts a path underneath a layer so that you have a bit
more control over where it ends up. However if you used a path
underneath a layer then it wasn't converting this to the base of the
layer before checking it against BBLAYERS, thus the warning was being
shown erroneously in that case.
(From OE-Core rev: ab1b8d55e551fea3e8656aab7a786d1bfec62d0f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the git repository for a recipe in the workspace has uncommitted
changes in it then it's possible that the user has forgotten to commit
something, so check and exit if there are any. Provide a -f/--force
option to continue in the case where the uncommitted changes aren't
needed.
Separately, if the repository is in the middle of a rebase or git am /
apply then error out (without the opportunity to force) since the user
really needs to sort this out before finishing.
(From OE-Core rev: bfebd18982c0c82ef2da63ec8f22175c93b2e308)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If S points to a subdirectory of the source rather than the "base" of
the source tree then print that rather than the subdirectory path when
telling the user they need to remove the source tree, since that is the
directory that they will need to remove.
(From OE-Core rev: 9e8808099046478e98c6cf1903dc6787d69132fc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After some reconsideration I think it's a bit annoying for users to be
forced to use an option to work with recipes where the file isn't in the
workspace, so let's just have these commands check the workspace first
for the recipe, and if it isn't there then load the cache and get it
that way.
(From OE-Core rev: 46683c61069a386658676a79d797062404bf1140)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Show a warning in devtool upgrade if the version is less than the
current version suggesting that the user may need to bump PE in the
recipe
* Show a warning in devtool add and devtool upgrade if the version looks
like a pre-release version suggesting using a version number that
won't mess up the progression when you come to upgrade to the final
release version.
(From OE-Core rev: 92c4d9be9ed365c449ea1ac5a18ddb15e4a36b2d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If S points to a subdirectory of the source rather than the "base" of
the source tree then we weren't handling the oe-local-files directory
properly - it got extracted to the base of the tree but devtool
update-recipe and devtool finish assumed it would be under S which would
be the subdirectory, thus it would be missing and devtool would assume
the files had been deleted and remove them from the recipe. Record the
base of the source tree in the bbappend and read it into the in-memory
workspace so we can use that to find out where oe-local-files should be
found.
(From OE-Core rev: 30d2ea67b2c4727e23d06a35745b1afa64b130cc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When devtool upgrade is upgrading to a new version where the source is
fetched as an archive (e.g. a tarball), we create a single commit in the
git repository that is the upgrade from the old version to the new. We
do this by extracting the old source, committing it, deleting all files,
copying in the new files, running git add on each new/changed/deleted
file, and then committing the result. When a lot of files have changed
in an upgrade (such as QEMU 2.8.1.1 -> 2.10.0) the penultimate step of
running git add it can take quite a long time; in order to reduce this
and show some feedback to the user, run git add with batches of 100
files at once and also show a progress bar. In a local test with the
aforementioned QEMU upgrade it took the time down from over 7 minutes
down to about 13 seconds.
Fixes [YOCTO #11948].
(From OE-Core rev: 8b184f6c874b60324ee107af53853687173d3434)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With versions of git older than 2.0, "git add" on a deleted file (i.e.
in this case a file that was removed between versions) will not add the
delete to be committed by default, with the result that the rebase of
patches on top of the new branch will fail. We need to use the -A
option in order to force that for older git versions.
(From OE-Core rev: c7f4c9f050c11c0de7fcf5badcc19a8fbc6428cf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It appears that when fixing the signature unlocking in OE-Core commit
4e9a0be32fc30fb87d65da7cd1a4015c99533aff I swapped the parameters here
and did not test it within the eSDK (it does nothing outside of the
eSDK) resulting in a TypeError when devtool upgrade was used in the
eSDK. Swap the parameters around to the correct ordering.
Fixes [YOCTO #12285].
(From OE-Core rev: 05e2c4ada7083f40866846a21fe76c852f1dfefe)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a value was split over multiple lines (e.g. as SRC_URI usually is)
then we were inserting the value as one item in the lines list with
newlines between each line. There's nothing wrong with this if you're
writing the list out to a file, but if you want to generate a patch (as
patch_recipe_file() will do if the patch parameter is set to True) then
the diff output looks a bit odd. Split the value before adding it to the
lines list to resolve this.
(From OE-Core rev: 44f4c97234623cbd770fbc86eabb04e7e0c91061)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
find_layerdir() should really return absolute paths, so make it do so.
This fixes devtool finish not deleting files it should do after devtool
upgrade if the specified path is relative, since the devtool finish code
was assuming that find_layerdir() was returning an absolute path.
Fixes [YOCTO #12318].
(From OE-Core rev: 5e3fe00a0233d563781849a44f53885b4e924a9c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the source tree happens to contain a kernel module as an example, a
test or under a "contrib" directory then we shouldn't be picking it up
and making the determination that the entire thing is a kernel module.
An example that triggered this is zstd, which ships a kernel module
under contrib/linux-kernel:
https://github.com/facebook/zstd
(From OE-Core rev: c2b3154158d4bb0855daa56477393341139d4cf9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We shouldn't be passing a relative path to the plugins if that's what's
been specified on the recipetool command line.
(From OE-Core rev: 949067384c5166058ebc76f931cc492dad1db645)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rich Felker (9):
fix access by setjmp and longjmp to __hwcap on arm built as thumb2
for executing init array functions, use function type with prototype
fix read-after-free type error in pthread_detach
fix incorrect base name offset from nftw when pathname ends in slash(es)
in dns parsing callback, enforce MAXADDRS to preclude overflow
release 1.1.17
fix regression in glob with literal . or .. path component
fix build regression on ARM for ISA levels less than v5
release 1.1.18
Szabolcs Nagy (1):
math: rewrite fma with mostly int arithmetics
Will Dietz (1):
posix_spawn: use larger stack to cover worst-case in execvpe
(From OE-Core rev: c3f0a70a40e0a8115e9046fb96b4b371b0db44ee)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that db doesn't PROVIDE virtual/db, remove it from default-providers.
(From OE-Core rev: 1c0507eb0d5ae9a9707b47e526398987d949e34b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As there are no alternative providers for virtual/db remove the PROVIDES and
recipes can just depend on db.
(From OE-Core rev: dcbc45aa3fe72c528fe4d47a783da4b4ed5ff38e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As there are no alternative providers for virtual/db, just depend directly on
db.
(From OE-Core rev: be49f3d2d66574d8a680dd1e7479229a10d3bfff)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The value could be False in which case we should pass that through.
(From OE-Core rev: d0a3379bbcbcd8153bd59ccdb56d40fff7ad6c6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This further cleans up the output of oe-selftest so that runqemu output
is hidden unless tests fail.
(From OE-Core rev: efa064d5026538ab513edc11869364ce2f14b977)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, the fact an error message is shown means the rest of the
task logs are suppressed. In this case we don't want that as it hides
the real errors and useful information. Therefore override this behaviour.
(From OE-Core rev: 7058ac23c5ce32fbdc4be6c05f85550e1fd9fe77)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-nls.m4-Take-it-from-gettext-0.15.patch as it's now
upstreamed.
Remove --disable-xevie option:
644096a28a
(From OE-Core rev: f7c3b14238b7e2b84d5a972bc3dfda29de45ad3e)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove upstreamed 0001-queryloaders-Make-output-more-reproducible.patch
Rebase fatal-loader.patch
Add a patch to fix a libtiff detection issue.
(From OE-Core rev: 057fadbaa9948fb26d99ffcbe68145658df64038)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously it was working only if only one shared library was found, and
broke when there were several.
(From OE-Core rev: a4da3957f4577f9826c73e1d23bcffe9ee96a7d4)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to fix bjam-native compile error (due to mistyped
variable name).
Drop upstreamed patch.
(From OE-Core rev: ba2d391d8268203895ab2f792f92b7fd92deeb45)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade ffmpeg to version 3.3.4. Version 3.3.4 is a bug fix version, and
there's no new feature added.
Compared to version 3.3.3, there are 57 new commits. These 57 commits are
either bug fix or small tweaks.
Drop CVE patches that were backported from 3.3.4.
(From OE-Core rev: 234d9aaffc2b08846281247e5ba37b20fea1493d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Valadoc has been merged into the main vala tree, so
add necessary patches to disable it.
(From OE-Core rev: 2c290f7253bba5ceb0d32e7d0b0ec0d0e81cc263)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed patches, including pkg-config support patch,
as upstream now does use pkg-config.
configure.in is now configure.ac, adjust recipe accordingly.
(From OE-Core rev: e9d487de8b5c03108c8c25c0365d5bd6b48f03e9)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perf is the preferred solution, and oprofile is difficult to
maintain against musl.
(From OE-Core rev: 5f470aed944c941b339652961a13266389288739)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is primarily paranoid but ensure we remove any loggers we setup
either directly or indirectly so the initial state is restored after
we exit.
(Bitbake rev: af7d63b1f76fd3f7fa92ed15ae61ca47d9e13472)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst we're likely exiting in this case, clean up the loggers we add
so that in the case of certain server retries there is no possibility
multiple loggers stack up.
(Bitbake rev: 25b7bf6672be66bcbfe5760610dce7d3e866cdcc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures the console is kept clear of confusing output but that
the main logs contain good debugging information.
(From OE-Core rev: caeb5dcfbd3c1d71f8e0eb78b3dd45d5ce349d25)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The logger handling in oeqa was confused at best. This patch:
a) Passes in a logger through various qemu runner pieces
b) Uses that logger consistently in the code
c) Creates a logger for QemuRunner outside the bitbake namespace
meaning we don't conflict with the tinfoil logging changes
The result of this is more consistency. For runtime tests in testimage,
the logs always contain the debug info, nothing is shwon on the console.
For the oe-selftests, logs are intercepted and only shown if the test
fails.
(From OE-Core rev: 4ff678137a55b93c9ba2cbffda34335ba859f704)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I have no idea why we didn't do this but it means the code has nowhere
to log to unless we do this. This means we can then use the logger
to log data to the task logs.
(From OE-Core rev: e241fb128840889acff79dbf3fae7bfaafcb5357)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake logs info messages to the console. These messages are really
there as debugging information. At the debug level, they will be shown
in failure logs and in the task logs but not on the console which
is what we want in this case.
(From OE-Core rev: e05b14ad5a3c5ac1656b6fffdcf7e58250638e96)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This funciton appears completely unused, drop it.
(From OE-Core rev: f352ef37a27cb0871c87cf9991d8ad2e1d560fde)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In general we don't need to see the output of runqemu however if it fails
we do. Use the buffer option that already exists in TestResult but allow
us to trigger it on a per test basis.
(From OE-Core rev: 86bef95bccbe9dad3dc3445ea365439861966179)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we don't remove the handler we end up with duplicate log messages
which is undesireable.
(From OE-Core rev: 4155a58aebe9c730be9ff1f68150f34d1cd472e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the bashism in the suid check. This ensures that the check works
correctly on hosts that default sh to e.g. dash. If this check fails the
suid shell workaround does not remove sh from the suid binary and
results in the target system containing a busybox.suid with sh as well
as /bin/sh -> /bin/busybox.suid.
(From OE-Core rev: 28547cf01b5ebb81c525a2b982db9b04997d7c4f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Cc: Andrej Valek <andrej.valek@siemens.com>
Cc: Radovan Scasny <radovan.scasny@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've observed strange behaviour of `systemctl status <xxx> on qemumips64.
The output of the command is like `systemctl show <xxx>', which is incorrect.
This patch is from gcc bugzilla's attachment.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81803
The patch hasn't been merged into gcc. But it does solve the above problem.
(From OE-Core rev: 3717c76eb24217c14a22f72fdd8732923729dee8)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add needed patches for portability across glibc/musl
enable systemd on musl too
Disable utmp,ldconfig,nss,resolved,localed for musl
which is not supported on musl
(From OE-Core rev: acdee728f0f6358dda709304ec307d737124aee6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove several Makefiles containing build host references.
While at it, also remove some additional files not needed for
testing.
(From OE-Core rev: 65a3b7b7b6aa91153ac3bd78411665316f1b2cba)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add images as separate MIME objects instead of directly embedding images
in the html (as base64 encoded pngs). This makes the emails better
suited for certain email servers/clients.
(From OE-Core rev: 6b61126c386a0a7334cdf475d349b830c436ed82)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove cross-compiler wrappers from the package, these contain numerous
build host references.
The wrappers are only needed for cross-compiling.
[YOCTO #11705]
(From OE-Core rev: 6870c4d11adcb831247dc1e05794bfa6ac1374c0)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
usesysrootprefixforpkgdatadirvariable.patch was a backport from 1.11,
no longer needed.
(From OE-Core rev: d4cb21de07f6f63f5aa703d6dc4f13a1e0d74b44)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With systemd, the mounting of the swap partition is handled via systemd
and will mount it, regardless of if PARTUUID is parsed or not. systemd
has a runtime dependency on util-linux-mount so PARTUUID for regular
mount points will be handled correctly. Make all partitions that we add
to the image make use of UUIDs for maximum portability.
(From OE-Core rev: 497467262d501b94061338b4ce826c6f2f9b97b4)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we have been told to use the UUID we should also update the fstab
to make use of PARTUUID instead of hard-coding the device in question.
This will make the resulting image much more portable.
(From OE-Core rev: e7443e7cf876d9bbe326033ac5eee0b98ce5d37f)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The regex for acceptable systemd WantedBy/RequiredBy targets does not include
target.wants, so a line like this:
WantedBy=multi-user.target.wants
gets silently ignored, even though it works fine on a real system.
(From OE-Core rev: ccffc66c64fc0dde433b0375c69760983c657427)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use tinfoil to collect all variable names globally and in each recipe.
No longer show the count of variables if they are undocumented.
Fixes [YOCTO #2086]
(From OE-Core rev: b947de583964020b488cb1c382877624e96d4319)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve reproducible build of curl-dev and curl-dbg packages.
curl-dev: Correctly remove build host references from curl-config
curl-dbg: Do not generate time stamps in files generated by mkhelp.pl
(From OE-Core rev: 6bc323ac9315712e75a0282cddb292bc84afc6f1)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Looking back the history, we had problem with systemd on qemumips64
which is also related to compilation flags. We solved that by using
tweaking FULL_OPTIMIZATION for mips64 to have "-fno-tree-switch-conversion
-fno-tree-tail-merge".
Now systemd has been upgraded to 234, and we don't have the above problem
any more, thus removing these flags.
(From OE-Core rev: 713761d23df24ad1b52e08bd2d2dc688393bef5b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fix use of memset without declaration in sched.h cpu set macros
* powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h
(From OE-Core rev: 3953c54c30473450d4baf511772276e5e8e09919)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We encountered a problem when installing kernel-devsrc package on a
intel-x86 target, as follows:
$ dnf install kernel-devsrc
| Installing : kernel-devsrc-1.0-r0.0.intel_corei7_64 1/1
| failed loading RPMDB
| The downloaded packages were saved in cache until the next successful transaction.
| You can remove cached packages by executing 'dnf clean packages'.
It can be fixed by increasing MAX_HDR_CNT and MAX_HDR_DSIZE in libsolv
per test.
(From OE-Core rev: 24fdebbbfdeadcf3d152a0adf3058c714b193a8f)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix segfaults if Tcl is built with stubs and Expect clib function is used
directly from C program.
(From OE-Core rev: 44af4f20bfb1fe853ed0b5dfc76bdd2900f47cb0)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade ffmpeg to version 3.3.4. Version 3.3.4 is a bug fix version, and
there's no new feature added.
Compared to version 3.3.3, there are 57 new commits. These 57 commits are
either bug fix or small tweaks.
(From OE-Core rev: 22d1ec2aa77e289813e0f3b516abdc8cdbc512d9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bsddb module is deprecated and requires an old version of Berkeley DB that
some may be unhappy with even shipping, so expose a way to disable the module.
(From OE-Core rev: 701250dae6c5d3f464bf6d7c46c19d59d1c00bec)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Triggered by looking at why Python doesn't find db.h (because it greps db.h for
a regex, and db.h is actually a oe_multilib_header wrapper) I realised that the
only reason we have to oe_multilib_header db.h is because one typedef is
different between 32-bit and 64-bit architectures.
However, the typedef is for a 64-bit integer so instead of using long (64-bit)
or long long (32-bit), just use int64_t. Some of the overly complicated
configure tests need to be deleted after this change but that is safe as we're
building in a controlled environment and can assume int64_t exists.
With this done the header doesn't change between architectures, and it doesn't
need to be wrapped by oe_multilib_header.
(From OE-Core rev: 60aa20b8b691e5a72a6a11bf795b86c6359db886)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The utility 'reset' is removed in this new version.
A new utility 'rfkill' is added in this new version.
Recipe is modified to remove reset and add rfkill according to the
above changes in new version.
(From OE-Core rev: 4cae425facdfbc0853187702e44faca4e328ebfe)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current implementation is broken when the localpath is a link.
Then only a symlink would be created on the target, instead of copying
the actual file.
[YOCTO #11524]
(From OE-Core rev: 1eb2a9c2f48d3af13ce651f1adf024b3380299d1)
Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The stop() function is called in the context of the masterimage,
so self.master should be used instead of self.connection which is
undefined at that time.
[YOCTO #11524]
(From OE-Core rev: adfe79dee90b6e080b97869444882b84468d49ba)
Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On systemd systems calling reboot over an ssh connection doesn't
return as expected causing an exception, therefore wrap the call
to reboot in order to avoid this issue.
Also sync the filesystems before rebooting cause otherwise, it will be
done as part of the reboot and could take a very long time and testimage
will fail to access the machine. This issue was observed consistently with
one of our rootfs at Pelagicore.
[YOCTO #11524]
(From OE-Core rev: a9c7f877e5bda32249755dc7014d436e4b85f07a)
Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a simple test case to being testing of the Go toolchain:
1) build meta-go-toolchain
2) create a temp directory and install the generated Go toolchain within
3) fetch an archive of the Go Dep tool
4) create an appropriately laid out GOROOT and inflate the dep archive there
5) build the dep command with the SDK's Go toolchain and check it returned
successfully.
[YOCTO #12152]
(From OE-Core rev: bca999644e28e1666357bcbeab685547c6f9dd65)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For test modules in a package, e.g., oelib.license, running
`oe-selftest -r oelib.license` or `oe-selftest -r
oelib.license.TestSimpleCombinations` would fail with a message that
the specified test cases could not be found. This was due to the
parsing in _built_modules_dict(), which failed to distinguish between
<package>.<module>.<class> and <module>.<class>.<testcase> and treated
both cases as the latter.
(From OE-Core rev: 80db3d999ae26d298d9d5418a32b11a4f27af9d5)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a console login not SSH for simplicity.
(From OE-Core rev: 842f3beb211eb0a398b37c50d433a93b86964f6b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The licenses of EXTRA_IMAGEDEPENDS recipes are being referenced in
image postcommand write_deploy_manifest, but a dependency is missing
between do_image and do_populate_lic of EXTRA_IMAGEDEPENDS recipes,
this leads some license files not present when write_deploy_manifest
runs, hence will cause build errors.
Fixed by letting do_image depend on do_populate_lic of
EXTRA_IMAGEDEPENDS recipes.
(From OE-Core rev: 276ff1f22d00edd6c9728e44ed5d6692a6c9e04f)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The externalsrc class code assumes that the source directory
(EXTERNALSRC) exists before bitbake is called. Otherwise do_configure
will fail obviously since externalsrc does not fetch anything.
Commit 3ca6085729 ("externalsrc: Handle .git not being a directory")
changed this behaviour. Now on a missing EXTERNALSRC directory we get
a bb.data_smart.ExpansionError during _parsing_, way before
do_configure can be run.
This new behaviour creates two problems:
* First, there error message is very cryptic (and it's hard to
provide a better message since no task is ever run):
ERROR: ExpansionError during parsing /<...>/<...>.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception FileNotFoundError: [Errno 2] No such file or directory: '<...>'
* Second, this prevents creating a class based on externalsrc that
automatically fetches the code in EXTERNALSRC before do_compile
runs.
Fix both problems by simply calling git with '-C ${EXTERNALSRC}'
instead of calling git inside the non-existing directory. This changes
from a bb.data_smart.ExpansionError to a
subprocess.CalledProcessError, which is in line with what's actually
going on: git is telling us it can't find the git dir.
Also remove a comment that does not apply anymore.
(From OE-Core rev: 8e8251582e977d7c6ab525ac1b493fbbe3af38b2)
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Joshua Watt <jpewhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current mechanism doesn't allow to use any non-determenistic variable, except 'DATE' and 'DATETIME', inside IMAGE_CMD_${FSTYPE} prototype.
Passing 'vardepsexclude' values from IMAGE_CMD_${FSTYPE}, so users will be able to avoid taskhash mismatch problems.
(From OE-Core rev: cb19166c540969f56959e25c1068934bdc40b013)
Signed-off-by: Igor Romanov <i.romanov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to the bitbake documentation, the "d" global datastore should be
used instead of "e.data" because the latter is deprecated.
(From OE-Core rev: 43820fe158cbc34c9fd67e84238931331153f127)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a distro uses useradd-staticids.bbclass and some developer
unfamiliar with the static ID mechanism tries to add a recipe which
needs new IDs, the resulting error or warning is typically not
something that the developer will understand.
Even experienced developers do not get enough information. They first
must find out whether the missing ID is for a system user or group,
then locate the file(s) in which the ID could be added. Both of this
is now part of the message:
ERROR: .../meta/recipes-extended/cronie/cronie_1.5.1.bb: cronie -
cronie: system groupname crontab does not have a static ID defined.
Add crontab to one of these files: /.../conf/distro/include/my-distro-group
The case that no file was found is also handled:
ERROR: .../meta/recipes-extended/cronie/cronie_1.5.1.bb: cronie -
cronie: system groupname crontab does not have a static ID defined.
USERADD_GID_TABLES file(s) not found in BBPATH: files/group
It would be nice if the error message could also list the range in
which a new ID needs to be allocated, but /etc/login.defs isn't
available at the time of creating the message, so that part is still
something that a developer needs to know.
(From OE-Core rev: 883bfc2bbb4d2120dbad6b0f2056503b012b1a2b)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enabling useradd-staticids.bbclass, one has to define static IDs
for all recipes in a world build, otherwise those without static IDs
generate parse errors or warnings, depending on USERADD_ERROR_DYNAMIC.
Defining unused IDs is a lot of work and clutters the passwd/group
file of a distro.
Distros which want to avoid this can now set USERADD_ERROR_DYNAMIC =
"skip" and recipes which would have triggered a message then silently
get disabled. Only trying to build them shows the error message:
$ bitbake apt
...
ERROR: Nothing PROVIDES 'apt'
ERROR: apt was skipped: apt - apt: username _apt does not have a static ID defined.
(From OE-Core rev: 9113928cea88c2187e8640ac489671cb81f58103)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The trailing space added to TUNE_CCARGS when appending -mfpu=XXX is
unnecessary and leads to a double space in the final value.
(From OE-Core rev: 4fde0110321b04d1f3418f05e61a2eb0b3ec8625)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found on my Ubuntu 14.04.5 LTS, on which that gnome-terminal is
the default terminal, when I run any of the tasks:
bitbake busybox -c menuconfig/devshell/devpyshell
bitbake virtual/kernel -c menuconfig/devshell/devpyshell
I got a error as follows:
"Failed to execute child process "oe-gnome-terminal-phonehome" (No such file or directory)"
Seems the environment of the process calling Popen is not passed to the
child process, this behaviour is a known issue in Python bug tracker:
http://bugs.python.org/issue8557
It could be fixed by using an absolute path instead per test.
(From OE-Core rev: 2117c148ef07d84bc605768e3b3671b0126b9337)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add in a tets ftp url so we ensure ftp urls contnue to work after the loss
of the ftp.gnu.org ones.
(Bitbake rev: e1e8565b5e19dd3f7ef6e7e41932456adaa3df81)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we test multiple URLs in this these tests and one failing abandons the test,
use subtests so all URLs are tested. This should help us identify patterns in
the failing URLs.
(Bitbake rev: c4c4465b32e82d4b6e46a44e776be5039aef6b18)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ftp server at ftp.gnu.org is likely to be retired at some point soon
so siwtch over to the http/https services.
This means bitbake-selftest doesn't have ftp test urls, however finding stable
ftp test servers is proving increasingly hard.
(Bitbake rev: 892a08245ddb21a464aeb37d3e32377e99dd7e2b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After cleaning deprecated API usage repo fetcher is missing
logger as it was indirectly imported via deprecated bb.data.
Fix this by importing logger directly.
Fixes: 9752fd1c10b8 ("fetch2: don't use deprecated bb.data APIs")
(Bitbake rev: f8e027d26603db2f1fe757dca767ea35d95174c7)
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test overrides IMAGE_FEATURES but failed to include package-management,
which is essential for postinsts to work under dpkg.
(From OE-Core rev: 7e73b84331a4ae8d93518feb68c748d98bac78c6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake-layers show-recipes and show-appends supported listing all recipes
or one recipe. Adjust the system to permit specifying more then one recipe.
Also update show-appends to match the --help description and support file
style wildcards for selecting the recipe to display.
(Bitbake rev: d72c1a91c261d78004d80e2fe5634f0e5f1ef947)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Exit quietly makes it very hard for debugging when user is not added as
expected, print a warning helps a lot.
(From OE-Core rev: 057885ed6f22781960bce4e082e3aa96e126764c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ftp protocol is dated and problematic. Since https is available, lets
use that instead, making new users chances of successful builds higher.
(From OE-Core rev: f24a29fcba98ceff08c13b0f029be93995f1deed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The WIC's 'part' can now give a name for GPT partition in WKS file.
It's similar to '--label', but is naming partintions instead file systems.
It's required by some bootloaders to partitions have specified names.
(From OE-Core rev: 9b60e3466ed7cff0cea10815851eb1304002eb52)
Signed-off-by: Artur Mądrzak <artur@madrzak.eu>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update weston release to 3.0.0.
Two patches added:
- fix-missing-header.patch:
fix a build issue when musl is used as libc.
- weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch:
fix display issue with YUV420/I420 format, that could result in a crash.
(From OE-Core rev: 148920f3971de0f44ac4dd3c85c29983862c5318)
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch modify the way we manage wayland path issues.
Instead of patching each recipe to make it work with wayland and its protocols,
it is better to patch wayland to fix its path issues.
So wayland-scanner.pc, wayland-client.pc and wayland-protocols.pc are patched to change paths.
Then we can drop the following workaround:
WAYLAND_PROTOCOLS_SYSROOT_DIR=${RECIPE_SYSROOT}
in:
- gtk+3
- libsdl2
- xserver-xorg
- gstreamer1.0-plugins-bad
- weston-2.0.0
We also dropped libsdl2 patches which fix wayland paths.
(From OE-Core rev: 14c0d992152ce27ee616558cafb408ed008d936e)
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vm_drive variable is malformed when the drive type is an ide device.
(From OE-Core rev: 88d7b17871fe8340ab7fd5c901d3a535ae098c3e)
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changed do to name being added
removed patches included in some form
(From OE-Core rev: 88770be201678bf1906e27d72e840de2cd4c43f0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Security Fixes
* An error in TSIG handling could permit unauthorized zone transfers
or zone updates. These flaws are disclosed in CVE-2017-3142 and
CVE-2017-3143. [RT #45383]
* The BIND installer on Windows used an unquoted service path, which
can enable privilege escalation. This flaw is disclosed in
CVE-2017-3141. [RT #45229]
* With certain RPZ configurations, a response with TTL 0 could cause
named to go into an infinite query loop. This flaw is disclosed in
CVE-2017-3140. [RT #45181]
End of Life
The end of life for BIND 9.10 is yet to be determined but will not be
before BIND 9.12.0 has been released for 6 months.
https://www.isc.org/downloads/software-support-policy/
more info see https://lists.isc.org/pipermail/bind-announce/2017-July/001063.html
(From OE-Core rev: 96e9adb60320b2e2f0bb7a04d9ed49ddc53649bb)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bug fix release on the
current stable branch. Note that, I've also switched the release
cadence to bi-monthly as less and less bug fixes/updates accumulate
each month on this branch.
** API and ABI modifications:
No changes since last version.
(From OE-Core rev: a843ab62f2252165ec3d687de92f939f766376e4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE files changed:
Amend licence to relax its conditions for chains of binary distributions.
removed included patches
includes CVE-2017-8399
(From OE-Core rev: d8ea0674d1feee803b75cf837e8d029619f8d663)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.33_release_notes
* TLS compression is no longer supported. API calls that attempt to enable compression are accepted without failure. However, TLS compression will remain disabled.
* This version of NSS uses a formally verified implementation of Curve25519 on 64-bit systems.
* The compile time flag DISABLE_ECC has been removed.
* When NSS is compiled without NSS_FORCE_FIPS=1 startup checks are not performed anymore.
* Fixes CVE-2017-7805, a potential use-after-free in TLS 1.2 server when verifying client authentication
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.32_release_notes
The Websites (TLS/SSL) trust bit was turned off for the following root certificates.
* CN = AddTrust Class 1 CA Root
SHA-256 Fingerprint: 8C:72:09:27:9A:C0:4E:27:5E:16:D0:7F:D3:B7:75:E8:01:54:B5:96:80:46:E3:1F:52:DD:25:76:63:24:E9:A7
* CN = Swisscom Root CA 2
SHA-256 Fingerprint: F0:9B:12:2C:71:14:F4:A0:9B:D4:EA:4F:4A:99:D5:58:B4:6E:4C:25:CD:81:14:0D:29:C0:56:13:91:4C:38:41
The following CA certificates were Removed:
* CN = AddTrust Public CA Root
SHA-256 Fingerprint: 07:91:CA:07:49:B2:07:82:AA:D3:C7:D7:BD:0C:DF:C9:48:58:35:84:3E:B2:D7:99:60:09:CE:43:AB:6C:69:27
* CN = AddTrust Qualified CA Root
SHA-256 Fingerprint: 80:95:21:08:05:DB:4B:BC:35:5E:44:28:D8:FD:6E:C2:CD:E3:AB:5F:B9:7A:99:42:98:8E:B8:F4:DC:D0:60:16
* CN = China Internet Network Information Center EV Certificates Root
SHA-256 Fingerprint: 1C:01:C6:F4:DB:B2:FE:FC:22:55:8B:2B:CA:32:56:3F:49:84:4A:CF:C3:2B:7B:E4:B0:FF:59:9F:9E:8C:7A:F7
* CN = CNNIC ROOT
SHA-256 Fingerprint: E2:83:93:77:3D:A8:45:A6:79:F2:08:0C:C7:FB:44:A3:B7:A1:C3:79:2C:B7:EB:77:29:FD:CB:6A:8D:99:AE:A7
* CN = ComSign Secured CA
SHA-256 Fingerprint: 50:79:41:C7:44:60:A0:B4:70:86:22:0D:4E:99:32:57:2A:B5:D1:B5:BB:CB:89:80:AB:1C:B1:76:51:A8:44:D2
* CN = GeoTrust Global CA 2
SHA-256 Fingerprint: CA:2D:82:A0:86:77:07:2F:8A:B6:76:4F:F0:35:67:6C:FE:3E:5E:32:5E:01:21:72:DF:3F:92:09:6D:B7:9B:85
* CN = Secure Certificate Services
SHA-256 Fingerprint: BD:81:CE:3B:4F:65:91:D1:1A:67:B5:FC:7A:47:FD:EF:25:52:1B:F9:AA:4E:18:B9:E3:DF:2E:34:A7:80:3B:E8
* CN = Swisscom Root CA 1
SHA-256 Fingerprint: 21:DB:20:12:36:60:BB:2E:D4:18:20:5D:A1:1E:E7:A8:5A:65:E2:BC:6E:55:B5:AF:7E:78:99:C8:A2:66:D9:2E
* CN = Swisscom Root EV CA 2
SHA-256 Fingerprint: D9:5F:EA:3C:A4:EE:DC:E7:4C:D7:6E:75:FC:6D:1F:F6:2C:44:1F:0F:A8:BC:77:F0:34:B1:9E:5D:B2:58:01:5D
* CN = Trusted Certificate Services
SHA-256 Fingerprint: 3F:06:E5:56:81:D4:96:F5:BE:16:9E:B5:38:9F:9F:2B:8F:F6:1E:17:08:DF:68:81:72:48:49:CD:5D:27:CB:69
* CN = UTN-USERFirst-Hardware
SHA-256 Fingerprint: 6E:A5:47:41:D0:04:66:7E:ED:1B:48:16:63:4A:A3:A7:9E:6E:4B:96:95:0F:82:79:DA:FC:8D:9B:D8:81:21:37
* CN = UTN-USERFirst-Object
SHA-256 Fingerprint: 6F:FF:78:E4:00:A7:0C:11:01:1C:D8:59:77:C4:59:FB:5A:F9:6A:3D:F0:54:08:20:D0:F4:B8:60:78:75:E5:8F
(From OE-Core rev: 83d79f449c33eff7bba92dfda8ffd4b699fb6462)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A collection of minor fixes since 2.0.1, including CVEs 2017-13720
and 2017-13722.
(From OE-Core rev: 818d50653660cafeca56021efe4b1f390c964f2c)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changed do to rewording
7097a65277 (diff-9879d6db96fd29134fc802214163b95a)
Briefly:
Northern Cyprus switches from +03 to +02/+03 on 2017-10-29.
Fiji ends DST 2018-01-14, not 2018-01-21.
Namibia switches from +01/+02 to +02 on 2018-04-01.
Sudan switches from +03 to +02 on 2017-11-01.
Tonga likely switches from +13/+14 to +13 on 2017-11-05.
Turks & Caicos switches from -04 to -05/-04 on 2018-11-04.
A new file tzdata.zi now holds a small text copy of all data.
The zic input format has been regularized slightly.
Changes to future time stamps
Northern Cyprus has decided to resume EU rules starting
2017-10-29, thus reinstituting winter time.
Fiji ends DST 2018-01-14 instead of the 2018-01-21 previously
predicted. (Thanks to Dominic Fok.) Adjust future predictions
accordingly.
Namibia will switch from +01 with DST to +02 all year on
2017-09-03 at 02:00. This affects UT offsets starting 2018-04-01
at 02:00. (Thanks to Steffen Thorsen.)
Sudan will switch from +03 to +02 on 2017-11-01. (Thanks to Ahmed
Atyya and Yahia Abdalla.) South Sudan is not switching, so
Africa/Juba is no longer a link to Africa/Khartoum.
Tonga has likely ended its experiment with DST, and will not
adjust its clocks on 2017-11-05. Although Tonga has not announced
whether it will continue to observe DST, the IATA is assuming that
it will not. (Thanks to David Wade.)
Turks & Caicos will switch from -04 all year to -05 with US DST on
2018-03-11 at 03:00. This affects UT offsets starting 2018-11-04
at 02:00. (Thanks to Steffen Thorsen.)
Changes to past time stamps
Namibia switched from +02 to +01 on 1994-03-21, not 1994-04-03.
(Thanks to Arthur David Olson.)
Detroit did not observe DST in 1967.
Use railway time for Asia/Kolkata before 1941, by switching to
Madras local time (UT +052110) in 1870, then to IST (UT +0530) in
1906. Also, treat 1941-2's +0630 as DST, like 1942-5.
Europe/Dublin's 1946 and 1947 fallback transitions occurred at
02:00 standard time, not 02:00 DST. (Thanks to Michael Deckers.)
Pacific/Apia and Pacific/Pago_Pago switched from Antipodean to
American time in 1892, not 1879. (Thanks to Michael Deckers.)
Adjust the 1867 transition in Alaska to better reflect the
historical record, by changing it to occur on 1867-10-18 at 15:30
Sitka time rather than at the start of 1867-10-17 local time.
Although strictly speaking this is accurate only for Sitka,
the rest of Alaska's blanks need to be filled in somehow.
Fix off-by-one errors in UT offsets for Adak and Nome before 1867.
(Thanks to Michael Deckers.)
Add 7 s to the UT offset in Asia/Yangon before 1920.
Changes to zone names
Remove Canada/East-Saskatchewan from the 'backward' file, as it
exceeded the 14-character limit and was an unused misnomer anyway.
(From OE-Core rev: 77a8256d9cbfe24d470aac9b4cc2910a41ca0ee8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changes do to rewording
7097a65277 (diff-9879d6db96fd29134fc802214163b95a)
Backported to fixes from upstream too.
Changes to code
zic and the reference runtime now reject multiple leap seconds
within 28 days of each other, or leap seconds before the Epoch.
As a result, support for double leap seconds, which was
obsolescent and undocumented, has been removed. Double leap
seconds were an error in the C89 standard; they have never existed
in civil timekeeping. (Thanks to Robert Elz and Bradley White for
noticing glitches in the code that uncovered this problem.)
zic now warns about use of the obsolescent and undocumented -y
option, and about use of the obsolescent TYPE field of Rule lines.
zic now allows unambiguous abbreviations like "Sa" and "Su" for
weekdays; formerly it rejected them due to a bug. Conversely, zic
no longer considers non-prefixes to be abbreviations; for example,
it no longer accepts "lF" as an abbreviation for "lastFriday".
Also, zic warns about the undocumented usage with a "last-"
prefix, e.g., "last-Fri".
Similarly, zic now accepts the unambiguous abbreviation "L" for
"Link" in ordinary context and for "Leap" in leap-second context.
Conversely, zic no longer accepts non-prefixes such as "La" as
abbreviations for words like "Leap".
zic no longer accepts leap second lines in ordinary input, or
ordinary lines in leap second input. Formerly, zic sometimes
warned about this undocumented usage and handled it incorrectly.
The new macro HAVE_TZNAME governs whether the tzname external
variable is exported, instead of USG_COMPAT. USG_COMPAT now
governs only the external variables "timezone" and "daylight".
This change is needed because the three variables are not in the
same category: although POSIX requires tzname, it specifies the
other two variables as optional. Also, USG_COMPAT is now 1 or 0:
if not defined, the code attempts to guess it from other macros.
localtime.c and difftime.c no longer require stdio.h, and .c files
other than zic.c no longer require sys/wait.h.
zdump.c no longer assumes snprintf. (Reported by Jonathan Leffler.)
Calculation of time_t extrema works around a bug in GCC 4.8.4
(Reported by Stan Shebs and Joseph Myers.)
zic.c no longer mistranslates formats of line numbers in non-English
locales. (Problem reported by Benno Schulenberg.)
Several minor changes have been made to the code to make it a
bit easier to port to MS-Windows and Solaris. (Thanks to Kees
Dekker for reporting the problems.)
Changes to documentation and commentary
The two new files 'theory.html' and 'calendars' contain the
contents of the removed file 'Theory'. The goal is to document
tzdb theory more accessibly.
The zic man page now documents abbreviation rules.
tz-link.htm now covers how to apply tzdata changes to clients.
(Thanks to Jorge Fábregas for the AIX link.) It also mentions MySQL.
The leap-seconds.list URL has been updated to something that is
more reliable for tzdb. (Thanks to Tim Parenti and Brian Inglis.)
(From OE-Core rev: 74af497f8d6b4e28d97c0f2cdb4ece90c2a6b8b5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the removal of yocto-bsp and yocto-kernel there are no longer any users
of this library, therefore delete it.
(From meta-yocto rev: 0d44e59bfaa95162cf2133df1d08f6419314bb8e)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
yocto-kernel is not actively maintained and requires active feature
development to make it a useful and compelling tool.
(From meta-yocto rev: fae757e972c7df9adba4b012784c0b161e54eb82)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitake-layers tool in bitbake is much more featurful, widely used and
better maintained.
(From meta-yocto rev: 803f6256fde4a7d1d4ef1f365b6f10252e99674e)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The yocto-bsp script has been removed, thus there's no need for this test
for the script.
(From meta-yocto rev: 280130bb02b550e882eb203328689b1526fa462c)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The yocto-bsp tool is not actively maintained and requires active
feature development to make it a useful and compelling tool.
(From meta-yocto rev: f659eefcb0914acabe453991711b3a64a87ef9c1)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With a '*' as a wildcard for the signature here we can also match a
portion of the task name with the result that we may match a sigdata
file for the wrong task. Luckily the signature is always the same
length - 32 characters - so we can simply use 32 '?' characters instead.
(A regex would have been another alternative, but the wildcard should be
effective and I felt like a regex would complicate the code more than
this solution).
Fixes [YOCTO #11763].
(From OE-Core rev: 73c6f85457361cd82d44838946aa81ba9bd1662a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The most common usage for buildhistory is with commits enabled so that
you actually collect history, rather than just keeping a snapshot of the
most recent build state, therefore default BUILDHISTORY_COMMIT to "1".
This really ought to have been the default in the beginning, I can't
really explain why it wasn't.
(From OE-Core rev: 8018a2349b7ad5ab27731c93a49603adf5f72fc2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
*) packagegroup class sets a default value for LICENSE
*) usually packagegroups don't contain a LICENSE
and if they do it's many times a copy/paste and doesn't
reflect the license of the packages included in the
packagegroup
(From OE-Core rev: c04ae17f439ffd5fd70d8564430a94582e2cf688)
Signed-off-by: Robert Berger <robert.berger@ReliableEmbeddedSystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dbm module uses gdbm by default which is also a build dependency.
(From OE-Core rev: 79121ff54420e5cc331552ca5620aed81a36aac9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bsddb module was removed in Python 3 and the dbm module doesn't support
Berkeley DB as an option, so this build dependency can be removed.
(From OE-Core rev: f16eac28d909bc6570d3587a2f4ac26ae0dc6048)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrades CMake from 3.8.2 to 3.9.3 release. The Copyright.txt
file checksum change was due the addition of a new contributor on the
contributors list.
(From OE-Core rev: 053ad4bbcb72a1783c7928c2f86285c15472314f)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original code enabled only a sub-set of all available tests.
It also copied executables to be tested into a local folder although
the executables were expected to be already installed in the image.
In addition, the original code copied libtool scripts instead of already
cross-compiled images.
This patch modifies some test scripts so there is no need to copy
images already installed: instead it tests images already installed.
As the executables are scattered in /bin, usr/bin, /sbin/ usr/sbin folders,
we use 'which' to determine the absolute path.
We also copy some cross-compiled tests that were previously missing.
By the virtue of not copying the libtools scripts we also managed
the achieve binary reproducible package, as previously leaked build host
info was contained in libtool scripts, which are not copied anymore.
[YOCTO #10953]
(From OE-Core rev: f5198af37a5357a1758b50668b67f1c552982507)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mtools already provides a suite of msdos utilities, switch to this
one also. This could allow for future changes to reduce wic's
dependecies.
(From OE-Core rev: 13851100b81ce901069ef167d6b9b0faedb3f466)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the issue that if you don't have mtools installed on the host
thus causing host contamination, that the correct binaries would be selected
from the native sysroot.
[YOCTO #12173]
(From OE-Core rev: dca43c557449d3765fec9f8d159d5c9e4ea8b0cb)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Defeat building for mipsarchn32 because there is no corresponding
GOARCH. Neither "mips" nor "mips64" allows go-runtime to compile.
Existing mips32 code assumes the o32 ABI.
(From OE-Core rev: fe72090a30d1fc810de3dd07350e5e6afba745de)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
delete two patches, because upstream already contain those:
0037-ltp-fix-PAGE_SIZE-redefinition-and-O_CREAT-undeclear.patch
0038-commands-gdb01-replace-stdin-with-dev-null.patch
add one patch, fix build when set the DISTRO to poky-lsb:
0037-ltp-fix-format-security-error.patch
(From OE-Core rev: ea6abed9dd638544f406ec2176b2c926bb1acf9b)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Besides revision change, this version includes the project M4 macros path into
EXTRA_AUTORECONF which avoid the following compilation issue:
In file included from ../../../texinfo-6.5/gnulib/lib/mbrtowc.c:21:0:
./wchar.h:571:6: error: #if with no expression
# if
^
Makefile:1378: recipe for target 'mbrtowc.o' failed
make[4]: *** [mbrtowc.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from ../../../texinfo-6.5/gnulib/lib/mbswidth.c:33:0:
./wchar.h:571:6: error: #if with no expression
# if
^
(From OE-Core rev: 71fae8ac66f0aa3239b3daf5d21cba9bd31d85ad)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License file changes are due to updates in Version and Copyright date
(From OE-Core rev: 44676c90863c3864182c088ca51bec3bdc8dce29)
Signed-off-by: youngseokyoon <earwigz32@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-scons and python-scons-native need to be upgraded to latest
upstream version.
LIC_FILES_CHKSUM changed due to updated year in date, but rest of file
remain the same.
Following dependencies were added to enable appropriate package usage:
python-shell, python-pprint and python-importlib.
A patch was taken from upstream to support python2 print statements
in SConscripts. This should be included in next version.
These changes were tested in qemux86 with core-image-minimal.
(From OE-Core rev: 4fe7774f08ba46bd1d68e56eff3f4912db107c25)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not rely on build host gcc for "implicit-fallthrough" support
we need to check the CC for it
(From OE-Core rev: b36100bb3077947361c858f891eb15a76013671e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-six needs to be updated to latest stable version.
Change in LIC_FILES_CHKSUM due to updated Copyright year,
rest of file remains the same.
This update was tested in qemux86 running core-image-minimal.
(From OE-Core rev: d069d201ec92e95aac7f2ad586ea77318c570ecb)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-setuptools and python3-setuptools must be updated
to latest stable release.
These changes were tested on qemu with core-image-minimal
(From OE-Core rev: 5b784c37f1be769a2abcc5bef5b03eb3b349138b)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-numpy needs to be upgraded to latest stable version.
This change was tested on qemux86 running core-image-minimal.
(From OE-Core rev: 0d38049f41b78a897309f919161357e4a56dc409)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-git needs to be updated to latest stable version.
This change was tested on qemux86 running core-image-minimal.
(From OE-Core rev: d07ac3a7ce9e46f78c9ef953ac9b59f94fd44b69)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-pygobject needs to be updated to latest stable branch.
This change was tested in qemux86 running core-image-minimal.
(From OE-Core rev: 46bb641199d4f76db2b24c11c8965d6904fe90c7)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-pycairo needs to be updated to latest stable release.
Changes in this update:
SRC_URI updated to new GitHub repository.
LICENSE updated to LGPLv2.1 & MPLv1.1.
LICENSE_FILES_CHkSUM updated accordingly to new License.
inherit distutils3 replaced with setuptools3.
waf-related instructions dropped due to use of setuptools3.
py3cairo header file copied to "includedir" where it is assumed
to be located by some dependencies.
This change was tested in qemux86 running core-image-minimal
(From OE-Core rev: 08003b47079e61c4ec6bc90d7dfdf8e36c4e24a8)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch works around a rare parallel build race condition using
the force option when soft linking.
The error seen is:
ln: failed to create symbolic link 'libssl.so': File exists
make[4]: *** [Makefile.shared:171: link_a.gnu] Error 1
make[4]: Leaving directory
'/.../build/tmp-glibc/work/x86_64-linux/openssl-native/1.0.2k-r0/openssl-1.0.2k'
Just add the -f flag to the platform independent soft link code to
avoid the collision. This is reasonable since this Makefile removes
the link target before creating a new soft link. The Makefile was
written this way to support platforms that don't allow forcing a
softlink to overwrite an existing link. Only builds on Linux are
supported so that's not a requirement for oe-core recipes.
The openssl team is rewriting their build files so it's not appropriate
for openssl upstream and fixing the root cause of the race condition
was also not pursued.
(From OE-Core rev: c60288aba70635238094c6b813228b31e0715db9)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch changes the result of the nettle dlopen-test
from FAIL to PASS. The test used to fail because the test could not
find and load libnettle.so.
This patch fixes this by using absolute path instead of relative.
This was the only test out of 88 that used to fail.
(From OE-Core rev: f12d493418417c8529a97c7a768e4af58ea5c91b)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch changes the result of the "include" test
from FAIL to PASS. The test used to fail as the test prerequisite
was missing.
This was the only test out of 298 that used to fail.
(From OE-Core rev: 3e6bbb81d143919e37cea1549220d27df22080fe)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream filename added "v" before version:
- Add UPSTREAM_CHECK_REGEX
- Update SRC_URI to include the "v"
- Point ${S} to proper directory
* Patch for required headers no longer needed in current upstream
* Tested on qemux86-64 core-image-full-cmdline image with multilib
(From OE-Core rev: c12f7f7492c33134ad6dde65fe119d53301dca2f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tclConfig.sh is also used by other packages (such as expect) for
cross-compiling, the host path from it can't be removed directly in
the do_install step.
With PACKAGE_PREPROCESS_FUNCS to remove host path and avoid the
crossscripts installed to target.
(From OE-Core rev: ced5618e7b3459fdd96f448ccdb55b5ced6d8214)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For shared libraries compilation perl uses LDDLFLAGS instead of
LDFLAGS. Value for LDDLFLAGS can be provided through
recipe-sysroot-native/usr/lib/perl-native/perl/config.sh file
generated during perl-native compilation.
With default LDDLFLAGS libxml-parser-perl-native package have no
correct rpath in Expat.so module. Provide correct LDDLFLAGS for perl
modules compilation to fix build on hosts without libexpat.so.
(From OE-Core rev: 118f42fa92c29269395c53c931fa174ece1af2e0)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Bugfixes only release.
* Removed SRC_URI from .inc file since it was duplicated in .bb file as well.
(From OE-Core rev: a70a8c016086dfd4534140364256c0557e840d89)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This build time option is needed to use the '--dns-interface' runtime
parameter to instruct 'curl' to use a specific interface for DNS
resolution.
Not enabled by default, as it depends on 'c-ares' package from
meta-openembedded (meta-networking).
(From OE-Core rev: 4fe0aa3791db0ee6c85e7a068f69def6e7c0da46)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This release includes:
- SDP fix for CVE-2017-1000250.
- New bluetooth mesh profile.
- Various fixes to GATT, A2DP and BR/EDR vs LE bearer handling.
This commit also drops the following two patches which are included in
5.47:
- 0001-hciattach-bcm43xx-fix-the-delay-timer-for-firmware-d.patch
- cve-2017-1000250.patch
(From OE-Core rev: cf25d927b2deadc11688b9dab2c366eaa57c54e6)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of not even having the test functions if network tests are disabled, use
a custom decorator to mark the network tests and skip them.
(Bitbake rev: cc420f430b1dafd9ca944bea259a564aaab34595)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fedora 24 reached end-of-life on 2017-08-08 and hasn't been tested in
some time.
* Fedora 25 reaches end-of-life in Q4 2017 and is exhibiting a bug which
makes it an extremely unreliable host OS for workers on the Yocto
Autobuilder. For that reason we'll no longer be using this distro on the
Yocto Autobuilder and thus cannot claim the distro is sanity tested.
(From meta-yocto rev: 976ee9a60ab786ae07057577975e3b91e388cd47)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After commit edcf39820f the beaglebone
builds fail to mount the boot partition as it is specified in
/etc/fstab with the device node /dev/mmcblkp1. With systemd in
particular this is considered an error and the system drops into
emergency mode.
(From meta-yocto rev: 11dbb98836768b71945817881709c5437d6eec6b)
Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating a backport of upstream commit:
ide:ide-cd: fix kernel panic resulting from missing scsi_req_init
commit 79d73346ac05bc31 upstream
Since we split the scsi_request out of struct request, while the
standard prep_rq_fn builds 10 byte cmds, it missed to invoke
scsi_req_init() to initialize certain fields of a scsi_request
structure (.__cmd[], .cmd, .cmd_len and .sense_len but no other
members of struct scsi_request).
An example panic on virtual machines (qemu/virtualbox) to boot
from IDE cdrom:
...
[ 8.754381] Call Trace:
[ 8.755419] blk_peek_request+0x182/0x2e0
[ 8.755863] blk_fetch_request+0x1c/0x40
[ 8.756148] ? ktime_get+0x40/0xa0
[ 8.756385] do_ide_request+0x37d/0x660
[ 8.756704] ? cfq_group_service_tree_add+0x98/0xc0
[ 8.757011] ? cfq_service_tree_add+0x1e5/0x2c0
[ 8.757313] ? ktime_get+0x40/0xa0
[ 8.757544] __blk_run_queue+0x3d/0x60
[ 8.757837] queue_unplugged+0x2f/0xc0
[ 8.758088] blk_flush_plug_list+0x1f4/0x240
[ 8.758362] blk_finish_plug+0x2c/0x40
...
[ 8.770906] RIP: ide_cdrom_prep_fn+0x63/0x180 RSP: ffff92aec018bae8
[ 8.772329] ---[ end trace 6408481e551a85c9 ]---
...
Fixes: 82ed4db499b8 ("block: split scsi_request out of struct request")
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
[bva: modified for 4.12 context]
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: 089dc30e11a5bbd10bf6bebea6aa0ac2173bc9a3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration updates:
dcf1317b36d2 features/mmc/mmc-realtek: enable Realtek PCI-E card reader support
1a144ffe5f76 edac: split scc into enablement and patching (for treegen)
(From OE-Core rev: 5135d7c88bd1c50b7462d3f219d778e4a33b2995)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release that comprises the following changes:
5d7a76acad40 Linux 4.9.57
28955b03fac3 KVM: nVMX: update last_nonleaf_level when initializing nested EPT
fb6da44f965e x86/alternatives: Fix alt_max_short macro to really be a max()
063b57d55618 USB: serial: console: fix use-after-free after failed setup
638f7fbfd67d USB: serial: qcserial: add Dell DW5818, DW5819
c98f2ff0013e USB: serial: option: add support for TP-Link LTE module
dcb2be936c3f USB: serial: cp210x: add support for ELV TFD500
0c80bbb76814 USB: serial: ftdi_sio: add id for Cypress WICED dev board
ed35ded9c781 bio_copy_user_iov(): don't ignore ->iov_offset
e67dfe75b683 more bio_map_user_iov() leak fixes
5444d8ab9a14 fix unbalanced page refcounting in bio_map_user_iov
f9139a1a2457 direct-io: Prevent NULL pointer access in submit_page_section
3941ee20839f usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options
3c57f9d8c194 usb: gadget: configfs: Fix memory leak of interface directory data
80689fdf37a8 drm/i915/bios: parse DDI ports also for CHV for HDMI DDC pin and DP AUX channel
fd96a9b0150a drm/i915: Read timings from the correct transcoder in intel_crtc_mode_get()
7c82795f9612 drm/i915/edp: Get the Panel Power Off timestamp after panel is off
4dbe48b8e1a9 ALSA: line6: Fix leftover URB at error-path during probe
b65f99b8b1ab ALSA: line6: Fix missing initialization before error path
bbab59d6c4b2 ALSA: caiaq: Fix stray URB at probe error path
6571ce840881 ALSA: seq: Fix copy_from_user() call inside lock
35b84860667f ALSA: seq: Fix use-after-free at creating a port
e0c70289a1e3 ALSA: usb-audio: Kill stray URB at exiting
133ca5c71299 fs/mpage.c: fix mpage_writepage() for pages with buffers
2a077f725847 device property: Track owner device of device property
3abebf0b8c5f iommu/amd: Finish TLB flush in amd_iommu_unmap()
4f28d1a742f9 pinctrl/amd: Fix build dependency on pinmux code
f4753e0ae985 usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet
08e1674e82e5 KVM: nVMX: fix guest CR4 loading when emulating L2 to L1 exit
3610c4a7838d KVM: MMU: always terminate page walks at level 1
91daaefbe5df crypto: shash - Fix zero-length shash ahash digest crash
57265cddde30 HID: usbhid: fix out-of-bounds bug
9d9c2884da2c dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse
618c786d2bba dmaengine: edma: Align the memcpy acnt array size with the transfer
b7309209b020 MIPS: math-emu: Remove pr_err() calls from fpu_emu()
a844e288c811 USB: dummy-hcd: Fix deadlock caused by disconnect detection
97535791d8f9 rcu: Allow for page faults in NMI handlers
f012cb75946f nl80211: Define policy for packet pattern attributes
92d7d3e86702 CIFS: Reconnect expired SMB sessions
28cbf0693771 ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets
9d36d3eff2f8 Linux 4.9.56
00449628f352 Revert "socket, bpf: fix possible use after free"
f82786d7a94f Linux 4.9.55
922e562b2613 KVM: x86: fix singlestepping over syscall
ec86c1ca8fbb f2fs: don't allow encrypted operations without keys
48d7b5a88790 ext4: don't allow encrypted operations without keys
6007f0f7a47d ext4: Don't clear SGID when inheriting ACLs
2d605d9188d6 ext4: fix data corruption for mmap writes
27db1f020373 vfs: deny copy_file_range() for non regular files
ba15518c2610 sched/cpuset/pm: Fix cpuset vs. suspend-resume bugs
d9aaef32f32c mmc: core: add driver strength selection when selecting hs400es
c83bbed23419 nvme-pci: Use PCI bus address for data/queues in CMB
acf64334817c drm/i915/bios: ignore HDMI on port A
54aa832c8744 brcmfmac: setup passive scan if requested by user-space
4d3132d97aa7 brcmfmac: add length check in brcmf_cfg80211_escan_handler()
12b182a35f45 scsi: sd: Do not override max_sectors_kb sysfs setting
aee20f321daf iwlwifi: add workaround to disable wide channels in 5GHz
f8895642cf8e iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD
9a19bc44c636 netlink: fix nla_put_{u8,u16,u32} for KASAN
57a77fffb0ff rocker: fix rocker_tlv_put_* functions for KASAN
50b27486ae8a HID: wacom: bits shifted too much for 9th and 10th buttons
953f5e7c6216 HID: wacom: Always increment hdev refcount within wacom_get_hdev_data
04b54e8ff7d0 HID: wacom: leds: Don't try to control the EKR's read-only LEDs
5abb9cd4ff92 HID: i2c-hid: allocate hid buffers for real worst case
a3ec104976f7 ftrace: Fix kmemleak in unregister_ftrace_graph
3ff8bc813b13 stm class: Fix a use-after-free
c541aaad4ac7 Drivers: hv: fcopy: restore correct transfer length
a97ca4f78018 driver core: platform: Don't read past the end of "driver_override" buffer
fc3c67226acd percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
6a988259b1cb powerpc/tm: Fix illegal TM state in signal handler
afebf5ef60da powerpc/64s: Use emergency stack for kernel TM Bad Thing program checks
02f7e4101092 socket, bpf: fix possible use after free
95206ea376b9 net: rtnetlink: fix info leak in RTM_GETSTATS call
58b1b8407a31 tipc: use only positive error codes in messages
09788d46b756 ip6_tunnel: update mtu properly for ARPHRD_ETHER tunnel device in tx path
ab4da56f61be ip6_gre: ip6gre_tap device should keep dst
b4a119251f6b netlink: do not proceed if dump's start() errs
cf2eaf16ab28 net: Set sk_prot_creator when cloning sockets to the right proto
24ee394a82d2 packet: only test po->has_vnet_hdr once in packet_snd
0f22167d3321 packet: in packet_do_bind, test fanout with bind_lock held
6eab1f829417 net: dsa: Fix network device registration order
b8990d2e77c6 tun: bail out from tun_get_user() if the skb is empty
b4a9b12d9a2c l2tp: fix race condition in l2tp_tunnel_delete
e5941137f784 l2tp: Avoid schedule while atomic in exit_net
6689f8358681 vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
852bdea5e379 net: qcom/emac: specify the correct size when mapping a DMA buffer
5600c7586ad9 net_sched: always reset qdisc backlog in qdisc_reset()
93eef2172d23 isdn/i4l: fetch the ppp_write buffer in one shot
0dee549f7912 bpf: one perf event close won't free bpf program attached by another perf event
6f7cdd4aa0a4 packet: hold bind lock when rebinding to fanout hook
6eac2cd24bd9 net: emac: Fix napi poll list corruption
b463521db854 tcp: fastopen: fix on syn-data transmit failure
b13bc543b1e6 net/sched: cls_matchall: fix crash when used with classful qdisc
13c8bd7a21ed ip6_tunnel: do not allow loading ip6_tunnel if ipv6 is disabled in cmdline
fc2fe7a06d6d net: phy: Fix mask value write on gmii2rgmii converter speed register
e814bae39ad5 ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
f0a5af78b530 udpv6: Fix the checksum computation when HW checksum does not apply
85908ccae5c2 tcp: fix data delivery rate
e159492b3c3e bpf/verifier: reject BPF_ALU64|BPF_END
186a9c5e7038 tcp: update skb->skb_mstamp more carefully
b70bb9bb7277 sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
f86d3b1a28a7 net: sched: fix use-after-free in tcf_action_destroy and tcf_del_walker
f860ca549de4 mlxsw: spectrum: Prevent mirred-related crash on removal
065af12fd139 ALSA: usx2y: Suppress kernel warning at page allocation failures
40e219327fd4 Revert "ALSA: echoaudio: purge contradictions between dimension matrix members and total number of members"
984b6c96f1e2 ALSA: compress: Remove unused variable
88c195d638d3 lsm: fix smack_inode_removexattr and xattr_getsecurity memleak
1c0891295a5a lib/ratelimit.c: use deferred printk() version
2b8197073a0f mm, oom_reaper: skip mm structs with mmu notifiers
8a056a115270 staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist
8928c5b2d318 uwb: ensure that endpoint is interrupt
8ff7adb930d4 uwb: properly check kthread_run return value
ec8a7153bbf3 iio: adc: mcp320x: Fix oops on module unload
1daa7c5aba21 iio: adc: mcp320x: Fix readout of negative voltages
8b97d5b67e9e iio: ad7793: Fix the serial interface reset
f0865d60f3a5 IIO: BME280: Updates to Humidity readings need ctrl_reg write!
9af1bd5e705a iio: core: Return error for failed read_reg
8edd1ce3e56b staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack.
1f266a130329 iio: ad_sigma_delta: Implement a dedicated reset function
a2002c92ffb3 iio: adc: twl4030: Disable the vusb3v1 rugulator in the error handling path of 'twl4030_madc_probe()'
ab6766146785 iio: adc: twl4030: Fix an error handling path in 'twl4030_madc_probe()'
a13481f8cdca Revert "xhci: Limit USB2 port wake support for AMD Promontory hosts"
f77615db8ae8 xhci: set missing SuperSpeedPlus Link Protocol bit in roothub descriptor
f1a04773d773 xhci: Fix sleeping with spin_lock_irq() held in ASmedia 1042A workaround
67e752e1d60f xhci: fix finding correct bus_state structure for USB 3.1 hosts
a6d4ce2e8b65 USB: fix out-of-bounds in usb_set_configuration
43feb29db4c5 usb: Increase quirk delay for USB devices
767f7a2cf33a USB: core: harden cdc_parse_cdc_header
d77606e93d81 USB: uas: fix bug in handling of alternate settings
da785bb64fa6 USB: g_mass_storage: Fix deadlock when driver is unbound
2b5c7b95ea36 usb: gadget: mass_storage: set msg_registered after msg registered
77a4be89599c USB: devio: Don't corrupt user memory
e39b17143a5b USB: dummy-hcd: Fix erroneous synchronization change
795f5501b95c USB: dummy-hcd: fix infinite-loop resubmission bug
5effe995310e USB: dummy-hcd: fix connection failures (wrong speed)
12071de6c37d USB: cdc-wdm: ignore -EPIPE from GetEncapsulatedResponse
0b104f92ed21 usb: pci-quirks.c: Corrected timeout values used in handshake
37b6d898388e ALSA: usb-audio: Check out-of-bounds access by corrupted buffer descriptor
eb5df140ca29 usb: renesas_usbhs: fix usbhsf_fifo_clear() for RX direction
4661c9b526c3 usb: renesas_usbhs: fix the BCLR setting condition for non-DCP pipe
760d0f10410a usb-storage: fix bogus hardware error messages for ATA pass-thru devices
dd52953f6c48 usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives
d21653d09a0b usb: gadget: udc: renesas_usb3: Fix return value of usb3_write_pipe()
db73b389775a usb: gadget: udc: renesas_usb3: fix Pn_RAMMAP.Pn_MPKT value
25533678e580 usb: gadget: udc: renesas_usb3: fix for no-data control transfer
744f9e1da2a5 usb: gadget: udc: atmel: set vbus irqflags explicitly
7f850036134c USB: gadgetfs: fix copy_to_user while holding spinlock
fd5336c0d1e3 USB: gadgetfs: Fix crash caused by inadequate synchronization
f37eb7b586f1 Linux 4.9.54
75903d40aaec s390/mm: make pmdp_invalidate() do invalidation only
14b502e491a8 ttpci: address stringop overflow warning
c637027054ae ALSA: au88x0: avoid theoretical uninitialized access
cf2cd9feb8e6 ASoC: rt5660: remove double const
617c7735db3d ASoC: rt5659: drop double const
2f4835ee5505 ASoC: rt5514: fix gcc-7 warning
d8ba70c09407 ARM: remove duplicate 'const' annotations'
a4f11d61e305 IB/qib: fix false-postive maybe-uninitialized warning
86c469bea4ae tools/power turbostat: bugfix: GFXMHz column not changing
c126bc6b94dd ARM: dts: BCM5301X: Fix memory start address
16db9205d3f8 libata: transport: Remove circular dependency at free time
49c3226c0657 ASoC: wm_adsp: Return an error on write to a disabled volatile control
d86f4ea83626 xfs: remove kmem_zalloc_greedy
943411be40e0 i2c: meson: fix wrong variable usage in meson_i2c_put_data
625cb13a8929 netfilter: nf_tables: set pktinfo->thoff at AH header if found
4131c889c278 md/raid10: submit bio directly to replacement disk
5c6712ab4efb rds: ib: add error handle
a495f72f8a53 mm/cgroup: avoid panic when init with low memory
2d59530d9918 iommu/io-pgtable-arm: Check for leaf entry before dereferencing it
81080d2d83f6 x86/acpi: Restore the order of CPU IDs
ffb6a7637ce0 cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()
27848be7eb75 ibmvnic: Free tx/rx scrq pointer array when releasing sub-crqs
49f1b2c154cb nfs: make nfs4_cb_sv_ops static
1cf8f9467e86 parisc: perf: Fix potential NULL pointer dereference
cd402b889606 netfilter: nfnl_cthelper: fix incorrect helper->expect_class_max
9b6f9da9e55a nvme-rdma: handle cpu unplug when re-establishing the controller
67e8be27ff72 MIPS: smp-cps: Fix retrieval of VPE mask on big endian CPUs
db6767e2fdca exynos-gsc: Do not swap cb/cr for semi planar formats
61b203816b17 iommu/exynos: Block SYSMMU while invalidating FLPD cache
3798fd14b970 MIPS: IRQ Stack: Unwind IRQ stack onto task stack
146561a3f1c8 netfilter: invoke synchronize_rcu after set the _hook_ to NULL
07b653405e3a drivers/rapidio/devices/tsi721.c: make module parameter variable name unique
5435e4823d81 kasan: do not sanitize kexec purgatory
dd9640717f3f hugetlbfs: initialize shared policy as part of inode allocation
c533c11d8f7a sata_via: Enable hotplug only on VT6421
26899ca9cc6f Btrfs: fix potential use-after-free for cloned bio
c17acd24c682 Btrfs: fix segmentation fault when doing dio read
7e2a755497f3 bridge: netlink: register netdevice before executing changelink
727a153435fa mmc: sdio: fix alignment issue in struct sdio_func
8f9bd136b50b qed: Fix possible system hang in the dcbnl-getdcbx() path.
f06316859ce6 net: dsa: b53: Include IMP/CPU port in dumb forwarding mode
affd26096a59 udp: disable inner UDP checksum offloads in IPsec case
65a7a7ce7ffd usb: plusb: Add support for PL-27A1
45eacc855552 team: fix memory leaks
897e8c528529 net/packet: check length in getsockopt() called with PACKET_HDRLEN
1dee03af7325 net: core: Prevent from dereferencing null pointer when releasing SKB
c593091cfc1b lkdtm: Fix Oops when unloading the module
6329973bee29 mips: ath79: clock:- Unmap region obtained by of_iomap
30a0220a5b0b MIPS: Lantiq: Fix another request_mem_region() return code check
fd9597d6ea28 HID: wacom: release the resources before leaving despite devm
d621f970fd71 drm: mali-dp: Fix transposed horizontal/vertical flip
c67371165170 drm: mali-dp: Fix destination size handling when rotating
e2d1a42ed06e ASoC: dapm: fix some pointer error handling
4302bc4f40b1 rtl8xxxu: Add additional USB IDs for rtl8192eu devices
3f22900466a1 usb: chipidea: vbus event may exist before starting gadget
75d1888ddce9 iommu/arm-smmu: Set privileged attribute to 'default' instead of 'unprivileged'
4af5e6136d76 spi: pxa2xx: Add support for Intel Gemini Lake
874b5acede78 ath10k: prevent sta pointer rcu violation
91e66498a96a audit: log 32-bit socketcalls
de415c812ec9 ASoC: dapm: handle probe deferrals
0fc89de6ee77 partitions/efi: Fix integer overflow in GPT size calculation
eaf9616e406c sfc: get PIO buffer size from the NIC
c6d263e6b30a USB: serial: mos7840: fix control-message error handling
9553708eb98d USB: serial: mos7720: fix control-message error handling
09831a957766 drm/amdkfd: fix improper return value on error
68b94d6c4edb arm: dts: mt2701: Add subsystem clock controller device nodes
b2e7d1f72b09 IB/ipoib: Replace list_del of the neigh->list with list_del_init
e335016d1f62 IB/ipoib: rtnl_unlock can not come after free_netdev
e384bbd585ee IB/ipoib: Fix deadlock over vlan_mutex
6c25cbaff1e9 serial: 8250_port: Remove dangerous pr_debug()
ca3e4e77201a tty: goldfish: Fix a parameter of a call to free_irq
5d29957578ae serial: 8250: moxa: Store num_ports in brd
d976d68e1726 drm/i915/psr: disable psr2 for resolution greater than 32X20
e92dca6f5a14 ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM
e1c355c244b7 IB/rxe: Fix a MR reference leak in check_rkey()
0081b9e7fcf7 IB/rxe: Add a runtime check in alloc_index()
2b7aec8839df iio: adc: hx711: Add DT binding for avia,hx711
ff9b56037dd7 iio: adc: axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications
259f317db758 iio: adc: imx25-gcq: Fix module autoload
772384d7ec40 hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes
d74f860528fb usb: make the MTK XHCI driver compile for older MIPS SoCs
952d3c52bd85 clk/axs10x: Clear init field in driver probe
81c961824662 sh_eth: use correct name for ECMR_MPDE bit
bed7533196b2 reset: ti_syscon: fix a ti_syscon_reset_status issue
6798f079b0a5 extcon: axp288: Use vbus-valid instead of -present to determine cable presence
bc438831606a igb: re-assign hw address pointer on reset after PCI error
484e3e793449 ARM: dts: am335x-chilisom: Wakeup from RTC-only state by power on event
bc9ad17c7af2 scsi: be2iscsi: Add checks to validate CID alloc/free
36c56ac0f897 power: supply: axp288_fuel_gauge: Fix fuel_gauge_reg_readb return on error
0cde56d3b672 MIPS: ralink: Fix incorrect assignment on ralink_soc
0e22be793ad2 MIPS: ralink: Fix a typo in the pinmux setup.
84eaa74d734a MIPS: Ensure bss section ends on a long-aligned address
d1d3a78f3e8f ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for msiof nodes
3311a304ec62 RDS: RDMA: Fix the composite message user notification
aa07a2ccc80d clk: sunxi-ng: fix PLL_CPUX adjusting on H3
299b924c1f20 ARM: dts: exynos: Add CPU OPPs for Exynos4412 Prime
48167acb7f5b drm/i915: Fix the overlay frontbuffer tracking
97766c6a8e58 GFS2: Fix reference to ERR_PTR in gfs2_glock_iter_next
e236940a87f1 drm: bridge: add DT bindings for TI ths8135
7df306f1063b drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define
1852eae92c46 Linux 4.9.53
df13283e4b89 swiotlb-xen: implement xen_swiotlb_dma_mmap callback
64afde6f956d video: fbdev: aty: do not leak uninitialized padding in clk to userspace
ea37f61f5de0 KVM: VMX: use cmpxchg64
cb2da657d3a9 cxl: Fix driver use count
3ffbe626a254 KVM: VMX: remove WARN_ON_ONCE in kvm_vcpu_trigger_posted_interrupt
0c4e39ca6700 KVM: VMX: do not change SN bit in vmx_update_pi_irte()
4c00015385fa timer/sysclt: Restrict timer migration sysctl values to 0 and 1
e2f803481a84 gfs2: Fix debugfs glocks dump
5e9b07f30d21 x86/fpu: Don't let userspace set bogus xcomp_bv
54af98f86b92 x86/mm: Fix fault error path using unsafe vma pointer
f11525d7ff5d btrfs: prevent to set invalid default subvolid
ba44bc49bae6 btrfs: propagate error to btrfs_cmp_data_prepare caller
b86b6c226bea btrfs: fix NULL pointer dereference from free_reloc_roots()
bb1e06d281a8 PCI: Fix race condition with driver_override
46f062e05920 etnaviv: fix gem object list corruption
02c7d98bec6c xfs: validate bdev support for DAX inode flag
86ef97b2dfd5 kvm: nVMX: Don't allow L2 to access the hardware CR8
3d4213fac7d1 KVM: VMX: Do not BUG() on out-of-bounds guest IRQ
e3a643b3288a kvm/x86: Handle async PF in RCU read-side critical sections
58d2fb119ae6 KVM: VMX: simplify and fix vmx_vcpu_pi_load
ff5eb8f28ff2 KVM: VMX: avoid double list add with VT-d posted interrupts
01c58b0edeb1 KVM: VMX: extract __pi_post_block
d49527ed4888 arm64: fault: Route pte translation faults via do_translation_fault
7dbd64284b18 arm64: Make sure SPsel is always set
be69c4c00a68 seccomp: fix the usage of get/put_seccomp_filter() in seccomp_get_filter()
58052a74d9b0 selftests/seccomp: Support glibc 2.26 siginfo_t.h
831cca587e7b iw_cxgb4: put ep reference in pass_accept_req()
f184cf5256b7 iw_cxgb4: remove the stid on listen create failure
eb4375e1969c bsg-lib: don't free job in bsg_prepare_job
c820441a7a52 nl80211: check for the required netlink attributes presence
f3e2e7f0b4d7 vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets
18a89a10b26b SMB3: Don't ignore O_SYNC/O_DSYNC and O_DIRECT flags
0e1b85a41a25 SMB: Validate negotiate (to protect against downgrade) even if signing off
df1be2066433 SMB3: Warn user if trying to sign connection that authenticated as guest
f2d395b7bde5 Fix SMB3.1.1 guest authentication to Samba
3a02f8cb5564 PM: core: Fix device_pm_check_callbacks()
22338c55658d s390/mm: fix write access check in gup_huge_pmd()
c76655fb0f44 powerpc/ftrace: Pass the correct stack pointer for DYNAMIC_FTRACE_WITH_REGS
f89f25b53147 powerpc/tm: Flush TM only if CPU has TM feature
5c23dcf86e2d powerpc/pseries: Fix parent_dn reference leak in add_dt_node()
dda70d28c0ac KEYS: prevent KEYCTL_READ on negative key
bfe9d7b8e0f2 KEYS: prevent creating a different user's keyrings
47e8bd1965fc KEYS: fix writing past end of user-supplied buffer in keyring_read()
0c70fb88c751 security/keys: rewrite all of big_key crypto
2f9be92dfffe security/keys: properly zero out sensitive key material in big_key
b60f791ef32d crypto: talitos - fix hashing
1492259fc324 crypto: talitos - fix sha224
70117b773598 crypto: talitos - Don't provide setkey for non hmac hashing algs.
7e1b2b2db3d7 crypto: drbg - fix freeing of resources
29825768590e drm/radeon: disable hard reset in hibernate for APUs
b42bf0f15cf7 scsi: scsi_transport_iscsi: fix the issue that iscsi_if_rx doesn't parse nlmsg properly
49c2b839b743 md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list
648798cc2fd7 md/raid5: fix a race condition in stripe batch
5fb4be27dac5 tracing: Erase irqsoff trace with empty write
97d402e6eed2 tracing: Fix trace_pipe behavior for instance traces
8dcf70ab1830 KVM: PPC: Book3S HV: Protect updates to spapr_tce_tables list
18b7919a9de8 KVM: PPC: Book3S: Fix race and leak in kvm_vm_ioctl_create_spapr_tce()
3d5960c8c657 genirq: Make sparse_irq_lock protect what it should protect
e167b4ad529b mac80211: flush hw_roc_start work before cancelling the ROC
e7e0f0dda28b mac80211_hwsim: Use proper TX power
59862b0429d9 mac80211: fix VLAN handling with TXQs
9ad15a25669e fs/proc: Report eip/esp in /prod/PID/stat for coredumping
b6a77c7ba674 cifs: release auth_key.response for reconnect.
9a7bc3f0c76a cifs: release cifs root_cred after exit_cifs
d59dabdc4cb3 Linux 4.9.52
08f75f2c525d bcache: fix bch_hprint crash and improve output
57aa1a6967b2 bcache: fix for gc and write-back race
fa92ff6b77a1 bcache: Correct return value for sysfs attach errors
e40cb30162d7 bcache: correct cache_dirty_target in __update_writeback_rate()
8f51f38883dc bcache: do not subtract sectors_to_gc for bypassed IO
c234e0e77572 bcache: Fix leak of bdev reference
2a9b55742a9f bcache: initialize dirty stripes in flash_dev_run()
f5c3fd83284f PM / devfreq: Fix memory leak when fail to register device
38993f320506 media: uvcvideo: Prevent heap overflow when accessing mapped controls
7717a7378c53 media: v4l2-compat-ioctl32: Fix timespec conversion
de4360dd3519 s390/mm: fix race on mm->context.flush_mm
536ab630f4db s390/mm: fix local TLB flushing vs. detach of an mm address space
4c7f54a0f977 net/netfilter/nf_conntrack_core: Fix net_conntrack_lock()
2fd62929c88f PCI: pciehp: Report power fault only once until we clear it
998a9f51bc74 PCI: shpchp: Enable bridge bus mastering if MSI is enabled
57e4f87ebe46 ARC: Re-enable MMU upon Machine Check exception
cf052336d0d3 tracing: Apply trace_clock changes to instance max buffer
96cf918df428 tracing: Add barrier to trace_printk() buffer nesting modification
100553e197e2 ftrace: Fix memleak when unregistering dynamic ops when tracing disabled
df865f86b008 ftrace: Fix selftest goto location on error
2a913aecc4f7 scsi: qla2xxx: Fix an integer overflow in sysfs code
6e2a0259da7a scsi: qla2xxx: Correction to vha->vref_count timeout
90cb12f6dc5a scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE
25d5a8a2958f scsi: sg: factor out sg_fill_request_table()
c6b9a2007c92 scsi: sg: off by one in sg_ioctl()
2b2d86b0d43d scsi: sg: use standard lists for sg_requests
91fb151822d0 scsi: sg: remove 'save_scat_len'
5b8f80d34abf scsi: storvsc: fix memory leak on ring buffer busy
d8817f5f2937 scsi: megaraid_sas: Return pended IOCTLs with cmd_status MFI_STAT_WRONG_STATE in case adapter is dead
c62da79e1be5 scsi: megaraid_sas: Check valid aen class range to avoid kernel panic
7efc41514a01 scsi: megaraid_sas: set minimum value of resetwaittime to be 1 secs
c24f722a82b1 scsi: zfcp: trace high part of "new" 64 bit SCSI LUN
adbbbd349e80 scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response
5283787709f8 scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records
8d706e3dd8ab scsi: zfcp: fix missing trace records for early returns in TMF eh handlers
424a20b09617 scsi: zfcp: fix passing fsf_req to SCSI trace on TMF to correlate with HBA
0cbb7431a762 scsi: zfcp: fix capping of unsuccessful GPN_FT SAN response trace records
88187de0e934 scsi: zfcp: add handling for FCP_RESID_OVER to the fcp ingress path
83245cd18775 scsi: zfcp: fix queuecommand for scsi_eh commands when DIX enabled
63e606bd9551 skd: Submit requests to firmware before triggering the doorbell
cb1441bca9bf skd: Avoid that module unloading triggers a use-after-free
2cee78081b97 md/bitmap: disable bitmap_resize for file-backed bitmaps.
120ec1e4cddd block: Relax a check in blk_start_queue()
48564b51ac75 powerpc: Fix DAR reporting when alignment handler faults
3806cea5c1c5 ext4: fix quota inconsistency during orphan cleanup for read-only mounts
18d27cb70373 ext4: fix incorrect quotaoff if the quota feature is enabled
e684db9a7cea crypto: AF_ALG - remove SGL terminator indicator when chaining
dcb3a4b8d776 crypto: ccp - Fix XTS-AES-128 support on v5 CCPs
1f143ba19a8f MIPS: math-emu: <MADDF|MSUBF>.D: Fix accuracy (64-bit case)
d2b488ee6f63 MIPS: math-emu: <MADDF|MSUBF>.S: Fix accuracy (32-bit case)
5cabf999fdb7 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Clean up "maddf_flags" enumeration
d56a9caf6d83 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of zero inputs
8981bcaf9a2d MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of infinite inputs
4f8479c933a7 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix NaN propagation
4e0694a6411b MIPS: math-emu: Handle zero accumulator case in MADDF and MSUBF separately
9381a991a36a MIPS: math-emu: MINA.<D|S>: Fix some cases of infinity and zero inputs
f7d36f6594b8 MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of both infinite inputs
a04d53797fca MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of input values with opposite signs
d2b6fcb0b6de MIPS: math-emu: <MAX|MIN>.<D|S>: Fix cases of both inputs negative
694f6ea0a4e2 MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix cases of both inputs zero
b234149cf77b MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix quiet NaN propagation
fcaec235666c Input: i8042 - add Gigabyte P57 to the keyboard reset table
6053a5fec569 pinctrl/amd: save pin registers over suspend/resume
346abf2aca7f tty: fix __tty_insert_flip_char regression
750462424193 tty: improve tty_insert_flip_char() slow path
f61a07f3fe97 tty: improve tty_insert_flip_char() fast path
2f8b06f906fd IB/addr: Fix setting source address in addr6_resolve()
0fda166fcec8 drm/sun4i: Implement drm_driver lastclose to restore fbdev console
a29aeb834a96 IB/{qib, hfi1}: Avoid flow control testing for RDMA write operation
e148702302c5 orangefs: Don't clear SGID when inheriting ACLs
39f5677232ab mm: prevent double decrease of nr_reserved_highatomic
f609266b12d2 NFSv4: Fix callback server shutdown
d9f9b83539ab SUNRPC: Refactor svc_set_num_threads()
089d7720383d Linux 4.9.51
7829684088a2 ipv6: Fix may be used uninitialized warning in rt6_check
ae04a8c4c6fc xfs: fix compiler warnings
7b5fcb7fc05b md/raid5: release/flush io in raid5_do_work()
81cb6f1a2a19 xfs: use kmem_free to free return value of kmem_zalloc
772003c6a428 xfs: open code end_buffer_async_write in xfs_finish_page_writeback
bb69e8a228a7 xfs: don't set v3 xflags for v2 inodes
f46a61f686b0 xfs: fix incorrect log_flushed on fsync
0e8d7e364ec5 xfs: disable per-inode DAX flag
a46cf59265cf xfs: relog dirty buffers during swapext bmbt owner change
e2bb92633615 xfs: disallow marking previously dirty buffers as ordered
a51e3e2cf3cb xfs: move bmbt owner change to last step of extent swap
f9e583edf1a7 xfs: skip bmbt block ino validation during owner change
fe211e1744db xfs: don't log dirty ranges for ordered buffers
19a87a940765 xfs: refactor buffer logging into buffer dirtying helper
93b645160192 xfs: ordered buffer log items are never formatted
ba986b3c8498 xfs: remove unnecessary dirty bli format check for ordered bufs
0f5af7eae884 xfs: open-code xfs_buf_item_dirty()
81286ade81f7 xfs: check for race with xfs_reclaim_inode() in xfs_ifree_cluster()
63d184d2955b xfs: evict all inodes involved with log redo item
536932f39e93 xfs: stop searching for free slots in an inode chunk when there are none
6b6505d90b77 xfs: add log recovery tracepoint for head/tail
7549e7c01fb0 xfs: handle -EFSCORRUPTED during head/tail verification
47db1fc608b8 xfs: fix log recovery corruption error due to tail overwrite
e34b72a2381e xfs: always verify the log tail during recovery
35093926c2f8 xfs: fix recovery failure when log record header wraps log end
0800356def7f xfs: Properly retry failed inode items in case of error during buffer writeback
7942f605c308 xfs: Add infrastructure needed for error propagation during buffer IO failure
1ba04933408e xfs: remove xfs_trans_ail_delete_bulk
9a3f75229090 xfs: toggle readonly state around xfs_log_mount_finish
01d38e380746 xfs: write unmount record for ro mounts
ec0d46ef8b7e iomap: fix integer truncation issues in the zeroing and dirtying helpers
e1a7b7e1f6c2 xfs: don't leak quotacheck dquots when cow recovery
7fb3e5e373bb xfs: clear MS_ACTIVE after finishing log recovery
8edd73a13dc0 xfs: fix inobt inode allocation search optimization
f90756d75d69 xfs: Fix per-inode DAX flag inheritance
229980158f95 xfs: fix multi-AG deadlock in xfs_bunmapi
81e27c94f9ab xfs: fix quotacheck dquot id overflow infinite loop
01bc132048cf xfs: check _alloc_read_agf buffer pointer before using
c32b1ec8a266 xfs: set firstfsb to NULLFSBLOCK before feeding it to _bmapi_write
a6247b0189fa xfs: check _btree_check_block value
e76496fa8554 xfs: don't crash on unexpected holes in dir/attr btrees
b46382f02aff xfs: free cowblocks and retry on buffered write ENOSPC
171192c92da6 xfs: free uncommitted transactions during log recovery
621d0b75a347 xfs: don't allow bmap on rt files
8913492d12b1 xfs: remove bli from AIL before release on transaction abort
6c0ecde201d7 xfs: release bli from transaction properly on fs shutdown
ce83e494d1bb xfs: try to avoid blowing out the transaction reservation when bunmaping a shared extent
7cb011bbacef xfs: push buffer of flush locked dquot to avoid quotacheck deadlock
85ab1b23d2d8 xfs: fix spurious spin_is_locked() assert failures on non-smp kernels
4c1d33c4cf86 xfs: Move handling of missing page into one place in xfs_find_get_desired_pgoff()
3fddeb80034b x86/switch_to/64: Rewrite FS/GS switching yet again to fix AMD CPUs
0caec70692a0 x86/fsgsbase/64: Report FSBASE and GSBASE correctly in core dumps
c7d1ddec251d x86/fsgsbase/64: Fully initialize FS and GS state in start_thread_common
cc9618c9fffe f2fs: check hot_data for roll-forward recovery
0f90297cba9b f2fs: let fill_super handle roll-forward errors
60b94125a1fe ip_tunnel: fix setting ttl and tos value in collect_md mode
3f60dadbe178 sctp: fix missing wake ups in some situations
bf8ed95d2ca9 ipv6: fix typo in fib6_net_exit()
c9335db792c0 ipv6: fix memory leak with multiple tables during netns destruction
ca7d8a337bd3 ip6_gre: update mtu properly in ip6gre_err
f5755c0e8700 vhost_net: correctly check tx avail during rx busy polling
90406e68e42f gianfar: Fix Tx flow control deactivation
1bcf18718ec6 Revert "net: fix percpu memory leaks"
5a7a40bad254 Revert "net: use lib/percpu_counter API for fragmentation mem accounting"
b5a3ae8b127e bridge: switchdev: Clear forward mark when transmitting packet
73ee5a73e75f mlxsw: spectrum: Forbid linking to devices that have uppers
a10c510179b3 tcp: initialize rcv_mss to TCP_MIN_MSS instead of 0
a6e51fda71a2 Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()"
af33da0ed95f kcm: do not attach PF_KCM sockets to avoid deadlock
8c623e5d0369 packet: Don't write vnet header beyond end of buffer
2b3bd5972a5c cxgb4: Fix stack out-of-bounds read due to wrong size to t4_record_mbox()
de2ecec26dba netvsc: fix deadlock betwen link status and removal
64dfc67548da qlge: avoid memcpy buffer overflow
08d56d8a99bb sctp: Avoid out-of-bounds reads from address storage
4d8ee1935bcd fsl/man: Inherit parent device and of_node
1e39e5c6a2ea udp: on peeking bad csum, drop packets even if not at head
4b4a194a10e2 macsec: add genl family module alias
43c792a84880 ipv6: fix sparse warning on rt6i_node
7f8f23fc8026 ipv6: add rcu grace period before freeing fib6_node
dccb31be7ef8 ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt()
4ad5dcaca742 Linux 4.9.50
5b82e0e938af xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present
3885bc68ae14 NFS: Sync the correct byte range during synchronous writes
a70912a6bfff NFS: Fix 2 use after free issues in the I/O code
301d91e03c9d ARM: 8692/1: mm: abort uaccess retries upon fatal signal
b40aa8b047b8 ARM64: dts: marvell: armada-37xx: Fix GIC maintenance interrupt
6300c8bfafe0 Bluetooth: Properly check L2CAP config option output buffer length
03bea515b9a2 ALSA: msnd: Optimize / harden DSP and MIDI loops
d21f3eaa09c0 locktorture: Fix potential memory leak with rw lock test
3c8381df2a56 mm/memory.c: fix mem_cgroup_oom_disable() call missing
ebf381be016f selftests/x86/fsgsbase: Test selectors 1, 2, and 3
0f7dbc4d5bc8 btrfs: resume qgroup rescan on rw remount
f52a535c8438 nvme-fabrics: generate spec-compliant UUID NQNs
b276bc66d439 mtd: nand: qcom: fix config error for BCH
f4a272d57839 mtd: nand: qcom: fix read failure without complete bootchain
865162031c4e mtd: nand: mxc: Fix mxc_v1 ooblayout
(From OE-Core rev: afbe1ecd2412c7464ba805223058ab416553b250)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that BSPs that only matched the machine were
being returned as the configuration entry point. This could lead
to warnings, or unexpected runtime results.
Integrating the following commit to ensure that only strict matches
are returned by default, with a flag to do fuzzy matching
spp: make fuzzy matching optional
Add a flag that can be used to toggle wether or not a partial
match is an error.
--fuzz
When passed, partial patching will be used. If not passed the
default is to return nothing (which can be interpreted as an
error by the calling routines) if both the kernel type and
machine do not match.
(From OE-Core rev: f60d050fef2e4ac592bb5554e74b9573e3570d0f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following bugfixes to the 4.12 tree:
26c1863a7448 ALSA: hda: Fix regression of hdmi eld control created based on invalid pcm
2b020e00dd49 arm64: mm: select CONFIG_ARCH_PROC_KCORE_TEXT
abcf00d7171c fs/proc: kcore: use kcore_list type to check for vmalloc/module address
(From OE-Core rev: 1027bfffb3d6118a43c5697f36b30dd8e4ae3f96)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases with the following commit summary:
fa394784e74b Linux 4.12.14
d0fa64e2a3e8 ipv6: Fix may be used uninitialized warning in rt6_check
7816eb3874a2 md/raid5: release/flush io in raid5_do_work()
b57c1b424549 md/raid1/10: reset bio allocated from mempool
c3f9d09e70a3 idr: remove WARN_ON_ONCE() when trying to replace negative ID
a82e202cbb72 fuse: allow server to run in different pid_ns
7b777a6cc52a x86/switch_to/64: Rewrite FS/GS switching yet again to fix AMD CPUs
831621ada28a x86/fsgsbase/64: Report FSBASE and GSBASE correctly in core dumps
90ecd1c5bc55 x86/fsgsbase/64: Fully initialize FS and GS state in start_thread_common
cb14d4cebdb2 f2fs: check hot_data for roll-forward recovery
96a069a6babb f2fs: let fill_super handle roll-forward errors
442df0425e95 sctp: fix missing wake ups in some situations
aa02286a03c7 ipv6: fix typo in fib6_net_exit()
18c6d4c4d17a ipv6: fix memory leak with multiple tables during netns destruction
888b7a94104a ip6_gre: update mtu properly in ip6gre_err
88f6c6f254bf vhost_net: correctly check tx avail during rx busy polling
fc33f146d9f1 gianfar: Fix Tx flow control deactivation
a44bb1c4596a Revert "net: fix percpu memory leaks"
8fbf9f919597 Revert "net: use lib/percpu_counter API for fragmentation mem accounting"
79f08820eeb8 bridge: switchdev: Clear forward mark when transmitting packet
2f4232ba8001 mlxsw: spectrum: Forbid linking to devices that have uppers
a9e548de4cf9 net: fec: Allow reception of frames bigger than 1522 bytes
b8fcbae2fefa Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()"
b88be44f595f net/mlx5e: Fix CQ moderation mode not set properly
8049c41db78d net/mlx5e: Fix inline header size for small packets
8db40bcf439f net/mlx5: E-Switch, Unload the representors in the correct order
b0034cb5014e net/mlx5e: Properly resolve TC offloaded ipv6 vxlan tunnel source address
53c5525785bc net/mlx5e: Don't override user RSS upon set channels
ba008489371d net/mlx5e: Fix dangling page pointer on DMA mapping error
7ae1eccbde90 net/mlx5: Fix arm SRQ command for ISSI version 0
0b6b3028c005 net/mlx5e: Fix DCB_CAP_ATTR_DCBX capability for DCBNL getcap.
9b919ad3f99f net/mlx5e: Check for qos capability in dcbnl_initialize
31034e443fbf net: dsa: bcm_sf2: Fix number of CFP entries for BCM7278
f9901adf536c kcm: do not attach PF_KCM sockets to avoid deadlock
e7ebdeb47c8b packet: Don't write vnet header beyond end of buffer
ef5a20f0cbae ipv6: do not set sk_destruct in IPV6_ADDRFORM sockopt
440ea29af6a5 ipv6: set dst.obsolete when a cached route has expired
24bd86e62739 cxgb4: Fix stack out-of-bounds read due to wrong size to t4_record_mbox()
59b304fdff15 net: mvpp2: fix the mac address used when using PPv2.2
38ca2d395e1c udp6: set rx_dst_cookie on rx_dst updates
b4426cf20366 netvsc: fix deadlock betwen link status and removal
3f0204b0b7b5 net: systemport: Free DMA coherent descriptors on errors
71dd9ac555c5 net: bcmgenet: Be drop monitor friendly
7def678f47fc net: systemport: Be drop monitor friendly
c86a65cf30ac tipc: Fix tipc_sk_reinit handling of -EAGAIN
8aafed19d523 qlge: avoid memcpy buffer overflow
6da138247b47 sctp: Avoid out-of-bounds reads from address storage
207ab5d5a250 fsl/man: Inherit parent device and of_node
4670d7961333 bpf: fix map value attribute for hash of maps
79d6457e8036 udp: on peeking bad csum, drop packets even if not at head
1999821fa500 macsec: add genl family module alias
517e43bd1eba ipv6: fix sparse warning on rt6i_node
640efece69a4 ipv6: add rcu grace period before freeing fib6_node
76d3e7ff2362 ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt()
5d7d2e03e0f0 Linux 4.12.13
9f7df0bca168 xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present
da0f4931ec52 NFSv4: Fix up mirror allocation
3307d5f5099c NFS: Sync the correct byte range during synchronous writes
6f50e3a1b8c3 NFS: Fix 2 use after free issues in the I/O code
7714f302294d ARM: 8692/1: mm: abort uaccess retries upon fatal signal
b9a489e1d4a3 ARM64: dts: marvell: armada-37xx: Fix GIC maintenance interrupt
8329b5e8c6cf Bluetooth: Properly check L2CAP config option output buffer length
99dc1296b47c rt2800: fix TX_PIN_CFG setting for non MT7620 chips
2bce0fe7d0cd KVM: SVM: Limit PFERR_NESTED_GUEST_PAGE error_code check to L1 guest
9d6412aa06ce ALSA: msnd: Optimize / harden DSP and MIDI loops
846073130799 mm/memory.c: fix mem_cgroup_oom_disable() call missing
46791eb9f13e mm/swapfile.c: fix swapon frontswap_map memory leak on error
637f25e5ba94 mm: kvfree the swap cluster info if the swap file is unsatisfactory
58989dc3af0d selftests/x86/fsgsbase: Test selectors 1, 2, and 3
9ed3dc1c0431 radix-tree: must check __radix_tree_preload() return value
0af760ab3882 rtlwifi: btcoexist: Fix breakage of ant_sel for rtl8723be
8004198bb025 btrfs: resume qgroup rescan on rw remount
9a5537a76b62 nvme-fabrics: generate spec-compliant UUID NQNs
02c54b35cad8 mtd: nand: qcom: fix config error for BCH
f2339a072e47 mtd: nand: qcom: fix read failure without complete bootchain
71515c37777d mtd: nand: mxc: Fix mxc_v1 ooblayout
c54a31845019 mtd: nand: hynix: add support for 20nm NAND chips
2b8b46b24217 mtd: nand: make Samsung SLC NAND usable again
(From OE-Core rev: e611aef364647a0711d0438247ce42555409c62c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating features and new configurations for the 4.12 kernel.
With this update, a CGL-ready kernel can be configured out of
the box.
(From OE-Core rev: 43c5846e22d246dde314657dbf90f9752b06a54c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Feeding the output of /dev/urandom into /dev/random is pretty much insane
and not something we should encourage.
I can't really imagine a scenario where this would be a sensible idea since
/dev/urandom if effectively derived from /dev/random.
This changes the tool to default to /dev/hwrng which makes much more sense,
feeding hardware entropy into the random pool. In the QEMU case, this will
feed entropy from the host into the guests which is also what we want.
Yes, this change will cause rngd not to start if /dev/hwrng isn't present,
but it isn't needed if that isn't so I don't see this as a bad thing.
(https://wiki.archlinux.org/index.php/Rng-tools has a section in red which
agrees with the above, "this is a really bad idea, since you are simple
filling the kernel entropy pool with entropy coming from the kernel itself!")
(From OE-Core rev: f1dc9ac46710814c27cae2d22e79c84a9522993a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intent of the env setup scripts is to set BBPATH to point at the
build directory. This means if the user changes directory, bitbake can
still find the original build directory. The default bblayers.conf files
reset BBPATH to the correct components so this is safe and restores the
behaviour the script was intended to have.
[YOCTO #12163]
(From OE-Core rev: 82eeb934997c9eaa6443079dfb649a89872a222c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if you run bitbake in an invalid directory, the user experience
is poor:
birbake/lib/bb/main.py", line 427, in setup_bitbake
topdir, lock = lockBitbake()
File "./bitbake/lib/bb/main.py", line 494, in lockBitbake
lockfile = topdir + "/bitbake.lock"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
This ensures we exit straight away with a better error message.
[YOCTO #12163]
(Bitbake rev: 562f9ee674a8b392437096422b9cceab9c3cba2e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Python 3.6, glob.glob() was reimplemented to use os.scandir() (which
itself appeared in Python 3.5), thus our monkey patching of os.listdir()
here was no longer effective. The end result was not only that bitbake
wouldn't notice added recipes or bbappends with BB_SERVER_TIMEOUT set
when being run with Python 3.6 (the shipped Python version on Fedora 26
and some other distribution versions), it also broke devtool modify,
devtool upgrade and devtool extract since they rely on the ability to
create a bbappend on the fly and have bitbake pick it up.
To fix it, do the same monkey patching for os.scandir(), which needs to
be conditional upon that actually existing since we have to support
Python 3.4 that doesn't have it. Long term we should probably look for a
better way to handle this that doesn't involve monkey patching Python
library code.
Fixes [YOCTO #12185].
(Bitbake rev: d02e90db32e7ee341c2ba3be79b0627d8796bdd6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
@@ -17,7 +17,7 @@ from multiprocessing import Lock
from threading import Thread
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
# Users shouldn't be running this code directly
if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"):
parser_remove_layer.add_argument('layerdir',help='Layer directory to remove (wildcards allowed, enclose in quotes to avoid shell expansion)')
parser_remove_layer.add_argument('layerdir',nargs='+',help='Layer directory/directories to remove (wildcards allowed, enclose in quotes to avoid shell expansion)')
parser_show_recipes.add_argument('-f','--filenames',help='instead of the default formatting, list filenames of higher priority recipes with the ones they overlay indented underneath',action='store_true')
parser_show_recipes.add_argument('-m','--multiple',help='only list where multiple recipes (in the same layer or different layers) exist for the same recipe name',action='store_true')
parser_show_recipes.add_argument('-i','--inherits',help='only list recipes that inherit the named class',metavar='CLASS',default='')
parser_show_recipes.add_argument('pnspec',nargs='?',help='optional recipe name specification (wildcards allowed, enclose in quotes to avoid shell expansion)')
parser_show_recipes.add_argument('-i','--inherits',help='only list recipes that inherit the named class(es) - separate multiple classes using , (without spaces)',metavar='CLASS',default='')
parser_show_recipes.add_argument('pnspec',nargs='*',help='optional recipe name specification (wildcards allowed, enclose in quotes to avoid shell expansion)')
parser_show_appends.add_argument('pnspec',nargs='?',help='optional recipe name specification (wildcards allowed, enclose in quotes to avoid shell expansion)')
parser_show_appends.add_argument('pnspec',nargs='*',help='optional recipe name specification (wildcards allowed, enclose in quotes to avoid shell expansion)')
@@ -167,7 +171,7 @@ class LocalhostBEController(BuildEnvironmentController):
ifos.path.exists(localdirname):
try:
localremotes=self._shellcmd("git remote -v",
localdirname)
localdirname,env=git_env)
ifnotgiturlinlocalremotesandcommit!='HEAD':
raiseBuildSetupException("Existing git repository at %s, but with different remotes ('%s', expected '%s'). Toaster will not continue out of fear of damaging something."%(localdirname,", ".join(localremotes.split("\n")),giturl))
exceptShellCmdException:
@@ -177,18 +181,18 @@ class LocalhostBEController(BuildEnvironmentController):
else:
ifgiturlincached_layers:
logger.debug("localhostbecontroller git-copying %s to %s"%(cached_layers[giturl],localdirname))
<p>A web interface to <ahref="http://www.openembedded.org">OpenEmbedded</a> and <ahref="http://www.yoctoproject.org/tools-resources/projects/bitbake">BitBake</a>, the <ahref="http://www.yoctoproject.org">Yocto Project</a> build system.</p>
<title>Creating a new BSP Layer Using the <filename>bitbake-layers</filename> Script</title>
<para>
The <filename>yocto-bsp</filename> script creates a new
<linklinkend='bsp-layers'>BSP layer</link> for any architecture supported
by the Yocto Project, as well as QEMU versions of the same.
The default mode of the script's operation is to prompt you for information needed
to generate the BSP layer.
<pararole='writernotes'>
I have put in information that will be the basis of this section,
but it is missing a lot at this point.
This whole section needs reviewed and filled in with proper
information.
</para>
<para>
For the current set of BSPs, the script prompts you for various important
parameters such as:
[INTRODUCE THE PROCEDURE AND LINK BACK TO <linklinkend='bsp-layers'>BSP layer</link>.
IF THERE IS A LAUNDRY LIST OF ITEMS THAT NEED DEFINITION OR GET SET
UP AS A RESULT OF THIS PROCEDURE, LIST THEM HERE.]
<itemizedlist>
<listitem><para>The kernel to use</para></listitem>
<listitem><para>The branch of that kernel to use (or re-use)</para></listitem>
<listitem><para>Whether or not to use X, and if so, which drivers to use</para></listitem>
<listitem><para>Whether to turn on SMP</para></listitem>
<listitem><para>Whether the BSP has a keyboard</para></listitem>
<listitem><para>Whether the BSP has a touchscreen</para></listitem>
<listitem><para>Remaining configurable items associated with the BSP</para></listitem>
<listitem><para>[PAREMETER 1]</para></listitem>
<listitem><para>[PARAMETER 2]</para></listitem>
<listitem><para>[PARAMETER 3]</para></listitem>
<listitem><para>[PARAMETER 4]</para></listitem>
<listitem><para>[PARAMETER 5]</para></listitem>
<listitem><para>[PARAMETER 6]</para></listitem>
<listitem><para>[PARAMETER 7]</para></listitem>
</itemizedlist>
</para>
<para>
You use the <filename>yocto-bsp create</filename> sub-command to create
a new BSP layer.
This command requires you to specify a particular kernel architecture
(<filename>karch</filename>) on which to base the BSP.
Assuming you have sourced the environment, you can use the
<filename>yocto-bsp list karch</filename> sub-command to list the
architectures available for BSP creation as follows:
<literallayoutclass='monospaced'>
$ yocto-bsp list karch
Architectures available:
powerpc
x86_64
i386
arm
qemu
mips
mips64
</literallayout>
The following procedure creates a BSP layer:
<itemizedlist>
<listitem><para>
<emphasis>Create General Layer:</emphasis>
Use the <filename>bitbake-layers</filename> script with the
<filename>create-layer</filename> subcommand to create a
new general layer.
For instructions on how to create a generallayer using the
<filename>bitbake-layers</filename> script, 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></listitem>
<listitem><para>
<emphasis>Create a Machine Configuration File:</emphasis>
Create a <filename>conf/machine/>machine<.conf</filename>
file.
See <filename>meta-yocto-bsp/conf/machine</filename> for sample
This section describes the steps you perform by hand to create
a layer so that you can better understand them.
For information about the layer-creation scripts, see the
"<ulinkurl='&YOCTO_DOCS_BSP_URL;#creating-a-new-bsp-layer-using-the-yocto-bsp-script'>Creating a New BSP Layer Using the yocto-bsp Script</ulink>"
"<ulinkurl='&YOCTO_DOCS_BSP_URL;#creating-a-new-bsp-layer-using-the-bitbake-layers-script'>Creating a New BSP Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section in the Yocto Project Board Support Package (BSP)
Developer's Guide and the
"<linklinkend='creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</link>"
The default mode of the script's operation with this
subcommand is to create a layer with the following:
@@ -3522,8 +3525,9 @@
<para>
For a complete example that shows how to add a new machine,
see the
"<ulinkurl='&YOCTO_DOCS_BSP_URL;#creating-a-new-bsp-layer-using-the-yocto-bsp-script'>Creating a New BSP Layer Using the yocto-bsp Script</ulink>"
section in the Yocto Project Board Support Package (BSP) Developer's Guide.
"<ulinkurl='&YOCTO_DOCS_BSP_URL;#creating-a-new-bsp-layer-using-the-bitbake-layers-script'>Creating a New BSP Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section in the Yocto Project Board Support Package (BSP)
BBCLASSEXTEND[doc] = "Allows you to extend a recipe so that it builds variants of the software. Common variants for recipes are 'native', 'cross', 'nativesdk' and multilibs."
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/dev-manual\/dev-manual.html\" target=\"_top\">Yocto Project Development Tasks Manual<\/a>/Yocto Project Development Tasks Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/sdk-manual\/sdk-manual.html\" target=\"_top\">Yocto Project Software Development Kit (SDK) Developer's Guide<\/a>/Yocto Project Software Development Kit (SDK) Developer's Guide/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/bsp-guide\/bsp-guide.html\" target=\"_top\">Yocto Project Board Support Package (BSP) Developer's Guide<\/a>/Yocto Project Board Support Package (BSP) Developer's Guide/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/profile-manual\/profile-manual.html\" target=\"_top\">Yocto Project Profiling and Tracing Manual<\/a>/Yocto Project Profiling and Tracing Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/kernel-dev\/kernel-dev.html\" target=\"_top\">Yocto Project Linux Kernel Development Manual<\/a>/Yocto Project Linux Kernel Development Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/toaster-manual\/toaster-manual.html\" target=\"_top\">Toaster User Manual<\/a>/Toaster User Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.5\/dev-manual\/dev-manual.html\" target=\"_top\">Yocto Project Development Tasks Manual<\/a>/Yocto Project Development Tasks Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.5\/sdk-manual\/sdk-manual.html\" target=\"_top\">Yocto Project Software Development Kit (SDK) Developer's Guide<\/a>/Yocto Project Software Development Kit (SDK) Developer's Guide/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.5\/bsp-guide\/bsp-guide.html\" target=\"_top\">Yocto Project Board Support Package (BSP) Developer's Guide<\/a>/Yocto Project Board Support Package (BSP) Developer's Guide/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.5\/profile-manual\/profile-manual.html\" target=\"_top\">Yocto Project Profiling and Tracing Manual<\/a>/Yocto Project Profiling and Tracing Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.5\/kernel-dev\/kernel-dev.html\" target=\"_top\">Yocto Project Linux Kernel Development Manual<\/a>/Yocto Project Linux Kernel Development Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.5\/toaster-manual\/toaster-manual.html\" target=\"_top\">Toaster User Manual<\/a>/Toaster User Manual/g
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.