diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-30 13:43:30 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-30 13:43:30 -0400 |
| commit | 0cbff293ccbecfea528e3f987cf1fa3cbd050969 (patch) | |
| tree | 10f55dbb082ca3e25eadf6fe01261c313181baae /kernel/gsp_sema_service.c | |
| parent | 0c5c218201ceba738371dda286a58eff0cb60191 (diff) | |
| download | open-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 'kernel/gsp_sema_service.c')
0 files changed, 0 insertions, 0 deletions
