History log of /openbmc/pldm/oem/ (Results 276 – 300 of 341)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
bb585b2810-Sep-2020 Varsha Kaverappa <vkaverap@in.ibm.com>

OEM IBM: Platform: event framework to send events to PHYP

This commit consists of APIs that will be used to send code update
event change/update PlatformEventMessage to Phyp for different
stages of

OEM IBM: Platform: event framework to send events to PHYP

This commit consists of APIs that will be used to send code update
event change/update PlatformEventMessage to Phyp for different
stages of inband code update progress.
The event is a state sensor event.

Signed-off-by: Varsha Kaverappa <vkaverap@in.ibm.com>
Change-Id: I9b4b0493dd6886805044011d994df58b31f80a6e

show more ...

78a225a227-Aug-2020 Sagar Srinivas <sagar.srinivas@ibm.com>

oem-ibm: create OEM PDRs for all OEM state sensors and
effecters

Created Sensors and effecters for Code update for the
Boot side and Firmware update State indication and
control.

root@rainier:/tmp#

oem-ibm: create OEM PDRs for all OEM state sensors and
effecters

Created Sensors and effecters for Code update for the
Boot side and Firmware update State indication and
control.

root@rainier:/tmp# ./pldmtool platform GetPDR -d 22
nextRecordHandle: 23
responseCount: 30
recordHandle: 22
PDRHeaderVersion: 1
PDRType: State Effecter PDR(11)
recordChangeNumber: 0
dataLength: 16

PLDMTerminusHandle: 1
effecterID: 7
entityType: Virtual Machine Manager
entityInstanceNumber: 0
containerID: 0
effecterSemanticID: 0
effecterInit: noInit
effecterDescriptionPDR: false
compositeEffecterCount: 1
stateSetID: 32769
possibleStatesSize: 2
possibleStates: 1 2
root@rainier:/tmp# ./pldmtool platform GetPDR -d 23
nextRecordHandle: 24
responseCount: 30
recordHandle: 23
PDRHeaderVersion: 1
PDRType: State Effecter PDR(11)
recordChangeNumber: 0
dataLength: 16

PLDMTerminusHandle: 1
effecterID: 8
entityType: Virtual Machine Manager
entityInstanceNumber: 1
containerID: 0
effecterSemanticID: 0
effecterInit: noInit
effecterDescriptionPDR: false
compositeEffecterCount: 1
stateSetID: 32769
possibleStatesSize: 2
possibleStates: 1 2
root@rainier:/tmp# ./pldmtool platform GetPDR -d 24
nextRecordHandle: 25
responseCount: 30
recordHandle: 24
PDRHeaderVersion: 1
PDRType: State Effecter PDR(11)
recordChangeNumber: 0
dataLength: 16

PLDMTerminusHandle: 1
effecterID: 9
entityType: Virtual Machine Manager
entityInstanceNumber: 0
containerID: 0
effecterSemanticID: 0
effecterInit: noInit
effecterDescriptionPDR: false
compositeEffecterCount: 1
stateSetID: 32768
possibleStatesSize: 2
possibleStates: 1 2 3 4 5 6
root@rainier:/tmp# ./pldmtool platform GetPDR -d 25
nextRecordHandle: 26
responseCount: 28
recordHandle: 25
PDRHeaderVersion: 1
PDRType: State Sensor PDR(4)
recordChangeNumber: 0
dataLength: 14

PLDMTerminusHandle: 1
sensorID: 1
entityType: Virtual Machine Manager
entityInstanceNumber: 0
containerID: 0
sensorInit: noInit
sensorAuxiliaryNamesPDR: false
compositeSensorCount: 1
stateSetID: 32769
possibleStatesSize: 2
possibleStates: 1 2
root@rainier:/tmp# ./pldmtool platform GetPDR -d 26
nextRecordHandle: 27
responseCount: 28
recordHandle: 26
PDRHeaderVersion: 1
PDRType: State Sensor PDR(4)
recordChangeNumber: 0
dataLength: 14

PLDMTerminusHandle: 1
sensorID: 2
entityType: Virtual Machine Manager
entityInstanceNumber: 1
containerID: 0
sensorInit: noInit
sensorAuxiliaryNamesPDR: false
compositeSensorCount: 1
stateSetID: 32769
possibleStatesSize: 2
possibleStates: 1 2
root@rainier:/tmp# ./pldmtool platform GetPDR -d 27
nextRecordHandle: 0
responseCount: 28
recordHandle: 27
PDRHeaderVersion: 1
PDRType: State Sensor PDR(4)
recordChangeNumber: 0
dataLength: 14

PLDMTerminusHandle: 1
sensorID: 3
entityType: Virtual Machine Manager
entityInstanceNumber: 0
containerID: 0
sensorInit: noInit
sensorAuxiliaryNamesPDR: false
compositeSensorCount: 1
stateSetID: 32768
possibleStatesSize: 2
possibleStates: 1 2 3 4 5 6

Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com>
Change-Id: I1dc39a549297241792cebc7812722447cce5762d

show more ...

6950850308-Sep-2020 Sampa Misra <sampmisr@in.ibm.com>

oem ibm: support reading LIDs based on type

