Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1498781imu; Mon, 5 Nov 2018 22:48:21 -0800 (PST) X-Google-Smtp-Source: AJdET5f4URPte/sRbckz6UiJBdnZBq9uJ9brwGNqKslvSEDpRMf5jSvqAEGKHVRUx1qkgGVx55S/ X-Received: by 2002:a63:1412:: with SMTP id u18mr22250852pgl.247.1541486901501; Mon, 05 Nov 2018 22:48:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541486901; cv=none; d=google.com; s=arc-20160816; b=K2k/q+Umc1Kx+7K4nGiDMj7TxA9aWFK5pUIy9gcfyYNamGTGFLCEINGEjAuNvF7hj5 0xy1tnBFFRkAxEk38hYbVNj7E/UjWoFMenIK3IMGdg2nGcFfCKxjbkbfRmY1O2OcLbTH QnJyQB+0f0UFSY6W3Qt9dsb/xp44A35G9VCXRmiWojO9yd3NMhsJg070vrzMRz5U/p78 R7kZjOccq53BpX8j2AiGadSWSbdzFsEH6dKuw/WzAhuEpU+FsyXd/jQqAdx5wUr/ENWI LR4VsH3CERAgqe/V9AIeLhek7PamVzHZiq/C8fva9bzFxm1/50BXHI2akzqsdWtrBqtN LGOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=KaoFKF4FzpuIOoXVZ7IbybKei8k4T3rJMGgLWraW4D8=; b=m0sON5ZIuBydt3lC/TZdOrT1bcL+4t68/ofpxEiRK/Ujxenlmwk2DfYRYOqj7IMkK5 ZmGjCSHEGunQ+87DhY0KXlm+RtKdT8jgAptJ4Qs1/53dMDpuW8JHiWy+EwJTfqI2/+Nq PqX2U8rT2l4pc7fCLdXwoCMn3FSvZDux3nCvT8oJ1PQLYyVfJS7zQA01cGbs1o11ZYdY Tv3eNlY18pIMzy9+yJ+RabQ0XqyXOfxKtIu2l7WwuIwRteB51tD1MhWlnRMNmAT2o7s/ n2VGRKImmu5npjJf6pEnLykN33vDb2UhsfHNrRKMWmBuP3XPodIYUIl8xqTvgP8IQ/9D 8wMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c85-v6si16182611pfe.60.2018.11.05.22.48.06; Mon, 05 Nov 2018 22:48:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387719AbeKFQLL (ORCPT + 99 others); Tue, 6 Nov 2018 11:11:11 -0500 Received: from out1.zte.com.cn ([202.103.147.172]:46870 "EHLO mxct.zte.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387600AbeKFQLL (ORCPT ); Tue, 6 Nov 2018 11:11:11 -0500 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 1A03D614683CD41BF23B; Tue, 6 Nov 2018 14:47:15 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id wA66l7NA044642; Tue, 6 Nov 2018 14:47:07 +0800 (GMT-8) (envelope-from peng.hao2@zte.com.cn) Received: from localhost.localdomain.localdomain ([10.74.120.59]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2018110614472129-8886597 ; Tue, 6 Nov 2018 14:47:21 +0800 From: Peng Hao To: robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de, gregkh@linuxfoundation.org, andy@infradead.org, dvhart@infradead.org Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, hutao@cn.fujitsu.com, linux-doc@vger.kernel.org, Peng Hao Subject: [PATCH V8 04/11] dt-bindings: misc/pvpanic: add document for pvpanic-mmio Date: Tue, 6 Nov 2018 22:57:15 +0800 Message-Id: <1541516242-98568-4-git-send-email-peng.hao2@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1541516242-98568-1-git-send-email-peng.hao2@zte.com.cn> References: <1541516242-98568-1-git-send-email-peng.hao2@zte.com.cn> X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2018-11-06 14:47:21, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2018-11-06 14:47:03, Serialize complete at 2018-11-06 14:47:03 X-MAIL: mse01.zte.com.cn wA66l7NA044642 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add dt-bindings document for "qemu:pvpanic-mmio". Acked-by: Mark Rutland Signed-off-by: Peng Hao --- .../devicetree/bindings/misc/pvpanic-mmio.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/pvpanic-mmio.txt diff --git a/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt b/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt new file mode 100644 index 0000000..985e907 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt @@ -0,0 +1,29 @@ +* QEMU PVPANIC MMIO Configuration bindings + +QEMU's emulation / virtualization targets provide the following PVPANIC +MMIO Configuration interface on the "virt" machine. +type: + +- a read-write, 16-bit wide data register. + +QEMU exposes the data register to guests as memory mapped registers. + +Required properties: + +- compatible: "qemu,pvpanic-mmio". +- reg: the MMIO region used by the device. + * Bytes 0x0 Write panic event to the reg when guest OS panics. + * Bytes 0x1 Reserved. + +Example: + +/ { + #size-cells = <0x2>; + #address-cells = <0x2>; + + pvpanic-mmio@9060000 { + compatible = "qemu,pvpanic-mmio"; + reg = <0x0 0x9060000 0x0 0x2>; + }; +}; + -- 1.8.3.1