History log of /openbmc/openpower-proc-control/extensions/phal/ (Results 26 – 50 of 53)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
381c3e3401-Dec-2021 Marri Devender Rao <devenrao@in.ibm.com>

PHAL: Add callout details for platform related errors

1) At present platform errors are treated as normal ipl errors
and no callout details are added.

2) Modified to add callout info to the FFDC ob

PHAL: Add callout details for platform related errors

1) At present platform errors are treated as normal ipl errors
and no callout details are added.

2) Modified to add callout info to the FFDC object when there
is error in plat code.

Tested:
"Primary SRC": {
"Section Version": "1",
"Sub-section type": "1",
"Created by": "0x3000",
"SRC Version": "0x02",
"SRC Format": "0x55",
"Virtual Progress SRC": "False",
"I5/OS Service Event Bit": "False",
"Hypervisor Dump Initiated":"False",
"Power Control Net Fault": "False",
"Backplane CCIN": "2E33",
"Deconfigured": "True",
"Guarded": "False",
"Error Details": {
"Message": "Failure occured during boot process"
},
"Callout Section": {
"Callout Count": "1",
"Callouts": [{
"FRU Type": "Normal Hardware FRU",
"Priority": "Medium Priority",
"Location Code": "U780C.ND0.WZS0003-P0-C14",
"Part Number": "F200203",
"CCIN": "AB41",
"Serial Number": " ",
"MRU Id": "00010000"
}]
}

"User Data 2": {
"Section Version": "1",
"Sub-section type": "1",
"Created by": "0x2000",
"Data": [
{
"Deconfigured": true,
"EntityPath": [
35,
1,
0,
2,
0,
5,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"GuardType": "",
"Guarded": false,
"LocationCode": "Ufcs-P0-C14",
"MRUs": [
{
"ID": 65536,
"Priority": "M"
}
],
"Priority": "M"
}
]
}

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I8d3f1603c751efe74e5e06d4ebb9956681acdaa5

show more ...

0ac7c38f15-Nov-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: Add procedure callout for hwp errors

Added infrastructure to enable procedure callout support
for the HWP failure related PEL

Tested:
User data 1
"HWP_PROC_CO_01_MAINT_PROCEDURE": "BMC0002",

PHAL: Add procedure callout for hwp errors

Added infrastructure to enable procedure callout support
for the HWP failure related PEL

Tested:
User data 1
"HWP_PROC_CO_01_MAINT_PROCEDURE": "BMC0002",
"HWP_PROC_CO_01_PRIORITY": "MEDIUM",

"Callout Section": {
"FRU Type": "Maintenance Procedure Required",
"Priority": "Medium Priority",
"Procedure": "BMC0002"
}

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I25f7bed2817a767c219a7a4c2ad6d71ccb3bbf07

show more ...

0a516def14-Nov-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: Add BMC0001 procedure callout for SBE boot error

Added procedure callout during SBE boot error processing
function, when fail to get boot processor information.

Tested:
"Callout Section": {

PHAL: Add BMC0001 procedure callout for SBE boot error

Added procedure callout during SBE boot error processing
function, when fail to get boot processor information.

Tested:
"Callout Section": {
"Callout Count": "1",
"Callouts": [{
"FRU Type": "Maintenance Procedure Required",
"Priority": "Mandatory, replace all with this
type as a unit",
"Procedure": "BMC0001"
}]
}

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ifd9311e25b8447409d901ba446185337e38ef305

show more ...

8fe9ff9114-Nov-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: added createErrorPEL wrapper function

Refactored createBootErrorPEL to support callout and
additional data information as optional parameter to
support diffrent types of PEL creation.

Also re

PHAL: added createErrorPEL wrapper function

Refactored createBootErrorPEL to support callout and
additional data information as optional parameter to
support diffrent types of PEL creation.

Also renamed createBootErrorPEL -> createErrorPEL.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Iee6e356740179caf6486a2750cf30278240a5785

show more ...

de90925915-Nov-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: Fix pdbg target traversal error path issues

Existing pdbg target traversal call back function continues
traversal incase any attribute read failure on entity path
associated target. This logic

PHAL: Fix pdbg target traversal error path issues

Existing pdbg target traversal call back function continues
traversal incase any attribute read failure on entity path
associated target. This logic is wrong, should be continue
collecting available attribute information and stop traversal
in this case.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I1865558962ffb3a715760a060e0054110b4da470

show more ...

5d5eb31415-Nov-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: Add location code information support for sub FRUs

only for FRU(Field Replaceable Units) devices. Existing PEL
error handling code doesn't provide Location code information
to PEL back-end cod

PHAL: Add location code information support for sub FRUs

only for FRU(Field Replaceable Units) devices. Existing PEL
error handling code doesn't provide Location code information
to PEL back-end code, and which creates errors in PEL
processing for sub FRU callouts from PHAL requested error PEL.

This commits helps to fix the this problem by using libphal
based api to get location code instead of direct devtree
attribute read. Libphal api uses algorithm to get Location code
for sub FRUs by getting information from parent the FRU

Tested: verified PEL

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ic013b6757f5159041242c5223d0b9ead730be134

show more ...

87c40d3312-Nov-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: Remove HWAS_STATE updates from sbe ffdc processing api

Common PEL hardware Deconfiguration record adding function will
take care HWAS_STATE attribute updates. Removing the duplicate code.

Sig

PHAL: Remove HWAS_STATE updates from sbe ffdc processing api

Common PEL hardware Deconfiguration record adding function will
take care HWAS_STATE attribute updates. Removing the duplicate code.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Iba1fdeb6d4ae0152fa28b0ff61d40095581d5b0a

show more ...

9883ed5f12-Nov-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: Guard related service action support for PHAL logs

Added required fields in the PEL user data section to create
guard record entries for PHAL specific error logs

Tested: verified guard logs.

PHAL: Guard related service action support for PHAL logs

Added required fields in the PEL user data section to create
guard record entries for PHAL specific error logs

Tested: verified guard logs.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ie3c190e1cdd75bb8bee113f2d34025499f24d3fa

show more ...

faaef2ac08-Oct-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: improved boot failure reason code based logging

Added support to all newly added ipl failures.
- IPL_ERR_HWP reports hwp procedure failures
- IPL_ERR_SBE_CHIPOP reports during continue mpipl

PHAL: improved boot failure reason code based logging

Added support to all newly added ipl failures.
- IPL_ERR_HWP reports hwp procedure failures
- IPL_ERR_SBE_CHIPOP reports during continue mpipl chip-op
- IPL_ERR_SBE_BOOT reports sbe_start step.
- All remaining failures log generic boot failure now

Tested: Manually verified.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: If103d53abd163ba4995a23b91700dbccfb81e2f9

show more ...

006641ef07-Oct-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: collect sbe dump for the sbe boot timeout

Added support to collect dump during sbe boot timeout failure.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I88d6eb3c09094721db04

PHAL: collect sbe dump for the sbe boot timeout

Added support to collect dump during sbe boot timeout failure.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I88d6eb3c09094721db048c4f90d0d5008eac2cce

show more ...

21a889fd07-Oct-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: dump utility functions support

Added dump utility function to create and watch dump
progress for SBE type dumps.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ieef2231340aa

PHAL: dump utility functions support

Added dump utility function to create and watch dump
progress for SBE type dumps.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ieef2231340aab9ed09aa677dcabdcf4c3b066645

show more ...

fe37aea007-Oct-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: createSbePEL API updates

Dump D-bus API requires PLID information to create SBE dump.
Updated createSbePEL API to return PLID information for same.
Replaced PEL CreateWithFFDCFiles api with Cr

PHAL: createSbePEL API updates

Dump D-bus API requires PLID information to create SBE dump.
Updated createSbePEL API to return PLID information for same.
Replaced PEL CreateWithFFDCFiles api with CreatePELWithFFDCFiles
to get PEL id.

Tested: verified manually.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I38984e63029ae236b05744c81726296d2da17149

show more ...

1a9a5a6a06-Oct-2021 Patrick Williams <patrick@stwcx.xyz>

catch exceptions as const

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia8f2ae95679f98f2fc3f32239bbf3b3578c35888

4079f09d20-Sep-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: SBE boot failure support

Added support to handle SBE boot failure reported during
SBE start process. This features required support from
libphal library which is part of ipl repository.

This

PHAL: SBE boot failure support

Added support to handle SBE boot failure reported during
SBE start process. This features required support from
libphal library which is part of ipl repository.

This function invoked for any SBE related boot failure reason code.
libphal library provided api's is used for capturing FFDC information
from SBE. Creates SBE specific PEL for a valid FFDC data. In case the
error is related SBE timeout initiates SBE dump to capture additional
debug data.

Tested: verified PEL log

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Iff9a23359de8f5ca273d195b29afe2fdc659283f

show more ...

2eb31ad220-Sep-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: added createSbePEL wrapper function

Added wrapper function to create SBE PEL based on event type
and user provided additional SBE provided FFDC information

Refer phosphor-logging/extensions/o

PHAL: added createSbePEL wrapper function

Added wrapper function to create SBE PEL based on event type
and user provided additional SBE provided FFDC information

Refer phosphor-logging/extensions/openpower-pels/README.md section
"Self Boot Engine(SBE) First Failure Data Capture(FFDC) Support"
for details on this implementation.

Tested: verified PEL log

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ice41e224d92a773090d601d3154b4c30bdd09c02

show more ...

a8d2f71020-Sep-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL:createPEL function signature update

Extended createPEL function to support optional additional data.
This is to support new requirement for creating PEL with additional data.

Tested: verified

PHAL:createPEL function signature update

Extended createPEL function to support optional additional data.
This is to support new requirement for creating PEL with additional data.

Tested: verified the PEL log.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I02f8eea29e40ca65dbdd1631ba0027fbb75a6080

show more ...

41e122fd10-Sep-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: set PDATA_INFODB value for phal-export-devtree app

PDATA recipe removed systemd global settings related to
PDATA_INFODB environment value. This commit enables the
application level support for

PHAL: set PDATA_INFODB value for phal-export-devtree app

PDATA recipe removed systemd global settings related to
PDATA_INFODB environment value. This commit enables the
application level support for the same.

Tested: verified manually in runtime codeupdate path.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I51b09362a9fe8742a8b00cf56ae7b8c792fd54e1

show more ...

a202987b10-Sep-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: Helper function to set PDATA_INFODB

systemd runntime global cofiguration keeps a copy of all
the varibles in the application space. Since the PDATA_INFODB
config variable is consumed by limite

PHAL: Helper function to set PDATA_INFODB

systemd runntime global cofiguration keeps a copy of all
the varibles in the application space. Since the PDATA_INFODB
config variable is consumed by limited applications, removed
systemd global settings related to PDATA_INFODB environment.
So application level environment setting required. Added this
helper function to set PDATA_INFODB environment variable for
the attributes tool.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I3e689c0c0d03ec11201e5ee50240409a53e42aad

show more ...

ee56c55510-Sep-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

phal: libipl enum name change IPL_NO_ERR to IPL_ERR_OK

Enable support related to new enum name change in libipl.

Tested: Build is success

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Chan

phal: libipl enum name change IPL_NO_ERR to IPL_ERR_OK

Enable support related to new enum name change in libipl.

Tested: Build is success

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: If4039a99a56390b4c4311693cbbfebdf85cc6adf

show more ...

2b21170106-Sep-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

phal: ipl_error_callback_func prototype related changes

libipl ipl_error_callback_func prototype changed to support additional
error handling support. This commits includes the changes related to
th

phal: ipl_error_callback_func prototype related changes

libipl ipl_error_callback_func prototype changed to support additional
error handling support. This commits includes the changes related to
this function prototype function.

Also made changes in internal error handling to make direct
call to processBootError instead of callback function.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I76aa1c4d41e4b2685b3c6534afe35988f35bc103

show more ...

2246cca002-Sep-2021 Patrick Williams <patrick@stwcx.xyz>

exception: switch to public sdbus exception

SdBusError was intended to be a private error type inside sdbusplus.
Switch all catch locations to use the general sdbusplus::exception type.

Signed-off-

exception: switch to public sdbus exception

SdBusError was intended to be a private error type inside sdbusplus.
Switch all catch locations to use the general sdbusplus::exception type.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I013d8a225f7a15601a5defa487d7030daad77270

show more ...

3840547d26-Jul-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: export devtree attribute support

Added function to export devtree data based on the
filter file using attributes tool based infrastructure.
Data is stored in pre defined location in BMC to res

PHAL: export devtree attribute support

Added function to export devtree data based on the
filter file using attributes tool based infrastructure.
Data is stored in pre defined location in BMC to restore
in the reboot path.

Tested: verified devtree data exported manually.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I9c708483708f443a910e272615ec4c66b31e2603

show more ...

13c57ad816-Jul-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: add phal-export-devtree app

d-bus signal based watch app for software path interface add.

This implements methods for watching for software path
interface add signal and call appropriate func

PHAL: add phal-export-devtree app

d-bus signal based watch app for software path interface add.

This implements methods for watching for software path
interface add signal and call appropriate function to
initiate phal devtree attribute data collection and save
to preserve partition.
Rules:
- Watch for interfaces added for the software path
- If interface added is “Activation”
- if Activation property value is “Ready”
- Then software update is going to start
- Collect phal devtree required attribute list and
save to pre-defined location

This commit enables the d-bus app only.

Tested : verified manually the signals by forcing
code update.
Jul 30 14:27:35 xxx phal-export-devtree[2624]: Software path
interface add signal received

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ia1b7a87ef5a64e3c51c8dfa2d2e4ccef34a3e934

show more ...

c3d6b87628-Jul-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: refactoring common_utils

Moved pdbg specific utils function into new file.
This will help to avoid adding additional phal library
dependency for apps , which are not really consumed
phal repos

PHAL: refactoring common_utils

Moved pdbg specific utils function into new file.
This will help to avoid adding additional phal library
dependency for apps , which are not really consumed
phal repos.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ibabd8096afe8402551d1314f0ff5b89cac891aad

show more ...

ac95c56216-Jul-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: added createPEL wrapper function

Added wrapper function to create PEL based on event type.

Why: concurrent code update feature requires to create to
PEL, based on event types in various use

PHAL: added createPEL wrapper function

Added wrapper function to create PEL based on event type.

Why: concurrent code update feature requires to create to
PEL, based on event types in various use cases. This will
help to reduce duplicate code.

Tested: verified PEL log

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I21d46775994f5c2f86124e33bf98dd9044f3e5d8

show more ...

123