mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 14:38:47 +00:00
- Updated tools/post_reboot.sh to check kernel oops taint bit and stuck driver tasks instead of <86400s uptime - Level 7 hardware regression passed on 0000:b3:00.0 (module 37e6fa430835eee2b426019db3ad70eeb7a9e9070c09c84bd9b973cf56cbe529, 107 inventory words, 0 static mismatches, CUDA baseline verified before and after) - Updated .gitignore to exclude build archives (*.a, *.rlib), __pycache__, and raw trace dumps
143 lines
7.7 KiB
JSON
143 lines
7.7 KiB
JSON
{
|
|
"scope": "Core gpu::pmu_level: functions of other objects that the GV100 PMU start, queue transport, interrupt service and unload call. Core and emulation only; nothing here ran on hardware.",
|
|
"original_sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b",
|
|
"chip_hal": "0x23",
|
|
"rm_hal": 2,
|
|
"oracle": {
|
|
"harness": "tools/check_gpu_pmu_level_binary.py",
|
|
"file": "target/gpu-stage/original-pmu-level.txt",
|
|
"sha256": "e88ee1fb04e6cdd6e08144e2585932a6703d0165a581241063a2b8e1dc8a3577",
|
|
"cases": 495,
|
|
"cases_by_kind": {
|
|
"C": 266,
|
|
"F": 41,
|
|
"G": 4,
|
|
"K": 119,
|
|
"Q": 8,
|
|
"L": 20,
|
|
"M": 30,
|
|
"B": 6,
|
|
"D": 1
|
|
},
|
|
"regenerated_identically": true,
|
|
"details": "reports/gpu-pmu-level-original.json"
|
|
},
|
|
"source_sha256": {
|
|
"src/nvidia/src/gpu/pmu_level.rs": "7fda36d10a99d3d4f35ff0162f79813f803ed9d5ac2c9eaae0f9e0c32d1ab540",
|
|
"src/nvidia/src/gpu/pmu_level_tests.rs": "9c16805d019bca43e5b9820fe53ff36c27e34baed6eb77ba61c287a322cefd2d",
|
|
"tools/check_gpu_pmu_level_binary.py": "c0d051274922816fa5c7c1fc66e309638698dc5aa637c29d211b1b4e42cfb6c6"
|
|
},
|
|
"tests": {
|
|
"command": "NV_RS_PMU_LEVEL_ORACLE=target/gpu-stage/original-pmu-level.txt NV_RS_GV100_FIRMWARE=target/firmware/nvidia-rs/580.178.04/gv100.fw cargo test -p nv-rs-core --lib pmu_level -- --include-ignored",
|
|
"result": "14 passed (6 without the variables, 8 ignored otherwise)",
|
|
"oracle_comparisons": [
|
|
"compare_original_clock_domain (250 rows equal, 15 rows of refused multiplexer inputs compared up to the refusal, schematic row)",
|
|
"compare_original_fuse_slot_150 (41)",
|
|
"compare_original_gcx_child_and_bus_flush (4 + 119)",
|
|
"compare_original_request_gates (8)",
|
|
"compare_original_lpwr_043006 (20)",
|
|
"compare_original_memory_system_044310 (29 + object row)",
|
|
"compare_original_object_bytes_and_boot_words (6 + 1)"
|
|
],
|
|
"transcript": [
|
|
"clock_and_fuse_reads_equal_the_transcript (lines 147426-147431, argument words 147435 and 147445)",
|
|
"wait_passes_of_the_transcript_decide_as_the_original_did (passes at 147613, 147629, 164973, 165025)",
|
|
"boot_words_of_the_real_container (lines 147447, 147452; needs the container)"
|
|
]
|
|
},
|
|
"providers": [
|
|
{
|
|
"provider": "pmu_ls_start::Io::clock_frequency_khz",
|
|
"original": "ClockManager+198 _nv021004rm; schematic by +138 _nv020155rm / +140 _nv020153rm; _nv021042rm, _nv021062rm, _nv021061rm, _nv021043rm, _nv021066rm, _nv021059rm",
|
|
"rust": "pmu_level::clock_domain_13_khz(io, gpu_90e, gpu_4de2)",
|
|
"gv100": "reads 0x137190, 0x137280, 0xe800, 0xe804; traced values give 540000 kHz",
|
|
"evidence": "E (266 rows), T (lines 147426-147429), D",
|
|
"refused": "multiplexer inputs 3, 0xb, 0xd",
|
|
"assumption": "the register caches are marked for reading when PMU Load asks (true after _nv020155rm; the transcript shows the four reads)"
|
|
},
|
|
{
|
|
"provider": "pmu_ls_start::Io::fuse_slot_150",
|
|
"original": "OBJFUSE+150 _nv028946rm -> OBJFUSE+118 _nv029006rm id 0xff00003b -> +100 _nv029045rm",
|
|
"rust": "pmu_level::fuse_slot_150(io, gpu_92b, gpu_4de4, jtag_108)",
|
|
"gv100": "Jtag register 0x1373a0 then 0x21c04; byte = bit 0 clear; traced word 1 gives byte 0 (argument flag bit 2 clear)",
|
|
"evidence": "E (41 rows), T (147430-147431)",
|
|
"refused": "GPU+92b, GPU+4de4"
|
|
},
|
|
{
|
|
"provider": "pmu_ls_start::Io::gcx_slot_30",
|
|
"original": "GCX+258 object (created by _nv006498rm, GCX+1ef = 0), slot +30 _nv003596rm -> _nv029092rm",
|
|
"rust": "pmu_level::gcx_child_slot_30(gpu_998)",
|
|
"gv100": "status 0, no access, with GPU+998 clear",
|
|
"evidence": "A (rtti blocks 0x05ee9100/0x05ee9118 read with REA read_bytes), E (4 rows)",
|
|
"refused": "GPU+998 set"
|
|
},
|
|
{
|
|
"provider": "pmu_ls_start::Io::bus_flush and pmu_fbq::Io::bus_flush",
|
|
"original": "KernelBus+4a8 _nv039391rm -> KernelBus+390 _nv039387rm; _nv039553rm -> KernelBus+398 _nv039552rm -> OBJBUS+268 _nv018613rm",
|
|
"rust": "pmu_level::kernel_bus_flush(argument, &BusGates) names the actions; mmu::bar2_setup::flush_page_read performs the BAR2 read, mmu::bar2_setup::flush_bus the 0x70000 flush of _nv039553rm",
|
|
"gv100": "argument 1: one 32-bit read of the BAR2 flush page; argument 3: mfence then that read; no BAR0 access",
|
|
"evidence": "A (REA objdump of _nv039387rm), E (119 rows), T (BAR2 extract: a 4-byte read of BAR2 0xfa9000 after every command element)"
|
|
},
|
|
{
|
|
"provider": "pmu_fbq::Io::interrupt_pass",
|
|
"original": "_nv052478rm -> _nv037739rm: _nv013843rm, _nv037630rm (Intr+3b0 _nv037628rm, Intr+3a8 _nv037553rm), _nv013844rm",
|
|
"rust": "pmu_level::interrupt_pass(io, &PassGate, pmu_pmc_mask); the whole pass with a service registry is gpu::stall_scope::pmu_wait_pass",
|
|
"gv100": "R 0x0, R 0x100; PMU pending = the PMC bit of the interrupt table row of engine 0xe (bit 24 on the traced board)",
|
|
"evidence": "D, T (four passes), E of stall_scope (reports/gv100-scoped-stall-validation.json)",
|
|
"deviation": "the augmenter reads (0x9100, MMU fault status at 0x100a20, later 0x8f0a20) and the services of engines 1, 2, 7 are left out; with an empty Intr+430 registry the original services nothing"
|
|
},
|
|
{
|
|
"provider": "pmu_fbq::Io::event_time",
|
|
"original": "_nv059599rm -> OBJTMR+1b8 _nv059597rm",
|
|
"rust": "gpu::timer::read_time_ns (existing), low 32 bits",
|
|
"evidence": "D; T (0x810084, 0x810080, 0x810084)"
|
|
},
|
|
{
|
|
"provider": "pmu_fbq::Io::init_done",
|
|
"original": "_nv051824rm: _nv053004rm(GPU+4118 object, 0x2d), then vtable +68 of each object on the list at PMU base +18d8",
|
|
"gv100": "no client on the direct path: nothing to do",
|
|
"evidence": "D"
|
|
},
|
|
{
|
|
"provider": "pmu_fbq::Io::falcon_lookup",
|
|
"original": "_nv043198rm -> _nv043197rm",
|
|
"rust": "Some(pmu_level::GV100_FALCON_3AC) for Falcons 7, 2, 3",
|
|
"gv100": "found, +3ac = 0, +3a7 = 1, +3a2 = 1",
|
|
"evidence": "E (rows B on the ACR harness state); no writer of Falcon+3ac in the Falcon or LSFM functions (D)"
|
|
},
|
|
{
|
|
"provider": "request gates",
|
|
"original": "_nv052461rm",
|
|
"rust": "pmu_level::request_gate(&RequestGate)",
|
|
"evidence": "E (8 rows), D"
|
|
},
|
|
{
|
|
"provider": "pmu_unload::Io::memory_system_quiesce",
|
|
"original": "_nv044310rm(gpu, MemorySystem, 0) with +b10 _nv044754rm, +b28 _nv044978rm, _nv053908rm, Lpwr _nv043006rm",
|
|
"rust": "pmu_level::memory_system_044310(io, 0, lpwr_present) over MemoryIo; MemoryIo::lpwr_043006 answers 0 while pmu_level::lpwr_043006_acts is false",
|
|
"gv100": "R 0x12006c; W 0x17e26c = 1; per LTC R LTC+0x480 and per slice a wait on LTC+0x46c+0x200*slice bit 0 (16 x 4 on the traced board)",
|
|
"evidence": "E (30 + 20 rows); no transcript (no unload was traced)"
|
|
},
|
|
{
|
|
"provider": "pmu_unload::Io::reset_after_failure",
|
|
"original": "_nv052253rm: PMU+a48 _nv052213rm, then _nv052192rm with 0 and 1",
|
|
"rust": "not exported: gpu::acr_unload::reset (private) reproduces _nv052192rm for the Falcon after the unload cleared +3a7",
|
|
"evidence": "D"
|
|
},
|
|
{
|
|
"provider": "object bytes and boot words",
|
|
"rust": "GV100_PMU_42B/5C7/563/43B/9A2/56C/570/AF8/CB0, lpwr_gating, boot_words, pmu_boot_words",
|
|
"evidence": "E (rows B, D), container test, T (147447, 147452)"
|
|
}
|
|
],
|
|
"not_reproduced": [
|
|
"ClockManager multiplexer inputs 3, 0xb, 0xd",
|
|
"GPU+92b fuse path",
|
|
"GC6 surfaces of the GCX child (GPU+998)",
|
|
"the PCI presence test _nv030949rm behind GPU+d78",
|
|
"an acting _nv043006rm (Lpwr controls 4, 5, 9)",
|
|
"PMU PostUnload PMU+3a8 _nv052515rm (acts when OBJVBIOS+12d0 is set: PMU+2d8, a Pmgr function, _nv060122rm and a wait)",
|
|
"the halt handler _nv052476rm"
|
|
]
|
|
}
|