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
76 lines
5.3 KiB
JSON
76 lines
5.3 KiB
JSON
{
|
|
"original_sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b",
|
|
"scope": "GV100 memory placement derivation; companion to memory.md. Evidence classes as in BRIEF.md.",
|
|
"trace_inputs": {
|
|
"0x100ce0": {"value": "0x20a", "line": 37530, "meaning": "NV_PFB_PRI_MMU_LOCAL_MEMORY_RANGE: mag 0x20, scale 0xa"},
|
|
"0x100e34": {"value": "0x60002061", "line": 37591, "meaning": "fault buffer 0 size, entries in bits 19:0, 32 bytes each"},
|
|
"0x100e48": {"value": "0x40001800", "line": 37594, "meaning": "fault buffer 1 size"},
|
|
"0x100a0c": {"value": "0x1000", "line": 37590, "meaning": "access counter buffer entries (OBJUVM+0x1b8 _nv059748rm)"},
|
|
"0x17e3f4": {"value": "0x401c0002", "line": 37583, "meaning": "LTC compression geometry decoded by _nv045238rm"},
|
|
"0x12006c": {"value": "0x10", "line": 37578, "meaning": "LTC count (memsys +0xb10, low 5 bits)"}
|
|
},
|
|
"constants": {
|
|
"bar2_cpu_visible_limit": "0x1ffffff",
|
|
"bar2_rm_aperture_limit": "0xffffff",
|
|
"instance_block_size": "0x1000",
|
|
"fault_method_buffers": "4096 * 2 * 0x4000 = 0x8000000 (inferred factors)",
|
|
"comptag_bytes_per_line": "0x10000",
|
|
"comptag_max_lines": "0x3ffff",
|
|
"comptag_align_inputs": ["0x1000", "0x20000"]
|
|
},
|
|
"derived": {
|
|
"fb_bytes": "0x800000000",
|
|
"bar2_hidden_base": "0x2000000",
|
|
"bar2_hidden_size": "0x8091000",
|
|
"bar2_hidden_limit": "0xa090fff",
|
|
"bar2_page_dir_bytes": "0x4000",
|
|
"bar2_page_table_bytes": "0x51000",
|
|
"reserved_size": "0x60000",
|
|
"reserved_base": "0x7fffa0000",
|
|
"bar1_instance_block": "0x7fffa0000",
|
|
"bar2_instance_block": "0x7fffa1000",
|
|
"bar2_pde_base": "0x7fffa2000",
|
|
"bar2_pte_base": "0x7fffa6000",
|
|
"comptag_store": {"size": "0x2000000", "align": "0x20000", "address": "0x7fdfa0000"},
|
|
"internal_allocations_in_order": [
|
|
{"owner": "OBJGMMU+0x408 MMU read dummy page (tag 0x84)", "size": "0x10000", "align": "0x10000", "address": "0x7fdf90000"},
|
|
{"owner": "OBJGMMU+0x410 MMU write dummy page (tag 0x85)", "size": "0x10000", "align": "0x10000", "address": "0x7fdf80000"},
|
|
{"owner": "KernelBus flush page (_nv039577rm)", "size": "0x1000", "align": "0x1000", "address": "0x7fdf7f000"},
|
|
{"owner": "KernelBus BAR2 verify page (_nv039656rm)", "size": "0x1000", "align": "0x1000", "address": "0x7fdf7e000"},
|
|
{"owner": "WPR primary", "size": "0xe0000", "align": "0x20000", "address": "0x7fde80000", "note": "holds for any free top in (0x7fdf60000, 0x7fdf7e000]"}
|
|
],
|
|
"bar1_userd_va": "0x7ffdf0000"
|
|
},
|
|
"allocation_rule": "lo = floor((top - size) / align) * align; top = lo for the next allocation (public heapAlloc_IMPL grow-down branch, FORCE_MEM_GROWS_DOWN set by _memdescAllocInternal when bReservedMemAtBottom is 0)",
|
|
"symbols": {
|
|
"_nv044065rm": "memmgrPreInitReservedMemory_GM107 [A][S]",
|
|
"_nv044075rm": "memmgrReserveBar2BackingStore_IMPL [A][S]",
|
|
"_nv043997rm": "memmgrInitReservedMemory_GM107 [A][S]",
|
|
"_nv043823rm": "memmgrCheckReservedMemorySize_GM107, MemoryManager+0x320 [A]",
|
|
"_nv044000rm": "memmgrInsertFbRegion_IMPL [D][S]",
|
|
"_nv043988rm": "GV100 FB region init, MemoryManager+0x340 [D]",
|
|
"_nv043851rm": "memmgrCreateHeap_IMPL [D][S]",
|
|
"_nv035551rm": "heapInit [D][S]",
|
|
"_nv044073rm": "memmgrRegionSetupForPma [D][S]",
|
|
"_nv043815rm": "memmgrCalcReservedFbSpaceHal, MemoryManager+0x300 [D][S]",
|
|
"_nv044227rm": "comptag store allocation, MemorySystem+0xeb8 [D]",
|
|
"_nv044460rm": "comptag store memdesc creation, MemorySystem+0xf28 [D]",
|
|
"_nv039557rm": "kbusSetBarsApertureSize_GM107 [D][S]",
|
|
"_nv039317rm": "kbusCalcCpuInvisibleBar2Range_GP100, KernelBus+0x168 [D][S]",
|
|
"_nv039316rm": "kbusCalcCpuInvisibleBar2ApertureSize_GV100 plus access-counter term, KernelBus+0x170 [D][S]",
|
|
"_nv041683rm": "kmemsysSendL2InvalidateEvict, control 0x20800a6c [D][S]",
|
|
"_nv029562rm": "OBJGMMU InitLocked: MMU dummy pages [D]",
|
|
"_nv039462rm": "kbusInitBar1_GM107, KernelBus+0x470 [D][S]",
|
|
"_nv039293rm": "BAR1 instance block bind, KernelBus+0x498 [D]",
|
|
"_nv040727rm": "kgmmuFaultBufferInit_GV100 [D][S]",
|
|
"_nv040729rm": "kgmmuFaultBufferLoad_GV100 [D][S]",
|
|
"_nv045171rm": "memory scrub wait, MemorySystem+0xc68 (binder _nv005936rm) [D]",
|
|
"_nv043694rm": "memdescCreate", "_nv043691rm": "memdescAlloc", "_nv043692rm": "memdescAllocList",
|
|
"_nv043698rm": "memdescDescribe", "_nv043721rm": "memdescGetPhysAddr", "_nv043705rm": "memdescGetAddressSpace",
|
|
"_nv043756rm": "memdescSetGpuCacheAttrib", "_nv043759rm": "memdescSetHeapOffset", "_nv043684rm": "memmgrMemDescMemSet",
|
|
"_nv043704rm": "memdescFree", "_nv043700rm": "memdescDestroy"
|
|
},
|
|
"check": "up=lambda x,a:(x+a-1)//a*a; dn=lambda x,a:x//a*a; fb=0x20<<30; hid=up(0x2061<<5,4096)+(0x1800<<5)+(0x1000<<5)+4096*2*0x4000; lim=0x2000000+hid-1; rs=up(0x2000+0x4000+0x1000*-(-(lim+1)//0x200000),0x10000); base=(fb-rs)&~0xfff; ct=up(2*0x3ffff,0x200)*4*16; top=dn(base-ct,0x20000); r=dn(top-0x10000,0x10000); w=dn(r-0x10000,0x10000); f=w-0x1000; v=f-0x1000; wpr=dn(v-0xe0000,0x20000); assert (lim,rs,base,top,r,w,f,v,wpr)==(0xa090fff,0x60000,0x7fffa0000,0x7fdfa0000,0x7fdf90000,0x7fdf80000,0x7fdf7f000,0x7fdf7e000,0x7fde80000)",
|
|
"report_gap": "reports/gv100-engine-hal-bindings.json omits MemorySystem binder _nv005936rm; slots such as 0xb10, 0xc30, 0xc60, 0xc68, 0xc78, 0xc88, 0xcb8 are therefore missing from it."
|
|
}
|