Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/common/
H A Ddevice.c2726 static void hl_capture_user_mappings(struct hl_device *hdev, bool is_pmmu) in hl_capture_user_mappings() argument
2749 if (((*vm_type == VM_TYPE_USERPTR) && is_pmmu) || in hl_capture_user_mappings()
2750 ((*vm_type == VM_TYPE_PHYS_PACK) && !is_pmmu)) in hl_capture_user_mappings()
2771 if ((*vm_type == VM_TYPE_USERPTR) && (is_pmmu)) { in hl_capture_user_mappings()
2776 } else if ((*vm_type == VM_TYPE_PHYS_PACK) && (!is_pmmu)) { in hl_capture_user_mappings()
2788 void hl_capture_page_fault(struct hl_device *hdev, u64 addr, u16 eng_id, bool is_pmmu) in hl_capture_page_fault() argument
2799 hl_capture_user_mappings(hdev, is_pmmu); in hl_capture_page_fault()
2804 void hl_handle_page_fault(struct hl_device *hdev, u64 addr, u16 eng_id, bool is_pmmu, in hl_handle_page_fault() argument
2807 hl_capture_page_fault(hdev, addr, eng_id, is_pmmu); in hl_handle_page_fault()
H A Dhabanalabs.h4081 void hl_capture_page_fault(struct hl_device *hdev, u64 addr, u16 eng_id, bool is_pmmu);
4082 void hl_handle_page_fault(struct hl_device *hdev, u64 addr, u16 eng_id, bool is_pmmu,
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c8996 static void gaudi2_handle_page_error(struct hl_device *hdev, u64 mmu_base, bool is_pmmu, in gaudi2_handle_page_error() argument
9012 if (is_pmmu) { in gaudi2_handle_page_error()
9021 hl_handle_page_fault(hdev, addr, 0, is_pmmu, event_mask); in gaudi2_handle_page_error()
9026 static void gaudi2_handle_access_error(struct hl_device *hdev, u64 mmu_base, bool is_pmmu) in gaudi2_handle_access_error() argument
9041 if (!is_pmmu) in gaudi2_handle_access_error()
9045 is_pmmu ? "PMMU" : "HMMU", addr); in gaudi2_handle_access_error()
9050 u64 mmu_base, bool is_pmmu, u64 *event_mask) in gaudi2_handle_mmu_spi_sei_generic() argument
9063 gaudi2_handle_page_error(hdev, mmu_base, is_pmmu, event_mask); in gaudi2_handle_mmu_spi_sei_generic()
9065 gaudi2_handle_access_error(hdev, mmu_base, is_pmmu); in gaudi2_handle_mmu_spi_sei_generic()
9232 bool is_pmmu = false; in gaudi2_handle_mmu_spi_sei_err() local
[all …]