switch-linux/drivers/gpu/drm/amd/amdkfd
Andy Lutomirski 10f1685fd5 drivers/gpu/drm/amd/amdkfd: use in_compat_syscall to check open() caller type
amdkfd wants to know syscall type, not task type.  Check directly.

Unfortunately, amdkfd is making nasty assumptions that a process'
bitness is a well-defined constant thing.  This isn't the case on x86.
I don't know how much this matters, but this patch has no effect on
generated code on x86, so amdkfd is equally broken with and without this
patch.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Oded Gabbay <oded.gabbay@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-03-22 15:36:02 -07:00
..
cik_event_interrupt.c
cik_int.h
cik_regs.h drm/amdkfd: Use generic defines in new amd headers 2015-07-20 09:16:49 +03:00
Kconfig
kfd_chardev.c drivers/gpu/drm/amd/amdkfd: use in_compat_syscall to check open() caller type 2016-03-22 15:36:02 -07:00
kfd_crat.h
kfd_dbgdev.c drm/amdkfd: uninitialized variable in dbgdev_wave_control_set_registers() 2016-03-15 14:09:37 +02:00
kfd_dbgdev.h
kfd_dbgmgr.c
kfd_dbgmgr.h
kfd_device.c drm/amdkfd: add supported CZ devices PCI IDs to amdkfd 2015-07-20 09:16:48 +03:00
kfd_device_queue_manager.c
kfd_device_queue_manager.h
kfd_device_queue_manager_cik.c drm/amdkfd: fix bug when initializing sdma vm 2015-07-30 09:26:15 +03:00
kfd_device_queue_manager_vi.c drm/amdkfd: fix bug when initializing sdma vm 2015-07-30 09:26:15 +03:00
kfd_doorbell.c
kfd_events.c
kfd_events.h
kfd_flat_memory.c amdkfd: use <linux/mman.h> instead of <uapi/asm-generic/mman-common.h> 2015-08-30 12:36:58 +03:00
kfd_interrupt.c
kfd_kernel_queue.c
kfd_kernel_queue.h
kfd_kernel_queue_cik.c
kfd_kernel_queue_vi.c
kfd_module.c drm/amdkfd: Track when module's init is complete 2016-02-27 22:52:40 +02:00
kfd_mqd_manager.c
kfd_mqd_manager.h
kfd_mqd_manager_cik.c drm/amdkfd: Use generic defines in new amd headers 2015-07-20 09:16:49 +03:00
kfd_mqd_manager_vi.c drm/amdkfd: add support for VI in MQD manager 2015-07-20 09:16:48 +03:00
kfd_packet_manager.c drm/amdkfd: Implement create_map_queues() for Carrizo 2015-07-20 09:16:49 +03:00
kfd_pasid.c
kfd_pm4_headers.h
kfd_pm4_headers_diq.h
kfd_pm4_headers_vi.h drm/amdkfd: add CP HWS packet headers for VI 2015-07-20 09:16:48 +03:00
kfd_pm4_opcodes.h
kfd_priv.h
kfd_process.c drivers/gpu/drm/amd/amdkfd: use in_compat_syscall to check open() caller type 2016-03-22 15:36:02 -07:00
kfd_process_queue_manager.c
kfd_queue.c
kfd_topology.c drm/amdkfd: Set correct doorbell packet type for Carrizo 2015-07-20 09:16:49 +03:00
kfd_topology.h drm/amdkfd: Set correct doorbell packet type for Carrizo 2015-07-20 09:16:49 +03:00
Makefile drm/amdkfd: add support for VI in MQD manager 2015-07-20 09:16:48 +03:00