<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Failed to allocate virtual address for buffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82455#c32">Comment # 32</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Failed to allocate virtual address for buffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82455">bug 82455</a>
from <span class="vcard"><a class="email" href="mailto:407883775@qq.com" title="charlie <407883775@qq.com>"> <span class="fn">charlie</span></a>
</span></b>
<pre><span class="quote">>>radeon: The kernel rejected CS, see dmesg for more information</span >
This error is showed in the drm_ioctl function.The part code show as follow:
468 if (cmd & IOC_OUT) { //error place,
469 printk(KERN_EMERG "cmd & IOC_OUT\n");
470 if (copy_to_user((void __user *)arg, kdata,
471 usize) != 0){
472 printk(KERN_EMERG "cmd & IOC_OUT error\n");
473 retcode = -EFAULT;
474 }
475 }
The copy_from_user havn't error, So the error is cause by parameter.
Or, PAGE_SIZE cause it ?</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>