| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
The name of the num should not contain the word Field as the type is not
a field, just the use case for the timer.
The properties on the watchdog object should be clear as to being the
current or last expired timer use.
Change-Id: Iee21fbfa97e5ef0634b3f806a43d7d3e66288661
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The IPMI watchdog timer use field is used to indicate
the current timer use assigned to the watchdog timer,
timer expiration flags is used to indicate the current
timer expiration flags used by the timer.
Add them as a dbus property, IPMI set/get watchdog commands will use it.
Change-Id: I549a97a13a398fd0815a3865004c6880010aa08e
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
|
|
|
|
|
|
|
| |
That error will never be returned.
Change-Id: I7cebfbb3c703216592f16dbdfeba0a982c9f8a6a
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This holds the timestamp of when the chassis power
state last changed.
This will be used by the web UI to show the user when
their system was last powered on or off.
Change-Id: I801cd40e2e7d8ee18ede132be59f0776f5fc9d1f
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
It contains the epoch time of the last BMC reboot
as determined by its uptime.
Change-Id: I2e80734db8443c9e3d49b3cf6dd336ee5d9937be
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
It's common for services to want to pet the watchdog by reading the
interval, writing it to the TimeRemaining field, and possibly enabling
the watchdog. This patch adds a convenience method to acomplish this in
a single dbus call. A single call also reduces the completion time of
reset requests and the load incurred by performing multiple dbus calls.
Change-Id: I847e821a4ea10e49c6b6703a48a346bbab6fd44c
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
|
|
|
|
|
|
|
|
| |
PowerOnHours interface to tell how many hours the system has been
powered-on.
Partially Resolves openbmc/openbmc#2979
Change-Id: I61b149e38717a389f57c2d881ced7faf823d25a7
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Provide an interface for broadcasting POST codes on the dbus. This
allows one consumer on the device while allowing anyone listening to
receive the data and perform an action.
Change-Id: I3c7bf6afb77be7ce49198e394547ddf8d9153de6
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The IPMI spec defines actions which can be set at runtime that define
what action the watchdog will take when it expires. With this change our
watchdog daemon can be dynamically reconfigured to execute a target that
maps to the defined action.
The current list of actions maps directly from the IPMI spec. We don't
require that the list strictly adheres to the list in the spec, but this
is a good starting point since they are generic host actions. A commit
to phosphor-watchog will accompany this change in order to respect the
actions defined in this interface. This change defaults the action to
HardReset, which will ensure the behavior is consistent with previous
behavior regardless of updating the phosphor-host-ipmid.
Change-Id: I7b293394326652b292b4bd23950a7f947ece8306
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding an initialization value to the dbus api allows the host ipmi
daemon or any other user of the host watchdog api to determine if they
have already initialized the host watchdog without keeping any of their
own state. This is useful for being able to report a not initialized error
to the host system when it makes a watchdog reset call. Since this value
is defined by default as false, whenever the watchdog daemon restarts
and loses state the host will be able to see that it has not yet been
initialized. The host can then reinitialize the watchdog if implemented
according to the spec. As this value is inteded purely for state tracking
on the client side, the server does not need to modify or even read this value.
Change-Id: I224995fdb09fcf21ba729dbd88e41a31e82eacad
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
I believe this is the only possible way we can realistically
provide forwards and backwards API compatibility.
We have existing API users, and we can't go and rewrite the world,
so we need to extend the API in a way that enables them to continue
working.
Change-Id: I741485adf98126919b2a521d8bfbd235b13750ae
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
| |
To be used when we shutdown the system due to not enough
present or functional fans.
Change-Id: I3a30592cba767e8fbbcba4286df1c62940eaba9e
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
| |
PCI Initialization is missing in the list of boot progress
stages, adding that to the boot progress interface yaml
Change-Id: I6fe563ac89a33b2fe06006bbe0ddf206d5d61de3
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I0e67d6b6a476ac6212d53fbdfd7efc3e9c06f7ab
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
|
| |
This error will be used on Witherspoon when the power
sequencer chip detects a power fault, which requires
a power off to be done.
Change-Id: Ia5f99c67c4e9436ca86f9d94d08644fcac012824
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Will be used on Witherspoon when the GPUs report an overtemp
to the power sequencer chip. The failing GPU will be called
out in a separate overtemp error log, and then this shutdown
error will be created when code powers off the system to
protect the chip.
Change-Id: I55b836f469f0fc035386130a16b433a5eba96a8b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Created Processor ThermalEvent Shutdown Error.
To used as part of openbmc/openbmc#2190.
Change-Id: I2441a4eb69df36a1dbf623579c5e3bf5c6a818ae
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ia0da0d12b967b80d0ef3800146de01033e425613
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Ic52faba7a24bcf58f3326b1587282ca8398e9a70
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
| |
A/C will not be preserved on host reboot requests, there's
no need to include that detail in the interface anyway
Change-Id: If3d33cea8c492191f0dfd58bfcfd99bfe9f9baee
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Initial thought behind watchdog implementation was that when
the timer expires, it would broadcast a signal. A better design
was thought of in the meantime and that would call into a
user requested target post timer expiration.
Change-Id: Ibe148ed5cd0e8d72949324f64c87704a8e9e7236
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
| |
Change-Id: I7ef803d834b3d91a4ea5404e1977f56e91716a43
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
| |
Change-Id: If596152cf7e2fbcfda52ea0c22334ca3c4e41fdc
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I8a9bcd33649de283556221e5dfe64ab2d5dd964b
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
| |
Updated Host.yaml and README file to include the
host quiesce state
Change-Id: I44fb8849ee5adf1209de1af4720fd95b848950ad
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Add a generic interface for watchdog, for system state monitoring.
Partially resolves: openbmc/openbmc#767
Change-Id: I7f04fe9e8a35669612501b05a1a06e03e9928194
Signed-off-by: Yi Li <adamliyi@msn.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Created the yaml file that contained the
necessary properties needed for bmc state
management. This is needed so we can have
access to the different states of the bmc
for whenever we decide to transition to a
desired state, or would like to reboot, etc.
Change-Id: Ife02f7b324262eccb990d29ed872cf4137857e14
Signed-off-by: Josh King <jdking@us.ibm.com>
|
|
Change-Id: I5047fce6ebd921547b5a6017cd909b2c97e10d96
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|