Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3658875imj; Tue, 19 Feb 2019 07:18:25 -0800 (PST) X-Google-Smtp-Source: AHgI3IY8JhstlbG1GHwaOwh0KYgllP90/t5arNKu+VfTT0yTg+BDHg60s5wk3Pts/o1DAyLQptqD X-Received: by 2002:a62:1c45:: with SMTP id c66mr30151116pfc.90.1550589505717; Tue, 19 Feb 2019 07:18:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550589505; cv=none; d=google.com; s=arc-20160816; b=MTJrAEWxW6JPfd4UxRM1cDmR8/1IFdP8/Mklq31FwwwkJj989uxRCAnNYZTUWIpJ1A XHre/1DnMwANvdfdsoFc3DZS1L+HsZdcUDz1IIMeNK/qzhGTTfjey7v9oM6Pb/iDDtoK 4VyiZMrFV+FqIVj8pyheBejH5lMwOZiKz24vswAW/69Y+hc73QlPBLI6oWJDa2yU2GHM XcyARLJqlzRK3RAkHRlAnZdQomoUdwdG9Uje2W2it9tQitMZtlPQjSEgjQNL1W92kFSS b5+iDsdKypZ5YCBwmxB52ZI5aa4xvxBSRHbFJk0JpqVqUE71eKtYrDNsxCii/tX5iKXk yKyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=BYlzNNWyHUCstXKH0TOiCRgyDv5enfk/Nf13jmonVTs=; b=XD7diSFTxX/wsPCH4HzlmbD1S74zFEUBxRcrV3jCfBLdAoqKKl+HaGYj05k3R6ZnC8 4n98Jvo/teKRYgmNhDKn9s2iffT5fYArZyRFUoiZkTpUHv096EjH7QktFSBfsV7NGNMx EYaGG9IC9a1QQzs+McJeXcUXaM+2XHnmeHnH5LXyXveumGikUYMwfd/OwxllVe5yleLA p1KGrDGkGD/5isGmS9smnAV3xZQ1+ynmMuB3CcnNM7LF8dqFuCmuSpqK5JJpcvb8gTxc jmgsX3Mtd8u2OfkH2Mol4TuvbyQiSs+0hNLYBjfeUUrGSOE0yPdiDfHbFTkhhzLoG+dv t7LQ== 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 a1si14973395pgw.142.2019.02.19.07.18.09; Tue, 19 Feb 2019 07:18:25 -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 S1728956AbfBSPRI (ORCPT + 99 others); Tue, 19 Feb 2019 10:17:08 -0500 Received: from mga18.intel.com ([134.134.136.126]:65209 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727233AbfBSPRH (ORCPT ); Tue, 19 Feb 2019 10:17:07 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Feb 2019 07:17:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,388,1544515200"; d="scan'208";a="125586257" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga008.fm.intel.com with ESMTP; 19 Feb 2019 07:17:06 -0800 From: richard.gong@linux.intel.com To: catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, olof@lixom.net, dinguyen@kernel.org, atull@kernel.org, mdf@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, todd.riffel@intel.com, richard.gong@linux.intel.com, Richard Gong Subject: [RESEND PATCHv2] arm64: defconfig: enable fpga and service layer Date: Tue, 19 Feb 2019 09:24:17 -0600 Message-Id: <1550589857-10359-1-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Gong Enable FPGA framework, Intel Stratix10 SoC FPGA manager, Stratix10 service layer, and Altera Freeze Bridge drivers. Intel Stratix10 service layer driver was added with commit 7ca5ce896524 ("firmware: add Intel Stratix10 service layer driver"). Intel Stratix10 service layer provides kernel APIs for drivers to request access to the secure features. Such features include FPGA programming, remote status update, and read and write secure registers. While clients of the service layer can be built as modules, the service layer itself has to be configured as built-in. The service layer is dependent on ARCH_STRATIX10. Enabling Altera Freeze Bridge depends on commit 38cd7ad5bd25 ("fpga: altera_freeze_bridge: remove restriction to socfpga"). Signed-off-by: Richard Gong --- v2: add to enable FPGA framework, Intel Stratix10 SoC FPGA manager and Altera freeze bridge drivers. --- arch/arm64/configs/defconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 931429d9..96c52f4 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -733,6 +733,13 @@ CONFIG_QCOM_QFPROM=y CONFIG_ROCKCHIP_EFUSE=y CONFIG_UNIPHIER_EFUSE=y CONFIG_MESON_EFUSE=m +CONFIG_INTEL_STRATIX10_SERVICE=y +CONFIG_FPGA=m +CONFIG_FPGA_MGR_STRATIX10_SOC=m +CONFIG_FPGA_BRIDGE=m +CONFIG_ALTERA_FREEZE_BRIDGE=m +CONFIG_FPGA_REGION=m +CONFIG_OF_FPGA_REGION=m CONFIG_TEE=y CONFIG_OPTEE=y CONFIG_EXT2_FS=y -- 2.7.4