History log of /openbmc/phosphor-host-ipmid/test/dbus-sdr/ (Results 1 – 4 of 4)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1318a5ed16-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda forma

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

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

show more ...


/openbmc/phosphor-host-ipmid/.clang-format
/openbmc/phosphor-host-ipmid/.gitignore
/openbmc/phosphor-host-ipmid/OWNERS
/openbmc/phosphor-host-ipmid/README.md
/openbmc/phosphor-host-ipmid/app/channel.cpp
/openbmc/phosphor-host-ipmid/app/channel.hpp
/openbmc/phosphor-host-ipmid/app/watchdog.cpp
/openbmc/phosphor-host-ipmid/app/watchdog_service.cpp
/openbmc/phosphor-host-ipmid/app/watchdog_service.hpp
/openbmc/phosphor-host-ipmid/apphandler.cpp
/openbmc/phosphor-host-ipmid/chassishandler.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/meson.build
/openbmc/phosphor-host-ipmid/dbus-sdr/sdrutils.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/sensorcommands.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/sensorutils.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/storagecommands.cpp
/openbmc/phosphor-host-ipmid/dcmihandler.cpp
/openbmc/phosphor-host-ipmid/dcmihandler.hpp
/openbmc/phosphor-host-ipmid/docs/configuration.md
/openbmc/phosphor-host-ipmid/docs/ipmi-network-format.md
/openbmc/phosphor-host-ipmid/docs/oem-extension-numbering.md
/openbmc/phosphor-host-ipmid/docs/testing.md
/openbmc/phosphor-host-ipmid/error-HostEvent.hpp
/openbmc/phosphor-host-ipmid/generate_whitelist.sh
/openbmc/phosphor-host-ipmid/globalhandler.cpp
/openbmc/phosphor-host-ipmid/host-cmd-manager.cpp
/openbmc/phosphor-host-ipmid/host-cmd-manager.hpp
/openbmc/phosphor-host-ipmid/host-interface.cpp
/openbmc/phosphor-host-ipmid/host-interface.hpp
/openbmc/phosphor-host-ipmid/host-ipmid-whitelist.conf
/openbmc/phosphor-host-ipmid/include/dbus-sdr/sdrutils.hpp
/openbmc/phosphor-host-ipmid/include/dbus-sdr/sensorcommands.hpp
/openbmc/phosphor-host-ipmid/include/dbus-sdr/sensorutils.hpp
/openbmc/phosphor-host-ipmid/include/dbus-sdr/storagecommands.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/entity_map_json.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/handler.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message/pack.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message/unpack.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/sessionhelper.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/types.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/utils.hpp
/openbmc/phosphor-host-ipmid/ipmi_fru_info_area.cpp
/openbmc/phosphor-host-ipmid/ipmi_fru_info_area.hpp
/openbmc/phosphor-host-ipmid/ipmiallowlist.hpp
/openbmc/phosphor-host-ipmid/ipmid-new.cpp
/openbmc/phosphor-host-ipmid/ipmisensor.cpp
/openbmc/phosphor-host-ipmid/libipmid/entity_map_json.cpp
/openbmc/phosphor-host-ipmid/libipmid/meson.build
/openbmc/phosphor-host-ipmid/libipmid/signals.cpp
/openbmc/phosphor-host-ipmid/libipmid/utils.cpp
/openbmc/phosphor-host-ipmid/meson.build
/openbmc/phosphor-host-ipmid/meson.options
/openbmc/phosphor-host-ipmid/read_fru_data.cpp
/openbmc/phosphor-host-ipmid/scripts/entity-example.md
/openbmc/phosphor-host-ipmid/selutility.cpp
/openbmc/phosphor-host-ipmid/sensordatahandler.cpp
/openbmc/phosphor-host-ipmid/sensordatahandler.hpp
/openbmc/phosphor-host-ipmid/sensorhandler.cpp
/openbmc/phosphor-host-ipmid/sensorhandler.hpp
/openbmc/phosphor-host-ipmid/settings.cpp
/openbmc/phosphor-host-ipmid/settings.hpp
/openbmc/phosphor-host-ipmid/softoff/mainapp.cpp
/openbmc/phosphor-host-ipmid/softoff/meson.build
/openbmc/phosphor-host-ipmid/softoff/softoff.cpp
/openbmc/phosphor-host-ipmid/softoff/softoff.hpp
/openbmc/phosphor-host-ipmid/storageaddsel.cpp
/openbmc/phosphor-host-ipmid/storagehandler.cpp
/openbmc/phosphor-host-ipmid/subprojects/boost.wrap
/openbmc/phosphor-host-ipmid/subprojects/nlohmann_json.wrap
/openbmc/phosphor-host-ipmid/systemintfcmds.cpp
/openbmc/phosphor-host-ipmid/systemintfcmds.hpp
sensorcommands_unittest.cpp
/openbmc/phosphor-host-ipmid/test/entitymap_json_unittest.cpp
/openbmc/phosphor-host-ipmid/test/meson.build
/openbmc/phosphor-host-ipmid/test/message/pack.cpp
/openbmc/phosphor-host-ipmid/test/message/payload.cpp
/openbmc/phosphor-host-ipmid/test/message/unpack.cpp
/openbmc/phosphor-host-ipmid/transportconstants.hpp
/openbmc/phosphor-host-ipmid/transporthandler.cpp
/openbmc/phosphor-host-ipmid/transporthandler.hpp
/openbmc/phosphor-host-ipmid/user_channel/channel_layer.cpp
/openbmc/phosphor-host-ipmid/user_channel/channel_layer.hpp
/openbmc/phosphor-host-ipmid/user_channel/channel_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/channel_mgmt.hpp
/openbmc/phosphor-host-ipmid/user_channel/channelcommands.cpp
/openbmc/phosphor-host-ipmid/user_channel/cipher_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/file.hpp
/openbmc/phosphor-host-ipmid/user_channel/meson.build
/openbmc/phosphor-host-ipmid/user_channel/passwd_mgr.cpp
/openbmc/phosphor-host-ipmid/user_channel/passwd_mgr.hpp
/openbmc/phosphor-host-ipmid/user_channel/shadowlock.hpp
/openbmc/phosphor-host-ipmid/user_channel/user_layer.hpp
/openbmc/phosphor-host-ipmid/user_channel/user_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/usercommands.cpp
/openbmc/phosphor-host-ipmid/whitelist-filter.cpp
fbc6c9d710-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: I44441096113929ce96eb1439e2932e6ff3c87f27
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


