Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1438599pxb; Fri, 27 Aug 2021 08:52:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJ4bhQQ2VqRJxlyVPhiEjHinHKTK+XEhzhA4PwFvdLjrGFAhrh3RvFcVqL1TuzCJMZgidZ X-Received: by 2002:a05:6402:1bd1:: with SMTP id ch17mr10393160edb.99.1630079551893; Fri, 27 Aug 2021 08:52:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630079551; cv=none; d=google.com; s=arc-20160816; b=hjXTEYythzSj2jccH7b4cCDr2qnXCRv72TTNH1iSK2lOmrpDfA5IaRuwcwa0uS/XTP fG1YJYbiXNsDuQbvWZSKpsh7AMqRFN9uCwWEc92tWNpGEyEIoWbtDcyjmIrh555niJnG oQ+5nPSu18KHRDGWXNSQye92EryPDT9kxW0tiR6L2Z2lP/2rarwAOzKaMSXXebI3ydpi 8QNj4wC+LWuFDRvG61T9LVIhqo/haz0bIHP82C7q0UVGk7Q7g6NYqUXi1zS0yZoTRStN zPuoiDSW8AKRT/PPoDKT6ZKY2APBDnkGvO6mOpmJSO0e1CvHZVIyJ2l7l4F3mCInSOY4 4AYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GL/qxUBA8uZx50tfYHTUj1+Hmi3Ct9VjpiAt5lrDrOQ=; b=Cgg0NsBQ8mTyHthn1jBctUg6g9NR2FzyxJE1YnASV9baOSJ2YV3g3Wix5f9hXed/eu s7//5VzyryqDwshE4aldY8H+MkqZT+bMlzQn/03+cLSK/fiuBQEcRKpagot8eKdeMu4i j4oAxBTAMODE0dK6feND5lfE0qxO5+l7YJ6b8ZvxfTXQxMoHHjvC9xE6HX7EjoI8nC5p 0JAsk8DUVLbcSpieX3ZKuKRHWtvu7e6ccRz9feGLlJ2Euv+7P+HQolFWw1edOWbnZQnV acZ/VL4euwm+t0+3ON67CNn4Plbq3LAggS2sA/nsQrROT8sVQ2IhVKlwBGoGqhXLGRWf u1EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=LURzJO82; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si6069599edq.468.2021.08.27.08.52.02; Fri, 27 Aug 2021 08:52:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=LURzJO82; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245476AbhH0Put (ORCPT + 99 others); Fri, 27 Aug 2021 11:50:49 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:13434 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244511AbhH0Pur (ORCPT ); Fri, 27 Aug 2021 11:50:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1630079399; x=1661615399; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GL/qxUBA8uZx50tfYHTUj1+Hmi3Ct9VjpiAt5lrDrOQ=; b=LURzJO82FmEKAfGZcqP4Y+X4p8IjZuC2VLRVgk+A1+15vtR0qCQZXeh3 08sgofdluMq3QXD1CYf3k8DZnqK4W4VUMFqx15Yxb3taYbmE/6BO596Ti bF6KJ/n9UkLdbSctlCLyAbfOx8IMQqjXaT1YwVXpPAbWvXIr6YyEjLzDR o=; X-IronPort-AV: E=Sophos;i="5.84,357,1620691200"; d="scan'208";a="132769089" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-2101.iad2.amazon.com with ESMTP; 27 Aug 2021 15:49:55 +0000 Received: from EX13D16EUB003.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com (Postfix) with ESMTPS id B9D2BA2C6C; Fri, 27 Aug 2021 15:49:53 +0000 (UTC) Received: from 38f9d34ed3b1.ant.amazon.com (10.43.162.52) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Fri, 27 Aug 2021 15:49:47 +0000 From: Andra Paraschiv To: linux-kernel CC: Alexandru Ciobotaru , Greg KH , Kamal Mostafa , "Alexandru Vasile" , Paolo Bonzini , "Stefano Garzarella" , Stefan Hajnoczi , Vitaly Kuznetsov , kvm , ne-devel-upstream , Andra Paraschiv Subject: [PATCH v3 1/7] nitro_enclaves: Enable Arm64 support Date: Fri, 27 Aug 2021 18:49:24 +0300 Message-ID: <20210827154930.40608-2-andraprs@amazon.com> X-Mailer: git-send-email 2.20.1 (Apple Git-117) In-Reply-To: <20210827154930.40608-1-andraprs@amazon.com> References: <20210827154930.40608-1-andraprs@amazon.com> MIME-Version: 1.0 X-Originating-IP: [10.43.162.52] X-ClientProxiedBy: EX13D23UWA004.ant.amazon.com (10.43.160.72) To EX13D16EUB003.ant.amazon.com (10.43.166.99) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update the kernel config to enable the Nitro Enclaves kernel driver for Arm64 support. Signed-off-by: Andra Paraschiv Acked-by: Stefano Garzarella --- Changelog v1 -> v2 * No changes. v2 -> v3 * Move changelog after the "---" line. --- drivers/virt/nitro_enclaves/Kconfig | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/virt/nitro_enclaves/Kconfig b/drivers/virt/nitro_enclaves/Kconfig index 8c9387a232df8..f53740b941c0f 100644 --- a/drivers/virt/nitro_enclaves/Kconfig +++ b/drivers/virt/nitro_enclaves/Kconfig @@ -1,17 +1,13 @@ # SPDX-License-Identifier: GPL-2.0 # -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. # Amazon Nitro Enclaves (NE) support. # Nitro is a hypervisor that has been developed by Amazon. -# TODO: Add dependency for ARM64 once NE is supported on Arm platforms. For now, -# the NE kernel driver can be built for aarch64 arch. -# depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP - config NITRO_ENCLAVES tristate "Nitro Enclaves Support" - depends on X86 && HOTPLUG_CPU && PCI && SMP + depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP help This driver consists of support for enclave lifetime management for Nitro Enclaves (NE). -- 2.20.1 (Apple Git-117) Amazon Development Center (Romania) S.R.L. registered office: 27A Sf. Lazar Street, UBC5, floor 2, Iasi, Iasi County, 700045, Romania. Registered in Romania. Registration number J22/2621/2005.