mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
nvscic2c-pcie: update async error reporting
NVSCIC2C_PCIE_EDMA_XFER_ERROR is returned when failure received from PCIe EDMA in callback or when job scheduling failed. Remove returning NVSCIC2C_PCIE_EDMA_XFER_ERROR in case of PCIe EDMA job schedule failure as schedule failure should be due to validation failure. UMD will return NVSCIC2C_PCIE_VALIDATION_ERROR for this case too. Jira NVIPC-1333 Bug 4197626 Signed-off-by: dbadgaiyan <dbadgaiyan@nvidia.com> Change-Id: I6e079360b4129aebcd75204267934f7b821a4b99 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2941054 (cherry picked from commit 6e58a46b78e37b5a6399bebc2f16c338b6444487) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2947673 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Arihant Jejani <ajejani@nvidia.com> Reviewed-by: Vipin Kumar <vipink@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Tested-by: Deepak Kumar Badgaiyan <dbadgaiyan@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d171c817ec
commit
e063d55fff
@@ -609,9 +609,6 @@ ioctl_submit_copy_request(struct stream_ext_ctx_t *ctx,
|
|||||||
ret = -EIO;
|
ret = -EIO;
|
||||||
atomic_dec(&ctx->transfer_count);
|
atomic_dec(&ctx->transfer_count);
|
||||||
release_copy_request_handles(cr);
|
release_copy_request_handles(cr);
|
||||||
/* Scheduling edma job failed. Update edma error and Notify user. */
|
|
||||||
(void)pci_client_set_edma_error(ctx->pci_client_h, ctx->ep_id,
|
|
||||||
NVSCIC2C_PCIE_EDMA_XFER_ERROR);
|
|
||||||
goto reclaim_cr;
|
goto reclaim_cr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user