summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@amd.com>2014-12-05 10:40:34 +0200
committerOded Gabbay <oded.gabbay@amd.com>2014-12-05 22:01:35 +0200
commita18069c132cb0d065ff23c05977d06ea0c78404f (patch)
tree0801554a71620dadf55f319e2936f17f2df049fa /drivers/iommu
parent7608867d0c4d9da30e9efe6a53ff4ee1e6c4990b (diff)
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>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions