mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: print PMU command/message unit-id upon RPC failure
Print PMU command/message unit-id upon RPC failure to know which command/message failed using RPC unit-id Bug 200499055 Change-Id: Ifbe033347c5e1902328acc5c1f96f38860093fd2 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2034783 Reviewed-by: Ramesh Mylavarapu <rmylavarapu@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-by: Alex Waterman <alexw@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>
This commit is contained in:
committed by
mobile promotions
parent
c7ce4a4465
commit
ed530d99fe
@@ -1277,8 +1277,9 @@ static void pmu_rpc_handler(struct gk20a *g, struct pmu_msg *msg,
|
||||
sizeof(struct nv_pmu_rpc_header));
|
||||
|
||||
if (rpc.flcn_status != 0U) {
|
||||
nvgpu_err(g, " failed RPC response, status=0x%x, func=0x%x",
|
||||
rpc.flcn_status, rpc.function);
|
||||
nvgpu_err(g,
|
||||
"failed RPC response, unit-id=0x%x, func=0x%x, status=0x%x",
|
||||
rpc.unit_id, rpc.function, rpc.flcn_status);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user