aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2017-12-04systemd: remove useless options for mips4Chen Qi
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. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04rpm: remove --sysroot from macros on targetJoe Slater
We do not want to specify --sysroot when defining __cc used on a target. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04libsolv: fix a kernel-devsrc installation issueMing Liu
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. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04grub_2.02.bb: improve reproducibilityJuro Bystricky
Remove several build host references from modinfo.sh files. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04python: add PACKAGECONFIG for Berkeley DB moduleRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04db: change types to avoid headers changing between architecturesRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04bash-completion: remove rfkill file that util-linux providesChen Qi
Remove the rfkill bash completion file that util-linux provides to avoid conflicts. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04sshcontrol.py: in copy_to() always use scpErik Botö
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] 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: Armin Kuster <akuster@mvista.com>
2017-12-04masterimage.py: rename parameter "params" in start() to "extra_bootparams"Erik Botö
This matches how it is called, and how it is named in qmeu target. [YOCTO #11524] 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: Armin Kuster <akuster@mvista.com>
2017-12-04masterimage.py: fix stop()Erik Botö
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] 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: Armin Kuster <akuster@mvista.com>
2017-12-04masterimage.py: fix issue with calling reboot on masterimage/DUTErik Botö
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] 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: Armin Kuster <akuster@mvista.com>
2017-12-04selftest/imagefeatures: add basic test for useradd-staticidsRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04oeqa/core/loader: Make _built_modules_dict() support packages correctlyPeter Kjellerstedt
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. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04oeqa/selftest/runtime_test: use console in postinst_rootfs_and_bootRoss Burton
Use a console login not SSH for simplicity. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04image.bbclass: let do_image depend on do_populate_lic of EXTRA_IMAGEDEPENDSMing Liu
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. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04externalsrc: fix ExpansionError if the source dir does not exist yetLuca Ceresoli
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 3ca6085729d9 ("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. 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: Armin Kuster <akuster@mvista.com>
2017-12-04image.bbclass: Fix 'vardepsexclude' mechanism for image_cmd_${FSTYPE}Igor Romanov
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. Signed-off-by: Igor Romanov <i.romanov@inango-systems.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04useradd-staticids: explain how to fix the the problemPatrick Ohly
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. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04useradd-staticids: skip recipes without static IDsPatrick Ohly
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. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04feature-arm-vfp.inc: drop unnecessary extra space from TUNE_CCARGSAndre McCurdy
The trailing space added to TUNE_CCARGS when appending -mfpu=XXX is unnecessary and leads to a double space in the final value. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04maintainers.inc: update maintainershipYi Zhao
Reassign Dengke's recipes to Yi Zhao. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04oeqa/selftest/runtime_test: fix postinst_rootfs_and_bootRoss Burton
This test overrides IMAGE_FEATURES but failed to include package-management, which is essential for postinsts to work under dpkg. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04lib/oe/sstatesig: fix wildcard matching wrong task signature filesPaul Eggleton
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]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04nativesdk-packagegroup-sdk-host: remove redundant LICENSERobert Berger
*) 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 Signed-off-by: Robert Berger <robert.berger@ReliableEmbeddedSystems.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04oeqa/selftest/runtime: force empty root password, use helpers to access qemuRoss Burton
Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04goarch: There is no GOARCH defined for mips64-n32Joe Slater
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. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04kexec-tools: add systemd support for kdumpWenlin Kang
Add file kdump.service to support kdump in systemd. Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
2017-12-04lib/oe/terminal.py: use an absolute path to execute oe-gnome-terminal-phonehomeMing Liu
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. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2117c148ef07d84bc605768e3b3671b0126b9337) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04useradd.bbclass: print a warn when useradd not foundRobert Yang
Exit quietly makes it very hard for debugging when user is not added as expected, print a warning helps a lot. 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> (cherry picked from commit 057885ed6f22781960bce4e082e3aa96e126764c) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04bind: Convert from ftp to https urlsRichard Purdie
The ftp protocol is dated and problematic. Since https is available, lets use that instead, making new users chances of successful builds higher. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f24a29fcba98ceff08c13b0f029be93995f1deed) Fix merge conflict do to version diff Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04tzdata: update 2017cArmin Kuster
LICENSE changed do to rewording https://github.com/eggert/tz/commit/7097a652778d35acf747d14f8bf7b3ced479bbc0#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. Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 77a8256d9cbfe24d470aac9b4cc2910a41ca0ee8) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04tzcode-native: update to 2017cArmin Kuster
LICENSE changes do to rewording https://github.com/eggert/tz/commit/7097a652778d35acf747d14f8bf7b3ced479bbc0#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.) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 74af497f8d6b4e28d97c0f2cdb4ece90c2a6b8b5) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04qemurunner: fix bad indentation in serial loginRoss Burton
(cherry picked from commit c4f57aed7a29000067c63a2821fddf18a88a23ce) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04util-linux-ptest: various fixesJuro Bystricky
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] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit f5198af37a5357a1758b50668b67f1c552982507) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04curl: Security Advisory - curl - CVE-2017-1000254Li Zhou
Porting patch from <https://github.com/curl/curl/commit/ 5ff2c5ff25750aba1a8f64fbcad8e5b891512584> to solve CVE-2017-1000254. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 08f8d5db06647b94f96d655100c358047682dd2f) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04mdadm: Fix build with gcc < 7Khem Raj
Do not rely on build host gcc for "implicit-fallthrough" support we need to check the CC for it Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit b36100bb3077947361c858f891eb15a76013671e) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04openssl: force soft link to avoid rare raceRandy MacLeod
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. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit c60288aba70635238094c6b813228b31e0715db9) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04nettle-ptest: fix a failing testJuro Bystricky
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. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit f12d493418417c8529a97c7a768e4af58ea5c91b) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04gawk-ptest: fix a failing testJuro Bystricky
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. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 3e6bbb81d143919e37cea1549220d27df22080fe) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04tcl: remove host path from tclConfig.shWenzong Fan
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. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit ced5618e7b3459fdd96f448ccdb55b5ced6d8214) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04elfutils: Fix missing library on linker cmdlineKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 0caa41cf9692ac2cdf62b31cda8edd8241198697) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04perl-native: Provide correct lddlflagsNikolay Merinov
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. Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 118f42fa92c29269395c53c931fa174ece1af2e0) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04curl: add 'enable-ares' packageconfig optionJavier Viguera
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). Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 4fe0aa3791db0ee6c85e7a068f69def6e7c0da46) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04linux-yocto/4.12: ide:ide-cd: fix kernel panic resulting from missing ↵Bruce Ashfield
scsi_req_init 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> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 089dc30e11a5bbd10bf6bebea6aa0ac2173bc9a3) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04linux-yocto/4.12: configuration fragment updatesBruce Ashfield
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) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5135d7c88bd1c50b7462d3f219d778e4a33b2995) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04linux-yocto/4.9: update to v4.9.57Bruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit afbe1ecd2412c7464ba805223058ab416553b250) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04kern-tools: make fuzzy matching optionalBruce Ashfield
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. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f60d050fef2e4ac592bb5554e74b9573e3570d0f) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04linux-yocto/4.12: stable backports and bug fixesBruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1027bfffb3d6118a43c5697f36b30dd8e4ae3f96) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04linux-yocto/4.12: update to v4.12.14Bruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e611aef364647a0711d0438247ce42555409c62c) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-04linux-yocto/4.4: update to v4.4.93Bruce Ashfield
Integrating the korg -stable updates that comprise the following shortlogs: e1fe3813117f Linux 4.4.93 ad505a7b4fb0 x86/alternatives: Fix alt_max_short macro to really be a max() 208563455aac USB: serial: console: fix use-after-free after failed setup 6c14436b5e84 USB: serial: qcserial: add Dell DW5818, DW5819 34592e06c7af USB: serial: option: add support for TP-Link LTE module ac22f49fb845 USB: serial: cp210x: add support for ELV TFD500 b1f5a26964bf USB: serial: ftdi_sio: add id for Cypress WICED dev board 399c46095eb5 fix unbalanced page refcounting in bio_map_user_iov f3b538493e66 direct-io: Prevent NULL pointer access in submit_page_section ac94abbb7941 usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options 16c1ef65f4db ALSA: line6: Fix leftover URB at error-path during probe 5b01343ad1bd ALSA: caiaq: Fix stray URB at probe error path ca2523c9c569 ALSA: seq: Fix copy_from_user() call inside lock 23709ae9b614 ALSA: seq: Fix use-after-free at creating a port dc7c3bd09c7d ALSA: usb-audio: Kill stray URB at exiting 050c4bbc09f1 iommu/amd: Finish TLB flush in amd_iommu_unmap() eb7f31673bbc usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet 6a92b9997028 KVM: nVMX: fix guest CR4 loading when emulating L2 to L1 exit 03bd90fc82e4 crypto: shash - Fix zero-length shash ahash digest crash 2929cb995378 HID: usbhid: fix out-of-bounds bug e7485f0f6a7b dmaengine: edma: Align the memcpy acnt array size with the transfer 29b202ebf599 MIPS: math-emu: Remove pr_err() calls from fpu_emu() 2fff3c5c2be7 USB: dummy-hcd: Fix deadlock caused by disconnect detection 5fd45516595a rcu: Allow for page faults in NMI handlers 45bd4e408040 iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD 6a6c61d8467d nl80211: Define policy for packet pattern attributes f2bb4bcc0411 CIFS: Reconnect expired SMB sessions bd36826958de ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets 6721969c7b8a brcmfmac: add length check in brcmf_cfg80211_escan_handler() 69f53f5d37d5 Linux 4.4.92 82854fb438ca ext4: don't allow encrypted operations without keys 4f22f0793cce ext4: Don't clear SGID when inheriting ACLs 40c00e5fac3a ext4: fix data corruption for mmap writes 90fd6738731b sched/cpuset/pm: Fix cpuset vs. suspend-resume bugs 6d1400b09f99 nvme: protect against simultaneous shutdown invocations 33d1fa43aad4 drm/i915/bios: ignore HDMI on port A b8af4466255c brcmfmac: setup passive scan if requested by user-space ee5bd0e4e69f uwb: ensure that endpoint is interrupt 5a21af11c681 uwb: properly check kthread_run return value 8b4196420dd6 iio: adc: mcp320x: Fix oops on module unload 18215da0c241 iio: adc: mcp320x: Fix readout of negative voltages f2f68ec0b284 iio: ad7793: Fix the serial interface reset 2c29a3868090 iio: core: Return error for failed read_reg b86df98578ab staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack. 4b9c62a00aea iio: ad_sigma_delta: Implement a dedicated reset function 0bab54141bac iio: adc: twl4030: Disable the vusb3v1 rugulator in the error handling path of 'twl4030_madc_probe()' 0141f858d2e1 iio: adc: twl4030: Fix an error handling path in 'twl4030_madc_probe()' 4590ed795f0c xhci: fix finding correct bus_state structure for USB 3.1 hosts 13713e63bdb3 USB: fix out-of-bounds in usb_set_configuration ddcbaf853dc5 usb: Increase quirk delay for USB devices feab51a916ed USB: core: harden cdc_parse_cdc_header 5d9a9c3dcc1f USB: uas: fix bug in handling of alternate settings 9e78ac87626a scsi: sd: Do not override max_sectors_kb sysfs setting fc29713fa7c7 iwlwifi: add workaround to disable wide channels in 5GHz 146a9dc99025 HID: i2c-hid: allocate hid buffers for real worst case 87509592ecc3 ftrace: Fix kmemleak in unregister_ftrace_graph 60623d7ca38d stm class: Fix a use-after-free c85e9442f9e4 Drivers: hv: fcopy: restore correct transfer length 2b91a52e1569 driver core: platform: Don't read past the end of "driver_override" buffer 6d1bc9ee4c2d ALSA: usx2y: Suppress kernel warning at page allocation failures 8cff1556ddbc ALSA: compress: Remove unused variable dd1f96a0a72c lsm: fix smack_inode_removexattr and xattr_getsecurity memleak a44be3e548e4 USB: g_mass_storage: Fix deadlock when driver is unbound 2efab2c3a3ae usb: gadget: mass_storage: set msg_registered after msg registered b74a45450f80 USB: devio: Don't corrupt user memory e84b4a008365 USB: dummy-hcd: Fix erroneous synchronization change d1a0787b5a24 USB: dummy-hcd: fix infinite-loop resubmission bug d25a65e03f18 USB: dummy-hcd: fix connection failures (wrong speed) da358168126b usb: pci-quirks.c: Corrected timeout values used in handshake 46c7b1fa4911 ALSA: usb-audio: Check out-of-bounds access by corrupted buffer descriptor ccc6a475800d usb: renesas_usbhs: fix usbhsf_fifo_clear() for RX direction a7131ed81805 usb: renesas_usbhs: fix the BCLR setting condition for non-DCP pipe e85bd5be6088 usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives 86377bf33089 usb: gadget: udc: atmel: set vbus irqflags explicitly f72264e79ae7 USB: gadgetfs: fix copy_to_user while holding spinlock d20fff0b09d9 USB: gadgetfs: Fix crash caused by inadequate synchronization c2eb312f3137 usb: gadget: inode.c: fix unbalanced spin_lock in ep0_write c030c36a88cd Linux 4.4.91 2536c20e8285 ttpci: address stringop overflow warning 2b2bfb537be4 ALSA: au88x0: avoid theoretical uninitialized access d32ee7026081 ARM: remove duplicate 'const' annotations' 7cad91f22d5e IB/qib: fix false-postive maybe-uninitialized warning 13af23e01812 drivers: firmware: psci: drop duplicate const from psci_of_match f6c8c71cc901 libata: transport: Remove circular dependency at free time 0185496a115d xfs: remove kmem_zalloc_greedy 088b9a41b605 i2c: meson: fix wrong variable usage in meson_i2c_put_data cb07496eab43 md/raid10: submit bio directly to replacement disk 13099ee9c7d5 rds: ib: add error handle 9bcd5ceef96e iommu/io-pgtable-arm: Check for leaf entry before dereferencing it cadfa3a688d2 parisc: perf: Fix potential NULL pointer dereference 4203f2a73882 netfilter: nfnl_cthelper: fix incorrect helper->expect_class_max fa029020bddd exynos-gsc: Do not swap cb/cr for semi planar formats 8bd7216d3386 MIPS: IRQ Stack: Unwind IRQ stack onto task stack f7f46b3ba20d netfilter: invoke synchronize_rcu after set the _hook_ to NULL e29066778bc2 bridge: netlink: register netdevice before executing changelink 1b760fdad9f0 mmc: sdio: fix alignment issue in struct sdio_func e1e99dc319cc usb: plusb: Add support for PL-27A1 4212115da67b team: fix memory leaks fa63895f47c9 net/packet: check length in getsockopt() called with PACKET_HDRLEN b9ff317b5cd4 net: core: Prevent from dereferencing null pointer when releasing SKB 4e6cdc0a7dec MIPS: Lantiq: Fix another request_mem_region() return code check c5710390cc76 ASoC: dapm: fix some pointer error handling 7b8c9e6e0fca usb: chipidea: vbus event may exist before starting gadget 093fe104c5bb audit: log 32-bit socketcalls af3749456042 ASoC: dapm: handle probe deferrals 8e8c3d4bb629 partitions/efi: Fix integer overflow in GPT size calculation abbccd855753 USB: serial: mos7840: fix control-message error handling 0d1b459a0baf USB: serial: mos7720: fix control-message error handling 8b2522eb44ae drm/amdkfd: fix improper return value on error bf184ddd2180 IB/ipoib: Replace list_del of the neigh->list with list_del_init f1d53c6d4843 IB/ipoib: rtnl_unlock can not come after free_netdev 9326a1374b13 IB/ipoib: Fix deadlock over vlan_mutex 01b3db29ba1e tty: goldfish: Fix a parameter of a call to free_irq f97c79e83f7e ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM 89642710fdb3 iio: adc: hx711: Add DT binding for avia,hx711 a1f7b8ff496d iio: adc: axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications 297b8b01ec27 hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes d89f41c20f32 sh_eth: use correct name for ECMR_MPDE bit effdf2b134d5 extcon: axp288: Use vbus-valid instead of -present to determine cable presence 5603b10236da igb: re-assign hw address pointer on reset after PCI error 1c3ef07eb8eb MIPS: ralink: Fix incorrect assignment on ralink_soc 1e35a2adc078 MIPS: Ensure bss section ends on a long-aligned address b00cfc01e70f ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for msiof nodes 6a501bddeba3 RDS: RDMA: Fix the composite message user notification d4f97441cb88 GFS2: Fix reference to ERR_PTR in gfs2_glock_iter_next 11bf4a8e1d5a drm: bridge: add DT bindings for TI ths8135 771dacea92cd drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define 37c2d0d3e850 Linux 4.4.90 228969b4764f fix xen_swiotlb_dma_mmap prototype 079c03f4a915 swiotlb-xen: implement xen_swiotlb_dma_mmap callback 27323cb81eae video: fbdev: aty: do not leak uninitialized padding in clk to userspace 150cd84bb6ea KVM: VMX: use cmpxchg64 90df2daa1da0 ARM: pxa: fix the number of DMA requestor lines c575be9a393f ARM: pxa: add the number of DMA requestor lines a85f176c857e dmaengine: mmp-pdma: add number of requestors 6124ed1a712a cxl: Fix driver use count 9037837e0c32 KVM: VMX: remove WARN_ON_ONCE in kvm_vcpu_trigger_posted_interrupt fc39e561e343 KVM: VMX: do not change SN bit in vmx_update_pi_irte() 5e9b526fcc90 timer/sysclt: Restrict timer migration sysctl values to 0 and 1 ddf25aea679d gfs2: Fix debugfs glocks dump d25fea066a8e x86/fpu: Don't let userspace set bogus xcomp_bv 4c16afac1875 btrfs: prevent to set invalid default subvolid 0efde43517a5 btrfs: propagate error to btrfs_cmp_data_prepare caller 9a7d93dd2cad btrfs: fix NULL pointer dereference from free_reloc_roots() b08dc7d4cfa1 PCI: Fix race condition with driver_override 21a638c5efd6 kvm: nVMX: Don't allow L2 to access the hardware CR8 7520be6a454c KVM: VMX: Do not BUG() on out-of-bounds guest IRQ e726c30c758b arm64: fault: Route pte translation faults via do_translation_fault 638e7874f682 arm64: Make sure SPsel is always set 9237605e0bfb seccomp: fix the usage of get/put_seccomp_filter() in seccomp_get_filter() 668cee82cd28 bsg-lib: don't free job in bsg_prepare_job 9d74367d1a35 nl80211: check for the required netlink attributes presence 3393445ef440 vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets 3bb7084cc031 SMB3: Don't ignore O_SYNC/O_DSYNC and O_DIRECT flags 02ef29f9cbb6 SMB: Validate negotiate (to protect against downgrade) even if signing off c096b31f9d9a Fix SMB3.1.1 guest authentication to Samba fe37a445ea3f powerpc/pseries: Fix parent_dn reference leak in add_dt_node() 638b38505045 KEYS: prevent KEYCTL_READ on negative key 539255aea88e KEYS: prevent creating a different user's keyrings af24e9d8ba1a KEYS: fix writing past end of user-supplied buffer in keyring_read() 362711d59b0c crypto: talitos - fix sha224 231c4f646b77 crypto: talitos - Don't provide setkey for non hmac hashing algs. 9d2534917c25 scsi: scsi_transport_iscsi: fix the issue that iscsi_if_rx doesn't parse nlmsg properly 29854a77f793 md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list d03d1567866e md/raid5: fix a race condition in stripe batch 68a4a5289918 tracing: Erase irqsoff trace with empty write 9c5afa726a52 tracing: Fix trace_pipe behavior for instance traces f75c0042f120 KVM: PPC: Book3S: Fix race and leak in kvm_vm_ioctl_create_spapr_tce() 7d8fbf3db169 mac80211: flush hw_roc_start work before cancelling the ROC fcc949a48842 cifs: release auth_key.response for reconnect. 10def3a67799 Linux 4.4.89 ed1bf4397d22 ftrace: Fix memleak when unregistering dynamic ops when tracing disabled a069d0a43de4 bcache: fix bch_hprint crash and improve output f522051a84e5 bcache: fix for gc and write-back race a6c5e7a0cd01 bcache: Correct return value for sysfs attach errors d9c6a28a6a1c bcache: correct cache_dirty_target in __update_writeback_rate() 0471f58e18e6 bcache: do not subtract sectors_to_gc for bypassed IO 093457f2bd32 bcache: Fix leak of bdev reference 5025da3b532b bcache: initialize dirty stripes in flash_dev_run() 4931578fbeb5 media: uvcvideo: Prevent heap overflow when accessing mapped controls 04affe4e1171 media: v4l2-compat-ioctl32: Fix timespec conversion 7498bd605840 PCI: shpchp: Enable bridge bus mastering if MSI is enabled 81306fc3dbb5 ARC: Re-enable MMU upon Machine Check exception d28e96be7c6a tracing: Apply trace_clock changes to instance max buffer 753154fcfefe ftrace: Fix selftest goto location on error d8663aa27789 scsi: qla2xxx: Fix an integer overflow in sysfs code 72896ca30a7f scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE c04996ad58ee scsi: sg: factor out sg_fill_request_table() f0cd701d4750 scsi: sg: off by one in sg_ioctl() 3682e0c61ffb scsi: sg: use standard lists for sg_requests 6b498ad14472 scsi: sg: remove 'save_scat_len' cf22210c66ca scsi: storvsc: fix memory leak on ring buffer busy b4730f456e21 scsi: megaraid_sas: Return pended IOCTLs with cmd_status MFI_STAT_WRONG_STATE in case adapter is dead d9b8f1ccbb8c scsi: megaraid_sas: Check valid aen class range to avoid kernel panic 4dd6cbbc2191 scsi: zfcp: trace high part of "new" 64 bit SCSI LUN 1e6c640a75d0 scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response 7194822422f9 scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records d0fbe221b8f1 scsi: zfcp: fix missing trace records for early returns in TMF eh handlers 1a847369487c scsi: zfcp: fix passing fsf_req to SCSI trace on TMF to correlate with HBA 52661717ee66 scsi: zfcp: fix capping of unsuccessful GPN_FT SAN response trace records d0c02c6f3e85 scsi: zfcp: add handling for FCP_RESID_OVER to the fcp ingress path cfc49967434d scsi: zfcp: fix queuecommand for scsi_eh commands when DIX enabled 19978c50db68 skd: Submit requests to firmware before triggering the doorbell 0bcaf5178fe6 skd: Avoid that module unloading triggers a use-after-free f05dafbd7791 md/bitmap: disable bitmap_resize for file-backed bitmaps. 30e81e7fe197 block: Relax a check in blk_start_queue() a918d32583e0 powerpc: Fix DAR reporting when alignment handler faults c53f01698f68 ext4: fix quota inconsistency during orphan cleanup for read-only mounts cd46241eb03c ext4: fix incorrect quotaoff if the quota feature is enabled 5e9d28b003b0 crypto: AF_ALG - remove SGL terminator indicator when chaining 9354f4d0beb0 MIPS: math-emu: MINA.<D|S>: Fix some cases of infinity and zero inputs f4d77fc754f2 MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of both infinite inputs 322bf697bdc4 MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of input values with opposite signs a83ffb581f26 MIPS: math-emu: <MAX|MIN>.<D|S>: Fix cases of both inputs negative 6acd1d26c32e MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix cases of both inputs zero b6c818d813c6 MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix quiet NaN propagation bf592dde1262 Input: i8042 - add Gigabyte P57 to the keyboard reset table c13c5c7e88d7 tty: fix __tty_insert_flip_char regression 077933dcd5ca tty: improve tty_insert_flip_char() slow path e1e6620f042c tty: improve tty_insert_flip_char() fast path c576160ff3f3 mm: prevent double decrease of nr_reserved_highatomic 6ea627b20205 nfsd: Fix general protection fault in release_lock_stateid() d5c59ee84820 md/raid5: release/flush io in raid5_do_work() e21d66048d4d x86/fsgsbase/64: Report FSBASE and GSBASE correctly in core dumps 53e5f7b8d41b f2fs: check hot_data for roll-forward recovery be9994817ad5 ipv6: fix typo in fib6_net_exit() 70479eafe3d9 ipv6: fix memory leak with multiple tables during netns destruction 9b5e5d8a0045 gianfar: Fix Tx flow control deactivation 5f529e0d7844 Revert "net: fix percpu memory leaks" 40bc5355e134 Revert "net: use lib/percpu_counter API for fragmentation mem accounting" 611a98c8eca3 tcp: initialize rcv_mss to TCP_MIN_MSS instead of 0 081be8c9efd6 Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()" 6d8c8fd1c4c7 qlge: avoid memcpy buffer overflow 354d36b746c3 ipv6: fix sparse warning on rt6i_node e51bf99be7cc ipv6: add rcu grace period before freeing fib6_node 6eb7ae1223f7 ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt() b52c9082f2eb Linux 4.4.88 ad3903434142 xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present 677a80364049 NFS: Fix 2 use after free issues in the I/O code 84478477d0b8 ARM: 8692/1: mm: abort uaccess retries upon fatal signal f7ec367c8ea7 Bluetooth: Properly check L2CAP config option output buffer length 556814701545 ALSA: msnd: Optimize / harden DSP and MIDI loops 10863607c242 locktorture: Fix potential memory leak with rw lock test 693b7f62a439 btrfs: resume qgroup rescan on rw remount f4596ead66a7 drm/bridge: adv7511: Re-write the i2c address before EDID probing e22a4308547c drm/bridge: adv7511: Switch to using drm_kms_helper_hotplug_event() 9183e45db777 drm/bridge: adv7511: Use work_struct to defer hotplug handing to out of irq context c634cecad4c1 drm/bridge: adv7511: Fix mutex deadlock when interrupts are disabled aea7e5ce4a52 drm: adv7511: really enable interrupts for EDID detection a2e71dcfb0d4 scsi: sg: recheck MMAP_IO request length with lock held 0d7592a03b8a scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE 9a4cabf3bf8b cs5536: add support for IDE controller variant 302364990c05 workqueue: Fix flag collision 966e3a2d98c1 drm/nouveau/pci/msi: disable MSI on big-endian platforms by default 4a9c294d7b1e mwifiex: correct channel stat buffer overflows 926374f5e669 dlm: avoid double-free on error path in dlm_device_{register,unregister} bf3a0acce440 Bluetooth: Add support of 13d3:3494 RTL8723BE device ca245a6414e4 rtlwifi: rtl_pci_probe: Fix fail path of _rtl_pci_find_adapter c5b8e1dd9629 Input: trackpoint - assume 3 buttons when buttons detection fails 2c65494080c9 ath10k: fix memory leak in rx ring buffer allocation 69eeacb5cd87 intel_th: pci: Add Cannon Lake PCH-LP support eb98d15d3cbe intel_th: pci: Add Cannon Lake PCH-H support 1875ed81c2b7 driver core: bus: Fix a potential double free f3584d55a8d8 staging/rts5208: fix incorrect shift to extract upper nybble 812e484133fb USB: core: Avoid race of async_completed() w/ usbdev_release() 9f1d78c62a4b usb:xhci:Fix regression when ATI chipsets detected b3e92cd7a820 usb: Add device quirk for Logitech HD Pro Webcam C920-C 6e957a81c77f USB: serial: option: add support for D-Link DWM-157 C1 f7a0f7318c27 usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e3ae1935a0e5fe0d5867250ef62ae8ffd08b5b4e) Signed-off-by: Armin Kuster <akuster808@gmail.com>