Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp340393ybg; Mon, 1 Jun 2020 02:47:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUwl1eFCwp5kwB9OCq7XdNHRReEKrhjVhNwwYVOnAO3wUcES9tCnvOZPMiJsQ3OqiCfWBG X-Received: by 2002:a17:906:3da1:: with SMTP id y1mr17113733ejh.109.1591004853402; Mon, 01 Jun 2020 02:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591004853; cv=none; d=google.com; s=arc-20160816; b=ZVTrYLz8/L+PJ/+8EcPr9J9hxFl8D530ua5RqqxD+jZ20jfmRErhWhcw56Uc0rjVnM bZEHfhq4kxRtTdbCRobUN2Q5ANcRtcENOVZ5wWcjV2fuWXXGZZvzV5lvu5l0ZILFJjwF QIzk7aNBBBeQsjtr3y+/KRjb+UeAcql2RfziBtWbMVObFL/dnCPCMvs9ZUOwYKkjqcoA JpFU2M6991yPJuHxg12k55WUjwGj0pI6L9Opu2nlikOkQi3ccdzoAPylp2L82oDipFa7 tQyiFI10T72tUXE31HwEPPdQpkld89kJCbBFJr/kv7KY5EYAwQj5YU1aZMbjBlPC4PKu 63QA== 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=N09LJNwv2ifQDcSlvJmx44gZaI3p41h3RIB3x+pExYg=; b=jpTBqYbRXSah3c8J2znSkiiHM5tFGUsrQfTrzoyppEz1oLPcURpJg+0+svatoSm8DS 4JTud/6CpMrXYwQdzdu8LhwK6FkAby++TxpPFzyHl4QiWznAaz81RhXt/tt6S0MZ7Wyl 0rrAj4QD/+m9CIOnbfsUIyb2AntfGwxA1ojLld/mqaX3HvqdjGigK2kDUssNxTar/UU4 5GSIc/D3dTVKe4YLWnu7PLTEZXZKfIwNa6P422a0urnJhk7VqXmcqDuHyPtf0GuWjQdh LR7LHvu9ND4fbfYJMecbk9E6EXRnu+JVcCUs2SqmtCjJgKF7qeDDUtWYwvOIaKDO9v8v rcqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n23si633475eje.711.2020.06.01.02.47.10; Mon, 01 Jun 2020 02:47:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726089AbgFAJpZ (ORCPT + 99 others); Mon, 1 Jun 2020 05:45:25 -0400 Received: from foss.arm.com ([217.140.110.172]:35650 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbgFAJpV (ORCPT ); Mon, 1 Jun 2020 05:45:21 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 99CE9101E; Mon, 1 Jun 2020 02:45:20 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9CF803F305; Mon, 1 Jun 2020 02:45:19 -0700 (PDT) From: Sudeep Holla To: Will Deacon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Sudeep Holla , linux-kernel@vger.kernel.org, Marc Zyngier Subject: [RFC PATCH 1/3] dt-bindings: Add ARM PSA FF binding for non-secure VM partitions Date: Mon, 1 Jun 2020 10:45:10 +0100 Message-Id: <20200601094512.50509-2-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200601094512.50509-1-sudeep.holla@arm.com> References: <20200601094512.50509-1-sudeep.holla@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree bindings for a Arm PSA FF-A compliant non-secure partition at virtual interface(VMs). Signed-off-by: Sudeep Holla --- .../devicetree/bindings/arm/arm,psa-ffa.txt | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/arm,psa-ffa.txt diff --git a/Documentation/devicetree/bindings/arm/arm,psa-ffa.txt b/Documentation/devicetree/bindings/arm/arm,psa-ffa.txt new file mode 100644 index 000000000000..ee543fb5b397 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/arm,psa-ffa.txt @@ -0,0 +1,47 @@ +Arm Platform Security Architecture(PSA) Firmware Framework(FF) for Armv8-A +-------------------------------------------------------------------------- + +This binding is intended to define the interface the firmware framework +implementing the Non-secure partitions/endpoints(mostly VMs) as described +in ARM document ARM DEN 0077A ("Arm Platform Security Architecture +Firmware Framework for Arm v8-A") [0] + +In the case of a Non-secure virtual FF-A instance, the hypervisor +(e.g. Linux KVM) can use this binding to create and launch VM partitions. + +The SMCCC conduit available in the VM partition itself is used and hence +there is no explicit binding to specify the conduit used for PSA FFA +interface. + +Required properties: + +- compatible : Should be one of: + "arm,psa-ffa" + +- One or more child nodes, each describing an PSA FFA partition using the + following required properties: + + - compatible: Should be one of: + "arm,psa-ffa-partition" + + - uuid : The 128-bit UUID [2] of the service implemented by this partition, + represented as a string. + +[0] https://developer.arm.com/docs/den0077/latest +[1] https://tools.ietf.org/html/rfc4122 + +Example: + + #address-cells = <2>; + #size-cells = <2>; + + firmware { + psa-ffa { + compatible = "arm,psa-ffa"; + + partition0: psa_ffa_partition { + compatible = "arm,psa-ffa-partition"; + uuid = "12345678-9abc-def0-1234-56789abcdef0"; + }; + }; + }; -- 2.17.1