Skip to content

Commit c65f0d1

Browse files
committed
Rebase on a v6.6.63 kernel
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]>
1 parent 2e089d0 commit c65f0d1

25 files changed

+62
-62
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
KERNEL_VERSION = linux-6.6.59
1+
KERNEL_VERSION = linux-6.6.63
22
KERNEL_REMOTE = https://cdn.kernel.org/pub/linux/kernel/v6.x/$(KERNEL_VERSION).tar.xz
33
KERNEL_TARBALL = tarballs/$(KERNEL_VERSION).tar.xz
44
KERNEL_SOURCES = $(KERNEL_VERSION)
55
KERNEL_PATCHES = $(shell find patches/ -name "0*.patch" | sort)
66
KERNEL_C_BUNDLE = kernel.c
77

88
ABI_VERSION = 4
9-
FULL_VERSION = 4.5.1
10-
TIMESTAMP = "Thu Nov 7 05:07:35 PM CET 2024"
9+
FULL_VERSION = 4.6.0
10+
TIMESTAMP = "Mon Dec 2 11:39:28 CET 2024"
1111

1212
KERNEL_FLAGS = KBUILD_BUILD_TIMESTAMP=$(TIMESTAMP)
1313
KERNEL_FLAGS += KBUILD_BUILD_USER=root

patches-sev/0001-virtio-enable-DMA-API-if-memory-is-restricted.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 83aec6003044244d4c2e3851dcec0af97ec0486f Mon Sep 17 00:00:00 2001
1+
From 937e56d777cf3809a5ac0a5d8d42dfcbcc93c330 Mon Sep 17 00:00:00 2001
22
From: Sergio Lopez <[email protected]>
33
Date: Fri, 10 Sep 2021 13:05:01 +0200
44
Subject: [PATCH 1/4] virtio: enable DMA API if memory is restricted

patches-sev/0002-x86-sev-write-AP-reset-vector.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From b6379abecd7a40dbbd98ef09eca23789c693bc24 Mon Sep 17 00:00:00 2001
1+
From 15cc4533c0e0bfa1b8a762ecffb5486ed258d87a Mon Sep 17 00:00:00 2001
22
From: Sergio Lopez <[email protected]>
33
Date: Thu, 20 Oct 2022 10:23:16 +0200
44
Subject: [PATCH 2/4] x86/sev: write AP reset vector

patches-sev/0003-Implement-driver-to-retrieve-secrets-from-cmdline.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From d10df5bc5c8986a6dd0961ebf354c7e6ecfbda32 Mon Sep 17 00:00:00 2001
1+
From 4db2da9b067d0c7b10d7f7543c45dcb0d608e307 Mon Sep 17 00:00:00 2001
22
From: Sergio Lopez <[email protected]>
33
Date: Wed, 3 Aug 2022 12:35:12 +0200
44
Subject: [PATCH 3/4] Implement driver to retrieve secrets from cmdline

patches-sev/0004-x86-sev-Avoid-using-native_cpuid.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From baaba00fa3a3c5407b8a08f262388b173306219f Mon Sep 17 00:00:00 2001
1+
From d53bef286ab6731ad5c721537ef8ad3ec39c0200 Mon Sep 17 00:00:00 2001
22
From: Sergio Lopez <[email protected]>
33
Date: Wed, 5 Jun 2024 16:20:08 +0200
44
Subject: [PATCH 4/4] x86/sev: Avoid using native_cpuid

patches/0001-krunfw-Don-t-panic-when-init-dies.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 7f18f75689b7b0f34ca711daa4e29e2d4ae5f910 Mon Sep 17 00:00:00 2001
1+
From a6442523102c4d482bf24f0f21a38ae29b3f0c8c Mon Sep 17 00:00:00 2001
22
From: Sergio Lopez <[email protected]>
33
Date: Thu, 2 Mar 2023 07:34:49 +0100
44
Subject: [PATCH 01/20] krunfw: Don't panic when init dies

