History log of /openbmc/openpower-proc-control/test/ (Results 1 – 14 of 14)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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/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/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/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/nmi_main.cpp
/openbmc/openpower-proc-control/proc_control.cpp
/openbmc/openpower-proc-control/procedures/common/cfam_reset.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/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/import_devtree.cpp
/openbmc/openpower-proc-control/procedures/phal/proc_pre_poweroff.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.cpp
/openbmc/openpower-proc-control/targeting.hpp
/openbmc/openpower-proc-control/temporary_file.cpp
/openbmc/openpower-proc-control/temporary_file.hpp
utest.cpp
/openbmc/openpower-proc-control/util.cpp
/openbmc/openpower-proc-control/util.hpp
04553f3012-Jul-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

test: removed unused makefile

repository already completed meson migration.

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


/openbmc/openpower-proc-control/MAINTAINERS
/openbmc/openpower-proc-control/meson.build
/openbmc/openpower-proc-control/nmi_interface.cpp
/openbmc/openpower-proc-control/p10_cfam.hpp
/openbmc/openpower-proc-control/phalerror/create_pel.cpp
/openbmc/openpower-proc-control/phalerror/create_pel.hpp
/openbmc/openpower-proc-control/procedures/common/enter_mpreboot.cpp
/openbmc/openpower-proc-control/procedures/p9/start_host_mpreboot.cpp
/openbmc/openpower-proc-control/procedures/phal/check_host_running.cpp
/openbmc/openpower-proc-control/procedures/phal/common_utils.cpp
/openbmc/openpower-proc-control/procedures/phal/common_utils.hpp
/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-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
e04c117314-Jun-2021 Andrew Geissler <geissonator@yahoo.com>

meson: fix static initialization order race condition

When moving over to meson, openpower-proc-control started seg faulting
whenever it was run. It was not even making it to the main() function.

U

meson: fix static initialization order race condition

When moving over to meson, openpower-proc-control started seg faulting
whenever it was run. It was not even making it to the main() function.

Upon investigation, it was found that when moving to meson, this code
started hitting an issue where the hw procedure registration code was
hitting a common static initialization race condition. Whether you hit
this issue is pretty much at the whim of the compiler and the build
system so Automake did not hit it, but meson does.

The following has a pretty good write up on the issue and how to avoid
it:
https://isocpp.org/wiki/faq/ctors#static-init-order-on-first-use-members

This commit utilizes the solution proposed in that doc

Tested:
- Verified that openpower-proc-control built via meson now works as
expected.

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

show more ...


/openbmc/openpower-proc-control/.clang-format
/openbmc/openpower-proc-control/.gitignore
/openbmc/openpower-proc-control/.shellcheck
/openbmc/openpower-proc-control/ext_interface.cpp
/openbmc/openpower-proc-control/filedescriptor.cpp
/openbmc/openpower-proc-control/meson.build
/openbmc/openpower-proc-control/nmi_interface.cpp
/openbmc/openpower-proc-control/nmi_interface.hpp
/openbmc/openpower-proc-control/op-cfam-reset.service.in
/openbmc/openpower-proc-control/op-enter-mpreboot@.service.in
/openbmc/openpower-proc-control/op-stop-instructions@.service.in
/openbmc/openpower-proc-control/phalerror/create_pel.cpp
/openbmc/openpower-proc-control/phalerror/create_pel.hpp
/openbmc/openpower-proc-control/phalerror/phal_error.cpp
/openbmc/openpower-proc-control/proc-pre-poweroff@.service.in
/openbmc/openpower-proc-control/proc_control.cpp
/openbmc/openpower-proc-control/procedures/common/cfam_overrides.cpp
/openbmc/openpower-proc-control/procedures/common/cfam_reset.cpp
/openbmc/openpower-proc-control/procedures/common/enter_mpreboot.cpp
/openbmc/openpower-proc-control/procedures/openfsi/scan.cpp
/openbmc/openpower-proc-control/procedures/phal/common_utils.cpp
/openbmc/openpower-proc-control/procedures/phal/common_utils.hpp
/openbmc/openpower-proc-control/procedures/phal/proc_pre_poweroff.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.hpp
/openbmc/openpower-proc-control/set-spi-mux.service.in
/openbmc/openpower-proc-control/targeting.cpp
/openbmc/openpower-proc-control/targeting.hpp
utest.cpp
/openbmc/openpower-proc-control/util.cpp
/openbmc/openpower-proc-control/util.hpp
9d7976a830-Oct-2020 Gunnar Mills <gmills@us.ibm.com>

test: Makefile.am: Remove -lstdc++fs

56d14d04 dropped experimental::filesystem and removed one
-lstdc++fs, this removes the other.

Tested: Built the repo.
Change-Id: I085ad483b317b0018e45001d6d1274

test: Makefile.am: Remove -lstdc++fs

56d14d04 dropped experimental::filesystem and removed one
-lstdc++fs, this removes the other.

Tested: Built the repo.
Change-Id: I085ad483b317b0018e45001d6d12740ec662d811
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...

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 ...

56d14d0409-Oct-2020 Brad Bishop <bradleyb@fuzziesquirrel.com>

c++17: drop experimental::filesystem

Use std::filesystem, and drop support for building with experimental
under c++14.

Change-Id: I32755f0d1b119c041978c2f8b988a16a14ba88d4
Signed-off-by: Brad Bisho

c++17: drop experimental::filesystem

Use std::filesystem, and drop support for building with experimental
under c++14.

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

show more ...


