Skip to content

Commit cb5542f

Browse files
kalyazinroypat
authored andcommitted
chore(hiding_ci): fix up guest_memfd UFFD patches
Also strip doc and test patches committed by mistake last time. Signed-off-by: Nikita Kalyazin <kalyazin@amazon.com>
1 parent b2bcd01 commit cb5542f

File tree

35 files changed

+109
-897
lines changed

35 files changed

+109
-897
lines changed

resources/hiding_ci/linux_patches/0001-mm-Consolidate-freeing-of-typed-folios-on-final-foli.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From f9ca710b51263ce8317cc2fa02232e456fa1f39c Mon Sep 17 00:00:00 2001
22
From: Fuad Tabba <tabba@google.com>
33
Date: Tue, 18 Mar 2025 16:18:15 +0000
4-
Subject: [PATCH 01/34] mm: Consolidate freeing of typed folios on final
4+
Subject: [PATCH 01/26] mm: Consolidate freeing of typed folios on final
55
folio_put()
66

77
Some folio types, such as hugetlb, handle freeing their own

resources/hiding_ci/linux_patches/0002-KVM-guest_memfd-Handle-final-folio_put-of-guest_memf.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 9a4d7cd855d14e1522f363e3e04ebb9fa0a90ff0 Mon Sep 17 00:00:00 2001
22
From: Fuad Tabba <tabba@google.com>
33
Date: Tue, 18 Mar 2025 16:18:16 +0000
4-
Subject: [PATCH 02/34] KVM: guest_memfd: Handle final folio_put() of
4+
Subject: [PATCH 02/26] KVM: guest_memfd: Handle final folio_put() of
55
guest_memfd pages
66

77
Before transitioning a guest_memfd folio to unshared, thereby

resources/hiding_ci/linux_patches/0003-KVM-guest_memfd-Allow-host-to-map-guest_memfd-pages.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From fd39febef2e0d41394e51f5e34f2c8de80b3b4dc Mon Sep 17 00:00:00 2001
22
From: Fuad Tabba <tabba@google.com>
33
Date: Tue, 18 Mar 2025 16:18:17 +0000
4-
Subject: [PATCH 03/34] KVM: guest_memfd: Allow host to map guest_memfd() pages
4+
Subject: [PATCH 03/26] KVM: guest_memfd: Allow host to map guest_memfd() pages
55

66
Add support for mmap() and fault() for guest_memfd backed memory
77
in the host for VMs that support in-place conversion between

resources/hiding_ci/linux_patches/0004-KVM-x86-Mark-KVM_X86_SW_PROTECTED_VM-as-supporting-g.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From d16c343f0f95ecd8d2cda2dfba4ac8b7c293f217 Mon Sep 17 00:00:00 2001
22
From: Fuad Tabba <tabba@google.com>
33
Date: Tue, 18 Mar 2025 16:18:19 +0000
4-
Subject: [PATCH 04/34] KVM: x86: Mark KVM_X86_SW_PROTECTED_VM as supporting
4+
Subject: [PATCH 04/26] KVM: x86: Mark KVM_X86_SW_PROTECTED_VM as supporting
55
guest_memfd shared memory
66

77
The KVM_X86_SW_PROTECTED_VM type is meant for experimentation and

resources/hiding_ci/linux_patches/0005-KVM-arm64-Refactor-user_mem_abort-calculation-of-for.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 483ccb70335cb0c76161caf76c0ccb7c618038e2 Mon Sep 17 00:00:00 2001
22
From: Fuad Tabba <tabba@google.com>
33
Date: Tue, 18 Mar 2025 16:18:20 +0000
4-
Subject: [PATCH 05/34] KVM: arm64: Refactor user_mem_abort() calculation of
4+
Subject: [PATCH 05/26] KVM: arm64: Refactor user_mem_abort() calculation of
55
force_pte
66

77
To simplify the code and to make the assumptions clearer,

resources/hiding_ci/linux_patches/0006-KVM-guest_memfd-Handle-in-place-shared-memory-as-gue.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From b1e925d4d5db8513dba67c3a9d40a2b507668f09 Mon Sep 17 00:00:00 2001
22
From: Fuad Tabba <tabba@google.com>
33
Date: Tue, 18 Mar 2025 16:18:18 +0000
4-
Subject: [PATCH 06/34] KVM: guest_memfd: Handle in-place shared memory as
4+
Subject: [PATCH 06/26] KVM: guest_memfd: Handle in-place shared memory as
55
guest_memfd backed memory
66

77
For VMs that allow sharing guest_memfd backed memory in-place,

resources/hiding_ci/linux_patches/0007-KVM-arm64-Handle-guest_memfd-backed-guest-page-fault.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 996513a423377349767d5cfef87850e80131854f Mon Sep 17 00:00:00 2001
22
From: Fuad Tabba <tabba@google.com>
33
Date: Tue, 18 Mar 2025 16:18:21 +0000
4-
Subject: [PATCH 07/34] KVM: arm64: Handle guest_memfd()-backed guest page
4+
Subject: [PATCH 07/26] KVM: arm64: Handle guest_memfd()-backed guest page
55
faults
66

77
Add arm64 support for handling guest page faults on guest_memfd

resources/hiding_ci/linux_patches/0008-KVM-guest_memfd-selftests-guest_memfd-mmap-test-when.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 1ee5d01987bff47f007fb86ad7738b299816b2ef Mon Sep 17 00:00:00 2001
22
From: Fuad Tabba <tabba@google.com>
33
Date: Tue, 18 Mar 2025 16:18:23 +0000
4-
Subject: [PATCH 08/34] KVM: guest_memfd: selftests: guest_memfd mmap() test
4+
Subject: [PATCH 08/26] KVM: guest_memfd: selftests: guest_memfd mmap() test
55
when mapping is allowed
66

77
Expand the guest_memfd selftests to include testing mapping guest

resources/hiding_ci/linux_patches/0009-KVM-arm64-Enable-mapping-guest_memfd-in-arm64.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 3cc51efc17a2c41a480eed36b31c1773936717e0 Mon Sep 17 00:00:00 2001
22
From: Fuad Tabba <tabba@google.com>
33
Date: Tue, 18 Mar 2025 16:18:22 +0000
4-
Subject: [PATCH 09/34] KVM: arm64: Enable mapping guest_memfd in arm64
4+
Subject: [PATCH 09/26] KVM: arm64: Enable mapping guest_memfd in arm64
55

66
Enable mapping guest_memfd in arm64. For now, it applies to all
77
VMs in arm64 that use guest_memfd. In the future, new VM types

resources/hiding_ci/linux_patches/0010-mm-introduce-AS_NO_DIRECT_MAP.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 22ec89c0ff7af3430027cf71cf8bce5c8ed6e402 Mon Sep 17 00:00:00 2001
22
From: Patrick Roy <roypat@amazon.co.uk>
33
Date: Fri, 7 Feb 2025 11:16:06 +0000
4-
Subject: [PATCH 10/34] mm: introduce AS_NO_DIRECT_MAP
4+
Subject: [PATCH 10/26] mm: introduce AS_NO_DIRECT_MAP
55

66
Add AS_NO_DIRECT_MAP for mappings where direct map entries of folios are
77
set to not present . Currently, mappings that match this description are

0 commit comments

Comments
 (0)