mbox series

[disco:linux-azure,xenial:linux-azure,0/3] LP: #1844245 - Integrate Intel SGX driver into linux-azure

Message ID 20190917110547.22517-1-marcelo.cerri@canonical.com
Headers show
Series LP: #1844245 - Integrate Intel SGX driver into linux-azure | expand

Message

Marcelo Henrique Cerri Sept. 17, 2019, 11:05 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1844245

Add Intel SGX driver as a sauce driver. I added a script to fetch the
latest version of the driver source code to simplify the process of
syncing it with Intel's repository in the future.

Marcelo Henrique Cerri (3):
  UBUNTU: SAUCE: sgx-update: Add script to fetch SGX from Intel repo
  UBUNTU: [Config] linux-azure: Include Intel SGX driver to the main
    modules package
  UBUNTU: SAUCE: Update ubuntu/sgx driver to 555c485012b6

 arch/x86/include/asm/sgx.h                  | 233 +++++
 arch/x86/include/asm/sgx_arch.h             | 278 ++++++
 arch/x86/include/asm/sgx_pr.h               |  80 ++
 arch/x86/include/uapi/asm/sgx.h             | 154 ++++
 debian.azure/control.d/azure.inclusion-list |   1 +
 ubuntu/Makefile                             |   4 +
 ubuntu/sgx-update                           |  33 +
 ubuntu/sgx/License.txt                      |  46 +
 ubuntu/sgx/Makefile                         |  79 ++
 ubuntu/sgx/README.md                        | 114 +++
 ubuntu/sgx/sgx.h                            | 286 ++++++
 ubuntu/sgx/sgx_encl.c                       | 972 ++++++++++++++++++++
 ubuntu/sgx/sgx_ioctl.c                      | 332 +++++++
 ubuntu/sgx/sgx_main.c                       | 476 ++++++++++
 ubuntu/sgx/sgx_page_cache.c                 | 593 ++++++++++++
 ubuntu/sgx/sgx_util.c                       | 381 ++++++++
 ubuntu/sgx/sgx_version.h                    |  60 ++
 ubuntu/sgx/sgx_vma.c                        | 245 +++++
 ubuntu/sgx/sgx_wl.h                         |  82 ++
 19 files changed, 4449 insertions(+)
 create mode 100644 arch/x86/include/asm/sgx.h
 create mode 100644 arch/x86/include/asm/sgx_arch.h
 create mode 100644 arch/x86/include/asm/sgx_pr.h
 create mode 100644 arch/x86/include/uapi/asm/sgx.h
 create mode 100755 ubuntu/sgx-update
 create mode 100644 ubuntu/sgx/License.txt
 create mode 100644 ubuntu/sgx/Makefile
 create mode 100644 ubuntu/sgx/README.md
 create mode 100644 ubuntu/sgx/sgx.h
 create mode 100644 ubuntu/sgx/sgx_encl.c
 create mode 100644 ubuntu/sgx/sgx_ioctl.c
 create mode 100644 ubuntu/sgx/sgx_main.c
 create mode 100644 ubuntu/sgx/sgx_page_cache.c
 create mode 100644 ubuntu/sgx/sgx_util.c
 create mode 100644 ubuntu/sgx/sgx_version.h
 create mode 100644 ubuntu/sgx/sgx_vma.c
 create mode 100644 ubuntu/sgx/sgx_wl.h

Comments

Marcelo Henrique Cerri Oct. 2, 2019, 4:17 p.m. UTC | #1
We are still testing it and checking the best approach to integrate
this module. I will re-submit the module when it is ready.

On Tue, Sep 17, 2019 at 08:05:44AM -0300, Marcelo Henrique Cerri wrote:
> BugLink: https://bugs.launchpad.net/bugs/1844245
> 
> Add Intel SGX driver as a sauce driver. I added a script to fetch the
> latest version of the driver source code to simplify the process of
> syncing it with Intel's repository in the future.
> 
> Marcelo Henrique Cerri (3):
>   UBUNTU: SAUCE: sgx-update: Add script to fetch SGX from Intel repo
>   UBUNTU: [Config] linux-azure: Include Intel SGX driver to the main
>     modules package
>   UBUNTU: SAUCE: Update ubuntu/sgx driver to 555c485012b6
> 
>  arch/x86/include/asm/sgx.h                  | 233 +++++
>  arch/x86/include/asm/sgx_arch.h             | 278 ++++++
>  arch/x86/include/asm/sgx_pr.h               |  80 ++
>  arch/x86/include/uapi/asm/sgx.h             | 154 ++++
>  debian.azure/control.d/azure.inclusion-list |   1 +
>  ubuntu/Makefile                             |   4 +
>  ubuntu/sgx-update                           |  33 +
>  ubuntu/sgx/License.txt                      |  46 +
>  ubuntu/sgx/Makefile                         |  79 ++
>  ubuntu/sgx/README.md                        | 114 +++
>  ubuntu/sgx/sgx.h                            | 286 ++++++
>  ubuntu/sgx/sgx_encl.c                       | 972 ++++++++++++++++++++
>  ubuntu/sgx/sgx_ioctl.c                      | 332 +++++++
>  ubuntu/sgx/sgx_main.c                       | 476 ++++++++++
>  ubuntu/sgx/sgx_page_cache.c                 | 593 ++++++++++++
>  ubuntu/sgx/sgx_util.c                       | 381 ++++++++
>  ubuntu/sgx/sgx_version.h                    |  60 ++
>  ubuntu/sgx/sgx_vma.c                        | 245 +++++
>  ubuntu/sgx/sgx_wl.h                         |  82 ++
>  19 files changed, 4449 insertions(+)
>  create mode 100644 arch/x86/include/asm/sgx.h
>  create mode 100644 arch/x86/include/asm/sgx_arch.h
>  create mode 100644 arch/x86/include/asm/sgx_pr.h
>  create mode 100644 arch/x86/include/uapi/asm/sgx.h
>  create mode 100755 ubuntu/sgx-update
>  create mode 100644 ubuntu/sgx/License.txt
>  create mode 100644 ubuntu/sgx/Makefile
>  create mode 100644 ubuntu/sgx/README.md
>  create mode 100644 ubuntu/sgx/sgx.h
>  create mode 100644 ubuntu/sgx/sgx_encl.c
>  create mode 100644 ubuntu/sgx/sgx_ioctl.c
>  create mode 100644 ubuntu/sgx/sgx_main.c
>  create mode 100644 ubuntu/sgx/sgx_page_cache.c
>  create mode 100644 ubuntu/sgx/sgx_util.c
>  create mode 100644 ubuntu/sgx/sgx_version.h
>  create mode 100644 ubuntu/sgx/sgx_vma.c
>  create mode 100644 ubuntu/sgx/sgx_wl.h
> 
> -- 
> 2.20.1
>