History log of /openbmc/phosphor-logging/extensions/ (Results 576 – 600 of 680)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
455587e515-Jan-2020 Matt Spinler <spinler@us.ibm.com>

PEL: Print host trans state in peltool

In the UserHeader section, add an entry into peltool's JSON
output for the host transmission state.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id

PEL: Print host trans state in peltool

In the UserHeader section, add an entry into peltool's JSON
output for the host transmission state.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ie906a447859e30175652d291ef2f929e8a7077f6

show more ...

cce1411a11-Dec-2019 Matt Spinler <spinler@us.ibm.com>

PEL: API for getting if system is HMC managed

Add an API to the DataInterface class for determining if
the system is HMC (hardware management console, which usually
reference to a specific set of so

PEL: API for getting if system is HMC managed

Add an API to the DataInterface class for determining if
the system is HMC (hardware management console, which usually
reference to a specific set of software and hardware that
connects to IBM servers) managed.

As of now there is no way to determine this, so just return
the default of false.

This status impacts which PELs are sent to the host.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I803bc71c271dec6d68821dd36089e7a46461aac6

show more ...

1d4c74a016-Dec-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Trace when event logs don't create PELs

To help show which events are missing from the PEL message registry,
add a journal entry for when an OpenBMC event log name isn't found
in the registry a

PEL: Trace when event logs don't create PELs

To help show which events are missing from the PEL message registry,
add a journal entry for when an OpenBMC event log name isn't found
in the registry and a PEL won't be created. Eventually, this will
be replaced with creating a brand new PEL that contains the event
log info.

In addition, add a journal entry displaying the SRC ASCII string of
newly created PELs.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I1228339cfa7d1d5aa60ef3b3ce2b2c0424ab0bf4

show more ...

2ecb465b09-Jan-2020 Harisuddin Mohamed Isa <harisuddin@gmail.com>

PEL: Print Private Header into JSON aligned

"Private Header": {
"Section Version": "1",
"Sub-section type": "0",
"Created by": "0x1000",
"Created at":

PEL: Print Private Header into JSON aligned

"Private Header": {
"Section Version": "1",
"Sub-section type": "0",
"Created by": "0x1000",
"Created at": "12/05/2019 18:32:42",
"Committed at": "12/05/2019 18:32:42",
"Creator Subsystem": "BMC",
"CSSVER": "",
"Platform Log Id": "0x50000C00",
"Entry Id": "0x50000C00"
}

Testing: Manually run peltool and verified output
Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com>
Change-Id: Ib6ef49f1b29486a97e86700b19ac982e43bede37

show more ...

bad5f8a210-Dec-2019 Aatir <aatrapps@gmail.com>

PEL: Taking regex calls out of PEL listing function

Taking out regex calls to improve time complexity

Change-Id: Id0ca32bf78b006b3c8e03ac95206c670f92d4002
Signed-off-by: Aatir <aatrapps@gmail.com>

37822f6810-Dec-2019 Aatir <aatrapps@gmail.com>

PEL: PEL listing time fix

Previously PELs were being flattened twice before being listed.
This commit brings it down to one.

Change-Id: I027d1e22e8d6d793c30c6f26a06178a448a6c301
Signed-off-by: Aati

PEL: PEL listing time fix

Previously PELs were being flattened twice before being listed.
This commit brings it down to one.

Change-Id: I027d1e22e8d6d793c30c6f26a06178a448a6c301
Signed-off-by: Aatir <aatrapps@gmail.com>

show more ...

e340c13f09-Dec-2019 Aatir <aatrapps@gmail.com>

PEL: Display PEL by ID

This command displays a PEL by id.

Change-Id: I26b8d30b886f47c02dd8cf648e6a261a6867a048
Signed-off-by: Aatir <aatrapps@gmail.com>

600d15af19-Dec-2019 Harisuddin Mohamed Isa <harisuddin@gmail.com>

PEL: Print action flags into JSON aligned

"User Header": {
"Section Version": "1",
"Sub-section type": "0",
"Log Committed by": "0x4552",
"Subsystem":

PEL: Print action flags into JSON aligned

"User Header": {
"Section Version": "1",
"Sub-section type": "0",
"Log Committed by": "0x4552",
"Subsystem": "System Hypervisor Firmware",
"Event Scope": "Entire Platform",
"Event Severity": "Informational Event",
"Event Type": "Miscellaneous, Informational Only",
"Action Flags": [
"Report Externally"
]
}

Testing: Manually run peltool and verified output
Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com>
Change-Id: Ie8376953b5f1baa093fc0aa9564d50cd4208564e

show more ...

b3f5186e09-Dec-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Add API to get the PLDM instance ID

In order to send a PLDM command, one must get the instance ID parameter
to use for that command from the PLDM daemon via a D-Bus method.

Implement this API

PEL: Add API to get the PLDM instance ID

In order to send a PLDM command, one must get the instance ID parameter
to use for that command from the PLDM daemon via a D-Bus method.

Implement this API in the DataInterface class, though leave the body of
it stubbed out until the PLDM daemon switches to using async D-Bus
operations as right now the logging daemon and PLDM daemon can deadlock
with each calling into the other.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I592e7bad922c725edee67003e9957388df5f195c

show more ...

6d51224b09-Dec-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Add repo function to get a PEL FD

Add Repository::getPELFD() to return a file descriptor to a PEL data
file based on its ID.

This will be used by a future D-Bus method to return the descriptor

PEL: Add repo function to get a PEL FD

Add Repository::getPELFD() to return a file descriptor to a PEL data
file based on its ID.

This will be used by a future D-Bus method to return the descriptor to
the PLDM daemon.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I1110a514e30a9387d9672e42862139b988717c53

show more ...

57a24e3809-Dec-2019 Harisuddin Mohamed Isa <harisuddin@gmail.com>

PEL: Filled in PEL value descriptions

Updated getValue to return value description instead of registry name.
Updated unit test to add checking of value description.

Testing: Ran unit test successfu

PEL: Filled in PEL value descriptions

Updated getValue to return value description instead of registry name.
Updated unit test to add checking of value description.

Testing: Ran unit test successfully on QEMU and also verified peltool
output

Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com>
Change-Id: Icf64f51a467c3bd4dd9bbcd78aea3df966b20eb7

show more ...

cc42454611-Dec-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Fix message registry schema typo

Change-Id: Ic20d6560a79dc8cc871ebc1ab64ce5aefc2ccfe6

57686b6505-Dec-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Put back in the default error log caps

Since there is no code in place yet to purge old logs after some amount
of total space is consumed, it will be safest to put back in the default
cap of 20

PEL: Put back in the default error log caps

Since there is no code in place yet to purge old logs after some amount
of total space is consumed, it will be safest to put back in the default
cap of 200. If more than 200 is needed in the short term, we can use
the currently available configure option to increase the cap.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ide1af5432271817f30bfaf0b065c35906aaa05cf

show more ...

c63e2e8202-Dec-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Add ExtendedUserHeader section class

This is a required PEL section.

The section contains:
* The machine type/model/SN
* The server firmware version
* The BMC firmware version
* The 'Event Com

PEL: Add ExtendedUserHeader section class

This is a required PEL section.

The section contains:
* The machine type/model/SN
* The server firmware version
* The BMC firmware version
* The 'Event Common Reference Time' (not used yet)
* The symptom ID (a unique event signature)

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I223041f85965195fccf69542dbe86ce856073b36

show more ...

cad9c2bd02-Dec-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Add APIs to read the FW versions

Add methods to the DataInterface class to read the BMC and server
firmware versions. The server firmware version represents the version
of all firmware images

PEL: Add APIs to read the FW versions

Add methods to the DataInterface class to read the BMC and server
firmware versions. The server firmware version represents the version
of all firmware images that are in the flash image, not just the BMC.
There is nowhere to get that version yet, so this commit just has a
placeholder.

These will be used by the ExtendedUserHeader section.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I47389714c987337cb96c72b6bf2b270c78003357

show more ...

86c7036202-Dec-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Add constructors to BCDTime

Add constructors to set all members to zero initially or pass
them all in.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ic28cee19014c739f331fd0498229

PEL: Add constructors to BCDTime

Add constructors to set all members to zero initially or pass
them all in.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ic28cee19014c739f331fd0498229dfb503b0df88

show more ...

29d18c1121-Nov-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Add Repo API to update transmission states

Provided APIs for the Repository class to update the host and HMC
transmission states on a PEL it contains. It saves the updated PEL data
in the file

PEL: Add Repo API to update transmission states

Provided APIs for the Repository class to update the host and HMC
transmission states on a PEL it contains. It saves the updated PEL data
in the filesystem.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Iadbc589ee85d4408339e1171c36b8324910f4f0a

show more ...

a3c12a4821-Nov-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Reset host transmission state on restart

When the Repository class starts up, if it finds any existing PELs with
a host transmission state of 'sent', set it back to 'new' so that it
will get se

PEL: Reset host transmission state on restart

When the Repository class starts up, if it finds any existing PELs with
a host transmission state of 'sent', set it back to 'new' so that it
will get sent again, as the BMC restarted or the daemon crashed before
the host could ack it.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ieeca2c1a92eabc0a22051be6b87cecbe0b1d519d

show more ...

df43a30521-Nov-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Set tran states when PELs are added to repo

When a PEL is added to the repository, ensure that the host and HMC
transmission states are set to 'new'.

Signed-off-by: Matt Spinler <spinler@us.ib

PEL: Set tran states when PELs are added to repo

When a PEL is added to the repository, ensure that the host and HMC
transmission states are set to 'new'.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I9edb9d388a61742c28c1df1552b9678d10b9fcc4

show more ...

346f99a121-Nov-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Save tran states in the repo attributes

Save the host and HMC (Hardware Management Console) transmission
states in the PEL attributes map so that external callers can
get to them without having

PEL: Save tran states in the repo attributes

Save the host and HMC (Hardware Management Console) transmission
states in the PEL attributes map so that external callers can
get to them without having to unflatten a PEL from the filesystem.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: If8b396d3c342af2c7a3c34f4f1bb0a7da075e47c

show more ...

ab1b97fe07-Nov-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Repository: Add write() function

Pull the code that writes a PEL object to a file into a separate
function so that it can be called in multiple places.

Signed-off-by: Matt Spinler <spinler@us.

PEL: Repository: Add write() function

Pull the code that writes a PEL object to a file into a separate
function so that it can be called in multiple places.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ic5701fdfb03cca915520222bbbd8bb92a9c47c49

show more ...

f38ce98407-Nov-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Add enums for transmission states

So far, the states are new, sent, and acked.

Also added PEL object access to getting and setting these on the User
Header section object.

Signed-off-by: Matt

PEL: Add enums for transmission states

So far, the states are new, sent, and acked.

Also added PEL object access to getting and setting these on the User
Header section object.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I0dfb2d1a39fe69b2a47bf7d461f08e92039a3e03

show more ...

eb11144707-Nov-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Store transmission states in UserHeader

Use a reserved word in the UserHeader section to store some
PEL states:

* Host Transmission State:
- States involving the progression of a PEL being s

PEL: Store transmission states in UserHeader

Use a reserved word in the UserHeader section to store some
PEL states:

* Host Transmission State:
- States involving the progression of a PEL being sent to the
operating system.

* HMC Transmission State:
- States involving the progression of a PEL being sent to the
hardware management console, if there is one attached.

- Usually, an HMC refers to a specific set of hardware and software
sold by IBM that connects to OpenPower systems which has specific
software to deal with receiving PELs.

It is possible that there is an implementation that won't need to send
PELs to either of these entities, in which case these states will
just be unused and left at zero.

This is the same location that other service processor implementations
have stored transmission states.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I6a2bfee15336dbd564aeaded88effa55ede0d6c4

show more ...

c148935109-Dec-2019 Aatir <aatrapps@gmail.com>

PEL: Remove userHeader::getValue

getValue function is now being used to get field values for all the
different sections. Therefore, it makes sense to
remove the older implementation of this function

PEL: Remove userHeader::getValue

getValue function is now being used to get field values for all the
different sections. Therefore, it makes sense to
remove the older implementation of this function from userHeader class.

Change-Id: I041b8c5e0548e9f7ee354f21d2e248ed946df5ec
Signed-off-by: Aatir <aatrapps@gmail.com>

show more ...

7b291ec619-Nov-2019 Aatir <aatrapps@gmail.com>

PEL: Print list of PELs

PelTool commands for printing a list of PELs.

PEL list sample:

{
"0x50000004": {
"SRC": "BD8D1001",
"PLID": "0x50000004",
"CreatorID": "BMC",
"Subsystem": "bmc_fir

PEL: Print list of PELs

PelTool commands for printing a list of PELs.

PEL list sample:

{
"0x50000004": {
"SRC": "BD8D1001",
"PLID": "0x50000004",
"CreatorID": "BMC",
"Subsystem": "bmc_firmware",
"Commit Time": "10/24/2019 15:50:08",
"Sev": "unrecoverable",
"CompID": "0x1000"
}

}

Change-Id: Ifd864a6561c09de098689195edcf107b3fe550e3
Signed-off-by: Aatir <aatrapps@gmail.com>

show more ...

1...<<2122232425262728