cc4ce70d | 31-Dec-2023 |
Jagpal Singh Gill <paligill@gmail.com> |
health-metric: add dbus path for total cpu
Add the DBus path for total CPU to be used in phosphor-health-monitor.
Change-Id: Id50d84c7cdc96e723575db591a3d97d052d016bb Signed-off-by: Jagpal Singh Gi
health-metric: add dbus path for total cpu
Add the DBus path for total CPU to be used in phosphor-health-monitor.
Change-Id: Id50d84c7cdc96e723575db591a3d97d052d016bb Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
157c864e | 29-Dec-2023 |
Jagpal Singh Gill <paligill@gmail.com> |
health-metric: add dbus path for read-write storage
Add the DBus path for read write storage to be used in phosphor-health-monitor.
Change-Id: Ic162468dc272a6707cd39476d8e9f128de83e874 Signed-off-b
health-metric: add dbus path for read-write storage
Add the DBus path for read write storage to be used in phosphor-health-monitor.
Change-Id: Ic162468dc272a6707cd39476d8e9f128de83e874 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
800f7080 | 15-Dec-2023 |
Patrick Williams <patrick@stwcx.xyz> |
metric: rename from metrics
Generally use non-plural names. Do a trivial rename of the Metric definitions before they start being used by applications.
Signed-off-by: Patrick Williams <patrick@stw
metric: rename from metrics
Generally use non-plural names. Do a trivial rename of the Metric definitions before they start being used by applications.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia0f210684c8aa0f567d5a1d70baf7eb8956b8712
show more ...
|
d1a7e40f | 15-Dec-2023 |
Patrick Williams <patrick@stwcx.xyz> |
common.Threshold: use dict-of-dict for Value
The Dbus specification does not allow the key of a dict to be a non-basic type, such as a struct:
the first single complete type (the "key") must be
common.Threshold: use dict-of-dict for Value
The Dbus specification does not allow the key of a dict to be a non-basic type, such as a struct:
the first single complete type (the "key") must be a basic type rather than a container type.
If we try to instantiate an instance with a struct as a dict key, we end up getting an EINVAL on the add-vtable call.
Switch to nested dictionary to avoid this violation.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2c512984e62166efec3f299d55efb39a9e93edbf
show more ...
|
6cfd0d08 | 29-Nov-2023 |
Chau Ly <chaul@amperecomputing.com> |
Association between intrusion sensor and item
Chassis intrusion sensor does not have the Sensor.Value interface to be legit into the "sensors" association with the chassis but there's a need to asso
Association between intrusion sensor and item
Chassis intrusion sensor does not have the Sensor.Value interface to be legit into the "sensors" association with the chassis but there's a need to associate the sensor with the chassis that it is monitoring physical security state.
This commit introduces the monitoring/monitored_by association between a chassis intrusion sensor and the inventory items that it is currently monitoring the physical security state. The association in this case requires the two endpoint interfaces of "xyz.openbmc_project.Chassis.Intrusion" and "xyz.openbmc_project.Inventory.Item".
Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: I1d110c8a83c5d264785ce30c363a654cbf711731
show more ...
|
22d5f744 | 05-Oct-2023 |
Jagpal Singh Gill <paligill@gmail.com> |
phosphor-health-monitor: add reset interface
- Add the reset interface for resetting the persistent counter, such as reboot count. - The intention of this change corresponds to ResetMetrics in Red
phosphor-health-monitor: add reset interface
- Add the reset interface for resetting the persistent counter, such as reboot count. - The intention of this change corresponds to ResetMetrics in Redfish ManagerDiagnosticData - https://redfish.dmtf.org/schemas/v1/ManagerDiagnosticData.v1_2_1.json
Change-Id: I31f2efac44f996afb2e0575585d3414196412dfd Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
03af686b | 05-Oct-2023 |
Jagpal Singh Gill <paligill@gmail.com> |
phosphor-health-monitor: add D-Bus paths
- Add the D-Bus paths for BMC metrics. - The code for these paths will be autogenerated in the common.hpp
Change-Id: I3d0273d83136659d67b0907006fb050db948a7
phosphor-health-monitor: add D-Bus paths
- Add the D-Bus paths for BMC metrics. - The code for these paths will be autogenerated in the common.hpp
Change-Id: I3d0273d83136659d67b0907006fb050db948a732 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
a60ff845 | 12-Jul-2023 |
Jagpal Singh Gill <jagpalgill@meta.com> |
phosphor-health-monitor: add new D-Bus interface
This commit introduces following changes - - A new Metrics Value Interface. - An interface to reset the metrics, if needed. - Common Threshold interf
phosphor-health-monitor: add new D-Bus interface
This commit introduces following changes - - A new Metrics Value Interface. - An interface to reset the metrics, if needed. - Common Threshold interface so it can be used in Metrics and Sensors.
For more detail, please refer to design - https://gerrit.openbmc.org/c/openbmc/docs/+/64917
Unit Test: meson build passes.
Change-Id: I014a047f9db6fe470124baa41dcce93caf7ceb4b Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
47ba142a | 23-Aug-2023 |
Tim Chao <Tim.Chao@quantatw.com> |
Watchdog: Add LogTimeout property in watchdog
Add the LogTimeout property in watchdog yaml. This property is used for configuring whether an event will be logged on watchdog expiration.
Tested: No
Watchdog: Add LogTimeout property in watchdog
Add the LogTimeout property in watchdog yaml. This property is used for configuring whether an event will be logged on watchdog expiration.
Tested: No log bit is set to true : ipmitool raw 0x06 0x24 0x84 0x00 0x00 0x3e 0x64 0x00
No log bit is set to false : ipmitool raw 0x06 0x24 0x04 0x00 0x00 0x3e 0x64 0x00
Reset watchdog timer : ipmitool mc watchdog reset
If the LogTimeout property is true, the event will be logged on watchdog expiration. We can use 'ipmitool sel elist' to check the system event log. 1 | 01/26/23 | 00:21:21 PST | Watchdog2 host0 | Timer expired | Asserted
If the LogTimeout property is false, the event will not be logged when the watchdog expires.
Related-Commit-Id: 67727 Related-Commit-Id: 67728
Change-Id: I278b8bb3eec1951ba505ab53527826aef075a05f Signed-off-by: Tim Chao <Tim.Chao@quantatw.com>
show more ...
|
8a2674b8 | 25-Sep-2023 |
Lakshmi Yadlapati <lakshmiy@us.ibm.com> |
common: Add new Priority interface
This commit introduces the new "Priority" interface, which is designed to indicate the priority level of an entity. It can be used as a decorator for other objects
common: Add new Priority interface
This commit introduces the new "Priority" interface, which is designed to indicate the priority level of an entity. It can be used as a decorator for other objects to specify their priority. While this interface was initially developed for fan sensors, it can be applied to various entities and is not limited to fans. This new interface provide more specific information about the primary and secondary sensors, which is needed for Redfish Fan schema.
bmcweb commit: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/57657
Change-Id: Iee875dbe627980139199a6d9a56fde3e5d651af0 Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
show more ...
|
5e7bca41 | 19-Sep-2023 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
MCTP: modify the type of Network ID and EID
Modify the data type of Network ID to uint32 to align with unsigned int from the Linux implementation (which uses the LP64 data model): https://git.kernel
MCTP: modify the type of Network ID and EID
Modify the data type of Network ID to uint32 to align with unsigned int from the Linux implementation (which uses the LP64 data model): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/mctp.h?h=v6.5#n25
The data size of Endpoint ID is 8 bits that was defined in document: DSP0236. Correct the data type of EID to byte.
Change-Id: I31c98a82c126ace00e01dcb6ad557b6d5ca765d4 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|
262b9220 | 03-Jan-2023 |
Harvey Wu <Harvey.Wu@quantatw.com> |
Add new interface Debug.Pid.Thermal/Power
- According to the issue#27, adding new interface to record the driver sensor name, driver sensor value and PID loop result to dbus.
interface: Debug.Pid
Add new interface Debug.Pid.Thermal/Power
- According to the issue#27, adding new interface to record the driver sensor name, driver sensor value and PID loop result to dbus.
interface: Debug.Pid.ThermalPower => Record the sensor name and reading with the highest temperature or power in the input list. And record the result of pid loop
Debug.Pid.Zone => Record the pid config name that that is driving the fans
refs: https://github.com/openbmc/phosphor-pid-control/issues/27
Change-Id: I67051616958e07c148eabee658165082855c674d Signed-off-by: Harvey Wu <Harvey.Wu@quantatw.com>
show more ...
|
8e360784 | 09-Sep-2023 |
Patrick Williams <patrick@stwcx.xyz> |
Software.Image: add YAML from phosphor-bmc-code-mgmt
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icc3a526d9cbc4e38b4336eca46d081e9c108022f |
c29c927a | 17-Aug-2023 |
Patrick Williams <patrick@stwcx.xyz> |
Sensor.Value: fix minor spelling mistake
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4da4cd939804b21bc6117c790af552afca761aee |
fd1e87a7 | 14-Aug-2023 |
Chau Ly <chaul@amperecomputing.com> |
Chassis.Intrusion: Add enum for Status property
This commit updates Status property to use an enum of 3 values: Normal, HardwareIntrusion and TamperingDetected. These are defined in Redfish schema o
Chassis.Intrusion: Add enum for Status property
This commit updates Status property to use an enum of 3 values: Normal, HardwareIntrusion and TamperingDetected. These are defined in Redfish schema of property PhysicalSecurity/IntrusionSensor of Chassis.
Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: I022e4f11dd7f1a863ca3266c661e113c96d79b7d
show more ...
|
402dc6a5 | 27-Jul-2023 |
Michal Orzel <michalx.orzel@intel.com> |
Change authority D-Bus names
Changing authority service references in code from 'ldap' to more generic name, to comply with change in phosphor-certificate-manager.
Related change: https://gerrit.op
Change authority D-Bus names
Changing authority service references in code from 'ldap' to more generic name, to comply with change in phosphor-certificate-manager.
Related change: https://gerrit.openbmc.org/c/openbmc/phosphor-certificate-manager/+/65458
Tested: Docs change, no way to test.
Change-Id: I3b502f27b5f3dd1585238cdad24ab071cccc605f Signed-off-by: Michal Orzel <michalx.orzel@intel.com>
show more ...
|
cb01cd40 | 10-Jul-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Dump: Add user-challenge to System Dump entry
This commit introduces a 'UserChallenge' field to the xyz.openbmc_project.Dump.Entry.System interface. This update specifically addresses the requiremen
Dump: Add user-challenge to System Dump entry
This commit introduces a 'UserChallenge' field to the xyz.openbmc_project.Dump.Entry.System interface. This update specifically addresses the requirement for non-disruptive system dumps. Non-disruptive dumps are requested to the host and do not disrupt the current system state. However, as they consume significant host resources and involve the collection of host memory data, they must be executed by authorized personnel.
To enforce this, the host requires user-challenge validation to process the dump request. If the provided user-challenge is incorrect, the host rejects the operation.
Change-Id: Ia9871a7264e036715a3ebe10f9054a2302e64c32 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
2117deab | 08-Jul-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Dump: Add 'SystemImpact' to System Dump entry
This commit introduces 'SystemImpact' to the system dump entry. This new enum field indicates whether a system dump is 'Disruptive' or 'NonDisruptive'.
Dump: Add 'SystemImpact' to System Dump entry
This commit introduces 'SystemImpact' to the system dump entry. This new enum field indicates whether a system dump is 'Disruptive' or 'NonDisruptive'.
'Disruptive' dumps alter the system state and capture extensive data, making them useful for diagnosing system crashes. In contrast, 'NonDisruptive' dumps do not disturb the system state while still providing valuable data for analysis.
Change-Id: I03810e86e1db9d2b46891dbe2e00e436e76b2cc2 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
27afd1f2 | 08-Jul-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Dump: Add token to host dump entries
This commit introduces a token field to the xyz.openbmc_project.Dump.Entry.System and com.ibm.Dump.Entry.Resource interfaces. This token is exchanged from the ho
Dump: Add token to host dump entries
This commit introduces a token field to the xyz.openbmc_project.Dump.Entry.System and com.ibm.Dump.Entry.Resource interfaces. This token is exchanged from the host when a request to create a dump is made. The token can be used to identify the dump entry once the collection is completed. This addition enhances the tracking of dump entries for the dumps collected in the host.
Change-Id: Ic4ad9d10bb0b8afd73d2b8d58a920ae5d2b131b8 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
88902e67 | 30-Jun-2023 |
Smriti-Ayushi <smriti.ayushi@linux.intel.com> |
Update BiosConfig README.md file
The current bios config is out of date and inconsistent with bios-settings-mgr repository.
Changes are made to reflect the current D-Bus methods, signals and proper
Update BiosConfig README.md file
The current bios config is out of date and inconsistent with bios-settings-mgr repository.
Changes are made to reflect the current D-Bus methods, signals and properties in bios-settings-mgr.
Following are the D-Bus information of bios-settings-mgr:
busctl tree xyz.openbmc_project.BIOSConfigManager `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/bios_config |-/xyz/openbmc_project/bios_config/manager `-/xyz/openbmc_project/bios_config/password
busctl introspect xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - org.freedesktop.DBus.Peer interface - - - .GetMachineId method - s - .Ping method - - - org.freedesktop.DBus.Properties interface - - - .Get method ss v - .GetAll method s a{sv} - .Set method ssv - - .PropertiesChanged signal sa{sv}as - - xyz.openbmc_project.BIOSConfig.Manager interface - - - .GetAttribute method s svv - .SetAttribute method sv - - .BaseBIOSTable property a{s(sbsssvva(svs))} 0 emits-change writable .PendingAttributes property a{s(sv)} 0 emits-change writable .ResetBIOSSettings property s "xyz.openbmc_project.BIOSConfig.Manag... emits-change writable
busctl introspect xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/password NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - org.freedesktop.DBus.Peer interface - - - .GetMachineId method - s - .Ping method - - - org.freedesktop.DBus.Properties interface - - - .Get method ss v - .GetAll method s a{sv} - .Set method ssv - - .PropertiesChanged signal sa{sv}as - - xyz.openbmc_project.BIOSConfig.Password interface - - - .ChangePassword method sss - - .PasswordInitialized property b false emits-change writable
Change-Id: I59bc60e0d31658906aa724b54652cd0b0c74e9d2 Signed-off-by: Smriti-Ayushi <smriti.ayushi@linux.intel.com>
show more ...
|
3bbd4827 | 29-May-2023 |
George Liu <liuxiwei@inspur.com> |
DIMM: Refactor the byte attribute to size type
There is currently a problem that because the parameter types defined in PDI are too complicated, not all types are fully compatible in the Notify meth
DIMM: Refactor the byte attribute to size type
There is currently a problem that because the parameter types defined in PDI are too complicated, not all types are fully compatible in the Notify method. The intent behind this commit is replace "byte" type in the DIMM interface with "size", because it is more reasonable to use size for byte, uint16 and other types, and we also tend to change the uint16 type to size in the future.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I884f1d871446ed1c4174a223e826c3a36530aea1
show more ...
|
e6718c5e | 09-Jun-2023 |
Ivan Mikhaylov <fr0st61te@gmail.com> |
network/client: add TCP/UDP as Transport Protocol for Client
Add TCP/UDP transport protocol for Client interface to make it use for different applications like rsyslog as example.
Change-Id: I08511
network/client: add TCP/UDP as Transport Protocol for Client
Add TCP/UDP transport protocol for Client interface to make it use for different applications like rsyslog as example.
Change-Id: I08511a1a70396e1c6fb979febfa8fb7343235e9d Signed-off-by: Ivan Mikhaylov <fr0st61te@gmail.com>
show more ...
|
7720dd64 | 12-Jun-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Add GetFileHandle method to dump entry
This commit introduces the GetFileHandle method in the dump entry interface. This method provides direct access to the Unix file handle of the dump entry, faci
Add GetFileHandle method to dump entry
This commit introduces the GetFileHandle method in the dump entry interface. This method provides direct access to the Unix file handle of the dump entry, facilitating more direct read operations on the dump file.
The returned file descriptor will be read-only, ensuring the integrity of the dump file.
This change is primarily introduced to support the PLDM for offloading the dump to the host and bmcweb for offloading the dump to Redfish clients. Previously, a direct file path was provided for these operations. However, if the applications are running in a non-root context, they may lack the necessary access to the file. By providing a file handle, this access issue is resolved.
Change-Id: I1c9dd5ae6dad503288f39227876e13308043fefd Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
3826910e | 30-May-2023 |
Jonathan Doman <jonathan.doman@intel.com> |
Add xyz.openbmc_project.Console.UART
Formalize an ad-hoc interface currently implemented in obmc-console. This will contain attributes for each console object that is connected to a physical UART. O
Add xyz.openbmc_project.Console.UART
Formalize an ad-hoc interface currently implemented in obmc-console. This will contain attributes for each console object that is connected to a physical UART. Other console objects (e.g. VUART) would not implement this interface. could be extended to support additional console attributes, but for now a writable `Baud` property is the only item.
Change-Id: Ib4c9f1e24b4843281c222e882586a0fd44af723b Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
show more ...
|
abb61a0f | 25-May-2023 |
Andrew Geissler <geissonator@yahoo.com> |
bmc-ready: include new error codes in interfaces
This will generate the appropriate bindings and ensure the error is passed back to the caller allowing them to properly handle this type of error.
C
bmc-ready: include new error codes in interfaces
This will generate the appropriate bindings and ensure the error is passed back to the caller allowing them to properly handle this type of error.
Change-Id: I63301d0371d27835417fcba503c32f854f1919bd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|