This commit reads the LIDs requested by Host. Host
sends request as T or P side. This commit evaluates the
current boot side and reads the appropriate LID

oem ibm: support reading LIDs based on type

This commit reads the LIDs requested by Host. Host
sends request as T or P side. This commit evaluates the
current boot side and reads the appropriate LIDs.

Also this commit stores the image LIDs sent by Host
during an inband code update

Change-Id: Ia4bae68fa95f19bc228ef7002493d54abab3dc93
Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>

show more ...

aea5dde131-Aug-2020 Sampa Misra <sampmisr@in.ibm.com>

oem ibm: infrastructure for oem handlers

1. This commit adds the framework for an oem handler
which can be used by specific oem use-cases
for implementing various commands.

2. This commit adds impl

oem ibm: infrastructure for oem handlers

1. This commit adds the framework for an oem handler
which can be used by specific oem use-cases
for implementing various commands.

2. This commit adds implementation for getStateSensorReadings
and setStateEffecterStates commands for oem state sets.

3. Also adds implementation for inband code update.

Change-Id: Ib38a66ee381dd06b93f6a9313d51de1c23e6ee65
Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>

show more ...

41989ebb27-Nov-2020 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Remove the dump type from Notify method.

Remove the dump type from Notify method
xyz.openbmc_project.Dump.NewDump, the dump type is redundant
since there will be separate dump manager for each dump

Remove the dump type from Notify method.

Remove the dump type from Notify method
xyz.openbmc_project.Dump.NewDump, the dump type is redundant
since there will be separate dump manager for each dump type.

Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: Iabddd1755ceae50eba8dcf6c14fd417460e9820f

show more ...

efbb594615-Dec-2020 Andrew Geissler <geissonator@yahoo.com>

ensure fd initialized

New upstream yocto enforces stricter compile rules. Without this commit,
we get this error:

| ../git/oem/ibm/libpldmresponder/utils.cpp:62:9: error: 'fd' may be used uninitial

ensure fd initialized

New upstream yocto enforces stricter compile rules. Without this commit,
we get this error:

| ../git/oem/ibm/libpldmresponder/utils.cpp:62:9: error: 'fd' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| 62 | int fd;
| |
| cc1plus: all warnings being treated as errors

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ie089dfbede0361963a90828ce6826e324285b50d

show more ...

ce1c96fb05-Oct-2020 Ravi Teja <raviteja28031990@gmail.com>

oem-ibm: Modified to write system dump data on unix domain socket.

Currently pldm writes dump data on nbd device.

This commit is to enable dump offload using UNIX socket
On dump offload request, pl

oem-ibm: Modified to write system dump data on unix domain socket.

Currently pldm writes dump data on nbd device.

This commit is to enable dump offload using UNIX socket
On dump offload request, pldm setup a UNIX socket and
write data on socket, webserver connects to this socket
and reads data to offload

Tested By:
1. Offloaded system dump
2. Ran below pldmtool commands for performance test
while offloading system dump, i don't see an delay
pldmtool bios GetBIOSTable -t 1
pldmtool bios GetBIOSTable -t 2

Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
Change-Id: Iad8863d87c3b04a8dd588f1f0239f65fcb59f38b

show more ...

5dad5f4c08-Dec-2020 Tom Joseph <tomjoseph@in.ibm.com>

Change the interface for host firmware state

The BootProgress property is used to update the state of the host OS.
This patch uses the BootProgress property in the case of BIOS attributes
hot update

Change the interface for host firmware state

The BootProgress property is used to update the state of the host OS.
This patch uses the BootProgress property in the case of BIOS attributes
hot update and D-Bus to effecter mapping.

Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Change-Id: I9ee16b74a16e25ad3fa7661ef5cdeb9ddc55347a

show more ...

b8baffa322-Jul-2020 Sridevi Ramesh <sridevra@in.ibm.com>

pldmtool: Parse OEM IBM FRU records

./pldmtool fru GetFRURecordByOption -i 1 -r 254 -f 0
FRU Record Set Identifier: 1
FRU Record Type: OEM(254)
Number of FRU fields: 15
Encoding Type for FRU fields:

pldmtool: Parse OEM IBM FRU records

