[patch V181 00/54] x86/pti: Final XMAS release

From: Thomas Gleixner
Date: Wed Dec 20 2017 - 17:10:19 EST


Changes since V163:

- Moved the cpu entry area out of the fixmap because that caused failures
due to fixmap size and cleanup_highmap() zapping fixmap PTEs.

- Moved all cpu entry area related code into separate files. The
hodgepodge in cpu/common.c was really not appropriate.

- Folded Juergens XEN PV fix for vsyscall

- Folded Peters ACCESS bit simplification

- Cleaned up and fixed dump_pagetables

- Added Vlastimils PTI/NOPTI marker for dumpstack

- Addressed various minor review comments

Diffstat against V163 appended.

Thanks to everyone who looked and cared!

It's perfect now because I'm going to have quiet holidays no matter what.

Nevertheless, please review and test the hell out of it.

The lot is based on:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti.entry

The series is also available from git:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti

The patch tarball is at:

https://tglx.de/~tglx/patches-pti-181.tar.bz2

sha1sum of decompressed tarball: 3b9c1729efe58e793a40031f54e82cac8aba3884

Thanks,

tglx

---

Documentation/x86/x86_64/mm.txt | 4
arch/x86/Kconfig | 3
arch/x86/entry/vsyscall/vsyscall_64.c | 7 -
arch/x86/events/intel/ds.c | 53 ++++++----
arch/x86/include/asm/cpu_entry_area.h | 87 +++++++++++++++++
arch/x86/include/asm/desc.h | 1
arch/x86/include/asm/fixmap.h | 96 -------------------
arch/x86/include/asm/pgtable.h | 4
arch/x86/include/asm/pgtable_32_types.h | 15 ++-
arch/x86/include/asm/pgtable_64_types.h | 55 ++++++-----
arch/x86/kernel/cpu/common.c | 126 -------------------------
arch/x86/kernel/dumpstack.c | 7 +
arch/x86/kernel/tls.c | 11 --
arch/x86/kernel/traps.c | 6 -
arch/x86/mm/Makefile | 8 -
arch/x86/mm/cpu_entry_area.c | 159 ++++++++++++++++++++++++++++++++
arch/x86/mm/dump_pagetables.c | 105 ++++++++++++---------
arch/x86/mm/init_32.c | 6 +
arch/x86/mm/kasan_init_64.c | 6 -
arch/x86/mm/pgtable_32.c | 1
arch/x86/mm/pti.c | 52 +++++-----
arch/x86/xen/mmu_pv.c | 2
22 files changed, 449 insertions(+), 365 deletions(-)