nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0575-Enable-shared-processor-mode-in-vector-5.patch

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