Searched refs:tdreport (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/tools/testing/selftests/tdx/ |
H A 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()
|
/openbmc/linux/drivers/virt/coco/tdx-guest/ |
H A D | tdx-guest.c | 23 u8 *reportdata, *tdreport; in tdx_get_report0() local 30 tdreport = kzalloc(TDX_REPORT_LEN, GFP_KERNEL); in tdx_get_report0() 31 if (!tdreport) { in tdx_get_report0() 42 ret = tdx_mcall_get_report0(reportdata, tdreport); in tdx_get_report0() 46 if (copy_to_user(req->tdreport, tdreport, TDX_REPORT_LEN)) in tdx_get_report0() 51 kfree(tdreport); in tdx_get_report0()
|
/openbmc/linux/include/uapi/linux/ |
H A D | tdx-guest.h | 30 __u8 tdreport[TDX_REPORT_LEN]; member
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | tdx.h | 53 int tdx_mcall_get_report0(u8 *reportdata, u8 *tdreport);
|
/openbmc/linux/Documentation/virt/coco/ |
H A D | tdx-guest.rst | 28 tdx_report_req.tdreport and return 0. Return -EINVAL for invalid
|
/openbmc/linux/arch/x86/coco/tdx/ |
H A D | tdx.c | 117 int tdx_mcall_get_report0(u8 *reportdata, u8 *tdreport) in tdx_mcall_get_report0() argument 120 .rcx = virt_to_phys(tdreport), in tdx_mcall_get_report0()
|