Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5683904imu; Tue, 13 Nov 2018 10:06:46 -0800 (PST) X-Google-Smtp-Source: AJdET5fnupqNo44C6gOcLOzg6WnySDBrmIxW8y1qgRTT9jRKfrbx0Y/Ydl7z85Q+dAQJasHkqCBS X-Received: by 2002:a62:6007:: with SMTP id u7-v6mr6109601pfb.186.1542132406023; Tue, 13 Nov 2018 10:06:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542132405; cv=none; d=google.com; s=arc-20160816; b=f5nHplDCKbonUk0yyUpWCnD53DdxCyHIbXUVx2R9VpSY3a84OsKRyZMXFCVTs9nznD g19b+7YxC6P4ayONwqSmSP33jyU0wW1Y5JoIBkFRu30bL3WAWeuLvYjsH2zvEmt/KDaf M0IqtP4J1NVI977AvW27rMGiiRMYacoJq1stZbQpCBJ3u7K0RMz/RB9iuA05lt8ofzK5 N3oKL9sQ1SD7VsQgjMs8xX9hduXs+SRDg3HG9M4g5PL/n3RPJAwIOSkrYI1FdLX74112 nSz8coPKHr8lGIqa3331TpvtI1eLxfQx0u2A8M99/LrX+tAxrTqVhDiAj2gCKnmYLpkb wDOA== 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=dzAd7uWITyHmOymSx7dYHbTuxJjut2B21bph+Pkf7Uc=; b=D21YLHao30hxfPNX/VMegPq7QjEvLSWF09PSq3wKY2zmh5deRLEB+2ukfvx3GISOW/ EF65vR3Njww3sxyNFeuoHz6lw6N88ghSczuHgVVZFY6r8L85XLGXt//XX/A6bKJJX3Y8 8vV4A5aLCUVCrsVzLbCWrVyZzGJMwzvS7/ImrsJ3ck0n11cGQk9UFtqwvNeakaEN/+Vo JdM9EgunK8zK/tZwProNW7ot+TRQ33fNYfV6vDMe2tS29cshm4QBUpri//XNvt8ffKCx i2y+ABJUWjudrc1WRiIwjgSBla8u3F6UavED72d0YNSNfalj1/f49r6ilbkDIQmBlcDs qZAg== 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 v5-v6si8308924plp.85.2018.11.13.10.06.22; Tue, 13 Nov 2018 10:06:45 -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 S1732463AbeKNEE5 (ORCPT + 99 others); Tue, 13 Nov 2018 23:04:57 -0500 Received: from mga07.intel.com ([134.134.136.100]:30019 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732427AbeKNEE4 (ORCPT ); Tue, 13 Nov 2018 23:04:56 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Nov 2018 10:05:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,229,1539673200"; d="scan'208";a="279519324" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga005.fm.intel.com with ESMTP; 13 Nov 2018 10:05:42 -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@linux.intel.com, richard.gong@intel.com Subject: [PATCHv11 2/8] arm64: dts: stratix10: add stratix10 service driver binding to base dtsi Date: Tue, 13 Nov 2018 12:14:00 -0600 Message-Id: <1542132846-24168-3-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542132846-24168-1-git-send-email-richard.gong@linux.intel.com> References: <1542132846-24168-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 v11: 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 fef7351..519b16e 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>; @@ -537,5 +550,13 @@ status = "disabled"; }; + + firmware { + svc { + compatible = "intel,stratix10-svc"; + method = "smc"; + memory-region = <&service_reserved>; + }; + }; }; }; -- 2.7.4