Home
last modified time | relevance | path

Searched refs:tdreport (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/tools/testing/selftests/tdx/
Dtdx_guest_test.c105 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/
Dtdx-guest.c71 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/
Dtdx-guest.h30 __u8 tdreport[TDX_REPORT_LEN]; member
/linux-6.12.1/arch/x86/include/asm/
Dtdx.h65 int tdx_mcall_get_report0(u8 *reportdata, u8 *tdreport);
/linux-6.12.1/Documentation/virt/coco/
Dtdx-guest.rst28 tdx_report_req.tdreport and return 0. Return -EINVAL for invalid
/linux-6.12.1/arch/x86/coco/tdx/
Dtdx.c95 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()