Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1207018imm; Fri, 12 Oct 2018 13:45:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV61ETo4xxmf5wtKTtJcXLAvka+bUhC7YdXg8AA9JOQxdVuIHIX67rIHnPl2pwL3AaPdmiddN X-Received: by 2002:a63:2323:: with SMTP id j35-v6mr6931415pgj.337.1539377155220; Fri, 12 Oct 2018 13:45:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539377155; cv=none; d=google.com; s=arc-20160816; b=iPoRPwt09qUoCAnu8Twiv0yYBhV5PWwD+THAopyHZNFFLKLXGF17Lbvot72XS8r7O1 bl6o00HG1Q/BW/JZD0TxEpsTcnHpJ0QAddJ0xA12KnvLXQGYAclPqKHq60ugxqfqTtjY ix+UZmJ/De9us5tGFq/lboxSVCrYCHa/ZzQLAacEN/J3+VLS5Ahaknt1kpG39uZIiB75 s3j16Z/Pe54UzdICNEBWTmuJLHX40ZRBCJyiklqH4mO6FukIiWsbfUABARO2kznOCaJt xmhTN1tXXf/UTqyCIIEtVq1MIh7EqZqJZhCXdlLWCMviWPJXZPk0pKxDtoLUjzCFxx+S CyCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=mzj3L4pyzZqMIxHpDunCaIpeLFfVR+c3zJJ0ilzi3qE=; b=ePT2esQ9FMcfZjlodVcfl+zIuNpR4aA7S1fZbnUJFTP2iSOYmA4hbLyd1kvohl+SfB df4AYlX0rHF9NLgQDqWPkAfjjRf6rGO1A0j+9X3EqzGlzfGUabFLKpzqrh1XCJ8LgsaH RWCjhoOqkOhEs3vDelKVeJqmtPrJ/gi8K9WW0bs0PbX7ChhijbmpAFDwOpHqM4KkCFZ/ ZY7fg3hRQWxAHR26ANSoQmkM7RUfPPceQbav+D3tHmsc7ZucX4nOlgCPS98Bj1T0Bzp9 Fdnhxthwtp2k2sesSrz2APW8TTwp6kuy6qJuFHWRhmui8wJZTTvwIGKwIgm4nUF5YczF pNAg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q27-v6si2371366pfd.285.2018.10.12.13.45.38; Fri, 12 Oct 2018 13:45:55 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726021AbeJMETb (ORCPT + 99 others); Sat, 13 Oct 2018 00:19:31 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:44682 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725843AbeJMETb (ORCPT ); Sat, 13 Oct 2018 00:19:31 -0400 Received: by mail-oi1-f193.google.com with SMTP id u74-v6so10843125oia.11; Fri, 12 Oct 2018 13:45:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mzj3L4pyzZqMIxHpDunCaIpeLFfVR+c3zJJ0ilzi3qE=; b=GhqnP/QE545bQO/2N99OfsL16iSFpY2IbnDg9ga9gSy7EKvW3DVPpgste7y5WS2JkE pDlMnJod8KGp7GfQ3evhCJKFZ0Cbeut2++siE0m1Ze4KzSNDA96tnp1rGREPJ5/Uvjjn mEdnodVGrZQ8hsS+PlHvFk9ntXqyl3XVG+AWhobOLAOjXtlbtZI9sS6YMfBzWUnwz6TJ jLHENNASN+fbye/O+tzLwQOMeinBjy7LcTaIVuMNN4me2zp65C5GIXE3/LgpNuSXvZqf 7rlFGpRvSZjrFCOHGYL0+ijA/VZ75I5mffNtIhnW4n9jiGwwim+UG4/s4wCxhL3VK2MN wtZQ== X-Gm-Message-State: ABuFfoj75iie4KwJ6Y8spgveFafNBqwXqBvZWQsRav+LnRSyQ/W8G2AF kleuN8y2DG/0cG7hpGcG2oa/Kbe7aQ== X-Received: by 2002:aca:ba54:: with SMTP id k81-v6mr4315744oif.177.1539377114940; Fri, 12 Oct 2018 13:45:14 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id a33-v6sm684090otc.79.2018.10.12.13.45.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Oct 2018 13:45:14 -0700 (PDT) Date: Fri, 12 Oct 2018 15:45:13 -0500 From: Rob Herring To: Jerome Forissier Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Maydell , Etienne Carriere , tee-dev@lists.linaro.org Subject: Re: [PATCH v2] Documentation: dt: Add binding for /secure-chosen/stdout-path Message-ID: <20181012204513.GA29769@bogus> References: <20181008101642.8040-1-jerome.forissier@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181008101642.8040-1-jerome.forissier@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 08, 2018 at 06:16:42PM +0800, Jerome Forissier wrote: > Some platforms may use a single device tree to describe two address > spaces, as described in d9f43babb998 ("Documentation: dt: Add bindings > for Secure-only devices"). For these platforms it makes sense to define > a secure counterpart of /chosen, namely: /secure-chosen. This new node > is meant to be used by the secure firmware to pass data to the secure > OS. Only the stdout-path property is supported for now. > > Signed-off-by: Jerome Forissier > --- > > Notes: > Sending this again, slightly modified. Previous submission was in March > 2017 [1]. Since then, OP-TEE has implemented this binding for platforms > that use DT [2] (fallback to /chosen/stdout-path to be implemented in > [3]). A patch for QEMU has been proposed [4], to which the maintainer > responded "Are the DT bindings upstream yet?" ;-) > > [1] https://patchwork.kernel.org/patch/9602401/ > [2] https://github.com/OP-TEE/optee_os/commit/4dc31c52544a > [3] https://github.com/OP-TEE/optee_os/pull/2569 > [4] https://patchwork.ozlabs.org/patch/979345/ > > Changes since v1: > - Use "should" instead of "may" ("...the Secure OS should use the value > of /chosen/stdout-path..."). > > Documentation/devicetree/bindings/arm/secure.txt | 19 ++++++++++++++++++- > 1 file changed, 18 insertions(+), 1 deletion(-) Applied. Rob