From 8fdd49162dce3abb94d38b20b2df948976cfaf03 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Wed, 7 Oct 2026 19:25:27 -0400 Subject: vgsp: m132 - unique marker in spare bounce page 101 (prove SM data-path reach for probes) --- kernel/gsp_phys_booter.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'kernel/gsp_phys_booter.c') diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c index ad8d68b..d7ee3e8 100644 --- a/kernel/gsp_phys_booter.c +++ b/kernel/gsp_phys_booter.c @@ -9457,6 +9457,13 @@ static void gsp_phys_rmcall_pdb_build(void) GSP_PHYS_RMCALL_GR_MAIL_SLOT), mail, sizeof(mail)); } + /* m132: unique marker in a spare bounce page (101, past + * the 100 data pages) so a probe can prove whether the + * SM's data path reaches the bounce chunk at all. */ + put_unaligned_le64(0xCAFEBABEDEADBEEFULL, + (u8 *)gsp_phys_chunk_page_va( + &boot_stage.rmcall_gr_bounce, + GSP_PHYS_RMCALL_GR_MAIL_SLOT + 1u)); } else { pr_err("vgsp-boot: rm-call: bounce window allocation failed\n"); } -- cgit v1.2.3