Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp645296ybb; Thu, 28 Mar 2019 09:21:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwg4dnX8yoPScwTKeyPi1NtPhsd6J+Svd+wK2aOyj5lE8HtIFiQ3J5bWp8eWlC5D2pGag6I X-Received: by 2002:a17:902:8a96:: with SMTP id p22mr42783170plo.113.1553790115065; Thu, 28 Mar 2019 09:21:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553790115; cv=none; d=google.com; s=arc-20160816; b=pRfNcJpxen+nozyMsIvzZkobJ0orBfHXO4d7E6i1AoFqT7CqokNhFB6RFfNmzLK5Zr ZP34utMaPZZuDB4AvLf3xoKQUMTTjUV+qSsNtbrGb1XvARDxN5QUkTyZAd5eUC9xsvsC p3yg1l96QuQeejSOHEOvrFtyVRzACamZFQ+YljASuL1eH80Hiaf41SLfcseTyapI8XFV oc6cJdY64kF5qtSqckQMeiSfl0zWYpWsxFZEkQ5Y9MlbVHj9d+iImxUaMBl0IO/IvlhD wOg6vqSk3Vgl+CKfRe6MGjWaQH8NrKjn4auIHvSIhUXRNwjlAHHppAx18h1T9TmQJtlq ytHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=NH//9tDBYnR+5qPnDYevvPgDhn10PKgs81FJZqj/xDw=; b=GAxK9Dl6hg3DhobG166jusY44M2e43QPDWCsCUmqQ6kxahbqQFWTQHUM/8eivZM2Pw VjJUYZTB1bJ8L3iEUrW2KicsIVvrUZVHiwyb/nRMkWIZQd9edRkjs+Gce0IlM8PhZV27 XnjGThWepkE3f+G5mpeaWOFuahlDh/iNVsdmoKvufeUNan+H8k587LCCZ5jR6SQXWIZK FDl8BjZHIgGhd/M8e7yPaHDlxFGXayPDRXQBD1VlM0xRzVmkBBSVEiewWsjXzxbnD9vL V+3YtLVjl1Czz/R6bDPAvGVtIXJWtBv7WaNpM2m0TKzrdzvZw8lzMFW8tOroQAtC/VRo 9OoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YSMKa6FC; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si18178162pgj.329.2019.03.28.09.21.38; Thu, 28 Mar 2019 09:21:55 -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=@kernel.org header.s=default header.b=YSMKa6FC; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726235AbfC1QVD (ORCPT + 99 others); Thu, 28 Mar 2019 12:21:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:52034 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbfC1QVD (ORCPT ); Thu, 28 Mar 2019 12:21:03 -0400 Received: from [192.168.1.3] (cpe-70-114-128-244.austin.res.rr.com [70.114.128.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6D2FA20823; Thu, 28 Mar 2019 16:21:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553790062; bh=zbEw58eVJsnkbsdL4RSRNIBC76bieC36Ixbjdk4+0ko=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=YSMKa6FCkZ1DwMrfHn66tFlbwgJ/jrKNYrnnSphAMhYwJHijlP8wNDj/r7gp772A2 0glpyY6MfJVrhBeQbbgwIYxsiZ13G9IuKj4NTy3f7Izkgh8wsocKjmqw7HrcjtXn6A WpaZq+BnNFB84DuYs+6+neqsj6DewyZmjmAf5IsY= Subject: Re: [RESEND PATCHv2] arm64: defconfig: enable fpga and service layer To: richard.gong@linux.intel.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, olof@lixom.net, atull@kernel.org, mdf@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, todd.riffel@intel.com, Richard Gong References: <1550589857-10359-1-git-send-email-richard.gong@linux.intel.com> From: Dinh Nguyen Openpgp: preference=signencrypt Autocrypt: addr=dinguyen@kernel.org; prefer-encrypt=mutual; keydata= mQINBFEnvWwBEAC44OQqJjuetSRuOpBMIk3HojL8dY1krl8T8GJjfgc/Gh97CfVbrqhV5yQ3 Sk/MW9mxO9KNvQCbZtthfn62YHmroNwipjZ6wKOMfKdtJR4+8JW/ShIJYnrMfwN8Wki6O+5a yPNNCeENHleV0FLVXw3aACxOcjEzGJHYmg4UC+56rfoxPEhKF6aGBTV5aGKMtQy77ywuqt12 c+hlRXHODmXdIeT2V4/u/AsFNAq6UFUEvHrVj+dMIyv2VhjRvkcESIGnG12ifPdU7v/+wom/ smtfOAGojgTCqpwd0Ay2xFzgGnSCIFRHp0I/OJqhUcwAYEAdgHSBVwiyTQx2jP+eDu3Q0jI3 K/x5qrhZ7lj8MmJPJWQOSYC4fYSse2oVO+2msoMTvMi3+Jy8k+QNH8LhB6agq7wTgF2jodwO yij5BRRIKttp4U62yUgfwbQtEUvatkaBQlG3qSerOzcdjSb4nhRPxasRqNbgkBfs7kqH02qU LOAXJf+y9Y1o6Nk9YCqb5EprDcKCqg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24chY9PICcMw+VeEgHZJAhuARKglxiYj9szirPd2kv4CFu2w6a5HNMdVT+i5Hov cJEJNezizexE0dVclt9OS2U9Xwb3VOjs1ITMEYUf8T1j83iiCCFuXqH4U3Eji0nDEiEN5Ac0 Jn/EGOBG2qGyKZ4uOec9j5ABF7J6hyO7H6LJaX5bLtp0Z7wUbyVaR4UIGdIOchNgNQk4stfm JiyuXyoFl/1ihREfvUG/e7+VAAoOBnMjitE5/qUERDoEkkuQkMcAHyEyd+XZMyXY Message-ID: <79ad98a4-0945-7716-8929-4db9f9f4fb69@kernel.org> Date: Thu, 28 Mar 2019 11:21:00 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <1550589857-10359-1-git-send-email-richard.gong@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Richard, On 2/19/19 9:24 AM, richard.gong@linux.intel.com wrote: > 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(+) > I've made a change to this patch and applied it. Thanks, Dinh --- diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2b8c479d88bb..74b6cadde31c 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -84,6 +84,7 @@ CONFIG_ARM_SCPI_CPUFREQ=y CONFIG_ARM_TEGRA186_CPUFREQ=y CONFIG_ARM_SCPI_PROTOCOL=y CONFIG_RASPBERRYPI_FIRMWARE=y +CONFIG_INTEL_STRATIX10_SERVICE=y CONFIG_TI_SCI_PROTOCOL=y CONFIG_EFI_CAPSULE_LOADER=y CONFIG_IMX_SCU=y @@ -736,6 +737,12 @@ CONFIG_QCOM_QFPROM=y CONFIG_ROCKCHIP_EFUSE=y CONFIG_UNIPHIER_EFUSE=y CONFIG_MESON_EFUSE=m +CONFIG_FPGA=y +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