Home
last modified time | relevance | path

Searched refs:is_pmmu (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/accel/habanalabs/common/
Ddevice.c2560 static void hl_capture_user_mappings(struct hl_device *hdev, bool is_pmmu) in hl_capture_user_mappings() argument
2583 if (((*vm_type == VM_TYPE_USERPTR) && is_pmmu) || in hl_capture_user_mappings()
2584 ((*vm_type == VM_TYPE_PHYS_PACK) && !is_pmmu)) in hl_capture_user_mappings()
2605 if ((*vm_type == VM_TYPE_USERPTR) && (is_pmmu)) { in hl_capture_user_mappings()
2610 } else if ((*vm_type == VM_TYPE_PHYS_PACK) && (!is_pmmu)) { in hl_capture_user_mappings()
2622 void hl_capture_page_fault(struct hl_device *hdev, u64 addr, u16 eng_id, bool is_pmmu) in hl_capture_page_fault() argument
2633 hl_capture_user_mappings(hdev, is_pmmu); in hl_capture_page_fault()
2638 void hl_handle_page_fault(struct hl_device *hdev, u64 addr, u16 eng_id, bool is_pmmu, in hl_handle_page_fault() argument
2641 hl_capture_page_fault(hdev, addr, eng_id, is_pmmu); in hl_handle_page_fault()
Dhabanalabs.h3942 void hl_capture_page_fault(struct hl_device *hdev, u64 addr, u16 eng_id, bool is_pmmu);
3943 void hl_handle_page_fault(struct hl_device *hdev, u64 addr, u16 eng_id, bool is_pmmu,
/Linux-v6.6/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c8835 static void gaudi2_handle_page_error(struct hl_device *hdev, u64 mmu_base, bool is_pmmu, in gaudi2_handle_page_error() argument
8851 if (is_pmmu) { in gaudi2_handle_page_error()
8861 hl_handle_page_fault(hdev, addr, 0, is_pmmu, event_mask); in gaudi2_handle_page_error()
8866 static void gaudi2_handle_access_error(struct hl_device *hdev, u64 mmu_base, bool is_pmmu) in gaudi2_handle_access_error() argument
8881 if (!is_pmmu) in gaudi2_handle_access_error()
8885 is_pmmu ? "PMMU" : "HMMU", addr); in gaudi2_handle_access_error()
8890 u64 mmu_base, bool is_pmmu, u64 *event_mask) in gaudi2_handle_mmu_spi_sei_generic() argument
8903 gaudi2_handle_page_error(hdev, mmu_base, is_pmmu, event_mask); in gaudi2_handle_mmu_spi_sei_generic()
8905 gaudi2_handle_access_error(hdev, mmu_base, is_pmmu); in gaudi2_handle_mmu_spi_sei_generic()
9072 bool is_pmmu = false; in gaudi2_handle_mmu_spi_sei_err() local
[all …]