mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
drivers: nvgpu: Print chid instead of ch->chid
During VM guest reset GPU interrupts were triggered after the corresponding channel has been disabled. This leads to a NULL-Ptr access in fecs error handling. This change removes the access to invalid ch->chid. Bug 3362082 Change-Id: I2d51a62ec47a07ae7ea90394fec76d3c3a8d186c Signed-off-by: Thomas Steinle <tsteinle@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2590478 (cherry picked from commit b1b04915bfad7060479624d5ec85894c6bac3ba6) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2596201 Reviewed-by: Phoenix Jung <pjung@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
5fb06d03ca
commit
db1393886b
@@ -5321,7 +5321,7 @@ int gk20a_gr_handle_fecs_error(struct gk20a *g, struct channel_gk20a *ch,
|
|||||||
} else {
|
} else {
|
||||||
nvgpu_err(g,
|
nvgpu_err(g,
|
||||||
"unhandled fecs error interrupt 0x%08x for channel %u",
|
"unhandled fecs error interrupt 0x%08x for channel %u",
|
||||||
gr_fecs_intr, ch->chid);
|
gr_fecs_intr, chid);
|
||||||
gk20a_fecs_dump_falcon_stats(g);
|
gk20a_fecs_dump_falcon_stats(g);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user