./pldmtool fru GetFRURecordByOption -i 1 -r 254 -f 0
FRU Record Set Identifier: 1
FRU Record Type: OEM(254)
Number of FRU fields: 15
Encoding Type for FRU fields: ASCII(1)
FRU Field Type: RT(2)
FRU Field Length: 4
FRU Field Value: VSYS
FRU Field Type: BR(3)
FRU Field Length: 2
FRU Field Value: 0x20 0x20
FRU Field Type: DR(4)
FRU Field Length: 6
FRU Field Value: 0x53 0x59 0x53 0x54 0x45 0x4d
FRU Field Type: FV(5)
FRU Field Length: 32
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: ID(6)
FRU Field Length: 2
FRU Field Value: 0x20 0x20
FRU Field Type: MN(7)
FRU Field Length: 7
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: NN(8)
FRU Field Length: 16
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: RB(9)
FRU Field Length: 4
FRU Field Value: 0x20 0x20 0x20 0x20
FRU Field Type: RG(10)
FRU Field Length: 4
FRU Field Value: 0x20 0x20 0x20 0x20
FRU Field Type: SE(11)
FRU Field Length: 7
FRU Field Value: 0x53 0x49 0x4d 0x50 0x31 0x30 0x52
FRU Field Type: SG(12)
FRU Field Length: 7
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: SU(13)
FRU Field Length: 6
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: TM(14)
FRU Field Length: 8
FRU Field Value: 0x39 0x31 0x30 0x35 0x2d 0x32 0x32 0x41
FRU Field Type: TN(15)
FRU Field Length: 8
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: WN(16)
FRU Field Length: 12
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Record Set Identifier: 1
FRU Record Type: OEM(254)
Number of FRU fields: 1
Encoding Type for FRU fields: ASCII(1)
FRU Field Type: Location Code(254)
FRU Field Length: 17
FRU Field Value: U9105.22A.SIMP10R
ecord Set Identifier: 1
FRU Record Type: OEM(254)
Number of FRU fields: 15
Encoding Type for FRU fields: ASCII(1)
FRU Field Type: RT(2)
FRU Field Length: 4
FRU Field Value: VSYS
FRU Field Type: BR(3)
FRU Field Length: 2
FRU Field Value: 0x20 0x20
FRU Field Type: DR(4)
FRU Field Length: 6
FRU Field Value: 0x53 0x59 0x53 0x54 0x45 0x4d
FRU Field Type: FV(5)
FRU Field Length: 32
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: ID(6)
FRU Field Length: 2
FRU Field Value: 0x20 0x20
FRU Field Type: MN(7)
FRU Field Length: 7
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: NN(8)
FRU Field Length: 16
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: RB(9)
FRU Field Length: 4
FRU Field Value: 0x20 0x20 0x20 0x20
FRU Field Type: RG(10)
FRU Field Length: 4
FRU Field Value: 0x20 0x20 0x20 0x20
FRU Field Type: SE(11)
FRU Field Length: 7
FRU Field Value: 0x53 0x49 0x4d 0x50 0x31 0x30 0x52
FRU Field Type: SG(12)
FRU Field Length: 7
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Length: 7
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: SU(13)
FRU Field Length: 6
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: TM(14)
FRU Field Length: 8
FRU Field Value: 0x39 0x31 0x30 0x35 0x2d 0x32 0x32 0x41
FRU Field Type: TN(15)
FRU Field Length: 8
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Field Type: WN(16)
FRU Field Length: 12
FRU Field Value: 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
FRU Record Set Identifier: 1
FRU Record Type: OEM(254)
Number of FRU fields: 1
Encoding Type for FRU fields: ASCII(1)
FRU Field Type: Location Code(254)
FRU Field Length: 17
FRU Field Value: U9105.22A.SIMP10R

./pldmtool fru GetFRURecordByOption -i 2 -r 254 -f 254
FRU Record Set Identifier: 2
FRU Record Type: OEM(254)
Number of FRU fields: 1
Encoding Type for FRU fields: ASCII(1)
FRU Field Type: Location Code(254)
FRU Field Length: 17
FRU Field Value: U78DA.ND1.1234567

./pldmtool fru GetFRURecordByOption -i 0 -r 254 -f 4
terminate called after throwing an instance of 'std::invalid_argument'
what(): GetFRURecordByOption is not supported for recordType : 254 and fieldType > 2
Aborted (core dumped)

Change-Id: I8fdf60f25b18d0d02319460a0c212028a87f1c4b
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>

show more ...

7f839f9d20-Sep-2020 Tom Joseph <tomjoseph@in.ibm.com>

oem-ibm: Send the event to host when BIOS attribute changes

IBM has the requirement to send a hot update to host when the
BIOS attribute changes. This patch enables sending an OEM platform
event mes

oem-ibm: Send the event to host when BIOS attribute changes

IBM has the requirement to send a hot update to host when the
BIOS attribute changes. This patch enables sending an OEM platform
event message to host with the details of the BIOS attributes that
changed on the BMC. Once the host acknowledges the event, then BMC
updates the BaseBiosTable in the bios-config-manager. The host comes
down and reads the changed BIOS attributes by calling the command
GetBIOSAttribute value.

Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Change-Id: Id1579bfed1967e653da743313c825b765d227681

show more ...

14b54a3829-Sep-2020 Deepak Kodihalli <dkodihal@in.ibm.com>

oem-ibm: dump: react to D-Bus object path change

Dump APIs that PLDM cared about are implemented on
/xyz/openbmc_project/dump/system now.

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Chang

oem-ibm: dump: react to D-Bus object path change

Dump APIs that PLDM cared about are implemented on
/xyz/openbmc_project/dump/system now.

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I838ef63bccd0dfba3b0cedb2e1ed51cd92e02425

show more ...

09b017b526-Aug-2020 Deepak Kodihalli <dkodihal@in.ibm.com>

oem-ibm: LID handler: change patch LID dir

Support patching running and alternate LIDs - running side and alternate
side patches will exist in their own directories.

Signed-off-by: Deepak Kodihalli

oem-ibm: LID handler: change patch LID dir

Support patching running and alternate LIDs - running side and alternate
side patches will exist in their own directories.

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I1dc6ead6164d45ccb5168862c6d955891d4b94e8

show more ...