/openbmc/phosphor-host-ipmid/.build.sh
/openbmc/phosphor-host-ipmid/.clang-format
/openbmc/phosphor-host-ipmid/.gitignore
/openbmc/phosphor-host-ipmid/OWNERS
/openbmc/phosphor-host-ipmid/README.md
/openbmc/phosphor-host-ipmid/app/channel.cpp
/openbmc/phosphor-host-ipmid/app/meson.build
/openbmc/phosphor-host-ipmid/app/watchdog.cpp
/openbmc/phosphor-host-ipmid/app/watchdog_service.cpp
/openbmc/phosphor-host-ipmid/app/watchdog_service.hpp
/openbmc/phosphor-host-ipmid/apphandler.cpp
/openbmc/phosphor-host-ipmid/chassishandler.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/meson.build
/openbmc/phosphor-host-ipmid/dbus-sdr/sdrutils.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/sensorcommands.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/sensorutils.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/storagecommands.cpp
/openbmc/phosphor-host-ipmid/dcmihandler.cpp
/openbmc/phosphor-host-ipmid/dcmihandler.hpp
/openbmc/phosphor-host-ipmid/docs/configuration.md
/openbmc/phosphor-host-ipmid/docs/contributing.md
/openbmc/phosphor-host-ipmid/docs/ipmi-network-format.md
/openbmc/phosphor-host-ipmid/docs/ipmitool-commands-cheatsheet.md
/openbmc/phosphor-host-ipmid/docs/oem-extension-numbering.md
/openbmc/phosphor-host-ipmid/docs/testing.md
/openbmc/phosphor-host-ipmid/elog-errors.hpp
/openbmc/phosphor-host-ipmid/entity_map_json.cpp
/openbmc/phosphor-host-ipmid/entity_map_json.hpp
/openbmc/phosphor-host-ipmid/error-HostEvent.hpp
/openbmc/phosphor-host-ipmid/generate_whitelist.sh
/openbmc/phosphor-host-ipmid/generate_whitelist_create.sh
/openbmc/phosphor-host-ipmid/globalhandler.cpp
/openbmc/phosphor-host-ipmid/groupext.cpp
/openbmc/phosphor-host-ipmid/host-cmd-manager.cpp
/openbmc/phosphor-host-ipmid/host-cmd-manager.hpp
/openbmc/phosphor-host-ipmid/host-interface.cpp
/openbmc/phosphor-host-ipmid/host-interface.hpp
/openbmc/phosphor-host-ipmid/include/dbus-sdr/sdrutils.hpp
/openbmc/phosphor-host-ipmid/include/dbus-sdr/sensorcommands.hpp
/openbmc/phosphor-host-ipmid/include/ipmid-host/cmd.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/api-types.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/filter.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/handler.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message/pack.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message/types.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message/unpack.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/oemrouter.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/types.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/utility.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/utils.hpp
/openbmc/phosphor-host-ipmid/include/meson.build
/openbmc/phosphor-host-ipmid/ipmi_fru_info_area.cpp
/openbmc/phosphor-host-ipmid/ipmid-new.cpp
/openbmc/phosphor-host-ipmid/ipmisensor.cpp
/openbmc/phosphor-host-ipmid/libipmid/meson.build
/openbmc/phosphor-host-ipmid/libipmid/sdbus-asio.cpp
/openbmc/phosphor-host-ipmid/libipmid/signals.cpp
/openbmc/phosphor-host-ipmid/libipmid/systemintf-sdbus.cpp
/openbmc/phosphor-host-ipmid/libipmid/utils.cpp
/openbmc/phosphor-host-ipmid/meson.build
/openbmc/phosphor-host-ipmid/meson_options.txt
/openbmc/phosphor-host-ipmid/read_fru_data.cpp
/openbmc/phosphor-host-ipmid/read_fru_data.hpp
/openbmc/phosphor-host-ipmid/scripts/entity-example.md
/openbmc/phosphor-host-ipmid/scripts/fru-read-example.yaml
/openbmc/phosphor-host-ipmid/scripts/fru_gen.py
/openbmc/phosphor-host-ipmid/scripts/inventory-sensor-example.yaml
/openbmc/phosphor-host-ipmid/scripts/inventory-sensor.py
/openbmc/phosphor-host-ipmid/scripts/inventorysensor.mako.cpp
/openbmc/phosphor-host-ipmid/scripts/meson.build
/openbmc/phosphor-host-ipmid/scripts/readfru.mako.cpp
/openbmc/phosphor-host-ipmid/scripts/sensor-example.yaml
/openbmc/phosphor-host-ipmid/scripts/sensor_gen.py
/openbmc/phosphor-host-ipmid/scripts/writesensor.mako.cpp
/openbmc/phosphor-host-ipmid/selutility.cpp
/openbmc/phosphor-host-ipmid/selutility.hpp
/openbmc/phosphor-host-ipmid/sensordatahandler.cpp
/openbmc/phosphor-host-ipmid/sensordatahandler.hpp
/openbmc/phosphor-host-ipmid/sensorhandler.cpp
/openbmc/phosphor-host-ipmid/sensorhandler.hpp
/openbmc/phosphor-host-ipmid/settings.cpp
/openbmc/phosphor-host-ipmid/settings.hpp
/openbmc/phosphor-host-ipmid/softoff/mainapp.cpp
/openbmc/phosphor-host-ipmid/softoff/meson.build
/openbmc/phosphor-host-ipmid/softoff/softoff.cpp
/openbmc/phosphor-host-ipmid/softoff/softoff.hpp
/openbmc/phosphor-host-ipmid/storageaddsel.cpp
/openbmc/phosphor-host-ipmid/storagehandler.cpp
/openbmc/phosphor-host-ipmid/subprojects/nlohmann-json.wrap
/openbmc/phosphor-host-ipmid/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-host-ipmid/subprojects/phosphor-logging.wrap
/openbmc/phosphor-host-ipmid/subprojects/phosphor-objmgr.wrap
/openbmc/phosphor-host-ipmid/subprojects/sdbusplus.wrap
/openbmc/phosphor-host-ipmid/subprojects/sdeventplus.wrap
/openbmc/phosphor-host-ipmid/sys_info_param.hpp
/openbmc/phosphor-host-ipmid/systemintfcmds.cpp
sensorcommands_unittest.cpp
/openbmc/phosphor-host-ipmid/test/entitymap_json_unittest.cpp
/openbmc/phosphor-host-ipmid/test/meson.build
/openbmc/phosphor-host-ipmid/test/message/pack.cpp
/openbmc/phosphor-host-ipmid/test/message/payload.cpp
/openbmc/phosphor-host-ipmid/test/oemrouter_unittest.cpp
/openbmc/phosphor-host-ipmid/testaddsel.cpp
/openbmc/phosphor-host-ipmid/testit.cpp
/openbmc/phosphor-host-ipmid/transporthandler.cpp
/openbmc/phosphor-host-ipmid/transporthandler.hpp
/openbmc/phosphor-host-ipmid/user_channel/channel_layer.hpp
/openbmc/phosphor-host-ipmid/user_channel/channel_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/channel_mgmt.hpp
/openbmc/phosphor-host-ipmid/user_channel/channelcommands.cpp
/openbmc/phosphor-host-ipmid/user_channel/cipher_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/cipher_mgmt.hpp
/openbmc/phosphor-host-ipmid/user_channel/file.hpp
/openbmc/phosphor-host-ipmid/user_channel/meson.build
/openbmc/phosphor-host-ipmid/user_channel/passwd_mgr.cpp
/openbmc/phosphor-host-ipmid/user_channel/passwd_mgr.hpp
/openbmc/phosphor-host-ipmid/user_channel/user_layer.cpp
/openbmc/phosphor-host-ipmid/user_channel/user_layer.hpp
/openbmc/phosphor-host-ipmid/user_channel/user_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/user_mgmt.hpp
/openbmc/phosphor-host-ipmid/user_channel/usercommands.cpp
/openbmc/phosphor-host-ipmid/whitelist-filter.cpp
/openbmc/phosphor-host-ipmid/xyz/openbmc_project/Ipmi/Internal/SoftPowerOff.interface.yaml
/openbmc/phosphor-host-ipmid/xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/meson.build
11d6889720-Jan-2022 Willy Tu <wltu@google.com>

