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: 10475367 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A8BD26029B for ; Tue, 19 Jun 2018 20:01:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94D1B28AF5 for ; Tue, 19 Jun 2018 20:01:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8747528BC9; Tue, 19 Jun 2018 20:01:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 126E428AF5 for ; Tue, 19 Jun 2018 20:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y//RkwYYFC2Spl495+0X7vdmsgXn3dGWfsqX1O7bKME=; b=sb6Azs9RY9mS3o 9XS8cfhCT4G7v5afkGcjDewVBuqjduOVPScBRWpDEwvrXNwwTZSs2INm5RKbgCxR2Pp0cLtsCD4GT /hDjJBPC4TcKS9TaF4BJgUyd0eki8Y+PPJl3Y+ksmbRF3gYNNp2Bvb8s6au5yMJTHmgfyCC+zCw9k oEZas+0EmHWQfMa0FGkDQZckc1uiiz8juxoA1uqg57HHQmMAxPWDr+cp7VxQ3hyRmo/HKsKjO2OCq zS8FD3kuujbdadZyTLVwVrUaX2CUvflgCTt8uFN3bxUVS5+rl83a1mJbGtc2GNM+imaEZR6eRKPpn AZzdoAzYSa144QfIl+qA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVMoi-0002aw-A0; Tue, 19 Jun 2018 20:01:28 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVMog-0002O4-8B for linux-arm-kernel@bombadil.infradead.org; Tue, 19 Jun 2018 20:01:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vC/hVCEnsnqgO16+5+0pBTbwFdr+b44P2IzODUUMfes=; b=M7UZeNX8JjZUNbwDw/k0GBQzb Dg4KFcLjLqQe5BbD1csyKRf4BNmghUmvr+JWL8tnvVVfIb1rRuugZnD1ycTlZXL+3Y94xG1l6JW5U 9vZ1fp7qo0dSlTvVdWPPo0fEYdH4EVc4AziMmyO4vT9IKYEzbnn145kOPpz2D59ozjfYq8zTWJPuw a9NGdtPkCs/M9M60ZMwPDfj1P7yMRzrRPpnTN1lBppZNChJOKkIdrDxMIticyxASWehKQJqxGXB0G wgpzhPKlm8oCNSiEzPVuPlBgdxVLx5WhtpHFzZjdXOqCtUNhe07t3U8CIkodOozZYDu6o5ObgNP/A OyVl7O7BQ==; Received: from fllnx209.ext.ti.com ([198.47.19.16]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVMYT-0001lr-4a for linux-arm-kernel@lists.infradead.org; Tue, 19 Jun 2018 19:44:44 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180619_204441_399624_3EEBDC86 X-CRM114-Status: GOOD ( 10.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nishanth Menon , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Rob Herring --- 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(+) 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>;