diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-11-10 21:55:03 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-11-10 21:56:20 +0000 |
commit | 2d522ecdf26c346af22e0406e0243b2932197b34 (patch) | |
tree | 7d57f5a6224ff42a0587a69392a0e2ec9fb1c60f /tests/i915/gem_pread.c | |
parent | 48bf21fabbf7a5d8a9458fe449394f190c3f2331 (diff) |
i915: Drop superfluous UFFD_API_RANGE_IOCTLS assert
We only require the minimum set of userfaultfd API (wake, copy) so we
can remove the overzealous assert that we have the full range. The full
range is not available if the vma contains a huge page, for example.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'tests/i915/gem_pread.c')
-rw-r--r-- | tests/i915/gem_pread.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/i915/gem_pread.c b/tests/i915/gem_pread.c index 58a21457..d4d022f1 100644 --- a/tests/i915/gem_pread.c +++ b/tests/i915/gem_pread.c @@ -182,7 +182,6 @@ static void test_exhaustion(int i915) reg.range.start = to_user_pointer(t.page); reg.range.len = 4096; do_ioctl(ufd, UFFDIO_REGISTER, ®); - igt_assert(reg.ioctls == UFFD_API_RANGE_IOCTLS); count = 0; while (!READ_ONCE(t.err)) { |