patches/0002-krunfw-Ignore-run_cmd-on-orderly-reboot.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 5ed6edb3e75df34958f788bca363748cea75eea1 Mon Sep 17 00:00:00 2001
1+
From 46b2f712bf3d3de11cbc0358ec6f833be99f2f49 Mon Sep 17 00:00:00 2001
22
From: Sergio Lopez <[email protected]>
33
Date: Mon, 16 May 2022 16:04:27 +0200
44
Subject: [PATCH 02/20] krunfw: Ignore run_cmd on orderly reboot

patches/0003-vsock-dgram-generalize-recvmsg-and-drop-transport-dg.patch

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 06a9c813b4f59d92edf78a6011a719629323081c Mon Sep 17 00:00:00 2001
1+
From 0bef0669ef2606831f442e86254e9e1ab86809b6 Mon Sep 17 00:00:00 2001
22
From: Bobby Eshleman <bobby.eshleman () bytedance ! com>
33
Date: Sat, 10 Jun 2023 00:58:28 +0000
44
Subject: [PATCH 03/20] vsock/dgram: generalize recvmsg and drop
@@ -151,10 +151,10 @@ index f5eb737a677d..c3fdb22cfd39 100644
151151

152152
int vsock_dgram_recvmsg(struct socket *sock, struct msghdr *msg,
153153
diff --git a/net/vmw_vsock/hyperv_transport.c b/net/vmw_vsock/hyperv_transport.c
154-
index e2157e387217..a83b30d366af 100644
154+
index 56c232cf5b0f..cc0a6c3401d3 100644
155155
--- a/net/vmw_vsock/hyperv_transport.c
156156
+++ b/net/vmw_vsock/hyperv_transport.c
157-
@@ -556,8 +556,17 @@ static int hvs_dgram_bind(struct vsock_sock *vsk, struct sockaddr_vm *addr)
157+
@@ -557,8 +557,17 @@ static int hvs_dgram_bind(struct vsock_sock *vsk, struct sockaddr_vm *addr)
158158
return -EOPNOTSUPP;
159159
}
160160

