Re: [PATCH 4.14 000/159] 4.14.9-stable review

Ivan Kozik
2017-12-24T19:38:00Z

On Fri, Dec 22, 2017 at 8:44 AM, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
> This is the start of the stable review cycle for the 4.14.9 release.
> There are 159 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 Sun Dec 24 08:45:36 UTC 2017.
> Anything received after that time might be too late.
>

> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/unwind: Make CONFIG_UNWINDER_ORC=y the default in kconfig for 64-bit

This is uncovering a very difficult-to-debug build failure with NVIDIA DKMS:
with CONFIG_UNWINDER_ORC=y, out-of-tree modules hit this rule in
scripts/Makefile.build:

$(obj)/%.o: $(src)/%.c $(recordmcount_source) $(objtool_dep) FORCE

and fail (here, at least) to build tools/objtool/objtool (note: I do have
libelf-dev installed)

After editing dkms.conf to do `make --debug=a -j1`, I see make output:

Considering target file
'/var/lib/dkms/nvidia-current/387.34/build/nvidia/nv-gpu-numa.o'.
File '/var/lib/dkms/nvidia-current/387.34/build/nvidia/nv-gpu-numa.o'
does not exist.
Looking for an implicit rule for
'/var/lib/dkms/nvidia-current/387.34/build/nvidia/nv-gpu-numa.o'.
[...]
Trying rule prerequisite 'tools/objtool/objtool'.
Looking for a rule with intermediate file 'tools/objtool/objtool'.
Avoiding implicit rule recursion.

then silently fail to build objtool, silently fail to build all the .o files,
then continue until ld finally errors out trying to link nonexistent object
files.

If things look alright to you, and objtool is known to work with out-of-tree
modules, and the Debian packaging just needs to be adjusted, please ignore;
I figured I'd send this anyway because it was such a pain to debug.

Thanks,

Ivan

