Dave Airlie
8655f2847f
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-13 16:16:41 +02:00
..
2018-05-01 15:13:09 -07:00
2016-11-11 04:31:35 +03:00
2017-11-15 15:53:13 +01:00
2018-02-25 11:05:49 +01:00
2017-07-05 14:40:17 +02:00
2016-09-28 12:08:49 +10:00
2016-09-28 13:23:07 +10:00
2018-05-09 09:50:22 +02:00
2016-10-26 16:48:01 +10:00
2017-10-05 09:44:03 +02:00
2018-05-30 07:50:28 +02:00
2017-12-09 22:01:46 +01:00
2017-06-07 12:07:49 +02:00
2017-12-05 11:24:35 +01:00
2016-09-23 03:29:50 -07:00
2016-08-08 10:05:22 +02:00
2018-06-06 16:44:38 +02:00
2018-05-30 07:50:37 +02:00
2017-11-30 08:39:13 +00:00
2017-04-12 12:41:20 +02:00
2017-11-21 09:23:26 +01:00
2018-04-13 19:48:07 +02:00
2018-05-30 07:50:24 +02:00
2018-04-13 19:48:18 +02:00
2018-05-30 07:50:46 +02:00
2018-03-22 09:17:36 +01:00
2016-08-08 10:05:22 +02:00
2018-04-24 09:34:16 +02:00
2018-03-22 09:17:47 +01:00
2018-05-30 07:50:50 +02:00
2017-01-19 20:17:58 +01:00
2016-07-18 09:11:37 +02:00
2016-08-08 10:05:22 +02:00
2017-11-21 09:23:23 +01:00
2018-05-30 07:50:33 +02:00
2016-08-08 10:05:22 +02:00
2017-01-19 20:17:58 +01:00
2018-03-24 11:00:24 +01:00
2018-03-22 09:17:45 +01:00
2018-03-28 18:39:22 +02:00
2018-05-16 10:08:43 +02:00
2016-09-22 04:03:48 -07:00
2016-10-19 08:11:43 -07:00
2018-05-30 07:50:32 +02:00
2018-05-30 07:50:17 +02:00
2016-08-08 10:05:23 +02:00
2017-03-30 09:41:28 +02:00
2017-08-30 10:21:48 +02:00
2016-08-08 10:05:23 +02:00
2016-09-22 00:04:02 -07:00
2016-09-19 15:04:15 +02:00
2016-09-21 13:24:27 +02:00
2016-07-12 15:57:13 +02:00
2016-09-22 00:04:03 -07:00
2017-06-17 06:41:53 +02:00
2016-08-08 10:05:23 +02:00
2016-09-19 16:45:15 +02:00
2016-08-16 16:10:19 +02:00
2016-09-22 00:04:02 -07:00
2016-09-22 00:04:02 -07:00
2016-08-07 23:38:48 -04:00
2016-08-08 10:05:23 +02:00
2016-08-16 18:49:26 +02:00
2018-04-29 11:31:56 +02:00
2018-06-06 16:44:38 +02:00
2017-07-27 15:08:07 -07:00
2017-11-15 15:53:12 +01:00
2016-05-30 09:59:28 +02:00
2018-03-22 09:17:53 +01:00
2016-02-10 15:14:49 +01:00
2016-09-21 13:33:50 +02:00
2016-07-02 16:21:35 +10:00
2017-03-15 10:02:50 +08:00
2018-06-13 16:16:41 +02:00
2016-08-29 15:37:28 +02:00
2016-09-22 00:01:56 -07:00
2016-06-01 15:00:28 +10:00
2017-08-30 10:21:47 +02:00
2016-09-14 15:10:29 -04:00
2016-09-06 13:56:41 -04:00
2016-10-17 16:20:53 +10:00
2016-09-19 13:57:38 +02:00
2016-09-19 13:57:38 +02:00
2016-11-30 10:13:00 +01:00
2018-03-22 09:17:39 +01:00
2016-08-16 18:49:26 +02:00
2016-06-16 10:16:37 +02:00
2016-08-08 10:05:23 +02:00
2016-07-12 13:20:39 +02:00
2016-08-24 13:34:00 +02:00
2017-11-30 08:39:13 +00:00
2016-09-12 10:32:49 -04:00
2017-02-01 08:33:02 +01:00
2016-08-16 16:10:19 +02:00
2018-02-25 11:05:41 +01:00
2016-02-10 14:19:21 +01:00
2016-05-06 16:04:48 +02:00
2016-09-22 04:03:48 -07:00
2016-08-16 18:50:04 +02:00
2016-10-04 12:53:12 +10:00
2016-09-22 04:03:48 -07:00
2016-10-10 11:19:42 +02:00
2018-03-18 11:18:48 +01:00
2016-09-07 13:24:22 +03:00
2016-08-08 14:17:56 -04:00
2016-08-08 10:05:23 +02:00
2016-10-05 15:18:02 +02:00
2016-09-19 13:57:38 +02:00
2016-07-12 13:20:39 +02:00
2016-09-19 11:22:08 +02:00
2016-09-01 06:16:12 +10:00
2016-09-22 00:04:02 -07:00