@@ -174,7 +174,7 @@ index e2157e387217..a83b30d366af 100644
174174
{
175175
return -EOPNOTSUPP;
176176
}
177-
@@ -833,7 +842,9 @@ static struct vsock_transport hvs_transport = {
177+
@@ -834,7 +843,9 @@ static struct vsock_transport hvs_transport = {
178178
.shutdown = hvs_shutdown,
179179

180180
.dgram_bind = hvs_dgram_bind,
@@ -203,7 +203,7 @@ index 2925f5d27ad3..332d6d580cba 100644
203203
.stream_dequeue = virtio_transport_stream_dequeue,
204204
.stream_enqueue = virtio_transport_stream_enqueue,
205205
diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c
206-
index e87fd9480acd..ed1235d57ffb 100644
206+
index 43495820b64f..b566fc80f8db 100644
207207
--- a/net/vmw_vsock/virtio_transport_common.c
208208
+++ b/net/vmw_vsock/virtio_transport_common.c
209209
@@ -860,6 +860,24 @@ int virtio_transport_dgram_bind(struct vsock_sock *vsk,

patches/0004-vsock-refactor-transport-lookup-code.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 5a2b5b9c1a9f473836c361153b15c10eab012e9a Mon Sep 17 00:00:00 2001
1+
From 789729bfd16c0f28d6b591ffd4d2537c9f1e9873 Mon Sep 17 00:00:00 2001
22
From: Bobby Eshleman <bobby.eshleman () bytedance ! com>
33
Date: Sat, 10 Jun 2023 00:58:29 +0000
44
Subject: [PATCH 04/20] vsock: refactor transport lookup code

patches/0005-vsock-support-multi-transport-datagrams.patch

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 10b18bb2d94abcf35e199c76fcf9921de1dbb9ae Mon Sep 17 00:00:00 2001
1+
From aa746f8898e3b89d6d93a1373a85eea7815bb416 Mon Sep 17 00:00:00 2001
22
From: Bobby Eshleman <bobby.eshleman () bytedance ! com>
33
Date: Sat, 10 Jun 2023 00:58:30 +0000
44
Subject: [PATCH 05/20] vsock: support multi-transport datagrams
@@ -238,11 +238,11 @@ index 5a517638deed..afe28d3b0b74 100644
238238

239239
/* sock map disallows redirection of non-TCP sockets with sk_state !=
240240
diff --git a/net/vmw_vsock/hyperv_transport.c b/net/vmw_vsock/hyperv_transport.c
241-
index a83b30d366af..1a9e9a22c929 100644
241+
index cc0a6c3401d3..4c6d705cc9e6 100644
242242
--- a/net/vmw_vsock/hyperv_transport.c
243243
+++ b/net/vmw_vsock/hyperv_transport.c
244-
@@ -551,11 +551,6 @@ static void hvs_destruct(struct vsock_sock *vsk)
245-
kfree(hvs);
244+
@@ -552,11 +552,6 @@ static void hvs_destruct(struct vsock_sock *vsk)
245+
vsk->trans = NULL;
246246
}
247247

248248
-static int hvs_dgram_bind(struct vsock_sock *vsk, struct sockaddr_vm *addr)
@@ -253,7 +253,7 @@ index a83b30d366af..1a9e9a22c929 100644
253253
static int hvs_dgram_get_cid(struct sk_buff *skb, unsigned int *cid)
254254
{
255255
return -EOPNOTSUPP;
256-
@@ -841,7 +836,6 @@ static struct vsock_transport hvs_transport = {
256+
@@ -842,7 +837,6 @@ static struct vsock_transport hvs_transport = {
257257
.connect = hvs_connect,
258258
.shutdown = hvs_shutdown,
259259

@@ -274,7 +274,7 @@ index 332d6d580cba..4e138ad3c113 100644
274274
.dgram_allow = virtio_transport_dgram_allow,
275275
.dgram_get_cid = virtio_transport_dgram_get_cid,
276276
diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c
277-
index ed1235d57ffb..0b2f6c211544 100644
277+
index b566fc80f8db..456dfa74c642 100644
278278
--- a/net/vmw_vsock/virtio_transport_common.c
279279
+++ b/net/vmw_vsock/virtio_transport_common.c
280280
@@ -853,13 +853,6 @@ bool virtio_transport_stream_allow(u32 cid, u32 port)

patches/0006-vsock-make-vsock-bind-reusable.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 9b076ce6da60de7904d340289a2187325efee512 Mon Sep 17 00:00:00 2001
1+
From 47c855617435187d710744e4144b11390814da8a Mon Sep 17 00:00:00 2001
22
From: Bobby Eshleman <bobby.eshleman () bytedance ! com>
33
Date: Sat, 10 Jun 2023 00:58:31 +0000
44
Subject: [PATCH 06/20] vsock: make vsock bind reusable

patches/0007-virtio-vsock-add-VIRTIO_VSOCK_F_DGRAM-feature-bit.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From f9c572bf348f3eda2d0763ecf0e212cf6861d769 Mon Sep 17 00:00:00 2001
1+
From 3ff89941eeaa749a5d26bdd2cfc31ca9201770fd Mon Sep 17 00:00:00 2001
22
From: Bobby Eshleman <bobby.eshleman () bytedance ! com>
33
Date: Sat, 10 Jun 2023 00:58:32 +0000
44
Subject: [PATCH 07/20] virtio/vsock: add VIRTIO_VSOCK_F_DGRAM feature bit

patches/0008-virtio-vsock-support-dgrams.patch

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From cea879931c45169784b8b2301ae02ee45c4aa20d Mon Sep 17 00:00:00 2001
1+
From b103d01ce2eccd9b73f3db15674137b259f02ec4 Mon Sep 17 00:00:00 2001
22
From: Bobby Eshleman <bobby.eshleman () bytedance ! com>
33
Date: Sat, 10 Jun 2023 00:58:33 +0000
44
Subject: [PATCH 08/20] virtio/vsock: support dgrams
@@ -345,7 +345,7 @@ index 4e138ad3c113..3dd63dc8f6b7 100644
345345

346346
static struct virtio_driver virtio_vsock_driver = {
347347
diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c
348-
index 0b2f6c211544..7ff2d3a44dc2 100644
348+
index 456dfa74c642..2908af557aa0 100644
349349
--- a/net/vmw_vsock/virtio_transport_common.c
350350
+++ b/net/vmw_vsock/virtio_transport_common.c
351351
@@ -37,6 +37,35 @@ virtio_transport_get_ops(struct vsock_sock *vsk)
@@ -475,23 +475,23 @@ index 0b2f6c211544..7ff2d3a44dc2 100644
475475
+EXPORT_SYMBOL_GPL(virtio_transport_dgram_get_cid);
476476
+
477477
+int virtio_transport_dgram_get_port(struct sk_buff *skb, unsigned int *port)
478-
+{
478+
{
479+
- return -EOPNOTSUPP;
479480
+ *port = le32_to_cpu(virtio_vsock_hdr(skb)->src_port);
480481
+ return 0;
481-
+}
482+
}
483+
-EXPORT_SYMBOL_GPL(virtio_transport_dgram_dequeue);
482484
+EXPORT_SYMBOL_GPL(virtio_transport_dgram_get_port);
483485
+
484486
+int virtio_transport_dgram_get_length(struct sk_buff *skb, size_t *len)
485-
{
486-
- return -EOPNOTSUPP;
487+
+{
487488
+ /* The device layer must have already moved the data ptr beyond the
488489
+ * header for skb->len to be correct.
489490
+ */
490491
+ WARN_ON(skb->data == skb->head);
491492
+ *len = skb->len;
492493
+ return 0;
493-
}
494-
-EXPORT_SYMBOL_GPL(virtio_transport_dgram_dequeue);
494+
+}
495495
+EXPORT_SYMBOL_GPL(virtio_transport_dgram_get_length);
496496

497497
s64 virtio_transport_stream_has_data(struct vsock_sock *vsk)
@@ -563,15 +563,15 @@ index 0b2f6c211544..7ff2d3a44dc2 100644
563563
}
564564
EXPORT_SYMBOL_GPL(virtio_transport_dgram_enqueue);
565565

