diff options
| author | Scott Cheloha <[email protected]> | 2022-07-13 15:23:35 -0500 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-07-20 21:57:39 +1000 |
| commit | 69472ffa6575e3a1c1e3324dd06395af0f63eb71 (patch) | |
| tree | ad9ac36e9bd06824f3d74575655b7b25430140b3 /tools/perf/scripts/python | |
| parent | 578030bfe117060bf86c81aaa7b3faead4589810 (diff) | |
watchdog/pseries-wdt: initial support for H_WATCHDOG-based watchdog timers
PAPR v2.12 defines a new hypercall, H_WATCHDOG. The hypercall permits
guest control of one or more virtual watchdog timers. The timers have
millisecond granularity. The guest is terminated when a timer
expires.
This patch adds a watchdog driver for these timers, "pseries-wdt".
pseries_wdt_probe() currently assumes the existence of only one
platform device and always assigns it watchdogNumber 1. If we ever
expose more than one timer to userspace we will need to devise a way
to assign a distinct watchdogNumber to each platform device at device
registration time.
Signed-off-by: Scott Cheloha <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions