Linux 4.17.17
Greg KH
maintainerMakefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 17 -SUBLEVEL = 16 +SUBLEVEL = 17 EXTRAVERSION = NAME = Merciless Moray
arch/x86/include/asm/pgtable-invert.h +10 -1
@@ -4,9 +4,18 @@#ifndef __ASSEMBLY__ +/* +* A clear pte value is special, and doesn't get inverted. +* +* Note that even users that only pass a pgprot_t (rather +* than a full pte) won't trigger the special zero case, +* because even PAGE_NONE has _PAGE_PROTNONE | _PAGE_ACCESSED +* set. So the all zero case really is limited to just the +* cleared page table entry case. +*/ static inline bool __pte_needs_invert (u64 val) { -return !(val & _PAGE_PRESENT); +return val && !(val & _PAGE_PRESENT); }/* Get a mask to xor with the page table entry to get the correct pfn. */
Greg KH
maintainerI'm announcing the release of the 4.17.17 kernel.
All x86 users of the 4.17 kernel series must upgrade.
The updated 4.17.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.17.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 +- arch/x86/include/asm/pgtable-invert.h | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-)
Greg Kroah-Hartman (1):
Linux 4.17.17
Sean Christopherson (1):
x86/speculation/l1tf: Exempt zeroed PTEs from inversion