diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-11 23:26:27 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-11 23:26:27 -0400 |
| commit | 1dab2b18a6b2bed1354c55822d060a539518806b (patch) | |
| tree | 5f59cde110431e7758a61b8c1468d00203b7adfc /kernel | |
| parent | d02b8531472bc6c06e2a231c45ebf5cd3ecb6edd (diff) | |
| download | open-iov-1dab2b18a6b2bed1354c55822d060a539518806b.tar.gz open-iov-1dab2b18a6b2bed1354c55822d060a539518806b.zip | |
vgsp-gr: dump first words of changed bounce pages (m142 diagnostic)
Discriminates engine-side writes of float data (kernel ran with c on this
buffer) from non-kernel writes (pointers/QMD-shaped words).
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/gsp_phys_booter.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c index 2267702..47e3bd0 100644 --- a/kernel/gsp_phys_booter.c +++ b/kernel/gsp_phys_booter.c @@ -17848,7 +17848,19 @@ gr_page_unmapped: * m142: which pages the engine touched. The * indexes name the relocated VA (bi page of * 0x110000); a c-range write is bi >= 0x40. + * Also dump the first words of the first two + * changed pages: float sums prove the kernel + * wrote them (the c-pointer landed on this + * buffer); pointers/QMD words prove something + * else wrote. */ + if (changed < 2) + pr_info("vgsp-gr: changed page bi=%u w0..3=%08x %08x %08x %08x\n", + bi, + get_unaligned_le32(src), + get_unaligned_le32(src + 4), + get_unaligned_le32(src + 8), + get_unaligned_le32(src + 12)); if (changed < 8) chg[changed] = bi; changed++; |
