From 8e8e48c6f1ec020ff47f50aa49acab6c850cc70e Mon Sep 17 00:00:00 2001
From: Ben Hutchings <ben@decadent.org.uk>
Date: Tue, 12 May 2015 19:29:22 +0100
-Subject: [PATCH 001/233] Make mkcompile_h accept an alternate timestamp string
+Subject: [PATCH 001/241] Make mkcompile_h accept an alternate timestamp string
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From d9166325bf8b4d5a4c7aeb6a15c30c90ffc28347 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
Date: Thu, 14 Sep 2017 11:02:18 +0200
-Subject: [PATCH 002/233] bridge: keep MAC of first assigned port
+Subject: [PATCH 002/241] bridge: keep MAC of first assigned port
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 469fd3d2d05583a20c8210354cf0ad6cbd2360f7 Mon Sep 17 00:00:00 2001
From: Mark Weiman <mark.weiman@markzz.com>
Date: Sat, 29 Jul 2017 09:15:32 -0400
-Subject: [PATCH 003/233] pci: Enable overrides for missing ACS capabilities
+Subject: [PATCH 003/241] pci: Enable overrides for missing ACS capabilities
(4.12+)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 6003e55f5d4762a819d6691de92d75d29b6c0d58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
Date: Thu, 14 Sep 2017 11:09:58 +0200
-Subject: [PATCH 004/233] kvm: disable default dynamic halt polling growth
+Subject: [PATCH 004/241] kvm: disable default dynamic halt polling growth
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From f33ce8d7dcb3053b513003fb775d6457d30d4921 Mon Sep 17 00:00:00 2001
From: Waiman Long <longman@redhat.com>
Date: Thu, 17 Aug 2017 15:33:09 -0400
-Subject: [PATCH 005/233] cgroup: Add mount flag to enable cpuset to use v2
+Subject: [PATCH 005/241] cgroup: Add mount flag to enable cpuset to use v2
behavior in v1 cgroup
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 98df2e6815f8bfb7fb07458a067ddc96e7fe917d Mon Sep 17 00:00:00 2001
From: Waiman Long <longman@redhat.com>
Date: Thu, 17 Aug 2017 15:33:10 -0400
-Subject: [PATCH 006/233] cpuset: Allow v2 behavior in v1 cgroup
+Subject: [PATCH 006/241] cpuset: Allow v2 behavior in v1 cgroup
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From b6f813dded8f92cf6df31e1bcad4600b11dd4ae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= <rkrcmar@redhat.com>
Date: Thu, 30 Nov 2017 19:05:45 +0100
-Subject: [PATCH 007/233] KVM: x86: fix APIC page invalidation
+Subject: [PATCH 007/241] KVM: x86: fix APIC page invalidation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 8ddb7f99e8c2ad80dbe3f9de01e8af5c310ae52d Mon Sep 17 00:00:00 2001
From: Wei Xu <wexu@redhat.com>
Date: Fri, 1 Dec 2017 05:10:36 -0500
-Subject: [PATCH 008/233] vhost: fix skb leak in handle_rx()
+Subject: [PATCH 008/241] vhost: fix skb leak in handle_rx()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 442f5963a52060fcf86a73377c31a863738632dd Mon Sep 17 00:00:00 2001
From: Wei Xu <wexu@redhat.com>
Date: Fri, 1 Dec 2017 05:10:37 -0500
-Subject: [PATCH 009/233] tun: free skb in early errors
+Subject: [PATCH 009/241] tun: free skb in early errors
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 3fe5d7c8bcba7d240e74c119c2c4ad1c696f205c Mon Sep 17 00:00:00 2001
From: Wei Xu <wexu@redhat.com>
Date: Fri, 1 Dec 2017 05:10:38 -0500
-Subject: [PATCH 010/233] tap: free skb if flags error
+Subject: [PATCH 010/241] tap: free skb if flags error
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 406a5590ca8c58f0f92927230285a3388e4527e4 Mon Sep 17 00:00:00 2001
From: Parav Pandit <parav@mellanox.com>
Date: Fri, 5 Jan 2018 23:51:12 +0100
-Subject: [PATCH 011/233] IB/core: Avoid crash on pkey enforcement failed in
+Subject: [PATCH 011/241] IB/core: Avoid crash on pkey enforcement failed in
received MADs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 72083c18eb8824dd1d0580c1382d23f4fbc4ed33 Mon Sep 17 00:00:00 2001
From: Daniel Jurgens <danielj@mellanox.com>
Date: Mon, 20 Nov 2017 16:47:45 -0600
-Subject: [PATCH 012/233] IB/core: Don't enforce PKey security on SMI MADs
+Subject: [PATCH 012/241] IB/core: Don't enforce PKey security on SMI MADs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 0140f5df6cd9e326f3009a16c1b66139b9bb3b45 Mon Sep 17 00:00:00 2001
From: Paolo Bonzini <pbonzini@redhat.com>
Date: Mon, 6 Nov 2017 13:31:12 +0100
-Subject: [PATCH 013/233] kvm: vmx: Reinstate support for CPUs without virtual
+Subject: [PATCH 013/241] kvm: vmx: Reinstate support for CPUs without virtual
NMI
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From a0212ec7cc4bc2f88c4435cca881d21f2b079a80 Mon Sep 17 00:00:00 2001
From: Paolo Bonzini <pbonzini@redhat.com>
Date: Thu, 26 Oct 2017 09:13:27 +0200
-Subject: [PATCH 014/233] KVM: SVM: obey guest PAT
+Subject: [PATCH 014/241] KVM: SVM: obey guest PAT
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 95e4ae0f4ad738ff6ec8e44ab9fa5529d4369655 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 29 Jun 2017 08:53:20 -0700
-Subject: [PATCH 015/233] x86/mm: Add the 'nopcid' boot option to turn off PCID
+Subject: [PATCH 015/241] x86/mm: Add the 'nopcid' boot option to turn off PCID
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From bbdde34293757490c18c57d8bd9f92e567bbdbcd Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 29 Jun 2017 08:53:21 -0700
-Subject: [PATCH 016/233] x86/mm: Enable CR4.PCIDE on supported systems
+Subject: [PATCH 016/241] x86/mm: Enable CR4.PCIDE on supported systems
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 20e07f035810f1b2bb3d816e49f48f6b6a37bf64 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Wed, 6 Sep 2017 19:54:54 -0700
-Subject: [PATCH 017/233] x86/mm: Document how CR4.PCIDE restore works
+Subject: [PATCH 017/241] x86/mm: Document how CR4.PCIDE restore works
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 2a767692d6140051e569ab59a1440b3760839e03 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Tue, 11 Jul 2017 10:33:38 -0500
-Subject: [PATCH 018/233] x86/entry/64: Refactor IRQ stacks and make them
+Subject: [PATCH 018/241] x86/entry/64: Refactor IRQ stacks and make them
NMI-safe
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 63463bcffe420067411ad3d4d01b79c872fffc3a Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Tue, 11 Jul 2017 10:33:39 -0500
-Subject: [PATCH 019/233] x86/entry/64: Initialize the top of the IRQ stack
+Subject: [PATCH 019/241] x86/entry/64: Initialize the top of the IRQ stack
before switching stacks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 884fcb9e8befe21a962d95664b1e60377284636a Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Tue, 11 Jul 2017 10:33:44 -0500
-Subject: [PATCH 020/233] x86/entry/64: Add unwind hint annotations
+Subject: [PATCH 020/241] x86/entry/64: Add unwind hint annotations
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From aa2a95a84f2cbd92b10887f3c99c7858fae9e7e4 Mon Sep 17 00:00:00 2001
From: Tom Lendacky <thomas.lendacky@amd.com>
Date: Mon, 17 Jul 2017 16:10:29 -0500
-Subject: [PATCH 021/233] xen/x86: Remove SME feature in PV guests
+Subject: [PATCH 021/241] xen/x86: Remove SME feature in PV guests
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From c63a9850ba744d9871b4ca2dad11588db5d670a2 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 7 Aug 2017 20:59:21 -0700
-Subject: [PATCH 022/233] x86/xen/64: Rearrange the SYSCALL entries
+Subject: [PATCH 022/241] x86/xen/64: Rearrange the SYSCALL entries
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 050fcd1a748bd2f17b540d0147c8a4f3067653ee Mon Sep 17 00:00:00 2001
From: Masami Hiramatsu <mhiramat@kernel.org>
Date: Thu, 3 Aug 2017 11:38:21 +0900
-Subject: [PATCH 023/233] irq: Make the irqentry text section unconditional
+Subject: [PATCH 023/241] irq: Make the irqentry text section unconditional
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 2b0794bbebac81a539dfd405273d61a8a16531d2 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 14 Aug 2017 22:36:19 -0700
-Subject: [PATCH 024/233] x86/xen/64: Fix the reported SS and CS in SYSCALL
+Subject: [PATCH 024/241] x86/xen/64: Fix the reported SS and CS in SYSCALL
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From e61e24c7ee0d773230646650659c34ffc5316520 Mon Sep 17 00:00:00 2001
From: Juergen Gross <jgross@suse.com>
Date: Wed, 16 Aug 2017 19:31:56 +0200
-Subject: [PATCH 025/233] x86/paravirt/xen: Remove xen_patch()
+Subject: [PATCH 025/241] x86/paravirt/xen: Remove xen_patch()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From e61177a6feca143d431be190d4758bda23f6174d Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 28 Aug 2017 08:47:22 +0200
-Subject: [PATCH 026/233] x86/traps: Simplify pagefault tracing logic
+Subject: [PATCH 026/241] x86/traps: Simplify pagefault tracing logic
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 12f71c3ef98c53a158abec93ef40cd15c9120284 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 28 Aug 2017 08:47:37 +0200
-Subject: [PATCH 027/233] x86/idt: Unify gate_struct handling for 32/64-bit
+Subject: [PATCH 027/241] x86/idt: Unify gate_struct handling for 32/64-bit
kernels
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From a0b37d5a5f250199b6df4e9404d2071802591de6 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 28 Aug 2017 08:47:40 +0200
-Subject: [PATCH 028/233] x86/asm: Replace access to desc_struct:a/b fields
+Subject: [PATCH 028/241] x86/asm: Replace access to desc_struct:a/b fields
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From e5688fb8c2c243658f3fe754d33c7250c8aed146 Mon Sep 17 00:00:00 2001
From: Juergen Gross <jgross@suse.com>
Date: Thu, 31 Aug 2017 19:42:49 +0200
-Subject: [PATCH 029/233] x86/xen: Get rid of paravirt op
+Subject: [PATCH 029/241] x86/xen: Get rid of paravirt op
adjust_exception_frame
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From bbb647f65a627420f8c3351b34d14490a9878509 Mon Sep 17 00:00:00 2001
From: Juergen Gross <jgross@suse.com>
Date: Mon, 4 Sep 2017 12:25:27 +0200
-Subject: [PATCH 030/233] x86/paravirt: Remove no longer used paravirt
+Subject: [PATCH 030/241] x86/paravirt: Remove no longer used paravirt
functions
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From b368fed558634ffc92dba0d7d9e4e631d26cd92f Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Fri, 20 Oct 2017 11:21:33 -0500
-Subject: [PATCH 031/233] x86/entry: Fix idtentry unwind hint
+Subject: [PATCH 031/241] x86/entry: Fix idtentry unwind hint
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From d9fd6653e5dd9d80c7c75065329250529281e02d Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Sun, 10 Sep 2017 17:48:27 -0700
-Subject: [PATCH 032/233] x86/mm/64: Initialize CR4.PCIDE early
+Subject: [PATCH 032/241] x86/mm/64: Initialize CR4.PCIDE early
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From a5a66a79aadeb0459a3a28adf04d41c42e053436 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Tue, 11 Jul 2017 10:33:42 -0500
-Subject: [PATCH 033/233] objtool: Add ORC unwind table generation
+Subject: [PATCH 033/241] objtool: Add ORC unwind table generation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 338c7d8678b82c46668ce3b73f7339f71ab69cc8 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Tue, 11 Jul 2017 10:33:43 -0500
-Subject: [PATCH 034/233] objtool, x86: Add facility for asm code to provide
+Subject: [PATCH 034/241] objtool, x86: Add facility for asm code to provide
unwind hints
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 906230051aedc4af1dce033db79e56eb61af2b73 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 24 Jul 2017 18:36:57 -0500
-Subject: [PATCH 035/233] x86/unwind: Add the ORC unwinder
+Subject: [PATCH 035/241] x86/unwind: Add the ORC unwinder
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 73cf1dd35105d9cf270caf4a72b400b0a3ab4bb2 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Tue, 25 Jul 2017 08:54:24 -0500
-Subject: [PATCH 036/233] x86/kconfig: Consolidate unwinders into multiple
+Subject: [PATCH 036/241] x86/kconfig: Consolidate unwinders into multiple
choice selection
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 2c9eb7028c0714c3379b58a59c60f7b5b7a5adb0 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Tue, 3 Oct 2017 20:10:36 -0500
-Subject: [PATCH 037/233] objtool: Upgrade libelf-devel warning to error for
+Subject: [PATCH 037/241] objtool: Upgrade libelf-devel warning to error for
CONFIG_ORC_UNWINDER
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 34aa933a9bce5fb9c88e6ed98b268cbf058e51eb Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Wed, 26 Jul 2017 07:16:30 -0700
-Subject: [PATCH 038/233] x86/ldt/64: Refresh DS and ES when modify_ldt changes
+Subject: [PATCH 038/241] x86/ldt/64: Refresh DS and ES when modify_ldt changes
an entry
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 09fedd9befc7affbfa9490ef3993d60c7d582a6f Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 29 Jun 2017 08:53:15 -0700
-Subject: [PATCH 039/233] x86/mm: Give each mm TLB flush generation a unique ID
+Subject: [PATCH 039/241] x86/mm: Give each mm TLB flush generation a unique ID
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From c1f19d153ad69363ac1bc62bbd9be05ca48c526c Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 29 Jun 2017 08:53:16 -0700
-Subject: [PATCH 040/233] x86/mm: Track the TLB's tlb_gen and update the
+Subject: [PATCH 040/241] x86/mm: Track the TLB's tlb_gen and update the
flushing algorithm
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From caa3549fe709971498eaf080c1710ef627a0df5a Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 29 Jun 2017 08:53:17 -0700
-Subject: [PATCH 041/233] x86/mm: Rework lazy TLB mode and TLB freshness
+Subject: [PATCH 041/241] x86/mm: Rework lazy TLB mode and TLB freshness
tracking
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From e3c7bff633fc1210c6b19dd3ebcafb9f6716d586 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 24 Jul 2017 21:41:38 -0700
-Subject: [PATCH 042/233] x86/mm: Implement PCID based optimization: try to
+Subject: [PATCH 042/241] x86/mm: Implement PCID based optimization: try to
preserve old TLB entries using PCID
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From ddb5e7b381d37d0f8bca61f0b761ae5c3a2f5ee0 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Sun, 17 Sep 2017 09:03:48 -0700
-Subject: [PATCH 043/233] x86/mm: Factor out CR3-building code
+Subject: [PATCH 043/241] x86/mm: Factor out CR3-building code
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From b5143e55b3bf018b3ad2598e677ceb5e155eba6f Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Sun, 17 Sep 2017 09:03:49 -0700
-Subject: [PATCH 044/233] x86/mm/64: Stop using CR3.PCID == 0 in ASID-aware
+Subject: [PATCH 044/241] x86/mm/64: Stop using CR3.PCID == 0 in ASID-aware
code
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From d1ffadc67e2eee2d5f8626dca6646e70e3aa9d76 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 9 Oct 2017 09:50:49 -0700
-Subject: [PATCH 045/233] x86/mm: Flush more aggressively in lazy TLB mode
+Subject: [PATCH 045/241] x86/mm: Flush more aggressively in lazy TLB mode
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 1ef06119163f106fc0de4990e7ae559e9a5a8169 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Sat, 4 Nov 2017 04:16:12 -0700
-Subject: [PATCH 046/233] Revert "x86/mm: Stop calling leave_mm() in idle code"
+Subject: [PATCH 046/241] Revert "x86/mm: Stop calling leave_mm() in idle code"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From f2c1440e8f0b728d48ee8ce295f4dfe495949e1f Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Tue, 3 Oct 2017 08:51:43 -0500
-Subject: [PATCH 047/233] kprobes/x86: Set up frame pointer in kprobe
+Subject: [PATCH 047/241] kprobes/x86: Set up frame pointer in kprobe
trampoline
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 179faefa769caa263bc88b1f7292be7a60df4298 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 28 Aug 2017 08:47:21 +0200
-Subject: [PATCH 048/233] x86/tracing: Introduce a static key for exception
+Subject: [PATCH 048/241] x86/tracing: Introduce a static key for exception
tracing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 0b7f51014f5219ece1ca55662495bd036f3bd00d Mon Sep 17 00:00:00 2001
From: Tom Lendacky <thomas.lendacky@amd.com>
Date: Mon, 17 Jul 2017 16:10:33 -0500
-Subject: [PATCH 049/233] x86/boot: Add early cmdline parsing for options with
+Subject: [PATCH 049/241] x86/boot: Add early cmdline parsing for options with
arguments
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 7c5d42f31bf68647dd00ac2fef9057d113e8072d Mon Sep 17 00:00:00 2001
From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Date: Sat, 9 Sep 2017 00:56:03 +0300
-Subject: [PATCH 050/233] mm, x86/mm: Fix performance regression in
+Subject: [PATCH 050/241] mm, x86/mm: Fix performance regression in
get_user_pages_fast()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 7d7ea8398b5f0cf22b8faec46c95543031c5fe94 Mon Sep 17 00:00:00 2001
From: Uros Bizjak <ubizjak@gmail.com>
Date: Wed, 6 Sep 2017 17:18:08 +0200
-Subject: [PATCH 051/233] x86/asm: Remove unnecessary \n\t in front of CC_SET()
+Subject: [PATCH 051/241] x86/asm: Remove unnecessary \n\t in front of CC_SET()
from asm templates
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 985d8e62ef5f1b006da5e175858e552c0dbda771 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 18 Sep 2017 21:43:30 -0500
-Subject: [PATCH 052/233] objtool: Don't report end of section error after an
+Subject: [PATCH 052/241] objtool: Don't report end of section error after an
empty unwind hint
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 109bbd8c905806e929b67ca0b2eaf57ff88f10c1 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 18 Sep 2017 21:43:31 -0500
-Subject: [PATCH 053/233] x86/head: Remove confusing comment
+Subject: [PATCH 053/241] x86/head: Remove confusing comment
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 5ba2d2eca16a62a64166661ea849c4916ae2f44f Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 18 Sep 2017 21:43:32 -0500
-Subject: [PATCH 054/233] x86/head: Remove unused 'bad_address' code
+Subject: [PATCH 054/241] x86/head: Remove unused 'bad_address' code
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 2527d40adb84012c90cab350bd5ebbce65daaff7 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 18 Sep 2017 21:43:33 -0500
-Subject: [PATCH 055/233] x86/head: Fix head ELF function annotations
+Subject: [PATCH 055/241] x86/head: Fix head ELF function annotations
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 1b9783c7335f17e3f5bdb8776dd06de62dcfba81 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 18 Sep 2017 21:43:34 -0500
-Subject: [PATCH 056/233] x86/boot: Annotate verify_cpu() as a callable
+Subject: [PATCH 056/241] x86/boot: Annotate verify_cpu() as a callable
function
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 6f359bcacdf28ca9f6bfc29bd0aa4e22489eb34d Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 18 Sep 2017 21:43:35 -0500
-Subject: [PATCH 057/233] x86/xen: Fix xen head ELF annotations
+Subject: [PATCH 057/241] x86/xen: Fix xen head ELF annotations
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From b90136e442c889a7344992acc34764729936ab92 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 18 Sep 2017 21:43:36 -0500
-Subject: [PATCH 058/233] x86/xen: Add unwind hint annotations
+Subject: [PATCH 058/241] x86/xen: Add unwind hint annotations
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 6ef121f444bab6ac294e1eda62eb727ee639c6d7 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 18 Sep 2017 21:43:37 -0500
-Subject: [PATCH 059/233] x86/head: Add unwind hint annotations
+Subject: [PATCH 059/241] x86/head: Add unwind hint annotations
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 012bd636105426b93026d594261663e8a728dcc1 Mon Sep 17 00:00:00 2001
From: Jan Beulich <JBeulich@suse.com>
Date: Mon, 25 Sep 2017 02:06:19 -0600
-Subject: [PATCH 060/233] ACPI / APEI: adjust a local variable type in
+Subject: [PATCH 060/241] ACPI / APEI: adjust a local variable type in
ghes_ioremap_pfn_irq()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From a405dd2b4172c310101f96c2152598bc24e9e6f8 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@kernel.org>
Date: Thu, 12 Oct 2017 09:24:30 +0200
-Subject: [PATCH 061/233] x86/unwinder: Make CONFIG_UNWINDER_ORC=y the default
+Subject: [PATCH 061/241] x86/unwinder: Make CONFIG_UNWINDER_ORC=y the default
in the 64-bit defconfig
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From bc21c74b922871588bf6626bff34fa084ed60d71 Mon Sep 17 00:00:00 2001
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
Date: Thu, 12 Oct 2017 18:06:19 -0400
-Subject: [PATCH 062/233] x86/fpu/debug: Remove unused 'x86_fpu_state' and
+Subject: [PATCH 062/241] x86/fpu/debug: Remove unused 'x86_fpu_state' and
'x86_fpu_deactivate_state' tracepoints
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From dcc61cf4d482d478979471795935733845fe757e Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Fri, 13 Oct 2017 15:02:00 -0500
-Subject: [PATCH 063/233] x86/unwind: Rename unwinder config options to
+Subject: [PATCH 063/241] x86/unwind: Rename unwinder config options to
'CONFIG_UNWINDER_*'
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From a8ec58033a185db5d8c180d3508d34b8ae3a1c89 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Fri, 13 Oct 2017 15:02:01 -0500
-Subject: [PATCH 064/233] x86/unwind: Make CONFIG_UNWINDER_ORC=y the default in
+Subject: [PATCH 064/241] x86/unwind: Make CONFIG_UNWINDER_ORC=y the default in
kconfig for 64-bit
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 2f76ec868c18486b60f1b76428339a2fa0c2e5d8 Mon Sep 17 00:00:00 2001
From: Andi Kleen <ak@linux.intel.com>
Date: Fri, 13 Oct 2017 14:56:41 -0700
-Subject: [PATCH 065/233] bitops: Add clear/set_bit32() to linux/bitops.h
+Subject: [PATCH 065/241] bitops: Add clear/set_bit32() to linux/bitops.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From d637e8b6db21d282cfb1fd789ae60807cc87c867 Mon Sep 17 00:00:00 2001
From: Andi Kleen <ak@linux.intel.com>
Date: Fri, 13 Oct 2017 14:56:42 -0700
-Subject: [PATCH 066/233] x86/cpuid: Add generic table for CPUID dependencies
+Subject: [PATCH 066/241] x86/cpuid: Add generic table for CPUID dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From df469cffe07c84906be43e89d33f2a8a5312e60f Mon Sep 17 00:00:00 2001
From: Andi Kleen <ak@linux.intel.com>
Date: Fri, 13 Oct 2017 14:56:43 -0700
-Subject: [PATCH 067/233] x86/fpu: Parse clearcpuid= as early XSAVE argument
+Subject: [PATCH 067/241] x86/fpu: Parse clearcpuid= as early XSAVE argument
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 1b88ea4170f72b4fed72e9235c88b6121f153b21 Mon Sep 17 00:00:00 2001
From: Andi Kleen <ak@linux.intel.com>
Date: Fri, 13 Oct 2017 14:56:44 -0700
-Subject: [PATCH 068/233] x86/fpu: Make XSAVE check the base CPUID features
+Subject: [PATCH 068/241] x86/fpu: Make XSAVE check the base CPUID features
before enabling
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 9b2405a12593b1ba7894cf249ddeada92a658463 Mon Sep 17 00:00:00 2001
From: Andi Kleen <ak@linux.intel.com>
Date: Fri, 13 Oct 2017 14:56:45 -0700
-Subject: [PATCH 069/233] x86/fpu: Remove the explicit clearing of XSAVE
+Subject: [PATCH 069/241] x86/fpu: Remove the explicit clearing of XSAVE
dependent features
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 6d96a02c961d41d82738bce9806c430d99acc9f8 Mon Sep 17 00:00:00 2001
From: Kees Cook <keescook@chromium.org>
Date: Mon, 16 Oct 2017 16:22:31 -0700
-Subject: [PATCH 070/233] x86/platform/UV: Convert timers to use timer_setup()
+Subject: [PATCH 070/241] x86/platform/UV: Convert timers to use timer_setup()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From ca358ca3d22248f099a09d65ee25410cf3beebc5 Mon Sep 17 00:00:00 2001
From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Date: Sat, 14 Oct 2017 20:17:54 +0530
-Subject: [PATCH 071/233] objtool: Print top level commands on incorrect usage
+Subject: [PATCH 071/241] objtool: Print top level commands on incorrect usage
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From a827c0ac43c2dc1e5e0528ebd4b2ca2d74534e18 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 18 Oct 2017 19:39:35 +0200
-Subject: [PATCH 072/233] x86/cpuid: Prevent out of bound access in
+Subject: [PATCH 072/241] x86/cpuid: Prevent out of bound access in
do_clear_cpu_cap()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 1e3688f9e76b3d8b218ed1afa292585a91b0b0c6 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Wed, 18 Oct 2017 10:21:07 -0700
-Subject: [PATCH 073/233] x86/entry: Use SYSCALL_DEFINE() macros for
+Subject: [PATCH 073/241] x86/entry: Use SYSCALL_DEFINE() macros for
sys_modify_ldt()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From cc87e9d44044fb3ae4145d6ad9574697439b03bf Mon Sep 17 00:00:00 2001
From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Date: Fri, 29 Sep 2017 17:08:16 +0300
-Subject: [PATCH 074/233] mm/sparsemem: Allocate mem_section at runtime for
+Subject: [PATCH 074/241] mm/sparsemem: Allocate mem_section at runtime for
CONFIG_SPARSEMEM_EXTREME=y
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From f6bb8e560b2229af5dcf3127fc92e732539b4823 Mon Sep 17 00:00:00 2001
From: Andrey Ryabinin <aryabinin@virtuozzo.com>
Date: Fri, 29 Sep 2017 17:08:18 +0300
-Subject: [PATCH 075/233] x86/kasan: Use the same shadow offset for 4- and
+Subject: [PATCH 075/241] x86/kasan: Use the same shadow offset for 4- and
5-level paging
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From cac8711a9ba742e97090cc5ec522360f1549c584 Mon Sep 17 00:00:00 2001
From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Date: Fri, 29 Sep 2017 17:08:19 +0300
-Subject: [PATCH 076/233] x86/xen: Provide pre-built page tables only for
+Subject: [PATCH 076/241] x86/xen: Provide pre-built page tables only for
CONFIG_XEN_PV=y and CONFIG_XEN_PVH=y
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From ed422950e50aeb9a05920e7387b4dd7c8dc2fc67 Mon Sep 17 00:00:00 2001
From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Date: Fri, 29 Sep 2017 17:08:20 +0300
-Subject: [PATCH 077/233] x86/xen: Drop 5-level paging support code from the
+Subject: [PATCH 077/241] x86/xen: Drop 5-level paging support code from the
XEN_PV code
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 8edefc098e2ff088d8c22d034bf8a5adf76b7295 Mon Sep 17 00:00:00 2001
From: Dongjiu Geng <gengdongjiu@huawei.com>
Date: Tue, 17 Oct 2017 16:02:20 +0800
-Subject: [PATCH 078/233] ACPI / APEI: remove the unused dead-code for SEA/NMI
+Subject: [PATCH 078/241] ACPI / APEI: remove the unused dead-code for SEA/NMI
notification type
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 05096d194a52721b3f4add5f854fc62296b82e72 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Fri, 20 Oct 2017 11:21:35 -0500
-Subject: [PATCH 079/233] x86/asm: Don't use the confusing '.ifeq' directive
+Subject: [PATCH 079/241] x86/asm: Don't use the confusing '.ifeq' directive
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 183c7a0eddfea6359e977cc5216972b4cc875e0d Mon Sep 17 00:00:00 2001
From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Fri, 27 Oct 2017 13:11:10 +0900
-Subject: [PATCH 080/233] x86/build: Beautify build log of syscall headers
+Subject: [PATCH 080/241] x86/build: Beautify build log of syscall headers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 32cae4ea1b3927843b18c32e8e1cdfab8a0b2c19 Mon Sep 17 00:00:00 2001
From: Baoquan He <bhe@redhat.com>
Date: Sat, 28 Oct 2017 09:30:38 +0800
-Subject: [PATCH 081/233] x86/mm/64: Rename the register_page_bootmem_memmap()
+Subject: [PATCH 081/241] x86/mm/64: Rename the register_page_bootmem_memmap()
'size' parameter to 'nr_pages'
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 59557ab0237e7474402d4240c55f119a86dadc7d Mon Sep 17 00:00:00 2001
From: Gayatri Kammela <gayatri.kammela@intel.com>
Date: Mon, 30 Oct 2017 18:20:29 -0700
-Subject: [PATCH 082/233] x86/cpufeatures: Enable new SSE/AVX/AVX512 CPU
+Subject: [PATCH 082/241] x86/cpufeatures: Enable new SSE/AVX/AVX512 CPU
features
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 9e6bc95ae1c4b92d9838ee8d2ee8b0e65f4e4469 Mon Sep 17 00:00:00 2001
From: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Date: Fri, 27 Oct 2017 13:25:28 -0700
-Subject: [PATCH 083/233] x86/mm: Relocate page fault error codes to traps.h
+Subject: [PATCH 083/241] x86/mm: Relocate page fault error codes to traps.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From e0cef0182f7d13edb48119653a4fc225b0287b5a Mon Sep 17 00:00:00 2001
From: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Date: Fri, 27 Oct 2017 13:25:29 -0700
-Subject: [PATCH 084/233] x86/boot: Relocate definition of the initial state of
+Subject: [PATCH 084/241] x86/boot: Relocate definition of the initial state of
CR0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 34b5c16ae093e5663c398c87569793bfbec1c7ca Mon Sep 17 00:00:00 2001
From: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Date: Fri, 27 Oct 2017 13:25:30 -0700
-Subject: [PATCH 085/233] ptrace,x86: Make user_64bit_mode() available to
+Subject: [PATCH 085/241] ptrace,x86: Make user_64bit_mode() available to
32-bit builds
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From befef5ef70f959cd51694298c4370557e5d846cf Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:58:58 -0700
-Subject: [PATCH 086/233] x86/entry/64: Remove the restore_c_regs_and_iret
+Subject: [PATCH 086/241] x86/entry/64: Remove the restore_c_regs_and_iret
label
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 6c390918ecf72524840bc174fb5f9d007db5a9a8 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:58:59 -0700
-Subject: [PATCH 087/233] x86/entry/64: Split the IRET-to-user and
+Subject: [PATCH 087/241] x86/entry/64: Split the IRET-to-user and
IRET-to-kernel paths
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 271bc7d0577bef9f344187eb45ba8682eed242f9 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:00 -0700
-Subject: [PATCH 088/233] x86/entry/64: Move SWAPGS into the common
+Subject: [PATCH 088/241] x86/entry/64: Move SWAPGS into the common
IRET-to-usermode path
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 958fcb45b64535b87e3cfaef15a5cb41595e4187 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:01 -0700
-Subject: [PATCH 089/233] x86/entry/64: Simplify reg restore code in the
+Subject: [PATCH 089/241] x86/entry/64: Simplify reg restore code in the
standard IRET paths
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From d8fdea47d7fc1177aa0843a49dc89422ac6f4fea Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:02 -0700
-Subject: [PATCH 090/233] x86/entry/64: Shrink paranoid_exit_restore and make
+Subject: [PATCH 090/241] x86/entry/64: Shrink paranoid_exit_restore and make
labels local
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From d4b1f2361974bfffa04a528fb2ad393a55d13841 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:03 -0700
-Subject: [PATCH 091/233] x86/entry/64: Use pop instead of movq in
+Subject: [PATCH 091/241] x86/entry/64: Use pop instead of movq in
syscall_return_via_sysret
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From c48697564de6da427f1e97a38192f4d456223942 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:04 -0700
-Subject: [PATCH 092/233] x86/entry/64: Merge the fast and slow SYSRET paths
+Subject: [PATCH 092/241] x86/entry/64: Merge the fast and slow SYSRET paths
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From c801c4e1ba695ba230e97f626abaeb0c16393b09 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:05 -0700
-Subject: [PATCH 093/233] x86/entry/64: Use POP instead of MOV to restore regs
+Subject: [PATCH 093/241] x86/entry/64: Use POP instead of MOV to restore regs
on NMI return
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 8837585aa116d1aa832e524442a1e9953d17a196 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:06 -0700
-Subject: [PATCH 094/233] x86/entry/64: Remove the RESTORE_..._REGS
+Subject: [PATCH 094/241] x86/entry/64: Remove the RESTORE_..._REGS
infrastructure
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 47b64e9de8bba4e6ccd0976bce6cf99446daf82e Mon Sep 17 00:00:00 2001
From: Juergen Gross <jgross@suse.com>
Date: Thu, 2 Nov 2017 00:59:07 -0700
-Subject: [PATCH 095/233] xen, x86/entry/64: Add xen NMI trap entry
+Subject: [PATCH 095/241] xen, x86/entry/64: Add xen NMI trap entry
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 4a112915e611296f0d196bb6cb2baa99af0e9148 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:08 -0700
-Subject: [PATCH 096/233] x86/entry/64: De-Xen-ify our NMI code
+Subject: [PATCH 096/241] x86/entry/64: De-Xen-ify our NMI code
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From f16330a748c8b8db495673108d72fcfc2873d377 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:09 -0700
-Subject: [PATCH 097/233] x86/entry/32: Pull the MSR_IA32_SYSENTER_CS update
+Subject: [PATCH 097/241] x86/entry/32: Pull the MSR_IA32_SYSENTER_CS update
code out of native_load_sp0()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 3868ecbc68a9713951f3008ef3af3b9da7e67e60 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:10 -0700
-Subject: [PATCH 098/233] x86/entry/64: Pass SP0 directly to load_sp0()
+Subject: [PATCH 098/241] x86/entry/64: Pass SP0 directly to load_sp0()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 181d224dabca9a9061a6955cf3d49a4eba7294bf Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:11 -0700
-Subject: [PATCH 099/233] x86/entry: Add task_top_of_stack() to find the top of
+Subject: [PATCH 099/241] x86/entry: Add task_top_of_stack() to find the top of
a task's stack
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 232ab20b1af958a04a82fb7290a1e54c3632f771 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:12 -0700
-Subject: [PATCH 100/233] x86/xen/64, x86/entry/64: Clean up SP code in
+Subject: [PATCH 100/241] x86/xen/64, x86/entry/64: Clean up SP code in
cpu_initialize_context()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From d9170f22073657aceba14c49e8df535df4409a6c Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:13 -0700
-Subject: [PATCH 101/233] x86/entry/64: Stop initializing TSS.sp0 at boot
+Subject: [PATCH 101/241] x86/entry/64: Stop initializing TSS.sp0 at boot
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 50b7c841936979bee6b14253999518e0cf7b3523 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:14 -0700
-Subject: [PATCH 102/233] x86/entry/64: Remove all remaining direct
+Subject: [PATCH 102/241] x86/entry/64: Remove all remaining direct
thread_struct::sp0 reads
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 870277eb767ecec9293c5dd5ba5bf1c912251e85 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:15 -0700
-Subject: [PATCH 103/233] x86/entry/32: Fix cpu_current_top_of_stack
+Subject: [PATCH 103/241] x86/entry/32: Fix cpu_current_top_of_stack
initialization at boot
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From a97c6afa806d4fe6475a2d9215ff57367ee34b72 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:16 -0700
-Subject: [PATCH 104/233] x86/entry/64: Remove thread_struct::sp0
+Subject: [PATCH 104/241] x86/entry/64: Remove thread_struct::sp0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 18de1b1709a3e9bbadd97d2fb033576b24d6f889 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Thu, 2 Nov 2017 00:59:17 -0700
-Subject: [PATCH 105/233] x86/traps: Use a new on_thread_stack() helper to
+Subject: [PATCH 105/241] x86/traps: Use a new on_thread_stack() helper to
clean up an assertion
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From de4c79dbea1d23e58752c189586c5f5b751fa142 Mon Sep 17 00:00:00 2001
From: Borislav Petkov <bp@suse.de>
Date: Thu, 2 Nov 2017 13:09:26 +0100
-Subject: [PATCH 106/233] x86/entry/64: Shorten TEST instructions
+Subject: [PATCH 106/241] x86/entry/64: Shorten TEST instructions
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 3e535e66c0bd546a1891c3a8ad6bf6aae7a0829e Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 2 Nov 2017 13:22:35 +0100
-Subject: [PATCH 107/233] x86/cpuid: Replace set/clear_bit32()
+Subject: [PATCH 107/241] x86/cpuid: Replace set/clear_bit32()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 8c2a040e8b66b43da2a517410a5f26929a404df4 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 2 Nov 2017 13:30:03 +0100
-Subject: [PATCH 108/233] bitops: Revert cbe96375025e ("bitops: Add
+Subject: [PATCH 108/241] bitops: Revert cbe96375025e ("bitops: Add
clear/set_bit32() to linux/bitops.h")
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 19a0f9475a62580729769eb430d5dd38026f0f02 Mon Sep 17 00:00:00 2001
From: Borislav Petkov <bp@suse.de>
Date: Fri, 3 Nov 2017 11:20:28 +0100
-Subject: [PATCH 109/233] x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE
+Subject: [PATCH 109/241] x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From c0801cc3935e94f6c9ed132e5d616230b5d9b7d5 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@kernel.org>
Date: Tue, 31 Oct 2017 13:17:22 +0100
-Subject: [PATCH 110/233] x86/cpufeatures: Re-tabulate the X86_FEATURE
+Subject: [PATCH 110/241] x86/cpufeatures: Re-tabulate the X86_FEATURE
definitions
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 4264307e3e9665cba9220e02ada91ad9b4742711 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@kernel.org>
Date: Tue, 31 Oct 2017 13:17:23 +0100
-Subject: [PATCH 111/233] x86/cpufeatures: Fix various details in the feature
+Subject: [PATCH 111/241] x86/cpufeatures: Fix various details in the feature
definitions
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 6be390fe5b1a7e9480e9cf0f85777a8eb205ad08 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Sat, 4 Nov 2017 04:19:48 -0700
-Subject: [PATCH 112/233] selftests/x86/protection_keys: Fix syscall NR
+Subject: [PATCH 112/241] selftests/x86/protection_keys: Fix syscall NR
redefinition warnings
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From bd7ec1093f8a0a743215207ebc14cc6947ea23a0 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Sat, 4 Nov 2017 04:19:49 -0700
-Subject: [PATCH 113/233] selftests/x86/ldt_gdt: Robustify against
+Subject: [PATCH 113/241] selftests/x86/ldt_gdt: Robustify against
set_thread_area() and LAR oddities
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 5f1c500617cd1a6f629237471344ee200debaa60 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Sat, 4 Nov 2017 04:19:50 -0700
-Subject: [PATCH 114/233] selftests/x86/ldt_gdt: Add infrastructure to test
+Subject: [PATCH 114/241] selftests/x86/ldt_gdt: Add infrastructure to test
set_thread_area()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 8307fa79c19ddc006d5f816f6eb5127d9064dcd3 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Sat, 4 Nov 2017 04:19:51 -0700
-Subject: [PATCH 115/233] selftests/x86/ldt_gdt: Run most existing LDT test
+Subject: [PATCH 115/241] selftests/x86/ldt_gdt: Run most existing LDT test
cases against the GDT as well
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 26e89424fe3c13d437f960736a7b925f3953cad6 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Sat, 4 Nov 2017 04:19:52 -0700
-Subject: [PATCH 116/233] selftests/x86/ldt_get: Add a few additional tests for
+Subject: [PATCH 116/241] selftests/x86/ldt_get: Add a few additional tests for
limits
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From c18bf2e2bd1efc5430965d0110a8dfc4a25d84ad Mon Sep 17 00:00:00 2001
From: James Morse <james.morse@arm.com>
Date: Mon, 6 Nov 2017 18:44:24 +0000
-Subject: [PATCH 117/233] ACPI / APEI: Replace ioremap_page_range() with fixmap
+Subject: [PATCH 117/241] ACPI / APEI: Replace ioremap_page_range() with fixmap
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 59011dc6f59cc32a499fb926d95dad0dabb75a8f Mon Sep 17 00:00:00 2001
From: Juergen Gross <jgross@suse.com>
Date: Thu, 9 Nov 2017 14:27:35 +0100
-Subject: [PATCH 118/233] x86/virt, x86/platform: Merge 'struct x86_hyper' into
+Subject: [PATCH 118/241] x86/virt, x86/platform: Merge 'struct x86_hyper' into
'struct x86_platform' and 'struct x86_init'
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From fdde3f3305d4d393f39514cc098d1c4c2dd5634a Mon Sep 17 00:00:00 2001
From: Juergen Gross <jgross@suse.com>
Date: Thu, 9 Nov 2017 14:27:36 +0100
-Subject: [PATCH 119/233] x86/virt: Add enum for hypervisors to replace
+Subject: [PATCH 119/241] x86/virt: Add enum for hypervisors to replace
x86_hyper
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From b46c055fd71f53c0a80cf592805943193438104c Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@kernel.org>
Date: Tue, 5 Dec 2017 14:14:47 +0100
-Subject: [PATCH 120/233] drivers/misc/intel/pti: Rename the header file to
+Subject: [PATCH 120/241] drivers/misc/intel/pti: Rename the header file to
free up the namespace
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From c2c378764103c12f96d1e913c8a2ffe3af3b1360 Mon Sep 17 00:00:00 2001
From: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Date: Sun, 5 Nov 2017 18:27:51 -0800
-Subject: [PATCH 121/233] x86/cpufeature: Add User-Mode Instruction Prevention
+Subject: [PATCH 121/241] x86/cpufeature: Add User-Mode Instruction Prevention
definitions
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 5280fab9bb19e94b1ea5046dc1360f121ec64c0f Mon Sep 17 00:00:00 2001
From: Rudolf Marek <r.marek@assembler.cz>
Date: Tue, 28 Nov 2017 22:01:06 +0100
-Subject: [PATCH 122/233] x86: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on
+Subject: [PATCH 122/241] x86: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on
AMD
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 6e502c25e8279d5c02db5b59e081a5415e1734fe Mon Sep 17 00:00:00 2001
From: Andi Kleen <ak@linux.intel.com>
Date: Thu, 31 Aug 2017 14:46:30 -0700
-Subject: [PATCH 123/233] perf/x86: Enable free running PEBS for REGS_USER/INTR
+Subject: [PATCH 123/241] perf/x86: Enable free running PEBS for REGS_USER/INTR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 3dea5920365d06a5f17e33b02f0c3d5e272e09f9 Mon Sep 17 00:00:00 2001
From: Daniel Borkmann <daniel@iogearbox.net>
Date: Tue, 12 Dec 2017 02:25:31 +0100
-Subject: [PATCH 124/233] bpf: fix build issues on um due to mising
+Subject: [PATCH 124/241] bpf: fix build issues on um due to mising
bpf_perf_event.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 8b7859c0d35e5047d60c5e241fa40104b9c96f39 Mon Sep 17 00:00:00 2001
From: Will Deacon <will.deacon@arm.com>
Date: Tue, 24 Oct 2017 11:22:47 +0100
-Subject: [PATCH 125/233] locking/barriers: Add implicit
+Subject: [PATCH 125/241] locking/barriers: Add implicit
smp_read_barrier_depends() to READ_ONCE()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 9d02a406fe5f64f282832e7d0ab8fcd2631fc15a Mon Sep 17 00:00:00 2001
From: Will Deacon <will.deacon@arm.com>
Date: Tue, 24 Oct 2017 11:22:48 +0100
-Subject: [PATCH 126/233] locking/barriers: Convert users of
+Subject: [PATCH 126/241] locking/barriers: Convert users of
lockless_dereference() to READ_ONCE()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 95ee3aee92e32b90ff10f47cb6cfc414e1fd92b2 Mon Sep 17 00:00:00 2001
From: Andrey Ryabinin <aryabinin@virtuozzo.com>
Date: Wed, 15 Nov 2017 17:36:35 -0800
-Subject: [PATCH 127/233] x86/mm/kasan: Don't use vmemmap_populate() to
+Subject: [PATCH 127/241] x86/mm/kasan: Don't use vmemmap_populate() to
initialize shadow
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 783e517bb1fd814658cdb26d1d7b5d8f67b448e4 Mon Sep 17 00:00:00 2001
From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Date: Tue, 7 Nov 2017 11:33:37 +0300
-Subject: [PATCH 128/233] mm/sparsemem: Fix ARM64 boot crash when
+Subject: [PATCH 128/241] mm/sparsemem: Fix ARM64 boot crash when
CONFIG_SPARSEMEM_EXTREME=y
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 314f7c3d08de2ed14b6743dc7385a52df590645a Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 6 Nov 2017 07:21:50 -0600
-Subject: [PATCH 129/233] objtool: Move synced files to their original relative
+Subject: [PATCH 129/241] objtool: Move synced files to their original relative
locations
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From b6ebe31d563b5fade20c8516eaff92ab3122f1b8 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 6 Nov 2017 07:21:51 -0600
-Subject: [PATCH 130/233] objtool: Move kernel headers/code sync check to a
+Subject: [PATCH 130/241] objtool: Move kernel headers/code sync check to a
script
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 2a83e03f3415c542956fac4f7c43ea75a44aba1d Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Tue, 7 Nov 2017 21:01:52 -0600
-Subject: [PATCH 131/233] objtool: Fix cross-build
+Subject: [PATCH 131/241] objtool: Fix cross-build
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 6723159121227f7f8d32c09ea4c2237a40266880 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@kernel.org>
Date: Tue, 14 Nov 2017 07:24:22 +0100
-Subject: [PATCH 132/233] tools/headers: Sync objtool UAPI header
+Subject: [PATCH 132/241] tools/headers: Sync objtool UAPI header
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 475d437587dd1de2d6a53f7fbbb9bc88c7700fc3 Mon Sep 17 00:00:00 2001
From: Mikulas Patocka <mpatocka@redhat.com>
Date: Sat, 2 Dec 2017 16:17:44 -0600
-Subject: [PATCH 133/233] objtool: Fix 64-bit build on 32-bit host
+Subject: [PATCH 133/241] objtool: Fix 64-bit build on 32-bit host
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 6c80693ba5d8d09e509a5613aa6e51b59a28585c Mon Sep 17 00:00:00 2001
From: Randy Dunlap <rdunlap@infradead.org>
Date: Mon, 11 Dec 2017 10:38:36 -0800
-Subject: [PATCH 134/233] x86/decoder: Fix and update the opcodes map
+Subject: [PATCH 134/241] x86/decoder: Fix and update the opcodes map
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 73c945c5114ca89d182b9fbab0b38c8afd2da375 Mon Sep 17 00:00:00 2001
From: Masami Hiramatsu <mhiramat@kernel.org>
Date: Fri, 24 Nov 2017 13:56:30 +0900
-Subject: [PATCH 135/233] x86/decoder: Add new TEST instruction pattern
+Subject: [PATCH 135/241] x86/decoder: Add new TEST instruction pattern
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 27298389d9d09bcebf06ea47206141b22fabcaca Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@kernel.org>
Date: Sat, 23 Dec 2017 13:14:25 +0100
-Subject: [PATCH 136/233] x86/insn-eval: Add utility functions to get segment
+Subject: [PATCH 136/241] x86/insn-eval: Add utility functions to get segment
selector
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From a76244535c7a04fde0afa6971ee1ecdb8d5b0c22 Mon Sep 17 00:00:00 2001
From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Date: Mon, 4 Dec 2017 15:07:07 +0100
-Subject: [PATCH 137/233] x86/entry/64/paravirt: Use paravirt-safe macro to
+Subject: [PATCH 137/241] x86/entry/64/paravirt: Use paravirt-safe macro to
access eflags
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From bb0be747b5ee45f07f5514a214231c9061261b50 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:08 +0100
-Subject: [PATCH 138/233] x86/unwinder/orc: Dont bail on stack overflow
+Subject: [PATCH 138/241] x86/unwinder/orc: Dont bail on stack overflow
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 77f0942d5c0f9adc2a6cdd1f0f17c1c6e631b5a6 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon, 4 Dec 2017 15:07:09 +0100
-Subject: [PATCH 139/233] x86/unwinder: Handle stack overflows more gracefully
+Subject: [PATCH 139/241] x86/unwinder: Handle stack overflows more gracefully
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 2b0f4b4c0431f0e68a01a51b889c7935f6920765 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:10 +0100
-Subject: [PATCH 140/233] x86/irq: Remove an old outdated comment about context
+Subject: [PATCH 140/241] x86/irq: Remove an old outdated comment about context
tracking races
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 3c131c80b6a5a95ab9a24e444ef02eba38710840 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:11 +0100
-Subject: [PATCH 141/233] x86/irq/64: Print the offending IP in the stack
+Subject: [PATCH 141/241] x86/irq/64: Print the offending IP in the stack
overflow warning
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From c8756c2077aba1a33ec603766211fdb1dad34577 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:12 +0100
-Subject: [PATCH 142/233] x86/entry/64: Allocate and enable the SYSENTER stack
+Subject: [PATCH 142/241] x86/entry/64: Allocate and enable the SYSENTER stack
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 45b01b77bd3529e761bca6de0f0ed79549377479 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:13 +0100
-Subject: [PATCH 143/233] x86/dumpstack: Add get_stack_info() support for the
+Subject: [PATCH 143/241] x86/dumpstack: Add get_stack_info() support for the
SYSENTER stack
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 337719d1c25c12c21a989f26ece1859c8007642f Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:14 +0100
-Subject: [PATCH 144/233] x86/entry/gdt: Put per-CPU GDT remaps in ascending
+Subject: [PATCH 144/241] x86/entry/gdt: Put per-CPU GDT remaps in ascending
order
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 2566b1447443f0dfaf167f43142facebf687c327 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:15 +0100
-Subject: [PATCH 145/233] x86/mm/fixmap: Generalize the GDT fixmap mechanism,
+Subject: [PATCH 145/241] x86/mm/fixmap: Generalize the GDT fixmap mechanism,
introduce struct cpu_entry_area
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 37fa97179211b36e3b5d3eb2dae94ad420ea9732 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:16 +0100
-Subject: [PATCH 146/233] x86/kasan/64: Teach KASAN about the cpu_entry_area
+Subject: [PATCH 146/241] x86/kasan/64: Teach KASAN about the cpu_entry_area
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 01e4ee94acbd960e302c23481529a5f5323d9969 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:17 +0100
-Subject: [PATCH 147/233] x86/entry: Fix assumptions that the HW TSS is at the
+Subject: [PATCH 147/241] x86/entry: Fix assumptions that the HW TSS is at the
beginning of cpu_tss
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 11739f104753550b4d256207c07a75f667b7aae4 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:18 +0100
-Subject: [PATCH 148/233] x86/dumpstack: Handle stack overflow on all stacks
+Subject: [PATCH 148/241] x86/dumpstack: Handle stack overflow on all stacks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From fd5a4c6a4fbf0025ebf77092af09530d708a1264 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:19 +0100
-Subject: [PATCH 149/233] x86/entry: Move SYSENTER_stack to the beginning of
+Subject: [PATCH 149/241] x86/entry: Move SYSENTER_stack to the beginning of
struct tss_struct
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 4fed46b725eeb81ae0c3aa55167eccb7d9bfae85 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:20 +0100
-Subject: [PATCH 150/233] x86/entry: Remap the TSS into the CPU entry area
+Subject: [PATCH 150/241] x86/entry: Remap the TSS into the CPU entry area
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From c2cd64d7bc24a46e3192246a97b30ca5a9692d42 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:21 +0100
-Subject: [PATCH 151/233] x86/entry/64: Separate cpu_current_top_of_stack from
+Subject: [PATCH 151/241] x86/entry/64: Separate cpu_current_top_of_stack from
TSS.sp0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 9715c46ae2c6d48c0e34409efad8d260a67ca6d6 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:22 +0100
-Subject: [PATCH 152/233] x86/espfix/64: Stop assuming that pt_regs is on the
+Subject: [PATCH 152/241] x86/espfix/64: Stop assuming that pt_regs is on the
entry stack
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 98a0f7841c6cdd3f882548ed3975df7b22cfa482 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:23 +0100
-Subject: [PATCH 153/233] x86/entry/64: Use a per-CPU trampoline stack for IDT
+Subject: [PATCH 153/241] x86/entry/64: Use a per-CPU trampoline stack for IDT
entries
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From eb1bbc0f0023eadafe368704180f4af739aca9a9 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:24 +0100
-Subject: [PATCH 154/233] x86/entry/64: Return to userspace from the trampoline
+Subject: [PATCH 154/241] x86/entry/64: Return to userspace from the trampoline
stack
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 2ae2b7902084742e84eac3e32409f0d9ff4811d8 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:25 +0100
-Subject: [PATCH 155/233] x86/entry/64: Create a per-CPU SYSCALL entry
+Subject: [PATCH 155/241] x86/entry/64: Create a per-CPU SYSCALL entry
trampoline
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 548bfd4d539c4e13eb86236f8f09596e3663c38b Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:26 +0100
-Subject: [PATCH 156/233] x86/entry/64: Move the IST stacks into struct
+Subject: [PATCH 156/241] x86/entry/64: Move the IST stacks into struct
cpu_entry_area
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From b153f8e687bf0739b113445d3cfe029593e9484a Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:27 +0100
-Subject: [PATCH 157/233] x86/entry/64: Remove the SYSENTER stack canary
+Subject: [PATCH 157/241] x86/entry/64: Remove the SYSENTER stack canary
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From f9bbe642761e841720222bcb912d920875f6ead2 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:28 +0100
-Subject: [PATCH 158/233] x86/entry: Clean up the SYSENTER_stack code
+Subject: [PATCH 158/241] x86/entry: Clean up the SYSENTER_stack code
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From a4da7aed31f0355b881bdeeb3d269a20759f16a8 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:29 +0100
-Subject: [PATCH 159/233] x86/entry/64: Make cpu_entry_area.tss read-only
+Subject: [PATCH 159/241] x86/entry/64: Make cpu_entry_area.tss read-only
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 0f8a85764c86b5ce79e22969f87b2da087b05729 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Dec 2017 15:07:30 +0100
-Subject: [PATCH 160/233] x86/paravirt: Dont patch flush_tlb_single
+Subject: [PATCH 160/241] x86/paravirt: Dont patch flush_tlb_single
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 75ea12fecab1f4af63b39227509bf706b3faf21d Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Dec 2017 15:07:31 +0100
-Subject: [PATCH 161/233] x86/paravirt: Provide a way to check for hypervisors
+Subject: [PATCH 161/241] x86/paravirt: Provide a way to check for hypervisors
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From f9bdf4dc3a7719aa39df4abe58efe3db3fb8b037 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Dec 2017 15:07:32 +0100
-Subject: [PATCH 162/233] x86/cpufeatures: Make CPU bugs sticky
+Subject: [PATCH 162/241] x86/cpufeatures: Make CPU bugs sticky
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 883f164f2205159613e17e6550c7ff44cef0ff01 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 20 Dec 2017 18:02:34 +0100
-Subject: [PATCH 163/233] x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount
+Subject: [PATCH 163/241] x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From d54a0500d55a2856efdea3b427e91d8fcf74ca63 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 16 Dec 2017 01:14:39 +0100
-Subject: [PATCH 164/233] x86/mm/dump_pagetables: Check PAGE_PRESENT for real
+Subject: [PATCH 164/241] x86/mm/dump_pagetables: Check PAGE_PRESENT for real
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From e16f646082d458ec595304dbc2e6906fdc417495 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 20 Dec 2017 18:07:42 +0100
-Subject: [PATCH 165/233] x86/mm/dump_pagetables: Make the address hints
+Subject: [PATCH 165/241] x86/mm/dump_pagetables: Make the address hints
correct and readable
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 1150912f8311cdf3d7f394528dcacf0f95d892d6 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Sun, 10 Dec 2017 22:47:19 -0800
-Subject: [PATCH 166/233] x86/vsyscall/64: Explicitly set _PAGE_USER in the
+Subject: [PATCH 166/241] x86/vsyscall/64: Explicitly set _PAGE_USER in the
pagetable hierarchy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From e8354b2be6f97e97515021452082436cec8857ea Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Sun, 10 Dec 2017 22:47:20 -0800
-Subject: [PATCH 167/233] x86/vsyscall/64: Warn and fail vsyscall emulation in
+Subject: [PATCH 167/241] x86/vsyscall/64: Warn and fail vsyscall emulation in
NATIVE mode
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 45f502dae27e55fa46c65e71c226eec759ea7385 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Dec 2017 12:27:29 +0100
-Subject: [PATCH 168/233] arch, mm: Allow arch_dup_mmap() to fail
+Subject: [PATCH 168/241] arch, mm: Allow arch_dup_mmap() to fail
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From b37d3e3a9b29caf78e2da6efba8959fc912e47a0 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Thu, 14 Dec 2017 12:27:30 +0100
-Subject: [PATCH 169/233] x86/ldt: Rework locking
+Subject: [PATCH 169/241] x86/ldt: Rework locking
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From ac21d052bf1fbdb4162b1fa522703f4f003f37c1 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Dec 2017 12:27:31 +0100
-Subject: [PATCH 170/233] x86/ldt: Prevent LDT inheritance on exec
+Subject: [PATCH 170/241] x86/ldt: Prevent LDT inheritance on exec
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From fd143ce57a7cfaf015f1c0274b9f071f4046696a Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Tue, 12 Dec 2017 07:56:43 -0800
-Subject: [PATCH 171/233] x86/mm/64: Improve the memory map documentation
+Subject: [PATCH 171/241] x86/mm/64: Improve the memory map documentation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 8ae2a4b32fa54630c9b3c2302aa8faeb5a513e98 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 5 Dec 2017 13:34:54 +0100
-Subject: [PATCH 172/233] x86/doc: Remove obvious weirdnesses from the x86 MM
+Subject: [PATCH 172/241] x86/doc: Remove obvious weirdnesses from the x86 MM
layout documentation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 3437c6490b62ab15493658a4b9b19786e270bcb2 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 17:25:07 -0800
-Subject: [PATCH 173/233] x86/entry: Rename SYSENTER_stack to
+Subject: [PATCH 173/241] x86/entry: Rename SYSENTER_stack to
CPU_ENTRY_AREA_entry_stack
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 37d56f22c5e02a6594bdae33e257d9ee420a83df Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 5 Dec 2017 13:34:50 +0100
-Subject: [PATCH 174/233] x86/uv: Use the right TLB-flush API
+Subject: [PATCH 174/241] x86/uv: Use the right TLB-flush API
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From e80edf9b45a0465ce8fbded75f6d5f218039a67c Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 5 Dec 2017 13:34:51 +0100
-Subject: [PATCH 175/233] x86/microcode: Dont abuse the TLB-flush interface
+Subject: [PATCH 175/241] x86/microcode: Dont abuse the TLB-flush interface
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 23e04cdf533d255ec9b5bb58229b6785b17fd3f1 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 5 Dec 2017 13:34:49 +0100
-Subject: [PATCH 176/233] x86/mm: Use __flush_tlb_one() for kernel memory
+Subject: [PATCH 176/241] x86/mm: Use __flush_tlb_one() for kernel memory
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From bf670c55337b76ab2449abe15d3fd3c11b14c013 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 5 Dec 2017 13:34:46 +0100
-Subject: [PATCH 177/233] x86/mm: Remove superfluous barriers
+Subject: [PATCH 177/241] x86/mm: Remove superfluous barriers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 0e75b184111dbcd07911712bd87991df186c5fd3 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 5 Dec 2017 13:34:52 +0100
-Subject: [PATCH 178/233] x86/mm: Add comments to clarify which TLB-flush
+Subject: [PATCH 178/241] x86/mm: Add comments to clarify which TLB-flush
functions are supposed to flush what
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From f978416e1df8d655e6ac7ae848928441cf33d598 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:07:54 +0100
-Subject: [PATCH 179/233] x86/mm: Move the CR3 construction functions to
+Subject: [PATCH 179/241] x86/mm: Move the CR3 construction functions to
tlbflush.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From f847420cd768a0b95c3159ab822c30c909f0e5ee Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:07:55 +0100
-Subject: [PATCH 180/233] x86/mm: Remove hard-coded ASID limit checks
+Subject: [PATCH 180/241] x86/mm: Remove hard-coded ASID limit checks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 427fbe54a8df451acd3cd31a4d6dbb1753036dee Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:07:56 +0100
-Subject: [PATCH 181/233] x86/mm: Put MMU to hardware ASID translation in one
+Subject: [PATCH 181/241] x86/mm: Put MMU to hardware ASID translation in one
place
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From a67ab82a8f60f725b002034dff10f28c7e2ac88e Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 5 Dec 2017 13:34:47 +0100
-Subject: [PATCH 182/233] x86/mm: Create asm/invpcid.h
+Subject: [PATCH 182/241] x86/mm: Create asm/invpcid.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From c03a5cb44d69723a8a2aa0b3b4808d28ea749431 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 20 Dec 2017 18:28:54 +0100
-Subject: [PATCH 183/233] x86/cpu_entry_area: Move it to a separate unit
+Subject: [PATCH 183/241] x86/cpu_entry_area: Move it to a separate unit
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 1463b91d69f9e8ce61d264c4d108251192a9afbf Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 20 Dec 2017 18:51:31 +0100
-Subject: [PATCH 184/233] x86/cpu_entry_area: Move it out of the fixmap
+Subject: [PATCH 184/241] x86/cpu_entry_area: Move it out of the fixmap
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From a6bd428da9f8bbc467b119ef5dc9ad4a1fb58acc Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 17 Dec 2017 10:56:29 +0100
-Subject: [PATCH 185/233] init: Invoke init_espfix_bsp() from mm_init()
+Subject: [PATCH 185/241] init: Invoke init_espfix_bsp() from mm_init()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 23aa91651cbaf32f10ff75f02c281493ee677dcb Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 23 Dec 2017 19:45:11 +0100
-Subject: [PATCH 186/233] x86/cpu_entry_area: Prevent wraparound in
+Subject: [PATCH 186/241] x86/cpu_entry_area: Prevent wraparound in
setup_cpu_entry_area_ptes() on 32bit
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 05be4302d695b8676c90b26abe0495df58602685 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Dec 2017 15:07:33 +0100
-Subject: [PATCH 187/233] x86/cpufeatures: Add X86_BUG_CPU_INSECURE
+Subject: [PATCH 187/241] x86/cpufeatures: Add X86_BUG_CPU_INSECURE
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 22da8888c8168530496ddfc0867181a8910089b3 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:07:34 +0100
-Subject: [PATCH 188/233] x86/mm/pti: Disable global pages if
+Subject: [PATCH 188/241] x86/mm/pti: Disable global pages if
PAGE_TABLE_ISOLATION=y
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From e3d1463a9c719eda9d9c566dd55b287018b320c0 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:07:35 +0100
-Subject: [PATCH 189/233] x86/mm/pti: Prepare the x86/entry assembly code for
+Subject: [PATCH 189/241] x86/mm/pti: Prepare the x86/entry assembly code for
entry/exit CR3 switching
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 384e4cfab1886f8abb94fe16abbad2a034612f78 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Dec 2017 15:07:36 +0100
-Subject: [PATCH 190/233] x86/mm/pti: Add infrastructure for page table
+Subject: [PATCH 190/241] x86/mm/pti: Add infrastructure for page table
isolation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From d6b6a8fa92efd244f759ab8ded4ccaebac2b762c Mon Sep 17 00:00:00 2001
From: Borislav Petkov <bp@suse.de>
Date: Tue, 12 Dec 2017 14:39:52 +0100
-Subject: [PATCH 191/233] x86/pti: Add the pti= cmdline option and
+Subject: [PATCH 191/241] x86/pti: Add the pti= cmdline option and
documentation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 1cb923a3733ac738f0d96fe4738bdf159db86cfd Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:07:37 +0100
-Subject: [PATCH 192/233] x86/mm/pti: Add mapping helper functions
+Subject: [PATCH 192/241] x86/mm/pti: Add mapping helper functions
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From ea96d1e71945047c9e0af526e68b18782acc12c4 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:07:38 +0100
-Subject: [PATCH 193/233] x86/mm/pti: Allow NX poison to be set in p4d/pgd
+Subject: [PATCH 193/241] x86/mm/pti: Allow NX poison to be set in p4d/pgd
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 39f179e9baa1728a99a60c5933b1a4a3db73e617 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:07:39 +0100
-Subject: [PATCH 194/233] x86/mm/pti: Allocate a separate user PGD
+Subject: [PATCH 194/241] x86/mm/pti: Allocate a separate user PGD
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 3bc42412073e1c559266e2b07bc1fbce154d92dc Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:07:40 +0100
-Subject: [PATCH 195/233] x86/mm/pti: Populate user PGD
+Subject: [PATCH 195/241] x86/mm/pti: Populate user PGD
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From bcb5ffbfba8c6c557ad536eb9084040b8e52923e Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:42 +0100
-Subject: [PATCH 196/233] x86/mm/pti: Add functions to clone kernel PMDs
+Subject: [PATCH 196/241] x86/mm/pti: Add functions to clone kernel PMDs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 4eeffdaf7e8e034633bab44f61c5f92002179d28 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Dec 2017 15:07:43 +0100
-Subject: [PATCH 197/233] x86/mm/pti: Force entry through trampoline when PTI
+Subject: [PATCH 197/241] x86/mm/pti: Force entry through trampoline when PTI
active
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 0e6d8e0cd5b1439d97f56445aef57d8839580b33 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Mon, 4 Dec 2017 15:07:45 +0100
-Subject: [PATCH 198/233] x86/mm/pti: Share cpu_entry_area with user space page
+Subject: [PATCH 198/241] x86/mm/pti: Share cpu_entry_area with user space page
tables
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 1b3d3968bb45b557ce76eaf3edf894aead9e9c03 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Dec 2017 15:07:46 +0100
-Subject: [PATCH 199/233] x86/entry: Align entry text section to PMD boundary
+Subject: [PATCH 199/241] x86/entry: Align entry text section to PMD boundary
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 9b8667a59df870d8f965d6681cb18843302c8510 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Dec 2017 15:07:47 +0100
-Subject: [PATCH 200/233] x86/mm/pti: Share entry text PMD
+Subject: [PATCH 200/241] x86/mm/pti: Share entry text PMD
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 9378cf5830b41fc4659335da883d2a1d52fe0661 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Fri, 15 Dec 2017 22:08:18 +0100
-Subject: [PATCH 201/233] x86/mm/pti: Map ESPFIX into user space
+Subject: [PATCH 201/241] x86/mm/pti: Map ESPFIX into user space
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From a1ccda197e7a758c8e9b7be299e9beaf3ca3ed51 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Dec 2017 15:07:49 +0100
-Subject: [PATCH 202/233] x86/cpu_entry_area: Add debugstore entries to
+Subject: [PATCH 202/241] x86/cpu_entry_area: Add debugstore entries to
cpu_entry_area
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 68338a3b7267b4fc346630b2d82a3599b5fbf54e Mon Sep 17 00:00:00 2001
From: Hugh Dickins <hughd@google.com>
Date: Mon, 4 Dec 2017 15:07:50 +0100
-Subject: [PATCH 203/233] x86/events/intel/ds: Map debug buffers in
+Subject: [PATCH 203/241] x86/events/intel/ds: Map debug buffers in
cpu_entry_area
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 7fe019fa29881889890256644249222a0c93697a Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Tue, 12 Dec 2017 07:56:44 -0800
-Subject: [PATCH 204/233] x86/mm/64: Make a full PGD-entry size hole in the
+Subject: [PATCH 204/241] x86/mm/64: Make a full PGD-entry size hole in the
memory map
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From e0e5d2785d4b282a1f82f36199f52f9196868d6b Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Tue, 12 Dec 2017 07:56:45 -0800
-Subject: [PATCH 205/233] x86/pti: Put the LDT in its own PGD if PTI is on
+Subject: [PATCH 205/241] x86/pti: Put the LDT in its own PGD if PTI is on
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 7505dd405211a42c3abf52ef33b97eea470aaf60 Mon Sep 17 00:00:00 2001
From: Andy Lutomirski <luto@kernel.org>
Date: Tue, 12 Dec 2017 07:56:42 -0800
-Subject: [PATCH 206/233] x86/pti: Map the vsyscall page if needed
+Subject: [PATCH 206/241] x86/pti: Map the vsyscall page if needed
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From c84a1d7630152f64ebe07519e757de5c1cf70808 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:07:57 +0100
-Subject: [PATCH 207/233] x86/mm: Allow flushing for future ASID switches
+Subject: [PATCH 207/241] x86/mm: Allow flushing for future ASID switches
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 7cc2d98148d5b5be191f4dbf4c29d4d6da93a9f8 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:07:58 +0100
-Subject: [PATCH 208/233] x86/mm: Abstract switching CR3
+Subject: [PATCH 208/241] x86/mm: Abstract switching CR3
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 99351a96543de29896fdc6e8a41fb60ae97b18e1 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Mon, 4 Dec 2017 15:07:59 +0100
-Subject: [PATCH 209/233] x86/mm: Use/Fix PCID to optimize user/kernel switches
+Subject: [PATCH 209/241] x86/mm: Use/Fix PCID to optimize user/kernel switches
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From eb4a670cb54266bfab7bb4d9fd9e5da7b296ecdf Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Mon, 4 Dec 2017 15:08:00 +0100
-Subject: [PATCH 210/233] x86/mm: Optimize RESTORE_CR3
+Subject: [PATCH 210/241] x86/mm: Optimize RESTORE_CR3
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 534c2338c3f72069910c06eba7693a4a1d15faf8 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:08:01 +0100
-Subject: [PATCH 211/233] x86/mm: Use INVPCID for __native_flush_tlb_single()
+Subject: [PATCH 211/241] x86/mm: Use INVPCID for __native_flush_tlb_single()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From c8bd55aa2deb4e7491561567e8e01b71ab61ffe4 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 5 Dec 2017 13:34:53 +0100
-Subject: [PATCH 212/233] x86/mm: Clarify the whole ASID/kernel PCID/user PCID
+Subject: [PATCH 212/241] x86/mm: Clarify the whole ASID/kernel PCID/user PCID
naming
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From c7ef01f56951b1c876069387c44e11575288f3d2 Mon Sep 17 00:00:00 2001
From: Vlastimil Babka <vbabka@suse.cz>
Date: Tue, 19 Dec 2017 22:33:46 +0100
-Subject: [PATCH 213/233] x86/dumpstack: Indicate in Oops whether PTI is
+Subject: [PATCH 213/241] x86/dumpstack: Indicate in Oops whether PTI is
configured and enabled
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 0692cf84257a92f7be9553af55d65c668e2b3bc8 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave.hansen@linux.intel.com>
Date: Mon, 4 Dec 2017 15:08:03 +0100
-Subject: [PATCH 214/233] x86/mm/pti: Add Kconfig
+Subject: [PATCH 214/241] x86/mm/pti: Add Kconfig
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From d03b4d2a3e43228bb98fae4c6f5365d4f9d00f4c Mon Sep 17 00:00:00 2001
From: Borislav Petkov <bp@suse.de>
Date: Mon, 4 Dec 2017 15:08:04 +0100
-Subject: [PATCH 215/233] x86/mm/dump_pagetables: Add page table directory to
+Subject: [PATCH 215/241] x86/mm/dump_pagetables: Add page table directory to
the debugfs VFS hierarchy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 2ed23a29f6f9c736c86dcc8d8ab87cc670593503 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Dec 2017 15:08:05 +0100
-Subject: [PATCH 216/233] x86/mm/dump_pagetables: Check user space page table
+Subject: [PATCH 216/241] x86/mm/dump_pagetables: Check user space page table
for WX pages
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 0a708f5b66f8b49338f8cf8b6d84d3fdc7b3f67f Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Dec 2017 15:08:06 +0100
-Subject: [PATCH 217/233] x86/mm/dump_pagetables: Allow dumping current
+Subject: [PATCH 217/241] x86/mm/dump_pagetables: Allow dumping current
pagetables
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From d1feee4957a5cb314ec0b3c4ca86ba79ccaeceb8 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 15 Dec 2017 20:35:11 +0100
-Subject: [PATCH 218/233] x86/ldt: Make the LDT mapping RO
+Subject: [PATCH 218/241] x86/ldt: Make the LDT mapping RO
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 079b59f4b5c810ea51534a8d7bcee4860589b5c1 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 30 Dec 2017 22:13:53 +0100
-Subject: [PATCH 219/233] x86/smpboot: Remove stale TLB flush invocations
+Subject: [PATCH 219/241] x86/smpboot: Remove stale TLB flush invocations
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 5a86516e393d12bb3965342f1f690db319d01241 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 30 Dec 2017 22:13:54 +0100
-Subject: [PATCH 220/233] x86/mm: Remove preempt_disable/enable() from
+Subject: [PATCH 220/241] x86/mm: Remove preempt_disable/enable() from
__native_flush_tlb()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From f7b3a0038fd5bdc21d05f09002e16db3ea8e6e3b Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 31 Dec 2017 11:24:34 +0100
-Subject: [PATCH 221/233] x86/ldt: Plug memory leak in error path
+Subject: [PATCH 221/241] x86/ldt: Plug memory leak in error path
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 35ef33d8c7a31a246e499588a28717ef0bfa2a91 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 31 Dec 2017 16:52:15 +0100
-Subject: [PATCH 222/233] x86/ldt: Make LDT pgtable free conditional
+Subject: [PATCH 222/241] x86/ldt: Make LDT pgtable free conditional
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 22ad4e1d6ca8885ad2cca842838125de9130eb7a Mon Sep 17 00:00:00 2001
From: Andy Whitcroft <apw@canonical.com>
Date: Mon, 18 Dec 2017 12:09:25 +0000
-Subject: [PATCH 223/233] UBUNTU: [Config] updateconfigs to enable PTI
+Subject: [PATCH 223/241] UBUNTU: [Config] updateconfigs to enable PTI
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 59b914593681a98524e4f3ba239544f77f03d14a Mon Sep 17 00:00:00 2001
From: Paolo Bonzini <pbonzini@redhat.com>
Date: Thu, 21 Dec 2017 00:49:14 +0100
-Subject: [PATCH 224/233] kvm: x86: fix RSM when PCID is non-zero
+Subject: [PATCH 224/241] kvm: x86: fix RSM when PCID is non-zero
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From ee46485b45de9c2008e3ef5f847041fc18743052 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 3 Jan 2018 19:52:04 +0100
-Subject: [PATCH 225/233] x86/pti: Switch to kernel CR3 at early in
+Subject: [PATCH 225/241] x86/pti: Switch to kernel CR3 at early in
entry_SYSCALL_compat()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 3c5659ffcc9d2497045dda465a35720f78314e87 Mon Sep 17 00:00:00 2001
From: Jann Horn <jannh@google.com>
Date: Thu, 4 Jan 2018 08:01:21 -0600
-Subject: [PATCH 226/233] UBUNTU: SAUCE: bpf: reject out-of-bounds stack
+Subject: [PATCH 226/241] UBUNTU: SAUCE: bpf: reject out-of-bounds stack
pointer calculation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 652c6cabaf30e4c75f7dc2c42a33a8f066d7df2c Mon Sep 17 00:00:00 2001
From: Jann Horn <jannh@google.com>
Date: Thu, 4 Jan 2018 08:01:22 -0600
-Subject: [PATCH 227/233] bpf: fix incorrect sign extension in check_alu_op()
+Subject: [PATCH 227/241] bpf: fix incorrect sign extension in check_alu_op()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 9327cee21ebe7ca7a82c27c209e1fa3ac3d23232 Mon Sep 17 00:00:00 2001
From: Ben Hutchings <ben@decadent.org.uk>
Date: Thu, 4 Jan 2018 08:01:23 -0600
-Subject: [PATCH 228/233] UBUNTU: SAUCE: bpf/verifier: Fix states_equal()
+Subject: [PATCH 228/241] UBUNTU: SAUCE: bpf/verifier: Fix states_equal()
comparison of pointer and UNKNOWN
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 4cdf7c9d4e0958e38635df638229bba6f562511a Mon Sep 17 00:00:00 2001
From: Alexei Starovoitov <ast@fb.com>
Date: Thu, 4 Jan 2018 08:01:24 -0600
-Subject: [PATCH 229/233] bpf: fix branch pruning logic
+Subject: [PATCH 229/241] bpf: fix branch pruning logic
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From 3642d7fb8bcab15ab1f82531f8120e22181cd7da Mon Sep 17 00:00:00 2001
From: Andy Whitcroft <apw@canonical.com>
Date: Wed, 20 Dec 2017 13:33:50 +0000
-Subject: [PATCH 230/233] UBUNTU: SAUCE: only attempt to use PCID in 64 bit
+Subject: [PATCH 230/241] UBUNTU: SAUCE: only attempt to use PCID in 64 bit
builds
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From 13df3feb2ec154e844bca62c6bb7b91ced2b067c Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Sat, 6 Jan 2018 10:26:31 +0000
-Subject: [PATCH 231/233] UBUNTU: SAUCE: BODGE: temporarily disable some kprobe
+Subject: [PATCH 231/241] UBUNTU: SAUCE: BODGE: temporarily disable some kprobe
trace points which are cratering
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
From c59a61438e9a8f24a50171ac9d3b98e8f3719d07 Mon Sep 17 00:00:00 2001
From: Jim Mattson <jmattson@google.com>
Date: Wed, 3 Jan 2018 14:31:38 -0800
-Subject: [PATCH 232/233] kvm: vmx: Scrub hardware GPRs at VM-exit
+Subject: [PATCH 232/241] kvm: vmx: Scrub hardware GPRs at VM-exit
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From a87e8a4126593de7ea94dcc2695f6cd879656c26 Mon Sep 17 00:00:00 2001
From: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
Date: Sat, 6 Jan 2018 17:50:34 -0200
-Subject: [PATCH 233/233] objtool: use sh to invoke sync-check.sh in the
+Subject: [PATCH 233/241] objtool: use sh to invoke sync-check.sh in the
Makefile
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
--- /dev/null
+From 6d702112480b7badb937ca28544c0d792f175aee Mon Sep 17 00:00:00 2001
+From: Thomas Gleixner <tglx@linutronix.de>
+Date: Thu, 4 Jan 2018 22:19:04 +0100
+Subject: [PATCH 234/241] x86/tlb: Drop the _GPL from the cpu_tlbstate export
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+commit 1e5476815fd7f98b888e01a0f9522b63085f96c9 upstream.
+
+The recent changes for PTI touch cpu_tlbstate from various tlb_flush
+inlines. cpu_tlbstate is exported as GPL symbol, so this causes a
+regression when building out of tree drivers for certain graphics cards.
+
+Aside of that the export was wrong since it was introduced as it should
+have been EXPORT_PER_CPU_SYMBOL_GPL().
+
+Use the correct PER_CPU export and drop the _GPL to restore the previous
+state which allows users to utilize the cards they payed for.
+
+As always I'm really thrilled to make this kind of change to support the
+#friends (or however the hot hashtag of today is spelled) from that closet
+sauce graphics corp.
+
+Fixes: 1e02ce4cccdc ("x86: Store a per-cpu shadow copy of CR4")
+Fixes: 6fd166aae78c ("x86/mm: Use/Fix PCID to optimize user/kernel switches")
+Reported-by: Kees Cook <keescook@google.com>
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Cc: Peter Zijlstra <peterz@infradead.org>
+Cc: Andy Lutomirski <luto@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
+---
+ arch/x86/mm/init.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
+index 80259ad8c386..6b462a472a7b 100644
+--- a/arch/x86/mm/init.c
++++ b/arch/x86/mm/init.c
+@@ -870,7 +870,7 @@ __visible DEFINE_PER_CPU_SHARED_ALIGNED(struct tlb_state, cpu_tlbstate) = {
+ .next_asid = 1,
+ .cr4 = ~0UL, /* fail hard if we screw up cr4 shadow initialization */
+ };
+-EXPORT_SYMBOL_GPL(cpu_tlbstate);
++EXPORT_PER_CPU_SYMBOL(cpu_tlbstate);
+
+ void update_cache_mode_entry(unsigned entry, enum page_cache_mode cache)
+ {
+--
+2.14.2
+
--- /dev/null
+From c6f5260d936ad762ce457623aac1b261ed6c4714 Mon Sep 17 00:00:00 2001
+From: Peter Zijlstra <peterz@infradead.org>
+Date: Thu, 4 Jan 2018 18:07:12 +0100
+Subject: [PATCH 235/241] x86/events/intel/ds: Use the proper cache flush
+ method for mapping ds buffers
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+commit 42f3bdc5dd962a5958bc024c1e1444248a6b8b4a upstream.
+
+Thomas reported the following warning:
+
+ BUG: using smp_processor_id() in preemptible [00000000] code: ovsdb-server/4498
+ caller is native_flush_tlb_single+0x57/0xc0
+ native_flush_tlb_single+0x57/0xc0
+ __set_pte_vaddr+0x2d/0x40
+ set_pte_vaddr+0x2f/0x40
+ cea_set_pte+0x30/0x40
+ ds_update_cea.constprop.4+0x4d/0x70
+ reserve_ds_buffers+0x159/0x410
+ x86_reserve_hardware+0x150/0x160
+ x86_pmu_event_init+0x3e/0x1f0
+ perf_try_init_event+0x69/0x80
+ perf_event_alloc+0x652/0x740
+ SyS_perf_event_open+0x3f6/0xd60
+ do_syscall_64+0x5c/0x190
+
+set_pte_vaddr is used to map the ds buffers into the cpu entry area, but
+there are two problems with that:
+
+ 1) The resulting flush is not supposed to be called in preemptible context
+
+ 2) The cpu entry area is supposed to be per CPU, but the debug store
+ buffers are mapped for all CPUs so these mappings need to be flushed
+ globally.
+
+Add the necessary preemption protection across the mapping code and flush
+TLBs globally.
+
+Fixes: c1961a4631da ("x86/events/intel/ds: Map debug buffers in cpu_entry_area")
+Reported-by: Thomas Zeitlhofer <thomas.zeitlhofer+lkml@ze-it.at>
+Signed-off-by: Peter Zijlstra <peterz@infradead.org>
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+Tested-by: Thomas Zeitlhofer <thomas.zeitlhofer+lkml@ze-it.at>
+Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Cc: Hugh Dickins <hughd@google.com>
+Link: https://lkml.kernel.org/r/20180104170712.GB3040@hirez.programming.kicks-ass.net
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
+---
+ arch/x86/events/intel/ds.c | 16 ++++++++++++++++
+ 1 file changed, 16 insertions(+)
+
+diff --git a/arch/x86/events/intel/ds.c b/arch/x86/events/intel/ds.c
+index 85df1f12c49e..1d236666ee0e 100644
+--- a/arch/x86/events/intel/ds.c
++++ b/arch/x86/events/intel/ds.c
+@@ -4,6 +4,7 @@
+
+ #include <asm/cpu_entry_area.h>
+ #include <asm/perf_event.h>
++#include <asm/tlbflush.h>
+ #include <asm/insn.h>
+
+ #include "../perf_event.h"
+@@ -282,20 +283,35 @@ static DEFINE_PER_CPU(void *, insn_buffer);
+
+ static void ds_update_cea(void *cea, void *addr, size_t size, pgprot_t prot)
+ {
++ unsigned long start = (unsigned long)cea;
+ phys_addr_t pa;
+ size_t msz = 0;
+
+ pa = virt_to_phys(addr);
++
++ preempt_disable();
+ for (; msz < size; msz += PAGE_SIZE, pa += PAGE_SIZE, cea += PAGE_SIZE)
+ cea_set_pte(cea, pa, prot);
++
++ /*
++ * This is a cross-CPU update of the cpu_entry_area, we must shoot down
++ * all TLB entries for it.
++ */
++ flush_tlb_kernel_range(start, start + size);
++ preempt_enable();
+ }
+
+ static void ds_clear_cea(void *cea, size_t size)
+ {
++ unsigned long start = (unsigned long)cea;
+ size_t msz = 0;
+
++ preempt_disable();
+ for (; msz < size; msz += PAGE_SIZE, cea += PAGE_SIZE)
+ cea_set_pte(cea, 0, PAGE_NONE);
++
++ flush_tlb_kernel_range(start, start + size);
++ preempt_enable();
+ }
+
+ static void *dsalloc_pages(size_t size, gfp_t flags, int cpu)
+--
+2.14.2
+
--- /dev/null
+From 08716ab53e917eec6d51d4e53dfffbb25e0edd8e Mon Sep 17 00:00:00 2001
+From: Andrey Ryabinin <aryabinin@virtuozzo.com>
+Date: Thu, 28 Dec 2017 19:06:20 +0300
+Subject: [PATCH 236/241] x86/mm: Set MODULES_END to 0xffffffffff000000
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+commit f5a40711fa58f1c109165a4fec6078bf2dfd2bdc upstream.
+
+Since f06bdd4001c2 ("x86/mm: Adapt MODULES_END based on fixmap section size")
+kasan_mem_to_shadow(MODULES_END) could be not aligned to a page boundary.
+
+So passing page unaligned address to kasan_populate_zero_shadow() have two
+possible effects:
+
+1) It may leave one page hole in supposed to be populated area. After commit
+ 21506525fb8d ("x86/kasan/64: Teach KASAN about the cpu_entry_area") that
+ hole happens to be in the shadow covering fixmap area and leads to crash:
+
+ BUG: unable to handle kernel paging request at fffffbffffe8ee04
+ RIP: 0010:check_memory_region+0x5c/0x190
+
+ Call Trace:
+ <NMI>
+ memcpy+0x1f/0x50
+ ghes_copy_tofrom_phys+0xab/0x180
+ ghes_read_estatus+0xfb/0x280
+ ghes_notify_nmi+0x2b2/0x410
+ nmi_handle+0x115/0x2c0
+ default_do_nmi+0x57/0x110
+ do_nmi+0xf8/0x150
+ end_repeat_nmi+0x1a/0x1e
+
+Note, the crash likely disappeared after commit 92a0f81d8957, which
+changed kasan_populate_zero_shadow() call the way it was before
+commit 21506525fb8d.
+
+2) Attempt to load module near MODULES_END will fail, because
+ __vmalloc_node_range() called from kasan_module_alloc() will hit the
+ WARN_ON(!pte_none(*pte)) in the vmap_pte_range() and bail out with error.
+
+To fix this we need to make kasan_mem_to_shadow(MODULES_END) page aligned
+which means that MODULES_END should be 8*PAGE_SIZE aligned.
+
+The whole point of commit f06bdd4001c2 was to move MODULES_END down if
+NR_CPUS is big, so the cpu_entry_area takes a lot of space.
+But since 92a0f81d8957 ("x86/cpu_entry_area: Move it out of the fixmap")
+the cpu_entry_area is no longer in fixmap, so we could just set
+MODULES_END to a fixed 8*PAGE_SIZE aligned address.
+
+Fixes: f06bdd4001c2 ("x86/mm: Adapt MODULES_END based on fixmap section size")
+Reported-by: Jakub Kicinski <kubakici@wp.pl>
+Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+Cc: Andy Lutomirski <luto@kernel.org>
+Cc: Thomas Garnier <thgarnie@google.com>
+Link: https://lkml.kernel.org/r/20171228160620.23818-1-aryabinin@virtuozzo.com
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
+---
+ Documentation/x86/x86_64/mm.txt | 5 +----
+ arch/x86/include/asm/pgtable_64_types.h | 2 +-
+ 2 files changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt
+index ad41b3813f0a..ddd5ffd31bd0 100644
+--- a/Documentation/x86/x86_64/mm.txt
++++ b/Documentation/x86/x86_64/mm.txt
+@@ -43,7 +43,7 @@ ffffff0000000000 - ffffff7fffffffff (=39 bits) %esp fixup stacks
+ ffffffef00000000 - fffffffeffffffff (=64 GB) EFI region mapping space
+ ... unused hole ...
+ ffffffff80000000 - ffffffff9fffffff (=512 MB) kernel text mapping, from phys 0
+-ffffffffa0000000 - [fixmap start] (~1526 MB) module mapping space
++ffffffffa0000000 - fffffffffeffffff (1520 MB) module mapping space
+ [fixmap start] - ffffffffff5fffff kernel-internal fixmap range
+ ffffffffff600000 - ffffffffff600fff (=4 kB) legacy vsyscall ABI
+ ffffffffffe00000 - ffffffffffffffff (=2 MB) unused hole
+@@ -67,9 +67,6 @@ memory window (this size is arbitrary, it can be raised later if needed).
+ The mappings are not part of any other kernel PGD and are only available
+ during EFI runtime calls.
+
+-The module mapping space size changes based on the CONFIG requirements for the
+-following fixmap section.
+-
+ Note that if CONFIG_RANDOMIZE_MEMORY is enabled, the direct mapping of all
+ physical memory, vmalloc/ioremap space and virtual memory map are randomized.
+ Their order is preserved but their base will be offset early at boot time.
+diff --git a/arch/x86/include/asm/pgtable_64_types.h b/arch/x86/include/asm/pgtable_64_types.h
+index e8a809ee0bb6..c92bd73b1e46 100644
+--- a/arch/x86/include/asm/pgtable_64_types.h
++++ b/arch/x86/include/asm/pgtable_64_types.h
+@@ -103,7 +103,7 @@ typedef struct { pteval_t pte; } pte_t;
+
+ #define MODULES_VADDR (__START_KERNEL_map + KERNEL_IMAGE_SIZE)
+ /* The module sections ends with the start of the fixmap */
+-#define MODULES_END __fix_to_virt(__end_of_fixed_addresses + 1)
++#define MODULES_END _AC(0xffffffffff000000, UL)
+ #define MODULES_LEN (MODULES_END - MODULES_VADDR)
+
+ #define ESPFIX_PGD_ENTRY _AC(-2, UL)
+--
+2.14.2
+
--- /dev/null
+From 596ad95567b9dedff8b9f43b5ae18b1e3463da6b Mon Sep 17 00:00:00 2001
+From: Thomas Gleixner <tglx@linutronix.de>
+Date: Thu, 4 Jan 2018 13:01:40 +0100
+Subject: [PATCH 237/241] x86/mm: Map cpu_entry_area at the same place on 4/5
+ level
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+commit f2078904810373211fb15f91888fba14c01a4acc upstream.
+
+There is no reason for 4 and 5 level pagetables to have a different
+layout. It just makes determining vaddr_end for KASLR harder than
+necessary.
+
+Fixes: 92a0f81d8957 ("x86/cpu_entry_area: Move it out of the fixmap")
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+Cc: Andy Lutomirski <luto@kernel.org>
+Cc: Benjamin Gilbert <benjamin.gilbert@coreos.com>
+Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Cc: Dave Hansen <dave.hansen@linux.intel.com>
+Cc: Peter Zijlstra <peterz@infradead.org>
+Cc: Thomas Garnier <thgarnie@google.com>,
+Cc: Alexander Kuleshov <kuleshovmail@gmail.com>
+Link: https://lkml.kernel.org/r/alpine.DEB.2.20.1801041320360.1771@nanos
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
+---
+ Documentation/x86/x86_64/mm.txt | 7 ++++---
+ arch/x86/include/asm/pgtable_64_types.h | 4 ++--
+ arch/x86/mm/dump_pagetables.c | 2 +-
+ 3 files changed, 7 insertions(+), 6 deletions(-)
+
+diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt
+index ddd5ffd31bd0..f7dabe1f01e9 100644
+--- a/Documentation/x86/x86_64/mm.txt
++++ b/Documentation/x86/x86_64/mm.txt
+@@ -12,8 +12,8 @@ ffffea0000000000 - ffffeaffffffffff (=40 bits) virtual memory map (1TB)
+ ... unused hole ...
+ ffffec0000000000 - fffffbffffffffff (=44 bits) kasan shadow memory (16TB)
+ ... unused hole ...
+-fffffe0000000000 - fffffe7fffffffff (=39 bits) LDT remap for PTI
+-fffffe8000000000 - fffffeffffffffff (=39 bits) cpu_entry_area mapping
++fffffe0000000000 - fffffe7fffffffff (=39 bits) cpu_entry_area mapping
++fffffe8000000000 - fffffeffffffffff (=39 bits) LDT remap for PTI
+ ffffff0000000000 - ffffff7fffffffff (=39 bits) %esp fixup stacks
+ ... unused hole ...
+ ffffffef00000000 - fffffffeffffffff (=64 GB) EFI region mapping space
+@@ -37,7 +37,8 @@ ffd4000000000000 - ffd5ffffffffffff (=49 bits) virtual memory map (512TB)
+ ... unused hole ...
+ ffdf000000000000 - fffffc0000000000 (=53 bits) kasan shadow memory (8PB)
+ ... unused hole ...
+-fffffe8000000000 - fffffeffffffffff (=39 bits) cpu_entry_area mapping
++fffffe0000000000 - fffffe7fffffffff (=39 bits) cpu_entry_area mapping
++... unused hole ...
+ ffffff0000000000 - ffffff7fffffffff (=39 bits) %esp fixup stacks
+ ... unused hole ...
+ ffffffef00000000 - fffffffeffffffff (=64 GB) EFI region mapping space
+diff --git a/arch/x86/include/asm/pgtable_64_types.h b/arch/x86/include/asm/pgtable_64_types.h
+index c92bd73b1e46..0dd48d17a4a1 100644
+--- a/arch/x86/include/asm/pgtable_64_types.h
++++ b/arch/x86/include/asm/pgtable_64_types.h
+@@ -87,7 +87,7 @@ typedef struct { pteval_t pte; } pte_t;
+ # define VMALLOC_SIZE_TB _AC(32, UL)
+ # define __VMALLOC_BASE _AC(0xffffc90000000000, UL)
+ # define __VMEMMAP_BASE _AC(0xffffea0000000000, UL)
+-# define LDT_PGD_ENTRY _AC(-4, UL)
++# define LDT_PGD_ENTRY _AC(-3, UL)
+ # define LDT_BASE_ADDR (LDT_PGD_ENTRY << PGDIR_SHIFT)
+ #endif
+
+@@ -109,7 +109,7 @@ typedef struct { pteval_t pte; } pte_t;
+ #define ESPFIX_PGD_ENTRY _AC(-2, UL)
+ #define ESPFIX_BASE_ADDR (ESPFIX_PGD_ENTRY << P4D_SHIFT)
+
+-#define CPU_ENTRY_AREA_PGD _AC(-3, UL)
++#define CPU_ENTRY_AREA_PGD _AC(-4, UL)
+ #define CPU_ENTRY_AREA_BASE (CPU_ENTRY_AREA_PGD << P4D_SHIFT)
+
+ #define EFI_VA_START ( -4 * (_AC(1, UL) << 30))
+diff --git a/arch/x86/mm/dump_pagetables.c b/arch/x86/mm/dump_pagetables.c
+index 12b93d350480..a764bf6f3473 100644
+--- a/arch/x86/mm/dump_pagetables.c
++++ b/arch/x86/mm/dump_pagetables.c
+@@ -61,10 +61,10 @@ enum address_markers_idx {
+ KASAN_SHADOW_START_NR,
+ KASAN_SHADOW_END_NR,
+ #endif
++ CPU_ENTRY_AREA_NR,
+ #if defined(CONFIG_MODIFY_LDT_SYSCALL) && !defined(CONFIG_X86_5LEVEL)
+ LDT_NR,
+ #endif
+- CPU_ENTRY_AREA_NR,
+ #ifdef CONFIG_X86_ESPFIX64
+ ESPFIX_START_NR,
+ #endif
+--
+2.14.2
+
--- /dev/null
+From 6d7f23c421d2fc74c052c03fb9735effd98ef035 Mon Sep 17 00:00:00 2001
+From: Thomas Gleixner <tglx@linutronix.de>
+Date: Thu, 4 Jan 2018 12:32:03 +0100
+Subject: [PATCH 238/241] x86/kaslr: Fix the vaddr_end mess
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+commit 1dddd25125112ba49706518ac9077a1026a18f37 upstream.
+
+vaddr_end for KASLR is only documented in the KASLR code itself and is
+adjusted depending on config options. So it's not surprising that a change
+of the memory layout causes KASLR to have the wrong vaddr_end. This can map
+arbitrary stuff into other areas causing hard to understand problems.
+
+Remove the whole ifdef magic and define the start of the cpu_entry_area to
+be the end of the KASLR vaddr range.
+
+Add documentation to that effect.
+
+Fixes: 92a0f81d8957 ("x86/cpu_entry_area: Move it out of the fixmap")
+Reported-by: Benjamin Gilbert <benjamin.gilbert@coreos.com>
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+Tested-by: Benjamin Gilbert <benjamin.gilbert@coreos.com>
+Cc: Andy Lutomirski <luto@kernel.org>
+Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Cc: Dave Hansen <dave.hansen@linux.intel.com>
+Cc: Peter Zijlstra <peterz@infradead.org>
+Cc: Thomas Garnier <thgarnie@google.com>,
+Cc: Alexander Kuleshov <kuleshovmail@gmail.com>
+Link: https://lkml.kernel.org/r/alpine.DEB.2.20.1801041320360.1771@nanos
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
+---
+ Documentation/x86/x86_64/mm.txt | 6 ++++++
+ arch/x86/include/asm/pgtable_64_types.h | 8 +++++++-
+ arch/x86/mm/kaslr.c | 32 +++++++++-----------------------
+ 3 files changed, 22 insertions(+), 24 deletions(-)
+
+diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt
+index f7dabe1f01e9..ea91cb61a602 100644
+--- a/Documentation/x86/x86_64/mm.txt
++++ b/Documentation/x86/x86_64/mm.txt
+@@ -12,6 +12,7 @@ ffffea0000000000 - ffffeaffffffffff (=40 bits) virtual memory map (1TB)
+ ... unused hole ...
+ ffffec0000000000 - fffffbffffffffff (=44 bits) kasan shadow memory (16TB)
+ ... unused hole ...
++ vaddr_end for KASLR
+ fffffe0000000000 - fffffe7fffffffff (=39 bits) cpu_entry_area mapping
+ fffffe8000000000 - fffffeffffffffff (=39 bits) LDT remap for PTI
+ ffffff0000000000 - ffffff7fffffffff (=39 bits) %esp fixup stacks
+@@ -37,6 +38,7 @@ ffd4000000000000 - ffd5ffffffffffff (=49 bits) virtual memory map (512TB)
+ ... unused hole ...
+ ffdf000000000000 - fffffc0000000000 (=53 bits) kasan shadow memory (8PB)
+ ... unused hole ...
++ vaddr_end for KASLR
+ fffffe0000000000 - fffffe7fffffffff (=39 bits) cpu_entry_area mapping
+ ... unused hole ...
+ ffffff0000000000 - ffffff7fffffffff (=39 bits) %esp fixup stacks
+@@ -71,3 +73,7 @@ during EFI runtime calls.
+ Note that if CONFIG_RANDOMIZE_MEMORY is enabled, the direct mapping of all
+ physical memory, vmalloc/ioremap space and virtual memory map are randomized.
+ Their order is preserved but their base will be offset early at boot time.
++
++Be very careful vs. KASLR when changing anything here. The KASLR address
++range must not overlap with anything except the KASAN shadow area, which is
++correct as KASAN disables KASLR.
+diff --git a/arch/x86/include/asm/pgtable_64_types.h b/arch/x86/include/asm/pgtable_64_types.h
+index 0dd48d17a4a1..928d558e7778 100644
+--- a/arch/x86/include/asm/pgtable_64_types.h
++++ b/arch/x86/include/asm/pgtable_64_types.h
+@@ -74,7 +74,13 @@ typedef struct { pteval_t pte; } pte_t;
+ #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
+ #define PGDIR_MASK (~(PGDIR_SIZE - 1))
+
+-/* See Documentation/x86/x86_64/mm.txt for a description of the memory map. */
++/*
++ * See Documentation/x86/x86_64/mm.txt for a description of the memory map.
++ *
++ * Be very careful vs. KASLR when changing anything here. The KASLR address
++ * range must not overlap with anything except the KASAN shadow area, which
++ * is correct as KASAN disables KASLR.
++ */
+ #define MAXMEM _AC(__AC(1, UL) << MAX_PHYSMEM_BITS, UL)
+
+ #ifdef CONFIG_X86_5LEVEL
+diff --git a/arch/x86/mm/kaslr.c b/arch/x86/mm/kaslr.c
+index af599167fe3c..debc7cc8e152 100644
+--- a/arch/x86/mm/kaslr.c
++++ b/arch/x86/mm/kaslr.c
+@@ -33,25 +33,14 @@
+ #define TB_SHIFT 40
+
+ /*
+- * Virtual address start and end range for randomization. The end changes base
+- * on configuration to have the highest amount of space for randomization.
+- * It increases the possible random position for each randomized region.
++ * Virtual address start and end range for randomization.
+ *
+- * You need to add an if/def entry if you introduce a new memory region
+- * compatible with KASLR. Your entry must be in logical order with memory
+- * layout. For example, ESPFIX is before EFI because its virtual address is
+- * before. You also need to add a BUILD_BUG_ON() in kernel_randomize_memory() to
+- * ensure that this order is correct and won't be changed.
++ * The end address could depend on more configuration options to make the
++ * highest amount of space for randomization available, but that's too hard
++ * to keep straight and caused issues already.
+ */
+ static const unsigned long vaddr_start = __PAGE_OFFSET_BASE;
+-
+-#if defined(CONFIG_X86_ESPFIX64)
+-static const unsigned long vaddr_end = ESPFIX_BASE_ADDR;
+-#elif defined(CONFIG_EFI)
+-static const unsigned long vaddr_end = EFI_VA_END;
+-#else
+-static const unsigned long vaddr_end = __START_KERNEL_map;
+-#endif
++static const unsigned long vaddr_end = CPU_ENTRY_AREA_BASE;
+
+ /* Default values */
+ unsigned long page_offset_base = __PAGE_OFFSET_BASE;
+@@ -100,15 +89,12 @@ void __init kernel_randomize_memory(void)
+ unsigned long remain_entropy;
+
+ /*
+- * All these BUILD_BUG_ON checks ensures the memory layout is
+- * consistent with the vaddr_start/vaddr_end variables.
++ * These BUILD_BUG_ON checks ensure the memory layout is consistent
++ * with the vaddr_start/vaddr_end variables. These checks are very
++ * limited....
+ */
+ BUILD_BUG_ON(vaddr_start >= vaddr_end);
+- BUILD_BUG_ON(IS_ENABLED(CONFIG_X86_ESPFIX64) &&
+- vaddr_end >= EFI_VA_END);
+- BUILD_BUG_ON((IS_ENABLED(CONFIG_X86_ESPFIX64) ||
+- IS_ENABLED(CONFIG_EFI)) &&
+- vaddr_end >= __START_KERNEL_map);
++ BUILD_BUG_ON(vaddr_end != CPU_ENTRY_AREA_BASE);
+ BUILD_BUG_ON(vaddr_end > __START_KERNEL_map);
+
+ if (!kaslr_memory_enabled())
+--
+2.14.2
+
--- /dev/null
+From 732d51fab3401054c84be53feec624c6c992fb3f Mon Sep 17 00:00:00 2001
+From: David Woodhouse <dwmw@amazon.co.uk>
+Date: Thu, 4 Jan 2018 14:37:05 +0000
+Subject: [PATCH 239/241] x86/alternatives: Add missing '\n' at end of
+ ALTERNATIVE inline asm
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+commit b9e705ef7cfaf22db0daab91ad3cd33b0fa32eb9 upstream.
+
+Where an ALTERNATIVE is used in the middle of an inline asm block, this
+would otherwise lead to the following instruction being appended directly
+to the trailing ".popsection", and a failed compile.
+
+Fixes: 9cebed423c84 ("x86, alternative: Use .pushsection/.popsection")
+Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+Cc: gnomes@lxorguk.ukuu.org.uk
+Cc: Rik van Riel <riel@redhat.com>
+Cc: ak@linux.intel.com
+Cc: Tim Chen <tim.c.chen@linux.intel.com>
+Cc: Peter Zijlstra <peterz@infradead.org>
+Cc: Paul Turner <pjt@google.com>
+Cc: Jiri Kosina <jikos@kernel.org>
+Cc: Andy Lutomirski <luto@amacapital.net>
+Cc: Dave Hansen <dave.hansen@intel.com>
+Cc: Kees Cook <keescook@google.com>
+Cc: Linus Torvalds <torvalds@linux-foundation.org>
+Cc: Greg Kroah-Hartman <gregkh@linux-foundation.org>
+Link: https://lkml.kernel.org/r/20180104143710.8961-8-dwmw@amazon.co.uk
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
+---
+ arch/x86/include/asm/alternative.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alternative.h
+index d4aea31eec03..deca9b9c7923 100644
+--- a/arch/x86/include/asm/alternative.h
++++ b/arch/x86/include/asm/alternative.h
+@@ -139,7 +139,7 @@ static inline int alternatives_text_reserved(void *start, void *end)
+ ".popsection\n" \
+ ".pushsection .altinstr_replacement, \"ax\"\n" \
+ ALTINSTR_REPLACEMENT(newinstr, feature, 1) \
+- ".popsection"
++ ".popsection\n"
+
+ #define ALTERNATIVE_2(oldinstr, newinstr1, feature1, newinstr2, feature2)\
+ OLDINSTR_2(oldinstr, 1, 2) \
+@@ -150,7 +150,7 @@ static inline int alternatives_text_reserved(void *start, void *end)
+ ".pushsection .altinstr_replacement, \"ax\"\n" \
+ ALTINSTR_REPLACEMENT(newinstr1, feature1, 1) \
+ ALTINSTR_REPLACEMENT(newinstr2, feature2, 2) \
+- ".popsection"
++ ".popsection\n"
+
+ /*
+ * Alternative instructions for different CPU types or capabilities.
+--
+2.14.2
+