amdgpu_vm_up..._fault_cache(9)
โจ amdgpu_vm_update_fault_cache โจ
okay so real talk, this one lives in the Kernel API Manual (the amdgpu_vm_up..._fault_cache(9) one, yes the name is a whole mood and it got truncated, we don't talk about it ๐) and honestly? it's a little baddie. let's get into it ๐ซถ
๐ธ NAME ๐ธ
amdgpu_vm_update_fault_cache โ update cached fault into.
(no bestie I did not mistype that, the page literally says "into", we're keeping it, character for character, periodt ๐ )
โญ SYNOPSIS โญ
void amdgpu_vm_update_fault_cache (struct amdgpu_device *adev , unsigned
int pasid , uint64_t addr , uint32_t status , unsigned int vmhub );
like yeah it's giving "one function, five arguments, zero chill" but she's iconic ๐ฅ
๐ ARGUMENTS ๐
adevโ amdgpu device pointer. that's the whole GPU bestie, the main character energy itself ๐pasidโ PASID of the VM. your girl's process ID era ๐ฆaddrโ Address of the fault. where it all went down ๐statusโ GPUVM fault status register. the receipts, basically ๐vmhubโ which vmhub got the fault. gotta know which hub is going through it ๐ญ
๐ DESCRIPTION ๐
Cache the fault info for later use by userspace in debugging.
that's it. that's the whole vibe. she snatches the fault info, tucks it away all neatly, and later userspace gets to rummage through it while debugging. lowkey so helpful of her ngl ๐งโจ
๐ฎ SEE ALSO ๐ฎ
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c โ and like, an entire friend group of functions. buckle up bestie, we're listing every single one because I would never do you dirty like that ๐
GPUVM(9)struct amdgpu_prt_cb(9)struct amdgpu_vm_tlb_seq_struct(9)amdgpu_vm_assert_locked(9)amdgpu_vm_is_bo_always_valid(9)amdgpu_vm_bo_evicted(9)amdgpu_vm_bo_needs_update(9)amdgpu_vm_bo_idle(9)amdgpu_vm_bo_reset_state_machine(9)amdgpu_vm_update_shared(9)amdgpu_vm_bo_update_shared(9)amdgpu_vm_update_stats_locked(9)amdgpu_vm_update_stats(9)amdgpu_vm_bo_base_init(9)amdgpu_vm_lock_pd(9)amdgpu_vm_lock_individual(9)amdgpu_vm_move_to_lru_tail(9)amdgpu_vm_generation(9)amdgpu_vm_validate(9)amdgpu_vm_ready(9)amdgpu_vm_check_compute_bug(9)amdgpu_vm_need_pipeline_sync(9)amdgpu_vm_flush(9)amdgpu_vm_bo_find(9)amdgpu_vm_map_gart(9)amdgpu_vm_update_pdes(9)amdgpu_vm_tlb_seq_cb(9)amdgpu_vm_tlb_flush(9)amdgpu_vm_update_range(9)amdgpu_vm_bo_update(9)amdgpu_vm_update_prt_state(9)amdgpu_vm_prt_get(9)amdgpu_vm_prt_put(9)amdgpu_vm_prt_cb(9)amdgpu_vm_add_prt_cb(9)amdgpu_vm_free_mapping(9)amdgpu_vm_prt_fini(9)amdgpu_vm_clear_freed(9)amdgpu_vm_handle_moved(9)amdgpu_vm_flush_compute_tlb(9)amdgpu_vm_bo_add(9)amdgpu_vm_bo_insert_map(9)amdgpu_vm_bo_map(9)amdgpu_vm_bo_replace_map(9)amdgpu_vm_bo_unmap(9)amdgpu_vm_bo_clear_mappings(9)amdgpu_vm_bo_lookup_mapping(9)amdgpu_vm_bo_trace_cs(9)amdgpu_vm_bo_del(9)amdgpu_vm_evictable(9)amdgpu_vm_bo_invalidate(9)amdgpu_vm_bo_move(9)amdgpu_vm_get_block_size(9)amdgpu_vm_adjust_size(9)amdgpu_vm_wait_idle(9)amdgpu_vm_put_task_info(9)amdgpu_vm_get_task_info_vm(9)amdgpu_vm_get_task_info_pasid(9)amdgpu_vm_set_task_info(9)amdgpu_vm_init(9)amdgpu_vm_make_compute(9)amdgpu_vm_fini(9)amdgpu_vm_manager_init(9)amdgpu_vm_manager_fini(9)amdgpu_vm_ioctl(9)amdgpu_vm_lock_by_pasid(9)amdgpu_vm_handle_fault(9)amdgpu_debugfs_vm_bo_info(9)
like. seventy entries. she has friends, okay, we respect it ๐
and that's the whole page bestie โ mwah ๐ this little love letter came to you from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it answers to the name amdgpu_vm_up..._fault_cache(9). go read it again fr fr, she ate ๐๐
๐ฆ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms