Oded Gabbay a18069c132 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 <alexey.skidanov@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-05 22:01:35 +02:00
..
2014-11-20 11:27:31 +10:00
2014-12-02 10:58:33 +10:00
2014-11-26 20:09:40 +02:00
2014-11-20 11:30:37 +10:00
2014-12-02 10:58:33 +10:00
2014-09-24 11:43:41 +10:00
2014-11-20 11:33:51 +10:00
2014-09-12 11:19:47 +02:00
2014-11-12 17:56:12 +10:00
2014-09-10 17:43:10 +10:00