mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 06:28:39 +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
102 lines
6.3 KiB
JSON
102 lines
6.3 KiB
JSON
{
|
|
"scope": "Load-time EnableMSI resolution in the Linux cold PCI IRQ policy for the original 580.178.04 x86-64 driver",
|
|
"original_binary": {
|
|
"path": "/home/geodd/nvidia-driver/analysis-580.178.04/extracted/kernel/nvidia/nv-kernel.o_binary",
|
|
"sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b",
|
|
"saved_ghidra_export_root": "/home/geodd/nvidia-driver/analysis-580.178.04/decompiled/kernel-rm-all",
|
|
"saved_symbols": [
|
|
{
|
|
"name": "rm_write_registry_dword",
|
|
"ELF_st_value": 14049616,
|
|
"ELF_size": 220,
|
|
"mapped_entry": "06ed5960",
|
|
"decompiler_output": "functions/24/2460929b75bf6ee9_rm_write_registry_dword.c"
|
|
},
|
|
{
|
|
"name": "rm_read_registry_dword",
|
|
"ELF_st_value": 14049344,
|
|
"ELF_size": 268,
|
|
"mapped_entry": "06ed5850",
|
|
"decompiler_output": "functions/c0/c010be3046ea974a_rm_read_registry_dword.c"
|
|
},
|
|
{
|
|
"name": "rm_parse_option_string",
|
|
"ELF_st_value": 14050528,
|
|
"ELF_size": 552,
|
|
"mapped_entry": "06ed5cf0",
|
|
"decompiler_output": "functions/c7/c716af063b0494f1_rm_parse_option_string.c"
|
|
}
|
|
]
|
|
},
|
|
"original_linux_source_sha256": {
|
|
"/home/geodd/nvidia-driver/analysis-580.178.04/extracted/kernel/nvidia/nv.c": "359a50f7dc840c0d7adc40388313391cfcaa55598982a4745622887e9423e005",
|
|
"/home/geodd/nvidia-driver/analysis-580.178.04/extracted/kernel/nvidia/nv-reg.h": "e15b226d3d77b6e55f132f3492bffb4b821fd6cf4340ef618e3ab427fb86aa82",
|
|
"/home/geodd/nvidia-driver/analysis-580.178.04/extracted/kernel/nvidia/os-registry.c": "265f3fc6a6ba34333c9e288dcda8f1d4e3365d15fc8ebc3b9252badf0f57b5a7",
|
|
"/home/geodd/nvidia-driver/analysis-580.178.04/extracted/kernel/nvidia/nv-pci.c": "7ac1926cb26ee6495c7af5b50c073ec6dfc351e2a7654268bebc9bde61862681",
|
|
"/home/geodd/nvidia-driver/analysis-580.178.04/extracted/kernel/nvidia/os-interface.c": "e3790661e17cbb0bbb427a034e716f792241de8d1945361da0a77ccd0fd2fee9"
|
|
},
|
|
"behavior": [
|
|
"nv_start_device begins at zero, reads EnableMSI and attempts MSI-X followed by MSI only for exactly one. nv-reg.h defines the load default as one.",
|
|
"The exact global EnableMSI key from RegistryDwords updates the named parameter, which os_registry_init writes after processing generic entries. The per-device parser uses a case-sensitive pci selector and writes the selected device registry. Registry lookup is case insensitive and searches the local DWORD before the global DWORD.",
|
|
"The Rust resolver uses the BDF, saved BOOT registers and PCI handle from one locked GPU owner. The same guard protects capability probing and GFW MMIO under the caller D0 contract."
|
|
],
|
|
"verification": {
|
|
"focused_core_tests": 4,
|
|
"rust_registry_host_tests": 6,
|
|
"rust_gpu_registry_host_tests": 5,
|
|
"irq_host_cases": 17,
|
|
"strict_core_clippy": true,
|
|
"production_module_build": true,
|
|
"compile_only_cold_resolver_root": true,
|
|
"cold_resolver_function_frame_bytes": 232,
|
|
"empty_target_live_control_unchanged_original_580_bindings": 8,
|
|
"qemu_edu_cases": 4,
|
|
"qemu_fixed_assertions_each": 134,
|
|
"guest_result_gate": true,
|
|
"qemu_option_matrix": [
|
|
{
|
|
"irq_mode": "MSI",
|
|
"direct": 0,
|
|
"global": "EnableMSI=1",
|
|
"effective_checked": 1
|
|
},
|
|
{
|
|
"irq_mode": "INTx",
|
|
"direct": 1,
|
|
"per_device": "pci=0000:00:01.0;EnableMSI=0",
|
|
"effective_checked": 0
|
|
}
|
|
]
|
|
},
|
|
"limits": [
|
|
"Startup module options are resolved for EnableMSI only. This path does not implement general mutable global/per-device registry ownership, registry write failures or fallback providers.",
|
|
"EDU exercises the production policy and separate Linux MSI/INTx registration with fixture callbacks. It cannot verify physical MSI-X, NVIDIA callbacks, or CUDA.",
|
|
"The production per-device first-open caller must invoke the resolver under D0 and supply verified GPU callbacks. Compile-only root retention is not live NVIDIA integration."
|
|
],
|
|
"sha256": {
|
|
"src/nvidia/src/gpu/msix.rs": "5252f80bd558bba30aa1971eefb43a5964b67a5a9aaca2b00ff260503203c566",
|
|
"src/nvidia/kernel/gpu.rs": "031deec2f9c51c9642cff48328557ccfd2cc355e03591a8fc5278fbd73284ebd",
|
|
"src/nvidia/kernel/irq.rs": "e5c7a55dc5d23b4234ca638d71e1798a32a685181d8c7aa6770040e96cb1c1ce",
|
|
"src/nvidia/kernel/codegen_audit.rs": "d7d1800ec925f30022e105778fb2b133b8de93ac3b2b89bde82e0d09cc576914",
|
|
"kernel-open/nvidia/registry_adapter.c": "dd10a33bea39209c4c54ebbed2aea46ab2cfe956a9ba633c02e1c0312c6cc702",
|
|
"kernel-open/nvidia/registry_adapter.h": "aaa23100bac9b56a6ec134b73d00497e4e7e378246316410ae13466c2dd97a8c",
|
|
"tests/vm/edu_adapter_test.c": "bed252ba2edf079861decc0156f526fc9ca1e6de4796d7afa55ca61a77d368af",
|
|
"tests/vm/rust_backing.rs": "995eb20de17aa8821c7beed3feeb02fe55cf612d4b0768d62cc6d05ae26362db",
|
|
"tools/vm/build_initramfs.sh": "b487c995b08cf119addcf5ac1803eb40ead06a6b57b8304c516fbfe4982739ef",
|
|
"tools/vm/build_guest_test.sh": "43d49bfad0bd05b244d2790cb3676b8ff06feec3dcb35e390013e51606cf433d",
|
|
"tools/vm/run_guest.py": "8c384901e46141978c4da5df3ac512e4623b4a2813c2718235a50a8c7ccf5083",
|
|
"tools/vm/guest_results.py": "cc0d3696ea8add2e48b5c24b7222ab8d6e0bc4ae2ce550f60894c4b273da35f4",
|
|
"reports/cold-msi-build.log": "c45350597b5c26f0086a44e92e7dd2292ab3246bd85356b595333e12492e9cea",
|
|
"reports/cold-msi-codegen.json": "8fd2a41ae867ebd244f27cb6bc0e027e13a59d77cef621a1946fa3666c8fb5f7",
|
|
"reports/cold-msi-core.log": "6234c83404eb61d9fda6c89a39c2ec07f62548ad27b138da0ca987fce0d53098",
|
|
"reports/cold-msi-host.log": "aae07c9854ee4a345f8e909f4227978d317ca1e6a77f953e392514a630bf65f4",
|
|
"reports/cold-msi-live-control.json": "c5977aa21c178a4bff8b493ff5ae85e0779694d38c21deafec705b063d531479",
|
|
"reports/cold-msi-guest-build.log": "0fd3690351cd0a662968c3923149e4df879faa752fe67d6f16444a0831f7e336",
|
|
"reports/cold-msi-qemu.log": "c4733895933699cab78566fbc58f71d7ef14fb162c6f0ba4871f5a04a837f2cf",
|
|
"reports/cold-msi-qemu-iommu.log": "e922bb299eb844eb9b982a3d308effd923fae1c31ddc94cb1e5280836b73405d",
|
|
"kernel-open/nvidia_rs.ko": "b41d959a1831b7a14a45d02b83b663a256c490c0e07f7d7ec1ea8661048cc58d",
|
|
"target/codegen/audit.o": "d7a16b5b57b249603349dbbf478d4e5fec89370441e9619828dbd9c1eb96504c",
|
|
"target/vm-module/nv_rs_edu_test.ko": "35b5e4cace8ed7fd14be9644e08d38636c787c29d68744280a51846357f7a755"
|
|
}
|
|
}
|