Gentoo Archives: gentoo-commits

From: Mike Pagano <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/linux-patches:4.4 commit in: /
Date: Wed, 21 Nov 2018 15:02:33
Message-Id: 1542812474.6526a43048e2ff72dcbc9d44aa1b11f1b8f3a3c1.mpagano@gentoo
1 commit: 6526a43048e2ff72dcbc9d44aa1b11f1b8f3a3c1
2 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 18 18:06:20 2018 +0000
4 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 21 15:01:14 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=6526a430
7
8 Linux patch 4.4.150
9
10 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>
11
12 0000_README | 4 ++++
13 1149_linux-4.4.150.patch | 36 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/0000_README b/0000_README
17 index 1b036be..4bbc43a 100644
18 --- a/0000_README
19 +++ b/0000_README
20 @@ -639,6 +639,10 @@ Patch: 1148_linux-4.4.149.patch
21 From: http://www.kernel.org
22 Desc: Linux 4.4.149
23
24 +Patch: 1149_linux-4.4.150.patch
25 +From: http://www.kernel.org
26 +Desc: Linux 4.4.150
27 +
28 Patch: 1500_XATTR_USER_PREFIX.patch
29 From: https://bugs.gentoo.org/show_bug.cgi?id=470644
30 Desc: Support for namespace user.pax.* on tmpfs.
31
32 diff --git a/1149_linux-4.4.150.patch b/1149_linux-4.4.150.patch
33 new file mode 100644
34 index 0000000..2446bbe
35 --- /dev/null
36 +++ b/1149_linux-4.4.150.patch
37 @@ -0,0 +1,36 @@
38 +diff --git a/Makefile b/Makefile
39 +index e7c46ece5f27..7789195c6a59 100644
40 +--- a/Makefile
41 ++++ b/Makefile
42 +@@ -1,6 +1,6 @@
43 + VERSION = 4
44 + PATCHLEVEL = 4
45 +-SUBLEVEL = 149
46 ++SUBLEVEL = 150
47 + EXTRAVERSION =
48 + NAME = Blurry Fish Butt
49 +
50 +diff --git a/arch/x86/include/asm/pgtable-invert.h b/arch/x86/include/asm/pgtable-invert.h
51 +index 44b1203ece12..a0c1525f1b6f 100644
52 +--- a/arch/x86/include/asm/pgtable-invert.h
53 ++++ b/arch/x86/include/asm/pgtable-invert.h
54 +@@ -4,9 +4,18 @@
55 +
56 + #ifndef __ASSEMBLY__
57 +
58 ++/*
59 ++ * A clear pte value is special, and doesn't get inverted.
60 ++ *
61 ++ * Note that even users that only pass a pgprot_t (rather
62 ++ * than a full pte) won't trigger the special zero case,
63 ++ * because even PAGE_NONE has _PAGE_PROTNONE | _PAGE_ACCESSED
64 ++ * set. So the all zero case really is limited to just the
65 ++ * cleared page table entry case.
66 ++ */
67 + static inline bool __pte_needs_invert(u64 val)
68 + {
69 +- return !(val & _PAGE_PRESENT);
70 ++ return val && !(val & _PAGE_PRESENT);
71 + }
72 +
73 + /* Get a mask to xor with the page table entry to get the correct pfn. */