All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 206895] [amdgpu] crash while using opencl from amdgpu-pro on kernel 5.5.10
Date: Mon, 23 Mar 2020 12:44:49 +0000	[thread overview]
Message-ID: <bug-206895-2300-ge0fzKngqQ@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-206895-2300@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=206895

--- Comment #9 from bigbeeshane@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.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2020-03-23 12:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-20 19:55 [Bug 206895] New: [amdgpu] crash while using opencl from amdgpu-pro on kernel 5.5.10 bugzilla-daemon
2020-03-20 20:32 ` [Bug 206895] " bugzilla-daemon
2020-03-20 20:41 ` bugzilla-daemon
2020-03-21 14:52 ` bugzilla-daemon
2020-03-21 23:09 ` bugzilla-daemon
2020-03-22 10:35 ` bugzilla-daemon
2020-03-22 23:45 ` bugzilla-daemon
2020-03-22 23:47 ` bugzilla-daemon
2020-03-23  0:38 ` bugzilla-daemon
2020-03-23 12:44 ` bugzilla-daemon [this message]
2020-03-23 12:46 ` [Bug 206895] [amdgpu] crash while using opencl from amdgpu-pro on kernel 5.5.10 & 5.6.0-rc6 bugzilla-daemon
2020-03-23 13:57 ` bugzilla-daemon
2020-03-23 15:59 ` bugzilla-daemon
2020-03-23 16:01 ` bugzilla-daemon
2020-03-23 16:11 ` bugzilla-daemon
2020-03-23 16:16 ` bugzilla-daemon
2020-03-23 16:18 ` bugzilla-daemon
2020-03-23 17:01 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-206895-2300-ge0fzKngqQ@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.