msm+lib: Add test for buffer mapping permissions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | igt: Split out I/O helperslib/ lib/ lib/ +1 more | +135 | 3 replies | |
| 2/2 | msm: Add test for kernel buffer permissionslib/ tests/ tests/ | +259 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Petri Latvala |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [igt-dev] [PATCH igt 0/2] msm+lib: Add test for buffer mapping permissions
From: Rob Clark <[email protected]>
First patch just splits out a couple of helpers from igt_sysfs so they can be re-used. Second patch adds a test which locates the address of a given buffer, and verifies (depending on expected permissions) that writes and/or reads trigger an iova fault rather than succeeding.
Rob Clark (2):
igt: Split out I/O helpers
msm: Add test for kernel buffer permissions
lib/igt_io.c | 96 +++++++++++++++++ lib/igt_io.h | 33 ++++++ lib/igt_msm.h | 1 + lib/igt_sysfs.c | 45 +------- lib/meson.build | 1 + tests/meson.build | 1 + tests/msm_mapping.c | 257 ++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 394 insertions(+), 40 deletions(-) create mode 100644 lib/igt_io.c create mode 100644 lib/igt_io.h create mode 100644 tests/msm_mapping.c
Signature · 1 line
2.33.1