History log of /openbmc/intel-ipmi-oem/include/ (Results 76 – 100 of 155)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
14c36a8123-Oct-2019 Patrick Venture <venture@google.com>

sensorcommands.hpp: use quotes for project headers

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I46b8b3831b89f977fd77f87f192f51872c8246e5

ccfeb04718-Oct-2019 Patrick Venture <venture@google.com>

commandutils: add Association object to variant

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ib85dc9534ed4fec2ab32aaaaf3c80a85e608d663

7ecaf52b18-Oct-2019 Patrick Venture <venture@google.com>

commandutils: add missing headers

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ie981c66cf8e46b3ce820b2d1e64a07a77f2d2b58

7a04f3a407-Oct-2019 Chen Yugang <yugang.chen@linux.intel.com>

Support Device information for GetOEMDeviceInformation

Currently, it's support only for BIOS info for GetOEMDeviceInformation
IPMI OEM command; now, add getting Device information for it, it's to
ge

Support Device information for GetOEMDeviceInformation

Currently, it's support only for BIOS info for GetOEMDeviceInformation
IPMI OEM command; now, add getting Device information for it, it's to
get BMC version and Me version numbers from their DBUS properties.

Tested:
It's tested by IPMI OEM command.
ipmitool raw 0x30 0x27 1 10 0
ipmitool raw 0x30 0x27 2 2 0

Change-Id: I6bb4919c961b11f0b8dc33020f8fd5f4b250354b
Signed-off-by: Chen Yugang <yugang.chen@linux.intel.com>

show more ...

545fb2d512-Oct-2019 Patrick Venture <venture@google.com>

sensorcommands: add missing headers

Add headers for types used by this file. Compilation breaks if the
header ordering changes.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I41bc

sensorcommands: add missing headers

Add headers for types used by this file. Compilation breaks if the
header ordering changes.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I41bc2cb3606c5c07ee6afd2aa12aed1903c8ec50

show more ...

4e6ee15b24-Sep-2019 Cheng C Yang <cheng.c.yang@linux.intel.com>

Implement a Command To Get PSU Version

Implement an IPMI command to get PSU version.

Tested:
Run ipmitool raw 0x30 0xef
returns: 03 32 01 03 32 01

Signed-off-by: Cheng C Yang <cheng.c.yang@linux.i

Implement a Command To Get PSU Version

Implement an IPMI command to get PSU version.

Tested:
Run ipmitool raw 0x30 0xef
returns: 03 32 01 03 32 01

Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com>
Change-Id: I087b7786b7dd669f5b1eecb8a9bc9647362fd207

show more ...

5f4194ee20-May-2019 jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>

storagecommands: move Read and Write FRU data

Rewrite "Read and write FRU data" to new IPMI provider API.

Tested:
verified using ipmitool storage commands.
a. read fru data
b. write fru data before

storagecommands: move Read and Write FRU data

Rewrite "Read and write FRU data" to new IPMI provider API.

Tested:
verified using ipmitool storage commands.
a. read fru data
b. write fru data before and after the changes.

Write Fru data:
Input Command: ipmitool raw 0x0a 0x12 0x00 0x02 0x01 0x15 0x26 0x24
0x20 0x1a 0x10 0x01 0x02 0x03 0x5 0x43 0x55 0x66 0xaa 0xbb 0xaa
Output: 00

Read fru data:
Input Command: ipmitool raw 0x0a 0x11 0x00 0x02 0x01 0x10
Output: 10 15 26 24 20 1a 10 01 02 03 05 43 55 66 aa bb aa

Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: Id9e52623d262bab8fa1fe861896fc36a43c9f488

show more ...

068b4f2c17-Sep-2019 Yong Li <yong.b.li@linux.intel.com>

intel-ipmi-oem: add clear CMOS command

There is an i2c device on bus4, the slave address is 0x70. Based on the
spec, writing 0x1 to address 0x60 on this device, will trigger the clear
CMOS action.

intel-ipmi-oem: add clear CMOS command

