Searched refs:sev_issue_cmd (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/include/uapi/linux/ |
D | psp-sev.h | 164 struct sev_issue_cmd { struct 171 #define SEV_ISSUE_CMD _IOWR(SEV_IOC_TYPE, 0x0, struct sev_issue_cmd) argument
|
/linux-6.6.21/drivers/crypto/ccp/ |
D | sev-dev.c | 569 static int sev_ioctl_do_reset(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_reset() 601 static int sev_ioctl_do_platform_status(struct sev_issue_cmd *argp) in sev_ioctl_do_platform_status() 618 static int sev_ioctl_do_pek_pdh_gen(int cmd, struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_pdh_gen() 635 static int sev_ioctl_do_pek_csr(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_csr() 831 static int sev_ioctl_do_pek_import(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_import() 880 static int sev_ioctl_do_get_id2(struct sev_issue_cmd *argp) in sev_ioctl_do_get_id2() 942 static int sev_ioctl_do_get_id(struct sev_issue_cmd *argp) in sev_ioctl_do_get_id() 982 static int sev_ioctl_do_pdh_export(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pdh_export() 1076 struct sev_issue_cmd input; in sev_ioctl() 1086 if (copy_from_user(&input, argp, sizeof(struct sev_issue_cmd))) in sev_ioctl() [all …]
|
/linux-6.6.21/arch/x86/kvm/svm/ |
D | sev.c | 314 static int sev_issue_cmd(struct kvm *kvm, int id, void *data, int *error) in sev_issue_cmd() function 553 ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_DATA, &data, &argp->error); in sev_launch_update_data() 652 ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_VMSA, &vmsa, error); in __sev_launch_update_vmsa() 721 ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_MEASURE, &data, &argp->error); in sev_launch_measure() 755 return sev_issue_cmd(kvm, SEV_CMD_LAUNCH_FINISH, &data, &argp->error); in sev_launch_finish() 771 ret = sev_issue_cmd(kvm, SEV_CMD_GUEST_STATUS, &data, &argp->error); in sev_guest_status() 798 return sev_issue_cmd(kvm, in __sev_issue_dbg_cmd() 1074 ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_SECRET, &data, &argp->error); in sev_launch_secret() 1127 ret = sev_issue_cmd(kvm, SEV_CMD_ATTESTATION_REPORT, &data, &argp->error); in sev_get_attestation_report() 1162 ret = sev_issue_cmd(kvm, SEV_CMD_SEND_START, &data, &argp->error); in __sev_send_start_query_session_length() [all …]
|