Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Martin Radev a55491015c gpu: nvgpu: exit early in cbc debugfs under hv
This patch updates the logic for the cbc debugfs node
to fail early if running under HV. The reason is that
the CBC region is maintained by HV and cannot be accessed
by nvgpu.

This avoids a subsequent null-ptr deref for Linux + HV.

Bug 4131079

Change-Id: I1ac1919efc1c05fb679f19a189184ca00908856f
Signed-off-by: Martin Radev <mradev@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2913160
Reviewed-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-by: Ankur Kishore <ankkishore@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-08 18:32:06 -07:00
..
2020-12-15 14:13:28 -06:00
2019-02-01 09:45:57 -08:00
2023-03-14 04:50:18 -07:00
2021-08-11 01:55:08 -07:00
2023-05-12 20:58:19 -07:00
2022-06-06 05:55:26 -07:00
2023-04-10 20:45:50 -07:00
2022-09-27 23:25:55 -07:00
2023-04-21 11:32:05 -07:00