[Skiboot] [PATCH] ipmi: Log exact NetFn value in OPAL logs

Stewart Smith stewart at linux.vnet.ibm.com
Mon Mar 7 14:39:44 AEDT 2016


Vipin K Parashar <vipin at linux.vnet.ibm.com> writes:
> As per IPMI message format NetFn value in present in first 6 bits
> while last 2 bits contain LUN value. This needs to be taken care
> while printing NetFn value in OPAL logs which is useful while debugging
> fails.
>
> [root at fir01 /]# ipmitool raw 0x0a 0x48
>  47 b1 d0 56
> [root at fir01 /]#
>
> From OPAL Logs
> ---------------
> [133969609199,7] BT: seq 0x3d netfn 0x0a cmd 0x48: Message sent to host
> [133975465455,7] BT: seq 0x3d netfn 0x0a cmd 0x48: IPMI MSG done
>
> From BMC Logs
> --------------
> IPMIMain: [693 WARNING][corecmdselect.c:913]
>  Request: Channel:f; Netfn:a; Cmd:48;
> IPMIMain: [693 INFO][corecmdselect.c:924]
>  Response: Channel:f; Netfn:a; Cmd:48; Data:0 47 b1 d0 56
>
> Signed-off-by: Vipin K Parashar <vipin at linux.vnet.ibm.com>
> ---
>  core/ipmi.c | 2 +-
>  hw/bt.c     | 5 +++--
>  2 files changed, 4 insertions(+), 3 deletions(-)
>

Thanks, merged to master as of 361000f 

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list