Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1327297pxb; Fri, 27 Aug 2021 06:34:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUiHpkvElzuhnRQtN37mxVUZM6yoeyeirCmFKAfnCQr5WZc98tdHbqeDdyZFYZrPg3ISil X-Received: by 2002:a05:6e02:1888:: with SMTP id o8mr6661126ilu.124.1630071246212; Fri, 27 Aug 2021 06:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630071246; cv=none; d=google.com; s=arc-20160816; b=mAzN2TVCXeiI7O/Gn6TsHp4JznUvdE50UiB8gsYge6Dg3QHV9K11EQyWhqYrzBlfuJ 5pPOGwFqdTid7zu6tLCeOfCfx4n9VhbPcL+4b+yPTw6afXhbA/EnPI7GZrqe1DKLW1Nw Ibd8zaCOBUpN9a6ZgMdEYjsVeQ1Afbp+yzh/bfiIuFmWlyEslO1oq9hfJNlc8z+HeRBa XmxQFUGflbuM6n5ta5qVxiViII5fo48JpvUzVo/9cWCnVkODRmqSyAf3ynn4m/pcLIDA Tfxhe6PkHWlHKGHscnjE55BZBqg6bABup+hiZI1HKiTIpXtNFP3hgEyLuvo7G+0vd64m zyJQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=zxYwY/HPK3XxwBzaETzcaS/QD3RxQ/CQo8EN3IHr37g=; b=nj34i7nAboWMCpZnX756+9+xUsgzJu8gk+Tf4uHU/nY+DSQrnoJXo7C0sM4FXxJKgf bobTodoDI6ota9o1ImHgAZ8P3r40Ei0xiKkTfWHE9dXro6uT0GktiVr3UCXVgO+IdkIU j2PpqnjXjDeU5ob8XcGvylPABkILgFqH8cGoSajoH9cM9Hy5pqNjacuTmUUKasrYxhj/ kLnXNs0049DT8LUGWQ/QHx9XVPO2CPNTaTg1lAYN7Y9BgRUL3mEhiUQ6fQTQfDx72iJ9 2EnMw3yMmrmC8EibZ9GypqFGYWKBJRUC29mJcVrVq99X/90YTh6vhkTbA8bEajs3UjtQ q/Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=pPsmEdWD; 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 c18si5615216ioz.59.2021.08.27.06.33.53; Fri, 27 Aug 2021 06:34:06 -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=pPsmEdWD; 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 S245199AbhH0Ndl (ORCPT + 99 others); Fri, 27 Aug 2021 09:33:41 -0400 Received: from smtp-fw-9103.amazon.com ([207.171.188.200]:37225 "EHLO smtp-fw-9103.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232220AbhH0Ndl (ORCPT ); Fri, 27 Aug 2021 09:33:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1630071172; x=1661607172; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=zxYwY/HPK3XxwBzaETzcaS/QD3RxQ/CQo8EN3IHr37g=; b=pPsmEdWDxMJsAoa9SKBX3b5aL/wIdpsvA6wXvR5nAKOWD3dqVmEEGb+d yt7LVZnLkgE+QG19Lak6YeNA6mwXaHmnADtTFWlxBGQUf0yosZjjYoM2E /n0bApX61uDMtO5b0Hgwq5yBK7IyzhO1pk5z2QuwMEoEUorPS6PpFh8yo M=; X-IronPort-AV: E=Sophos;i="5.84,356,1620691200"; d="scan'208";a="953537386" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-2c-4e7c8266.us-west-2.amazon.com) ([10.25.36.210]) by smtp-border-fw-9103.sea19.amazon.com with ESMTP; 27 Aug 2021 13:32:45 +0000 Received: from EX13D16EUB003.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-2c-4e7c8266.us-west-2.amazon.com (Postfix) with ESMTPS id 525B1A0717; Fri, 27 Aug 2021 13:32:45 +0000 (UTC) Received: from 38f9d34ed3b1.ant.amazon.com (10.43.161.176) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Fri, 27 Aug 2021 13:32:38 +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 v2 0/7] nitro_enclaves: Add support for Arm64 Date: Fri, 27 Aug 2021 16:32:23 +0300 Message-ID: <20210827133230.29816-1-andraprs@amazon.com> X-Mailer: git-send-email 2.20.1 (Apple Git-117) MIME-Version: 1.0 X-Originating-IP: [10.43.161.176] X-ClientProxiedBy: EX13d09UWA004.ant.amazon.com (10.43.160.158) 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 of the Nitro Enclaves kernel driver to enable Arm64 support. Add Arm64 specific references to its documentation. While at it, fix a set of reports from checkpatch and kernel-doc scripts. Thank you, Andra --- Patch Series Changelog The patch series is built on top of v5.14-rc7. GitHub repo branch for the latest version of the patch series: * https://github.com/andraprs/linux/tree/ne-driver-arm-support-v2 v1 -> v2 * Add information about supported architectures for the NE kernel driver. * Update comments for send / receive buffer sizes for the NE PCI device. * Split patch 3 that includes fixes for the checkpatch and kernel-doc reports into multiple ones. * v1: https://lore.kernel.org/lkml/20210826173451.93165-1-andraprs@amazon.com/ --- Andra Paraschiv (7): nitro_enclaves: Enable Arm64 support nitro_enclaves: Update documentation for Arm64 support nitro_enclaves: Add fix for the kernel-doc report nitro_enclaves: Update copyright statement to include 2021 nitro_enclaves: Add fixes for checkpatch match open parenthesis reports nitro_enclaves: Add fixes for checkpatch spell check reports nitro_enclaves: Add fixes for checkpatch blank line reports Documentation/virt/ne_overview.rst | 21 +++++++++++++-------- drivers/virt/nitro_enclaves/Kconfig | 8 ++------ drivers/virt/nitro_enclaves/ne_misc_dev.c | 17 +++++++++-------- drivers/virt/nitro_enclaves/ne_pci_dev.c | 2 +- drivers/virt/nitro_enclaves/ne_pci_dev.h | 8 ++++++-- include/uapi/linux/nitro_enclaves.h | 10 +++++----- samples/nitro_enclaves/ne_ioctl_sample.c | 7 +++---- 7 files changed, 39 insertions(+), 34 deletions(-) -- 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.