Files
linux-nvgpu/drivers/gpu/nvgpu/common
Konsta Hölttä 0e8184b976 gpu: nvgpu: print call stack on no regs
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>
2021-12-07 07:10:40 -08:00
..
2021-06-27 05:02:53 -07:00
2021-11-26 08:47:52 -08:00
2020-12-15 14:13:28 -06:00
2021-08-11 01:55:08 -07:00