gpu: nvgpu: nvs: plug nvs with safety code

- Change enables CONFIG_NVS_PRESENT for safety build.
- Fixes misra vioations.
- Renames sched.h to nvs_sched.h to avoid the conflict with QNX system
sched.h file for the safety support.
- Disable test_channel_close, test_tsg_unbind_channel,
test_channel_enable_disable_tsg, test_gv11b_fifo_preempt_tsg,
test_tsg_unbind_channel_check_hw_state and test_rc_deinit unit tests.

Jira NVGPU-8619

Change-Id: I7c983de2f4910fcb23687ec23368a060ce89c918
Signed-off-by: prsethi <prsethi@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2763579
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
prsethi
2022-08-02 09:52:54 +00:00
committed by mobile promotions
parent 427c7895ce
commit e4d1a739da
16 changed files with 76 additions and 59 deletions

View File

@@ -25,7 +25,7 @@
#include <nvgpu/os_sched.h>
#include "os_linux.h"
#include <nvs/sched.h>
#include <nvs/nvs_sched.h>
#include <nvs/domain.h>
#include "ioctl.h"