mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
nvgpu_warn_on_no_regs() only logs a warning message, but that does not explain what operation attempted to access the unmapped GPU registers. Call also WARN_ON() to produce a standard big loud kernel warning with the call trace to help debug mistaken HW accesses. Also print the accessed register address. Signed-off-by: Konsta Hölttä <kholtta@nvidia.com> Change-Id: I1c70ad2273c2e162193052436e64879d996f4572 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2634860 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Sagar Kamble <skamble@nvidia.com> Reviewed-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>