| commit | 1e2ab0613dde7d8051052eecf6f5f2381e91ce87 | [log] [tgz] |
|---|---|---|
| author | Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | Mon Aug 03 16:57:00 2020 +0000 |
| committer | AppaRao Puli <apparao.puli@linux.intel.com> | Thu Aug 06 03:57:44 2020 +0000 |
| tree | 61b8d3e73e7bcb24c569a968034555562150f2b6 | |
| parent | 308c3a8bff3d667b43f997856bd884dc15a78ded [diff] |
storagecommands: Fix for GetFruAreaInfo command
Issue: GetFruAreaInfo command is giving incorrect response for Invalid
FRU Device ID's.
Fix: Add check for invalid FRU Device ID's to return completion code as
0xCB.
Tested:
Verified using ipmitool raw commands.
Case 1: Valid FRU Device ID:
Command: ipmitool raw 0x0a 0x10 0xce //Get fru Area info
Response: a9 00 00
Case 2: Invalid FRU Device ID:
Command: ipmitool raw 0x0a 0x10 0x01 //Get fru Area info
Response: Unable to send RAW command (channel=0x0 netfn=0xa lun=0x0
cmd=0x10 rsp=0xcb): Requested sensor, data, or record not
found
Signed-off-by: Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I8e3416beff40c133804af9e913d83c2372784439
This component is intended to provide Intel-specific IPMI[3] command handlers for OpenBMC. These handlers are intended to integrate BMC with servers based on Intel architecture.
intel-ipmi-oem serves as an extension[1] to OpenBMC IPMI daemon[2]. It is compiled as a shared library and intended to both:
Related features provided by the library are grouped in separate source files. Main extensions to vanilla OpenBMC IPMI stack are the following:
[4]