diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-29 15:42:58 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-29 15:42:58 -0400 |
| commit | 9a908f0082f30b45b2fc0ea1289ed2f74bf64917 (patch) | |
| tree | dfaed581f6ff05de9843df8f2c7ac593267b960e /tools/guest-diag/pin_gr_stream.py | |
| parent | 52cf2ebb96e7e903b60a817b079a16c1f5340e7d (diff) | |
| download | open-iov-9a908f0082f30b45b2fc0ea1289ed2f74bf64917.tar.gz open-iov-9a908f0082f30b45b2fc0ea1289ed2f74bf64917.zip | |
guest-diag: scan 512KB per 2MB region and start window at 0x200000000 (cover GR GPFIFO rings)
Diffstat (limited to 'tools/guest-diag/pin_gr_stream.py')
| -rw-r--r-- | tools/guest-diag/pin_gr_stream.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/guest-diag/pin_gr_stream.py b/tools/guest-diag/pin_gr_stream.py index 44f8681..643145b 100644 --- a/tools/guest-diag/pin_gr_stream.py +++ b/tools/guest-diag/pin_gr_stream.py @@ -22,7 +22,10 @@ PARAM = "/sys/module/open_iov_vfio/parameters" GUEST_SCRIPT = os.path.join(HERE, "guest_pin_stream.py") PORT = int(os.environ.get("PINWIN_PORT", "45678")) -LO = os.environ.get("PINWIN_LO", "0x200400000") +# 0x200000000 covers the GR GPFIFO rings/UVM channel mappings below the +# old 0x200400000 start; without them the host learns bogus vidmem pairs +# for the rings and never decodes GR pushes. +LO = os.environ.get("PINWIN_LO", "0x200000000") HI = os.environ.get("PINWIN_HI", "0x206000000") PAMAX = os.environ.get("PINWIN_PA_MAX", "0x180000000") SEMSTREAM = os.environ.get("SEM_STREAM_FILE", "/tmp/opencode/sem_stream.txt") |