390d9e3327-Aug-2020 Deepak Kodihalli <dkodihal@in.ibm.com>

oem-ibm: apply patched LIDs only for running side

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I04243cbbafa61a1f4d207afbc537bf8b1933a336

a792b21612-Aug-2020 Tom Joseph <tomjoseph@in.ibm.com>

VMI sensors: Add JSON changes to support VMI sensors

The handling for state sensor events for VMI network status sensors
were hardcoded. This patch makes the sensor handling for VMI sensors
data dri

VMI sensors: Add JSON changes to support VMI sensors

The handling for state sensor events for VMI network status sensors
were hardcoded. This patch makes the sensor handling for VMI sensors
data driven and also to handle for host sensors which are standard and
OEM. The OCC sensors handling is moved to openpower-occ-control app
so removing it from event_state_sensor.json file.

Tested:

By using pldmtool, the PlatformEventMessage is generated for VMI
sensors and verified the D-Bus propert in settings manager.

Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Change-Id: I851573e54e2c1984bed142fdc1c2d40f37e544a9

show more ...

b427547724-Jun-2020 Jet Li <Jet.Li@ibm.com>

oem-ibm: FRU: update/create entity ID for Frame VPD

add DINF,VCEN that has RI,FC,SE entry to existing FRU configuration
which has CEC serial number and Type/Model.

Tested: use pldmtool GetFRURecord

oem-ibm: FRU: update/create entity ID for Frame VPD

add DINF,VCEN that has RI,FC,SE entry to existing FRU configuration
which has CEC serial number and Type/Model.

Tested: use pldmtool GetFRURecordTableMetadata cmd to verify the output.

Change-Id: I8ebe4fc18e42f8d569c658da7de63c91c0eaf931
Signed-off-by: Jet Li <Jet.Li@ibm.com>

show more ...


/openbmc/pldm/common/types.hpp
/openbmc/pldm/host-bmc/dbus_to_event_handler.cpp
/openbmc/pldm/host-bmc/dbus_to_event_handler.hpp
/openbmc/pldm/host-bmc/host_pdr_handler.cpp
/openbmc/pldm/host-bmc/host_pdr_handler.hpp
/openbmc/pldm/libpldm/base.h
/openbmc/pldm/libpldm/platform.h
/openbmc/pldm/libpldmresponder/examples/pdr/effecter_pdr.json
/openbmc/pldm/libpldmresponder/examples/pdr/sensor_pdr.json
/openbmc/pldm/libpldmresponder/fru.cpp
/openbmc/pldm/libpldmresponder/fru.hpp
/openbmc/pldm/libpldmresponder/meson.build
/openbmc/pldm/libpldmresponder/pdr.hpp
/openbmc/pldm/libpldmresponder/pdr_numeric_effecter.hpp
/openbmc/pldm/libpldmresponder/pdr_state_effecter.hpp
/openbmc/pldm/libpldmresponder/pdr_state_sensor.hpp
/openbmc/pldm/libpldmresponder/pdr_utils.hpp
/openbmc/pldm/libpldmresponder/platform.cpp
/openbmc/pldm/libpldmresponder/platform.hpp
/openbmc/pldm/libpldmresponder/platform_state_sensor.hpp
ibm/configurations/fru/Motherboard_DINF.json
ibm/configurations/fru/Motherboard_VCEN.json
/openbmc/pldm/pldmd/pldmd.cpp
/openbmc/pldm/pldmtool/pldm_platform_cmd.cpp
/openbmc/pldm/test/libpldmresponder_pdr_effecter_test.cpp
/openbmc/pldm/test/libpldmresponder_pdr_sensor_test.cpp
/openbmc/pldm/test/libpldmresponder_platform_test.cpp
/openbmc/pldm/test/meson.build
/openbmc/pldm/test/pdr_jsons/state_effecter/good/effecter_pdr.json
/openbmc/pldm/test/pdr_jsons/state_effecter/malformed/effecter_pdr.json
/openbmc/pldm/test/pdr_jsons/state_sensor/good/sensor_pdr.json
/openbmc/pldm/test/pdr_jsons/state_sensor/malformed/sensor_pdr.json
76f820c116-Jul-2020 Adriana Kobylak <anoo@us.ibm.com>

file_io_type_lid.hpp: Update LID paths

The eMMC will create symlinks to the running version of host fw
and to the alternate (non-running) version. Update the
paths for those and the patch path. Rena

file_io_type_lid.hpp: Update LID paths

The eMMC will create symlinks to the running version of host fw
and to the alternate (non-running) version. Update the
paths for those and the patch path. Rename them because T and P
are just labels and can be renamed, but the host fw version does
not change until a BMC reboot is issued.

Default running to T. At a later time, pldm can make changes to
determine if P/T is the running or non-running sides.

Change-Id: I72e374bf33cab59bd258adef713446af624161a9
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

6876f12212-Dec-2019 Adriana Kobylak <anoo@us.ibm.com>

file_io_type_lid.hpp: Support patch path

Add the ability to patch lid files by having pldm check first if the
lid file exists in the patch directory.

Tested: Verified the expected lid path by print

file_io_type_lid.hpp: Support patch path

Add the ability to patch lid files by having pldm check first if the
lid file exists in the patch directory.

