[Skiboot] [PATCH] IPMI: Fix eSEL size

Patrick Williams III iawillia at us.ibm.com
Sun Aug 2 20:44:42 AEST 2015


I believe FSP PELs can be up to 64k.

I also believe the BMC code has a limit for the eSEL content to only be 2k.
Hostboot truncates our PEL content to the eSEL limit when we send it to the
BMC.

Patrick Williams

> On Aug 2, 2015, at 5:36 AM, Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
wrote:
>
> 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
>
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/skiboot/attachments/20150802/041aad0a/attachment.html>


More information about the Skiboot mailing list