cleanup: Remove all warning errors for the Meson build support

Remove all the build warning to prepare for the meson build.
Meson build will be in
https://gerrit.openbmc-project.xyz/c/openbmc/phosph

cleanup: Remove all warning errors for the Meson build support

Remove all the build warning to prepare for the meson build.
Meson build will be in
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/47748

Tested:
Ipmi command works fine the cleanup.
```
$ systemctl status phosphor-ipmi-host
● phosphor-ipmi-host.service - Phosphor Inband IPMI
Loaded: loaded (/lib/systemd/system/phosphor-ipmi-host.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 1970-01-08 21:20:56 UTC; 21s ago
Main PID: 24987 (ipmid)
CGroup: /system.slice/phosphor-ipmi-host.service
└─24987 /tmp/ipmid

Jan 08 21:20:56 $HOST ipmid[24987]: Registering OEM:[0X002B79], Cmd:[0X30] for Ethstats Commands
Jan 08 21:20:56 $HOST ipmid[24987]: Registering OEM:[0X00C2CF], Cmd:[0X30] for Ethstats Commands
Jan 08 21:20:56 $HOST ipmid[24987]: Registering OEM:[0X002B79], Cmd:[0X32] for Sys Commands
Jan 08 21:20:56 $HOST ipmid[24987]: Registering OEM:[0X002B79], Cmd:[0X02] for I2C
Jan 08 21:20:56 $HOST ipmid[24987]: Registering OEM:[0X00C2CF], Cmd:[0X02] for I2C
Jan 08 21:20:56 $HOST ipmid[24987]: I2C_WHITELIST_CHECK is disabled, do not populate whitelist
Jan 08 21:20:56 $HOST ipmid[24987]: Registering OEM:[0X00C2CF], Cmd:[0X04] for Manual Zone Control
Jan 08 21:20:56 $HOST systemd[1]: Started Phosphor Inband IPMI.
Jan 08 21:20:56 $HOST ipmid[24987]: Loading whitelist filter
Jan 08 21:20:56 $HOST ipmid[24987]: Set restrictedMode = true
(reverse-i-search)`ipmi': systemctl status phosphor-^Cmi-host

