From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82455] Failed to allocate virtual address for buffer
Date: Mon, 15 Sep 2014 08:25:01 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0692902244=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 714536E2F3
for ; Mon, 15 Sep 2014 01:25:01 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0692902244==
Content-Type: multipart/alternative; boundary="1410769501.da6B8fD0.3991"; charset="us-ascii"
--1410769501.da6B8fD0.3991
Date: Mon, 15 Sep 2014 08:25:01 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82455
--- Comment #32 from charlie <407883775@qq.com> ---
>>radeon: The kernel rejected CS, see dmesg for more information
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 ?
--
You are receiving this mail because:
You are the assignee for the bug.
--1410769501.da6B8fD0.3991
Date: Mon, 15 Sep 2014 08:25:01 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 32
on bug 82455
from charlie
>>radeon: The kernel rejected CS, see dmesg for more information
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 ?
You are receiving this mail because:
- You are the assignee for the bug.
--1410769501.da6B8fD0.3991--
--===============0692902244==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0692902244==--