566-
@@ -966,6 +1030,7 @@ static int virtio_transport_reset_no_sock(const struct virtio_transport *t,
566+
@@ -967,6 +1031,7 @@ static int virtio_transport_reset_no_sock(const struct virtio_transport *t,
567567
.reply = true,
568568
};
569569
struct sk_buff *reply;
570570
+ int err;
571571

572572
/* Send RST only if the original pkt is not a RST pkt */
573573
if (le16_to_cpu(hdr->op) == VIRTIO_VSOCK_OP_RST)
574-
@@ -978,9 +1043,10 @@ static int virtio_transport_reset_no_sock(const struct virtio_transport *t,
574+
@@ -979,9 +1044,10 @@ static int virtio_transport_reset_no_sock(const struct virtio_transport *t,
575575
le64_to_cpu(hdr->dst_cid),
576576
le32_to_cpu(hdr->dst_port),
577577
le64_to_cpu(hdr->src_cid),
@@ -584,7 +584,7 @@ index 0b2f6c211544..7ff2d3a44dc2 100644
584584

585585
return t->send_pkt(reply);
586586
}
587-
@@ -1200,6 +1266,21 @@ virtio_transport_recv_enqueue(struct vsock_sock *vsk,
587+
@@ -1201,6 +1267,21 @@ virtio_transport_recv_enqueue(struct vsock_sock *vsk,
588588
kfree_skb(skb);
589589
}
590590

@@ -606,7 +606,7 @@ index 0b2f6c211544..7ff2d3a44dc2 100644
606606
static int
607607
virtio_transport_recv_connected(struct sock *sk,
608608
struct sk_buff *skb)
609-
@@ -1369,7 +1450,8 @@ virtio_transport_recv_listen(struct sock *sk, struct sk_buff *skb,
609+
@@ -1378,7 +1459,8 @@ virtio_transport_recv_listen(struct sock *sk, struct sk_buff *skb,
610610
static bool virtio_transport_valid_type(u16 type)
611611
{
612612
return (type == VIRTIO_VSOCK_TYPE_STREAM) ||
@@ -616,7 +616,7 @@ index 0b2f6c211544..7ff2d3a44dc2 100644
616616
}
617617

618618
/* We are under the virtio-vsock's vsock->rx_lock or vhost-vsock's vq->mutex
619-
@@ -1383,40 +1465,52 @@ void virtio_transport_recv_pkt(struct virtio_transport *t,
619+
@@ -1392,40 +1474,52 @@ void virtio_transport_recv_pkt(struct virtio_transport *t,
620620
struct vsock_sock *vsk;
621621
struct sock *sk;
622622
bool space_available;
@@ -679,7 +679,7 @@ index 0b2f6c211544..7ff2d3a44dc2 100644
679679
sock_put(sk);
680680
goto free_pkt;
681681
}
682-
@@ -1432,12 +1526,18 @@ void virtio_transport_recv_pkt(struct virtio_transport *t,
682+
@@ -1441,12 +1535,18 @@ void virtio_transport_recv_pkt(struct virtio_transport *t,
683683

684684
/* Check if sk has been closed before lock_sock */
685685
if (sock_flag(sk, SOCK_DONE)) {
@@ -699,7 +699,7 @@ index 0b2f6c211544..7ff2d3a44dc2 100644
699699
space_available = virtio_transport_space_update(sk, skb);
700700

701701
/* Update CID in case it has changed after a transport reset event */
702-
@@ -1469,6 +1569,7 @@ void virtio_transport_recv_pkt(struct virtio_transport *t,
702+
@@ -1478,6 +1578,7 @@ void virtio_transport_recv_pkt(struct virtio_transport *t,
703703
break;
704704
}
705705

patches/0009-tests-add-vsock-dgram-tests.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From aacd77363c0f5c8515f9ef55889cd367d42d06f9 Mon Sep 17 00:00:00 2001
1+
From a05b3dd945767cdeda0d9dc9f1979a8c4e67d1b5 Mon Sep 17 00:00:00 2001
22
From: Jiang Wang <[email protected]>
33
Date: Sat, 10 Jun 2023 00:58:35 +0000
44
Subject: [PATCH 09/20] tests: add vsock dgram tests

patches/0010-Transparent-Socket-Impersonation-implementation.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From bf4eb6179408f2fb6bbdd0d750a494ca1d0bf9c2 Mon Sep 17 00:00:00 2001
1+
From ea172def827af9efb7b81ae19b0f2bde42c33b38 Mon Sep 17 00:00:00 2001
22
From: Sergio Lopez <[email protected]>
33
Date: Thu, 19 May 2022 22:38:26 +0200
44
Subject: [PATCH 10/20] Transparent Socket Impersonation implementation
@@ -83,7 +83,7 @@ index 4c4dc535453d..b07f65c0ef56 100644
8383
obj-$(CONFIG_NET_HANDSHAKE) += handshake/
8484
+obj-$(CONFIG_TSI) += tsi/
8585
diff --git a/net/socket.c b/net/socket.c
86-
index 9db33cd4a71b..8b92dd098235 100644
86+
index bad58f23f307..9992976a67ff 100644
8787
--- a/net/socket.c
8888
+++ b/net/socket.c
8989
@@ -218,6 +218,7 @@ static const char * const pf_family_names[] = {

patches/0011-tsi-allow-hijacking-sockets-tsi_hijack.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 4cb286e56e14f2ea4b0c99567fb14558c508d2c0 Mon Sep 17 00:00:00 2001
1+
From 6fcf7ffdb2ef4f9808ba93d71e29488738c87189 Mon Sep 17 00:00:00 2001
22
From: Sergio Lopez <[email protected]>
33
Date: Thu, 19 May 2022 22:42:01 +0200
44
Subject: [PATCH 11/20] tsi: allow hijacking sockets (tsi_hijack)
@@ -14,7 +14,7 @@ Signed-off-by: Sergio Lopez <[email protected]>
1414
2 files changed, 18 insertions(+), 1 deletion(-)
1515

1616
diff --git a/net/socket.c b/net/socket.c
17-
index 8b92dd098235..ab2bd178bcc7 100644
17+
index 9992976a67ff..2a928d25f282 100644
1818
--- a/net/socket.c
1919
+++ b/net/socket.c
2020
@@ -115,6 +115,10 @@ unsigned int sysctl_net_busy_read __read_mostly;

patches/0012-arm64-cpufeature-Unify-SCOPE_LOCAL_CPU-early-late-be.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 322fce4105e6a4570c6d1c9ac154d89c6c0b2029 Mon Sep 17 00:00:00 2001
1+
From 4799b17d694746a858a8d4b05807f1e2efe252a6 Mon Sep 17 00:00:00 2001
22
From: Asahi Lina <[email protected]>
33
Date: Wed, 25 Sep 2024 16:35:34 +0200
44
Subject: [PATCH 12/20] arm64: cpufeature: Unify SCOPE_LOCAL_CPU early & late

patches/0013-prctl-Introduce-PR_-SET-GET-_MEM_MODEL.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 61f6748465de43ae02b1e6ce78aa100ab9757d66 Mon Sep 17 00:00:00 2001
1+
From 910c13dfdcf052ba9c4a525f73e86dfd6961314e Mon Sep 17 00:00:00 2001
22
From: Hector Martin <[email protected]>
33
Date: Thu, 11 Apr 2024 09:51:20 +0900
44
Subject: [PATCH 13/20] prctl: Introduce PR_{SET,GET}_MEM_MODEL

patches/0014-arm64-Implement-PR_-GET-SET-_MEM_MODEL-for-always-TS.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From a0a7db4f8927e5f8dda3c99b1f8e8bed15eaba03 Mon Sep 17 00:00:00 2001
1+
From c6af9a365bcef9ffb50b58f0fc5e3bb80bee0ae2 Mon Sep 17 00:00:00 2001
22
From: Hector Martin <[email protected]>
33
Date: Mon, 6 May 2024 16:47:51 +0200
44
Subject: [PATCH 14/20] arm64: Implement PR_{GET,SET}_MEM_MODEL for always-TSO
@@ -27,10 +27,10 @@ Reviewed-by: Neal Gompa <[email protected]>
2727
create mode 100644 arch/arm64/kernel/cpufeature_impdef.c
2828

2929
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
30-
index 9e0c1ac3d13e..741833d2f1a0 100644
30+
index 658c6a61ab6f..ffc0a44a8dee 100644
3131
--- a/arch/arm64/Kconfig
3232
+++ b/arch/arm64/Kconfig
33-
@@ -2198,6 +2198,15 @@ config ARM64_DEBUG_PRIORITY_MASKING
33+
@@ -2200,6 +2200,15 @@ config ARM64_DEBUG_PRIORITY_MASKING
3434
If unsure, say N
3535
endif # ARM64_PSEUDO_NMI
3636

patches/0015-arm64-Introduce-scaffolding-to-add-ACTLR_EL1-to-thre.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 411580c12e8dd196e525b71caebd4e847413747a Mon Sep 17 00:00:00 2001
1+
From f391c3e1b4072567adbebe792a0268433e68d2bc Mon Sep 17 00:00:00 2001
22
From: Hector Martin <[email protected]>
33
Date: Thu, 11 Apr 2024 09:51:22 +0900
44
Subject: [PATCH 15/20] arm64: Introduce scaffolding to add ACTLR_EL1 to thread
@@ -24,10 +24,10 @@ Reviewed-by: Neal Gompa <[email protected]>
2424
5 files changed, 44 insertions(+)
2525

2626
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
27-
index 741833d2f1a0..cefb705dc3c7 100644
27+
index ffc0a44a8dee..5f774ff0945a 100644
2828
--- a/arch/arm64/Kconfig
2929
+++ b/arch/arm64/Kconfig
30-
@@ -409,6 +409,9 @@ config KASAN_SHADOW_OFFSET
30+
@@ -408,6 +408,9 @@ config KASAN_SHADOW_OFFSET
3131
config UNWIND_TABLES
3232
bool
3333

patches/0016-arm64-Implement-Apple-IMPDEF-TSO-memory-model-contro.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From b04f31204cda6ed6735f20138797ebd033558969 Mon Sep 17 00:00:00 2001
1+
From 641b03f2e7b6bd1285de906f3aee976aef38b8ba Mon Sep 17 00:00:00 2001
22
From: Hector Martin <[email protected]>
33
Date: Thu, 11 Apr 2024 09:51:23 +0900
44
Subject: [PATCH 16/20] arm64: Implement Apple IMPDEF TSO memory model control
@@ -27,10 +27,10 @@ Reviewed-by: Neal Gompa <[email protected]>
2727
create mode 100644 arch/arm64/include/asm/apple_cpufeature.h
2828

2929
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
30-
index cefb705dc3c7..8302d602a6f9 100644
30+
index 5f774ff0945a..4cd140d0d693 100644
3131
--- a/arch/arm64/Kconfig
3232
+++ b/arch/arm64/Kconfig
33-
@@ -2203,6 +2203,8 @@ endif # ARM64_PSEUDO_NMI
33+
@@ -2205,6 +2205,8 @@ endif # ARM64_PSEUDO_NMI
3434

3535
config ARM64_MEMORY_MODEL_CONTROL
3636
bool "Runtime memory model control"

patches/0017-drm-virtio-Support-fence-passing-feature.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 9ec85361575b3936127e5f879dc3250e716eb452 Mon Sep 17 00:00:00 2001
1+
From 1061d684a171eeca4bc66dfe26b5d3de7873d74a Mon Sep 17 00:00:00 2001
22
From: Dmitry Osipenko <[email protected]>
33
Date: Sat, 7 Oct 2023 22:47:47 +0300
44
Subject: [PATCH 17/20] drm/virtio: Support fence-passing feature

patches/0018-Enable-64-bit-processes-to-use-compat-input-syscalls.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From a2a7742b033bd36460343555bcc9ddedac9ffb88 Mon Sep 17 00:00:00 2001
1+
From 59d0207bce9759ed9f28fa62fb70e1bc36cae7a0 Mon Sep 17 00:00:00 2001
22
From: Sergio Lopez <[email protected]>
33
Date: Tue, 8 Oct 2024 11:24:25 +0200
44
Subject: [PATCH 18/20] Enable 64 bit processes to use compat input syscalls
@@ -64,10 +64,10 @@ index 3b7bb12b023b..e78c0492ce0d 100644
6464
}
6565

6666
diff --git a/include/linux/sched.h b/include/linux/sched.h
67-
index 77f01ac385f7..01125573065e 100644
67+
index 3d83cc397eac..a48fce12adfb 100644
6868
--- a/include/linux/sched.h
6969
+++ b/include/linux/sched.h
70-
@@ -1535,6 +1535,11 @@ struct task_struct {
70+
@@ -1537,6 +1537,11 @@ struct task_struct {
7171
#ifdef CONFIG_USER_EVENTS
7272
struct user_event_mm *user_event_mm;
7373
#endif

patches/0019-dax-Allow-block-size-PAGE_SIZE.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 0d5513eeec3176ffdc62348f1fc52579f9daeebf Mon Sep 17 00:00:00 2001
1+
From dcf61fa3f1435132d79cf7e0a97db5fe883a2696 Mon Sep 17 00:00:00 2001
22
From: Asahi Lina <[email protected]>
33
Date: Sun, 20 Oct 2024 01:23:41 +0900
44
Subject: [PATCH 19/20] dax: Allow block size > PAGE_SIZE
@@ -22,7 +22,7 @@ Signed-off-by: Asahi Lina <[email protected]>
2222
1 file changed, 1 insertion(+), 1 deletion(-)
2323

2424
diff --git a/fs/dax.c b/fs/dax.c
25-
index 3380b43cb6bb..9a33625740c1 100644
25+
index 8c09578fa035..1f99f5556e85 100644
2626
--- a/fs/dax.c
2727
+++ b/fs/dax.c
2828
@@ -1032,7 +1032,7 @@ int dax_writeback_mapping_range(struct address_space *mapping,

0 commit comments

Comments
 (0)