Searched refs:sev_issue_cmd (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/include/uapi/linux/ |
D | psp-sev.h | 157 struct sev_issue_cmd { struct 164 #define SEV_ISSUE_CMD _IOWR(SEV_IOC_TYPE, 0x0, struct sev_issue_cmd) argument
|
/linux-6.1.9/drivers/crypto/ccp/ |
D | sev-dev.c | 555 static int sev_ioctl_do_reset(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_reset() 587 static int sev_ioctl_do_platform_status(struct sev_issue_cmd *argp) in sev_ioctl_do_platform_status() 604 static int sev_ioctl_do_pek_pdh_gen(int cmd, struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_pdh_gen() 621 static int sev_ioctl_do_pek_csr(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_csr() 817 static int sev_ioctl_do_pek_import(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_import() 866 static int sev_ioctl_do_get_id2(struct sev_issue_cmd *argp) in sev_ioctl_do_get_id2() 921 static int sev_ioctl_do_get_id(struct sev_issue_cmd *argp) in sev_ioctl_do_get_id() 961 static int sev_ioctl_do_pdh_export(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pdh_export() 1055 struct sev_issue_cmd input; in sev_ioctl() 1065 if (copy_from_user(&input, argp, sizeof(struct sev_issue_cmd))) in sev_ioctl() [all …]
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | sev.c | 306 static int sev_issue_cmd(struct kvm *kvm, int id, void *data, int *error) in sev_issue_cmd() function 545 ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_DATA, &data, &argp->error); in sev_launch_update_data() 636 ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_VMSA, &vmsa, error); in __sev_launch_update_vmsa() 705 ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_MEASURE, &data, &argp->error); in sev_launch_measure() 739 return sev_issue_cmd(kvm, SEV_CMD_LAUNCH_FINISH, &data, &argp->error); in sev_launch_finish() 755 ret = sev_issue_cmd(kvm, SEV_CMD_GUEST_STATUS, &data, &argp->error); in sev_guest_status() 782 return sev_issue_cmd(kvm, in __sev_issue_dbg_cmd() 1058 ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_SECRET, &data, &argp->error); in sev_launch_secret() 1111 ret = sev_issue_cmd(kvm, SEV_CMD_ATTESTATION_REPORT, &data, &argp->error); in sev_get_attestation_report() 1146 ret = sev_issue_cmd(kvm, SEV_CMD_SEND_START, &data, &argp->error); in __sev_send_start_query_session_length() [all …]
|