Dave Airlie
2abd4c3ed2
drm: set FMODE_UNSIGNED_OFFSET for drm files
...
commit 76ef6b28ea upstream.
Since we have the ttm and gem vma managers using a subset
of the file address space for objects, and these start at
0x100000000 they will overflow the new mmap checks.
I've checked all the mmap routines I could see for any
bad behaviour but overall most people use GEM/TTM VMA
managers even the legacy drivers have a hashtable.
Reported-and-Tested-by: Arthur Marsh (amarsh04 on #radeon)
Fixes: be83bbf806 (mmap: introduce sane default mmap limits)
Signed-off-by: Dave Airlie <airlied@redhat.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-06-11 22:49:22 +02:00
..
2018-05-30 07:52:31 +02:00
2018-05-01 12:58:21 -07:00
2018-05-01 12:58:20 -07:00
2018-05-30 07:51:54 +02:00
2018-05-16 10:10:29 +02:00
2018-05-30 07:52:41 +02:00
2018-05-30 07:52:36 +02:00
2018-05-25 16:17:42 +02:00
2018-05-30 07:52:34 +02:00
2018-05-30 07:52:36 +02:00
2018-05-25 16:17:55 +02:00
2018-05-30 07:52:06 +02:00
2018-05-30 07:52:38 +02:00
2018-05-25 16:17:46 +02:00
2018-04-12 12:32:13 +02:00
2018-05-30 07:52:37 +02:00
2018-06-05 11:41:57 +02:00
2018-04-19 08:56:20 +02:00
2018-04-24 09:36:29 +02:00
2018-04-26 11:02:03 +02:00
2018-05-30 07:52:34 +02:00
2018-05-01 12:58:24 -07:00
2018-05-16 10:10:26 +02:00
2018-06-11 22:49:22 +02:00
2018-04-26 11:02:10 +02:00
2018-04-19 08:56:16 +02:00
2018-05-30 07:52:34 +02:00
2018-06-05 11:41:59 +02:00
2018-05-30 07:52:31 +02:00
2018-05-30 07:52:34 +02:00
2018-06-05 11:41:58 +02:00
2018-06-05 11:41:59 +02:00
2018-06-05 11:41:56 +02:00
2018-05-30 07:52:30 +02:00
2018-05-09 09:51:56 +02:00
2018-06-11 22:49:19 +02:00
2018-03-19 08:42:50 +01:00
2018-05-30 07:52:27 +02:00
2018-05-30 07:52:30 +02:00
2018-05-25 16:17:58 +02:00
2018-05-25 16:17:47 +02:00
2018-05-30 07:52:33 +02:00
2018-05-30 07:51:48 +02:00
2018-05-01 12:58:19 -07:00
2018-06-11 22:49:22 +02:00
2018-04-26 11:02:13 +02:00
2018-04-24 09:36:32 +02:00
2018-05-30 07:52:29 +02:00
2018-05-01 12:58:24 -07:00
2018-05-30 07:52:28 +02:00
2018-04-08 14:26:31 +02:00
2018-06-11 22:49:22 +02:00
2018-05-30 07:52:39 +02:00
2018-05-30 07:52:36 +02:00
2018-06-05 11:41:55 +02:00
2018-06-05 11:41:57 +02:00
2018-05-30 07:52:38 +02:00
2018-04-24 09:36:34 +02:00
2018-05-30 07:52:41 +02:00
2018-05-30 07:52:30 +02:00
2018-05-25 16:18:02 +02:00
2018-05-30 07:52:37 +02:00
2018-06-11 22:49:17 +02:00
2018-06-05 11:41:58 +02:00
2018-05-30 07:52:32 +02:00
2018-05-25 16:17:44 +02:00
2018-05-09 09:51:51 +02:00
2018-05-22 18:53:57 +02:00
2018-05-16 10:10:30 +02:00
2018-04-24 09:36:29 +02:00
2018-05-25 16:18:00 +02:00
2018-04-12 12:32:19 +02:00
2018-05-30 07:51:56 +02:00
2018-04-24 09:36:34 +02:00
2018-06-11 22:49:21 +02:00
2018-05-30 07:52:12 +02:00
2018-05-30 07:52:36 +02:00
2018-05-30 07:52:26 +02:00
2018-05-30 07:52:30 +02:00