Received: by 10.223.164.202 with SMTP id h10csp4221240wrb; Mon, 20 Nov 2017 11:52:43 -0800 (PST) X-Google-Smtp-Source: AGs4zMaFS/P6nRS+fpF7ETsf9JRK8DOanVbNBzbmKO9mcf0yIAeu/0+YOjNn6EcDSqnvVk1NUp0h X-Received: by 10.101.74.129 with SMTP id b1mr14834749pgu.341.1511207563009; Mon, 20 Nov 2017 11:52:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511207562; cv=none; d=google.com; s=arc-20160816; b=Gn+nuNKPD6kMgz+TESSUIq1SkhVoiTmsDTAsWL97afhVdWKTThA3oEpiFpq7vUgZcP SZWUy5RMfiXN5t8KCvRWCLfOstknh5G93DpU3J/DwXVj8yb1ddPGAZT8DedKjB7emReY V048KF+Sc0qhY25kpuDpAJqw07q5QUGl7RnZ8b+tj2BxM/B2PPWn9B3UngL3OdPO3XSe X5OAcU09XAN7xMlhsw31TYANSMuzqPy2h3l0IZuEswmMQEO3mWOBS34efMB1fbPq0IuK RSWiwTcbUEhmF8LZgMolNYxxFlMgqFpi4BR31cCas6ELnx4nEssqKBaOFGIJ3agsN8Vz Lkcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:cc:content-transfer-encoding :mime-version:message-id:date:subject:arc-authentication-results; bh=Pg71mzIAZi8YBXcyCkltW778C0BLmFx9q5LdbRMF/w8=; b=rjSSDyWmmqVYJRpQNrUkCqmwiwsCpPTZFI7ttOPupjtbfh0Z6UxnnvVtS0s7wFe16y WusIv0JdzrO8nHmO1eKn5q9XOT4yuoc2W3ZleGX7Z2TQr0Cgy0NeQhAhcslrjOTe16LX D8e8PI6zAGQOCPhv90e7j8IE+Sgv8WAlMyivWnOQzJDHvuuRSv4n79qytjTDmVGJYbmN AzAVoiCc15Ngis7c1dmuLTZcTailGmqFDURdpyZgpn1ufd8jI6dmtTplp+M1te0I/yJH 8/qVd+9YlMu6aIDMBLwLmvbpzzjISsmQgDYQcPRzCo15OQ8nDcUTpdnTuPNVBsS8BxVS HYNA== 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 w7si1890671pgp.397.2017.11.20.11.52.32; Mon, 20 Nov 2017 11:52:42 -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 S1752738AbdKTTuj (ORCPT + 67 others); Mon, 20 Nov 2017 14:50:39 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:41461 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752547AbdKTTug (ORCPT ); Mon, 20 Nov 2017 14:50:36 -0500 Received: by mail-pf0-f194.google.com with SMTP id j28so8030627pfk.8 for ; Mon, 20 Nov 2017 11:50:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:mime-version :content-transfer-encoding:cc:from:to; bh=Pg71mzIAZi8YBXcyCkltW778C0BLmFx9q5LdbRMF/w8=; b=tslDTEzjMzVxpS5BWdh5wnhhR0LcTRks22gcMLcwK93VubY4pPpyGzIO8Yyi65Jaqh KlYPjJ/TcEmQO1VgVLfVE22bjedvOKEXm7Ib86/HjXRgq4u/IPTZzMcUToc4tZ51HtFU c7NlypFZB9WMgWLnaO3XA203kj7B8zPWaXVBUmrF/5Gz3zUh41ZLuDAOR3Xsdf7icAiv xKOtP6m4iTkfB+MNF/QPehQnWXeHpyyNndEp1Pw77QwtVUBnuvmz9SJchn/a466c3FUz DB7gw+BjMlrhqT3INvzLC/OaM5ijUKi9PYT6HGIWevbctmHWSAsw1Yd0xGyHqXMwc96O rY/A== X-Gm-Message-State: AJaThX7teUmXy+r4jT1TfUGPeftXVF0MUZHZwvaXOmL/kjyFG6e9leja AVbD66hJb3nFL1jjcSUN5Kdo+WiL3Uk= X-Received: by 10.99.146.65 with SMTP id s1mr2683691pgn.354.1511207436285; Mon, 20 Nov 2017 11:50:36 -0800 (PST) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id 3sm22630546pfo.17.2017.11.20.11.50.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Nov 2017 11:50:35 -0800 (PST) Subject: [PATCH] dt-bindings: Add a RISC-V SBI firmware node Date: Mon, 20 Nov 2017 11:50:00 -0800 Message-Id: <20171120195000.2070-1-palmer@sifive.com> X-Mailer: git-send-email 2.13.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: patches@groups.riscv.org, linux-kernel@vger.kernel.org, Palmer Dabbelt , nathan=20Neusch=C3=A4fer?= From: Palmer Dabbelt To: mark.rutland@arm.com, robh+dt@kernel.org, devicetree@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The RISC-V privileged ISA mandates the presence of an SBI, but there's no reason not to put it in the device tree. This would allow us to possibly remove the SBI later. CC: Jonathan Neuschäfer Signed-off-by: Palmer Dabbelt --- .../devicetree/bindings/firmware/riscv.sbi.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/riscv.sbi.txt diff --git a/Documentation/devicetree/bindings/firmware/riscv.sbi.txt b/Documentation/devicetree/bindings/firmware/riscv.sbi.txt new file mode 100644 index 000000000000..42384d5d52cf --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/riscv.sbi.txt @@ -0,0 +1,20 @@ +RISC-V Supervisor Binary Interface (SBI) + +The RISC-V privileged ISA specification mandates the presence of a supervisor +binary interface that performs some operations which might otherwise require +particularly complicated instructions. This interface includes +inter-processor interrupts, TLB flushes, i-cache and TLB shootdowns, a +console, and power management. + +Required properties: +- compatible: must contain one of the following + * "riscv,sbi" for the SBI defined by the privileged specification of the + system. + +Example: + +firmware { + sbi { + compatible = "riscv,sbi"; + }; +}; -- 2.13.6 From 1584533894700824048@xxx Sun Nov 19 22:07:58 +0000 2017 X-GM-THRID: 1584345557890100561 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread