Searched refs:hop_info (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/common/mmu/ |
D | mmu_v2.c | 266 hops->hop_info[0].hop_addr = hl_mmu_dr_get_phys_hop0_addr(ctx); in hl_mmu_v2_get_tlb_info() 267 hops->hop_info[0].hop_pte_addr = hl_mmu_get_hop_pte_phys_addr(ctx, mmu_prop, 0, in hl_mmu_v2_get_tlb_info() 268 hops->hop_info[0].hop_addr, in hl_mmu_v2_get_tlb_info() 270 if (hops->hop_info[0].hop_pte_addr == U64_MAX) in hl_mmu_v2_get_tlb_info() 273 hops->hop_info[0].hop_pte_val = hdev->asic_funcs->read_pte(hdev, in hl_mmu_v2_get_tlb_info() 274 hops->hop_info[0].hop_pte_addr); in hl_mmu_v2_get_tlb_info() 275 if (hops->hop_info[0].hop_pte_val == U64_MAX) in hl_mmu_v2_get_tlb_info() 279 hops->hop_info[i].hop_addr = in hl_mmu_v2_get_tlb_info() 280 hl_mmu_get_next_hop_addr(ctx, hops->hop_info[i - 1].hop_pte_val); in hl_mmu_v2_get_tlb_info() 281 if (hops->hop_info[i].hop_addr == ULLONG_MAX) in hl_mmu_v2_get_tlb_info() [all …]
|
D | mmu_v1.c | 491 hops->hop_info[0].hop_addr = hl_mmu_dr_get_phys_hop0_addr(ctx); in hl_mmu_v1_get_tlb_info() 492 hops->hop_info[0].hop_pte_addr = in hl_mmu_v1_get_tlb_info() 494 hops->hop_info[0].hop_addr, virt_addr); in hl_mmu_v1_get_tlb_info() 495 hops->hop_info[0].hop_pte_val = in hl_mmu_v1_get_tlb_info() 497 hops->hop_info[0].hop_pte_addr); in hl_mmu_v1_get_tlb_info() 500 hops->hop_info[i].hop_addr = in hl_mmu_v1_get_tlb_info() 502 hops->hop_info[i - 1].hop_pte_val); in hl_mmu_v1_get_tlb_info() 503 if (hops->hop_info[i].hop_addr == ULLONG_MAX) in hl_mmu_v1_get_tlb_info() 506 hops->hop_info[i].hop_pte_addr = in hl_mmu_v1_get_tlb_info() 508 hops->hop_info[i].hop_addr, in hl_mmu_v1_get_tlb_info() [all …]
|
D | mmu.c | 488 tmp_phys_addr = hops->hop_info[hops->used_hops - 1].hop_pte_val; in hl_mmu_pa_page_with_offset() 1182 hops->hop_info[i - 1].hop_pte_val); in hl_mmu_hr_get_tlb_info() 1187 hops->hop_info[i].hop_addr = hops_pgt_info[i]->phys_addr; in hl_mmu_hr_get_tlb_info() 1188 hops->hop_info[i].hop_pte_addr = in hl_mmu_hr_get_tlb_info() 1190 hops->hop_info[i].hop_addr, in hl_mmu_hr_get_tlb_info() 1192 hops->hop_info[i].hop_pte_val = *(u64 *) (uintptr_t) in hl_mmu_hr_get_tlb_info() 1194 hops->hop_info[i].hop_pte_addr, in hl_mmu_hr_get_tlb_info() 1197 if (!(hops->hop_info[i].hop_pte_val & PAGE_PRESENT_MASK)) in hl_mmu_hr_get_tlb_info() 1200 if (hops->hop_info[i].hop_pte_val & mmu_prop->last_mask) in hl_mmu_hr_get_tlb_info() 1210 (hdev, hops->hop_info[i].hop_pte_val); in hl_mmu_hr_get_tlb_info() [all …]
|
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | debugfs.c | 461 i, hops_info.hop_info[i].hop_addr); in mmu_show() 463 i, hops_info.hop_info[i].hop_pte_addr); in mmu_show() 465 i, hops_info.hop_info[i].hop_pte_val); in mmu_show()
|
D | habanalabs.h | 2862 struct hl_mmu_per_hop_info hop_info[MMU_ARCH_6_HOPS]; member
|