lkml.org 
[lkml]   [2026]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v1 07/42] skip processing plane configuration for plane 0 - plane 0 is the boot plane
Date
---
init/vm_planes.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/init/vm_planes.c b/init/vm_planes.c
index 8eafb1c5f8cf..ecfe8de409a8 100644
--- a/init/vm_planes.c
+++ b/init/vm_planes.c
@@ -288,7 +288,10 @@ static int __init parse_vm_planes_kconfig(const char *buf, size_t len,
p++;
}

- for (i = 0; i < *plane_count; i++) {
+ /* Plane 0 is the already-running boot plane; only secondary planes
+ * must provide full allocation metadata.
+ */
+ for (i = 1; i < *plane_count; i++) {
if (state[i].load_offset == VM_PLANES_UNSET_VALUE ||
state[i].memory_size == VM_PLANES_UNSET_VALUE ||
!state[i].vcpu_count ||
--
2.55.0

\
 
 \ /
  Last update: 2026-08-05 13:06    [W:0.394 / U:5.843 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog