From ca40a5851d2beec9a1645f16541b4309e7a210f1 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Mon, 16 Nov 2026 02:19:07 -0500 Subject: vgsp: eng81 - dump the 480 B VB block at the bound CALL(2) VA The slot-2 VERTEX_STREAM VA (0x450e100) is now bound as the stream location; the release still stores nothing. Dump the first 64 B of the client VB (resolved HPA) at save time (VS-BLOB2) so the 24x20 B float2 vertex payload is verifiable/rejectable, and compare the relocated shadow (VS0) against pagebase+client_offset (the suspected 0xf4 skew). --- kernel/gsp_phys_booter.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'kernel') diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c index deb8adc..54716e7 100644 --- a/kernel/gsp_phys_booter.c +++ b/kernel/gsp_phys_booter.c @@ -19586,6 +19586,49 @@ static void gsp_phys_gr_mme_release_save(const struct gsp_phys_gr_submit *req, (vj == 0u && scan_ok && vva == scan_va) ? "scan" : "sticky", req->h_object, req->push_va); + /* + * eng81: dump the VB block at the bound + * client VA (480 B = 24x20 B) so the + * float2 vertex payload is verifiable. + */ + if (vj == 0u && have_call && + vva == slot2_va) { + struct gsp_sema_gr_reloc vr; + u64 vpg = vva & + ~(u64)(GSP_PHYS_PAGE_SIZE - 1); + + if (!gsp_sema_gr_reloc_resolve(vpg, + &vr) && + vr.hpa) { + const u8 *vp = + (const u8 *)__va(vr.hpa) + + (vva & + (GSP_PHYS_PAGE_SIZE - 1)); + + pr_info("vgsp-gr: VS-BLOB2 va=0x%llx hpa=0x%llx w0..15=%08x %08x %08x %08x %08x %08x %08x %08x %08x %08x %08x %08x %08x %08x %08x %08x\n", + (unsigned long long)vva, + (unsigned long long)vr.hpa, + get_unaligned_le32(vp), + get_unaligned_le32(vp + 4), + get_unaligned_le32(vp + 8), + get_unaligned_le32(vp + 12), + get_unaligned_le32(vp + 16), + get_unaligned_le32(vp + 20), + get_unaligned_le32(vp + 24), + get_unaligned_le32(vp + 28), + get_unaligned_le32(vp + 32), + get_unaligned_le32(vp + 36), + get_unaligned_le32(vp + 40), + get_unaligned_le32(vp + 44), + get_unaligned_le32(vp + 48), + get_unaligned_le32(vp + 52), + get_unaligned_le32(vp + 56), + get_unaligned_le32(vp + 60)); + } else { + pr_info("vgsp-gr: VS-BLOB2 va=0x%llx unresolved\n", + (unsigned long long)vva); + } + } /* * Stream size (Turing binds SIZE_A/B; the * replay has none). 1 MB covers the 24x20 B -- cgit v1.2.3