mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
IRQs were not enabled before nvgpu_finalize_poweron, so debugging early init issues such as MMU fault, invalid PRIV ring or bus access etc. triggered during nvgpu power-on was cumbersome. Hence, Enable the IRQs before nvgpu_finalize_poweron is called. In HUB (MMU fault) ISR, MMU fault handling is only limited to snapped in priv reg in case of fault during nvgpu power-on. In HUB (MMU fault) ISR, access to fault buffers is synchronized as nvgpu driver reads the fault buffer registers before proceeding with fault handling. However, additional MMU fault handling needs to be synchronized with GR/FIFO/quiesce/recovery setup through nvgpu power-on state. JIRA NVGPU-1592 Change-Id: I8a5f2fcd79cb7ad8e215359e7a9fad50bfd46d67 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2203861 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Philip Elcan <pelcan@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
38 KiB
38 KiB