aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-03-12gcc6: enable FL_LPAE flag for armv7ve coresAndre McCurdy
The following commit added the FL_LPAE flag to FL_FOR_ARCH7VE, but neglected to also add it to the armv7ve compatible cores defined in arm-cores.def. https://github.com/gcc-mirror/gcc/commit/af2d9b9e58e8be576c53d94f30c48c68146b0c98 The result is that gcc 6.4 now refuses to allow -march=armv7ve and -mcpu=XXX to be used together, even when -mcpu is set to an armv7ve compatible core: arm-linux-gnueabi-gcc -march=armv7ve -mcpu=cortex-a7 -Werror ... error: switch -mcpu=cortex-a7 conflicts with -march=armv7ve switch [-Werror] Fix by defining flags for armv7ve compatible cores directly from FL_FOR_ARCH7VE, rather than re-creating the armv7ve flags independently by combining FL_FOR_ARCH7A with the armv7ve specific FL_THUMB_DIV and FL_ARM_DIV flags. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-03-12gcc7/gcc6: Fix unaligned STRD issue on ARMKhem Raj
Backport https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445 Fixes [YOCTO 12297] Cherry-picked from oe-core master 568227133be3f9f015679df3525f6c4f86304fd0 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 568227133be3f9f015679df3525f6c4f86304fd0) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-03-12gcc6: Upgrade to 6.4Khem Raj
Cherry-picked from oe-core master 7874fa86cb583fe6a178b95ead09430486197197 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-03-12gcc: Fix libssh_nonshared linker specs for ppc/muslKhem Raj
The change to link libssp_nonshared.a only for musl was to move spec file changes to config/linux.h under a conditional when DEFAULT_LIBC == LIBC_MUSL which worked fine for all but ppc since gcc for ppc provided its own linux.h overrides which are used. This patch duplicates the change in those headers too Cherry-picked from oe-core master 9d39168a6acfa1f289a4448271c0bf9caaea10ec Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-03-12gcc: Link libssp_nonshared.a only on musl targetsKhem Raj
glibc already provides the content for libssp_nonshared in libc_nonshared.a therefore we dont need to make it universal. This also fixed build issues on glibc when linking statically and using -fstack-protector Fixed errors like /mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libc.a(stack_chk_fail.o): In function `__stack_chk_fail': /usr/src/debug/glibc/2.26-r0/git/debug/stack_chk_fail.c:27: multiple definition of `__stack_chk_fail_local' /mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libssp_nonshared.a(libssp_nonshared_la-ssp-local.o):/usr/src/debug/gcc-runtime/7.1.0-r0/gcc-7.1.0/build.i586-bec-linux.i586-bec-linux/i586-bec-linux/libssp/../../../../../../../../work-shared/gcc-7.1.0-r0/gcc-7.1.0/libssp/ssp-local.c:47: first defined here collect2: error: ld returned 1 exit status Cherry-picked from oe-core master d71eba26850838b2878efea3f8c392a2eb2ebbfb Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-03-12gcc-runtime: Disable libitm on riscvKhem Raj
Cherry-picked from oe-core master 21caa8bcda93ce67ef58548f7b85d0569d13d0b9 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-27glibc: Update to tip of 2.26Khem Raj
This will make it easy to backport to rocko if needed after 2.27 is landed in master plus it fixes the aarch64 build issue seen with binutils 2.30 (From OE-Core rev: 774e372d95c9082766477ea6dbfcd10c48ac4658) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [fixup to align with rocko context] Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-27glibc: Adapt do_install_append_aarch64() for usrmergePeter Kjellerstedt
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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-27libtirpc: refresh patchesRoss Burton
(From OE-Core rev: 1b674cc1df9e919d61ad45668b0dd3221b9b3544) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-27libtirpc: stop dropping in NIS headersRoss Burton
libtirpc prior to 1.0.2 assumed that the system provided nis.h but this isn't always true. Until now we've been using a tarball of the missing files from Gentoo, but libtirpc 1.0.2 added a copy of nis.h to the sources so this isn't required anymore. (From OE-Core rev: a6e786e7c8bed33fa269aac99724df606829ec6f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-27libunwind: Fix multilib header conflict - libunwind.hJagadeesh Krishnanjanappa
libunwind.h conflicts between 32-bit and 64-bit versions This patch solves below error: -- snip -- file /usr/include/libunwind.h conflicts between attempted installs of libunwind-dev-1.2-r0.core2_64 and lib32-libunwind-dev-1.2-r0.i586 -- snip -- (From OE-Core rev: 6fdaf90fe9b8b2360f5a93752745bf248f9e289d) Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-27libmpc: fix SRC_URIOleksandr Kravchuk
(From OE-Core rev: 462021964a79a6c940cbce80a31a2ea3283e797c) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-27siteinfo: add aarch64_illp32 decodeArmin Kuster
(From OE-Core rev: 8f9d6f92edb5682a7f2012af6466dbcd19e2e422) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-27update-rc.d: QA regression.Armin Kuster
I noticed many new QA warning with arm64 mulitlib suspicious values 'initd-functions-dev' in RRECOMMENDS [multilib] I believe this is a regression via commit http://cgit.openembedded.org/openembedded-core/commit/meta/classes/update-rc.d.bbclass?id=cdcebd81c872cb7386c658998e27cf24e1d0447c (From OE-Core rev: 223119dc96d2e37e3788df630d1995bf56dc156a) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-27webkitgtk_2.18.6.bb: Fix configure failure for aarch64 buildManjukumar Matha
Fix configure failure for aarch64 | -- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed | -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always | -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always -Success | CMake Error at Source/cmake/OptionsCommon.cmake:42 (WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG): | Unknown CMake command "WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG". | Call Stack (most recent call first): | Source/cmake/WebKitCommon.cmake:58 (include) | CMakeLists.txt:166 (include) (From OE-Core rev: 86b38c9b1def872a5bbabb842e33a12eb83b275c) Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-27eglinfo-fb: Pass -DMESA_EGL_NO_X11_HEADERS to cxxflagsKhem Raj
This helps in compiling on graphics drivers which use this define to differentiate between eglfs and x11 headers e.g. mali or mesa (From OE-Core rev: 2638482c3b2a5766d2a1377a589245664140e270) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-27openssl: remove patch from 1.0.2m left behind after update to 1.0.2nDenys Dmytriyenko
(From OE-Core rev: 2ccbd281c267d93ab1af854f603f988fc8dd0231) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-27p11-kit: take source code from official gitAlexander Kanavin
The previous tarball URI seems to be gone. Also, adjust a few things to make it actually build; handling autotools-based projects from git checkouts is always harder than taking them from tarballs :-( (From OE-Core rev: b4542e867d54c56e6ef088fac28ae3d5e6c0d7bc) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-20linux-yocto/4.12: fix qemuarm64 boot failureBruce Ashfield
The -stable update to 4.12 needs one more commit to fix the boot of qemuarm64. This will be part of the next 4.12 -stable series, but for now, we merge the patch directly. 40146055677a mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-20kernel-yocto/4.9: update to v4.9.82Bruce Ashfield
Updating to the korg -stable release of 4.9.82 which comprises the following commits: 3e598a7089ee Linux 4.9.82 2de1085e8deb ftrace: Remove incorrect setting of glob search field df113487f844 mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy 38e3bc59e0dd ovl: fix failure to fsync lower dir a468a3749bb5 acpi, nfit: fix register dimm error handling 623c28ee02b3 ACPI: sbshc: remove raw pointer from printk() message 3169a7c06e91 drm/i915: Avoid PPS HW/SW state mismatch due to rounding 8fe7ceaf8a4e btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker 3c83fe52b5c1 lib/ubsan: add type mismatch handler for new GCC/Clang 3f8130127c0c lib/ubsan.c: s/missaligned/misaligned/ 1bb09d05a41c clocksource/drivers/stm32: Fix kernel panic with multiple timers 944723bf84d3 pktcdvd: Fix pkt_setup_dev() error path 86d408d10efd pinctrl: intel: Initialize GPIO properly when used through irqchip 10ddc77ffb92 EDAC, octeon: Fix an uninitialized variable warning 2d4e295284a9 xtensa: fix futex_atomic_cmpxchg_inatomic 71611b37cca4 alpha: fix formating of stack content 7d22d92ca6c9 alpha: fix reboot on Avanti platform 68d18e90eeec alpha: fix crash if pthread_create races with signal delivery 21f94109d0f1 signal/sh: Ensure si_signo is initialized in do_divide_error 498b8b7453a3 signal/openrisc: Fix do_unaligned_access to send the proper signal 5795b076bd7f Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version 84bf682f5342 Revert "Bluetooth: btusb: fix QCA Rome suspend/resume" 6913d1b190b9 Bluetooth: btsdio: Do not bind to non-removable BCM43341 df9658e80605 HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working 71baf27d8c2b pipe: fix off-by-one error when checking buffer limits a705c24b5d50 pipe: actually allow root to exceed the pipe buffer limits 91cebf98cd94 kernel/relay.c: revert "kernel/relay.c: fix potential memory leak" 33a4459bdef1 kernel/async.c: revert "async: simplify lowest_in_progress()" da3b224658d3 fs/proc/kcore.c: use probe_kernel_read() instead of memcpy() 1666d38f4ed6 media: cxusb, dib0700: ignore XC2028_I2C_FLUSH b2e7c63cad18 media: ts2020: avoid integer overflows on 32 bit machines d1d85ae79d5e media: dvb-frontends: fix i2c access helpers for KASAN b7f9df60f410 watchdog: imx2_wdt: restore previous timeout after suspend+resume eb10c5973eb2 ASoC: skl: Fix kernel warning due to zero NHTL entry 76376783a453 ASoC: rockchip: i2s: fix playback after runtime resume f6741799aa53 KVM: arm/arm64: Handle CPU_PM_ENTER_FAILED ba88289e7acb KVM: nVMX: Fix races when sending nested PI while dest enters/leaves L2 51e22c571fad arm: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls 68f2013e1ff8 crypto: sha512-mb - initialize pending lengths correctly a96e82079025 crypto: caam - fix endless loop when DECO acquire fails f2d4bed9eabf media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic 437c4ec62efb media: v4l2-compat-ioctl32.c: don't copy back the result for certain errors 30dcb0756b0f media: v4l2-compat-ioctl32.c: drop pr_info for unknown buffer type 30ac343c4222 media: v4l2-compat-ioctl32.c: copy clip list in put_v4l2_window32 55e3f3e6846c media: v4l2-compat-ioctl32: Copy v4l2_window->global_alpha 8465657a3be4 media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs 9a7cd41be3ad media: v4l2-compat-ioctl32.c: fix ctrl_is_pointer eec955463de3 media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32 daff4d009f4f media: v4l2-compat-ioctl32.c: avoid sizeof(type) 81e0acf07015 media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32 02129c9bc235 media: v4l2-compat-ioctl32.c: fix the indentation f294548da645 media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF e78d9fdf5ecc media: v4l2-ioctl.c: don't copy back the result for -ENOTTY daaa81c48402 nsfs: mark dentry with DCACHE_RCUACCESS b93728341fb7 crypto: poly1305 - remove ->setkey() method 45f31106baa3 crypto: mcryptd - pass through absence of ->setkey() c1ebf9f83547 crypto: cryptd - pass through absence of ->setkey() d2b492bda560 crypto: hash - introduce crypto_hash_alg_has_setkey() 016572d31d32 ahci: Add Intel Cannon Lake PCH-H PCI ID 72c0031a914e ahci: Add PCI ids for Intel Bay Trail, Cherry Trail and Apollo Lake AHCI 3332b6f3276b ahci: Annotate PCI ids for mobile Intel chipsets as such 058d13f85da6 kernfs: fix regression in kernfs_fop_write caused by wrong type b79d8854ee0e NFS: Fix a race between mmap() and O_DIRECT 967f650f8835 NFS: reject request for id_legacy key without auxdata ca2c316f7cb4 NFS: commit direct writes even if they fail partially d1840343f948 NFS: Add a cond_resched() to nfs_commit_release_pages() e1df8c682df6 nfs/pnfs: fix nfs_direct_req ref leak when i/o falls back to the mds 298dc6c6696b ubifs: Massage assert in ubifs_xattr_set() wrt. init_xattrs de14d0c124ca ubi: block: Fix locking for idr_alloc/idr_remove 84f9d8536c8b ubi: fastmap: Erase outdated anchor PEBs during attach 44ebd641be56 mtd: nand: sunxi: Fix ECC strength choice d80cd3e93653 mtd: nand: Fix nand_do_read_oob() return value d25d52ff1011 mtd: nand: brcmnand: Disable prefetch by default cbdabc7027b1 mtd: cfi: convert inline functions to macros 198a7ddaf5d2 media: hdpvr: Fix an error handling path in hdpvr_probe() f320dd20224c media: dvb-usb-v2: lmedm04: move ts2020 attach to dm04_lme2510_tuner 1ff1353a03c6 media: dvb-usb-v2: lmedm04: Improve logic checking of warm start 7e2fb808d3c7 dccp: CVE-2017-8824: use-after-free in DCCP code a384e5437f70 sched/rt: Up the root domain ref count when passing it around via IPIs 1c679981309b sched/rt: Use container_of() to get root domain in rto_push_irq_work_func() 57ddb8eae517 usb: gadget: uvc: Missing files for configfs interface 0b376535ad54 posix-timer: Properly check sigevent->sigev_notify 83946c33b9b9 kaiser: fix compile error without vsyscall 297c7cc4b565 dmaengine: dmatest: fix container_of member in dmatest_callback 7e68916c361a CIFS: zero sensitive data when freeing f59eda16646a cifs: Fix autonegotiate security settings mismatch ee6858f72a39 cifs: Fix missing put_xid in cifs_file_strict_mmap ba4f9c192d3b powerpc/pseries: include linux/types.h in asm/hvcall.h 7f3bd8db9974 Linux 4.9.81 2760f452a718 x86/microcode: Do the family check first 230ca8fb9515 drm: rcar-du: Fix race condition when disabling planes at CRTC stop 758e22acf4fd drm: rcar-du: Use the VBK interrupt for vblank events 1cb145c67260 ASoC: rsnd: avoid duplicate free_irq() 24978c21f7ed ASoC: rsnd: don't call free_irq() on Parent SSI a7de0e9718c3 ASoC: simple-card: Fix misleading error message 7c17a1e5852a crypto: tcrypt - fix S/G table for test_aead_speed() fc00dde96099 KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL e5a83419c957 KVM/VMX: Allow direct access to MSR_IA32_SPEC_CTRL 755502f810c6 KVM/VMX: Emulate MSR_IA32_ARCH_CAPABILITIES 7013129a4034 KVM/x86: Add IBPB support 6236b782eba3 KVM: VMX: make MSR bitmaps per-VCPU ff546f9d83d3 KVM: VMX: introduce alloc_loaded_vmcs 46e24dfc2dfe KVM: nVMX: Eliminate vmcs02 pool b7649e177670 KVM: nVMX: mark vmcs12 pages dirty on L2 exit 1edccf20b9d8 KVM: nVMX: vmx_complete_nested_posted_interrupt() can't fail 19b1d4bdfe5c KVM: nVMX: kmap() can't fail 34900390e966 x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL 4b234a253e52 x86/pti: Mark constant arrays as __initconst 961cb14c615d x86/spectre: Simplify spectre_v2 command line parsing fe4333893936 x86/retpoline: Avoid retpolines for built-in __init functions eb99bd6341cb x86/kvm: Update spectre-v1 mitigation 7552556f65af x86/paravirt: Remove 'noreplace-paravirt' cmdline option cda6b6074cc6 x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel f67e05d1506a x86/spectre: Fix spelling mistake: "vunerable"-> "vulnerable" 359fde6bd0ec x86/spectre: Report get_user mitigation for spectre_v1 0781a50a30d3 nl80211: Sanitize array index in parse_txq_params c26ceec69576 vfs, fdtable: Prevent bounds-check bypass via speculative execution c3193fd49f6f x86/syscall: Sanitize syscall table de-references under speculation 398a39311c0b x86/get_user: Use pointer masking to limit speculation 065eae4be83d x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec ae75f83e79e4 x86/usercopy: Replace open coded stac/clac with __uaccess_{begin, end} e06d7bfb223e x86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec 1f03d140e2f5 x86: Introduce barrier_nospec 8c33e2d23a68 x86: Implement array_index_mask_nospec 579ef9ea20d6 array_index_nospec: Sanitize speculative array de-references 899ab2cf9138 Documentation: Document array_index_nospec f03d00ba0b47 x86/asm: Move 'status' from thread_struct to thread_info 572e50917811 x86/entry/64: Push extra regs right away d7f8d17406d6 x86/entry/64: Remove the SYSCALL64 fast path 9eedeb72c412 x86/spectre: Check CONFIG_RETPOLINE in command line parser 77d1424d2fb8 x86/retpoline: Simplify vmexit_fill_RSB() 77b3b3ee2386 x86/cpufeatures: Clean up Spectre v2 related CPUID flags 98911226d51e x86/cpu/bugs: Make retpoline module warning conditional 557cbfa22211 x86/bugs: Drop one "mitigation" from dmesg 18bc71dff630 x86/nospec: Fix header guards names 31fd9eda7f69 x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support 6c5e49150a51 x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes a8799fd14d9f x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown af57d43c908f x86/msr: Add definitions for new speculation control MSRs c26a6bea26b3 x86/cpufeatures: Add AMD feature bits for Speculation Control 40532f65cccc x86/cpufeatures: Add Intel feature bits for Speculation Control d3eba7744075 x86/cpufeatures: Add CPUID_7_EDX CPUID leaf a1745ad92f50 module/retpoline: Warn about missing retpoline in module ec86a1dad0c0 KVM: VMX: Make indirect call speculation safe fea3c9a54012 KVM: x86: Make indirect calls in emulator speculation safe 734e687d1d7b x86/retpoline: Remove the esp/rsp thunk 9692602ab850 KEYS: encrypted: fix buffer overread in valid_master_desc() 0a01ecbd23a9 b43: Add missing MODULE_FIRMWARE() 113d22965c78 media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE dd7b14c3e05e x86/microcode/AMD: Do not load when running on a hypervisor 0a9b2dec6c12 x86/asm: Fix inline asm call constraints for GCC 4.4 b671f40419bb soreuseport: fix mem leak in reuseport_add_sock() 5771415d24bf ipv6: Fix SO_REUSEPORT UDP socket with implicit sk_ipv6only fa46d1437fab cls_u32: add missing RCU annotation. b980f718f525 tcp_bbr: fix pacing_gain to always be unity when using lt_bw 73adb3b74efd vhost_net: stop device during reset owner ee46a8614204 tcp: release sk_frag.page in tcp_disconnect 5db5cabbf09d r8169: fix RTL8168EP take too long to complete driver initialization. 9f2f873d5a1c qmi_wwan: Add support for Quectel EP06 97fe899816a6 qlcnic: fix deadlock bug ce43c07fcef8 net: igmp: add a missing rcu locking section 7d3d60ef2256 ip6mr: fix stale iterator ffcf167d348e serial: core: mark port as initialized after successful IRQ change 400d3c8b0c7f kaiser: allocate pgd with order 0 when pti=off ae1fc8de51b1 x86/pti: Make unpoison of pgd for trusted boot work for real 0a61cd6caed7 kaiser: fix intel_bts perf crashes 374c84de94af ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 0ee4f5e7bbff pinctrl: pxa: pxa2xx: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 781a2d683110 auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 9fed3978c39b powerpc/64s: Allow control of RFI flush via debugfs 1f0c936f431d powerpc/64s: Wire up cpu_show_meltdown() 6aec12e1869e powerpc/powernv: Check device-tree for RFI flush settings 7db0fff62f52 powerpc/pseries: Query hypervisor for RFI flush settings 0ef9f8289edf powerpc/64s: Support disabling RFI flush with no_rfi_flush and nopti c3b82ebee6e0 powerpc/64s: Add support for RFI flush of L1-D cache 48cc95d4e4d6 powerpc/64s: Convert slb_miss_common to use RFI_TO_USER/KERNEL 00e40620a51e powerpc/64: Convert the syscall exit path to use RFI_TO_USER/KERNEL 9d914324d966 powerpc/64: Convert fast_exception_return to use RFI_TO_USER/KERNEL 8fd3f98d0f4d powerpc/64: Add macros for annotating the destination of rfid/hrfid be6641a7e6f7 powerpc/pseries: Add H_GET_CPU_CHARACTERISTICS flags & wrapper 331b057d4f3c Linux 4.9.80 1333c3e996eb spi: imx: do not access registers while clocks disabled 5846849a1ac7 serial: imx: Only wakeup via RTSDEN bit if the system has RTS/CTS 9df847674ede usbip: vhci_hcd: clear just the USB_PORT_STAT_POWER bit 57d4bb1beecb usb/gadget: Fix "high bandwidth" check in usb_gadget_ep_match_desc() 92e64a1079fa usb: uas: unconditionally bring back host after reset f24d171a8100 usb: f_fs: Prevent gadget unbind if it is already unbound 800de0fab17a USB: serial: simple: add Motorola Tetra driver f80079536bb6 usbip: list: don't list devices attached to vhci_hcd 4c6fcc3425e1 usbip: prevent bind loops on devices attached to vhci_hcd ec719c52af16 USB: serial: io_edgeport: fix possible sleep-in-atomic aa6a93fd0c38 CDC-ACM: apply quirk for card reader c3b1f3137751 USB: cdc-acm: Do not log urb submission errors on disconnect 068cc4ad2b23 USB: serial: pl2303: new device id for Chilitag 2ef0d2ad5ce8 usb: option: Add support for FS040U modem 55eaecffe3d6 tty: fix data race between tty_init_dev and flush of buf 383e0620b70b staging: lustre: separate a connection destroy from free struct kib_conn f94b238fb856 drm/vc4: Move IRQ enable to PM path ace1911b7620 staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID 0e216b0a0f74 usb: gadget: don't dereference g until after it has been null checked b4bfc8ef594a media: usbtv: add a new usbid c16c193e3abc ARM: dts: NSP: Fix PPI interrupt types 9adb2a0f9a47 iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type a248dc6a55b7 scsi: ufs: ufshcd: fix potential NULL pointer dereference in ufshcd_config_vreg fa64914313c1 scsi: aacraid: Prevent crash in case of free interrupt during scsi EH path fde77c712ac0 xfs: Properly retry failed dquot items in case of error during buffer writeback d96024440ee5 xfs: ubsan fixes 9301165c4623 drm/omap: Fix error handling path in 'omap_dmm_probe()' f7170eb80aff drm/bridge: tc358767: fix 1-lane behavior 8ae615fecee5 drm/bridge: tc358767: fix AUXDATAn registers access 1bdfc52c331a drm/bridge: tc358767: fix timing calculations c55908604ecc drm/bridge: tc358767: fix DP0_MISC register set 8d4bfe89aacf drm/bridge: tc358767: filter out too high modes 5f6a0441ca0d drm/bridge: tc358767: do no fail on hi-res displays 7b8623841f2b kmemleak: add scheduling point to kmemleak_scan() d2a67f7afcad SUNRPC: Allow connect to return EHOSTUNREACH c4ecc2f69643 quota: Check for register_shrinker() failure. d47907bcac94 net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit e11616d5e6c3 drm/amdgpu: don't try to move pinned BOs 54a1fdff1b09 xfs: fortify xfs_alloc_buftarg error handling 98ae1ca7534e bnxt_en: Fix an error handling path in 'bnxt_get_module_eeprom()' d5a746cf4797 hwmon: (pmbus) Use 64bit math for DIRECT format values 3b7742374f3e lockd: fix "list_add double add" caused by legacy signal interface f25e222ccc50 nfsd: check for use of the closed special stateid f35ab8e2eeb8 grace: replace BUG_ON by WARN_ONCE in exit_net hook 2a7d4a723d2e nfsd: Ensure we check stateid validity in the seqid operation checks 5cd3586ca8d4 nfsd: CLOSE SHOULD return the invalid special stateid for NFSv4.x (x>0) c57767b60962 auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM c6a34556f539 xen-netfront: remove warning when unloading module b5bfda0f8e29 xfs: always free inline data before resetting inode fork during ifree 5c0b19bd8cff KVM: VMX: Fix rflags cache during vCPU reset b0fa04e8429e KVM: X86: Fix softlockup when get the current kvmclock 90ef2c30ebd3 reiserfs: remove unneeded i_version bump 8cfb3965ebcd btrfs: fix deadlock when writing out space cache 030d4676a268 mac80211: fix the update of path metric for RANN frame 03899a46c223 openvswitch: fix the incorrect flow action alloc size 827558408206 drm/amdkfd: Fix SDMA oversubsription handling 16980affa1b0 drm/amdkfd: Fix SDMA ring buffer size calculation 8afdbb165a79 drm/amdgpu: Fix SDMA load/unload sequence on HWS disabled mode 409982cbb5eb bcache: check return value of register_shrinker 6436981ba6d1 cpufreq: Add Loongson machine dependencies 876b31fd9815 KVM: x86: ioapic: Preserve read-only values in the redirection table 1d3ab3b2964e ACPI / bus: Leave modalias empty for devices which are not present a9f2c1693667 KVM: x86: ioapic: Clear Remote IRR when entry is switched to edge-triggered 2f9e94ef498d KVM: x86: ioapic: Fix level-triggered EOI and IOAPIC reconfigure race ec73d16bc7ce KVM: X86: Fix operand/address-size during instruction decoding 114de9bfefa5 KVM: x86: Don't re-execute instruction when not passing CR2 value 60d9b22b1ffc KVM: x86: emulator: Return to user-mode on L1 CPL=0 emulation failure d8f75b4c7f25 cpupower : Fix cpupower working when cpu0 is offline 82e57cdce058 cpupowerutils: bench - Fix cpu online check 036c227cdd1c drm/vc4: Account for interrupts in flight 30942f91b5a5 igb: Free IRQs when device is hotplugged 3a98d0753928 mtd: nand: denali_pci: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE e29997d55268 gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE cb1a0b51d103 gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 517931760e69 power: reset: zx-reboot: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE ddba3c67a5b8 HID: wacom: EKR: ensure devres groups at higher indexes are released b7edc45f3ada crypto: af_alg - whitelist mask and type 1ce8e52f6f36 crypto: sha3-generic - fixes for alignment and big endian operation 95259cb008ba crypto: aesni - handle zero length dst buffer f1803207b5ea crypto: ecdh - fix typo in KPP dependency of CRYPTO_ECDH cc1fa4a7b653 gpio: Fix kernel stack leak to userspace 241c04f75e90 gpio: stmpe: i2c transfer are forbiden in atomic context efe3f94f83d2 tools/gpio: Fix build error with musl libc 2a7076e71575 RDMA/mlx5: set UMR wqe fence according to HCA cap 20e6f5bdf542 net/mlx5: Define interface bits for fencing UMR wqe 56bc086358ca loop: fix concurrent lo_open/lo_release 6c6f924f9c62 Linux 4.9.79 f12d0602633d nfsd: auth: Fix gid sorting when rootsquash enabled f531fbb06a56 bpf: reject stores into ctx via st and xadd 265d7657c9ba bpf: fix 32-bit divide by zero 4606077802f2 bpf: fix divides by zero 5cb917aa1f1e bpf: avoid false sharing of map refcount with max_entries fcabc6d00885 bpf: arsh is not supported in 32 bit alu thus reject it a3d6dd6a66c1 bpf: introduce BPF_JIT_ALWAYS_ON config 5226bb3b9551 bpf: fix bpf_tail_call() x64 JIT c964ad34f6d9 x86: bpf_jit: small optimization in emit_bpf_tail_call() c98ff7299b40 hrtimer: Reset hrtimer cpu base proper on CPU hotplug 9f3a6cadf494 x86/microcode/intel: Extend BDW late-loading further with LLC size check dc1932c69835 perf/x86/amd/power: Do not load AMD power module on !AMD platforms eecfa2eeefe3 flow_dissector: properly cap thoff field 18717ee28ef5 tun: fix a memory leak for tfile->tx_array 1105145cb3d5 mlxsw: spectrum_router: Don't log an error on missing neighbor 3110e2134c97 gso: validate gso_type in GSO handlers cc99c6d59adf ip6_gre: init dev->mtu and dev->hard_header_len correctly 1711ba166e5f be2net: restore properly promisc mode after queues reconfiguration 00f9e47c6f9d ppp: unlock all_ppp_mutex before registering device 260eb694b5a4 ipv4: Make neigh lookup keys for loopback/point-to-point devices be INADDR_ANY 014510b11781 net: Allow neigh contructor functions ability to modify the primary_key 66c16a22e3b1 vmxnet3: repair memory leak 0e52703d0746 tipc: fix a memory leak in tipc_nl_node_get_link() 2f056e7def42 sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf 8e3534ea657e sctp: do not allow the v4 socket to bind a v4mapped v6 address 0f51492d1bd5 r8169: fix memory corruption on retrieval of hardware statistics. 1bd21b158e07 pppoe: take ->needed_headroom of lower device into account on xmit cf67be7a1a21 net: tcp: close sock if net namespace is exiting a44d91150f33 net: qdisc_pkt_len_init() should be more robust 0ae16964f215 net: igmp: fix source address check for IGMPv3 reports 283498b4ca35 lan78xx: Fix failure in USB Full Speed c2ceff11b46e ipv6: ip6_make_skb() needs to clear cork.base.dst fb50d8c9169e ipv6: fix udpv6 sendmsg crash caused by too small MTU 8b0d3e81cdec ipv6: Fix getsockopt() for sockets with default IPV6_AUTOFLOWLABEL 5bb5ae9718f6 dccp: don't restart ccid2_hc_tx_rto_expire() if sk in closed state 5f6c581bcb3c eventpoll.h: add missing epoll event masks 9a0be5afbfbb vsyscall: Fix permissions for emulate mode with KAISER/PTI 1be7d46e775c um: link vmlinux with -no-pie d680db722516 orangefs: fix deadlock; do not write i_size in read_iter 42f0aba58e00 Input: trackpoint - force 3 buttons if 0 button is reported 19a7db1e2ef3 mm: fix 100% CPU kswapd busyloop on unreclaimable nodes e62b0c661f65 Revert "module: Add retpoline tag to VERMAGIC" c41bb027ed63 scsi: libiscsi: fix shifting of DID_REQUEUE host byte 7b50205cf8b9 fs/fcntl: f_setown, avoid undefined behaviour 0ccfbd4d6f02 reiserfs: don't preallocate blocks for extended attributes b7d25282b75e reiserfs: fix race in prealloc discard 898eeca02a55 netfilter: xt_osf: Add missing permission checks 2c3184ea8032 netfilter: nfnetlink_cthelper: Add missing permission checks 2915f16bdce2 ACPICA: Namespace: fix operand cache leak 3a53accd9c39 ACPI / scan: Prefer devices without _HID/_CID for _ADR matching 542cde0e3cc2 ipc: msg, make msgrcv work with LONG_MIN 685cce58f1c2 mm, page_alloc: fix potential false positive in __zone_watermark_ok 714c19ef57a5 cma: fix calculation of aligned offset bc0e2174b092 hwpoison, memcg: forcibly uncharge LRU pages c57664bd1299 mm/mmap.c: do not blow on PROT_NONE MAP_FIXED holes in the stack 1d8c402e0c46 drivers: base: cacheinfo: fix boot error message when acpi is enabled f5aaa5a2836d drivers: base: cacheinfo: fix x86 with CONFIG_OF enabled 318e17d09cbc Prevent timer value 0 for MWAITX 45ee9d5e97a4 KVM: arm/arm64: Check pagesize when allocating a hugepage at Stage 2 41e4aa17bc02 can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once 40bf2c0c1c9e can: af_can: can_rcv(): replace WARN_ONCE by pr_warn_once 69e78e7214e3 usbip: Fix potential format overflow in userspace tools 853c39f239eb usbip: Fix implicit fallthrough warning ce601a07bc50 usbip: prevent vhci_hcd driver from leaking a socket pointer address 5c26ee198fca orangefs: initialize op on loop restart in orangefs_devreq_read fb39345e7314 orangefs: use list_for_each_entry_safe in purge_waiting_ops c36c940cd4aa x86/asm/32: Make sync_core() handle missing CPUID on all 32-bit kernels Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-02-20linux-yocto/4.12: update to v4.12.20Bruce Ashfield
Updating to Paul Gortmaker's 4.12.20 release, which comprises the following commits: 26041ea62c10 Linux 4.12.20 80da9fc42759 kvm: x86: fix RSM when PCID is non-zero 94ff73e84af3 x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN 1c6aaef6e08f x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm a14ac5bc4953 x86/tlb: Drop the _GPL from the cpu_tlbstate export a95cc558c4ba x86/events/intel/ds: Use the proper cache flush method for mapping ds buffers e94e2440d266 x86/kaslr: Fix the vaddr_end mess ec2c4771ab78 x86/mm: Map cpu_entry_area at the same place on 4/5 level 21390d1cf697 x86/mm: Set MODULES_END to 0xffffffffff000000 a657f6bde81f x86/process: Define cpu_tss_rw in same section as declaration f0ca9ecfacd8 x86/pti: Switch to kernel CR3 at early in entry_SYSCALL_compat() 882c46ebc1eb x86/pti: Make sure the user/kernel PTEs match 0920dd036f51 x86/cpu, x86/pti: Do not enable PTI on AMD processors 2832199b24b5 x86/pti: Enable PTI by default abe84bdf0450 mm/mprotect: add a cond_resched() inside change_pmd_range() 79c74e87dd70 kernel/acct.c: fix the acct->needcheck check in check_free_space() 8097b1b3ed8e x86/espfix/64: Fix espfix double-fault handling on 5-level systems 1a698b5094c6 x86/decoder: Fix and update the opcodes map 3bc0a0230c85 x86/idt: Load idt early in start_secondary 96523a6b3c9f x86/ldt: Make LDT pgtable free conditional 0930c225b7fd x86/ldt: Plug memory leak in error path 7b392c0fd57c x86/mm: Remove preempt_disable/enable() from __native_flush_tlb() a569be19aca4 x86/smpboot: Remove stale TLB flush invocations 171c680cd430 x86/ldt: Make the LDT mapping RO b20a4e9c0824 x86/mm/dump_pagetables: Allow dumping current pagetables 4cb373d5878c x86/mm/dump_pagetables: Check user space page table for WX pages 419aaf9950b0 x86/mm/dump_pagetables: Add page table directory to the debugfs VFS hierarchy f2ea744855ef x86/mm/pti: Add Kconfig 21ee6ef0b6da x86/dumpstack: Indicate in Oops whether PTI is configured and enabled 4792df02eaa2 x86/mm: Clarify the whole ASID/kernel PCID/user PCID naming 079aafe7e55e x86/mm: Use INVPCID for __native_flush_tlb_single() f82db33b19f6 x86/mm: Optimize RESTORE_CR3 156823d62b52 x86/mm: Use/Fix PCID to optimize user/kernel switches 3c6ddf8979d7 x86/mm: Abstract switching CR3 842c1304aa61 x86/mm: Allow flushing for future ASID switches 54ccd28274b7 x86/pti: Map the vsyscall page if needed 05347c693d0a x86/pti: Put the LDT in its own PGD if PTI is on 86aa46082664 x86/mm/64: Make a full PGD-entry size hole in the memory map bd91c7622d4b x86/events/intel/ds: Map debug buffers in cpu_entry_area f2a19cac5364 x86/cpu_entry_area: Add debugstore entries to cpu_entry_area 788856fff986 x86/mm/pti: Map ESPFIX into user space 2946dc511e38 x86/mm/pti: Share entry text PMD 8f01f3ca70af x86/entry: Align entry text section to PMD boundary 419ac1b145f8 x86/mm/pti: Share cpu_entry_area with user space page tables 43ac2d12a830 x86/mm/pti: Force entry through trampoline when PTI active c0226c119bb4 x86/mm/pti: Add functions to clone kernel PMDs 0de21941f44c x86/mm/pti: Populate user PGD dc46e9eafde8 x86/mm/pti: Allocate a separate user PGD a3293057588e x86/mm/pti: Allow NX poison to be set in p4d/pgd b51aa0399145 x86/mm/pti: Add mapping helper functions 66d1447e7cd8 x86/pti: Add the pti= cmdline option and documentation 399981179cc2 x86/mm/pti: Add infrastructure for page table isolation ff4703d2378d x86/mm/pti: Prepare the x86/entry assembly code for entry/exit CR3 switching 6eb83fa9c76d x86/mm/pti: Disable global pages if PAGE_TABLE_ISOLATION=y 0cbc392772c6 x86/cpufeatures: Add X86_BUG_CPU_INSECURE bb426b09a2b3 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick() f8da34e6aea2 ring-buffer: Do no reuse reader page if still in use f56cc813891f ring-buffer: Mask out the info bits when returning buffer page length 99df0a6bd678 x86/cpu_entry_area: Prevent wraparound in setup_cpu_entry_area_ptes() on 32bit dd6eac2b6f66 init: Invoke init_espfix_bsp() from mm_init() fc78bbdec893 x86/cpu_entry_area: Move it out of the fixmap b73f4c11bfb7 x86/cpu_entry_area: Move it to a separate unit 90383f5be7ac x86/mm: Create asm/invpcid.h f7938aecc9e1 x86/mm: Put MMU to hardware ASID translation in one place 21c7af3777f8 x86/mm: Remove hard-coded ASID limit checks 546fe7d48686 x86/mm: Move the CR3 construction functions to tlbflush.h 029ed77f57b6 x86/mm: Add comments to clarify which TLB-flush functions are supposed to flush what c786774ceccb x86/mm: Remove superfluous barriers f0c8c4bd2347 x86/mm: Use __flush_tlb_one() for kernel memory c1d18bf3f32b x86/microcode: Dont abuse the TLB-flush interface cba3ab6a6841 x86/uv: Use the right TLB-flush API 8a7c2006beba x86/entry: Rename SYSENTER_stack to CPU_ENTRY_AREA_entry_stack d6a432d4d3a0 x86/doc: Remove obvious weirdnesses from the x86 MM layout documentation 07e8a63c2c4f x86/mm/64: Improve the memory map documentation 1dddc45476c4 x86/ldt: Prevent LDT inheritance on exec 93439585326e x86/ldt: Rework locking 315b737482ac arch, mm: Allow arch_dup_mmap() to fail 3cd977c67053 x86/vsyscall/64: Warn and fail vsyscall emulation in NATIVE mode e5667337a507 x86/vsyscall/64: Explicitly set _PAGE_USER in the pagetable hierarchy 4664833b9c38 x86/mm/dump_pagetables: Make the address hints correct and readable 9ed67a029dd7 x86/mm/dump_pagetables: Check PAGE_PRESENT for real 0f9f378903ae x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount 358a83a1de54 x86/cpufeatures: Make CPU bugs sticky ae16a824dd62 x86/paravirt: Provide a way to check for hypervisors 93231925335a x86/paravirt: Dont patch flush_tlb_single 3e9cf8fb4db0 x86/entry/64: Make cpu_entry_area.tss read-only 47cb726a9600 x86/entry: Clean up the SYSENTER_stack code ff29cda6c2f2 x86/entry/64: Remove the SYSENTER stack canary 33e8a0a90105 x86/entry/64: Move the IST stacks into struct cpu_entry_area 8aa71a5cdc32 x86/entry/64: Create a per-CPU SYSCALL entry trampoline 077a04534cc4 x86/entry/64: Return to userspace from the trampoline stack 698892158210 x86/entry/64: Use a per-CPU trampoline stack for IDT entries 7df5dc38dc29 x86/espfix/64: Stop assuming that pt_regs is on the entry stack 7b6d319e2616 x86/entry/64: Separate cpu_current_top_of_stack from TSS.sp0 e75df8aedce8 x86/entry: Remap the TSS into the CPU entry area 0e0055bbeb2a x86/entry: Move SYSENTER_stack to the beginning of struct tss_struct d9e17c57f62a x86/dumpstack: Handle stack overflow on all stacks b6645c3c626e x86/entry: Fix assumptions that the HW TSS is at the beginning of cpu_tss 99a47d22f1fa x86/kasan/64: Teach KASAN about the cpu_entry_area 0863f76db090 x86/mm/fixmap: Generalize the GDT fixmap mechanism, introduce struct cpu_entry_area 3b825a015513 x86/entry/gdt: Put per-CPU GDT remaps in ascending order 8e905774d607 x86/dumpstack: Add get_stack_info() support for the SYSENTER stack ca02a72c9150 x86/entry/64: Allocate and enable the SYSENTER stack 4eec07ec7a5c x86/irq/64: Print the offending IP in the stack overflow warning a7b282cd43ba x86/irq: Remove an old outdated comment about context tracking races d2408cf269d1 x86/entry/64/paravirt: Use paravirt-safe macro to access eflags 6a99c031df60 x86/mm/kasan: Don't use vmemmap_populate() to initialize shadow b3f96767d068 locking/barriers: Convert users of lockless_dereference() to READ_ONCE() c1763d787577 locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE() 756428416ce0 perf/x86: Enable free running PEBS for REGS_USER/INTR 2eecb0acd97a x86: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on AMD 493513aefcc5 x86/cpufeature: Add User-Mode Instruction Prevention definitions 019141d42ebe drivers/misc/intel/pti: Rename the header file to free up the namespace 871d6926064c x86/xen: Fix xen head ELF annotations d20c9ba72b8f x86/boot: Annotate verify_cpu() as a callable function d32d0f94a7ee x86/head: Fix head ELF function annotations 18f077dfae1c x86/head: Remove unused 'bad_address' code d5d921a047b9 x86/head: Remove confusing comment f6dd6567d09d kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal() cf2791ad9e53 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals 2071cfd700f6 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL 806424fd3065 kvm, mm: account kvm related kmem slabs to kmemcg 9575a6ffb4b7 x86/virt: Add enum for hypervisors to replace x86_hyper e8baad3e5158 x86/virt, x86/platform: Merge 'struct x86_hyper' into 'struct x86_platform' and 'struct x86_init' cb995fcf5ae2 x86/mm/64: Rename the register_page_bootmem_memmap() 'size' parameter to 'nr_pages' c94b6dded6eb x86/xen: Drop 5-level paging support code from the XEN_PV code 119347a0ef41 x86/xen: Provide pre-built page tables only for CONFIG_XEN_PV=y and CONFIG_XEN_PVH=y 199e4741c8b9 x86/kasan: Use the same shadow offset for 4- and 5-level paging 1c5ea732a936 mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y 8915a13ca5a4 mm, x86/mm: Fix performance regression in get_user_pages_fast() 66ea32e385a8 x86/insn-eval: Add a utility function to get register offsets 7ce86fc1e901 x86/insn-eval: Do not BUG on invalid register type c958c84cf7c2 x86/mpx, x86/insn: Relocate insn util functions to a new insn-eval file 8d8f073eaa31 x86/mpx: Do not use SIB.base if its value is 101b and ModRM.mod = 0 ec1786527e7f x86/mpx: Do not use SIB.index if its value is 100b and ModRM.mod is not 11b 897aeabaf3c1 x86/mpx: Use signed variables to compute effective addresses bdc345828604 x86/mpx: Simplify handling of errors when computing linear addresses d35dbe818a6a ptrace,x86: Make user_64bit_mode() available to 32-bit builds ef02e49ac1a7 x86/boot: Relocate definition of the initial state of CR0 1542a015ace2 x86/mm: Relocate page fault error codes to traps.h 7edfe87940e2 selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as well be33b76702d9 selftests/x86/ldt_gdt: Add infrastructure to test set_thread_area() 738b110511ba selftests/x86/ldt_gdt: Robustify against set_thread_area() and LAR oddities 1f9e12c2e81e x86/cpufeatures: Fix various details in the feature definitions 14fe162f996f x86/cpufeatures: Re-tabulate the X86_FEATURE definitions be9780fb7a30 x86/build: Beautify build log of syscall headers 601a71aa8028 x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE 6a9dda277c24 bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h") c3e13e28aa72 x86/cpuid: Replace set/clear_bit32() a87fa3721441 x86/cpufeatures: Enable new SSE/AVX/AVX512 CPU features 8bf58a744e9a x86/cpuid: Prevent out of bound access in do_clear_cpu_cap() 5dd037e50e83 x86/fpu: Remove the explicit clearing of XSAVE dependent features 691bb62c5c87 x86/fpu: Make XSAVE check the base CPUID features before enabling 384a2d7af44d x86/fpu: Parse clearcpuid= as early XSAVE argument 36381d76b645 x86/cpuid: Add generic table for CPUID dependencies 50c6c061f4d6 bitops: Add clear/set_bit32() to linux/bitops.h 4ef351ff7bab x86/fpu/debug: Remove unused 'x86_fpu_state' and 'x86_fpu_deactivate_state' tracepoints cc2b5786a84b x86/entry/64: Shorten TEST instructions d26fc8d39309 x86/traps: Use a new on_thread_stack() helper to clean up an assertion f475d79e9115 x86/entry/64: Remove thread_struct::sp0 ee2f1a81b613 x86/entry/32: Fix cpu_current_top_of_stack initialization at boot a69652f6e628 x86/entry/64: Remove all remaining direct thread_struct::sp0 reads f7945199711d x86/entry/64: Stop initializing TSS.sp0 at boot 3476ab68a9bf x86/xen/64, x86/entry/64: Clean up SP code in cpu_initialize_context() c2e6ce4b2921 x86/entry: Add task_top_of_stack() to find the top of a task's stack 45c4053bf8d4 x86/entry/64: Pass SP0 directly to load_sp0() 1acf96028d04 x86/entry/32: Pull the MSR_IA32_SYSENTER_CS update code out of native_load_sp0() ab80fe6f16d3 x86/entry/64: De-Xen-ify our NMI code d067fb259523 xen, x86/entry/64: Add xen NMI trap entry 13ead6fcd2ab x86/entry/64: Remove the RESTORE_..._REGS infrastructure 6793d49993e4 x86/entry/64: Use POP instead of MOV to restore regs on NMI return ba46462c7964 x86/entry/64: Merge the fast and slow SYSRET paths 905d20dd5054 x86/entry/64: Use pop instead of movq in syscall_return_via_sysret 99bc33079304 x86/entry/64: Shrink paranoid_exit_restore and make labels local 3c16e0932979 x86/entry/64: Simplify reg restore code in the standard IRET paths 4fc1d8b76f21 x86/entry/64: Move SWAPGS into the common IRET-to-usermode path f32123527bed x86/entry/64: Split the IRET-to-user and IRET-to-kernel paths 3b475309f976 x86/entry/64: Remove the restore_c_regs_and_iret label f3bd88849f88 x86/asm: Don't use the confusing '.ifeq' directive d36e0d395ca2 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt() ca024e7d1862 x86/asm: Remove unnecessary \n\t in front of CC_SET() from asm templates dcc5f2f8c5db x86/mm/64: Remove the last VM_BUG_ON() from the TLB code c01d65a2df94 x86/mm: Flush more aggressively in lazy TLB mode 71570531a921 x86/mm/32: Load a sane CR3 before cpu_init() on secondary CPUs 7896047cb4de x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier 557c6cb2e892 x86/mm/64: Stop using CR3.PCID == 0 in ASID-aware code bdf06611e863 x86/mm: Factor out CR3-building code 28dfb0cf1cd6 x86/mm/64: Initialize CR4.PCIDE early c45360a1779f x86/mm: Get rid of VM_BUG_ON in switch_tlb_irqs_off() 50522881fb0b x86/mm: Document how CR4.PCIDE restore works d8fa770e4331 x86/mm: Reinitialize TLB state on hotplug and resume 223590ce02fa x86/xen: Get rid of paravirt op adjust_exception_frame 9148019af215 x86/mm, mm/hwpoison: Clear PRESENT bit for kernel 1:1 mappings of poison pages 93753465c1fb x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y 866ec7bd5055 x86/mm: Implement PCID based optimization: try to preserve old TLB entries using PCID 0ca4a0dcd2b1 x86/mpx: Do not allow MPX if we have mappings above 47-bit 69fa7265508d x86/mm/dump_pagetables: Fix printout of p4d level 172774bfa3ef x86/boot: Add early cmdline parsing for options with arguments 47c915550f9e x86/mm: Enable CR4.PCIDE on supported systems 4bda31395beb x86/mm: Add the 'nopcid' boot option to turn off PCID ae3c78546a4d x86/mm: Disable PCID on 32-bit kernels a506eb1a28ee x86/mm: Stop calling leave_mm() in idle code 8d640d568fc8 x86/mm: Rework lazy TLB mode and TLB freshness tracking 6856a6907443 x86/mm: Track the TLB's tlb_gen and update the flushing algorithm 75309cc8a392 x86/mm: Give each mm TLB flush generation a unique ID 90d8521ed090 x86/xen/64: Rearrange the SYSCALL entries cd77afb4a51a x86/asm: Add suffix macro for GEN_*_RMWcc() 5d4c36800831 x86/entry/64: Refactor IRQ stacks and make them NMI-safe 9b1ff5eeadc1 irq: Make the irqentry text section unconditional 2df8e4dd8ad5 x86: provide an init_mem_mapping hypervisor hook 03a415bbc469 x86/kasan: don't allocate extra shadow memory e5881507ab4b x86/mm: Delete a big outdated comment about TLB flushing 2612885620dc x86/mm: Don't reenter flush_tlb_func_common() 8c33de3d1431 x86/mm: Remove reset_lazy_tlbstate() 22e8e068200a x86/ldt: Simplify the LDT switching logic 306b70104b69 x86/boot/64: Put __startup_64() into .head.text 6785f222adc3 x86/mm: Add support for 5-level paging for KASLR 3591558ac071 x86/mm: Make kernel_physical_mapping_init() support 5-level paging e93998d5a995 x86/mm: Add sync_global_pgds() for configuration with 5-level paging 8d08f0f9511a x86/boot/64: Add support of additional page table level during early boot 08ef52fc8c27 x86/boot/64: Rename init_level4_pgt and early_level4_pgt 8e3d8cc05bab x86/boot/64: Rewrite startup_64() in C 40029728da7c x86/boot/compressed: Enable 5-level paging during decompression stage 9f9cc4499abe x86/boot/efi: Define __KERNEL32_CS GDT on 64-bit configurations f56c74bc479b x86/asm: Fix comment in return_from_SYSCALL_64() 37edb519e13e x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3() ae39e66a6c22 x86/ldt: Rename ldt_struct::size to ::nr_entries 8e9fceb46493 mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP 73c1f133b39a x86/mm, KVM: Teach KVM's VMX code that CR3 isn't a constant 6652b39ab9a7 x86/mm: Be more consistent wrt PAGE_SHIFT vs PAGE_SIZE in tlb flush code 5f8577a5dfcb x86/mm: Rework lazy TLB to track the actual loaded mm 0444036bd674 x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code a8c7f8a7a0b3 x86/mm: Use new merged flush logic in arch_tlbbatch_flush() d47f84368847 x86/mm: Refactor flush_tlb_mm_range() to merge local and remote cases 5a32e49af880 x86/mm: Change the leave_mm() condition for local TLB flushes c2c97859bbc5 x86/mm: Pass flush_tlb_info to flush_tlb_others() etc 30210c7c83b5 mm, x86/mm: Make the batched unmap TLB flush API more generic a56dacbe25a0 x86/mm: Reduce indentation in flush_tlb_func() 4e69fbba04b0 x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range() Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> (cherry picked from commit 22d84ba8025076209a6c8bfed6a0fcec6e10b353) hand applied do to other pending changes Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19libc6: improve reproducibilityJuro Bystricky
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] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b79eeb68c6ad7c92a3e54c6f97a8bf49f0098206) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19musl: Disable thumb1 ISAAndrea Adami
thumb1 is unsupported see http://www.openwall.com/lists/musl/2017/10/20/10 Fix [YOCTO #12336] Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit d29bd5571187cb30d25f3a885e9e61aa20dd6d7a) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19musl: prevent errors if do_install is run more than onceAndre McCurdy
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 3d4c1e0d94175f8c782e94725d365e5e1d1178c1) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19musl: Update to 1.1.18Khem Raj
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit c3f0a70a40e0a8115e9046fb96b4b371b0db44ee) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19musl: Update to latestKhem Raj
* fix use of memset without declaration in sched.h cpu set macros * powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 3953c54c30473450d4baf511772276e5e8e09919) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19gcc-7.3: Drop upstreamed musl cpuinfo patchKhem Raj
This patch is already in gcc-7-branch https://github.com/gcc-mirror/gcc/commit/6e6c7fc1e15525a10f48d4f5ac2edd853e2f5cb7 Thanks nsz for noticing it Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3d9c32f31047e9fae289b45fcf733c5df1ddaceb) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19packagegroup-core-tools-profile: disable valgrind on armebMariia Movchan
Valgrind supports only little endian ARM. Signed-off-by: Mariia Movchan <mmovchan@cisco.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit dece983e35721ca1cfc6ddddaf52726fb1d6db1f) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19webkitgtk: update to 2.18.6Alexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit f5d0ef12a5f1c4fa3981e70ef614e34bc64c380f) includes: CVE-2018-4088 CVE-2017-13885 CVE-2017-7165 CVE-2017-13884 CVE-2017-7160 CVE-2017-7153 CVE-2017-7153 CVE-2017-7161 CVE-2018-4096 Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19linux-yocto/4.12: pinctrl backportsBruce Ashfield
Backporting the following pinctrl commits to enable controllers on Intel Cannon Lake: 4b7a5c1b4ec5 pinctrl: intel: Add Intel Cannon Lake PCH-H pin controller support 044631ce1937 pinctrl: intel: Add Intel Cannon Lake PCH pin controller support 2054b0ea59a7 pinctrl: intel: Make it possible to specify mode per pin in a group 55b9053b5a5a pinctrl: intel: Add support for variable size pad groups Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 4c05eb243c2cf10304383f6265721b695750cb9b) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19package_rpm.bbclass: Fix matching of architecture independent packagesOtavio Salvador
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> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 3e4ddeab65d4d2e4aaf03d442c2a1a8c7a2ce8a2) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19openssl: update to 1.0.2nAlexander Kanavin
Drop upstreamed 0001-aes-armv4-bsaes-armv7-sha256-armv4-.pl-make-it-work-.patch Rebase a couple more patches (via devtool upgrade). Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 8a79b8619ce797d5395989e7bb804bc2accfbb14) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-19openssl-ptest: improve reproducibilityJuro Bystricky
Remove buildhost references from Makefile and Configure. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 891e33f4ad0919f5b3be77cd63260121d62b6ee7) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-14build-appliance-image: Update to rocko head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29net-tools: change a '=' to '+='Ming Liu
This avoids other do_patch dependencies being overridden. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b5e94026c754d9015e97487f5c0a5b727ffd4ff8) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29kernel-uboot: support Image kernel type for arm64Zumeng Chen
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. Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit ce6337ab4b415ee18360dfe4443a71ab75a60254) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29libunwind: Fix PACKAGECONFIG option typoRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c777a6d0ea9505aa57c1c5785af388c23c5e7731) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29glibc-locale.inc: avoid duplicate packagesJuro Bystricky
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. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 9d0f0fa80ffbafc2d4a1df0fa3ac5d84396a8182) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29tzdata: update to 2018cArmin Kuster
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.) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 97927956a6629381b54973d01e16c5f039f5e5bb) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29tzcode: update to 2018cArmin Kuster
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. Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit aae1131225b92d2f984a2de35b2e21592ae8195d) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29grub: Move grub-editenv packaging to grub2.incOtavio Salvador
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. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit ebdd054ad85b19d47dd20eab0ba3f31ef5141140) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29grub-efi: Add loadenv and test as default built-inOtavio Salvador
To allow scripting and environment changes, the loadenv and test must be enabled. This adds those to the default set. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit b7c9a298801c828c06b6e7da47c35f592864ce74) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29grub-efi: Rework GRUB_BUILTIN variable as it is too longOtavio Salvador
As we will add new values here, it is better to split it in multiple lines. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 1a491515d58d0d9f03f7a3a84738f53377b0f819) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29grub-efi: Fix DEPENDSRichard Purdie
We need to append to DEPENDS else the dependencies on bison/flex-native are lost, potentially resulting in build failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bead76b50dc60e1b6b39fa5b659a7af44ff91adc) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29libarchive: Enable xz and lzo by defaultOtavio Salvador
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. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6d24b0bc7ebddd10de5ad8f210b8ed85fc6ae769) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29libepoxy: Fix build break for EGL_CAST dependencyTom Hochstein
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] https://github.com/anholt/libepoxy/commit/ebe3a53db1c0bb34e1ca963b95d1f222115f93f8 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit b468e28194be39f6d6a2084bb51773c45253d5f7) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29image_types_wic.bbclass: Ensure '-c image_wic' worksOtavio Salvador
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> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f387c28640cbb209b8a8ed5734b21c754d9f7663) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-29uninative.bbclass: Fix broken symlink issueMark Hatle
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). Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bfd9664edad7044b5da53fc33b8d0f6508f00950) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-27linux-yocto/4.12: update to v4.12.19Bruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-01-27linux-yocto/4.9: update to v4.9.78Bruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>