Searched refs:tdreport (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/tools/testing/selftests/tdx/ |
D | tdx_guest_test.c | 105 struct tdreport { struct 134 struct tdreport *tdreport; in TEST() local 152 req.tdreport, sizeof(req.tdreport)); in TEST() 156 tdreport = (struct tdreport *)req.tdreport; in TEST() 157 ASSERT_EQ(0, memcmp(&tdreport->reportmac.reportdata[0], in TEST()
|
/linux-6.12.1/drivers/virt/coco/tdx-guest/ |
D | tdx-guest.c | 71 u8 *reportdata, *tdreport; in tdx_get_report0() local 78 tdreport = kzalloc(TDX_REPORT_LEN, GFP_KERNEL); in tdx_get_report0() 79 if (!tdreport) { in tdx_get_report0() 90 ret = tdx_mcall_get_report0(reportdata, tdreport); in tdx_get_report0() 94 if (copy_to_user(req->tdreport, tdreport, TDX_REPORT_LEN)) in tdx_get_report0() 99 kfree(tdreport); in tdx_get_report0() 164 u8 *buf, *reportdata = NULL, *tdreport = NULL; in tdx_report_new() local 195 tdreport = kzalloc(TDX_REPORT_LEN, GFP_KERNEL); in tdx_report_new() 196 if (!tdreport) { in tdx_report_new() 204 ret = tdx_mcall_get_report0(reportdata, tdreport); in tdx_report_new() [all …]
|
/linux-6.12.1/include/uapi/linux/ |
D | tdx-guest.h | 30 __u8 tdreport[TDX_REPORT_LEN]; member
|
/linux-6.12.1/arch/x86/include/asm/ |
D | tdx.h | 65 int tdx_mcall_get_report0(u8 *reportdata, u8 *tdreport);
|
/linux-6.12.1/Documentation/virt/coco/ |
D | tdx-guest.rst | 28 tdx_report_req.tdreport and return 0. Return -EINVAL for invalid
|
/linux-6.12.1/arch/x86/coco/tdx/ |
D | tdx.c | 95 int tdx_mcall_get_report0(u8 *reportdata, u8 *tdreport) in tdx_mcall_get_report0() argument 98 .rcx = virt_to_phys(tdreport), in tdx_mcall_get_report0()
|