History

crypto: ccp - Add support for SEV-ES to the PSP driver

To provide support for SEV-ES, the hypervisor must provide an area of memory to the PSP. Once this Trusted Memory Region (TMR) is provided to the PSP, the contents of this area of memory are no longer available to the x86. Update the PSP driver to allocate a 1MB region for the TMR that is 1MB aligned and then provide it to the PSP through the SEV INIT command.

Tom Lendacky committed 6 years ago

Commit 97f9ac31 parent 3c2214b3 files · +47 −0Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/psp-sev.h+2−0
@@ -83,6 +83,8 @@ struct sev_user_data_status { · 82 unmodified lines
83 __u32 guest_count; /* Out */83 __u32 guest_count; /* Out */
84} __packed;84} __packed;
85 85
86#define SEV_STATUS_FLAGS_CONFIG_ES 0x0100
87
86/**88/**
87 * struct sev_user_data_pek_csr - PEK_CSR command parameters89 * struct sev_user_data_pek_csr - PEK_CSR command parameters
88 *90 *

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t