There is an i2c device on bus4, the slave address is 0x70. Based on the
spec, writing 0x1 to address 0x60 on this device, will trigger the clear
CMOS action.

Tested:
Run the below command in MFG mode:
ipmitool raw 0x32 0x91

Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Change-Id: I2e549de7ab18c448e81cc8b431cf90bab8fd9dd0

show more ...

c3580e9f15-Aug-2019 Yong Li <yong.b.li@linux.intel.com>

Implement Get Message Flags Command

Enable command that Get Message Flag can set right bit about
watchdog.

Tested:
Set watchdog timer
(Pre-timeout interrupt is Messaging, Initial Countdown is 2 sec

Implement Get Message Flags Command

Enable command that Get Message Flag can set right bit about
watchdog.

Tested:
Set watchdog timer
(Pre-timeout interrupt is Messaging, Initial Countdown is 2 second).
ipmitool raw 0x06 0x24 0x5 0x30 0x1 0x3e 0x14 0x00
Start watchdog timer.
ipmitool mc watchdog reset
After watchdog timer expired,
restart host and excute Get Message Flag Command.
ipmitool raw 0x06 0x31
Expect return "0x0b".

Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Change-Id: Ib545034edfd0087e45d6a97125495e365989d7d3

show more ...

98bbf69a16-Sep-2019 Vernon Mauery <vernon.mauery@linux.intel.com>

update oemcommands.hpp to use new API

All the command handler numbers and netfn numbers were done
using the old API. This updates all the enums to be ipmi::Cmd
or ipmi::NetFn types. This improves re

update oemcommands.hpp to use new API

All the command handler numbers and netfn numbers were done
using the old API. This updates all the enums to be ipmi::Cmd
or ipmi::NetFn types. This improves readability by eliminating
unneeded static_casts and brings the legacy code to the present.

One minor fix, otherwise the code is the same. The call to
registerFilter was passing a netfn instead of a priority. It compiled
but it was incorrect. This updates it to use the correct parameter.

Tested: builds and produces the same binary output (other than the
aforementioned registerFilter fix)

Change-Id: I7e83123245b3f340088f8ec75a31b7611d0ecda0
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>

show more ...

f267a67d28-Aug-2019 Yong Li <yong.b.li@linux.intel.com>

intel-ipmi-oem: add slot I2C master RW command

This command is used to perform i2c master read/write on PCIE slots.

Tested:
Reading the 0x4e device on slot 2 of riser 1(i2c bus is 17),
the below tw

intel-ipmi-oem: add slot I2C master RW command

This command is used to perform i2c master read/write on PCIE slots.

Tested:
Reading the 0x4e device on slot 2 of riser 1(i2c bus is 17),
the below two commands have the same result:

ipmitool raw 0x3e 0x52 0 0x11 0x4e 8 0
i2cget -f -y 17 0x4e 0 i 8

Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Change-Id: I03872296345d180571db2205a9a30c08f28b69b6

show more ...

d801e46319-Jun-2019 Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

[oem-cmd]: Support for Get/Set security modes

Command support for Get & Set Security modes are added. These
modes are used to limit the host interfaces IPMI command
execution. Based on the mode comm

[oem-cmd]: Support for Get/Set security modes

Command support for Get & Set Security modes are added. These
modes are used to limit the host interfaces IPMI command
execution. Based on the mode commands are fully blocked or
filtered or always allowed.

Tested:
1. ipmitool raw 0x30 0xB3 --> lists out Restriction & SecurityMode
2. ipmitool raw 0x30 0xB4 <newMode> --> updates RestrictionMode to
new value successfully
3. Verified improper values for set security mode.

Change-Id: I1f5f4ae53581a0f5da1684450853037b5bd39fea
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

show more ...

1f0839c225-Aug-2019 Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

intel-ipmi-oem:Support for Set/Get Manf MAC data

Support added for Set / Get Manufacturing data to program
the individual HW eth addr. This will be used in manufacturing
side.

Tested:
1. Verified t

intel-ipmi-oem:Support for Set/Get Manf MAC data

Support added for Set / Get Manufacturing data to program
the individual HW eth addr. This will be used in manufacturing
side.

Tested:
1. Verified that Get / Set Mfg data command works after mfg mode
2. ipmitool raw 0x30 0xA1 0x1 0x1a 0x6b 0x32 0x87 0x91 0x86
updates eth1 MAC after a reboot as expected.

Change-Id: I9a028e8688cd8c89fd51fdc14c570be10a51ed25
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

show more ...

4f7e76bb19-Aug-2019 Chen,Yugang <yugang.chen@linux.intel.com>

Add set/get Http boot option OEM commands

Set/get Http boot option is used to add a new boot item in reserved bits,
which set to 1101b in data 2nd[5:2] of boot flags parameter.

tested:
it's tested

Add set/get Http boot option OEM commands

Set/get Http boot option is used to add a new boot item in reserved bits,
which set to 1101b in data 2nd[5:2] of boot flags parameter.

tested:
it's tested in system for IPMI OEM command and BIOS
- get/set http boot option,
set: ipmitool raw 0x30 0xEA 0x05 0x80 0x34
get: ipmitool raw 0x30 0xEB 0x05 0x00 0x00

Change-Id: Ie2927c924e233023b1644ce2e62e06003d55e0f2
Signed-off-by: Chen,Yugang <yugang.chen@linux.intel.com>

show more ...

390b435424-Aug-2019 Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

intel-ipmi-oem: cleanup - Removed duplicate OemCmd

Removed duplicate OemCmds in intel-ipmi-oem, and moved to the
correct one IPMINetfnIntelOEMGeneralCmd enum class.

Change-Id: Iac694c8e2c72f9ad99ed

intel-ipmi-oem: cleanup - Removed duplicate OemCmd

Removed duplicate OemCmds in intel-ipmi-oem, and moved to the
correct one IPMINetfnIntelOEMGeneralCmd enum class.

Change-Id: Iac694c8e2c72f9ad99ed4fae933e0d26f53d4f08
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

show more ...

74c50c6414-Aug-2019 James Feist <james.feist@linux.intel.com>

Add type 12h sdr records

This adds support for BMC and ME type 12 records.

Tested:

ipmitool sdr list mcloc

Device ID : �Basbrd Mgmt Ctl
Entity ID : 0.46 (Unspecified)
De

Add type 12h sdr records

This adds support for BMC and ME type 12 records.

Tested:

ipmitool sdr list mcloc

Device ID : �Basbrd Mgmt Ctl
Entity ID : 0.46 (Unspecified)
Device Slave Address : 20h
Channel Number : 0h
ACPI System P/S Notif : Not Required
ACPI Device P/S Notif : Not Required
Controller Presence : Dynamic
Logs Init Agent Errors : No
Event Message Gen : Enable
Device Capabilities
Chassis Device : Yes
Bridge : No
IPMB Event Generator : Yes
IPMB Event Receiver : Yes
FRU Inventory Device : Yes
SEL Device : Yes
SDR Repository : Yes
Sensor Device : Yes

Device ID : �Mgmt Engin
Entity ID : 0.46 (Unspecified)
Device Slave Address : 2Ch
Channel Number : 6h
ACPI System P/S Notif : Not Required
ACPI Device P/S Notif : Not Required
Controller Presence : Static
Logs Init Agent Errors : No
Event Message Gen : Enable
Device Capabilities
Chassis Device : No
Bridge : No
IPMB Event Generator : Yes
IPMB Event Receiver : No
FRU Inventory Device : No
SEL Device : No
SDR Repository : No
Sensor Device : Yes

Change-Id: I3d015ca2f61ab07be18ba46239c3d6a919f0298b
Signed-off-by: James Feist <james.feist@linux.intel.com>

show more ...

b02bf09515-Aug-2019 Jason M. Bills <jason.m.bills@linux.intel.com>

Add command to control BMC system reset on SMI timeout

This adds a get and set command to enable or disable the BMC
system reset to recover a system after an SMI timeout error.

Tested:
Get SMI Rese

Add command to control BMC system reset on SMI timeout

This adds a get and set command to enable or disable the BMC
system reset to recover a system after an SMI timeout error.

Tested:
Get SMI Reset Disable Status:
ipmitool raw 0x30 0x43
01

Injected SMI Timeout error and system did not reset.

Clear SMI Reset Disable:
ipmitool raw 0x30 0x42 0
ipmitool raw 0x30 0x43
00

Injected SMI Timeout error and system was reset.

Change-Id: If0321c5abd17fbdb97579516bf4864f8ffeec3a5
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>

show more ...

773703a514-Aug-2019 Cheng C Yang <cheng.c.yang@linux.intel.com>

Implement Cold Redundancy Configuration Command

Implement Set and Get Cold Redundancy Configuration ipmi command.
These two commands are used to set or get configure parameters in
Cold Redundancy.

Implement Cold Redundancy Configuration Command

Implement Set and Get Cold Redundancy Configuration ipmi command.
These two commands are used to set or get configure parameters in
Cold Redundancy.

Tested:
set and get ColdRedundancyEnabled
ipmitool raw 0x30 0x2d 0x01 0x00 return 00
ipmitool raw 0x30 0x2e 0x01 return 00
set and get RotationEnabled
ipmitool raw 0x30 0x2d 0x02 0x00 return 00
ipmitool raw 0x30 0x2e 0x02 return 00
set and get RotationAlgorithm
ipmitool raw 0x30 0x2d 0x03 0x01 0x01 0x02 return 00
ipmitool raw 0x30 0x2e 0x03 return 01 01 02
set and get PeriodOfRotation
ipmitool raw 0x30 0x2d 0x04 0x00 0x00 0x09 0x00 return 00
ipmitool raw 0x30 0x2e 0x04 return 00 00 09 00

Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com>
Change-Id: I012ebd5edf9267517d04c12ca46c9675982097ec

show more ...

a73cb81a14-Aug-2019 James Feist <james.feist@linux.intel.com>

Revert "smbioshandler:move bmc region complete,Write& Lock"

This reverts commit 946723b32e7c800e3a11c9c117654b277f91585b.

This patch is causing ipmid to segfault on boot.

Change-Id: I3632210537014

Revert "smbioshandler:move bmc region complete,Write& Lock"

This reverts commit 946723b32e7c800e3a11c9c117654b277f91585b.

This patch is causing ipmid to segfault on boot.

Change-Id: I36322105370142d1224117732a65315038d7167e
Tested: No longer segfaults
Signed-off-by: James Feist <james.feist@linux.intel.com>

show more ...

f4f5c16511-Jun-2019 Deepak Kumar Sahu <deepakx.sahu@intel.com>

SmbiosMdrv2Handler:Move mdr2GetDataBlock to new API

Rewrite mdr2GetDataBlock command to use the newly introduced IPMI
provider API.

Tested:
Verified using ipmitool Move MDRII_GET_DATA_BLOCK comman

SmbiosMdrv2Handler:Move mdr2GetDataBlock to new API

Rewrite mdr2GetDataBlock command to use the newly introduced IPMI
provider API.

Tested:
Verified using ipmitool Move MDRII_GET_DATA_BLOCK command,
behaviour is same before and after the changes.

Signed-off-by: Deepak Kumar Sahu <deepakx.sahu@intel.com>
Change-Id: Id7b42f2fcc10522680c9dbae3f22a31b9bb7e5c2

show more ...

946723b307-Jun-2019 jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>

smbioshandler:move bmc region complete,Write& Lock

Rewrite "MDR_COMPLETE, WRITE & LOCK" cmds to new IPMI provider API.

Tested:
verified using ipmitool smbioshandler commands.
a. bmc region update c

smbioshandler:move bmc region complete,Write& Lock

Rewrite "MDR_COMPLETE, WRITE & LOCK" cmds to new IPMI provider API.

Tested:
verified using ipmitool smbioshandler commands.
a. bmc region update complete
Command: ipmitool raw 0x3E 0x21 0xff 0xff
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
cmd=0x21 rsp=0xc9): Parameter out of range
Command: ipmitool raw 0x3E 0x21 0xff 0x0
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
cmd=0x21 rsp=0xd5): Command not supported in present state