/openbmc/openpower-proc-control/MAINTAINERS
/openbmc/openpower-proc-control/Makefile.am
/openbmc/openpower-proc-control/README.md
/openbmc/openpower-proc-control/cfam_access.cpp
/openbmc/openpower-proc-control/configure.ac
/openbmc/openpower-proc-control/ext_interface.cpp
/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/op-cfam-reset.service.in
/openbmc/openpower-proc-control/op-continue-mpreboot@.service.in
/openbmc/openpower-proc-control/op-enter-mpreboot@.service.in
/openbmc/openpower-proc-control/op-stop-instructions@.service.in
/openbmc/openpower-proc-control/p10_cfam.hpp
/openbmc/openpower-proc-control/pcie-poweroff@.service.in
/openbmc/openpower-proc-control/phal-reinit-devtree.service.in
/openbmc/openpower-proc-control/phalerror/create_pel.cpp
/openbmc/openpower-proc-control/phalerror/create_pel.hpp
/openbmc/openpower-proc-control/phalerror/phal_error.cpp
/openbmc/openpower-proc-control/phalerror/phal_error.hpp
/openbmc/openpower-proc-control/proc_control.cpp
/openbmc/openpower-proc-control/procedures/common/cfam_overrides.cpp
/openbmc/openpower-proc-control/procedures/common/cfam_reset.cpp
/openbmc/openpower-proc-control/procedures/common/collect_sbe_hb_data.cpp
/openbmc/openpower-proc-control/procedures/common/enter_mpreboot.cpp
/openbmc/openpower-proc-control/procedures/openfsi/scan.cpp
/openbmc/openpower-proc-control/procedures/p9/cleanup_pcie.cpp
/openbmc/openpower-proc-control/procedures/p9/start_host.cpp
/openbmc/openpower-proc-control/procedures/p9/start_host_mpreboot.cpp
/openbmc/openpower-proc-control/procedures/phal/set_SPI_mux.cpp
/openbmc/openpower-proc-control/procedures/phal/start_host.cpp
/openbmc/openpower-proc-control/set-spi-mux.service.in
/openbmc/openpower-proc-control/targeting.cpp
/openbmc/openpower-proc-control/targeting.hpp
utest.cpp
/openbmc/openpower-proc-control/xyz.openbmc_project.Control.Host.NMI.service.in
f78d904201-Nov-2018 Patrick Venture <venture@google.com>

add .clang-format

Add .clang-format for automatic style.

Change-Id: I6d240009370179b5b8f1f646b0476a059ec6aa85
Signed-off-by: Patrick Venture <venture@google.com>

e84b4ddb01-Nov-2018 Patrick Venture <venture@google.com>

s/copyright char/(C)/g to make compiler happy

Compiler complaining about the copyright characters.

Change-Id: I6730a50a668899a33e9dfcc4accb67ee207a3f08
Signed-off-by: Patrick Venture <venture@googl

s/copyright char/(C)/g to make compiler happy

Compiler complaining about the copyright characters.

Change-Id: I6730a50a668899a33e9dfcc4accb67ee207a3f08
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

a231ceb404-Oct-2017 Matt Spinler <spinler@us.ibm.com>

Use all phosphor-dbus-interfaces errors

Remove the local error definitions and use the
ones in phosphor-dbus-interfaces instead as the ones
there suit our purposes and it simplifies this repository

Use all phosphor-dbus-interfaces errors

Remove the local error definitions and use the
ones in phosphor-dbus-interfaces instead as the ones
there suit our purposes and it simplifies this repository
to do so.

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

show more ...

8316b77b24-Apr-2017 Edward A. James <eajames@us.ibm.com>

Change FSI behavior for 4.10

Latest FSI code changes paths and endianness, so we need to update
Targeting and flip the CFAM data endian when necessary.
Also update the test case to use the new 4.10

Change FSI behavior for 4.10

Latest FSI code changes paths and endianness, so we need to update
Targeting and flip the CFAM data endian when necessary.
Also update the test case to use the new 4.10 path style.

Change-Id: I35cdedf4b9723ee0f8291d0abf4467dbfd99b334
Signed-off-by: Edward A. James <eajames@us.ibm.com>

show more ...

b654234128-Mar-2017 Matt Spinler <spinler@us.ibm.com>

Fix jenkins compile failure

Jenkins just started complaining about a mismatch between
an sprintf format and its type. This code will eventually
be replaced by an elog, so is only temporary anyway.

Fix jenkins compile failure

Jenkins just started complaining about a mismatch between
an sprintf format and its type. This code will eventually
be replaced by an elog, so is only temporary anyway.

Also fixed unit test fails.

With the newest location of the FSI slave directory,
the path had to be updated in the testcases that
model its structure.

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

show more ...

c3bffed710-Mar-2017 Matt Spinler <spinler@us.ibm.com>

Have the Target class manage the file descriptor

The sysfs file descriptor will now stay open from first
use until the Target class is destroyed.

Change-Id: Ib9803a527115cc75ecc9a5351d1e748ccd54a99

Have the Target class manage the file descriptor

The sysfs file descriptor will now stay open from first
use until the Target class is destroyed.

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

show more ...

d9bdcf7209-Mar-2017 Matt Spinler <spinler@us.ibm.com>

Register procedures

For a procedure to be available to run, it needs to have
a call to a REGISTER_PROCEDURE macro. This macro wraps
a call to a Register class that adds the procedure to the list
al

Register procedures

For a procedure to be available to run, it needs to have
a call to a REGISTER_PROCEDURE macro. This macro wraps
a call to a Register class that adds the procedure to the list
along with the name to call it.

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

show more ...

597e05c928-Feb-2017 Matt Spinler <spinler@us.ibm.com>

Add gtest for Targeting class

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