[Bug 206895] [amdgpu] crash while using opencl from amdgpu-pro on kernel 5.5.10
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Mon Mar 23 12:44:49 UTC 2020
https://bugzilla.kernel.org/show_bug.cgi?id=206895
--- Comment #9 from bigbeeshane at gmail.com ---
Also validated last night that the following patch to disable the merging of sg
sections within dma-iommu fixes the issue I am seeing
--- a/drivers/iommu/dma-iommu.c
+++ b/drivers/iommu/dma-iommu.c
@@ -779,7 +779,7 @@ static int __finalise_sg(struct device *dev, struct
scatterlist *sg, int nents,
* - but doesn't fall at a segment boundary
* - and wouldn't make the resulting output segment too long
*/
- if (cur_len && !s_iova_off && (dma_addr & seg_mask) &&
+ if (0 && cur_len && !s_iova_off && (dma_addr & seg_mask) &&
(max_len - cur_len >= s_length)) {
I guess amdgpu needs to be updated to handle the case where the iommu driver is
merging some of the requested segments ?
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the dri-devel
mailing list