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 | ea72971bc9521d8ec7f31d9db4634e149b85bdde (patch) | |
| tree | 3995f13ec525b6f2d9ac45f0506a771eea55c597 /kernel | |
| parent | 2218dfffc8a344130ee8caf855886a18e5731a7b (diff) | |
| download | open-iov-ea72971bc9521d8ec7f31d9db4634e149b85bdde.tar.gz open-iov-ea72971bc9521d8ec7f31d9db4634e149b85bdde.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++; |
