mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Nvlink interrupt handling
Enable logging and error reporting for MIF, DLPL, and TLC blocks. Configure the NVLIPT and IOCTRL interrupt registers to rollup the MIF and TLC errors on the link-specific fatal line and the DLPL interrupts on link-specific intr_a(fatal) line. Both link_err_fatal and link_intr_a are rolled up to stall interrupt line. In the handling ISR, clear the interrupt status registers and print an error. Move the interrupt handling HAL code to /common/hal. JIRA NVGPU-4350 JIRA NVGPU-4351 JIRA NVGPU-5231 JIRA NVGPU-4354 JIRA NVGPU-4355 JIRA NVGPU-4356 Change-Id: I14812499caf506592f3ae84d6681d857730d31ff Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2313221 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
d58d6ff321
commit
5af8cedf05
@@ -143,8 +143,6 @@ nvlink:
|
||||
common/nvlink/init/device_reginit.c,
|
||||
common/nvlink/init/device_reginit_gv100.c,
|
||||
common/nvlink/init/device_reginit_gv100.h,
|
||||
common/nvlink/intr_and_err_handling_gv100.c,
|
||||
common/nvlink/intr_and_err_handling_gv100.h,
|
||||
include/nvgpu/nvlink.h,
|
||||
include/nvgpu/nvlink_device_reginit.h,
|
||||
include/nvgpu/nvlink_link_mode_transitions.h,
|
||||
|
||||
@@ -682,6 +682,8 @@ nvlink:
|
||||
hal/nvlink/link_mode_transitions_gv100.h,
|
||||
hal/nvlink/link_mode_transitions_tu104.c,
|
||||
hal/nvlink/link_mode_transitions_tu104.h,
|
||||
hal/nvlink/intr_and_err_handling_tu104.c,
|
||||
hal/nvlink/intr_and_err_handling_tu104.h,
|
||||
hal/nvlink/minion_gv100.c,
|
||||
hal/nvlink/minion_gv100.h,
|
||||
hal/nvlink/minion_tu104.c,
|
||||
|
||||
Reference in New Issue
Block a user