Tested: Verified the expected lid path by printing it out:
- Without lid patches:
Dec 12 18:16:50 witherspoon-128-YL30UF74T00E-YL30UF74T00E-YL30UF74T00E pldmd[363]: LidHandler: lidPath=/usr/share/host-fw/81e002ff.lid
- With lid patches:
Dec 12 18:21:04 witherspoon-128-YL30UF74T00E-YL30UF74T00E-YL30UF74T00E pldmd[363]: LidHandler: lidPath=/usr/local/share/host-fw/81e002ff.lid

Change-Id: I5c70ef69d7be02d090a4516f27c11132e3fff29f
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

c4e80cca26-May-2020 Pavithra Barithaya <pbaritha@in.ibm.com>

pldmtool : File table parsing

This commit implements parsing of the file attribute
table by issuing the GetFileTable command with the
-t option which specifies the pldm file table type.

Tested:
./

pldmtool : File table parsing

This commit implements parsing of the file attribute
table by issuing the GetFileTable command with the
-t option which specifies the pldm file table type.

Tested:
./pldmtool oem-ibm -h
oem type command
Usage: ./pldmtool oem-ibm [OPTIONS] SUBCOMMAND

Options:
-h,--help Print this help message and exit

Subcommands:
GetAlertStatus get alert status descriptor
GetFileTable get file table

./pldmtool oem-ibm GetFileTable
Request Message:
08 01 80 3f 01 00 00 00 00 01 00
Success in creating the socket : RC = 3
Success in connecting to socket : RC = 0
Success in sending message type as pldm to mctp : RC = 0
Write to socket successful : RC = 11
Total length:71
Shutdown Socket successful : RC = 0
Response Message:
08 01 00 3f 01 00 00 00 00 00 05 00 00 00 00 0a 00 50 48 59 50 2d 4e 56 52 41 4d 00 b0 10 01 01 00 00 00 01 00 00 00 10 00 50 48 59 50 2d 4e 56 52 41 4d 2d 43 4b 53 55 4d 10 00 00 00 04 00 00 00 00 00 87 55 62 3e
FileHandle[0]:0
FileNameLength[0]:10
FileName[0]:PHYP-NVRAM
FileSize[0]:17870848
FileTraits[0]:1
FileHandle[1]:1
FileNameLength[1]:16
FileName[1]:PHYP-NVRAM-CKSUM
FileSize[1]:16
FileTraits[1]:4

Change-Id: I44de4dd33fee42df7cdc67eaaddf259ea83346ae
Signed-off-by: Pavithra Barithaya <pbaritha@in.ibm.com>

show more ...

d15c809412-May-2020 Pavithra Barithaya <pbaritha@in.ibm.com>

oem-ibm/libpldm : Implement encode/decode for GetFileTable

This commit implements the requester flow (encode request
and decode response) of GetFileTable command as defined
in the spec.

Tested: Uni

oem-ibm/libpldm : Implement encode/decode for GetFileTable

This commit implements the requester flow (encode request
and decode response) of GetFileTable command as defined
in the spec.

Tested: Unit tested

Change-Id: I9813fb9f26791c9913690dfc31a0189be339b582
Signed-off-by: Pavithra Barithaya <pbaritha@in.ibm.com>

show more ...

1f58401f22-Jun-2020 Deepak Kodihalli <dkodihal@in.ibm.com>

configurations: move more configs in-repo

Move configs from openbmc/openbmc's PLDM recipe dirs to the PLDM
repository.

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I36afe9a6717e

configurations: move more configs in-repo

Move configs from openbmc/openbmc's PLDM recipe dirs to the PLDM
repository.

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I36afe9a6717e1135219253fb0fe8c60b5f623935

show more ...

6e51e37319-Jun-2020 Deepak Kodihalli <dkodihal@in.ibm.com>

configurations: add FRU configurations

Add configurations for (BMC accessible) FRUs. There's code, that on
finding these JSONs, will create the PLFM FRU table and FRU record set
PDRs. Previously the

configurations: add FRU configurations

Add configurations for (BMC accessible) FRUs. There's code, that on
finding these JSONs, will create the PLFM FRU table and FRU record set
PDRs. Previously these configs were included in the bitbake metadata,
now they're being moved in-repo.

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I8af0041cb3f1e1d30f8823348294292b3f8db00b

show more ...


