diff --git a/docs/GPU_BRINGUP_GUIDE.md b/docs/GPU_BRINGUP_GUIDE.md index 16072efa..1e1fc686 100644 --- a/docs/GPU_BRINGUP_GUIDE.md +++ b/docs/GPU_BRINGUP_GUIDE.md @@ -237,7 +237,9 @@ sudo rmmod nvidia_rs - `4c470001`..`4c470004`: Legacy Maxwell/Pascal pre-GSP bring-up stage milestones (firmware pack, ACR, FECS golden context size, runtime active). - `47520001`..`4752001a`: Volta GV100 GR/engine milestones (`4752001a 00000000` confirms clean teardown). - `47530001`..`47530003`: GSP-RM boot milestones. -- `RM_CONTROL 0x2080xxxx status 0x56` (`NV_ERR_NOT_SUPPORTED`), `0x57` (`NV_ERR_OBJECT_NOT_FOUND`), or `0x1f` (`NV_ERR_INVALID_ARGUMENT`): Identifies the exact RM control command that `nvidia-smi` or `libcuda.so` expected for your architecture. +- `RM_CONTROL 0x2080xxxx status 0x56` (`NV_ERR_NOT_SUPPORTED`), `0x57` (`NV_ERR_OBJECT_NOT_FOUND`), or `0x1f` (`NV_ERR_INVALID_ARGUMENT`): Identifies the exact RM control command that `nvidia-smi` or `libcuda.so` expected for your architecture. `0x56` has two distinct causes: the command can be genuinely unimplemented for the addressed class on this chip generation, or the command can simply have been sent to an object whose class does not own it — see below before diagnosing an architecture gap. + +To tell the two `0x56` cases apart, resolve who owns the command before blaming silicon. Dispatch looks up the command id against the addressed object's class and then its ancestor classes (the `resControlLookup` walk in `src/nvidia/src/rmapi/server.rs`; legacy v1 converter commands are synthesized separately) and returns `NOT_SUPPORTED` when neither owns it, before any handler executes — leaving the parameter buffer exactly as the caller passed it. Each exported method's owning class is the first field of its row in `src/nvidia/src/rmapi/control_table.rs`; the target object's client-facing class and the internal class those rows key on are both in `src/nvidia/src/resources.rs`. Compare through the internal class — including ancestors — and a mismatch localizes the `0x56` to addressing, not to missing hardware support. ---