#
b228bc30 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie36d234f4580029a7832a0cd179f3bb78a1a403f
show more ...
|
#
a076487a |
| 08-Aug-2020 |
Patrick Venture <venture@google.com> |
sensors/zones: place in namespace and cleanup Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I527dbc8477a232945f696227a7b0b2adbee45175
|
#
a83a3ecc |
| 04-Aug-2020 |
Patrick Venture <venture@google.com> |
update clang-format from Latest in docs Updates the clang-format file and then applies it. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia9faf13ce171f90bf07547
update clang-format from Latest in docs Updates the clang-format file and then applies it. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia9faf13ce171f90bf07547efd781139bee23e8c7
show more ...
|
#
1fe08952 |
| 07-May-2019 |
James Feist <james.feist@linux.intel.com> |
Make dbusconfiguration reloadable without reboot Now that asio is being used instead of threads, we can reload the fan configuration without having to restart the application. This m
Make dbusconfiguration reloadable without reboot Now that asio is being used instead of threads, we can reload the fan configuration without having to restart the application. This moves the ownership of the passive and host bus outside of the SensorManager so that it can be recreated each reload. Tested: Watched logs and saw full fan config get reloaded after changing fan configuration Tested: Ran on json configured system and it behaved as expected. Change-Id: I00e6b27f75384fd41de2017b723f159c9691ae97 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
#
9fa90c19 |
| 11-Jan-2019 |
James Feist <james.feist@linux.intel.com> |
Change all default_bus back to new_system bus new_default now returns a reference to a single bus, phosphor-pid-control uses multiple busses so we do not want that. This was the way
Change all default_bus back to new_system bus new_default now returns a reference to a single bus, phosphor-pid-control uses multiple busses so we do not want that. This was the way it was implemented prior to https://github.com/openbmc/sdbusplus/commit/8ca6025eed193c252149b2908c3d5e37b00b0107 Tested-by: swampd ran normally These errors go away: Jan 28 18:28:45 swampd[1760]: terminate called after throwing an instance of 'sdbusplus::exception::SdBusError' Jan 28 18:28:45 swampd[1760]: what(): sd_bus_request_name: org.freedesktop.DBus.Error.InconsistentMessage: Bad message Change-Id: I708cd5e6c45509f27d4fe783c0b0cfb52ff10336 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
#
ffc5ca7f |
| 31-Oct-2018 |
Patrick Venture <venture@google.com> |
manager: use pass by reference by default Even thought the string must be copied, pass by reference. Change-Id: I48113237f342279e3f266bbda6e54d770afd2afc Signed-off-by: Patrick
manager: use pass by reference by default Even thought the string must be copied, pass by reference. Change-Id: I48113237f342279e3f266bbda6e54d770afd2afc Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
da4a5dd1 |
| 31-Aug-2018 |
Patrick Venture <venture@google.com> |
add .clang-format Change-Id: I6627b5569c2e0f730be7331403218b823a2c622f Signed-off-by: Patrick Venture <venture@google.com>
|
#
a58197cf |
| 11-Jun-2018 |
Patrick Venture <venture@google.com> |
test: pid: zone Add unit-tests for the PID zone module. Add zone_mock. Tested: Ran on quanta-q71l board and it behaved as expected. Change-Id: I51185b2d2daacea6ffb687e8
test: pid: zone Add unit-tests for the PID zone module. Add zone_mock. Tested: Ran on quanta-q71l board and it behaved as expected. Change-Id: I51185b2d2daacea6ffb687e8f38c4fe2b2a1bed3 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
fe75b193 |
| 08-Jun-2018 |
Patrick Venture <venture@google.com> |
enable unit-tests: enable for SensorManager Enabled unit-tests in general for the project, and more specifically started with a benign construction test for the SensorManager object.
enable unit-tests: enable for SensorManager Enabled unit-tests in general for the project, and more specifically started with a benign construction test for the SensorManager object. Tested: Verified continues to build and link, and unit-test passes. Tested: Ran on quanta-q71l board and it behaved as expected. Change-Id: I4ad9a0c57efd0b9ccc37d26faa0cc1b82026b8d7 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
5e929093 |
| 08-Jun-2018 |
Patrick Venture <venture@google.com> |
sensors: split building from manager object To increase testability, split out the building of sensors from the sensor manager. And this further splits out building from a configura
sensors: split building from manager object To increase testability, split out the building of sensors from the sensor manager. And this further splits out building from a configuration file. Tested: Verified code continued to build and link. Tested: Ran on quanta-q71l board and it behaved as expected. Change-Id: Ib63a11e1107b1864c3c370bba2bd9ef2effa42f3 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
08afbb25 |
| 14-Jun-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Spelling fixes Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2.
Spelling fixes Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Change-Id: I1de3fdd00d0c132987b1eeb78b2945f30d3ab538 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
863b9246 |
| 08-Mar-2018 |
Patrick Venture <venture@google.com> |
Sensor Objects This includes all the sensor objects including a few implementations, including dbus and sysfs sensors. Change-Id: I9897c79f9fd463f00f0e02aeb6c32ffa89635dbe S
Sensor Objects This includes all the sensor objects including a few implementations, including dbus and sysfs sensors. Change-Id: I9897c79f9fd463f00f0e02aeb6c32ffa89635dbe Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|