mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: change set_err_notifier error message to info type for forced channel reset
Below error notifier message is not really warning/error as that is user triggered reset and the notifier value set is already consumed by userspace hence limit this message to INFO type. nvgpu: 17000000.gp10b nvgpu_set_err_notifier_locked:142 [ERR] error notifier set to 43 for ch 460 Bug 3344409 Change-Id: Ia41cc85f30111ef72994f3ce8e5113e881c06b1b Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2620974 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
7b29872bc4
commit
688a6aa17d
@@ -139,8 +139,15 @@ void nvgpu_set_err_notifier_locked(struct nvgpu_channel *ch, u32 error)
|
||||
notification->info32 = error;
|
||||
notification->status = 0xffff;
|
||||
|
||||
nvgpu_err(ch->g,
|
||||
"error notifier set to %d for ch %d", error, ch->chid);
|
||||
if (error == NVGPU_CHANNEL_RESETCHANNEL_VERIF_ERROR) {
|
||||
nvgpu_log_info(ch->g,
|
||||
"error notifier set to %d for ch %d",
|
||||
error, ch->chid);
|
||||
} else {
|
||||
nvgpu_err(ch->g,
|
||||
"error notifier set to %d for ch %d",
|
||||
error, ch->chid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user