.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * AMD Secure Encrypted Virtualization (SEV) driver interface |
---|
3 | 4 | * |
---|
.. | .. |
---|
5 | 6 | * |
---|
6 | 7 | * Author: Brijesh Singh <brijesh.singh@amd.com> |
---|
7 | 8 | * |
---|
8 | | - * SEV spec 0.14 is available at: |
---|
9 | | - * http://support.amd.com/TechDocs/55766_SEV-KM API_Specification.pdf |
---|
10 | | - * |
---|
11 | | - * This program is free software; you can redistribute it and/or modify |
---|
12 | | - * it under the terms of the GNU General Public License version 2 as |
---|
13 | | - * published by the Free Software Foundation. |
---|
| 9 | + * SEV API spec is available at https://developer.amd.com/sev |
---|
14 | 10 | */ |
---|
15 | 11 | |
---|
16 | 12 | #ifndef __PSP_SEV_H__ |
---|
.. | .. |
---|
103 | 99 | u64 tmr_address; /* In */ |
---|
104 | 100 | u32 tmr_len; /* In */ |
---|
105 | 101 | } __packed; |
---|
| 102 | + |
---|
| 103 | +#define SEV_INIT_FLAGS_SEV_ES 0x01 |
---|
106 | 104 | |
---|
107 | 105 | /** |
---|
108 | 106 | * struct sev_data_pek_csr - PEK_CSR command parameters |
---|
.. | .. |
---|
599 | 597 | */ |
---|
600 | 598 | int sev_guest_decommission(struct sev_data_decommission *data, int *error); |
---|
601 | 599 | |
---|
602 | | -void *psp_copy_user_blob(u64 __user uaddr, u32 len); |
---|
| 600 | +void *psp_copy_user_blob(u64 uaddr, u32 len); |
---|
603 | 601 | |
---|
604 | 602 | #else /* !CONFIG_CRYPTO_DEV_SP_PSP */ |
---|
605 | 603 | |
---|