b. bmc region write
Command: ipmitool raw 0x3E 0X24 0x01 0x2 0x03 0x00 0x01 04 0x01 0x01
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
cmd=0x24 rsp=0xd5): Command not supported in present state

c. bmc region lock, before and after the changes.
Command: ipmitool raw 0x3E 0X25 0x00 0x01 0x01 0xff 0xff
Output: f3

Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I05c572c2fe4bd38091301944e85d9246bcf1faa5

show more ...

147daec514-Jun-2019 Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

[intel-ipmi-oem]: Fix instance number path for fan

Fix the fan pwm path to be determined properly based
on the sorted map

Tested:
With R1000 chassis configuration tested the command, and able
to qu

[intel-ipmi-oem]: Fix instance number path for fan

Fix the fan pwm path to be determined properly based
on the sorted map

Tested:
With R1000 chassis configuration tested the command, and able
to query the fan values as expected.
ipmitool raw 0x30 0x14 0xF 0x0 0x0 --> queries fan_1a
ipmitool raw 0x30 0x14 0xF 0x1 0x0 --> queries fan_1b
ipmitool raw 0x30 0x14 0xF 0x2 0x0 --> queries fan_2a
With R2000, fan_1, fan_2 are queried as expected.

Change-Id: Iaa8b5848cfa597b5c63c3f6edc29913bd02ad68b
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

