[SRU][PULL][aws/groovy] nitro_enclaves driver
Kamal Mostafa
kamal at canonical.com
Thu Nov 5 18:41:36 UTC 2020
BugLink: https://bugs.launchpad.net/bugs/1903087
Add the nitro_enclaves driver from mainline to linux-aws/{focal,bionic-5.4} and
linux-aws/{groovy,hirsute}. The driver is supplied by mainline commits [see
buglink], which are all clean cherry picks for groovy with a couple of trivial
backports for focal.
This [aws/groovy] pull req needs to be applied to linux-aws/groovy;
linux-aws/hirsute (currently a copy of groovy) will copy it from there.
-Kamal
----------
The following changes since commit f352dd559e7c0ab7aa8db3b91f698e4cbbfbcbe3:
UBUNTU: Ubuntu-aws-5.8.0-1011.11 (2020-10-22 11:23:44 +0200)
are available in the Git repository at:
git://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux-aws/+git/groovy nitro-enclaves
for you to fetch changes up to 477b6165b2adb810afbb52b8834df87922450cc9:
MAINTAINERS: Add entry for the Nitro Enclaves driver (2020-11-05 07:22:33 -0800)
----------------------------------------------------------------
Andra Paraschiv (18):
nitro_enclaves: Add ioctl interface definition
nitro_enclaves: Define the PCI device interface
nitro_enclaves: Define enclave info for internal bookkeeping
nitro_enclaves: Init PCI device driver
nitro_enclaves: Handle PCI device command requests
nitro_enclaves: Handle out-of-band PCI device events
nitro_enclaves: Init misc device providing the ioctl interface
nitro_enclaves: Add logic for creating an enclave VM
nitro_enclaves: Add logic for setting an enclave vCPU
nitro_enclaves: Add logic for getting the enclave image load info
nitro_enclaves: Add logic for setting an enclave memory region
nitro_enclaves: Add logic for starting an enclave
nitro_enclaves: Add logic for terminating an enclave
nitro_enclaves: Add Kconfig for the Nitro Enclaves driver
nitro_enclaves: Add Makefile for the Nitro Enclaves driver
nitro_enclaves: Add sample for ioctl interface usage
nitro_enclaves: Add overview documentation
MAINTAINERS: Add entry for the Nitro Enclaves driver
Kamal Mostafa (1):
UBUNTU: [Config][aws] update config for NITRO_ENCLAVES
Documentation/userspace-api/ioctl/ioctl-number.rst | 5 +-
Documentation/virt/index.rst | 1 +
Documentation/virt/ne_overview.rst | 95 ++
MAINTAINERS | 13 +
debian.aws/config/config.common.ubuntu | 1 +
drivers/virt/Kconfig | 2 +
drivers/virt/Makefile | 2 +
drivers/virt/nitro_enclaves/Kconfig | 20 +
drivers/virt/nitro_enclaves/Makefile | 9 +
drivers/virt/nitro_enclaves/ne_misc_dev.c | 1733 ++++++++++++++++++++
drivers/virt/nitro_enclaves/ne_misc_dev.h | 109 ++
drivers/virt/nitro_enclaves/ne_pci_dev.c | 625 +++++++
drivers/virt/nitro_enclaves/ne_pci_dev.h | 327 ++++
include/linux/nitro_enclaves.h | 11 +
include/uapi/linux/nitro_enclaves.h | 359 ++++
samples/nitro_enclaves/.gitignore | 2 +
samples/nitro_enclaves/Makefile | 16 +
samples/nitro_enclaves/ne_ioctl_sample.c | 883 ++++++++++
18 files changed, 4212 insertions(+), 1 deletion(-)
create mode 100644 Documentation/virt/ne_overview.rst
create mode 100644 drivers/virt/nitro_enclaves/Kconfig
create mode 100644 drivers/virt/nitro_enclaves/Makefile
create mode 100644 drivers/virt/nitro_enclaves/ne_misc_dev.c
create mode 100644 drivers/virt/nitro_enclaves/ne_misc_dev.h
create mode 100644 drivers/virt/nitro_enclaves/ne_pci_dev.c
create mode 100644 drivers/virt/nitro_enclaves/ne_pci_dev.h
create mode 100644 include/linux/nitro_enclaves.h
create mode 100644 include/uapi/linux/nitro_enclaves.h
create mode 100644 samples/nitro_enclaves/.gitignore
create mode 100644 samples/nitro_enclaves/Makefile
create mode 100644 samples/nitro_enclaves/ne_ioctl_sample.c
More information about the kernel-team
mailing list