nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone
235a57
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
235a57
From: Avnish Chouhan <avnish@linux.vnet.ibm.com>
235a57
Date: Tue, 24 Jan 2023 08:01:47 -0500
235a57
Subject: [PATCH] Enable shared processor mode in vector 5
235a57
235a57
This patch is to update the vector 5 which is troubling some
235a57
machines to bootup properly in shared processor mode.
235a57
235a57
Signed-off-by: Avnish Chouhan <avnish@linux.vnet.ibm.com>
235a57
(cherry picked from commit 30d2ee836649386a336f9437c8a149c8e642a46b)
235a57
(cherry picked from commit 7e309d139c5eca1f03659e612a14499213e79c95)
235a57
---
235a57
 grub-core/kern/ieee1275/init.c | 2 +-
235a57
 1 file changed, 1 insertion(+), 1 deletion(-)
235a57
235a57
diff --git a/grub-core/kern/ieee1275/init.c b/grub-core/kern/ieee1275/init.c
235a57
index 37f3098c39..3ea9b73b2a 100644
235a57
--- a/grub-core/kern/ieee1275/init.c
235a57
+++ b/grub-core/kern/ieee1275/init.c
235a57
@@ -372,7 +372,7 @@ grub_ieee1275_ibm_cas (void)
235a57
     .vec4 = 0x0001, // set required minimum capacity % to the lowest value
235a57
     .vec5_size = 1 + sizeof(struct option_vector5) - 2,
235a57
     .vec5 = {
235a57
-	0, 0, 0, 0, 0, 0, 0, 0, 256
235a57
+	0, 192, 0, 128, 0, 0, 0, 0, 256
235a57
     }
235a57
   };
235a57