/openbmc/pldm/configurations/fru/Bmc_General.json
/openbmc/pldm/configurations/fru/FRU_Master.json
/openbmc/pldm/configurations/fru/Motherboard_General.json
/openbmc/pldm/configurations/fru/Panel_General.json
/openbmc/pldm/configurations/fru/System_General.json
/openbmc/pldm/configurations/fru/Tpm_General.json
/openbmc/pldm/configurations/fru/Vrm_General.json
/openbmc/pldm/configurations/meson.build
/openbmc/pldm/meson.build
ibm/configurations/fru/Bmc_LocationCode.json
ibm/configurations/fru/Bmc_VINI.json
ibm/configurations/fru/Bmc_VR10.json
ibm/configurations/fru/Bmc_VW10.json
ibm/configurations/fru/Chassis_LocationCode.json
ibm/configurations/fru/Motherboard_LXR0.json
ibm/configurations/fru/Motherboard_LocationCode.json
ibm/configurations/fru/Motherboard_VINI.json
ibm/configurations/fru/Motherboard_VSYS.json
ibm/configurations/fru/Panel_LocationCode.json
ibm/configurations/fru/Panel_VINI.json
ibm/configurations/fru/System_LocationCode.json
ibm/configurations/fru/System_VSYS.json
ibm/configurations/fru/Tpm_LocationCode.json
ibm/configurations/fru/Tpm_VINI.json
ibm/configurations/fru/Vrm_LocationCode.json
ibm/configurations/fru/Vrm_VINI.json
/openbmc/pldm/pldmtool/meson.build
/openbmc/pldm/pldmtool/oem/ibm/pldm_host_cmd.cpp
/openbmc/pldm/pldmtool/oem/ibm/pldm_host_cmd.hpp
/openbmc/pldm/pldmtool/pldm_base_cmd.cpp
/openbmc/pldm/pldmtool/pldm_base_cmd.hpp
/openbmc/pldm/pldmtool/pldm_bios_cmd.cpp
/openbmc/pldm/pldmtool/pldm_bios_cmd.hpp
/openbmc/pldm/pldmtool/pldm_cmd_helper.cpp
/openbmc/pldm/pldmtool/pldm_cmd_helper.hpp
/openbmc/pldm/pldmtool/pldm_fru_cmd.cpp
/openbmc/pldm/pldmtool/pldm_fru_cmd.hpp
/openbmc/pldm/pldmtool/pldm_platform_cmd.cpp
/openbmc/pldm/pldmtool/pldm_platform_cmd.hpp
/openbmc/pldm/pldmtool/pldmtool.cpp
d130e1a317-Jun-2020 Deepak Kodihalli <dkodihal@in.ibm.com>

common: code re-org

Move common files under a common/ directory.

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I0eaf91d4ee94c1e78228da0c50892f82e91912fa


/openbmc/pldm/.gitignore
/openbmc/pldm/common/bios_utils.hpp
/openbmc/pldm/common/types.hpp
/openbmc/pldm/common/utils.cpp
/openbmc/pldm/common/utils.hpp
/openbmc/pldm/host-bmc/dbus_to_host_effecters.hpp
/openbmc/pldm/host-bmc/host_pdr_handler.hpp
/openbmc/pldm/libpldmresponder/bios.cpp
/openbmc/pldm/libpldmresponder/bios_attribute.cpp
/openbmc/pldm/libpldmresponder/bios_attribute.hpp
/openbmc/pldm/libpldmresponder/bios_enum_attribute.cpp
/openbmc/pldm/libpldmresponder/bios_integer_attribute.cpp
/openbmc/pldm/libpldmresponder/bios_string_attribute.cpp
/openbmc/pldm/libpldmresponder/event_parser.hpp
/openbmc/pldm/libpldmresponder/fru.cpp
/openbmc/pldm/libpldmresponder/pdr.hpp
/openbmc/pldm/libpldmresponder/pdr_utils.hpp
/openbmc/pldm/libpldmresponder/platform.cpp
/openbmc/pldm/libpldmresponder/platform.hpp
/openbmc/pldm/libpldmresponder/platform_numeric_effecter.hpp
/openbmc/pldm/libpldmresponder/platform_state_effecter.hpp
/openbmc/pldm/meson.build
ibm/libpldmresponder/file_io.cpp
ibm/libpldmresponder/file_io.hpp
ibm/libpldmresponder/file_io_by_type.cpp
ibm/libpldmresponder/file_io_type_cert.cpp
ibm/libpldmresponder/file_io_type_dump.cpp
ibm/libpldmresponder/file_io_type_pel.cpp
/openbmc/pldm/pldmd/dbus_impl_pdr.cpp
/openbmc/pldm/pldmd/pldmd.cpp
/openbmc/pldm/test/libpldmresponder_bios_config_test.cpp
/openbmc/pldm/test/libpldmresponder_dbus_to_host_effecter_test.cpp
/openbmc/pldm/test/libpldmresponder_platform_test.cpp
/openbmc/pldm/test/mocked_utils.hpp
/openbmc/pldm/test/pldm_utils_test.cpp
/openbmc/pldm/tool/pldm_bios_cmd.cpp
/openbmc/pldm/tool/pldm_cmd_helper.hpp
1521f6d116-Jun-2020 Deepak Kodihalli <dkodihal@in.ibm.com>

pldmd: code re-org

Move code specific to the pldm main app to its own directory.

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I9341ebb02b7fcf8f62fbbe922e1fa6fe3fbcb9ec


