00dd33ef | 10-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 ...
|
04553f30 | 12-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 |
e04c1173 | 14-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 ...
|
9d7976a8 | 30-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 ...
|
63508a73 | 27-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 ...
|
56d14d04 | 09-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 ...
|
f78d9042 | 01-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> |
e84b4ddb | 01-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 ...
|
a231ceb4 | 04-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 ...
|
8316b77b | 24-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 ...
|
b6542341 | 28-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 ...
|
c3bffed7 | 10-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 ...
|
d9bdcf72 | 09-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 ...
|
597e05c9 | 28-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> |