From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 92E1313933E for ; Wed, 7 Jul 2021 13:11:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C85B5E0A82; Wed, 7 Jul 2021 13:11:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6850EE0A82 for ; Wed, 7 Jul 2021 13:11:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 16CBE33BEA7 for ; Wed, 7 Jul 2021 13:11:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 897D3581 for ; Wed, 7 Jul 2021 13:11:27 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1625663429.06e76a486944933220307d40297a443876ffb3b5.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:5.13 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 1001_linux-5.13.1.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: 06e76a486944933220307d40297a443876ffb3b5 X-VCS-Branch: 5.13 Date: Wed, 7 Jul 2021 13:11:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2ef64c34-6fb7-4696-a13b-6437dbd31612 X-Archives-Hash: c117432c3c4e9202e5f2d1271c41f4e9 commit: 06e76a486944933220307d40297a443876ffb3b5 Author: Mike Pagano gentoo org> AuthorDate: Wed Jul 7 13:10:29 2021 +0000 Commit: Mike Pagano gentoo org> CommitDate: Wed Jul 7 13:10:29 2021 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=06e76a48 Linux patch 5.13.1 Signed-off-by: Mike Pagano gentoo.org> 0000_README | 4 ++++ 1001_linux-5.13.1.patch | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/0000_README b/0000_README index 0f74eb1..51feb2b 100644 --- a/0000_README +++ b/0000_README @@ -43,6 +43,10 @@ EXPERIMENTAL Individual Patch Descriptions: -------------------------------------------------------------------------- +Patch: 1000_linux-5.13.1.patch +From: http://www.kernel.org +Desc: Linux 5.13.1 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1001_linux-5.13.1.patch b/1001_linux-5.13.1.patch new file mode 100644 index 0000000..21b2223 --- /dev/null +++ b/1001_linux-5.13.1.patch @@ -0,0 +1,50 @@ +diff --git a/Makefile b/Makefile +index 0565caea0362a..069607cfe2836 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 13 +-SUBLEVEL = 0 ++SUBLEVEL = 1 + EXTRAVERSION = + NAME = Opossums on Parade + +diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h +index 9c7ced0e31718..682e82956ea5a 100644 +--- a/arch/x86/include/asm/kvm_host.h ++++ b/arch/x86/include/asm/kvm_host.h +@@ -320,6 +320,7 @@ union kvm_mmu_extended_role { + unsigned int cr4_pke:1; + unsigned int cr4_smap:1; + unsigned int cr4_smep:1; ++ unsigned int cr4_la57:1; + unsigned int maxphyaddr:6; + }; + }; +diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c +index 8d5876dfc6b71..a54f72c31be90 100644 +--- a/arch/x86/kvm/mmu/mmu.c ++++ b/arch/x86/kvm/mmu/mmu.c +@@ -4476,6 +4476,7 @@ static union kvm_mmu_extended_role kvm_calc_mmu_role_ext(struct kvm_vcpu *vcpu) + ext.cr4_smap = !!kvm_read_cr4_bits(vcpu, X86_CR4_SMAP); + ext.cr4_pse = !!is_pse(vcpu); + ext.cr4_pke = !!kvm_read_cr4_bits(vcpu, X86_CR4_PKE); ++ ext.cr4_la57 = !!kvm_read_cr4_bits(vcpu, X86_CR4_LA57); + ext.maxphyaddr = cpuid_maxphyaddr(vcpu); + + ext.valid = 1; +diff --git a/mm/page_alloc.c b/mm/page_alloc.c +index ef2265f86b913..04220581579cd 100644 +--- a/mm/page_alloc.c ++++ b/mm/page_alloc.c +@@ -5058,7 +5058,7 @@ unsigned long __alloc_pages_bulk(gfp_t gfp, int preferred_nid, + + /* Already populated array? */ + if (unlikely(page_array && nr_pages - nr_populated == 0)) +- return 0; ++ return nr_populated; + + /* Use the single page allocator for one page. */ + if (nr_pages - nr_populated == 1)