linux/drivers/accel/qaic
Jeffrey Hugo 4c8874c2a6 accel/qaic: Implement quirk for SOC_HW_VERSION
The SOC_HW_VERSION register in the BHI space is not correctly initialized
by the device and in many cases contains uninitialized data. The register
could contain 0xFFFFFFFF which is a special value to indicate a link
error in PCIe, therefore if observed, we could incorrectly think the
device is down.

Intercept reads for this register, and provide the correct value - every
production instance would read 0x60110200 if the device was operating as
intended.

Fixes: a36bf7af86 ("accel/qaic: Add MHI controller")
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231208163101.1295769-3-quic_jhugo@quicinc.com
History 2023-12-15 10:40:37 -07:00
..
Kconfig accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00
Makefile Revert "accel/qaic: Add mhi_qaic_cntl" 2023-04-13 12:08:08 +02:00
mhi_controller.c accel/qaic: Implement quirk for SOC_HW_VERSION 2023-12-15 10:40:37 -07:00
mhi_controller.h accel/qaic: Add MHI controller 2023-04-06 08:23:03 +02:00
qaic.h accel/qaic: Add QAIC_DETACH_SLICE_BO IOCTL 2023-09-22 09:58:49 -06:00
qaic_control.c accel/qaic: Clean up integer overflow checking in map_user_pages() 2023-08-15 09:51:13 -06:00
qaic_data.c accel/qaic: Fix GEM import path code 2023-12-15 10:38:56 -07:00
qaic_drv.c accel/qaic: Add QAIC_DETACH_SLICE_BO IOCTL 2023-09-22 09:58:49 -06:00