<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - ROCm OpenCL segfaults on drm-next-5.1-wip"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109808#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - ROCm OpenCL segfaults on drm-next-5.1-wip"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109808">bug 109808</a>
from <span class="vcard"><a class="email" href="mailto:philip.yang@amd.com" title="Philip Yang <philip.yang@amd.com>"> <span class="fn">Philip Yang</span></a>
</span></b>
<pre>Error code -19 means NODEV, please check if the running kernel enables the
kernel config option CONFIG_ZONE_DEVICE (read kernel config from file
/proc/config.gz).
init_user_pages return -NODEV if userptr support is not enabled, userptr
support depends on kernel option CONFIG_HMM_MIRROR/CONFIG_HMM, which depends on
kernel option CONFIG_ZONE_DEVICE.
CONFIG_ZONE_DEVICE, CONFIG_HMM is by default ON, but kernel config file may not
select to set CONFIG_ZONE_DEVICE if the kernel config file is from old kernel.
If userptr support is not enabled, then clinfo and KFD usreptr support will
return error -19.
Please correct kernel config file by adding CONFIG_ZONE_DEVICE=y</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>