show more ...

666dd01c02-Aug-2019 Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

Add MTM keep alive command support

MTM keep alive command is used to extend the Manufacturing
mode timeout by 15 minutes, from the time command is executed.
This is used to keep the manufacturing mo

Add MTM keep alive command support

MTM keep alive command is used to extend the Manufacturing
mode timeout by 15 minutes, from the time command is executed.
This is used to keep the manufacturing mode alive, till all
the desired activities are done.

Tested:
1. Issued ipmitool raw 0x30 0xB5 0 0x49 0x4e 0x54 0x45 0x4c
and able to see timer extended for 15 min, after which
manufacturing mode got expired
2. Verified timer is sending 0xC1, when BMC is not in
manufacturing mode.

Change-Id: I2ae309d9030c672bb930c317aef357a97327ba80
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

show more ...

80f32a6402-Aug-2019 Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

[Mfg]: Fix the special mode path as per standard

Special mode path corrected to use standard naming
convention instead of lowerCamelCase

Tested:
Verified manufacturing mode command execution by
ent

[Mfg]: Fix the special mode path as per standard

Special mode path corrected to use standard naming
convention instead of lowerCamelCase

Tested:
Verified manufacturing mode command execution by
entering to manufacturing mode.

Change-Id: I951d5cfc5acd52d963d766b668a7065fa0c02fd8
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>

