From patchwork Mon Jul 16 17:13:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 142068 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2663491ljj; Mon, 16 Jul 2018 10:13:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfGaAGzA9V58R0xzaLNE5V/THKslM+P6vsEk5Vt094JfcAS8HSoBhd/GVZKAdNcr7L9lPCM X-Received: by 2002:a62:8559:: with SMTP id u86-v6mr13181155pfd.32.1531761239478; Mon, 16 Jul 2018 10:13:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531761239; cv=none; d=google.com; s=arc-20160816; b=ZvgkfgEFkfnAOaSBCEuw5R4XSZTK3gfTkKStjkn0ea4OxQe8BFuq2c/HMBLChQQkDD /o9VmRHEw0iv99MZvUmYFWjVaJgU1etr+zq4Un9ISlZ0o9W3k5vax3MEfkhg1zlr6Ucf JPrxkbcacPu2gqCdd4dH4PUY9F8get/45vZhzvUNIqSLL8gMWIOenKFhMMVwWmmuHcOa t/Gjg6F2oa2pMLYn05fH84wCR69MSIdPa9sLcl3uwjZ/mHqVI3KPjrWveK7p5FtUY5qg sAjBxCIhAL5byPDp75zwhxD1sUGcnz7FnpdMDKRUiainEIc52zlc4e882qCMBcEK+r1M +D5w== 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=w5r2APAbMEzSegQ0QHHgmjZBAEAKucTKsYOTWFU/RLE=; b=uxUz47twHWAPIUbFJUTvbG/MAi5ruwYAeMHMO5hz03zB7p8/XFsx0sldxRfkr5Sog9 jfkjigHy8YFpLxnPPrc+V+MdfYkJ1KL1p6ASP0vb/sRnH4U0cUINMlhOuuQjmNCF6Tj6 4lbnVde6ihy1HvVIx8Y8hqkt2pZGPti62z45qUkAKUPF3vR0xM4cCtb7XvYJUz7x46Ui WI0+Ya4JNzJG3l9u0v/fw/XOAdbP7iy/QOcnzx+QOHcBj/1Q/DyMybdrKZSdqbNKtQjf 63PbnJfUGbUZ9WcF3UCBUjBopdo06lkg7a89N23DjfZ20HSbuTOCqgaQbY95tX6Tpwz5 jQjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="YczC8Y/x"; 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=pass (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 p1-v6si19273390pfp.237.2018.07.16.10.13.59; Mon, 16 Jul 2018 10:13:59 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="YczC8Y/x"; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729838AbeGPRmQ (ORCPT + 31 others); Mon, 16 Jul 2018 13:42:16 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:48156 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727652AbeGPRmP (ORCPT ); Mon, 16 Jul 2018 13:42:15 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w6GHDXnK092620; Mon, 16 Jul 2018 12:13:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1531761213; bh=w5r2APAbMEzSegQ0QHHgmjZBAEAKucTKsYOTWFU/RLE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YczC8Y/xmzyPYtugHmJ3BYAbvsJko/rx/xCdPqYDHdTSzlFsoIdDEzFdv+QAk7L7t JKoPXWRPAu2Ibdh8wJ9ZZc408jsYnZMXeLeV1NplV8bg35r5JA8pbxwxprLBe5rI+L Ay7Q8YShHg15bRCGoRWiGxz2U0jrhOtxZKJacams= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w6GHDXN2001715; Mon, 16 Jul 2018 12:13:33 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 16 Jul 2018 12:13:32 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 16 Jul 2018 12:13:32 -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 w6GHDWjb002684; Mon, 16 Jul 2018 12:13:32 -0500 From: Nishanth Menon To: Mark Rutland , Rob Herring , Santosh Shilimkar , Tero Kristo CC: Nishanth Menon , , , , Subject: [PATCH V2 1/2] Documentation: dt: keystone: ti-sci: Add optional host-id parameter Date: Mon, 16 Jul 2018 12:13:27 -0500 Message-ID: <20180716171328.11674-2-nm@ti.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180716171328.11674-1-nm@ti.com> References: <20180716171328.11674-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. Reviewed-by: Rob Herring Signed-off-by: Nishanth Menon --- Changes since V1: * Dropped the SCSI comment in commit log * Picked up Rob's Reviewed by. V1: https://patchwork.kernel.org/patch/10475311/ RFC: https://patchwork.kernel.org/patch/10447753/ Documentation/devicetree/bindings/arm/keystone/ti,sci.txt | 4 ++++ 1 file changed, 4 insertions(+) -- 2.15.1 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>;