/openbmc/pldm/host-bmc/dbus_to_host_effecters.cpp
/openbmc/pldm/host-bmc/dbus_to_host_effecters.hpp
/openbmc/pldm/host-bmc/host_pdr_handler.cpp
/openbmc/pldm/host-bmc/host_pdr_handler.hpp
/openbmc/pldm/libpldm/platform.c
/openbmc/pldm/libpldm/platform.h
/openbmc/pldm/libpldmresponder/base.hpp
/openbmc/pldm/libpldmresponder/bios.hpp
/openbmc/pldm/libpldmresponder/examples/effecter/dbus_to_host_effecter.json
/openbmc/pldm/libpldmresponder/fru.hpp
/openbmc/pldm/libpldmresponder/meson.build
/openbmc/pldm/libpldmresponder/platform.hpp
/openbmc/pldm/libpldmresponder/platform_numeric_effecter.hpp
/openbmc/pldm/libpldmresponder/platform_state_effecter.hpp
/openbmc/pldm/meson.build
ibm/libpldmresponder/file_io.hpp
/openbmc/pldm/pldmd/dbus_impl_pdr.cpp
/openbmc/pldm/pldmd/dbus_impl_pdr.hpp
/openbmc/pldm/pldmd/dbus_impl_requester.cpp
/openbmc/pldm/pldmd/dbus_impl_requester.hpp
/openbmc/pldm/pldmd/handler.hpp
/openbmc/pldm/pldmd/instance_id.cpp
/openbmc/pldm/pldmd/instance_id.hpp
/openbmc/pldm/pldmd/invoker.hpp
/openbmc/pldm/pldmd/pldmd.cpp
/openbmc/pldm/pldmd/pldmd.service
/openbmc/pldm/test/host_effecter_jsons/good/dbus_to_host_effecter.json
/openbmc/pldm/test/host_effecter_jsons/malformed/dbus_to_host_effecter.json
/openbmc/pldm/test/host_effecter_jsons/no_json/dummy.json
/openbmc/pldm/test/libpldmresponder_dbus_to_host_effecter_test.cpp
/openbmc/pldm/test/libpldmresponder_pdr_effecter_test.cpp
/openbmc/pldm/test/meson.build
/openbmc/pldm/test/pldmd_instanceid_test.cpp
/openbmc/pldm/test/pldmd_registration_test.cpp
/openbmc/pldm/tool/pldm_bios_cmd.cpp
/openbmc/pldm/utils.cpp
/openbmc/pldm/utils.hpp
6492f52415-Jun-2020 George Liu <liuxiwei@inspur.com>

clang-format: update to latest from docs repo

Since `Cpp11` is an alias for `Latest` and we should tend towards using the
latest C++ standard, update the C++ standard to Latest.

https://github.com/

clang-format: update to latest from docs repo

Since `Cpp11` is an alias for `Latest` and we should tend towards using the
latest C++ standard, update the C++ standard to Latest.

https://github.com/llvm/llvm-project/commit/e5032567903de19962333c4bf7d2edceaf4f9824#diff-b49a097415dff2837d9626d422c58ba8R82
https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format

Also, other OpenBMC repos are doing the same.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I449e88bb4e1e262060110e1a8f3e8db3ddfc74cf

show more ...


/openbmc/pldm/.clang-format
/openbmc/pldm/bios_utils.hpp
/openbmc/pldm/dbus_impl_pdr.cpp
/openbmc/pldm/dbus_impl_pdr.hpp
/openbmc/pldm/dbus_impl_requester.hpp
/openbmc/pldm/handler.hpp
/openbmc/pldm/host_pdr_handler.cpp
/openbmc/pldm/host_pdr_handler.hpp
/openbmc/pldm/invoker.hpp
/openbmc/pldm/libpldmresponder/base.cpp
/openbmc/pldm/libpldmresponder/base.hpp
/openbmc/pldm/libpldmresponder/bios.cpp
/openbmc/pldm/libpldmresponder/bios.hpp
/openbmc/pldm/libpldmresponder/bios_attribute.hpp
/openbmc/pldm/libpldmresponder/bios_config.cpp
/openbmc/pldm/libpldmresponder/bios_config.hpp
/openbmc/pldm/libpldmresponder/bios_table.cpp
/openbmc/pldm/libpldmresponder/bios_table.hpp
/openbmc/pldm/libpldmresponder/event_parser.cpp
/openbmc/pldm/libpldmresponder/event_parser.hpp
/openbmc/pldm/libpldmresponder/examples/fru/FRU_Master.json
/openbmc/pldm/libpldmresponder/fru.cpp
/openbmc/pldm/libpldmresponder/fru.hpp
/openbmc/pldm/libpldmresponder/fru_parser.cpp
/openbmc/pldm/libpldmresponder/fru_parser.hpp
/openbmc/pldm/libpldmresponder/pdr_numeric_effecter.hpp
/openbmc/pldm/libpldmresponder/pdr_state_effecter.hpp
/openbmc/pldm/libpldmresponder/pdr_utils.cpp
/openbmc/pldm/libpldmresponder/pdr_utils.hpp
/openbmc/pldm/libpldmresponder/platform.hpp
/openbmc/pldm/libpldmresponder/platform_numeric_effecter.hpp
/openbmc/pldm/libpldmresponder/platform_state_effecter.hpp
/openbmc/pldm/meson.build
ibm/libpldmresponder/file_io.cpp
ibm/libpldmresponder/file_io.hpp
ibm/libpldmresponder/file_io_by_type.cpp
ibm/libpldmresponder/file_io_by_type.hpp
ibm/libpldmresponder/file_io_type_cert.cpp
ibm/libpldmresponder/file_io_type_cert.hpp
ibm/libpldmresponder/file_io_type_dump.cpp
ibm/libpldmresponder/file_io_type_dump.hpp
ibm/libpldmresponder/file_io_type_lid.hpp
ibm/libpldmresponder/file_io_type_pel.cpp
ibm/libpldmresponder/file_io_type_pel.hpp
ibm/libpldmresponder/file_table.cpp
ibm/libpldmresponder/file_table.hpp
ibm/test/libpldm_fileio_test.cpp
ibm/test/libpldm_host_test.cpp
ibm/test/libpldmresponder_fileio_test.cpp
/openbmc/pldm/pldmd.cpp
/openbmc/pldm/test/libpldmresponder_base_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_attribute_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_config_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_enum_attribute_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_integer_attribute_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_string_attribute_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_test.cpp
/openbmc/pldm/test/libpldmresponder_pdr_effecter_test.cpp
/openbmc/pldm/test/mocked_bios.hpp
/openbmc/pldm/test/pldm_utils_test.cpp
/openbmc/pldm/test/pldmd_registration_test.cpp
/openbmc/pldm/tool/oem/ibm/pldm_host_cmd.cpp
/openbmc/pldm/tool/pldm_base_cmd.cpp
/openbmc/pldm/tool/pldm_base_cmd.hpp
/openbmc/pldm/tool/pldm_bios_cmd.cpp
/openbmc/pldm/tool/pldm_cmd_helper.cpp
/openbmc/pldm/tool/pldm_cmd_helper.hpp
/openbmc/pldm/tool/pldmtool.cpp
/openbmc/pldm/utilities/requester/set_state_effecter.cpp
/openbmc/pldm/utilities/requester/set_state_effecter_async.cpp
/openbmc/pldm/utils.cpp
/openbmc/pldm/utils.hpp
826c9d4326-May-2020 Deepak Kodihalli <dkodihal@in.ibm.com>

