linux/drivers/accel/ivpu
Andrzej Kacprowski 35c49cfc8b accel/ivpu/37xx: Fix interrupt_clear_with_0 WA initialization
Using PCI Device ID/Revision to initialize the interrupt_clear_with_0
workaround is problematic - there are many pre-production
steppings with different behavior, even with the same PCI ID/Revision

Instead of checking for PCI Device ID/Revision, check the VPU
buttress interrupt status register behavior - if this register
is not zero after writing 1s it means there register is RW
instead of RW1C and we need to enable the interrupt_clear_with_0
workaround.

Fixes: 7f34e01f77 ("accel/ivpu: Clear specific interrupt status bits on C0")
Signed-off-by: Andrzej Kacprowski <Andrzej.Kacprowski@intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://lore.kernel.org/all/20231204122331.40560-1-jacek.lawrynowicz@linux.intel.com
2023-12-11 10:38:52 +01:00
..
ivpu_debugfs.c accel/ivpu: Update debugfs to latest changes in DRM 2023-09-27 13:11:44 +02:00
ivpu_debugfs.h accel/ivpu: Compile ivpu_debugfs.c conditionally 2023-09-27 13:11:51 +02:00
ivpu_drv.c Merge tag 'drm-misc-next-2023-10-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2023-10-31 10:47:50 +10:00
ivpu_drv.h Linux 6.6-rc7 2023-10-23 18:20:06 +10:00
ivpu_fw_log.c accel/ivpu: Add ivpu_bo_vaddr() and ivpu_bo_size() 2023-10-12 12:54:51 +02:00
ivpu_fw_log.h accel/ivpu: Add firmware tracing support 2023-07-07 09:33:20 +02:00
ivpu_fw.c Merge tag 'drm-misc-next-2023-10-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2023-10-31 10:47:50 +10:00
ivpu_fw.h accel/ivpu: Move ivpu_fw_load() to ivpu_fw_init() 2023-09-04 11:01:49 +02:00
ivpu_gem.c accel/ivpu: Add ivpu_bo_vaddr() and ivpu_bo_size() 2023-10-12 12:54:51 +02:00
ivpu_gem.h Revert "accel/ivpu: Use cached buffers for FW loading" 2023-10-19 06:51:51 +02:00
ivpu_hw_37xx_reg.h accel/ivpu: Move MMU register definitions to ivpu_mmu.c 2023-09-04 11:01:53 +02:00
ivpu_hw_37xx.c accel/ivpu/37xx: Fix interrupt_clear_with_0 WA initialization 2023-12-11 10:38:52 +01:00
ivpu_hw_40xx_reg.h accel/ivpu/40xx: Ensure clock resource ownership Ack before Power-Up 2023-09-27 07:40:23 +02:00
ivpu_hw_40xx.c Merge tag 'drm-misc-next-2023-10-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2023-10-31 10:47:50 +10: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.h accel/ivpu: Don't enter d0i3 during FLR 2023-10-19 06:48:05 +02:00
ivpu_ipc.c Merge tag 'drm-misc-next-2023-10-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2023-10-31 10:47:50 +10:00
ivpu_ipc.h accel/ivpu: Fix IPC buffer header status field value 2023-03-24 10:52:20 +01:00
ivpu_job.c As usual, lots of singleton and doubleton patches all over the tree and 2023-11-02 20:53:31 -10:00
ivpu_job.h accel/ivpu: Annotate struct ivpu_job with __counted_by 2023-09-28 16:39:08 -07:00
ivpu_jsm_msg.c accel/ivpu: Print IPC type string instead of number 2023-10-23 09:00:28 +02:00
ivpu_jsm_msg.h accel/ivpu: Print IPC type string instead of number 2023-10-23 09:00:28 +02:00
ivpu_mmu_context.c Linux 6.6-rc7 2023-10-23 18:20:06 +10:00
ivpu_mmu_context.h accel/ivpu: Initialize context with SSID = 1 2023-09-04 11:01:26 +02:00
ivpu_mmu.c accel/ivpu: Fix verbose version of REG_POLL macros 2023-10-23 08:57:25 +02:00
ivpu_mmu.h
ivpu_pm.c accel/ivpu: avoid build failure with CONFIG_PM=n 2023-11-15 11:03:49 +01:00
ivpu_pm.h accel/ivpu: Read clock rate only if device is up 2023-10-23 08:59:20 +02:00
Kconfig accel/ivpu: ivpu_ipc needs GENERIC_ALLOCATOR 2023-06-06 14:19:53 +02:00
Makefile accel/ivpu: Compile ivpu_debugfs.c conditionally 2023-09-27 13:11:51 +02:00
vpu_boot_api.h
vpu_jsm_api.h