From a7192d8767f50c265c17870234de6e4047404ebd Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Wed, 7 Oct 2026 18:10:45 -0400 Subject: vgsp: m128 - post-success qmdwin w48..51 dump (read probe dumps from the success path) --- kernel/gsp_phys_booter.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'kernel/gsp_phys_booter.c') diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c index 8fd5d5b..3271963 100644 --- a/kernel/gsp_phys_booter.c +++ b/kernel/gsp_phys_booter.c @@ -17667,6 +17667,17 @@ gr_page_unmapped: pr_info("vgsp-gr: GUEST GR LAUNCH OK h=0x%x push=0x%llx qmd=0x%llx prog/pages=%u qmd_rel=0x%08x ch_rel=0x%08x elapsed_ms=%u ok=%llu\n", req->h_object, req->push_va, req->qmd_va, req->n_pages, w0, w1, jiffies_to_msecs(jiffies - start), gsp_phys_gr_ok); + /* m128: post-success qmdwin words so a probe that stores a value into + * the qmdwin page (e.g. p6's constant-read dump at w48) is readable + * from the success log (the post-mortem only prints on timeout). */ + if (boot_stage.rmcall_gr_qmdwin.pages) { + const u32 *qw = (const u32 *)gsp_phys_chunk_page_va( + &boot_stage.rmcall_gr_qmdwin, 0); + + if (qw) + pr_info("vgsp-gr: post-OK qmdwin w48..51=%08x %08x %08x %08x\n", + qw[48], qw[49], qw[50], qw[51]); + } ret = 0; out: -- cgit v1.2.3