ivpu_mmu.c (cf79f291f985662150363b4a93d16f88f12643bc) | ivpu_mmu.c (30cf36bb0408a163eb3d58ea6b883c612c029286) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 2020-2023 Intel Corporation 4 */ 5 6#include <linux/circ_buf.h> 7#include <linux/highmem.h> 8 --- 891 unchanged lines hidden (view full) --- 900 else 901 ivpu_mmu_user_context_mark_invalid(vdev, ssid); 902 } 903 904 if (schedule_recovery) 905 ivpu_pm_schedule_recovery(vdev); 906} 907 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 2020-2023 Intel Corporation 4 */ 5 6#include <linux/circ_buf.h> 7#include <linux/highmem.h> 8 --- 891 unchanged lines hidden (view full) --- 900 else 901 ivpu_mmu_user_context_mark_invalid(vdev, ssid); 902 } 903 904 if (schedule_recovery) 905 ivpu_pm_schedule_recovery(vdev); 906} 907 |
908void ivpu_mmu_evtq_dump(struct ivpu_device *vdev) 909{ 910 u32 *event; 911 912 while ((event = ivpu_mmu_get_event(vdev)) != NULL) 913 ivpu_mmu_dump_event(vdev, event); 914} 915 |
|
908void ivpu_mmu_irq_gerr_handler(struct ivpu_device *vdev) 909{ 910 u32 gerror_val, gerrorn_val, active; 911 912 ivpu_dbg(vdev, IRQ, "MMU error\n"); 913 914 gerror_val = REGV_RD32(IVPU_MMU_REG_GERROR); 915 gerrorn_val = REGV_RD32(IVPU_MMU_REG_GERRORN); --- 38 unchanged lines hidden --- | 916void ivpu_mmu_irq_gerr_handler(struct ivpu_device *vdev) 917{ 918 u32 gerror_val, gerrorn_val, active; 919 920 ivpu_dbg(vdev, IRQ, "MMU error\n"); 921 922 gerror_val = REGV_RD32(IVPU_MMU_REG_GERROR); 923 gerrorn_val = REGV_RD32(IVPU_MMU_REG_GERRORN); --- 38 unchanged lines hidden --- |