#
f020c444 |
| 30-Oct-2022 |
Xiaochao Ma <maxiaochao@inspur.com> |
Add Get SEL Time UTC Offset function
The current ipmi does not support the time zone acquisition command. This command is a standard ipmi command. In the ipmi specification, the corresponding NetFn=
Add Get SEL Time UTC Offset function
The current ipmi does not support the time zone acquisition command. This command is a standard ipmi command. In the ipmi specification, the corresponding NetFn=0x0A and Cmd=0x5C. Returns the offset in minutes from UTC to SEL (local) time. The offset is a 16 bit signed integer with two complements. LS byte comes first. (Range from - 1440 to 1440)
tested: When the current time zone is East Zone 8, ipmitool raw 0x0A 0x5C e0 01
Signed-off-by: Xiaochao Ma <maxiaochao@inspur.com> Change-Id: I74edfe4f18201bec801b021e69a88231e51473a5
show more ...
|
#
77381f15 |
| 15-May-2019 |
Saravanan Palanisamy <saravanan.palanisamy@intel.com> |
user_layer: Add get/set user payload access. IPMI Spec reference: Section 24.6, 24.7. Support is added to get/set user access details for the unreserved, supported payload types defi
user_layer: Add get/set user payload access. IPMI Spec reference: Section 24.6, 24.7. Support is added to get/set user access details for the unreserved, supported payload types defined by Spec. SOL is the only unreserved, supported payload currently. If support is needed for unreserved std/oem payload types in future, they can be enabled with minor source code changes to this implementation. All payload types are packed in a JSON object "payload_enabled" in ipmi_user.json file. Tested-by: 1. For user 8 in channel 3, Enable SOL payload. // Command - (channel 3 is of LAN channel type) ipmitool -I lanplus...raw 0x06 0x4C 3 0x8 0x02 0 0 0 // Verify it with Get User Payload Access Command ipmitool -I lanplus...raw 0x06 0x4D 3 8 02 00 00 00 // Response 2. Disable SOL payload. // Command ipmitool -I lanplus...raw 0x06 0x4C 3 0x48 0x02 0 0x00 0 // Verify it with Get User Payload Access Command ipmitool -I lanplus...raw 0x06 0x4D 3 8 00 00 00 00 // Response 3. Enable unsupported payload stdPayload7. // Command ipmitool -I lanplus...raw 0x06 0x4C 3 0x8 0x80 0 0 0 Error: Invalid data field in request // Response Change-Id: Idc57b04a747e55666407d928d8b2169223501e5b Signed-off-by: Saravanan Palanisamy <saravanan.palanisamy@linux.intel.com>
show more ...
|
#
6fd812d1 |
| 12-Apr-2019 |
Ayushi Smriti <smriti.ayushi@intel.com> |
Add get channel payload version command Implement get channel payload version command (IPMI specification section 24.9). As per the specification, this command is basically a hard-co
Add get channel payload version command Implement get channel payload version command (IPMI specification section 24.9). As per the specification, this command is basically a hard-coded value that says we are using IPMI 2.0. Tested: ipmitool raw 6 0x4F 3 1 // Command 10 // Response Change-Id: Id16723e7257361814b98f3c14d759f2919ad4c03 Signed-off-by: Ayushi Smriti <smriti.ayushi@intel.com> Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
b5a0f16d |
| 04-Mar-2019 |
Saravanan Palanisamy <saravanan.palanisamy@intel.com> |
Add: Get channel payload support command Implemented Get Channel Payload Support command (IPMI Spec sec 24.8) The same is implemented under channel commands, and will be available fo
Add: Get channel payload support command Implemented Get Channel Payload Support command (IPMI Spec sec 24.8) The same is implemented under channel commands, and will be available for both Host & Net ipmid. Uses channel configuration to differentiate between session / session-less channel Tested-by: 1. Verified command executed successfully for session based channel ipmitool raw 6 0x4E 0x1 // Command 03 00 15 00 00 00 00 00 // Response 2. Verified sessionless channel error is returned. Change-Id: I8b294234415b4467aeae6c23c192750471536f4e Signed-off-by: Saravanan Palanisamy <saravanan.palanisamy@intel.com> Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
show more ...
|
#
30206dba |
| 10-Dec-2018 |
Jia, Chunhui <chunhui.jia@linux.intel.com> |
[IPMI]Set/Get global enables Recv Message Queue and SEL are enabled by default. Event Message buffer are disabled by default (not supported). Any request that try to change the mask
[IPMI]Set/Get global enables Recv Message Queue and SEL are enabled by default. Event Message buffer are disabled by default (not supported). Any request that try to change the mask will be rejected. Test: test pass with ipmitool Change-Id: Ia6bd4a6bf7b2b04dcfde6bfec910ca854a7aaeb8 Signed-off-by: Jia, Chunhui <chunhui.jia@linux.intel.com>
show more ...
|
#
3342a8e0 |
| 28-Dec-2018 |
Jia, Chunhui <chunhui.jia@linux.intel.com> |
Platform event command This command is used for logging SEL. Tested: 1. test with netipmid and ipmid. 2. test pass with good parameter ipmitool raw 0x4 0x2 0x20 0x11 0x0
Platform event command This command is used for logging SEL. Tested: 1. test with netipmid and ipmid. 2. test pass with good parameter ipmitool raw 0x4 0x2 0x20 0x11 0x04 0x11 0x80 0xc0 0x10 0xFF ipmitool raw 0x4 0x2 0x20 0x11 0x04 0x11 0x00 0x30 0x10 0xab 3. test pass with bad parameter (expect invalid data length error) ipmitool raw 0x4 0x2 0x20 0x11 0x04 0x11 0x00 0x30 ipmitool raw 0x4 0x2 0x20 0x11 0x04 0x11 0x00 0x30 0x11 ipmitool raw 0x4 0x2 0x20 0x11 0x04 0x11 0x00 0xc0 ipmitool raw 0x4 0x2 0x20 0x11 0x04 0x11 0x00 Change-Id: I7d51aac8fee2edb1faeb91f4c96a033736068779 Signed-off-by: Jia, Chunhui <chunhui.jia@linux.intel.com>
show more ...
|
#
ae4b040b |
| 01-Nov-2018 |
Yong Li <yong.b.li@linux.intel.com> |
Implement set chassis capabilities IPMI commands Create a new dbus interface for the chassis capabilities, and store the chassis capabilities using phosphor settings manager Tes
Implement set chassis capabilities IPMI commands Create a new dbus interface for the chassis capabilities, and store the chassis capabilities using phosphor settings manager Tested By: ipmitool -H $BMCIP -U root -P 0penBmc -I lanplus raw 0 5 0 2 4 6 8 0xa ipmitool -H $BMCIP -U root -P 0penBmc -I lanplus raw 0 0 Change-Id: Id01555358adfec3814fd03b3e6d422916c861039 Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
show more ...
|
#
18d77263 |
| 08-Oct-2018 |
Yong Li <yong.b.li@linux.intel.com> |
Implement IPMI ACPI set/get commands The IPMI ACPI set/get power state commands are provided to allow system software to tell a controller the present ACPI power state of the system.
Implement IPMI ACPI set/get commands The IPMI ACPI set/get power state commands are provided to allow system software to tell a controller the present ACPI power state of the system. This is an independent setting that may not necessarily match the actual power state of the system. The commands are used to enable the reporting of the power state, it does not control or change the power state. The ACPI status will be saved into flash by settings manager. Tested By: Set ACPI: ipmitool -H <IP> -P 0penBmc -I lanplus raw 0x06 0x06 0x86 0x83 Get ACPI: ipmitool -H <IP> -P 0penBmc -I lanplus raw 0x06 0x07 Change-Id: I6d00c0aec931b98d6691d7c4a54698e08d317aa4 Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
show more ...
|
#
c6713cff |
| 11-Sep-2018 |
Yong Li <yong.b.li@linux.intel.com> |
Implement chassis set power restore policy command Implement the IPMI set power restore policy command 0x06. This command can be used to configure the power restore policy. This conf
Implement chassis set power restore policy command Implement the IPMI set power restore policy command 0x06. This command can be used to configure the power restore policy. This configuration parameter is kept in nonvolatile storage. The power restore policy determines how the system or chassis behaves when AC power returns after an AC power loss Tested: Run the below command to check the current Power Restore Policy: ipmitool -H <IP> -P 0penBmc -I lanplus chassis status Run the below command to change it: ipmitool -H <IP> -P 0penBmc -I lanplus chassis policy always-off Change-Id: I224912890f9a9e8b4dc98f840cd6f223c9f7dfe5 Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
show more ...
|
#
a59d83f8 |
| 06-Apr-2018 |
Nagaraju Goruganti <ngorugan@in.ibm.com> |
Implement Get POH Counter command It returns a counter value proportional to the system operating power-on hours. Partially Resolves openbmc/openbmc#2979 Change-Id: Ib0
Implement Get POH Counter command It returns a counter value proportional to the system operating power-on hours. Partially Resolves openbmc/openbmc#2979 Change-Id: Ib0cd43fe5cbc055ae84991577d766bedae58d775 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
show more ...
|
#
7cbe2286 |
| 21-Mar-2018 |
Tom Joseph <tomjoseph@in.ibm.com> |
Implement Get Channel Cipher Suites command Change-Id: I8c808ce7e2bbd3ae5e225573138d7e04871f1643 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
#
5ca50959 |
| 21-Feb-2018 |
Tom Joseph <tomjoseph@in.ibm.com> |
Implement Get SDR and Reserve SDR repository command Both Get SDR and Reserve SDR repository command is same as Get Device SDR and Reserve Device SDR command respectively. So the sam
Implement Get SDR and Reserve SDR repository command Both Get SDR and Reserve SDR repository command is same as Get Device SDR and Reserve Device SDR command respectively. So the same implementation is shared. Resolves openbmc/openbmc#2615 Change-Id: I64e37837bc5a616bed41a3ceff7d63033d88455c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|
#
73f44518 |
| 09-Feb-2018 |
William A. Kennington III <wak@google.com> |
watchdog: Implements the Watchdog Get Command Change-Id: I2ba9fd0eeba4e828cafd1bcf6fe30e2322eaf99e Signed-off-by: William A. Kennington III <wak@google.com>
|
#
0b45955f |
| 06-Feb-2018 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
dcmi: implement get sensor info This commit implements the plumbing around the 'Get Sensor Info' command. It doesn't read the sensor information yet. That code is coming up in a subs
dcmi: implement get sensor info This commit implements the plumbing around the 'Get Sensor Info' command. It doesn't read the sensor information yet. That code is coming up in a subsequent commit. Refactor some of the get temperature readings code, in order to reuse certain common aspects for this commit. Change-Id: I0cb531b5b75e98cc9e76509f84f832be9997fee0 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
#
faa074cd |
| 06-Feb-2018 |
Marri Devender Rao <devenrao@in.ibm.com> |
DCMI: Add Get Power Reading command to whitelist configuration Change-Id: I88a5a1281199447163bf8d5c6e011ec3191d21c6 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
#
ee717d71 |
| 24-Jan-2018 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
dcmi : implement get temperature readings This commit implements the plumbing around the 'Get Temperature Readings' command. It doesn't read the temperatures from the relevant sensor
dcmi : implement get temperature readings This commit implements the plumbing around the 'Get Temperature Readings' command. It doesn't read the temperatures from the relevant sensors. That code is coming up in a subsequent commit. Change-Id: I4514b65eb3ca65d52dd35185338a2c397e9a76ca Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
#
e29be41f |
| 16-Jan-2018 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
DCMI: Implement Get DCMI capabilities info command. This commit adds ipmi changes for supporting the get DCMI capabilities command Resolves openbmc/openbmc#2618 Change-
DCMI: Implement Get DCMI capabilities info command. This commit adds ipmi changes for supporting the get DCMI capabilities command Resolves openbmc/openbmc#2618 Change-Id: I7d0e7c132f4a8d459351e025fa2bfca9fcf1340b Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
#
3b76e375 |
| 25-Jan-2018 |
Marri Devender Rao <devenrao@in.ibm.com> |
Add Get System GUID command to whitelist configuration Change-Id: I476a5ac2d645792f5ec8cceca9f094724b2c0422 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
#
fa7b4e2e |
| 03-Jul-2017 |
Marri Devender Rao <devenrao@in.ibm.com> |
register call back functions for FRU read commands Change-Id: Idb0230ea173940deb17314dc09c4a562b97ede20 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
#
6f6dd4d7 |
| 12-Jul-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
dcmi: asset-tag: Implement the Get Asset Tag command Change-Id: Ic2fb1e707174ece63fbb758bf1422c2c4d95723b Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
#
41fa24a1 |
| 10-Nov-2016 |
Nan Li <william.bjlinan@hotmail.com> |
Add IPMI Get Self Test Results support As discussed in design meeting, before the whole ipmi stack is implemented, we don't plan to support "self test". So just respond with self tes
Add IPMI Get Self Test Results support As discussed in design meeting, before the whole ipmi stack is implemented, we don't plan to support "self test". So just respond with self test function not implemented in this controller. Resolves openbmc/openbmc#436 Change-Id: Icd72e07674ce857f98ac036df2b7d6f6b93f1914 Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
show more ...
|
#
fdd8ec55 |
| 27-Aug-2016 |
Nan Li <william.bjlinan@hotmail.com> |
Add support for IPMI GetChassisStatus command * Factor response to explicitly commented fields * Add GetChassisStatus command to whilelist Note: some fields need furture work.
Add support for IPMI GetChassisStatus command * Factor response to explicitly commented fields * Add GetChassisStatus command to whilelist Note: some fields need furture work. Resolves openbmc/openbmc#439 Change-Id: I7a8d6bfe384f2621c157db379680921db4756fcc Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
show more ...
|
#
8d15fb49 |
| 16-Aug-2016 |
Nan Li <william.bjlinan@hotmail.com> |
Add IPMI Get-Chassis-Capabilities command * Implement response to separately commented fields. * Add to the whitelist. Note: some hardcoded fields need future work. Res
Add IPMI Get-Chassis-Capabilities command * Implement response to separately commented fields. * Add to the whitelist. Note: some hardcoded fields need future work. Resolve openbmc/openbmc#438. Change-Id: Ica9a55a14987ddc6b9984c7d3dcb143416ee7e37 Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
show more ...
|
#
9a61b4f4 |
| 11-Jul-2016 |
Tom Joseph <tomjoseph@in.ibm.com> |
Whitelist IPMI commands based on Restricted mode Whitelisting of IPMI commands is done to ensure that in restricted mode only whitelisted commands are executed. Commands that are not
Whitelist IPMI commands based on Restricted mode Whitelisting of IPMI commands is done to ensure that in restricted mode only whitelisted commands are executed. Commands that are not whitelisted is restricted and insufficient privilege is returned as the completion code. When the server is deployed it would be set to restricted mode. In this scenario certain IPMI commands need to be restricted which would not be added to the whitelist. Change-Id: I90b8124e34263c4ffc5bcf06a28a7e88231aaf40 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|