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
57 lines
3.7 KiB
JSON
57 lines
3.7 KiB
JSON
{
|
|
"scope": "Byte counts of the framebuffer requests of PMU InitLocked _nv051858rm on a GV100: instance block, super surface, and the size of the conditional surface at PMU+f08",
|
|
"evidence_category": "instruction emulation",
|
|
"original_artifact_sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b",
|
|
"producer": {
|
|
"super_surface": "_nv052583rm(gpu, pmu-holder+18e0) -> _nv052522rm -> _nv052179rm(gpu, &bytes, &second): a dispatcher on the chip word at *(gpu+80)+10 (group = word >> 5, bit = word & 0x1f). Group 1: bit 10 -> _nv052174rm (0x25c400), bits 5-9 -> _nv052180rm (0x252700), bits 0-3 -> _nv052177rm (0x207a00). Group 0: bits 24-28 -> _nv052176rm (0x79500), bits 29-31 -> _nv052177rm. Everything else -> _nv052175rm (second 0x552610; bytes 0x951a00, or 0x552610 when _nv054300rm(gpu) answers true). A GV100 has chip word 0x23 -> _nv052177rm: both outputs 0x207a00.",
|
|
"inputs": "The chip word only. No register, registry key or PMU field enters. _nv052522rm stores the first output at surface+50 and requests it through _nv052601rm (alignment 0, 4 KiB page size, tag 0xe, framebuffer while GPU+914 and GPU+52fc are clear).",
|
|
"correction": "_nv052601rm is the surface allocator, not the producer: it requests whatever its caller stored at surface+50.",
|
|
"instance_block": "_nv052270rm -> _nv052299rm: 0x1000 (and two dword outputs 0x1000)",
|
|
"surface_at_pmu_f08": "_nv052623rm stores _nv052618rm() = 0x1f5b0 when bytes +59 and bit 1 of +68 of the object at pmu+e88 are set, GPU+4de2 is clear and pmu+8fb is clear. Those predicates were not established for a GV100."
|
|
},
|
|
"implemented": [
|
|
"Core gpu::pmu_surface_size: INSTANCE_BLOCK_BYTES, PLAIN_SURFACE_BYTES, GV100_CHIP_WORD, GV100_SUPER_SURFACE_BYTES, body(chip_word) -> Body, super_surface(chip_word, predicate) -> SuperSurface { bytes, second }"
|
|
],
|
|
"verification": {
|
|
"harness": "tools/check_gpu_pmu_surface_size_binary.py",
|
|
"oracle": "target/gpu-stage/original-pmu-surface-size.txt",
|
|
"oracle_sha256": "ba617bc8c9e64cd6c52f90ef1409da20199615af858898643b50bf16cbf1a7a3",
|
|
"oracle_regenerates_identically": true,
|
|
"original_cases": 1305,
|
|
"cases": "264 chip words (0 to 0xff and eight above) with valid and null output pointers, both predicate answers where _nv052175rm asks; one row each for _nv052299rm and _nv052618rm",
|
|
"cases_by_body": {
|
|
"_nv052177rm": 29,
|
|
"_nv052175rm": 1230,
|
|
"_nv052176rm": 20,
|
|
"_nv052180rm": 20,
|
|
"_nv052174rm": 4
|
|
},
|
|
"original_functions_executed": [
|
|
"_nv052174rm",
|
|
"_nv052175rm",
|
|
"_nv052176rm",
|
|
"_nv052177rm",
|
|
"_nv052179rm",
|
|
"_nv052180rm",
|
|
"_nv052299rm",
|
|
"_nv052618rm"
|
|
],
|
|
"fixture_supplied": [
|
|
"_nv054300rm",
|
|
"_nv047869rm",
|
|
"_nv047868rm",
|
|
"_nv046747rm"
|
|
],
|
|
"comparison_test": "NV_RS_PMU_SURFACE_SIZE_ORACLE: gpu::pmu_surface_size::tests::compare_original_pmu_surface_size (ignored) compares 511 size pairs and checks the 792 null-pointer rows return 0x1f without a store",
|
|
"also_executed_elsewhere": "tools/check_gpu_memory_placement_binary.py (direct rows) runs _nv052179rm and _nv052601rm on the original heap: the 0x207a00 request lands at 0x7fdb98000 on the traced register values",
|
|
"physical_trace": "line 147444: W 10a1c4 0x20207a00 (size field 0x207a00); the BAR2 extract shows 0x100000 + 0x100000 + 0x7a00 bytes zero-filled after the BAR2 test (_nv044059rm in _nv052522rm)",
|
|
"strict_clippy_and_format_passed": true
|
|
},
|
|
"limits": [
|
|
"Null output pointers (status 0x1f, a diagnostic and a status report per body) are not modelled; the Rust returns the values.",
|
|
"Whether the surface at PMU+f08 exists on a GV100 needs the PMU object tree (the object at pmu+e88).",
|
|
"The meaning of the second output is not established beyond its use as the size _nv052522rm passes to _nv052572rm.",
|
|
"Nothing here was executed on a GPU."
|
|
]
|
|
}
|