$ ipmitool mc info
Device ID : 32
Device Revision : 1
Firmware Revision : 0.00
IPMI Version : 2.0
Manufacturer ID : 7244
Manufacturer Name : Quanta Computer Inc.
Product ID : 14426 (0x385a)
Product Name : Unknown (0x385A)
Device Available : yes
Provides Device SDRs : yes
Additional Device Support :
Sensor Device
SEL Device
FRU Inventory Device
Chassis Device
Aux Firmware Rev Info :
0x00
0x00
0x00
0x00
```

Change-Id: I372c9433a274bc633a24d213b7a1bc205531e33d
Signed-off-by: Willy Tu <wltu@google.com>

show more ...


/openbmc/phosphor-host-ipmid/.build.sh
/openbmc/phosphor-host-ipmid/.shellcheck
/openbmc/phosphor-host-ipmid/MAINTAINERS
/openbmc/phosphor-host-ipmid/Makefile.am
/openbmc/phosphor-host-ipmid/OWNERS
/openbmc/phosphor-host-ipmid/app/channel.cpp
/openbmc/phosphor-host-ipmid/app/watchdog.cpp
/openbmc/phosphor-host-ipmid/apphandler.cpp
/openbmc/phosphor-host-ipmid/bootstrap.sh
/openbmc/phosphor-host-ipmid/chassishandler.cpp
/openbmc/phosphor-host-ipmid/chassishandler.hpp
/openbmc/phosphor-host-ipmid/configure.ac
/openbmc/phosphor-host-ipmid/dbus-sdr/sdrutils.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/sensorcommands.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/storagecommands.cpp
/openbmc/phosphor-host-ipmid/dcmihandler.cpp
/openbmc/phosphor-host-ipmid/dcmihandler.hpp
/openbmc/phosphor-host-ipmid/elog-errors.hpp
/openbmc/phosphor-host-ipmid/error-HostEvent.hpp
/openbmc/phosphor-host-ipmid/globalhandler.cpp
/openbmc/phosphor-host-ipmid/groupext.cpp
/openbmc/phosphor-host-ipmid/host-cmd-manager.cpp
/openbmc/phosphor-host-ipmid/host-interface.cpp
/openbmc/phosphor-host-ipmid/host-interface.hpp
/openbmc/phosphor-host-ipmid/include/dbus-sdr/sdrutils.hpp
/openbmc/phosphor-host-ipmid/include/dbus-sdr/sensorcommands.hpp
/openbmc/phosphor-host-ipmid/include/dbus-sdr/storagecommands.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/api-types.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/handler.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message/pack.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message/types.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message/unpack.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/sessionhelper.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/types.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/utils.hpp
/openbmc/phosphor-host-ipmid/ipmi_fru_info_area.cpp
/openbmc/phosphor-host-ipmid/ipmid-new.cpp
/openbmc/phosphor-host-ipmid/ipmisensor.cpp
/openbmc/phosphor-host-ipmid/libipmid/utils.cpp
/openbmc/phosphor-host-ipmid/read_fru_data.cpp
/openbmc/phosphor-host-ipmid/scripts/sensor-example.yaml
/openbmc/phosphor-host-ipmid/scripts/writesensor.mako.cpp
/openbmc/phosphor-host-ipmid/selutility.cpp
/openbmc/phosphor-host-ipmid/selutility.hpp
/openbmc/phosphor-host-ipmid/sensordatahandler.cpp
/openbmc/phosphor-host-ipmid/sensordatahandler.hpp
/openbmc/phosphor-host-ipmid/sensorhandler.cpp
/openbmc/phosphor-host-ipmid/softoff/mainapp.cpp
/openbmc/phosphor-host-ipmid/softoff/softoff.hpp
/openbmc/phosphor-host-ipmid/storagehandler.cpp
/openbmc/phosphor-host-ipmid/systemintfcmds.cpp
/openbmc/phosphor-host-ipmid/test/Makefile.am
sensorcommands_unittest.cpp
/openbmc/phosphor-host-ipmid/test/message/pack.cpp
/openbmc/phosphor-host-ipmid/test/message/payload.cpp
/openbmc/phosphor-host-ipmid/test/message/unpack.cpp
/openbmc/phosphor-host-ipmid/transporthandler.cpp
/openbmc/phosphor-host-ipmid/transporthandler.hpp
/openbmc/phosphor-host-ipmid/user_channel/channel_layer.cpp
/openbmc/phosphor-host-ipmid/user_channel/channel_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/channel_mgmt.hpp
/openbmc/phosphor-host-ipmid/user_channel/channelcommands.cpp
/openbmc/phosphor-host-ipmid/user_channel/cipher_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/passwd_mgr.cpp
/openbmc/phosphor-host-ipmid/user_channel/passwd_mgr.hpp
/openbmc/phosphor-host-ipmid/user_channel/user_layer.cpp
/openbmc/phosphor-host-ipmid/user_channel/user_layer.hpp
/openbmc/phosphor-host-ipmid/user_channel/user_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/user_mgmt.hpp
/openbmc/phosphor-host-ipmid/user_channel/usercommands.cpp
de54f48626-Jan-2021 Willy Tu <wltu@google.com>

dbus-sdr: Initial Dynamic Sensor Stack

Migrate intel-ipmi-oem dynamic sensor stack into
phosphor-host-ipmid for more general use.

The files are copied from
https://gerrit.openbmc-project.xyz/c/open

dbus-sdr: Initial Dynamic Sensor Stack

Migrate intel-ipmi-oem dynamic sensor stack into
phosphor-host-ipmid for more general use.

The files are copied from
https://gerrit.openbmc-project.xyz/c/openbmc/intel-ipmi-oem/+/39743

https://gerrit.openbmc-project.xyz/plugins/gitiles/openbmc/intel-ipmi-oem/+/b910987a7d832e38e9342f0946aeb555a48f9cb0

Created `libdynamiccmds` to enable dynamic sensor stack.

Minor changes in the migration include:

1, Removing the use of `commandutils.hpp` in all files since it is only used
for
```
static constexpr bool debug = false;
```
It is added to `sdrutils.hpp` instead.

2, Update lastWriteAddr to size_t to match the vector.size() type
during comparison.

3, Renamed the sensorcommand unit test to sensorcommands_unitest.cpp

4, Removed unused variables.
- sensorcommands
```
constexpr uint8_t thresholdMask = 0xFF;
```
- sensorcommands_unitest
```
double yError = std::abs(y - yRoundtrip);
```
5, Removed Intel Specific Changes
- Redfish logs
- node manager/ME
- BIOS to SEL event
6, Removed externing a global variable for sensorTree.
- Replaced it with a method that returns a singleton
- auto& sensorTree = getSensorTree(); for access
7, Replaced intel_oem namespace with dynamic_sensors

8, Removed types.hpp and use `ipmid/types.hpp` directly
- Updated the types to match ipmid/types
- Added Association and std::vector<Association>> under Value.

9, Add cpp files for sdrutils and sensorutils.

10, link libipmid as it is required for getManagedObjects needed
by sensorcommands.cpp

Signed-off-by: Willy Tu <wltu@google.com>
Change-Id: If944620c895ecf4c9f4c3efe72479f4de276f4fb
Signed-off-by: Vijay Khemka <vijaykhemkalinux@gmail.com>

show more ...


/openbmc/phosphor-host-ipmid/.build.sh
/openbmc/phosphor-host-ipmid/.clang-format
/openbmc/phosphor-host-ipmid/.gitignore
/openbmc/phosphor-host-ipmid/.travis.yml
/openbmc/phosphor-host-ipmid/LICENSE
/openbmc/phosphor-host-ipmid/MAINTAINERS
/openbmc/phosphor-host-ipmid/Makefile.am
/openbmc/phosphor-host-ipmid/README.md
/openbmc/phosphor-host-ipmid/app/channel.cpp
/openbmc/phosphor-host-ipmid/app/channel.hpp
/openbmc/phosphor-host-ipmid/app/watchdog.cpp
/openbmc/phosphor-host-ipmid/app/watchdog.hpp
/openbmc/phosphor-host-ipmid/app/watchdog_service.cpp
/openbmc/phosphor-host-ipmid/app/watchdog_service.hpp
/openbmc/phosphor-host-ipmid/apphandler.cpp
/openbmc/phosphor-host-ipmid/apphandler.hpp
/openbmc/phosphor-host-ipmid/bootstrap.sh
/openbmc/phosphor-host-ipmid/chassishandler.cpp
/openbmc/phosphor-host-ipmid/chassishandler.hpp
/openbmc/phosphor-host-ipmid/configure.ac
/openbmc/phosphor-host-ipmid/dbus-sdr/sdrutils.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/sensorcommands.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/sensorutils.cpp
/openbmc/phosphor-host-ipmid/dbus-sdr/storagecommands.cpp
/openbmc/phosphor-host-ipmid/dcmihandler.cpp
/openbmc/phosphor-host-ipmid/dcmihandler.hpp
/openbmc/phosphor-host-ipmid/docs/configuration.md
/openbmc/phosphor-host-ipmid/docs/contributing.md
/openbmc/phosphor-host-ipmid/docs/ipmi-network-format.md
/openbmc/phosphor-host-ipmid/docs/ipmitool-commands-cheatsheet.md
/openbmc/phosphor-host-ipmid/docs/oem-extension-numbering.md
/openbmc/phosphor-host-ipmid/docs/testing.md
/openbmc/phosphor-host-ipmid/elog-errors.hpp
/openbmc/phosphor-host-ipmid/entity_map_json.cpp
/openbmc/phosphor-host-ipmid/entity_map_json.hpp
/openbmc/phosphor-host-ipmid/error-HostEvent.hpp
/openbmc/phosphor-host-ipmid/fruread.hpp
/openbmc/phosphor-host-ipmid/generate_whitelist.sh
/openbmc/phosphor-host-ipmid/globalhandler.cpp
/openbmc/phosphor-host-ipmid/globalhandler.hpp
/openbmc/phosphor-host-ipmid/groupext.cpp
/openbmc/phosphor-host-ipmid/host-cmd-manager.cpp
/openbmc/phosphor-host-ipmid/host-cmd-manager.hpp
/openbmc/phosphor-host-ipmid/host-interface.cpp
/openbmc/phosphor-host-ipmid/host-interface.hpp
/openbmc/phosphor-host-ipmid/host-ipmid-whitelist.conf
/openbmc/phosphor-host-ipmid/include/Makefile.am
/openbmc/phosphor-host-ipmid/include/dbus-sdr/sdrutils.hpp
/openbmc/phosphor-host-ipmid/include/dbus-sdr/sensorcommands.hpp
/openbmc/phosphor-host-ipmid/include/dbus-sdr/sensorutils.hpp
/openbmc/phosphor-host-ipmid/include/dbus-sdr/storagecommands.hpp
/openbmc/phosphor-host-ipmid/include/ipmid-host/cmd-utils.hpp
/openbmc/phosphor-host-ipmid/include/ipmid-host/cmd.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/api-types.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/api.h
/openbmc/phosphor-host-ipmid/include/ipmid/api.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/filter.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/handler.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/iana.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message/pack.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message/types.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/message/unpack.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/oemopenbmc.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/oemrouter.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/sessiondef.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/sessionhelper.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/types.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/utility.hpp
/openbmc/phosphor-host-ipmid/include/ipmid/utils.hpp
/openbmc/phosphor-host-ipmid/ipmi_fru_info_area.cpp
/openbmc/phosphor-host-ipmid/ipmi_fru_info_area.hpp
/openbmc/phosphor-host-ipmid/ipmid-new.cpp
/openbmc/phosphor-host-ipmid/ipmisensor.cpp
/openbmc/phosphor-host-ipmid/ipmiwhitelist.hpp
/openbmc/phosphor-host-ipmid/libipmid-host/Makefile.am
/openbmc/phosphor-host-ipmid/libipmid-host/libipmid-host.pc.in
/openbmc/phosphor-host-ipmid/libipmid/Makefile.am
/openbmc/phosphor-host-ipmid/libipmid/libipmid.pc.in
/openbmc/phosphor-host-ipmid/libipmid/sdbus-asio.cpp
/openbmc/phosphor-host-ipmid/libipmid/signals.cpp
/openbmc/phosphor-host-ipmid/libipmid/systemintf-sdbus.cpp
/openbmc/phosphor-host-ipmid/libipmid/utils.cpp
/openbmc/phosphor-host-ipmid/read_fru_data.cpp
/openbmc/phosphor-host-ipmid/read_fru_data.hpp
/openbmc/phosphor-host-ipmid/sample.cpp
/openbmc/phosphor-host-ipmid/sample.h
/openbmc/phosphor-host-ipmid/scripts/entity-example.md
/openbmc/phosphor-host-ipmid/scripts/fru-read-example.yaml
/openbmc/phosphor-host-ipmid/scripts/fru_gen.py
/openbmc/phosphor-host-ipmid/scripts/inventory-sensor-example.yaml
/openbmc/phosphor-host-ipmid/scripts/inventory-sensor.py
/openbmc/phosphor-host-ipmid/scripts/inventorysensor.mako.cpp
/openbmc/phosphor-host-ipmid/scripts/readfru.mako.cpp
/openbmc/phosphor-host-ipmid/scripts/sensor-example.yaml
/openbmc/phosphor-host-ipmid/scripts/sensor_gen.py
/openbmc/phosphor-host-ipmid/scripts/writesensor.mako.cpp
/openbmc/phosphor-host-ipmid/selutility.cpp
/openbmc/phosphor-host-ipmid/selutility.hpp
/openbmc/phosphor-host-ipmid/sensordatahandler.cpp
/openbmc/phosphor-host-ipmid/sensordatahandler.hpp
/openbmc/phosphor-host-ipmid/sensorhandler.cpp
/openbmc/phosphor-host-ipmid/sensorhandler.hpp
/openbmc/phosphor-host-ipmid/settings.cpp
/openbmc/phosphor-host-ipmid/settings.hpp
/openbmc/phosphor-host-ipmid/softoff/Makefile.am
/openbmc/phosphor-host-ipmid/softoff/mainapp.cpp
/openbmc/phosphor-host-ipmid/softoff/softoff.cpp
/openbmc/phosphor-host-ipmid/softoff/softoff.hpp
/openbmc/phosphor-host-ipmid/storageaddsel.cpp
/openbmc/phosphor-host-ipmid/storageaddsel.hpp
/openbmc/phosphor-host-ipmid/storagehandler.cpp
/openbmc/phosphor-host-ipmid/storagehandler.hpp
/openbmc/phosphor-host-ipmid/sys_info_param.cpp
/openbmc/phosphor-host-ipmid/sys_info_param.hpp
/openbmc/phosphor-host-ipmid/systemintfcmds.cpp
/openbmc/phosphor-host-ipmid/systemintfcmds.hpp
/openbmc/phosphor-host-ipmid/test/Makefile.am
sensorcommands_unittest.cpp
/openbmc/phosphor-host-ipmid/test/entitymap_json_unittest.cpp
/openbmc/phosphor-host-ipmid/test/message/pack.cpp
/openbmc/phosphor-host-ipmid/test/message/payload.cpp
/openbmc/phosphor-host-ipmid/test/message/unpack.cpp
/openbmc/phosphor-host-ipmid/test/oemrouter_unittest.cpp
/openbmc/phosphor-host-ipmid/test/sample_unittest.cpp
/openbmc/phosphor-host-ipmid/test/session/closesession_unittest.cpp
/openbmc/phosphor-host-ipmid/testaddsel.cpp
/openbmc/phosphor-host-ipmid/testit.cpp
/openbmc/phosphor-host-ipmid/transporthandler.cpp
/openbmc/phosphor-host-ipmid/transporthandler.hpp
/openbmc/phosphor-host-ipmid/user_channel/Makefile.am
/openbmc/phosphor-host-ipmid/user_channel/channel_layer.cpp
/openbmc/phosphor-host-ipmid/user_channel/channel_layer.hpp
/openbmc/phosphor-host-ipmid/user_channel/channel_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/channel_mgmt.hpp
/openbmc/phosphor-host-ipmid/user_channel/channelcommands.cpp
/openbmc/phosphor-host-ipmid/user_channel/cipher_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/cipher_mgmt.hpp
/openbmc/phosphor-host-ipmid/user_channel/file.hpp
/openbmc/phosphor-host-ipmid/user_channel/passwd_mgr.cpp
/openbmc/phosphor-host-ipmid/user_channel/passwd_mgr.hpp
/openbmc/phosphor-host-ipmid/user_channel/shadowlock.hpp
/openbmc/phosphor-host-ipmid/user_channel/user_layer.cpp
/openbmc/phosphor-host-ipmid/user_channel/user_layer.hpp
/openbmc/phosphor-host-ipmid/user_channel/user_mgmt.cpp
/openbmc/phosphor-host-ipmid/user_channel/user_mgmt.hpp
/openbmc/phosphor-host-ipmid/user_channel/usercommands.cpp
/openbmc/phosphor-host-ipmid/user_channel/usercommands.hpp
/openbmc/phosphor-host-ipmid/whitelist-filter.cpp
/openbmc/phosphor-host-ipmid/xyz/openbmc_project/Ipmi/Internal/SoftPowerOff.interface.yaml