Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * QEMU PVPANIC MMIO Configuration bindings |
| 2 | |
| 3 | QEMU's emulation / virtualization targets provide the following PVPANIC |
| 4 | MMIO Configuration interface on the "virt" machine. |
| 5 | type: |
| 6 | |
| 7 | - a read-write, 16-bit wide data register. |
| 8 | |
| 9 | QEMU exposes the data register to guests as memory mapped registers. |
| 10 | |
| 11 | Required properties: |
| 12 | |
| 13 | - compatible: "qemu,pvpanic-mmio". |
| 14 | - reg: the MMIO region used by the device. |
| 15 | * Bytes 0x0 Write panic event to the reg when guest OS panics. |
| 16 | * Bytes 0x1 Reserved. |
| 17 | |
| 18 | Example: |
| 19 | |
| 20 | / { |
| 21 | #size-cells = <0x2>; |
| 22 | #address-cells = <0x2>; |
| 23 | |
| 24 | pvpanic-mmio@9060000 { |
| 25 | compatible = "qemu,pvpanic-mmio"; |
| 26 | reg = <0x0 0x9060000 0x0 0x2>; |
| 27 | }; |
| 28 | }; |
| 29 | |