From: Oded Gabbay Date: Fri, 5 Dec 2014 08:40:34 +0000 (+0200) Subject: amdkfd: Disable support for 32-bit user processes X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a18069c132cb0d065ff23c05977d06ea0c78404f;p=pandora-kernel.git amdkfd: Disable support for 32-bit user processes This patch checks if the process that opens the /dev/kfd device is 32-bit process. If so, it returns -EPERM and prints a warning message in dmesg. This is done to prevent 32-bit user processes from using amdkfd, and hence, HSA features. AMD's HSA userspace stack will also support only 64-bit processes on Linux. Reviewed-by: Alexey Skidanov Signed-off-by: Oded Gabbay --- Reading git-diff-tree failed