show more ...

7cb59ccd19-Jun-2019 jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>

smbiosmdrv2handler: move mdr2 send dir to new API

Rewrite "MDRII_SEND_DIR" command to new IPMI provider API.

Tested:
verified using ipmitool smbiosmdrv2handler commands.
a. mdr2 send dir, before an

smbiosmdrv2handler: move mdr2 send dir to new API

Rewrite "MDRII_SEND_DIR" command to new IPMI provider API.

Tested:
verified using ipmitool smbiosmdrv2handler commands.
a. mdr2 send dir, before and after the changes.
ipmitool raw 0x3E 0x38 0x01 0x01 0 0 2 3 40 41 42 43 44 45 46 47 48 49
50 51 52 53 50 0x42 1 1 1 1 0 0 1 1 0 0 0 1 1 0xa 1 1
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
cmd=0x38 rsp=0xce): Command response could not be provided

ipmitool raw 0x3E 0x38 0x01 0x01 0 0 0xff 0xff 40 41 42 43 44 45 46 47
48 49 50 51 52 53 50 0x42 1 1 1 1 0 0 1 1 0 0 0 1 1 0xa 1 1
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
cmd=0x38 rsp=0xc4): Out of space

Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I5c2ef08965949cffd7863689a0b010928ccfc786

show more ...

1234567