sel: Support regular SEL record

Support regular SEL record logged by phosphor-sel-logger.

Tested: Manually call IpmiSelAdd to add a SEL entry in logging, and
        check the ipmi sel:

        # Call IpmiSelAdd method
        busctl call "xyz.openbmc_project.Logging.IPMI" "/xyz/openbmc_project/Logging/IPMI" xyz.openbmc_project.Logging.IPMI IpmiSelAdd ssaybq "Sensor message" "/xyz/openbmc_project/inventory/system/board/G220A" 3 0x01 0x02 0x03 true 0x2000

        # Check SEL
        $ ipmitool -C17 -I lanplus -H 127.0.0.1 -U root -P 0penBmc sel get 6
        SEL Record ID          : 0006
         Record Type           : 02
         Timestamp             : 01/01/1970 00:11:02
         Generator ID          : 2000
         EvM Revision          : 04
         Sensor Type           : System Event
         Sensor Number         : 90
         Event Type            : Sensor-specific Discrete
         Event Direction       : Assertion Event
         Event Data            : 010203
         Description           : OEM System boot event

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Ifcbc4fbe8825e9624d9e7bb2419eabf707f51254
1 file changed