Received: by 10.223.185.116 with SMTP id b49csp2178039wrg; Thu, 15 Feb 2018 07:41:19 -0800 (PST) X-Google-Smtp-Source: AH8x225//bqBnw8qNECoF+EtnW5ZJwHM/FyExNF7oBID3/I8gqnPhEu8jJopBYs0X3KH+/GQfZf4 X-Received: by 2002:a17:902:32a2:: with SMTP id z31-v6mr2996566plb.32.1518709278985; Thu, 15 Feb 2018 07:41:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518709278; cv=none; d=google.com; s=arc-20160816; b=UjGnDFsL8RXsLGGzZEzKWwquXvUMl7ZCw6WMvj9dO1335xUN3VuD0v8v6b4uYqS7YS ZQRpfgn1P2jmYS1d7NHpTF0nzyh7yYy1Dg6LOQsl3yMVaz+/O3yxRXqBC/Qd3bRQijJQ o9BIdTWVMkmcFggoVDxqmnQvWAETdbpkaf1CuzlSxBKVq6yEwD0rq/CiRnS/DAoCg1ER Hl1+GfBYv7gc9BzOA5eIzp7oIduiWQRKqcd3oRpCuWtL7kT7xpWmgbcpewOKgygv7Wbi eJuvCo7Lk6YME1VJFFwqGGo68NX+gKaCpiuRNYvis0mXj1gRKZ7RB3b2tDqIr5vnY8vN FnXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:user-agent :mime-version:message-id:date:subject:cc:to:from :arc-authentication-results; bh=bI9ttRIEo25kJbkLx1+/6zomFEGOdIoABYs/R5vpZRw=; b=V9YZDy0zHYolTcsRRGudmR9iWpKkS5czk5/60PxY2hY7JGAOt53Eg3lQBE2P0DurbD DzsabHEHuPmSX5aJS6XDbfom3JknllGOK2fIS83ImVOnX4lHTibwnFtQLjdoP7F8sitg DVLGFrfYaSlN5htqY45DyS7F/4jZVEI7BlzBegOXWsNDE1afS1RObvbqAT/5ZIN3QjDc gCeHCSE5lFsSeqEbb+CxfHn8ruMy8ThD3cozJ1C3+x7smqtcp4aktK41Wei3MVDEBGMX rJNOU4ZAPqbQj/hXH0SHb0LKXPPAwNSvr3WqnZrCedk7hNCjlCKzBJvUgFqgKdH/czZv wVtQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k12si2582751pgt.734.2018.02.15.07.41.03; Thu, 15 Feb 2018 07:41:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423088AbeBOPjI (ORCPT + 99 others); Thu, 15 Feb 2018 10:39:08 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:59654 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423447AbeBOPjE (ORCPT ); Thu, 15 Feb 2018 10:39:04 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id D3B5310CB; Thu, 15 Feb 2018 15:39:03 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuahkh@osg.samsung.com, patches@kernelci.org, ben.hutchings@codethink.co.uk, lkft-triage@lists.linaro.org, stable@vger.kernel.org Subject: [PATCH 4.15 000/202] 4.15.4-stable review Date: Thu, 15 Feb 2018 16:15:00 +0100 Message-Id: <20180215151712.768794354@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 MIME-Version: 1.0 User-Agent: quilt/0.65 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.15.4-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.15.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.15.4-rc1 X-KernelTest-Deadline: 2018-02-17T15:17+00:00 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the start of the stable review cycle for the 4.15.4 release. There are 202 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat Feb 17 15:16:28 UTC 2018. Anything received after that time might be too late. The whole patch series can be found in one patch at: kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.15.4-rc1.gz or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.15.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman Linux 4.15.4-rc1 Uma Krishnan scsi: cxlflash: Reset command ioasc James Smart scsi: lpfc: Fix crash after bad bar setup on driver attachment Bart Van Assche scsi: core: Ensure that the SCSI error handler gets woken up Steven Rostedt (VMware) ftrace: Remove incorrect setting of glob search field Eric Biggers devpts: fix error handling in devpts_mntget() Eric W. Biederman mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy Amir Goldstein ovl: hash directory inodes for fsnotify Amir Goldstein ovl: take mnt_want_write() for removing impure xattr Amir Goldstein ovl: take mnt_want_write() for work/index dir setup Amir Goldstein ovl: fix failure to fsync lower dir Amir Goldstein ovl: force r/o mount when index dir creation fails Toshi Kani acpi, nfit: fix register dimm error handling Greg Kroah-Hartman ACPI: sbshc: remove raw pointer from printk() message Imre Deak drm/i915: Avoid PPS HW/SW state mismatch due to rounding Yan Markman arm64: dts: marvell: add Ethernet aliases Peter Zijlstra objtool: Fix switch-table detection Andrey Ryabinin lib/ubsan: add type mismatch handler for new GCC/Clang Andrew Morton lib/ubsan.c: s/missaligned/misaligned/ Daniel Lezcano clocksource/drivers/stm32: Fix kernel panic with multiple timers Ming Lei blk-mq: quiesce queue before freeing queue Bart Van Assche pktcdvd: Fix a recently introduced NULL pointer dereference Bart Van Assche pktcdvd: Fix pkt_setup_dev() error path Peter Rosin pinctrl: sx150x: Add a static gpio/pinctrl pin range mapping Peter Rosin pinctrl: sx150x: Register pinctrl before adding the gpiochip Peter Rosin pinctrl: sx150x: Unregister the pinctrl on release Dmitry Mastykin pinctrl: mcp23s08: fix irq setup order Mika Westerberg pinctrl: intel: Initialize GPIO properly when used through irqchip Thomas Gleixner genirq: Make legacy autoprobing work again James Hogan EDAC, octeon: Fix an uninitialized variable warning Max Filippov xtensa: fix futex_atomic_cmpxchg_inatomic Mikulas Patocka alpha: fix formating of stack content Mikulas Patocka alpha: fix reboot on Avanti platform Michael Cree alpha: Fix mixed up args in EXC macro in futex operations Arnd Bergmann alpha: osf_sys.c: fix put_tv32 regression Mikulas Patocka alpha: fix crash if pthread_create races with signal delivery Eric W. Biederman signal/sh: Ensure si_signo is initialized in do_divide_error Eric W. Biederman signal/openrisc: Fix do_unaligned_access to send the proper signal John Garry ipmi: use dynamic memory for DMI driver override Hans de Goede Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version Kai-Heng Feng Revert "Bluetooth: btusb: fix QCA Rome suspend/resume" Hans de Goede Bluetooth: btsdio: Do not bind to non-removable BCM43341 Hans de Goede HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working Eric Biggers pipe: fix off-by-one error when checking buffer limits Eric Biggers pipe: actually allow root to exceed the pipe buffer limits Eric Biggers kernel/relay.c: revert "kernel/relay.c: fix potential memory leak" Rasmus Villemoes kernel/async.c: revert "async: simplify lowest_in_progress()" Heiko Carstens fs/proc/kcore.c: use probe_kernel_read() instead of memcpy() Mauro Carvalho Chehab media: cxusb, dib0700: ignore XC2028_I2C_FLUSH Hans Verkuil media: vivid: fix module load error when enabling fb and no_error_inj=1 Mauro Carvalho Chehab media: ts2020: avoid integer overflows on 32 bit machines Hans Verkuil media: dt-bindings/media/cec-gpio.txt: mention the CEC/HPD max voltages Arnd Bergmann media: dvb-frontends: fix i2c access helpers for KASAN Mauro Carvalho Chehab media: dvb_frontend: be sure to init dvb_frontend_handle_ioctl() return code Arnd Bergmann kasan: rework Kconfig settings Andrey Konovalov kasan: don't emit builtin calls when sanitization is off Liu Bo Btrfs: raid56: iterate raid56 internal bio with bio_for_each_segment_all Nikolay Borisov btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker David Howells afs: Fix server list handling David Howells afs: Fix missing cursor clearance David Howells afs: Need to clear responded flag in addr cursor David Howells afs: Add missing afs_put_cell() Martin Kaiser watchdog: imx2_wdt: restore previous timeout after suspend+resume Charles Keepax ASoC: compress: Correct handling of copy callback Takashi Iwai ASoC: skl: Fix kernel warning due to zero NHTL entry John Keeping ASoC: rockchip: i2s: fix playback after runtime resume Pierre-Louis Bossart ASoC: acpi: fix machine driver selection based on quirk Ulf Magnusson KVM: PPC: Book3S PR: Fix broken select due to misspelling James Morse KVM: arm/arm64: Handle CPU_PM_ENTER_FAILED Paul Mackerras KVM: PPC: Book3S HV: Drop locks before reading guest memory Paul Mackerras KVM: PPC: Book3S HV: Make sure we don't re-enter guest without XIVE loaded Liran Alon KVM: nVMX: Fix bug of injecting L2 exception into L1 Liran Alon KVM: nVMX: Fix races when sending nested PI while dest enters/leaves L2 Marc Zyngier arm: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls LEROY Christophe crypto: talitos - fix Kernel Oops on hashing an empty file Eric Biggers crypto: sha512-mb - initialize pending lengths correctly Horia Geantă crypto: caam - fix endless loop when DECO acquire fails Hans Verkuil media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs Daniel Mentz media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic Hans Verkuil media: v4l2-compat-ioctl32.c: don't copy back the result for certain errors Hans Verkuil media: v4l2-compat-ioctl32.c: drop pr_info for unknown buffer type Hans Verkuil media: v4l2-compat-ioctl32.c: copy clip list in put_v4l2_window32 Hans Verkuil media: v4l2-compat-ioctl32.c: fix ctrl_is_pointer Hans Verkuil media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32 Hans Verkuil media: v4l2-compat-ioctl32.c: avoid sizeof(type) Hans Verkuil media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32 Hans Verkuil media: v4l2-compat-ioctl32.c: fix the indentation Hans Verkuil media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF Hans Verkuil media: v4l2-ioctl.c: don't copy back the result for -ENOTTY Hans Verkuil media: v4l2-ioctl.c: use check_fmt for enum/g/s/try_fmt Eric Biggers crypto: hash - prevent using keyed hashes without setting key Eric Biggers crypto: hash - annotate algorithms taking optional key Eric Biggers crypto: poly1305 - remove ->setkey() method Eric Biggers crypto: mcryptd - pass through absence of ->setkey() Eric Biggers crypto: cryptd - pass through absence of ->setkey() Eric Biggers crypto: hash - introduce crypto_hash_alg_has_setkey() Mika Westerberg ahci: Add Intel Cannon Lake PCH-H PCI ID Hans de Goede ahci: Add PCI ids for Intel Bay Trail, Cherry Trail and Apollo Lake AHCI Hans de Goede ahci: Annotate PCI ids for mobile Intel chipsets as such Ivan Vecera kernfs: fix regression in kernfs_fop_write caused by wrong type Trond Myklebust nfsd: Detect unhashed stids in nfsd4_verify_open_stid() Trond Myklebust NFS: Fix a race between mmap() and O_DIRECT Eric Biggers NFS: reject request for id_legacy key without auxdata J. Bruce Fields NFS: commit direct writes even if they fail partially Trond Myklebust NFS: Fix nfsstat breakage due to LOOKUPP Trond Myklebust NFS: Add a cond_resched() to nfs_commit_release_pages() Tigran Mkrtchyan nfs41: do not return ENOMEM on LAYOUTUNAVAILABLE Scott Mayhew nfs/pnfs: fix nfs_direct_req ref leak when i/o falls back to the mds Eric Biggers ubifs: free the encrypted symlink target Bradley Bolen ubi: block: Fix locking for idr_alloc/idr_remove Sascha Hauer ubi: fastmap: Erase outdated anchor PEBs during attach Clay McClure ubi: Fix race condition between ubi volume creation and udev Miquel Raynal mtd: nand: sunxi: Fix ECC strength choice Miquel Raynal mtd: nand: Fix nand_do_read_oob() return value Kamal Dasu mtd: nand: brcmnand: Disable prefetch by default Arnd Bergmann mtd: cfi: convert inline functions to macros Marc Zyngier arm64: Kill PSCI_GET_VERSION as a variant-2 workaround Marc Zyngier arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support Marc Zyngier arm/arm64: smccc: Implement SMCCC v1.1 inline primitive Marc Zyngier arm/arm64: smccc: Make function identifiers an unsigned quantity Marc Zyngier firmware/psci: Expose SMCCC version through psci_ops Marc Zyngier firmware/psci: Expose PSCI conduit Marc Zyngier arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling Marc Zyngier arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support Marc Zyngier arm/arm64: KVM: Turn kvm_psci_version into a static inline Marc Zyngier arm64: KVM: Make PSCI_VERSION a fast path Marc Zyngier arm/arm64: KVM: Advertise SMCCC v1.1 Marc Zyngier arm/arm64: KVM: Implement PSCI 1.0 support Marc Zyngier arm/arm64: KVM: Add smccc accessors to PSCI code Marc Zyngier arm/arm64: KVM: Add PSCI_VERSION helper Marc Zyngier arm/arm64: KVM: Consolidate the PSCI include files Marc Zyngier arm64: KVM: Increment PC after handling an SMC trap Jayachandran C arm64: Branch predictor hardening for Cavium ThunderX2 Shanker Donthineni arm64: Implement branch predictor hardening for Falkor Will Deacon arm64: Implement branch predictor hardening for affected Cortex-A CPUs Will Deacon arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75 Will Deacon arm64: entry: Apply BP hardening for suspicious interrupts from EL0 Will Deacon arm64: entry: Apply BP hardening for high-priority synchronous exceptions Marc Zyngier arm64: KVM: Use per-CPU vector when BP hardening is enabled Marc Zyngier arm64: Move BP hardening to check_and_switch_context Will Deacon arm64: Add skeleton to harden the branch predictor against aliasing attacks Marc Zyngier arm64: Move post_ttbr_update_workaround to C code Will Deacon drivers/firmware: Expose psci_get_version through psci_ops structure Will Deacon arm64: cpufeature: Pass capability structure to ->enable callback Suzuki K Poulose arm64: Run enable method for errata work arounds on late CPUs James Morse arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early Will Deacon arm64: futex: Mask __user pointers prior to dereference Will Deacon arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user Will Deacon arm64: uaccess: Don't bother eliding access_ok checks in __{get, put}_user Will Deacon arm64: uaccess: Prevent speculative use of the current addr_limit Will Deacon arm64: entry: Ensure branch through syscall table is bounded under speculation Robin Murphy arm64: Use pointer masking to limit uaccess speculation Robin Murphy arm64: Make USER_DS an inclusive limit Robin Murphy arm64: Implement array_index_mask_nospec() Will Deacon arm64: barrier: Add CSDB macros to control data-value prediction Will Deacon perf: arm_spe: Fail device probe when arm64_kernel_unmapped_at_el0() Will Deacon arm64: idmap: Use "awx" flags for .idmap.text .pushsection directives Will Deacon arm64: entry: Reword comment about post_ttbr_update_workaround Marc Zyngier arm64: Force KPTI to be disabled on Cavium ThunderX Will Deacon arm64: kpti: Add ->enable callback to remap swapper using nG mappings Will Deacon arm64: mm: Permit transitioning from Global to Non-Global without BBM Will Deacon arm64: kpti: Make use of nG dependent on arm64_kernel_unmapped_at_el0() Jayachandran C arm64: Turn on KPTI only on CPUs that need it Jayachandran C arm64: cputype: Add MIDR values for Cavium ThunderX2 CPUs Catalin Marinas arm64: kpti: Fix the interaction between ASID switching and software PAN Will Deacon arm64: mm: Introduce TTBR_ASID_MASK for getting at the ASID in the TTBR Suzuki K Poulose arm64: capabilities: Handle duplicate entries for a capability Will Deacon arm64: Take into account ID_AA64PFR0_EL1.CSV3 Will Deacon arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry Will Deacon arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0 Will Deacon arm64: use RET instruction for exiting the trampoline Will Deacon arm64: kaslr: Put kernel vectors address in separate data page Will Deacon arm64: entry: Add fake CPU feature for unmapping the kernel at EL0 Will Deacon arm64: tls: Avoid unconditional zeroing of tpidrro_el0 for native tasks Stephen Boyd arm64: cpu_errata: Add Kryo to Falkor 1003 errata Will Deacon arm64: erratum: Work around Falkor erratum #E1003 in trampoline code Will Deacon arm64: entry: Hook up entry trampoline to exception vectors Will Deacon arm64: entry: Explicitly pass exception level to kernel_ventry macro Will Deacon arm64: mm: Map entry trampoline into trampoline and kernel page tables Will Deacon arm64: entry: Add exception trampoline page for exceptions from EL0 Will Deacon arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI Will Deacon arm64: mm: Add arm64_kernel_unmapped_at_el0 helper Will Deacon arm64: mm: Allocate ASIDs in pairs Will Deacon arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN Will Deacon arm64: mm: Rename post_ttbr0_update_workaround Will Deacon arm64: mm: Remove pre_ttbr0_update_workaround for Falkor erratum #E1003 Will Deacon arm64: mm: Move ASID from TTBR0 to TTBR1 Will Deacon arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN Will Deacon arm64: mm: Use non-global mappings for kernel space Arvind Yadav media: hdpvr: Fix an error handling path in hdpvr_probe() Malcolm Priestley media: dvb-usb-v2: lmedm04: move ts2020 attach to dm04_lme2510_tuner Malcolm Priestley media: dvb-usb-v2: lmedm04: Improve logic checking of warm start Steven Rostedt (VMware) sched/rt: Up the root domain ref count when passing it around via IPIs Steven Rostedt (VMware) sched/rt: Use container_of() to get root domain in rto_push_irq_work_func() Lionel Landwerlin Revert "drm/i915: mark all device info struct with __initconst" Rasmus Villemoes watchdog: gpio_wdt: set WDOG_HW_RUNNING in gpio_wdt_stop Sven Joachim ssb: Do not disable PCI host on non-Mips Yang Shunyong dmaengine: dmatest: fix container_of member in dmatest_callback Andrew-sh Cheng cpufreq: mediatek: add mediatek related projects into blacklist Aurelien Aptel CIFS: zero sensitive data when freeing Daniel N Pettersson cifs: Fix autonegotiate security settings mismatch Matthew Wilcox cifs: Fix missing put_xid in cifs_file_strict_mmap Matt Redfearn watchdog: indydog: Add dependency on SGI_HAS_INDYDOG ------------- Diffstat: Documentation/arm64/silicon-errata.txt | 2 +- .../devicetree/bindings/media/cec-gpio.txt | 6 +- Makefile | 7 +- arch/alpha/include/asm/futex.h | 8 +- arch/alpha/kernel/osf_sys.c | 4 +- arch/alpha/kernel/pci_impl.h | 3 +- arch/alpha/kernel/process.c | 3 +- arch/alpha/kernel/traps.c | 13 +- arch/arm/crypto/crc32-ce-glue.c | 2 + arch/arm/include/asm/kvm_host.h | 6 + arch/arm/include/asm/kvm_mmu.h | 10 + arch/arm/include/asm/kvm_psci.h | 27 - arch/arm/kvm/handle_exit.c | 17 +- arch/arm64/Kconfig | 46 +- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 6 + arch/arm64/boot/dts/marvell/armada-8040-db.dts | 7 + arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 6 + arch/arm64/crypto/crc32-ce-glue.c | 2 + arch/arm64/include/asm/asm-uaccess.h | 36 +- arch/arm64/include/asm/assembler.h | 54 +- arch/arm64/include/asm/barrier.h | 22 + arch/arm64/include/asm/cpucaps.h | 5 +- arch/arm64/include/asm/cputype.h | 9 + arch/arm64/include/asm/efi.h | 12 +- arch/arm64/include/asm/fixmap.h | 5 + arch/arm64/include/asm/futex.h | 9 +- arch/arm64/include/asm/kvm_asm.h | 2 + arch/arm64/include/asm/kvm_host.h | 5 + arch/arm64/include/asm/kvm_mmu.h | 38 + arch/arm64/include/asm/kvm_psci.h | 27 - arch/arm64/include/asm/mmu.h | 48 + arch/arm64/include/asm/mmu_context.h | 12 +- arch/arm64/include/asm/pgtable-hwdef.h | 1 + arch/arm64/include/asm/pgtable-prot.h | 35 +- arch/arm64/include/asm/pgtable.h | 1 + arch/arm64/include/asm/proc-fns.h | 6 - arch/arm64/include/asm/processor.h | 3 + arch/arm64/include/asm/sysreg.h | 2 + arch/arm64/include/asm/tlbflush.h | 16 +- arch/arm64/include/asm/uaccess.h | 181 +++- arch/arm64/kernel/Makefile | 4 + arch/arm64/kernel/arm64ksyms.c | 4 +- arch/arm64/kernel/asm-offsets.c | 6 +- arch/arm64/kernel/bpi.S | 83 ++ arch/arm64/kernel/cpu-reset.S | 2 +- arch/arm64/kernel/cpu_errata.c | 239 ++++- arch/arm64/kernel/cpufeature.c | 138 ++- arch/arm64/kernel/entry.S | 228 ++++- arch/arm64/kernel/head.S | 2 +- arch/arm64/kernel/process.c | 12 +- arch/arm64/kernel/sleep.S | 2 +- arch/arm64/kernel/vmlinux.lds.S | 22 +- arch/arm64/kvm/handle_exit.c | 14 +- arch/arm64/kvm/hyp/entry.S | 12 + arch/arm64/kvm/hyp/hyp-entry.S | 20 +- arch/arm64/kvm/hyp/switch.c | 13 +- arch/arm64/lib/clear_user.S | 10 +- arch/arm64/lib/copy_from_user.S | 4 +- arch/arm64/lib/copy_in_user.S | 9 +- arch/arm64/lib/copy_to_user.S | 4 +- arch/arm64/mm/cache.S | 4 +- arch/arm64/mm/context.c | 48 +- arch/arm64/mm/fault.c | 36 +- arch/arm64/mm/mmu.c | 35 + arch/arm64/mm/proc.S | 224 ++++- arch/arm64/xen/hypercall.S | 4 +- arch/mn10300/mm/misalignment.c | 2 +- arch/openrisc/kernel/traps.c | 10 +- arch/powerpc/crypto/crc32c-vpmsum_glue.c | 1 + arch/powerpc/kvm/Kconfig | 2 +- arch/powerpc/kvm/book3s_hv.c | 16 +- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 40 +- arch/s390/crypto/crc32-vx.c | 3 + arch/sh/kernel/traps_32.c | 3 +- arch/sparc/crypto/crc32c_glue.c | 1 + arch/x86/crypto/crc32-pclmul_glue.c | 1 + arch/x86/crypto/crc32c-intel_glue.c | 1 + arch/x86/crypto/poly1305_glue.c | 1 - .../x86/crypto/sha512-mb/sha512_mb_mgr_init_avx2.c | 10 +- arch/x86/kvm/vmx.c | 6 +- arch/x86/kvm/x86.h | 1 + arch/xtensa/include/asm/futex.h | 23 +- block/blk-core.c | 9 + crypto/ahash.c | 33 +- crypto/algif_hash.c | 52 +- crypto/crc32_generic.c | 1 + crypto/crc32c_generic.c | 1 + crypto/cryptd.c | 10 +- crypto/mcryptd.c | 10 +- crypto/poly1305_generic.c | 17 +- crypto/shash.c | 25 +- drivers/acpi/nfit/core.c | 3 + drivers/acpi/sbshc.c | 4 +- drivers/ata/ahci.c | 37 +- drivers/block/pktcdvd.c | 12 +- drivers/bluetooth/btsdio.c | 9 + drivers/bluetooth/btusb.c | 20 +- drivers/char/ipmi/ipmi_dmi.c | 5 +- drivers/clocksource/timer-stm32.c | 7 +- drivers/cpufreq/cpufreq-dt-platdev.c | 8 + drivers/crypto/bfin_crc.c | 3 +- drivers/crypto/caam/ctrl.c | 8 +- drivers/crypto/stm32/stm32_crc32.c | 2 + drivers/crypto/talitos.c | 4 + drivers/dma/dmatest.c | 2 +- drivers/edac/octeon_edac-lmc.c | 1 + drivers/firmware/psci.c | 57 +- drivers/gpu/drm/i915/i915_pci.c | 94 +- drivers/gpu/drm/i915/intel_dp.c | 6 + drivers/hid/hid-core.c | 12 +- drivers/media/dvb-core/dvb_frontend.c | 4 +- drivers/media/dvb-frontends/ascot2e.c | 4 +- drivers/media/dvb-frontends/cxd2841er.c | 4 +- drivers/media/dvb-frontends/helene.c | 4 +- drivers/media/dvb-frontends/horus3a.c | 4 +- drivers/media/dvb-frontends/itd1000.c | 5 +- drivers/media/dvb-frontends/mt312.c | 5 +- drivers/media/dvb-frontends/stb0899_drv.c | 3 +- drivers/media/dvb-frontends/stb6100.c | 6 +- drivers/media/dvb-frontends/stv0367.c | 4 +- drivers/media/dvb-frontends/stv090x.c | 4 +- drivers/media/dvb-frontends/stv6110x.c | 4 +- drivers/media/dvb-frontends/ts2020.c | 4 +- drivers/media/dvb-frontends/zl10039.c | 4 +- drivers/media/platform/vivid/vivid-core.h | 1 + drivers/media/platform/vivid/vivid-ctrls.c | 35 +- drivers/media/usb/dvb-usb-v2/lmedm04.c | 39 +- drivers/media/usb/dvb-usb/cxusb.c | 2 + drivers/media/usb/dvb-usb/dib0700_devices.c | 1 + drivers/media/usb/hdpvr/hdpvr-core.c | 26 +- drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 1032 ++++++++++++-------- drivers/media/v4l2-core/v4l2-ioctl.c | 145 ++- drivers/mtd/nand/brcmnand/brcmnand.c | 13 +- drivers/mtd/nand/nand_base.c | 5 +- drivers/mtd/nand/sunxi_nand.c | 8 +- drivers/mtd/ubi/block.c | 42 +- drivers/mtd/ubi/vmt.c | 15 +- drivers/mtd/ubi/wl.c | 77 +- drivers/perf/arm_spe_pmu.c | 9 + drivers/pinctrl/intel/pinctrl-intel.c | 23 +- drivers/pinctrl/pinctrl-mcp23s08.c | 8 +- drivers/pinctrl/pinctrl-sx150x.c | 40 +- drivers/scsi/cxlflash/main.c | 1 + drivers/scsi/hosts.c | 6 + drivers/scsi/lpfc/lpfc_init.c | 84 +- drivers/scsi/scsi_error.c | 18 +- drivers/scsi/scsi_lib.c | 39 +- drivers/ssb/Kconfig | 2 +- .../lustre/lnet/libcfs/linux/linux-crypto-adler.c | 1 + drivers/watchdog/Kconfig | 2 +- drivers/watchdog/gpio_wdt.c | 3 +- drivers/watchdog/imx2_wdt.c | 20 +- fs/afs/addr_list.c | 13 +- fs/afs/rotate.c | 20 +- fs/afs/server_list.c | 3 +- fs/afs/vlclient.c | 10 +- fs/afs/volume.c | 47 +- fs/btrfs/inode.c | 11 +- fs/btrfs/raid56.c | 11 +- fs/cifs/cifsencrypt.c | 3 +- fs/cifs/connect.c | 6 +- fs/cifs/file.c | 26 +- fs/cifs/misc.c | 14 +- fs/cifs/smb2pdu.c | 3 +- fs/devpts/inode.c | 4 +- fs/kernfs/file.c | 2 +- fs/nfs/direct.c | 4 +- fs/nfs/filelayout/filelayout.c | 4 +- fs/nfs/io.c | 2 +- fs/nfs/nfs4idmap.c | 6 +- fs/nfs/nfs4xdr.c | 64 +- fs/nfs/pnfs.c | 4 +- fs/nfs/write.c | 2 + fs/nfsd/nfs4state.c | 1 + fs/overlayfs/inode.c | 39 +- fs/overlayfs/readdir.c | 17 +- fs/overlayfs/super.c | 38 +- fs/overlayfs/util.c | 4 +- fs/pipe.c | 15 +- fs/proc/kcore.c | 18 +- fs/ubifs/dir.c | 10 +- include/crypto/hash.h | 34 +- include/crypto/internal/hash.h | 2 + include/crypto/poly1305.h | 2 - include/kvm/arm_psci.h | 51 + include/linux/arm-smccc.h | 165 +++- include/linux/crypto.h | 8 + include/linux/mtd/map.h | 130 ++- include/linux/nfs4.h | 12 +- include/linux/psci.h | 14 + include/scsi/scsi_host.h | 2 + include/uapi/linux/psci.h | 3 + kernel/async.c | 20 +- kernel/irq/autoprobe.c | 2 +- kernel/irq/chip.c | 6 +- kernel/irq/internals.h | 2 +- kernel/relay.c | 1 - kernel/sched/rt.c | 24 +- kernel/sched/sched.h | 2 + kernel/sched/topology.c | 13 + kernel/trace/ftrace.c | 1 - lib/Kconfig.debug | 2 +- lib/Kconfig.kasan | 11 + lib/ubsan.c | 50 +- lib/ubsan.h | 14 + scripts/Makefile.kasan | 5 + scripts/Makefile.lib | 2 +- sound/soc/intel/skylake/skl-nhlt.c | 3 +- sound/soc/rockchip/rockchip_i2s.c | 6 + sound/soc/soc-acpi.c | 8 +- sound/soc/soc-compress.c | 8 +- tools/objtool/check.c | 41 +- tools/objtool/check.h | 1 + virt/kvm/arm/arm.c | 11 +- virt/kvm/arm/psci.c | 143 ++- 215 files changed, 3788 insertions(+), 1624 deletions(-)