[Skiboot] [PATCH] IPMI: Fix eSEL size

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Sun Aug 2 20:34:32 AEST 2015


Currently we are assuming Max PEL size is 64K. But in reality log size
much lesser than this. Hence reduce size to 16K...which is the max size
we use in FSP based machine as well.

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
Cc: Alistair Popple <alistair at popple.id.au>
Cc: Jeremy Kerr <jk at ozlabs.org>
---
 hw/ipmi/ipmi-sel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/ipmi/ipmi-sel.c b/hw/ipmi/ipmi-sel.c
index cce4042..087ed97 100644
--- a/hw/ipmi/ipmi-sel.c
+++ b/hw/ipmi/ipmi-sel.c
@@ -84,7 +84,7 @@ static struct oem_esel oem_esel = {
  * the possible presence of the user defined section). We chose this
  * size because it's what FSP uses, but we could probably reduce
  * it. */
-#define MAX_PEL_SIZE 0x10000
+#define MAX_PEL_SIZE 0x4000
 
 #define ESEL_HDR_SIZE 7
 
-- 
2.1.0



More information about the Skiboot mailing list