Re: [PATCH v2 4/9] drm/amdkfd: Validate user queue buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello Philip,

Philip Yang <yangp@xxxxxxx> writes:

On 2025-02-12 17:42, Uwe Kleine-König wrote:

 #regzbot introduced: 68e599db7a549f010a329515f3508d8a8c3467a4
#regzbot monitor: https://bugs.debian.org/1093124

Hello,

On Thu, Jul 18, 2024 at 05:05:53PM -0400, Philip Yang wrote:

Find user queue rptr, ring buf, eop buffer and cwsr area BOs, and check BOs are mapped on the GPU with correct size and take the BO
reference.

Signed-off-by: Philip Yang <Philip.Yang@xxxxxxx>
Reviewed-by: Felix Kuehling <felix.kuehling@xxxxxxx>


This change made it into v6.12-rc1 as 68e599db7a54 ("drm/amdkfd:
Validate user queue buffers"). A Debian user (Dieter Faulbaum, on Cc) reported that this change introduced a regression using a gfx803 device resulting in a HSA exception when e.g. darktable is used. I didn't even try to understand the problem, but maybe one of you have an idea about
the issue?!

Try this patch

https://lore.kernel.org/all/20250130000412.29812-1-Philip.Yang@xxxxxxx/T/
Thank you, this patch helps!
Tested with kernel version 6.12.0+

And (for me) the Debian bug report could be closed.

Thanks to all for your help!
Dieter




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux