Override the Platform Event command
Override the Platform Event IPMI command to allow injecting
the hook to convert IPMI events to Redfish messages.
There are two ToDos in this change that are pending support
from other patches:
1. Getting the incoming channel.
2. Getting the IPMB requester's slave address.
Until we have these the workarounds in this patch are to use
the EvMRev to determine if the Generator ID byte is in the
request and to hardcode the requester's slave address to 0x2C
for the ME since that is the main IPMB requester we support.
Tested:
Ran the following IPMI commands and checked that the correct
SEL events were logged:
ipmitool raw 0x4 0x2 0x4 0x1 0x6 0x1 0xa4 5 6
ipmitool raw 0x4 0x2 0x81 0x4 0x1 0x6 0x1 0xa4
Change-Id: I7ec31b3e895300ebe4f09407f5f5cabd106bfa22
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
1 file changed