On Fri, Dec 22, 2017 at 8:44 AM, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
> This is the start of the stable review cycle for the 4.14.9 release.
> There are 159 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 Sun Dec 24 08:45:36 UTC 2017.
> 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.14.9-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.14.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
> -------------
> Pseudo-Shortlog of commits:
>
> Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Linux 4.14.9-rc1
>
> Peter Hutterer <peter.hutterer@who-t.net>
> platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes
>
> Daniel Lezcano <daniel.lezcano@linaro.org>
> thermal/drivers/hisi: Fix multiple alarm interrupts firing
>
> Daniel Lezcano <daniel.lezcano@linaro.org>
> thermal/drivers/hisi: Simplify the temperature/step computation
>
> Daniel Lezcano <daniel.lezcano@linaro.org>
> thermal/drivers/hisi: Fix kernel panic on alarm interrupt
>
> Daniel Lezcano <daniel.lezcano@linaro.org>
> thermal/drivers/hisi: Fix missing interrupt enablement
>
> Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
> IB/opa_vnic: Properly return the total MACs in UC MAC list
>
> Scott Franco <safranco@intel.com>
> IB/opa_vnic: Properly clear Mac Table Digest
>
> Eric Anholt <eric@anholt.net>
> drm/vc4: Avoid using vrefresh==0 mode in DSI htotal math.
>
> Nicholas Piggin <npiggin@gmail.com>
> cpuidle: fix broadcast control when broadcast can not be entered
>
> Alexandre Belloni <alexandre.belloni@free-electrons.com>
> rtc: set the alarm to the next expiring timer
>
> Hoang Tran <tranviethoang.vn@gmail.com>
> tcp: fix under-evaluated ssthresh in TCP Vegas
>
> Chen-Yu Tsai <wens@csie.org>
> clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
>
> Arvind Yadav <arvind.yadav.cs@gmail.com>
> staging: greybus: light: Release memory obtained by kasprintf
>
> Wei Hu(Xavier) <xavier.huwei@huawei.com>
> RDMA/hns: Avoid NULL pointer exception
>
> Mike Manning <mmanning@brocade.com>
> net: ipv6: send NS for DAD when link operationally up
>
> Mick Tarsel <mjtarsel@linux.vnet.ibm.com>
> ibmvnic: Set state UP
>
> Jacob Keller <jacob.e.keller@intel.com>
> fm10k: ensure we process SM mbx when processing VF mbx
>
> Marek Szyprowski <m.szyprowski@samsung.com>
> ARM: exynos_defconfig: Enable UAS support for Odroid HC1 board
>
> Alex Williamson <alex.williamson@redhat.com>
> vfio/pci: Virtualize Maximum Payload Size
>
> Alan Brady <alan.brady@intel.com>
> i40e: fix client notify of VF reset
>
> Dick Kennedy <dick.kennedy@broadcom.com>
> scsi: lpfc: Fix warning messages when NVME_TARGET_FC not defined
>
> Dick Kennedy <dick.kennedy@broadcom.com>
> scsi: lpfc: PLOGI failures during NPIV testing
>
> Dick Kennedy <dick.kennedy@broadcom.com>
> scsi: lpfc: Fix secure firmware updates
>
> Jacob Keller <jacob.e.keller@intel.com>
> fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw
>
> Nicolas Dechesne <nicolas.dechesne@linaro.org>
> ASoC: codecs: msm8916-wcd-analog: fix module autoload
>
> Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
> sctp: silence warns on sctp_stream_init allocations
>
> Nicholas Piggin <npiggin@gmail.com>
> powerpc/watchdog: Do not trigger SMP crash from touch_nmi_watchdog
>
> Nicholas Piggin <npiggin@gmail.com>
> powerpc/xmon: Avoid tripping SMP hardlockup watchdog
>
> Ed Blake <ed.blake@sondrel.com>
> ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback
>
> Jean-François Têtu <jean-francois.tetu@savoirfairelinux.com>
> ASoC: codecs: msm8916-wcd-analog: fix micbias level
>
> Tom Zanussi <tom.zanussi@linux.intel.com>
> tracing: Exclude 'generic fields' from histograms
>
> Gabriele Paoloni <gabriele.paoloni@huawei.com>
> PCI/AER: Report non-fatal errors only to the affected endpoint
>
> Jacob Keller <jacob.e.keller@intel.com>
> i40e/i40evf: spread CPU affinity hints across online CPUs only
>
> Hans de Goede <hdegoede@redhat.com>
> Bluetooth: hci_bcm: Fix setting of irq trigger type
>
> Hans de Goede <hdegoede@redhat.com>
> Bluetooth: hci_uart_set_flow_control: Fix NULL deref when using serdev
>
> Andrew Jeffery <andrew@aj.id.au>
> leds: pca955x: Don't invert requested value in pca955x_gpio_set_value()
>
> Wei Wang <weiwan@google.com>
> ipv6: grab rt->rt6i_ref before allocating pcpu rt
>
> William Tu <u9012063@gmail.com>
> ip_gre: check packet length and mtu correctly in erspan tx
>
> Guoqing Jiang <gqjiang@suse.com>
> md: always set THREAD_WAKEUP and wake up wqueue if thread existed
>
> Luca Miccio <lucmiccio@gmail.com>
> block,bfq: Disable writeback throttling
>
> Colin Ian King <colin.king@canonical.com>
> IB/rxe: check for allocation failure on elem
>
> Emil Tantilov <emil.s.tantilov@intel.com>
> ixgbe: fix use of uninitialized padding
>
> Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
> iio: st_sensors: add register mask for status register
>
> Lihong Yang <lihong.yang@intel.com>
> i40e: use the safe hash table iterator when deleting mac filters
>
> Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> igb: check memory allocation failure
>
> Fabio Estevam <fabio.estevam@nxp.com>
> PM / OPP: Move error message to debug level
>
> Stuart Hayes <stuart.w.hayes@gmail.com>
> PCI: Create SR-IOV virtfn/physfn links before attaching driver
>
> Sreekanth Reddy <sreekanth.reddy@broadcom.com>
> scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
>
> Varun Prakash <varun@chelsio.com>
> scsi: cxgb4i: fix Tx skb leak
>
> David Daney <david.daney@cavium.com>
> PCI: Avoid bus reset if bridge itself is broken
>
> Dan Murphy <dmurphy@ti.com>
> net: phy: at803x: Change error to EINVAL for invalid MAC
>
> Shakeel Butt <shakeelb@google.com>
> kvm, mm: account kvm related kmem slabs to kmemcg
>
> Russell King <rmk+kernel@armlinux.org.uk>
> rtc: pl031: make interrupt optional
>
> Christophe Jaillet <christophe.jaillet@wanadoo.fr>
> crypto: lrw - Fix an error handling path in 'create()'
>
> Christian Lamparter <chunkeey@gmail.com>
> crypto: crypto4xx - increase context and scatter ring buffer elements
>
> Chen-Yu Tsai <wens@csie.org>
> clk: sunxi-ng: sun5i: Fix bit offset of audio PLL post-divider
>
> Chen-Yu Tsai <wens@csie.org>
> clk: sunxi-ng: nm: Check if requested rate is supported by fractional clock
>
> Shashank Sharma <shashank.sharma@intel.com>
> drm: Add retries for lspcon mode detection
>
> Derek Basehore <dbasehore@chromium.org>
> backlight: pwm_bl: Fix overflow condition
>
> Jens Wiklander <jens.wiklander@linaro.org>
> optee: fix invalid of_node_put() in optee_driver_init()
>
> Thomas Gleixner <tglx@linutronix.de>
> x86/cpufeatures: Make CPU bugs sticky
>
> Thomas Gleixner <tglx@linutronix.de>
> x86/paravirt: Provide a way to check for hypervisors
>
> Thomas Gleixner <tglx@linutronix.de>
> x86/paravirt: Dont patch flush_tlb_single
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Make cpu_entry_area.tss read-only
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry: Clean up the SYSENTER_stack code
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Remove the SYSENTER stack canary
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Move the IST stacks into struct cpu_entry_area
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Create a per-CPU SYSCALL entry trampoline
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Return to userspace from the trampoline stack
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Use a per-CPU trampoline stack for IDT entries
>
> Andy Lutomirski <luto@kernel.org>
> x86/espfix/64: Stop assuming that pt_regs is on the entry stack
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Separate cpu_current_top_of_stack from TSS.sp0
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry: Remap the TSS into the CPU entry area
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry: Move SYSENTER_stack to the beginning of struct tss_struct
>
> Andy Lutomirski <luto@kernel.org>
> x86/dumpstack: Handle stack overflow on all stacks
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry: Fix assumptions that the HW TSS is at the beginning of cpu_tss
>
> Andy Lutomirski <luto@kernel.org>
> x86/kasan/64: Teach KASAN about the cpu_entry_area
>
> Andy Lutomirski <luto@kernel.org>
> x86/mm/fixmap: Generalize the GDT fixmap mechanism, introduce struct cpu_entry_area
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/gdt: Put per-CPU GDT remaps in ascending order
>
> Andy Lutomirski <luto@kernel.org>
> x86/dumpstack: Add get_stack_info() support for the SYSENTER stack
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Allocate and enable the SYSENTER stack
>
> Andy Lutomirski <luto@kernel.org>
> x86/irq/64: Print the offending IP in the stack overflow warning
>
> Andy Lutomirski <luto@kernel.org>
> x86/irq: Remove an old outdated comment about context tracking races
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/unwinder: Handle stack overflows more gracefully
>
> Andy Lutomirski <luto@kernel.org>
> x86/unwinder/orc: Dont bail on stack overflow
>
> Boris Ostrovsky <boris.ostrovsky@oracle.com>
> x86/entry/64/paravirt: Use paravirt-safe macro to access eflags
>
> Andrey Ryabinin <aryabinin@virtuozzo.com>
> x86/mm/kasan: Don't use vmemmap_populate() to initialize shadow
>
> Will Deacon <will.deacon@arm.com>
> locking/barriers: Convert users of lockless_dereference() to READ_ONCE()
>
> Will Deacon <will.deacon@arm.com>
> locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE()
>
> Daniel Borkmann <daniel@iogearbox.net>
> bpf: fix build issues on um due to mising bpf_perf_event.h
>
> Andi Kleen <ak@linux.intel.com>
> perf/x86: Enable free running PEBS for REGS_USER/INTR
>
> Rudolf Marek <r.marek@assembler.cz>
> x86: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on AMD
>
> Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
> x86/cpufeature: Add User-Mode Instruction Prevention definitions
>
> Ingo Molnar <mingo@kernel.org>
> drivers/misc/intel/pti: Rename the header file to free up the namespace
>
> Juergen Gross <jgross@suse.com>
> x86/virt: Add enum for hypervisors to replace x86_hyper
>
> Juergen Gross <jgross@suse.com>
> x86/virt, x86/platform: Merge 'struct x86_hyper' into 'struct x86_platform' and 'struct x86_init'
>
> James Morse <james.morse@arm.com>
> ACPI / APEI: Replace ioremap_page_range() with fixmap
>
> Andy Lutomirski <luto@kernel.org>
> selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as well
>
> Andy Lutomirski <luto@kernel.org>
> selftests/x86/ldt_gdt: Add infrastructure to test set_thread_area()
>
> Ingo Molnar <mingo@kernel.org>
> x86/cpufeatures: Fix various details in the feature definitions
>
> Ingo Molnar <mingo@kernel.org>
> x86/cpufeatures: Re-tabulate the X86_FEATURE definitions
>
> Borislav Petkov <bp@suse.de>
> x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE
>
> Thomas Gleixner <tglx@linutronix.de>
> bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")
>
> Thomas Gleixner <tglx@linutronix.de>
> x86/cpuid: Replace set/clear_bit32()
>
> Borislav Petkov <bp@suse.de>
> x86/entry/64: Shorten TEST instructions
>
> Andy Lutomirski <luto@kernel.org>
> x86/traps: Use a new on_thread_stack() helper to clean up an assertion
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Remove thread_struct::sp0
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/32: Fix cpu_current_top_of_stack initialization at boot
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Remove all remaining direct thread_struct::sp0 reads
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Stop initializing TSS.sp0 at boot
>
> Andy Lutomirski <luto@kernel.org>
> x86/xen/64, x86/entry/64: Clean up SP code in cpu_initialize_context()
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry: Add task_top_of_stack() to find the top of a task's stack
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Pass SP0 directly to load_sp0()
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/32: Pull the MSR_IA32_SYSENTER_CS update code out of native_load_sp0()
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: De-Xen-ify our NMI code
>
> Juergen Gross <jgross@suse.com>
> xen, x86/entry/64: Add xen NMI trap entry
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Remove the RESTORE_..._REGS infrastructure
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Use POP instead of MOV to restore regs on NMI return
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Merge the fast and slow SYSRET paths
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Use pop instead of movq in syscall_return_via_sysret
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Shrink paranoid_exit_restore and make labels local
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Simplify reg restore code in the standard IRET paths
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Move SWAPGS into the common IRET-to-usermode path
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Split the IRET-to-user and IRET-to-kernel paths
>
> Andy Lutomirski <luto@kernel.org>
> x86/entry/64: Remove the restore_c_regs_and_iret label
>
> Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
> ptrace,x86: Make user_64bit_mode() available to 32-bit builds
>
> Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
> x86/boot: Relocate definition of the initial state of CR0
>
> Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
> x86/mm: Relocate page fault error codes to traps.h
>
> Gayatri Kammela <gayatri.kammela@intel.com>
> x86/cpufeatures: Enable new SSE/AVX/AVX512 CPU features
>
> Baoquan He <bhe@redhat.com>
> x86/mm/64: Rename the register_page_bootmem_memmap() 'size' parameter to 'nr_pages'
>
> Masahiro Yamada <yamada.masahiro@socionext.com>
> x86/build: Beautify build log of syscall headers
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/asm: Don't use the confusing '.ifeq' directive
>
> Dongjiu Geng <gengdongjiu@huawei.com>
> ACPI / APEI: remove the unused dead-code for SEA/NMI notification type
>
> Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> x86/xen: Drop 5-level paging support code from the XEN_PV code
>
> Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> x86/xen: Provide pre-built page tables only for CONFIG_XEN_PV=y and CONFIG_XEN_PVH=y
>
> Andrey Ryabinin <aryabinin@virtuozzo.com>
> x86/kasan: Use the same shadow offset for 4- and 5-level paging
>
> Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y
>
> Thomas Gleixner <tglx@linutronix.de>
> x86/cpuid: Prevent out of bound access in do_clear_cpu_cap()
>
> Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
> objtool: Print top level commands on incorrect usage
>
> Kees Cook <keescook@chromium.org>
> x86/platform/UV: Convert timers to use timer_setup()
>
> Andi Kleen <ak@linux.intel.com>
> x86/fpu: Remove the explicit clearing of XSAVE dependent features
>
> Andi Kleen <ak@linux.intel.com>
> x86/fpu: Make XSAVE check the base CPUID features before enabling
>
> Andi Kleen <ak@linux.intel.com>
> x86/fpu: Parse clearcpuid= as early XSAVE argument
>
> Andi Kleen <ak@linux.intel.com>
> x86/cpuid: Add generic table for CPUID dependencies
>
> Andi Kleen <ak@linux.intel.com>
> bitops: Add clear/set_bit32() to linux/bitops.h
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/unwind: Make CONFIG_UNWINDER_ORC=y the default in kconfig for 64-bit
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/unwind: Rename unwinder config options to 'CONFIG_UNWINDER_*'
>
> Steven Rostedt (VMware) <rostedt@goodmis.org>
> x86/fpu/debug: Remove unused 'x86_fpu_state' and 'x86_fpu_deactivate_state' tracepoints
>
> Ingo Molnar <mingo@kernel.org>
> x86/unwinder: Make CONFIG_UNWINDER_ORC=y the default in the 64-bit defconfig
>
> Jan Beulich <JBeulich@suse.com>
> ACPI / APEI: adjust a local variable type in ghes_ioremap_pfn_irq()
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/head: Add unwind hint annotations
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/xen: Add unwind hint annotations
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/xen: Fix xen head ELF annotations
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/boot: Annotate verify_cpu() as a callable function
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/head: Fix head ELF function annotations
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/head: Remove unused 'bad_address' code
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> x86/head: Remove confusing comment
>
> Josh Poimboeuf <jpoimboe@redhat.com>
> objtool: Don't report end of section error after an empty unwind hint
>
> Uros Bizjak <ubizjak@gmail.com>
> x86/asm: Remove unnecessary \n\t in front of CC_SET() from asm templates
>
>
> -------------
>
> Diffstat:
>
> Documentation/x86/orc-unwinder.txt | 2 +-
> Documentation/x86/x86_64/mm.txt | 2 +-
> Makefile | 8 +-
> arch/arm/configs/exynos_defconfig | 2 +-
> arch/arm64/include/asm/fixmap.h | 7 +
> arch/powerpc/kernel/watchdog.c | 7 +-
> arch/powerpc/xmon/xmon.c | 17 +-
> arch/um/include/asm/Kbuild | 1 +
> arch/x86/Kconfig | 5 +-
> arch/x86/Kconfig.debug | 39 +-
> arch/x86/configs/tiny.config | 4 +-
> arch/x86/configs/x86_64_defconfig | 1 +
> arch/x86/entry/calling.h | 69 +--
> arch/x86/entry/entry_32.S | 6 +-
> arch/x86/entry/entry_64.S | 322 +++++++++---
> arch/x86/entry/entry_64_compat.S | 10 +-
> arch/x86/entry/syscalls/Makefile | 4 +-
> arch/x86/events/core.c | 2 +-
> arch/x86/events/intel/core.c | 4 +
> arch/x86/events/perf_event.h | 24 +-
> arch/x86/hyperv/hv_init.c | 2 +-
> arch/x86/include/asm/archrandom.h | 8 +-
> arch/x86/include/asm/bitops.h | 10 +-
> arch/x86/include/asm/compat.h | 1 +
> arch/x86/include/asm/cpufeature.h | 11 +-
> arch/x86/include/asm/cpufeatures.h | 538 +++++++++++----------
> arch/x86/include/asm/desc.h | 11 +-
> arch/x86/include/asm/fixmap.h | 74 ++-
> arch/x86/include/asm/hypervisor.h | 53 +-
> arch/x86/include/asm/irqflags.h | 3 +
> arch/x86/include/asm/kdebug.h | 1 +
> arch/x86/include/asm/mmu_context.h | 4 +-
> arch/x86/include/asm/module.h | 2 +-
> arch/x86/include/asm/paravirt.h | 14 +-
> arch/x86/include/asm/paravirt_types.h | 2 +-
> arch/x86/include/asm/percpu.h | 2 +-
> arch/x86/include/asm/pgtable_types.h | 3 +-
> arch/x86/include/asm/processor.h | 109 +++--
> arch/x86/include/asm/ptrace.h | 6 +-
> arch/x86/include/asm/rmwcc.h | 2 +-
> arch/x86/include/asm/stacktrace.h | 3 +
> arch/x86/include/asm/switch_to.h | 26 +
> arch/x86/include/asm/thread_info.h | 2 +-
> arch/x86/include/asm/trace/fpu.h | 10 -
> arch/x86/include/asm/traps.h | 21 +-
> arch/x86/include/asm/unwind.h | 15 +-
> arch/x86/include/asm/x86_init.h | 24 +
> arch/x86/include/uapi/asm/processor-flags.h | 3 +
> arch/x86/kernel/Makefile | 10 +-
> arch/x86/kernel/apic/apic.c | 2 +-
> arch/x86/kernel/apic/x2apic_uv_x.c | 5 +-
> arch/x86/kernel/asm-offsets.c | 6 +
> arch/x86/kernel/asm-offsets_32.c | 9 +-
> arch/x86/kernel/asm-offsets_64.c | 4 +
> arch/x86/kernel/cpu/Makefile | 1 +
> arch/x86/kernel/cpu/amd.c | 7 +-
> arch/x86/kernel/cpu/common.c | 195 +++++---
> arch/x86/kernel/cpu/cpuid-deps.c | 121 +++++
> arch/x86/kernel/cpu/hypervisor.c | 64 +--
> arch/x86/kernel/cpu/mshyperv.c | 6 +-
> arch/x86/kernel/cpu/vmware.c | 8 +-
> arch/x86/kernel/doublefault.c | 36 +-
> arch/x86/kernel/dumpstack.c | 74 ++-
> arch/x86/kernel/dumpstack_32.c | 6 +
> arch/x86/kernel/dumpstack_64.c | 6 +
> arch/x86/kernel/fpu/init.c | 11 +
> arch/x86/kernel/fpu/xstate.c | 43 +-
> arch/x86/kernel/head_32.S | 5 +-
> arch/x86/kernel/head_64.S | 45 +-
> arch/x86/kernel/ioport.c | 2 +-
> arch/x86/kernel/irq.c | 12 -
> arch/x86/kernel/irq_64.c | 4 +-
> arch/x86/kernel/kvm.c | 6 +-
> arch/x86/kernel/ldt.c | 2 +-
> arch/x86/kernel/paravirt_patch_64.c | 2 -
> arch/x86/kernel/process.c | 27 +-
> arch/x86/kernel/process_32.c | 8 +-
> arch/x86/kernel/process_64.c | 19 +-
> arch/x86/kernel/smpboot.c | 3 +-
> arch/x86/kernel/traps.c | 72 +--
> arch/x86/kernel/unwind_orc.c | 88 ++--
> arch/x86/kernel/verify_cpu.S | 3 +-
> arch/x86/kernel/vm86_32.c | 20 +-
> arch/x86/kernel/vmlinux.lds.S | 9 +
> arch/x86/kernel/x86_init.c | 9 +
> arch/x86/kvm/mmu.c | 4 +-
> arch/x86/kvm/vmx.c | 2 +-
> arch/x86/lib/delay.c | 4 +-
> arch/x86/mm/fault.c | 88 ++--
> arch/x86/mm/init.c | 2 +-
> arch/x86/mm/init_64.c | 10 +-
> arch/x86/mm/kasan_init_64.c | 262 ++++++++--
> arch/x86/power/cpu.c | 16 +-
> arch/x86/xen/enlighten_hvm.c | 12 +-
> arch/x86/xen/enlighten_pv.c | 15 +-
> arch/x86/xen/mmu_pv.c | 161 +++---
> arch/x86/xen/smp_pv.c | 17 +-
> arch/x86/xen/xen-asm_64.S | 2 +-
> arch/x86/xen/xen-head.S | 11 +-
> block/bfq-iosched.c | 3 +-
> block/blk-wbt.c | 2 +-
> crypto/lrw.c | 6 +-
> drivers/acpi/apei/ghes.c | 78 +--
> drivers/base/power/opp/core.c | 2 +-
> drivers/bluetooth/hci_bcm.c | 23 +-
> drivers/bluetooth/hci_ldisc.c | 7 +
> drivers/clk/sunxi-ng/ccu-sun5i.c | 4 +-
> drivers/clk/sunxi-ng/ccu-sun6i-a31.c | 2 +-
> drivers/clk/sunxi-ng/ccu_nm.c | 3 +
> drivers/cpuidle/cpuidle.c | 1 +
> drivers/crypto/amcc/crypto4xx_core.h | 10 +-
> drivers/gpu/drm/drm_dp_dual_mode_helper.c | 16 +-
> drivers/gpu/drm/vc4/vc4_dsi.c | 3 +-
> drivers/hv/vmbus_drv.c | 2 +-
> drivers/iio/accel/st_accel_core.c | 35 +-
> drivers/iio/common/st_sensors/st_sensors_core.c | 2 +-
> drivers/iio/common/st_sensors/st_sensors_trigger.c | 16 +-
> drivers/iio/gyro/st_gyro_core.c | 15 +-
> drivers/iio/magnetometer/st_magn_core.c | 10 +-
> drivers/iio/pressure/st_pressure_core.c | 15 +-
> drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 5 +
> drivers/infiniband/sw/rxe/rxe_pool.c | 2 +
> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c | 1 +
> .../infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c | 8 +-
> drivers/input/mouse/vmmouse.c | 10 +-
> drivers/leds/leds-pca955x.c | 17 +-
> drivers/md/dm-mpath.c | 20 +-
> drivers/md/md.c | 4 +-
> drivers/misc/pti.c | 2 +-
> drivers/misc/vmw_balloon.c | 2 +-
> drivers/net/ethernet/ibm/ibmvnic.c | 2 +
> drivers/net/ethernet/intel/fm10k/fm10k.h | 4 +-
> drivers/net/ethernet/intel/fm10k/fm10k_iov.c | 12 +-
> drivers/net/ethernet/intel/i40e/i40e_main.c | 16 +-
> drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 7 +-
> drivers/net/ethernet/intel/i40evf/i40evf_main.c | 9 +-
> drivers/net/ethernet/intel/igb/igb_main.c | 2 +
> drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 4 +-
> drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 2 +
> drivers/net/phy/at803x.c | 2 +-
> drivers/pci/iov.c | 3 +-
> drivers/pci/pci.c | 4 +
> drivers/pci/pcie/aer/aerdrv_core.c | 9 +-
> drivers/platform/x86/asus-wireless.c | 1 +
> drivers/rtc/interface.c | 2 +-
> drivers/rtc/rtc-pl031.c | 14 +-
> drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 1 +
> drivers/scsi/lpfc/lpfc_hbadisc.c | 3 +-
> drivers/scsi/lpfc/lpfc_hw4.h | 2 +-
> drivers/scsi/lpfc/lpfc_nvmet.c | 2 +
> drivers/scsi/mpt3sas/mpt3sas_scsih.c | 5 +
> drivers/staging/greybus/light.c | 2 +
> drivers/tee/optee/core.c | 1 -
> drivers/thermal/hisi_thermal.c | 74 ++-
> drivers/vfio/pci/vfio_pci_config.c | 6 +-
> drivers/video/backlight/pwm_bl.c | 7 +-
> fs/dcache.c | 4 +-
> fs/overlayfs/ovl_entry.h | 2 +-
> fs/overlayfs/readdir.c | 2 +-
> include/asm-generic/vmlinux.lds.h | 2 +-
> include/linux/compiler.h | 1 +
> include/linux/hypervisor.h | 8 +-
> include/linux/iio/common/st_sensors.h | 7 +-
> include/linux/{pti.h => intel-pti.h} | 6 +-
> include/linux/mm.h | 2 +-
> include/linux/mmzone.h | 6 +-
> include/linux/rculist.h | 4 +-
> include/linux/rcupdate.h | 4 +-
> kernel/events/core.c | 4 +-
> kernel/seccomp.c | 2 +-
> kernel/task_work.c | 2 +-
> kernel/trace/trace_events_hist.c | 4 +-
> lib/Kconfig.debug | 2 +-
> mm/page_alloc.c | 10 +
> mm/slab.h | 2 +-
> mm/sparse.c | 17 +-
> net/ipv4/ip_gre.c | 8 +-
> net/ipv4/tcp_vegas.c | 2 +-
> net/ipv6/addrconf.c | 12 +-
> net/ipv6/route.c | 58 +--
> net/sctp/stream.c | 8 +-
> scripts/Makefile.build | 2 +-
> sound/soc/codecs/msm8916-wcd-analog.c | 9 +-
> sound/soc/img/img-parallel-out.c | 2 +
> tools/objtool/check.c | 7 +-
> tools/objtool/objtool.c | 6 +-
> tools/testing/selftests/x86/ldt_gdt.c | 61 ++-
> virt/kvm/kvm_main.c | 2 +-
> 188 files changed, 2414 insertions(+), 1428 deletions(-)
>
>