History log of /openbmc/openpower-proc-control/procedures/common/ (Results 1 – 13 of 13)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
915b38fe20-Oct-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

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

show more ...


/openbmc/openpower-proc-control/.clang-format
/openbmc/openpower-proc-control/extensions/phal/clock_logger.cpp
/openbmc/openpower-proc-control/extensions/phal/clock_logger.hpp
/openbmc/openpower-proc-control/extensions/phal/clock_logger_main.cpp
/openbmc/openpower-proc-control/extensions/phal/common_utils.cpp
/openbmc/openpower-proc-control/extensions/phal/create_pel.cpp
/openbmc/openpower-proc-control/extensions/phal/devtree_export.cpp
/openbmc/openpower-proc-control/extensions/phal/dump_utils.cpp
/openbmc/openpower-proc-control/extensions/phal/fw_update_watch.cpp
/openbmc/openpower-proc-control/extensions/phal/pdbg_utils.cpp
/openbmc/openpower-proc-control/extensions/phal/phal_error.cpp
/openbmc/openpower-proc-control/meson.build
/openbmc/openpower-proc-control/meson.options
collect_sbe_hb_data.cpp
/openbmc/openpower-proc-control/procedures/p9/enter_mpreboot.cpp
/openbmc/openpower-proc-control/procedures/p9/thread_stopall.cpp
/openbmc/openpower-proc-control/procedures/phal/enter_mpreboot.cpp
/openbmc/openpower-proc-control/procedures/phal/import_devtree.cpp
/openbmc/openpower-proc-control/procedures/phal/reinit_devtree.cpp
/openbmc/openpower-proc-control/procedures/phal/start_host.cpp
/openbmc/openpower-proc-control/procedures/phal/thread_stopall.cpp
/openbmc/openpower-proc-control/service_files/op-clear-sys-dump-active@.service.in
/openbmc/openpower-proc-control/service_files/op-clock-data-logger@.service.in
/openbmc/openpower-proc-control/service_files/op-continue-mpreboot@.service.in
/openbmc/openpower-proc-control/service_files/op-enter-mpreboot@.service.in
/openbmc/openpower-proc-control/service_files/op-reset-host-check@.service.in
/openbmc/openpower-proc-control/service_files/op-reset-host-clear.service.in
/openbmc/openpower-proc-control/service_files/op-stop-instructions@.service.in
/openbmc/openpower-proc-control/service_files/pcie-poweroff@.service.in
/openbmc/openpower-proc-control/service_files/phal-create-boottime-guard-indicator.service.in
/openbmc/openpower-proc-control/service_files/phal-export-devtree@.service.in
/openbmc/openpower-proc-control/service_files/phal-reinit-devtree.service.in
/openbmc/openpower-proc-control/service_files/proc-pre-poweroff@.service.in
/openbmc/openpower-proc-control/service_files/set-spi-mux.service.in
/openbmc/openpower-proc-control/service_files/xyz.openbmc_project.Control.Host.NMI.service.in
/openbmc/openpower-proc-control/temporary_file.cpp
/openbmc/openpower-proc-control/util.cpp
00dd33ef10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

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

show more ...


