1 |
commit: 06e76a486944933220307d40297a443876ffb3b5 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 7 13:10:29 2021 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 7 13:10:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=06e76a48 |
7 |
|
8 |
Linux patch 5.13.1 |
9 |
|
10 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
11 |
|
12 |
0000_README | 4 ++++ |
13 |
1001_linux-5.13.1.patch | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/0000_README b/0000_README |
17 |
index 0f74eb1..51feb2b 100644 |
18 |
--- a/0000_README |
19 |
+++ b/0000_README |
20 |
@@ -43,6 +43,10 @@ EXPERIMENTAL |
21 |
Individual Patch Descriptions: |
22 |
-------------------------------------------------------------------------- |
23 |
|
24 |
+Patch: 1000_linux-5.13.1.patch |
25 |
+From: http://www.kernel.org |
26 |
+Desc: Linux 5.13.1 |
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/1001_linux-5.13.1.patch b/1001_linux-5.13.1.patch |
33 |
new file mode 100644 |
34 |
index 0000000..21b2223 |
35 |
--- /dev/null |
36 |
+++ b/1001_linux-5.13.1.patch |
37 |
@@ -0,0 +1,50 @@ |
38 |
+diff --git a/Makefile b/Makefile |
39 |
+index 0565caea0362a..069607cfe2836 100644 |
40 |
+--- a/Makefile |
41 |
++++ b/Makefile |
42 |
+@@ -1,7 +1,7 @@ |
43 |
+ # SPDX-License-Identifier: GPL-2.0 |
44 |
+ VERSION = 5 |
45 |
+ PATCHLEVEL = 13 |
46 |
+-SUBLEVEL = 0 |
47 |
++SUBLEVEL = 1 |
48 |
+ EXTRAVERSION = |
49 |
+ NAME = Opossums on Parade |
50 |
+ |
51 |
+diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h |
52 |
+index 9c7ced0e31718..682e82956ea5a 100644 |
53 |
+--- a/arch/x86/include/asm/kvm_host.h |
54 |
++++ b/arch/x86/include/asm/kvm_host.h |
55 |
+@@ -320,6 +320,7 @@ union kvm_mmu_extended_role { |
56 |
+ unsigned int cr4_pke:1; |
57 |
+ unsigned int cr4_smap:1; |
58 |
+ unsigned int cr4_smep:1; |
59 |
++ unsigned int cr4_la57:1; |
60 |
+ unsigned int maxphyaddr:6; |
61 |
+ }; |
62 |
+ }; |
63 |
+diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c |
64 |
+index 8d5876dfc6b71..a54f72c31be90 100644 |
65 |
+--- a/arch/x86/kvm/mmu/mmu.c |
66 |
++++ b/arch/x86/kvm/mmu/mmu.c |
67 |
+@@ -4476,6 +4476,7 @@ static union kvm_mmu_extended_role kvm_calc_mmu_role_ext(struct kvm_vcpu *vcpu) |
68 |
+ ext.cr4_smap = !!kvm_read_cr4_bits(vcpu, X86_CR4_SMAP); |
69 |
+ ext.cr4_pse = !!is_pse(vcpu); |
70 |
+ ext.cr4_pke = !!kvm_read_cr4_bits(vcpu, X86_CR4_PKE); |
71 |
++ ext.cr4_la57 = !!kvm_read_cr4_bits(vcpu, X86_CR4_LA57); |
72 |
+ ext.maxphyaddr = cpuid_maxphyaddr(vcpu); |
73 |
+ |
74 |
+ ext.valid = 1; |
75 |
+diff --git a/mm/page_alloc.c b/mm/page_alloc.c |
76 |
+index ef2265f86b913..04220581579cd 100644 |
77 |
+--- a/mm/page_alloc.c |
78 |
++++ b/mm/page_alloc.c |
79 |
+@@ -5058,7 +5058,7 @@ unsigned long __alloc_pages_bulk(gfp_t gfp, int preferred_nid, |
80 |
+ |
81 |
+ /* Already populated array? */ |
82 |
+ if (unlikely(page_array && nr_pages - nr_populated == 0)) |
83 |
+- return 0; |
84 |
++ return nr_populated; |
85 |
+ |
86 |
+ /* Use the single page allocator for one page. */ |
87 |
+ if (nr_pages - nr_populated == 1) |