summaryrefslogtreecommitdiffstats
path: root/tools/debug/nv2080_ctrl.sh
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 13:43:30 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 13:43:30 -0400
commit0cbff293ccbecfea528e3f987cf1fa3cbd050969 (patch)
tree10f55dbb082ca3e25eadf6fe01261c313181baae /tools/debug/nv2080_ctrl.sh
parent0c5c218201ceba738371dda286a58eff0cb60191 (diff)
downloadopen-iov-0cbff293ccbecfea528e3f987cf1fa3cbd050969.tar.gz
open-iov-0cbff293ccbecfea528e3f987cf1fa3cbd050969.zip
GSPRM BUS_GET_PCI_BAR_INFO: reply the canonical 8-entry params struct
The control is cacheable in the guest kernel (RMCTRL_FLAGS_CACHEABLE) and rmapiControlCacheSet validates paramsSize against the canonical sizeof(NV2080_CTRL_BUS_GET_PCI_BAR_INFO_PARAMS) = 200. We replied only 8 + 4*24 = 104 bytes, so every reply tripped NV_ERR_INVALID_PARAMETER in rmapiControlCacheSet (rpc.c:9998) and the BAR-info cache entry was never populated. Zero-fill and report all eight NV2080_CTRL_BUS_PCI_BAR_INFO entries (count still 4).
Diffstat (limited to 'tools/debug/nv2080_ctrl.sh')
0 files changed, 0 insertions, 0 deletions