diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-07 19:25:27 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-07 19:25:27 -0400 |
| commit | 156312c0aaaee478005e9ed22855c8fe80337629 (patch) | |
| tree | 474977dc3f4a0688f9891388c4f203a4f6de500a /kernel/gsp_phys_booter.c | |
| parent | 0cbe33190ba3c82a1ac21d1deae631be3b17d659 (diff) | |
| download | open-iov-156312c0aaaee478005e9ed22855c8fe80337629.tar.gz open-iov-156312c0aaaee478005e9ed22855c8fe80337629.zip | |
vgsp: m132 - unique marker in spare bounce page 101 (prove SM data-path reach for probes)
Diffstat (limited to 'kernel/gsp_phys_booter.c')
| -rw-r--r-- | kernel/gsp_phys_booter.c | 7 |
1 files changed, 7 insertions, 0 deletions
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"); } |
