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 accel/ivpu: Compile ivpu_debugfs.c conditionally 2023-09-27 13:11:51 +02:00
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 accel/ivpu: Rename VPU to NPU in message strings 2024-02-19 10:52:35 +01:00
ivpu_fw_log.h accel/ivpu: Add firmware tracing support 2023-07-07 09:33:20 +02:00
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 accel/ivpu: Refactor BO creation functions 2024-02-19 10:52:35 +01:00
ivpu_gem.h accel/ivpu: Add force snoop module parameter 2024-05-15 07:42:26 +02:00
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 accel/ivpu: Fix verbose version of REG_POLL macros 2023-10-23 08:57:25 +02:00
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 accel/ivpu: Dump MMU events in case of VPU boot timeout 2024-01-22 10:27:37 +01:00
ivpu_ms.c accel/ivpu: Add NPU profiling support 2024-05-15 07:42:23 +02:00
ivpu_ms.h accel/ivpu: Add NPU profiling support 2024-05-15 07:42:23 +02:00
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 accel/ivpu: Use GEM shmem helper for all buffers 2023-11-08 16:27:43 +01:00
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 accel/ivpu: Update VPU FW API headers 2024-05-15 07:37:30 +02:00