[RFC PATCH 5/5] crypto: ccp - provide in-kernel API to submit TEE commands

2019-10-23 Thread Thomas, Rijo-john
Extend the functionality of AMD Secure Processor (SP) driver by providing an in-kernel API to submit commands to TEE ring buffer for processing by Trusted OS running on AMD Secure Processor. Following TEE commands are supported by Trusted OS: * TEE_CMD_ID_LOAD_TA : Load Trusted Application (TA) b

[RFC PATCH 4/5] crypto: ccp - add TEE support for Raven Ridge

2019-10-23 Thread Thomas, Rijo-john
Adds a PCI device entry for Raven Ridge. Raven Ridge is an APU with a dedicated AMD Secure Processor having Trusted Execution Environment (TEE) support. The TEE provides a secure environment for running Trusted Applications (TAs) which implement security-sensitive parts of a feature. This patch co

[RFC PATCH 1/5] crypto: ccp - rename psp-dev files to sev-dev

2019-10-23 Thread Thomas, Rijo-john
This is a preliminary patch for creating a generic PSP device driver file, which will have support for both SEV and TEE (Trusted Execution Environment) interface. This patch does not introduce any new functionality, but simply renames psp-dev.c and psp-dev.h files to sev-dev.c and sev-dev.h files

[RFC PATCH 0/5] Add TEE interface support to AMD Secure Processor driver

2019-10-23 Thread Thomas, Rijo-john
The goal of this patch series is to introduce TEE (Trusted Execution Environment) interface support to AMD Secure Processor driver. The TEE is a secure area of a processor which ensures that sensitive data is stored, processed and protected in an isolated and trusted environment. The Platform Secur

[RFC PATCH 2/5] crypto: ccp - create a generic psp-dev file

2019-10-23 Thread Thomas, Rijo-john
The PSP (Platform Security Processor) provides support for key management commands in Secure Encrypted Virtualization (SEV) mode, along with software-based Trusted Execution Environment (TEE) to enable third-party Trusted Applications. Therefore, introduce psp-dev.c and psp-dev.h files, which can

[RFC PATCH 3/5] crypto: ccp - move SEV vdata to a dedicated data structure

2019-10-23 Thread Thomas, Rijo-john
PSP can support both SEV and TEE interface. Therefore, move SEV specific registers to a dedicated data structure. TEE interface specific registers will be added in a later patch. Signed-off-by: Rijo Thomas Signed-off-by: Devaraj Rangasamy --- drivers/crypto/ccp/sev-dev.c | 17 -