-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an almost clean rebase with only a minor change required in (non-sev) patch number 5. Signed-off-by: Sergio Lopez <[email protected]>
- Loading branch information
Showing
25 changed files
with
62 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
patches-sev/0001-virtio-enable-DMA-API-if-memory-is-restricted.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 83aec6003044244d4c2e3851dcec0af97ec0486f Mon Sep 17 00:00:00 2001 | ||
From 937e56d777cf3809a5ac0a5d8d42dfcbcc93c330 Mon Sep 17 00:00:00 2001 | ||
From: Sergio Lopez <[email protected]> | ||
Date: Fri, 10 Sep 2021 13:05:01 +0200 | ||
Subject: [PATCH 1/4] virtio: enable DMA API if memory is restricted | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From b6379abecd7a40dbbd98ef09eca23789c693bc24 Mon Sep 17 00:00:00 2001 | ||
From 15cc4533c0e0bfa1b8a762ecffb5486ed258d87a Mon Sep 17 00:00:00 2001 | ||
From: Sergio Lopez <[email protected]> | ||
Date: Thu, 20 Oct 2022 10:23:16 +0200 | ||
Subject: [PATCH 2/4] x86/sev: write AP reset vector | ||
|
2 changes: 1 addition & 1 deletion
2
patches-sev/0003-Implement-driver-to-retrieve-secrets-from-cmdline.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From d10df5bc5c8986a6dd0961ebf354c7e6ecfbda32 Mon Sep 17 00:00:00 2001 | ||
From 4db2da9b067d0c7b10d7f7543c45dcb0d608e307 Mon Sep 17 00:00:00 2001 | ||
From: Sergio Lopez <[email protected]> | ||
Date: Wed, 3 Aug 2022 12:35:12 +0200 | ||
Subject: [PATCH 3/4] Implement driver to retrieve secrets from cmdline | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From baaba00fa3a3c5407b8a08f262388b173306219f Mon Sep 17 00:00:00 2001 | ||
From d53bef286ab6731ad5c721537ef8ad3ec39c0200 Mon Sep 17 00:00:00 2001 | ||
From: Sergio Lopez <[email protected]> | ||
Date: Wed, 5 Jun 2024 16:20:08 +0200 | ||
Subject: [PATCH 4/4] x86/sev: Avoid using native_cpuid | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 7f18f75689b7b0f34ca711daa4e29e2d4ae5f910 Mon Sep 17 00:00:00 2001 | ||
From a6442523102c4d482bf24f0f21a38ae29b3f0c8c Mon Sep 17 00:00:00 2001 | ||
From: Sergio Lopez <[email protected]> | ||
Date: Thu, 2 Mar 2023 07:34:49 +0100 | ||
Subject: [PATCH 01/20] krunfw: Don't panic when init dies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 5ed6edb3e75df34958f788bca363748cea75eea1 Mon Sep 17 00:00:00 2001 | ||
From 46b2f712bf3d3de11cbc0358ec6f833be99f2f49 Mon Sep 17 00:00:00 2001 | ||
From: Sergio Lopez <[email protected]> | ||
Date: Mon, 16 May 2022 16:04:27 +0200 | ||
Subject: [PATCH 02/20] krunfw: Ignore run_cmd on orderly reboot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
patches/0007-virtio-vsock-add-VIRTIO_VSOCK_F_DGRAM-feature-bit.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From aacd77363c0f5c8515f9ef55889cd367d42d06f9 Mon Sep 17 00:00:00 2001 | ||
From a05b3dd945767cdeda0d9dc9f1979a8c4e67d1b5 Mon Sep 17 00:00:00 2001 | ||
From: Jiang Wang <[email protected]> | ||
Date: Sat, 10 Jun 2023 00:58:35 +0000 | ||
Subject: [PATCH 09/20] tests: add vsock dgram tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From bf4eb6179408f2fb6bbdd0d750a494ca1d0bf9c2 Mon Sep 17 00:00:00 2001 | ||
From ea172def827af9efb7b81ae19b0f2bde42c33b38 Mon Sep 17 00:00:00 2001 | ||
From: Sergio Lopez <[email protected]> | ||
Date: Thu, 19 May 2022 22:38:26 +0200 | ||
Subject: [PATCH 10/20] Transparent Socket Impersonation implementation | ||
|
@@ -83,7 +83,7 @@ index 4c4dc535453d..b07f65c0ef56 100644 | |
obj-$(CONFIG_NET_HANDSHAKE) += handshake/ | ||
+obj-$(CONFIG_TSI) += tsi/ | ||
diff --git a/net/socket.c b/net/socket.c | ||
index 9db33cd4a71b..8b92dd098235 100644 | ||
index bad58f23f307..9992976a67ff 100644 | ||
--- a/net/socket.c | ||
+++ b/net/socket.c | ||
@@ -218,6 +218,7 @@ static const char * const pf_family_names[] = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 4cb286e56e14f2ea4b0c99567fb14558c508d2c0 Mon Sep 17 00:00:00 2001 | ||
From 6fcf7ffdb2ef4f9808ba93d71e29488738c87189 Mon Sep 17 00:00:00 2001 | ||
From: Sergio Lopez <[email protected]> | ||
Date: Thu, 19 May 2022 22:42:01 +0200 | ||
Subject: [PATCH 11/20] tsi: allow hijacking sockets (tsi_hijack) | ||
|
@@ -14,7 +14,7 @@ Signed-off-by: Sergio Lopez <[email protected]> | |
2 files changed, 18 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/net/socket.c b/net/socket.c | ||
index 8b92dd098235..ab2bd178bcc7 100644 | ||
index 9992976a67ff..2a928d25f282 100644 | ||
--- a/net/socket.c | ||
+++ b/net/socket.c | ||
@@ -115,6 +115,10 @@ unsigned int sysctl_net_busy_read __read_mostly; | ||
|
2 changes: 1 addition & 1 deletion
2
patches/0012-arm64-cpufeature-Unify-SCOPE_LOCAL_CPU-early-late-be.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 322fce4105e6a4570c6d1c9ac154d89c6c0b2029 Mon Sep 17 00:00:00 2001 | ||
From 4799b17d694746a858a8d4b05807f1e2efe252a6 Mon Sep 17 00:00:00 2001 | ||
From: Asahi Lina <[email protected]> | ||
Date: Wed, 25 Sep 2024 16:35:34 +0200 | ||
Subject: [PATCH 12/20] arm64: cpufeature: Unify SCOPE_LOCAL_CPU early & late | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 61f6748465de43ae02b1e6ce78aa100ab9757d66 Mon Sep 17 00:00:00 2001 | ||
From 910c13dfdcf052ba9c4a525f73e86dfd6961314e Mon Sep 17 00:00:00 2001 | ||
From: Hector Martin <[email protected]> | ||
Date: Thu, 11 Apr 2024 09:51:20 +0900 | ||
Subject: [PATCH 13/20] prctl: Introduce PR_{SET,GET}_MEM_MODEL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From a0a7db4f8927e5f8dda3c99b1f8e8bed15eaba03 Mon Sep 17 00:00:00 2001 | ||
From c6af9a365bcef9ffb50b58f0fc5e3bb80bee0ae2 Mon Sep 17 00:00:00 2001 | ||
From: Hector Martin <[email protected]> | ||
Date: Mon, 6 May 2024 16:47:51 +0200 | ||
Subject: [PATCH 14/20] arm64: Implement PR_{GET,SET}_MEM_MODEL for always-TSO | ||
|
@@ -27,10 +27,10 @@ Reviewed-by: Neal Gompa <[email protected]> | |
create mode 100644 arch/arm64/kernel/cpufeature_impdef.c | ||
|
||
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig | ||
index 9e0c1ac3d13e..741833d2f1a0 100644 | ||
index 658c6a61ab6f..ffc0a44a8dee 100644 | ||
--- a/arch/arm64/Kconfig | ||
+++ b/arch/arm64/Kconfig | ||
@@ -2198,6 +2198,15 @@ config ARM64_DEBUG_PRIORITY_MASKING | ||
@@ -2200,6 +2200,15 @@ config ARM64_DEBUG_PRIORITY_MASKING | ||
If unsure, say N | ||
endif # ARM64_PSEUDO_NMI | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 411580c12e8dd196e525b71caebd4e847413747a Mon Sep 17 00:00:00 2001 | ||
From f391c3e1b4072567adbebe792a0268433e68d2bc Mon Sep 17 00:00:00 2001 | ||
From: Hector Martin <[email protected]> | ||
Date: Thu, 11 Apr 2024 09:51:22 +0900 | ||
Subject: [PATCH 15/20] arm64: Introduce scaffolding to add ACTLR_EL1 to thread | ||
|
@@ -24,10 +24,10 @@ Reviewed-by: Neal Gompa <[email protected]> | |
5 files changed, 44 insertions(+) | ||
|
||
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig | ||
index 741833d2f1a0..cefb705dc3c7 100644 | ||
index ffc0a44a8dee..5f774ff0945a 100644 | ||
--- a/arch/arm64/Kconfig | ||
+++ b/arch/arm64/Kconfig | ||
@@ -409,6 +409,9 @@ config KASAN_SHADOW_OFFSET | ||
@@ -408,6 +408,9 @@ config KASAN_SHADOW_OFFSET | ||
config UNWIND_TABLES | ||
bool | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From b04f31204cda6ed6735f20138797ebd033558969 Mon Sep 17 00:00:00 2001 | ||
From 641b03f2e7b6bd1285de906f3aee976aef38b8ba Mon Sep 17 00:00:00 2001 | ||
From: Hector Martin <[email protected]> | ||
Date: Thu, 11 Apr 2024 09:51:23 +0900 | ||
Subject: [PATCH 16/20] arm64: Implement Apple IMPDEF TSO memory model control | ||
|
@@ -27,10 +27,10 @@ Reviewed-by: Neal Gompa <[email protected]> | |
create mode 100644 arch/arm64/include/asm/apple_cpufeature.h | ||
|
||
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig | ||
index cefb705dc3c7..8302d602a6f9 100644 | ||
index 5f774ff0945a..4cd140d0d693 100644 | ||
--- a/arch/arm64/Kconfig | ||
+++ b/arch/arm64/Kconfig | ||
@@ -2203,6 +2203,8 @@ endif # ARM64_PSEUDO_NMI | ||
@@ -2205,6 +2205,8 @@ endif # ARM64_PSEUDO_NMI | ||
|
||
config ARM64_MEMORY_MODEL_CONTROL | ||
bool "Runtime memory model control" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 9ec85361575b3936127e5f879dc3250e716eb452 Mon Sep 17 00:00:00 2001 | ||
From 1061d684a171eeca4bc66dfe26b5d3de7873d74a Mon Sep 17 00:00:00 2001 | ||
From: Dmitry Osipenko <[email protected]> | ||
Date: Sat, 7 Oct 2023 22:47:47 +0300 | ||
Subject: [PATCH 17/20] drm/virtio: Support fence-passing feature | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From a2a7742b033bd36460343555bcc9ddedac9ffb88 Mon Sep 17 00:00:00 2001 | ||
From 59d0207bce9759ed9f28fa62fb70e1bc36cae7a0 Mon Sep 17 00:00:00 2001 | ||
From: Sergio Lopez <[email protected]> | ||
Date: Tue, 8 Oct 2024 11:24:25 +0200 | ||
Subject: [PATCH 18/20] Enable 64 bit processes to use compat input syscalls | ||
|
@@ -64,10 +64,10 @@ index 3b7bb12b023b..e78c0492ce0d 100644 | |
} | ||
|
||
diff --git a/include/linux/sched.h b/include/linux/sched.h | ||
index 77f01ac385f7..01125573065e 100644 | ||
index 3d83cc397eac..a48fce12adfb 100644 | ||
--- a/include/linux/sched.h | ||
+++ b/include/linux/sched.h | ||
@@ -1535,6 +1535,11 @@ struct task_struct { | ||
@@ -1537,6 +1537,11 @@ struct task_struct { | ||
#ifdef CONFIG_USER_EVENTS | ||
struct user_event_mm *user_event_mm; | ||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 0d5513eeec3176ffdc62348f1fc52579f9daeebf Mon Sep 17 00:00:00 2001 | ||
From dcf61fa3f1435132d79cf7e0a97db5fe883a2696 Mon Sep 17 00:00:00 2001 | ||
From: Asahi Lina <[email protected]> | ||
Date: Sun, 20 Oct 2024 01:23:41 +0900 | ||
Subject: [PATCH 19/20] dax: Allow block size > PAGE_SIZE | ||
|
@@ -22,7 +22,7 @@ Signed-off-by: Asahi Lina <[email protected]> | |
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/fs/dax.c b/fs/dax.c | ||
index 3380b43cb6bb..9a33625740c1 100644 | ||
index 8c09578fa035..1f99f5556e85 100644 | ||
--- a/fs/dax.c | ||
+++ b/fs/dax.c | ||
@@ -1032,7 +1032,7 @@ int dax_writeback_mapping_range(struct address_space *mapping, | ||
|
Oops, something went wrong.