/openbmc/openpower-proc-control/.clang-format
/openbmc/openpower-proc-control/.gitignore
/openbmc/openpower-proc-control/OWNERS
/openbmc/openpower-proc-control/README.md
/openbmc/openpower-proc-control/ext_interface.cpp
/openbmc/openpower-proc-control/extensions/phal/clock_logger.cpp
/openbmc/openpower-proc-control/extensions/phal/clock_logger.hpp
/openbmc/openpower-proc-control/extensions/phal/clock_logger_main.cpp
/openbmc/openpower-proc-control/extensions/phal/create_pel.cpp
/openbmc/openpower-proc-control/extensions/phal/create_pel.hpp
/openbmc/openpower-proc-control/extensions/phal/dump_utils.cpp
/openbmc/openpower-proc-control/extensions/phal/dump_utils.hpp
/openbmc/openpower-proc-control/extensions/phal/fw_update_watch.cpp
/openbmc/openpower-proc-control/extensions/phal/fw_update_watch.hpp
/openbmc/openpower-proc-control/extensions/phal/pdbg_utils.cpp
/openbmc/openpower-proc-control/extensions/phal/phal_error.cpp
/openbmc/openpower-proc-control/extensions/phal/phal_error.hpp
/openbmc/openpower-proc-control/meson.build
/openbmc/openpower-proc-control/meson_options.txt
/openbmc/openpower-proc-control/nmi_interface.cpp
/openbmc/openpower-proc-control/nmi_interface.hpp
/openbmc/openpower-proc-control/nmi_main.cpp
cfam_reset.cpp
/openbmc/openpower-proc-control/procedures/p9/thread_stopall.cpp
/openbmc/openpower-proc-control/procedures/phal/check_host_running.cpp
/openbmc/openpower-proc-control/procedures/phal/enter_mpreboot.cpp
/openbmc/openpower-proc-control/procedures/phal/reinit_devtree.cpp
/openbmc/openpower-proc-control/procedures/phal/start_host.cpp
/openbmc/openpower-proc-control/procedures/phal/thread_stopall.cpp
/openbmc/openpower-proc-control/service_files/op-clear-sys-dump-active@.service.in
/openbmc/openpower-proc-control/service_files/op-clock-data-logger@.service.in
/openbmc/openpower-proc-control/service_files/op-continue-mpreboot@.service.in
/openbmc/openpower-proc-control/service_files/op-enter-mpreboot@.service.in
/openbmc/openpower-proc-control/service_files/op-reset-host-check@.service.in
/openbmc/openpower-proc-control/service_files/op-reset-host-clear.service.in
/openbmc/openpower-proc-control/service_files/op-stop-instructions@.service.in
/openbmc/openpower-proc-control/service_files/pcie-poweroff@.service.in
/openbmc/openpower-proc-control/service_files/phal-create-boottime-guard-indicator.service.in
/openbmc/openpower-proc-control/service_files/phal-export-devtree@.service.in
/openbmc/openpower-proc-control/service_files/phal-import-devtree@.service.in
/openbmc/openpower-proc-control/service_files/phal-reinit-devtree.service.in
/openbmc/openpower-proc-control/service_files/proc-pre-poweroff@.service.in
/openbmc/openpower-proc-control/service_files/set-spi-mux.service.in
/openbmc/openpower-proc-control/service_files/xyz.openbmc_project.Control.Host.NMI.service.in
/openbmc/openpower-proc-control/targeting.hpp
/openbmc/openpower-proc-control/temporary_file.cpp
/openbmc/openpower-proc-control/temporary_file.hpp
/openbmc/openpower-proc-control/test/utest.cpp
/openbmc/openpower-proc-control/util.cpp
/openbmc/openpower-proc-control/util.hpp
db8d46c009-Oct-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

PHAL: enterMPIPL chip-op failure handling support

Added new enterMpReboot procedure for PHAL feature enabled
systems to support libphal library API based chip-op
failure handling

Existing enterMpRe

PHAL: enterMPIPL chip-op failure handling support

Added new enterMpReboot procedure for PHAL feature enabled
systems to support libphal library API based chip-op
failure handling

Existing enterMpReboot procedure moved to non PHAL enabled systems.

Tested:
- Poitive Path 3 processor config
Starting Start memory preserving reboot host0...
Starting memory preserving reboot
Enter MPIPL completed on proc(2)
Enter MPIPL completed on proc(3)
Enter MPIPL completed on proc(0)
Finished Start memory preserving reboot host0.

- Error Path:
- Forced proc2 SBE invalid state.

Journal data
SBE (/proc2) is not ready for chip-op: state(0x00000000)

PEL data:
"SBE_ERR_MSG": "SBE chip-op not allowed",
"Message": "chipop request failure reported by SBE",
"SRC6": [
"0x2A901",
"[0:15] chip position, [16:23] command class,
[24:31] command type"
]
},

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

show more ...


