Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2079754imu; Tue, 6 Nov 2018 08:47:31 -0800 (PST) X-Google-Smtp-Source: AJdET5dKckT1P2H8EaUWElQu8AoXzS6S7faLCbgQtUqp5p1R+v5RSApdZTLPpSrLNyadPZVUZMSS X-Received: by 2002:a17:902:1347:: with SMTP id r7-v6mr2930553ple.238.1541522850955; Tue, 06 Nov 2018 08:47:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541522850; cv=none; d=google.com; s=arc-20160816; b=bu2iowcKs/6yXQVqnp5dq8lB6Ul4qVZFO3w/khlI/zCoy8mK9bD2LMcY9JsVHHALvO 8YJtOGbPrZsRwxo99QIoZ0SHzdLr67Bo4wE+X+JHFQb802PjrtDk9hSI0SihDf+x4ZOI 8WD+BLsj13vL4nV0DY1XT6PZj2woTm7R3T763KvA4JHvNobxmVDoBMDEwrnzNDEPzK/H 8b3xnAw4r5MGNV4gbC+t7WCfPqghgg+0YqCCaKjwGrlHTqTiM9Ja4vH2k4XluPTh+L9J Auc18oWRahUxjyZzne40ulpnR5X23rDrjtJsXShdvzfaSXN91DbirRyCkzTtuYiGCZae Mmpg== 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=MOdMis96rE3apOy9pu7vdilmuTMv9A91qMxmJtMl9yw=; b=eKkr6OZv7Xv3oGmy479+2i/aEBPN89lnBSjx7WnP3hwtZBJEno1+6AvZqx5iG8SLnf Tve3aXJ2Ailz8jc2CoW+PShRmjIhhwIcBcEikCsgliMGWsaQSniPCla+0G4TxvSSh8/0 0zUccOjVBxvdeHrYh5jJHaIOiBydTqCoottdbIXlIM0PP6wkc6MuEIaSMMSuiS4rOV8r zigzWsmE8LpfCDze+NzQPoZ4lqz7+rBD3Ds8N3qupFyIZJxARoT8W0Zf8QSrLvoNXAtJ +VAaTkgFBa8zz1PbA3bO/sCKMfFAfjXLfXyFe1O/1VE7hNJL6ZWvwqtHD/nhO1YyRzJE klRw== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10-v6si46550798pgv.487.2018.11.06.08.47.15; Tue, 06 Nov 2018 08:47:30 -0800 (PST) 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389456AbeKGCMd (ORCPT + 99 others); Tue, 6 Nov 2018 21:12:33 -0500 Received: from mga18.intel.com ([134.134.136.126]:42741 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388935AbeKGCMd (ORCPT ); Tue, 6 Nov 2018 21:12:33 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2018 08:46:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,472,1534834800"; d="scan'208";a="83755949" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga007.fm.intel.com with ESMTP; 06 Nov 2018 08:46:27 -0800 From: richard.gong@linux.intel.com To: gregkh@linuxfoundation.org, catalin.marinas@arm.com, will.deacon@arm.com, dinguyen@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, atull@kernel.org, mdf@kernel.org, arnd@arndb.de, corbet@lwn.net Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-fpga@vger.kernel.org, linux-doc@vger.kernel.org, todd.riffel@intel.com, richard.gong@intel.com Subject: [PATCHv10 2/8] arm64: dts: stratix10: add stratix10 service driver binding to base dtsi Date: Tue, 6 Nov 2018 10:52:46 -0600 Message-Id: <1541523172-5171-3-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541523172-5171-1-git-send-email-richard.gong@linux.intel.com> References: <1541523172-5171-1-git-send-email-richard.gong@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Gong Add Intel Stratix10 service layer to the device tree Signed-off-by: Richard Gong Signed-off-by: Alan Tull Acked-by: Moritz Fischer --- v2: change to put service layer driver node under the firmware node change compatible to "intel, stratix10-svc" v3: no change v4: s/service driver/stratix10 service driver/ in subject line v5: no change v6: add Moritz's Acked-by v7: no change v8: no change v9: no change v10: no change --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index 8253a1a..a43ed05 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi @@ -24,6 +24,19 @@ #address-cells = <2>; #size-cells = <2>; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + service_reserved: svcbuffer@0 { + compatible = "shared-dma-pool"; + reg = <0x0 0x0 0x0 0x1000000>; + alignment = <0x1000>; + no-map; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -534,5 +547,13 @@ status = "disabled"; }; + + firmware { + svc { + compatible = "intel,stratix10-svc"; + method = "smc"; + memory-region = <&service_reserved>; + }; + }; }; }; -- 2.7.4