brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · e12d80b Raw
58 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/misc/qemu,vcpu-stall-detector.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: VCPU stall detector8 9description:10  This binding describes a CPU stall detector mechanism for virtual CPUs11  which is accessed through MMIO.12 13maintainers:14  - Sebastian Ene <sebastianene@google.com>15 16properties:17  compatible:18    enum:19      - qemu,vcpu-stall-detector20 21  reg:22    maxItems: 123 24  clock-frequency:25    $ref: /schemas/types.yaml#/definitions/uint3226    description: |27      The internal clock of the stall detector peripheral measure in Hz used28      to decrement its internal counter register on each tick.29      Defaults to 10 if unset.30    default: 1031 32  interrupts:33    maxItems: 134 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 the39      time spent while the VCPU is not running.40    default: 841 42required:43  - compatible44 45additionalProperties: false46 47examples: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    };58