clang-10: run clang-format on the repo

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: Id7e57a37990a764a191a4e6c4427ceeda670ef51


/openbmc/pldm/.clang-format
/openbmc/pldm/host_pdr_handler.cpp
/openbmc/pldm/host_pdr_handler.hpp
/openbmc/pldm/libpldm/base.c
/openbmc/pldm/libpldm/base.h
/openbmc/pldm/libpldm/bios.c
/openbmc/pldm/libpldm/bios.h
/openbmc/pldm/libpldm/bios_table.h
/openbmc/pldm/libpldm/fru.c
/openbmc/pldm/libpldm/fru.h
/openbmc/pldm/libpldm/pdr.c
/openbmc/pldm/libpldm/pdr.h
/openbmc/pldm/libpldm/platform.c
/openbmc/pldm/libpldm/platform.h
/openbmc/pldm/libpldm/pldm_types.h
/openbmc/pldm/libpldm/tests/libpldm_bios_table_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_bios_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_fru_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_pdr_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_platform_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_utils_test.cpp
/openbmc/pldm/libpldm/utils.c
/openbmc/pldm/libpldmresponder/bios_config.cpp
/openbmc/pldm/libpldmresponder/event_parser.cpp
/openbmc/pldm/libpldmresponder/event_parser.hpp
/openbmc/pldm/libpldmresponder/examples/events/event_state_sensor.json
/openbmc/pldm/libpldmresponder/examples/fru/host_frus.json
/openbmc/pldm/libpldmresponder/examples/pdr/effecter_pdr.json
/openbmc/pldm/libpldmresponder/fru.cpp
/openbmc/pldm/libpldmresponder/fru_parser.cpp
/openbmc/pldm/libpldmresponder/meson.build
/openbmc/pldm/libpldmresponder/pdr_numeric_effecter.hpp
/openbmc/pldm/libpldmresponder/pdr_utils.cpp
/openbmc/pldm/libpldmresponder/pdr_utils.hpp
/openbmc/pldm/libpldmresponder/platform.cpp
/openbmc/pldm/libpldmresponder/platform.hpp
/openbmc/pldm/libpldmresponder/platform_numeric_effecter.hpp
/openbmc/pldm/libpldmresponder/platform_state_effecter.hpp
/openbmc/pldm/meson.build
ibm/libpldm/file_io.h
/openbmc/pldm/pldmd.cpp
/openbmc/pldm/test/event_jsons/good/event_state_sensor.json
/openbmc/pldm/test/event_jsons/malformed1/event_state.json
/openbmc/pldm/test/event_jsons/malformed2/event_state_sensor.json
/openbmc/pldm/test/libpldmresponder_pdr_effecter_test.cpp
/openbmc/pldm/test/libpldmresponder_platform_test.cpp
/openbmc/pldm/test/meson.build
/openbmc/pldm/test/pdr_jsons/state_effecter/good/effecter_pdr.json
/openbmc/pldm/test/pdr_jsons/state_effecter/malformed/effecter_pdr.json
/openbmc/pldm/tool/pldm_base_cmd.cpp
/openbmc/pldm/tool/pldm_bios_cmd.cpp
/openbmc/pldm/tool/pldm_fru_cmd.cpp
/openbmc/pldm/tool/pldm_platform_cmd.cpp
/openbmc/pldm/types.hpp
/openbmc/pldm/utils.cpp
/openbmc/pldm/utils.hpp

1...<<11121314