From patchwork Tue Jun 19 19:44:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 139249 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5613513lji; Tue, 19 Jun 2018 12:44:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJDNYNTYNVdMZqty2vjUbtjLfEi5usPelDvTand81PJCJuaBlRunIQPXNYodqAc5IdopMuE X-Received: by 2002:a17:902:a416:: with SMTP id p22-v6mr20420624plq.228.1529437488926; Tue, 19 Jun 2018 12:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529437488; cv=none; d=google.com; s=arc-20160816; b=Y/wIdn26zF8IPvTaoU5mo9GfzWXdLnL9wZqMR/CrPniEvD2RsyP0yXJUyZPyUA3PSb 8MrQP7bE91mR/3FvLeRWobJeoECYFS1op5ya7ozTOn2utqitGr44Fq946r75dUb0C29P gThXc3YQD+JoRWefaFp7ABcbQfGgHLdQOm5u1dpKsjNOlout63HETqC2vHfa1g71l5i7 9FaVPeTlfkoXXV3VpVNFrHNaMqTjS5w3PSrFcwcBvtHJhWOA7dMVgyaHt0SDGW47i3+E RyhSXcYTYnG2RKGT4baNcWcJ0mOz/BoYmfgW9OymRbBHDRnyZ9HMZlkOX/xukLeeow2s j4mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=tOufl+clZ7Pp04dHYCc47I/luXsWVQvAIAhVS+WTirA=; b=T7p136+O00GG0OLptUiB2NRWkuz9ualU1YzeBtqlQcImT87XfNwzYvaozdVhDhnfgZ zHlrmCj4JNFjHt70Ml5ipRPqeNb6D14zFj1pzfaITMKSfPZjkq/kTLAvSHI1AY4RdBCe 5RsLY/2azxPMJ1/LuqFaSDZlxdgfz5M/Jdp1TnGJQ0ePVtHB+VGzZt+StJZYJC342yQb +Dzxy6+Vs3heGSkdsM9y/uXIHGjhcmvZphRLbdn9G6dlAxgdHNXWr1ravSGzmnyQPX/S rnp2CVko6jKLfJ0dHOKZC6iaJe1xY4wRX9LFkjONBKVFpN4+Oez//YYQF/h1vpVML4/e XNxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=BI2qful5; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i16-v6si440479pfi.234.2018.06.19.12.44.48; Tue, 19 Jun 2018 12:44:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=BI2qful5; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030349AbeFSTor (ORCPT + 5 others); Tue, 19 Jun 2018 15:44:47 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:39568 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967180AbeFSToo (ORCPT ); Tue, 19 Jun 2018 15:44:44 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w5JJiNBF013531; Tue, 19 Jun 2018 14:44:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1529437463; bh=vC/hVCEnsnqgO16+5+0pBTbwFdr+b44P2IzODUUMfes=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=BI2qful5xuX5zCUeH7ySkqDEaO8IgVI771Ll2B2JAlweEl8Ji7tFJYnFZnnEwp1el CRrkLfDGLCSj9jrRpgvfzH1BxAwJ+jofIgwEKre4Z3BcUGtvhc4Fwbz8+ZGM/0XSId Yxz1ta5CtSd1AEu9xeCuXMmOqieY/3eYH9pG4QjA= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w5JJiMFG010275; Tue, 19 Jun 2018 14:44:23 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 19 Jun 2018 14:44:22 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 19 Jun 2018 14:44:22 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w5JJiMj5000623; Tue, 19 Jun 2018 14:44:22 -0500 From: Nishanth Menon To: Mark Rutland , Rob Herring , Santosh Shilimkar , Tero Kristo CC: Nishanth Menon , , , Subject: [PATCH 1/2] Documentation: dt: keystone: ti-sci: Add optional host-id parameter Date: Tue, 19 Jun 2018 14:44:20 -0500 Message-ID: <20180619194421.3432-2-nm@ti.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180619194421.3432-1-nm@ti.com> References: <20180619194421.3432-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Texas Instrument's System Control Interface (TISCI) permits the ability for OSs running in virtual machines to be able to independently communicate with the firmware without the need going through an hypervisor. The "host-id" in effect is the hardware representation of the host (example: VMs locked to a core) as identified to the System Controller. Hypervisors can either fill in appropriate host-ids in dt used for each VM instance OR may use prebuilt blobs where the host-ids are pre-populated, as appropriate for the OS running in the VMs. This is introduced as an optional parameter to maintain consistency with legacy device tree blobs. We call this with a vendor prefix to prevent any possible confusion with SCSI ID (m68k) kernel option. Signed-off-by: Nishanth Menon --- Changes since RFC: * Commit message update to elaborate usage in VM RFC: https://patchwork.kernel.org/patch/10447753/ Documentation/devicetree/bindings/arm/keystone/ti,sci.txt | 4 ++++ 1 file changed, 4 insertions(+) -- 2.15.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.txt b/Documentation/devicetree/bindings/arm/keystone/ti,sci.txt index 31f5f9a104cc..b56a02c10ae6 100644 --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.txt +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.txt @@ -45,11 +45,15 @@ Optional Properties: debug_messages - Map the Debug message region - reg: register space corresponding to the debug_messages - ti,system-reboot-controller: If system reboot can be triggered by SoC reboot +- ti,host-id: Integer value corresponding to the host ID assigned by Firmware + for identification of host processing entities such as virtual + machines Example (K2G): ------------- pmmc: pmmc { compatible = "ti,k2g-sci"; + ti,host-id = <2>; mbox-names = "rx", "tx"; mboxes= <&msgmgr &msgmgr_proxy_pmmc_rx>, <&msgmgr &msgmgr_proxy_pmmc_tx>;