1
linux/drivers/accel/ivpu
Andrzej Kacprowski 72f7e16ecc accel/ivpu: Fix NOC firewall interrupt handling
The NOC firewall interrupt means that the HW prevented
unauthorized access to a protected resource, so there
is no need to trigger device reset in such case.

To facilitate security testing add firewall_irq_counter
debugfs file that tracks firewall interrupts.

Fixes: 8a27ad81f7 ("accel/ivpu: Split IP and buttress code")
Cc: stable@vger.kernel.org # v6.11+
Signed-off-by: Andrzej Kacprowski <Andrzej.Kacprowski@intel.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241017144958.79327-1-jacek.lawrynowicz@linux.intel.com
2024-10-30 10:17:00 +01:00
..
ivpu_debugfs.c accel/ivpu: Fix NOC firewall interrupt handling 2024-10-30 10:17:00 +01:00
ivpu_debugfs.h
ivpu_drv.c accel/ivpu: Synchronize device unbind with recovery work 2024-06-14 09:14:57 +02:00
ivpu_drv.h accel/ivpu: Add test mode flag for disabling timeouts 2024-06-14 09:14:36 +02:00
ivpu_fw_log.c
ivpu_fw_log.h
ivpu_fw.c accel/ivpu: Add missing MODULE_FIRMWARE metadata 2024-07-15 11:13:04 +02:00
ivpu_fw.h accel/ivpu: Make parts of FW image read-only 2024-06-14 09:14:29 +02:00
ivpu_gem.c
ivpu_gem.h
ivpu_hw_37xx_reg.h accel/ivpu: Split IP and buttress headers 2024-05-17 08:30:23 +02:00
ivpu_hw_40xx_reg.h accel/ivpu: Split IP and buttress headers 2024-05-17 08:30:23 +02:00
ivpu_hw_btrs_lnl_reg.h accel/ivpu: Implement DCT handling 2024-06-14 09:13:32 +02:00
ivpu_hw_btrs_mtl_reg.h accel/ivpu: Split IP and buttress headers 2024-05-17 08:30:23 +02:00
ivpu_hw_btrs.c accel/ivpu: Implement DCT handling 2024-06-14 09:13:32 +02:00
ivpu_hw_btrs.h accel/ivpu: Implement DCT handling 2024-06-14 09:13:32 +02:00
ivpu_hw_ip.c accel/ivpu: Fix NOC firewall interrupt handling 2024-10-30 10:17:00 +01:00
ivpu_hw_ip.h accel/ivpu: Replace wake_thread with kfifo 2024-05-17 08:30:27 +02:00
ivpu_hw_reg_io.h
ivpu_hw.c accel/ivpu: Fix NOC firewall interrupt handling 2024-10-30 10:17:00 +01:00
ivpu_hw.h accel/ivpu: Fix NOC firewall interrupt handling 2024-10-30 10:17:00 +01:00
ivpu_ipc.c accel/ivpu: Abort jobs of faulty context 2024-06-14 09:12:11 +02:00
ivpu_ipc.h accel/ivpu: Abort jobs of faulty context 2024-06-14 09:12:11 +02:00
ivpu_job.c accel/ivpu: Abort jobs of faulty context 2024-06-14 09:12:11 +02:00
ivpu_job.h accel/ivpu: Abort jobs of faulty context 2024-06-14 09:12:11 +02:00
ivpu_jsm_msg.c accel/ivpu: Remove duplicated debug messages 2024-06-14 09:15:13 +02:00
ivpu_jsm_msg.h accel/ivpu: Implement DCT handling 2024-06-14 09:13:32 +02:00
ivpu_mmu_context.c accel/ivpu: Make parts of FW image read-only 2024-06-14 09:14:29 +02:00
ivpu_mmu_context.h accel/ivpu: Make parts of FW image read-only 2024-06-14 09:14:29 +02:00
ivpu_mmu.c accel/ivpu: Abort jobs of faulty context 2024-06-14 09:12:11 +02:00
ivpu_mmu.h
ivpu_ms.c
ivpu_ms.h
ivpu_pm.c accel/ivpu: Remove unused ivpu_rpm_get_if_active() 2024-06-14 09:15:28 +02:00
ivpu_pm.h accel/ivpu: Remove unused ivpu_rpm_get_if_active() 2024-06-14 09:15:28 +02:00
ivpu_sysfs.c accel/ivpu: Share NPU busy time in sysfs 2024-05-15 07:42:29 +02:00
ivpu_sysfs.h accel/ivpu: Share NPU busy time in sysfs 2024-05-15 07:42:29 +02:00
Kconfig
Makefile accel/ivpu: Split IP and buttress code 2024-05-17 08:30:24 +02:00
vpu_boot_api.h accel/ivpu: Update FW BOOT API headers 2024-06-14 09:14:11 +02:00
vpu_jsm_api.h