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