nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0574-Correction-in-vector-5-values.patch

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