diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-23 00:09:13 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-23 00:09:13 -0400 |
| commit | d28e5bb94752ba523b826945409e5ad3206dad5a (patch) | |
| tree | e0247ceff689257e2246a8691fb448e1568bc952 /kernel/gsp_rm_emulation.c | |
| parent | 7d6c789a469de154ee6d26a7fb9161ef7279a34a (diff) | |
| download | open-iov-d28e5bb94752ba523b826945409e5ad3206dad5a.tar.gz open-iov-d28e5bb94752ba523b826945409e5ad3206dad5a.zip | |
kernel: drop PCFG poison experiment and config-write spam, keep bus-info detail log
The poison test (fill every dword of BAR0 0x88000-0x88FFF, 0xB80000-
0xB80EFF, 0xC08000-0xC08EFF with 0x103) did not change the CUDA "Unknown
PCIe speed" failure, proving the failing BUS_GET_INFO_V2 index-3 data does
not come from any BAR0 mirror read. Combined with the QEMU config-space
behavior (link registers zeroed, type=0x92, 0x84 never read from us) the
value must come from the VGPU_STATIC_INFO branch in getBusInfos (pVSI->
pcieGpuLinkCaps), i.e. the guest needs the host vGPU static-info payload.
Cleanup: remove the poison loops and the per-write CFGWR log; keep the
once-per-init PCIe cap print and add per-entry BUS_GET_INFO_V2 logging
(index+data) for the ongoing CUDA/UVM work.
Diffstat (limited to 'kernel/gsp_rm_emulation.c')
| -rw-r--r-- | kernel/gsp_rm_emulation.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/gsp_rm_emulation.c b/kernel/gsp_rm_emulation.c index 743a260..1f029b1 100644 --- a/kernel/gsp_rm_emulation.c +++ b/kernel/gsp_rm_emulation.c @@ -1454,6 +1454,10 @@ static void gsp_rm_handle_bus_get_info_v2(struct gsp_emu_context *ctx, nv_vgpu_info(ctx->vgpu, "GSPRM: BUS_GET_INFO_V2 -> %u entries populated (first idx=0x%x)", count, count ? reply->busInfoList[0].index : 0); + for (i = 0; i < count; i++) + nv_vgpu_info(ctx->vgpu, "GSPRM: bus[%u] idx=0x%x data=0x%x", + i, reply->busInfoList[i].index, + reply->busInfoList[i].data); } static void gsp_rm_handle_rm_control(struct gsp_emu_context *ctx, |
