Chris Wilson
2d2b61e160
igt/gem_reloc_overflow: Fix errno tests for "overflow"
...
The execbuffer2 ABI is not strictly limited to a total of UINT32_MAX
entries, rather each object can have a maximum of UINT32_MAX relocation
entries and the current implementation imposes that the total must be
allocable in a contiguous buffer when necessary (i.e as large as the
kernel can conceivably allocate). This is not an ABI constraint per-se,
just an implementation issue.
Whilst updating the limits for 64bit kernels, review usable of
ioctl-wrappers (i.e. use __gem_execbuf now available) and include a
batch of more tests to explore the boundary conditions of the maximum
relocation size. Note that rather than guess the reloc-max, it would be
better if we queried it. Also it is of vital importance that when
constructing a test to fail in a particular fashion, it must not include
any other error (e.g. we were passing in relocation arrays with invalid
target handle and domains when looking for a potential overflow across
multiple objects).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-03-08 09:57:33 +00:00
..
2014-12-10 17:11:35 +00:00
2014-12-10 17:11:35 +00:00
2015-08-13 11:28:22 +01:00
2015-12-03 11:36:02 +00:00
2015-12-01 17:31:27 +01:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-11-03 19:46:12 +00:00
2015-12-02 16:17:18 +00:00
2015-12-02 13:14:03 +02:00
2015-12-03 11:36:02 +00:00
2013-07-01 18:54:40 +02:00
2015-11-25 15:52:18 +02:00
2015-12-04 16:35:00 +01:00
2015-11-25 14:33:49 +00:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-12-03 11:36:02 +00:00
2015-09-11 14:39:43 +01:00
2016-03-01 16:57:11 +02:00
2016-03-02 10:33:25 +00:00
2015-12-03 11:36:02 +00:00
2015-10-12 19:57:58 +03:00
2016-02-04 17:48:16 +00:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2016-02-18 10:30:56 +00:00
2015-09-11 14:39:43 +01:00
2016-02-04 09:49:29 +00:00
2015-09-11 14:39:43 +01:00
2015-08-21 09:37:10 +01:00
2016-03-01 13:25:07 +00:00
2015-04-02 16:35:42 +01:00
2015-12-10 12:45:20 +01:00
2015-12-03 11:12:38 +00:00
2016-02-18 10:28:39 +00:00
2016-02-18 10:28:39 +00:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2016-03-02 09:46:18 +00:00
2016-02-18 10:30:56 +00:00
2015-11-03 19:46:11 +00:00
2016-02-18 10:30:56 +00:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2016-03-01 16:57:00 +02:00
2016-01-25 14:03:56 +00:00
2016-01-25 14:03:56 +00:00
2016-02-05 16:13:23 +00:00
2015-09-11 14:39:43 +01:00
2016-03-03 09:12:21 +00:00
2015-10-09 19:16:26 +03:00
2015-09-11 14:39:43 +01:00
2015-10-12 19:57:58 +03:00
2015-10-12 19:57:58 +03:00
2016-01-27 14:47:19 +00:00
2016-02-10 09:16:33 +01:00
2016-01-27 14:45:18 +00:00
2016-02-19 10:32:35 +00:00
2016-03-02 17:28:30 +00:00
2015-09-11 14:39:43 +01:00
2015-10-12 19:57:58 +03:00
2015-10-12 19:57:58 +03:00
2016-01-27 14:45:18 +00:00
2015-09-11 14:39:43 +01:00
2015-12-16 10:21:14 +01:00
2015-09-11 14:39:43 +01:00
2015-10-12 19:57:58 +03:00
2016-01-08 19:56:49 +02:00
2015-10-12 19:57:58 +03:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-10-12 19:57:58 +03:00
2015-12-10 12:45:20 +01:00
2015-09-11 14:39:43 +01:00
2015-11-11 14:20:55 +00:00
2015-09-11 14:39:43 +01:00
2016-02-18 10:30:56 +00:00
2015-10-12 19:57:58 +03:00
2016-01-19 14:03:15 +00:00
2015-10-12 19:57:58 +03:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2016-01-20 07:53:22 +00:00
2015-10-12 19:57:58 +03:00
2015-11-03 19:46:11 +00:00
2015-09-11 14:39:43 +01:00
2016-03-07 13:03:04 +00:00
2016-01-20 13:13:57 +00:00
2015-12-12 20:02:16 +00:00
2015-11-03 19:46:11 +00:00
2015-10-16 11:04:33 +01:00
2016-02-18 10:30:56 +00:00
2015-12-13 15:20:18 +00:00
2015-09-11 14:39:43 +01:00
2015-11-03 19:46:11 +00:00
2016-03-08 09:57:33 +00:00
2016-01-20 13:13:57 +00:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-12-10 12:45:20 +01:00
2015-12-10 12:45:20 +01:00
2015-12-02 15:02:52 +00:00
2016-02-04 15:25:40 +00:00
2015-09-11 14:39:43 +01:00
2016-01-27 14:45:18 +00:00
2016-02-04 09:49:35 +00:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2015-10-12 19:57:58 +03:00
2015-10-12 19:57:58 +03:00
2016-03-03 10:19:01 +00:00
2015-12-03 11:12:38 +00:00
2016-01-25 19:44:31 +01:00
2016-01-27 14:47:19 +00:00
2016-02-04 09:49:35 +00:00
2015-09-11 14:39:43 +01:00
2016-02-26 22:19:41 +00:00
2015-09-11 14:39:43 +01:00
2015-12-10 12:45:20 +01:00
2015-12-10 12:45:20 +01:00
2015-09-11 14:39:43 +01:00
2015-10-12 19:57:58 +03:00
2015-10-12 19:57:58 +03:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-10-12 19:57:58 +03:00
2015-09-11 14:39:43 +01:00
2015-09-11 14:39:43 +01:00
2016-02-12 16:39:29 +00:00
2016-02-23 18:03:46 +00:00
2016-02-05 17:38:02 +00:00
2015-09-11 14:39:43 +01:00
2015-10-12 19:57:58 +03:00
2015-09-11 14:39:43 +01:00
2015-10-12 19:57:58 +03:00
2015-10-12 19:57:58 +03:00
2015-10-12 19:57:58 +03:00
2015-10-12 19:57:58 +03:00
2015-12-04 10:49:11 +01:00
2015-11-16 15:35:28 +02:00
2016-02-26 08:52:53 -08:00
2016-01-11 20:25:45 +02:00
2015-09-11 14:39:43 +01:00
2015-10-16 15:35:28 +01:00
2016-03-04 19:14:57 -03:00
2015-11-11 14:20:56 +00:00
2016-03-03 16:57:48 -03:00
2015-10-12 19:57:58 +03:00
2015-09-11 14:39:43 +01:00
2016-01-08 15:01:59 +02:00
2016-01-08 19:59:10 +02:00
2016-02-29 10:06:40 +01:00
2016-03-04 19:14:32 -03:00
2015-09-11 14:39:43 +01:00
2016-03-01 13:25:07 +00:00
2015-09-11 14:39:43 +01:00
2016-01-08 15:01:59 +02:00
2015-11-03 19:46:11 +00:00
2016-01-08 19:59:10 +02:00
2016-01-08 15:01:59 +02:00
2015-09-11 14:39:43 +01:00
2016-01-08 16:00:13 -08:00
2016-01-08 15:01:59 +02:00
2016-01-29 16:30:15 -02:00
2016-02-18 10:36:45 +00:00
2016-03-07 12:27:05 +01:00
2015-09-11 14:39:43 +01:00
2015-12-03 11:36:02 +00:00
2015-10-14 15:45:23 +01:00
2015-09-11 14:39:43 +01:00
2016-02-08 16:34:13 -08:00
2016-03-02 17:28:30 +00:00
2012-08-08 08:51:55 +02:00
2015-11-03 19:46:11 +00:00
2016-03-03 16:57:48 -03:00
2015-09-28 18:23:52 +03:00
2016-03-07 14:18:43 +00:00
2016-01-25 19:44:31 +01:00
2016-01-25 19:44:31 +01:00
2016-03-01 13:25:07 +00:00
2016-02-14 19:22:25 +02:00
2015-08-21 09:37:10 +01:00
2015-08-21 09:37:10 +01:00
2015-08-21 09:37:10 +01:00
2015-12-16 10:21:14 +01:00
2015-08-21 09:37:10 +01:00
2015-12-03 11:36:02 +00:00
2015-09-11 14:39:43 +01:00
2015-12-03 11:36:02 +00:00
2016-01-26 09:32:43 -08:00
2016-01-26 09:32:43 -08:00
2016-01-26 09:32:43 -08:00
2015-12-03 11:36:02 +00:00
2016-02-08 16:34:13 -08:00
2016-02-08 16:34:13 -08:00
2016-02-08 16:34:13 -08:00
2012-01-15 16:05:43 +01:00