fa48146
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
fa48146
From: Avnish Chouhan <avnish.chouhan@ibm.com>
fa48146
Date: Tue, 22 Nov 2022 08:01:47 -0500
fa48146
Subject: [PATCH] Correction in vector 5 values
fa48146
fa48146
This patch is to update the vector 5 values which is troubling some
fa48146
machines to bootup properly. Max out the values of all the properties of
fa48146
Vector 5 (similar to vector 2) except max cpu property, which were set
fa48146
as 0 earlier.
fa48146
fa48146
Signed-off-by: Avnish Chouhan <avnish.chouhan@ibm.com>
fa48146
[rharwood: rewrap comit message]
fa48146
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
fa48146
---
fa48146
 grub-core/kern/ieee1275/init.c | 2 +-
fa48146
 1 file changed, 1 insertion(+), 1 deletion(-)
fa48146
fa48146
diff --git a/grub-core/kern/ieee1275/init.c b/grub-core/kern/ieee1275/init.c
fa48146
index 6a51c9efab..28a3bd4621 100644
fa48146
--- a/grub-core/kern/ieee1275/init.c
fa48146
+++ b/grub-core/kern/ieee1275/init.c
fa48146
@@ -376,7 +376,7 @@ grub_ieee1275_ibm_cas (void)
fa48146
     .vec4 = 0x0001, // set required minimum capacity % to the lowest value
fa48146
     .vec5_size = 1 + sizeof(struct option_vector5) - 2,
fa48146
     .vec5 = {
fa48146
-	0, 0, 0, 0, 0, 0, 0, 0, 256
fa48146
+	-1, -1, -1, -1, -1, -1, -1, -1, 256
fa48146
     }
fa48146
   };
fa48146