1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/misc/qemu,vcpu-stall-detector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: VCPU stall detector 8 9 description: 10 This binding describes a CPU stall detector mechanism for virtual CPUs 11 which is accessed through MMIO. 12 13 maintainers: 14 - Sebastian Ene <sebastianene@google.com> 15 16 properties: 17 compatible: 18 enum: 19 - qemu,vcpu-stall-detector 20 21 reg: 22 maxItems: 1 23 24 clock-frequency: 25 $ref: /schemas/types.yaml#/definitions/uint32 26 description: | 27 The internal clock of the stall detector peripheral measure in Hz used 28 to decrement its internal counter register on each tick. 29 Defaults to 10 if unset. 30 default: 10 31 32 interrupts: 33 maxItems: 1 34 35 timeout-sec: 36 description: | 37 The stall detector expiration timeout measured in seconds. 38 Defaults to 8 if unset. Please note that it also takes into account the 39 time spent while the VCPU is not running. 40 default: 8 41 42 required: 43 - compatible 44 45 additionalProperties: false 46 47 examples: 48 - | 49 #include <dt-bindings/interrupt-controller/arm-gic.h> 50 51 vmwdt@9030000 { 52 compatible = "qemu,vcpu-stall-detector"; 53 reg = <0x9030000 0x10000>; 54 clock-frequency = <10>; 55 timeout-sec = <8>; 56 interrupts = <GIC_PPI 15 IRQ_TYPE_EDGE_RISING>; 57 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.