/openbmc/openpower-proc-control/MAINTAINERS
/openbmc/openpower-proc-control/extensions/phal/common_utils.cpp
/openbmc/openpower-proc-control/extensions/phal/common_utils.hpp
/openbmc/openpower-proc-control/extensions/phal/create_pel.cpp
/openbmc/openpower-proc-control/extensions/phal/create_pel.hpp
/openbmc/openpower-proc-control/extensions/phal/devtree_export.cpp
/openbmc/openpower-proc-control/extensions/phal/fw_update_watch.cpp
/openbmc/openpower-proc-control/extensions/phal/fw_update_watch.hpp
/openbmc/openpower-proc-control/extensions/phal/pdbg_utils.cpp
/openbmc/openpower-proc-control/extensions/phal/pdbg_utils.hpp
/openbmc/openpower-proc-control/extensions/phal/phal_error.cpp
/openbmc/openpower-proc-control/extensions/phal/phal_error.hpp
/openbmc/openpower-proc-control/meson.build
/openbmc/openpower-proc-control/meson_options.txt
/openbmc/openpower-proc-control/nmi_interface.cpp
/openbmc/openpower-proc-control/nmi_interface.hpp
/openbmc/openpower-proc-control/p10_cfam.hpp
/openbmc/openpower-proc-control/proc_control.cpp
/openbmc/openpower-proc-control/procedures/openfsi/scan.cpp
/openbmc/openpower-proc-control/procedures/p9/cleanup_pcie.cpp
/openbmc/openpower-proc-control/procedures/p9/enter_mpreboot.cpp
/openbmc/openpower-proc-control/procedures/phal/check_host_running.cpp
/openbmc/openpower-proc-control/procedures/phal/enter_mpreboot.cpp
/openbmc/openpower-proc-control/procedures/phal/import_devtree.cpp
/openbmc/openpower-proc-control/procedures/phal/proc_pre_poweroff.cpp
/openbmc/openpower-proc-control/procedures/phal/start_host.cpp
/openbmc/openpower-proc-control/service_files/op-cfam-reset.service.in
/openbmc/openpower-proc-control/service_files/op-continue-mpreboot@.service.in
/openbmc/openpower-proc-control/service_files/op-enter-mpreboot@.service.in
/openbmc/openpower-proc-control/service_files/op-reset-host-check@.service.in
/openbmc/openpower-proc-control/service_files/op-reset-host-clear.service.in
/openbmc/openpower-proc-control/service_files/op-stop-instructions@.service.in
/openbmc/openpower-proc-control/service_files/pcie-poweroff@.service.in
/openbmc/openpower-proc-control/service_files/phal-export-devtree@.service.in
/openbmc/openpower-proc-control/service_files/phal-import-devtree@.service.in
/openbmc/openpower-proc-control/service_files/phal-reinit-devtree.service.in
/openbmc/openpower-proc-control/service_files/proc-pre-poweroff@.service.in
/openbmc/openpower-proc-control/service_files/set-spi-mux.service.in
/openbmc/openpower-proc-control/service_files/xyz.openbmc_project.Control.Host.NMI.service.in
/openbmc/openpower-proc-control/targeting.cpp
/openbmc/openpower-proc-control/util.cpp
f8c14bcf29-Jun-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

Added additional log messages in enterMPIPL function

Added additional log message in entermpipl to help
debugging in multi processor configuration

Tested: verified journal logs.

Signed-off-by: Jay

Added additional log messages in enterMPIPL function

Added additional log message in entermpipl to help
debugging in multi processor configuration

Tested: verified journal logs.

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

show more ...

785cf6a528-Jun-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

pdbg v3.3 related changes

Separate sbe api into new header libpdbg_sbe.h related
changes.

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

5e5d445127-Oct-2020 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: update clang-format

Update to the latest OpenBMC clang-format.

Change-Id: I19424fe32f32900d21272e343a5bda8675edbe60
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

63508a7327-Oct-2020 Brad Bishop <bradleyb@fuzziesquirrel.com>

fix compiler warnings

Fix a couple pedantic, format=, and unused-parameter warnings so we can
turn the warnings all the way up.

Change-Id: I7c6309e30147f54fc64ace99dc784fbd96c77c70
Signed-off-by: B

fix compiler warnings

Fix a couple pedantic, format=, and unused-parameter warnings so we can
turn the warnings all the way up.

Change-Id: I7c6309e30147f54fc64ace99dc784fbd96c77c70
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

d3b3d6e724-Jul-2020 Andrew Geissler <geissonator@yahoo.com>

cfam-reset: utilize new sysfs interface if avaialble

The kernel introduced support on some systems for a sysfs based
mechanism to issue cfam resets. See the following commit for more
information:
ht

cfam-reset: utilize new sysfs interface if avaialble

The kernel introduced support on some systems for a sysfs based
mechanism to issue cfam resets. See the following commit for more
information:
https://github.com/openbmc/linux/commit/0298c9857e284aae7841a31c2a6cd3954afec6c9

Userspace software should first look to utilize the new sysfs based
mechanism and if not available, fall back to the libgpiod mechanism.

Currently only witherspoon-tacoma and rainier support this new sysfs
based cfam reset mechanism.

Tested:
- Built a witherspoon image and verified libgpiod path was used
- Built a witherspoon-tacoma and verified new sysfs path was used

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

show more ...

285f73ef15-May-2020 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Remove multithreading while calling enter_mpipl

libpdbg which implements the enter_mpipl is not thread-safe
so removing multithreading and creating processes.

Signed-off-by: Dhruvaraj Subhashchandr

Remove multithreading while calling enter_mpipl

libpdbg which implements the enter_mpipl is not thread-safe
so removing multithreading and creating processes.

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

show more ...

75912e8328-Apr-2020 Lakshminarayana R. Kammath <lkammath@in.ibm.com>

Select primary/secondary BOOT/MEASUREMENT SEEPROM based on boot count

Changes include:
1) selection of primary/secondary seeprom before booting host
2) structure name change from PACKED to PAC

Select primary/secondary BOOT/MEASUREMENT SEEPROM based on boot count

Changes include:
1) selection of primary/secondary seeprom before booting host
2) structure name change from PACKED to PACK to avoid conflict with
attributes_info.H

Tests done :
- Verified the right bit set for Primary Vs Secondary Boot path
- Verified attribute GET/SET working good

Signed-off-by: Lakshminarayana R. Kammath <lkammath@in.ibm.com>
Change-Id: I3017b0e9118119cc0a5e478f262641ce539ac4ff

show more ...

5dc5c39f05-Feb-2020 Andrew Geissler <geissonator@yahoo.com>

warm-reboot: add cfam-reset capabilities

A cfam-reset is required when doing a warm reboot of a POWER based
processor.

This commit has dependencies on two other commits:

libgpiod dependency in the

warm-reboot: add cfam-reset capabilities

A cfam-reset is required when doing a warm reboot of a POWER based
processor.

This commit has dependencies on two other commits:

libgpiod dependency in the op-proc-control recipe:
https://gerrit.openbmc-project.xyz/c/openbmc/meta-openpower/+/29076

witherspoon device tree update to name cfam-reset gpio:
https://lists.ozlabs.org/pipermail/openbmc/2020-February/020425.html

Other systems which require this support will also need to have their
dts updated. This will happen as support is needed for warm reboot on
them.

Tested:
Built witherspoon image and verified new procedure runs without failure
within QEMU.

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

show more ...

a5311abd12-Feb-2020 Jayanth Othayoth <ojayanth@in.ibm.com>

Enable host debug procedure for all power version

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

f7d1c1db12-Feb-2020 Jayanth Othayoth <ojayanth@in.ibm.com>

Enable cfam overrides procedure for all power versions

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


/openbmc/openpower-proc-control/.clang-format
/openbmc/openpower-proc-control/.gitignore
/openbmc/openpower-proc-control/LICENSE
/openbmc/openpower-proc-control/MAINTAINERS
/openbmc/openpower-proc-control/Makefile.am
/openbmc/openpower-proc-control/Makefile.generated.in
/openbmc/openpower-proc-control/README.md
/openbmc/openpower-proc-control/bootstrap.sh
/openbmc/openpower-proc-control/cfam_access.cpp
/openbmc/openpower-proc-control/cfam_access.hpp
/openbmc/openpower-proc-control/configure.ac
/openbmc/openpower-proc-control/ext_interface.cpp
/openbmc/openpower-proc-control/ext_interface.hpp
/openbmc/openpower-proc-control/filedescriptor.cpp
/openbmc/openpower-proc-control/filedescriptor.hpp
/openbmc/openpower-proc-control/gen_makefile.sh
/openbmc/openpower-proc-control/nmi_interface.cpp
/openbmc/openpower-proc-control/nmi_interface.hpp
/openbmc/openpower-proc-control/nmi_main.cpp
/openbmc/openpower-proc-control/p10_cfam.hpp
/openbmc/openpower-proc-control/p9_cfam.hpp
/openbmc/openpower-proc-control/pcie-poweroff@.service.in
/openbmc/openpower-proc-control/proc_control.cpp
cfam_overrides.cpp
/openbmc/openpower-proc-control/procedures/openfsi/scan.cpp
/openbmc/openpower-proc-control/procedures/p9/cleanup_pcie.cpp
/openbmc/openpower-proc-control/procedures/p9/collect_sbe_hb_data.cpp
/openbmc/openpower-proc-control/procedures/p9/set_sync_fsi_clock_mode.cpp
/openbmc/openpower-proc-control/procedures/p9/start_host.cpp
/openbmc/openpower-proc-control/procedures/p9/vcs_workaround.cpp
/openbmc/openpower-proc-control/procedures/phal/set_SPI_mux.cpp
/openbmc/openpower-proc-control/procedures/phal/start_host.cpp
/openbmc/openpower-proc-control/registration.cpp
/openbmc/openpower-proc-control/registration.hpp
/openbmc/openpower-proc-control/set-spi-mux.service.in
/openbmc/openpower-proc-control/targeting.cpp
/openbmc/openpower-proc-control/targeting.hpp
/openbmc/openpower-proc-control/test/Makefile.am
/openbmc/openpower-proc-control/test/utest.cpp
/openbmc/openpower-proc-control/xyz.openbmc_project.Control.Host.NMI.service.in